128 GiB+ disks on Intel PIIX4

Svein Halvor Halvorsen svein-freebsd-questions at theloosingend.net
Mon Oct 18 04:05:08 PDT 2004


Is this at all possible? My BIOS don't seem to recognize my brand new 200 
GB disk, but that is nothing new. I can initialize a new slize, setup 
bsdlabel and do newfs on if without problems. How can I verify that the 
entire disk is usable without filling it all up (or past the 128 GiB 
barrier), and then reading everything back out?


[root at maren:~]$ dmesg | grep ata
atapci0: <Intel PIIX4 UDMA33 controller> port 0xf000-0xf00f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 7.1 on pci0
ata0: channel #0 on atapci0
ata1: channel #1 on atapci0
ad0: 6149MB <ST36531A/3.14> [13328/15/63] at ata0-master UDMA33
ad1: 190782MB <WDC WD2000JB-00GVA0/08.02D08> [387621/16/63] at ata0-slave UDMA33
acd0: DVDR <LITE-ON DVDRW SOHW-1633S/BS06> at ata1-slave UDMA33
cd0 at ata1 bus 0 target 1 lun 0

[root at maren:~]$ pciconf -lv | grep -A4 ata
atapci0 at pci0:7:1:       class=0x010180 card=0x00000000 chip=0x71118086 rev=0x01 hdr=0x00
     vendor   = 'Intel Corporation'
     device   = '82371AB/EB/MB PIIX4/4E/4M IDE Controller'
     class    = mass storage
     subclass = ATA

[root at maren:~]$ fdisk ad1
******* Working on device /dev/ad1 *******
parameters extracted from in-core disklabel are:
cylinders=387621 heads=16 sectors/track=63 (1008 blks/cyl)

Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=387621 heads=16 sectors/track=63 (1008 blks/cyl)

Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
     start 63, size 390721905 (190782 Meg), flag 80 (active)
         beg: cyl 0/ head 1/ sector 1;
         end: cyl 548/ head 15/ sector 63
The data for partition 2 is:
<UNUSED>
The data for partition 3 is:
<UNUSED>
The data for partition 4 is:
<UNUSED>

[root at maren:~]$ bsdlabel ad1s1
# /dev/ad1s1:
8 partitions:
#        size   offset    fstype   [fsize bsize bps/cpg]
   a: 390721905        0    4.2BSD     2048 16384 28552
   c: 390721905        0    unused        0     0         # "raw" part, don't edit


More information about the freebsd-questions mailing list