From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-14) on finch.gentoo.org X-Spam-Level: X-Spam-Status: No, score=0.2 required=5.0 tests=DATE_IN_PAST_12_24, DMARC_MISSING,INVALID_DATE,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL autolearn=no autolearn_force=no version=4.0.0 Received: from cicero0.cybercity.dk ([212.242.40.52]) by cvs.gentoo.org with esmtp (Exim 3.22 #1) id 14VZoo-0001gx-00 for gentoo-dev@gentoo.org; Wed, 21 Feb 2001 07:00:34 -0700 Received: from usr00.netlink.se (usr00.netlink.se [212.242.41.186]) by cicero0.cybercity.dk (Postfix) with ESMTP id 917F8102942 for ; Wed, 21 Feb 2001 15:01:29 +0100 (CET) Received: from linux.nu (IDENT:mogge@port32.cvx1-sto.ppp.netlink.se [62.66.4.33]) by usr00.netlink.se (8.9.3/8.9.3) with ESMTP id PAA58177 for ; Wed, 21 Feb 2001 15:01:42 +0100 (CET) (envelope-from mog@linux.nu) Message-ID: <3A93CA70.1050103@linux.nu> From: Morgan Christiansson User-Agent: Mozilla/5.0 (X11; U; Linux 2.2.16-22 i686; en-US; 0.8) Gecko/20010215 X-Accept-Language: sv, en MIME-Version: 1.0 To: gentoo-dev@gentoo.org Subject: Re: [gentoo-dev] Installation Gotchas References: <00c601c09ba3$4a96df70$3201a8c0@coral> <3A935591.FF339AE2@gottinger.de> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: gentoo-dev-admin@gentoo.org Errors-To: gentoo-dev-admin@gentoo.org X-BeenThere: gentoo-dev@gentoo.org X-Mailman-Version: 2.0 Precedence: bulk Reply-To: gentoo-dev@gentoo.org List-Help: List-Post: List-Subscribe: , List-Id: Gentoo Linux development list List-Unsubscribe: , List-Archive: Date: Wed Feb 21 07:01:02 2001 X-Original-Date: Wed, 21 Feb 2001 15:02:24 +0100 X-Archives-Salt: b3bdf186-ba27-45c6-9b76-17155a6cc8d9 X-Archives-Hash: 014bcb31c04b4663ab0ead4fbbec2437 Achim Gottinger wrote: > "Bruce A. Locke" wrote: > >> Hello... >> >> I did my first non-vmware (aka on real hardware) install of Gentoo and was >> wondering about the following: >> >> - If DMA is going to be on by default in the kernel would it be possible to >> include hdparm on the cd image so people with harddrives, etc that have >> issues with DMA can turn it off after the cd boots? I had to create a 10mb >> partition and untar the hdparm package because the HD would freak out with >> DMA turned on under lightload. (Yes I know, old cheap harddrive) > > > Ok hdparam will be there. You could let the user enable/disable it before booting, like this: grep no_dma /proc/cmdline>/dev/null || enable_dma() or the opposite grep no_dma /proc/cmdline >/dev/null && disable_dma() Some more advanced syntax could be added too, such as no_dma=hda,hdb but that's problably overdoing it. Shouldn't there be a kernel option for this in the first place anyway? -- Morgan Christiansson