NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

kern/40557: newfs_udf often fails transiently with EIO



>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
>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?



Home | Main Index | Thread Index | Old Index