From owner-freebsd-bugs Mon Aug 10 14:20:04 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA02512 for freebsd-bugs-outgoing; Mon, 10 Aug 1998 14:20:04 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA02505 for ; Mon, 10 Aug 1998 14:20:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id OAA17637; Mon, 10 Aug 1998 14:20:00 -0700 (PDT) Received: from trooper.velocet.ca (host-066.canadiantire.ca [209.146.201.66]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA01965 for ; Mon, 10 Aug 1998 14:12:24 -0700 (PDT) (envelope-from dgilbert@trooper.velocet.ca) Received: (from dgilbert@localhost) by trooper.velocet.ca (8.8.8/8.8.7) id RAA02440; Mon, 10 Aug 1998 17:11:57 -0400 (EDT) (envelope-from dgilbert) Message-Id: <199808102111.RAA02440@trooper.velocet.ca> Date: Mon, 10 Aug 1998 17:11:57 -0400 (EDT) From: David Gilbert Reply-To: dgilbert@velocet.ca To: FreeBSD-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: 3.2 Subject: kern/7561: CDROM prone to lock up. Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 7561 >Category: kern >Synopsis: CDROM (wcd) is prone to lock up system/processes >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Aug 10 14:20:00 PDT 1998 >Last-Modified: >Originator: David Gilbert >Organization: Velocet Communications >Release: FreeBSD 2.2.6-RELEASE i386 >Environment: IDE drives/controllers probe as follows: wdc0 at 0x1f0-0x1f7 irq 14 on isa wdc0: unit 0 (wd0): wd0: 2014MB (4124736 sectors), 4092 cyls, 16 heads, 63 S/T, 512 B/S wdc1 at 0x170-0x177 irq 15 on isa wdc1: unit 0 (wd2): wd2: 6149MB (12594960 sectors), 13328 cyls, 15 heads, 63 S/T, 512 B/S wdc1: unit 1 (atapi): , removable, dm a, iordy wcd0: 2067/4134Kb/sec, 128Kb cache, audio play, 16 volume levels, ejectable tray wcd0: no disc inside, unlocked >Description: If the root user types mount /cdrom (or someone runs xmcd) at the 'wrong' time, the device locks up, locking that process in the 'D' state (according to ps). The 'wrong' time is sometime shortly after the disc is inserted into the drive and the door closes. The 'wrong' time occurs after the time when the device would respond as not ready and before the time when it will mount properly. >How-To-Repeat: Try to mount /cdrom shortly after inserting the disc. May have to repeat several times as timing is the issue here. My system is available for testing, if need be. It is permanently on the internet. >Fix: The only workaround that I can fine is to never be in a hurry. There are obvious problems with this workaround, though. :) >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message