Re: [gentoo-ppc-user] Re: New install - Unable to get my ppc Mac Mini to boot the root partition

2010-09-02 Thread Enlightened User
Could the root device now be referred to as /dev/sda4 (SCSI Disk  
support) with the kernel now loading?
You should be able to pass the root device to the kernel at boot time  
(root=/dev/sda4).
If you are able to get past the root filesystem check (the disk is  
referred to as sda instead of hda), then you will need to update your / 
etc/fstab to reflect the different device names.


Barry

On Sep 2, 2010, at 5:55 PM, Mark Knecht wrote:

On Tue, Aug 31, 2010 at 2:35 PM, Mark Knecht markkne...@gmail.com  
wrote:

On Tue, Aug 31, 2010 at 1:50 PM, Joe Fox jwfo...@gmail.com wrote:

Mark,

Did you compile in your ext2/ext3 support as a module or  
statically into the
kernel?  If you compiled them as modules, then you need to create  
an inirtrd

that includes the drivers to load on boot.

Just a thought.

Joe


On Tue, Aug 31, 2010 at 3:31 PM, Mark Knecht  
markkne...@gmail.com wrote:


/dev/hda4   /   ext3noatime




I believe they are both built-in:

livecd ~ # cat /mnt/gentoo/usr/src/linux/.config | grep EXT2
CONFIG_EXT2_FS=y
CONFIG_EXT2_FS_XATTR=y
CONFIG_EXT2_FS_POSIX_ACL=y
CONFIG_EXT2_FS_SECURITY=y
# CONFIG_EXT2_FS_XIP is not set
livecd ~ # cat /mnt/gentoo/usr/src/linux/.config | grep EXT3
CONFIG_EXT3_FS=y
# CONFIG_EXT3_DEFAULTS_TO_ORDERED is not set
CONFIG_EXT3_FS_XATTR=y
CONFIG_EXT3_FS_POSIX_ACL=y
CONFIG_EXT3_FS_SECURITY=y
livecd ~ #

- Mark



Anyone else able to chime in before I give up on PowerPC again? Sure
would like to get this running again.

QUESTION: Is there a way to rebuild partition 1 on these Apple disks?
The one labeled 'Apple_partition_map '? Seems like that's the only
thing I haven't touched yet having rebuilt this machine twice.

Again, this machine has run Gentoo for a few years. I was doing a
major emerge -e @world operation which seemed to finish successfully
but when I rebooted the kernel doesn't see the drive. I've rebuilt the
machine 2 more times from scratch and continue to be stumped by this
problem.

Thanks,
Mark






Re: [gentoo-user] Re: Old IDE drives and the newer PATA kernel drivers

2010-09-02 Thread Neil Bothwick
On Wed, 01 Sep 2010 02:12:45 -0500, Dale wrote:

 I would like either the old IDE drives to come first, since I rarely 
 ever move them or grub to work with labels.  I have a entry in
 grub.conf that uses the labels but i have not rebooted yet.  According
 to what I have read it will work.  The only concern is that if grub
 doesn't like labels and I add another  drive, then I got to edit the
 grub boot line to boot and it took me a couple tries to get this
 right.  It seeing what used to be the last drive first sort of took me
 by surprise.  I don't like surprises to much.

Press c to get the GRUB command line and then use find to identify your
root partition - find /etc/fstab will work unless you have two root
partitions. There's no need for suck-it-and-see editing of config files,
you only have to change menu.lst after you have found and tested the
correct boot options.

-- 
Neil Bothwick

Next time you wave at me, use more than one finger, please.


signature.asc
Description: PGP signature


Re: [gentoo-user] Re: Old IDE drives and the newer PATA kernel drivers

2010-09-02 Thread Dale

Neil Bothwick wrote:

On Wed, 01 Sep 2010 02:12:45 -0500, Dale wrote:

   

I would like either the old IDE drives to come first, since I rarely
ever move them or grub to work with labels.  I have a entry in
grub.conf that uses the labels but i have not rebooted yet.  According
to what I have read it will work.  The only concern is that if grub
doesn't like labels and I add another  drive, then I got to edit the
grub boot line to boot and it took me a couple tries to get this
right.  It seeing what used to be the last drive first sort of took me
by surprise.  I don't like surprises to much.
 

Press c to get the GRUB command line and then use find to identify your
root partition - find /etc/fstab will work unless you have two root
partitions. There's no need for suck-it-and-see editing of config files,
you only have to change menu.lst after you have found and tested the
correct boot options.

   


I know I switched to grub from lilo because it was user friendly but I 
haven't used this feature.  So instead of hitting e, I hit c and it 
gives me something similar to what I get when I type grub into a console 
when booted?  I did a man grub here and I don't see that documented.  Is 
this documented somewhere?


I do have a old back-up copy of Gentoo on another drive.  Since it's not 
tarballed, I guess it would find its fstab too.  Grub would think it is 
a second OS.  This is interesting.  I'm hoping this is documented 
somewhere so I can do some reading.


Thanks.

Dale

:-)   :-)



[gentoo-user] Re: Old IDE drives and the newer PATA kernel drivers

2010-09-02 Thread Nikos Chantziaras

On 09/02/2010 11:46 AM, Dale wrote:

Neil Bothwick wrote:

On Wed, 01 Sep 2010 02:12:45 -0500, Dale wrote:


I would like either the old IDE drives to come first, since I rarely
ever move them or grub to work with labels. I have a entry in
grub.conf that uses the labels but i have not rebooted yet. According
to what I have read it will work. The only concern is that if grub
doesn't like labels and I add another drive, then I got to edit the
grub boot line to boot and it took me a couple tries to get this
right. It seeing what used to be the last drive first sort of took me
by surprise. I don't like surprises to much.

Press c to get the GRUB command line and then use find to identify your
root partition - find /etc/fstab will work unless you have two root
partitions. There's no need for suck-it-and-see editing of config files,
you only have to change menu.lst after you have found and tested the
correct boot options.



I know I switched to grub from lilo because it was user friendly but I
haven't used this feature. So instead of hitting e, I hit c and it
gives me something similar to what I get when I type grub into a console
when booted? I did a man grub here and I don't see that documented. Is
this documented somewhere?


Yes.  When you press ESC in Grub to go to text mode, it says right there 
that you can press c to enter edit mode :)





Re: [gentoo-user] Re: Old IDE drives and the newer PATA kernel drivers

2010-09-02 Thread Dale

Nikos Chantziaras wrote:

On 09/02/2010 11:46 AM, Dale wrote:

Neil Bothwick wrote:

On Wed, 01 Sep 2010 02:12:45 -0500, Dale wrote:


I would like either the old IDE drives to come first, since I rarely
ever move them or grub to work with labels. I have a entry in
grub.conf that uses the labels but i have not rebooted yet. According
to what I have read it will work. The only concern is that if grub
doesn't like labels and I add another drive, then I got to edit the
grub boot line to boot and it took me a couple tries to get this
right. It seeing what used to be the last drive first sort of took me
by surprise. I don't like surprises to much.

Press c to get the GRUB command line and then use find to identify your
root partition - find /etc/fstab will work unless you have two root
partitions. There's no need for suck-it-and-see editing of config 
files,

you only have to change menu.lst after you have found and tested the
correct boot options.



I know I switched to grub from lilo because it was user friendly but I
haven't used this feature. So instead of hitting e, I hit c and it
gives me something similar to what I get when I type grub into a console
when booted? I did a man grub here and I don't see that documented. Is
this documented somewhere?


Yes.  When you press ESC in Grub to go to text mode, it says right 
there that you can press c to enter edit mode :)





I was hoping for something like a man page or something tho.   I would 
like to read up on this a little before jumping in head first.  Does it 
have a little info on screen on what does what at least?  I think the 
edit screen does but not sure about this part.


Thanks.

Dale

:-)  :-)



Re: [gentoo-user] Re: Old IDE drives and the newer PATA kernel drivers

2010-09-02 Thread Alex Schuster
Dale writes:

 I was hoping for something like a man page or something tho.   I would
 like to read up on this a little before jumping in head first.  Does it
 have a little info on screen on what does what at least?  I think the
 edit screen does but not sure about this part.

Grub comes with a lot of documentation. Although the man page is very 
small, it says that the full documentation comes as Texinfo manual, so 
'info grub' gives you the full manual. Or read it online here:

http://www.gnu.org/software/grub/manual/legacy/

Wonko



[gentoo-user] Re: Old IDE drives and the newer PATA kernel drivers

2010-09-02 Thread Nikos Chantziaras

