Author Topic: Hentges Post-install  (Read 3997 times)

Storm

  • Full Member
  • ***
  • Posts: 156
    • View Profile
    • http://
Hentges Post-install
« on: February 02, 2006, 05:26:23 pm »
Hey,

Back from reflashing my Zaurus (Collie) with Hentges T1 (3.5.4rc+Opie 1.2.1), I wanted to make a few observations while the experience is still fresh in my mind. There are a few issues I am encountering, which is probably due to something I got out of order.

1. sshd not starting - I installed the entire ssh suite (openssh, openssh-misc openssh-scp openssh-sftp openssh-ssh and openssh-sshd), but when I reboot, sshd is not getting started. I have to manually go into a terminal window and issue a /etc/init.d/sshd restart. S09sshd exists in /etc/rc[2345].d.

2. aqpkg not creating symlinks - I installed multiple files in multiple passes after the initial install and flash. I installed everything I needed in the devel tab on aqpkg, because there were only about 6, but in console, I installed 3 or 4 groups, because there were about 30 files. I found that a number of apps that I installed (like keyring) were not appearing on the desktop. When I attempted to find them from the konsole, I found that they were in /media/card/opt/QtPalmtop/bin, so apparently the app is not running ipkg-link. I did this by hand, but only after moving apps around tabs.

3. aqpkg appears to be installing apps, even those with missing dependencies - I launched FBReader from the feeds, and it was missing libexpat0. I thought the package manager installed dependent packages.

4. Sort utility - I have locate installed, but when I try to do an updatedb, the sort that ships in busybox doesn't like the -f option (case insensitivity). I have taken it out of the script, but that takes away some functionality.

5. Zaurus only makes USB network connection a few times - If I put my Zaurus on the cradle (I bought one for work, since they use a non-Linux-friendly Cisco vpn concentrator), and about every third time, my laptop will tell me

SIOCSIFADDR: No such device
usb0: ERROR while getting interface flags: No such device

at which point, I have to reboot the Z. Three times today, so far.

6. setting up ssh-agent under Opie - I installed opie-sshkeys, but is there a way to get the agent running as a parent of opie? I can look at the startup scripts, but I figured I would ask since I was composing this...

7. Audio problems - Both mplayer and xmms fail. mplayer goes straight to segmentation fault. xmms gives me a possible qt error:

Code: [Select]
Processing plugin: /opt/QtPalmtop/lib/xmms/Output/liboss.so
Found oplugin
Processing plugin: /opt/QtPalmtop/lib/xmms/Input/libmplayer.so
Found iplugin
Processing plugin: /opt/QtPalmtop/lib/xmms/Input/libwav.so
Found iplugin
Processing plugin: /opt/QtPalmtop/lib/xmms/Input/libmikmod.so
Found iplugin
Processing plugin: /opt/QtPalmtop/lib/xmms/Input/libshorten.so
Found iplugin
Processing plugin: /opt/QtPalmtop/lib/xmms/Input/libxmms-mad.so
Found iplugin
Processing plugin: /opt/QtPalmtop/lib/xmms/Input/libxmms-sid.so
Found iplugin
Processing plugin: /opt/QtPalmtop/lib/xmms/Input/libfixpvorbisplugin.so
Found iplugin
Processing plugin: /opt/QtPalmtop/lib/xmms/General/libQPEgui.so
Found generalplugin
Processing OSS Driver 1.2.7
Will crash?
not here
-----------------------OSS INIT
bs: 3,176400
Allocating memory soon! 529200 bytes
Allocating memory! 529200 bytes
OK! prebuf: 40a8e008 5292
Processing Qtopia gui for XMMS 3.1.2
QPE init started
Internal bps 176400
STEP 2048
SONGSPLAYED in open = 0
Opened !

Segmentation fault

You've probably found a bug in Qtopia, please visit
http://www.trolltech.com and fill out a bug report.:)


Coredump? Anyone seen anything like these?

Thanks,
--Storm
« Last Edit: February 03, 2006, 12:43:19 am by Storm »
Zaurus SL-5500/Hentges OZ 3.5.4.1
Ambicom WL1100-CF wireless card
Desktop: Debian/GNU Linux (unstable)

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Hentges Post-install
« Reply #1 on: February 03, 2006, 06:53:29 am »
Quote
1. sshd not starting - I installed the entire ssh suite (openssh, openssh-misc openssh-scp openssh-sftp openssh-ssh and openssh-sshd), but when I reboot, sshd is not getting started. I have to manually go into a terminal window and issue a /etc/init.d/sshd restart. S09sshd exists in /etc/rc[2345].d.

Check this is not after the opie start-up script (which never returns iirc).

Quote
2. aqpkg not creating symlinks - I installed multiple files in multiple passes after the initial install and flash. I installed everything I needed in the devel tab on aqpkg, because there were only about 6, but in console, I installed 3 or 4 groups, because there were about 30 files. I found that a number of apps that I installed (like keyring) were not appearing on the desktop. When I attempted to find them from the konsole, I found that they were in /media/card/opt/QtPalmtop/bin, so apparently the app is not running ipkg-link. I did this by hand, but only after moving apps around tabs.

3. aqpkg appears to be installing apps, even those with missing dependencies - I launched FBReader from the feeds, and it was missing libexpat0. I thought the package manager installed dependent packages.

aqpkg is buggy. I'd recommend using ipkg from the command line. With that said, take a look at the settings that aqpkg calls ipkg with - it may be set to ignore deps.

Quote
4. Sort utility - I have locate installed, but when I try to do an updatedb, the sort that ships in busybox doesn't like the -f option (case insensitivity). I have taken it out of the script, but that takes away some functionality.

I guess this is a busybox problem. You'll either have to patch busybox (or complain to them), or install a separate version of locate and its associated programs.

Quote
5. Zaurus only makes USB network connection a few times - If I put my Zaurus on the cradle (I bought one for work, since they use a non-Linux-friendly Cisco vpn concentrator), and about every third time, my laptop will tell me

Hmm, usb can be buggy (mainly due to the driver implementation from Sharp I think). Try looking for my start_net.sh script and run this rather than rebooting.

Quote
7. Audio problems - Both mplayer and xmms fail. mplayer goes straight to segmentation fault. xmms gives me a possible qt error:

Interesting. Are these current versions from the oz feed? Does mplayer spit out any info before it crashes if you use a verbose switch?


Si
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva

CoreDump

  • Hero Member
  • *****
  • Posts: 713
    • View Profile
    • http://www.hentges.net
Hentges Post-install
« Reply #2 on: February 03, 2006, 07:22:31 am »
I had written a lenghty respone to this. However, it helps to actually *post* it before you close the window heh.

Lardman summed it up pretty much.
Webmaster of hentges.net & Embedded Linux Developer.

Storm

  • Full Member
  • ***
  • Posts: 156
    • View Profile
    • http://
Hentges Post-install
« Reply #3 on: February 03, 2006, 01:35:32 pm »
Quote
Quote
1. sshd not starting - I installed the entire ssh suite (openssh, openssh-misc openssh-scp openssh-sftp openssh-ssh and openssh-sshd), but when I reboot, sshd is not getting started. I have to manually go into a terminal window and issue a /etc/init.d/sshd restart. S09sshd exists in /etc/rc[2345].d.

Check this is not after the opie start-up script (which never returns iirc).

Its not. In fact, sshd is the first thing to start up in rc5.d (S09sshd) and opie is the second to last (S99opie).

Quote
Quote
2. aqpkg not creating symlinks - I installed multiple files in multiple passes after the initial install and flash. I installed everything I needed in the devel tab on aqpkg, because there were only about 6, but in console, I installed 3 or 4 groups, because there were about 30 files. I found that a number of apps that I installed (like keyring) were not appearing on the desktop. When I attempted to find them from the konsole, I found that they were in /media/card/opt/QtPalmtop/bin, so apparently the app is not running ipkg-link. I did this by hand, but only after moving apps around tabs.

3. aqpkg appears to be installing apps, even those with missing dependencies - I launched FBReader from the feeds, and it was missing libexpat0. I thought the package manager installed dependent packages.

aqpkg is buggy. I'd recommend using ipkg from the command line. With that said, take a look at the settings that aqpkg calls ipkg with - it may be set to ignore deps.

I was using aqpkg because more often than not, I would forget the -d sd option and fill up the internal flash.  Seriously, I don't recall having a problem with aqpkg in earlier versions, but I will move [back] to the command line.

Quote
Quote
4. Sort utility - I have locate installed, but when I try to do an updatedb, the sort that ships in busybox doesn't like the -f option (case insensitivity). I have taken it out of the script, but that takes away some functionality.

I guess this is a busybox problem. You'll either have to patch busybox (or complain to them), or install a separate version of locate and its associated programs.

It is a busybox problem. Since the tools in busybox aren't GNU standard, they are sometimes missing options. I have replaced a good number of them (tar, find, etc), and have just installed coreutils.

Quote
Quote
5. Zaurus only makes USB network connection a few times - If I put my Zaurus on the cradle (I bought one for work, since they use a non-Linux-friendly Cisco vpn concentrator), and about every third time, my laptop will tell me

Hmm, usb can be buggy (mainly due to the driver implementation from Sharp I think). Try looking for my start_net.sh script and run this rather than rebooting.

I just downloaded usb-storage_1.0.0_OZ_SA_arm.ipk. Is this the latest version?

Quote
Quote
7. Audio problems - Both mplayer and xmms fail. mplayer goes straight to segmentation fault. xmms gives me a possible qt error:

Interesting. Are these current versions from the oz feed? Does mplayer spit out any info before it crashes if you use a verbose switch?

Not a peep. Just straight into a segfault:

Code: [Select]
root@chaffee:~# mplayer -v Documents/Video/Strike-on-Koksan-Act1b.ogm
Segmentation fault

In my copious free time, I reflashed and before I installed anything (except bash), I tried running a video. While I didn't have any headphones handy, mplayer did not segfault. Most, with the exception of about half a dozen apps (e.g. openvpn, otpkeygen, opera, opie-nethack, etc) were from the feeds. For the time being, I'm installing packages one or two at a time, using the command line, and testing the mmedia apps on occasion.

--Storm
« Last Edit: February 03, 2006, 04:47:03 pm by Storm »
Zaurus SL-5500/Hentges OZ 3.5.4.1
Ambicom WL1100-CF wireless card
Desktop: Debian/GNU Linux (unstable)

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Hentges Post-install
« Reply #4 on: February 06, 2006, 06:51:16 am »
Quote
Its not. In fact, sshd is the first thing to start up in rc5.d (S09sshd) and opie is the second to last (S99opie).

Hmm, I don't know then - I imagine '/etc/init.d/sshd start' works. I think you may have to do some debugging of the S09sshd script to see why it's failing.

Quote
I was using aqpkg because more often than not, I would forget the -d sd option and fill up the internal flash. smile.gif Seriously, I don't recall having a problem with aqpkg in earlier versions, but I will move [back] to the command line.

The issue with aqpkg is a memory leak iirc, this only causes problems if you install a lot of ipks all at once. Stick with aqpkg but look at its current options (that it sends to ipkg).

Quote
I just downloaded usb-storage_1.0.0_OZ_SA_arm.ipk. Is this the latest version?

Yes, that should work fine, but you may need to edit the start_net.sh script so that it unloads the net related modules (look at the start of the start_storage.sh script) and then reloads them. If you do a search of the forum you'll find the script written out in full - it may be easier to copy this across rather than installing the mass storage stuff if you don't need it.

Quote
Not a peep. Just straight into a segfault:

I fear you may have to do battle with strace, gdb, etc. unless you can track it down using your re-installation method. Do let us know what you find.


Si

