On 1/11/07, Michael Krauss <[EMAIL PROTECTED]> wrote:

Hi all!

Today I switched from a via driven mainboard to an intel one:
Gigabyte GA-945GM-S2  with a i945G chipset.

Now I am facing the mkinitcpio/piix/ata_piix problem -- getting a
kernel panic. First I have to say, that it was very nice to put a
notice into to boot messages. But unfortunately the
'earlymodules=piix' trick does not work. So I decided to use the new
sd* block device names.

After getting into single user mode, changing menu.lst to:

title  Arch Linux
root   (hd0,0)
kernel /vmlinuz26 root=/dev/sda3 ro
initrd /kernel26.img

title  Arch Linux (fallback)
root   (hd0,0)
kernel /vmlinuz26 root=/dev/sda3 ro
initrd /kernel26-fallback.img


reinstalling grub: "grub-install --recheck hd0"

and generating new ram discs: "mkinitcpio -p kernel26"

the error message during the boot process changed from
"ERROR: Failed to parse block device name for '/dev/hda3' unknown"
to
"ERROR: Failed to parse block device name for '/dev/sda3' unknown".
In both cases it leads to a "Kernel panic - not syncing".

But beside of that, I was partialy successful: The fallback kernel
is booting again. Therefore the problem must be located in mkinitcpio.

While searching a solution I read:
http://www.archlinux.org/news/273/
http://www.archlinux.org/news/272/
http://wiki.archlinux.org/index.php/Mkinitcpio

Playing with the HOOKS in /etc/mkinitcpio.conf doesn't help.
At present the config file looks like:

MODULES=""
BINARIES=""
FILES=""
HOOKS="base udev autodetect ide filesystems"

After booting with the fallback kernel, "mkinitcpio -M" shows:

Modules autodetected:
ata_generic
ata_piix
libata
ide-core
generic
piix
r1000
r8169
usbcore
ehci-hcd
uhci-hcd
ext2
jbd
ext3
xfs


and the following modules are loaded:
[EMAIL PROTECTED] ~]# lsmod | grep piix
piix                    9348  0 [permanent]
ide_core              108744  2 piix,generic
ata_piix               12296  3
libata                 90644  2 ata_generic,ata_piix


I don't know what I can do any further. Suggestions are most welcome.


Kind regards
Michael Krauss

_______________________________________________
arch mailing list
[email protected]
http://www.archlinux.org/mailman/listinfo/arch


I had a similar problem it was resolved by changing the hooks in
mkinitcpio.conf to
HOOKS="base udev autodetect pata scsi sata keymap filesystems"
to include the pata after this I changed fstab to reflect sdx I then
reinstalled the kernel with pacman -Sy kernel26 (could have just rerun the
mkinitcpio but didn't want to look up the flags) modified grub to to match
the root=/dev/sdx  and my problems were solved
hope that helps

~Jim
hope that helps
_______________________________________________
arch mailing list
[email protected]
http://www.archlinux.org/mailman/listinfo/arch

Reply via email to