Page 1 of 1

updatenig BIOS

PostPosted: Mon Nov 10, 2008 6:13 pm
by kapral
I will run update of BIOS as is writing in topic:
viewtopic.php?f=4&t=28

But binary file is withount response:

Code: Select all
rublev@rublev:/home/ins/matrox/sysutil_P111_00_007$ ./pbioslin.bin -o backup
rublev@rublev:/home/ins/matrox/sysutil_P111_00_007$ ls
971-22.bin  976-42.bin  981-14.bin  pbioslin
975-46.bin  979-34.bin  init.dat    readme.txt
rublev@rublev:/home/ins/matrox/sysutil_P111_00_007$ ./pbioslin.bin --help
rublev@rublev:/home/ins/matrox/sysutil_P111_00_007$ ./pbioslin.bin
rublev@rublev:/home/ins/matrox/sysutil_P111_00_007$


Where is problem? I test diferent user (sudo), other dir, nothing...
thanks

Kapral

Re: updatenig BIOS

PostPosted: Tue Nov 11, 2008 11:12 am
by tuxx-home.at
Unless that is a typo, the file is not called "pbioslin.bin", but "pbioslin".

But it's strange that you don't get at least an error message...
So, please, try the following commands:

Code: Select all
cd /home/ins/matrox/sysutil_P111_00_0007
./pbioslin -o backup

# if that doesn't work, post the otuput of
file pbioslin
md5sum pbioslin

Re: updatenig BIOS

PostPosted: Wed Nov 12, 2008 4:46 am
by trendrat
Hello
I've also been having problems updating to this newest bios, here is what I get when I run "file" and "md5sum":

file pbioslin.bin
pbioslin.bin: ELF 32-bit LSB executable, Intel 80386, version 1, statically linked, corrupted section header size

md5sum pbioslin.bin
dfcf80c8d0c7de2f7ffc39a98b5ccd8e pbioslin.bin

I get no response when I try to backup the file and run the update.

Running Ubuntu 8.10 on a P4 3GHz machine, matrox Parhelia AGP 8x 128MB

Thanks for any help.

Re: updatenig BIOS

PostPosted: Wed Nov 12, 2008 10:39 am
by tuxx-home.at
md5sum and file outputs are sane, compared that to the ones on my system.

Could it be that you both have a 64bit architecture installed and due to the fact that this tool is statically compiled and is a 32bit binary that it doesn't work for you guys?

If so, you could try to run the script in an 32bit emulated environment using this command:

Code: Select all
linux32 ./pbioslin.bin -o backup.out


Does that work?
If not, please run the following command and attach the generated output file to your next message:

Code: Select all
strace -f -o /tmp/trace.out ./pbioslin.bin -o backup.out
gzip --best /tmp/trace.out


Now, attach the file /tmp/trace.out.gz to your next message.

Re: updatenig BIOS

PostPosted: Thu Nov 13, 2008 5:41 am
by trendrat
Good thought, but my arch is 32 bit. trace.out.gz attached. I took a look at it but it's gibberish to me!

Re: updatenig BIOS

PostPosted: Thu Nov 13, 2008 6:33 am
by trendrat
Aha! Got this thing figured out - human error, as usual. I was using the wrong bin file. My AGP slot is rated for an 8x card, but my card is only 4x. In my confusion I used the wrong bin file - when I used the proper one, the bios updated fine.

Re: updatenig BIOS

PostPosted: Thu Nov 13, 2008 4:48 pm
by tuxx-home.at
trendrat, so your problem was _NOT_ that the program didn't output anything for you, right?
Because in the strace output I can see that the program runs and does a successful backup of your current BIOS but that's not what kapral experienced.

Anyhow, great that it is working now for you.
kapral, any success so far?

Re: updatenig BIOS

PostPosted: Fri Nov 21, 2008 6:22 pm
by kapral
tuxx-home.at wrote:Anyhow, great that it is working now for you.
kapral, any success so far?

No, cmd line string is OK (problem copy paste or so).
I attach th trace out file.


tnx for you support

kapral

Re: updatenig BIOS

PostPosted: Fri Nov 21, 2008 6:44 pm
by tuxx-home.at
6417 execve("/proc/6417/fd/4", ["./pbioslin", "-o", "backup.out"], [/* 38 vars */]) = -1 ENOENT (No such file or directory)


Hmm, exactly what I thought. This looks like as if some program, function or library can't be found when running pbioslin which again makes me think that this tool cannot be run on 64bit systems.

Have you tried the `linux32 ...` command mentioned above, already?

Re: updatenig BIOS

PostPosted: Mon Nov 24, 2008 6:41 pm
by kapral
tuxx-home.at wrote:Have you tried the `linux32 ...` command mentioned above, already?


linux32 have so null output. Trace is different, I attach ...

PS: name "pbioslin" or "pbioslin.bin" is problem of extraction of archive tgz...

Re: updatenig BIOS

PostPosted: Tue Dec 02, 2008 12:34 pm
by kapral
Problem is solved....

I reinstall Ubuntu 7.10 to Ubuntu 8.04. File pbioslin working now as standard executable program and upgrade video bios is successfully.

thx for support

kapral

Re: updatenig BIOS

PostPosted: Tue Dec 02, 2008 8:01 pm
by tuxx-home.at
Great to hear that. Sorry that I wasn't able to follow up earlier :-/
Closing this one now.