Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Oct 1996 10:27:18 GMT
From:      Peter Haight <peterh@freewilly.dev.prognet.com>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   misc/1928: fdisk incorrectly detects driver geometry
Message-ID:  <199610301027.KAA09185@freewilly.dev.prognet.com>
Resent-Message-ID: <199610301830.KAA18988@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8>
real memory  = 50331648 (49152K bytes)
avail memory = 46469120 (45380K bytes)
Probing for devices on PCI bus 0:
chip0 <Intel 82437FX PCI cache memory controller> rev 1 on pci0:0
chip1 <Intel 82371FB PCI-ISA bridge> rev 2 on pci0:7:0
chip2 <Intel 82371FB IDE interface> rev 2 on pci0:7:1
ahc0 <Adaptec 2940 Ultra SCSI host adapter> 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 <VGA-compatible display device> 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): <ST32140A>
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): <CD-ROM CDR_S1G/2.15>, 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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199610301027.KAA09185>