From owner-freebsd-hackers Wed Nov 10 11: 6:38 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from gw-nl1.origin-it.com (gw-nl1.origin-it.com [193.79.128.34]) by hub.freebsd.org (Postfix) with ESMTP id 76B0D14E16 for ; Wed, 10 Nov 1999 11:06:26 -0800 (PST) (envelope-from Hans.Zuidam@nl.origin-it.com) Received: from mail.nl.origin-it.com (localhost.origin-it.com [127.0.0.1]) by gw-nl1.origin-it.com with ESMTP id UAA24293 for ; Wed, 10 Nov 1999 20:06:25 +0100 (MET) (envelope-from Hans.Zuidam@nl.origin-it.com) Received: from mail.nl.origin-it.com(172.16.127.67) by gw-nl1.origin-it.com via mwrap (4.0a) id xma024291; Wed, 10 Nov 99 20:06:25 +0100 Received: from nlehx900.ehvovh.nl.origin-it.com (nlehx900.ehvovh.nl.origin-it.com [172.16.92.111]) by mail.nl.origin-it.com (8.9.3/8.8.5-1.2.2m-19990317) with ESMTP id UAA08475 for ; Wed, 10 Nov 1999 20:06:24 +0100 (MET) Received: by nlehx900.ehvovh.nl.origin-it.com with Internet Mail Service (5.5.2448.0) id ; Wed, 10 Nov 1999 20:06:23 +0100 Message-ID: <9B7E8CE3E214D311A3050008C7A4BDDB9346C4@nlehx061.ehvvon.nl.origin-it.com> From: "Zuidam, Hans" To: "'hackers@freebsd.org'" Subject: CD-ROM on Compaq Deskpro Date: Wed, 10 Nov 1999 20:06:22 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2448.0) Content-Type: text/plain; charset="iso-8859-1" Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, Further investigating the reason why the CD-ROM is not accessible on a Compaq Deskpro EN (changing the machine was not an option,) I've found the following: o The CD-ROM drive is on the secondary IDE controller, there is no primary controller. The HD is on a SCSI controller (ah2940); o If the drive is jumpered as a slave, the secondary IDE controller is not found by the wdc code, very weird; o If the driver is jumpered as either a master or with cable select the secondary IDE controller is found, the wdc1 controller and the drive are found but subsequently not accessible. This bothered me until I noticed the controller busy status. Somehow when the slave is probed, it fails because there is no slave device, but the controller is left in a busy state from which it (nor the sw.) never recovers: atapi1.1 at 0x170: attach called atapiX.1 at 0x170: controller busy, status=80 So, inserting in atapi_probe() line saying: if (unit > 0) { print(("unit > 0\n", unit)); return 0; } Results in the following: atapi1.1 at 0x170: attach called unit 1 > 0 Subsequently, the CD-ROM can be mounted and used. Sadly I do not know enough about either IDE nor about ATAPI to give a quick answer as to what the reason for the problem could be. If anyone has suggestions for further experiments, I'll be glad to try. Regards, Hans Hans Zuidam e-mail: hans.zuidam@nl.origin-it.com Origin, BAS/AM-CE tel. +31 40 2735569 Gebouw SK-520 fax. +31 40 2736936 Glaslaan 2 5616 LW Eindhoven To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message