Summary: | ndiswrapper-1.1-r1 crashes my kernel | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Robert Forsman <gentoo> |
Component: | Current packages | Assignee: | Mobile Herd (OBSOLETE) <mobile+disabled> |
Status: | RESOLVED TEST-REQUEST | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | 2005.0 | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
.config file for my current kernel
patch.out |
Description
Robert Forsman
2005-05-12 10:36:20 UTC
Created attachment 58761 [details]
.config file for my current kernel
Here is the .config file from my current kernel.
where does it crash? Doing what? kernel BUG at sched.c:1257! CPU: 0 EIP: 0010:[<c012e763>] not tainted EFLAGS: 00010206 eax: 00000027 EBX: 00005e33 ECX: 0000003d EDX: 00000001 esi: f70bfe90 edi: f7794400 ebp: f70bfe84 esp: f70bfe6c ds: 0018 es: 0018 ss: 0018 Process loadndisdriver (pid: 2738, stackpage=f70bf000) stack: 00000000 f6072d88 c013e6b0 and a bunch more stuff I'm too lazy to transcribe Call Trace: [<c013e6b0>] [<c0139cce>] ... more stuff Code: 0f 0b e9 04 85 51 30 c0 e9 14 fb ff ff 55 89 e5 53 9c 58 c1 <0>Kernel Panic: Aiee, killing interrupt handler! In interrupt handler - not syncing I did it a second time. EBX was 35ff, the esi..esp registers were different, as was the stackpage and stack. The call trace matched up as far as I recorded (two frames), as did the code. This was after I upgraded to 1.1-r1 . I'd like to point out that 0.12-r3 is no longer in portage. I had to download the .ebuild from cvsview and install it in PORTDIR_OVERLAY in order to restore my machine to functionality. Does this have to do with the 16k stacks that some of the drivers need? My mum has one of these, and it crashed her SuSE kernel, so I installed FC3 with the patched kernel from Linuxant - works a treat now. I am not sure. Keep in mind that ndiswrapper 0.12-r3 is working for me right now. It only crashes when I upgrade to ndiswrapper 1.1 or later. I'm having difficulty finding a 16K stack patch for my 2.4.28-r8 kernel ebuild. Upstream might have this fixed. However, always remember the following msg from upstream... If you are using 2.6 kernels, make sure 4K stacks are not used i.e., disable CONFIG_4KSTACKS. On the Webpage of the commercial Linuxant Driverloader I found the information that even with 8kb (i.e., 4k off) the system may freeze because some Windows-Drivers in particular for the Intel BG 2200 needs 12kb. On their Webpage they are offering a 12k patch for the 2.6.7-kernel. Note that Fedora kernels actually disable this option, so you won't see it in kernel configuration, so if you are using Fedora kernel, you should either get the patch from Linuxant or compile a vanilla kernel without 4K stacks. Either way, test with ndiswrapper 1.2 and report back. Created attachment 62421 [details] patch.out I added ndiswrapper to my package.keywords and it failed while applying patches: nile:509 # time nice -19 emerge -uv ndiswrapper ... * Determining the location of the kernel source code * Found kernel source directory: * /usr/src/linux * Found sources for kernel version: * 2.4.28-gentoo-r9 * Checking for suitable kernel configuration options >>> Unpacking source... >>> Unpacking ndiswrapper-1.2.tar.gz to /var/tmp/portage/ndiswrapper-1.2/work * Applying ndiswrapper-1.2-swsusp2.patch ... * Failed Patch: ndiswrapper-1.2-swsusp2.patch ! * ( /usr/portage/net-wireless/ndiswrapper/files/ndiswrapper-1.2-swsusp2.patch ) * * Include in your bugreport the contents of: * * /var/tmp/portage/ndiswrapper-1.2/temp/ndiswrapper-1.2-swsusp2.patch-16124.out I have attached the .out file emerge asked me to attach. I was recently able to upgrade to the 2.6.12 kernel (previous kernels were broken for me) and now ndiswrapper-1.1-r1 works and does not crash my kernel. I don't know if the crash was specific to the combination of 1) my hardware 2) 2.4.28 kernel 3) ndiswrapper > 0.12 Or if other peoples' hardware could trigger the problem. The problem is solved for me now. |