NVIDIA X Server Settings thinks I'm not running NVIDIA driver, but I do.
by Oliver Ruebenacker
Hello,
I installed the nvidia driver via yum from RPMFusion and lsmod confirms
that nvidia is loaded and nouveau is not.
But when I run the NVIDIA X Server Settings (KDE on F20), it claims I do
not appear to be running the NVIDIA driver and should configure it by
running nvidia-xconfig as root and restarting the X server.
nvidia-xconfig creates an new /etc/X11/xorg.conf file (see below).
Previously, no /etc/X11/xorg.conf file existed.
Then, when I try to re-start X, it will not start saying no screens
found, until I remove the xorg.conf file and then everything is back to
normal, including NVIDIA X Server Settings saying that I do not appear to
be running the NVIDIA driver.
Did some googling and followed some advice to set the BusID in xorg.conf,
but did not help.
Any ideas? Thanks!
Best,
Oliver
--
Oliver Ruebenacker
Founder at Relomics Consulting <http://www.relomics.com>
Be always grateful, but never satisfied.
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 331.89 (buildmeister@swio-display-x64-rhel04-18)
Tue Jul 1 12:08:19 PDT 2014
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
EndSection
Section "Files"
FontPath "/usr/share/fonts/default/Type1"
EndSection
Section "InputDevice"
# generated from default
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/mice"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
# generated from default
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "Unknown"
HorizSync 28.0 - 33.0
VertRefresh 43.0 - 72.0
Option "DPMS"
EndSection
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 24
EndSubSection
EndSection
9 years, 9 months
Fedora still doesn't sign its repo data?
by Joonas Lehtonen
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Hi,
over five years ago vulnerabilities in Fedora's (and others) package
managers [1] have been presented at USENIX.
And even though yum supports repo_gpgcheck since 2008 [2]
Fedora still does not make use of it to protect the repo metadata.
Are there specific reasons why Fedora still does not sign its repo
metadata to prevent metadata manipulation attacks (i.e. "hiding" updates)?
The LWN article from 2009 somehow hinted that it was about to be
enabled in Fedora 11? [1]
I filed a bug against fedora-release (covering the missing
repo_gpgcheck in fedora.repo) [3].
Which component would I file the missing repomd.xml.asc (on fedora's
repositories) against?
thanks,
Joonas
[1] https://lwn.net/Articles/327847/
[2] http://lists.baseurl.org/pipermail/yum-devel/2008-August/005350.html
[3] https://bugzilla.redhat.com/show_bug.cgi?id=1130491
-----BEGIN PGP SIGNATURE-----
iQIcBAEBCgAGBQJT79kqAAoJEG58zmw5nc+vZuMQAMuTNEiZjTvXo6tuefihpNOc
fJgEC2dWPQIMA8U88qVLFoIYASYxhj4zFsl50zYZRk7LK7gPp/j6RDOOhSBpeDU2
FZ1hPcln2S3KFkspqyv9I3is+DeHK6+KHMy8YOvHhtpQfO1wCnGUGsrqamQPDkqf
onAbSVBOx5WHf5qKnO5hJbmJMsJduhHb4KCCw1+w4Cdi6tyTbQ3bPRzCFSL9/Rb4
cPNIrpzyU/JYi8hn1zM5locjxG19tmkeP+NCBvF0YAwUo7YVksbZBm7wD+xDhwK6
fMLQ7VOvSMsH6PywexuqnwUMnaFgzsGQXsNOrKLDluJEIECN4L/KETfFXROFSNNR
nJtr9NBJqowB64SY4LF+qjuOkE+cGgTRSBmMqXK2yyr6B9j52Eovak/N2LnHlK3J
mJi/6yEvDTv2/APWnCeAW9PUsyuI5hobOulmrthQdYO42O9TgCG4/+5LC2HP/GU7
O6y23xrZs3Fz6EkTdy81KWNh8wtOa6xjSedlWiRZGgiAiDAGhV/HoK1Ttju+bmI/
seRcY+Im7RC495ZmHQmgJCcm0XvDQ7ZtMrMs3dH3qRv8Ztez4XO7+iwtL33JxIa/
AqD2vdhdB0CZ5y2YVfgDCwjjVCVv0NTPy39PMc+WhqP3x1YuTv7AjclnXrMEqj1f
XjI3jPsMikvGq0mFc+O+
=ZsKM
-----END PGP SIGNATURE-----
9 years, 9 months
OT: bash help
by Mike Wright
Hi all,
I'm trying to write a simple script that if provided an argument, uses
that, or if nothing is provided, uses a predefined string.
if [ -n $# ]
then
WORDS=$1
else
WORDS="these are some words"
fi
echo $WORDS;
The second case is always comes back "".
But if I write
WORDS='these are some words'
echo $WORDS
I get the assigned string.
Why doesn't the assignment work when inside an if/then? How do I make
it work? What's the difference between the case where the assignment is
inside the if/then and outside the if/then?
TIA,
Mike Wright
9 years, 9 months
Where can I find SELinux knowledge
by Robert Moskowitz
The setup is armv7 (Allwinner A20 based Cubieboard)
F19 remix kernel
Redsleeve EL6
SELinux is coming up disabled, and I can't figure out what is needed.
And no help on the Redsleeve list, as its heritage is armv5 and the
kernels for them do not seem to have SElinux support, so no experience
with enabling it.
Of course there is the 'age' mismatch of F19 kernel and EL6, don't know
if that is an issue.
Centos7 for arm is aways off, so for now production is RSEL.
And F21 is also aways off and F20 is a remix; I AM working with it for
some cases.
9 years, 9 months
Mesa-10.2.5 was released - while Fedora still ships 10.1 :/
by Clemens Eisserer
Hi,
First of all thanks for Fedora, I am a (most-time) happy user since
Fedora 2 and it is really great to see how all the improvements
accumulated over time.
Especially with the accelerated release cycle of Mesa, it would be
great if Fedora could keep up in the same manner as it does with the
kernel.
Mesa 10.1 is effectively dead with 10.2 beeing considered "old, stable
and boring" now.
So the descision is not between shipping stable/proven versions vs.
bleeding edge, but rather shipping outdated stuff vs maintained stable
versions ;)
Thanks & best regards, Clemens
9 years, 9 months
ibus-daemon & gnome-shell: high cpu usage...
by Georgios Petasis
Hi all,
Gnome (for some reason) takes all my cpu power under fedora 20 64 bit.
And if I kill ibus-deamon, the session still runs. But I cannot kill
gnome-shell.
When ever I start a computation, gnome-shell kicks in, and takes *all*
cpu. For example, when running (a single threaded) Tcl/Tk program:
Tasks: 291 total, 3 running, 288 sleeping, 0 stopped, 0 zombie
%Cpu(s): 52.0 us, 1.7 sy, 0.0 ni, 45.9 id, 0.1 wa, 0.1 hi, 0.0 si,
0.0 st
KiB Mem: 32832636 total, 31349172 used, 1483464 free, 573716 buffers
KiB Swap: 61439996 total, 4036 used, 61435960 free, 23766116 cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+
COMMAND
11321 petasis 20 0 1974296 401952 69288 S 306.9 1.2 477:55.92
gnome-shell
13662 petasis 20 0 347500 120636 13388 R 93.4 0.4 9:07.78 wish
1551 petasis 20 0 310492 108392 27968 R 22.6 0.3 63:30.66 Xvnc
My application shows a load of 93% (one of the cores), Xvnc 23% (the
wish application updates some dialogs),
but gnome-shell eats 300% of my cpu (3 whole cores?). Is this normal?
I think it is very high...
Regards,
George
9 years, 9 months
A tool for Ext? partitions.
by JD
Need a tool that can scan an entire drive (which has no partition table
- as it got accidentally clobbered by dd'ing 512 bytes into it), and
determine start and end of ext(2/3/4) partitions.
I need this so that I can restore each ext? partition to a separate HD.
So far I have found a windows based tool from EaseUS.com , but is not
open source and
is not free.
Thanx,
JD
9 years, 9 months
Re: centos/fedora install without gui!
by bruce
--mke2fs pre-computes the ratio of number of inodes to total number of
available block in the chosen partition
are you implying/saying that there can only be a single inode count
for a given patition size??
in my case, I'm going to have a large number of small files (2-5K) and
I might have millions in my test.
On Thu, Aug 14, 2014 at 5:25 PM, jd1008 <jd1008(a)gmail.com> wrote:
> It does not occur when installing.
>
> However, that said, you can
> 1. install Linux using the installer on say partition 2 (as an example),
> which would be a minimal partition big enough for installation.
>
> 2. Boot using the CD/DVD installation media.
> 3. Assuming there is plenty of space still available on the drive of your
> choice,
> run fdisk or parted (or gparted if you are in gui mode) and create
> partition
> 3 to the size you would like i to be.
> 4. Let us assume we are working with /dev/sda. You have say Windows on
> /dev/sda1,
> your Linux on /dev/sda2, and you created /dev/sda3 (which is empty, but
> you
> set it's partition type to Linux.
> 5. Read the man page for mkfe2fs. VERY IMPORTANT!!!
> You must know what the option -N SomeNumber really means!!
> Without reading the man page, you could end up doing the unintended
> thing.
> Specifying this number for inodes DOES NOT MEAN WHAT YOU THINK!!!
> mke2fs pre-computes the ratio of number of inodes to total number of
> available block in the chosen partition.
> Also, take a look at the option -C cluster-size (if you intend to
> have very many
> very large files (to reduce fragmentation).
> 6. Now make sure you are root (su) for running the command mke2fs.
>
> Now you are ready to run mke2fs for partition /dev/sda3 based on your
> understanding
> of of the man page vs what you think you want to accomplish.
>
> Good luck.
>
>> ok...
>>
>> but given that I've asked for how to be able to install centos/fedora
>> so I can increase the inode count!!!!!
>>
>> still trying to figure this part out! ie, where/how does one do the
>> cmdline/level install and where would the attribute for increasing the
>> inode count occur..
>>
>> thanks
>>
>>
>> On Thu, Aug 14, 2014 at 3:48 PM, jd1008 <jd1008(a)gmail.com> wrote:
>>>
>>> On 08/14/2014 12:29 PM, bruce wrote:
>>>>
>>>> Hi guys/list.
>>>>
>>>> Looking into installing centos/fedora and I'd like to increase the
>>>> inodes on the partitions. So I'm trying to find a step by step process
>>>> to accomplish this.
>>>>
>>>> As far as I can tell, the GUI/Anaconda doesn't have any place for me
>>>> to insert the increased inode count.
>>>>
>>>> Comments would be appreciated.
>>>>
>>>> ps.
>>>>
>>>> I know I can take a partition offline, reformat it, and increase the
>>>> nodes, but I don't see how one can do this with the primary/root
>>>> portion of the drive on the same system..
>>>>
>>>> thanks
>>>
>>> The installer will not provide any interface where you specify the number
>>> of
>>> inodes.
>>> IMHO, it is for the good or the overwhelming majority of users, who do
>>> not
>>> understand
>>> the consequences of specifying their own inode count.
>>>
>>> The short of the long is: Fewer inodes are normally used for filesystems
>>> that
>>> will contain very large or huge files and hardly any small files. Thus
>>> most
>>> of the
>>> disk space is used for file storage.
>>> The converse is that a considerably larger number of inodes would be used
>>> for filesystems that will contain mostly small files, thus allow a larger
>>> number of such small files.
>>> But with the increasing size of disks, this issue becomes less and less
>>> of a concern for most users.
>>>
>> .
>>
>
9 years, 9 months