Re: [CentOS] Issues with NVidia video driver and CentOS

2018-02-08 Thread Phil Perry

On 08/02/18 23:08, Felipe Westfields wrote:

Oh, this might be the issue - yum says it can't open
"nvidia-x11-drv-304xx-304.135-1.el6.elrepo.x86_64.rpm" - let me download it
again and see what happens.

Are there md5 hash sums on these files?



$ md5sum nvidia-x11-drv-304xx-304.135-1.el6.elrepo.x86_64.rpm
239477508567f48279be751ad375d201 
nvidia-x11-drv-304xx-304.135-1.el6.elrepo.x86_64.rpm



___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Adjust type of rw in submit_bio from int to unsigned long

2018-02-08 Thread wuzhouhui
Forward mail to centos-devel mailing list for getting more attentions!

Sorry for disturbing.

> -Original Messages-
> From: wuzhouhui 
> Sent Time: 2018-02-07 13:44:07 (Wednesday)
> To: centos@centos.org
> Cc: wuzhouhui14 
> Subject: Adjust type of rw in submit_bio from int to unsigned long
> 
> Hi, I am a developer who worked on CentOS. Recently I am working on porting 
> one of my
> block drivers from CentOS 6.x to CentOS 7.x. In newest kernel 
> (kernel-3.10.0-693.17.1.el7)
> I found there is an issue in submit_bio()'s first argument:
> void submit_bio(int rw, struct bio *bio)
> The type of bi_rw of struct bio is unsigned long, and the number of enum 
> rq_flags_bits
> also exceeds 32, so we should better using unsigned long for rw in 
> submit_bio(), like:
> void submit_bio(unsigned long rw, struct bio *bio)
> 
> 
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Issues with NVidia video driver and CentOS

2018-02-08 Thread Felipe Westfields
Oh, this might be the issue - yum says it can't open
"nvidia-x11-drv-304xx-304.135-1.el6.elrepo.x86_64.rpm" - let me download it
again and see what happens.

Are there md5 hash sums on these files?


On Thu, Feb 8, 2018 at 3:23 PM, Phil Perry  wrote:

> On 08/02/18 15:10, Felipe Westfields wrote:
>
>> I copied the error message exactly as it was on the screen
>>
>>
> As John said, you are mistaken:
>
> $ rpm -qp --requires nvidia-x11-drv-304xx-304.135-1.el6.elrepo.x86_64.rpm
> /bin/sh
> /bin/sh
> /bin/sh
> /bin/sh
> /bin/sh
> /sbin/ldconfig
> /usr/bin/python
> config(nvidia-x11-drv-304xx) = 304.135-1.el6.elrepo
> grubby
> grubby
> libGL.so.1()(64bit)
> libOpenCL.so.1()(64bit)
> libX11.so.6()(64bit)
> libXext.so.6()(64bit)
> libXv.so.1()(64bit)
> libXvMC.so.1()(64bit)
> libXvMCNVIDIA_dynamic.so.1()(64bit)
> libatk-1.0.so.0()(64bit)
> libc.so.6()(64bit)
> libc.so.6(GLIBC_2.2.5)(64bit)
> libcuda.so.1()(64bit)
> libdl.so.2()(64bit)
> libdl.so.2(GLIBC_2.2.5)(64bit)
> libgcc_s.so.1()(64bit)
> libgcc_s.so.1(GCC_3.0)(64bit)
> libgcc_s.so.1(GCC_3.3)(64bit)
> libgdk-x11-2.0.so.0()(64bit)
> libgdk_pixbuf-2.0.so.0()(64bit)
> libglib-2.0.so.0()(64bit)
> libgmodule-2.0.so.0()(64bit)
> libgobject-2.0.so.0()(64bit)
> libgtk-x11-2.0.so.0()(64bit)
> libm.so.6()(64bit)
> libm.so.6(GLIBC_2.2.5)(64bit)
> libnvcuvid.so.1()(64bit)
> libnvidia-cfg.so.1()(64bit)
> libnvidia-glcore.so.304.135()(64bit)
> libnvidia-ml.so.1()(64bit)
> libnvidia-opencl.so.1()(64bit)
> libnvidia-tls.so.304.135()(64bit)
> libpango-1.0.so.0()(64bit)
> libpthread.so.0()(64bit)
> libpthread.so.0(GLIBC_2.2.5)(64bit)
> librt.so.1()(64bit)
> librt.so.1(GLIBC_2.2.5)(64bit)
> libvdpau_nvidia.so.1()(64bit)
> libz.so.1()(64bit)
> nvidia-304xx-kmod = 304.135
> nvidia-304xx-kmod = 304.135
> pyxf86config
> pyxf86config
> rpmlib(CompressedFileNames) <= 3.0.4-1
> rpmlib(FileDigests) <= 4.6.0-1
> rpmlib(PayloadFilesHavePrefix) <= 4.0-1
> xorg-x11-server-Xorg <= 1.19.99
> rpmlib(PayloadIsXz) <= 5.2-1
>
>
> Just 'cd' to the directory where you have place the 3 RPMs you mentioned
> earlier:
>
> nvidia-x11-drv-304xx-304.135-1.el6.elrepo.x86_64.rpm
> kmod-nvidia-304xx-304.135-1.el6.elrepo.x86_64.rpm
> nvidia-x11-drv-304xx-32bit-304.135-1.el6.elrepo.x86_64.rpm
>
>
> and install them with yum:
>
> yum install nvidia-x11-drv-304xx-304.135-1.el6.elrepo.x86_64.rpm
> kmod-nvidia-304xx-304.135-1.el6.elrepo.x86_64.rpm
> nvidia-x11-drv-304xx-32bit-304.135-1.el6.elrepo.x86_64.rpm
>
> and you are done.
>
> There are no additional dependencies that are not in CentOS.
>
>
>
> On Thu, Feb 8, 2018 at 10:07 AM, John Hodrien 
>> wrote:
>>
>> On Thu, 8 Feb 2018, Felipe Westfields wrote:
>>>
>>> I'm on a network that is disconnected from the internet; makes things
>>> kind
>>>
 of awkward sometimes. We have some internal repositories that are
 supposed
 to mirror centos, and EPEL - don't have one (that I'm aware of) that
 mirrors elrepo.
 But it looks like it's looking for just that one package; if that's all
 I
 need to get these installed, then hopefully this can be wrapped up.


>>> Thing is, what you've posted makes no sense to me.
>>>
>>> that first one appears to have a dependency on "NVidia-x11-drv-304xx =
>>>
 304.135" and I can't find that package anywhere - I've checked CentOS
>>
>>
> In short, you're saying that
>>> nvidia-x11-drv-304xx-304.135-1.el6.elrepo.x86_64.rpm requires
>>> NVidia-x11-drv-304xx = 304.135
>>>
>>> I find this hard to believe, given you're really saying it requires
>>> itself.
>>>
>>> How about you don't summarise what you've done, but download again the
>>> files
>>> you think you need, and paste actual output when you get errors.
>>>
>>>
>>> jh
>>> ___
>>> CentOS mailing list
>>> CentOS@centos.org
>>> https://lists.centos.org/mailman/listinfo/centos
>>>
>>> ___
>> CentOS mailing list
>> CentOS@centos.org
>> https://lists.centos.org/mailman/listinfo/centos
>>
>>
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
>
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Issues with NVidia video driver and CentOS

2018-02-08 Thread Leon Fauster
Am 08.02.2018 um 21:23 schrieb Phil Perry :
> 
> yum install nvidia-x11-drv-304xx-304.135-1.el6.elrepo.x86_64.rpm 
> kmod-nvidia-304xx-304.135-1.el6.elrepo.x86_64.rpm 
> nvidia-x11-drv-304xx-32bit-304.135-1.el6.elrepo.x86_64.rpm


yum localinstall nvidia.

--
LF

___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Issues with NVidia video driver and CentOS

2018-02-08 Thread Phil Perry

On 08/02/18 15:10, Felipe Westfields wrote:

I copied the error message exactly as it was on the screen



As John said, you are mistaken:

$ rpm -qp --requires nvidia-x11-drv-304xx-304.135-1.el6.elrepo.x86_64.rpm
/bin/sh
/bin/sh
/bin/sh
/bin/sh
/bin/sh
/sbin/ldconfig
/usr/bin/python
config(nvidia-x11-drv-304xx) = 304.135-1.el6.elrepo
grubby
grubby
libGL.so.1()(64bit)
libOpenCL.so.1()(64bit)
libX11.so.6()(64bit)
libXext.so.6()(64bit)
libXv.so.1()(64bit)
libXvMC.so.1()(64bit)
libXvMCNVIDIA_dynamic.so.1()(64bit)
libatk-1.0.so.0()(64bit)
libc.so.6()(64bit)
libc.so.6(GLIBC_2.2.5)(64bit)
libcuda.so.1()(64bit)
libdl.so.2()(64bit)
libdl.so.2(GLIBC_2.2.5)(64bit)
libgcc_s.so.1()(64bit)
libgcc_s.so.1(GCC_3.0)(64bit)
libgcc_s.so.1(GCC_3.3)(64bit)
libgdk-x11-2.0.so.0()(64bit)
libgdk_pixbuf-2.0.so.0()(64bit)
libglib-2.0.so.0()(64bit)
libgmodule-2.0.so.0()(64bit)
libgobject-2.0.so.0()(64bit)
libgtk-x11-2.0.so.0()(64bit)
libm.so.6()(64bit)
libm.so.6(GLIBC_2.2.5)(64bit)
libnvcuvid.so.1()(64bit)
libnvidia-cfg.so.1()(64bit)
libnvidia-glcore.so.304.135()(64bit)
libnvidia-ml.so.1()(64bit)
libnvidia-opencl.so.1()(64bit)
libnvidia-tls.so.304.135()(64bit)
libpango-1.0.so.0()(64bit)
libpthread.so.0()(64bit)
libpthread.so.0(GLIBC_2.2.5)(64bit)
librt.so.1()(64bit)
librt.so.1(GLIBC_2.2.5)(64bit)
libvdpau_nvidia.so.1()(64bit)
libz.so.1()(64bit)
nvidia-304xx-kmod = 304.135
nvidia-304xx-kmod = 304.135
pyxf86config
pyxf86config
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
xorg-x11-server-Xorg <= 1.19.99
rpmlib(PayloadIsXz) <= 5.2-1


