Re: Unimplemented SPARC system call 140
> I don't see how you are getting this:
> /* #define __NR_adjtime 140 SunOS Specific */
Yes, I have grepped the kernel sources and I also don't see how can I be
getting this stuff.
> Something is really screwy if it's using this non-existent syscall. Is
> this coming from the raid software?
I get it when running mkraid, and I'm not running any other thing at the
same time that could be causing it.
I have straced mkraid trying and tried to trace the forks also, but the
forks don't seem to get traced, anyway, here is the last part of the output,
in case this gives any clue on what may be happening:
3908 sigreturn() = ? (mask now [QUIT KILL BUS SYS PIPE ALRM STOP TSTP CONT LOST USR1 USR2])
3908 write(1, "\n", 1) = 1
3908 write(1, "writing raid superblock\n", 24) = 24
3908 time(NULL) = 991565803
3908 write(1, "MD ID: a92b4ef"..., 34) = 34
3908 write(1, "Conforms to MD version: 0.36.4\n", 32) = 32
3908 write(1, "Raid set ID: 851cd82"..., 34) = 34
3908 open("/etc/localtime", O_RDONLY) = 11
3908 read(11, "TZif\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\10\0\0\0\10"..., 44) = 44
3908 read(11, "\234\363\360p\235\276\367p\236\272\305\360\237\240*\360"..., 815) = 815
3908 fstat(11, {st_mode=S_IFREG|0644, st_size=946, ...}) = 0
3908 mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7001e000
3908 read(11, "\0\0\16\20\1\0\0\0\0\0\0\5\0\0\34 \1\t\0\0\16\20\1\0\0"..., 8192) = 87
3908 close(11) = 0
3908 munmap(0x7001e000, 8192) = 0
3908 write(1, "Creation time: Sun Jun"..., 50) = 50
3908 write(1, "Update time: Sun Jun"..., 50) = 50
3908 write(1, "State: 1 (clea"..., 35) = 35
3908 write(1, "Raid level: 5\n", 27) = 27
3908 write(1, "Individual disk size: 4091MB "..., 44) = 44
3908 write(1, "Chunk size: 16kB\n", 30) = 30
3908 write(1, "Parity algorithm: 2 (left"..., 44) = 44
3908 write(1, "Total number of disks: 4\n", 27) = 27
3908 write(1, "Number of raid disks: 4\n", 27) = 27
3908 write(1, "Number of active disks: 4\n", 27) = 27
3908 write(1, "Number of working disks: 4\n", 27) = 27
3908 write(1, "Number of failed disks: 0\n", 27) = 27
3908 write(1, "Number of spare disks: 0\n", 27) = 27
3908 write(1, "\n", 1) = 1
3908 write(1, "Disk 0: raid_disk 0, state: 6 (o"..., 58) = 58
3908 write(1, "Disk 1: raid_disk 1, state: 6 (o"..., 58) = 58
3908 write(1, "Disk 2: raid_disk 2, state: 6 (o"..., 58) = 58
3908 write(1, "Disk 3: raid_disk 3, state: 6 (o"..., 58) = 58
3908 open("/dev/sda1", O_WRONLY) = 11
3908 adjtime({...}, 0) = -1 ENOSYS (Function not implemented)
3908 write(2, "mkraid: aborted\n", 16) = 16
3908 close(4) = 0
3908 munmap(0x7001c000, 8192) = 0
3908 write(7, "p\4\230 \0\0\0\2\0\0\0\1\0\1\10\235\0\0\0\3\0\0\0\0\0?"..., 148) = 148
3908 rt_sigprocmask(SIG_SETMASK, NULL, [RT_0], 8) = 0
3908 rt_sigsuspend([] <unfinished ...>
3908 --- SIGRT_0 (Real-time signal 0) ---
3908 <... rt_sigsuspend resumed> ) = -1 EPIPE (Broken pipe)
3908 sigreturn() = ? (mask now [QUIT KILL BUS SYS PIPE ALRM STOP TSTP CONT LOST USR1 USR2])
3908 wait4(3909, NULL, __WCLONE, NULL) = 3909
3908 munmap(0x7001a000, 8192) = 0
3908 exit(1) = ?
Regards...
--
Manty/BestiaTester -> http://manty.net
Reply to: