Bug 44185

Summary: rescue mode does not work with serial console
Product: [Retired] Red Hat Linux Reporter: Sean Dilda <agrajag>
Component: anacondaAssignee: Brent Fox <bfox>
Status: CLOSED CURRENTRELEASE QA Contact: Brock Organ <borgan>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.3CC: copeland, ewt, msf, pzbowen+rhbeta
Target Milestone: ---   
Target Release: ---   
Hardware: alpha   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2001-10-23 14:42:05 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Sean Dilda 2001-06-12 00:33:39 UTC
If you try to boot into rescue mode with a serial console, /sbin/loader
will startup and ask you to choose a language.  No matter what language you
chose, it will always ask you to chose your language again.  It never moves
beyond this screen.
This was tested on an alpha.

Comment 1 Bill Nottingham 2001-06-21 18:48:44 UTC
This may have something to do with #45284. ewt; you might need to change
this in installinit.


Comment 2 Michael Fulbright 2001-08-07 21:06:21 UTC
Brent please work with Bill on this - I have a serial cable if you need.

Comment 3 Brent Fox 2001-08-24 22:10:16 UTC
I don't see this on x86 hardware.  What kinds of Alphas do you have?

Comment 4 Peter Bowen 2001-08-24 22:19:16 UTC
I found the bug on a CS20.  I think it is similar to the DS20L that Bryce (Phil
Copeland) has.

Comment 5 Sean Dilda 2001-08-24 22:23:25 UTC
This was found on a CS20 (http://www.apinetworks.com/products/cs20.shtml).

Comment 6 Peter Bowen 2001-08-25 19:44:00 UTC
On unique thing about the CS20, that could be causing the problem, is that is
has no video card, and no keyboard or mouse ports (neither PS/2 nor USB), and 
no keyboard controller.

Comment 7 Brent Fox 2001-08-27 15:10:17 UTC
We don't currently support the CS20, and I'm not aware of any plans to support
it in the future.

Comment 8 Peter Bowen 2001-10-23 14:42:00 UTC
This bug actually is not dependent on alpha, just on using a serial console in
rescue mode.  The problem is that chooseKeyboard, in loader/lang.c returns
LOADER_NOOP if FL_SERIAL is set.  This works fine during normal operation of the
installer, but in rescue mode, chooseKeyboard is called in this bit of code in
loader/loader.c:

            do {
                chooseLanguage(&lang, flags);
                defaultLang = 0;
                rc = chooseKeyboard (&keymap, &kbdtype, flags);
            } while (rc);

The problem is the this is an endless loop, as rc is always non-zero.  In 7.2,
this has been fixed by changing the last line to read:

            } while ((rc) && (rc != LOADER_NOOP));

So this actually was a bug, and it looks like some one already caught it.


Comment 9 Brent Fox 2001-10-24 19:37:11 UTC
I guess I didn't see it on x86 hardware originally because I was using the 7.2
beta trees...  Anyway, I'll close this a 'CurrentRelease' since it appears to be
fixed in 7.2.  Thanks for your report.