On 09/02/2010 12:25 PM, Alex Schuster wrote:

Dale writes:


I was hoping for something like a man page or something tho.   I would
like to read up on this a little before jumping in head first.  Does it
have a little info on screen on what does what at least?  I think the
edit screen does but not sure about this part.


Grub comes with a lot of documentation. Although the man page is very
small, it says that the full documentation comes as Texinfo manual, so
'info grub' gives you the full manual. Or read it online here:

http://www.gnu.org/software/grub/manual/legacy/


If you're on KDE you can also read info documents with a much nicer, 
hyperlinked interface.  Either enter info:grub in krunner (Alt+F2, 
fastest way) or as a URL in Konqueror.  Works with man pages too, btw 
(man: instead of info:).





Re: [gentoo-user] Re: Old IDE drives and the newer PATA kernel drivers

2010-09-02 Thread Dale

Nikos Chantziaras wrote:

On 09/02/2010 12:25 PM, Alex Schuster wrote:

Dale writes:


I was hoping for something like a man page or something tho.   I would
like to read up on this a little before jumping in head first.  Does it
have a little info on screen on what does what at least?  I think the
edit screen does but not sure about this part.


Grub comes with a lot of documentation. Although the man page is very
small, it says that the full documentation comes as Texinfo manual, so
'info grub' gives you the full manual. Or read it online here:

http://www.gnu.org/software/grub/manual/legacy/


If you're on KDE you can also read info documents with a much nicer, 
hyperlinked interface.  Either enter info:grub in krunner (Alt+F2, 
fastest way) or as a URL in Konqueror.  Works with man pages too, btw 
(man: instead of info:).





I knew about man:* in Konqueror but I didn't know about the info:* 
feature.  Now that is cool.


Thanks much to both of you.  I got some reading to do.

Dale

:-)  :-)



Re: [gentoo-user] Proper way of updating mysql from 5.0.90-r2 to 5.1.50?

2010-09-02 Thread Dale

Mick wrote:

On Wednesday 01 September 2010 22:25:39 Tanstaafl wrote:
   

On 2010-09-01 5:18 PM, Alex Schusterwo...@wonkology.org  wrote:
 

I think it's not an urgent problem when this happens. With portage
2.2 and the preserve-libs FEATURE,
   

You are assuming everyone runs unstable portage??
 

I'm running vanilla here, so will run revdep-rebuild when I get a minute.
Until then I downgraded, because I was being shouted at ...  O_O
   


I added =dev-db/mysql-5.1.50-r1 to package.keywords and everything 
compiled cleanly.  Roach report here.


http://bugs.gentoo.org/show_bug.cgi?id=335615

Hope that helps.

Dale

:-)  :-)



Re: [gentoo-user] I can RTFM, but can I understand it: re elog messages

2010-09-02 Thread Neil Bothwick
On Fri, 20 Aug 2010 15:53:55 +0100, Peter Humphrey wrote:

Sorry for the delay in responding, been on holiday.

  Defined usage:
() parentheses
[] brackets
{} braces  
 
 Defined? Defined where?

The OED.

 In English*, a parenthesis is a separate expression** marked off from
 the rest of the sentence with brackets.

The OED defines parenthesis in the singular as a word clause or sentence
inserted as an explanation or afterthought..., which agrees with you,
but the plural form of parentheses as a pair of round brackets used for
this.

So your statement is correct, but not relevant to the text you
quoted :P  ;-)


-- 
Neil Bothwick

We all know what comes after 'X', said Tom, wisely.


signature.asc
Description: PGP signature


Re: [gentoo-user] Proper way of updating mysql from 5.0.90-r2 to 5.1.50?

2010-09-02 Thread Mick
On Thursday 02 September 2010 10:55:03 Dale wrote:
 Mick wrote:
  On Wednesday 01 September 2010 22:25:39 Tanstaafl wrote:
  On 2010-09-01 5:18 PM, Alex Schusterwo...@wonkology.org  wrote:
  I think it's not an urgent problem when this happens. With portage
  2.2 and the preserve-libs FEATURE,
  
  You are assuming everyone runs unstable portage??
  
  I'm running vanilla here, so will run revdep-rebuild when I get a minute.
  Until then I downgraded, because I was being shouted at ...  O_O
 
 I added =dev-db/mysql-5.1.50-r1 to package.keywords and everything
 compiled cleanly.  Roach report here.
 
 http://bugs.gentoo.org/show_bug.cgi?id=335615
 
 Hope that helps.

Thanks Dale!

 :-)

-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Proper way of updating mysql from 5.0.90-r2 to 5.1.50?

2010-09-02 Thread Mick
On Thursday 02 September 2010 06:10:05 kashani wrote:
 On 9/1/2010 1:00 PM, Aniruddha wrote:
  On Tuesday 31 August 2010 20:30:55 Mick wrote:
  But this is apparently not the proper way, because after
  restarting the server, apache does not show my web-page
  reporting there is no such a database. I checked it with
  phpmyadmin, and really, there is absolutely no database
  in mysql!
  
  I quickly restored backup version which I have done just
  before trying mysql-update, so my web-site is up and running.
  Now I would like to update mysql the right way, I but do not
  know how to do it...
  
  Hi Jarry,
  
  Some years ago I ran into some similar problem, I can't recall exactly
  what. Lost in folklore (wiki?) were some instructions to first stop
  mysql before you update it and I have been following them since.
  
  I stop apach  mysql, run the update,  dispatch-conf and then restart
  them both.  Haven't had problems since.
  
  There may be a better way for doing this - in which case others who know
  better will hopefully chime in.
  
  I'm curious as well. Imo it shouldn't be necessary to stop mysql server
  for each update.
 
   I did in place upgrades from 5.0.12 or so on up to 5.0.77 or so. You're
 unlikely to have problems upgrading Mysql within 5.0.x. If you're moving
 up to 5.1, I would definitely stop inserts into Mysql, 

How do you stop inserts?  Would this also apply to MyISAMs or only InnoDB?

 dump mysql, stop
 mysql, make a copy of /var/lib/mysql just in case, then upgrade to 5.1.
 Mysql should be able to upgrade your database in place, but it might
 not. If mysql-update doesn't work, importing a dumb is the most reliable
 way to get your data into 5.1.
   As other people have pointed out you'll need to revdep-rebuild or
 preserve the older client libs.
 
 kashani

-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Overlay server down

2010-09-02 Thread Aniruddha
On Wednesday 01 September 2010 17:55:17 Al wrote:
 Can't reach overlays.gentoo.org alias pelican.gentoo.org. Is the server
 down?
See  http://bugs.gentoo.org/show_bug.cgi?id=335509



[SOLVED] Re: [gentoo-user] Thunderbird and IMAP folders

2010-09-02 Thread Jim Cunning

 On 09/01/2010 10:44 AM, Andrea Conti wrote:

Hi,

I routinely use thunderbird to access mail on a cyrus IMAP server with
very large folders (thousands of archived messages).

IMAP support in the 3.1 series seems quite stable to me (whereas 2.x had
frequent problems with folder indexes and 3.0.x tended to hang randomly
while performing server operations)

The only problem I can think of is that if you have used the default
settings for the message search feature, thunderbird will attempt to
build a full-text search index by downloading every message on the
server (body included) when it is first run. Thunderbird will try
downloading messages from multiple folders in parallel, which might
cause a hign load on the server resulting in substantial delays when
listing folder contents.

If thunderbird is indexing messages (look at the progress indicator on
the status bar), try leaving it alone until it is done -- it's a
one-time process.

If, on the other hand, everything is idle, I'm sorry but I have no idea.

HTH,

andrea
The problem turned out not to be with Thunderbird at all, but with the 
courier-imap configuration.  I found in /var/log/messages some instances 
of this:

imapd-ssl: Maximum connection limit reached for :::10.0.0.1

