From owner-freebsd-bugs Sat Jan 4 21: 4:36 2003 Delivered-To: freebsd-bugs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E148037B401 for ; Sat, 4 Jan 2003 21:04:34 -0800 (PST) Received: from mailsrv.otenet.gr (mailsrv.otenet.gr [195.170.0.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id CC76D43EA9 for ; Sat, 4 Jan 2003 21:04:33 -0800 (PST) (envelope-from keramida@freebsd.org) Received: from gothmog.gr (patr530-b122.otenet.gr [212.205.244.130]) by mailsrv.otenet.gr (8.12.6/8.12.6) with ESMTP id h0554O4V021197; Sun, 5 Jan 2003 07:04:26 +0200 (EET) Received: from gothmog.gr (gothmog [127.0.0.1]) by gothmog.gr (8.12.6/8.12.6) with ESMTP id h0554Onr012444; Sun, 5 Jan 2003 07:04:24 +0200 (EET) (envelope-from keramida@freebsd.org) Received: (from giorgos@localhost) by gothmog.gr (8.12.6/8.12.6/Submit) id h0554N5N012443; Sun, 5 Jan 2003 07:04:23 +0200 (EET) (envelope-from keramida@freebsd.org) Date: Sun, 5 Jan 2003 07:04:23 +0200 From: Giorgos Keramidas To: Abbas Karbassian Cc: freebsd-bugs@freebsd.org Subject: Re: Kernel fails and generates a error message. Message-ID: <20030105050423.GB12240@gothmog.gr> References: <20030105042044.8351.qmail@web41104.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030105042044.8351.qmail@web41104.mail.yahoo.com> Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On 2003-01-04 20:20, Abbas Karbassian wrote: > Problem Report: This is definitely *not* a problem report. You seem to have created a rather liberal imitation of the format used by send-pr(1) but this can not work. To file a proper problem report, please run send-pr(1) and follow the instructions as carefully as possible. > Kernel fails and generates a error message when trying > to enable UDMA in ATA hard Disk. > Environment: > FreeBSD 4.7-RELEASE FreeBSD 4.7-RELEASE #0: Wed Nov > 27 17:23:59 GMT 2002 > root@:/usr/src/sys/compile/KERNEL47 i386 Note that when reporting bugs it's always nice to try reproducing them with the GENERIC kernel and not a local modification. > Description: > I have recently installed FreeBsd4.7 from DVD. I have added the > following line in /etc/rc.local file to enable the highpoint366 > UDMA. > > "sysctl -w hw.atamodes=dma,dma,dma,dma" The canonical way of tweaking sysctl values is to create a file called /etc/sysctl.conf and add the name=value pairs to that file. Then the startup scripts will pick the changes and pass them to sysctl for you. > during boot up time the following message displayed on > the screen: > > "Starting local daemons : sysctl :unknown oid > 'hw.atamodes' " This means that the hw.atamodes object ID does no longer exist. I haven't checked a recent 4.X installation lately, but as far as I can tell from a quick glance at the /usr/src/sys/dev/ata source, this is no longer needed. The knobs that you can tweak for enabling or disabling DMA on ata & atapi devices are now called: hw.ata.ata_dma: 0 hw.ata.atapi_dma: 0 You might also want to check out the manpage of the atacontrol(8) utility for a bit more information on 'modes' of such devices and ways to view and/or change the current mode. - Giorgos To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message