Okay, I really don't know what to think about this one.
Let me know what information to supply, box is wired up atm.

Kernel is current wireless-dev git, not zd1211rw-mac80211 branch 
though.
Adapter is Fiberline WL-410U with Zydas1211B (?).

The kernel dump

skb_under_panic: text:ce95602e len:190 put:11 head:cb8fb000 data:cb8fafff 
tail:0xcb8fb0bd end:0xcb8fb640 dev:wmaster0

------------[ cut here ]------------
kernel BUG at net/core/skbuff.c:114!

invalid opcode: 0000 [#1]

PREEMPT 
Modules linked in: via drm i2c_via i2c_algo_bit vt1211 hwmon_vid 
zd1211rw_mac80211 rt2500usb rt2x00usb rt2x00lib rc80211_simple mac80211 
cfg80211 i2c_viapro i2c_core ehci_hcd via_agp agpgart

CPU:    0

EIP:    0060:[<c0327544>]    Not tainted VLI

EFLAGS: 00010292   (2.6.23-rt #5)

EIP is at skb_under_panic+0x54/0x60
eax: 00000079   ebx: c30fbd7c   ecx: c53ec000   edx: 00000202

esi: 00000001   edi: 000000b7   ebp: c53eda6c   esp: c53ed984
ds: 007b   es: 007b   fs: 0000  gs: 0033  ss: 0068

Process amule (pid: 4732, ti=c53ec000 task=cccf6ab0 task.ti=c53ec000)
Stack: c0409298 ce95602e 000000be 0000000b cb8fb000 cb8fafff cb8fb0bd 
cb8fb640 

       cd86e800 c30fbd7c ce95603a 36000000 c53eda2c 00000031 cd7c8180 
cd7c8dc0 
       00ac00f0 cb8fb00a cd7c8180 ce95a120 00000001 cd7c8180 c53eda2c 
ce945ace 
Call Trace:

 [<ce95602e>] zd_op_tx+0x1ee/0x210 [zd1211rw_mac80211]
 [<ce95603a>] zd_op_tx+0x1fa/0x210 [zd1211rw_mac80211]
 [<ce945ace>] __ieee80211_tx+0x3e/0x160 [mac80211]
 [<ce9467f8>] ieee80211_master_start_xmit+0x468/0x610 [mac80211]
 [<c032e603>] dev_hard_start_xmit+0x213/0x310
 [<c033b413>] __qdisc_run+0x63/0x1e0
 [<c03309f0>] dev_queue_xmit+0x2d0/0x3e0
 [<c0328a12>] pskb_expand_head+0x102/0x170
 [<ce947fd7>] ieee80211_subif_start_xmit+0x317/0x570 [mac80211]
 [<c03307d8>] dev_queue_xmit+0xb8/0x3e0
 [<c0328a12>] pskb_expand_head+0x102/0x170
 [<c032e603>] dev_hard_start_xmit+0x213/0x310
 [<c033b413>] __qdisc_run+0x63/0x1e0
 [<c011ce6e>] local_bh_enable+0x2e/0xc0
 [<c03309f0>] dev_queue_xmit+0x2d0/0x3e0
 [<c0348ffe>] ip_output+0x16e/0x2c0
 [<c033b427>] __qdisc_run+0x77/0x1e0
 [<c0349aa3>] ip_queue_xmit+0x183/0x390
 [<ce99c55e>] via_driver_irq_handler+0xee/0x1c0 [via]
 [<c0348ffe>] ip_output+0x16e/0x2c0
 [<c035f468>] tcp_v4_send_check+0x38/0xe0
 [<c0359b84>] tcp_transmit_skb+0x464/0x780

 [<c03286b8>] kfree_skbmem+0x8/0x90
 [<c0330219>] net_tx_action+0x49/0x100
 [<c035b533>] __tcp_push_pending_frames+0x113/0x890
 [<c0328fc5>] __alloc_skb+0x45/0x130
 [<c03503bd>] tcp_sendmsg+0x7cd/0xbc0
 [<c0322d9b>] sock_sendmsg+0xbb/0xf0

 [<c012a5b0>] autoremove_wake_function+0x0/0x40
 [<c032a440>] skb_queue_tail+0x30/0x50
 [<ce955ded>] zd_mac_tx_to_dev+0x4d/0xa0 [zd1211rw_mac80211]
 [<ce9583f6>] free_tx_urb+0x46/0x80 [zd1211rw_mac80211]
 [<c028a9a7>] dma_pool_free+0xc7/0x190
 [<ce958f86>] tx_urb_complete+0x66/0x100 [zd1211rw_mac80211]

 [<c015e1c3>] fget_light+0x93/0xc0
 [<c0323135>] sys_sendto+0x115/0x150
 [<ce8f4747>] qh_completions+0x3e7/0x4a0 [ehci_hcd]

 [<c0111c4e>] update_curr+0x12e/0x140
 [<c01117a8>] update_stats_wait_end+0x88/0xd0
 [<c0111a77>] update_curr_load+0x77/0x90
 [<c010180c>] __switch_to+0x10c/0x140
 [<c03231a7>] sys_send+0x37/0x40
 [<c0324142>] sys_socketcall+0x142/0x250
 [<c0102a92>] syscall_call+0x7/0xb

 =======================
Code: 00 00 89 44 24 14 8b 83 8c 00 00 00 89 44 24 10 89 54 24 0c 8b 43 
50 89 44 24 08 89 4c 24 04 c7 04 24 98 92 40 c0 e8 ac 10 df ff <0f> 0b eb 
fe b8 d5 80 3e c0 eb ae 90 53 83 ec 24 89 c3 8b 40 14 

EIP: [<c0327544>] skb_under_panic+0x54/0x60 SS:ESP 0068:c53ed984
Kernel panic - not syncing: Fatal exception in interrupt




-------------------------------------

"lsusb -v" fails very often with
zd1211rw_mac80211 4-1:1.0: error ioread32(CR_REG1): -22.
the device then disappears from lsusb and the 
zd1211rt_mac80211 module needs to be reloaded. Could be a problem
with usb. I don't have debugging enabled there though.

Upon success:


Bus 004 Device 003: ID 0ace:1211  
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass          255 Vendor Specific Class
  bDeviceSubClass       255 Vendor Specific Subclass
  bDeviceProtocol       255 Vendor Specific Protocol
  bMaxPacketSize0        64
  idVendor           0x0ace 
  idProduct          0x1211 
  bcdDevice           43.30
  iManufacturer          16 ZyDAS
  iProduct               32 USB2.0 WLAN
  iSerial                 0 
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           46
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0x80
    MaxPower              500mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           4
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass      0 
      bInterfaceProtocol      0 
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x01  EP 1 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x82  EP 2 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x04  EP 4 OUT
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               1
Device Qualifier (for other device speed):
  bLength                10
  bDescriptorType         6
  bcdUSB               2.00
  bDeviceClass          255 Vendor Specific Class
  bDeviceSubClass       255 Vendor Specific Subclass
  bDeviceProtocol       255 Vendor Specific Protocol
  bMaxPacketSize0        64
  bNumConfigurations      1



Cheers, 
        mighty



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Zd1211-devs mailing list - http://zd1211.wiki.sourceforge.net/
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/zd1211-devs

Reply via email to