linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* i810fb fails to load (was: 2.6.20-rc4-mm1)
       [not found] <20070111222627.66bb75ab.akpm@osdl.org>
@ 2007-01-14 23:52 ` Tilman Schmidt
  2007-01-15  0:22   ` Andrew Morton
  0 siblings, 1 reply; 6+ messages in thread
From: Tilman Schmidt @ 2007-01-14 23:52 UTC (permalink / raw)
  To: Andrew Morton, linux-kernel, linux-fbdev-devel

[-- Attachment #1: Type: text/plain, Size: 2502 bytes --]

With kernel 2.6.20-rc4-mm1 and all hotfixes, i810fb fails to load on my
Dell Optiplex GX110. Here's an excerpt of the diff between the boot logs
of 2.6.20-rc5 (working) and 2.6.20-rc4-mm1 (non-working):

@@ -4,7 +4,7 @@
 No module symbols loaded - kernel modules not enabled.

 klogd 1.4.1, log source = ksyslog started.
-<5>Linux version 2.6.20-rc5-noinitrd (ts@gx110) (gcc version 4.0.2 20050901 (prerelease) (SUSE Linux)) #2 PREEMPT Sun Jan 14 23:37:12 CET 2007
+<5>Linux version 2.6.20-rc4-mm1-noinitrd (ts@gx110) (gcc version 4.0.2 20050901 (prerelease) (SUSE Linux)) #3 PREEMPT Sun Jan 14 21:08:56 CET 2007
 <6>BIOS-provided physical RAM map:
 <4>sanitize start
 <4>sanitize end
@@ -188,7 +192,6 @@
 <6>ACPI: Interpreter enabled
 <6>ACPI: Using PIC for interrupt routing
 <6>ACPI: PCI Root Bridge [PCI0] (0000:00)
-<7>PCI: Probing PCI hardware (bus 00)
 <6>ACPI: Assume root bridge [\_SB_.PCI0] bus is 0
 <7>Boot video device is 0000:00:01.0
 <4>PCI quirk: region 0800-087f claimed by ICH4 ACPI/GPIO/TCO
@@ -238,20 +241,15 @@
 <6>isapnp: No Plug & Play device found
 <6>Real Time Clock Driver v1.12ac
 <6>Intel 82802 RNG detected
-<6>Linux agpgart interface v0.101 (c) Dave Jones
+<6>Linux agpgart interface v0.102 (c) Dave Jones
 <6>agpgart: Detected an Intel i810 E Chipset.
 <6>agpgart: detected 4MB dedicated video ram.
 <6>agpgart: AGP aperture is 64M @ 0xf8000000
 <4>ACPI: PCI Interrupt Link [LNKA] enabled at IRQ 9
 <7>PCI: setting IRQ 9 as level-triggered
 <6>ACPI: PCI Interrupt 0000:00:01.0[A] -> Link [LNKA] -> GSI 9 (level, low) -> IRQ 9
-<4>i810-i2c: Probe DDC1 Bus
-<4>i810fb_init_pci: DDC probe successful
-<4>Console: switching to colour frame buffer device 160x64
-<4>I810FB: fb0         : Intel(R) 810E Framebuffer Device v0.9.0
-<4>I810FB: Video RAM   : 4096K
-<4>I810FB: Monitor     : H: 30-83 KHz V: 55-75 Hz
-<4>I810FB: Mode        : 1280x1024-8bpp@60Hz
+<4>i810fb_alloc_fbmem: can't bind framebuffer memory
+<4>i810fb: probe of 0000:00:01.0 failed with error -16
 <6>Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled
 <6>serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
 <6>serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A

Please let me know if you need more information.

Thanks
Tilman

-- 
Tilman Schmidt                          E-Mail: tilman@imap.cc
Bonn, Germany
Diese Nachricht besteht zu 100% aus wiederverwerteten Bits.
Ungeöffnet mindestens haltbar bis: (siehe Rückseite)


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 253 bytes --]

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

* Re: i810fb fails to load (was: 2.6.20-rc4-mm1)
  2007-01-14 23:52 ` i810fb fails to load (was: 2.6.20-rc4-mm1) Tilman Schmidt
@ 2007-01-15  0:22   ` Andrew Morton
  2007-01-22 13:42     ` i810fb fails to load Thomas Hellström
  0 siblings, 1 reply; 6+ messages in thread
From: Andrew Morton @ 2007-01-15  0:22 UTC (permalink / raw)
  To: Tilman Schmidt; +Cc: linux-kernel, linux-fbdev-devel, Dave Airlie

> On Mon, 15 Jan 2007 00:52:36 +0100 Tilman Schmidt <tilman@imap.cc> wrote:
> With kernel 2.6.20-rc4-mm1 and all hotfixes, i810fb fails to load on my
> Dell Optiplex GX110. Here's an excerpt of the diff between the boot logs
> of 2.6.20-rc5 (working) and 2.6.20-rc4-mm1 (non-working):
> 
> @@ -4,7 +4,7 @@
>  No module symbols loaded - kernel modules not enabled.
> 
>  klogd 1.4.1, log source = ksyslog started.
> -<5>Linux version 2.6.20-rc5-noinitrd (ts@gx110) (gcc version 4.0.2 20050901 (prerelease) (SUSE Linux)) #2 PREEMPT Sun Jan 14 23:37:12 CET 2007
> +<5>Linux version 2.6.20-rc4-mm1-noinitrd (ts@gx110) (gcc version 4.0.2 20050901 (prerelease) (SUSE Linux)) #3 PREEMPT Sun Jan 14 21:08:56 CET 2007
>  <6>BIOS-provided physical RAM map:
>  <4>sanitize start
>  <4>sanitize end
> @@ -188,7 +192,6 @@
>  <6>ACPI: Interpreter enabled
>  <6>ACPI: Using PIC for interrupt routing
>  <6>ACPI: PCI Root Bridge [PCI0] (0000:00)
> -<7>PCI: Probing PCI hardware (bus 00)
>  <6>ACPI: Assume root bridge [\_SB_.PCI0] bus is 0
>  <7>Boot video device is 0000:00:01.0
>  <4>PCI quirk: region 0800-087f claimed by ICH4 ACPI/GPIO/TCO
> @@ -238,20 +241,15 @@
>  <6>isapnp: No Plug & Play device found
>  <6>Real Time Clock Driver v1.12ac
>  <6>Intel 82802 RNG detected
> -<6>Linux agpgart interface v0.101 (c) Dave Jones
> +<6>Linux agpgart interface v0.102 (c) Dave Jones
>  <6>agpgart: Detected an Intel i810 E Chipset.
>  <6>agpgart: detected 4MB dedicated video ram.
>  <6>agpgart: AGP aperture is 64M @ 0xf8000000
>  <4>ACPI: PCI Interrupt Link [LNKA] enabled at IRQ 9
>  <7>PCI: setting IRQ 9 as level-triggered
>  <6>ACPI: PCI Interrupt 0000:00:01.0[A] -> Link [LNKA] -> GSI 9 (level, low) -> IRQ 9
> -<4>i810-i2c: Probe DDC1 Bus
> -<4>i810fb_init_pci: DDC probe successful
> -<4>Console: switching to colour frame buffer device 160x64
> -<4>I810FB: fb0         : Intel(R) 810E Framebuffer Device v0.9.0
> -<4>I810FB: Video RAM   : 4096K
> -<4>I810FB: Monitor     : H: 30-83 KHz V: 55-75 Hz
> -<4>I810FB: Mode        : 1280x1024-8bpp@60Hz
> +<4>i810fb_alloc_fbmem: can't bind framebuffer memory
> +<4>i810fb: probe of 0000:00:01.0 failed with error -16
>  <6>Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled
>  <6>serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
>  <6>serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
> 
> Please let me know if you need more information.
> 

Don't know.  But I bet someone on the Cc does...

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

* Re: i810fb fails to load
  2007-01-15  0:22   ` Andrew Morton
