[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Debian on N4100



Guys:


My n4100 kernel is still OOPSing at network-related locations. I'm stumped. The kernel boots and otherwise runs fine, and you can even ping it (both from and to the target). But do anything involving TCP, and you get this:

RedBoot> load -r -b 0x100000 zImage
Using default protocol (TFTP)
Raw file loaded 0x00100000-0x0027ad4f, assumed entry at 0x00100000
RedBoot> exec -c "console=ttyS0,115200 mem=256M@0xa0000000 panic=5 root=/dev/md0"
Using base address 0x00100000 and length 0x0017ad50
i82544_stop
i82544_stop 0 flg 17
Uncompressing Linux...................................................................................................... done, booting the kernel. Linux version 2.6.17.8-n4100 (root@debian) (gcc version 4.2.1) #39 Mon Feb 18 16:53:05 CST 2008
CPU: XScale-IOP8032x Family [69052e30] revision 0 (ARMv5TE)
Machine: Intel IQ31244
Memory policy: ECC disabled, Data cache writeback
CPU0: D VIVT undefined 5 cache
CPU0: I cache: 32768 bytes, associativity 32, 32 byte lines, 32 sets
CPU0: D cache: 32768 bytes, associativity 32, 32 byte lines, 32 sets
Built 1 zonelists
Kernel command line: console=ttyS0,115200 mem=256M@0xa0000000 panic=5 root=/dev/md0
PID hash table entries: 2048 (order: 11, 8192 bytes)
Console: colour dummy device 80x30
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
Memory: 256MB = 256MB total
Memory: 256384KB available (2645K code, 582K data, 108K init)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
NET: Registered protocol family 16
PCI: bus0: Fast back to back transfers disabled
SCSI subsystem initialized
NET: Registered protocol family 2
IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
TCP established hash table entries: 8192 (order: 3, 32768 bytes)
TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
TCP: Hash tables configured (established 8192 bind 4096)
TCP reno registered
Intel IOP3XX DMA Copyright(c) 2004 Intel Corporation
NetWinder Floating Point Emulator V0.97 (double precision)
Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
JFFS2 version 2.2. (NAND) (C) 2001-2003 Red Hat, Inc.
Initializing Cryptographic API
io scheduler noop registered
io scheduler cfq registered (default)
Software Watchdog Timer: 0.07 initialized. soft_noboot=0 soft_margin=60 sec (nowayout= 0)
Serial: 8250/16550 driver $Revision: 1.90 $ 1 ports, IRQ sharing disabled
serial8250.0: ttyS0 at MMIO 0xfe800000 (irq = 28) is a 16550A
RAMDISK driver initialized: 16 RAM disks of 16384K size 1024 blocksize
loop: loaded (max 8 devices)
nbd: registered device at major 43
Intel(R) PRO/1000 Network Driver - version 7.0.33-k2-NAPI
Copyright (c) 1999-2005 Intel Corporation.
e1000: 0000:00:01.0: e1000_probe: (PCI:33MHz:32-bit) 00:14:fd:10:37:1e
e1000: eth0: e1000_probe: Intel(R) PRO/1000 Network Connection
e1000: 0000:00:02.0: e1000_probe: (PCI:33MHz:32-bit) 00:14:fd:10:37:1e
e1000: eth1: e1000_probe: Intel(R) PRO/1000 Network Connection
...
TCP bic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
NET: Registered protocol family 15
...
EXT3 FS on md0, internal journal
EXT3-fs: recovery complete.
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem).
Freeing init memory: 108K
modprobe: FATAL: Could not load /lib/modules/2.6.17.8-n4100/modules.dep: No such file or directory

INIT: version 2.86 booting
Starting the hotplug events dispatcher: udevd.
Synthesizing the initial hotplug events...done.
Waiting for /dev to be fully populated...done.
Activating swap...Adding 196016k swap on /dev/sda1. Priority:-1 extents:1 across:196016k
Adding 196016k swap on /dev/sdb1.  Priority:-2 extents:1 across:196016k
Adding 196016k swap on /dev/sdc1.  Priority:-3 extents:1 across:196016k
Adding 196016k swap on /dev/sdd1.  Priority:-4 extents:1 across:196016k
done.
Checking root file system...fsck 1.40-WIP (14-Nov-2006)
/dev/md0: clean, 195534/109821952 files, 15744308/219630048 blocks
done.
EXT3 FS on md0, internal journal
Setting the system clock..
Cannot access the Hardware Clock via any known method.
Use the --debug option to see the details of our search for an access method.
...
Configuring network interfaces...done.
Setting console screen modes and fonts.
e1000: eth0: e1000_watchdog_task: NIC Link is Up 1000 Mbps Full Duplex
INIT: Entering runlevel: 2
Starting system log daemon: syslogd.
...
Debian GNU/Linux 4.0 n4100 ttyS0

n4100 login:


So far, so good. Now, do something involving TCP, e.g. SSH to the box, and you get this:


