Opened 21 months ago

Last modified 21 months ago

#17864 new bug

filesystem tools: dd, mkfs spurious failures

Reported by: thebuck Owned by: nobody
Priority: normal Milestone: Unscheduled
Component: File Systems/FAT Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Platform: x86-64

Description

Tried to create a very small FAT partition file using dd and mkfs.

Got different errors from run to run:

~/Desktop> bash mf.sh
rm: cannot remove 'imgfile': No such file or directory
1+0 records in
1+0 records out
33554432 bytes (34 MB, 32 MiB) copied, 0,188762 s, 178 MB/s
Press Return to continue
DiskDeviceJobQueue::Execute(): executing job: N8BPrivate13InitializeJobE
Press Return to mount now
Press Return to start cleanup now
~/Desktop> 
~/Desktop> bash mf.sh
rm: cannot remove 'imgfile': No such file or directory
1+0 records in
1+0 records out
33554432 bytes (34 MB, 32 MiB) copied, 0,183239 s, 183 MB/s
Press Return to continue
DiskDeviceJobQueue::Execute(): executing job: N8BPrivate13InitializeJobE
DiskDeviceJobQueue::Execute(): executing job failed: Bad data
mkfs: Initialization of "Test" failed: Bad data
~/Desktop> bash mf.sh
rmdir: failed to remove 'imgdir': No such file or directory
1+0 records in
1+0 records out
33554432 bytes (34 MB, 32 MiB) copied, 0,18322 s, 183 MB/s
Press Return to continue
DiskDeviceJobQueue::Execute(): executing job: N8BPrivate13InitializeJobE
Press Return to mount now
Press Return to start cleanup now
~/Desktop> bash mf.sh
rm: cannot remove 'imgfile': No such file or directory
1+0 records in
1+0 records out
33554432 bytes (34 MB, 32 MiB) copied, 0,183171 s, 183 MB/s
Press Return to continue
DiskDeviceJobQueue::Execute(): executing job: N8BPrivate13InitializeJobE
Press Return to mount now
mount: General system error
~/Desktop> bash mf.sh
1+0 records in
1+0 records out
33554432 bytes (34 MB, 32 MiB) copied, 0,183335 s, 183 MB/s
Press Return to continue
DiskDeviceJobQueue::Execute(): executing job: N8BPrivate15UninitializeJobE
DiskDeviceJobQueue::Execute(): executing job: N8BPrivate13InitializeJobE
DiskDeviceJobQueue::Execute(): executing job failed: Bad data
mkfs: Initialization of "Test" failed: Bad data
~/Desktop> 

The No such file or directory messages are expected when the previous run failed.

Attachments (1)

mf.sh (894 bytes ) - added by thebuck 21 months ago.
The script used in the terminal session.

Download all attachments as: .zip

Change History (5)

by thebuck, 21 months ago

Attachment: mf.sh added

The script used in the terminal session.

comment:1 by korli, 21 months ago

which hrev?

comment:2 by thebuck, 21 months ago

This was hrev56334-x86_64 on QEMU: qemu-system-x86_64 -cdrom haiku-master-hrev56334-x86_64-anyboot.iso -m 2.0G -accel kvm,thread=multi -machine vmport=off -smp 4 -no-hpet -device nec-usb-xhci,id=u,bus=pci.0,addr=0x4 -device usb-tablet,bus=u.0 -nic user,domainname=.

I had these issues back then at hrev55788 as well.

comment:3 by korli, 21 months ago

Component: File SystemsFile Systems/FAT

comment:4 by korli, 21 months ago

Priority: highnormal
Note: See TracTickets for help on using tickets.