Kernel Panic (ASSERT FAILED) when copying a large file onto USB disk-on-key
|Reported by:||hitech||Owned by:||mmlr|
|Keywords:||usb, fat, disk, copy||Cc:||ahitech@…|
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:
- Get the current Haiku code from the repository :)
- Zip it using Zip-o-Matic.
- You'll receive a file with size of approximately 236 MB.
- Stick in the USB disk-on-key and allow the Haiku to discover it.
- Mount it in read-write mode (since you want to copy the file on it).
- Start copying the file. I copied to the root folder of the disk.
- 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.