Bug 174378
Summary: | Kernel fails to start or to find root filesystem | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | a.purkiss |
Component: | kernel | Assignee: | Dave Jones <davej> |
Status: | CLOSED NOTABUG | QA Contact: | Brian Brock <bbrock> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 4 | CC: | pfrields, wtogami |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2005-11-30 11:39:14 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
a.purkiss
2005-11-28 17:15:51 UTC
what does your /etc/fstab look like ? /etc/fstab is below, this works fine for booting the kernel-2.6.13-1.1532_FC4. # This file is edited by fstab-sync - see 'man fstab-sync' for details LABEL=/1 / ext3 defaults 1 1 LABEL=/boot1 /boot ext3 defaults 1 2 /dev/devpts /dev/pts devpts gid=5,mode=620 0 0 /dev/shm /dev/shm tmpfs defaults 0 0 /dev/sdb2 /exchange vfat defaults 0 0 /dev/md0 /home ext3 defaults 1 2 /dev/proc /proc proc defaults 0 0 /dev/sys /sys sysfs defaults 0 0 LABEL=SWAP-sda5 swap swap defaults 0 0 /dev/fd0 /media/floppy auto pamconsole,exec,noauto, managed 0 0 /dev/hdc /media/cdrecorder auto pamconsole,exec,noauto, managed 0 0 The /boot/grub/grub.conf entries for the working and failing kernel are as follows title Fedora Core (2.6.14-1.1637_FC4smp) root (hd0,1) kernel /vmlinuz-2.6.14-1.1637_FC4smp ro root=/dev/sda3 rhgb quiet initrd /initrd-2.6.14-1.1637_FC4smp.img title Fedora Core (2.6.13-1.1532_FC4smp) root (hd0,1) kernel /vmlinuz-2.6.13-1.1532_FC4smp ro root=LABEL=/1 rhgb quiet initrd /initrd-2.6.13-1.1532_FC4smp.img Swapping root=LABEL=/1 for root=/dev/sda3 gives the same result. fdisk on /dev/sda is as follows The number of cylinders for this disk is set to 30515. There is nothing wrong with that, but this is larger than 1024, and could in certain setups cause problems with: 1) software that runs at boot time (e.g., old versions of LILO) 2) booting and partitioning software from other OSs (e.g., DOS FDISK, OS/2 FDISK) Command (m for help): p Disk /dev/sda: 251.0 GB, 251000193024 bytes 255 heads, 63 sectors/track, 30515 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/sda1 * 1 623 5004216 7 HPFS/NTFS /dev/sda2 624 654 249007+ 83 Linux /dev/sda3 655 2479 14659312+ 83 Linux /dev/sda4 2480 30515 225199170 5 Extended /dev/sda5 2480 2723 1959898+ 82 Linux swap / Solaris /dev/sda6 2724 30515 223239208+ fd Linux raid autodetect e2label has the following names: [root@ottawa ~]# e2label /dev/sda2 /boot1 [root@ottawa ~]# e2label /dev/sda3 /1 Any more info needed? ok, labels look fine. Can you check your /etc/modprobe.conf to see if that has an entry for your disk controller ? I'm wondering if something is missing from your initrd. Here is my current (from working kernel) /etc/modprobe.conf #alias eth0 forcedeth # Add nforce ethernet and sound drivers # eth0 alias eth0 nvnet alias forcedeth off # sound alias sound-slot-0 nvsound #alias snd-intel8x0 off #alias i810_audio off install nvsound /sbin/modprobe --ignore-install nvsound ; sleep 1; /usr/bin/ nvmix-reg -f /etc/nvmixrc -L >/dev/null 2>&1 || : remove nvsound { /usr/bin/nvmix-reg -f /etc/nvmixrc -S >/dev/null 2>&1 || : ; }; /sbin/modprobe -r --ignore-remove nvsound #alias scsi_hostadapter sata_nv #alias snd-card-0 snd-ca0106 #options snd-card-0 index=0 #options snd-ca0106 index=0 #remove snd-ca0106 { /usr/sbin/alsactl store 0 >/dev/null 2>&1 || : ; }; /sbin/ modprobe -r --ignore-remove snd-ca0106 alias usb-controller ehci-hcd alias usb-controller1 ohci-hcd alias ieee1394-controller ohci1394 Note that I'm using the nvidia ethernet driver (and the sound card driver is in the process of being set up). I've made no other changes And in addition to the above, running the following command to preload the sata_nv and libata modules in the ramdisk doesn't not seem to solve the problem. mkinitrd --preload sata_nv --with=sata_nv --preload=libata /boot/initrd-2.6.14- 1.1637_FC4smp 2.6.14-1.1637_FC4smp.img Have just installed kernel 2.6.14-1.1644_FC4smp and this still has the same problem. note that you have the scsi_hostadapter line commented out. This will make this module not end up in the initrd. rpm -e the 1644 kernel, uncomment this, and then reinstall the 1644 kernel, and that *should* fix it. (In reply to comment #7) > note that you have the scsi_hostadapter line commented out. > This will make this module not end up in the initrd. > rpm -e the 1644 kernel, uncomment this, and then reinstall the 1644 kernel, and > that *should* fix it. > Ugghhh, can't believe that I didn't notice that I had that commented out, must have commented one line too many when playing with the nvsound module. *** Bug 173989 has been marked as a duplicate of this bug. *** *** Bug 174175 has been marked as a duplicate of this bug. *** Please not that the duplicates appear to have been a bugzilla problem. I only submitted the problem once. |