From owner-freebsd-bugs Wed Apr 19 23:50: 7 2000 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 0B07837BD9B for ; Wed, 19 Apr 2000 23:50:05 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id XAA08992; Wed, 19 Apr 2000 23:50:04 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Date: Wed, 19 Apr 2000 23:50:04 -0700 (PDT) Message-Id: <200004200650.XAA08992@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: "Kenneth D. Merry" Subject: Re: misc/18108: strange dev assignment with multiple scsi cdrom drives Reply-To: "Kenneth D. Merry" Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR misc/18108; it has been noted by GNATS. From: "Kenneth D. Merry" 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): , 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: 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: 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