OESF Portables Forum

Everything Else => Zaurus Distro Support and Discussion => Distros, Development, and Model Specific Forums => Archived Forums => Angstrom & OpenZaurus => Topic started by: qwerty on July 23, 2005, 12:13:57 am

Title: Installing Opie
Post by: qwerty on July 23, 2005, 12:13:57 am
I know just enough to get myself into trouble...

Gleeful with having just succeeded in getting my internet connection to work,  I proceeded to use ipkg to install all of the opie applications in the OZ feed.  I'm not sure what happeneded, but when I rebooted, it said that I had run out of memory, and when it tried to start opie it failed and said "bus error".  Still having a command line I tried to uninstall as much of the stuff as possible, and while this solved the bus error, I don't seem to have opie anymore.  well , I have these packages starting with "opie":

opie-advancedfm-pics - 1.2.0-r0 - Opie Advanced Filemanager
opie-button-settings-pics - 1.2.0-r0 - Device-buttons settings dialog
opie-datebook - 1.2.0-r0 - A datebook/appointment manager
opie-networksettings - 1.2.0-r0 - Opie Network Settings
opie-pics - 1.2.0-r1 -
opie-today - 1.2.0-r0 - Today screen application

on boot up, the Z doesn't try to start opie.  do I have enough of opie to start it manually? do I need to change a boot script?
If not, what packages do I need to install?  The opie and oz websites have been a bit lacking to me thus far.

spec's:
SL-5500
OZ 3.5.3
opie 1.2 (originally)
...
usb->en to Mac (10.3)

don't have a cf card so I can't reflash it yet.
Title: Installing Opie
Post by: acpkendo on July 24, 2005, 11:52:27 am
It would help to know what you started with?  The bootstrap (i.e. non-GUI) image?  If this is the case, the answer is no, you don't have enough to start opie.  You'd need at least libopie1 (IIRC) and I believe it's called opie-core.  All opie apps will depend on these.

Then you might also need opie-launcher, although I'm not sure if this is the launcher itself or only the Settings application for it.

Your problem probably came as a result of trying to install everything to root (/).  There is a limited amount of room there (about 14MB to be exact), and if ipkg started installing some of the "non-essential" packages to root first, it would run out of room before it got to the necessary stuff.
Title: Installing Opie
Post by: lardman on July 24, 2005, 01:05:50 pm
Try starting by installing the task-opie-* packages.

Not all of them, look at the filenames and decide which you should install. -base would be a good start, then -settings, -applets, -applications, etc.

These are meta files which contain nothing themselves, by have deps which will pull in the stuff you need,


Si
Title: Installing Opie
Post by: qwerty on July 24, 2005, 02:23:29 pm
thank you so much, i think i'm getting back on track.  i tried to install task-opie-base:

:~# ipkg install task-opie-base
ERROR: Cannot satisfy the following dependencies for task-opie-base:
         opie-taskbar
:~# ipkg install opie-taskbar
Cannot find package opie-taskbar.

after hunting around online, i'm not sure why this package isn't available. do I need to specifya a different feed?
Title: Installing Opie
Post by: qwerty on July 24, 2005, 02:27:40 pm
i realized my list of packages above was incomplete.  here's the output from
ipkg list_installed | grep opie

libopiecore2-1 - 1.2.0-r0 - Base libraries for the Open Palmtop Integrated Environment
libopiedb2-1 - 1.2.0-r0 - Base libraries for the Open Palmtop Integrated Environment
libopienet2-1 - 1.2.0-r0 - Base libraries for the Open Palmtop Integrated Environment
libopieobex0 - 1.2.0-r0 - IrDA obex support library
libopiepim2-1 - 1.2.0-r0 - Base libraries for the Open Palmtop Integrated Environment
libopiesecurity2-0 - 1.2.0-r0 - Base libraries for the Open Palmtop Integrated Environment
libopietooth1-1 - 1.2.0-r0 - Opie Bluetooth library
libopieui2-1 - 1.2.0-r0 - Base libraries for the Open Palmtop Integrated Environment
opie-aboutapplet - 1.2.0-r0 - About Opie
opie-advancedfm-pics - 1.2.0-r0 - Opie Advanced Filemanager
opie-autorotateapplet - 1.2.0-r0 - Applet to disable the automatic screen rotation on Zaurus C-models
opie-batteryapplet - 1.2.0-r0 - Battery Monitor applet
opie-bluetoothapplet - 1.2.0-r0 - Opie Bluetooth Applet
opie-brightnessapplet - 1.2.0-r0 - Brightness Applet
opie-button-settings-pics - 1.2.0-r0 - Device-buttons settings dialog
opie-cardmon - 1.2.0-r0 - CF/PCMCIA Card Monitor applet
opie-clipboardapplet - 1.2.0-r0 - Clipboard applet
opie-clockapplet - 1.2.0-r0 - Clock applet
opie-datebook - 1.2.0-r0 - A datebook/appointment manager
opie-homeapplet - 1.2.0-r0 - Home Applet
opie-irdaapplet - 1.2.0-r0 - IrDA Applet
opie-lockapplet - 1.2.0+cvs-20050403-r0 - Lock Opie now Button to lock Opie (as configured in the Security settings) on demand.
opie-networksettings - 1.2.0-r0 - Opie Network Settings
opie-pics - 1.2.0-r1 -
opie-today - 1.2.0-r0 - Today screen application
opie-usermanager - 1.2.0-r0 - User/Group manager for Opie
opie-wellenreiter - 1.2.0-r1 - A Wireless Network Monitor
task-opie-wlan - 1.0-r23 - Meta-package for Opie and QPE
Title: Installing Opie
Post by: lardman on July 25, 2005, 06:08:08 am
Assuming you have the feeds working, you should be able to just do 'ipkg install task-opie-base' and it will pull in the deps. I'd be surprised if opie-taskbar weren't in the feeds,


Si
Title: Installing Opie
Post by: CoreDump on July 25, 2005, 01:05:08 pm
Quote
Assuming you have the feeds working, you should be able to just do 'ipkg install task-opie-base' and it will pull in the deps. I'd be surprised if opie-taskbar weren't in the feeds,


Si
[div align=\"right\"][a href=\"index.php?act=findpost&pid=89407\"][{POST_SNAPBACK}][/a][/div]

It might be in the machine feed, which isn't configured by default.
Title: Installing Opie
Post by: qwerty on July 25, 2005, 11:11:38 pm
excellent! thanks, coredump.  I added the machine feed to ipkg.conf.  I got task-opie-core installed the z tries to start up opie again.  So, I'm back to my original problem of the "bus error".
on startup:

Starting Opie in 5 seconds... press key to interrupt.
Starting Opie....
Bus error

then it gives me a command line.

hope this one is as easy and enlightening to solve as the first question.
Title: Installing Opie
Post by: qwerty on July 26, 2005, 12:30:29 pm
Found another thread with as much answer as may be afforded.

https://www.oesf.org/forums/index.php?showtopic=12280 (https://www.oesf.org/forums/index.php?showtopic=12280)

Sounds like the reflash is the only solution.
Title: Installing Opie
Post by: lardman on July 27, 2005, 06:30:22 am
Quote
Sounds like the reflash is the only solution.

In that case it was as ipkg was not working (and even then it could have been fixed by hand, but a reflash was less effort IMO).

The current case is different; personally I'd reflash as it'd be easier, but installing the task-opie- packages from the command line is not all that difficult,


Si
Title: Installing Opie
Post by: qwerty on July 28, 2005, 10:44:31 pm
Ok I have opie up again (manually, cf card is in the mail), but now I can't get my wireless card to work.  cardctl ident corrently identifies my card but nothing seems to think that I have a wlan0 interface (ifconfig, iwconfig, ...).  I'm posting here because I probably need another package.

ipkg list_installed | grep wlan:
opie-networksettings-wlanplugin - 1.2.0-r0
opie-wlansetup-help-en - 1.2.0-r0
task-opie-wlan - 1.0-r23
wlan-ng-modules - 0.2.1-pre23-r1
wlan-ng-utils - 0.2.1-pre23-r1
Title: Installing Opie
Post by: Hellmark on August 31, 2005, 09:06:50 pm
I tried installing the updates so I can switch to R21, and it gave an error I was out of space, and then locked up a bit later. Rebooted, and it gave the Bus Error when it was starting Opie. I reflashed (twice actually) with the stock 3.5.3 and its still giving it. Any help?
Title: Installing Opie
Post by: lardman on September 01, 2005, 05:31:00 am
Quote
I tried installing the updates so I can switch to R21, and it gave an error I was out of space

Make sure you comment out all of the other feeds in /etc/ipkg.conf before doing this, then just the upgrades/collie feed will be used (you added this of course) and you will only upgrade the kernel modules.

Quote
I reflashed (twice actually) with the stock 3.5.3 and its still giving it.

Still the bus error? Are you sure the flash happened? How long did it take, is there anything in ~ ?


Si

P.S. You are talking about a 5500 or 5000D of course?
Title: Installing Opie
Post by: Hellmark on September 01, 2005, 12:08:21 pm
Flash took about 5-10 minutes, then during first boot, it was working configuring things just like after any other flash.

SL-5500
Title: Installing Opie
Post by: lardman on September 01, 2005, 12:12:46 pm
Where and when does the bus error occur?

If it took this long then I'd check to see that the zImage was correctly named and not corrupt (as the initrd.bin is the bit which takes a long time to flash).

You are, of course, flashing the old kernel (in the 3.5.3 collie dir) first, then upgrading the kernel modules, then flashing the new kernel? You haven't got the two mixed up somehow, etc.?


Si
Title: Installing Opie
Post by: Hellmark on September 01, 2005, 12:29:47 pm
It does it right after it says its gonna load Opie.

And this is right after I'm loading with the stock 3.5.3 kernel. I've never got to where I could upgrade to the new one yet.
Title: Installing Opie
Post by: lardman on September 01, 2005, 01:11:16 pm
Actually you could update the kernel now; I presume you drop to a command prompt when Opie fails to start (I do wonder why that happens though - very odd).

You can edit ipkg.conf and run ipkg upgrade as I'd have recommended you did this from the terminal anyway even if you had Opie running.

Regarding the Opie failure - try running the commands in /etc/init.d/opie by hand to see where it fails (or run syslogd, then use logread to see what it has to say),


Si
Title: Installing Opie
Post by: Hellmark on September 01, 2005, 01:33:06 pm
Got it working. For shits and grins I flashed with the last Sharp ROM and it said that there was an error with part of the file system, and asked to repair it. I let it repair it. After that I immediately reflashed back to OZ with opie and it flashed faster, plus booted into opie without a problem. Also, it looks as if the partition on my SD card is dorked up. Oh well, this entire experience is giving me the chance to switch to a 64/0 setup, and have the SD card formatted to EXT2.
Title: Installing Opie
Post by: lardman on September 01, 2005, 03:19:31 pm
Cool, glad you got it sorted.

Do make sure you flash the updated kernel though (upgrade the kernel modules then just place the zImage on its own on your CF card and flash as usual).


Si