• Home
  • Help
  • Search
  • Login
  • Register
  Show Posts
Pages: 1 2 [3]
31  Linux Stuff / Kernel / Re: 2.6.30-rc2 uImage and kmods ipkg feed on: April 17, 2009, 01:47:04 PM
If you read /etc/init.d/nfs-*, these scripts are using /sbin/modprobe and expect modules to be at /lib/modules/`uname -r`.
This of course does not match the one installed by optware.
One hackish thing you can try before ubuntu supplies compatible kernel and kernel modules, is to backup /sbin/modprobe and /lib/modules, then "ln -s /opt/sbin/modprobe /sbin/modprobe; ln -s /opt/lib/modules /lib/modules".
32  Linux Stuff / Kernel / Re: 2.6.30-rc2 uImage and kmods ipkg feed on: April 17, 2009, 10:19:44 AM
I missed dm-mod in the previous kernel .config, so device-mapper was missing from the kernel. Now just added those and bumped IPK_VERSION to 2.
"/opt/bin/ipkg update" and you should have dm-mod available. You don't have to reflash uImage.
Just try "/opt/bin/depmod -a; /opt/bin/modprobe dm-mod" and see if it helps (I'm not near a plug to test)
On the other hand, device-mapper is needed for RAID, LVM and encrypted file system, so it's probably ok to ignore the errors if you're not using these features.
33  General Category / Success stories / Re: Bittorrent anyone ? on: April 17, 2009, 09:59:58 AM
IMHO the easiest is transmission from optware/cs08q1armel ipkg feed which comes with a web interface.
Follow http://www.nslu2-linux.org/wiki/Optware/HomePage to setup /opt/bin/ipkg.
Then follow http://www.nslu2-linux.org/wiki/Optware/Transmission quickstart guide.
rtorrent on the console also works very well (either "apt-get install rtorrent" or "/opt/bin/ipkg install rtorrent"), but the GUI is separate and requires some additional configuration.
34  Linux Stuff / Kernel / Re: 2.6.30-rc2 uImage and kmods ipkg feed on: April 17, 2009, 07:36:13 AM
"ipkg install module-init-tools" so you get /opt/sbin/depmod and /opt/sbin/modprobe.
If you want to use /sbin/depmod and /sbin/modprobe, there might be parameters to use /opt/lib/modules/.. as top modules directory.
It may sounds strange why install everything under /opt, actually this is to avoid conflict with your existing main firmware/rootfs.
35  Linux Stuff / Kernel / Re: 2.6.30-rc2 uImage and kmods ipkg feed on: April 16, 2009, 10:02:41 PM
I seem to be having trouble with this step.  This file doesn't exist after the previous steps.  I'm not sure the correct format.
Create the file if it's not there. You can do
echo "src kernel http://ipkg.nslu2-linux.org/feeds/optware/sheevaplug/cross/unstable" > /opt/etc/ipkg/kernel.conf
36  Linux Stuff / Kernel / Re: 2.6.30-rc2 uImage and kmods ipkg feed on: April 16, 2009, 08:47:23 PM
$ mkdir tmp
$ cd tmp
$ wget http://ipkg.nslu2-linux.org/feeds/optware/sheevaplug/cross/unstable/kernel-image_2.6.30-rc2-1_arm.ipk
$ tar -xzvf kernel-image_2.6.30-rc2-1_arm.ipk
$ tar -xzvf data.tar.gz
$ file boot/uImage-2.6.30-rc2-optware-build-1
boot/uImage-2.6.30-rc2-optware-build-1: u-boot/PPCBoot image

There're various ways to boot a kernel, tftp/nfs, flash it into nand and boot from /dev/mtd1, or putting it on external USB partition. You'll need to adjust u-boot bootcmd accordingly. I suggest you read the docs and get familiar with that.

In the most simple case, where you already boot from /dev/mtd1, you just need to flash, no need to change other u-boot env besides the mainlineLinux and arcNumber. You can use the existing ubuntu rootfs with newer kernel.
37  General Category / Application ideas and development Q/A / Re: The Download Center on: April 16, 2009, 08:34:26 PM
transmission and rtorrent are all in optware/cs08q1armel ipkg feed.
See http://openplug.org/plugforum/index.php?topic=74.0
and http://openplug.org/plugforum/index.php?topic=92.0
38  Linux Stuff / Kernel / Re: Where are drivers for web cams for sheevaplug? on: April 16, 2009, 08:28:40 PM
One way to get a more recent kernel and kernel module is http://openplug.org/plugforum/index.php?topic=92.0
39  General Category / Success stories / inferno OS emu/native on: April 16, 2009, 07:38:31 PM
There probably isn't a deb port for this yet, but you can get the non-GUI version from optware/cs08q1armel ipkg feed.
See http://www.nslu2-linux.org/wiki/Optware/HomePage for feed setup instruction.

To get started, see
1. http://www.resc.rdg.ac.uk/twiki/bin/view/Resc/InfernoTutorial
2. http://www.xs4all.nl/~mechiel/inferno/getting-started.html
3. http://code.google.com/p/acme-sac/

If you've not familiar with plan9 and inferno school of thinking, be open-minded about the experience. For nothing else, it at least provides one more way to share resource among heterogeneous systems without the need of NFS or CIFS.


bzhou at nslu2 dash linux dot org
40  General Category / Application ideas and development Q/A / Re: Hamachi VPN will not install on: April 16, 2009, 07:20:06 PM
See http://openplug.org/plugforum/index.php?topic=92.0 on one way to get tun.ko
41  Linux Stuff / Kernel / 2.6.30 uImage and kmods ipkg feed on: April 16, 2009, 06:56:37 PM
Is now available at

Setup optware/cs08q1armel feed to install module-init-tools

Then added the above kernel feed to your /opt/etc/ipkg/kernel.conf

To get the uImage, you can either extract it from data.tar.gz in the ipk (actually a tar.gz)
or setup the feed, "ipkg update; ipkg install kernel-image".

Make sure to "set mainlineLinux yes; set arcNumber 2097" in u-boot since this is mainline linux kernel.

After you booted using this uImage, you can install and load kernel modules. When you "ipkg install kernel-module-xyz", remember to run "/opt/sbin/depmod -a" afterwards, then you should be able to "/opt/sbin/modprobe xyz".


bzhou at nslu2 dash linux dot org

[Edit] now updated to 2.6.30
42  Linux Stuff / Kernel / Re: IPV6 Kernel with /proc/config.gz support on: April 15, 2009, 03:16:20 PM
If you'd like I can also post my kernel image 2.6.30-rc1 with cifs and proc/config.gz support (based on ubunutu kernel.)  In fast, it might be nice to have a repository of kernel and rootfs images somewhere for the community.  I know that plugcomputer.org has a download section.

optware from nslu2-linux.org will soon create a kernel uImage and kernel module ipkg feed with latest stable mainline kernel.
Update: 2.6.30-rc2 kernel image and modules ipkg feed created http://openplug.org/plugforum/index.php?topic=92.0

# ipkg install kernel-module-configs
Installing kernel-module-configs (2.6.30-rc2-1) to root...
Downloading http://ipkg.nslu2-linux.org/feeds/optware/sheevaplug/cross/unstable/kernel-module-configs_2.6.30-rc2-1_arm.ipk
Configuring kernel-module-configs
Successfully terminated.
# /opt/sbin/depmod -a
# /opt/sbin/modprobe configs
# zcat /proc/config.gz  | less
43  Linux Stuff / Kernel / Optware ipk feeds on: April 15, 2009, 02:45:49 PM
Not exactly a distribution, but you can simply use the optware/cs08q1armel feed on various rootfs's. I've tested that the feed works fine on DevKit rootfs1.0, and ubuntu.

The setup instruction is at http://www.nslu2-linux.org/wiki/Optware/HomePage

For web server, subversion, git server and all sorts of headless applications, you don't need a full distribution. There's also native toolchain in the feed. There's a squeezecenter package, however it needs some more testing (squeezecenter on other feeds are known to work).

We plan to have a kernel-image/kernel-modules feed open soon.


-Brian Zhou
bzhou at nslu2 dash linux dot org
Pages: 1 2 [3]