Is Anyone Seriously Trying To Get A Full Windows Kernel Running?, seriously, i'd do it myself if i were legally allowed |
|
|
| torne |
Feb 22 2006, 04:30 PM
|
X-S Expert
  
Group: Members
Posts: 684
Joined: 31-January 06
From: London, UK
Member No.: 270609
Xbox Version: v1.1
360 version: v1 (xenon)

|
Yes, I have read the stickies, and other long tedious posts filled with criticism.  It would be amusing to see a full Windows boot on the Xbox, and there doesn't seem to be that much to do tbh: poke the kernel/HAL/etc to not touch the bits of the address space and PCI bus that kill the machine, and then write a couple of drivers (graphics, mostly, much of the rest of the hardware should be supported). The latter is pretty easy; the Linux port's drivers are there as a reference for how to program the hardware. Is anyone seriously looking at fixing the kernel/HAL to avoid the hardware bugs? It's only a couple of megs of code, with full symbolic information available... I'd do it myself but I have access to, and have spent a lot of time working with, the Windows source (legally under signed NDA) and thus it's extremely dubious for me to reverse-engineer the Windows kernel - I am 'tainted' and would get the project in legal difficulties =( If the fixes to the existing binaries are done I'd be interested to help write the few required drivers, which would not be subject to such restrictions..
|
|
|
|
| |
|
  |
Replies
| torne |
Feb 23 2006, 05:44 PM
|
X-S Expert
  
Group: Members
Posts: 684
Joined: 31-January 06
From: London, UK
Member No.: 270609
Xbox Version: v1.1
360 version: v1 (xenon)

|
QUOTE(x-fox @ Feb 23 2006, 01:51 AM)  Well if you are saying you have access to the windows kernal source, I have a few questions for you.
Sure. QUOTE Which specific windows kernal build do you have access to?
Windows XP SP1, no post-SP1 patches. I forget the build number as I don't have access to it from this computer. I have access to the entire Windows Shared Source distribution, not just the kernel - everything from HAL to device drivers to Explorer and so on, though I've never worked outside of the core code (kernel, hal, devices, NTDLL, etc). QUOTE What specific patches would apply to the kernal to make it stable enough to run on the xbox hardware?
Based on what I've read about the xbox so far, and looking at the changes required for xbox-linux, it would be neccecary to amend which parts of the memory and IO map are probed for devices (disabling support for finding SuperIO chips and other legacy controllers, since it appears that some of those probe locations cause the box to lock), and to amend which parts of the PCI bus space are probed (as probing 0.00.1 or 0.00.2 cause crashes). The only other issues I'm aware of from the Linux code and from general discussion is the eject fix to stop the box resetting on DVD eject, and the nonstandard poweroff/reboot sequence, but those could both be left until later. QUOTE What bios would you use bearing in mind a standard pc bios would not work?
You don't need a BIOS - only NTLDR requires BIOS services, and very few at that - it gets into protected mode as soon as possible. Someone would have to write a new loader to get the kernel, HAL, disk driver, registry and the few other bits that NTLDR is normally responsible for loaded, and appropriate virtual address space mappings set up, but I've done that before so it must be possible. The entire process is well-documented by publically available books on Windows internals. On non-legacy hardware the kernel needs no BIOS services and simply accesses devices via the PCI space. No sensible modern OS uses the BIOS for anything other than first-stage bootloading and perhaps initial hardware detection in the early boot. QUOTE What graphics driver would you use bearing in mind that the nvidia source has never been released?
I'd get the required details from the open source 'nv' driver for X.org under Linux, and write a new driver from scratch based on nv as documentation. It doesn't support 3D but it can bring up a 2D framebuffer on the xbox just fine, with no binaries or source from nvidia (all reverse engineered). QUOTE Seriously if you cannot provide meaningful answers to the above there would be no point continuing with this thread. Its all been said before.
Meaningful enough for you? I can't answer any specific questions on any unpublished details of the Windows code, but anything else is fair game. You sound like you think you know what you're talking about.. I assume you've implemented device drivers and other kernel-mode code in Windows before? Or have at least read MS Windows Internals? As for you, "nt authority", suggesting doing anything based on the leaked code is a relatively bad plan, plus you don't seem to know an awful lot about what would actually be required...
|
|
|
|
| |
| nt authority |
Feb 24 2006, 03:22 AM
|
X-S Enthusiast
Group: Members
Posts: 10
Joined: 23-February 06
Member No.: 273370
Xbox Version: unk
360 version: unknown

|
QUOTE(torne @ Feb 23 2006, 04:51 PM) 
As for you, "nt authority", suggesting doing anything based on the leaked code is a relatively bad plan, plus you don't seem to know an awful lot about what would actually be required...
I take your constructive criticisim onboard torne and admit I dont know an awful lot about this subject yet am willing to learn; I furthermore acknowledge that it appears you do know an awful lot (compared to most other persons in this forum anyway) and I appreciate your input as it is the most logical approach I have seen in a thread on this site. By the way, my expertise is not in code but in neuroscience, cognition, and artificial intelligence. I am currently working within a team of consultants with a Private Corporation who require massive computing power for processing specific tasks I can not mention as this company's client is a Government Department and, as I am under a NDA with secrecy provisions, doing such would be breaking the law. The construction of a cluster has been made a sub-project and we are considering using the XBOX conoles as nodes for this cluster and are looking for persons willing to assist in the creation of a true and proper and complete XBOX native Windows operating system. If persons are detected in this forum to have sufficient knowledge and are interested we are prepared to negotiate to employ them under contract. ------------------------------------------------------------------------------------------------------------------------------ This Windows-XBOX-OS would be created by the exact methods torne has stated: modified NTLDR/OSLOADER.EXE, NTDETECT.COM, NTOSKRNL.EXE, HAL.DLL, NTDLL.DLL etc to avoid the system being locked and drivers specific for the XBOX. ----------------------------------------------------------------------------------------------------------------------------- The only further modification would be the inclusion of project specific APIs that are required by my program's end result: these include Message Passing Interface, Terminal Services Device Redirector, and Vitual SMP code written into the NTOSKRNL itself so that such is executed within privileged RING 0. This code is required to make all the cluster salve node XBOX's devices (CPU, HDD, RAM, DVD, etc) "divert" transparently to the primary domain controlling server. Ultimately we want the end machine to seemlessly "see" these devices as being local and for the server to have full ownership. Using 9 XBOX slaves for example, and 1 Windows 2003 Compute Cluster Server/Windows 2000 ADS, the Server Machine would see it had 10 CPUs (Virtual SMP code into kernel) as well as 10 DVD drives and 10 HDDs etc... I am presuming a combination of MPI,SMP,and Device Redirection code written into NTOSKRNL could allow such to be achieved by initing these as described during phase 0. ------------------------------------------------------------------------------------------------------------------------------ May I please ask torne why do you state using Windows leaked source would be a bad plan - are you stating this from a perspective of computer science or law and ethics ? furthermore, what made you state that it appears i dont know what needs to be done to start ? am i misunderstanding your concept of modifying the NTLDR, NTOSKRNL, and HAL to make windows boot ? did you understand the WinCE-OS as "superBIOS-on-LPC" concept was to act as nothing more than an extended firmware device providing a layer to STOP windows' PCI scans reaching the XBOX hardware and to report back to the LDR/KRNL/HAL that such scans were completed ok ? is this not possible - to use an intermediate layer (winceOS or even XBE application) to "trick" windows into moving on past the PCI scan phases through a null emulation as such ?
|
|
|
|
| |
Posts in this topic
torne Is Anyone Seriously Trying To Get A Full Windows Kernel Running? Feb 22 2006, 04:30 PM   torne
I am currently working within a team of consultan... Feb 24 2006, 02:12 PM    x-fox
Looks like the answer to my question is 'nobo... Feb 25 2006, 06:49 AM     torne
This windows forum has been seriously pruned of l... Feb 25 2006, 01:59 PM      windowsex
I asked because I'd like to help someone do i... Feb 25 2006, 07:08 PM       torne
I hereby sign myself up for this role;
lets sta... Feb 25 2006, 07:49 PM nt authority WINDOWS SOURCE CODE FOR BOTH NT4 AND WIN2K BUILDS ... Feb 23 2006, 09:31 AM nt authority Anyway, to keep things simple and after reading th... Feb 24 2006, 04:37 AM nt authority all i ask:
torne could you (or anyone here) pleas... Mar 14 2006, 05:40 PM torne
whilst remaining within the xboxkrnl would it be ... Mar 15 2006, 06:02 PM  windowsex
You're confusing several issues. You would ne... May 8 2007, 10:41 PM   torne
Let's not bother writing a new boot loader as... May 9 2007, 11:50 AM nt authority ok, just to make my question clear, i thought i wo... Mar 15 2006, 09:29 AM torne
With WinCE.NET (proof of concept) for the XBOX, a... Mar 15 2006, 06:14 PM nt authority Thanks for your answer Torne.
Again, I wish to r... Mar 16 2006, 09:22 AM torne
Assuming we wish to boot into Windows Preinstalla... Mar 16 2006, 11:44 AM edude03 Here's My (somewhat stupid Probably) Idea.
We... Apr 4 2006, 05:07 PM torne
Here's My (somewhat stupid Probably) Idea.
W... Apr 6 2006, 04:00 PM Trav41514 why start hard, i'm starting a project on port... Jun 25 2006, 09:19 AM torne Porting DOS would be harder, not easier. Getting r... Jun 25 2006, 03:30 PM Trav41514
People said the same thing about windows but now... Jun 25 2006, 11:29 PM Trav41514 Wouldn't it be possible to decompile the curre... Jun 25 2006, 11:54 PM torne
People said the same thing about windows but now ... Jun 26 2006, 09:56 AM m0dul4rX 2 You know, technically Windows is already on Xbo... Jun 26 2006, 10:48 AM torne
You know, technically Windows is already on Xb... Jun 28 2006, 12:17 PM gronne Ok, Torne. You seem to have an incredible understa... Jul 5 2006, 01:18 PM torne
Ok, Torne. You seem to have an incredible underst... Jul 6 2006, 01:46 PM Trav41514 the real reason i want to get DOS up and running i... Jul 7 2006, 12:45 AM torne
the real reason i want to get DOS up and running ... Jul 7 2006, 12:39 PM  Trav41514
Both require NTLDR to bootstrap themselves (which... Jul 9 2006, 04:09 AM   veeper
thats the plan ;-)
why does the xbox lock up whe... Jul 9 2006, 01:32 PM   torne
thats the plan ;-)
So you're going to write ... Jul 10 2006, 02:39 PM SupeRdUPErBlakE NERDS! =D
The vpiu address isn't valid wh... Jul 18 2006, 01:27 PM Micjohvan Im not here to actually help with this discussion ... May 18 2007, 05:56 AM silentnite2608 I understand that you can't get xp running on ... Jun 25 2007, 03:04 AM torne
I understand that you can't get xp running on... Jun 25 2007, 01:43 PM  WindowsOCManage
This is unrelated to the topic being discussed he... Oct 13 2009, 01:53 PM silentnite2608 Sorry just putting out my idea.
Will try to find r... Jun 25 2007, 11:45 PM torne
Sorry just putting out my idea.
Will try to find ... Jun 26 2007, 11:31 AM torne How are you going to bring the kernel up in the fi... Oct 13 2009, 05:19 PM WindowsOCManage
How are you going to bring the kernel up in the f... Oct 13 2009, 10:01 PM torne Sounds good. Let us know how it goes. Oct 14 2009, 10:50 AM 2 Bunny Wow torne, you really kept following this thread... Oct 20 2009, 01:52 AM torne I check back on the windows on xbox board occasion... Oct 21 2009, 03:01 PM 2 Bunny I check back on the windows on xbox board occasio... Oct 21 2009, 10:14 PM obcd It's possible to create a linair framebuffer o... Oct 21 2009, 10:27 PM 2 Bunny It's possible to create a linair framebuffer ... Oct 22 2009, 02:24 AM torne obcd: The guy wants to do it, don't shoot it d... Oct 22 2009, 01:29 PM 2 Bunny obcd: The guy wants to do it, don't shoot it ... Oct 22 2009, 09:06 PM obcd I am sorry if my reply is seen as shooting his ide... Oct 22 2009, 07:32 PM obcd Most devices on the market like pocket pc's an... Oct 23 2009, 08:37 AM pdidd i think the easiest thing to do is use xdsl. u ca... Oct 23 2009, 05:57 PM 2 Bunny i think the easiest thing to do is use xdsl. u c... Oct 23 2009, 09:13 PM pdidd nah i don't believe it. when i had no money i ... Oct 24 2009, 02:49 AM worldwhore3 dsl is farrr from flaky. you need to invest the t... Oct 24 2009, 07:45 AM 2 Bunny dsl is farrr from flaky. you need to invest the ... Oct 24 2009, 05:49 PM  pdidd
Then why is it that I cannot even browse to the o... Oct 24 2009, 06:31 PM   2 Bunny
i never had any problem. maybe its your hard dr... Oct 25 2009, 07:00 PM obcd I guess it all depends a bit upon what you are try... Oct 24 2009, 09:32 AM petemcfc Why is it so important for you to run Windows on a... Oct 26 2009, 12:45 AM 2 Bunny Why is it so important for you to run Windows on ... Oct 26 2009, 01:52 AM obcd defragmentation usually doesn't give the expec... Oct 26 2009, 09:55 AM petemcfc Yep,enough said.
Two other free tools available ar... Oct 26 2009, 10:33 AM 2 Bunny Yep,enough said.
Two other free tools available a... Oct 26 2009, 10:39 PM petemcfc Your posts have gone from amusing to tiring,and ve... Oct 29 2009, 01:50 AM 2 Bunny Your posts have gone from amusing to tiring,and v... Oct 29 2009, 10:50 PM Heimdall No, I am not a troll. But I am sure you are. Name ... Oct 30 2009, 01:16 AM 2 Bunny
How about [url=http://forums.xbox-scene.com/inde... Oct 31 2009, 12:16 AM petemcfc Blimey.
Thats me well ticked off then.
Yawn-matter... Oct 30 2009, 02:18 AM torne Can you all just shut up unless you have something... Oct 30 2009, 12:59 PM torne "Can you all just shut up" includes you ... Nov 4 2009, 12:06 PM 2 Bunny "Can you all just shut up" includes you... Nov 4 2009, 09:43 PM run088 Virtualbox on xdsl should run windows ok atleast o... Nov 5 2009, 11:27 AM 2 Bunny Virtualbox on xdsl should run windows ok atleast ... Nov 6 2009, 02:10 AM  run088
Nice. So you're saying that with the ram upgr... Nov 6 2009, 02:11 PM   run088
Can't comfirm just yet but I think that I wil... Nov 6 2009, 07:00 PM    2 Bunny
I can now comfirm about xp and virtualbox on a 2... Nov 6 2009, 11:23 PM worldwhore3
anyone worth his grain of salt would suggest chec... Nov 7 2009, 12:20 AM 2 Bunny NOTE: Due to the large use of tags in this post, t... Nov 7 2009, 03:09 AM petemcfc May I suggest TOR or a generous application of gaf... Nov 7 2009, 12:40 AM run088 I have managed to succeed in what I set out to do ... Nov 7 2009, 03:46 PM worldwhore3 bun, you're really not 'up to snuff' o... Nov 8 2009, 08:29 AM 2 Bunny bun, you're really not 'up to snuff' ... Nov 9 2009, 11:50 PM run088 Magic jack is no scam. It works very well. It cost... Nov 10 2009, 12:57 AM 2 Bunny Magic jack is no scam. It works very well. It cos... Nov 10 2009, 09:52 PM obcd 2 Bunny, could you please stop asking off topic qu... Nov 11 2009, 11:50 AM ressurectionx Holy Drama Batman......
I was just coming here to... Jan 5 2010, 12:13 PM Pulsemasta run088,
Have you any news of your... Jan 10 2010, 11:08 AM osmorphyus shhhhh, listen, do you hear that? the sound of ... Jan 16 2010, 08:26 PM Pulsemasta osmorphyus,
You are so ant... Jan 17 2010, 03:38 AM osmorphyus very far from it, pulsey. im just a realist. loo... Jan 17 2010, 10:25 PM Pulsemasta
very far from it, pulsey. im just a realist. lo... Jan 17 2010, 10:35 PM osmorphyus you have ran windows releases on your xbox? i hav... Jan 18 2010, 04:21 AM Pulsemasta
you have ran windows releases on your xbox? i ha... Jan 18 2010, 07:59 AM osmorphyus well, its like they say: you can't match wits... Jan 18 2010, 02:23 PM Pulsemasta
well, its like they say: you can't match wit... Jan 19 2010, 03:56 AM hellknight Glad to see 2bunny finally stfu...
I guess this i... Feb 18 2010, 08:01 PM
2 Pages 1 2 >
|