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

Is this the USB problem from the errata? (long)



Hi!

I have patched the kernel for my Axis 82 board with the ebtables patch
from http://ebtables.sourceforge.net/.

Now I experienced a rather strange problem that the kernel paniced
with the second USB network card. Could this be the USB problem depicted
in the errata_etrax_100lx document?
   http://developer.axis.com/doc/hardware/etrax100lx/des_ref/errata_etrax_100lx.txt

Here's a trace from all the messages that where printed on the console at
the time the kernel panic happend. There was one laptop on eth0 using
the board as bridge to a corporate lan on eth1 and it happend when opening
a webpage with some graphics that Mozilla, afaik, gets in parallel or so.


Uncompressing Linux...
Done. Now booting the kernel.
Linux version 2.4.20 (fl@xxxxxxx.25) #3
Mon Nov 24 21:22:14 CET 2003
Setting up paging and the MMU.
On node 0 totalpages: 2048
zone(0): 2048 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Linux/CRIS port on ETRAX 100LX (c) 2001, 2002 Axis Communications AB
Kernel command line: root=/dev/mtdblock3
ds1302: RTC found.
ds1302: SDA, SCL, RST on PB0, PB1, GENIO0
rtc_time	: 17:44:07
rtc_date	: 2000-01-13
rtc: sec 0x7 min 0x44 hour 0x17 day 0x13 mon 0x1 year 0x0
Enabling watchdog...
Calibrating delay loop... 99.73 BogoMIPS
Memory: 14432k/16384k available (876k kernel code, 1952k reserved, 234k data,
32k init)
kmem_create: Forcing size word alignment - mm_struct
kmem_create: Forcing size word alignment - filp
Dentry cache hash table entries: 2048 (order: 1, 16384 bytes)
Inode cache hash table entries: 1024 (order: 0, 8192 bytes)
kmem_create: Forcing size word alignment - inode_cache
Mount-cache hash table entries: 1024 (order: 0, 8192 bytes)
kmem_create: Forcing size word alignment - bdev_cache
kmem_create: Forcing size word alignment - cdev_cache
kmem_create: Forcing size word alignment - kiobuf
Buffer-cache hash table entries: 2048 (order: 0, 8192 bytes)
Page-cache hash table entries: 2048 (order: 0, 8192 bytes)
POSIX conformance testing by UNIFIX
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
kmem_create: Forcing size word alignment - sock
Initializing RT netlink socket
Starting kswapd
kmem_create: Forcing size word alignment - file_lock_cache
kmem_create: Forcing size word alignment - nfs_read_data
kmem_create: Forcing size word alignment - nfs_write_data
JFFS version 1.0, (C) 1999, 2000  Axis Communications AB
kmem_create: Forcing size word alignment - jffs_node
JFFS2 version 2.1. (C) 2001 Red Hat, Inc., designed by Axis Communications AB.
pty: 256 Unix98 ptys configured
kmem_create: Forcing size word alignment - blkdev_requests
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
PPP generic driver version 2.4.2
PPP Deflate Compression module registered
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
rtl8150.c: rtl8150 based usb-ethernet driver v0.4.1 (2002/07/22)
usb.c: registered new driver rtl8150
ETRAX 100LX 10/100MBit ethernet v2.0 (c) 2000-2001 Axis Communications AB
eth0 initialized
eth0: changed MAC to 00:40:8C:CD:00:00
ETRAX 100LX serial-driver 1.46 $, (c) 2000-2002 Axis Communications AB

ttyS0 at 0xb0000060 is a builtin UART with DMA
ttyS2 at 0xb0000070 is a builtin UART with DMA
ttyS3 at 0xb0000078 is a builtin UART with DMA
fast_timer_init()
cse0: Probing a 0x04000000 bytes large window at 0xe0000000.
cse0: Probing for AMD compatible flash...
cse0: Found 1 x 2MiB Atmel AT49xV16x at 0x0
cse1: Probing a 0x04000000 bytes large window at 0xe4000000.
cse1: Probing for AMD compatible flash...
cse1: Found no AMD compatible device at location zero
  Amd/Fujitsu Extended Query Table v1.1 at 0x0040
