Re: [9fans] pc/ether8169.c vs Realtek released driver

2025-03-07 Thread Aidan K. Wiggins via 9fans
Hi Thierry, > Thank you for the link. I will give it a look this week-end and will > go back to you during the next week. Hopefully, joining our efforts, > we should manage to get the cards wortking. Excellent! It will be good to have more work/hardware when it comes to these Realtek chips. Overt

Re: [9fans] NIX this evening

2025-03-07 Thread ron minnich
It's not like cgroups at all. Consider a system with lots of CPUs. Kernels, as they boot, will allocate all those CPUs for their own use. These CPUs will assigned to different processes over time, or be assigned to running kernel processes. Interrupts will be scheduled across this set of cores, wi

Re: [9fans] Re: Need help explaining mouse gone crazy: HP DY651A/M-U0013-O

2025-03-07 Thread Jacob Moody
On 3/7/25 12:45, cigar562hfsp952f...@icebubble.org wrote: > No, I'm using the mice on Linux. I bought them when I installed Plan 9 > because they were on the recommended hardware list: > > https://plan9.io/wiki/plan9/Supported_PC_hardware/index.html > > I used them on 9front until I realized t

Re: [9fans] NIX this evening

2025-03-07 Thread Clout Tolstoy
Forgive the layman question but is NIX somewhat similar to cgroups in the Linux kernel? On Fri, Mar 7, 2025, 6:08 AM wrote: > On Thu, Mar 06, 2025 at 03:47:42PM -0800, ron minnich wrote: > > thanks, Jacob. > > I'm going to keep at it, and your rebase has now made it much easier to > > keep up. >

[9fans] Re: Need help explaining mouse gone crazy: HP DY651A/M-U0013-O

2025-03-07 Thread cigar562hfsp952fans
No, I'm using the mice on Linux. I bought them when I installed Plan 9 because they were on the recommended hardware list: https://plan9.io/wiki/plan9/Supported_PC_hardware/index.html I used them on 9front until I realized that Plan 9 can't be used for real work,* then switched back to Linux.

Re: [9fans] NIX this evening

2025-03-07 Thread Jacob Moody
On 3/7/25 06:10, tlaro...@kergis.com wrote: > On Thu, Mar 06, 2025 at 03:47:42PM -0800, ron minnich wrote: >> thanks, Jacob. >> I'm going to keep at it, and your rebase has now made it much easier to >> keep up. >> >> In the usual manner of such things, I think now that we figured out that we >> ca

Re: [9fans] NIX this evening

2025-03-07 Thread ron minnich
The bind approach looked ok for a while. But the problem is the NIX changes are pretty intrusive. Here are the new files: sys/src/9/pc64/acore.c sys/src/9/pc64/nix.s sys/src/9/pc64/tcore.c sys/src/cmd/execac.c there are about 30 changed files, but only 4 new ones. Now, some change we can get along

Re: [9fans] 9k amd64 kernel and floating point

2025-03-07 Thread cinap_lenrek
> If we're going down this route, we should copy the FPsave > to the stack in notify as we do the Ureg. Then we wouldn't > need the ofpregs file at all. yeah. i'm not fond of it ofpregs-file solution eigther. > This will require some thinking > about backwards compatibility. There needs to be a

Re: [9fans] 9k amd64 kernel and floating point

2025-03-07 Thread Russ Cox
Hi Cinap, I see what you are saying about wanting /proc/n/fpregs for both debuggers vs note handlers themselves. I think debuggers are more likely, so fpregs should be the current FP registers (if you're in a note handler, it's the handler's registers). I would suggest /proc/n/notefpregs for the f

Re: [9fans] NIX this evening

2025-03-07 Thread tlaronde
On Thu, Mar 06, 2025 at 03:47:42PM -0800, ron minnich wrote: > thanks, Jacob. > I'm going to keep at it, and your rebase has now made it much easier to > keep up. > > In the usual manner of such things, I think now that we figured out that we > can make it work, it's time to toss a lot of those co

Re: [9fans] Re: pc/ether8169.c vs Realtek released driver

2025-03-07 Thread tlaronde
On Thu, Mar 06, 2025 at 05:13:14PM -0500, o...@eigenstate.org wrote: > Quoth tlaro...@kergis.com: > > On Thu, Mar 06, 2025 at 09:07:46PM +0100, tlaronde wrote: > > > I have a candidate hardware with a Realtek RTL8125 2.5Gb Ethernet > > > Controller PCI-E that is, generally, bundled with the 8169 an

Re: [9fans] pc/ether8169.c vs Realtek released driver

2025-03-07 Thread tlaronde
Hello Aidan, On Thu, Mar 06, 2025 at 01:23:40PM -0800, Aidan K. Wiggins via 9fans wrote: > Hi Thierry, > > I too have this chip, and have been attempting to add some preliminary > support for it in ether8169.c. I have a (WIP) patch hosted at > http://oneiri.one/ether8169.patch. It's a bit of a me

Re: [9fans] 9k amd64 kernel and floating point

2025-03-07 Thread Anthony Martin
cinap_len...@felloff.net once said: > There was never a Ureg* equivalent for the fpu state (being dumped on > the user stack). However, i believe, as the fpu is being disabled > during execution of the note handler, you could imaginge a handler > using fpregs file to read/modify the fpu state. > >

Re: [9fans] NIX this evening

2025-03-07 Thread ron minnich
thanks, Jacob. I'm going to keep at it, and your rebase has now made it much easier to keep up. In the usual manner of such things, I think now that we figured out that we can make it work, it's time to toss a lot of those commits away, and get to something a lot less messy. There's where others c