I thought I would have a go at running my OS on a computer I bought for
it (and had it running on) a while ago. So I got it out... it's not working.
Trying to figure out what is wrong.. I tried different RAM, different Graphics, different monitors.. at one point it started to boot, but only once, and I have no idea what I did to make that happen.
It looks as though it works, it just shows nothing on the screen.. the lights are on, the ethernet card flashes.
Can you hook up a UART? Throwing some debug prints out of the serial port is usually a pretty good place to start.
You may want to try resetting all BIOS settings, which you can usually do with a jumper. It sounds a bit like there's some corruption in the system configuration.
Oh well QEMU works, and last time I checked VMWare works too, so that will have to do for now until I can motivate myself to attempt to fix things.
Re: Re: Computer Broken
By: tenser to apam on Wed Sep 10 2025 06:48 am
Can you hook up a UART? Throwing some debug prints out of the serial is usually a pretty good place to start.
Unfortunatly not, there's no serial port, and I don't have anything to plug in that would give it a serial port.
I didn't try looking for a jumper, but I did remove the CMOS battery and replace it.
I did find a second computer and it did the same thing (which you would think would narrow it down..) however I removed some of the memory and
it started working. At least I got grub to load - my OS didn't but that could be a software problem.
Anyway, I've packed it up for now and will continue with QEMU. Interestingly (though off topic) Virtual box no longer works - it wont even boot grub, I guess it no longer supports setting vesa modes?
Oh well QEMU works, and last time I checked VMWare works too, so that
will have to do for now until I can motivate myself to attempt to fix things.
I have gotten my telnet program to work properly with Synchronet (it required a bit more telnet protocol stuff) so I can connect to Constructive Chaos and have it detect ansi and telnet and work
correctly. I've also gotten TinyCC to work, so I can enter programs and compile them and the output runs.
It would be nice to have it work on a real PC again, but it's a 32bit OS with no usb stack - so finding a computer with a PS/2 mouse and Keyboard port is tricky - sometimes that USB compatibility works, sometimes it doesn't, but I guess what I really need is a USB stack - so maybe that will be my next project.
Unfortunatly not, there's no serial port, and I don't have anything to
plug in that would give it a serial port.
Oh, that's unfortunate; meaning there's no UART header on the mainboard? Sometimes, one is lined out but runs at TTL levels, but if there's truly no interface, then obviously it won't help. :-(
Once GRUB has started handing off to your OS, I'd think that further problems would be software.
Hey, that's all pretty cool! Dunno about the VirtualBox stuff, but good luck and have fun playing around with it!
apam wrote to tenser <=-
It would be nice to have it work on a real PC again, but it's a 32bit
OS with no usb stack - so finding a computer with a PS/2 mouse and Keyboard port is tricky - sometimes that USB compatibility works, sometimes it doesn't, but I guess what I really need is a USB stack -
so maybe that will be my next project.
My local junk shop has an old, serial Logitech mouse - the wedgy one with the 3 buttons. I'll see if it's still there. :)
[snip]
I'm going away for a week tomorrow, going to investigate USB stack and porting to x86_64 - both seem like pretty monumental tasks to me lol, so which ever one looks the easiest I will have a crack at first.
Hey, that's all pretty cool! Dunno about the VirtualBox stuff, but g luck and have fun playing around with it!
Thanks, I'm pretty happy with it.. I discovered some errors in it
earlier this year and it's been running so much better since I fixed
them, and I've been suprised at how well the networking has been going
(I had a webserver on it for weeks, and with all the portscanners and such, it didn't crash at all)
Anyway, I will have fun, oh I used your pointer vectors in it too that
you contributed to magicka bbs - I hope that's ok..
Cool. USB is hard; for x86_64, it depends: to enter 64-bit long mode, you have to set up virtual memory paging and enable the MMU; if you're already doing that for 32-bit, it's not so bad: but if you're using x86-segmentation (which I think you are?) it's a lot more challenging because a) most of x86 segmentation is ignored in long mode, and b) you have to switch to paged virtual memory (with at least 4 level paging).
apam wrote to poindexter FORTRAN <=-
Hah! Cool. Except I don't have a serial mouse driver either lol
Don't know if I could
tolerate a mechanical mouse again - I spent most of the '90s cleaning
mouse gerb out of the workings...
Sysop: | altere |
---|---|
Location: | Houston, TX |
Users: | 69 |
Nodes: | 4 (0 / 4) |
Uptime: | 02:48:44 |
Calls: | 1,403 |
Calls today: | 4 |
Files: | 8,542 |
Messages: | 308,725 |