Note that everything works fine with pilot-xfer (the oops does not occur)
if I set CONFIG_USB_UHCI_ALT=y
--
Burton Windle [EMAIL PROTECTED]
Linux: the "grim reaper of innocent orphaned children."
from /usr/src/linux-2.4.0/init/main.c:655
----- Original Message -----
From: "Burton W" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, December 30, 2001 12:58 PM
Subject: [linux-usb-devel] [2.4.18-pre1] USB oops in usb_unlink_urb when finished
syncing
> Hello. I got this oops while trying to get my USB Visor Handspring to sync
> with my Debian Woody box (running 2.4.18-pre1). I can reproduce this at
> will; it happens everytime pilot-xfer is getting done doing a list of my
> Visor's contents.
>
> Here's what happened before the oops:
> hub.c: USB new device connect on bus1/1, assigned device number 5
> usbserial.c: Handspring Visor converter detected
> visor.c: Handspring Visor: Number of ports: 2
> visor.c: Handspring Visor: port 1, is for Generic use and is bound to
> ttyUSB0
> visor.c: Handspring Visor: port 2, is for HotSync use and is bound to
> ttyUSB1
> usbserial.c: Handspring Visor converter now attached to ttyUSB0 (or
> usb/tts/0 for devfs)
> usbserial.c: Handspring Visor converter now attached to ttyUSB1 (or
> usb/tts/1 for devfs)
> usb-uhci.c: interrupt, status 2, frame# 908
> usb.c: USB disconnect on device 5
> usbserial.c: Handspring Visor converter now disconnected from ttyUSB0
> usbserial.c: Handspring Visor converter now disconnected from ttyUSB1
> usb_control/bulk_msg: timeout
> Unable to handle kernel paging request at virtual address 5a5a5a6e
> printing eip:
> c01dd7d8
>
>
> Here's the decoded oops:
> ksymoops 2.4.3 on i686 2.4.18pre1. Options used
> -V (default)
> -k /proc/ksyms (default)
> -l /proc/modules (default)
> -o /lib/modules/2.4.18pre1/ (default)
> -m /boot/System.map-2.4.18pre1 (specified)
>
> No modules in ksyms, skipping objects
> Warning (read_lsmod): no symbols in lsmod, is /proc/modules a valid lsmod file?
> Unable to handle kernel paging request at virtual address 5a5a5a6e
> c01dd7d8
> *pde = 00000000
> Oops: 0000
> CPU: 0
> EIP: 0010:[<c01dd7d8>] Not tainted
> Using defaults from ksymoops -t elf32-i386 -a i386
> EFLAGS: 00210206
> eax: 5a5a5a5a ebx: dd4c0094 ecx: 0000004e edx: 5a5a5a5a
> esi: dccffdf4 edi: dd4c0000 ebp: dd4c00f0 esp: dc9dded0
> ds: 0018 es: 0018 ss: 0018
> Process pilot-xfer (pid: 330, stackpage=dc9dd000)
> Stack: c01ed60d 5a5a5a5a dd4c0094 dd4c0000 decd5914 00000000 c01ebbc0 dd4c0094
> decd5914 dcaf4000 dbd7b9cc c180f2e0 c019bd00 dcaf4000 decd5914 decd5914
> dbd7b9cc c180f2e0 dba3bc18 00000001 decd5914 bffff9c4 00000000 00000000
> Call Trace: [<c01ed60d>] [<c01ebbc0>] [<c019bd00>] [<c01a0151>] [<c019c33a>]
> [<c012fcac>] [<c012ed2c>] [<c012ed83>] [<c0106c6b>]
> Code: 8b 42 14 85 c0 74 21 8b 80 bc 00 00 00 85 c0 74 17 8b 40 18
>
> >>EIP; c01dd7d8 <usb_unlink_urb+8/40> <=====
> Trace; c01ed60c <visor_close+13c/160>
> Trace; c01ebbc0 <serial_close+a0/b0>
> Trace; c019bd00 <release_dev+240/500>
> Trace; c01a0150 <n_tty_ioctl+100/4b0>
> Trace; c019c33a <tty_release+a/10>
> Trace; c012fcac <fput+4c/e0>
> Trace; c012ed2c <filp_close+5c/70>
> Trace; c012ed82 <sys_close+42/60>
> Trace; c0106c6a <system_call+32/38>
> Code; c01dd7d8 <usb_unlink_urb+8/40>
> 00000000 <_EIP>:
> Code; c01dd7d8 <usb_unlink_urb+8/40> <=====
> 0: 8b 42 14 mov 0x14(%edx),%eax <=====
> Code; c01dd7da <usb_unlink_urb+a/40>
> 3: 85 c0 test %eax,%eax
> Code; c01dd7dc <usb_unlink_urb+c/40>
> 5: 74 21 je 28 <_EIP+0x28> c01dd800
><usb_unlink_urb+30/40>
> Code; c01dd7de <usb_unlink_urb+e/40>
> 7: 8b 80 bc 00 00 00 mov 0xbc(%eax),%eax
> Code; c01dd7e4 <usb_unlink_urb+14/40>
> d: 85 c0 test %eax,%eax
> Code; c01dd7e6 <usb_unlink_urb+16/40>
> f: 74 17 je 28 <_EIP+0x28> c01dd800
><usb_unlink_urb+30/40>
> Code; c01dd7e8 <usb_unlink_urb+18/40>
> 11: 8b 40 18 mov 0x18(%eax),%eax
>
>
> 1 warning issued. Results may not be reliable.
>
> This appears to be (usb.c) where it happens.. perhaps usb_unlink_urb isn't
> as safe as it would hope to be ;)
>
>
> if (!timeout && !awd.done) {
> if (urb->status != -EINPROGRESS) { /* No callback?!!
> */
> printk(KERN_ERR "usb: raced timeout, "
> "pipe 0x%x status %d time left %d\n",
> urb->pipe, urb->status, timeout);
> status = urb->status;
> } else {
> printk("usb_control/bulk_msg: timeout\n");
> usb_unlink_urb(urb); // remove urb safely
> status = -ETIMEDOUT;
> }
> } else
> status = urb->status;
>
>
>
>
> Info about my system:
> cypher:~# lspci
> 00:00.0 Host bridge: VIA Technologies, Inc. VT8367 [KT266]
> 00:01.0 PCI bridge: VIA Technologies, Inc. VT8367 [KT266 AGP]
> 00:0d.0 Unknown mass storage controller: Promise Technology, Inc. 20265
> (rev 02)
> 00:0e.0 Multimedia audio controller: C-Media Electronics Inc CM8738 (rev
> 10)
> 00:11.0 ISA bridge: VIA Technologies, Inc. VT8233 PCI to ISA Bridge
> 00:11.1 IDE interface: VIA Technologies, Inc. Bus Master IDE (rev 06)
> 00:11.2 USB Controller: VIA Technologies, Inc. UHCI USB (rev 1b)
> 00:11.3 USB Controller: VIA Technologies, Inc. UHCI USB (rev 1b)
> 00:11.4 USB Controller: VIA Technologies, Inc. UHCI USB (rev 1b)
> 00:12.0 Ethernet controller: VIA Technologies, Inc. Ethernet Controller
> (rev 70)
> 01:00.0 VGA compatible controller: nVidia Corporation NV11 (GeForce2 MX)
> (rev b2)
>
> cypher:~# grep -i USB /usr/src/linux/.config | grep -v "^#"
> CONFIG_USB=y
> CONFIG_USB_DEVICEFS=y
> CONFIG_USB_UHCI=y
> CONFIG_USB_HID=y
> CONFIG_USB_SERIAL=y
> CONFIG_USB_SERIAL_GENERIC=y
> CONFIG_USB_SERIAL_VISOR=y
>
> And here's what I was doing when it oopsed:
> bwindle@cypher:~$ pilot-xfer -l
> Port: /dev/pilot
>
> Please press the HotSync button now...
> Connected...
> Reading list of databases in RAM...
> 'CityTimeDB'
> 'PalmCoins-Scheduled'
> 'PalmCoins-Accounts'
> 'PalmCoins-Transactions'
> 'Datebk3HDB'
> 'HSAdvCalcDB'
> 'AddressDB'
> 'DatebookDB'
> 'ExpenseDB'
> 'LauncherDB'
> 'MailDB'
> 'MemoDB'
> 'ConnectionDB'
> 'NetworkDB'
> 'ToDoDB'
> 'DopeWarsDB'
> 'OmniRemote'
> 'BJSim v0.5.2'
> 'SinkTheShip'
> 'DopeWars'
> 'Dreadling'
> 'PalmCoins'
> 'HardBall'
> 'Moon'
> 'Billiard'
> 'SubHunt'
> 'Graffiti'
> 'MineHunt'
> 'Remote'
> 'AddressCitiesDB'
> 'CitiesDB'
> 'AddressCompaniesDB'
> 'AddressCountriesDB'
> 'psysLaunchDB'
> 'Graffiti ShortCuts'
> 'Unsaved Preferences'
> 'Net Prefs'
> 'System MIDI Sounds'
> 'Saved Preferences'
> 'AddressStatesDB'
> 'AddressTitlesDB'
> 'VendorsDB'
> List done.
> <***3 second pause, noted for clarity***>
> Segmentation fault
>
>
>
> --
> Burton Windle [EMAIL PROTECTED]
> Linux: the "grim reaper of innocent orphaned children."
> from /usr/src/linux-2.4.0/init/main.c:655
>
>
>
>
>
> _______________________________________________
> [EMAIL PROTECTED]
> To unsubscribe, use the last form field at:
> https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel