OESF Portables Forum

Everything Else => Zaurus Distro Support and Discussion => Distros, Development, and Model Specific Forums => Archived Forums => Debian => Topic started by: Chero on October 03, 2007, 02:56:56 am

Title: Titchy On All Clamshell-models
Post by: Chero on October 03, 2007, 02:56:56 am
Hi,

I was wondering :
Since
- titchy seems to use the Angstrom kernel
- Angstrom supports altboot

What if I
- created a .tar.gz of my root on the C3100
- flashed angstrom and installed altboot on my C1000
- used the .tar.gz of the C3100 to create a loopback image on an SD to use with altboot on the C1000

Would it be possible ?

Thoughts and comments are welcome.

Chero.
Title: Titchy On All Clamshell-models
Post by: Meanie on October 03, 2007, 03:22:39 am
Quote from: Chero
Hi,

I was wondering :
Since
- titchy seems to use the Angstrom kernel
- Angstrom supports altboot

What if I
- created a .tar.gz of my root on the C3100
- flashed angstrom and installed altboot on my C1000
- used the .tar.gz of the C3100 to create a loopback image on an SD to use with altboot on the C1000

Would it be possible ?

Thoughts and comments are welcome.

Chero.

a lot of things are possible, but it needs someone to implement and test...
Title: Titchy On All Clamshell-models
Post by: Dromede on October 03, 2007, 06:07:06 am
Quote from: Chero
Hi,

I was wondering :
Since
- titchy seems to use the Angstrom kernel
- Angstrom supports altboot

What if I
- created a .tar.gz of my root on the C3100
- flashed angstrom and installed altboot on my C1000
- used the .tar.gz of the C3100 to create a loopback image on an SD to use with altboot on the C1000

Would it be possible ?

Thoughts and comments are welcome.

Chero.
i had the same idea and a partial success doing it. i didn't use titchy's rootfs or it's kernel though. i used an armel debian rootfs on an sd card and a custom compiled 2.6.22 kernel with ck patches applied. i managed to get it up to X with xfce4 running, usb networking, touchscreen support etc. i had some major problems though, like my rootfs corrupting a lot, the repos were somewhat broken and the whole thing seemed somewhat slow.but the choice of software was overwhelming and that's what made me try it in the first place. first i tried stuffing the whole thing in nand. i managed to do it but C1000's nand is simply too small for a thing like debian. and let me tell you, debian eats a LOT of space. you can find detailed instructions on the following thread:

https://www.oesf.org/forum/index.php?showto...9&hl=debian (https://www.oesf.org/forum/index.php?showtopic=24589&hl=debian)

i thought of putting all the essential stuff on the nand and then use unionfs on sd for the rest of the stuff but i wasn't sure if that would work so i couldn't be bothered even trying it.
Title: Titchy On All Clamshell-models
Post by: Chero on October 05, 2007, 06:07:43 am
Up and running on a C1000. stop.
Details later. stop.

Chero.
Title: Titchy On All Clamshell-models
Post by: ZDevil on October 05, 2007, 07:33:32 am
Congrats! Waiting for the details to start.
Title: Titchy On All Clamshell-models
Post by: Chero on October 05, 2007, 07:55:22 am
In short :

1) Install a 2.6.21-kernel based angstrom image to nand

2) prepare the SD :
- create a linux partition on the SD (I created a big linux partition and a 256Mb swap partition on a 4Gb card )
- format the partition : mkfs.ext3 /dev/mmcblk0p1
- get the rootfs from http://www.bigbridgezau.sakura.ne.jp/dev/debian/ (http://www.bigbridgezau.sakura.ne.jp/dev/debian/)
- untar it to the root of the SD (tar -xzpfv ?)
Now you need to put the kernel-modules on the SD as well :
- copy /lib/modules from your nand to the same location on the SD (/media/card/lib/modules)
The debian boot process looks for init.sysvinit instead of init, so :
- cd /media/card/sbin and "ln -s init init.sysvinit"
You need to change the mounted root from the standard /dev/hda1 (Microdrive) for titchy to /dev/mmcblk0p1 (SD-card)
- cd /media/card/etc and edit fstab to make /dev/mmcblk0p1 mount to / and make it bootable. (Also disable the /dev/hdaX entries because you don't have a microdrive)

3) Still in Angstrom : Connect to the net, do an "ipkg update" and then "ipkg install altboot"

4) reboot and hit the "any" key when asked to launch altboot then choose "boot from SD"
(the "any" key is the 35th key counting diagonal from the lower left corner or maybe some other key)

Notes :
You'll have to edit network settings before you can reach your network (/etc/resolv.conf contains some kuro-specific-things)

Root password : kuroadmin ?
I didn't know this when I first installed it, so I edited /media/card/etc/shadow while running Angstrom and removed the password for root (remove everything between the first ":" and the second ":" on the line beginning with "root")

I don't think udev is installed by default -> first time fiddle with modprobe to load the correct drivers (modprobe orinoco_cs or modprobe hostap_cs), configure your network and then "apt-get install udev"

You'd better edit /etc/apt/sources.list as well if you don't want to download everything from a japanese server and affect internet speed everywhere between you and Japan or if you want to upgrade to Lenny.

The 2.6.22 kernel (latest Angstrom) has troubles with altboot, so don't use it for now unless you know how to solve the problems.

Hope I didn't forget anything

This probably works for c7x0-860 as well, somebody ready to test ?
edit : it does work !!!

Chero.
Title: Titchy On All Clamshell-models
Post by: Chero on October 06, 2007, 03:13:05 am
Hi,

I edited the post above to give more detail.
Anybody jumped into it ?

I already upgraded to lenny, installed titchy, gnumeric, ...

Seems to work like it should.

Chero.
Title: Titchy On All Clamshell-models
Post by: adf on October 06, 2007, 04:21:51 am
Quote from: Chero
Hi,

I edited the post above to give more detail.
Anybody jumped into it ?

