sparc64/72962: [sysinstall] Sysinstall panics on sparc64 if /dev/cd0 present

Marius Strobl marius at alchemy.franken.de
Mon Feb 28 16:30:19 GMT 2005


The following reply was made to PR sparc64/72962; it has been noted by GNATS.

From: Marius Strobl <marius at alchemy.franken.de>
To: Pyun YongHyeon <yongari at kt-is.co.kr>,
	freebsd-gnats-submit at FreeBSD.org
Cc:  
Subject: Re: sparc64/72962: [sysinstall] Sysinstall panics on sparc64 if /dev/cd0 present
Date: Mon, 28 Feb 2005 17:23:22 +0100

 Pyun, the underlying cause of this problem is that SCSI CDROMs are
 enlisted in kern.disks, which is because cd(4) uses disk(9) since
 rev. 1.28 of scsi_cd.c, i.e. also pre-GEOM. Disk(9) is an API for
 disk-like storage devices, i.e. not necessarily limited to hard-
 disks. Therefore I think sysinstall(8) is actually the right place
 to deal with this, rather than geom(4) or libdisk(3), and your
 change in src/usr.sbin/sysinstall/devices.c rev. 1.159 is a fix
 rather than just a work-around. Maybe the comment could be
 improved somewhat but otherwise I think this PR can be closed.
 
 Marius
 


More information about the freebsd-sparc64 mailing list