RESOLVED [driverloader] driverloader modules hanging - fc1/kernel
2.6.1]
Sean T. Gillespie
stg at vt.edu
Thu Jan 22 14:37:13 EST 2004
Kernel 2.6 (as I recall) doesn't, by default, allow one to remove a
module. You have to recompile the kernel with that option set.
In kernel 2.6.1, from make menuconfig, it's under "Loadable module support"
And from there it's listed as...
[*] Module unloading
[*] Forced module unloading
eric whitten wrote:
> And yet more work, by myself... Restarted into the latest Fedora
> official 2.4 kernel, reinstalled driverloader rpm, setup went perfectly,
> including license installation. Went back into 2.6.1 and *presto* I
> have a working, licensed network card.
> So I'm like 90% of the way there. The only problem now is that
> rmmod still segfaults when trying to unload the module. I'd prefer not
> to keep shutting this off properly.
>
> *UPDATE*
> I saw mention of arjanv's kernel 2.6.x kernel rpm's, and decided to
> grab those... aaaand *bingo* we're all set now. Wish I knew what fixed
> it, though.
>
> eric.
>
>
>
>>From: eric whitten <eric at pix-ology.com>
>>To: support at linuxant.com
>>Cc: driverloader at lists.linuxant.com
>>Subject: Re: [driverloader] driverloader modules hanging - fc1/kernel
>>2.6.1
>>Date: Mon, 19 Jan 2004 16:13:55 -0500
>>
>> I did some more checking, and this is what happens when my laptop
>>attempts to `rmmod driverloader.` Any thoughts would be really
>>appreciated!
>>
>>
>>driverloader: module license 'see LICENSE file; Copyright (c)2003
>>Linuxant inc.' taints kernel.
>>PCI: Enabling device 0000:07:00.0 (0000 -> 0003)
>>0000:07:00.0: cache line size not set; forcing 32
>>eth1: WPA, AES, TKIP, WEP104, WEP40 supported
>>eth1: Realtek RTL8180 Wireless LAN (Mini-)PCI NIC at 0000:07:00.0 (MAC
>>address 00:09:5B:63:50:FA) ready
>>eth1: New link status: Disconnected (0002)
>>Unable to handle kernel paging request at virtual address 6b6b6b6b
>>printing eip:
>>f9e16f19
>>*pde = 00000000
>>Oops: 0002 [#1]
>>CPU: 0
>>EIP: 0060:[<f9e16f19>] Tainted: P
>>EFLAGS: 00010002
>>EIP is at OsCriticalSectionAcquire+0x16/0x20 [driverloader]
>>eax: eac7c000 ebx: f0129470 ecx: 6b6b6b6b edx: 00000202
>>esi: eacfb7e4 edi: f574900c ebp: eac7de00 esp: eac7dde4
>>ds: 007b es: 007b ss: 0068
>>Process rmmod (pid: 4209, threadinfo=eac7c000 task=eac7f900)
>>Stack: f9e1f26e 6b6b6b6b f9e1f998 f9e50530 f5b5ecc0 00000000 f9e7a000
>>f9e1f998
>> f9e5054a eacfb7e4 eac7de58 f9e4dbce f9e7a000 00000000 f5749000
>>f9e4dc5b
>> 00000000 f5b5ecc0 f9e1ef37 f9e7a000 00000001 eac7de58 00000282
>>f7610d00
>>Call Trace:
>>[<f9e1f26e>] driverloader82_+0x1a/0x4c [driverloader]
>>[<f9e1f998>] driverloader122_+0x0/0x18 [driverloader]
>>[<f9e1f998>] driverloader122_+0x0/0x18 [driverloader]
>>[<f9e1ef37>] NdisWrapHaltAdapter+0xa3/0x1cc [driverloader]
>>[<f9e16755>] netndis_devuninit+0x5d/0x2bb [driverloader]
>>[<f8b5e912>] addrconf_notify+0x78/0x163 [ipv6]
>>[<c012ca74>] notifier_call_chain+0x27/0x3e
>>[<c0262074>] unregister_netdevice+0x178/0x1f6
>>[<c021a546>] unregister_netdev+0x18/0x26
>>[<f9e0e41d>] dldrpci_remove+0x76/0x78 [driverloader]
>>[<c01c3d5f>] pci_device_remove+0x3b/0x3d
>>[<c020d78a>] device_release_driver+0x64/0x66
>>[<c020d7ac>] driver_detach+0x20/0x2e
>>[<c020d9c9>] bus_remove_driver+0x3d/0x75
>>[<c020dd70>] driver_unregister+0x13/0x28
>>[<c01c3f00>] pci_unregister_driver+0x16/0x26
>>[<f9e22247>] dldrpci_cleanup+0xf/0x2e [driverloader]
>>[<c01342c6>] sys_delete_module+0x119/0x18b
>>[<c010b1a9>] sysenter_past_esp+0x52/0x71
>>
>>Code: 89 11 c7 41 08 00 00 00 00 c3 8b 54 24 04 85 d2 74 23 8b 42
>><6>note: rmmod[4209] exited with preempt_count 1
>>bad: scheduling while atomic!
>>Call Trace:
>>[<c011d1cb>] schedule+0x576/0x57b
>>[<c014670b>] unmap_page_range+0x49/0x87
>>[<c01468fa>] unmap_vmas+0x1b1/0x21f
>>[<c014ab88>] exit_mmap+0x7c/0x190
>>[<c011eabb>] mmput+0x66/0xb5
>>[<c01228c5>] do_exit+0x158/0x412
>>[<c011a7a6>] do_page_fault+0x0/0x4d9
>>[<c010b9fc>] do_divide_error+0x0/0xfa
>>[<c011a97b>] do_page_fault+0x1d5/0x4d9
>>[<c013f022>] check_poison_obj+0x29/0x186
>>[<c013f24a>] slab_destroy+0xcb/0x19c
>>[<c011a7a6>] do_page_fault+0x0/0x4d9
>>[<c010b3a5>] error_code+0x2d/0x38
>>[<f9e16f19>] OsCriticalSectionAcquire+0x16/0x20 [driverloader]
>>[<f9e1f26e>] driverloader82_+0x1a/0x4c [driverloader]
>>[<f9e1f998>] driverloader122_+0x0/0x18 [driverloader]
>>[<f9e1f998>] driverloader122_+0x0/0x18 [driverloader]
>>[<f9e1ef37>] NdisWrapHaltAdapter+0xa3/0x1cc [driverloader]
>>[<f9e16755>] netndis_devuninit+0x5d/0x2bb [driverloader]
>>[<f8b5e912>] addrconf_notify+0x78/0x163 [ipv6]
>>[<c012ca74>] notifier_call_chain+0x27/0x3e
>>[<c0262074>] unregister_netdevice+0x178/0x1f6
>>[<c021a546>] unregister_netdev+0x18/0x26
>>[<f9e0e41d>] dldrpci_remove+0x76/0x78 [driverloader]
>>[<c01c3d5f>] pci_device_remove+0x3b/0x3d
>>[<c020d78a>] device_release_driver+0x64/0x66
>>[<c020d7ac>] driver_detach+0x20/0x2e
>>[<c020d9c9>] bus_remove_driver+0x3d/0x75
>>[<c020dd70>] driver_unregister+0x13/0x28
>>[<c01c3f00>] pci_unregister_driver+0x16/0x26
>>[<f9e22247>] dldrpci_cleanup+0xf/0x2e [driverloader]
>>[<c01342c6>] sys_delete_module+0x119/0x18b
>>[<c010b1a9>] sysenter_past_esp+0x52/0x71
>>
>>On Fri, 2004-01-16 at 12:59, eric whitten wrote:
>>
>>
>>> Both options are compiled in and the license doesn't work after
>>>rebooting. When I check the web configurator, it still says that
>>>the license is missing. Is there a way to apply the license before
>>>the driverloader module loads?
>>> Also, I've had this working with redhat 9 and kernel 2.6.0 in
>>>the past too. Thanks in advance. :)
>>>
>>>eric.
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> driverloader mailing list
> driverloader at lists.linuxant.com
> https://www.linuxant.com/mailman/listinfo/driverloader
More information about the driverloader
mailing list