cse1: Swapping erase regions for broken CFI table.
number of CFI chips: 1
Concatenating MTD devices:
(0): "cse0"
(1): "cse1"
into device "cse0+cse1"
cse0+cse1: 0x00600000 bytes of flash memory.
  Found a valid partition table at 0xf001000a-0xf0010056.
   /dev/flash1 at 0x00010000, size 0x00350000
   /dev/flash2 at 0x00360000, size 0x002a0000
  Adding readonly flash partition for romfs image:
   /dev/flash3 at 0x00099497, size 0x00146000
Creating 4 MTD partitions on "cse0+cse1":
0x00000000-0x00010000 : "part0"
0x00010000-0x00360000 : "part1"
0x00360000-0x00600000 : "part2"
0x00099497-0x001df497 : "romfs"
GPIO port G: in_bits: 0x3FFFFF3E out_bits: 0x3E00003F val: F1FF00FE
GPIO port G: dir: 00000001 changeable: 01FFFF01
ETRAX 100LX GPIO driver v2.5, (c) 2001, 2002 Axis Communications AB
usb-host.c: ETRAX 100LX USB-HCD $Revision: 1.13.2.58 $ (c) 2001-2002 Axis
Communications AB

usb.c: new USB bus registered, assigned bus number 1
usb-host.c: USB controller in host mode.
hub.c: USB hub found
hub.c: 2 ports detected
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
kmem_create: Forcing size word alignment - ip_dst_cache
IP: routing cache hash table of 1024 buckets, 8Kbytes
TCP: Hash tables configured (established 2048 bind 4096)
ip_conntrack version 2.1 (128 buckets, 1024 max) - 148 bytes per conntrack
ip_tables: (C) 2000-2002 Netfilter core team
arp_tables: (C) 2002 David S. Miller
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
NET4: Ethernet Bridge 008 for NET4.0
Bridge firewalling registered
VFS: Mounted root (cramfs filesystem) readonly.
Freeing unused kernel memory: 32k freed
usb-host.c: USB controller in host mode.
usb-host.c: USB controller started.
usb-host.c: USB controller in host mode.
usb-host.c: USB controller started.
usb-host.c: USB controller running.
hub.c: new USB device etrax100lx-1, assigned address 2
init: starting up.

rtl8150.c: eth1: rtl8150 is detected
/sbin/rc.init: Mounting /mnt/flash... done

Starting system initialization.



Copyright 2002 Axis Communications AB, distributed under the GPL.

http://developer.axis.com



Axis Developer Board 82 release 1.90



  * Mounting filesystems...

                                                                          [ ok ]

  * Initializing /var...

                                                                          [ ok ]

  * Determining MAC address...

      + using saved MAC address: 00:40:8C:63:10:A4

                                                                          [ ok ]

  * Setting hostname...

      + hostname: "AxisProduct"

                                                                          [ ok ]

  * Initializing volatile resolver configuration......

                                                                          [ ok ]

  * Starting ipsetd...

                                                                          [ ok ]

System initialization is done.

New runlevel: 3

  * Starting respawn daemon...

                                                                          [ ok ]

  * Starting system and kernel logger...

Jan 13 17:44:11 AxisProduct syslogd 1.4.1: restart.


      + system logger started

      + kernel logger started

                                                                          [ ok ]

  * Bringing lo up...

                                                                          [ ok ]

  * Bringing eth0 up...

eth0: changed MAC to 00:40:8C:63:10:A4
      + hardware address: 00:40:8C:63:10:A4

      + media: auto

      + boot protocol: none

      + IP address: 192.168.0.90

      + netmask: 255.255.0.0

      + broadcast address: 192.168.255.255

      + default gateway: 192.168.0.1

                                                                          [ ok ]

  * Bringing eth1 up...

eth1: changed MAC to 00:40:8C:63:10:A5
      + hardware address: 00:40:8C:63:10:A5

      + media: missing, using default

      + boot protocol: none

      + IP address: 192.168.1.90

      + netmask: 255.255.0.0

      + broadcast address: 192.168.255.255

      + default gateway:

                                                                          [ ok ]

  * Waiting for a network interface...

      + eth0 is up

                                                                          [ ok ]

  * Starting telnet server...

