TCP timers and telnet
Hi,
Lately I have been reading a bit about Open Firmware and that it has TCP support and support to telnet into an Open firmware box:
http://developer.apple.com/technotes/tn/tn2004.html
So I was thinking, why not add such functionality to GRUB 2? It's easy to implement with the networking code I currently have. The only thing about it that sucks is that we have to implement multitheading, kinda...
My idea is that we use the timer interrupt to regularly schedule time for the TCP timers and the incoming telnet connections. It will not be very hard to implement, but we have to think about how to do proper locking. We will at least need locking in disk access and for the loaders. So only in a small part of GRUB.
What do you guys think? I think it is not as hard as it sounds now...
Thanks,
Marco
Quoted 4 lines · Marco Gerards
So I was thinking, why not add such functionality to GRUB 2? It's easy to implement with the networking code I currently have. The only thing about it that sucks is that we have to implement multitheading, kinda...
I object to multithreading. It makes our life just harder. I prefer an event-driven approach as you suggested before.
Okuji
Quoted 8 lines · Yoshinori K. Okuji
Quoted 4 lines · Marco Gerards
So I was thinking, why not add such functionality to GRUB 2? It's easy to implement with the networking code I currently have. The only thing about it that sucks is that we have to implement multitheading, kinda...
I object to multithreading. It makes our life just harder. I prefer an event-driven approach as you suggested before.
My previous suggestion would have worked, if you didn't telnet into GRUB. The current discussion is about having multiple different GRUB sessions simultaniously. So in that case you will need locking, etc.
--
Marco
Quoted 8 lines · Marco Gerards
Quoted 6 lines · Yoshinori K. Okuji
Quoted 4 lines · Marco Gerards
So I was thinking, why not add such functionality to GRUB 2? It's easy to implement with the networking code I currently have. The only thing about it that sucks is that we have to implement multitheading, kinda...
Quoted 6 lines
Quoted 2 lines
I object to multithreading. It makes our life just harder. I prefer an event-driven approach as you suggested before.
My previous suggestion would have worked, if you didn't telnet into GRUB. The current discussion is about having multiple different GRUB sessions simultaniously. So in that case you will need locking, etc.
What about allowing only a single telnet connection? Or multiple connections, but they all show the same session?
-Hollis
On 1 Duben 2006, 20:31, Hollis Blanchard napsal(a):
Quoted 14 lines · Marco Gerards
Quoted 13 lines
Quoted 9 lines · Yoshinori K. Okuji
Quoted 5 lines · Marco Gerards
So I was thinking, why not add such functionality to GRUB 2? It's easy to implement with the networking code I currently have. The only
thing about it that sucks is that we have to implement multitheading, kinda...I object to multithreading. It makes our life just harder. I prefer an event-driven approach as you suggested before.
Quoted 8 lines
Quoted 3 lines
My previous suggestion would have worked, if you didn't telnet into GRUB. The current discussion is about having multiple different GRUB sessions simultaniously. So in that case you will need locking, etc.
What about allowing only a single telnet connection? Or multiple connections, but they all show the same session?
-Hollis
I also think that multiHEADing is okay. I think there is no use for multiUSER (and multitasking). The only thing when you don't want terminals to "share contents" is when one of them is used for logging. So I propose that there can be any number of terminals, and widgets (like menus,...) should be handled by them (so there can be parallel session 80x25, 190x64, braille and speech...), but controlling grub will be UNIsession, i.e. selecting menu entry, typing on command line, etc. will show on all heads.
More like 'VNC' but with support for different terminal devices...
Signature · 2 lines
Tomas 'Ebi' Ebenlendr
http://get.to/ebikQuoted 4 lines · Marco Gerards
So I was thinking, why not add such functionality to GRUB 2? It's easy to implement with the networking code I currently have. The only thing about it that sucks is that we have to implement multitheading, kinda...
[...]
And no-one noticed the date and everyone takes me seriously when I come forward with crazy ideas.
--
Marco
Quoted 11 lines · Marco Gerards
Quoted 4 lines · Marco Gerards
So I was thinking, why not add such functionality to GRUB 2? It's easy to implement with the networking code I currently have. The only thing about it that sucks is that we have to implement multitheading, kinda...
[...]
And no-one noticed the date and everyone takes me seriously when I come forward with crazy ideas.
To me it sounded useful enough to take you seriously. (Not the multiple simultaneous sessions, though.) :-)
Regards,
Thomas