[lug] KGDB and 2.6 {no filter}
Rodger.Wilson at Emulex.Com
Rodger.Wilson at Emulex.Com
Thu Aug 5 07:33:31 MDT 2004
I have used KGDB on 2.4 kernels a lot however I have failed to ever get it working with 2.6. Once I was really close but failed to get the symbol table from my driver, then this week I couldn't even break into the kernel.
If you have a working 2.6 KGDB kernel I would love to get a tar file from you and maybe a 5 min tutorial on how to get the symbol table across to GDB.
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 Ian S. Nelson
Sent: Wednesday, August 04, 2004 6:53 PM
To: Boulder (Colorado) Linux Users Group -- General Mailing List
Subject: Re: [lug] KGDB and 2.6 {no filter}
<< File: OpenPGP digital signature >> << File: ATT20716.txt >> I use it from time to time.
What's not working?
Ian
Rodger.Wilson at Emulex.Com wrote:
>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}
>
> >>>>>"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
--
signature
*Ian S. Nelson
PGP/GPG email preferred.
Public Key: 00D3D983
<http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x00D3D983>
Fingerprint: 3EFD7B86B888D7E229B69E97576F1B9700D3D983 *
More information about the LUG
mailing list