On Jul 19, 2016 3:44 PM, "Paul Goyette" <paul%whooppee.com@localhost> wrote:
>
> On Tue, 19 Jul 2016, bch wrote:
>
>> Running cc(1) or cvs(1) fails with the following. My kernel/userland
>> is very up-to-date, but my machine did just shutdown w/ a dead
>> battery, too ( it usually catches the issue quickly enough and issues
>> a shutdown, though I'm not sure that happened in time this instance).
>>
>>
>> Anybody else experiencing anything similar, have ideas off top of head ?
>
>
> How large are the files, actually? 'ls -l'
Not strangely large-looking.
> Also, perhaps the files have been corrupted - 'objdump -h' might be useful, too.
Will do.
> I'm suspecting on-disk corruption somewhere - do you have a backup copy that you could restore from?
I might... could be "interesting" bootstrapping what's necessary. I'll find out, though.
>
>>
>>
>> -bch
>>
>>
>> kamloops# ktruss cvs -q update -Pd .
>> ktruss: exec of 'cvs' failed: File too large
>> 146 1 ktruss fcntl(0x4, 0x3, 0) = 4194305
>> 146 1 ktruss emul(netbsd)
>> 146 1 ktruss fcntl(0x4, 0x4, 0x400001) = 0
>> 146 1 ktruss execve("/sbin/cvs", 0x7f7fffaf1048,
>> 0x7f7fffaf1078) Err#2 ENOENT
>> 146 1 ktruss execve("/usr/sbin/cvs", 0x7f7fffaf1048,
>> 0x7f7fffaf1078) Err#2 ENOENT
>> 146 1 ktruss execve("/bin/cvs", 0x7f7fffaf1048,
>> 0x7f7fffaf1078) Err#2 ENOENT
>> 146 1 ktruss execve("/usr/bin/cvs", 0x7f7fffaf1048,
>> 0x7f7fffaf1078) Err#27 EFBIG
>> 146 1 ktruss write(0x2, 0x7f7fffaf0910, 0x8) = 8
>> "ktruss: "
>> 146 1 ktruss write(0x2, 0x7f7fffaf0a00, 0x14) = 20
>> "exec of 'cvs' failed"
>> 146 1 ktruss write(0x2, 0x7a6a4632bbed, 0x2) = 2
>> ": "
>> 146 1 ktruss __sysctl(0x7f7fffaf0980, 0x2, 0x7a6a46574048,
>> 0x7f7fffaf0990, 0, 0) = 0
>> 146 1 ktruss __sysctl(0x7f7fffaf08c0, 0x2, 0x7a6a4657ca08,
>> 0x7f7fffaf08c8, 0, 0) = 0
>> 146 1 ktruss readlink("/etc/malloc.conf", 0x7f7fffaf09c0,
>> 0x400) Err#2 ENOENT
>> 146 1 ktruss mmap(0, 0x1000, 0x3, 0x1002, 0xffffffff, 0, 0)
>> = 0x7a6a465ab000
>> 146 1 ktruss mmap(0, 0x1000, 0x3, 0x1002, 0xffffffff, 0, 0)
>> = 0x7a6a465aa000
>> 146 1 ktruss mmap(0, 0x100000, 0x3, 0x14001002, 0xffffffff,
>> 0, 0) = 0x7a6a46100000
>> 146 1 ktruss issetugid() = 0
>> 146 1 ktruss open("/usr/share/nls/nls.alias.db", 0x400000,
>> 0x7f7fffaf011b) Err#2 ENOENT
>> 146 1 ktruss open("/usr/share/nls/nls.alias", 0x400000, 0) = 3
>> 146 1 ktruss __fstat50(0x3, 0x7f7fffaf0480) = 0
>> 146 1 ktruss mmap(0, 0x5f0, 0x1, 0x2, 0x3, 0, 0) = 0x7a6a465a9000
>> 146 1 ktruss close(0x3) = 0
>> 146 1 ktruss munmap(0x7a6a465a9000, 0x5f0) = 0
>> 146 1 ktruss open("/usr/share/nls/C/libc.cat", 0x400000, 0x3a) = 3
>> 146 1 ktruss __fstat50(0x3, 0x7f7fffaf0500) = 0
>> 146 1 ktruss mmap(0, 0x10be, 0x1, 0x1, 0x3, 0, 0) = 0x7a6a465a8000
>> 146 1 ktruss close(0x3) = 0
>> 146 1 ktruss munmap(0x7a6a465a8000, 0x10be) = 0
>> 146 1 ktruss write(0x2, 0x7f7fffaf0910, 0xf) = 15
>> "File too large\n"
>> 146 1 ktruss _lwp_self() = 1
>> 146 1 ktruss __sigprocmask14(0x1, 0x7f7fffaf0d90, 0x7f7fffaf0dc0) = 0
>> 146 1 ktruss __sigprocmask14(0x3, 0x7f7fffaf0dc0, 0) = 0
>> 146 1 ktruss _lwp_self() = 1
>> 146 1 ktruss __sigprocmask14(0x1, 0x7f7fffaf0d90, 0x7f7fffaf0dc0) = 0
>> 146 1 ktruss __sigprocmask14(0x3, 0x7f7fffaf0dc0, 0) = 0
>> 146 1 ktruss exit(0x1)
>>
>> !DSPAM:578eac87107122060115714!
>>
>>
>
> +------------------+--------------------------+------------------------+
> | Paul Goyette | PGP Key fingerprint: | E-mail addresses: |
> | (Retired) | FA29 0E3B 35AF E8AE 6651 | paul at whooppee.com |
> | Kernel Developer | 0786 F758 55DE 53BA 7731 | pgoyette at netbsd.org |
> +------------------+--------------------------+------------------------+