Re: Thinkpad 600e interrupt storm

Understudy <[email protected]>
Newsgroups gmane.os.freebsd.devel.mobile
Message-ID <[email protected]>
Mark Andrews wrote:

>>Mark Andrews wrote:
>>
>>    
>>
>>>>Thomas Kempka wrote:
>>>>
>>>>   
>>>>
>>>>        
>>>>
>>>>>John Baldwin <[email protected]> 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
    [email protected]:/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<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR>
real memory  = 134021120 (127 MB)
avail memory = 121499648 (115 MB)
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <IBM TP600R> on motherboard
acpi0: Power Button (fixed)
acpi_ec0: <Embedded Controller: GPE 0x9, GLK> 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: <ACPI CPU (3 Cx states)> on acpi0
acpi_tz0: <Thermal Zone> on acpi0
acpi_tz1: <Thermal Zone> on acpi0
acpi_tz2: <Thermal Zone> on acpi0
acpi_tz3: <Thermal Zone> on acpi0
acpi_lid0: <Control Method Lid Switch> on acpi0
acpi_button0: <Sleep Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
agp0: <Intel 82443BX (440 BX) host to PCI bridge> mem 
0x40000000-0x43ffffff at device 0.0 on pci0
pcib1: <ACPI PCI-PCI bridge> at device 1.0 on pci0
pci1: <ACPI PCI bus> on pcib1
pci1: <display, VGA> at device 0.0 (no driver attached)
pcic0: <TI PCI-1251 PCI-CardBus Bridge> 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: <PC Card 16-bit bus (classic)> on pcic0
pcic1: <TI PCI-1251 PCI-CardBus Bridge> 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: <PC Card 16-bit bus (classic)> on pcic1
pci0: <multimedia, audio> at device 6.0 (no driver attached)
isab0: <PCI-ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel PIIX4 UDMA33 controller> 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: <Intel 82371AB/EB (PIIX4) USB controller> port 0x8400-0x841f irq 
11 at device 7.2 on pci0
uhci0: [GIANT-LOCKED]
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
pci0: <bridge, PCI-unknown> at device 7.3 (no driver attached)
fdc0: <floppy drive controller (FDE)> 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: <Standard parallel printer port> port 0x3bc-0x3bf irq 7 on acpi0
ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
ppbus0: <Parallel port bus> on ppc0
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
sio0: <Generic IRDA-compatible device> port 0x3f8-0x3ff irq 4 drq 3 
flags 0x10 on acpi0
sio0: type 16550A
atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: model IntelliMouse Explorer, device ID 4
acpi_cmbat0: <Control Method Battery> on acpi0
acpi_acad0: <AC Adapter> on acpi0
sio1: configured irq 4 not in bitmap of probed irqs 0
sio1: port may not be enabled
orm0: <ISA Option ROM> at iomem 0xc0000-0xcbfff on isa0
pmtimer0 on isa0
sc0: <System console> 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: <Generic ISA VGA> 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 <FUJITSU MHK2120AT/D834> [23392/16/63] at ata0-master UDMA33
acd0: CDROM <TOSHIBA CD-ROM XM-1902B/1717> 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
    [email protected]:/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<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR>
real memory  = 134021120 (127 MB)
avail memory = 121499648 (115 MB)
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <IBM TP600R> on motherboard
acpi0: Power Button (fixed)
acpi_ec0: <Embedded Controller: GPE 0x9, GLK> 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: <ACPI CPU (3 Cx states)> on acpi0
acpi_tz0: <Thermal Zone> on acpi0
acpi_tz1: <Thermal Zone> on acpi0
acpi_tz2: <Thermal Zone> on acpi0
acpi_tz3: <Thermal Zone> on acpi0
acpi_lid0: <Control Method Lid Switch> on acpi0
acpi_button0: <Sleep Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
agp0: <Intel 82443BX (440 BX) host to PCI bridge> mem 
0x40000000-0x43ffffff at device 0.0 on pci0
pcib1: <ACPI PCI-PCI bridge> at device 1.0 on pci0
pci1: <ACPI PCI bus> on pcib1
pci1: <display, VGA> at device 0.0 (no driver attached)
pcic0: <TI PCI-1251 PCI-CardBus Bridge> 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: <PC Card 16-bit bus (classic)> on pcic0
pcic1: <TI PCI-1251 PCI-CardBus Bridge> 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: <PC Card 16-bit bus (classic)> on pcic1
pci0: <multimedia, audio> at device 6.0 (no driver attached)
isab0: <PCI-ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel PIIX4 UDMA33 controller> 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: <Intel 82371AB/EB (PIIX4) USB controller> port 0x8400-0x841f irq 
11 at device 7.2 on pci0
uhci0: [GIANT-LOCKED]
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
pci0: <bridge, PCI-unknown> at device 7.3 (no driver attached)
fdc0: <floppy drive controller (FDE)> 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: <Standard parallel printer port> port 0x3bc-0x3bf irq 7 on acpi0
ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
ppbus0: <Parallel port bus> on ppc0
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
sio0: <Generic IRDA-compatible device> port 0x3f8-0x3ff irq 4 drq 3 
flags 0x10 on acpi0
sio0: type 16550A
atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: model IntelliMouse Explorer, device ID 4
acpi_cmbat0: <Control Method Battery> on acpi0
acpi_acad0: <AC Adapter> on acpi0
sio1: configured irq 4 not in bitmap of probed irqs 0
sio1: port may not be enabled
orm0: <ISA Option ROM> at iomem 0xc0000-0xcbfff on isa0
pmtimer0 on isa0
sc0: <System console> 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: <Generic ISA VGA> 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 <FUJITSU MHK2120AT/D834> [23392/16/63] at ata0-master UDMA33
acd0: CDROM <TOSHIBA CD-ROM XM-1902B/1717> 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
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-mobile
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.