Opened 12 years ago

Last modified 2 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: #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 mmu_man, 12 years ago

Owner: changed from mmu_man to pulkomandy
Status: newassigned

Actually I didn't write this one :p

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

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

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

Cc: luroh added

comment:8 by korli, 6 years ago

Should this ticket be closed after the merge with usb_disk?

comment:9 by pulkomandy, 6 years ago

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

comment:10 by waddlesplash, 19 months ago

Please retest after hrev57051.

comment:11 by Luposian, 5 months ago

Has anyone tested this out yet?

Last edited 5 months ago by Luposian (previous) (diff)

comment:12 by cocobean, 4 months ago

Last edited 2 months ago by cocobean (previous) (diff)

comment:13 by pulkomandy, 4 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:14 by waddlesplash, 2 months ago

Please retest after hrev58221.

comment:15 by waddlesplash, 2 months ago

Blocking: 17549 added

comment:16 by waddlesplash, 2 months ago

Blocking: 18768 added
Note: See TracTickets for help on using tickets.