Date: Sun, 06 Oct 2002 23:54:10 +0200 From: Michael Class <michael_class@gmx.net> To: Poul-Henning Kamp <phk@critter.freebsd.dk> Cc: current@freebsd.org Subject: Re: GEOM and SCSI-cd: mount not working any more / fix Message-ID: <3DA0B102.9090501@gmx.net> References: <85014.1033937054@critter.freebsd.dk>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3DA0B102.9090501>