Author Topic: Titchy On All Clamshell-models  (Read 20261 times)

plcg

  • Jr. Member
  • **
  • Posts: 68
    • View Profile
    • http://
Titchy On All Clamshell-models
« Reply #15 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
C760 & Pdaxrom 1.1.0beta1 / Transcend 512 MB CF
C1000 & Cacko 1.23 full / PQI 1 GB SD/ Hitachi 2GB microdrive
Linksys WCF12 CF WiFi Card

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
Titchy On All Clamshell-models
« Reply #16 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

Life is too precious for hacking *too much*
Visit my Z screencap gallery[/color]
My EeePC 701 Black = Debian (Lenny) on IceRocks + Transcend SDHC Class6 8GB + 2GB RAM
My Zaurus SL-C3200 = Debian EABI (kernel 2.6.24.3-yonggun) on a swapped internal Sandisk Extreme III CF 16gb
My Debian EABI feed: http://matrixmen.free.fr/zaurus/debian/
My OpenBSD/Zaurus feeds:  Link1, Link2
[/i][/font][/color][/size]

Chero

  • Hero Member
  • *****
  • Posts: 1140
    • View Profile
    • http://users.telenet.be/zaurususer/Chero
Titchy On All Clamshell-models
« Reply #17 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.
« Last Edit: October 07, 2007, 03:10:02 pm by Chero »
HP-95LX -> HP Jornada 680 -> SL-C860 -> SL-C3100 -> Fuji u810 -> SL-C1000 -> HTC uni -> SL-C860 -> SL-C760.
March 12 2009 : Back because the Zaurus is one of a kind.
SL-C760 : pdaXrom
Pandora pre-ordered -> received and tested : great device but not my cup of tea -> sold.

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
Titchy On All Clamshell-models
« Reply #18 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 ...
« Last Edit: October 07, 2007, 05:17:52 pm by ZDevil »

Life is too precious for hacking *too much*
Visit my Z screencap gallery[/color]
My EeePC 701 Black = Debian (Lenny) on IceRocks + Transcend SDHC Class6 8GB + 2GB RAM
My Zaurus SL-C3200 = Debian EABI (kernel 2.6.24.3-yonggun) on a swapped internal Sandisk Extreme III CF 16gb
My Debian EABI feed: http://matrixmen.free.fr/zaurus/debian/
My OpenBSD/Zaurus feeds:  Link1, Link2
[/i][/font][/color][/size]

Chero

  • Hero Member
  • *****
  • Posts: 1140
    • View Profile
    • http://users.telenet.be/zaurususer/Chero
Titchy On All Clamshell-models
« Reply #19 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 ?
HP-95LX -> HP Jornada 680 -> SL-C860 -> SL-C3100 -> Fuji u810 -> SL-C1000 -> HTC uni -> SL-C860 -> SL-C760.
March 12 2009 : Back because the Zaurus is one of a kind.
SL-C760 : pdaXrom
Pandora pre-ordered -> received and tested : great device but not my cup of tea -> sold.

Chero

  • Hero Member
  • *****
  • Posts: 1140
    • View Profile
    • http://users.telenet.be/zaurususer/Chero
Titchy On All Clamshell-models
« Reply #20 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.
« Last Edit: October 08, 2007, 02:01:43 am by Chero »
HP-95LX -> HP Jornada 680 -> SL-C860 -> SL-C3100 -> Fuji u810 -> SL-C1000 -> HTC uni -> SL-C860 -> SL-C760.
March 12 2009 : Back because the Zaurus is one of a kind.
SL-C760 : pdaXrom
Pandora pre-ordered -> received and tested : great device but not my cup of tea -> sold.

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
Titchy On All Clamshell-models
« Reply #21 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?
« Last Edit: October 08, 2007, 02:46:36 am by ZDevil »

Life is too precious for hacking *too much*
Visit my Z screencap gallery[/color]
My EeePC 701 Black = Debian (Lenny) on IceRocks + Transcend SDHC Class6 8GB + 2GB RAM
My Zaurus SL-C3200 = Debian EABI (kernel 2.6.24.3-yonggun) on a swapped internal Sandisk Extreme III CF 16gb
My Debian EABI feed: http://matrixmen.free.fr/zaurus/debian/
My OpenBSD/Zaurus feeds:  Link1, Link2
[/i][/font][/color][/size]

Chero

  • Hero Member
  • *****
  • Posts: 1140
    • View Profile
    • http://users.telenet.be/zaurususer/Chero
Titchy On All Clamshell-models
« Reply #22 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.
« Last Edit: October 08, 2007, 03:02:27 am by Chero »
HP-95LX -> HP Jornada 680 -> SL-C860 -> SL-C3100 -> Fuji u810 -> SL-C1000 -> HTC uni -> SL-C860 -> SL-C760.
March 12 2009 : Back because the Zaurus is one of a kind.
SL-C760 : pdaXrom
Pandora pre-ordered -> received and tested : great device but not my cup of tea -> sold.

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
Titchy On All Clamshell-models
« Reply #23 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  
The page layout looks so different from the new site, and is more useful.
« Last Edit: October 08, 2007, 03:32:25 am by ZDevil »

Life is too precious for hacking *too much*
Visit my Z screencap gallery[/color]
My EeePC 701 Black = Debian (Lenny) on IceRocks + Transcend SDHC Class6 8GB + 2GB RAM
My Zaurus SL-C3200 = Debian EABI (kernel 2.6.24.3-yonggun) on a swapped internal Sandisk Extreme III CF 16gb
My Debian EABI feed: http://matrixmen.free.fr/zaurus/debian/
My OpenBSD/Zaurus feeds:  Link1, Link2
[/i][/font][/color][/size]

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
Titchy On All Clamshell-models
« Reply #24 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 ...
« Last Edit: October 08, 2007, 07:54:41 am by ZDevil »

Life is too precious for hacking *too much*
Visit my Z screencap gallery[/color]
My EeePC 701 Black = Debian (Lenny) on IceRocks + Transcend SDHC Class6 8GB + 2GB RAM
My Zaurus SL-C3200 = Debian EABI (kernel 2.6.24.3-yonggun) on a swapped internal Sandisk Extreme III CF 16gb
My Debian EABI feed: http://matrixmen.free.fr/zaurus/debian/
My OpenBSD/Zaurus feeds:  Link1, Link2
[/i][/font][/color][/size]

Chero

  • Hero Member
  • *****
  • Posts: 1140
    • View Profile
    • http://users.telenet.be/zaurususer/Chero
Titchy On All Clamshell-models
« Reply #25 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.
HP-95LX -> HP Jornada 680 -> SL-C860 -> SL-C3100 -> Fuji u810 -> SL-C1000 -> HTC uni -> SL-C860 -> SL-C760.
March 12 2009 : Back because the Zaurus is one of a kind.
SL-C760 : pdaXrom
Pandora pre-ordered -> received and tested : great device but not my cup of tea -> sold.

Chero

  • Hero Member
  • *****
  • Posts: 1140
    • View Profile
    • http://users.telenet.be/zaurususer/Chero
Titchy On All Clamshell-models
« Reply #26 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
edit :
(BTW : the error talks about a C860 -> this means that with a 2.6.21 kernel it ought to be working)
« Last Edit: October 08, 2007, 08:22:20 am by Chero »
HP-95LX -> HP Jornada 680 -> SL-C860 -> SL-C3100 -> Fuji u810 -> SL-C1000 -> HTC uni -> SL-C860 -> SL-C760.
March 12 2009 : Back because the Zaurus is one of a kind.
SL-C760 : pdaXrom
Pandora pre-ordered -> received and tested : great device but not my cup of tea -> sold.

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
Titchy On All Clamshell-models
« Reply #27 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...  
« Last Edit: October 11, 2007, 06:11:33 pm by ZDevil »

Life is too precious for hacking *too much*
Visit my Z screencap gallery[/color]
My EeePC 701 Black = Debian (Lenny) on IceRocks + Transcend SDHC Class6 8GB + 2GB RAM
My Zaurus SL-C3200 = Debian EABI (kernel 2.6.24.3-yonggun) on a swapped internal Sandisk Extreme III CF 16gb
My Debian EABI feed: http://matrixmen.free.fr/zaurus/debian/
My OpenBSD/Zaurus feeds:  Link1, Link2
[/i][/font][/color][/size]

citro

  • Newbie
  • *
  • Posts: 8
    • View Profile
Titchy On All Clamshell-models
« Reply #28 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
« Last Edit: October 08, 2007, 09:09:40 pm by citro »
SL-C700 = Altbooting Angstrom 2.6.21 on nand and Debian EABI Filesystem on SD with 178MB Swap on second SD partition.
SL-C3200 = Running debian EABI from the microdrive / kernel Angstrom 2.6.23 / Sid
D-Link DCF-660W Wireless card
Linksys WCF12 wireless card (working issues)
1GB CF Microdrive
1GB Lexar SD Card
128MB Lexar SD Card

cal

  • Full Member
  • ***
  • Posts: 112
    • View Profile
Titchy On All Clamshell-models
« Reply #29 on: October 09, 2007, 12:20:43 am »
chero, could you post you fstab?