View previous topic :: View next topic |
Author |
Message |
Pithlit l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/1267572538425de909443e2.jpg)
Joined: 27 Dec 2003 Posts: 887 Location: fuhen
|
Posted: Mon Mar 14, 2005 3:18 am Post subject: USB + FAT32? [SOLVED] |
|
|
I just wanna know how to get a portable MP3 player using a FAT32 formatted CF card usable in linux... Every time I try to mount it (mount -t vfat /dev/sda1 /home/mp3) I get: Code: | mount: wrong fs type, bad option, bad superblock on /dev/sda1, or too many mounted file systems | .
Last edited by Pithlit on Sat Apr 16, 2005 8:09 pm; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
donjuan l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/gallery/Zelda/Zelda_-_Link2.jpg)
Joined: 11 May 2004 Posts: 760 Location: At Uni
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Pithlit l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/1267572538425de909443e2.jpg)
Joined: 27 Dec 2003 Posts: 887 Location: fuhen
|
Posted: Mon Mar 14, 2005 5:05 am Post subject: |
|
|
Of course I do. I wouldn't be able to mount FAT32 HDDs otherwise. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
petlab Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/92804356641448d72845fb.jpg)
Joined: 03 May 2004 Posts: 290 Location: Armpit, Oregon
|
Posted: Mon Mar 14, 2005 2:36 pm Post subject: |
|
|
We have to ask these questions, since you didn't detail them all -
How about this one - can you mount anything else fat or fat32? That would help us troubleshoot. _________________ Get Serious - Get JAWA CZ |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Pithlit l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/1267572538425de909443e2.jpg)
Joined: 27 Dec 2003 Posts: 887 Location: fuhen
|
Posted: Mon Mar 14, 2005 4:57 pm Post subject: |
|
|
I'm aware of that petlap, and I do apreciate all help but I tend to give short answers without unnecesary chitchat (sorry if that sounds cold). On the other hand I do tend to give out as much detail as possible and getting no answers at all.
What did you mean by "anything else fat or fat32" ? I didn't try to make a fat32 CD yet... |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
petlab Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/92804356641448d72845fb.jpg)
Joined: 03 May 2004 Posts: 290 Location: Armpit, Oregon
|
Posted: Mon Mar 14, 2005 5:51 pm Post subject: |
|
|
Have you ever been able to mount any fat filesystem
Is that short enough for ya toughguy?
Your detail link doesn't work. _________________ Get Serious - Get JAWA CZ |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Pithlit l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/1267572538425de909443e2.jpg)
Joined: 27 Dec 2003 Posts: 887 Location: fuhen
|
Posted: Mon Mar 14, 2005 6:00 pm Post subject: |
|
|
Fixed details and Code: | Of course I do. I wouldn't be able to mount FAT32 HDDs otherwise. |
now (if I'm allowed to ask) could we not insult eachother? ![Rolling Eyes :roll:](images/smiles/icon_rolleyes.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
petlab Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/92804356641448d72845fb.jpg)
Joined: 03 May 2004 Posts: 290 Location: Armpit, Oregon
|
Posted: Mon Mar 14, 2005 6:07 pm Post subject: |
|
|
Sorry - it just seemed like you started it with "of course I do." donjuan was trying to help you, giving one of the more common reasons for your problem. At that point, you hadn't given us ANY details on what you had tried. Then you snapped at donjuan.
We can't guess what you have done to troubleshoot, and we shouldn't have to ASK for details. If you have already tried all the common solutions, let us know. Then we won't have to waste time with a bunch of things you already tried.
See what I mean? _________________ Get Serious - Get JAWA CZ |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
petlab Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/92804356641448d72845fb.jpg)
Joined: 03 May 2004 Posts: 290 Location: Armpit, Oregon
|
Posted: Mon Mar 14, 2005 6:12 pm Post subject: |
|
|
What about partitioning? I am guessing here, but don't you have to partition it first? Maybe repartitioning with cfdisk, then mkfs. _________________ Get Serious - Get JAWA CZ |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Pithlit l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/1267572538425de909443e2.jpg)
Joined: 27 Dec 2003 Posts: 887 Location: fuhen
|
Posted: Mon Mar 14, 2005 6:18 pm Post subject: |
|
|
I didn't see that as snapping... but anyway.
I didn't try partitioning actually... What bothers me is that it it works fine in windows. I formated the thing there, transfered the songs, etc... and it works. Whereas here I just cant mount it. It's already partitioned and formated and filled with data so that partitioning shouldn't be an issue. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
petlab Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/92804356641448d72845fb.jpg)
Joined: 03 May 2004 Posts: 290 Location: Armpit, Oregon
|
Posted: Mon Mar 14, 2005 6:21 pm Post subject: |
|
|
I agree, but you are still having problems. There might be a difference in the partition, which came from an incomplete or buggy partitioning program when the card was initially partitioned. _________________ Get Serious - Get JAWA CZ |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Pithlit l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/1267572538425de909443e2.jpg)
Joined: 27 Dec 2003 Posts: 887 Location: fuhen
|
Posted: Mon Mar 14, 2005 6:26 pm Post subject: |
|
|
hardly... but it might be worth a shot. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
petlab Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/92804356641448d72845fb.jpg)
Joined: 03 May 2004 Posts: 290 Location: Armpit, Oregon
|
Posted: Mon Mar 14, 2005 6:30 pm Post subject: |
|
|
You just come across as grumpy. I suppose no one else tells you this? Come on, we are having fun here. I want to help out with your problem. Mostly what you are doing is saying "no, it's not that," or "I doubt that's it.." I'm giving suggestions. I thought that's what you would want.
When you are willing to actually do some work to try fixing the problem, let me know. _________________ Get Serious - Get JAWA CZ |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Pithlit l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/1267572538425de909443e2.jpg)
Joined: 27 Dec 2003 Posts: 887 Location: fuhen
|
Posted: Mon Mar 14, 2005 6:42 pm Post subject: |
|
|
Well, since you seem to be having fun (and since it's pretty much the only thing I haven't tried yet - from the suggested ones)...
Code: | hardly... but it might be worth a shot. | This means "I'll try that but I have my doubts about it." I'll let you know if it works or not. Like I said... it might be worth it. ![Razz :P](images/smiles/icon_razz.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
petlab Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/92804356641448d72845fb.jpg)
Joined: 03 May 2004 Posts: 290 Location: Armpit, Oregon
|
Posted: Mon Mar 14, 2005 6:51 pm Post subject: |
|
|
Okay, sorry to be so hard, sometimes less is really less (as far as being short in your posts)
I actually have had a problem like this once, and I thought it really odd myself. On the other hand, I expect it when trying to send graphics files from one program to another. I can fix it by opening the file in a third program, then resaving it. The base format is not always implemented the same between programs.
FAT should be the same no matter where it is created. And so should the partition. But, so should graphics files, and they aren't. Hope you get it going. ![Very Happy :D](images/smiles/icon_biggrin.gif) _________________ Get Serious - Get JAWA CZ |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Pithlit l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/1267572538425de909443e2.jpg)
Joined: 27 Dec 2003 Posts: 887 Location: fuhen
|
Posted: Mon Mar 14, 2005 6:59 pm Post subject: |
|
|
Yeah me too... otherwise I'll need to get me a win box just for this ![Twisted Evil :twisted:](images/smiles/icon_twisted.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
sotha_sil Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/1068578013428e618752a00.png)
Joined: 08 Mar 2005 Posts: 84
|
Posted: Mon Mar 14, 2005 7:07 pm Post subject: Re: USB + FAT32? |
|
|
Pithlit wrote: | I just wanna know how to get a portable MP3 player using a FAT32 formatted CF card usable in linux... Every time I try to mount it (mount -t vfat /dev/sda1 /home/mp3) I get: Code: | mount: wrong fs type, bad option, bad superblock on /dev/sda1, or too many mounted file systems | . |
I get that exact same error message ever since attempting the 2.6 kernel upgrade. When I boot in 2.4, I can mount a fat32 drive fine, in 2.6, I can't. I suspect fat32 support is no longer an option for the 2.6 kernel. When I perform a "make menuconfig" I see no fat32 file systems, just vfat (windows 95 (pre fat32)) and fat (DOS).
At any rate, I hate having to reboot into 2.4 just to mount my windows partitions so I hope someone can actually post a solution to this problem here. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Pithlit l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/1267572538425de909443e2.jpg)
Joined: 27 Dec 2003 Posts: 887 Location: fuhen
|
Posted: Mon Mar 14, 2005 7:34 pm Post subject: |
|
|
Code: | #
# DOS/FAT/NT Filesystems
#
CONFIG_FAT_FS=y
CONFIG_MSDOS_FS=y
CONFIG_VFAT_FS=y
CONFIG_FAT_DEFAULT_CODEPAGE=437
CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-2"
CONFIG_NTFS_FS=y
# CONFIG_NTFS_DEBUG is not set
# CONFIG_NTFS_RW is not set
|
That's from 2.6.10-gentoo-r4. And this reminds me... should some of these options (also the options found in USB support) be compiled as modules? IIRC I compiled everything in. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
petlab Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/92804356641448d72845fb.jpg)
Joined: 03 May 2004 Posts: 290 Location: Armpit, Oregon
|
Posted: Mon Mar 14, 2005 7:41 pm Post subject: |
|
|
Yeah, there you go. It can support vat. , and you DO have the msdos as well as the fat and vfat. Those are all needed.
Theoretically, you can either compile in, OR use as modules. Of course, as modules you need to make sure they are not just made, but also installed, (make modules modules_install) _________________ Get Serious - Get JAWA CZ |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
donjuan l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/gallery/Zelda/Zelda_-_Link2.jpg)
Joined: 11 May 2004 Posts: 760 Location: At Uni
|
Posted: Mon Mar 14, 2005 8:55 pm Post subject: |
|
|
I did find the response to my initial post rather cold, but I basically ignored that. The reason why I didn't respond anymore was really because I couldn't think of anything else that could be the problem, but now I can since you guys started talking about more kernel stuff. Do you have USB mass storage support compiled in? (Device Drivers --> USB Support --> USB Mass Storage Support)
Also, the handbook mentions the usbfs. I did a little research about it and it's similar to the /proc file system. Is it necessary to mount USB flash drives? If so, you should probably make sure you have the following line in your /etc/fstab: Code: | none /proc/bus/usb usbfs defaults 0 0 |
_________________ Command-line ACCEPT_KEYWORDS is considered harmful, use the package.* files.
The Stage 1 on 3 Install |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Pithlit l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/1267572538425de909443e2.jpg)
Joined: 27 Dec 2003 Posts: 887 Location: fuhen
|
Posted: Mon Mar 14, 2005 9:45 pm Post subject: |
|
|
I basically just followed this (only with a 2.6 kernel). I wouldn't know anything about usbfs tho. I'll try tomorrow. Thanks for the help so far. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Pithlit l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/1267572538425de909443e2.jpg)
Joined: 27 Dec 2003 Posts: 887 Location: fuhen
|
Posted: Tue Mar 15, 2005 1:44 am Post subject: |
|
|
Let's start from the beginning... Hi, I'm Pithlit /joke
# dmesg Code: | scsi0 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 2
usb-storage: waiting for device to settle before scanning
Vendor: FL Model: Nex IIe Digital Rev: 0001
Type: Direct-Access ANSI SCSI revision: 00
SCSI device sda: 2684354560 512-byte hdwr sectors (274878 MB)
sda: assuming Write Enabled
sda: assuming drive cache: write through
Device not ready. Make sure there is a disc in the drive.
SCSI device sda: 2684354560 512-byte hdwr sectors (274878 MB)
sda: assuming Write Enabled
sda: assuming drive cache: write through
/dev/scsi/host0/bus0/target0/lun0: p1
Device not ready. Make sure there is a disc in the drive.
Attached scsi removable disk sda at scsi0, channel 0, id 0, lun 0
Attached scsi generic sg0 at scsi0, channel 0, id 0, lun 0, type 0
usb-storage: device scan complete |
So that works fine (at least as far as I can tell)
I tried partitioning with # cfdisk /dev/sda1 Code: | Wrote partition table, but re-read table failed. Reboot to update table.
Toggle bootable flag of the current partition | and it didn't go very well.
# mkfs.vfat -F 32 /dev/sda1 went smoothly... I now have a nice empty CF card
# fsck.msdos /dev/sda1 Code: | dosfsck 2.10, 22 Sep 2003, FAT32, LFN
There are differences between boot sector and its backup.
Differences: (offset:original/backup)
447:01/00, 448:01/00, 450:06/00, 451:0e/00, 452:b0/00, 453:b4/00, 454:30/00
, 458:e0/00, 459:9c/00, 460:07/00
1) Copy original to backup
2) Copy backup to original
3) No action
? 1
Leaving file system unchanged.
/dev/sda1: 0 files, 1/491912 clusters |
Yupee!! Something went wrong again (chosing 1, 2 or 3 always leads to "Leaving file system unchanged.")
That /proc/bus/usb didn't change a thing either. I guess I'm stuck with the idea of a win box...
P.S. I'm not trying to be cold or snappy or anything... I'm just so desperate I'd bite a piece of the keyboard off if I knew it'd help. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
donjuan l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/gallery/Zelda/Zelda_-_Link2.jpg)
Joined: 11 May 2004 Posts: 760 Location: At Uni
|
Posted: Tue Mar 15, 2005 3:44 am Post subject: |
|
|
Pithlit wrote: | Device not ready. Make sure there is a disc in the drive. | It's having trouble communicating (we already knew that), so that part didn't go fine. Another suggestion I've found is to try building SCSI Generic Support into the kernel, which doesn't look like it should be necessary, but who knows. The last thing I've found is to try a more recent kernel. If neither of those works it's looking like your device just isn't supported =/. _________________ Command-line ACCEPT_KEYWORDS is considered harmful, use the package.* files.
The Stage 1 on 3 Install |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Pithlit l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/1267572538425de909443e2.jpg)
Joined: 27 Dec 2003 Posts: 887 Location: fuhen
|
Posted: Tue Mar 15, 2005 3:57 am Post subject: |
|
|
Hmm... I can format it with ext2, ext3 and reiser (I haven't tried others) and mount it just fine. That makes me think the device itself is fine and supported. And I have generic scsi support (cos of a firewire cd-rw). Anyone knows if I can use gtkam (or just gphoto) to transfer files onto a camera? Cos that would save my ass at least till I figure out another way...
edit: ...a 2.6.11-gentoo-r3 kernel |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
nightfrost Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 07 Dec 2004 Posts: 293 Location: Sweden
|
Posted: Mon Apr 11, 2005 8:43 pm Post subject: |
|
|
First off: this is one of the funniest threads I've ever read on these forums! Secondly, check out "File Systems > DOS/FAT/NT Filesystems" and "File Systems > Native Language Support". I used to have problems mounting fat32 until I changed the default codepage from 437 (USA) to 850 (Europe), and iso8859-1 to iso8859-15. You might also want to enable utf-8 if that's not enabled. However, I never quite understood exactly why that helped. Anyway, good luck on ya... |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|