|
OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
|
|||
Quote:
It may also be worth reviewing Section 11.3 of the FAQ: http://openbsd.org/faq/faq11.html#amd64i386 Last edited by ocicat; 24th May 2008 at 04:47 AM. |
|
||||
Thanks for the replies.
Quote:
Quote:
Quote:
|
|
||||
Quote:
An upgrade to OpenBSD 4.4 did not help. Yesterday, I upgraded to OpenBSD 4.5 -release, and the problem was gone! Kudos to the folks for whom it's all in a day's work to fix this sort of thing. Unfortunately, the ending is not entirely happy, as I also installed NetBSD 5.0, which has just switched to using Xorg, and the exact same problem is now occurring there. At least this fix provides some hope for that (assuming there is really no universal conservation law of dead console video ). |
|
|||
I had that happen on my 4.2 box before upgrading to 4.3. I never found a solution, but IIRC, I could type "reset" and then I would have a prompt.
|
|
|||
This was fixed prior to the 4.5 release, it's on the plus45 page.. and there were several mailing list posts about it.
"Save VGA text mode colour palette upon startup and restore it when switching consoles or when X11 exits." Previously you could workaround this problem by setting a depth of 16 instead of 24... but Miod Vallat found a proper fix. http://marc.info/?l=openbsd-cvs&m=123349965622593&w=2 http://www.openbsd.org/cgi-bin/cvswe...1=1.48;r2=1.47 http://www.openbsd.org/cgi-bin/cvswe...?r1=1.5;r2=1.4 http://www.openbsd.org/cgi-bin/cvswe...?r1=1.9;r2=1.8 Perhaps this bug still exists in the NetBSD 5 release? |
|
||||
Thanks for the replies.
Quote:
Quote:
Quote:
Thanks also for your diff in the next post! I'll have to experiment with that and other things more to see what happens. (I'm also having some other issues with 5.0, so it could take a while.) |
|
||||
Quick update: I applied the above patch, but it didn't compile. Turns out one more structure element was needed from the 4th link above, in vgavar.h:
Code:
uint8_t vc_palette[256 * 3]; |
|
||||
The GENERIC kernel with the modified patch (as above) works beautifully, text is restored on leaving X. Thank you again BSDfan666, you really identified exactly the right information!
After that, I compiled a generic kernel with frame-buffer console video enabled plus the above patch. This one continues to exhibit the problem (same as without patch). This case probably won't be so easy, without an existing fix to copy over. Oh well, enough progress for one day. [Note to moderators: feel free to move the last few posts to a similarly named thread in the NetBSD sub-forum if appropriate.] |
|
|||
Here is my crack at it, not sure if it compiles.. or if I ported it properly.. it might even cause random fires or explosions.
Use at your own risk, don't blame me. Last edited by BSDfan666; 9th May 2009 at 06:12 PM. |
|
|||
I did include that variable definition in my patch, but it might have been in the wrong place.. I'm glad it worked out for you, it might be a good idea to submit this upstream so they can fix it in a later release.
Take care. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
change screen saver in text mode | mfaridi | FreeBSD General | 2 | 29th October 2008 05:14 AM |
playing songs in text mode | rex | FreeBSD General | 4 | 27th August 2008 08:48 PM |
Changing encoding of text in MySQL database | stukov | Programming | 5 | 15th July 2008 09:48 PM |
How to change Fluxbox menu text color | rex | FreeBSD General | 1 | 11th May 2008 02:40 AM |
post-install green text w/o shell | standardFoo | NetBSD Installation and Upgrading | 5 | 2nd May 2008 11:12 PM |