Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - ajnk

Pages: [1] 2 3
1
Debian / Debian On Cf With Uboot What Should I Put On Sd ? Pdax ?
« on: April 11, 2008, 12:38:02 pm »
Had another thought on this .... boot to the pdaxrom emergency kernel (as i have uboot, i can hold down okay to reach this.  Install kexec in this environment and then exec the pdaxrom kernel on sd ?  I hope to give it a go this weekend if anyone has already tried - let me know ;-)

2
Debian / Debian On Cf With Uboot What Should I Put On Sd ? Pdax ?
« on: April 09, 2008, 01:42:57 pm »
So what does holding down '2' at boot time tell the kernel ? /dev/hda2 ? CF ?

Are you saying that the yonggun kernels are hardcoded to boot off *either* CF or SD but not both or even they are locked down to boot from a particular partition ? .  

In which case the original question changes to 'can i put multiple distros (or multiple version of the same distro) on different partitions of the CF ?)  That way at least i could have a mini 'get out of jail' distro - as long as I don't bork the kernel.

Thanks for you helpful/knowledgable contribtions thus far.

3
Debian / Debian On Cf With Uboot What Should I Put On Sd ? Pdax ?
« on: April 09, 2008, 01:27:03 pm »
Ahhh, that sound like the part of the jigsaw i was missing.  I am guessing the rest of the jigsaw is something like uboot has a kernel/modules sitting somewhere in nand, and it execs the target kernel at boot time, the target kernel boot= and root= parameters probably take care of which distro you end up with.

*off topic* When i boot the pdaxrom recovery kernel (reboot holding down OK). It mounts the cf card, but there is not /dev/hda1 file (there is a /dev/hda) and if I try to access it (cd /mnt/cf) it just hangs ?

4
Debian / Debian On Cf With Uboot What Should I Put On Sd ? Pdax ?
« on: April 09, 2008, 11:49:32 am »
Yesterday I managed to bork/recover my Debian install on the internal CF (replaced the microdrive) of my C3100.  Once the debian distro was broken the Z was useless until I could get it home/disassemble/restore to CF (I still had the microdrive with the debian on from ~1month ago).

Now the setup is a 2.6.24-yonggun kernel with uboot.  I believe I can install another distro on SD and boot it - I have seen various postings about using altboot/kexec/sharp bootloader.  As I understand it this would do 2 things :-

1) It would boot the SD distro if I forgot to hold down '2' when I reboot - rather than panicking.
2) If I mess up the debian install again I could probably fix it using the distro on the SD (chroot anyone ?)

Can install another distro on the SD - preferably pdax as i used to use it on a c860 (although i am having trouble working out what the latest usable version is) and boot it with uboot.

I don't understand much about the uboot boot process, so would like to add a distro to my current working setup rather than fiddle around with other boot methods and risk losing Debian.

I can't believe someone isn't doing this already :-)

Please no suggestions of what *might* be possible, contributions about confirmed working setups would be much appreciated.

5
Debian / Swap 32gb Cf For Microdrive
« on: April 09, 2008, 11:07:37 am »
Quote from: ZDevil
Good to know that things are working now.
ajnk: so do you mean the latest yonggun kernel can boot off an ext2 partition? I remember the previous one only takes ext3 ...


I don't know the answer to your question as I enabled the journal (tune2fs -j /dev/hda1) before inserting the CF into the Z.  I left journaling off while copying about 2.5Gb of data to it (the recovery from the laptop) - it sped things up A LOT and stopped my laptop from crashing.  I almost looked like the CF was thrashing - but it's memory not a disk ?!?!

Also edited /etc/fstab on the Z to add the noatime option to the filesystem mount - to turn off recording off access times - again should help performance.

6
Debian / Libc6 Trouble - Unable To Upgrade/downgrade Anything
« on: April 09, 2008, 05:59:48 am »
I was unable to recover to the CF card, the restore kept failing in the same place and locking up my laptop (I removed the CF card from the Z and plugged it into my lappy via USB).

Ended up doing a mke2fs on the CF card and that seemed to fix it (did not enable journaling until after the restore)

Did an apt-get update ; apt-get upgrade and libc6-2.6.10 went out without any issues ?!?

So it looks like an FS issue all along.

Full details of how the restore was done are here :- https://www.oesf.org/forum/index.php?showto...25660&st=15 in post 29

7
Debian / Swap 32gb Cf For Microdrive
« on: April 09, 2008, 05:08:57 am »
I had to do something similar last night, when I managed to make my 16gb CF unbootable, fortunately i had my 4gb I was using until about 1 month ago :-

1) Attached 4gb microdrive to laptop using USB adapter, checked the filesystem (just to be safe).
2) Mount 4gb microdrive (/media/disk in this case)
3) cd /media/disk
4) copy contents to laptop HD (I wanted a) a backup  a fast way to redo the process if I messed up)
     mkdir /home/andy/z/cf_recovery
     find . | cpio -pdmv /home/andy/z/cf_recovery
5) wait .......
6) once the copy was complete umount /media/disk
7) Disassemble Z (c3100 in my case)
9) Retrieve CF card from Z, attach to lappy via USB.
10) It automounted on /media/disk, so I unmounted it.
11) Create an ext2 filesystem (yes I want ext3 journaling, but i am going to dump a lot of data in a stable environment so I don't need the journal - it would only slow things down).
     mke2fs /dev/hdb1
     tune2fs -i 0 -c 0  /dev/hda1
     (turns off fsck after a number of mounts).
12) mount the cf card (mount /dev/hdb1 /media/disk)
13) cd /home/andy/z/cf_recovery
13) find . | cpio -pdmv /media/disk
14) wait .....
15) umount cf card, insert in Z, rebuild Z - hey presto - working fs

BTW. If you need to repeat step 13) for any reason either remake the filesystem or add the 'u' flag (unconditional overwrite) to the cpio.

Hope this helps
ajnk

(Then I did an apt-get update ; apt-get upgrade )

8
Debian / Libc6 Trouble - Unable To Upgrade/downgrade Anything
« on: April 08, 2008, 11:34:06 am »
Oh dear - got impatient (with the problem - not the forums)

apt-get upgrade --force-yes

oops - its now deceased (panic on reboot).

I upgraded from the 4gb Microdrive to a 16gb CF about 1 month ago - so i guess I can restore from that.

OR

I have uboot setup to boot the now defunct Debian armel install - (can I | how do I) put pdaxii3 or something similar on SD ? Useful dual boot/recovery setup

9
Debian / Libc6 Trouble - Unable To Upgrade/downgrade Anything
« on: April 08, 2008, 10:37:25 am »
It was about a week ago, hmmm also about the time I installed libqt4-devel - (so I could compile qpspmanger).

10
Debian / Libc6 Trouble - Unable To Upgrade/downgrade Anything
« on: April 08, 2008, 06:30:07 am »
I am currently running debian armel (lenny/sid) with kernel Linux Zaurus 2.6.24-yonggun #10 PREEMPT Wed Jan 30 00:38:19 IST 2008 armv5tel GNU/Linux

I had been happily upgrading packages with apt-get update ; apt-get upgrade however on one occasion it decided to upgrade libc6 - that's where trouble began.

The libc6 upgrade failed with a kernel panic, since then i have tried various things, including manually extracting and installing the libc6_2.7-10_armel.deb manually (dpkg -x libc6_2.7-10_armel.deb libc6_extract ; cd libc6_extract ; find . | cpio -pdmuv / ), hacking the status of the package from :-

dpkg-query --status libc6
Package: libc6
Status: install reinstreq half-installed
.
.
.
Description: GNU C Library: Shared libraries
 Contains the standard libraries that are used by nearly all programs on
 the system. This package includes shared versions of the standard C library
 and the standard math library, as well as many others.

to

Package: libc6
Status: install ok installed
.
.
.
Description: GNU C Library: Shared libraries
 Contains the standard libraries that are used by nearly all programs on
 the system. This package includes shared versions of the standard C library
 and the standard math library, as well as many others.

but its to clever for that and gives :-

dpkg-query --status libc6
dpkg-query: parse error, in file `/var/lib/dpkg/status' near line 18674 package `libc6':
 Configured-Version for package with inappropriate Status

If i try installing anything else in this case xterm (for no particular reason) :-

dpkg -i xterm_234-1_armel.deb
(Reading database ... 91573 files and directories currently installed.)
Preparing to replace xterm 234-1 (using xterm_234-1_armel.deb) ...
Unpacking replacement xterm ...
dpkg: dependency problems prevent configuration of xterm:
 xterm depends on libc6 (>= 2.7-1); however:
  Package libc6 is not installed.
dpkg: error processing xterm (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 xterm

So I don't seem to be able to go forwards or backwards.

The installation works fine, apart from not being able to install/update any packages so I don't really want to trash it.

Does anyone have a good installed libc6-2.7-10 package installed so i could try pasting the status file entry ? or is there a legit way to force dpkg to accept it as installed ?

The only other thought I came up with was installed pdaxrom (pdaXii3 ?) on sd and using chroot or dpkg -root to force the install on the debian environment.

Any help or suggestions would be greatly appreciated (reinstall is least favoured option).

11
Zaurus - pdaXrom / Lacie Skwarim
« on: May 26, 2006, 04:06:31 am »
Okay, done some googleing, but unable to find what I am after.  Does anyone know if there is such a thing as a dual power (mains/battery) active USB hub ?

12
Zaurus - pdaXrom / Lacie Skwarim
« on: May 25, 2006, 05:16:44 am »
Oh well, got the Skwarim - doesn't work with the C3100 - funny thing is the light comes on, on the drive, but nothing in the syslog on the C3100 -- like it hasn't seen it at all :-(

13
Zaurus - pdaXrom / Lacie Skwarim
« on: May 23, 2006, 03:19:04 am »
I was looking at getting a Lacie Skwarim (?) 60gb 1.8" USB drive - has anyone tried it with a C3100 ? Will it work (at all) ?

14
Zaurus - pdaXrom / Kde 3.5
« on: January 07, 2006, 04:45:55 pm »
I ran KDE 3.5 on a C860, full install on a 1Gb SD.  It was impressive in that the Z could run KDE at all, however it was unusably slow as mentioned in several other posts.  I have just taken delivery of a C3100 and flashed it with PdaX 1.1.0 beta 1.  General impressions are its much 'snappier' than the C860, but before I get too far off topic - I am not sure if it is down to the PXA270 processor or the apps from the C1000/C3100 feed being built to take advantage of the processors features (or both).  My point is, has anyone made a build of KDE 3.5 targeted specifically at the PXA270 processor - would the improvements be enough to make it realistically useable ?

15
Zaurus - pdaXrom / Pdaxrom On C3100 - Does Is It Work
« on: December 23, 2005, 05:12:31 am »
Thanks Chero,

According to tracking the C3100 has just left Japan, so hopefully I will be flashing it sometime during Xmas week :-)

Regards
Andy

Pages: [1] 2 3