From owner-freebsd-bugs Thu Jun 18 19:37:18 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id TAA02563 for freebsd-bugs-outgoing; Thu, 18 Jun 1998 19:37:18 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from titus.stade.co.uk (root@stade.demon.co.uk [158.152.29.164]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id TAA02540 for ; Thu, 18 Jun 1998 19:37:06 -0700 (PDT) (envelope-from aw1@titus.stade.co.uk) Received: (from aw1@localhost) by titus.stade.co.uk (8.8.8/8.8.3) id DAA29517; Fri, 19 Jun 1998 03:00:51 +0100 (BST) Message-ID: <19980619030051.D27607@stade.co.uk> Date: Fri, 19 Jun 1998 03:00:51 +0100 From: Adrian Wontroba To: Stefan Eggers Cc: freebsd-bugs@FreeBSD.ORG Subject: Re: bin/5134: cdcontrol will eject a mounted CDROM Reply-To: aw1@stade.co.uk Mail-Followup-To: Stefan Eggers , freebsd-bugs@FreeBSD.ORG References: <19980616012748.D16444@stade.co.uk> <199806182012.WAA28312@semyam.dinoco.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.91.1i In-Reply-To: <199806182012.WAA28312@semyam.dinoco.de>; from Stefan Eggers on Thu, Jun 18, 1998 at 10:12:17PM +0200 Organization: Stade Computers Ltd, UK X-Phone: +(44) 121 681 6677 Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Thu, Jun 18, 1998 at 10:12:17PM +0200, Stefan Eggers wrote: > > > panic: vref used where vget required > Do the crashes only occur when the CD is mounted but were never > accessed since? Or does it even occur if you used it after mounting? > If they occur in both cases then there is probably some other problem > or for some reason my machine acted different. I _think_ I've seen both scenarios, but it was a couple of weeks ago and I've stopped using the cd drive until I've dealt with what I'm also fairly sure that the drive has a hardware problem - here are uniq -c counts for cd related error messages: 3 /kernel: cd0(ahc0:4:0): HARDWARE FAILURE asc:9,2 Focus servo failure 1 /kernel: cd0(ahc0:4:0): MEDIUM ERROR info:0x10 asc:2,0 No seek complete 1 /kernel: cd0(ahc0:4:0): MEDIUM ERROR info:0x22307 asc:2,0 No seek complete 1 /kernel: cd0(ahc0:4:0): MEDIUM ERROR info:0x22308 asc:2,0 No seek complete 9 /kernel: cd0(ahc0:4:0): MEDIUM ERROR info:0x98 asc:2,0 No seek complete > > How is the kernel supposed to handle a transfer error on a CDROM drive? > As any other file system. Report the problem in a reasonable way and > doing the necessary cleanup before returning. A panic definitely is > not a good idea. The one happening is particularly bad as it even is > not related to some read/transfer error reporting. It surely was > planned not to do that. ;-) I'll go along with that statement. -- Adrian Wontroba, Stade Computers Limited. phone: (+44) 121 681 6677 Mail info@accu.org for information about the Association of C and C++ Users or see To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message