Date: Fri, 6 May 2005 00:00:14 +0200 (CEST) From: usbcrash@oldach.net (Helge Oldach) To: julian@elischer.org (Julian Elischer) Cc: usb@freebsd.org Subject: Re: recent USB MFCs cause panics Message-ID: <200505052200.j45M0ET8001019@sep.oldach.net> In-Reply-To: <427A8EF3.70003@elischer.org> from Julian Elischer at "May 5, 2005 2:24: 3 pm"
next in thread | previous in thread | raw e-mail | index | archive | help
Julian Elischer: > in usb_port.h > comment out line 425 (as below) > > 422 > 423 #define config_detach(dev, flag) \ > 424 do { \ > 425 /* device_detach(dev); */ \ > 426 free(device_get_ivars(dev), M_USB); \ > 427 device_delete_child(device_get_parent(dev), dev); \ > 428 } while (0); > 429 > OK. Upon inserting and detaching a flash diesk I get: umass0: USB Flash Disk, rev 2.00/2.00, addr 5 umass0: USB Flash Disk, rev 2.00/2.00, addr 5 umass0: BBB reset failed, STALLED umass0: BBB bulk-in clear stall failed, STALLED umass0: BBB bulk-out clear stall failed, STALLED umass0: BBB reset failed, STALLED umass0: BBB bulk-in clear stall failed, STALLED umass0: BBB bulk-out clear stall failed, STALLED umass0: BBB reset failed, STALLED umass0: BBB bulk-in clear stall failed, STALLED umass0: BBB bulk-out clear stall failed, STALLED umass0: BBB reset failed, STALLED umass0: BBB bulk-in clear stall failed, STALLED umass0: BBB bulk-out clear stall failed, STALLED umass0: BBB reset failed, STALLED umass0: BBB bulk-in clear stall failed, STALLED umass0: BBB bulk-out clear stall failed, STALLED umass0: at uhub1 port 2 (addr 5) disconnected umass0: detached Now insert it again, for the second attempt: umass0: USB Flash Disk, rev 2.00/2.00, addr 5 umass0: USB Flash Disk, rev 2.00/2.00, addr 5 umass0: BBB reset failed, STALLED umass0: BBB bulk-in clear stall failed, STALLED umass0: BBB bulk-out clear stall failed, STALLED umass0: BBB reset failed, STALLED umass0: BBB bulk-in clear stall failed, STALLED umass0: at uhub1 port 2 (addr 5) disconnected umass0: detached : BBB bulk-out clear stall failed, CANCELLED umass-sim:1:0:0:func_code 0x0901: Invalid target (target needed) umass-sim:1:0:0:func_code 0x0901: Invalid target (target needed) umass-sim:1:0:0:func_code 0x0901: Invalid target (target needed) panic: : Unknown state 0 syncing disks... done Uptime: 1m45s Automatic reboot in 15 seconds - press a key on the console to abort --> Press a key on the console to reboot, --> or switch off the system now. Rebooting... Helge
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200505052200.j45M0ET8001019>