[ Next-in-Thread ]  [ Next Message ] 

Question: install pcmcia on twinhead p79tx 

Forum: PCMCIA Installation and Configuration Issues
Date: 2000, Jul 20
From: liu liqun happydog

I installed redhat 6.2 on my twinhead p79tx (about two years old). The PCMCIA control IC is TI PCI1131. I try to use a xircom creditcard ethernet card on my laptop. Under win98, all the hardware work well. Under win98, the IRQ for the net card is 11, port 1000-100f, mem 02003000 to 02003fff , 02004000-02004ff the IRQ for the PCI1131 is 10, mem 02000000-02000fff, 02003000 -02004fff. the mem for card service is 02001000-02001fff

At first, I let the linux probe the information for me. But it lock up at boot time. I set the PCIC_OPTS="irq_list=10,11" in /etc/sysconfig/pcmcia and exclude all the irq except 10 ,11 in config.opt. The system still lock up at boot time. I find this in the log file.

Jul 19 00:36:02 newstart pcmcia: Starting PCMCIA services:
Jul 19 00:36:03 newstart pcmcia:  modules
Jul 19 00:36:03 newstart kernel: Linux PCMCIA Card Services 3.1.8 
Jul 19 00:36:03 newstart kernel:   kernel build: 2.2.14-5.0 #1 Tue Mar 7 20:53:41 EST 2000 
Jul 19 00:36:03 newstart kernel:   options:  [pci] [cardbus] [apm] 
Jul 19 00:36:03 newstart pcmcia: /lib/modules/2.2.14-5.0/pcmcia/i82365.o: 
Jul 19 00:36:03 newstart pcmcia: invalid parameter parm_irq-LIST
Jul 19 00:36:03 newstart kernel: ds: no socket drivers loaded! 
Jul 19 00:36:03 newstart pcmcia:  cardmgr.
Jul 19 00:36:03 newstart pcmcia: /lib/modules/2.2.14-5.0/pcmcia/ds.o: init_module: Device or resource busy
Jul 19 00:36:03 newstart rc: Starting pcmcia succeeded
Jul 19 00:36:03 newstart cardmgr[414]: starting, version is 3.1.8
Jul 19 00:36:03 newstart cardmgr[414]: no pcmcia driver in /proc/devices
Jul 19 00:36:03 newstart cardmgr[414]: exiting

Then I set the do_scan=0,include the new mem window (0x68000000-0x68000fff). the system can not boot too. If I remove the card from the socket, the system can boot successfuly. But I will lock again after I inset the card.

Below is waht I found in the log file.

Jul 20 03:10:49 newstart pcmcia: Starting PCMCIA services:
Jul 20 03:10:49 newstart pcmcia:  modules
Jul 20 03:10:49 newstart kernel: Linux PCMCIA Card Services 3.1.8 
Jul 20 03:10:49 newstart kernel:   kernel build: 2.2.14-5.0 #1 Tue Mar 7 20:53:41 EST 2000 
Jul 20 03:10:49 newstart kernel:   options:  [pci] [cardbus] [apm] 
Jul 20 03:10:49 newstart kernel: Intel PCIC probe:  
Jul 20 03:10:49 newstart kernel:   TI 1131 PCI-to-CardBus at bus 0 slot 15, mem 0x68000000, 2 sockets 
Jul 20 03:10:49 newstart kernel:     host opts [0]: [pci + serial irq] [no pci irq] [lat 64/176] [bus 1/5] 
Jul 20 03:10:49 newstart kernel:     host opts [1]: [pci + serial irq] [no pci irq] [lat 64/176] [bus 6/10] 
Jul 20 03:10:49 newstart kernel:     ISA irqs (default) = 3,4,7,9,10,11,12 polling interval = 1000 ms 
Jul 20 03:10:49 newstart pcmcia:  cardmgr.
Jul 20 03:10:49 newstart cardmgr[431]: starting, version is 3.1.8
Jul 20 03:10:49 newstart rc: Starting pcmcia succeeded
Jul 20 03:10:50 newstart cardmgr[431]: watching 2 sockets
Jul 20 03:10:50 newstart kernel: cs: IO port probe 0x1000-0x17ff: clean. 
Jul 20 03:10:50 newstart kernel: cs: IO port probe 0x0100-0x04ff: excluding 0x200-0x207 0x378-0x37f 0x398-0x39f 0x408-0x40f 0x480-0x48f 0x4d0-0x4d7 
Jul 20 03:10:50 newstart inet: inetd startup succeeded

Can you tell me what shall I do next?

[ Next-in-Thread ]  [ Next Message ] 

Messages Inline: [ 0 ]  [ 1 ] 

More: Do not lockup now. But can not receive data.

Re: Question: install pcmcia on twinhead p79tx (liu liqun)
Date: 2000, Jul 21
From: liu liqun happydog

