Re: RPi 4b Wifi Device

2024-04-21 Thread Michael Cheponis
I run an RPi 4B/8G with external USB SSD drive; I do this because my uSD cards were getting worn out after about a year of use; I've had no such problems with my Samsung 870 EVO nor Samsung SSD T7. I use the built-in GigE adaptor on the RPi 4B, because it's convenient as I have wired ethernet

Re: RC6 (and later)

2024-03-16 Thread Michael Cheponis
I am not on the Release Team or involved except as a user --- however, I greatly approve of _RC6 release, AND the additional time it will take for people to beat on it before it becomes the 10.0 release. We have more hardware to properly work on now (just for starters, all RPi up to 4 at least),

'forgot' password ? Couldn't generate salt

2024-02-29 Thread Michael Cheponis
I did a sysupgrade to amd64 to _RC5 (from _RC3), but it seems to have reset my passwords. The accounts are there, just the passwords have been changed. Tried logging in single-user as described in https://www.netbsd.org/docs/guide/en/chap-boot.html # passwd root ... Couldn't generate salt.

Re: NetBSD and ECC RAM?

2024-02-18 Thread Michael Cheponis
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]. Most of the computing industry has been hell-bent on performance, yielding impressive gains (albeit with occasional setbacks:

./build.sh -O ../obj tools producing error

2023-07-24 Thread Michael Cheponis
Hi, fresh download; /usr/src nonexistent, /usr/obj nonexistent # cd /usr # cvs checkout -A -P src # cd src # ./build.sh -O ../obj tools gives me: << stuff >> cc -o nbmake arch.o buf.o compat.o cond.o dir.o for.o hash.o job.o lst.o main.o make.o make_malloc.o meta.o metachar.o parse.o str.o

Transparent Page Placement

2023-06-14 Thread Michael Cheponis
TPP apparently improves 'hot' data locality with a low-overhead algorithm that has been implemented in mainstream Linux. https://cse.engin.umich.edu/stories/new-technique-for-memory-page-placement-integrated-into-linux-kernel

Re: How to use the 'ls' -M flag?

2023-05-28 Thread Michael Cheponis
26, 2023 at 11:50 PM RVP wrote: > On Fri, 26 May 2023, Michael Cheponis wrote: > > > I'm having no success trying to get ls to print file sizes, using the -M > > flag. > > > > The `thousands separator' char. is locale-specific. In the default C/POSIX > locale,

How to use the 'ls' -M flag?

2023-05-27 Thread Michael Cheponis
I'm having no success trying to get ls to print file sizes, using the -M flag. -MModifies the -l and -s options, causing the sizes or block counts reported to be separated with commas (or a locale appropriate separator) resulting in a more readable output.

Re: libc license

2023-02-10 Thread Michael Cheponis
I believe the font size of the printed documentation is not specified... I liked what Perry Metzger said about BSD vs 'other' licenses: "Instead of worrying that people are going to steal my code, with BSD, I *know* they will!" On Fri, Feb 10, 2023 at 10:55 AM r0ller wrote: > Hi All, > >

Re: Is this normal floppy behavior?

2023-01-05 Thread Michael Cheponis
0 filesys id msdos fstype 0x1000 flag255 filename length 0 owner 7 syncwrites 12 asyncwrites* -Mike On Thu, Jan 5, 2023 at 2:07 PM wrote: > > On 1/5/23 21:32, Michael Cheponis wrote: > >> fascinatingly, now, when I try to

Re: Is this normal floppy behavior?

2023-01-05 Thread Michael Cheponis
ectory you're trying to umount." Naturally, I 'should' know that "Device busy" means "hey dude! you're in the directory you're trying to umount." gosh. ;-) On Thu, Jan 5, 2023 at 1:33 PM Christian Groessler wrote: > On 1/5/23 21:32, Michael Cheponis wrote: >

Re: Is this normal floppy behavior?

2023-01-05 Thread Michael Cheponis
tingly, now, when I try to "umount" the filesystem: *# umount /a umount: /a: Device busy* This behavior seems incorrect. On Thu, Jan 5, 2023 at 5:26 AM Greg Troxel wrote: > Michael Cheponis writes: > > > There are a bunch of files on the floppy when mounted; I delete them all; &

Is this normal floppy behavior?

2023-01-04 Thread Michael Cheponis
There are a bunch of files on the floppy when mounted; I delete them all; but then, there is a large amount of 'used' space! unmounting + remounting 'fixes' this problem. *# mount_msdos /dev/sd2a /a* *# ls -l /atotal 2drwxr-xr-x 1 root wheel512

odd /dev/random behavior with dd ?

2023-01-04 Thread Michael Cheponis
Hi, 'dd' seems to behave different if the 'if' is /dev/random than if it is anything else, e.g. /dev/zero: *# sh # dd if=/dev/zero of=zero.out bs=65536 count=11+0 records in1+0 records out65536 bytes transferred in 0.001 secs (65536000 bytes/sec)# ls -l

Re: 'cd' if HOME is unset

2022-12-26 Thread Michael Cheponis
cases, directory does not change when HOME is not defined. On Mon, Dec 26, 2022 at 9:47 AM Robert Elz wrote: > Date:Sun, 25 Dec 2022 15:33:57 -0800 > From: Michael Cheponis > Message-ID: 5rw...@mail.gmail.com> > > | Maybe it should print

Re: 'cd' if HOME is unset

2022-12-26 Thread Michael Cheponis
Maybe it should print "$HOME is not set" in that case? On Sun, Dec 25, 2022 at 2:52 PM Valery Ushakov wrote: > On Sat, Dec 24, 2022 at 22:32:22 -0500, Jan Schaumann wrote: > > > Robert Elz wrote: > > > Why bother? > > > > I happily admit that it's a rare edge case. I simply > > find it

More floppy oddities

2022-11-16 Thread Michael Cheponis
# 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 don't know what that means. The console prints: [ 2207.9560928] sd1(umass1:0:0): medium error, data = 00 00 00 00 30 01 00 00 00 00 [

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

2022-11-16 Thread Michael Cheponis
Yes, the process for making a floppy useful to an OS is the same as any other computer media. The common "1.44" MB floppy is actually 2.0 MB (12 Mbits) worth of data. However, a controller chip (usually an NEC 765 or equivalent) is used to write certain patterns onto the diskette; for a standard

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

2022-11-15 Thread Michael Cheponis
oot wheel 737280 Nov 15 08:06 f1* -rwxr-xr-x 1 root wheel 65536 Nov 16 00:00 f2* Thanks, again for any pointers / suggestions. On Mon, Nov 14, 2022 at 1:29 PM Michael van Elst wrote: > On Mon, Nov 14, 2022 at 09:33:07AM -0800, Michael Cheponis wrote: > > *# scsictl sd1 format/d

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

2022-11-14 Thread Michael Cheponis
*# scsictl sd1 format/dev/rsd1: device had unknown status 4* The dd trick seems to work only if the diskette is pre-formatted. great suggestions, thank you. I'll keep whacking at this. -Mike On Mon, Nov 14, 2022 at 9:11 AM Michael van Elst wrote: > michael.chepo...@gmail.com (Mich

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

2022-11-14 Thread Michael Cheponis
I would think 'fdformat' would work, but... *[ 1063553.609981] umass1 at uhub2 port 3 configuration 1 interface 0* *[ 1063553.612982] umass1: TEACV0.0 (0x0644) TEACV0.0 (0x), rev 1.10/2.00, addr 3* *[ 1063553.620984] umass1: using UFI over CBI with CCI* *[ 1063553.621985] atapibus0 at umass1:

Re: Bug in NetBSD grep ?

2022-08-17 Thread Michael Cheponis
On arm64 / RPi 4 9.99.96 this gives "00:00:" as expected. I know this is quite ancient (April '22 version of -current). On Tue, Aug 16, 2022 at 1:41 PM Marc Baudoin wrote: > Hi, > > The following command-line: > > echo 00:00: | grep -E '^([0]{2}[:-]){2}$' > > doesn't print anything on

A book seems to be missing here...

2022-08-10 Thread Michael Cheponis
Was looking at no-starch press, and saw these 2 books: http://culver.net/NetBSD/no-starch.jpg And I realized, you know, there seems to be a 'missing' book --- I see only Absolute FreeBSD and Absolute OpenBSD. Is there any status on a "NetBSD Book" ? Or is this pretty much it:

Re: Release

2021-12-16 Thread Michael Cheponis
The last "Danger" smartphone -- some say still the very best smartphone for its time -- used NetBSD under the hood. It was really fast and responsive, small, easy to fit onto the processor -- all from a buddy of mine who worked at Danger in SW. Danger did the App SW, which was also very good.

Re: Running docker containers with podman (on NetBSD!)

2021-09-05 Thread Michael Cheponis
Perhaps not on-topic, but... I put the "options HZ=1000" into my RPi config (as Alistair suggests, it's GENERIC64 plus this one extra options line) and now *$ sysctl kern.clockrate* *kern.clockrate: tick = 1000, tickadj = 4, hz = 1000, profhz = 1000, stathz = 1000* the whole "UI" feels more

libm rounding accuracy?

2021-08-26 Thread Michael Cheponis
https://blog.sigplan.org/2021/08/26/high-performance-correctly-rounded-math-libraries-for-32-bit-floating-point-representations/ describes "RLibm" that correctly rounds 32-bit results for many common math/trig functions, and compares their library to glibc and Intel. It's interesting that the

Re: MPV results

2021-07-25 Thread Michael Cheponis
VLC on non-NetBSD machines sometimes operates this way (stuttering / freezing) so much so that I now use AnyDVD on Windows, which seems to have taken the VLC codebase and fixed lots of things. By the way, an excellent intro to digital video is https://xiph.org/video/ Episode 1. On Sun, Jul 25,

Re: Compiling NetBSD-HEAD kernel sources

2021-06-29 Thread Michael Cheponis
I, too, have started w/GENERIC and commented out h/w I don't have; these days, I don't bother, because we have plenty of memory & disk (relatively on modern machines). AND, if you (can) stick w/GENERIC -- then you can compare against the Official Release if there are problems. Another reason I

Re: possible new feature: unrm ?

2020-07-01 Thread Michael Cheponis
m I like the idea that every file is treated as if the FS were one, giant, VCS... On Wed, Jul 1, 2020 at 9:35 AM Hauke Fath wrote: > On 2020-07-01 18:25, Michael Cheponis wrote: > > I agree that backups are necessary, but who hasn't had a corrupted > backup? > > And it's much

Re: possible new feature: unrm ?

2020-07-01 Thread Michael Cheponis
Caruso < ottavio2006-usenet2...@yahoo.com> wrote: > On Wed, 1 Jul 2020 at 01:18, Michael Cheponis > wrote: > > > > Have you ever done this: > > > > $ rm good-stuff > > $ echo oh noo\! > > > > because good-stuff is in the bitbucket of no

possible new feature: unrm ?

2020-06-30 Thread Michael Cheponis
Have you ever done this: $ rm good-stuff $ echo oh noo\! because good-stuff is in the bitbucket of no return. unrm exists as a shell script: http://freshmeat.sourceforge.net/projects/unrm But, as the commenter says, it would be great to restore filenames and directories. TOPS-20 had this

Re: cvs better than git?

2020-06-17 Thread Michael Cheponis
understand. I guess the real question is: is something broken? For pkgsrc-wip, for a bunch of reasons, they decided on git. If something's not broken otherwise, why change? That's legitimate, too. On Wed, Jun 17, 2020 at 12:03 PM Sad Clouds wrote: > On Wed, 17 Jun 2020 09:11:04 -0700 > M

Re: cvs better than git?

2020-06-17 Thread Michael Cheponis
Two points: 1) As much as folks (like me, Johnny) don't like it: git is THE most widely-used rcs in the world, by far; I consider it just a kind of annotated tar file. 2) git complexity (and user confusion) comes about due to the lack of conceptual integrity of the design / command structure.

Re: too many inodes?

2020-04-27 Thread Michael Cheponis
WRONG # Feels...hosed On Mon, Apr 27, 2020 at 12:17 PM Christos Zoulas wrote: > In article < > caoax04pbwg4p2cq31v0gz7mpza7bc-jrvc2fusdojl-wgof...@mail.gmail.com>, > Michael Cheponis wrote: > >-=-=-=-=-=- > > > >I plugged in a 10TB USB disk, was work

too many inodes?

2020-04-26 Thread Michael Cheponis
I plugged in a 10TB USB disk, was working fine, then today it got weird. *# ls /t>▒x4S▒▒XWе▒3▒▒Hj▒▒l▒▒gw,▒=▒&▒X▒▒צA▒▒▒B▒w l: Invalid argument* *# umount -f /t* *# fsck -f -tffs /dev/dk0** /dev/rdk0** File system is already clean** Last Mounted on /t** Phase 1 - Check Blocks and

Re: Hard Real-Time?

2020-04-19 Thread Michael Cheponis
ry short time. But again, that > is not what defines hard real time. > > If you get into a discussion with someone else, and that someone else > says Unix can't do hard real time, he is still correct, no matter how > much you fiddled around with your RPi. > >Johnny >

Re: Hard Real-Time?

2020-04-19 Thread Michael Cheponis
Thanks to all who contributed here, I'm learning a lot. As to what is 'real time' -- as you can probably tell by watching the video at the URL, the robots were dynamically stable - they had to react within a millisecond (Read sensors; do all control; storage of data for post-run analysis, run all

Hard Real-Time?

2020-04-15 Thread Michael Cheponis
Is there already a way to do "hard real time" on NetBSD? To me, "hard real time" means from an external pin going 'high' to the 1st instruction of my driver executing is on the order of (up to) 10 usec. Many eons ago, I did this on BSD4.3 VAX 785 and achieved < about 100 usec jitter. It was a

Re: tutorial on how to use iic on raspberry pi?

2020-02-12 Thread Michael Cheponis
is not finding any i2c bus. On Wed, Feb 12, 2020 at 1:41 PM Michael van Elst wrote: > michael.chepo...@gmail.com (Michael Cheponis) writes: > > -rwxr-xr-x 1 root wheel 22630 Jun 16 2019 bcm2837-rpi-3-b-plus.dtb* > > > Raspberry Pi 3 Model B Plus Rev 1.3 - so I'm not sure which of the

Re: tutorial on how to use iic on raspberry pi?

2020-02-12 Thread Michael Cheponis
seem to have i2c* entries. Thanks for all help. On Wed, Feb 12, 2020 at 12:01 AM Michael van Elst wrote: > michael.chepo...@gmail.com (Michael Cheponis) writes: > > >Hi all, I want to hook up a sensor using iic on an RPi. Is there a > >tutorial somewhere on how to do this?

tutorial on how to use iic on raspberry pi?

2020-02-11 Thread Michael Cheponis
Hi all, I want to hook up a sensor using iic on an RPi. Is there a tutorial somewhere on how to do this? Do I have to compile a specific config to enable iic because GENERIC doesn't? I tried this: *# i2cscan iic0 i2cscan: couldn't open iic0: Device not configured# i2cscan iic1

Re: netbsd-8 build distribution error

2018-10-22 Thread Michael Cheponis
Hi, it's great this is fixed. But, I do wonder: How is even possible to have something called "NetBSD mumble STABLE ..." not compile? Because, you know, not compiling is kinda Not Stable. It would seem to me some automatic check isn't working -- the one that guarantees buildability? On Sun,

Re: Simple way to securely access remote machine that's behind a NAT?

2018-09-29 Thread Michael Cheponis
Thanks everybody for help. I really liked the .onion setup idea, but I ended up using openvpn. The documentation is very good, and the relevant page for me was: https://openvpn.net/index.php/open-source/documentation/miscellaneous/78-static-key-mini-howto.html What is fantastic about openvpn is

Simple way to securely access remote machine that's behind a NAT?

2018-09-25 Thread Michael Cheponis
Hi, I have a (linux raspberry pi) that's remotely located and NATted in such a way that I cannot control that part of the infrastructure, although do have complete control of the machine otherwise (e.g. access to root). What I'd like to do is access it from my local NetBSD system (which does