Opened 9 years ago

Last modified 9 years ago

#5269 new bug

KDLs writing to BFS USB stick

Reported by: Pete Owned by: axeld
Priority: normal Milestone: R1
Component: File Systems/BFS Version: R1/alpha1
Keywords: Cc: pete.goodeve@…
Blocked By: Blocking:
Has a Patch: no Platform: All

Description

I'm having a lot of difficulty backing up a BFS partition to USB stick. Searching through past tickets, I can't find any that seem to correspond so I'm starting a new one.

I just bought the alpha1 CD, and intend to install it on the old BeOS R4 (!) partition of my Ming Special. (For those who don't remember, the Ming Special is a Be-approved, twin-CPU developer machine.) Before installing, I want to back up the (nearly) 2GB of current contents to a USB stick (which I should be able to do now under Haiku...). The stick was formatted in BFS using DriveSetup.

The first backup attempt ran for about four hours before KDLing, after transferring 1GB or so. Every attempt since has failed similarly at some point -- apparently random. The smaller amount I try to copy at a time, the more likely it is to succeed, but at some point it always dies.

I wasn't recording serial output the first few times, but the panic was always something like:

PANIC: could not read block 45: bytesRead: -1, error: Device unreadable

Is this a filesystem block? I thought a write was supposed to recover from bad-block errors.

Eventually I recorded a full serial output trace from the point when the USB stick was inserted, attached here.

This particular KDL happened multiple times, but recently I've been getting an "ASSERT FAILED" in the 'low resource manager' -- see the second attachment.

I also seem to be accumulating junk disk blocks rapidly -- it now reports nearly 3GB used from a 2GB source (on a 4GB drive, so it'll have to be trimmed again soon!) I ran checkfs a while back, but didn't note how much (if any) I recovered.

Attachments (2)

haiku_serial.log (8.2 KB) - added by Pete 9 years ago.
'bad block' KDL
haiku_serial2.log (3.9 KB) - added by Pete 9 years ago.
'ASSERT FAILED" KDL

Download all attachments as: .zip

Change History (3)

Changed 9 years ago by Pete

Attachment: haiku_serial.log added

'bad block' KDL

Changed 9 years ago by Pete

Attachment: haiku_serial2.log added

'ASSERT FAILED" KDL

comment:1 Changed 9 years ago by Pete

Cc: pete.goodeve@… added
Note: See TracTickets for help on using tickets.