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
0
votes
1 answer

ImportError: No module named libvirt error whyle trying to install python for libvirt on NetBSD 9.2

I've just installed virt-manager with pkgin on NetBSD 9.2 just because I want to emulate the virtual machines with qemu + nvmm on NetBSD 9.2. The installation of virt-manager went ok. But,when I ran it,an error came up : netbsd-marietto#…
john_connor
  • 165
  • 2
  • 2
  • 15
0
votes
2 answers

GNU as ld flags for assembly on NetBSD for arm

I am trying to assemble a simple Hello World program with the GNU assembler (as) on a Raspberry Pi 3 B+ running NetBSD 9.1 What flags do I need to add to as or ld to make them assemble the code correctly for the architecture I am using? $ as -o…
DX0
  • 51
  • 6
0
votes
2 answers

Trouble compiling ncurses-st-menu for BSD

I found a package on github (https://github.com/okbob/ncurses-st-menu) and am having trouble compile it for BSD platforms like NetBSD or OpenBSD. The instructions say to do ./autogen.sh, ./configure, and then make. So I install the autoconf,…
0
votes
0 answers

How do I set root password for mysql 5.7 on netbsd

I'm trying to get mySQL 5.7 working on NetBSD (unix). When I try "mysql -u root" I get ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO) When I try "mysqld --initialize-insecure" I get [ERROR] --initialize specified…
0
votes
1 answer

Disabling/Enabling interrupts on x86 architectures

I am using NetBSD 5.1 for x86 systems. While studying some driver related code, I see that we use splraise and spllower to block or allow interrupts. I searched some of the mechanisms on internet to understand how these mechanisms work in reality.…
ultimate cause
  • 2,264
  • 4
  • 27
  • 44
0
votes
1 answer

Generic Bit Macros

I'm looking for generic bit macros (e.g. extracting or setting multiple bits), so that I don't have to reinvent them. On NetBSD I found at least __BIT and __BITS in , but glibc doesn't seem to have such macros (though GCC provides some…
user141335
0
votes
1 answer

How to determine if it is safe to remove folders suggested by pkgsrc update?

When updating and upgrading pkgsrc and its packages using sudo pkgin -y update sudo pkgin -y full-upgrade sudo pkgin -y autoremove it suggested that some directories could be deleted: downloading packages... p5-Variable-Magic-0.62.tgz …
qazwsx
  • 25,536
  • 30
  • 72
  • 106
0
votes
1 answer

Restarting inetd should effect instances of all inetd controlled processes

When I am sending HUP signal to inetd so that it rereads the new inetd.conf file, what I want is, the processes controlled by the inetd process should also restart, so that it can read the new command line parameters added to the inetd.conf file as…
Haris
  • 12,120
  • 6
  • 43
  • 70
0
votes
2 answers

How to build netbsd based mobile os

I'm searching for way to start my own project I wanna build a mobile os based on netbsd I will use netbsd ARM kernel to make my own SoC Os could you give a resources and tools to get started
Minovic
  • 11
  • 2
0
votes
1 answer

Coredump logging tricks

What are the techniques generally people follow to dump full core dump if the size of core dump is more than the RAM and flash. Say, kernel core is of 2GB size but we have exactly 2GB of RAM and 1GB of disk space. I am aware external USB and tftp…
paavaanan
  • 49
  • 3
0
votes
1 answer

Clang and -std=libc++ on NetBSD?

I'm trying to compile a program with clang++ and libc++ on NetBSD. Clang version is 3.9.0, and NetBSD version is 7.0.2. The compile is failing with: $ make clang++ -D_NETBSD_SOURCE -m64 -pthread -stdlib=libc++ -fPIC -fvisibility=hidden \ …
jww
  • 97,681
  • 90
  • 411
  • 885
0
votes
1 answer

NETBSD 3.1 error - in malloc(): warning: recursive call

The testing scenario is a ping to come IP and ctr+C are called from a script alternatively. Seems like when the signal handler invoked, the ping was inside the malloc. The signal handler also called the malloc and the malloc returned with the…
Twinkle
  • 514
  • 3
  • 8
0
votes
1 answer

why libusb-1.0 example not print any info on NetBSD7.0?

Install libusb 1.0.19 on NetBSD7.0, use root user to run the sample "listdevs", can not print any info. ( which work well on centos7) I can sure that there 2 usb mass storage devices. Anyone try it? Should other configuration?
jim ying
  • 361
  • 4
  • 17
0
votes
1 answer

Found unknown Linux distribution on /dev/sdb2: grub configuration dual boot Arch Linux and NetBSD-7.0

I have Arch Linux on /dev/sdb1 and NetBSD-7.0 on /dev/sdb2. On Arch Linux when I run sudo grub-mkconfig -o /boot/grub/grub.cfg I get a message like Found unknown Linux distribution on /dev/sdb2 but when I reboot, there is no grub option for that…
Megidd
  • 7,089
  • 6
  • 65
  • 142
0
votes
4 answers

Replacing IP addresses and spaces

I'm trying to transform ifconfig -a to give specific output but I am not sure whether sed is performing well. There is a possibility that the particular version of sed isn't performing as it should (due to different sed counterpart). My ifconfig -a…
Avineshwar
  • 51
  • 5