after X.org upgrade, pcidata module is missing

Scott Bennett bennett at cs.niu.edu
Sat Mar 15 12:19:27 UTC 2008


     Earlier I wrote:
>     On Fri, 14 Mar 2008 07:13:20 +0300 Yuri Pankov <yuri.pankov at gmail.com>
>wrote:
>>Scott Bennett wrote:
>><snip>
>>> (II) LoadModule: "radeon"
>>> (WW) Warning, couldn't open module radeon
>>> (II) UnloadModule: "radeon"
>>> (EE) Failed to load module "radeon" (module does not exist, 0)
>>> (II) LoadModule: "mouse"
>>> (WW) Warning, couldn't open module mouse
>>> (II) UnloadModule: "mouse"
>>> (EE) Failed to load module "mouse" (module does not exist, 0)
>>> (II) LoadModule: "kbd"
>>> (WW) Warning, couldn't open module kbd
>>> (II) UnloadModule: "kbd"
>>> (EE) Failed to load module "kbd" (module does not exist, 0)
>>> (EE) No drivers available.
>>
>>Are these drivers actually installed? pkg_info -Ex ^xf86
>>And if they are not, check /usr/ports/x11-drivers/ and install what you 
>>need (looks like xf86-video-ati, xf86-input-keyboard, xf86-input-mouse).
>>
>     I checked and found that /usr/local/lib/xorg/modules/drivers was
>completely empty.  I then ran "portinstall -vP xorg-drivers", and now
>the drivers appear to be present.  While it was running, it looked to
>me as though the drivers you listed above were among those installed.
>I cannot explain the "Mar  6" dates on them.  Seems to me they should
>all have had the same "Mar 14" date on them because they were all
>installed during a few minutes' time.
>
>Script started on Sat Mar 15 01:06:06 2008
>[hellas] 32 % ls -lgF /usr/local/lib/xorg/modules/drivers
>total 1974
>-rwxr-xr-x  1 root  wheel     811 Mar 14 03:47 ati_drv.la*
>-rwxr-xr-x  1 root  wheel    6841 Mar 14 03:47 ati_drv.so*
>-rwxr-xr-x  1 root  wheel     805 Mar  6 10:23 ch7017.la*
>-rwxr-xr-x  1 root  wheel    8475 Mar  6 10:23 ch7017.so*
>-rwxr-xr-x  1 root  wheel     805 Mar  6 10:23 ch7xxx.la*
>-rwxr-xr-x  1 root  wheel    7928 Mar  6 10:23 ch7xxx.so*
>lrwxr-xr-x  1 root  wheel      12 Mar  6 10:23 i810_drv.so@ -> intel_drv.so
>-rwxr-xr-x  1 root  wheel     823 Mar  6 10:23 intel_drv.la*
>-rwxr-xr-x  1 root  wheel  360340 Mar  6 10:23 intel_drv.so*
>-rwxr-xr-x  1 root  wheel     793 Mar  6 10:23 ivch.la*
>-rwxr-xr-x  1 root  wheel    8213 Mar  6 10:23 ivch.so*
>-rwxr-xr-x  1 root  wheel     829 Mar 14 03:47 mach64_drv.la*
>-rwxr-xr-x  1 root  wheel  225823 Mar 14 03:47 mach64_drv.so*
>-rwxr-xr-x  1 root  wheel     789 Mar  6 10:13 nv_drv.la*
>-rwxr-xr-x  1 root  wheel  177967 Mar  6 10:13 nv_drv.so*
>-rwxr-xr-x  1 root  wheel     817 Mar 14 03:47 r128_drv.la*
>-rwxr-xr-x  1 root  wheel  115109 Mar 14 03:47 r128_drv.so*
>-rwxr-xr-x  1 root  wheel     829 Mar 14 03:47 radeon_drv.la*
>-rwxr-xr-x  1 root  wheel  469945 Mar 14 03:47 radeon_drv.so*
>-rwxr-xr-x  1 root  wheel     825 Mar  6 10:15 radeonhd_drv.la*
>-rwxr-xr-x  1 root  wheel  193350 Mar  6 10:15 radeonhd_drv.so*
>-rwxr-xr-x  1 root  wheel     805 Mar  6 10:23 sil164.la*
>-rwxr-xr-x  1 root  wheel    7336 Mar  6 10:23 sil164.so*
>-rwxr-xr-x  1 root  wheel     805 Mar  6 10:23 tfp410.la*
>-rwxr-xr-x  1 root  wheel    8068 Mar  6 10:23 tfp410.so*
>-rwxr-xr-x  1 root  wheel     801 Mar  6 10:08 vesa_drv.la*
>-rwxr-xr-x  1 root  wheel   28997 Mar  6 10:08 vesa_drv.so*
>-rwxr-xr-x  1 root  wheel     795 Mar  6 10:09 vga_drv.la*
>-rwxr-xr-x  1 root  wheel   23962 Mar  6 10:09 vga_drv.so*
>-rwxr-xr-x  1 root  wheel     795 Mar  6 10:20 via_drv.la*
>-rwxr-xr-x  1 root  wheel  260920 Mar  6 10:20 via_drv.so*
>[hellas] 33 % exit
>exit
>
>Script done on Sat Mar 15 01:06:59 2008
>
>     However, when I then tried starting up the X server again, the
>screen went black and became unresponsive.  I had to turn the machine
>off and back on again, waiting for the reboot and fsck runs, to regain
>access to the system.  The log from that attempt looks like this:
>
>X.Org X Server 1.4.0
>Release Date: 5 September 2007
>X Protocol Version 11, Revision 0
>Build Operating System: FreeBSD 6.3-STABLE i386 
>Current Operating System: FreeBSD hellas 6.3-STABLE FreeBSD 6.3-STABLE #130: Mon Mar 10 00:27:24 CDT 2008     bennett at hellas:/usr/src/sys/i386/compile/SMP-hellas i386
>Build Date: 13 March 2008  12:11:08AM
> 
>	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: Thu Mar 13 22:46:43 2008
>(==) Using config file: "/usr/local/lib/X11/xorg.conf"
>(==) ServerLayout "X.org Configured"
>(**) |-->Screen "Screen0" (0)
>(**) |   |-->Monitor "Monitor0"
>(**) |   |-->Device "Card0"
>(**) |-->Input Device "Mouse0"
>(**) |-->Input Device "Keyboard0"
>(==) Automatically adding devices
>(==) Automatically enabling devices
>(WW) The directory "/usr/local/lib/X11/fonts/CID/" does not exist.
>	Entry deleted from font path.
>(==) Including the default font path /usr/local/lib/X11/fonts/misc/,/usr/local/lib/X11/fonts/TTF/,/usr/local/lib/X11/fonts/OTF,/usr/local/lib/X11/fonts/Type1/,/usr/local/lib/X11/fonts/100dpi/,/usr/local/lib/X11/fonts/75dpi/.
>(**) FontPath set to:
>	/usr/local/lib/X11/fonts/misc/,
>	/usr/local/lib/X11/fonts/TTF/,
>	/usr/local/lib/X11/fonts/Type1/,
>	/usr/local/lib/X11/fonts/75dpi/,
>	/usr/local/lib/X11/fonts/100dpi/,
>	/usr/local/lib/X11/fonts/misc/,
>	/usr/local/lib/X11/fonts/TTF/,
>	/usr/local/lib/X11/fonts/OTF,
>	/usr/local/lib/X11/fonts/Type1/,
>	/usr/local/lib/X11/fonts/100dpi/,
>	/usr/local/lib/X11/fonts/75dpi/
>(**) RgbPath set to "/usr/local/lib/X11/rgb"
>(**) ModulePath set to "/usr/local/lib/xorg/modules"
>(II) Loader magic: 0x81c5a00
>(II) Module ABI versions:
>	X.Org ANSI C Emulation: 0.3
>	X.Org Video Driver: 2.0
>	X.Org XInput driver : 2.0
>	X.Org Server Extension : 0.3
>	X.Org Font Renderer : 0.5
>(II) Loader running on freebsd
>(II) LoadModule: "pcidata"
>(II) Loading /usr/local/lib/xorg/modules//libpcidata.so
>(II) Module pcidata: vendor="X.Org Foundation"
>	compiled for 1.4.0, module version = 1.0.0
>	ABI class: X.Org Video Driver, version 2.0
>(--) Using syscons driver with X support (version 2.0)
>(--) using VT number 9
>
>(II) PCI: Probing config type using method 1

   [much irrelevant log stuff deleted  --SB]

