Bonjour,

Sur un laptop (Sony Vaio) j'ai essaye de passer du (Debain testing)
kernel 2.2.18pre21 a 2.4.10. Cependant j'ai un probleme avec une carte
pcmcia xircom R2BE:

le chargement de la carte PCMCIA (Xircom R2BE) ne se fait plus
correctement (alors que sous 2.2.18pre21 ca marchait). une carte
linksys par contre ne cause aucun probleme!

est-ce que l'un d'entre vous a deja eu ce probleme ou sait comment le
resoudre?

voila pour les details:

----------------------------------------------------------------------
jdoe@helium:~$ /sbin/cardctl ident
Socket 0:
  product info: "Xircom", "RealPort2 CardBus Ethernet 10/100", "R2BE-100BTX", "1.00"
  manfid: 0x0105, 0x0103
  function: 6 (network)
Socket 1:
  no product info available
jdoe@helium:~$ 
----------------------------------------------------------------------

----------------------------------------------------------------------
jdoe@xeon:~/$ /sbin/cardctl ident
Socket 0:
  product info: "Linksys", "EtherFast 10&100 + 56K PC Card (PCMLM56)"
  manfid: 0x0143, 0xc0ab
  function: 0 (multifunction)
Socket 1:
  no product info available
jdoe@xeon:~/$ 
----------------------------------------------------------------------

les versions sont:
kernel:  2.4.10
pcmcia-cs: 3.1.27-1

si je mets la carte linksys, les modules sont charges, j'entends les 2
beeps, la connexion reseau est prete:

----------------------------------------------------------------------
helium:/etc/pcmcia# lsmod 
Module                  Size  Used by
serial_cs               4528   0  (unused)
pcnet_cs                9440   1 
8390                    5888   0  [pcnet_cs]
ds                      6416   2  [serial_cs pcnet_cs]
yenta_socket            8336   2 
pcmcia_core            38144   0  [serial_cs pcnet_cs ds yenta_socket]
nls_cp437               4384   0  (autoclean)
msdos                   4880   0 
fat                    29152   0  [msdos]
floppy                 44944   0  (autoclean)
af_packet              11392   1  (autoclean)
rtc                     5248   0  (autoclean)
unix                   13728  78  (autoclean)
ide-disk                6592   3  (autoclean)
ide-probe-mod           8000   0  (autoclean)
ide-mod               129744   3  (autoclean) [ide-disk ide-probe-mod]
ext2                   31120   2  (autoclean)
helium:/etc/pcmcia# 
----------------------------------------------------------------------

extrait du syslog:
----------------------------------------------------------------------
Oct 14 01:56:46 helium cardmgr[12956]: executing: './network check eth0'
Oct 14 01:56:46 helium cardmgr[12956]: executing: './serial check ttyS1'
Oct 14 01:56:46 helium cardmgr[12956]: shutting down socket 0
Oct 14 01:56:46 helium cardmgr[12956]: executing: './network stop eth0'
Oct 14 01:56:46 helium cardmgr[12956]: executing: './serial stop ttyS1'
Oct 14 01:56:46 helium cardmgr[12956]: executing: 'modprobe -r pcnet_cs'
Oct 14 01:56:46 helium kernel: tty01 unloaded
Oct 14 01:56:46 helium cardmgr[12956]: executing: 'modprobe -r 8390'
Oct 14 01:56:46 helium cardmgr[12956]: executing: 'modprobe -r serial_cs'
Oct 14 01:56:46 helium cardmgr[12956]: exiting
Oct 14 01:56:48 helium kernel: unloading Kernel Card Services
Oct 14 01:56:48 helium kernel: Linux Kernel Card Services 3.1.22
Oct 14 01:56:48 helium kernel:   options:  [pci] [cardbus] [pm]
Oct 14 01:56:48 helium kernel: PCI: Found IRQ 9 for device 00:0c.0
Oct 14 01:56:48 helium kernel: PCI: Found IRQ 9 for device 00:0c.1
Oct 14 01:56:48 helium kernel: PCI: Sharing IRQ 9 with 00:0a.0
Oct 14 01:56:48 helium kernel: Yenta IRQ list 0c98, PCI irq9
Oct 14 01:56:48 helium kernel: Socket status: 30000410
Oct 14 01:56:48 helium kernel: Yenta IRQ list 0c98, PCI irq9
Oct 14 01:56:48 helium kernel: Socket status: 30000006
Oct 14 01:56:50 helium cardmgr[13120]: starting, version is 3.1.27
Oct 14 01:56:50 helium cardmgr[13120]: watching 2 sockets
Oct 14 01:56:50 helium cardmgr[13120]: Card Services release does not match
Oct 14 01:56:50 helium kernel: cs: IO port probe 0x0c00-0x0cff: clean.
Oct 14 01:56:50 helium kernel: cs: IO port probe 0x0800-0x08ff: clean.
Oct 14 01:56:50 helium kernel: cs: IO port probe 0x0100-0x04ff: excluding 0x220-0x22f 
0x330-0x337 0x378-0x37f 0x388-0x38f 0x398-0x39f 0x4d0-0x4d7
Oct 14 01:56:50 helium kernel: cs: IO port probe 0x0a00-0x0aff: clean.
Oct 14 01:56:50 helium cardmgr[13120]: initializing socket 0
Oct 14 01:56:50 helium kernel: cs: memory probe 0xa0000000-0xa0ffffff: clean.
Oct 14 01:56:50 helium cardmgr[13120]: socket 0: Linksys EtherFast LANmodem 56K
Oct 14 01:56:50 helium cardmgr[13120]: executing: 'modprobe 8390'
Oct 14 01:56:50 helium cardmgr[13120]: executing: 'modprobe pcnet_cs'
Oct 14 01:56:50 helium cardmgr[13120]: executing: 'modprobe serial_cs'
Oct 14 01:56:51 helium cardmgr[13120]: executing: './network start eth0'
Oct 14 01:56:51 helium kernel: eth0: NE2000 (DL10019 rev 05): io 0x300, irq 3, hw_addr 
00:E0:98:08:94:F4
Oct 14 01:56:51 helium kernel: ttyS01 at port 0x02f8 (irq = 3) is a 16550A
Oct 14 01:56:51 helium cardmgr[13120]: + ./network: istrue: command not found
Oct 14 01:56:52 helium kernel: eth0: found link beat
Oct 14 01:56:52 helium kernel: eth0: autonegotiation complete: 100baseT-FD selected
Oct 14 01:56:52 helium dhclient-2.2.x: DHCPREQUEST on eth0 to 255.255.255.255 port 67
Oct 14 01:56:52 helium dhclient-2.2.x: DHCPACK from 192.168.56.1
Oct 14 01:56:52 helium dhclient-2.2.x: bound to 192.168.56.31 -- renewal in 3600 
seconds.
Oct 14 01:56:52 helium cardmgr[13120]: executing: './serial start ttyS1'
----------------------------------------------------------------------

si maintenant je sors la carte linksys pour mettre la carte xircom,
alors je n'entents, apres insertion de cette derniere, qu'un seul
beep:

----------------------------------------------------------------------
helium:/etc/pcmcia# lsmod 
Module                  Size  Used by
ds                      6416   2 
yenta_socket            8336   2 
pcmcia_core            38144   0  [ds yenta_socket]
nls_cp437               4384   0  (autoclean)
msdos                   4880   0 
fat                    29152   0  [msdos]
floppy                 44944   0  (autoclean)
af_packet              11392   0  (autoclean)
rtc                     5248   0  (autoclean)
unix                   13728  77  (autoclean)
ide-disk                6592   3  (autoclean)
ide-probe-mod           8000   0  (autoclean)
ide-mod               129744   3  (autoclean) [ide-disk ide-probe-mod]
ext2                   31120   2  (autoclean)
helium:/etc/pcmcia# 
----------------------------------------------------------------------

