Port-evbmips archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Lemote Yeeloong observations

In article <Pine.NEB.4.64.1205092317360.6809%david.technoskunk.fur@localhost>,
John D. Baker <jdbaker%mylinuxisp.com@localhost> wrote:
>On Fri, 4 May 2012, John D. Baker wrote:
>> Running 'visudo', however, resulted in a bus error.  This might be the
>> same thing discussed recently with sudo, sparc, and 64-bit time_t that
>> has been fixed in pkgsrc-HEAD.  I'll update and build "security/sudo"
>> and give it a try.
>The updated "security/sudo" runs without problems.  Adapting the patch
>to "wip/sudo" allows it to work as well.  It would appear that although
>built as "evbmips64-el", userland is actually 32-bit?  That would seem
>to explain the behavior similar to sparc which doesn't occur on sparc64.
>There appears to be a problem with pty allocation--at least as far as
>'sshd' is concerned.  Attempting to connect to the Yeeloong (LOONGSON
>kernel) hangs at the client end and produces the following on console:
>   sshd[pid]: error: do_exec_pty: Dup #1: Bad file descriptor
>I have the standard complement of /dev/pty??.  Is ptyfs required instead?

You don't need PTYFS if your kernel has COMPAT_BSDPTY.
ktrace it and see what it is trying to dup

>Also, running 'ntpd' produces a regular cascade of:
>   ntpd[pid]: step-systime: Invalid argument
>Not sure what this indicates.  Is 'clockctl' not included?  I'll have
>to check the kernel config.

Something is wrong with the ioctl? ktrace it.


Home | Main Index | Thread Index | Old Index