You are not logged in.
Im trying to patch my wireless drivers while following http://www.aircrack-ng.org/doku.php?id=compat-wireless
Now heres what my issue is, in the make file it looks for my directory "/usr/src/linux-3.8.*-1-ARCH", it uses "uname -a" to do so, but what ive ran into is that that folder is alway 1 number ahead of my actual kernel version.
EX:
uname -a shows me:
3.8.5-1-ARCH
While the only folder i have in /usr/src is:
/usr/src/linux-3.8.6-1-ARCH/
So its 6-1 when in reality my kernal is 5-1.
I went in and manually edited that since i knew that would be no biggie, then when i ran "make" as normal user it came up with this new error:
make[3]: *** [/home/dyzaster/Downloads/compat-wireless-3.6.8-1/drivers/bcma/main.o] Error 1
make[2]: *** [/home/dyzaster/Downloads/compat-wireless-3.6.8-1/drivers/bcma] Error 2
make[1]: *** [_module_/home/dyzaster/Downloads/compat-wireless-3.6.8-1] Error 2
make[1]: Leaving directory `/usr/src/linux-3.8.6-1-ARCH'
make: *** [modules] Error 2So with this thread i have 2 questions, first off, is it normal for the folder and kernel version to be off like that? Im assuming no, and if not then how do i fix that? And most importantly what is this error and what do i do at this point?
Thank you for any and all feedback ![]()
~The Dyzaster
Offline
What's the output of "pacman -Q | grep linux"?
/usr/src/linux-* belongs to linux-headers. uname -a shows the version of the kernel you're currently using. Either you didn't reboot after updating your kernel, or you're not keeping the linux and linux-headers packages in sync.
Offline
What's the output of "pacman -Q | grep linux"?
/usr/src/linux-* belongs to linux-headers. uname -a shows the version of the kernel you're currently using. Either you didn't reboot after updating your kernel, or you're not keeping the linux and linux-headers packages in sync.
That is the output, which does look incorrect to me, im going to reboot right now because linux headers just updated today, i will see if it says anything differently, if so then ill update with that.
archlinux-keyring 20130406-1
linux 3.8.6-1
linux-api-headers 3.8.4-1
linux-firmware 20121118-1
linux-headers 3.8.6-1
util-linux 2.22.2-2Offline
You probably didn't paste the line which has the actual error.
The page you linked to is for older kernels, it links to http://drvbp1.linux-foundation.org/~mcg … t-drivers/, which has stuff for the 3.8 kernel.
There are some compat-drivers packages in AUR.
What patch(es) are you trying to apply?
Offline
You probably didn't paste the line which has the actual error.
The page you linked to is for older kernels, it links to http://drvbp1.linux-foundation.org/~mcg … t-drivers/, which has stuff for the 3.8 kernel.
There are some compat-drivers packages in AUR.
What patch(es) are you trying to apply?
I need to patch 2 drivers:
rtl8192cu (Which is a USB Dongle)
and
iwlwifi (Build in Athros wifi card+Bluetooth)
And i would rather use source for this then use the AUR, just to make sure its correct.
I dont see 3.8.6-1 there, because im sure you know more then i do about the kernel, which version should i use? "compat-drivers-3.8-1", or "compat-drivers-3.8-1-u"?
Last edited by Dyzaster (2013-04-09 18:32:51)
Offline
Never mind the AUR was perfect, im going ahead and installing VIA AUR instead of source like you suggested ![]()
~The Dyzaster
Offline
The problem you had at the beginning could be simply that the kernel was updated with "pacman -Syu" but you did not reboot.
Offline
The problem you had at the beginning could be simply that the kernel was updated with "pacman -Syu" but you did not reboot.
I do "pacman -Syyu" And i rebooted many times, and it still happens. (And the Kernel wasnt updated, only Linux-headers i believe)
Just an hour or so ago my computer crashed, could that be related to this issue? It will load grub, will check for blocks, then it just blank screens. I dont want to go into too much detail on here since ive made a new topic about it, but i want to know if you guys think that could be whats wrong? As i said ive rebooted many times today (Over 20 times) And that was all after my update, and i did not receive this issue until i rebooted about the 15th time.
~The Dyzaster
Offline