Dear FreeBSD users!
I have Dell Inspiron 1150 notebook (like Greg "Groggy" Lehey too).
First bad symptoms I got with FreeBSD 8.0-RELEASE. After upgrade of X.Org from version 7.4 to 7.5 my operating system freezed with the behaviour like that of cLON31. And I had to press power button to turn notebook off hardly. Then followed boot in single mode, "fsck -p" and so on.
The versions of some critical packages were:
xorg-7.5
xorg-server-1.7.5,1
xorg-drivers-7.5
xf86-input-keyboard-1.4.0
xf86-input-mouse-1.5.0
xf86-video-vesa-2.3.0
xf86-video-intel-2.7.1_3
I found that xf86-video-intel-2.7.1 driver worked fine, and all my troubles began when I upgraded this driver to xf86-video-intel-2.7.1_3.
The only way to get my X.Org functional was to downgrade driver version to 2.7.1. But I could not do so with Intel video driver only. When I deinstalled xf86-video-intel-2.7.1_3, substituted directory /usr/ports/x11-drivers/xf86-video-intel with older one and tried to compile old driver sources, I got fatal error:
Code:
===> Building for xf86-video-intel-2.7.1
make all-recursive
Making all in uxa
[skip]
In file included from uxa.c:37:
uxa-priv.h:46:35: error: X11/extensions/shmstr.h: No such file or directory
In file included from uxa.c:37:
uxa-priv.h:322: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'uxa_shm_funcs'
uxa-priv.h:326: error: expected declaration specifiers or '...' before 'ShmFuncsPtr'
uxa-priv.h:332: error: warning: parameter names (without types) in function declaration
uxa.c: In function 'uxa_driver_init':
uxa.c:554: error: 'uxa_shm_funcs' undeclared (first use in this function)
uxa.c:554: error: (Each undeclared identifier is reported only once
uxa.c:554: error: for each function it appears in.)
uxa.c:554: error: too many arguments to function 'ShmRegisterFuncs'
*** Error code 1
Stop in /usr/ports/x11-drivers/xf86-video-intel/work/xf86-video-intel-2.7.1/uxa.
*** Error code 1
Stop in /usr/ports/x11-drivers/xf86-video-intel/work/xf86-video-intel-2.7.1.
Yes, new X.Org has new features in his components, and old Intel video driver do not meet some requirements.
I tried the patch
http://people.freebsd.org/~rnoland/xf86-video-intel-take2.patch. With this patch my X.Org still did not work, but not freezed. I had ability to press Alt+F1 and return to first terminal.
One remarkable error message in log file:
Code:
/libexec/ld-elf.so.1: /usr/local/lib/xorg/modules/drivers/intel_drv.so: Undefined symbol
"xf86LoaderReqSymLists"
I compared "take2" patch (above) with that provided by X.Org-7.5. The only difference I found was absence of file patch-src_i830_dvo.c (except of revision number in Makefile, obviously) in "take2" patch.
I tried to deinstall xf86-video-intel-2.7.1_[23] and then install old driver brutally - using pkg_add. But unfortunately I could not even configure X.Org by "X -configure" because there were another sort of errors:
Code:
dlopen: /usr/local/lib/xorg/modules/drivers/intel_drv.so: Undefined symbol "resVgaShared"
(EE) Failed to load /usr/local/lib/xorg/modules/drivers/intel_drv.so
(EE) Failed to load module "intel" (loader failed, 7)
I keep my ports tree in almost actual state running cvsup every two weeks. In this manner I upgraded my system from 8.0-RELEASE to 8.1-RELEASE and, finally, 8.2-PRERELEASE consequently. Sometimes when I portupgrade my packages I get Intel video driver and some other drivers upgraded unexpectedly. When portupgrade does so, I deinstall next packages
1) xorg-drivers
2) xorg-server
3) xf86-input-keyboard
4) xf86-input-mouse
5) xf86-video-vesa
6) xf86-video-intel
and then install old versions of that drivers using pkg_add.
Now I have
xorg-server-1.6.1,1
xorg-drivers-7.4_2
xf86-input-keyboard-1.3.2_2
xf86-input-mouse-1.4.0_6
xf86-video-vesa-2.1.0_2
xf86-video-intel-2.7.1
and very last stable versions of other packages and system components.
Everything works. System looks like Frankenstein's monster but it works. I hope my essay will be useful for somebody to solve their problems. And mine too.
I care of how long this "good times" will last? So, I address to qualified men - what should I do in my situation? If there is another (right) recipe to get X.Org-7.5 functional on my notebook? Or better to downgrade to X.Org-7.4 and forget about new versions of X.Org? Whether I miss something obvious?
uname -a
Code:
FreeBSD kondor.pervouralsk.ru 8.2-PRERELEASE FreeBSD 8.2-PRERELEASE #1: Sun Dec 19 06:30:45 YEKT 2010
kondor@kondor.pervouralsk.ru:/usr/obj/usr/src/sys/GENERIC i386
Appropriate lines from "pciconf -lvcb" output
Code:
vgapci0@pci0:0:2:0: class=0x030000 card=0x017f1028 chip=0x35828086 rev=0x02 hdr=0x00
vendor = 'Intel Corporation'
device = '82852GM/GME/GMV/PM, 855GM/GME Montara Integrated Graphics Device'
class = display
subclass = VGA
bar [10] = type Prefetchable Memory, range 32, base 0xe8000000, size 134217728, enabled
bar [14] = type Memory, range 32, base 0xf6f80000, size 524288, enabled
bar [18] = type I/O Port, range 32, base 0xc000, size 8, enabled
cap 01[d0] = powerspec 1 supports D0 D1 D3 current D0
vgapci1@pci0:0:2:1: class=0x038000 card=0x017f1028 chip=0x35828086 rev=0x02 hdr=0x00
vendor = 'Intel Corporation'
device = '82852GM/GME/GMV/PM, 855GM/GME Montara Integrated Graphics Device'
class = display
bar [10] = type Prefetchable Memory, range 32, base 0xe0000000, size 134217728, enabled
bar [14] = type Memory, range 32, base 0xf6f00000, size 524288, enabled
cap 01[d0] = powerspec 1 supports D0 D1 D3 current D0