Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

Book8088's CF2IDE stumps Freedos boot (Users)

posted by boeckmann, Aachen, Germany, 02.02.2024, 23:34

> > > Oh, I get it. You mean the numbers look strange because of the wrong
> > printf
> > > specifier?
> >
> > Yes, while it is a bug I do not think it is directly related to your
> > problem. https://github.com/FDOS/kernel/issues/122
>
> Neither do I. It shouldn't affect anything.
>
> Anyway, that's a good eye for bugs. :) I needed a few seconds to find it
> even after you mentioned it.

This would be the next DebugPrintf to be printed:
https://github.com/FDOS/kernel/blob/db71b1a78337e96a89b4343b8303c6b8c4e6bb14/kernel/config.c#L347

It gets not printed, so the kernel hangs before it. PreConfig is called by init_kernel right after dsk_init.
https://github.com/FDOS/kernel/blob/db71b1a78337e96a89b4343b8303c6b8c4e6bb14/kernel/main.c#L345

So the system hangs in anything called by dsk_init().
https://github.com/FDOS/kernel/blob/db71b1a78337e96a89b4343b8303c6b8c4e6bb14/kernel/initdisk.c#L1440

You may put some DebugPrintf in initdisk.c, so see where it actually hangs. Or run the kernel under a debugger. But the first one is probably easier for the start...

 

Complete thread:

Back to the forum
Board view  Mix view
22049 Postings in 2034 Threads, 396 registered users, 74 users online (0 registered, 74 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum