public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] cardbus: revert IO window limit
@ 2006-06-22  6:48 Pekka J Enberg
  2006-06-22  7:11 ` Andrew Morton
  0 siblings, 1 reply; 26+ messages in thread
From: Pekka J Enberg @ 2006-06-22  6:48 UTC (permalink / raw)
  To: akpm; +Cc: alesan, torvalds, linux-kernel

From: Pekka Enberg <penberg@cs.helsinki.fi>

This patch reverts commit 4196c3af25d98204216a5d6c37ad2cb303a1f2bf "cardbus:
limit IO windows to 256 bytes" which breaks Alessio Sangalli's machine boot
when APM support is enabled. See http://lkml.org/lkml/2006/6/16/33 for
description of the problem.

Cc: Alessio Sangalli <alesan@manoweb.com>
Cc: Linus Torvalds <torvalds@osdl.org>
Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
---

diff --git a/drivers/pci/setup-bus.c b/drivers/pci/setup-bus.c
index 28ce3a7..657be94 100644
--- a/drivers/pci/setup-bus.c
+++ b/drivers/pci/setup-bus.c
@@ -40,7 +40,7 @@ #define ROUND_UP(x, a)		(((x) + (a) - 1)
  * FIXME: IO should be max 256 bytes.  However, since we may
  * have a P2P bridge below a cardbus bridge, we need 4K.
  */
-#define CARDBUS_IO_SIZE		(256)
+#define CARDBUS_IO_SIZE		(4*1024)
 #define CARDBUS_MEM_SIZE	(32*1024*1024)
 
 static void __devinit

^ permalink raw reply related	[flat|nested] 26+ messages in thread

* Re: [PATCH] cardbus: revert IO window limit
  2006-06-22  6:48 Pekka J Enberg
@ 2006-06-22  7:11 ` Andrew Morton
  2006-06-22  7:53   ` Alessio Sangalli
                     ` (2 more replies)
  0 siblings, 3 replies; 26+ messages in thread
From: Andrew Morton @ 2006-06-22  7:11 UTC (permalink / raw)
  To: Pekka J Enberg
  Cc: alesan, torvalds, linux-kernel, Alan Cox, Ivan Kokshaysky,
	Dmitry Torokhov

On Thu, 22 Jun 2006 09:48:05 +0300 (EEST)
Pekka J Enberg <penberg@cs.Helsinki.FI> wrote:

> From: Pekka Enberg <penberg@cs.helsinki.fi>
> 
> This patch reverts commit 4196c3af25d98204216a5d6c37ad2cb303a1f2bf "cardbus:
> limit IO windows to 256 bytes" which breaks Alessio Sangalli's machine boot
> when APM support is enabled. See http://lkml.org/lkml/2006/6/16/33 for
> description of the problem.
> 
> Cc: Alessio Sangalli <alesan@manoweb.com>
> Cc: Linus Torvalds <torvalds@osdl.org>
> Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
> ---
> 
> diff --git a/drivers/pci/setup-bus.c b/drivers/pci/setup-bus.c
> index 28ce3a7..657be94 100644
> --- a/drivers/pci/setup-bus.c
> +++ b/drivers/pci/setup-bus.c
> @@ -40,7 +40,7 @@ #define ROUND_UP(x, a)		(((x) + (a) - 1)
>   * FIXME: IO should be max 256 bytes.  However, since we may
>   * have a P2P bridge below a cardbus bridge, we need 4K.
>   */
> -#define CARDBUS_IO_SIZE		(256)
> +#define CARDBUS_IO_SIZE		(4*1024)
>  #define CARDBUS_MEM_SIZE	(32*1024*1024)
>  
>  static void __devinit

There is something bad happening in there.  Presumably, this patch will
break the ThinkPad 600x series machines again though.

It'd be nice if this was related to
http://bugzilla.kernel.org/show_bug.cgi?id=6725, but I guess not.

Didn't all this stuff work in 2.4?

^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: [PATCH] cardbus: revert IO window limit
  2006-06-22  7:11 ` Andrew Morton
@ 2006-06-22  7:53   ` Alessio Sangalli
  2006-06-22 11:35   ` Alan Cox
  2006-06-22 16:16   ` Linus Torvalds
  2 siblings, 0 replies; 26+ messages in thread
From: Alessio Sangalli @ 2006-06-22  7:53 UTC (permalink / raw)
  To: Andrew Morton
  Cc: Pekka J Enberg, torvalds, linux-kernel, Alan Cox, Ivan Kokshaysky,
	Dmitry Torokhov

Andrew Morton wrote:

>> -#define CARDBUS_IO_SIZE		(256)
>> +#define CARDBUS_IO_SIZE		(4*1024)

> There is something bad happening in there.  Presumably, this patch will
> break the ThinkPad 600x series machines again though.
> 
> It'd be nice if this was related to
> http://bugzilla.kernel.org/show_bug.cgi?id=6725, but I guess not.

To be honest, I did not try any pcmcia devices lately. I will test the
machine with various kernels and let you know the results.

> Didn't all this stuff work in 2.4?

I will also test the machina with a recent 2.4. Just let me know if I
should try out a very particular version,

thank you
Alessio Sangalli



^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: [PATCH] cardbus: revert IO window limit
  2006-06-22  7:11 ` Andrew Morton
  2006-06-22  7:53   ` Alessio Sangalli
@ 2006-06-22 11:35   ` Alan Cox
  2006-06-22 16:18     ` Linus Torvalds
  2006-06-22 16:16   ` Linus Torvalds
  2 siblings, 1 reply; 26+ messages in thread
From: Alan Cox @ 2006-06-22 11:35 UTC (permalink / raw)
  To: Andrew Morton
  Cc: Pekka J Enberg, alesan, torvalds, linux-kernel, Ivan Kokshaysky,
	Dmitry Torokhov

Ar Iau, 2006-06-22 am 00:11 -0700, ysgrifennodd Andrew Morton:
> There is something bad happening in there.  Presumably, this patch will
> break the ThinkPad 600x series machines again though.
> 

Possibly not - remember Linus fixed the "hidden resources" problem with
the PIIX bridge chips.


^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: [PATCH] cardbus: revert IO window limit
  2006-06-22  7:11 ` Andrew Morton
  2006-06-22  7:53   ` Alessio Sangalli
  2006-06-22 11:35   ` Alan Cox
@ 2006-06-22 16:16   ` Linus Torvalds
  2 siblings, 0 replies; 26+ messages in thread
From: Linus Torvalds @ 2006-06-22 16:16 UTC (permalink / raw)
  To: Andrew Morton
  Cc: Pekka J Enberg, alesan, linux-kernel, Alan Cox, Ivan Kokshaysky,
	Dmitry Torokhov



On Thu, 22 Jun 2006, Andrew Morton wrote:
> 
> There is something bad happening in there.  Presumably, this patch will
> break the ThinkPad 600x series machines again though.
> 
> It'd be nice if this was related to
> http://bugzilla.kernel.org/show_bug.cgi?id=6725, but I guess not.
> 
> Didn't all this stuff work in 2.4?

No, it's never worked on all machines.

What happens is that the IO window size just changes where things are 
allocated, which breaks things on one machine and fixes it on another. The 
reason tends to be some random hidden IO address that the kernel doesn't 
know about.

So yes, that particular machine may have worked in 2.4.x. Then we fixed 
something, and other machines started working, and that one broke.

I'd rather try to understand why the 256-byte IO window doesn't work on 
that particular machine than try to just randomly change it to hide the 
problem just on that machine again.

		Linus

^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: [PATCH] cardbus: revert IO window limit
  2006-06-22 11:35   ` Alan Cox
@ 2006-06-22 16:18     ` Linus Torvalds
  2006-06-22 16:36       ` Andrew Morton
  0 siblings, 1 reply; 26+ messages in thread
From: Linus Torvalds @ 2006-06-22 16:18 UTC (permalink / raw)
  To: Alan Cox
  Cc: Andrew Morton, Pekka J Enberg, alesan, linux-kernel,
	Ivan Kokshaysky, Dmitry Torokhov



On Thu, 22 Jun 2006, Alan Cox wrote:
>
> Ar Iau, 2006-06-22 am 00:11 -0700, ysgrifennodd Andrew Morton:
> > There is something bad happening in there.  Presumably, this patch will
> > break the ThinkPad 600x series machines again though.
> > 
> 
> Possibly not - remember Linus fixed the "hidden resources" problem with
> the PIIX bridge chips.

Right. The IBM thinkpad probably works (well, at least _that_ one: 
there's tons of different Thinkpads, they have different cardbus 
controllers, and at least one of them has some other problem).

However, changing the IO window size just hides the problem on the machine 
that breaks this time around, and we should really fix _that_, rather than 
hide it (because otherwise it will break again when we do something else 
unrelated that just happens to change the order we do things in).

		Linus

^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: [PATCH] cardbus: revert IO window limit
  2006-06-22 16:18     ` Linus Torvalds
@ 2006-06-22 16:36       ` Andrew Morton
  2006-06-22 17:07         ` Linus Torvalds
  0 siblings, 1 reply; 26+ messages in thread
From: Andrew Morton @ 2006-06-22 16:36 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: alan, penberg, alesan, linux-kernel, ink, dtor_core

On Thu, 22 Jun 2006 09:18:41 -0700 (PDT)
Linus Torvalds <torvalds@osdl.org> wrote:

> 
> 
> On Thu, 22 Jun 2006, Alan Cox wrote:
> >
> > Ar Iau, 2006-06-22 am 00:11 -0700, ysgrifennodd Andrew Morton:
> > > There is something bad happening in there.  Presumably, this patch will
> > > break the ThinkPad 600x series machines again though.
> > > 
> > 
> > Possibly not - remember Linus fixed the "hidden resources" problem with
> > the PIIX bridge chips.
> 
> Right. The IBM thinkpad probably works (well, at least _that_ one: 
> there's tons of different Thinkpads, they have different cardbus 
> controllers, and at least one of them has some other problem).
> 
> However, changing the IO window size just hides the problem on the machine 
> that breaks this time around, and we should really fix _that_, rather than 
> hide it (because otherwise it will break again when we do something else 
> unrelated that just happens to change the order we do things in).
> 

OK, thanks.  All we have on Alessio's machine is "freezes at boot if APM is enabled"
(http://lkml.org/lkml/2006/6/16/33).  Any suggestions as to how to proceed
with that?



^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: [PATCH] cardbus: revert IO window limit
  2006-06-22 16:36       ` Andrew Morton
@ 2006-06-22 17:07         ` Linus Torvalds
  2006-06-22 20:01           ` Alessio Sangalli
  2006-06-22 21:27           ` Alessio Sangalli
  0 siblings, 2 replies; 26+ messages in thread
From: Linus Torvalds @ 2006-06-22 17:07 UTC (permalink / raw)
  To: Andrew Morton; +Cc: alan, penberg, alesan, linux-kernel, ink, dtor_core



On Thu, 22 Jun 2006, Andrew Morton wrote:
> 
> OK, thanks.  All we have on Alessio's machine is "freezes at boot if APM is enabled"
> (http://lkml.org/lkml/2006/6/16/33).  Any suggestions as to how to proceed
> with that?

It would be interesting to see the output of "/sbin/lspci -vvx" with a 
working and a non-working kernel (obviously APM has to be disabled for 
this test).

And the full bootup dmesg for both cases (preferably with CONFIG_PCI_DEBUG 
enabled)

Alessio?

		Linus

^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: [PATCH] cardbus: revert IO window limit
  2006-06-22 17:07         ` Linus Torvalds
@ 2006-06-22 20:01           ` Alessio Sangalli
  2006-06-22 21:27           ` Alessio Sangalli
  1 sibling, 0 replies; 26+ messages in thread
From: Alessio Sangalli @ 2006-06-22 20:01 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: Andrew Morton, alan, penberg, linux-kernel, ink, dtor_core

Linus Torvalds wrote:
> 
> On Thu, 22 Jun 2006, Andrew Morton wrote:
>> OK, thanks.  All we have on Alessio's machine is "freezes at boot if APM is enabled"
>> (http://lkml.org/lkml/2006/6/16/33).  Any suggestions as to how to proceed
>> with that?
> 
> It would be interesting to see the output of "/sbin/lspci -vvx" with a 
> working and a non-working kernel (obviously APM has to be disabled for 
> this test).
> 
> And the full bootup dmesg for both cases (preferably with CONFIG_PCI_DEBUG 
> enabled)
> 
> Alessio?


Here I am:

**************************************************
the latest full-working kernel, 2.6.13.5 with APM:
**************************************************

# /sbin/lspci -vvx
00:00.0 Host bridge: Intel Corp. 82440MX Host Bridge (rev 01)
        Subsystem: Compaq Computer Corporation: Unknown device 000d
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping- SERR- FastB2B-
        Status: Cap- 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort+ >SERR- <PERR-
        Latency: 64
00: 86 80 94 71 06 00 00 22 01 00 00 06 00 40 80 00
10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 11 0e 0d 00
30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

00:00.1 Multimedia audio controller: Intel Corp. 82440MX AC'97 Audio
Controller
        Subsystem: Compaq Computer Corporation: Unknown device 000d
        Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping- SERR- FastB2B-
        Status: Cap- 66Mhz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
        Latency: 0
        Interrupt: pin B routed to IRQ 5
        Region 0: I/O ports at 1600 [size=256]
        Region 1: I/O ports at 1500 [size=64]
00: 86 80 95 71 05 00 00 00 00 00 01 04 00 00 00 00
10: 01 16 00 00 01 15 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 11 0e 0d 00
30: 00 00 00 00 00 00 00 00 00 00 00 00 05 02 00 00

00:00.2 Modem: Intel Corp. 82440MX AC'97 Modem Controller (prog-if 00
[Generic])
        Subsystem: Compaq Computer Corporation: Unknown device 000d
        Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping- SERR- FastB2B-
        Status: Cap- 66Mhz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
        Latency: 0
        Interrupt: pin B routed to IRQ 5
        Region 0: I/O ports at 1800 [size=256]
        Region 1: I/O ports at 1700 [size=128]
00: 86 80 96 71 05 00 00 00 00 00 03 07 00 00 00 00
10: 01 18 00 00 01 17 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 11 0e 0d 00
30: 00 00 00 00 00 00 00 00 00 00 00 00 05 02 00 00

00:07.0 ISA bridge: Intel Corp. 82440MX ISA Bridge (rev 01)
        Control: I/O+ Mem+ BusMaster+ SpecCycle+ MemWINV- VGASnoop-
ParErr- Stepping- SERR- FastB2B-
        Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
        Latency: 0
00: 86 80 98 71 0f 00 80 02 01 00 01 06 00 00 80 00
10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

00:07.1 IDE interface: Intel Corp. 82440MX EIDE Controller (prog-if 80
[Master])
        Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping- SERR- FastB2B-
        Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
        Latency: 64
        Region 4: I/O ports at 1100 [size=16]
00: 86 80 99 71 05 00 80 02 00 80 01 01 00 40 00 00
10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
20: 01 11 00 00 00 00 00 00 00 00 00 00 00 00 00 00
30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

00:07.2 USB Controller: Intel Corp. 82440MX USB Universal Host
Controller (prog-if 00 [UHCI])
        Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping- SERR- FastB2B-
        Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort+ >SERR- <PERR-
        Latency: 240
        Interrupt: pin D routed to IRQ 11
        Region 4: I/O ports at 1200 [size=32]
00: 86 80 9a 71 05 00 80 22 00 00 03 0c 00 f0 00 00
10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
20: 01 12 00 00 00 00 00 00 00 00 00 00 00 00 00 00
30: 00 00 00 00 00 00 00 00 00 00 00 00 0b 04 00 00

00:07.3 Bridge: Intel Corp. 82440MX Power Management Controller
        Control: I/O+ Mem- BusMaster- SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping- SERR- FastB2B-
        Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
00: 86 80 9b 71 01 00 80 02 00 00 80 06 00 00 00 00
10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

00:08.0 CardBus bridge: Texas Instruments PCI1410 PC card Cardbus
Controller (rev 01)
        Subsystem: Compaq Computer Corporation: Unknown device 000d
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping- SERR- FastB2B-
        Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
        Latency: 168, cache line size 08
        Interrupt: pin A routed to IRQ 10
        Region 0: Memory at 14020000 (32-bit, non-prefetchable) [size=4K]
        Bus: primary=00, secondary=01, subordinate=04, sec-latency=176
        Memory window 0: 10000000-11fff000 (prefetchable)
        Memory window 1: 12000000-13fff000
        I/O window 0: 00002000-00002fff
        I/O window 1: 00004000-00004fff
        BridgeCtl: Parity- SERR- ISA- VGA- MAbort- >Reset+ 16bInt+
PostWrite+
        16-bit legacy interface ports at 0001
00: 4c 10 50 ac 07 00 10 02 01 00 07 06 08 a8 02 00
10: 00 00 02 14 a0 00 00 02 00 01 04 b0 00 00 00 10
20: 00 f0 ff 11 00 00 00 12 00 f0 ff 13 00 20 00 00
30: fc 2f 00 00 00 40 00 00 fc 4f 00 00 0a 01 c0 05
40: 11 0e 0d 00 01 00 00 00 00 00 00 00 00 00 00 00
50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

00:09.0 VGA compatible controller: ATI Technologies Inc Rage Mobility
P/M (rev 64) (prog-if 00 [VGA])
        Subsystem: Compaq Computer Corporation: Unknown device 000d
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping+ SERR- FastB2B-
        Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
        Latency: 0 (2000ns min), cache line size 04
        Interrupt: pin A routed to IRQ 0
        Region 0: Memory at c0000000 (32-bit, non-prefetchable) [size=16M]
        Region 1: I/O ports at 3000 [size=256]
        Region 2: Memory at c1000000 (32-bit, non-prefetchable) [size=4K]
        Expansion ROM at 14000000 [disabled] [size=128K]
        Capabilities: [5c] Power Management version 1
                Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA
PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-
00: 02 10 52 4c 87 00 90 02 64 00 00 03 04 00 00 00
10: 00 00 00 c0 01 30 00 00 00 00 00 c1 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 11 0e 0d 00
30: 00 00 00 00 5c 00 00 00 00 00 00 00 ff 01 08 00

00:0a.0 Ethernet controller: Realtek Semiconductor Co., Ltd.
RTL-8139/8139C/8139C+ (rev 10)
        Subsystem: Compaq Computer Corporation: Unknown device 000d
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping- SERR- FastB2B-
        Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
        Latency: 128 (8000ns min, 16000ns max)
        Interrupt: pin A routed to IRQ 11
        Region 0: I/O ports at 3e00 [size=256]
        Region 1: Memory at e9100000 (32-bit, non-prefetchable) [size=256]
        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-
00: ec 10 39 81 07 00 90 02 10 00 00 02 00 80 00 00
10: 01 3e 00 00 00 00 10 e9 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 11 0e 0d 00
30: 00 00 00 00 50 00 00 00 00 00 00 00 0b 01 20 40

