DVD only gets udma2 (udma4 capable)

From: Axel Gonzalez (loox_at_e-shell.net)
Date: 05/30/05

  • Next message: Boris Samorodov: "Re: minor change to /etc/rc.d/var"
    To: freebsd-stable@freebsd.org
    Date: Mon, 30 May 2005 01:40:43 -0500
    
    

    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: <VIA 6420 SATA150 controller> 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<ATA_MASTER>
    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: <VIA 8237 UDMA133 controller> 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<ATA_MASTER>
    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<ATAPI_MASTER>
    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: <ST360020A/3.34> 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: <LITE-ON DVDRW SOHW-1673S/JS02> 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: <Maxtor 6Y080M0/YAR51BW0> 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
    _______________________________________________
    freebsd-stable@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-stable
    To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"


  • Next message: Boris Samorodov: "Re: minor change to /etc/rc.d/var"

    Relevant Pages

    • UDMA100 drives fall back to UDMA33
      ... DMA limited to UDMA33, ... This despite both the drives and 80-pin cables are supposedly ATA100 ... DMA mode is 5. ...
      (freebsd-questions)
    • Re: ATA activity LED
      ... the pio4 mode is on only there because it is not ... > second ide able, it should be atleast UDMA33, I have a liteon so I ... > cables is much faster anyway. ... on pci0 ...
      (freebsd-current)
    • Re: VIA VT8237R+ chipset [SOLVED]
      ... drive to the controller (i.e. bad cables or induction of noise). ... This is definitely a hardware problem that is only detected by ... the CRC unit in the IDE adapter. ... As a work-around reduce the data rate to UDMA33 (which worked ...
      (freebsd-current)
    • Re: Native SATA vs. PATA-emulation - differnce?
      ... ad4: DMA limited to UDMA33, ... That's why you are only getting UDMA33. ... IIRC almost all SATA cables are non-ATA66 cables.... ...
      (freebsd-stable)