[haiku-bugs] Re: [Haiku] #3150: BFS directory corruption.

  • From: "jessicah" <trac@xxxxxxxxxxxx>
  • Date: Mon, 05 Apr 2010 20:29:01 -0000

#3150: BFS directory corruption.
------------------------------+---------------------------------------------
 Reporter:  bga               |       Owner:  axeld        
     Type:  bug               |      Status:  new          
 Priority:  blocker           |   Milestone:  R1           
Component:  File Systems/BFS  |     Version:  R1/pre-alpha1
 Keywords:                    |   Blockedby:               
 Platform:  x86               |    Blocking:  3932, 4011   
------------------------------+---------------------------------------------

Comment(by jessicah):

 I'm having the same issue, and it has been reproducible twice in a row for
 me. I have haiku revision [36031], also happened on a slightly earlier
 revision (can't have been more than a week older than that one).

 I install the anyboot nightly to one of my USB pen drives, boot off it,
 then initialise BFS using DriveSetup on my 16GB SDHC card (I initialise
 BFS on raw device, I don't create any partitions), then run Installer to
 move my Haiku install to my SDHC card (my USB is too small).

 Then I checkout the web+ repo, and build it. Everything works fine (takes
 about 4-5 hours total on my EeePC). If it matters, I did a shutdown next
 (done properly), then when I booted back into Haiku, as Web+ wasn't
 working for me, I tried to update to an earlier revision (382, Web+ is
 currently at 384 of this writing), and SVN choked and I got BFS errors.

 {{{
 ~> cd webkit/trunk
 ~/webkit/trunk> svn up -r 382
 U    WebKit/haiku/API/WebView.cpp
 U    WebKit/haiku/API/WebView.h
 svn: Can't open file
 'WebKitTools/DumpRenderTree/unix/TestNetscapePlugin/.svn/tm
 p/entries': Not a directory
 }}}

 Output from ls -l -i on .svn above (now says tmp is not a directory also):
 {{{
 5250077 -r--r--r-- 1 user root  392 Apr  5 21:55 entries
 5250067 srwxr-xr-x 1 user root 2070 Apr  5 21:55 prop-base
 5250070 srwxr-xr-x 1 user root 2397 Apr  5 21:55 props
       ? ?????????? ? ?    ?       ?            ? text-base
 5250073 ?r--r--r-- 1 user root    0 Apr  5 21:55 tmp
 }}}

 Also, ignoring SVN errors (it had updated the two files needed anyways),
 when I ran jam, gcc failed because cc1plus couldn't be found. Running a
 Query, it found two copies of cc1plus, however their path info was now
 missing.

 Ran checkfs, I probably needed to add the -c switch, because it just
 kernel panic'd -- first time for this second attempt; previously panic'd
 during svn checkout, and again during linking, but that was on the smaller
 2GB USB drive, which had very little space left.

 I've uploaded two photos of the KDL, hopefully they're readable:
 [http://www.flickr.com/photos/jessic4h/4494157147/ Photo 1] and
 [http://www.flickr.com/photos/jessic4h/4494159113/ Photo 2].

 Syslog to come :)

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/3150#comment:20>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: