Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Jun 1995 19:37:35 +0200
From:      Stefan Petri <petri@ibr.cs.tu-bs.de>
To:        freebsd-scsi@freebsd.org
Subject:   strange scsi-disk-geomety on FreeBSD 2.0.5
Message-ID:  <199506261737.TAA04776@achill.ibr.cs.tu-bs.de>

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

My system is running ok, but:
with 2.0.5-RELEASE, I get strange drive geometries reported from the
scsi device mode page 4:

42 # scsi -f /dev/sd0 -v -m 4
Number of Cylinders:  3658 
                      ????
Number of Heads:  4 
                  ?
Starting Cylinder-Write Precompensation:  3658 
Starting Cylinder-Reduced Write Current:  3658 
Drive Step Rate:  0 
Landing Zone Cylinder:  0 
RPL:  0 
Rotational Offset:  0 
Medium Rotation Rate:  0 

The same numbers are reported when booting with verbose flag:

ncr0 <ncr 53c810 scsi> rev 1 int a irq 9 on pci0:1
	reg20: virtual=0xf2a58000 physical=0xfbfef000 size=0x100
ncr0: restart (scsi reset).
ncr0 scanning for targets 0..6 (V2 pl21 95/03/21)
(ncr0:1:0): "QUANTUM LIGHTNING 730S 241E" type 0 fixed SCSI 2
sd0(ncr0:1:0): Direct-Access 
sd0(ncr0:1:0): FAST SCSI-2 100ns (10 Mb/sec) offset 8.
699MB (1431760 512 byte sectors)
sd0(ncr0:1:0): with 3658 cyls, 4 heads, and an average 97 sectors/track
                    ????       ?                       ??

However, the 950412-SNAP as well as Linux tell me the correct values
(1020 Cyl, 23 heads, 61 sectors/track), so I presume the cause is not
in my hardware (Intel 486 DX/4 100MHz, ASUS SP3G with on-board NCR
810, Quantum Lightning 730S).

fdisk also reports this strange number cylinders, but gets the heads
and sectors right (probably from the disklabel, that also has the
correct geometry)

I have stared at the source diffs, but cannot find a hint to the
reason for this strange behaviour.

							Stefan



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