RE: [gentoo-user] Re: Strange problem with audio CDs

2011-01-11 Thread Barney Salter
Hi Jake,

Have you tried compiling with the cdda use flag?

Thanks,
Barney

-Original Message-
From: Jake Moe [mailto:jakesaddr...@gmail.com] 
Sent: 11 January 2011 06:48
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Re: Strange problem with audio CDs

On 01/11/11 04:38, Jörg Schaible wrote:
 Hi Jake,

 Jake Moe wrote:

 I can't seem to get audio CDs to work with my drive.  Data CDs work
 fine, I can mount the filesystem and read them.  Data and Video DVDs
 seem to work fine as well.  But when I try to listen to an audio CD, I
 get the attached errors in log.bz2.  I've tried using things from KsCD
 to cdplay; everything gives the same errors.  Googling seems to indicate
 that there might be a problem with udev somehow, but most of those that
 I find have the fix as update to the latest udev using apt/rpm/other
 binary distro package tool, which obviously won't work for Gentoo.
 Other solutions seem to be update to libATA, but I'm already using that.

 I've gone through and tried to check anything obvious in my kernel
 config, but I can't see anything that'd affect it like this.  Also, if I
 reboot into Windows (this laptop is a work computer as well), it plays
 and rips the same CDs just fine.

 Hardware is an HP EliteBook nc6930p laptop.  CD/DVD drive is /dev/sr0.
 Controller is:

 00:1f.2 SATA controller: Intel Corporation ICH9M/M-E SATA AHCI
 Controller (rev 03) (prog-if 01 [AHCI 1.0])
 Subsystem: Hewlett-Packard Company Device 30dc
 Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 46
 I/O ports at 8118 [size=8]
 I/O ports at 813c [size=4]
 I/O ports at 8110 [size=8]
 I/O ports at 8138 [size=4]
 I/O ports at 8000 [size=32]
 Memory at d8426000 (32-bit, non-prefetchable) [size=2K]
 Capabilities: [80] MSI: Enable+ Count=1/16 Maskable- 64bit-
 Capabilities: [70] Power Management version 3
 Capabilities: [a8] SATA HBA ?
 Capabilities: [b0] PCI Advanced Features
 Kernel driver in use: ahci

 Oddly, if I open Konqueror and type in audiocd:/, it lists the tracks,
 and has the FLAC, MP3, Ogg, etc folders.  But it won't play or copy the
 files; it gives the error in error.gif.

 Any other info you need, please let me know.  This is driving me nuts.
 Same for me: http://forums.gentoo.org/viewtopic.php?p=6372251#6372251

 I still have my old box around just because of this problem :-/

 00:1f.2 SATA controller: Intel Corporation 82801JI (ICH10 Family) SATA AHCI 
 Controller (prog-if 01 [AHCI 1.0])
 Subsystem: Acer Incorporated [ALI] Device 0198
 Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 64
 I/O ports at c880 [size=8]
 I/O ports at c800 [size=4]
 I/O ports at c480 [size=8]
 I/O ports at c400 [size=4]
 I/O ports at c080 [size=32]
 Memory at fbcfc000 (32-bit, non-prefetchable) [size=2K]
 Capabilities: [80] MSI: Enable+ Count=1/16 Maskable- 64bit-
 Capabilities: [70] Power Management version 3
 Capabilities: [a8] SATA HBA ?
 Capabilities: [b0] PCI Advanced Features
 Kernel driver in use: ahci

 When I rip a CD it typically starts to read it slow permanently down and 
 after ~ the 6th song the process is not profgressing anymore ...

 You're also running 64-bit ?

 - Jörg
Well, mine is a bit different.  I typically run FVWM from a SLIM logon,
so there's no KDE or Gnome auto-anything running.  I only used Konqueror
as an example of another way of accessing the CDs that might have
worked, but didn't.   I can even stop XDM, log in from a console prompt
with no X running, and try to play a CD with cdplay or dcd, and I'll get
the same results.  And with me, it doesn't start to work and then slow
down; it never works.  It can only read track listings, but not any of
the music.

And no, I'm on 32-bit stable Gentoo, with only unstable packages
being ones that don't have stable ebuilds.

Thanks for trying, though.  :-)  Anyone else have any ideas?

Jake Moe


--
This message was scanned by ESVA and is believed to be clean.



Re: [gentoo-user] xen-sources and igb (intel network) driver

2011-01-11 Thread Konstantinos Agouros
In 1294686017.7...@rumba elw...@agouros.de (Konstantinos Agouros) writes:

Hi,

I just upgraded my box to a phenom and an intel quad gbit card.
The card is a 82575GB. It is recognized (I use xen-sources 2.6.34-r4) and
also tried the latest driver available at intel (2.4.12). Ifconfig
show the interfaces mac addresses etc. 

However I do not get a link. Neither on a switch nor on a laptop
with gbit interface. 

I found googling that there seems to be an issue with xen and this card/
chip. Anybody knows a way out of it? Especially since the card should have
some virtualization optimizations?
OK more googling gave me the answer:

ethtool -K tx off

Now the question is: 
what is the 'gentooest' way to put this into /etc/conf.d/net?
From reading the example file I would guess a preup() function.

Also: is /etc/conf.d/net the place to put in the bridge definitions for
the xen guests? If yes, how do I get it to create empty bridges for inter-
guest communications?

Regards,

Konstantin
-- 
Dipl-Inf. Konstantin Agouros aka Elwood Blues. Internet: elw...@agouros.de
Altersheimerstr. 1, 81545 Muenchen, Germany. Tel +49 89 69370185

Captain, this ship will not survive the forming of the cosmos. B'Elana Torres



Re: [gentoo-user] Re: A tiny titillating taste of grub2

2011-01-11 Thread Daniel da Veiga
On Mon, Jan 10, 2011 at 22:51, Dale rdalek1...@gmail.com wrote:

 walt wrote:

 On 01/10/2011 01:37 PM, Dale wrote:

 pk wrote:

 On 2011-01-10 14:05, walt wrote:

  You guys may be losing interest in grub2, but I'm having fun, so...


  Although I've not been involved in this discussion I still enjoy your
 progress (I've been meaning to try out grub2 myself since grub1 is
 basically EOLed but haven't had the time yet)... please continue!


  Same here. I'm noticing how complicated this thing is.


 I'm sorry I've given that impression -- the complicated part is finding
 comprehensible examples to copy, but thanks to your previous links I'm
 gaining on it.   I'm now able to write a functioning grub.cfg file for
 grub2, but I don't want to publish prematurely ;)


 It wasn't just you, it was other things I read too.


  Does it have audio too?


 Yes, but very primitive.  No speech, but you can give it a series of
 numbers representing tones and durations -- to make it sound like a
 video game arcade.  If you really want to.  But I don't.




 Oh God, it can make sounds.  O_O


My first impression of grub2 was PAIN.
In a foolish attempt to beautify my Desktop, I thought about installing a
clean framebuffer logo for boot, and, why not, beautify the bootloader too.

Gosh, 2 hours spent in an effort to configure, useless. I don't remember the
exact error, but an hour of trying and I quit. Well, it messed the whole
boot, so it took me twice the time spent on configuring to get rid of the
thing.

I never realized how happy I was with simple grub. Gosh, I even missed LILO
while fighting with grub2. And LILO was a pain too, but I knew that when I
first had to use it.

-- 
Daniel da Veiga


[gentoo-user] Extend a script in /etc/init.d - how to?

2011-01-11 Thread Helmut Jarausch
Hi,

the package sys-power/powernowd comes with an init script which would 
allow
/etc/init.d/powernowd high
or
/etc/init.d/powernowd low

(in addition to the standard parameters start/stop/restart)
Unfortunately, that's not implemented when powernowd is installed by
portage (emerge).

Does anybody know how to teach runscript additional parameters?

Many thanks for a hint,
Helmut.



Re: [gentoo-user] Endless mysql-update

2011-01-11 Thread Paul Hartman
On Sun, Jan 9, 2011 at 9:28 PM,  meino.cra...@gmx.de wrote:
  Hi,

  since some time I got the same mysql update displayed after doing

    eix-sync  emerge --color=n -p -v --newuse --update --deep world

 . How can I stop mysql from this ?

If it's related to the MySQL/MariaDB blockage ensure your
virtual/mysql has the same USE flags as dev-db/mysql



Re: [gentoo-user] Extend a script in /etc/init.d - how to?

2011-01-11 Thread Paul Hartman
On Tue, Jan 11, 2011 at 9:32 AM, Helmut Jarausch
jarau...@igpm.rwth-aachen.de wrote:
 Hi,

 the package sys-power/powernowd comes with an init script which would
 allow
 /etc/init.d/powernowd high
 or
 /etc/init.d/powernowd low

 (in addition to the standard parameters start/stop/restart)
 Unfortunately, that's not implemented when powernowd is installed by
 portage (emerge).

 Does anybody know how to teach runscript additional parameters?

 Many thanks for a hint,
 Helmut.

Maybe a good place to begin if you want to contribute your own scripts:
http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=2chap=4#doc_chap4



[gentoo-user] Re: Re: Strange problem with audio CDs

2011-01-11 Thread Jörg Schaible
Jake Moe wrote:

 On 01/11/11 04:38, Jörg Schaible wrote:
 Hi Jake,

 Jake Moe wrote:

 I can't seem to get audio CDs to work with my drive.  Data CDs work
 fine, I can mount the filesystem and read them.  Data and Video DVDs
 seem to work fine as well.  But when I try to listen to an audio CD, I
 get the attached errors in log.bz2.  I've tried using things from KsCD
 to cdplay; everything gives the same errors.  Googling seems to indicate
 that there might be a problem with udev somehow, but most of those that
 I find have the fix as update to the latest udev using apt/rpm/other
 binary distro package tool, which obviously won't work for Gentoo.
 Other solutions seem to be update to libATA, but I'm already using
 that.

 I've gone through and tried to check anything obvious in my kernel
 config, but I can't see anything that'd affect it like this.  Also, if I
 reboot into Windows (this laptop is a work computer as well), it plays
 and rips the same CDs just fine.

 Hardware is an HP EliteBook nc6930p laptop.  CD/DVD drive is /dev/sr0.
 Controller is:

 00:1f.2 SATA controller: Intel Corporation ICH9M/M-E SATA AHCI
 Controller (rev 03) (prog-if 01 [AHCI 1.0])
 Subsystem: Hewlett-Packard Company Device 30dc
 Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 46
 I/O ports at 8118 [size=8]
 I/O ports at 813c [size=4]
 I/O ports at 8110 [size=8]
 I/O ports at 8138 [size=4]
 I/O ports at 8000 [size=32]
 Memory at d8426000 (32-bit, non-prefetchable) [size=2K]
 Capabilities: [80] MSI: Enable+ Count=1/16 Maskable- 64bit-
 Capabilities: [70] Power Management version 3
 Capabilities: [a8] SATA HBA ?
 Capabilities: [b0] PCI Advanced Features
 Kernel driver in use: ahci

 Oddly, if I open Konqueror and type in audiocd:/, it lists the tracks,
 and has the FLAC, MP3, Ogg, etc folders.  But it won't play or copy the
 files; it gives the error in error.gif.

 Any other info you need, please let me know.  This is driving me nuts.
 Same for me: http://forums.gentoo.org/viewtopic.php?p=6372251#6372251

 I still have my old box around just because of this problem :-/

 00:1f.2 SATA controller: Intel Corporation 82801JI (ICH10 Family) SATA
 AHCI Controller (prog-if 01 [AHCI 1.0])
 Subsystem: Acer Incorporated [ALI] Device 0198
 Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 64
 I/O ports at c880 [size=8]
 I/O ports at c800 [size=4]
 I/O ports at c480 [size=8]
 I/O ports at c400 [size=4]
 I/O ports at c080 [size=32]
 Memory at fbcfc000 (32-bit, non-prefetchable) [size=2K]
 Capabilities: [80] MSI: Enable+ Count=1/16 Maskable- 64bit-
 Capabilities: [70] Power Management version 3
 Capabilities: [a8] SATA HBA ?
 Capabilities: [b0] PCI Advanced Features
 Kernel driver in use: ahci

 When I rip a CD it typically starts to read it slow permanently down and
 after ~ the 6th song the process is not profgressing anymore ...

 You're also running 64-bit ?

 - Jörg
 Well, mine is a bit different.

Not convinced ;-)

 I typically run FVWM from a SLIM logon,
 so there's no KDE or Gnome auto-anything running.  I only used Konqueror
 as an example of another way of accessing the CDs that might have
 worked, but didn't.   I can even stop XDM, log in from a console prompt
 with no X running, and try to play a CD with cdplay or dcd, and I'll get
 the same results.  And with me, it doesn't start to work and then slow
 down; it never works.  It can only read track listings, but not any of
 the music.

As I said in the forum, I have these log entries running from a pure console 
(no X started at all) even with a stopped hal. It's enough to put an audio 
CD into the drive. Happens also with vanilla kernel. Since 2.6.35 I have the 
message only once though, in the previous two kernels (34+35) they are 
repeated permanently.

 And no, I'm on 32-bit stable Gentoo, with only unstable packages
 being ones that don't have stable ebuilds.

Same for me, just using 64-bit.

 Thanks for trying, though.  :-)  Anyone else have any ideas?

Me, no - unfortunately.

- Jörg




Re: [gentoo-user] gnome-disk-utility: compilation failed

2011-01-11 Thread Alan McKinnon
Apparently, though unproven, at 22:51 on Tuesday 11 January 2011, Pat did 
opine thusly:


This is your error:

 libtool: link: cannot find the library `/usr/lib64/libdbus-glib-1.la' or
 unhandled argument `/usr/lib64/libdbus-glib-1.la'

Your solution is probably:

lafilefixer --justfixit

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] gnome-disk-utility: compilation failed

2011-01-11 Thread Alex Schuster
Pat writes:

 I'm trying to update system and got compilation error for
 gnome-disk-utility. The build.log and environment files are included.
 Please could you help me?

Try this:

emerge -u lafilefixer  lafilefixer --justfixit

Wonko



Re: [gentoo-user] Cloned partition won't emerge some packages

2011-01-11 Thread Mick
On Monday 10 January 2011 02:34:13 Alex Schuster wrote:

 I created two directories sys/ and usr/include/sys/, with normal and
 hidden files:
 
 wo...@weird ~/tmp/tar $ ls -a  . sys  usr/include/sys
 .:
 .  ..  sys  usr
 
 sys:
 .  ..  .hidden  visible
 
 usr/include/sys:
 .  ..  .hidden.h  visible.h
 
 
 I tarred them as you did. Note that the hidden file is also excluded,
 although I did not exclude sys/.*, too:
 
 wo...@weird ~/tmp/tar $ tar cf ../foo.tar --exclude='sys/*' .
 wo...@weird ~/tmp/tar $ tar tf ../foo.tar
 ./
 ./usr/
 ./usr/include/
 ./usr/include/sys/
 ./sys/
 
 
 As suggested, I added a './' to the exclude file list and tarred the
 directory. Seems to work:
 
 wo...@weird ~/tmp/tar $ tar cf ../foo.tar --exclude='./sys/*' .
 wo...@weird ~/tmp/tar $ tar tf ../foo.tar
 ./
 ./usr/
 ./usr/include/
 ./usr/include/sys/
 ./usr/include/sys/visible.h
 ./usr/include/sys/.hidden.h
 ./sys/
 
  What shall I use for excluding all the contents of a directory, but
  not the directory itself?
 
 sed -i 's:^:./:g' file.list

Thank you very much - I also repeated your findings.

My confusion was whether the list passed to -X should be defined as an 
absolute path, or a pattern.

When I originally tried /dir it didn't work, but as you say ./tmp does.  Good 
trick about mount -o bind, too, I had forgotten about that.
-- 
Regards,
Mick


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


Re: [gentoo-user] A tiny titillating taste of grub2

2011-01-11 Thread Neil Bothwick
On Sun, 09 Jan 2011 14:51:33 -0600, Dale wrote:

 Well, I have to say that for the moment, the old grub is working fine 
 here.  Just like ntp, that may change next week.  I just wonder how
 much longer it will take before they get it stabilized and expect
 everyone to switch to it?  From my understanding, they are not doing
 much with the old grub now so it should be to far off.

What is there to do with it? It's a bootloader that boots and loads, what
more do you want?

No longer updated can mean broken, but it can also mean finished.


-- 
Neil Bothwick

Deja Moo: The feeling that you heard this bull somewhere before.


signature.asc
Description: PGP signature


Re: [gentoo-user] Re: A tiny titillating taste of grub2

2011-01-11 Thread Mick
On Tuesday 11 January 2011 15:18:53 Daniel da Veiga wrote:
 On Mon, Jan 10, 2011 at 22:51, Dale rdalek1...@gmail.com wrote:
  walt wrote:
  On 01/10/2011 01:37 PM, Dale wrote:
  pk wrote:
  On 2011-01-10 14:05, walt wrote:
   You guys may be losing interest in grub2, but I'm having fun, so...
   
   Although I've not been involved in this discussion I still enjoy your
   
  progress (I've been meaning to try out grub2 myself since grub1 is
  basically EOLed but haven't had the time yet)... please continue!
   
   Same here. I'm noticing how complicated this thing is.
  
  I'm sorry I've given that impression -- the complicated part is finding
  comprehensible examples to copy, but thanks to your previous links I'm
  gaining on it.   I'm now able to write a functioning grub.cfg file for
  grub2, but I don't want to publish prematurely ;)
  
  It wasn't just you, it was other things I read too.
  
   Does it have audio too?
  
  Yes, but very primitive.  No speech, but you can give it a series of
  numbers representing tones and durations -- to make it sound like a
  video game arcade.  If you really want to.  But I don't.
  
  Oh God, it can make sounds.  O_O
 
 My first impression of grub2 was PAIN.
 In a foolish attempt to beautify my Desktop, I thought about installing a
 clean framebuffer logo for boot, and, why not, beautify the bootloader too.
 
 Gosh, 2 hours spent in an effort to configure, useless. I don't remember
 the exact error, but an hour of trying and I quit. Well, it messed the
 whole boot, so it took me twice the time spent on configuring to get rid
 of the thing.
 
 I never realized how happy I was with simple grub. Gosh, I even missed LILO
 while fighting with grub2. And LILO was a pain too, but I knew that when I
 first had to use it.

Same here, I messed up an installation trying different things because the 
grub2 splash would not work.  Probably early days back then and this was a 
feature not working as it should.
-- 
Regards,
Mick


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


Re: [gentoo-user] xen-sources and igb (intel network) driver

2011-01-11 Thread Mick
On Tuesday 11 January 2011 14:09:00 Konstantinos Agouros wrote:
 In 1294686017.7...@rumba elw...@agouros.de (Konstantinos Agouros) writes:
 Hi,
 
 I just upgraded my box to a phenom and an intel quad gbit card.
 The card is a 82575GB. It is recognized (I use xen-sources 2.6.34-r4) and
 also tried the latest driver available at intel (2.4.12). Ifconfig
 show the interfaces mac addresses etc.
 
 However I do not get a link. Neither on a switch nor on a laptop
 with gbit interface.
 
 I found googling that there seems to be an issue with xen and this card/
 chip. Anybody knows a way out of it? Especially since the card should have
 some virtualization optimizations?
 
 OK more googling gave me the answer:
 
 ethtool -K tx off
 
 Now the question is:
 what is the 'gentooest' way to put this into /etc/conf.d/net?
 From reading the example file I would guess a preup() function.
 
 Also: is /etc/conf.d/net the place to put in the bridge definitions for
 the xen guests? If yes, how do I get it to create empty bridges for inter-
 guest communications?

In case you haven't yet, it may be a worth you having a look at:

http://www.gentoo.org/doc/en/xen-guide.xml

and the way it suggests you create bridged interfaces.  There's also some 
links at the bottom of the page that may be of interest.

HTH.
-- 
Regards,
Mick


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


Re: [gentoo-user] A tiny titillating taste of grub2

2011-01-11 Thread Dale

Neil Bothwick wrote:

On Sun, 09 Jan 2011 14:51:33 -0600, Dale wrote:

   

Well, I have to say that for the moment, the old grub is working fine
here.  Just like ntp, that may change next week.  I just wonder how
much longer it will take before they get it stabilized and expect
everyone to switch to it?  From my understanding, they are not doing
much with the old grub now so it should be to far off.
 

What is there to do with it? It's a bootloader that boots and loads, what
more do you want?

No longer updated can mean broken, but it can also mean finished.

   


My point was, if something changes and it no longer works, then we may 
all have to switch.  According to the website, nothing much is being 
done with the old grub.


I want to wait until either the old grub doesn't work for me or the new 
grub is known to be stable and has got all the kinks worked out.  Even 
then, I may wait until I have a issue or the old grub leaves the tree.  
I seem to recall hal was stable and worked for most people too.  It just 
didn't work here for me.


When is the last time a package was finished never to be changed again?  
I have never seen that from any program.  There is always something new, 
some better way to do things or just some little tweak to improve things.


Dale

:-)  :-)



