Professional Web Applications Themes

Where are my kernel modules in the source tree ? - Linux Setup, Configuration & Administration

On Tue, 23 Dec 2003 05:25:01 GMT, PecanEater <email.me.ever> wrote:   Yeah, I didn't really want to do this. I am building a kernel for another machine. To do a modules_install, I need to become root on the compile machine. I did not want to do this. I built the kernel as an ordinary user. I really do want the modules to install to a directory of my choosing. Thanks anyway !...

  1. #1

    Default Re: Where are my kernel modules in the source tree ?

    On Tue, 23 Dec 2003 05:25:01 GMT, PecanEater <email.me.ever>
    wrote:
     

    Yeah, I didn't really want to do this.

    I am building a kernel for another machine.

    To do a modules_install, I need to become root on the compile machine.

    I did not want to do this. I built the kernel as an ordinary user.

    I really do want the modules to install to a directory of my choosing.

    Thanks anyway !


    Mark Guest

  2. #2

    Default Re: Where are my kernel modules in the source tree ?

    Mark Hobley wrote:
     
    >
    > Yeah, I didn't really want to do this.
    >
    > I am building a kernel for another machine.
    >
    > To do a modules_install, I need to become root on the compile machine.
    >
    > I did not want to do this. I built the kernel as an ordinary user.
    >
    > I really do want the modules to install to a directory of my choosing.
    >
    > Thanks anyway ![/ref]

    Where is your problem?
    To set up *any* compiled kernel or module, you have to be root.
    Why don't you want to be root to do this one-time task?
    And installing modules to a path where the kernel is unable to find them is
    somewhat counterproductive. Especially since you are not required to boot
    with the new kernel and the new modules
    --
    Hardware, n.:
    The parts of a computer system that can be kicked.

    Peter Guest

  3. #3

    Default Re: Where are my kernel modules in the source tree ?


    "Peter Köhlmann" <de> wrote in message
    news:bst8b4$3cv$07$t-online.com... 
    > >
    > > Yeah, I didn't really want to do this.
    > >
    > > I am building a kernel for another machine.
    > >
    > > To do a modules_install, I need to become root on the compile machine.
    > >
    > > I did not want to do this. I built the kernel as an ordinary user.
    > >
    > > I really do want the modules to install to a directory of my choosing.
    > >
    > > Thanks anyway ![/ref]
    >
    > Where is your problem?
    > To set up *any* compiled kernel or module, you have to be root.
    > Why don't you want to be root to do this one-time task?
    > And installing modules to a path where the kernel is unable to find them[/ref]
    is 
    why install the modules somewhere other than in /lib/modules/blah ?

    For example, he wants to build the kernel as a user on one machine
    and install it , as root, on another .


     


    Leon. Guest

  4. Moderated Post

    Default Re: Where are my kernel modules in the source tree ?

    Removed by Administrator
    Peter Guest
    Moderated Post

  5. #5

    Default Re: Where are my kernel modules in the source tree ?

    [ Bunch of invalid ng (for me) removed ]

    Mark Hobley <deletethisbit.com> wrote: 
     [/ref]
     
     
     
     
     

    Just edit the Makefile before compiling:

    #
    # INSTALL_MOD_PATH specifies a prefix to MODLIB for module directory
    # relocations required by build roots. This is not defined in the
    # makefile but the arguement can be passed to make if needed.
    #

    MODLIB := $(INSTALL_MOD_PATH)/lib/modules/$(KERNELRELEASE)
    export MODLIB


    --
    Michael Heiming

    Remove +SIGNS and www. if you expect an answer, sorry for
    inconvenience, but I get tons of SPAM
    Michael Guest

  6. #6

    Default bttv not loading for Hauppauge WinTV 250 PCI


    I want to convert my VHS tapes to VCD so I installed
    a Hauppauge WinTV card.

    Everything goes fine until I get to bttv.

    bttv is failing to load with a "no such device" error,
    but lsmod is finding the PCI card. I not sure want bttv
    is looking for, and I don't see anything helpful in the syslog.

    any ideas would be helpful?

    thanks.


    Mandrake 9.2

    Kernel 2.4.22-10mdk


    # modprobe i2c-core

    # modprobe i2c-algo-bit

    # modprobe videodev

    # modprobe v4l2-common

    # modprobe tuner


    # modprobe bttv card=2 radio=0
    /lib/modules/2.4.22-10mdk/kernel/drivers/media/video/bttv.o.gz:
    init_module: No such device
    Hint: insmod errors can be caused by incorrect module parameters,
    including invalid IO or IRQ parameters.
    You may find more information in syslog or the output from dmesg
    modprobe: insmod
    /lib/modules/2.4.22-10mdk/kernel/drivers/media/video/bttv.o.gz failed
    modprobe: insmod bttv failed




    # tail -3 /var/log/syslog
    Dec 30 17:23:27 wn kernel: bttv: driver version 0.7.107 loaded
    Dec 30 17:23:27 wn kernel: bttv: using 4 buffers with 2080k (8320k
    total) for capture
    Dec 30 17:23:27 wn kernel: bttv: Host bridge is Silicon Integrated
    Systems [SiS] SiS 645xx


    # lsmod | egrep 'i2c|video|v4l|tune|bttv'
    tuner 11688 0 (unused)
    v4l2-common 4032 0 (unused)
    videodev 7936 0
    i2c-algo-bit 8552 0
    i2c-core 20484 0 [msp3400 tuner i2c-algo-bit]


    # lspci -v
    00:0b.0 Multimedia video controller: Internext Compression Inc: Unknown
    device 0016 (rev 01)
    Subsystem: Hauppauge computer works Inc.: Unknown device 4009
    Flags: bus master, medium devsel, latency 32, IRQ 3
    Memory at f4000000 (32-bit, prefetchable) [size=64M]
    Capabilities: [44] Power Management version 2



    01:00.0 VGA compatible controller: Matrox Graphics, Inc. MGA G550 AGP
    (rev 01) (prog-if 00 [VGA])
    Subsystem: Matrox Graphics, Inc. Millennium G550 Dual Head DDR 32Mb
    Flags: bus master, medium devsel, latency 64, IRQ 11
    Memory at fc000000 (32-bit, prefetchable) [size=32M]
    Memory at ef800000 (32-bit, non-prefetchable) [size=16K]
    Memory at ef000000 (32-bit, non-prefetchable) [size=8M]
    Expansion ROM at fbfe0000 [disabled] [size=128K]
    Capabilities: [dc] Power Management version 2
    Capabilities: [f0] AGP version 2.0

    LT© Guest

  7. #7

    Default Re: bttv not loading for Hauppauge WinTV 250 PCI

    On Thu, 01 Jan 2004 13:32:30 -0500, LT© wrote:
     

    Try MythTV. Oh, and please don't crosspost like that! It's
    anti-social and heavily frowned upon. Learn how to behave before you
    start posting all over the place.

    Sybren
    --
    (o_ Q: God, root, what is difference?
    //\ A: God can change the byte order on the CPU, root can't.
    V_/_


    Sybren Guest

Similar Threads

  1. RH9.0 - kernel source directory and kernel config ?
    By Marcio in forum Linux Setup, Configuration & Administration
    Replies: 7
    Last Post: October 12th, 08:49 AM
  2. Source Code for Kernel Modules
    By Paul Galbraith in forum Debian
    Replies: 8
    Last Post: July 16th, 04:50 AM
  3. kernel-source versus kernel-patch
    By Ismael Valladolid Torres in forum Debian
    Replies: 1
    Last Post: July 14th, 06:20 PM
  4. Kernel Modules
    By Abrasive in forum Debian
    Replies: 0
    Last Post: July 3rd, 07:10 PM
  5. Replies: 15
    Last Post: July 3rd, 05:20 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139