[lug] KGDB and 2.6 {no filter}

Rodger.Wilson at Emulex.Com Rodger.Wilson at Emulex.Com
Wed Aug 4 08:31:05 MDT 2004


Does anyone else here use KGDB?  I have been struggling to get it to working with 2.6 off and on for the last month.

Rodger Wilson 
Senior engineer - Emulex
720-394-7275 (cell)
720-494-2488 (work)

 -----Original Message-----
From: 	lug-bounces at lug.boulder.co.us [mailto:lug-bounces at lug.boulder.co.us]  On Behalf Of Wilson, Rodger
Sent:	Tuesday, August 03, 2004 3:37 PM
To:	lug at lug.boulder.co.us
Subject:	RE: [lug] Unable to mount root fs on unknown-block(22,5)     {no filter}

Ok today seems to be my day of issues.

Now I am getting the following error:

Kernel panic: No init found.  Try passing init= option to kernel.

Should I add an init option to LILO?  If so what init=/dev/hdc5?

Rodger Wilson 
Senior engineer - Emulex
720-394-7275 (cell)
720-494-2488 (work)

 -----Original Message-----
From: 	lug-bounces at lug.boulder.co.us [mailto:lug-bounces at lug.boulder.co.us]  On Behalf Of Wilson, Rodger
Sent:	Tuesday, August 03, 2004 9:48 AM
To:	lug at lug.boulder.co.us
Subject:	RE: [lug] Unable to mount root fs on unknown-block(22,5)     {no filter}

You were right!  I guess I just assumed that IDE support was built into the system.... Silly me.

Rodger Wilson 
Senior engineer - Emulex
720-394-7275 (cell)
720-494-2488 (work)

 -----Original Message-----
From: 	lug-bounces at lug.boulder.co.us [mailto:lug-bounces at lug.boulder.co.us]  On Behalf Of Kevin Fenzi
Sent:	Tuesday, August 03, 2004 9:46 AM
To:	lug at lug.co.boulder.us
Subject:	Re: [lug] Unable to mount root fs on unknown-block(22,5)     {no filter}

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

>>>>> "Rodger" == Rodger Wilson <Rodger.Wilson at Emulex.Com> writes:

Rodger> I am in the process of installing a new 2.6.5kgdb kernel.  It
Rodger> has successfully created an initrd image. Which I presume is
Rodger> at block 22, considering my error message.  Lilo load the
Rodger> kernel, then loads block 22, and then cant mount the image.
Rodger> ...........................  serio: i8042 AUX port at
Rodger> 0x60,0x64 irq 12 input: ImPS/2 Generic Wheel Mouse on
Rodger> isa0060/serio1 serio: i8042 KBD port at 0x60,0x64 irq 1 input:
Rodger> AT Translated Set 2 keyboard on isa0060/serio0 Kernel panic:
Rodger> VFS: Unable to mount root fs on unknown-block(22,5)
Rodger> ...........................

Rodger> Could the kernel be expecting an uncompressed ram disk?
Rodger> Do all ram disks have the same filesystem?
Rodger> Can I verify that my ram disk is truly at block 22?

The problem probibly isn't the ramdisk... 

when it says 'unknown-block(22,5)' it likely means block device 22,5,
which is hdc5. Ie, the master ide drive on the second ide channel,
partition number 5. 

Usually this sort of message results from not having the IDE driver
support built into your kernel. 

Did you enable ide support when you configured the kernel?
Is hdc5 your / partition? 

Under RedHat/Fedora based setups, you will want to use 'mkinitrd' to
make your inital ram disk. If thats having issues you can use that
command to make a new one. 

Rodger> Rodger Wilson Senior engineer - Emulex 720-394-7275 (cell)
Rodger> 720-494-2488 (work)

kevin
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8 <http://mailcrypt.sourceforge.net/>

iD8DBQFBD7L23imCezTjY0ERAnyFAJ9eZu4kL/74r2WirPD00Ph/c7LHTACggbH9
h+YUhEawzlo0Q613G4nR3qI=
=21mn
-----END PGP SIGNATURE-----
_______________________________________________
Web Page:  http://lug.boulder.co.us
Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
Join us on IRC: lug.boulder.co.us port=6667 channel=#colug


_______________________________________________
Web Page:  http://lug.boulder.co.us
Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
Join us on IRC: lug.boulder.co.us portf67 channel=olug


_______________________________________________
Web Page:  http://lug.boulder.co.us
Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
Join us on IRC: lug.boulder.co.us portf67 channel=olug





More information about the LUG mailing list