John D. Baker | 14 Mar 22:48 2016

Segfaults with latest sources

Following updating to a release built from sources about 201603140356Z,
a few userland programs have started failing with Segmentation fault.
This is on my Lemote Yeeloong netbook.

Immediately noticable was "security/sudo".  Invoking anything via 'sudo'
would fail with "Memory fault".

Upon rebooting, '/sbin/mount_tmpfs' failed with Segmentation fault
attempting to mount "/var/shm".  Then '/usr/sbin/ntpd' failed with
Segmentation fault during its startup attempt.  The resulting core files
were claimed by 'gdb' to not be valid core files, so no debugging
information is available.

It so-far appears that 'sudo' will work if authentication is required.
Thereafter, during the grace period set by "timestamp_timeout", it will
fail with "Memory fault".

Rebuilding "security/sudo" did not resolve its problem.

--

-- 
|/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
|\ / jdbaker[snail]mylinuxisp[flyspeck]com    OpenBSD            FreeBSD
| X  No HTML/proprietary data in email.   BSD just sits there and works!
|/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645

John D. Baker | 22 Jan 18:59 2016

X on Lemote Yeeloong

Once again trying X on my Lemote Yeeloong netbook.  The failure has been
different each time.  The current failure mode is:

X.Org X Server 1.10.6
Release Date: 2011-07-08
X Protocol Version 11, Revision 0
Build Operating System: NetBSD/evbmips  - 
Current Operating System: NetBSD chalk.technoskunk.fur 7.99.25 NetBSD 7.99.25 (YEELOONG) #14: Thu Jan
21 17:04:09 CST 2016 
sysop <at> x3650.technoskunk.fur:/r0/build/nbsd-tst/obj/mips64el/sys/arch/evbmips/compile/YEELOONG evbmips
Build Date: 01 August 2011  01:01:00AM

Current version of pixman: 0.32.6
	Before reporting problems, check http://wiki.X.Org
	to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Fri Jan 22 11:43:51 2016
(==) Using config file: "/etc/X11/xorg.conf"
(EE) Failed to load /usr/X11R7/lib/modules/drivers/siliconmotion_drv.so:
/usr/X11R7/lib/modules/drivers/siliconmotion_drv.so: Undefined symbol "vgaHWddc1SetSpeed"
(symnum = 33)
(EE) Failed to load module "siliconmotion" (loader failed, 7)
(EE) No drivers available.

Fatal server error:
no screens found

Please consult the The X.Org Foundation support 
(Continue reading)

John Klos | 21 Aug 02:29 2015

Re: Ubiquity EdgeRouter and 100% system

Hmmm... It's been up for six hours and right now it's compiling 
lang/perl5:

cpu0 usb                                  711278139    31937 intr
cpu0 int 5 (clock)                          2227304      100 intr
cpu0 tlb misses                          4428004302   198823 trap

John D. Baker | 17 Jul 06:10 2015

Latest evbmips/LOONGSON (Lemote Yeeloong) observations

As of NetBSD-7.99.20:

Old:

Writes to NFS via extraction of files by 'tar' or I/O redirection produce
corrupt files.

'amd' complains about "invalid argument" on all automount points

New:

Writes to 'ext2fs' filesystems via extraction of files by 'tar' causes
system to hang requiring power-cycle (no diagnostic messages printed,
dropping to DDB not possible).  (As of 7.99.1[5-8], it would print a
diagnostic message, but that has been lost.)

Running from NFS root, system may hang when starting services via
'rc'--typically 'syslogd' or 'ntpd'.  Usually occurs on first boot attempt
following long power-down period.  Power-cycle is required.  Subsequent
attempts usually succeed.

"Backspace" key generates DEL (^?) in applications, not treated as synonym
for ^H (erase).  (Annoying at Password: prompts or in text editors.)

Changed/fixed:

'ntpd' no-longer complains about:

  ntpd[PID]: local_clock:
.../src/external/bsd/ntp/dist/ntpd/ntp_loopfilter.c line 703: invalid struct
(Continue reading)

John D. Baker | 7 Jul 23:23 2015

Tracking -current on evbmips-mips64e[bl]?

I find it interesting that HEAD evbmips-mips64e[bl] seem to perpetually
fail on the autobuild system.  There was an exceptional period of a few
hours a couple of weeks back where at least evbmips-mips64el (the one
that I poke at from time to time) built successfully, so I updated and
managed to build it as well.

Since then, they again fail perpetually on the autobuild system, yet I
manage to do successful update builds locally.  I suspect that will
cease to be the case at some point.

Is it not discouraging to see weeks and months of failed autobuild
attempts go by?  I generally gauge whether to bother with another
round of poking at my Lemote Yeeloong by whether an autobuild attempt
succeeded.

(Perhaps I should be looking at a different platform, but that's really
a topic for a different message.)

--

-- 
|/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
|\ / jdbaker[snail]mylinuxisp[flyspeck]com    OpenBSD            FreeBSD
| X  No HTML/proprietary data in email.   BSD just sits there and works!
|/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645

Andy Ruhl | 8 Jun 07:36 2015
Picon

Atheros SOC AR9331 router

I bought an interesting device recently. Search Amazon for "Tbmax
router". 2 RJ45 ethernet ports, wifi, USB, and USB power. And a nicely
accessible serial port. I bought a USB to serial adapter that plugs
right in, search for "JBtek serial".

