Help - Search - Members - Calendar
Full Version: A Kernel With Everything
OESF Forums > Distros, Development, and Model Specific Forums > Model Specific Forums > C1000/3x00 General discussions
gjarboni
Okay, since I'm a consultant and intend to use my Zaurus at different sites, I decided to try and compile a kernel with every resonable module selected. I started with the patches listed at tetsu.homelinux.org (which has precompiled kernels as well, for some great instructions, this thread was a great help.

I included every USB driver (usb serial converters, tablets, mice, usb ethernet, usb wifi, NTFS, NFS, NCPFS (for mounting netware volumes), IPX, Appletalk, 802.1q, QoS (I'm a network engineer), Video for Linux and a bunch of other stuff that I don't remember. Eeverything compiled without a hitch (a testiment to Linux' robustness), and only one module flunked depmod (miropcm20.o). And indeed the kernel booted -- with the Sharp logo gone.

Now the resulting modules directory is over 4Mb, so I had to create a modules directory on /hdd2/modules and change the symlink in /home/root to point there.

So I have two questions. First, I've been using it for a couple of days with no problems, but I'm wondering if anyone can forsee a problem with moving the modules off the ramdisk?

Second, would this be useful to anyone else? If so, I can upload it to my web site (the kernel and modules total 2.8Mb tarred and gzipped so they won't fit here).

Thanks!
ArchiMark
gjarboni,

Sounds great!

Think I and some others with C3000's would be interested in your kernel.

What about squashfs?

http://www.oesf.org/forums/index.php?showtopic=10571

That's needed to run 'dev_img-1.6' that Maslovsky released recently....

Thanks,

Mark
m-morino
Hi,

I already made a squashfs-2.1 kernel module package for C3000.
It works fine, at least for my C3000.

Try it.

HTH,

--
m-morimo
ArchiMark
Thanks m-morino,

What is the proper way to install it on my C3000?

Thanks,

Mark
m-morino
Hi Mark,

QUOTE(ArchiMark @ Feb 6 2005, 01:15 PM)
What is the proper way to install it on my C3000?
*


$ su
# ipkg install kern-mod-squashfs_C3000-2.1-2_arm.ipk

The module will be placed into:
/lib/modules/2.4.20/kernel/fs/squashfs/squashfs.o

A "postinst" script included in the package also does depmod -a.
The only thing you have to do is mounting squashfs images smile.gif

HTH,

--
m-morino
ArchiMark
Thanks for the explanation m-morino! That's great!

In the meantime, I have managed to screw up my C3000 trying to install your pre-compiled kernel....

Hope you can advise!

thanks,

mark
mammothrept
Will this kernel screw up the Japanese on the original Sharp ROM? I have mine altered to do most things in English but still retain all the Japanese characters and dictionaries.

QUOTE(gjarboni @ Feb 5 2005, 11:02 PM)
Okay, since I'm a consultant and intend to use my Zaurus at different sites, I decided to try and compile a kernel with every resonable module selected.  I started with the patches listed at tetsu.homelinux.org (which has precompiled kernels as well, for some great instructions, this thread was a great help.

I included every USB driver (usb serial converters, tablets, mice, usb ethernet, usb wifi, NTFS, NFS, NCPFS (for mounting netware volumes), IPX, Appletalk, 802.1q, QoS (I'm a network engineer), Video for Linux and a bunch of other stuff that I don't remember. Eeverything compiled without a hitch (a testiment to Linux' robustness), and only one module flunked depmod (miropcm20.o). And indeed the kernel booted -- with the Sharp logo gone.

Now the resulting modules directory is over 4Mb, so I had to create a modules directory on /hdd2/modules and change the symlink in /home/root to point there.

So I have two questions. First, I've been using it for a couple of days with no problems, but I'm wondering if anyone can forsee a problem with moving the modules off the ramdisk?

Second, would this be useful to anyone else? If so, I can upload it to my web site (the kernel and modules total 2.8Mb tarred and gzipped so they won't fit here).

Thanks!
*
gjarboni
QUOTE(mammothrept @ Feb 6 2005, 05:03 AM)
Will this kernel screw up the Japanese on the original Sharp ROM?  I have mine altered to do most things in English but still retain all the Japanese characters and dictionaries.

*


I don't believe this kernel will mess with the Japanese character handling. I based my kernel on the patches from testu's site and started from Sharp's original .config file (from the original Japanese kernel).

I'll post the kernel and modules tonight (gotta run to get ready for my Superbowl party).
gjarboni
QUOTE(gjarboni @ Feb 6 2005, 01:32 PM)
I'll post the kernel and modules tonight (gotta run to get ready for my Superbowl party).

Okay, the Superbowl is over (and was fun to watch!). I've uploaded the kernel and a gzipped tar of the modules to:

ftp://www.rtgx.com/pub/c3000-bigkernel. There are three files:

zImage (the kernel)
updater.sh (the script that installs a new kernel -- it's in Japanese)
2.4.20.modules.tar.gz

For instructions on how to install a new kernel, please go to: http://www.steyla.com/zaurus/kernel.php3.

This great site has easy to follow instructions on how to compile and install your own kernel. To install the modules, download the tar file, unzip it and unpack it in the root of hdd2:

wget ftp://www.rtgx.com/pub/c3000-bigkernel/2.4.20.modules.tar.gz
cd /hdd2
gunzip 2.4.20.modules.tar.gz
tar -xvf 2.4.20.modules.tar.gz

This will create a modules directory under /hdd2. Now, we need to change a symlink to point to this directory (rather than the directory in /home/root/modules).

cd /home/root
mv modules modules.orig
ln -s /hdd2/modules modules

Now to check that everything works, list the contents of /lib/modules

ls /lib/modules/

You should see one entry:

2.4.20

Now I've included all the patches from tetsu.homelinux.org. The only feature that that site that might not work is the overclocking (I'm not sure that the overclocking patch took). If someone could test that out (check out this thread for details) that would be great.
euroclie
Hello,

First of all, thank you gjarboni for your hard work. Here's a feedback after trying your kernel/modules.

I've followed your instructions (btw there a small typo in the modules installation part of your explanation, when you write:
QUOTE
cd /hdd2
gunzip 2.4.20.modules.tar.gz
tar -xvf 2.4.20.modules.tar.gz
the tar command is applied on the 2.4.20.modules.tar file (not .tar.gz) since we just gunzipped it on the previous line wink.gif )

My SL-C3000 reboots just fine (I had installed the modules before updating the kernel), and it feels somewhat more responsive, which is a good thing.

The one thing I immediately noted, though, is that my SD card had disappeared. I couldn't even mount it manually, I got error messages about a non existent /dev/mmcda1 device or something like that... Can you confirm if you also witness this behavior or if I did something wrong?

I then installed v17g kernel and modules from tetsu.homelinux.org, and everything worked as expected (SD card recognized again)...

Regardless of the problem I encountered, I wanted to congratulate you for compiling that stuff and hosting it for us Zaurus end-users... Thank you heartily for your efforts and generosity! biggrin.gif
m-morino
Hi euroclie,

QUOTE(euroclie @ Feb 24 2005, 09:13 AM)
The one thing I immediately noted, though, is that my SD card had disappeared. I couldn't even mount it manually, I got error messages about a non existent /dev/mmcda1 device or something like that... Can you confirm if you also witness this behavior or if I did something wrong?
*

You have to make a symbolic link of the SD driver module, then generate a list of module dependencies:

CODE
$ su
# bash
bash-2.05 # ln -s /lib/modules{.rom,}/2.4.20/kernel/drivers/block/sharp_mmcsd_m.o
bash-2.05 # depmod -a

After that reboot your Z.

HTH,
euroclie
QUOTE(m-morino @ Feb 24 2005, 02:54 AM)
You have to make a symbolic link of the SD driver module, then generate a list of module dependencies:

Hmm... Indeed that should fix the problem. I'll give it a try when I find the time to update the kernel again. Thanks a lot!
euroclie
QUOTE(m-morino @ Feb 24 2005, 02:54 AM)
You have to make a symbolic link of the SD driver module, then generate a list of module dependencies:

OK, I've made the symlink.

To save other newbies some time, I'll add a small note: I initially made the mistake of simlinking to /home/root/modules/2.4.20/kernel/drivers/block/sharp_mmcsd_m.o (because I didn't have m-morino post available at that moment, and this was the first occurrence of the module when doing a "locate mmcsd") which caused problem when runing depmod -a because of too many nested links, and once I linked to /lib/modules.rom/2.4.20/kernel/drivers/block/sharp_mmcsd_m.o, depmod -a worked as expected.

After a reboot the SD card works again. Cool! Now I'll try my GSM/GPRS card with that kernel/modules setup and see if it still works... smile.gif

Thanks again m-morino!
euroclie
One more question: I'm playing with my GSM/GPRS CF card right now, with gjarboni's kernel & modules.

I thought that everything possible would be compiled as a module, but am I correct in thinking that the serial stuff is still in the kernel (and not in a serial_cs module)? I don't have serial_cs listed with the other modules when inserting my CF card, and yet it does answer the AT commands using minicom...
realm
does anyone still have a copy of this kernel and the modules, i've tried to download it a few times and it looks like the files aren't up anymore.
gjarboni
QUOTE(realm @ Apr 7 2005, 08:08 PM)
does anyone still have a copy of this kernel and the modules, i've tried to download it a few times and it looks like the files aren't up anymore.
*


The files are still at:

ftp://www.rtgx.com/pub/c3000-bigkernel/

I just tested it with IE 6 (under Windows XP) and command line ftp (NetBSD). However, there is a long delay (maybe 90 seconds) when you first connect to the ftp server. Maybe it's throwing off your ftp client? I'm sure the delay is caused by some sort of DNS lookup, but I haven't had the time to track it down.
kahm
I get a 'Error 425 - Can't open data connection' on Mandrake 10/Mozilla.
NCFTP on the commandline works, but notes "Connect Failed: Connection Refused. Falling back to PORT instead of PASV mode."

Your FTP server doesn't support or has turned off passive mode, maybe?
bmsleight
Thank-you thank-you thank-you

pegasus.o

It allows me to use my usb to ethernet device

Bus 001 Device 002: ID 07a6:8511 ADMtek, Inc. ADM8511 Pegasus II Ethernet


A very happy,
Brendan
bcom75
I confirm the problems with getting into the FTP site...any hopes of getting it off HTTP or any other system?
thanks!
offroadgeek
I've increased the size allowed on file uploads to be 5MB, so if someone has the files/ just upload them to this post so they will forever be here.
dsturim
QUOTE(offroadgeek @ May 22 2005, 04:03 PM)
I've increased the size allowed on file uploads to be 5MB, so if someone has the files/ just upload them to this post so they will forever be here.
*



Does WPA wifi work with this by chance?

Thanks
Meanie
QUOTE(offroadgeek @ May 23 2005, 10:03 AM)
I've increased the size allowed on file uploads to be 5MB, so if someone has the files/ just upload them to this post so they will forever be here.
*


Actually, you can download it, but you need to use a proper ftp client. It does not allow you to download through a browser.

I can upload the file if required.
Da_Blitz
that would be good, still havig problems even with an ftp client
Meanie
QUOTE(Da_Blitz @ May 26 2005, 09:05 AM)
that would be good, still havig problems even with an ftp client
*


here it is smile.gif

you will need to rename updater.sh.txt to updater.sh and zImage.txt to zImage (the forum did not let me upload those files with their original names and it had to tell me after the upload sad.gif it should had just checked it before uploading instead of doing it afterwards sad.gif
carbonfreeze
Unfortunately after installing this kernel update the SD card no longer appears to be auto-mounted by the Zaurus when it is inserted. I followed these steps when installing the update:

1). Downloaded and transferred zImage and updater.sh to an empty SD card.
2). Downloaded 2.4.20.modules.tar.gz; gunzipp'ed and extracted the tar file to /hdd2/
3). Created symlink (as root) with following commands
CODE
cd /home/root
mv modules modules.orig
ln -s /hdd2/modules modules

4). Ran
CODE
ls /lib/modules/

Shell echo'ed desired result: 2.4.20 .
5). Rebooted my 3000, ran kernel updater from SD card. Rebooted again.

After rebooting noticed that I was unable to access SD card (it was not being auto-mounted); no SD icon/applet in application bar.

6). After viewing m-morino's post, perfomed
CODE
$ su
# bash
bash-2.05 # ln -s /lib/modules{.rom,}/2.4.20/kernel/drivers/block/sharp_mmcsd_m.o


Recieved error message
CODE
ln: /lib/modules/2.4.20/kernel/drivers/block/sharp_mmcsd_m.o: No such file or directory


Re-ran as
CODE
bash-2.05 # ln -s /lib/modules.rom/2.4.20/kernel/drivers/block/sharp_mmcsd_m.o

did not recieve an error message.

7). Ran
CODE
depmod -a


Depmod echo'ed the following:
CODE
depmod: /lib/modules/2.4.20/modules.ieee1394map is not an ELF file
depmod: cannot read ELF header from /lib/modules/2.4.20/modules.pnpbiosmap
depmod: *** Unresolved symbols in /lib/modules/2.4.20/kernel/drivers/media/radio/miropcm20.o


At this point the Zaurus is still unable to automount the SD card. I have not attempted to manually mount the card. Any suggestions you have are welcome. Step by step instructions for resolving this issue via the shell are appreciated.

Edit: After installing this update I am also no longer able to connect the 3000 via USB to an NT 5.1 based machine and have it be recognised when using PC Link in Storage mode. Tested my CF devices (modem and 10/100 ethernet card) and both appear to be detected properly.
carbonfreeze
bump
gjarboni
I've noticed this too, but I haven't had time to track it down. I'm assuming that the original modules directory contains a module that does both the SD card and for acting as a USB HD (for storage mode). If you can find the modules, you can copy them from the old directory to the new and run depmod again (and that should fix things).
AndyTiedye
Is this kernel sufficiently similar to the Sharp kernel that these modules would
work with the Sharp kernel?

Is there a .config file for this kernel?
daemon1
QUOTE(gjarboni @ Feb 6 2005, 08:27 PM)
QUOTE(gjarboni @ Feb 6 2005, 01:32 PM)
I'll post the kernel and modules tonight (gotta run to get ready for my Superbowl party).

Okay, the Superbowl is over (and was fun to watch!). I've uploaded the kernel and a gzipped tar of the modules to:

ftp://www.rtgx.com/pub/c3000-bigkernel. There are three files:

zImage (the kernel)
updater.sh (the script that installs a new kernel -- it's in Japanese)
2.4.20.modules.tar.gz

For instructions on how to install a new kernel, please go to: http://www.steyla.com/zaurus/kernel.php3.

This great site has easy to follow instructions on how to compile and install your own kernel. To install the modules, download the tar file, unzip it and unpack it in the root of hdd2:

wget ftp://www.rtgx.com/pub/c3000-bigkernel/2.4.20.modules.tar.gz
cd /hdd2
gunzip 2.4.20.modules.tar.gz
tar -xvf 2.4.20.modules.tar.gz

This will create a modules directory under /hdd2. Now, we need to change a symlink to point to this directory (rather than the directory in /home/root/modules).

cd /home/root
mv modules modules.orig
ln -s /hdd2/modules modules

Now to check that everything works, list the contents of /lib/modules

ls /lib/modules/

You should see one entry:

2.4.20

Now I've included all the patches from tetsu.homelinux.org. The only feature that that site that might not work is the overclocking (I'm not sure that the overclocking patch took). If someone could test that out (check out this thread for details) that would be great.
*



Hey gjarboni,

the patching that you've done is it the same as tetsu's v18a kernel for c3000 ?
gjarboni
QUOTE(AndyTiedye @ May 30 2005, 04:37 PM)
Is this kernel sufficiently similar to the Sharp kernel that these modules would
work with the Sharp kernel?

Is there a .config file for this kernel?
*


Yes, the modules would definitely work -- the prism modules were copied over and they work fine. I started from the Sharp source and added Tetsu's patches.

I'm attaching two versions of the config file. dotconfig.txt which has DOS linefeeds and dotconfig-without-doslinefeeds.txt which doesn't.
gjarboni
QUOTE(daemon1 @ May 31 2005, 04:24 AM)
Hey gjarboni,

the patching that you've done is it the same as tetsu's v18a kernel for c3000 ?
*


The last patch that I applied was this one: P16-key-chattering-fix_041226.patch. I don't remember Tetsu's version numbering for sure, but I think I am current through v17f or v17g.
Oneiros
QUOTE(gjarboni @ May 31 2005, 09:44 AM)
QUOTE(daemon1 @ May 31 2005, 04:24 AM)
Hey gjarboni,

the patching that you've done is it the same as tetsu's v18a kernel for c3000 ?
*


The last patch that I applied was this one: P16-key-chattering-fix_041226.patch. I don't remember Tetsu's version numbering for sure, but I think I am current through v17f or v17g.
*




Does your kernel work with C1000?
Traps
QUOTE(gjarboni @ Feb 5 2005, 11:02 PM)
Okay, since I'm a consultant and intend to use my Zaurus at different sites, I decided to try and compile a kernel with every resonable module selected.  I started with the patches listed at tetsu.homelinux.org (which has precompiled kernels as well, for some great instructions, this thread was a great help.

I included every USB driver (usb serial converters, tablets, mice, usb ethernet, usb wifi, NTFS, NFS, NCPFS (for mounting netware volumes), IPX, Appletalk, 802.1q, QoS (I'm a network engineer), Video for Linux and a bunch of other stuff that I don't remember. Eeverything compiled without a hitch (a testiment to Linux' robustness), and only one module flunked depmod (miropcm20.o). And indeed the kernel booted -- with the Sharp logo gone.

Now the resulting modules directory is over 4Mb, so I had to create a modules directory on /hdd2/modules and change the symlink in /home/root to point there.

So I have two questions. First, I've been using it for a couple of days with no problems, but I'm wondering if anyone can forsee a problem with moving the modules off the ramdisk?

Second, would this be useful to anyone else? If so, I can upload it to my web site (the kernel and modules total 2.8Mb tarred and gzipped so they won't fit here).

Thanks!
*




Hi,
sounds like what I've been looking for. I also support Apple and PC networks.Have you had any joy with vpnc and Cisco PIX's? I would also need remote desktop and vnc to work. Will your kernel run on my 3100?

Paul
realm
I made a kernel based off the tetsu patches i'm running with all the modules including hostap i'm running i can post if you need.

I have one problem with mine though i'd really like to know how to fix if anyone knows how:

the keybord repeat rate doesn't work. you hold a key down and it presses it once. hold an arrowkey and it moves one space. . .etc.

is there a patch or setting I need to adjust for this?

QUOTE(realm @ Apr 7 2005, 05:08 PM)
does anyone still have a copy of this kernel and the modules, i've tried to download it a few times and it looks like the files aren't up anymore.
*
RGRICH
QUOTE(realm @ Aug 14 2005, 01:43 AM)
I made a kernel based off the tetsu patches i'm running with all the modules including hostap i'm running i can post if you need.

I have one problem with mine though i'd really like to know how to fix if anyone knows how:

the keybord repeat rate doesn't work. you hold a key down and it presses it once. hold an arrowkey and it moves one space. . .etc.

is there a patch or setting I need to adjust for this?

QUOTE(realm @ Apr 7 2005, 05:08 PM)
does anyone still have a copy of this kernel and the modules, i've tried to download it a few times and it looks like the files aren't up anymore.
*

*


If it works on the C3000 I would be interested in trying out. I'm waiting for an updated Cacko rom. Go ahead a post it I'm sure others would also be interested.
Thanks for the offer
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2014 Invision Power Services, Inc.