Dell Inspiron 8200 & ACPI-0293 [was Re: Dell 4150 & ACPI-0293: *** Warning: Buffer created with zero length in AML]

Vincent Poy vince at oahu.WURLDLINK.NET
Wed Jun 25 14:17:29 PDT 2003


On Wed, 25 Jun 2003, Vincent Poy wrote:

> On Wed, 25 Jun 2003, Thierry Thomas wrote:
>
> > Le Mer 25 jui 03 à 20:58:16 +0200, Vincent Poy <vince at oahu.WURLDLINK.NET>
> >  écrivait :
> > > 	Actually, it works fine now with the DSDT patch.   What I can't
> > > figure out is how to get XFree86 running on 5.1-CURRENT as the nv driver
> > > won't install there at all with the Inspiron 8200.   The Latitude
> > > C810/Inspiron 8100/Precision M40 are all the same hardware except for the
> > > BIOS.
> >
> > The nv driver runs fine on 5.1-Release; what's the difference with
> > -CURRENT?
>
> 	Don't know but how did you get it to install?  Since I followed
> the directions and it didn't work even after I modified the file so it
> doesn't fail to build on versions 5.0 and higher.

	To be specific, the drive I'm trying to use is 1.0-3203 from
nvidia.com.

According to the README file, it says the system requirements are:

The offical minimum software requirements for the NVIDIA FreeBSD Driver
Set are:

 - FreeBSD -STABLE, version 4.7 or later
 - A kernel configured with the following options:
     options USER_LDT
     options SYSVSHM
   While SYSVSHM is enabled in the GENERIC FreeBSD kernel, USER_LDT
   is *not* included in the default FreeBSD kernel.  Please see
   "Chapter 9 Configuring the FreeBSD Kernel" of the FreeBSD handbook
   for steps on how to recompile your kernel.
- kernel source tree in /usr/src/sys/
 - XFree86 4.2 or greater, the precise minimum packages required are:
        XFree86-4.2.0_1
        XFree86-libraries-4.2.1_1.tgz
        XFree86-Server-4.2.1_3
        XFree86-clients-4.2.1_1.tgz
   (please note that it is *not* sufficient to download 4.2.1 binaries
   from ftp.xfree86.org -- you must have XFree86-Server-4.2.1_3 or later).

FreeBSD -STABLE versions older than 4.7 and FreeBSD -CURRENT are
not supported.

	I have the options SYSVSHM but it appears USER_LDT is not a valid
option as it seems 1.891 of /usr/src/sys/conf/NOTES says that USER_LDT is
enabled by default.  So I attempted to do the "make setup" as they
suggested... and here is what happens...

root at bigbang [2:13pm][/usr/temp/NVIDIA_FreeBSD-1.0-3203] >> make setup
===> module
@ -> /usr/src/sys
machine -> /usr/src/sys/i386/include
awk -f @/tools/makeobjops.awk @/kern/device_if.m -h
awk -f @/tools/makeobjops.awk @/kern/bus_if.m -h
awk -f @/tools/makeobjops.awk @/dev/pci/pci_if.m -h
awk -f @/tools/vnode_if.awk @/kern/vnode_if.src -h
cp /usr/temp/NVIDIA_FreeBSD-1.0-3203/module/../obj/Module-nvkernel
NVIDIA.o
cc -O -pipe -mcpu=pentiumpro
-I/usr/temp/NVIDIA_FreeBSD-1.0-3203/module/../src -D__KERNEL__
-DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=3203
-DNV_UNIX   -DNV_BSD   -DNVCPU_X86  -D_KERNEL -Wall -Wredundant-decls
-Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith
-Winline -Wcast-qual  -fformat-extensions -std=c99 -DKLD_MODULE -nostdinc
-I-  -I/usr/temp/NVIDIA_FreeBSD-1.0-3203/module/../src -I. -I@ -I@/dev
-I@/../include -I/usr/include -fno-common  -mno-align-long-strings
-mpreferred-stack-boundary=2 -ffreestanding -Wall -Wredundant-decls
-Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith
-Winline -Wcast-qual  -fformat-extensions -std=c99 -c
/usr/temp/NVIDIA_FreeBSD-1.0-3203/module/../src/nvidia_ctl.c
In file included from
/usr/temp/NVIDIA_FreeBSD-1.0-3203/src/nvidia_ctl.c:14:
/usr/temp/NVIDIA_FreeBSD-1.0-3203/src/nv-freebsd.h:31:2: #error This
driver does not support FreeBSD 5.0/-CURRENT!
/usr/temp/NVIDIA_FreeBSD-1.0-3203/src/nvidia_ctl.c:22: warning:
initialization makes integer from pointer without a cast
/usr/temp/NVIDIA_FreeBSD-1.0-3203/src/nvidia_ctl.c:23: warning:
initialization makes integer from pointer without a cast
/usr/temp/NVIDIA_FreeBSD-1.0-3203/src/nvidia_ctl.c:24: warning:
initialization from incompatible pointer type
/usr/temp/NVIDIA_FreeBSD-1.0-3203/src/nvidia_ctl.c:25: warning:
initialization from incompatible pointer type
/usr/temp/NVIDIA_FreeBSD-1.0-3203/src/nvidia_ctl.c:26: warning:
initialization from incompatible pointer type
/usr/temp/NVIDIA_FreeBSD-1.0-3203/src/nvidia_ctl.c:27: warning:
initialization from incompatible pointer type
/usr/temp/NVIDIA_FreeBSD-1.0-3203/src/nvidia_ctl.c:28: warning:
initialization from incompatible pointer type
/usr/temp/NVIDIA_FreeBSD-1.0-3203/src/nvidia_ctl.c:29: warning:
initialization from incompatible pointer type
/usr/temp/NVIDIA_FreeBSD-1.0-3203/src/nvidia_ctl.c:30: warning:
initialization from incompatible pointer type
/usr/temp/NVIDIA_FreeBSD-1.0-3203/src/nvidia_ctl.c:31: warning:
initialization makes pointer from integer without a cast
/usr/temp/NVIDIA_FreeBSD-1.0-3203/src/nvidia_ctl.c:32: warning:
initialization from incompatible pointer type
/usr/temp/NVIDIA_FreeBSD-1.0-3203/src/nvidia_ctl.c:34: warning:
initialization makes pointer from integer without a cast
/usr/temp/NVIDIA_FreeBSD-1.0-3203/src/nvidia_ctl.c:38: warning: excess
elements in struct initializer
/usr/temp/NVIDIA_FreeBSD-1.0-3203/src/nvidia_ctl.c:38: warning: (near
initialization for `nvidia_ctl_cdevsw')
*** Error code 1

Stop in /usr/temp/NVIDIA_FreeBSD-1.0-3203/module.
*** Error code 1

Stop in /usr/temp/NVIDIA_FreeBSD-1.0-3203.
root at bigbang [2:13pm][/usr/temp/NVIDIA_FreeBSD-1.0-3203] >>

	So I edit src/nv-freebsd.h and change the line:

if __FreeBSD_version >= 500000
#error This driver does not support FreeBSD 5.0/-CURRENT!

to:

if __FreeBSD_version >= 600000
#error This driver does not support FreeBSD 5.0/-CURRENT!

So I attempt to do "make setup" again...

root at bigbang [2:16pm][/usr/temp/NVIDIA_FreeBSD-1.0-3203] >> make setup
===> module
@ -> /usr/src/sys
machine -> /usr/src/sys/i386/include
awk -f @/tools/makeobjops.awk @/kern/device_if.m -h
awk -f @/tools/makeobjops.awk @/kern/bus_if.m -h
awk -f @/tools/makeobjops.awk @/dev/pci/pci_if.m -h
awk -f @/tools/vnode_if.awk @/kern/vnode_if.src -h
cp /usr/temp/NVIDIA_FreeBSD-1.0-3203/module/../obj/Module-nvkernel
NVIDIA.o
cc -O -pipe -mcpu=pentiumpro
-I/usr/temp/NVIDIA_FreeBSD-1.0-3203/module/../src -D__KERNEL__
-DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=3203
-DNV_UNIX   -DNV_BSD   -DNVCPU_X86  -D_KERNEL -Wall -Wredundant-decls
-Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith
-Winline -Wcast-qual  -fformat-extensions -std=c99 -DKLD_MODULE -nostdinc
-I-  -I/usr/temp/NVIDIA_FreeBSD-1.0-3203/module/../src -I. -I@ -I@/dev
-I@/../include -I/usr/include -fno-common  -mno-align-long-strings
-mpreferred-stack-boundary=2 -ffreestanding -Wall -Wredundant-decls
-Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith
-Winline -Wcast-qual  -fformat-extensions -std=c99 -c
/usr/temp/NVIDIA_FreeBSD-1.0-3203/module/../src/nvidia_ctl.c
/usr/temp/NVIDIA_FreeBSD-1.0-3203/src/nvidia_ctl.c:22: warning:
initialization makes integer from pointer without a cast
/usr/temp/NVIDIA_FreeBSD-1.0-3203/src/nvidia_ctl.c:23: warning:
initialization makes integer from pointer without a cast
/usr/temp/NVIDIA_FreeBSD-1.0-3203/src/nvidia_ctl.c:24: warning:
initialization from incompatible pointer type
/usr/temp/NVIDIA_FreeBSD-1.0-3203/src/nvidia_ctl.c:25: warning:
initialization from incompatible pointer type
/usr/temp/NVIDIA_FreeBSD-1.0-3203/src/nvidia_ctl.c:26: warning:
initialization from incompatible pointer type
/usr/temp/NVIDIA_FreeBSD-1.0-3203/src/nvidia_ctl.c:27: warning:
initialization from incompatible pointer type
/usr/temp/NVIDIA_FreeBSD-1.0-3203/src/nvidia_ctl.c:28: warning:
initialization from incompatible pointer type
/usr/temp/NVIDIA_FreeBSD-1.0-3203/src/nvidia_ctl.c:29: warning:
initialization from incompatible pointer type
/usr/temp/NVIDIA_FreeBSD-1.0-3203/src/nvidia_ctl.c:30: warning:
initialization from incompatible pointer type
/usr/temp/NVIDIA_FreeBSD-1.0-3203/src/nvidia_ctl.c:31: warning:
initialization makes pointer from integer without a cast
/usr/temp/NVIDIA_FreeBSD-1.0-3203/src/nvidia_ctl.c:32: warning:
initialization from incompatible pointer type
/usr/temp/NVIDIA_FreeBSD-1.0-3203/src/nvidia_ctl.c:34: warning:
initialization makes pointer from integer without a cast
/usr/temp/NVIDIA_FreeBSD-1.0-3203/src/nvidia_ctl.c:38: warning: excess
elements in struct initializer
/usr/temp/NVIDIA_FreeBSD-1.0-3203/src/nvidia_ctl.c:38: warning: (near
initialization for `nvidia_ctl_cdevsw')
cc -O -pipe -mcpu=pentiumpro
-I/usr/temp/NVIDIA_FreeBSD-1.0-3203/module/../src -D__KERNEL__
-DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=3203
-DNV_UNIX   -DNV_BSD   -DNVCPU_X86  -D_KERNEL -Wall -Wredundant-decls
-Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith
-Winline -Wcast-qual  -fformat-extensions -std=c99 -DKLD_MODULE -nostdinc
-I-  -I/usr/temp/NVIDIA_FreeBSD-1.0-3203/module/../src -I. -I@ -I@/dev
-I@/../include -I/usr/include -fno-common  -mno-align-long-strings
-mpreferred-stack-boundary=2 -ffreestanding -Wall -Wredundant-decls
-Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith
-Winline -Wcast-qual  -fformat-extensions -std=c99 -c
/usr/temp/NVIDIA_FreeBSD-1.0-3203/module/../src/nvidia_dev.c
/usr/temp/NVIDIA_FreeBSD-1.0-3203/src/nvidia_dev.c:23: warning:
initialization makes integer from pointer without a cast
/usr/temp/NVIDIA_FreeBSD-1.0-3203/src/nvidia_dev.c:24: warning:
initialization makes integer from pointer without a cast
/usr/temp/NVIDIA_FreeBSD-1.0-3203/src/nvidia_dev.c:25: warning:
initialization from incompatible pointer type
/usr/temp/NVIDIA_FreeBSD-1.0-3203/src/nvidia_dev.c:26: warning:
initialization from incompatible pointer type
/usr/temp/NVIDIA_FreeBSD-1.0-3203/src/nvidia_dev.c:27: warning:
initialization from incompatible pointer type
/usr/temp/NVIDIA_FreeBSD-1.0-3203/src/nvidia_dev.c:28: warning:
initialization from incompatible pointer type
/usr/temp/NVIDIA_FreeBSD-1.0-3203/src/nvidia_dev.c:29: warning:
initialization from incompatible pointer type
/usr/temp/NVIDIA_FreeBSD-1.0-3203/src/nvidia_dev.c:30: warning:
initialization from incompatible pointer type
/usr/temp/NVIDIA_FreeBSD-1.0-3203/src/nvidia_dev.c:31: warning:
initialization from incompatible pointer type
/usr/temp/NVIDIA_FreeBSD-1.0-3203/src/nvidia_dev.c:32: warning:
initialization makes pointer from integer without a cast
/usr/temp/NVIDIA_FreeBSD-1.0-3203/src/nvidia_dev.c:33: warning:
initialization from incompatible pointer type
/usr/temp/NVIDIA_FreeBSD-1.0-3203/src/nvidia_dev.c:35: warning:
initialization makes pointer from integer without a cast
/usr/temp/NVIDIA_FreeBSD-1.0-3203/src/nvidia_dev.c:39: warning: excess
elements in struct initializer
/usr/temp/NVIDIA_FreeBSD-1.0-3203/src/nvidia_dev.c:39: warning: (near
initialization for `nvidia_dev_cdevsw')
/usr/temp/NVIDIA_FreeBSD-1.0-3203/src/nvidia_dev.c:140: conflicting types
for `nvidia_dev_mmap'
/usr/temp/NVIDIA_FreeBSD-1.0-3203/src/nvidia_dev.c:20: previous
declaration of `nvidia_dev_mmap'
*** Error code 1

Stop in /usr/temp/NVIDIA_FreeBSD-1.0-3203/module.
*** Error code 1

Stop in /usr/temp/NVIDIA_FreeBSD-1.0-3203.
root at bigbang [2:16pm][/usr/temp/NVIDIA_FreeBSD-1.0-3203] >>

	So I guess that is where it fails.


Cheers,
Vince - vince at WURLDLINK.NET - Vice President             ________   __ ____
Unix Networking Operations - FreeBSD-Real Unix for Free / / / / |  / |[__  ]
WurldLink Corporation                                  / / / /  | /  | __] ]
San Francisco - Honolulu - Hong Kong                  / / / / / |/ / | __] ]
HongKong Stars/Gravis UltraSound Mailing Lists Admin /_/_/_/_/|___/|_|[____]
Almighty1 at IRC - oahu.DAL.NET Hawaii's DALnet IRC Network Server Admin



More information about the freebsd-mobile mailing list