* Narahari, Narasimhaiah (IE10) Narahari.Narasimhaiah@honeywell.com [050824 16:14]:
So I want to see the debug information on the serial (UART) port. I made serial port redirection at LinuxBIOS level. Is Serial port redirection possible after the Windows 2000 comes up.
What exactly do you expect? Windows 2000 is mainly a graphical user interface. I don't think that it does any output via serial port.
Can some one help me on serial port redirection at LILO level and OS
booting level also.
There's a pretty cool search engine, called "google" - www.google.com. Have a look at: http://www.linux.com/howtos/Remote-Serial-Console-HOWTO/configure-boot-loade...
Stefan
On 8/24/05, Stefan Reinauer stepan@openbios.org wrote:
- Narahari, Narasimhaiah (IE10) Narahari.Narasimhaiah@honeywell.com [050824 16:14]:
So I want to see the debug information on the serial (UART) port. I made serial port redirection at LinuxBIOS level. Is Serial port redirection possible after the Windows 2000 comes up.
What exactly do you expect? Windows 2000 is mainly a graphical user interface. I don't think that it does any output via serial port.
Can some one help me on serial port redirection at LILO level and OS
booting level also.
I think he means before w2k takes over.
Bochs has serial output but you have to make sure its enabled. I'm not at work right now or I would tell you the exact #defines in BOCHS to make sure are enabled. Search the linuxbios archives for "bochs" and "serial debug". Or you can just look at the bochs code and search for "debug". One of those #defines enables serial ouput.
When serial output is enabled you will be able to see all the stuff that would normally have been sent to the vga screen.
You are using LinuxBIOS V1 I assume?
Can some one help me on serial port redirection at LILO level and OS booting level also.
Look in util/ADLO/bochs/bios/rombios.c
Search for DEBUG_SERIAL and make sure
1) that it exists that way you actually have the version of rombios with the serial output mods 2) the define is enabled
Then all of the printf statements in rombios.c will go out the serial port and anything that calls the bios to write a character to the screen. Which will include what LILO is trying to do.
Note that it also tries to the screen write bios call so if thats what is hanging things it will still hang. For a true console redirection you will have to hack on the send() routine to only call the uart_tx_byte() and not uart_tx_byte() and wrch()
Hope this helps.