John D. Baker | 1 Feb 09:03 2014

Other interesting mips breakage...

I should have looked at port-mips <at>  more diligently before my latest spate
of PR filing.  The very issues I filed about were discussed here at length.

In light of that, I'd welcome input on issues already being pursued in
absence of an active PR.  What I've come to observe since evbmips/LOONGSON
became operational again (on my Lemote YEELOONG, since that's the only
mips/evbmips machine I have):

X server:  the undefined symbol issues seem to have been resolved, but
now the server complains that it can't load the "int10" module, saying
that it doesn't exist.  Also what looks like a NULL pointer dereference.

The 'dig' utility dies with segfault in pthread_getspecific().

Can't build anything from pkgsrc as the C compiler dies with bus error
compiling the first real source in "pkgtools/digest".  (It works well
enough to complete the "./configure" script, though.)

If there are hints on the above, please share.  I suspect the most
obvious thing to try is nuke OBJDIR and DESTDIR from orbit, just to
make sure.

A few things that persist from early 6.99.x days:

PR/48564: 'tar' corrupts files extracted to NFS.  I originally saw this as
a result of bizzare modifications suggested when running 'etcupdate' on
my NFS-root installation.  Then LOONGSON kernel build breakage, etc.
intervened.  Finally, I sat down and analyzed what the nature of the
data corruption was.

(Continue reading)

Rajasekhar Pulluru | 2 Jan 16:42 2014
Picon

kmem_alloc vs malloc

All,

Need some help on understanding below issue.

When driver A invokes kmem_alloc, see panic due to TLB miss in driver B.
This issue happens during kernel bootup. At this time, show map output
shows, resident memory = wired memory.

When the kmem_alloc in driver A is replaced by malloc, don't see any issue
with driver B.

kmem_alloc allocates wired memory. malloc allocates uninitialized memory in
kernel address space.

How does the issue go away replacing kmem_alloc with malloc ? Is it related?

Thanks & Regards,
Rajasekhar

Rajasekhar Pulluru | 26 Dec 14:18 2013
Picon

trap: cpu0, TLB miss (load or instr. fetch) in kernel mode

Dear group members,

Need your help.

While porting usb driver to evbmips, receive below trap during system
bootup. Couldn't see backtrace as program counter is 0. how to proceed
debugging.

pid 0(system): trap: cpu0, TLB miss (load or instr. fetch) in kernel mode
status=0x8203, cause=0x108, epc=0, vaddr=0xdeadbeef
tf=0x85011d20 ksp=0x85011e60 ra=0xffffffff80272a88 ppl=0x17108128
kernel: TLB miss (load or instr. fetch) trap
Stopped in pid 0.4 (system) at  0:      invalid address.
db> show reg
at          0xffffffc0
v0          0
v1          0x82        _KERNEL_OPT_NLOOP+0x1
a0          0
a1          0x1 _KERNEL_OPT_NINET
a2          0x8 _KERNEL_OPT_NINET+0x7
a3          0x812782a0  cpu_info_store
a4          0x2 _KERNEL_OPT_NINET+0x1
a5          0x1 _KERNEL_OPT_NINET
a6          0x80        _KERNEL_OPT_DDB_HISTORY_SIZE+0x1c
a7          0x81e794f8  ipl_eimr_map+0x18
t0          0x82a8a000  _prop_data_pool+0x5ea58
t1          0x1 _KERNEL_OPT_NINET
t2          0x85010000
t3          0x8027bfd4  tc_init+0x13c
s0          0xd13dc000
(Continue reading)

John D. Baker | 15 Dec 22:13 2013

all userland dies with SIGSEGV on LOONGSON (Lemote YEELOONG)

Now that evbmips64-el builds again for LOONGSON processors, I set about
doing just that.

The result is that all userland programs die with SIGSEGV, usually upon
exit (they otherwise seem to work OK).

Examining results with 'gdb' produces similar results in all examples
observed:

[...]
Core was generated by '<progname>'.
Program terminated with signal 11, Segmentation fault.
#0  0x00000000 in ?? ()
(gdb) bt
#0  0x00000000 in ?? ()
#1  0xqqqqqqqq in _ftext ()
#2  0xrrrrrrrr in ?? ()
warning: GDB can't find the start of the function at 0xssssssss.
[...]

where "0xssssssss" is exactly 2 less than "0xrrrrrrrr".

Upon exit, 'gdb' itself incurs SIGSEGV.

--

-- 
|/"\ 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

(Continue reading)

Rajasekhar Pulluru | 3 Dec 17:09 2013
Picon

usb xhci driver

Hi,

I would need some help on the xhci driver that was recently added.

I am trying to backport xhci driver to old netbsd port (5.1) (on the board
with xhci controller). With this, I couldn't see usb device getting created
i.e, no mass storage device though I have usb stick inserted into usb port.

Below are some of the xhci related logs.If I am correct, xhci_new_device
should be invoked twice once for the root hub port and the other for the
usb device, but it is getting invoked only once for root hub and not for
the usb device.

There is some issue in enumerating the usb port.

xhci0: xHCI version 1.0
xhci0: maxslots 64, maxintrs 8, maxports 2
xhci0: ac64 1 ctxsz 64
xhci0: xECP 960
xhci0: ECR 960: 00000401
xhci0: ECR 970: 02000402
xhci0: SP: 02000402 20425355 00080101
xhci0: ECR 980: 03000002
xhci0: SP: 03000002 20425355 00000102
xhci: sc_hs_port_start 1, sc_hs_port_count 1
xhci0: PAGESIZE 0x00000001
xhci0: sc_pgsz 0x00001000
xhci0: sc_maxslots 0x00000040
xhci0: sc_maxspbuf 1
xhci0: config 0x00000040
(Continue reading)

