Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 12-28-08, 05:50 AM   #25
Thunderbird
 
Join Date: Jul 2002
Location: Netherlands, Europe
Posts: 2,105
Default Re: Fan control

It worked fine in the previous version? The only thing I changed is some bios code which is only executed the first time ever you start nvclock (it is used when creating ~/.nvclock).
Thunderbird is offline   Reply With Quote
Old 12-28-08, 05:52 AM   #26
Thunderbird
 
Join Date: Jul 2002
Location: Netherlands, Europe
Posts: 2,105
Default Re: Fan control

What happens if you run nvclock as a normal user, so not as root?
Thunderbird is offline   Reply With Quote
Old 12-28-08, 05:55 AM   #27
sinatosk
Registered User
 
Join Date: May 2008
Posts: 32
Default Re: Fan control

I always run nvclock as a user... only root thing I do is when I do

Quote:
$ su
$ make install
or in Ubuntu ( which I don't have installed now )

Quote:
$ sudo make install
sinatosk is offline   Reply With Quote
Old 12-28-08, 06:02 AM   #28
Thunderbird
 
Join Date: Jul 2002
Location: Netherlands, Europe
Posts: 2,105
Default Re: Fan control

The thing is that it wants to access /root/.nvclock/bios0.rom. Try to open src/backend/bios.c. Then go to line 1036. There you'll see:
struct nvbios *read_bios(const char *file)
{
struct nvbios *res;
char *rom = calloc(NV_PROM_SIZE, sizeof(char));

Directly after that calloc line add:
return NULL;

What happens then? I guess it might work then.
Thunderbird is offline   Reply With Quote
Old 12-28-08, 06:10 AM   #29
sinatosk
Registered User
 
Join Date: May 2008
Posts: 32
Default Re: Fan control

running it as user ( not tried root )... yeah it works and no message about the "unable to shadow bios"
sinatosk is offline   Reply With Quote
Old 12-28-08, 06:38 AM   #30
Thunderbird
 
Join Date: Jul 2002
Location: Netherlands, Europe
Posts: 2,105
Default Re: Fan control

I fixed that bios shadowing bug already in cvs (at the moment I suggested to upgrade to the latest cvs version). Did you try that version?
Thunderbird is offline   Reply With Quote
Old 12-28-08, 06:42 AM   #31
sinatosk
Registered User
 
Join Date: May 2008
Posts: 32
Default Re: Fan control

from when you asked me to do "cvs update -PAd" that was the last version I tried
sinatosk is offline   Reply With Quote
Old 12-28-08, 06:50 AM   #32
Thunderbird
 
Join Date: Jul 2002
Location: Netherlands, Europe
Posts: 2,105
Default Re: Fan control

I'll see if I can do something else to locate the problem. I still find it strange that nvclock tried to search for bios0.rom in /root. What is your HOME set to when you get that nvclock crash?
Thunderbird is offline   Reply With Quote

Old 12-28-08, 07:14 AM   #33
sinatosk
Registered User
 
Join Date: May 2008
Posts: 32
Default Re: Fan control

/home/halion

I did one time when into superuser and maybe I did run nvclock as root thinking I was a user after doing the "make install"
sinatosk is offline   Reply With Quote
Old 12-28-08, 09:52 AM   #34
Thunderbird
 
Join Date: Jul 2002
Location: Netherlands, Europe
Posts: 2,105
Default Re: Fan control

I had someone check on a 64-bit fedora and also had him run some valgrind tests but we didn't see anything special. The test was on a geforce7. Someone else did tests using a geforce8 (which for nvclock is similar to your card programming wise). We didn't see issues, so I have no idea what's wrong. It really looks like some memory corruption inside nvclock but I have no idea what causes it as valgrind said nothing wrong is being done. Perhaps you could try to run valgrind? Make sure you set '-g' again in the makefiles and then run 'valgrind -v ./nvclock -i' or so.
Thunderbird is offline   Reply With Quote
Old 12-28-08, 09:58 AM   #35
sinatosk
Registered User
 
Join Date: May 2008
Posts: 32
Default Re: Fan control

never used/heard of valgrind. I'll try it out
sinatosk is offline   Reply With Quote
Old 12-28-08, 10:44 AM   #36
sinatosk
Registered User
 
Join Date: May 2008
Posts: 32
Default Re: Fan control

This is part 1 as the forum is limit me to 15,000 characters per post

strange... when I run it with valgrind... I see info about my bios in between all those messages but when nvclock on it's own... just an output from glibc

Quote:
$ valgrind -v ./src/nvclock -i
==8086== Memcheck, a memory error detector.
==8086== Copyright (C) 2002-2007, and GNU GPL'd, by Julian Seward et al.
==8086== Using LibVEX rev 1804, a library for dynamic binary translation.
==8086== Copyright (C) 2004-2007, and GNU GPL'd, by OpenWorks LLP.
==8086== Using valgrind-3.3.0, a dynamic binary instrumentation framework.
==8086== Copyright (C) 2000-2007, and GNU GPL'd, by Julian Seward et al.
==8086==
--8086-- Command line
--8086-- ./src/nvclock
--8086-- -i
--8086-- Startup, with flags:
--8086-- -v
--8086-- Contents of /proc/version:
--8086-- Linux version 2.6.27.9-159.fc10.i686 (mockbuild@x86-3.fedora.phx.redhat.com) (gcc version 4.3.2 20081105 (Red Hat 4.3.2-7) (GCC) ) #1 SMP Tue Dec 16 15:12:04 EST 2008
--8086-- Arch and hwcaps: X86, x86-sse1-sse2
--8086-- Page sizes: currently 4096, max supported 4096
--8086-- Valgrind library directory: /usr/lib/valgrind
--8086-- Reading syms from /lib/ld-2.9.so (0x4E4000)
--8086-- Reading syms from /home/halion/nvc/nvclock/src/nvclock (0x8048000)
--8086-- Reading syms from /usr/lib/valgrind/x86-linux/memcheck (0x38000000)
--8086-- object doesn't have a dynamic symbol table
--8086-- Reading suppressions file: /usr/lib/valgrind/default.supp
--8086-- REDIR: 0x4fd440 (index) redirected to 0x3802cf43 (vgPlain_x86_linux_REDIR_FOR_index)
--8086-- Reading syms from /usr/lib/valgrind/x86-linux/vgpreload_core.so (0x4001000)
--8086-- Reading syms from /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so (0x4003000)
==8086== WARNING: new redirection conflicts with existing -- ignoring it
--8086-- new: 0x004fd440 (index ) R-> 0x04006f60 index
--8086-- REDIR: 0x4fd610 (strlen) redirected to 0x4007210 (strlen)
--8086-- Reading syms from /usr/lib/libX11.so.6.2.0 (0x875000)
--8086-- object doesn't have a symbol table
--8086-- Reading syms from /usr/lib/libXext.so.6.4.0 (0x9ED000)
--8086-- object doesn't have a symbol table
--8086-- Reading syms from /lib/libc-2.9.so (0x50D000)
--8086-- Reading syms from /usr/lib/libxcb-xlib.so.0.0.0 (0x871000)
--8086-- object doesn't have a symbol table
--8086-- Reading syms from /usr/lib/libxcb.so.1.0.0 (0x844000)
--8086-- object doesn't have a symbol table
--8086-- Reading syms from /lib/libdl-2.9.so (0x683000)
--8086-- Reading syms from /usr/lib/libXau.so.6.0.0 (0x83F000)
--8086-- object doesn't have a symbol table
--8086-- Reading syms from /usr/lib/libXdmcp.so.6.0.0 (0x862000)
--8086-- object doesn't have a symbol table
--8086-- REDIR: 0x584800 (rindex) redirected to 0x4006e40 (rindex)
--8086-- REDIR: 0x5806d0 (malloc) redirected to 0x4006a30 (malloc)
--8086-- REDIR: 0x585be0 (memchr) redirected to 0x4007610 (memchr)
--8086-- REDIR: 0x5865f0 (memcpy) redirected to 0x4007660 (memcpy)
--8086-- REDIR: 0x589060 (rawmemchr) redirected to 0x4008040 (rawmemchr)
--8086-- REDIR: 0x583e10 (strcmp) redirected to 0x40074f0 (strcmp)
--8086-- REDIR: 0x57e2c0 (free) redirected to 0x4005850 (free)
--8086-- REDIR: 0x589130 (strchrnul) redirected to 0x4008000 (strchrnul)
--8086-- REDIR: 0x5803a0 (calloc) redirected to 0x4004ae0 (calloc)
--8086-- REDIR: 0x584380 (strlen) redirected to 0x40071f0 (strlen)
--8086-- REDIR: 0x5845a0 (strncmp) redirected to 0x4007460 (strncmp)
--8086-- REDIR: 0x586140 (mempcpy) redirected to 0x4008060 (mempcpy)
--8086-- REDIR: 0x583ca0 (index) redirected to 0x4006f30 (index)
==8086== Invalid write of size 4
==8086== at 0x80595D4: parse_bit_pll_table (bios.c:562)
==8086== by 0x8059F69: parse_bit_structure (bios.c:834)
==8086== by 0x805A718: parse_bios (bios.c:1093)
==8086== by 0x805A594: read_bios (bios.c:1054)
==8086== by 0x804DDD1: parse_config (config.c:471)
==8086== by 0x804D8C6: open_config (config.c:307)
==8086== by 0x8057A00: init_nvclock (back_linux.c:109)
==8086== by 0x804A0FD: main (nvclock.c:605)
==8086== Address 0x4039a94 is 0 bytes after a block of size 556 alloc'd
==8086== at 0x4004BA2: calloc (vg_replace_malloc.c:397)
==8086== by 0x805A6F0: parse_bios (bios.c:1091)
==8086== by 0x805A594: read_bios (bios.c:1054)
==8086== by 0x804DDD1: parse_config (config.c:471)
==8086== by 0x804D8C6: open_config (config.c:307)
==8086== by 0x8057A00: init_nvclock (back_linux.c:109)
==8086== by 0x804A0FD: main (nvclock.c:605)
==8086==
==8086== Invalid write of size 4
==8086== at 0x8059622: parse_bit_pll_table (bios.c:563)
==8086== by 0x8059F69: parse_bit_structure (bios.c:834)
==8086== by 0x805A718: parse_bios (bios.c:1093)
==8086== by 0x805A594: read_bios (bios.c:1054)
==8086== by 0x804DDD1: parse_config (config.c:471)
==8086== by 0x804D8C6: open_config (config.c:307)
==8086== by 0x8057A00: init_nvclock (back_linux.c:109)
==8086== by 0x804A0FD: main (nvclock.c:605)
==8086== Address 0x4039a98 is 4 bytes after a block of size 556 alloc'd
==8086== at 0x4004BA2: calloc (vg_replace_malloc.c:397)
==8086== by 0x805A6F0: parse_bios (bios.c:1091)
==8086== by 0x805A594: read_bios (bios.c:1054)
==8086== by 0x804DDD1: parse_config (config.c:471)
==8086== by 0x804D8C6: open_config (config.c:307)
==8086== by 0x8057A00: init_nvclock (back_linux.c:109)
==8086== by 0x804A0FD: main (nvclock.c:605)
==8086==
==8086== Invalid write of size 1
==8086== at 0x8059826: parse_bit_pll_table (bios.c:576)
==8086== by 0x8059F69: parse_bit_structure (bios.c:834)
==8086== by 0x805A718: parse_bios (bios.c:1093)
==8086== by 0x805A594: read_bios (bios.c:1054)
==8086== by 0x804DDD1: parse_config (config.c:471)
==8086== by 0x804D8C6: open_config (config.c:307)
==8086== by 0x8057A00: init_nvclock (back_linux.c:109)
==8086== by 0x804A0FD: main (nvclock.c:605)
==8086== Address 0x4039a9c is 8 bytes after a block of size 556 alloc'd
==8086== at 0x4004BA2: calloc (vg_replace_malloc.c:397)
==8086== by 0x805A6F0: parse_bios (bios.c:1091)
==8086== by 0x805A594: read_bios (bios.c:1054)
==8086== by 0x804DDD1: parse_config (config.c:471)
==8086== by 0x804D8C6: open_config (config.c:307)
==8086== by 0x8057A00: init_nvclock (back_linux.c:109)
==8086== by 0x804A0FD: main (nvclock.c:605)
==8086==
==8086== Invalid write of size 1
==8086== at 0x805984F: parse_bit_pll_table (bios.c:577)
==8086== by 0x8059F69: parse_bit_structure (bios.c:834)
==8086== by 0x805A718: parse_bios (bios.c:1093)
==8086== by 0x805A594: read_bios (bios.c:1054)
==8086== by 0x804DDD1: parse_config (config.c:471)
==8086== by 0x804D8C6: open_config (config.c:307)
==8086== by 0x8057A00: init_nvclock (back_linux.c:109)
==8086== by 0x804A0FD: main (nvclock.c:605)
==8086== Address 0x4039a9d is 9 bytes after a block of size 556 alloc'd
==8086== at 0x4004BA2: calloc (vg_replace_malloc.c:397)
==8086== by 0x805A6F0: parse_bios (bios.c:1091)
==8086== by 0x805A594: read_bios (bios.c:1054)
==8086== by 0x804DDD1: parse_config (config.c:471)
==8086== by 0x804D8C6: open_config (config.c:307)
==8086== by 0x8057A00: init_nvclock (back_linux.c:109)
==8086== by 0x804A0FD: main (nvclock.c:605)
==8086==
==8086== Invalid write of size 1
==8086== at 0x8059878: parse_bit_pll_table (bios.c:578)
==8086== by 0x8059F69: parse_bit_structure (bios.c:834)
==8086== by 0x805A718: parse_bios (bios.c:1093)
==8086== by 0x805A594: read_bios (bios.c:1054)
==8086== by 0x804DDD1: parse_config (config.c:471)
==8086== by 0x804D8C6: open_config (config.c:307)
==8086== by 0x8057A00: init_nvclock (back_linux.c:109)
==8086== by 0x804A0FD: main (nvclock.c:605)
==8086== Address 0x4039a9e is 10 bytes after a block of size 556 alloc'd
==8086== at 0x4004BA2: calloc (vg_replace_malloc.c:397)
==8086== by 0x805A6F0: parse_bios (bios.c:1091)
==8086== by 0x805A594: read_bios (bios.c:1054)
==8086== by 0x804DDD1: parse_config (config.c:471)
==8086== by 0x804D8C6: open_config (config.c:307)
==8086== by 0x8057A00: init_nvclock (back_linux.c:109)
==8086== by 0x804A0FD: main (nvclock.c:605)
==8086==
==8086== Invalid write of size 1
==8086== at 0x80598A1: parse_bit_pll_table (bios.c:579)
==8086== by 0x8059F69: parse_bit_structure (bios.c:834)
==8086== by 0x805A718: parse_bios (bios.c:1093)
==8086== by 0x805A594: read_bios (bios.c:1054)
==8086== by 0x804DDD1: parse_config (config.c:471)
==8086== by 0x804D8C6: open_config (config.c:307)
==8086== by 0x8057A00: init_nvclock (back_linux.c:109)
==8086== by 0x804A0FD: main (nvclock.c:605)
==8086== Address 0x4039a9f is 11 bytes after a block of size 556 alloc'd
==8086== at 0x4004BA2: calloc (vg_replace_malloc.c:397)
==8086== by 0x805A6F0: parse_bios (bios.c:1091)
==8086== by 0x805A594: read_bios (bios.c:1054)
==8086== by 0x804DDD1: parse_config (config.c:471)
==8086== by 0x804D8C6: open_config (config.c:307)
==8086== by 0x8057A00: init_nvclock (back_linux.c:109)
==8086== by 0x804A0FD: main (nvclock.c:605)
--8086-- REDIR: 0x607cb0 (__strcpy_chk) redirected to 0x40085e0 (__strcpy_chk)
--8086-- REDIR: 0x5860e0 (memset) redirected to 0x4007f30 (memset)
--8086-- REDIR: 0x586070 (memmove) redirected to 0x4007f90 (memmove)
--8086-- REDIR: 0x580b80 (realloc) redirected to 0x4006b40 (realloc)
--8086-- REDIR: 0x5846b0 (strncpy) redirected to 0x4007320 (strncpy)
--8086-- REDIR: 0x583e80 (strcpy) redirected to 0x4007250 (strcpy)
-- General info --
Card: nvidia GeForce GTX 260
Architecture: GT200 A2
PCI id: 0x5e2
GPU clock: 300.856 MHz
Bustype: PCI-Express

-- Shader info --
Clock: 1296.000 MHz
Stream units: 192 (11111111b)
ROP units: 28 (01111111b)
-- Memory info --
Amount: 896 MB
Type: 448 bit DDR3
Clock: 1188.000 MHz

-- PCI-Express info --
Current Rate: 16X
Maximum rate: 16X

-- Sensor info --
Sensor: Analog Devices ADT7473
Board temperature: 33C
GPU temperature: 41C
Fanspeed: 326 RPM
Fanspeed mode: manual
PWM duty cycle: 40.0%

-- VideoBios information --
Version: 62.00.1a.00.16
Signon message: GT200 P651 SKU 0009 VGA BIOS
Performance level 0: gpu 300MHz/shader 600MHz/memory 100MHz/1.11V/100%
Performance level 1: gpu 400MHz/shader 800MHz/memory 300MHz/1.12V/100%
Performance level 2: gpu 655MHz/shader 1404MHz/memory 1125MHz/1.12V/100%
VID mask: 3
Voltage level 0: 1.06V, VID: 3
Voltage level 1: 1.11V, VID: 2
Voltage level 2: 1.12V, VID: 1
Voltage level 3: 1.15V, VID: 0
sinatosk is offline   Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
GPU fan always at 100%, can not change the thermal settings legluondunet NVIDIA Linux 26 05-04-13 05:56 AM
9800 GTX and Fan Speed Control HarryMan NVIDIA Linux 0 05-25-12 11:50 PM
in 307.11 don't read Fan speed with nvidia-settings sl1pkn07 NVIDIA Linux 2 05-21-12 10:08 AM
Jester2K Detonator 30.xx To 40.xx Control Panel Fix sh*tshot NVIDIA Windows Graphics Drivers 1 10-06-02 02:36 AM
Motherboard temperature control under Linux? Klaus-P NVIDIA Linux 2 09-02-02 02:53 AM

All times are GMT -5. The time now is 08:36 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.