Re: [PATCH -v3 0/14] PCI: allocate pci bus num range for unassigned bridge busn
From: Bjorn Helgaas <bhelgaas@google.com>
Date: 2012-01-31 23:30:59
Also in:
linux-pci, lkml
On Tue, Jan 31, 2012 at 10:56 AM, Yinghai Lu [off-list ref] wrote:
On Tue, Jan 31, 2012 at 9:49 AM, Bjorn Helgaas [off-list ref] wrote:quoted
On Mon, Jan 30, 2012 at 11:42 PM, Yinghai Lu [off-list ref] wrote:quoted
could be found at: git://git.kernel.org/pub/scm/linux/kernel/git/yinghai/linux-yinghai.git for-pci-busn-alloc -v2: according to Jesse, split to more small patches. -v3: address some request from Bjorn. like make use %pR for busn_res debug print out, and move the comment change with code change.I don't see v3 in that git tree; maybe it needs to be pushed?yeah. forgot to push. should be there now.
Thanks. I tried this, and it blew up as soon as I did a rescan. More complete console log attached. # echo 1 > /sys/bus/pci/rescan [ 140.237870] pci_bus 0000:00: scanning bus pass 0 [ 140.242551] pci 0000:00:01.0: scanning [bus 01-01] behind bridge, pass 0 [ 140.249249] pci 0000:00:01.0: check if busn 01-01 is in busn_res: [bus 00-7e] [ 140.256377] pci 0000:00:01.0: bus configuration invalid, reconfiguring [ 140.262912] pci 0000:00:01.1: scanning [bus 02-02] behind bridge, pass 0 [ 140.269593] pci 0000:00:01.1: check if busn 02-02 is in busn_res: [bus 00-7e] [ 140.276721] pci 0000:00:01.1: bus configuration invalid, reconfiguring ... [ 149.111070] ------------[ cut here ]------------ [ 149.115721] WARNING: at net/sched/sch_generic.c:256 dev_watchdog+0x259/0x270() [ 149.126339] NETDEV WATCHDOG: eth0 (bnx2x): transmit queue 2 timed out [ 149.132784] Modules linked in: w1_therm ds2482 wire msr cpuid bnx2x crc32c libcrc32c mdio ipv6 genrtc [ 149.142259] Pid: 0, comm: swapper/11 Not tainted 3.3.0-smp-DEV #4 [ 149.148349] Call Trace: [ 149.150816] <IRQ> [<ffffffff8108de33>] warn_slowpath_common+0x83/0x120 [ 149.157545] [<ffffffff8108df86>] warn_slowpath_fmt+0x46/0x60 [ 149.163282] [<ffffffff810af15a>] ? __queue_work+0x15a/0x4b0 [ 149.168928] [<ffffffff81558259>] dev_watchdog+0x259/0x270 [ 149.174412] [<ffffffff8109fe2e>] run_timer_softirq+0x13e/0x8b0 [ 149.180344] [<ffffffff810c8ace>] ? scheduler_tick+0x1fe/0x2f0 [ 149.186174] [<ffffffff81558000>] ? __netdev_watchdog_up+0x80/0x80 [ 149.192359] [<ffffffff810764bd>] ? lapic_next_event+0x1d/0x30 [ 149.198180] [<ffffffff81095981>] __do_softirq+0xb1/0x1e0 [ 149.203594] [<ffffffff810e1114>] ? tick_program_event+0x24/0x30 [ 149.209604] [<ffffffff815e9d8c>] call_softirq+0x1c/0x30 [ 149.214932] [<ffffffff810580b5>] do_softirq+0x55/0x90 [ 149.220068] [<ffffffff8109578d>] irq_exit+0xbd/0xe0 [ 149.225040] [<ffffffff815ea50e>] smp_apic_timer_interrupt+0x6e/0x99 [ 149.231405] [<ffffffff815e944b>] apic_timer_interrupt+0x6b/0x70 [ 149.237408] <EOI> [<ffffffff814f0aa5>] ? poll_idle+0x45/0x90 [ 149.243289] [<ffffffff814f0a7c>] ? poll_idle+0x1c/0x90 [ 149.248505] [<ffffffff810bd578>] ? hrtimer_start+0x18/0x20 [ 149.254079] [<ffffffff814f05a0>] cpuidle_idle_call+0xe0/0x200 [ 149.259917] [<ffffffff81055fd6>] cpu_idle+0x96/0xf0 [ 149.264903] [<ffffffff818f4f8c>] start_secondary+0x1d1/0x1d5 [ 149.270640] ---[ end trace 628fdd480099dccf ]--- [ 149.285310] bnx2x: [bnx2x_stats_comp:143(eth0)]timeout waiting for stats finished [ 149.302817] bnx2x: [bnx2x_stats_comp:143(eth0)]timeout waiting for stats finished [ 150.310050] bnx2x: [bnx2x_clean_tx_queue:1375(eth0)]timeout waiting for queue[0]: txdata->tx_pkt_prod(232) != txdata->tx_pkt_cons(229) ...
Attachments
- boot [application/octet-stream] 61998 bytes