Re: [gentoo-user] USB mass storage device slow in Gentoo, fast in Windows...?

2009-12-27 Thread Michael Holmes
2009/12/27 Paul Hartman paul.hartman+gen...@gmail.com:
 On Sat, Dec 26, 2009 at 7:00 PM, Hung Dang hungp...@gmail.com wrote:
 On 12/26/09 15:54, Paul Hartman wrote:
 Hi,

 I got a Nokia N900 linux internet tablet/phone a few days ago, and
 when I connect it in USB Mass Storage mode to a Windows Vista computer
 I can write at 17MB/sec, but when I connect it to my Gentoo box my
 writes are really slow, between 500-900kb/sec depending on if I mount
 in sync mode or not. As far as I know it should be just a totally
 standard/generic mass storage device. (there were no drivers or
 software install needed in windows, it just worked)

 Other USB devices plugged into the same port go full speed, and AFAIK
 everything appears as if it should be high speed USB 2.0. Has anyone
 seen something like this before? I'm not sure what the deal is. It
 takes 20 minutes to copy 1 gigabyte from Linux and takes just under 1
 minute to do the same in Windows.

 I'm not sure about debugging USB or what the options are. Everything
 I've used previously has worked without any hassle.
 Have you received a lot of debugging messages at the output of dmesg
 when copying files?

 Hung

 No errors, no strange messages at all, it seems normal (only slow). I
 have other USB devices like SD card reader, external HDD, and they
 perform at full speed when plugged into the same port, so it's weird
 to me.

 Thanks
 Paul



This isn't that helpful, but in Windows I get good thoroughputs in
mass storage mode, but compartively weak ones in sync mode. But this
shouldn't be the problem because as far as I know, there are no
ync-mode drivers for good old Linux (which is ironic if you consider
it).



Re: [gentoo-user] The Great Macbook Update 3: Qt-4.5.1 to Qt-4.5.3 blocks hell

2009-12-27 Thread bn
Alan McKinnon ha scritto:
 Basically, the most important thing to sort out is those qt blocks. You 
 appear 
 to be running an arch machine as version 4.5.3-r1 wants to be merged, right?

Yes, x86 (sorry, I forgot that)

 Trying to merge just qt-gui (or any other individual qt apps) is not really 
 going to help much, as portage does not do a deep search. Try:
 
 emerge -avuND world

 and see if portage sensibly sorts out what should replace what. You might 
 need 
 a very recent portage for this to work automagically. 

Good advice. emerge -avuND world indeed seems to find the blocks as
self-resolving. However, since it wants to update/install a LOT of stuff...

( Total: 414 packages (286 upgrades, 94 new, 5 in new slots, 29
reinstalls, 2 uninstalls) )

...I would like to update the thing piece-by-piece, to troubleshoot
better whatever happens.

 If not, you can either 
 unmask portage, emerge portage and try again, or if you don't like that 
 approach, you must do it the older, longer way:

