Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Jan 2002 15:21:50 -0200
From:      Joao Carlos Mendes Luis <jonny@embratel.net.br>
To:        Kevin Oberman <oberman@ptavv.es.net>
Cc:        freebsd-mobile@freebsd.org, John Gordon <john.gordon@windriver.com>, freebsd-stable@freebsd.org
Subject:   Re: xe driver broken?
Message-ID:  <3C3F1F2E.59D00E89@embratel.net.br>
References:  <20020111160957.2B8EB5D31@ptavv.es.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

    First of all, should I be cross-posting this to -stable and -mobile?

Kevin Oberman wrote:
> >     The xe driver seems to be broken in -stable since 4.4-RELEASE.  Are there,
> > at least, any workarounds?  Is there somebody working on a fix?
> >
> >     I have a Compaq Armada 3500 with a Compaq Netelligent 10/100 PC Card, and
> > would be glad to help any debugging needed.
> >
> > Ref:
> > http://www.freebsd.org/cgi/getmsg.cgi?fetch=195414+203251+/usr/local/www/db/text/2001/freebsd-mobile/20011118.freebsd-mobile
> 
> While it has a few warts, I have not been having any problems with my
> Xircom RE-100 under 4.4-Release or stable up to and including
> 4.5-PRERELEASE. I'm building 4.5-RC1 today.

    I'm using 4-stable cvsupped yesterday night.

> As a result, I suspect that it's something else that is causing these
> problems. PCCARD support, especially interrupt handling, was re-worked
> for 4.4 and I suspect you problem lies here.
> 
> For 4.4, PCI interrupt sharing was enabled for the first time in
> STABLE. This is nice as it allows the pcics and all cards plugged into
> them to share a single interrupt. But a few pcics do not support
> this. I know that the Cirrus Logic controller was a real problem. This
> is what was the problem in the cited PR. I'm not sure of the status of
> a fix for the problem.
> 
> Does your system have a Cirrus Logic pcic?

    No.  See dmesg below.

> For more help, please include the output of dmesg, any sysctl changes
> for pcic, and relevant parts of the kernel configuration.

    See below.

> 
> R. Kevin Oberman, Network Engineer
> Energy Sciences Network (ESnet)
> Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
> E-mail: oberman@es.net                  Phone: +1 510 486-8634


                                        Jonny

-- 
João Carlos Mendes Luís                 jonny@embratel.net.br
  Networking Engineer                   jonny@jonny.eng.br
 Internet via Embratel			jcml@ieee.org


dmesg:

Copyright (c) 1992-2002 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.5-RC #4: Fri Jan 11 11:03:50 BRST 2002
    Jonny@redes:/usr/cvsup/RELENG_4/src/sys/compile/COMPAQ
Timecounter "i8254"  frequency 1193238 Hz
CPU: Pentium II/Pentium II Xeon/Celeron (300.02-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x652  Stepping = 2
 
Features=0x183f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR>
real memory  = 67108864 (65536K bytes)
avail memory = 61091840 (59660K bytes)
Preloaded elf kernel "kernel" at 0xc0428000.
ccd0-3: Concatenated disk drivers
VESA: v2.0, 2048k memory, flags:0x1, mode table:0xc039ff00 (1000040)
VESA: CHIPS 69000 Super VGA
Pentium Pro MTRR support enabled
apm0: <APM BIOS> on motherboard
apm: found APM BIOS v1.2, connected at v1.2
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Intel 82443BX host to PCI bridge (AGP disabled)> on motherboard
pci0: <PCI bus> on pcib0
isab0: <Intel 82371AB PCI to ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel PIIX4 ATA33 controller> port 0x1020-0x102f at device 7.1 on
pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
uhci0: <Intel 82371AB/EB (PIIX4) USB controller> port 0x1000-0x101f irq 11 at
device 7.2 on pci0
usb0: <Intel 82371AB/EB (PIIX4) USB controller> on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
intpm0: <Intel 82371AB Power management controller> port 0xd00-0xd0f irq 9 at
device 7.3 on pci0
intpm0: I/O mapped d00
intpm0: intr IRQ 9 enabled revision 0
smbus0: <System Management Bus> on intsmb0
smb0: <SMBus general purpose I/O> on smbus0
intpm0: PM I/O mapped f00 
pci0: <Chips & Technologies 69000 SVGA controller> at 8.0 irq 11
pcic0: <TI PCI-1220 PCI-CardBus Bridge> mem 0x7fffe000-0x7fffefff irq 11 at
device 17.0 on pci0
pcic0: TI12XX PCI Config Reg: [ring enable][speaker enable][pwr save][CSC
serial isa irq]
pccard0: <PC Card bus (classic)> on pcic0
pcic1: <TI PCI-1220 PCI-CardBus Bridge> mem 0x7ffff000-0x7fffffff irq 11 at
device 17.1 on pci0
pcic1: TI12XX PCI Config Reg: [ring enable][speaker enable][pwr save][CSC
serial isa irq]
pccard1: <PC Card bus (classic)> on pcic1
orm0: <Option ROM> at iomem 0xc0000-0xcafff 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 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
sbc0: <ESS 688> at port 0x220-0x22f irq 5 drq 1 flags 0x15 on isa0
pcm0: <ESS 18xx DSP> on sbc0
IP packet filtering initialized, divert enabled, rule-based forwarding
enabled, default to accept, unlimited logging
IPv6 packet filtering initialized, default to accept, unlimited logging
DUMMYNET initialized (011031)
IPsec: Initialized Security Association Processing.
IP Filter: v3.4.20 initialized.  Default = pass all, Logging = enabled
pccard: card inserted, slot 1
pccard: card removed, slot 1
ata1-slave: ata_command: timeout waiting for intr
ata1-slave: identify failed
ad0: 6194MB <IBM-DADA-26480> [13424/15/63] at ata0-master UDMA33
acd0: CDROM <UJDA150> at ata1-master using PIO4
Mounting root from ufs:/dev/ad0s2a

------------------------------------------------------

Now, some output from /var/log/messages:

(inserting compaq card)

Jan 11 11:54:05 redes /kernel: pccard: card inserted, slot 1
Jan 11 11:54:11 redes pccardd[42]: Card "Compaq"("Netelligent 10/100 PC Card")
[CPQ-10/100] [1.00] matched "Compaq" ("Netelligent 10/100 PC Card") [(null)]
[(null)] 
Jan 11 11:54:16 redes pccardd[42]: driver allocation failed for
Compaq(Netelligent 10/100 PC Card): Device not configured

(removing compaq card)

Jan 11 12:00:56 redes /kernel: pccard: card removed, slot 1
Jan 11 12:00:56 redes pccardd[42]: xe0: Compaq (Netelligent 10/100 PC Card)
removed.

(inserting dlink card)
Jan 11 12:07:28 redes /kernel: pccard: card inserted, slot 1
Jan 11 12:07:33 redes pccardd[199]: Card "Dual Speed"("10/100 Port Attached PC
Card") [1.0] [ ] matched "Dual Speed" ("/10/100( Port Attached)? PC Card/")
[(null)] [(null)] 
Jan 11 12:07:33 redes pccardd[199]: Using I/O addr 0x300, size 32 
Jan 11 12:07:33 redes pccardd[199]: Setting config reg at offs 0x400 to 0x41,
Reset time = 50 ms 
Jan 11 12:07:38 redes pccardd[199]: Assigning I/O window 0, start 0x300, size
0x20 flags 0x5 
Jan 11 12:07:38 redes pccardd[199]: Assign ed0, io 0x300-0x31f, mem 0x0, 0
bytes, irq 11, flags 80000 
Jan 11 12:07:39 redes /kernel: ed0 at port 0x300-0x31f irq 11 flags 0x80000
slot 1 on pccard1
Jan 11 12:07:39 redes /kernel: ed0: address 00:e0:98:96:ee:ff, type Linksys
(16 bit) 
Jan 11 12:07:39 redes /kernel: ukphy0: <Generic IEEE 802.3u media interface>
on miibus0
Jan 11 12:07:39 redes /kernel: ukphy0:  10baseT, 10baseT-FDX, 100baseTX,
100baseTX-FDX, auto
Jan 11 12:07:39 redes pccardd[199]: ed0: Dual Speed (/10/100( Port Attached)?
PC Card/) inserted.



Kernel configuration file:

...
# PCCARD (PCMCIA) support
device		card
device		pcic0	at isa? irq 0 port 0x3e0 iomem 0xd0000
device		pcic1	at isa? irq 0 port 0x3e2 iomem 0xd4000
...
device		miibus		# MII bus support
device		ed		# Dlink Ethernet
device		xe		# Compaq Ethernet
...

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3C3F1F2E.59D00E89>