Just 'cd' to the directory where you have place the 3 RPMs you mentioned 
earlier:


nvidia-x11-drv-304xx-304.135-1.el6.elrepo.x86_64.rpm
kmod-nvidia-304xx-304.135-1.el6.elrepo.x86_64.rpm
nvidia-x11-drv-304xx-32bit-304.135-1.el6.elrepo.x86_64.rpm


and install them with yum:

yum install nvidia-x11-drv-304xx-304.135-1.el6.elrepo.x86_64.rpm 
kmod-nvidia-304xx-304.135-1.el6.elrepo.x86_64.rpm 
nvidia-x11-drv-304xx-32bit-304.135-1.el6.elrepo.x86_64.rpm


and you are done.

There are no additional dependencies that are not in CentOS.



On Thu, Feb 8, 2018 at 10:07 AM, John Hodrien 
wrote:


On Thu, 8 Feb 2018, Felipe Westfields wrote:

I'm on a network that is disconnected from the internet; makes things kind

of awkward sometimes. We have some internal repositories that are supposed
to mirror centos, and EPEL - don't have one (that I'm aware of) that
mirrors elrepo.
But it looks like it's looking for just that one package; if that's all I
need to get these installed, then hopefully this can be wrapped up.



Thing is, what you've posted makes no sense to me.

that first one appears to have a dependency on "NVidia-x11-drv-304xx =

304.135" and I can't find that package anywhere - I've checked CentOS




In short, you're saying that
nvidia-x11-drv-304xx-304.135-1.el6.elrepo.x86_64.rpm requires
NVidia-x11-drv-304xx = 304.135

I find this hard to believe, given you're really saying it requires itself.

How about you don't summarise what you've done, but download again the
files
you think you need, and paste actual output when you get errors.


jh
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos



___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] OT: configuring xming to know putty's not in a std. location

2018-02-08 Thread Nux!
+1 Mobaxterm, X11 and SFTP support out of the box, also you get a nice bash 
terminal with it and some extra cygwin based goodies.

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro

- Original Message -
> From: "J Martin Rushton" 
> To: "CentOS mailing list" 
> Sent: Wednesday, 7 February, 2018 23:15:50
> Subject: Re: [CentOS] OT: configuring xming to know putty's not in a std. 
> location

> On 07/02/18 22:58, m.r...@5-cent.us wrote:
>> Pete Biggs wrote:
>>> On Wed, 2018-02-07 at 14:45 -0500, m.r...@5-cent.us wrote:
 Is there some way to do this? I've got the current putty (actually,
 putty-cac), pageant, and plink in my user's Downlods directory - neither
 he nor I have admin authority on his laptop, and Desktop support's
 teleworking today - but I can't seem to find a way to configure xming to
 look there for putty.

 Or is it start putty, *then* start xming?

>>>
>>> No start xming in passive mode (I don't know xming so don't know how to
>>> do that - you just want to start the xserver and not have it start any
>>> applications on the remote machine).
>>>
>>> Start putty with X11 forwarding turned on and connect.
>>>
>>> You should now be able to start X programs.
>>>
>>> The important thing is that the server needs to be started before
>>> initiating the connection so that a display can be assigned.
>> 
>> Thank you! That did it. He's happy.
>>>
>>> Can I suggest an alternative though. I've started using MobaXterm
>>> recently and I'm quite impressed: X11 server, SSH/putty client built
>>> in, GL capable etc.  Home use is free.
>> 
>> I can look at it, but this is what he knows, and he's too busy to try
>> something else. Hell, he's just pushed me updating and rebooting his
>> at-work CentOS workstation until next week, and I have a job to keep them
>> going, not for my convenience. 
>> 
>>mark
>> 
>> ___
>> CentOS mailing list
>> CentOS@centos.org
>> https://lists.centos.org/mailman/listinfo/centos
>> 
> I'd second Moba as a solution to contacting a Linux server from a Win
> box.  https://mobaxterm.mobatek.net/ states that "You can download and
> use MobaXterm Home Edition for free. If you want to use it inside your
> company, you should consider subscribing to MobaXterm Professional
> Edition: this will give you access to much more features, professional
> support and "Customizer" software."  The keywords here are "should" and
> "consider".
> 
> 
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Issues with NVidia video driver and CentOS

