Author Topic: Ipkg And Segmentation Fault  (Read 4288 times)

ise

  • Newbie
  • *
  • Posts: 7
    • View Profile
    • http://
Ipkg And Segmentation Fault
« on: February 17, 2006, 03:49:21 am »
Hi,

I have a problem with ipkg. I installed several programs on my SL-5500, such as opie-reader, qpdf2, mplayer, opie-player. The installation of these programs were without problems. I installed it on the SD-Card, I formatted it before with ext2 for making symlinks. After the installation I run ipkg-link with mount /path/to/packages. Every program runs fine, no problem. But if I will install new packages, ipkg download the package and then "Segmentation fault". That's it. I know what a "Segmentation fault" is, but why does it appear. I have included the rights feed from the Ewi mirror.

Deinstallation of programs runs, there is enough space on my SD.

Have anyone a suggestion??

Thanks, Daniel

Hardware: Sl-5500 (Collie)
Software: OZ3.5.3/Opie1.2.0

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Ipkg And Segmentation Fault
« Reply #1 on: February 17, 2006, 05:34:26 am »
Quote
ipkg download the package and then "Segmentation fault".

Perhaps one of the packages you downloaded is used by ipkg (though it's odd that it can still un-install things).

Can you post some example output from trying to install something with ipkg (use the -V flag to make it more verbose)?


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

koen

  • Hero Member
  • *****
  • Posts: 1008
    • View Profile
    • http://dominion.thruhere.net/koen/cms/
Ipkg And Segmentation Fault
« Reply #2 on: February 17, 2006, 05:50:05 am »
Running out of ram is also a known cause for segfaults with ipkg
Forums are not bugtrackers!!! Smart questions
Ångström release team
iPAQ h2210, iPAQ h5550, iPAQ hx4700, Zaurus SL-C700, Nokia 770, all running some form of GPE
My blog

ise

  • Newbie
  • *
  • Posts: 7
    • View Profile
    • http://
Ipkg And Segmentation Fault
« Reply #3 on: February 17, 2006, 05:59:36 am »
Quote
Running out of ram is also a known cause for segfaults with ipkg
[div align=\"right\"][a href=\"index.php?act=findpost&pid=115142\"][{POST_SNAPBACK}][/a][/div]
After a reboot, the same error occurs....And finally after a reboot, there must be enough  RAM, I think....I have installed the zImage-collie-64-0, so I think I have enough RAM.....

I will try -V flag as soon as I'm at home. At the moment I'm at work.

Daniel

ise

  • Newbie
  • *
  • Posts: 7
    • View Profile
    • http://
Ipkg And Segmentation Fault
« Reply #4 on: February 17, 2006, 03:24:34 pm »
Now I'm at home.... I tested it with the -V flag..... I know that the "Segmentation fault" comes from the network device. No matter what I do with the network there comes a "Segmentation fault" even if I restart the network device.....I have configured it over the USB port and download the package over the docking station.

I remember that with the packages there comes a kernel modul for usb-serial. Why? I don't know. I think this isn't the right one for my kernel. I have the standard kernel from the original image installed. After some trying OPIE is not starting anymore. So I do a complete reflash of my Collie. It's not so bad, because I have it only for 3 days now, so there are not so important things on it.

But why installed ipkg a usb-serial modul if it isn't compatible??

I hope after the reflash there will be more luck in installing packages on it. I will report, if it is running....

ise

  • Newbie
  • *
  • Posts: 7
    • View Profile
    • http://
Ipkg And Segmentation Fault
« Reply #5 on: February 20, 2006, 04:22:04 am »
So, again....

I flashed my Collie and again, same errors. After installing the usbserial-module there is an segmentation fault if I use networking over USB. The usb-serial module will be automatically installed when I have the machine feed activate.

Now, I have flashed my Collie again, and I have not add the machine feed to ipkg.conf.
I need for KonquerorEmbedded, two libs from the machine feed, I think, I would download them manually and installed it manually, too.

The question is: Why installed ipkg the usb-serial modul by activating the machine feed?? And second: Why did this module "destroy" my USB netqorking from running??

Has anyone else these experiences?? Or don't use anybody USB networking??

Thanks, Daniel
« Last Edit: February 20, 2006, 04:23:28 am by ise »

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Ipkg And Segmentation Fault
« Reply #6 on: February 20, 2006, 05:08:39 am »
The usb-serial module will be installed as it's a dep for something that you've tried to install (or perhaps it's a trailing dep).

usb-serial is of no use to you afaict, I wonder what would happen if you 'ipkg remove' it then try using ipkg again...? Does it get re-installed? In fact is this module even loaded (lsmod), if it is I can't think why it would be?


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

ise

  • Newbie
  • *
  • Posts: 7
    • View Profile
    • http://
Ipkg And Segmentation Fault
« Reply #7 on: February 21, 2006, 07:16:21 am »
I only want to install xmms-embedded. As an dep there comes libstdc++. And if the machine feed is included the usb-serial modul. But if it isn't included everything installed fine.

Now, I'm using it without the machine feed....but to install KonquerorEmbedded, I need two libs from there, should I install it manually (download, and do an "ipkg bla") otherwise the usb-serial is going to install...

Or does anybody know a good browser on Zaurus?? Links to packages??

koen

  • Hero Member
  • *****
  • Posts: 1008
    • View Profile
    • http://dominion.thruhere.net/koen/cms/
Ipkg And Segmentation Fault
« Reply #8 on: February 21, 2006, 09:23:28 am »
Quote
Or does anybody know a good browser on Zaurus?? Links to packages??
[div align=\"right\"][a href=\"index.php?act=findpost&pid=115571\"][{POST_SNAPBACK}][/a][/div]

gpe-mini-browser or firefox, both should be in the feeds
Forums are not bugtrackers!!! Smart questions
Ångström release team
iPAQ h2210, iPAQ h5550, iPAQ hx4700, Zaurus SL-C700, Nokia 770, all running some form of GPE
My blog

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Ipkg And Segmentation Fault
« Reply #9 on: February 21, 2006, 11:01:49 am »
Looks like he's running Opie though...

Quote
Now, I'm using it without the machine feed....but to install KonquerorEmbedded, I need two libs from there, should I install it manually (download, and do an "ipkg bla") otherwise the usb-serial is going to install...

You could always add the machine feed and let usb-serial install, then do ipkg remove -force-depends on it to uninstall it afterwards.


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

ise

  • Newbie
  • *
  • Posts: 7
    • View Profile
    • http://
Ipkg And Segmentation Fault
« Reply #10 on: February 21, 2006, 03:59:13 pm »
I'm bit confusing now.... I installed konqueror-embedded with the machine feed activated, but there is no module anymore in the dep....

So, konqueror is installed and works fine......there was a dep break with libqte2 (my version is smaller than the required) but I force the installation and there it is. Konqueror in all his glory....

I don't know what was the solution, but now everything works.....   I'm so happy....

Thanks for all advices and thanks for that great piece of software (OE+Opie).......

Daniel