Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 06 Oct 2002 18:20:12 +0200
From:      Poul-Henning Kamp <phk@critter.freebsd.dk>
To:        Michael Class <michael_class@gmx.net>
Cc:        freebsd-current@FreeBSD.ORG
Subject:   Re: GEOM and SCSI-cd: mount not working any more 
Message-ID:  <38839.1033921212@critter.freebsd.dk>
In-Reply-To: Your message of "Sun, 06 Oct 2002 18:02:21 %2B0200." <3DA05E8D.6010201@gmx.net> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <3DA05E8D.6010201@gmx.net>, Michael Class writes:
>Hello,
>
>just another input for a current system (with GEOM): now it seems 
>inpossible for me to mount a SCSI-CD
>
>pc-micha:/# mount -t cd9660 /dev/cd0 /cdrom
>cd9660: /dev/cd0: Invalid argument

Presumably this is not a GEOM problem, but related to taking the
SCSI-cd out of disk-framework of any kind.

EINVAL is unfortunately a rather often used return code from the
mount code in the kernel, so it will take a bit of testing to
find out which particular EINVAL we're dealing with here.

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__):

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.

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