Opened 15 years ago

Closed 15 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:
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 15 years ago.
listdev output
listusb.txt (2.0 KB ) - added by danboid 15 years ago.
listusb output
haiku_r36131_crash_dd-ing_02.JPG (358.1 KB ) - added by Disreali 15 years ago.
haiku_r36131_crash_dd-ing_03.JPG (340.1 KB ) - added by Disreali 15 years ago.

Download all attachments as: .zip

Change History (8)

by danboid, 15 years ago

Attachment: listdev.txt added

listdev output

by danboid, 15 years ago

Attachment: listusb.txt added

listusb output

comment:1 by mmlr, 15 years ago

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 by mmadia, 15 years ago

Platform: x64x86

comment:3 by Disreali, 15 years ago

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.

by Disreali, 15 years ago

by Disreali, 15 years ago

comment:4 by mmlr, 15 years ago

Resolution: fixed
Status: newclosed

Fixed in hrev36245.

Note: See TracTickets for help on using tickets.