* Kernel or Grub bug.
@ 2004-09-01 3:12 Wise, Jeremey
2004-09-01 4:28 ` Prasad
` (2 more replies)
0 siblings, 3 replies; 21+ messages in thread
From: Wise, Jeremey @ 2004-09-01 3:12 UTC (permalink / raw)
To: linux-kernel, Wise, Beth & Jeremey
Intro:With some level of trepidation I post this. I am not a programmer
but a computer consultant. I have been round and round on this issue and
have been pushed into this last effort, in hopes of getting Linux
working for me.
Issue: $600 dollar phone worthless as it's palm functions do not sync.
Hareware/OS: IBM Thinkpad T41 SuSE 9.1 running KDE 3.2
History: Per conversation with pilot-link devoloper (refernaced here
http://lists.pilot-link.org/pipermail/pilot-link-general/2004-
August/001924.html) their is a 'known issue' with the SuSE 9.1 ( ) which
I use. This is in conjunction with a buggy visor module (again,
referenced in email thread). SuSE says this is not their issue (unless I
put down a credit card:>) but acknowledge that it does look strange
(ticket number upon request). Only recourse is to move to a none 'buggy'
kernel (ie. >= 2.6.7)
Problem: Whenever I compile a 2.6.8.xxx kernel, with full patching on
any system and attempt to boot it I halt with the following error
"Kernel panic: VFS: Unable to mount root fs on unknown-block(0,0)"
What I have tried: Several variations of: Fedora Core vs SuSE, reiserfs
vs ext3, or lilo vs grub. All yeild the same error. Also built
variations of 2.4 kernels and booted them on each system test to ensure
that my kernel compile skills were not missing something stupid or that
their was a hardware issue. I have also done seval weeks worth of LUG
and google searching and inquiries and have not come up with any
suggestions that worked (lots of them ... but none fixing the kernel
booting issue).
*********
Google hit on what APEARS to be many others hitting same issue:
http://usermodelinux.org/modules.php?name=News&file=article&sid=134
http://www.redhat.com/archives/fedora-test-list/2003-
December/msg00426.html
http://www.uwsg.iu.edu/hypermail/linux/kernel/0309.3/0681.html
http://search.luky.org/linux-kernel.2003/msg43513.html
I have also tried all suggestions or checks referenced therein
*******************
Kernel build process used:
1) Download kernel source from kernel.org (linux-2.6.8.1.tar.bz2)
2) Download Base Patches (patch-2.6.9-rc1.bz2)
3) Download Kernel Developer Specific tree Patches if desired (patch-
2.6.9-rc1-bk7.bz2)
4) 'cd /usr/src' -> place where all the source files will be put
5) Copy kernel file you downloaded into source directory -
>'cp /tmp/linux-2.6.8.1.tar.bz2 /usr/src'
6) Unpack kernel -> "bzip2 -d linux-2.6.8.1.tar.bz2"
7) Untar kernel -> "tar -xvf linux-2.6.8.1.tar.bz2"
9) Enter into kernel source directory -> "cd /usr/src/linux-2.6.8.1"
10) Copy kernel patch files to current directory -> "cp /tmp/patch* ."
11) Unpack patch files "bzip2 -d patch-2.6.9-rc1.bz2;bzip2 -d patch-
2.6.9-rc1-bk7.bz2"
12) Apply the main tree patch "patch -p1 < patch-2.6.9-rc1"
13) Apply kernel devolper patch if desired or downloaded "patch -p1 <
patch-2.6.9-rc1-bk7"
14) Copy configuration from currently running kernel
"cp /proc/config.gz /usr/src/linux-2.6.8.1"
15) Unpack currenty running system config file and move change it to
correct name "gzip -d config.gz;mv config .config"
16) Modify 'Makefile' the reflect current extraversion. Use 'vi' editor
to change it like example "EXTRAVERSION = .1-MyKernel"
17) Configure system specific settings via 'make menuconfig' or 'make
xconfig'
18) After exiting utity and saving configuration we can start compile
'make bzImage'
19) Copy the completed kernel image for booting 'cp
arch/i386/boot/bzImage /boot/vmlinuz-2.6.8.1-MyKernel'
20) After that completes we can compile required modules and install
them into /lib/modules 'make modules;make modules_install'
21) Now that the kernel is complete we can build a RAMDISK if required
'mkinitrd'
22) Lastly is to modify boot parameters for bootloader.
Likely /boot/grub/grub.conf or /boot/grub/menu.conf
Current Partition information:
Device Boot Start End Blocks Id System
/dev/hda1 1 217 102501 83 Linux -> /boot
/dev/hda2 218 2384 1023907+ 82 Linux swap
/dev/hda3 2385 61950 28144935 83 Linux -> /
Current GRUB config file:
color white/blue black/light-gray
default 0
timeout 8
gfxmenu (hd0,0)/message
###Don't change this comment - YaST2 identifier: Original name: linux###
title Linux
kernel (hd0,0)/vmlinuz root=/dev/hda3 showopts
initrd (hd0,0)/initrd
title 2.6.8.1-Palm
kernel (hd0,0)/vmlinuz-2.6.8.1-Palm showopts
initrd (hd0,0)/initrd-2.6.8.1-Palm
*********************************
I have also tried "root=0303" per conversation with LUG members where
major and minor numbers were referenced instead of labels or /dev/hdaX
ls /dev/hda3
brw-rw---- 1 root disk 3, 3 Apr 6 09:27 hda3
**********************************
I apologize for the mound of information. I would rather post too much
then too little. I would also usually join the list but being on SuSE,
Evolution, and Palm is enough right now with my day-job:>)
Please post directly back to me at the email listed below. I can supply
far greater detail as needed.
--
Thanks,
Jeremey Wise
jeremey.wise@agilysys.com
All opinions or information expressed here are personal in nature and do
not reflect the official position of Agilysys Inc.
^ permalink raw reply [flat|nested] 21+ messages in thread* Re: Kernel or Grub bug.
2004-09-01 3:12 Kernel or Grub bug Wise, Jeremey
@ 2004-09-01 4:28 ` Prasad
2004-09-01 5:20 ` Marcos D. Marado Torres
2004-09-01 13:40 ` Horst von Brand
2004-09-01 5:24 ` Obelix
[not found] ` <200408312358.08153.dsteven3@maine.rr.com>
2 siblings, 2 replies; 21+ messages in thread
From: Prasad @ 2004-09-01 4:28 UTC (permalink / raw)
To: Wise, Jeremey, linux-kernel
>"Kernel panic: VFS: Unable to mount root fs on unknown-block(0,0)"
>
>
>
This indicates that the kernel is not able to find the root partition.
and that the kernel has already booted - most likely not a problem with
GRUB.
>title Linux
> kernel (hd0,0)/vmlinuz root=/dev/hda3 showopts
> initrd (hd0,0)/initrd
>
>title 2.6.8.1-Palm
> kernel (hd0,0)/vmlinuz-2.6.8.1-Palm showopts
> initrd (hd0,0)/initrd-2.6.8.1-Palm
>
>
>
Your partition table suggests that there are two different partitions
for '/boot'
and '/'. The GRUB loads the kernel from '/boot' which is (hd0,0) but the
kernel is unable to find the '/' partition. You may pass it using the
parameter
root=/dev/hda3.
That should work.
Prasad
^ permalink raw reply [flat|nested] 21+ messages in thread* Re: Kernel or Grub bug.
2004-09-01 4:28 ` Prasad
@ 2004-09-01 5:20 ` Marcos D. Marado Torres
2004-09-01 6:16 ` prasad
2004-09-01 13:40 ` Horst von Brand
1 sibling, 1 reply; 21+ messages in thread
From: Marcos D. Marado Torres @ 2004-09-01 5:20 UTC (permalink / raw)
To: Prasad; +Cc: Wise, Jeremey, linux-kernel
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Wed, 1 Sep 2004, Prasad wrote:
>> "Kernel panic: VFS: Unable to mount root fs on unknown-block(0,0)"
>
> Your partition table suggests that there are two different partitions for
> '/boot'
> and '/'. The GRUB loads the kernel from '/boot' which is (hd0,0) but the
> kernel is unable to find the '/' partition. You may pass it using the
> parameter
> root=/dev/hda3.
>
> That should work.
>
> Prasad
It may not work. As he said in the original message, he found lot's of other
people with that problem, including... myself. Since 2.6.4 I can't boot any 2.6
kernel, allways with that Kernel panic. I've tried several things, including
using the root=/dev/hda3 parameter, and, at the time, I've raised the issue
here on LKML, but no conclusion has been reached.
A search on LKML led me to this:
http://www.ussg.iu.edu/hypermail/linux/kernel/0403.3/1180.html
Mind Booster Noori
- --
/* *************************************************************** */
Marcos Daniel Marado Torres AKA Mind Booster Noori
http://student.dei.uc.pt/~marado - marado@student.dei.uc.pt
() Join the ASCII ribbon campaign against html email, Microsoft
/\ attachments and Software patents. They endanger the World.
Sign a petition against patents: http://petition.eurolinux.org
/* *************************************************************** */
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Made with pgp4pine 1.76
iD8DBQFBNWTnmNlq8m+oD34RAm5CAJ9ZCFWJySRz3RRFCPUtcRhueFbcvgCeJAoo
SxqGk3ho9GdPptdsFmV/N8E=
=xyRu
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 21+ messages in thread* Re: Kernel or Grub bug.
2004-09-01 5:20 ` Marcos D. Marado Torres
@ 2004-09-01 6:16 ` prasad
2004-09-01 6:55 ` Marcos D. Marado Torres
0 siblings, 1 reply; 21+ messages in thread
From: prasad @ 2004-09-01 6:16 UTC (permalink / raw)
To: Marcos D. Marado Torres; +Cc: Wise, Jeremey, linux-kernel
have you tried removing the initrd entry in GRUB.
In most cases you can safely do away with it. That would
atleast make sure the problem is not with the initrd.
Prasad
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On Wed, 1 Sep 2004, Prasad wrote:
>
>>> "Kernel panic: VFS: Unable to mount root fs on unknown-block(0,0)"
>>
>> Your partition table suggests that there are two different partitions
>> for
>> '/boot'
>> and '/'. The GRUB loads the kernel from '/boot' which is (hd0,0) but
>> the
>> kernel is unable to find the '/' partition. You may pass it using the
>> parameter
>> root=/dev/hda3.
>>
>> That should work.
>>
>> Prasad
>
> It may not work. As he said in the original message, he found lot's of
> other
> people with that problem, including... myself. Since 2.6.4 I can't boot
> any 2.6
> kernel, allways with that Kernel panic. I've tried several things,
> including
> using the root=/dev/hda3 parameter, and, at the time, I've raised the
> issue
> here on LKML, but no conclusion has been reached.
>
> A search on LKML led me to this:
> http://www.ussg.iu.edu/hypermail/linux/kernel/0403.3/1180.html
>
> Mind Booster Noori
>
> - --
> /* *************************************************************** */
> Marcos Daniel Marado Torres AKA Mind Booster Noori
> http://student.dei.uc.pt/~marado - marado@student.dei.uc.pt
> () Join the ASCII ribbon campaign against html email, Microsoft
> /\ attachments and Software patents. They endanger the World.
> Sign a petition against patents: http://petition.eurolinux.org
> /* *************************************************************** */
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.1 (GNU/Linux)
> Comment: Made with pgp4pine 1.76
>
> iD8DBQFBNWTnmNlq8m+oD34RAm5CAJ9ZCFWJySRz3RRFCPUtcRhueFbcvgCeJAoo
> SxqGk3ho9GdPptdsFmV/N8E=
> =xyRu
> -----END PGP SIGNATURE-----
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: Kernel or Grub bug.
2004-09-01 6:16 ` prasad
@ 2004-09-01 6:55 ` Marcos D. Marado Torres
0 siblings, 0 replies; 21+ messages in thread
From: Marcos D. Marado Torres @ 2004-09-01 6:55 UTC (permalink / raw)
To: prasad; +Cc: Wise, Jeremey, linux-kernel
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Wed, 1 Sep 2004 prasad@atc.tcs.co.in wrote:
> have you tried removing the initrd entry in GRUB.
> In most cases you can safely do away with it. That would
> atleast make sure the problem is not with the initrd.
Yes, I did it.
I'm actually using lilo, but I've tried with both.
Mind Booster Noori
> Prasad
>
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> On Wed, 1 Sep 2004, Prasad wrote:
>>
>>>> "Kernel panic: VFS: Unable to mount root fs on unknown-block(0,0)"
>>>
>>> Your partition table suggests that there are two different partitions
>>> for
>>> '/boot'
>>> and '/'. The GRUB loads the kernel from '/boot' which is (hd0,0) but
>>> the
>>> kernel is unable to find the '/' partition. You may pass it using the
>>> parameter
>>> root=/dev/hda3.
>>>
>>> That should work.
>>>
>>> Prasad
>>
>> It may not work. As he said in the original message, he found lot's of
>> other
>> people with that problem, including... myself. Since 2.6.4 I can't boot
>> any 2.6
>> kernel, allways with that Kernel panic. I've tried several things,
>> including
>> using the root=/dev/hda3 parameter, and, at the time, I've raised the
>> issue
>> here on LKML, but no conclusion has been reached.
>>
>> A search on LKML led me to this:
>> http://www.ussg.iu.edu/hypermail/linux/kernel/0403.3/1180.html
>>
>> Mind Booster Noori
>>
>> - --
>> /* *************************************************************** */
>> Marcos Daniel Marado Torres AKA Mind Booster Noori
>> http://student.dei.uc.pt/~marado - marado@student.dei.uc.pt
>> () Join the ASCII ribbon campaign against html email, Microsoft
>> /\ attachments and Software patents. They endanger the World.
>> Sign a petition against patents: http://petition.eurolinux.org
>> /* *************************************************************** */
>> -----BEGIN PGP SIGNATURE-----
>> Version: GnuPG v1.2.1 (GNU/Linux)
>> Comment: Made with pgp4pine 1.76
>>
>> iD8DBQFBNWTnmNlq8m+oD34RAm5CAJ9ZCFWJySRz3RRFCPUtcRhueFbcvgCeJAoo
>> SxqGk3ho9GdPptdsFmV/N8E=
>> =xyRu
>> -----END PGP SIGNATURE-----
>>
>> -
>> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
>> the body of a message to majordomo@vger.kernel.org
>> More majordomo info at http://vger.kernel.org/majordomo-info.html
>> Please read the FAQ at http://www.tux.org/lkml/
>>
>
- --
/* *************************************************************** */
Marcos Daniel Marado Torres AKA Mind Booster Noori
http://student.dei.uc.pt/~marado - marado@student.dei.uc.pt
() Join the ASCII ribbon campaign against html email, Microsoft
/\ attachments and Software patents. They endanger the World.
Sign a petition against patents: http://petition.eurolinux.org
/* *************************************************************** */
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Made with pgp4pine 1.76
iD8DBQFBNXJzmNlq8m+oD34RAh2pAKCvzDOV4fUcvqBic+acnLO7SmCQmQCdEasr
wemYv6ZwmAW+AKQuOYCN290=
=VahV
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: Kernel or Grub bug.
2004-09-01 4:28 ` Prasad
2004-09-01 5:20 ` Marcos D. Marado Torres
@ 2004-09-01 13:40 ` Horst von Brand
1 sibling, 0 replies; 21+ messages in thread
From: Horst von Brand @ 2004-09-01 13:40 UTC (permalink / raw)
To: Prasad; +Cc: Wise, Jeremey, linux-kernel
Prasad <prasad@atc.tcs.co.in> said:
> "Wise, Jeremey" <jeremey.wise@agilysys.com> said:
> >"Kernel panic: VFS: Unable to mount root fs on unknown-block(0,0)"
> This indicates that the kernel is not able to find the root partition.
> and that the kernel has already booted - most likely not a problem with
> GRUB.
Might be a broken/missing initrd, or the module(s) for the root filesystem
missing in your build.
--
Dr. Horst H. von Brand User #22616 counter.li.org
Departamento de Informatica Fono: +56 32 654431
Universidad Tecnica Federico Santa Maria +56 32 654239
Casilla 110-V, Valparaiso, Chile Fax: +56 32 797513
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: Kernel or Grub bug.
2004-09-01 3:12 Kernel or Grub bug Wise, Jeremey
2004-09-01 4:28 ` Prasad
@ 2004-09-01 5:24 ` Obelix
[not found] ` <200408312358.08153.dsteven3@maine.rr.com>
2 siblings, 0 replies; 21+ messages in thread
From: Obelix @ 2004-09-01 5:24 UTC (permalink / raw)
To: Wise, Jeremey; +Cc: linux-kernel
>"Kernel panic: VFS: Unable to mount root fs on unknown-block(0,0)"
>
>
Most likely a bad initrd. recheck where your /boot/initrd is pointing
to.
- obelix
^ permalink raw reply [flat|nested] 21+ messages in thread[parent not found: <200408312358.08153.dsteven3@maine.rr.com>]
* Re: Kernel or Grub bug.
[not found] ` <200408312358.08153.dsteven3@maine.rr.com>
@ 2004-09-01 12:20 ` Wise, Jeremey
[not found] ` <200409011135.36537.dsteven3@maine.rr.com>
0 siblings, 1 reply; 21+ messages in thread
From: Wise, Jeremey @ 2004-09-01 12:20 UTC (permalink / raw)
To: David B. Stevens, linux-kernel, Marcos D. Marado Torres
[-- Attachment #1: Type: text/plain, Size: 1180 bytes --]
On Tue, 2004-08-31 at 23:58 -0400, David B. Stevens wrote:
> Jeremey,
>
> It might help if you had attached the failing kernel config file and a copy of
> your /etc/fstab it appears that whatever file system you have root on is not
> recognized by the kernel.
>
> Cheers,
> Dave
>
Thanks for all the replies. I will have to second all that Marcos D.
Marado Torres <marado@student.dei.uc.pt> has said. I did notice that my
post of grub.conf config in the original email lacked the
"root=/dev/hda3" as I had made so many attempts to get it to boot with
other people's suggestions (fat finger:>) Just to ensure full testing I
redid all test inputs "root=/dev/hda3" and also "root=0303" and also
tried a Fedora Core box with the same kernel and initrd with the above
and also a "root=LABEL-/" with the same error.
Here are both the config file (copied from /proc/config.gz) and the one
I am attempting to get to work (using the same kind of option selection
I know works with my 2.4.x tree.
--
Thanks,
Jeremey Wise
jeremey.wise@agilysys.com
All opinions or information expressed here are personal in nature and do
not reflect the official position of Agilysys Inc.
[-- Attachment #2: config-2.6.5-7.104-default.gz --]
[-- Type: application/x-gzip, Size: 15089 bytes --]
[-- Attachment #3: config-2.6.8.1.gz --]
[-- Type: application/x-gzip, Size: 10358 bytes --]
^ permalink raw reply [flat|nested] 21+ messages in thread
end of thread, other threads:[~2004-09-20 14:41 UTC | newest]
Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-09-01 3:12 Kernel or Grub bug Wise, Jeremey
2004-09-01 4:28 ` Prasad
2004-09-01 5:20 ` Marcos D. Marado Torres
2004-09-01 6:16 ` prasad
2004-09-01 6:55 ` Marcos D. Marado Torres
2004-09-01 13:40 ` Horst von Brand
2004-09-01 5:24 ` Obelix
[not found] ` <200408312358.08153.dsteven3@maine.rr.com>
2004-09-01 12:20 ` Wise, Jeremey
[not found] ` <200409011135.36537.dsteven3@maine.rr.com>
2004-09-01 16:26 ` Wise, Jeremey
[not found] ` <4699bb7b04090109415f64fea1@mail.gmail.com>
2004-09-01 19:40 ` Wise, Jeremey
2004-09-02 21:33 ` Valdis.Kletnieks
2004-09-03 14:29 ` Marcos D. Marado Torres
2004-09-01 19:46 ` Wise, Jeremey
2004-09-02 21:02 ` Horst von Brand
2004-09-02 22:53 ` David B. Stevens
2004-09-02 23:25 ` David B. Stevens
2004-09-03 0:31 ` David Lloyd
2004-09-03 2:15 ` David B. Stevens
2004-09-03 0:37 ` Johann Koenig
2004-09-19 10:03 ` Yury Umanets
2004-09-20 14:27 ` Tonnerre
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox