2.6.33-rc3 -- Intel 945GME (inteldrmfb) -- Two Tux images displayed are side by side (should only show one).

Started by Miles Lane on Jan 6, 2010 · 12 messages from 5 authors · Last reply Jan 9, 2010

open the first message on its own page

Message details and related content
For a long time I have gotten two pictures of Tux showing up when I
include the Tux display option in my custom kernel builds.  I don't
know how many kernel revisions ago it was when I started noticing
this.  It seems like it might have been early in the 2.6 series
kernels.

dmesg:

Linux agpgart interface v0.103
agpgart-intel 0000:00:00.0: Intel 945GME Chipset
agpgart-intel 0000:00:00.0: detected 7932K stolen memory
agpgart-intel 0000:00:00.0: AGP aperture is 256M @ 0xd0000000
[drm] Initialized drm 1.1.0 20060810
i915 0000:00:02.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
i915 0000:00:02.0: setting latency timer to 64
[drm] set up 7M of stolen space
integrated sync not supported
ACPI: Battery Slot [BAT0] (battery present)
[drm] initialized overlay support
[drm] LVDS-8: set mode 1024x600 27
Console: switching to colour frame buffer device 128x37
fb0: inteldrmfb frame buffer device
registered panic notifier
[drm] Initialized i915 1.6.0 20080730 for 0000:00:02.0 on minor 0

# lspci -vvxxx -s 2.1

00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS/GME,
943/940GML Express Integrated Graphics Controller (rev 03)
	Subsystem: ASUSTeK Computer Inc. Device 8340
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR- FastB2B- DisINTx-
	Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSELúst >TAbort-
<TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0
	Region 0: Memory at f7f80000 (32-bit, non-prefetchable) [sizeQ2K]
	Capabilities: [d0] 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: 86 80 a6 27 07 00 90 00 03 00 80 03 00 00 80 00

59 more lines

Message details and related content
For a long time I have gotten two pictures of Tux showing up when I
include the Tux display option in my custom kernel builds.  I don't
know how many kernel revisions ago it was when I started noticing
this.  It seems like it might have been early in the 2.6 series
kernels.

dmesg:

Linux agpgart interface v0.103
agpgart-intel 0000:00:00.0: Intel 945GME Chipset
agpgart-intel 0000:00:00.0: detected 7932K stolen memory
agpgart-intel 0000:00:00.0: AGP aperture is 256M @ 0xd0000000
[drm] Initialized drm 1.1.0 20060810
i915 0000:00:02.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
i915 0000:00:02.0: setting latency timer to 64
[drm] set up 7M of stolen space
integrated sync not supported
ACPI: Battery Slot [BAT0] (battery present)
[drm] initialized overlay support
[drm] LVDS-8: set mode 1024x600 27
Console: switching to colour frame buffer device 128x37
fb0: inteldrmfb frame buffer device
registered panic notifier
[drm] Initialized i915 1.6.0 20080730 for 0000:00:02.0 on minor 0
# Graphics support
#
CONFIG_AGP=y
CONFIG_AGP_INTEL=y
CONFIG_VGA_ARB=y
CONFIG_DRM=y
CONFIG_DRM_KMS_HELPER=y
CONFIG_DRM_I915=y
CONFIG_DRM_I915_KMS=y
CONFIG_VIDEO_OUTPUT_CONTROL=y
CONFIG_FB=y
CONFIG_FIRMWARE_EDID=y
CONFIG_FB_BOOT_VESA_SUPPORT=y
CONFIG_FB_CFB_FILLRECT=y
CONFIG_FB_CFB_COPYAREA=y
CONFIG_FB_CFB_IMAGEBLIT=y
CONFIG_FB_MODE_HELPERS=y
CONFIG_FB_TILEBLITTING=y

# Frame buffer hardware drivers
#
CONFIG_FB_VESA=y
CONFIG_FB_EFI=y
Try disabling these two above options.
Message details and related content
On Wed, Jan 6, 2010 at 12:37 PM, James Simmons [off-list ref] wrote:
quoted
For a long time I have gotten two pictures of Tux showing up when I
include the Tux display option in my custom kernel builds.  I don't
know how many kernel revisions ago it was when I started noticing
this.  It seems like it might have been early in the 2.6 series
kernels.
[...]
quoted
# Frame buffer hardware drivers
#
CONFIG_FB_VESA=y
CONFIG_FB_EFI=y
Try disabling these two above options.
Well, that means that I don't get Tux at all.  The point is that only
one copy should be displayed.

      Miles
Message details and related content
On Wed, Jan 6, 2010 at 12:37 PM, James Simmons [off-list ref] wrote:
quoted
quoted
For a long time I have gotten two pictures of Tux showing up when I
include the Tux display option in my custom kernel builds.  I don't
know how many kernel revisions ago it was when I started noticing
this.  It seems like it might have been early in the 2.6 series
kernels.
[...]
quoted
quoted
# Frame buffer hardware drivers
#
CONFIG_FB_VESA=y
CONFIG_FB_EFI=y
Try disabling these two above options.
Well, that means that I don't get Tux at all.  The point is that only
one copy should be displayed.
I thought you had KMS enabled?? That provides a fbdev emulation layer.
Message details and related content
On Wed, 06 January 2010 Miles Lane [off-list ref] wrote:
For a long time I have gotten two pictures of Tux showing up when I
include the Tux display option in my custom kernel builds.  I don't
know how many kernel revisions ago it was when I started noticing
this.  It seems like it might have been early in the 2.6 series
kernels.
Unless your system has exactly one CPU without hyperthreading and with
exactly one core this is the correct bahavior, one tux per logical CPU.

If you just want a single tux you can run your kernel on a system with
only one logical CPU, boot it with maxcpus=1 or rebuild it with
CONFIG_SMP=n... though in those case you will not be able to benefit
from all of your CPU's resources..

Bruno
dmesg:

Linux agpgart interface v0.103
agpgart-intel 0000:00:00.0: Intel 945GME Chipset
agpgart-intel 0000:00:00.0: detected 7932K stolen memory
agpgart-intel 0000:00:00.0: AGP aperture is 256M @ 0xd0000000
[drm] Initialized drm 1.1.0 20060810
i915 0000:00:02.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
i915 0000:00:02.0: setting latency timer to 64
[drm] set up 7M of stolen space
integrated sync not supported
ACPI: Battery Slot [BAT0] (battery present)
[drm] initialized overlay support
[drm] LVDS-8: set mode 1024x600 27
Console: switching to colour frame buffer device 128x37
fb0: inteldrmfb frame buffer device
registered panic notifier
[drm] Initialized i915 1.6.0 20080730 for 0000:00:02.0 on minor 0

# lspci -vvxxx -s 2.1

00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS/GME,
943/940GML Express Integrated Graphics Controller (rev 03)
	Subsystem: ASUSTeK Computer Inc. Device 8340
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSELúst >TAbort-
<TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0
	Region 0: Memory at f7f80000 (32-bit, non-prefetchable)
[sizeQ2K] Capabilities: [d0] 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: 86 80 a6 27 07 00 90 00 03 00 80 03 00 00 80 00
10: 00 00 f8 f7 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 43 10 40 83
30: 00 00 00 00 d0 00 00 00 00 00 00 00 00 00 00 00
40: 00 00 00 00 48 00 00 00 09 00 09 71 23 25 4a a1
50: 0e 00 30 00 1b 00 00 00 00 00 00 00 00 00 80 7f
60: 00 00 02 00 00 00 00 00 00 00 00 00 00 00 00 00

53 more quoted lines

Message details and related content
On Wed, Jan 6, 2010 at 12:59 PM, Bruno Prémont
[off-list ref] wrote:
On Wed, 06 January 2010 Miles Lane [off-list ref] wrote:
quoted
For a long time I have gotten two pictures of Tux showing up when I
include the Tux display option in my custom kernel builds.  I don't
know how many kernel revisions ago it was when I started noticing
this.  It seems like it might have been early in the 2.6 series
kernels.
Unless your system has exactly one CPU without hyperthreading and with
exactly one core this is the correct bahavior, one tux per logical CPU.

If you just want a single tux you can run your kernel on a system with
only one logical CPU, boot it with maxcpus=1 or rebuild it with
CONFIG_SMP=n... though in those case you will not be able to benefit
from all of your CPU's resources..

Bruno
Oh!  Well, that explains it.  That is truly weird functionality.  Is
Tux a de facto
CPU presence indicator?  It doesn't make any sense to me, if so.

         Miles