I set the PCIC_IPT="irq_mod=3", then everything seem ok. But I can not still receive any data from my xircom CE3B network card. I ping the local gateway and see the yellow LED twinkle. But all the packets are losed.

Below are the log file entries.

Jul 21 14:23:05 newstart pcmcia: Starting PCMCIA services:
Jul 21 14:23:05 newstart pcmcia:  modules
Jul 21 14:23:05 newstart kernel: Linux PCMCIA Card Services 3.1.8 
Jul 21 14:23:05 newstart kernel:   kernel build: 2.2.14-5.0 #1 Tue Mar 7 20:53:41 EST 2000 
Jul 21 14:23:05 newstart kernel:   options:  [pci] [cardbus] [apm] 
Jul 21 14:23:05 newstart kernel: Intel PCIC probe:  
Jul 21 14:23:05 newstart kernel:   TI 1131 PCI-to-CardBus at bus 0 slot 15, mem 0x68000000, 2 sockets 
Jul 21 14:23:05 newstart kernel:     host opts [0]: [serial pci & irq] [no pci irq] [lat 64/176] [bus 1/5] 
Jul 21 14:23:05 newstart kernel:     host opts [1]: [serial pci & irq] [no pci irq] [lat 64/176] [bus 6/10] 
Jul 21 14:23:05 newstart kernel:     ISA irqs (default) = 3,4,7,9,10,11,12 polling interval = 1000 ms 
Jul 21 14:23:05 newstart pcmcia:  cardmgr.
Jul 21 14:23:05 newstart cardmgr[460]: starting, version is 3.1.8
Jul 21 14:23:05 newstart rc: Starting pcmcia succeeded
Jul 21 14:23:06 newstart cardmgr[460]: watching 2 sockets
Jul 21 14:23:06 newstart kernel: cs: IO port probe 0x1000-0x17ff: clean. 
Jul 21 14:23:06 newstart cardmgr[460]: initializing socket 1
Jul 21 14:23:06 newstart kernel: cs: memory probe 0x68000000-0x68ffffff: excluding 0x68000000-0x680fffff 
Jul 21 14:23:06 newstart cardmgr[460]: socket 1: Xircom CE3-10/100 Fast Ethernet
Jul 21 14:23:06 newstart inet: inetd startup succeeded
Jul 21 14:23:06 newstart cardmgr[460]: executing: 'insmod /lib/modules/2.2.14-5.0/pcmcia/xirc2ps_cs.o'
Jul 21 14:23:06 newstart kernel: xirc2ps_cs.c 1.31 1998/12/09 19:32:55 (dd9jn+kvh) 
Jul 21 14:23:06 newstart kernel: eth0: Xircom: port 0x1300, irq 11, hwaddr 00:80:C7:48:AA:A6 
Jul 21 14:23:06 newstart cardmgr[460]: executing: './network start eth0'
Jul 21 14:23:09 newstart kernel: eth0: MII link partner: 0021 
Jul 21 14:23:09 newstart kernel: eth0: MII selected 
Jul 21 14:23:09 newstart kernel: eth0: media 10BaseT, silicon revision 4 

Waht is wrong? should I compile the newer pcmcia code?

Everything is not ok

Re: More: Do not lockup now. But can not receive data. (liu liqun)
Date: 2000, Jul 21
From: David Hinds <dhinds@pcmcia.sourceforge.org>

It doesn't work because "irq_mode=3" is wrong for this system.

-- Dave

One thing at a time...

Re: Question: install pcmcia on twinhead p79tx (liu liqun)
Date: 2000, Jul 21
From: David Hinds <dhinds@pcmcia.sourceforge.org>

I think you should back up and start from scratch: restore all the
original settings.

> At first, I let the linux probe the information for me. But it lock up
> at boot time.

Was this with the card inserted, or not inserted?  Start with no
special settings and see if the system will boot.  If it does, then
insert the card.  If it does not boot, then try "do_scan=0"; do not
use the Windows interrupt settings: they are *wrong* for Linux.

> Jul 19 00:36:03 newstart pcmcia: invalid parameter parm_irq-LIST

You mis-spelled "irq_list" as "irq-LIST".

> Then I set the do_scan=0,include the new mem window
> (0x68000000-0x68000fff). the system can not boot too.

Do not set the memory window to this.  Put the original settings back.

-- Dave

More: Do it step by step

Re: Question: install pcmcia on twinhead p79tx (liu liqun)
Date: 2000, Jul 22
From: liu liqun happydog

1. default config.opts and /etc/sysconfig/pcmcia can not boot not matter has or not has card in the socket.

2. set do_scan=0
 2.1 has card in the socket.
 The laptop gives a high beep and display PCMCIA [OK], then  lockup. The log is:
Jul 22 03:50:33 newstart pcmcia: Starting PCMCIA services:
Jul 22 03:50:33 newstart pcmcia:  modules
Jul 22 03:50:33 newstart kernel: Linux PCMCIA Card Services 3.1.8 
Jul 22 03:50:33 newstart kernel:   kernel build: 2.2.14-5.0 #1 Tue Mar 7 20:53:41 EST 2000 
Jul 22 03:50:33 newstart kernel:   options:  [pci] [cardbus] [apm] 
Jul 22 03:50:33 newstart kernel: Intel PCIC probe:  
Jul 22 03:50:33 newstart kernel:   TI 1131 PCI-to-CardBus at bus 0 slot 15, mem 0x68000000, 2 sockets 
Jul 22 03:50:33 newstart kernel:     host opts [0]: [pci + serial irq] [no pci irq] [lat 64/176] [bus 1/5] 
Jul 22 03:50:33 newstart kernel:     host opts [1]: [pci + serial irq] [no pci irq] [lat 64/176] [bus 6/10] 
Jul 22 03:50:33 newstart kernel:     ISA irqs (default) = 3,4,7,9,10,11,12 polling interval = 1000 ms 
Jul 22 03:50:33 newstart pcmcia:  cardmgr.
Jul 22 03:50:33 newstart rc: Starting pcmcia succeeded

 2.2 no card in the socket.
 can boot, But lockup again after insert the card.
the log is:
Jul 22 03:53:13 newstart pcmcia: Starting PCMCIA services:
Jul 22 03:53:13 newstart pcmcia:  modules
Jul 22 03:53:14 newstart kernel: Linux PCMCIA Card Services 3.1.8 
Jul 22 03:53:14 newstart kernel:   kernel build: 2.2.14-5.0 #1 Tue Mar 7 20:53:41 EST 2000 
Jul 22 03:53:14 newstart kernel:   options:  [pci] [cardbus] [apm] 
Jul 22 03:53:14 newstart kernel: Intel PCIC probe:  
Jul 22 03:53:14 newstart kernel:   TI 1131 PCI-to-CardBus at bus 0 slot 15, mem 0x68000000, 2 sockets 
Jul 22 03:53:14 newstart kernel:     host opts [0]: [pci + serial irq] [no pci irq] [lat 64/176] [bus 1/5] 
Jul 22 03:53:14 newstart kernel:     host opts [1]: [pci + serial irq] [no pci irq] [lat 64/176] [bus 6/10] 
Jul 22 03:53:14 newstart kernel:     ISA irqs (default) = 3,4,7,9,10,11,12 polling interval = 1000 ms 
Jul 22 03:53:14 newstart pcmcia:  cardmgr.
Jul 22 03:53:14 newstart rc: Starting pcmcia succeeded
Jul 22 03:53:14 newstart cardmgr[466]: starting, version is 3.1.8
Jul 22 03:53:14 newstart cardmgr[466]: watching 2 sockets
Jul 22 03:53:14 newstart kernel: cs: IO port probe 0x1000-0x17ff: clean. 
Jul 22 03:53:14 newstart kernel: cs: IO port probe 0x0100-0x04ff: excluding 0x200-0x207 0x378-0x37f 0x398-0x39f 0x408-0x40f 0x480-0x48f 0x4d0-0x4d7 

....

Jul 22 03:59:02 newstart cardmgr[466]: initializing socket 1
Jul 22 03:59:02 newstart cardmgr[466]: socket 1: Xircom CE3-10/100 Fast Ethernet
Jul 22 03:59:02 newstart kernel: cs: memory probe 0xa0000000-0xa0ffffff: clean. 
Jul 22 03:59:02 newstart cardmgr[466]: executing: 'insmod /lib/modules/2.2.14-5.0/pcmcia/xirc2ps_cs.o'
Jul 22 03:59:02 newstart kernel: xirc2ps_cs.c 1.31 1998/12/09 19:32:55 (dd9jn+kvh) 

Work on this interrupt issue

Re: More: Do it step by step (liu liqun)
Date: 2000, Aug 01
From: David Hinds <dhinds@pcmcia.sourceforge.org>

Ok, if do_scan=0 helps, then I'd replace it with things like:

  PCIC_OPTS="irq_list=3,4,7,9,10"
  PCIC_OPTS="irq_list=3,4,7,11,12"
  PCIC_OPTS="irq_list=3,4,7"

until you can get the system to boot cleanly.  One or more interrupts
is causing a problem at boot time; it also might be the cause of the
problem when you insert your card.

It might also be a good idea to upgrade to the latest (3.1.19) PCMCIA
driver package.

-- Dave

Ok: It works

Re: Question: install pcmcia on twinhead p79tx (liu liqun)
Date: 2000, Aug 03
From: liu liqun happydog

irq_list=3,4,7,11,12 works.

I can use my linux box ftp, telnet ....now. But when I ping other hosts, all the packets but one lost. Maybe a configuration problem! THanks a lot, David.

install pcmcia on twinhead p79tx


[ Add Message ]  to: "install pcmcia on twinhead p79tx"

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