From owner-freebsd-bugs Wed Jun 9 19: 0: 5 1999 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 E8DC51513D for ; Wed, 9 Jun 1999 19:00:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id TAA03673; Wed, 9 Jun 1999 19:00:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: by hub.freebsd.org (Postfix, from userid 32767) id B599414D9E; Wed, 9 Jun 1999 18:51:20 -0700 (PDT) Message-Id: <19990610015120.B599414D9E@hub.freebsd.org> Date: Wed, 9 Jun 1999 18:51:20 -0700 (PDT) From: tempest@ecst.csuchico.edu To: freebsd-gnats-submit@freebsd.org X-Send-Pr-Version: www-1.0 Subject: kern/12104: Certain cdcontrol commands don't work properly with my ATAPI CD-ROM drive Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 12104 >Category: kern >Synopsis: Certain cdcontrol commands don't work properly with my ATAPI CD-ROM drive >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 Jun 9 19:00:00 PDT 1999 >Closed-Date: >Last-Modified: >Originator: Ken Lui >Release: FreeBSD 3.2-RELEASE >Organization: >Environment: FreeBSD black 3.2-RELEASE FreeBSD 3.2-RELEASE #11: Tue Jun 1 21:04:12 PDT 1999 root@black.tmpest1.org:/usr/src/sys/compile/BLACK i386 >Description: Certain kernel functions for ATAPI CD-ROMs are broken. Namely close door and pause don't work. First these problems manifested themselves with wmcdplayer but they exhibit the same problem (though with more error displayed) using cdcontrol. Note that closing the door and pausing works fine under Linux 2.2.7 and the same hardware. >How-To-Repeat: Copyright (c) 1992-1999 FreeBSD Inc. Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. FreeBSD 3.2-RELEASE #11: Tue Jun 1 21:04:12 PDT 1999 root@black.tmpest1.org:/usr/src/sys/compile/BLACK Timecounter "i8254" frequency 1193182 Hz CPU: AMD-K6(tm) 3D processor (333.37-MHz 586-class CPU) Origin = "AuthenticAMD" Id = 0x580 Stepping=0 Features=0x8001bf real memory = 100663296 (98304K bytes) avail memory = 94826496 (92604K bytes) Preloaded elf kernel "kernel" at 0xc02d1000. Preloaded userconfig_script "/boot/kernel.conf" at 0xc02d109c. Probing for devices on PCI bus 0: chip0: rev 0x04 on pci0.0.0 chip1: rev 0x04 on pci0.1.0 chip2: rev 0xb4 on pci0.7.0 ed1: rev 0x00 int a irq 9 on pci0.8.0 ed1: address 00:80:c8:fd:90:ae, type NE2000 (16 bit) ed2: rev 0x00 int a irq 9 on pci0.9.0 ed2: address 00:80:c8:fd:88:0d, type NE2000 (16 bit) adv0: rev 0x02 int a irq 9 on pci0.11.0 adv0: AdvanSys Ultra SCSI Host Adapter, SCSI ID 7, queue depth 240 ide_pci0: rev 0x20 int a i rq 0 on pci0.15.0 Probing for devices on PCI bus 1: vga0: rev 0xf3 int a irq 10 o n pci1.6.0 Probing for PnP devices: CSN 1 Vendor ID: CTL00f0 [0xf0008c0e] Serial 0xffffffff Comp ID: PNPb02f [0x2fb0 d041] pcm1 (SB16pnp sn 0xffffffff) at 0x220-0x22f irq 5 drq 1 flags 0x10 on isa Probing for devices on the ISA bus: sc0 on isa sc0: VGA color <16 virtual consoles, flags=0x0> ed0 not found at 0x280 atkbdc0 at 0x60-0x6f on motherboard atkbd0 irq 1 on isa psm0 irq 12 on isa psm0: model MouseMan+, device ID 0 sio0 at 0x3f8-0x3ff irq 4 flags 0x10 on isa sio0: type 16550A sio1 at 0x2f8-0x2ff irq 3 on isa sio1: type 16550A pcm0 not probed due to drq conflict with pcm1 at 1 fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa fdc0: FIFO enabled, 8 bytes threshold fd0: 1.44MB 3.5in wdc0 at 0x1f0-0x1f7 irq 14 flags 0xa0ffa0ff on isa wdc0: unit 0 (wd0): , DMA, 32-bit, multi-block-16 wd0: 1625MB (3329424 sectors), 3303 cyls, 16 heads, 63 S/T, 512 B/S wdc0: unit 1 (wd1): , 32-bit, multi-block-16 wd1: 3079MB (6306048 sectors), 6256 cyls, 16 heads, 63 S/T, 512 B/S wdc1 at 0x170-0x177 irq 15 flags 0xa0ffa0ff on isa wdc1: unit 1 (wd3): , 32-bit, multi-block-16 wd3: 4121MB (8440992 sectors), 8374 cyls, 16 heads, 63 S/T, 512 B/S wdc1: unit 0 (atapi): , removable, intr, dma, iordy acd0: drive speed 1031KB/sec, 120KB cache acd0: supported read types: CD-DA acd0: Audio: play, 255 volume levels acd0: Mechanism: ejectable tray acd0: Medium: no/blank disc inside, unlocked ppc0 at 0x378 irq 7 flags 0x40 on isa ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/1 bytes threshold lpt0: on ppbus 0 lpt0: Interrupt-driven port lpt0: on ppbus 0 lpt0: Interrupt-driven port adv0 not found at 0x330 vga0 at 0x3b0-0x3df maddr 0xa0000 msize 131072 on isa npx0 on motherboard npx0: INT 16 interface apm0 on isa apm: found APM BIOS version 1.2 Waiting 5 seconds for SCSI devices to settle changing root device to wd3s1a da0 at adv0 bus 0 target 0 lun 0 da0: Fixed Direct Access SCSI-2 device da0: 10.000MB/s transfers (10.000MHz, offset 15), Tagged Queueing Enabled da0: 2047MB (4194058 512 byte sectors: 255H 63S/T 261C) ATAPI is a master on second IDE channel. su# cdcontrol -f /dev/acd0 eject black su# cdcontrol -f /dev/acd0 close # pauses before I get # prompt back but tray # doesn't close black su# cdcontrol -f /dev/acd0 play 16 black su# cdcontrol -f /dev/acd0 pause black su# cdcontrol -f /dev/acd0 resume # doesn't resume black su# echo $? 255 black su# cdcontrol -f /dev/acd0 stop black su# echo $? 0 black su# cdcontrol -f /dev/acd0 eject black su# echo $? 0 black su# cdcontrol -f /dev/acd0 close # again, pauses about 1.5secs # before I get prompt back but # tray doesn't close black su# echo $? 0 >Fix: >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message