LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-13-2007, 10:16 AM   #1
bramsey123
LQ Newbie
 
Registered: Aug 2007
Posts: 7

Rep: Reputation: 0
Serial Driver Failing to Register all Ports of my Quad Uart


I have built a pci board with an Oxford OX16PCI954 chip. I have placed it in mode 00 which has two functions. Function 0 is a Quad Uart and function 1 is an 8-bit local bus. That issue I'm having is that when I place the device in the pc and boot it comes up as the first 3 ports of the uart being registered as serial port but the 4 port failing. Then it registers the 8-bit local bus as a serial port and also fails. I'm not entirely sure what this means. Below is he output from /var/log/messages.


Sep 13 08:43:24 localhost kernel: Serial: 8250/16550 driver $Revision:
1.90 $ 4 ports, IRQ sharing disabled
Sep 13 08:43:24 localhost kernel: serial8250: ttyS0 at I/O 0x3f8 (irq
= 4) is a 16550A
Sep 13 08:43:24 localhost kernel: 00:07: ttyS0 at I/O 0x3f8 (irq = 4)
is a 16550A
Sep 13 08:43:24 localhost kernel: ACPI: PCI Interrupt Link [LNKM]
enabled at IRQ 10
Sep 13 08:43:24 localhost kernel: ACPI: PCI Interrupt 0000:00:09.0[A]
-> Link [LNKM] -> GSI 10 (level, low) -> IRQ 10
Sep 13 08:43:24 localhost kernel: ttyS1: detected caps 00000700 should
be 00000100
Sep 13 08:43:24 localhost kernel: 0000:00:09.0: ttyS1 at I/O 0xeca0
(irq = 10) is a 16C950/954
Sep 13 08:43:24 localhost kernel: ttyS2: detected caps 00000700 should
be 00000100
Sep 13 08:43:24 localhost kernel: 0000:00:09.0: ttyS2 at I/O 0xeca8
(irq = 10) is a 16C950/954
Sep 13 08:43:24 localhost kernel: ttyS3: detected caps 00000700 should
be 00000100
Sep 13 08:43:24 localhost kernel: 0000:00:09.0: ttyS3 at I/O 0xecb0
(irq = 10) is a 16C950/954
Sep 13 08:43:24 localhost kernel: Couldn't register serial port
0000:00:09.0: -28
Sep 13 08:43:24 localhost kernel: ACPI: PCI Interrupt Link [LNKN]
enabled at IRQ 7
Sep 13 08:43:24 localhost kernel: ACPI: PCI Interrupt 0000:00:09.1[B]
-> Link [LNKN] -> GSI 7 (level, low) -> IRQ 7
Sep 13 08:43:24 localhost kernel: Couldn't register serial port
0000:00:09.1: -28
Sep 13 08:43:24 localhost kernel: RAMDISK driver initialized: 16 RAM
disks of 16384K size 1024 blocksize

Below is the output from lspci which shows the device at 00:09.0 and 00.09.1:

[root@localhost]# /sbin/lspci
00:00.0 Host bridge: Broadcom (formerly ServerWorks) CNB20LE Host
Bridge (rev 06)
00:00.1 Host bridge: Broadcom (formerly ServerWorks) CNB20LE Host
Bridge (rev 06)
00:02.0 Ethernet controller: Intel Corporation 82557/8/9 [Ethernet Pro
100] (rev 08)
00:09.0 Serial controller: Oxford Semiconductor Ltd OX16PCI954 (Quad
16950 UART) function 0
00:09.1 Bridge: Oxford Semiconductor Ltd OX16PCI954 (Quad 16950 UART) function 1
00:0b.0 VGA compatible controller: ATI Technologies Inc Rage XL (rev 27)
00:0f.0 ISA bridge: Broadcom (formerly ServerWorks) CSB5 South Bridge (rev 92)
00:0f.1 IDE interface: Broadcom (formerly ServerWorks) CSB5 IDE
Controller (rev 92)
00:0f.2 USB Controller: Broadcom (formerly ServerWorks) OSB4/CSB5 OHCI
USB Controller (rev 05)
00:0f.3 Host bridge: Broadcom (formerly ServerWorks) CSB5 LPC bridge

Below is the output from scanpci which seems to contatin the proper values in the pci configuration space.

[root@localhost]# scanpci -v
pci bus 0x0000 cardnum 0x09 function 0x00: vendor 0x1415 device 0x9501
Oxford Semiconductor Ltd OX16PCI954 (Quad 16950 UART) function 0
CardVendor 0x1415 card 0x0000 (Oxford Semiconductor Ltd, Card unknown)
STATUS 0x0290 COMMAND 0x0103
CLASS 0x07 0x00 0x06 REVISION 0x00
BIST 0x00 HEADER 0x80 LATENCY 0x00 CACHE 0x00
BASE0 0x0000eca1 addr 0x0000eca0 I/O
BASE1 0xfe105000 addr 0xfe105000 MEM
BASE2 0x0000ec61 addr 0x0000ec60 I/O
BASE3 0xfe104000 addr 0xfe104000 MEM
MAX_LAT 0x00 MIN_GNT 0x00 INT_PIN 0x01 INT_LINE 0x0a
BYTE_0 0x01 BYTE_1 0x00 BYTE_2 0x01 BYTE_3 0x6c

pci bus 0x0000 cardnum 0x09 function 0x01: vendor 0x1415 device 0x9511
Oxford Semiconductor Ltd OX16PCI954 (Quad 16950 UART) function 1
CardVendor 0x1415 card 0x0000 (Oxford Semiconductor Ltd, Card unknown)
STATUS 0x0290 COMMAND 0x0103
CLASS 0x06 0x80 0x00 REVISION 0x00
BIST 0x00 HEADER 0x80 LATENCY 0x00 CACHE 0x00
BASE0 0x0000ec81 addr 0x0000ec80 I/O
BASE1 0xfe103000 addr 0xfe103000 MEM
BASE2 0x0000ec41 addr 0x0000ec40 I/O
BASE3 0xfe102000 addr 0xfe102000 MEM
MAX_LAT 0x00 MIN_GNT 0x00 INT_PIN 0x02 INT_LINE 0x07
BYTE_0 0x01 BYTE_1 0x00 BYTE_2 0x01 BYTE_3 0x6c

Any help would be greatly appreciated, thanks.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
uart driver for infrared remote control ubuntu_amateur Linux - Kernel 4 11-04-2006 01:38 PM
eth1 failing on boot, IEEE firewire card driver failing, help jackuss_169 Linux - Laptop and Netbook 5 03-05-2005 07:34 AM
Uart serial port + SysRq flook Linux - Hardware 0 11-30-2004 08:57 AM
X failing to load; AddScreen/InitScreen failing for driver 0 weblion Linux - Software 1 08-01-2002 06:14 AM
jpilot/serial UART? amam Linux - General 1 11-01-2001 12:16 AM


All times are GMT -5. The time now is 04:00 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration