Hello, I have a Kobil Kaan Pro Smart Card terminal (usb). Up till now, I tried several kernels including development series but I allways get segfaults in different code positions. To be more exact. I'm running now vanilla 2.4.20-pre6 with Gregs patches (usb-hub-2.4.21-pre6.patch, usb-kobil_sct-2.4.21-pre6.patch and usb-uhci-2.4.21-pre6.patch) applied.
BTW Greg: "magical" the host controllers have been moved to the host directory. This patch didn't go in 2.4.21-pre6 but the uhci patch depends on it. Or maybe I miss something? I have a Asus P3B-F (PIIX4) board. System is SuSE 8.1. In this configuration usbcore segfaults when pluggin in the sm-reader: Mar 28 10:16:11 fb07-iapwap2 kernel: hub.c: new USB device 00:04.2-1, assigned address 2 Mar 28 10:16:11 fb07-iapwap2 kernel: Unable to handle kernel NULL pointer dereference at virtual address 00000018 Mar 28 10:16:11 fb07-iapwap2 kernel: d080e8f0 Mar 28 10:16:11 fb07-iapwap2 kernel: *pde = 00000000 Mar 28 10:16:11 fb07-iapwap2 kernel: Oops: 0000 Mar 28 10:16:11 fb07-iapwap2 kernel: CPU: 0 Mar 28 10:16:11 fb07-iapwap2 kernel: EIP: 0010:[<d080e8f0>] Not tainted Using defaults from ksymoops -t elf32-i386 -a i386 Mar 28 10:16:11 fb07-iapwap2 kernel: EFLAGS: 00010246 Mar 28 10:16:11 fb07-iapwap2 kernel: eax: cf3a2740 ebx: 00000000 ecx: 00000001 edx: 0000007e Mar 28 10:16:11 fb07-iapwap2 kernel: esi: 00000016 edi: 00000000 ebp: cfb6fee4 esp: cfb6fec4 Mar 28 10:16:11 fb07-iapwap2 kernel: ds: 0018 es: 0018 ss: 0018 Mar 28 10:16:11 fb07-iapwap2 kernel: Process khubd (pid: 37, stackpage=cfb6f000) Mar 28 10:16:11 fb07-iapwap2 kernel: Stack: 00000018 7e000000 ce4f7820 cf3a2740 00000001 ce4f7820 00000000 ce4f7820 Mar 28 10:16:11 fb07-iapwap2 kernel: cfb6ff24 d080ecdb cf2c4400 84000200 00000009 00000000 00000001 00000000 Mar 28 10:16:11 fb07-iapwap2 kernel: 00000000 00000000 0000012c ce4f7820 ce4f7820 cf2c4400 cf2c4400 00000000 Mar 28 10:16:11 fb07-iapwap2 kernel: Call Trace: [<d080ecdb>] [<d080f380>] [<d0810fed>] [<d0811406>] [<d08114a5>] Mar 28 10:16:11 fb07-iapwap2 kernel: [<c01092a2>] [<c010767e>] [<d0811460>] Mar 28 10:16:11 fb07-iapwap2 kernel: Code: 0f b6 54 1e 02 0f b6 44 1e 03 89 d1 24 03 83 e1 0f 84 c0 75 >>EIP; d080e8f0 <[usbcore]usb_set_maxpacket+60/f0> <===== >>eax; cf3a2740 <_end+f0ee5d0/10557ef0> >>ebp; cfb6fee4 <_end+f8bbd74/10557ef0> >>esp; cfb6fec4 <_end+f8bbd54/10557ef0> Trace; d080ecdb <[usbcore]usb_set_configuration+eb/120> Trace; d080f380 <[usbcore]usb_new_device+140/1b0> Trace; d0810fed <[usbcore]usb_hub_port_connect_change+16d/290> Trace; d0811406 <[usbcore]usb_hub_events+2f6/350> Trace; d08114a5 <[usbcore]usb_hub_thread+45/d0> Trace; c01092a2 <ret_from_fork+6/20> Trace; c010767e <kernel_thread+2e/40> Trace; d0811460 <[usbcore]usb_hub_thread+0/d0> Code; d080e8f0 <[usbcore]usb_set_maxpacket+60/f0> 00000000 <_EIP>: Code; d080e8f0 <[usbcore]usb_set_maxpacket+60/f0> <===== 0: 0f b6 54 1e 02 movzbl 0x2(%esi,%ebx,1),%edx <===== Code; d080e8f5 <[usbcore]usb_set_maxpacket+65/f0> 5: 0f b6 44 1e 03 movzbl 0x3(%esi,%ebx,1),%eax Code; d080e8fa <[usbcore]usb_set_maxpacket+6a/f0> a: 89 d1 mov %edx,%ecx Code; d080e8fc <[usbcore]usb_set_maxpacket+6c/f0> c: 24 03 and $0x3,%al Code; d080e8fe <[usbcore]usb_set_maxpacket+6e/f0> e: 83 e1 0f and $0xf,%ecx Code; d080e901 <[usbcore]usb_set_maxpacket+71/f0> 11: 84 c0 test %al,%al Code; d080e903 <[usbcore]usb_set_maxpacket+73/f0> 13: 75 00 jne 15 <_EIP+0x15> In this case, the kobil driver is not being loaded. I have other configurations where it loads without any error (by hand, no hotplug, single user), but other thinks segfault after this. I can post some additional configurations/seqfaults if it is needed. Any ideas? Greetings Marc P.S. I'm not subscribed... ------------------------------------------------------- This SF.net email is sponsored by: The Definitive IT and Networking Event. Be There! NetWorld+Interop Las Vegas 2003 -- Register today! http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-users
