Re: [gentoo-user] VFS: Cannot open root device hda6 or unknown-block(3,6)

2006-12-26 Thread fei huang

didn't you separate your boot partition from / ?

--   root (hd1,5)
this indicates your BOOT partition (/boot) is located at  /dev/hdb6

--   kernel /boot/linux-2.6.15-gentoo-r1 root=/dev/hda6
this indicates your ROOT partition ( your / ) locates at /dev/hda6, is is
possible?


On 12/26/06, Bruce Burden [EMAIL PROTECTED] wrote:




   Hi gang,

I have a laptop, originally with Windows. I partitioned the
   windows space, and installed Gentoo. Fine and well.

Then I replaced the original hard drive with a new one, and
   moved the windoze/Gentoo drive to a USB enclosure. I changed the
   drive specs from hda0,x to hda1,x, and attempted to boot
   Gentoo in single user mode, by appending a 1 to the GRUB string.

That seemed to work, but eventually the process fails with
   the:

VFS: Cannot open root device hda6 or unknown-block(3,6)

   message above. Googling about tells me that perhaps the SCSI or
   the USB subsystems may not be loaded, and that is why the boot
   process fails. One recommendation was the change the /dev/hdaX
   notation for the device numerical notation, ie root=0x802.

Now, I have not (quickly) found the numerical notation,
   although I did encounter it once upon a time previously. Does
   this seem like the correct approach? If so, what would be the
   correct notation for the second drive? As I recall, 0x800 was
   a SCSI notation?

My GRUB is:

default 0
timeout 8
splashimage=(hd1,5)/boot/grub/splash.xpm.gz


title Gentoo Linux 2.6.15
root (hd1,5)
kernel /boot/linux-2.6.15-gentoo-r1 root=/dev/hda6

title Windows
root (hd1,0)
makeactive
chainloader +1

title Failsafe -- Gentoo Linux 2.6.12
kernel (hd1,5)/boot/vmlinuz root=/dev/hda6 showopts ide=nodma apm=off
acpi=off vga=nor
mal noresume selinux=0 barrier=off nosmp noapic maxcpus=0  3
initrd (hd1,5)/boot/initrd


   and all I have really done is change hd1,X, where originally I
   had hda0,X...

I would also like to be able to boot into windoze, and currently
   all it does is return to the GRUB menu, so clearly something isn't
   right...

Thank you,
Bruce
--

  I like bad! Bruce BurdenAustin, TX.
- Thuganlitha
The Power and the Prophet
Robert Don Hughes

--
gentoo-user@gentoo.org mailing list




Re: [gentoo-user] VFS: Cannot open root device hda6 or unknown-block(3,6)

2006-12-26 Thread Gabriel Rossetti

Hi,

If it's in a  USB enclosure, you need your /boot to be in a partition on 
your main
disk (the one inside of the laptop), if I'm not mistaking, Fei seams to 
think so too.
The hda* is now an sda* (or sdb*, sdc*, etc) because usb storage stuff 
emulates scsi.


Gabriel

Bruce Burden wrote:

   Hi gang,

	I have a laptop, originally with Windows. I partitioned the 
   windows space, and installed Gentoo. Fine and well.


Then I replaced the original hard drive with a new one, and
   moved the windoze/Gentoo drive to a USB enclosure. I changed the
   drive specs from hda0,x to hda1,x, and attempted to boot 
   Gentoo in single user mode, by appending a 1 to the GRUB string.


That seemed to work, but eventually the process fails with
   the:

VFS: Cannot open root device hda6 or unknown-block(3,6)

   message above. Googling about tells me that perhaps the SCSI or
   the USB subsystems may not be loaded, and that is why the boot
   process fails. One recommendation was the change the /dev/hdaX
   notation for the device numerical notation, ie root=0x802.

Now, I have not (quickly) found the numerical notation,
   although I did encounter it once upon a time previously. Does
   this seem like the correct approach? If so, what would be the
   correct notation for the second drive? As I recall, 0x800 was
   a SCSI notation?

My GRUB is:

default 0
timeout 8
splashimage=(hd1,5)/boot/grub/splash.xpm.gz


title Gentoo Linux 2.6.15
root (hd1,5)
kernel /boot/linux-2.6.15-gentoo-r1 root=/dev/hda6

title Windows
root (hd1,0)
makeactive
chainloader +1

title Failsafe -- Gentoo Linux 2.6.12
kernel (hd1,5)/boot/vmlinuz root=/dev/hda6 showopts ide=nodma apm=off 
acpi=off vga=nor
mal noresume selinux=0 barrier=off nosmp noapic maxcpus=0  3
initrd (hd1,5)/boot/initrd


   and all I have really done is change hd1,X, where originally I
   had hda0,X...

I would also like to be able to boot into windoze, and currently
   all it does is return to the GRUB menu, so clearly something isn't
   right...

Thank you,
Bruce
  

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] [SOLVED] gentoo and proxy variable

2006-12-26 Thread Daniel Iliev
Uwe Thiem wrote:
 On 25 December 2006 21:18, Etaoin Shrdlu wrote:
   
 On Monday 25 December 2006 19:19, Uwe Thiem wrote:
 
 So make the cronjob itself a shell script and set the variable in that
 script!
   
 Yes, that's what I said two posts above :-)
 

 Only, I sent mine 4 hours before you. At times, it takes quite a while until 
 my message show up. ;-)

 Uwe

   

Yep. Just as I suspected. This explains why your and Etaoin's replies
mostly cover each other. From my point of view your messages came after
Etaoin's. It happens.  ;-)

-- 
Best regards,
Daniel


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: emacs shell color question

2006-12-26 Thread David Relson
On Mon, 25 Dec 2006 21:54:01 -0600
[EMAIL PROTECTED] wrote:

 David Relson [EMAIL PROTECTED] writes:
 
  On Mon, 25 Dec 2006 01:00:31 -0600
  [EMAIL PROTECTED] wrote:
 
  David Relson [EMAIL PROTECTED] writes:
  
   G'day,
  
   I habitually run emacs shell sessions.  When I forget the --color
   options, for example for the ls and emerge commands, the shell
   session displays the ascii escape sequences which is pretty ugly.
   Is there an option for telling emacs to handle escape sequences?
  
  Does the problem persist if you use `eshell' instead of shell?
  (M-x eshell RET)
 
 There is an ansi mode that is made to hand escape sequences but that
 should not be necessary.  All recent emacs just work.
 
 That makes me think it is something in your environment.
 
 To get expert help I suggest you post on gnu.emacs.help  Or on
 gmane.emacs.help (same list).

Eureka!  

A search for ansi at gmane suggested using ansi-term instead
of shell.  That gave me color but previous line editing and such were
different, which I'm not sure I like :-

So I looked in /usr/share/emacs/... for ansi-term and found
ansi-color.el.  Comments at the beginning tell how to turn on color
within a shell.  This looks like what I want!

Thank you muchly.

David
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] anti-portage wreckage?

2006-12-26 Thread Boyd Stephen Smith Jr.
On Monday 25 December 2006 22:41, Mike Myers [EMAIL PROTECTED] 
wrote about 'Re: [gentoo-user] anti-portage wreckage?':
 On 12/25/06, Boyd Stephen Smith Jr. [EMAIL PROTECTED] wrote:
  On Monday 25 December 2006 14:09, Mike Myers [EMAIL PROTECTED]
  wrote about 'Re: [gentoo-user] anti-portage wreckage?':
   Anyways, all I'm essentially asking for is a way to separate minor
   updates from major updates.
  With some of the advanced atom operators (particularly '*' and '~'),
  you should be able to specify exactly what level of masking you want.
  You could also make your own profile that does cap packges at a
  certain version and have it's parent be an established profile,
  although I'm not sure that bit of portage hackery is supported.
 I know these things could be done, but I don't really think it's worth
 it. The problem is that these kinds of solutions don't scale very well..
 they don't really scale at all really.  If I have to reinstall for
 whatever reason, then I have to redo all this hackery, as you put it,
 heh.

You can easily replicate the contents of a profile or /etc/portage across 
multiple system with something like rsync; you should also have the 
entirety of /etc backed up in case you need to reinstall -- it holds all 
your services' configurations anyway.

 In any case, this is still a bit of a reactive approach, since I 
 have to be aware that there may be a problem with a particular update
 before I know to mask it.

No, you can mask packages before they exist, so you can choose to be 
reactive or active.  For example, to prevent emerge -u from updating a 
package add category/package-version to package.mask, even if there's not 
an upgrade waiting.  Again, proper use of the package atoms should enable 
you to only enable -rX upgrades (which are ebuild changes; not upstream) 
or -rX and last version number upgrades (which should be ABI compatible if 
upstream is sane) etc. etc.

It's certainly possible to build a system of scripts around emerge to do 
all this masking for you, and the PYE (pick-your-emerge) script that is 
(used to be?) popular on the forums could be a good starting point.

One thing that would make it a *lot* easier is if /var/lib/portage/world 
supported the full atom syntax instead of just atom bases and doing 
something like 'emerge category/mysql-5' would add the atom from the 
command line to the world file instead of the atom base.  [Then, most of 
the time, you wouldn't have to mask anything at all.]

 I really like the idea of the tree version 
 thing though.  I'll see if there's anything I can do to support that.

Yeah, I certainly would *mind* tree versioning.  Although... I'm not quite 
sure how it would mesh with the accepted ~ARCH keywording.  I see how they 
could work together, but they also seem to overlap uncomfortably.

-- 
If there's one thing we've established over the years,
it's that the vast majority of our users don't have the slightest
clue what's best for them in terms of package stability.
-- Gentoo Developer Ciaran McCreesh


pgpm6xdDY08a5.pgp
Description: PGP signature


Re: [gentoo-user] [SOLVED] emerge --resume

2006-12-26 Thread Bo Ørsted Andresen
On Sunday 24 December 2006 22:03, Daniel Iliev wrote:
 Etaoin Shrdlu wrote:
  On Sunday 24 December 2006 19:59, Daniel Iliev wrote:
  Well, I tried emerge mc and I hit ctrl-c in the middle of the
  process. Then emerge --resume emerged mc. Now emerge --resume
  gives the same strange message again. ;-)
 
  emerge --resume reads the list of packages to emerge from a binary file
  located at /var/cache/edb/mtimedb. In your case, that file is probably
  stale and is likely to contain package names or versions which are not
  available anymore (I don't know why it's there even after a succesful
  emerge though). I think that deleting or renaming it will cause emerge
  to believe that there's nothing to resume.

 Thank you!

 Removing that file did the trick.

The mtimedb contains a lot more than the resume list. The following command 
will show you it's contents:

# python -c 'import portage;print portage.mtimedb'

Removing it seems rather pointless IMO. The resume list gets overwritten if 
you emerge a list of packages rather than just one package. Either way it's 
contents is irrelevant when you don't need to resume a list of packages.

-- 
Bo Andresen


pgpN9pyF54lNl.pgp
Description: PGP signature


Re: [gentoo-user] [SOLVED] emerge --resume

2006-12-26 Thread Daniel Iliev
Bo Ørsted Andresen wrote:
 On Sunday 24 December 2006 22:03, Daniel Iliev wrote:
   
 Etaoin Shrdlu wrote:
 
 On Sunday 24 December 2006 19:59, Daniel Iliev wrote:
   
 Well, I tried emerge mc and I hit ctrl-c in the middle of the
 process. Then emerge --resume emerged mc. Now emerge --resume
 gives the same strange message again. ;-)
 
 emerge --resume reads the list of packages to emerge from a binary file
 located at /var/cache/edb/mtimedb. In your case, that file is probably
 stale and is likely to contain package names or versions which are not
 available anymore (I don't know why it's there even after a succesful
 emerge though). I think that deleting or renaming it will cause emerge
 to believe that there's nothing to resume.
   
 Thank you!

 Removing that file did the trick.
 

 The mtimedb contains a lot more than the resume list. The following command 
 will show you it's contents:

 # python -c 'import portage;print portage.mtimedb'

 Removing it seems rather pointless IMO. The resume list gets overwritten if 
 you emerge a list of packages rather than just one package. Either way it's 
 contents is irrelevant when you don't need to resume a list of packages.

   


Bo, as I said, I tried with only one package. So, you may be right about
the list, but for sure removing /var/cache/edb/mtimedb fixed the
problem: emerge --resume now gives It seems we have nothing to
resume and the strange message disappeared. So, I'm happy. :)

I just hope I haven't erased some important info, but I doubt that - if
something is in the cache it should be possible to be regenerated.
 ;-)))

-- 
Best regards,
Daniel


-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: emacs shell color question

2006-12-26 Thread reader
David Relson [EMAIL PROTECTED] writes:

 A search for ansi at gmane suggested using ansi-term instead
 of shell.  That gave me color but previous line editing and such were
 different, which I'm not sure I like :-

 So I looked in /usr/share/emacs/... for ansi-term and found
 ansi-color.el.  Comments at the beginning tell how to turn on color
 within a shell.  This looks like what I want!

Good, however you should not really need to use ansi-mode.
I do not, and don't have the trouble you mentioned.

In normal shell-mode (M-x shell) I do see the escape sequences you
mention but not in eshell (M-x eshell).

I think, if you post on gmane.emacs.help with what you are
experiencing someone will be able to help you identify, what in your
OS setup is causing the problem.

I did notice one thread where the user ended up discovering somekind
of alias to ls that was causing his problem.

 http://thread.gmane.org/gmane.emacs.help/39496/focus=39505

Typing `alias' in an xterm might reveal something.  Here I see:
  alias ls='ls --color=auto'
