From owner-freebsd-current Mon Oct 12 09:28:14 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA19249 for freebsd-current-outgoing; Mon, 12 Oct 1998 09:28:14 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from porkfriedrice.ny.genx.net (porkfriedrice.ny.genx.net [206.64.4.30]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA19244 for ; Mon, 12 Oct 1998 09:28:11 -0700 (PDT) (envelope-from bright@hotjobs.com) Received: from localhost (bright@localhost) by porkfriedrice.ny.genx.net (8.9.1/8.9.1) with ESMTP id MAA13507; Mon, 12 Oct 1998 12:29:19 -0400 (EDT) (envelope-from bright@hotjobs.com) X-Authentication-Warning: porkfriedrice.ny.genx.net: bright owned process doing -bs Date: Mon, 12 Oct 1998 12:29:19 -0400 (EDT) From: Alfred Perlstein X-Sender: bright@porkfriedrice.ny.genx.net To: Bruce Evans cc: zach@gaffaneys.com, current@FreeBSD.ORG Subject: Re: bitten 3 times already. In-Reply-To: <199810121614.CAA12373@godzilla.zeta.org.au> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > >Also: > >wdc0 at 0x1f0-0x1f7 irq 14 flags 0x7fff7fff on isa > >wdc0: unit 0 (wd0): , LBA, DMA, multi-block-16, sleep-hack > >wd0: 8063MB (16514064 sectors), 17475 cyls, 15 heads, 63 S/T, 512 B/S > > > >i'm quite sure i have LBA translations going on, however i'm kinda certain > >that the disk driver isn't running amok because all my other partitions > >were fine (except /usr) > > > >thank you for taking the time to help me with this, go an idea of what's > >going on here? > > Dumps and LBA mode should't be mixed, since the dump routine doesn't > support LBA mode and it uses CHS mode with nominal geometry if LBA mode > is configured. Dumps only work if the nominal geometry is the same as > the actual one. Otherwise, dumps write sectors to the wrong places, > possibly outside the partition. > > I don't know how the geometry can be H=15/S=63. This looks like the > actual geometry, but the probe should report the nominal one which should > be H=255/S=63 for this size of drive. It's suprising that this size of > drive is made. It's only 31MB over the 1024*255*63 limit, and exceeding > this limit causes problems. > > Fix: don't use LBA mode. CHS mode should work up to size 65535*255*63 > sectors if it works at all. no, this is a fix: /usr/src % diff -u /usr/src/etc/rc.conf ~/rc.conf --- /usr/src/etc/rc.conf Thu Oct 8 17:20:48 1998 +++ /usr/home/bright/rc.conf Mon Oct 12 12:23:52 1998 @@ -158,6 +158,7 @@ lpd_flags="" # Flags to lpd (if enabled). sendmail_enable="YES" # Run the sendmail daemon (or NO). sendmail_flags="-bd -q30m" # -bd is pretty mandatory. +# don't enable dumping on IDE disks that are using LBA addressing! dumpdev="NO" # Device name to crashdump to (if enabled). check_quotas="NO" # Check quotas (or NO). accounting_enable="NO" # Turn on process accounting (or NO). -Alfred To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message