[haiku-bugs] [Haiku] #5269: KDLs writing to BFS USB stick

  • From: "Pete" <trac@xxxxxxxxxxxx>
  • Date: Sat, 16 Jan 2010 04:02:38 -0000

#5269: KDLs writing to BFS USB stick
------------------------------+---------------------------------------------
 Reporter:  Pete              |       Owner:  axeld    
     Type:  bug               |      Status:  new      
 Priority:  normal            |   Milestone:  R1       
Component:  File Systems/BFS  |     Version:  R1/alpha1
 Keywords:                    |   Blockedby:           
 Platform:  All               |    Blocking:           
------------------------------+---------------------------------------------
 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.

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/5269>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: