Kevin Stallard
|
Re: mkifs corrupts io-hid, one binary before and one binary after
|
Kevin Stallard
10/03/2014 3:34 AM
post111965
|
Re: mkifs corrupts io-hid, one binary before and one binary after
Followup:
I checked my installation of QNX660 SDP, the binaries are fine.
If I change the order they are included in the build script, they work, and the ones that took their place don't.
I know this should tell me what is going on, but the only thing I can think of is that the image file system is being
loaded into RAM, the checksum taken, it passes and then it is copied somewhere else where pot hole in memory exists thus
the apparent dependency on location.....wait...isn't that a real-estate thing?
--Kevin
|
|
|
Kevin Stallard
|
Re: mkifs corrupts io-hid, one binary before and one binary after
|
Kevin Stallard
10/04/2014 6:01 PM
post111970
|
Re: mkifs corrupts io-hid, one binary before and one binary after
Okay, after several days of additional investigation and such here is where I am :
1. I eliminated the possibility that it was the medium I was using to boot the x86 box. I was using a USB stick
formatted using mkqnx6fsimg in combination with the new diskimage utility. If found a SATA to USB adapter, conencted a
laptop harddisk to my Ubuntu host, and QNX 6.5 VM. I used these hosts to format and load the harddisk with the images.
I both formatted the HD using the mkqnx6fs utility on QNX 6.5 and just copied the resulting image from disk image.
Results were the same.
2. I then disconnected the harddisk from the SATA to USB adapter and connected the harddisk directly to the x86 box to
boot it.
The problem remains, there are always a handful of binaries that are corrupted.
3. I then started to build using QNX 6.5 utilities. While the corrupted files were different, the problem remained.
After a bunch of trial and error I found that the corrupt files always reside in the range of 6f9000 and 710000. For
example, the following files are corrupted:
QNX 6.5.0
6f9000 1d0f 8048668 --- proc/boot/umount=/opt/qnx650/target/qnx6/x86/bin/umount
6fb000 fc12 80492c8 --- proc/boot/pci-bios=/opt/qnx650/target/qnx6/x86/sbin/pci-bios
70b000 657d1 8048a18 --- proc/boot/pci=/opt/qnx650/target/qnx6/x86/usr/sbin/pci
QNX 6.6.0
6fa000 2c75 8049090 --- proc/boot/sloginfo=/opt/qnx660/target/qnx6/x86/bin/sloginfo
6fd000 a94a 804a024 --- proc/boot/devb-umass=/opt/qnx660/target/qnx6/x86/sbin/devb-umass
708000 2136d 804af94 --- proc/boot/io-usb=/opt/qnx660/target/qnx6/x86/sbin/io-usb
4. This range of corruption is the same no matter what x86 box I boot. I've tried several, all different motherboards
and ram combinations, the problem is the same.
Any ideas on what I can do to fix this?
Thanks
Kevin
|
|
|