Package: pcmcia-cs
Version: 3.2.8-5.2
Severity: important

REFRAIN_FROM_IFUP is set to yes but cardmgr still brings up the
interface with its network script.

---
Nov 20 16:09:09 lenox cardmgr[829]: socket 1: NE2000 Compatible Ethernet
Nov 20 16:09:09 lenox kernel: eth0: NE2000 Compatible: io 0x300, irq 3,
hw_addr 00:E0:9
8:94:78:92
Nov 20 16:09:09 lenox cardmgr[829]: executing: './network start eth0
2>&1'
Nov 20 16:09:09 lenox cardmgr[829]: + Sample private network setup
---

Another problem is that it doesn't bring down the interface correctly:

---
Nov 20 15:59:49 lenox cardmgr[829]: executing: 'modprobe -r pcnet_cs
2>&1'
Nov 20 15:59:49 lenox cardmgr[829]: + pcnet_cs: Device or resource busy
Nov 20 15:59:49 lenox cardmgr[829]: modprobe exited with status 1
---

So there is the interface configuration left and if you plugin the card
again it wants to configure another non-existent network interface.
So I have to use command ifdown eth0 before I can plugin the card again.

But I have installed hotplug and corresponding to documentation it is
intended that hotplug configures the network cards.

/etc/default/pcmcia:
---
# Defaults for pcmcia (sourced by /etc/init.d/pcmcia)
PCMCIA=yes
PCIC=yenta_socket
PCIC_OPTS=
CORE_OPTS=
CARDMGR_OPTS=
# If REFRAIN_FROM_IFUP is set to yes, cardmgr will not bring up
# network interfaces. They should be brought up by hotplug instead.
# Since this is an upgrade from an old version of pcmcia-cs, it
# retains the old behaviour. Please read
# /usr/share/doc/pcmcia-cs/README.Debian and then uncomment the
# following line.
REFRAIN_FROM_IFUP=yes
---

/etc/network/interfaces:
---
auto lo
allow-hotplug eth0

mapping hotplug
    script grep
    map eth0

iface lo inet loopback

# This entry was created during the Debian installation
iface eth0 inet dhcp
---

Thanks.
Markus


-- System Information:
Debian Release: sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.4.32
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)

Versions of packages pcmcia-cs depends on:
ii  debconf [debconf-2.0]         1.4.59     Debian configuration management sy
ii  dmidecode                     2.7-2      Dump Desktop Management Interface 
ii  libc6                         2.3.5-8    GNU C Library: Shared libraries an
ii  lsb-base                      3.0-11     Linux Standard Base 3.0 init scrip
ii  module-init-tools             3.2-pre9-4 tools for managing Linux kernel mo
ii  modutils                      2.4.27.0-3 Linux module utilities
ii  psmisc                        21.8-1     Utilities that use the proc filesy

Versions of packages pcmcia-cs recommends:
ii  hotplug                  0.0.20040329-25 Linux Hotplug Scripts

-- debconf information:
* pcmcia-cs/abort_upgrade: false
  pcmcia-cs/error_stopping:
  pcmcia-cs/abort_msg:
  pcmcia-cs/not_stopped:
* pcmcia-cs/stop_pcmcia: true
* pcmcia-cs/fix_pcic: false
  pcmcia-cs/run_probe: true
* pcmcia-cs/upgrade_note:
  pcmcia-cs/no_rmdir:
  pcmcia-cs/start_later:
* pcmcia-cs/upgrade_action: ask
* pcmcia-cs/start_pcmcia: true


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to