Simpler Navigation for Servers and Operating Systems
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
cancel
Showing results for 
Search instead for 
Did you mean: 

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
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

Highlighted
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 .





Torsten.
Acclaimed Contributor

Re: how read an iso file

I don't know on which mount point it is, but this:

Read Error in ./B.11.23.lifimage

looks like you search the lifimage?!?

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!   
merieux
Frequent Advisor

Re: how read an iso file

mount point is the root directory used to mount the iso file
merieux
Frequent Advisor

Re: how read an iso file

Hi,

This is a bug .
" QX:QXCR1000868519
If the base page size(base_pagesize) is greater than 8 kilobytes then reads on the CD-ROM file system(CDFS) may fail with EFAULT."

my base_pagesize kernel parameter was tuned to 64k . After having modified this parameter to 8 it works fine .

patch PHKL_40286 should be corrected this issue .
http://www13.itrc.hp.com/service/patch/patchDetail.do?patchid=PHKL_40286&sel={hpux:11.31,}&BC=main|search|


Regards ,