It appears that the default configuration for MAXPERIP (maximum number 
of connections to accept from the same IP address) was set to 4. (I 
assume it's the default, since I never changed it myself.)  Changing the 
value to 10 eliminated the Thunderbird problem entirely.  I don't know 
if some other value between 4 and 10 would work as well.  I'm happy with 
it as it is now.

--
Jim




Re: [SOLVED] Re: [gentoo-user] Thunderbird and IMAP folders

2010-09-02 Thread Stefan G. Weichinger
Am 02.09.2010 21:43, schrieb Jim Cunning:

 It appears that the default configuration for MAXPERIP (maximum number
 of connections to accept from the same IP address) was set to 4. (I
 assume it's the default, since I never changed it myself.)  Changing the
 value to 10 eliminated the Thunderbird problem entirely.  I don't know
 if some other value between 4 and 10 would work as well.  I'm happy with
 it as it is now.

Just to understand correctly: this is a courier-parameter, not a
thunderbird-parameter, right?




Re: [SOLVED] Re: [gentoo-user] Thunderbird and IMAP folders

2010-09-02 Thread Stefan G. Weichinger
Am 02.09.2010 23:25, schrieb Stefan G. Weichinger:
 Am 02.09.2010 21:43, schrieb Jim Cunning:
 
 It appears that the default configuration for MAXPERIP (maximum number
 of connections to accept from the same IP address) was set to 4. (I
 assume it's the default, since I never changed it myself.)  Changing the
 value to 10 eliminated the Thunderbird problem entirely.  I don't know
 if some other value between 4 and 10 would work as well.  I'm happy with
 it as it is now.
 
 Just to understand correctly: this is a courier-parameter, not a
 thunderbird-parameter, right?
 

sorry for the noise, you mentioned it 



Re: [gentoo-user] Re: Old IDE drives and the newer PATA kernel drivers

2010-09-02 Thread Peter Humphrey
On Thursday 02 September 2010 10:38:17 Nikos Chantziaras wrote:

 If you're on KDE you can also read info documents with a much nicer,
 hyperlinked interface.  Either enter info:grub in krunner (Alt+F2,
 fastest way) or as a URL in Konqueror.

Not here. My firefox doesn't know what to do with info pages. What's the 
recipe?

-- 
Rgds
Peter.  Linux Counter 5290, 1994-04-23.



Re: [gentoo-user] Overlay server down

2010-09-02 Thread Peter Humphrey
On Thursday 02 September 2010 20:34:20 Aniruddha wrote:
 On Wednesday 01 September 2010 17:55:17 Al wrote:
  Can't reach overlays.gentoo.org alias pelican.gentoo.org. Is the
  server down?
 
 See  http://bugs.gentoo.org/show_bug.cgi?id=335509

This is worth a bug report? What's happened to the old try-again-later 
spirit?

-- 
Rgds
Peter.  Linux Counter 5290, 1994-04-23.



Re: [gentoo-user] Re: Old IDE drives and the newer PATA kernel drivers

2010-09-02 Thread Dale

Peter Humphrey wrote:

On Thursday 02 September 2010 10:38:17 Nikos Chantziaras wrote:

   

If you're on KDE you can also read info documents with a much nicer,
hyperlinked interface.  Either enter info:grub in krunner (Alt+F2,
fastest way) or as a URL in Konqueror.
 

Not here. My firefox doesn't know what to do with info pages. What's the
recipe?

   


I bet Firefox doesn't.  Konqueror does tho.

Dale

:-)  :-)



[gentoo-user] wk3 (lotus) arch

2010-09-02 Thread Zhu Sha Zang
 Who know some way to open this typo of file inside gentoo or export to
any other file format like txt or pdf??

Thanks!


signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Overlay server down

2010-09-02 Thread Neil Bothwick
On Thu, 2 Sep 2010 23:14:50 +0100, Peter Humphrey wrote:

   Can't reach overlays.gentoo.org alias pelican.gentoo.org. Is the
   server down?  
  
  See  http://bugs.gentoo.org/show_bug.cgi?id=335509  
 
 This is worth a bug report? What's happened to the old try-again-later 
 spirit?

That's reserved for when bugs.gentoo.org is down :)


-- 
Neil Bothwick

One difference between a man and a machine is that a machine is quiet
when well oiled.



signature.asc
Description: PGP signature


Re: [gentoo-user] Overlay server down

2010-09-02 Thread Peter Humphrey
On Thursday 02 September 2010 23:51:49 Neil Bothwick wrote:
 On Thu, 2 Sep 2010 23:14:50 +0100, Peter Humphrey wrote:
Can't reach overlays.gentoo.org alias pelican.gentoo.org. Is
the server down?
   
   See  http://bugs.gentoo.org/show_bug.cgi?id=335509
  
  This is worth a bug report? What's happened to the old
  try-again-later spirit?
 
 That's reserved for when bugs.gentoo.org is down :)

As lists.gentoo.org is now...

-- 
Rgds
Peter.  Linux Counter 5290, 1994-04-23.



[gentoo-user] emerging php with pdo and sqlite3 does not get the driver

2010-09-02 Thread covici
Hi.  I am trying to get the driver for pdo-sqlite in my php emerge.  I
have the use flags for sqlite3 and pdo, but when I do php --info the
sqlite pdo driver is not there and this seems to be verified by doing
PDO::get_available_drivers which does not list it.

Any ideas on how to get this to work?

Thanks.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici
 cov...@ccs.covici.com



Re: [gentoo-user] wk3 (lotus) arch

2010-09-02 Thread Dale

Zhu Sha Zang wrote:
Who know some way to open this typo of file inside gentoo or export to 
any other file format like txt or pdf??


Thanks!


I'm not sure if it will or not but I would try Open Office.  If it can 
open it and everything looks good, you can save to something else, like 
the Open Office extensions.  The specific thing would be Open Office 
Calc.  That is what it is on here anyway.


Hope that help.

Dale

:-)  :-)



