From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ondrej Zary Subject: Re: unable to mount a CD - iso9660 bug? Date: Tue, 17 Aug 2010 21:20:43 +0200 Message-ID: <201008172120.48174.linux@rainbow-software.org> References: <201008161438.57103.linux@rainbow-software.org> <201008171208.42512.linux@rainbow-software.org> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: Kernel development list , Johannes Stezenbach , "A. C. Censi" , Tao Ma , 7eggert@gmx.de To: linux-fsdevel@vger.kernel.org Return-path: Received: from mail1-out1.atlantis.sk ([80.94.52.55]:49422 "EHLO mail.atlantis.sk" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750871Ab0HQTU7 convert rfc822-to-8bit (ORCPT ); Tue, 17 Aug 2010 15:20:59 -0400 In-Reply-To: Content-Disposition: inline Sender: linux-fsdevel-owner@vger.kernel.org List-ID: On Tuesday 17 August 2010 13:50:39 A. C. Censi wrote: > On Tue, Aug 17, 2010 at 7:08 AM, Ondrej Zary =20 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" mad= e ISO > >> >>>> image without any problems. This ISO image is unmountable too= =2E 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. =A0Try mounting with -t iso9660 -o se= ssion=3D1. > >> >> > >> >> 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 Sq= ueeze > > 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-fsd= evel" > > in the body of a message to majordomo@vger.kernel.org > > More majordomo info at =A0http://vger.kernel.org/majordomo-info.htm= l > > 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-proble= m.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 an= d fixed=20 only to find that it was aleady fixed: http://git.kernel.org/?p=3Dutils/util-linux-ng/util-linux-ng.git;a=3Dco= mmitdiff;h=3D791a2fd67c118c3f07141e4cc95532fe908015a9 2. some kernel feature - when Rock Ridge is present on iso9660, it's pr= eferred=20 over Joliet. The CD contains both but seems that only Joliet has files=20 inside? When it's mounted with "-o nojoliet,norock", it's empty too. Ca= n we=20 detect this case and avoid it somehow (switch to Joliet?) --=20 Ondrej Zary -- To unsubscribe from this list: send the line "unsubscribe linux-fsdevel= " in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html