Config. tips sought: Serial-console garbles boot messages.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,

would someone please be kind enough to point me in the right direction
for this! 

Symptom:

- serial console grables all the boot messages, until just at/before
the log-in prompt. Then, if I reboot, the 'shutdown' messages continue
to be seen correctly until boot-up begins again.
Sample output is provided further down.

I expect that something basic is missing here, but this has already
sucked up too much of my time! So I'll be very grateful for any
pointers as to where I should look.

Additional info is provided below.

Thanks much,
Ali


Context: 

- serial console is set up between two boxes. 
- The boxes' on-board COM ports work fine in every respect.
- a new PCI card provides additional COM ports for one box. Serial
  console does not work with this. This is the problem.
- After extensive testing, the culprit hardware has been confirmed to
be the new PCI card. The cables and the peer COM ports have been as
verified as is sane to do! Ditto the kermit/minicom/cu configuration.

- the "serial" driver (8250_pci.c) mentions this card as supported,
but I do not know the extent of its supports. Its initialization
function, pci_netmos_init(), _is_ in System.map -- so it's built in!


Additional info:

- the PCI card provides 2 COM ports. It is
  03:02.0 Serial controller: NetMos Technology PCI 9865 Multi-I/O Controller
  (For the benefit of googlers, it is an Uptech/Upmost UT300 RS-232
  PCI card. Chip: MOSCHIP MCS9865. 16C550 UART.)
  It is a high-speed port, but I run it at 115200, and have even tried
  9600 baud.

- the kernel is a very recent 2.6.39-rc5-wl, wireless-testing.git.
- the kernel command-line includes
  console=ttyS1,115200  console=tty0

- getty does not work on this. Nor does any input.
  (I'd take this observation with a tiny grain of salt, because IIRC
  there was one scenario in which it may have worked.)

- /proc/tty/driver/serial shows no rx, but its tx count requires more
  testing by me.

- Remote-Serial-Console-HOWTO, Serial-HOWTO and
  Documentation/serial-console.txt have not been fruitful, so far.



Sample output:

The garbled 'text' is the entire set of boot messages!

[ 1105.856980] ehci_hcd 0000:00:1a.7: PCI INT C disabled
[ 1105.917787] PM: Calling i8259A_shutdown+0x0/0x10
[ 1105.973273] Restarting system.
[ 1106.009954] machine restart
ïu6ï'&'-Dï'6DL5$ïtï$ïïïNÅï4.äïïUNï4%TïïïïU5ï%'ï4e$ÄNÅï5.DïïNÅïïïE46ïe$Äï%7ï4e$
<U+0527>6ïd,\-ïïïeMtnVm&6dïm&%7eïæt$Öï&$M'6ï$<ïM&DD
'6Äï&$ïï&6ïFÍï,Tï'6ï6v~ï&7~ï-&Eïm&%ïï&6dFMïn&ïï'ïïïïïï4T-ïT
                                                          ï6.ïfDï&ïïe$^V>ïVï>ïïïO<$Pf$.ïïïïfï%7ïF%wï$mm<ïïïÎïïïï~ï'nïGEdï.ïïdï7vï6fïVfï6fï6DïEïdïFNFï6V&$d'4ïdïÆï54ï6ï^eï4ï$ïï%ïïïtïïdï%ïïïF/ïïd=dïï>ïDd$ïïlN'&v-ï/ï|-ïïï/ï^OÄ6D]6ïï$Dï>M4ï}<&m'ïo/D$mm|gï>4ïïïDmm<Çï$w47ïoï$ïV$Lmïï|=tDdDïïdD'ï$$ïtf=Vïlï6ïwïDïïïDï,ï5ïïïtïDïd>4.ïnDtïïd$ït$Dï$ï
&l$ïmT$.FïmTDtïïdïd4ït4ïd.TïïDïï<ïe%/$%/&ïï/4ïn.TmïïïeD
DDTïïïïï%ï<ïDïï<ïg'?T%-ï&eDMm<Åïd$MDtïï$%T>ï%ï>ÄdïmL.6.$%&\mm<ïïïDDmt4ïïïÅ<ï$t\ï.dod<ïg'/t=ïfï.4ïDïïT%tv%ï%vFïf%ï<$ï<%ïï,ïïï$tvï'ï$ï4%TïE$ïE46ïE$ïïï%ï
                                                                      ï4,äNÅïï4.äï%7ïE$<U+E3AE>ïïï4,äïïïïï46ïE$Äï%7ï5ddïïï%'ï4e$ïE46ï5d$ïïï6ïïtïïïïÎLÅïT%.DEM%Dïdt4Væïïï'ïFï6Lï4'ï4ïDÖïïml'$ÝïfLïLïï'ï-ïF-&ï-ÄM5ïfn'&ïDïDïïl
                                                       Nmïïïïïïïïïï[
12.184356] sshd (1529): /proc/1529/oom_adj is deprecated, please use
/proc/1529/oom_score_adj instead.
[   13.930906] r8169 0000:02:00.0: eth0: link up
[   13.982514] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready

--
To unsubscribe from this list: send the line "unsubscribe linux-serial" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux PPP]     [Linux FS]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Linmodem]     [Device Mapper]     [Linux Kernel for ARM]

  Powered by Linux