You are not logged in.

#1 2005-06-28 16:02:05

MillTek
Member
Registered: 2005-01-30
Posts: 442

Kernel Panic with 2.6.12.1-2

I was running 2.6.12.1-1 with no problems. Running pacman -Suy this morning donwloaded 2.6.12.1-2 which I installed. When booting it aborts with a kernel panic and a message that it can't mount /dev/hda2 and/or there's a bad block.  I'm able to boot off hda1 (where  I'm writing this) no problems. 

Is there anything I can do? If not how do I downgrade the Hda2 install while running from hda1??


Jim

Offline

#2 2005-06-28 16:24:00

dtw
Forum Fellow
From: UK
Registered: 2004-08-03
Posts: 4,436
Website

Re: Kernel Panic with 2.6.12.1-2

if you can use chroot and pacman just use the old -1 release from /var/cache/pacman/pkg, if you can't use pacman just extract the pkg tarball into the root of /dev/hda2

Offline

#3 2005-06-28 16:45:55

Gullible Jones
Member
Registered: 2004-12-29
Posts: 4,863

Re: Kernel Panic with 2.6.12.1-2

MillTek wrote:

Running pacman -Suy this morning donwloaded 2.6.12.1-2 which I installed.

Eh? 2.6.12.1 isn't in the repos... Only the 2.6.12 MM kernels.

Offline

#4 2005-06-28 16:58:18

MillTek
Member
Registered: 2005-01-30
Posts: 442

Re: Kernel Panic with 2.6.12.1-2

Sorry, my mistake. I meant kernel26mm-2.6.12.mm2-1.pkg.tar.gz

Offline

#5 2005-06-28 16:59:47

MillTek
Member
Registered: 2005-01-30
Posts: 442

Re: Kernel Panic with 2.6.12.1-2

thanks Dibble!  Your solution got me back up.  Does anyone have anyidea as to why this might have happene?  Could it have to do with udev/devfs??

Offline

#6 2005-06-28 18:53:46

Gullible Jones
Member
Registered: 2004-12-29
Posts: 4,863

Re: Kernel Panic with 2.6.12.1-2

Oh... I got the same problem when I upgraded to that kernel...

Apparently, it has to do with DevFS being phased out. Here's how to solve it: before rebooting, open up /boot/grub/menu.lst and change the path specified in "root=foo" so that it uses the static /dev path instead of the DevFS path. For example, root=/dev/discs/disc0/part1 would be changed to /dev/hda1.

Offline

#7 2005-06-28 19:15:45

MillTek
Member
Registered: 2005-01-30
Posts: 442

Re: Kernel Panic with 2.6.12.1-2

Aaah, thank-you Gullible Jones. Edited as suggested and pacmanned the new kernel and all works as it should.


Jim

Offline

#8 2005-06-28 19:22:20

Gullible Jones
Member
Registered: 2004-12-29
Posts: 4,863

Re: Kernel Panic with 2.6.12.1-2

You're welcome.

Offline

Board footer

Powered by FluxBB