1748138 Members
3742 Online
108758 Solutions
New Discussion юеВ

Re: how read an iso file

 
SOLVED
Go to solution
merieux
Frequent Advisor

how read an iso file

Hi ,

I have built an iso file whith /opt/ignite/lbin/mkisofs whitout any problems . I can mount an executed all command that i want into AIX or LINUX system . But i have some problem under HPUX .
I have installed the bundle ISOIMAGE-ENH that allow to directly mount an iso file . I can mount an iso whithout error .

But when i try to made some acces to my iso file i have some problem . It's the case for cp command or find command .

For example :

[root@testg4r0 - /tmp/iso ] # find . -type f -exec openssl md5 {} \;
Read Error in ./B.11.23.lifimage
29430:error:0200B00E:system library:fread:Bad address:bss_file.c:198:
29430:error:20082002:BIO routines:FILE_READ:system lib:bss_file.c:199:
Read Error in ./B.11.23PLATON.cfg
29441:error:0200B00E:system library:fread:Bad address:bss_file.c:198:
29441:error:20082002:BIO routines:FILE_READ:system lib:bss_file.c:199:
Read Error in ./B.11.23_platon_IA.cfg
29442:error:0200B00E:system library:fread:Bad address:bss_file.c:198:
29442:error:20082002:BIO routines:FILE_READ:system lib:bss_file.c:199:

All ideas are welcome :-)

Thank you for your reply .
Regards ,
Xavier
12 REPLIES 12
Steven E. Protter
Exalted Contributor

Re: how read an iso file

Shalom,

Do you have your iso directory shared with NFS?

What is the error code $? when you try and cp a file.

Please post bdf output.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Torsten.
Acclaimed Contributor

Re: how read an iso file

How did you mount it?

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Torsten.
Acclaimed Contributor

Re: how read an iso file

How did you create the ISO?

How did you mount it?

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Steven Schweda
Honored Contributor

Re: how read an iso file

> [...] my iso file [...]

How did you get this file onto the HP-UX
system? Is it unchanged from the files which
work on the other systems? ("ls -l" is
probably a good-enough test. Or copy it
back, and compare the copy.)

> [...] mkisofs [...]

The cdrtools package should also include some
ISO-9660 diagnostic programs, like isodebug,
isoinfo, and isovfy, any of which might tell
you something about the image file.

I believe that there may be more than one
version of mkisofs in the field. A
"--version" report might be interesting.

> [...] HPUX [...]

"uname -a" might say something, too.
merieux
Frequent Advisor

Re: how read an iso file

Hi ,

Thank you for having reply me .
I does not believe the problem come from the creation of iso file. I am going to dowload and test an iso packaged by other people . Nevertheles i will try to debug my iso ( thanks for the tips )

Version of mkisofs used
--------------------------
mkisofs 2.01 (--)
./mkisofs: Missing pathspec.
Usage: mkisofs [options] file...


Use mkisofs -help
to get a list of valid options.
cd ..

Command used for cretae iso
-----------------------------
/opt/ignite/lbinia/mkisofs -o ${RepDest}/${IsoName} -R -J ${RepSource


$? : error return by cp : 1

Regards ,
Xavier
merieux
Frequent Advisor

Re: how read an iso file

Hi ,

I have downloaded an iso fom ubuntu . The md5sum is correct . I suppose this iso file is correct.

I have mounted this image via the command
mount /tmp/ubuntu-9.10-desktop-i386.iso /tmp/iso . Error are the same than previously. I have notice that error are not always present. It's seems that the first acces to a file is difficult but sometime it works in a second time.



bash-3.2# openssl md5 ./pool/main/m/mouseemu/mouseemu_0_16_0ubuntu4_i386.deb
Read Error in ./pool/main/m/mouseemu/mouseemu_0_16_0ubuntu4_i386.deb
13546:error:0200B00E:system library:fread:Bad address:bss_file.c:198:
13546:error:20082002:BIO routines:FILE_READ:system lib:bss_file.c:199:
bash-3.2# openssl md5 ./pool/main/m/mouseemu/mouseemu_0_16_0ubuntu4_i386.deb
MD5(./pool/main/m/mouseemu/mouseemu_0_16_0ubuntu4_i386.deb)= 96eb932ca49e014530b536d4d281ebff
bash-3.2# openssl md5 ./pool/main/m/mouseemu/mouseemu_0_16_0ubuntu4_i386.deb
MD5(./pool/main/m/mouseemu/mouseemu_0_16_0ubuntu4_i386.deb)= 96eb932ca49e014530b536d4d281ebff
bash-3.2# openssl md5 ./pool/main/m/mouseemu/mouseemu_0_16_0ubuntu4_i386.deb
MD5(./pool/main/m/mouseemu/mouseemu_0_16_0ubuntu4_i386.deb)= 96eb932ca49e014530b536d4d281ebff
bash-3.2# openssl md5 ./pool/main/m/mouseemu/mouseemu_0_16_0ubuntu4_i386.deb
MD5(./pool/main/m/mouseemu/mouseemu_0_16_0ubuntu4_i386.deb)= 96eb932ca49e014530b536d4d281ebff
bash-3.2# openssl md5 ./pool/main/m/mouseemu/mouseemu_0_16_0ubuntu4_i386.deb
MD5(./pool/main/m/mouseemu/mouseemu_0_16_0ubuntu4_i386.deb)= 96eb932ca49e014530b536d4d281ebff
bash-3.2# openssl md5 ./pool/main/m/mouseemu/mouseemu_0_16_0ubuntu4_i386.deb
MD5(./pool/main/m/mouseemu/mouseemu_0_16_0ubuntu4_i386.deb)= 96eb932ca49e014530b536d4d281ebff
bash-3.2# openssl md5 ./pool/main/m/mouseemu/mouseemu_0_16_0ubuntu4_i386.deb
MD5(./pool/main/m/mouseemu/mouseemu_0_16_0ubuntu4_i386.deb)= 96eb932ca49e014530b536d4d281ebff
bash-3.2# openssl md5 ./pool/main/m/mouseemu/mouseemu_0_16_0ubuntu4_i386.deb
MD5(./pool/main/m/mouseemu/mouseemu_0_16_0ubuntu4_i386.deb)= 96eb932ca49e014530b536d4d281ebff
bash-3.2# openssl md5 ./pool/main/m/mouseemu/mouseemu_0_16_0ubuntu4_i386.deb
MD5(./pool/main/m/mouseemu/mouseemu_0_16_0ubuntu4_i386.deb)= 96eb932ca49e014530b536d4d281ebff
bash-3.2# mount -o cdcase,norr,ro,nosuid /tmp/ubuntu-9.10-desktop-i386.iso /tmp/iso

Dennis Handly
Acclaimed Contributor
Solution

Re: how read an iso file

For other readers, a link to how to mount ISO images on 11.31:
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1375750

Have you tried burning your ISO image to DVD to see if that's flawed too?
merieux
Frequent Advisor

Re: how read an iso file

Thank you .

I have already read this excellet post . The issue occur whith the two last method ( mount iso file or copy to a logical volume via dd )

I have not a cd/dvd drive under my HP-UX system .

Regards ,
Xavier
merieux
Frequent Advisor

Re: how read an iso file

I continue to invistiguate into this issue.

I have mounted iso file under an HP-UX 11iv2 system whithout problem . All is running correctly. So i have a problem on my 11iV3 system . This is not due to the way to build the iso. This is not due to the way to mount the iso file.


Is someone can made a test under an HP-UX 11iV3 system ?
The test consiste to mount an iso file and execute find . -type f -exec openssl md5 {} \;
Thank you for your reply .