From owner-freebsd-bugs Wed Oct 30 10:30:06 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id KAA19003 for bugs-outgoing; Wed, 30 Oct 1996 10:30:06 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id KAA18988; Wed, 30 Oct 1996 10:30:02 -0800 (PST) Resent-Date: Wed, 30 Oct 1996 10:30:02 -0800 (PST) Resent-Message-Id: <199610301830.KAA18988@freefall.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@freefall.FreeBSD.org, peterh@freewilly.dev.prognet.com Received: from freewilly.dev.prognet.com (cowzilla.prognet.com [204.71.154.78]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id KAA18809 for ; Wed, 30 Oct 1996 10:27:38 -0800 (PST) Received: (from peterh@localhost) by freewilly.dev.prognet.com (8.7.6/8.7.3) id KAA09185; Wed, 30 Oct 1996 10:27:18 GMT Message-Id: <199610301027.KAA09185@freewilly.dev.prognet.com> Date: Wed, 30 Oct 1996 10:27:18 GMT From: Peter Haight Reply-To: peterh@freewilly.dev.prognet.com To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: misc/1928: fdisk incorrectly detects driver geometry Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >Number: 1928 >Category: misc >Synopsis: fdisk incorrectly detects driver geometry >Confidential: no >Severity: serious >Priority: low >Responsible: freebsd-bugs >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Oct 30 10:30:01 PST 1996 >Last-Modified: >Originator: Peter Haight >Organization: Progressive Networks >Release: FreeBSD 2.2-961014-SNAP i386 >Environment: FreeBSD 2.2-961014-SNAP #0: Tue Oct 15 01:27:25 1996 jkh@time.cdrom.com:/usr/src/sys/compile/GENERIC Calibrating clock(s) relative to mc146818A clock... i586 clock: 119749805 Hz, i8254 clock: 1193160 Hz CPU: Pentium (119.75-MHz 586-class CPU) Origin = "GenuineIntel" Id = 0x525 Stepping=5 Features=0x1bf real memory = 50331648 (49152K bytes) avail memory = 46469120 (45380K bytes) Probing for devices on PCI bus 0: chip0 rev 1 on pci0:0 chip1 rev 2 on pci0:7:0 chip2 rev 2 on pci0:7:1 ahc0 rev 0 int a irq 9 on pci0:13 ahc0: aic7880 Single Channel, SCSI Id=7, 16 SCBs ahc0 waiting for scsi devices to settle (ahc0:6:0): "CONNER CFP1080S 4649" type 0 fixed SCSI 2 sd0(ahc0:6:0): Direct-Access 1030MB (2110812 512 byte sectors) vga0 rev 0 int a irq 11 on pci0:14 Probing for devices on the ISA bus: ... wdc0 at 0x1f0-0x1f7 irq 14 on isa wdc0: unit 0 (wd0): wd0: 2015MB (4127760 sectors), 4095 cyls, 16 heads, 63 S/T, 512 B/S wdc1 at 0x170-0x177 irq 15 on isa wdc1: unit 1 (wd3): <ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ> wd3: 4095MB (4294967295 sectors), 4294967295 cyls, 4294967295 heads, 4294967295 S/T, 512 B/S wdc1: unit 0 (atapi): , removable, intr, iordis wcd0: 689Kb/sec, 256Kb cache, audio play, 256 volume levels, ejectable tray >Description: When installing and creating the partitions on the hard drive, fdisk detects the wrong hard drive geometry on the EIDE hard drives. This happened on the machine described above as well as on another machine with a different Western Digital hard drive. >How-To-Repeat: Startup the machine with a FreeBSD 2.2-961014-SNAP boot.flp. In the install menu, pick Custom. Pick Parition. Look at the "DISK Geometry". It won't match what was shown in the startup probing. Hit G. Type in the correct geometry. Hit A. Press Y. Notice that the drive geometry has been reset to the incorrect geometry (a different, but related bug). Hit G. Type in the correct geometry. Press Q. (Let me know if I can do any further experiments to help). >Fix: Enter the drive geometry manually. >Audit-Trail: >Unformatted: