Author Topic: 3.5.2 - Problems, Fixes, Questions  (Read 23726 times)

kclayton

  • Newbie
  • *
  • Posts: 19
    • View Profile
3.5.2 - Problems, Fixes, Questions
« on: December 06, 2004, 01:38:36 pm »
Hi all,

First off great release in 3.5.2.  Moved up from 3.3.5 and really notice the difference.  With the upgrade I expected to see a certain number of "challenges" so please don't take any of my reports the wrong way, just reporting my findings.  Sorry . . not really in a position to generate patches right now . .  working far too much for the next few months at least , reporting is about the best I can do right now.

So, running 3.5.2 on collie, 64-0 kernel.

Here's a few problems I encountered so far and workarounds I've employed when possible.

(1) Could not connect to SuSE 9.1 boxes with dropbear ssh.  Got the "no auth method error" reported in another thread. Dropbear ssh would also segfault when attempting to port forward with the -L flag.  dropbear ssh would connect fine to a couple of boxes I've got with hand compiled openssh-3.9p1.   No difference in the sshd_config files between the boxes.  Must be a compile option that is the difference.

Workaround was to uninstall dropbear and install openssh packages.  All works fine now

Note:  I can connect to the SuSE boxes from a RedHat, LinuxPPC and Debian box just fine.  Appears to be a dropbear specific issue

(2)  opie-rdesktop was not connecting to terminal servers running in application mode.  Would connect to terminal server in Admin mode.  Previous install of qtrdesktop connected to these boxes fine.

Discovered that opie-rdesktop did not create the /root/.rdesktop folder to save my client side license.  When I copied my old license.sharp file from the /root/.rdesktop of my 3.3.5 backup it connected just fine.  Error on the terminal server was "could not issue license"  Looks like the opie-rdesktop package just needs to create this dir so that license file can be written out.  

(3)  What's the status with Perl?  Since OE site is down, I can't search the mail archives.  Thought a .oe build file had been created for it.  Were there build problems?

(4) Datebook with sql backend?  Moved my todolist and contacts to the sqlite backend.  Very nice.  One of my grips with the xml todolist was that if I made a bunch of changes and the todolist died for any reason before exiting normally, changes were lost.  sql backend appears to commit changes immediately.  I would like to move the calendar to the backend but I can't seem to get that working.  Converted the datebook.xml file to datebook.db just like I did with todo and contacts.

Added in
[datebook]
usebackend = sql

to pimaccess.conf (similar to entries for todo and contact)

moved old .xml file out of the way but no entries show up.  Is the sql backend working for datebook?  Sorry if this question is answered in a wiki somewhere but  since OE/handhelds.org is still down I can't look there    

(5) When using sql backend for contacts, opiemail dies when clicking the TO button to lookup email addresses from contacts.  Worked fine with xml backend.  Also, gpg for opiemail?  Very nice app though . . kudos to alwin for nice work.


Cheers,
K

rosebud

  • Newbie
  • *
  • Posts: 10
    • View Profile
3.5.2 - Problems, Fixes, Questions
« Reply #1 on: December 06, 2004, 02:34:40 pm »
Uhmm, I take 3.5.2 way from 3.3.5 too. But my problems are different:
- IRK, maybe the problem it's Hentges flavor?;
- I need hancom apps;
- My Sharp camera can't work now;

And I need some advice, please.

