Hello,

I have an user report that the auerswald driver is causing a BUG().
Has somebody a hint for me?

Test Sequence:
1) use a plain 2.4.24 Kernel:

Feb 11 16:24:53 gandalf kernel: usb.c: new USB bus registered, assigned bus number 1
Feb 11 16:24:53 gandalf kernel: hub.c: USB hub found
Feb 11 16:24:53 gandalf kernel: hub.c: 3 ports detected
Feb 11 16:24:53 gandalf kernel: PCI: Found IRQ 11 for device 00:01.3
Feb 11 16:24:53 gandalf kernel: PCI: Sharing IRQ 11 with 00:01.2
Feb 11 16:24:53 gandalf kernel: usb-ohci.c: USB OHCI at membase 0xceb72000, IRQ 11
Feb 11 16:24:53 gandalf kernel: usb-ohci.c: usb-00:01.3, Silicon Integrated Systems 
[SiS] USB 1.0 Controller (#2)
Feb 11 16:24:53 gandalf kernel: usb.c: new USB bus registered, assigned bus number 2
Feb 11 16:24:53 gandalf kernel: hub.c: USB hub found
Feb 11 16:24:53 gandalf kernel: hub.c: 3 ports detected

2) The auerswald device is detected:

Feb 11 16:34:16 gandalf kernel: hub.c: new USB device 00:01.2-1, assigned address 2
Feb 11 16:34:16 gandalf kernel: usb.c: USB device 2 (vend/prod 0x9bf/0xdb) is not 
claimed by any active driver.
Feb 11 16:34:30 gandalf kernel: usb.c: registered new driver auerswald
Feb 11 16:34:30 gandalf kernel: auermain.c: device is a COMpact 4410,Ser# C0C054E, MSN 
4610379

3) The device is disconnected:

Feb 11 16:34:50 gandalf kernel: usb.c: USB disconnect on device 00:01.2-1 address 2
Feb 11 16:34:50 gandalf kernel: auermain.c: device /dev/usb/auer0 now disconnecting

4) The device is connected again:

Feb 11 16:35:12 gandalf kernel: hub.c: new USB device 00:01.2-1, assigned address 3
Feb 11 16:35:12 gandalf kernel: auermain.c: device is a COMpact 4410,Ser# C0C054E, MSN 
4610379
Feb 11 16:35:12 gandalf kernel: kernel BUG at usb-ohci.h:464!
Feb 11 16:35:12 gandalf kernel: invalid operand: 0000
Feb 11 16:35:12 gandalf kernel: CPU:    0
Feb 11 16:35:12 gandalf kernel: EIP:    0010:[<ceb639e0>]    Not tainted
Feb 11 16:35:12 gandalf kernel: EFLAGS: 00010046
Feb 11 16:35:12 gandalf kernel: eax: 00000000   ebx: c8b081f0   ecx: 00000000   edx: 
c8b081f0
Feb 11 16:35:12 gandalf kernel: esi: 00000000   edi: 08b08200   ebp: c8b081e0   esp: 
cd40fd2c
Feb 11 16:35:12 gandalf kernel: ds: 0018   es: 0018   ss: 0018
Feb 11 16:35:12 gandalf kernel: Process khubd (pid: 46, stackpage=cd40f000)
Feb 11 16:35:12 gandalf kernel: Stack: 80000380 00000000 00000001 c8aa64c0 00000000 
caf24080 ceb63ce9 cc989000
Feb 11 16:35:12 gandalf kernel:        f2000000 08b08200 00000008 c8aa64c0 00000000 
cc989358 0af24140 caf24140
Feb 11 16:35:12 gandalf kernel:        00000003 00000000 00000040 00000020 08b08720 
cc989000 c8b081e0 ceb6294e
Feb 11 16:35:12 gandalf kernel: Call Trace:    [<ceb63ce9>] [<ceb6294e>] [<ceb541de>] 
[<ceb542cd>] [<ceb54443>]
Feb 11 16:35:12 gandalf kernel:   [<ceb544d3>] [<cec29507>] [<ceb541de>] [<cec284fa>] 
[<cec2c8bc>] [<cec2c940>]
Feb 11 16:35:12 gandalf kernel:   [<cec2c960>] [<ceb53cd5>] [<cec2c8bc>] [<ceb60520>] 
[<ceb54009>] [<ceb55d8b>]
Feb 11 16:35:12 gandalf kernel:   [<ceb573d8>] [<ceb5eca0>] [<ceb605a4>] [<ceb5753d>] 
[<ceb576f7>] [<c0107018>]
Feb 11 16:35:12 gandalf kernel:
Feb 11 16:35:12 gandalf kernel: Code: 0f 0b d0 01 8a 5b b6 ce 8b 08 8b 44 24 10 89 0c 
10 8b 45 00

The BUG() is triggered when the auerswald driver is trying to
enable an INT input endpoint in auermain.c::auerswald_int_open

The BUG() is in
static inline void *dma_to_ed_td (struct hash_list_t * entry, dma_addr_t dma)
{
        struct hash_t * scan = entry->head;
        while (scan && scan->dma != dma)
                scan = scan->next;
        if (!scan)
                BUG();
        return scan->virt;
}

This type of error is not present in any Suse System I use normally for development.
Can someone give me hint what may cause this problem?

best regards
Wolfgang Mües





-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id56&alloc_id438&op=click
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to