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

Newegg Daily Deals

Reply
 
Thread Tools
Old 11-02-06, 11:31 AM   #1
andrew53
Registered User
 
Join Date: Nov 2006
Posts: 6
Default Installation fails on NFS

I’m running Ubuntu 6.10 with vanilla kernel 2.6.18.1 x86_64 on Asus M2NBP-VM (nVidia Quadro NVS210S) with AMD Sempron 1.4Ghz on a diskless (NFS root) workstation. Before I converted the machine to diskless, the drivers were installing and running just fine, now when I start installation, it terminates immediately with “Bus Error” message.
I ran strace, and found that it fails on an mmap() call, please see the attachment “trace1.txt”. I tried to map a ramdisk and a physical disk as /tmp and got much farther with both methods, but then it failed again on another mmap() call, this time in /var/lib. Tried to use a ramdisk for that too and failed on mmap() somewhere in /usr – you get the picture…

Versions 8776 and 9626 experience exactly the same results.

Steps to reproduce: mount your “/tmp” folder on NFS and start installation.

----------------- strace (tail) -------------------
select(1, [0], NULL, NULL, {0, 0}) = 0 (Timeout)
rt_sigaction(SIGTSTP, {SIG_IGN}, {0x2b0ff37dd290, [], SA_RESTORER|SA_RESTART, 0x2b0ff3493510}, 8) = 0
select(1, [0], NULL, NULL, {0, 0}) = 0 (Timeout)
select(1, [0], NULL, NULL, {0, 0}) = 0 (Timeout)
write(1, "\33[11;12H\33[37m\33[44mxorg/modules/e"..., 115) = 115
rt_sigaction(SIGTSTP, {0x2b0ff37dd290, [], SA_RESTORER|SA_RESTART, 0x2b0ff3493510}, NULL, 8) = 0
stat("/var/lib/nvidia/102", {st_mode=S_IFREG|0644, st_size=729955, ...}) = 0
open("/var/lib/nvidia/102", O_RDONLY) = 5
open("/usr/lib/xorg/modules/extensions/libglx.so", O_RDWR|O_CREAT|O_TRUNC, 0100644) = 6
fstat(5, {st_mode=S_IFREG|0644, st_size=729955, ...}) = 0
lseek(6, 729954, SEEK_SET) = 729954
write(6, "\0", 1) = 1
mmap(NULL, 729955, PROT_READ, MAP_SHARED, 5, 0) = 0x2b0ff390c000
mmap(NULL, 729955, PROT_READ|PROT_WRITE, MAP_SHARED, 6, 0) = 0x2b0ff39bf000
munmap(0x2b0ff390c000, 729955) = 0
munmap(0x2b0ff39bf000, 729955) = 0
fchmod(6, 0100644) = 0
close(5) = 0
close(6) = 0
utime("/usr/lib/xorg/modules/extensions/libglx.so", [2006/11/02-00:34:11, 2006/10/15-20:01:40]) = 0
unlink("/var/lib/nvidia/102") = 0
chown("/usr/lib/xorg/modules/extensions/libglx.so", 0, 0) = 0
chmod("/usr/lib/xorg/modules/extensions/libglx.so", 0100644) = 0
select(1, [0], NULL, NULL, {0, 0}) = 0 (Timeout)
rt_sigaction(SIGTSTP, {SIG_IGN}, {0x2b0ff37dd290, [], SA_RESTORER|SA_RESTART, 0x2b0ff3493510}, 8) = 0
select(1, [0], NULL, NULL, {0, 0}) = 0 (Timeout)
select(1, [0], NULL, NULL, {0, 0}) = 0 (Timeout)
write(1, "\33[11;39H\33[37m\33[44mglx.so \33[12;"..., 89) = 89
rt_sigaction(SIGTSTP, {0x2b0ff37dd290, [], SA_RESTORER|SA_RESTART, 0x2b0ff3493510}, NULL, 8) = 0
stat("/var/lib/nvidia/103", {st_mode=S_IFREG|0644, st_size=26288, ...}) = 0
open("/var/lib/nvidia/103", O_RDONLY) = 5
open("/lib/modules/2.6.18.1/source/drivers/video/nvidia/nvidia.o", O_RDWR|O_CREAT|O_TRUNC, 0100644) = 6
fstat(5, {st_mode=S_IFREG|0644, st_size=26288, ...}) = 0
lseek(6, 26287, SEEK_SET) = 26287
write(6, "\0", 1) = 1
mmap(NULL, 26288, PROT_READ, MAP_SHARED, 5, 0) = 0x2b0ff390c000
mmap(NULL, 26288, PROT_READ|PROT_WRITE, MAP_SHARED, 6, 0) = 0x2b0ff3913000
--- SIGBUS (Bus error) @ 0 (0) ---
rt_sigaction(SIGTSTP, {SIG_IGN}, {0x2b0ff37dd290, [], SA_RESTORER|SA_RESTART, 0x2b0ff3493510}, 8) = 0
write(1, "\33[39;49m\33[37m\33[40m\33[H\33[J", 24) = 24
rt_sigaction(SIGTSTP, {0x2b0ff37dd290, [], SA_RESTORER|SA_RESTART, 0x2b0ff3493510}, NULL, 8) = 0
write(1, "\33[39;49m\33[25d\33[K\33[25;1H\33[?25h\33[?"..., 34) = 34
write(1, "\r", 1) = 1
ioctl(1, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig -icanon -echo ...}) = 0
ioctl(1, SNDCTL_TMR_STOP or TCSETSW, {B38400 opost isig icanon echo ...}) = 0
ioctl(1, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
write(2, "Received signal ", 16) = 16
write(2, "SIGBUS", 6) = 6
write(2, "; aborting.\n", 12) = 12
exit_group(135) = ?
andrew53 is offline   Reply With Quote
Old 11-02-06, 12:38 PM   #2
netllama
NVIDIA Corporation
 
Join Date: Dec 2004
Posts: 8,763
Default Re: Installation fails on NFS

I've reproduced this problem, and opened bug 265012.

Thanks,
Lonni
netllama is offline   Reply With Quote
Old 11-02-06, 12:55 PM   #3
andrew53
Registered User
 
Join Date: Nov 2006
Posts: 6
Default Re: Installation fails on NFS

Thanks, that was fast.

Is there a way to monitor status of the ticket?
andrew53 is offline   Reply With Quote
Old 11-02-06, 12:57 PM   #4
netllama
NVIDIA Corporation
 
Join Date: Dec 2004
Posts: 8,763
Default Re: Installation fails on NFS

I'm afraid that this bug is not publicly viewable. You can request periodic status updates either here, or by emailing linux-bugs@nvidia.com.

Thanks,
Lonni
netllama is offline   Reply With Quote
Old 11-02-06, 03:13 PM   #5
netllama
NVIDIA Corporation
 
Join Date: Dec 2004
Posts: 8,763
Default Re: Installation fails on NFS

From your original description, it sounds like the issue here might be alot more complex than just having /tmp NFS mounted. Can you confirm whether your problem(s) persist even if /tmp isn't NFS mounted?
netllama is offline   Reply With Quote
Old 11-02-06, 03:51 PM   #6
andrew53
Registered User
 
Join Date: Nov 2006
Posts: 6
Default Re: Installation fails on NFS

If /tmp is on NFS, it fails on /tmp, in the very beginning of install.
I also tried to mount /tmp on a ramdisk and a USB "key", both worked, allowing installation to go much further (including kernel module compilation) but eventually fail with the same error doing mmap() on /var/lib and when I mounted /var/lib on a ramdisk, it went even further, failing on /usr/something.
Every time, the symptoms were exactly the same (with different files of course):
open("/usr/lib/libGL.so.1.0.9626", O_RDONLY) = 7
open("/var/lib/nvidia/100", O_RDWR|O_CREAT|O_TRUNC, 0100755) = 8
fstat(7, {st_mode=S_IFREG|0755, st_size=767912, ...}) = 0
lseek(8, 767911, SEEK_SET) = 767911
write(8, "\0", 1) = 1
mmap(NULL, 767912, PROT_READ, MAP_SHARED, 7, 0) = 0x2ad6175e4000
mmap(NULL, 767912, PROT_READ|PROT_WRITE, MAP_SHARED, 8, 0) = 0x2ad6176a0000
andrew53 is offline   Reply With Quote
Old 11-02-06, 05:09 PM   #7
netllama
NVIDIA Corporation
 
Join Date: Dec 2004
Posts: 8,763
Default Re: Installation fails on NFS

Is there a reason why you can't install the driver on the NFS server instead of the NFS client?

What does /etc/exports look like on the NFS server?
Have you tried using the driver's --expert option to better control where its components are installed?

Thanks,
Lonni
netllama is offline   Reply With Quote
Old 11-02-06, 05:25 PM   #8
andrew53
Registered User
 
Join Date: Nov 2006
Posts: 6
Default Re: Installation fails on NFS

The server has different hardware and different kernel version.

Before you ask, I tried "sync" and tried changing client's NFS mount settings between "soft" and "hard".

------ /etc/exports
/nfsroot 192.168.1.197(rw,no_root_squash,async)
andrew53 is offline   Reply With Quote

Old 11-02-06, 05:28 PM   #9
andrew53
Registered User
 
Join Date: Nov 2006
Posts: 6
Default Re: Installation fails on NFS

Sorry, missed one question.
Yes, I tried --expert, since everything is on NFS, it didn't help much. The workaround for now is to copy nfsroot to a physical disk, do the install, and copy back to NFS.
andrew53 is offline   Reply With Quote
Old 11-02-06, 05:28 PM   #10
netllama
NVIDIA Corporation
 
Join Date: Dec 2004
Posts: 8,763
Default Re: Installation fails on NFS

The fact that the NFS server has a different kernel should not prevent the driver from being installed if you have the kernel source/headers installed from the client system.

Which options (if any) are you using to install the driver?
netllama is offline   Reply With Quote
Old 11-02-06, 05:32 PM   #11
andrew53
Registered User
 
Join Date: Nov 2006
Posts: 6
Default Re: Installation fails on NFS

No options, mostly. When asked to install 32-bit GL, answer No.

I'm new to Linux (a windows programmer), still learning.
If I try installing on the server with --expert option specifying all the client's directories, will it work?
andrew53 is offline   Reply With Quote
Old 11-02-06, 05:38 PM   #12
netllama
NVIDIA Corporation
 
Join Date: Dec 2004
Posts: 8,763
Default Re: Installation fails on NFS

It should work on the server, but you'll need the --expert option along with specifying the location of the kernel source/headers. This assumes that you have a supported NVIDIA GPU in the server though.
netllama 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
Lawyer tries and fails to shut down The Oatmeal's charitable fundraiser News Archived News Items 1 06-15-12 05:37 PM
Graphics driver installation problem (your comments will be highly appreciated) apuurboo NVIDIA GeForce 400/500 Series 0 06-13-12 08:58 AM
173.14.34 -- Xorg 1.12.1 & 1.11.4, glx module fails to load mereset NVIDIA Linux 17 06-10-12 02:24 AM
Geek upgrade: review and installation of NewerTech Power2U USB outlet News Archived News Items 1 06-05-12 03:42 AM
Intel AA & Win XPProSP1 slipstream installation? cenkog Microsoft Windows XP And Vista 1 09-17-02 05:55 PM

All times are GMT -5. The time now is 02:14 AM.


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