Questions tagged [netbsd]

NetBSD is an advanced unix-like operating system for modern server, desktop, and embedded computer platforms. It is open source and licensed under the BSD license.

This tag should be used for question pertaining specifically to the NetBSD operating system. In keeping with the intent of SO, this is limited to programming, not such things as use, installation, configuration, or maintenance. Such questions generally belong on Superuser if related to personal/workstation use, or on ServerFault if related to use as a server.

101 questions
1
vote
1 answer

Address Translation of Non Paged Memory

Many parts in kernel memory are non-page-able. What is the setting of page tables for these areas and how logical to physical mapping is done for them? Is there any relation between identity mapping and the wired memory (non-page-able memory)?
1
vote
0 answers

Pthread not working in ARMv7 NetBSD5.1 target

I have compiled a simple pthread_create program and executed the same in NetBSD5.1 on ARMv7 target(cortex a9 CPU). the program sigfaults. The same pthread program is running in another PC without any issue. Below is the sample program void…
1
vote
1 answer

Error installing libmaxminddb

I am trying to install the GEolite2 database on a netbsd server. I can't get past the first make for libmaxmindb. I get the following error; make all-recursive Making all in src Making all in bin Making all in t make: don't know how to make…
Robert Schmid
  • 436
  • 4
  • 14
1
vote
1 answer

Host Only connection NetBSD to Windows

I have NetBSD-4.0.1-x68k installed as a guest virtual machine on Windows (using the XM6i 68030 emulator for windows 7). I am trying to setup a host only connection on the NetBSD guest. However, I can't ping the guest from the host unless I…
IndoNinja
  • 53
  • 8
1
vote
1 answer

NetBSD kernel crash due to cache error - What is good point to start debugging?

Below is the stack trace of NetBSD 5.1 kernel crash. Basic data collected from minicore is : ------------------------------------------------------------- VALID MAGIC: 0xdfeedfee --------------------------PANIC…
ultimate cause
  • 2,264
  • 4
  • 27
  • 44
1
vote
4 answers

UML equivalent for one of the BSDs?

On Linux there exists a thing called a User Mode Linux kernel, which is a kernel built in such a way that it will run as an ordinary, unprivileged user process (not even needing root). It's a cheap and easy virtualisation method that'll even run on…
David Given
  • 13,277
  • 9
  • 76
  • 123
1
vote
1 answer

Issue completing the install script for pkgin/pkgsrc for OSX 10.7, segfault running pkgin

In attempting to install pkgin/pkgsrc (NetBSD-based package managment tools), using the saveosx.org instructions and github repository. The repository has installation instructions, which I followed, up to the point of a specific but uninformative…
mcint
  • 804
  • 8
  • 18
1
vote
1 answer

How can i modify a command in MINIX 3.2.1 so that uses my own system call?

Good evening you all! I'm doing homework on minix 3.2.1, where i'm asked to create an new system call, my_rmdir, that acts exactly like rmdir but also prints the name of the deleted directory. Also I'm supposed to modify the system's source code so…
1
vote
2 answers

compile simple hello-world c program for mips netbsd

the last week I have been trying to set-up a compiler which can compile to netbsd with mips architecture. I cannot find anything on the internet how to do this. All documents refer to compiling the kernel to the architecture but not programs. How…
user2882307
1
vote
1 answer

cross-compiling from linux x32/x64 to netbsd mips/el

I have some embedded systems which run on netbsd with mips processors. I want to play around a little bit with them and as I understand it I need a cross-compiler. I have never done such a thing and all information I find is rather assuming in…
user2882307
1
vote
1 answer

Compilation errors I can't figure out

I have a piece of code that I used to run without problems. But now I'm going back to it and I just can't even compile it! The piece that is not compiling is a .c file and I think it's complaining about libraries. I try to compile it by doing…
coconut
  • 1,074
  • 4
  • 12
  • 30
1
vote
1 answer

Create serial communication in NetBSD

I'm trying to create serial communication in NetBSD. This communication will connect the computer with a controller via RS-485. The problem is that I don't know if it necessary some configuration or driver to do it. Specifically, the…
1
vote
2 answers

OpenSSH failures

I am using OpenSSH version13 in a project. However every now and then nchan.c returns an error when we are trying to connect to the product using ssh, we get the following prints in the product and then the connection is closed. channel 0: rcvd…
theAlse
  • 5,577
  • 11
  • 68
  • 110
1
vote
1 answer

ipv6 i can't connect from the outside

I'm testing IPv6 networking (using FreeBSSD .0, VMWare, NAT), but I can't connect from outside (localhost) via an IPv6 address(using IPv4, it works fine). How can I set up the network properly? [root@ /home/osmund]# cat…
osmund sadler
  • 1,021
  • 2
  • 15
  • 27
0
votes
1 answer

SSH to NetBSD 8.2 guest with X11 gives "X11 forwarding request failed on channel 0"

All, I'm trying to set up SSH X11 forwarding from a NetBSD 8.2 VM (running via QEMU) to a Ubuntu 20.04 host. When I attempt to ssh -X into the machine, the $DISPLAY variable is not set and I get an error message: "X11 forwarding request failed on…
fireshadow52
  • 6,298
  • 2
  • 30
  • 46