Opened 16 years ago

Last modified 15 years ago

#3690 closed bug

Copy file to a FAT USB flash drive causes KDL — at Version 10

Reported by: haiqu Owned by: axeld
Priority: critical Milestone: R1/alpha2
Component: File Systems/FAT Version: R1/Development
Keywords: Cc: beos.zealot@…, joe.prostko+haiku@…, Jens.Arm@…, lurohh@…, romain.haiku@…
Blocked By: Blocking: #4066
Platform: x86

Description (last modified by phoudoin)

Drag and drop a zipfile to my Toshiba 2Gb flash drive and the following crash message appears:

PANIC: ASSERT FAILED (src/add-ons/kernel/file_systems/fat/fat.c: 380) cluster != 0

I tried this with the flash drive formatted for both FAT and FAT32 and got the same results.

Change History (11)

comment:1 by haiqu, 16 years ago

Just tried to read a document from the same stick drive and that worked. I can also write to it now, but trying to delete a file still crashes the system. I didn't test whether I could read the file written from Haiku.

comment:2 by beos_zealot, 16 years ago

Cc: beos.zealot@… added

Same problem for me, too. Tested 2 USB flash drives (PQI 512MB and SanDisk Cruser 8Gb) formated both FAT and FAT32. Reading or copying from flash drives works correctly. If I mount them as read-write and try to write to them - copying dialog shows "Copying 1 of ...", progress bar grows by 1 file and stands in that position for few seconds - then drops to KDL.

Made photo of KDL with bt, will upload today...

by beos_zealot, 16 years ago

USB-flash-drive-FAT_KDL-on-write

comment:3 by beos_zealot, 16 years ago

ATTACHED promised photo...

UPDATE: checked usb flash drive content after KDL on other computer (win xp). shows 1 copied file (the first in copying queue), even shows size of the file, but when i try to open - complains that file corrupted and size of the file becomes 0 kb. Can't delete this file (tried from win xp) only formatting of usb flash drive helps.

in reply to:  2 comment:4 by phoudoin, 15 years ago

Exact same problem seen a few hours ago, under a fresh hrev31238.

comment:5 by jprostko, 15 years ago

Cc: joe.prostko+haiku@… added

comment:6 by mmlr, 15 years ago

Blocking: 4066 added

comment:7 by jahaiku, 15 years ago

Cc: Jens.Arm@… added

comment:8 by phoudoin, 15 years ago

Milestone: R1R1/alpha1
Priority: normalcritical

Moved to critical for R1 alpha. John Doe will try to save some data on his usb stick. Let's not ruin his Haiku first experiences with losing his data.

comment:9 by phoudoin, 15 years ago

Summary: Copy file to USB flash drive causes KDLCopy file to a FAT USB flash drive causes KDL

comment:10 by phoudoin, 15 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.