[gentoo-user] Re: Big problem with module-rebuild

2005-11-07 Thread Remy Blank
Holly Bostick wrote:
 And the drivers build and install fine... then this:
 
 | Safely unmerging already-installed instance...
 snip
 ==--- cfgpro obj /lib/modules/2.6.13-gentoo-r4/video/fglrx.ko
 ==--- cfgpro dir /lib/modules/2.6.13-gentoo-r4/video
 ==--- cfgpro dir /lib/modules/2.6.13-gentoo-r4
 snip
 Switching to ati OpenGL interface... done
 | original instance of package unmerged safely.
 Switching to ati OpenGL interface... done
 
 So the rebuild process has *removed* the kernel modules for what will be
 the previous kernel when I reboot

I don't think so. cfgpro means the modules are *not* removed on
unmerge. Have a look, they should still be there. At least, they are on
my machines, although I don't use module-rebuild but a custom script (a
one-liner, actually). I have always had the messages as you describe
above, and the modules have always stayed around. If they don't, then
something is wrong with your configuration.

It's kinda the same as /etc on unmerge. The files just stick around.

-- Remy


Remove underscore and suffix in reply address for a timely response.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: Big problem with module-rebuild [SOLVED]

2005-11-07 Thread Holly Bostick
Remy Blank schreef:
 Holly Bostick wrote:
 
 And the drivers build and install fine... then this:
 
 | Safely unmerging already-installed instance... snip ==---
 cfgpro obj /lib/modules/2.6.13-gentoo-r4/video/fglrx.ko ==---
 cfgpro dir /lib/modules/2.6.13-gentoo-r4/video ==--- cfgpro dir
 /lib/modules/2.6.13-gentoo-r4 snip Switching to ati OpenGL
 interface... done | original instance of package unmerged
 safely. Switching to ati OpenGL interface... done
 
 So the rebuild process has *removed* the kernel modules for what
 will be the previous kernel when I reboot
 
 
 I don't think so. cfgpro means the modules are *not* removed on 
 unmerge. Have a look, they should still be there. At least, they are
 on my machines, although I don't use module-rebuild but a custom
 script (a one-liner, actually). I have always had the messages as you
 describe above, and the modules have always stayed around. If they
 don't, then something is wrong with your configuration.
 
 It's kinda the same as /etc on unmerge. The files just stick around.
 
 -- Remy

Thank you, Remy-- you're right:

la /lib/modules/2.6.13-gentoo-r4/video/
totaal 317
drwxr-xr-x  2 root root 72 nov  7 18:00 .
drwxr-xr-x  6 root root496 nov  7 18:30 ..
-rw-r--r--  1 root root 321951 nov  7 18:00 fglrx.ko

OK, so I'm panicking over nothing, which is good to know, but now I'm a
little P.O.'d that I should have had *cause* to panic (I've gotta be a
bit P.O'd about something, since I've made a fool of myself ;-) ).

Seems to me that someone even less technically adept than I am (and I'm
not really all that, after all), could really lose their cool under
these circumstances, all because of that little cfgpro that they might
not know what it means, even if they saw it.

I'm really glad to know that the files are not in fact removed, but I
have this feeling that it should have been clearer that they really
weren't removed, despite the fact that that section of the operation was
removing files. Ah well, I know Portage isn't perfect, but it usually
doesn't scare the pants off me just during normal operation like that
(which tends to scare me more than just normal Portage scary-stuff).

Anyway, thanks again.

Holly
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: Big problem with module-rebuild

2005-11-07 Thread Marc Christiansen
Holly Bostick [EMAIL PROTECTED] wrote:
 .. and that problem is, in short, that the rebuild unmerges the previous
 version, in the currently-running (or previous) kernel modules folder,
 breaking the previous kernel.

Did you check if the files are really gone?

[...]
 | Safely unmerging already-installed instance...
 snip
 ==--- cfgpro obj /lib/modules/2.6.13-gentoo-r4/video/fglrx.ko
 ==--- cfgpro dir /lib/modules/2.6.13-gentoo-r4/video
 ==--- cfgpro dir /lib/modules/2.6.13-gentoo-r4
 ^^
The '---' mean that no action was taken and the following word gives the
reason, in this case CONFIG_PROTECT (at least it should be this way and
for me it is).

 This seems to definitely be a bug, but I have not the first clue how to
 submit it, nor what against

If the modules are indeed gone, I'd say it is a bug in emerge or
portage.

 help, help, help and hope 2.6.14 works, because if it doesn't,
 I've got no modules for my previous kernel

For me the switch to 2.6.14 went without much problems and I did use
module-rebuild. My modules are still there for 2.6.13-r5. Most of
the problems were my own fault, I decided to cleanup my kernel config
and deselected too much... Except for a problem with the owner-module
for iptables, it no longer supports cmd-owner, pid-owner or sid-owner
although the help still says it does, you have to look at dmesg to find
out. But this is a minor problem which I'll solve when needed. So,
enough of my ramblings they don't help you.

Marc

-- 
gentoo-user@gentoo.org mailing list