Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Dec 2006 02:29:37 GMT
From:      Andrew Muhametshin<andrew@dobrohot.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   kern/106432: Record of disks (DVD-R) through the k3b program leads to lag of system
Message-ID:  <200612070229.kB72TbZj068355@www.freebsd.org>
Resent-Message-ID: <200612070230.kB72U9sd078891@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         106432
>Category:       kern
>Synopsis:       Record of disks (DVD-R) through the k3b program leads to lag of system
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Dec 07 02:30:08 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Andrew Muhametshin
>Release:        FreeBSD-6.1-RELEASE
>Organization:
>Environment:
$ uname -a
FreeBSD inspirra.localdomain 6.2-PRERELEASE FreeBSD 6.2-PRERELEASE #0: Wed Dec  6 06:24:11 MSK 2006     root@inspirra.localdomain:/usr/obj/usr/src/sys/INSPIRRA  i386
--------------------
$ atacontrol list
ATA channel 0:
    Master:  ad0 <ST3120026A/3.06> ATA/ATAPI revision 6
    Slave:       no device present
ATA channel 1:
    Master: acd0 <TEAC DV-W516GDM/M4S2> ATA/ATAPI revision 7
    Slave:       no device present
ATA channel 2:
    Master:  ad4 <ST380811AS/3.AAE> Serial ATA v1.0
    Slave:       no device present
--------------------
$ pkg_info -E k3b\*
k3b-0.12.17
k3b-i18n-0.12.17
--------------------
$ dmesg | grep -E "^(acd|cd|ad|ata)"
atapci0: <nVidia nForce MCP51 UDMA133 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xf400-0xf40f at device 13.0 on pci0
ata0: <ATA channel 0> on atapci0
ata1: <ATA channel 1> on atapci0
atapci1: <nVidia nForce MCP51 SATA300 controller> port 0x9f0-0x9f7,0xbf0-0xbf3,0x970-0x977,0xb70-0xb73,0xe000-0xe00f mem 0xfe02d000-0xfe02dfff irq 20 at device 14.0 on pci0
ata2: <ATA channel 0> on atapci1
ata3: <ATA channel 1> on atapci1
atapci2: <nVidia nForce MCP51 SATA300 controller> port 0x9e0-0x9e7,0xbe0-0xbe3,0x960-0x967,0xb60-0xb63,0xcc00-0xcc0f mem 0xfe02c000-0xfe02cfff irq 21 at device 15.0 on pci0
ata4: <ATA channel 0> on atapci2
ata5: <ATA channel 1> on atapci2
ad0: 114473MB <Seagate ST3120026A 3.06> at ata0-master UDMA100
acd0: DMA limited to UDMA33, device found non-ATA66 cable
acd0: DVDR <TEAC DV-W516GDM/M4S2> at ata1-master UDMA33
ad4: 76319MB <Seagate ST380811AS 3.AAE> at ata2-master SATA150
cd0 at ata1 bus 0 target 0 lun 0
cd0: <TEAC DV-W516GDM M4S2> Removable CD-ROM SCSI-0 device
cd0: 33.000MB/s transfers
cd0: cd present [1 x 2048 byte records]
>Description:
1.
After an insert of CD/DVD of a disk, for the period of initialization - the system freezes.  Under FreeBSD-6.1-RELEASE  so it was not observed.


2.
Record of DVD-R(16X "Verbatim"), through the program "k3b" leads to messages:
=====================
Dec  7 03:46:41 inspirra kernel: acd0: WARNING - TEST_UNIT_READY taskqueue timeout - completing request directly
Dec  7 03:47:01 inspirra kernel: acd0: WARNING - TEST_UNIT_READY freeing taskqueue zombie request
Dec  7 03:48:41 inspirra kernel: acd0: WARNING - PREVENT_ALLOW taskqueue timeout - completing request directly
Dec  7 03:48:41 inspirra kernel: acd0: WARNING - PREVENT_ALLOW freeing taskqueue zombie request
=====================
and the system hangs (but ping inquiry from other machine - answers) - the button "reset" helps only.

- But the same disks (DVD-R), on this device, but under FreeBSD-6.1-RELEASE - were written perfectly.  And the same disks, on this device, but under WinXP - were written, as, well.
- And other disks (CD-R/RW, DVD+RW), are written without problems, on all versions of FreeBSD.

3.
The device (TEAC DV-W516GDM) supports a mode "UDMA-4", but during loading FreeBSD, the message is deduced about:
======================
acd0: DMA limited to UDMA33, device found non-ATA66 cable
acd0: DVDR <TEAC DV-W516GDM/M4S2> at ata1-master UDMA33
======================
- But the correct cable is used (Cable IDE ATA 66/100 80Pin). 
- The cable of 100 % works (I tried to change 4 new cables), nevertheless the message: "...found non-ATA66 cable" - it was constant.
- And as, the windows XP, by this machine, defines a mode "UDMA-4" correctly, also writes down dvd-disks on is maximal-possible speed.


>How-To-Repeat:
It is enough to use the k3b program, for record of DVD-R disks.
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200612070229.kB72TbZj068355>