00:0b.0 FireWire (IEEE 1394): NEC Corporation IEEE 1394 [OrangeLink]
Host Controller (rev 02) (prog-if 10 [OHCI])
        Subsystem: Compaq Computer Corporation: Unknown device 000d
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop-
ParErr+ Stepping- SERR+ FastB2B-
        Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
        Latency: 64, cache line size 04
        Interrupt: pin A routed to IRQ 11
        Region 0: Memory at 14021000 (32-bit, non-prefetchable) [size=4K]
        Capabilities: [60] Power Management version 1
                Flags: PMEClk- DSI- D1- D2+ AuxCurrent=0mA
PME(D0-,D1-,D2+,D3hot+,D3cold-)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-
00: 33 10 cd 00 56 01 90 02 02 10 00 0c 04 40 00 00
10: 00 10 02 14 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 11 0e 0d 00
30: 00 00 00 00 60 00 00 00 00 00 00 00 0b 01 00 00

# dmesg
Linux version 2.6.13.5 (root@valkyrie) (gcc version 3.3.4) #5 Thu Jun 22
20:03:51 CEST 2006
BIOS-provided physical RAM map:
 BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
 BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
 BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
 BIOS-e820: 0000000000100000 - 000000000fff0000 (usable)
 BIOS-e820: 000000000fff0000 - 000000000fffffc0 (ACPI data)
 BIOS-e820: 000000000fffffc0 - 0000000010000000 (ACPI NVS)
 BIOS-e820: 00000000fffc0000 - 0000000100000000 (reserved)
255MB LOWMEM available.
On node 0 totalpages: 65520
  DMA zone: 4096 pages, LIFO batch:1
  Normal zone: 61424 pages, LIFO batch:31
  HighMem zone: 0 pages, LIFO batch:1
DMI not present.
Allocating PCI resources starting at 10000000 (gap: 10000000:effc0000)
Built 1 zonelists
Kernel command line: auto BOOT_IMAGE=2.6.13.5 ro root=301
Initializing CPU#0
PID hash table entries: 1024 (order: 10, 16384 bytes)
Detected 500.221 MHz processor.
Using tsc for high-res timesource
Console: colour dummy device 80x25
Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
Memory: 255372k/262080k available (2428k kernel code, 6136k reserved,
930k data, 144k init, 0k highmem)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Calibrating delay using timer specific routine.. 1000.96 BogoMIPS
(lpj=500484)
Mount-cache hash table entries: 512
CPU: After generic identify, caps: 0383f9ff 00000000 00000000 00000000
00000000 00000000 00000000
CPU: After vendor identify, caps: 0383f9ff 00000000 00000000 00000000
00000000 00000000 00000000
CPU: L1 I cache: 16K, L1 D cache: 16K
CPU: L2 cache: 256K
CPU: After all inits, caps: 0383f9ff 00000000 00000000 00000040 00000000
00000000 00000000
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
mtrr: v2.0 (20020519)
CPU: Intel Pentium III (Coppermine) stepping 06
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Checking 'hlt' instruction... OK.
NET: Registered protocol family 16
PCI: PCI BIOS revision 2.10 entry at 0xeb180, last bus=0
PCI: Using configuration type 1
SCSI subsystem initialized
usbcore: registered new driver usbfs
usbcore: registered new driver hub
PCI: Probing PCI hardware
PCI: Probing PCI hardware (bus 00)
Boot video device is 0000:00:09.0
PCI: Using IRQ router PIIX/ICH [8086/7198] at 0000:00:07.0
PCI: Cannot allocate resource region 0 of device 0000:00:0b.0
PCI: BIOS reporting unknown device 00:01
PCI: BIOS reporting unknown device 00:02
PCI: Bus 1, cardbus bridge: 0000:00:08.0
  IO window: 00002000-00002fff
  IO window: 00004000-00004fff
  PREFETCH window: 10000000-11ffffff
  MEM window: 12000000-13ffffff
PCI: Found IRQ 10 for device 0000:00:08.0
apm: BIOS version 1.2 Flags 0x03 (Driver version 1.16ac)
NTFS driver 2.1.23 [Flags: R/O].
Initializing Cryptographic API
vesafb: framebuffer at 0xc0000000, mapped to 0xd0800000, using 1536k,
total 4096k
vesafb: mode is 1024x768x8, linelength=1024, pages=4
vesafb: protected mode interface info at c000:4f84
vesafb: scrolling: redraw
vesafb: Pseudocolor: size=6:6:6:6, shift=0:0:0:0
Console: switching to colour frame buffer device 128x48
fb0: VESA VGA frame buffer device
Real Time Clock Driver v1.12
serio: i8042 AUX port at 0x60,0x64 irq 12
serio: i8042 KBD port at 0x60,0x64 irq 1
io scheduler noop registered
io scheduler cfq registered
loop: loaded (max 8 devices)
8139too Fast Ethernet driver 0.9.27
PCI: Found IRQ 10 for device 0000:00:0a.0
IRQ routing conflict for 0000:00:0a.0, have irq 11, want irq 10
eth0: RealTek RTL8139 at 0x3e00, 00:40:d0:17:96:b1, IRQ 11
eth0:  Identified 8139 chip type 'RTL-8139C'
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
PIIX4: IDE controller at PCI slot 0000:00:07.1
PIIX4: chipset revision 0
PIIX4: not 100% native mode: will probe irqs later
    ide0: BM-DMA at 0x1100-0x1107, BIOS settings: hda:DMA, hdb:pio
Probing IDE interface ide0...
hda: IC25N020ATCS04-0, ATA DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Probing IDE interface ide1...
hda: max request size: 128KiB
hda: 39070080 sectors (20003 MB) w/1768KiB Cache, CHS=38760/16/63, UDMA(33)
hda: cache flushes not supported
 hda: hda1 hda2 hda3
PCI: Found IRQ 10 for device 0000:00:08.0
Yenta: CardBus bridge found at 0000:00:08.0 [0e11:000d]
Yenta: Using CSCINT to route CSC interrupts to PCI
Yenta: Routing CardBus interrupts to PCI
Yenta TI: socket 0000:00:08.0, mfunc 0x017c1602, devctl 0x64
Yenta: ISA IRQ mask 0x02d8, PCI irq 10
Socket status: 30000059
USB Universal Host Controller Interface driver v2.3
PCI: IRQ 11 for device 0000:00:07.2 doesn't match PIRQ mask - try
pci=usepirqmask
PCI: Found IRQ 11 for device 0000:00:07.2
PCI: Sharing IRQ 11 with 0000:00:0b.0
uhci_hcd 0000:00:07.2: Intel Corporation 82440MX USB Universal Host
Controller
uhci_hcd 0000:00:07.2: new USB bus registered, assigned bus number 1
uhci_hcd 0000:00:07.2: irq 11, io base 0x00001200
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
usbcore: registered new driver cdc_acm
drivers/usb/class/cdc-acm.c: v0.23:USB Abstract Control Model driver for
USB modems and ISDN adapters
usbcore: registered new driver usblp
drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver
Initializing USB Mass Storage driver...
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.01:USB HID core driver
usbcore: registered new driver usbserial
drivers/usb/serial/usb-serial.c: USB Serial Driver core v2.0
drivers/usb/serial/usb-serial.c: USB Serial support registered for PL-2303
usbcore: registered new driver pl2303
drivers/usb/serial/pl2303.c: Prolific PL2303 USB to serial adaptor
driver v0.12
mice: PS/2 mouse device common for all mice
Advanced Linux Sound Architecture Driver Version 1.0.9b (Thu Jul 28
12:20:13 2005 UTC).
PCI: Setting latency timer of device 0000:00:00.1 to 64
input: AT Translated Set 2 keyboard on isa0060/serio0
intel8x0_measure_ac97_clock: measured 50211 usecs
intel8x0: clocking to 48000
ALSA device list:
  #0: Intel 440MX with CS4299 at 0x1600, irq 5
Synaptics Touchpad, model: 1, fw: 4.1, id: 0x8848a1, caps: 0x0/0x0
NET: Registered protocol family 2
input: SynPS/2 Synaptics TouchPad on isa0060/serio1
IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
TCP established hash table entries: 16384 (order: 5, 131072 bytes)
TCP bind hash table entries: 16384 (order: 4, 65536 bytes)
TCP: Hash tables configured (established 16384 bind 16384)
TCP reno registered
TCP bic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
Using IPI Shortcut mode
Suspend2 Core.
Suspend2 Compression Driver loading.
Suspend2 Encryption Driver loading.
Suspend2 Swap Writer loading.
Suspend2 2.2-rc7: Swapwriter: Signature found.
Suspend2 2.2-rc7: Suspending enabled.
ReiserFS: hda1: found reiserfs format "3.6" with standard journal
ReiserFS: hda1: using ordered data mode
ReiserFS: hda1: journal params: device hda1, size 8192, journal first
block 18, max trans len 1024, max batch 900, max commit age 30, max
trans age 30
ReiserFS: hda1: checking transaction log (hda1)
ReiserFS: hda1: Using r5 hash to sort names
VFS: Mounted root (reiserfs filesystem) readonly.
Freeing unused kernel memory: 144k freed
Adding 265064k swap on /dev/hda2.  Priority:-1 extents:1
NTFS volume version 3.1.
cs: memory probe 0x0c0000-0x0fffff: excluding 0xc0000-0xcbfff
0xe0000-0xfffff
cs: memory probe 0x60000000-0x60ffffff: clean.
cs: memory probe 0xa0000000-0xa0ffffff: clean.
eth0: link up, 100Mbps, full-duplex, lpa 0x45E1

**************************************************
I just did a "git clone" of the kernel repository
and compiled it without APM support:
**************************************************

# /sbin/lspci -vvx
00:00.0 Host bridge: Intel Corp. 82440MX Host Bridge (rev 01)
        Subsystem: Compaq Computer Corporation: Unknown device 000d
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping- SERR- FastB2B-
        Status: Cap- 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort+ >SERR- <PERR-
        Latency: 64
00: 86 80 94 71 06 00 00 22 01 00 00 06 00 40 80 00
10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 11 0e 0d 00
30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

00:00.1 Multimedia audio controller: Intel Corp. 82440MX AC'97 Audio
Controller
        Subsystem: Compaq Computer Corporation: Unknown device 000d
        Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping- SERR- FastB2B-
        Status: Cap- 66Mhz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
        Latency: 0
        Interrupt: pin B routed to IRQ 5
        Region 0: I/O ports at 1600 [size=256]
        Region 1: I/O ports at 1500 [size=64]
00: 86 80 95 71 05 00 00 00 00 00 01 04 00 00 00 00
10: 01 16 00 00 01 15 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 11 0e 0d 00
30: 00 00 00 00 00 00 00 00 00 00 00 00 05 02 00 00

00:00.2 Modem: Intel Corp. 82440MX AC'97 Modem Controller (prog-if 00
[Generic])
        Subsystem: Compaq Computer Corporation: Unknown device 000d
        Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping- SERR- FastB2B-
        Status: Cap- 66Mhz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
        Latency: 0
        Interrupt: pin B routed to IRQ 5
        Region 0: I/O ports at 1800 [size=256]
        Region 1: I/O ports at 1700 [size=128]
00: 86 80 96 71 05 00 00 00 00 00 03 07 00 00 00 00
10: 01 18 00 00 01 17 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 11 0e 0d 00
30: 00 00 00 00 00 00 00 00 00 00 00 00 05 02 00 00

00:07.0 ISA bridge: Intel Corp. 82440MX ISA Bridge (rev 01)
        Control: I/O+ Mem+ BusMaster+ SpecCycle+ MemWINV- VGASnoop-
ParErr- Stepping- SERR- FastB2B-
        Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
        Latency: 0
00: 86 80 98 71 0f 00 80 02 01 00 01 06 00 00 80 00
10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

00:07.1 IDE interface: Intel Corp. 82440MX EIDE Controller (prog-if 80
[Master])
        Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping- SERR- FastB2B-
        Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
        Latency: 64
        Region 4: I/O ports at 1100 [size=16]
00: 86 80 99 71 05 00 80 02 00 80 01 01 00 40 00 00
10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
20: 01 11 00 00 00 00 00 00 00 00 00 00 00 00 00 00
30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

00:07.2 USB Controller: Intel Corp. 82440MX USB Universal Host
Controller (prog-if 00 [UHCI])
        Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping- SERR- FastB2B-
        Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort+ >SERR- <PERR-
        Latency: 240
        Interrupt: pin D routed to IRQ 11
        Region 4: I/O ports at 1200 [size=32]
00: 86 80 9a 71 05 00 80 22 00 00 03 0c 00 f0 00 00
10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
20: 01 12 00 00 00 00 00 00 00 00 00 00 00 00 00 00
30: 00 00 00 00 00 00 00 00 00 00 00 00 0b 04 00 00

00:07.3 Bridge: Intel Corp. 82440MX Power Management Controller
        Control: I/O+ Mem- BusMaster- SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping- SERR- FastB2B-
        Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
00: 86 80 9b 71 01 00 80 02 00 00 80 06 00 00 00 00
10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

00:08.0 CardBus bridge: Texas Instruments PCI1410 PC card Cardbus
Controller (rev 01)
        Subsystem: Compaq Computer Corporation: Unknown device 000d
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping- SERR- FastB2B-
        Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
        Latency: 168, cache line size 08
        Interrupt: pin A routed to IRQ 10
        Region 0: Memory at 14020000 (32-bit, non-prefetchable) [size=4K]
        Bus: primary=00, secondary=01, subordinate=04, sec-latency=176
        Memory window 0: 10000000-11fff000 (prefetchable)
        Memory window 1: 12000000-13fff000
        I/O window 0: 00002000-00002fff
        I/O window 1: 00004000-00004fff
        BridgeCtl: Parity- SERR- ISA- VGA- MAbort- >Reset+ 16bInt+
PostWrite+
        16-bit legacy interface ports at 0001
00: 4c 10 50 ac 07 00 10 02 01 00 07 06 08 a8 02 00
10: 00 00 02 14 a0 00 00 02 00 01 04 b0 00 00 00 10
20: 00 f0 ff 11 00 00 00 12 00 f0 ff 13 00 20 00 00
30: fc 2f 00 00 00 40 00 00 fc 4f 00 00 0a 01 c0 05
40: 11 0e 0d 00 01 00 00 00 00 00 00 00 00 00 00 00
50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

00:09.0 VGA compatible controller: ATI Technologies Inc Rage Mobility
P/M (rev 64) (prog-if 00 [VGA])
        Subsystem: Compaq Computer Corporation: Unknown device 000d
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping+ SERR- FastB2B-
        Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
        Latency: 0 (2000ns min), cache line size 04
        Interrupt: pin A routed to IRQ 0
        Region 0: Memory at c0000000 (32-bit, non-prefetchable) [size=16M]
        Region 1: I/O ports at 3000 [size=256]
        Region 2: Memory at c1000000 (32-bit, non-prefetchable) [size=4K]
        Expansion ROM at 14000000 [disabled] [size=128K]
        Capabilities: [5c] Power Management version 1
                Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA
PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-
00: 02 10 52 4c 87 00 90 02 64 00 00 03 04 00 00 00
10: 00 00 00 c0 01 30 00 00 00 00 00 c1 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 11 0e 0d 00
30: 00 00 00 00 5c 00 00 00 00 00 00 00 ff 01 08 00

00:0a.0 Ethernet controller: Realtek Semiconductor Co., Ltd.
RTL-8139/8139C/8139C+ (rev 10)
        Subsystem: Compaq Computer Corporation: Unknown device 000d
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping- SERR- FastB2B-
        Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
        Latency: 128 (8000ns min, 16000ns max)
        Interrupt: pin A routed to IRQ 11
        Region 0: I/O ports at 3e00 [size=256]
        Region 1: Memory at e9100000 (32-bit, non-prefetchable) [size=256]
        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-
00: ec 10 39 81 07 00 90 02 10 00 00 02 00 80 00 00
10: 01 3e 00 00 00 00 10 e9 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 11 0e 0d 00
30: 00 00 00 00 50 00 00 00 00 00 00 00 0b 01 20 40

00:0b.0 FireWire (IEEE 1394): NEC Corporation IEEE 1394 [OrangeLink]
Host Controller (rev 02) (prog-if 10 [OHCI])
        Subsystem: Compaq Computer Corporation: Unknown device 000d
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop-
ParErr+ Stepping- SERR+ FastB2B-
        Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
        Latency: 64, cache line size 04
        Interrupt: pin A routed to IRQ 11
        Region 0: Memory at 14021000 (32-bit, non-prefetchable) [size=4K]
        Capabilities: [60] Power Management version 1
                Flags: PMEClk- DSI- D1- D2+ AuxCurrent=0mA
PME(D0-,D1-,D2+,D3hot+,D3cold-)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-
00: 33 10 cd 00 56 01 90 02 02 10 00 0c 04 40 00 00
10: 00 10 02 14 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 11 0e 0d 00
30: 00 00 00 00 60 00 00 00 00 00 00 00 0b 01 00 00

# dmesg
Linux version 2.6.13.5 (root@valkyrie) (gcc version 3.3.4) #5 Thu Jun 22
20:03:51 CEST 2006
BIOS-provided physical RAM map:
 BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
 BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
 BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
 BIOS-e820: 0000000000100000 - 000000000fff0000 (usable)
 BIOS-e820: 000000000fff0000 - 000000000fffffc0 (ACPI data)
 BIOS-e820: 000000000fffffc0 - 0000000010000000 (ACPI NVS)
 BIOS-e820: 00000000fffc0000 - 0000000100000000 (reserved)
255MB LOWMEM available.
On node 0 totalpages: 65520
  DMA zone: 4096 pages, LIFO batch:1
  Normal zone: 61424 pages, LIFO batch:31
  HighMem zone: 0 pages, LIFO batch:1
DMI not present.
Allocating PCI resources starting at 10000000 (gap: 10000000:effc0000)
Built 1 zonelists
Kernel command line: auto BOOT_IMAGE=2.6.13.5 ro root=301
Initializing CPU#0
PID hash table entries: 1024 (order: 10, 16384 bytes)
Detected 500.065 MHz processor.
Using tsc for high-res timesource
Console: colour dummy device 80x25
Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
Memory: 255372k/262080k available (2428k kernel code, 6136k reserved,
930k data, 144k init, 0k highmem)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Calibrating delay using timer specific routine.. 1000.96 BogoMIPS
(lpj=500483)
Mount-cache hash table entries: 512
CPU: After generic identify, caps: 0387f9ff 00000000 00000000 00000000
00000000 00000000 00000000
CPU: After vendor identify, caps: 0387f9ff 00000000 00000000 00000000
00000000 00000000 00000000
CPU: L1 I cache: 16K, L1 D cache: 16K
CPU: L2 cache: 256K
CPU serial number disabled.
CPU: After all inits, caps: 0383f9ff 00000000 00000000 00000040 00000000
00000000 00000000
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
mtrr: v2.0 (20020519)
CPU: Intel Pentium III (Coppermine) stepping 06
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Checking 'hlt' instruction... OK.
NET: Registered protocol family 16
PCI: PCI BIOS revision 2.10 entry at 0xeb180, last bus=0
PCI: Using configuration type 1
SCSI subsystem initialized
usbcore: registered new driver usbfs
usbcore: registered new driver hub
PCI: Probing PCI hardware
PCI: Probing PCI hardware (bus 00)
Boot video device is 0000:00:09.0
PCI: Using IRQ router PIIX/ICH [8086/7198] at 0000:00:07.0
PCI: Cannot allocate resource region 0 of device 0000:00:0b.0
PCI: BIOS reporting unknown device 00:01
PCI: BIOS reporting unknown device 00:02
PCI: Bus 1, cardbus bridge: 0000:00:08.0
  IO window: 00002000-00002fff
  IO window: 00004000-00004fff
  PREFETCH window: 10000000-11ffffff
  MEM window: 12000000-13ffffff
