Subject: port-amiga/14356: Amiga install routine doesn't install from 2nd CD-ROM drive
To: None <gnats-bugs@gnats.netbsd.org>
From: None <obw@amarok.ping.de>
List: netbsd-bugs
Date: 10/26/2001 01:09:23
>Number:         14356
>Category:       port-amiga
>Synopsis:       Amiga install routine doesn't install from 2nd CD-ROM drive
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    port-amiga-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Oct 25 16:13:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Oliver B. Warzecha
>Release:        NetBSD 1.5.2
>Organization:
Frobozz Magic Core Dump Company
>Environment:

System: NetBSD amarok 1.5.2 NetBSD 1.5.2 (GENERIC) #0: Sat Aug 18 20:43:49 MDT 2001 mhitch@amiga.msu.montana.edu:/work/src/sys/arch/amiga/compile/GENERIC amiga

>Description:
	when installing/upgrading NetBSD on an Amiga, you are asked to select
	a medium for installation. Selecting "cdrom" gives you a selection
	of the available CD drives in the system. If you choose any other
	option than "cd0" the script exits with an error.
>How-To-Repeat:
	start an update procedure on a system with more than one CDROM drive.
	proceed to the question which medium to use for the packages.
	select "cd1"; script will exit because /dev/cd1c (and /dev/cd1a)
	  don't exist.
>Fix:
	when creating the install image, issue e.g. the commands

	mknod /mnt/dev/cd1a b 7 16
	mknod /mnt/dev/cd1c b 7 18

	when it is mounted under /mnt. 
	Also

	mknod /mnt/dev/cd2a b 7 32
	mknod /mnt/dev/cd2c b 7 34

	to handle a 3rd drive. That should be enough and it only uses
	some inodes.
>Release-Note:
>Audit-Trail:
>Unformatted: