Google
  Web www.spinics.net

Re: Installing ppp/pppd in arm-linux

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


Nathan M wrote:

[root@ARMCore root]$ pppd call ac775
pppd: In file /etc/ppp/peers/ac775: unrecognized option '/dev/modem'

This is likely a typo in the config file.  It should probably read:
DEVICE=/dev/modem
or something like that.

I checked and /dev/modem does not exist, I believe this is due to an
issue initializing a serial port (UART) to the PCMCIA device because
of another error message I get when booting Linux.

---code----------------------------------
Starting pcmcia Starting PCMCIA services: cardmgr.
cardmgr[465]: starting, version is 3.1.22

Starting inet cardmgr[465]: watching 2 sockets
cardmgr[465]: initializing socket 1
cardmgr[465]: socket 1: AC775 Network Adapter R1
Starting INET services:  inetdcardmgr[465]: executing: 'modprobe serial_cs'
cardmgr[465]: + modprobe: /lib/libc.so.6: version `GLIBC_2.2.3' not
found (required )

You modprobe binary won't run, same problem as ppp, you have mixed up glibc versions.

cardmgr[465]: modprobe exited with status 1
cardmgr[465]: module /lib/modules/2.6.7-armcore/pcmcia/serial_cs.o not available
cardmgr[465]: bind 'serial_cs' to socket 1 failed: Invalid argument

This is simply cardmanager complaining because modprobe didn't work. It doesn't really mean that serial_cs is unavailable. If you can isnmod it manually then its fine.

 There is however an
issue with the part of this message that reads "module
/lib/modules/2.6.7-armcore/pcmcia/serial_cs.o not available" (the
directory /lib/modules/2.6.7-armcore/pcmcia/ is completely empty), I
am indeed missing serial_cs.o in my /lib/modules directories.  It
appears that I do have a serial_cs.c in my kernel source from which I
compiled this image from, but for some reason it never made me a
serial_cs.o (perhaps this was a neccissary menuconfig option that was
off by default?).  In any case, I could use some suggestions as to
what the easiest procedure would be to obtain or create a serial_cs.o
compatible with the 2.6.7 kernel?

I've already tried "arm-linux-gcc -Wall serial_cs.c -o serial_cs.o"
with lots of errors

Type "make menuconfig" and drill down to PCMCIA area, enable it there, then rebuild and reinstall the kernel modules. Where did you get your kernel from? Is your serial port really on a PCMCIA card?

-R

-------------------------------------------------------------------
List admin: http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm
FAQ:        http://www.arm.linux.org.uk/mailinglists/faq.php
Etiquette:  http://www.arm.linux.org.uk/mailinglists/etiquette.php

[Site Home]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux ARM Kernel]     [Linux MIPS]     [ECOS]     [Tools]     [DDR & Rambus]     [Monitors]

Powered by Linux