vugo
2008-07-17, 08:31 PM CDT
I recently decided to repurpose an older system (Intel 975XBX), and transferred its PATA Linux drive into my new system (Intel X38BT). The installation is FC6, and the last system update was to kernel 2.6.22.14-72.fc6. It boots perfectly fine on my old system. However, I got the following message when I tried to boot it in the new system:
___
Reading all physical volumes. This may take a while...
No volume groups found
Volume group "VolGroup00" not found
Unable to access resume device (/dev/VolGroup00/LogVol01)
mount: could not find filesystem '/dev/root'
setuproot: moving /dev failed: No such file or directory
setuproot: error mounting /proc: No such file or directory
setuproot: error mounting /sys: No such file or directory
switchroot: mount failed: No such file or directory
Kernel panic - not syncing: Attempted to kill init!
___
I initially suspected an LVM issue, but I came across the following threads:
http://fedoraforum.org/forum/showthread.php?t=192719
http://fedoraforum.org/forum/showthread.php?t=192425
and figured that the kernel is fairly old, so it must not have correct drivers for the IDE controller on the new board (a Marvell 88SE61XX, based on the BIOS boot messages).
Both, an FC9 LiveCD, as well as rescue-mode FC9 installation CD are able to boot on the new system. (An FC6 installation CD does NOT boot, citing driver problems [I forget the exact message]).
So I downloaded kernel 2.6.26 and built it with relevant ATA/PATA config options I found under /boot of the LiveCD image:
CONFIG_ATA=m
CONFIG_ATA_ACPI=y
CONFIG_ATA_PIIX=m
CONFIG_ATA_GENERIC=m
CONFIG_PATA_ACPI=m
CONFIG_PATA_MARVELL=m
When I try to boot this new kernel (initially with the vanilla initrd created by "make install"), I get the following:
____
PCI: Failed to allocate mem resource #6:20000@a0000000 for 0000:01:00.0
mount: could not find filesystem '/dev/root'
setuproot: moving /dev failed: No such file or directory
setuproot: error mounting /proc: No such file or directory
setuproot: error mounting /sys: No such file or directory
switchroot: mount failed: No such file or directory
Kernel panic - not syncing: Attempted to kill init!
____
So the only difference is that the LVM messages are gone, but I am getting the PCI device error. Can PCI device enumeration/naming change everytime you boot? When I boot the FC9 rescue CD, /sys/class/block/sda is linked to device 0000:00:1c.4/0000:03:00.0, which is not the same name as the one in the error above.
Anyway, I then tried various flavors of initrd, as suggested in
http://fedoraforum.org/forum/showthread.php?t=192425:
including --preload libata --preload pata_marvell --preload ata_piix, to no avail. I still get the same message as above.
Loaded ata/pata modules when booted on the rescue CD are as follows:
____
lsmod | grep ata
ata_generic 8964 0
ata_piix 20228 0
pata_acpi 8192 0
pata_marvell 8064 0
libata 126816 5 ahci,ata_generic,ata_piix,pata_acpi,pata_marvell
scsi_mod 121204 7 sg,sr_mod,sd_mod,libata,iscsi_tcp,libiscsi,scsi_tr ansport_iscsi
____
What else can I try? There has to be a way, since the rescue CD is able to mount the drive without any problems.
___
Reading all physical volumes. This may take a while...
No volume groups found
Volume group "VolGroup00" not found
Unable to access resume device (/dev/VolGroup00/LogVol01)
mount: could not find filesystem '/dev/root'
setuproot: moving /dev failed: No such file or directory
setuproot: error mounting /proc: No such file or directory
setuproot: error mounting /sys: No such file or directory
switchroot: mount failed: No such file or directory
Kernel panic - not syncing: Attempted to kill init!
___
I initially suspected an LVM issue, but I came across the following threads:
http://fedoraforum.org/forum/showthread.php?t=192719
http://fedoraforum.org/forum/showthread.php?t=192425
and figured that the kernel is fairly old, so it must not have correct drivers for the IDE controller on the new board (a Marvell 88SE61XX, based on the BIOS boot messages).
Both, an FC9 LiveCD, as well as rescue-mode FC9 installation CD are able to boot on the new system. (An FC6 installation CD does NOT boot, citing driver problems [I forget the exact message]).
So I downloaded kernel 2.6.26 and built it with relevant ATA/PATA config options I found under /boot of the LiveCD image:
CONFIG_ATA=m
CONFIG_ATA_ACPI=y
CONFIG_ATA_PIIX=m
CONFIG_ATA_GENERIC=m
CONFIG_PATA_ACPI=m
CONFIG_PATA_MARVELL=m
When I try to boot this new kernel (initially with the vanilla initrd created by "make install"), I get the following:
____
PCI: Failed to allocate mem resource #6:20000@a0000000 for 0000:01:00.0
mount: could not find filesystem '/dev/root'
setuproot: moving /dev failed: No such file or directory
setuproot: error mounting /proc: No such file or directory
setuproot: error mounting /sys: No such file or directory
switchroot: mount failed: No such file or directory
Kernel panic - not syncing: Attempted to kill init!
____
So the only difference is that the LVM messages are gone, but I am getting the PCI device error. Can PCI device enumeration/naming change everytime you boot? When I boot the FC9 rescue CD, /sys/class/block/sda is linked to device 0000:00:1c.4/0000:03:00.0, which is not the same name as the one in the error above.
Anyway, I then tried various flavors of initrd, as suggested in
http://fedoraforum.org/forum/showthread.php?t=192425:
including --preload libata --preload pata_marvell --preload ata_piix, to no avail. I still get the same message as above.
Loaded ata/pata modules when booted on the rescue CD are as follows:
____
lsmod | grep ata
ata_generic 8964 0
ata_piix 20228 0
pata_acpi 8192 0
pata_marvell 8064 0
libata 126816 5 ahci,ata_generic,ata_piix,pata_acpi,pata_marvell
scsi_mod 121204 7 sg,sr_mod,sd_mod,libata,iscsi_tcp,libiscsi,scsi_tr ansport_iscsi
____
What else can I try? There has to be a way, since the rescue CD is able to mount the drive without any problems.