telnetd: starting

   port: 23; interface: any; login program: /bin/login

                                                                          [ ok ]

  * Starting ftp server...

Jan 13 17:44:14 AxisProduct vftpd[263]: Starting vftpd 0.01


                                                                          [ ok ]

  * Starting web server...

                                                                          [ ok ]

All scripts for runlevel 3 are done.





BusyBox v0.60.5 (2003.11.24-20:03+0000) Built-in shell (ash)

Enter 'help' for a list of built-in commands.



sh: can't access tty; job control turned off

~ # sh /etc/init.d/bridge

device eth0 entered promiscuous mode
rtl8150.c: eth1: promiscuous mode
device eth1 entered promiscuous mode
br0: port 2(eth1) entering learning state
br0: port 1(eth0) entering learning state
~ # br0: port 2(eth1) entering forwarding state
br0: topology change detected, propagating
br0: port 1(eth0) entering forwarding state
br0: topology change detected, propagating
Jan 13 17:46:10 AxisProduct ipsetd[86]: Timed out.


usb-host.c: assert failed at line 1557
usb-host.c: assert failed at line 1557
usb-host.c: assert failed at line 1557
usb-host.c: assert failed at line 1557
usb-host.c: assert failed at line 1557
usb-host.c: assert failed at line 1557
usb-host.c: assert failed at line 1557
usb-host.c: assert failed at line 1557
usb-host.c: assert failed at line 1557
usb-host.c: assert failed at line 1557
usb-host.c: assert failed at line 1557
usb-host.c: assert failed at line 1557
usb-host.c: Got epid attn for bulk endpoint, epid 0
usb-host.c: Perror for epid 0

urb                 :0xc0326e40
next                  :0x00000000
dev                   :0xc02f0680
pipe                  :0xc0008280
status                :-115
transfer_flags        :0x00000000
transfer_buffer       :0xc0f3809a
transfer_buffer_length:1536
actual_length         :1518
setup_packet          :0x00000000
start_frame           :0
number_of_packets     :0
interval              :0
error_count           :0
context               :0xc0f38000
complete              :0xc00805e4



Dumping EP list...


USB_EP_Desc at 0xc01c9bac
   command : 0x0000
   hw_len  : 0x0018 (24)
   next    : 0x401c9bbc
   sub     : 0x40f923e0


USB_SB_Desc at 0xc0f923e0
   command : 0x0013
   sw_len  : 0x0018 (24)
   next    : 0x00000000
   buf     : 0x00000000


USB_EP_Desc at 0xc01c9bbc
   command : 0x0100
   hw_len  : 0x0000 (0)
   next    : 0x401c9bcc
   sub     : 0x00000000


USB_EP_Desc at 0xc01c9bcc
   command : 0x0200
   hw_len  : 0x0042 (66)
   next    : 0x401c9bdc
   sub     : 0x00000000


USB_EP_Desc at 0xc01c9bdc
   command : 0x0300
   hw_len  : 0x0000 (0)
   next    : 0x401c9bec
   sub     : 0x00000000


USB_EP_Desc at 0xc01c9bec
   command : 0x0400
   hw_len  : 0x0000 (0)
   next    : 0x401c9bfc
   sub     : 0x00000000


USB_EP_Desc at 0xc01c9bfc
   command : 0x0500
   hw_len  : 0x0000 (0)
   next    : 0x401c9c0c
   sub     : 0x00000000


USB_EP_Desc at 0xc01c9c0c
   command : 0x0600
   hw_len  : 0x0000 (0)
   next    : 0x401c9c1c
   sub     : 0x00000000


USB_EP_Desc at 0xc01c9c1c
   command : 0x0700
   hw_len  : 0x0000 (0)
   next    : 0x401c9c2c
   sub     : 0x00000000


USB_EP_Desc at 0xc01c9c2c
   command : 0x0800
   hw_len  : 0x0000 (0)
   next    : 0x401c9c3c
   sub     : 0x00000000


USB_EP_Desc at 0xc01c9c3c
   command : 0x0900
   hw_len  : 0x0000 (0)
   next    : 0x401c9c4c
   sub     : 0x00000000


USB_EP_Desc at 0xc01c9c4c
   command : 0x0a00
   hw_len  : 0x0000 (0)
   next    : 0x401c9c5c
   sub     : 0x00000000


USB_EP_Desc at 0xc01c9c5c
   command : 0x0b00
   hw_len  : 0x0000 (0)
   next    : 0x401c9c6c
   sub     : 0x00000000


USB_EP_Desc at 0xc01c9c6c
   command : 0x0c00
   hw_len  : 0x0000 (0)
   next    : 0x401c9c7c
   sub     : 0x00000000


USB_EP_Desc at 0xc01c9c7c
   command : 0x0d00
   hw_len  : 0x0000 (0)
   next    : 0x401c9c8c
   sub     : 0x00000000


USB_EP_Desc at 0xc01c9c8c
   command : 0x0e00
   hw_len  : 0x0000 (0)
   next    : 0x401c9c9c
   sub     : 0x00000000


USB_EP_Desc at 0xc01c9c9c
   command : 0x0f00
   hw_len  : 0x0000 (0)
   next    : 0x401c9cac
   sub     : 0x00000000


USB_EP_Desc at 0xc01c9cac
   command : 0x1000
   hw_len  : 0x0000 (0)
   next    : 0x401c9cbc
   sub     : 0x00000000


USB_EP_Desc at 0xc01c9cbc
   command : 0x1100
   hw_len  : 0x0000 (0)
   next    : 0x401c9ccc
   sub     : 0x00000000


USB_EP_Desc at 0xc01c9ccc
   command : 0x1200
   hw_len  : 0x0000 (0)
   next    : 0x401c9cdc
   sub     : 0x00000000


USB_EP_Desc at 0xc01c9cdc
   command : 0x1300
   hw_len  : 0x0000 (0)
   next    : 0x401c9cec
   sub     : 0x00000000


USB_EP_Desc at 0xc01c9cec
   command : 0x1400
   hw_len  : 0x0000 (0)
   next    : 0x401c9cfc
   sub     : 0x00000000


USB_EP_Desc at 0xc01c9cfc
   command : 0x1500
   hw_len  : 0x0000 (0)
   next    : 0x401c9d0c
   sub     : 0x00000000


USB_EP_Desc at 0xc01c9d0c
   command : 0x1600
   hw_len  : 0x0000 (0)
   next    : 0x401c9d1c
   sub     : 0x00000000


USB_EP_Desc at 0xc01c9d1c
   command : 0x1700
   hw_len  : 0x0000 (0)
   next    : 0x401c9d2c
   sub     : 0x00000000


USB_EP_Desc at 0xc01c9d2c
   command : 0x1800
   hw_len  : 0x0000 (0)
   next    : 0x401c9d3c
   sub     : 0x00000000


USB_EP_Desc at 0xc01c9d3c
   command : 0x1900
   hw_len  : 0x0000 (0)
   next    : 0x401c9d4c
   sub     : 0x00000000


USB_EP_Desc at 0xc01c9d4c
   command : 0x1a00
   hw_len  : 0x0000 (0)
   next    : 0x401c9d5c
   sub     : 0x00000000


USB_EP_Desc at 0xc01c9d5c
   command : 0x1b00
   hw_len  : 0x0000 (0)
   next    : 0x401c9d6c
   sub     : 0x00000000


USB_EP_Desc at 0xc01c9d6c
   command : 0x1c00
   hw_len  : 0x0000 (0)
   next    : 0x401c9d7c
   sub     : 0x00000000


USB_EP_Desc at 0xc01c9d7c
   command : 0x1d00
   hw_len  : 0x0000 (0)
   next    : 0x401c9d8c
   sub     : 0x00000000


USB_EP_Desc at 0xc01c9d8c
   command : 0x1e00
   hw_len  : 0x0000 (0)
   next    : 0x401c9d9c
   sub     : 0x00000000


USB_EP_Desc at 0xc01c9d9c
   command : 0x1f01
   hw_len  : 0x0000 (0)
   next    : 0x401c9bac
   sub     : 0x00000000

Kernel panic: Something wrong with DMA descriptor contents. Too much traffic
inserted?
In interrupt handler - not syncing


-- 
MfG / Regards
Friedrich Lobenstock