Subject: bios disk geometry - problem or not?
To: None <netbsd-help@netbsd.org>
From: rudolf <netbsd@eq.cz>
List: netbsd-help
Date: 08/22/2005 15:30:35
Hi,

I have 2 disks of the same type.

On the first one I've installed NetBSD-3_BETA from home-made cd (using 
sysinst, iso was generated with the help of something like 'cd 
/usr/src/etc &&  make iso-image').

The problem is different 'BIOS disk geometry' as reported by fdisk - I 
suppose it's probably not NetBSD's problem, but could this make any harm 
if I'll use the disks in RAID 1 configuration (RAIDframe)?

Here are some relevant data:

###

[16:49:59 root@gordon:~/backup]# grep ^wd /var/run/dmesg.boot
wd0 at atabus0 drive 0: <ST3200826AS>
wd0: drive supports 16-sector PIO transfers, LBA48 addressing
wd0: 186 GB, 387621 cyl, 16 head, 63 sec, 512 bytes/sect x 390721968 sectors
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133)
wd1 at atabus0 drive 1: <ST3200826AS>
wd1: drive supports 16-sector PIO transfers, LBA48 addressing
wd1: 186 GB, 387621 cyl, 16 head, 63 sec, 512 bytes/sect x 390721968 sectors
wd1: 32-bit data port
wd1: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133)
wd0(piixide0:0:0): using PIO mode 4, Ultra-DMA mode 6 (Ultra/133) (using 
DMA)
wd1(piixide0:0:1): using PIO mode 4, Ultra-DMA mode 6 (Ultra/133) (using 
DMA)

[16:50:01 root@gordon:~/backup]# fdisk /dev/rwd1d
Disk: /dev/rwd1d
NetBSD disklabel disk geometry:
cylinders: 387621, heads: 16, sectors/track: 63 (1008 sectors/cylinder)
total sectors: 390721968

BIOS disk geometry:
cylinders: 1024, heads: 81, sectors/track: 63 (5103 sectors/cylinder)
total sectors: 390721968

Partition table:
0: NetBSD (sysid 169)
     start 63, size 390721905 (190782 MB, Cyls 0-76567/9/1), Active
1: <UNUSED>
2: <UNUSED>
3: <UNUSED>
Bootselector disabled.

[16:50:06 root@gordon:~/backup]# fdisk /dev/rwd0d
Disk: /dev/rwd0d
NetBSD disklabel disk geometry:
cylinders: 387621, heads: 16, sectors/track: 63 (1008 sectors/cylinder)
total sectors: 390721968

BIOS disk geometry:
cylinders: 1024, heads: 16, sectors/track: 63 (1008 sectors/cylinder)
total sectors: 390721968

Partition table:
0: NetBSD (sysid 169)
     start 63, size 390721905 (190782 MB, Cyls 0-387621), Active
1: <UNUSED>
2: <UNUSED>
3: <UNUSED>
Bootselector disabled.

###

Thanks,

r.