Subject: Re: umass and digital camera
To: None <current-users@NetBSD.org>
From: Rick Kelly <rmk@toad.rmkhome.com>
List: current-users
Date: 11/30/2003 01:16:57
Christian Biere said:
>You should see ENODEV in the ktruss log. That shows which call failed.
21111 ktruss "/libexec/ld.elf_so" JUSTRETURN
21111 ktruss emul(netbsd)
21111 mount mmap(0, 0x8000, 0x3, 0x1002, 0xffffffff, 0, 0, 0) = 1208311808
21111 mount open("/etc/ld.so.conf", 0, 0x3) = 3
21111 mount __fstat13(0x3, 0xbfbff8b0) = 0
21111 mount mmap(0, 0x46, 0x3, 0x2, 0x3, 0, 0, 0) = 1208344576
21111 mount close(0x3) = 0
21111 mount munmap(0x4805e000, 0x46) = 0
21111 mount open("/usr/X11R6/lib/libc.so.12", 0, 0) Err#2 ENOENT
21111 mount open("/lib/libc.so.12", 0, 0) = 3
21111 mount __fstat13(0x3, 0xbfbff5b0) = 0
21111 mount mmap(0, 0x1000, 0x1, 0x1, 0x3, 0, 0, 0) = 1208344576
21111 mount munmap(0x4805e000, 0x1000) = 0
21111 mount mmap(0, 0xac000, 0x5, 0x2, 0x3, 0, 0, 0) = 1208344576
21111 mount mmap(0x480f6000, 0x6000, 0x3, 0x12, 0x3, 0, 0x98000, 0) = 1208967168
21111 mount mmap(0x480fc000, 0xe000, 0x3, 0x1012, 0xffffffff, 0, 0, 0) = 1208991744
21111 mount close(0x3) = 0
21111 mount __sysctl(0xbfbff7c8, 0x2, 0xbfbff7c0, 0xbfbff7c4, 0, 0) = 0
21111 mount readlink("/etc/malloc.conf", 0xbfbff840, 0x3f) Err#2 ENOENT
21111 mount mmap(0, 0x1000, 0x3, 0x1002, 0xffffffff, 0, 0, 0) = 1209049088
21111 mount break(0x804b374) = 0
21111 mount break(0x804c374) = 0
21111 mount break(0x804d000) = 0
21111 mount break(0x804e000) = 0
21111 mount open(".", 0, 0) = 3
21111 mount chdir("/") = 0
21111 mount __lstat13("mnt", 0xbfbfe6f0) = 0
21111 mount chdir("mnt") = 0
21111 mount __getcwd(0xbfbfebb0, 0x400) = 5
21111 mount fchdir(0x3) = 0
21111 mount close(0x3) = 0
21111 mount break(0x804f000) = 0
21111 mount __vfork14 = 0
23064 mount emul(netbsd)
23064 mount "/libexec/ld.elf_so" JUSTRETURN
23064 mount_msdos emul(netbsd)
= 23064
21111 mount waimmap(0, 0x8000, 0x3, 0x1002, 0xffffffff, 0, 0, 0) = 1208307712
23064 mount_msdos open("/etc/ld.so.conf", 0, 0x3) = 3
23064 mount_msdos __fstat13(0x3, 0xbfbff8b4) = 0
23064 mount_msdos mmap(0, 0x46, 0x3, 0x2, 0x3, 0, 0, 0) = 1208340480
23064 mount_msdos close(0x3) = 0
23064 mount_msdos munmap(0x4805d000, 0x46) = 0
23064 mount_msdos open("/usr/X11R6/lib/libutil.so.7", 0, 0) Err#2 ENOENT
23064 mount_msdos open("/lib/libutil.so.7", 0, 0) = 3
23064 mount_msdos __fstat13(0x3, 0xbfbff5b4) = 0
23064 mount_msdos mmap(0, 0x1000, 0x1, 0x1, 0x3, 0, 0, 0) = 1208340480
23064 mount_msdos munmap(0x4805d000, 0x1000) = 0
23064 mount_msdos mmap(0, 0xa000, 0x5, 0x2, 0x3, 0, 0, 0) = 1208340480
23064 mount_msdos mmap(0x48065000, 0x1000, 0x3, 0x12, 0x3, 0, 0x8000, 0) = 1208373248
23064 mount_msdos mmap(0x48066000, 0x1000, 0x3, 0x1012, 0xffffffff, 0, 0, 0) = 1208377344
23064 mount_msdos close(0x3) = 0
23064 mount_msdos open("/usr/X11R6/lib/libc.so.12", 0, 0xbfbff5b4) Err#2 ENOENT
23064 mount_msdos open("/lib/libc.so.12", 0, 0xbfbff5b4) = 3
23064 mount_msdos __fstat13(0x3, 0xbfbff5b4) = 0
23064 mount_msdos mmap(0, 0x1000, 0x1, 0x1, 0x3, 0, 0, 0) = 1208381440
23064 mount_msdos munmap(0x48067000, 0x1000) = 0
23064 mount_msdos mmap(0, 0xac000, 0x5, 0x2, 0x3, 0, 0, 0) = 1208381440
23064 mount_msdos mmap(0x480ff000, 0x6000, 0x3, 0x12, 0x3, 0, 0x98000, 0) = 1209004032
23064 mount_msdos mmap(0x48105000, 0xe000, 0x3, 0x1012, 0xffffffff, 0, 0, 0) = 1209028608
23064 mount_msdos close(0x3) = 0
23064 mount_msdos __sysctl(0xbfbfee88, 0x2, 0xbfbfee80, 0xbfbfee84, 0, 0) = 0
23064 mount_msdos readlink("/etc/malloc.conf", 0xbfbfef00, 0x3f) Err#2 ENOENT
23064 mount_msdos mmap(0, 0x1000, 0x3, 0x1002, 0xffffffff, 0, 0, 0) = 1209085952
23064 mount_msdos break(0x804a988) = 0
23064 mount_msdos break(0x804b988) = 0
23064 mount_msdos break(0x804c000) = 0
23064 mount_msdos break(0x804d000) = 0
23064 mount_msdos break(0x804e000) = 0
23064 mount_msdos __stat13("/mnt", 0xbfbff820) = 0
23064 mount_msdos gettimeofday(0xbfbfefb8, 0) = 0
23064 mount_msdos break(0x8050000) = 0
23064 mount_msdos access("/etc/localtime", 0x4) = 0
23064 mount_msdos open("/etc/localtime", 0, 0) = 3
23064 mount_msdos read(0x3, 0xbfbfcc40, 0x1f08) = 877
"TZif\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\^D\0\0\0\^D\0\0\0\0\0\0\0"
23064 mount_msdos close(0x3) = 0
23064 mount_msdos "/mnt" Err#19 ENODEV
23064 mount_msdos write(0x2, 0xbfbfe670, 0xd) = 13
"mount_msdos: "
23064 mount_msdos write(0x2, 0xbfbfe690, 0x11) = 17
"/dev/sd3e on /mnt"
23064 mount_msdos write(0x2, 0x480feb75, 0x2) = 2
": "
23064 mount_msdos issetugid = 0
23064 mount_msdos issetugid = 0
23064 mount_msdos open("/usr/share/nls/nls.alias", 0, 0x1b6) = 3
23064 mount_msdos __fstat13(0x3, 0xbfbfe570) = 0
23064 mount_msdos break(0x8052000) = 0
23064 mount_msdos read(0x3, 0x8050000, 0x2000) = 1520
"# $NetBSD: nls.alias,v 1.3 2003/04/14 05:21:51 salo Exp $\n#\n# This "
23064 mount_msdos read(0x3, 0x8050000, 0x2000) = 0
23064 mount_msdos close(0x3) = 0
23064 mount_msdos open("/usr/share/nls/C/libc.cat", 0, 0) = 3
23064 mount_msdos __fstat13(0x3, 0xbfbfe640) = 0
23064 mount_msdos mmap(0, 0x103b, 0x1, 0x1, 0x3, 0, 0, 0) = 1209090048
23064 mount_msdos close(0x3) = 0
23064 mount_msdos munmap(0x48114000, 0x103b) = 0
23064 mount_msdos write(0x2, 0xbfbfe670, 0x22) = 34
"Operation not supported by device\n"
23064 mount_msdos exit(0x1) = 23064
--
Rick Kelly rmk@rmkhome.com www.rmkhome.com