看板 FB_stable 關於我們 聯絡資訊
On 13 Apr 2014, at 4:07, Doug Hardie <bc979@lafn.org> wrote: > After much digging, I now know what it going on, but not why. When getke= y is called the first time, menu_timeout_enable is set to one. However, it = is set to zero on every check after that. In getkey after the comment "Was= a key pressed" is a check of key to see if a key was pressed. It is retur= ning a decimal 7 (BEL). That then clears menu_timeout_enable and it then s= its there waiting for a valid key input. There is no keyboard plugged into= the system. I have no idea how that BEL is being generated or even how to= prevent it. Could it be possible that it comes from the serial console? = I tend to doubt thats the case since the system hangs during boot when the = serial console is not connected. I suppose that I could put in a test for = a key value that is not a control character, but that would only work until= the next system update. I'd have to remember to put it back in each time.= Thats not likely to happen. My memory is not that good. Whats interestin= g is that I have 4 systems (i386) doing this and 1 system (i386) and 2 syst= ems (amd64) not doing it. The only common thread is the 4 systems doing it= are about 100 miles from me and the working ones are here. I=92m hardly an expert on serial console matters, but reading the above it = seems to me that on the problematic systems you have the serial console con= nected to some other remote machine(s) - at least, I doubt you are using a = 100 mile long serial cable. Since the problematic systems all receive a BEL signal and the ones local t= o you don=92t, the problem may not be at the receiving end but at the sendi= ng end. Is there a difference between the sending part of the setup between= the systems that do receive that BEL signal and those that don=92t? Alban Hertroys -- If you can't see the forest for the trees, cut the trees and you'll find there is no forest. _______________________________________________ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"