From owner-freebsd-stable@FreeBSD.ORG Mon May 30 06:40:47 2005 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F2F0416A41C for ; Mon, 30 May 2005 06:40:46 +0000 (GMT) (envelope-from loox@e-shell.net) Received: from sophia3.e-shell.net (sophia3.e-shell.net [64.246.46.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id BD52043D1F for ; Mon, 30 May 2005 06:40:46 +0000 (GMT) (envelope-from loox@e-shell.net) Received: from dsl-201-137-128-215.prod-infinitum.com.mx (unknown [201.137.128.215]) by sophia3.e-shell.net (Postfix) with ESMTP id 0134C656826 for ; Mon, 30 May 2005 01:40:45 -0500 (CDT) From: Axel Gonzalez To: freebsd-stable@freebsd.org Date: Mon, 30 May 2005 01:40:43 -0500 User-Agent: KMail/1.8 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200505300140.43646.loox@e-shell.net> Subject: DVD only gets udma2 (udma4 capable) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 May 2005 06:40:47 -0000 Im getting problems to get the DVD burner in udma4 mode. It says: ata1-master: DMA limited to UDMA33, non-ATA66 cable or device This is wrong, the device is udma4 capable. The problem seems to be in the detection of the cable type, it detects it as 40-pin, while its a 80-pin one. (dmsg is at the end) * The DVD is secondary master, with no other devices on the cable * THe bios detects it correctly, on boot screen it says udma66 * When booting in w*n, it says udma66 * I have another hard drive udma100 on same system, so I inverted (identical) cables, and the HD is still at udma100, this to discard any cable problems. Its important to get udma66 working, in order to achive maximum burning speed for the drive. So i'm out of ideas here, and any help would be apretiated. Thanks in advance :) Here is the (relevant) parts of dmesg: (snip) atapci0: port 0xb800-0xb8ff,0xb400-0xb40f,0xb000-0 xb003,0xac00-0xac07,0xa800-0xa803,0xa400-0xa407 irq 20 at device 15.0 on pci0 atapci0: Reserved 0x10 bytes for rid 0x20 type 4 at 0xb400 atapci0: [MPSAFE] ata2: channel #0 on atapci0 atapci0: Reserved 0x8 bytes for rid 0x10 type 4 at 0xa400 atapci0: Reserved 0x4 bytes for rid 0x14 type 4 at 0xa800 ata2: reset tp1 mask=03 ostat0=50 ostat1=7f ata2-master: stat=0x50 err=0x01 lsb=0x00 msb=0x00 ata2-slave: stat=0x7f err=0xff lsb=0xff msb=0xff ata2-slave: stat=0x7f err=0xff lsb=0xff msb=0xff ata2-slave: stat=0x7f err=0xff lsb=0xff msb=0xff ata2-slave: stat=0x7f err=0xff lsb=0xff msb=0xff ata2-slave: stat=0x7f err=0xff lsb=0xff msb=0xff ata2-slave: stat=0x7f err=0xff lsb=0xff msb=0xff ata2-slave: stat=0x7f err=0xff lsb=0xff msb=0xff ata2-slave: stat=0x7f err=0xff lsb=0xff msb=0xff ata2: reset tp2 stat0=50 stat1=ff devices=0x1 ata2: [MPSAFE] ata3: channel #1 on atapci0 atapci0: Reserved 0x8 bytes for rid 0x18 type 4 at 0xac00 atapci0: Reserved 0x4 bytes for rid 0x1c type 4 at 0xb000 ata3: reset tp1 mask=03 ostat0=7f ostat1=7f ata3-master: stat=0x7f err=0xff lsb=0xff msb=0xff ata3-master: stat=0x7f err=0xff lsb=0xff msb=0xff ata3-master: stat=0x7f err=0xff lsb=0xff msb=0xff ata3-master: stat=0x7f err=0xff lsb=0xff msb=0xff ata3-master: stat=0x7f err=0xff lsb=0xff msb=0xff ata3-master: stat=0x7f err=0xff lsb=0xff msb=0xff ata3-master: stat=0x7f err=0xff lsb=0xff msb=0xff ata3-master: stat=0x7f err=0xff lsb=0xff msb=0xff ata3-slave: stat=0x7f err=0xff lsb=0xff msb=0xff ata3: reset tp2 stat0=ff stat1=ff devices=0x0 ata3: [MPSAFE] atapci1: port 0xbc00-0xbc0f,0x376,0x170-0x177,0x3f 6,0x1f0-0x1f7 at device 15.1 on pci0 atapci1: Reserved 0x10 bytes for rid 0x20 type 4 at 0xbc00 ata0: channel #0 on atapci1 atapci1: Reserved 0x8 bytes for rid 0x10 type 4 at 0x1f0 atapci1: Reserved 0x1 bytes for rid 0x14 type 4 at 0x3f6 ata0: reset tp1 mask=03 ostat0=50 ostat1=00 ata0-master: stat=0x50 err=0x01 lsb=0x00 msb=0x00 ata0-slave: stat=0x00 err=0x01 lsb=0x00 msb=0x00 ata0: reset tp2 stat0=50 stat1=00 devices=0x1 ata0: [MPSAFE] ata1: channel #1 on atapci1 atapci1: Reserved 0x8 bytes for rid 0x18 type 4 at 0x170 atapci1: Reserved 0x1 bytes for rid 0x1c type 4 at 0x376 ata1: reset tp1 mask=03 ostat0=50 ostat1=00 ata1-master: stat=0x00 err=0x01 lsb=0x14 msb=0xeb ata1-slave: stat=0x00 err=0x00 lsb=0x00 msb=0x00 ata1: reset tp2 stat0=00 stat1=00 devices=0x4 ata1: [MPSAFE] (snip) ata0-master: pio=0x0c wdma=0x22 udma=0x45 cable=80pin ata0-master: setting PIO4 on VIA 8237 chip ata0-master: setting UDMA100 on VIA 8237 chip ad0: ATA-6 disk at ata0-master ad0: 57241MB (117231408 sectors), 116301 C, 16 H, 63 S, 512 B ad0: 16 secs/int, 1 depth queue, UDMA100 ar: FreeBSD check1 failed ata1-master: pio=0x0c wdma=0x22 udma=0x44 cable=40pin ata1-master: setting PIO4 on VIA 8237 chip ata1-master: DMA limited to UDMA33, non-ATA66 cable or device ata1-master: setting UDMA33 on VIA 8237 chip acd0: DVDR drive at ata1 as master acd0: read 8268KB/s (8268KB/s) write 8268KB/s (8268KB/s), 2048KB buffer, UDMA33 acd0: Reads: CDR, CDRW, CDDA stream, DVDROM, DVDR, packet acd0: Writes: CDR, CDRW, DVDR, test write, burnproof acd0: Audio: play, 256 volume levels acd0: Mechanism: ejectable tray, unlocked acd0: Medium: CD-ROM 120mm data disc ata2-master: pio=0x0c wdma=0x22 udma=0x46 cable=40pin ad4: ATA-7 disk at ata2-master ad4: 78167MB (160086528 sectors), 158816 C, 16 H, 63 S, 512 B ad4: 16 secs/int, 1 depth queue, SATA150