|
From: Anibal A. <deb...@gm...> - 2007-04-30 13:39:30
|
Hi Alex. Thanks for the answer. On 4/28/07, alex <ag...@us...> wrote: > Hi Anibal, > > Can you provide more information please: > > 1) output of "modinfo coff/binfmt_coff.ko"; The output is: For the kernel that is working: modinfo binfmt_coff filename: /lib/modules/2.4.20-4GB/kernel/fs/binfmt_coff.o description: "Support for the SVR3 COFF binary format" author: "Al Longyear, Christoph Hellwig" license: "GPL" For the kernel is not working 2.6.x (whatever), I always compiled them as parted of kernel (not as module). > 2) Linux Vendor name (i.e. Red Hat, Suze, Ubuntu); Debian stable. I use the patches from the Linux-ABI project and some vainilla kernel from kernel.org for every patch proved (2.6.x). > 3) Trace of the application working on 2.4.x ("echo -1 > /proc/sys/abi/trace", etc...); Please check them: For 2.4.20 (working) http://fixxxer.cc/pub/coff/log-2.4.20 For 2.6.16 (not working and the last proved, compiled static) http://fixxxer.cc/pub/coff/log-2.6.16 > 4) Trace of the application misbehaving on 2.6.x ("en_tr", etc...); I don't have this, the IBCS3.3 has other problems for me. > > I may need to look at your application if the above information is insufficient - you may wish to put it on you web-site and send me > the link - or if you don't have a web-site ftp it to my server - but all this if I can't determine the problem otherwise. if you want, the link to app is: http://fixxxer.cc/pub/coff/pfsfmscst But I think, it doesn't run because is a specific app. It need other files and especial environment. The problem is strange. The app run, but for the same inputs gets different outputs (for 2.4.20 and 2.6.x respectively). > > In general I would like you to compile iBCS-3.3 against the shipped Kernel (no other patches applied). Yes, I proved so. But the IBCS3.3 has other problems, many others apps not work :( > > Regards, > > Alex. > Regards. Thanks Anibal > > > -----Original Message----- > > From: lin...@li... > > [mailto:lin...@li...]On Behalf Of > > Anibal Avelar > > Sent: Saturday, 28 April 2007 07:07 > > To: lin...@li... > > Subject: [Linux-abi-users] Problem with COFF binary on 2.6.x > > > > > > Hi everybody > > > > I have a big problem with the Linux-ABI module. > > > > I use the Linux-ABI since it was implemented to 2.4.x kernel series. > > > > On 2.4.20 kernel all my apps works fine, but with the path for 2.6.x > > (whatever, including the IBCS3.x) one app doesn't work. > > > > My file is: > > > > file /usr/bin/ph/rpcost/pfsfmscst > > /usr/bin/ph/rpcost/pfsfmscst: 80386 COFF executable > > > > I compiled the linux-ABI patch as part of kernel (not as module). > > > > The behavior is very strange. I think the problem is the executable > > COFF and how it was done (was done for SCO 3.2v4.2). It use many > > UNION's and I detected it use Union's with anonymous structs. > > > > I found this: > > [Bug c/13286] Union with anonymous struct as member in gcc3.3 > > http://gcc.gnu.org/ml/gcc-bugs/2003-12/msg00417.html > > > > [GCC C bug: sizeof a union of structs returns zero value] > > http://gcc.gnu.org/ml/gcc-bugs/2004-12/msg02495.html > > > > The -pfs-extensions(microsoft extension) is the key. In the compile > > 2.95 that opcion comes by default. After was removed. > > > > I don't know if it opcion is the reeason, or mey be is other thing. > > But my app does not work and I'm desperate. > > > > I tried all. I compiled the kernel with 3.2, 4.1 and 2.95 (inclusive) > > but nothing happens. Al is the same. The app does not work. > > > > The logs with (trace active), looks exactly the same. But the result > > is deferent (in the same machine). > > > > Thanks. I hope somebody can ell me something (any idea). > > > > Regards. -- Anibal Avelar (FixXxeR) http://fixxxer.cc GPG: 83B64656 - C143 4AD8 B017 53FA B742 D6AA CEEA F9F3 83B6 4656 |