>	[30] -1	0	0x0000c000 - 0x0000c0ff (0x100) IX[B](B)
>(II) "extmod" will be loaded. This was enabled by default and also specified in the config file.
>(II) "dbe" will be loaded. This was enabled by default and also specified in the config file.
>(II) "glx" will be loaded. This was enabled by default and also specified in the config file.
>(II) "freetype" will be loaded. This was enabled by default and also specified in the config file.
>(II) "type1" will be loaded. This was enabled by default and also specified in the config file.
>(II) "record" will be loaded. This was enabled by default and also specified in the config file.
>(II) "dri" will be loaded. This was enabled by default and also specified in the config file.
>(II) LoadModule: "extmod"
>(II) Loading /usr/local/lib/xorg/modules/extensions//libextmod.so
>(II) Module extmod: vendor="X.Org Foundation"
>	compiled for 1.4.0, module version = 1.0.0
>	Module class: X.Org Server Extension
>	ABI class: X.Org Server Extension, version 0.3
>(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 TOG-CUP
>(II) Loading extension Extended-Visual-Information
>(II) Loading extension XVideo
>(II) Loading extension XVideo-MotionCompensation
>(II) Loading extension X-Resource
>(II) LoadModule: "glx"
>(II) Loading /usr/local/lib/xorg/modules/extensions//libglx.so
>(II) Module glx: vendor="X.Org Foundation"
>	compiled for 1.4.0, module version = 1.0.0
>	ABI class: X.Org Server Extension, version 0.3
>(==) AIGLX disabled
>(II) Loading extension GLX
>(II) LoadModule: "dri"
>(II) Loading /usr/local/lib/xorg/modules/extensions//libdri.so
>(II) Module dri: vendor="X.Org Foundation"
>	compiled for 1.4.0, module version = 1.0.0
>	ABI class: X.Org Server Extension, version 0.3
>(II) Loading extension XFree86-DRI
>(II) LoadModule: "dbe"
>(II) Loading /usr/local/lib/xorg/modules/extensions//libdbe.so
>(II) Module dbe: vendor="X.Org Foundation"
>	compiled for 1.4.0, module version = 1.0.0
>	Module class: X.Org Server Extension
>	ABI class: X.Org Server Extension, version 0.3
>(II) Loading extension DOUBLE-BUFFER
>(II) LoadModule: "record"
>(II) Loading /usr/local/lib/xorg/modules/extensions//librecord.so
>(II) Module record: vendor="X.Org Foundation"
>	compiled for 1.4.0, module version = 1.13.0
>	Module class: X.Org Server Extension
>	ABI class: X.Org Server Extension, version 0.3
>(II) Loading extension RECORD
>(II) LoadModule: "xtrap"
>(II) Loading /usr/local/lib/xorg/modules/extensions//libxtrap.so
>(II) Module xtrap: vendor="X.Org Foundation"
>	compiled for 1.4.0, module version = 1.0.0
>	Module class: X.Org Server Extension
>	ABI class: X.Org Server Extension, version 0.3
>(II) Loading extension DEC-XTRAP
>(II) LoadModule: "type1"
>(II) Loading /usr/local/lib/xorg/modules/fonts//libtype1.so
>(II) Module type1: vendor="X.Org Foundation"
>	compiled for 1.4.0, module version = 1.0.2
>	Module class: X.Org Font Renderer
>	ABI class: X.Org Font Renderer, version 0.5
>(II) Loading font Type1
>(II) LoadModule: "freetype"
>(II) Loading /usr/local/lib/xorg/modules/fonts//libfreetype.so
>(II) Module freetype: vendor="X.Org Foundation & the After X-TT Project"
>	compiled for 1.4.0, module version = 2.1.0
>	Module class: X.Org Font Renderer
>	ABI class: X.Org Font Renderer, version 0.5
>(II) Loading font FreeType
>(II) LoadModule: "radeon"
>(WW) Warning, couldn't open module radeon
>(II) UnloadModule: "radeon"
>(EE) Failed to load module "radeon" (module does not exist, 0)
>(II) LoadModule: "mouse"
>(WW) Warning, couldn't open module mouse
>(II) UnloadModule: "mouse"
>(EE) Failed to load module "mouse" (module does not exist, 0)
>(II) LoadModule: "kbd"
>(WW) Warning, couldn't open module kbd
>(II) UnloadModule: "kbd"
>(EE) Failed to load module "kbd" (module does not exist, 0)
>(EE) No drivers available.
>
>Fatal server error:
>no screens found
>
>     Are the drivers I installed not the right ones or perhaps in the
>wrong location?  Any other ideas?
>
     Since then, it seems that the reboot may have taken care of the problem,
which makes me suspect that ldconfig needed to be run again.  Because I had
to crash and reboot the system in order to regain control of it, ldconfig did
run again, so now the last part of the log file does show the drivers being
loaded.  I also let the new X server generate a new xorg.conf file just in
case that had some effect.
     However, the screen still turns black and becomes unresponsive, just as
before.  Once again, I had to shut the system off in order to regain control
of it. :-(  If anyone has a clue what is going on, please let me know.
     Thanks much.


                                  Scott Bennett, Comm. ASMELG, CFIAG
**********************************************************************
* Internet:       bennett at cs.niu.edu                              *
*--------------------------------------------------------------------*
* "A well regulated and disciplined militia, is at all times a good  *
* objection to the introduction of that bane of all free governments *
* -- a standing army."                                               *
*    -- Gov. John Hancock, New York Journal, 28 January 1790         *
**********************************************************************


More information about the freebsd-ports mailing list