Re: tg3 broken after "PCI: Fix bus resource assignment on 32 bits with 64b resources"

2008-02-13 Thread Rafael J. Wysocki
On Thursday, 14 of February 2008, Alexey Dobriyan wrote: > On Wed, Feb 13, 2008 at 11:52:46PM +0100, Rafael J. Wysocki wrote: > > On Monday, 4 of February 2008, Alexey Dobriyan wrote: > > > Commit c40a22e0ce5eb400f27449e59e43d021bee58b8d aka > > > "PCI: Fix bus resource assignment on 32 bits with

Re: tg3 broken after "PCI: Fix bus resource assignment on 32 bits with 64b resources"

2008-02-13 Thread Benjamin Herrenschmidt
On Wed, 2008-02-13 at 23:52 +0100, Rafael J. Wysocki wrote: > On Monday, 4 of February 2008, Alexey Dobriyan wrote: > > Commit c40a22e0ce5eb400f27449e59e43d021bee58b8d aka > > "PCI: Fix bus resource assignment on 32 bits with 64b resources" > > renders one tg3-equipped box networkless here. > >

Re: tg3 broken after "PCI: Fix bus resource assignment on 32 bits with 64b resources"

2008-02-13 Thread Alexey Dobriyan
On Wed, Feb 13, 2008 at 11:52:46PM +0100, Rafael J. Wysocki wrote: > On Monday, 4 of February 2008, Alexey Dobriyan wrote: > > Commit c40a22e0ce5eb400f27449e59e43d021bee58b8d aka > > "PCI: Fix bus resource assignment on 32 bits with 64b resources" > > renders one tg3-equipped box networkless here.

Re: tg3 broken after "PCI: Fix bus resource assignment on 32 bits with 64b resources"

2008-02-13 Thread Rafael J. Wysocki
On Monday, 4 of February 2008, Alexey Dobriyan wrote: > Commit c40a22e0ce5eb400f27449e59e43d021bee58b8d aka > "PCI: Fix bus resource assignment on 32 bits with 64b resources" > renders one tg3-equipped box networkless here. Has it been fixed already or is it still happening with the current

Re: tg3 broken after PCI: Fix bus resource assignment on 32 bits with 64b resources

2008-02-13 Thread Rafael J. Wysocki
On Monday, 4 of February 2008, Alexey Dobriyan wrote: Commit c40a22e0ce5eb400f27449e59e43d021bee58b8d aka PCI: Fix bus resource assignment on 32 bits with 64b resources renders one tg3-equipped box networkless here. Has it been fixed already or is it still happening with the current mainline?

Re: tg3 broken after PCI: Fix bus resource assignment on 32 bits with 64b resources

2008-02-13 Thread Rafael J. Wysocki
On Thursday, 14 of February 2008, Alexey Dobriyan wrote: On Wed, Feb 13, 2008 at 11:52:46PM +0100, Rafael J. Wysocki wrote: On Monday, 4 of February 2008, Alexey Dobriyan wrote: Commit c40a22e0ce5eb400f27449e59e43d021bee58b8d aka PCI: Fix bus resource assignment on 32 bits with 64b

Re: tg3 broken after PCI: Fix bus resource assignment on 32 bits with 64b resources

2008-02-13 Thread Benjamin Herrenschmidt
On Wed, 2008-02-13 at 23:52 +0100, Rafael J. Wysocki wrote: On Monday, 4 of February 2008, Alexey Dobriyan wrote: Commit c40a22e0ce5eb400f27449e59e43d021bee58b8d aka PCI: Fix bus resource assignment on 32 bits with 64b resources renders one tg3-equipped box networkless here. Has it been

Re: tg3 broken after PCI: Fix bus resource assignment on 32 bits with 64b resources

2008-02-13 Thread Alexey Dobriyan
On Wed, Feb 13, 2008 at 11:52:46PM +0100, Rafael J. Wysocki wrote: On Monday, 4 of February 2008, Alexey Dobriyan wrote: Commit c40a22e0ce5eb400f27449e59e43d021bee58b8d aka PCI: Fix bus resource assignment on 32 bits with 64b resources renders one tg3-equipped box networkless here. Has

Re: tg3 broken after "PCI: Fix bus resource assignment on 32 bits with 64b resources"

2008-02-07 Thread Alexey Dobriyan
On Thu, Feb 07, 2008 at 08:15:26AM +1100, Benjamin Herrenschmidt wrote: > > > > > BTW, "[PATCH] x86_32: fix regression caused by trim ram according to mtrr > > on system with 4G more RAM" > > http://marc.info/?l=linux-kernel=120229095121673=2 > > fixes this box too and I have back all 4G of RAM

