You are not logged in.

#1 2006-08-07 15:44:20

dlbarron
Member
Registered: 2006-07-08
Posts: 25

Kernel panic when using kernel26.img

I'm such a beginner on this type of thing that I don't even know what I need to post here to help debug this.
Anyway I upgraded my kernel to 2.6.17.8-1 this morning.  As the upgrade process suggested I tried changing from initrd26.img to kernel26.img, but when I try to boot I get the following error and hang:

Loading Initramfs
export 25: i8042.dumbkbd bad variable name
Kernel panic - not syncing: Attempted to kill init!

My menu.list contains this:

# (0) Arch Linux
title  Arch Linux
root   (hd0,0)
kernel /boot/vmlinuz26 root=/dev/hda1 ro vga=795 i8042.dumbkbd
initrd /boot/kernel26.img

I have to add i8042.dumbkbd to avoid a problem with my Microsoft Natural Keyboard Elite when I boot.  Basically, the problem is that when I boot without i8042.dumbkbd the keyboard doesn't work.  Nothing I type appears, I can't even do ctrl-alt-delete to reboot.  Using i8042.dumbkbd solves this problem although my keyboard lights (Caps lock, etc) no longer work.

What else do I need to add to this post to help resolve?

Offline

#2 2006-08-07 16:37:41

dojo
Member
Registered: 2005-11-02
Posts: 96

Re: Kernel panic when using kernel26.img

Reading this should help:
http://wiki.archlinux.org/index.php/Con … mkinitcpio

Greets

dojo

Offline

#3 2006-08-07 17:17:26

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: Kernel panic when using kernel26.img

dlbarron wrote:

title  Arch Linux
root   (hd0,0)
kernel /boot/vmlinuz26 root=/dev/hda1 ro vga=795 i8042.dumbkbd
initrd /boot/kernel26.img

I see the issue... the problem is the '.' in the param name.  i didn't account for that in mkinitcpio (poor choice on my part).

I will fix this tonight when I get home (~7 hrs from now).

Offline

#4 2006-08-07 17:34:08

dlbarron
Member
Registered: 2006-07-08
Posts: 25

Re: Kernel panic when using kernel26.img

So I should wait until tomorrow?  Will do.

Offline

#5 2006-08-07 18:54:11

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: Kernel panic when using kernel26.img

dlbarron wrote:

So I should wait until tomorrow?  Will do.

You can fix it by removing that option, but like you said - you can't type then.  I currently don't have the capacity to make changes to this until I get home.

As a side note, do you have another keyboard you can use? You'll have to actually log in and update for this to take effect.

Offline

#6 2006-08-07 23:06:00

dlbarron
Member
Registered: 2006-07-08
Posts: 25

Re: Kernel panic when using kernel26.img

Sure, that should be no problem.  Thanks for taking care of it.

Offline

#7 2006-08-08 12:18:05

dlbarron
Member
Registered: 2006-07-08
Posts: 25

Re: Kernel panic when using kernel26.img

Well I got the new mkinitcpio this morning and I generated a new ramdisk for good measure but I'm still getting the same error.

Offline

#8 2006-08-08 13:32:45

arkanoid
Member
Registered: 2006-08-08
Posts: 25

Re: Kernel panic when using kernel26.img

i got exactly the same error after the kernel upgrade

i replaced kernel26.img by kernel26-fallback.img, and it works

but always kernel panic when i use kernel26.img

Offline

#9 2006-08-08 13:46:28

arkanoid
Member
Registered: 2006-08-08
Posts: 25

Re: Kernel panic when using kernel26.img

oops posted too fast

tried the manipulation above, using mkinitcpio -G and it worked for me

Offline

#10 2006-08-08 14:03:41

dlbarron
Member
Registered: 2006-07-08
Posts: 25

Re: Kernel panic when using kernel26.img

I assume you mean -g, not -G?

I tried that, and I also tried kernel26-fallback.img, neither made any difference I'm afraid.

Offline

#11 2006-08-08 14:32:18

arkanoid
Member
Registered: 2006-08-08
Posts: 25

Re: Kernel panic when using kernel26.img

dlbarron wrote:

I assume you mean -g, not -G?

for sure

I tried that, and I also tried kernel26-fallback.img, neither made any difference I'm afraid.

maybe there's something with hardware detection, maybe try using mkinitcpio with less options like said in the wiki above ?

did you try booting with old initrd image ?

Offline

#12 2006-08-08 14:41:03

dlbarron
Member
Registered: 2006-07-08
Posts: 25

Re: Kernel panic when using kernel26.img

Sure.  I change it to initrd26.img when Grub boots up and my machine boots fine.

Offline

#13 2006-08-08 19:14:00

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: Kernel panic when using kernel26.img

arkanoid wrote:

maybe there's something with hardware detection, maybe try using mkinitcpio with less options like said in the wiki above ?

No, I already stated the issue:

phrakture wrote:

I see the issue... the problem is the '.' in the param name.  i didn't account for that in mkinitcpio (poor choice on my part).

Sorry for not updating - I updated the release but didn't rebuild the package in [current].  I will do that right now.

Offline

#14 2006-08-12 18:03:47

dlbarron
Member
Registered: 2006-07-08
Posts: 25

Re: Kernel panic when using kernel26.img

Has the fix been posted?  If so how do I get it?

Offline

#15 2006-08-15 15:27:55

dlbarron
Member
Registered: 2006-07-08
Posts: 25

Re: Kernel panic when using kernel26.img

I'm feeling a bit ignored here.  Is there any hope of a solution?

Offline

#16 2006-08-15 18:00:55

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: Kernel panic when using kernel26.img

dlbarron wrote:

I'm feeling a bit ignored here.  Is there any hope of a solution?

It should have been posted.  See here: http://phraktured.net/initramfs/mkinitcpio/init

Note this line:

*.*) ;; #do nothing if it contains a dot

It should take care of your issue.  Please make sure your /usr/lib/initcpio/init file matches this.

Offline

#17 2006-08-15 19:48:20

dlbarron
Member
Registered: 2006-07-08
Posts: 25

Re: Kernel panic when using kernel26.img

Excellent!  That took care of it.

Now if only I can figure out why i8042.dumbkbd is needed at all my life would be perfect.  I never needed it before 2.6.xx

Offline

Board footer

Powered by FluxBB