Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Apr 2000 23:50:04 -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:  <200004200650.XAA08992@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: 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 00:47:02 -0600

 On Wed, Apr 19, 2000 at 23:02:58 -0700, bauer@genprofile.com wrote:
 > >Organization:
 > GenProfile AG
 > >Environment:
 > FreeBSD dav 3.3-RELEASE FreeBSD 3.3-RELEASE #9: Thu Apr 20 07:12:45 CEST 2000     bauer@dav:/usr/src/sys/compile/DB  i386
 > >Description:
 > messages report drive as cd0 but in fstab must be mounted ad cd1.
 > 
 > from /var/log/messages:
 > Apr 20 07:23:52 dav /kernel: wdc1: unit 0 (atapi): <CD-524EA-B/1.0A>, removable, accel, ovlap, dma, iordis
 > Apr 20 07:23:52 dav /kernel: acd0: drive speed 4134KB/sec, 128KB cache
 > Apr 20 07:23:52 dav /kernel: acd0: supported read types: CD-R, CD-RW, CD-DA, packet track
 > Apr 20 07:23:52 dav /kernel: acd0: Audio: play, 256 volume levels
 > Apr 20 07:23:52 dav /kernel: acd0: Mechanism: ejectable tray
 > Apr 20 07:23:52 dav /kernel: acd0: Medium: no/blank disc inside, unlocked
 > Apr 20 07:23:52 dav /kernel: Waiting 15 seconds for SCSI devices to settle
 > Apr 20 07:23:52 dav /kernel: changing root device to wd0s2a
 > Apr 20 07:23:52 dav /kernel: cd0 at ahc0 bus 0 target 5 lun 0
 > Apr 20 07:23:52 dav /kernel: cd0: <PIONEER DVD-ROM DVD-303 1.10> Removable CD-ROM SCSI-2 device 
 > Apr 20 07:23:52 dav /kernel: cd0: 10.000MB/s transfers (10.000MHz, offset 8)
 > Apr 20 07:23:52 dav /kernel: cd0: Attempt to query device size failed: NOT READY, Medium not present
 > Apr 20 07:23:52 dav /kernel: cd1 at ahc0 bus 0 target 6 lun 0
 > Apr 20 07:23:52 dav /kernel: cd1: <HP CD-Writer+ 9200 1.0c> Removable CD-ROM SCSI-4 device 
 > Apr 20 07:23:52 dav /kernel: cd1: 10.000MB/s transfers (10.000MHz, offset 15)
 > Apr 20 07:23:52 dav /kernel: cd1: Attempt to query device size failed: NOT READY, Medium not present
 > 
 > from /etc/fstab:
 > /dev/acd0c              /cdrom  cd9660  ro,noauto       0       0
 > /dev/cd1c               /cdrom1 cd9660  ro,noauto       0       0
 > 
 > With this fstab entry a DVD in the Pioneer DVD ROM drive is mounted
 > correctly. But I do not understand why the boot messages report this
 > as cd0 and it must be mounted as cd1. 
 > 
 > Also a 'sh MAKEDEV cd1' does not do anything. No error but also no new
 > device. I had to create it manually with mknod. 
 
 When you make CD devices with MAKEDEV, it makes the number of devices you
 specify on the command line.  Specifying 'cd1' makes 1 device, cd0.  You
 want to type 'sh MAKEDEV cd2' to make cd0 and cd1 devices.
 
 > 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
 ls -l /dev/*cd*
 
 Make sure you CC your reply to FreeBSD-gnats-submit@FreeBSD.ORG so it goes
 into the audit log for this PR.
 
 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?200004200650.XAA08992>