Subject: kernel disklabel messages
To: None <tech-kern@netbsd.org>
From: Lennart Augustsson <augustss@cs.chalmers.se>
List: tech-kern
Date: 08/17/1998 21:58:35
Since a few days ago there are some messages at boot time prefixed by
disklabel:

I've got a few questions:

Here's what I get on one of my machines:

ncr0 at pci0 dev 12 function 0: ncr 53c810 fast10 scsi
ncr0: interrupting at irq 11
ncr0: minsync=25, maxsync=206, maxoffs=8, 16 dwords burst, normal dma fifo
ncr0: single-ended, open drain IRQ driver
ncr0: restart (scsi reset).
scsibus0 at ncr0: 8 targets
sd0 at scsibus0 targ 0 lun 0: <SEAGATE, ST15150N, 0020> SCSI2 0/direct fixed
sd0(ncr0:0:0): 10.0 MB/s (100 ns, offset 8)
sd0: 4095MB, 3712 cyl, 21 head, 107 sec, 512 bytes/sect x 8388315 sectors
cd0 at scsibus0 targ 2 lun 0: <PIONEER, CD-ROM DR-124X, 1.01> SCSI2 5/cdrom removable
...
wdc0 at isa0 port 0x1f0-0x1f7 irq 14
wd0 at wdc0 drive 0: <FUJITSU M1638TAU>
wd0: using 16-sector 16-bit pio transfers, lba mode
wd0: 2452MB, 5023680 sec, geom chs 4982/16/63, 512 bytes/sec
...
disklabel: BIOS sees chs 3712/21/107 as 520/256/63
disklabel: BIOS sees chs 4982/16/63 as 622/128/63
boot device: sd0
root on sd0a dumps on sd0b
disklabel: BIOS sees chs 3712/21/107 as 520/256/63
disklabel: BIOS sees chs 3712/21/107 as 520/256/63

QUESTION: Why does it show me the same information three times?

On another machine I get:

wdc0 at isa0 port 0x1f0-0x1f7 irq 14
wd0 at wdc0 drive 0: <IBM-DHEA-36480>
wd0: using 16-sector 16-bit pio transfers, lba mode
wd0 6150MB, 12496 cyl, 16 head, 63 sec, 512 bytes/sect x 12595968 sectors
wd1 at wdc0 drive 1: <QUANTUM FIREBALL SE8.4A>
wd1: using 16-sector 16-bit pio transfers, lba mode
wd1 8063MB, 16383 cyl, 16 head, 63 sec, 512 bytes/sect x 16514064 sectors
wdc1 at isa0 port 0x170-0x177 irq 15
atapibus1 at wdc1
cd0 at atapibus1 drive 0: <TOSHIBA CD-ROM XM-6202B, b\\221\\311\\373\\000, 1108>
 type 5 cdrom removable
...
disklabel: BIOS sees chs 12496/16/63 as 784/255/63
disklabel: Disk > 8G ... readjusting chs 16383/16/63 to 16383/16/63

QUESTION: Why does it claim to readjust something to the same value?

        -- Lennart