I could do it, if I have some safety option that allows me to downgrade
portage later, in case I find problems. I am quite conservative with
this system (it's a machine I use for day-to-day work) and I wouldn't
like to have it borked.

 remove every single qt and/or qt-* package from world (qt should be treated 
 as 
 pure dependencies unless you are developing qt apps)
 unmerge *everything* in qt
 emerge -avuND world
 
 and let portage sort out what qt versions must be installed.
 
 Then you must remerge all of KDE4 and every other package that uses qt. Don't 
 skimp this step becuase it 'takes a long time' - you will surely regret it 
 (random mysterious failures etc that only go away when you finally do update 
 all of KDE)

Ok, this seems the safest option.

 Once qt is out of the way, proceed with any other blockers that remain

Ys, qt is my mainproblem. I have another udev related block in the world
update, but *seems* unrelated.

Thanks!
m.



Re: [gentoo-user] Re: serial port identification question

2009-12-27 Thread David Relson
Hello James,

Thanks for writing.  Lots of good information in your post!

I've working on porting some DOS code to Linux and (as you likely know)
the code needed for serial communications differs greatly between the 2
environments.

The initial problem was trying to identify COM1, COM2, etc from lots
of /dev/tty?? entries.  There were no /dev/ttyS? entries.  This was
solved thru googling and running MAKEDEV (for COM1, COM2, etc).

The second problem seems to be an odd pinout.  The device has an RJ11
connector and came with an RJ11 to RS232 cable.  The DB9 connector is
documented as TX on pin 2 and RX on pin 3 (which is normal).
Connecting a breakout box, indicated TX on pin 3.  With a null-modem
and a loopback plug, send/receive started working using my program.

Send/receive was also verified using 2 terminal sessions and commands:

   cat /dev/ttyS0
   echo this is a test  /dev/ttyS0

The tip on setserial is appreciated.  I learned of stty's -F ... -a
options, but didn't know of setserial.

Having solved/learned the above on the Gentoo box, the next trick is
getting my code to work on the embedded 486SX linux system (non-Gentoo).

So far I know that programmed setting of baud rate is working (as
confirmed with stty).  However no data is being seen  from the keypad
or the two connected preamps.  They should all be continuously sending
data to com3, com2, and com4 (respectively).

The programming world is full of strange and wonderful problems to
solve, isn't it?

Regards,

David



[gentoo-user] Gentoo the Real-Time kernel

2009-12-27 Thread Grant
Has anyone tried the Real-Time kernel with Gentoo?

http://rt.wiki.kernel.org/index.php/Main_Page

Does anyone know if there are RT sources in an overlay anywhere?

- Grant



Re: [gentoo-user] Gentoo the Real-Time kernel

2009-12-27 Thread Mark Knecht
It's the only kernel I've used in years. In fact I've never run
gentoo-sources for any reason other than installation. With my
HDSP9652 I can run sub-1 mS delays consistently.

You'll find the real-time kernel in the pro-audio overlay as
'rt-sources'. You might consider joining the pro-audio overlay email
list to get questions answered about configuration, not that they
cannot be answered here but pretty much everyone there is running it
exclusively.

Note that the leading edge rt-sources kernel does tend to be a bit
behind the mainline kernel so you'll want to be a bit more careful
with things like closed source video drivers and the like. While not
so bad now there have been times in the past where the nvidia driver
did cause real-time problems. (Called 'xruns' in the audio world due
to the way Jack reports these problems.) I tend to run the Open source
video drivers to simply reduce the number of problems I might run into
but many, many people run both the ATI and nvidia closed source
drivers without any problems.

Have fun,
Mark

On Sun, Dec 27, 2009 at 7:40 AM, Grant emailgr...@gmail.com wrote:
 Has anyone tried the Real-Time kernel with Gentoo?

 http://rt.wiki.kernel.org/index.php/Main_Page

 Does anyone know if there are RT sources in an overlay anywhere?

 - Grant





[gentoo-user] Package gl?

2009-12-27 Thread Willie Wong
Hi, brand new system I am trying to install. 

emerge gets to xorg-server-1.7.3.901-r1 and dies with the message that
the config script cannot find package gl. And it is true, if I issue 

pkg-config --libs gl

I get, instead of the expected -IGL

Package gl was not found in the pkg-config search path.
Perhaps you should add the directory containing `gl.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gl' found

Any hints to what package I may be missing, and/or what directory it
should be in?

Cheers, 

W
-- 
You will be attracted to an older, more experienced person!
~what appeared in a fortune cookie on 01-14-2002 to Daniel Jonathan Peng
 BTW, DJP was sixteen and three quarters...
Sortir en Pantoufles: up 1115 days, 16:17



Re: [gentoo-user] Package gl?

2009-12-27 Thread Willie Wong
On Sun, Dec 27, 2009 at 12:27:47PM -0500, Penguin Lover Willie Wong squawked:
 Hi, brand new system I am trying to install. 
 
 emerge gets to xorg-server-1.7.3.901-r1 and dies with the message that
 the config script cannot find package gl. And it is true, if I issue 
 
 pkg-config --libs gl
 
 I get, instead of the expected -IGL
 
 Package gl was not found in the pkg-config search path.
 Perhaps you should add the directory containing `gl.pc'
 to the PKG_CONFIG_PATH environment variable
 No package 'gl' found
 
 Any hints to what package I may be missing, and/or what directory it
 should be in?
 

Oops, I just remembered that I can just look on my other gentoo server
to find where gl is and this brings up a new problem!

gl.pc is located in /usr/lib/pkgconfig/gl.pc
equery belongs tells me that it belongs to mesa. 

BUT, xorg-server-1.7.3.901-r1 has mesa as a PDEPEND, and mesa-7.7 has
xorg-server as a RDEPEND, which is included in DEPEND, so how the heck
am I supposed to get X working on my laptop?

W
-- 
It is said that papers in string theory are published at a rate
greater than the speed of light. This, however, is not problematic
since no information is being transmitted.
~Prof. Dr. phil. habil. Hagen Michael Kleinert
Sortir en Pantoufles: up 1115 days, 16:21



Re: [gentoo-user] [Solved, sorry for the noise] Package gl?

2009-12-27 Thread Willie Wong
On Sun, Dec 27, 2009 at 12:34:06PM -0500, Penguin Lover Willie Wong squawked:
 Oops, I just remembered that I can just look on my other gentoo server
 to find where gl is and this brings up a new problem!
 
 gl.pc is located in /usr/lib/pkgconfig/gl.pc
 equery belongs tells me that it belongs to mesa. 
 
 BUT, xorg-server-1.7.3.901-r1 has mesa as a PDEPEND, and mesa-7.7 has
 xorg-server as a RDEPEND, which is included in DEPEND, so how the heck
 am I supposed to get X working on my laptop?

Not my day. Keep forgetting to try the obvious solution. 
Must have had too much boxing day cheers lastnight. 

Not surprisingly, I was not the only one to notice the circular
dependency. The maintainers have already reverted the change that
resulted in the circle by the time I ran into the problems. I just
needed to re-sync. 

Cheers, 

W
-- 
Ferrets live by a code tried and true
From which humans can benefit, too.
Teach your sons and daughters
To do unto otters,
As otters would do unto you.
Sortir en Pantoufles: up 1115 days, 16:50



Re: [gentoo-user] USB mass storage device slow in Gentoo, fast in Windows...?

2009-12-27 Thread Paul Hartman
On Sun, Dec 27, 2009 at 12:01 AM, Michael Holmes
holmesm...@googlemail.com wrote:
 2009/12/27 Paul Hartman paul.hartman+gen...@gmail.com:
 On Sat, Dec 26, 2009 at 7:00 PM, Hung Dang hungp...@gmail.com wrote:
 On 12/26/09 15:54, Paul Hartman wrote:
 Hi,

 I got a Nokia N900 linux internet tablet/phone a few days ago, and
 when I connect it in USB Mass Storage mode to a Windows Vista computer
 I can write at 17MB/sec, but when I connect it to my Gentoo box my
 writes are really slow, between 500-900kb/sec depending on if I mount
 in sync mode or not. As far as I know it should be just a totally
 standard/generic mass storage device. (there were no drivers or
 software install needed in windows, it just worked)

 Other USB devices plugged into the same port go full speed, and AFAIK
 everything appears as if it should be high speed USB 2.0. Has anyone
 seen something like this before? I'm not sure what the deal is. It
 takes 20 minutes to copy 1 gigabyte from Linux and takes just under 1
 minute to do the same in Windows.

 I'm not sure about debugging USB or what the options are. Everything
 I've used previously has worked without any hassle.
 Have you received a lot of debugging messages at the output of dmesg
 when copying files?

 Hung

 No errors, no strange messages at all, it seems normal (only slow). I
 have other USB devices like SD card reader, external HDD, and they
 perform at full speed when plugged into the same port, so it's weird
 to me.

 Thanks
 Paul



 This isn't that helpful, but in Windows I get good thoroughputs in
 mass storage mode, but compartively weak ones in sync mode. But this
 shouldn't be the problem because as far as I know, there are no
 ync-mode drivers for good old Linux (which is ironic if you consider
 it).

When I said sync mode I mean mounting the device in mass storage
mode with with -o sync (as opposed to the default cached/async
mode), which I believe is the default in Windows Vista  Win7 (because
most windows users cannot be bothered to unmount before pulling the
plug).

Thanks



Re: [gentoo-user] The Great Macbook Update 3: Qt-4.5.1 to Qt-4.5.3 blocks hell

2009-12-27 Thread Neil Bothwick
On Sun, 27 Dec 2009 12:55:23 +, bn wrote:

 ...I would like to update the thing piece-by-piece, to troubleshoot
 better whatever happens.
Start with a system update, then emerge --oneshot individual,
non-QT, packages to reduce the number of packages in the big emerge.

  If not, you can either 
  unmask portage, emerge portage and try again, or if you don't like
  that approach, you must do it the older, longer way:  
 
 I could do it, if I have some safety option that allows me to downgrade
 portage later, in case I find problems. I am quite conservative with
 this system (it's a machine I use for day-to-day work) and I wouldn't
 like to have it borked.

Install and run demerge, then quickpkg your existing installed packages.
Demerge lets you roll back to any point at which you saved its config.


-- 
Neil Bothwick

... I dropped my toothpaste, Tom said, Crestfallen.


signature.asc
Description: PGP signature


Re: [gentoo-user] USB mass storage device slow in Gentoo, fast in Windows...?

2009-12-27 Thread Paul Hartman
On Sun, Dec 27, 2009 at 12:10 PM, Paul Hartman
paul.hartman+gen...@gmail.com wrote:
 On Sun, Dec 27, 2009 at 12:01 AM, Michael Holmes
 holmesm...@googlemail.com wrote:
 2009/12/27 Paul Hartman paul.hartman+gen...@gmail.com:
 On Sat, Dec 26, 2009 at 7:00 PM, Hung Dang hungp...@gmail.com wrote:
 On 12/26/09 15:54, Paul Hartman wrote:
 Hi,

 I got a Nokia N900 linux internet tablet/phone a few days ago, and
 when I connect it in USB Mass Storage mode to a Windows Vista computer
 I can write at 17MB/sec, but when I connect it to my Gentoo box my
 writes are really slow, between 500-900kb/sec depending on if I mount
 in sync mode or not. As far as I know it should be just a totally
 standard/generic mass storage device. (there were no drivers or
 software install needed in windows, it just worked)

 Other USB devices plugged into the same port go full speed, and AFAIK
 everything appears as if it should be high speed USB 2.0. Has anyone
 seen something like this before? I'm not sure what the deal is. It
 takes 20 minutes to copy 1 gigabyte from Linux and takes just under 1
 minute to do the same in Windows.

 I'm not sure about debugging USB or what the options are. Everything
 I've used previously has worked without any hassle.
 Have you received a lot of debugging messages at the output of dmesg
 when copying files?

 Hung

 No errors, no strange messages at all, it seems normal (only slow). I
 have other USB devices like SD card reader, external HDD, and they
 perform at full speed when plugged into the same port, so it's weird
 to me.

 Thanks
 Paul



 This isn't that helpful, but in Windows I get good thoroughputs in
 mass storage mode, but compartively weak ones in sync mode. But this
 shouldn't be the problem because as far as I know, there are no
 ync-mode drivers for good old Linux (which is ironic if you consider
 it).

 When I said sync mode I mean mounting the device in mass storage
 mode with with -o sync (as opposed to the default cached/async
 mode), which I believe is the default in Windows Vista  Win7 (because
 most windows users cannot be bothered to unmount before pulling the
 plug).

 Thanks

Well, after a bit more plugging/unplugging of all my USB devices into
various ports in different orders, it seems to be going fast now. I
hate USB :)

Thanks for the help



[gentoo-user] Upgrade or start over..

2009-12-27 Thread Jon Hardcastle
Hi all, 

I have a gentoo circa 2008 install that i have pretty much the bare minimal to 
keep up to date... i now have the problem that i need to upgrade mdadm, lvm and 
probably a few other bits and pieces. This machine is used almost exclusively 
as a windows file server.

I am getting blocks all over the show and lots of applications needs 
reinstalling/upgradining on a emerge world. i have also had problems getting 
the kernel to do what it needs to do a i installed the minimal when i started..

So i am wondering... it is easier to try and upgrade it, or as i have 2 raid 1 
drives as the operating system drives and the rest of the drives are pure data, 
i can disconnect one and wipe the other reinstall from fresh as a degraded raid 
1 and when i know we are good to go, wipe the disconnected drive and add to the 
array to resync and go from there? 


---
N: Jon Hardcastle
E: j...@ehardcastle.com
'Do not worry about tomorrow, for tomorrow will bring worries of its own.'

***
Please note, I am phasing out jd_hardcastle AT yahoo.com and replacing it with 
jon AT eHardcastle.com
***

---


 



Re: [gentoo-user] USB mass storage device slow in Gentoo, fast in Windows...?

2009-12-27 Thread Paul Hartman
On Sun, Dec 27, 2009 at 1:46 PM, Paul Hartman
paul.hartman+gen...@gmail.com wrote:
 On Sun, Dec 27, 2009 at 12:10 PM, Paul Hartman
 paul.hartman+gen...@gmail.com wrote:
 On Sun, Dec 27, 2009 at 12:01 AM, Michael Holmes
 holmesm...@googlemail.com wrote:
 2009/12/27 Paul Hartman paul.hartman+gen...@gmail.com:
 On Sat, Dec 26, 2009 at 7:00 PM, Hung Dang hungp...@gmail.com wrote:
 On 12/26/09 15:54, Paul Hartman wrote:
 Hi,

 I got a Nokia N900 linux internet tablet/phone a few days ago, and
 when I connect it in USB Mass Storage mode to a Windows Vista computer
 I can write at 17MB/sec, but when I connect it to my Gentoo box my
 writes are really slow, between 500-900kb/sec depending on if I mount
 in sync mode or not. As far as I know it should be just a totally
 standard/generic mass storage device. (there were no drivers or
 software install needed in windows, it just worked)

 Other USB devices plugged into the same port go full speed, and AFAIK
 everything appears as if it should be high speed USB 2.0. Has anyone
 seen something like this before? I'm not sure what the deal is. It
 takes 20 minutes to copy 1 gigabyte from Linux and takes just under 1
 minute to do the same in Windows.

 I'm not sure about debugging USB or what the options are. Everything
 I've used previously has worked without any hassle.
 Have you received a lot of debugging messages at the output of dmesg
 when copying files?

 Hung

 No errors, no strange messages at all, it seems normal (only slow). I
 have other USB devices like SD card reader, external HDD, and they
 perform at full speed when plugged into the same port, so it's weird
 to me.

 Thanks
 Paul



 This isn't that helpful, but in Windows I get good thoroughputs in
 mass storage mode, but compartively weak ones in sync mode. But this
 shouldn't be the problem because as far as I know, there are no
 ync-mode drivers for good old Linux (which is ironic if you consider
 it).

 When I said sync mode I mean mounting the device in mass storage
 mode with with -o sync (as opposed to the default cached/async
 mode), which I believe is the default in Windows Vista  Win7 (because
 most windows users cannot be bothered to unmount before pulling the
 plug).

 Thanks

 Well, after a bit more plugging/unplugging of all my USB devices into
 various ports in different orders, it seems to be going fast now. I
 hate USB :)

 Thanks for the help

Maybe I spoke too soon. It seems what's happening is when I write a
large amount of data, there are several pdflush threads at near 100%
i/o wait. I'm thinking it's writing multiple streams over USB which is
causing the massive slow-down.

I'm using 2.6.31, and I see in 2.6.32 there is something called
Per-backing-device based writeback which may help me here... I'll
try the new kernel and report back :)



Re: [gentoo-user] [SOLVED] The Great Macbook Update 3: Qt-4.5.1 to Qt-4.5.3 blocks hell

2009-12-27 Thread bn
Neil Bothwick ha scritto:
 On Sun, 27 Dec 2009 12:55:23 +, bn wrote:
 
 ...I would like to update the thing piece-by-piece, to troubleshoot
 better whatever happens.
 Start with a system update, then emerge --oneshot individual,
 non-QT, packages to reduce the number of packages in the big emerge.
 
 If not, you can either 
 unmask portage, emerge portage and try again, or if you don't like
 that approach, you must do it the older, longer way:  
 I could do it, if I have some safety option that allows me to downgrade
 portage later, in case I find problems. I am quite conservative with
 this system (it's a machine I use for day-to-day work) and I wouldn't
 like to have it borked.
 
 Install and run demerge, then quickpkg your existing installed packages.
 Demerge lets you roll back to any point at which you saved its config.

I solved the block by unmerging and re-merging the qt's and then
re-emerging all of KDE (for other qt software, I have to find it).

Thanks a lot for your tips -didn't know of demerge, and I will for sure
install it for the future.

m.



Re: [gentoo-user] Upgrade or start over..

2009-12-27 Thread Dale

Jon Hardcastle wrote:
Hi all, 


I have a gentoo circa 2008 install that i have pretty much the bare minimal to 
keep up to date... i now have the problem that i need to upgrade mdadm, lvm and 
probably a few other bits and pieces. This machine is used almost exclusively 
as a windows file server.

I am getting blocks all over the show and lots of applications needs 
reinstalling/upgradining on a emerge world. i have also had problems getting 
the kernel to do what it needs to do a i installed the minimal when i started..

So i am wondering... it is easier to try and upgrade it, or as i have 2 raid 1 drives as the operating system drives and the rest of the drives are pure data, i can disconnect one and wipe the other reinstall from fresh as a degraded raid 1 and when i know we are good to go, wipe the disconnected drive and add to the array to resync and go from there? 



---
N: Jon Hardcastle
E: j...@ehardcastle.com
'Do not worry about tomorrow, for tomorrow will bring worries of its own.'

***
Please note, I am phasing out jd_hardcastle AT yahoo.com and replacing it with 
jon AT eHardcastle.com
***

---
  


I don't know much about what all you have installed but I suspect that a 
fresh start would be easier.  It may even be faster as well.  Just save 
your world file and the things you need in /etc.  Also, save anything 
else you may have configured elsewhere.  I also save my /root since I 
store some scripts and such there. 


My $0.02 worth.

Dale

:-)  :-)



Re: [gentoo-user] USB mass storage device slow in Gentoo, fast in Windows...?

2009-12-27 Thread Paul Hartman
On Sun, Dec 27, 2009 at 1:57 PM, Paul Hartman
paul.hartman+gen...@gmail.com wrote:
 On Sun, Dec 27, 2009 at 1:46 PM, Paul Hartman
 paul.hartman+gen...@gmail.com wrote:
 On Sun, Dec 27, 2009 at 12:10 PM, Paul Hartman
 paul.hartman+gen...@gmail.com wrote:
 On Sun, Dec 27, 2009 at 12:01 AM, Michael Holmes
 holmesm...@googlemail.com wrote:
 2009/12/27 Paul Hartman paul.hartman+gen...@gmail.com:
 On Sat, Dec 26, 2009 at 7:00 PM, Hung Dang hungp...@gmail.com wrote:
 On 12/26/09 15:54, Paul Hartman wrote:
 Hi,

 I got a Nokia N900 linux internet tablet/phone a few days ago, and
 when I connect it in USB Mass Storage mode to a Windows Vista computer
 I can write at 17MB/sec, but when I connect it to my Gentoo box my
 writes are really slow, between 500-900kb/sec depending on if I mount
 in sync mode or not. As far as I know it should be just a totally
 standard/generic mass storage device. (there were no drivers or
 software install needed in windows, it just worked)

 Other USB devices plugged into the same port go full speed, and AFAIK
 everything appears as if it should be high speed USB 2.0. Has anyone
 seen something like this before? I'm not sure what the deal is. It
 takes 20 minutes to copy 1 gigabyte from Linux and takes just under 1
 minute to do the same in Windows.

 I'm not sure about debugging USB or what the options are. Everything
 I've used previously has worked without any hassle.
 Have you received a lot of debugging messages at the output of dmesg
 when copying files?

 Hung

 No errors, no strange messages at all, it seems normal (only slow). I
 have other USB devices like SD card reader, external HDD, and they
 perform at full speed when plugged into the same port, so it's weird
 to me.

 Thanks
 Paul



 This isn't that helpful, but in Windows I get good thoroughputs in
 mass storage mode, but compartively weak ones in sync mode. But this
 shouldn't be the problem because as far as I know, there are no
 ync-mode drivers for good old Linux (which is ironic if you consider
 it).

 When I said sync mode I mean mounting the device in mass storage
 mode with with -o sync (as opposed to the default cached/async
 mode), which I believe is the default in Windows Vista  Win7 (because
 most windows users cannot be bothered to unmount before pulling the
 plug).

 Thanks

 Well, after a bit more plugging/unplugging of all my USB devices into
 various ports in different orders, it seems to be going fast now. I
 hate USB :)

 Thanks for the help

 Maybe I spoke too soon. It seems what's happening is when I write a
 large amount of data, there are several pdflush threads at near 100%
 i/o wait. I'm thinking it's writing multiple streams over USB which is
 causing the massive slow-down.

 I'm using 2.6.31, and I see in 2.6.32 there is something called
 Per-backing-device based writeback which may help me here... I'll
 try the new kernel and report back :)

There is a slight improvement but it's still very slow (less than
2MB/sec). It seems the problem happens if I try to copy more than 1
file to the device. If I copy/sync/copy/sync/copy/sync etc it goes
faster, but that's extremely annoying!



Re: [gentoo-user] Upgrade or start over..

2009-12-27 Thread bn
Jon Hardcastle ha scritto:
 Hi all, 
 
 I have a gentoo circa 2008 install that i have pretty much the bare minimal 
 to keep up to date... i now have the problem that i need to upgrade mdadm, 
 lvm and probably a few other bits and pieces. This machine is used almost 
 exclusively as a windows file server.
 
 I am getting blocks all over the show and lots of applications needs 
 reinstalling/upgradining on a emerge world. i have also had problems getting 
 the kernel to do what it needs to do a i installed the minimal when i 
 started..
 
 So i am wondering... it is easier to try and upgrade it, or as i have 2 raid 
 1 drives as the operating system drives and the rest of the drives are pure 
 data, i can disconnect one and wipe the other reinstall from fresh as a 
 degraded raid 1 and when i know we are good to go, wipe the disconnected 
 drive and add to the array to resync and go from there? 

Well, I am updating my desktop system which was in pretty the same
conditions (kernel, xorg, etc. being stuck since beginning of 2008) and
I must say that, while long and not without bumps, the upgrade has been
not as bad as I thought. Expect to use a week of your time, however -I
still haven't finished even if most critical stuff (kernel, xorg, new
kde) is more or less in place.