Re: tg3 broken after PCI: Fix bus resource assignment on 32 bits with 64b resources

2008-02-07 Thread Alexey Dobriyan
On Thu, Feb 07, 2008 at 08:15:26AM +1100, Benjamin Herrenschmidt wrote: BTW, [PATCH] x86_32: fix regression caused by trim ram according to mtrr on system with 4G more RAM http://marc.info/?l=linux-kernelm=120229095121673w=2 fixes this box too and I have back all 4G of RAM as a

Re: tg3 broken after "PCI: Fix bus resource assignment on 32 bits with 64b resources"

2008-02-06 Thread Benjamin Herrenschmidt
> > BTW, "[PATCH] x86_32: fix regression caused by trim ram according to mtrr on > system with 4G more RAM" > http://marc.info/?l=linux-kernel=120229095121673=2 > fixes this box too and I have back all 4G of RAM as a bonus. :-) You mean you no longer have a problem or does your tg3 issue still

Re: tg3 broken after "PCI: Fix bus resource assignment on 32 bits with 64b resources"

2008-02-06 Thread Yinghai Lu
On Feb 6, 2008 2:05 AM, Alexey Dobriyan <[EMAIL PROTECTED]> wrote: > > On Wed, Feb 06, 2008 at 07:49:52AM +1100, Benjamin Herrenschmidt wrote: > > > > > so x86_64 will work well? > > > > > > the problem is that BIOS does not assign one resource for you tg3. and > > > kernel

Re: tg3 broken after "PCI: Fix bus resource assignment on 32 bits with 64b resources"

2008-02-06 Thread Alexey Dobriyan
On Wed, Feb 06, 2008 at 07:49:52AM +1100, Benjamin Herrenschmidt wrote: > > > so x86_64 will work well? > > > > the problem is that BIOS does not assign one resource for you tg3. and > > kernel pcibios_assign_to_unassign (?) try > > to assign resource to your card. > > But the kernel shouldn't

Re: tg3 broken after PCI: Fix bus resource assignment on 32 bits with 64b resources

2008-02-06 Thread Alexey Dobriyan
On Wed, Feb 06, 2008 at 07:49:52AM +1100, Benjamin Herrenschmidt wrote: so x86_64 will work well? the problem is that BIOS does not assign one resource for you tg3. and kernel pcibios_assign_to_unassign (?) try to assign resource to your card. But the kernel shouldn't try to assign

Re: tg3 broken after PCI: Fix bus resource assignment on 32 bits with 64b resources

2008-02-06 Thread Yinghai Lu
On Feb 6, 2008 2:05 AM, Alexey Dobriyan [EMAIL PROTECTED] wrote: On Wed, Feb 06, 2008 at 07:49:52AM +1100, Benjamin Herrenschmidt wrote: so x86_64 will work well? the problem is that BIOS does not assign one resource for you tg3. and kernel pcibios_assign_to_unassign (?) try to

Re: tg3 broken after PCI: Fix bus resource assignment on 32 bits with 64b resources

2008-02-06 Thread Benjamin Herrenschmidt
BTW, [PATCH] x86_32: fix regression caused by trim ram according to mtrr on system with 4G more RAM http://marc.info/?l=linux-kernelm=120229095121673w=2 fixes this box too and I have back all 4G of RAM as a bonus. :-) You mean you no longer have a problem or does your tg3 issue still

Re: tg3 broken after "PCI: Fix bus resource assignment on 32 bits with 64b resources"

2008-02-05 Thread Benjamin Herrenschmidt
Looks like your attachment got currupted for some reason (got here as a corrupted bzip2 file that was encoded as plain text). Ben. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at

Re: tg3 broken after "PCI: Fix bus resource assignment on 32 bits with 64b resources"

2008-02-05 Thread Benjamin Herrenschmidt
> so x86_64 will work well? > > the problem is that BIOS does not assign one resource for you tg3. and > kernel pcibios_assign_to_unassign (?) try > to assign resource to your card. But the kernel shouldn't try to assign a resource in the 64 bits space to a card behind a bridge... at least not

Re: tg3 broken after "PCI: Fix bus resource assignment on 32 bits with 64b resources"

