Next-in-Thread Next Message

None Network not resuming after system resumes: Xircom & Dell 

Forum: PCMCIA Power Management and APM
Date: 2000, Aug 03
From: Jeff Key jkey

I'm having a problem with the network part of my Xircom multifunction network/modem card restarting after a suspend on a Dell laptop. After booting (or rebooting) the card works fine. But after the system is suspended, the network is not accessible. I can get the card working again with the following commands:

  /sbin/cardctl suspend
  /sbin/cardctl reset   (resume sometimes (?) works)

Otherwise, the network simply isn't accessible. I tried putting these commands into /etc/sysconfig/apm-scripts/apmcontinue, but that didn't work.

After the system information I'm including lots of other diagnostics (with a few comments here and there) in hopes that somebody can help.

Thanks in advance, Jeff

-----------------------------------------------------------------

Computer: Dell Inspiron 7500

$ uname -a

Linux droplet 2.2.15-4mdk #1 Wed May 10 15:31:30 CEST 2000 i686 unknown

PCMCIA version 3.1.16

$ /sbin/cardctl ident
Socket 0:
  product info: "Xircom", "CardBus Ethernet 10/100 + Modem 56", "CBEM56G", "1.03"
  manfid: 0x0105, 0x0103
  function: 6 (network)
Socket 1:
  no product info available

$ /sbin/cardctl status
Socket 0:
  3.3V CardBus card
  function 0: [ready]
  function 1: [ready]
Socket 1:
  no card

$ /sbin/cardctl config
Socket 0:
  Vcc 3.3V  Vpp1 3.3V  Vpp2 3.3V
  interface type is "cardbus"
  irq 11 [exclusive] [level]
  function 0:
    io 0x0200-0x0287 [32bit]
  function 1:
    io 0x0200-0x0287 [32bit]
Socket 1:
  not configured

********************** /var/log/messages **********************

#Just before a suspend:

Jul 31 14:16:35 droplet kernel: usb-uhci.c: interrupt, status 20, frame# 0 
Jul 31 14:16:35 droplet kernel: usb-uhci.c: interrupt, status 28, frame# 0 
(lots of these...)
Jul 31 14:16:35 droplet kernel: usb-uhci.c: interrupt, status 20, frame# 0 
Jul 31 14:16:35 droplet kernel: usb-uhci.c: interrupt, status 28, frame# 0 
Jul 31 14:16:35 droplet cardmgr[422]: executing: './network suspend eth0'
Jul 31 14:16:35 droplet logger: /etc/sysconfig/apm-scripts/suspend called!
Jul 31 14:16:35 droplet cardmgr[422]: executing: './serial suspend ttyS1'
Jul 31 14:16:36 droplet kernel: end_request: I/O error, dev 02:00 (floppy), sector 0 
Jul 31 14:16:36 droplet kernel: hdc: packet command error: status=0x51 { DriveReady SeekComplete Error } 
Jul 31 14:16:36 droplet kernel: hdc: packet command error: error=0x50 
Jul 31 14:16:36 droplet kernel: ATAPI device hdc: 
Jul 31 14:16:36 droplet kernel:   Error: Illegal request -- (Sense key=0x05) 
Jul 31 14:16:36 droplet kernel:   Invalid field in command packet -- (asc=0x24, ascq=0x00) 
Jul 31 14:16:36 droplet kernel:   The failed "Start Stop Unit" packet command was:  
Jul 31 14:16:36 droplet kernel:   "1b 00 00 00 03 00 00 00 00 00 00 00 " 
Jul 31 14:16:36 droplet kernel:   Error in command packet byte 17922 bit 0 
Jul 31 14:16:36 droplet kernel: cdrom: open failed. 
Jul 31 14:16:36 droplet apmd[309]: User Suspend
Jul 31 14:16:56 droplet logger: /etc/sysconfig/apm-scripts/resume called!
Jul 31 14:17:00 droplet apmd[309]: Normal Resume after 00:00:25 (100% 3:20) AC power
Jul 31 14:17:01 droplet cardmgr[422]: executing: './network resume eth0'
Jul 31 14:17:01 droplet cardmgr[422]: executing: './serial resume ttyS1'
Jul 31 14:17:04 droplet kernel:  
Jul 31 14:17:04 droplet kernel: floppy driver state 
Jul 31 14:17:04 droplet kernel: ------------------- 
Jul 31 14:17:04 droplet kernel: now=149125 last interrupt=148629 diff=496 last called handler=c019a778 
Jul 31 14:17:04 droplet kernel: timeout_message=redo fd request 
Jul 31 14:17:04 droplet kernel: last output bytes: 
Jul 31 14:17:04 droplet kernel:  f 80 145907 
Jul 31 14:17:04 droplet kernel:  0 90 145907 
Jul 31 14:17:04 droplet kernel:  1 90 145907 
Jul 31 14:17:04 droplet kernel:  8 81 145907 
Jul 31 14:17:04 droplet kernel: 12 80 148629 
Jul 31 14:17:04 droplet kernel:  0 90 148629 
Jul 31 14:17:04 droplet kernel: 13 90 148629 
Jul 31 14:17:04 droplet kernel:  0 90 148629 
Jul 31 14:17:04 droplet kernel: 1a 90 148629 
Jul 31 14:17:04 droplet kernel:  0 90 148629 
Jul 31 14:17:04 droplet kernel:  3 80 148629 
Jul 31 14:17:04 droplet kernel: c1 90 148629 
Jul 31 14:17:04 droplet kernel: 10 90 148629 
Jul 31 14:17:04 droplet kernel:  7 80 148629 
Jul 31 14:17:04 droplet kernel:  0 90 148629 
Jul 31 14:17:04 droplet kernel:  8 81 148629 
Jul 31 14:17:04 droplet kernel:  f 80 148629 
Jul 31 14:17:04 droplet kernel:  0 90 148629 
Jul 31 14:17:04 droplet kernel:  1 90 148629 
Jul 31 14:17:04 droplet kernel:  8 81 148629 
Jul 31 14:17:04 droplet kernel: last result at 148629 
Jul 31 14:17:04 droplet kernel: last redo_fd_request at 148825 
Jul 31 14:17:04 droplet kernel: 20  1  
Jul 31 14:17:04 droplet kernel: status=0 
Jul 31 14:17:04 droplet kernel: fdc_busy=1 
Jul 31 14:17:04 droplet kernel: DEVICE_INTR=c01a0e54 
Jul 31 14:17:04 droplet kernel: cont=c024aa00 
Jul 31 14:17:04 droplet kernel: CURRENT=c02751cc 
Jul 31 14:17:04 droplet kernel: command_status=-1 

# The above floppy stuff repeats a few times...

Jul 31 14:17:13 droplet kernel:  
Jul 31 14:17:13 droplet kernel: floppy0: floppy timeout called 
Jul 31 14:17:13 droplet kernel: end_request: I/O error, dev 02:00 (floppy), sector 0 
Jul 31 14:17:13 droplet kernel: FAT bread failed 
Jul 31 14:17:13 droplet kernel: hdc: packet command error: status=0x51 { DriveReady SeekComplete Error } 
Jul 31 14:17:13 droplet kernel: hdc: packet command error: error=0x50 
Jul 31 14:17:13 droplet kernel: ATAPI device hdc: 
Jul 31 14:17:13 droplet kernel:   Error: Illegal request -- (Sense key=0x05) 
Jul 31 14:17:13 droplet kernel:   Invalid field in command packet -- (asc=0x24, ascq=0x00) 
Jul 31 14:17:13 droplet kernel:   The failed "Start Stop Unit" packet command was:  
Jul 31 14:17:13 droplet kernel:   "1b 00 00 00 03 00 00 00 00 00 00 00 " 
Jul 31 14:17:13 droplet kernel:   Error in command packet byte 7368 bit 0 
Jul 31 14:17:13 droplet kernel: cdrom: open failed. 

#------------------------------------------------------------------------
# The network is not accessible at this point (after resuming the system).
# Here are some more /var/log/messages AFTER "cardctl suspend" and 
# "cardctl reset":
#------------------------------------------------------------------------

Jul 31 14:18:40 droplet cardmgr[422]: executing: './network suspend eth0'
Jul 31 14:18:40 droplet cardmgr[422]: executing: './serial suspend ttyS1'
Jul 31 14:18:40 droplet kernel: tty01 unloaded 
Jul 31 14:18:40 droplet kernel: cs: cb_free(bus 32) 
Jul 31 14:18:40 droplet kernel: floppy0: unexpected interrupt  
Jul 31 14:18:40 droplet kernel: floppy0: sensei repl[0]=c0 repl[1]=0  
Jul 31 14:18:40 droplet kernel: floppy0: sensei repl[0]=c1 repl[1]=0  
Jul 31 14:18:40 droplet kernel: floppy0: sensei repl[0]=c2 repl[1]=0  
Jul 31 14:18:40 droplet kernel: floppy0: sensei repl[0]=c3 repl[1]=0  
Jul 31 14:18:40 droplet kernel: end_request: I/O error, dev 02:00 (floppy), sector 0 
Jul 31 14:18:40 droplet kernel: hdc: packet command error: status=0x51 { DriveReady SeekComplete Error } 
Jul 31 14:18:40 droplet kernel: hdc: packet command error: error=0x50 
Jul 31 14:18:40 droplet kernel: ATAPI device hdc: 
Jul 31 14:18:40 droplet kernel:   Error: Illegal request -- (Sense key=0x05) 
Jul 31 14:18:40 droplet kernel:   Invalid field in command packet -- (asc=0x24, ascq=0x00) 
Jul 31 14:18:40 droplet kernel:   The failed "Start Stop Unit" packet command was:  
Jul 31 14:18:40 droplet kernel:   "1b 00 00 00 03 00 00 00 00 00 00 00 " 
Jul 31 14:18:40 droplet kernel:   Error in command packet byte 17922 bit 0 
Jul 31 14:18:40 droplet kernel: cdrom: open failed. 
Jul 31 14:18:40 droplet cardmgr[422]: shutting down socket 0
Jul 31 14:18:40 droplet cardmgr[422]: executing: './network stop eth0'
Jul 31 14:18:40 droplet cardmgr[422]: executing: './serial stop ttyS1'
Jul 31 14:18:41 droplet kernel: end_request: I/O error, dev 02:00 (floppy), sector 0 
Jul 31 14:18:41 droplet kernel: hdc: packet command error: status=0x51 { DriveReady SeekComplete Error } 
Jul 31 14:18:41 droplet kernel: hdc: packet command error: error=0x50 
Jul 31 14:18:41 droplet kernel: ATAPI device hdc: 
Jul 31 14:18:41 droplet kernel:   Error: Illegal request -- (Sense key=0x05) 
Jul 31 14:18:41 droplet kernel:   Invalid field in command packet -- (asc=0x24, ascq=0x00) 
Jul 31 14:18:41 droplet kernel:   The failed "Start Stop Unit" packet command was:  
Jul 31 14:18:41 droplet kernel:   "1b 00 00 00 03 00 00 00 00 00 00 00 " 
Jul 31 14:18:41 droplet kernel:   Error in command packet byte 17922 bit 0 
Jul 31 14:18:41 droplet kernel: cdrom: open failed. 
Jul 31 14:18:41 droplet cardmgr[422]: executing: 'modprobe -r tulip_cb'
Jul 31 14:18:41 droplet cardmgr[422]: executing: 'modprobe -r serial_cb'
Jul 31 14:18:41 droplet cardmgr[422]: executing: 'modprobe -r cb_enabler'
Jul 31 14:18:41 droplet kernel: cs: cb_alloc(bus 32): vendor 0x115d, device 0x0003 
Jul 31 14:18:41 droplet cardmgr[422]: initializing socket 0
Jul 31 14:18:41 droplet cardmgr[422]: socket 0: Xircom CBEM56G-100 CardBus 10/100 Ethernet + 56K Modem
Jul 31 14:18:41 droplet cardmgr[422]: executing: 'modprobe cb_enabler'
Jul 31 14:18:41 droplet cardmgr[422]: executing: 'modprobe tulip_cb'
Jul 31 14:18:41 droplet cardmgr[422]: executing: 'modprobe serial_cb'
Jul 31 14:18:41 droplet cardmgr[422]: + /lib/modules/2.2.15-4mdk/pcmcia/serial_cb.o: invalid parameter parm_irq
Jul 31 14:18:41 droplet cardmgr[422]: + /lib/modules/2.2.15-4mdk/pcmcia/serial_cb.o: insmod /lib/modules/2.2.15-4mdk/pcmcia/serial_cb.o failed
Jul 31 14:18:41 droplet cardmgr[422]: + /lib/modules/2.2.15-4mdk/pcmcia/serial_cb.o: insmod serial_cb failed
Jul 31 14:18:41 droplet cardmgr[422]: modprobe exited with status 255
Jul 31 14:18:41 droplet cardmgr[422]: executing: 'insmod /lib/modules/2.2.15-4mdk/pcmcia/serial_cb.o'
Jul 31 14:18:41 droplet kernel: cs: cb_config(bus 32) 
Jul 31 14:18:41 droplet kernel:   fn 0 bar 2: mem 0x60013000-0x600137ff 
Jul 31 14:18:41 droplet kernel:   fn 0 bar 3: mem 0x60012000-0x600127ff 
Jul 31 14:18:41 droplet kernel:   fn 1 bar 1: io 0x280-0x287 
Jul 31 14:18:41 droplet kernel:   fn 1 bar 2: mem 0x60011000-0x600117ff 
Jul 31 14:18:41 droplet kernel:   fn 1 bar 3: mem 0x60010000-0x600107ff 
Jul 31 14:18:41 droplet kernel:   fn 0 bar 1: io 0x200-0x27f 
Jul 31 14:18:41 droplet kernel:   fn 0 rom: mem 0x6000c000-0x6000ffff 
Jul 31 14:18:41 droplet kernel:   fn 1 rom: mem 0x60008000-0x6000bfff 
Jul 31 14:18:41 droplet kernel:   irq 11 
Jul 31 14:18:41 droplet kernel: tulip_attach(device 20:00.0) 
Jul 31 14:18:41 droplet kernel: tulip.c:v0.91g-ppc 7/16/99 becker@cesdis.gsfc.nasa.gov (modified by danilo@cs.uni-magdeburg.de for XIRCOM CBE, fixed by Doug Ledford) 
Jul 31 14:18:41 droplet kernel: eth0: Xircom Cardbus Adapter (DEC 21143 compatible mode) rev 3 at 0x200, 00:10:A4:C1:CF:39, IRQ 11. 
Jul 31 14:18:41 droplet kernel: eth0:  MII transceiver #0 config 3100 status 7809 advertising 01e1. 
Jul 31 14:18:41 droplet kernel: serial_attach(device 20:00.1) 
Jul 31 14:18:41 droplet kernel: tty01 at 0x0280 (irq = 11) is a 16550A 
Jul 31 14:18:41 droplet cardmgr[422]: executing: './network start eth0'
Jul 31 14:18:41 droplet cardmgr[422]: executing: './serial start ttyS1'