@ 2007-01-22 13:42     ` Thomas Hellström
  2007-01-22 18:30       ` Tilman Schmidt
  2007-01-22 21:50       ` Dave Airlie
  0 siblings, 2 replies; 6+ messages in thread
From: Thomas Hellström @ 2007-01-22 13:42 UTC (permalink / raw)
  To: Tilman Schmidt
  Cc: Andrew Morton, linux-kernel, linux-fbdev-devel, Dave Airlie

[-- Attachment #1: Type: text/plain, Size: 2725 bytes --]

Andrew Morton wrote:
>> On Mon, 15 Jan 2007 00:52:36 +0100 Tilman Schmidt <tilman@imap.cc> wrote:
>> With kernel 2.6.20-rc4-mm1 and all hotfixes, i810fb fails to load on my
>> Dell Optiplex GX110. Here's an excerpt of the diff between the boot logs
>> of 2.6.20-rc5 (working) and 2.6.20-rc4-mm1 (non-working):
>>
>> @@ -4,7 +4,7 @@
>>  No module symbols loaded - kernel modules not enabled.
>>
>>  klogd 1.4.1, log source = ksyslog started.
>> -<5>Linux version 2.6.20-rc5-noinitrd (ts@gx110) (gcc version 4.0.2 20050901 (prerelease) (SUSE Linux)) #2 PREEMPT Sun Jan 14 23:37:12 CET 2007
>> +<5>Linux version 2.6.20-rc4-mm1-noinitrd (ts@gx110) (gcc version 4.0.2 20050901 (prerelease) (SUSE Linux)) #3 PREEMPT Sun Jan 14 21:08:56 CET 2007
>>  <6>BIOS-provided physical RAM map:
>>  <4>sanitize start
>>  <4>sanitize end
>> @@ -188,7 +192,6 @@
>>  <6>ACPI: Interpreter enabled
>>  <6>ACPI: Using PIC for interrupt routing
>>  <6>ACPI: PCI Root Bridge [PCI0] (0000:00)
>> -<7>PCI: Probing PCI hardware (bus 00)
>>  <6>ACPI: Assume root bridge [\_SB_.PCI0] bus is 0
>>  <7>Boot video device is 0000:00:01.0
>>  <4>PCI quirk: region 0800-087f claimed by ICH4 ACPI/GPIO/TCO
>> @@ -238,20 +241,15 @@
>>  <6>isapnp: No Plug & Play device found
>>  <6>Real Time Clock Driver v1.12ac
>>  <6>Intel 82802 RNG detected
>> -<6>Linux agpgart interface v0.101 (c) Dave Jones
>> +<6>Linux agpgart interface v0.102 (c) Dave Jones
>>  <6>agpgart: Detected an Intel i810 E Chipset.
>>  <6>agpgart: detected 4MB dedicated video ram.
>>  <6>agpgart: AGP aperture is 64M @ 0xf8000000
>>  <4>ACPI: PCI Interrupt Link [LNKA] enabled at IRQ 9
>>  <7>PCI: setting IRQ 9 as level-triggered
>>  <6>ACPI: PCI Interrupt 0000:00:01.0[A] -> Link [LNKA] -> GSI 9 (level, low) -> IRQ 9
>> -<4>i810-i2c: Probe DDC1 Bus
>> -<4>i810fb_init_pci: DDC probe successful
>> -<4>Console: switching to colour frame buffer device 160x64
>> -<4>I810FB: fb0         : Intel(R) 810E Framebuffer Device v0.9.0
>> -<4>I810FB: Video RAM   : 4096K
>> -<4>I810FB: Monitor     : H: 30-83 KHz V: 55-75 Hz
>> -<4>I810FB: Mode        : 1280x1024-8bpp@60Hz
>> +<4>i810fb_alloc_fbmem: can't bind framebuffer memory
>> +<4>i810fb: probe of 0000:00:01.0 failed with error -16
>>  <6>Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled
>>  <6>serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
>>  <6>serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
>>
>> Please let me know if you need more information.
>>
>>     
>
> Don't know.  But I bet someone on the Cc does...
>   
Tilman,
Thanks for reporting.
Can you try the attached patch to see if that fixes the problem.

Regards,
Thomas Hellström



[-- Attachment #2: i810fix.diff --]
[-- Type: text/x-patch, Size: 844 bytes --]

diff --git a/drivers/char/agp/generic.c b/drivers/char/agp/generic.c
index 91c1f36..6ef0960 100644
--- a/drivers/char/agp/generic.c
+++ b/drivers/char/agp/generic.c
@@ -190,6 +190,7 @@ struct agp_memory *agp_create_memory(int
 		return NULL;
 	}
 	new->num_scratch_pages = scratch_pages;
+	new->type = AGP_NORMAL_MEMORY;
 	return new;
 }
 EXPORT_SYMBOL(agp_create_memory);
diff --git a/drivers/char/agp/intel-agp.c b/drivers/char/agp/intel-agp.c
index b8896c8..5a0713c 100644
--- a/drivers/char/agp/intel-agp.c
+++ b/drivers/char/agp/intel-agp.c
@@ -260,6 +260,7 @@ static int intel_i810_insert_entries(str
 		readl(intel_i810_private.registers+I810_PTE_BASE+((i-1)*4));
 		break;
 	case AGP_PHYS_MEMORY:
+	case AGP_NORMAL_MEMORY:
 		if (!mem->is_flushed)
 			global_cache_flush();
 		for (i = 0, j = pg_start; i < mem->page_count; i++, j++) {

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

* Re: i810fb fails to load
  2007-01-22 13:42     ` i810fb fails to load Thomas Hellström
@ 2007-01-22 18:30       ` Tilman Schmidt
  2007-01-22 21:50       ` Dave Airlie
  1 sibling, 0 replies; 6+ messages in thread
From: Tilman Schmidt @ 2007-01-22 18:30 UTC (permalink / raw)
  To: Thomas Hellström
  Cc: Andrew Morton, linux-kernel, linux-fbdev-devel, Dave Airlie