I already upgraded to lenny, installed titchy, gnumeric, ...

Seems to work like it should.

Chero.
Interesting. it might provide 2 ways around my 16G cf issue; either running from SD as you are, or possibly altboot will not choke on the card the way the standard titchy does.  Of course, I just got pdaxii13v2a set up happily again...

Thanks, though-- this has some real potential
Title: Titchy On All Clamshell-models
Post by: ZDevil on October 06, 2007, 08:20:52 am
Ok, I will see if this method can wake up my 860 from deep slumber.
Title: Titchy On All Clamshell-models
Post by: ZDevil on October 07, 2007, 07:15:02 am
Alas. Flashing Angstrom to 860 is a funny nightmare ...

The 070829 image seems broken. I downloaded and flashed it three times but it failed to bring me to X.

The 070803 image for C7x0 turns out to be for e680 (what? the motorola phone? what?)

I can't even reach step 2).  Need to use more patience...
Title: Titchy On All Clamshell-models
Post by: Chero on October 07, 2007, 07:36:07 am
Hi,

I first flashed the most recent image for C1000, then I only flashed a 2.6.21 kernel (the modules were in the place I found the kernel).
Maybe you could try to go that way. Or is it the kernel that's broken ?

Chero.
Title: Titchy On All Clamshell-models
Post by: ZDevil on October 07, 2007, 07:48:14 am
Thanks. I think this is the only way out. Now trying ...
The Angstrom website is seriously underdeveloped. There is not even a single line describing what's inside each image folder, not to mention how to install (and rename the files before installing) and what is broken.
Title: Titchy On All Clamshell-models
Post by: ZDevil on October 07, 2007, 08:52:48 am
Update on installing Angstrom on 860:
The 071003 image still fails to bring to X. So i need to set up network connection without the GUI.
I edited /etc/network/interfaces and deleted all the devices except lo and added eth0. /etc/resolv.conf is also there.
But my Spectrum 24 fails to connect to the network. The Ambicom card support seems broken as expected.
Is there any difference in the content/format in the /etc/network/interfaces between Debian and Angstrom?
Title: Titchy On All Clamshell-models
Post by: plcg on October 07, 2007, 09:36:03 am
Chero,

Could you explain how you did the first step ?
You said that you've flashed angstrom most recent image (20071004 ?) and then a 2.6.21 kernel.
Where did you find this kernel and how to just flash a kernel ?
When I tried a 2.6.21 kernel-based image, ext3 was not supported. So SD card couldn't be mounted.

Another problem : I've noticed that there's only one image in http://www.angstrom-distribution.org/unstable/images/akita/ (http://www.angstrom-distribution.org/unstable/images/akita/) : 20071004
The other images have disappeared since yesterday!

Thank you
plcg
Title: Titchy On All Clamshell-models
Post by: ZDevil on October 07, 2007, 09:42:28 am
@plcg:
The Angstrom images did not disappear yesterday, because I was still downloading them today. I think some Angstrom people saw this thread and removed all the old files from the feeds.
If you need the 2.6.21 kernel I can bring it here.
Title: Titchy On All Clamshell-models
Post by: plcg on October 07, 2007, 10:03:38 am
Quote from: ZDevil
@plcg:
The Angstrom images did not disappear yesterday, because I was still downloading them today. I think some Angstrom people saw this thread and removed all the old files from the feeds.
If you need the 2.6.21 kernel I can bring it here.

OK
Could you please bring the 2.6.21 kernel and explain how to flash it ?

Thank you very much
plcg
Title: Titchy On All Clamshell-models
Post by: ZDevil on October 07, 2007, 10:18:26 am
Oh sorry, I don't have the 2.6.21 kernel for Akita, but only the one for C7x0.
You can ask Chero for that.

I found that the interface usb0 gets in the way. After deleting it with only eth0 is left, my Spectrum 24 card can ping the router, but cannot ping any URL:
Code: [Select]
#ping www.google.com
PING www.l.google.com (62.233.183.99): 56 data bytes
ping: sendto: Network is unreachable
Title: Titchy On All Clamshell-models
Post by: Chero on October 07, 2007, 03:09:05 pm
The missing Akita-kernel : I'll check tomorrow. The files are on my box at work and I can't reach it right now. The card I used for flashing is at work as well. Damn.

About reaching the network : you could also download the ipkgs you need to install altboot, that way you don't need network on the Z right now.

About flashing the kernel : the same way you flash angstrom but without the rootfs (initrd.bin). Only put the updater.sh and the zImage.bin on the card.

Chero.
Title: Titchy On All Clamshell-models
Post by: ZDevil on October 07, 2007, 04:32:00 pm
A little bit more progress now:

I managed to reflashed the Angstrom 071003 C7x0 image (kernel 2.6.22) - The Angstrom people did the right thing by removing the old (and not working) images and then updating an installation guide for C7x0. That's very nice of them.

So far I have encountered two problems:

#Problem 1: Networking doesn't work in Angstrom
But still i have tried the Network setup GUI, manually editing /etc/network/interfaces and /etc/resolve.conf, still no luck, and then all the ways I know from Debian, pdaX and OpenBSD to get my Spectrum 24 wifi card (the Ambicom WL1100C card is simply out of question) connected to the network, still no luck. (There seems no network setup instructions for Angstrom??)

Then I downloaded nano and altboot plus its dependencies and installed them manually. Installing altboot is tricky because altboot and altboot-conf turn out to depend on each other (!), so i had to use ipkg install -force-depends. That went fine.

Then I copied the 2.6.21 kernel modules (from the 070703 image before it got removed from the Angstrom feed) to /lib/modules.

#Problem 2: Ext3 filesystem fails to mount
I guessed there is ext3 kernel module in Chero's C1000 setup, but it seems to be missing in C7x0. The Angstrom package feed only shows one ext3 kernel module package for Akita and not C7x0.

So even though I can mkfs.ext3 /dev/mmcblk0p1, the ext3-formatted SD cannot be mounted in Angstrom.  ("mount: unknown filesystem type 'ext3'")

Anyway, altboot works under kernel 2.6.21 (the "any" key on C860 is [H]). But it failed when I tried to boot Debian off SD:
Quote
Please press any key to launch altboot.....
Checking file system on /dev/mmcblk0p1
Mounting /media/card...ERROR: /bin/mount -t auto -o default, noatime /dev/mmcblk0p1 /media/card failed
/bin/sh: can't access tty: job control turned off

I suspect the error is simply due to the lack of ext3 support. So is there a workaround for this? Thanks.

Just one more little step for my 860 to get to Debian ...
Title: Titchy On All Clamshell-models
Post by: Chero on October 08, 2007, 01:49:55 am
Quote from: ZDevil
A little bit more progress now:

I managed to reflashed the Angstrom 071003 C7x0 image (kernel 2.6.22) - The Angstrom people did the right thing by removing the old (and not working) images and then updating an installation guide for C7x0. That's very nice of them.

So far I have encountered two problems:

#Problem 1: Networking doesn't work in Angstrom
But still i have tried the Network setup GUI, manually editing /etc/network/interfaces and /etc/resolve.conf, still no luck, and then all the ways I know from Debian, pdaX and OpenBSD to get my Spectrum 24 wifi card (the Ambicom WL1100C card is simply out of question) connected to the network, still no luck. (There seems no network setup instructions for Angstrom??)

Then I downloaded nano and altboot plus its dependencies and installed them manually. Installing altboot is tricky because altboot and altboot-conf turn out to depend on each other (!), so i had to use ipkg install -force-depends. That went fine.

Then I copied the 2.6.21 kernel modules (from the 070703 image before it got removed from the Angstrom feed) to /lib/modules.

#Problem 2: Ext3 filesystem fails to mount
I guessed there is ext3 kernel module in Chero's C1000 setup, but it seems to be missing in C7x0. The Angstrom package feed only shows one ext3 kernel module package for Akita and not C7x0.

So even though I can mkfs.ext3 /dev/mmcblk0p1, the ext3-formatted SD cannot be mounted in Angstrom.  ("mount: unknown filesystem type 'ext3'")

Anyway, altboot works under kernel 2.6.21 (the "any" key on C860 is [H]). But it failed when I tried to boot Debian off SD:
Quote
Please press any key to launch altboot.....
Checking file system on /dev/mmcblk0p1
Mounting /media/card...ERROR: /bin/mount -t auto -o default, noatime /dev/mmcblk0p1 /media/card failed
/bin/sh: can't access tty: job control turned off

I suspect the error is simply due to the lack of ext3 support. So is there a workaround for this? Thanks.

Just one more little step for my 860 to get to Debian ...

How about ext2 ?
Title: Titchy On All Clamshell-models
Post by: Chero on October 08, 2007, 01:59:32 am
Quote from: Chero
The missing Akita-kernel : I'll check tomorrow. The files are on my box at work and I can't reach it right now. The card I used for flashing is at work as well. Damn.

About reaching the network : you could also download the ipkgs you need to install altboot, that way you don't need network on the Z right now.

About flashing the kernel : the same way you flash angstrom but without the rootfs (initrd.bin). Only put the updater.sh and the zImage.bin on the card.

Chero.

Here is the 2.6.21 kernel for akita.
First flash the latest Angstrom, then add the here included modules in the right place and then place the here included updater.sh and zImage.bin on a card and flash to install this kernel. Make sure there is no Initrd.bin on the card when "downgrading" the kernel.
First boot into Angstrom before copying the modules to debian otherwise "modules.dep" will be missing.

@ ZDevil : I configured the network using the gui in Angstrom -> it's a quite nice one.

Chero.
Title: Titchy On All Clamshell-models
Post by: ZDevil on October 08, 2007, 02:45:46 am
Ok, let me try ext2 then. But isn't it true that Debian needs an ext3 partition?

For the network GUI, how do you set up the interface? I put my Spectrum 24 as eth0, but had to remove usb0 otherwise eth0 cannot connect to the network. (netstat -nr shows both usb0 and eth0, even though there is no usb connection at all.  )
The card is bound to the firmware and can ping the router (after deleting usb0), but fail to ping any outside URL.
And where do you put the dns-nameserver? On the first tab in the GUI, in /etc/network/interfaces, or /etc/resolv.conf?
Is there any other thing that one should do?
Title: Titchy On All Clamshell-models
Post by: Chero on October 08, 2007, 03:01:44 am
Quote from: ZDevil
Ok, let me try ext2 then. But isn't it true that Debian needs an ext3 partition?

For the network GUI, how do you set up the interface? I put my Spectrum 24 as eth0, but had to remove usb0 otherwise eth0 cannot connect to the network. (netstat -nr shows both usb0 and eth0, even though there is no usb connection at all.  )
The card is bound to the firmware and can ping the router (after deleting usb0), but fail to ping any outside URL.
And where do you put the dns-nameserver? On the first tab in the GUI, in /etc/network/interfaces, or /etc/resolv.conf?
Is there any other thing that one should do?

The debian installer needs ext2, but we don't need the installer. Not sure whether it needs ext3 to run.

I didn't have those network problems, but I'm using dhcp. I guess that when you enter the dns-server in the gui, the gui will place it in the correct file .... At least, it should.
You could ask about this in the Angstrom mailing list, and according to the rules of the game you'd have to update the wiki if you get the answer.

Chero.
Title: Titchy On All Clamshell-models
Post by: ZDevil on October 08, 2007, 03:28:08 am
Ok, the mailing list ... I didn't know its existence.  Perhaps it would be nicer if they put all these important links (installation instructions, download locations, FAQ, mailing list) on the very first page, just like many common sites, instead of seeing the "News" that pop up only once in a few months..

