All times are UTC-06:00




Post new topic  Reply to topic  [ 4 posts ] 
Author Message
 Post subject: gnueabihf issues
PostPosted: Sat Jun 11, 2011 6:25 pm 
Offline

Joined: Thu Oct 19, 2006 7:19 am
Posts: 271
Location: Italy/Greece
i've a working gnueabihf system and it seems to be enough stable.

I experimented these issues:

file-5.07 output

root@efikamx:/mnt/DEVEL# file mio
mio: DOS-executable (
root@efikamx:/mnt/DEVEL# md5sum mio
ba52d7e6f0c41a7bcaf49a216864e34a mio

instead it should be..

acrux@killer:~$ file mio
mio: Linux rev 1.0 ext2 filesystem data
acrux@killer:~$ md5sum mio
ba52d7e6f0c41a7bcaf49a216864e34a mio


and also alsa-utils segfaults.
Are there similar experiences? Patches available?

_________________
acrux _at_ linuxmail _dot_ org


Top
   
 Post subject: Re: gnueabihf issues
PostPosted: Sun Jun 12, 2011 12:27 am 
Offline

Joined: Wed Oct 13, 2004 7:26 am
Posts: 348
Quote:
i've a working gnueabihf system and it seems to be enough stable.

I experimented these issues:

file-5.07 output

root@efikamx:/mnt/DEVEL# file mio
mio: DOS-executable (
root@efikamx:/mnt/DEVEL# md5sum mio
ba52d7e6f0c41a7bcaf49a216864e34a mio

instead it should be..

acrux@killer:~$ file mio
mio: Linux rev 1.0 ext2 filesystem data
acrux@killer:~$ md5sum mio
ba52d7e6f0c41a7bcaf49a216864e34a mio


and also alsa-utils segfaults.
Are there similar experiences? Patches available?
No idea how/why this is happening, but I would suggest looking at the debian gcc-4.{4,5,6} and binutils packages, as well as the eglibc one, and checking for patches relevant to linaro/hardfloat patches.

Haven't seen those errors at all, to be honest, I do get the occasional segfaults, but only during compilation.


Top
   
 Post subject:
PostPosted: Sun Jun 12, 2011 5:12 am 
Offline

Joined: Thu Oct 19, 2006 7:19 am
Posts: 271
Location: Italy/Greece
just now noticed the same wrong file-5.07's output on PowerPC for this specific file type. Well, i'm obliged to investigate and/or bug report.

About alsa-utils segfault i'm still in trouble.
Anyway, thanks for your suggestion. I'll take a look for debian sources.

_________________
acrux _at_ linuxmail _dot_ org


Top
   
 Post subject:
PostPosted: Mon Jun 13, 2011 6:44 am 
Offline

Joined: Thu Oct 19, 2006 7:19 am
Posts: 271
Location: Italy/Greece
this fixed my issue (on PowerPC too).
root@efikamx:/usr/ports/arm/core/file# file /mnt/DEVEL/mio
/mnt/DEVEL/mio: Linux rev 1.0 ext2 filesystem data, UUID=57143839-9949-4b9d-8c45-9adf47b01c4d

Code:
From 19f5096d0b4c1a49af6cc4e0d086d6128c493bd8 Mon Sep 17 00:00:00 2001
From: Christos Zoulas <christos@zoulas.com>
Date: Wed, 18 May 2011 18:11:23 +0000
Subject: [PATCH] Fixed 0 file problem.

---
magic/Magdir/msdos | 11 ++++++-----
1 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/magic/Magdir/msdos b/magic/Magdir/msdos
index 731d50b..f8852cb 100644
--- a/magic/Magdir/msdos
+++ b/magic/Magdir/msdos
@@ -389,10 +389,11 @@
>>4 uleshort&0x4842 >0 \bsupport
>0 ubyte x \b)
# DOS driver cmd640x.sys has 0x12 instead of 0xffffffff for pointer field to next device header
-0 ulequad&0x000007a0ffffffed 0x0000000000000000 DOS-executable (
->4 uleshort&0x8000 0x8000 \bcharacter device driver
->>10 string x %-.8s
->4 uleshort&0x4000 0x4000 \b,control strings-support)
+# Too weak, matches files that only contain 0's
+#0 ulequad&0x000007a0ffffffed 0x0000000000000000 DOS-executable (
+#>4 uleshort&0x8000 0x8000 \bcharacter device driver
+#>>10 string x %-.8s
+#>4 uleshort&0x4000 0x4000 \b,control strings-support)

# test too generic ?
0 byte 0x8c DOS executable (COM)
--
1.7.4.1

_________________
acrux _at_ linuxmail _dot_ org


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 4 posts ] 

All times are UTC-06:00


Who is online

Users browsing this forum: No registered users and 13 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron
PowerDeveloper.org: Copyright © 2004-2012, Genesi USA, Inc. The Power Architecture and Power.org wordmarks and the Power and Power.org logos and related marks are trademarks and service marks licensed by Power.org.
All other names and trademarks used are property of their respective owners. Privacy Policy
Powered by phpBB® Forum Software © phpBB Group