P.S. Have you searched for forum for "mplayer and ogg"? I seem to remember there being problems with ogg with some or other media player (though as I don't use ogg I didn't pay much attention I'm afraid).
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva

CoreDump

  • Hero Member
  • *****
  • Posts: 713
    • View Profile
    • http://www.hentges.net
Hentges Post-install
« Reply #5 on: February 06, 2006, 11:58:06 am »
Oh well, here comes my reply.

Quote
1. sshd not starting

I have verified basic openssh-functionality during testing.

Quote
- I installed the entire ssh suite (openssh, openssh-misc openssh-scp openssh-sftp openssh-ssh and openssh-sshd), but when I reboot, sshd is not getting started. I have to manually go into a terminal window and issue a /etc/init.d/sshd restart. S09sshd exists in /etc/rc[2345].d.

openssh is installed in the default image. It might be that the 3.5.3 binaries just don't work in a 3.5.4 environment. I can't possibly tell as it works out of the box right after installation.

Quote
2. aqpkg not creating symlinks - I installed multiple files in multiple passes after the initial install and flash. I installed everything I needed in the devel tab on aqpkg, because there were only about 6, but in console, I installed 3 or 4 groups, because there were about 30 files. I found that a number of apps that I installed (like keyring) were not appearing on the desktop. When I attempted to find them from the konsole, I found that they were in /media/card/opt/QtPalmtop/bin, so apparently the app is not running ipkg-link. I did this by hand, but only after moving apps around tabs.

Yes, aqpkg sucks. And yes, it has many bugs. But at this time there just isn't any alternative to this old
and unmaintained program. The new opie-pm looks great but don't try to install more than 4 ipk's at once....it will freeze your Zaurus. That is not acceptable in a release in my book. opie-pm has some very interesting features but the crash bug makes it unusable.

Quote
3. aqpkg appears to be installing apps, even those with missing dependencies - I launched FBReader from the feeds, and it was missing libexpat0. I thought the package manager installed dependent packages.
No it doesn't. The only time this can happen is when one dependency fails on postinst / install / download / whatever. This is a bug in ipkg which I can't do anything about.

Quote
4. Sort utility - I have locate installed, but when I try to do an updatedb, the sort that ships in busybox doesn't like the -f option (case insensitivity). I have taken it out of the script, but that takes away some functionality.

I hope you have reported thisproblem on the Opie bugtracker? You gotta make allowances for this small sized busybox tools. You have no idea how many times I cursed BB for not implementing some option in some tool  

Quote
5. Zaurus only makes USB network connection a few times - If I put my Zaurus on the cradle (I bought one for work, since they use a non-Linux-friendly Cisco vpn concentrator), and about every third time, my laptop will tell me

SIOCSIFADDR: No such device
usb0: ERROR while getting interface flags: No such device

at which point, I have to reboot the Z. Three times today, so far.

Sounds like the old USB-dies-on-suspend bug?

Quote
6. setting up ssh-agent under Opie - I installed opie-sshkeys, but is there a way to get the agent running as a parent of opie? I can look at the startup scripts, but I figured I would ask since I was composing this...

While I do not use this feature, I believe the agent is (or was) started in /etc/init.d/opie

Quote
7. Audio problems - Both mplayer and xmms fail. mplayer goes straight to segmentation fault. xmms gives me a possible qt error:

I'll check xmms and report back
Webmaster of hentges.net & Embedded Linux Developer.

Storm

  • Full Member
  • ***
  • Posts: 156
    • View Profile
    • http://
Hentges Post-install
« Reply #6 on: February 07, 2006, 07:20:02 pm »
Quote
Oh well, here comes my reply.

I have verified basic openssh-functionality during testing.

openssh is installed in the default image. It might be that the 3.5.3 binaries just don't work in a 3.5.4 environment. I can't possibly tell as it works out of the box right after installation.

Agreed. It did work, And it worked up to about a day ago. I installed fbvnc server, so I suspect that may be the cause. I just removed the vnc server since it was not working correctly. I will see if sshd starts up when I get home.

Quote
Yes, aqpkg sucks. And yes, it has many bugs. But at this time there just isn't any alternative to this old
and unmaintained program. The new opie-pm looks great but don't try to install more than 4 ipk's at once....it will freeze your Zaurus. That is not acceptable in a release in my book. opie-pm has some very interesting features but the crash bug makes it unusable.

I think that I was probably installing too many at once. I should have learned that from the 3.5.3 install...

Quote
I hope you have reported thisproblem on the Opie bugtracker? You gotta make allowances for this small sized busybox tools. You have no idea how many times I cursed BB for not implementing some option in some tool 

Yeah, I would like to replace all the functionality of busybox, but when I install coreutils, it doesn't find /bin/[, and nothing works after that.

Quote
Sounds like the old USB-dies-on-suspend bug?

I tried installing lardman's usb-storage scripts, but it fails on the preinst with

cp: /etc/usbcontrol: No such file or directory
cp: /etc/rc.d/init.d/usb: No such file or directory


Quote
While I do not use this feature, I believe the agent is (or was) started in /etc/init.d/opie

I modified the start script (the only place it was setting ssh-agent was in starting qpeqq

Quote
I'll check xmms and report back
[div align=\"right\"][a href=\"index.php?act=findpost&pid=113849\"][{POST_SNAPBACK}][/a][/div]


It appears to be something I installed the first go round. xmms works fine as does mplayer.

--Storm
Zaurus SL-5500/Hentges OZ 3.5.4.1
Ambicom WL1100-CF wireless card
Desktop: Debian/GNU Linux (unstable)