From owner-freebsd-current Sat Oct 3 15:14:20 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA07821 for freebsd-current-outgoing; Sat, 3 Oct 1998 15:14:20 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from word.smith.net.au (castles246.castles.com [208.214.165.246]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA07802 for ; Sat, 3 Oct 1998 15:14:05 -0700 (PDT) (envelope-from mike@word.smith.net.au) Received: from word.smith.net.au (localhost [127.0.0.1]) by word.smith.net.au (8.9.1/8.8.8) with ESMTP id PAA08167; Sat, 3 Oct 1998 15:18:08 -0700 (PDT) (envelope-from mike@word.smith.net.au) Message-Id: <199810032218.PAA08167@word.smith.net.au> X-Mailer: exmh version 2.0.2 2/24/98 To: Brian Tao cc: FREEBSD-CURRENT Subject: Re: devstat_end_transaction: HELP!! busy_count is < 0! In-reply-to: Your message of "Sat, 03 Oct 1998 16:38:05 EDT." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 03 Oct 1998 15:18:08 -0700 From: Mike Smith Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > 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: > 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