PDA

View Full Version : ipkg problems



hejira
29-05-2005, 18:14
Hello,

I'm having a bit of a problem with the ipkg package management system. The problem is that I'm not able to install a whole bunch of packages (e.g. nano, thttp and many others) because whenever I'm trying to do so my wl-500g crashes completely and I'm loosing the SSH connection in the middle of the process. Obviously somehow the wl-500g seems to be extremely overwhelmed for quite some time (e.g it doesn't route any internet traffic to or from the clients in my LAN and I'm not able to ping it). After 5 minutes or so it suddenly comes partially back so that I'm at least able to telnet to the router and reboot it which always cures the symptoms described above. Does anybody observe a similar behavior and how could I possibly work around it? I'm using Oleg's latest 1.9.2.7-5a with an ext2 file located on an USB stick and mounted to /opt which contains the ipkg files.

As always, any help would be appreciated...

Muffe
29-05-2005, 18:25
I have exactly the same setup (1.9.2.7-5a with ext3 on a USB stick mounted to /opt) and have exactly the same problems. The unit hangs when I try to install nano (i haven't tried anyhing else), and needs a reboot before it works again.

I cant find anything intresting in syslog either...

Jean-Fabrice
29-05-2005, 21:28
afaik ipkg needs a large amount of free memory.
Have you tried killing some processes before running ipkg ?
Do you have a swap partition ?

How much free memory do you have ? (running 'free' command and/or 'cat /proc/meminfo' )

JF

macsat
29-05-2005, 21:45
As JF says, check with free..

But do consider to make a small swap partition anyway. When running applications like editors, web servers and so on, the router likes to have a bit more memory than the 16 (or 32 for deluxe) MB that ships with. A swap partition will definately increase stability of your system...

hejira
30-05-2005, 08:08
Thanks a lot! Setting up a swap partition did do the trick!! There's still this mysterious segmentation fault every now and then but I think I can live with this...

macsat
30-05-2005, 08:24
Hi

I actuately got rid of the segmentation fault by upgrading to latest ipkg


ipkg install ipkg

Jean-Fabrice
30-05-2005, 09:34
be sure to backup your /opt/etc/ipkg.conf before updating ipkg

BTW, Oleg, would you mind putting the last ipkg package in your feeds ? It caused a lot of troubles in unslung :(

JF

Oleg
30-05-2005, 09:40
Ok, will do.

Jean-Fabrice
30-05-2005, 10:00
Ok, will do.
Thank you very much Oleg. And sorry for the trouble I made.