[Edit]
Ok, i found the "Manual" ... at last: http://www.linuxtogo.org/gowiki/AngstromManual (http://www.linuxtogo.org/gowiki/AngstromManual)  
The page layout looks so different from the new site, and is more useful.
Title: Titchy On All Clamshell-models
Post by: ZDevil on October 08, 2007, 06:37:56 am
Ok, here comes another puzzle:

I reformatted the SD card into ext2 and followed all the steps as described in Chero's post.
This is the result:
Quote
Checking file system on /dev/mmcblk0p1
/sbin/fsck.ext3: No such device or address while trying to open /dev/mmcblk0p1
Possibly non-existent or swap device?
Mounting /media/card...ERROR: /bin/mount -t auto -o default, noatime /dev/mmcblk0p1 /media/card failed
/bin/sh: can't access tty: job control turned off

Even though I tried a brutal way by renaming /sbin/fsck.ext3 to something else, the message will show /sbin/fsck.ext2 is complaining about the same thing.

So what's wrong with this? Does the Angstrom for C7x0 not even support ext2? I don't believe so ...
Title: Titchy On All Clamshell-models
Post by: Chero on October 08, 2007, 08:13:59 am
Quote from: ZDevil
Ok, here comes another puzzle:

I reformatted the SD card into ext2 and followed all the steps as described in Chero's post.
This is the result:
Quote
Checking file system on /dev/mmcblk0p1
/sbin/fsck.ext3: No such devive or address while trying to open /dev/mmcblk0p1
Possibly non-existent or swap device?
Mounting /media/card...ERROR: /bin/mount -t auto -o default, noatime /dev/mmcblk0p1 /media/card failed
/bin/sh: can't access tty: job control turned off

Even though I tried a brutal way by renaming /sbin/fsck.ext3 to something else, the message will show /sbin/fsck.ext2 is complaining about the same thing.

So what's wrong with this? Does the Angstrom for C7x0 doesn't even support ext2? I don't believe so ...

I had the error when trying to run altboot on the most recent version of Angstrom with a 2.6.22 kernel.
Then I found the error being reported in the mailing list where they stated that they didn't have the error before they upgraded the kernel to 2.6.22. That's why I'm using 2.6.21.