吕宗庭 | 20 Nov 04:36 2013
Picon

Fwd: NetBSD on lemote 8089D

I’m trying to boot NetBSD on a lemote 8089D with loongson2F,and I hope it
can run. But I’m facing some problems with recent NetBSD versions.

When I use pmon load netbsd_LOONGSON or netbsd-INSTALL_LOONGSON I get some
err.

THe netbsd_LOONGSON or netbsd-INSTALL_LOONGSON download
from pub/NetBSD/NetBSD-6.1.2/evbmips-mips64el/

And the version of pmon is 1.4.9

PMON>boot -k (usb0,0)/netbsd_LOONGSON

phys segment: 0x3f3d4000  <at>  ....
adding 0x3f3d4000 .....   to freelist 0
pmap_steal_memory:seg 0: 0x.....
pmap_steal_memory:seg 0: 0x.....

How can I load the netbsd or fix it?

Have a nice day.

lzt
Kooda | 10 Nov 15:39 2013

Recent NetBSD and MERAKI kernel

Hello,

I’m trying to boot NetBSD on a Fonera 2g (2202) with the goal of running
it as a router but I’m facing some problems with recent NetBSD versions.

The hardware is similar to the one of the Fonera 2100 which is in turn
really similar to the Meraki mini, so the MERAKI kernel should at least
boot on this device.

I remember giving it a try while NetBSD 5 was the latest version and it
worked back then. I tried again building and booting NetBSD 5 lately
just to make sure, and it does boot using the SREC image of the kernel
but not the ELF image. (see the first attachment for the boot log)

I built the kernel using 5.2.1 sources and this command line:
./build.sh -m evbmips-eb -O ../obj_mipseb -T ../tools_mipseb -U -u -j4 kernel=MERAKI

I then tried to build the same kernel with netbsd-6 and netbsd-current
sources, using the same command line.

It appears that the build is broken under netbsd-6, it stops at kernel
link time, complaining about symbol table size.

The build ends correctly with netbsd-current sources but only the ELF
image is built and there is no SREC image anymore, so I generated it
with the following command:
/f/netbsd-dist/edge/tools_mipseb/bin/mipseb--netbsd-strip -O srec -o netbsd.srec netbsd
like it was done during the NetBSD 5 build process.

But, when I then try to boot the device using this image, everything
(Continue reading)

girish vg | 26 Jan 13:09 2013

1 new photo on MyDailyFlog!


Hi!
I would like you to come and see my latest photos on MyDailyFlog. 

Check out: http://www.mydailyflog.com/go/invite_register/girishgulawani/48268548&stc=71

Thanks!
girish vg

~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
To unsubscribe of this type of email from MyDailyFlog in the future,
please click below:
http://www.mydailyflog.com/un/port-evbmips <at> netbsd.org&md5=6f0a8b90c8d9a86e&bl=16

Please do not reply directly to this email. Questions? Contact us - 
http://www.mydailyflog.com/go/contact_us

MyDailyFlog, Refriendz Ltd. PO BOX 1184, Luton, Bedfordshire, LU1 9AT.

girish vg | 26 Jan 13:09 2013

Check out this photo on MyDailyFlog!


Hi!
I would like to invite you to visit MyDailyFlog and see my latest photos. 

Check out: http://www.mydailyflog.com/go/invite_register/girishgulawani/48268548&stc=16

Cheers!

girish vg

========================================
Got a digital camera?

MyDailyFlog is a personal photo-blogging space where you can easily post
your latest and greatest photos, and share them with your friends and family.

Create your own DailyFlog at www.MyDailyFlog.com

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Unsubscribe: to opt out of further invitations from your friends to see 
their DailyFlogs, please click below:
http://www.mydailyflog.com/un/port-evbmips <at> netbsd.org&md5=6f0a8b90c8d9a86e&bl=16

Please do not reply directly to this email. Questions? Contact us - 
http://www.mydailyflog.com/go/contact_us

MyDailyFlog, Refriendz Ltd. PO BOX 1184, Luton, Bedfordshire, LU1 9AT.

mac c | 9 Dec 04:59 2012
Picon

Netbsd on Atheros AR71xx

Hi,
I would like to run NetBSD on cpu Atheros 7130,
Netbsd 6 has support for this soc?

Marcos

Alexander Nasonov | 24 Nov 15:22 2012
Picon

bpfjit

After a successful testing of bpfjit on an emulated MALTA board, I
committed sljit support to evbmips. It's disabled my default but you
can easily enable it. To reproduce my setup, you need to apply the patch
below and build with MKSLJIT=yes.
I followed an instruction on gxemul page to install and run my system
under gxemul emulator. I also added "net.bpf.jit=1" to sysctl.conf
while following an installation instruction.
All sljit and bpfjit userspace tests pass and the system can filter
packets using simple rules.

Alex

Enable bpfjit on MALTA ebvmips board.

Index: sys/arch/evbmips/conf/MALTA
===================================================================
RCS file: /cvsroot/src/sys/arch/evbmips/conf/MALTA,v
retrieving revision 1.69
diff -p -u -u -r1.69 MALTA
--- sys/arch/evbmips/conf/MALTA 17 Oct 2012 14:48:11 -0000      1.69
+++ sys/arch/evbmips/conf/MALTA 24 Nov 2012 14:05:30 -0000
 <at>  <at>  -307,6 +307,9  <at>  <at>  audio*              at clct?
 #pseudo-device md                              # memory disk device
(ramdisk)
 pseudo-device  vnd                             # disk-like interface to
files

+options SLJIT
+options BPFJIT
+
(Continue reading)


Gmane