Results 11 to 14 of 14
Enjoy an ad free experience by logging in. Not a member yet? Register.
Originally Posted by Bending UnitCode:
Go into MCC > "Look at installable software and install software..."
search for "kernel-source" (without the quotes)
pick the version which corresponds to the output of uname -r
If this isn't in the list, check in "Look at installed software and uninstall...", and search for "kernel-source" in there, to check that it is indeed installed.
If it is instaled (so the problem lies elsewhere), try going into a console and typingCode:
If 2.6.12-19mdk-i586-up-1GB isn't listed, but something similar is, it means that the make command is simply looking in the wrong place, and this can probably changed by editing the makefile (tho I don't know how complex that might be).
Of course, if installing "kernel-source" did work, just ignore that last chunk - it's irrelevant And because anything else I write now might well be just as pointles, I wont go any further at this stage.
EDITS: making it make a little more sense (well, I can try at least )
- Join Date
- May 2006
Hmmm this is strange I looked in "Installable Software" but it didn't have the same version I was looking for, so I searched "Installed Software" and came up empty. I followed your other instructions and it turns out 2.6.12-19mdk-i586-up-1GB IS listed there so I looked inside of that.
[mm14@localhost 2.6.12-19mdk-i586-up-1GB]$ ls kernel/ modules.dep modules.inputmap modules.seriomap modules.alias modules.description modules.isapnpmap modules.symbols modules.ccwmap modules.ieee1394map modules.pcimap modules.usbmap
Thanks for hanging in there with me by the way.
Yeah, it does indeed seem to be trying to find a folder called "build" in there.
Ah ha! What a lucky coincidence: I had been convinved that I'd already installed kernel-source on my box, but discovered while going through the steps (so that i could record them) that I hadn't. So I then did. This means that I'm able to compare the output ofCode:
So the answer is, you do need to install kernel source. However, urpmi doesn't have the right version. (I suspect that, like me, you saw 2.6.12-12mdk and 2.6.12-21mdk available when you searched for kernel-source). So I guess there are two options: use the wrong version (easy but may not work - I don't know how risky this might be) or find another way to get the right source.
I've gotta go out now, so I can't look into alternative ways of installing kernel-source. I'll look into it again later, but it may be a little difficult to track down, because 2.6.12-19mdk-i586-up-1GB is specially edited by the mandriva team (hence the mdk bit).
If anyone knows how big a problem it would be it would be to install the wrong version of kernel-source I'm sure we'd both love to hear
I tried google-linuxing for that specific kernel, and the results were less than helpful. But then I suddenly realised that there should be a much easier way of getting the source to it: anyone who edits GPL'd code (and the kernel is covered by GPL v2) is required to make the source of their new version available, so if you email Mandriva and ask them where the source for kernel-source-2.6.12-19mdk-i586-up-1GB is they're required to point you in the right direction.
Since mandriva make their money from supporting people who use their OS, they're quite secretive about support email addresses and so forth, but that doesn't mean they aren't required to help you on this, and they do have a contact page, tho working out which options to go for could be a challenge