Opened 11 years ago

Last modified 11 months 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:
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 (10)

comment:1 by mmu_man, 11 years ago

Owner: changed from mmu_man to pulkomandy
Status: newassigned

Actually I didn't write this one :p

comment:2 by pulkomandy, 11 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 kallisti5, 11 years ago

Yup.. I thought of that. Same result if a floppy disk is present or not present.

comment:4 by scottmc, 11 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 pulkomandy, 11 years ago

Milestone: R1/beta1Unscheduled

Unscheduling this for beta1. My hardware works, and this is quite unlikely to be useful to anyone except me anyway.

comment:6 by pulkomandy, 5 years ago

Component: Drivers/FloppyDrivers/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 luroh, 5 years ago

Cc: luroh added

comment:8 by korli, 5 years ago

Should this ticket be closed after the merge with usb_disk?

comment:9 by pulkomandy, 5 years ago

No KDL anymore, but the driver still doesn't work for floppies.

comment:10 by waddlesplash, 11 months ago

Please retest after hrev57051.

Note: See TracTickets for help on using tickets.