Unable to open /nvidiactl

2007-05-30 Thread ml-vic
Dear friends,
I'm still looking for help to solve the problem of my nvidia graphic card. 
nvidia.ko doesn't seem able to create /dev/ndiviactl.

Synthesis 

My system
Intel Centrino Duo T5300 HP Pavillion 6366 notebook 2GB mem
NVIDIA GeForce Go 7400
FreeBSD  6.2-RELEASE-p4  i386
kernel compiled for SMP
Latest snapshot of the ports

1) I installed and compiled the /usr/ports/x11/nvidia-driver with default 
options and  /usr/ports/x11/nvidia-xconfig; because loader.conf was not 
automatically modified I added a nvidia_load=YES to loader.conf and 
rebooted the pc, therefore:

2)  victor$ kldstat
Id Refs Address    Size     Name
 1   36 0xc040 5a1fa0   kernel
 2    1 0xc09a2000 3244     splash_bmp.ko
 3    1 0xc09a6000 5528     vesa.ko
 4    3 0xc0a6c000 1e058    linux.ko
 5    1 0xc0a8b000 435c     acpi_video.ko
 6    3 0xc0a9 61ba0    acpi.ko
 7    1 0xc0af2000 6d4de0   nvidia.ko
 8    2 0xc11c7000 168fc    agp.ko


(agp is not compiled statically in the kernel)

victor$ sysctl -a|grep nvidia
       nvidia    84    37K       -       84  16,32,64,128,256,1024,2048
hw.nvidia.version: NVIDIA UNIX x86 Kernel Module  1.0-9746  Tue Dec 19 
13:20:59 PST 2006
hw.nvidia.registry.EnableVia4x: 0
hw.nvidia.registry.EnableALiAGP: 0
hw.nvidia.registry.NvAGP: 3
hw.nvidia.registry.EnableAGPSBA: 0
hw.nvidia.registry.EnableAGPFW: 0
hw.nvidia.registry.SoftEDIDs: 1
hw.nvidia.registry.Mobile: 4294967295
hw.nvidia.registry.ResmanDebugLevel: 4294967295
hw.nvidia.registry.FlatPanelMode: 0
hw.nvidia.registry.DevicesConnected: 0
hw.nvidia.registry.RmLogonRC: 1
hw.nvidia.registry.DetectPrimaryVga: 1
hw.nvidia.registry.dwords:

3) I generated a basic xorg.conf file running a mere nvidia-xconfig that I 
tailored only tailored for language.

4) startx fails. The system declares 

NVIDIA: could not open the device /dev/nvidiactl 
 
(as a matter of fact there isn't!)

And Xorg.0.log is as follows

X Window System Version 6.9.0
Release Date: 21 December 2005
X Protocol Version 11, Revision 0, Release 6.9
Build Operating System: FreeBSD 6.2 i386 [ELF] 
Current Operating System: FreeBSD hpbsd.vic 6.2-RELEASE-p4 FreeBSD 
6.2-RELEASE-p4 #0: Mon May 28 11:43:57 UTC 2007     
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/HP01 i386
Build Date: 10 February 2007
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: Mon May 28 19:39:50 2007
(==) Using config file: /etc/X11/xorg.conf
(==) ServerLayout Layout0
(**) |--Screen Screen0 (0)
(**) |   |--Monitor Monitor0
(**) |   |--Device Device0
(**) |--Input Device Keyboard0
(**) Option XkbModel pc105
(**) XKB: model: pc105
(**) Option XkbLayout it
(**) XKB: layout: it
(==) Keyboard: CustomKeycode disabled
(**) |--Input Device Mouse0
(**) FontPath set 
to 
/usr/X11R6/lib/X11/fonts/misc,/usr/X11R6/lib/X11/fonts/Type1,/usr/X11R6/lib/X11/fonts/75dpi,/usr/X11R6/lib/X11/fonts/100dpi,/usr/X11R6/lib/X11/fonts/bitstream-vera,/usr/local/share/fonts
(**) RgbPath set to /usr/X11R6/lib/X11/rgb
(**) ModulePath set to /usr/X11R6/lib/modules
(II) Module ABI versions:
X.Org ANSI C Emulation: 0.2
X.Org Video Driver: 0.8
X.Org XInput driver : 0.5
X.Org Server Extension : 0.2
X.Org Font Renderer : 0.4
(II) Loader running on freebsd
(II) LoadModule: bitmap
(II) Loading /usr/X11R6/lib/modules/fonts/libbitmap.so
(II) Module bitmap: vendor=X.Org Foundation
compiled for 6.9.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.so
(II) Module pcidata: vendor=X.Org Foundation
compiled for 6.9.0, module version = 1.0.0
ABI class: X.Org Video Driver, version 0.8
(--) Using syscons driver with X support (version 2.0)
(--) using VT number 5

(II) PCI: Probing config type using method 1
(II) PCI: Config type is 1
(II) PCI: stages = 0x03, oldVal1 = 0x, mode1Res1 = 0x8000
(II) PCI: PCI scan (all values are in hex)
(II) PCI: 00:00:0: chip 8086,27a0 card 103c,30bb rev 03 class 06,00,00 hdr 00
(II) PCI: 00:01:0: chip 8086,27a1 card , rev 03 class 06,04,00 hdr 01
(II) PCI: 00:1b:0: chip 8086,27d8 card 103c,30bb rev 02 class 04,03,00 hdr 00
(II) PCI: 00:1c:0: chip 8086,27d0 card , rev 02 class 06,04,00 hdr 81
(II) PCI: 00:1c:1: chip 8086,27d2 card , rev 02 class 06,04,00 hdr 81
(II) PCI: 00:1c:2: chip 8086,27d4 card , rev 02 class 06,04,00 hdr 81
(II) PCI: 00:1d:0: chip 8086,27c8 card 103c,30bb rev 02 class 0c,03,00 hdr 80
(II) PCI: 00:1d:1: chip 8086,27c9 card 

Re: FreeMat 3.0 doesn't call functions and help

2007-04-23 Thread ml-vic
Il Sunday 22 April 2007 21:38:12 Thierry Thomas ha scritto:
 Le Jeu 19 avr 07 à  1:00:38 +0200, Vittorio De Martino
 [EMAIL PROTECTED]

  écrivait :
   I have just upgraded FreeMAT to 3.1, which fixes the inv() problem, and
   which should fix this Help on line bug too; could you please check
   it?
 
  Yes, with the new version 3.1 inv now works fine. Unfortunately the Help
  on line still doesn't work. I think that something worsened because with
  this new port now I cannot use the help on line even as root (in the
  previous version Help online as root worked quite well).

 Could you please script (1) a session with only `truss FreeMat', just
 calling the help and exiting? Then please send me the compresed log of
 this session.

 If you had created some symlinks, please don't forget to remove them.

 Regards,

I cannot truss anything

victor# truss /bin/echo hello
truss: cannot open /proc/curproc/mem: No such file or directory

any other solution or workaround?

Vittorio
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]