Can't locate module /dev/modem

  • sarcot

    sarcot - 2005-02-04


    This is the first time I am using a PCMCIA modem card so the question may seem really naive. Also I apologize for sending startup messages

    I have inserted the card into the slot and on startup , these are the messages I get(I've included only the relevant part)

    Starting PCMCIA services: Linux PCMCIA Card Services 3.2.5-ts_01.00
      kernel build: 2.4.23-2.4-ts.leucosia unknown
      options:  [pci] [cardbus] [pnp]
    Intel ISA/PCI/CardBus PCIC probe:
    PCI: Enabling device 00:0c.0 (0004 -> 0006)
      TI 1510 rev 00 PCI-to-CardBus at slot 00:0c, mem 0x10000000
        host opts [0]: [isa irq] [pci irq 10] [lat 64/64] [bus 1/1]
        ISA irqs (scanned) = 7,15 PCI status changes
    cardmgr[175]: watching 1 sockets
    cardmgr[176]: starting, version is 3.2.3
    cs: memory probe 0xa0000000-0xa0ffffff: clean.
    cardmgr[176]: socket 0: Serial or Modem
    /var/www/bin/apachectl start: httpd started
    'modprobe serial_cs'
    cs: IO port probe 0x0a00-0x0aff: clean.
    cs: IO port probe 0x0c00-0x0cff: clean.
    ttyS04 at port 0x0af8 (irq = 7) is a 16550A
    modprobe: Can't locate module /dev/hrt
    cardmgr[176]: executing: './serial start ttyS4'
    cardmgr[176]: + ./serial: expr: command not found
    modprobe: Can't locate module /dev/modem
    modprobe: Can't locate module /dev/modem
    modprobe: Can't locate module /dev/modem

    For this part:
    cardmgr[176]: executing: './serial start ttyS4'
    I've checked /bin and there is no expr
    For this part:
    modprobe: Can't locate module /dev/modem
    I've used setserial (although I've read in a few places that it shuld no be used) to set /dev/ttyS4 at port 0x0af8 with irq 7 and also created a symbolic link - /dev/modem

    Please Please help!!!!


    • David Hinds

      David Hinds - 2005-02-24

      Have you edited any PCMCIA configuration files?  And, what Linux distribution are you using?  I really do not understand why modprobe would be trying to find a *module* named "/dev/hrt" or "/dev/modem" unless there was some screw-up in /etc/pcmcia/config and/or /etc/modules.conf.

      The serial startup script normally creates /dev/modem and you should not do so manually.  You should never use setserial on a PCMCIA serial device unless you understand exactly what you're doing.

      It is fairly odd that you have no "expr" command (in /usr/bin, not /bin) as that should be standard in essentially every Linux distribution except for micro-distributions that might fit on a floppy.

      All that said, if you've got a link from /dev/modem to /dev/ttyS4, I'd think that the errors should be irrelevant and the card should just work.  You don't actually mention whether or not the card works or what symptoms you see when you try to use it.

      -- Dave


Log in to post a comment.