Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 05 Jun 2004 01:00:11 +0200
From:      Andreas Moeller <andreas-moeller@gmx.net>
To:        John Baldwin <jhb@FreeBSD.org>
Cc:        current@FreeBSD.org
Subject:   Re: fxp(4) device timeouts ACPI related?
Message-ID:  <40C0FEFB.8050605@gmx.net>
In-Reply-To: <200406041521.34813.jhb@FreeBSD.org>
References:  <40BF38B4.6090208@gmx.net> <200406041101.15208.jhb@FreeBSD.org> <40C0B150.1030702@gmx.net> <200406041521.34813.jhb@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR>
   AMD Features=0xc0440000<RSVD,AMIE,DSP,3DNow!>
 real memory  = 805240832 (767 MB)
-avail memory = 778190848 (742 MB)
+avail memory = 778256384 (742 MB)
 random: <entropy source, Software, Yarrow>
 Pentium Pro MTRR support enabled
 npx0: [FAST]
@@ -31,22 +31,22 @@
 acpi_button1: <Sleep Button> on acpi0
 pcib0: <ACPI Host-PCI bridge> port 0x6000-0x607f,0x5000-0x500f,0x4080-0x40ff,0x4000-0x407f,0xcf8-0xcff on acpi0
 pci0: <ACPI PCI bus> 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: <VIA 82C8363 (Apollo KT133A) host to PCI bridge> mem 0xd0000000-0xd7ffffff at device 0.0 on pci0
 pcib1: <PCI-PCI bridge> at device 1.0 on pci0
 pci1: <PCI bus> 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: <display, VGA> at device 0.0 (no driver attached)
 isab0: <PCI-ISA bridge> at device 7.0 on pci0
 isa0: <ISA bus> on isab0
 atapci0: <VIA 82C686B UDMA100 controller> 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: <VIA 83C572 USB controller> port 0xd400-0xd41f irq 10 at device 7.2 on pci0
+uhci0: <VIA 83C572 USB controller> port 0xd400-0xd41f irq 11 at device 7.2 on pci0
 uhci0: [GIANT-LOCKED]
 usb0: <VIA 83C572 USB controller> 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: <VIA 83C572 USB controller> port 0xd800-0xd81f irq 10 at device 7.3 on pci0
+uhci1: <VIA 83C572 USB controller> port 0xd800-0xd81f irq 11 at device 7.3 on pci0
 uhci1: [GIANT-LOCKED]
 usb1: <VIA 83C572 USB controller> 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: <Intel 82550 Pro/100 Ethernet> port 0xdc00-0xdc3f mem 0xe3000000-0xe301ffff,0xe3020000-0xe3020fff irq 11 at device 10.0 on pci0
+fxp0: <Intel 82550 Pro/100 Ethernet> port 0xdc00-0xdc3f mem 0xe3000000-0xe301ffff,0xe3020000-0xe3020fff irq 5 at device 10.0 on pci0
 miibus0: <MII bus> on fxp0
 inphy0: <i82555 10/100 media interface> on miibus0
 inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
 fxp0: Ethernet address: 00:02:b3:4c:9c:32
 fxp0: [GIANT-LOCKED]
-pcm0: <Creative EMU10K1> port 0xe000-0xe01f irq 11 at device 14.0 on pci0
+pcm0: <Creative EMU10K1> port 0xe000-0xe01f irq 5 at device 14.0 on pci0
 pcm0: <TriTech TR28023 AC97 Codec>
 pcm0: [GIANT-LOCKED]
 fdc0: <Enhanced floppy controller (i82077, NE72065 or clone)> port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0
@@ -101,9 +101,10 @@
 sc0: <System console> at flags 0x100 on isa0
 sc0: VGA <16 virtual consoles, flags=0x300>
 vga0: <Generic ISA VGA> 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 <IC35L060AVV207-0> [119150/16/63] at ata0-master UDMA100
 acd0: DVDROM <TOSHIBA DVD-ROM SD-M1612> at ata1-master PIO4
 acd1: CDRW <CR-48XATE> at ata1-slave PIO4
 Mounting root from ufs:/dev/ad0s1a
+fxp0: device timeout

--------------060102030308020002050100--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?40C0FEFB.8050605>