From: James S. <jsi...@li...> - 2001-03-29 18:11:45
|
Sorry I missed this message. >That gives me a serial console output on a Pmac and on a IBM machine >with a PC style serial port. But the IBM machine can not open the >initial console: >Warning: unable to open an initial console. > >My first thought was to rename the conflicting/duplicate function names >in macserial.c, I just added a mac_*. But that doesnt work at all. > >Any ideas how to get this to work? When you get the above message this usually means you don't have a console device avaliable. Do you have /dev/console avaliable? I have had this problem when either /dev became corrupt or when I couldn't mount the root partition which requires /dev to be on it. See right before /sbin/init is started by the kernel /dev/console is opened directly inside the kernel. This is because stdin (fd = 0), stdout (fd=1), stderr (fd=3) are pointed at first to /dev/console. I see you serial console enabled. I could be also register_console failed. I noticed both macserial.c and serial.c define either own struct console. If you are going to actually use macserial device instead of the standard serial then you should add a option to use a mac serial console versus the standard serial console. This looks like it could get a bit more hairy if this is the case. MS: (n) 1. A debilitating and surprisingly widespread affliction that renders the sufferer barely able to perform the simplest task. 2. A disease. James Simmons [jsi...@li...] ____/| fbdev/console/gfx developer \ o.O| http://www.linux-fbdev.org =(_)= http://linuxgfx.sourceforge.net U http://linuxconsole.sourceforge.net |