Find the answer to your Linux question:
Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Console via PCI Card Fails to Boot


    Hey guys,
    I hope someone can point me in the right direction here, but I'm trying to get a console feed from my server and it keeps freezing on the boot if I enable it to look at any port from my PCI card. I followed the Serial Console How to, which on my old board worked awesome. The new board seems not to like the serial port what so ever, so I grabbed a PCI Serial card to do this. Every time I point to a port on the card during boot, it locks and hangs at
    Code:
    ttySx: detected caps 00000700 should be 00000100
    I put x as I've tried multiple configurations, including on-board off and at other ports. Anytime directed to the card on either port A or B it breaks the boot. The card is a "SIIG Cyber Pro?" as it reads on the label.

    My dmesg | grep ttyS shows the following, if this helps.

    Code:
    [    0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-2.6.32-38-generic root=UUID=00dfdc6a-de9e-4dc9-a089-8b1458300c7d ro console=tty0 console=ttyS0,115200n8
    [    0.000000] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-2.6.32-38-generic root=UUID=00dfdc6a-de9e-4dc9-a089-8b1458300c7d ro console=tty0 console=ttyS0,115200n8
    [    0.000000] console [ttyS0] enabled
    [    2.874831] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
    [    2.881083] 00:08: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
    [    2.893868] ttyS1: detected caps 00000700 should be 00000100
    [    2.899548] 0000:03:05.0: ttyS1 at I/O 0xec00 (irq = 20) is a 16C950/954
    [    2.906379] ttyS2: detected caps 00000700 should be 00000100
    [    2.912075] 0000:03:05.0: ttyS2 at I/O 0xec08 (irq = 20) is a 16C950/954
    setserial -ga /dev/ttyS?
    Code:
    /dev/ttyS0, Line 0, UART: 16550A, Port: 0x03f8, IRQ: 4
            Baud_base: 115200, close_delay: 50, divisor: 0
            closing_wait: 3000
            Flags: spd_normal skip_test
    
    /dev/ttyS1, Line 1, UART: 16550A, Port: 0xec00, IRQ: 20
            Baud_base: 115200, close_delay: 50, divisor: 0
            closing_wait: 3000
            Flags: spd_normal skip_test
    
    /dev/ttyS2, Line 2, UART: 16550A, Port: 0xec08, IRQ: 20
            Baud_base: 115200, close_delay: 50, divisor: 0
            closing_wait: 3000
            Flags: spd_normal skip_test
    
    /dev/ttyS3, Line 3, UART: unknown, Port: 0x02e8, IRQ: 3
            Baud_base: 115200, close_delay: 50, divisor: 0
            closing_wait: 3000
            Flags: spd_normal
    lspci -vv
    Code:
    03:05.0 Serial controller: Oxford Semiconductor Ltd EXSYS EX-41092 Dual 16950 Serial adapter (prog-if 06)
            Subsystem: Siig Inc Device 2032
            Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
            Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
            Interrupt: pin A routed to IRQ 20
            Region 0: I/O ports at ec00 [size=32]
            Region 1: Memory at febff000 (32-bit, non-prefetchable) [size=4K]
            Region 2: I/O ports at e880 [size=32]
            Region 3: Memory at febfe000 (32-bit, non-prefetchable) [size=4K]
            Capabilities: [40] Power Management version 2
                    Flags: PMEClk- DSI- D1- D2+ AuxCurrent=0mA PME(D0+,D1-,D2+,D3hot+,D3cold-)
                    Status: D0 PME-Enable- DSel=0 DScale=0 PME-
            Kernel driver in use: serial
    
    03:05.1 Bridge: Oxford Semiconductor Ltd OX16PCI954 (Quad 16950 UART) function 1 (Disabled)
            Subsystem: Siig Inc Device 0000
            Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
            Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
            Interrupt: pin A routed to IRQ 10
            Region 0: I/O ports at e800 [size=32]
            Region 1: Memory at febfd000 (32-bit, non-prefetchable) [size=4K]
            Region 2: I/O ports at e480 [size=32]
            Region 3: Memory at febfc000 (32-bit, non-prefetchable) [size=4K]
            Capabilities: [40] Power Management version 2
                    Flags: PMEClk- DSI- D1- D2+ AuxCurrent=0mA PME(D0+,D1-,D2+,D3hot+,D3cold-)
                    Status: D0 PME-Enable- DSel=0 DScale=0 PME-
    setserial /dev/ttyS*
    Code:
    Invalid flag: /dev/ttyS1
    I hope the information above helps give enough info that maybe someone can direct me in the right direction so I can get my console connection back(I use it via a make shift Console Server so I can monitor the server if I have to take it down and restart it, headlessly). I'd be very appreciative whether it be here, "Search This", "Read This", or be the answer. I'm willing to search differently if someone tells me what I'm to look for as everything that I've read this far says to open up the amount of UART ports from the boot menu but I don't seem to have a menu.lst or I'm missing something. This is running Ubuntu 10.04 just as an FYI. Thanks in advance.

    Gary

  2. #2
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
    Posts
    14,038
    There is probably an interrupt conflict. Does the motherboard have a built-in serial port or two? I haven't had to do this for quite awhile, except on an ARM board I do embedded systems development on, and it works just fine for me, running Debian Etch (2.6.24 kernel) on the board.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •