NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: kern/53833 (Booting sparc64 install ISO prints disklabel warnings)
The following reply was made to PR kern/53833; it has been noted by GNATS.
From: Martin Husemann <martin%duskware.de@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: jdolecek%NetBSD.org@localhost, Andreas Gustafsson <gson%gson.org@localhost>
Subject: Re: kern/53833 (Booting sparc64 install ISO prints disklabel
warnings)
Date: Tue, 8 Jan 2019 11:09:22 +0100
I tested on real hardware:
cd0 at scsibus0 target 6 lun 0: <TOSHIBA, XM-5401TASUN4XCD, 3485> cdrom removable
With yesterdays install CD image:
[ 29.0000144] WARNING: cd0: total sector size in disklabel (856320) != the size of cd0 (214080)
[ 29.1000124] WARNING: cd0: end of partition `a' exceeds the size of cd0 (214080)
[ 29.1900134] WARNING: cd0: end of partition `f' exceeds the size of cd0 (214080)
and nothing with todays. Disklabel looks like:
# /dev/rcd0c:
type: SCSI
disk: optical media
label:
flags: removable
bytes/sector: 512
sectors/track: 640
tracks/cylinder: 1
sectors/cylinder: 640
cylinders: 1338
total sectors: 856320
rpm: 300
interleave: 0
trackskew: 0
cylinderskew: 0
headswitch: 0 # microseconds
track-to-track seek: 0 # microseconds
drivedata: 0
8 partitions:
# size offset fstype [fsize bsize cpg/sgs]
a: 853760 0 ISO9660 0 # (Cyl. 0 - 1333)
f: 2560 853760 4.2BSD 1024 8192 16 # (Cyl. 1334 - 1337)
I also tested on qemu and the messages are gone:
# dmesg|fgrep cd0
[ 7.196135] cd0 at atapibus0 drive 0: <QEMU DVD-ROM, QM00003, 2.5+> cdrom removable
[ 7.215925] cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
[ 7.215925] cd0(cmdide0:1:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA)
[ 7.282799] root on cd0a dumps on cd0b
and disklabel says:
# /dev/rcd0:
type: ATAPI
disk: optical media
label:
flags: removable
bytes/sector: 512
sectors/track: 640
tracks/cylinder: 1
sectors/cylinder: 640
cylinders: 1338
total sectors: 856320
rpm: 300
interleave: 0
trackskew: 0
cylinderskew: 0
headswitch: 0 # microseconds
track-to-track seek: 0 # microseconds
drivedata: 0
8 partitions:
# size offset fstype [fsize bsize cpg/sgs]
a: 853760 0 ISO9660 0 # (Cyl. 0 - 1333)
f: 2560 853760 4.2BSD 1024 8192 16 # (Cyl. 1334 - 1337)
Martin
Home |
Main Index |
Thread Index |
Old Index