Reinstalling maybe is cleaner, but I am unsure it will take less time,
unless you carefully copy your /etc and your user configuration files,
and then you remember why you did what, etc. when putting them back.

m.

 
 ---
 N: Jon Hardcastle
 E: j...@ehardcastle.com
 'Do not worry about tomorrow, for tomorrow will bring worries of its own.'
 
 ***
 Please note, I am phasing out jd_hardcastle AT yahoo.com and replacing it 
 with jon AT eHardcastle.com
 ***
 
 ---
 
 
   
 
 




[gentoo-user] Re: Writing a bash script or thinking about it anyway.

2009-12-27 Thread »Q«
On Fri, 25 Dec 2009 17:19:37 -0600
Dale rdalek1...@gmail.com wrote:

 »Q« wrote:

  It's current and it's fine for Gentoo.  It's in the portage tree as
  app-doc/abs-guide, in case you want a local copy.
 
 I'm installing this and will give it a read when I get some free
 time. I hope this will not be to long.

I'd forgotten about this, but drobbins wrote a series of three Bash by
Example articles almost ten years ago, and the first two cover a lot
of the fundamental stuff.  I found them useful when I was starting
out.  (Heh, I'm not sure I'm done starting out.)

http://www.ibm.com/developerworks/library/l-bash.html

Some of the Gentoo-specific things in the third article aren't true
any more, for example, Bash is an essential component of the Gentoo
Linux ebuild system.

-- 
»Q«
 Kleeneness is next to Gödelness.




Re: [gentoo-user] Upgrade or start over..

2009-12-27 Thread Alan McKinnon
On Sunday 27 December 2009 21:46:23 Jon Hardcastle wrote:
 Hi all,
 
 I have a gentoo circa 2008 install that i have pretty much the bare minimal
  to keep up to date... i now have the problem that i need to upgrade mdadm,
  lvm and probably a few other bits and pieces. This machine is used almost
  exclusively as a windows file server.
 
 I am getting blocks all over the show and lots of applications needs
  reinstalling/upgradining on a emerge world. i have also had problems
  getting the kernel to do what it needs to do a i installed the minimal
  when i started..
 
 So i am wondering... it is easier to try and upgrade it, or as i have 2
  raid 1 drives as the operating system drives and the rest of the drives
  are pure data, i can disconnect one and wipe the other reinstall from
  fresh as a degraded raid 1 and when i know we are good to go, wipe the
  disconnected drive and add to the array to resync and go from there?

the mdadm/lvm blocks are easy to fix, just unmerge mdadm and merge lvm.

Then upgrade portage to latest *masked* version (it's stable and trouble-free 
despite the classification), and most of the remaining blockers should be 
resolved automatically by portage. Depending on what remains, you may or may 
not decide to proceed with an upgrade as opposed to a reinstall.

But it's only one year back, shouldn't give too much trouble on a minimalist 
system. Off the top of my head, I can only really think of the monolithic to 
split ebuild samba split


-- 
alan dot mckinnon at gmail dot com



[gentoo-user] The current correct way to start kde 4

2009-12-27 Thread Andrew Lowe

Hi all,
	I've browsed the forums, documentation etc and can find a lot of 
options/opinions but nothing definitive. Can someone please point me at 
a document that outlines the current correct way to start kde 4. I 
wish to have kde as the default login manager for all users of a gentoo box.


Any thoughts, greatly appreciated.

Andrew



[gentoo-user] Mothballing a ~arch gentoo system?

2009-12-27 Thread Marcus Wanner
When an old (circa 2001) desktop came out of retirement a few months 
ago, I shuffled across Linuxes trying to find something that worked 
well, and finally hit on gentoo. I eventually switched to ~x86 because I 
was tired of using versions of apps from 6 months ago... Too make a long 
story short, I have a new computer now and that one is going back into 
retirement. I may want to use it more in future and would like to know 
how I would go about mothballing it so that if it ever needs to be 
used again, bringing it up to date will be as smooth and painless as 
possible. If I need to resurrect it, it will probably be at least a year 
from now. What would you recommend?


Marcus



Re: [gentoo-user] Gentoo the Real-Time kernel

2009-12-27 Thread Grant
 It's the only kernel I've used in years. In fact I've never run
 gentoo-sources for any reason other than installation. With my
 HDSP9652 I can run sub-1 mS delays consistently.

 You'll find the real-time kernel in the pro-audio overlay as
 'rt-sources'. You might consider joining the pro-audio overlay email
 list to get questions answered about configuration, not that they
 cannot be answered here but pretty much everyone there is running it
 exclusively.

 Note that the leading edge rt-sources kernel does tend to be a bit
 behind the mainline kernel so you'll want to be a bit more careful
 with things like closed source video drivers and the like. While not
 so bad now there have been times in the past where the nvidia driver
 did cause real-time problems. (Called 'xruns' in the audio world due
 to the way Jack reports these problems.) I tend to run the Open source
 video drivers to simply reduce the number of problems I might run into
 but many, many people run both the ATI and nvidia closed source
 drivers without any problems.

 Have fun,
 Mark

Thanks Mark, I'm going to join that list.

- Grant


 Has anyone tried the Real-Time kernel with Gentoo?

 http://rt.wiki.kernel.org/index.php/Main_Page

 Does anyone know if there are RT sources in an overlay anywhere?

 - Grant



Re: [gentoo-user] The current correct way to start kde 4

2009-12-27 Thread Kirill Lipatov
http://www.gentoo.org/proj/en/desktop/kde/kde4-guide.xml  This is the most
appropriate guide. However, I don't see any problem with just simple
universal install:

1) eix kde-meta packages and choose the ones you would like to install and
then simply emerge

# this would pull all of the kde packages
# emerge kde-meta

# if you would like just the basic set of packages
# emerge kdebase-meta

2) in your /etc/conf.d/xdm change the displaymanager option to simply kdm

# nano /etc/conf.d/xdm
...
DISPLAYMANAGER=kdm
...

That'd be it :)

2009/12/28 Andrew Lowe a...@wht.com.au

 Hi all,
I've browsed the forums, documentation etc and can find a lot of
 options/opinions but nothing definitive. Can someone please point me at a
 document that outlines the current correct way to start kde 4. I wish to
 have kde as the default login manager for all users of a gentoo box.

Any thoughts, greatly appreciated.

Andrew




-- 
Kirill Lipatov
klipa...@ku.edu


Re: [gentoo-user] Mothballing a ~arch gentoo system?

2009-12-27 Thread Dale

Marcus Wanner wrote:
When an old (circa 2001) desktop came out of retirement a few months 
ago, I shuffled across Linuxes trying to find something that worked 
well, and finally hit on gentoo. I eventually switched to ~x86 because 
I was tired of using versions of apps from 6 months ago... Too make a 
long story short, I have a new computer now and that one is going back 
into retirement. I may want to use it more in future and would like to 
know how I would go about mothballing it so that if it ever needs to 
be used again, bringing it up to date will be as smooth and painless 
as possible. If I need to resurrect it, it will probably be at least a 
year from now. What would you recommend?


Marcus




Portage is better but that is a while to go without a update.  It mostly 
depends on what all is updated with some sort of hiccup between the time 
you shut it down and the time you try to update it again.  If there is 
no major problems then it wouldn't be a issue but of there is multiple 
packages with issues, then you have a problem.


Me, I would put it in a closet or something with a ethernet cable hooked 
up and just update it say once every 6 to 8 weeks.  Just hope for the 
best after that.


Dale

:-)  :-) 



Re: [gentoo-user] The current correct way to start kde 4

2009-12-27 Thread Dale

Andrew Lowe wrote:

Hi all,
I've browsed the forums, documentation etc and can find a lot of 
options/opinions but nothing definitive. Can someone please point me 
at a document that outlines the current correct way to start kde 4. 
I wish to have kde as the default login manager for all users of a 
gentoo box.


Any thoughts, greatly appreciated.

Andrew




xdm set to use kdm to login?  That's what I use here.  You can have 
multiple uses with it too.


Is that what you are talking about?

Dale

:-)  :-) 



Re: [gentoo-user] kde-4.3 tweenview does not work

2009-12-27 Thread Xi Shen
have they changed the definition of the word, or i were wrong at the
first place?


On Sun, Dec 27, 2009 at 5:13 AM, Alan McKinnon alan.mckin...@gmail.com wrote:
 On Saturday 26 December 2009 19:29:10 Xi Shen wrote:
 hi,

 my system is gentoo amd64, kde-4.3, my graphic card is nvidia's. i use
 nvidia-settings to set up my two displayer to work in the tweenview
 mode. it supposed to have two separate desktop, instead it have a
 large desktop expand two displayer.

 on gnome and windows, tweenview always sets up two separate desktop.
 how can i set this on kde?


 Per the nvidia-driver docs (/usr/share/doc/nvidia-drivers-190.53/README.bz2),
 TwinView is designed to give you one large desktop and there's not much you
 can do about that in KDE.

 See Chap 15 of that same doc for a description of how to configure two
 separate screens.

 --
 alan dot mckinnon at gmail dot com





-- 
Best Regards,
David Shen

http://twitter.com/davidshen84/
http://meme.yahoo.com/davidshen84/



Re: [gentoo-user] kde-4.3 tweenview does not work

2009-12-27 Thread Xi Shen
On Mon, Dec 28, 2009 at 11:54 AM, Xi Shen davidshe...@googlemail.com wrote:
 have they changed the definition of the word, or i were wrong at the
 first place?


 On Sun, Dec 27, 2009 at 5:13 AM, Alan McKinnon alan.mckin...@gmail.com 
 wrote:
 On Saturday 26 December 2009 19:29:10 Xi Shen wrote:
 hi,

 my system is gentoo amd64, kde-4.3, my graphic card is nvidia's. i use
 nvidia-settings to set up my two displayer to work in the tweenview
 mode. it supposed to have two separate desktop, instead it have a
 large desktop expand two displayer.

 on gnome and windows, tweenview always sets up two separate desktop.
 how can i set this on kde?


 Per the nvidia-driver docs (/usr/share/doc/nvidia-drivers-190.53/README.bz2),
 TwinView is designed to give you one large desktop and there's not much you
 can do about that in KDE.

 See Chap 15 of that same doc for a description of how to configure two
 separate screens.

 --
 alan dot mckinnon at gmail dot com





 --
 Best Regards,
 David Shen

 http://twitter.com/davidshen84/
 http://meme.yahoo.com/davidshen84/



why i cannot find the file you mentioned? it looks like i do not have
it installed. how can i install it?


-- 
Best Regards,
David Shen

http://twitter.com/davidshen84/
http://meme.yahoo.com/davidshen84/



Re: [gentoo-user] The current correct way to start kde 4

2009-12-27 Thread Kirill Lipatov
well yeah. I just think that setting the kdm as the login manager is the
easiest way to automatically start kde4 session after loging in. However,
kdm is of course not mandatory and it can do more than just start kde4

2009/12/28 Dale rdalek1...@gmail.com

 Andrew Lowe wrote:

 Hi all,
I've browsed the forums, documentation etc and can find a lot of
 options/opinions but nothing definitive. Can someone please point me at a
 document that outlines the current correct way to start kde 4. I wish to
 have kde as the default login manager for all users of a gentoo box.

Any thoughts, greatly appreciated.

Andrew



 xdm set to use kdm to login?  That's what I use here.  You can have
 multiple uses with it too.

 Is that what you are talking about?

 Dale

 :-)  :-)




-- 
Kirill Lipatov
klipa...@ku.edu


Re: [gentoo-user] The current correct way to start kde 4

2009-12-27 Thread Volker Armin Hemmann
On Montag 28 Dezember 2009, Kirill Lipatov wrote:
 well yeah. I just think that setting the kdm as the login manager is the
 easiest way to automatically start kde4 session after loging in. However,
 kdm is of course not mandatory and it can do more than just start kde4

OP wrote he wanted 'kde' as login manager. Which implies he wants kdm.




Re: [gentoo-user] kde-4.3 tweenview does not work

2009-12-27 Thread John H. Moe
Xi Shen wrote:
 On Mon, Dec 28, 2009 at 11:54 AM, Xi Shen davidshe...@googlemail.com wrote:
   
 have they changed the definition of the word, or i were wrong at the
 first place?


 On Sun, Dec 27, 2009 at 5:13 AM, Alan McKinnon alan.mckin...@gmail.com 
 wrote:
 
 On Saturday 26 December 2009 19:29:10 Xi Shen wrote:
   
 hi,

 my system is gentoo amd64, kde-4.3, my graphic card is nvidia's. i use
 nvidia-settings to set up my two displayer to work in the tweenview
 mode. it supposed to have two separate desktop, instead it have a
 large desktop expand two displayer.

 on gnome and windows, tweenview always sets up two separate desktop.
 how can i set this on kde?

 
 Per the nvidia-driver docs 
 (/usr/share/doc/nvidia-drivers-190.53/README.bz2),
 TwinView is designed to give you one large desktop and there's not much you
 can do about that in KDE.

 See Chap 15 of that same doc for a description of how to configure two
 separate screens.

 --
 alan dot mckinnon at gmail dot com


   

 --
 Best Regards,
 David Shen

 http://twitter.com/davidshen84/
 http://meme.yahoo.com/davidshen84/

 


 why i cannot find the file you mentioned? it looks like i do not have
 it installed. how can i install it?


   
It should get installed with nvidia-drivers:

j...@jhb5970 ~ $ equery belongs
/usr/share/doc/nvidia-drivers-185.18.36/README.bz2
[ Searching for file(s)
/usr/share/doc/nvidia-drivers-185.18.36/README.bz2 in *... ]
x11-drivers/nvidia-drivers-185.18.36
(/usr/share/doc/nvidia-drivers-185.18.36/README.bz2)

You may have to substitute your nvidia-drivers version number for the
185.18.36 in my path, or the 190.53 in Alan's path?

John H. Moe



Re: [gentoo-user] Mothballing a ~arch gentoo system?

2009-12-27 Thread William Kenworthy
On Sun, 2009-12-27 at 20:45 -0600, Dale wrote:
 Marcus Wanner wrote:
  When an old (circa 2001) desktop came out of retirement a few months 
  ago, I shuffled across Linuxes trying to find something that worked 
  well, and finally hit on gentoo. I eventually switched to ~x86 because 
  I was tired of using versions of apps from 6 months ago... Too make a 
  long story short, I have a new computer now and that one is going back 
  into retirement. I may want to use it more in future and would like to 
  know how I would go about mothballing it so that if it ever needs to 
  be used again, bringing it up to date will be as smooth and painless 
  as possible. If I need to resurrect it, it will probably be at least a 
  year from now. What would you recommend?
 
  Marcus
 
 
 
 Portage is better but that is a while to go without a update.  It mostly 
 depends on what all is updated with some sort of hiccup between the time 
 you shut it down and the time you try to update it again.  If there is 
 no major problems then it wouldn't be a issue but of there is multiple 
 packages with issues, then you have a problem.
 
 Me, I would put it in a closet or something with a ethernet cable hooked 
 up and just update it say once every 6 to 8 weeks.  Just hope for the 
 best after that.
 
 Dale
 
 :-)  :-) 

I have an emergency desktop system at work that I recently pulled out
of storage to use (laptop HD died!).  Once used, I spent quite a while
updating it and was just going to put it aside using Dales suggestion
when this thread got me thinking.

I am going to clean out gnome and anything not of immediate use leaving
just a bare desktop and minimal tools needed for emergency use (OO,
evolution) - I'll replace gnome with fluxbox first.

Then if it needs to get serious use other packages can be added on the
fly.  If it looks like longer term use, its easy to add gnome etc back
overnight, and while continuing to use the fluxbox desktop.

The minimal system should be quicker and simpler to update than a crufty
system - and if you have to update much of gnome and the like,
updating/reinstalling might take longer than building from scratch
anyway (going by my last update to gnome :)

BillK