Possible CPM2 SMC bug

Rune Torgersen runet at innovsys.com
Tue Oct 26 09:25:20 EST 2004


The output from INIT (sysvinit 2.85) is garbled when runninn on kernel 2.6.9 and using SMC1 as the console port
When runnign SCC1 as console port, no garbling occurs.
Only the output from INIT seems to be garbled. And only output that does not show up on netconsole.

The problem was not present in 2.6.7, which used the old smc/scc uart drivers.

Output with scc1 (ttyCPM1)
Serial: CPM driver $Revision: 0.01 $
ttyCPM0 at MMIO 0xf0011a80 (irq = 4) is a CPM UART
ttyCPM1 at MMIO 0xf0011a00 (irq = 40) is a CPM UART
...
Freeing unused kernel memory: 276k init
INIT: version 2.85 booting
Activating all swap files/partitions...Adding 1028152k swap on /dev/hda2.  Priority:1 extents:1
...
Setting hostname to gold4_cpu1...       [  OK  ]
INIT: Entering runlevel: 3
Starting system log daemon...   [  OK  ]


Output with SMC1 (ttyCPM0)
Serial: CPM driver $Revision: 0.01 $
ttyCPM0 at MMIO 0xf0011a80 (irq = 4) is a CPM UART
ttyCPM1 at MMIO 0xf0011a00 (irq = 40) is a CPM UART
...
VFS: Mounted root (ext3 filesystem).
IT:αersion 2.85 bootingemory: 276k ini■
Activating all swap files/partitions...Adding 1028152k swap on /dev/hda2.  Priority:1 extents:1
Mounting proc file system...    [  OK  ]
...
Setting hostname to gold4_cpu1...       [  OK  ]
INIT: En ring runlevel: 3
Starting system log daemon...   [  OK  ]

Rune Torgersen
System Developer
Innovative Systems LLC
1000 Innovative Drive
Mitchell, SD 57301
Ph: 605-995-6120
www.innovsys.com


More information about the Linuxppc-embedded mailing list