View previous topic :: View next topic |
Author |
Message |
mase83 n00b
Joined: 15 Jul 2004 Posts: 4
|
Posted: Thu Jul 15, 2004 6:30 pm Post subject: "File system error" in Creative Muvo TX 256MB |
|
|
Hi all,
I bought today a Creative Muvo TX 256MB mp3-player, which should work in Linux as a USB mass storage device. First I mounted the player and tried to copy one .mp3 file to it, with no success; my computer just hanged for a while.
Then, after browsing of several forums for suggestions, I ran 'mkfs.vfat /dev/sda1'. After that & mount, I managed to copy files to player, and also unmount succeeded. But when I tried to use player, it just said "File system error". When I mounted player again, files were still there; in other words, linux sees them and the player don't.
Manual says, that one should format the player in this kind of situation (using the Format command of My Computer in Windows). But doesn't mkfs.vfat do the same thing? As far as I know, it formatted player's USB disk using FAT16 (which is the filesystem supported by player, says manual).
Anyone got similar experiences? Is there anything to be done? (no, I don't have Windows) |
|
Back to top |
|
|
tomchuk Guru
Joined: 23 Mar 2003 Posts: 317 Location: Brooklyn, NY
|
Posted: Fri Jul 16, 2004 4:32 am Post subject: |
|
|
Welcome to Gentoo!
Here are the stats on my 256MB Muvo nx that may help you when running mkfs.dosfs:
Code: |
dosfsck 2.10 (22 Sep 2003)
dosfsck 2.10, 22 Sep 2003, FAT32, LFN
Checking we can access the last sector of the filesystem
Boot sector contents:
System ID ""
Media byte 0xf8 (hard disk)
512 bytes per logical sector
4096 bytes per cluster
1 reserved sector
First FAT starts at byte 512 (sector 1)
2 FATs, 16 bit entries
126976 bytes per FAT (= 248 sectors)
Root directory starts at byte 254464 (sector 497)
512 root directory entries
Data area starts at byte 270848 (sector 529)
63408 data clusters (259719168 bytes)
60 sectors/track, 184 heads
47 hidden sectors
507793 sectors total
|
A quick browse of man 8 mkdosfs should lead you to the corect formatting options:
Code: |
mkfs.dosfs -f 2 -F 16 -r 512 -R 1 -s 4 -S 512 /dev/sda1
|
Make sure that cfdisk reports:
Code: |
Disk Drive: /dev/sda
Size: 260014080 bytes, 260 MB
Heads: 184 Sectors per Track: 60 Cylinders: 46
Name Flags Part Type FS Type [Label] Size (MB)
--------------------------------------------------------------------------------
sda1 Boot, NC Primary FAT16 260.02
|
If that doesn't do it, let me know and I'll tar up a disk image and send it to you and you can write it to your muvo with dd. |
|
Back to top |
|
|
mase83 n00b
Joined: 15 Jul 2004 Posts: 4
|
Posted: Fri Jul 16, 2004 10:11 am Post subject: |
|
|
Thanks for your answer!
tomchuk wrote: |
Code: |
mkfs.dosfs -f 2 -F 16 -r 512 -R 1 -s 4 -S 512 /dev/sda1
|
|
You propably meant mkfs.vfat, not mkfs.dosfs (because I don't have such file)? Anyway, I ran mkfs.vfat using the parameters you gave, but it didn't like about the -s (sectors-per-cluster) setting. And when I examined your dosfsck output, I think I know why: If there are 512 bytes per sector and 4096 bytes per cluster, wouldn't that make 4096 / 512 = 8 sectors per cluster?
Well, I then changed -s 4 to -s 8 and it worked. But, the "File system error" when using the player stayed. Below is my dosfsck output. I just wonder, what is that "System ID"? Could it be problem, and if it is, how could I reset it?
Code: |
dosfsck 2.10 (22 Sep 2003)
dosfsck 2.10, 22 Sep 2003, FAT32, LFN
Checking we can access the last sector of the filesystem
Boot sector contents:
System ID "mkdosfs"
Media byte 0xf8 (hard disk)
512 bytes per logical sector
4096 bytes per cluster
1 reserved sector
First FAT starts at byte 512 (sector 1)
2 FATs, 16 bit entries
124928 bytes per FAT (= 244 sectors)
Root directory starts at byte 250368 (sector 489)
512 root directory entries
Data area starts at byte 266752 (sector 521)
62423 data clusters (255684608 bytes)
32 sectors/track, 64 heads
0 hidden sectors
499912 sectors total
Checking for unused clusters.
/dev/sda1: 0 files, 0/62423 clusters
|
tomchuk wrote: |
Make sure that cfdisk reports:
...
|
My cfdisk output looked quite similar, although the size wasn't exactly same.
tomchuk wrote: | If that doesn't do it, let me know and I'll tar up a disk image and send it to you and you can write it to your muvo with dd. |
I would appreciate it, because this still ain't working I just wonder, if your filesystem is compatible with mine, because you have MuVo NX, not TX... But I'm still willing to try it. |
|
Back to top |
|
|
tomchuk Guru
Joined: 23 Mar 2003 Posts: 317 Location: Brooklyn, NY
|
Posted: Fri Jul 16, 2004 1:03 pm Post subject: |
|
|
Sorry, I was using mkfs.msdos which is linked to mkdosfs just as mkfs.vfat is. Also, it should be -s 8 not -s 4, just a little bad math on my part. I think that you may be able to wipe the boot sector, and erase the System ID by issueing the command:
Code: |
dd if=/dev/zero of=/dev/sda bs=512 count=1
|
But then again, I'm the one that thought that 4094 / 512 = 4.
Anyways, here is a bziped image of my muvo NX, that you can restore to your player using:
Code: | bunzip2 muvo.img.bz2
dd if=muvo.img of=/dev/sda bs=512
|
Which should give your muvo the exact same filesystem as mine. If that doesn't work you'll have to find a friend with a Windows box and use the Creative utilities to update the firmware, which will also format the player. |
|
Back to top |
|
|
mase83 n00b
Joined: 15 Jul 2004 Posts: 4
|
Posted: Fri Jul 16, 2004 7:45 pm Post subject: |
|
|
tomchuk wrote: | ... you'll have to find a friend with a Windows box and use the Creative utilities to update the firmware, which will also format the player. |
That's what I did and now the filesystem should be fine (the player regognises .mp3 file I copied from my friend's computer). When I plug the player to my linux box, everything seems to be fine and following lines appear to /var/log/messages:
Code: | Jul 16 22:17:10 gentoo hub.c: new USB device 00:10.1-1, assigned address 2
Jul 16 22:17:10 gentoo scsi0 : SCSI emulation for USB Mass Storage devices
Jul 16 22:17:10 gentoo Vendor: Creative Model: NOMAD MuVo TX Rev: 0100
Jul 16 22:17:10 gentoo Type: Direct-Access ANSI SCSI revision: 02
Jul 16 22:17:10 gentoo Attached scsi removable disk sda at scsi0, channel 0, id 0, lun 0
Jul 16 22:17:10 gentoo SCSI device sda: 499968 512-byte hdwr sectors (256 MB)
Jul 16 22:17:10 gentoo sda: Write Protect is off
Jul 16 22:17:10 gentoo /dev/scsi/host0/bus0/target0/lun0: p1
Jul 16 22:17:10 gentoo WARNING: USB Mass Storage data integrity not assured
Jul 16 22:17:10 gentoo USB Mass Storage device found at 2
|
But, when trying to mount, it hangs for a while and following lines appear to /var/log/messages:
Code: | Jul 16 22:17:28 gentoo spurious 8259A interrupt: IRQ7.
Jul 16 22:18:01 gentoo usb_control/bulk_msg: timeout
Jul 16 22:18:16 gentoo usb_control/bulk_msg: timeout
Jul 16 22:18:16 gentoo hub.c: USB device not accepting new address (error=-110)
Jul 16 22:18:21 gentoo usb-storage: host_reset() requested but not implemented
Jul 16 22:18:31 gentoo scsi: device set offline - command error recover failed: host 0 channel 0 id 0 lun 0
Jul 16 22:18:31 gentoo SCSI disk error : host 0 channel 0 id 0 lun 0 return code = 6050000
Jul 16 22:18:31 gentoo I/O error: dev 08:01, sector 496
(the line above is repeated many times, with sector numbers 496 to 527)
Jul 16 22:18:42 gentoo failed
Jul 16 22:18:42 gentoo I/O error: dev 08:01, sector 501
Jul 16 22:18:42 gentoo Directory sread (sector 0x1f5) failed
(the two lines above are repeated many times, with sector numbers 501 to 527)
|
Below is my current 'dosfsck /dev/sda1' output:
Code: | dosfsck 2.10 (22 Sep 2003)
dosfsck 2.10, 22 Sep 2003, FAT32, LFN
Checking we can access the last sector of the filesystem
Boot sector contents:
System ID "MSDOS5.0"
Media byte 0xf8 (hard disk)
512 bytes per logical sector
4096 bytes per cluster
8 reserved sectors
First FAT starts at byte 4096 (sector 8)
2 FATs, 16 bit entries
124928 bytes per FAT (= 244 sectors)
Root directory starts at byte 253952 (sector 496)
512 root directory entries
Data area starts at byte 270336 (sector 528)
62423 data clusters (255684608 bytes)
63 sectors/track, 255 heads
55 hidden sectors
499913 sectors total
Checking for unused clusters.
/dev/sda1: 2 files, 3312/62423 clusters
|
Any suggestions? |
|
Back to top |
|
|
mase83 n00b
Joined: 15 Jul 2004 Posts: 4
|
Posted: Sat Jul 17, 2004 8:01 am Post subject: |
|
|
Got it working! All I needed to do was to disable "Assing IRQ for USB" option in BIOS.
Thanks for your help! |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|