From owner-freebsd-questions Sun Nov 12 13:12:59 2000 Delivered-To: freebsd-questions@freebsd.org Received: from home.se (smtphost1.home.se [195.66.35.197]) by hub.freebsd.org (Postfix) with ESMTP id 291B837B479 for ; Sun, 12 Nov 2000 13:12:56 -0800 (PST) Received: from lango [212.151.102.16] by home.se with Novonyx SMTP Server $Revision: 2.69 $; Sun, 12 Nov 2000 22:12:04 +0100 (ECTD) Message-ID: <000a01c04ced$d6b5e960$0100a8c0@lango> From: "lango" To: Subject: Disable DMA in kernel? Date: Sun, 12 Nov 2000 22:16:34 +0100 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0007_01C04CF6.37DE5F80" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG This is a multi-part message in MIME format. ------=_NextPart_000_0007_01C04CF6.37DE5F80 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Yeah I am a freeBSD newbie and I have a lame disk that doesn't work very = well with DMA although it says it does. I know how to disable dma with = the command sysctl -w hw.atamode=3Ddma,--,pio,pio. ( I have a 19 Gb disk = on ata0 and a 8 Gb disk and a Atapi cdrom on ata1, Win2000 on disk0ata0 = and freebsd on disk0ata1, I have the bootstrap on disk1ata1). I cant't = get it to work automatically in the boot process when i use sysctl.conf = in /etc. It say's in the man that sysctl should read in this file but it = doenst change the settings. my sysctl.conf look like this hw.atamode=3Ddma,---,pio,pio I can't use DMA since it produces a lot of write errors so I want a way = to disabel DMA in the kernel/bootprocess so you dont have to type it in = every time. The ideal thing would be to disable it when i compile a new = kernel since it produces write errors early in the boot process... ------=_NextPart_000_0007_01C04CF6.37DE5F80 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Yeah I am a freeBSD newbie and I have a = lame disk=20 that doesn't work very well with DMA although it says it does. I know = how to=20 disable dma with the command sysctl -w hw.atamode=3Ddma,--,pio,pio. ( I = have a 19=20 Gb disk on ata0 and a 8 Gb disk and a Atapi cdrom on = ata1,=20 Win2000 on disk0ata0 and freebsd on = disk0ata1, I=20 have the bootstrap on disk1ata1). I cant't=20 get it to work automatically in the boot process when i use = sysctl.conf in=20 /etc. It say's in the man that sysctl should read in this file but it = doenst=20 change the settings. my sysctl.conf look like this
hw.atamode=3Ddma,---,pio,pio
I can't use DMA since it produces = a lot of=20 write errors so I want a way to disabel DMA in the kernel/bootprocess so = you=20 dont have to type it in every time. The ideal thing would be to disable = it when=20 i compile a new kernel since it produces write errors early in the boot=20 process...
------=_NextPart_000_0007_01C04CF6.37DE5F80-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message