NetBSD Problem Report #40557
From www@NetBSD.org Thu Feb 5 17:24:34 2009
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 514BC63C07F
for <gnats-bugs@gnats.netbsd.org>; Thu, 5 Feb 2009 17:24:34 +0000 (UTC)
Message-Id: <20090205172434.2480863C07D@narn.NetBSD.org>
Date: Thu, 5 Feb 2009 17:24:34 +0000 (UTC)
From: pooka@iki.fi
Reply-To: pooka@iki.fi
To: gnats-bugs@NetBSD.org
Subject: newfs_udf often fails transiently with EIO
X-Send-Pr-Version: www-1.0
>Number: 40557
>Category: kern
>Synopsis: newfs_udf often fails transiently with EIO
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: kern-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Feb 05 17:25:00 +0000 2009
>Last-Modified: Thu Feb 05 19:20:02 +0000 2009
>Originator: Antti Kantee
>Release: NetBSD 5.0 RC1
>Organization:
>Environment:
>Description:
newfs_udf -F on /dev/rcd0d often fails.
Repeating the command n times makes the errors go away.
piixide0 at pci0 dev 31 function 2
piixide0: Intel 82801GBM/GHM Serial ATA Controller (ICH7) (rev. 0x02)
piixide0: bus-master DMA support present
piixide0: primary channel wired to compatibility mode
piixide0: primary channel interrupting at ioapic0 pin 14
atabus0 at piixide0 channel 0
piixide0: secondary channel wired to compatibility mode
piixide0: secondary channel interrupting at ioapic0 pin 15
atabus1 at piixide0 channel 1
atapibus0 at atabus1: 2 targets
cd0 at atapibus0 drive 0: <Optiarc DVD RW AD-7543A, , 1-00> cdrom removable
cd0: 32-bit data port
cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)
cd0(piixide0:1:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA)
>How-To-Repeat:
pain-rustique:1:~> newfs_udf /dev/rcd0d
Disc not empty! Use -F to force initialisation
pain-rustique:2:~> newfs_udf -F /dev/rcd0d
Formatting disc compatible with UDF version 201 to 201
UDF properties 0103<WRITEONCE,SEQUENTIAL,VAT>
Volume set `174cdba37b1521c8'
Primary volume `2ba965af`
Logical volume `anonymous`
Closing last open session if present
Closing open track 3
preparing disc failed: Input/output error
pain-rustique:3:~> newfs_udf -F /dev/rcd0d
Formatting disc compatible with UDF version 201 to 201
UDF properties 0103<WRITEONCE,SEQUENTIAL,VAT>
Volume set `051f06c16aeb8dc8'
Primary volume `7e694f98`
Logical volume `anonymous`
Closing last open session if present
Closing open track 3
Closing open track 4
Closing session
preparing disc failed: Input/output error
pain-rustique:4:~> newfs_udf -F /dev/rcd0d
Formatting disc compatible with UDF version 201 to 201
UDF properties 0103<WRITEONCE,SEQUENTIAL,VAT>
Volume set `592090334f012c99'
Primary volume `7e64d91f`
Logical volume `anonymous`
Total space on this medium aprox. 4589692 Kb, 4482 Mb
Free space on this volume aprox. 4522104 Kb, 4416 Mb
pain-rustique:5:~>
Meanwhile, these appear in dmesg:
piixide0:1:0: lost interrupt
type: atapi tc_bcount: 0 tc_skip: 0
cd0(piixide0:1:0): unit attention, data = 00 00 00 00 28 00 00 00 00 00
piixide0:1:0: lost interrupt
type: atapi tc_bcount: 0 tc_skip: 0
cd0(piixide0:1:0): unit attention, data = 00 00 00 00 28 00 00 00 00 00
>Fix:
unknown. make newfs_udf retry for an intermediate solution?
>Audit-Trail:
From: Antti Kantee <pooka@cs.hut.fi>
To: gnats-bugs@netbsd.org
Cc:
Subject: Re: kern/40557
Date: Thu, 5 Feb 2009 21:15:08 +0200
It seems that the magic wore out and newfs_udf fails continuously now.
pain-rustique:20:~> newfs_udf -F /dev/rcd0d
Formatting disc compatible with UDF version 201 to 201
pain-rustique:18:~> s mount_udf /dev/cd0d /mnt
mount_udf: Cannot mount /dev/cd0d on /mnt: Invalid argument
pain-rustique:19:~> newfs_udf -F /dev/rcd0d
Formatting disc compatible with UDF version 201 to 201
UDF properties 0103<WRITEONCE,SEQUENTIAL,VAT>
Volume set `71384773145d15e8'
Primary volume `0a62d7d1`
Logical volume `anonymous`
Closing last open session if present
Closing open track 9
Closing session
Total space on this medium aprox. 4589692 Kb, 4482 Mb
Free space on this volume aprox. 4435768 Kb, 4331 Mb
pain-rustique:20:~> newfs_udf -F /dev/rcd0d
UDF properties 0103<WRITEONCE,SEQUENTIAL,VAT>
Volume set `3cb9a4864eaf4337'
Primary volume `4fc30f3e`
Logical volume `anonymous`
Closing last open session if present
Closing open track 10
Closing session
Total space on this medium aprox. 4589692 Kb, 4482 Mb
Free space on this volume aprox. 4431032 Kb, 4327 Mb
pain-rustique:21:~> s mount_udf /dev/cd0d /mnt
mount_udf: Cannot mount /dev/cd0d on /mnt: Invalid argument
While dmesg has this:
cd0(piixide0:1:0): illegal request, data = 00 00 00 00 63 00 00 00 00 00
cd0(piixide0:1:0): medium error, info = 74544 (decimal), data = 00 00 00 00 11 00 00 00 00 00
cd0(piixide0:1:0): medium error, info = 74336 (decimal), data = 00 00 00 00 11 00 00 00 00 00
cd0(piixide0:1:0): medium error, info = 74592 (decimal), data = 00 00 00 00 11 00 00 00 00 00
cd0(piixide0:1:0): illegal request, data = 00 00 00 00 63 00 00 00 00 00
cd0(piixide0:1:0): medium error, info = 79280 (decimal), data = 00 00 00 00 11 00 00 00 00 00
cd0(piixide0:1:0): medium error, info = 79072 (decimal), data = 00 00 00 00 11 00 00 00 00 00
cd0(piixide0:1:0): medium error, info = 79328 (decimal), data = 00 00 00 00 11 00 00 00 00 00
cd0(piixide0:1:0): illegal request, data = 00 00 00 00 63 00 00 00 00 00
(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.