LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 07-26-2011, 01:16 AM   #1
ravspratapsingh
Member
 
Registered: May 2010
Posts: 30

Rep: Reputation: 15
Post serial chip duart XR16C2850 does not transmits or receives


Hi,

I am using dual port XR16C2850 interfaced with MPC8313E powerpc controller. I am using 8250.c linux driver. IRQ0(interrupt vector 48) and IRQ1(interrupt vector 17) of controller is connected to INTA and INTB of duart. When I send the echo command, I get the chip select but there is no data on TX line.
I get following error:-
device failed to grab its irq resources

kernel debug is below:-


echo 1010 > /dev/ttyS1

RAVS: uart_open(1) called and total num is (4)

RAVS: state->uart_port->flags 0x31000040 and irq 0x30

RAVS : serial8250_startup

up->port.type : 12

RAVS : in start up PORT_16850

RAVS: It's a real HW IRQ

RAVS: serial_link_irq_chain irq: 48

RAVS: requestig IRQ 48

RAVS: mcr -> 0x8

Got IRQ 48

RAVS: IIR 0x1

RAVS: ier 0x0 lcr 0x13 mcr 0x0 acr 0x0

RAVS : retval of startup 0

RAVS : skipped init_hw

uart_startup returned 0

RAVS : RtV ->0

RAVS: 1st time open suceed port->flags : 0xa0000000

RAVS : device failed to grab its irq resources

RAVS: mcr -> 0x8

RAVS termios data :
,iflag->768
,oflag->3
,cflag->51981
,lflag->1487
ispeed->9600
ospeed->9600

RAVS: mcr -> 0xb

Got IRQ 48

RAVS: IIR 0xc2

RAVS_UART_IIR_NO_INT : ier 0x5 lcr 0x13 mcr 0x0 acr 0x0

RAVS: ier 0x5 lcr 0x13 mcr 0x0 acr 0x0

RAVS: IIR 0xc1

RAVS: ier 0x5 lcr 0x13 mcr 0x0 acr 0x0

Got IRQ 48

RAVS: IIR 0xc2

RAVS_UART_IIR_NO_INT : ier 0x7 lcr 0x13 mcr 0x0 acr 0x0

RAVS: ier 0x7 lcr 0x13 mcr 0x0 acr 0x0

RAVS: IIR 0xc1

RAVS: ier 0x7 lcr 0x13 mcr 0x0 acr 0x0

Got IRQ 48

RAVS: IIR 0xc2

RAVS_UART_IIR_NO_INT : ier 0x5 lcr 0x13 mcr 0x0 acr 0x0

RAVS: ier 0x5 lcr 0x13 mcr 0x0 acr 0x0

RAVS: IIR 0xc1

RAVS: ier 0x5 lcr 0x13 mcr 0x0 acr 0x0

RAVS: mcr -> 0x8

RAVS: mcr -> 0x0

Got IRQ 48

RAVS: IIR 0xc1

RAVS: ier 0x0 lcr 0x13 mcr 0x0 acr 0x0
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Android game secretly transmits GPS coordinates LXer Syndicated Linux News 0 08-18-2010 02:50 PM
how do I read a camera chip thru an internal usb chip reader? CPUFreak91 Linux - Newbie 2 07-20-2005 12:15 AM
Silicon Image Serial ATA chip rlculver Linux - Hardware 3 11-12-2003 01:56 PM
ADSL connects but no data transmits, info inside... DaveQB Mandriva 2 11-09-2003 10:59 AM
2 PC Home samba network, One way transmits fine, the other way has problems.... gamebeavis Linux - Networking 2 09-14-2003 04:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 11:14 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration