Re: pcmcia modem help

dhinds_at_sonic.net
Date: 08/25/03

  • Next message: tj: "Re: pcmcia modem help"
    Date: Mon, 25 Aug 2003 19:31:06 GMT
    
    

    tj <tj@getlostspammer.com> wrote:

    > Is it necessary (and possible?) to confirm whether either of these two
    > machines has support for the modem's UART of ST16650V2?

    I don't think the UART support is an issue.

    The issue is that the configuration information claims the card is a
    standard serial device, but asks for two 8-port IO regions, which the
    driver interprets to mean, that this is a dual port card. It tries to
    probe two ports. On the working system, the first probe works, the
    second fails, and the one port that got configured works fine.

    On the first broken system, the probe says:

    > tty02 at 0x03e8 (irq = 5) is a ST16650V2

    which just shows one port probe. Why is that? Because your
    config.opts excluded IO addresses < 0x300 which knocked out most of
    the configuration options listed in dump_cis; your built-in serial
    port knocked out the rest. The only fall-back is the final config
    option in the dump_cis, which only asks for one 8-port window, but
    which seems to not actually work.

    On the second broken system:

    > notes - test_modem uses the first of two entries listed to check modem
    > status, but the first is *not the modem; the symlink to /dev/modem confirms
    > this. Since there isn't another devices on ttyS1 (internal nor external)
    > that I know of, I'm not sure where that first entry of ttyS1 is derived
    > from.

    ...

    > Aug 25 09:22:07 spudbox8 kernel: tty01 at 0x02f8 (irq = 9) is a 8250
    > Aug 25 09:22:07 spudbox8 kernel: tty03 at 0x02e8 (irq = 9) is a ST16650V2

    two UART's got successfully configured for this card; the 8250 one is
    probably a bogus false-positive.

    To correctly configure this card, you'd probably need to get some
    information from the manufacturer about what the extra block of 8 IO
    registers are for. The serial_cs driver is working on some systems by
    dumb luck, but I don't know how to take the configuration information
    from dump_cis and tell serial_cs what to do with it.

    Since making the card work on the first system is high priority, I'd
    try tweaking the setup so that it gets configured the same as on the
    working system. Edit /etc/pcmcia/config.opts and add:

      include port 0x2e8-0x2ef

    Also remove anything from serial.opts that is not for a built-in
    serial port. These options can only cause trouble if you try to use
    them to control PCMCIA devices.

    -- Dave


  • Next message: tj: "Re: pcmcia modem help"

    Relevant Pages

    • Re: Network Multipathing Question
      ... requires two switches and no switch configuration is necessary. ... backup port (inactive) ... The second card would be on standby. ...
      (AIX-L)
    • Spurious completions during NCQ
      ... support DPO or FUA ... ACPI: PM-Timer IO Port: 0x408 ... Using ACPI for SMP configuration information ...
      (Linux-Kernel)
    • sata_nv times out for BD-ROM iHOS104-08
      ... ata3: nv: skipping hardreset on occupied port ... configuration follow. ... 00:0e.0 RAID bus controller: nVidia Corporation MCP51 Serial ATA ... USB 1.1 'Open' Host Controller Driver ...
      (Linux-Kernel)
    • SMP oops on Xseries235
      ... While the machine seems stable on a single processor kernel, ... the Digi RAS card inside the server. ... and it appears stable in this configuration. ... # Loadable module support ...
      (Linux-Kernel)
    • 3Com Megahertz 3CXEM556 B Multifunction Card Not Working
      ... 3CXEM556 B Ethernet/56K Modem PCMCIA card working on FreeBSD 5.1 on ... pci0: <PCI bus> on pcib0 ... atapci0: port ...
      (freebsd-net)