Opened 9 years ago

Last modified 8 weeks 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/Disk/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 (2)

comment:1 Changed 9 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.

comment:2 Changed 8 weeks ago by waddlesplash

Component: Drivers/USBDrivers/Disk/USB
Note: See TracTickets for help on using tickets.