[gentoo-user] {OT} AMD Barcelona vs. Intel Harpertown (also 10k vs 15k RPM)

2009-07-19 Thread Grant
I'm trying to decide between an AMD Barcelona or an Intel Harpertown
quad-core CPU for a web/database server.  The Intel would have a 5%
lower clock speed.  I've read that Harpertown outperforms Barcelona
(by 20%?), but that the quad-core implementation isn't as good on the
Harpertown.  It's surprisingly difficult to get comparative benchmarks
on these at similar clock speeds.  Does anyone know which of these
should perform better in a web/database server?  I support AMD on my
non-critical systems, but I need performance for this server.

I'm also trying to decide between a 2.5 10k HD vs. a 3.5 15k HD.
I've read that the 15k yields about a 20% I/O performance boost so I
think I'll go for it.  I won't be using RAID at all.

- Grant



Re: [gentoo-user] {OT} AMD Barcelona vs. Intel Harpertown (also 10k vs 15k RPM)

2009-07-19 Thread Daniel Troeder
On Sun, 2009-07-19 at 07:46 -0700, Grant wrote:
 I'm trying to decide between an AMD Barcelona or an Intel Harpertown
 quad-core CPU for a web/database server.  The Intel would have a 5%
 lower clock speed.  I've read that Harpertown outperforms Barcelona
 (by 20%?), but that the quad-core implementation isn't as good on the
 Harpertown.  It's surprisingly difficult to get comparative benchmarks
 on these at similar clock speeds.  Does anyone know which of these
 should perform better in a web/database server?  I support AMD on my
 non-critical systems, but I need performance for this server.
 
 I'm also trying to decide between a 2.5 10k HD vs. a 3.5 15k HD.
 I've read that the 15k yields about a 20% I/O performance boost so I
 think I'll go for it.  I won't be using RAID at all.
 
 - Grant

 I won't be using RAID at all.
If uptime is of no concern to you, then why even bother about speed?





[gentoo-user] Re: openoffice fails on qt_plugins_3.3rc

2009-07-19 Thread James
Roy Wright roy at wright.org writes:




 I'm wondering about the lock (notice the old date).  Maybe move it to  
 somewhere safe and try OO again.


I move '.qt_plugins_3.3rc.lock' to
'.qt_plugins_3.3rc.lock.dec30-2008'

Again it fails with this message:

terminate called after throwing an instance of
'com::sun::star::uno::RuntimeException'


 Also are you building OO from source or running the binary version?

both 3.0 and 3.1.0 are compiled from source. 
Currently it's app-office/openoffice-3.1.0



Any other ideas?


James






[gentoo-user] Re: openoffice fails on qt_plugins_3.3rc

2009-07-19 Thread James
Roy Wright roy at wright.org writes:



 Also are you building OO from source or running the binary version?


Well, it's definately a permission problem, because as root
I can run OO flawlessly..?



Here are the parent dir permissions:

ls -l /usr/qt/3/etc/
total 0
drwxr-xr-x 2 root root 160 Jul 19 14:54 settings


Here are the content permissions:

ls -al /usr/qt/3/etc/settings/
total 4
drwxr-xr-x 2 root root  160 Jul 19 14:54 .
drwxr-xr-x 3 root root   72 Dec 30  2008 ..
-rw-r--r-- 1 root root0 Jul 19 14:54 .keep_x11-libs_qt-3
-rw-r--r-- 1 root root0 Jul 19 14:48 .qt_plugins_3.3rc.lock
-rw-r--r-- 1 root root 3801 Jul 19 14:50 qt_plugins_3.3rc


Can somebody check these(again) for me?



James






Re: [gentoo-user] Re: openoffice fails on qt_plugins_3.3rc

2009-07-19 Thread Dale
James wrote:
 Roy Wright roy at wright.org writes:



   
 Also are you building OO from source or running the binary version?
 


 Well, it's definately a permission problem, because as root
 I can run OO flawlessly..?



 Here are the parent dir permissions:

 ls -l /usr/qt/3/etc/
 total 0
 drwxr-xr-x 2 root root 160 Jul 19 14:54 settings


 Here are the content permissions:

 ls -al /usr/qt/3/etc/settings/
 total 4
 drwxr-xr-x 2 root root  160 Jul 19 14:54 .
 drwxr-xr-x 3 root root   72 Dec 30  2008 ..
 -rw-r--r-- 1 root root0 Jul 19 14:54 .keep_x11-libs_qt-3
 -rw-r--r-- 1 root root0 Jul 19 14:48 .qt_plugins_3.3rc.lock
 -rw-r--r-- 1 root root 3801 Jul 19 14:50 qt_plugins_3.3rc


 Can somebody check these(again) for me?



 James


   

Sure:

r...@smoker / # ls -al /usr/qt/3/etc/settings/
total 12
drwxr-xr-x 2 root root  288 Jun 27 16:56 .
drwxr-xr-x 3 root root   72 Dec  9  2008 ..
-rw--- 1 root root0 Apr  1 07:53 .kconfigrc.lock
-rw-r--r-- 1 root root0 Jun 27 13:26 .keep_x11-libs_qt-3
-rw--- 1 root root0 Dec 29  2008 .moto4linrc.lock
-rw--- 1 root root0 Dec  9  2008 .qt_plugins_3.3rc.lock
-rw-r--r-- 1 root root  302 Apr  1 07:53 kconfigrc
-rw-r--r-- 1 root root  219 Jan 16  2009 moto4linrc
-rw-r--r-- 1 root root 3211 Jun 27 16:56 qt_plugins_3.3rc
r...@smoker / #

Up one directory:

r...@smoker / # ls -al /usr/qt/3/etc/
total 0
drwxr-xr-x  3 root root  72 Dec  9  2008 .
drwxr-xr-x 10 root root 280 Jun 27 13:27 ..
drwxr-xr-x  2 root root 288 Jun 27 16:56 settings
r...@smoker / #


That help?

Dale

:-)  :-) 



Re: [gentoo-user] Re: openoffice fails on qt_plugins_3.3rc

2009-07-19 Thread Philip Webb
090719 James wrote:
 Roy Wright roy at wright.org writes:
 Also are you building OO from source or running the binary version?
 Well, it's definately a permission problem,
 because as root I can run OO flawlessly. 
 Here are the parent dir permissions:
   ls -l /usr/qt/3/etc/
   total 0
   drwxr-xr-x 2 root root 160 Jul 19 14:54 settings
 Here are the content permissions:
   ls -al /usr/qt/3/etc/settings/
   total 4
   drwxr-xr-x 2 root root  160 Jul 19 14:54 .
   drwxr-xr-x 3 root root   72 Dec 30  2008 ..
   -rw-r--r-- 1 root root0 Jul 19 14:54 .keep_x11-libs_qt-3
   -rw-r--r-- 1 root root0 Jul 19 14:48 .qt_plugins_3.3rc.lock
   -rw-r--r-- 1 root root 3801 Jul 19 14:50 qt_plugins_3.3rc
 Can somebody check these(again) for me?

  root:510 etc pwd
/usr/qt/3/etc
  root:511 etc ls -la
total 0
drwxr-xr-x  3 root root  72 2007-10-27 22:30 .
drwxr-xr-x 11 root root 328 2009-01-10 16:44 ..
drwxr-xr-x  2 root root 280 2009-07-02 03:41 settings
  root:512 etc cd settings
  root:513 settings ls -la
total 12
drwxr-xr-x 2 root root  280 2009-07-02 03:41 .
drwxr-xr-x 3 root root   72 2007-10-27 22:30 ..
-rw-r--r-- 1 root root  533 2007-12-05 00:56 kconfigrc
-rw--- 1 root root0 2007-11-07 08:36 .kconfigrc.lock
-rw-r--r-- 1 root root0 2009-01-10 16:44 .keep_x11-libs_qt-3
-rw-r--r-- 1 root root 2689 2009-07-02 03:41 qt_plugins_3.3rc
-rw--- 1 root root0 2007-10-28 23:28 .qt_plugins_3.3rc.lock
-rw-r--r-- 1 root root 1694 2007-11-04 07:44 qtrc
-rw--- 1 root root0 2007-10-29 16:39 .qtrc.lock

NB I have  2  more files than you + their locks.
This is OO 3.1.0 (compiled from source) + 'qt-3.3.8b-r1'.

HTH

-- 
,,
SUPPORT ___//___,   Philip Webb
ELECTRIC   /] [] [] [] [] []|   Cities Centre, University of Toronto
TRANSIT`-O--O---'   purslowatchassdotutorontodotca




[gentoo-user] Re: openoffice fails on qt_plugins_3.3rc

2009-07-19 Thread walt

On 07/19/2009 04:16 PM, James wrote:

Roy Wrightroyat  wright.org  writes:




Also are you building OO from source or running the binary version?



Well, it's definately a permission problem, because as root
I can run OO flawlessly..?


There is also another possibility:  root and you are just different
users, and the problem may lie in your ~/.oo3/ directory.  To test
this idea just rename ~/.oo3 to something else and let OO make a new
one.  If that test fails then you start looking at permissions.

I always keep a spare user account named 'tester' for the same purpose,
just in case the problem is something else in my home directory that
may not be obvious.






[gentoo-user] Re: openoffice fails on qt_plugins_3.3rc

2009-07-19 Thread james
walt w41ter at gmail.com writes:



 There is also another possibility:  root and you are just different
 users, and the problem may lie in your ~/.oo3/ directory.  To test
 this idea just rename ~/.oo3 to something else and let OO make a new
 one.  If that test fails then you start looking at permissions.


Nope same exact error, so it not related to my '.ooo3' dir

I have three 'o' in my dir name


James








[gentoo-user] Re: openoffice fails on qt_plugins_3.3rc

2009-07-19 Thread James
Dale rdalek1967 at gmail.com writes:


 That help?
 
 Dale

Well the files we have in common have the same permisions/ownership

but you have a few more than me..



I rebuilt 'x11-libs/qt-3.3.8b-r1' oneshot, but
it did not help fix the problem


I'm stumped


James







[gentoo-user] Re: openoffice fails on qt_plugins_3.3rc

2009-07-19 Thread James
Philip Webb purslow at ca.inter.net writes:


 NB I have  2  more files than you + their locks.
 This is OO 3.1.0 (compiled from source) + 'qt-3.3.8b-r1'.


Yes, I noticed the 2 extra files. I have the same versions
of OO and qt as you. It works for root, but not james.


It all worked fine until I tried a word file a yesterday (.doc)
Abiword works on all my .doc files and I can use OO as root
on them too, so it's something related to my account...

The new .0003 dir that created as another poster suggested,
did not to help, and indeed it is identical to the previous
one

stumped



James







[gentoo-user] mtrr: no MTRR for e8000000,4000000 found

2009-07-19 Thread Mark Knecht
Hi,
   I'm back trying to see if I can get these old Asus Pundit-R
machines to do anything at all with the newer kernel and the ATI Open
Source drivers. I've got fluxbox emerged and I'm trying to start
xluxbox using the xstart .xinitrc method. (Hope that's right?)

   Anyway, when I run startx I see a bit of graphics come up, sort of
a big X11 graphical X and then everything dies back to the console and
I'm left with messages about not finding MTRR stuff. The best version
of that I can find is in dmesg output below. There's nothing about
that in the Xorg log file although it is complaining about DRM stuff.
Maybe the MTRR stuff doesn't matter and it's really something else?

   I've not been successful getting any of these old machines running
under the newer xorg-servers. After this failure I still don't see the
radeon driver loaded.

   All help appreciated.

Thanks,
Mark

myth12 mythtv # cat .xinitrc
# .xinitrc
#exec startfluxbox
exec /usr/bin/fluxbox 
#exec /usr/bin/evilwm 
#exec /usr/bin/mythfrontend

myth12 mythtv #

myth12 mythtv # cat /var/log/Xorg.0.log | grep EE
Current Operating System: Linux myth12 2.6.29-gentoo-r5 #4 PREEMPT Fri
Jun 26 09:51:45 PDT 2009 i686
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(II) Loading extension MIT-SCREEN-SAVER
(EE) RADEON(0): [dri] RADEONDRIGetVersion failed to open the DRM
myth12 mythtv #


myth12 linux # dmesg | tail -n 5
[   17.486289] usb 1-0:1.0: uevent
[   19.612246] eth0:  setting full-duplex.
[   30.350021] eth0: no IPv6 routers present
[  433.541492] pci :01:05.0: PCI INT A - Link[LNKA] - GSI 11
(level, low) - IRQ 11
[  435.609192] mtrr: no MTRR for e800,400 found
myth12 linux # cat /usr/src/linux/.config | grep MTRR
CONFIG_MTRR=y
CONFIG_MTRR_SANITIZER=y
CONFIG_MTRR_SANITIZER_ENABLE_DEFAULT=0
CONFIG_MTRR_SANITIZER_SPARE_REG_NR_DEFAULT=1
myth12 linux #

myth12 linux # uname -a
Linux myth12 2.6.29-gentoo-r5 #4 PREEMPT Fri Jun 26 09:51:45 PDT 2009
i686 Intel(R) Celeron(R) CPU 2.26GHz GenuineIntel GNU/Linux
myth12 linux #
myth12 linux # emerge -pv xorg-server

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] x11-base/xorg-server-1.5.3-r6  USE=hal ipv6 nptl sdl
xorg -3dfx -debug -dmx -kdrive -minimal -tslib INPUT_DEVICES=evdev
-acecad -aiptek -calcomp -citron -digitaledge -dmc -dynapro -elo2300
-elographics -fpit -hyperpen -jamstudio -joystick -keyboard -magellan
-microtouch -mouse -mutouch -palmax -penmount -spaceorb -summa
-synaptics -tek4957 -tslib -ur98 -virtualbox -vmmouse -void -wacom
VIDEO_CARDS=fbdev radeon vesa -apm -ark -ast -chips -cirrus -dummy
-epson -fglrx -geode -glint -i128 -i740 (-impact) -imstt -intel
-mach64 -mga -neomagic (-newport) -nv -nvidia -r128 -radeonhd
-rendition -s3 -s3virge -savage -siliconmotion -sis -sisusb (-sunbw2)
(-suncg14) (-suncg3) (-suncg6) (-sunffb) (-sunleo) (-suntcx) -tdfx
-tga -trident -tseng -v4l -vermilion -via -virtualbox -vmware -voodoo
-xgi 0 kB

Total: 1 package (1 reinstall), Size of downloads: 0 kB
myth12 linux # eix -I ati
[I] x11-drivers/xf86-video-ati
 Available versions:  6.6.3 6.8.0-r1 ~6.9.0 ~6.10.0 ~6.11.0
6.12.1-r1 ~6.12.2 {debug}
 Installed versions:  6.12.1-r1(12:59:25 06/27/09)(-debug)
 Homepage:http://xorg.freedesktop.org/
 Description: ATI video driver

myth12 linux #



myth12 mythtv # cat /etc/X11/xorg.conf
Section Module

Loaddbe   # Double buffer extension
SubSection  extmod
  Optionomit xfree86-dga   # don't initialise the DGA extension
EndSubSection

# This loads the GLX module
#Load   glx
# This loads the DRI module
#Load   dri

EndSection

Section Files

FontPath   /usr/share/fonts/misc/
FontPath   /usr/share/fonts/100dpi/
FontPath   /usr/share/fonts/75dpi/
EndSection

Section ServerFlags

EndSection


Section InputDevice

Identifier  Keyboard1
Driver  kbd

Option AutoRepeat 500 30

Option XkbRules   xorg
Option XkbModel   pc101
Option XkbLayout  us

EndSection

Section InputDevice

Identifier  Mouse1
Driver  mouse
Option ProtocolAuto # Auto detect
Option Device  /dev/input/mice
Option ZAxisMapping   4 5 6 7

EndSection

Section Monitor

Identifier  My Monitor
HorizSync   31.5 - 57.0
VertRefresh 50-90

EndSection


Section Device
Identifier  Standard VGA
VendorName  Unknown
BoardName   Unknown
Driver vga
EndSection


Section Device
Identifier  ** ATI Radeon (generic)   [radeon]
Driver  radeon
EndSection


Section Screen
Identifier  Screen 1
Device  ** ATI Radeon (generic)   [radeon]
Monitor My Monitor
DefaultDepth 16

Subsection Display
Depth   8
Modes   1024x768 800x600 640x480
ViewPort0 0
EndSubsection
Subsection Display
Depth   16
Modes   1024x768 800x600 640x480
ViewPort

Re: [gentoo-user] Re: openoffice fails on qt_plugins_3.3rc

2009-07-19 Thread Dale
James wrote:
 Dale rdalek1967 at gmail.com writes:


   
 That help?

 Dale
 

 Well the files we have in common have the same permisions/ownership

 but you have a few more than me..



 I rebuilt 'x11-libs/qt-3.3.8b-r1' oneshot, but
 it did not help fix the problem


 I'm stumped


 James


   

Well, what exactly creates these files?

r...@smoker / # equery belongs /usr/qt/3/etc/settings/qt_plugins_3.3rc
[ Searching for file(s) /usr/qt/3/etc/settings/qt_plugins_3.3rc in *... ]
r...@smoker / #

According to equery, they don't belong to a package.  Does qt create
those when first being used?  If so, maybe rename it then let qt
recreate the file?  I'm not sure where that file comes from but it is in
a etc/ directory so maybe it is corrupt or something.

I dunno.

Dale

:-)  :-) 



Re: [gentoo-user] mtrr: no MTRR for e8000000,4000000 found

2009-07-19 Thread Volker Armin Hemmann
On Montag 20 Juli 2009, Mark Knecht wrote:
 CONFIG_MTRR_SANITIZER_ENABLE_DEFAULT=0

with that option you have to turn it on on the kernel command line. Something 
you didn't.



Re: [gentoo-user] mtrr: no MTRR for e8000000,4000000 found

2009-07-19 Thread Mark Knecht
I didn't. Am I better off to change the default to something else? (1?)

Or how do I turn it on with the kernel?

I'll go look for some docs.

Thanks!

- Mark

On Sun, Jul 19, 2009 at 6:33 PM, Volker Armin
Hemmannvolkerar...@googlemail.com wrote:
 On Montag 20 Juli 2009, Mark Knecht wrote:
 CONFIG_MTRR_SANITIZER_ENABLE_DEFAULT=0

 with that option you have to turn it on on the kernel command line. Something
 you didn't.





[gentoo-user] Re: mtrr: no MTRR for e8000000,4000000 found

2009-07-19 Thread Mark Knecht
On Sun, Jul 19, 2009 at 6:24 PM, Mark Knechtmarkkne...@gmail.com wrote:
SNIP
 myth12 mythtv # cat /var/log/Xorg.0.log | grep EE
 Current Operating System: Linux myth12 2.6.29-gentoo-r5 #4 PREEMPT Fri
 Jun 26 09:51:45 PDT 2009 i686
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
 (II) Loading extension MIT-SCREEN-SAVER
 (EE) RADEON(0): [dri] RADEONDRIGetVersion failed to open the DRM
 myth12 mythtv #


 myth12 linux # dmesg | tail -n 5
 [   17.486289] usb 1-0:1.0: uevent
 [   19.612246] eth0:  setting full-duplex.
 [   30.350021] eth0: no IPv6 routers present
 [  433.541492] pci :01:05.0: PCI INT A - Link[LNKA] - GSI 11
 (level, low) - IRQ 11
 [  435.609192] mtrr: no MTRR for e800,400 found


myth12 linux # cat /proc/mtrr
reg00: base=0x0 (0MB), size=  256MB, count=1: write-back
reg01: base=0x00c00 (  192MB), size=   64MB, count=1: uncachable
myth12 linux #

Seems that maybe this machine really doesn't have an MTRR at e800.

Are MTRR's necessary? This machine ran a much older kernel - circa
2.6.19 - until I tried to upgrade the xorg server. Possibly I was
never using MTRR and having it turned on at all is a mistake?

Thanks,
Mark



[gentoo-user] Re: mtrr: no MTRR for e8000000,4000000 found

2009-07-19 Thread Mark Knecht
On Sun, Jul 19, 2009 at 7:00 PM, Mark Knechtmarkkne...@gmail.com wrote:
 On Sun, Jul 19, 2009 at 6:24 PM, Mark Knechtmarkkne...@gmail.com wrote:
 SNIP
 myth12 mythtv # cat /var/log/Xorg.0.log | grep EE
 Current Operating System: Linux myth12 2.6.29-gentoo-r5 #4 PREEMPT Fri
 Jun 26 09:51:45 PDT 2009 i686
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
 (II) Loading extension MIT-SCREEN-SAVER
 (EE) RADEON(0): [dri] RADEONDRIGetVersion failed to open the DRM
 myth12 mythtv #


 myth12 linux # dmesg | tail -n 5
 [   17.486289] usb 1-0:1.0: uevent
 [   19.612246] eth0:  setting full-duplex.
 [   30.350021] eth0: no IPv6 routers present
 [  433.541492] pci :01:05.0: PCI INT A - Link[LNKA] - GSI 11
 (level, low) - IRQ 11
 [  435.609192] mtrr: no MTRR for e800,400 found


 myth12 linux # cat /proc/mtrr
 reg00: base=0x0 (    0MB), size=  256MB, count=1: write-back
 reg01: base=0x00c00 (  192MB), size=   64MB, count=1: uncachable
 myth12 linux #

 Seems that maybe this machine really doesn't have an MTRR at e800.

 Are MTRR's necessary? This machine ran a much older kernel - circa
 2.6.19 - until I tried to upgrade the xorg server. Possibly I was
 never using MTRR and having it turned on at all is a mistake?

 Thanks,
 Mark


OK, I have it at least partially working. For some reason it was
unhappy (VERY) with my .xinitrc file left over from the old days. Go
figure?!?!

I erased the .xinitrc file and just type startx and it work. Three
terminals on the screen. xclock. Everything looks normal.

I am still getting messages about the MTRR but it doesn't stop X from coming up.

I get back on this tomorrow and see if I can get fluxbox running.

Thanks,
Mark



Re: [gentoo-user] Re: mtrr: no MTRR for e8000000,4000000 found

2009-07-19 Thread Volker Armin Hemmann
On Montag 20 Juli 2009, Mark Knecht wrote:
 On Sun, Jul 19, 2009 at 7:00 PM, Mark Knechtmarkkne...@gmail.com wrote:
  On Sun, Jul 19, 2009 at 6:24 PM, Mark Knechtmarkkne...@gmail.com wrote:
  SNIP
 
  myth12 mythtv # cat /var/log/Xorg.0.log | grep EE
  Current Operating System: Linux myth12 2.6.29-gentoo-r5 #4 PREEMPT Fri
  Jun 26 09:51:45 PDT 2009 i686
 (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
  (II) Loading extension MIT-SCREEN-SAVER
  (EE) RADEON(0): [dri] RADEONDRIGetVersion failed to open the DRM
  myth12 mythtv #
 
 
  myth12 linux # dmesg | tail -n 5
  [   17.486289] usb 1-0:1.0: uevent
  [   19.612246] eth0:  setting full-duplex.
  [   30.350021] eth0: no IPv6 routers present
  [  433.541492] pci :01:05.0: PCI INT A - Link[LNKA] - GSI 11
  (level, low) - IRQ 11
  [  435.609192] mtrr: no MTRR for e800,400 found
 
  myth12 linux # cat /proc/mtrr
  reg00: base=0x0 (0MB), size=  256MB, count=1: write-back
  reg01: base=0x00c00 (  192MB), size=   64MB, count=1: uncachable
  myth12 linux #
 
  Seems that maybe this machine really doesn't have an MTRR at e800.
 
  Are MTRR's necessary? This machine ran a much older kernel - circa
  2.6.19 - until I tried to upgrade the xorg server. Possibly I was
  never using MTRR and having it turned on at all is a mistake?
 
  Thanks,
  Mark

 OK, I have it at least partially working. For some reason it was
 unhappy (VERY) with my .xinitrc file left over from the old days. Go
 figure?!?!

 I erased the .xinitrc file and just type startx and it work. Three
 terminals on the screen. xclock. Everything looks normal.

 I am still getting messages about the MTRR but it doesn't stop X from
 coming up.

 I get back on this tomorrow and see if I can get fluxbox running.

 Thanks,
 Mark

yes, you 'need' mtrr. Not having working mtrr is like driving a car while 
constantly stepping on the brakes and gas at the same time. There is lots of 
stuff about that in Documentation/ - use grep to find it.