[gentoo-user] [X11] radeonhd not working

2010-02-20 Thread Andrey Vul
To eliminate bugs, I'm using this as xorg.conf.new:
Section ServerLayout
 Identifier X.org Configured
EndSection
Section Files
 ModulePath /usr/lib/xorg/modules
 FontPath ...
# ...
 FontPath ...
EndSection
Section Module
 Load dbe
 Load dri
 Load dri2
 Load extmod
 Load glx
 Load record
EndSection
Section Device
 Identifier Radeon HD 4200
 Driver radeonhd
EndSection
#end of xorg.conf.new

I get the following error lines in the console:
FATAL: Module radeon not found.
(EE) RADEONHD(0): RHDDRIVersionCheck: drmOpen(radeon,
pci::05:05.0) failed.

[ 1256.744546] uvesafb: mode switch failed (eax=0x34f, err=0). Trying
again with default timings.

Radeon DRI is compiled into the kernel.
What do I do now?

(It's been quite a long while since I've installed X. My knowledge has
all but vanished.)

--
Andrey Vul
msn, home: andrey dot vul at gmail dot com
u of t: andrey dot vul at utoronto dot ca




Re: [gentoo-user] KDE 3 and Kconvert

2010-02-20 Thread Mick
On Saturday 20 February 2010 03:11:41 Dale wrote:
 

Dale, whatever you wanted to say did not reach the list ... just an html 
message with an empty body.  You may want to resend?

PS.  Hopefully not in html.  ;-)
-- 
Regards,
Mick



Re: [gentoo-user] recovering RAID from an old server

2010-02-20 Thread Mick
On Saturday 20 February 2010 06:29:03 Iain Buchanan wrote:

 so it looks like there's some problems with hdc.  Are there any disk
 hardware testing tools on the gentoo minimal live cd?

If you want to check the disk use sys-apps/smartmontools, but this problem may 
be a fs corruption - which could of course have been caused by the hardware 
failing.

-- 
Regards,
Mick



Re: [gentoo-user] [X11] radeonhd not working

2010-02-20 Thread Adam
 I get the following error lines in the console:
 FATAL: Module radeon not found.
 (EE) RADEONHD(0): RHDDRIVersionCheck: drmOpen(radeon,
 pci::05:05.0) failed.
 
 [ 1256.744546] uvesafb: mode switch failed (eax=0x34f, err=0). Trying
 again with default timings.
 
 Radeon DRI is compiled into the kernel.
 What do I do now?

Probably emerge xf86-video-radeonhd?



[gentoo-user] no libdri.so with ati-drivers-10.1

2010-02-20 Thread Adam
I tried 10.1 but just got a blank screen. The log file shows that xorg
couldnt load libdri.so, and the file is missing under /usr/lib64/xorg.
(its at /usr/lib64/xorg/modules/extensions/libdri.so in 9.9-r2)

So, any ideas or should i issue a bug report?



Re: [gentoo-user] Problem with installation kde-meta, gnome

2010-02-20 Thread Andrzej Styczeń
On Saturday 20 of February 2010 03:56:32 Zeerak Mustafa Waseem wrote:

 If I understand you correctly, then you only set useflags when you invoke
 emerge? As in USE=foo emerge foobar. Is this how you're doing it or am
 I just misunderstanding? 

Yes and no. 

Yes, because I add a given flag to USE in /etc/make.conf. If emerge want it, 
when I do the following command:
# emerge kde-meta

After this command, emerge tell me that I must to use e.g. X,  so I add a 
given flag to USE=X jpeg png -debug etc. to file /etc/make.conf.

No, because I put it to /etc/make.conf, not as you show all in one line:
# USE=X jpeg png -debug emerge kde-meta
I do not do as above line.

 If it is how you're doing it, then I would suggest 
 that you start using your /etc/portage/package.use file instead (it doesn't
 exist by default, you have to make the directory and the file) and add the
 use flags you want for the package you're about to install. This way it'll
 be a permanent useflag that isn't overwritten next time that specific
 package needs an update.

Thank you for this hint :-)

 Zeerak

Andrzej




[gentoo-user] Re: recovering RAID from an old server

2010-02-20 Thread Francesco Talamona
 Should I be able to mount them automatically and let the SW RAID
  module sort it out or do I have to know how they're tied together
  beforehand?

 md: looking for a shared spare drive
 md100: no spare disk to reconstruct array! -- continuing in degraded
 mode
 md: recovery thread finished ...
 md: hde5 [events: 03a5]6(write) hde5's sb offset: 273024
 md: hdg5 [events: 03a5]6(write) hdg5's sb offset: 273024
 XFS mounting filesystem md(9,100)
 Ending clean XFS mount for filesystem: md(9,100)
 
 The partitions look like:
 9   100 546112 md100
9   101 273024 md101

It seems it has correctly mounted its partition... Can't you find it?

I have the feeling that you are messing it up. If I understand it 
correctly the server has an hardware RAID controller, that has to be 
managed via its drivers.

Software RAID tools aren't suitable to mount correctly this setup, I 
would mount random partition for testing purposes only, on a spare 
machine.

The wiser thing to do is find an old livecd supporting PERC SAS (or 
whatever raid card is in that Snap) RAID cards and assemble the array in 
degraded mode for data recovery.

Another thing can come very useful: we once had a similar problem, we 
ended up borrowing one identical disc from another running server to put 
the array back online, we recovered our data, then restored the other 
server's array.

HTH
Francesco

-- 
Linux Version 2.6.32-gentoo-r5, Compiled #2 SMP PREEMPT Wed Feb 17 
20:30:02 CET 2010
Two 1GHz AMD Athlon 64 Processors, 4GB RAM, 4021.84 Bogomips Total
aemaeth



Re: [gentoo-user] When copying an os to new disk

2010-02-20 Thread Xi Shen
On Sat, Feb 20, 2010 at 5:25 AM, Volker Armin Hemmann
volkerar...@googlemail.com wrote:
 On Freitag 19 Februar 2010, Harry Putnam wrote:
 I'm currently rsyncing an OS (new gentoo install) from one vmware disk
 to a newly created one.

 I know not to copy /proc but not sure about /dev.  Looking at an
 unbooted OS disk with an install on it... I see /dev/ is populated
 (with no boot up), but I recall seeing things during boot like
 `populating /dev' (I think).

 So should I copy it over to new disk or not?

 no. You just create /dev/null, /dev/console and /dev/zero.


in my experience, only the /dev/null and /dev/console are required.
what does the /dev/zero for?


 Everything else is optional and not needed.

 man mknod will tell you everything you need to know.






-- 
Best Regards,
David Shen

http://twitter.com/davidshen84/



Re: [gentoo-user] no libdri.so with ati-drivers-10.1

2010-02-20 Thread Keith Dart
=== On Sat, 02/20, Adam wrote: ===
 So, any ideas or should i issue a bug report?

===

Yes, use the open source drivers:

x11-drivers/xf86-video-ati

;-)


-- Keith Dart

-- 

-- ~
   Keith Dart ke...@dartworks.biz
   public key: ID: 19017044
   http://www.dartworks.biz/
   =



[gentoo-user] Resizing ntfs creates a hidden partition

2010-02-20 Thread Mick
Hi All,

I am resizing a Windows partition to get some space for Gentoo.  I
noticed that when gparted finished and I rebooted the machine there is
a blank unallocated space in front of the Windows 7 partition, shown
below as 6.33MB:

===
 cfdisk (util-linux-ng 2.16.1)

  Disk Drive: /dev/sda
   Size: 500107862016 bytes, 500.1 GB
 Heads: 255   Sectors per Track: 63   Cylinders: 60801

NameFlags  Part Type  FS Type  [Label]Size (MB)
 --
sda1Primary   Dell Utility41.13
sda2BootPrimary   NTFS []  15728.64*
Pri/Log   Free Space   6.33*
sda3Primary   NTFS []  52426.47*
Pri/Log   Free Space  431902.70*

===

Also, when I used gparted to create a new extended partition over the
431G free space at the end of the disk I ended up with a similar small
unallocated space in front of it.  This is something I have observed
happening recently on 3 laptops that I have worked on, i.e. resizing
or creating a new partition inevitably creates a small blank partition
in front of it.

Looking at the sectors table I see this:
===
Partition Table for /dev/sda

   First   Last
 # Type   Sector  Sector   OffsetLength   Filesystem Type (ID) Flag
-- --- --- --- -- ---  
 1 Primary   0   80324 63   80325 Dell Utility (DE)None
 2 Primary   8032530800324* 03072*HPFS/NTFS (07)   Boot
   Pri/Log30800325*   30812669  0   12345*Free Space   None
 3 Primary30812670   133208104* 0   102395435*HPFS/NTFS (07)   None
   Pri/Log   133208105*  976768064  0   843559960*Free Space   None
===

I am not sure what the asterisks are for after the last sector on the
second and third partitions.

Could this empty space jump be related to gparted somehow shifting the
start of a partition to make it align with a particular sector as per
previous thread on the 4k sector topic?

Should I do anything about it, or just run with it and let gparted
align what it wants to align as part of the partitioning process?
-- 
Regards,
Mick



Re: [gentoo-user] no libdri.so with ati-drivers-10.1

2010-02-20 Thread Volker Armin Hemmann
On Samstag 20 Februar 2010, Adam wrote:
 I tried 10.1 but just got a blank screen. The log file shows that xorg
 couldnt load libdri.so, and the file is missing under /usr/lib64/xorg.
 (its at /usr/lib64/xorg/modules/extensions/libdri.so in 9.9-r2)
 
 So, any ideas or should i issue a bug report?

afaik that file is not needed anymore.



Re: [gentoo-user] How should I clean up my broken system?

2010-02-20 Thread Mick
On Sunday 14 February 2010 11:32:12 Neil Bothwick wrote:
 On Sun, 14 Feb 2010 12:03:40 +0100, Volker Armin Hemmann wrote:
   On a more serious note, conf-update automatically merges trivial
   changes, so any configs you ran at the default, which is probably the
   majority, won't be flaged at all.
 
  so does cfg-update
 
 Every now and then, someone mentions cfg-update - usually you :) - and I
 give it another try, but I don't really get on with it and always go back
 to conf-update. There's nothing specific wrong with it, I just prefer (or
 am used to) conf-update.
 
 I expect that if I were still using etc-update or dispatch-conf I would
 welcome it with open arms though.

You make me feel out of touch with Gentoo!  Is dispatch-conf and etc-update 
that bad then?
-- 
Regards,
Mick



Re: [gentoo-user] Re: [OT] Screen sharing software or similar

2010-02-20 Thread Roger Mason
James wirel...@tampabay.rr.com writes:

 Renat Golubchyk ragermany at gmx.net writes:


 too. For easy writing I would probably buy graphics tablets since
 writing math formulas or drawing isn't particularly fast or easy with
 keyboard and mouse.


 If my old (weak) memory serves me correctly,
 some time back several folks where discussing getting writing tablets to
 work with Gentoo.

Tha tablet part of this ought to be straightforward.  I have a Wacom
Graphire USB tablet working with several machines including PPC,
Core2duo  x86.  I have the tablet configured in xorg.conf (have not
tried with hal).  There is info on the wiki:
http://en.gentoo-wiki.com/wiki/Wacom_Tablet

Roger



Re: [gentoo-user] How should I clean up my broken system?

2010-02-20 Thread Volker Armin Hemmann
On Samstag 20 Februar 2010, Mick wrote:
 On Sunday 14 February 2010 11:32:12 Neil Bothwick wrote:
  On Sun, 14 Feb 2010 12:03:40 +0100, Volker Armin Hemmann wrote:
On a more serious note, conf-update automatically merges trivial
changes, so any configs you ran at the default, which is probably the
majority, won't be flaged at all.
   
   so does cfg-update
  
  Every now and then, someone mentions cfg-update - usually you :) - and I
  give it another try, but I don't really get on with it and always go back
  to conf-update. There's nothing specific wrong with it, I just prefer (or
  am used to) conf-update.
  
  I expect that if I were still using etc-update or dispatch-conf I would
  welcome it with open arms though.
 
 You make me feel out of touch with Gentoo!  Is dispatch-conf and etc-update
 that bad then?

Not bad - not good enough. 



Re: [gentoo-user] KDE 3 and Kconvert

2010-02-20 Thread Dale

chrome://messenger/locale/messengercompose/composeMsgs.properties:

On Saturday 20 February 2010 03:11:41 Dale wrote:
   
 

Dale, whatever you wanted to say did not reach the list ... just an html
message with an empty body.  You may want to resend?

PS.  Hopefully not in html.  ;-)
   


Thanks for letting me know this.  I think Seamonkey 2 is far from 
ready.  The web browser works but the email part stinks.  Sort of 
thinking about Thunderbird at the moment.  Maybe I can actually SEND a 
freaking message with it.  ;-)


This should be plain text.  It is supposed to send plain text only to 
both Gentoo and KDE.  I see that doesn't work either huh.


Now to go type all this mess in again.  I'll resend in a bit.

Thanks again for letting me know I was speechless.   lol

Dale

:-)  :-)



Re: [gentoo-user] Problem with installation kde-meta, gnome

2010-02-20 Thread Dale

chrome://messenger/locale/messengercompose/composeMsgs.properties:

On Saturday 20 of February 2010 03:56:32 Zeerak Mustafa Waseem wrote:

   

If I understand you correctly, then you only set useflags when you invoke
emerge? As in USE=foo emerge foobar. Is this how you're doing it or am
I just misunderstanding?
 

Yes and no.

Yes, because I add a given flag to USE in /etc/make.conf. If emerge want it,
when I do the following command:
# emerge kde-meta

After this command, emerge tell me that I must to use e.g. X,  so I add a
given flag to USE=X jpeg png -debug etc. to file /etc/make.conf.

No, because I put it to /etc/make.conf, not as you show all in one line:
# USE=X jpeg png -debug emerge kde-meta
I do not do as above line.

   

If it is how you're doing it, then I would suggest
that you start using your /etc/portage/package.use file instead (it doesn't
exist by default, you have to make the directory and the file) and add the
use flags you want for the package you're about to install. This way it'll
be a permanent useflag that isn't overwritten next time that specific
package needs an update.
 

Thank you for this hint :-)

   

Zeerak
 

Andrzej

   


Something that may help in the future, when you change the USE line in 
make.conf, you may want to add the -N option to your next emerge.  That 
tells portage to evaluate what, if anything, needs to be recompiled with 
the new USE flags.  Depending on the version of portage you are using, 
this could cause future builds to fail because of missing parts of other 
packages.


For me, when I sync and do my updates, I run emerge -uvDNa world.  It 
will at times compile a few extra packages but it does make for a more 
sane system.  It's almost as good as running emerge -e world.


Just a thought.

Dale

:-)  :-)



Re: [gentoo-user] recovering RAID from an old server

2010-02-20 Thread Stroller


On 20 Feb 2010, at 04:31, Iain Buchanan wrote:


On Fri, 2010-02-19 at 14:44 +, Stroller wrote:

On 19 Feb 2010, at 12:15, Iain Buchanan wrote:

...
Can I randomly mount partitions read-only or will this screw  
things up

further?


If this is unsafe I will have ketchup  mustard on my baseball cap.


er... could you translate that?  How about dead horse on my baggy
green?


http://idioms.thefreedictionary.com/I'll+eat+my+hat

I just don't see how you can break anything *as long as* you don't let  
the system write anything to the disks. How can read-only be unsafe?


One might be paranoid enough to clone images of the drive before  
proceeding, however.


My one concern is over how you know this system uses software RAID.  
You know that EIDE hardware RAID was available, right? I'm sure this  
would rarely be available built-in to the motherboard.


Stroller.




Re: [gentoo-user] Re: recovering RAID from an old server

2010-02-20 Thread Iain Buchanan
On Sat, 2010-02-20 at 10:46 +0100, Francesco Talamona wrote:
  Should I be able to mount them automatically and let the SW RAID
   module sort it out or do I have to know how they're tied together
   beforehand?
 
  md: looking for a shared spare drive
  md100: no spare disk to reconstruct array! -- continuing in degraded
  mode
  md: recovery thread finished ...
  md: hde5 [events: 03a5]6(write) hde5's sb offset: 273024
  md: hdg5 [events: 03a5]6(write) hdg5's sb offset: 273024
  XFS mounting filesystem md(9,100)
  Ending clean XFS mount for filesystem: md(9,100)
  
  The partitions look like:
  9   100 546112 md100
 9   101 273024 md101
 
 It seems it has correctly mounted its partition... Can't you find it?

This is with the server recovery console, which is basically just a web
page.  No shell access.  There's not much I can do to get at md100 and
md101 (is this what software RAID devices usually appear as?)

 I have the feeling that you are messing it up. If I understand it 
 correctly the server has an hardware RAID controller, that has to be 
 managed via its drivers.

I think it's software RAID.  There is no RAID controller AFAICT.  All 4
drives are visible to the BIOS as Primary and Secondary Master and
Slaves.

 Another thing can come very useful: we once had a similar problem, we 
 ended up borrowing one identical disc from another running server to put 
 the array back online, we recovered our data, then restored the other 
 server's array.

That's a possibility given what I can find on Google, however these are
few and far between, so I'd have to find someone willing to send their
drive to me (or vice versa) or send me the OS, which overlandstorage
doesn't like!

thanks,
-- 
Iain Buchanan iaindb at netspace dot net dot au

Come quickly, I am tasting stars!
-- Dom Perignon, upon discovering champagne.




Re: [gentoo-user] Resizing ntfs creates a hidden partition

2010-02-20 Thread Stroller


On 20 Feb 2010, at 11:23, Mick wrote:

...
===
cfdisk (util-linux-ng 2.16.1)
...
  Pri/Log   133208105*  976768064  0   843559960*Free  
Space   None

===

I am not sure what the asterisks are for after the last sector on the
second and third partitions.


I read the manpage for you:

   ... It can also display the size in sec-
   tors  and cylinders (see the change units command below).  If  
an aster-
   isk (*) appears after the size, this means that the   
partition  is  not

   aligned on cylinder boundaries.

On most pagers you can search for asterisk by pressing the forward- 
slash (/) key and typing asterisk.


Stroller.





Re: [gentoo-user] recovering RAID from an old server

2010-02-20 Thread Iain Buchanan
On Sat, 2010-02-20 at 13:39 +, Stroller wrote:
 On 20 Feb 2010, at 04:31, Iain Buchanan wrote:
 
  On Fri, 2010-02-19 at 14:44 +, Stroller wrote:
  On 19 Feb 2010, at 12:15, Iain Buchanan wrote:
  ...
  Can I randomly mount partitions read-only or will this screw  
  things up
  further?
 
  If this is unsafe I will have ketchup  mustard on my baseball cap.
 
  er... could you translate that?  How about dead horse on my baggy
  green?
 
 http://idioms.thefreedictionary.com/I'll+eat+my+hat

yeah, I got that, I was just picking on your use of ketchup  baseball.
Over here it's tomatoe sauce (dead horse) and cricket (baggy greens) :)
Most of my jokes need explaining %-)

 I just don't see how you can break anything *as long as* you don't let  
 the system write anything to the disks. How can read-only be unsafe?

Perhaps something to do with the superblock or last mount time or
something?  I don't know!  I know that mounting a drive while a system
is hibernated, even ro, will kill kittens.

 One might be paranoid enough to clone images of the drive before  
 proceeding, however.

I don't have enough spare...

 My one concern is over how you know this system uses software RAID.  
 You know that EIDE hardware RAID was available, right? I'm sure this  
 would rarely be available built-in to the motherboard.

well there appears to be no RAID controller, unless it's onboard, but as
I mentioned to Francessco the BIOS can see all drives, so can gentoo
minimal...  

I've since found that the OS is in flash RAM, and only the help files
are on disk, so maybe I have bigger problems if I can't boot :(  I hope
to get a copy of Guardian OS somehow...

thanks,
-- 
Iain Buchanan iaindb at netspace dot net dot au

Go ahead, bake my quiche
-- Magrat instructs the castle cook
   (Terry Pratchett, Lords and Ladies)




Re: [gentoo-user] Resizing ntfs creates a hidden partition

2010-02-20 Thread Stefan Schulte
Hi Mick,

AFAIK the asterisk behind the partition just indicates, that it is not
aligned to a cylinder boundary. I think this doesnt have any effect (or
maybe some old OS like DOS depend on it). If you use cfdisk for
partitioning you can avoid that by given the space in c(ylinders). e.g.
New Partition with a size of '100c'.

I guess your hidden partition has something to do with Windows
behaviour, because if you install Windows and create partitions during
the installation process, it also creates an extra 8MB partition.
Maybe gparted adopted that behaviour.

But I can't tell you the reason why. Some people say it's for temp data
(which I doubt) and others say it's used to store metadatas if the user
decides to use flexible disks or software RAIDs. 

I just can say that windows is running fine without it on my computer,
because i decided to partition with cfdisk before running the
installation.

On Sat, Feb 20, 2010 at 11:23:27AM +, Mick wrote:
 Hi All,
 
 I am resizing a Windows partition to get some space for Gentoo.  I
 noticed that when gparted finished and I rebooted the machine there is
 a blank unallocated space in front of the Windows 7 partition, shown
 below as 6.33MB:
 
 ===
  cfdisk (util-linux-ng 2.16.1)
 
   Disk Drive: /dev/sda
Size: 500107862016 bytes, 500.1 GB
  Heads: 255   Sectors per Track: 63   Cylinders: 60801
 
 NameFlags  Part Type  FS Type  [Label]Size 
 (MB)
  
 --
 sda1Primary   Dell Utility
 41.13
 sda2BootPrimary   NTFS []  
 15728.64*
 Pri/Log   Free Space   
 6.33*
 sda3Primary   NTFS []  
 52426.47*
 Pri/Log   Free Space  
 431902.70*
 
 ===
 
 Also, when I used gparted to create a new extended partition over the
 431G free space at the end of the disk I ended up with a similar small
 unallocated space in front of it.  This is something I have observed
 happening recently on 3 laptops that I have worked on, i.e. resizing
 or creating a new partition inevitably creates a small blank partition
 in front of it.
 
 Looking at the sectors table I see this:
 ===
 Partition Table for /dev/sda
 
First   Last
  # Type   Sector  Sector   OffsetLength   Filesystem Type (ID) 
 Flag
 -- --- --- --- -- ---  
 
  1 Primary   0   80324 63   80325 Dell Utility (DE)
 None
  2 Primary   8032530800324* 03072*HPFS/NTFS (07)   
 Boot
Pri/Log30800325*   30812669  0   12345*Free Space   
 None
  3 Primary30812670   133208104* 0   102395435*HPFS/NTFS (07)   
 None
Pri/Log   133208105*  976768064  0   843559960*Free Space   
 None
 ===
 
 I am not sure what the asterisks are for after the last sector on the
 second and third partitions.
 
 Could this empty space jump be related to gparted somehow shifting the
 start of a partition to make it align with a particular sector as per
 previous thread on the 4k sector topic?
 
 Should I do anything about it, or just run with it and let gparted
 align what it wants to align as part of the partitioning process?
 -- 
 Regards,
 Mick
 


pgpyIm3oRAjEu.pgp
Description: PGP signature


Re: [gentoo-user] KDE 3 and Kconvert

2010-02-20 Thread Dale

chrome://messenger/locale/messengercompose/composeMsgs.properties:

On Saturday 20 February 2010 03:11:41 Dale wrote:
   
 

Dale, whatever you wanted to say did not reach the list ... just an html
message with an empty body.  You may want to resend?

PS.  Hopefully not in html.  ;-)
   


I synced last night and did a update.  After that I was informed that 
there was some preserved libs that needed to be rebuilt.  So I attempt 
to do this and this is what I get:


r...@smoker / # emerge @preserved-rebuild -a

 * IMPORTANT: 1 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.


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

Calculating dependencies... done!

emerge: there are no ebuilds to satisfy sci-calculators/kconvert:0.


 * IMPORTANT: 1 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.

r...@smoker / # eix kconvert
No matches found.
r...@smoker / # layman -l
* kde-sunset[Git   ] 
(git://git.overlays.gentoo.org/proj/kde-sunset.git
)

r...@smoker / #

So, it wants to rebuild Kconvert but there is no such thing in portage.  
I have the kde-sunset layman up to date as well.  Also, I do use 
Kconvert so I don't want to get rid of it either.


Is there a way to fix this?  Oh, the news item is not related.  I read 
it but plan to go back to it one day when I have more time to mess with it.


Thanks.

Dale

P. S.  Is this being sent plain text?  Me and Seaonkey 2 are having a 
bit of a discussion here.




[gentoo-user] Re: recovering RAID from an old server

2010-02-20 Thread Francesco Talamona
On Saturday 20 February 2010, Iain Buchanan wrote:
 On Sat, 2010-02-20 at 10:46 +0100, Francesco Talamona wrote:
   Should I be able to mount them automatically and let the SW RAID
module sort it out or do I have to know how they're tied
   together beforehand?
  
   md: looking for a shared spare drive
   md100: no spare disk to reconstruct array! -- continuing in
   degraded mode
   md: recovery thread finished ...
   md: hde5 [events: 03a5]6(write) hde5's sb offset: 273024
   md: hdg5 [events: 03a5]6(write) hdg5's sb offset: 273024
   XFS mounting filesystem md(9,100)
   Ending clean XFS mount for filesystem: md(9,100)
  
   The partitions look like:
   9   100 546112 md100
  9   101 273024 md101
 
  It seems it has correctly mounted its partition... Can't you find
  it?
 
 This is with the server recovery console, which is basically just a
  web page.  No shell access.  There's not much I can do to get at
  md100 and md101 (is this what software RAID devices usually appear
  as?)
 
  I have the feeling that you are messing it up. If I understand it
  correctly the server has an hardware RAID controller, that has to
  be managed via its drivers.
 
 I think it's software RAID.  There is no RAID controller AFAICT.  All
  4 drives are visible to the BIOS as Primary and Secondary Master and
  Slaves.

This isn't a proof: most hardware RAID are proprietary software 
solutions pretending to be hardware. Linux without the driver can't see 
the logical volume and shows all the physical drives.

You should do some research about that server hardware... Aren't snap 
equipped with PERC controller?.

  Another thing can come very useful: we once had a similar problem,
  we ended up borrowing one identical disc from another running
  server to put the array back online, we recovered our data, then
  restored the other server's array.
 
 That's a possibility given what I can find on Google, however these
  are few and far between, so I'd have to find someone willing to send
  their drive to me (or vice versa) or send me the OS, which
  overlandstorage doesn't like!

What happens if you physically remove the drive marked as bad?

You may image it for backup, then format it at low level, then put it 
back in place as if it was brand new. Or add a similar disk to be 
considered spare by the controller (given that it is looking for a spare 
disk in first instance).

Most controller have automated procedures to manage failures, disk swaps 
and so on.

For this reason you can't be sure that the inspection operations you are 
doing are read only. Unless the drives are attached to another machine 
with a trusted OS doing nothing on its own.

The ideas given above may let you to waste all of your data, be very 
careful and patient.

Good luck.
Francesco

-- 
Linux Version 2.6.32-gentoo-r5, Compiled #2 SMP PREEMPT Wed Feb 17 
20:30:02 CET 2010
Two 2.9GHz AMD Athlon 64 Processors, 4GB RAM, 11659 Bogomips Total
aemaeth



Re: [gentoo-user] recovering RAID from an old server

2010-02-20 Thread Andrea Conti
 md: bindhdg2,1
 md: bindhde2,2
 md: bindhda2,3
 raid1: raid set md100 active with 3 out of 4 mirrors

 md: bindhdg5,1
 md: bindhde5,2
 md: bindhda5,3
 raid1: raid set md101 active with 3 out of 4 mirrors

AFAICT this is all you need to know -- you definitely have two software
(mdraid) RAID 1 volumes:

md100 with hda2, hde2 and hdg2 as members
md101 with hda5, hde5 and hdg5 as members

Both arrays seem to have lost a member (I guess hdc2 and hdc5 respectively).

Honestly I don't know what is the point of running RAID1 volumes with
four mirrors, but that seems to be the way it was configured.

I would suggest that you take a *single* disk (let's say hdg) out of the
thing and hook it up to a fully functional Gentoo system with mdraid
(and of course XFS) compiled in the kernel and sys-fs/mdadm installed.

Then you can bring up each RAID volume in degraded state from the single
mirror:

#mdadm -A /dev/md100 -R /dev/hdX2
#mdadm -A /dev/md101 -R /dev/hdX5

(substiture hdX with the actual device name of the transplanted disk; in
any case mdadm has a very useful man page)

At this point you should be able to mount md100 and md101 *read-only*
and salvage any data you need.

Andrea



Re: [gentoo-user] KDE 3 and Kconvert

2010-02-20 Thread Mick
On Saturday 20 February 2010 14:07:40 Dale wrote:
 chrome://messenger/locale/messengercompose/composeMsgs.properties:
  On Saturday 20 February 2010 03:11:41 Dale wrote:
 
 
  Dale, whatever you wanted to say did not reach the list ... just an html
  message with an empty body.  You may want to resend?
 
  PS.  Hopefully not in html.  ;-)
 
 I synced last night and did a update.  After that I was informed that
 there was some preserved libs that needed to be rebuilt.  So I attempt
 to do this and this is what I get:
 
 r...@smoker / # emerge @preserved-rebuild -a
 
   * IMPORTANT: 1 news items need reading for repository 'gentoo'.
   * Use eselect news to read news items.
 
 
 These are the packages that would be merged, in order:
 
 Calculating dependencies... done!
 
 emerge: there are no ebuilds to satisfy sci-calculators/kconvert:0.
 
 
   * IMPORTANT: 1 news items need reading for repository 'gentoo'.
   * Use eselect news to read news items.
 
 r...@smoker / # eix kconvert
 No matches found.
 r...@smoker / # layman -l
 * kde-sunset[Git   ]
 (git://git.overlays.gentoo.org/proj/kde-sunset.git
 )
 r...@smoker / #
 
 So, it wants to rebuild Kconvert but there is no such thing in portage.
 I have the kde-sunset layman up to date as well.  Also, I do use
 Kconvert so I don't want to get rid of it either.
 
 Is there a way to fix this?  Oh, the news item is not related.  I read
 it but plan to go back to it one day when I have more time to mess with it.
 
 Thanks.
 
 Dale
 
 P. S.  Is this being sent plain text?  Me and Seaonkey 2 are having a
 bit of a discussion here.
 
According to the headers in your message, yes:

Content-Type: text/plain;

I'm afraid I can't help with kconvert other than confirm that it does not seem 
to be in portage anymore.  I do not use any overlays to be able to offer help 
here.
-- 
Regards,
Mick



[gentoo-user] Amarok won't play my mp3's anymore

2010-02-20 Thread Dan Johansson
After doing an emerge --update world today and rebooting my compi Amarok will 
not play my mp3's anymore. I get the following error message Too many errors 
encountered in playlist. Playback has stopped. I have tried to delete ~/.xine 
as suggested after a google search on the error string.

If I start Amarok with the --debug flag I see the following output:
--8-
amarok:   [EngineController] [WARNING!] Phonon failed to play this URL. Error:  
17:24:15: input_file: File not found: 
file:///var/Music/mp3/Wilmer%20X/Den%20bl%C3%83%C2%A5%20v%C3%83%C2%A4gen%20hem%20-%20En%20samling/06%20-%20Teddys%20rum.mp3
   
 

--8-

The file is there:
$ ll /var/Music/mp3/Wilmer\ X/Den\ blå\ vägen\ hem\ -\ En\ samling/06\ -\ 
Teddys\ rum.mp3
-rwxr--r-- 1 dan users 5645291 Jul  2  2002 /var/Music/mp3/Wilmer X/Den bl?? 
v??gen hem - En samling/06 - Teddys rum.mp3

The only thing I can see that was upgraded during the update wit relation to 
sound is media-sound:phonon (4.3.50_pre20090520 - 4.3.80-r1)

Any suggestions?
-- 
Dan Johansson, http://www.dmj.nu
***
This message is printed on 100% recycled electrons!
***



Re: [gentoo-user] [X11] radeonhd not working

2010-02-20 Thread Andrey Vul
On Sat, Feb 20, 2010 at 03:43, Adam a...@jaftan.com.au wrote:
 I get the following error lines in the console:
 FATAL: Module radeon not found.
 (EE) RADEONHD(0): RHDDRIVersionCheck: drmOpen(radeon,
 pci::05:05.0) failed.

 [ 1256.744546] uvesafb: mode switch failed (eax=0x34f, err=0). Trying
 again with default timings.

 Radeon DRI is compiled into the kernel.
 What do I do now?

 Probably emerge xf86-video-radeonhd?


It was emerged with no errors.

Build.log:
Script started on Sat Feb 20 09:42:53 2010
robot9000 ~ # emerge --color n -1 xf86-video-radeonhd
Calculating dependencies  ... done!

 Verifying ebuild manifests


 Emerging (1 of 1) x11-drivers/xf86-video-radeonhd-1.3.0

 * xf86-video-radeonhd-1.3.0.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...

  [ ok ]
 * checking ebuild checksums ;-) ...

  [ ok ]
 * checking auxfile checksums ;-) ...

  [ ok ]
 * checking miscfile checksums ;-) ...

  [ ok ]
 * CPV:  x11-drivers/xf86-video-radeonhd-1.3.0
 * REPO: gentoo
 * USE:  elibc_glibc kernel_linux userland_GNU x86
 Unpacking source...
 Unpacking xf86-video-radeonhd-1.3.0.tar.bz2 to 
 /var/tmp/portage/x11-drivers/xf86-video-radeonhd-1.3.0/work
 * Running elibtoolize in: xf86-video-radeonhd-1.3.0
 *   Applying portage-2.2.patch ...
 *   Applying sed-1.5.6.patch ...
 *   Applying as-needed-2.2.6.patch ...
 Source unpacked in 
 /var/tmp/portage/x11-drivers/xf86-video-radeonhd-1.3.0/work
 Compiling source in 
 /var/tmp/portage/x11-drivers/xf86-video-radeonhd-1.3.0/work/xf86-video-radeonhd-1.3.0
  ...
 * econf: updating xf86-video-radeonhd-1.3.0/config.guess with
/usr/share/gnuconfig/config.guess
 * econf: updating xf86-video-radeonhd-1.3.0/config.sub with
/usr/share/gnuconfig/config.sub
./configure --prefix=/usr --build=i686-pc-linux-gnu
--host=i686-pc-linux-gnu --mandir=/usr/share/man
--infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc
--localstatedir=/var/lib --prefix=/usr --datadir=/usr/share
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether i686-pc-linux-gnu-gcc accepts -g... yes
checking for i686-pc-linux-gnu-gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of i686-pc-linux-gnu-gcc... gcc3
checking for a sed that does not truncate output... /bin/sed
checking whether /bin/sed can substitute tabs and newlines for text... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for a sed that does not truncate output... (cached) /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by i686-pc-linux-gnu-gcc... /usr/i686-pc-linux-gnu/bin/ld
checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands +=... yes
checking for /usr/i686-pc-linux-gnu/bin/ld option to reload object files... -r
checking for i686-pc-linux-gnu-objdump... i686-pc-linux-gnu-objdump
checking how to recognize dependent libraries... pass_all
checking for i686-pc-linux-gnu-ar... i686-pc-linux-gnu-ar
checking for i686-pc-linux-gnu-strip... i686-pc-linux-gnu-strip
checking for i686-pc-linux-gnu-ranlib... i686-pc-linux-gnu-ranlib
checking command to parse /usr/bin/nm -B output from
i686-pc-linux-gnu-gcc object... ok
checking how to run the C preprocessor... i686-pc-linux-gnu-gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if i686-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no
checking for i686-pc-linux-gnu-gcc option to produce PIC... -fPIC -DPIC
checking if i686-pc-linux-gnu-gcc PIC flag -fPIC -DPIC works... yes
checking if 

Re: [gentoo-user] {OT} Flashing BIOS with Windows utility

2010-02-20 Thread Grant
 XP on a USB stick  It sounds like a Windows machine is necessary
 to build it, but once it's built it would be really handy.

 I have found my attempts at building this or a CD-based PE very frustrating
 indeed. It seems like an awful lot of aggro when you could just download
 exactly the same thing that someone else has already built, if only the
 license permitted it.

 Perhaps it's just seemed like a lot of work because it's never been a goal
 of mine to make a bootable Windows CD or USB stick - I've always been trying
 to build them in order to help me achieve some other goal, and it's been far
 more faffing about that I've been prepared to tolerate.

 There used  to be plenty of PE builds available by the usual pirate sites,
 but I have no idea whether that's still the case. I seem to be getting more
 efficient at not needing them.

 Stroller.

Has anyone tried winbuilder:

http://winbuilder.net/

It's supposed to be great.

- Grant



Re: [gentoo-user] KDE 3 and Kconvert

2010-02-20 Thread Dale

chrome://messenger/locale/messengercompose/composeMsgs.properties:

On Saturday 20 February 2010 14:07:40 Dale wrote:
   

chrome://messenger/locale/messengercompose/composeMsgs.properties:
 

On Saturday 20 February 2010 03:11:41 Dale wrote:


Dale, whatever you wanted to say did not reach the list ... just an html
message with an empty body.  You may want to resend?

PS.  Hopefully not in html.  ;-)
   

I synced last night and did a update.  After that I was informed that
there was some preserved libs that needed to be rebuilt.  So I attempt
to do this and this is what I get:

r...@smoker / # emerge @preserved-rebuild -a

   * IMPORTANT: 1 news items need reading for repository 'gentoo'.
   * Use eselect news to read news items.


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

Calculating dependencies... done!

emerge: there are no ebuilds to satisfy sci-calculators/kconvert:0.


   * IMPORTANT: 1 news items need reading for repository 'gentoo'.
   * Use eselect news to read news items.

r...@smoker / # eix kconvert
No matches found.
r...@smoker / # layman -l
* kde-sunset[Git   ]
(git://git.overlays.gentoo.org/proj/kde-sunset.git
)
r...@smoker / #

So, it wants to rebuild Kconvert but there is no such thing in portage.
I have the kde-sunset layman up to date as well.  Also, I do use
Kconvert so I don't want to get rid of it either.

Is there a way to fix this?  Oh, the news item is not related.  I read
it but plan to go back to it one day when I have more time to mess with it.

Thanks.

Dale

P. S.  Is this being sent plain text?  Me and Seaonkey 2 are having a
bit of a discussion here.
 


According to the headers in your message, yes:

Content-Type: text/plain;

I'm afraid I can't help with kconvert other than confirm that it does not seem
to be in portage anymore.  I do not use any overlays to be able to offer help
here.
   


I have a sneaky suspicion that I will have to unmerge the thing.  I do 
wish KDE 4 would get to working for me so I could switch.


At least it was in plain text.  It's funny that Seamonkey can reply just 
fine but the initial message goes out blank.  sigh 


Dale

:-)  :-)



RE: [gentoo-user] Can't see /dev/hda1,2,3 but I know they exist...

2010-02-20 Thread James Homuth
 

-Original Message-
From: Hung Dang [mailto:hungp...@gmail.com] 
Sent: February 19, 2010 9:18 PM
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Can't see /dev/hda1,2,3 but I know they exist...

 The first thing that jumps to my mind is you have an older initrd that 
 has your HD drivers in it (such as ATA), but the newer kernel you've 
 probably just built (is that what you mean by a bit of an update?) 
 doesn't.

 Check for an initrd, and tell us what a bit of an update means :)  
 You could also compare config files between your rescue CD and your 
 system, if you can find it!

 HTH,
   
You could see your HDD because the boot CD have enabled all drivers.
Could you double check if you have configured the kernel for your HDD
correctly?


The kernel was not updated or changed since the laptop's last fully
successful boot. And, at that time, it was configured to acknowledge my HDD.




Re: [gentoo-user] Amarok won't play my mp3's anymore

2010-02-20 Thread Stroller


On 20 Feb 2010, at 16:45, Dan Johansson wrote:

...
If I start Amarok with the --debug flag I see the following output:
--8
-
amarok:   [EngineController] [WARNING!] Phonon failed to play this  
URL. Error:

17:24:15: input_file: File not found:
file:///var/Music/mp3/Wilmer%20X/Den%20bl%C3%83%C2%A5%20v%C3%83%C2%A4gen%20hem%20-%20En%20samling/06%20-%20Teddys%20rum.mp3 



--8 
-


The file is there:
$ ll /var/Music/mp3/Wilmer\ X/Den\ blå\ vägen\ hem\ -\ En\ samling/ 
06\ -\

Teddys\ rum.mp3
-rwxr--r-- 1 dan users 5645291 Jul  2  2002 /var/Music/mp3/Wilmer X/ 
Den bl??

v??gen hem - En samling/06 - Teddys rum.mp3


Have you even tried copying this file to the current working directory  
and naming it with no non-English characters?


Try a foo.mp3 file with no tags. Does it work?

Stroller.




Re: [gentoo-user] [X11] radeonhd not working

2010-02-20 Thread Andrey Vul
I've set Radeon DRI from module to built-in and now this is the result:
(EE) RADEONHD(0): [dri] CP_INIT failed
(EE) RADEONHD(0): RHDDRIFinishScreenInit: RHDDRIKernelInit Failed.

I'm using 2.6.31.12 with -rt and -tuxonice patchsets.



Re: [gentoo-user] KDE 3 and Kconvert

2010-02-20 Thread Frank Steinmetzger
Am Samstag, 20. Februar 2010 schrieb Dale:

 So, it wants to rebuild Kconvert but there is no such thing in portage.
 I have the kde-sunset layman up to date as well.  Also, I do use
 Kconvert so I don't want to get rid of it either.

 Is there a way to fix this?  Oh, the news item is not related.  I read
 it but plan to go back to it one day when I have more time to mess with it.

 Thanks.

 Dale

You can do what I do when I want to keep a package that’s been removed from 
portage: copy the overlay from /var/db/pkg/¹ to your local overlay 
at /usr/local/prtage.

¹ Basically, that’s where portage keeps copies of all installed ebuilds.
-- 
Gruß | Greetings | Qapla'
Killing for peace is like fucking for virginity.


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


Re: [gentoo-user] Amarok won't play my mp3's anymore

2010-02-20 Thread Frank Steinmetzger
Am Samstag, 20. Februar 2010 schrieb Dan Johansson:
 After doing an emerge --update world today and rebooting my compi Amarok
 will not play my mp3's anymore. I get the following error message Too many
 errors encountered in playlist. Playback has stopped. I have tried to
 delete ~/.xine as suggested after a google search on the error string.

 If I start Amarok with the --debug flag I see the following output:
 --8---
-- amarok:   [EngineController] [WARNING!] Phonon failed to play
 this URL. Error:

 17:24:15: input_file: File not found:
 file:///var/Music/mp3/Wilmer%20X/Den%20bl%C3%83%C2%A5%20v%C3%83%C2%A4gen%2
 0hem%20-%20En%20samling/06%20-%20Teddys%20rum.mp3

 
 --8---
--

 The file is there:
 $ ll /var/Music/mp3/Wilmer\ X/Den\ blå\ vägen\ hem\ -\ En\ samling/06\ -\
 Teddys\ rum.mp3
 -rwxr--r-- 1 dan users 5645291 Jul  2  2002 /var/Music/mp3/Wilmer X/Den
 bl?? v??gen hem - En samling/06 - Teddys rum.mp3

 The only thing I can see that was upgraded during the update wit relation
 to sound is media-sound:phonon (4.3.50_pre20090520 - 4.3.80-r1)

 Any suggestions?

In recent upgrades (though I switched to the GIT version a while ago), it 
helped to rescan the collection. You could try this. Or perhaps it is an 
enconding issue. There are two ?? in your ll output, and the encoded version 
shows four characters for your å, which should only be two in utf-8. So it is 
encoding the two unicode octets again in iso.
-- 
Gruß | Greetings | Qapla'
I guess irony can be pretty ironic sometimes.


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


Re: [gentoo-user] KDE 3 and Kconvert

2010-02-20 Thread Dale

chrome://messenger/locale/messengercompose/composeMsgs.properties:

Am Samstag, 20. Februar 2010 schrieb Dale:

   

So, it wants to rebuild Kconvert but there is no such thing in portage.
I have the kde-sunset layman up to date as well.  Also, I do use
Kconvert so I don't want to get rid of it either.

Is there a way to fix this?  Oh, the news item is not related.  I read
it but plan to go back to it one day when I have more time to mess with it.

Thanks.

Dale
 

You can do what I do when I want to keep a package that’s been removed from
portage: copy the overlay from /var/db/pkg/¹ to your local overlay
at /usr/local/prtage.

¹ Basically, that’s where portage keeps copies of all installed ebuilds.
   


I may end up doing that. I thought the KDE 3 stuff was supposed to move 
over to kde-sunset. Did they just miss this one package maybe?


I may just do a quickpkg of the thing, unmerge it, let it do the other 
updates and then put it back. ;-)


Dale

:-) :-)



Re: [gentoo-user] KDE 3 and Kconvert

2010-02-20 Thread Zeerak Mustafa Waseem
On Sat, Feb 20, 2010 at 01:20:02PM -0600, Dale wrote:
 chrome://messenger/locale/messengercompose/composeMsgs.properties:
  Am Samstag, 20. Februar 2010 schrieb Dale:
 
 
  So, it wants to rebuild Kconvert but there is no such thing in portage.
  I have the kde-sunset layman up to date as well.  Also, I do use
  Kconvert so I don't want to get rid of it either.
 
  Is there a way to fix this?  Oh, the news item is not related.  I read
  it but plan to go back to it one day when I have more time to mess with it.
 
  Thanks.
 
  Dale
   
  You can do what I do when I want to keep a package that?s been removed from
  portage: copy the overlay from /var/db/pkg/¹ to your local overlay
  at /usr/local/prtage.
 
  ¹ Basically, that?s where portage keeps copies of all installed ebuilds.
 
 
 I may end up doing that. I thought the KDE 3 stuff was supposed to move 
 over to kde-sunset. Did they just miss this one package maybe?
 
 I may just do a quickpkg of the thing, unmerge it, let it do the other 
 updates and then put it back. ;-)
 
 Dale
 
 :-) :-)
 

Dale, you sly, sly man.

Hats off ;-)



Re: [gentoo-user] [X11] radeonhd not working

2010-02-20 Thread pk
Andrey Vul wrote:
 I've set Radeon DRI from module to built-in and now this is the result:
 (EE) RADEONHD(0): [dri] CP_INIT failed
 (EE) RADEONHD(0): RHDDRIFinishScreenInit: RHDDRIKernelInit Failed.
 
 I'm using 2.6.31.12 with -rt and -tuxonice patchsets.

Maybe stupid questions but is the firmware installed and is it located
in a place where the kernel can find it? I've seen a few mails on Xorgs
list about this and it's usually remedied by installing the firmware (IIRC).

Best regards

Peter K



Re: [gentoo-user] zsh and sudo

2010-02-20 Thread Etaoin Shrdlu
On Friday 19 February 2010, daid kahl wrote:
 Hello,
 
 I just installed zsh recently and was working on making the switch
 over from bash for my daily user, provided I can get a few things
 worked out.
 
 The biggest problem that I can't find useful results googling is zsh
 interaction with sudo.
 
 I'm noticing some strange behavior with the PATH and also the
 interpretation of '='.
 
 d...@flux log % sudo which useradd
 which: no useradd in
 (/usr/local/bin:/usr/bin:/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/4.4.3
 :/opt/sun-jdk-1.4.2.17/bin:/opt/sun-jdk-1.4.2.17/jre/bin:/opt/sun-jdk-1.4.2
 .17/jre/javaws:/usr/kde/3.5/bin:/usr/qt/3/bin:/usr/games/bin) d...@flux log
  % sudo echo $PATH
 /usr/local/bin:/usr/bin:/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/4.4.3:
 /opt/sun-jdk-1.4.2.17/bin:/opt/sun-jdk-1.4.2.17/jre/bin:/opt/sun-jdk-1.4.2.
 17/jre/javaws:/usr/kde/3.5/bin:/usr/qt/3/bin:/usr/games/bin:/home/daid/scri
 pts:/sbin:/home/daid/.gentoo/java-config-2/current-user-vm/bin:/usr/sbin:/u
 sr/local/warlock2:/usr/local/sbin:/home/daid/physics/transport_for_crib/tra
 nsport1.6/bin d...@flux log % which useradd
 /usr/sbin/useradd
 
 So sudo has the PATH set correctly, but it doesn't actually use the
 correct path.  Fishy!

Nope. If you do

sudo echo $PATH

$PATH is replaced by the calling shell before sudo even sees it, so no wonder 
you see the right one (btw, this should also answer your other question on why 
doing the same on a second instance of the shell seems to work). 
To test what path is seen when sudoing, do

sudo zsh -c 'echo $PATH'

that should be more accurate. But you already had an indication of what $PATH 
is in your first command above.

This might be a good read about where to define PATH:

http://zsh.sourceforge.net/FAQ/zshfaq03.html#l19

 As for interpretation of '=' I really don't understand what's
 happening.  It seems indiscriminate of the case in terms of mucking
 about, but the exact result it not always the same.  Consider the
 monstrous output in the following simple case of making a new
 environment variable:
 
 d...@flux log % sudo TEST=testing
 LESSOPEN=|lesspipe.sh %s
 XDG_DATA_DIRS=/usr/local/share:/usr/kde/3.5/share:/usr/share:/usr/share
 GLADE_CATALOG_PATH=:
 GTK_PATH=:/usr/lib/gtk-2.0
 PATH=/usr/local/bin:/usr/bin:/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/4
 .4.3:/opt/sun-jdk-1.4.2.17/bin:/opt/sun-jdk-1.4.2.17/jre/bin:/opt/sun-jdk-1
 .4.2.17/jre/javaws:/usr/kde/3.5/bin:/usr/qt/3/bin:/usr/games/bin
  GDK_USE_XFT=1
 SSH_AUTH_SOCK=/tmp/ssh-mCuWxp2532/agent.2532
 USER=root
[snip]
 SUDO_COMMAND=/bin/env
[snip]
 TEST=testing

This looks strange, and would indeed require more investigation. For some 
reason, sudo is running /bin/env instead of erroring out (as no command to run 
has been specified). However, I doubt that has anything to do with zsh.

 Or if I want to emerge a specific package, instead I get:
 
 d...@flux log % sudo emerge =sudo-1.7.2_p2-r2
 zsh: sudo-1.7.2_p2-r2 not found

This is expected. See

http://zsh.sourceforge.net/Doc/Release/Expansion.html#SEC78

unsetopt EQUALS

should cure it. Unless, of course, you DO want to take advantage of zsh's 
special handling of =, in which case read the documentation.


Zsh is a wonderfull shell, but it does have a steep learning curve, due to its 
many features. Yes, you will bang your head on the wall many and many times if 
you don't read the documentation and continue to think in bash terms. 
Reading the manual (or the user friendly documentation) is a must. Zsh is an 
example of an open source project with a massive and excellent documentation, 
so no excuses for not reading it! :)



Re: [gentoo-user] [X11] radeonhd not working

2010-02-20 Thread Andrey Vul
On Sat, Feb 20, 2010 at 17:52, pk pete...@coolmail.se wrote:
 Andrey Vul wrote:
 I've set Radeon DRI from module to built-in and now this is the result:
 (EE) RADEONHD(0): [dri] CP_INIT failed
 (EE) RADEONHD(0): RHDDRIFinishScreenInit: RHDDRIKernelInit Failed.

 I'm using 2.6.31.12 with -rt and -tuxonice patchsets.

 Maybe stupid questions but is the firmware installed and is it located
 in a place where the kernel can find it? I've seen a few mails on Xorgs
 list about this and it's usually remedied by installing the firmware (IIRC).

I.e. emerge x11-drivers/radeon-ucode ?

Also, the messages during emerge of radeon-ucode helped solve the KMS
printk() messages.

The real question here is why isn't radeon-ucode a dependency of
xf86-video-radeonhd ?



Re: [gentoo-user] recovering RAID from an old server

2010-02-20 Thread Neil Bothwick
On Sat, 20 Feb 2010 16:22:51 +0100, Andrea Conti wrote:

  md: bindhdg5,1
  md: bindhde5,2
  md: bindhda5,3
  raid1: raid set md101 active with 3 out of 4 mirrors  
 
 AFAICT this is all you need to know -- you definitely have two software
 (mdraid) RAID 1 volumes:

Agreed, however Iain also said that he tried to mount individual
partitions and this failed. This should work with RAID1, so I wonder if
something else is at work here; either some sort of logical volumes or a
weird filesystem in use.


-- 
Neil Bothwick

Heisenberg's Uncertainty Principle: The location of all objects cannot be
known simultaneously. Corollary: If a lost thing is found, something else
will disappear.



signature.asc
Description: PGP signature


Re: [gentoo-user] KDE 3 and Kconvert

2010-02-20 Thread Dale

chrome://messenger/locale/messengercompose/composeMsgs.properties:

On Sat, Feb 20, 2010 at 01:20:02PM -0600, Dale wrote:
   

chrome://messenger/locale/messengercompose/composeMsgs.properties:
 

Am Samstag, 20. Februar 2010 schrieb Dale:


   

So, it wants to rebuild Kconvert but there is no such thing in portage.
I have the kde-sunset layman up to date as well.  Also, I do use
Kconvert so I don't want to get rid of it either.

Is there a way to fix this?  Oh, the news item is not related.  I read
it but plan to go back to it one day when I have more time to mess with it.

Thanks.

Dale

 

You can do what I do when I want to keep a package that?s been removed from
portage: copy the overlay from /var/db/pkg/¹ to your local overlay
at /usr/local/prtage.

¹ Basically, that?s where portage keeps copies of all installed ebuilds.

   

I may end up doing that. I thought the KDE 3 stuff was supposed to move
over to kde-sunset. Did they just miss this one package maybe?

I may just do a quickpkg of the thing, unmerge it, let it do the other
updates and then put it back. ;-)

Dale

:-) :-)

 

Dale, you sly, sly man.

Hats off ;-)

   


Keep your hat on.  I don't have those thoughts very often.  I do have my 
hal moments tho.  lol  I'm starting to have some KDE moments to tho.  o_O


Dale

:-)  :-)



Re: [gentoo-user] [X11] radeonhd not working

2010-02-20 Thread Andrey Vul
Firmware installed, I still get this:

 (EE) RADEONHD(0): [dri] CP_INIT failed
 (EE) RADEONHD(0): RHDDRIFinishScreenInit: RHDDRIKernelInit Failed.



Re: [gentoo-user] How should I clean up my broken system?

2010-02-20 Thread Neil Bothwick
On Sat, 20 Feb 2010 12:08:05 +, Mick wrote:

  I expect that if I were still using etc-update or dispatch-conf I
  would welcome it with open arms though.  
 
 You make me feel out of touch with Gentoo!  Is dispatch-conf and
 etc-update that bad then?

They're not bad in that they do the basic job. It's just that the
alternatives can be so much better.


-- 
Neil Bothwick

Secret hacker rule #11: hackers read manuals.


signature.asc
Description: PGP signature


Re: [gentoo-user] [X11] radeonhd not working

2010-02-20 Thread pk
Andrey Vul wrote:

 The real question here is why isn't radeon-ucode a dependency of
 xf86-video-radeonhd ?

Well, the radeon-ucode is only for r6xx/7xx chips so pulling it in for
r5xx would be pointless... I just noticed that you have a radeon hd4200
which is a RS880 chip. Not sure if this is supported yet. Does
acceleration (2D/3D) work for you?

Best regards

Peter K



Re: [gentoo-user] [X11] radeonhd not working

2010-02-20 Thread Andrey Vul
On Sat, Feb 20, 2010 at 19:35, pk pete...@coolmail.se wrote:
 Andrey Vul wrote:

 The real question here is why isn't radeon-ucode a dependency of
 xf86-video-radeonhd ?

 Well, the radeon-ucode is only for r6xx/7xx chips so pulling it in for
 r5xx would be pointless... I just noticed that you have a radeon hd4200
 which is a RS880 chip. Not sure if this is supported yet. Does
 acceleration (2D/3D) work for you?

According to git, all the r7xx except for rs880 are on the
working/testing list. Which sucks, tbh: why did I bother to get
integrated when I could've gotten a better motherboard (with 1394
support) and a $50 graphics card?

What's the point of getting acceleration to work if the kernel can't
modeset correctly? Is it worth compiling radeon_drm + r700 fw into the
kernel?



Re: [gentoo-user] KDE 3 and Kconvert

2010-02-20 Thread Zeerak Mustafa Waseem
On Sat, Feb 20, 2010 at 05:43:11PM -0600, Dale wrote:
 chrome://messenger/locale/messengercompose/composeMsgs.properties:
  On Sat, Feb 20, 2010 at 01:20:02PM -0600, Dale wrote:
 
  chrome://messenger/locale/messengercompose/composeMsgs.properties:
   
  Am Samstag, 20. Februar 2010 schrieb Dale:
 
 
 
  So, it wants to rebuild Kconvert but there is no such thing in portage.
  I have the kde-sunset layman up to date as well.  Also, I do use
  Kconvert so I don't want to get rid of it either.
 
  Is there a way to fix this?  Oh, the news item is not related.  I read
  it but plan to go back to it one day when I have more time to mess with 
  it.
 
  Thanks.
 
  Dale
 
   
  You can do what I do when I want to keep a package that?s been removed 
  from
  portage: copy the overlay from /var/db/pkg/¹ to your local overlay
  at /usr/local/prtage.
 
  ¹ Basically, that?s where portage keeps copies of all installed ebuilds.
 
 
  I may end up doing that. I thought the KDE 3 stuff was supposed to move
  over to kde-sunset. Did they just miss this one package maybe?
 
  I may just do a quickpkg of the thing, unmerge it, let it do the other
  updates and then put it back. ;-)
 
  Dale
 
  :-) :-)
 
   
  Dale, you sly, sly man.
 
  Hats off ;-)
 
 
 
 Keep your hat on.  I don't have those thoughts very often.  I do have my 
 hal moments tho.  lol  I'm starting to have some KDE moments to tho.  o_O
 
 Dale
 
 :-)  :-)
 

In a future not far from now, Dale has moments about every scrap of software 
save the kernel... ;-)



Re: [gentoo-user] KDE 4.3 Weather Forecast Applet does not find Perth (Looking for a Fix)

2010-02-20 Thread ubiquitous1980
Mick wrote:
 On Thursday 18 February 2010 16:51:00 you wrote:
   
 On 18 February 2010 14:21, ubiquitous1980 nixuser1...@gmail.com wrote:
 
 Matthias Krebs wrote:
   
 Am Dienstag 16 Februar 2010 22:26:11 schrieb ubiquitous1980:
 
 Using KDE 4.3 Weather Forecast Applet for amd64.  I know BBC broke
 this.  Anyone got a fix?
   
 update to kde 4.4


 bbc works again (at least for berlin)
 
 You can use cwp (customisable weather plasmoid) from kde-look.  Requires
 hand installation.  Hope that helps.
   
 Or you can copy the URL from the BBC RSS feed and it should work.  Let
 me know which location you want and I can copy it over for you to try.
 

 Open your ~/.kde4/share/config/plasma-desktop-appletsrc and add this line for 
 your source of the weather applet:

 source=bbcukmet|weather|Perth, Australia|
 http://newsrss.bbc.co.uk/weather/forecast/92/ObservationsRSS.xml 

 all on one line.

 Or if you prefer Perth International, then add this:

 source=bbcukmet|weather|Perth International, Australia|
 http://newsrss.bbc.co.uk/weather/forecast/1954/ObservationsRSS.xml


   
I can confirm that this solution works as long as you have first
selected another source, then changed the source to the BBC one while
you are not logged in to KDE4.  You need the surrounding configuration
information similar as follows:

[Containments][1][Applets][15][Configuration]
pressureUnit=hPa
source=bbcukmet|weather|Perth,
Australia|http://newsrss.bbc.co.uk/weather/forecast/92/ObservationsRSS.xml
speedUnit=ms
temperatureUnit=C
updateInterval=30
visibilityUnit=km

Though I do not think this should be simply typed in!?

Be aware that if you are logged in, the source is saved as the last one
selected in the menu.  If you close the applet, the source in the above
config file is blanked, along with the other specification data.  Which
unless you edit the file whilst not logged into KDE4, creates a catch
22.  You try to select BBC in menu, then edit the file, then when you
try to select the entry again in the plasmoid, it will not find the
locality.  So you try then by shutting the plasmoid, but the settings
are gone.  Therefore, use a working selection in the menu, log out of
KDE, settings are saved, then edit the source line in your editor such
as nano or vim.  On next log in to KDE4, select BBC, and it now works. 
Sorry if this is a long-winded explanation.




Re: [gentoo-user] [X11] radeonhd not working

2010-02-20 Thread Andrey Vul
And from my experiences, fglrx is far less tolerant of fancy kernel
patches than the nvidia blobs.



Re: [gentoo-user] How should I clean up my broken system?

2010-02-20 Thread Iain Buchanan
On Sat, 2010-02-20 at 12:08 +, Mick wrote:
 On Sunday 14 February 2010 11:32:12 Neil Bothwick wrote:
  On Sun, 14 Feb 2010 12:03:40 +0100, Volker Armin Hemmann wrote:
On a more serious note, conf-update automatically merges trivial
changes, so any configs you ran at the default, which is probably the
majority, won't be flaged at all.
  
   so does cfg-update
  
  Every now and then, someone mentions cfg-update - usually you :) - and I
  give it another try, but I don't really get on with it and always go back
  to conf-update. There's nothing specific wrong with it, I just prefer (or
  am used to) conf-update.
  
  I expect that if I were still using etc-update or dispatch-conf I would
  welcome it with open arms though.
 
 You make me feel out of touch with Gentoo!  Is dispatch-conf and etc-update 
 that bad then?

out of touch would be rolling your own config update tool, like me ;)
It hasn't changed much since I started using Gentoo...

-- 
Iain Buchanan iaindb at netspace dot net dot au

In any formula, constants (especially those obtained from handbooks)
are to be treated as variables.




RE: [gentoo-user] Can't see /dev/hda1,2,3 but I know they exist...

2010-02-20 Thread Iain Buchanan
On Sat, 2010-02-20 at 12:44 -0500, James Homuth wrote:
 
 -Original Message-
 From: Hung Dang [mailto:hungp...@gmail.com] 
 Sent: February 19, 2010 9:18 PM
 To: gentoo-user@lists.gentoo.org
 Subject: Re: [gentoo-user] Can't see /dev/hda1,2,3 but I know they exist...
 
  
 You could see your HDD because the boot CD have enabled all drivers.
 Could you double check if you have configured the kernel for your HDD
 correctly?
 
 
 The kernel was not updated or changed since the laptop's last fully
 successful boot. And, at that time, it was configured to acknowledge my HDD.

thanks for bottom posting, but I'm having a hard time differentiating
between your post and the one your responding to, because they're on the
same level.  I guess you're using Outlook because you can't boot
properly?  In Outlook you can tell it to prepend the standard  
before the original message in the menu somewhere.

So back to your problem - you can boot but just how far?  Can you log
into X?  What were the updates you applied?  (Please list them all).
What boot messages do you see?  How do you log in?

Type `fdisk -l` and post the output.

thanks,
-- 
Iain Buchanan iaindb at netspace dot net dot au

Look, this is a man.  He's got great numbers.  He talks about numbers.  I'm
beginning to think not only did he invent the Internet, but he invented the
calculator.

George W. Bush
October 3, 2000
First Presidential Debate.  Boston, Massachusetts.