PCI: Found IRQ 10 for device 0000:00:08.0
apm: BIOS version 1.2 Flags 0x03 (Driver version 1.16ac)
NTFS driver 2.1.23 [Flags: R/O].
Initializing Cryptographic API
vesafb: framebuffer at 0xc0000000, mapped to 0xd0800000, using 1536k,
total 4096k
vesafb: mode is 1024x768x8, linelength=1024, pages=4
vesafb: protected mode interface info at c000:4f84
vesafb: scrolling: redraw
vesafb: Pseudocolor: size=6:6:6:6, shift=0:0:0:0
Console: switching to colour frame buffer device 128x48
fb0: VESA VGA frame buffer device
Real Time Clock Driver v1.12
serio: i8042 AUX port at 0x60,0x64 irq 12
serio: i8042 KBD port at 0x60,0x64 irq 1
io scheduler noop registered
io scheduler cfq registered
loop: loaded (max 8 devices)
8139too Fast Ethernet driver 0.9.27
PCI: Found IRQ 10 for device 0000:00:0a.0
IRQ routing conflict for 0000:00:0a.0, have irq 11, want irq 10
eth0: RealTek RTL8139 at 0x3e00, 00:40:d0:17:96:b1, IRQ 11
eth0:  Identified 8139 chip type 'RTL-8139C'
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
PIIX4: IDE controller at PCI slot 0000:00:07.1
PIIX4: chipset revision 0
PIIX4: not 100% native mode: will probe irqs later
    ide0: BM-DMA at 0x1100-0x1107, BIOS settings: hda:DMA, hdb:pio
Probing IDE interface ide0...
hda: IC25N020ATCS04-0, ATA DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Probing IDE interface ide1...
hda: max request size: 128KiB
hda: 39070080 sectors (20003 MB) w/1768KiB Cache, CHS=38760/16/63, UDMA(33)
hda: cache flushes not supported
 hda: hda1 hda2 hda3
PCI: Found IRQ 10 for device 0000:00:08.0
Yenta: CardBus bridge found at 0000:00:08.0 [0e11:000d]
Yenta: Enabling burst memory read transactions
Yenta: Using CSCINT to route CSC interrupts to PCI
Yenta: Routing CardBus interrupts to PCI
Yenta TI: socket 0000:00:08.0, mfunc 0x017c1602, devctl 0x64
Yenta: ISA IRQ mask 0x02d8, PCI irq 10
Socket status: 30000010
USB Universal Host Controller Interface driver v2.3
PCI: IRQ 11 for device 0000:00:07.2 doesn't match PIRQ mask - try
pci=usepirqmask
PCI: Found IRQ 11 for device 0000:00:07.2
PCI: Sharing IRQ 11 with 0000:00:0b.0
uhci_hcd 0000:00:07.2: Intel Corporation 82440MX USB Universal Host
Controller
uhci_hcd 0000:00:07.2: new USB bus registered, assigned bus number 1
uhci_hcd 0000:00:07.2: irq 11, io base 0x00001200
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
usbcore: registered new driver cdc_acm
drivers/usb/class/cdc-acm.c: v0.23:USB Abstract Control Model driver for
USB modems and ISDN adapters
usbcore: registered new driver usblp
drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver
Initializing USB Mass Storage driver...
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.01:USB HID core driver
usbcore: registered new driver usbserial
drivers/usb/serial/usb-serial.c: USB Serial Driver core v2.0
drivers/usb/serial/usb-serial.c: USB Serial support registered for PL-2303
usbcore: registered new driver pl2303
drivers/usb/serial/pl2303.c: Prolific PL2303 USB to serial adaptor
driver v0.12
mice: PS/2 mouse device common for all mice
Advanced Linux Sound Architecture Driver Version 1.0.9b (Thu Jul 28
12:20:13 2005 UTC).
PCI: Setting latency timer of device 0000:00:00.1 to 64
input: AT Translated Set 2 keyboard on isa0060/serio0
intel8x0_measure_ac97_clock: measured 50211 usecs
intel8x0: clocking to 48000
ALSA device list:
  #0: Intel 440MX with CS4299 at 0x1600, irq 5
NET: Registered protocol family 2
IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
TCP established hash table entries: 16384 (order: 5, 131072 bytes)
TCP bind hash table entries: 16384 (order: 4, 65536 bytes)
TCP: Hash tables configured (established 16384 bind 16384)
TCP reno registered
TCP bic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
Using IPI Shortcut mode
Suspend2 Core.
Suspend2 Compression Driver loading.
Synaptics Touchpad, model: 1, fw: 4.1, id: 0x8848a1, caps: 0x0/0x0
input: SynPS/2 Synaptics TouchPad on isa0060/serio1
Suspend2 Encryption Driver loading.
Suspend2 Swap Writer loading.
Suspend2 2.2-rc7: Swapwriter: Signature found.
Suspend2 2.2-rc7: Suspending enabled.
ReiserFS: hda1: found reiserfs format "3.6" with standard journal
ReiserFS: hda1: using ordered data mode
ReiserFS: hda1: journal params: device hda1, size 8192, journal first
block 18, max trans len 1024, max batch 900, max commit age 30, max
trans age 30
ReiserFS: hda1: checking transaction log (hda1)
ReiserFS: hda1: Using r5 hash to sort names
VFS: Mounted root (reiserfs filesystem) readonly.
Freeing unused kernel memory: 144k freed
Adding 265064k swap on /dev/hda2.  Priority:-1 extents:1
NTFS volume version 3.1.
cs: memory probe 0x0c0000-0x0fffff: excluding 0xc0000-0xcffff
0xe0000-0xfffff
cs: memory probe 0x60000000-0x60ffffff: clean.
cs: memory probe 0xa0000000-0xa0ffffff: clean.
eth0: link up, 100Mbps, full-duplex, lpa 0x45E1

**************************************************
I reverted commit 4196c3af25d98204216a5d6c37ad2cb303a1f2bf
and compiled it *with* APM support:
**************************************************

# /sbin/lspci -vvx
00:00.0 Host bridge: Intel Corp. 82440MX Host Bridge (rev 01)
        Subsystem: Compaq Computer Corporation: Unknown device 000d
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping- SERR- FastB2B-
        Status: Cap- 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort+ >SERR- <PERR-
        Latency: 64
00: 86 80 94 71 06 00 00 22 01 00 00 06 00 40 80 00
10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 11 0e 0d 00
30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

00:00.1 Multimedia audio controller: Intel Corp. 82440MX AC'97 Audio
Controller
        Subsystem: Compaq Computer Corporation: Unknown device 000d
        Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping- SERR- FastB2B-
        Status: Cap- 66Mhz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
        Latency: 0
        Interrupt: pin B routed to IRQ 5
        Region 0: I/O ports at 1600 [size=256]
        Region 1: I/O ports at 1500 [size=64]
00: 86 80 95 71 05 00 00 00 00 00 01 04 00 00 00 00
10: 01 16 00 00 01 15 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 11 0e 0d 00
30: 00 00 00 00 00 00 00 00 00 00 00 00 05 02 00 00

00:00.2 Modem: Intel Corp. 82440MX AC'97 Modem Controller (prog-if 00
[Generic])
        Subsystem: Compaq Computer Corporation: Unknown device 000d
        Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping- SERR- FastB2B-
        Status: Cap- 66Mhz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
        Latency: 0
        Interrupt: pin B routed to IRQ 5
        Region 0: I/O ports at 1800 [size=256]
        Region 1: I/O ports at 1700 [size=128]
00: 86 80 96 71 05 00 00 00 00 00 03 07 00 00 00 00
10: 01 18 00 00 01 17 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 11 0e 0d 00
30: 00 00 00 00 00 00 00 00 00 00 00 00 05 02 00 00

00:07.0 ISA bridge: Intel Corp. 82440MX ISA Bridge (rev 01)
        Control: I/O+ Mem+ BusMaster+ SpecCycle+ MemWINV- VGASnoop-
ParErr- Stepping- SERR- FastB2B-
        Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
        Latency: 0
00: 86 80 98 71 0f 00 80 02 01 00 01 06 00 00 80 00
10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

00:07.1 IDE interface: Intel Corp. 82440MX EIDE Controller (prog-if 80
[Master])
        Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping- SERR- FastB2B-
        Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
        Latency: 64
        Region 4: I/O ports at 1100 [size=16]
00: 86 80 99 71 05 00 80 02 00 80 01 01 00 40 00 00
10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
20: 01 11 00 00 00 00 00 00 00 00 00 00 00 00 00 00
30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

00:07.2 USB Controller: Intel Corp. 82440MX USB Universal Host
Controller (prog-if 00 [UHCI])
        Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping- SERR- FastB2B-
        Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort+ >SERR- <PERR-
        Latency: 240
        Interrupt: pin D routed to IRQ 11
        Region 4: I/O ports at 1200 [size=32]
00: 86 80 9a 71 05 00 80 22 00 00 03 0c 00 f0 00 00
10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
20: 01 12 00 00 00 00 00 00 00 00 00 00 00 00 00 00
30: 00 00 00 00 00 00 00 00 00 00 00 00 0b 04 00 00

00:07.3 Bridge: Intel Corp. 82440MX Power Management Controller
        Control: I/O+ Mem- BusMaster- SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping- SERR- FastB2B-
        Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
00: 86 80 9b 71 01 00 80 02 00 00 80 06 00 00 00 00
10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

00:08.0 CardBus bridge: Texas Instruments PCI1410 PC card Cardbus
Controller (rev 01)
        Subsystem: Compaq Computer Corporation: Unknown device 000d
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping- SERR- FastB2B-
        Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
        Latency: 168, cache line size 08
        Interrupt: pin A routed to IRQ 10
        Region 0: Memory at 14020000 (32-bit, non-prefetchable) [size=4K]
        Bus: primary=00, secondary=01, subordinate=04, sec-latency=176
        Memory window 0: 20000000-21fff000 (prefetchable)
        Memory window 1: 22000000-23fff000
        I/O window 0: 00002000-00002fff
        I/O window 1: 00004000-00004fff
        BridgeCtl: Parity- SERR- ISA- VGA- MAbort- >Reset+ 16bInt+
PostWrite+
        16-bit legacy interface ports at 0001
00: 4c 10 50 ac 07 00 10 02 01 00 07 06 08 a8 02 00
10: 00 00 02 14 a0 00 00 02 00 01 04 b0 00 00 00 20
20: 00 f0 ff 21 00 00 00 22 00 f0 ff 23 00 20 00 00
30: fc 2f 00 00 00 40 00 00 fc 4f 00 00 0a 01 c0 05
40: 11 0e 0d 00 01 00 00 00 00 00 00 00 00 00 00 00
50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

00:09.0 VGA compatible controller: ATI Technologies Inc Rage Mobility
P/M (rev 64) (prog-if 00 [VGA])
        Subsystem: Compaq Computer Corporation: Unknown device 000d
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping+ SERR- FastB2B-
        Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
        Latency: 0 (2000ns min), cache line size 04
        Interrupt: pin A routed to IRQ 0
        Region 0: Memory at c0000000 (32-bit, non-prefetchable) [size=16M]
        Region 1: I/O ports at 3000 [size=256]
        Region 2: Memory at c1000000 (32-bit, non-prefetchable) [size=4K]
        Expansion ROM at 24000000 [disabled] [size=128K]
        Capabilities: [5c] Power Management version 1
                Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA
PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-
00: 02 10 52 4c 87 00 90 02 64 00 00 03 04 00 00 00
10: 00 00 00 c0 01 30 00 00 00 00 00 c1 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 11 0e 0d 00
30: 00 00 00 00 5c 00 00 00 00 00 00 00 ff 01 08 00

00:0a.0 Ethernet controller: Realtek Semiconductor Co., Ltd.
RTL-8139/8139C/8139C+ (rev 10)
        Subsystem: Compaq Computer Corporation: Unknown device 000d
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping- SERR- FastB2B-
        Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
        Latency: 128 (8000ns min, 16000ns max)
        Interrupt: pin A routed to IRQ 11
        Region 0: I/O ports at 3e00 [size=256]
        Region 1: Memory at e9100000 (32-bit, non-prefetchable) [size=256]
        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-
00: ec 10 39 81 07 00 90 02 10 00 00 02 00 80 00 00
10: 01 3e 00 00 00 00 10 e9 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 11 0e 0d 00
30: 00 00 00 00 50 00 00 00 00 00 00 00 0b 01 20 40

00:0b.0 FireWire (IEEE 1394): NEC Corporation IEEE 1394 [OrangeLink]
Host Controller (rev 02) (prog-if 10 [OHCI])
        Subsystem: Compaq Computer Corporation: Unknown device 000d
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop-
ParErr+ Stepping- SERR+ FastB2B-
        Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
        Latency: 64, cache line size 04
        Interrupt: pin A routed to IRQ 11
        Region 0: Memory at 24020000 (32-bit, non-prefetchable) [size=4K]
        Capabilities: [60] Power Management version 1
                Flags: PMEClk- DSI- D1- D2+ AuxCurrent=0mA
PME(D0-,D1-,D2+,D3hot+,D3cold-)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-
00: 33 10 cd 00 56 01 90 02 02 10 00 0c 04 40 00 00
10: 00 00 02 24 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 11 0e 0d 00
30: 00 00 00 00 60 00 00 00 00 00 00 00 0b 01 00 00

# dmesg
Linux version 2.6.17-g95e5c611 (root@thor) (gcc version 3.4.6 (Gentoo
3.4.6-r1, ssp-3.4.5-1.0, pie-8.7.9)) #4 PREEMPT Thu Jun 22 21:52:17 CEST
2006
BIOS-provided physical RAM map:
 BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
 BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
 BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
 BIOS-e820: 0000000000100000 - 000000000fff0000 (usable)
 BIOS-e820: 000000000fff0000 - 000000000fffffc0 (ACPI data)
 BIOS-e820: 000000000fffffc0 - 0000000010000000 (ACPI NVS)
 BIOS-e820: 00000000fffc0000 - 0000000100000000 (reserved)
255MB LOWMEM available.
On node 0 totalpages: 65520
  DMA zone: 4096 pages, LIFO batch:0
  Normal zone: 61424 pages, LIFO batch:15
DMI not present or invalid.
Allocating PCI resources starting at 20000000 (gap: 10000000:effc0000)
Built 1 zonelists
Kernel command line: auto BOOT_IMAGE=git-b ro root=301
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Initializing CPU#0
PID hash table entries: 1024 (order: 10, 4096 bytes)
Detected 500.056 MHz processor.
Using tsc for high-res timesource
Console: colour dummy device 80x25
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
Memory: 256460k/262080k available (1915k kernel code, 5124k reserved,
660k data, 124k init, 0k highmem)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Calibrating delay using timer specific routine.. 1001.00 BogoMIPS
(lpj=500501)
Mount-cache hash table entries: 512
CPU: After generic identify, caps: 0383f9ff 00000000 00000000 00000000
00000000 00000000 00000000
CPU: After vendor identify, caps: 0383f9ff 00000000 00000000 00000000
00000000 00000000 00000000
CPU: L1 I cache: 16K, L1 D cache: 16K
CPU: L2 cache: 256K
CPU: After all inits, caps: 0383f9ff 00000000 00000000 00000040 00000000
00000000 00000000
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
CPU: Intel Pentium III (Coppermine) stepping 06
Checking 'hlt' instruction... OK.
SMP alternatives: switching to UP code
Freeing SMP alternatives: 0k freed
NET: Registered protocol family 16
PCI: PCI BIOS revision 2.10 entry at 0xeb180, last bus=0
Setting up standard PCI resources
SCSI subsystem initialized
usbcore: registered new driver usbfs
usbcore: registered new driver hub
PCI: Probing PCI hardware
PCI: Probing PCI hardware (bus 00)
Boot video device is 0000:00:09.0
PCI: Using IRQ router PIIX/ICH [8086/7198] at 0000:00:07.0
PCI: Cannot allocate resource region 0 of device 0000:00:0b.0
PCI: BIOS reporting unknown device 00:01
PCI: BIOS reporting unknown device 00:02
PCI: Bus 1, cardbus bridge: 0000:00:08.0
  IO window: 00002000-00002fff
  IO window: 00004000-00004fff
  PREFETCH window: 20000000-21ffffff
  MEM window: 22000000-23ffffff
PCI: Found IRQ 10 for device 0000:00:08.0
NET: Registered protocol family 2
IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
TCP established hash table entries: 8192 (order: 3, 32768 bytes)
TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
TCP: Hash tables configured (established 8192 bind 4096)
TCP reno registered
apm: BIOS version 1.2 Flags 0x03 (Driver version 1.16ac)
NTFS driver 2.1.27 [Flags: R/O].
Initializing Cryptographic API
io scheduler noop registered
io scheduler cfq registered (default)
vesafb: framebuffer at 0xc0000000, mapped to 0xd0800000, using 1536k,
total 4096k
vesafb: mode is 1024x768x8, linelength=1024, pages=4
vesafb: protected mode interface info at c000:4f84
vesafb: scrolling: redraw
vesafb: Pseudocolor: size=6:6:6:6, shift=0:0:0:0
Console: switching to colour frame buffer device 128x48
fb0: VESA VGA frame buffer device
Real Time Clock Driver v1.12ac
loop: loaded (max 8 devices)
8139too Fast Ethernet driver 0.9.27
PCI: Found IRQ 10 for device 0000:00:0a.0
IRQ routing conflict for 0000:00:0a.0, have irq 11, want irq 10
eth0: RealTek RTL8139 at 0x3e00, 00:40:d0:17:96:b1, IRQ 11
eth0:  Identified 8139 chip type 'RTL-8139C'
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
PIIX4: IDE controller at PCI slot 0000:00:07.1
PIIX4: chipset revision 0
PIIX4: not 100% native mode: will probe irqs later
    ide0: BM-DMA at 0x1100-0x1107, BIOS settings: hda:DMA, hdb:pio
Probing IDE interface ide0...
hda: IC25N020ATCS04-0, ATA DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Probing IDE interface ide1...
hda: max request size: 128KiB
hda: 39070080 sectors (20003 MB) w/1768KiB Cache, CHS=38760/16/63, UDMA(33)
hda: cache flushes not supported
 hda: hda1 hda2 hda3
PCI: Found IRQ 10 for device 0000:00:08.0
Yenta: CardBus bridge found at 0000:00:08.0 [0e11:000d]
Yenta: Using CSCINT to route CSC interrupts to PCI
Yenta: Routing CardBus interrupts to PCI
Yenta TI: socket 0000:00:08.0, mfunc 0x017c1602, devctl 0x64
Yenta: ISA IRQ mask 0x02d8, PCI irq 10
Socket status: 30000059
USB Universal Host Controller Interface driver v3.0