Message details and related content
On Wed, Jan 6, 2010 at 12:48 PM, James Simmons [off-list ref] wrote:
quoted
On Wed, Jan 6, 2010 at 12:37 PM, James Simmons [off-list ref] wrote:
quoted
quoted
For a long time I have gotten two pictures of Tux showing up when I
include the Tux display option in my custom kernel builds.  I don't
know how many kernel revisions ago it was when I started noticing
this.  It seems like it might have been early in the 2.6 series
kernels.
[...]
quoted
quoted
# Frame buffer hardware drivers
#
CONFIG_FB_VESA=y
CONFIG_FB_EFI=y
Try disabling these two above options.
Okay.  I disabled those two options and still get the two Tuxes.  I
gues Bruno's message is correct, and I get two Tuxes because I have an
Atom processor with two cores.

               Miles
Message details and related content
On Wed, Jan 6, 2010 at 1:07 PM, Peter Zijlstra [off-list ref] wrote:
On Wed, 2010-01-06 at 12:16 -0500, Miles Lane wrote:
quoted
For a long time I have gotten two pictures of Tux showing up when I
include the Tux display option in my custom kernel builds.
Doesn't it show one for each cpu in the system?
Apparently so.  And, why this should be true is beyond me.
Message details and related content
On Wed, 2010-01-06 at 13:10 -0500, Miles Lane wrote:
On Wed, Jan 6, 2010 at 1:07 PM, Peter Zijlstra [off-list ref] wrote:
quoted
On Wed, 2010-01-06 at 12:16 -0500, Miles Lane wrote:
quoted
For a long time I have gotten two pictures of Tux showing up when I
include the Tux display option in my custom kernel builds.
Doesn't it show one for each cpu in the system?
Apparently so.  And, why this should be true is beyond me.
drivers/video/fbmem.c:

int fb_show_logo(struct fb_info *info, int rotate)
{
        int y;

        y = fb_show_logo_line(info, rotate, fb_logo.logo, 0,
                              num_online_cpus());
        y = fb_show_extra_logos(info, y, rotate);

        return y;
}


I guess its just a cute way of showing off how many cpus you've got ;-)
Message details and related content
On Wed, Jan 6, 2010 at 1:07 PM, Peter Zijlstra [off-list ref] wrote:
On Wed, 2010-01-06 at 12:16 -0500, Miles Lane wrote:
quoted
For a long time I have gotten two pictures of Tux showing up when I
include the Tux display option in my custom kernel builds.
Doesn't it show one for each cpu in the system?
I know this is cosmetic, but could we change this behavior and just
show one Tux on all systems?  As a software tester, this just looks
like a bug.  Alternatively, let's put labels under the Tux images
showing "CPU (N)", "CPU (N+1)", ....

This seems like a much better way to know the state of your CPUs:

# cat /proc/cpuinfo
processor	: 0
vendor_id	: GenuineIntel
cpu family	: 6
model		: 28
model name	: Intel(R) Atom(TM) CPU N280   @ 1.66GHz
stepping	: 2
cpu MHz		: 1667.000
cache size	: 512 KB
physical id	: 0
siblings	: 2
core id		: 0
cpu cores	: 1
apicid		: 0
initial apicid	: 0
fdiv_bug	: no
hlt_bug		: no
f00f_bug	: no
coma_bug	: no
fpu		: yes
fpu_exception	: yes
cpuid level	: 10
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov
pat clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx constant_tsc
arch_perfmon pebs bts aperfmperf pni dtes64 monitor ds_cpl est tm2
ssse3 xtpr pdcm movbe lahf_lm
bogomips	: 3325.27
clflush size	: 64
cache_alignment	: 64
address sizes	: 32 bits physical, 32 bits virtual
power management:

69 more lines

Message details and related content
On Wed 2010-01-06 13:35:59, Miles Lane wrote:
On Wed, Jan 6, 2010 at 1:07 PM, Peter Zijlstra [off-list ref] wrote:
quoted
On Wed, 2010-01-06 at 12:16 -0500, Miles Lane wrote:
quoted
For a long time I have gotten two pictures of Tux showing up when I
include the Tux display option in my custom kernel builds.
Doesn't it show one for each cpu in the system?
I know this is cosmetic, but could we change this behavior and just
show one Tux on all systems?  As a software tester, this just looks
Its well-known joke by now. Please keep it.

-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help