[plug] NBD issues

Brad Campbell brad at wasp.net.au
Mon Oct 13 19:24:37 WST 2003


Craig Ringer wrote:
>> Eww.. thats a nasty stack trace..
>> Highlight the whole thing with gpm, fire up ksymoops and paste it into 
>> that, that may provide some insight as to where it's going pear shaped.
> 
> 
> Hmm... I don't run GPM, but I can grab it from `dmesg` easily. I'm 
> debugging a netbooted system running with uClibc, so it's not as easy as 
> 'apt-get install ksymoops'.
> 
> Do I need to run ksymoops on the same machine, or can I use it 
> elsewhere? I don't have ksymoops built for the environment, and it'll 
> take me a minute to build it because of some "interesting" decisions 
> made by the RH folk that packaged binutils. "Who needs those header 
> files, anyway..."

You need the system.map for the kernel you are running and you can run 
ksymoops on any other box you like.

> Don't bother replying if it's in TFM, which I'm about to be having a 
> look over.
> 
>> I have to say, since I got familiar with ksymoops and gdb my linux 
>> debugging life has gotten considerably easier.
> 
> 
> It's all a matter of time. I'd have to learn C first :-(

I didn't. I'm still a dyed in the wool pascal programmer. I can just 
pick up the bits'n'pieces I need (with the assistance of google) as I 
go. Same with x86 asm (which makes me want to puke). I picked up enough 
asm to patch some old dos software to run with hardware completely 
different to that it was written for. Google used to be great, it has 
become less so in the past couple of months.

Brad

_______________________________________________
plug mailing list
plug at plug.linux.org.au
http://mail.plug.linux.org.au/cgi-bin/mailman/listinfo/plug


More information about the plug mailing list