On Fri, 29 Jul 2005 10:47 am, James Gray wrote:
> First Problem:
> Whilst hacking the bejeezus out of the Q3 installer to handle my AMD64
> Kubuntu system, I realised the DVD-ROM has stopped running in DMA mode
> (WTF?).  It used to, but I haven't used it in over 4 months and I think
> there was a kernel update in there somewhere.  I've done the "hdparm -d1
> /dev/hda" but it just barfs and syslog dumps a "Drive Seek Error 0x51 etc"
> in dmesg (yes, hda, my SATA drive is the boot drive and is sda).  Any
> ideas?  I'm not in front of my AMD64 box so chipsets/exact-errors will come
> later....just thought someone might have seen this before?

OK - the DMA root cause has been identified:

$grep -i dma /boot/config-2.6.10-5-amd64-generic
...
CONFIG_IDEDMA_ONLYDISK=y

Ghoddammit! WHO put that in there?!? When?! Why?  Any brain-waves on how to 
disable it without a kernel compile?  I know how to build a kernel the 
"debain way" but I'd rather just stick with the distro's default kernels (coz 
I'm lazy and don't want to break stuff...like the NVidia package!).

$sudo hdparm -d1 /dev/hda
/dev/hda:
 setting using_dma to 1 (on)
 HDIO_SET_DMA failed: Operation not permitted
 using_dma    =  0 (off)                                                        
                                                                            

$lspci
0000:00:00.0 Host bridge: VIA Technologies, Inc. VT8385 [K8T800 AGP] Host
             Bridge (rev 01)
0000:00:01.0 PCI bridge: VIA Technologies, Inc. VT8237 PCI bridge [K8T800
             South]
0000:00:07.0 FireWire (IEEE 1394): VIA Technologies, Inc. IEEE 1394 Host
             Controller (rev 80)
0000:00:0a.0 Ethernet controller: Marvell Technology Group Ltd. Yukon Gigabit
             Ethernet 10/100/1000Base-T Adapter (rev 13)
0000:00:0f.0 RAID bus controller: VIA Technologies, Inc. VIA VT6420 SATA RAID
             Controller (rev 80)
0000:00:0f.1 IDE interface: VIA Technologies, Inc.
             VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06)
...
(snipped USB stuff and video card/AGP fru-fru)

James
-- 
"Dump the condiments.  If we are to be eaten, we don't need to taste good."
-- "Visionaries" cartoon

Attachment: pgpmUFU8r0e5x.pgp
Description: PGP signature

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to