RE: WUSB driver crash after DN_CONNECT message from WUSB device

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

 



Dear Harsha,

The host and device do support each other. Both are dongles based on the WISAIR 601 chipset.
The CBAF process is successful (I can see the CHID and CDID programmed correctly to the device NVRAM.
Both dongles are working on the same channel and I can see the beacons, MMCs and the DN_CONNECT commands in the air trace captured with a WUSB explorer.
After the DN_CONNECT message from the device to the host, the hwa driver on the host crashes with the log I provided.

The host system is based on Ubuntu running kernel version 2.6.28.2.

Many thanks,
Eyal

 

________________________________________
From: Harsha [mailto:harsha.081979@xxxxxxxxx] 
Sent: Monday, March 02, 2009 12:16 PM
To: Eyal Reizer
Cc: david.vrabel@xxxxxxx; linux-usb@xxxxxxxxxxxxxxx
Subject: Re: WUSB driver crash after DN_CONNECT message from WUSB device

 

Dear Eyal,

CBAF comes into picture only when both Host and Device possess mutual support for each other.  Please do verify the initial config settings such as CHID, Bandwidth Channel number, Cluster ID  etc ......

May I know the linux version / type being used in the setup ?

Thanks, Harsha 

2009/3/2 eyal reizer eyalr@xxxxxxxxxx

 
Dear David,

I have a set of a host and device which I have paired using the cable
association service and now the device tries to connect wirelessly.

As soon as the DN_CONNECT from the device is received by the host bad
things start happening until finally a crash is caused.
Have you seen this type of problem below? any hints on what is going
wrong?

Best Regards,
Eyal

Log below:

[ 1258.160677] uwb_rc uwb0: BEACON from 09:df to ff:ff (ch15 offset 263
slot 3 MAC aa:bb:cc:dd:ee:dd)
[ 1258.160709] uwb_rc uwb0: uwb device (mac aa:bb:cc:dd:ee:dd dev 09:df)
connected to usb 5-3.2:1.1
[ 1258.361626] hwa-hc 5-3.2:1.0: DN CONNECT: device 40 4b b4 40 27 55 49
3d 32 70 11 67 ed 6f 46 35 @ 0 (self-beacon) wants to reconnect
[ 1258.377514] hwa-hc 5-3.2:1.0: Can't set host's WUSB encryption for
port index 0 to CCM-1 (value 1): -71
[ 1258.377520] hwa-hc 5-3.2:1.0: Connecting new WUSB device to address
130, port 0
[ 1258.377739] hwa-rc 5-3.2:1.1: NEEP: URB error -71
[ 1258.377930] hwa-hc 5-3.2:1.0: NEP: URB error -71
[ 1258.378170] hwa-hc 5-3.2:1.0: device 0: failed to set device address
[ 1258.378483] hwa-rc 5-3.2:1.1: NEEP: URB error -71
[ 1258.378671] hwa-hc 5-3.2:1.0: NEP: URB error -71
[ 1258.379237] hwa-rc 5-3.2:1.1: NEEP: URB error -71
[ 1258.379423] hwa-hc 5-3.2:1.0: NEP: URB error -71
[ 1258.379984] hwa-rc 5-3.2:1.1: NEEP: URB error -71
[ 1258.380170] hwa-hc 5-3.2:1.0: NEP: URB error -71
[ 1258.380729] hwa-rc 5-3.2:1.1: NEEP: URB error -71
[ 1258.380914] hwa-hc 5-3.2:1.0: NEP: URB error -71
[ 1258.381478] hwa-rc 5-3.2:1.1: NEEP: URB error -71
[ 1258.381664] hwa-hc 5-3.2:1.0: NEP: URB error -71
[ 1258.382227] hwa-rc 5-3.2:1.1: NEEP: URB error -71
[ 1258.382413] hwa-hc 5-3.2:1.0: NEP: URB error -71
[ 1258.382976] hwa-rc 5-3.2:1.1: NEEP: URB error -71
[ 1258.383162] hwa-hc 5-3.2:1.0: NEP: URB error -71
[ 1258.383726] hwa-rc 5-3.2:1.1: NEEP: URB error -71
[ 1258.383914] hwa-hc 5-3.2:1.0: NEP: URB error -71
[ 1258.384480] hwa-rc 5-3.2:1.1: NEEP: URB error -71
[ 1258.384668] hwa-hc 5-3.2:1.0: NEP: URB error -71
[ 1258.385229] hwa-rc 5-3.2:1.1: NEEP: URB max acceptable errors
exceeded, resetting device
[ 1258.385378] hwa-hc 5-3.2:1.0: NEP: URB max acceptable errors
exceeded, resetting device
[ 1258.385861] uwb_rc uwb0: resetting radio controller
[ 1258.385898] hwa-hc 5-3.2:1.0: remove, state 1
[ 1258.385907] usb usb6: USB disconnect, address 1
[ 1258.389501] hwa-hc 5-3.2:1.0: Cannot set WUSB stream index: -71
[ 1258.389616] hwa-hc 5-3.2:1.0: error commanding HC to stop: -71
[ 1258.389621] hwa-hc 5-3.2:1.0: USB bus 6 deregistered
[ 1258.394024] uwb_rc uwb0: Cannot set new IE on device.
[ 1258.394371]  aa:bb:cc:dd:ee:dd: uwb device (mac aa:bb:cc:dd:ee:dd dev
09:df) disconnected from usb 5-3.2:1.1
[ 1258.394394]  aa:bb:cc:dd:ee:dd: uwb_dev_sys_release: uwb_dev f677d800
freed
[ 1258.394442] hwa-rc 5-3.2:1.1: hwarc_disconnect: freed hwarc eccb09c0
[ 1258.428504] uwb_rc uwb0: failed to reset hardware: -19
[ 1258.428511] uwb_rc uwb0: UWBD: 'reset' message failed: -19
[ 1258.428871] usb 5-3.2: USB disconnect, address 7
[ 1259.428033] BUG: unable to handle kernel paging request at 69696b51
[ 1259.428042] IP: [<c04d6300>] mutex_lock_interruptible+0x10/0x30
[ 1259.428051] *pde = 00000000
[ 1259.428055] Oops: 0002 [#1] SMP
[ 1259.428059] last sysfs
file: /sys/devices/pci0000:00/0000:00:1d.7/usb5/5-3/5-3.2/5-3.2:1.0/wusb_chid
[ 1259.428063] Dumping ftrace buffer:
[ 1259.428066]    (ftrace buffer empty)
[ 1259.428068] Modules linked in: hwa_hc wusb_cbaf wusb_wa hwa_rc
wusbcore aes_i586 aes_generic cbc uwb i915 drm binfmt_misc bridge stp
bnep speedstep_lib video output lp ppdev pcspkr serio_raw iTCO_wdt
iTCO_vendor_support usbhid snd_hda_intel snd_pcm_oss snd_mixer_oss
snd_pcm snd_seq_dummy parport_pc parport snd_seq_oss snd_seq_midi
snd_rawmidi snd_seq_midi_event snd_seq snd_timer snd_seq_device
intel_agp agpgart snd soundcore snd_page_alloc e100 mii ehci_hcd
uhci_hcd fuse [last unloaded: wusb_cbaf]
[ 1259.428105]
[ 1259.428108] Pid: 4550, comm: uwbd Not tainted (2.6.28.2-wisair
#1)
[ 1259.428111] EIP: 0060:[<c04d6300>] EFLAGS: 00010246 CPU: 0
[ 1259.428114] EIP is at mutex_lock_interruptible+0x10/0x30
[ 1259.428117] EAX: ffffffff EBX: 69696b51 ECX: 00000003 EDX: f677d800
[ 1259.428119] ESI: ece562c0 EDI: 00000003 EBP: ece5bf3c ESP: ece5bf38
[ 1259.428122]  DS: 007b ES: 007b FS: 00d8 GS: 0000 SS: 0068
[ 1259.428125] Process uwbd (pid: 4550, ti=ece5a000 task=ece69920
task.ti=ece5a000)
[ 1259.428127] Stack:
[ 1259.428128]  69696969 ece5bf58 f7e7e3ae f677d800 69696b51 f677d800
ece562c0 f7e88380
[ 1259.428134]  ece5bf64 f7e7e5ad 0003a7e5 ece5bf78 f7e7b948 00000282
ece5bfbc 00000000
[ 1259.428141]  ece5bfd0 f7e81abf f7e835c4 f7e81f00 c30504b4 f7e822fb
ffffffed ece5bfbc
[ 1259.428148] Call Trace:
[ 1259.428151]  [<f7e7e3ae>] ? uwb_notify+0x1e/0x70 [uwb]
[ 1259.428165]  [<f7e7e5ad>] ? uwbd_dev_offair+0x1d/0x30 [uwb]
[ 1259.428174]  [<f7e7b948>] ? uwb_beca_purge+0x58/0xa0 [uwb]
[ 1259.428183]  [<f7e81abf>] ? uwbd+0x1ef/0x3fb [uwb]
[ 1259.428195]  [<c0149070>] ? autoremove_wake_function+0x0/0x50
[ 1259.428202]  [<f7e818d0>] ? uwbd+0x0/0x3fb [uwb]
[ 1259.428210]  [<c0148cfc>] ? kthread+0x3c/0x70
[ 1259.428214]  [<c0148cc0>] ? kthread+0x0/0x70
[ 1259.428218]  [<c01053f7>] ? kernel_thread_helper+0x7/0x10
[ 1259.428222] Code: 00 00 89 f8 e8 52 7a c4 ff 90 31 c0 83 c4 10 5b 5e
5f 5d c3 8d b4 26 00 00 00 00 55 89 e5 53 89 c3 e8 b5 f8 ff ff b8 ff ff
ff ff <3e> 0f c1 03 31 d2 85 c0 7e 06 89 d0 5b 5d c3 90 89 d8 e8 09 ff
[ 1259.428255] EIP: [<c04d6300>] mutex_lock_interruptible+0x10/0x30
SS:ESP 0068:ece5bf38
[ 1259.428262] ---[ end trace 9022af82e3feb4ce ]---





This mail was sent via Mail.wisair.com.


--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



This mail was received via Mail.wisair.com.



This mail was sent via Mail.wisair.com.


--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux