Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Oct 1998 12:29:19 -0400 (EDT)
From:      Alfred Perlstein <bright@hotjobs.com>
To:        Bruce Evans <bde@zeta.org.au>
Cc:        zach@gaffaneys.com, current@FreeBSD.ORG
Subject:   Re: bitten 3 times already.
Message-ID:  <Pine.BSF.4.05.9810121219010.13201-100000@porkfriedrice.ny.genx.net>
In-Reply-To: <199810121614.CAA12373@godzilla.zeta.org.au>

next in thread | previous in thread | raw e-mail | index | archive | help
> >Also:
> >wdc0 at 0x1f0-0x1f7 irq 14 flags 0x7fff7fff on isa
> >wdc0: unit 0 (wd0): <IBM-DHEA-38451>, 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.05.9810121219010.13201-100000>