as the only reference to ls.

Posting there with your exact problem would probably be best.

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: anti-portage wreckage?

2006-12-26 Thread James
Mike Myers fluffymikey at gmail.com writes:


 Hi!  I know I don't post here much but I read it a lot and have been using
Gentoo for several years now.  I keep seeing users mention about how they do an
update and then everything goes to crap.  I've experienced this myself quite a
bit too.  I believe the reason this happens is the drawback one of Gentoo's
nicest features; constantly being up to date. 


Hello MIke,

Folks probably will not like my suggestions, but it works
in lieu of a better schema, so aplogies to all I offend, in advance

Gentoo servers (firewall, dns, mail, web ...) rarely suffer from these
issues, in fact, I believe one of gentoo's largest unexplored niches
should be Large Installation System Administration (via cfengine).

So, in my opinion, where Gentoo is really challenged, is the workstation
(laptop, desktop). You know the X11 + kde/gnome software boxen. 
What I do is keep one (workstation) system
on the bleeding edge (very frequent upgrades) so as to discern
where breakage or unecessary updates are looming. Since I admin an ever
expanding hoarde of gentoo based servers and workstations, development
of some tools to compile, distribute and manage the various x86 and amd64
machines we have, is way past due. As soon as I have a scheme I'm 
happy with, we'll be deploying lots of embedded gentoo based systems.

So I update the test workstation on fridays, use it over the weekend a
nd then update the other systems. Granted, if the devs release something 
(broken) over the weekend, I get screwed with this scheme sometimes.  
I should update the test system daily (in the mornings) and then 
update the other systems on the same day after that.

Problems with that scenario is the various methods of proxying the 
downloads and syncs are problematic in and of themselvs, not very 
often, but still bad enough to make those current schemes, less 
than desirable. Futhermore, DistCC is still a 'work in progress' 
and I've experience just enough hassle that it has been disabled 
(also due in part to so many different variants of x86).

Long story short:  Gentoo is the best distro for our work, as one only
has to installed debian, suse, or redhat for a week or two, to realize
just how spoiled you get with Gentoo.  That said, I've learned to be
cautious and patient with key software upgrades on Gentoo. However this
approach burns lots of extra time. My hope is Gentoo will continue to
improve and become more of a 'production' distro, as the other Linux
distros all seem to have unacceptable flaws, for our needs.

Future:
What is really needed is a group of users, with similar needs, to define
commonality of core applications that are essential to the needs: What 
this means is a list of software, for example openoffice, kde-meta, apache,
java, perl, python, C, etc. that forms a core of what we all need (not what
we want). Then set up cfengine to push binaries, via a trusted mechanisms,
to each of the arch categories) Maybe on a weekly  basis. Each
network, business or usergroup, would use their test system for 24 hours
as a quarrantined update, before pushing to the rest of their machines.
Or maybe push sources that are know good, to the test server at each
participating location.

If fact what the one (initially) master server environment sets up 
uses, could  be duplicated at any remote location with a group of systems.
Individuals could feed (download binaries) from those locations, with
the proper security mechanisms agreed to. If  a group of locations
with multiple systems use a common update semantic, then it would be
a lot less work, as opposed to each cleaver admin, rolling their own
solution. If something actually worked reasonable well, talented
admins could offer this service to commercial clients, thus generating
excitement about gentoo, and funding for many needy geeks.

If you only have one or 2 gentoo sytems, something like this is not worth
the effort. For those of us looking to manage dozens to hundreds of 
gentoo based systems, the need for some management scheme, is long overdue.
JFFNMS goes a LONG way to solving the problem, but, it is not
centric to the needs of gentoo systems.  A companion project
that addresses all of those gentoo_centric issues could compliment
JFFNMS and simultaneously created that quintessential opportunity
for Gentoo to really shine, compared to it's competition.



James



-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Kaffeine e Wma

2006-12-26 Thread Alessandro Cipriani
HI, i'm alessandro. I'm a newbie of gentoo. I've installed the system from 
stage 1 on a Asus Laptop. I've a problem: i don't know how i can play wma songs 
with kaffeine. The output error is:

