Re: Kernel panic on boot with kernel 2.6.10 (SATA SiL 3112A issue maybe)

From: Andrey Andreev (andreev_at_cs.helsinki.fi)
Date: 02/28/05

  • Next message: Franki: "OT Open source Windows terminal server?"
    Date: Mon, 28 Feb 2005 12:56:12 +0200
    To: Anthony Tippett <atippett@sports-it.com>
    
    

    Anthony Tippett wrote:
    > For me this issue raised after the 2.6.7 kernels. I saw somewhere they
    > changed how SATA drives were stored in /dev and made them scsi devices
    > (sda, sdX...) instead of IDE (hda...)

    Yep, I had figured that one out (see my initial post).

    > My kernel root resided on /dev/hde2, so I tried telling grub to look for
    > it on /dev/sda2 ( I had no other scsi drives). However, there was still
    > an issue because the SATA_SIL module wasn't being loaded by initrd. I
    > think it was left out of the kernel src

    Yep, I moved the root, but as SATA_SIL was not loading I still could not
    boot. (see thread with matt zagrabelny) SATA_SIL was in source and was
    compiled, but was not loaded by the initrd.

    > Anyways, I finally got 2.6.10 to work by just changing the kernel root
    > in grub to /dev/sda2 instead of /dev/hde2. The best way to do this is
    > by letting the grub menu come up on boot up and pressing the "e" key to
    > edit the boot line. If it works, you can then edit the menu.lst and
    > change the kopt (in my case "kopt=root=/dev/sda2 ro") and then change
    > the 2.6.10+ kernel lines also.
    >
    > title Debian GNU/Linux, kernel 2.6.10-1-k7
    > root (hd0,1)
    > kernel /boot/vmlinuz-2.6.10-1-k7 root=/dev/sda2 ro
    > initrd /boot/initrd.img-2.6.10-1-k7
    > savedefault
    > boot

    Yep, I did that and it still did not work (see same thread).

    > I guess my point is that you don't have to add the sata_sil module to
    > initrd anymore as I thought I saw it in a kernel changelog as a bug and
    > it's been fixed.

    I had to edit initrd - sata_sil.ko was present in the initrd image, but
    loadmodules did not try to load it. It is peculiar if it does that for
    you. Any idea why that might be different? I have the exact same version
    of the kernel.

    Regards,

    Andro

    -- 
    Andrey Andreev
    University of Helsinki
    Dept. of Computer Science
    -- 
    To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    

  • Next message: Franki: "OT Open source Windows terminal server?"

    Relevant Pages

    • Re: booting from ISO image on HD?
      ... >> through customized initrd files for each one. ... > between the loopback device and the underlying file (the iso image). ... I have to insmod the loop kernel module(e.g. ... how can you boot it from an initrd??? ...
      (comp.os.linux.misc)
    • Re: fsck fails during boot with 2.6.9-34.0.1.EL kernel because root filesystem is already rw mou
      ... I think there was a little fault in building the new initrd. ... The mount-command of the init-script is wrong and makes confusing, e.g.: first the root-filesystem must mount read/write, it accepts. ... It looks like in the early stage of the booting, when the kernel is using the initrd to load the ... I still do not understand why in my new initrd file, with the new kernel, the root filesystem is ...
      (RedHat)
    • Re: booting from ISO image on HD?
      ... I'm not going to write the pivot root script, ... > through customized initrd files for each one. ... I have to insmod the loop kernel module(e.g. ... The idea is that either you build what you need to boot into your ...
      (comp.os.linux.misc)
    • Re: 2.6.26-rc5-mm1
      ... In my case it turns out to be gcov patches - in which I'm interested ... initrd overwrites kernel: When kernel and initrd are loaded to static ... minimal memory configuration any more. ...
      (Linux-Kernel)
    • Re: 2.6.8 stock kernel bug
      ... >> If you make the new initrd the same file name as the old one, grub should ... The shipped initrd ... Look in the kernel devices file. ... Kernel executes the commands from /linuxrc on the initrd file system. ...
      (comp.os.linux.hardware)