From owner-freebsd-sparc64@FreeBSD.ORG Mon Feb 28 16:30:19 2005 Return-Path: Delivered-To: freebsd-sparc64@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A233716A4CE for ; Mon, 28 Feb 2005 16:30:19 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6285C43D55 for ; Mon, 28 Feb 2005 16:30:19 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.1/8.13.1) with ESMTP id j1SGUJdc060145 for ; Mon, 28 Feb 2005 16:30:19 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.1/8.13.1/Submit) id j1SGUJFk060143; Mon, 28 Feb 2005 16:30:19 GMT (envelope-from gnats) Date: Mon, 28 Feb 2005 16:30:19 GMT Message-Id: <200502281630.j1SGUJFk060143@freefall.freebsd.org> To: freebsd-sparc64@FreeBSD.org From: Marius Strobl Subject: Re: sparc64/72962: [sysinstall] Sysinstall panics on sparc64 if /dev/cd0 present X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Marius Strobl List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Feb 2005 16:30:19 -0000 The following reply was made to PR sparc64/72962; it has been noted by GNATS. From: Marius Strobl To: Pyun YongHyeon , freebsd-gnats-submit@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