Izumi Tsutsui | 28 Jan 04:29
Picon

vmem(9) and arm32/pmap.c changes (Re: CVS commit: src)

> Module Name:	src
> Committed By:	para
> Date:		Fri Jan 27 19:48:42 UTC 2012
> 
> Modified Files:
> Log Message:
> extending vmem(9) to be able to allocated resources for it's own needs.
> simplifying uvm_map handling (no special kernel entries anymore no relocking)
> make malloc(9) a thin wrapper around kmem(9)
> (with private interface for interrupt safety reasons)
> 
> releng@ acknowledged

 :

> Module Name:	src
> Committed By:	matt
> Date:		Sat Jan 28 00:11:47 UTC 2012
> 
> Modified Files:
> 	src/sys/arch/arm/arm32: pmap.c
> 
> Log Message:
> Don't use simple locks.

Now my zaurus stops booting:
---
[ Kernel symbol table missing! ]
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
    2006, 2007, 2008, 2009, 2010, 2011, 2012
(Continue reading)

Amazon | 11 Jan 05:32

[WARNING: VIRUS REMOVED]Your account has been closed

Your account has been closed because of too many failed login
attempts.

Please download and fill out the form below to reactivate your
account.

Amazon
This attachment contained a virus and was stripped.
	Filename: rec.html
	Content-Type: application/octet-stream
	Virus(es): Troj/Phish-AZ
Diana Eichert | 13 Dec 23:27

5.1 install hangs on Certance CP3100

I'm taking advantage of a slow period at work to install
5.1 on a Certance CP3100.

When booted with the install kernel it get's to where it
"should" start console interaction, but nothing occurs.
The last thing I get is the following

root on md0a dumps on md0b
root file system type: ffs
WARNING: clock gained 402 days
WARNING: CHECK AND RESET THE DATE!

then nothing.

I believe this is related to interupt handing on the
Certance CP3100 AKA TeamASA NPWR-SCE.  I thought this
issue was resolved in the past, but it has been many
years since I tried installing NetBSD on one of these
systems.

g.day

diana

+Ethernet eth0: MAC address 00:0e:a4:00:10:e0
IP: 192.168.0.250/255.255.255.0, Gateway: 192.168.0.1
Default server: 192.168.0.1, DNS server IP: 192.168.0.1

RedBoot(tm) bootstrap and debug environment DPA3V2 - built 15:27:54, Feb 
6 2004
(Continue reading)

is | 15 Nov 10:48
Picon

Thumb detector

Once again, I've needed to patch a pkg to not explicitly use ARM-Thumb's
"bx" instruction, this time in devel/gmp.

For ROM-starved embedded devices, some ARM cpus have an extension
called THUMB which is a 16bit-opcode-encoded subset of the full
instruction set. I think that newer CPUs just have it all, for
older you have to look for a "T" in its name. StrongARM variants
don't have it.

There's a calling convention to allow ARM library code being called
from and returning to either ARM or Thumb mode; the library has to
replace the usual "mov pc,lr" by "bx lr" for this.

I think it would be useful if people reporting "illegal instruction"
traps on ARM machines to report whether they're running on a non-
Thumb- aware cpu; some code has been detected to explicitly use
the Thumb-compatibility calling/returning convention (e.g. one
year ago in the ocaml native compiler, now gmp), and it would be
useful to look for that. As not everybody has sharp enough eyes 
to read the fineprint on his CPU, here's a test program.

#v+
% cat ctest/thumb/Makefile
PROG=thumb
MKMAN=no

.include <bsd.prog.mk>

test: $(PROG)
	./$(PROG)
(Continue reading)

Allen Wong | 9 Nov 02:50

Compiling -current


Hello,

Has anyone been able to compile the toolchain from -current lately?  It
seems to have broken a couple of weeks ago or so.  This is where it fails
for me:

#      link  binstall/xinstall
cc -O -I/usr/obj/tools/compat -I/usr/obj/tools/compat/include
-I/usr/src/tools/binstall/../compat -DHAVE_NBTOOL_CONFIG_H=1
-D_FILE_OFFSET_BITS=64 -I/usr/src/tools/binstall/../compat/sys
-DTARGET_STRIP=\"/tools/bin/arm--netbsdelf-strip\" -I/usr/src/usr.sbin/mtree
 -o xinstall xinstall.lo getid.lo -L/usr/obj/tools/compat -lnbcompat -lz
cc: xinstall.lo: No such file or directory

*** Failed target:  xinstall

Any suggestions are welcome.  Thanks in advance!

Allen
--

-- 
Zaphod Beeblebrox for President!
 5:40PM  up 18 days, 14:01, 2 users, load averages: 0.02, 0.12, 0.15
Andy Ruhl | 6 Nov 19:22
Picon

Sheevaplug/Dockstar -current kernel doesn't build, won't boot

Hello all,

I noticed that the recent -current SHEEVAPLUG kernel won't build, it
complains of symtab space:

Increase options SYMTAB_SPACE in your kernel config

*** Failed target:  netbsd

I increased SYMTAB_SPACE to 725000 and this seemed to work.

But when I try booting the kernel on my Dockstar (with a config
customized for the Dockstar hardware), it panics at init which
happened a few months ago or whenever the last time was that I tried
to boot a -current kernel.

I've got a kernel that works with sources from July 22 right now.

I'm not much good and going through the debugger to figure out what's
going on. I can try to provide my machine to someone if they want to
fix it, I can attach the serial terminal to another machine or
something.

Andy

Sad Clouds | 13 Oct 06:56

Beagleboard

Hi, does NetBSD run on Beagleboard? If yes, then what works and what doesn't?

netbsdfr.lbj | 12 Oct 21:59
Favicon

cross-compiling various packages for ARM [GishPuppy]

Dear all,

I've been playing with a SheevaPlug. I was able to have a fully functional system. However, now I'd like to
add different "packages", like wget, zsh, etc. I cannot compile these packages directly on the Sheeva,
it's damn too slow, so I tried to cross-compile, without success. Here is what I did for wget:

*********************************************************

> ls
ABOUT-NLS   ChangeLog         configure     GNUmakefile  MAILING-LIST  Makefile.in  README
aclocal.m4  ChangeLog.README  configure.ac  INSTALL      maint.mk      msdos        src
AUTHORS     config.log        COPYING       lib          Makefile      NEWS         tests
build-aux   config.status     doc           m4           Makefile.am   po           util

> export CC=/home/floofy/netbsd3/src/obj/tooldir.Linux-2.6.38-8-generic-i686/bin/arm--netbsde^Melf-gcc

> export CFLAGS="-nostdlib -I/home/floofy/netbsd3/src/obj/destdir.evbarm/usr/include"

> export LDFLAGS="-L/home/floofy/netbsd3/src/obj/destdir.evbarm/usr/lib/"

> ./configure --host=arm --without-ssl

configure: WARNING: if you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used
configure: configuring for GNU Wget 1.13.4
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
[...]

*********************************************************
(Continue reading)

David Brownlee | 2 Oct 20:16
Gravatar

Anyone considered a port to the HTC Dream (G1)

ARM11 CPU, 192MB RAM, 512M flash &qwerty keyboard.
Seems like quite a reasonable spec when compared to various embedded arm boards.

Available quite reasonably on eBay & I have a spare... :)

http://wiki.cyanogenmod.com/index.php?title=HTC_Magic

Andy Ruhl | 16 Sep 05:12
Picon

Panic on Seagate Dockstar at boot using recent -current

Hello all,

I built a kernel from sources synced a few hours ago for my dockstar.
I decided to try both the new conf file for SHEEVAPLUG as well as the
one I've been using before, and they both panic right when the kernel
starts init. I had to plug in my serial cable to find out. The last
kernel I built that was working was from July 22nd and I would have
synced src just before building it.

Here's what happened with bt output:

scsibus0 at umass0: 2 targets, 1 lun per target
sd0 at scsibus0 target 0 lun 0: <ST350064, 1A, 3.AA> disk fixed
sd0: fabricating a geometry
sd0: 465 GB, 476940 cyl, 64 head, 32 sec, 512 bytes/sect x 976773168 sectors
boot device: <unknown>
root on sd0a dumps on sd0b
sd0: fabricating a geometry
WARNING: clock lost 4276 days
WARNING: using filesystem time
WARNING: CHECK AND RESET THE DATE!
warning: no /dev/console
panic: init died (signal 0, exit 11)
Stopped in pid 1.1 (init) at    netbsd:cpu_Debugger+0x4:        bx      r14
db> bt
netbsd:panic+0x14
        scp=0xc022c430 rlv=0xc012e1a4 (netbsd:exit1+0x720)
        rsp=0xc2c41e94 rfp=0xc2c41ee0
netbsd:exit1+0x10
        scp=0xc012da94 rlv=0xc012e298 (netbsd:sys_exit+0x3c)
(Continue reading)

Allen Wong | 10 Sep 17:05

Booting -current


Hello,

Has anyone been able to boot a recent -current kernel?  On my Sheevaplug,
init panics with a sig 11:

sd0 at scsibus0 target 0 lun 0: <Generic, USB Disk, 9.02> disk fixed
sd0: fabricating a geometry
sd0: 149 GB, 152627 cyl, 64 head, 32 sec, 512 bytes/sect x 312581808 sectors
boot device: <unknown>
root on sd0a dumps on sd0b
sd0: fabricating a geometry
warning: no /dev/console
panic: init died (signal 0, exit 11)
Stopped in pid 1.1 (init) at    netbsd:cpu_Debugger+0x4:        bx      r14
db> bt
netbsd:panic+0x14
        scp=0xc019b2c0 rlv=0xc00d0bd0 (netbsd:exit1+0x720)
        rsp=0xc340be94 rfp=0xc340bee0
netbsd:exit1+0x10
        scp=0xc00d04c0 rlv=0xc00d0cc4 (netbsd:sys_exit+0x3c)
        rsp=0xc340bee4 rfp=0xc340befc
netbsd:sys_exit+0x10
        scp=0xc00d0c98 rlv=0xc01ae23c (netbsd:syscall+0x8c)
        rsp=0xc340bf00 rfp=0xc340bf8c
        r6=0x00000001 r5=0x00000001
        r4=0x00000000
netbsd:syscall+0x10
        scp=0xc01ae1c0 rlv=0xc01ae48c (netbsd:swi_handler+0xb0)
        rsp=0xc340bf90 rfp=0xc340bfb0
(Continue reading)


Gmane