2008-02-05 Thread Yinghai Lu
On Feb 5, 2008 1:17 AM, Alexey Dobriyan <[EMAIL PROTECTED]> wrote: > On Tue, Feb 05, 2008 at 08:54:33AM +1100, Benjamin Herrenschmidt wrote: > > > > On Mon, 2008-02-04 at 18:12 +0300, Alexey Dobriyan wrote: > > > Commit c40a22e0ce5eb400f27449e59e43d021bee58b8d aka > > > "PCI: Fix bus resource

Re: tg3 broken after PCI: Fix bus resource assignment on 32 bits with 64b resources

2008-02-05 Thread Yinghai Lu
On Feb 5, 2008 1:17 AM, Alexey Dobriyan [EMAIL PROTECTED] wrote: On Tue, Feb 05, 2008 at 08:54:33AM +1100, Benjamin Herrenschmidt wrote: On Mon, 2008-02-04 at 18:12 +0300, Alexey Dobriyan wrote: Commit c40a22e0ce5eb400f27449e59e43d021bee58b8d aka PCI: Fix bus resource assignment on 32

Re: tg3 broken after PCI: Fix bus resource assignment on 32 bits with 64b resources

2008-02-05 Thread Benjamin Herrenschmidt
so x86_64 will work well? the problem is that BIOS does not assign one resource for you tg3. and kernel pcibios_assign_to_unassign (?) try to assign resource to your card. But the kernel shouldn't try to assign a resource in the 64 bits space to a card behind a bridge... at least not a

Re: tg3 broken after PCI: Fix bus resource assignment on 32 bits with 64b resources

2008-02-05 Thread Benjamin Herrenschmidt
Looks like your attachment got currupted for some reason (got here as a corrupted bzip2 file that was encoded as plain text). Ben. -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at

Re: tg3 broken after "PCI: Fix bus resource assignment on 32 bits with 64b resources"

2008-02-04 Thread Benjamin Herrenschmidt
And I could also use the lspci output without the patch. Thanks, Ben. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at

Re: tg3 broken after "PCI: Fix bus resource assignment on 32 bits with 64b resources"

2008-02-04 Thread Benjamin Herrenschmidt
Oh and send me the output of /proc/iomem as well. Cheers, Ben. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at

Re: tg3 broken after "PCI: Fix bus resource assignment on 32 bits with 64b resources"

2008-02-04 Thread Benjamin Herrenschmidt
On Mon, 2008-02-04 at 18:12 +0300, Alexey Dobriyan wrote: > Commit c40a22e0ce5eb400f27449e59e43d021bee58b8d aka > "PCI: Fix bus resource assignment on 32 bits with 64b resources" > renders one tg3-equipped box networkless here. > > tg3.c:v3.87 (December 20, 2007) > tg3:

tg3 broken after "PCI: Fix bus resource assignment on 32 bits with 64b resources"

2008-02-04 Thread Alexey Dobriyan
Commit c40a22e0ce5eb400f27449e59e43d021bee58b8d aka "PCI: Fix bus resource assignment on 32 bits with 64b resources" renders one tg3-equipped box networkless here. tg3.c:v3.87 (December 20, 2007) tg3: (:02:05.0) phy probe failed, err -19 tg3: Problem fetching

tg3 broken after PCI: Fix bus resource assignment on 32 bits with 64b resources

2008-02-04 Thread Alexey Dobriyan
Commit c40a22e0ce5eb400f27449e59e43d021bee58b8d aka PCI: Fix bus resource assignment on 32 bits with 64b resources renders one tg3-equipped box networkless here. tg3.c:v3.87 (December 20, 2007) tg3: (:02:05.0) phy probe failed, err -19 tg3: Problem fetching invariants

Re: tg3 broken after PCI: Fix bus resource assignment on 32 bits with 64b resources

2008-02-04 Thread Benjamin Herrenschmidt
On Mon, 2008-02-04 at 18:12 +0300, Alexey Dobriyan wrote: Commit c40a22e0ce5eb400f27449e59e43d021bee58b8d aka PCI: Fix bus resource assignment on 32 bits with 64b resources renders one tg3-equipped box networkless here. tg3.c:v3.87 (December 20, 2007) tg3: (:02:05.0) phy

Re: tg3 broken after PCI: Fix bus resource assignment on 32 bits with 64b resources

2008-02-04 Thread Benjamin Herrenschmidt
And I could also use the lspci output without the patch. Thanks, Ben. -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at

Re: tg3 broken after PCI: Fix bus resource assignment on 32 bits with 64b resources

2008-02-04 Thread Benjamin Herrenschmidt
Oh and send me the output of /proc/iomem as well. Cheers, Ben. -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at