Subject: RE: 160GB IDE Drives under NetBSD?
To: None <kay@kaynet.or.jp>
From: Bruce Martin <brucem@cat.co.za>
List: netbsd-help
Date: 03/12/2002 15:59:07
Okay, after the suggestions I managed to label and newfs the disk - great!
Next problem: when I seem to do disk info queries like ioctl(DIOCGDINFO) - I
seem to get back incorrect information - is this still using the smaller
boundaries than 128GB?
Thanks
Bruce
-----Original Message-----
From: Bruce Martin [mailto:brucem@cat.co.za]
Sent: Tuesday, March 12, 2002 11:16 AM
To: kay@kaynet.or.jp
Cc: i386
Subject: RE: 160GB IDE Drives under NetBSD?
Hi there,
Thanks for this patch - I applied it manually to NetBSD 1.5.1, and now when
I boot up, the disk shows as 152GB - it is also a Maxtor 4G160J8. I then
labelled the disk as follows (showing relevant info only):
cylinders: 317632
total sectors: 320173056
c: 320172993 63 unused 0 0
d: 320173056 0 unused 0 0
f: 32017306 63 4.2BSD 1024 8192 16
g: 288155687 32017369 4.2BSD 1024 8192 16
I can write this label fine, and a 'newfs /dev/rwd1f' works. However, when I
do a 'newfs /dev/rwd1g' I get:
With 17867 cylinder groups 35 cylinder group summary area are needed.
Only 31 are available, reduce the number of cylinder groups
Do you know why this doesn't work?
Thanks
Bruce
-----Original Message-----
From: port-i386-owner@netbsd.org [mailto:port-i386-owner@netbsd.org]On
Behalf Of kay@kaynet.or.jp
Sent: Sunday, January 13, 2002 6:25 PM
To: Frank van der Linden
Cc: Bruce Martin; i386
Subject: Re: 160GB IDE Drives under NetBSD?
Hi.
In article <20011220211724.A22414@vaasje.org>, Frank van der Linden
<fvdl@wasabisystems.com> writes:
>>We are looking at using some Maxtor 160GB IDE drives under NetBSD
>>1.5.1, and realise there is a change when drives get bigger than
>>137GB:
>>Does NetBSD cover the above specification? If so, from what version
>>of NetBSD?
Frank>Not yet, the code doesn't issue the 48 bit read/write commands
Frank>yet. It looks like it's pretty easy to add, but noone's done it
Frank>yet.
I wrote Big Drive support for wd driver. But this patch can handle
only 32bit of block address. 2TB barrier still exists.
pciide0 at pci0 dev 2 function 5: Silicon Integrated System 5597/5598 IDE
controller (rev. 0xd0)
pciide0: bus-master DMA support present
pciide0: primary channel wired to compatibility mode
wd1 at pciide0 channel 0 drive 1: <Maxtor 4G160J8>
wd1: drive supports 16-sector PIO transfers, LBA48 addressing
wd1: 152 GB, 16383 cyl, 16 head, 63 sec, 512 bytes/sect x 320173056 sectors
wd1: 32-bit data port
wd1: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6
pciide0: primary channel interrupting at irq 14
wd1(pciide0:0:1): using PIO mode 4, Ultra-DMA mode 5 (Ultra/100) (using DMA
data transfers)
kay@layna[90] df /mnt
Filesystem 1K-blocks Used Avail Capacity Mounted on
/dev/wd1c 157590352 26050454 123660380 17% /mnt