[uClinux-dev] ip masquarade support

Roope Anttinen roope.anttinen at indagon.com
Mon Mar 10 06:38:52 EST 2003


OK, got it compiled by removing support for mmapped io. But now when
booting:

...
cs89x0:cs89x0_probe(0xffe0)
cs89x0: Setting up uCcs8900 Chip Select & IRQ ioaddr = 0xFFE0
eth7: cs8920 rev A found at 0xffe0 
cs89x0 media RJ-45, IRQ 20, programmed I/O, MAC 00:06:3b:00:01:43
cs89x0_probe1() successful
Blkmem copyright 1998,1999 D. Jeff Dionne
Blkmem copyright 1998 Kenneth Albanowski
Blkmem 1 disk images:
0: 10CF4730-10DF472F [VIRTUAL 10CF4730-10DF472F] (RO)
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
PPP generic driver version 2.4.2
PPP Deflate Compression module registered
PPP BSD Compression module registered
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 512 bind 512)
ip_conntrack version 2.1 (48 buckets, 384 max) - 316 bytes per conntrack
ip_tables: (C) 2000-2002 Netfilter core team
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
VFS: Mounted root (romfs filesystem) readonly.
eth0: using half-duplex 10Base-T (RJ-45)
Welcome to
          ____ _  _*** UNASSIGNED RESERVED 12 ***   FORMAT=2
Current process id is 7
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
Process sh (pid: 7, stackpage=000b3000)
Frame format=2 instr addr=200010c9
Stack from 000b3db6:
        da720000 00000000 00000000 00000004 85b40000 0000000b 3f100013
70500003
        744c0013 7050000b 3f100040 00000000 00000000 0002fa05 000485b4
00000000
        000ddb94 00000000 0000000b 3e4410c9 fb88000b 3f100000 00000004
85b40000
        00000004 ce480000 00000000 00010000 00000013 70fc0013 70500000
0bb80013
        705010c9 b5aa0013 7050000d db80000b 3e8410c9 f74e000b 3f100000
00000004
        85b40000 00000013 70500013 70fc0004 980810c7 b6da0000 0000000b
3efc10c7
Call Trace:
Code: *** UNASSIGNED RESERVED 12 ***   FORMAT=3
Current process id is 7
BAD KERNEL TRAP: 00000000
PC: [<0002fa05>]
SR: 3035  SP: 000b3c54  a2: 000b3ffe
d0: 00000000    d1: 00001430    d2: 000b4002    d3: 00000000
d4: 10d21d68    d5: 000b4000    a0: 00000000    a1: 0002fa05
Process sh (pid: 7, stackpage=000b3000)
Frame format=3 eff addr=271410c1
Stack from 000b3c8c:
        24f40000 00000000 00000002 fa050004 85b410c1 7ed0000b 3d7e10c1
2888000b
        3d7e0002 1173000b 223c0000 0007000b 300010c1 7ed0000b 3d7e10c1
25c60002
        10ae000b 3d7e0000 00000002 10940000 0007000d ec340003 744c10c1
260a000b
        3d7e0000 0000000b 3d220000 00060000 00000003 825c10c1 51280000
0044000b
        3d220000 10c2601a 00003574 ba2e8ba3 00000000 00080000 00040000
00040013
        70000000 00080000 00040000 0004000d ec340003 744c000d db8010c1
59a40000
Call Trace:
        [<10c2601a>] [<10c9da72>] [<10c9fb88>] [<10c9b5aa>]
        [<10c9f74e>] [<10c7b6da>] [<10c7b6da>] [<10c75118>]
        [<10c7b6da>] [<10c753b2>] [<10c7b6da>] [<10c7b53c>]
        [<10c7b6da>] [<10c708fa>] [<10c70994>] [<10c70a7a>]
        [<10c1af44>] [<10c13e1a>]
Code: *** UNASSIGNED RESERVED 12 ***   FORMAT=3
Current process id is 7

...etc...

On Mon, 2003-03-10 at 13:00, Roope Anttinen wrote:
> On latest distribudion (20030305), with uCdimm:
> 
> m68k-elf-gcc -fno-builtin -DNO_CACHE -D__KERNEL__
> -I/home/ranttine/src/uClinux/Playground/uClinux-dist.new/linux-2.4.x/include  -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -DNO_MM -DNO_FPU -DNO_CACHE -m68000 -D__ELF__ -DMAGIC_ROM_PTR -DNO_FORGET -DUTS_SYSNAME="uClinux" -D__linux__   -nostdinc -iwithprefix include -DKBUILD_BASENAME=af_packet  -c -o af_packet.o af_packet.c
> af_packet.c: In function `packet_mm_open':
> af_packet.c:1578: structure has no member named `vm_file'
> af_packet.c: In function `packet_mm_close':
> af_packet.c:1589: structure has no member named `vm_file'
> af_packet.c: At top level:
> af_packet.c:1598: variable `packet_mmap_ops' has initializer but
> incomplete type
> af_packet.c:1599: unknown field `open' specified in initializer
> af_packet.c:1599: warning: excess elements in struct initializer
> af_packet.c:1599: warning: (near initialization for `packet_mmap_ops')
> af_packet.c:1600: unknown field `close' specified in initializer
> af_packet.c:1600: warning: excess elements in struct initializer
> af_packet.c:1600: warning: (near initialization for `packet_mmap_ops')
> af_packet.c: In function `packet_mmap':
> af_packet.c:1753: structure has no member named `vm_pgoff'
> af_packet.c:1770: structure has no member named `vm_page_prot'
> af_packet.c:1774: structure has no member named `vm_ops'
> make[4]: *** [af_packet.o] Error 1
> 
> 
> 
> _______________________________________________
> 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





More information about the uClinux-dev mailing list