Date: Sat, 03 Oct 1998 15:18:08 -0700 From: Mike Smith <mike@smith.net.au> To: Brian Tao <taob@risc.org> Cc: FREEBSD-CURRENT <freebsd-current@FreeBSD.ORG> Subject: Re: devstat_end_transaction: HELP!! busy_count is < 0! Message-ID: <199810032218.PAA08167@word.smith.net.au> In-Reply-To: Your message of "Sat, 03 Oct 1998 16:38:05 EDT." <Pine.GSO.3.96.981003162648.23916K-100000@tor-dev1.nbc.netcom.ca>
next in thread | previous in thread | raw e-mail | index | archive | help
> This message seems to be harmless enough, based on what I see (or > don't see) in /usr/src/sys/kern/subr_devstat.c:180, but I presume the > printf was put there as warning flag if ds->busy_count was decremented > below 0. From my best recollection, I was attempting to mount two > MS-DOS filesystems on wd0s1 and wd0s3 (wd0s2 is the FreeBSD > partition). Hmm. Looks like the 'wd' driver isn't doing the devstat counting right. Oops. You're not even doing any funny DMA things. > The mountmsdosfs() errors are from mounting wd0s3, which > it can't see to do (perhaps because the partition type != 6?). ... > Oct 3 10:26:40 cabal /kernel: mountmsdosfs(): bad bpb > Oct 3 10:28:25 cabal /kernel: mountmsdosfs(): bad bpb ... > # fdisk wd0 ... > The data for partition 3 is: > sysid 15,(Extended DOS, LBA) > start 10474380, size 7325640 (3576 Meg), flag 0 > beg: cyl 652/ sector 1/ head 0; > end: cyl 1023/ sector 63/ head 254 > The data for partition 4 is: > <UNUSED> wd0s3 is not an MSDOS partition, it's an extended partition. wd0s5 is the first partition inside wd0s3, you might want to try mounting that. -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199810032218.PAA08167>