User(s) browsing this thread: 1 Guest(s)
|
Modules and the kernel
|
|
08-09-2008, 10:28 PM
|
|||
|
|||
|
Modules and the kernel
So, I finally have a cross-compiler set up, and have been able to compile some modules for the A-100. But while investigating the filesystem, I notice that it doesn't use regular kernel-modules, but some kind of directory tree... I've so far been unable to find any information about how this works, and to be honest, I'm a bit unsure what searchwords to use. "Kernel module directory" doesn't exactly yield the right results.
So I call out to all of you who experiment with this lovely box: Do you know how this works? I'll contribute to the wiki-pages as soon as I have something that works, as I believe many more would love to have OpenVPN working (makes it so more handier when having off-site stream-server). |
|||
|
08-09-2008, 10:54 PM
(This post was last modified: 08-09-2008 10:59 PM by journey4712.)
|
|||
|
|||
|
RE: Modules and the kernel
Not sure what you mean. The modules seem to be in the linux standard spot (/lib/modules/`uname -r`). The directory structure looks just like my ubuntu box. What exactly is the problem?
For a detailed description on how someone else got their own kernel modules to compile for the nmt, check out Fuse compiled by lundman journey |
|||
|
08-10-2008, 12:52 AM
|
|||
|
|||
|
RE: Modules and the kernel
Sure? How can I help?
|
|||
|
08-10-2008, 11:11 AM
(This post was last modified: 08-10-2008 11:13 AM by Zhiva.)
|
|||
|
|||
|
RE: Modules and the kernel
The modules (at least on my box) does not reside in the usual spot. There is no /lib/modules-directory. However, in /sys/ there is a directory called module, which has the following directory structure:
<pre> # cd /sys/module/ # ls 8250 ide_cd sg usb_storage af_packet libata sr_mod usbcore arusb_lnx llad tangox_ehci_hcd usbhid ehci_hcd lockd tcp_bic em8xxx scsi_mod uhci_hcd </pre> in each dir there are either more dirs, or a file contaning settings: <pre> # cd libata # ls parameters # cd parameters/ # ls atapi_enabled # # cat atapi_enabled 1 # </pre> Doing an insmod results in this: <pre> # insmod tun.ko insmod: cannot insert 'tun.ko': Success </pre> Funny that it says Success ![]() So, what I need help for is figuring out a way to insmod my own modules. Looking at the Lundman-wiki (which I hadn't visited allready) there seems to be some tips I'll try to incorporate. Hopefully that will work
|
|||
|
08-10-2008, 11:29 AM
|
|||
|
|||
|
RE: Modules and the kernel
run "dmesg" to get the error from kernel, even better, run "cat /proc/kmsg &" before. Most likely is missing link-time functions.
|
|||
|
08-10-2008, 12:45 PM
|
|||
|
|||
|
RE: Modules and the kernel
Thanks Lundman. Seems that the version magic was just missing the right gcc-bit
![]() tun: version magic '2.6.15-sigma preempt MIPS32_R2 32BIT gcc-3.4' should be '2.6.15-sigma preempt MIPS32_R2 32BIT gcc-4.0' I'll recompile my toolchain and retry
|
|||
|
11-28-2008, 04:50 PM
(This post was last modified: 12-01-2008 11:09 AM by aguaza.)
|
|||
|
|||
|
RE: Modules and the kernel
Someone Could explain how to add the IPv6 module in the PCH A110 kernel
I tried Code: # modprobe ipv6I think the reason is : module in not included in the kernel 2.6.15-sigma. Do you know how to add it ? We have a NZBget compliant with IPv6 but the PCH-A110 no !
PCHA110/Spinpoint F1 1TB PANASONIC TH-42PZ81E Yamaha HTR-6030 Silver - 5 x 100 W |
|||
|
« Next Oldest | Next Newest »
|
| Possibly Related Threads... | |||||
| Thread: | Author | Replies: | Views: | Last Post | |
| cross-compile 2.6.15 kernel | dony71 | 1 | 371 |
03-19-2013 01:45 AM Last Post: dony71 |
|
| Alsa kernel modules and binaries for PCH. | Goophy | 17 | 4,821 |
10-13-2010 06:06 AM Last Post: accident |
|
| New firmware & broken kernel modules | alanh | 1 | 830 |
08-27-2009 03:08 PM Last Post: bdb |
|
| Help compiling kernel module | tiagor | 3 | 2,015 |
05-02-2009 12:50 AM Last Post: tiagor |
|
| Making toolchain to make kernel..help :( | telexxingou | 6 | 1,801 |
02-22-2009 04:57 PM Last Post: telexxingou |
|
| Possibility to show actual boot/kernel info during startup | pvg | 2 | 1,814 |
02-05-2009 08:56 PM Last Post: pvg |
|
| kernel .config.old file | emveepee | 2 | 2,255 |
01-10-2008 07:23 AM Last Post: emveepee |
|

Twitter
Facebook
NMT Wiki
Search
Member List
Help
A-400 [13 May 2013]




![[+]](images/collapse_collapsed.gif)





