* dos-partition mount bug
@ 2001-01-28 20:49 Andreas Huppert
2001-01-28 20:56 ` mirabilos
0 siblings, 1 reply; 5+ messages in thread
From: Andreas Huppert @ 2001-01-28 20:49 UTC (permalink / raw)
To: linux-kernel
> Hi,
The following bug-report concerns all linux-versions (inclusive 2.2.18) I have
had to do with!
> I have been trying to mount the dos-partition /dev/hdb1 on /dos/d for
> three years and it fails:
> My /etc/fstab is:
> /dev/hda3 / ext2 defaults 0 1
> /dev/hdb2 /downloads ext2 defaults 0 1
> /proc /proc proc defaults 0 0
> /dev/cdrom /cdrom iso9660 ro,noauto,user,exec 0 0
> /dev/hda4 /usr ext2 defaults 0 2
> /dev/hda1 /dos/c vfat user,noexec,nosuid,nodev 0 2
> /dev/hda5 /dos/e vfat user,noexec,nosuid,nodev 0 2
> /dev/hdb1 /dos/d vfat user,noexec,nosuid,nodev 0 2
>
> and "mount /dos/d" sais:
> mount: wrong fs type, bad option, bad superblock on /dev/hdb1,
> or too many mounted file systems
>
> strace sais:
> mount("/dev/hdb1", "/dos/d", "vfat",
> MS_NOSUID|MS_NODEV|MS_NOEXEC|0xc0ed0000, 0x8056fc8) = -1 EINVAL (Invalid
> argument)
>
> I don´t need to say, that mounting /dos/c and /dos/e works without any
> problem. On the other hand win'98 works with all dos-partitions normally.
> Thanks
> Andreas Huppert
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: dos-partition mount bug
2001-01-28 20:49 Andreas Huppert
@ 2001-01-28 20:56 ` mirabilos
0 siblings, 0 replies; 5+ messages in thread
From: mirabilos @ 2001-01-28 20:56 UTC (permalink / raw)
To: Linux-Kernel ML, Andreas Huppert
I suggest type # fdisk -l /dev/hdb
Maybe it's FAT32 where the others are FAT16?
Try SCANDISK(tm)...
If you're familiar with FAT, you also could use DEBUG, the Norton
Utilities etc. to look for a failure in the filesystem. For FAT16 it's easy.
Bootsector, 2xFAT, root dir, data blocks
Send us a hexdump of the first block. (If it's FAT16)
PS: I'm going to bed now, so could be some time to respond
mirabilos
----- Original Message -----
From: "Andreas Huppert" <Andreas.Huppert@philosys.de>
To: <linux-kernel@vger.kernel.org>
Sent: Sunday, January 28, 2001 8:49 PM
Subject: dos-partition mount bug
> > Hi,
> The following bug-report concerns all linux-versions (inclusive 2.2.18) I have
> had to do with!
>
> > I have been trying to mount the dos-partition /dev/hdb1 on /dos/d for
> > three years and it fails:
> > My /etc/fstab is:
> > /dev/hda3 / ext2 defaults 0 1
> > /dev/hdb2 /downloads ext2 defaults 0 1
> > /proc /proc proc defaults 0 0
> > /dev/cdrom /cdrom iso9660 ro,noauto,user,exec 0 0
> > /dev/hda4 /usr ext2 defaults 0 2
> > /dev/hda1 /dos/c vfat user,noexec,nosuid,nodev 0 2
> > /dev/hda5 /dos/e vfat user,noexec,nosuid,nodev 0 2
> > /dev/hdb1 /dos/d vfat user,noexec,nosuid,nodev 0 2
> >
> > and "mount /dos/d" sais:
> > mount: wrong fs type, bad option, bad superblock on /dev/hdb1,
> > or too many mounted file systems
> >
> > strace sais:
> > mount("/dev/hdb1", "/dos/d", "vfat",
> > MS_NOSUID|MS_NODEV|MS_NOEXEC|0xc0ed0000, 0x8056fc8) = -1 EINVAL (Invalid
> > argument)
> >
> > I don´t need to say, that mounting /dos/c and /dos/e works without any
> > problem. On the other hand win'98 works with all dos-partitions normally.
> > Thanks
> > Andreas Huppert
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: dos-partition mount bug
[not found] <200101291827.TAA21302@mail.philosys.de>
@ 2001-01-29 18:54 ` mirabilos
0 siblings, 0 replies; 5+ messages in thread
From: mirabilos @ 2001-01-29 18:54 UTC (permalink / raw)
To: Linux-Kernel ML, Andreas Huppert
Andreas,
I've checked the bootsector (aka superblock) [i hate od...]
and found no problems. It even gives the right info about
start sector and length (same as fdisk).
Your filesystem seems to be intact, but I'd suggest running
sp^Hcandisk although. Maybe there are other things like a
corrupt FAT the driver complains about.
AFAIK it only ought to complain if the bootsector (BPB and
55AA magic) is corrupt. (Or did so in 2.0.33)
Sorry can't help, seems to be a fs-driver flaw.
-mirabilos
-----BEGIN GEEK CODE BLOCK-----
Version: 3.12+(proprietary extensions) # Updated:20010129 nick=mirabilos
GO/S d@ s--: a--- C++ UL++++ P--- L++$(-^lang) E----(joe) W+(++) loc=.de
N? o K? w-(+$) O+>+++ M-- V- PS+++@ PE(--) Y+ PGP t+ 5? X+ R+ !tv(silly)
b++++* DI- D+ G(>++) e(^age) h! r(-) y--(!y+) /* lang=NASM;GW-BASIC;C */
------END GEEK CODE BLOCK------
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: dos-partition mount bug
[not found] <200101292042.VAA22591@mail.philosys.de>
@ 2001-01-29 20:44 ` mirabilos
2001-01-29 22:13 ` Guest section DW
0 siblings, 1 reply; 5+ messages in thread
From: mirabilos @ 2001-01-29 20:44 UTC (permalink / raw)
To: Linux-Kernel ML, Andreas Huppert
AFAICS the fs isn't corrupt.
No further idea.
-mirabilos
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: dos-partition mount bug
2001-01-29 20:44 ` dos-partition mount bug mirabilos
@ 2001-01-29 22:13 ` Guest section DW
0 siblings, 0 replies; 5+ messages in thread
From: Guest section DW @ 2001-01-29 22:13 UTC (permalink / raw)
To: mirabilos, Linux-Kernel ML, Andreas Huppert
On Mon, Jan 29, 2001 at 08:44:56PM -0000, mirabilos wrote:
> AFAICS the fs isn't corrupt.
> No further idea.
surely, if you have a given fs image that fails to mount,
it is entirely straightforward to find why the kernel dislikes it
you may send an url (for the first few MB of the fs) to aeb@cwi.nl
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2001-01-29 22:14 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <200101292042.VAA22591@mail.philosys.de>
2001-01-29 20:44 ` dos-partition mount bug mirabilos
2001-01-29 22:13 ` Guest section DW
[not found] <200101291827.TAA21302@mail.philosys.de>
2001-01-29 18:54 ` mirabilos
2001-01-28 20:49 Andreas Huppert
2001-01-28 20:56 ` mirabilos
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox