You are not logged in.
Pages: 1
Hi,
I wanted to upgrade the kernel. I was using kernel26 v2.6.10-ARCH. I've seen a how to ( http://wiki2.archlinux.org/index.php/Cu … 20later%29 ) about making an PKGBUILD for building kernels. I've modified it a bit so it would fit my needs.
After compiling/creating the new package of kernel26 v2.6.11.5 with the suspend2 patch, I've rebooted the new kernel and nothing worked. I was aware that the nvidia and ndiswrapper kernel modules woudn't work so I've downloaded the sources in advance.
I compiled ndiswrapper, but wasn't able to modprobe it. Dmesg returned some info about magic numbers. After a bit of search (with lynx... thats really not as nice as firefox! ) I've found that it was because the module wasn't compiled with the same option as the kernel. The modinfo returned something like "gcc 3.4.3" but uname -a returned something like "gcc 3.4.3 SMP". I didn't understand why the kernel was compiled with SMP and not the things compiled after.
Then I told myself that I would just compile manually the new vanilla kernel, without patches and pkgbuilds, and recompile my modules. After compiling v2.6.11.5 from kernel.org and adapted the grub/menu.lst, I've booted the new v2.6.11.5 but at the module loading, the screen scrolled insanly with messages about sound modules that couldn't be loaded. I didn't let it continue and I pressed ctrl+alt+del to reboot.
Since I deleted/uninstalled the ndiswrapper that was working my good old v2.6.10-ARCH doesn't have internet access anymore. I decided to recompile the v2.6.10-ARCH. But then again, after booting that new kernel compilation, I have the same insane screen about module…
So now I'm here with a 2.6.10-ARCH kernel that cannot compile/load my ndiswrapper and nvidia modules or any new kernel because of some weird SMP flags…
What can I do??? I'm a bit desperate. Arch was my best linux experience to date…
Thank you very much.
Offline
you're in the arch kernel? try grabbing ndiswrapper from my repo in my signature... see if that helps...
can you post the exact text of the errors from make...
the only difference I can think of is that you need the kernel sources in order to compile ndiswrapper... are they properly linked at /usr/src/linux (is that right?)
Offline
Stupid of me!!!
When I builded the kernel, I just ran "make" and not "make modules_install".... So there where no modules for the newly compiled kernel...
After booting to the old 2.6.10-ARCH, I've ran make modules_install and I was able to boot correctly into the 2.6.11-ARCH-CUSTOM. After this, ndiswrapper and nvidia compiled successfuly.
Thanx for your help
Offline
you should use the kernel PKGBUILDs for building a kernel... it's much more concise and you can build upon what others have already done (check the forums for dibble's kernel PKGBUILD with automatic patching, and someone else made an interactive version)
Offline
Yeah but thats exactly what made my system not usable...
Managing kernels via pacman is great, but to dangerous I think...
Offline
I don't understand... how is it dangerous? how did it cause your system to be unusable? there's literally no difference between a PKGBUILD and compiling from source....
Offline
I didn't understand needer, but I wasn't able to boot correctly my computer. I didn't understand what the pkgbuild was doing. Now I've studied it more and trying to adapt it.
Offline
big_gie - lets be fair - you altered the PKGBUILD and broke it and that's why your system wouldn't boot - we all worked passed that now but lets have the cards on the table, eh?
Offline
Offline
Pages: 1