*BSD News Article 80540


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!news.wildstar.net!serv.hinet.net!news.cc.nctu.edu.tw!spring.edu.tw!howland.erols.net!www.nntp.primenet.com!nntp.primenet.com!news1.best.com!nntp1.best.com!usenet
From: sstorkel@devious.com (Scott Storkel)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: mounting a DOS partition
Date: Sat, 12 Oct 1996 02:07:29 -0700
Organization: Devious Software & Consulting
Lines: 40
Message-ID: <MPG.cc8ffadc4469f71989680@nntp.best.com>
References: <325EBDA0.41C67EA6@cisco.com>
Reply-To: sstorkel@devious.com
NNTP-Posting-Host: sstorkel.vip.best.com
X-Newsreader: MicroPlanet Gravity v1.01 (30 Day Trial)

In article <325EBDA0.41C67EA6@cisco.com>, ktomkins@cisco.com says...
> I just set up a pentium system with 2.1.5. It has two 2 gig IDE hard
> drives in it. The first has Windoze 95 on it and the second one has
> FreeBSD.
> I mounted the DOS drive to copy some files to it. Then I unmounted and
> logged out so that I could log back in as root and reboot the system.
> When
> I logged out, ld.so started complaining. The system was so hosed, that I
> had to hit the reset to reboot. When it tried to come back up, the file
> system was so screwed, that fsck could not correct it. I even tried
> booting to
> single user mode and running it manually. No luck, my BSD drive was
> trashed !!

I saw similar, if more devious, problems under 2.1R. Soon after mounting
any VFAT partitions under 2.1, I'd notice the system starting to have
problems. I eventually discovered that mounting the VFAT partitions was
hosing the FreeBSD filesystem and the fsck that ran at boot time wasn't
noticing! The more I mounted FAT or VFAT filesystems, the more damaged
the system became. Luckily, the VFAT filesystem always came through
the incident without a scratch. BTW, I have a similar hardware 
configuration: 2 Seagate 2GB drives on the primary IDE controller
(Win95 on the master, FreeBSD+NT on the slave), CD-ROM and Syquest
on the secondary controller.

I didn't spend much time looking into the problem, but I gave up on
using the FreeBSD FAT support. I ended up re-installing FreeBSD a
couple of times because the system had been trashed so badly!

I'd be interested to hear if anyone who knows the code has any theories
about the problem. Of course, a full-blown solution would be even
better!



							-- Scott