From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: From: erik quanstrom Date: Mon, 4 Jun 2007 07:45:18 -0400 To: 9fans@cse.psu.edu Subject: Re: [9fans] fossil crash after installation In-Reply-To: <10b109140706040232q4a660daera1e8161433e65c0e@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Topicbox-Message-UUID: 7819d586-ead2-11e9-9d60-3106f5b1d025 > Where is the best place to disable DMA ? > This command can be used in termrc (or cpurc) after kernel is loaded. But > isn't it late? > > Antonin dma is left as bios left it. c.f. /sys/src/9/pc/sdata.c:/^atadmamode so disabling dma in bios should do the trick. you can verify this with ; /cat /dev/sdC0/ctl | grep config config 427A capabilities 2F00 dma 00550040 dmactl 00000000 rwm 16 rwmctl 0 lba48always off the number following dmactl will be non-zero if dma is on. - erik