Re: pcmcia help?
Eric Richardson <eric.richardson@milagrosoft.com> writes:
> What does lsmod report?
>
> My networking stuff looks like this for 2.2.x kernel.
> maxwell@maxwell:~/app$ lsmod
> Module Size Used by
> serial_cs 4980 0 (unused)
> tulip_cb 30104 2
> cb_enabler 2296 2 [tulip_cb]
> ds 6028 2 [serial_cs cb_enabler]
> i82365 21072 2
> pcmcia_core 42384 0 [serial_cs cb_enabler ds i82365]
>
> If yours is not similar then you should run modconf as root and
> select some modules.
After loading pcnet_cs "manually" it looks somewhat similar. The main
difference seems to be the "Used" "0" for pcnet_cs, 8390 and
pcmcia_core. Does this give some indication what could be the problem?
Module Size Used by
pcnet_cs 10340 0 (unused)
8390 5916 0 [pcnet_cs]
ds 6028 2 [pcnet_cs]
i82365 21072 2
pcmcia_core 42384 0 [pcnet_cs ds i82365]
nls_cp437 3872 4 (autoclean)
slip 7232 0 (unused)
ppp 20296 0 (unused)
slhc 4368 0 [slip ppp]
binfmt_misc 3800 0
binfmt_aout 3936 0
autofs 9140 0 (unused)
smbfs 24928 0 (unused)
vfat 9404 2
unix 11332 97 (autoclean)
> Use the pcnet_cs as suggested by Bruce instead of tulip_cb as in my
> situation. The serial_cs is for my modem card I believe.
>
>
> Hope this helps,
> Eric
> p.s. unload any modules that you don't need when running modconf if
> the drivers won't load.
The modules load without problem. I did remove slip, ppp and slhc for
a try anyway. It didn't help.
Thanks again!
Andreas
> Andreas Goesele wrote:
>
> > Hi,
> > I already lost much too much time trying to get PCMCIA work on my
>
> > laptop (Samsung MV7000, potato, kernel 2.2.19, corega FEther
> > PCC-TXF). The card works under Win98.
> > When I put in the card, I get one deep beep, removing it one high
>
> > beep. The card is recognized and the modules seem to be loaded
> > alright. But ifconfig doesn't show eth0 and consequently a ping
> > results in "network is unreachable". The network information
> > (ip-address, network, netmask, gateway, broadcast) in network.conf is
> > most certainly correct. (But see below under 6.)
> > Trying to run the network script by hand invariably gives:
>
> > /etc/pcmcia/network start eth0
>
> > usage: /etc/pcmcia/network [action] [device name]
>
> > actions: start check stop suspend resume
> > As I have exhausted all my possibility (re-reading various times the
>
> > PCMCIA-HOWTO, playing around with various settings ...) I would be
> > very grateful for some help!
> > Follows all the info I could get. (1. system log, 2. cardctl status,
>
> > 3. cardctl config, 4. cardctl ident, 5. test_setup, 6. test_network,
> > 7. dump_pirq
> > 1) In the system log I have:
>
> > Oct 13 19:49:43 debi kernel: Linux PCMCIA Card Services 3.1.22
>
> > Oct 13 19:49:43 debi kernel: kernel build: 2.2.19 #1 Wed Mar 20 19:41:41 EST 2002
> > Oct 13 19:49:43 debi kernel: options: [pci] [cardbus] [apm]
> > Oct 13 19:49:43 debi kernel: PCI routing table version 1.0 at 0xfdf60
> > Oct 13 19:49:43 debi kernel: 00:08.1 -> irq 5
> > Oct 13 19:49:43 debi kernel: Intel PCIC probe:
> > Oct 13 19:49:43 debi kernel: Ricoh RL5C478 rev 80 PCI-to-CardBus at slot 00:08, mem 0x68000000
> > Oct 13 19:49:43 debi kernel: host opts [0]: [serial irq] [io 3/6/1] [mem 3/6/1] [pci irq 11] [lat 168/176] [bus 32/34]
> > Oct 13 19:49:43 debi kernel: host opts [1]: [serial irq] [io 3/6/1] [mem 3/6/1] [pci irq 5] [lat 168/176] [bus 35/37]
> > Oct 13 19:49:43 debi kernel: ISA irqs (default) = 3,4,7,9,10,12,15 PCI status changes
> > Oct 13 19:49:44 debi kernel: cs: IO port probe 0x0c00-0x0cff: excluding 0xcf8-0xcff
> > Oct 13 19:49:44 debi kernel: cs: IO port probe 0x0800-0x08ff: clean.
> > Oct 13 19:49:44 debi kernel: cs: IO port probe 0x0100-0x04ff: excluding 0x378-0x37f 0x398-0x39f 0x4d0-0x4d7
> > Oct 13 19:49:44 debi kernel: cs: IO port probe 0x0a00-0x0aff: clean.
> > Oct 13 19:49:44 debi kernel: cs: memory probe 0xa0000000-0xa0ffffff: clean.
> > According to the PCMCIA Howto the 10th line should continue and look
>
> > as for instance: Could that be relevant?
>
> > 2) Output of cardctl status:
>
> > Socket 0:
>
> > 5V 16-bit PC Card
> > function 0: [ready], [wp]
> > Socket 1:
> > no card
> > 3) Output of cardctl config:
>
> > Socket 0:
>
> > Vcc 5.0V Vpp1 5.0V Vpp2 5.0V
> > Socket 1:
> > not configured
> > 4) Output of cardctl ident:
>
> > Socket 0:
>
> > product info: "corega", "FEther PCC-TXF"
> > manfid: 0xc00f, 0x0000
> > function: 6 (network)
> > Socket 1:
> > no product info available
> > 5) Output of test_setup:
>
> > Current kernel: 2.2.19 #1 Wed Mar 20 19:41:41 EST 2002
>
> > Module info from /lib/modules/2.2.19/pcmcia/pcmcia_core.o:
> > Linux PCMCIA Card Services 3.1.22
> > options: [pci] [cardbus] [apm]
> > Startup options from /etc/pcmcia.conf:
>
> > PCMCIA=yes
> > PCIC=i82365
> > PCIC_OPTS=
> > CORE_OPTS=
> > CARDMGR_OPTS=
> > Checking current syslog files in /var/log:
>
> > All PCMCIA messages are in /var/log/syslog.
> > Module status:
>
> > The PCMCIA kernel modules are loaded correctly.
> > Daemon status:
>
> > cardmgr is running (process 168)
> > Current socket status from /var/lib/pcmcia/stab:
>
> > Socket 0: empty
> > Socket 1: empty
> > 6) Output of test_network:
>
> > PCMCIA network settings are coming from /etc/pcmcia/network.opts.
>
> > No PCMCIA network interfaces are configured.
> > There is a network device in socket 0:
>
> > empty
> > 7) Output of dump_pirq:
>
> > Interrupt routing table found at address 0xfdf60:
>
> > Version 1.0, size 0x0080
> > Interrupt router is device 00:07.0
> > PCI exclusive interrupt mask: 0x0000 []
> > Compatible router: vendor 0x8086 device 0x122e
> > Device 00:07.0 (slot 0): ISA bridge
>
> > INTD: link 0x63, irq mask 0x0800 [11]
> > Device 00:08.0 (slot 0): CardBus bridge
>
> > INTA: link 0x60, irq mask 0x0800 [11]
> > INTB: link 0x61, irq mask 0x0020 [5]
> > Device 00:0b.0 (slot 0): VGA compatible controller
>
> > INTA: link 0x62, irq mask 0x0400 [10]
> > Device 00:09.0 (slot 0): INTA: link 0x60, irq mask 0x0800 [11]
>
> > Device 00:0a.0 (slot 0): INTA: link 0x61, irq mask 0x0020 [5]
>
> > Device 00:00.0 (slot 0): Host bridge
>
> > INTA: link 0x60, irq mask 0xdef8 [3,4,5,6,7,9,10,11,12,14,15]
> > INTB: link 0x61, irq mask 0x0020 [5]
> > INTC: link 0x62, irq mask 0xdef8 [3,4,5,6,7,9,10,11,12,14,15]
> > INTD: link 0x63, irq mask 0xdef8 [3,4,5,6,7,9,10,11,12,14,15]
> > Interrupt router at 00:07.0: Intel 82443MX PCI-to-ISA bridge
>
> > PIRQ1 (link 0x60): irq 11
> > PIRQ2 (link 0x61): irq 5
> > PIRQ3 (link 0x62): unrouted
> > PIRQ4 (link 0x63): irq 11
> > Serial IRQ: [enabled] [continuous] [frame=21] [pulse=4]
> > Level mask: 0x0820 [5,11]
Reply to: