Subject: Re: umass and digital camera
To: None <current-users@NetBSD.ORG>
From: Christian Biere <christianbiere@gmx.de>
List: current-users
Date: 11/30/2003 07:29:34
--cmJC7u66zC7hs+87
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Rick Kelly wrote:
> roothog# ktruss mount -t msdos -r /dev/sd3e /mnt

mount executes /sbin/mount_msdos, you need at least `-di' for ktruss. If
ktruss hangs up before the process is finished, you'll also need something
like -o /tmp/mount.log.

>   3370 ktruss   "/libexec/ld.elf_so"               JUSTRETURN
>   3370 ktruss   emul(netbsd)
>   3370 mount    mmap(0, 0x8000, 0x3, 0x1002, 0xffffffff, 0, 0, 0) =3D 120=
8311808
> mount_msdos:   3370 mount    open("/etc/ld.so.conf", 0, 0x3)    =3D 3
> /dev/sd3e on /mnt  3370 mount    __fstat13(0x3, 0xbfbff8b0)         =3D 0
> :   3370 mount    mmap(0, 0x46, 0x3, 0x2, 0x3, 0, 0, 0) =3D 1208344576
> Operation not supported by device

You should see ENODEV in the ktruss log. That shows which call failed.

--=20
Christian

--cmJC7u66zC7hs+87
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (NetBSD)

iD8DBQE/yY5O0KQix3oyIMcRAnqhAJ9YWnAqVwrDZAZWVEx58LQk0JDMewCfeSMM
G0QfLYHtnQuZ5HkSjgvYGEM=
=dIAx
-----END PGP SIGNATURE-----

--cmJC7u66zC7hs+87--