extrait de syslog:
----------------------------------------------------------------------
Oct 14 01:59:51 helium cardmgr[13120]: shutting down socket 0
Oct 14 01:59:51 helium cardmgr[13120]: executing: './network stop eth0'
Oct 14 01:59:51 helium kernel: tty01 unloaded
Oct 14 01:59:51 helium cardmgr[13120]: executing: './serial stop ttyS1'
Oct 14 01:59:51 helium cardmgr[13120]: executing: 'modprobe -r pcnet_cs'
Oct 14 01:59:51 helium cardmgr[13120]: executing: 'modprobe -r 8390'
Oct 14 01:59:51 helium cardmgr[13120]: executing: 'modprobe -r serial_cs'
Oct 14 02:00:12 helium kernel: cs: cb_alloc(bus 2): vendor 0x115d, device 0x0003
Oct 14 02:00:12 helium kernel:   got res[4000:407f] for resource 0 of PCI device 
115d:0003
Oct 14 02:00:12 helium kernel:   got res[10800000:108007ff] for resource 1 of PCI 
device 115d:0003
Oct 14 02:00:12 helium kernel:   got res[10800800:10800fff] for resource 2 of PCI 
device 115d:0003
Oct 14 02:00:12 helium kernel:   got res[10400000:10403fff] for resource 6 of PCI 
device 115d:0003
Oct 14 02:00:12 helium kernel: PCI: Enabling device 02:00.0 (0000 -> 0003)
Oct 14 02:00:12 helium cardmgr[13120]: initializing socket 0
Oct 14 02:00:12 helium cardmgr[13120]: socket 0: Xircom R2BE-100BTX CardBus 10/100 
Ethernet
----------------------------------------------------------------------

le device n'est pas encore pret. mais je peux charger manuellement 2
modules manquants, lancer le client dhcp et ca fonctionne:

----------------------------------------------------------------------
helium:/etc/pcmcia# ifconfig eth0
eth0: error fetching interface information: Device not found
helium:/etc/pcmcia# insmod /lib/modules/2.4.10-686/pcmcia/cb_enabler.o 
helium:/etc/pcmcia# insmod /lib/modules/2.4.10-686/pcmcia/xircom_tulip_cb.o 
helium:/etc/pcmcia# ifconfig eth0
eth0      Link encap:Ethernet  HWaddr 00:10:A4:9A:D5:66  
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100 
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
          Interrupt:9 Base address:0x4000 

helium:/etc/pcmcia# /sbin/dhclient-2.2.x -q eth0
helium:/etc/pcmcia# ifconfig eth0
eth0      Link encap:Ethernet  HWaddr 00:10:A4:9A:D5:66  
          inet addr:192.168.56.32  Bcast:192.168.56.0  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:3 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:4 dropped:0 overruns:0 carrier:4
          collisions:0 txqueuelen:100 
          RX bytes:1026 (1.0 Kb)  TX bytes:0 (0.0 b)
          Interrupt:9 Base address:0x4000 

helium:/etc/pcmcia# lsmod 
Module                  Size  Used by
xircom_tulip_cb        11632   1 
cb_enabler              2368   0  (unused)
ds                      6416   2  [cb_enabler]
yenta_socket            8336   2 
pcmcia_core            38144   0  [cb_enabler ds yenta_socket]
nls_cp437               4384   0  (autoclean)
msdos                   4880   0 
fat                    29152   0  [msdos]
floppy                 44944   0  (autoclean)
af_packet              11392   1  (autoclean)
rtc                     5248   0  (autoclean)
unix                   13728  78  (autoclean)
ide-disk                6592   3  (autoclean)
ide-probe-mod           8000   0  (autoclean)
ide-mod               129744   3  (autoclean) [ide-disk ide-probe-mod]
ext2                   31120   2  (autoclean)
helium:/etc/pcmcia# 
----------------------------------------------------------------------

extrait de /etc/pcmcia/network.opts:
----------------------------------------------------------------------
case "$ADDRESS" in
*,*,*,*)
    INFO="Sample private network setup"
    # Transceiver selection, for some cards -- see 'man ifport'
    IF_PORT=""
    # Use BOOTP (via /sbin/bootpc, or /sbin/pump)? [y/n]
    BOOTP="n"
    # Use DHCP (via /sbin/dhcpcd, /sbin/dhclient, or /sbin/pump)? [y/n]
    DHCP="y"
[...]
----------------------------------------------------------------------

/etc/default/pcmcia
----------------------------------------------------------------------
# Defaults for pcmcia (sourced by /etc/init.d/pcmcia)
PCMCIA=yes
#PCIC=i82365
PCIC=yenta_socket
PCIC_OPTS=
CORE_OPTS=
CARDMGR_OPTS=
----------------------------------------------------------------------

merci pour toute aide,


        tom

-- 
as seen in a signature:
       "In an open world without walls and fences,
        who needs Gates and windows?"
--
http://www-internal.alphanet.ch/linux-leman/ avant de poser
une question. Ouais, pour se désabonner aussi.

Répondre à