Re: [fedora-list] What the hell are these dirs?

2009-07-26 Thread Tony Nelson
On 09-07-26 08:32:08, Rich Mahn wrote:
> ===snip
> 
> > BTW, I'm running this command, as suggested by an earlier poster:
> > 
> > find . -type f -exec rm -fv '{}' +
> 
> This is extremely inefficient.  It spawns a process for every file.

Not so.  Better for you to read `man find` before posting.

> With as many files as you have this will take days.
 ...

The slow part of what he did is the "v".

-- 

TonyN.:'   
  '  


-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: What the hell are these dirs?

2009-07-26 Thread Tony Nelson
On 09-07-26 00:26:10, Kanwar Ranbir Sandhu wrote:

> BTW, I'm running this command, as suggested by an earlier poster:
> 
> find . -type f -exec rm -fv '{}' +
> 
> It's been running just about all day.  There appears to be no end in
> sight.  There has got to be a faster way to do this.

Take out that "v" and it will go much much faster.

> Can't I create a sparse file or swap file or something, over that 
> location and wipe it clean that way?

No.

-- 

TonyN.:'   
  '  

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: active network connection stops working...

2009-07-26 Thread Tony Nelson
On 09-07-26 11:10:55, Mikkel L. Ellertson wrote:
> charles zeitler wrote:
> > first, thanks again for your replies.
> > Rick, no worries, i was not led astray,
> > just having to digest the info a byte at a time...
> > 
> > Tony, i believe chances are you're right,
> > & possibly the problem is at my provider's end...
> > 
> > Mikkel, my context on /etc/ppp/ip-up matches yours
> > & permissions on resolv.conf:
> > -rw-r--r--. root root system_u:object_r:net_conf_t:s0 
> > /etc/resolv.conf
> > 
> > (looks good?)

Matches mine, and it used to get updated (but by DHCP over Ethernet 
from my local NAT box, not PPP).


> > so far i haven't been able to reproduce the outage,
> > i'm starting to think my software is good, and the issue
> > might be bad updates from at&t
> > 
> It sure looks that way. The only thing that turned up was an empty
> /etc/resolv.conf. I guess it it possible that you got a lease with
> blank name server information. I don't know if it would be advisable
> to keep the old information in that case...

Charles, if you get tired of the issue, you could, instead of solving 
it, set up a local caching nameserver (I use bind).  You might also 
need to disable updates to /etc/resolv.conf as I did (Gnome's System -> 
Administration -> Network : Devices -> Edit : DHCP Settings : 
Automatically obtain... = unchecked).  I also made mine Immutable.  
With a local nameserver, /etc/resolv.conf should either list only 
"nameserver 127.0.0.1" or it should have no nameserver entries.

-- 

TonyN.:'   
  '  

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


LMV2 boot from another Volume Group?

2009-07-26 Thread Tony Nelson
I have two hard drives I want to boot from, each with its own LVM2 
Volume Group.  I can boot from the one on the same drive as Grub, but 
not from the other one.  Apparantly, only Logical Volumes from the boot 
drive's Volume Group are detected before / is mounted (something about 
"activation", perhaps?).  Googling only shows how to detect Volume 
Groups and activate Logical Volumes after / is mounted.  I can't find 
any kernel LVM parameters that would affect this (and I'd need the LVM 
stuff built-in to the kernel, not as a module).

Can Linux use a Volume Group that isn't on Grub's boot volume?

Must I add a boot partition on the second disk and chainload to it?

-- 

TonyN.:'   
  '  

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: LMV2 boot from another Volume Group?

2009-07-27 Thread Tony Nelson
On 09-07-27 13:08:33, Aldo Foot wrote:
> On Sun, Jul 26, 2009 at 8:40 PM, Tony
> Nelson wrote:
> > I have two hard drives I want to boot from, each with its own LVM2
> > Volume Group.  I can boot from the one on the same drive as Grub,
> > but not from the other one.  Apparantly, only Logical Volumes from 
> > the boot drive's Volume Group are detected before / is mounted 
> > (something about "activation", perhaps?).  Googling only shows how 
> > to detect Volume Groups and activate Logical Volumes after / is 
> > mounted.  I can't find any kernel LVM parameters that would affect 
> > this (and I'd need the LVM stuff built-in to the kernel, not as a 
> > module).
> >
> > Can Linux use a Volume Group that isn't on Grub's boot volume?
> >
> > Must I add a boot partition on the second disk and chainload to it?
> 
> 
> 
> Are you saying that you have /boot in a VG and you can boot from it?

No.

> Not sure what you mean by "activate". The LVs are treated like any
> other partition with its filesystem that it's checked at boot time. 
> There is no "switch" o turn LVs on and off, except for the entry in /
> etc/fstab that looks for a device to check and mount according to 
> what you specify.

This is wrong.  In order to use an LVM Logicial Volume, first a 
`vgscan` may be needed to make the Volume Groups known, and then the 
desired Logical Volumes must be Activated with `vgchange -ay`.  Only 
Available Logical Volumes can be mounted.

-- 

TonyN.:'   <mailto:tonynel...@georgeanelson.com>
  '  <http://www.georgeanelson.com/>


-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: LMV2 boot from another Volume Group?

2009-07-27 Thread Tony Nelson
On 09-07-27 10:08:50, Mikkel L. Ellertson wrote:
> Tony Nelson wrote:
> > I have two hard drives I want to boot from, each with its own LVM2 
> > Volume Group.  I can boot from the one on the same drive as Grub,
> > but not from the other one.  Apparantly, only Logical Volumes from 
> > the boot drive's Volume Group are detected before / is mounted  
> > (something about"activation", perhaps?).  Googling only shows how  
> > to detect Volume Groups and activate Logical Volumes after / is 
> > mounted.  I can't find  any kernel LVM parameters that would affect 

> > this (and I'd need the LVM stuff built-in to the kernel, not as a 
> > module).
> > 
> > Can Linux use a Volume Group that isn't on Grub's boot volume?
> > 
> > Must I add a boot partition on the second disk and chainload to it?
> > 
> What do you mean by boot from each drive? Are you talking about
> selecting what drive to boot from in the BIOS, or selecting what
> drive is / by setting the root= in /boot/grub.conf?

Either way (with suitable changes to grub.conf).


> Second question - do the two VGs have different names?

Yes.

Even when the boot drive is set in the BIOS to be the drive containing 
the Volume Group to use, VolGroup01, all Volume Groups are recognized, 
and then VolGroup00's volumes are activated.  I see that nash has 
started.  In the initrd, the nash script "init" contains the offending 
settings.  I suppose I need to use mkinitrd to fix this, so that 
VolGroup01 (and also VolGroup00 which contains the swap partition) is 
activated.

(I'm baffled as to why `grep -rI nash .` in the unpacked initrd would 
cause endless spew of RETURN characters into any active window, as if 
from the keyboard, making the computer unusuable and also hard to 
reboot.  "-rIl" spews something else, maybe spaces, not quite as hard 
to reboot.)

-- 

TonyN.:'   <mailto:tonynel...@georgeanelson.com>
  '  <http://www.georgeanelson.com/>



-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


[solved] Re: LMV2 boot from another Volume Group?

2009-07-28 Thread Tony Nelson
I'm back now, with an updated system.  In order to copy a system to a 
new disk and Volume Group, one needs, along with a fresh install of 
Grub, a new initrd with info from the new updated /etc/fstab.  It's not 
necessarily an LVM issue.


On 09-07-27 14:14:45, Mikkel L. Ellertson wrote:
> Tony Nelson wrote:
> > On 09-07-27 10:08:50, Mikkel L. Ellertson wrote:
> >> What do you mean by boot from each drive? Are you talking about
> >> selecting what drive to boot from in the BIOS, or selecting what
> >> drive is / by setting the root= in /boot/grub.conf?
> > 
> > Either way (with suitable changes to grub.conf).
> > 
> It gets a bit complicated because Grub uses the BIOS to access the
> drives. To use the BIOS to select the drive to boot from, you need a
> grub first stage on the MBR of both drives. But the first stage on
> the second drive has to point to /boot on the first drive. The
> things is, when you change the boot drive in the BIOS, the boot
> drive becomes (hd0) and the original drive becomes (hd1). This can
> be made to work, but you need to mount /boot from the first
> installation in the second installation. It works much better to
> have a /boot partition on the second drive. Please keep in mind that
> the /boot partition can not be in an LVM.

All this was fine, as booting had started (kernel loaded, initrd 
loaded).


> >> Second question - do the two VGs have different names?
> > 
> > Yes.
> > 
> > Even when the boot drive is set in the BIOS to be the drive 
> > containing the Volume Group to use, VolGroup01, all Volume Groups 
> > are recognized, and then VolGroup00's volumes are activated.  I see 
> > that nash has started.  In the initrd, the nash script "init"  
> > contains the offending settings.  I suppose I need to use mkinitrd  
> > to fix this, so that VolGroup01 (and also VolGroup00 which contains 
> > the swap partition) is activated.

Doing `mkinitrd -f /boot/initrd- ` 
fixed the problem.  Note that mkinitrd trusts /etc/inittab, so that had 
better be right.


> It would help to see /boot/grub/grub.conf - I suspect that is part
> of the problem. If you run the Gnome desktop, you can run System -->
> Administration --> Logical Volume Management for an easy way to
> manage LVMs.

None of that had anything to do with the problem.  As I mentioned 
previously, nash had started (so Grub was well out of the picture) and 
then not all needed Logical Volumes were activated.  I'd heard of nash, 
but had never known quite where it was in the boot process.  I'd never 
looked into the initrd either.

Thank you for your efforts.

-- 

TonyN.:'   <mailto:tonynel...@georgeanelson.com>
  '  <http://www.georgeanelson.com/>


-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: FC11 Freezes at udev on boot

2009-07-28 Thread Tony Nelson
On 09-07-29 00:28:42, Jatin K wrote:
> I've installed fedora FC (2.6.29.4.fc11.i586) ... after getting 
> update
>  
> my kernel updated to 2.6.29.6-213.fc11.i586, now my system freezes at 
> udev  when booting, before update it was fine !!!
> 
> 
> what it could be ?? how do I solve this issue ?

It could be the new kernel.  Try a previous kernel.  Press a key while 
Grub is starting during boot (just before the kernel is loaded), and, 
when the Grub menu appears, use the up/down arrow keys to select 
another kernel, and then press RETURN (or right-arrow) to boot.

-- 

TonyN.:'   
  '  

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: FC11 Freezes at udev on boot

2009-07-29 Thread Tony Nelson
On 09-07-29 01:20:20, Jatin K wrote:
> On 07/29/2009 10:39 AM, Tony Nelson wrote:
> > On 09-07-29 00:28:42, Jatin K wrote:
> >
> >> I've installed fedora FC (2.6.29.4.fc11.i586) ... after getting
> >> update my kernel updated to 2.6.29.6-213.fc11.i586, now my system 
> >> freezes at udev when booting, before update it was fine !!!
> >>
> >> what it could be ?? how do I solve this issue ?
> >
> > It could be the new kernel.  Try a previous kernel.  Press a key
> > while Grub is starting during boot (just before the kernel is 
> > loaded), and, when the Grub menu appears, use the up/down arrow 
> > keys to select another kernel, and then press RETURN (or right-
> > arrow) to boot.
> >
> >
> I've tried it .. ( old kernel ) but the thing remains same, after 
> that I reinstalled FC11 from DVD, problem was solved.. then again I 
> get the update from fedora ...  (I see the icon at panel, telling 
> that new updates are available ), now again I'm facing the same 
> problem  :-( . so I think that there are some update which causes 
> the trouble

Well, you're narrowing it down:  it's not the kernel.  Try booting 
without "rhgb" and "quiet", by getting to the Grub menu as above, and 
using Append ("a") to get to the kernel command line, and Backspace to 
delete those options (arrow keys to skip over stuff not to delete).  
You might see something informative when booting pauses.  Also, the 
Boot Log is back, sort of, in /var/log/boot.log.  It may not show 
anything from the proper time, though, as it covers service startup and 
not what happens in the initrd "init" nash script (which I just learned 
about).

-- 

TonyN.:'   <mailto:tonynel...@georgeanelson.com>
  '  <http://www.georgeanelson.com/>


-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: OpenOffice stock pictures path

2009-07-29 Thread Tony Nelson
On 09-07-29 01:48:56, Michael Cronenworth wrote:
> On 07/29/2009 12:24 AM, Joe Smith wrote:
> > I can't see that it's your fault, or Fedora's. It seems like a bad 
> > design to me, to use stock resources in a way that's almost 
> > guaranteed to break, but here's the official response:
> >
> > http://qa.openoffice.org/issues/show_bug.cgi?id=54406
> >
> > Yes, "this is a feature and no bug."
> >
> > I'd say it's worth asking them to take another look, since a 
> > routine upgrade will break documents that are otherwise untouched, 
> > but in the end it's all rather academic.
> >
> 
> Thanks for the bug. Yes, it seems rather odd to even have their 
> numbered directory for their stock items. Do they really plan on 
> letting people have OO.org 2.0 and OO.org 3.0 installed at the same 
> time? What would that gain anyone?

Only the stock items need be preserved, possibly with (hard) links to 
the current version for files that are unchanged.  You could request 
that Fedora packagers do this in a post-install script, citing the "by 
design" from the bug above.

-- 

TonyN.:'   
  '  

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: FC11 Freezes at udev on boot

2009-07-29 Thread Tony Nelson
On 09-07-29 13:08:52, john wendel wrote:
> On 07/29/2009 08:42 AM, Tony Nelson wrote:
 ...
> Nothing interesting on the console when booting. Nothing interesting
> in the logs either.
> 

Well, that's about it for me.  Sorry.

-- 

TonyN.:'   <mailto:tonynel...@georgeanelson.com>
  '  <http://www.georgeanelson.com/>

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Fedora 11 lm_sensors on ASUS MB solved

2009-07-29 Thread Tony Nelson
In F9, lm_sensors worked, but in F11, it said "no sensors detected".  
Eventually I found



which showed that the lm_sensors developers had broken lm_sensors on 
purpose for (all?) ASUS motherboards, with an unfinished "improvement".

To get lm_sensors working again, add the following to the Grub kernel 
boot line:

acpi_enforce_resources=lax

This returns ACPI enforcement to it's previous unchecked state, which 
is still used for all other motherboard manufacturers, according to the 
thread linked above.

Also ensure that the needed modules are loaded, which may require the 
new syntax in /etc/sysconfig/lm_sensors.

-- 

TonyN.:'   
  '  

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: Fedora 11 lm_sensors on ASUS MB solved

2009-07-30 Thread Tony Nelson
On 09-07-29 23:30:21, Gene Heskett wrote:
> On Wednesday 29 July 2009, Tony Nelson wrote:
> >In F9, lm_sensors worked, but in F11, it said "no sensors detected".
> >Eventually I found
> >
> ><http://lists.lm-sensors.org/pipermail/lm-sensors/2009-
> >January/025063.html>
> >
> >which showed that the lm_sensors developers had broken lm_sensors on
> >purpose for (all?) ASUS motherboards, with an unfinished
> "improvement".
> >
> That sucks, and explains why I get the not written yet messages for a 
> motherboard I paid almost $300 USD for.

Let's hope so.  It's not the same message as I was getting.


> >To get lm_sensors working again, add the following to the Grub 
> >kernel boot line:
> >
> >acpi_enforce_resources=lax
> 
> I'll give this a try, but if the drivers aren't going to be written,
> ever, whats the use?  Is ASUS being difficult?, I've read hints of 
> their kowtowing to the wannabe king in Redmond, and going out of 
> their way to make life difficult for linux in general.

ASUS doesn't release information on their custom chips.


> >Also ensure that the needed modules are loaded, which may require 
> >the new syntax in /etc/sysconfig/lm_sensors.
> 
> Link plz. :)

