NetBSD Problem Report #39808

From www@NetBSD.org  Sun Oct 26 10:07:51 2008
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by narn.NetBSD.org (Postfix) with ESMTP id EDA0663B853
	for <gnats-bugs@gnats.netbsd.org>; Sun, 26 Oct 2008 10:07:50 +0000 (UTC)
Message-Id: <20081026100750.BBC7163B11D@narn.NetBSD.org>
Date: Sun, 26 Oct 2008 10:07:50 +0000 (UTC)
From: M.Drochner@fz-juelich.de
Reply-To: M.Drochner@fz-juelich.de
To: gnats-bugs@NetBSD.org
Subject: can't unmount CD with media error
X-Send-Pr-Version: www-1.0

>Number:         39808
>Category:       kern
>Synopsis:       can't unmount CD with media error
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Oct 26 10:10:01 +0000 2008
>Originator:     Matthias Drochner
>Release:        -current (from ~2 weeks ago)
>Organization:
>Environment:
NetBSD zelz27 4.99.73 NetBSD 4.99.73 (MIST+MP) #194: Wed Oct 15 16:32:08 MEST 2008  drochner@zelz27:/home/drochner/netbsd/work.src.usbdev/sys/arch/i386/compile/MIST+MP i386
>Description:
I could mount an iso9660 file system from a CD.
Any access to the data failed. Appearently the CD is damaged.
That happens... but I wasn't able to unmount it:

# mount /dev/cd0a /mnt
# $ ls -l /mnt
ls: /mnt: Input/output error
$ su
[...]
# umount /mnt
umount: /mnt: Input/output error
# umount -f /mnt
umount: /mnt: Input/output error
# dmesg
[...]
cd0(piixide0:1:0):  Check Condition on CDB: 0x28 00 00 00 00 1c 00 00 01 00
    SENSE KEY:  Media Error
     ASC/ASCQ:  L-EC Uncorrectable Error

>How-To-Repeat:
See above. Might be hard to get that specific read error from a CD.
Would be good to have some way of error injection in the disk drivers.

>Fix:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.