Author Topic: X/qt Installed, Sort Of  (Read 5318 times)

PaulBx1

  • Newbie
  • *
  • Posts: 41
    • View Profile
X/qt Installed, Sort Of
« on: March 29, 2006, 03:39:22 am »
I decided to go ahead and try a cramfs install on my C1000 even though I'm not sure of some issues. It works in some respects (I can get the xwindow running), however:

1) Cacko 1.23 seemed to have some sort of automount facility already before starting this. At least, when I took the SD card out or put it in, it automatically mounted it. I tried installing X/QT without Meanies automounter, thinking this other one might work. No. Then I tried installing automounter. Now I don't know which is working, but I still don't get the cramfs automatically mounted, my guess is automounter still is not working (if I type "automounter" it says "command not found"). I have to do the mount manually (e.g. after boot) to get it up. No swap either. <later> This appears to be a problem of definition (link?) of "automounter" because if I go to /etc/rc.d/init.d I find mntloop and if I invoke it with "status" it shows me the loop devices including xqt.

2) Not sure what the swap situation for X/Qt is supposed to be on a C1000 anyway. My sd card is 256MB...

3) I get lots of error messages on boot. First is "cramfs: wrong magic" and then "FAT: bogus logical sector size 381". Then a whole pile of complaints like:

pxa_sd_wait_id_response: responce time out (cmd=01 MMC_STAT=0x2142)

4) I neglected to do a "tee" or whatever one does to capture the output when running xqt-install.sh; is there any log lying around to look at?

5) Oh, I unzipped these packages on my windoze box, where I had downloaded them; was that a mistake? I noticed the script handled unzipping. I guess I needed to unzip the script if nothing else.

6) I noticed in one thread Cresho had a recipe for this install:
Quote
install--needed files or it will not work
----------------------------------------
automounter-c3000_0.4.5_arm.ipk
sudo_0.1_arm.ipk
zlib_1.2.3-1_arm.ipk
qconsole(disable magnifyby holding down with stylus and removing check)
...
https://www.oesf.org/forums/index.php?showtopic=13011&st=390
sudo is there but I don't know if zlib is, or how to tell. I'm just using the regular QKonsole that came with Cacko.

My efforts to search for answers to these on the forum were not fruitful.
« Last Edit: March 29, 2006, 03:53:07 am by PaulBx1 »
SL-C1000 Cacko 1.23 in hand, PDP-11 RT-11 in brain

bam

  • Hero Member
  • *****
  • Posts: 1213
    • View Profile
    • http://thegrinder.ws
X/qt Installed, Sort Of
« Reply #1 on: March 29, 2006, 03:55:59 am »
1) Cacko 1.23 seemed to have some sort of automount facility already before starting this. At least, when I took the SD card out or put it in, it automatically mounted it. I tried installing X/QT without Meanies automounter, thinking this other one might work. No. Then I tried installing automounter. Now I don't know which is working, but I still don't get the cramfs automatically mounted, my guess is automounter still is not working (if I type "automounter" it says "command not found"). I have to do the mount manually (e.g. after boot) to get it up. No swap either.

*you do not need automounter with cacko, I am running the squashfs just fine

2) Not sure what the swap situation for X/Qt is supposed to be on a C1000 anyway. My sd card is 256MB...

*at least a 64mb swap would be recommended

3) I get lots of error messages on boot. First is "cramfs: wrong magic" and then "FAT: bogus logical sector size 381". Then a whole pile of complaints like:

pxa_sd_wait_id_response: responce time out (cmd=01 MMC_STAT=0x2142)

*this has always been there, just it was covered by the "Sharp" logo

4) I neglected to do a "tee" or whatever one does to capture the output when running xqt-install.sh; is there any log lying around to look at?

*I dont think so, havent looked at the script extensively

5) Oh, I unzipped these packages on my windoze box, where I had downloaded them; was that a mistake? I noticed the script handled unzipping. I guess I needed to unzip the script if nothing else.

*yup
SL-C3100 current: Stock/Tetsu 18h
Socket BT CF Card
Linksys WCF-12 802.11b/Cheapie USB Ethernet

The Grinder

Cresho

  • Hero Member
  • *****
  • Posts: 1609
    • View Profile
    • http://home.earthlink.net/~cresho/
X/qt Installed, Sort Of
« Reply #2 on: March 29, 2006, 03:57:43 am »
its easy.  took me a while to get the right combination together.  perhaps i can post something here to help.

some of my notes.

install
----------------------------------------
automounter-c3000_0.4.5_arm.ipk
sudo_0.1_arm.ipk
zlib_1.2.3-1_arm.ipk
qconsole(disable magnifyby holding down with stylus and removing check)

placed all crams images in /mnt/card/QtPalmtop/xqt
then
su
cd /mnt/card/QtPalmtop/xqt
then
./xqt-install.sh

fn stylus right click.....
menu and hit fullscreen for fullscreen

unmount before backing up or restoring
mount

always su before
su


to stop processess before backup, do this
/etc/rc.d/init.d/mntloop stop
and then you can backup.
to start up processess
/etc/rc.d/init.d/mntloop start
use mount to see the mounted stuff.  
reboot when necessery cuz it leaves a bunch of
virtual drives in the file manager or you can try and unmount

if you need to eject the sd card, su then /etc/rc.d/init.d/mntloop stop then
umount /mnt/card
to remount if you did not reboot, mount /mnt/card
type mount for status of mounted files.

cd /mnt/card/QtPalmtop/xqt is the location where i have it stored.

if you are having issues with memory running out, i also have a solution for that.
Zaurus C-3200 (internal 8gb seagate drive) with buuf icon theme, cacko 1.23 full,  and also Meanie's pdaxqtrom-Debian/Open Office
Zaurus SL-5500 Sharp Rom 3.13 with steel theme
pretec pocket pc wi fi
ambicom bt2000-cf bluetooth-made in taiwan
simpletech 1gb cf
pny 1gb sd
patriot 2gb
ocz or patriot 4gb sd(failed after 2 weeks)only on z
creative csw-5300 speakers in stereo
DigiLife DDV-1000 for video, Audio, Picture recording playable on the zaurus
Mustek DV4500-video recorder, pictures, voice record on sd for z

zaurusthemes.biz | ZaurusVideo | Zaurus Software

Jon_J

  • Hero Member
  • *****
  • Posts: 1853
    • View Profile
    • http://
X/qt Installed, Sort Of
« Reply #3 on: March 29, 2006, 09:28:09 am »
It took me awhile, but I got the xqt-gtk-jumbo.cramfs and xqt-apps.cramfs setup on a SD card and the install went smoothly.
I installed it on a ext2 formatted SD card. This was a week½ ago.
(My main reason for posting this is about the automounter).

I won't go into all the details here, but I figured out that I didn't need sudo because I use Cacko.
I did install the automounter and have zlib installed for other reasons.
I had most of the apps running with no problems but they run slowly.
My concern is that my Qtopia desktop seemed to run slower.
What I mean is the applications installed in Cacko, ran slower.
So I uninstalled the whole thing, (xqt-gtk-jumbo and xqt-apps), using the GUI uninstaller.
I started having problems immediatly after I uninstalled automounter-c3000_0.4.5
I rebooted completely, and got an error message about needing to use fsck on the ext3 partition because of too many mount points.
(I don't remember the exact error message, this was over a week ago, and I didn't use fsck on the ext3 partition).
Also when rebooting, the Cacko background was gone. It booted from a black screen straight to the desktop.
Another problem I noticed just after uninstalling the automounter is,
My external USB hard drive was no longer mounted by Cacko like it should be, when I plugged it in.
I've since reflashed Cacko Lite and restored a known clean backup of my Qtopia backup/restore file, and my Cacko apps and desktop is snappier/quicker.
I hope nobody that reads this thinks I'm complaining,
and I think Meanie's setups and configurations are a great contribution to the Zaurus community.
The Xqt setup just isn't for me at the moment.
I really liked having access to Gimp and pdaXrom apps, that seem to NOT be available under Cacko, but the slowdown caused me to uninstall everything.

Jon
« Last Edit: March 29, 2006, 08:21:21 pm by Jon_J »
C3100 Multiboot-->Angstrom 2007.12-r18 | Cacko 1.23 | ArchLinuxARM
C3200 pdaxii13v2-5.5-alpha4 Akita on NAND

