From owner-freebsd-stable Fri Jan 11 9:22:11 2002 Delivered-To: freebsd-stable@freebsd.org Received: from eng05.embratel.net.br (eng05.embratel.net.br [200.255.125.133]) by hub.freebsd.org (Postfix) with ESMTP id 869BE37B400; Fri, 11 Jan 2002 09:21:52 -0800 (PST) Received: from embratel.net.br (uni-eng.embratel.net.br [200.255.125.98]) by eng05.embratel.net.br (Postfix) with ESMTP id C6F6724D68; Fri, 11 Jan 2002 15:21:50 -0200 (BRST) Message-ID: <3C3F1F2E.59D00E89@embratel.net.br> Date: Fri, 11 Jan 2002 15:21:50 -0200 From: Joao Carlos Mendes Luis Organization: Internet via Embratel X-Mailer: Mozilla 4.76 [en] (Win95; U) X-Accept-Language: en MIME-Version: 1.0 To: Kevin Oberman Cc: freebsd-mobile@freebsd.org, John Gordon , freebsd-stable@freebsd.org Subject: Re: xe driver broken? References: <20020111160957.2B8EB5D31@ptavv.es.net> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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 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: on motherboard apm: found APM BIOS v1.2, connected at v1.2 npx0: on motherboard npx0: INT 16 interface pcib0: on motherboard pci0: on pcib0 isab0: at device 7.0 on pci0 isa0: on isab0 atapci0: port 0x1020-0x102f at device 7.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 uhci0: port 0x1000-0x101f irq 11 at device 7.2 on pci0 usb0: 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: port 0xd00-0xd0f irq 9 at device 7.3 on pci0 intpm0: I/O mapped d00 intpm0: intr IRQ 9 enabled revision 0 smbus0: on intsmb0 smb0: on smbus0 intpm0: PM I/O mapped f00 pci0: at 8.0 irq 11 pcic0: 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: on pcic0 pcic1: 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: on pcic1 orm0: