RageLtMan
11-22-2008, 04:42 AM
Hello all, so following the instructions in http://forums.remote-exploit.org/showthread.php?t=13426 i have upgraded my kernel (see last post in that thread).
Having tried 2.6.27.7 and 2.6.28-rc6 i keep running into the same thing: my new hardware is detected, but trying to configure things like the nvidia driver ends badly. The logfiles claim that linux configuration files are missing, etc etc... evil stuff. Is there something to be done post-config to fix this?
I'm also unable run the diff patches for the ilwlan drivers which would allow me to use monitor mode and injection, i keep getting errors:
bt linux # patch -p1 --verbose < patch_iwl-agn
Hmm... Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff --git a/drivers/net/wireless/iwlwifi/iwl-agn.c b/drivers/net/wireless/iwlwifi/iwl-agn.c
|index c3b1789..1547122 100644 (file)
|--- a/drivers/net/wireless/iwlwifi/iwl-agn.c
|+++ b/drivers/net/wireless/iwlwifi/iwl-agn.c
--------------------------
Patching file drivers/net/wireless/iwlwifi/iwl-agn.c using Plan A...
patch unexpectedly ends in middle of line
Hunk #1 FAILED at 2730.
1 out of 1 hunk FAILED -- saving rejects to file drivers/net/wireless/iwlwifi/iwl-agn.c.rej
done
I'm guessing that the patch was made for an earlier driver, but this happens with with 2.6.27.7 as well as 2.6.28-rc6. I'm lost... can anyone help? Thanks
So this is what the nvidia installer log shows with kernel 2.6.28-rc6:
-> No precompiled kernel interface was found to match your kernel; would you li
ke the installer to attempt to download a kernel interface for your kernel f
rom the NVIDIA ftp site (ftp://download.nvidia.com)? (ftp://download.nvidia.com%29?) (Answer: Yes)
-> No matching precompiled kernel interface was found on the NVIDIA ftp site;
this means that the installer will need to compile a kernel interface for
your kernel.
-> Performing CC sanity check with CC="cc".
-> Performing CC version check with CC="cc".
-> Kernel source path: '/lib/modules/2.6.28-rc6/source'
-> Kernel output path: '/lib/modules/2.6.28-rc6/build'
ERROR: If you are using a Linux 2.4 kernel, please make sure
you either have configured kernel sources matching your
kernel or the correct set of kernel headers installed
on your system./lib/modules/2.6.28-rc6/source and build both point to /usr/src/linux which points to /usr/src/linux-2.6.28-rc6... thats the directory i was in when i compiled and installed the kernel, so i figure kernel sources are where they're supposed to be. What about headers? I'm actually a bit confused as to what kernel headers are, how to view the setup, or what the correct setup even is. F my life *sigh*.
On the bright side, this might be the first kernel build done by a grunt in iraq :). This place is so out of whack i'm actually enthused to watch a kernel build itself on my day off.
Having tried 2.6.27.7 and 2.6.28-rc6 i keep running into the same thing: my new hardware is detected, but trying to configure things like the nvidia driver ends badly. The logfiles claim that linux configuration files are missing, etc etc... evil stuff. Is there something to be done post-config to fix this?
I'm also unable run the diff patches for the ilwlan drivers which would allow me to use monitor mode and injection, i keep getting errors:
bt linux # patch -p1 --verbose < patch_iwl-agn
Hmm... Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff --git a/drivers/net/wireless/iwlwifi/iwl-agn.c b/drivers/net/wireless/iwlwifi/iwl-agn.c
|index c3b1789..1547122 100644 (file)
|--- a/drivers/net/wireless/iwlwifi/iwl-agn.c
|+++ b/drivers/net/wireless/iwlwifi/iwl-agn.c
--------------------------
Patching file drivers/net/wireless/iwlwifi/iwl-agn.c using Plan A...
patch unexpectedly ends in middle of line
Hunk #1 FAILED at 2730.
1 out of 1 hunk FAILED -- saving rejects to file drivers/net/wireless/iwlwifi/iwl-agn.c.rej
done
I'm guessing that the patch was made for an earlier driver, but this happens with with 2.6.27.7 as well as 2.6.28-rc6. I'm lost... can anyone help? Thanks
So this is what the nvidia installer log shows with kernel 2.6.28-rc6:
-> No precompiled kernel interface was found to match your kernel; would you li
ke the installer to attempt to download a kernel interface for your kernel f
rom the NVIDIA ftp site (ftp://download.nvidia.com)? (ftp://download.nvidia.com%29?) (Answer: Yes)
-> No matching precompiled kernel interface was found on the NVIDIA ftp site;
this means that the installer will need to compile a kernel interface for
your kernel.
-> Performing CC sanity check with CC="cc".
-> Performing CC version check with CC="cc".
-> Kernel source path: '/lib/modules/2.6.28-rc6/source'
-> Kernel output path: '/lib/modules/2.6.28-rc6/build'
ERROR: If you are using a Linux 2.4 kernel, please make sure
you either have configured kernel sources matching your
kernel or the correct set of kernel headers installed
on your system./lib/modules/2.6.28-rc6/source and build both point to /usr/src/linux which points to /usr/src/linux-2.6.28-rc6... thats the directory i was in when i compiled and installed the kernel, so i figure kernel sources are where they're supposed to be. What about headers? I'm actually a bit confused as to what kernel headers are, how to view the setup, or what the correct setup even is. F my life *sigh*.
On the bright side, this might be the first kernel build done by a grunt in iraq :). This place is so out of whack i'm actually enthused to watch a kernel build itself on my day off.