Some more info on it here:

http://wiki.openwrt.org/toh/gl-inet/gl-inet

I had to swap tx and rx to get the serial console on mine.

I'm not a developer so I can't get NetBSD working on it. Looks like
someone might be trying according to this:

http://mail-index.netbsd.org/port-arm/2015/02/28/msg002887.html

If it could boot from USB this could be really good.

Andy

Andrew Parker | 7 Mar 03:55 2015
Picon

NetBSD on Cavium Octeon

I'd like to try getting NetBSD running on a Ubiquiti Edgerouter Lite and am wondering if anybody has tried
this or had any success with it?

John D. Baker | 19 Feb 07:01 2015

wsfonts that don't work w/LOONGSON (Lemote YeeLoong)

I wanted to use the recently-added "glass10x19" and/or "glass10x25" VT220-
like fonts in my custom LOONGSON-based kernel, but the wsfont subsystem
ignores them and falls back to one of the other fonts in the stock
LOONGSON kernel "gallant12x22" or "bold8x16".

If I disable the stock fonts, and leave only my added fonts, then the
kernel hangs, sometimes printing a message (in the PMON font) claiming
the font table is empty.

This got me curious about the other fonts listed in
"sys/dev/wsfont/files.wsfont".  Below are the ones which are ignored if
defined:

  FONT_GLASS10x19
  FONT_GLASS10x25
  FONT_DEJAVU_SANS_MONO12x22
  FONT_DROID_SANS_MONO12x22
  FONT_DROID_SANS_MONO9x18
  FONT_DROID_SANS_MONO19x36

The rest provide a working console, although FONT_LUCIDA16x29 and
FONT_SONY12x24 are a bit too large for a comfortably-sized terminal
on a 1024x600 display panel.

Are there any clues as to why the above-listed fonts are ignored on
evbmips/LOONGSON?  I know FONT_GLASS10x19 works on macppc and i386.

--

-- 
|/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
|\ / jdbaker[snail]mylinuxisp[flyspeck]com    OpenBSD            FreeBSD
(Continue reading)

John D. Baker | 10 Feb 03:10 2015

latest evbmips/LOONGSON observations

After reading this post:

  http://mail-index.netbsd.org/port-evbmips/2014/12/23/msg000188.html

I dug out my Yeeloong and went hunting:

  http://mail-index.netbsd.org/port-evbmips/2015/02/06/msg000189.html

eventually producing a working 7.99.4 kernel.  A mips/loongson guru
should take a look at this.

Along the way, I tried a few things I hadn't before--taking some cues
from OpenBSD/loongson.

I tried the "wsfb" driver for Xorg and it works quite well, if a bit
sluggish.  The show-stopper is that the screen-saver operates backwards.

After an initial delay, the next keyboard/mouse event blanks the
screen immediately.  After an idle period, the screen is restored, but
the next keyboard/mouse event just blanks it again.

I've added 'xset s off' to my ".xinitrc". to keep it from blanking.

Without an "xorg.conf", the auto-detected "siliconmotion" driver crashes
complaining about:

[  3406.966] (EE) Failed to load /usr/X11R7/lib/modules/drivers/siliconmotion_drv.so:
/usr/X11R7/lib/modules/drivers/siliconmotion_drv.so: Undefined symbol "exaOffscreenFree"
(symnum = 101)

(Continue reading)

John D. Baker | 6 Feb 01:23 2015

Re: netbsd-7 LOONGSON kernel doesn't work

On Tue, 23 Dec 2014 19:03:17 -0400 (AST), Jared McNeill
<jmcneill <at> invisible.ca> wrote:

> I found my old Lemote Yeeloong netbook today and thought I'd try
> netbsd-7 on it. Not much luck:

I see the same thing with 7.99.4 LOONGSON kernel from just a few hours
ago (first time I've tried since 6.99.40).

I tried booting my custom YEELOONG root-on-NFS kernel, but for some
reason it claimed the font table was empty and hung (I tried putting
the recently-added GLASS10x19 and GLASS10x25 VT220-like fonts in it).

I'll see about reverting my change to see if I get a kernel that works
and if not, start bisecting...

--

-- 
|/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
|\ / jdbaker[snail]mylinuxisp[flyspeck]com    OpenBSD            FreeBSD
| X  No HTML/proprietary data in email.   BSD just sits there and works!
|/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645

Jared McNeill | 24 Dec 00:03 2014
Picon

netbsd-7 LOONGSON kernel doesn't work

I found my old Lemote Yeeloong netbook today and thought I'd try netbsd-7 
on it. Not much luck:

   http://www.netbsd.org/~jmcneill/loongson/IMG_20141223_184630.jpg

Two issues:

   1- Not sure why it's using wd0 for boot device, since it's the
      INSTALL_LOONGSON kernel.
   2- The panic.

Last kernel I had on this was quite old -- 6.99.7 -- so not sure what has 
changed since then.

Here are the kernels I tried:

http://nyftp.netbsd.org/pub/NetBSD-daily/netbsd-7/201412221730Z/evbmips-mips64el/installation/netbsd-INSTALL_LOONGSON.gz
http://nyftp.netbsd.org/pub/NetBSD-daily/netbsd-7/201412221730Z/evbmips-mips64el/binary/kernel/netbsd-LOONGSON.gz

Any hints?

Jared


Gmane