Re: [9fans] Problem with outputing from kernel

2023-10-09 Thread dusan3sic
https://9p.io/wiki/plan9/avoiding_screen_pollution_from_kernel_messages/index.html this helped -- 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/T31db04ef89737d25-M6bbf54d0c44e0b1751ec3632 Delivery options: https://9fans.topicbox.com/groups/

[9fans] Problem with outputing from kernel

2023-10-04 Thread dusan3sic
I added some logs in /sys/src/9/port/proc.c for some tests of the scheduler, I want to see at what moments do real time processes take the cpu. I did that with simple prints with the intention of doing cat /dev/kmesg > someFile because all the prints are stored there.  The problem is that the

Re: [9fans] print() in kernel space doesn't work like I would think

2023-09-01 Thread dusan3sic
I tried actually running some realtime processes and the print msg appeared. Thanks -- 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/Te1d00dae663114b2-M0b15b6c18936d12d96aa47dc Delivery options: https://9fans.topicbox.com/groups/9fans/subs

Re: [9fans] print() in kernel space doesn't work like I would think

2023-08-31 Thread dusan3sic
> if you don't see this print, you're somehow running the wrong kernel. I can see that. > this one won't print until you start using the edf scheduler. Isn't windowing handled like a realtime process? Does it not start any realtime process at boot? I can see that being the problem here. ---

Re: [9fans] print() in kernel space doesn't work like I would think

2023-08-31 Thread dusan3sic
> also, the steps you used to install and boot the new kernel. I downloaded img from 9front. I was changing the source code and building with this script I made #!/bin/rc mk install 9fs 9fat cp /sys/src/9/pc64/9pc64 /n/9fat/9pc64 mk clean I am running it from /sys/src/9/pc64/

Re: [9fans] print() in kernel space doesn't work like I would think

2023-08-31 Thread dusan3sic
> show your diff. (hint: bind -ac /dist/plan9front / && git/diff /sys/src/9 | webpaste) diff 66fc6a3e6443d7eb8298f65b0c9803197d196ec7 uncommitted --- a//sys/src/9/mkfile +++ b//sys/src/9/mkfile @@ -1,17 +1,17 @@ ARCH=\ - bcm\ - bcm64\ - cycv\ - kw\ + #bcm\ + #b

Re: [9fans] print() in kernel space doesn't work like I would think

2023-08-31 Thread dusan3sic
> try > > cat /dev/kmesg > or > cat /dev/kprint /dev/kmesg outputs the boot output I was talking about, but there wasn't my print. dev/kprint doesn't print anything and doesn't let me finish the program. I was looking at this

[9fans] print() in kernel space doesn't work like I would think

2023-08-31 Thread dusan3sic
I was editing plan9's realtime scheduler in /sys/src/9/port/edf.c and was trying to add a print to log something, but print didn't show anywhere(or I am looking at the wrong place). It has some prints in source code already, with this define. #define DPRINT if(Dontprint){}else print And with Do

[9fans] /dev/realtime doesn't exist?

2023-08-29 Thread dusan3sic
I was reading an article about plan9's realtime scheduler edf (http://doc.cat-v.org/plan_9/real_time/real_time_in_a_real_operating_system/real_time_in_a_real_operating_system.pdf, page 7), and they mentioned using /dev/realtime to create realtime processes, but /dev/realtime doesn't exist on my

Re: [9fans] Plan9 multi-core support

2023-08-27 Thread dusan3sic
I am using it in a browser -- 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/T912e4838cb1a371f-M91d93331c50c119b546c63b4 Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

Re: [9fans] Plan9 multi-core support

2023-08-27 Thread dusan3sic
Btw, how do I reply to someone like you are doing? Copying and quoting manually seems weird. -- 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/T912e4838cb1a371f-Mc65eb7f7f6f43ff9c92f4dc0 Delivery options: https://9fans.topicbox.com/groups/9

Re: [9fans] Plan9 multi-core support

2023-08-27 Thread dusan3sic
I finally read the article about asking questions, sorry if i was being rude or was waisting your time, wasn't my intention. And about the multi-core support, well I kinda moved away from it since I don't really need it, I was just wondering if i can disable it in an easy way for the measureme

[9fans] Plan9 multi-core support

2023-08-26 Thread dusan3sic
Does plan9 have multi-core support? If it does, how does it manage it (what files/man pages/docs do I read). If it doesn't have, how would I implement it. -- 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/T912e4838cb1a371f-M00dd91d9c0733c0

Re: [9fans] Using 9front as a server

2023-08-26 Thread dusan3sic
I just ran aux/listen and it worked lol -- 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/T1eb6489031b3e452-M81edf4d8b035103775c95d7d Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

[9fans] Using 9front as a server

2023-08-22 Thread dusan3sic
I want to use my 9front booted from QEMU as a server, so i can transfer files from linux to 9front, but it wont open any ports. Help -- 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/T1eb6489031b3e452-M8f4591713adaef40ef0cae4a Delivery opti

Re: [9fans] Any material on processes?

2023-06-16 Thread dusan3sic
Nice -- 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/T0435dff1125b5a83-M192cfd6d09b7a7b969bac84e Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

[9fans] Any material on processes?

2023-06-16 Thread dusan3sic
I want to look into process management and how a scheduler works and thing like that, but all I can find is inter-process communication with 9P and the rest is all just file systems. Any help? -- 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9f

Re: [9fans] How do I build from source on linux?

2023-06-15 Thread dusan3sic
I find the system interesting, but I don't seem to be really productive with it. I mean i just started using it (as you have already figured out) and I am struggling a bit but it seems a lot of fun. -- 9fans: 9fans Permalink: https://9fans.topicbox.com/gro

Re: [9fans] How do I build from source on linux?

2023-06-15 Thread dusan3sic
Research -- 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/T5b2523de4ef223e9-Mb1f35294968303174a692e40 Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

Re: [9fans] How do I build from source on linux?

2023-06-15 Thread dusan3sic
How do I export the files from Linux to qemu? -- 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/T5b2523de4ef223e9-M9a23448522437f9ec0dabbb3 Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

Re: [9fans] How do I build from source on linux?

2023-06-15 Thread dusan3sic
Well i wanted to do things on Linux since i don't find the environment nice at all on 9front and would want to make my life easier by doing it on Linux. Turns out not. -- 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/T5b2523de4ef223e9-Ma4

[9fans] How do I build from source on linux?

2023-06-15 Thread dusan3sic
I run 9front with QEMU and i want to make some changes to it from source and than build it and run it on qemu. How do I build it on linux with no mk? -- 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/T5b2523de4ef223e9-Mcad6fa3f459b28fb3b542

Re: [9fans] Any interesting topics?

2023-06-14 Thread dusan3sic
Yes! Thanks a lot! -- 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/T4cf851249809c08b-Mc55a22ae5e365e42f66a69b5 Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

[9fans] Any interesting topics?

2023-06-14 Thread dusan3sic
I wanna make some kind of a research on plan9/9front for fun but can't seem to find what topics are interesting these days and what are some flaws that i can investigate or something like that? Thanks in advance! -- 9fans: 9fans Permalink: https://9fans.to