Re: netbsd crashes when using fat filesys

2024-05-02 Thread Michael van Elst
rhia...@falu.nl (Rhialto) writes: >$ sudo ./rump_msdos -o rw -o rump ./efi.img /tmp/t >rump_msdos: "./efi.img" is a relative path. >rump_msdos: using "/mnt/scratch/scratch/tmp/xcrash/efi.img" instead. >[ 1.000] entropy: ready >terminal 2: >$ cd /tmp/t >$ ls -l >total 4 >drwxr-xr-x 1

Re: netbsd crashes when using fat filesys

2024-05-02 Thread Michael van Elst
rhia...@falu.nl (Rhialto) writes: >I had something similar recently when doing a rename of a file on a FAT >file system (in this case my /efi file system). Fortunately I had it >mounted with -o rump, because it was 100% repeatable. >I filed http://gnats.netbsd.org/58146 for it. Maybe that's

Re: RPi 4b Wifi Device

2024-04-21 Thread Michael van Elst
michael.chepo...@gmail.com (Michael Cheponis) writes: >I use the built-in GigE adaptor on the RPi 4B, because it's convenient as I >have wired ethernet most places. So I can't help with WiFi. Ethernet is also faster, even when the WiFi chip does 802.11ac. For Wifi on a RPI4b: With RPI-OS

Re: RPi 4b Wifi Device

2024-04-20 Thread Michael van Elst
tomd...@wavecable.com ("Thomas D. Dean") writes: ># wpa_cli status >Selected interface 'bwfm0' >21:58:44.815: bssid=60:38:e0:db:a9:7a >freq=0 >ssid=tddhome >id=0 >mode=station >pairwise_cipher=TKIP >group_cipher=TKIP >key_mgmt=WPA-PSK >wpa_state=GROUP_HANDSHAKE >ip_address=169.254.135.120

Re: RPi 4b Wifi Device

2024-04-19 Thread Michael van Elst
tomd...@wavecable.com ("Thomas D. Dean") writes: >How do I setup wpa_supplicant? That depends on what you want to do. Here are some examples: https://wiki.netbsd.org/tutorials/how_to_use_wpa_supplicant/ Greetings,

Re: RPi 4b Wifi Device

2024-04-19 Thread Michael van Elst
tomd...@wavecable.com ("Thomas D. Dean") writes: >On 4/18/24 22:00, Michael van Elst wrote: >> bwfm0: Firmware file default:brcmfmac43455-sdio.bin >> bwfm0: Firmware file model-spec: brcmfmac43455-sdio.raspberrypi,4-model-b.bin >> bwfm0: Found Firmware file: b

Re: RPi 4b Wifi Device

2024-04-18 Thread Michael van Elst
tomd...@wavecable.com ("Thomas D. Dean") writes: >What is the wifi device in the RPi 4b? Driver? It's a chip similar to the one in the older RPIs: bwfm0: chip 0x4345 rev 6 bwfm0: Firmware file default:brcmfmac43455-sdio.bin bwfm0: Firmware file model-spec:

Re: hostapd

2024-04-04 Thread Michael van Elst
mit DHCP packets. So the symptoms would point to an issue in the ARP or IP layer. -- Michael van Elst Internet: mlel...@serpens.de "A potential Snark may lurk in every tree."

Re: hostapd

2024-04-03 Thread Michael van Elst
pr...@welche.eu (Patrick Welche) writes: >The system httpd via inetd doesn't receive a web page request from the >device. >tcpdump shows the device requesting it, but no response. If httpd wouldn't run, the request would be answered with a TCP RST. If httpd does run, the request (SYN) is

Re: mbrlabel question

2024-03-15 Thread Michael van Elst
ea1...@gmail.com (Ramiro Aceves) writes: > The following options are available: > -f Force an update, even if there has been no change. > -q Performs operations in a quiet fashion. > -r In conjunction with -w, also update the on-disk label. > -s sector

Re: NetBSD and ECC RAM?

2024-02-29 Thread Michael van Elst
kevin.bowl...@kev009.com (Kevin Bowling) writes: >Servers tend to have BMCs, so you can execute 'ipmitool sensors' and >'ipmi sel elist' to get the information out. ECC information is usually not provided by sensors. ECC errors may be listed in the SEL, but even this usually occurs only when

Re: NetBSD and ECC RAM?

2024-02-18 Thread Michael van Elst
michael.chepo...@gmail.com (Michael Cheponis) writes: >I've been running ECC in the Windows box for years, it seems like a 'no >brainer' for servers. Servers usually run for years, and Stuff Happens over >the years [1]. >But I'd prefer a reliable, unhackable, trustable compute fabric. ECC is

Re: NetBSD and ECC RAM?

2024-02-15 Thread Michael van Elst
h...@spg.tu-darmstadt.de ("Hauke Fath (SPG)") writes: >one my favourite blogs is sporting a page on AMD ECC RAM support >, >Is this of any relevance to NetBSD, or do we just not bother? We should have EDAC drivers that

Re: Raspberry Pi Zero W almost useless

2024-02-09 Thread Michael van Elst
ea1...@gmail.com (Ramiro Aceves) writes: >Oh yes, that would be a right technical fix for the problem but it's a >bit of an aberration in terms of cost and size to use a powered HUB with >its own power supply to fix a little thing like the ZeroW, you know ;-) RPI0-3 models all have issues

Re: NetBSD 10.0 RC_3 GENERIC amd64 home built kernel doesn't boot

2024-02-04 Thread Michael van Elst
fekete.zol...@minux.hu (=?UTF-8?Q?Fekete_Zolt=C3=A1n?=) writes: >Hi There, Hi, maybe you can provide more information. >I have a laptop from 2013, and I'm playing around with it. >I've just compiled a kernel with the command: >./build.sh -T ../tools -O ../obj -U -N1 -j2 kernel=GENERIC is

Re: shrinking a filesystem using resize_ffs(8)

2024-02-01 Thread Michael van Elst
jscha...@netmeister.org (Jan Schaumann) writes: >Hi, Hi, >$ sudo newfs -C 2 /dev/rvnd0a There is no '-C'. Maybe -O 2 ? But resize_ffs doesn't support shrinking FFS2 and should complain when you try. >[ back to two '1048576' sized partitions ] >$ sudo fsck_ffs -y -f /dev/rvnd0b >[ all ok ]

Re: WireGuard setup in NetBSD 10

2024-01-18 Thread Michael van Elst
k...@krot.org (Kirill Miazine) writes: >> Maybe he still has auto_ifconfig=NO ? >no, he didn't... but issue was if_wg not being loaded upon boot -- but >loaded when ifconfig wg0 create was called. The perils of the module autoloader.

Re: WireGuard setup in NetBSD 10

2024-01-18 Thread Michael van Elst
mar...@duskware.de (Martin Husemann) writes: >On Thu, Jan 18, 2024 at 10:23:11AM +0100, Kirill Miazine wrote: >> Does your custom kernel provide some wg devices initially? >No, but "ifconfig -C" lists wg as a clonable device, so /etc/ifconfig.wg0 >is loaded. Maybe he still has auto_ifconfig=NO

Re: Network and port redirection with QEMU not working with package compiled on 10.0_RC1

2024-01-03 Thread Michael van Elst
baba...@babafou.eu.org (Marc Baudoin) writes: >Has anybody got a working QEMU (at least network-wise) compiled >on NetBSD 10.0_RC[12]? No problems here, neither with qemu-8.1.0 (2023Q3) nor qemu-8.1.3 (2023Q4): Host: NetBSD tazz 10.99.10 NetBSD 10.99.10 (TAZZ) #311: Sun Dec 24 15:24:24 UTC 2023

Re: Prob using CPIO

2024-01-01 Thread Michael van Elst
tgru...@gmail.com (Todd Gruhn) writes: >I zip up much music: > find . -depth -print | cpio -ov > file.cpio >To unzip it , I must undo *cpio severa times severa times: > cpio -iv < file.cpio Your 'zip' packs the local directory including the cpio file that is being created. You don't have

Re: After -10 patch that fixes kern/57669

2023-12-27 Thread Michael van Elst
joel.bertr...@systella.fr (=?UTF-8?Q?BERTRAND_Jo=c3=abl?=) writes: > I have seen Michael has applied patch to fix ccb_timout to -10 kernel. >Thus, I have rebuilt my tree to have a unpatched kernel and I cannot now >access to my NAS over iSCSI. Of course, I have reinstalled kernel /and/

Re: Are The Packages Gone Again?

2023-12-19 Thread Michael van Elst
j...@m5.chicago.il.us ("Jay F. Shachter") writes: >I was able to reinstall ghostscript (as I stated). The others -- >ImageMagick6, atril, gv, libspectre and okular -- are gone. At least there was no problem to build them. -rw-r--r-- 1 root wheel 11102472 Sep 29 14:25

Re: Are The Packages Gone Again?

2023-12-19 Thread Michael van Elst
j...@m5.chicago.il.us ("Jay F. Shachter") writes: >Are the NetBSD 10 packages gone again? I recently removed ghostscript >with the intention of re-installing it (gs was complaining that there >was no libtiff.so, which is preposterous, because there was, but I >didn't want to argue with it).

Re: iscsid - lfs and ipv6 issues

2023-11-19 Thread Michael van Elst
mount a root filesystem. So no idea yet what error is triggered. On the other hand, attempting to use LFS showed errors with handling block sizes and running the filesystem tester (fsx) somewhen paniced the system. Whatever was "fixed" in LFS was not good enough :-/ Greetings, --

Re: CGD - unable to open after closing, using '-V gpt', argon2id and adiantum

2023-11-19 Thread Michael van Elst
luisvmen...@yandex.com (Luis Mendes) writes: >== Now, trying to open the container again: >cgdconfig -V gpt cgd0 NAME=nvme-crypt /etc/cgd/nvme-crypt >After entering the four zeroes password, there's the message: >"cgdconfig: verification failed, please reenter passphrase". >What is wrong with

Re: iscsid - lfs and ipv6 issues

2023-11-18 Thread Michael van Elst
On Sat, Nov 18, 2023 at 07:47:47PM +0700, Robert Elz wrote: > > Using getaddrinfo() would be much better of course. That's what I have now -- Michael van Elst Internet: mlel...@serpens.de "A potential Snark may lu

Re: iscsid - lfs and ipv6 issues

2023-11-18 Thread Michael van Elst
k...@munnari.oz.au (Robert Elz) writes: >That looks to me as if it should work, and is a lot cleaner, though >I doubt there's a great need to remove the [] if they were given. getaddrinfo() doesn't strip or handle brackets.

Re: iscsid - lfs and ipv6 issues

2023-11-18 Thread Michael van Elst
k...@munnari.oz.au (Robert Elz) writes: > | The address parser looks broken. >It certainly is, it is horrid. >and the relevant function is get_address() Maybe the patch below. It's still a bit naive (you can bracket anything, not just ipv6 literals). The address string is later used in

Re: iscsid - lfs and ipv6 issues

2023-11-17 Thread Michael van Elst
lis...@nebelschwaden.de (Ede Wolf) writes: >I am having two issues with iscsid/iscsictl. First, it seems, I cannot >mount an lfs formatted iscsi lun, no matter wether this drive is >gpt/wedge or plain disklabelled: ># mount -t lfs /dev/dk0 /import/ >mount_lfs: /dev/dk0 on /import: Operation

Re: rc.local nightmare

2023-10-30 Thread Michael van Elst
ea1...@gmail.com (Ramiro Aceves) writes: >My script says on the console "Network connectivity to $TARGET is OK." >several times before the script dies. So ping works fine. (I have set >INTERVAL=3 seconds just to speed things up during testing. Your script shouldn't create output from a

Re: NetBSD 10 Beta: Updating The Base System

2023-10-10 Thread Michael van Elst
stays the same. Greetings, -- Michael van Elst Internet: mlel...@serpens.de "A potential Snark may lurk in every tree."

Re: Bluetooth status, compatible USB Bluetooth adapters?

2023-10-04 Thread Michael van Elst
dyo...@pobox.com (David Young) writes: >By the way, to interoperate with Bluetooth Low Energy devices, is >anything beyond a compatible USB Bluetooth adapter needed? For example, >kernel or utility changes? So far we don't support BLE at all. Devices that talk only BLE cannot be used. My

Re: Where are the 10.0 packages?

2023-09-28 Thread Michael van Elst
j...@m5.chicago.il.us ("Jay F. Shachter") writes: >system a dhcp client of the other laptop), and I cannot, because the >packages are no longer at >http://ftp.NetBSD.org/pub/pkgsrc/packages/NetBSD/amd64/10.0/All where >they used to be. netbsd-10 got a second flag day, first when updating

Re: UEFI installation

2023-08-14 Thread Michael van Elst
g...@lexort.com (Greg Troxel) writes: >For the EFI partition, what are the rules? It seems like > the size is at least X and less than Y 100MB is the minimum, some systems reject smaller EFI partitions. It also should be FAT32.

Re: ZFS Bogosity

2023-08-14 Thread Michael van Elst
asier method though. > > Yes, that seems not to have any real downsides and would make it behave > as expected. SMOP -- Michael van Elst Internet: mlel...@serpens.de "A potential Snark may lurk in every tree."

Re: ZFS Bogosity

2023-08-13 Thread Michael van Elst
rrange for "volume labels" to be visible in the filesystem (e.g. use devpubd to create symlinks for wedges, or invent a device filesystem that is filled by the kernel) and let zfs scan these. Makeing zfs scan disklabel partitions derived from hw.disknames seems to be the e

Re: ZFS Bogosity

2023-08-13 Thread Michael van Elst
g...@lexort.com (Greg Troxel) writes: >David Brownlee writes: >> https://gnats.netbsd.org/57583 >Do you think this is just a bug that it fails to look at wd3e >etc. wrongly if there is /dev/zfs? The code scans all devices in the specified device directory, unless it's /dev/. Then it uses

Re: would anybody use binary packages for NetBSD/i386 10?

2023-08-13 Thread Michael van Elst
g...@lexort.com (Greg Troxel) writes: >it was underpowered, that I might or might not ever power up again, and >if I did I wouldn't use ftp.n.o packages on it. What else? Self-compiling on a system you already consider outdated? :) Binary packages are more important on systems that we consider

Re: NetBSD 10 BETA successfully installed, does not recognize my wireless network device

2023-08-07 Thread Michael van Elst
j...@m5.chicago.il.us ("Jay F. Shachter") writes: >else. According to the output that I obtain when I boot my computer >into OpenBSD and invoke the "pcidump -v" command -- and I have to >engage in this roundabout procedure because I do not see a pcidump >command, or anything resembling it, on my

Re: Network interface slowness

2023-08-01 Thread Michael van Elst
joel.bertr...@systella.fr (=?UTF-8?Q?BERTRAND_Jo=c3=abl?=) writes: >CISCO FTTH adapter > || > || >netbsdLinux > | > | > lan >On NetBSD (-10) or workstations on LAN: >- 400 Mbps downlink; >- 4 (!) Mbps uplink, yes, 4 Mbps. What happens when you unplug one of the

Re: zfs pool behavior - is it ever freed?

2023-07-29 Thread Michael van Elst
g...@lexort.com (Greg Troxel) writes: >mlel...@serpens.de (Michael van Elst) writes: >> t...@netbsd.org (Tobias Nygren) writes: >> >>>There exists ZFS code which hooks into UVM to drain memory -- but part >>>of it is ifdef __i386 for some reason. See arc_kmem_

Re: zfs pool behavior - is it ever freed?

2023-07-29 Thread Michael van Elst
t...@netbsd.org (Tobias Nygren) writes: >There exists ZFS code which hooks into UVM to drain memory -- but part >of it is ifdef __i386 for some reason. See arc_kmem_reap_now(). That's an extra for 32bit systems (later code replaced __i386 with the proper macro) where kernel address space is much

Re: zfs pool behavior - is it ever freed?

2023-07-28 Thread Michael van Elst
On Fri, Jul 28, 2023 at 12:26:57PM -0400, Greg Troxel wrote: > mlel...@serpens.de (Michael van Elst) writes: > > > g...@lexort.com (Greg Troxel) writes: > > > >>I'm not either, but if there is a precise description/code of what they > >>did, th

Re: zfs pool behavior - is it ever freed?

2023-07-28 Thread Michael van Elst
g...@lexort.com (Greg Troxel) writes: >I'm not either, but if there is a precise description/code of what they >did, that lowers the barrier to us stealing* it. (* There is of course >a long tradition of improvements from various *BSD being applied to >others.) The FreeBSD code is already there

Re: zfs pool behavior - is it ever freed?

2023-07-27 Thread Michael van Elst
to force ZFS to > give up its pool usage. At least not in the current incarnation. There are lots of tunables though that are supposed to limit ZFS memory usage, but so far we do not expose these (FreeBSD does). -- Michael van Elst Internet: mle

Re: zfs pool behavior - is it ever freed?

2023-07-27 Thread Michael van Elst
g...@lexort.com (Greg Troxel) writes: > RAM and/or responds to pressure. That's why we see almost no reports > of trouble expect for zfs. There is almost no pressure on pools and several effects prevent pressure from actually draining pool caches. There is almost no pressure on vcache and

Re: NetBSD & disks with 4K sector size

2023-07-20 Thread Michael van Elst
g...@lexort.com (Greg Troxel) writes: >mlel...@serpens.de (Michael van Elst) writes: >> The xbd driver lies about the sector size and always reports 512byte >> sectors. If you pass through a 4k sector host disk, this make some >> I/O operations fail. >What do you sug

Re: NetBSD & disks with 4K sector size

2023-07-20 Thread Michael van Elst
g...@lexort.com (Greg Troxel) writes: >With any luck, this is supported and the xbd driver in NetBSD is just >not noticing the sector size variable and it's a fairly small matter of >programming. The xbd driver lies about the sector size and always reports 512byte sectors. If you pass through a

Re: NetBSD & disks with 4K sector size

2023-07-20 Thread Michael van Elst
li...@nerdbynature.de (Christian Kujau) writes: >So, my question is: does NetBSD work with 4k sector size disks? I found >two[1][2] threads from 11 years ago, but nothing conclusive and with >somewhat conflicting[3][4] information. The NetBSD Xen PV xbd device lies about sector sizes so that

Re: bioctl cosmetic issue

2023-06-24 Thread Michael van Elst
j...@ziaspace.com (John Klos) writes: >[ 1.033007] mfii0 at pci1 dev 0 function 0: "LSI MegaRAID SAS 9271-4i", >firmware 23.34.0-0019, 1024MB cache >Where is bioctl supposed to get the sector size? bioctl prints a struct bioc_vol which has the volume size in bytes. The calculation is done

Re: Call for testing: Diagnostics for broken downloads from NetBSD.org CDN

2023-06-18 Thread Michael van Elst
On Sat, Jun 17, 2023 at 08:14:20AM -0400, Greg Troxel wrote: > mlel...@serpens.de (Michael van Elst) writes: > > Fastly caches data in segments: > > https://docs.fastly.com/en/guides/segmented-caching > Is a client that writes a partial file and exits considered buggy? May de

Re: Call for testing: Diagnostics for broken downloads from NetBSD.org CDN

2023-06-17 Thread Michael van Elst
riastr...@netbsd.org (Taylor R Campbell) writes: >We've been hearing reports of intermittent issues with broken partial >downloads via our content delivery network, Fastly, from >cdn.NetBSD.org, nycdn.NetBSD.org, and/or archive.NetBSD.org, >particularly of large files like the installer images.

Re: touch screen support

2023-05-29 Thread Michael van Elst
dty...@anduin.org.uk (Dave Tyson) writes: >I guess these touch screens need some calibration to set the x/y bounds >and maybe some mods to the driver. Can anyone hit me with a cluebat as >to where to start... There are lots touchpads that need a more relaxed interpretation of their capabilities.

Re: Raspberry Pi 3 and NetBSD 10.0_BETA - WiFi stops working after few hours and wonky USB keyboard

2023-03-27 Thread Michael van Elst
bbartlomiej.m...@gmail.com (Bartek Krawczyk) writes: >> Perhaps the device is going into power saving mode and your connection >> terminates? >There's "powersave off" in the ifconfig output and I've issued the >ifconfig bwfm0 -powersave command explicitly as well. No change. The default in

Re: Prob with my speakers

2023-03-01 Thread Michael van Elst
tgru...@gmail.com (Todd Gruhn) writes: >Speakers where cracking a lot. I noticed that when I reboot >NetBSD I saw some info printed. >How to I catch this and send it in? Is it in a log I can view? The early messages should be in /var/run/dmesg.boot. Output from starting services is logged in

Re: Keeping NetBSD disklabel up to date

2023-01-30 Thread Michael van Elst
wolfg...@solfrank.net (Wolfgang Solfrank) writes: >> Or you can run mbrlabel (without -w) and replace the previous entries >> accordingly. >No, without -w, mbrlabel will just print out the modified disklabel, >but will neither change the in-core label nor the one on disk. Indeed. you print the

Re: Keeping NetBSD disklabel up to date

2023-01-27 Thread Michael van Elst
bea...@sdf.org writes: >So it sounds like mbrlabel by itself would not have been sufficient for >avoiding this scenario; it's output still needs to be applied via the >disklabel tool; is that correct? Yes. > I'm sort of surprised as the mbrlabel(8) >manpage says > "mbrlabel is used to update

Re: Keeping NetBSD disklabel up to date

2023-01-26 Thread Michael van Elst
bea...@sdf.org (beaker) writes: >Is it safe and sufficient to run 'mbrlabel -fw ' on NetBSD >whenever there has been partition resizing (usually via Gpartd) >such that the disklabel no longer reflects the current partitioning >state? mbrlabel creates disklabel entries for MBR partition entries,

Re: FFSv2ea

2023-01-16 Thread Michael van Elst
clays.sh...@sdf.org (Clay Daniels) writes: >If I try this:    #gpt show wd0 >I get this:        GPT part - NetBSD FFSv1/FFSv2 >Then the next installation I deliberately used the default of FFSv2, I >get the same thing. I'm sure I must be expecting the gpt command to do >more than it

Re: NetBSD-10.0_BETA: clock: unknown CMOS layout

2022-12-23 Thread Michael van Elst
dposto...@yandex.ru (Dmitrii Postolov) writes: >"clock: unknown CMOS layout" The message says that no century information is found in the CMOS RAM, the hardware clock itself seems to keep only 2 year digits. The century is then deduced as 1900 if the year number is less than 70 and 2000

Re: NetBSD-10.0_BETA: clock: unknown CMOS layout

2022-12-23 Thread Michael van Elst
dposto...@yandex.ru (Dmitrii Postolov) writes: >On boot of NetBSD-10.0_BETA the message "clock: unknown CMOS layout" is >printed. There is no this message at boot on NetBSD-9.x. It's a DIAGNOSTIC message, if you run NetBSD-9.x release, the kernel is built without DIAGNOSTIC checks and messages,

Re: resolv.conf

2022-12-10 Thread Michael van Elst
tgru...@gmail.com (Todd Gruhn) writes: >Spectrum upgraded. I start NetBSD, and /etc/resolv.conf has nothing. >How do I fix this? >Should there be any minimal resolv.conf settings??? You either get network settings automatically via DHCP (and that should include data for resolv.conf) or you have

Re: IBM IMM shared port

2022-12-09 Thread Michael van Elst
kab...@lich.phys.spbu.ru (Dima Veselov) writes: >I have an IBM x3200 M3 server with built-in IMM IPMI service >processor. This server have IPMI network port shared with first network >card. This setup is quite popular and I have several different servers >having no issues with that. While

Re: Debugging socket options

2022-12-04 Thread Michael van Elst
br...@nmsu.edu (Brook Milligan) writes: > 18808 18808 guppy_basecaller CALL socketpair(1,5,0,0x7f7fdb98) socketpair(PF_LOCAL, SOCK_SEQPACKET, 0, ); > 18808 18808 guppy_basecaller CALL = >setsockopt(3,1,0x10,0x7f7fda14,4) setsockopt(3, SOL_SOCKET, SO_PASSCRED, , sizeof(val)); I

Re: ldd-linux

2022-12-03 Thread Michael van Elst
xactly the version is was built for. Greetings, -- Michael van Elst Internet: mlel...@serpens.de "A potential Snark may lurk in every tree."

Re: timers slow (sleep 1 taking five seconds)

2022-12-03 Thread Michael van Elst
r...@reedmedia.net ("Jeremy C. Reed") writes: >acpi0: fixed power button present >timecounter: Timecounter "ACPI-Fast" frequency 3579545 Hz quality 1000 >hpet0 at acpi0: high precision event timer (mem 0xfed0-0xfed00400) >timecounter: Timecounter "hpet0" frequency 14318180 Hz quality 2000

Re: ldd-linux

2022-12-03 Thread Michael van Elst
br...@nmsu.edu (Brook Milligan) writes: >All but one of these are provided by the emulators/suse131_base and = >emulators/suse131_glib2 packages; the missing one is libstdc++.so.6. = Hmm. emulators/suse131_base (from 2022Q3 release) comes with: /usr/pkg/emul/linux/usr/lib64/libstdc++.so.6

Re: Local-only (non-ip) rpcbind(8)?

2022-11-18 Thread Michael van Elst
h...@spg.tu-darmstadt.de (Hauke Fath) writes: >> if (ipv6_only == 1 && >And here is where I naively would insert a commandline option flag to >disable all things non-local. Unless something like that already exists, >and I just didn't see it. >>

Re: Local-only (non-ip) rpcbind(8)?

2022-11-18 Thread Michael van Elst
h...@spg.tu-darmstadt.de (Hauke Fath) writes: >Hi, >can rpcbind(8) be set up to only use local transport, as opposed to >binding to interfaces? >The closest I seem to come to that goal is by specifying '-h 127.0.0.1', >which results in a pointless >Nov 18 15:45:05 HOST rpcbind: cannot bind

Re: switched from 9.99 to 9.3, init dies

2022-11-17 Thread Michael van Elst
riccardo.mott...@libero.it (Riccardo Mottola) writes: >After the upgrade (which I believe is partially a downgrade, I don't >know when 9.3 was forked) boot dies with "panic: init died" apparently >in snprintf. I would guess that "upgrading" killed your libc. You can try to boot with -a (ask)

Re: More floppy oddities

2022-11-17 Thread Michael van Elst
michael.chepo...@gmail.com (Michael Cheponis) writes: >--7795b905eda356fd >Content-Type: text/plain; charset="UTF-8" ># scsictl sd1 format >/dev/rsd1: Check Condition on CDB: 1a 00 03 00 24 00 >SENSE KEY: No Additional Sense > ASC/ASCQ: No Additional Sense Information >I

Re: noob Question: How to format a floppy on a USB floppy disk drive (on RPi 4) ?

2022-11-15 Thread Michael van Elst
On Tue, Nov 15, 2022 at 04:04:05PM -0800, Michael Cheponis wrote: > Nov 15 23:42:22 arm64 /netbsd: [ 1728677.3990874] sd1(umass1:0:0): not > ready, data = 00 00 00 00 3a 00 00 00 00 00 > Nov 15 23:42:22 arm64 /netbsd: [ 1729062.2630115] sd1: detached > Nov 15 23:42:22 arm64 /netbsd: [

Re: noob Question: How to format a floppy on a USB floppy disk drive (on RPi 4) ?

2022-11-14 Thread Michael van Elst
ssthrough: adapter inconsistency" - "unknown error category %d from adapter" Greetings, -- Michael van Elst Internet: mlel...@serpens.de "A potential Snark may lurk in every tree."

Re: noob Question: How to format a floppy on a USB floppy disk drive (on RPi 4) ?

2022-11-14 Thread Michael van Elst
michael.chepo...@gmail.com (Michael Cheponis) writes: >I would think 'fdformat' would work, but... >*arm64# ./fdformat -f /dev/rsd1 >*fdformat: Device `/dev/rsd1' does not support floppy formatting: >Inappropriate ioctl for device* Try 'scsictl sd1 format'.

Re: Used HDs

2022-11-11 Thread Michael van Elst
tgru...@gmail.com (Todd Gruhn) writes: >WOW! 15+ years? 9 10 no online positivePower-on hours count108926 5 200 140 yes online positiveReallocated sector count0 That's >12 years. Part of the equation is that it's running almost continously at a rather

Re: building new kernel on upgraded system

2022-11-09 Thread Michael van Elst
r0l...@freemail.hu (r0ller) writes: > Hi All,I've just tried to build a custom configured kernel on a > system that was installed originally as 9.1 and later upgraded to > 9.2 and 9.3. Executed in /usr/srcbuild.sh toolswhich ended successfully > but the (beginning part of the) summary looks

Re: Adding files to the NetBSD source tree

2022-11-09 Thread Michael van Elst
stephan...@googlemail.com (Stephan) writes: >Hallo, >1) Put the header file into sys/sys in the source tree: >2) Made sure it contains an (I think) RCS tag. RCS tags are maintained by the version control system. For most parts these are just documentation and you either leave them out or

Re: Does any common mortals here (not programmers or sysads) use NetBSD as their daily productivity driver?

2022-10-11 Thread Michael van Elst
bl...@internode.on.net (Brett Lymn) writes: >On Wed, Sep 28, 2022 at 05:16:37PM +0530, Mayuresh wrote: >> >> - Laptop touchpad behaving erratically. (Workaround is to use external >> mouse - if that is workable. However even little unintentional touch can >> irk the touchpad.) >> >For this

Re: Growing sshd process count

2022-10-08 Thread Michael van Elst
On Sat, Oct 08, 2022 at 07:51:48AM +0530, Mayuresh wrote: > On Fri, Oct 07, 2022 at 02:14:09PM -0000, Michael van Elst wrote: > > Someone is brute-forcing your account passwords. > > Thanks. I think blacklistd is protecting me. > > But doesn't this qualify as a DDOS att

Re: Growing sshd process count

2022-10-07 Thread Michael van Elst
mayur...@acm.org (Mayuresh) writes: >On NetBSD 9.2 amd64 VPS I noticed system slowness and top showed too many >ssh processes - 49 to be precise. >I have blacklistd enabled and approximately in every 2 to 3 minutes a new >IP address is getting blocked. >Using console access I stopped ssh

Re: Multiple instances of the same mount point in fstab not possible? (want to layer multiple filesystems into one namespace via union mount option)

2022-09-24 Thread Michael van Elst
m...@petermann-it.de (Matthias Petermann) writes: >NAME=data1 /export ffs rw,log,union 0 0 >NAME=data2 /export ffs rw,log,union 0 0 >NAME=data3 /export ffs rw,log,union 0 0 >Here, only the first file system is

Re: NetBSD iSCSI target on ZVOL used as block device for Qemu - iSCSI: NOP timeout

2022-09-19 Thread Michael van Elst
m...@petermann-it.de (Matthias Petermann) writes: >Just out of interest - how can the state of the iscsi implementation in >NetBSD-Base be assessed in general? Is the implementation outdated >and/or unstable, or are there (compatibility?) reasons for this? There is a userland implementation

Re: NetBSD iSCSI target on ZVOL used as block device for Qemu - iSCSI: NOP timeout

2022-09-18 Thread Michael van Elst
m...@petermann-it.de (Matthias Petermann) writes: >thanks for your suggestion. Do you mean this package: > http://cvsweb.netbsd.org/bsdweb.cgi/pkgsrc/net/netbsd-iscsi-target/ >? I'm not sure if you mean this one, because the last change here was 9 >years ago. Use the net/istgt package.

Re: Build original Csh on Linux and FreeBSD.

2022-09-12 Thread Michael van Elst
h...@spg.tu-darmstadt.de (Hauke Fath) writes: >[hf@Gstoder] ~ > csh >[ 3270305.6523634] load: 0.23 cmd: csh 21649 [ttyraw] 0.00u 0.00s 0% 2252k >Ah well... Doesn't "hang", but doesn't prompt. Despite el_set(el, EL_PROMPT, printpromptstr); the function printpromptstr isn't called.

Re: Access FFS partition on GPT on ZVOL

2022-09-07 Thread Michael van Elst
m...@petermann-it.de (Matthias Petermann) writes: >saturn$ doas dmsetup create net-export --table "34 2147483581 linear >/dev/zvol/rdsk/tank/backup/vhost/vol/net-export 0" >create and load called Please try: --table "0 2147483581 linear /dev/zvol/dsk/tank/backup/vhost/vol/net-export 34" left

Re: Qemu/nvmm - time in NetBSD guest system lags behind (with estd on host)

2022-09-04 Thread Michael van Elst
p...@whooppee.com (Paul Goyette) writes: >You would have to modify the appropriate module's Makefile to add >the HZ=1000 definition. ZFS doesn't use HZ, but in osnet/sys/sys/time.h it uses a value hz=100 to compute the lbolt time. Does this help ? Index: external/cddl/osnet/sys/sys/time.h

Re: Access FFS partition on GPT on ZVOL

2022-09-03 Thread Michael van Elst
m...@petermann-it.de (Matthias Petermann) writes: >saturn$ doas dkctl /dev/zvol/rdsk/tank/backup/vhost/vol/net-export=20 >addwedge myexport 34 2147483581 ffs >dkctl: /dev/zvol/rdsk/tank/backup/vhost/vol/net-export: addwedge:=20 >Inappropriate ioctl for device A zvol is no disk and doesn't

Re: newfs_msdos says vnconfiged device read-only, newfs doesn't say so

2022-08-08 Thread Michael van Elst
mayur...@acm.org (Mayuresh) writes: >4 partitions: >#sizeoffset fstype [fsize bsize cpg/sgs] > a: 4194304 0 4.2BSD 0 0 0 # (Cyl. 0 - > 2047) > d: 4194304 0 unused 0 0# (Cyl. 0 - > 2047) >

Re: PCIe --> NVMe adapters?

2022-07-16 Thread Michael van Elst
p...@whooppee.com (Paul Goyette) writes: >Is anyone using such beasts on NetBSD? For example, on a x86 >mothrboard that doesn't have an NVMe slot the adapter can convert >an unused PCIe 3.0 x4 into an NVMe? If it is a card for a single M.2 device, it's just wires. If it is a card for multiple

Re: Setting keyboard layout on xterm

2022-06-30 Thread Michael van Elst
dic...@his.com (Thomas Dickey) writes: >NetBSD doesn't have any "in-tree" X applications (that's all from pkgsrc, >which is supposedly distinct from src). You will find "native" X in the xbase,xcomp,.. sets.

Re: how to limit /etc/daily to local only, and cleasring bad nfs

2022-06-18 Thread Michael van Elst
st...@prd.co.uk (Steve Blinkhorn) writes: >Some off-list discussion has clarified matters. The fundamental problem is >that nfs >mounts are not restored automatically when an nfs server is rebooted - and that >may happen automatically so the sysadmin is unaware. Actually that's the opposite

Re: how to limit /etc/daily to local only, and cleasring bad nfs mounts

2022-06-18 Thread Michael van Elst
mpumf...@mudcovered.org.uk (Mike Pumford) writes: >I've got 2 BSD system both 9.2-STABLE one of which provides an NFS /home >and a few other odd paths as well to the other. The /etc/daily process >on the client isn't scanning the server filesystems in my setup and I'm >not aware of any

Re: Disk label problem?

2022-06-14 Thread Michael van Elst
tsp...@talent-free-studios.com (Ted Spradley) writes: >As long as it's the only disk attached this boots up and works fine: >But if there is any other drive attached, that other drive gets mounted as >root (apparently). What is on that other drive ? Here is a rough description of the default

Re: Strange formatting of literal block in bc(1) man page

2022-05-26 Thread Michael van Elst
p...@whooppee.com (Paul Goyette) writes: > define py (y) { print "--->", y, "<---", "\n"; } >define py (y) { print "--->", y, "<---", "0; } Backslashes To include a literal backslash (\) into the output, use the (\e) escape sequence. Note that doubling it

Re: Intermittent loss of connectivity while with iwm

2022-04-29 Thread Michael van Elst
bsd...@gmail.com (Salil Wadnerkar) writes: >--f839dd05ddcb7a0c >Content-Type: text/plain; charset="UTF-8" >Hi, >My laptop has `Intel Dual Band Wireless AC 8265`, and I get >`autoconfiguration error: pms_enable` for this device, and lose >connectivity. I observed this on NetBSD 9.2

Re: unrecognized root device and kernel panic during 9.2 amd64 installation

2022-04-29 Thread Michael van Elst
ti...@seco.ws (Tiago Seco) writes: >I'm trying to install via the NetBSD-9.2-amd64-install.img image, and >the root device is not recognized: >https://imgur.com/a/uqHgZNV >If I press `enter` I get the following suggested options: >https://imgur.com/a/glrU9JY Looks like 'dk1' is the correct

Re: Couldn't boot NetBSD-9.2-amd64-install.img on bhyve VM

2022-04-20 Thread Michael van Elst
u...@e-yuuki.org (Yuuki Enomoto) writes: ># gpt create -p 128 ld0 >gpt: /dev/rld0: Media size can't be 0 The media size is read as: ld->sc_secperunit = virtio_read_device_config_8(vsc, VIRTIO_BLK_CONFIG_CAPACITY) / (ld->sc_secsize / VIRTIO_BLK_BSIZE); So the host appears

Re: NetBSD-Archive down?

2022-04-15 Thread Michael van Elst
mdehl...@gmail.com (Malte Dehling) writes: >;; ANSWER SECTION: >archive.netbsd.org. 1603IN CNAME >dualstack.o.ssl.global.fastly.net. >dualstack.o.ssl.global.fastly.net. 30 IN A 151.101.1.6 >dualstack.o.ssl.global.fastly.net. 30 IN A 151.101.65.6

Re: how to install a Fortran compiler on NetBSD?

2022-04-01 Thread Michael van Elst
ac.russ...@live.com (Adam Russell) writes: >There doesn't seem to be a fortran compiler available in pkgsrc? I saw >some mentions of gfortran but that must be out of date information as I >cannot find it. I understand, of course, that gfortran is part of the >gcc suite but that doesn't help me as

Re: restore super block? recover missing data?

2022-03-20 Thread Michael van Elst
r...@reedmedia.net ("Jeremy C. Reed") writes: >FFSv2 sb at 2176 size 623508480, last mounted on >FFSv2 sb at 2240 size 623508480, last mounted on / One more thing. Since the first superblock is found, it might be still ok and you only need to recover the disklabel (and handle the bad blocks

  1   2   3   4   5   6   >