P.S.: With OZ 3.3.5 all apps can work btw, and the mainway flavor it's good for IRK and Sharp Camera...
[span style=\'font-size:8pt;line-height:100%\']Sharp Zaurus SL-5500
OZ 3.5.2 'Hentges'
Toshiba SD 512 mb
Danae-Elec CF 512 mb
Smc & Origo WiFi CF
Covertec red case
etc.
[/font][/span]

Hrw

  • Hero Member
  • *****
  • Posts: 1366
    • View Profile
3.5.2 - Problems, Fixes, Questions
« Reply #2 on: December 06, 2004, 04:26:48 pm »
what problem with IRK?

hancom apps can probably work with oz-compat (but hancom-sheet will give bad results)

sharp camera thing.. you need kernel module for it - grab it from older release (as it the same binary driver).
OpenZaurus 3.5.4x Release Manager
OpenEmbedded, Ångström, Poky developer
My website

Misc embedded hardware.

Shdwdrgn

  • Jr. Member
  • **
  • Posts: 92
    • View Profile
    • http://
3.5.2 - Problems, Fixes, Questions
« Reply #3 on: December 06, 2004, 04:40:57 pm »
3.5.2/Opie -- libgaim-plugins (Gaim packages installed to SD)

Gaim is expecting the protocol libraries to be found in /usr/lib/gaim.
After installing to SD, the libraries are actually stored in
/mnt/card/usr/lib/gaim/.

Correct as follows:
# ln -s /mnt/card/usr/lib/gaim/ /usr/lib/gaim

--------------------
3.5.2/Opie -- zroadmap

The ipkg is incomplete. You need to include the files "schema" and "sprites" in the install location (/opt/QtPalmtop/share/roadmap)(These files will have to be pulled from the src file -- http://roadmap.digitalomaha.net/download.html). Anyone who has tried to run zroadmap without these files in place will need to add these files, then delete the same-named files from ~/.roadmap.

The file "usdir.rdm" is required and can be downloaded at http://roadmap.digitalomaha.net/maps/usdir.rdm.tgz
The uncompressed file should be included in the same install directory.

--------------------
3.5.2/Opie -- opiemail

How did anyone get this to work?  After installation, I get the error "Could not locate application opiemail."  When trying to launch from command line, I get the error "Cannot find font definition file /usr/local/qt-embedded/lib/fonts/fontdir - is $QTDIR set correctly?"  

Any suggestions?

kclayton

  • Newbie
  • *
  • Posts: 19
    • View Profile
3.5.2 - Problems, Fixes, Questions
« Reply #4 on: December 06, 2004, 05:19:55 pm »
Quote
3.5.2/Opie -- opiemail

How did anyone get this to work?  After installation, I get the error "Could not locate application opiemail."  When trying to launch from command line, I get the error "Cannot find font definition file /usr/local/qt-embedded/lib/fonts/fontdir - is $QTDIR set correctly?"  

Any suggestions?
From konsole, what does echo $QTDIR show?  I see /opt/QtPalmtop

Did you install the service-release-1 ipk in the upgrades feed?  

Here's entry from the README in the upgrades feed

11/02/04   CoreDump   Added service release 1 for oz-opie:
               - Add QTDIR to shell environment
               - Add /o/Q/bin to $PATH
               - Add missing "devel" feed to ipkg.conf

K

Shdwdrgn

  • Jr. Member
  • **
  • Posts: 92
    • View Profile
    • http://
3.5.2 - Problems, Fixes, Questions
« Reply #5 on: December 06, 2004, 08:44:10 pm »
Service release 1?  What is this, Microsoft?  :-)

Actually, no I didn't see that.  Installed SR1, reinstalled opiemail, rebooted Z.  Still getting the same error clicking the app on the screen.  When trying to launch from command line, I now get:
: QuickLauncher invoked as: opiemail
: WARNING: Could not create application main window

Also...
# echo $QTDIR
/opt/QtPalmtop

Trying to reinstall opiemail now, but wouldn't you know it, openzaurus is down... Oh well, will try again later.

kclayton

  • Newbie
  • *
  • Posts: 19
    • View Profile
3.5.2 - Problems, Fixes, Questions
« Reply #6 on: December 06, 2004, 09:13:05 pm »
Quote
Service release 1?  What is this, Microsoft?  :-)

Actually, no I didn't see that.  Installed SR1, reinstalled opiemail, rebooted Z.  Still getting the same error clicking the app on the screen.  When trying to launch from command line, I now get:
: QuickLauncher invoked as: opiemail
: WARNING: Could not create application main window

Also...
# echo $QTDIR
/opt/QtPalmtop

Trying to reinstall opiemail now, but wouldn't you know it, openzaurus is down... Oh well, will try again later.
Heh, heh . . thought that MS comment myself.   Was just thinking . . when you installed opiemail, did it also install libetpan1 and libmailwrapper?  Those are required libs.  Did you install to SD or CF by any chance?   I installed to SD and it works fine but the GUI packagemanager runs ipkg-link for the main package its installing but not for the dependencies that it pulls down.   Saw that in a previous thread.  GUI packagemanager is improved over 3.5.1 but still has some "issues".  Maybe therapy and a true desire for self improvement . .    

So maybe at this point you need to run ipkg-link add libetpan1 and ipkg-link add libmail-wrapper0 (I think that the mail wrapper's package name).

K

Shdwdrgn

  • Jr. Member
  • **
  • Posts: 92
    • View Profile
    • http://
3.5.2 - Problems, Fixes, Questions
« Reply #7 on: December 07, 2004, 12:29:55 am »
No go... libetpan1 and libmailwrapper1 are already installed.  I tried reinstalling, maunally linked, still no luck.  

I also noticed that when trying to reinstall opie-mail, it fails for the dependancy of libqte2.  The package manager states that libqt2 is already installed, and opie-mail did NOT fail this dependancy the first time I installed it.  Trying to reinstall libqte2 fails (package not found), even though the package name remains after refreshing my package list.  I could not manually find this package in any of the feeds.

# ipkg info libqte2
Package: libqte2
Version: 2.3.7-r20
Depends: libts-0.0-0 (>= 0.0cvs20041127), libpng12-0 (>= 1.2.5+1.2.6rc5), libz1 (>= 1.2.2), libjpeg62 (>= 6b), libgcc1 (>= 3.4.2), libc6 (>= 2.3.2+cvs20040726)
Status: unknown ok installed
Architecture: collie

# ipkg-link add libqte2
*** Command: add
*** Locating package
Package "libqte2" not found.

Any other ideas?

kclayton

  • Newbie
  • *
  • Posts: 19
    • View Profile
3.5.2 - Problems, Fixes, Questions
« Reply #8 on: December 07, 2004, 01:20:13 pm »
I just recently started seeing qte dependency errors too and the package is there in my case too.    Seeing them with all installs I'm doing.  I think something is funky with the ipkg db of installed packages.  In my case, I nearly ran out of flash space and had to delete some unused packages from flash and reinstall some things to SD.  I think when I ran out of flash space I might have slightly borked ipkg's db.

Anyway, I added in the force depends option when installing and everything is installing ok for me.  Rather than installs failing, I get a warning about missing dependency on qte but I know its there so I just keep going.  All apps I've installed since I started seeing this error are running fine.

When (hah!) I get some time, I'm going to try to track down why the dependency prob.

So, I'd try to install with force-depends to get opiemail installed and then see where you are at.  Try running again at the command line and see what error is gives too if it won't start

K

CoreDump

  • Hero Member
  • *****
  • Posts: 713
    • View Profile
    • http://www.hentges.net
3.5.2 - Problems, Fixes, Questions
« Reply #9 on: December 07, 2004, 01:37:16 pm »
Quote
Service release 1? What is this, Microsoft? :-)

   Hey, at least we didn't call it ServicePack  

A suggestion for a better name is always welcome.
Regardless of what you what you call it:

- Service Pack
- Hotfix
- Service Release

every single one smells of MS.....

Just FYI: The "service" release was the only way to get those small bug fixes into the ROM.
The alternative would have been to update two OPIE core packages which isn't something
that can be done using $INSERT_FAVORITE_PACKAGEMANAGER.
Webmaster of hentges.net & Embedded Linux Developer.

Shdwdrgn

  • Jr. Member
  • **
  • Posts: 92
    • View Profile
    • http://
3.5.2 - Problems, Fixes, Questions
« Reply #10 on: December 07, 2004, 02:16:35 pm »
I did force the depends to get opiemail installed.  Also tried installed V 1.1.6 from the 3.5.1 feed.  No luck, still getting the same error messages.  I even tried editing the desktop file and putting in the full path to opiemail, but that just gives a longer error message when starting from the desktop ... "Could not locate application /opt/QtPalmtop/bin/opiemail."

Trying to start from command line gives the same results as before.  I guess my question is, why is opiemail symlinked to quicklauncher, and where does the actual application get saved to?  There has to be a real program saved somewhere on the system, and I see a large number of apps that are linked to quicklauncher, but I can't seem to find where they get saved.

[EDIT] Scratch that.. I found the applications under /opt/QtPalmtop/plugins/application/.  Looks like it's all correct, and there are several other apps in the same place which are all working.  So I'm still at a loss as to why I get the above error message.
« Last Edit: December 07, 2004, 02:27:20 pm by Shdwdrgn »

MrSquishy

  • Full Member
  • ***
  • Posts: 159
    • View Profile
    • http://
3.5.2 - Problems, Fixes, Questions
« Reply #11 on: December 07, 2004, 02:24:36 pm »
The ever helpful "It worked for me".

I didnt install the Service Release, instead I just added some lines to /etc/profile to include
PATH="(the usual +):/opt/QtPalmtop/bin"
QTDIR="/opt/QtPalmtop"

I know this doesnt help anyone at all, but opiemail installed fine for me.

kclayton

  • Newbie
  • *
  • Posts: 19
    • View Profile
3.5.2 - Problems, Fixes, Questions
« Reply #12 on: December 07, 2004, 02:49:38 pm »
Hmm . . quicklauncher is a blackbox for me.  Never have delved into how that app works and how it figures out which symlinked app is calling it.  So the other apps linked to quicklauncher are all working ok?

A bit of poking around Google found this . . maybe missing libsqlite?  Won't hurt to rule that out

From: Rajko Albrecht <ral <at> alwins-world.de>
Subject: Re: Opie-mail (opie-mail_0.5-20040310_arm.ipk) won't start?
Newsgroups: gmane.comp.handhelds.opie
Date: Sun, 14 Mar 2004 11:42:41 +0100

Am Samstag, 13. März 2004 18:53 schrieb Anssi Saari:
> # opiemail
> QuickLauncher invoked as: opiemail
> Could not create application main window
>
> What could be the problem here?

you must have following libs installed:

- libsqlite
- libmailwrapper
- libetpan

Due a dependency problem it may be, that ipkg don't resolve them and install
packages.

(Most forgot install the libsqlite)

Alwin

CoreDump

  • Hero Member
  • *****
  • Posts: 713
    • View Profile
    • http://www.hentges.net
3.5.2 - Problems, Fixes, Questions
« Reply #13 on: December 07, 2004, 03:09:25 pm »
While reading this thread I thought, maybe some of you want to try my new ROM.

It comes with a barebone OPIE install (with openssh) and offers the ability to install
a SD card "image" (cardfs).

CardFS is basically an image containing ready-to-use apps which are installed to an SD card
during the first reboot after flashing.

All dependencies were resolved during creation of the image, so all apps Just Work ™

Please note: You need an empty SD card to use it (no etc, opt, usr, bin... directories, own directories are fine and will not be touched)

Your SD card should have at least 30Mb of free space.

Go to http://hentges.net/tmp/do_not_use/ and download 3 things:

- A kernel from the "kernel" directory (a oz.org kernel won't work!)
- oz3.5.2-opie1.1.7-small_$VERSION-DE.tar.gz
- cardfs-opie-full-openzaurus_$VERSION.bin

Extract initrd.bin from oz3.5.2-opie1.1.7-small_$VERSION-DE.tar.gz and copy 3 files to your
CF card:

- zImage
- initrd.bin
- cardfs-opie-full-openzaurus_$VERSION.bin

Flash your Zaurus as usual.
On the first boot, you'll be asked if the cardfs image should be installed.
Answer "ok" to the question.

The OPIE GUI should come up after the installation has finished.
Have fun

Currently pre-installed apps are:
- Opie-Mail
- Opie-IRC
- Opie-FTP
- QPE-Gaim
- qpenmapfe
- VNC Client
- Wellenreiter
- Opie-Reader
- Opie-Eye
- XMMS
- mplayer
- ZSafe
- Shopper

In addition there are:

- 4 Games (Alien, Knights, Minesweeper and Tetris)
- All Opie PIMs
- oz-compat
Webmaster of hentges.net & Embedded Linux Developer.

JohnKiniston

  • Full Member
  • ***
  • Posts: 213
    • View Profile
    • http://
3.5.2 - Problems, Fixes, Questions
« Reply #14 on: December 08, 2004, 12:27:32 am »
Wow coredump!

This rom image is impressive, Little coloured ascii warnings even!

Couple questions, Why does it seem to generate the SSH keys twice?

Is EXT3 support for SD/MMC Cards?

Can you include a fsck binary in your image?

Is there a way to force a fsck on the SD/MMC card before you do your magic?