[gentoo-user] boot to console only?

2011-01-11 Thread Mark Knecht
Hi,
   What (if any) is a way to boot a Gentoo VM as far as the console,
not starting X, to allow a root login? Possibly some sort of
interactive boot where I can tell it to continue or not?

   The current kernel on this VM is 2.6.36-gentoo-r5 if it matters.

Thanks,
Mark



Re: [gentoo-user] boot to console only?

2011-01-11 Thread Dale

Mark Knecht wrote:

Hi,
What (if any) is a way to boot a Gentoo VM as far as the console,
not starting X, to allow a root login? Possibly some sort of
interactive boot where I can tell it to continue or not?

The current kernel on this VM is 2.6.36-gentoo-r5 if it matters.

Thanks,
Mark


   


Put softlevel=single on the end of the boot line.  I think 
init=/bin/bash will work but I don't think it requires a password either.


Dale

:-)  :-)



Re: [gentoo-user] A tiny titillating taste of grub2

2011-01-11 Thread Alan McKinnon
Apparently, though unproven, at 00:46 on Wednesday 12 January 2011, Dale did 
opine thusly:

 Neil Bothwick wrote:
  On Sun, 09 Jan 2011 14:51:33 -0600, Dale wrote:
  Well, I have to say that for the moment, the old grub is working fine
  here.  Just like ntp, that may change next week.  I just wonder how
  much longer it will take before they get it stabilized and expect
  everyone to switch to it?  From my understanding, they are not doing
  much with the old grub now so it should be to far off.
  
  What is there to do with it? It's a bootloader that boots and loads, what
  more do you want?
  
  No longer updated can mean broken, but it can also mean finished.
 
 My point was, if something changes and it no longer works, then we may
 all have to switch.  According to the website, nothing much is being
 done with the old grub.
 
 I want to wait until either the old grub doesn't work for me or the new
 grub is known to be stable and has got all the kinks worked out.  Even
 then, I may wait until I have a issue or the old grub leaves the tree.
 I seem to recall hal was stable and worked for most people too.  It just
 didn't work here for me.
 
 When is the last time a package was finished never to be changed again?
 I have never seen that from any program.  There is always something new,
 some better way to do things or just some little tweak to improve things.

grub is actually a good candidate for that. It's a boot loader, it loads a 
kernel, sets the instruction pointer and tells the cpu to let rip. What new 
features could it get?

Legacy grub boots right now. It boots off most file systems that most people 
use and it uses the bios to get going.

The point where we are all forced to switch is one of two:

In many many many years time when no-one uses any of the file systems grub 
knows about, or
in many many many years time when BIOS is nothing but a bad memory.

That will all happen. In many many many years from now.

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] boot to console only?

2011-01-11 Thread Adam Carter
On Wed, Jan 12, 2011 at 9:54 AM, Mark Knecht markkne...@gmail.com wrote:

 Hi,
   What (if any) is a way to boot a Gentoo VM as far as the console,
 not starting X, to allow a root login? Possibly some sort of
 interactive boot where I can tell it to continue or not?

   The current kernel on this VM is 2.6.36-gentoo-r5 if it matters.


Put gentoo=nox on the end of the VM's boot line at the boot loader.


Re: [gentoo-user] boot to console only?

2011-01-11 Thread Mark Knecht
On Tue, Jan 11, 2011 at 3:34 PM, Adam Carter adamcart...@gmail.com wrote:


 On Wed, Jan 12, 2011 at 9:54 AM, Mark Knecht markkne...@gmail.com wrote:

 Hi,
   What (if any) is a way to boot a Gentoo VM as far as the console,
 not starting X, to allow a root login? Possibly some sort of
 interactive boot where I can tell it to continue or not?

   The current kernel on this VM is 2.6.36-gentoo-r5 if it matters.


 Put gentoo=nox on the end of the VM's boot line at the boot loader.

Thanks to you both Adam and Dale. I found the nox keyword searching in
Google but couldn't figure out how to use it correctly. It does
exactly what I was looking for.

The problem was I built a VM that started X but only had KDE in the VM
and no user accounts yet. KDE starts and runs in the VM but KDE
wouldn't allow a root login so there wasn't a way for me to get a user
account added without stopping at the login like this.

Cheers,
Mark



Re: [gentoo-user] A tiny titillating taste of grub2

2011-01-11 Thread Mark Knecht
On Tue, Jan 11, 2011 at 2:46 PM, Dale rdalek1...@gmail.com wrote:
SNIP
 I want to wait until either the old grub doesn't work for me or the new grub
 is known to be stable and has got all the kinks worked out.  Even then, I
 may wait until I have a issue or the old grub leaves the tree.  I seem to
 recall hal was stable and worked for most people too.  It just didn't work
 here for me.

Meaning you want grub-legacy to remain in the portage tree until you
no longer need it and not when some dev decides he no longer wants to
support it. So do I.

Of course, we have the option of personal overlays. Get the ebuild for
grub as well as a copy of the code, build your own overlay, modify the
ebuild, test it, maintain it, and write it to a CD somewhere. When you
install a new machine load it on in the build process and you're in
good shape, right?

If I was really on top of this stuff I'd run my own rsync server and
keep it there for the dozen or so Gentoo machines  VMs lurking around
my house these days. I'm just not on top of it. ;-)

- Mark



Re: [gentoo-user] A tiny titillating taste of grub2

2011-01-11 Thread Neil Bothwick
On Tue, 11 Jan 2011 16:46:43 -0600, Dale wrote:

  What is there to do with it? It's a bootloader that boots and loads,
  what more do you want?
 
  No longer updated can mean broken, but it can also mean finished.
 
   
 
 My point was, if something changes and it no longer works, then we may 
 all have to switch.  According to the website, nothing much is being 
 done with the old grub.

What can change? We are stuck with a hardware spec from 30 years ago for
booting. That won't change any time soon.

 I want to wait until either the old grub doesn't work for me or the new 
 grub is known to be stable and has got all the kinks worked out.  Even 
 then, I may wait until I have a issue or the old grub leaves the tree.  
 I seem to recall hal was stable and worked for most people too.  It
 just didn't work here for me.

That's completely different. HAL had to deal with varying hardware and
varying requirement of the software that wanted to interface with that
hardware.

 When is the last time a package was finished never to be changed
 again? I have never seen that from any program.  There is always
 something new, some better way to do things or just some little tweak
 to improve things.

Maybe there are, and if that's what you want you can use GRUB2, but
legacy GRUB won't stop working as long as we are using the BIOS to boot
from disk-like devices.


-- 
Neil Bothwick

Zmodem has bigger bits, softer blocks, and tighter ASCII


signature.asc
Description: PGP signature


Re: [gentoo-user] boot to console only?

2011-01-11 Thread Neil Bothwick
On Tue, 11 Jan 2011 14:54:40 -0800, Mark Knecht wrote:

What (if any) is a way to boot a Gentoo VM as far as the console,
 not starting X, to allow a root login? Possibly some sort of
 interactive boot where I can tell it to continue or not?

Add gentoo=nox to the kernel parameters.

If you want to start X later, run /etc/init.d/xdm restart.


-- 
Neil Bothwick

Help put the fun back in dysfunctional !


signature.asc
Description: PGP signature


Re: [gentoo-user] boot to console only?

2011-01-11 Thread Peter Humphrey
On Tuesday 11 January 2011 23:40:55 Mark Knecht wrote:

 I found the nox keyword searching in Google but couldn't figure out how
 to use it correctly. It does exactly what I was looking for.

I define a separate run-level for no-x*, which doesn't contain xdm and 
also omits various other things that are only needed when running an X 
session (lm_sensors, vboxdrv, alsasound, ...). Then I put a separate 
entry into grub.conf for it and select it at boot time.

It doesn't get used very often, but when I need it nothing else will do. 
Very handy for, e.g., major upgrades of KDE, when I'd rather not carry 
on running old-KDE and risk starting a program thoughtlessly that might 
be either old-KDE or new-KDE.

