1 msgHEADS UP: a change to pam_nologin(8)
1 msga gdb patch for fbsd
9 msgThreading breaking FreeBSD Foundation's Java?
5 msgzfs drive configurations?
7 msgbge auto-negotiation fails with recent current

ATAPI DVD writer wont operate in DMA mode
\ Tom Evans (8 Jun 2007)
. \ Scott Long (8 Jun 2007)
. . \ Tom Evans (12 Jun 2007)

1 msgRe: nscd for freebsd
6 msgJun 7.0-CURRENT AMD64 snapshot
2 msgrcNG multi-server service dependencies
22 msgpanic when removing pccard
1 msgConnections problem
2 msglibgpg-error doesn't build with new nawk
3 msgddclient on startup
3 msgZFS compatibility
8 msgCTF: compat6x port
3 msgif_msk 'failed to allocate DMA'able memory for ...
8 msgWhy not remove polling(4) from 7.0?
9 msgPanic in ipfw
5 msgmd(4) broken on CURRENT?
8 msggjournal + WARNING: R/W mount of / denied. File...
Subject:Re: ATAPI DVD writer wont operate in DMA mode
Group:Freebsd-current
From:Tom Evans
Date:12 Jun 2007


 

On Fri, 2007-06-08 at 11:22 -0600, Scott Long wrote:
> Is this device attached via SATA or IDE? If it's SATA, then no, the
> driver doesn't support SATA-ATAPI + DMA.
>
> Scott
>
>
> Tom Evans wrote:
> > Hi was hoping someone could help me get my DVD writer operating in DMA.
> > Trying to set the mode with atacontrol succeeds, but only sets the mode
> > to WDMA, which is hardly better than PIO.
> >
> > I tried tracing through the DMA initialisation in sys/dev/ata/ata-pci.c,
> > but I got lost I'm afraid.
> >
> > Here is pertinent information:
> >
> > uname -a:
> > FreeBSD zoot.mintel.co.uk 7.0-CURRENT FreeBSD 7.0-CURRENT #1:
> > Tue Jun 5 14:39:27 BST 2007 (sources synched ~5 hrs prior to this)
> > root:/usr/obj/usr/src/sys/ZOOT i386
> >
> > dvd device:
> > acd0: DVDR <MATSHITADVD-RAM UJ-840S/1.11> at ata0-master
> >
> > ata controller:
> > atapci0@pci0:31:1: class=0x01018a card=0x30aa103c chip=0x27df8086
> > rev=0x01 hdr=0x00
> > device = '82801G (ICH7 Family) Ultra ATA Storage Controller'
> >
> > dmesg.boot: attached (sorry, not verbose, can get verbose if reqd)
> >
> > pciconf -lv: attached
> >
> > sysctl hw.ata:
> > hw.ata.wc: 1
> > hw.ata.atapi_dma: 1
> > hw.ata.ata_dma: 1
> > (Set via /boot/loader.conf)
> >
> > atacontrol cap acd0:
> >
> > Protocol ATA/ATAPI revision 6
> > device model MATSHITADVD-RAM UJ-840S
> > serial number
> > firmware revision 1.11
> > cylinders 0
> > heads 0
> > sectors/track 0
> > lba supported
> > lba48 not supported
> > dma supported
> > overlap not supported
> >
> > Feature Support Enable Value Vendor
> > write cache no no
> > read ahead no no
> > Tagged Command Queuing (TCQ) no no 0/0x00
> > SMART no no
> > microcode download no no
> > security no no
> > power management no no
> > advanced power management no no 0/0x00
> > automatic acoustic management no no 0/0x00 0/0x00
> >
> > TIA
> >
> > Tom
> >
>
It would appear not:

$ dmesg | grep 'acd0\|ata0\|atapci0'
atapci0: <Intel ICH7 UDMA100 controller> port
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x60a0-0x60af irq 16 at device 31.1
on pci0
ata0: <ATA channel 0> on atapci0
ata0: [ITHREAD]
ata1: <ATA channel 1> on atapci0
acd0: DVDR <MATSHITADVD-RAM UJ-840S/1.11> at ata0-master PIO4
acd0: FAILURE - INQUIRY ILLEGAL REQUEST asc=0x24 ascq=0x00
cd0 at ata0 bus 0 target 0 lun 0



© 2004-2008 readlist.com