PCI: IRQ 11 for device 0000:00:07.2 doesn't match PIRQ mask - try
pci=usepirqmask
<6>PCI: Found IRQ 11 for device 0000:00:07.2
PCI: Sharing IRQ 11 with 0000:00:0b.0
uhci_hcd 0000:00:07.2: UHCI Host Controller
uhci_hcd 0000:00:07.2: new USB bus registered, assigned bus number 1
uhci_hcd 0000:00:07.2: irq 11, io base 0x00001200
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
usbcore: registered new driver cdc_acm
drivers/usb/class/cdc-acm.c: v0.25:USB Abstract Control Model driver for
USB modems and ISDN adapters
usbcore: registered new driver usblp
drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver
Initializing USB Mass Storage driver...
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.6:USB HID core driver
usbcore: registered new driver usbserial
drivers/usb/serial/usb-serial.c: USB Serial Driver core
drivers/usb/serial/usb-serial.c: USB Serial support registered for pl2303
usbcore: registered new driver pl2303
drivers/usb/serial/pl2303.c: Prolific PL2303 USB to serial adaptor driver
serio: i8042 AUX port at 0x60,0x64 irq 12
serio: i8042 KBD port at 0x60,0x64 irq 1
mice: PS/2 mouse device common for all mice
Advanced Linux Sound Architecture Driver Version 1.0.11rc4 (Wed Mar 22
10:27:24 2006 UTC).
PCI: Setting latency timer of device 0000:00:00.1 to 64
input: AT Translated Set 2 keyboard as /class/input/input0
pccard: PCMCIA card inserted into slot 0
intel8x0_measure_ac97_clock: measured 50206 usecs
intel8x0: clocking to 48000
ALSA device list:
  #0: Intel 440MX with CS4299 at 0x1600, irq 5
TCP bic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
Using IPI Shortcut mode
ReiserFS: hda1: found reiserfs format "3.6" with standard journal
Synaptics Touchpad, model: 1, fw: 4.1, id: 0x8848a1, caps: 0x0/0x0
input: SynPS/2 Synaptics TouchPad as /class/input/input1
ReiserFS: hda1: using ordered data mode
ReiserFS: hda1: journal params: device hda1, size 8192, journal first
block 18, max trans len 1024, max batch 900, max commit age 30, max
trans age 30
ReiserFS: hda1: checking transaction log (hda1)
ReiserFS: hda1: Using r5 hash to sort names
VFS: Mounted root (reiserfs filesystem) readonly.
Freeing unused kernel memory: 124k freed
Adding 265064k swap on /dev/hda2.  Priority:-1 extents:1 across:265064k
NTFS volume version 3.1.
pcmcia: Detected deprecated PCMCIA ioctl usage from process: cardmgr.
pcmcia: This interface will soon be removed from the kernel; please
expect breakage unless you upgrade to new tools.
pcmcia: see
http://www.kernel.org/pub/linux/utils/kernel/pcmcia/pcmcia.html for details.
cs: memory probe 0x0c0000-0x0fffff: excluding 0xc0000-0xcbfff
0xe0000-0xfffff
cs: memory probe 0x60000000-0x60ffffff: clean.
cs: memory probe 0xa0000000-0xa0ffffff: clean.
eth0: link up, 100Mbps, full-duplex, lpa 0x45E1


Hope it helps, I'm available for any other test.
Oh - sorry but I can't find CONFIG_PCI_DEBUG. I decided to post this
mail anyway, just tell me how to enable it if it's necessary.

bye, thank you very much
Alessio Sangalli




^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: [PATCH] cardbus: revert IO window limit
  2006-06-22 17:07         ` Linus Torvalds
  2006-06-22 20:01           ` Alessio Sangalli
@ 2006-06-22 21:27           ` Alessio Sangalli
  2006-06-30  4:34             ` Pekka Enberg
  2006-06-30 19:10             ` Linus Torvalds
  1 sibling, 2 replies; 26+ messages in thread
From: Alessio Sangalli @ 2006-06-22 21:27 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: Andrew Morton, alan, penberg, linux-kernel, ink, dtor_core

Linus Torvalds wrote:
> 
> On Thu, 22 Jun 2006, Andrew Morton wrote:
>> OK, thanks.  All we have on Alessio's machine is "freezes at boot if APM is enabled"
>> (http://lkml.org/lkml/2006/6/16/33).  Any suggestions as to how to proceed
>> with that?
> 
> It would be interesting to see the output of "/sbin/lspci -vvx" with a 
> working and a non-working kernel (obviously APM has to be disabled for 
> this test).
> 
> And the full bootup dmesg for both cases (preferably with CONFIG_PCI_DEBUG 
> enabled)
> 
> Alessio?


Ok I've found how to enable PCI_DEBUG (I had to enable kernel debugging
first).

**************************************************
"git clone" of the kernel repository
compiled it without APM support:
**************************************************

# /sbin/lspci -vvx
00:00.0 Host bridge: Intel Corp. 82440MX Host Bridge (rev 01)
        Subsystem: Compaq Computer Corporation: Unknown device 000d
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping- SERR- FastB2B-
        Status: Cap- 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort+ >SERR- <PERR-
        Latency: 64
00: 86 80 94 71 06 00 00 22 01 00 00 06 00 40 80 00
10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 11 0e 0d 00
30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

00:00.1 Multimedia audio controller: Intel Corp. 82440MX AC'97 Audio
Controller
        Subsystem: Compaq Computer Corporation: Unknown device 000d
        Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping- SERR- FastB2B-
        Status: Cap- 66Mhz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
        Latency: 0
        Interrupt: pin B routed to IRQ 5
        Region 0: I/O ports at 1600 [size=256]
        Region 1: I/O ports at 1500 [size=64]
00: 86 80 95 71 05 00 00 00 00 00 01 04 00 00 00 00
10: 01 16 00 00 01 15 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 11 0e 0d 00
30: 00 00 00 00 00 00 00 00 00 00 00 00 05 02 00 00

00:00.2 Modem: Intel Corp. 82440MX AC'97 Modem Controller (prog-if 00
[Generic])
        Subsystem: Compaq Computer Corporation: Unknown device 000d
        Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping- SERR- FastB2B-
        Status: Cap- 66Mhz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
        Latency: 0
        Interrupt: pin B routed to IRQ 5
        Region 0: I/O ports at 1800 [size=256]
        Region 1: I/O ports at 1700 [size=128]
00: 86 80 96 71 05 00 00 00 00 00 03 07 00 00 00 00
10: 01 18 00 00 01 17 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 11 0e 0d 00
30: 00 00 00 00 00 00 00 00 00 00 00 00 05 02 00 00

00:07.0 ISA bridge: Intel Corp. 82440MX ISA Bridge (rev 01)
        Control: I/O+ Mem+ BusMaster+ SpecCycle+ MemWINV- VGASnoop-
ParErr- Stepping- SERR- FastB2B-
        Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
        Latency: 0
00: 86 80 98 71 0f 00 80 02 01 00 01 06 00 00 80 00
10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

00:07.1 IDE interface: Intel Corp. 82440MX EIDE Controller (prog-if 80
[Master])
        Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping- SERR- FastB2B-
        Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
        Latency: 64
        Region 4: I/O ports at 1100 [size=16]
00: 86 80 99 71 05 00 80 02 00 80 01 01 00 40 00 00
10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
20: 01 11 00 00 00 00 00 00 00 00 00 00 00 00 00 00
30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

00:07.2 USB Controller: Intel Corp. 82440MX USB Universal Host
Controller (prog-if 00 [UHCI])
        Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping- SERR- FastB2B-
        Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
        Latency: 240
        Interrupt: pin D routed to IRQ 11
        Region 4: I/O ports at 1200 [size=32]
00: 86 80 9a 71 05 00 80 02 00 00 03 0c 00 f0 00 00
10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
20: 01 12 00 00 00 00 00 00 00 00 00 00 00 00 00 00
30: 00 00 00 00 00 00 00 00 00 00 00 00 0b 04 00 00

00:07.3 Bridge: Intel Corp. 82440MX Power Management Controller
        Control: I/O+ Mem- BusMaster- SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping- SERR- FastB2B-
        Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
00: 86 80 9b 71 01 00 80 02 00 00 80 06 00 00 00 00
10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

00:08.0 CardBus bridge: Texas Instruments PCI1410 PC card Cardbus
Controller (rev 01)
        Subsystem: Compaq Computer Corporation: Unknown device 000d
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping- SERR- FastB2B-
        Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
        Latency: 168, cache line size 08
        Interrupt: pin A routed to IRQ 10
        Region 0: Memory at 24020000 (32-bit, non-prefetchable) [size=4K]
        Bus: primary=00, secondary=01, subordinate=04, sec-latency=176
        Memory window 0: 20000000-21fff000 (prefetchable)
        Memory window 1: 22000000-23fff000
        I/O window 0: 00001000-000010ff
        I/O window 1: 00001400-000014ff
        BridgeCtl: Parity- SERR- ISA- VGA- MAbort- >Reset+ 16bInt+
PostWrite+
        16-bit legacy interface ports at 0001
00: 4c 10 50 ac 07 00 10 02 01 00 07 06 08 a8 02 00
10: 00 00 02 24 a0 00 00 02 00 01 04 b0 00 00 00 20
20: 00 f0 ff 21 00 00 00 22 00 f0 ff 23 00 10 00 00
30: fc 10 00 00 00 14 00 00 fc 14 00 00 0a 01 c0 05
40: 11 0e 0d 00 01 00 00 00 00 00 00 00 00 00 00 00
50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

00:09.0 VGA compatible controller: ATI Technologies Inc Rage Mobility
P/M (rev 64) (prog-if 00 [VGA])
        Subsystem: Compaq Computer Corporation: Unknown device 000d
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping+ SERR- FastB2B-
        Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
        Latency: 0 (2000ns min), cache line size 04
        Interrupt: pin A routed to IRQ 0
        Region 0: Memory at c0000000 (32-bit, non-prefetchable) [size=16M]
        Region 1: I/O ports at 3000 [size=256]
        Region 2: Memory at c1000000 (32-bit, non-prefetchable) [size=4K]
        Expansion ROM at 24000000 [disabled] [size=128K]
        Capabilities: [5c] Power Management version 1
                Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA
PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-
00: 02 10 52 4c 87 00 90 02 64 00 00 03 04 00 00 00
10: 00 00 00 c0 01 30 00 00 00 00 00 c1 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 11 0e 0d 00
30: 00 00 00 00 5c 00 00 00 00 00 00 00 ff 01 08 00

00:0a.0 Ethernet controller: Realtek Semiconductor Co., Ltd.
RTL-8139/8139C/8139C+ (rev 10)
        Subsystem: Compaq Computer Corporation: Unknown device 000d
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping- SERR- FastB2B-
        Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
        Latency: 128 (8000ns min, 16000ns max)
        Interrupt: pin A routed to IRQ 11
        Region 0: I/O ports at 3e00 [size=256]
        Region 1: Memory at e9100000 (32-bit, non-prefetchable) [size=256]
        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-
00: ec 10 39 81 07 00 90 02 10 00 00 02 00 80 00 00
10: 01 3e 00 00 00 00 10 e9 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 11 0e 0d 00
30: 00 00 00 00 50 00 00 00 00 00 00 00 0b 01 20 40

00:0b.0 FireWire (IEEE 1394): NEC Corporation IEEE 1394 [OrangeLink]
Host Controller (rev 02) (prog-if 10 [OHCI])
        Subsystem: Compaq Computer Corporation: Unknown device 000d
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop-
ParErr+ Stepping- SERR+ FastB2B-
        Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
        Latency: 64, cache line size 04
        Interrupt: pin A routed to IRQ 11
        Region 0: Memory at 24021000 (32-bit, non-prefetchable) [size=4K]
        Capabilities: [60] Power Management version 1
                Flags: PMEClk- DSI- D1- D2+ AuxCurrent=0mA
PME(D0-,D1-,D2+,D3hot+,D3cold-)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-
00: 33 10 cd 00 56 01 90 02 02 10 00 0c 04 40 00 00
10: 00 10 02 24 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 11 0e 0d 00
30: 00 00 00 00 60 00 00 00 00 00 00 00 0b 01 00 00

# dmesg
Linux version 2.6.17-g9fda2669 (root@thor) (gcc version 3.4.6 (Gentoo
3.4.6-r1, ssp-3.4.5-1.0, pie-8.7.9)) #9 PREEMPT Thu Jun 22 23:12:24 CEST
2006
BIOS-provided physical RAM map:
 BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
 BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
 BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
 BIOS-e820: 0000000000100000 - 000000000fff0000 (usable)
 BIOS-e820: 000000000fff0000 - 000000000fffffc0 (ACPI data)
 BIOS-e820: 000000000fffffc0 - 0000000010000000 (ACPI NVS)
 BIOS-e820: 00000000fffc0000 - 0000000100000000 (reserved)
255MB LOWMEM available.
On node 0 totalpages: 65520
  DMA zone: 4096 pages, LIFO batch:0
  Normal zone: 61424 pages, LIFO batch:15
DMI not present or invalid.
Allocating PCI resources starting at 20000000 (gap: 10000000:effc0000)
Built 1 zonelists
Kernel command line: BOOT_IMAGE=git ro root=301
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Initializing CPU#0
PID hash table entries: 1024 (order: 10, 4096 bytes)
Detected 500.182 MHz processor.
Using tsc for high-res timesource
Console: colour dummy device 80x25
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
Memory: 256432k/262080k available (1946k kernel code, 5152k reserved,
657k data, 120k init, 0k highmem)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Calibrating delay using timer specific routine.. 1001.09 BogoMIPS
(lpj=500548)
Mount-cache hash table entries: 512
CPU: After generic identify, caps: 0387f9ff 00000000 00000000 00000000
00000000 00000000 00000000
CPU: After vendor identify, caps: 0387f9ff 00000000 00000000 00000000
00000000 00000000 00000000
CPU: L1 I cache: 16K, L1 D cache: 16K
CPU: L2 cache: 256K
CPU serial number disabled.
CPU: After all inits, caps: 0383f9ff 00000000 00000000 00000040 00000000
00000000 00000000
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
CPU: Intel Pentium III (Coppermine) stepping 06
Checking 'hlt' instruction... OK.
SMP alternatives: switching to UP code
Freeing SMP alternatives: 0k freed
NET: Registered protocol family 16
PCI: PCI BIOS revision 2.10 entry at 0xeb180, last bus=0
Setting up standard PCI resources
SCSI subsystem initialized
usbcore: registered new driver usbfs
usbcore: registered new driver hub
PCI: Probing PCI hardware
PCI: Probing PCI hardware (bus 00)
PCI: Scanning bus 0000:00
PCI: Found 0000:00:00.0 [8086/7194] 000600 00
PCI: Calling quirk c01de102 for 0000:00:00.0
PCI: Calling quirk c02941c5 for 0000:00:00.0
PCI: Calling quirk c029432b for 0000:00:00.0
PCI: Calling quirk c029448a for 0000:00:00.0
PCI: Found 0000:00:00.1 [8086/7195] 000401 00
PCI: Calling quirk c01de102 for 0000:00:00.1
PCI: Calling quirk c02941c5 for 0000:00:00.1
PCI: Calling quirk c029432b for 0000:00:00.1
PCI: Calling quirk c029448a for 0000:00:00.1
PCI: Found 0000:00:00.2 [8086/7196] 000703 00
PCI: Calling quirk c01de102 for 0000:00:00.2
PCI: Calling quirk c02941c5 for 0000:00:00.2
PCI: Calling quirk c029432b for 0000:00:00.2
PCI: Calling quirk c029448a for 0000:00:00.2
PCI: Found 0000:00:07.0 [8086/7198] 000601 00
PCI: Calling quirk c01de102 for 0000:00:07.0
PCI: Calling quirk c02941c5 for 0000:00:07.0
PCI: Calling quirk c029432b for 0000:00:07.0
PCI: Calling quirk c029448a for 0000:00:07.0
PCI: Found 0000:00:07.1 [8086/7199] 000101 00
PCI: Calling quirk c01de102 for 0000:00:07.1
PCI: Calling quirk c02941c5 for 0000:00:07.1
PCI: Calling quirk c029432b for 0000:00:07.1
PCI: Calling quirk c029448a for 0000:00:07.1
PCI: Found 0000:00:07.2 [8086/719a] 000c03 00
PCI: Calling quirk c01de102 for 0000:00:07.2
PCI: Calling quirk c02941c5 for 0000:00:07.2
PCI: Calling quirk c029432b for 0000:00:07.2
PCI: Calling quirk c029448a for 0000:00:07.2
PCI: Found 0000:00:07.3 [8086/719b] 000680 00
PCI: Calling quirk c01de102 for 0000:00:07.3
PCI: Calling quirk c02941c5 for 0000:00:07.3
PCI: Calling quirk c029432b for 0000:00:07.3
PCI: Calling quirk c029448a for 0000:00:07.3
PCI: Found 0000:00:08.0 [104c/ac50] 000607 02
PCI: Calling quirk c01de102 for 0000:00:08.0
PCI: Calling quirk c02941c5 for 0000:00:08.0
PCI: Calling quirk c029448a for 0000:00:08.0
PCI: Found 0000:00:09.0 [1002/4c52] 000300 00
PCI: Calling quirk c01de102 for 0000:00:09.0
PCI: Calling quirk c02941c5 for 0000:00:09.0
PCI: Calling quirk c029448a for 0000:00:09.0
Boot video device is 0000:00:09.0
PCI: Found 0000:00:0a.0 [10ec/8139] 000200 00
PCI: Calling quirk c01de102 for 0000:00:0a.0
PCI: Calling quirk c02941c5 for 0000:00:0a.0
PCI: Calling quirk c029448a for 0000:00:0a.0
PCI: Found 0000:00:0b.0 [1033/00cd] 000c00 00
PCI: Calling quirk c01de102 for 0000:00:0b.0
PCI: Calling quirk c02941c5 for 0000:00:0b.0
PCI: Calling quirk c029448a for 0000:00:0b.0
PCI: Fixups for bus 0000:00
PCI: Scanning behind PCI bridge 0000:00:08.0, config 000040, pass 0
PCI: Scanning behind PCI bridge 0000:00:08.0, config 000040, pass 1
PCI: Bus scan for 0000:00 returning with max=04
PCI: Using IRQ router PIIX/ICH [8086/7198] at 0000:00:07.0
PCI: Cannot allocate resource region 0 of device 0000:00:0b.0
PCI: BIOS reporting unknown device 00:01
PCI: BIOS reporting unknown device 00:02
  got res [24000000:2401ffff] bus [24000000:2401ffff] flags 7202 for BAR
6 of 0000:00:09.0
  got res [24020000:24020fff] bus [24020000:24020fff] flags 200 for BAR
0 of 0000:00:08.0
PCI: moved device 0000:00:08.0 resource 0 (200) to 24020000
  got res [24021000:24021fff] bus [24021000:24021fff] flags 200 for BAR
0 of 0000:00:0b.0
PCI: moved device 0000:00:0b.0 resource 0 (200) to 24021000
PCI: Bus 1, cardbus bridge: 0000:00:08.0
  IO window: 00001000-000010ff
  IO window: 00001400-000014ff
  PREFETCH window: 20000000-21ffffff
  MEM window: 22000000-23ffffff
PCI: Found IRQ 10 for device 0000:00:08.0
NET: Registered protocol family 2
IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
TCP established hash table entries: 8192 (order: 3, 32768 bytes)
TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
TCP: Hash tables configured (established 8192 bind 4096)
TCP reno registered
NTFS driver 2.1.27 [Flags: R/O].
Initializing Cryptographic API
io scheduler noop registered
io scheduler cfq registered (default)
PCI: Calling quirk c01de03c for 0000:00:00.0
PCI: Calling quirk c0244ebc for 0000:00:00.0
PCI: Calling quirk c01de03c for 0000:00:00.1
PCI: Calling quirk c0244ebc for 0000:00:00.1
PCI: Calling quirk c01de03c for 0000:00:00.2
PCI: Calling quirk c0244ebc for 0000:00:00.2
PCI: Calling quirk c01de03c for 0000:00:07.0
PCI: Calling quirk c0244ebc for 0000:00:07.0
PCI: Calling quirk c01de03c for 0000:00:07.1
PCI: Calling quirk c0244ebc for 0000:00:07.1
PCI: Calling quirk c01de03c for 0000:00:07.2
PCI: Calling quirk c0244ebc for 0000:00:07.2
PCI: Calling quirk c01de03c for 0000:00:07.3
PCI: Calling quirk c0244ebc for 0000:00:07.3
PCI: Calling quirk c01de03c for 0000:00:08.0
PCI: Calling quirk c0244ebc for 0000:00:08.0
PCI: Calling quirk c01de03c for 0000:00:09.0
PCI: Calling quirk c0244ebc for 0000:00:09.0
PCI: Calling quirk c01de03c for 0000:00:0a.0
PCI: Calling quirk c0244ebc for 0000:00:0a.0
PCI: Calling quirk c01de03c for 0000:00:0b.0
PCI: Calling quirk c0244ebc for 0000:00:0b.0
vesafb: framebuffer at 0xc0000000, mapped to 0xd0800000, using 1536k,
total 4096k
vesafb: mode is 1024x768x8, linelength=1024, pages=4
vesafb: protected mode interface info at c000:4f84
vesafb: scrolling: redraw
vesafb: Pseudocolor: size=6:6:6:6, shift=0:0:0:0
Console: switching to colour frame buffer device 128x48
fb0: VESA VGA frame buffer device
Real Time Clock Driver v1.12ac
loop: loaded (max 8 devices)
8139too Fast Ethernet driver 0.9.27
PCI: Found IRQ 10 for device 0000:00:0a.0
IRQ routing conflict for 0000:00:0a.0, have irq 11, want irq 10
eth0: RealTek RTL8139 at 0x3e00, 00:40:d0:17:96:b1, IRQ 11
eth0:  Identified 8139 chip type 'RTL-8139C'
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
PIIX4: IDE controller at PCI slot 0000:00:07.1
PIIX4: chipset revision 0
PIIX4: not 100% native mode: will probe irqs later
    ide0: BM-DMA at 0x1100-0x1107, BIOS settings: hda:DMA, hdb:pio
Probing IDE interface ide0...
hda: IC25N020ATCS04-0, ATA DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Probing IDE interface ide1...
hda: max request size: 128KiB
hda: 39070080 sectors (20003 MB) w/1768KiB Cache, CHS=38760/16/63, UDMA(33)
hda: cache flushes not supported
 hda: hda1 hda2 hda3
PCI: Found IRQ 10 for device 0000:00:08.0
Yenta: CardBus bridge found at 0000:00:08.0 [0e11:000d]
Yenta: Enabling burst memory read transactions
Yenta: Using CSCINT to route CSC interrupts to PCI
Yenta: Routing CardBus interrupts to PCI
Yenta TI: socket 0000:00:08.0, mfunc 0x017c1602, devctl 0x64
Yenta: ISA IRQ mask 0x02d8, PCI irq 10
Socket status: 30000010
USB Universal Host Controller Interface driver v3.0

PCI: IRQ 11 for device 0000:00:07.2 doesn't match PIRQ mask - try
pci=usepirqmask
<6>PCI: Found IRQ 11 for device 0000:00:07.2
PCI: Sharing IRQ 11 with 0000:00:0b.0
uhci_hcd 0000:00:07.2: UHCI Host Controller
uhci_hcd 0000:00:07.2: new USB bus registered, assigned bus number 1
uhci_hcd 0000:00:07.2: irq 11, io base 0x00001200
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
usbcore: registered new driver cdc_acm
drivers/usb/class/cdc-acm.c: v0.25:USB Abstract Control Model driver for
USB modems and ISDN adapters
usbcore: registered new driver usblp
drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver
Initializing USB Mass Storage driver...
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.6:USB HID core driver
usbcore: registered new driver usbserial
drivers/usb/serial/usb-serial.c: USB Serial Driver core
drivers/usb/serial/usb-serial.c: USB Serial support registered for pl2303
usbcore: registered new driver pl2303
drivers/usb/serial/pl2303.c: Prolific PL2303 USB to serial adaptor driver
serio: i8042 AUX port at 0x60,0x64 irq 12
serio: i8042 KBD port at 0x60,0x64 irq 1
mice: PS/2 mouse device common for all mice
Advanced Linux Sound Architecture Driver Version 1.0.11rc4 (Wed Mar 22
10:27:24 2006 UTC).
PCI: Setting latency timer of device 0000:00:00.1 to 64
input: AT Translated Set 2 keyboard as /class/input/input0
pccard: PCMCIA card inserted into slot 0
intel8x0_measure_ac97_clock: measured 50113 usecs
intel8x0: clocking to 48000
ALSA device list:
  #0: Intel 440MX with CS4299 at 0x1600, irq 5
TCP bic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
Using IPI Shortcut mode
ReiserFS: hda1: found reiserfs format "3.6" with standard journal
Synaptics Touchpad, model: 1, fw: 4.1, id: 0x8848a1, caps: 0x0/0x0
input: SynPS/2 Synaptics TouchPad as /class/input/input1
ReiserFS: hda1: using ordered data mode
ReiserFS: hda1: journal params: device hda1, size 8192, journal first
block 18, max trans len 1024, max batch 900, max commit age 30, max
trans age 30
ReiserFS: hda1: checking transaction log (hda1)
ReiserFS: hda1: replayed 12 transactions in 7 seconds
ReiserFS: hda1: Using r5 hash to sort names
VFS: Mounted root (reiserfs filesystem) readonly.
Freeing unused kernel memory: 120k freed
Adding 265064k swap on /dev/hda2.  Priority:-1 extents:1 across:265064k
ReiserFS: hda1: Removing [15923 112983 0x0 SD]..done
ReiserFS: hda1: There were 1 uncompleted unlinks/truncates. Completed
NTFS volume version 3.1.
pcmcia: Detected deprecated PCMCIA ioctl usage from process: cardmgr.
pcmcia: This interface will soon be removed from the kernel; please
expect breakage unless you upgrade to new tools.
pcmcia: see
http://www.kernel.org/pub/linux/utils/kernel/pcmcia/pcmcia.html for details.
cs: memory probe 0x0c0000-0x0fffff: excluding 0xc0000-0xcffff
0xe0000-0xfffff
cs: memory probe 0x60000000-0x60ffffff: clean.
cs: memory probe 0xa0000000-0xa0ffffff: clean.
eth0: link up, 100Mbps, full-duplex, lpa 0x45E1

**************************************************
I reverted commit 4196c3af25d98204216a5d6c37ad2cb303a1f2bf
and compiled it *with* APM support:
**************************************************

# /sbin/lspci -vvx
00:00.0 Host bridge: Intel Corp. 82440MX Host Bridge (rev 01)
        Subsystem: Compaq Computer Corporation: Unknown device 000d
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping- SERR- FastB2B-
        Status: Cap- 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort+ >SERR- <PERR-
        Latency: 64
00: 86 80 94 71 06 00 00 22 01 00 00 06 00 40 80 00
10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 11 0e 0d 00
30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

00:00.1 Multimedia audio controller: Intel Corp. 82440MX AC'97 Audio
Controller
        Subsystem: Compaq Computer Corporation: Unknown device 000d
        Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping- SERR- FastB2B-
        Status: Cap- 66Mhz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
        Latency: 0
        Interrupt: pin B routed to IRQ 5
        Region 0: I/O ports at 1600 [size=256]
        Region 1: I/O ports at 1500 [size=64]
00: 86 80 95 71 05 00 00 00 00 00 01 04 00 00 00 00
10: 01 16 00 00 01 15 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 11 0e 0d 00
30: 00 00 00 00 00 00 00 00 00 00 00 00 05 02 00 00

00:00.2 Modem: Intel Corp. 82440MX AC'97 Modem Controller (prog-if 00
[Generic])
        Subsystem: Compaq Computer Corporation: Unknown device 000d
        Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping- SERR- FastB2B-
        Status: Cap- 66Mhz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
        Latency: 0
        Interrupt: pin B routed to IRQ 5
        Region 0: I/O ports at 1800 [size=256]
        Region 1: I/O ports at 1700 [size=128]
00: 86 80 96 71 05 00 00 00 00 00 03 07 00 00 00 00
10: 01 18 00 00 01 17 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 11 0e 0d 00
30: 00 00 00 00 00 00 00 00 00 00 00 00 05 02 00 00

00:07.0 ISA bridge: Intel Corp. 82440MX ISA Bridge (rev 01)
        Control: I/O+ Mem+ BusMaster+ SpecCycle+ MemWINV- VGASnoop-
ParErr- Stepping- SERR- FastB2B-
        Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
        Latency: 0
00: 86 80 98 71 0f 00 80 02 01 00 01 06 00 00 80 00
10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

00:07.1 IDE interface: Intel Corp. 82440MX EIDE Controller (prog-if 80
[Master])
        Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping- SERR- FastB2B-
        Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
        Latency: 64
        Region 4: I/O ports at 1100 [size=16]
00: 86 80 99 71 05 00 80 02 00 80 01 01 00 40 00 00
10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
20: 01 11 00 00 00 00 00 00 00 00 00 00 00 00 00 00
30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

00:07.2 USB Controller: Intel Corp. 82440MX USB Universal Host
Controller (prog-if 00 [UHCI])
        Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping- SERR- FastB2B-
        Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort+ >SERR- <PERR-
        Latency: 240
        Interrupt: pin D routed to IRQ 11
        Region 4: I/O ports at 1200 [size=32]
00: 86 80 9a 71 05 00 80 22 00 00 03 0c 00 f0 00 00
10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
20: 01 12 00 00 00 00 00 00 00 00 00 00 00 00 00 00
30: 00 00 00 00 00 00 00 00 00 00 00 00 0b 04 00 00

00:07.3 Bridge: Intel Corp. 82440MX Power Management Controller
        Control: I/O+ Mem- BusMaster- SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping- SERR- FastB2B-
        Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
00: 86 80 9b 71 01 00 80 02 00 00 80 06 00 00 00 00
10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

00:08.0 CardBus bridge: Texas Instruments PCI1410 PC card Cardbus
Controller (rev 01)
        Subsystem: Compaq Computer Corporation: Unknown device 000d
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping- SERR- FastB2B-
        Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
        Latency: 168, cache line size 08
        Interrupt: pin A routed to IRQ 10
        Region 0: Memory at 24020000 (32-bit, non-prefetchable) [size=4K]
        Bus: primary=00, secondary=01, subordinate=04, sec-latency=176
        Memory window 0: 20000000-21fff000 (prefetchable)
        Memory window 1: 22000000-23fff000
        I/O window 0: 00002000-00002fff
        I/O window 1: 00004000-00004fff
        BridgeCtl: Parity- SERR- ISA- VGA- MAbort- >Reset+ 16bInt+
PostWrite+
        16-bit legacy interface ports at 0001
00: 4c 10 50 ac 07 00 10 02 01 00 07 06 08 a8 02 00
10: 00 00 02 24 a0 00 00 02 00 01 04 b0 00 00 00 20
20: 00 f0 ff 21 00 00 00 22 00 f0 ff 23 00 20 00 00
30: fc 2f 00 00 00 40 00 00 fc 4f 00 00 0a 01 c0 05
40: 11 0e 0d 00 01 00 00 00 00 00 00 00 00 00 00 00
50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

00:09.0 VGA compatible controller: ATI Technologies Inc Rage Mobility
P/M (rev 64) (prog-if 00 [VGA])
        Subsystem: Compaq Computer Corporation: Unknown device 000d
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping+ SERR- FastB2B-
        Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
        Latency: 0 (2000ns min), cache line size 04
        Interrupt: pin A routed to IRQ 0
        Region 0: Memory at c0000000 (32-bit, non-prefetchable) [size=16M]
        Region 1: I/O ports at 3000 [size=256]
        Region 2: Memory at c1000000 (32-bit, non-prefetchable) [size=4K]
        Expansion ROM at 24000000 [disabled] [size=128K]
        Capabilities: [5c] Power Management version 1
                Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA
PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-
00: 02 10 52 4c 87 00 90 02 64 00 00 03 04 00 00 00
10: 00 00 00 c0 01 30 00 00 00 00 00 c1 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 11 0e 0d 00
30: 00 00 00 00 5c 00 00 00 00 00 00 00 ff 01 08 00

00:0a.0 Ethernet controller: Realtek Semiconductor Co., Ltd.
RTL-8139/8139C/8139C+ (rev 10)
        Subsystem: Compaq Computer Corporation: Unknown device 000d
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping- SERR- FastB2B-
        Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
        Latency: 128 (8000ns min, 16000ns max)
        Interrupt: pin A routed to IRQ 11
        Region 0: I/O ports at 3e00 [size=256]
        Region 1: Memory at e9100000 (32-bit, non-prefetchable) [size=256]
        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-
00: ec 10 39 81 07 00 90 02 10 00 00 02 00 80 00 00
10: 01 3e 00 00 00 00 10 e9 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 11 0e 0d 00
30: 00 00 00 00 50 00 00 00 00 00 00 00 0b 01 20 40

00:0b.0 FireWire (IEEE 1394): NEC Corporation IEEE 1394 [OrangeLink]
Host Controller (rev 02) (prog-if 10 [OHCI])
        Subsystem: Compaq Computer Corporation: Unknown device 000d
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop-
ParErr+ Stepping- SERR+ FastB2B-
        Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
        Latency: 64, cache line size 04
        Interrupt: pin A routed to IRQ 11
        Region 0: Memory at 24021000 (32-bit, non-prefetchable) [size=4K]
        Capabilities: [60] Power Management version 1
                Flags: PMEClk- DSI- D1- D2+ AuxCurrent=0mA
PME(D0-,D1-,D2+,D3hot+,D3cold-)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-
00: 33 10 cd 00 56 01 90 02 02 10 00 0c 04 40 00 00
10: 00 10 02 24 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 11 0e 0d 00
30: 00 00 00 00 60 00 00 00 00 00 00 00 0b 01 00 00

# dmesg
Linux version 2.6.17-g95e5c611 (root@thor) (gcc version 3.4.6 (Gentoo
3.4.6-r1, ssp-3.4.5-1.0, pie-8.7.9)) #5 PREEMPT Thu Jun 22 22:12:00 CEST
2006
BIOS-provided physical RAM map:
 BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
 BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
 BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
 BIOS-e820: 0000000000100000 - 000000000fff0000 (usable)
 BIOS-e820: 000000000fff0000 - 000000000fffffc0 (ACPI data)
 BIOS-e820: 000000000fffffc0 - 0000000010000000 (ACPI NVS)
 BIOS-e820: 00000000fffc0000 - 0000000100000000 (reserved)
255MB LOWMEM available.
On node 0 totalpages: 65520
  DMA zone: 4096 pages, LIFO batch:0
  Normal zone: 61424 pages, LIFO batch:15
DMI not present or invalid.
Allocating PCI resources starting at 20000000 (gap: 10000000:effc0000)
Built 1 zonelists
Kernel command line: BOOT_IMAGE=git-b ro root=301
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Initializing CPU#0
PID hash table entries: 1024 (order: 10, 4096 bytes)
Detected 500.038 MHz processor.
Using tsc for high-res timesource
Console: colour dummy device 80x25
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
Memory: 256420k/262080k available (1951k kernel code, 5164k reserved,
660k data, 124k init, 0k highmem)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Calibrating delay using timer specific routine.. 1001.07 BogoMIPS
(lpj=500536)
Mount-cache hash table entries: 512
CPU: After generic identify, caps: 0387f9ff 00000000 00000000 00000000
00000000 00000000 00000000
CPU: After vendor identify, caps: 0387f9ff 00000000 00000000 00000000
00000000 00000000 00000000
CPU: L1 I cache: 16K, L1 D cache: 16K
CPU: L2 cache: 256K
CPU serial number disabled.
CPU: After all inits, caps: 0383f9ff 00000000 00000000 00000040 00000000
00000000 00000000
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
CPU: Intel Pentium III (Coppermine) stepping 06
Checking 'hlt' instruction... OK.
SMP alternatives: switching to UP code
Freeing SMP alternatives: 0k freed
NET: Registered protocol family 16
PCI: PCI BIOS revision 2.10 entry at 0xeb180, last bus=0
Setting up standard PCI resources
SCSI subsystem initialized
usbcore: registered new driver usbfs
usbcore: registered new driver hub
PCI: Probing PCI hardware
PCI: Probing PCI hardware (bus 00)
PCI: Scanning bus 0000:00
PCI: Found 0000:00:00.0 [8086/7194] 000600 00
PCI: Calling quirk c01df586 for 0000:00:00.0
PCI: Calling quirk c0295649 for 0000:00:00.0
PCI: Calling quirk c02957af for 0000:00:00.0
PCI: Calling quirk c029590e for 0000:00:00.0
PCI: Found 0000:00:00.1 [8086/7195] 000401 00
PCI: Calling quirk c01df586 for 0000:00:00.1
PCI: Calling quirk c0295649 for 0000:00:00.1
PCI: Calling quirk c02957af for 0000:00:00.1
PCI: Calling quirk c029590e for 0000:00:00.1
PCI: Found 0000:00:00.2 [8086/7196] 000703 00
PCI: Calling quirk c01df586 for 0000:00:00.2
PCI: Calling quirk c0295649 for 0000:00:00.2
PCI: Calling quirk c02957af for 0000:00:00.2
PCI: Calling quirk c029590e for 0000:00:00.2
PCI: Found 0000:00:07.0 [8086/7198] 000601 00
PCI: Calling quirk c01df586 for 0000:00:07.0
PCI: Calling quirk c0295649 for 0000:00:07.0
PCI: Calling quirk c02957af for 0000:00:07.0
PCI: Calling quirk c029590e for 0000:00:07.0
PCI: Found 0000:00:07.1 [8086/7199] 000101 00
PCI: Calling quirk c01df586 for 0000:00:07.1
PCI: Calling quirk c0295649 for 0000:00:07.1
PCI: Calling quirk c02957af for 0000:00:07.1
PCI: Calling quirk c029590e for 0000:00:07.1
PCI: Found 0000:00:07.2 [8086/719a] 000c03 00
PCI: Calling quirk c01df586 for 0000:00:07.2
PCI: Calling quirk c0295649 for 0000:00:07.2
PCI: Calling quirk c02957af for 0000:00:07.2
PCI: Calling quirk c029590e for 0000:00:07.2
PCI: Found 0000:00:07.3 [8086/719b] 000680 00
PCI: Calling quirk c01df586 for 0000:00:07.3
PCI: Calling quirk c0295649 for 0000:00:07.3
PCI: Calling quirk c02957af for 0000:00:07.3
PCI: Calling quirk c029590e for 0000:00:07.3
PCI: Found 0000:00:08.0 [104c/ac50] 000607 02
PCI: Calling quirk c01df586 for 0000:00:08.0
PCI: Calling quirk c0295649 for 0000:00:08.0
PCI: Calling quirk c029590e for 0000:00:08.0
PCI: Found 0000:00:09.0 [1002/4c52] 000300 00
PCI: Calling quirk c01df586 for 0000:00:09.0
PCI: Calling quirk c0295649 for 0000:00:09.0
PCI: Calling quirk c029590e for 0000:00:09.0
Boot video device is 0000:00:09.0
PCI: Found 0000:00:0a.0 [10ec/8139] 000200 00
PCI: Calling quirk c01df586 for 0000:00:0a.0
PCI: Calling quirk c0295649 for 0000:00:0a.0
PCI: Calling quirk c029590e for 0000:00:0a.0
PCI: Found 0000:00:0b.0 [1033/00cd] 000c00 00
PCI: Calling quirk c01df586 for 0000:00:0b.0
PCI: Calling quirk c0295649 for 0000:00:0b.0
PCI: Calling quirk c029590e for 0000:00:0b.0
PCI: Fixups for bus 0000:00
PCI: Scanning behind PCI bridge 0000:00:08.0, config 000040, pass 0
PCI: Scanning behind PCI bridge 0000:00:08.0, config 000040, pass 1
PCI: Bus scan for 0000:00 returning with max=04
PCI: Using IRQ router PIIX/ICH [8086/7198] at 0000:00:07.0
PCI: Cannot allocate resource region 0 of device 0000:00:0b.0
PCI: BIOS reporting unknown device 00:01
PCI: BIOS reporting unknown device 00:02
  got res [24000000:2401ffff] bus [24000000:2401ffff] flags 7202 for BAR
6 of 0000:00:09.0
  got res [24020000:24020fff] bus [24020000:24020fff] flags 200 for BAR
0 of 0000:00:08.0
PCI: moved device 0000:00:08.0 resource 0 (200) to 24020000
  got res [24021000:24021fff] bus [24021000:24021fff] flags 200 for BAR
0 of 0000:00:0b.0
PCI: moved device 0000:00:0b.0 resource 0 (200) to 24021000
PCI: Bus 1, cardbus bridge: 0000:00:08.0
  IO window: 00002000-00002fff
  IO window: 00004000-00004fff
  PREFETCH window: 20000000-21ffffff
  MEM window: 22000000-23ffffff
PCI: Found IRQ 10 for device 0000:00:08.0
NET: Registered protocol family 2
IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
TCP established hash table entries: 8192 (order: 3, 32768 bytes)
TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
TCP: Hash tables configured (established 8192 bind 4096)
TCP reno registered
apm: BIOS version 1.2 Flags 0x03 (Driver version 1.16ac)
NTFS driver 2.1.27 [Flags: R/O].
Initializing Cryptographic API
io scheduler noop registered
io scheduler cfq registered (default)
PCI: Calling quirk c01df4c0 for 0000:00:00.0
PCI: Calling quirk c0246340 for 0000:00:00.0
PCI: Calling quirk c01df4c0 for 0000:00:00.1
PCI: Calling quirk c0246340 for 0000:00:00.1
PCI: Calling quirk c01df4c0 for 0000:00:00.2
PCI: Calling quirk c0246340 for 0000:00:00.2
PCI: Calling quirk c01df4c0 for 0000:00:07.0
PCI: Calling quirk c0246340 for 0000:00:07.0
PCI: Calling quirk c01df4c0 for 0000:00:07.1
PCI: Calling quirk c0246340 for 0000:00:07.1
PCI: Calling quirk c01df4c0 for 0000:00:07.2
PCI: Calling quirk c0246340 for 0000:00:07.2
PCI: Calling quirk c01df4c0 for 0000:00:07.3
PCI: Calling quirk c0246340 for 0000:00:07.3
PCI: Calling quirk c01df4c0 for 0000:00:08.0
PCI: Calling quirk c0246340 for 0000:00:08.0
PCI: Calling quirk c01df4c0 for 0000:00:09.0
PCI: Calling quirk c0246340 for 0000:00:09.0
PCI: Calling quirk c01df4c0 for 0000:00:0a.0
PCI: Calling quirk c0246340 for 0000:00:0a.0
PCI: Calling quirk c01df4c0 for 0000:00:0b.0
PCI: Calling quirk c0246340 for 0000:00:0b.0
vesafb: framebuffer at 0xc0000000, mapped to 0xd0800000, using 1536k,
total 4096k
vesafb: mode is 1024x768x8, linelength=1024, pages=4
vesafb: protected mode interface info at c000:4f84
vesafb: scrolling: redraw
vesafb: Pseudocolor: size=6:6:6:6, shift=0:0:0:0
Console: switching to colour frame buffer device 128x48
fb0: VESA VGA frame buffer device
Real Time Clock Driver v1.12ac
loop: loaded (max 8 devices)
8139too Fast Ethernet driver 0.9.27
PCI: Found IRQ 10 for device 0000:00:0a.0
IRQ routing conflict for 0000:00:0a.0, have irq 11, want irq 10
eth0: RealTek RTL8139 at 0x3e00, 00:40:d0:17:96:b1, IRQ 11
eth0:  Identified 8139 chip type 'RTL-8139C'
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
PIIX4: IDE controller at PCI slot 0000:00:07.1
PIIX4: chipset revision 0
PIIX4: not 100% native mode: will probe irqs later
    ide0: BM-DMA at 0x1100-0x1107, BIOS settings: hda:DMA, hdb:pio
Probing IDE interface ide0...
hda: IC25N020ATCS04-0, ATA DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Probing IDE interface ide1...
hda: max request size: 128KiB
hda: 39070080 sectors (20003 MB) w/1768KiB Cache, CHS=38760/16/63, UDMA(33)
hda: cache flushes not supported
 hda: hda1 hda2 hda3
PCI: Found IRQ 10 for device 0000:00:08.0
Yenta: CardBus bridge found at 0000:00:08.0 [0e11:000d]
Yenta: Enabling burst memory read transactions
Yenta: Using CSCINT to route CSC interrupts to PCI
Yenta: Routing CardBus interrupts to PCI
Yenta TI: socket 0000:00:08.0, mfunc 0x017c1602, devctl 0x64
Yenta: ISA IRQ mask 0x02d8, PCI irq 10
Socket status: 30000010
USB Universal Host Controller Interface driver v3.0

PCI: IRQ 11 for device 0000:00:07.2 doesn't match PIRQ mask - try
pci=usepirqmask
<6>PCI: Found IRQ 11 for device 0000:00:07.2
PCI: Sharing IRQ 11 with 0000:00:0b.0
uhci_hcd 0000:00:07.2: UHCI Host Controller
uhci_hcd 0000:00:07.2: new USB bus registered, assigned bus number 1
uhci_hcd 0000:00:07.2: irq 11, io base 0x00001200
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
usbcore: registered new driver cdc_acm
drivers/usb/class/cdc-acm.c: v0.25:USB Abstract Control Model driver for
USB modems and ISDN adapters
usbcore: registered new driver usblp
drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver
Initializing USB Mass Storage driver...
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.6:USB HID core driver
usbcore: registered new driver usbserial
drivers/usb/serial/usb-serial.c: USB Serial Driver core
drivers/usb/serial/usb-serial.c: USB Serial support registered for pl2303
usbcore: registered new driver pl2303
drivers/usb/serial/pl2303.c: Prolific PL2303 USB to serial adaptor driver
serio: i8042 AUX port at 0x60,0x64 irq 12
serio: i8042 KBD port at 0x60,0x64 irq 1
mice: PS/2 mouse device common for all mice
Advanced Linux Sound Architecture Driver Version 1.0.11rc4 (Wed Mar 22
10:27:24 2006 UTC).
PCI: Setting latency timer of device 0000:00:00.1 to 64
input: AT Translated Set 2 keyboard as /class/input/input0
pccard: PCMCIA card inserted into slot 0
intel8x0_measure_ac97_clock: measured 50190 usecs
intel8x0: clocking to 48000
ALSA device list:
  #0: Intel 440MX with CS4299 at 0x1600, irq 5
TCP bic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
Using IPI Shortcut mode
ReiserFS: hda1: found reiserfs format "3.6" with standard journal
Synaptics Touchpad, model: 1, fw: 4.1, id: 0x8848a1, caps: 0x0/0x0
input: SynPS/2 Synaptics TouchPad as /class/input/input1
ReiserFS: hda1: using ordered data mode
ReiserFS: hda1: journal params: device hda1, size 8192, journal first
block 18, max trans len 1024, max batch 900, max commit age 30, max
trans age 30
ReiserFS: hda1: checking transaction log (hda1)
ReiserFS: hda1: Using r5 hash to sort names
VFS: Mounted root (reiserfs filesystem) readonly.
Freeing unused kernel memory: 124k freed
Adding 265064k swap on /dev/hda2.  Priority:-1 extents:1 across:265064k
NTFS volume version 3.1.
pcmcia: Detected deprecated PCMCIA ioctl usage from process: cardmgr.
pcmcia: This interface will soon be removed from the kernel; please
expect breakage unless you upgrade to new tools.
pcmcia: see
http://www.kernel.org/pub/linux/utils/kernel/pcmcia/pcmcia.html for details.
cs: memory probe 0x0c0000-0x0fffff: excluding 0xc0000-0xcffff
0xe0000-0xfffff
cs: memory probe 0x60000000-0x60ffffff: clean.
cs: memory probe 0xa0000000-0xa0ffffff: clean.
eth0: link up, 100Mbps, full-duplex, lpa 0x45E1


Like before, I'm available for any other test.

bye, thank you very much
Alessio Sangalli



^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: [PATCH] cardbus: revert IO window limit
  2006-06-22 21:27           ` Alessio Sangalli
