[uClinux-dev] ip masquarade support

Matthew Natalier matthewn at snapgear.com
Mon Mar 10 13:39:45 EST 2003


Roope,

Try doing the following:

m68k-elf-nm -v linux > output.txt 2>&1

Then vi output.txt and look for what function 2fa05 appears in.  This
will hopefully point you to the source of the problem.  

nm will only list the address of functions within an object file, not 
the addresses of instructions.  The -v option causes nm to list the 
symbols in order which makes it easier to find where 2fa05 appears in 
your kernel file.

The objdump should have worked though, and is suspicious that it didn't.
Try using a -D rather than a -d.  This will get objdump to dissassemble
everything.

BTW is it valid on your architecture to have an instruction at an odd
address?

Cheers

Matt

Roope Anttinen wrote:
> Doesn't return a thing... really weird
> 
> /Roope
> 
> On Mon, 2003-03-10 at 15:21, Phil Wilshire wrote:
> > Hi Roope 
> > 
> > try one of these
> > 
> > m68k-elf-nm linux | grep 2fa05
> > 
> > m68k-elf-objdump -d linux | grep 2fa05
> > 
> >   regards
> >   Phil
> > 
> > > 
> > > krhm... uh... how? :)
> > > 
> > > /Roope
> > > 
> > > On Mon, 2003-03-10 at 13:48, Richard Klingler wrote:
> > > > > BAD KERNEL TRAP: 00000000
> > > > > PC: [<0002fa05>]
> > > > > SR: 2035  SP: 000b3d7e  a2: 000dec34
> > > > > d0: 00000000    d1: 00000000    d2: 00000000    d3: 00000000
> > > > > d4: 0002fa05    d5: 000485b4    a0: 000dec74    a1: 00000000
> > > >
> > > > Just look what routine is causing this at address 2fa05....
> > > >
> > > >
> > > > Rick
> > > >
> > > >
> > > > Richard Klingler             mail: richard.klingler at violasystems.com
> > > > Viola Systems Ltd.           http://www.violasystems.com/
> > > > Lemmink?isenkatu 32          phon: +358 (0)201 226 226
> > > > 20520 Turku, Finland         mobile: +358 (0)40 748 4711
> > > > _______________________________________________
> > > > uClinux-dev mailing list
> > > > uClinux-dev at uclinux.org
> > > > http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
> > > > This message was resent by uclinux-dev at uclinux.org
> > > 
> > > _______________________________________________
> > > uClinux-dev mailing list
> > > uClinux-dev at uclinux.org
> > > http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
> > > This message was resent by uclinux-dev at uclinux.org
> > 
> > -- 
> > SDCS -- System Design & Consulting Services LLC, http://www.sysdcs.com
> > ** Embedded Linux Training **  email me for details  
> > 630 Springhouse Sq., Leesburg VA 20175 t: 703 669 9766 f: 703 669 9768
> > _______________________________________________
> > uClinux-dev mailing list
> > uClinux-dev at uclinux.org
> > http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
> > This message was resent by uclinux-dev at uclinux.org
> 
> 
> _______________________________________________
> uClinux-dev mailing list
> uClinux-dev at uclinux.org
> http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
> This message was resent by uclinux-dev at uclinux.org

-- 
Matthew Natalier
Systems Programmer
p: +61 7 3435 2805
f: +61 7 3891 3630
matthewn at SnapGear.com
http://www.SnapGear.com/
--
SnapGear
Custom Embedded Solutions
Security Appliances




More information about the uClinux-dev mailing list