lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Sat, 8 Mar 2008 18:13:55 +0200
From:	Tuomas Jormola <tj@...itudo.net>
To:	Jarek Poplawski <jarkao2@...il.com>
Cc:	netdev@...r.kernel.org
Subject: Re: PROBLEM: A set of networking related oopses


On 8 Mar 2008, at 11:53, Jarek Poplawski wrote:

> Tuomas Jormola wrote, On 03/06/2008 08:05 PM:
>
>> Hello,
>
> Hi,
>
>> [1.] One line summary of the problem:
>> My gateway machine is suffering from kernel oopses that don't kill  
>> the
>> machine, but do occur every now and then
>
> Do you have irq balancing enabled for your eths (are eth interrupts  
> shown
> for more than one cpu in /proc/interrupts)? If so, try to disable  
> this.
>
> This link could be helpful:
>
> http://marc.info/?l=linux-netdev&m=120349568512423&w=2
Thanks for the tip. Currently, I have

(18:08:32)(tj@...kti)(~)$ cat /proc/interrupts
            CPU0       CPU1
   0:        334        190   IO-APIC-edge      timer
   1:          5          6   IO-APIC-edge      i8042
   8:          3          4   IO-APIC-edge      rtc
   9:          0          0   IO-APIC-fasteoi   acpi
  12:          3          1   IO-APIC-edge      i8042
  16:        223        207   IO-APIC-fasteoi   uhci_hcd:usb3,  
ehci_hcd:usb7, libata
  18:     875645     873991   IO-APIC-fasteoi   uhci_hcd:usb1,  
uhci_hcd:usb6, eth0
  19:          2          1   IO-APIC-fasteoi   uhci_hcd:usb5, ohci1394
  20:          0          0   IO-APIC-fasteoi   uhci_hcd:usb2
  21:          0          0   IO-APIC-fasteoi   uhci_hcd:usb4,  
ehci_hcd:usb8
  22:          4          3   IO-APIC-fasteoi   heci
217:     498561     498427   PCI-MSI-edge      eth1
218:   88587922   88715380   PCI-MSI-edge      ahci
NMI:          0          0   Non-maskable interrupts
LOC:   12081665   11441729   Local timer interrupts
RES:    1372553    1227633   Rescheduling interrupts
CAL:     513863     442462   function call interrupts
TLB:      44149      48844   TLB shootdowns
TRM:          0          0   Thermal event interrupts
SPU:          0          0   Spurious interrupts
ERR:          0
MIS:          0

So I would be able to bind eth0 to CPU0 by running

echo 1 > /proc/irq/18/smp_affinity

right? http://www.cs.uwaterloo.ca/~brecht/servers/apic/SMP- 
affinity.txt says that smp affinity only works for drivers that  
support IO-APIC. The eth1 card is an old Intel card, and looks like it  
doesn't support this. I guess I'll replace the card with a newer one.

-- 
Tuomas Jormola <tj@...itudo.net>
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