Linksys EtherFast PCM100 on 4.3-STABLE

Linksys EtherFast PCM100 on 4.3-STABLE

Post by News Reade » Fri, 20 Jul 2001 05:38:37



Has anyone been able to get a Linksys PCM100 card to work under 4.x?
If so, what settings/configuration were required?

I recently purchased a Linksys EtherFast 10/100 Integrated PC Card
(model PCM100) to replace an old Linksys Combo card.  The PCM100 is
listed in pccard.conf, and it seems to be recognized and initialized
by pccardd.  However, the "Link" LED on the card never lights (it is
supposed to be lit whenever a valid link is detected), and "ed1:
device timeout" messages are logged whenever I try (unsuccessfully)
to access the network.  The "Act" (active/power) LED is lit, and
the 10/100 LED lights after a moment as well (even on a 10baseT link).

I tried rebuilding from the latest sources (as of 2001-07-17), just
in case, but the problem persists.  (This is running 4.3-STABLE.)
The ed device is the only network card declared in the kernel config:

   device  ed0  at isa? port 0x300 irq 10 iomem 0xd8000

I have tried various IRQs and addresses, but to no effect.  The
default configuration in /etc/defaults/pccard.conf is:

   card "Linksys" "EtherFast 10/100 Integrated PC Card (PCM100)"
           config  auto "ed" ? 0x80000
           insert  /etc/pccard_ether $device start
           insert  /etc/pccard_ether $device stop

ifconfig shows the interface as being up:

   lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
           inet 127.0.0.1 netmask 0xff000000
   ed1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
           inet 128.83.131.63 netmask 0xffff0000 broadcast 128.83.255.255
           ether 00:e0:98:90:84:81

(Taking it down and then bringing it back up doesn't seem to help.)

Does anyone have ideas/suggestions/a solution to this problem?  Thank
you in advance for any assistance that you can provide....

Below is the output of dmesg on this machine (including a couple of the
"device timeout" messages at the end):

Copyright (c) 1992-2001 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
        The Regents of the University of California. All rights reserved.
FreeBSD 4.3-STABLE #1: Wed Jul 18 00:32:45 CDT 2001

Timecounter "i8254"  frequency 1193182 Hz
Timecounter "TSC"  frequency 99916590 Hz
CPU: Pentium/P54C (99.92-MHz 586-class CPU)
  Origin = "GenuineIntel"  Id = 0x570  Stepping = 0
  Features=0x1bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8>
real memory  = 16777216 (16384K bytes)
config> di ed0
config> q
avail memory = 13979648 (13652K bytes)
Preloaded elf kernel "kernel" at 0xc0278000.
Preloaded userconfig_script "/boot/kernel.conf" at 0xc027809c.
Intel Pentium detected, installing workaround for F00F bug
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
pci0: <Trident model 9660 VGA-compatible display device> at 1.0
atapci0: <Generic PCI ATA controller> port 0xf8f0-0xf8ff,0x374-0x377,
0x170-0x17f,0x3f4-0x3f7,0x1f0-0x1ff irq 14 at device 3.0 on pci0
atapci0: Busmastering DMA not supported
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
pcic-pci0: <Cirrus Logic PD6729/6730 PC-Card Controller> port 0x3e0-0x3e3
 at device 4.0 on pci0
chip1: <PCI to Other bridge (vendor=1066 device=0002)> at device 5.0 on pci0
isa0: <ISA bus> on motherboard
orm0: <Option ROM> at iomem 0xc0000-0xc7fff on isa0
fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model Generic PS/2 mouse, device ID 0
vga0: <Generic ISA VGA> at port 0x3b0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <12 virtual consoles, flags=0x300>
pcic0: <Cirrus logic 672x> at port 0x3e0-0x3e1 on isa0
pcic0: Polling mode
pccard0: <PC Card bus (classic)> on pcic0
pccard1: <PC Card bus (classic)> on pcic0
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
ad0: 777MB <TOSHIBA MK1926FCV> [1579/16/63] at ata0-master BIOSPIO
acd0: CDROM <UJDCD6710> at ata1-master using BIOSPIO
Mounting root from ufs:/dev/ad0s1a
pccard: card inserted, slot 0
ed1 at port 0x300-0x31f irq 3 slot 0 on pccard0
ed1: address 00:e0:98:90:84:81, type Linksys (16 bit)
ed1: device timeout
ed1: device timeout

 
 
 

Linksys EtherFast PCM100 on 4.3-STABLE

Post by mic.. » Fri, 20 Jul 2001 17:12:24



>    device  ed0  at isa? port 0x300 irq 10 iomem 0xd8000
> I have tried various IRQs and addresses, but to no effect.  The
> default configuration in /etc/defaults/pccard.conf is:

This is irrelevant, see the following.

Quote:> pccard: card inserted, slot 0
> ed1 at port 0x300-0x31f irq 3 slot 0 on pccard0
> ed1: address 00:e0:98:90:84:81, type Linksys (16 bit)
> ed1: device timeout
> ed1: device timeout

Here you see that your card is affected to irq 3 as configured in
pccard.conf. But there is timeout, this means most presumably
that IRQ 3 is not free. Try to disable anything in the BIOS that
could attach to IRQ 3 like an IRDA port.

--
Michel Talon

 
 
 

Linksys EtherFast PCM100 on 4.3-STABLE

Post by News Reade » Sat, 21 Jul 2001 02:12:41




> >    device  ed0  at isa? port 0x300 irq 10 iomem 0xd8000

> > I have tried various IRQs and addresses, but to no effect.  The
> > default configuration in /etc/defaults/pccard.conf is:

> This is irrelevant, see the following.

> > pccard: card inserted, slot 0
> > ed1 at port 0x300-0x31f irq 3 slot 0 on pccard0
> > ed1: address 00:e0:98:90:84:81, type Linksys (16 bit)
> > ed1: device timeout
> > ed1: device timeout

> Here you see that your card is affected to irq 3 as configured in
> pccard.conf. But there is timeout, this means most presumably
> that IRQ 3 is not free. Try to disable anything in the BIOS that
> could attach to IRQ 3 like an IRDA port.

That is what I thought at first, but I have tried this.  Nothing is
currently using IRQ3 (I have the second COM port disabled).  As I
said, I have tried various IRQs; I modified pccard.conf in order to
force it to use different IRQs, but the problem persisted.  I have
tried all of the free IRQs on my system:  3, 7, 9, 10, and 11.
 
 
 

Linksys EtherFast PCM100 on 4.3-STABLE

Post by Dang Huyn » Sat, 21 Jul 2001 09:32:33


Make sure you put flag for your pccard in /etc/rc.conf file.

pccard_enable="YES"
pccard_conf="/etc/defaults/pccard.conf"
pccard_mem="DEFAULT"
pccardd_flags="-i 10"        <======= Your card will use IRQ 10 instead 3.




> > >    device  ed0  at isa? port 0x300 irq 10 iomem 0xd8000

> > > I have tried various IRQs and addresses, but to no effect.  The
> > > default configuration in /etc/defaults/pccard.conf is:

> > This is irrelevant, see the following.

> > > pccard: card inserted, slot 0
> > > ed1 at port 0x300-0x31f irq 3 slot 0 on pccard0
> > > ed1: address 00:e0:98:90:84:81, type Linksys (16 bit)
> > > ed1: device timeout
> > > ed1: device timeout

> > Here you see that your card is affected to irq 3 as configured in
> > pccard.conf. But there is timeout, this means most presumably
> > that IRQ 3 is not free. Try to disable anything in the BIOS that
> > could attach to IRQ 3 like an IRDA port.

> That is what I thought at first, but I have tried this.  Nothing is
> currently using IRQ3 (I have the second COM port disabled).  As I
> said, I have tried various IRQs; I modified pccard.conf in order to
> force it to use different IRQs, but the problem persisted.  I have
> tried all of the free IRQs on my system:  3, 7, 9, 10, and 11.

 
 
 

Linksys EtherFast PCM100 on 4.3-STABLE

Post by mic.. » Sat, 21 Jul 2001 16:36:55



> That is what I thought at first, but I have tried this.  Nothing is
> currently using IRQ3 (I have the second COM port disabled).  As I
> said, I have tried various IRQs; I modified pccard.conf in order to
> force it to use different IRQs, but the problem persisted.  I have
> tried all of the free IRQs on my system:  3, 7, 9, 10, and 11.

This is very strange.

The only other things i am aware of are:
- the pcic must also be on its own free IRQ or in polling mode
- of course the card must not be a cardbus card, these cards
work only with CURRENT.


describing your problem. Output of pccardc dumpcis and relevant part
of dmesg should be appropriate. Here the people who develop pcic and
so on are* around and will answer. You can observe the output
on www.freebsd.org, no need to subscribe.

--
Michel Talon

 
 
 

1. FreeBSD 3.5-STABLE to 4.3-STABLE

Hello,

I'm trying to update a box of mine. It was initially 3.4-R, but
i've managed to update it to 3.5-stable.
What is the best way to update against 4.x series ?
I've tried to cvsup to 4.0-R and 4.3-S, but had some errors
while making buildworld. The /usr/src/UPDATING wasn't very
helpful because of those errors in buildworld. Any hints ?

I could reinstall 4.3 from an ISO image, but there are real
users and i don't want to loose them. What's is the procedure
to recover users from a backup /etc dir ?
1. copy passwd, master.passwd, group over
2. start pwd_mkdb
3. edit login.conf and add passwd-format=des (3.x uses DES)
4. start cap_mkdb
Right or wrong ?

Thanks in advance, Radoy

--
Error FE6B - Nonexistent - This comment does not exist,
and therefore you cannot read it. Please go away quietly.

2. Submitting BK patches...

3. Linksys PCM100 ethernet card

4. AT Form Factor Motherboard

5. Can't find 4.3-STABLE

6. TERM: txconn fails for most clients

7. how to build the world for 4.3 stable...

8. X -query <IP> on runlevel 5

9. 4.3 stable PERL build/installworld compile woes

10. Increasing amount of open files in freeBSD 4.3-STABLE

11. netatalk failures on 4.3-STABLE

12. 4.3-STABLE sh breaks on shift

13. glibcc and libjpeg in 4.3 stable