Single-user mode won't do for this because I want the range of VTs to be 
available to do work in.

*  like this:
# mkdir /etc/runlevels/no-x
# rc-update add package no-x

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



[gentoo-user] Re: boot to console only?

2011-01-11 Thread Nikos Chantziaras

On 01/12/2011 01:40 AM, Mark Knecht wrote:

[...]
The problem was I built a VM that started X but only had KDE in the VM
and no user accounts yet. KDE starts and runs in the VM but KDE
wouldn't allow a root login so there wasn't a way for me to get a user
account added without stopping at the login like this.


Uhm, CTRL+Alt+F1 will switch you to the first console so you can login 
as root.  If you're on VMWare, that shortcut becomes CTRL+Alt+Space, 
release them, then press F1.





Re: [gentoo-user] boot to console only?

2011-01-11 Thread Alex Schuster
Mark Knecht wrote:

What (if any) is a way to boot a Gentoo VM as far as the console,
 not starting X, to allow a root login? Possibly some sort of
 interactive boot where I can tell it to continue or not?

With rc_interactive=YES in /etc/rc.conf (with baselayout2, I'm not
sure how that was enabled with baselayout1) you can press the 'I' key
during boot to enable interactive mode. You are asked then for every
init script if it should start or not.

But if you only want to avoid X, the other solutions that were posted
are better. And switching to a text console probably is the easiest.

Wonko



Re: [gentoo-user] Re: boot to console only?

2011-01-11 Thread Mark Knecht
On Tue, Jan 11, 2011 at 5:50 PM, Nikos Chantziaras rea...@arcor.de wrote:
 On 01/12/2011 01:40 AM, Mark Knecht wrote:

 [...]
 The problem was I built a VM that started X but only had KDE in the VM
 and no user accounts yet. KDE starts and runs in the VM but KDE
 wouldn't allow a root login so there wasn't a way for me to get a user
 account added without stopping at the login like this.

 Uhm, CTRL+Alt+F1 will switch you to the first console so you can login as
 root.  If you're on VMWare, that shortcut becomes CTRL+Alt+Space, release
 them, then press F1.

That's what I do on a physical Gentoo box and it works fine. (Either
Alt-Ctrl-F1 or Alt-F1)

This VM, running in Virtualbox-4.0.0 on Win 7 didn't work. A more or
less identical Gentoo VM running on a Gentoo server (yes, Gentoo
within Gentoo) didn't switch to the VM's console but switched to the
server's console. Assuming I was actually capturing keyboard strokes
by the VM that doesn't make sense to me but possible things like Alt 
Alt-Ctrl sequences are handled differently by Linux. Dunno..

Anyway, the gentoo=nox solution worked great for my needs.

Thanks,
Mark



[gentoo-user] Re: boot to console only?

2011-01-11 Thread Nikos Chantziaras

On 01/12/2011 05:12 AM, Mark Knecht wrote:

On Tue, Jan 11, 2011 at 5:50 PM, Nikos Chantziarasrea...@arcor.de  wrote:

On 01/12/2011 01:40 AM, Mark Knecht wrote:


[...]
The problem was I built a VM that started X but only had KDE in the VM
and no user accounts yet. KDE starts and runs in the VM but KDE
wouldn't allow a root login so there wasn't a way for me to get a user
account added without stopping at the login like this.


Uhm, CTRL+Alt+F1 will switch you to the first console so you can login as
root.  If you're on VMWare, that shortcut becomes CTRL+Alt+Space, release
them, then press F1.


That's what I do on a physical Gentoo box and it works fine. (Either
Alt-Ctrl-F1 or Alt-F1)


Ctrl is needed when in X11.  When in a console, only Alt is needed.



This VM, running in Virtualbox-4.0.0 on Win 7 didn't work. A more or
less identical Gentoo VM running on a Gentoo server (yes, Gentoo
within Gentoo) didn't switch to the VM's console but switched to the
server's console. Assuming I was actually capturing keyboard strokes
by the VM that doesn't make sense to me but possible things like Alt
Alt-Ctrl sequences are handled differently by Linux. Dunno..

Anyway, the gentoo=nox solution worked great for my needs.


It's always good to be able to switch to the consoles without needing a 
reboot.  Since you're on VirtualBox, maybe this helps:


http://wiki.debian.org/VirtualBox#Switchingconsoles




Re: [gentoo-user] Re: Re: Strange problem with audio CDs

2011-01-11 Thread James Wall
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 01/11/11 12:52, Jörg Schaible wrote:
 Jake Moe wrote:
 
 On 01/11/11 04:38, Jörg Schaible wrote:
 Hi Jake,

 Jake Moe wrote:

 I can't seem to get audio CDs to work with my drive.  Data CDs work
 fine, I can mount the filesystem and read them.  Data and Video DVDs
 seem to work fine as well.  But when I try to listen to an audio CD, I
 get the attached errors in log.bz2.  I've tried using things from KsCD
 to cdplay; everything gives the same errors.  Googling seems to indicate
 that there might be a problem with udev somehow, but most of those that
 I find have the fix as update to the latest udev using apt/rpm/other
 binary distro package tool, which obviously won't work for Gentoo.
 Other solutions seem to be update to libATA, but I'm already using
 that.

 I've gone through and tried to check anything obvious in my kernel
 config, but I can't see anything that'd affect it like this.  Also, if I
 reboot into Windows (this laptop is a work computer as well), it plays
 and rips the same CDs just fine.

 Hardware is an HP EliteBook nc6930p laptop.  CD/DVD drive is /dev/sr0.
 Controller is:

 00:1f.2 SATA controller: Intel Corporation ICH9M/M-E SATA AHCI
 Controller (rev 03) (prog-if 01 [AHCI 1.0])
 Subsystem: Hewlett-Packard Company Device 30dc
 Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 46
 I/O ports at 8118 [size=8]
 I/O ports at 813c [size=4]
 I/O ports at 8110 [size=8]
 I/O ports at 8138 [size=4]
 I/O ports at 8000 [size=32]
 Memory at d8426000 (32-bit, non-prefetchable) [size=2K]
 Capabilities: [80] MSI: Enable+ Count=1/16 Maskable- 64bit-
 Capabilities: [70] Power Management version 3
 Capabilities: [a8] SATA HBA ?
 Capabilities: [b0] PCI Advanced Features
 Kernel driver in use: ahci

 Oddly, if I open Konqueror and type in audiocd:/, it lists the tracks,
 and has the FLAC, MP3, Ogg, etc folders.  But it won't play or copy the
 files; it gives the error in error.gif.

 Any other info you need, please let me know.  This is driving me nuts.
 Same for me: http://forums.gentoo.org/viewtopic.php?p=6372251#6372251

 I still have my old box around just because of this problem :-/

 00:1f.2 SATA controller: Intel Corporation 82801JI (ICH10 Family) SATA
 AHCI Controller (prog-if 01 [AHCI 1.0])
 Subsystem: Acer Incorporated [ALI] Device 0198
 Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 64
 I/O ports at c880 [size=8]
 I/O ports at c800 [size=4]
 I/O ports at c480 [size=8]
 I/O ports at c400 [size=4]
 I/O ports at c080 [size=32]
 Memory at fbcfc000 (32-bit, non-prefetchable) [size=2K]
 Capabilities: [80] MSI: Enable+ Count=1/16 Maskable- 64bit-
 Capabilities: [70] Power Management version 3
 Capabilities: [a8] SATA HBA ?
 Capabilities: [b0] PCI Advanced Features
 Kernel driver in use: ahci

 When I rip a CD it typically starts to read it slow permanently down and
 after ~ the 6th song the process is not profgressing anymore ...

 You're also running 64-bit ?

 - Jörg
 Well, mine is a bit different.
 
 Not convinced ;-)
 
 I typically run FVWM from a SLIM logon,
 so there's no KDE or Gnome auto-anything running.  I only used Konqueror
 as an example of another way of accessing the CDs that might have
 worked, but didn't.   I can even stop XDM, log in from a console prompt
 with no X running, and try to play a CD with cdplay or dcd, and I'll get
 the same results.  And with me, it doesn't start to work and then slow
 down; it never works.  It can only read track listings, but not any of
 the music.
 
 As I said in the forum, I have these log entries running from a pure console 
 (no X started at all) even with a stopped hal. It's enough to put an audio 
 CD into the drive. Happens also with vanilla kernel. Since 2.6.35 I have the 
 message only once though, in the previous two kernels (34+35) they are 
 repeated permanently.
 
 And no, I'm on 32-bit stable Gentoo, with only unstable packages
 being ones that don't have stable ebuilds.
 
 Same for me, just using 64-bit.
 
 Thanks for trying, though.  :-)  Anyone else have any ideas?
 
 Me, no - unfortunately.
 
 - Jörg
 
 
Jake,

Are you a member of the audio and/or plugdev group?

James Wall

- -- 
- --
No trees were harmed in the sending of this message. However, a large
number of electrons were terribly inconvenienced.
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.16 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJNLTPPAAoJEISPTA/exVD81VEH/3X/aVllDbJZ9ZnuqlKEdMC4
T1u0KS66vG7sp0E0AwWJ5/xGIemBj5dg3+o3sCcfTTy/M9p4ZBTBrsOGN2Eu9swl
McrwIp7MA5Nd6d16Xpb3roADoANq85SDtylmuSIyZ23zDEOlt+qzlT+sSx+4vUn8
d9V264oKaLbqrR3EuJp08IB81mNWCXNzAafUuS0TfAC8d3KiIGon2T97nLiGaodn
4NmA+rdswVFQcoU7FfFDEMFTl6FsabY6hFPgP2UmpQbAM+/NsuYmg2f0uFMSWLJw