@ 2006-06-30  4:34             ` Pekka Enberg
  2006-06-30 19:10             ` Linus Torvalds
  1 sibling, 0 replies; 26+ messages in thread
From: Pekka Enberg @ 2006-06-30  4:34 UTC (permalink / raw)
  To: Alessio Sangalli
  Cc: Linus Torvalds, Andrew Morton, alan, linux-kernel, ink, dtor_core

Hi Alessio,

On Thu, 2006-06-22 at 23:27 +0200, Alessio Sangalli wrote:
> Ok I've found how to enable PCI_DEBUG (I had to enable kernel debugging
> first).

The I/O windows are at a different place for your Cardbus bridge. No
idea why that kills your boot, though.  Did you try commit
4196c3af25d98204216a5d6c37ad2cb303a1f2bf reverted and CONFIG_APM
disabled to see if I/O windows move due to the commit or enabling APM?

				Pekka

--- lspci-noapm	2006-06-30 07:23:20.000000000 +0300
+++ lspci-reverted	2006-06-30 07:28:23.000000000 +0300
@@ -1,4 +1,4 @@
-# /sbin/lspci -vvx (CONFIG_APM disabled)
+# /sbin/lspci -vvx (Commit 4196c3af25d98204216a5d6c37ad2cb303a1f2bf reverted, CONFIG_APM enabled)
 00:00.0 Host bridge: Intel Corp. 82440MX Host Bridge (rev 01)
         Subsystem: Compaq Computer Corporation: Unknown device 000d
         Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop-
@@ -72,11 +72,11 @@
         Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop-
 ParErr- Stepping- SERR- FastB2B-
         Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
-<TAbort- <MAbort- >SERR- <PERR-
+<TAbort- <MAbort+ >SERR- <PERR-
         Latency: 240
         Interrupt: pin D routed to IRQ 11
         Region 4: I/O ports at 1200 [size=32]
-00: 86 80 9a 71 05 00 80 02 00 00 03 0c 00 f0 00 00
+00: 86 80 9a 71 05 00 80 22 00 00 03 0c 00 f0 00 00
 10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 20: 01 12 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 30: 00 00 00 00 00 00 00 00 00 00 00 00 0b 04 00 00
@@ -104,15 +104,15 @@
         Bus: primary=00, secondary=01, subordinate=04, sec-latency=176
         Memory window 0: 20000000-21fff000 (prefetchable)
         Memory window 1: 22000000-23fff000
-        I/O window 0: 00001000-000010ff
-        I/O window 1: 00001400-000014ff
+        I/O window 0: 00002000-00002fff
+        I/O window 1: 00004000-00004fff
         BridgeCtl: Parity- SERR- ISA- VGA- MAbort- >Reset+ 16bInt+
 PostWrite+
         16-bit legacy interface ports at 0001
 00: 4c 10 50 ac 07 00 10 02 01 00 07 06 08 a8 02 00
 10: 00 00 02 24 a0 00 00 02 00 01 04 b0 00 00 00 20
-20: 00 f0 ff 21 00 00 00 22 00 f0 ff 23 00 10 00 00
-30: fc 10 00 00 00 14 00 00 fc 14 00 00 0a 01 c0 05
+20: 00 f0 ff 21 00 00 00 22 00 f0 ff 23 00 20 00 00
+30: fc 2f 00 00 00 40 00 00 fc 4f 00 00 0a 01 c0 05
 40: 11 0e 0d 00 01 00 00 00 00 00 00 00 00 00 00 00
 50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00


--- dmesg-noapm	2006-06-30 07:28:10.000000000 +0300
+++ dmesg-reverted	2006-06-30 07:27:34.000000000 +0300
@@ -1,6 +1,6 @@
-# dmesg (CONFIG_APM DISABLED)
-Linux version 2.6.17-g9fda2669 (root@thor) (gcc version 3.4.6 (Gentoo
-3.4.6-r1, ssp-3.4.5-1.0, pie-8.7.9)) #9 PREEMPT Thu Jun 22 23:12:24 CEST
+# dmesg (Commit 4196c3af25d98204216a5d6c37ad2cb303a1f2bf reverted, CONFIG_APM enabled)
+Linux version 2.6.17-g95e5c611 (root@thor) (gcc version 3.4.6 (Gentoo
+3.4.6-r1, ssp-3.4.5-1.0, pie-8.7.9)) #5 PREEMPT Thu Jun 22 22:12:00 CEST
 2006
 BIOS-provided physical RAM map:
  BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
@@ -17,21 +17,21 @@
 DMI not present or invalid.
 Allocating PCI resources starting at 20000000 (gap: 10000000:effc0000)
 Built 1 zonelists
-Kernel command line: BOOT_IMAGE=git ro root=301
+Kernel command line: BOOT_IMAGE=git-b ro root=301
 Enabling fast FPU save and restore... done.
 Enabling unmasked SIMD FPU exception support... done.
 Initializing CPU#0
 PID hash table entries: 1024 (order: 10, 4096 bytes)
-Detected 500.182 MHz processor.
+Detected 500.038 MHz processor.
 Using tsc for high-res timesource
 Console: colour dummy device 80x25
 Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
 Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
-Memory: 256432k/262080k available (1946k kernel code, 5152k reserved,
-657k data, 120k init, 0k highmem)
+Memory: 256420k/262080k available (1951k kernel code, 5164k reserved,
+660k data, 124k init, 0k highmem)
 Checking if this processor honours the WP bit even in supervisor mode... Ok.
-Calibrating delay using timer specific routine.. 1001.09 BogoMIPS
-(lpj=500548)
+Calibrating delay using timer specific routine.. 1001.07 BogoMIPS
+(lpj=500536)
 Mount-cache hash table entries: 512
 CPU: After generic identify, caps: 0387f9ff 00000000 00000000 00000000
 00000000 00000000 00000000
@@ -58,57 +58,57 @@
 PCI: Probing PCI hardware (bus 00)
 PCI: Scanning bus 0000:00
 PCI: Found 0000:00:00.0 [8086/7194] 000600 00
-PCI: Calling quirk c01de102 for 0000:00:00.0
-PCI: Calling quirk c02941c5 for 0000:00:00.0
-PCI: Calling quirk c029432b for 0000:00:00.0
-PCI: Calling quirk c029448a for 0000:00:00.0
+PCI: Calling quirk c01df586 for 0000:00:00.0
+PCI: Calling quirk c0295649 for 0000:00:00.0
+PCI: Calling quirk c02957af for 0000:00:00.0
+PCI: Calling quirk c029590e for 0000:00:00.0
 PCI: Found 0000:00:00.1 [8086/7195] 000401 00
-PCI: Calling quirk c01de102 for 0000:00:00.1
-PCI: Calling quirk c02941c5 for 0000:00:00.1
-PCI: Calling quirk c029432b for 0000:00:00.1
-PCI: Calling quirk c029448a for 0000:00:00.1
+PCI: Calling quirk c01df586 for 0000:00:00.1
+PCI: Calling quirk c0295649 for 0000:00:00.1
+PCI: Calling quirk c02957af for 0000:00:00.1
+PCI: Calling quirk c029590e for 0000:00:00.1
 PCI: Found 0000:00:00.2 [8086/7196] 000703 00
-PCI: Calling quirk c01de102 for 0000:00:00.2
-PCI: Calling quirk c02941c5 for 0000:00:00.2
-PCI: Calling quirk c029432b for 0000:00:00.2
-PCI: Calling quirk c029448a for 0000:00:00.2
+PCI: Calling quirk c01df586 for 0000:00:00.2
+PCI: Calling quirk c0295649 for 0000:00:00.2
+PCI: Calling quirk c02957af for 0000:00:00.2
+PCI: Calling quirk c029590e for 0000:00:00.2
 PCI: Found 0000:00:07.0 [8086/7198] 000601 00
-PCI: Calling quirk c01de102 for 0000:00:07.0
-PCI: Calling quirk c02941c5 for 0000:00:07.0
-PCI: Calling quirk c029432b for 0000:00:07.0
-PCI: Calling quirk c029448a for 0000:00:07.0
+PCI: Calling quirk c01df586 for 0000:00:07.0
+PCI: Calling quirk c0295649 for 0000:00:07.0
+PCI: Calling quirk c02957af for 0000:00:07.0
+PCI: Calling quirk c029590e for 0000:00:07.0
 PCI: Found 0000:00:07.1 [8086/7199] 000101 00
-PCI: Calling quirk c01de102 for 0000:00:07.1
-PCI: Calling quirk c02941c5 for 0000:00:07.1
-PCI: Calling quirk c029432b for 0000:00:07.1
-PCI: Calling quirk c029448a for 0000:00:07.1
+PCI: Calling quirk c01df586 for 0000:00:07.1
+PCI: Calling quirk c0295649 for 0000:00:07.1
+PCI: Calling quirk c02957af for 0000:00:07.1
+PCI: Calling quirk c029590e for 0000:00:07.1
 PCI: Found 0000:00:07.2 [8086/719a] 000c03 00
