kern/90040: [ata] Can't mount CD straight away after burning
Eugenijus Novikovas
clm at tdd.lt
Tue Dec 6 10:40:05 PST 2005
>Number: 90040
>Category: kern
>Synopsis: [ata] Can't mount CD straight away after burning
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Tue Dec 06 18:40:02 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Eugenijus Novikovas
>Release: FreeBSD 6.0-RELEASE i386
>Organization:
>Environment:
FreeBSD trio.homegate.ot.lt 6.0-RELEASE FreeBSD 6.0-RELEASE #0: Wed Nov 9 13:39:37 EET 2005 root at trio.homegate.ot.lt:/usr/src/sys/i386/compile/TRIO-6.0 i386
CPU: Duron 1300, VIA KM266 chipset
atapci0: (VIA 8235 UDMA133 controller) port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,
0xdc00-0xdc0f at device 17.1 on pci0
ata0: (ATA channel 0) on atapci0
ata1: (ATA channel 1) on atapci0
acd0: CDRW (NEC NR-7700A/1.06) at ata0-master PIO4
acd1: CDRW (LITE-ON LTR-32123S/XS0X) at ata0-slave UDMA33
ad2: 9773MB (FUJITSU MPF3102AT 0028) at ata1-master UDMA66
acd2: DVDR (NEC DVD RW ND-3540A/1.01) at ata1-slave UDMA33
>Description:
If mount CD straight away after burning I get
"mount_cd9660: /dev/acd0: Input/output error" message and
"g_vfs_done():acd0[READ(offset=32768, length=2048)]error = 5" system console message.
If eject CD after burning, manually or with -e or with cdcontrol, and reinsert, then mount OK.
It's true for all devices I was tested, with DMA enabled and in PIO mode, with various sizes of ISO images.
Additionally - NEC NR-7700 have problem with blanking cd-rw, described in kern/83702 problem report.
With FreeBSD-4.11 I have no problems on the same hardware.
>How-To-Repeat:
burncd -f /dev/acd[012] data 6.0-RELEASE-i386-bootonly.iso fixate
mount_cd9660 /dev/acd[012] /cdrom
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list