lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <201008172120.48174.linux@rainbow-software.org>
Date:	Tue, 17 Aug 2010 21:20:43 +0200
From:	Ondrej Zary <linux@...nbow-software.org>
To:	linux-fsdevel@...r.kernel.org
Cc:	Kernel development list <linux-kernel@...r.kernel.org>,
	Johannes Stezenbach <js@...21.net>,
	"A. C. Censi" <accensi@...il.com>, Tao Ma <tao.ma@...cle.com>,
	7eggert@....de
Subject: Re: unable to mount a CD - iso9660 bug?

On Tuesday 17 August 2010 13:50:39 A. C. Censi wrote:
> On Tue, Aug 17, 2010 at 7:08 AM, Ondrej Zary <linux@...nbow-software.org> 
wrote:
> > On Tuesday 17 August 2010, Tao Ma wrote:
> >> Hi Ondrej
> >>
> >> On 08/17/2010 12:50 AM, Ondrej Zary wrote:
> >> > On Monday 16 August 2010 16:18:57 Ondrej Zary wrote:
> >> >> On Monday 16 August 2010, Johannes Stezenbach wrote:
> >> >>> On Mon, Aug 16, 2010 at 02:38:54PM +0200, Ondrej Zary wrote:
> >> >>>> I have a CD that came with Samsung printer that Linux cannot mount
> >> >>>> but works fine in Windows. The CD is physically OK - "dd" made ISO
> >> >>>> image without any problems. This ISO image is unmountable too. When
> >> >>>> I force the filesystem to iso9660, it mounts but no files are
> >> >>>> visible:
> >> >>>
> >> >>> Maybe it's a multi-session disk where the first session is
> >> >>> HFS with Apple software.  Try mounting with -t iso9660 -o session=1.
> >> >>
> >> >> Still the same - no files. dmesg contains:
> >> >>
> >> >> ISOFS: Invalid session number or type of track
> >> >> ISOFS: Invalid session number
> >> >> ISO 9660 Extensions: Microsoft Joliet Level 3
> >> >> ISO 9660 Extensions: RRIP_1991A
> >> >
> >> > Here's the compressed ISO file if anyone wants to examine it:
> >> > http://www.rainbow-software.org/linux_files/samsung-bad.rar
> >>
> >> what is your kernel version? I can mount it successfully in my el5 box
> >> with kernel 2.6.35+.
> >
> > I have 2.6.35. Also tried it on another two machines with Debian Squeeze
> > 2.6.32 and Lenny 2.6.26 with the same result (no files visible when
> > mounted).
> >
> >
> > --
> > Ondrej Zary
> > --
> > To unsubscribe from this list: send the line "unsubscribe linux-fsdevel"
> > in the body of a message to majordomo@...r.kernel.org
> > More majordomo info at  http://vger.kernel.org/majordomo-info.html
>
> Try -unide mount option.
>
> If it does not work, try what is described in the last posts of this
> thread: http://www.pubbs.net/200910/kernel/12764-iso9660-mount-problem.html

Thanks. As Bodo Eggert said, "-o norock" helps.

In fact, I've hit two "bugs":
1. blkid is unable to recognize HFS+ISO9660 CD. Just tracked it down and fixed 
only to find that it was aleady fixed:
http://git.kernel.org/?p=utils/util-linux-ng/util-linux-ng.git;a=commitdiff;h=791a2fd67c118c3f07141e4cc95532fe908015a9

2. some kernel feature - when Rock Ridge is present on iso9660, it's preferred 
over Joliet. The CD contains both but seems that only Joliet has files 
inside? When it's mounted with "-o nojoliet,norock", it's empty too. Can we 
detect this case and avoid it somehow (switch to Joliet?)

-- 
Ondrej Zary
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