* Re: [discuss] Re: 2.6.19-rc4: known unfixed regressions (v3)
[not found] ` <Pine.LNX.4.64.0611080803280.3667@g5.osdl.org>
@ 2006-11-08 17:26 ` Adrian Bunk
2006-11-08 17:49 ` Linus Torvalds
0 siblings, 1 reply; 13+ messages in thread
From: Adrian Bunk @ 2006-11-08 17:26 UTC (permalink / raw)
To: Linus Torvalds
Cc: Matthew Wilcox, Andi Kleen, Jeff Chua, Aaron Durbin,
Andrew Morton, Linux Kernel Mailing List, gregkh, linux-pci
On Wed, Nov 08, 2006 at 08:05:18AM -0800, Linus Torvalds wrote:
>
>
> On Wed, 8 Nov 2006, Matthew Wilcox wrote:
> >
> > On Wed, Nov 08, 2006 at 08:39:44AM +0100, Andi Kleen wrote:
> > > ACPI knows the number of busses.
> >
> > But what if the number of busses increases later, eg by hotplugging
> > a card with a PCI-PCI bridge on it? Or does it know the number of
> > busses which can be supported by this machine's MMCONFIG region?
>
> ACPI will give the maximum number.
>
> However, in this case, the correct thing to do (always _has_ been) is to
> not use ACPI for _anything_, but just read the base and the size of the
> MMCONFIG region from the hardware itself.
>
> Anyway, I do not consider this a regression. MMCONFIG has _never_ worked
> reliably. It has always been a case of "we can make it work on some
> machines by making it break on others".
It is a serious regression:
The problem is that with the default CONFIG_PCI_GOANY, MMCONFIG is the
_first_ method tried.
In practice, this implies that nearly every system possibly affected
will suffer from a MMCONFIG breakage like the one Jeff observed...
> Linus
cu
Adrian
--
"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [discuss] Re: 2.6.19-rc4: known unfixed regressions (v3)
2006-11-08 17:26 ` [discuss] Re: 2.6.19-rc4: known unfixed regressions (v3) Adrian Bunk
@ 2006-11-08 17:49 ` Linus Torvalds
2006-11-08 18:08 ` Linus Torvalds
2006-11-08 18:17 ` Aaron Durbin
0 siblings, 2 replies; 13+ messages in thread
From: Linus Torvalds @ 2006-11-08 17:49 UTC (permalink / raw)
To: Adrian Bunk
Cc: Matthew Wilcox, Andi Kleen, Jeff Chua, Aaron Durbin,
Andrew Morton, Linux Kernel Mailing List, gregkh, linux-pci
On Wed, 8 Nov 2006, Adrian Bunk wrote:
> >
> > Anyway, I do not consider this a regression. MMCONFIG has _never_ worked
> > reliably. It has always been a case of "we can make it work on some
> > machines by making it break on others".
>
> It is a serious regression:
>
> The problem is that with the default CONFIG_PCI_GOANY, MMCONFIG is the
> _first_ method tried.
No. That was a bug at some point, but it's not that way now. See
pci_access_init(void)
which checks the pci_direct_probe() first, and only _then_ calls
pci_mmcfg_init(). And pci_mmcfg_init() will refuse to even use MMCONFIG
unless either the direct probe failed _or_ the MMCONFIG area is marked
entirely reserved in the e820 tables. Exactly because MMCONFIG generally
doesn't _work_.
Now, if that is indeed broken, then yes, we need to fix it.
Jeff - when you enable "direct PCI access", what is the printout? You
should get
PCI: Using configuration type 1
and the kernel should never have used MMCONFIG if the area wasn't marked
as reserved in e820..
Linus
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [discuss] Re: 2.6.19-rc4: known unfixed regressions (v3)
2006-11-08 17:49 ` Linus Torvalds
@ 2006-11-08 18:08 ` Linus Torvalds
2006-11-08 18:36 ` Linus Torvalds
` (2 more replies)
2006-11-08 18:17 ` Aaron Durbin
1 sibling, 3 replies; 13+ messages in thread
From: Linus Torvalds @ 2006-11-08 18:08 UTC (permalink / raw)
To: Adrian Bunk, Jeff Chua
Cc: Matthew Wilcox, Andi Kleen, Aaron Durbin, Andrew Morton,
Linux Kernel Mailing List, gregkh, linux-pci
On Wed, 8 Nov 2006, Linus Torvalds wrote:
>
> And pci_mmcfg_init() will refuse to even use MMCONFIG unless either the
> direct probe failed _or_ the MMCONFIG area is marked entirely reserved
> in the e820 tables. Exactly because MMCONFIG generally doesn't _work_.
Ahh. I see the bug now.
When we check whether MMCONFIG is ok, we do this:
if (type == 1 && !e820_all_mapped(pci_mmcfg_config[0].base_address,
pci_mmcfg_config[0].base_address + MMCONFIG_APER_MIN,
E820_RESERVED)) {
ie we check whether there is room for MMCONFIG_APER_MIN reserved things.
We then _reserve_ a totally different region in
pci_mmcfg_insert_resources(), because we use a totally different range.
What a piece of crap.
Andi, I'm getting really upset about this kind of thing. You've been very
much not careful about MMCFG in general, and are allowing total crap to go
into the kernel, without any thought. Just "testing" something isn't good
enough, it needs to be thought out.
I'm going to revert that totally bogus commit that added that broken
"pci_mmcfg_insert_resources()" function. It could be done right, but doing
it right would require that the function
- be called _before_ deciding to use MMCFG
- return an error number if it couldn't allocate the things
- check that the region was reserved
and then if some reservation failed, we shouldn't use MMCONFIG in the
first place.
We really should stop using MMCONFIG entirely, until we have a
per-southbridge true knowledge of what the real decoding is. The BIOS
tables for this are simply too damn unreliable.
Linus
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [discuss] Re: 2.6.19-rc4: known unfixed regressions (v3)
2006-11-08 17:49 ` Linus Torvalds
2006-11-08 18:08 ` Linus Torvalds
@ 2006-11-08 18:17 ` Aaron Durbin
1 sibling, 0 replies; 13+ messages in thread
From: Aaron Durbin @ 2006-11-08 18:17 UTC (permalink / raw)
To: Linus Torvalds
Cc: Adrian Bunk, Matthew Wilcox, Andi Kleen, Jeff Chua, Andrew Morton,
Linux Kernel Mailing List, gregkh, linux-pci
On 11/8/06, Linus Torvalds <torvalds@osdl.org> wrote:
>
>
> On Wed, 8 Nov 2006, Adrian Bunk wrote:
> > >
> > > Anyway, I do not consider this a regression. MMCONFIG has _never_ worked
> > > reliably. It has always been a case of "we can make it work on some
> > > machines by making it break on others".
> >
> > It is a serious regression:
> >
> > The problem is that with the default CONFIG_PCI_GOANY, MMCONFIG is the
> > _first_ method tried.
>
> No. That was a bug at some point, but it's not that way now. See
>
> pci_access_init(void)
>
> which checks the pci_direct_probe() first, and only _then_ calls
> pci_mmcfg_init(). And pci_mmcfg_init() will refuse to even use MMCONFIG
> unless either the direct probe failed _or_ the MMCONFIG area is marked
> entirely reserved in the e820 tables. Exactly because MMCONFIG generally
> doesn't _work_.
>
It appears in both i386 and x86-64 that the check is only on the first MCFG
entry and it only checks a hard-coded value of 16 buses. This check is only
done if pci access type == 1. The patches I posted yesterday have a few more
checks and warnings concerning the MCFG region, but these checks are only for
the resource allocation. They do not concern actual config access. With those
patches applied we should be at least able to track more buggy BIOS's provided
that people notice messages in their dmesg.
-Aaron
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [discuss] Re: 2.6.19-rc4: known unfixed regressions (v3)
2006-11-08 18:08 ` Linus Torvalds
@ 2006-11-08 18:36 ` Linus Torvalds
2006-11-10 6:25 ` Jeff Chua
2006-11-10 6:56 ` Andi Kleen
2006-11-10 13:56 ` Jeff Garzik
2 siblings, 1 reply; 13+ messages in thread
From: Linus Torvalds @ 2006-11-08 18:36 UTC (permalink / raw)
To: Adrian Bunk, Jeff Chua
Cc: Matthew Wilcox, Andi Kleen, Aaron Durbin, Andrew Morton,
Linux Kernel Mailing List, gregkh, linux-pci
On Wed, 8 Nov 2006, Linus Torvalds wrote:
>
> I'm going to revert that totally bogus commit that added that broken
> "pci_mmcfg_insert_resources()" function.
Pushed out. Jeff, can you verify that current git does the right thing.
Andi - I also ported the x86 io-apic cleanup and fixes to x86-64. I'll
push those out too once I've verified them on the machines I have access
to.
I'm still not 100% happy about the io-apic thing (for example, I was
thinking that maybe we should just automatically choose the order of
writes in apic_write_entry() by just checking whether "mask" was set or
not), but the code really is cleaner, and on x86 it was verified to fix
some things.
Keeping in sync is still better than having two different approaches, one
of which was confirmed broken. And the i386 code is definitely more tested
over the years than the x86-64 code could ever have hoped to be, so going
back to the original ordering makes sense.
Linus
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [discuss] Re: 2.6.19-rc4: known unfixed regressions (v3)
@ 2006-11-10 5:53 Jeff Chua
0 siblings, 0 replies; 13+ messages in thread
From: Jeff Chua @ 2006-11-10 5:53 UTC (permalink / raw)
To: Linus Torvalds
Cc: Adrian Bunk, Matthew Wilcox, Andi Kleen, Aaron Durbin,
Andrew Morton, Linux Kernel Mailing List, gregkh, linux-pci
> Jeff - when you enable "direct PCI access", what is the printout? You
> should get
>
> PCI: Using configuration type 1
>
> and the kernel should never have used MMCONFIG if the area wasn't marked
> as reserved in e820..
Linus,
Here's what I get ...
PCI: Using configuration type 1
Setting up standard PCI resources
Complete dmesg below. rc5 has same problem as rc4. I'll start testing the
git version shortly.
Thanks
Jeff.
Linux version 2.6.19-rc5 (root@boston.corp.fedex.com) (gcc version 3.4.5) #3 SMP PREEMPT Thu Nov 9 23:43:41 SGT 2006
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 00000000000a0000 (usable)
BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 00000000df686c00 (usable)
BIOS-e820: 00000000df686c00 - 00000000df688c00 (ACPI NVS)
BIOS-e820: 00000000df688c00 - 00000000df68ac00 (ACPI data)
BIOS-e820: 00000000df68ac00 - 00000000e0000000 (reserved)
BIOS-e820: 00000000f0000000 - 00000000f4000000 (reserved)
BIOS-e820: 00000000fec00000 - 00000000fed00400 (reserved)
BIOS-e820: 00000000fed20000 - 00000000feda0000 (reserved)
BIOS-e820: 00000000fee00000 - 00000000fef00000 (reserved)
BIOS-e820: 00000000ffb00000 - 0000000100000000 (reserved)
2678MB HIGHMEM available.
896MB LOWMEM available.
found SMP MP-table at 000fe710
Entering add_active_range(0, 0, 915078) 0 entries of 256 used
Zone PFN ranges:
DMA 0 -> 4096
Normal 4096 -> 229376
HighMem 229376 -> 915078
early_node_map[1] active PFN ranges
0: 0 -> 915078
On node 0 totalpages: 915078
DMA zone: 32 pages used for memmap
DMA zone: 0 pages reserved
DMA zone: 4064 pages, LIFO batch:0
Normal zone: 1760 pages used for memmap
Normal zone: 223520 pages, LIFO batch:31
HighMem zone: 5357 pages used for memmap
HighMem zone: 680345 pages, LIFO batch:31
DMI 2.3 present.
ACPI: RSDP (v002 DELL ) @ 0x000feb00
ACPI: XSDT (v001 DELL GX620 0x00000007 ASL 0x00000061) @ 0x000fd253
ACPI: FADT (v003 DELL GX620 0x00000007 ASL 0x00000061) @ 0x000fd34b
ACPI: SSDT (v001 DELL st_ex 0x00001000 INTL 0x20050309) @ 0xfffd6996
ACPI: MADT (v001 DELL GX620 0x00000007 ASL 0x00000061) @ 0x000fd43f
ACPI: BOOT (v001 DELL GX620 0x00000007 ASL 0x00000061) @ 0x000fd4b1
ACPI: ASF! (v016 DELL GX620 0x00000007 ASL 0x00000061) @ 0x000fd4d9
ACPI: MCFG (v001 DELL GX620 0x00000007 ASL 0x00000061) @ 0x000fd540
ACPI: HPET (v001 DELL GX620 0x00000007 ASL 0x00000061) @ 0x000fd57e
ACPI: DSDT (v001 DELL dt_ex 0x00001000 INTL 0x20050309) @ 0x00000000
ACPI: PM-Timer IO Port: 0x808
ACPI: Local APIC address 0xfee00000
ACPI: LAPIC (acpi_id[0x01] lapic_id[0x00] enabled)
Processor #0 15:4 APIC version 20
ACPI: LAPIC (acpi_id[0x02] lapic_id[0x01] enabled)
Processor #1 15:4 APIC version 20
ACPI: LAPIC (acpi_id[0x03] lapic_id[0x05] disabled)
ACPI: LAPIC (acpi_id[0x04] lapic_id[0x07] disabled)
ACPI: LAPIC_NMI (acpi_id[0xff] high level 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 dfl dfl)
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.
Enabling APIC mode: Flat. Using 1 I/O APICs
ACPI: HPET id: 0x8086a201 base: 0xfed00000
Using ACPI (MADT) for SMP configuration information
Allocating PCI resources starting at e1000000 (gap: e0000000:10000000)
Detected 2992.745 MHz processor.
Built 1 zonelists. Total pages: 907929
Kernel command line: BOOT_IMAGE=(hd0,14)/linux/bzc1 root=/dev/sda2 resume=/dev/sda3 testing_only="this is got to be good. Now I can send in a very long line just like 2.4 and need not worry about the line being too long. What a great way to start a great year!!! Cool!"
mapped APIC to ffffd000 (fee00000)
mapped IOAPIC to ffffc000 (fec00000)
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Initializing CPU#0
PID hash table entries: 4096 (order: 12, 16384 bytes)
Console: colour VGA+ 80x25
Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
Memory: 3625948k/3660312k available (2402k kernel code, 33292k reserved, 848k data, 200k init, 2742808k highmem)
virtual kernel memory layout:
fixmap : 0xfff50000 - 0xfffff000 ( 700 kB)
pkmap : 0xff800000 - 0xffc00000 (4096 kB)
vmalloc : 0xf8800000 - 0xff7fe000 ( 111 MB)
lowmem : 0xc0000000 - 0xf8000000 ( 896 MB)
.init : 0xc0433000 - 0xc0465000 ( 200 kB)
.data : 0xc03589f0 - 0xc042cab4 ( 848 kB)
.text : 0xc0100000 - 0xc03589f0 (2402 kB)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Using HPET for base-timer
Calibrating delay using timer specific routine.. 5990.52 BogoMIPS (lpj=11981059)
Mount-cache hash table entries: 512
CPU: After generic identify, caps: bfebfbff 20100000 00000000 00000000 0000649d 00000000 00000001
monitor/mwait feature present.
using mwait in idle threads.
CPU: Trace cache: 12K uops, L1 D cache: 16K
CPU: L2 cache: 1024K
CPU: Physical Processor ID: 0
CPU: Processor Core ID: 0
CPU: After all inits, caps: bfebfbff 20100000 00000000 00000180 0000649d 00000000 00000001
Compat vDSO mapped to ffffe000.
Checking 'hlt' instruction... OK.
SMP alternatives: switching to UP code
ACPI: Core revision 20060707
CPU0: Intel(R) Pentium(R) D CPU 3.00GHz stepping 07
SMP alternatives: switching to SMP code
Booting processor 1/1 eip 3000
Initializing CPU#1
Calibrating delay using timer specific routine.. 5985.49 BogoMIPS (lpj=11970995)
CPU: After generic identify, caps: bfebfbff 20100000 00000000 00000000 0000649d 00000000 00000001
monitor/mwait feature present.
CPU: Trace cache: 12K uops, L1 D cache: 16K
CPU: L2 cache: 1024K
CPU: Physical Processor ID: 0
CPU: Processor Core ID: 1
CPU: After all inits, caps: bfebfbff 20100000 00000000 00000180 0000649d 00000000 00000001
CPU1: Intel(R) Pentium(R) D CPU 3.00GHz stepping 07
Total of 2 processors activated (11976.02 BogoMIPS).
ENABLING IO-APIC IRQs
..TIMER: vector=0x31 apic1=0 pin1=2 apic2=-1 pin2=-1
checking TSC synchronization across 2 CPUs: passed.
Brought up 2 CPUs
migration_cost=319
NET: Registered protocol family 16
ACPI: bus type pci registered
PCI: Using configuration type 1
Setting up standard PCI resources
ACPI: Interpreter enabled
ACPI: Using IOAPIC for interrupt routing
ACPI: PCI Root Bridge [PCI0] (0000:00)
PCI: Probing PCI hardware (bus 00)
ACPI: Assume root bridge [\_SB_.PCI0] bus is 0
Boot video device is 0000:00:02.0
PCI quirk: region 0800-087f claimed by ICH6 ACPI/GPIO/TCO
PCI quirk: region 0880-08bf claimed by ICH6 GPIO
PCI: Ignoring BAR0-3 of IDE controller 0000:00:1f.1
PCI: Transparent bridge - 0000:00:1e.0
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PCI4._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PCI2._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PCI3._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PCI1._PRT]
ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 6 7 9 10 *11 12 15)
ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 6 7 9 *10 11 12 15)
ACPI: PCI Interrupt Link [LNKC] (IRQs *3 4 5 6 7 9 10 11 12 15)
ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 6 7 9 10 11 12 15) *0, disabled.
ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 *5 6 7 9 10 11 12 15)
ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 5 6 7 *9 10 11 12 15)
ACPI: PCI Interrupt Link [LNKG] (IRQs 3 4 *5 6 7 9 10 11 12 15)
ACPI: PCI Interrupt Link [LNKH] (IRQs 3 4 5 6 7 9 *10 11 12 15)
Linux Plug and Play Support v0.97 (c) Adam Belay
pnp: PnP ACPI init
pnp: PnP ACPI: found 10 devices
SCSI subsystem initialized
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: If a device doesn't work, try "pci=routeirq". If it helps, post a report
NET: Registered protocol family 23
pnp: 00:01: ioport range 0x800-0x85f could not be reserved
pnp: 00:01: ioport range 0xc00-0xc7f has been reserved
pnp: 00:01: ioport range 0x860-0x8ff could not be reserved
pnp: 00:09: ioport range 0x100-0x1fe has been reserved
pnp: 00:09: ioport range 0x200-0x277 has been reserved
pnp: 00:09: ioport range 0x280-0x2e7 has been reserved
pnp: 00:09: ioport range 0x2f0-0x2f7 has been reserved
pnp: 00:09: ioport range 0x300-0x377 has been reserved
pnp: 00:09: ioport range 0x380-0x3bb has been reserved
pnp: 00:09: ioport range 0x3c0-0x3e7 could not be reserved
pnp: 00:09: ioport range 0x3f6-0x3f7 has been reserved
PCI: Ignore bogus resource 6 [0:0] of 0000:00:02.0
PCI: Bridge: 0000:00:01.0
IO window: disabled.
MEM window: fe900000-fe9fffff
PREFETCH window: disabled.
PCI: Bridge: 0000:00:1c.0
IO window: disabled.
MEM window: fe800000-fe8fffff
PREFETCH window: disabled.
PCI: Bridge: 0000:00:1c.1
IO window: disabled.
MEM window: fe700000-fe7fffff
PREFETCH window: disabled.
PCI: Bridge: 0000:00:1e.0
IO window: disabled.
MEM window: disabled.
PREFETCH window: disabled.
ACPI: PCI Interrupt 0000:00:01.0[A] -> GSI 16 (level, low) -> IRQ 16
PCI: Setting latency timer of device 0000:00:01.0 to 64
ACPI: PCI Interrupt 0000:00:1c.0[A] -> GSI 16 (level, low) -> IRQ 16
PCI: Setting latency timer of device 0000:00:1c.0 to 64
ACPI: PCI Interrupt 0000:00:1c.1[B] -> GSI 17 (level, low) -> IRQ 17
PCI: Setting latency timer of device 0000:00:1c.1 to 64
PCI: Setting latency timer of device 0000:00:1e.0 to 64
NET: Registered protocol family 2
IP route cache hash table entries: 32768 (order: 5, 131072 bytes)
TCP established hash table entries: 262144 (order: 9, 3145728 bytes)
TCP bind hash table entries: 65536 (order: 7, 786432 bytes)
TCP: Hash tables configured (established 262144 bind 65536)
TCP reno registered
Simple Boot Flag at 0x7a set to 0x80
apm: disabled - APM is not SMP safe.
highmem bounce pool size: 64 pages
Total HugeTLB memory allocated, 0
io scheduler noop registered
io scheduler anticipatory registered (default)
io scheduler deadline registered
io scheduler cfq registered
PCI: Setting latency timer of device 0000:00:01.0 to 64
assign_interrupt_mode Found MSI capability
Allocate Port Service[0000:00:01.0:pcie00]
PCI: Setting latency timer of device 0000:00:1c.0 to 64
assign_interrupt_mode Found MSI capability
Allocate Port Service[0000:00:1c.0:pcie00]
Allocate Port Service[0000:00:1c.0:pcie02]
PCI: Setting latency timer of device 0000:00:1c.1 to 64
assign_interrupt_mode Found MSI capability
Allocate Port Service[0000:00:1c.1:pcie00]
Allocate Port Service[0000:00:1c.1:pcie02]
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.5
acpiphp_glue: can't get bus number, assuming 0
acpiphp_ibm: ibm_acpiphp_init: acpi_walk_namespace failed
pciehp: HPC vendor_id 8086 device_id 27d0 ss_vid 0 ss_did 0
Evaluate _OSC Set fails. Status = 0x0005
Evaluate _OSC Set fails. Status = 0x0005
pciehp: Cannot get control of hotplug hardware for pci 0000:00:1c.0
pciehp: HPC vendor_id 8086 device_id 27d2 ss_vid 0 ss_did 0
Evaluate _OSC Set fails. Status = 0x0005
Evaluate _OSC Set fails. Status = 0x0005
pciehp: Cannot get control of hotplug hardware for pci 0000:00:1c.1
pciehp: PCI Express Hot Plug Controller Driver version: 0.4
ACPI: Power Button (FF) [PWRF]
ACPI: Power Button (CM) [VBTN]
ACPI Exception (acpi_processor-0681): AE_NOT_FOUND, Processor Device is not present [20060707]
ACPI: Getting cpuindex for acpiid 0x3
ACPI Exception (acpi_processor-0681): AE_NOT_FOUND, Processor Device is not present [20060707]
ACPI: Getting cpuindex for acpiid 0x4
ibm_acpi: ec object not found
Real Time Clock Driver v1.12ac
Linux agpgart interface v0.101 (c) Dave Jones
agpgart: Detected an Intel 945G Chipset.
agpgart: Detected 7932K stolen memory.
agpgart: AGP aperture is 256M @ 0xe0000000
[drm] Initialized drm 1.0.1 20051102
RAMDISK driver initialized: 16 RAM disks of 20480K size 1024 blocksize
loop: loaded (max 8 devices)
HP CISS Driver (v 3.6.10)
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
ICH7: IDE controller at PCI slot 0000:00:1f.1
ACPI: PCI Interrupt 0000:00:1f.1[A] -> GSI 16 (level, low) -> IRQ 16
ICH7: chipset revision 1
ICH7: not 100% native mode: will probe irqs later
ide0: BM-DMA at 0xffa0-0xffa7, BIOS settings: hda:DMA, hdb:pio
Probing IDE interface ide0...
hda: HL-DT-ST DVD+/-RW GWA4164B, ATAPI CD/DVD-ROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Probing IDE interface ide1...
megaraid cmm: 2.20.2.7 (Release Date: Sun Jul 16 00:01:03 EST 2006)
megaraid: 2.20.4.9 (Release Date: Sun Jul 16 12:27:22 EST 2006)
megasas: 00.00.03.05 Mon Oct 02 11:21:32 PDT 2006
libata version 2.00 loaded.
ata_piix 0000:00:1f.2: version 2.00ac6
ata_piix 0000:00:1f.2: MAP [ P0 P2 P1 P3 ]
ACPI: PCI Interrupt 0000:00:1f.2[C] -> GSI 20 (level, low) -> IRQ 18
PCI: Setting latency timer of device 0000:00:1f.2 to 64
ata1: SATA max UDMA/133 cmd 0xFE00 ctl 0xFE12 bmdma 0xFEA0 irq 18
ata2: SATA max UDMA/133 cmd 0xFE20 ctl 0xFE32 bmdma 0xFEA8 irq 18
scsi0 : ata_piix
ata1.00: ATA-7, max UDMA/133, 488281250 sectors: LBA48 NCQ (depth 0/32)
ata1.00: ata1: dev 0 multi count 8
ata1.01: ATA-7, max UDMA/133, 488281250 sectors: LBA48 NCQ (depth 0/32)
ata1.01: ata1: dev 1 multi count 8
ata1.00: configured for UDMA/133
ata1.01: configured for UDMA/133
scsi1 : ata_piix
ata2: port is slow to respond, please be patient (Status 0xff)
ata2: port failed to respond (30 secs, Status 0xff)
ata2: SRST failed (status 0xFF)
ata2: SRST failed (err_mask=0x100)
ata2: softreset failed, retrying in 5 secs
ata2: SRST failed (status 0xFF)
ata2: SRST failed (err_mask=0x100)
ata2: softreset failed, retrying in 5 secs
ata2: SRST failed (status 0xFF)
ata2: SRST failed (err_mask=0x100)
ata2: reset failed, giving up
scsi 0:0:0:0: Direct-Access ATA WDC WD2500JS-75N 10.0 PQ: 0 ANSI: 5
SCSI device sda: 488281250 512-byte hdwr sectors (250000 MB)
sda: Write Protect is off
sda: Mode Sense: 00 3a 00 00
SCSI device sda: drive cache: write back
SCSI device sda: 488281250 512-byte hdwr sectors (250000 MB)
sda: Write Protect is off
sda: Mode Sense: 00 3a 00 00
SCSI device sda: drive cache: write back
sda: sda1 sda2 sda3 sda4 < sda5 sda6 sda7 sda8 sda9 sda10 sda11 sda12 sda13 sda14 sda15 >
sd 0:0:0:0: Attached scsi disk sda
scsi 0:0:1:0: Direct-Access ATA WDC WD2500JS-75N 10.0 PQ: 0 ANSI: 5
SCSI device sdb: 488281250 512-byte hdwr sectors (250000 MB)
sdb: Write Protect is off
sdb: Mode Sense: 00 3a 00 00
SCSI device sdb: drive cache: write back
SCSI device sdb: 488281250 512-byte hdwr sectors (250000 MB)
sdb: Write Protect is off
sdb: Mode Sense: 00 3a 00 00
SCSI device sdb: drive cache: write back
sdb:
sd 0:0:1:0: Attached scsi disk sdb
usbmon: debugfs is not available
ACPI: PCI Interrupt 0000:00:1d.7[A] -> GSI 21 (level, low) -> IRQ 19
PCI: Setting latency timer of device 0000:00:1d.7 to 64
ehci_hcd 0000:00:1d.7: EHCI Host Controller
ehci_hcd 0000:00:1d.7: new USB bus registered, assigned bus number 1
ehci_hcd 0000:00:1d.7: debug port 1
PCI: cache line size of 128 is not supported by device 0000:00:1d.7
ehci_hcd 0000:00:1d.7: irq 19, io mem 0xffa80800
ehci_hcd 0000:00:1d.7: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 8 ports detected
USB Universal Host Controller Interface driver v3.0
ACPI: PCI Interrupt 0000:00:1d.0[A] -> GSI 21 (level, low) -> IRQ 19
PCI: Setting latency timer of device 0000:00:1d.0 to 64
uhci_hcd 0000:00:1d.0: UHCI Host Controller
uhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 2
uhci_hcd 0000:00:1d.0: irq 19, io base 0x0000ff80
usb usb2: configuration #1 chosen from 1 choice
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 2 ports detected
ACPI: PCI Interrupt 0000:00:1d.1[B] -> GSI 22 (level, low) -> IRQ 20
PCI: Setting latency timer of device 0000:00:1d.1 to 64
uhci_hcd 0000:00:1d.1: UHCI Host Controller
uhci_hcd 0000:00:1d.1: new USB bus registered, assigned bus number 3
uhci_hcd 0000:00:1d.1: irq 20, io base 0x0000ff60
usb usb3: configuration #1 chosen from 1 choice
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 2 ports detected
ACPI: PCI Interrupt 0000:00:1d.2[C] -> GSI 18 (level, low) -> IRQ 21
PCI: Setting latency timer of device 0000:00:1d.2 to 64
uhci_hcd 0000:00:1d.2: UHCI Host Controller
uhci_hcd 0000:00:1d.2: new USB bus registered, assigned bus number 4
uhci_hcd 0000:00:1d.2: irq 21, io base 0x0000ff40
usb usb4: configuration #1 chosen from 1 choice
hub 4-0:1.0: USB hub found
hub 4-0:1.0: 2 ports detected
ACPI: PCI Interrupt 0000:00:1d.3[D] -> GSI 23 (level, low) -> IRQ 22
PCI: Setting latency timer of device 0000:00:1d.3 to 64
uhci_hcd 0000:00:1d.3: UHCI Host Controller
uhci_hcd 0000:00:1d.3: new USB bus registered, assigned bus number 5
uhci_hcd 0000:00:1d.3: irq 22, io base 0x0000ff20
usb usb5: configuration #1 chosen from 1 choice
hub 5-0:1.0: USB hub found
hub 5-0:1.0: 2 ports detected
usb 2-1: new low speed USB device using uhci_hcd and address 2
usb 2-1: configuration #1 chosen from 1 choice
usb 2-2: new low speed USB device using uhci_hcd and address 3
usb 2-2: configuration #1 chosen from 1 choice
usbcore: registered new interface driver hiddev
input: USB Keyboard as /class/input/input0
input: USB HID v1.10 Keyboard [ USB Keyboard] on usb-0000:00:1d.0-1
input: USB Keyboard as /class/input/input1
input: USB HID v1.10 Device [ USB Keyboard] on usb-0000:00:1d.0-1
input: USB Optical Mouse as /class/input/input2
input: USB HID v1.11 Mouse [USB Optical Mouse] on usb-0000:00:1d.0-2
usbcore: registered new interface driver usbhid
drivers/usb/input/hid-core.c: v2.6:USB HID core driver
PNP: No PS/2 controller found. Probing ports directly.
serio: i8042 KBD port at 0x60,0x64 irq 1
serio: i8042 AUX port at 0x60,0x64 irq 12
mice: PS/2 mouse device common for all mice
device-mapper: ioctl: 4.10.0-ioctl (2006-09-14) initialised: dm-devel@redhat.com
EDAC MC: Ver: 2.0.1 Nov 9 2006
TCP cubic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
p4-clockmod: P4/Xeon(TM) CPU On-Demand Clock Modulation available
Starting balanced_irq
Using IPI No-Shortcut mode
Time: tsc clocksource has been installed.
ACPI: (supports S0 S1 S3 S4 S5)
VFS: Mounted root (reiserfs filesystem) readonly.
Freeing unused kernel memory: 200k freed
ReiserFS: sda9: replayed 504 transactions in 0 seconds
Adding 1277156k swap on /dev/sda3. Priority:-1 extents:1 across:1277156k
tg3.c:v3.68 (November 02, 2006)
ACPI: PCI Interrupt 0000:02:00.0[A] -> GSI 16 (level, low) -> IRQ 16
PCI: Setting latency timer of device 0000:02:00.0 to 64
eth0: Tigon3 [partno(BCM5751PKFBG) rev 4001 PHY(5750)] (PCI Express) 10/100/1000BaseT Ethernet 00:13:72:7b:29:60
eth0: RXcsums[1] LinkChgREG[1] MIirq[1] ASF[0] Split[0] WireSpeed[1] TSOcap[1]
eth0: dma_rwctrl[76180000] dma_mask[64-bit]
tg3: eth0: Link is up at 10 Mbps, half duplex.
tg3: eth0: Flow control is off for TX and off for RX.
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [discuss] Re: 2.6.19-rc4: known unfixed regressions (v3)
2006-11-08 18:36 ` Linus Torvalds
@ 2006-11-10 6:25 ` Jeff Chua
2006-11-10 6:43 ` Andrew Morton
0 siblings, 1 reply; 13+ messages in thread
From: Jeff Chua @ 2006-11-10 6:25 UTC (permalink / raw)
To: Linus Torvalds
Cc: Adrian Bunk, Matthew Wilcox, Andi Kleen, Aaron Durbin,
Andrew Morton, Linux Kernel Mailing List, gregkh, linux-pci
On 11/9/06, Linus Torvalds <torvalds@osdl.org> wrote:
> Pushed out. Jeff, can you verify that current git does the right thing.
Linus,
Can you post those affected patches that I can apply directly to 2.6.19-rc5?
I'm still old-fashioned and have not downloaded the git dist. I'll try
to do that tonight.
Currently, I'm using Aaron Durbin's patch and it works.
Thanks,
Jeff.
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [discuss] Re: 2.6.19-rc4: known unfixed regressions (v3)
2006-11-10 6:25 ` Jeff Chua
@ 2006-11-10 6:43 ` Andrew Morton
2006-11-10 9:21 ` Jeff Chua
0 siblings, 1 reply; 13+ messages in thread
From: Andrew Morton @ 2006-11-10 6:43 UTC (permalink / raw)
To: Jeff Chua
Cc: Linus Torvalds, Adrian Bunk, Matthew Wilcox, Andi Kleen,
Aaron Durbin, Linux Kernel Mailing List, gregkh, linux-pci
On Fri, 10 Nov 2006 14:25:30 +0800
"Jeff Chua" <jeff.chua.linux@gmail.com> wrote:
> On 11/9/06, Linus Torvalds <torvalds@osdl.org> wrote:
>
> > Pushed out. Jeff, can you verify that current git does the right thing.
>
> Linus,
>
> Can you post those affected patches that I can apply directly to 2.6.19-rc5?
http://userweb.kernel.org/~akpm/origin.patch is Linus's tree as of twenty seconds
ago (against 2.6.19-rc5)
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [discuss] Re: 2.6.19-rc4: known unfixed regressions (v3)
2006-11-08 18:08 ` Linus Torvalds
2006-11-08 18:36 ` Linus Torvalds
@ 2006-11-10 6:56 ` Andi Kleen
2006-11-10 10:16 ` Alan Cox
2006-11-10 13:56 ` Jeff Garzik
2 siblings, 1 reply; 13+ messages in thread
From: Andi Kleen @ 2006-11-10 6:56 UTC (permalink / raw)
To: Linus Torvalds
Cc: Adrian Bunk, Jeff Chua, Matthew Wilcox, Aaron Durbin,
Andrew Morton, Linux Kernel Mailing List, gregkh, linux-pci
> What a piece of crap.
>
> Andi, I'm getting really upset about this kind of thing. You've been very
> much not careful about MMCFG in general, and are allowing total crap to go
> into the kernel, without any thought. Just "testing" something isn't good
> enough, it needs to be thought out.
Sorry, probably should have read the patch more carefully.
I think I agreed with the high level idea but didn't double check
the details.
>
> I'm going to revert that totally bogus commit that added that broken
> "pci_mmcfg_insert_resources()" function. It could be done right, but doing
> it right would require that the function
Ok fine by me.
> We really should stop using MMCONFIG entirely, until we have a
Hmm, for .19 at least you mean?
Entirely stopping it would break the x86 macs minis again I think.
But we can make it "only use if type 1 doesn't work"
I'm sure some people will be upset again if we don't use it.
Perhaps there are really users who want to use the PCI-E error handling
for example.
> per-southbridge true knowledge of what the real decoding is. The BIOS
> tables for this are simply too damn unreliable.
My hopes for that are on Vista. Perhaps use a DMI year test again
(>= 2007) and only white lists for older boards.
-Andi
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [discuss] Re: 2.6.19-rc4: known unfixed regressions (v3)
2006-11-10 6:43 ` Andrew Morton
@ 2006-11-10 9:21 ` Jeff Chua
0 siblings, 0 replies; 13+ messages in thread
From: Jeff Chua @ 2006-11-10 9:21 UTC (permalink / raw)
To: Andrew Morton, Linus Torvalds
Cc: Adrian Bunk, Matthew Wilcox, Andi Kleen, Aaron Durbin,
Linux Kernel Mailing List, gregkh, linux-pci
On 11/10/06, Andrew Morton <akpm@osdl.org> wrote:
> On Fri, 10 Nov 2006 14:25:30 +0800
> "Jeff Chua" <jeff.chua.linux@gmail.com> wrote:
>
> > On 11/9/06, Linus Torvalds <torvalds@osdl.org> wrote:
> >
> > > Pushed out. Jeff, can you verify that current git does the right thing.
Yes, this does it. It's working with MMCONFIG now.
Thank you!
Jeff.
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [discuss] Re: 2.6.19-rc4: known unfixed regressions (v3)
2006-11-10 6:56 ` Andi Kleen
@ 2006-11-10 10:16 ` Alan Cox
2006-11-10 14:02 ` Jeff Garzik
0 siblings, 1 reply; 13+ messages in thread
From: Alan Cox @ 2006-11-10 10:16 UTC (permalink / raw)
To: Andi Kleen
Cc: Linus Torvalds, Adrian Bunk, Jeff Chua, Matthew Wilcox,
Aaron Durbin, Andrew Morton, Linux Kernel Mailing List, gregkh,
linux-pci
Ar Gwe, 2006-11-10 am 07:56 +0100, ysgrifennodd Andi Kleen:
> I'm sure some people will be upset again if we don't use it.
> Perhaps there are really users who want to use the PCI-E error handling
> for example.
And there is now hardware out there which requires accessing PCI-E
configuration spaces. Disabling it for those cases is not a sensible
option t all.
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [discuss] Re: 2.6.19-rc4: known unfixed regressions (v3)
2006-11-08 18:08 ` Linus Torvalds
2006-11-08 18:36 ` Linus Torvalds
2006-11-10 6:56 ` Andi Kleen
@ 2006-11-10 13:56 ` Jeff Garzik
2 siblings, 0 replies; 13+ messages in thread
From: Jeff Garzik @ 2006-11-10 13:56 UTC (permalink / raw)
To: Linus Torvalds
Cc: Adrian Bunk, Jeff Chua, Matthew Wilcox, Andi Kleen, Aaron Durbin,
Andrew Morton, Linux Kernel Mailing List, gregkh, linux-pci
Linus Torvalds wrote:
> We really should stop using MMCONFIG entirely, until we have a
> per-southbridge true knowledge of what the real decoding is. The BIOS
> tables for this are simply too damn unreliable.
FWIW: MMCONFIG is required for PCI domain support (or "PCI segments" as
ACPI calls them). Only a few mass market OEM boxes exist that need this
-- and they are all pretty new (Opteron multi-core) -- but more are coming.
I have a patch in -mm that works for this. Without the patch, my
sata_mv card and the machine's built-in MPT-Fusion do not appear at all
in PCI bus scans (nor do the associated hard drives) on this production
HP box. So far these machines are rare, /usually/ with a BIOS switch to
turn off PCI domains.
This says nothing about BIOS table reliability, of course. I agree that
MMCONFIG probing is highly unreliable at present. Whitelisting "<2007"
systems like Andi proposed may be the only option in some cases.
Jeff
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [discuss] Re: 2.6.19-rc4: known unfixed regressions (v3)
2006-11-10 10:16 ` Alan Cox
@ 2006-11-10 14:02 ` Jeff Garzik
0 siblings, 0 replies; 13+ messages in thread
From: Jeff Garzik @ 2006-11-10 14:02 UTC (permalink / raw)
To: Alan Cox
Cc: Andi Kleen, Linus Torvalds, Adrian Bunk, Jeff Chua,
Matthew Wilcox, Aaron Durbin, Andrew Morton,
Linux Kernel Mailing List, gregkh, linux-pci
Alan Cox wrote:
> Ar Gwe, 2006-11-10 am 07:56 +0100, ysgrifennodd Andi Kleen:
>> I'm sure some people will be upset again if we don't use it.
>> Perhaps there are really users who want to use the PCI-E error handling
>> for example.
>
> And there is now hardware out there which requires accessing PCI-E
> configuration spaces. Disabling it for those cases is not a sensible
> option t all.
Yeah, mmconfig is required for accessing extended PCI configuration
space, and for accessing ANY devices on a non-zero PCI segment (read:
x86 PCI domains).
If you have boot devices on a PCI domain bus, you aren't booting at all,
unless you're running -mm...
Jeff
^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~2006-11-10 14:02 UTC | newest]
Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <Pine.LNX.4.64.0611080056480.12828@silvia.corp.fedex.com>
[not found] ` <20061107171143.GU27140@parisc-linux.org>
[not found] ` <200611080839.46670.ak@suse.de>
[not found] ` <20061108122237.GF27140@parisc-linux.org>
[not found] ` <Pine.LNX.4.64.0611080803280.3667@g5.osdl.org>
2006-11-08 17:26 ` [discuss] Re: 2.6.19-rc4: known unfixed regressions (v3) Adrian Bunk
2006-11-08 17:49 ` Linus Torvalds
2006-11-08 18:08 ` Linus Torvalds
2006-11-08 18:36 ` Linus Torvalds
2006-11-10 6:25 ` Jeff Chua
2006-11-10 6:43 ` Andrew Morton
2006-11-10 9:21 ` Jeff Chua
2006-11-10 6:56 ` Andi Kleen
2006-11-10 10:16 ` Alan Cox
2006-11-10 14:02 ` Jeff Garzik
2006-11-10 13:56 ` Jeff Garzik
2006-11-08 18:17 ` Aaron Durbin
2006-11-10 5:53 Jeff Chua
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox