Seeking help getting a modem to work in potato + some unstable. The modem is on a Linksys EtherFast 10/100 + 56K Modem PC Card, model no. PCMLM56.
When the laptop was running Slink (installed from official CD set) the modem worked but the ethernet did not. Now the ethernet works but the modem does not. More details below, all help welcome. Nick The laptop brand is "M-TECH". The bios: (these descriptions appear during boot sequence): SystemSoft MobilePRO BIOS Version 1.01 (2482-00)-(R1.14) SystemSoft Plug-n-Play BIOS Ver 1.17.01 (version according to "Version Info" in BIOS setup): 1.00.03, Date: 10/22/97 PnP OS support is disabled. In Win98, the modem and ethernet both work. Here is what Win98 reports about the modem: Port COM3 Interrupt 11 Address 3E8 UART NS 16550AN On rebooting into Linux without switching power off, Linux does not see the PCMCIA sockets. Here is a portion of dmesg after rebooting from Win98 without switching off power: >>> Linux PCMCIA Card Services 3.1.14 kernel build: 2.2.14 unknown options: [pci] [cardbus] [apm] PCI routing table version 1.0 at 0xfe840 Intel PCIC probe: Bridge register mapping failed: check cb_mem_base setting not found. ds: no socket drivers loaded! <<< Switching power off before booting makes the sockets visible to Linux. (I'm not particularly worried about this, just reporting it in case relevant.) Here is dmesg in full after rebooting from power off: >>> Linux version 2.2.14 ([EMAIL PROTECTED]) (gcc version 2.95.2 20000313 (Debian GNU/Linux)) #1 Tue Apr 25 10:11:42 EST 2000 Detected 466683316 Hz processor. Console: colour VGA+ 80x25 Calibrating delay loop... 465.31 BogoMIPS Memory: 127088k/131072k available (1700k kernel code, 412k reserved, 1732k data, 140k init) Dentry hash table entries: 16384 (order 5, 128k) Buffer cache hash table entries: 131072 (order 7, 512k) Page cache hash table entries: 32768 (order 5, 128k) VFS: Diskquotas version dquot_6.4.0 initialized CPU: Intel Celeron (Mendocino) stepping 05 Checking 386/387 coupling... OK, FPU using exception 16 error reporting. Checking 'hlt' instruction... OK. Checking for popad bug... OK. POSIX conformance testing by UNIFIX mtrr: v1.35a (19990819) Richard Gooch ([EMAIL PROTECTED]) PCI: PCI BIOS revision 2.10 entry at 0xeb190 PCI: Using configuration type 1 PCI: Probing PCI hardware Linux NET4.0 for Linux 2.2 Based upon Swansea University Computer Society NET3.039 NET4: Linux TCP/IP 1.0 for NET4.0 IP Protocols: ICMP, UDP, TCP, IGMP TCP: Hash tables configured (ehash 131072 bhash 65536) Starting kswapd v 1.5 Detected PS/2 Mouse Port. pty: 256 Unix98 ptys configured apm: BIOS version 1.2 Flags 0x03 (Driver version 1.9) apm: disabled on user request. Real Time Clock Driver v1.09 RAM disk driver initialized: 16 RAM disks of 4096K size loop: registered device at major 7 PIIX4: IDE controller on PCI bus 00 dev 39 PIIX4: not 100% native mode: will probe irqs later ide0: BM-DMA at 0x1100-0x1107, BIOS settings: hda:pio, hdb:pio ide1: BM-DMA at 0x1108-0x110f, BIOS settings: hdc:pio, hdd:pio hda: TOSHIBA MK6411MAT, ATA DISK drive hdc: TORiSAN DVD-ROM DRD-U624, ATAPI CDROM drive ide0 at 0x1f0-0x1f7,0x3f6 on irq 14 ide1 at 0x170-0x177,0x376 on irq 15 hda: TOSHIBA MK6411MAT, 6194MB w/0kB Cache, CHS=839/240/63 hdc: ATAPI 0X DVD-ROM drive, 256kB Cache Uniform CDROM driver Revision: 2.56 Floppy drive(s): fd0 is 1.44M FDC 0 is a post-1991 82077 md driver 0.36.6 MAX_MD_DEV=4, MAX_REAL=8 scsi: <fdomain> Detection failed (no card) NCR53c406a: no available ports found sym53c416.c: Version 1.0.0 Failed initialization of WD-7000 SCSI card! IBM MCA SCSI: No Microchannel-bus support present -> Aborting. DC390: 0 adapters found megaraid: v1.05 (October 27, 1999) aec671x_detect: scsi : 0 hosts. scsi : detected total. Partition check: hda: hda1 hda2 hda3 hda4 VFS: Mounted root (ext2 filesystem) readonly. Freeing unused kernel memory: 140k freed NET4: Unix domain sockets 1.0 for Linux NET4.0. Adding Swap: 130748k swap-space (priority -1) Serial driver version 4.27 with no serial options enabled ttyS00 at 0x03f8 (irq = 4) is a 16550A ttyS01 at 0x02f8 (irq = 3) is a 16550A Linux PCMCIA Card Services 3.1.14 kernel build: 2.2.14 unknown options: [pci] [cardbus] [apm] PCI routing table version 1.0 at 0xfe840 Intel PCIC probe: TI 1225 rev 01 PCI-to-CardBus at slot 00:0a, mem 0x68000000 host opts [0]: [ring] [serial pci & irq] [pci irq 10] [lat 168/176] [bus 32/34] host opts [1]: [ring] [serial pci & irq] [pci irq 10] [lat 168/176] [bus 35/37] ISA irqs (scanned) = 3,4,7,9,11 PCI status changes cs: IO port probe 0x1000-0x17ff: excluding 0x1000-0x103f 0x1400-0x140f cs: IO port probe 0x0100-0x04ff: excluding 0x378-0x37f 0x4d0-0x4d7 cs: IO port probe 0x0a00-0x0aff: clean. cs: memory probe 0xa0000000-0xa0ffffff: clean. eth0: NE2000 Compatible: io 0x300, irq 3, hw_addr 00:E0:98:08:EA:C2 tty02 at 0x0af8 (irq = 3) is a 16450 eth0: found link beat parport0: PC-style at 0x378 [SPP] parport0: no IEEE-1284 device present. lp0: using parport0 (polling). <<< (end dmesg) Here are some versions reported by dpkg --status: kernel-image 2.2.14-5 pcmcia-cs 3.1.14-1 pcmcia-modules 3.1.14-2k5 ppp 2.3.11-1.4 According to the BIOS setup screen, the laptop has two built-in serial ports: Serial Port 1 = COM 1, 3F8, IRQ 4 Serial Port 2 = COM 2, 2F8, IRQ 3 Here is "setserial -ag /dev/ttyS0 /dev/ttyS1 /dev/ttyS2" after booting and before inserting the card: >>> /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 session_lockout /dev/ttyS1, Line 1, UART: 16550A, Port: 0x02f8, IRQ: 3 Baud_base: 115200, close_delay: 50, divisor: 0 closing_wait: 3000 Flags: spd_normal skip_test session_lockout /dev/ttyS2, Line 2, UART: unknown, Port: 0x03e8, IRQ: 4 Baud_base: 115200, close_delay: 50, divisor: 0 closing_wait: 3000 Flags: spd_normal skip_test <<< Here is /var/run/stab after booting and before inserting the card: Socket 0: empty Socket 1: empty Here is "setserial -ga /dev/ttyS2" after inserting the card: >>> /dev/ttyS2, Line 2, UART: 16450, Port: 0x0af8, IRQ: 3 Baud_base: 115200, close_delay: 50, divisor: 0 closing_wait: 3000 Flags: spd_normal skip_test <<< Here is /var/run/stab after inserting the card: Socket 0: empty Socket 1: Linksys EtherFast LANmodem 56K 1 network pcnet_cs 0 eth0 1 serial serial_cs 0 ttyS2 4 66 Here is part of /var/log/daemon.log: >>> Apr 30 09:00:19 nicknote init: Switching to runlevel: 6 Apr 30 09:00:22 nicknote modprobe: modprobe: Can't locate module char-major-45 Apr 30 09:00:22 nicknote modprobe: modprobe: Can't locate module char-major-45 Apr 30 09:00:23 nicknote cardmgr[139]: exiting Apr 30 09:01:40 nicknote cardmgr[139]: starting, version is 3.1.14 Apr 30 09:01:40 nicknote cardmgr[139]: watching 2 sockets Apr 30 09:01:43 nicknote modprobe: modprobe: Can't locate module char-major-45 [*** now I insert the card ***] Apr 30 09:14:20 nicknote cardmgr[139]: initializing socket 1 Apr 30 09:14:20 nicknote cardmgr[139]: socket 1: Linksys EtherFast LANmodem 56K Apr 30 09:14:21 nicknote cardmgr[139]: executing: 'insmod /lib/modules/2.2.14/pcmcia/8390.o' Apr 30 09:14:21 nicknote cardmgr[139]: executing: 'insmod /lib/modules/2.2.14/pcmcia/pcnet_cs.o' Apr 30 09:14:21 nicknote cardmgr[139]: executing: 'insmod /lib/modules/2.2.14/pcmcia/serial_cs.o' Apr 30 09:14:21 nicknote cardmgr[139]: executing: './network start eth0' Apr 30 09:14:21 nicknote cardmgr[139]: executing: './serial start ttyS2' <<< Here is an extract from /var/log/messages, after inserting the card: >>> Apr 30 10:49:53 nicknote kernel: eth0: NE2000 Compatible: io 0x300, irq 3, hw_addr 00:E0:98:08:EA:C2 Apr 30 10:49:53 nicknote kernel: tty02 at 0x0af8 (irq = 3) is a 16450 Apr 30 10:49:54 nicknote kernel: eth0: found link beat <<< Here is "lsmod" after inserting the card: >>> Module Size Used by serial_cs 5388 0 (unused) pcnet_cs 8992 1 8390 6072 0 [pcnet_cs] parport_probe 3140 0 (autoclean) parport_pc 7172 1 (autoclean) lp 5124 0 (autoclean) (unused) parport 7256 1 (autoclean) [parport_probe parport_pc lp] ds 6344 2 [serial_cs pcnet_cs] i82365 22196 2 pcmcia_core 44288 0 [serial_cs pcnet_cs ds i82365] serial 19660 1 (autoclean) [serial_cs] vfat 9008 0 (unused) nfs 28352 0 (unused) lockd 31112 1 [nfs] sunrpc 52420 1 [nfs lockd] autofs 9120 0 (unused) unix 10116 23 (autoclean) <<< Here is /etc/pcmcia/serial.opts: >>> # Serial device configuration # # The address format is "scheme,socket,instance". # case "$ADDRESS" in *,*,*) INFO="Default modem setup" # Symbolic link to dialout device LINK="/dev/modem" # Options for 'setserial' SERIAL_OPTS="" # Should we create an inittab entry for this port? # If using mgetty ... #INITTAB="/sbin/mgetty" # If using getty ... #SPEED=<set the speed here> #INITTAB="/sbin/getty $SPEED" ;; esac <<< Here is "egrep -v '#|^ *$' /etc/ppp/options": >>> asyncmap 0 auth crtscts lock hide-password modem proxyarp lcp-echo-interval 30 lcp-echo-failure 4 noipx <<< Here is /etc/ppp/peers/provider: >>> # This file was generated by pppconfig. You can edit the following lines # but please do not delete lines or the change the comments or you will # confuse pppconfig. noauth #pppconfig_noauth connect "/usr/sbin/chat -v -f /etc/chatscripts/provider" #pppconfig_connect debug #pppconfig_debug /dev/ttyS2 #pppconfig_dev 115200 #pppconfig_speed defaultroute #pppconfig_route noipdefault #pppconfig_ipdefault user nickjw #pppconfig_user # End of pppconfig controlled lines. You can add lines below here without # confusing pppconfig. remotename provider <<< Here is /etc/chatscripts/provider: >>> # This chatfile was generated by pppconfig 2.0.5. # Please do not delete any of the comments. Pppconfig needs them. # # ispauth PAP # abortstring ABORT BUSY ABORT 'NO CARRIER' ABORT VOICE ABORT 'NO DIALTONE' ABORT 'NO DIAL TONE' ABORT 'NO ANSWER' # modeminit '' ATZ # ispnumber OK-AT-OK ATDT18587949783 # ispconnect CONNECT \d\c # prelogin # ispname # isppassword # postlogin # end of pppconfig stuff <<< Here is "ls -l /dev/modem": lrwxrwxrwx 1 root root 10 Apr 30 09:14 /dev/modem -> /dev/ttyS2 Here is an extract of /var/log/syslog after "pon": >>> Apr 30 09:42:25 nicknote kernel: CSLIP: code copyright 1989 Regents of the University of California Apr 30 09:42:25 nicknote kernel: PPP: version 2.3.7 (demand dialling) Apr 30 09:42:25 nicknote kernel: PPP line discipline registered. Apr 30 09:42:25 nicknote kernel: registered device ppp0 Apr 30 09:42:25 nicknote pppd[306]: pppd 2.3.11 started by root, uid 0 Apr 30 09:42:26 nicknote chat[307]: abort on (BUSY) Apr 30 09:42:26 nicknote chat[307]: abort on (NO CARRIER) Apr 30 09:42:26 nicknote chat[307]: abort on (VOICE) Apr 30 09:42:26 nicknote chat[307]: abort on (NO DIALTONE) Apr 30 09:42:26 nicknote chat[307]: abort on (NO DIAL TONE) Apr 30 09:42:26 nicknote chat[307]: abort on (NO ANSWER) Apr 30 09:42:26 nicknote chat[307]: send (ATZ^M) Apr 30 09:42:27 nicknote chat[307]: expect (OK) Apr 30 09:43:12 nicknote chat[307]: alarm Apr 30 09:43:12 nicknote chat[307]: send (AT^M) Apr 30 09:43:12 nicknote chat[307]: expect (OK) Apr 30 09:43:57 nicknote chat[307]: alarm Apr 30 09:43:57 nicknote chat[307]: Failed Apr 30 09:43:57 nicknote pppd[306]: Connect script failed Apr 30 09:43:58 nicknote pppd[306]: Exit. <<<