/usr/bin/sysconfig-lm_sensors-convert

-- 

TonyN.:'   <mailto:tonynel...@georgeanelson.com>
  '  <http://www.georgeanelson.com/>

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: gnome-volume-control channel levels (Solved)

2009-07-30 Thread Tony Nelson
On 09-07-30 13:25:30, Mikkel L. Ellertson wrote:

> It is amixer, not alsamixer. (Strange, I know.)

It's both.  `amixer` is command-line, `alsamixer` is ncurses.

-- 

TonyN.:'   
  '  

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: Fedora 11 lm_sensors on ASUS MB solved

2009-07-30 Thread Tony Nelson
On 09-07-30 19:00:59, Joseph L. Casale wrote:
> >I've read hints of their kowtowing
> >to the wannabe king in Redmond, and going out of their way to make
> life
> >difficult for linux in general.
> 
> FFS, take your tinfoil hat off, jesus...
> 
> >Link plz. :)
> 
> Yes, provide the source of that info:) Maybe it was the troll on
> a Unix list a week or two ago that said "MS knows NTFS is broken
> and won't even run their own corp on it, using Sun instead" as he
> claims to "Know for sure" lol...

Gene wanted to know how I knew that the format of /etc/sysconfig/
lm_sensors had changed in F11.  I told him.  Read before posting.

-- 

TonyN.:'   
  '  

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Fedora 11 does display suspend work for you: CRT vs. LCD

2009-07-30 Thread Tony Nelson
On Fedora 11, does your display suspend after the screensaver activates 
(assuming that you have asked it to suspend)?  If you know whether it 
does or doesn't, please reply, and say whether your display is a CRT or 
LCD.  I'm trying to get more information before filing a bug.

(I did create a new test user and try from there, without success.)

I think that LCD / Laptop users mostly care about dimming / blanking 
and not about suspending the display, but as a CRT user, I'd like to 
save the power.

On Fedora 9, the screensaver (and gnome-power-manager) blanked my 
screen and then put it in the low-power suspend mode.  Fedora 11 dims 
my screen, but does not put the display into suspend mode, so it still 
draws full power.  Diff'ing the code for F9 and F11, and viewing 
output from `gnome-power-manager --verbose`, I see no way for the 
current G-P-M to suspend the display, as the code that called DPMS to 
do so has been removed.  G-P-M seems oriented to LCD displays and 
Laptops now, so this may not have been noticed.

-- 

TonyN.:'   
  '  

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: Fedora 11 does display suspend work for you: CRT vs. LCD

2009-07-30 Thread Tony Nelson
On 09-07-30 20:15:25, stan wrote:
> On Thu, 30 Jul 2009 20:02:46 -0400
> Tony Nelson  wrote:
> 
> > On Fedora 11, does your display suspend after the screensaver
> > activates (assuming that you have asked it to suspend)?> 
> 
> F11, x86_64, crt, gnome, nouveau.  I didn't do anything to set it
> except change how long it waits before going dormant.  Seems to 
> happen simultaneously, screen goes blank (my selection), and the 
> power save comes on.
> 
> When it restarts I have to wait 5 or 10 seconds while it warms up
> again, before there is video.  i.e. it is really going low
> power.

That pretty well proves that it can work on a CRT.  Thank you.

If you feel up to it, could you kill your running gnome-power-manager 
and start a new one in a terminal with `gnome-power-manager --verbose`, 
and let the display sleep and wake up, and send the output directly to 
me?  (Kill the new G-P-M with Ctl-C.  Something started a new one for 
me, possibly switching users, but it might be better to start it 
yourself with `gnome-power-manager &'.)  Note that there's some risk in 
all this, that you might lose control of your display.  The output 
might show me what is different about our systems, from G-P-M's point 
of view.

I wonder if it's a ATI Radeon or ASUS MB issue.  Both are old.

-- 

TonyN.:'   <mailto:tonynel...@georgeanelson.com>
  '  <http://www.georgeanelson.com/>


-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: grubby recieved SIGSEGV! Backtrace (6):

2009-07-31 Thread Tony Nelson
On 09-07-31 03:02:20, Justin P. Mattock wrote:
 ...
> opps!!
> I guess it helps to have ext4 compiled in the kernel..
> (sh^t I'm a neewbie)..

It only needs to be a module, but then it must be present in your 
initrd (mkinitrd -f /boot/initrd-`uname -r`.img `uname -r`, or whatever 
kernel version you're making it for).

-- 

TonyN.:'   
  '  

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: Cron jobs running twice

2009-07-31 Thread Tony Nelson
On 09-07-31 08:30:41, Casartello, Thomas wrote:
> Just figured out why….after the upgrade I have both a /etc/crontab 
> and a /etc/anacrontab….it’s parsing both.

I also have both, and this is not happening.

-- 

TonyN.:'   
  '  

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: grubby recieved SIGSEGV! Backtrace (6):

2009-07-31 Thread Tony Nelson
On 09-07-31 10:51:46, Justin P. Mattock wrote:
> Tony Nelson wrote:
> > On 09-07-31 03:02:20, Justin P. Mattock wrote:
> >   ...
> >
> >> opps!!
> >> I guess it helps to have ext4 compiled in the kernel..
> >> (sh^t I'm a neewbie)..
> >>  
> >
> > It only needs to be a module, but then it must be present in your
> > initrd (mkinitrd -f /boot/initrd-`uname -r`.img `uname -r`, or
> > whatever kernel version you're making it for).
> >
> >
> At the moment I see that once you
> make install in the kernel source tree
> fedora will automatically read the script to create
> .img and so forth.

OK.


> In your honest opinion what is the best way to handle
> the old stale kernels in /boot i.g.(remove them without
> generating a SIGSEGV).

I just leave them there until my /boot gets full.  If they're from 
RPMs, I do a `yum remove kernel-`, otherwise I just `rm *-
`.


> while following through git I usually have multiple kernels,
> and usually end up just removing them through time.  In this case
> as soon as I removed some old vmlinuz's and so forth was when I hit
> this SIGSEGV(my guess is somewhere the system keeps account as to 
> what is put into /boot.)

Probably.  I don't use grubby (if needed, I write my own grub stanza).  
You may have to use the source to find out.

-- 

TonyN.:'   <mailto:tonynel...@georgeanelson.com>
  '  <http://www.georgeanelson.com/>

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: missing dependency

2009-07-31 Thread Tony Nelson
On 09-07-31 13:56:45, Bruno Wolff III wrote:
> On Fri, Jul 31, 2009 at 10:49:37 -0700,
>   Mike Wright  wrote:
> >
> > I'd bugzilla it but I've never been able to figure out which  
> > packages different things belong to.
> 
> rpm -qi will tell you the source rpm the package comes from and that
> is what component to use in bugzilla.

Do you mean "-qf /path/to/file"?

-- 

TonyN.:'   
  '  



-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: missing dependency

2009-07-31 Thread Tony Nelson
On 09-07-31 16:11:43, Mike Wright wrote:
> Remi Collet wrote:
> > Le 31/07/2009 19:49, Mike Wright a écrit :
> >> updates has depsolving problems
> >>   --> Missing Dependency: gecko-libs = 1.9.0.11 is needed by
> >> package perl-Gtk2-MozEmbed-0.08-6.fc10.2.i386 (updates)
> > 
> > perl-Gtk2-MozEmbed-0.08-6.fc10.3 is now available in updates
> 
> Thanks for your help.
> 
> Hmm, can't find it.  Can you point me to a repo?
> 
> > requires gecko-libs = 1.9.0.12 (provided by xulrunner)
> 
> xulrunner-1.9.0.12-1.fc10.i386 is installed.

When yum gets weird I `yum clean metadata` and usually that fixes it.

-- 

TonyN.:'   
  '  


-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: Conf File Backup Idea

2009-07-31 Thread Tony Nelson
On 09-07-31 19:17:46, Thom Paine wrote:
> Thanks for the suggestions. I'll have a look at some of them and see
> if I can figure something out.
> 
> I don't mind manually making lists of files as I start working with
> them. What really prompted this was that I have some home automation
> working really well on an old server I had. One power outtage that
> lasted longer than 30 minutes while I was away from home, two hard
> drives in the array went offline. I thought the whole server was lost
> and last night I dusted it off and rooted around in the adaptec
> interface and was able to force them both back online and bring the
> array back up. I quickly copied off my heyu files but I got to
> thinking if there was a way to automatically rsync files somewhere
> when I edit them, it would make things simpler on a server I have no
> need to completely back up, yet have some good info on it.

I'm a sloppy person, so I set up an rsync-based solution derived from a 
script I snagged through googling.  It keeps 4-hourly, daily, 4 weekly, 
and several monthly rotating backups of the directories I list.  Let me 
know if you want it.  Sometime I'll clean it up some more and put it on 
my web site.

-- 

TonyN.:'   
  '  


-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: grubby recieved SIGSEGV! Backtrace (6):

2009-07-31 Thread Tony Nelson
On 09-07-31 11:58:18, Justin P. Mattock wrote:
> Tony Nelson wrote:
 ...
> is there a way to tell yum "hey I have a source here, add it to the
> list" instead of creating an rpm and then installing the rpm?

No.

 ...
> > Probably.  I don't use grubby (if needed, I write my own grub
> > stanza).  You may have to use the source to find out.
> >
> >
> Alright, so I can go ahead and remove grubby.

Now, don't be hasty, grubby does do several things (whatever they are). 
You could peruse the source to see what grubby is up to, without really 
having to understand it.  Also, you can run it under gdb and get a 
backtrace, without really having to understand it, though you should 
install the debuginfo beforehand with `debuginfo-install grubby`.

-- 

TonyN.:'   <mailto:tonynel...@georgeanelson.com>
  '  <http://www.georgeanelson.com/>


-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: Fedora 11 very very slow on Athlon DAM 1500+, 1.3 GHz Machine

2009-07-31 Thread Tony Nelson
On 09-07-31 21:41:38, Jwalant Natvarlal Soneji wrote:
> Hi,
> I tried running Fedora 11, with it being only operating system
> installed, and it was too slow for everything.
> The message boxes, applications, games, etc... everything.. took a
> great time to load.
> 
> It was installed on Ext4 file system. Is my computer not capable of
> handling that?
> Right now, I run Fedora 10 and there is not any slow down issue.
> Please suggest.

I use an Athlon 1.2GHz 768MiB machine, ATI Radeon 7000/VE, F11 EXT4, 
and it's fine for speed.  Others report success with much slower CPUs.

The only really slow thing was the SELinux relabel on first (and 
second) boot.  I haven't felt any other slowness after my upgrade from 
F9, or today's separate installation from the F11 Live CD.

So, look for some other problem.  Bad Xorg video mode in /var/log/
Xorg.0.log?  `top` shows heavy load?  (I keep the Gnome System Monitor 
applet in my top panel for a quick overview.)

-- 

TonyN.:'   
  '  


-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: headless setup

2009-07-31 Thread Tony Nelson
On 09-07-31 16:46:20, Paul wrote:
> Bazooka Joe wrote:
> > On Fri, Jul 31, 2009 at 12:43 PM, Mikkel L.
> > Ellertson wrote:
> >   
> >> Bazooka Joe wrote:
> >> 
> >>> Hi, I need to configure f11 to redirect output to the serial 
> port.
> >>>
> >>> I looked at the inittab which doesn't look like the right file to
> edit.
> >>>
> >>> btw i have run level 3 and no x already.
> >>>
> >>> thx
> >>>
> >>> bazooka
> >>>
> >>>   
> >> You may find this site useful:
> >>
> >> http://www.faqs.org/docs/Linux-HOWTO/Remote-Serial-Console-
> HOWTO.html
> >>
> >> Mikkel
> >> --
> >>
> >>  Do not meddle in the affairs of dragons,
> >> for thou art crunchy and taste good with Ketchup!
> >>
> >>
> >> --
> >> fedora-list mailing list
> >> fedora-list@redhat.com
> >> To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-
> list
> >> Guidelines: http://fedoraproject.org/wiki/Communicate/
> MailingListGuidelines
> >>
> >> 
> >
> > that is one hell of a howto
> >
> > the problem is, on fedora the inittab is not standard anymore.
> >
> > the instructions i have say to rem out the tty1  and add ttyS0
> > but nothing exists like that in fedora - at least i haven't found
> it.
> >
> > # Run gettys in standard runlevels
> > #1:2345:respawn:/sbin/mingetty tty1
> > #2:2345:respawn:/sbin/mingetty tty2
> > #3:2345:respawn:/sbin/mingetty tty3
> > #4:2345:respawn:/sbin/mingetty tty4
> > #5:2345:respawn:/sbin/mingetty tty5
> > #6:2345:respawn:/sbin/mingetty tty6
> > S0:2345:respawn:/sbin/mingetty ttyS0 19200
> >
> >   
> Try this:
> 
> http://www.linuxjournal.com/content/tech-tip-setup-your-linux-server-
> use-serial-console
> 
> Note the difference between the serial console lines in each example, 
> and the necessary changes to /boot/grub.conf for monitoring the boot 
> process through the serical console.

Or this:  look at /etc/event.d/serial.  I don't know from upstart, but 
it seems that it should be automatic if you specify a serial console in 
the kernel boot options.

-- 

TonyN.:'   
  '  


-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


[Solved] Re: Fedora 11 does display suspend work for you: CRT vs. LCD

2009-07-31 Thread Tony Nelson
On 09-07-30 20:02:46, Tony Nelson wrote:
> On Fedora 11, does your display suspend after the screensaver
> activates (assuming that you have asked it to suspend)?  If you know 
> whether it does or doesn't, please reply, and say whether your 
> display is a CRT or LCD.  I'm trying to get more information before 
> filing a bug.

It's the kernel.  2.6.29.4-167.fc11.i586 suspend works.  
2.6.29.6-213.fc11.i586 no suspend.  I'll narrow it down more later with 
packages from koji.

I still don't know what is actually calling DPMS to suspend the 
display, but I do have it working with the original kernel from the 
DVD.

I wish I'd tried the kernel sooner.

-- 

TonyN.:'   <mailto:tonynel...@georgeanelson.com>
  '  <http://www.georgeanelson.com/>

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: Conf File Backup Idea

2009-08-01 Thread Tony Nelson
On 09-08-01 03:41:12, Terry Barnaby wrote:

> Something that we do to get most of the configuration files backed up
> is:

 ...
rpm -qac --dump  | sed -e "/^(/d" | while read -a line
 ...

> This should backup any files that are marked as configuration files 
> in the RPM packages and have changed. If you has installed tarballs 
> etc, you will obviously have to add any configuration files for those 
> manually. We normally do this during OS updates so we can quickly 
> look back at configuration changes without having to go and get the 
> full backup disk.

Is this so you back up conf files that aren't stored in /etc, or 
because you can't afford the space for a full copy of /etc?

-- 

TonyN.:'   
  '  


-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: F9: smartd errors, how to fix it?

2009-08-01 Thread Tony Nelson
On 09-08-01 15:45:38, Daniel B. Thurman wrote:
> 
> Is there any way to fix the following problems,
> like forcing fsck or something?
> 
> I am getting smartd errors as reported:
> $ cat /var/log/messages
> [...]
> {repeated messages of the following}
> Aug  1 12:33:26 gold smartd[2820]: Device: /dev/sda, 6 Currently 
> unreadable (pending) sectors
> Aug  1 12:33:26 gold smartd[2820]: Device: /dev/sda, 6 Offline 
> uncorrectable sectors

OK, so you want to rewrite those sectors, but don't know where they 
are.  `fsck` is unlikely to help, as most sectors are not holding the 
filesystem metadata, but actual data or are free.  (As your sectors 
are known bad, they probably are not free.)

There are various rescue tools.  You could use `dd` on every file 
(from `find`, perhaps), and note where it complains.  Some files might
be fixable, others might be recoverable or replaceable, and some will 
just be damaged.  You could use `badblocks` on the disk, and just nuke 
the offending sectors, accepting the damage to unknown files.

I see that Auto Offline Data Collection is enabled.  Usually the 
"every-four-hour" scan will recover sectors as they go bad.  It is a 
bad sign that some have accumulated, if it happened when you had Auto 
Offline Data Collection enabled.

-- 

TonyN.:'   
  '  

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: How to sort a file -

2009-08-01 Thread Tony Nelson
On 09-08-01 17:33:38, Bob Goodwin wrote:
 ...
> ...the raw log data is in descending order of date/
> time and I am adding the latest data in the same order but at the 
> bottom so the list it may show 16:00-15:30 followed by the latest 
> block on the list 16:30-16:00.
 ...

`man tac`

-- 

TonyN.:'   
  '  


-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: Conf File Backup Idea

2009-08-02 Thread Tony Nelson
On 09-08-02 08:14:25, Thom Paine wrote:
> >
> > I'm a sloppy person, so I set up an rsync-based solution derived
> > from a script I snagged through googling.  It keeps 4-hourly, 
> > daily, 4 weekly, and several monthly rotating backups of the 
> > directories I list.  Let me know if you want it.  Sometime I'll 
> > clean it up some more and put it on my web site.
> 
> 
> Tony, I think I would be interested in this. I looked at some of the
> other suggestions, and they seem to be pretty involved for what I 
> want to do. I was thinking rsync all along, but wasn't sure how to 
> get all the files I want listed.



>Will a directory full of symlinks work?

That might be tricky.  rsync has the "--files-from=FILE" option, but 
geordy_backup doesn't bother, it just lists the files (actually only
directories) in the script.  The "sloppy" principle says that I won't 
list all the files I need, but that entire directories are likely to 
be enough.

-- 

TonyN.:'   
  '  

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: dellsysidplugin2??

2009-08-03 Thread Tony Nelson

On 09-08-03 17:00:53, John Aldrich wrote:

On Monday 03 August 2009, Beartooth wrote:
>
>Well, as the OP, I have something like half an idea. One (only
> one) of the four F11 PCs at my desk, a hand-me-down, was a Dell  
server

> before I got it.
>
>It makes some sort of sense that that machine should have such a
> plugin; but is there any way it could have contaminated any others??
>
Well, my F11 machine has never been anywhere near a Dell box, so  
that's not

the answer for me at least... :-)

I must say I'm curious as hell about that I have seen that plugin
before, but never really bothered until you posted. :-)


"dellsysidplugin" is part of smbios-utils-python from Fedora:

[r...@localhost ~]# locate dellsysidplugin
/etc/yum/pluginconf.d/dellsysidplugin2.conf
/usr/lib/yum-plugins/dellsysidplugin2.py
/usr/lib/yum-plugins/dellsysidplugin2.pyc
/usr/lib/yum-plugins/dellsysidplugin2.pyo
[r...@localhost ~]# rpm -q /usr/lib/yum-plugins/dellsysidplugin2.py
package /usr/lib/yum-plugins/dellsysidplugin2.py is not installed
[r...@localhost ~]# rpm -qf /usr/lib/yum-plugins/dellsysidplugin2.py
smbios-utils-python-2.2.16-2.1.fc11.i586
[r...@localhost ~]# rpm -qi smbios-utils-python
Name: smbios-utils-python  Relocations: (not  
relocatable)

Version : 2.2.16Vendor: Fedora Project
Release : 2.1.fc11  Build Date: Thu 14 May 2009  
10:22:19 PM EDT
Install Date: Tue 28 Jul 2009 02:43:15 PM EDT  Build Host:  
x86-4.fedora.phx.redhat.com
Group   : Applications/System   Source RPM:  
libsmbios-2.2.16-2.1.fc11.src.rpm
Size: 201621   License: GPLv2+ or OSL  
2.1
Signature   : RSA/8, Mon 18 May 2009 10:34:13 AM EDT, Key ID  
1dc5c758d22e77f2

Packager: Fedora Project
URL : http://linux.dell.com/libsmbios/main
Summary : Python executables that use libsmbios
Description :
Get BIOS information, such as System product name, product id, service  
tag and
asset tag. Set service and asset tags on Dell machines. Manipulate  
wireless
cards/bluetooth on Dell laptops. Set BIOS password on select Dell  
systems.
Update BIOS on select Dell systems. Set LCD brightness on select Dell  
laptops.

[r...@localhost ~]# rpm -ql smbios-utils-python
/etc/libsmbios
/etc/libsmbios/logging.conf
/etc/yum/pluginconf.d/dellsysidplugin2.conf
/usr/bin/dellWirelessCtl
/usr/lib/yum-plugins/dellsysidplugin2.py
/usr/lib/yum-plugins/dellsysidplugin2.pyc
/usr/lib/yum-plugins/dellsysidplugin2.pyo
/usr/sbin/dellBiosUpdate
/usr/sbin/dellLcdBrightness
/usr/sbin/dellWirelessCtl
/usr/sbin/getSystemId
/usr/sbin/smbios-lcd-brightness
/usr/sbin/smbios-passwd
/usr/sbin/smbios-rbu-bios-update
/usr/sbin/smbios-sys-info
/usr/sbin/smbios-token-ctl
/usr/sbin/smbios-wakeup-ctl
/usr/sbin/smbios-wireless-ctl
/usr/share/doc/smbios-utils-python-2.2.16
/usr/share/doc/smbios-utils-python-2.2.16/COPYING-GPL
/usr/share/doc/smbios-utils-python-2.2.16/COPYING-OSL
/usr/share/doc/smbios-utils-python-2.2.16/README
/usr/share/doc/smbios-utils-python-2.2.16/boost_LICENSE_1_0_txt
/usr/share/doc/smbios-utils-python-2.2.16/getopts_LICENSE.txt
/usr/share/doc/smbios-utils-python-2.2.16/pkgheader.sh
/usr/share/smbios-utils
/usr/share/smbios-utils/cli.py
/usr/share/smbios-utils/cli.pyc
/usr/share/smbios-utils/cli.pyo
/usr/share/smbios-utils/token_blacklist.csv
/usr/share/smbios-utils/token_list.csv
[r...@localhost ~]#

--

TonyN.:'   
  '  

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: [Solved] Re: Fedora 11 does display suspend work for you: CRT vs. LCD

2009-08-03 Thread Tony Nelson
Current F11 failing to Suspend the display when the screensaver 
(actually Gnome Power Manager) blanks the screen is a bug in Kernel 
Mode Setting (KMS).  The problem can be demonstrated with xset:

xset dpms force suspend ; sleep 10 ; xset dpms force on

Disabling KMS with "nomodeset" on the kernel command line allows 
2.6.29.5 and up kernels to Suspend the display just as 2.6.29.4 
kernels can with or without KMS.

Bugzilla <https://bugzilla.redhat.com/show_bug.cgi?id=515316>


On 09-08-01 00:06:25, Tony Nelson wrote:
> On 09-07-30 20:02:46, Tony Nelson wrote:
> > On Fedora 11, does your display suspend after the screensaver 
> > activates (assuming that you have asked it to suspend)?  If you 
> > know whether it does or doesn't, please reply, and say whether 
> > your display is a CRT or LCD.  I'm trying to get more information 
> > before filing a bug.
> 
> It's the kernel.  2.6.29.4-167.fc11.i586 suspend works.  
> 2.6.29.6-213.fc11.i586 no suspend.  I'll narrow it down more later 
> with packages from koji.
> 
> I still don't know what is actually calling DPMS to suspend the 
> display, but I do have it working with the original kernel from the 
> DVD.
> 
> I wish I'd tried the kernel sooner.

-- 

TonyN.:'   <mailto:tonynel...@georgeanelson.com>
  '  <http://www.georgeanelson.com/>

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: low-level formatter for linux

2009-08-04 Thread Tony Nelson
On 09-08-04 23:34:04, Markus Kesaromous wrote:

> Sorry I did not clarify - By low level, I do  not mean Filesystem
> creation.  I mean it the level at which bad-block forwarding takes 
> place (i.e. all blocks are tested for sanity, and the bad blocks are 
> forwarded to good blocks. This  in some cases may result in reduced 
> total number of blocks, and thus might (emphasis on might) affect the 
> disk geometry.

 ...

> Now that all I have is linux, and my HD has developed many bad 
> blocks, I need to back it up and do low level formatting. So, I need 
> a Linux based low level formatting tool.

The low-level formatters I have used are all floppy-based, mostly using 
some free version of DOS (FWIW).  Find the drive manufacturer's 
utilities disk, copy it to a floppy (or whatever), and boot it.

On the drives I've low-level formatted, the process eliminates sector 
remapping, but does introduce "gaps" in the good sectors.  The capacity 
might be reduced, but mostly it just works into the spare blocks area, 
reducint it in size.

If, after such a low-level format, you still accumulate bad blocks, you 
should give up on that disk.

To reduce the amount of data loss as blocks go bad, use smartctl to 
enable Automatic Offline Data Collection.  It will scan the disk "every 
four hours", which gives the disk a good chance to catch blocks as they 
go bad but are still recoverable.

-- 

TonyN.:'   
  '  

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: [F11] sound mutes at 50%

2009-08-05 Thread Tony Nelson
On 09-08-05 06:40:53, Zacharie Elcor wrote:
> hi,
> 
> I have a sound problem since I installed F11 : if I lower volume 
> below 50%, no more sound (and 50% is too high).  I tried gnome-
> volume-control, pavucontrol, alsamixer and they all have the same 
> behavior.

This is how PA volume controls work, and appears to be By Design.  They 
have a logorythmic scale with about 100 dB range.  A mouse hover over 
the closed volume control may show the attenuation.  I think they are 
all intended to be left at or near maximum, and you are expected to 
control the actual volume with some other volume knob, say on your 
external amplifier.  This is problematic for those who aren't using an 
external amplifier, but that isn't PA's target audience.

-- 

TonyN.:'   
  '  

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: security updates causing firefox trouble?

2009-08-06 Thread Tony Nelson
On 09-08-06 14:46:31, stan wrote:
 ...
> You are trying to update firefox while it is running.  While this is
> theoretically possible, it is also possible that firefox has locked a
> component that the update process needs to access.  In other words,
> get out of firefox until the updates complete.
 ...

Updating Firefox or anything else while it is running won't bother yum. 
It may (and does) bother Firefox, when it tries to open a file that 
isn't there anymore, but all files it has open still exist, though 
without names, after they have been replaced or deleted.  That's how 
*nix filesystems work.

I restart Firefox after updating it.

-- 

TonyN.:'   
  '  

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: auto-updates

2009-08-08 Thread Tony Nelson
On 09-08-08 02:55:51, s wrote:
 ...
> I just installed Fedora 11 and there are 400 updates available. I use
> a dial-up connection in a part of town where I get an average of 2.9 
> kilobytes per second (bad phone lines).  So when something is 
> downloading that generally puts a halt on using the internet 
> connection until the download is finished. I like to know what is 
> being downloaded so that I can prioritize the downloads and know
> how long the internet connection will be tied up. For me feedback and 
> control of the process is a good thing.

If you just want to keep using the connection while a download is 
taking place, you might benefit from traffic shaping, and possibly from 
the Wonder Shaper (Google for it).

yum-presto is also good, but it only reduced the initial update from my 
own F9 to F11 uprade by about 1/3.  It only looks for one level of 
delta-RPM, so after there have been multiple updates there isn't a 
delta path.

Yum from the command line gives good feedback on what and how much, and 
reasonable feedback on how long.  (I don't use Packagekit's applet, so 
I don't know about it.)

-- 

TonyN.:'   
  '  

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: low-level formatter for linux

2009-08-08 Thread Tony Nelson
On 09-08-08 11:54:37, Bill Davidsen wrote:
 ...
> I'm not sure what you expect low level formatting to do for you,
> backing up and writing and reading to every sector will force all 
> current bad blocks to be found, 

One thing is that each of those blocks requires a long seek to the 
replacement block.  After the drive manufacturer's low-level format, 
all the blocks are in order, with only short skips past the bad blocks, 
and possibly a slight reduction in the size of the spare blocks area.


> but honestly "has developed many bad blocks" is another way of saying 
> "is failing" and is a hint to replace now. When a drive starts 
> relocating sectors (as seen in SMART), something is wrong with the 
> drive. ...
 ...

Modern drives (last 8 or so years) have good support for automatic 
remapping of bad blocks, because bad blocks are expected at the 
magnetic domain sizes being used.  With Automatic Offline Testing 
enabled, most bad blocks are remapped before complete failure and 
without data loss.

I've been using one "dying" drive for 7 more years now (with one low-
level format), and another for about 4 more years.  I'm using a drive
I found in a snowbank, without difficulty and without bad sectors.  I 
have SMART monitoring enabled, so email will be sent to root if SMART 
gets unhappy, and Auto Offline Data Collection enabled, so blocks are  
being salvaged as they go bad.  I'm /not/ using that panicky Palimpsest 
(gnome-disk-utility applet), so I don't get spurious warnings (moderate 
numbers of reallocated sectors are not bad -- though offline-
uncorrectable and pending sectors are bad).

-- 

TonyN.:'   
  '  


-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: FC-11 M2N-MX acpi

2009-08-12 Thread Tony Nelson
On 09-08-12 05:00:31, Michael D. Setzer II wrote:
> Don't know if it relates to you motherboard, but I read something and
> added this to my kernel line. acpi_enforce_resources=lax

Supposedly this only affects ASUS motherboards, and then only 
lm_sensors.  Currently, its only function is to prevent lm_sensors from 
working on ASUS motherboards.  Someday it may do more.


> That line had to do with ASUS having added something to there
> hardware, but it  isn't openly documented.

No, even though ASUS does not document their hardware, it isn't for 
anything they added.  It is a half-baked attempt to require that only 
one driver use a piece of hardware.  Currently it is only enabled for 
ASUS motherboards, and is only used by lm_sensors.  See, for example, 
this thread on LKML:

http://lkml.org/lkml/2009/1/25/105

-- 

TonyN.:'   
  '  

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: Broken downloads of FC11-x86_64 and other disturbances

2009-08-26 Thread Tony Nelson
On 09-08-26 12:23:39, li...@funkster1 wrote:
 ...
> ... I'll start another bit-torrent dl right now and I'll 
> see tonight how it goes.

If you move your "best" download to the torrent download destination, 
bittorrent will just copy the parts that aren't correct.  It will 
usually be much faster than starting from scratch.

-- 

TonyN.:'   
  '  


-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: Where is pulseaudio started?

2009-08-27 Thread Tony Nelson
On 09-08-27 10:12:44, Steve Blackwell wrote:
 ...
> ... I'd like to know where (which file) the information isstored in 
> and what program starts it. gdm? gnome? gconf?

Look in ~/.config.

See 

-- 

TonyN.:'   
  '  

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: Monitor does not go into standby when in X

2009-08-27 Thread Tony Nelson
On 09-08-27 12:25:06, Steven Stern wrote:
 ...
> It appears that either X or gnome-power-manager is just refusing to
> put the monitor into standby.
> 
> How do I get Fedora / Gnome / X to use power-saving modes for monitor
> standby?

If, from X, `xset dpms force suspend ; sleep 10 ; xset dpms force on` 
doesn't suspend your display, try booting without Kernel Modesetting 
by appending "nomodeset" to the kernel command line.

-- 

TonyN.:'   
  '  

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: need a copy of /etc/udev/rules.d/60-persistent-storage.rules

2009-08-28 Thread Tony Nelson
On 09-08-28 11:53:19, daniel shi wrote:
> hi guys,
> i have a usb mount problem, according to,
> https://bugzilla.redhat.com/show_bug.cgi?id=478679, the probable
> solution for me is to modify the /etc/udev/rules.d/60-persistent-
> storage.rules,. it exists on fedora 8, but im using fedora 10, which 
> doesn't have this file. so, if you are running fedora 8, would you 
> please send me a copy, really appreciate that. thanks in advance.

Per comment #2 in the bug, copy the file from /lib/udev/rules.d to
/etc/udev/rules.d and edit it as needed.

-- 

TonyN.:'   
  '  

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: [OT] Run LiveUSB on machine that can't boot from usbkey?

2009-08-29 Thread Tony Nelson
On 09-08-29 12:06:07, Mike Cloaked wrote:
> 
> I have an old laptop that I use for testing new versions of Fedora -
> however although it will boot of a physical CD containing a LiveCD 
> (say of F12 Alpha), it is old enough not to be able to boot off usb 
> devices since the BIOS is not arranged to do so. So a usbkey that 
> contains a LiveCD that works perfectly well on other machines won't 
> play on this particular machine (Fijitsu-Siemens Amilo D 6800)
> 
> Can anyone point me to a reference to work around this by booting off
> say an altered grub stansa in the HD which then refers to a plugged 
> in usbkey to continue loading the LiveCD files from the usbkey? Or 
> something similar?
 ...

Google "grub usb boot" and you'll probably be lucky.

-- 

TonyN.:'   
  '  

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: USB I/O performance

2009-08-30 Thread Tony Nelson
On 09-08-30 20:06:22, Roberto Ragusa wrote:
 ...
> I have a really slow flash (writes at 2MiB/s), so I tried to increase
> the number; the trick was impossible for me, the parameter is refused 
> when >120.

Just out of curiosity, what happens with 64?

-- 

TonyN.:'   
  '  

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: rogue suspend is driving me nuts

2009-08-31 Thread Tony Nelson
On 09-08-31 13:44:11, brian wrote:
> 2.6.29.6-217.2.16.fc11.i586
> 
> For the past couple of weeks, my desktop machine has been shutting
> down on its own. I thought it might be a hardware problem until I 
> noticed that, each time, /var/log/pm-suspend.log was being written 
> to:
> 
> Initial commandline parameters:
> Mon Aug 31 12:53:31 EDT 2009: Running hooks for suspend.
> /usr/lib/pm-utils/sleep.d/00auto-quirk suspend suspend: Adding quirks 
> from HAL: --quirk-dpms-on --quirk-dpms-suspend --quirk-vbe-post 
> --quirk-vbemode-restore --quirk-vbestate-restore --quirk-vga-mode-3
> 
> ... etc.
> 
> So, what the heck is driving this? Can anyone tell me what is calling 
> /usr/lib/pm-utils/sleep.d/*? This box is quickly becoming unusable.

If you don't need suspend, perhaps you can disable it?  Though I'm not 
sure if that will make it stop.

If you can't solve the problem, and you don't need fancy Power 
Management services, you can `yum remove gnome-power-manager`.  I did 
that and also removed gnome-screensaver, replacing both with 
xscreensaver.  I don't use suspend or hibernate, but I do want the 
display to sleep, and, as a bonus, I get better looking screensavers.  
I did lose the ability to switch users without first unlocking the 
screen.

-- 

TonyN.:'   
  '  

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: FC11 - KVM based VM become halt after heavy rsync

2009-08-31 Thread Tony Nelson
On 09-08-31 15:40:08, Linux student wrote:
> Mohammad Mateen Aslam on 2009-08-28 19:14 PM +0500, wrote :
> > Hi guys
> >
> > I have am using FC11 64bit on Host and same OS on KVM based guest
> > machine. I am using TAP based routing network inside host. I am 
> > using virtio network driver for my guest machine
> >
> > When i transfer huge data via rsync from another live host my guest
> > machine got halt with following errors in log. I need to restart
> > network service to make guest VM back. 
> >
> > With 512M RAM for guest VM, it got halt for 5G data transffer via
> > rsync With 1G RAM  for guest VM, it got halt if  i try to shift 15G 
> > data transffer via rsync
> >
> > Aug 28 12:43:08 phili-p kernel: swapper: page allocation failure.
> > order:0, mode:0x20
 ...

> > Note: i want to use my VM for heavy rsync backups. Experts are 
> > request to have some solution for the problem
 ...
> Any one facing same problem?..

No, but I do use rsync.  It appears that the VM is running out of 
memory.  You don't give your rsync command, but I suspect that you are 
using an option that requires extra memory, such as "-H" (preserve hard 
links), or possibly not using "-r" (recursive) for the new incremental 
scan that doesn't need to load all the directory info into memory.

Rsync can use a lot of memory if some file being tranfered is huge.  It 
will use less memory for the same amount of data in smaller files.

You don't say quite what you're doing, but if you are just copying the 
data (that is, there isn't a destination that is nearly the same), you 
might not need to use rsync at all, but some other file copy utility 
instead, such as scp (slow but secure and reliable).  Umm, when I want 
to copy a few GiB from a VM to the host, I now shut down the VM and 
mount its root locally, and do a normal copy.

-- 

TonyN.:'   
  '  


-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: FC11 - KVM based VM become halt after heavy rsync

2009-09-01 Thread Tony Nelson
On 09-09-01 16:11:56, Mohammad Mateen Aslam wrote:
 ...
> yes i am doing also doing --delete and --exclude some directories 
> from a list. Here is command i am using
> 
> rsync -e ssh -l bkp-user -avR --delete --exclude-from=${EXCLUDES}

I don't see anything that would use extra memory, though usually the 
options will precede the source, and ssh is the default for -e.

 ...
> I have taken very big backups in past on xen based VM's. 
> Chocking Network due to heavy rsync is something amazing for me. 

I think that is just a side effect of your VM running out of memory.  
Running out of memory is what you need to fix.  Did the Xen VMs have 
the more memory?

-- 

TonyN.:'   
  '  

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: Question on shredding a terebyte drive

2009-09-02 Thread Tony Nelson
On 09-09-02 17:39:24, Cameron Simpson wrote:
 ...
> The purpose of shred is to rewrite the data many times with random
> data, ince it is technically possibly to read "old" patterns from the 
> drive with the right (expensive and special) hardware.

Proof?  This /may/ have been true for drives of old, with their non-
overlapping data tracks.

-- 

TonyN.:'   
  '  

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: Fedora 11: no display after init sequence

2009-09-03 Thread Tony Nelson
On 09-09-03 11:06:15, wwp wrote:
 ...
> On Thu, 3 Sep 2009 16:03:46 +0200 wwp  wrote:
> 
> > after I upgraded from Fedora 10 to 11 using yum preupgrade (as
 ...
> (*) anyway, that 2.6.30 kernel didn't seem very stable to me at first
> glance, I got a system complete hang while in init 2 and after that
> fsck crashed while checking the root fs ;-).

Do you have updates-testing enabled?  F11 doesn't include 2.6.30 
kernels, but there is one in updates-testing.

-- 

TonyN.:'   
  '  

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: rogue suspend is driving me nuts

2009-09-04 Thread Tony Nelson
On 09-09-03 21:33:35, brian wrote:
> On 08/31/2009 07:48 PM, brian wrote:
> > On 08/31/2009 06:05 PM, Tony Nelson wrote:
> >>
> >> If you can't solve the problem, and you don't need fancy Power
> >> Management services, you can `yum remove gnome-power-manager`. I
> >> did that and also removed gnome-screensaver, replacing both with
> >> xscreensaver. I don't use suspend or hibernate, but I do want the
> >> display to sleep, and, as a bonus, I get better looking.
> >> screensavers I did lose the ability to switch users without first 
> >> unlocking the screen.
> >>
> >
> > OK, I've done that. I should know by tomorrow if it worked, as this
> > box has been shutting down several times a day.
> 
> After a couple of days, it looks like this did the trick. Thanks.

Excellent.  Sorry about the other issues.

-- 

TonyN.:'   <mailto:tonynel...@georgeanelson.com>
  '  <http://www.georgeanelson.com/>

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: Fedora 11: no display after init sequence

2009-09-04 Thread Tony Nelson
On 09-09-04 11:30:09, wwp wrote:

> On Thu, 03 Sep 2009 12:06:40 -0400 Tony Nelson
>  wrote:

> > Do you have updates-testing enabled?  F11 doesn't include 2.6.30 
> > kernels, but there is one in updates-testing.
> 
> D'oh! You're right:
 ...
> Thanks a bunch for that hint, Tony!

You're welcome.


> Now that I have the latest 2.6.29 kernel installed from RPMs, and 
> that I disabled the updates-testing repos, is there a way to tell the
> system to remove this testing kernel, other than `rpm -e`?

`rpm -e`is fine, but yum will remove dependencies as well:

yum remove kernel\*-2.6.30\*

If it wants to remove the world, say "no" and look at the dependencies.

-- 

TonyN.:'   <mailto:tonynel...@georgeanelson.com>
  '  <http://www.georgeanelson.com/>

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: USB I/O performance

2009-09-05 Thread Tony Nelson
On 09-09-05 08:22:36, Roberto Ragusa wrote:
> Tony Nelson wrote:
> > On 09-08-30 20:06:22, Roberto Ragusa wrote:
> >  ...
> >> I have a really slow flash (writes at 2MiB/s), so I tried to
> >> increase the number; the trick was impossible for me, the  
> >> parameter is refused when >120.
> > 
> > Just out of curiosity, what happens with 64?
> 
> 64 or 60 appears to slow it down a bit (2.5MiB/s becomes 2.2MiB/s).

Thanks.  So it's not just a "power of 2" issue.

I wonder if it is related to the size of an "erase" block (which I read 
are usually 64K, 128K, or 256K)?  When writing is slow, there may be 
lots of read/alter/rewrites happening, with extra wear on the flash.

-- 

TonyN.:'   <mailto:tonynel...@georgeanelson.com>
  '  <http://www.georgeanelson.com/>

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: Cannot upgrade to F11: /usr/tmp is not a symbolic link???

2009-09-05 Thread Tony Nelson
On 09-09-05 19:05:48, Dan Hensley wrote:
> I'm trying to upgrade my Fedora 9 system to Fedora 11 from DVD, but
> right after I identify my partition, it gives me an error saying
> that /usr/tmp is not a symbolic link, so please reset it to its
> original
> state.
> 
> The problem is, /usr/tmp IS in its original state.  It was a symbolic
> link pointing to /var/tmp.  But I changed it anyway to be a symbolic
> link pointing to /tmp instead, and the installer is still 
> complaining.
> 
> How do I get past this?  I've Googled but have not found any
> resolutions--only one other person with a similar question, but no
> answer.

WAG:  permissions?  owner?

# ll -d /usr/tmp
lrwxrwxrwx. 1 root root 10 2009-07-28 07:31 /usr/tmp -> ../var/tmp

-- 

TonyN.:'   
  '  

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: Cannot upgrade to F11: /usr/tmp is not a symbolic link???

2009-09-06 Thread Tony Nelson
On 09-09-06 10:15:51, Dan Hensley wrote:
 ...
> Either way I saw in the installation instructions that you can't
> upgrade from Fedora 9 directly to Fedora 11, so I'm giving up and am 
> going to install from scratch.

I upgraded directly from F9 to F11 using the DVD.  (I did use a copy
of my installation, as I always do, and made the copy to a new EXT4 
partition.)

-- 

TonyN.:'   
  '  


-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: Cannot upgrade to F11: /usr/tmp is not a symbolic link???

2009-09-06 Thread Tony Nelson
On 09-09-06 09:50:24, Aaron Konstam wrote:
> On Sat, 2009-09-05 at 19:06 -0700, Mike Wright wrote:
> > Tony Nelson wrote:
 ...
> > > # ll -d /usr/tmp
> > > lrwxrwxrwx. 1 root root 10 2009-07-28 07:31 /usr/tmp ->
> > > ../var/tmp
> > 
> > shouldn't that be ../../var/tmp  ?
> > 
> Indeed it should..

Nonsense.  Either read the thread or try it yourself before posting.

-- 

TonyN.:'   <mailto:tonynel...@georgeanelson.com>
  '  <http://www.georgeanelson.com/>

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: F11: Firefox v3.5.2-2 causes daily system lockouts.

2009-09-06 Thread Tony Nelson
On 09-09-06 13:20:31, Daniel B. Thurman wrote:
> 
> Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.2) Gecko/20090803 
> Fedora/3.5.2-2.fc11 Firefox/3.5.2
> 
> After extensive testing with the divide & conquer
> method, I have discovered that FireFox is causing
> all sorts of hissy-fits, the worst, being a complete
> system lockout, once per day, requiring a hard-reboot.
> This is cause during inactivity, and no, it is NOT the
> Gnome screen-saver.  As long as FF is NOT running,
> I used my system for 1 week, gnome screen-saver w/
> random - not a single lockout, no problems.
> 
> The second worse part about FF is the rendering of
> the graphics are horrible - extra black lines vertically,
> horizontally, both on forums with tables, and some
> weird characters every now and then.

I also see font rendering artifacts, mostly in Firefox, but in other 
apps as well.  I blame the video driver, possibly the EXA acceleration, 
though I haven't tried XAA yet (per `man radeon`).  I have an old ATI 
Radeon RV100 QY [Radeon 7000/VE] rev 0.  It could be that your lockups 
have the same cause.

-- 

TonyN.:'   
  '  

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: Fedora 11: no display after init sequence

2009-09-11 Thread Tony Nelson
On 09-09-11 13:19:46, wwp wrote:
> Hello Tony,
> 
> 
> On Thu, 03 Sep 2009 12:06:40 -0400 Tony Nelson
>  wrote:
> 
> > On 09-09-03 11:06:15, wwp wrote:
> >  ...
> > > On Thu, 3 Sep 2009 16:03:46 +0200 wwp  wrote:
> > > 
> > > > after I upgraded from Fedora 10 to 11 using yum preupgrade (as
> >  ...
> > > (*) anyway, that 2.6.30 kernel didn't seem very stable to me at
> > > first glance, I got a system complete hang while in init 2 and 
> > > after that fsck crashed while checking the root fs ;-).
> > 
> > Do you have updates-testing enabled?  F11 doesn't include 2.6.30 
> > kernels, but there is one in updates-testing.
> 
> Now that kernel-PAE-2.6.30.5-43.fc11.i686 is available from updates, 
> I can reproduce the same behaviour w/ "the latest kernel available 
> from updates repos", hah :-\.

Hmm.  If you didn't file a bug before, now would be a good time.

-- 

TonyN.:'   <mailto:tonynel...@georgeanelson.com>
  '  <http://www.georgeanelson.com/>

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: F11: UTF-8 Locale issue

2009-09-13 Thread Tony Nelson
On 09-09-13 22:49:06, Ed Greshko wrote:
> Daniel B. Thurman wrote:

> > I already said that when I first started system.config.language 
> > that the "default" was set to Afrikaan or at least this item was
> > highlighted, assumed that this "default" is wrong and proceeded to
> > change this item to: "English (USA)", and closed the program.

That suggests that system-config-language could not find any default.

 ...
> > ... I compared F9 & F11 /etc/sysconfig/i18n as follows:
> >
> > In F9: LANG="en_US.utf8" SYSFONT="latarcyrheb-sun16"
> >
> > In F11: # LANG=C considerably speeds up boot (measured 5sec) --
> > bernie LANG="en_US.UTF-8" SYSFONT="latarcyrheb-sun16"
> >
> > They are pretty much same except for that weird commented out 
> > LANG=C line, for which I never put there.
> >
> > It is possible that the system log message is not a "locale" issue
> > and points to something else, I dunno...

 ...
> But, I would probably delete that commented out line from
> /etc/sysconfig/i18n just to make sure something weird isn't going on
> with that line. If you didn't put it there...it begs the
> question "who did"? Who is bernie?

I think that the "commented out line" should be made like the one from 
F9, as currently no default LANG is being set.  I could imagine such a
thing having come from Rawhide at one time.  Check for any .rpmnew 
files like /etc/sysconfig/i18n.rpmnew.

-- 

TonyN.:'   
  '  

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: Question on using a Joystick as a mouse in Fedora please?

2009-09-14 Thread Tony Nelson
On 09-09-14 10:45:28, Rick Sewill wrote:
> I have a question on using a Joystick as a mouse in Fedora.  
> 
> I wish to avoid getting carpal tunnel syndrome.
> I noticed, when I use regular mice, I have poor hand position.
> So far, my wrist is okay...but it gets red if I'm not careful.
> 
> I was thinking, it might be better for me,
> if I could use a joystick as a mouse.

You might first try setting the mouse Sensitivity and Pointer Speed as 
low as they go, so that moving the mouse across the screen will require 
moving your hand rather than flexing your wrist.

Note that the injury one gets from repeatedly flexing your wrist is not 
to the carpal tunnels.

Injury to the carpal tunnels can result from extended periods of typing 
with the wrists bent up to type on a low keyboard.  Raising the 
keyboard to upper-chest level will prevent such bad wrist positioning, 
as will most "standing stations".  A "wrist rest" also straightens the 
wrists, but applies pressure to the carpal tunnels, adding to their 
irritation.

-- 

TonyN.:'   
  '  

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: booting fedora 11 from a fedora 10 grub?

2009-09-19 Thread Tony Nelson
On 09-09-19 07:57:03, James Allsopp wrote:
> ... I don't really understand why it's using the UUID, ...

Because the GRUB stanza you copied to boot F11 says:

root=UUID=7ba6f364-68c2-4dad-a54e-18c3464b0eb5

That is, it says root is identified by its UUID.

-- 

TonyN.:'   
  '  

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: booting fedora 11 from a fedora 10 grub?

2009-09-19 Thread Tony Nelson
On 09-09-19 12:05:20, James Allsopp wrote:
> So is there some sort of conversion in the initrd converting from the
> UUId to something conventional like /dev/sdb2,

No, the UUID is just looked at for each volume until a match is found 
(or not).  Try the `blkid` command; see `man blkid`.

> and if so why doesn't just substituting /dev/sdb2 not work.

Perhaps that is not the correct name, or your "root" line is wrong.  It 
is also possible that the UUID was changed when you reinstalled (though 
it should not change unless you reformatted the drive).


> 2009/9/19 Tony Nelson 
> 
> > On 09-09-19 07:57:03, James Allsopp wrote:
> > > ... I don't really understand why it's using the UUID, ...
> >
> > Because the GRUB stanza you copied to boot F11 says:
> >
> >root=UUID=7ba6f364-68c2-4dad-a54e-18c3464b0eb5
> >
> > That is, it says root is identified by its UUID.

-- 

TonyN.:'   <mailto:tonynel...@georgeanelson.com>
  '  <http://www.georgeanelson.com/>

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: booting fedora 11 from a fedora 10 grub?

2009-09-20 Thread Tony Nelson
On 09-09-20 08:26:26, James Allsopp wrote:
> Ok, I've tried substituting /dev/sdb2 and /dev/sda2 for the root,
> nothing changes.
> 
> When I installed the F11 OS on sdb, I asked it to install the
> bootloader on sda to overwrite my existing bootloader, this didn't 
> work, so I rescued the 10 OS and from there I reinstalled the 
> bootloader onto /dev/sda.  This got F10 working again. I mounted dev/
> sdb1 and copied the lines out of the F11 grub.conf into the F10 (/
> dev/sda1) grub.conf then reinstalled the bootloader grub-install /
> dev/sda). F10 boots, but F11 doesn't., it gives me an Error 17.

`info grub` shows that Error 17 is "Cannot mount selected partition", 
which means that it can't handle the "root (hd1,0)" line.  Check that 
"(hd1,0)" is the /boot partition for F11, containing the vmlinuz and 
initrd files for F11, and that it is an EXT2/3 partition.

You might have an easier time just chainloading to the F11 GRUB.  Use a 
stanza like the "Other" stanza, but for "(hd1,0)" (if that is the 
correct partition).


> Here's the F10 grub.conf
> # grub.conf generated by anaconda
> #
> # Note that you do not have to rerun grub after making changes to 
> this
> file
> # NOTICE:  You have a /boot partition.  This means that
> #  all kernel and initrd paths are relative to /boot/, eg.
> #  root (hd1,0)
> #  kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00
> #  initrd /initrd-version.img
> #boot=/dev/sdb
> default=0
> timeout=5
> splashimage=(hd0,0)/grub/splash.xpm.gz
> hiddenmenu
> title Fedora (2.6.27.30-170.2.82.fc10.i686)
> root (hd0,0)
> kernel /vmlinuz-2.6.27.30-170.2.82.fc10.i686 ro
> root=/dev/VolGroup00/LogVol00 rhgb quiet vga=0x318
> initrd /initrd-2.6.27.30-170.2.82.fc10.i686.img
> title Fedora 11 64-bit
> root (hd1,0)
> kernel /vmlinuz-2.6.29.4-167.fc11.x86_64 ro
> root=UUID=7ba6f364-68c2-4dad-a54e-18c3464b0eb5 rhgb quiet
> initrd /initrd-2.6.29.4-167.fc11.x86_64.img
> title Other
> rootnoverify (hd2,0)
> chainloader +1
> 
> And here's the F11 grub.conf
> default=0
> timeout=5
> splashimage=(hd1,0)/grub/splash.xpm.gz
> hiddenmenu
> title Fedora (2.6.29.4-167.fc11.x86_64)
> root (hd1,0)
> kernel /vmlinuz-2.6.29.4-167.fc11.x86_64 ro
> root=UUID=7ba6f364-68c2-4dad-a54e-18c3464b0eb5 rhgb quiet
> initrd /initrd-2.6.29.4-167.fc11.x86_64.img
> title Other
> rootnoverify (hd2,0)
> chainloader +1
> title Fedora 10
> rootnoverify (hd0,0)
> chainloader +1

-- 

TonyN.:'   
  '  

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: Questionable Status

2009-09-23 Thread Tony Nelson
On 09-09-23 09:29:56, Gene Poole wrote:
> I've very recently upgraded 2 of my machines.  One machine was
> upgraded from Fedora 9 to Fedora 11, and the other machine was 
> upgraded from Fedora 10 to Fedora 11.  On machine 1 I have 2-hard 
> disks (both Seagate's - 500 GB and 1000 GB), on machine 2 I have 1-
> hard disk (Western Digital 320 GB).  All of the interfaces are SATA.  
> The questionable status is that on machine 1 the 500 GB drive is 
> showing as failing and on machine 2 the 20 GB drive is showing as 
> failing. Neither drive, under the old releases, showed up as failing. 
> How do I know that these drive are truly failing?

1) Wait.  If the disk is going bad, it will fail.

2) Run as root `smartctl -A /dev/sdx` (for each sdx) and look at the 
"WHEN_FAILED" column; it will be "-" if not failed.

3) Run as root `smartctl -a /dev/sdx` (for each sdx) and look at the 
whole output.

4) Run as root `smartctl -t long /dev/sdx` (for each sdx) and wait 
until the time the test should finish, then view the results with 
`smartctl -l selftest /dev/sdx` (for each sdx) or `smartctl -a /dev/
sdx` (for each sdx).

See `man smartctl`.

Note that the new disk health monitoring tool "palimpsest" in package 
gnome-disk-utility is panicky and not to be trusted, unless you like 
buying lots of hard drives.  It doesn't just look at "WHEN_FAILED", but 
has its own criteria such as nonzero Reallocated_Event_Count, which is 
fairly normal for a modern drive that has been in use for a while.  A 
nonzero Current_Pending_Sector or Offline_Uncorrectable are bad, as 
they mean data loss, though not general drive failure.  I recommend 
enabling Automatic Offline Testing with `smartctl -o on /dev/sdx` (for 
each sdx), which will do a surface scan every few hours, giving the
best chance to repair or recover any sectors that are going bad.

-- 

TonyN.:'   
  '  

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: Why update Swahili?

2009-09-23 Thread Tony Nelson
On 09-09-23 04:15:14, Andras Simon wrote:

> No. Neither are bash commands, but you issue them in a shell (which,
> in your case, is probably bash). Since the shell sees your command 
> and its arguments first, it can and does manipulate them. One thing 
> it does with them is

attempt to

> expand special characters, such as * and ?; so
> unless you escape those, yum or rm will never see them, only the
> result(s) of the expansion

, unless there was no match, in which case bash will pass on the "*",
making the yum command depend on the contents of the current directory
(see `man bash` "Pathname Expansion" and the various *glob options)

> . 'rm *' will remove all files in the
> current directory, but 'rm \*' will only remove the one whose name is
> '*'. See any intro to unix in general and shells in particular.



-- 

TonyN.:'   
  '  


-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: My WebDav Calendar for Sunbird/Lightning has stopped working

2009-09-24 Thread Tony Nelson
On 09-09-23 23:04:59, Kevin J. Cummings wrote:
> My Home server has a WebDav Calendar named Home in 
> /var/www/html/dav/Home.ics
 ...

> > Error: Skipping Operating System timezone 'America/New'. TypeError:
> tz has no properties
...

> The only package changes I can see happened before:
> 
> > Sep 23 00:40:12 Updated: perl-Net-CIDR-Lite-0.20-4.fc10.noarch
> > Sep 23 00:40:12 Updated: perl-MLDBM-2.01-7.fc10.noarch
> > Sep 23 00:40:13 Updated: perl-Net-CIDR-0.13-2.fc10.noarch
> > Sep 23 00:40:15 Updated: perl-Net-DNS-0.65-1.2.cf.fc10.i386
> > Sep 23 12:18:15 Installed: sunbird-0.9-3.fc10.i386
> 
> Nothing jumps out at me.

FWIW, here tzdata was updated today, so perhaps, if you have automatic 
updates of some form, you actually have that update?

-- 

TonyN.:'   
  '  


-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: sftp access to fedora11

2009-09-24 Thread Tony Nelson
On 09-09-24 00:24:58, Todd Zullinger wrote:
> online.service@gmail.com  wrote:
> > I don't have any ftp server installed/turned on , why i still have
> > sftp access?
> 
> Because sftp is provided by ssh.  So if you're running an ssh daemon,
> you'll have sftp by default.

And if you want to get rid of it, remove the "SubSystem" line in the 
server's /etc/ssh/sshd_config.  See `man sshd_config`.

-- 

TonyN.:'   
  '  

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: floppy disk formatting: how to?

2009-09-24 Thread Tony Nelson
On 09-09-24 16:29:28, Hiisi wrote:
 ...
> Hello, guys!
> Thanks for the help you gave me. 'MAKEDEV fd0' did the trick - I can
> format floppy as root. But when I'm trying it as usual user I have:
> $ floppy --ext2 --format A:
> floppy 0.16 Copyright 2001-2006, Double Precision, Inc.
> 
> /dev/fd0H1440: Lupa evätty
> No formattable capacities for /dev/fd0
> 
> 'Lupa evätty' means 'Permission denied'
> Do you, Floppy GuRus, have a solution to that also?

Here `MAKEDEV -n fd0` said all the device nodes would have group 
"floppy".  If that is what your device nodes show, then adding the user 
to the "floppy" group should work.

-- 

TonyN.:'   
  '  

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: Setup of DNS caching name server for home server

2009-09-24 Thread Tony Nelson
On 09-09-24 23:56:29, Steven W. Orr wrote:
> On 09/24/09 16:49, quoth Bruno Wolff III:
> > On Thu, Sep 24, 2009 at 16:04:03 -0400,
> >   "Steven W. Orr"  wrote:
> >> What I want to do is to set up the DNS Caching Nameserver. The 
> >> goal is:
> >> * for saturn to use OpenDNS.org
> >> * For client machines in my network to use saturn via the caching
> >> server
> > 
> > Do you know that you can set up your own resolver/cache instead of 
> > a forwarder/cache and then not have to deal with opendns?
> 
> Ok. I'll byte. Where do I start reading? Somebody has to be my
> resolver. 
 ...

How about you?  That's what I'm doing, but only for one machine.  The 
Fedora bind RPM is set up as a caching-nameserver, so just let it do 
its thing (unless your ISP blocks outbound port 53 traffic).  You do 
need to set your server's /etc/resolv.conf to 127.0.0.1, and for your 
other machines, the server's IP, and in /etc/named.conf, add the 
server's IP to the listen-on line, and add your local subnet to the 
allow-query and allow-query-cache lines (I hope I know what I'm talking 
about).  There are some hints in /usr/share/doc/bind-*/sample/etc/
named.conf.

-- 

TonyN.:'   
  '  


-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: latest F11 64-bit Firefox unstable for me

2009-09-24 Thread Tony Nelson
On 09-09-24 22:38:07, D. Hugh Redelmeier wrote:
 ...
> This is getting very tiresome.  What should I do?  Is there a better 
> instrumented version of FF?

Well, yes, it's the one you have with debuginfo installed (`debuginfo-
install firefox`, 17 packages and 227 MB here, if I'd done it).  Then 
attach to the running firefox with gdb (use `ps -ef | grep firefox` to 
find the real firefox and its pid) with `gdb path/to/firefox the_pid`,
and wait for trouble.

I'd expect that firefox is already able to report its crashes, and you 
have done so, and you just want the information for yourself.

-- 

TonyN.:'   
  '  

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: Setup of DNS caching name server for home server

2009-09-25 Thread Tony Nelson
On 09-09-25 11:26:07, Tim wrote:
> On Thu, 2009-09-24 at 16:04 -0400, Steven W. Orr wrote:
 ...
> > I saw instructions to do this
> > 
> > yum install caching-nameserver
> > 
> > It installed bind. BTW, if I say
> > 
> > rpm -q caching-nameserver
> > 
> > it says package caching-nameserver is not installed.
> 
> That sounds odd.  Did you check for typing errors?

Package "bind" provides caching-nameserver nowadays.

-- 

TonyN.:'   
  '  

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: I can't connect via ssh

2009-09-25 Thread Tony Nelson
On 09-09-25 16:41:19, Aldo Foot wrote:
> On Fri, Sep 25, 2009 at 12:20 PM, Germán Racca
>  wrote:
> > Hi list:
> >
> > I need to use ssh to transfer data between a PC and a notebook, 
> > both with Fedora 11, but the result is, from notebook to PC:
> >
> >
> > $ ssh xx.xx.xx.xx
> > ssh: connect to host xx.xx.xx.xx port 22: No route to host

What is the output of `route` on that system?  I expect that there is 
no route to the destination address.  "route" can also be used to add a 
route with a command like `route add xx.xx.xx.xx dev eth0`, see `man 
route`.

> > $ ping xx.xx.xx.xx
> > >From xx.xx.xx.xx icmp_seq=11 Destination Host Unreachable
> > >From xx.xx.xx.xx icmp_seq=12 Destination Host Unreachable
> > >From xx.xx.xx.xx icmp_seq=13 Destination Host Unreachable
> >
> > >From PC to notebook there is no response.
> > Please can anybody help me?
> __
> 
> is this problem with ssh only?
> presumably you have a connection to the internet.
> 
> and thus the NIC is up
>   # ifconfig | grep UP
> 
> on both machines, what do you get with:
>   # iptables -L | grep ssh
> 
> check that the sshd service is running
>   # service sshd status

I expect that the problem now is the route, but how are the two 
computers connected?  If they both connect to a router / switch and can 
both use the Internet, then they should already see each other 
(usually).  If they're just cabled together, well, that might not be 
working.

-- 

TonyN.:'   
  '  

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: installing new graphics card

2009-09-26 Thread Tony Nelson
On 09-09-26 19:49:31, Gerhard Magnus wrote:
 ...
> Now, the matter of the new card. It's nvidia GeForce 6200 512MB -- of
> the Series 6 (I think) which, according to
> 
> http://www.fedoraguide.info/index.php?
> title=Main_Page#Nvidia_.28For_GeForce_6.2C_7.2C_8.2C_9_.26_200_series_cards.29
> 
> should work with FC11, although gamers on the Web complain about it's
> being too old and slow. It works fine through the grub menu and the
> boot process up to starting X -- and then the monitor stops getting a
> signal.
 ...

Try booting with the "nomodeset" kernel parameter, to disable Kernel 
Mode Setting for X?

-- 

TonyN.:'   
  '  

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: gnome-terminal question

2009-09-27 Thread Tony Nelson
On 09-09-27 19:19:48, Richard England wrote:
> On 09/27/2009 02:09 PM, bruce wrote:
> > hey...
> >
> > trying to solve an issue on changing the title of the current
> > gnome-terminal session.
> >
> > how does one go about changing the title of the current
> > gnome-terminal via the cmdline...
> >
> > i'm trying to figure out if you can use escape sequences, or
> > modifying the profile for the terminal.
> >
> > trying some of the escape sequences from different web sites 
> > haven't worked...
> >
> > thoughts/comments/pointers appreciated...
> >
> > i'm running fedora 9
> >
> > thanks
> >
> >
> >
> Have you investigated
> 
> http://tldp.org/HOWTO/Xterm-Title.html
> 
> What have you tried?  If you post your trials, someone may spot a 
> problem or we may be able to test it.

I think the problem is that PROMPT_COMMAND is setting it each command, 
after you set it.  Either unset PROMPT_COMMAND or change it to do what 
you want.

-- 

TonyN.:'   
  '  

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: backlight control

2009-09-29 Thread Tony Nelson
On 09-09-29 18:43:39, Konstantin Svist wrote:
 ...
> Thanks, that was it.
> The problem is that apparently X thinks my laptop panel doesn't
> support DPMS and because of that the backlight doesn't disable
> 
> Where do I dig now?

If `xset dpms force suspend ; sleep 10 ; xset dpms force on` doesn't 
work, try booting with the "nomodeset" kernel parameter.

-- 

TonyN.:'   
  '  


-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: hde: lost interrupt

2009-09-30 Thread Tony Nelson
On 09-09-30 11:24:22, Richard Heck wrote:
> 
> I am getting a lot of kernel errors of that type:
>  hde: lost interrupt
> on one of my servers. (This is actually CentOS, not Fedora.) The
> errors are intermittent, but when they start they often will just 
> keep coming, and the disk has locked up a couple times completely.
> 
> Something presumably needs to be replaced, but the question is: What? 
> The drive is a 500GB EIDE drive, connected via a Promise Ultra 100TX2 
> controller to some ancient motherboard. (This is a 300MHz Pentium II, 
> acting as a server, including a media server.) The controller is
> needed because the old mobo bios won't deal with such large drives. 
> There's another drive connected to the Promise, as hdf, and I'm not 
> seeing errors from there. So, all in all, it looks as if it's 
> probably the drive, even though the drive is less than a year old. 
> But before I replace it, I thought I'd ask and see if anyone has any 
> other ideas.  It'll be a hassle to replace it, since it's part of a 
> volume group, etc.

Cable?  Either a better cable, or improve its routing, or just crumple 
it so it can't cozy up to anything else, or simply unplug and replug 
it?  Also, what's on the power connector?  Unplug and replug that one 
too.

Replacing the drive can be done by adding a new drive to the Volume 
Group and using pvmove (not that I've done it).

-- 

TonyN.:'   
  '  


-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: backlight control

2009-09-30 Thread Tony Nelson
On 09-09-30 01:27:30, Konstantin Svist wrote:
> On 09/29/2009 04:00 PM, Tony Nelson wrote:
> > On 09-09-29 18:43:39, Konstantin Svist wrote:
> >   ...
> >
> >> Thanks, that was it.
> >> The problem is that apparently X thinks my laptop panel doesn't
> >> support DPMS and because of that the backlight doesn't disable
> >>
> >> Where do I dig now?
> >>  
> > If `xset dpms force suspend ; sleep 10 ; xset dpms force on` 
> > doesn't work, try booting with the "nomodeset" kernel parameter.
> >
> >
> 
> xset didn't work but nomodeset made it work.
> What's going on here? I thought modesetting was fully
> working/supported

Work in progress in the video drivers.

> I really liked the modesetting, too...
> Who do I bug to fix it? Or how would I go about fixing it myself?

File a bug against your video driver or just against xorg.  Fixing "it" 
(Kernel Mode Setting) yourself is not feasible.  Use the workaround you 
have now.

-- 

TonyN.:'   <mailto:tonynel...@georgeanelson.com>
  '  <http://www.georgeanelson.com/>

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: Questionable Status

2009-10-01 Thread Tony Nelson
On 09-10-01 09:45:06, David Timms wrote:
> On 09/24/2009 02:05 AM, Frank Cox wrote:
> > I haven't seen anything about SMART on any of my Fedora desktops;
> what am I
> > missing?
> You are missing disks with faults ;-) It's a good thing.

Or you may not have Palimpsest (gnome-disk-utility) installed or 
running.  I got it on a new install of F11-Live, but not on an upgrade 
from F9.

-- 

TonyN.:'   
  '  

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: Questionable Status

2009-10-01 Thread Tony Nelson
On 09-10-01 09:09:40, Robin Laing wrote:
> Tony Nelson wrote:
> > On 09-09-23 09:29:56, Gene Poole wrote:
> >> I've very recently upgraded 2 of my machines.  One machine was
> >> upgraded from Fedora 9 to Fedora 11, and the other machine was 
> >> upgraded from Fedora 10 to Fedora 11.  On machine 1 I have 2-hard 
> >> disks (both Seagate's - 500 GB and 1000 GB), on machine 2 I have 
> >> 1- hard disk (Western Digital 320 GB).  All of the interfaces are
> >> SATA.  The questionable status is that on machine 1 the 500 GB 
> >> drive is showing as failing and on machine 2 the 20 GB drive is 
> >> showing as failing. Neither drive, under the old releases, showed 
> >> up as failing.  How do I know that these drive are truly failing?
> > 
> > 1) Wait.  If the disk is going bad, it will fail.
> > 
> > 2) Run as root `smartctl -A /dev/sdx` (for each sdx) and look at 
> > the "WHEN_FAILED" column; it will be "-" if not failed.
> > 
> > 3) Run as root `smartctl -a /dev/sdx` (for each sdx) and look at 
> > the whole output.
> > 
> > 4) Run as root `smartctl -t long /dev/sdx` (for each sdx) and wait 
> > until the time the test should finish, then view the results with 
> > `smartctl -l selftest /dev/sdx` (for each sdx) or `smartctl -a
> > /dev/sdx` (for each sdx).
> > 
> > See `man smartctl`.
> > 
> > Note that the new disk health monitoring tool "palimpsest" in 
> > package gnome-disk-utility is panicky and not to be trusted, unless 
> > you like buying lots of hard drives.  It doesn't just look at 
> > "WHEN_FAILED", but has its own criteria such as nonzero 
> > Reallocated_Event_Count, which is fairly normal for a modern drive 
> > that has been in use for a while.  A nonzero Current_Pending_Sector 
> > or Offline_Uncorrectable are bad, as they mean data loss, though 
> > not general drive failure.  I recommend enabling Automatic Offline 
> > Testing with `smartctl -o on /dev/sdx` (for 
> > each sdx), which will do a surface scan every few hours, giving the
> > best chance to repair or recover any sectors that are going bad.
> > 
> 
> Will the `smartctl -o on /dev/sdx` (for > each sdx), fix the nonzero 
> Reallocated_Event_Count issue on RAID arrays in a non-desctructive
> way? 

No.  Nor for non-RAID either.  It doesn't "fix" Reallocated_Event_Count
-- rather, its purpose is to make Reallocated_Event_Count go up faster, 
in that as soon as a sector starts to go bad it will be reallocated if 
readable, and the sooner the more likely it is possible.  A non-zero 
Reallocated_Event_Count is not a problem.  Whatever says it is a 
problem is the real problem.  Fix that instead.

Non-zero Current_Pending_Sector is a problem, but RAID should be fixing 
that already.  I don't know, but I think that enabling Automatic 
Offline Testing should cause any uncorrectable sectors to be noticed 
and fixed sooner by RAID.

>   Do you have to use the /dev/sdx devices or the /dev/md devices?
 ...

Automatic Offline Testing must be enabled on an actual ATA hard disk, 
so no fake disk such as dm or md.  See `man smartctl`.

-- 

TonyN.:'   <mailto:tonynel...@georgeanelson.com>
  '  <http://www.georgeanelson.com/>


-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: bash oom problem

2009-10-04 Thread Tony Nelson
On 09-10-04 06:17:20, Sharpe, Sam J wrote:
> 2009/10/4 psmith :
> > hi list, whilst trying to run this bash command
> >
> > for w in {A..Z}{A..Z}{A..Z}{A..Z}{A..Z}{A..Z}{A..Z}{A..Z} ;do echo
> $w;done >
> > wl1
> 
> Consider that for a second...
> 
> You are trying to generate a list of all possible combinations of an 
> 8 character word composed of only uppercase letters - that's 26^8
> combinations (208 Billion). Each word is 8 bytes long, which I make 
> to be 1670616516608 bytes... or to put it another way, 1.5 TB
> 
> So, you've got 4 GB of virtual memory and you are trying to fit an
> 1555GB array into it. Simple mathematics says no. Dumping the
> arguments before it dies is pointless, because it hasn't even got as
> far as expanding arguments yet.
> 
> You need to think of another was to do this and I humbly suggest that
> Bash should not be high on your list.

Bash should be OK if Pathname Expansion is used instead of the more 
general Brace Expansion:

$ for w in [[:upper:]][[:upper:]][[:upper:]][[:upper:]][[:upper:]]
[[:upper:]][[:upper:]][[:upper:]] ; do echo $w ; done

However, if there are no matches, the match string will be tried unless 
the shell options failglob is unset and nullglob is set:

$ ( shopt -s nullglob ; shopt -u failglob ; for w in [[:upper:]]
[[:upper:]][[:upper:]][[:upper:]][[:upper:]][[:upper:]][[:upper:]]
[[:upper:]] ; do echo $w ; done )

(Sorry for the wrapping.)

-- 

TonyN.:'   
  '  

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: Fedora 11 - Cannot Set Screen Resolution

2009-10-09 Thread Tony Nelson
On 09-10-09 01:38:50, alexg wrote:
> After some bumbling around I found that the problem was to do with
> Fedora 11 and KMS.  I was able to reboot the machine with nomodeset
> and fixed Xorg.conf so that 1280x1024 is available.
> 
> In Gnome I played with the display settings and now I have something
> that is working very well.
> 
> It is a bit of a work around, but hopefully the KMS interoperability
> with the Intel chipset will be fixed.

File a bug!  Provide whatever logs or output the devs request.

-- 

TonyN.:'   
  '  

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: Looking for some apache config help to block evil spiders

2009-10-10 Thread Tony Nelson
On 09-10-10 14:37:29, Steven W. Orr wrote:
> ... Here's what I added to my httpd.conf:
> 
> RewriteLoglogs/rewrite_log
> RewriteLogLevel 1
> 
> RewriteCond %{HTTP_USER_AGENT}  ^Baiduspider.* [OR]
> RewriteCond %{HTTP_USER_AGENT}^msnbot.* [OR]
> RewriteCond %{HTTP_USER_AGENT}^NaverBot.* [OR]
> RewriteCond %{HTTP_USER_AGENT}^Sogou-Test-Spider.*
> RewriteCond %{HTTP_USER_AGENT}^Mozilla/4.0.*
> RewriteCond %{HTTP_USER_AGENT}^T-Mobile Dash.*
> RewriteRule .* - [F,L]
> 
> and inside each of the virtual domains, I added:
> 
> RewriteEngine On
> RewriteOptions Inherit
> 
> Here's the problem. What I want to see is the rewrite_log telling me
> what it has redirected or failed. Instead, I'm getting a line telling 
> me every link that it does NOT rewrite. For example:
> 
> 72.30.65.61 - - [10/Oct/2009:14:28:24 --0400] \
> [vdom.syslang.net/sid#b7298ed0][rid#b6b488e8/initial] (1) pass 
> through /d1/fn
> 
> I have googled my brains out and it seems like others have had the
> same questions. I see no answers. If anyone has any idea I love to 
> hear it.

WAG:  The RewriteRule doesn't actually rewrite anything.  Perhaps 
something would be logged if it did.  You'd probably still have the 
other log lines as well.

-- 

TonyN.:'   
  '  

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: input/output error on disk(?)

2009-10-15 Thread Tony Nelson
On 09-10-15 01:29:22, charles zeitler wrote:
> when trying to copy a certain file, i get the message:
> cp: reading 'file' :  Input/output error
> 
> i took the volume it was on offline, & did a forced
> e2fsck.  same thing.
> 
> smartctl -H tells me the drive 'passes' .
> 
> i can change the name with mv, no problem there.
> 
> are there any other (non-destructive) steps i can take?

It is likely that the disk has one or more bad blocks.  Use
`smartctl -a /dev/sdx` to see all the data (or -A to see only the 
attributes) and look at the raw values of Current_Pending_Sector and 
Reallocated_Event_Count.  The first reflects unfixed problems, and the 
second fixed problems.  If both numbers are low, I would just keep 
using the drive, though I would first do a long test with `smartctl -t 
long /dev/sdx` (wait until the indicated time and then do a `smartctl -
a /dev/sdx` to see what happened) and then enabled Automatic Offline 
Testing with `smartctl -o on /dev/sdx` (this will help keep up with 
sectors as they go bad, without unnecessary data loss).

A program such as ddrescue (`yum install ddrescue`, `info ddrescue`) 
may help to salvage the damaged file(s).

-- 

TonyN.:'   
  '  

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: input/output error on disk(?)

2009-10-15 Thread Tony Nelson
On 09-10-15 16:28:03, charles zeitler wrote:
> thanks for the info.
> 
> On Thu, Oct 15, 2009 at 12:30 PM, Tony Nelson
>  wrote:
> > On 09-10-15 01:29:22, charles zeitler wrote:
> >> when trying to copy a certain file, i get the message:
> >> cp: reading 'file' :  Input/output error
> >
> > It is likely that the disk has one or more bad blocks.  Use
> > `smartctl -a /dev/sdx` to see all the data (or -A to see only the
> > attributes) and look at the raw values of Current_Pending_Sector 
> > and Reallocated_Event_Count.  The first reflects unfixed problems, 
> > and the second fixed problems.  If both numbers are low,
> 
> 13 & 0

13 is a bit high considering that it reflects only the bad blocks that 
have been noticed, but it could still be from a single bad area.  The 
results from the long test will help decide.

> > I would just keep using the drive, though I would first do a long 
> > test with `smartctl -t long /dev/sdx` (wait until the indicated 
> > time and then do a `smartctl - a /dev/sdx` to see what happened)
> 
> should have more data from this in 4 hours.

OK.

> > and then enabled Automatic Offline
> > Testing with `smartctl -o on /dev/sdx` (this will help keep up with
> > sectors as they go bad, without unnecessary data loss).
> >
> > A program such as ddrescue (`yum install ddrescue`, `info 
> > ddrescue`) may help to salvage the damaged file(s).
>
> the file itself is not important, but i don't want the error
> to migrate to one that is..

That won't happen, as the drive will use a good block to replace the 
bad block when it is written to.  The real question is how many more 
blocks will go bad, and the long test should give a hint about that.

-- 

TonyN.:'   <mailto:tonynel...@georgeanelson.com>
  '  <http://www.georgeanelson.com/>

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: input/output error on disk(?)

2009-10-15 Thread Tony Nelson
On 09-10-15 21:27:50, charles zeitler wrote:
> On Thu, Oct 15, 2009 at 4:51 PM, Tony Nelson
>  wrote:
> > On 09-10-15 16:28:03, charles zeitler wrote:
> >> thanks for the info.
> >>
> 
> well, the results are in.
> 
> the  "Self-test execution status" says that
> "the read element of the test failed".
> 
> later, it shows:
> Num  Test_DescriptionStatus  Remaining
> # 1  Extended offlineCompleted: read failure   90%
> 
> LifeTime(hours)  LBA_of_first_error
> 7091 686876074
> 
> Current_Pending_Sector & Reallocated_Event_Count
> are unchanged. ( but Offline_Uncorrectable reads at 12 ).
> 
> does this mean i have 90% unchecked? and 12 uncorrectable blocks?

Yes, it seems to have given up at 12 blocks.  The trick is to find what 
files those are and deal with them, so that the test can be run again 
to see what else it might find.  Once the damaged files are found, you 
can decide whether to recover them, restore them from backup or some 
other source, or just delete them.

I don't know of anything specifically intended to find the damaged 
files.  e2fsck will map out bad blocks, but doesn't (AFAIK) tell one 
which files are damaged.  I think tar can be used to find such files, 
but I'm not sure.  As you know of one file that has a problem, I 
suggest trying this command on the directory which contains that file:

# tar -cf - --ignore-failed-read /path/to/bad/file's/dir >/dev/null

Possibly -v will also be needed.  In that case, the full scan should 
probably write the messages to a file:

# tar -cvf - --ignore-failed-read --one-file-system / >/dev/null \
  2>/some/other/volume/tarfiles.txt

I don't happen to have any bad blocks to try this on.

-- 

TonyN.:'   <mailto:tonynel...@georgeanelson.com>
  '  <http://www.georgeanelson.com/>

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: input/output error on disk(?)

2009-10-16 Thread Tony Nelson
On 09-10-16 00:00:16, charles zeitler wrote:
> thanks for the help...
> 
> On Thu, Oct 15, 2009 at 9:14 PM, Tony Nelson

> > I don't know of anything specifically intended to find the damaged
> > files.  e2fsck will map out bad blocks, but doesn't (AFAIK) tell 
> > one which files are damaged.  I think tar can be used to find such,
> > files but I'm not sure.  As you know of one file that has a 
> > problem, I suggest trying this command on the directory which 
> > contains that file:
> >
> >    # tar -cf - --ignore-failed-read /path/to/bad/file's/dir \
> >  /dev/null
> >
> > Possibly -v will also be needed.  In that case, the full scan 
> should
> > probably write the messages to a file:
> >
> >    # tar -cvf - --ignore-failed-read --one-file-system / \
> >  >/dev/null 2>/some/other/volume/tarfiles.txt
> >
> > I don't happen to have any bad blocks to try this on.

> tar seems not to read files that are headed to /dev/null (?)

Lovely.  Well then:

# tar -cvf - --ignore-failed-read --one-file-system / \
  2>/some/other/volume/tarfiles.txt | cat >/dev/null

> trying cat instead. since i am working with hundreds of
> gigabytes... it could take awhile.

Good luck.

-- 

TonyN.:'   <mailto:tonynel...@georgeanelson.com>
  '  <http://www.georgeanelson.com/>

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: qemu (with kqemu) show an error about an _invalid option_

2009-10-16 Thread Tony Nelson
On 09-10-16 15:31:46, Athmane Madjoudj wrote:
> Hi All,
> 
> When i try to run
> 
> qemu -kernel-kqemu
> 
> or
> 
> qemu -no-kqemu
> 
> 
> i get error about an  _invalid option_
> 
> i think that the fedora 11 qemu packages are build without support 
> for kqemu ( which has been installed from rpm-fusion repos)
> 
> i have noticed that by the degradation of performance of VMs from
> virt-manager.  how i can fix that ?

Someone believes that QEMU no longer benefits from kqemu.  Also, kqemu 
is incompatible with kvm.

You will need to rebuild qemu with kqemu enabled.  Attached are two 
patches:  one to be placed in rpmbuild/SOURCES, and the other to serve 
as a guide to altering the qemu.spec file (please don't use my 
initials when you set the version).  Use `rpmbuild --recompile -bp 
qemu-*.src.rpm` to unpack the files (you can interrupt the build with 
Ctl-C once you see that %prep has been started), and after altering the 
spec file, `rpmbuild -ba qemu.spec` to build with the altered spec 
file.

-- 

TonyN.:'   
  '  
--- qemu-kvm-0.10.6/configure.orig	2009-09-01 21:48:19.515745113 -0400
+++ qemu-kvm-0.10.6/configure	2009-09-01 22:05:54.525749602 -0400
@@ -328,7 +328,6 @@
 kqemu="yes"
 audio_possible_drivers="$audio_possible_drivers fmod"
 kvm="yes"
-kqemu="no"
 fi
 if [ "$cpu" = "ia64" ] ; then
  kvm="yes"

--- qemu.spec	2009-09-29 16:55:57.0 -0400
+++ qemu.spec.patched	2009-10-07 20:45:34.590096056 -0400
@@ -1,7 +1,7 @@
 Summary: QEMU is a FAST! processor emulator
 Name: qemu
 Version: 0.10.6
-Release: 6%{?dist}
+Release: 7_GAN
 # Epoch because we pushed a qemu-1.0 package
 Epoch: 2
 License: GPLv2+ and LGPLv2+ and BSD
@@ -36,7 +36,8 @@
 Patch16: qemu-ppc-on-ppc.patch
 Patch17: qemu-use-statfs-to-determine-huge-page-size.patch
 Patch18: qemu-allow-pulseaudio-to-be-the-default.patch
-Patch19: qemu-fix-virtio-net-gso-support.patch
+
+Patch999: qemu-config-allow-kqemu.patch
 
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires: SDL-devel zlib-devel which texi2html gnutls-devel cyrus-sasl-devel
@@ -238,7 +239,7 @@
 %patch16 -p1
 %patch17 -p1
 %patch18 -p1
-%patch19 -p1
+%patch999 -p1
 
 %build
 # systems like rhel build system does not have a recent enough linker so
@@ -266,7 +267,8 @@
 --audio-drv-list=pa,sdl,alsa,oss \
 --disable-strip \
 --extra-ldflags=$extraldflags \
---extra-cflags="$RPM_OPT_FLAGS"
+--extra-cflags="$RPM_OPT_FLAGS" \
+--disable-kqemu
 
 make V=1 %{?_smp_mflags} $buildldflags
 cp -a x86_64-softmmu/qemu-system-x86_64 qemu-kvm

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

Re: input/output error on disk(?)

2009-10-17 Thread Tony Nelson
On 09-10-17 01:14:42, charles zeitler wrote:
> On Fri, Oct 16, 2009 at 7:49 PM, charles zeitler 
> 
> wrote:
> > thanks for the help, Tony.
> > i finally checked the results of cat'ing to /dev/null,
> > which found 11 troubled files. having removed them,
> > am now running smartctl -t on umounted disk.
> >
> >>
> >>    # tar -cvf - --ignore-failed-read --one-file-system / \
> >>      2>/some/other/volume/tarfiles.txt | cat >/dev/null
> >>
> >> Good luck.
> >>
> >> --
> >
> second try  of smartctl -t  yielded the same results-
> i may have removedfiles from 11 bad blocks-
> and missed the first.

Sadly, you have not fixed any of the bad blocks by deleting the files.  
The bad blocks will only be replaced when they are written to.  Now 
that the files are deleted, you will need to write to all the free 
space of the drive to write to the defective blocks.  This should do 
the trick (as root, or from the Rescue CD):

# cp /dev/zero junk ; rm junk

> am now running the tar seq. above (fingers crossed)

I don't expect it to find any defective files, as you already deleted 
them.

-- 

TonyN.:'   
  '  

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: qemu (with kqemu) show an error about an _invalid option_

2009-10-17 Thread Tony Nelson
On 09-10-17 13:22:40, Athmane Madjoudj wrote:
 ...
> Does newer version of virt-manager support kqemu ? so when i will
> recompile (repackage) qemu with kqemu support i can use virt-manager
> as i was.

No idea.  KVM can't use it, and doesn't need it.  I don't know what 
virt-manager would do about kqemu anyway.


> (i fear that virt-manger generate -no-kqemu option)

The Fedora qemu SRPM was changed to eliminate kqemu from the build, 
probably because qemu-kvm can't build with kqemu and because of the 
false rumor that kqemu no longer helps.  It is not done by virt-
manager.  

-- 

TonyN.:'   
  '  


-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: input/output error on disk(?)

2009-10-17 Thread Tony Nelson
On 09-10-17 14:35:45, Bruno Wolff III wrote:
> On Sat, Oct 17, 2009 at 12:17:36 -0400,
>   Tony Nelson  wrote:
> > Sadly, you have not fixed any of the bad blocks by deleting the
> > files.  The bad blocks will only be replaced when they are written 
> > to.  Now that the files are deleted, you will need to write to all 
> > the free space of the drive to write to the defective blocks.  This 
> > should do the trick (as root, or from the Rescue CD):
> 
> He should be able to get the sector numbers by running long self
> tests.  On the disks I have own, this only gets you one sector per 
> scan rewrite cycle. 

He gets some of them, then the test aborts.  He needs to fix at least 
those sectors in order to proceed with the test.

> Also note that linux tools such as dd write 8 sectors 
> at a time and if you try to write less than that, a read will be 
> tried first which will most likely fail because of the bad sector.

I don't think he uses dd.  As all the defective files have been 
deleted, the command I gave should write all the bad sectors in about 
the time to do a long test, even bad sectors that haven't been reported 
yet due to the self-test aborting (though I should have said "rm -f").

-- 

TonyN.:'   <mailto:tonynel...@georgeanelson.com>
  '  <http://www.georgeanelson.com/>

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: gnome session control entry missing

2009-10-18 Thread Tony Nelson
On 09-10-18 14:32:01, paul van der meij wrote:
> After migrating from FC9 to FC11 i noticed that the gnome session
> entry has disappeared from the taskbar->system->preferences menu.
> I used it mainly for saving my current session, and now use manually
> '/usr/bin/gnome-session-save'.
> Is this on purpose removed? or is this something for the gnome-
> people.

There's something under Startup Applications : Options tab.

-- 

TonyN.:'   
  '  

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: input/output error on disk(?)

2009-10-19 Thread Tony Nelson
On 09-10-18 17:34:11, charles zeitler wrote:
> >> am now running the new, improved
> >> 'cp /dev/zero'
> >>
> > done. 'current_pending' reduced to 1.
> > trying a long test...
> 
> done. still showing the 'read failure', on the same block,
> with 90% unchecked...
> 
> i'll try to work out something to check bad dir files...

Or maybe back up and restore, possibly with the manufacturer's low-
level format in between?

I wouldn't expect fsck to succeed if there were a bad dir file.

-- 

TonyN.:'   
  '  

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: qemu (with kqemu) show an error about an _invalid option_

2009-10-19 Thread Tony Nelson
On 09-10-18 17:08:15, Athmane Madjoudj wrote:
 ...
> i've successfully rebuild qemu rpm with kqemu support, but now i need
> to add in /etc/yum.conf: exclude=qemu-* to prevent yum from
> overbidding my packages when i'll do an update.
> 
> am i right?

Yes, though I'd use "qemu*" unless you don't have the qemu metapackage 
installed.  (Personally, I just rebuild qemu when I need to use it 
after an update.)

I've added comments to closed  Bug 520284 -  KQEMU support not 
compiled after F11 QEMU-KVM merge.  You and other kqemu users may wish 
to comment there as well.)

-- 

TonyN.:'   
  '  


-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: python error with yum on F11

2009-10-19 Thread Tony Nelson
On 09-10-20 01:17:45, steve wrote:
> Hello Mark,
> 
> On 10/20/2009 06:48 AM, Mark Perew wrote:
> >
> > Popen is supposed to be provided by subprocess.py, and I've
> > confirmed that class Popen is in the /usr/lib/python2.6/
> > subprocess.py module.  I don't see anything helpful on the website 
> > above, or in a google search, or in pinging a few helpful 
> > associates.  Any guidance from this community will be appreciated.
> >
> I think you might have (possibly inadvertently) messed up your python
> installation.
> 
> Check the following:
> $ python --version  # should show you Python 2.6
> $ python -c "import sys; print sys.path"
>  # This should show you the places that python would look for
> modules such as Popen. It ideally should include '/usr/lib/
> python2.6/' (and '/usr/lib64/python26 if you have a x86_64 box).
> 
> $ echo $PYTHONPATH
>  # This env variable is passed to python to modify the sys.path
> (mentioned above) at runtime. This should ideally not exist if you 
> don't do any python development yourself.
> 
> Let us know what you find,

If the above seem OK, then:

rpm -q python yum# should be python-2.6-xxx, yum-3.2.xxx
rpm -V python# should produce no output
rpm -V yum   # should produce no output or only /etc/yum.conf

-- 

TonyN.:'   
  '  

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: python error with yum on F11

2009-10-20 Thread Tony Nelson
On 09-10-20 05:07:51, Mark Perew wrote:
 ...
> rpm -q python yum
>   python-2.6-9.fc11.i586
>   yum-3.2.24-2.fc11.noarch

Good.


> rpm -V python
>   S.5T./usr/lib/python2.6/subprocess.pyc
> 
> Yeah.  I'm a little confused by that.  So, I checked the date:
> ll /usr/lib/python2.6/sub*
> -rw-r--r--. 1 root root 45471 2009-06-08 16:07
> /usr/lib/python2.6/subprocess.py
> -rw-r--r--. 1 root root   119 2009-08-26 21:15
> /usr/lib/python2.6/subprocess.pyc
> -rw-r--r--. 1 root root 32985 2009-06-08 16:07
> /usr/lib/python2.6/subprocess.pyo
> 
> I am baffled as to what would have caused the module to recompile on
> 8/26.

It probably is not a recompile, but rather something else bad.  Anyway, 
that would be your problem with yum.  Before you rm that bad 
subprocess.pyc, what does file say about it?  You might also consider 
forcing an fsck (e.g., `touch /forcefsck ; reboot`).


> rpm -V yum
>   returns no output.

Good.

-- 

TonyN.:'   
  '  


-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: input/output error on disk(?)

2009-10-20 Thread Tony Nelson
On 09-10-20 03:03:25, charles zeitler wrote:
> On Mon, Oct 19, 2009 at 5:14 PM, Tony Nelson
>  wrote:
 ...
> > I wouldn't expect fsck to succeed if there were a bad dir file.
> >
> 
> u huh. well , apparently, the block that's causing the 'read failure'
> isn't being used by a (normal) file... but, i'm planning on an 
> upgrade anyways, that'll be an opportunity  to clean things up.
> 
> thanks for guiding me in the use of smartctl & /dev/zero. stuff i'll
> probably need again.

You're welcome, and good luck.

-- 

TonyN.:'   <mailto:tonynel...@georgeanelson.com>
  '  <http://www.georgeanelson.com/>

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: python error with yum on F11

2009-10-20 Thread Tony Nelson
On 09-10-20 22:34:12, Mark Perew wrote:
> On Tue, Oct 20, 2009 at 9:18 AM, Tony Nelson
> wrote:
> 
> >
> > It probably is not a recompile, but rather something else bad. 
> > Anyway, that would be your problem with yum.  Before you rm that 
> > bad subprocess.pyc, what does file say about it?  You might also
> > consider forcing an fsck (e.g., `touch /forcefsck ; reboot`).
> >
> 
> file says it is python 2.6 byte-compiled

OK.  Odd that it is clearly wrong, but at least it's a plausible type 
of file and an fsck does not seem indicated.


> My thanks to you, as well, for your assistance.

You're welcome.

-- 

TonyN.:'   <mailto:tonynel...@georgeanelson.com>
  '  <http://www.georgeanelson.com/>


-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: Where is VNC, FC11

2009-10-23 Thread Tony Nelson
On 09-10-23 14:03:49, Tait Clarridge wrote:
> On Fri, 2009-10-23 at 12:55 -0500, Chris Adams wrote:
> > Once upon a time, Tait Clarridge  said:
> > > A good way to search for packages that may not have easy names 
> > > is:
> > > 
> > > [user @ host ~]$  yum list | grep -i vnc
> > 
> > A little easier is:
> > 
> > # yum list '*vnc*'
> 
> Yes, but I threw the grep -i in there for case insensitivity..
> sometimes special packages have a capital letter that yum list won't 
> get by itself.

Are you sure about that?  Give an example where it happens.  (Hint.)

-- 

TonyN.:'   
  '  

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: Where is VNC, FC11

2009-10-24 Thread Tony Nelson
On 09-10-24 02:30:32, Tait Clarridge wrote:
> On Sat, 2009-10-24 at 00:46 -0400, Tony Nelson wrote:
> > On 09-10-23 14:03:49, Tait Clarridge wrote:
> > > On Fri, 2009-10-23 at 12:55 -0500, Chris Adams wrote:
> > > > Once upon a time, Tait Clarridge  said:
> > > > > A good way to search for packages that may not have easy 
> > > > > names is:
> > > > > 
> > > > > [user @ host ~]$  yum list | grep -i vnc
> > > > 
> > > > A little easier is:
> > > > 
> > > > # yum list '*vnc*'
> > > 
> > > Yes, but I threw the grep -i in there for case insensitivity..
> > > sometimes special packages have a capital letter that yum list
> > > won't get by itself.
> > 
> > Are you sure about that?  Give an example where it happens.  
> > (Hint.)
> 
> Well, I'll be. I guess I am just used to doing it my way. Guess I
> should have tested it before opening my mouth.
> Plus, yum list with wildcards is faster than with grep so I will 
> start using that now. Thanks for the clarification.

What surprises me from time to time is that `yum install` does not fold 
case.  I know that, and I'm still surprised.

But `yum install` does have the useful ability to install a command by 
name:

# yum install '/*/growisofs'

which is handy if you don't know what package contains the command (or 
even where the command will be installed).  The leading slash is 
required.

`yum provides` can also find files to install, but the leading "/" is 
optional, so both work:

# yum provides '*/gobject-2.0.pc'
# yum provides '/*/gobject-2.0.pc'

`yum install` gives a poor guess (here, at least) for that file.

-- 

TonyN.:'   <mailto:tonynel...@georgeanelson.com>
  '  <http://www.georgeanelson.com/>

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: Qemu vs VMWare

2009-10-25 Thread Tony Nelson
On 09-10-25 17:05:32, Marko Vojinovic wrote:
> 
> Hi everyone! :-)
> 
> I wish to share my first hands-on experience with qemu, compare it to
> vmware player, and (since I'm highly disappointed with the 
> performance difference) ask is there anything that can be done 
> configuration-wise to improve the user experience under qemu.
 ...

The way recommended by QEMU developers is to use KVM, purchasing new 
hardware that supports KVM if necessary, in which case you won't need 
to use much of QEMU.  Good performance on other hardware requires the 
kernel module kqemu.  The QEMU developers have deprecated kqemu and are 
removing it from the next version (.12 IIRC), but you can currently 
still use kqemu if you build QEMU with kqemu enabled.

I have just switched from QEMU to VirtualBox (with RPMFusion enabled, 
`yum installVirtualBox-OSE`) and can recommend it, unless your VM needs 
access to your actual USB devices or needs to be controlled remotely, 
as those features are not open source.  I was able to configure 
VirtualBox to use the same disk partition (which appears as a 
partitioned disk itself) as with QEMU, and network setup was much 
easier and didn't require any equivalent to the custom scripts I wrote 
for QEMU.

-- 

TonyN.:'   
  '  

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


  1   2   >