Next-in-Thread Next Message

Question trouble unsuspending (RH 6.1, pcmcia 3.1.8, Xircom 10/100, IBM Thinkpad 770ED) 

Forum: Xircom PCMCIA Ethernet Adapter Issues
Date: 1999, Dec 23
From: Jamie Zawinski jwz

Hi,

When I suspend and then un-suspend my machine, I have to do this in order to get my Xircom ethernet card to come back online:

	usernetctl eth0 down
	/etc/rc.d/init.d/pcmcia restart
	usernetctl eth0 up

It's not enough to just restart pcmcia, nor is it enough to just take eth0 down and then up; I have to do it in that order.

I didn't need to do this with Red Hat 5.1: this started happening when I upgraded to 6.1. So I know that this card can tolerate my laptop suspending then unsuspending, hardware-wise. So something has gone wrong on the software side since I upgraded.

I don't remember what version of pcmcia-cs was on my system when it was still running 5.1.

Any suggestions on how to make my machine unsuspend properly without manual intervention?

Current system details:

    IBM Thinkpad 770ED
    Red Hat 6.1: kernel 2.2.12
    pcmcia-cs-3.1.8
    Xircom 10/100 ethernet/modem card

dmesg says:

    Linux PCMCIA Card Services 3.1.8
      kernel build: 2.2.12-20 #9 Wed Nov 3 03:36:32 PST 1999
      options:  [pci] [cardbus] [apm]
    Intel PCIC probe: 
      TI 1250A PCI-to-CardBus at bus 0 slot 2, mem 0x20822000, 2 sockets
        host opts [0]: [ring] [pwr save] [isa irq] [no pci irq] [lat 168/176] [bus 1/3]
        host opts [1]: [ring] [pwr save] [isa irq] [no pci irq] [lat 168/176] [bus 4/6]
        ISA irqs (scanned) = 3,4,7,10,11 polling interval = 1000 ms
    cs: IO port probe 0x0100-0x03ff: excluding 0x200-0x207 0x220-0x22f
    cs: IO port probe 0x0a00-0x0aff: clean.
    cs: warning: no high memory space available!
    cs: memory probe 0x0d0000-0x0dffff: clean.
    xirc2ps_cs.c 1.31 1998/12/09 19:32:55 (dd9jn+kvh)
    eth0: MII link partner: 0021
    eth0: MII selected
    eth0: media 10BaseT, silicon revision 5
    eth0: Xircom: port 0x300, irq 3, hwaddr 00:10:A4:FD:90:FD
    tty03 at 0x02e8 (irq = 3) is a 16550A
    eth0: MII link partner: 0021
    eth0: MII selected
    eth0: media 10BaseT, silicon revision 5

"grep 'pcmcia\|cardmgr' /var/log/messages" says:

    Dec 22 16:05:20 grendel pcmcia: Starting PCMCIA services:
    Dec 22 16:05:20 grendel pcmcia:  modules
    Dec 22 16:05:20 grendel kernel: Linux PCMCIA Card Services 3.1.8 
    Dec 22 16:05:20 grendel pcmcia:  cardmgr.
    Dec 22 16:05:20 grendel rc: Starting pcmcia succeeded
    Dec 22 16:05:20 grendel cardmgr[366]: starting, version is 3.1.8
    Dec 22 16:05:20 grendel cardmgr[366]: watching 2 sockets
    Dec 22 16:05:21 grendel cardmgr[366]: initializing socket 1
    Dec 22 16:05:21 grendel cardmgr[366]: socket 1: Xircom CEM56 Ethernet/Modem
    Dec 22 16:05:21 grendel cardmgr[366]: executing: 'insmod /lib/modules/2.2.12-20/pcmcia/xirc2ps_cs.o'
    Dec 22 16:05:21 grendel cardmgr[366]: executing: 'insmod /lib/modules/2.2.12-20/pcmcia/serial_cs.o'
    Dec 22 16:05:23 grendel cardmgr[366]: executing: './network start eth0'
    Dec 22 16:05:24 grendel cardmgr[366]: executing: './serial start ttyS3'
    Dec 22 08:08:38 grendel cardmgr[366]: executing: './network suspend eth0'
    Dec 22 08:08:38 grendel cardmgr[366]: executing: './serial suspend ttyS3'
    Dec 22 08:08:40 grendel cardmgr[366]: executing: './network resume eth0'
    Dec 22 08:08:40 grendel cardmgr[366]: executing: './serial resume ttyS3'
    Dec 22 08:09:08 grendel cardmgr[366]: executing: './network check eth0'
    Dec 22 08:09:08 grendel cardmgr[366]: executing: './serial check ttyS3'
    Dec 22 08:09:08 grendel cardmgr[366]: shutting down socket 1
    Dec 22 08:09:08 grendel cardmgr[366]: executing: './network stop eth0'
    Dec 22 08:09:08 grendel cardmgr[366]: executing: './serial stop ttyS3'
    Dec 22 08:09:08 grendel cardmgr[366]: executing: 'rmmod xirc2ps_cs'
    Dec 22 08:09:08 grendel cardmgr[366]: executing: 'rmmod serial_cs'
    Dec 22 08:09:09 grendel cardmgr[366]: exiting
    Dec 22 08:09:10 grendel kernel: unloading PCMCIA Card Services 
    Dec 22 08:09:10 grendel kernel: Linux PCMCIA Card Services 3.1.8 
    Dec 22 08:09:10 grendel cardmgr[1280]: starting, version is 3.1.8
    Dec 22 08:09:10 grendel cardmgr[1280]: watching 2 sockets
    Dec 22 08:09:11 grendel cardmgr[1280]: initializing socket 1
    Dec 22 08:09:11 grendel cardmgr[1280]: socket 1: Xircom CEM56 Ethernet/Modem
    Dec 22 08:09:11 grendel cardmgr[1280]: executing: 'insmod /lib/modules/2.2.12-20/pcmcia/xirc2ps_cs.o'
    Dec 22 08:09:11 grendel cardmgr[1280]: executing: 'insmod /lib/modules/2.2.12-20/pcmcia/serial_cs.o'
    Dec 22 08:09:14 grendel cardmgr[1280]: executing: './network start eth0'
    Dec 22 08:09:14 grendel cardmgr[1280]: executing: './serial start ttyS3'

Next-in-Thread Next Message

Messages Inline: 1 All Outline: 1 2 All

1. More ditto except on Dell Latitude CS by Stewart Allen, 2000, Jan 17

Add Message to: "trouble unsuspending (RH 6.1, pcmcia 3.1.8, Xircom 10/100, IBM Thinkpad 770ED)"

Members Subscribe Admin Mode Show Frames Help for HyperNews at pcmcia-cs.sourceforge.net 1.10