Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Jun 1998 03:00:51 +0100
From:      Adrian Wontroba <aw1@stade.co.uk>
To:        Stefan Eggers <seggers@semyam.dinoco.de>
Cc:        freebsd-bugs@FreeBSD.ORG
Subject:   Re: bin/5134: cdcontrol will eject a mounted CDROM
Message-ID:  <19980619030051.D27607@stade.co.uk>
In-Reply-To: <199806182012.WAA28312@semyam.dinoco.de>; from Stefan Eggers on Thu, Jun 18, 1998 at 10:12:17PM %2B0200
References:  <19980616012748.D16444@stade.co.uk> <199806182012.WAA28312@semyam.dinoco.de>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <http://www.accu.org/>;

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19980619030051.D27607>