* Double/Tripple lan0 entries in /proc/interrupts
@ 2006-05-23 22:45 Andreas Saur
0 siblings, 0 replies; 3+ messages in thread
From: Andreas Saur @ 2006-05-23 22:45 UTC (permalink / raw)
To: linux-acpi
Hello All,
after getting kernel panics with the mm-patches, I've just patched the
kernel 2.6.17-rc4 only with the latest appropriate git-acpi patch.
Question #1: Is this a valid option, to patch the kernel like that? (If
YES -> Next Question)
Question #2: Is it bad to have two lan0 entries after a fresh boot in
/proc/interrupts, although there is just only one NIC in my system?
Question #3: After suspend (S3) and wake up the system via PowerButton,
I have three lan0 in /proc/interrupts. Is this even worse?
Question #4: Could this be an indicator for having problems with
resuming from S3 via WOL (magic packet)?
With one older kernel (2.6.17-rc1) I've found a constellation where I at
least could WOL the system from S3 up to three times, the forth time it
died. The same kernel-config doesn't work here at all.
Regards,
Andreas.
###### BEFORE S3###(have a look at lan0#)############
CPU0
0: 131157 IO-APIC-edge timer
1: 93 IO-APIC-edge i8042
8: 4 IO-APIC-edge rtc
9: 0 IO-APIC-level acpi
12: 3868 IO-APIC-edge i8042
14: 14283 IO-APIC-edge ide0
16: 49265 IO-APIC-level ohci_hcd:usb1, lan0, lan0
17: 3680 IO-APIC-level ohci_hcd:usb2, NVidia nForce2
18: 0 IO-APIC-level ehci_hcd:usb3
19: 284529 IO-APIC-level saa7146 (0)
20: 36053 IO-APIC-level nvidia
NMI: 0
LOC: 130928
ERR: 0
MIS: 0
####### AFTER RESUME FROM S3 VIA POWERBUTTON ########
CPU0
0: 359990 IO-APIC-edge timer
1: 3029 IO-APIC-edge i8042
8: 4 IO-APIC-edge rtc
9: 0 IO-APIC-level acpi
12: 19715 IO-APIC-edge i8042
14: 18292 IO-APIC-edge ide0
16: 140356 IO-APIC-level lan0, lan0, lan0, ohci_hcd:usb2
17: 3680 IO-APIC-level ohci_hcd:usb3, NVidia nForce2
18: 1 IO-APIC-level ehci_hcd:usb1
20: 105779 IO-APIC-level nvidia
NMI: 0
LOC: 359315
ERR: 0
MIS: 0
###### lspci ##########
0000:00:00.0 Host bridge: nVidia Corporation nForce2 AGP (different
version?) (rev c1)
0000:00:00.1 RAM memory: nVidia Corporation nForce2 Memory Controller 1
(rev c1)
0000:00:00.2 RAM memory: nVidia Corporation nForce2 Memory Controller 4
(rev c1)
0000:00:00.3 RAM memory: nVidia Corporation nForce2 Memory Controller 3
(rev c1)
0000:00:00.4 RAM memory: nVidia Corporation nForce2 Memory Controller 2
(rev c1)
0000:00:00.5 RAM memory: nVidia Corporation nForce2 Memory Controller 5
(rev c1)
0000:00:01.0 ISA bridge: nVidia Corporation nForce2 ISA Bridge (rev a4)
0000:00:01.1 SMBus: nVidia Corporation nForce2 SMBus (MCP) (rev a2)
0000:00:02.0 USB Controller: nVidia Corporation nForce2 USB Controller
(rev a4)
0000:00:02.1 USB Controller: nVidia Corporation nForce2 USB Controller
(rev a4)
0000:00:02.2 USB Controller: nVidia Corporation nForce2 USB Controller
(rev a4)
0000:00:04.0 Ethernet controller: nVidia Corporation nForce2 Ethernet
Controller (rev a1)
0000:00:06.0 Multimedia audio controller: nVidia Corporation nForce2
AC97 Audio Controler (MCP) (rev a1)
0000:00:08.0 PCI bridge: nVidia Corporation nForce2 External PCI Bridge
(rev a3)
0000:00:09.0 IDE interface: nVidia Corporation nForce2 IDE (rev a2)
0000:00:1e.0 PCI bridge: nVidia Corporation nForce2 AGP (rev c1)
0000:01:08.0 Multimedia controller: Philips Semiconductors SAA7146 (rev 01)
0000:02:00.0 VGA compatible controller: nVidia Corporation NV34 [GeForce
FX 5200] (rev a1)
####### ver_linux on a DEBIAN SID#########
Gnu C 4.0.4
Gnu make 3.81rc1
util-linux 2.12r
mount 2.12r
modutils 3.2.2
e2fsprogs 1.39-WIP
jfsutils 1.1.8
xfsprogs 2.7.14
quota-tools 3.13.
PPP 2.4.4b1
isdn4k-utils 3.8
Linux C Library 2.3.6
Dynamic linker (ldd) 2.3.6
Procps 3.2.6
Net-tools 1.60
Console-tools 0.2.3
Sh-utils 5.94
Modules Loaded b2c2_flexcop_pci b2c2_flexcop mt352 mt312 bcm3510
nxt200x dvb_pll lgdt330x dvb_ttpci l64781 saa7146_vv video_buf saa7146
v4l1_compat v4l2_common videodev ves1820 tda8083 sp8870 ves1x93
ttpci_eeprom snd_intel8x0 snd_ac97_codec snd_ac97_bus snd_pcm_oss
snd_mixer_oss snd_pcm snd_timer snd soundcore snd_page_alloc sd_mod
ohci_hcd ehci_hcd usb_storage scsi_mod libusual usbhid usbcore stv0299
dvb_core stv0297 firmware_class nvidia cpufreq_nforce2 forcedeth rtc
more precise specs about my system: http://as68.homeip.net/2.6.17-rc4-mm2/
^ permalink raw reply [flat|nested] 3+ messages in thread
* RE: Double/Tripple lan0 entries in /proc/interrupts
@ 2006-05-24 4:57 Brown, Len
2006-05-24 23:52 ` Andreas Saur
0 siblings, 1 reply; 3+ messages in thread
From: Brown, Len @ 2006-05-24 4:57 UTC (permalink / raw)
To: Andreas Saur, linux-acpi
>after getting kernel panics with the mm-patches, I've just patched the
>kernel 2.6.17-rc4 only with the latest appropriate git-acpi patch.
>Question #1: Is this a valid option, to patch the kernel like
>that? (If >YES -> Next Question)
Yes. the latest acpi patch is against Linus' tree.
eg.
http://ftp.kernel.org/pub/linux/kernel/people/lenb/acpi/patches/test/2.6
.17/acpi-test-20060310-2.6.17-rc4.diff.bz2
>Question #2: Is it bad to have two lan0 entries after a fresh boot in
>/proc/interrupts, although there is just only one NIC in my system?
bad NIC, no packet for you.
>Question #3: After suspend (S3) and wake up the system via
>PowerButton,
>I have three lan0 in /proc/interrupts. Is this even worse?
bad bad NIC...
>Question #4: Could this be an indicator for having problems with
>resuming from S3 via WOL (magic packet)?
I doubt it, since something is very broken immediately after the fresh
boot.
>With one older kernel (2.6.17-rc1) I've found a constellation
>where I at
>least could WOL the system from S3 up to three times, the
>forth time it
>died. The same kernel-config doesn't work here at all.
So this multiple lan0 thing goes away when you boot 2.6.17-rc4
without the acpi patch?
if you rmmod the driver, and the modprobe it again
does it add an additional entry to /proc/interrupts?
thanks,
-Len
>###### BEFORE S3###(have a look at lan0#)############
> 16: 49265 IO-APIC-level ohci_hcd:usb1, lan0, lan0
>####### AFTER RESUME FROM S3 VIA POWERBUTTON ########
> CPU0
> 16: 140356 IO-APIC-level lan0, lan0, lan0, ohci_hcd:usb2
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Double/Tripple lan0 entries in /proc/interrupts
2006-05-24 4:57 Brown, Len
@ 2006-05-24 23:52 ` Andreas Saur
0 siblings, 0 replies; 3+ messages in thread
From: Andreas Saur @ 2006-05-24 23:52 UTC (permalink / raw)
To: linux-acpi, len.brown
Hello Len,
1) Double lan0 entry persists, no matter if your patch (see your link)
is applied or not. I guess, the following is categorized for you now as
'not my job anymore', but just for your entertainment, lay back and enjoy:
2) After fresh boot there are still two lan0 entries (w/o your patch)
-->
http://as68.homeip.net/kernel/2.6.17-rc4-len2/interrupts-fresh-boot-2.6.17-rc4-len2
3) After suspend(S3) and resume by KeyBoard there are three lan0 entries
-->
http://as68.homeip.net/kernel/2.6.17-rc4-len2/interrupts-after-S3-KBD-2.6.17-rc4-len2
4) After your suggested rmmod, the lan0 entries are replaced now by a
bunch of random characters.
-->
http://as68.homeip.net/kernel/2.6.17-rc4-len2/interrupts-after-rmmod_forcedeth-2.6.17-rc4-len2
5) Doing a insmod and a '/etc/init.d/networking restart' provokes a
kernel panic. Btw.: insmoding does not trigger a dmesg output.
--> http://as68.homeip.net/kernel/2.6.17-rc4-len2/2006-05-24-221108.jpg
6) If I leave out step 5, reloading the module is possible, this leads
to four lan0 entries in /proc/interrupts. But hey, guys, I don't really
need that much ;-)
Len, You were completely right: 'Bad bad NIC' ;-) Thanks anyway!
Regards,
Andreas
-------------------------------------------
SUMMERY (alway the same .config)
2.6.17-rc1 --> always resuming(S3) w/o USB in BIOS using WOL, with USB
three times, forth time dead.
2.6.17-rc3 --> resumes from S3 only with KeyBoard or PowerButton. WOL
not working. Interrupt entries for lan0 are OK.
2.6.17-rc4 --> resumes from S3 only with KeyBoard or PowerButton and
this only once. WOL not working. Interrupt entries for lan0 are messed up.
Since 2.6.17-rc2 all mm-patches are causing kernel panics. Standalone
ACPI-patches does not have any effects (OK, why should they, seems
something else is broken).
I have the massive feeling something is developing not quite the way it
should.
-------------------------------------------
Brown, Len schrieb:
>>after getting kernel panics with the mm-patches, I've just patched the
>>kernel 2.6.17-rc4 only with the latest appropriate git-acpi patch.
>>Question #1: Is this a valid option, to patch the kernel like
>>that? (If >YES -> Next Question)
>>
>>
>
>Yes. the latest acpi patch is against Linus' tree.
>eg.
>http://ftp.kernel.org/pub/linux/kernel/people/lenb/acpi/patches/test/2.6
>.17/acpi-test-20060310-2.6.17-rc4.diff.bz2
>
>
>
>>Question #2: Is it bad to have two lan0 entries after a fresh boot in
>>/proc/interrupts, although there is just only one NIC in my system?
>>
>>
>
>bad NIC, no packet for you.
>
>
>
>>Question #3: After suspend (S3) and wake up the system via
>>PowerButton,
>>I have three lan0 in /proc/interrupts. Is this even worse?
>>
>>
>
>bad bad NIC...
>
>
>
>>Question #4: Could this be an indicator for having problems with
>>resuming from S3 via WOL (magic packet)?
>>
>>
>
>I doubt it, since something is very broken immediately after the fresh
>boot.
>
>
>
>>With one older kernel (2.6.17-rc1) I've found a constellation
>>where I at
>>least could WOL the system from S3 up to three times, the
>>forth time it
>>died. The same kernel-config doesn't work here at all.
>>
>>
>
>So this multiple lan0 thing goes away when you boot 2.6.17-rc4
>without the acpi patch?
>
>if you rmmod the driver, and the modprobe it again
>does it add an additional entry to /proc/interrupts?
>
>thanks,
>-Len
>
>
>
>
>>###### BEFORE S3###(have a look at lan0#)############
>>
>>
>
>
>
>>16: 49265 IO-APIC-level ohci_hcd:usb1, lan0, lan0
>>
>>
>
>
>
>>####### AFTER RESUME FROM S3 VIA POWERBUTTON ########
>> CPU0
>>16: 140356 IO-APIC-level lan0, lan0, lan0, ohci_hcd:usb2
>>
>>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2006-05-24 23:52 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-05-23 22:45 Double/Tripple lan0 entries in /proc/interrupts Andreas Saur
-- strict thread matches above, loose matches on Subject: below --
2006-05-24 4:57 Brown, Len
2006-05-24 23:52 ` Andreas Saur
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).