* [gentoo-user] can't unload modules
@ 2005-08-02 16:33 maxim wexler
2005-08-02 18:08 ` Michael Crute
0 siblings, 1 reply; 19+ messages in thread
From: maxim wexler @ 2005-08-02 16:33 UTC (permalink / raw
To: gentoo-user
Hello everyone,
The ATI FAQ recommends compiling module unloading into
the kernel, which I did.
Then I tried modprobing the various requisite modules
to see what would work, fglrx, radeon, nvidia-agp etc.
But I found I couldn't rmmod anything; got FATAL,
Module unloading unavailable(something like that).
Does that advanced feature under module unloading need
to be checked as well? I thought I'd check with the
list about it. FAQ doesn't say.
-mw
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [gentoo-user] can't unload modules
2005-08-02 16:33 [gentoo-user] can't unload modules maxim wexler
@ 2005-08-02 18:08 ` Michael Crute
2005-08-02 19:36 ` maxim wexler
0 siblings, 1 reply; 19+ messages in thread
From: Michael Crute @ 2005-08-02 18:08 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1047 bytes --]
Try using 'modprobe -rnv <module>' and see what errors you get.
-Mike
On 8/2/05, maxim wexler <blissfix@yahoo.com> wrote:
>
> Hello everyone,
>
> The ATI FAQ recommends compiling module unloading into
> the kernel, which I did.
>
> Then I tried modprobing the various requisite modules
> to see what would work, fglrx, radeon, nvidia-agp etc.
>
> But I found I couldn't rmmod anything; got FATAL,
> Module unloading unavailable(something like that).
>
> Does that advanced feature under module unloading need
> to be checked as well? I thought I'd check with the
> list about it. FAQ doesn't say.
>
> -mw
>
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
> --
> gentoo-user@gentoo.org mailing list
>
>
--
________________________________
Michael E. Crute
Software Developer
SoftGroup Development Corporation
"In a world without walls and fences, who needs windows and gates?"
[-- Attachment #2: Type: text/html, Size: 1462 bytes --]
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [gentoo-user] can't unload modules
2005-08-02 18:08 ` Michael Crute
@ 2005-08-02 19:36 ` maxim wexler
2005-08-02 19:44 ` David Morgan
2005-08-02 19:45 ` Zac Medico
0 siblings, 2 replies; 19+ messages in thread
From: maxim wexler @ 2005-08-02 19:36 UTC (permalink / raw
To: gentoo-user
--- Michael Crute <mcrute@gmail.com> wrote:
> Try using 'modprobe -rnv <module>' and see what
> errors you get.
>
dayglo root # modprobe-rnv fglrx
rmmod /lib/modules/2.6.11-gentoo-r3/video/fglrx.ko
rmmod
/lib/modules/2.6.11-gentoo-r3/kernel/drivers/char/agp/agpgart.ko
dayglo root # modprobe fglrx
dayglo root # modprobe -rv fglrx
rmmod /lib/modules/2.6.11-gentoo-r3/video/fglrx.ko
FATAL: Error removing fglrx
(/lib/modules/2.6.11-gentoo-r3/video/fglrx.ko): Kernel
does not have module unloading support
none the wiser :/
____________________________________________________
Start your day with Yahoo! - make it your home page
http://www.yahoo.com/r/hs
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [gentoo-user] can't unload modules
2005-08-02 19:36 ` maxim wexler
@ 2005-08-02 19:44 ` David Morgan
2005-08-02 22:19 ` Michael Crute
2005-08-02 19:45 ` Zac Medico
1 sibling, 1 reply; 19+ messages in thread
From: David Morgan @ 2005-08-02 19:44 UTC (permalink / raw
To: gentoo-user
On 12:36 Tue 02 Aug , maxim wexler wrote:
> dayglo root # modprobe -rv fglrx
> rmmod /lib/modules/2.6.11-gentoo-r3/video/fglrx.ko
> FATAL: Error removing fglrx
> (/lib/modules/2.6.11-gentoo-r3/video/fglrx.ko): Kernel
> does not have module unloading support
>
> none the wiser :/
Sounds like you don't have CONFIG_MODULE_UNLOAD set (it's under
loadable module support in menuconfig)
Dave
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [gentoo-user] can't unload modules
2005-08-02 19:36 ` maxim wexler
2005-08-02 19:44 ` David Morgan
@ 2005-08-02 19:45 ` Zac Medico
2005-08-02 22:51 ` maxim wexler
1 sibling, 1 reply; 19+ messages in thread
From: Zac Medico @ 2005-08-02 19:45 UTC (permalink / raw
To: gentoo-user
maxim wexler wrote:
>
> --- Michael Crute <mcrute@gmail.com> wrote:
>
>
>>Try using 'modprobe -rnv <module>' and see what
>>errors you get.
>>
>
>
> dayglo root # modprobe-rnv fglrx
> rmmod /lib/modules/2.6.11-gentoo-r3/video/fglrx.ko
> rmmod
> /lib/modules/2.6.11-gentoo-r3/kernel/drivers/char/agp/agpgart.ko
>
> dayglo root # modprobe fglrx
>
> dayglo root # modprobe -rv fglrx
> rmmod /lib/modules/2.6.11-gentoo-r3/video/fglrx.ko
> FATAL: Error removing fglrx
> (/lib/modules/2.6.11-gentoo-r3/video/fglrx.ko): Kernel
> does not have module unloading support
>
> none the wiser :/
>
Module unloading support is optional. You want to enable it in your kernel config.
Zac
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [gentoo-user] can't unload modules
2005-08-02 19:44 ` David Morgan
@ 2005-08-02 22:19 ` Michael Crute
0 siblings, 0 replies; 19+ messages in thread
From: Michael Crute @ 2005-08-02 22:19 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 942 bytes --]
Maxim:
Try this command `cat /usr/src/linux/.config | grep CONFIG_MODULE_UNLOAD`.
On my machine (which has module unloading compiled into the kernel) I see
CONFIG_MODULE_UNLOAD=y
-Mike
On 8/2/05, David Morgan <david.morgan@wadham.oxford.ac.uk> wrote:
>
> On 12:36 Tue 02 Aug , maxim wexler wrote:
> > dayglo root # modprobe -rv fglrx
> > rmmod /lib/modules/2.6.11-gentoo-r3/video/fglrx.ko
> > FATAL: Error removing fglrx
> > (/lib/modules/2.6.11-gentoo-r3/video/fglrx.ko): Kernel
> > does not have module unloading support
> >
> > none the wiser :/
>
> Sounds like you don't have CONFIG_MODULE_UNLOAD set (it's under
> loadable module support in menuconfig)
>
> Dave
>
> --
> gentoo-user@gentoo.org mailing list
>
>
--
________________________________
Michael E. Crute
Software Developer
SoftGroup Development Corporation
"In a world without walls and fences, who needs windows and gates?"
[-- Attachment #2: Type: text/html, Size: 1378 bytes --]
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [gentoo-user] can't unload modules
2005-08-02 19:45 ` Zac Medico
@ 2005-08-02 22:51 ` maxim wexler
2005-08-02 23:15 ` Michael Crute
2005-08-02 23:22 ` [gentoo-user] can't unload modules Bryan Whitehead
0 siblings, 2 replies; 19+ messages in thread
From: maxim wexler @ 2005-08-02 22:51 UTC (permalink / raw
To: gentoo-user
> Module unloading support is optional. You want to
> enable it in your kernel config.
>
See the start of this thread. It *is* enabled
> Zac
> --
> gentoo-user@gentoo.org mailing list
>
>
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [gentoo-user] can't unload modules
2005-08-02 22:51 ` maxim wexler
@ 2005-08-02 23:15 ` Michael Crute
2005-08-03 1:56 ` maxim wexler
2005-08-02 23:22 ` [gentoo-user] can't unload modules Bryan Whitehead
1 sibling, 1 reply; 19+ messages in thread
From: Michael Crute @ 2005-08-02 23:15 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 811 bytes --]
It would appear that it is not. Double check with my cat grep command and
perhaps recompile your kernel.
-Mike
On 8/2/05, maxim wexler <blissfix@yahoo.com> wrote:
>
> > Module unloading support is optional. You want to
> > enable it in your kernel config.
> >
>
> See the start of this thread. It *is* enabled
>
> > Zac
> > --
> > gentoo-user@gentoo.org mailing list
> >
> >
>
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
> --
> gentoo-user@gentoo.org mailing list
>
>
--
________________________________
Michael E. Crute
Software Developer
SoftGroup Development Corporation
"In a world without walls and fences, who needs windows and gates?"
[-- Attachment #2: Type: text/html, Size: 1295 bytes --]
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [gentoo-user] can't unload modules
2005-08-02 22:51 ` maxim wexler
2005-08-02 23:15 ` Michael Crute
@ 2005-08-02 23:22 ` Bryan Whitehead
2005-08-03 2:01 ` maxim wexler
2005-08-03 3:31 ` Norberto Bensa
1 sibling, 2 replies; 19+ messages in thread
From: Bryan Whitehead @ 2005-08-02 23:22 UTC (permalink / raw
To: gentoo-user
Sounds like a forgotten "make mrproper" or "make clean" before a full
build?
I'm sure the kernel isn't making this stuff up. :D
On Tue, 2 Aug 2005, maxim wexler wrote:
>> Module unloading support is optional. You want to
>> enable it in your kernel config.
>>
>
> See the start of this thread. It *is* enabled
>
>> Zac
>> --
>> gentoo-user@gentoo.org mailing list
>>
>>
>
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>
--
Bryan Whitehead
Email:driver@megahappy.net
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [gentoo-user] can't unload modules
2005-08-02 23:15 ` Michael Crute
@ 2005-08-03 1:56 ` maxim wexler
2005-08-03 3:18 ` Nick Rout
0 siblings, 1 reply; 19+ messages in thread
From: maxim wexler @ 2005-08-03 1:56 UTC (permalink / raw
To: gentoo-user
--- Michael Crute <mcrute@gmail.com> wrote:
> It would appear that it is not. Double check with my
> cat grep command and
> perhaps recompile your kernel.
>
bash-2.05b$ cat /usr/src/linux/.config | grep
CONFIG_MODULE_UNLOAD
CONFIG_MODULE_UNLOAD=y
bash-2.05b$
I knew it was there having just added it to the
.config yesterday after reading the ATI FAQ. Saved it,
then ran make modules_install. Did I forget something?
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [gentoo-user] can't unload modules
2005-08-02 23:22 ` [gentoo-user] can't unload modules Bryan Whitehead
@ 2005-08-03 2:01 ` maxim wexler
2005-08-03 2:14 ` James Hiscock
2005-08-03 3:31 ` Norberto Bensa
1 sibling, 1 reply; 19+ messages in thread
From: maxim wexler @ 2005-08-03 2:01 UTC (permalink / raw
To: gentoo-user
--- Bryan Whitehead <driver@megahappy.net> wrote:
> Sounds like a forgotten "make mrproper" or "make
> clean" before a full
> build?
Aren't they for 2.4.x kernels? I'm using a 2.6.11.
__________________________________
Do you Yahoo!?
Yahoo! Mail - Helps protect you from nasty viruses.
http://promotions.yahoo.com/new_mail
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [gentoo-user] can't unload modules
2005-08-03 2:01 ` maxim wexler
@ 2005-08-03 2:14 ` James Hiscock
2005-08-03 3:02 ` Michael Crute
0 siblings, 1 reply; 19+ messages in thread
From: James Hiscock @ 2005-08-03 2:14 UTC (permalink / raw
To: gentoo-user
> > Sounds like a forgotten "make mrproper" or "make
> > clean" before a full
> > build?
>
> Aren't they for 2.4.x kernels? I'm using a 2.6.11.
You need to rebuild the kernel proper - it's responsible for loading
and unloading modules. Rebuilding just the modules won't help you.
And no, those make commands aren't just for 2.4 kernels - they work
with 2.6 kernels as well.
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [gentoo-user] can't unload modules
2005-08-03 2:14 ` James Hiscock
@ 2005-08-03 3:02 ` Michael Crute
0 siblings, 0 replies; 19+ messages in thread
From: Michael Crute @ 2005-08-03 3:02 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 857 bytes --]
Run a make clean on the kernel source tree and then a make && make
modules_install and see what happens. Perhaps that will solve it.
-Mike
On 8/2/05, James Hiscock <boxroot@gmail.com> wrote:
>
> > > Sounds like a forgotten "make mrproper" or "make
> > > clean" before a full
> > > build?
> >
> > Aren't they for 2.4.x kernels? I'm using a 2.6.11.
>
> You need to rebuild the kernel proper - it's responsible for loading
> and unloading modules. Rebuilding just the modules won't help you.
>
> And no, those make commands aren't just for 2.4 kernels - they work
> with 2.6 kernels as well.
>
> --
> gentoo-user@gentoo.org mailing list
>
>
--
________________________________
Michael E. Crute
Software Developer
SoftGroup Development Corporation
"In a world without walls and fences, who needs windows and gates?"
[-- Attachment #2: Type: text/html, Size: 1265 bytes --]
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [gentoo-user] can't unload modules
2005-08-03 1:56 ` maxim wexler
@ 2005-08-03 3:18 ` Nick Rout
2005-08-03 4:17 ` Nick Rout
2005-08-03 15:17 ` maxim wexler
0 siblings, 2 replies; 19+ messages in thread
From: Nick Rout @ 2005-08-03 3:18 UTC (permalink / raw
To: gentoo-user
On Tue, 2 Aug 2005 18:56:14 -0700 (PDT)
maxim wexler wrote:
>
>
> --- Michael Crute <mcrute@gmail.com> wrote:
>
> > It would appear that it is not. Double check with my
> > cat grep command and
> > perhaps recompile your kernel.
> >
> bash-2.05b$ cat /usr/src/linux/.config | grep
> CONFIG_MODULE_UNLOAD
> CONFIG_MODULE_UNLOAD=y
> bash-2.05b$
>
> I knew it was there having just added it to the
> .config yesterday after reading the ATI FAQ. Saved it,
> then ran make modules_install. Did I forget something?
yes you forgot to make the kernel and forgot to install the kernel and
reboot.
the functionality for unloading modules does not itself reside in a
module!
>
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
> --
> gentoo-user@gentoo.org mailing list
--
Nick Rout
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [gentoo-user] can't unload modules
2005-08-02 23:22 ` [gentoo-user] can't unload modules Bryan Whitehead
2005-08-03 2:01 ` maxim wexler
@ 2005-08-03 3:31 ` Norberto Bensa
1 sibling, 0 replies; 19+ messages in thread
From: Norberto Bensa @ 2005-08-03 3:31 UTC (permalink / raw
To: gentoo-user; +Cc: Bryan Whitehead
[-- Attachment #1: Type: text/plain, Size: 261 bytes --]
Bryan Whitehead wrote:
> Sounds like a forgotten "make mrproper" or "make clean" before a full
> build?
make mrproper wipes .config, so be careful ;)
--
Norberto Bensa
informática BeNSA
4544-9692 / 15-4190-6344
Ciudad de Buenos Aires, Argentina
[-- Attachment #2: Type: application/pgp-signature, Size: 190 bytes --]
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [gentoo-user] can't unload modules
2005-08-03 3:18 ` Nick Rout
@ 2005-08-03 4:17 ` Nick Rout
2005-08-03 15:17 ` maxim wexler
1 sibling, 0 replies; 19+ messages in thread
From: Nick Rout @ 2005-08-03 4:17 UTC (permalink / raw
To: gentoo-user
On Wed, 03 Aug 2005 15:18:11 +1200
Nick Rout wrote:
>
> On Tue, 2 Aug 2005 18:56:14 -0700 (PDT)
> maxim wexler wrote:
>
> >
> >
> > --- Michael Crute <mcrute@gmail.com> wrote:
> >
> > > It would appear that it is not. Double check with my
> > > cat grep command and
> > > perhaps recompile your kernel.
> > >
> > bash-2.05b$ cat /usr/src/linux/.config | grep
> > CONFIG_MODULE_UNLOAD
> > CONFIG_MODULE_UNLOAD=y
> > bash-2.05b$
> >
> > I knew it was there having just added it to the
> > .config yesterday after reading the ATI FAQ. Saved it,
> > then ran make modules_install. Did I forget something?
>
> yes you forgot to make the kernel and forgot to install the kernel and
> reboot.
>
> the functionality for unloading modules does not itself reside in a
> module!
ps to see the .config for the running kernel you can:
zless /proc/config.gz
(although that too has to be compiled into the kernel - I recommend you
do it as standard, although it adds a little bit of size to the kernel.
It is very convenient if you accidentally blitz your .config file, which
you will do if you use "make mrproper" without backing up)
>
>
> >
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Tired of spam? Yahoo! Mail has the best spam protection around
> > http://mail.yahoo.com
> > --
> > gentoo-user@gentoo.org mailing list
>
> --
> Nick Rout
>
> --
> gentoo-user@gentoo.org mailing list
--
Nick Rout
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [gentoo-user] can't unload modules
2005-08-03 3:18 ` Nick Rout
2005-08-03 4:17 ` Nick Rout
@ 2005-08-03 15:17 ` maxim wexler
2005-08-03 15:49 ` Holly Bostick
1 sibling, 1 reply; 19+ messages in thread
From: maxim wexler @ 2005-08-03 15:17 UTC (permalink / raw
To: gentoo-user
> > then ran make modules_install. Did I forget
> something?
>
> yes you forgot to make the kernel and forgot to
> install the kernel and
> reboot.
Didn't forget. Those are obvious steps and not worth mentioning.
____________________________________________________
Start your day with Yahoo! - make it your home page
http://www.yahoo.com/r/hs
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [gentoo-user] can't unload modules
2005-08-03 15:17 ` maxim wexler
@ 2005-08-03 15:49 ` Holly Bostick
2005-08-03 18:04 ` [gentoo-user] can't unload modules - MY BAD maxim wexler
0 siblings, 1 reply; 19+ messages in thread
From: Holly Bostick @ 2005-08-03 15:49 UTC (permalink / raw
To: gentoo-user
maxim wexler schreef:
>>>then ran make modules_install. Did I forget
>>
>>something?
>>
>>yes you forgot to make the kernel and forgot to
>>install the kernel and
>>reboot.
>
>
> Didn't forget. Those are obvious steps and not worth mentioning.
>
Everything is worth mentioning when something goes wrong. Sometimes the
problem with your cable TV reception really *is* that the power is
unplugged, after all.
That said, do you also have KMOD (Automatic kernel module loading) set?
I can't think of anything else that might have any affect on this,
unless the problem is with the specific modules that you're trying to
load/unload.
Holly
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [gentoo-user] can't unload modules - MY BAD
2005-08-03 15:49 ` Holly Bostick
@ 2005-08-03 18:04 ` maxim wexler
0 siblings, 0 replies; 19+ messages in thread
From: maxim wexler @ 2005-08-03 18:04 UTC (permalink / raw
To: gentoo-user
--- Holly Bostick <motub@planet.nl> wrote:
> maxim wexler schreef:
> >>>then ran make modules_install. Did I forget
> >>
> >>something?
> >>
> >>yes you forgot to make the kernel and forgot to
> >>install the kernel and
> >>reboot.
<crow_eaten> You are right. I had neglected that thing
called 'make'. </crow_eaten>
> Everything is worth mentioning when something goes
> wrong. Sometimes the
> problem with your cable TV reception really *is*
> that the power is
> unplugged, after all.
No wonder it was so fast!
____________________________________________________
Start your day with Yahoo! - make it your home page
http://www.yahoo.com/r/hs
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 19+ messages in thread
end of thread, other threads:[~2005-08-03 23:50 UTC | newest]
Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-02 16:33 [gentoo-user] can't unload modules maxim wexler
2005-08-02 18:08 ` Michael Crute
2005-08-02 19:36 ` maxim wexler
2005-08-02 19:44 ` David Morgan
2005-08-02 22:19 ` Michael Crute
2005-08-02 19:45 ` Zac Medico
2005-08-02 22:51 ` maxim wexler
2005-08-02 23:15 ` Michael Crute
2005-08-03 1:56 ` maxim wexler
2005-08-03 3:18 ` Nick Rout
2005-08-03 4:17 ` Nick Rout
2005-08-03 15:17 ` maxim wexler
2005-08-03 15:49 ` Holly Bostick
2005-08-03 18:04 ` [gentoo-user] can't unload modules - MY BAD maxim wexler
2005-08-02 23:22 ` [gentoo-user] can't unload modules Bryan Whitehead
2005-08-03 2:01 ` maxim wexler
2005-08-03 2:14 ` James Hiscock
2005-08-03 3:02 ` Michael Crute
2005-08-03 3:31 ` Norberto Bensa
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox