From owner-freebsd-hackers Thu Jul 18 11:55:31 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id LAA09184 for hackers-outgoing; Thu, 18 Jul 1996 11:55:31 -0700 (PDT) Received: from guarany.cpd.unb.br (guarany.cpd.unb.br [164.41.2.1]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id LAA09159 for ; Thu, 18 Jul 1996 11:55:01 -0700 (PDT) Received: from antares.linf.unb.br by guarany.cpd.unb.br (AIX 3.2/UCB 5.64/4.03) id AA46982; Thu, 18 Jul 1996 15:48:08 -0300 Received: from pegasus by antares.linf.unb.br (4.1/SMI-4.1) id AA03560; Thu, 18 Jul 96 15:56:36 WST From: e8917523@antares.linf.unb.br (Daniel C. Sobral) Message-Id: <9607181956.AA03560@antares.linf.unb.br> Subject: IDE CD-ROM To: hackers@freebsd.org Date: Thu, 18 Jul 1996 15:57:25 -0400 (WST) Disclaimer: Klaatu Barada Nikto! X-Mailer: ELM [version 2.4 PL23] Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk I'm still just beginning to learn how the driver works, and haven't even touched the documentation I found about IDE CD-ROMs yet, but maybe someone can tell me what _may_ be happening. When FreeBSD boots, the CD-ROM device is always recognized (?), but the wcdattach sometimes fail. The examples below (from /var/log/messages): Jul 16 23:46:28 daniel /kernel: wdc1: unit 1 (atapi): , removable, iordy Jul 16 23:46:28 daniel /kernel: wcd0: 689Kb/sec, 128Kb cache, audio play, 128 volume levels, ejectable tray Jul 16 23:46:28 daniel /kernel: wcd0: no disc inside, unlocked Jul 17 19:35:51 daniel /kernel: wdc1: unit 1 (atapi): , removable, iordy Jul 17 19:35:51 daniel /kernel: wcd0: 689Kb/sec, 128Kb cache, audio play, 128 volume levels, ejectable tray Jul 17 19:35:51 daniel /kernel: wcd0: medium type unknown, unlocked Jul 17 20:00:23 daniel /kernel: wdc1: unit 1 (atapi): , removable, iordy Notice that the Jul 17 20:00:23 boot does not have the wcd0 lines. So, here are the "debug" lines produced in both cases: Jul 17 20:33:02 daniel /kernel: wdc1: unit 1 (atapi): , removable, iordy Jul 17 20:33:02 daniel /kernel: wcd0: 689Kb/sec, 128Kb cache, audio play, 128 volume levels, ejectable tray Jul 17 20:33:02 daniel /kernel: wcd0: medium type unknown, unlocked Jul 17 20:37:10 daniel /kernel: atapi1.1 at 0x170: attach called Jul 17 20:37:10 daniel /kernel: trying to identify an ATAPI device with an ATA identify drive Jul 17 20:37:11 daniel /kernel: data was size 148 and is: Jul 17 20:37:11 daniel /kernel: 80 85 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 0 0 80 0 0 0 30 30 38 30 20 61 20 20 49 48 41 54 48 43 20 49 44 43 2d 52 37 37 30 33 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 0 0 0 0 0 a 0 0 0 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Jul 17 20:37:11 daniel /kernel: atapiX.1 at 0x170: after above read, status=50 Jul 17 20:37:11 daniel /kernel: wdc1: unit 1 (atapi): , removable, iordy Jul 17 20:37:11 daniel /kernel: wcd0: info 80-85-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-80-0-0-0-30-30-30-38-61-0-0-0-48-49-54-41-43-48-49-20-43-44-52-2d-37-37-33-30-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-a-0-0-0-2-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0 Jul 17 20:37:11 daniel /kernel: atapi1.1: req im 5a-0-2a-0-0-0-0-0-1c-0-0-0-0-0-0-0 len=28 Jul 17 20:37:12 daniel /kernel: atapi1.1: start Jul 17 20:37:12 daniel /kernel: atapi1.1: send cmd 5a-0-2a-0-0-0-0-0-1c-0-0-0-0-0-0-0 Jul 17 20:37:12 daniel /kernel: atapi1.1: intr ireason=0x3, len=28, status=51, error=54 Jul 17 21:00:29 daniel /kernel: atapi1.1 at 0x170: attach called Jul 17 21:00:29 daniel /kernel: trying to identify an ATAPI device with an ATA identify drive Jul 17 21:00:29 daniel /kernel: data was size 148 and is: Jul 17 21:00:29 daniel /kernel: 80 85 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 0 0 80 0 0 0 30 30 38 30 20 61 20 20 49 48 41 54 48 43 20 49 44 43 2d 52 37 37 30 33 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 0 0 0 0 0 a 0 0 0 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Jul 17 21:00:30 daniel /kernel: atapiX.1 at 0x170: after above read, status=50 Jul 17 21:00:30 daniel /kernel: wdc1: unit 1 (atapi): , removable, iordy Jul 17 21:00:30 daniel /kernel: wcd0: info 80-85-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-80-0-0-0-30-30-30-38-61-0-0-0-48-49-54-41-43-48-49-20-43-44-52-2d-37-37-33-30-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-a-0-0-0-2-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0 Jul 17 21:00:30 daniel /kernel: atapi1.1: req im 5a-0-2a-0-0-0-0-0-1c-0-0-0-0-0-0-0 len=28 Jul 17 21:00:30 daniel /kernel: atapi1.1: start Jul 17 21:00:30 daniel /kernel: atapi1.1: send cmd 5a-0-2a-0-0-0-0-0-1c-0-0-0-0-0-0-0 Jul 17 21:00:30 daniel /kernel: atapi1.1: intr ireason=0x2, len=16, status=58, error=0 Jul 17 21:00:30 daniel /kernel: atapi1.1: intr ireason=0x2, len=8, status=58, error=0 Jul 17 21:00:30 daniel /kernel: atapi1.1: intr ireason=0x3, len=8, status=50, error=0 Jul 17 21:00:31 daniel /kernel: atapi1.1: recv data underrun, 4 bytes left Jul 17 21:00:31 daniel /kernel: wcd0: 689Kb/sec, 128Kb cache, audio play, 128 volume levels, ejectable tray Jul 17 21:00:31 daniel /kernel: wcd0: medium type unknown, unlocked Jul 17 21:00:31 daniel /kernel: wcd0: cap 0-16-0-0-0-0-0-0-2a-e-0-0-71-65-29-2-c2-2-80-0-80-0-c2-2-0-0-0-0 Jul 17 21:16:08 daniel /kernel: atapi1.1 at 0x170: attach called Jul 17 21:16:08 daniel /kernel: trying to identify an ATAPI device with an ATA identify drive Jul 17 21:16:08 daniel /kernel: data was size 148 and is: Jul 17 21:16:08 daniel /kernel: 80 85 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 0 0 80 0 0 0 30 30 38 30 20 61 20 20 49 48 41 54 48 43 20 49 44 43 2d 52 37 37 30 33 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 0 0 0 0 0 a 0 0 0 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Jul 17 21:16:08 daniel /kernel: atapiX.1 at 0x170: after above read, status=50 Jul 17 21:16:09 daniel /kernel: wdc1: unit 1 (atapi): , removable, iordy Jul 17 21:16:09 daniel /kernel: wcd0: info 80-85-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-80-0-0-0-30-30-30-38-61-0-0-0-48-49-54-41-43-48-49-20-43-44-52-2d-37-37-33-30-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-a-0-0-0-2-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0 Jul 17 21:16:09 daniel /kernel: atapi1.1: req im 5a-0-2a-0-0-0-0-0-1c-0-0-0-0-0-0-0 len=28 Jul 17 21:16:09 daniel /kernel: atapi1.1: start Jul 17 21:16:09 daniel /kernel: atapi1.1: send cmd 5a-0-2a-0-0-0-0-0-1c-0-0-0-0-0-0-0 Jul 17 21:16:09 daniel /kernel: atapi1.1: intr ireason=0x3, len=28, status=51, error=54 Jul 17 21:17:36 daniel /kernel: atapi1.1 at 0x170: attach called Jul 17 21:17:37 daniel /kernel: trying to identify an ATAPI device with an ATA identify drive Jul 17 21:17:37 daniel /kernel: data was size 148 and is: Jul 17 21:17:37 daniel /kernel: 80 85 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 0 0 80 0 0 0 30 30 38 30 20 61 20 20 49 48 41 54 48 43 20 49 44 43 2d 52 37 37 30 33 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 0 0 0 0 0 a 0 0 0 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Jul 17 21:17:37 daniel /kernel: atapiX.1 at 0x170: after above read, status=50 Jul 17 21:17:37 daniel /kernel: wdc1: unit 1 (atapi): , removable, iordy Jul 17 21:17:37 daniel /kernel: wcd0: info 80-85-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-80-0-0-0-30-30-30-38-61-0-0-0-48-49-54-41-43-48-49-20-43-44-52-2d-37-37-33-30-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-a-0-0-0-2-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0 Jul 17 21:17:37 daniel /kernel: atapi1.1: req im 5a-0-2a-0-0-0-0-0-1c-0-0-0-0-0-0-0 len=28 Jul 17 21:17:37 daniel /kernel: atapi1.1: start Jul 17 21:17:38 daniel /kernel: atapi1.1: send cmd 5a-0-2a-0-0-0-0-0-1c-0-0-0-0-0-0-0 Jul 17 21:17:38 daniel /kernel: atapi1.1: intr ireason=0x2, len=16, status=58, error=0 Jul 17 21:17:38 daniel /kernel: atapi1.1: intr ireason=0x2, len=8, status=58, error=0 Jul 17 21:17:38 daniel /kernel: atapi1.1: intr ireason=0x3, len=8, status=50, error=0 Jul 17 21:17:38 daniel /kernel: atapi1.1: recv data underrun, 4 bytes left Jul 17 21:17:38 daniel /kernel: wcd0: 689Kb/sec, 128Kb cache, audio play, 128 volume levels, ejectable tray Jul 17 21:17:38 daniel /kernel: wcd0: no disc inside, unlocked Jul 17 21:17:38 daniel /kernel: wcd0: cap 0-16-70-0-0-0-0-0-2a-e-0-0-71-65-29-2-c2-2-80-0-80-0-c2-2-0-0-0-0 So... any hints of what should I be looking for? Besides a SCSI device, I mean... :-) -- Daniel C. Sobral (8-DCS) e8917523@linf.unb.br * Psychiatric Hospital? And everyone there is an FBI agent? *