All of lore.kernel.org
 help / color / mirror / Atom feed
* Serial issue
@ 2006-08-18  0:47 Lee Revell
  2006-08-18 15:44 ` Paul Fulghum
  0 siblings, 1 reply; 26+ messages in thread
From: Lee Revell @ 2006-08-18  0:47 UTC (permalink / raw)
  To: linux-kernel; +Cc: Russell King, Paul Fulghum

I've found a weird serial bug.  My host is a Via EPIA M-6000 running
2.6.17 connected to a PPC Yosemite board running 2.6.13. 

In all cases the serial console works great.  But, with the default
setting of IRQ 4, Kermit file transfers via the serial interface simply
time out.  However if I use polling mode (setserial /dev/ttyS0 irq 0 on
the host), file transfers work.

When set to IRQ 4, the interrupt count does increase.

# cat /proc/tty/driver/serial 
serinfo:1.0 driver revision:
0: uart:16550A port:000003F8 irq:4 tx:267 rx:667 DSR|CD
1: uart:16550A port:000002F8 irq:3 tx:0 rx:0
2: uart:unknown port:000003E8 irq:4
3: uart:unknown port:000002E8 irq:3

# setserial /dev/ttyS0 
/dev/ttyS0, UART: 16550A, Port: 0x03f8, IRQ: 4

# cat /proc/interrupts 
           CPU0       
  0:  175715279          XT-PIC  timer
  1:     137763          XT-PIC  i8042
  2:          0          XT-PIC  cascade
  4:        326          XT-PIC  serial
[...]

Any ideas?  I'm guessing it might be a quirk of the VIA chipset?

Lee




^ permalink raw reply	[flat|nested] 26+ messages in thread
* Serial issue
@ 2006-07-26 21:45 Lee Revell
  2006-07-26 21:57 ` Wolfgang Denk
  2006-07-26 22:00 ` Lee Revell
  0 siblings, 2 replies; 26+ messages in thread
From: Lee Revell @ 2006-07-26 21:45 UTC (permalink / raw)
  To: linuxppc-embedded

I'm trying to connect to a Yosemite 440 PPC board using the serial
console.  I've tried everything in every Linux Serial FAQ and HOWTO but
no matter what, I can receive but I cannot transmit.

I know the cable is good, and the PPC board seems OK as I can see all
the boot messages.  Could it be a bug in my host's serial port?  I'm
using a Via EPIA M6000.

$ sudo cat /proc/tty/driver/serial
serinfo:1.0 driver revision:
0: uart:16550A port:000003F8 irq:0 tx:0 rx:5379 oe:7 RTS|DTR|DSR|CD

No matter what I do, tx bytes is stuck at 0.  I've tried irq 0 (polling)
and irq 4.  No difference at all.

Help...

Lee

^ permalink raw reply	[flat|nested] 26+ messages in thread

end of thread, other threads:[~2006-08-18 21:02 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-18  0:47 Serial issue Lee Revell
2006-08-18 15:44 ` Paul Fulghum
2006-08-18 16:25   ` Lee Revell
2006-08-18 16:34   ` Lee Revell
2006-08-18 17:55   ` Lee Revell
2006-08-18 18:11     ` Paul Fulghum
2006-08-18 18:17       ` Lee Revell
2006-08-18 18:36         ` Russell King
2006-08-18 18:40           ` Lee Revell
2006-08-18 18:52             ` Russell King
2006-08-18 19:06               ` Paul Fulghum
2006-08-18 19:09                 ` Russell King
2006-08-18 19:15         ` linux-os (Dick Johnson)
2006-08-18 19:21           ` Lee Revell
2006-08-18 20:05             ` linux-os (Dick Johnson)
2006-08-18 20:25               ` Mark Hounschell
2006-08-18 20:28                 ` Lee Revell
2006-08-18 20:32                   ` Mark Hounschell
2006-08-18 20:36                     ` Russell King
2006-08-18 20:57                       ` Mark Hounschell
2006-08-18 20:34                   ` Russell King
2006-08-18 20:54                     ` Lee Revell
2006-08-18 21:02                       ` Russell King
  -- strict thread matches above, loose matches on Subject: below --
2006-07-26 21:45 Lee Revell
2006-07-26 21:57 ` Wolfgang Denk
2006-07-26 22:00 ` Lee Revell

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.