Opened 8 years ago

Last modified 8 years ago

#6359 new bug

Kernel panic when deleting file on a write protected usb key

Reported by: jackburton Owned by: mmlr
Priority: critical Milestone: R1
Component: Drivers/USB Version: R1/alpha2
Keywords: Cc:
Blocked By: Blocking:
Has a Patch: no Platform: All


You need a usb key with a hardware write protect switch. Steps to reproduce:

  • Lock the key with the hardware switch.
  • Insert it in your haiku pc.
  • Mount it read-write
  • Try to delete some files

Panicks with "could not write back block xxx"

Actually could well be another symptom of ticket #6346

Change History (1)

comment:1 Changed 8 years ago by bonefish

Assuming usb_disk is the underlying driver, usb_disk_open() doesn't have any handling for the open mode (flags). I don't think I've seen any driver that does, though.

Note: See TracTickets for help on using tickets.