2003-03-02 20:45:05

by Joern Nettingsmeier

[permalink] [raw]
Subject: 2.5.60-63 panic: unable to mount root

hello everyone !

the kernel barfs and tells me to supply a root= kernel param.
i tried root=/dev/sda2, but no luck.

hw is all-scsi p2b-ds w/ dual p3/600.
boot is ext2, root (/dev/sda2) is reiserfs.
i'm using the new aic7xxx driver, the old driver one hangs at the same
time, but continues to spit out a ton of error msgs i haven't bothered
to capture, since i'm told it's deprecated.

the aic7xxx as well as ext2 and reiserfs are compiled into the kernel.
i'm not using devfs.

the system boots fine with 2.4.20.

google spit out these somewhat related threads, but they petered out
without a solution.
http://www.uwsg.iu.edu/hypermail/linux/ kernel/0211.0/1564.html
http://www.cs.helsinki.fi/linux/linux-kernel/ 2002-47/0080.html

i'd welcome clues, and i'd be happy to run further tests if you tell me
which :)

please cc: me on replies, i'm not subscribed, and the archives take ages
to pick up new postings....

best,

j?rn


--
If you're happy and you know it, bomb Iraq.

J?rn Nettingsmeier
Kurf?rstenstr 49, 45138 Essen, Germany
http://spunk.dnsalias.org (my server)
http://www.linuxdj.com/audio/lad/ (Linux Audio Developers)





2003-03-03 05:04:43

by xsdg

[permalink] [raw]
Subject: Re: 2.5.60-63 panic: unable to mount root

Hi... I saw your post in the lkml archives (I'm not subscribed either). I think I'm having either a very similar problem, or the same problem that you are.

Similarities:
Can't mount root, kernel panic
Only happening in 2.5.62-ac1 (I haven't tried any other 2.5.6x kernels)

Differences:
Using IDE root disc
Using devfs
root, which contains /boot, is ext3

I think something about device handling may have changed which is causing this problem. (for me, devfs started needing a root= option since about 2.5.50). Additionally, when the kernel panics, does it specify the correct major/minor device number? Mine uses the wrong one unless I use rdev, and then panics with the correct one (/dev/hda2, 0x0302)

These are the relevant entries in grub's menu.lst:

timeout 5
default 0

title 2.5.62 ac1
root (hd0,1)
kernel /boot/kernel/62.5.2k-ac1 root=/dev/ide/host0/bus0/target0/lun0/part2

title 2.5.51
root (hd0,1)
kernel /boot/kernel/51.5.2k-br root=/dev/ide/host0/bus0/target0/lun0/part2

the second entry works fine, but the first entry panics and gives me the same message you described.

--xsdg
--
| Every child asks questinos. I'm just still a |
| child. |
| -- Steven Hawking |
) http://www.cuodan.net/~xsdg/ [email protected] (


Attachments:
(No filename) (189.00 B)