From owner-freebsd-current Sun Oct 6 9:20:20 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 1E30637B401 for ; Sun, 6 Oct 2002 09:20:19 -0700 (PDT) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4D12843E4A for ; Sun, 6 Oct 2002 09:20:18 -0700 (PDT) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.6/8.12.6) with ESMTP id g96GKCpS038840; Sun, 6 Oct 2002 18:20:12 +0200 (CEST) (envelope-from phk@critter.freebsd.dk) To: Michael Class Cc: freebsd-current@FreeBSD.ORG Subject: Re: GEOM and SCSI-cd: mount not working any more In-Reply-To: Your message of "Sun, 06 Oct 2002 18:02:21 +0200." <3DA05E8D.6010201@gmx.net> Date: Sun, 06 Oct 2002 18:20:12 +0200 Message-ID: <38839.1033921212@critter.freebsd.dk> From: Poul-Henning Kamp 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 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