From owner-freebsd-mobile@FreeBSD.ORG Tue Feb 8 11:32:40 2005 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8DABE16A4CE for ; Tue, 8 Feb 2005 11:32:40 +0000 (GMT) Received: from diamond.34sp.com (diamond.34sp.com [195.50.105.81]) by mx1.FreeBSD.org (Postfix) with ESMTP id B740143D1D for ; Tue, 8 Feb 2005 11:32:39 +0000 (GMT) (envelope-from list@understudy.net) Received: (qmail 42500 invoked from network); 8 Feb 2005 11:32:37 -0000 Received: from unknown (HELO ?192.168.248.110?) (12.30.18.67) by mcp.34sp.com with SMTP; 8 Feb 2005 11:32:36 -0000 Message-ID: <4208A418.6060809@understudy.net> Date: Tue, 08 Feb 2005 06:35:52 -0500 From: Understudy User-Agent: Mozilla/5.0 (Windows; U; Win 9x 4.90; en-US; rv:1.7.5) Gecko/20041217 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-mobile@freebsd.org References: <200502080445.j184jfQf059302@drugs.dv.isc.org> In-Reply-To: <200502080445.j184jfQf059302@drugs.dv.isc.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: Thinkpad 600e interrupt storm X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Feb 2005 11:32:40 -0000 Mark Andrews wrote: >>Mark Andrews wrote: >> >> >> >>>>Thomas Kempka wrote: >>>> >>>> >>>> >>>> >>>> >>>>>John Baldwin wrote: >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>>>Can you try using the interrupt storm modifications from HEAD: >>>>>> >>>>>>Index: kern_intr.c >>>>>>=================================================================== >>>>>>RCS file: /usr/cvs/src/sys/kern/kern_intr.c,v >>>>>>retrieving revision 1.113.2.5 >>>>>>diff -u -r1.113.2.5 kern_intr.c >>>>>>--- kern_intr.c 31 Jan 2005 23:26:15 -0000 1.113.2.5 >>>>>>+++ kern_intr.c 7 Feb 2005 16:51:48 -0000 >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>Hi, >>>>> >>>>>I just tested the patch with no success. I still get the interrupt >>>>>storm error messages and cbb device slowdowns. >>>>> >>>>>Interrupt storm detected on "irq11: cbb0 uhci0"; >>>>> throttling interrupt source >>>>>Interrupt storm detected on "irq10: cbb1"; >>>>> throttling interrupt source >>>>>Interrupt storm detected on "irq9: acpi0"; >>>>> throttling interrupt source >>>>> >>>>> >>>>>Thanks for the notification about the changed handling in HEAD. >>>>> >>>>>Greetings, Thomas Kempka >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>Hi , >>>>I tried to install the patch and maybe I missed something. >>>>I copied the information to a file named patch >>>>then I did >>>>cd /usr/src >>>>patch < /root/patch >>>>result was odd: >>>>Hmmm... Looks like a unified diff to me... >>>>The text leading up to this was: >>>>-------------------------------- >>>>|Index: kern_intr.c >>>>|= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = >>>>|RCS file: /usr/cvs/src/sys/kern/kern_intr.c,v >>>>|retrieving revision 1.113.2.5 >>>>|diff -u -r1.113.2.5 kern_intr.c >>>>|--- kern_intr.c 31 Jan 2005 23:26:15 -0000 1.113.2.5 >>>>|--- kern_intr.c 31 Jan 2005 23:26:15 -0000 1.113.2.5 >>>>File to patch: >>>> >>>>Now what file do I want to patch or did I do something wrong? >>>> >>>> >>>> >>>> >>> Did you bother to read what you quoted? The answer is sitting >>> there. >>> >>> You could cd to "/usr/src/sys/kern" before applying the patch. >>> Or you could have just cut-and-pasted "sys/kern/kern_intr.c". >>> >>> >>> >>> >>> >>Ahhh, >> >>I was reading based on applying patches from the FreeBSD site which just >>mentioned doing cd to /usr/src I will try it the way you point out. >> >> > > The official patches are usually relative to /usr/src. > > Adhoc patches are often just done in the directory where the > file lives. If there are multiple directories involved it > is more likely to be relative to /usr/src but not always. > > In either case, if they are made using cvs, you should be able > to work out the files involved by looking at text that preceeds > the patch. > > Mark > > >>Sincerely, >>Brendhan >>_______________________________________________ >> >> I did the patch last night thanks for the help on that. Unfortunatly it hasn't changed anything. Here is dmesg; 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.3-RELEASE #3: Tue Feb 8 00:59:07 EST 2005 root@Slacker.bjh.homenet:/usr/obj/usr/src/sys/SLACKER Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Pentium II/Pentium II Xeon/Celeron (363.96-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x66a Stepping = 10 Features=0x183f9ff real memory = 134021120 (127 MB) avail memory = 121499648 (115 MB) npx0: [FAST] npx0: on motherboard npx0: INT 16 interface acpi0: on motherboard acpi0: Power Button (fixed) acpi_ec0: port 0x66,0x62 on acpi0 Timecounter "ACPI-safe" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0xef08-0xef0b on acpi0 cpu0: on acpi0 acpi_tz0: on acpi0 acpi_tz1: on acpi0 acpi_tz2: on acpi0 acpi_tz3: on acpi0 acpi_lid0: on acpi0 acpi_button0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 agp0: mem 0x40000000-0x43ffffff at device 0.0 on pci0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pci1: at device 0.0 (no driver attached) pcic0: mem 0x50102000-0x50102fff irq 11 at device 2.0 on pci0 pcic0: TI12XX PCI Config Reg: [speaker enable][pwr save][CSC parallel isa irq] pcic0: [GIANT-LOCKED] pccard0: on pcic0 pcic1: mem 0x50101000-0x50101fff irq 10 at device 2.1 on pci0 pcic1: TI12XX PCI Config Reg: [speaker enable][pwr save][CSC parallel isa irq] pcic1: [GIANT-LOCKED] pccard1: on pcic1 pci0: at device 6.0 (no driver attached) isab0: at device 7.0 on pci0 isa0: on isab0 atapci0: port 0xfcf0-0xfcff,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 7.1 on pci0 ata0: channel #0 on atapci0 ata1: channel #1 on atapci0 uhci0: port 0x8400-0x841f irq 11 at device 7.2 on pci0 uhci0: [GIANT-LOCKED] 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 pci0: at device 7.3 (no driver attached) fdc0: port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0 fdc0: [FAST] fd0: <1440-KB 3.5" drive> on fdc0 drive 0 sio0: configured irq 4 not in bitmap of probed irqs 0 sio0: port may not be enabled ppc0: port 0x3bc-0x3bf irq 7 on acpi0 ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode ppbus0: on ppc0 plip0: on ppbus0 lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 sio0: port 0x3f8-0x3ff irq 4 drq 3 flags 0x10 on acpi0 sio0: type 16550A atkbdc0: port 0x64,0x60 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] psm0: irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: model IntelliMouse Explorer, device ID 4 acpi_cmbat0: on acpi0 acpi_acad0: on acpi0 sio1: configured irq 4 not in bitmap of probed irqs 0 sio1: port may not be enabled orm0: at iomem 0xc0000-0xcbfff on isa0 pmtimer0 on isa0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 Timecounter "TSC" frequency 363961236 Hz quality 800 Timecounters tick every 10.000 msec Interrupt storm detected on "irq10: pcic1"; throttling interrupt source acpi_cpu: throttling enabled, 8 steps (100% to 12.5%), currently 100.0% ad0: 11513MB [23392/16/63] at ata0-master UDMA33 acd0: CDROM at ata1-master PIO4 Mounting root from ufs:/dev/ad0s1a 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.3-RELEASE #3: Tue Feb 8 00:59:07 EST 2005 root@Slacker.bjh.homenet:/usr/obj/usr/src/sys/SLACKER Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Pentium II/Pentium II Xeon/Celeron (363.96-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x66a Stepping = 10 Features=0x183f9ff real memory = 134021120 (127 MB) avail memory = 121499648 (115 MB) npx0: [FAST] npx0: on motherboard npx0: INT 16 interface acpi0: on motherboard acpi0: Power Button (fixed) acpi_ec0: port 0x66,0x62 on acpi0 Timecounter "ACPI-safe" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0xef08-0xef0b on acpi0 cpu0: on acpi0 acpi_tz0: on acpi0 acpi_tz1: on acpi0 acpi_tz2: on acpi0 acpi_tz3: on acpi0 acpi_lid0: on acpi0 acpi_button0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 agp0: mem 0x40000000-0x43ffffff at device 0.0 on pci0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pci1: at device 0.0 (no driver attached) pcic0: mem 0x50102000-0x50102fff irq 11 at device 2.0 on pci0 pcic0: TI12XX PCI Config Reg: [speaker enable][pwr save][CSC parallel isa irq] pcic0: [GIANT-LOCKED] pccard0: on pcic0 pcic1: mem 0x50101000-0x50101fff irq 10 at device 2.1 on pci0 pcic1: TI12XX PCI Config Reg: [speaker enable][pwr save][CSC parallel isa irq] pcic1: [GIANT-LOCKED] pccard1: on pcic1 pci0: at device 6.0 (no driver attached) isab0: at device 7.0 on pci0 isa0: on isab0 atapci0: port 0xfcf0-0xfcff,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 7.1 on pci0 ata0: channel #0 on atapci0 ata1: channel #1 on atapci0 uhci0: port 0x8400-0x841f irq 11 at device 7.2 on pci0 uhci0: [GIANT-LOCKED] 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 pci0: at device 7.3 (no driver attached) fdc0: port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0 fdc0: [FAST] fd0: <1440-KB 3.5" drive> on fdc0 drive 0 sio0: configured irq 4 not in bitmap of probed irqs 0 sio0: port may not be enabled ppc0: port 0x3bc-0x3bf irq 7 on acpi0 ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode ppbus0: on ppc0 plip0: on ppbus0 lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 sio0: port 0x3f8-0x3ff irq 4 drq 3 flags 0x10 on acpi0 sio0: type 16550A atkbdc0: port 0x64,0x60 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] psm0: irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: model IntelliMouse Explorer, device ID 4 acpi_cmbat0: on acpi0 acpi_acad0: on acpi0 sio1: configured irq 4 not in bitmap of probed irqs 0 sio1: port may not be enabled orm0: at iomem 0xc0000-0xcbfff on isa0 pmtimer0 on isa0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 Timecounter "TSC" frequency 363962243 Hz quality 800 Timecounters tick every 10.000 msec Interrupt storm detected on "irq10: pcic1"; throttling interrupt source acpi_cpu: throttling enabled, 8 steps (100% to 12.5%), currently 100.0% pccard: card inserted, slot 1 pccard: card removed, slot 1 ad0: 11513MB [23392/16/63] at ata0-master UDMA33 acd0: CDROM at ata1-master PIO4 pccard: card inserted, slot 1 Interrupt storm detected on "irq11: pcic0 uhci0"; throttling interrupt source Mounting root from ufs:/dev/ad0s1a ed1 at port 0x320-0x33f irq 10 slot 1 on pccard1 ed1: [GIANT-LOCKED] ed1: Ethernet address: 00:04:e2:7a:f0:a5 ed1: if_start running deferred for Giant type NE2000 (16 bit) Sincerely, Brendhan