cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
mclandytm
WWAN
Posts: 261
Registered: ‎08-26-2009
Location: Virginia, USA
Views: 2,093
Message 1 of 10

Problem on S12 with flood of interrupts from Broadcom wireless-G after Windows resume

I have noticed an excessive amount of CPU activity on my new IdeaPad S12 (Atom version) after resuming Windows from a suspend.  Using Process Explorer from Sysinternals, I see that 30-40% of the CPU (or at least one of the CPU threads) is being used in "Hardware Interrupts".  By process of elimination, by disabling different devices, I have found it to be related to the Broadcom Wireless-G device.  If I shut down, reboot, or even hibernate and resume, the interrupt storm goes away, but it consistently does this after a suspend/resume (which, unfortunately, I tend to do a lot).  Disabling the device drops the CPU utilization, but re-enabling without a power cycle brings back the interrupt storm.  As far as I can tell, the driver is up to date - it shows as version 5.10.38.14.  On the support web site, it shows the latest driver download for the Broadcom wireless as 1.0.0.2 (??).  In any case, running that installer doesn't seem to change anything.  So I'm stumped at this point, assuming it is either a driver problem or maybe a setting problem (in Advanced properties?).   Would appreciate any helpful tips or pointers.

bloodwynd
Punch Card
Posts: 28
Registered: ‎08-01-2009
Location: Manila, Philippines
Views: 2,091
Message 2 of 10

Re: Problem on S12 with flood of interrupts from Broadcom wireless-G after Windows resume

Good assumption...

 

Looks more like a setting problem in advanced tab, but have not yet tried to re-create your problem on my own system.  Once I had done so, and have gotten the solution I will be posting it on the forum.

 

For now, try uninstalling and re-installing the driver and see what happens.

http://techsupportgeeks.com
mclandytm
WWAN
Posts: 261
Registered: ‎08-26-2009
Location: Virginia, USA
Views: 2,041
Message 3 of 10

Re: Problem on S12 with flood of interrupts from Broadcom wireless-G after Windows resume

Thanks for the reply.  I realize I should have tried the uninstall/reinstall of drivers, but the version number on the support site gave me pause.  In any case, I did try it and it did not make any difference.  Based on the evidence, my first guess would be something in the Broadcom chipset that doesn't get properly reset by the driver after a resume, but if that were the case I would expect more people to be seeing this behavior.  I should have mentioned that the interrupt flood seems to continue indefinitely (i.e., it doesn't go away by itself), only a power cycle or reboot seems to clear it up.

mclandytm
WWAN
Posts: 261
Registered: ‎08-26-2009
Location: Virginia, USA
Views: 2,019
Message 4 of 10

Re: Problem on S12 with flood of interrupts from Broadcom wireless-G after Windows resume

One other important point, now that I think of it - the interrupt flood does not seem to affect the functionality of the network interface.  The wireless LAN connects and configures, and works pretty much as normal, other than moderate performance degradation from the interrupt processing in the CPU.  So perhaps the interrupt activity is related to something in the Broadcom wireless chip other than core network transactions - maybe power management, transient errors, etc.?

bloodwynd
Punch Card
Posts: 28
Registered: ‎08-01-2009
Location: Manila, Philippines
Views: 2,002
Message 5 of 10

Re: Problem on S12 with flood of interrupts from Broadcom wireless-G after Windows resume

Thanks for those informations.

 

It seems that it might really be with the Broadcom chipset.  Still trying to duplicate the problem on my end, but it seems that I could not get the same result as yours.  Estimated time, most probably by this coming week I will have a solution for you.  For now, I'd like to to check one more thing.

 

Go to control panel and then programs, and check if there is a program called 'Lenovo ReadyComm', if there is, just uninstall it and then restart the system.  After that reinstall your wireless card driver again, and kindly give me any update as too what happend with the system?

 

Also, is what's your OS?

http://techsupportgeeks.com
mclandytm
WWAN
Posts: 261
Registered: ‎08-26-2009
Location: Virginia, USA
Views: 1,995
Message 6 of 10

Re: Problem on S12 with flood of interrupts from Broadcom wireless-G after Windows resume

Sorry, there is no "Lenovo ReadyComm" program installed.  The OS is Windows XP Home with Service Pack 3 and all the latest Microsoft updates.

 

