[haiku-bugs] [Haiku] #5177: Kernel Panic (ASSERT FAILED) when copying a large file onto USB disk-on-key

  • From: "hitech" <trac@xxxxxxxxxxxx>
  • Date: Mon, 28 Dec 2009 22:31:47 -0000

#5177: Kernel Panic (ASSERT FAILED) when copying a large file onto USB 
disk-on-key
----------------------------------+-----------------------------------------
 Reporter:  hitech                |       Owner:  mmlr     
     Type:  bug                   |      Status:  new      
 Priority:  normal                |   Milestone:  R1       
Component:  Drivers/USB           |     Version:  R1/alpha1
 Keywords:  usb, fat, disk, copy  |   Blockedby:           
 Platform:  x86                   |    Blocking:           
----------------------------------+-----------------------------------------
 Reproduced on two different USB sticks, therefore seems to be a real bug,
 and not just a temporary flaw.

 Working on Haiku revision 33109 (R1/alpha1) in VMWare Player 6.5 under
 Windows XP. USB sticks are: Kingston 4GB, SanDisk Cruiser Micro 2GB, both
 are formatted in FAT.

 The problem is as follows:

 1. Get the current Haiku code from the repository :)[[BR]]
 2. Zip it using Zip-o-Matic.[[BR]]
 3. You'll receive a file with size of approximately 236 MB.[[BR]]
 4. Stick in the USB disk-on-key and allow the Haiku to discover it.[[BR]]
 5. Mount it in read-write mode (since you want to copy the file on
 it).[[BR]]
 6. Start copying the file. I copied to the root folder of the disk.[[BR]]
 7. Earlier or later, a KDL screen jumps in. It happens at about 186 MB
 copied.

 Smaller files are copied without any problem.

 I tried to workaround the problem using
 {{{
 dd if=haiku.zip of=/usb_stick/haiku.zip ifb=8192 ofb=8192
 }}}
 - but it took A LOT of time and resulted in the same error.

 Syslog complains about SCSI driver (see attached syslog.png file).

 Some additional info is attached also.

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

Other related posts: