TCLUG Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [TCLUG:3733] modules won't load automatically



On 26 Jan, Hans Davin Umhoefer wrote:
> Ben Luey wrote:
>> /usr/src/vmlinux doesn't exist. I did the grep on my kernel
>> (/boot/vmlinuz) and the grep doesn't find anything. I have no .rhkmvtag in
>> /lib/modules/2.2pre6
> 
> I think what Yao-Pin meant to say was /usr/src/linux/vmlinux which should exist after you finish compiling the kernel. So the command would be
> 
> grep '2.2.0' /usr/src/linux/vmlinux > /lib/modules/2.2.0/.rhkmvtag
> 
You got the directory right, but you changed the meaning of his regular
expression.  
grep 'Linux version' /usr/src/linux/vmlinux >
/lib/modules/${dir}/.rhkvmtag
will work, provided you define dir.


-- 
Jon Schewe 
http://tcfreenet.org/~schewe
schewe@tcfreenet.org