I've been looking for some utility that can provide some statistics about interrupt usage, but so far I haven't found anything.

Highlighted
mclandytm
WWAN
Posts: 261
Registered: ‎08-26-2009
Location: Virginia, USA
Views: 1,951
Message 7 of 10

Re: Problem on S12 with flood of interrupts from Broadcom wireless-G after Windows resume

As I was looking for examples of how to use tools like kernrate to profile the amount of time spent in various kernel activities, I found a number of discussions of people trying to debug excessive hardware interrupts, as I am.  One well-documented example specifically had to do with the Intel chipset  (in this case, the 965 chipset), and it was eventually cured by an updated Intel driver.  The interrupt activity seemed to be directed toward kernel APIs related to the addition or configuration of devices (i.e., "plug and play"), as opposed to any core device function.  In my case, gIven that all devices seem to be functioning normally, I'm wondering if that is what I'm experiencing, and if a similar fix is available for the 945GME chipset.

mclandytm
WWAN
Posts: 261
Registered: ‎08-26-2009
Location: Virginia, USA
Views: 1,922
Message 8 of 10

Re: Problem on S12 with flood of interrupts from Broadcom wireless-G after Windows resume

Not sure if this will help, but I did get some profiling information from kernrate.  I had to remove some irrelevant parts of the listing so as to not exceed the 20,000 character limit.  You can see how P0 (first processor thread) is being flooded with interrupts, and that something in the HAL is doing an awful lot of reads.  But I haven't figured out how to tell which driver it is.

 

Kernrate User-Specified Command Line:
kernrate -z ntkrnlpa -z hal


Kernel Profile (PID = 0): Source= Time,
Using Kernrate Default Rate of 25000 events/hit
CallBack: Finished Attempt to Load symbols for 804d7000 \WINDOWS\system32\ntkrnl
pa.exe

CallBack: Finished Attempt to Load symbols for 806e4000 \WINDOWS\system32\hal.dl
l

Starting to collect profile data

***> Press ctrl-c to finish collecting profile data
===> Finished Collecting Data, Starting to Process Results

------------Overall Summary:--------------

P0     K 0:00:11.078 (80.7%)  U 0:00:00.375 ( 2.7%)  I 0:00:02.281 (16.6%)  DPC
0:00:00.046 ( 0.3%)  Interrupt 0:00:10.796 (78.6%)
       Interrupts= 948822, Interrupt Rate= 69084/sec.

P1     K 0:00:00.500 ( 3.6%)  U 0:00:00.625 ( 4.6%)  I 0:00:12.609 (91.8%)  DPC
0:00:00.000 ( 0.0%)  Interrupt 0:00:00.000 ( 0.0%)
       Interrupts= 3587, Interrupt Rate= 261/sec.

TOTAL  K 0:00:11.578 (42.2%)  U 0:00:01.000 ( 3.6%)  I 0:00:14.890 (54.2%)  DPC
0:00:00.046 ( 0.2%)  Interrupt 0:00:10.796 (39.3%)
       Total Interrupts= 952409, Total Interrupt Rate= 69345/sec.


Total Profile Time = 13734 msec

                                  Total      Avg. Rate
    Context Switches     ,        57559,         4191/sec.
    System Calls         ,       167427,         12190/sec.
    Page Faults          ,         3011,         219/sec.
    I/O Read Operations  ,           28,         2/sec.
    I/O Write Operations ,          521,         38/sec.
    I/O Other Operations ,         1312,         96/sec.
    I/O Read Bytes       ,          336,         12/ I/O
    I/O Write Bytes      ,       239128,         459/ I/O
    I/O Other Bytes      ,       119318,         91/ I/O

-----------------------------

Results for Kernel Mode:
-----------------------------

OutputResults: KernelModuleCount = 130
Percentage in the following table is based on the Total Hits for the Kernel

Time   5111 hits, 25000 events per hit --------
 Module                                Hits   msec  %Total  Events/Sec
ntkrnlpa                               3874      13734    75 %     7051842
hal                                     834      13734    16 %     1518130
intelppm                                210      13734     4 %      382262
win32k                                   52      13734     1 %       94655
iaStor                                   41      13734     0 %       74632
cmdguard                                 26      13734     0 %       47327
usbuhci                                  24      13734     0 %       43687
USBPORT                                  18      13734     0 %       32765
spya                                     15      13734     0 %       27304
bcmwl5                                    5      13734     0 %        9101
fltmgr                                    3      13734     0 %        5460
igxpgd32                                  2      13734     0 %        3640
NDIS                                      2      13734     0 %        3640
igxpdv32                                  1      13734     0 %        1820
tcpip                                     1      13734     0 %        1820
lpx                                       1      13734     0 %        1820
Ntfs                                      1      13734     0 %        1820
SCSIPORT                                  1      13734     0 %        1820

===> Processing Zoomed Module hal.dll...


----- Zoomed module hal.dll (Bucket size = 16 bytes, Rounding Down) --------
Percentage in the following table is based on the Total Hits for this Zoom Modul
e

Time   834 hits, 25000 events per hit --------
 Module                                Hits   msec  %Total  Events/Sec
READ_PORT_ULONG                         498      13734    35 %      906509
READ_PORT_USHORT                        498      13734    35 %      906509
HalpQueryPerformanceCounter             153      13734    10 %      278505
HalBeginSystemInterrupt                  98      13734     7 %      178389
HalpGetCmosCenturyByte                   29      13734     2 %       52788
HalpReleaseSystemHardwareSpinLock         29      13734     2 %       52788
KfLowerIrql                              18      13734     1 %       32765

*** Removed rest of listing


===> Processing Zoomed Module ntkrnlpa.exe...


----- Zoomed module ntkrnlpa.exe (Bucket size = 16 bytes, Rounding Down) -------
-
Percentage in the following table is based on the Total Hits for this Zoom Modul
e

Time   3874 hits, 25000 events per hit --------
 Module                                Hits   msec  %Total  Events/Sec
KdDebuggerDataBlock                    2357      13734    60 %     4290447
RtlIpv6StringToAddressA                1286      13734    33 %     2340905
ExAllocatePoolWithTag                    33      13734     0 %       60069
RtlFindSetBits                           16      13734     0 %       29124
KiInterruptTemplate                      15      13734     0 %       27304
PopVerifySystemPowerState                11      13734     0 %       20023
*** Removed rest of listing

================================= END OF RUN ==================================
============================== NORMAL END OF RUN ==============================

bloodwynd
Punch Card
Posts: 28
Registered: ‎08-01-2009
Location: Manila, Philippines
Views: 1,866
Message 9 of 10

Re: Problem on S12 with flood of interrupts from Broadcom wireless-G after Windows resume

Still unable to replicate the problem on my own system.  But from the looks of it, it could be either a software or hardware problem.

 

Try updating the drivers.  Download all updated drivers from the website of the manufacturer of the device and not from the lenovo website.  Also, there might be a slim chance that the OS is corrupted.  You could also try to reload everything back to factory default.

 

Lastly, there also might be a very slim chance that it is a hardware problem.  Either the motherboard or the CPU is defective.

 

If you ever get a chance to find a resolution to the problem before I could, kindly post it on the forum for future reference.  Thanks!

http://techsupportgeeks.com
mclandytm
WWAN
Posts: 261
Registered: ‎08-26-2009
Location: Virginia, USA
Views: 884
Message 10 of 10

Re: Problem on S12 with flood of interrupts from Broadcom wireless-G after Windows resume

Well, almost a year later I have figured out that the problem is not related to the Broadcom Wifi chip. In preparing to send my S12 in for service, one of the things I did was remove the BIOS master/power-on passwords and the hard disk password. I didn't realize it at the time, but this was the reason that my system interrupt problem on resume from standby suddenly went away. But after receiving my S12 back, I again set the hard disk password, and the problem returned. So, at least on my system, setting the hard disk password not only causes this issue of a flood of system interrupts when resuming from standby, but also causes intermittent problems with the hard disk resetting several times while trying to power on (often it will finally start, and be fine after that, but sometimes I need to recycle the power). If I clear the hard disk password, both of those problems go away. So now I don't know if I still have a system-unique hardware problem, or if there is something going on with the BIOS and the hard disk when the password is set. Can anyone else recreate this?

Check out current deals!


Shop current deals

Top Kudoed Authors