Opened 9 years ago

Closed 9 years ago

#5538 closed bug (fixed)

KDL on trying to dd zero a USB drive

Reported by: danboid Owned by: mmlr
Priority: normal Milestone: R1/alpha2
Component: Drivers/USB Version: R1/Development
Keywords: ehci finish thread dd usb kdl panic Cc: mdisreali@…
Blocked By: Blocking:
Has a Patch: no Platform: x86

Description

I'm running hrev35763 'bare metal' stylee. If I insert a USB memory stick, choose 'Cancel' when it asks me if I want to mount it (I don't) and then try to zero it with this command:

dd if=/dev/zero of=/dev/disk/usb/0/0/raw bs=1M

I get dumped into KDL land with an error like:

PANIC: vm_page_fault: unhandled page fault in kernel space at ... Thread 27 "ehci finish thread" running on CPU 1

Attachments (4)

listdev.txt (3.4 KB) - added by danboid 9 years ago.
listdev output
listusb.txt (2.0 KB) - added by danboid 9 years ago.
listusb output
haiku_r36131_crash_dd-ing_02.JPG (358.1 KB) - added by Disreali 9 years ago.
haiku_r36131_crash_dd-ing_03.JPG (340.1 KB) - added by Disreali 9 years ago.

Download all attachments as: .zip

Change History (8)

Changed 9 years ago by danboid

Attachment: listdev.txt added

listdev output

Changed 9 years ago by danboid

Attachment: listusb.txt added

listusb output

comment:1 Changed 9 years ago by mmlr

Priority: criticalnormal

While certainly not very nice, it's far from critical really. It's an edge case, it'll work with a smaller block size (like 128k).

comment:2 Changed 9 years ago by mmadia

Platform: x64x86

comment:3 Changed 9 years ago by Disreali

Cc: mdisreali@… added

I had a similar incident when I tried to dd a just built nightly image to a usb drive.

Attaching photos of KDL.

Changed 9 years ago by Disreali

Changed 9 years ago by Disreali

comment:4 Changed 9 years ago by mmlr

Resolution: fixed
Status: newclosed

Fixed in hrev36245.

Note: See TracTickets for help on using tickets.