Date: Wed, 19 Apr 2000 23:02:58 -0700 (PDT) From: bauer@genprofile.com To: freebsd-gnats-submit@FreeBSD.org Subject: misc/18108: strange dev assignment with multiple scsi cdrom drives Message-ID: <200004200602.XAA04512@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 18108 >Category: misc >Synopsis: strange dev assignment with multiple scsi cdrom drives >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Apr 19 23:10:01 PDT 2000 >Closed-Date: >Last-Modified: >Originator: David Bauer >Release: 3.3 >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. Maybe the mixture of ATAPI and SCSI cdrom confuses the system. The systems unit numbering is not reflected correctly in the messages. >How-To-Repeat: ATAPI CDROM + SCSI CDROM ? >Fix: >Release-Note: >Audit-Trail: >Unformatted: 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?200004200602.XAA04512>