Date: Fri, 17 Nov 2006 11:20:44 +0300 From: Solar Designer <solar@...nwall.com> To: owl-users@...ts.openwall.com Subject: Re: SATA controller Galaxy, Vlad - On Fri, Nov 17, 2006 at 09:40:19AM +0300, (GalaxyMaster) wrote: > 2. unpack the kernel sources into the created directory: > # cd /tmp/kernel > # tar xjf /usr/src/kernel/linux-2.4.<n>.tar.bz2 > > 3. configure kernel: > # cp /boot/config* /tmp/kernel/.config > (unfortunately, I don't remember how the config is named on the CD, > so you need to look it up in /boot first, but I think you wont > miss it :) ) It's /boot/.config However, you've forgotten one important step - the patches found under /usr/src/kernel/ need to be applied prior to "make oldconfig". Then, if the required driver is indeed in the mainstream kernel by now, the appropriate option in "make menuconfig" should be set to "M" (module), then the module should be built with "make modules" and loaded with "insmod" right out of the kernel build tree. "make modules_install" must not be used - it won't work when running off the CD (well, there is a way to make it work - but there's no need for that). P.S. On a real (installed) system, /tmp must not be abused like that - doing so would be risky. But it is OK on a CD-booted system in single user mode. -- Alexander Peslyak <solar at openwall.com> GPG key ID: 5B341F15 fp: B3FB 63F4 D7A3 BCCC 6F6E FC55 A2FC 027C 5B34 1F15 http://www.openwall.com - bringing security into open computing environments Was I helpful? Please give your feedback here: http://rate.affero.net/solar
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.