-PCI: Calling quirk c01de102 for 0000:00:07.2
-PCI: Calling quirk c02941c5 for 0000:00:07.2
-PCI: Calling quirk c029432b for 0000:00:07.2
-PCI: Calling quirk c029448a for 0000:00:07.2
+PCI: Calling quirk c01df586 for 0000:00:07.2
+PCI: Calling quirk c0295649 for 0000:00:07.2
+PCI: Calling quirk c02957af for 0000:00:07.2
+PCI: Calling quirk c029590e for 0000:00:07.2
 PCI: Found 0000:00:07.3 [8086/719b] 000680 00
-PCI: Calling quirk c01de102 for 0000:00:07.3
-PCI: Calling quirk c02941c5 for 0000:00:07.3
-PCI: Calling quirk c029432b for 0000:00:07.3
-PCI: Calling quirk c029448a for 0000:00:07.3
+PCI: Calling quirk c01df586 for 0000:00:07.3
+PCI: Calling quirk c0295649 for 0000:00:07.3
+PCI: Calling quirk c02957af for 0000:00:07.3
+PCI: Calling quirk c029590e for 0000:00:07.3
 PCI: Found 0000:00:08.0 [104c/ac50] 000607 02
-PCI: Calling quirk c01de102 for 0000:00:08.0
-PCI: Calling quirk c02941c5 for 0000:00:08.0
-PCI: Calling quirk c029448a for 0000:00:08.0
+PCI: Calling quirk c01df586 for 0000:00:08.0
+PCI: Calling quirk c0295649 for 0000:00:08.0
+PCI: Calling quirk c029590e for 0000:00:08.0
 PCI: Found 0000:00:09.0 [1002/4c52] 000300 00
-PCI: Calling quirk c01de102 for 0000:00:09.0
-PCI: Calling quirk c02941c5 for 0000:00:09.0
-PCI: Calling quirk c029448a for 0000:00:09.0
+PCI: Calling quirk c01df586 for 0000:00:09.0
+PCI: Calling quirk c0295649 for 0000:00:09.0
+PCI: Calling quirk c029590e for 0000:00:09.0
 Boot video device is 0000:00:09.0
 PCI: Found 0000:00:0a.0 [10ec/8139] 000200 00
-PCI: Calling quirk c01de102 for 0000:00:0a.0
-PCI: Calling quirk c02941c5 for 0000:00:0a.0
-PCI: Calling quirk c029448a for 0000:00:0a.0
+PCI: Calling quirk c01df586 for 0000:00:0a.0
+PCI: Calling quirk c0295649 for 0000:00:0a.0
+PCI: Calling quirk c029590e for 0000:00:0a.0
 PCI: Found 0000:00:0b.0 [1033/00cd] 000c00 00
-PCI: Calling quirk c01de102 for 0000:00:0b.0
-PCI: Calling quirk c02941c5 for 0000:00:0b.0
-PCI: Calling quirk c029448a for 0000:00:0b.0
+PCI: Calling quirk c01df586 for 0000:00:0b.0
+PCI: Calling quirk c0295649 for 0000:00:0b.0
+PCI: Calling quirk c029590e for 0000:00:0b.0
 PCI: Fixups for bus 0000:00
 PCI: Scanning behind PCI bridge 0000:00:08.0, config 000040, pass 0
 PCI: Scanning behind PCI bridge 0000:00:08.0, config 000040, pass 1
@@ -126,8 +126,8 @@
 0 of 0000:00:0b.0
 PCI: moved device 0000:00:0b.0 resource 0 (200) to 24021000
 PCI: Bus 1, cardbus bridge: 0000:00:08.0
-  IO window: 00001000-000010ff
-  IO window: 00001400-000014ff
+  IO window: 00002000-00002fff
+  IO window: 00004000-00004fff
   PREFETCH window: 20000000-21ffffff
   MEM window: 22000000-23ffffff
 PCI: Found IRQ 10 for device 0000:00:08.0
@@ -137,32 +137,33 @@
 TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
 TCP: Hash tables configured (established 8192 bind 4096)
 TCP reno registered
+apm: BIOS version 1.2 Flags 0x03 (Driver version 1.16ac)
 NTFS driver 2.1.27 [Flags: R/O].
 Initializing Cryptographic API
 io scheduler noop registered
 io scheduler cfq registered (default)
-PCI: Calling quirk c01de03c for 0000:00:00.0
-PCI: Calling quirk c0244ebc for 0000:00:00.0
-PCI: Calling quirk c01de03c for 0000:00:00.1
-PCI: Calling quirk c0244ebc for 0000:00:00.1
-PCI: Calling quirk c01de03c for 0000:00:00.2
-PCI: Calling quirk c0244ebc for 0000:00:00.2
-PCI: Calling quirk c01de03c for 0000:00:07.0
-PCI: Calling quirk c0244ebc for 0000:00:07.0
-PCI: Calling quirk c01de03c for 0000:00:07.1
-PCI: Calling quirk c0244ebc for 0000:00:07.1
-PCI: Calling quirk c01de03c for 0000:00:07.2
-PCI: Calling quirk c0244ebc for 0000:00:07.2
-PCI: Calling quirk c01de03c for 0000:00:07.3
-PCI: Calling quirk c0244ebc for 0000:00:07.3
-PCI: Calling quirk c01de03c for 0000:00:08.0
-PCI: Calling quirk c0244ebc for 0000:00:08.0
-PCI: Calling quirk c01de03c for 0000:00:09.0
-PCI: Calling quirk c0244ebc for 0000:00:09.0
-PCI: Calling quirk c01de03c for 0000:00:0a.0
-PCI: Calling quirk c0244ebc for 0000:00:0a.0
-PCI: Calling quirk c01de03c for 0000:00:0b.0
-PCI: Calling quirk c0244ebc for 0000:00:0b.0
+PCI: Calling quirk c01df4c0 for 0000:00:00.0
+PCI: Calling quirk c0246340 for 0000:00:00.0
+PCI: Calling quirk c01df4c0 for 0000:00:00.1
+PCI: Calling quirk c0246340 for 0000:00:00.1
+PCI: Calling quirk c01df4c0 for 0000:00:00.2
+PCI: Calling quirk c0246340 for 0000:00:00.2
+PCI: Calling quirk c01df4c0 for 0000:00:07.0
+PCI: Calling quirk c0246340 for 0000:00:07.0
+PCI: Calling quirk c01df4c0 for 0000:00:07.1
+PCI: Calling quirk c0246340 for 0000:00:07.1
+PCI: Calling quirk c01df4c0 for 0000:00:07.2
+PCI: Calling quirk c0246340 for 0000:00:07.2
+PCI: Calling quirk c01df4c0 for 0000:00:07.3
+PCI: Calling quirk c0246340 for 0000:00:07.3
+PCI: Calling quirk c01df4c0 for 0000:00:08.0
+PCI: Calling quirk c0246340 for 0000:00:08.0
+PCI: Calling quirk c01df4c0 for 0000:00:09.0
+PCI: Calling quirk c0246340 for 0000:00:09.0
+PCI: Calling quirk c01df4c0 for 0000:00:0a.0
+PCI: Calling quirk c0246340 for 0000:00:0a.0
+PCI: Calling quirk c01df4c0 for 0000:00:0b.0
+PCI: Calling quirk c0246340 for 0000:00:0b.0
 vesafb: framebuffer at 0xc0000000, mapped to 0xd0800000, using 1536k,
 total 4096k
 vesafb: mode is 1024x768x8, linelength=1024, pages=4
@@ -235,7 +236,7 @@
 PCI: Setting latency timer of device 0000:00:00.1 to 64
 input: AT Translated Set 2 keyboard as /class/input/input0
 pccard: PCMCIA card inserted into slot 0
-intel8x0_measure_ac97_clock: measured 50113 usecs
+intel8x0_measure_ac97_clock: measured 50190 usecs
 intel8x0: clocking to 48000
 ALSA device list:
   #0: Intel 440MX with CS4299 at 0x1600, irq 5
@@ -251,13 +252,10 @@
 block 18, max trans len 1024, max batch 900, max commit age 30, max
 trans age 30
 ReiserFS: hda1: checking transaction log (hda1)
-ReiserFS: hda1: replayed 12 transactions in 7 seconds
 ReiserFS: hda1: Using r5 hash to sort names
 VFS: Mounted root (reiserfs filesystem) readonly.
-Freeing unused kernel memory: 120k freed
+Freeing unused kernel memory: 124k freed
 Adding 265064k swap on /dev/hda2.  Priority:-1 extents:1 across:265064k
-ReiserFS: hda1: Removing [15923 112983 0x0 SD]..done
-ReiserFS: hda1: There were 1 uncompleted unlinks/truncates. Completed
 NTFS volume version 3.1.
 pcmcia: Detected deprecated PCMCIA ioctl usage from process: cardmgr.
 pcmcia: This interface will soon be removed from the kernel; please



^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: [PATCH] cardbus: revert IO window limit
  2006-06-22 21:27           ` Alessio Sangalli
  2006-06-30  4:34             ` Pekka Enberg
@ 2006-06-30 19:10             ` Linus Torvalds
  2006-06-30 19:19               ` Dave Jones
  1 sibling, 1 reply; 26+ messages in thread
From: Linus Torvalds @ 2006-06-30 19:10 UTC (permalink / raw)
  To: Alessio Sangalli
  Cc: Andrew Morton, alan, penberg, linux-kernel, ink, dtor_core



On Thu, 22 Jun 2006, Alessio Sangalli wrote:
> 
> # /sbin/lspci -vvx
> 00:00.0 Host bridge: Intel Corp. 82440MX Host Bridge (rev 01)
>         Subsystem: Compaq Computer Corporation: Unknown device 000d
>         Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
>         Status: Cap- 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort+ >SERR- <PERR-
>         Latency: 64
> 00: 86 80 94 71 06 00 00 22 01 00 00 06 00 40 80 00
> 10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> 20: 00 00 00 00 00 00 00 00 00 00 00 00 11 0e 0d 00
> 30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

Ok. We don't actually have any quirks at all for the 82440MX, and that's 
almost certainly _not_ because it doesn't do something strange (all Intel 
host bridges have magic IO ranges), but simply because we haven't hit it 
yet.

And I can't find the docs for the PCI config space for that dang thing.

I bet that there's some magic SMBus IO-range that the 440MX decodes using 
a special magic config setting.

Has anybody found the config space docs for the 82440MX? 

		Linus

^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: [PATCH] cardbus: revert IO window limit
  2006-06-30 19:10             ` Linus Torvalds
@ 2006-06-30 19:19               ` Dave Jones
  2006-06-30 19:26                 ` Dave Jones
  0 siblings, 1 reply; 26+ messages in thread
From: Dave Jones @ 2006-06-30 19:19 UTC (permalink / raw)
  To: Linus Torvalds
  Cc: Alessio Sangalli, Andrew Morton, alan, penberg, linux-kernel, ink,
	dtor_core

On Fri, Jun 30, 2006 at 12:10:32PM -0700, Linus Torvalds wrote:
 > 
 > 
 > On Thu, 22 Jun 2006, Alessio Sangalli wrote:
 > > 
 > > # /sbin/lspci -vvx
 > > 00:00.0 Host bridge: Intel Corp. 82440MX Host Bridge (rev 01)
 > >         Subsystem: Compaq Computer Corporation: Unknown device 000d
 > >         Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
 > >         Status: Cap- 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort+ >SERR- <PERR-
 > >         Latency: 64
 > > 00: 86 80 94 71 06 00 00 22 01 00 00 06 00 40 80 00
 > > 10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 > > 20: 00 00 00 00 00 00 00 00 00 00 00 00 11 0e 0d 00
 > > 30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 > 
 > Ok. We don't actually have any quirks at all for the 82440MX, and that's 
 > almost certainly _not_ because it doesn't do something strange (all Intel 
 > host bridges have magic IO ranges), but simply because we haven't hit it 
 > yet.
 > 
 > And I can't find the docs for the PCI config space for that dang thing.
 > 
 > I bet that there's some magic SMBus IO-range that the 440MX decodes using 
 > a special magic config setting.
 > 
 > Has anybody found the config space docs for the 82440MX? 

http://www.codemonkey.org.uk/cruft/440/
There's an assortment of docs for the other flavour Intel PCIsets from
that era in the same dir.

		Dave

-- 
http://www.codemonkey.org.uk

^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: [PATCH] cardbus: revert IO window limit
  2006-06-30 19:19               ` Dave Jones
@ 2006-06-30 19:26                 ` Dave Jones
  2006-06-30 22:15                   ` Linus Torvalds
  0 siblings, 1 reply; 26+ messages in thread
From: Dave Jones @ 2006-06-30 19:26 UTC (permalink / raw)
  To: Linus Torvalds, Alessio Sangalli, Andrew Morton, alan, penberg,
	linux-kernel, ink, dtor_core

On Fri, Jun 30, 2006 at 03:19:14PM -0400, Dave Jones wrote:

 >  > Ok. We don't actually have any quirks at all for the 82440MX, and that's 
 >  > almost certainly _not_ because it doesn't do something strange (all Intel 
 >  > host bridges have magic IO ranges), but simply because we haven't hit it 
 >  > yet.
 >  > 
 >  > And I can't find the docs for the PCI config space for that dang thing.
 >  > 
 >  > I bet that there's some magic SMBus IO-range that the 440MX decodes using 
 >  > a special magic config setting.
 >  > 
 >  > Has anybody found the config space docs for the 82440MX? 
 > 
 > http://www.codemonkey.org.uk/cruft/440/
 > There's an assortment of docs for the other flavour Intel PCIsets from
 > that era in the same dir.

Hrmm, actually that seems to have everything *but* config space definitions.
I'm not sure if that was ever published in that case, as when I grabbed these
many years ago, I'd grab everything in sight, and I was something of a pack-rat
and never threw away datasheets.

But maybe some other chipset archaeologist was more of a packrat than I was :-)

		Dave

-- 
http://www.codemonkey.org.uk

^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: [PATCH] cardbus: revert IO window limit
@ 2006-06-30 22:03 Daniel Ritz
  2006-06-30 22:18 ` Linus Torvalds
  2006-07-12  6:54 ` Alessio Sangalli
  0 siblings, 2 replies; 26+ messages in thread
From: Daniel Ritz @ 2006-06-30 22:03 UTC (permalink / raw)
  To: Alessio Sangalli, Linus Torvalds
  Cc: Dave Jones, Alan Cox, Andrew Morton, Pekka Enberg, linux-kernel

> Ok. We don't actually have any quirks at all for the 82440MX, and that's 
> almost certainly _not_ because it doesn't do something strange (all Intel 
> host bridges have magic IO ranges), but simply because we haven't hit it 
> yet.
> 
> And I can't find the docs for the PCI config space for that dang thing.
> 
> I bet that there's some magic SMBus IO-range that the 440MX decodes using 
> a special magic config setting.
> 
> Has anybody found the config space docs for the 82440MX? 

nope. but from the docs available i would _guess_ this thing is really
similar to the 82443BX/82371AB combination. at least the SMBus base address
register is hidden at the very same place (32bit at 0x90 in function 3 of the
"south" brigde)...so the attached little patch might be enough to fix things...

Alessio, could you try that one on top of a kernel that shows the problem?

rgds
-daniel

diff --git a/drivers/pci/quirks.c b/drivers/pci/quirks.c
index 4364d79..1d26a64 100644
--- a/drivers/pci/quirks.c
+++ b/drivers/pci/quirks.c
@@ -401,6 +401,8 @@ static void __devinit quirk_piix4_acpi(s
 	piix4_io_quirk(dev, "PIIX4 devres J", 0x7c, 1 << 20);
 }
 DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL,	PCI_DEVICE_ID_INTEL_82371AB_3,	quirk_piix4_acpi );
+DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL,	PCI_DEVICE_ID_INTEL_82443MX_3,	quirk_piix4_acpi );
+
 
 /*
  * ICH4, ICH4-M, ICH5, ICH5-M ACPI: Three IO regions pointed to by longwords at

^ permalink raw reply related	[flat|nested] 26+ messages in thread

* Re: [PATCH] cardbus: revert IO window limit
  2006-06-30 19:26                 ` Dave Jones
@ 2006-06-30 22:15                   ` Linus Torvalds
  0 siblings, 0 replies; 26+ messages in thread
From: Linus Torvalds @ 2006-06-30 22:15 UTC (permalink / raw)
  To: Dave Jones, Asit K. Mallick, Shaohua Li, Arjan van de Ven
  Cc: Alessio Sangalli, Andrew Morton, alan, penberg,
	Linux Kernel Mailing List, ink, dtor_core



On Fri, 30 Jun 2006, Dave Jones wrote:
>  > 
>  > http://www.codemonkey.org.uk/cruft/440/
>  > There's an assortment of docs for the other flavour Intel PCIsets from
>  > that era in the same dir.
> 
> Hrmm, actually that seems to have everything *but* config space definitions.

Yeah, I found those on the intel site too, but nothing with config space 
access info.

It's surprising, actually. I usually have no trouble finding chipset 
config space info for intel chipsets.

Adding a few Intel people to the list, in the hope that they would know at 
least the right person to ask.

Guys: the problem is that the 440MX (PCI ID: 8086:7194) seems to have some 
magic IO register stuff again (probably ACPI or SMBus as usual), and we 
don't know about them, and we don't have a quirk, so when the cardbus IO 
range gets allocated, it can clash and cause trouble.

No docs seem to say _what_ the magic IO addresses are.. Pls help!

		Linus

^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: [PATCH] cardbus: revert IO window limit
  2006-06-30 22:03 [PATCH] cardbus: revert IO window limit Daniel Ritz
@ 2006-06-30 22:18 ` Linus Torvalds
  2006-06-30 23:09   ` Daniel Ritz
  2006-07-12  7:29   ` Alessio Sangalli
  2006-07-12  6:54 ` Alessio Sangalli
  1 sibling, 2 replies; 26+ messages in thread
From: Linus Torvalds @ 2006-06-30 22:18 UTC (permalink / raw)
  To: Daniel Ritz
  Cc: Alessio Sangalli, Dave Jones, Alan Cox, Andrew Morton,
	Pekka Enberg, linux-kernel



On Sat, 1 Jul 2006, Daniel Ritz wrote:
> 
> nope. but from the docs available i would _guess_ this thing is really
> similar to the 82443BX/82371AB combination. at least the SMBus base address
> register is hidden at the very same place (32bit at 0x90 in function 3 of the
> "south" brigde)...so the attached little patch might be enough to fix things...

Alessio has PCI ID 8086:7194, which is not the 82443MX_3, so you'd need 
something like this instead (but yes, it might indeed be the standard 
PIIX4 quirks).

		Linus

---
diff --git a/drivers/pci/quirks.c b/drivers/pci/quirks.c
index 4364d79..0c073b4 100644
--- a/drivers/pci/quirks.c
+++ b/drivers/pci/quirks.c
@@ -401,6 +401,7 @@ static void __devinit quirk_piix4_acpi(s
 	piix4_io_quirk(dev, "PIIX4 devres J", 0x7c, 1 << 20);
 }
 DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL,	PCI_DEVICE_ID_INTEL_82371AB_3,	quirk_piix4_acpi );
+DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL,	PCI_DEVICE_ID_INTEL_82440MX_0,	quirk_piix4_acpi );
 
 /*
  * ICH4, ICH4-M, ICH5, ICH5-M ACPI: Three IO regions pointed to by longwords at
diff --git a/include/linux/pci_ids.h b/include/linux/pci_ids.h
index 9ae6b1a..889d4da 100644
--- a/include/linux/pci_ids.h
+++ b/include/linux/pci_ids.h
@@ -2205,6 +2205,7 @@ #define PCI_DEVICE_ID_INTEL_82443LX_1	0x
 #define PCI_DEVICE_ID_INTEL_82443BX_0	0x7190
 #define PCI_DEVICE_ID_INTEL_82443BX_1	0x7191
 #define PCI_DEVICE_ID_INTEL_82443BX_2	0x7192
+#define PCI_DEVICE_ID_INTEL_82440MX_0	0x7194
 #define PCI_DEVICE_ID_INTEL_440MX	0x7195
 #define PCI_DEVICE_ID_INTEL_440MX_6	0x7196
 #define PCI_DEVICE_ID_INTEL_82443MX_0	0x7198

^ permalink raw reply related	[flat|nested] 26+ messages in thread

* Re: [PATCH] cardbus: revert IO window limit
  2006-06-30 22:18 ` Linus Torvalds
@ 2006-06-30 23:09   ` Daniel Ritz
  2006-06-30 23:21     ` Linus Torvalds
  2006-07-12  7:29   ` Alessio Sangalli
  1 sibling, 1 reply; 26+ messages in thread
From: Daniel Ritz @ 2006-06-30 23:09 UTC (permalink / raw)
  To: Linus Torvalds
  Cc: Alessio Sangalli, Dave Jones, Alan Cox, Andrew Morton,
	Pekka Enberg, linux-kernel

On Saturday 01 July 2006 00.18, Linus Torvalds wrote:
> 
> On Sat, 1 Jul 2006, Daniel Ritz wrote:
> > 
> > nope. but from the docs available i would _guess_ this thing is really
> > similar to the 82443BX/82371AB combination. at least the SMBus base address
> > register is hidden at the very same place (32bit at 0x90 in function 3 of the
> > "south" brigde)...so the attached little patch might be enough to fix things...
> 
> Alessio has PCI ID 8086:7194, which is not the 82443MX_3, so you'd need 
> something like this instead (but yes, it might indeed be the standard 
> PIIX4 quirks).
> 

errm...no. the SMBus device is in device 00:07.3 (power management controller)...
and that has ID 8086:719b (from his lspci -vvx output)...

rgds
-daniel

^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: [PATCH] cardbus: revert IO window limit
  2006-06-30 23:09   ` Daniel Ritz
@ 2006-06-30 23:21     ` Linus Torvalds
  2006-07-05  6:56       ` Pekka J Enberg
  2006-07-12  7:55       ` Alessio Sangalli
  0 siblings, 2 replies; 26+ messages in thread
From: Linus Torvalds @ 2006-06-30 23:21 UTC (permalink / raw)
  To: Daniel Ritz
  Cc: Alessio Sangalli, Dave Jones, Alan Cox, Andrew Morton,
	Pekka Enberg, linux-kernel



On Sat, 1 Jul 2006, Daniel Ritz wrote:
> 
> errm...no. the SMBus device is in device 00:07.3 (power management controller)...
> and that has ID 8086:719b (from his lspci -vvx output)...

Ahh, right. 

Alessio, try Daniel's patch. We'd love to hear if it works, and in 
particular what the dmesg output is (if it does work, it should print out 
something like

	PIIX4 ACPI PIO at 2000-203f
	PIIX4 SMB PIO at 2040-204f

and perhaps even a few "PIIX4 devres X" lines..)

Alessio, it might also make sense to try to enable ACPI if you haven't 
done so - not because you need to use it, but because sometimes the ACPI 
table parsing also ends up exposing these kinds of things..

		Linus

^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: [PATCH] cardbus: revert IO window limit
  2006-06-30 23:21     ` Linus Torvalds
@ 2006-07-05  6:56       ` Pekka J Enberg
  2006-07-12  7:55       ` Alessio Sangalli
  1 sibling, 0 replies; 26+ messages in thread
From: Pekka J Enberg @ 2006-07-05  6:56 UTC (permalink / raw)
  To: Alessio Sangalli
  Cc: Linus Torvalds, Daniel Ritz, Dave Jones, Alan Cox, Andrew Morton,
	linux-kernel

On Fri, 30 Jun 2006, Linus Torvalds wrote:
> Alessio, try Daniel's patch. We'd love to hear if it works, and in 
> particular what the dmesg output is (if it does work, it should print out 
> something like
> 
> 	PIIX4 ACPI PIO at 2000-203f
> 	PIIX4 SMB PIO at 2040-204f
> 
> and perhaps even a few "PIIX4 devres X" lines..)
> 
> Alessio, it might also make sense to try to enable ACPI if you haven't 
> done so - not because you need to use it, but because sometimes the ACPI 
> table parsing also ends up exposing these kinds of things..

Alessio, did you have time to try out Daniel's patch?

				Pekka

^ permalink raw reply	[flat|nested] 26+ messages in thread

* RE: [PATCH] cardbus: revert IO window limit
@ 2006-07-05 18:29 Mallick, Asit K
  0 siblings, 0 replies; 26+ messages in thread
From: Mallick, Asit K @ 2006-07-05 18:29 UTC (permalink / raw)
  To: Linus Torvalds, Dave Jones, Li, Shaohua, Arjan van de Ven
  Cc: Alessio Sangalli, Andrew Morton, alan, penberg,
	Linux Kernel Mailing List, ink, dtor_core

I am trying to find the register information. 440MX is an integration of
440BX north-bridge without AGP and PIIX4E (82371EB). PIIX4 quirk should
cover the ACPI and SMBus related I/O registers. Is there a pci dump for
this machine?

Thanks,
Asit


Linus Torvalds <mailto:torvalds@osdl.org> wrote on Friday, June 30, 2006
3:15 PM:

> On Fri, 30 Jun 2006, Dave Jones wrote:
>>  >
>>  > http://www.codemonkey.org.uk/cruft/440/
>>  > There's an assortment of docs for the other flavour Intel PCIsets
>> from  > that era in the same dir. 
>> 
>> Hrmm, actually that seems to have everything *but* config space
>> definitions. 
> 
> Yeah, I found those on the intel site too, but nothing with config
> space 
> access info.
> 
> It's surprising, actually. I usually have no trouble finding chipset
> config space info for intel chipsets.
> 
> Adding a few Intel people to the list, in the hope that they would
> know at 
> least the right person to ask.
> 
> Guys: the problem is that the 440MX (PCI ID: 8086:7194) seems to have
> some 
> magic IO register stuff again (probably ACPI or SMBus as usual), and
> we 
> don't know about them, and we don't have a quirk, so when the cardbus
> IO 
> range gets allocated, it can clash and cause trouble.
> 
> No docs seem to say _what_ the magic IO addresses are.. Pls help!
> 
> 		Linus

^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: [PATCH] cardbus: revert IO window limit
  2006-06-30 22:03 [PATCH] cardbus: revert IO window limit Daniel Ritz
  2006-06-30 22:18 ` Linus Torvalds
@ 2006-07-12  6:54 ` Alessio Sangalli
  1 sibling, 0 replies; 26+ messages in thread
From: Alessio Sangalli @ 2006-07-12  6:54 UTC (permalink / raw)
  To: Daniel Ritz
  Cc: Linus Torvalds, Dave Jones, Alan Cox, Andrew Morton, Pekka Enberg,
	linux-kernel

Daniel Ritz wrote:

> register is hidden at the very same place (32bit at 0x90 in function 3 of the
> "south" brigde)...so the attached little patch might be enough to fix things...
> 
> Alessio, could you try that one on top of a kernel that shows the problem?

well sorry for being so late but I had some lectures to do and... by the
way, everybody on this msiling list is officially invited at the
Planetarium of Lecco - if you happen to pass by northern Italy just drop
me an email... :)

You know... this patch works :)
I'm now running the latest kernel in the git repository with APM enabled
and everything is working fine! I will qute the patch below.

Thank you
Alessio Sangalli

diff --git a/drivers/pci/quirks.c b/drivers/pci/quirks.c
index 4364d79..1d26a64 100644
--- a/drivers/pci/quirks.c
+++ b/drivers/pci/quirks.c
@@ -401,6 +401,8 @@ static void __devinit quirk_piix4_acpi(s
 	piix4_io_quirk(dev, "PIIX4 devres J", 0x7c, 1 << 20);
 }
 DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL,
PCI_DEVICE_ID_INTEL_82371AB_3,	quirk_piix4_acpi );
+DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL,
PCI_DEVICE_ID_INTEL_82443MX_3,	quirk_piix4_acpi );
+

 /*
  * ICH4, ICH4-M, ICH5, ICH5-M ACPI: Three IO regions pointed to by
longwords at

^ permalink raw reply related	[flat|nested] 26+ messages in thread

* Re: [PATCH] cardbus: revert IO window limit
  2006-06-30 22:18 ` Linus Torvalds
  2006-06-30 23:09   ` Daniel Ritz
@ 2006-07-12  7:29   ` Alessio Sangalli
  1 sibling, 0 replies; 26+ messages in thread
From: Alessio Sangalli @ 2006-07-12  7:29 UTC (permalink / raw)
  To: Linus Torvalds
  Cc: Daniel Ritz, Dave Jones, Alan Cox, Andrew Morton, Pekka Enberg,
	linux-kernel

Linus Torvalds wrote:

> Alessio has PCI ID 8086:7194, which is not the 82443MX_3, so you'd need 
> something like this instead (but yes, it might indeed be the standard 
> PIIX4 quirks).

Linus, this patch *does not* work, while Daniel's is ok. It's
puzzling... same kernel, just checked out from the git repository.


> ---
> diff --git a/drivers/pci/quirks.c b/drivers/pci/quirks.c
> index 4364d79..0c073b4 100644
> --- a/drivers/pci/quirks.c
> +++ b/drivers/pci/quirks.c
> @@ -401,6 +401,7 @@ static void __devinit quirk_piix4_acpi(s
>  	piix4_io_quirk(dev, "PIIX4 devres J", 0x7c, 1 << 20);
>  }
>  DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL,	PCI_DEVICE_ID_INTEL_82371AB_3,	quirk_piix4_acpi );
> +DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL,	PCI_DEVICE_ID_INTEL_82440MX_0,	quirk_piix4_acpi );
>  
>  /*
>   * ICH4, ICH4-M, ICH5, ICH5-M ACPI: Three IO regions pointed to by longwords at
> diff --git a/include/linux/pci_ids.h b/include/linux/pci_ids.h
> index 9ae6b1a..889d4da 100644
> --- a/include/linux/pci_ids.h
> +++ b/include/linux/pci_ids.h
> @@ -2205,6 +2205,7 @@ #define PCI_DEVICE_ID_INTEL_82443LX_1	0x
>  #define PCI_DEVICE_ID_INTEL_82443BX_0	0x7190
>  #define PCI_DEVICE_ID_INTEL_82443BX_1	0x7191
>  #define PCI_DEVICE_ID_INTEL_82443BX_2	0x7192
> +#define PCI_DEVICE_ID_INTEL_82440MX_0	0x7194
>  #define PCI_DEVICE_ID_INTEL_440MX	0x7195
>  #define PCI_DEVICE_ID_INTEL_440MX_6	0x7196
>  #define PCI_DEVICE_ID_INTEL_82443MX_0	0x7198


^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: [PATCH] cardbus: revert IO window limit
  2006-06-30 23:21     ` Linus Torvalds
  2006-07-05  6:56       ` Pekka J Enberg
@ 2006-07-12  7:55       ` Alessio Sangalli
  2006-07-12 15:18         ` Linus Torvalds
  1 sibling, 1 reply; 26+ messages in thread
From: Alessio Sangalli @ 2006-07-12  7:55 UTC (permalink / raw)
  To: Linus Torvalds
  Cc: Daniel Ritz, Dave Jones, Alan Cox, Andrew Morton, Pekka Enberg,
	linux-kernel

Linus Torvalds wrote:

> Alessio, try Daniel's patch. We'd love to hear if it works, and in 
> particular what the dmesg output is (if it does work, it should print out 
> something like
> 
> 	PIIX4 ACPI PIO at 2000-203f
> 	PIIX4 SMB PIO at 2040-204f
> 
> and perhaps even a few "PIIX4 devres X" lines..)

this is the relevat dmesg output:

PCI: Probing PCI hardware
PCI: Probing PCI hardware (bus 00)
PCI quirk: region 1000-103f claimed by PIIX4 ACPI
PCI quirk: region 1400-140f claimed by PIIX4 SMB
PIIX4 devres C PIO at 0398-0399
Boot video device is 0000:00:09.0
PCI: Using IRQ router PIIX/ICH [8086/7198] at 0000:00:07.0
PCI: Cannot allocate resource region 0 of device 0000:00:0b.0
PCI: BIOS reporting unknown device 00:01
PCI: BIOS reporting unknown device 00:02
PCI: Bus 1, cardbus bridge: 0000:00:08.0
  IO window: 00001c00-00001cff
  IO window: 00002000-000020ff
  PREFETCH window: 20000000-21ffffff
  MEM window: 22000000-23ffffff
PCI: setting IRQ 10 as level-triggered
PCI: Found IRQ 10 for device 0000:00:08.0

> Alessio, it might also make sense to try to enable ACPI if you haven't 
> done so - not because you need to use it, but because sometimes the ACPI 
> table parsing also ends up exposing these kinds of things..


It's not that I don't want ACPI, but if I enable it I only get:

ACPI: RSDP (v000 OID_00                                ) @ 0x000f0010
ACPI: RSDT (v001 OID_00 RSDT_000 0x30303030 <90>& 0x00010000) @ 0x0ffffbd0
ACPI: FADT (v001 OID_00 FACP_000 0x30303030 <90>& 0x00010000) @ 0x0ffffb20
ACPI: BOOT (v001 OID_00 BOOT_000 0x30303030 <90>& 0x00010000) @ 0x0ffffba0
ACPI: DSDT (v001 INT440 SYSFexxx 0x00001001 MSFT 0x0100000b) @ 0x00000000
ACPI: Vendor "INT440" System "SYSFexxx" Revision 0x1001 has a known ACPI
BIOS problem.
ACPI: Reason: Does not use _REG to protect EC OpRegions. This is a
non-recoverable error
ACPI: Disabling ACPI support
Allocating PCI resources starting at 20000000 (gap: 10000000:effc0000)


bye, thank you
Alessio Sangalli




^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: [PATCH] cardbus: revert IO window limit
  2006-07-12  7:55       ` Alessio Sangalli
@ 2006-07-12 15:18         ` Linus Torvalds
  2006-07-13  6:29           ` Alessio Sangalli
  0 siblings, 1 reply; 26+ messages in thread
From: Linus Torvalds @ 2006-07-12 15:18 UTC (permalink / raw)
  To: Alessio Sangalli
  Cc: Daniel Ritz, Dave Jones, Alan Cox, Andrew Morton, Pekka Enberg,
	linux-kernel



On Wed, 12 Jul 2006, Alessio Sangalli wrote:
>
> Linus Torvalds wrote:
> 
> > Alessio, try Daniel's patch. We'd love to hear if it works, and in 
> > particular what the dmesg output is (if it does work, it should print out 
> > something like
> > 
> > 	PIIX4 ACPI PIO at 2000-203f
> > 	PIIX4 SMB PIO at 2040-204f
> > 
> > and perhaps even a few "PIIX4 devres X" lines..)
> 
> this is the relevat dmesg output:
> 
> PCI: Probing PCI hardware
> PCI: Probing PCI hardware (bus 00)
> PCI quirk: region 1000-103f claimed by PIIX4 ACPI
> PCI quirk: region 1400-140f claimed by PIIX4 SMB
> PIIX4 devres C PIO at 0398-0399

Thanks, that explains it. Anybody who allocated region 1000 and 1400 would 
clash with the built-in PIIX magic IO regions, and any driver that tried 
to access those regions would instead end up accessing magic SMBus or ACPI 
registers.

So your lock-ups are very understandable indeed, and I'll apply this to 
the standard kernel. MUCH better than reverting the IO window limits.

		Linus

^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: [PATCH] cardbus: revert IO window limit
  2006-07-12 15:18         ` Linus Torvalds
@ 2006-07-13  6:29           ` Alessio Sangalli
  0 siblings, 0 replies; 26+ messages in thread
From: Alessio Sangalli @ 2006-07-13  6:29 UTC (permalink / raw)
  To: Linus Torvalds
  Cc: Daniel Ritz, Dave Jones, Alan Cox, Andrew Morton, Pekka Enberg,
	linux-kernel

Linus Torvalds wrote:

>> PCI: Probing PCI hardware
>> PCI: Probing PCI hardware (bus 00)
>> PCI quirk: region 1000-103f claimed by PIIX4 ACPI
>> PCI quirk: region 1400-140f claimed by PIIX4 SMB
>> PIIX4 devres C PIO at 0398-0399
> 
> Thanks, that explains it. Anybody who allocated region 1000 and 1400 would 
> clash with the built-in PIIX magic IO regions, and any driver that tried 
> to access those regions would instead end up accessing magic SMBus or ACPI 
> registers.
> 
> So your lock-ups are very understandable indeed, and I'll apply this to 
> the standard kernel. MUCH better than reverting the IO window limits.


Ok I'm glad we (you) have found the best solution.

Remember you are all welcome at the Planetarium of Lecco, Italy ;)

Thank you
Alessio Sangalli IZ2GMV


^ permalink raw reply	[flat|nested] 26+ messages in thread

end of thread, other threads:[~2006-07-13  6:27 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-30 22:03 [PATCH] cardbus: revert IO window limit Daniel Ritz
2006-06-30 22:18 ` Linus Torvalds
2006-06-30 23:09   ` Daniel Ritz
2006-06-30 23:21     ` Linus Torvalds
2006-07-05  6:56       ` Pekka J Enberg
2006-07-12  7:55       ` Alessio Sangalli
2006-07-12 15:18         ` Linus Torvalds
2006-07-13  6:29           ` Alessio Sangalli
2006-07-12  7:29   ` Alessio Sangalli
2006-07-12  6:54 ` Alessio Sangalli
  -- strict thread matches above, loose matches on Subject: below --
2006-07-05 18:29 Mallick, Asit K
2006-06-22  6:48 Pekka J Enberg
2006-06-22  7:11 ` Andrew Morton
2006-06-22  7:53   ` Alessio Sangalli
2006-06-22 11:35   ` Alan Cox
2006-06-22 16:18     ` Linus Torvalds
2006-06-22 16:36       ` Andrew Morton
2006-06-22 17:07         ` Linus Torvalds
2006-06-22 20:01           ` Alessio Sangalli
2006-06-22 21:27           ` Alessio Sangalli
2006-06-30  4:34             ` Pekka Enberg
2006-06-30 19:10             ` Linus Torvalds
2006-06-30 19:19               ` Dave Jones
2006-06-30 19:26                 ` Dave Jones
2006-06-30 22:15                   ` Linus Torvalds
2006-06-22 16:16   ` Linus Torvalds

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox