From owner-freebsd-bugs@FreeBSD.ORG Tue Dec 6 18:40:05 2005 Return-Path: X-Original-To: freebsd-bugs@hub.freebsd.org Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 04A7316A420 for ; Tue, 6 Dec 2005 18:40:05 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1C8D343D46 for ; Tue, 6 Dec 2005 18:40:03 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id jB6Ie2Sh034841 for ; Tue, 6 Dec 2005 18:40:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id jB6Ie2pS034840; Tue, 6 Dec 2005 18:40:02 GMT (envelope-from gnats) Resent-Date: Tue, 6 Dec 2005 18:40:02 GMT Resent-Message-Id: <200512061840.jB6Ie2pS034840@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Eugenijus Novikovas Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 22E9E16A420 for ; Tue, 6 Dec 2005 18:39:22 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id DF0D543D5A for ; Tue, 6 Dec 2005 18:39:21 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id jB6IdLOL084275 for ; Tue, 6 Dec 2005 18:39:21 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id jB6IdLVC084274; Tue, 6 Dec 2005 18:39:21 GMT (envelope-from nobody) Message-Id: <200512061839.jB6IdLVC084274@www.freebsd.org> Date: Tue, 6 Dec 2005 18:39:21 GMT From: Eugenijus Novikovas To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Cc: Subject: kern/90040: [ata] Can't mount CD straight away after burning X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Dec 2005 18:40:05 -0000 >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@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: