From owner-freebsd-current@FreeBSD.ORG Fri Jun 4 16:00:48 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2262416A55A for ; Fri, 4 Jun 2004 16:00:48 -0700 (PDT) Received: from mail.gmx.net (imap.gmx.net [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 44F2143D55 for ; Fri, 4 Jun 2004 16:00:47 -0700 (PDT) (envelope-from andreas-moeller@gmx.net) Received: (qmail 14503 invoked by uid 65534); 4 Jun 2004 23:00:14 -0000 Received: from pD95205F0.dip.t-dialin.net (EHLO gmx.net) (217.82.5.240) by mail.gmx.net (mp007) with SMTP; 05 Jun 2004 01:00:14 +0200 X-Authenticated: #1940550 Message-ID: <40C0FEFB.8050605@gmx.net> Date: Sat, 05 Jun 2004 01:00:11 +0200 From: Andreas Moeller User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; de-AT; rv:1.6) Gecko/20040603 X-Accept-Language: de-at, de, en-us, en MIME-Version: 1.0 To: John Baldwin References: <40BF38B4.6090208@gmx.net> <200406041101.15208.jhb@FreeBSD.org> <40C0B150.1030702@gmx.net> <200406041521.34813.jhb@FreeBSD.org> In-Reply-To: <200406041521.34813.jhb@FreeBSD.org> Content-Type: multipart/mixed; boundary="------------060102030308020002050100" X-Mailman-Approved-At: Sat, 05 Jun 2004 04:40:05 -0700 cc: current@FreeBSD.org Subject: Re: fxp(4) device timeouts ACPI related? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Jun 2004 23:00:48 -0000 This is a multi-part message in MIME format. --------------060102030308020002050100 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit >>>>The ACPI updates predating last weekend seem to have broken my fxp(4) >>>>card (Intel PRO/100 S, Intel 82550 chip). Without disabling ACPI at the >>>>loader prompt (set hint.acpi.0.disabled=1) I get the consecutive message >>>>of the device timing out and network is unusable. >>>> >>>>Perhaps this is useful information for everybody desiring to workaround >>>>the problem or even some developer to have a closer look at it. If a >>>>more detailed description of my setup is needed, just let me know. >>> >>>Can you get before and after dmesg's and post a diff? >> >>Of course. diff is attached, the kernel is an unmodified GENERIC. > > > Looks like !ACPI gives IRQ 11 to everyone and ACPI gives some devices IRQ 5 > and some IRQ 11. Can you get a dmesg from the older kernel with ACPI enabled > and generate a diff of that dmesg against the current kernel with ACPI? Attached. I had to get some older sources and build the kernel since I didn't keep an old enough kernel around. The sources used date to May 28th, 2:50am (UTC) and network works with ACPI enabled. I'm by no means an expert but I don't see any new insight revealed by the diff between those two dmesgs. --------------060102030308020002050100 Content-Type: text/plain; name="dmesg_acpi.diff" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="dmesg_acpi.diff" --- dmesg.oldacpi Sat Jun 5 00:46:50 2004 +++ dmesg.acpi Fri Jun 4 19:20:30 2004 @@ -1,20 +1,20 @@ Copyright (c) 1992-2004 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 5.2-CURRENT #1: Sat Jun 5 00:41:50 CEST 2004 +FreeBSD 5.2-CURRENT #0: Wed Jun 2 20:43:56 CEST 2004 root@beta:/usr/obj/usr/src/sys/GENERIC WARNING: WITNESS option enabled, expect reduced performance. -Preloaded elf kernel "/boot/kernel/kernel" at 0xc0ac9000. -Preloaded elf module "/boot/kernel/snd_emu10k1.ko" at 0xc0ac91f4. -Preloaded elf module "/boot/kernel/snd_pcm.ko" at 0xc0ac92a4. -Preloaded elf module "/boot/kernel/acpi.ko" at 0xc0ac9350. +Preloaded elf kernel "/boot/kernel/kernel" at 0xc0aca000. +Preloaded elf module "/boot/kernel/snd_emu10k1.ko" at 0xc0aca1f4. +Preloaded elf module "/boot/kernel/snd_pcm.ko" at 0xc0aca2a4. +Preloaded elf module "/boot/kernel/acpi.ko" at 0xc0aca350. Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: AMD Athlon(tm) processor (1195.22-MHz 686-class CPU) Origin = "AuthenticAMD" Id = 0x642 Stepping = 2 Features=0x183f9ff AMD Features=0xc0440000 real memory = 805240832 (767 MB) -avail memory = 778190848 (742 MB) +avail memory = 778256384 (742 MB) random: Pentium Pro MTRR support enabled npx0: [FAST] @@ -31,22 +31,22 @@ acpi_button1: on acpi0 pcib0: port 0x6000-0x607f,0x5000-0x500f,0x4080-0x40ff,0x4000-0x407f,0xcf8-0xcff on acpi0 pci0: on pcib0 -pcib0: slot 7 INTD is routed to irq 10 -pcib0: slot 7 INTD is routed to irq 10 -pcib0: slot 10 INTA is routed to irq 11 -pcib0: slot 14 INTA is routed to irq 11 +pcib0: slot 7 INTD is routed to irq 11 +pcib0: slot 7 INTD is routed to irq 11 +pcib0: slot 10 INTA is routed to irq 5 +pcib0: slot 14 INTA is routed to irq 5 agp0: mem 0xd0000000-0xd7ffffff at device 0.0 on pci0 pcib1: at device 1.0 on pci0 pci1: on pcib1 -pcib0: slot 1 INTA is routed to irq 10 -pcib1: slot 0 INTA is routed to irq 10 +pcib0: slot 1 INTA is routed to irq 11 +pcib1: slot 0 INTA is routed to irq 11 pci1: at device 0.0 (no driver attached) isab0: at device 7.0 on pci0 isa0: on isab0 atapci0: port 0xd000-0xd00f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 7.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 -uhci0: port 0xd400-0xd41f irq 10 at device 7.2 on pci0 +uhci0: port 0xd400-0xd41f irq 11 at device 7.2 on pci0 uhci0: [GIANT-LOCKED] usb0: on uhci0 usb0: USB revision 1.0 @@ -56,7 +56,7 @@ uhub0: port error, giving up port 1 uhub0: port error, restarting port 2 uhub0: port error, giving up port 2 -uhci1: port 0xd800-0xd81f irq 10 at device 7.3 on pci0 +uhci1: port 0xd800-0xd81f irq 11 at device 7.3 on pci0 uhci1: [GIANT-LOCKED] usb1: on uhci1 usb1: USB revision 1.0 @@ -66,13 +66,13 @@ uhub1: port error, giving up port 1 uhub1: port error, restarting port 2 uhub1: port error, giving up port 2 -fxp0: port 0xdc00-0xdc3f mem 0xe3000000-0xe301ffff,0xe3020000-0xe3020fff irq 11 at device 10.0 on pci0 +fxp0: port 0xdc00-0xdc3f mem 0xe3000000-0xe301ffff,0xe3020000-0xe3020fff irq 5 at device 10.0 on pci0 miibus0: on fxp0 inphy0: on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto fxp0: Ethernet address: 00:02:b3:4c:9c:32 fxp0: [GIANT-LOCKED] -pcm0: port 0xe000-0xe01f irq 11 at device 14.0 on pci0 +pcm0: port 0xe000-0xe01f irq 5 at device 14.0 on pci0 pcm0: pcm0: [GIANT-LOCKED] fdc0: port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0 @@ -101,9 +101,10 @@ sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 -Timecounter "TSC" frequency 1195217105 Hz quality 800 +Timecounter "TSC" frequency 1195217519 Hz quality 800 Timecounters tick every 10.000 msec ad0: 58644MB [119150/16/63] at ata0-master UDMA100 acd0: DVDROM at ata1-master PIO4 acd1: CDRW at ata1-slave PIO4 Mounting root from ufs:/dev/ad0s1a +fxp0: device timeout --------------060102030308020002050100--