X does not start: /dev/fb0: No such file or directory

Linux Kernel, Network, and Services configuration.
Post Reply
Message
Author
tomlan
Posts: 5
Joined: 2010-01-17 20:07
Location: Germany

X does not start: /dev/fb0: No such file or directory

#1 Post by tomlan »

Hi!
I installed a few week ago Debian Lenny. Then I upgraded to Debian Sqeeze and all worked fine but after few days X failed to start with the error:

Code: Select all

(EE) open dev/fb0: No such file or directory
/usr/bin/X symbol lookup error: /usr/bin/X: undefined symbol: pixman_tramsform_init_identity
I couldnt fix it so i reinstalled the system but this time directly Debian Sqeeze.
This time too, all worked fine 2 or 3 weeks. After the last routine update X wont start anymore with the same error: dev/fb0: No such file or directory
I tried this solution: http://www.linuxquestions.org/questions ... ry-359219/ and added this "vesafb:mtrr,ywrap vga=0x318" in the file /boot/grub/menu.lst to the line kernel:

Code: Select all

kernel /vmlinuz-2.6.30-2-686 root=/dev/sda6 ro quiet vesafb:mtrr,ywrap vga=0x318 
Now X does not claim anymore about /dev/fb0 but wont to start anyway. In the log file there are not errors.
The only warning are:

Code: Select all

...
(--) NV: found NVIDIA GeForce 8400 GS at 01@00:00:0
(WW) Falling back to old probe method for vesa
(WW) ) Falling back to old probe method for fbdev
(II) Loading sub module "fbdevhw"
....
The file xorg.conf is not there.
Video device is NVIDIA GeForce 8400 GS.

Thanks for your help!

User avatar
craigevil
Posts: 5381
Joined: 2006-09-17 03:17
Location: heaven
Has thanked: 27 times
Been thanked: 36 times

Re: X does not start: /dev/fb0: No such file or directory

#2 Post by craigevil »

Install the nvidia driver
NvidiaGraphicsDrivers - Debian Wiki - http://wiki.debian.org/NvidiaGraphicsDrivers
Raspberry PI 400 Distro: Raspberry Pi OS Base: Debian Sid Kernel: 5.15.69-v8+ aarch64 DE: MATE Ram 4GB
Debian - "If you can't apt install something, it isn't useful or doesn't exist"
My Giant Sources.list

tomlan
Posts: 5
Joined: 2010-01-17 20:07
Location: Germany

Re: X does not start: /dev/fb0: No such file or directory

#3 Post by tomlan »

thanks for your replay.
I tried to install the nvidia drivers, but for my kernel (2.6.30.2.686) there is not a pre build package and both build methodes described in the document you linked failed (m-a auto-install and debian/rules binary_modules).

So I installed the official nvidia driver 190.53. Its right for my video card? (GeForce 8400 GS).
X starts but hangs by the login window. Schould I try another version?

idella4
Posts: 30
Joined: 2010-01-15 06:49

Re: X does not start: /dev/fb0: No such file or directory

#4 Post by idella4 »

You ought post that Xorg.0.log to be perused.
The file xorg.conf is not there. ??? There isn't one??
Need to post that too. If your relying on using the nvidia driver, then you don't need the famebuffer device.
Whether these are made is determined in the kernel config,

Device Drivers --->
Graphics support --->
<*> Support for frame buffer devices --->
< > nVidia Framebuffer Support │ │ options for nvidia frame buffer devices.
│ │ < > nVidia Riva support

You can select [*] VESA VGA graphics support

to get the vesa driver as ab alternative. You kind of need an xorg.conf to set your driver coice.
X starts but hangs by the login window.
Need that log. Do you get the nvidia spash screen appear? Need to see what's loading.
If the driver is ok, then could be xorg server issue.

tomlan
Posts: 5
Joined: 2010-01-17 20:07
Location: Germany

Re: X does not start: /dev/fb0: No such file or directory

#5 Post by tomlan »

xorg.onf was generated by the nvidia installer:

Code: Select all

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
EndSection

Section "Files"
EndSection

Section "InputDevice"

    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"

    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "Monitor"

    #HorizSync       28.0 - 33.0
    #VertRefresh     43.0 - 72.0
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Unknown"
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection
and this is the Xorg.0.log

Code: Select all

X.Org X Server 1.6.5
Release Date: 2009-10-11
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.30.8-dsa-ia32 i686 Debian
Current Operating System: Linux tommaso-laptop 2.6.30-2-686 #1 SMP Fri Dec 4 00:53:20 UTC 2009 i686
Build Date: 13 October 2009  11:25:51AM
xorg-server 2:1.6.5-1 (buildd@murphy.debian.org) 
	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
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: Fri Jan 29 21:14:57 2010
(==) Using config file: "/etc/X11/xorg.conf"
(==) ServerLayout "Layout0"
(**) |-->Screen "Screen0" (0)
(**) |   |-->Monitor "Monitor0"
(**) |   |-->Device "Device0"
(**) |-->Input Device "Keyboard0"
(**) |-->Input Device "Mouse0"
(==) Automatically adding devices
(==) Automatically enabling devices
(WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
	Entry deleted from font path.
(==) FontPath set to:
	/usr/share/fonts/X11/misc,
	/usr/share/fonts/X11/100dpi/:unscaled,
	/usr/share/fonts/X11/75dpi/:unscaled,
	/usr/share/fonts/X11/Type1,
	/usr/share/fonts/X11/100dpi,
	/usr/share/fonts/X11/75dpi,
	/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType,
	built-ins
(==) ModulePath set to "/usr/lib/xorg/modules"
(WW) AllowEmptyInput is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
(WW) Disabling Keyboard0
(WW) Disabling Mouse0
(II) Loader magic: 0x6c0
(II) Module ABI versions:
	X.Org ANSI C Emulation: 0.4
	X.Org Video Driver: 5.0
	X.Org XInput driver : 4.0
	X.Org Server Extension : 2.0
(II) Loader running on linux
(++) using VT number 7

(--) PCI:*(0:1:0:0) 10de:0427:1028:01f1 nVidia Corporation G86 [GeForce 8400M GS] rev 161, Mem @ 0xfd000000/16777216, 0xf4000000/67108864, 0xfa000000/33554432, I/O @ 0x0000ef00/128, BIOS @ 0x????????/131072
(II) Open ACPI successful (/var/run/acpid.socket)
(II) System resource ranges:
	[0] -1	0	0xffffffff - 0xffffffff (0x1) MX[B]
	[1] -1	0	0x000f0000 - 0x000fffff (0x10000) MX[B]
	[2] -1	0	0x000c0000 - 0x000effff (0x30000) MX[B]
	[3] -1	0	0x00000000 - 0x0009ffff (0xa0000) MX[B]
	[4] -1	0	0x0000ffff - 0x0000ffff (0x1) IX[B]
	[5] -1	0	0x00000000 - 0x00000000 (0x1) IX[B]
(II) LoadModule: "extmod"
(II) Loading /usr/lib/xorg/modules/extensions//libextmod.so
(II) Module extmod: vendor="X.Org Foundation"
	compiled for 1.6.5, module version = 1.0.0
	Module class: X.Org Server Extension
	ABI class: X.Org Server Extension, version 2.0
(II) Loading extension SELinux
(II) Loading extension MIT-SCREEN-SAVER
(II) Loading extension XFree86-VidModeExtension
(II) Loading extension XFree86-DGA
(II) Loading extension DPMS
(II) Loading extension XVideo
(II) Loading extension XVideo-MotionCompensation
(II) Loading extension X-Resource
(II) LoadModule: "dbe"
(II) Loading /usr/lib/xorg/modules/extensions//libdbe.so
(II) Module dbe: vendor="X.Org Foundation"
	compiled for 1.6.5, module version = 1.0.0
	Module class: X.Org Server Extension
	ABI class: X.Org Server Extension, version 2.0
(II) Loading extension DOUBLE-BUFFER
(II) LoadModule: "glx"
(II) Loading /usr/lib/xorg/modules/extensions//libglx.so
(II) Module glx: vendor="NVIDIA Corporation"
	compiled for 4.0.2, module version = 1.0.0
	Module class: X.Org Server Extension
(II) NVIDIA GLX Module  190.53  Tue Dec  8 20:47:42 PST 2009
(II) Loading extension GLX
(II) LoadModule: "record"
(II) Loading /usr/lib/xorg/modules/extensions//librecord.so
(II) Module record: vendor="X.Org Foundation"
	compiled for 1.6.5, module version = 1.13.0
	Module class: X.Org Server Extension
	ABI class: X.Org Server Extension, version 2.0
(II) Loading extension RECORD
(II) LoadModule: "dri"
(II) Loading /usr/lib/xorg/modules/extensions//libdri.so
(II) Module dri: vendor="X.Org Foundation"
	compiled for 1.6.5, module version = 1.0.0
	ABI class: X.Org Server Extension, version 2.0
(II) Loading extension XFree86-DRI
(II) LoadModule: "dri2"
(II) Loading /usr/lib/xorg/modules/extensions//libdri2.so
(II) Module dri2: vendor="X.Org Foundation"
	compiled for 1.6.5, module version = 1.1.0
	ABI class: X.Org Server Extension, version 2.0
(II) Loading extension DRI2
(II) LoadModule: "nvidia"
(II) Loading /usr/lib/xorg/modules/drivers//nvidia_drv.so
(II) Module nvidia: vendor="NVIDIA Corporation"
	compiled for 4.0.2, module version = 1.0.0
	Module class: X.Org Video Driver
(II) NVIDIA dlloader X Driver  190.53  Tue Dec  8 19:16:02 PST 2009
(II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
(II) Primary Device is: PCI 01@00:00:0
(II) Loading sub module "fb"
(II) LoadModule: "fb"
(II) Loading /usr/lib/xorg/modules//libfb.so
(II) Module fb: vendor="X.Org Foundation"
	compiled for 1.6.5, module version = 1.0.0
	ABI class: X.Org ANSI C Emulation, version 0.4
(II) Loading sub module "wfb"
(II) LoadModule: "wfb"
(II) Loading /usr/lib/xorg/modules//libwfb.so
(II) Module wfb: vendor="X.Org Foundation"
	compiled for 1.6.5, module version = 1.0.0
	ABI class: X.Org ANSI C Emulation, version 0.4
(II) Loading sub module "ramdac"
(II) LoadModule: "ramdac"
(II) Module "ramdac" already built-in
(II) resource ranges after probing:
	[0] -1	0	0xffffffff - 0xffffffff (0x1) MX[B]
	[1] -1	0	0x000f0000 - 0x000fffff (0x10000) MX[B]
	[2] -1	0	0x000c0000 - 0x000effff (0x30000) MX[B]
	[3] -1	0	0x00000000 - 0x0009ffff (0xa0000) MX[B]
	[4] -1	0	0x0000ffff - 0x0000ffff (0x1) IX[B]
	[5] -1	0	0x00000000 - 0x00000000 (0x1) IX[B]
(**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32
(==) NVIDIA(0): RGB weight 888
(==) NVIDIA(0): Default visual is TrueColor
(==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
(**) Jan 29 21:15:01 NVIDIA(0): Enabling RENDER acceleration
(II) Jan 29 21:15:01 NVIDIA(0): Support for GLX with the Damage and Composite X extensions is
(II) Jan 29 21:15:01 NVIDIA(0):     enabled.
(II) Jan 29 21:15:02 NVIDIA(0): NVIDIA GPU GeForce 8400M GS (G86M) at PCI:1:0:0 (GPU-0)
(--) Jan 29 21:15:02 NVIDIA(0): Memory: 262144 kBytes
(--) Jan 29 21:15:02 NVIDIA(0): VideoBIOS: 60.86.42.00.34
(II) Jan 29 21:15:02 NVIDIA(0): Detected PCI Express Link width: 16X
(--) Jan 29 21:15:02 NVIDIA(0): Interlaced video modes are supported on this GPU
(--) Jan 29 21:15:02 NVIDIA(0): Connected display device(s) on GeForce 8400M GS at PCI:1:0:0:
(--) Jan 29 21:15:02 NVIDIA(0):     Seiko (DFP-0)
(--) Jan 29 21:15:02 NVIDIA(0): Seiko (DFP-0): 330.0 MHz maximum pixel clock
(--) Jan 29 21:15:02 NVIDIA(0): Seiko (DFP-0): Internal Dual Link LVDS
(II) Jan 29 21:15:03 NVIDIA(0): Assigned Display Device: DFP-0
(==) Jan 29 21:15:03 NVIDIA(0): 
(==) Jan 29 21:15:03 NVIDIA(0): No modes were requested; the default mode "nvidia-auto-select"
(==) Jan 29 21:15:03 NVIDIA(0):     will be used as the requested mode.
(==) Jan 29 21:15:03 NVIDIA(0): 
(II) Jan 29 21:15:03 NVIDIA(0): Validated modes:
(II) Jan 29 21:15:03 NVIDIA(0):     "nvidia-auto-select"
(II) Jan 29 21:15:03 NVIDIA(0): Virtual screen size determined to be 1280 x 800
(--) Jan 29 21:15:04 NVIDIA(0): DPI set to (98, 96); computed from "UseEdidDpi" X config
(--) Jan 29 21:15:04 NVIDIA(0):     option
(==) Jan 29 21:15:04 NVIDIA(0): Enabling 32-bit ARGB GLX visuals.
(--) Depth 24 pixmap format is 32 bpp
(II) do I need RAC?  No, I don't.
(II) resource ranges after preInit:
	[0] -1	0	0xffffffff - 0xffffffff (0x1) MX[B]
	[1] -1	0	0x000f0000 - 0x000fffff (0x10000) MX[B]
	[2] -1	0	0x000c0000 - 0x000effff (0x30000) MX[B]
	[3] -1	0	0x00000000 - 0x0009ffff (0xa0000) MX[B]
	[4] -1	0	0x0000ffff - 0x0000ffff (0x1) IX[B]
	[5] -1	0	0x00000000 - 0x00000000 (0x1) IX[B]
(II) Jan 29 21:15:04 NVIDIA(0): Initialized GPU GART.
(II) Jan 29 21:15:04 NVIDIA(0): ACPI display change hotkey events enabled: the X server is new
(II) Jan 29 21:15:04 NVIDIA(0):     enough to receive ACPI display change hotkey events.
(II) Jan 29 21:15:04 NVIDIA(0): Setting mode "nvidia-auto-select"
(II) Loading extension NV-GLX
(II) Jan 29 21:15:04 NVIDIA(0): Initialized OpenGL Acceleration
(==) NVIDIA(0): Disabling shared memory pixmaps
(II) Jan 29 21:15:04 NVIDIA(0): Initialized X Rendering Acceleration
(==) NVIDIA(0): Backing store disabled
(==) NVIDIA(0): Silken mouse enabled
(**) Option "dpms"
(**) NVIDIA(0): DPMS enabled
(II) Loading extension NV-CONTROL
(II) Loading extension XINERAMA
(==) RandR enabled
(II) Initializing built-in extension Generic Event Extension
(II) Initializing built-in extension SHAPE
(II) Initializing built-in extension MIT-SHM
(II) Initializing built-in extension XInputExtension
(II) Initializing built-in extension XTEST
(II) Initializing built-in extension BIG-REQUESTS
(II) Initializing built-in extension SYNC
(II) Initializing built-in extension XKEYBOARD
(II) Initializing built-in extension XC-MISC
(II) Initializing built-in extension XINERAMA
(II) Initializing built-in extension XFIXES
(II) Initializing built-in extension RENDER
(II) Initializing built-in extension RANDR
(II) Initializing built-in extension COMPOSITE
(II) Initializing built-in extension DAMAGE
SELinux: Disabled on system, not enabling in X server
(II) Initializing extension GLX
(II) config/hal: Adding input device ACPI Virtual Keyboard Device
(II) LoadModule: "evdev"
(II) Loading /usr/lib/xorg/modules/input//evdev_drv.so
(II) Module evdev: vendor="X.Org Foundation"
	compiled for 1.6.3, module version = 2.2.5
	Module class: X.Org XInput Driver
	ABI class: X.Org XInput driver, version 4.0
(**) ACPI Virtual Keyboard Device: always reports core events
(**) ACPI Virtual Keyboard Device: Device: "/dev/input/event11"
(II) ACPI Virtual Keyboard Device: Found keys
(II) ACPI Virtual Keyboard Device: Configuring as keyboard
(II) XINPUT: Adding extended input device "ACPI Virtual Keyboard Device" (type: KEYBOARD)
(**) Option "xkb_rules" "evdev"
(**) Option "xkb_model" "pc105"
(**) Option "xkb_layout" "de"
(**) Option "xkb_variant" "nodeadkeys"
(II) config/hal: Adding input device AT Translated Set 2 keyboard
(**) AT Translated Set 2 keyboard: always reports core events
(**) AT Translated Set 2 keyboard: Device: "/dev/input/event0"
(II) AT Translated Set 2 keyboard: Found keys
(II) AT Translated Set 2 keyboard: Configuring as keyboard
(II) XINPUT: Adding extended input device "AT Translated Set 2 keyboard" (type: KEYBOARD)
(**) Option "xkb_rules" "evdev"
(**) Option "xkb_model" "pc105"
(**) Option "xkb_layout" "de"
(**) Option "xkb_variant" "nodeadkeys"
(II) config/hal: Adding input device Sleep Button
(**) Sleep Button: always reports core events
(**) Sleep Button: Device: "/dev/input/event4"
(II) Sleep Button: Found keys
(II) Sleep Button: Configuring as keyboard
(II) XINPUT: Adding extended input device "Sleep Button" (type: KEYBOARD)
(**) Option "xkb_rules" "evdev"
(**) Option "xkb_model" "pc105"
(**) Option "xkb_layout" "de"
(**) Option "xkb_variant" "nodeadkeys"
(II) config/hal: Adding input device Power Button
(**) Power Button: always reports core events
(**) Power Button: Device: "/dev/input/event3"
(II) Power Button: Found keys
(II) Power Button: Configuring as keyboard
(II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD)
(**) Option "xkb_rules" "evdev"
(**) Option "xkb_model" "pc105"
(**) Option "xkb_layout" "de"
(**) Option "xkb_variant" "nodeadkeys"
(II) config/hal: Adding input device Video Bus
(**) Video Bus: always reports core events
(**) Video Bus: Device: "/dev/input/event1"
(II) Video Bus: Found keys
(II) Video Bus: Configuring as keyboard
(II) XINPUT: Adding extended input device "Video Bus" (type: KEYBOARD)
(**) Option "xkb_rules" "evdev"
(**) Option "xkb_model" "pc105"
(**) Option "xkb_layout" "de"
(**) Option "xkb_variant" "nodeadkeys"
(II) config/hal: Adding input device Broadcom Corp
(**) Broadcom Corp: always reports core events
(**) Broadcom Corp: Device: "/dev/input/event6"
(II) Broadcom Corp: Found keys
(II) Broadcom Corp: Configuring as keyboard
(II) XINPUT: Adding extended input device "Broadcom Corp" (type: KEYBOARD)
(**) Option "xkb_rules" "evdev"
(**) Option "xkb_model" "pc105"
(**) Option "xkb_layout" "de"
(**) Option "xkb_variant" "nodeadkeys"
(II) config/hal: Adding input device SynPS/2 Synaptics TouchPad
(II) LoadModule: "synaptics"
(II) Loading /usr/lib/xorg/modules/input//synaptics_drv.so
(II) Module synaptics: vendor="X.Org Foundation"
	compiled for 1.6.5, module version = 1.2.0
	Module class: X.Org XInput Driver
	ABI class: X.Org XInput driver, version 4.0
(II) Synaptics touchpad driver version 1.2.0
(**) Option "Device" "/dev/input/event5"
(II) SynPS/2 Synaptics TouchPad: x-axis range 1472 - 5472
(II) SynPS/2 Synaptics TouchPad: y-axis range 1408 - 4448
(II) SynPS/2 Synaptics TouchPad: pressure range 0 - 255
(II) SynPS/2 Synaptics TouchPad: finger width range 0 - 0
(II) SynPS/2 Synaptics TouchPad: buttons: left right middle double triple
(--) SynPS/2 Synaptics TouchPad: touchpad found
(**) SynPS/2 Synaptics TouchPad: always reports core events
(II) XINPUT: Adding extended input device "SynPS/2 Synaptics TouchPad" (type: TOUCHPAD)
(**) SynPS/2 Synaptics TouchPad: (accel) keeping acceleration scheme 1
(**) SynPS/2 Synaptics TouchPad: (accel) filter chain progression: 2.00
(**) SynPS/2 Synaptics TouchPad: (accel) filter stage 0: 20.00 ms
(**) SynPS/2 Synaptics TouchPad: (accel) set acceleration profile 0
(--) SynPS/2 Synaptics TouchPad: touchpad found
(II) config/hal: Adding input device Broadcom Corp
(**) Broadcom Corp: always reports core events
(**) Broadcom Corp: Device: "/dev/input/event7"
(II) Broadcom Corp: Found 3 mouse buttons
(II) Broadcom Corp: Found x and y relative axes
(II) Broadcom Corp: Configuring as mouse
(**) Broadcom Corp: YAxisMapping: buttons 4 and 5
(**) Broadcom Corp: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
(II) XINPUT: Adding extended input device "Broadcom Corp" (type: MOUSE)
(**) Broadcom Corp: (accel) keeping acceleration scheme 1
(**) Broadcom Corp: (accel) filter chain progression: 2.00
(**) Broadcom Corp: (accel) filter stage 0: 20.00 ms
(**) Broadcom Corp: (accel) set acceleration profile 0
(II) Broadcom Corp: initialized for relative axes.
Do you get the nvidia spash screen appear? Need to see what's loading.
If the driver is ok, then could be xorg server issue.
yes, the splash sreen appears
Whether these are made is determined in the kernel config,

Device Drivers --->
Graphics support --->
<*> Support for frame buffer devices --->
< > nVidia Framebuffer Support │ │ options for nvidia frame buffer devices.
│ │ < > nVidia Riva support

You can select [*] VESA VGA graphics support
where can I make this onfigurations?


thanks a lot! tomlan

User avatar
stevepusser
Posts: 12844
Joined: 2009-10-06 05:53
Has thanked: 39 times
Been thanked: 51 times

Re: X does not start: /dev/fb0: No such file or directory

#6 Post by stevepusser »

>>where can I make this onfigurations?<<<

You make those configurations when configuring a kernel before building it...not a task that I'd undertake lightly. Anyway, I think the kernel already has that enabled. You could search the kernel config file in /boot to see if you can find that setting. I think the nvidia driver is failing, then the system is trying to fallback on vesa and framebuffer drivers, to no avail.

You could try the sgfxi (part of the smxi scripts (http://smxi.org/) to autodetect your card and install the correct driver for it from the command line...
MX Linux packager and developer

Post Reply