Re: [gentoo-user] can't unload modules

2005-08-03 Thread maxim wexler

  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



Re: [gentoo-user] can't unload modules

2005-08-03 Thread Holly Bostick
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



Re: [gentoo-user] can't unload modules - MY BAD

2005-08-03 Thread maxim wexler


--- Holly Bostick [EMAIL PROTECTED] 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



Re: [gentoo-user] can't unload modules

2005-08-03 Thread Norberto Bensa
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


pgpdrFxYPXijB.pgp
Description: PGP signature


[gentoo-user] can't unload modules

2005-08-02 Thread maxim wexler
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



Re: [gentoo-user] can't unload modules

2005-08-02 Thread Michael Crute
Try using 'modprobe -rnv module' and see what errors you get. 

-MikeOn 8/2/05, maxim wexler [EMAIL PROTECTED] wrote:
Hello everyone,The ATI FAQ recommends compiling module unloading intothe kernel, which I did.Then I tried modprobing the various requisite modulesto 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 needto 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 DeveloperSoftGroup Development CorporationIn a world without walls and fences, who needs windows and gates?


Re: [gentoo-user] can't unload modules

2005-08-02 Thread maxim wexler


--- Michael Crute [EMAIL PROTECTED] 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



Re: [gentoo-user] can't unload modules

2005-08-02 Thread Zac Medico

maxim wexler wrote:


--- Michael Crute [EMAIL PROTECTED] 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



Re: [gentoo-user] can't unload modules

2005-08-02 Thread David Morgan
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



Re: [gentoo-user] can't unload modules

2005-08-02 Thread Michael Crute
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

-MikeOn 8/2/05, David Morgan [EMAIL PROTECTED] 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 haveCONFIG_MODULE_UNLOAD set (it's underloadable module support in menuconfig)Dave--
gentoo-user@gentoo.org mailing list-- Michael E. CruteSoftware DeveloperSoftGroup Development Corporation
In a world without walls and fences, who needs windows and gates?


Re: [gentoo-user] can't unload modules

2005-08-02 Thread maxim wexler
 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



Re: [gentoo-user] can't unload modules

2005-08-02 Thread Michael Crute
It would appear that it is not. Double check with my cat grep command and perhaps recompile your kernel. 

-MikeOn 8/2/05, maxim wexler [EMAIL PROTECTED] 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 DeveloperSoftGroup Development CorporationIn a world without walls and fences, who needs windows and gates?


Re: [gentoo-user] can't unload modules

2005-08-02 Thread Bryan Whitehead
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:[EMAIL PROTECTED]
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] can't unload modules

2005-08-02 Thread maxim wexler


--- Michael Crute [EMAIL PROTECTED] 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



Re: [gentoo-user] can't unload modules

2005-08-02 Thread maxim wexler


--- Bryan Whitehead [EMAIL PROTECTED] 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



Re: [gentoo-user] can't unload modules

2005-08-02 Thread James Hiscock
  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



Re: [gentoo-user] can't unload modules

2005-08-02 Thread Michael Crute
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.

-MikeOn 8/2/05, James Hiscock [EMAIL PROTECTED] 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 workwith 2.6 kernels as well.--
gentoo-user@gentoo.org mailing list-- Michael E. CruteSoftware DeveloperSoftGroup Development CorporationIn a world without walls and fences, who needs windows and gates?


Re: [gentoo-user] can't unload modules

2005-08-02 Thread Nick Rout

On Tue, 2 Aug 2005 18:56:14 -0700 (PDT)
maxim wexler wrote:

 
 
 --- Michael Crute [EMAIL PROTECTED] 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



Re: [gentoo-user] can't unload modules

2005-08-02 Thread Nick Rout

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 [EMAIL PROTECTED] 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