Don't have my C1000 with me now, but after the failure, you have a command prompt ?
Try "lsmod" -> is the SD-card driver loaded ? Or just try to access the SD-card.
If not, boot Angstrom and run altboot-config (not sure about this command, but you can check that, can't you ?)
There you can add the driver for the SD (or just "zaurus").

Other bad news I came across : currently there is no active development for C1000 and C7x0-860 for Angstrom.

Chero.
Title: Titchy On All Clamshell-models
Post by: Chero on October 08, 2007, 08:18:33 am
The correct command is "altbootctl".

and here is the error : http://www.mail-archive.com/angstrom-distr...g/msg00603.html (http://www.mail-archive.com/angstrom-distro-devel@linuxtogo.org/msg00603.html)
edit :
(BTW : the error talks about a C860 -> this means that with a 2.6.21 kernel it ought to be working)
Title: Titchy On All Clamshell-models
Post by: ZDevil on October 08, 2007, 09:21:39 am
I caught the naughty boy!

It is the updater.sh from the 070703 C7x6 image.
It is unusually big, about 1.1MB.
No wonder why the 2.6.21 failed to flash in many attempts.
(What happened to the old images files in the Angstrom feeds? One kernel is for Motorola e680, and now this one has got the wrong updater script.)
I used the updater.sh (only 53KB) from the 071003 image to flash the zImage.bin from th 070703 image.
It worked!

Altboot runs very smoothly with 2.6.21 kernel.
At last my 860 is booting Debian.

Three new puzzles pop up:
 [SOLVED: see Post #53]


[SOLVED: I had to edit /etc/fstab again after booting up Debian.]

#3 A number of kernel thingies not found
e.g. amixer & the sound thing, and the spitz.keymap (? Corgi is not supposed to use this one, right?)
will post dmesg output here later.

Anyway, Debian is up on my C860! I don't plan to set up a fully working system there, but simply want to delegate all the compilation tasks to this setup at home on the 4GB microdrive in the CF slot...  
Title: Titchy On All Clamshell-models
Post by: citro on October 08, 2007, 09:08:44 pm
Quote from: ZDevil
I caught the naughty boy!

It is the updater.sh from the 070703 C7x6 image.

I used the updater.sh (only 53KB) from the 071003 image to flash the zImage.bin from th 070703 image.
It worked!

Altboot runs very smoothly with 2.6.21 kernel.
At last my 860 is booting Debian.

Can you please attach a copy of the 070703 image? Trying to install on my C700.

Thanks...

C3200 running debian titchy linux
C700 soon to have debian titchy linux
Title: Titchy On All Clamshell-models
Post by: cal on October 09, 2007, 12:20:43 am
chero, could you post you fstab?
Title: Titchy On All Clamshell-models
Post by: Chero on October 09, 2007, 02:00:40 am
Quote from: cal
chero, could you post you fstab?

here you go
Title: Titchy On All Clamshell-models
Post by: ZDevil on October 09, 2007, 02:27:58 am
Quote from: citro
Can you please attach a copy of the 070703 image? Trying to install on my C700.
Here are the kernel installer and the kernel modules:
 [ You are not allowed to view attachments ]
 [ You are not allowed to view attachments ]
Title: Titchy On All Clamshell-models
Post by: ZDevil on October 09, 2007, 02:36:39 am
[SOLVED: see post #53]

@Chero:

How do you set up Spectrum 24 card (using the symbol sp24 firmware)? It goes undetected in my setup. It finds Ambicom (using orinoco_cs), but fails to bind the driver.

Do you have orinoco_cs kernel module? It is missing in /lib/modules/2.6.21 on my 860, although orinoco.ko is there.

Can you set hardware system clock? I installed zaurus-hardware-support but when hwclock -w it reports:
Quote
RTC_RD_TIME: Invalid argument
ioctl() to /dev/rtc to read the time failed.

Thanks.
Title: Titchy On All Clamshell-models
Post by: Chero on October 09, 2007, 03:06:54 am
Quote from: ZDevil
@Chero:

How do you set up Spectrum 24 card (using the symbol sp24 firmware)? It goes undetected in my setup. It finds Ambicom (using orinoco_cs), but fails to bind the driver.

Do you have orinoco_cs kernel module? It is missing in /lib/modules/2.6.21 on my 860, although orinoco.ko is there.

Can you set hardware system clock? I installed zaurus-hardware-support but when hwclock -w it reports:
Quote
RTC_RD_TIME: Invalid argument
ioctl() to /dev/rtc to read the time failed.

Thanks.

I'll try to answer these this evening (left my C1000 at home).
I guess I haven't tried the spectrum on the C1000 yet (not sure, I'm sure there's only one I've tried but I can't remember which one).

Chero.
Title: Titchy On All Clamshell-models
Post by: cal on October 09, 2007, 06:12:33 am
I'm having a similar problem as mentioned before.  After I tell altboot to run from "Boot SD card" I get this

[div class=\'codetop\']CODE[/div][div class=\'codemain\' style=\'height:200px;white-space:pre;overflow:auto\']Checking file system no /dev/mmblk0p1
/sbin/fsck.ext3: No such system on or address while trying to open /dev/mmblk0p1 Possibly non-existent of swap device?
Mounting /media/card...  Error /bin/mount -t auto -o defaults.noatime /devmmcblk0p1 /media/card failed[/div]

at which point I'm dropped back to a shell.  From the shell I cannot mount the sd card.  On reboot and from Angstrom, the card is mounted fine again.
Title: Titchy On All Clamshell-models
Post by: ZDevil on October 09, 2007, 06:17:01 am
@cal: Which machine are you using? If it is Cxx0 then make sure you can flash the 2.6.21 (not 2.6.22 -- check using "uname -a" or the 1st line in dmesg) kernel properly. I also reformatted the SD into ext2 and removed the /sbin/fsck.ext3 binary to force the system to boot from an ext2 partition. Also make corresponding changes in /etc/fstab on the SD debian root.
Title: Titchy On All Clamshell-models
Post by: cal on October 09, 2007, 08:28:14 am
Heh, thanks.  Stupid mistake.  uname -a pointed out that I still had a 2.6.22 kernel.  When I flashed Chero's Akita kernel above I must have forgot to rename it.    Lets see if it works now....


,Cal

Quote from: ZDevil
@cal: Which machine are you using? If it is Cxx0 then make sure you can flash the 2.6.21 (not 2.6.22 -- check using "uname -a" or the 1st line in dmesg) kernel properly. I also reformatted the SD into ext2 and removed the /sbin/fsck.ext3 binary to force the system to boot from an ext2 partition. Also make corresponding changes in /etc/fstab on the SD debian root.
Title: Titchy On All Clamshell-models
Post by: ZDevil on October 09, 2007, 08:40:24 am
You can't just "rename" it. You have to flashed the right kernel (updater.sh + zImage.bin). Since the only image left in the Angstrom feeds now is the latest 2.6.22, perhaps Chero or others can upload the 2.6.21 kernel installer here.

That means:
First flash the latest Angstrom image (kernel 2.6.22).
Next copy the 2.6.21 kernel modules extracted from the older Angstrom images (no longer available in the Angstrom site) to /lib/modules
Finally "downgrade" the kernel by flashing the 2.6.21 one.

Hope that's clear enough.
Title: Titchy On All Clamshell-models
Post by: cal on October 09, 2007, 08:55:19 am
I mean I l forgot to rename the zImage and left the file zImage-akita.bin as is.  I re-flashed the kernel properly, and now I'm sitting at a Titchy prompt.  

Thanks everybody.  Especially Chero and zDevil

,Cal

Quote from: ZDevil
You can't just "rename" it. You have to flashed the right kernel (updater.sh + zImage.bin). Since the only image left in the Angstrom feeds now is the latest 2.6.22, perhaps Chero or others can upload the 2.6.21 kernel installer here.

That means:
First flash the latest Angstrom image (kernel 2.6.22).
Next copy the 2.6.21 kernel modules extracted from the older Angstrom images (no longer available in the Angstrom site) to /lib/modules
Finally "downgrade" the kernel by flashing the 2.6.21 one.

Hope that's clear enough.
Title: Titchy On All Clamshell-models
Post by: cal on October 09, 2007, 09:47:21 am
Are there any cautions we should take as "non standard" Titchy C1000 users?  Can I assume that most anything that works in the other Titchy threads will work?

Again, I can't thank you gurus, enough...

,Cal
Title: Titchy On All Clamshell-models
Post by: Chero on October 09, 2007, 10:02:39 am
Quote from: cal
Are there any cautions we should take as "non standard" Titchy C1000 users?  Can I assume that most anything that works in the other Titchy threads will work?

Again, I can't thank you gurus, enough...

,Cal

I think you can assume that everything will work, untill proven otherwise.    

I only have problems with suspend and resume on the C1000, but that happens with every rom so I guess that's hardware related. Otherwise I found no problems so far.

Have fun,
Chero.
Title: Titchy On All Clamshell-models
Post by: Chero on October 09, 2007, 10:19:13 am
So now we have these devices running Titchy :

C3xxx machines using the normal installer

Alternative ways :
2 C1000-s
1 C860

Anyone else ?
Chero.
Title: Titchy On All Clamshell-models
Post by: cal on October 09, 2007, 12:50:20 pm
Where can I find apt sources that are appropriate here in the South East US?  Can I just change the ftp.jp.debian.org to ftp.us.debian.org?

And one last silly question...  where is startx ?
Title: Titchy On All Clamshell-models
Post by: Chero on October 09, 2007, 01:12:17 pm
Quote from: cal
Where can I find apt sources that are appropriate here in the South East US?  Can I just change the ftp.jp.debian.org to ftp.us.debian.org?

And one last silly question...  where is startx ?

check here for mirrors (don't mind the package-name - I did a random search)    
http://packages.debian.org/lenny/accerciser/all/download (http://packages.debian.org/lenny/accerciser/all/download)

do
apt-get update
and
apt-get install titchy (for a full environment)
or
apt-get install titchy-desktop (for a basic desktop system)

then you can "startxfce4"  

(yesterday I had troubles installing "xdm", just add the -m option to apt-get to install everything except the missing xdm).
 

Chero.
Title: Titchy On All Clamshell-models
Post by: ZDevil on October 09, 2007, 02:56:25 pm
@Chero:
I think setting up Debian in C7x0 should be just the same as on C860, because they use the same Angstrom kernel and system.
Title: Titchy On All Clamshell-models
Post by: Chero on October 09, 2007, 03:33:14 pm
Quote from: Chero
Quote from: ZDevil
@Chero:

How do you set up Spectrum 24 card (using the symbol sp24 firmware)? It goes undetected in my setup. It finds Ambicom (using orinoco_cs), but fails to bind the driver.

Do you have orinoco_cs kernel module? It is missing in /lib/modules/2.6.21 on my 860, although orinoco.ko is there.

Can you set hardware system clock? I installed zaurus-hardware-support but when hwclock -w it reports:
Quote
RTC_RD_TIME: Invalid argument
ioctl() to /dev/rtc to read the time failed.

Thanks.

I'll try to answer these this evening (left my C1000 at home).
I guess I haven't tried the spectrum on the C1000 yet (not sure, I'm sure there's only one I've tried but I can't remember which one).

Chero.

When I plug the spectrum in orinoco, spectrum_cs and hermes are loaded.
Then I can just set it up as eth1.

I have orinoco_cs, but it doesn't load for the spectrum.

hwclock -w gives no errors.

Chero.
Title: Titchy On All Clamshell-models
Post by: Chero on October 09, 2007, 03:34:42 pm
Quote from: ZDevil
@Chero:
I think setting up Debian in C7x0 should be just the same as on C860, because they use the same Angstrom kernel and system.

I think they are exactly the same, but it would be nice to hear from someone who succeeded to put titchy on it ...
Title: Titchy On All Clamshell-models
Post by: cal on October 10, 2007, 02:17:40 pm
I know we have gone over the hardware issue on SD cards several times, but I read titchy uses a "compatibility mode" for SD cards.  I'm going to pick up a new and bigger sd card today and wanted to know if it is worth it to upgrade to a sandisk ultra over the standard cards.


So, given the "compatibility mode" issue, would I get any benefit from the 2 gig cards marked as such:
1.) --Up to 133X (20MB/sec)--
2.) --10MB/second sequential read speed --

Also, for the same price I could get a 4 gig card that is marked --Class 4 (4MB/sec)--

Basically the question is; does the Z's hardware or titchy's software allow a higher rated card to be read any faster?  If now I would prefer to jump on the slower, but higher capacity card.
Title: Titchy On All Clamshell-models
Post by: ZDevil on October 10, 2007, 02:51:49 pm
I believe there is a hardware limitation for the CF. You may want to take a look at the simple benchmarking result of my Sandisk Extreme III vs. Hitachi microdrive: https://www.oesf.org/forum/index.php?act=fi...&pid=167593 (https://www.oesf.org/forum/index.php?act=findpost&pid=167593)

Perhaps users with other internal CFs can give you some reference?
Title: Titchy On All Clamshell-models
Post by: cal on October 11, 2007, 02:19:18 pm
After upgrading to lenny my SMC2642W wifi card stopped working.  I'll update if I find a solution.
Title: Titchy On All Clamshell-models
Post by: Chero on October 11, 2007, 03:20:57 pm
Quote from: cal
After upgrading to lenny my SMC2642W wifi card stopped working.  I'll update if I find a solution.

what does lsmod tell you ?

is udev still running ?
Title: Titchy On All Clamshell-models
Post by: cal on October 11, 2007, 05:18:16 pm
ps doesn't show a udev
lsmod has several modules, but none that seem to be wifi.  Should there be an hostap mod?

Quote from: Chero
Quote from: cal
After upgrading to lenny my SMC2642W wifi card stopped working.  I'll update if I find a solution.

what does lsmod tell you ?

is udev still running ?
Title: Titchy On All Clamshell-models
Post by: ZDevil on October 11, 2007, 05:19:55 pm
Quote from: Chero
Quote from: Chero
Quote from: ZDevil
@Chero:
How do you set up Spectrum 24 card (using the symbol sp24 firmware)? It goes undetected in my setup. It finds Ambicom (using orinoco_cs), but fails to bind the driver.
Do you have orinoco_cs kernel module? It is missing in /lib/modules/2.6.21 on my 860, although orinoco.ko is there.
Can you set hardware system clock? I installed zaurus-hardware-support but when hwclock -w it reports:
Quote
RTC_RD_TIME: Invalid argument
ioctl() to /dev/rtc to read the time failed.
Thanks.
I'll try to answer these this evening (left my C1000 at home).
I guess I haven't tried the spectrum on the C1000 yet (not sure, I'm sure there's only one I've tried but I can't remember which one).
Chero.
When I plug the spectrum in orinoco, spectrum_cs and hermes are loaded.
Then I can just set it up as eth1.
I have orinoco_cs, but it doesn't load for the spectrum.
hwclock -w gives no errors.
Chero.

Good news!!

The key to get the system clock and the network card working is installing the udev package.
Because the fresh install is Etch, the system can only take the Etch package. I attach it here for the newbies who may be looking for it.
 [ You are not allowed to view attachments ]  which depends on this  [ You are not allowed to view attachments ]
Make sure that it is -4 and not _4 in the fileanames before installing.
To install: dpkg -i /PATH/FILENAMES

After installing udev, reboot and now hwclock -w works!
For my Symbol Spectrum 24 wifi cf, it is set to eth0. Just plug and play!
Remember to add a line allow-hotplug eth0 above the "iface eth0" line in /etc/network/interfaces to enable hotplug & auto-connection.
Also remember to do /etc/init.d/networking restart to let the new setting take effect.

Now my C860 is apt-get dist-upgrading to Lenny ...  

[EDIT]
Now the swap partition also mounts upon booting!  (udev does the trick again)
Title: Titchy On All Clamshell-models
Post by: cal on October 11, 2007, 05:30:04 pm
I just did the same thing exactly.  I didn't know what udev did.  Chero told me to make sure to reinstall it after I upgraded to lenny, but I didn't know I needed to do it before rebooting.


Quote from: ZDevil
Quote from: Chero
Quote from: Chero
Quote from: ZDevil
@Chero:
How do you set up Spectrum 24 card (using the symbol sp24 firmware)? It goes undetected in my setup. It finds Ambicom (using orinoco_cs), but fails to bind the driver.
Do you have orinoco_cs kernel module? It is missing in /lib/modules/2.6.21 on my 860, although orinoco.ko is there.
Can you set hardware system clock? I installed zaurus-hardware-support but when hwclock -w it reports:
Quote
RTC_RD_TIME: Invalid argument
ioctl() to /dev/rtc to read the time failed.
Thanks.
I'll try to answer these this evening (left my C1000 at home).
I guess I haven't tried the spectrum on the C1000 yet (not sure, I'm sure there's only one I've tried but I can't remember which one).
Chero.
When I plug the spectrum in orinoco, spectrum_cs and hermes are loaded.
Then I can just set it up as eth1.
I have orinoco_cs, but it doesn't load for the spectrum.
hwclock -w gives no errors.
Chero.

Good news!!

The key to get the system clock and the network card working is installing the udev package.
Because the fresh install is Etch, the system can only take the Etch package. I attach it here for the newbies who may be looking for it.
 [ You are not allowed to view attachments ]  which depends on this  [ You are not allowed to view attachments ]
(Make sure the it is -4 and not _4 in the fileanames before installing)

After installing udev, reboot and now hwclock -w works!
For my Symbol Spectrum 24 wifi cf, it is set to eth0. Just plug and play!
Remember to add a line allow-hotplug eth0 above the "iface eth0" line in /etc/network/interfaces to enable hotplug & auto-connection.
Also remember to do /etc/init.d/networking restart to let the new setting take effect.

Now my C860 is apt-get dist-upgrading to Lenny ...  
Title: Titchy On All Clamshell-models
Post by: ZDevil on October 11, 2007, 05:32:28 pm
@cal, so is your wifi card working now?
Title: Titchy On All Clamshell-models
Post by: cal on October 11, 2007, 07:38:41 pm
yeah, everything this is good now.   I can't seem to get python set up properly, but the titchy desktop works great.  I know its a long shot, but I'm apt-getting gnome right now.  Just because I can .  Everyone around here seems to prefer KDE, but as a linux user I've started with red hat moved to fedora, and no I use ubuntu.  All gnome desktops.  I hope it works.
Title: Titchy On All Clamshell-models
Post by: cal on October 11, 2007, 08:43:02 pm
Does anyone else have a jittery cursor is X?
Title: Titchy On All Clamshell-models
Post by: Chero on October 12, 2007, 02:05:54 am
Quote from: cal
I just did the same thing exactly.  I didn't know what udev did.  Chero told me to make sure to reinstall it after I upgraded to lenny, but I didn't know I needed to do it before rebooting.

Sorry  
Title: Titchy On All Clamshell-models
Post by: ZDevil on October 12, 2007, 05:22:20 am
Yet another note on running X using the "kurobox"  rootfs tarball:

The default hostname ( /etc/hostname ) is "kurobox".
If you change it, you also have to change "kurobox" to the new hostname at the end of the first line in /etc/hosts. Otherwise X and WM won't start due to display error.

Update on hwclock:
It seems this is still an issue running Debian off SD. Even though hwclock -w works, reboot will set the clock back to 1-1-1970.

I am going to put the bits in this thread together into one coherent howto (installation procedure for all C-series models) during the weekend.
Title: Titchy On All Clamshell-models
Post by: Chero on October 12, 2007, 05:55:25 am
Quote from: ZDevil
I am going to put the bits in this thread together into one coherent howto (installation procedure for all C-series models) during the weekend.

Seems like a great idea.
And you're lucky, during the weekend the sun will rise and fall twice,  
but it will travell fast ...    

Thanks for putting all that energy into this,
Chero.
Title: Titchy On All Clamshell-models
Post by: snk4ever on October 12, 2007, 06:24:03 am
Quote from: ZDevil
I am going to put the bits in this thread together into one coherent howto (installation procedure for all C-series models) during the weekend.

Thanks   , this is what I miss to be able to try on my C760. Then I'll report the results !
Title: Titchy On All Clamshell-models
Post by: dsteuer on October 12, 2007, 09:06:58 am
Quote from: ZDevil
I am going to put the bits in this thread together into one coherent howto (installation procedure for all C-series models) during the weekend.

Ahh, what an announcement! I'll keep re-checking here every few hours!
BIG 'Thank you!'

detlef
Title: Titchy On All Clamshell-models
Post by: apink on October 12, 2007, 09:02:53 pm
Quote from: ZDevil
I am going to put the bits in this thread together into one coherent howto (installation procedure for all C-series models) during the weekend.


Beta 3 has been working and stable for me for over a year now.  But this may just be the thing to get me to update my os.  Much appreciated.
Title: Titchy On All Clamshell-models
Post by: citro on October 13, 2007, 12:18:09 am
Hi,

Reporting success installing on a C700    , but I'm having trouble connecting my my wireless card Dlink DCF-660W on debian. It was working while in Angstrom.  

Can somebody tell me how to configure the network card?


Thanks...
Title: Titchy On All Clamshell-models
Post by: ZDevil on October 13, 2007, 04:19:57 am
Have you installed the udev package? Also make sure that you have the correct settings in: /etc/network/interfaces, /etc/resolv.conf.
What does dmesg say when you plug in the card?
Title: Titchy On All Clamshell-models
Post by: citro on October 13, 2007, 08:35:47 pm
Quote from: ZDevil
Have you installed the udev package? Also make sure that you have the correct settings in: /etc/network/interfaces, /etc/resolv.conf.
What does dmesg say when you plug in the card?


Wireless connection is working now !!!!       I was missing configuration lines on interfaces.

Installed titchy-desktop however the touchscreen is rotated 90 degrees. If I move the pen on "X" the cursor moves on "Y" and viceversa.  

When I ran exec /etc/init.d/xdm start I noticed that just before opening the X server the text terminal rotates 90 degrees. I'm not sure if this has something to do with the problem and how to fix it. Any ideas?


Regards....

Citro
Title: Titchy On All Clamshell-models
Post by: ZDevil on October 13, 2007, 10:56:15 pm
@citro: My C860 also ran into the same problem with the stylus pointer when running of titchy-desktop (xfce4) for the first time. Just delete /etc/ts.conf and restart X to recalibrate the pointer. That works for me.
Title: Titchy On All Clamshell-models
Post by: citro on October 15, 2007, 01:53:41 pm
Quote from: ZDevil
@citro: My C860 also ran into the same problem with the stylus pointer when running of titchy-desktop (xfce4) for the first time. Just delete /etc/ts.conf and restart X to recalibrate the pointer. That works for me.

I deleted ts.conf, then did Ctrl+Alt+Del and once X restarted automatically the problem self corrected.    Thanks a lot ZDevil for all your help.


On a diffeent subject.... the zaurus-hardware-support.deb file for the debian Titchy webpage... that one is suposed to be for C3x00 right? and I think Kuro's C3x00 image that we used for C7x0/C860 on SD has them already installed. If so, would there be some hardware issues. At least I remember seeing an error message while booting about the spitz sound module not loading succesfully however I know sound doesn't work 100% on C3x00 either so I'm not sure if the error is unique to my C700. What else is different between the 3 digit (C7x0/C860) and 4 digit (C1000/C3x00) zaurus with regards to hardware and how can I get the appropiate hardware support, if really applicable?


thanks....

Citro
Title: Titchy On All Clamshell-models
Post by: Chero on October 15, 2007, 03:04:56 pm
Quote from: citro
Quote from: ZDevil
@citro: My C860 also ran into the same problem with the stylus pointer when running of titchy-desktop (xfce4) for the first time. Just delete /etc/ts.conf and restart X to recalibrate the pointer. That works for me.

I deleted ts.conf, then did Ctrl+Alt+Del and once X restarted automatically the problem self corrected.    Thanks a lot ZDevil for all your help.


On a diffeent subject.... the zaurus-hardware-support.deb file for the debian Titchy webpage... that one is suposed to be for C3x00 right? and I think Kuro's C3x00 image that we used for C7x0/C860 on SD has them already installed. If so, would there be some hardware issues. At least I remember seeing an error message while booting about the spitz sound module not loading succesfully however I know sound doesn't work 100% on C3x00 either so I'm not sure if the error is unique to my C700. What else is different between the 3 digit (C7x0/C860) and 4 digit (C1000/C3x00) zaurus with regards to hardware and how can I get the appropiate hardware support, if really applicable?


thanks....

Citro

If you copy the /lib/modules/2.6.xx from angstrom (nand) to debian (sd) then there shouldn't be any issues.
(replace xx with the right number according to the kernel you are using, when you don't know that : use "uname -a" and it will be listed).

Chero.
Title: Titchy On All Clamshell-models
Post by: sjaglin on November 11, 2007, 05:25:18 am
Hi,

I am the proud owner of a SL-C860 and a Collie , I currently run cacko roms (1.23). I would like to try some newer distros and am amazed by what you lot are up to. It seems quite complicated though and I would like to try a bit before investing time into changing distro altogether, I use my z for work quite a bit and I want it to deliver what I need fairly quickly (impatient consummer!).

So, is there a beginners guide to Angstrom or Debian on z, all I can find is stuff which seems quite hairy to me! Or, even better, is there somewhere a NAND od either these distros that I could load on my Z to give it a go?

Thanks, I realise it's a bit cheeky to ask a quick solution but I ve been googling for an hour and nothing seems quite like an A to Z to recent Z distros,

Stef
Title: Titchy On All Clamshell-models
Post by: jpmatrix on November 11, 2007, 05:30:58 am
Quote from: sjaglin
Hi,

I am the proud owner of a SL-C860 and a Collie , I currently run cacko roms (1.23). I would like to try some newer distros and am amazed by what you lot are up to. It seems quite complicated though and I would like to try a bit before investing time into changing distro altogether, I use my z for work quite a bit and I want it to deliver what I need fairly quickly (impatient consummer!).

So, is there a beginners guide to Angstrom or Debian on z, all I can find is stuff which seems quite hairy to me! Or, even better, is there somewhere a NAND od either these distros that I could load on my Z to give it a go?

Thanks, I realise it's a bit cheeky to ask a quick solution but I ve been googling for an hour and nothing seems quite like an A to Z to recent Z distros,

Stef

best starting place to install Debian on you Zaurus is the wiki :

https://www.oesf.org/index.php?title=Debian...eries_models%29 (https://www.oesf.org/index.php?title=Debian/Zaurus_installation_guide_%28for_all_C-series_models%29)

this forum is debian specific
for angstrom have a look on www.angstrom-distribution.org