Page 6 of 8

Re: cannot install ReactOS with boot CD

Posted: Sat Apr 07, 2018 3:04 am
by mrmajik45
Kdb> cont

Re: cannot install ReactOS with boot CD

Posted: Sat Apr 07, 2018 7:51 am
by phoenix63
mrmajik45 wrote:Kdb> cont
great, thanks ! :)

Re: cannot install ReactOS with boot CD

Posted: Sat Apr 07, 2018 3:22 pm
by ThFabba
phoenix63 wrote:Oh right, it's clear now : it's the "q" key I have to tap (when I'm asked to) to be able to make appear what looks missing AT THE BEGINNING of the back trace ? I did notice that the proicess started very quickly and that the beginning looked odd...
Actually, no, you don't have to press q. "Press q to abort" comes from a pagination algorithm. It shows you one screen full of data and then prints that message so you can read the entire screen. When you're done reading (or taking a photo) you press enter and it will print more, until it's either reached another screenfull (and pauses) or it's done with what it's printing. The "q" option is simply a way to abort early if you don't need to see the rest.
This works in much the same as the "more" command in a command-line shell.

So you type bt, hit enter once, it should show the first part of the backtrace and the "Press q" message. You take a photo, press enter and it shows the next screen (which is likely the last screen, which we already have a photo of).

Thanks.

Re: cannot install ReactOS with boot CD

Posted: Sat Apr 07, 2018 7:39 pm
by mrmajik45
phoenix63 wrote:
mrmajik45 wrote:Kdb> cont
great, thanks ! :)
So did it work or bsod or go back to kdb?

Re: cannot install ReactOS with boot CD

Posted: Sat Apr 07, 2018 9:48 pm
by phoenix63
Sorry, have family and didn't yet have time to proceed with your requests

Re: cannot install ReactOS with boot CD

Posted: Sat Apr 07, 2018 11:12 pm
by mrmajik45
Don't worry. Just give us the results when you're done, it's the weekend after all. :D

Re: cannot install ReactOS with boot CD

Posted: Sun Apr 08, 2018 2:57 pm
by phoenix63
mrmajik45 wrote:
phoenix63 wrote:
mrmajik45 wrote:Kdb> cont
great, thanks ! :)
So did it work or bsod or go back to kdb?
pic ;)

[ external image ]

Re: cannot install ReactOS with boot CD

Posted: Sun Apr 08, 2018 2:58 pm
by phoenix63
ThFabba wrote:
phoenix63 wrote:Oh right, it's clear now : it's the "q" key I have to tap (when I'm asked to) to be able to make appear what looks missing AT THE BEGINNING of the back trace ? I did notice that the proicess started very quickly and that the beginning looked odd...
Actually, no, you don't have to press q. "Press q to abort" comes from a pagination algorithm. It shows you one screen full of data and then prints that message so you can read the entire screen. When you're done reading (or taking a photo) you press enter and it will print more, until it's either reached another screenfull (and pauses) or it's done with what it's printing. The "q" option is simply a way to abort early if you don't need to see the rest.
This works in much the same as the "more" command in a command-line shell.

So you type bt, hit enter once, it should show the first part of the backtrace and the "Press q" message. You take a photo, press enter and it shows the next screen (which is likely the last screen, which we already have a photo of).

Thanks.
here's the pic ;)

[ external image ]

Re: cannot install ReactOS with boot CD

Posted: Sun Apr 08, 2018 6:45 pm
by mrmajik45
Yeah it can't even continue. What the heck happened?

Re: cannot install ReactOS with boot CD

Posted: Sun Apr 08, 2018 7:18 pm
by ThFabba
Odd. The backtrace is equivalent to the one you get when debugging with Windbg or GDB and telling the debugger to break in.

The backtrace points to https://git.reactos.org/?p=reactos.git; ... 50dee#l176
Then KeUpdateSystemTime breaks here (presumably): https://git.reactos.org/?p=reactos.git; ... c50dee#l97

Since we're in a GCC/KDBG build, we get this version of KdPollBreakIn: https://git.reactos.org/?p=reactos.git; ... 50dee#l367

It just returns KdpBreakPending... https://git.reactos.org/?p=reactos.git& ... eakPending
... which is never set to TRUE.

This would seem to indicate there's a driver writing to a random memory location that it does not own.
I have two theories, but they're just (educated) guesses:
* the malfunction in the USB driver (missing SCE IRP, as per the last print) results in the execution of a buggy code path which writes to that memory
* the race condition we have in the PNP manager (https://jira.reactos.org/browse/CORE-10456) causes the USB driver to start multiple times, causing both the missing SCE IRP and the memory corruption.

So... you might get further if you disable USB in your BIOS options. But to really know more we'll probably have to wait for the new USB stack and a fix for the PNP race.

Re: cannot install ReactOS with boot CD

Posted: Sun Apr 08, 2018 7:42 pm
by phoenix63
ThFabba wrote: So... you might get further if you disable USB in your BIOS options. But to really know more we'll probably have to wait for the new USB stack and a fix for the PNP race.
OK, so what if I do disable usb in bios, rerun this live CD and all works out ? (maybe too optimistic here really lol) Does that mean, it would also work out with the boot CD ? And if so, imagine I manage to install the OS, what happens if I re-enable usb in the bios ? Will the OS malfunction ?
Otherwise, when could I expect a "new USB stack and a fix for the PNP race" ? 'Cos all this is still in development, right ?
Thanks.
As soon as I can, I'll do a rerun with usb disabled ;)

Re: cannot install ReactOS with boot CD

Posted: Sun Apr 08, 2018 8:30 pm
by oldman
mrmajik45 wrote:Yeah it can't even continue. What the heck happened?
Because you asked him to use cont in the wrong place!

The screen is asking for q or any other key.

Re: cannot install ReactOS with boot CD

Posted: Sun Apr 08, 2018 8:51 pm
by phoenix63
oldman wrote:
mrmajik45 wrote:Yeah it can't even continue. What the heck happened?
Because you asked him to use cont in the wrong place!

The screen is asking for q or any other key.
maybe not... I should have used "cont" at the end of the back trace ! (Actually, I've only just realized with your post that I didn't wait till the end...) I'll do it again and see what changes

[edit] nope, doesn't change anything, I get the same messages as previously shown on the photo

Re: cannot install ReactOS with boot CD

Posted: Sun Apr 08, 2018 9:59 pm
by mrmajik45
Can someone put a link to Vgal's ReactOS builds for him? It has improved USB support.

Re: cannot install ReactOS with boot CD

Posted: Mon Apr 09, 2018 9:13 am
by oldman
mrmajik45 wrote:Can someone put a link to Vgal's ReactOS builds for him? It has improved USB support.
They (3 of them) are already in this topic thread viewtopic.php?f=4&t=17001