Opened 12 years ago
Last modified 6 weeks ago
#9109 assigned bug
usb_floppy doesn't function and causes kdl when unplugged
Reported by: | kallisti5 | Owned by: | pulkomandy |
---|---|---|---|
Priority: | normal | Milestone: | Unscheduled |
Component: | Drivers/Disk/USB | Version: | R1/Development |
Keywords: | Cc: | luroh | |
Blocked By: | Blocking: | #17549, #18768 | |
Platform: | All |
Description
- Plug a usb floppy drive into a running Haiku system
- See the following in syslog:
usb_floppy: device reports a lun count of 1 usb_floppy: getting inquiry data failed usb_floppy: failed to initialize logical units
KDL On unplug:
Breakpoint exception in kernel mode Thread 38, uhci finish thread . . <kernel_x86>:panic <kernel_x86>:x86_handle_breakpoint_exception + 0x0025 <kernel_x86>:int_bottom + 0x003d <uhci> UHCI<0x82817150>::FinishTransfers(0x0) <uhci> UHCI<0x82817150>::FinishThread(NULL) <kernel_x86> common_thread_entry
Change History (16)
comment:1 by , 12 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:2 by , 12 years ago
Well, it worked with the two drives I have at home last time I checked, and I don't remember seeing such KDL.
Was there a floppy in the drive when you plugged it ?
comment:3 by , 12 years ago
Yup.. I thought of that. Same result if a floppy disk is present or not present.
comment:4 by , 12 years ago
did you "unmount" the usb floppy drive before unplugging it? I know if you unplug a usb flash device without first unmounting you'll end up in kdl, so perhaps this is similar?
comment:5 by , 11 years ago
Milestone: | R1/beta1 → Unscheduled |
---|
Unscheduling this for beta1. My hardware works, and this is quite unlikely to be useful to anyone except me anyway.
comment:6 by , 6 years ago
Component: | Drivers/Floppy → Drivers/Disk/USB |
---|---|
Keywords: | usb_floppy kdl removed |
Welp, playing with usb_floppy again and now I can reproduce the issue with both my drives.
Something must have changed somewhere in the USB stack (EHCI in my case, so in the generic code shared between UHCI and EHCI).
comment:7 by , 6 years ago
Cc: | added |
---|
comment:12 by , 3 months ago
Test drive I have is the Chuanganzhou USB 2.0 model - "Floppy Disk Reader, 3.5 inch External USB Type C Floppy Disk Drive for Laptop and Desktop, Black, Frosted Texture"
USB floppies not claimed to work yet. So, I can review basic mount/unmount of drive and floppy.
Haiku R1B5 (hrev57937+36) x86_gcc2 (no floppy media inserted in drive):
- Boot up to desktop - USB floppy drive attached: KDL before desktop or "install/try Haiku" GUI.
- Desktop - attach USB drive: possible KDL (random). Driver mostly stable during init with no KDL.
- Desktop - detaching USB drive: KDL (consistently happens).
- Shutdown from desktop - USB floppy drive attached: No KDL - but does not shutdown completely. (test incomplete, same issue if USB drive not attached)
Attachment for KDL info: https://dev.haiku-os.org/ticket/17549
comment:13 by , 3 months ago
Can you open your own ticket please, since your error message is different from the ones in either of these existing tickets (which had been kept separate because they have different problems).
comment:15 by , 6 weeks ago
Blocking: | 17549 added |
---|
comment:16 by , 6 weeks ago
Blocking: | 18768 added |
---|
Actually I didn't write this one :p