Am Sath, 2004-03-20 ag 12:36, scrÃobh Martin Michlmayr: > * Alastair McKinstry <[EMAIL PROTECTED]> [2004-03-20 07:27]: > > kbd-chooser in d-i _should_ autodetect serial consoles and put this > > option on the menu. Could you please send me a copy of the install log; > > it should list whether serial console was detected or not.
> > /dev/console? /dev/ttyS1? > > Jan 10 19:58:10 (none) syslog.info klogd: Mounted devfs on /dev > Jan 10 19:58:10 (none) syslog.info klogd: Freeing unused kernel memory: 72k freed > Jan 10 19:58:10 (none) syslog.warn klogd: Ignoring TIOCGSERIAL > Jan 10 19:58:10 (none) syslog.warn klogd: Ignoring TIOCGSERIAL > Jan 10 19:58:10 (none) daemon.info init: Starting pid 52, console /dev/console: > '/bin/sh' > Jan 10 19:58:10 (none) daemon.info init: Starting pid 54, console /dev/console: > '/sbin/debian-installer' > > Oh, I see what's going on. The UART driver for this board doesn't implement > TIOCGSERIAL. Ok, Checking through the kernel sources, the EINVAL will be returned from the ioctl(), making kbd-chooser (using the same logic as woody, BTW) decide that there is no serial console present. Is a serial console, etc mentioned on the kernel commandline (/proc/cmdline)? Can we improve the autodetection code that way? > -- > Martin Michlmayr [EMAIL PROTECTED] -- SlÃn agus Beannacht, Alastair Alastair McKinstry <[EMAIL PROTECTED]> GPG Key fingerprint (New) = CD45 260A 4546 C3C0 F595 F0F6 4132 BF90 2A38 5C57 He that would make his own liberty secure must guard even his enemy from oppression; for if he violates this duty he establishes a precedent that will reach to himself. - --Thomas Paine

