Berkeley CSUA MOTD:Entry 12705
Berkeley CSUA MOTD
 
WIKI | FAQ | Tech FAQ
http://csua.com/feed/
2025/05/25 [General] UID:1000 Activity:popular
5/25    

2004/3/16-17 [Computer/SW/OS/Linux] UID:12705 Activity:nil
3/16    debian newbie question. so i compiled a new kernel (2.4.18,
        2.4.19, 2.6.0) but when i boot with it, the modules no longer
        work, if i link /lib/modules/.... to the correct kernel name,
        it complains that the modules are not compiled for 2.4.18-bf2.
        So what is the correct way to try a new kernel on linux for
        debian? thx.
        \_ In general, compiling source requires "make bzImage;make modules;
           make modules_install;make bzlilo(or whatever you do to let your
           boot loader load the kernel). make modules_install will install
           the modules ot /lib/modules.  The debian way is make_kpkg
           kernel_images to create the deb package and install using dpkg.
           \_ you mean make-kpkg clean; make-kpkg kernel_image;
              cd ..; dpkg -i <kernel_package>
              \_ exactly.  which boot manager are you using?
           \_ another newbie question, i ran make modules, all works. then
              I ran make modules_install, I got

find kernel -path '*/pcmcia/*' -name '*.o' | xargs -i -r ln -sf ../{} pcmcia
if [ -r System.map ]; then /sbin/depmod -ae -F System.map  2.4.19; fi
depmod: *** Unresolved symbols in /lib/modules/2.4.19/kernel/drivers/net/wan/wanpipe.o
depmod:         register_wan_device_Rsmp_25269802
depmod:         lock_adapter_irq_Rsmp_7e6ae263
depmod:         wanrouter_encapsulate_Rsmp_a5336dd5
depmod:         unlock_adapter_irq_Rsmp_1e7b9a43
depmod:         unregister_wan_device_Rsmp_0ebe03d1
depmod:         wanrouter_type_trans_Rsmp_5cb5fb99
make: *** [_modinst_post] Error 1

             Is this something to be ignored or??

        \_ btw, you may want to use some newer kernels that don't have the
           variety of local exploits reported in recent weeks.
           \_ such as? what version do you recommend?
              \_ like, say, the latest? or at least get a version with the
                 backported patches.
                 \_ get the source for 2.4.25-1 if you want to use 2.4
                    \_ exchange known security holes for unknown bugs/holes.
                       \_ or exchange new unknown bugs/holes for old
                          unknown bugs/holes.
           \_ use the 2.4.18-1-foo debian kernel. (where foo is your
              processor) When linux kernel exploits are found, the debian
              security team back-ports the patches and release an updated
              2.4.18 kernel-image. This way you don't have to deal with any
              of the hassles involved with compiling a kernel. nor do you
              have to wait for testing/unstable to releases the next kernel
              version. and by using the same kernel version, you're not
              forced to upgrade libraries and api's required by the new
              kernel.
              \_ it's not really a big hassle, once you've learned how.
                 and debian's kernel is not going to be nearly as optimized
                 as one you build yourself. ergo, the whole point of wanting
                 to build your own kernel.
2025/05/25 [General] UID:1000 Activity:popular
5/25    

You may also be interested in these entries...
2013/2/19-3/26 [Computer/SW/OS/OsX] UID:54611 Activity:nil
2/19    I program a lot by sshing to a Linux cluster.  So I'm used to using
        Xemacs to code.  This works fine from a Linux or Windows workstation,
        but sometimes I have to use a Mac.  On Mac, the meta is usually
        bound to option, but that often doesn't work over ssh for some reason.
        This makes using emacs a real pain.  Any suggestions on how to fix it?
        (Other than "use vi")
	...
2012/8/28-11/7 [Computer/HW/Memory] UID:54466 Activity:nil
8/26    Amazon medium instances (3.75GB RAM): 0.160/hour = $1382/year
        Generic standard Linux VPS (4GB RAM): $480/year
        Amazon costs more (but does offer superior scaling options).
        \_ Amazon is $670 if you buy a year's usage up front (heavy util).
           Why is heavy util less expensive than light util?
	...
2012/1/4-2/6 [Computer/HW/Drives] UID:54281 Activity:nil
1/4     I want to test how my servers behave during a disk failure and
        a RAID reconstruction so I want to simulate a hardware failure.
        How can I do this in Linux without having to physically pull
        a drive? These disks are behind a RAID card and run Linux. -ausman
        \_ According to the Linux RAID wiki, you might be able to use mdadm
           to do this with something like the following:
	...
2011/9/14-10/25 [Computer/HW/Drives] UID:54173 Activity:nil
9/13    Thanks to Jordan, our disk server is no longer virtualized. Our long
        nightmare of poor IO performance should hopefully be over. Prepare for
        another long nightmare of poor hardware reliability!
        ...
        Just kidding! (I hope)
        In any case, this means that cooler was taken out back and shot, and
	...
2011/2/11-19 [Computer/SW/OS/Linux, Computer/SW/Security] UID:54036 Activity:nil
2/10    Debian 6.0 squeeze is the new stable.  Do we dare a dist-upgrade?
        \_ the key for http://security.debian.org has changed btw.
	...
2010/7/21-8/9 [Computer/SW/OS/FreeBSD] UID:53890 Activity:nil
7/21    Can I just use ifconfig to expand my netmask on a FreeBSD box?
        Are there any gotchas here? Linux forces me to restart my network
        to expand my netmask.
        \_ yes... and no, you don't have to restart your network on linux either
           \_ Rebooting is the Ubootntoo way!
              \_ Oooboot'n'tootin!
	...
2010/7/22-8/9 [Computer/SW/OS/FreeBSD, Computer/HW/Drives] UID:53893 Activity:nil
7/22    Playing with dd if=/dev/random of=/dev/<disk> on linux and bsd:
        2 questions, on linux when <disk>==hda it always gives me this off
        by one report i.e. Records out == records in-1 and says there is an
        error. Has anyone else seen this?  Second, when trying to repeat this
        on bsd, <disk>==rwd0 now, to my surprise, using the install disk and
        selecting (S)hell, when I try to dd a 40 gig disk it says "409 records
	...
2010/5/26-6/30 [Computer/SW/Unix/WindowManager, Computer/SW/OS/OsX] UID:53844 Activity:nil
5/26    anyone use lxde?  supposedly it is less stupid than xfce and
        less bloated than gnome.  thoughts?
        \_ lol, does anyone still use desktop linux?  Get with the times
           buy a mac.  Now.  DO IT.  Go NOW.
           \_ but we prefer herring to Kool-Aid
              \_ "you have to yell, he's hard of herring"
	...