[-- Attachment #1: Type: text/plain, Size: 1558 bytes --]

Am 22.01.2007 14:42 schrieb Thomas Hellström:
>>> On Mon, 15 Jan 2007 00:52:36 +0100 Tilman Schmidt <tilman@imap.cc> wrote:
>>> With kernel 2.6.20-rc4-mm1 and all hotfixes, i810fb fails to load on my
>>> Dell Optiplex GX110. [...]
>>   
> Can you try the attached patch to see if that fixes the problem.

Yes, that patch fixes it.

Thanks
Tilman

> ------------------------------------------------------------------------
> 
> diff --git a/drivers/char/agp/generic.c b/drivers/char/agp/generic.c
> index 91c1f36..6ef0960 100644
> --- a/drivers/char/agp/generic.c
> +++ b/drivers/char/agp/generic.c
> @@ -190,6 +190,7 @@ struct agp_memory *agp_create_memory(int
>  		return NULL;
>  	}
>  	new->num_scratch_pages = scratch_pages;
> +	new->type = AGP_NORMAL_MEMORY;
>  	return new;
>  }
>  EXPORT_SYMBOL(agp_create_memory);
> diff --git a/drivers/char/agp/intel-agp.c b/drivers/char/agp/intel-agp.c
> index b8896c8..5a0713c 100644
> --- a/drivers/char/agp/intel-agp.c
> +++ b/drivers/char/agp/intel-agp.c
> @@ -260,6 +260,7 @@ static int intel_i810_insert_entries(str
>  		readl(intel_i810_private.registers+I810_PTE_BASE+((i-1)*4));
>  		break;
>  	case AGP_PHYS_MEMORY:
> +	case AGP_NORMAL_MEMORY:
>  		if (!mem->is_flushed)
>  			global_cache_flush();
>  		for (i = 0, j = pg_start; i < mem->page_count; i++, j++) {

-- 
Tilman Schmidt                          E-Mail: tilman@imap.cc
Bonn, Germany
Diese Nachricht besteht zu 100% aus wiederverwerteten Bits.
Ungeöffnet mindestens haltbar bis: (siehe Rückseite)


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 253 bytes --]

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

* Re: i810fb fails to load
  2007-01-22 13:42     ` i810fb fails to load Thomas Hellström
  2007-01-22 18:30       ` Tilman Schmidt
@ 2007-01-22 21:50       ` Dave Airlie
  2007-01-23  8:10         ` Thomas Hellström
  1 sibling, 1 reply; 6+ messages in thread
From: Dave Airlie @ 2007-01-22 21:50 UTC (permalink / raw)
  To: Thomas Hellström
  Cc: Tilman Schmidt, Andrew Morton, linux-kernel, linux-fbdev-devel,
	Dave Airlie

> >>
> >>
> >
> > Don't know.  But I bet someone on the Cc does...
> >
> Tilman,
> Thanks for reporting.
> Can you try the attached patch to see if that fixes the problem.
>

Hi Thomas,

This also fixes X starting on old i810/5 hardware, I had noticed it
broken but hadn't had time to investigate it, this patch fixes it...

Dave.

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

* Re: i810fb fails to load
  2007-01-22 21:50       ` Dave Airlie
@ 2007-01-23  8:10         ` Thomas Hellström
  0 siblings, 0 replies; 6+ messages in thread
From: Thomas Hellström @ 2007-01-23  8:10 UTC (permalink / raw)
  To: Dave Airlie
  Cc: Andrew Morton, linux-fbdev-devel, Dave Airlie, Tilman Schmidt,
	linux-kernel

Dave Airlie wrote:
>> >>
>> >>
>> >
>> > Don't know.  But I bet someone on the Cc does...
>> >
>> Tilman,
>> Thanks for reporting.
>> Can you try the attached patch to see if that fixes the problem.
>>
>
> Hi Thomas,
>
> This also fixes X starting on old i810/5 hardware, I had noticed it
> broken but hadn't had time to investigate it, this patch fixes it...
>
> Dave.
Great.
The oldest hardware I have is an i915 which hampers me a bit.

/Thomas




-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

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

end of thread, other threads:[~2007-01-23  8:11 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20070111222627.66bb75ab.akpm@osdl.org>
2007-01-14 23:52 ` i810fb fails to load (was: 2.6.20-rc4-mm1) Tilman Schmidt
2007-01-15  0:22   ` Andrew Morton
2007-01-22 13:42     ` i810fb fails to load Thomas Hellström
2007-01-22 18:30       ` Tilman Schmidt
2007-01-22 21:50       ` Dave Airlie
2007-01-23  8:10         ` Thomas Hellström

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).