Getting grub splash screen back
by Paul Smith
Dear All
I have changed grub configuration and now I do not have the usual grub
splash screen. How can I have it back?
Thanks in advance,
Paul
17 years, 3 months
firefox2
by Craig
Did anyone make a rpm that work with fc5?I been
looking all over the place for one.
____________________________________________________________________________________
Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail beta.
http://new.mail.yahoo.com
17 years, 3 months
accessing shell when gnome locks up.
by Larry Kelly
I have Fedora6 with VIA chipset onboard video and Gnome. Many of the
installed applications will freeze the display screen, and mouse. When
this happens is there a Gnome keyboard shortcut that will give me access to
a shell prompt, so that I can kill the offending process, or restart X
windows. Right now, my only option is to turn the power off.
--
Best Regards,
-Larry
"Work, work, work...there is no satisfactory alternative."
--- E.Taft Benson
17 years, 3 months
Dell says all aboard for Linux PCs
by taharka
Dell says all aboard for Linux PCs
By Stan Beer
Monday, 26 February 2007
PC maker Dell has announced that it has commenced a program that will
result in the sale and distribution of a range of computers with
pre-installed Linux distributions instead of Microsoft Windows. Dell has
indicated that Novell's Suse Linux will be first cab off the rank.
Full article at; http://www.itwire.com.au/content/view/9951/53/
taharka
Lexington, Kentucky U.S.A.
17 years, 3 months
Aspell not working in Kate (kde)
by Dotan Cohen
Although after installing FC6 on my Dell laptop I was able to use
Aspell in Kate, I can no longer use it. Kate complains that aspell may
not be installed, or may not be in my path. However, I can call "man
aspell" from the command line and get the usage information, and in
Open Office it works fine. So why can't kate find the required
components, and how can I convince her to find them?
Thanks in advance.
Dotan Cohen
http://what-is-what.com/what_is/ajax.html
http://easyanswers.info
17 years, 3 months
2007 DST Change
by Travis Bullock
Sorry if this is a repost. Just subscribed and not sure if the first one went or not.
Does anyone have a procedure that describes the process for updating my Fedora Core 2, 4 and 5 implemenations in regards to the DST changes in US/Canada? I am having no luck finding a valuable guide via the Web.
Cheers,
Travis Bullock
Systems Administrator
Avmax Group Inc.
17 years, 3 months
Re: How much swap?
by Kwan Lowe
> From: Gordon Messmer <yinyang(a)eburg.com>
> Subject: Re: How much swap?
>
> Uno Engborg wrote:
>>
>> Would I need a swap anyway. There is some old rule of thumb to have
>> twice as much virtual memory as you have physical RAM, but that
>> sounds a bit ridiculous as it would take a lot of time to swap
>> in/out this much memory from disk.
>
> I used to think it was kind of ridiculous, myself, until I discovered a
> quirk of Posix's behavior. If I get any of these details wrong, I
> invite corrections:
>
> When a process called fork() on an old unix system, the OS required an
> amount of free memory equal to the size of the process, plus the size of
> a process table entry. If this memory wasn't free, fork() would fail.
> After fork(), the OS would copy the full set of memory from the parent
> process to the new process. Since fork() is so often followed by
> exec(), which throws away all of that memory, modern unix systems don't
> copy the whole set of memory when a process forks. However, they still
> require that there is enough memory to do so (at least normally; Linux
> has an "overcommit" feature that you can enable).
Not sure if the fork/exec issue applies to paged memory versus swap (i.e., where the
entire process is swapped versus memory pages). It's been a long time for me too :D
I'm also not certain if this applies to Linux, but I recall that certain other
Unices require twice the page space as physical RAM depending on configurations.
For example, some OSes will automatically write to both the in-memory pages and the
corresponding page on disk. The idea being that if the in-memory page needs to paged
out, it can do so with just an update to the page table rather than a full write.
This makes a page-out instantaneous.
I understand that in certain VM implementations it was simpler to just have a direct
mapped copy of all pages on disk. This required that in order to increase the
available memory (real + VM) you'd need at least as much page space as you had real
memory.
With very large memory systems (above 4G for example), there are probably other
considerations. The size of the page table on a 32-bit system may be fixed, but on
machines with huge memories, the page table itself may grow/shrink. The consequence
is that trying to allocate too large a page area could end up shrinking your usable
physical memory. On an already loaded system that's near capacity adding page space
could cause worse problems.
I'm not sure that I'd run entirely without page space, however. I seem to recall
that unused pages can get paged out entirely. I.e., if the process is not doing much
it won't cause a memory hit. Also keep in mind that 8G of disk space may not be all
that much relative to the size of disks today. That is, 32M of page/swap space back
in the day, was probably relatively more than 8G today.
> With 8GB of RAM, that may not affect you directly, but it may, too.
> Lets say that you have no swap, and you were using a 3d modeler, or
> high-end graphics package. If that application was using 5GB of your 8,
> and needed to launch a helper application, like an out-of-process perl
> or python script, it wouldn't be able to do so. Even though that script
> only needs a few MB of the GB you have free, the parent is too big to
> fork(), so it can't spawn new processes.
>
> So, when you decide whether or not to follow the traditional advice
> offered about the amount of swap to allocate, you should first
> understand how the Linux VM works:
> http://www.redhat.com/magazine/001nov04/features/vm/
>
> ...if you don't want to spend the time learning the details, I'd just
> stick with the advice offered.
>
Take all statements with a grain of salt. I'm old and doddering now, and bit rot
has surely set in on my recollections.
--
* The Digital Hermit http://www.digitalhermit.com
* Unix and Linux Solutions kwan(a)digitalhermit.com
17 years, 3 months
Re: Authenticate `su -` through PAM and SSH Agent
by Gordon Messmer
jlist(a)jdjlab.com wrote:
> I don't want to allow root logins at all over ssh (is localhost treated
> specially then?). Security and all. I know I can't do it with the
> default PAM plugins available, but if anybody has a link to where a
> plugin would give that functionality that'd be great. If nobody knows of
> one, I'd really appreciate links to a good tutorial on how PAM plugins
> work and a tutorial/documentation of the ssh-agent workings/protocol. I
> may find time to write one myself this coming summer.
Before you start work on the project, you should work out the logic of
how this is supposed to work.
If google is any indication, ideas like this one float around from time
to time, but the existing pam_ssh module doesn't do quite what you're
describing.
So, how would you support what you want to do, logically? First of all,
you want to be able to log in to a user account via ssh using keys,
right? So, if "user1" is your account, you'd have to install the public
key in that user's home directory on the host to which you want to log
in. That's easy enough, and supported by the software that already
exists. Now, once there, you want to be able to "su" to root using ssh
keys. How's the system going to handle that? Private keys can only be
authenticated against the public key, so where's the public key that the
system is going to use? If it's in your own home directory, then any
user can add a key and "su" to root. If it's in the root user's home
directory, then what you want is not really functionally different from
using "ssh root@localhost".
The only real gain that you get is disallowing remote root logins. If
you're concerned about brute-force attacks, you're better off allowing
remote root logins, but not allowing password logins. Turn off password
logins, and allow only key based authentication. You could improve
security further by configuring your firewall so that only connections
from specific IP addresses are allowed.
17 years, 3 months
Disk saturation
by Carlos H. Reimer
Hi,
Our database server is getting some very high response times and I´m trying
to understand if the disk configuration is responsible for this issue.
It is a Fedora Core release 4 (Stentz) box with 4 GB RAM and 2 GenuineIntel
XEON CPU 3.20 GHz Cache: 1024 KB.
Some typical iostat -x data:
cpu-moy: %user %nice %sys %iowait %idle
11,96 0,00 7,04 1,31 79,70
Device: rrqm/s wrqm/s r/s w/s rsec/s wsec/s rkB/s wkB/s
avgrq-sz avgqu-sz await svctm %util
sda 0,00 30,44 0,81 3,43 14,52 270,97 7,26 135,48
67,43 0,19 46,05 7,29 3,08
cpu-moy: %user %nice %sys %iowait %idle
12,26 0,00 7,34 6,63 73,77
Device: rrqm/s wrqm/s r/s w/s rsec/s wsec/s rkB/s wkB/s
avgrq-sz avgqu-sz await svctm %util
sda 0,00 32,26 0,00 4,41 0,00 293,39 0,00 146,69
66,55 1,51 342,32 25,14 11,08
cpu-moy: %user %nice %sys %iowait %idle
13,67 0,00 6,83 7,74 71,76
Device: rrqm/s wrqm/s r/s w/s rsec/s wsec/s rkB/s wkB/s
avgrq-sz avgqu-sz await svctm %util
sda 0,00 31,99 0,00 3,82 0,00 286,52 0,00 143,26
74,95 2,93 767,58 55,84 21,35
cpu-moy: %user %nice %sys %iowait %idle
13,27 0,00 6,83 14,37 65,53
Device: rrqm/s wrqm/s r/s w/s rsec/s wsec/s rkB/s wkB/s
avgrq-sz avgqu-sz await svctm %util
sda 0,00 31,73 0,00 4,02 0,00 285,94 0,00 142,97
71,20 2,73 680,40 49,25 19,78
cpu-moy: %user %nice %sys %iowait %idle
12,86 0,00 6,33 9,45 71,36
Device: rrqm/s wrqm/s r/s w/s rsec/s wsec/s rkB/s wkB/s
avgrq-sz avgqu-sz await svctm %util
sda 0,00 30,92 0,00 3,41 0,00 274,70 0,00 137,35
80,47 2,33 681,35 57,53 19,64
cpu-moy: %user %nice %sys %iowait %idle
12,45 0,00 6,02 1,91 79,62
Device: rrqm/s wrqm/s r/s w/s rsec/s wsec/s rkB/s wkB/s
avgrq-sz avgqu-sz await svctm %util
sda 0,00 33,00 0,60 4,23 6,44 297,79 3,22 148,89
63,00 0,41 85,29 20,00 9,66
Is it normal have the %util column showing a saturation of 20% with only
140wKB/s?
How can I be sure if there is a hardware or software raid running over the
disks? I think it is hardware because there is no mdadm process running, am
I right?
Some dmesg data:
SCSI subsystem initialized
Fusion MPT base driver 3.01.20
Copyright (c) 1999-2004 LSI Logic Corporation
ACPI: PCI Interrupt 0000:02:04.0[A] -> GSI 42 (level, low) -> IRQ 185
mptbase: Initiating ioc0 bringup
ioc0: 53C1030: Capabilities={Initiator,Target}
Fusion MPT SCSI Host driver 3.01.20
scsi0 : ioc0: LSI53C1030, FwRev=01032300h, Ports=1, MaxQ=255, IRQ=185
input: AT Translated Set 2 keyboard on isa0060/serio0
input: AT Translated Set 2 keyboard on isa0060/serio0
megaraid cmm: 2.20.2.5 (Release Date: Fri Jan 21 00:01:03 EST 2005)
megaraid: 2.20.4.5 (Release Date: Thu Feb 03 12:27:22 EST 2005)
megaraid: probe new device 0x1000:0x1960:0x1028:0x0520: bus 2:slot 5:func 0
ACPI: PCI Interrupt 0000:02:05.0[A] -> GSI 37 (level, low) -> IRQ 193
megaraid: fw version:[351S] bios version:[1.10]
scsi1 : LSI Logic MegaRAID driver
scsi[1]: scanning scsi channel 0 [Phy 0] for non-raid devices
Vendor: SDR Model: GEM318P Rev: 1
Type: Processor ANSI SCSI revision: 02
scsi[1]: scanning scsi channel 1 [virtual] for logical drives
Vendor: MegaRAID Model: LD 0 RAID1 69G Rev: 351S
Type: Direct-Access ANSI SCSI revision: 02
SCSI device sda: 143114240 512-byte hdwr sectors (73274 MB)
sda: asking for cache data failed
sda: assuming drive cache: write through
SCSI device sda: 143114240 512-byte hdwr sectors (73274 MB)
sda: asking for cache data failed
sda: assuming drive cache: write through
sda: sda1 sda2 sda3 sda4 < sda5 >
Attached scsi disk sda at scsi1, channel 1, id 0, lun 0
libata version 1.10 loaded.
ata_piix version 1.03
ACPI: PCI Interrupt 0000:00:1f.2[A] -> GSI 18 (level, low) -> IRQ 177
PCI: Setting latency timer of device 0000:00:1f.2 to 64
ata1: SATA max UDMA/133 cmd 0xBC98 ctl 0xBC92 bmdma 0xBC60 irq 177
ata2: SATA max UDMA/133 cmd 0xBC80 ctl 0xBC7A bmdma 0xBC68 irq 177
ata1: SATA port has no device.
scsi2 : ata_piix
ata2: SATA port has no device.
scsi3 : ata_piix
isa bounce pool size: 16 pages
kjournald starting. Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
SELinux: Disabled at runtime.
SELinux: Unregistering netfilter hooks
cfq: depth 4 reached, tagging now on
Attached scsi generic sg0 at scsi1, channel 0, id 6, lun 0, type 3
Attached scsi generic sg1 at scsi1, channel 1, id 0, lun 0, type 0
Floppy drive(s): fd0 is 1.44M
Thank you in advance!
Reimer
17 years, 3 months