Gentoo Cannot Startx

Live forum: /viewtopic.php?t=30

TheDadMan

09-10-2004 17:59:13

I get the error:

Cannot run in framebuffer mode. Please specify busIDs for all framebuffer devices

Any help would be hot.

wolfie

09-10-2004 21:54:42

gonna need some more info, like what video card you using??

TheDadMan

09-10-2004 22:29:49

Ive got the Foxconn motherboard 400M01-G-6L mATX

Onboard Video: VIA UniChrome 2D/3D Graphics

Thanks for your help.

wolfie

10-10-2004 12:17:38

could you post what you have set for your USE="" in /etc/make.conf

TheDadMan

10-10-2004 13:35:12

I knew it was probably importanat, but I didn't know what to put there during the install.

My /etc/make.conf file doesn't contain any USE line.

wolfie

10-10-2004 14:46:05

Well, you really should have put some flags in there but none the less there are some defaults that it put in there for you.

well, hmm you could email me or paste it here on the forums your xfree or xorg log files and then let me see what your /boot/grub/grub.conf file looks like as well.

You will find the x logs in /var/log/Xorg.0.log or in /var/log/XFree86.0.log

Anonymous

10-10-2004 16:08:31

I cant find /boot/grub.conf ???

here is Xorg.0.log


Release Date: 18 December 2003
X Protocol Version 11, Revision 0, Release 6.7
Build Operating System: Linux 2.4.26-gentoo-r6 i686 [ELF]
Current Operating System: Linux tux 2.4.26-gentoo-r6 #1 Thu Oct 7 14:54:15 CDT 2004 i686
Build Date: 08 October 2004
Before reporting problems, check http://wiki.X.Org
to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Sun Oct 10 07:35:33 2004
(EE) Unable to locate/open config file
(II) Module ABI versions:
X.Org ANSI C Emulation: 0.2
X.Org Video Driver: 0.7
X.Org XInput driver : 0.4
X.Org Server Extension : 0.2
X.Org Font Renderer : 0.4
(II) Loader running on linux
(II) LoadModule: "bitmap"
(II) Loading /usr/X11R6/lib/modules/fonts/libbitmap.a
(II) Module bitmap: vendor="X.Org Foundation"
compiled for 6.7.0, module version = 1.0.0
Module class: X.Org Font Renderer
ABI class: X.Org Font Renderer, version 0.4
(II) Loading font Bitmap
(II) LoadModule: "pcidata"
(II) Loading /usr/X11R6/lib/modules/libpcidata.a
(II) Module pcidata: vendor="X.Org Foundation"
compiled for 6.7.0, module version = 1.0.0
ABI class: X.Org Video Driver, version 0.7
Using vt 7
(--) using VT number 7

(II) PCI: Probing config type using method 1
(II) PCI: Config type is 1
(II) PCI: stages = 0x03, oldVal1 = 0x00000000, mode1Res1 = 0x80000000
(II) PCI: PCI scan (all values are in hex)
(II) PCI: 00:00:0: chip 1106,3205 card 1106,3205 rev 00 class 06,00,00 hdr 00
(II) PCI: 00:01:0: chip 1106,b198 card 0000,0000 rev 00 class 06,04,00 hdr 01
(II) PCI: 00:10:0: chip 1106,3038 card 1106,3038 rev 80 class 0c,03,00 hdr 80
(II) PCI: 00:10:1: chip 1106,3038 card 1106,3038 rev 80 class 0c,03,00 hdr 80
(II) PCI: 00:10:2: chip 1106,3038 card 1106,3038 rev 80 class 0c,03,00 hdr 80
(II) PCI: 00:10:3: chip 1106,3104 card 1106,3104 rev 82 class 0c,03,20 hdr 00
(II) PCI: 00:11:0: chip 1106,3177 card 1106,3177 rev 00 class 06,01,00 hdr 80
(II) PCI: 00:11:1: chip 1106,0571 card 105b,0c18 rev 06 class 01,01,8a hdr 00
(II) PCI: 00:11:5: chip 1106,3059 card 105b,0c18 rev 50 class 04,01,00 hdr 00
(II) PCI: 00:12:0: chip 1106,3065 card 105b,0c18 rev 74 class 02,00,00 hdr 00
(II) PCI: 01:00:0: chip 1106,7205 card 105b,0c18 rev 01 class 03,00,00 hdr 00
(II) PCI: End of PCI scan
(II) Host-to-PCI bridge:
(II) Bus 0: bridge is at (0:0:0), (0,0,1), BCTRL: 0x0008 (VGA_EN is set)
(II) Bus 0 I/O range:
[0] -1 0 0x00000000 - 0x0000ffff (0x10000) IX
(II) Bus 0 non-prefetchable memory range:
[0] -1 0 0x00000000 - 0xffffffff (0x0) MX
(II) Bus 0 prefetchable memory range:
[0] -1 0 0x00000000 - 0xffffffff (0x0) MX
(II) PCI-to-PCI bridge:
(II) Bus 1: bridge is at (0:1:0), (0,1,1), BCTRL: 0x000c (VGA_EN is set)
(II) Bus 1 non-prefetchable memory range:
[0] -1 0 0xec000000 - 0xedffffff (0x2000000) MX
(II) Bus 1 prefetchable memory range:
[0] -1 0 0xe8000000 - 0xebffffff (0x4000000) MX
(II) PCI-to-ISA bridge:
(II) Bus -1: bridge is at (0:17:0), (0,-1,-1), BCTRL: 0x0008 (VGA_EN is set)
(--) PCI:*(1:0:0) unknown vendor (0x1106) unknown chipset (0x7205) rev 1, Mem @ 0xe8000000/26, 0xec000000/24
xf86AutoConfig: Primary PCI is 1:0:0
Running "/usr/X11R6/bin/getconfig -X 60700000 -I /etc/X11,/usr/X11R6/etc/X11,/usr/X11R6/lib/modules,/usr/X11R6/lib/X11/getconfig -v 0x1106 -d 0x7205 -r 0x01 -s 0x105b -b 0x0c18 -c 0x0300"
New driver is "via"
(==) Using default built-in configuration (53 lines)
(==) --- Start of built-in configuration ---
Section "Module"
Load "extmod"
Load "dbe"
Load "glx"
Load "freetype"
EndSection
Section "Monitor"
Identifier "Builtin Default Monitor"
Option "TargetRefresh" "75.0"
EndSection
Section "Device"
Identifier "Builtin Default via Device 0"
Driver "via"
EndSection
Section "Screen"
Identifier "Builtin Default via Screen 0"
Device "Builtin Default via Device 0"
Monitor "Builtin Default Monitor"
EndSection
Section "Device"
Identifier "Builtin Default fbdev Device 0"
Driver "fbdev"
EndSection
Section "Screen"
Identifier "Builtin Default fbdev Screen 0"
Device "Builtin Default fbdev Device 0"
Monitor "Builtin Default Monitor"
EndSection
Section "Device"
Identifier "Builtin Default vesa Device 0"
Driver "vesa"
EndSection
Section "Screen"
Identifier "Builtin Default vesa Screen 0"
Device "Builtin Default vesa Device 0"
Monitor "Builtin Default Monitor"
EndSection
Section "Device"
Identifier "Builtin Default vga Device 0"
Driver "vga"
EndSection
Section "Screen"
Identifier "Builtin Default vga Screen 0"
Device "Builtin Default vga Device 0"
Monitor "Builtin Default Monitor"
EndSection
Section "ServerLayout"
Identifier "Builtin Default Layout"
Screen "Builtin Default via Screen 0"
Screen "Builtin Default fbdev Screen 0"
Screen "Builtin Default vesa Screen 0"
Screen "Builtin Default vga Screen 0"
EndSection
(==) --- End of built-in configuration ---
(==) ServerLayout "Builtin Default Layout"
(**) |-->Screen "Builtin Default via Screen 0" (0)
(**) | |-->Monitor "Builtin Default Monitor"
(**) | |-->Device "Builtin Default via Device 0"
(**) |-->Screen "Builtin Default fbdev Screen 0" (1)
(**) | |-->Monitor "Builtin Default Monitor"
(**) | |-->Device "Builtin Default fbdev Device 0"
(**) |-->Screen "Builtin Default vesa Screen 0" (2)
(**) | |-->Monitor "Builtin Default Monitor"
(**) | |-->Device "Builtin Default vesa Device 0"
(**) |-->Screen "Builtin Default vga Screen 0" (3)
(**) | |-->Monitor "Builtin Default Monitor"
(**) | |-->Device "Builtin Default vga Device 0"
(==) |-->Input Device "<default pointer>"
(==) |-->Input Device "<default keyboard>"
(==) Keyboard: CustomKeycode disabled
(WW) The core pointer device wasn't specified explicitly in the layout.
Using the default mouse configuration.
(WW) The core keyboard device wasn't specified explicitly in the layout.
Using the default keyboard configuration.
(WW) No FontPath specified. Using compiled-in default.
(==) FontPath set to "/usr/share/fonts/misc/,/usr/share/fonts/TTF/,/usr/share/fonts/Speedo/,/usr/share/fonts/Type1/,/usr/share/fonts/CID/,/usr/share/fonts/75dpi/,/usr/share/fonts/100dpi/"
(==) RgbPath set to "/usr/X11R6/lib/X11/rgb"
(==) ModulePath set to "/usr/X11R6/lib/modules"
(WW) Open APM failed (/dev/apm_bios) (No such file or directory)
(II) Addressable bus resource ranges are
[0] -1 0 0x00000000 - 0xffffffff (0x0) MX
[1] -1 0 0x00000000 - 0x0000ffff (0x10000) IX
(II) OS-reported resource ranges:
[0] -1 0 0xffe00000 - 0xffffffff (0x200000) MX(B)
[1] -1 0 0x00100000 - 0x3fffffff (0x3ff00000) MXE(B)
[2] -1 0 0x000f0000 - 0x000fffff (0x10000) MX
[3] -1 0 0x000c0000 - 0x000effff (0x30000) MX
[4] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX
[5] -1 0 0x0000ffff - 0x0000ffff (0x1) IX
[6] -1 0 0x00000000 - 0x000000ff (0x100) IX
(II) PCI Memory resource overlap reduced 0xe4000000 from 0xe7ffffff to 0xe3ffffff
(II) Active PCI resource ranges:
[0] -1 0 0xee001000 - 0xee0010ff (0x100) MX
[1] -1 0 0xee000000 - 0xee0000ff (0x100) MX
[2] -1 0 0xe4000000 - 0xe3ffffff (0x0) MXO
[3] -1 0 0xec000000 - 0xecffffff (0x1000000) MX(B)
[4] -1 0 0xe8000000 - 0xebffffff (0x4000000) MX(B)
[5] -1 0 0x0000e400 - 0x0000e4ff (0x100) IX
[6] -1 0 0x0000e000 - 0x0000e0ff (0x100) IX
[7] -1 0 0x0000dc00 - 0x0000dc0f (0x10) IX
[8] -1 0 0x0000d800 - 0x0000d81f (0x20) IX
[9] -1 0 0x0000d400 - 0x0000d41f (0x20) IX
[10] -1 0 0x0000d000 - 0x0000d01f (0x20) IX
(II) Active PCI resource ranges after removing overlaps:
[0] -1 0 0xee001000 - 0xee0010ff (0x100) MX
[1] -1 0 0xee000000 - 0xee0000ff (0x100) MX
[2] -1 0 0xe4000000 - 0xe3ffffff (0x0) MXO
[3] -1 0 0xec000000 - 0xecffffff (0x1000000) MX(B)
[4] -1 0 0xe8000000 - 0xebffffff (0x4000000) MX(B)
[5] -1 0 0x0000e400 - 0x0000e4ff (0x100) IX
[6] -1 0 0x0000e000 - 0x0000e0ff (0x100) IX
[7] -1 0 0x0000dc00 - 0x0000dc0f (0x10) IX
[8] -1 0 0x0000d800 - 0x0000d81f (0x20) IX
[9] -1 0 0x0000d400 - 0x0000d41f (0x20) IX
[10] -1 0 0x0000d000 - 0x0000d01f (0x20) IX
(II) OS-reported resource ranges after removing overlaps with PCI:
[0] -1 0 0xffe00000 - 0xffffffff (0x200000) MX(B)
[1] -1 0 0x00100000 - 0x3fffffff (0x3ff00000) MXE(B)
[2] -1 0 0x000f0000 - 0x000fffff (0x10000) MX
[3] -1 0 0x000c0000 - 0x000effff (0x30000) MX
[4] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX
[5] -1 0 0x0000ffff - 0x0000ffff (0x1) IX
[6] -1 0 0x00000000 - 0x000000ff (0x100) IX
(II) All system resource ranges:
[0] -1 0 0xffe00000 - 0xffffffff (0x200000) MX(B)
[1] -1 0 0x00100000 - 0x3fffffff (0x3ff00000) MXE(B)
[2] -1 0 0x000f0000 - 0x000fffff (0x10000) MX
[3] -1 0 0x000c0000 - 0x000effff (0x30000) MX
[4] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX
[5] -1 0 0xee001000 - 0xee0010ff (0x100) MX
[6] -1 0 0xee000000 - 0xee0000ff (0x100) MX
[7] -1 0 0xe4000000 - 0xe3ffffff (0x0) MXO
[8] -1 0 0xec000000 - 0xecffffff (0x1000000) MX(B)
[9] -1 0 0xe8000000 - 0xebffffff (0x4000000) MX(B)
[10] -1 0 0x0000ffff - 0x0000ffff (0x1) IX
[11] -1 0 0x00000000 - 0x000000ff (0x100) IX
[12] -1 0 0x0000e400 - 0x0000e4ff (0x100) IX
[13] -1 0 0x0000e000 - 0x0000e0ff (0x100) IX
[14] -1 0 0x0000dc00 - 0x0000dc0f (0x10) IX
[15] -1 0 0x0000d800 - 0x0000d81f (0x20) IX
[16] -1 0 0x0000d400 - 0x0000d41f (0x20) IX
[17] -1 0 0x0000d000 - 0x0000d01f (0x20) IX
(II) LoadModule: "extmod"
(II) Loading /usr/X11R6/lib/modules/extensions/libextmod.a
(II) Module extmod: vendor="X.Org Foundation"
compiled for 6.7.0, module version = 1.0.0
Module class: X.Org Server Extension
ABI class: X.Org Server Extension, version 0.2
(II) Loading extension SHAPE
(II) Loading extension MIT-SUNDRY-NONSTANDARD
(II) Loading extension BIG-REQUESTS
(II) Loading extension SYNC
(II) Loading extension MIT-SCREEN-SAVER
(II) Loading extension XC-MISC
(II) Loading extension XFree86-VidModeExtension
(II) Loading extension XFree86-Misc
(II) Loading extension XFree86-DGA
(II) Loading extension DPMS
(II) Loading extension FontCache
(II) Loading extension TOG-CUP
(II) Loading extension Extended-Visual-Information
(II) Loading extension XVideo
(II) Loading extension XVideo-MotionCompensation
(II) Loading extension X-Resource
(II) LoadModule: "dbe"
(II) Loading /usr/X11R6/lib/modules/extensions/libdbe.a
(II) Module dbe: vendor="X.Org Foundation"
compiled for 6.7.0, module version = 1.0.0
Module class: X.Org Server Extension
ABI class: X.Org Server Extension, version 0.2
(II) Loading extension DOUBLE-BUFFER
(II) LoadModule: "glx"
(II) Loading /usr/X11R6/lib/modules/extensions/libglx.a
(II) Module glx: vendor="X.Org Foundation"
compiled for 6.7.0, module version = 1.0.0
ABI class: X.Org Server Extension, version 0.2
(II) Loading sub module "GLcore"
(II) LoadModule: "GLcore"
(II) Loading /usr/X11R6/lib/modules/extensions/libGLcore.a
(II) Module GLcore: vendor="X.Org Foundation"
compiled for 6.7.0, module version = 1.0.0
ABI class: X.Org Server Extension, version 0.2
(II) Loading extension GLX
(II) LoadModule: "freetype"
(II) Loading /usr/X11R6/lib/modules/fonts/libfreetype.so
(II) Module freetype: vendor="X.Org Foundation & the After X-TT Project"
compiled for 6.7.0, module version = 2.1.0
Module class: X.Org Font Renderer
ABI class: X.Org Font Renderer, version 0.4
(II) Loading font FreeType
(II) LoadModule: "via"
(II) Loading /usr/X11R6/lib/modules/drivers/via_drv.o
(II) Module via: vendor="X.Org Foundation"
compiled for 4.3.99.902, module version = 4.1.30
Module class: X.Org Video Driver
ABI class: X.Org Video Driver, version 0.7
(II) LoadModule: "fbdev"
(II) Loading /usr/X11R6/lib/modules/drivers/fbdev_drv.o
(II) Module fbdev: vendor="X.Org Foundation"
compiled for 6.7.0, module version = 0.1.0
ABI class: X.Org Video Driver, version 0.7
(II) LoadModule: "vesa"
(II) Loading /usr/X11R6/lib/modules/drivers/vesa_drv.o
(II) Module vesa: vendor="X.Org Foundation"
compiled for 6.7.0, module version = 1.0.0
Module class: X.Org Video Driver
ABI class: X.Org Video Driver, version 0.7
(II) LoadModule: "vga"
(II) Loading /usr/X11R6/lib/modules/drivers/vga_drv.o
(II) Module vga: vendor="X.Org Foundation"
compiled for 6.7.0, module version = 4.0.0
Module class: X.Org Video Driver
ABI class: X.Org Video Driver, version 0.7
(II) LoadModule: "mouse"
(II) Loading /usr/X11R6/lib/modules/input/mouse_drv.o
(II) Module mouse: vendor="X.Org Foundation"
compiled for 6.7.0, module version = 1.0.0
Module class: X.Org XInput Driver
ABI class: X.Org XInput driver, version 0.4
(II) via: driver for VIA chipsets: CLE266, KM400, K8M800
(II) FBDEV: driver for framebuffer: fbdev, afb
(II) VESA: driver for VESA chipsets: vesa
(II) VGA: Generic VGA driver (version 4.0) for chipsets: generic
(II) Primary Device is: PCI 01:00:0
(--) Assigning device section with no busID to primary device
(--) Chipset KM400 found
(II) resource ranges after xf86ClaimFixedResources() call:
[0] -1 0 0xffe00000 - 0xffffffff (0x200000) MX(B)
[1] -1 0 0x00100000 - 0x3fffffff (0x3ff00000) MXE(B)
[2] -1 0 0x000f0000 - 0x000fffff (0x10000) MX
[3] -1 0 0x000c0000 - 0x000effff (0x30000) MX
[4] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX
[5] -1 0 0xee001000 - 0xee0010ff (0x100) MX
[6] -1 0 0xee000000 - 0xee0000ff (0x100) MX
[7] -1 0 0xe4000000 - 0xe3ffffff (0x0) MXO
[8] -1 0 0xec000000 - 0xecffffff (0x1000000) MX(B)
[9] -1 0 0xe8000000 - 0xebffffff (0x4000000) MX(B)
[10] -1 0 0x0000ffff - 0x0000ffff (0x1) IX
[11] -1 0 0x00000000 - 0x000000ff (0x100) IX
[12] -1 0 0x0000e400 - 0x0000e4ff (0x100) IX
[13] -1 0 0x0000e000 - 0x0000e0ff (0x100) IX
[14] -1 0 0x0000dc00 - 0x0000dc0f (0x10) IX
[15] -1 0 0x0000d800 - 0x0000d81f (0x20) IX
[16] -1 0 0x0000d400 - 0x0000d41f (0x20) IX
[17] -1 0 0x0000d000 - 0x0000d01f (0x20) IX
(II) Loading sub module "fbdevhw"
(II) LoadModule: "fbdevhw"
(II) Loading /usr/X11R6/lib/modules/linux/libfbdevhw.a
(II) Module fbdevhw: vendor="X.Org Foundation"
compiled for 6.7.0, module version = 0.0.2
ABI class: X.Org Video Driver, version 0.7
(II) FBDEV(1): using default device
(--) Assigning device section with no busID to primary device
(--) Chipset vesa found
(--) Assigning device section with no busID to primary device
(--) Chipset generic found

Fatal server error:
Cannot run in framebuffer mode. Please specify busIDs for all framebuffer devices


Please consult the The X.Org Foundation support
at http://wiki.X.Org
for help.
Please also check the log file at "/var/log/Xorg.0.log" for additional information.

:?:

TheDadMan

10-10-2004 16:46:21

I thought I had created the grub.conf per the handbook.

So I created it again. with the extra vga parameter on the kernel line as follows:

default 0
timeout 30
splashimage=(hd0,0)/grub/splash.xpm.gz
title=Gentoo Linux 2.4.26-r6
root (hd0,0)
kernel /kernel-2.4.26-gentoo-r6 root=/dev/ram0 init=/linuxrc ramdisk=8192 vga=791
real_root=/dev/hda3
initrd /initrd-2.4.26-gentoo-r6


Thanks for your help.

TheDadMan

10-10-2004 17:19:24

I did get past the error by setting vga=0 in grub.

I had better figure out some video driver stuff..


Thanks for pointing me in the right direction.

wolfie

10-10-2004 18:40:45

If you followed the handbook you should have /boot/grub/grub.conf it just wasn't mounted at the time you looked :).

You should do mount /boot and then look at your grub.conf file.

You should be able to delete the file you created, by first doing umount /boot if boot is mounted and then rm /boot/grub/grub.conf :)

Hope this helps.

PS sounds like you might have problems with frame buffer support that is not compiled into some packages. You can fix the problem by adding "fbcon" to your USE flags and rebuilding "things" where "things" would be anything that you have built that has framebuffer support :)

You will have to use some of gentoo's package managers to determine this. Off the top of my head I don't know the commands, but I will look.

Anonymous

10-10-2004 18:54:41

Thanks for your help.

wolfie

11-10-2004 08:10:47

No problem glad to help.