Summary: | Sparc with RSC yields "Inconsistent console: input 3, output 3" | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Dan Thorson <dan.thorson> |
Component: | [OLD] Core system | Assignee: | Sparc Porters <sparc> |
Status: | RESOLVED WONTFIX | ||
Severity: | normal | ||
Priority: | High | ||
Version: | 2004.1 | ||
Hardware: | Sparc | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Dan Thorson
2004-08-23 08:01:54 UTC
Appears that this can be worked-around by using boot: gentoo-2.4-smp console=ttyb however the kernel should likely support the RSC, as they are quite common. My bad: apparently the RSC does not redirect ttyb.... boot: gentoo-2.4-smp console=ttyb Allocated 8 Megs of memory at 0x40000000 for kernel Loaded kernel version 2.4.25 Loading initial ramdisk (943625 bytes at 0x40C00000)... | Using /dev/ttyb as console. Remapping the kernel... done. Booting Linux... Starting CPU 1... OK [ system console becomes unresponsive at this point ] Appears that openprom.h needs #define PROMDEV_RSC 3 /* in/out to Remote System Console */ at approx line 206. and console.c needs to use PROMDEV_RSC at/near line 120 in prom_query_input_device() and line 172 for prom_query_output_device() and routine "paging_init()" in setup.c in the switch statement near line 526 needs to recognize PROMDEV_RSC as a valid return value. Perhaps modify the case-statement to have a case4 for forcing RSC as the console? [also in boot_flags_init() in setup.c] I suspect treating the RSC the same as ttyb in sunserial.c might be OK in sunserial_console_termios(). Am not sure where else the RSC would need to be addressed.... ttya/b don't get mapped to the same device names in linux, they usually get mapped as ttyS0 and ttyS0 respectively. Please try the 2004.2 cd since 2004.1 had some bootloader (silo) issues that may be the cause of your problem. Also, i'm not sure you can use the serial port on the RSC as console in linux, squash: can you give more insight into this? In any case the livecd tries to pull up a console on serial port A (ttya / ttyS0). I have not tried the RSC port on my E250s yet, but I will try to put one together tomorrow afternoon and will report back with results. Did you have any luck getting console output to the RSC on ur E250's? As far as we found out using the RSC in linux requires information currently not available from sun. Even if this information were available, it would require kernel coding/patching which really isn't that tempting considering the RSC only works in the E250 model. Sorry. |