* Re: [PATCH] MAINTAINERS: networking drivers - Add git net-next tree
From: David Miller @ 2010-02-09 6:42 UTC (permalink / raw)
To: joe; +Cc: netdev, linux-kernel, akpm, maximlevitsky
In-Reply-To: <1265489035.2063.35.camel@Joe-Laptop.home>
From: Joe Perches <joe@perches.com>
Date: Sat, 06 Feb 2010 12:43:55 -0800
> During the rc period, patches that are not bugfixes
> should be done using the net-next tree.
>
> Signed-off-by: Joe Perches <joe@perches.com>
Applied, thanks.
^ permalink raw reply
* Re: [PATCH 8/11] drivers/net: Correct NULL test
From: David Miller @ 2010-02-09 6:44 UTC (permalink / raw)
To: julia; +Cc: p_gortmaker, netdev, linux-kernel, kernel-janitors
In-Reply-To: <Pine.LNX.4.64.1002060943580.8092@ask.diku.dk>
From: Julia Lawall <julia@diku.dk>
Date: Sat, 6 Feb 2010 09:44:15 +0100 (CET)
> From: Julia Lawall <julia@diku.dk>
>
> Test the value that was just allocated rather than the previously tested one.
>
> A simplified version of the semantic match that finds this problem is as
> follows: (http://coccinelle.lip6.fr/)
Hehe, every time I read that tool name I hear "Coco Channel" :-)
> Signed-off-by: Julia Lawall <julia@diku.dk>
Applied, thanks!
^ permalink raw reply
* Re: Pull request: bluetooth-2.6 2010-02-05
From: David Miller @ 2010-02-09 6:50 UTC (permalink / raw)
To: marcel; +Cc: netdev
In-Reply-To: <cover.1265399549.git.marcel@holtmann.org>
From: Marcel Holtmann <marcel@holtmann.org>
Date: Fri, 5 Feb 2010 12:05:33 -0800
> here are a few more fixes that are mostly a result from the Bluetooth
> UnPlugFest testing in Seattle during this week.
Man, I live in Seattle and I still never get invited to these
cool events ;-)
> The important one are the fix for the sleeping function call in the
> RFCOMM timer that show up with certain hardware (not all of them) and
> also the fix for double release of the underlaying L2CAP session.
>
> With the HID subsystem changes that turns it into a proper bus, the
> HIDP code ended up with a potential case where we access userspace
> memory out of the scop of its ioctl() command. Fix this by just keeping
> a copy of the HID report descriptor around. The HID subsystem will need
> that anyway.
>
> The rest are some SCO/eSCO audio setup fixes with broken hardware and
> closing a memory leak in the Marvell driver.
...
> Please pull from
>
> git://git.kernel.org/pub/scm/linux/kernel/git/holtmann/bluetooth-2.6.git master
Pulled, thanks!
^ permalink raw reply
* Re: [PATCH 11/13] net: irda: use seq_list_foo() helpers
From: Li Zefan @ 2010-02-09 6:57 UTC (permalink / raw)
To: Paulius Zaleckas
Cc: David Miller, Andrew Morton, LKML, netdev@vger.kernel.org
In-Reply-To: <4B6C051F.3080702@gmail.com>
Paulius Zaleckas wrote:
> On 02/05/2010 03:47 AM, Li Zefan wrote:
> [...]
>> /* Return entry after v, and increment pos */
>> @@ -1148,14 +1137,7 @@ static void *irlan_seq_next(struct seq_file
>> *seq, void *v, loff_t *pos)
>> {
>> struct list_head *nxt;
>
> you should remove nxt declaration.
>
Thanks! Will fix.
^ permalink raw reply
* [GIT]: Networking
From: David Miller @ 2010-02-09 6:59 UTC (permalink / raw)
To: torvalds; +Cc: akpm, netdev, linux-kernel
Most notable bits here are the netfilter conntack namespace
fixes, and the sky2 DMA mapping leak fix.
1) Bluetooth fixes from Marcel Holtmann and co.
a) Missing kfree() leads to leak
b) Double put on RFCOMM sockets
c) Handle SCO 0x1a errors (Unsupported Remote Feature)
d) Fix user copy outside of proper context
e) RFCOMM sleeping in invalid context
2) dst_gc() needs to preempt, fix from Eric Dumazet.
3) Netxen fixes (tx timeout adjustment for NX2031, protect
resource cleanups with proper locking) from Amit Kumar Salecha
4) IGB fix wrt. legacy interrupt vectors handling after reset from
Alexander Duyck.
5) Serious netfilter conntrack fixes wrt. namespaces from Patrick
McHardy, Alexey Dobriyan, and Eric Dumazet.
6) Fix DCCP slab cache et al. regressions, from Gerrit Renker.
7) IXGBE can sometimes select invalid TXQ, fix from Krishna Kumar.
8) Two IRDA fixes from Thadeu Lima de Souza Cascardo
a) Unbalanced lock_kernel() in irnet_ppp
b) BKL missed in irnet_ppp ioctl conversion
9) SKY2 driver leaks DMA mappings on transmit, fix from
Stephen Hemminger.
10) When passing packets up to GRO, validate chip checksum
properly in cxgb3. Fix from Divy Le Ray.
11) IXGBE TX packet mapping error path fix from Anton Blanchard.
12) AF_KEY module load/unload fix wrt. net namespace ops
from Alexey Dobriyan.
13) Several doc, Kconfig help, and MAINTAINERS tidies.
Please pull, thanks a lot!
The following changes since commit deb0c98c7f6035d47a247e548384517a955314a5:
Linus Torvalds (1):
Merge branch 'for-2.6.33' of git://linux-nfs.org/~bfields/linux
are available in the git repository at:
master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6.git master
Alexander Duyck (1):
igb: make certain to reassign legacy interrupt vectors after reset
Alexey Dobriyan (4):
af_key: fix netns ops ordering on module load/unload
netlink: fix for too early rmmod
netfilter: nf_conntrack: restrict runtime expect hashsize modifications
netfilter: xtables: compat out of scope fix
Amit Kumar Salecha (2):
netxen: fix tx timeout recovery for NX2031 chip
netxen: protect resource cleanup by rtnl lock
Anton Blanchard (1):
ixgbe: Fix ixgbe_tx_map error path
David S. Miller (1):
Merge branch 'master' of git://git.kernel.org/.../holtmann/bluetooth-2.6
Divy Le Ray (1):
cxgb3: fix GRO checksum check
Eric Dumazet (2):
netfilter: nf_conntrack: per netns nf_conntrack_cachep
dst: call cond_resched() in dst_gc_task()
Gerrit Renker (2):
dccp: fix bug in cache allocation
dccp: fix auto-loading of dccp(_probe)
Jan Luebbe (1):
net/sched: Fix module name in Kconfig
Joe Perches (1):
MAINTAINERS: networking drivers - Add git net-next tree
Julia Lawall (1):
drivers/net: Correct NULL test
Krishna Kumar (1):
ixgbe: Fix return of invalid txq
Marcel Holtmann (1):
Bluetooth: Fix sleeping function in RFCOMM within invalid context
Michael Poole (1):
Bluetooth: Keep a copy of each HID device's report descriptor
Nick Pelly (3):
Bluetooth: Fallback eSCO to SCO on error 0x1a (Unsupported Remote Feature)
Bluetooth: Do not call rfcomm_session_put() for RFCOMM UA on closed socket
Bluetooth: Enter active mode before establishing a SCO link.
Patrick McHardy (2):
netfilter: nf_conntrack: fix memory corruption with multiple namespaces
netfilter: nf_conntrack: fix hash resizing with namespaces
Rafael J. Wysocki (1):
pktgen: Fix freezing problem
Thadeu Lima de Souza Cascardo (2):
irda: unbalanced lock_kernel in irnet_ppp
irda: add missing BKL in irnet_ppp ioctl
Yoichi Yuasa (1):
Bluetooth: Fix memory leak in Marvell BT-over-SDIO driver
stephen hemminger (1):
sky2: fix transmit DMA map leakage
MAINTAINERS | 1 +
drivers/bluetooth/btmrvl_sdio.c | 1 +
drivers/net/ax88796.c | 2 +-
drivers/net/cxgb3/sge.c | 20 ++--
drivers/net/igb/igb_main.c | 20 +---
drivers/net/ixgbe/ixgbe_main.c | 7 +-
drivers/net/netxen/netxen_nic_main.c | 4 +-
drivers/net/sky2.c | 8 +-
include/net/netns/conntrack.h | 3 +
include/net/netns/ipv4.h | 1 +
net/bluetooth/hci_conn.c | 3 +
net/bluetooth/hci_event.c | 1 +
net/bluetooth/hidp/core.c | 49 ++++----
net/bluetooth/hidp/hidp.h | 4 +-
net/bluetooth/rfcomm/core.c | 8 +-
net/core/dst.c | 2 +
net/core/pktgen.c | 1 +
net/dccp/ccid.c | 2 +-
net/dccp/ccid.h | 8 +-
net/dccp/probe.c | 4 +-
net/ipv4/netfilter/arp_tables.c | 4 +-
net/ipv4/netfilter/ip_tables.c | 4 +-
net/ipv4/netfilter/nf_conntrack_l3proto_ipv4.c | 2 +-
.../netfilter/nf_conntrack_l3proto_ipv4_compat.c | 4 +-
net/ipv4/netfilter/nf_nat_core.c | 22 ++--
net/ipv6/netfilter/ip6_tables.c | 4 +-
net/irda/irnet/irnet_ppp.c | 5 +-
net/key/af_key.c | 15 ++-
net/netfilter/nf_conntrack_core.c | 116 +++++++++++---------
net/netfilter/nf_conntrack_expect.c | 4 +-
net/netfilter/nf_conntrack_helper.c | 2 +-
net/netfilter/nf_conntrack_netlink.c | 2 +-
net/netfilter/nf_conntrack_standalone.c | 7 +-
net/netlink/af_netlink.c | 5 +
net/sched/Kconfig | 16 ++--
35 files changed, 197 insertions(+), 164 deletions(-)
^ permalink raw reply
* Re: [Bugme-new] [Bug 15239] New: Problem with network performance after a while.
From: Paweł Staszewski @ 2010-02-09 7:19 UTC (permalink / raw)
To: David Miller
Cc: akpm, netdev, e1000-devel, bugzilla-daemon, bugme-daemon,
jeffrey.t.kirsher, jesse.brandeburg, bruce.w.allan,
alexander.h.duyck, peter.p.waskiewicz.jr, john.ronciak,
pstaszewski, stable
In-Reply-To: <20100208.145531.143618406.davem@davemloft.net>
W dniu 2010-02-08 23:55, David Miller pisze:
> From: Andrew Morton<akpm@linux-foundation.org>
> Date: Mon, 8 Feb 2010 14:15:13 -0800
>
>
>> That would be bad. That's a regression in 2.6.33-rc, and we've
>> backported that regression into 2.6.32.x -stable.
>>
> Luckily we have a fix already. :-)
>
Yes - i make bugreport and after i write also here on the list
And Eric Dumazet help to solve problem with "route cache" - and locking
load on one cpu after information about "route cache disabled".
After his patch i don't see any errors in dmesg.
But i think there is a little more in my bugreport on bugzilla.
Regards
Pawel
> --
> To unsubscribe from this list: send the line "unsubscribe netdev" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
>
>
^ permalink raw reply
* Re: [PATCH] dst: call cond_resched() in dst_gc_task()
From: Eric Dumazet @ 2010-02-09 7:20 UTC (permalink / raw)
To: Andrew Morton; +Cc: Stephen Hemminger, David Miller, pstaszewski, netdev
In-Reply-To: <20100208223540.3cdabe44.akpm@linux-foundation.org>
Le lundi 08 février 2010 à 22:35 -0800, Andrew Morton a écrit :
> On Tue, 09 Feb 2010 07:06:38 +0100 Eric Dumazet <eric.dumazet@gmail.com> wrote:
>
> > After this patch, I believe that scheduler is allowed to migrate
> > dst_gc_task() to an idle cpu.
>
> No, keventd threads are each pinned to a single CPU (kthread_bind() in
> start_workqueue_thread()), so dst_gc_task() gets run on the CPU which
> ran schedule_delayed_work() and no other.
>
Ah OK, thanks Andrew for this clarification.
I suppose offlining a cpu migrates its works to another (online) cpu ?
^ permalink raw reply
* Re: [PATCH] dst: call cond_resched() in dst_gc_task()
From: Andrew Morton @ 2010-02-09 7:31 UTC (permalink / raw)
To: Eric Dumazet; +Cc: Stephen Hemminger, David Miller, pstaszewski, netdev
In-Reply-To: <1265700036.4236.120.camel@edumazet-laptop>
On Tue, 09 Feb 2010 08:20:36 +0100 Eric Dumazet <eric.dumazet@gmail.com> wrote:
> I suppose offlining a cpu migrates its works to another (online) cpu ?
Sort of, effectively. The workqueue code runs all the pending works on
the to-be-offlined CPU and then it's done.
schedule_delayed_work() starts out with a timer, and the timer code
_does_ perform migration off the going-away CPU.
^ permalink raw reply
* Re: [Bugme-new] [Bug 15239] New: Problem with network performance after a while.
From: Eric Dumazet @ 2010-02-09 7:36 UTC (permalink / raw)
To: Paweł Staszewski
Cc: pstaszewski, e1000-devel, netdev, bugzilla-daemon, bruce.w.allan,
jesse.brandeburg, stable, john.ronciak, jeffrey.t.kirsher,
bugme-daemon, akpm, David Miller
In-Reply-To: <4B710C93.9010603@itcare.pl>
Le mardi 09 février 2010 à 08:19 +0100, Paweł Staszewski a écrit :
> W dniu 2010-02-08 23:55, David Miller pisze:
> > From: Andrew Morton<akpm@linux-foundation.org>
> > Date: Mon, 8 Feb 2010 14:15:13 -0800
> >
> >
> >> That would be bad. That's a regression in 2.6.33-rc, and we've
> >> backported that regression into 2.6.32.x -stable.
> >>
> > Luckily we have a fix already. :-)
> >
>
> Yes - i make bugreport and after i write also here on the list
>
> And Eric Dumazet help to solve problem with "route cache" - and locking
> load on one cpu after information about "route cache disabled".
>
> After his patch i don't see any errors in dmesg.
>
OK, but this is real old bug (since 2.6.24), not a 2.6.32/2.6.33
regression...
You were just lucky not hitting it before, probably because you tried
different settings.
------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
E1000-devel mailing list
E1000-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/e1000-devel
To learn more about Intel® Ethernet, visit http://communities.intel.com/community/wired
^ permalink raw reply
* Re: [Bugme-new] [Bug 15239] New: Problem with network performance after a while.
From: Paweł Staszewski @ 2010-02-09 7:37 UTC (permalink / raw)
To: Brandeburg, Jesse
Cc: Andrew Morton, netdev@vger.kernel.org,
e1000-devel@lists.sourceforge.net,
bugzilla-daemon@bugzilla.kernel.org,
bugme-daemon@bugzilla.kernel.org, Kirsher, Jeffrey T,
Allan, Bruce W, Duyck, Alexander H, Waskiewicz Jr, Peter P,
Ronciak, John, pstaszewski@artcom.pl, stable@kernel.org
In-Reply-To: <alpine.WNT.2.00.1002081432390.6892@jbrandeb-desk1.amr.corp.intel.com>
[-- Attachment #1: Type: text/plain, Size: 8794 bytes --]
W dniu 2010-02-09 00:06, Brandeburg, Jesse pisze:
> Andrew, thanks.
>
> On Mon, 8 Feb 2010, Andrew Morton wrote:
>
>>> Hello the problem is that after some time of working my router have some
>>> performance problems.
>>>
>>> The problem exist on kernel 2.6.32.7 and 2.6.33-rc6-git5
>>> The problem dont exist on 2.6.32.2 kernel.
>>>
>> That would be bad. That's a regression in 2.6.33-rc, and we've
>> backported that regression into 2.6.32.x -stable.
>>
> there were no changes to e1000e from v2.6.32..v2.6.32.7
> # git whatchanged v2.6.32..v2.6.32.7 drivers/net/e1000e
>
>
>
>>> on 2.6.33-rc6-git5 i have this info:
>>>
>
>>> BUG: soft lockup - CPU#1 stuck for 61s!
>>> [events/1:28]
>>>
> so why is this events/1 thing here? I've see this kernel thread related
> to ipv6 stack hanging when under heavy incoming packet load as the
> interface comes up. Was the interface just brought up or something
> changed in rules or something?
>
>
>>> Modules linked in:
>>> CPU 1
>>> Pid: 28, comm: events/1 Not tainted 2.6.33-rc6-git5 #1 X7DCT/X7DCT
>>> RIP: 0010:[<ffffffff810a3d89>] [<ffffffff810a3d89>]
>>> kmem_cache_free+0x11b/0x11c
>>> RSP: 0018:ffff880028243e50 EFLAGS: 00000292
>>> RAX: 0000000000000032 RBX: 000000000000007d RCX: ffff8803190683c0
>>> RDX: 0000000000000031 RSI: ffff8803190683c0 RDI: ffff88031f83e680
>>> RBP: ffffffff81002893 R08: 0000000000000000 R09: 000000000000007c
>>> R10: ffff88030d776800 R11: ffff88030d7768a0 R12: ffff880028243dd0
>>> R13: ffffc900008b2f80 R14: ffff88031fa7c800 R15: ffffffff81012da7
>>> FS: 0000000000000000(0000) GS:ffff880028240000(0000) knlGS:0000000000000000
>>> CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b
>>> CR2: 00007fd61d5bd000 CR3: 000000031e55c000 CR4: 00000000000006a0
>>> DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
>>> DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
>>> Process events/1 (pid: 28, threadinfo ffff88031f9c8000, task ffff88031f9a4f80)
>>> Stack:
>>> ffffffff8126826f ffff88031faa4600 ffffffff8126834a 000096ba00000023
>>> <0> 01ffc90000000024 ffff88031fbb4000 ffff88031faa4600 0000000000000040
>>> <0> 0000000000000040 ffff88031faa4788 ffff88031faa4600 0000000000000740
>>> Call Trace:
>>> <IRQ>
>>> [<ffffffff8126826f>] ? e1000_put_txbuf+0x62/0x74
>>> [<ffffffff8126834a>] ? e1000_clean_tx_irq+0xc9/0x235
>>>
> clean_tx_irq in e1000e has a break-out condition to keep the transmit
> cleanup for running forever (if another cpu is transmitting) so it seems
> that something else must have happened. Can kmem_cache_free sleep or
> stall on a lock?
>
>
>
>>> [<ffffffff8126b71b>] ? e1000_clean+0x5c/0x21c
>>> [<ffffffff812f29a3>] ? net_rx_action+0x71/0x15d
>>> [<ffffffff81035311>] ? __do_softirq+0xd7/0x196
>>> [<ffffffff81002dac>] ? call_softirq+0x1c/0x28
>>> [<ffffffff812f768f>] ? dst_gc_task+0x0/0x1a7
>>> [<ffffffff81002dac>] ? call_softirq+0x1c/0x28
>>> <EOI>
>>> [<ffffffff81004599>] ? do_softirq+0x31/0x63
>>> [<ffffffff81034ec1>] ? local_bh_enable_ip+0x75/0x86
>>> [<ffffffff812f768f>] ? dst_gc_task+0x0/0x1a7
>>> [<ffffffff812f775d>] ? dst_gc_task+0xce/0x1a7
>>> [<ffffffff8136b08c>] ? schedule+0x82c/0x906
>>> [<ffffffff8103c44f>] ? lock_timer_base+0x26/0x4b
>>> [<ffffffff810a41d6>] ? cache_reap+0x0/0x11d
>>> [<ffffffff81044c38>] ? worker_thread+0x14c/0x1dc
>>> [<ffffffff81047dcd>] ? autoremove_wake_function+0x0/0x2e
>>> [<ffffffff81044aec>] ? worker_thread+0x0/0x1dc
>>> [<ffffffff810479bd>] ? kthread+0x79/0x81
>>> [<ffffffff81002cb4>] ? kernel_thread_helper+0x4/0x10
>>> [<ffffffff81047944>] ? kthread+0x0/0x81
>>> [<ffffffff81002cb0>] ? kernel_thread_helper+0x0/0x10
>>> Code: fe 79 4c 00 48 85 db 74 14 48 8b 74 24 10 48 89 ef ff 13 48 83 c3 08 48
>>> 83 3b 00 eb ea 48 83 c4 18 5b 5d 41 5c 41 5d 41 5e 41 5f<c3> 55 48 89 f5 53 48
>>> 89 fb 48 83 ec 08 48 8b 76 18 48 2b 75 10
>>> Call Trace:
>>> <IRQ> [<ffffffff8126826f>] ? e1000_put_txbuf+0x62/0x74
>>> [<ffffffff8126834a>] ? e1000_clean_tx_irq+0xc9/0x235
>>> [<ffffffff8126b71b>] ? e1000_clean+0x5c/0x21c
>>> [<ffffffff812f29a3>] ? net_rx_action+0x71/0x15d
>>> [<ffffffff81035311>] ? __do_softirq+0xd7/0x196
>>> [<ffffffff81002dac>] ? call_softirq+0x1c/0x28
>>> [<ffffffff812f768f>] ? dst_gc_task+0x0/0x1a7
>>> [<ffffffff81002dac>] ? call_softirq+0x1c/0x28
>>> <EOI> [<ffffffff81004599>] ? do_softirq+0x31/0x63
>>> [<ffffffff81034ec1>] ? local_bh_enable_ip+0x75/0x86
>>> [<ffffffff812f768f>] ? dst_gc_task+0x0/0x1a7
>>> [<ffffffff812f775d>] ? dst_gc_task+0xce/0x1a7
>>> [<ffffffff8136b08c>] ? schedule+0x82c/0x906
>>> [<ffffffff8103c44f>] ? lock_timer_base+0x26/0x4b
>>> [<ffffffff810a41d6>] ? cache_reap+0x0/0x11d
>>> [<ffffffff81044c38>] ? worker_thread+0x14c/0x1dc
>>> [<ffffffff81047dcd>] ? autoremove_wake_function+0x0/0x2e
>>> [<ffffffff81044aec>] ? worker_thread+0x0/0x1dc
>>> [<ffffffff810479bd>] ? kthread+0x79/0x81
>>> [<ffffffff81002cb4>] ? kernel_thread_helper+0x4/0x10
>>> [<ffffffff81047944>] ? kthread+0x0/0x81
>>> [<ffffffff81002cb0>] ? kernel_thread_helper+0x0/0x10
>>>
>>> And on 2.6.32.7
>>> Feb 4 13:12:40 TM_01_C1 ------------[ cut here ]------------
>>> Feb 4 13:12:40 TM_01_C1 WARNING: at net/sched/sch_generic.c:261
>>> dev_watchdog+0x130/0x1d6()
>>> Feb 4 13:12:40 TM_01_C1 Hardware name: X7DCT
>>> Feb 4 13:12:40 TM_01_C1 NETDEV WATCHDOG: eth0 (e1000e): transmit queue 0 timed
>>> out
>>> Feb 4 13:12:40 TM_01_C1 Modules linked in: oprofile
>>> Feb 4 13:12:40 TM_01_C1 Pid: 0, comm: swapper Not tainted 2.6.32 #1
>>>
> the above doesn't match your statement that it is 2.6.32.7
>
>
>>> Feb 4 13:12:40 TM_01_C1 Call Trace:
>>> Feb 4 13:12:40 TM_01_C1<IRQ> [<ffffffff812fcaf7>] ? dev_watchdog+0x130/0x1d6
>>> Feb 4 13:12:40 TM_01_C1 [<ffffffff812fcaf7>] ? dev_watchdog+0x130/0x1d6
>>> Feb 4 13:12:40 TM_01_C1 [<ffffffff81038811>] ? warn_slowpath_common+0x77/0xa3
>>> Feb 4 13:12:40 TM_01_C1 [<ffffffff81038899>] ? warn_slowpath_fmt+0x51/0x59
>>> Feb 4 13:12:40 TM_01_C1 [<ffffffff8102897e>] ? activate_task+0x3f/0x4e
>>> Feb 4 13:12:40 TM_01_C1 [<ffffffff81034fe5>] ? try_to_wake_up+0x1eb/0x1f8
>>> Feb 4 13:12:40 TM_01_C1 [<ffffffff812eb768>] ? netdev_drivername+0x3b/0x40
>>> Feb 4 13:12:40 TM_01_C1 [<ffffffff812fcaf7>] ? dev_watchdog+0x130/0x1d6
>>> Feb 4 13:12:40 TM_01_C1 [<ffffffff8102d1e3>] ? __wake_up+0x30/0x44
>>> Feb 4 13:12:40 TM_01_C1 [<ffffffff812fc9c7>] ? dev_watchdog+0x0/0x1d6
>>> Feb 4 13:12:40 TM_01_C1 [<ffffffff810448c4>] ? run_timer_softirq+0x1ff/0x29d
>>> Feb 4 13:12:40 TM_01_C1 [<ffffffff810556ab>] ? ktime_get+0x5f/0xb7
>>> Feb 4 13:12:40 TM_01_C1 [<ffffffff8103e0fd>] ? __do_softirq+0xd7/0x196
>>> Feb 4 13:12:40 TM_01_C1 [<ffffffff8100be7c>] ? call_softirq+0x1c/0x28
>>> Feb 4 13:12:40 TM_01_C1 [<ffffffff8100d645>] ? do_softirq+0x31/0x66
>>> Feb 4 13:12:40 TM_01_C1 [<ffffffff8101b148>] ?
>>> smp_apic_timer_interrupt+0x87/0x95
>>> Feb 4 13:12:40 TM_01_C1 [<ffffffff8100b873>] ? apic_timer_interrupt+0x13/0x20
>>> Feb 4 13:12:40 TM_01_C1<EOI> [<ffffffff810111f5>] ? mwait_idle+0x9b/0xa0
>>> Feb 4 13:12:40 TM_01_C1 [<ffffffff8100a236>] ? cpu_idle+0x49/0x7c
>>> Feb 4 13:12:40 TM_01_C1 ---[ end trace c670a6a17be040e5 ]---
>>>
>>>
>>> Machine is a BGP router with some iproute traffic management.
>>>
> please send a full dmesg from boot. also full lspci -vvv.
>
>
dmesg and lspci in attached files.
> We sporadically see some issue with some people's use of traffic
> management with some e1000/e devices, we have no repro or common
> reproduction case, so haven't solved the issue yet. I suspect there is a
> strange interaction with HTB or one of the other queueing disciplines that
> causes some odd skb or set of skb's to arrive, but that is just a theory.
>
>
there is about 10000 iproute filters per interface. (hfsc classes)
> I see two different bugs above, one is the tx hang, could it be that you
> didn't have SOFTLOCKUP detection enabled on 2.6.32? A softlockup could
> cause a tx hang.
>
> The other bug is the softlockup and I don't know how the driver could be
> at fault in that listed stack path. We simply can't loop more than
> tx_ring->count times, which could never take> 60 seconds unless one of
> the calls we were making was getting stalled for some reason.
>
> So your traffic is "heavy" forwarding at the time of the failure, do you
> have any input on average packet size? I'm trying to figure out how we
> might reproduce this.
>
>
avg pkt size is about 811 bytes
> Jesse
> --
> To unsubscribe from this list: send the line "unsubscribe netdev" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
>
>
[-- Attachment #2: lspci.txt --]
[-- Type: text/plain, Size: 33610 bytes --]
00:00.0 Host bridge: Intel Corporation 5100 Chipset Memory Controller Hub (rev 90)
Subsystem: Super Micro Computer Inc Device de80
Control: I/O- Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0, Cache Line Size: 32 bytes
Capabilities: [50] Power Management version 2
Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
Capabilities: [58] Message Signalled Interrupts: Mask- 64bit- Count=1/1 Enable-
Address: fee00000 Data: 0000
Capabilities: [6c] Express (v1) Root Port (Slot-), MSI 00
DevCap: MaxPayload 256 bytes, PhantFunc 0, Latency L0s unlimited, L1 unlimited
ExtTag- RBE- FLReset-
DevCtl: Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop+
MaxPayload 128 bytes, MaxReadReq 128 bytes
DevSta: CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr- TransPend-
LnkCap: Port #0, Speed 2.5GT/s, Width x4, ASPM L0s, Latency L0 unlimited, L1 unlimited
ClockPM- Suprise+ LLActRep+ BwNot-
LnkCtl: ASPM Disabled; RCB 64 bytes Disabled- Retrain- CommClk-
ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
LnkSta: Speed 2.5GT/s, Width x4, TrErr- Train- SlotClk+ DLActive+ BWMgmt- ABWMgmt-
RootCtl: ErrCorrectable- ErrNon-Fatal- ErrFatal- PMEIntEna- CRSVisible-
RootCap: CRSVisible-
RootSta: PME ReqID 0000, PMEStatus- PMEPending-
Capabilities: [100] Advanced Error Reporting
UESta: DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSVoil-
UEMsk: DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSVoil-
UESvrt: DLP+ SDES+ TLP- FCP+ CmpltTO- CmpltAbrt- UnxCmplt- RxOF+ MalfTLP+ ECRC- UnsupReq- ACSVoil+
CESta: RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr-
CESta: RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr-
AERCap: First Error Pointer: 00, GenCap- CGenEn- ChkCap- ChkEn-
00:02.0 PCI bridge: Intel Corporation 5100 Chipset PCI Express x8 Port 2-3 (rev 90) (prog-if 00 [Normal decode])
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0, Cache Line Size: 32 bytes
Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
I/O behind bridge: 00002000-00002fff
Memory behind bridge: f8000000-f80fffff
Prefetchable memory behind bridge: 00000000fff00000-00000000000fffff
Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- <SERR- <PERR-
BridgeCtl: Parity- SERR- NoISA+ VGA- MAbort- >Reset- FastB2B-
PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
Capabilities: [50] Power Management version 2
Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
Capabilities: [58] Message Signalled Interrupts: Mask- 64bit- Count=1/1 Enable+
Address: feeff00c Data: 4159
Capabilities: [6c] Express (v1) Root Port (Slot+), MSI 00
DevCap: MaxPayload 256 bytes, PhantFunc 0, Latency L0s unlimited, L1 unlimited
ExtTag- RBE- FLReset-
DevCtl: Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop+
MaxPayload 128 bytes, MaxReadReq 128 bytes
DevSta: CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr- TransPend-
LnkCap: Port #2, Speed 2.5GT/s, Width x8, ASPM L0s, Latency L0 unlimited, L1 unlimited
ClockPM- Suprise+ LLActRep+ BwNot-
LnkCtl: ASPM Disabled; RCB 64 bytes Disabled- Retrain- CommClk+
ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
LnkSta: Speed 2.5GT/s, Width x8, TrErr- Train- SlotClk+ DLActive+ BWMgmt- ABWMgmt-
SltCap: AttnBtn- PwrCtrl- MRL- AttnInd- PwrInd- HotPlug- Surpise-
Slot # 2e, PowerLimit 25.000000; Interlock- NoCompl-
SltCtl: Enable: AttnBtn+ PwrFlt+ MRL+ PresDet+ CmdCplt- HPIrq+ LinkChg-
Control: AttnInd Off, PwrInd On, Power- Interlock-
SltSta: Status: AttnBtn- PowerFlt- MRL+ CmdCplt- PresDet+ Interlock-
Changed: MRL- PresDet- LinkState-
RootCtl: ErrCorrectable- ErrNon-Fatal- ErrFatal- PMEIntEna- CRSVisible-
RootCap: CRSVisible-
RootSta: PME ReqID 0000, PMEStatus- PMEPending-
Capabilities: [100] Advanced Error Reporting
UESta: DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSVoil-
UEMsk: DLP- SDES+ TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSVoil-
UESvrt: DLP+ SDES+ TLP- FCP+ CmpltTO- CmpltAbrt- UnxCmplt- RxOF+ MalfTLP+ ECRC- UnsupReq- ACSVoil-
CESta: RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr-
CESta: RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr-
AERCap: First Error Pointer: 00, GenCap- CGenEn- ChkCap- ChkEn-
Kernel driver in use: pcieport
00:04.0 PCI bridge: Intel Corporation 5100 Chipset PCI Express x16 Port 4-7 (rev 90) (prog-if 00 [Normal decode])
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0, Cache Line Size: 32 bytes
Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
I/O behind bridge: 00006000-00006fff
Memory behind bridge: f8400000-f85fffff
Prefetchable memory behind bridge: 00000000f8700000-00000000f88fffff
Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- <SERR- <PERR-
BridgeCtl: Parity- SERR- NoISA+ VGA- MAbort- >Reset- FastB2B-
PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
Capabilities: [50] Power Management version 2
Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
Capabilities: [58] Message Signalled Interrupts: Mask- 64bit- Count=1/1 Enable+
Address: feeff00c Data: 4161
Capabilities: [6c] Express (v1) Root Port (Slot+), MSI 00
DevCap: MaxPayload 256 bytes, PhantFunc 0, Latency L0s unlimited, L1 unlimited
ExtTag- RBE- FLReset-
DevCtl: Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop+
MaxPayload 128 bytes, MaxReadReq 128 bytes
DevSta: CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr- TransPend-
LnkCap: Port #4, Speed 2.5GT/s, Width x16, ASPM L0s, Latency L0 unlimited, L1 unlimited
ClockPM- Suprise+ LLActRep+ BwNot-
LnkCtl: ASPM Disabled; RCB 64 bytes Disabled- Retrain- CommClk-
ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
LnkSta: Speed 2.5GT/s, Width x4, TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
SltCap: AttnBtn+ PwrCtrl+ MRL+ AttnInd+ PwrInd+ HotPlug+ Surpise-
Slot # 30, PowerLimit 25.000000; Interlock- NoCompl-
SltCtl: Enable: AttnBtn+ PwrFlt+ MRL+ PresDet+ CmdCplt- HPIrq+ LinkChg-
Control: AttnInd Off, PwrInd Off, Power+ Interlock-
SltSta: Status: AttnBtn- PowerFlt- MRL+ CmdCplt- PresDet- Interlock-
Changed: MRL- PresDet- LinkState-
RootCtl: ErrCorrectable- ErrNon-Fatal- ErrFatal- PMEIntEna- CRSVisible-
RootCap: CRSVisible-
RootSta: PME ReqID 0000, PMEStatus- PMEPending-
Capabilities: [100] Advanced Error Reporting
UESta: DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSVoil-
UEMsk: DLP- SDES+ TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSVoil-
UESvrt: DLP+ SDES+ TLP- FCP+ CmpltTO- CmpltAbrt- UnxCmplt- RxOF+ MalfTLP+ ECRC- UnsupReq- ACSVoil-
CESta: RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr-
CESta: RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr-
AERCap: First Error Pointer: 00, GenCap- CGenEn- ChkCap- ChkEn-
Kernel driver in use: pcieport
00:08.0 System peripheral: Intel Corporation 5100 Chipset DMA Engine (rev 90)
Subsystem: Super Micro Computer Inc Device de80
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
Interrupt: pin A routed to IRQ 0
Region 0: Memory at fe700000 (64-bit, non-prefetchable) [size=1K]
Capabilities: [50] Power Management version 2
Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
Capabilities: [58] Message Signalled Interrupts: Mask- 64bit- Count=1/1 Enable-
Address: fee00000 Data: 0000
Capabilities: [6c] Express (v1) Root Complex Integrated Endpoint, MSI 00
DevCap: MaxPayload 128 bytes, PhantFunc 0, Latency L0s <64ns, L1 <1us
ExtTag- RBE- FLReset-
DevCtl: Report errors: Correctable- Non-Fatal- Fatal+ Unsupported-
RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop+
MaxPayload 128 bytes, MaxReadReq 128 bytes
DevSta: CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr- TransPend-
LnkCap: Port #0, Speed unknown, Width x0, ASPM unknown, Latency L0 <64ns, L1 <1us
ClockPM- Suprise- LLActRep- BwNot-
LnkCtl: ASPM Disabled; Disabled- Retrain- CommClk-
ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
LnkSta: Speed unknown, Width x0, TrErr- Train- SlotClk- DLActive- BWMgmt- ABWMgmt-
00:10.0 Host bridge: Intel Corporation 5100 Chipset FSB Registers (rev 90)
Subsystem: Super Micro Computer Inc Device de80
Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
00:10.1 Host bridge: Intel Corporation 5100 Chipset FSB Registers (rev 90)
Subsystem: Super Micro Computer Inc Device de80
Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
00:10.2 Host bridge: Intel Corporation 5100 Chipset FSB Registers (rev 90)
Subsystem: Super Micro Computer Inc Device de80
Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
00:11.0 Host bridge: Intel Corporation 5100 Chipset Reserved Registers (rev 90)
Subsystem: Super Micro Computer Inc Device de80
Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
00:13.0 Host bridge: Intel Corporation 5100 Chipset Reserved Registers (rev 90)
Subsystem: Super Micro Computer Inc Device de80
Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
00:15.0 Host bridge: Intel Corporation 5100 Chipset DDR Channel 0 Registers (rev 90)
Subsystem: Super Micro Computer Inc Device de80
Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
00:16.0 Host bridge: Intel Corporation 5100 Chipset DDR Channel 1 Registers (rev 90)
Subsystem: Super Micro Computer Inc Device de80
Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
00:1a.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 (rev 02) (prog-if 00 [UHCI])
Subsystem: Super Micro Computer Inc Device de80
Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
Interrupt: pin A routed to IRQ 20
Region 4: I/O ports at 1820 [size=32]
Capabilities: [50] PCIe advanced features <?>
Kernel driver in use: uhci_hcd
00:1a.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #2 (rev 02) (prog-if 20 [EHCI])
Subsystem: Super Micro Computer Inc Device de80
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
Interrupt: pin C routed to IRQ 22
Region 0: Memory at f8600800 (32-bit, non-prefetchable) [size=1K]
Capabilities: [50] Power Management version 2
Flags: PMEClk- DSI- D1- D2- AuxCurrent=375mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
Capabilities: [58] Debug port: BAR=1 offset=00a0
Capabilities: [98] PCIe advanced features <?>
Kernel driver in use: ehci_hcd
00:1c.0 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 1 (rev 02) (prog-if 00 [Normal decode])
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0, Cache Line Size: 32 bytes
Bus: primary=00, secondary=03, subordinate=03, sec-latency=0
I/O behind bridge: 00007000-00007fff
Memory behind bridge: f8900000-f8afffff
Prefetchable memory behind bridge: 00000000f8b00000-00000000f8cfffff
Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- <SERR- <PERR-
BridgeCtl: Parity- SERR- NoISA+ VGA- MAbort- >Reset+ FastB2B-
PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
Capabilities: [40] Express (v1) Root Port (Slot+), MSI 00
DevCap: MaxPayload 128 bytes, PhantFunc 0, Latency L0s <64ns, L1 <1us
ExtTag- RBE+ FLReset-
DevCtl: Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop-
MaxPayload 128 bytes, MaxReadReq 128 bytes
DevSta: CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr+ TransPend-
LnkCap: Port #1, Speed 2.5GT/s, Width x1, ASPM L0s L1, Latency L0 <256ns, L1 <4us
ClockPM- Suprise- LLActRep+ BwNot-
LnkCtl: ASPM Disabled; RCB 64 bytes Disabled+ Retrain- CommClk+
ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
LnkSta: Speed 2.5GT/s, Width x0, TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
SltCap: AttnBtn- PwrCtrl- MRL- AttnInd- PwrInd- HotPlug+ Surpise+
Slot # 0, PowerLimit 0.000000; Interlock- NoCompl-
SltCtl: Enable: AttnBtn- PwrFlt- MRL- PresDet- CmdCplt- HPIrq- LinkChg-
Control: AttnInd Unknown, PwrInd Unknown, Power- Interlock-
SltSta: Status: AttnBtn- PowerFlt- MRL- CmdCplt- PresDet- Interlock-
Changed: MRL- PresDet- LinkState-
RootCtl: ErrCorrectable- ErrNon-Fatal- ErrFatal- PMEIntEna- CRSVisible-
RootCap: CRSVisible-
RootSta: PME ReqID 0000, PMEStatus- PMEPending-
Capabilities: [80] Message Signalled Interrupts: Mask- 64bit- Count=1/1 Enable+
Address: feeff00c Data: 4169
Capabilities: [90] Subsystem: Super Micro Computer Inc Device de80
Capabilities: [a0] Power Management version 2
Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
Capabilities: [100] Virtual Channel <?>
Capabilities: [180] Root Complex Link <?>
Kernel driver in use: pcieport
00:1c.4 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 5 (rev 02) (prog-if 00 [Normal decode])
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0, Cache Line Size: 32 bytes
Bus: primary=00, secondary=04, subordinate=04, sec-latency=0
I/O behind bridge: 00003000-00003fff
Memory behind bridge: f8100000-f81fffff
Prefetchable memory behind bridge: 00000000f8d00000-00000000f8efffff
Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- <SERR- <PERR-
BridgeCtl: Parity- SERR- NoISA+ VGA- MAbort- >Reset- FastB2B-
PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
Capabilities: [40] Express (v1) Root Port (Slot+), MSI 00
DevCap: MaxPayload 128 bytes, PhantFunc 0, Latency L0s <64ns, L1 <1us
ExtTag- RBE+ FLReset-
DevCtl: Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop-
MaxPayload 128 bytes, MaxReadReq 128 bytes
DevSta: CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr+ TransPend-
LnkCap: Port #5, Speed 2.5GT/s, Width x1, ASPM L0s L1, Latency L0 <256ns, L1 <4us
ClockPM- Suprise- LLActRep+ BwNot-
LnkCtl: ASPM Disabled; RCB 64 bytes Disabled- Retrain- CommClk+
ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
LnkSta: Speed 2.5GT/s, Width x1, TrErr- Train- SlotClk+ DLActive+ BWMgmt- ABWMgmt-
SltCap: AttnBtn- PwrCtrl- MRL- AttnInd- PwrInd- HotPlug+ Surpise+
Slot # 5, PowerLimit 10.000000; Interlock- NoCompl-
SltCtl: Enable: AttnBtn- PwrFlt- MRL- PresDet- CmdCplt- HPIrq- LinkChg-
Control: AttnInd Unknown, PwrInd Unknown, Power- Interlock-
SltSta: Status: AttnBtn- PowerFlt- MRL- CmdCplt- PresDet+ Interlock-
Changed: MRL- PresDet+ LinkState+
RootCtl: ErrCorrectable- ErrNon-Fatal- ErrFatal- PMEIntEna- CRSVisible-
RootCap: CRSVisible-
RootSta: PME ReqID 0000, PMEStatus- PMEPending-
Capabilities: [80] Message Signalled Interrupts: Mask- 64bit- Count=1/1 Enable+
Address: feeff00c Data: 4171
Capabilities: [90] Subsystem: Super Micro Computer Inc Device de80
Capabilities: [a0] Power Management version 2
Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
Capabilities: [100] Virtual Channel <?>
Capabilities: [180] Root Complex Link <?>
Kernel driver in use: pcieport
00:1c.5 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 6 (rev 02) (prog-if 00 [Normal decode])
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0, Cache Line Size: 32 bytes
Bus: primary=00, secondary=05, subordinate=05, sec-latency=0
I/O behind bridge: 00004000-00004fff
Memory behind bridge: f8200000-f82fffff
Prefetchable memory behind bridge: 00000000f8f00000-00000000f90fffff
Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- <SERR- <PERR-
BridgeCtl: Parity- SERR- NoISA+ VGA- MAbort- >Reset- FastB2B-
PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
Capabilities: [40] Express (v1) Root Port (Slot+), MSI 00
DevCap: MaxPayload 128 bytes, PhantFunc 0, Latency L0s <64ns, L1 <1us
ExtTag- RBE+ FLReset-
DevCtl: Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop-
MaxPayload 128 bytes, MaxReadReq 128 bytes
DevSta: CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr+ TransPend-
LnkCap: Port #6, Speed 2.5GT/s, Width x1, ASPM L0s L1, Latency L0 <256ns, L1 <4us
ClockPM- Suprise- LLActRep+ BwNot-
LnkCtl: ASPM Disabled; RCB 64 bytes Disabled- Retrain- CommClk+
ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
LnkSta: Speed 2.5GT/s, Width x1, TrErr- Train- SlotClk+ DLActive+ BWMgmt- ABWMgmt-
SltCap: AttnBtn- PwrCtrl- MRL- AttnInd- PwrInd- HotPlug+ Surpise+
Slot # 6, PowerLimit 10.000000; Interlock- NoCompl-
SltCtl: Enable: AttnBtn- PwrFlt- MRL- PresDet- CmdCplt- HPIrq- LinkChg-
Control: AttnInd Unknown, PwrInd Unknown, Power- Interlock-
SltSta: Status: AttnBtn- PowerFlt- MRL- CmdCplt- PresDet+ Interlock-
Changed: MRL- PresDet+ LinkState+
RootCtl: ErrCorrectable- ErrNon-Fatal- ErrFatal- PMEIntEna- CRSVisible-
RootCap: CRSVisible-
RootSta: PME ReqID 0000, PMEStatus- PMEPending-
Capabilities: [80] Message Signalled Interrupts: Mask- 64bit- Count=1/1 Enable+
Address: feeff00c Data: 4179
Capabilities: [90] Subsystem: Super Micro Computer Inc Device de80
Capabilities: [a0] Power Management version 2
Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
Capabilities: [100] Virtual Channel <?>
Capabilities: [180] Root Complex Link <?>
Kernel driver in use: pcieport
00:1d.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 (rev 02) (prog-if 00 [UHCI])
Subsystem: Super Micro Computer Inc Device de80
Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
Interrupt: pin A routed to IRQ 23
Region 4: I/O ports at 1840 [size=32]
Capabilities: [50] PCIe advanced features <?>
Kernel driver in use: uhci_hcd
00:1d.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 (rev 02) (prog-if 00 [UHCI])
Subsystem: Super Micro Computer Inc Device de80
Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
Interrupt: pin B routed to IRQ 22
Region 4: I/O ports at 1860 [size=32]
Capabilities: [50] PCIe advanced features <?>
Kernel driver in use: uhci_hcd
00:1d.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 (rev 02) (prog-if 00 [UHCI])
Subsystem: Super Micro Computer Inc Device de80
Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
Interrupt: pin C routed to IRQ 21
Region 4: I/O ports at 1880 [size=32]
Capabilities: [50] PCIe advanced features <?>
Kernel driver in use: uhci_hcd
00:1d.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 (rev 02) (prog-if 20 [EHCI])
Subsystem: Super Micro Computer Inc Device de80
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
Interrupt: pin A routed to IRQ 23
Region 0: Memory at f8600c00 (32-bit, non-prefetchable) [size=1K]
Capabilities: [50] Power Management version 2
Flags: PMEClk- DSI- D1- D2- AuxCurrent=375mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
Capabilities: [58] Debug port: BAR=1 offset=00a0
Capabilities: [98] PCIe advanced features <?>
Kernel driver in use: ehci_hcd
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 92) (prog-if 01 [Subtractive decode])
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
Bus: primary=00, secondary=06, subordinate=06, sec-latency=64
I/O behind bridge: 00005000-00005fff
Memory behind bridge: f8300000-f83fffff
Prefetchable memory behind bridge: 00000000f0000000-00000000f7ffffff
Secondary status: 66MHz- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort+ <SERR- <PERR-
BridgeCtl: Parity- SERR- NoISA+ VGA+ MAbort- >Reset- FastB2B-
PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
Capabilities: [50] Subsystem: Super Micro Computer Inc Device de80
00:1f.0 ISA bridge: Intel Corporation 82801IR (ICH9R) LPC Interface Controller (rev 02)
Subsystem: Super Micro Computer Inc Device de80
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
Capabilities: [e0] Vendor Specific Information <?>
00:1f.2 SATA controller: Intel Corporation 82801IR/IO/IH (ICH9R/DO/DH) 6 port SATA AHCI Controller (rev 02) (prog-if 01 [AHCI 1.0])
Subsystem: Super Micro Computer Inc Device de80
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
Interrupt: pin B routed to IRQ 29
Region 0: I/O ports at 1c10 [size=8]
Region 1: I/O ports at 1c04 [size=4]
Region 2: I/O ports at 1c08 [size=8]
Region 3: I/O ports at 1c00 [size=4]
Region 4: I/O ports at 18a0 [size=32]
Region 5: Memory at f8600000 (32-bit, non-prefetchable) [size=2K]
Capabilities: [80] Message Signalled Interrupts: Mask- 64bit- Count=1/16 Enable+
Address: fee0100c Data: 4181
Capabilities: [70] Power Management version 3
Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot+,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
Capabilities: [a8] SATA HBA <?>
Capabilities: [b0] PCIe advanced features <?>
Kernel driver in use: ahci
00:1f.3 SMBus: Intel Corporation 82801I (ICH9 Family) SMBus Controller (rev 02)
Subsystem: Super Micro Computer Inc Device de80
Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Interrupt: pin B routed to IRQ 10
Region 0: Memory at f8601000 (64-bit, non-prefetchable) [size=256]
Region 4: I/O ports at 1100 [size=32]
01:00.0 Ethernet controller: Intel Corporation 82598EB 10 Gigabit AT CX4 Network Connection (rev 01)
Subsystem: Super Micro Computer Inc Device af80
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0, Cache Line Size: 32 bytes
Interrupt: pin A routed to IRQ 16
Region 0: Memory at f8040000 (32-bit, non-prefetchable) [size=128K]
Region 1: Memory at f8000000 (32-bit, non-prefetchable) [size=256K]
Region 2: I/O ports at 2000 [size=32]
Region 3: Memory at f8060000 (32-bit, non-prefetchable) [size=16K]
Capabilities: [40] Power Management version 3
Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0+,D1-,D2-,D3hot+,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=1 PME-
Capabilities: [50] Message Signalled Interrupts: Mask- 64bit+ Count=1/1 Enable-
Address: 0000000000000000 Data: 0000
Capabilities: [60] MSI-X: Enable+ Mask- TabSize=18
Vector table: BAR=3 offset=00000000
PBA: BAR=3 offset=00002000
Capabilities: [a0] Express (v2) Endpoint, MSI 00
DevCap: MaxPayload 256 bytes, PhantFunc 0, Latency L0s <512ns, L1 <64us
ExtTag- AttnBtn- AttnInd- PwrInd- RBE+ FLReset-
DevCtl: Report errors: Correctable+ Non-Fatal+ Fatal+ Unsupported+
RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop+
MaxPayload 128 bytes, MaxReadReq 512 bytes
DevSta: CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr- TransPend-
LnkCap: Port #2, Speed 2.5GT/s, Width x8, ASPM L0s L1, Latency L0 <4us, L1 <64us
ClockPM- Suprise- LLActRep- BwNot-
LnkCtl: ASPM Disabled; RCB 64 bytes Disabled- Retrain- CommClk+
ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
LnkSta: Speed 2.5GT/s, Width x8, TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
DevCap2: Completion Timeout: Range ABCD, TimeoutDis+
DevCtl2: Completion Timeout: 16ms to 55ms, TimeoutDis-
LnkCtl2: Target Link Speed: 2.5GT/s, EnterCompliance- SpeedDis-, Selectable De-emphasis: -6dB
Transmit Margin: Normal Operating Range, EnterModifiedCompliance- ComplianceSOS-
Compliance De-emphasis: -6dB
LnkSta2: Current De-emphasis Level: -6dB
Capabilities: [100] Advanced Error Reporting
UESta: DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSVoil-
UEMsk: DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSVoil-
UESvrt: DLP+ SDES- TLP- FCP+ CmpltTO- CmpltAbrt- UnxCmplt- RxOF+ MalfTLP+ ECRC- UnsupReq- ACSVoil-
CESta: RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr-
CESta: RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr+
AERCap: First Error Pointer: 00, GenCap- CGenEn- ChkCap- ChkEn-
Capabilities: [140] Device Serial Number 66-33-d3-ff-ff-48-30-00
Kernel driver in use: ixgbe
04:00.0 Ethernet controller: Intel Corporation 82573E Gigabit Ethernet Controller (Copper) (rev 03)
Subsystem: Super Micro Computer Inc Device 108c
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0, Cache Line Size: 64 bytes
Interrupt: pin A routed to IRQ 30
Region 0: Memory at f8100000 (32-bit, non-prefetchable) [size=128K]
Region 2: I/O ports at 3000 [size=32]
Capabilities: [c8] Power Management version 2
Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
Status: D0 PME-Enable- DSel=0 DScale=1 PME-
Capabilities: [d0] Message Signalled Interrupts: Mask- 64bit+ Count=1/1 Enable+
Address: 00000000fee0f00c Data: 415a
Capabilities: [e0] Express (v1) Endpoint, MSI 00
DevCap: MaxPayload 256 bytes, PhantFunc 0, Latency L0s <512ns, L1 <64us
ExtTag- AttnBtn- AttnInd- PwrInd- RBE- FLReset-
DevCtl: Report errors: Correctable+ Non-Fatal+ Fatal+ Unsupported+
RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop+
MaxPayload 128 bytes, MaxReadReq 512 bytes
DevSta: CorrErr- UncorrErr+ FatalErr- UnsuppReq+ AuxPwr+ TransPend-
LnkCap: Port #0, Speed 2.5GT/s, Width x1, ASPM unknown, Latency L0 <128ns, L1 <64us
ClockPM- Suprise- LLActRep- BwNot-
LnkCtl: ASPM Disabled; RCB 64 bytes Disabled- Retrain- CommClk-
ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
LnkSta: Speed 2.5GT/s, Width x1, TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
Capabilities: [100] Advanced Error Reporting
UESta: DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq+ ACSVoil-
UEMsk: DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSVoil-
UESvrt: DLP+ SDES- TLP- FCP+ CmpltTO- CmpltAbrt- UnxCmplt- RxOF+ MalfTLP+ ECRC- UnsupReq- ACSVoil-
CESta: RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr-
CESta: RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr-
AERCap: First Error Pointer: 14, GenCap- CGenEn- ChkCap- ChkEn-
Capabilities: [140] Device Serial Number 67-33-d3-ff-ff-48-30-00
Kernel driver in use: e1000e
05:00.0 Ethernet controller: Intel Corporation 82573L Gigabit Ethernet Controller
Subsystem: Super Micro Computer Inc Device 109a
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0, Cache Line Size: 64 bytes
Interrupt: pin A routed to IRQ 31
Region 0: Memory at f8200000 (32-bit, non-prefetchable) [size=128K]
Region 2: I/O ports at 4000 [size=32]
Capabilities: [c8] Power Management version 2
Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
Status: D0 PME-Enable- DSel=0 DScale=1 PME-
Capabilities: [d0] Message Signalled Interrupts: Mask- 64bit+ Count=1/1 Enable+
Address: 00000000feef000c Data: 416a
Capabilities: [e0] Express (v1) Endpoint, MSI 00
DevCap: MaxPayload 256 bytes, PhantFunc 0, Latency L0s <512ns, L1 <64us
ExtTag- AttnBtn- AttnInd- PwrInd- RBE- FLReset-
DevCtl: Report errors: Correctable+ Non-Fatal+ Fatal+ Unsupported+
RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop+
MaxPayload 128 bytes, MaxReadReq 512 bytes
DevSta: CorrErr- UncorrErr+ FatalErr- UnsuppReq+ AuxPwr+ TransPend-
LnkCap: Port #0, Speed 2.5GT/s, Width x1, ASPM unknown, Latency L0 <128ns, L1 <64us
ClockPM+ Suprise- LLActRep- BwNot-
LnkCtl: ASPM Disabled; RCB 64 bytes Disabled- Retrain- CommClk-
ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
LnkSta: Speed 2.5GT/s, Width x1, TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
Capabilities: [100] Advanced Error Reporting
UESta: DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq+ ACSVoil-
UEMsk: DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSVoil-
UESvrt: DLP+ SDES- TLP- FCP+ CmpltTO- CmpltAbrt- UnxCmplt- RxOF+ MalfTLP+ ECRC- UnsupReq- ACSVoil-
CESta: RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr-
CESta: RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr-
AERCap: First Error Pointer: 14, GenCap- CGenEn- ChkCap- ChkEn-
Capabilities: [140] Device Serial Number 68-33-d3-ff-ff-48-30-00
Kernel driver in use: e1000e
06:01.0 VGA compatible controller: ATI Technologies Inc ES1000 (rev 02) (prog-if 00 [VGA controller])
Subsystem: Super Micro Computer Inc Device de80
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping+ SERR+ FastB2B+ DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 66 (2000ns min), Cache Line Size: 32 bytes
Interrupt: pin A routed to IRQ 11
Region 0: Memory at f0000000 (32-bit, prefetchable) [size=128M]
Region 1: I/O ports at 5000 [size=256]
Region 2: Memory at f8300000 (32-bit, non-prefetchable) [size=64K]
[virtual] Expansion ROM at f8320000 [disabled] [size=128K]
Capabilities: [50] Power Management version 2
Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
[-- Attachment #3: dmesg.txt --]
[-- Type: text/plain, Size: 31867 bytes --]
Linux version 2.6.33-rc6-git5 (root@TM_01_C1) (gcc version 4.3.2 (Gentoo 4.3.2-r3 p1.6, pie-10.1.5) ) #3 SMP Mon Feb 8 17:39:22 UTC 2010
Command line: root=/dev/md2
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 000000000009cc00 (usable)
BIOS-e820: 000000000009cc00 - 00000000000a0000 (reserved)
BIOS-e820: 00000000000ce000 - 00000000000d0000 (reserved)
BIOS-e820: 00000000000e4000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 00000000dff50000 (usable)
BIOS-e820: 00000000dff50000 - 00000000dff5e000 (ACPI data)
BIOS-e820: 00000000dff5e000 - 00000000dff5f000 (ACPI NVS)
BIOS-e820: 00000000dff5f000 - 00000000f0000000 (reserved)
BIOS-e820: 00000000fec00000 - 00000000fec10000 (reserved)
BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved)
BIOS-e820: 00000000ff000000 - 0000000100000000 (reserved)
BIOS-e820: 0000000100000000 - 0000000320000000 (usable)
NX (Execute Disable) protection: active
DMI present.
Phoenix BIOS detected: BIOS may corrupt low RAM, working around it.
e820 update range: 0000000000000000 - 0000000000010000 (usable) ==> (reserved)
No AGP bridge found
last_pfn = 0x320000 max_arch_pfn = 0x400000000
MTRR default type: uncachable
MTRR fixed ranges enabled:
00000-9FFFF write-back
A0000-BFFFF uncachable
C0000-CFFFF write-protect
D0000-E3FFF uncachable
E4000-FFFFF write-protect
MTRR variable ranges enabled:
0 base 00E0000000 mask 3FE0000000 uncachable
1 base 0000000000 mask 3E00000000 write-back
2 base 0200000000 mask 3F00000000 write-back
3 base 0300000000 mask 3FE0000000 write-back
4 disabled
5 disabled
6 disabled
x86 PAT enabled: cpu 0, old 0x7040600070406, new 0x7010600070106
e820 update range: 00000000e0000000 - 0000000100000000 (usable) ==> (reserved)
last_pfn = 0xdff50 max_arch_pfn = 0x400000000
initial memory mapped : 0 - 20000000
found SMP MP-table at [ffff8800000f6040] f6040
init_memory_mapping: 0000000000000000-00000000dff50000
0000000000 - 00dfe00000 page 2M
00dfe00000 - 00dff50000 page 4k
kernel direct mapping tables up to dff50000 @ 12000-18000
init_memory_mapping: 0000000100000000-0000000320000000
0100000000 - 0320000000 page 2M
kernel direct mapping tables up to 320000000 @ 16000-24000
ACPI: RSDP 00000000000f6010 00024 (v02 PTLTD )
ACPI: XSDT 00000000dff56c1e 0009C (v01 SHIMAS SDS-ONE 06040000 LTP 00000000)
ACPI: FACP 00000000dff5dc26 000F4 (v03 INTEL SANCLMNT 06040000 PTL 00000003)
ACPI: DSDT 00000000dff5878c 05416 (v01 Intel SANCLMNT 06040000 MSFT 03000001)
ACPI: FACS 00000000dff5efc0 00040
ACPI: APIC 00000000dff5dd1a 000BC (v01 PTLTD ? APIC 06040000 LTP 00000000)
ACPI: MCFG 00000000dff5ddd6 0003C (v01 PTLTD MCFG 06040000 LTP 00000000)
ACPI: BOOT 00000000dff5de12 00028 (v01 PTLTD $SBFTBL$ 06040000 LTP 00000001)
ACPI: SPCR 00000000dff5de3a 00050 (v01 PTLTD $UCRTBL$ 06040000 PTL 00000001)
ACPI: SLIC 00000000dff5de8a 00176 (v01 SHIMAS SDS-ONE 06040000 LTP 00000000)
ACPI: SSDT 00000000dff5852d 0025F (v01 PmRef Cpu0Tst 00003000 INTL 20080321)
ACPI: SSDT 00000000dff58487 000A6 (v01 PmRef Cpu7Tst 00003000 INTL 20080321)
ACPI: SSDT 00000000dff583e1 000A6 (v01 PmRef Cpu6Tst 00003000 INTL 20080321)
ACPI: SSDT 00000000dff5833b 000A6 (v01 PmRef Cpu5Tst 00003000 INTL 20080321)
ACPI: SSDT 00000000dff58295 000A6 (v01 PmRef Cpu4Tst 00003000 INTL 20080321)
ACPI: SSDT 00000000dff581ef 000A6 (v01 PmRef Cpu3Tst 00003000 INTL 20080321)
ACPI: SSDT 00000000dff58149 000A6 (v01 PmRef Cpu2Tst 00003000 INTL 20080321)
ACPI: SSDT 00000000dff580a3 000A6 (v01 PmRef Cpu1Tst 00003000 INTL 20080321)
ACPI: SSDT 00000000dff56cba 013E9 (v01 PmRef CpuPm 00003000 INTL 20080321)
ACPI: Local APIC address 0xfee00000
(11 early reservations) ==> bootmem [0000000000 - 0320000000]
#0 [0000000000 - 0000001000] BIOS data page ==> [0000000000 - 0000001000]
#1 [0001000000 - 000169b180] TEXT DATA BSS ==> [0001000000 - 000169b180]
#2 [000169c000 - 000169c1b4] BRK ==> [000169c000 - 000169c1b4]
#3 [00000f6050 - 0000100000] BIOS reserved ==> [00000f6050 - 0000100000]
#4 [00000f6040 - 00000f6050] MP-table mpf ==> [00000f6040 - 00000f6050]
#5 [000009cc00 - 000009d071] BIOS reserved ==> [000009cc00 - 000009d071]
#6 [000009d255 - 00000f6040] BIOS reserved ==> [000009d255 - 00000f6040]
#7 [000009d071 - 000009d255] MP-table mpc ==> [000009d071 - 000009d255]
#8 [0000010000 - 0000012000] TRAMPOLINE ==> [0000010000 - 0000012000]
#9 [0000012000 - 0000016000] PGTABLE ==> [0000012000 - 0000016000]
#10 [0000016000 - 000001f000] PGTABLE ==> [0000016000 - 000001f000]
[ffffea0000000000-ffffea000affffff] PMD -> [ffff880028600000-ffff880032ffffff] on node 0
Zone PFN ranges:
DMA 0x00000010 -> 0x00001000
DMA32 0x00001000 -> 0x00100000
Normal 0x00100000 -> 0x00320000
Movable zone start PFN for each node
early_node_map[3] active PFN ranges
0: 0x00000010 -> 0x0000009c
0: 0x00000100 -> 0x000dff50
0: 0x00100000 -> 0x00320000
On node 0 totalpages: 3145436
DMA zone: 56 pages used for memmap
DMA zone: 113 pages reserved
DMA zone: 3811 pages, LIFO batch:0
DMA32 zone: 14280 pages used for memmap
DMA32 zone: 898952 pages, LIFO batch:31
Normal zone: 30464 pages used for memmap
Normal zone: 2197760 pages, LIFO batch:31
ACPI: PM-Timer IO Port: 0x1008
ACPI: Local APIC address 0xfee00000
ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
ACPI: LAPIC (acpi_id[0x01] lapic_id[0x04] enabled)
ACPI: LAPIC (acpi_id[0x02] lapic_id[0x01] enabled)
ACPI: LAPIC (acpi_id[0x03] lapic_id[0x05] enabled)
ACPI: LAPIC (acpi_id[0x04] lapic_id[0x02] enabled)
ACPI: LAPIC (acpi_id[0x05] lapic_id[0x06] enabled)
ACPI: LAPIC (acpi_id[0x06] lapic_id[0x03] enabled)
ACPI: LAPIC (acpi_id[0x07] lapic_id[0x07] enabled)
ACPI: LAPIC_NMI (acpi_id[0x00] high edge lint[0x1])
ACPI: LAPIC_NMI (acpi_id[0x01] high edge lint[0x1])
ACPI: LAPIC_NMI (acpi_id[0x02] high edge lint[0x1])
ACPI: LAPIC_NMI (acpi_id[0x03] high edge lint[0x1])
ACPI: LAPIC_NMI (acpi_id[0x04] high edge lint[0x1])
ACPI: LAPIC_NMI (acpi_id[0x05] high edge lint[0x1])
ACPI: LAPIC_NMI (acpi_id[0x06] high edge lint[0x1])
ACPI: LAPIC_NMI (acpi_id[0x07] high edge lint[0x1])
ACPI: IOAPIC (id[0x08] address[0xfec00000] gsi_base[0])
IOAPIC[0]: apic_id 8, version 32, address 0xfec00000, GSI 0-23
ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 high edge)
ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
ACPI: IRQ0 used by override.
ACPI: IRQ2 used by override.
ACPI: IRQ9 used by override.
Using ACPI (MADT) for SMP configuration information
SMP: Allowing 8 CPUs, 0 hotplug CPUs
nr_irqs_gsi: 24
Allocating PCI resources starting at f0000000 (gap: f0000000:ec00000)
setup_percpu: NR_CPUS:16 nr_cpumask_bits:16 nr_cpu_ids:8 nr_node_ids:1
PERCPU: Embedded 27 pages/cpu @ffff880028200000 s79704 r8192 d22696 u262144
pcpu-alloc: s79704 r8192 d22696 u262144 alloc=1*2097152
pcpu-alloc: [0] 0 1 2 3 4 5 6 7
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 3100523
Kernel command line: root=/dev/md2
PID hash table entries: 4096 (order: 3, 32768 bytes)
Dentry cache hash table entries: 2097152 (order: 12, 16777216 bytes)
Inode-cache hash table entries: 1048576 (order: 11, 8388608 bytes)
Checking aperture...
No AGP bridge found
Memory: 12308048k/13107200k available (3481k kernel code, 525456k absent, 272700k reserved, 2056k data, 480k init)
Hierarchical RCU implementation.
NR_IRQS:4352 nr_irqs:472
Extended CMOS year: 2000
Console: colour VGA+ 80x25
console [tty0] enabled
Fast TSC calibration using PIT
Detected 2999.651 MHz processor.
Calibrating delay loop (skipped), value calculated using timer frequency.. 5999.30 BogoMIPS (lpj=11998604)
Mount-cache hash table entries: 256
CPU: Physical Processor ID: 0
CPU: Processor Core ID: 0
using mwait in idle threads.
Performance Events: Core2 events, Intel PMU driver.
... version: 2
... bit width: 40
... generic registers: 2
... value mask: 000000ffffffffff
... max period: 000000007fffffff
... fixed-purpose events: 3
... event mask: 0000000700000003
Freeing SMP alternatives: 28k freed
ACPI: Core revision 20091214
Setting APIC routing to flat
..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1
CPU0: Intel(R) Xeon(R) CPU X5450 @ 3.00GHz stepping 06
Booting Node 0, Processors #1 #2 #3 #4 #5 #6 #7 Ok.
Brought up 8 CPUs
Total of 8 processors activated (48005.71 BogoMIPS).
NET: Registered protocol family 16
ACPI: bus type pci registered
PCI: MMCONFIG for domain 0000 [bus 00-05] at [mem 0xe0000000-0xe05fffff] (base 0xe0000000)
PCI: MMCONFIG at [mem 0xe0000000-0xe05fffff] reserved in E820
PCI: Using configuration type 1 for base access
bio: create slab <bio-0> at 0
ACPI: EC: Look up EC in DSDT
ACPI: Interpreter enabled
ACPI: (supports S0 S5)
ACPI: Using IOAPIC for interrupt routing
ACPI: No dock devices found.
ACPI: PCI Root Bridge [PCI0] (0000:00)
pci_root PNP0A03:00: ignoring host bridge windows from ACPI; boot with "pci=use_crs" to use them
pci_root PNP0A03:00: host bridge window [io 0x0000-0x0cf7] (ignored)
pci_root PNP0A03:00: host bridge window [io 0x0d00-0xffff] (ignored)
pci_root PNP0A03:00: host bridge window [mem 0x000a0000-0x000bffff] (ignored)
pci_root PNP0A03:00: host bridge window [mem 0x000d0000-0x000d3fff] (ignored)
pci_root PNP0A03:00: host bridge window [mem 0x000d4000-0x000d7fff] (ignored)
pci_root PNP0A03:00: host bridge window [mem 0x000d8000-0x000dbfff] (ignored)
pci_root PNP0A03:00: host bridge window [mem 0x000dc000-0x000dffff] (ignored)
pci_root PNP0A03:00: host bridge window [mem 0x000e0000-0x000e3fff] (ignored)
pci_root PNP0A03:00: host bridge window [mem 0xe0000000-0xfebfffff] (ignored)
pci 0000:00:00.0: PME# supported from D0 D3hot D3cold
pci 0000:00:00.0: PME# disabled
pci 0000:00:02.0: PME# supported from D0 D3hot D3cold
pci 0000:00:02.0: PME# disabled
pci 0000:00:04.0: PME# supported from D0 D3hot D3cold
pci 0000:00:04.0: PME# disabled
pci 0000:00:08.0: reg 10: [mem 0xfe700000-0xfe7003ff 64bit]
pci 0000:00:08.0: PME# supported from D0 D3hot D3cold
pci 0000:00:08.0: PME# disabled
pci 0000:00:1a.0: reg 20: [io 0x1820-0x183f]
pci 0000:00:1a.7: reg 10: [mem 0xf8600800-0xf8600bff]
pci 0000:00:1a.7: PME# supported from D0 D3hot D3cold
pci 0000:00:1a.7: PME# disabled
pci 0000:00:1c.0: PME# supported from D0 D3hot D3cold
pci 0000:00:1c.0: PME# disabled
pci 0000:00:1c.4: PME# supported from D0 D3hot D3cold
pci 0000:00:1c.4: PME# disabled
pci 0000:00:1c.5: PME# supported from D0 D3hot D3cold
pci 0000:00:1c.5: PME# disabled
pci 0000:00:1d.0: reg 20: [io 0x1840-0x185f]
pci 0000:00:1d.1: reg 20: [io 0x1860-0x187f]
pci 0000:00:1d.2: reg 20: [io 0x1880-0x189f]
pci 0000:00:1d.7: reg 10: [mem 0xf8600c00-0xf8600fff]
pci 0000:00:1d.7: PME# supported from D0 D3hot D3cold
pci 0000:00:1d.7: PME# disabled
pci 0000:00:1f.0: Force enabled HPET at 0xfed00000
pci 0000:00:1f.0: quirk: [io 0x1000-0x107f] claimed by ICH6 ACPI/GPIO/TCO
pci 0000:00:1f.0: quirk: [io 0x1180-0x11bf] claimed by ICH6 GPIO
pci 0000:00:1f.0: ICH7 LPC Generic IO decode 2 PIO at 0ca0 (mask 000f)
pci 0000:00:1f.2: reg 10: [io 0x1c10-0x1c17]
pci 0000:00:1f.2: reg 14: [io 0x1c04-0x1c07]
pci 0000:00:1f.2: reg 18: [io 0x1c08-0x1c0f]
pci 0000:00:1f.2: reg 1c: [io 0x1c00-0x1c03]
pci 0000:00:1f.2: reg 20: [io 0x18a0-0x18bf]
pci 0000:00:1f.2: reg 24: [mem 0xf8600000-0xf86007ff]
pci 0000:00:1f.2: PME# supported from D3hot
pci 0000:00:1f.2: PME# disabled
pci 0000:00:1f.3: reg 10: [mem 0xf8601000-0xf86010ff 64bit]
pci 0000:00:1f.3: reg 20: [io 0x1100-0x111f]
pci 0000:01:00.0: reg 10: [mem 0xf8040000-0xf805ffff]
pci 0000:01:00.0: reg 14: [mem 0xf8000000-0xf803ffff]
pci 0000:01:00.0: reg 18: [io 0x2000-0x201f]
pci 0000:01:00.0: reg 1c: [mem 0xf8060000-0xf8063fff]
pci 0000:01:00.0: PME# supported from D0 D3hot
pci 0000:01:00.0: PME# disabled
pci 0000:00:02.0: PCI bridge to [bus 01-01]
pci 0000:00:02.0: bridge window [io 0x2000-0x2fff]
pci 0000:00:02.0: bridge window [mem 0xf8000000-0xf80fffff]
pci 0000:00:04.0: PCI bridge to [bus 02-02]
pci 0000:00:1c.0: PCI bridge to [bus 03-03]
pci 0000:04:00.0: reg 10: [mem 0xf8100000-0xf811ffff]
pci 0000:04:00.0: reg 18: [io 0x3000-0x301f]
pci 0000:04:00.0: PME# supported from D0 D3hot D3cold
pci 0000:04:00.0: PME# disabled
pci 0000:04:00.0: disabling ASPM on pre-1.1 PCIe device. You can enable it with 'pcie_aspm=force'
pci 0000:00:1c.4: PCI bridge to [bus 04-04]
pci 0000:00:1c.4: bridge window [io 0x3000-0x3fff]
pci 0000:00:1c.4: bridge window [mem 0xf8100000-0xf81fffff]
pci 0000:05:00.0: reg 10: [mem 0xf8200000-0xf821ffff]
pci 0000:05:00.0: reg 18: [io 0x4000-0x401f]
pci 0000:05:00.0: PME# supported from D0 D3hot D3cold
pci 0000:05:00.0: PME# disabled
pci 0000:05:00.0: disabling ASPM on pre-1.1 PCIe device. You can enable it with 'pcie_aspm=force'
pci 0000:00:1c.5: PCI bridge to [bus 05-05]
pci 0000:00:1c.5: bridge window [io 0x4000-0x4fff]
pci 0000:00:1c.5: bridge window [mem 0xf8200000-0xf82fffff]
pci 0000:06:01.0: reg 10: [mem 0xf0000000-0xf7ffffff pref]
pci 0000:06:01.0: reg 14: [io 0x5000-0x50ff]
pci 0000:06:01.0: reg 18: [mem 0xf8300000-0xf830ffff]
pci 0000:06:01.0: reg 30: [mem 0x00000000-0x0001ffff pref]
pci 0000:06:01.0: supports D1 D2
pci 0000:00:1e.0: PCI bridge to [bus 06-06] (subtractive decode)
pci 0000:00:1e.0: bridge window [io 0x5000-0x5fff]
pci 0000:00:1e.0: bridge window [mem 0xf8300000-0xf83fffff]
pci 0000:00:1e.0: bridge window [mem 0xf0000000-0xf7ffffff 64bit pref]
pci_bus 0000:00: on NUMA node 0
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.P0P2._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.P0P4._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.EXP1._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.EXP5._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.EXP6._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PCIB._PRT]
ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 6 7 *10 11 14 15)
ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 6 7 *10 11 14 15)
ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 6 7 10 *11 14 15)
ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 6 7 10 11 14 15) *0, disabled.
ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 *5 6 7 10 11 14 15)
ACPI: PCI Interrupt Link [LNKF] (IRQs 4 5 6 7 *10 11 14 15)
ACPI: PCI Interrupt Link [LNKG] (IRQs 3 4 5 6 7 10 *11 14 15)
ACPI: PCI Interrupt Link [LNKH] (IRQs 4 5 6 *7 10 11 14 15)
vgaarb: device added: PCI:0000:06:01.0,decodes=io+mem,owns=io+mem,locks=none
vgaarb: loaded
SCSI subsystem initialized
libata version 3.00 loaded.
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
PCI: Using ACPI for IRQ routing
PCI: pci_cache_line_size set to 64 bytes
hpet clockevent registered
HPET: 4 timers in total, 0 timers will be used for per-cpu timer
Switching to clocksource tsc
pnp: PnP ACPI init
ACPI: bus type pnp registered
pnp: PnP ACPI: found 9 devices
ACPI: ACPI bus type pnp unregistered
system 00:01: [io 0x04d0-0x04d1] has been reserved
system 00:01: [io 0x0600-0x063f] has been reserved
system 00:01: [io 0x0800-0x080f] has been reserved
system 00:01: [io 0x1000-0x107f] has been reserved
system 00:01: [io 0x1180-0x11bf] has been reserved
system 00:01: [io 0xfe00] has been reserved
system 00:01: [mem 0xfe600000-0xfe6fffff] has been reserved
system 00:01: [mem 0xe0000000-0xefffffff] has been reserved
system 00:01: [mem 0xfed20000-0xfed3ffff] has been reserved
system 00:01: [mem 0xfee00000-0xfee0ffff] could not be reserved
system 00:01: [mem 0xfef00000-0xfeffffff] has been reserved
pci 0000:00:04.0: BAR 8: assigned [mem 0xf8400000-0xf85fffff]
pci 0000:00:04.0: BAR 9: assigned [mem 0xf8700000-0xf88fffff 64bit pref]
pci 0000:00:1c.0: BAR 8: assigned [mem 0xf8900000-0xf8afffff]
pci 0000:00:1c.0: BAR 9: assigned [mem 0xf8b00000-0xf8cfffff 64bit pref]
pci 0000:00:1c.4: BAR 9: assigned [mem 0xf8d00000-0xf8efffff 64bit pref]
pci 0000:00:1c.5: BAR 9: assigned [mem 0xf8f00000-0xf90fffff 64bit pref]
pci 0000:00:04.0: BAR 7: assigned [io 0x6000-0x6fff]
pci 0000:00:1c.0: BAR 7: assigned [io 0x7000-0x7fff]
pci 0000:00:02.0: PCI bridge to [bus 01-01]
pci 0000:00:02.0: bridge window [io 0x2000-0x2fff]
pci 0000:00:02.0: bridge window [mem 0xf8000000-0xf80fffff]
pci 0000:00:02.0: bridge window [mem pref disabled]
pci 0000:00:04.0: PCI bridge to [bus 02-02]
pci 0000:00:04.0: bridge window [io 0x6000-0x6fff]
pci 0000:00:04.0: bridge window [mem 0xf8400000-0xf85fffff]
pci 0000:00:04.0: bridge window [mem 0xf8700000-0xf88fffff 64bit pref]
pci 0000:00:1c.0: PCI bridge to [bus 03-03]
pci 0000:00:1c.0: bridge window [io 0x7000-0x7fff]
pci 0000:00:1c.0: bridge window [mem 0xf8900000-0xf8afffff]
pci 0000:00:1c.0: bridge window [mem 0xf8b00000-0xf8cfffff 64bit pref]
pci 0000:00:1c.4: PCI bridge to [bus 04-04]
pci 0000:00:1c.4: bridge window [io 0x3000-0x3fff]
pci 0000:00:1c.4: bridge window [mem 0xf8100000-0xf81fffff]
pci 0000:00:1c.4: bridge window [mem 0xf8d00000-0xf8efffff 64bit pref]
pci 0000:00:1c.5: PCI bridge to [bus 05-05]
pci 0000:00:1c.5: bridge window [io 0x4000-0x4fff]
pci 0000:00:1c.5: bridge window [mem 0xf8200000-0xf82fffff]
pci 0000:00:1c.5: bridge window [mem 0xf8f00000-0xf90fffff 64bit pref]
pci 0000:06:01.0: BAR 6: assigned [mem 0xf8320000-0xf833ffff pref]
pci 0000:00:1e.0: PCI bridge to [bus 06-06]
pci 0000:00:1e.0: bridge window [io 0x5000-0x5fff]
pci 0000:00:1e.0: bridge window [mem 0xf8300000-0xf83fffff]
pci 0000:00:1e.0: bridge window [mem 0xf0000000-0xf7ffffff 64bit pref]
pci 0000:00:02.0: setting latency timer to 64
pci 0000:00:04.0: setting latency timer to 64
alloc irq_desc for 16 on node -1
alloc kstat_irqs on node -1
pci 0000:00:1c.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
pci 0000:00:1c.0: setting latency timer to 64
pci 0000:00:1c.4: PCI INT A -> GSI 16 (level, low) -> IRQ 16
pci 0000:00:1c.4: setting latency timer to 64
alloc irq_desc for 17 on node -1
alloc kstat_irqs on node -1
pci 0000:00:1c.5: PCI INT B -> GSI 17 (level, low) -> IRQ 17
pci 0000:00:1c.5: setting latency timer to 64
pci 0000:00:1e.0: setting latency timer to 64
pci_bus 0000:00: resource 0 [io 0x0000-0xffff]
pci_bus 0000:00: resource 1 [mem 0x00000000-0xffffffffffffffff]
pci_bus 0000:01: resource 0 [io 0x2000-0x2fff]
pci_bus 0000:01: resource 1 [mem 0xf8000000-0xf80fffff]
pci_bus 0000:02: resource 0 [io 0x6000-0x6fff]
pci_bus 0000:02: resource 1 [mem 0xf8400000-0xf85fffff]
pci_bus 0000:02: resource 2 [mem 0xf8700000-0xf88fffff 64bit pref]
pci_bus 0000:03: resource 0 [io 0x7000-0x7fff]
pci_bus 0000:03: resource 1 [mem 0xf8900000-0xf8afffff]
pci_bus 0000:03: resource 2 [mem 0xf8b00000-0xf8cfffff 64bit pref]
pci_bus 0000:04: resource 0 [io 0x3000-0x3fff]
pci_bus 0000:04: resource 1 [mem 0xf8100000-0xf81fffff]
pci_bus 0000:04: resource 2 [mem 0xf8d00000-0xf8efffff 64bit pref]
pci_bus 0000:05: resource 0 [io 0x4000-0x4fff]
pci_bus 0000:05: resource 1 [mem 0xf8200000-0xf82fffff]
pci_bus 0000:05: resource 2 [mem 0xf8f00000-0xf90fffff 64bit pref]
pci_bus 0000:06: resource 0 [io 0x5000-0x5fff]
pci_bus 0000:06: resource 1 [mem 0xf8300000-0xf83fffff]
pci_bus 0000:06: resource 2 [mem 0xf0000000-0xf7ffffff 64bit pref]
pci_bus 0000:06: resource 3 [io 0x0000-0xffff]
pci_bus 0000:06: resource 4 [mem 0x00000000-0xffffffffffffffff]
NET: Registered protocol family 2
IP route cache hash table entries: 524288 (order: 10, 4194304 bytes)
TCP established hash table entries: 262144 (order: 10, 4194304 bytes)
TCP bind hash table entries: 65536 (order: 9, 2097152 bytes)
TCP: Hash tables configured (established 262144 bind 65536)
TCP reno registered
UDP hash table entries: 8192 (order: 7, 786432 bytes)
UDP-Lite hash table entries: 8192 (order: 7, 786432 bytes)
NET: Registered protocol family 1
pci 0000:01:00.0: Disabling L0s
pci 0000:06:01.0: Boot video device
PCI: CLS 32 bytes, default 64
PCI-DMA: Using software bounce buffering for IO (SWIOTLB)
Placing 64MB software IO TLB between ffff880020000000 - ffff880024000000
software IO TLB at phys 0x20000000 - 0x24000000
Simple Boot Flag at 0x39 set to 0x1
HugeTLB registered 2 MB page size, pre-allocated 0 pages
msgmni has been set to 24041
alg: No test for stdrng (krng)
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
pcieport 0000:00:02.0: setting latency timer to 64
alloc irq_desc for 24 on node -1
alloc kstat_irqs on node -1
pcieport 0000:00:02.0: irq 24 for MSI/MSI-X
pcieport 0000:00:04.0: setting latency timer to 64
alloc irq_desc for 25 on node -1
alloc kstat_irqs on node -1
pcieport 0000:00:04.0: irq 25 for MSI/MSI-X
pcieport 0000:00:1c.0: setting latency timer to 64
alloc irq_desc for 26 on node -1
alloc kstat_irqs on node -1
pcieport 0000:00:1c.0: irq 26 for MSI/MSI-X
pcieport 0000:00:1c.4: setting latency timer to 64
alloc irq_desc for 27 on node -1
alloc kstat_irqs on node -1
pcieport 0000:00:1c.4: irq 27 for MSI/MSI-X
pcieport 0000:00:1c.5: setting latency timer to 64
alloc irq_desc for 28 on node -1
alloc kstat_irqs on node -1
pcieport 0000:00:1c.5: irq 28 for MSI/MSI-X
aer 0000:00:02.0:pcie02: AER service couldn't init device: no _OSC support
aer 0000:00:04.0:pcie02: AER service couldn't init device: no _OSC support
input: Power Button as /class/input/input0
ACPI: Power Button [PWRB]
input: Power Button as /class/input/input1
ACPI: Power Button [PWRF]
Linux agpgart interface v0.103
Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
00:07: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
00:08: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
floppy0: no floppy controllers found
brd: module loaded
loop: module loaded
Uniform Multi-Platform E-IDE driver
ide_generic: please use "probe_mask=0x3f" module parameter for probing all legacy ISA IDE ports
Probing IDE interface ide0...
ide0: no devices on the port
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Probing IDE interface ide1...
ide1: no devices on the port
ide1 at 0x170-0x177,0x376 on irq 15
ide-gd driver 1.18
ide-cd driver 5.00
ahci 0000:00:1f.2: version 3.0
ahci 0000:00:1f.2: PCI INT B -> GSI 17 (level, low) -> IRQ 17
alloc irq_desc for 29 on node -1
alloc kstat_irqs on node -1
ahci 0000:00:1f.2: irq 29 for MSI/MSI-X
ahci: SSS flag set, parallel bus scan disabled
ahci 0000:00:1f.2: AHCI 0001.0200 32 slots 6 ports 3 Gbps 0x23 impl SATA mode
ahci 0000:00:1f.2: flags: 64bit ncq sntf stag pm led clo pmp pio slum part ccc ems sxs
ahci 0000:00:1f.2: setting latency timer to 64
scsi0 : ahci
scsi1 : ahci
scsi2 : ahci
scsi3 : ahci
scsi4 : ahci
scsi5 : ahci
ata1: SATA max UDMA/133 abar m2048@0xf8600000 port 0xf8600100 irq 29
ata2: SATA max UDMA/133 abar m2048@0xf8600000 port 0xf8600180 irq 29
ata3: DUMMY
ata4: DUMMY
ata5: DUMMY
ata6: SATA max UDMA/133 abar m2048@0xf8600000 port 0xf8600380 irq 29
e1000e: Intel(R) PRO/1000 Network Driver - 1.0.2-k2
e1000e: Copyright (c) 1999 - 2009 Intel Corporation.
e1000e 0000:04:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
e1000e 0000:04:00.0: setting latency timer to 64
alloc irq_desc for 30 on node -1
alloc kstat_irqs on node -1
e1000e 0000:04:00.0: irq 30 for MSI/MSI-X
0000:04:00.0: eth0: (PCI Express:2.5GB/s:Width x1) 00:30:48:d3:33:67
0000:04:00.0: eth0: Intel(R) PRO/1000 Network Connection
0000:04:00.0: eth0: MAC: 2, PHY: 2, PBA No: 0100ff-0ff
e1000e 0000:05:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
e1000e 0000:05:00.0: setting latency timer to 64
alloc irq_desc for 31 on node -1
alloc kstat_irqs on node -1
e1000e 0000:05:00.0: irq 31 for MSI/MSI-X
0000:05:00.0: eth1: (PCI Express:2.5GB/s:Width x1) 00:30:48:d3:33:68
0000:05:00.0: eth1: Intel(R) PRO/1000 Network Connection
0000:05:00.0: eth1: MAC: 2, PHY: 2, PBA No: ffffff-0ff
ixgbe: Intel(R) 10 Gigabit PCI Express Network Driver - version 2.0.44-k2
ixgbe: Copyright (c) 1999-2010 Intel Corporation.
ixgbe 0000:01:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
ixgbe 0000:01:00.0: setting latency timer to 64
alloc irq_desc for 32 on node -1
alloc kstat_irqs on node -1
ixgbe 0000:01:00.0: irq 32 for MSI/MSI-X
alloc irq_desc for 33 on node -1
alloc kstat_irqs on node -1
ixgbe 0000:01:00.0: irq 33 for MSI/MSI-X
alloc irq_desc for 34 on node -1
alloc kstat_irqs on node -1
ixgbe 0000:01:00.0: irq 34 for MSI/MSI-X
alloc irq_desc for 35 on node -1
alloc kstat_irqs on node -1
ixgbe 0000:01:00.0: irq 35 for MSI/MSI-X
alloc irq_desc for 36 on node -1
alloc kstat_irqs on node -1
ixgbe 0000:01:00.0: irq 36 for MSI/MSI-X
alloc irq_desc for 37 on node -1
alloc kstat_irqs on node -1
ixgbe 0000:01:00.0: irq 37 for MSI/MSI-X
alloc irq_desc for 38 on node -1
alloc kstat_irqs on node -1
ixgbe 0000:01:00.0: irq 38 for MSI/MSI-X
alloc irq_desc for 39 on node -1
alloc kstat_irqs on node -1
ixgbe 0000:01:00.0: irq 39 for MSI/MSI-X
alloc irq_desc for 40 on node -1
alloc kstat_irqs on node -1
ixgbe 0000:01:00.0: irq 40 for MSI/MSI-X
ixgbe: 0000:01:00.0: ixgbe_init_interrupt_scheme: Multiqueue Enabled: Rx Queue count = 8, Tx Queue count = 8
ixgbe 0000:01:00.0: (PCI Express:2.5Gb/s:Width x8) 00:30:48:d3:33:66
ixgbe 0000:01:00.0: MAC: 1, PHY: 0, PBA No: ffffff-0ff
ixgbe 0000:01:00.0: Intel(R) 10 Gigabit Network Connection
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
alloc irq_desc for 22 on node -1
alloc kstat_irqs on node -1
ehci_hcd 0000:00:1a.7: PCI INT C -> GSI 22 (level, low) -> IRQ 22
ehci_hcd 0000:00:1a.7: setting latency timer to 64
ehci_hcd 0000:00:1a.7: EHCI Host Controller
ehci_hcd 0000:00:1a.7: new USB bus registered, assigned bus number 1
ehci_hcd 0000:00:1a.7: debug port 1
ehci_hcd 0000:00:1a.7: cache line size of 32 is not supported
ehci_hcd 0000:00:1a.7: irq 22, io mem 0xf8600800
ehci_hcd 0000:00:1a.7: USB 2.0 started, EHCI 1.00
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
alloc irq_desc for 23 on node -1
alloc kstat_irqs on node -1
ehci_hcd 0000:00:1d.7: PCI INT A -> GSI 23 (level, low) -> IRQ 23
ehci_hcd 0000:00:1d.7: setting latency timer to 64
ehci_hcd 0000:00:1d.7: EHCI Host Controller
ehci_hcd 0000:00:1d.7: new USB bus registered, assigned bus number 2
ehci_hcd 0000:00:1d.7: debug port 1
ehci_hcd 0000:00:1d.7: cache line size of 32 is not supported
ehci_hcd 0000:00:1d.7: irq 23, io mem 0xf8600c00
ehci_hcd 0000:00:1d.7: USB 2.0 started, EHCI 1.00
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 6 ports detected
uhci_hcd: USB Universal Host Controller Interface driver
alloc irq_desc for 20 on node -1
alloc kstat_irqs on node -1
uhci_hcd 0000:00:1a.0: PCI INT A -> GSI 20 (level, low) -> IRQ 20
uhci_hcd 0000:00:1a.0: setting latency timer to 64
uhci_hcd 0000:00:1a.0: UHCI Host Controller
uhci_hcd 0000:00:1a.0: new USB bus registered, assigned bus number 3
uhci_hcd 0000:00:1a.0: irq 20, io base 0x00001820
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 2 ports detected
uhci_hcd 0000:00:1d.0: PCI INT A -> GSI 23 (level, low) -> IRQ 23
uhci_hcd 0000:00:1d.0: setting latency timer to 64
uhci_hcd 0000:00:1d.0: UHCI Host Controller
uhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 4
uhci_hcd 0000:00:1d.0: irq 23, io base 0x00001840
hub 4-0:1.0: USB hub found
hub 4-0:1.0: 2 ports detected
uhci_hcd 0000:00:1d.1: PCI INT B -> GSI 22 (level, low) -> IRQ 22
uhci_hcd 0000:00:1d.1: setting latency timer to 64
uhci_hcd 0000:00:1d.1: UHCI Host Controller
uhci_hcd 0000:00:1d.1: new USB bus registered, assigned bus number 5
uhci_hcd 0000:00:1d.1: irq 22, io base 0x00001860
hub 5-0:1.0: USB hub found
hub 5-0:1.0: 2 ports detected
alloc irq_desc for 21 on node -1
alloc kstat_irqs on node -1
uhci_hcd 0000:00:1d.2: PCI INT C -> GSI 21 (level, low) -> IRQ 21
uhci_hcd 0000:00:1d.2: setting latency timer to 64
uhci_hcd 0000:00:1d.2: UHCI Host Controller
uhci_hcd 0000:00:1d.2: new USB bus registered, assigned bus number 6
uhci_hcd 0000:00:1d.2: irq 21, io base 0x00001880
hub 6-0:1.0: USB hub found
hub 6-0:1.0: 2 ports detected
PNP: No PS/2 controller found. Probing ports directly.
ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
ata1.00: failed to enable AA(error_mask=0x1)
ata1.00: ATA-8: ST3160310CS, SC14, max UDMA/133
ata1.00: 312581808 sectors, multi 0: LBA48 NCQ (depth 31/32)
ata1.00: failed to enable AA(error_mask=0x1)
ata1.00: configured for UDMA/133
scsi 0:0:0:0: Direct-Access ATA ST3160310CS SC14 PQ: 0 ANSI: 5
sd 0:0:0:0: [sda] 312581808 512-byte logical blocks: (160 GB/149 GiB)
sd 0:0:0:0: Attached scsi generic sg0 type 0
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
sda: sda1 sda2 sda3
sd 0:0:0:0: [sda] Attached SCSI disk
serio: i8042 KBD port at 0x60,0x64 irq 1
mice: PS/2 mouse device common for all mice
w83697hf/hg WDT: WDT driver for W83697HF/HG initializing
w83697hf/hg WDT: Looking for watchdog at address 0x2e
w83697hf/hg WDT: watchdog not found at address 0x2e
w83697hf/hg WDT: No W83697HF/HG could be found
md: raid1 personality registered for level 1
device-mapper: ioctl: 4.16.0-ioctl (2009-11-05) initialised: dm-devel@redhat.com
cpuidle: using governor ladder
usbcore: registered new interface driver hiddev
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
GACT probability NOT on
Mirror/redirect action on
u32 classifier
Actions configured
ip_tables: (C) 2000-2006 Netfilter Core Team
TCP cubic registered
NET: Registered protocol family 17
802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
All bugs added by David S. Miller <davem@redhat.com>
drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
ata2: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
ata2.00: failed to enable AA(error_mask=0x1)
ata2.00: ATA-8: ST3160310CS, SC14, max UDMA/133
ata2.00: 312581808 sectors, multi 0: LBA48 NCQ (depth 31/32)
ata2.00: failed to enable AA(error_mask=0x1)
ata2.00: configured for UDMA/133
scsi 1:0:0:0: Direct-Access ATA ST3160310CS SC14 PQ: 0 ANSI: 5
sd 1:0:0:0: [sdb] 312581808 512-byte logical blocks: (160 GB/149 GiB)
sd 1:0:0:0: Attached scsi generic sg1 type 0
sd 1:0:0:0: [sdb] Write Protect is off
sd 1:0:0:0: [sdb] Mode Sense: 00 3a 00 00
sd 1:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
sdb: sdb1 sdb2 sdb3
sd 1:0:0:0: [sdb] Attached SCSI disk
ata6: SATA link down (SStatus 0 SControl 300)
md: Waiting for all devices to be available before autodetect
md: If you don't use raid, use raid=noautodetect
md: Autodetecting RAID arrays.
md: Scanned 4 and added 4 devices.
md: autorun ...
md: considering sdb2 ...
md: adding sdb2 ...
md: sdb1 has different UUID to sdb2
md: adding sda2 ...
md: sda1 has different UUID to sdb2
md: created md2
md: bind<sda2>
md: bind<sdb2>
md: running: <sdb2><sda2>
raid1: raid set md2 active with 2 out of 2 mirrors
md2: detected capacity change from 0 to 34998452224
md: considering sdb1 ...
md: adding sdb1 ...
md: adding sda1 ...
md: created md1
md: bind<sda1>
md: bind<sdb1>
md: running: <sdb1><sda1>
raid1: raid set md1 active with 2 out of 2 mirrors
md1: detected capacity change from 0 to 1003356160
md: ... autorun DONE.
md2: unknown partition table
REISERFS (device md2): found reiserfs format "3.6" with standard journal
REISERFS (device md2): using ordered data mode
REISERFS (device md2): journal params: device md2, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30
REISERFS (device md2): checking transaction log (md2)
REISERFS (device md2): Using r5 hash to sort names
VFS: Mounted root (reiserfs filesystem) readonly on device 9:2.
Freeing unused kernel memory: 480k freed
md1: unknown partition table
Unable to find swap-space signature
Unable to find swap-space signature
^ permalink raw reply
* Re: [Bugme-new] [Bug 15239] New: Problem with network performance after a while.
From: Paweł Staszewski @ 2010-02-09 7:46 UTC (permalink / raw)
To: Eric Dumazet
Cc: David Miller, akpm, netdev, e1000-devel, bugzilla-daemon,
bugme-daemon, jeffrey.t.kirsher, jesse.brandeburg, bruce.w.allan,
alexander.h.duyck, peter.p.waskiewicz.jr, john.ronciak,
pstaszewski, stable
In-Reply-To: <1265700977.4236.127.camel@edumazet-laptop>
W dniu 2010-02-09 08:36, Eric Dumazet pisze:
> Le mardi 09 février 2010 à 08:19 +0100, Paweł Staszewski a écrit :
>
>> W dniu 2010-02-08 23:55, David Miller pisze:
>>
>>> From: Andrew Morton<akpm@linux-foundation.org>
>>> Date: Mon, 8 Feb 2010 14:15:13 -0800
>>>
>>>
>>>
>>>> That would be bad. That's a regression in 2.6.33-rc, and we've
>>>> backported that regression into 2.6.32.x -stable.
>>>>
>>>>
>>> Luckily we have a fix already. :-)
>>>
>>>
>> Yes - i make bugreport and after i write also here on the list
>>
>> And Eric Dumazet help to solve problem with "route cache" - and locking
>> load on one cpu after information about "route cache disabled".
>>
>> After his patch i don't see any errors in dmesg.
>>
>>
> OK, but this is real old bug (since 2.6.24), not a 2.6.32/2.6.33
> regression...
>
> You were just lucky not hitting it before, probably because you tried
> different settings.
>
>
>
Yes i think it was all about change of settings.
I start to search what settings will be the best - with some experiments
- about what will happen if....
> --
> To unsubscribe from this list: send the line "unsubscribe netdev" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
>
>
^ permalink raw reply
* [PATCH 00/13] net: simplify seq_file code, revised
From: Li Zefan @ 2010-02-09 9:18 UTC (permalink / raw)
To: David Miller; +Cc: Andrew Morton, LKML, netdev@vger.kernel.org
This patchset introduces seq_hlist_foo() helpers, and convert
net/* to seq_hlist_foo() and seq_list_foo().
Changelog:
- Add kerneldoc in patch 1/13
- Fix compile warning in patch 11/13
- Fix a bug in patch 12/13
---
fs/seq_file.c | 60 ++++++++++++++++++++-
include/linux/seq_file.h | 11 ++++
include/net/sock.h | 5 ++
net/appletalk/atalk_proc.c | 30 +----------
net/atm/proc.c | 2 +-
net/atm/resources.c | 28 +++--------
net/ax25/af_ax25.c | 18 +-----
net/ax25/ax25_uid.c | 25 ++--------
net/ipx/ipx_proc.c | 90 ++++----------------------------
net/irda/irlan/irlan_common.c | 28 ++---------
net/key/af_key.c | 20 +------
net/netrom/af_netrom.c | 21 +-------
net/netrom/nr_route.c | 53 +++----------------
net/packet/af_packet.c | 20 +------
net/rose/af_rose.c | 22 +-------
net/x25/x25_proc.c | 114 ++++-------------------------------------
16 files changed, 139 insertions(+), 408 deletions(-)
^ permalink raw reply
* [PATCH 01/13] seq_file: Add helpers for iteration over a hlist
From: Li Zefan @ 2010-02-09 9:18 UTC (permalink / raw)
To: David Miller; +Cc: Andrew Morton, LKML, netdev@vger.kernel.org
In-Reply-To: <4B712849.9040400@cn.fujitsu.com>
Some places in kernel need to iterate over a hlist in seq_file,
so provide some common helpers.
Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
---
fs/seq_file.c | 60 +++++++++++++++++++++++++++++++++++++++++++--
include/linux/seq_file.h | 11 ++++++++
2 files changed, 68 insertions(+), 3 deletions(-)
diff --git a/fs/seq_file.c b/fs/seq_file.c
index eae7d9d..ff91aef 100644
--- a/fs/seq_file.c
+++ b/fs/seq_file.c
@@ -674,7 +674,6 @@ struct list_head *seq_list_start(struct list_head *head, loff_t pos)
return NULL;
}
-
EXPORT_SYMBOL(seq_list_start);
struct list_head *seq_list_start_head(struct list_head *head, loff_t pos)
@@ -684,7 +683,6 @@ struct list_head *seq_list_start_head(struct list_head *head, loff_t pos)
return seq_list_start(head, pos - 1);
}
-
EXPORT_SYMBOL(seq_list_start_head);
struct list_head *seq_list_next(void *v, struct list_head *head, loff_t *ppos)
@@ -695,5 +693,61 @@ struct list_head *seq_list_next(void *v, struct list_head *head, loff_t *ppos)
++*ppos;
return lh == head ? NULL : lh;
}
-
EXPORT_SYMBOL(seq_list_next);
+
+/**
+ * seq_hlist_start - start an iteration of a hlist
+ * @head: the head of the hlist
+ * @pos: the start position of the sequence
+ *
+ * Called at seq_file->op->start().
+ */
+struct hlist_node *seq_hlist_start(struct hlist_head *head, loff_t pos)
+{
+ struct hlist_node *node;
+
+ hlist_for_each(node, head)
+ if (pos-- == 0)
+ return node;
+ return NULL;
+}
+EXPORT_SYMBOL(seq_hlist_start);
+
+/**
+ * seq_hlist_start_head - start an iteration of a hlist
+ * @head: the head of the hlist
+ * @pos: the start position of the sequence
+ *
+ * Called at seq_file->op->start(). Call this function if you want to
+ * print a header at the top of the output.
+ */
+struct hlist_node *seq_hlist_start_head(struct hlist_head *head, loff_t pos)
+{
+ if (!pos)
+ return SEQ_START_TOKEN;
+
+ return seq_hlist_start(head, pos - 1);
+}
+EXPORT_SYMBOL(seq_hlist_start_head);
+
+/**
+ * seq_hlist_next - move to the next position of the hlist
+ * @v: the current iterator
+ * @head: the head of the hlist
+ * @pos: the current posision
+ *
+ * Called at seq_file->op->next().
+ */
+struct hlist_node *seq_hlist_next(void *v, struct hlist_head *head,
+ loff_t *ppos)
+{
+ struct hlist_node *node = v;
+
+ ++*ppos;
+ if (v == SEQ_START_TOKEN)
+ return head->first;
+ else
+ return node->next;
+}
+EXPORT_SYMBOL(seq_hlist_next);
+
diff --git a/include/linux/seq_file.h b/include/linux/seq_file.h
index 8366d8f..c95bcdc 100644
--- a/include/linux/seq_file.h
+++ b/include/linux/seq_file.h
@@ -135,4 +135,15 @@ extern struct list_head *seq_list_start_head(struct list_head *head,
extern struct list_head *seq_list_next(void *v, struct list_head *head,
loff_t *ppos);
+/*
+ * Helpers for iteration over hlist_head-s in seq_files
+ */
+
+extern struct hlist_node *seq_hlist_start(struct hlist_head *head,
+ loff_t pos);
+extern struct hlist_node *seq_hlist_start_head(struct hlist_head *head,
+ loff_t pos);
+extern struct hlist_node *seq_hlist_next(void *v, struct hlist_head *head,
+ loff_t *ppos);
+
#endif
--
1.6.3
^ permalink raw reply related
* [PATCH 02/13] net: add a wrapper sk_entry()
From: Li Zefan @ 2010-02-09 9:18 UTC (permalink / raw)
To: David Miller; +Cc: Andrew Morton, LKML, netdev@vger.kernel.org
In-Reply-To: <4B712849.9040400@cn.fujitsu.com>
Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
---
include/net/sock.h | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/include/net/sock.h b/include/net/sock.h
index 3f1a480..c8d4000 100644
--- a/include/net/sock.h
+++ b/include/net/sock.h
@@ -317,6 +317,11 @@ struct sock {
/*
* Hashed lists helper routines
*/
+static inline struct sock *sk_entry(const struct hlist_node *node)
+{
+ return hlist_entry(node, struct sock, sk_node);
+}
+
static inline struct sock *__sk_head(const struct hlist_head *head)
{
return hlist_entry(head->first, struct sock, sk_node);
--
1.6.3
^ permalink raw reply related
* [PATCH 03/13] net: x25: use seq_hlist_foo() helpers
From: Li Zefan @ 2010-02-09 9:19 UTC (permalink / raw)
To: David Miller; +Cc: Andrew Morton, LKML, netdev@vger.kernel.org
In-Reply-To: <4B712849.9040400@cn.fujitsu.com>
Simplify seq_file code.
Signed-off-by: Li Zefan <lizf@cn.fujtisu.com>
---
net/x25/x25_proc.c | 30 +++---------------------------
1 files changed, 3 insertions(+), 27 deletions(-)
diff --git a/net/x25/x25_proc.c b/net/x25/x25_proc.c
index 0a04e62..c4cd322 100644
--- a/net/x25/x25_proc.c
+++ b/net/x25/x25_proc.c
@@ -93,40 +93,16 @@ out:
return 0;
}
-static __inline__ struct sock *x25_get_socket_idx(loff_t pos)
-{
- struct sock *s;
- struct hlist_node *node;
-
- sk_for_each(s, node, &x25_list)
- if (!pos--)
- goto found;
- s = NULL;
-found:
- return s;
-}
-
static void *x25_seq_socket_start(struct seq_file *seq, loff_t *pos)
__acquires(x25_list_lock)
{
- loff_t l = *pos;
-
read_lock_bh(&x25_list_lock);
- return l ? x25_get_socket_idx(--l) : SEQ_START_TOKEN;
+ return seq_hlist_start_head(&x25_list, *pos);
}
static void *x25_seq_socket_next(struct seq_file *seq, void *v, loff_t *pos)
{
- struct sock *s;
-
- ++*pos;
- if (v == SEQ_START_TOKEN) {
- s = sk_head(&x25_list);
- goto out;
- }
- s = sk_next(v);
-out:
- return s;
+ return seq_hlist_next(v, &x25_list, pos);
}
static void x25_seq_socket_stop(struct seq_file *seq, void *v)
@@ -148,7 +124,7 @@ static int x25_seq_socket_show(struct seq_file *seq, void *v)
goto out;
}
- s = v;
+ s = sk_entry(v);
x25 = x25_sk(s);
if (!x25->neighbour || (dev = x25->neighbour->dev) == NULL)
--
1.6.3
^ permalink raw reply related
* [PATCH 04/13] net: rose: use seq_hlist_foo() helpers
From: Li Zefan @ 2010-02-09 9:19 UTC (permalink / raw)
To: David Miller; +Cc: Andrew Morton, LKML, netdev@vger.kernel.org
In-Reply-To: <4B712849.9040400@cn.fujitsu.com>
Simplify seq_file code.
Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
---
net/rose/af_rose.c | 22 +++-------------------
1 files changed, 3 insertions(+), 19 deletions(-)
diff --git a/net/rose/af_rose.c b/net/rose/af_rose.c
index 8feb9e5..e90b9b6 100644
--- a/net/rose/af_rose.c
+++ b/net/rose/af_rose.c
@@ -1404,29 +1404,13 @@ static int rose_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg)
static void *rose_info_start(struct seq_file *seq, loff_t *pos)
__acquires(rose_list_lock)
{
- int i;
- struct sock *s;
- struct hlist_node *node;
-
spin_lock_bh(&rose_list_lock);
- if (*pos == 0)
- return SEQ_START_TOKEN;
-
- i = 1;
- sk_for_each(s, node, &rose_list) {
- if (i == *pos)
- return s;
- ++i;
- }
- return NULL;
+ return seq_hlist_start_head(&rose_list, *pos);
}
static void *rose_info_next(struct seq_file *seq, void *v, loff_t *pos)
{
- ++*pos;
-
- return (v == SEQ_START_TOKEN) ? sk_head(&rose_list)
- : sk_next((struct sock *)v);
+ return seq_hlist_next(v, &rose_list, pos);
}
static void rose_info_stop(struct seq_file *seq, void *v)
@@ -1444,7 +1428,7 @@ static int rose_info_show(struct seq_file *seq, void *v)
"dest_addr dest_call src_addr src_call dev lci neigh st vs vr va t t1 t2 t3 hb idle Snd-Q Rcv-Q inode\n");
else {
- struct sock *s = v;
+ struct sock *s = sk_entry(v);
struct rose_sock *rose = rose_sk(s);
const char *devname, *callsign;
const struct net_device *dev = rose->device;
--
1.6.3
^ permalink raw reply related
* [PATCH 05/13] net: packet: use seq_hlist_foo() helpers
From: Li Zefan @ 2010-02-09 9:19 UTC (permalink / raw)
To: David Miller; +Cc: Andrew Morton, LKML, netdev@vger.kernel.org
In-Reply-To: <4B712849.9040400@cn.fujitsu.com>
Simplify seq_file code.
Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
---
net/packet/af_packet.c | 20 +++-----------------
1 files changed, 3 insertions(+), 17 deletions(-)
diff --git a/net/packet/af_packet.c b/net/packet/af_packet.c
index 0f6bf59..256de26 100644
--- a/net/packet/af_packet.c
+++ b/net/packet/af_packet.c
@@ -2374,33 +2374,19 @@ static struct notifier_block packet_netdev_notifier = {
};
#ifdef CONFIG_PROC_FS
-static inline struct sock *packet_seq_idx(struct net *net, loff_t off)
-{
- struct sock *s;
- struct hlist_node *node;
-
- sk_for_each(s, node, &net->packet.sklist) {
- if (!off--)
- return s;
- }
- return NULL;
-}
static void *packet_seq_start(struct seq_file *seq, loff_t *pos)
__acquires(seq_file_net(seq)->packet.sklist_lock)
{
struct net *net = seq_file_net(seq);
read_lock(&net->packet.sklist_lock);
- return *pos ? packet_seq_idx(net, *pos - 1) : SEQ_START_TOKEN;
+ return seq_hlist_start_head(&net->packet.sklist, *pos);
}
static void *packet_seq_next(struct seq_file *seq, void *v, loff_t *pos)
{
struct net *net = seq_file_net(seq);
- ++*pos;
- return (v == SEQ_START_TOKEN)
- ? sk_head(&net->packet.sklist)
- : sk_next((struct sock *)v) ;
+ return seq_hlist_next(v, &net->packet.sklist, pos);
}
static void packet_seq_stop(struct seq_file *seq, void *v)
@@ -2415,7 +2401,7 @@ static int packet_seq_show(struct seq_file *seq, void *v)
if (v == SEQ_START_TOKEN)
seq_puts(seq, "sk RefCnt Type Proto Iface R Rmem User Inode\n");
else {
- struct sock *s = v;
+ struct sock *s = sk_entry(v);
const struct packet_sock *po = pkt_sk(s);
seq_printf(seq,
--
1.6.3
^ permalink raw reply related
* [PATCH 07/13] net: ax25: use seq_hlist_foo() helpers
From: Li Zefan @ 2010-02-09 9:19 UTC (permalink / raw)
To: David Miller; +Cc: Andrew Morton, LKML, netdev@vger.kernel.org
In-Reply-To: <4B712849.9040400@cn.fujitsu.com>
Simplify seq_file code.
Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
---
net/ax25/af_ax25.c | 18 +++---------------
net/ax25/ax25_uid.c | 25 ++++---------------------
2 files changed, 7 insertions(+), 36 deletions(-)
diff --git a/net/ax25/af_ax25.c b/net/ax25/af_ax25.c
index 5588ba6..a5beedf 100644
--- a/net/ax25/af_ax25.c
+++ b/net/ax25/af_ax25.c
@@ -1863,25 +1863,13 @@ static int ax25_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg)
static void *ax25_info_start(struct seq_file *seq, loff_t *pos)
__acquires(ax25_list_lock)
{
- struct ax25_cb *ax25;
- struct hlist_node *node;
- int i = 0;
-
spin_lock_bh(&ax25_list_lock);
- ax25_for_each(ax25, node, &ax25_list) {
- if (i == *pos)
- return ax25;
- ++i;
- }
- return NULL;
+ return seq_hlist_start(&ax25_list, *pos);
}
static void *ax25_info_next(struct seq_file *seq, void *v, loff_t *pos)
{
- ++*pos;
-
- return hlist_entry( ((struct ax25_cb *)v)->ax25_node.next,
- struct ax25_cb, ax25_node);
+ return seq_hlist_next(v, &ax25_list, pos);
}
static void ax25_info_stop(struct seq_file *seq, void *v)
@@ -1892,7 +1880,7 @@ static void ax25_info_stop(struct seq_file *seq, void *v)
static int ax25_info_show(struct seq_file *seq, void *v)
{
- ax25_cb *ax25 = v;
+ ax25_cb *ax25 = hlist_entry(v, struct ax25_cb, ax25_node);
char buf[11];
int k;
diff --git a/net/ax25/ax25_uid.c b/net/ax25/ax25_uid.c
index 832bcf0..9f13f6e 100644
--- a/net/ax25/ax25_uid.c
+++ b/net/ax25/ax25_uid.c
@@ -146,31 +146,13 @@ int ax25_uid_ioctl(int cmd, struct sockaddr_ax25 *sax)
static void *ax25_uid_seq_start(struct seq_file *seq, loff_t *pos)
__acquires(ax25_uid_lock)
{
- struct ax25_uid_assoc *pt;
- struct hlist_node *node;
- int i = 1;
-
read_lock(&ax25_uid_lock);
-
- if (*pos == 0)
- return SEQ_START_TOKEN;
-
- ax25_uid_for_each(pt, node, &ax25_uid_list) {
- if (i == *pos)
- return pt;
- ++i;
- }
- return NULL;
+ return seq_hlist_start_head(&ax25_uid_list, *pos);
}
static void *ax25_uid_seq_next(struct seq_file *seq, void *v, loff_t *pos)
{
- ++*pos;
- if (v == SEQ_START_TOKEN)
- return ax25_uid_list.first;
- else
- return hlist_entry(((ax25_uid_assoc *)v)->uid_node.next,
- ax25_uid_assoc, uid_node);
+ return seq_hlist_next(v, &ax25_uid_list, pos);
}
static void ax25_uid_seq_stop(struct seq_file *seq, void *v)
@@ -186,8 +168,9 @@ static int ax25_uid_seq_show(struct seq_file *seq, void *v)
if (v == SEQ_START_TOKEN)
seq_printf(seq, "Policy: %d\n", ax25_uid_policy);
else {
- struct ax25_uid_assoc *pt = v;
+ struct ax25_uid_assoc *pt;
+ pt = hlist_entry(v, struct ax25_uid_assoc, uid_node);
seq_printf(seq, "%6d %s\n", pt->uid, ax2asc(buf, &pt->call));
}
return 0;
--
1.6.3
^ permalink raw reply related
* [PATCH 08/13] net: appletalk: use seq_hlist_foo() helpers
From: Li Zefan @ 2010-02-09 9:20 UTC (permalink / raw)
To: David Miller; +Cc: Andrew Morton, LKML, netdev@vger.kernel.org
In-Reply-To: <4B712849.9040400@cn.fujitsu.com>
Simplify seq_file code.
Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
---
net/appletalk/atalk_proc.c | 30 +++---------------------------
1 files changed, 3 insertions(+), 27 deletions(-)
diff --git a/net/appletalk/atalk_proc.c b/net/appletalk/atalk_proc.c
index 80caad1..6ef0e76 100644
--- a/net/appletalk/atalk_proc.c
+++ b/net/appletalk/atalk_proc.c
@@ -144,40 +144,16 @@ out:
return 0;
}
-static __inline__ struct sock *atalk_get_socket_idx(loff_t pos)
-{
- struct sock *s;
- struct hlist_node *node;
-
- sk_for_each(s, node, &atalk_sockets)
- if (!pos--)
- goto found;
- s = NULL;
-found:
- return s;
-}
-
static void *atalk_seq_socket_start(struct seq_file *seq, loff_t *pos)
__acquires(atalk_sockets_lock)
{
- loff_t l = *pos;
-
read_lock_bh(&atalk_sockets_lock);
- return l ? atalk_get_socket_idx(--l) : SEQ_START_TOKEN;
+ return seq_hlist_start_head(&atalk_sockets, *pos);
}
static void *atalk_seq_socket_next(struct seq_file *seq, void *v, loff_t *pos)
{
- struct sock *i;
-
- ++*pos;
- if (v == SEQ_START_TOKEN) {
- i = sk_head(&atalk_sockets);
- goto out;
- }
- i = sk_next(v);
-out:
- return i;
+ return seq_hlist_next(v, &atalk_sockets, pos);
}
static void atalk_seq_socket_stop(struct seq_file *seq, void *v)
@@ -197,7 +173,7 @@ static int atalk_seq_socket_show(struct seq_file *seq, void *v)
goto out;
}
- s = v;
+ s = sk_entry(v);
at = at_sk(s);
seq_printf(seq, "%02X %04X:%02X:%02X %04X:%02X:%02X %08X:%08X "
--
1.6.3
^ permalink raw reply related
* [PATCH 06/13] net: netrom: use seq_hlist_foo() helpers
From: Li Zefan @ 2010-02-09 9:19 UTC (permalink / raw)
To: David Miller; +Cc: Andrew Morton, LKML, netdev@vger.kernel.org
In-Reply-To: <4B712849.9040400@cn.fujitsu.com>
Simplify seq_file code.
Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
---
net/netrom/af_netrom.c | 21 ++----------------
net/netrom/nr_route.c | 53 ++++++++---------------------------------------
2 files changed, 12 insertions(+), 62 deletions(-)
diff --git a/net/netrom/af_netrom.c b/net/netrom/af_netrom.c
index 71604c6..a249127 100644
--- a/net/netrom/af_netrom.c
+++ b/net/netrom/af_netrom.c
@@ -1267,28 +1267,13 @@ static int nr_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg)
static void *nr_info_start(struct seq_file *seq, loff_t *pos)
{
- struct sock *s;
- struct hlist_node *node;
- int i = 1;
-
spin_lock_bh(&nr_list_lock);
- if (*pos == 0)
- return SEQ_START_TOKEN;
-
- sk_for_each(s, node, &nr_list) {
- if (i == *pos)
- return s;
- ++i;
- }
- return NULL;
+ return seq_hlist_start_head(&nr_list, *pos);
}
static void *nr_info_next(struct seq_file *seq, void *v, loff_t *pos)
{
- ++*pos;
-
- return (v == SEQ_START_TOKEN) ? sk_head(&nr_list)
- : sk_next((struct sock *)v);
+ return seq_hlist_next(v, &nr_list, pos);
}
static void nr_info_stop(struct seq_file *seq, void *v)
@@ -1298,7 +1283,7 @@ static void nr_info_stop(struct seq_file *seq, void *v)
static int nr_info_show(struct seq_file *seq, void *v)
{
- struct sock *s = v;
+ struct sock *s = sk_entry(v);
struct net_device *dev;
struct nr_sock *nr;
const char *devname;
diff --git a/net/netrom/nr_route.c b/net/netrom/nr_route.c
index e2e2d33..5cc6480 100644
--- a/net/netrom/nr_route.c
+++ b/net/netrom/nr_route.c
@@ -863,33 +863,13 @@ int nr_route_frame(struct sk_buff *skb, ax25_cb *ax25)
static void *nr_node_start(struct seq_file *seq, loff_t *pos)
{
- struct nr_node *nr_node;
- struct hlist_node *node;
- int i = 1;
-
spin_lock_bh(&nr_node_list_lock);
- if (*pos == 0)
- return SEQ_START_TOKEN;
-
- nr_node_for_each(nr_node, node, &nr_node_list) {
- if (i == *pos)
- return nr_node;
- ++i;
- }
-
- return NULL;
+ return seq_hlist_start_head(&nr_node_list, *pos);
}
static void *nr_node_next(struct seq_file *seq, void *v, loff_t *pos)
{
- struct hlist_node *node;
- ++*pos;
-
- node = (v == SEQ_START_TOKEN)
- ? nr_node_list.first
- : ((struct nr_node *)v)->node_node.next;
-
- return hlist_entry(node, struct nr_node, node_node);
+ return seq_hlist_next(v, &nr_node_list, pos);
}
static void nr_node_stop(struct seq_file *seq, void *v)
@@ -906,7 +886,9 @@ static int nr_node_show(struct seq_file *seq, void *v)
seq_puts(seq,
"callsign mnemonic w n qual obs neigh qual obs neigh qual obs neigh\n");
else {
- struct nr_node *nr_node = v;
+ struct nr_node *nr_node = hlist_entry(v, struct nr_node,
+ node_node);
+
nr_node_lock(nr_node);
seq_printf(seq, "%-9s %-7s %d %d",
ax2asc(buf, &nr_node->callsign),
@@ -949,31 +931,13 @@ const struct file_operations nr_nodes_fops = {
static void *nr_neigh_start(struct seq_file *seq, loff_t *pos)
{
- struct nr_neigh *nr_neigh;
- struct hlist_node *node;
- int i = 1;
-
spin_lock_bh(&nr_neigh_list_lock);
- if (*pos == 0)
- return SEQ_START_TOKEN;
-
- nr_neigh_for_each(nr_neigh, node, &nr_neigh_list) {
- if (i == *pos)
- return nr_neigh;
- }
- return NULL;
+ return seq_hlist_start_head(&nr_neigh_list, *pos);
}
static void *nr_neigh_next(struct seq_file *seq, void *v, loff_t *pos)
{
- struct hlist_node *node;
- ++*pos;
-
- node = (v == SEQ_START_TOKEN)
- ? nr_neigh_list.first
- : ((struct nr_neigh *)v)->neigh_node.next;
-
- return hlist_entry(node, struct nr_neigh, neigh_node);
+ return seq_hlist_next(v, &nr_neigh_list, pos);
}
static void nr_neigh_stop(struct seq_file *seq, void *v)
@@ -989,8 +953,9 @@ static int nr_neigh_show(struct seq_file *seq, void *v)
if (v == SEQ_START_TOKEN)
seq_puts(seq, "addr callsign dev qual lock count failed digipeaters\n");
else {
- struct nr_neigh *nr_neigh = v;
+ struct nr_neigh *nr_neigh;
+ nr_neigh = hlist_entry(v, struct nr_neigh, neigh_node);
seq_printf(seq, "%05d %-9s %-4s %3d %d %3d %3d",
nr_neigh->number,
ax2asc(buf, &nr_neigh->callsign),
--
1.6.3
^ permalink raw reply related
* [PATCH 09/13] net: af_key: use seq_hlist_foo() helpers
From: Li Zefan @ 2010-02-09 9:20 UTC (permalink / raw)
To: David Miller; +Cc: Andrew Morton, LKML, netdev@vger.kernel.org
In-Reply-To: <4B712849.9040400@cn.fujitsu.com>
Simplify seq_file code.
Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
---
net/key/af_key.c | 20 +++-----------------
1 files changed, 3 insertions(+), 17 deletions(-)
diff --git a/net/key/af_key.c b/net/key/af_key.c
index 76fa6fe..cb006b6 100644
--- a/net/key/af_key.c
+++ b/net/key/af_key.c
@@ -3655,9 +3655,8 @@ static const struct net_proto_family pfkey_family_ops = {
#ifdef CONFIG_PROC_FS
static int pfkey_seq_show(struct seq_file *f, void *v)
{
- struct sock *s;
+ struct sock *s = sk_entry(v);
- s = (struct sock *)v;
if (v == SEQ_START_TOKEN)
seq_printf(f ,"sk RefCnt Rmem Wmem User Inode\n");
else
@@ -3676,19 +3675,9 @@ static void *pfkey_seq_start(struct seq_file *f, loff_t *ppos)
{
struct net *net = seq_file_net(f);
struct netns_pfkey *net_pfkey = net_generic(net, pfkey_net_id);
- struct sock *s;
- struct hlist_node *node;
- loff_t pos = *ppos;
read_lock(&pfkey_table_lock);
- if (pos == 0)
- return SEQ_START_TOKEN;
-
- sk_for_each(s, node, &net_pfkey->table)
- if (pos-- == 1)
- return s;
-
- return NULL;
+ return seq_hlist_start_head(&net_pfkey->table, *ppos);
}
static void *pfkey_seq_next(struct seq_file *f, void *v, loff_t *ppos)
@@ -3696,10 +3685,7 @@ static void *pfkey_seq_next(struct seq_file *f, void *v, loff_t *ppos)
struct net *net = seq_file_net(f);
struct netns_pfkey *net_pfkey = net_generic(net, pfkey_net_id);
- ++*ppos;
- return (v == SEQ_START_TOKEN) ?
- sk_head(&net_pfkey->table) :
- sk_next((struct sock *)v);
+ return seq_hlist_next(v, &net_pfkey->table, ppos);
}
static void pfkey_seq_stop(struct seq_file *f, void *v)
--
1.6.3
^ permalink raw reply related
* [PATCH 11/13] net: irda: use seq_list_foo() helpers
From: Li Zefan @ 2010-02-09 9:21 UTC (permalink / raw)
To: David Miller
Cc: Andrew Morton, LKML, netdev@vger.kernel.org, Paulius Zaleckas
In-Reply-To: <4B712849.9040400@cn.fujitsu.com>
Simplify seq_file code.
Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
---
net/irda/irlan/irlan_common.c | 28 ++++------------------------
1 files changed, 4 insertions(+), 24 deletions(-)
diff --git a/net/irda/irlan/irlan_common.c b/net/irda/irlan/irlan_common.c
index 315ead3..98911c4 100644
--- a/net/irda/irlan/irlan_common.c
+++ b/net/irda/irlan/irlan_common.c
@@ -1128,34 +1128,14 @@ int irlan_extract_param(__u8 *buf, char *name, char *value, __u16 *len)
*/
static void *irlan_seq_start(struct seq_file *seq, loff_t *pos)
{
- int i = 1;
- struct irlan_cb *self;
-
rcu_read_lock();
- if (*pos == 0)
- return SEQ_START_TOKEN;
-
- list_for_each_entry(self, &irlans, dev_list) {
- if (*pos == i)
- return self;
- ++i;
- }
- return NULL;
+ return seq_list_start_head(&irlans, *pos);
}
/* Return entry after v, and increment pos */
static void *irlan_seq_next(struct seq_file *seq, void *v, loff_t *pos)
{
- struct list_head *nxt;
-
- ++*pos;
- if (v == SEQ_START_TOKEN)
- nxt = irlans.next;
- else
- nxt = ((struct irlan_cb *)v)->dev_list.next;
-
- return (nxt == &irlans) ? NULL
- : list_entry(nxt, struct irlan_cb, dev_list);
+ return seq_list_next(v, &irlans, pos);
}
/* End of reading /proc file */
@@ -1170,10 +1150,10 @@ static void irlan_seq_stop(struct seq_file *seq, void *v)
*/
static int irlan_seq_show(struct seq_file *seq, void *v)
{
- if (v == SEQ_START_TOKEN)
+ if (v == &irlans)
seq_puts(seq, "IrLAN instances:\n");
else {
- struct irlan_cb *self = v;
+ struct irlan_cb *self = list_entry(v, struct irlan_cb, list);
IRDA_ASSERT(self != NULL, return -1;);
IRDA_ASSERT(self->magic == IRLAN_MAGIC, return -1;);
--
1.6.3
^ permalink raw reply related
* [PATCH 12/13] net: ipx: use seq_list_foo() helpers
From: Li Zefan @ 2010-02-09 9:21 UTC (permalink / raw)
To: David Miller; +Cc: Andrew Morton, LKML, netdev@vger.kernel.org
In-Reply-To: <4B712849.9040400@cn.fujitsu.com>
Simplify seq_file code.
Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
---
net/ipx/ipx_proc.c | 90 +++++++---------------------------------------------
1 files changed, 12 insertions(+), 78 deletions(-)
diff --git a/net/ipx/ipx_proc.c b/net/ipx/ipx_proc.c
index 5761784..26b5bfc 100644
--- a/net/ipx/ipx_proc.c
+++ b/net/ipx/ipx_proc.c
@@ -13,45 +13,15 @@
#include <net/tcp_states.h>
#include <net/ipx.h>
-static __inline__ struct ipx_interface *ipx_get_interface_idx(loff_t pos)
-{
- struct ipx_interface *i;
-
- list_for_each_entry(i, &ipx_interfaces, node)
- if (!pos--)
- goto out;
- i = NULL;
-out:
- return i;
-}
-
-static struct ipx_interface *ipx_interfaces_next(struct ipx_interface *i)
-{
- struct ipx_interface *rc = NULL;
-
- if (i->node.next != &ipx_interfaces)
- rc = list_entry(i->node.next, struct ipx_interface, node);
- return rc;
-}
-
static void *ipx_seq_interface_start(struct seq_file *seq, loff_t *pos)
{
- loff_t l = *pos;
-
spin_lock_bh(&ipx_interfaces_lock);
- return l ? ipx_get_interface_idx(--l) : SEQ_START_TOKEN;
+ return seq_list_start_head(&ipx_interfaces, *pos);
}
static void *ipx_seq_interface_next(struct seq_file *seq, void *v, loff_t *pos)
{
- struct ipx_interface *i;
-
- ++*pos;
- if (v == SEQ_START_TOKEN)
- i = ipx_interfaces_head();
- else
- i = ipx_interfaces_next(v);
- return i;
+ return seq_list_next(v, &ipx_interfaces, pos);
}
static void ipx_seq_interface_stop(struct seq_file *seq, void *v)
@@ -63,7 +33,7 @@ static int ipx_seq_interface_show(struct seq_file *seq, void *v)
{
struct ipx_interface *i;
- if (v == SEQ_START_TOKEN) {
+ if (v == &ipx_interfaces) {
seq_puts(seq, "Network Node_Address Primary Device "
"Frame_Type");
#ifdef IPX_REFCNT_DEBUG
@@ -73,7 +43,7 @@ static int ipx_seq_interface_show(struct seq_file *seq, void *v)
goto out;
}
- i = v;
+ i = list_entry(v, struct ipx_interface, node);
seq_printf(seq, "%08lX ", (unsigned long int)ntohl(i->if_netnum));
seq_printf(seq, "%02X%02X%02X%02X%02X%02X ",
i->if_node[0], i->if_node[1], i->if_node[2],
@@ -89,53 +59,15 @@ out:
return 0;
}
-static struct ipx_route *ipx_routes_head(void)
-{
- struct ipx_route *rc = NULL;
-
- if (!list_empty(&ipx_routes))
- rc = list_entry(ipx_routes.next, struct ipx_route, node);
- return rc;
-}
-
-static struct ipx_route *ipx_routes_next(struct ipx_route *r)
-{
- struct ipx_route *rc = NULL;
-
- if (r->node.next != &ipx_routes)
- rc = list_entry(r->node.next, struct ipx_route, node);
- return rc;
-}
-
-static __inline__ struct ipx_route *ipx_get_route_idx(loff_t pos)
-{
- struct ipx_route *r;
-
- list_for_each_entry(r, &ipx_routes, node)
- if (!pos--)
- goto out;
- r = NULL;
-out:
- return r;
-}
-
static void *ipx_seq_route_start(struct seq_file *seq, loff_t *pos)
{
- loff_t l = *pos;
read_lock_bh(&ipx_routes_lock);
- return l ? ipx_get_route_idx(--l) : SEQ_START_TOKEN;
+ return seq_list_start_head(&ipx_routes, *pos);
}
static void *ipx_seq_route_next(struct seq_file *seq, void *v, loff_t *pos)
{
- struct ipx_route *r;
-
- ++*pos;
- if (v == SEQ_START_TOKEN)
- r = ipx_routes_head();
- else
- r = ipx_routes_next(v);
- return r;
+ return seq_list_next(v, &ipx_routes, pos);
}
static void ipx_seq_route_stop(struct seq_file *seq, void *v)
@@ -147,11 +79,13 @@ static int ipx_seq_route_show(struct seq_file *seq, void *v)
{
struct ipx_route *rt;
- if (v == SEQ_START_TOKEN) {
+ if (v == &ipx_routes) {
seq_puts(seq, "Network Router_Net Router_Node\n");
goto out;
}
- rt = v;
+
+ rt = list_entry(v, struct ipx_route, node);
+
seq_printf(seq, "%08lX ", (unsigned long int)ntohl(rt->ir_net));
if (rt->ir_routed)
seq_printf(seq, "%08lX %02X%02X%02X%02X%02X%02X\n",
@@ -226,9 +160,9 @@ static void *ipx_seq_socket_next(struct seq_file *seq, void *v, loff_t *pos)
spin_unlock_bh(&i->if_sklist_lock);
sk = NULL;
for (;;) {
- i = ipx_interfaces_next(i);
- if (!i)
+ if (i->node.next == &ipx_interfaces)
break;
+ i = list_entry(i->node.next, struct ipx_interface, node);
spin_lock_bh(&i->if_sklist_lock);
if (!hlist_empty(&i->if_sklist)) {
sk = sk_head(&i->if_sklist);
--
1.6.3
^ permalink raw reply related
* [PATCH 13/13] net: atm: use seq_list_foo() helpers
From: Li Zefan @ 2010-02-09 9:21 UTC (permalink / raw)
To: David Miller; +Cc: Andrew Morton, LKML, netdev@vger.kernel.org
In-Reply-To: <4B712849.9040400@cn.fujitsu.com>
Simplify seq_file code.
Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
---
net/atm/proc.c | 2 +-
net/atm/resources.c | 18 ++----------------
2 files changed, 3 insertions(+), 17 deletions(-)
diff --git a/net/atm/proc.c b/net/atm/proc.c
index ab8419a..c0c3a79 100644
--- a/net/atm/proc.c
+++ b/net/atm/proc.c
@@ -236,7 +236,7 @@ static int atm_dev_seq_show(struct seq_file *seq, void *v)
"Itf Type ESI/\"MAC\"addr "
"AAL(TX,err,RX,err,drop) ... [refcnt]\n";
- if (v == SEQ_START_TOKEN)
+ if (v == &atm_devs)
seq_puts(seq, atm_dev_banner);
else {
struct atm_dev *dev = list_entry(v, struct atm_dev, dev_list);
diff --git a/net/atm/resources.c b/net/atm/resources.c
index f4091d6..bbd01b0 100644
--- a/net/atm/resources.c
+++ b/net/atm/resources.c
@@ -454,21 +454,10 @@ done:
return error;
}
-static inline void *dev_get_idx(loff_t left)
-{
- struct list_head *p;
-
- list_for_each(p, &atm_devs) {
- if (!--left)
- break;
- }
- return (p != &atm_devs) ? p : NULL;
-}
-
void *atm_dev_seq_start(struct seq_file *seq, loff_t *pos)
{
mutex_lock(&atm_dev_mutex);
- return *pos ? dev_get_idx(*pos) : SEQ_START_TOKEN;
+ return seq_list_start_head(&atm_devs, *pos);
}
void atm_dev_seq_stop(struct seq_file *seq, void *v)
@@ -478,8 +467,5 @@ void atm_dev_seq_stop(struct seq_file *seq, void *v)
void *atm_dev_seq_next(struct seq_file *seq, void *v, loff_t *pos)
{
- ++*pos;
- v = (v == SEQ_START_TOKEN)
- ? atm_devs.next : ((struct list_head *)v)->next;
- return (v == &atm_devs) ? NULL : v;
+ return seq_list_next(v, &atm_devs, pos);
}
--
1.6.3
^ permalink raw reply related
* e1000e-1.1.2 Compile errors with 2.4.37 and gcc 2.95.3
From: Marco Schwarz @ 2010-02-09 9:58 UTC (permalink / raw)
To: e1000-devel, netdev
Hi,
I get the following output when trying to compile e1000e-1.1.2 with Linux Kernel 2.4.37 and gcc 2.95.3 (e1000-8.0.16 compiles fine):
gcc -DDRIVER_E1000E -DDRIVER_NAME=e1000e -DDRIVER_NAME_CAPS=E1000E -DLINUX -D__KERNEL__ -DMODULE -O2 -pipe -Wall -I/lib/modules/2.4.37/build/include -I. -DMODVERSIONS -DEXPORT_SYMTAB -include /lib/modules/2.4.37/build/include/linux/modversions.h -Wno-sign-compare -fno-strict-aliasing -c -o netdev.o netdev.c
In file included from netdev.c:51:
e1000.h:144: warning: unnamed struct/union that defines no instances
e1000.h:148: warning: unnamed struct/union that defines no instances
netdev.c: In function `e1000_alloc_rx_buffers_ps':
netdev.c:522: structure has no member named `ps_pages'
netdev.c:511: warning: `ps_page' might be used uninitialized in this function
netdev.c: In function `e1000_put_txbuf':
netdev.c:859: structure has no member named `length'
netdev.c: In function `e1000_print_hw_hang':
netdev.c:875: structure has no member named `next_to_watch'
netdev.c:906: structure has no member named `time_stamp'
netdev.c:919: warning: pointer type mismatch in conditional expression
netdev.c:919: parse error before `;'
netdev.c: In function `e1000_clean_tx_irq':
netdev.c:940: structure has no member named `next_to_watch'
netdev.c:979: structure has no member named `next_to_watch'
netdev.c:1010: structure has no member named `time_stamp'
netdev.c:935: warning: `eop' might be used uninitialized in this function
netdev.c: In function `e1000_clean_rx_irq_ps':
netdev.c:1124: structure has no member named `ps_pages'
netdev.c:1154: structure has no member named `ps_pages'
netdev.c:1044: warning: `ps_page' might be used uninitialized in this function
netdev.c: In function `e1000_clean_jumbo_rx_irq':
netdev.c:1362: warning: pointer type mismatch in conditional expression
netdev.c:1362: parse error before `;'
netdev.c: In function `e1000_clean_rx_ring':
netdev.c:1441: structure has no member named `ps_pages'
netdev.c:1405: warning: `ps_page' might be used uninitialized in this function
netdev.c: In function `e1000e_set_interrupt_capability':
netdev.c:1876: warning: pointer type mismatch in conditional expression
netdev.c:1876: parse error before `;'
netdev.c:1887: warning: pointer type mismatch in conditional expression
netdev.c:1887: parse error before `;'
netdev.c: In function `e1000e_setup_tx_resources':
netdev.c:2182: warning: pointer type mismatch in conditional expression
netdev.c:2182: parse error before `;'
netdev.c: In function `e1000e_setup_rx_resources':
netdev.c:2206: structure has no member named `ps_pages'
netdev.c:2209: structure has no member named `ps_pages'
netdev.c:2232: structure has no member named `ps_pages'
netdev.c:2236: warning: pointer type mismatch in conditional expression
netdev.c:2236: parse error before `;'
netdev.c: In function `e1000e_free_rx_resources':
netdev.c:2305: structure has no member named `ps_pages'
netdev.c: In function `e1000_alloc_queues':
netdev.c:2466: warning: pointer type mismatch in conditional expression
netdev.c:2466: parse error before `;'
netdev.c: In function `e1000e_reset':
netdev.c:3296: warning: pointer type mismatch in conditional expression
netdev.c:3296: parse error before `;'
netdev.c: In function `e1000_test_msi_interrupt':
netdev.c:3545: warning: pointer type mismatch in conditional expression
netdev.c:3545: parse error before `;'
netdev.c: In function `e1000_test_msi':
netdev.c:3599: warning: pointer type mismatch in conditional expression
netdev.c:3599: parse error before `;'
netdev.c: In function `e1000_open':
netdev.c:3680: warning: pointer type mismatch in conditional expression
netdev.c:3680: parse error before `;'
netdev.c: In function `e1000_phy_read_status':
netdev.c:3982: warning: pointer type mismatch in conditional expression
netdev.c:3982: parse error before `;'
netdev.c: In function `e1000_has_link':
netdev.c:4058: warning: pointer type mismatch in conditional expression
netdev.c:4058: parse error before `;'
netdev.c: In function `e1000_watchdog_task':
netdev.c:4143: warning: pointer type mismatch in conditional expression
netdev.c:4143: parse error before `;'
netdev.c: In function `e1000_tx_csum':
netdev.c:4428: structure has no member named `time_stamp'
netdev.c:4429: structure has no member named `next_to_watch'
netdev.c: In function `e1000_tx_map':
netdev.c:4460: structure has no member named `length'
netdev.c:4462: structure has no member named `time_stamp'
netdev.c:4471: structure has no member named `next_to_watch'
netdev.c:4492: structure has no member named `length'
netdev.c:4493: structure has no member named `time_stamp'
netdev.c:4503: structure has no member named `next_to_watch'
netdev.c:4521: structure has no member named `next_to_watch'
netdev.c: In function `e1000_tx_queue':
netdev.c:4578: structure has no member named `length'
netdev.c: In function `e1000_change_mtu':
netdev.c:4870: warning: pointer type mismatch in conditional expression
netdev.c:4870: parse error before `;'
netdev.c:4877: warning: pointer type mismatch in conditional expression
netdev.c:4877: parse error before `;'
netdev.c: In function `e1000_init_phy_wakeup':
netdev.c:5064: warning: pointer type mismatch in conditional expression
netdev.c:5064: parse error before `;'
netdev.c:5071: warning: pointer type mismatch in conditional expression
netdev.c:5071: parse error before `;'
netdev.c:5077: warning: pointer type mismatch in conditional expression
netdev.c:5077: parse error before `;'
netdev.c: In function `e1000_probe':
netdev.c:5754: warning: pointer type mismatch in conditional expression
netdev.c:5754: parse error before `;'
netdev.c:5796: warning: pointer type mismatch in conditional expression
netdev.c:5796: parse error before `;'
netdev.c:5806: warning: pointer type mismatch in conditional expression
netdev.c:5806: parse error before `;'
make: *** [netdev.o] Error 1
Best regards,
Marco
--
Marco Schwarz
Softwareentwicklung
Mönchsgasse 10a
67346 Speyer
Tel 06232 602926
Fax 012120 247701
Mobil 0151 22633892
^ permalink raw reply
page: next (older) | prev (newer) | latest
- recent:[subjects (threaded)|topics (new)|topics (active)]
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox