Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Apr 2000 12:20:02 -0700 (PDT)
From:      "Kenneth D. Merry" <ken@kdm.org>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: misc/18108: strange dev assignment with multiple scsi cdrom drives
Message-ID:  <200004201920.MAA57964@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR misc/18108; it has been noted by GNATS.

From: "Kenneth D. Merry" <ken@kdm.org>
To: David Bauer <bauer@genprofile.com>
Cc: FreeBSD-gnats-submit@freebsd.org
Subject: Re: misc/18108: strange dev assignment with multiple scsi cdrom drives
Date: Thu, 20 Apr 2000 09:49:01 -0600

 On Thu, Apr 20, 2000 at 10:39:37 +0000, David Bauer wrote:
 > Hi,
 > thanks for the fast response. Here are the additional informations you
 > requested:
 > 
 > "Kenneth D. Merry" wrote:
 > > > Maybe the mixture of ATAPI and SCSI cdrom confuses the system.
 > > > The systems unit numbering is not reflected correctly in the messages.
 > > 
 > > I suspect your device nodes may be messed up.  Can you send the output of:
 > > 
 > 
 > > camcontrol devlist -v
 > scbus-1 on xpt0 bus 0:
 > <  >                               at scbus-1 target -1 lun -1 (xpt0)
 > scbus0 on ahc0 bus 0:
 > <PIONEER DVD-ROM DVD-303 1.10>     at scbus0 target 5 lun 0 (pass0,cd0)
 > <HP CD-Writer+ 9200 1.0c>          at scbus0 target 6 lun 0 (pass1,cd1)
 > <  >                               at scbus0 target -1 lun -1 ()
 > 
 > > ls -l /dev/*cd*
 > br--r--r--  1 root  operator   19,   0 18 Mär 07:24 /dev/acd0a
 > brw-rw-rw-  1 root  operator   19,   2 18 Mär 07:24 /dev/acd0c
 > brw-r-----  1 root  operator    6,   0 20 Apr 06:54 /dev/cd0a
 > brw-r-----  1 root  operator    6,   2 20 Apr 06:54 /dev/cd0c
 > brw-r--r--  1 root  wheel       6,   0 20 Apr 07:08 /dev/cd1a
 > brw-r--r--  1 root  wheel       6,   2 20 Apr 07:07 /dev/cd1c
 > lrwxr-xr-x  1 root  wheel           10 19 Mär 19:39 /dev/cdrom ->
 > /dev/acd0c
 
 cd1{a,c} and cd0{a,c} both have the same minor numbers.  That is why you
 were able to mount cd0 as cd1.
 
 As for why you couldn't mount cd0 -- were you root when you tried to mount
 it?
 
 Try re-making your CD devices, like this:
 
 sh MAKEDEV cd4
 
 That will make cd0->cd3.
 
 Ken
 -- 
 Kenneth Merry
 ken@kdm.org
 


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200004201920.MAA57964>