Re: 2.6.0-test4-mm3

From: Martin Schlemmer (azarah_at_gentoo.org)
Date: 08/30/03

  • Next message: Nick Piggin: "[PATCH] Nick's scheduler policy v10"
    To: Cliff White <cliffw@osdl.org>
    Date:	30 Aug 2003 08:16:23 +0200
    
    

    On Fri, 2003-08-29 at 18:27, Cliff White wrote:

    Hi

    > This also breaks STP. We installed module-init-tools using the 'moveold'
    > method,
    > so we can still run 2.4.
    > Our depmod is in /usr/local/sbin.
    > Using /sbin/depmod hoses us. Using PATH works for us.
    >
    > [root@stp1-002 linux]# depmod -V
    > module-init-tools 0.9.12
    >
    > [root@stp1-002 linux]# /sbin/depmod -V
    > depmod version 2.4.22
    >
    > [root@stp1-002 linux]# /usr/local/sbin/depmod -V
    > module-init-tools 0.9.12
    >

    You guys are sorda missing the point of 'moveold' ....
    You want to build it with '--prefix=/' so that
    both depmod and depmod.old are in /sbin ....

    ----------------------
    workshop root # ls /sbin/depmod* -l
    -rwxr-xr-x 1 root root 58744 Aug 4 17:19 /sbin/depmod
    -rwxr-xr-x 1 root root 58712 Aug 4 13:57 /sbin/depmod.old
    workshop root # ls /sbin/modprobe* -l
    lrwxrwxrwx 1 root root 6 Aug 4 17:19 /sbin/modprobe
    -> insmod
    lrwxrwxrwx 1 root root 10 Aug 4 13:57
    /sbin/modprobe.old -> insmod.old
    lrwxrwxrwx 1 root root 13 Aug 4 17:19
    /sbin/modprobe.static -> insmod.static
    workshop root #
    ------------------

    Any call will then thus run depmod/whatever from module-init-tools
    first, and if the kernel is 2.4, etc, it will call
    depmod.old/whatever ...

    Regards,

    -- 
    Martin Schlemmer
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at  http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at  http://www.tux.org/lkml/
    

  • Next message: Nick Piggin: "[PATCH] Nick's scheduler policy v10"

    Relevant Pages

    • Re: 2.4.14-pre7 Unresolved symbols
      ... > trying to build 2.4.14-pre7 breaks with the error message ... This comes from `depmod` which is creating /lib/modules/`uname ... When you boot the new kernel, ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [PATCH] 2.6: races between modprobe and depmod in rc.sysinit
      ... >> commenting out depmod in rc.sysinit did but most people seem to object to ... which also would have caught the mistake (Hint hint!). ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • [PATCH] 2.6: races between modprobe and depmod in rc.sysinit
      ... >> move temp name into original ... this does:) I have seen even more incredible races during boot recently. ... depmod on current 2.6 takes some not negligible time. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • 2.6.6-rc3: gcc 2.95: cx88 __ucmpdi2 error
      ... > depmod says: ... the switch in set_tvaudio. ... There had been need of rain for many days. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • 2.6: races between modprobe and depmod in rc.sysinit
      ... - would anybody object if I change depmod to do ... move temp name into original ... install modules they are expected to run it actually ... ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)