# Now everything works

********************** /proc/buc/pccard/00 **********************

Before suspend, cat /proc/bus/pccard/00/*:

00000000 00000006 30000868 00000000 00000033 00000000 00000000 00000000 84 6e 19 10 00 08 00 00 00 00 01 00 00 00 01 00 00 00 00 00 00 00 c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 type: TI 1225 psock: 0 bus: 00 devfn: 04.0 cardbus: 20 ac1c104c 02100007 06070001 0082a808 68000000 220000a0 20222000 60008000 60013000 00000000 00000000 00000200 00000284 00000000 00000000 0700010b 009e1028 00000001 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 2044b060 00000000 00000000 01021c72 606683c0 00000000 00000000 00000000 7e210001 00808000 00000801 0000001f 00000000 00000000 00000000 00000000

After suspend, cat /proc/bus/pccard/00/*:

00000000 00000006 30000868 00000000 00000033 00000000 00000000 00000000 84 6e 19 10 00 08 00 00 00 00 01 00 00 00 01 00 00 00 01 00 00 00 c0 00 00 00 01 00 00 00 00 00 00 00 01 00 00 00 00 00 00 00 01 00 00 00 00 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 type: TI 1225 psock: 0 bus: 00 devfn: 04.0 cardbus: 20 ac1c104c 02100007 06070001 0082a808 68000000 220000a0 20222000 60008000 60013000 00000000 00000000 00000200 00000284 00000000 00000000 0700010b 009e1028 00000001 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 2044b060 00000000 00000000 01021c72 606683c0 00000000 00000000 00000000 7e210001 00808000 00000819 0000001f 00000000 00000000 00000000 00000000

Next-in-Thread Next Message

Messages Inline: 1 All Outline: 1 2 All

1. None It is a known bug by David Hinds, 2000, Aug 03
(_ None Thanks, but...no hope? by Jeff Key, 2000, Aug 03
(_ None There is always hope by David Hinds, 2000, Aug 03

Add Message to: "Network not resuming after system resumes: Xircom & Dell"

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