Subject: 'install' problems on lfs
To: None <netbsd-help@netbsd.org>
From: salo <salo@Xtrmntr.org>
List: netbsd-help
Date: 05/23/2001 02:54:50
--cNdxnHkX5QqsyA0e
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
hi there,
i decided to test lfs on partition i am using for source trees because
of its fast access/manipulating with large amount of small files but..
everything is working fine, unpacking is extremely fast, compiling
without any problems. when it tries first use 'install' utility it fails
with "Operation not supported" error.
fe. installing 'links' package:
/bin/sh ./mkinstalldirs /usr/pkg/bin
install -c -s -o root -g wheel -m 555 links /usr/pkg/bin/links
install: /usr/pkg/bin/links: Operation not supported
*** Error code 1
Stop.
this is happening in 1.5.1_BETA2 and -current. others were not tested.
/usr is on / and it is ffs. /opt/pkgsrc is lfs. here is little info:
-- disklabel --
g: 2096640 13108032 4.4LFS 1024 8192 7 # (Cyl. 13004 - 15083)
-- dmesg --
NetBSD 1.5V (OTAKU) #0: Sat May 5 15:03:00 CEST 2001
root@otaku:/opt/src/sys/arch/i386/compile/OTAKU
cpu0: Cyrix 6x86MX (686-class), 132.96 MHz
cpu0: features 80a135<FPU,DE,TSC,MSR,CX8>
cpu0: features 80a135<PGE,CMOV,MMX>
total memory = 81532 KB
-- OTAKU kernel conf --
file-system LFS # log-structured file system
-- mount/fstab --
/dev/wd0g on /opt type lfs (local)
i did small test:
root@otaku[2:47][/opt]# touch TEST
root@otaku[2:47][/opt]# install -c TEST /tmp
root@otaku[2:47][/opt]# cat > TEST
1
^D
root@otaku[2:47][/opt]# install -c TEST /tmp
install: /tmp/TEST: Operation not supported
ktruss output of 'install' in 'links' package is attached.
is this known bug? anyone has same problem? is there any solution/workaround?
thanks for your time, bye
--
-- salo <salo@Xtrmntr.org> --
-- pgp: http://Xtrmntr.org/salo.pgp --
--cNdxnHkX5QqsyA0e
Content-Type: text/plain; charset=us-ascii
Content-Description: install.ktruss
Content-Disposition: attachment; filename="install.ktruss"
10833 ktruss execve("/sbin/install", 0xbfbfdb84, 0xbfbfdbb4) Err#2 ENOENT
10833 ktruss emul(netbsd)
10833 ktruss execve("/usr/sbin/install", 0xbfbfdb84, 0xbfbfdbb4) Err#2 ENOENT
10833 ktruss execve("/bin/install", 0xbfbfdb84, 0xbfbfdbb4) Err#2 ENOENT
10833 ktruss "/usr/libexec/ld.elf_so" JUSTRETURN
10833 install emul(netbsd)
10833 install __sysctl(0xbfbfd98c, 0x2, 0x4805e280, 0xbfbfd988, 0, 0) = 0
10833 install mmap(0, 0x8000, 0x3, 0x1002, 0xffffffff, 0, 0, 0) = 1208348672
10833 install geteuid = 0
10833 install getuid = 0
10833 install getegid = 0
10833 install getgid = 0
10833 install open("/etc/ld.so.conf", 0, 0x4805d5f4) = 3
10833 install __fstat13(0x3, 0xbfbfdac0) = 0
10833 install mmap(0, 0x37, 0x3, 0x2, 0x3, 0, 0, 0) = 1208381440
10833 install close(0x3) = 0
10833 install munmap(0x48067000, 0x37) = 0
10833 install __stat13("/usr/lib/libc.so.12", 0xbfbfda20) = 0
10833 install open("/usr/lib/libc.so.12", 0, 0x4805d5f4) = 3
10833 install read(0x3, 0xbfbfd9ec, 0x34) = 52
"\^?ELF\^A\^A\^A\0\0\0\0\0\0\0\0\0\^C\0\^C\0\^A\0\0\0`h\^A\0004\0\0\0\M-h)\t\0\0"
10833 install close(0x3) = 0
10833 install open("/usr/lib/libc.so.12", 0, 0x4805d5f4) = 3
10833 install __fstat13(0x3, 0xbfbfda5c) = 0
10833 install read(0x3, 0xbfbfca38, 0x1000) = 4096
10833 install mmap(0, 0x95000, 0x5, 0x2, 0x3, 0, 0, 0) = 1208381440
10833 install mmap(0x480eb000, 0x5000, 0x3, 0x12, 0x3, 0, 0x83000, 0) = 1208922112
10833 install mmap(0x480f0000, 0xc000, 0x3, 0x1012, 0xffffffff, 0, 0, 0) = 1208942592
10833 install close(0x3) = 0
10833 install __sigprocmask14(0x1, 0xbfbfd244, 0xbfbfd234) = 0
10833 install umask(0) = 18
10833 install umask(0x12) = 0
10833 install __sigprocmask14(0x3, 0xbfbfd234, 0) = 0
10833 install __sysctl(0xbfbfd154, 0x2, 0xbfbfd14c, 0xbfbfd150, 0, 0) = 0
10833 install "/etc/malloc.conf" Err#2 ENOENT
10833 install mmap(0, 0x1000, 0x3, 0x1002, 0xffffffff, 0, 0, 0) = 1208991744
10833 install break(0x804c600) = 0
10833 install break(0x804d600) = 0
10833 install break(0x804e000) = 0
10833 install break(0x804f000) = 0
10833 install open("/etc/group", 0, 0x1b6) = 3
10833 install __stat13("/etc/nsswitch.conf", 0xbfbfd17c) = 0
10833 install open("/etc/nsswitch.conf", 0, 0x1b6) = 4
10833 install break(0x8050000) = 0
10833 install break(0x8051000) = 0
10833 install break(0x8052000) = 0
10833 install ioctl(0x4, TIOCGETA, 0xbfbfd070) Err#25 ENOTTY
10833 install __fstat13(0x4, 0xbfbfcfe0) = 0
10833 install break(0x8054000) = 0
10833 install read(0x4, 0x8052000, 0x2000) = 598
"#\t$NetBSD: nsswitch.conf,v 1.5 1999/10/24 12:36:52 lukem Exp $\n#\n# nsswitch."
10833 install read(0x4, 0x8052000, 0x2000) = 0
10833 install break(0x8055000) = 0
10833 install break(0x8056000) = 0
10833 install ioctl(0x4, TIOCGETA, 0xbfbfd05c) Err#25 ENOTTY
10833 install close(0x4) = 0
10833 install __fstat13(0x3, 0xbfbfd0ec) = 0
10833 install read(0x3, 0x8052000, 0x2000) = 347
"wheel:*:0:root,salo\ndaemon:*:1:daemon\nkmem:*:2:root\nsys:*:3:root\ntty:*:4:ro"
10833 install close(0x3) = 0
10833 install __stat13("/etc/nsswitch.conf", 0xbfbfd19c) = 0
10833 install geteuid = 0
10833 install __stat13("/etc/spwd.db", 0xbfbfd0ec) = 0
10833 install open("/etc/spwd.db", 0, 0) = 3
10833 install fcntl(0x3, 0x2, 0x1) = 0
10833 install read(0x3, 0x804f200, 0x104) = 260
"\0\^F\^Ua\0\0\0\^B\0\0\^D\M-R\0\0\^P\0\0\0\0\f\0\0\^A\0\0\0\^A\0\0\0\0\b\0\0\0"
10833 install pread(0x3, 0x8052000, 0x1000, 0, 0x1000, 0) = 4096
10833 install pread(0x3, 0x8053000, 0x1000, 0, 0x5000, 0) = 4096
10833 install break(0x8057000) = 0
10833 install pread(0x3, 0x8056000, 0x1000, 0, 0x6000, 0) = 4096
10833 install close(0x3) = 0
10833 install __stat13("/usr/pkg/bin/links", 0xbfbfda84) Err#2 ENOENT
10833 install __stat13("links", 0xbfbfd1e8) = 0
10833 install __stat13("/usr/pkg/bin/links", 0xbfbfd188) Err#2 ENOENT
10833 install "/usr/pkg/bin/links" Err#2 ENOENT
10833 install open("/usr/pkg/bin/links", 0x601, 0x180) = 3
10833 install open("links", 0, 0) = 4
10833 install mmap(0, 0x92d57, 0x1, 0x1, 0x4, 0, 0, 0) = 1208995840
10833 install madvise(0x480fd000, 0x92d57, 0x2) = 0
10833 install write(0x3, 0x480fd000, 0x92d57) Err#45 EOPNOTSUPP
10833 install "/usr/pkg/bin/links" = 0
10833 install issetugid = 0
10833 install open("/usr/share/nls/C/libc.cat", 0, 0x480ee978) = 5
10833 install __fstat13(0x5, 0xbfbec85c) = 0
10833 install mmap(0, 0xf57, 0x1, 0x1, 0x5, 0, 0, 0) = 1209597952
10833 install close(0x5) = 0
10833 install munmap(0x48190000, 0xf57) = 0
10833 install write(0x2, 0xbfbec598, 0x9) = 9
"install: "
10833 install write(0x2, 0xbfbec5b0, 0x2b) = 43
"/usr/pkg/bin/links: Operation not supported"
10833 install write(0x2, 0xbfbec59c, 0x1) = 1
"\n"
10833 install exit(0x1)
--cNdxnHkX5QqsyA0e--