[gentoo-user] Re: Old IDE drives and the newer PATA kernel drivers

2010-09-02 Thread Nikos Chantziaras

On 09/03/2010 01:10 AM, Peter Humphrey wrote:

On Thursday 02 September 2010 10:38:17 Nikos Chantziaras wrote:


If you're on KDE you can also read info documents with a much nicer,
hyperlinked interface.  Either enter info:grub in krunner (Alt+F2,
fastest way) or as a URL in Konqueror.


Not here. My firefox doesn't know what to do with info pages. What's the
recipe?


KRunner.




Re: [gentoo-user] Proper way of updating mysql from 5.0.90-r2 to 5.1.50?

2010-09-02 Thread kashani

On 9/2/2010 11:12 AM, Mick wrote:

On Thursday 02 September 2010 06:10:05 kashani wrote:

On 9/1/2010 1:00 PM, Aniruddha wrote:

On Tuesday 31 August 2010 20:30:55 Mick wrote:

But this is apparently not the proper way, because after
restarting the server, apache does not show my web-page
reporting there is no such a database. I checked it with
phpmyadmin, and really, there is absolutely no database
in mysql!

I quickly restored backup version which I have done just
before trying mysql-update, so my web-site is up and running.
Now I would like to update mysql the right way, I but do not
know how to do it...


Hi Jarry,

Some years ago I ran into some similar problem, I can't recall exactly
what. Lost in folklore (wiki?) were some instructions to first stop
mysql before you update it and I have been following them since.

I stop apach   mysql, run the update,  dispatch-conf and then restart
them both.  Haven't had problems since.

There may be a better way for doing this - in which case others who know
better will hopefully chime in.


I'm curious as well. Imo it shouldn't be necessary to stop mysql server
for each update.


I did in place upgrades from 5.0.12 or so on up to 5.0.77 or so. You're
unlikely to have problems upgrading Mysql within 5.0.x. If you're moving
up to 5.1, I would definitely stop inserts into Mysql,


How do you stop inserts?  Would this also apply to MyISAMs or only InnoDB?


	Depends on what you can get away with on your system. Applies to both 
MyISAM and Innodb though generally it's easier to dump myisam tables.


1. restart Mysql with no network, dump, update, restart with network. 
This of course assumes you have no local clients but you can chmod 600 
the mysql.sock as well. I've done it this way in the past, but it's not 
terribly fancy. Works well in environment where you're not exactly sure 
what's writing to your db.


2. mysql -u root then FLUSH TABLES WITH READ LOCK while you're holding 
that connection open, mysqldump. I feel like I'm forgetting something 
here, but I think it is this simple.


3. Make a slave. Update it, test, all that fun stuff. Point to it, then 
update the master which is a slave of the slave. Works well, pretty 
easy, but you need to be comfortable with setting up replication.


4. LVM snapshots, still need to lock the tables, but usually it's fast. 
Good write up here.

http://www.mysqlperformanceblog.com/2006/08/21/using-lvm-for-mysql-backup-and-replication-setup/

5. Don't bother with a backup. shut down mysql, rsync -av 
/var/lib/mysql/ var/lib/mysql.orig/ , upgrade, start mysql. If it 
doesn't work shut down mysql and move the old dir back into place.


couple more links
http://dev.mysql.com/doc/refman/5.1/en/backup-policy.html
http://dev.mysql.com/doc/refman/5.1/en/backup-methods.html

kashani