Ambicom WL1100C-CF Wifi - Ambicom CF modem - Ambicom CF GPS - Belkin-F5D5050 USB LAN
Socket CF Bluetooth rev K - Iogear 4 port USB micro hub - pocket CF card reader
Targus mini USB optical mouse - 2 Targus SD card readers

PaulBx1

  • Newbie
  • *
  • Posts: 41
    • View Profile
X/qt Installed, Sort Of
« Reply #4 on: March 29, 2006, 11:02:35 am »
Quote
I started having problems immediatly after I uninstalled automounter-c3000_0.4.5
...
Another problem I noticed just after uninstalling the automounter is,
My external USB hard drive was no longer mounted by Cacko like it should be, when I plugged it in.
This was what had me worried, that automounter would somehow interfere with the native Cacko automount facility, or they would trip over each other. Looks like that's the case. Glad I have a backup...

BTW, I don't notice my Cacko stuff running any slower so far. Jon-J, note Meanie's warning about uninstalling X/Qt on this page (in a section that is for some reason separate from his other notes about installing X/Qt):
Quote
Installing X/Qt

This can be a quite simple and straightforward task or a messy and frustrating experience. If you are lucky, everything just installs and you got X/Qt up and running in no time at all. However, if you are unlucky, then troubleshooting a broken installation can be a challenging and frustrating process. I've sucessfully installed the latest version of X/QT, but I have noticed that some X/Qt packages do not uninstall cleanly and will confuse reinstalls or other packages that have dependancies on them.
http://www.users.on.net/~hluc/myZaurus/custom.html#essential

I don't know if the warning also applies to the Jumbo-packaged X/Qt.


Quote
*you do not need automounter with cacko, I am running the squashfs just fine
bam, I decided to put it in because the cramfs was not being mounted by the Cacko automount facility in my case. Seeing the troubles Jon-J ran into with automounter, maybe I should have tried working with Cacko's first!    

BTW Cresho, you might modify your notes that sudo and automounter are not required or maybe even not recommended with Cacko users. At least at the moment.

Looks like automounter is useful enough generally that it should be installed by the xqt-install script if it is not already there, and (optionally) cleaned up by the xqt-cleanup - after the snafu with Cacko is sorted out. Why? To make the X/Qt install more idiot-proof for noobs like me.  

Where does "automounter" get defined? I have the automounter scripts, but the definition apparently does not exist yet for me.
« Last Edit: March 29, 2006, 11:09:51 am by PaulBx1 »
SL-C1000 Cacko 1.23 in hand, PDP-11 RT-11 in brain

Cresho

  • Hero Member
  • *****
  • Posts: 1609
    • View Profile
    • http://home.earthlink.net/~cresho/
X/qt Installed, Sort Of
« Reply #5 on: March 29, 2006, 11:21:07 am »
thanks---i did not realize you ran cacko.  I use sharprom.  forgot to look at your sig.
« Last Edit: March 29, 2006, 11:21:38 am by Cresho »
Zaurus C-3200 (internal 8gb seagate drive) with buuf icon theme, cacko 1.23 full,  and also Meanie's pdaxqtrom-Debian/Open Office
Zaurus SL-5500 Sharp Rom 3.13 with steel theme
pretec pocket pc wi fi
ambicom bt2000-cf bluetooth-made in taiwan
simpletech 1gb cf
pny 1gb sd
patriot 2gb
ocz or patriot 4gb sd(failed after 2 weeks)only on z
creative csw-5300 speakers in stereo
DigiLife DDV-1000 for video, Audio, Picture recording playable on the zaurus
Mustek DV4500-video recorder, pictures, voice record on sd for z

zaurusthemes.biz | ZaurusVideo | Zaurus Software

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
X/qt Installed, Sort Of
« Reply #6 on: March 29, 2006, 07:46:33 pm »
automounter is version 0.4.7 already. the 0.4.5 version had a few small problems

basically, the automounter packages has two components:

1. usbstorage hotplug script

This script mounts USB storage devices when they are plugged in automatically. The stock Sharp ROM does not have this script so automounter delivers one. Cacko has this usbstorage script so USB storage devices are automatically detected and mounted in Cacko. The script in Cacko simply mounts the first partition of the plugged in disk. Most devices have a single primary partition and Cacko can mount those successfully. However, USB harddisks may have been partitoned with an extended partition. My usbstorage script attempts to mount both type of partitions. It can also automount USB Zip drives. In addition, my script assumes that there is the possibility of four USB harddrives being plugged in using a USB hub.


2. mntloop rc script

During boot up and shutdown, the mntloop rc script is called to mount and unmount loop devices such as cramfs, squashfs and ext2/ext3 images. By default, entries in /etc/fstab are mounted during boot, but since there are only 2 default loop devices, any additional images will fail to mount. mntloop will create additional loop devices and scan /etc/fstab to mount the remainning loop devices that have not been mounted yet. It will only look for loop devices with extensions of .cramfs, .squashfs, .ext2 and .ext3.  In addition, it will also enable a swap file if it is called swapfile and located on either /hdd3, /mnt/card or /mnt/cf. It will also disable them before shutdown if they were enabled. On Sharp ROM, I also modified the sd and cf control scripts to enable/disable the swapfile when the card is inserted/ejected and it also automatically unmounts any loop devices mounted on the card. It does not do this on Cacko. There is also a symlink to mntloop called automounter. And finally, the mntloop script also mounts hdd4 if it exist.
SL-C3000 - pdaXii13 build5.4.9 (based on pdaXrom beta3) / SL-C3100 - Sharp ROM 1.02 JP (heavily customised)
Netgear MA701 CF, SanDisk ConnectPlus CF, Socket Bluetooth CF, 4GB Kingston CF,  4GB pqi SD, 4GB ChoiceOnly SD, 2GB SanDisk SD USB Plus, 1GB SanDisk USB Plus, 1GB Transcend SD, 2GB SanDisk MicroSD with SD adaptor, Piel Frama Leather Case, GoldX 5-in-1 USB cable, USB hub, USB mouse, USB keyboard, USB ethernet, USB HDD, many other USB accessories...
(Zaurus SL-C3000 owner since March 14. 2005, Zaurus SL-C3100 owner since September 21. 2005)
http://members.iinet.net.au/~wyso/myZaurus - zBook3K

PaulBx1

  • Newbie
  • *
  • Posts: 41
    • View Profile
X/qt Installed, Sort Of
« Reply #7 on: March 30, 2006, 02:45:13 pm »
Hi Meanie. I have the 0.4.6 automounter. The cramfs is listed in my /etc/fstab.

My sd card is FAT formatted, that's not an issue, when I install off it, is it? Or when I put a swap file on it?

I found the mntloop script in /etc/rc.d/init.d. I didn't find the usbstorage script; it's weird, the Cacko file search application doesn't seem to reliably find things I know are there. Where would that be located?

Can you tell me where the automounter link should be located? Maybe I need to remove automounter and re-install it, but I'm nervous about that after all the problems Jon_J ran into. Should I need to remove it, or can I just reinstall again on top of what's there?

It's funny, I was trying to get more info about the automounter package, and did "ipkg files" etc. and got nothing from that. When I tried "ipkg depends", it complained: "ipkg_depends: ERROR: Package name automounter-c3000_0.4.6_arm.ipk contains illegal characters (should be [a-zA-Z0-9.+-])" Looks like it's complaining about the underscores, which are not unknown in file names.  

Quote
On Sharp ROM, I also modified the sd and cf control scripts to enable/disable the swapfile when the card is inserted/ejected and it also automatically unmounts any loop devices mounted on the card. It does not do this on Cacko.

Do you mean, it does not need to do this on Cacko, because Cacko handles it already? Or do you mean we have to get in and modify the sd and cf scripts ourself to handle this? If so, where are they, and do you have any hints how to?

On another issue, do I need zlib, or is that only for sharp rom users? I don't know how to tell if Cacko has it or not. I got a copy from here to use if I need it, hope that's a good place to get it:
http://club.h14m.org/kenji/zaurus/
« Last Edit: March 30, 2006, 03:04:59 pm by PaulBx1 »
SL-C1000 Cacko 1.23 in hand, PDP-11 RT-11 in brain