LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 10-16-2005, 12:13 PM   #1
shuuhen
Member
 
Registered: Jun 2004
Distribution: Mac OS X 10.6.6, Gentoo Linux, FreeBSD 6.0
Posts: 127

Rep: Reputation: 20
FAT16 and "bogus logical sector size 64543"


I've been trying to get my USB flash drive working with my Debian box. The system sees that a USB storage device was plugged in and SCSI emulation is working, but when I try to mount it gives me the "wrong fs type, bad option, bad superblock on /dev/sdc, missing codpage or other error" message. I checked the dmesg output and it says:

FAT: bogus logical sector size 64543
VFS: Can't find a valid FAT filesystem on dev 08:20.

parted says sdc and sdc1 are both x86 partion entries (I've tried mounting both). I know that my USB and SCSI emulation is working because I've been using my HFS+ formatted iPod through USB.

So far all I've found is some people needed to recompile their kernel with support for two things in partition types, but I checked my kernel config and I have both.

Any ideas?
 
Old 10-16-2005, 01:20 PM   #2
bruno buys
Senior Member
 
Registered: Sep 2003
Location: Rio
Distribution: Debian
Posts: 1,511

Rep: Reputation: 46
The problem seems to be a corrupted fat filesystem, not device support. Do you know for sure this player is working correctly? Do you have any important data on it? I'd back the player up and do a reformatting or fixing.
Did you try to use the dosfsck command to fix it?
 
Old 10-16-2005, 05:04 PM   #3
shuuhen
Member
 
Registered: Jun 2004
Distribution: Mac OS X 10.6.6, Gentoo Linux, FreeBSD 6.0
Posts: 127

Original Poster
Rep: Reputation: 20
I know that the flash drive works. I've used it on Mac OS 9, Mac OS X.2, Win2k and WinXP.

I'll try dosfsck and see if that works. All of the data on the drive is on at least one other storage device, so it's already backed up. I was just going to use it to transfer files from a computer that doesn't like my laptop's FTP server.
 
Old 10-17-2005, 05:11 AM   #4
bruno buys
Senior Member
 
Registered: Sep 2003
Location: Rio
Distribution: Debian
Posts: 1,511

Rep: Reputation: 46
I have one of these and I transfer files from my linux computer (home) to my win computer (work). I always stop and remove the device under win before unppluging it, to make sure the fs won't corrupt. Ppl told me there's no need, but I do it anyway. Do you?
Try 'dosfsck --help' to see what fixing options you have.
 
Old 10-21-2005, 04:22 PM   #5
shuuhen
Member
 
Registered: Jun 2004
Distribution: Mac OS X 10.6.6, Gentoo Linux, FreeBSD 6.0
Posts: 127

Original Poster
Rep: Reputation: 20
I usually do the safe eject on every operating system I use it with. There are a few cases where Windows tells me that I can't because of restrictions, or something similar happens and I have to just pull it. I know many people that never do the safe eject and I've never seen corruption on those drives.

When I run dosfsck I get a message saying "Currently, only 1 or 2 FATs are supported, not 191."

However, now parted is only showing one partition, which it says is fat16. It also has boot and lba flags.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Bogus logical sector Jeebizz Slackware 4 01-07-2005 05:57 PM
DMESG: FAT: bogus logical sector size 0 oldi Slackware 5 07-03-2004 05:33 AM
Unable to Mount," Bogus File System Found" nav_Lin Linux - Newbie 1 04-16-2004 09:27 PM
FAT: bogus logical sector size 0 dzt Linux - General 3 10-22-2003 08:10 PM
bogus logical sector 64543. mount help DigiCrime Linux - Hardware 4 12-20-2002 07:43 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 02:55 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration