From owner-freebsd-current Sun Oct 6 14:54:26 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A63EF37B401 for ; Sun, 6 Oct 2002 14:54:24 -0700 (PDT) Received: from mailout06.sul.t-online.com (mailout06.sul.t-online.com [194.25.134.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id 24E3643E3B for ; Sun, 6 Oct 2002 14:54:24 -0700 (PDT) (envelope-from michael_class@gmx.net) Received: from fwd10.sul.t-online.de by mailout06.sul.t-online.com with smtp id 17yJLy-00016E-01; Sun, 06 Oct 2002 23:54:22 +0200 Received: from pc-micha.mc.hp.com (320021761316-0001@[80.131.90.29]) by fmrl10.sul.t-online.com with esmtp id 17yJLp-09Dxj6C; Sun, 6 Oct 2002 23:54:13 +0200 Received: from gmx.net (michaelc@localhost [127.0.0.1]) by pc-micha.mc.hp.com (8.12.6/8.12.3) with ESMTP id g96LsATi000676; Sun, 6 Oct 2002 23:54:10 +0200 (MEST) (envelope-from michael_class@gmx.net) Message-ID: <3DA0B102.9090501@gmx.net> Date: Sun, 06 Oct 2002 23:54:10 +0200 From: Michael Class User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.1) Gecko/20020918 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Poul-Henning Kamp Cc: current@freebsd.org Subject: Re: GEOM and SCSI-cd: mount not working any more / fix References: <85014.1033937054@critter.freebsd.dk> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Sender: 320021761316-0001@t-dialin.net Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Poul-Henning Kamp wrote: > In message <3DA06823.1050804@gmx.net>, Michael Class writes: > > >>>Can I get you to insert printfs like the one below all places >>>in vfs_mount.c and cd9660_vfsops.c where you see it using EINVAL >>>and try to find out which particular one it is ? >>> >>> printf("EINVAL HERE %s %d\n", __FILE__, __LINE__): >>> >> >>It is in cd9660_vfsops.c in iso_mountfs at line 340. > > > That sounds really odd in my ears. > > The only think I can think off is if there is a block-size > conversion issue I have overlooked. > > Can you try in line 1372 of scsi_cd.c to change: > /* lba */ bp->bio_blkno, > to > /* lba */ bp->bio_blkno / 4, > > and see if that helps ? Hello Poul, Yes this solves the problem! Thanks a lot for the fast response. Michael -- ------------------------------------------------------------------------- michael class, viktor-renner str. 39, 72074 tuebingen, frg E-Mail: michael_class@gmx.net Phone: +49 7031 14-3707 (work) +49 7071 81950 (private) ------------------------------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message