Unable to handle kernel NULL pointer dereference at virtual address 00000000
pgd = 80004000
[00000000] *pgd=00000000
Internal error: Oops: 17 [#1]
Modules linked in:
CPU: 0
PC is at tcp_v4_rcv+0x2a0/0x904
LR is at 0x1500
pc : [<80222b80>]    lr : [<00001500>]    Not tainted
sp : 802bbd40  ip : 00000001  fp : 802bbd74
r10: 6602a8c0  r9 : 80341d0c  r8 : cb65fbd1
r7 : 8f0e6234  r6 : adca82b9  r5 : 8f1a7d20  r4 : 00000000
r3 : 00000000  r2 : 00000000  r1 : 000002b9  r0 : 0e2a1500
Flags: nZCv  IRQs on  FIQs on  Mode SVC_32  Segment kernel
Control: 397F  Table: AD7CC000  DAC: 00000017
Process swapper (pid: 0, stack limit = 0x802ba1a0)
Stack: (0x802bbd40 to 0x802bc000)
bd40: 00000000 00000000 00000000 8f1a7d20 802d67c4 00000000 00000000 80342d9c bd60: 80341d0c 803416ec 802bbda4 802bbd78 802069f8 802228ec 801ec804 8f0e6220 bd80: 8f1a7d20 80341aec 00000008 80340a08 ffc091a0 807b6ba0 802bbddc 802bbda8 bda0: 80206fe0 802068d8 80655000 801ec85c 802bbddc 802bbdc0 80245094 801ec954 bdc0: 8f1a7d20 803409f8 80655000 00000008 802bbe04 802bbde0 801f0cdc 80206bcc bde0: 00000001 8f1a7d20 8f1a7d20 00000067 00000067 80655260 802bbe5c 802bbe08 be00: 80190818 801f0ac4 00000040 802bbe6c 80655000 ffc091b0 9097d1a0 0000001b be20: 00000000 00000023 9097d000 000001b0 00000100 80655260 00000000 807cac00 be40: 807cac00 00000000 00000040 802bbea4 802bbe9c 802bbe60 8018b0e0 80190364 be60: 802bbe8c 0000012c 80036838 00000001 00000000 807cac00 807cacc0 80340768 be80: 802bbea4 ffffcd4d 802bf618 80340778 802bbed4 802bbea0 801f2694 8018b028 bea0: 802bbea0 0000012c 14000000 80325140 00000001 0000000a 80325100 00000001 bec0: 80326c18 00000000 802bbf04 802bbed8 8003feb8 801f2610 0000001b ffffffff bee0: 0000001f 08000000 802bbf48 a001e39c 69052e30 a001e1bc 802bbf14 802bbf08 bf00: 800401d8 8003fe5c 802bbf44 802bbf18 80025930 800401a0 802bbf54 802bbf28 bf20: ffffffff 0000001f 08000000 8031f748 a001e39c a001e1bc 802bbf9c 802bbf48 bf40: 800239b0 80025834 00000001 00000000 802ba000 60000013 80026260 802ba000 bf60: 80026260 8031f748 a001e39c 69052e30 a001e1bc 802bbf9c 802bbfa0 802bbf90 bf80: 800262a4 800262b0 60000013 ffffffff 802bbfbc 802bbfa0 800260c8 8002626c bfa0: 803278ac 8031ebfc 802bdc64 8034ba00 802bbfcc 802bbfc0 800232bc 80026098 bfc0: 802bbff4 802bbfd0 80008870 800232a4 80008388 00000000 00000000 8031f828 bfe0: 0000397d 8031f7c8 00000000 802bbff8 a0008030 800086b0 00000000 00000000
Backtrace:
[<802228e0>] (tcp_v4_rcv+0x0/0x904) from [<802069f8>] (ip_local_deliver+0x12c/0x204) [<802068cc>] (ip_local_deliver+0x0/0x204) from [<80206fe0>] (ip_rcv+0x420/0x468) [<80206bc0>] (ip_rcv+0x0/0x468) from [<801f0cdc>] (netif_receive_skb+0x224/0x24c)
r7 = 00000008  r6 = 80655000  r5 = 803409F8  r4 = 8F1A7D20
[<801f0ab8>] (netif_receive_skb+0x0/0x24c) from [<80190818>] (e1000_clean_rx_irq+0x4c0/0x590)
r8 = 80655260  r7 = 00000067  r6 = 00000067  r5 = 8F1A7D20
r4 = 8F1A7D20
[<80190358>] (e1000_clean_rx_irq+0x0/0x590) from [<8018b0e0>] (e1000_clean+0xc4/0x1c8) [<8018b01c>] (e1000_clean+0x0/0x1c8) from [<801f2694>] (net_rx_action+0x90/0x160) [<801f2604>] (net_rx_action+0x0/0x160) from [<8003feb8>] (__do_softirq+0x68/0xe0)
[<8003fe50>] (__do_softirq+0x0/0xe0) from [<800401d8>] (irq_exit+0x44/0x4c)
[<80040194>] (irq_exit+0x0/0x4c) from [<80025930>] (asm_do_IRQ+0x108/0x124)
[<80025828>] (asm_do_IRQ+0x0/0x124) from [<800239b0>] (__irq_svc+0x30/0x80)
[<80026260>] (default_idle+0x0/0x58) from [<800260c8>] (cpu_idle+0x3c/0x58)
[<8002608c>] (cpu_idle+0x0/0x58) from [<800232bc>] (rest_init+0x24/0x2c)
r7 = 8034BA00  r6 = 802BDC64  r5 = 8031EBFC  r4 = 803278AC
[<80023298>] (rest_init+0x0/0x2c) from [<80008870>] (start_kernel+0x1cc/0x224)
[<800086a4>] (start_kernel+0x0/0x224) from [<a0008030>] (0xa0008030)
Code: 0a000009 e153000c 0a000007 e1a02001 (e5921000)
<0>Kernel panic - not syncing: Aiee, killing interrupt handler!
<0>Rebooting in 5 seconds


I sometimes see OOPSes in udp_v4_get_port as well.

Any ideas? This is the wpkg linux-2.6.17.8 kernel, rebuilt to add ramdisks, md raid 5 and initrd. The gcc came from crosstool-ng-1.0.


b.g.

--
Bill Gatliff
bgat@billgatliff.com



Reply to: