OESF Portables Forum
Everything Else => Sharp Zaurus => Model Specific Forums => Distros, Development, and Model Specific Forums => Archived Forums => C1000/3x00 General discussions => Topic started by: gjarboni on February 05, 2005, 06:02:08 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 (https://www.oesf.org/forums/index.php?showtopic=10543) 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,
Sounds great!
Think I and some others with C3000's would be interested in your kernel.
What about squashfs?
https://www.oesf.org/forums/index.php?showtopic=10571 (https://www.oesf.org/forums/index.php?showtopic=10571)
That's needed to run 'dev_img-1.6' that Maslovsky released recently....
Thanks,
Mark
-
Hi,
I already made a squashfs-2.1 kernel module package for C3000 (http://morimasa.net/zaurus/ipks/kern-mod-squashfs_C3000-2.1-2_arm.ipk).
It works fine, at least for my C3000.
Try it.
HTH,
--
m-morimo
-
Thanks m-morino,
What is the proper way to install it on my C3000?
Thanks,
Mark
-
Hi Mark,
What is the proper way to install it on my C3000?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=65772\"][{POST_SNAPBACK}][/a][/div]
$ 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
HTH,
--
m-morino
-
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
-
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.
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 (https://www.oesf.org/forums/index.php?showtopic=10543) 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!
[div align=\"right\"][a href=\"index.php?act=findpost&pid=65745\"][{POST_SNAPBACK}][/a][/div]
-
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.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=65805\"][{POST_SNAPBACK}][/a][/div]
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).
-
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 (http://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 (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 (http://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 (https://www.oesf.org/forums/index.php?showtopic=10543) for details) that would be great.
-
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: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 )
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!
-
Hi euroclie,
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?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=68361\"][{POST_SNAPBACK}][/a][/div]
You have to make a symbolic link of the SD driver module, then generate a list of module dependencies:
$ 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,
-
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!
-
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...
Thanks again m-morino!
-
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...
-
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.
-
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.
[div align=\"right\"][{POST_SNAPBACK}][/a][/div] (http://index.php?act=findpost&pid=74163\")
The files are still at:
[a href=\"ftp://www.rtgx.com/pub/c3000-bigkernel/]ftp://www.rtgx.com/pub/c3000-bigkernel/[/url]
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.
-
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?
-
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
-
I confirm the problems with getting into the FTP site...any hopes of getting it off HTTP or any other system?
thanks!
-
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.
-
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.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=80988\"][{POST_SNAPBACK}][/a][/div]
Does WPA wifi work with this by chance?
Thanks
-
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.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=80988\"][{POST_SNAPBACK}][/a][/div]
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.
-
that would be good, still havig problems even with an ftp client
-
that would be good, still havig problems even with an ftp client
[div align=\"right\"][a href=\"index.php?act=findpost&pid=81519\"][{POST_SNAPBACK}][/a][/div]
here it is
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 it should had just checked it before uploading instead of doing it afterwards
-
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 cd /home/root
mv modules modules.orig
ln -s /hdd2/modules modules
4). Ran 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 $ su
# bash
bash-2.05 # ln -s /lib/modules{.rom,}/2.4.20/kernel/drivers/block/sharp_mmcsd_m.o
Recieved error message ln: /lib/modules/2.4.20/kernel/drivers/block/sharp_mmcsd_m.o: No such file or directory
Re-ran as 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 depmod -a
Depmod echo'ed the following:
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.
-
bump
-
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).
-
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?
-
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 (http://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 (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 (http://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 (https://www.oesf.org/forums/index.php?showtopic=10543) for details) that would be great.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=65910\"][{POST_SNAPBACK}][/a][/div]
Hey gjarboni,
the patching that you've done is it the same as tetsu's v18a kernel for c3000 ?
-
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?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=82188\"][{POST_SNAPBACK}][/a][/div]
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.
-
Hey gjarboni,
the patching that you've done is it the same as tetsu's v18a kernel for c3000 ?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=82235\"][{POST_SNAPBACK}][/a][/div]
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.
-
Hey gjarboni,
the patching that you've done is it the same as tetsu's v18a kernel for c3000 ?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=82235\"][{POST_SNAPBACK}][/a][/div]
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.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=82296\"][{POST_SNAPBACK}][/a][/div]
Does your kernel work with C1000?
-
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 (https://www.oesf.org/forums/index.php?showtopic=10543) 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!
[div align=\"right\"][a href=\"index.php?act=findpost&pid=65745\"][{POST_SNAPBACK}][/a][/div]
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
-
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?
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.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=74163\"][{POST_SNAPBACK}][/a][/div]
-
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?
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.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=74163\"][{POST_SNAPBACK}][/a][/div]
[div align=\"right\"][a href=\"index.php?act=findpost&pid=91776\"][{POST_SNAPBACK}][/a][/div]
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