Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - bladerunner

Pages: [1] 2
1
Angstrom & OpenZaurus / Trying To Build Oz 3.5.4 For Collie
« on: March 30, 2006, 03:53:05 pm »
Thanks. I can now build the packages OK although I have not tested them.

I have updated the WiKi GettingStarted and created a new page LocalConfExamples

I suggest the LocalConfExamples page is used to show example configurations and to explain how the local.conf files works.

2
Angstrom & OpenZaurus / Trying To Build Oz 3.5.4 For Collie
« on: March 28, 2006, 01:10:44 am »
Thanks koen, I've found the example local.conf.openzaurus-3.5.4 , I was using the dev branch ( I'm new to this ).

Unfortunately, local.conf.openzaurus-3.5.4 does not help as it does not contain ASSUME_PROVIDED += "virtual/arm-linux-gcc-2.95". Is the WiKi correct ?

Please can someone post a working local.conf for collie or provide instructions to get the arm-linux-gcc-2.95 toolchain to be used by local.conf. The WiKi fails to explain why the rename is required, perhaps I'm looking at the wrong WiKi page or misunderstood something? Any suggestions ?

Also, what are the valid strings for DISTRO and DISTRO_VERSION for OZ 3.5.4 ?
Is DISTRO = "openzaurus-3.5.4" correct with no DISTRO_VERSION specified ?

Is it just me ?  

Thanks.

3
Angstrom & OpenZaurus / Trying To Build Oz 3.5.4 For Collie
« on: March 27, 2006, 04:32:57 pm »
Quote
Quote
Please can someone post a working local.conf for the collie. It may help others as well.   
[div align=\"right\"][a href=\"index.php?act=findpost&pid=120539\"][{POST_SNAPBACK}][/a][/div]

The local.conf.openzaurus-3.5.4 should work (once renamed to local.conf), since that's the file hrw uses to build OZ.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=120547\"][{POST_SNAPBACK}][/a][/div]

Thanks. However, I can't seem to find it.  
Please can you tell me the location of local.conf.openzaurus-3.5.4 or post a copy of it ?

4
Quote
I just set my brackground settings to gradient to 'fix' the problem. hth
[div align=\"right\"][a href=\"index.php?act=findpost&pid=120215\"][{POST_SNAPBACK}][/a][/div]

Thanks, that worked!! I've raised a bug report as well.

5
Angstrom & OpenZaurus / Trying To Build Oz 3.5.4 For Collie
« on: March 27, 2006, 03:53:12 pm »
I'm trying to build OZ 3.5.4 for collie for myself but I'm having trouble following the example local.conf.   Is it just me ?  

I installed the ARM cross-compiler on my Linux PC and that works because I can create a hello world program and run it on my collie ( with OZ 3.5.4 installed ).

The build error I'm getting is related to not finding the right compiler...

| checking for arm-linux-gcc... arm-linux-gcc -march=armv4 -mtune=xscale
| checking for C compiler default output file name... configure: error: C compiler cannot create executables

... it seems to try to run arm-linux-gcc and fail, not surprising as the WiKi said rename the compiler to arm-linux-gcc-2.95. Perhaps configure is supposed to try another compiler before failing ??

So I think I'm a bit confused with the ASSUMED_PROVIDED and PREFERRED_PROVIDERS settings in local.conf.

Please can someone post a working local.conf for the collie. It may help others as well.  

Thanks.

6
I'm running OZ 3.5.4 on a Collie using GPE. It appears that the highlight colour on a selected icon is too dark so that the icon text cannot be read.    Unselected icons are OK.

If I export the window manager to my PC desktop then the icon text is black, on the Z the icon text is white. On the PC I can highlight the icon using cursor keys and the highlight is OK with white icon text on a black highlight box. So it seems that on the Z LCD the wrong colours are being used for icon text. In other words the highlight should be white text on a black box but I get black text on a black box !!  

Any suggestions on working around this ?

Thanks.

7
Angstrom & OpenZaurus / Issues With Using 3.5.3 On A Sl5500 Collie
« on: May 17, 2005, 07:41:42 am »
Why are you adding symlinks ? I think this is unnecessary.

Just edit /etc/ipkg.conf and set the media destinations paths. Remove entries for unused media eg. cf . Make sure there is an entry for root destination otherwise libc6 will bite you when it tries to link via ipkg-link.

Also, ipkg seems to default to installing to root unless root is not the first destination listed in the ipkg.conf file or the destination is selected on the command line.

Once a package is installed, make sure you run ipkg-link mount < path to SD card packages >. Otherwise the packages will not be accessible.


Quote
Thanks,

But if I understand you correctly, it still doesn't work.

I reflash and restart. When it gets to "starting opie in 5 seconds", I strike a key so Opie never gets a chance to start. Use "root" as the collie login. Now I can remove directory /usr/lib/ipkg/lists and soft link it to a directory on card1 (ext2). I also create softlink /mnt/card1 -> /media/card1 for completeness.

Now no form of "ipkg remove libqte2" works (using -t /media/card1 or -force-depends or both). At best, it says "Nothing to do". At worst, it spits out the help at me.

So I try inserting the cf ethernet and "ipkg install libqte2" (in various combinations). Since it can find the updated package lists on card1, it gives it a go. Then either it emits all sorts of errors or it hangs forever.

One of the interesting error messages is "ipkg_conf_write_status_files: Can't open status file: /media/cf/packages//usr/lib/ipkg/status for writing: No space left on device". Why is it trying to use the (missing) cf card and what do the pair of slashes in the middle mean? Is there some place I can put another soft link?

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

8
Angstrom & OpenZaurus / Issues With Using 3.5.3 On A Sl5500 Collie
« on: May 12, 2005, 02:27:08 pm »
OZ 3.5.3
GPE 64-0
Collie

A tip to avoid corrupting the root partition. I found this out by trying to install gcc and it ran out of space !! I managed to manually delete the gcc stuff to return the root partition back to it's former self.

I modified ipkg.conf and moved the dest line for SD above the dest line for root. I found that ipkg now defaulted to the SD card so the root partition is now safe from missing out the destination option when using ipkg.

bladerunner

9
Angstrom & OpenZaurus / Issues With Using 3.5.3 On A Sl5500 Collie
« on: May 12, 2005, 02:19:48 pm »
OZ 3.5.3
GPE
Collie

I found that logging in with ssh using a user account and then su to root causes the PATH environmental variable not to be set correctly for root's environment. Therefore, using ipkg did not work as ipkg was not found.

Instead I use "shh -l root 192.168.129.201" to login to a root session via USB.

I use a 256MB SD card split into 2 128MB primary ext2 partitions. I use 1 partition for installing packages and the other for holding my user files. It auto mounts OK, no problems.

Also, I mount NFS shares off my Mandrake 10.1 Linux PC onto my Zaurus. This allows me to backup files onto my desktop PC and also to play MP3 files off my PC. I also use WiFi with my Zaurus.

I am having trouble getting USB to work reliably at the lower layers. eg. fails to allocate a USB  address or fails to read the confiiguration info out of the Zaurus.

I note that using USB 1.1 host ( PC ) ports, is much more reliable than USB 2.0 host ( PC ) ports. However, each time I suspend the Zaurus and resume, the USB fails to get an address and I have to reload the USB kernel modules after each resume using a shell script. I have not done the apm_bios change. Would this change help me ?

Also, I can't get USB to work with my Zaurus using Mandriva Linux 2005 LE but is OK with Mandrake 10.1 on the same hardware ( I have to do some workarounds though ).

bladerunner

10
Angstrom & OpenZaurus / Oz 3.5.3 Bug List
« on: May 09, 2005, 12:42:04 pm »
I installed a package which for some reason required libc6 to be installed. The libc6 version on the SD card is the same as the libc6 version installed as root.

In ipkg.conf I commented out all destinations except the SD card. Is this a mistake by me ?

Anyway, I think ipkg-link should contain definesive code to prevent libc6 being linked by default. Otherwise the system becomes trashed.

bladerunner

Quote
Don't try to upgrade libc.

If you need to do this something is wrong (and something will go wrong as you've seen).


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

11
Angstrom & OpenZaurus / Oz 3.5.3 Bug List
« on: May 07, 2005, 06:15:24 pm »
Sl-5500/Collie
3.5.3
GPE

***** WARNING REFLASH REQUIRED *****
Watch out for installing libc6 onto a SD card ( CF card also affected but not confirmed )

When "ipkg-link mount /media/card/packages" is used to link from the SD card after installing a package everything goes OK until libc6 is attempted to be linked. The rug is pulled from under the system's nose and errors concerning the shared library libc.so.6 are everywhere. "ls" no longer works and the system is badly broken.

A reflash of the system fixes it. Clearly the symlinks for libc6 have badly gone wrong.

WORKAROUND ...

Modify the sh shell script /usr/bin/ipkg-link as follows
<snip>
list () {
        filelist=""
        files=`ls -1 $LOCATION/usr/lib/ipkg/info/*.list`
        for filename in $files; do
                filename=${filename##*/}
                filename=${filename%%.list}
                if [ $filename != "libc6" ]; then
                        filelist="$filelist $filename"
                else
                        echo "*** WARNING: libc6 detected and ignored ***"
                fi
        done
}
<snip>

This workaround causes libc6 to be ignored. So far, ipkg-link mount now works OK for me.

I hope this helps someone and saves a reflash or 2.
bladerunner

Quote
A mighty, showstopping, life-destroying problem:

SL-5500/Collie
3.5.3
Opie
All upgrades as at April 27.
________________________________
DESCRIPTION OF THE BUG(s) :
(bugtracker where bug is reported and bugnumber)

I haven't reported it yet, as I can't seem to get into the OE bugtracker at the moment.

Some time after flashing with 3.5.3, between an hour or most of a week, `ln -s` will suddenly stop working properly, preventing manual commands or ipkg-link from working. If using opie-packagemanager, ipkg-link seems to be called with `mount`, thereby destroying all packages on that media, ram or SD. installations to root will also fail.

Details: `ln -s` will create a link to itself. Example (edited for legibility):
  $ ln -s /media/card/etc/rsyncd.conf /etc/rsyncd.conf
  $ ls -l /etc/rsyncd.conf
  $ /etc/rsyncd.conf -> /etc/rsyncd.conf

Also, ipkg-install -dest root <package> will result in all files in <package> being replaced with symlinks to themselves. Thereby rendering them useless.

This will start occuring with any usage of `ln` or `ipkg-link` at a random time,  without any rhyme or reason that I can determine and without ever reverting to correct behaviour.

________________________________
SOLUTION (if found) :

No idea. Help!

Suggestion: Is it possible to make opie-advancedfm show symlinks that don't point to a valid destination? At the moment, messing around with the command line (although faster and easier for me anyway) is the only way to find redundant symlinks that may be upsetting ipkg-link or explaining program failures.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=77807\"][{POST_SNAPBACK}][/a][/div]

12
6000 - Tosa / Iptables On 6000
« on: January 26, 2005, 03:53:51 pm »
It looks like the iptable_filter.o module is not being loaded.

If you do insmod iptable_filter then it should now work. This is only temporary.

You should have both ip_tables and iptable_filter modules loaded. It appears that iptables -L loads ip_tables OK but fails to load the other module.

You can make iptable_filter load up when ip_tables is loaded by doing the following:

I tried on the SL-5500. Make a new file in /etc/modutils/ called iptables.conf
In iptables.conf insert the text above ip_tables iptable_filter press carriage return at the end of line.

Run update_modules and the new text should appear in /etc/modules.conf.

I ran depmod -a but I don't think it is needed.

now iptables should work, at least the error should go away. You may need to do rmmod ip_tables to remove the module before running iptables -L. Otherwise loading iptable_filter may not be triggered.

13
General Discussion / Sl-5500 How To Move Root To Sd Card
« on: January 15, 2005, 06:06:31 pm »
Try

http://openembedded.org/oe_wiki/index.php/...ot%20filesystem

Note: when the howto at the start says stop sdmgr, do not do it at this stage. Follow the instructions to remove the sdmgr scripts from the rc directories on the SD card. Otherwise the SD card does not mount when you are trying the next instruction.

Also make sure you SD card has primary ext2 partitons. eg. do use extended partitions. I used my Linux box to partition and format the SD card. eg. fdisk and mke2fs.

Note: If you boot up without the SD card then the installed file system will be used as normal.

14
Angstrom & OpenZaurus / Usb Broken Sl5500 With Oz 3.5.2
« on: January 15, 2005, 05:47:18 pm »
Thanks for your reply. I think your solution is simpler !!

I got it working. The problem was that usbnet was not being loaded by hotplug. There was a line in usb.agent which was setting $MODPRODE to : Commented out the line out and now usbnet is loaded via hotplug.functions. $MODPRODE is defined in hotplug.functions but was being oerrirden by usb.agent.

I created a file /etc/hotplug/usb/Zaurus.usermap which contains the usbnet to product code mapping. Perhaps I am defining this is the wrong file ?
# Zaurus
usbnet               0x0003      0x04dd   0x8004    0x0000       0x0000       0x02         0x00            0x00            0xff            0x01               0x00               0x00000000

I also have ifcfg_usb0 in /etc/sysconfig/network-scripts which contains the IP address info. eg.

DEVICE=usb0
BOOTPROTO=static
IPADDR=192.168.129.1
NETMASK=255.255.255.0
NETWORK=192.168.1.0
BROADCAST=192.168.129.255
ONBOOT=yes

and in /etc/modules.conf
alias usb0 usbnet

So there appears to be multiple ways of setting up usb0.

15
Angstrom & OpenZaurus / Usb Broken Sl5500 With Oz 3.5.2
« on: January 15, 2005, 01:38:30 pm »
I rebooted my Linux PC into Mandrake 9.1 and the Zaurus now connects via USB and I can use shh OK.

So the problem appears to be related with Mandrake 10.1 settings for USB.

Is anyone using Mandrake 10.1 ? How did you configure the USB settings ? Thanks.

Pages: [1] 2