2018-02-08 Thread Felipe Westfields
I copied the error message exactly as it was on the screen

On Thu, Feb 8, 2018 at 10:07 AM, John Hodrien 
wrote:

> On Thu, 8 Feb 2018, Felipe Westfields wrote:
>
> I'm on a network that is disconnected from the internet; makes things kind
>> of awkward sometimes. We have some internal repositories that are supposed
>> to mirror centos, and EPEL - don't have one (that I'm aware of) that
>> mirrors elrepo.
>> But it looks like it's looking for just that one package; if that's all I
>> need to get these installed, then hopefully this can be wrapped up.
>>
>
> Thing is, what you've posted makes no sense to me.
>
> that first one appears to have a dependency on "NVidia-x11-drv-304xx =
 304.135" and I can't find that package anywhere - I've checked CentOS

>>>
> In short, you're saying that
> nvidia-x11-drv-304xx-304.135-1.el6.elrepo.x86_64.rpm requires
> NVidia-x11-drv-304xx = 304.135
>
> I find this hard to believe, given you're really saying it requires itself.
>
> How about you don't summarise what you've done, but download again the
> files
> you think you need, and paste actual output when you get errors.
>
>
> jh
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
>
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Issues with NVidia video driver and CentOS

2018-02-08 Thread John Hodrien

On Thu, 8 Feb 2018, Felipe Westfields wrote:


I'm on a network that is disconnected from the internet; makes things kind
of awkward sometimes. We have some internal repositories that are supposed
to mirror centos, and EPEL - don't have one (that I'm aware of) that
mirrors elrepo.
But it looks like it's looking for just that one package; if that's all I
need to get these installed, then hopefully this can be wrapped up.


Thing is, what you've posted makes no sense to me.


that first one appears to have a dependency on "NVidia-x11-drv-304xx = 304.135" 
and I can't find that package anywhere - I've checked CentOS


In short, you're saying that
nvidia-x11-drv-304xx-304.135-1.el6.elrepo.x86_64.rpm requires 
NVidia-x11-drv-304xx = 304.135

I find this hard to believe, given you're really saying it requires itself.

How about you don't summarise what you've done, but download again the files
you think you need, and paste actual output when you get errors.

jh
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Issues with NVidia video driver and CentOS

2018-02-08 Thread Felipe Westfields
I'm on a network that is disconnected from the internet; makes things kind
of awkward sometimes. We have some internal repositories that are supposed
to mirror centos, and EPEL - don't have one (that I'm aware of) that
mirrors elrepo.
But it looks like it's looking for just that one package; if that's all I
need to get these installed, then hopefully this can be wrapped up.

On Thu, Feb 8, 2018 at 3:56 AM, John Hodrien 
wrote:

> On Wed, 7 Feb 2018, Felipe Westfields wrote:
>
> I'm trying to reinstall the elrepo drivers.
>> Removed the existing elrepo drivers
>> Downloaded the following elrepo drivers:
>>
>> nvidia-x11-drv-304xx-304.135-1.el6.elrepo.x86_64.rpm
>> kmod-nvidia-304xx-304.135-1.el6.elrepo.x86_64.rpm
>> nvidia-x11-drv-304xx-32bit-304.135-1.el6.elrepo.x86_64.rpm
>>
>> that first one appears to have a dependency on "NVidia-x11-drv-304xx =
>> 304.135" and I can't find that package anywhere - I've checked CentOS
>> base,
>> the EPEL repositories, and the elrepo repositories, RPMfind.
>>
>> Do you know where I can find it?
>>
>
> Do you have something against yum?
>
> jh
>
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
>
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Issues with NVidia video driver and CentOS

2018-02-08 Thread John Hodrien

On Wed, 7 Feb 2018, Felipe Westfields wrote:


I'm trying to reinstall the elrepo drivers.
Removed the existing elrepo drivers
Downloaded the following elrepo drivers:

nvidia-x11-drv-304xx-304.135-1.el6.elrepo.x86_64.rpm
kmod-nvidia-304xx-304.135-1.el6.elrepo.x86_64.rpm
nvidia-x11-drv-304xx-32bit-304.135-1.el6.elrepo.x86_64.rpm

that first one appears to have a dependency on "NVidia-x11-drv-304xx =
304.135" and I can't find that package anywhere - I've checked CentOS base,
the EPEL repositories, and the elrepo repositories, RPMfind.

Do you know where I can find it?


Do you have something against yum?

jh
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos