Re: Driver Update Disk discussion

From: Daniel O'Connor (doconnor_at_gsoft.com.au)
Date: 02/25/05

  • Next message: Andriy Tkachuk: "Re: Remote upgrade of 4.X-5.3-Stable"
    To: "M. Warner Losh" <imp@bsdimp.com>
    Date: Fri, 25 Feb 2005 14:44:27 +1030
    
    
    

    On Fri, 25 Feb 2005 14:14, M. Warner Losh wrote:
    > : I think PORTS_MODULES is a little suboptimal..
    >
    > How so?

    If you upgrade your ports tree and then rebuild your kernel you may upgrade a
    port KLD without wanting to.

    > : Fx5200 Go). It also means that the kernel build/install does not result
    > : in non kernel things being altered.
    >
    > How do your patches work?

    http://www.dons.net.au/~darius/port-kld.diff
    http://www.dons.net.au/~darius/port-makefile.txt

    (Rename the later to Makefile and put it in /usr/local/kld)

    It hooks into /usr/src/sys/modules/Makfile and looks for module directories to
    build in a certain directory. It [is supposed to] acts like another
    subdirectory of /usr/src/sys/modules.

    > Do they work with multiple kernel trees?

    I am pretty sure it does but I haven't explicitly tested it - certainly the
    source directory doesn't get dirtied by builds.

    > I guess I'm a little unclear why this is better or worse than
    > PORTS_MODULES. I guess I'm missing the explicit step, since I only
    > ever update the parts of my ports tree that I'm upgrading with
    > portupgrade.

    Ahh.. I NFS mount my ports tree between a bunch of machines they all have
    WRKDIRPREFIX, and the ports tree is updated each day using cvsup.

    I don't think this is an uncommon setup but I don't have any evidence.

    > : Also speaking of KLD ports.. I really wish they wouldn't install
    > : into /boot/modules (I patch so they don't) as it is a really good way to
    > : shoot yourself in the foot during an upgrade :(
    >
    > Usually this is only a problem when tracking or jumping to current,
    > but I understand...

    Yeah usually, but I have had it happen in -stable too (very rare). Even so it
    can be a pretty big waste of time as a developer when you're tracking
    current ;)

    -- 
    Daniel O'Connor software and network engineer
    for Genesis Software - http://www.gsoft.com.au
    "The nice thing about standards is that there
    are so many of them to choose from."
      -- Andrew Tanenbaum
    GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C
    
    



  • Next message: Andriy Tkachuk: "Re: Remote upgrade of 4.X-5.3-Stable"

    Relevant Pages

    • Re: policy on GPLd drivers?
      ... > exist in the ports tree instead of the mainline kernel sources:). ... There are already a number of kernel modules in the ports tree (eg nvidia ... drivers, ltmdm modem driver, aureal sound driver, etc). ... for Genesis Software - http://www.gsoft.com.au ...
      (freebsd-current)
    • Advice about cvsup ports-all upgrading
      ... I'd like to have an advice about how to behave in case I want to upgrade ... expecially if I use to cvsup all my ports tree. ... So if I portupgrade -r a it would try to upgrade the dependency first, ... make PREFIX=/usr/home/example/local install ...
      (comp.unix.bsd.freebsd.misc)
    • Re: Using nvidia-driver with 6-x/CURRENT
      ... bsdimp@ has already committed such a feature. ... when you build a new kernel. ... If you keep your ports tree up to date regularly ... for Genesis Software - http://www.gsoft.com.au ...
      (freebsd-current)
    • Re: "libexpat.so.5" not found
      ... Be sure to update your ports tree before attempting this. ... If you did not upgrade to 6.x, you may have upgrade expat incorrectly (if ... which might have happened if you used portupgrade to install ... Possibly you installed apache from a binary that does not match your system. ...
      (freebsd-questions)
    • [FreeBSD-Announce] HEADS UP: xorg 7.2 update in progress
      ... For the past two weeks the ports tree has been frozen while our ... upgrade process. ... If you are running an automatic port rebuild script from e.g. cron, ... duration of this freeze will depend on any problem reports we receive ...
      (freebsd-announce)