xine: found input plugin  : file input plugin
xine: couldn't find demux for /home/alex/audio/songs.wma
xine: found input plugin  : file input plugin
 Thx

Alessandro


pgpaFpi6XJ8XY.pgp
Description: PGP signature


Re: [gentoo-user] [OT] IMAP4 behaviour

2006-12-26 Thread Mick
On Tuesday 12 December 2006 15:28, Hans-Werner Hilse wrote:
 Hi,

 On Tue, 12 Dec 2006 14:30:19 + Mick [EMAIL PROTECTED]

 wrote:
  I have noticed that the bandwidth consumed by an IMAP4 account of
  mine is rather high and I believe this because of the following type
  of behaviour:
 
  I click to send the message.  The message is uploaded to the server.

 ...by your client. Noone said that you need to put sent messages also
 onto an IMAP, i.e. mail storage server. MTA would be enough in order to
 send the mail. But you certainly know...

I was quite wrong in this statement.  At this stage the message is sent using 
SMTP and saved on Kmail, but it does not yet get uploaded/stored on the IMAP 
server.  If I logon using webmail I cannot find the sent message on the 
sent-mail folder.

  I click to sync/receive messages.  The message is uploaded again(!)
  to the server this time in the sent-mail IMAP folder.

 Uploaded? I would expect it to get downloaded -- at least, if you're
 using cached IMAP. Without cached IMAP, I would expect it to download
 headers only.

Wrong again in my statement I'm afraid.  If I sync now I get a message saying:

Mails on the server in folder [EMAIL PROTECTED]/inbox/sent-mail were 
deleted. Do you want to delete them locally?
UIDs: XXX

Looking at the webmail gui now reveals that my sent message is listed on the 
IMAP server.  Selecting 'Yes' deletes the message from the Kmail folder.

Sync'ing once more downloads the message from the IMAP server back into Kmail.

 I rather guess it's cached IMAP, i.e. a client side configuration issue.

I haven't changed my Kmail configuration, only upgraded to the latest stable 
Kmail 1.9.5 and this behaviour started.

 For further inspection, I'd recommend installing tcpflow (better suited
 for this than tcpdump) and logging communication with the server. You
 could even quote from that communication here.

I've run tcpflow but the output is garbled (as if I am looking at binary 
content):
==
# tcpflow -c -i eth0 host 192.168.0.5
tcpflow[9478]: listening on eth0
216.066.069.090.08090-192.168.000.005.50197: qE..DT..ru..AA
%j.CL...r..5..jR..H...X...0]..e*..C...n..-H).IE[..h3.=...O.K...m4...s)X.1+..3...
$Gl..Bg.Z[..x+.v[..h...'e..I..VkU*.M!l..U5.#._.cA.h.GU.N..3
{53..._.
|.i.p.E!i...3...L..pO.i..c.W..BI7.m.W3B:.W.i..x..S.~g.
Mk^...eX.R...D...S[...z].Z.=.J.1...{..b...2593D%.
{..4..k..u.C.ie.Oh.1SH...VS...N..3...%E.}.c.e;..,..^0.Nf
==
you get the picture.  What shall I use to look at it and make sense of it?
-- 
Regards,
Mick


pgphJcvgFoT4G.pgp
Description: PGP signature


Re: [gentoo-user] VFS: Cannot open root device hda6 or unknown-block(3,6)

2006-12-26 Thread Bruce Burden


   Hi Fei,

On Tue, Dec 26, 2006 at 05:35:59PM +0800, fei huang wrote:
 didn't you separate your boot partition from / ?
 
 --   root (hd1,5)
 this indicates your BOOT partition (/boot) is located at  /dev/hdb6

Originally, this would have been:

root(hd0,5)
 
 --   kernel /boot/linux-2.6.15-gentoo-r1 root=/dev/hda6
 this indicates your ROOT partition ( your / ) locates at /dev/hda6, is is
 possible?

while I have not changed this line.

/boot is part of the / heirarchy, which is on /dev/hda6 assuming
the disk is an IDE disk in the laptop.

What I have is:

IDE: FreeBSD, with FreeBSD MBR
USB enclosure:
 first 2 partitions Windows
 hda5  - SWAP
 hda6  - /
 hda7  - /var
 hda8  - /usr
 hda9  - /tmp
 hda10 - /usr/src
 hda11 - /usr/portage
 hda12 - /home
 GRUB is instaled in MBR.

Now, on boot, the FreeBSD bootloader gets me to the GRUB loader on
   the USB drive.

What I believe I need to know is how to remap the partitions on the
   original IDE drive to SCSI partitions, because that drive is now in the USB
   enclosure.

Also, I need to know how to change the Windows partition so that
   Windows believe it is the first disk, otherwise it will not boot.

Bruce
-- 

  I like bad! Bruce BurdenAustin, TX.
- Thuganlitha
The Power and the Prophet
Robert Don Hughes

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] how to choose the embedded movie plugin in firefox

2006-12-26 Thread karlos

hello,

I have to prepare a little website running for now locally on my machine to
show some video footage. I have compiled several movie players with the
nsplugin USE flag, but I would like to able to choose which one is actually
used. So far, I have vlc and totem installed (I prefer Totem as it shows the
video controls unlike vlc).

Thanks for any advice,

karsten


Re: [gentoo-user] VFS: Cannot open root device hda6 or unknown-block(3,6)

2006-12-26 Thread Mick
On Tuesday 26 December 2006 18:26, Bruce Burden wrote:
Hi Fei,

 On Tue, Dec 26, 2006 at 05:35:59PM +0800, fei huang wrote:
  didn't you separate your boot partition from / ?
 
  --   root (hd1,5)
  this indicates your BOOT partition (/boot) is located at  /dev/hdb6

   Originally, this would have been:

   root(hd0,5)

  --   kernel /boot/linux-2.6.15-gentoo-r1 root=/dev/hda6
  this indicates your ROOT partition ( your / ) locates at /dev/hda6, is is
  possible?

   while I have not changed this line.

   /boot is part of the / heirarchy, which is on /dev/hda6 assuming
 the disk is an IDE disk in the laptop.

   What I have is:

 IDE: FreeBSD, with FreeBSD MBR
 USB enclosure:
  first 2 partitions Windows
  hda5  - SWAP
  hda6  - /
  hda7  - /var
  hda8  - /usr
  hda9  - /tmp
  hda10 - /usr/src
  hda11 - /usr/portage
  hda12 - /home
  GRUB is instaled in MBR.

   Now, on boot, the FreeBSD bootloader gets me to the GRUB loader on
the USB drive.

   What I believe I need to know is how to remap the partitions on the
original IDE drive to SCSI partitions, because that drive is now in the
 USB enclosure.

You can use tab auto-completion in grub to see what drives and partitions are 
identified as.

   Also, I need to know how to change the Windows partition so that
Windows believe it is the first disk, otherwise it will not boot.

That's right, it won't.  You need the map command in your grub.conf:

map (hd0) (hd1)
map (hd1) (hd0)

WinXP will now think that it is on the first disk and it will boot happily.

-- 
Regards,
Mick


pgprxLrJlgKvi.pgp
Description: PGP signature


Re: [gentoo-user] Kaffeine e Wma

2006-12-26 Thread Uwe Thiem
On 26 December 2006 18:03, Alessandro Cipriani wrote:
 HI, i'm alessandro. I'm a newbie of gentoo. I've installed the system from
 stage 1 on a Asus Laptop. I've a problem: i don't know how i can play wma
 songs with kaffeine. The output error is:

 xine: found input plugin  : file input plugin
 xine: couldn't find demux for /home/alex/audio/songs.wma
 xine: found input plugin  : file input plugin

Emerge the win32codecs and make win32codecs part of your USE flags. 
See /etc/make.conf and /etc/make.conf.example.

Uwe 

-- 
A fast and easy generator of fractals for KDE:
http://www.SysEx.com.na/iwy-1.0.tar.bz2
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: anti-portage wreckage?

2006-12-26 Thread Uwe Thiem
On 26 December 2006 17:56, James wrote:

 So I update the test workstation on fridays, use it over the weekend a
 nd then update the other systems. Granted, if the devs release something
 (broken) over the weekend, I get screwed with this scheme sometimes.
 I should update the test system daily (in the mornings) and then
 update the other systems on the same day after that.

From my experience, another approach is easier and safer. If your test 
workstation and your productions workstation are basically equivalent (as far 
as their world files are concerned, *not* their hardware) you can just NFS 
mount your test box's portage tree on your production box and update it from 
there. I will not download new packages but use the ones on your test box 
tested over the weekend.


 Problems with that scenario is the various methods of proxying the
 downloads and syncs are problematic in and of themselvs, not very
 often, but still bad enough to make those current schemes, less
 than desirable. Futhermore, DistCC is still a 'work in progress'
 and I've experience just enough hassle that it has been disabled

I disagree here. I have used distcc without any major problem for at least one 
year by now.

 (also due in part to so many different variants of x86).

This doesn't affect distcc. The slave compiles a a C or C++ according to the 
specs of the master. The master runs the source file through its preprocessor 
and sends the result with all necessary commandline options over to the 
slave. Those options contain the desired architecture/CPU of your master. The 
slave compiles the preprocessor output, runs that result through its 
assembler and transfers the resulting object file back to the master which, 
eventually, links it. So don't worry about different CPUs within the x86 
domain or different libraries.

Just have the same compiler version installed on all participating boxes.

It's a bit more difficult if a slave has a completely different architecture. 
In that case, you need to install cross compilations system for the master on 
that particular slave.


 Long story short:  Gentoo is the best distro for our work, as one only
 has to installed debian, suse, or redhat for a week or two, to realize
 just how spoiled you get with Gentoo.  That said, I've learned to be
 cautious and patient with key software upgrades on Gentoo. However this
 approach burns lots of extra time. My hope is Gentoo will continue to
 improve and become more of a 'production' distro, as the other Linux
 distros all seem to have unacceptable flaws, for our needs.

I full-heartedly agree here.

Uwe

-- 
A fast and easy generator of fractals for KDE:
http://www.SysEx.com.na/iwy-1.0.tar.bz2

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Xorg and KDE on Gentoo going crazy with my laptop display.

2006-12-26 Thread Erik
I have a laptop (Dell INSPIRON | 8600) with a LCD. It has worked before, 
but since a few months it is going haywire. There are some really 
strange interactions between the power cable and the display. It could 
be caused by Linux, udev, acpid, xorg, KDE or something else. I have no 
Idea. I just want the display to be off after 1 minute of inactivity and 
when the lid is closed and then stay off until I touch the keyboard or 
pointing device. But that seems to be really difficult to achieve in 
Gentoo. For example if the display is off and I connect or disconnect 
the power cable, (only) the backlight of the display is turned on. This 
behaviour is completely useless and will obviously make the laptop shut 
down sooner in the case of a power outage. The backlight must never be 
on when the display itself is off. Sometimes when the display should 
have been off, it even dares to show some kind of idle animation. It is 
a strange looking X at random position and size, on black background. I 
have certainly never configured it to do that. Why is it shown? How do I 
remove it? Sometimes the display just stays on forever as if it has 
completely forgotten that it should shut off after 1 minute. I always 
have kcontrol-Peripherals-Display-Power Control open, because 
changing a setting, changing it back and pressing Apply fixes the 
problem, but only for a little while. I really need to put an end to all 
this craziness now!


System information
==

Package settings:
[ebuild   R   ] sys-kernel/gentoo-sources-2.6.18-r5  USE=-build 
-symlink (-ultra1) 0 kB

[ebuild   R   ] sys-fs/udev-103  USE=(-selinux) 0 kB
[ebuild   R   ] sys-power/acpid-1.0.4-r3  USE=doc -logrotate 0 kB
[ebuild   R   ] x11-base/xorg-server-1.1.1-r3  USE=dri ipv6 nptl sdl 
xorg -3dfx -aiglx -debug -dmx -kdrive -minimal -xprint 
INPUT_DEVICES=keyboard mouse -acecad -aiptek -calcomp -citron 
-digitaledge -dmc -dynapro -elo2300 -elographics -evdev -fpit -hyperpen 
-jamstudio -joystick -magellan -microtouch -mutouch -palmax -penmount 
-spaceorb -summa -synaptics -tek4957 -ur98 -vmmouse -void -wacom 
VIDEO_CARDS=radeon -apm -ark -chips -cirrus -cyrix -dummy -epson -fbdev 
-fglrx -glint -i128 -i740 -i810 (-impact) -imstt -mach64 -mga -neomagic 
(-newport) -nsc -nv -nvidia -r128 -rendition -s3 -s3virge -savage 
-siliconmotion -sis -sisusb (-sunbw2) (-suncg14) (-suncg3) (-suncg6) 
(-sunffb) (-sunleo) (-suntcx) -tdfx -tga -trident -tseng -v4l -vesa -vga 
-via -vmware -voodoo 0 kB
[ebuild   R   ] kde-base/kdelibs-3.5.5-r7  USE=acl alsa arts cups doc 
fam jpeg2k kdeenablefinal kdehiddenvisibility kerberos openexr spell ssl 
tiff xinerama zeroconf -avahi -debug -legacyssl -lua -utempter 
LINGUAS=-he 0 kB
[ebuild   R   ] kde-base/kcontrol-3.5.5  USE=arts kdeenablefinal 
kdehiddenvisibility opengl ssl xinerama -debug -ieee1394 
-logitech-mouse 0 kB


/usr/src/linux points to linux-2.6.17-gentoo-r8. acpid is in 
runlevel default.


Log output after disconnecting the power cable:
Oct  4 22:08:20 localhost logger: ACPI group ac_adapter / action 
ac_adapter is

not defined
Oct  4 22:08:20 localhost logger: ACPI group battery / action battery is not
defined
Oct  4 22:08:20 localhost logger: ACPI group processor / action processor is
not defined
Oct  4 22:08:23 localhost logger: ACPI group battery / action battery is not
defined
Oct  4 22:08:23 localhost logger: ACPI group battery / action battery is not
defined

Log output after connecting the power cable:
Oct  4 22:08:36 localhost logger: ACPI group processor / action processor is
not defined
Oct  4 22:08:36 localhost logger: ACPI group ac_adapter / action 
ac_adapter is

not defined
Oct  4 22:08:36 localhost logger: ACPI group battery / action battery is not
defined
Oct  4 22:08:40 localhost logger: ACPI group battery / action battery is not
defined
Oct  4 22:08:40 localhost logger: ACPI group battery / action battery is not
defined

When I press the lid button I get the following in /var/log/acpid:
[Tue Dec 19 01:20:53 2006] received event button/lid LID 0080 000e
[Tue Dec 19 01:20:53 2006] notifying client 6176[0:0]
[Tue Dec 19 01:20:53 2006] executing action /etc/acpi/default.sh button/lid
LID 0080 000e
[Tue Dec 19 01:20:53 2006] BEGIN HANDLER MESSAGES
[Tue Dec 19 01:20:53 2006] END HANDLER MESSAGES
[Tue Dec 19 01:20:53 2006] action exited with status 0
[Tue Dec 19 01:20:53 2006] executing action /etc/acpi/actions/lm_lid.sh
button/lid LID 0080 000e
[Tue Dec 19 01:20:53 2006] BEGIN HANDLER MESSAGES
Laptop mode disabled, not active [unchanged].
[Tue Dec 19 01:20:54 2006] END HANDLER MESSAGES
[Tue Dec 19 01:20:54 2006] action exited with status 0
[Tue Dec 19 01:20:54 2006] completed event button/lid LID 0080 
000e


When I release it again I get this:
[Tue Dec 19 01:20:56 2006] received event button/lid LID 0080 000f
[Tue Dec 19 01:20:56 2006] notifying client 6176[0:0]
[Tue Dec 19 01:20:56 2006] executing action /etc/acpi/default.sh button/lid
LID 

[gentoo-user] Re: which mirror does emerge --sync chose? and why?

2006-12-26 Thread Sven Köhler
 I do not understand/know how the choice of mirrors work either.  I noticed 
 that when I rsync from home I always hit the same mirror (first time).  When 
 I rsync from work (using the same laptop) I always hit a different specific 
 mirror (again first time).

it's not portage!
it's rsync!!!

execute rsync rsync.gentoo.org:: for a few times. I always see the
banner message of owl.gentoo.org, and no other.

That is STRANGE!




signature.asc
Description: OpenPGP digital signature


[gentoo-user] ati-drivers ebuild for 9200 and 2.6.18?

2006-12-26 Thread Grant Edwards
Is there an ati-drivers ebuild that will install a Radeon
9200/9250 compatible driver under 2.6.18?  The most recent ATI
driver that works with the 9200 series is 8.28.8, but it (and
older versions) won't compile out-of-the-box under 2.6.18.  

I downloaded the ATI 8.28.8 installer and installed it by
applying one of the patches that are floating around (from
Fedora and/or SuSe, IIRC), but an ebuild that works would be
better.

-- 
Grant Edwards   grante Yow!  BARBARA STANWYCK
  at   makes me nervous!!
   visi.com

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] problem emerging evolution

2006-12-26 Thread Kumar Golap

Hi All,
I've been trying to upgrade gnome...but i keep stumbling on evolution
failing to compile
I've re-emerged evolution-data-server etc...it does not help...What am
I missing ?

This is the bit of the failing compilation :

bORBit-2.so -lm /usr/lib64/libgmodule-2.0.so -ldl
/usr/lib64/libgthread-2.0.so /usr/lib64/libglib-2.0.so -Wl,--rpath
-Wl,/usr/lib64/evolution/2.8
/usr/lib64/libedataserver-1.2.so: undefined reference to
[EMAIL PROTECTED]'


Thanks

Kumar
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: emacs shell color question

2006-12-26 Thread David Relson
On Tue, 26 Dec 2006 09:51:22 -0600
[EMAIL PROTECTED] wrote:

...[snip]...
 
 Good, however you should not really need to use ansi-mode.
 I do not, and don't have the trouble you mentioned.
 
 In normal shell-mode (M-x shell) I do see the escape sequences you
 mention but not in eshell (M-x eshell).
 
 I think, if you post on gmane.emacs.help with what you are
 experiencing someone will be able to help you identify, what in your
 OS setup is causing the problem.
 
 I did notice one thread where the user ended up discovering somekind
 of alias to ls that was causing his problem.
 
  http://thread.gmane.org/gmane.emacs.help/39496/focus=39505
 
 Typing `alias' in an xterm might reveal something.  Here I see:
   alias ls='ls --color=auto'
 as the only reference to ls.
 
 Posting there with your exact problem would probably be best.

I generally have ls aliased to 'ls --color=none' and that works
fine.  In my post I used ls as a simple example of a program
that can/does use escape sequences.  

Other programs that use escape sequences are emerge and runscript
(used in starting services).  Alias 'emerge --color'
suppresses ansi color sequences for direct invocations of emerge
(because the alias is used for that).  

I also use 'eix-sync' which runs emerge.  In _this_ instance, ansi
escape sequences are _not_ suppressed and I do find them annoying.

Now that I'm home from work, I have the time to experiment :-
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] USE flags information resource

2006-12-26 Thread Alan E. Davis

After about a year of using Gentoo, I am very pleased.  Not being a
programmer, I do tend to spend alot of time on that learning curve.  It has
become more and more apparent in the past couple of months that USE flags
really *are* as fantastic as they are cracked up to be, in at least one
way---they enable the tuning of each package within whatever parameters are
available for that package.  Nothing even close to that is available on
other distros I have used (well, slackware had at least emacs-nox, I
guess).

Like my 4 year old son, I learn about the system by pounding on keys.  I
have always tended to tank up on caffeine before an install session, and
install everything I can get my hands on.   Some of them wouldn't work, but
that was just, as I understood, the law of probability in action.  I have
been getting wiser and wiser at fixing broken merges, and often it has
required to take some time, read the output, and reinstall some dependency
with a USE flag enabled or disabled.  I have been learning to take it slow
in installing packages, check out the situation before doing the actual
merge itself.  This is just as important as the docs said, despite my hurly
burly approach.

I have had it in mind to post about this, but now I think I have a
suggestion that may be useful:

I wiki about USE flags would be extremely useful.  Am I the only one, or are
newbies the only ones who encounter USE flags with cryptic significance?
The descriptions from euse, profuse, etc., are a bit of a help alot of the
time; however, some use flags would bear some serious explanation!   Is
something now available that would provide this functionality?  I am not
wise to the world of wikis (my sole attempt to edit wikipedia was a dismal
failture, even though I am pretty literate in LaTeX); however I would be
willing to put something simple together with some help.

Alan

--
Alan Davis, Kagman High School, Saipan  [EMAIL PROTECTED] 1-670-256-2043

I consider that the golden rule requires that if I like a program I must
share it with other people who like it.
 Richard Stallman


[gentoo-user] gecko error with firefox and nvidia driver

2006-12-26 Thread karlos

Hello list!

I get the following error whenever I try to use the 'nvidia' driver (the
proprietary one) with X and firefox, say, when entering site that use java
or flash etc.. Using the open source driver solves the problem, but I can
not get direct rendering to work properly then. I also tried several
versions of hte driver, plus re-compiled gecko.. no joy.

The program 'Gecko' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadMatch (invalid parameter attributes)'.
 (Details: serial 84 error_code 8 request_code 149 minor_code 3)
 (Note to programmers: normally, X errors are reported asynchronously;
  that is, you will receive the error a while after causing it.
  To debug your program, run it with the --sync command line
  option to change this behavior. You can then get a meaningful
  backtrace from your debugger if you break on the gdk_x_error() function.)
firefox-bin exited with non-zero status (1)

would anyone know what causes this to happen?

thanks,

KArsten


Re: [gentoo-user] USE flags information resource

2006-12-26 Thread Thomas Tuttle
On December 26 at 20:38 EST, Alan E. Davis hastily scribbled:
 I wiki about USE flags would be extremely useful.  Am I the only one, or are
 newbies the only ones who encounter USE flags with cryptic significance?
 The descriptions from euse, profuse, etc., are a bit of a help alot of the
 time; however, some use flags would bear some serious explanation!   Is
 something now available that would provide this functionality?

http://www.gentoo-wiki.com/ has some good articles (not a specific index 
of USE flags, but good tutorials and stuff) and might be a good place to 
put the article(s) you'd like to write.

 I am not wise to the world of wikis (my sole attempt to edit wikipedia was
 a dismal failture, even though I am pretty literate in LaTeX); however
 I would be willing to put something simple together with some help.

Er, Wikipedia doesn't use LaTeX except in math articles.

This sounds like a good idea.  You should start an article on 
Gentoo-Wiki.com if nobody else has.

--Thomas Tuttle


pgp8NrsGOvBGJ.pgp
Description: PGP signature


[gentoo-user] Documentation annoyance... the moving target.

2006-12-26 Thread Walter Dnes
  Portage keeps packages up to date.  This is nice, but it makes things
painful when trying to bookmark local documentation on my hard drive.
E.g. it goes from /usr/share/doc/imagemagick-6.2.9.5/html/blahblahblah
to /usr/share/doc/imagemagick-6.3.0.5/html/blahblahblah

  ImageMagick is just one example.  Gimp is another.  Is there a way to
set up stable bookmarks for local docs?

-- 
Walter Dnes [EMAIL PROTECTED] In linux /sbin/init is Job #1
My musings on technology and security at http://techsec.blog.ca
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] problem emerging evolution

2006-12-26 Thread Rumen Yotov

Kumar Golap написа:

Hi All,
I've been trying to upgrade gnome...but i keep stumbling on evolution
failing to compile
I've re-emerged evolution-data-server etc...it does not help...What am
I missing ?

This is the bit of the failing compilation :

bORBit-2.so -lm /usr/lib64/libgmodule-2.0.so -ldl
/usr/lib64/libgthread-2.0.so /usr/lib64/libglib-2.0.so -Wl,--rpath
-Wl,/usr/lib64/evolution/2.8
/usr/lib64/libedataserver-1.2.so: undefined reference to
[EMAIL PROTECTED]'


Thanks

Kumar

Hi,
Try rebuilding sys-libs/db-4.3.X. Be aware - it's slotted (4.3).
Then try again with evo.
HTH. Rumen



smime.p7s
Description: S/MIME Cryptographic Signature


Re: [gentoo-user] ati-drivers ebuild for 9200 and 2.6.18?

2006-12-26 Thread Rumen Yotov

Grant Edwards написа:

Is there an ati-drivers ebuild that will install a Radeon
9200/9250 compatible driver under 2.6.18?  The most recent ATI
driver that works with the 9200 series is 8.28.8, but it (and
older versions) won't compile out-of-the-box under 2.6.18.  


I downloaded the ATI 8.28.8 installer and installed it by
applying one of the patches that are floating around (from
Fedora and/or SuSe, IIRC), but an ebuild that works would be
better.


Hi,
Read the official gentoo-doc about ATI drivers.
Could use the Xorg free ATI-drivers.
HTH. Rumen



smime.p7s
Description: S/MIME Cryptographic Signature


Re: [gentoo-user] Kaffeine e Wma

2006-12-26 Thread Rumen Yotov

Uwe Thiem написа:

On 26 December 2006 18:03, Alessandro Cipriani wrote:

HI, i'm alessandro. I'm a newbie of gentoo. I've installed the system from
stage 1 on a Asus Laptop. I've a problem: i don't know how i can play wma
songs with kaffeine. The output error is:

xine: found input plugin  : file input plugin
xine: couldn't find demux for /home/alex/audio/songs.wma
xine: found input plugin  : file input plugin


Emerge the win32codecs and make win32codecs part of your USE flags. 
See /etc/make.conf and /etc/make.conf.example.


Uwe 


Hi,
Check also about 'wma' local USE-flag.
HTH. Rumen



smime.p7s
Description: S/MIME Cryptographic Signature


Re: [gentoo-user] emerge --resume

2006-12-26 Thread Randy Barlow
On Sun, 2006-12-24 at 17:55 +0200, Daniel Iliev wrote:
 During this my cron did emerge --sync.

I would recommend not having cron sync your tree for this very reason...

Randy Barlow
http://www.electronsweatshop.com
Today is a good day for information-gathering. Read someone else's mail
file.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] problem emerging evolution

2006-12-26 Thread Nicholas Hockey
On Wed, 2006-12-27 at 07:37 +0200, Rumen Yotov wrote:

 Kumar Golap написа:
  Hi All,
  I've been trying to upgrade gnome...but i keep stumbling on evolution
  failing to compile
  I've re-emerged evolution-data-server etc...it does not help...What am
  I missing ?
  
  This is the bit of the failing compilation :
  
  bORBit-2.so -lm /usr/lib64/libgmodule-2.0.so -ldl
  /usr/lib64/libgthread-2.0.so /usr/lib64/libglib-2.0.so -Wl,--rpath
  -Wl,/usr/lib64/evolution/2.8
  /usr/lib64/libedataserver-1.2.so: undefined reference to
  [EMAIL PROTECTED]'
  
  
  Thanks
  
  Kumar
 Hi,
 Try rebuilding sys-libs/db-4.3.X. Be aware - it's slotted (4.3).
 Then try again with evo.
 HTH. Rumen
 


Yes, your problem here does not appear to be evolution, but db4...
re-install that, and then try evolution and it should work fine.


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


Re: [gentoo-user] emerge --resume

2006-12-26 Thread Nicholas Hockey
On Wed, 2006-12-27 at 01:26 -0500, Randy Barlow wrote:

 On Sun, 2006-12-24 at 17:55 +0200, Daniel Iliev wrote:
  During this my cron did emerge --sync.
 
 I would recommend not having cron sync your tree for this very reason...
 
 Randy Barlow
 http://www.electronsweatshop.com
 Today is a good day for information-gathering. Read someone else's mail
 file.
 


i agree, i think automagicly syncing the tree is a bad idea. look at
it this way Do you have your windows machines set to automgicly
chack, and install updates ? In an age where system administration is
almost unrequired, there are still some things you should od by hand
like syncing the tree, and while updating the system, keep an eye out
for messages to indicate potential problems yes it's not fun, but
it's the key to a stable system.


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


Re: [gentoo-user] Re: which mirror does emerge --sync chose? and why?

2006-12-26 Thread Dan
On Tue, 26 Dec 2006 23:50:14 +0100
Sven Köhler [EMAIL PROTECTED] wrote:

  I do not understand/know how the choice of mirrors work either.  I
  noticed that when I rsync from home I always hit the same mirror
  (first time).  When I rsync from work (using the same laptop) I
  always hit a different specific mirror (again first time).
 
 it's not portage!
 it's rsync!!!
 
 execute rsync rsync.gentoo.org:: for a few times. I always see the
 banner message of owl.gentoo.org, and no other.
 
 That is STRANGE!
 
 


i think it's not strange at all.  i'm sure rsync uses mechanisms to find
the closest server, and it's no surprise that this would be the same all
the time, and different from the point of view of different networks.

-- 
gentoo-user@gentoo.org mailing list