You are not logged in.

#1 2012-10-19 09:04:34

s4uliu5
Member
From: Lithuania
Registered: 2012-02-14
Posts: 25

[Solved] Blank screen after boot

Hi,

there is a problem.

On one particular host using kernel openvz-rhel6-stable-2.6.32-042stab059.7 boot starts normally, a lot of information
is displayed on the screen, until the moment when kernel switches video mode (I guess) after then screen
becomes blank.

Systems boot continues and everything works as expected, except I can not use console.

~ # lcpi
00:00.0 RAM memory: NVIDIA Corporation C51 Host Bridge (rev a2)
00:00.1 RAM memory: NVIDIA Corporation C51 Memory Controller 0 (rev a2)
00:00.2 RAM memory: NVIDIA Corporation C51 Memory Controller 1 (rev a2)
00:00.3 RAM memory: NVIDIA Corporation C51 Memory Controller 5 (rev a2)
00:00.4 RAM memory: NVIDIA Corporation C51 Memory Controller 4 (rev a2)
00:00.5 RAM memory: NVIDIA Corporation C51 Host Bridge (rev a2)
00:00.6 RAM memory: NVIDIA Corporation C51 Memory Controller 3 (rev a2)
00:00.7 RAM memory: NVIDIA Corporation C51 Memory Controller 2 (rev a2)
00:04.0 PCI bridge: NVIDIA Corporation C51 PCI Express Bridge (rev a1)
00:08.0 RAM memory: NVIDIA Corporation MCP55 Memory Controller (rev a1)
00:09.0 ISA bridge: NVIDIA Corporation MCP55 LPC Bridge (rev a2)
00:09.1 SMBus: NVIDIA Corporation MCP55 SMBus (rev a2)
00:09.2 RAM memory: NVIDIA Corporation MCP55 Memory Controller (rev a2)
00:0a.0 USB controller: NVIDIA Corporation MCP55 USB Controller (rev a1)
00:0a.1 USB controller: NVIDIA Corporation MCP55 USB Controller (rev a2)
00:0c.0 IDE interface: NVIDIA Corporation MCP55 IDE (rev a1)
00:0d.0 IDE interface: NVIDIA Corporation MCP55 SATA Controller (rev a2)
00:0d.1 IDE interface: NVIDIA Corporation MCP55 SATA Controller (rev a2)
00:0d.2 IDE interface: NVIDIA Corporation MCP55 SATA Controller (rev a2)
00:0e.0 PCI bridge: NVIDIA Corporation MCP55 PCI bridge (rev a2)
00:0e.1 Audio device: NVIDIA Corporation MCP55 High Definition Audio (rev a2)
00:10.0 Bridge: NVIDIA Corporation MCP55 Ethernet (rev a2)
00:11.0 Bridge: NVIDIA Corporation MCP55 Ethernet (rev a2)
00:16.0 PCI bridge: NVIDIA Corporation MCP55 PCI Express bridge (rev a2)
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
01:00.0 VGA compatible controller: NVIDIA Corporation G72 [GeForce 7300 LE] (rev a1)
02:0b.0 FireWire (IEEE 1394): Texas Instruments TSB43AB22A IEEE-1394a-2000 Controller (PHY/Link) [iOHCI-Lynx]
03:00.0 Mass storage controller: Silicon Image, Inc. SiI 3132 Serial ATA Raid II Controller (rev 01)

according /var/log/dmesg it seems that nouveau driver is used

[   19.216883] nvidiafb 0000:01:00.0: PCI INT A -> Link[APC5] -> GSI 16 (level, low) -> IRQ 16
[   19.218762] nvidiafb: Device ID: 10de01d1 
[   19.222305] nvidiafb: CRTC0 analog not found
[   19.226268] nvidiafb: CRTC1 analog found
...
[   19.810482] nvidiafb: CRTC 0 appears to have a CRT attached
[   19.810487] nvidiafb: Using CRT on CRTC 0
[   19.817678] vmap allocation for size 67112960 failed: use vmalloc=<size> to increase size.
[   19.821314] nvidiafb: cannot ioremap FB base
[   19.835823] ACPI: WMI: Mapper loaded
[   19.978781] [drm] Initialized drm 1.1.0 20060810
[   20.111716] VGA switcheroo: detected Optimus DSM method \ handle
[   20.111744] nouveau 0000:01:00.0: setting latency timer to 64
[   20.113095] [drm] nouveau 0000:01:00.0: Detected an NV40 generation card (0x046100a3)
[   20.114785] [drm] nouveau 0000:01:00.0: Attempting to load BIOS image from PRAMIN
[   20.192602] [drm] nouveau 0000:01:00.0: ... appears to be valid
[   20.192607] [drm] nouveau 0000:01:00.0: BIT BIOS found
[   20.192610] [drm] nouveau 0000:01:00.0: Bios version 05.72.22.43
[   20.192614] [drm] nouveau 0000:01:00.0: TMDS table version 1.1
[   20.192617] [drm] nouveau 0000:01:00.0: TMDS table script pointers not stubbed
[   20.192833] [drm] nouveau 0000:01:00.0: MXM: no VBIOS data, nothing to do
[   20.192839] [drm] nouveau 0000:01:00.0: DCB version 3.0
[   20.192843] [drm] nouveau 0000:01:00.0: DCB outp 00: 01000300 00000028
[   20.192847] [drm] nouveau 0000:01:00.0: DCB outp 01: 02011310 00000028
[   20.192850] [drm] nouveau 0000:01:00.0: DCB outp 02: 01000302 00000000
[   20.192853] [drm] nouveau 0000:01:00.0: DCB outp 03: 020223f1 00c0c030
[   20.192857] [drm] nouveau 0000:01:00.0: DCB conn 00: 0030
[   20.192860] [drm] nouveau 0000:01:00.0: DCB conn 01: 0100
[   20.192863] [drm] nouveau 0000:01:00.0: DCB conn 02: 0210
[   20.192866] [drm] nouveau 0000:01:00.0: DCB conn 03: 0211
[   20.192874] [drm] nouveau 0000:01:00.0: Parsing VBIOS init table 0 at offset 0xE0F0
[   20.192926] [drm] nouveau 0000:01:00.0: Parsing VBIOS init table 1 at offset 0xE41F
[   20.208157] [drm] nouveau 0000:01:00.0: Parsing VBIOS init table 2 at offset 0xE9BD
[   20.208177] [drm] nouveau 0000:01:00.0: Parsing VBIOS init table 3 at offset 0xEB38
[   20.209304] [drm] nouveau 0000:01:00.0: Parsing VBIOS init table 4 at offset 0xED91
[   20.228803] [drm] nouveau 0000:01:00.0: 1 available performance level(s)
[   20.228809] [drm] nouveau 0000:01:00.0: 0: core 450MHz shader 450MHz memory 532MHz fanspeed 100%
[   20.228817] [drm] nouveau 0000:01:00.0: c: core 199MHz memory 391MHz
...
[   20.229051] [drm] nouveau 0000:01:00.0: Detected 256MiB VRAM
[   20.234710] [drm] nouveau 0000:01:00.0: 512 MiB GART (aperture)
[   20.234854] [drm] nouveau 0000:01:00.0: Saving VGA fonts
[   20.293824] [drm] Supports vblank timestamp caching Rev 1 (10.10.2010).
[   20.293828] [drm] No driver support for vblank timestamp query.
[   20.294240] [drm] nouveau 0000:01:00.0: 0xD492: Parsing digital output script table
[   20.332423] ACPI: PCI Interrupt Link [AMC1] enabled at IRQ 20
[   20.332430] forcedeth 0000:00:11.0: PCI INT A -> Link[AMC1] -> GSI 20 (level, low) -> IRQ 20
[   20.332436] forcedeth 0000:00:11.0: setting latency timer to 64
[   20.332484] nv_probe: set workaround bit for reversed mac addr
[   20.344901] [drm] nouveau 0000:01:00.0: Setting dpms mode 3 on vga encoder (output 0)
[   20.344905] [drm] nouveau 0000:01:00.0: Setting dpms mode 3 on vga encoder (output 1)
[   20.344909] [drm] nouveau 0000:01:00.0: Setting dpms mode 3 on tmds encoder (output 2)
[   20.344913] [drm] nouveau 0000:01:00.0: Setting dpms mode 3 on TV encoder (output 3)
[   20.412602] [drm] nouveau 0000:01:00.0: allocated 1280x1024 fb: 0x49000, bo c2334800
[   20.412715] fbcon: nouveaufb (fb0) is primary device
[   20.424400] [drm] nouveau 0000:01:00.0: Setting dpms mode 0 on vga encoder (output 1)
[   20.424404] [drm] nouveau 0000:01:00.0: Output VGA-1 is running on CRTC 0 using output B
[   20.426676] Console: switching to colour frame buffer device 160x64
[   20.429067] fb0: nouveaufb frame buffer device
[   20.429070] drm: registered panic notifier
[   20.429074] [drm] Initialized nouveau 0.0.16 20090420 for 0000:01:00.0 on minor 0

Maybe anybody has any thought what could be wrong?

How disable video mode switching/auto detection?

Last edited by s4uliu5 (2013-04-25 11:17:53)

Offline

#2 2012-10-20 23:44:18

Juippisi
Member
From: /home
Registered: 2012-03-01
Posts: 51

Re: [Solved] Blank screen after boot

Well, could you show your /boot/grub/grub.cfg? I believe there is a line that enables framebuffer. Just take it off.

For reference, here is mine:

set timeout=3

menuentry "Funtoo Linux genkernel - kernel-genkernel-x86_64-3.6.2-freenow" {
  insmod part_msdos
  insmod ext2
  set root=(hd1,3)
  search --no-floppy --fs-uuid --set 674b7152-6aef-4b79-ab33-f41809ef8ee9
  linux /boot/kernel-genkernel-x86_64-3.6.2-freenow rootfstype=ext4 real_root=/dev/sdb3
  initrd /boot/initramfs-genkernel-x86_64-3.6.2-freenow
  set gfxpayload=keep
}

menuentry "Windows 7" {
  insmod part_msdos
  insmod ntfs
  set root=(hd1,1)
  search --no-floppy --fs-uuid --set f4b46766b46729f6
  chainloader +4
}
set default=0

EDIT: You can also build openvz kernel sources manually, and take framebuffer off from there.

Last edited by Juippisi (2012-10-20 23:45:18)

Offline

#3 2012-10-23 12:42:44

s4uliu5
Member
From: Lithuania
Registered: 2012-02-14
Posts: 25

Re: [Solved] Blank screen after boot

Hi,

thanks for replay.

/boot/grub/grub.cfg:

set timeout=3

menuentry "Funtoo Openvz RHEL6 - kernel-openvz-rhel6-stable-x86-2.6.32-042stab059.7" {
  insmod raid
  insmod mdraid
  insmod part_gpt
  insmod part_gpt
  insmod ext2
  set root=(md1)
  search --no-floppy --fs-uuid --set 0a14b840-1b25-47dc-8537-4ef6e866ade9
  linux /kernel-openvz-rhel6-stable-x86-2.6.32-042stab059.7 real_root=/dev/md4
  initrd /initramfs-openvz-rhel6-stable-x86-2.6.32-042stab059.7
  set gfxpayload=keep
}

menuentry "Funtoo Openvz RHEL6 (prev) - kernel-openvz-rhel6-stable-x86-2.6.32-042stab049.6" {
  insmod raid
  insmod mdraid
  insmod part_gpt
  insmod part_gpt
  insmod ext2
  set root=(md1)
  search --no-floppy --fs-uuid --set 0a14b840-1b25-47dc-8537-4ef6e866ade9
  linux /kernel-openvz-rhel6-stable-x86-2.6.32-042stab049.6 real_root=/dev/md4
  initrd /initramfs-openvz-rhel6-stable-x86-2.6.32-042stab049.6
  set gfxpayload=keep
}
set default=0

there are set gfxpayload=keep lines, in deed.

Kernel has been created with emerge (emerge -v sys-kernel/openvz-rhel6-stable).

/etc/boot.conf:

boot {
        generate grub
        default "Funtoo Openvz RHEL6"
        timeout 3
}

"Funtoo Openvz RHEL6" {
        kernel kernel-openvz-rhel6-stable-x86-2.6.32-042stab059.7
        initrd initramfs-openvz-rhel6-stable-x86-2.6.32-042stab059.7
        params += real_root=auto
}

"Funtoo Openvz RHEL6 (prev)" {
        kernel kernel-openvz-rhel6-stable-x86-2.6.32-042stab049.6
        initrd initramfs-openvz-rhel6-stable-x86-2.6.32-042stab049.6
        params += real_root=auto
}

I really do not want to manually compile kernel or edit /boot/grub/grub.conf file (which has been generate with  /sbin/boot-update).

Maybe there is a way how to disable framebuffer through /etc/boo.conf?

Offline

#4 2012-10-23 19:22:17

Juippisi
Member
From: /home
Registered: 2012-03-01
Posts: 51

Re: [Solved] Blank screen after boot

joonas@melody ~ $ cat /etc/boot.conf
boot {
	generate grub
	default "Funtoo Linux" 
	timeout 3 
}

"Funtoo Linux" {
	kernel bzImage[-v]
}

"Funtoo Linux genkernel" {
	kernel kernel[-v]
	initrd initramfs[-v]
	params += real_root=auto rootfstype=ext4
} 

"Windows 7" {
	type win7
	params root=/dev/sdb1
}       

Doesn't seem so.

Last edited by Juippisi (2012-10-23 19:23:53)

Offline

#5 2013-04-25 11:17:27

s4uliu5
Member
From: Lithuania
Registered: 2012-02-14
Posts: 25

Re: [Solved] Blank screen after boot

Problem resolved with new version of boot-update (http://bugs.funtoo.org/browse/FL-237).

Just added "gfxmod text"

Offline

Board footer

Powered by FluxBB