Re: [gentoo-web-user] Ebuild for Tiny Tiny RSS

2008-10-31 Thread Peter Volkov
Hi Patrick.

В Чтв, 30/10/2008 в 10:41 +0800, Patrick Nagel пишет:
 It's my first webapp ebuild, and one of my first ebuilds at all, so there may
 be newbish mistakes in it. I would appreciate if anybody with more experience
 could have a look at it.

Well, in general it looks good. But still some things could be improved.
Just run repoman full in www-apps/tt-rss directory and fix all
warnings besides ebuild.allmasked. Also why do you dodoc README and then
cp that README in MY_HTDOCSDIR?

dodoc README
cp -R * ${D}/${MY_HTDOCSDIR}

 If it's ok, maybe it could be put into the overlay?

BTW, do you want to maintain this package later? If so I'd suggested you
to look at sunrise project:

http://overlays.gentoo.org/proj/sunrise/wiki

you'll be able to maintain this package very easily there.

-- 
Peter.




[gentoo-user] Re: unmerge boo_boo

2008-10-31 Thread James
Paul Hartman paul.hartman+gentoo at gmail.com writes:


 Well, com_err broken openssl which broke wget with ssl USE flag set.
 I forgot to mention that part. :)

 Disable ssl USE flag when you rebuild wget, then you can download
 everything else you need to rebuild. When you're done, you can rebuild
 wget with SSL and should probably do a revdep-rebuild to see if
 anyhing else got missed. If you don't have the current wget sources in
 distfiles, see if you have /any/ and try to rebuild the exact version,
 that way you don't need to download manually or copy from another PC.


I'm not having any luck with scp, or putting stuff on a usb stick
to copy onto the broken system. Maybe I should try http do download
wget?

In //usr/portage/net-misc/wget  I have:
-rw-r--r--   1 root 15793 Aug 16 12:09 ChangeLog
-rw-r--r--   1 root  4392 Aug 16 12:09 Manifest
drwxr-xr-x   2 root   176 Feb 16  2008 files
-rw-r--r--   1 root   165 Dec 30  2007 metadata.xml
-rw-r--r--   1 root  1851 Jan 28  2008 wget-1.10.2.ebuild
-rw-r--r--   1 root  1967 Feb 16  2008 wget-1.11-r1.ebuild
-rw-r--r--   1 root  1899 Jun 16 18:06 wget-1.11.1.ebuild
-rw-r--r--   1 root  1911 May  6 07:40 wget-1.11.2.ebuild
-rw-r--r--   1 root  1908 Aug 14 12:07 wget-1.11.3.ebuild
-rw-r--r--   1 root  1911 Aug 16 11:39 wget-1.11.4.ebuild
-rw-r--r--   1 root  1616 Oct 22  2007 wget-1.9.1-r5.ebuild



but no wget*.tar.bz2  in /usr/portage/distfiles/

It's late for me. I'm going to work on this tomorrow
Ideas?




Re: [gentoo-user] unmerge boo_boo

2008-10-31 Thread András Csányi
2008/10/31 James [EMAIL PROTECTED]:
 Well,

 I've done it now, being in too big of a hurry.

 After an emerge --sync, and the blocking packages, I
 got in a hurry, did not think and ran:

 emerge --unmerge sys-libs/ss sys-libs/com_err
 sys-fs/e2fsprogs sys-libs/e2fsprogs-libs

Hi James!

This is the cause what you should use revdep-rebuild after emerge -avt
--deep --newuse --update world is done.

András


-- 
- -
--  Csanyi Andras  -- http://sayusi.hu -- Sayusi Ando
--  Bízzál Istenben és tartsd szárazon a puskaport!.-- Cromwell


Re: [gentoo-user] packages/All - how to create ?

2008-10-31 Thread András Csányi
2008/10/30 Volker Armin Hemmann [EMAIL PROTECTED]:
 On Donnerstag 30 Oktober 2008, Helmut Jarausch wrote:
 On 30 Oct, Volker Armin Hemmann wrote:
  Hi,
 
  I have the same 'problem'. Which portage version are you using?

 I'm using portage-2.2_rc12 on amd64 hardware.

 same here.

 Would nice to know the version from peoples without the problem.

I use portage-2.1.4.5 on x86.


-- 
- -
--  Csanyi Andras  -- http://sayusi.hu -- Sayusi Ando
--  Bízzál Istenben és tartsd szárazon a puskaport!.-- Cromwell


Re: [gentoo-user] unmerge boo_boo

2008-10-31 Thread Dirk Heinrichs
Am Freitag 31 Oktober 2008 06:07:12 schrieb ext James:
 Well,

 I've done it now, being in too big of a hurry.

 After an emerge --sync, and the blocking packages, I
 got in a hurry, did not think and ran:

 emerge --unmerge sys-libs/ss sys-libs/com_err
 sys-fs/e2fsprogs sys-libs/e2fsprogs-libs


 So now I cannot emerge anything to fix this.

 Here I tried (re) emerge wget:

 Downloading
 'ftp://rm.mirror.garr.it/mirrors/gnuftp/gnu/wget/wget-1.11.1.tar.bz2' wget:
 error while loading shared libraries: libcom_err.so.2: cannot open shared
 object file: No such file or directory


 Can I just copy some file over from another amd64 machine?

 If so, which ones exactly?

emerge sys-fs/e2fsprogs

If wget still fails while doing this, download the archive for this package 
manually and put it into your distfiles directory. Afterwards, wget should 
work again.

HTH...

Dirk
-- 
Dirk Heinrichs  | Tel:  +49 (0)162 234 3408
Configuration Manager   | Fax:  +49 (0)211 47068 111
Capgemini Deutschland   | Mail: [EMAIL PROTECTED]
Wanheimerstraße 68  | Web:  http://www.capgemini.com
D-40468 Düsseldorf  | ICQ#: 110037733
GPG Public Key C2E467BB | Keyserver: wwwkeys.pgp.net



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


Re: [gentoo-user] packages/All - how to create ?

2008-10-31 Thread Dale
Volker Armin Hemmann wrote:
 On Donnerstag 30 Oktober 2008, Helmut Jarausch wrote:
   
 On 30 Oct, Volker Armin Hemmann wrote:
 
 Hi,

 I have the same 'problem'. Which portage version are you using?
   
 I'm using portage-2.2_rc12 on amd64 hardware.
 

 same here.

 Would nice to know the version from peoples without the problem.



   


Mine works here and here is the info:

[ebuild   R   ] sys-apps/portage-2.2_rc12  USE=-build -doc -epydoc
(-selinux) LINGUAS=-pl 0 kB

Dale

:-)  :-) 



Re: [gentoo-user] package.keywords syntax?

2008-10-31 Thread Dirk Uys
On Thu, Oct 30, 2008 at 9:12 PM, Jorge Peixoto de Morais Neto
[EMAIL PROTECTED] wrote:
 It seems you did not get the point. To attribute a floating point
 number to an integer variable is perfectly valid, depending on the
 specific program.  The compiler normally does not even warn about
 this, as this is perfectly valid (from my testing, the compiler only
 warns if you are using gcc 4.3, and specify -Wconversion, an option
 that is not included in -Wall and not even in -Wextra).

Yes, you are right. I was doing what some people would like to call
speaking out of my ass :) C++ compiled with gcc does give you a
warning with -Wall. I just assumed that C did the same, its been some
time since I coded pure C.

Regards
Dirk



Re: [gentoo-user] package.keywords syntax?

2008-10-31 Thread Dirk Uys
On Thu, Oct 30, 2008 at 9:11 PM, Albert Hopkins [EMAIL PROTECTED] wrote:

 I'm coming into this thread kinda late, so feel free to ignore...

 ... but Jorge is right.  This is easily picked up by a lint tool... and
 good python programmers use them ;-).  Some python-aware editors even
 have this functionality built in.

 Using the above example:

$ pylint who_no.py
...
C:  1: Missing docstring
C:  5: Comma not followed by a space
for i in range(1,1):
^^
E:  8: Undefined variable 'malformed'
E:  8: Undefined variable 'beast'


Thanks, that sounds like a utility i may use in the future.

I don't like having to use a separate tool to make sure I didn't
perhaps make a typo while typing some variables name, but I find
python useful enough to oversee that.

Regards
Dirk



Re: [gentoo-user] alsa in-kernel vs. alsa-lib

2008-10-31 Thread Markos Chandras
On Friday 31 October 2008 04:53:20 Iain Buchanan wrote:
 Markos Chandras wrote:
   From my experience i would recommend to use alsa-in-kernel + alsa-libs +

 FYI that's alsa-lib not alsa-libs :)  might confuse someone reading later.
True. Sorry for the mistake :)

  alsa-headers + alsa-utils + alsa-tools
 
  This combination works perfect on my 3 gentoo machines



-- 
Markos Chandras



[gentoo-user] OT: Python (was: package.keywords syntax?)

2008-10-31 Thread Matthias Bethke
Hi Albert,
on Thu, Oct 30, 2008 at 03:11:04PM -0400, you wrote:
 ... but Jorge is right.  This is easily picked up by a lint tool... and
 good python programmers use them ;-).  Some python-aware editors even
 have this functionality built in.

Whow...I've been out of Python long enough to totally forget that you
*needed* to do this. In Perl, the use strict you find at the top of
every well-written script does it at compile time.

cheers,
Matthias
-- 
I prefer encrypted and signed messages. KeyID: FAC37665
Fingerprint: 8C16 3F0A A6FC DF0D 19B0  8DEF 48D9 1700 FAC3 7665


pgpW5p5UNElJT.pgp
Description: PGP signature


Re: [gentoo-user] How to prevent documentation in /usr/share/doc from being bzip2'ed ?

2008-10-31 Thread Neil Bothwick
On Thu, 30 Oct 2008 17:38:55 -0700, [EMAIL PROTECTED] wrote:

 On Thu, Oct 30, 2008 at 07:39:10PM -0400, Eric Martin wrote:
  Why not go even easier and use bzcat,bzless,zcat,and zless
 
 Because bzgrep and many others haven't been written.

Shhh, don't tell my computer that!

[EMAIL PROTECTED] ~ 0]% which bzgrep
/usr/bin/bzgrep
[EMAIL PROTECTED] ~ 0]% qfile bzgrep
app-arch/bzip2 (/usr/bin/bzgrep)


-- 
Neil Bothwick

Bother, said Pooh, as the media exposed his sexual depravity.


signature.asc
Description: PGP signature


Re: [gentoo-user] Re: alsa in-kernel vs. alsa-lib

2008-10-31 Thread Pupino
2008/10/31 Nikos Chantziaras [EMAIL PROTECTED]:
 Joshua Murphy wrote:

 On Thu, Oct 30, 2008 at 7:46 PM, Markos Chandras [EMAIL PROTECTED]
 wrote:

 From my experience i would recommend to use alsa-in-kernel + alsa-libs +
 alsa-headers + alsa-utils + alsa-tools

 This combination works perfect on my 3 gentoo machines

 All... *thinks a moment*  6 of mine as well.

 void shameless_plug()
 {
One of the reasons I love Gentoo is
because it allowed me to recompile all
apps without ALSA support and use OSS
(version 4) instead which for me worked
much, much better than ALSA.
 }

 ;D




ok, all of you said alsa in-kernel + alsa-lib + alsa-header is working
perfectly.
Yes, it's working for me too on my other gentoo box.

But i read this after building alsa-lib:
* Please try in-kernel ALSA drivers instead of the alsa-drivers ebuild.
* If alsa-drivers works for you where a recent kernel does not, we want
* to know about this. Our e-mail address is [EMAIL PROTECTED]
* However, if you notice no sound output or instability, please try to
* upgrade your kernel to a newer version first.

and this makes me think i should get rid of those packages as it say instead.
Is this wrong? do we still need alsa-lib and co.?



Re: [gentoo-user] OT: Python (was: package.keywords syntax?)

2008-10-31 Thread Heiko Wundram
Am Friday 31 October 2008 10:54:23 schrieb Matthias Bethke:
 Hi Albert,

 on Thu, Oct 30, 2008 at 03:11:04PM -0400, you wrote:
  ... but Jorge is right.  This is easily picked up by a lint tool... and
  good python programmers use them ;-).  Some python-aware editors even
  have this functionality built in.

 Whow...I've been out of Python long enough to totally forget that you
 *needed* to do this. In Perl, the use strict you find at the top of
 every well-written script does it at compile time.

sarcasm
Yeah, let's continue to bash Python, which is such a badly broken language 
nobody wants to use it productively, because other languages offer so much 
better functionality to test for programmer error at compile time. Perl is a 
brilliant example to mention in this context.
/sarcasm

Seriously: dynamic typing is a blessing, (only!) when combined with strict 
typing (where Perl doesn't [really] have the latter, even when use strict is 
in effect). Having to declare variables before use mostly is irrelevant (I'm 
not talking about _defining_ variables before use), because it's no common 
source of bugs.

At least that's my 5 cents.

-- 
Heiko Wundram
hackerkey://v4sw7CHJLSUY$hw5ln5pr7FOP$ck2ma9u7FL$w3DVWXm0l7GL$i65e6t3EMRSXb7ADORen5a26s5MSr2p-6.62/-6.56g5AORZ



Re: [gentoo-user] Re: alsa in-kernel vs. alsa-lib

2008-10-31 Thread Patrick Holthaus

 But i read this after building alsa-lib:
 * Please try in-kernel ALSA drivers instead of the alsa-drivers ebuild.
 * If alsa-drivers works for you where a recent kernel does not, we want
 * to know about this. Our e-mail address is [EMAIL PROTECTED]
 * However, if you notice no sound output or instability, please try to
 * upgrade your kernel to a newer version first.

 and this makes me think i should get rid of those packages as it say
 instead. Is this wrong? do we still need alsa-lib and co.?

You should _not_ install alsa-drivers if you want to use in-kernel drivers. 
You can and should install alsa-lib etc.

Patrick


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


[gentoo-user] Re: alsa in-kernel vs. alsa-lib

2008-10-31 Thread Nikos Chantziaras

Joshua Murphy wrote:

On Thu, Oct 30, 2008 at 7:46 PM, Markos Chandras [EMAIL PROTECTED] wrote:

From my experience i would recommend to use alsa-in-kernel + alsa-libs +
alsa-headers + alsa-utils + alsa-tools

This combination works perfect on my 3 gentoo machines


All... *thinks a moment*  6 of mine as well.


void shameless_plug()
{
One of the reasons I love Gentoo is
because it allowed me to recompile all
apps without ALSA support and use OSS
(version 4) instead which for me worked
much, much better than ALSA.
}

;D




Re: [gentoo-user] Re: alsa in-kernel vs. alsa-lib

2008-10-31 Thread Neil Bothwick
On Fri, 31 Oct 2008 12:05:47 +0100, Pupino wrote:

 But i read this after building alsa-lib:
 * Please try in-kernel ALSA drivers instead of the alsa-drivers ebuild.
 * If alsa-drivers works for you where a recent kernel does not, we want
 * to know about this. Our e-mail address is [EMAIL PROTECTED]
 * However, if you notice no sound output or instability, please try to
 * upgrade your kernel to a newer version first.
 
 and this makes me think i should get rid of those packages as it say
 instead. Is this wrong? do we still need alsa-lib and co.?

It says instead of the alsa-drivers ebuild. you use either the
in-kernel drivers or alsa-drivers, whichever you choose, you still need
alsa-lib.


-- 
Neil Bothwick

Captain, I sense millions of minds focused on my cleavage.


signature.asc
Description: PGP signature


[gentoo-user] How to know when a package is due to go stable?

2008-10-31 Thread James Homuth
There are several packages that were thrown around on the list, or versions
of packages, that I've come across that I figure I might want to take an
active interest in. However, to avoid sending my boxes into a tailspin, I'm
staying away from installing the still in development versions. What I'd
like to know though is if there's some means of knowing if/when, as an
example, a newer version of Portage is supposed to be considered stable. If
not then I can always keep an eye on the relevant RSS feeds, but it was
mostly just curiosity on my part. Thanks either way.

James




[gentoo-user] Updating a system....catch-22...

2008-10-31 Thread BRM
I have a system that I'm just bringing back online after a few months down due 
to hardware issues and lack of resources to get new hardware.

Some things are going okay - I got it past the e2fsprogs/e2fsprogs-lib update 
fiasco (after hosing it and using GRML to get it back up).
However, I'm now stuck.

emerge world -vuDN won't complete because a package can't use java-config, 
complaining about python-updater needing to be run.
However, python-updater won't run because the of blocks due to software being 
outdated and masked.

So it's a catch-22. I need to install a new java-config and other software 
before I can get python-updater to run, but the emerge won't go through without 
running python-updater for at least one package.

Any ideas on how to resolve?

TIA,

Ben




RE: [gentoo-user] Updating a system....catch-22...

2008-10-31 Thread James Homuth
 

-Original Message-
From: BRM [mailto:[EMAIL PROTECTED] 
Sent: October 31, 2008 9:10 AM
To: Users Gentoo
Subject: [gentoo-user] Updating a systemcatch-22...

I have a system that I'm just bringing back online after a few months down
due to hardware issues and lack of resources to get new hardware.

Some things are going okay - I got it past the e2fsprogs/e2fsprogs-lib
update fiasco (after hosing it and using GRML to get it back up).
However, I'm now stuck.

emerge world -vuDN won't complete because a package can't use java-config,
complaining about python-updater needing to be run.
However, python-updater won't run because the of blocks due to software
being outdated and masked.

So it's a catch-22. I need to install a new java-config and other software
before I can get python-updater to run, but the emerge won't go through
without running python-updater for at least one package.

Any ideas on how to resolve?

TIA,

Ben


Try running python-updater for one package at a time and see what happens?
Once it gets past one or two it might not complain at you as much.




Re: [gentoo-user] How to know when a package is due to go stable?

2008-10-31 Thread Justin
James Homuth schrieb:
 There are several packages that were thrown around on the list, or versions
 of packages, that I've come across that I figure I might want to take an
 active interest in. However, to avoid sending my boxes into a tailspin, I'm
 staying away from installing the still in development versions. What I'd
 like to know though is if there's some means of knowing if/when, as an
 example, a newer version of Portage is supposed to be considered stable. If
 not then I can always keep an eye on the relevant RSS feeds, but it was
 mostly just curiosity on my part. Thanks either way.

 James


   
Quite easy,

emerge --sync
emerge -up world system,

then you know whats gone stable with higher versions.



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Re: alsa in-kernel vs. alsa-lib

2008-10-31 Thread Iain Buchanan

Nikos Chantziaras wrote:

void shameless_plug()
{
 One of the reasons I love Gentoo is
 because it allowed me to recompile all
 apps without ALSA support and use OSS
 (version 4) instead which for me worked
 much, much better than ALSA.
}


g++ plug.cpp   -o plug
plug.cpp: In function 'void shameless_plug()':
plug.cpp:4: error: 'One' was not declared in this scope
plug.cpp:4: error: expected `;' before 'of'
make: *** [plug] Error 1

how about some printf's (or cout's for you noobs)

--
Iain Buchanan iaindb at netspace dot net dot au

The pollution's at that awkward stage.  Too thick to navigate and too
thin to cultivate.
-- Doug Sneyd



Re: [gentoo-user] How to know when a package is due to go stable?

2008-10-31 Thread Iain Buchanan

James Homuth wrote:

There are several packages that were thrown around on the list, or versions
of packages, that I've come across that I figure I might want to take an
active interest in. However, to avoid sending my boxes into a tailspin, I'm
staying away from installing the still in development versions.


in development according to whom?


What I'd
like to know though is if there's some means of knowing if/when, as an
example, a newer version of Portage is supposed to be considered stable.


So long as you have ACCEPT_KEYWORDS=x86 (or any arch, but not ~arch) 
then it's gentoo stable.  Generally this means no (or insignificant) 
bugs for about 30 days, and no unstable / masked deps.


Note this has nothing to do with upstream stable, which is defined by 
upstream.


Given the keywords above, if you can install it, it's considered stable!


If
not then I can always keep an eye on the relevant RSS feeds, but it was
mostly just curiosity on my part. Thanks either way.


worthwhile for getting juicy info like --keep-going but otherwise not 
really necessary.


--
Iain Buchanan iaindb at netspace dot net dot au

Alea iacta est.
[The die is cast]
-- Gaius Julius Caesar



[gentoo-user] did anyone just get 400+ emails from this list?

2008-10-31 Thread Iain Buchanan

Hi,

yes, I did... or at least I think.  I'm using thunderbird (shredder) 
3.0a2 (yes, aware of the risks, see the release name).


all the emails are from before 10/09/2008 (that's september for you US 
folks).


Funny thing is, the emails were deleted long ago, so I don't know how 
shredder would have falsely received them.


weird.  maybe its a trick (or treat?)

--
Iain Buchanan iaindb at netspace dot net dot au

A soft answer turneth away wrath; but grievous words stir up anger.
-- Proverbs 15:1

Quite funny quote actually, made me think of A soft jube turneth away 
egging of thy front porch, but 'get lost' stirs up anger on Halloween!




[gentoo-user] Re: alsa in-kernel vs. alsa-lib

2008-10-31 Thread Nikos Chantziaras

Iain Buchanan wrote:

Nikos Chantziaras wrote:

void shameless_plug()
{
 One of the reasons I love Gentoo is
 because it allowed me to recompile all
 apps without ALSA support and use OSS
 (version 4) instead which for me worked
 much, much better than ALSA.
}


g++ plug.cpp   -o plug
plug.cpp: In function 'void shameless_plug()':
plug.cpp:4: error: 'One' was not declared in this scope
plug.cpp:4: error: expected `;' before 'of'
make: *** [plug] Error 1

how about some printf's (or cout's for you noobs)


As if printf's aren't for noobs.  The Real Programmer puts the string 
length in EDX, the string in ECX, puts 1 in ECX to signify stdout, 4 in 
EAX to select the sys_write system call, and does an int 0x80.





[gentoo-user] Re: How to know when a package is due to go stable?

2008-10-31 Thread Nikos Chantziaras

Justin wrote:

James Homuth schrieb:

There are several packages that were thrown around on the list, or versions
of packages, that I've come across that I figure I might want to take an
active interest in. However, to avoid sending my boxes into a tailspin, I'm
staying away from installing the still in development versions. What I'd
like to know though is if there's some means of knowing if/when, as an
example, a newer version of Portage is supposed to be considered stable. If
not then I can always keep an eye on the relevant RSS feeds, but it was
mostly just curiosity on my part. Thanks either way.

James


  

Quite easy,

emerge --sync
emerge -up world system,

then you know whats gone stable with higher versions.


Or, to also cover packages not in world/system, you can do:

emerge -p1u `qlist -IC`

(Don't omit the 1 from the options or you'll mess up your world file 
with packages that are purely dependencies.)


I wonder why emerge doesn't do something like this by default, actually. 
 Say a package has a serious exploit and an update was made.  If the 
package isn't in world, emerge will never grab the update.





[gentoo-user] Error booting new kernel

2008-10-31 Thread Marko Kocić
I have a quastion related to vanilla-sources kernel.

After upgrading vanilla-sources from 2.6.26 to 2.6.28_rc2 I am not
able to boot anymore. I tried playing with menuconfig couple of times,
but couldn't find what I have to change in order to make it work
again.

The error message while booting is like this:

Using IPI shortcut mode
BIOS EDD facility v 0.16 2004-Jul-25 1 devices found
VFS: Cannot open root device 307 on unknown-block(3,7)
Please append a correct root= boot option; here are the available
partitions:
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-
block(3,7)


Note that in my lilo.conf I have root=/dev/hda7 line for all kernels.

Thanks for any suggestion,
Marko



Re: [gentoo-user] Error booting new kernel

2008-10-31 Thread deface

Marko Kocić wrote:

I have a quastion related to vanilla-sources kernel.

After upgrading vanilla-sources from 2.6.26 to 2.6.28_rc2 I am not
able to boot anymore. I tried playing with menuconfig couple of times,
but couldn't find what I have to change in order to make it work
again.

The error message while booting is like this:

Using IPI shortcut mode
BIOS EDD facility v 0.16 2004-Jul-25 1 devices found
VFS: Cannot open root device 307 on unknown-block(3,7)
Please append a correct root= boot option; here are the available
partitions:
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-
block(3,7)


Note that in my lilo.conf I have root=/dev/hda7 line for all kernels.

Thanks for any suggestion,
Marko

  
The 2 main things to look for are File System support  chipset. did you 
copy your
old .config and run a make oldconfig ? Shouldn't have been much to 
modify, if any.


deface



[gentoo-user] Re: Error booting new kernel

2008-10-31 Thread Nikos Chantziaras

Marko Kocić wrote:

I have a quastion related to vanilla-sources kernel.

After upgrading vanilla-sources from 2.6.26 to 2.6.28_rc2 I am not
able to boot anymore. I tried playing with menuconfig couple of times,
but couldn't find what I have to change in order to make it work
again.

The error message while booting is like this:

Using IPI shortcut mode
BIOS EDD facility v 0.16 2004-Jul-25 1 devices found
VFS: Cannot open root device 307 on unknown-block(3,7)
Please append a correct root= boot option; here are the available
partitions:
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-
block(3,7)


Note that in my lilo.conf I have root=/dev/hda7 line for all kernels.


My guess is that you would need to specify /dev/sda7 instead.




Re: [gentoo-user] Re: How to know when a package is due to go stable?

2008-10-31 Thread Neil Bothwick
On Fri, 31 Oct 2008 16:37:58 +0200, Nikos Chantziaras wrote:

 I wonder why emerge doesn't do something like this by default,
 actually. Say a package has a serious exploit and an update was made.
 If the package isn't in world, emerge will never grab the update.

If it's not is world, or a dependency of a world package, it's not needed
and --depclean will catch it.


-- 
Neil Bothwick

IBM - I Blame Microsoft


signature.asc
Description: PGP signature


Re: [gentoo-user] Error booting new kernel

2008-10-31 Thread James
On Fri, October 31, 2008 10:41 am, Marko Kocić wrote:
 I have a quastion related to vanilla-sources kernel.


 After upgrading vanilla-sources from 2.6.26 to 2.6.28_rc2 I am not
 able to boot anymore. I tried playing with menuconfig couple of times, but
 couldn't find what I have to change in order to make it work again.

 The error message while booting is like this:


 Using IPI shortcut mode
 BIOS EDD facility v 0.16 2004-Jul-25 1 devices found
 VFS: Cannot open root device 307 on unknown-block(3,7)
 Please append a correct root= boot option; here are the available
 partitions:
 Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-
 block(3,7)


 Note that in my lilo.conf I have root=/dev/hda7 line for all kernels.


 Thanks for any suggestion,
 Marko

That filesystem support is not compiled in the kernel?





Re: [gentoo-user] Re: alsa in-kernel vs. alsa-lib

2008-10-31 Thread Pupino
2008/10/31 Neil Bothwick [EMAIL PROTECTED]:
 On Fri, 31 Oct 2008 12:05:47 +0100, Pupino wrote:

 But i read this after building alsa-lib:
 * Please try in-kernel ALSA drivers instead of the alsa-drivers ebuild.
 * If alsa-drivers works for you where a recent kernel does not, we want
 * to know about this. Our e-mail address is [EMAIL PROTECTED]
 * However, if you notice no sound output or instability, please try to
 * upgrade your kernel to a newer version first.

 and this makes me think i should get rid of those packages as it say
 instead. Is this wrong? do we still need alsa-lib and co.?

 It says instead of the alsa-drivers ebuild. you use either the
 in-kernel drivers or alsa-drivers, whichever you choose, you still need
 alsa-lib.


 --
 Neil Bothwick

 Captain, I sense millions of minds focused on my cleavage.


good, this clarifies everything.
Thank you all!



Re: [gentoo-user] Web based ftp alternative

2008-10-31 Thread Mick
On Wednesday 29 October 2008, Etaoin Shrdlu wrote:
 On Wednesday 29 October 2008, 13:06, Stroller wrote:
   Ok, that's OT, but it's not that difficult. They just moved the ftp
   functionality from Internet explorer to Windows explorer

 [snip]

  No, they just REMOVED any extended functionality from IE. Windows
  Explorer has ALWAYS done FTP natively (or at least since 2000).

 Ah ok, sorry for the inaccuracy, and thanks for the correction.

Have you considered the use of webdav, or webdavs?  I believe it works fine 
with either MSIE and/or MSWE.  Of course it works a treat with Konqueror.  
The only challenge would be to make sure that the users can type in the 
correct address:  webdav://my_site.com

-- 
Regards,
Mick


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


[gentoo-user] Re: How to know when a package is due to go stable?

2008-10-31 Thread Nikos Chantziaras

Neil Bothwick wrote:

On Fri, 31 Oct 2008 16:37:58 +0200, Nikos Chantziaras wrote:


I wonder why emerge doesn't do something like this by default,
actually. Say a package has a serious exploit and an update was made.
If the package isn't in world, emerge will never grab the update.


If it's not is world, or a dependency of a world package, it's not needed
and --depclean will catch it.


No, it will not :P  Don't ask me why, because I don't know.  I only know 
from experience that --depclean does not catch some packages that get 
updated with emerge -1u `qlist -IC` (and don't get updated with 
emerge -uD world system).





RE: [gentoo-user] Re: How to know when a package is due to go stable?

2008-10-31 Thread James Homuth
 

-Original Message-
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Nikos Chantziaras
Sent: October 31, 2008 10:38 AM
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] Re: How to know when a package is due to go stable?

Justin wrote:
 James Homuth schrieb:
 There are several packages that were thrown around on the list, or 
 versions of packages, that I've come across that I figure I might 
 want to take an active interest in. However, to avoid sending my 
 boxes into a tailspin, I'm staying away from installing the still in 
 development versions. What I'd like to know though is if there's some 
 means of knowing if/when, as an example, a newer version of Portage 
 is supposed to be considered stable. If not then I can always keep an 
 eye on the relevant RSS feeds, but it was mostly just curiosity on my
part. Thanks either way.

 James


   
 Quite easy,
 
 emerge --sync
 emerge -up world system,
 
 then you know whats gone stable with higher versions.

Or, to also cover packages not in world/system, you can do:

emerge -p1u `qlist -IC`

(Don't omit the 1 from the options or you'll mess up your world file with
packages that are purely dependencies.)

I wonder why emerge doesn't do something like this by default, actually. 
  Say a package has a serious exploit and an update was made.  If the
package isn't in world, emerge will never grab the update.


That'll teach me to just read the Gentoo documentation. I figured emerge
--update --deep world covered system, too.




Re: [gentoo-user] Web based ftp alternative

2008-10-31 Thread Momesso Andrea
On Thu, Oct 30, 2008 at 08:23:23AM +, Mick wrote:
 On Wednesday 29 October 2008, Etaoin Shrdlu wrote:
 
 Have you considered the use of webdav, or webdavs?  I believe it works fine 
 with either MSIE and/or MSWE.  Of course it works a treat with Konqueror.  
 The only challenge would be to make sure that the users can type in the 
 correct address:  webdav://my_site.com
 

This sounds like a good idea. Can I set up different levels of access in
different subfolders?



pgp60vpFAkpeC.pgp
Description: PGP signature


Re: [gentoo-user] Re: How to know when a package is due to go stable?

2008-10-31 Thread Dale
James Homuth wrote:


 That'll teach me to just read the Gentoo documentation. I figured emerge
 --update --deep world covered system, too.



   

As far as what I was told on -dev, it still does.  If you use the
@system or @world, then that is a different thing.  I'm assuming what I
was told still holds true. 

Dale

:-)  :-) 

P.S.  Yea, I'm back.  I had a reaction to some meds and they dang near
killed me.  Spent about a week in the hospital wondering what that light
was.  o_O 





Re: [gentoo-user] How to know when a package is due to go stable?

2008-10-31 Thread Justin
James Homuth schrieb:
 There are several packages that were thrown around on the list, or versions
 of packages, that I've come across that I figure I might want to take an
 active interest in. However, to avoid sending my boxes into a tailspin, I'm
 staying away from installing the still in development versions. What I'd
 like to know though is if there's some means of knowing if/when, as an
 example, a newer version of Portage is supposed to be considered stable. If
 not then I can always keep an eye on the relevant RSS feeds, but it was
 mostly just curiosity on my part. Thanks either way.

 James


   
eix -uc



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Screwed up swap while trying to get hibernate working; help

2008-10-31 Thread Joshua Murphy
On Thu, Oct 30, 2008 at 11:54 PM, Walter Dnes [EMAIL PROTECTED] wrote:
  I ran hibernate once unsuccessfully.  I forgot to put resume= into
 my lilo.conf (oops).  I finally did that, but now, hiberate gets to...

 hibernate: Running /usr/sbin/s2disk ...
 s2disk: Could not use the resume device (try swapon -a). Reason: No such 
 device

 ...and backs out gracefully.  According to fdisk -l, swap is there...


 [d530][root][~] fdisk -l

 Disk /dev/sda: 500.1 GB, 500107862016 bytes
 255 heads, 63 sectors/track, 60801 cylinders
 Units = cylinders of 16065 * 512 = 8225280 bytes
 Disk identifier: 0xd000

   Device Boot  Start End  Blocks   Id  System
 /dev/sda1   1   60801   4883840015  Extended
 /dev/sda5   1  62  497952   83  Linux
 /dev/sda6  63 549 3911796   82  Linux swap / Solaris
 /dev/sda7 550   60801   483974158+  83  Linux

 ...but according to swapon, it's not...


 [d530][root][~] swapon -a
 swapon: /dev/sda6: Invalid argument


  What did I did?  And how do I straighten it out?

Umm... if you're hibernating to the same swap partition you're using
when the system's live... I'm pretty sure you can't do that... even if
everything does manage to fit, having sort out what belongs back in
ram and what doesn't ... it's not a very sane thing to expect the
kernel+userspace tools there to do. If I recall from last time I
considered setting it up on my system, software hibernate needs an
otherwise unused swap partition that's just a little bigger than the
amount of physical ram in your system.

-- 
Poison [BLX]
Joshua M. Murphy



Re: [gentoo-user] unmerge boo_boo

2008-10-31 Thread Joshua Murphy
On Fri, Oct 31, 2008 at 1:07 AM, James [EMAIL PROTECTED] wrote:
 Well,

 I've done it now, being in too big of a hurry.

 After an emerge --sync, and the blocking packages, I
 got in a hurry, did not think and ran:

 emerge --unmerge sys-libs/ss sys-libs/com_err
 sys-fs/e2fsprogs sys-libs/e2fsprogs-libs


 So now I cannot emerge anything to fix this.

 Here I tried (re) emerge wget:

 Downloading 
 'ftp://rm.mirror.garr.it/mirrors/gnuftp/gnu/wget/wget-1.11.1.tar.bz2'
 wget: error while loading shared libraries: libcom_err.so.2: cannot open 
 shared
 object file: No such file or directory


 Can I just copy some file over from another amd64 machine?

 If so, which ones exactly?


 If not, any other ideas to fix this?



 James

Hmm, here's a random thought... if you've not already gotten things
working again... Gentoo installs Busybox... try

FETCHCOMMAND=/bin/busybox wget \${URI} -P \${DISTDIR} emerge wget

and see if that overcomes your troubles.

-- 
Poison [BLX]
Joshua M. Murphy



Re: [gentoo-user] unmerge boo_boo

2008-10-31 Thread Markos Chandras
On Friday 31 October 2008 19:53:28 Joshua Murphy wrote:
 On Fri, Oct 31, 2008 at 1:07 AM, James [EMAIL PROTECTED] wrote:
  Well,
 
  I've done it now, being in too big of a hurry.
 
  After an emerge --sync, and the blocking packages, I
  got in a hurry, did not think and ran:
 
  emerge --unmerge sys-libs/ss sys-libs/com_err
  sys-fs/e2fsprogs sys-libs/e2fsprogs-libs
 
 
  So now I cannot emerge anything to fix this.
 
  Here I tried (re) emerge wget:
 
  Downloading
  'ftp://rm.mirror.garr.it/mirrors/gnuftp/gnu/wget/wget-1.11.1.tar.bz2'
  wget: error while loading shared libraries: libcom_err.so.2: cannot open
  shared object file: No such file or directory
 
 
  Can I just copy some file over from another amd64 machine?
 
  If so, which ones exactly?
 
 
  If not, any other ideas to fix this?
 
 
 
  James

 Hmm, here's a random thought... if you've not already gotten things
 working again... Gentoo installs Busybox... try

 FETCHCOMMAND=/bin/busybox wget \${URI} -P \${DISTDIR} emerge wget

 and see if that overcomes your troubles.

emerge e2fsprogs again after unemerging the older version. If wget doesnt work 
put the .tar.gz of sys-fs/e2fsprogs-1.41.2 on your /usr/portage/distfiles and 
emerge it :)

-- 
Markos Chandras



[gentoo-user] xf86-video-intel-2.5.0 emerge error

2008-10-31 Thread Fernando Antunes
Hi everybody !

Is someone having a problem with xf86-driver-intel-2.5.0 compilation like
this?

...
In file included from /usr/include/xorg/vdif.h:24,
 from /usr/include/xorg/edid.h:15,
 from bios_reader.c:45:
/usr/include/X11/Xmd.h:152: error: conflicting types for 'CARD32'
bios_reader.c:43: error: previous declaration of 'CARD32' was here

 *
 * ERROR: x11-drivers/xf86-video-intel-2.5.0 failed.
 * Call stack:
 *   ebuild.sh, line   49:  Called src_compile
 * environment, line 2946:  Called x-modular_src_compile
 * environment, line 3732:  Called x-modular_src_make
 * environment, line 3768:  Called die
 * The specific snippet of code:
 *   emake || die emake failed
 *  The die message:
 *   emake failed

My box has xorg-server 1.3.0 ; VIDEO_CARDS=intel (in make.conf) ;
xf86-video-intel ~x86 (in package.keyword).

xf86-video-intel current version is 2.4.2-r3

Thanks


Re: [gentoo-user] xf86-video-intel-2.5.0 emerge error

2008-10-31 Thread Markos Chandras
On Friday 31 October 2008 21:56:56 Fernando Antunes wrote:
 Hi everybody !

 Is someone having a problem with xf86-driver-intel-2.5.0 compilation like
 this?

 ...
 In file included from /usr/include/xorg/vdif.h:24,
  from /usr/include/xorg/edid.h:15,
  from bios_reader.c:45:
 /usr/include/X11/Xmd.h:152: error: conflicting types for 'CARD32'
 bios_reader.c:43: error: previous declaration of 'CARD32' was here
 
  *
  * ERROR: x11-drivers/xf86-video-intel-2.5.0 failed.
  * Call stack:
  *   ebuild.sh, line   49:  Called src_compile
  * environment, line 2946:  Called x-modular_src_compile
  * environment, line 3732:  Called x-modular_src_make
  * environment, line 3768:  Called die
  * The specific snippet of code:
  *   emake || die emake failed
  *  The die message:
  *   emake failed

 My box has xorg-server 1.3.0 ; VIDEO_CARDS=intel (in make.conf) ;
 xf86-video-intel ~x86 (in package.keyword).

 xf86-video-intel current version is 2.4.2-r3

 Thanks

You could try upgrade xorg-server too . If this doesnt fix your problem, i 
would suggest filling a bug on gentoo bugzilla :)

-- 
Markos Chandras



Re: [gentoo-user] did anyone just get 400+ emails from this list?

2008-10-31 Thread Paul Hartman
On Fri, Oct 31, 2008 at 9:21 AM, Iain Buchanan [EMAIL PROTECTED] wrote:
 Hi,

 yes, I did... or at least I think.  I'm using thunderbird (shredder) 3.0a2
 (yes, aware of the risks, see the release name).

 all the emails are from before 10/09/2008 (that's september for you US
 folks).

 Funny thing is, the emails were deleted long ago, so I don't know how
 shredder would have falsely received them.

 weird.  maybe its a trick (or treat?)

I did not get anything out of the ordinary. Now where is the candy? :)

Paul



[gentoo-user] FIXED: unmerge boo_boo

2008-10-31 Thread James
Markos Chandras markos.chandras at gmail.com writes:


   Here I tried (re) emerge wget:

 emerge e2fsprogs again after unemerging the older version. If wget doesnt 
 work 
 put the .tar.gz of sys-fs/e2fsprogs-1.41.2 on your /usr/portage/distfiles and 
 emerge it :)

Many things failed. I could not use scp, or copy form a usbstick
nor a cd. Only downloading via a web browser worked for me.

http://sourceforge.net/project/showfiles.php?group_id=2406package_id=2374

I had to download both:

e2fsprogs-1.41.2.tar.gz
and e2fsprogs-libs-1.41.2.tar.gz


and put them in /usr/portage/distfiles/

All is under way. Also the thread helped:

http://bugs.gentoo.org/show_bug.cgi?id=234907

Thanks to all that helped.


James






Re: [gentoo-user] Screwed up swap while trying to get hibernate working; help

2008-10-31 Thread Walter Dnes
 mkswap /dev/sda6
 swapon /dev/sda6

  Thanks, that worked.  Having been bitten before by doing the
obvious, I was wondering if something else was required.

-- 
Walter Dnes [EMAIL PROTECTED]



Re: [gentoo-user] Re: How to know when a package is due to go stable?

2008-10-31 Thread Neil Bothwick
On Fri, 31 Oct 2008 18:11:20 +0200, Nikos Chantziaras wrote:

  If it's not is world, or a dependency of a world package, it's not
  needed and --depclean will catch it.  
 
 No, it will not :P  Don't ask me why, because I don't know.  I only
 know from experience that --depclean does not catch some packages that
 get updated with emerge -1u `qlist -IC` (and don't get updated with 
 emerge -uD world system).

Possibly build time dependencies, which aren't updated unless you use
--with-bdeps y.


-- 
Neil Bothwick

There's too much blood in my caffeine system.


signature.asc
Description: PGP signature


[gentoo-user] Burn-in test

2008-10-31 Thread Andrey Vul
I just bought a new laptop:
http://canadacomputers.com/index.php?do=ShowProductcmd=pdpid=019626cid=896.645
Which packages should I emerge (and run) as a burn-in test?
Note: I will run the burn-in off either a stock or custom-mastered
Gentoo LiveDVD.
If the disc needs custm mastering, please outline the steps required.

Thanks!

-- 
Andrey Vul

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?



[gentoo-user] Why do these packages depend on corefonts?

2008-10-31 Thread Erik Hahn
Why the hell do these packages depend on corefonts?:

app-emulation/wine-1.1.6
net-www/netscape-flash-10_rc20080915
x11-misc/slim-1.3.1

It somehow makes sense with wine, maybe even - remotely - with flash.
But why, why should *slim* need Windows fonts to work?

-- 
hackerkey://v4sw5RUYhw2ln3pr5ck0ma2u7Lw3+2Xm0l6/7Gi2e2t3b6AKMen5+7a16s0Sr1p-5.62/-6.56g6OR



Re: [gentoo-user] Burn-in test

2008-10-31 Thread Joshua Murphy
On Fri, Oct 31, 2008 at 6:55 PM, Andrey Vul [EMAIL PROTECTED] wrote:
 I just bought a new laptop:
 http://canadacomputers.com/index.php?do=ShowProductcmd=pdpid=019626cid=896.645
 Which packages should I emerge (and run) as a burn-in test?
 Note: I will run the burn-in off either a stock or custom-mastered
 Gentoo LiveDVD.
 If the disc needs custm mastering, please outline the steps required.

 Thanks!

Out of an old habit of abusing windows boxes with prime95 at work...

emerge gimps
mprime -t -w/tmp/

I didn't use a gentoo-emerged copy when I tested my new desktop last
week... I just threw a copy from ftp://mersenne.org/gimps/ onto a usb
key and packed that and my gentoo amd64 livecd with me to put all the
parts together. That copy, at least, ran the torture test on both
cores by default. A little over 24hrs was enough to satisfy me... I
test systems that *have* to be dependable for a few days to a week.

-- 
Poison [BLX]
Joshua M. Murphy



Re: [gentoo-user] Burn-in test

2008-10-31 Thread Joshua Murphy
On Fri, Oct 31, 2008 at 10:08 PM, Joshua Murphy [EMAIL PROTECTED] wrote:
 Out of an old habit of abusing windows boxes with prime95 at work...

 emerge gimps
 mprime -t -w/tmp/

Err... that *should* have been...

emerge gimps
/opt/gimps/mprime -t -w/tmp/

-- 
Poison [BLX]
Joshua M. Murphy



Re: [gentoo-user] Why do these packages depend on corefonts?

2008-10-31 Thread Steven Susbauer

Erik Hahn wrote:

Why the hell do these packages depend on corefonts?:

app-emulation/wine-1.1.6
net-www/netscape-flash-10_rc20080915
x11-misc/slim-1.3.1

It somehow makes sense with wine, maybe even - remotely - with flash.
But why, why should *slim* need Windows fonts to work?


According to the slim webpage, it only needs freetype (along with
libjpeg, libpng, and X11).

It appears to be explained in the bug about it though:
http://bugs.gentoo.org/show_bug.cgi?id=215661
the default theme uses verdana which is provided by corefonts

   -Steve





Re: [gentoo-user] Why do these packages depend on corefonts?

2008-10-31 Thread Jorge Peixoto de Morais Neto
 Why the hell do these packages depend on corefonts?:

 app-emulation/wine-1.1.6
 net-www/netscape-flash-10_rc20080915
 x11-misc/slim-1.3.1

 It somehow makes sense with wine, maybe even - remotely - with flash.
 But why, why should *slim* need Windows fonts to work?

Not only that, but why don't they also accept media-fonts/liberation-fonts?
In my case it is media-gfx/imagemagick-6.4.0.6 that forces me to have
media-fonts/corefonts, as I don't have installed any of the 3 packages
you mentioned

-- 
Software is like sex: it is better when it is free - Linus Torvalds



Re: [gentoo-user] Screwed up swap while trying to get hibernate working; help

2008-10-31 Thread Walter Dnes
On Fri, Oct 31, 2008 at 01:51:58PM -0400, Joshua Murphy wrote

 Umm... if you're hibernating to the same swap partition you're using
 when the system's live... I'm pretty sure you can't do that... even if
 everything does manage to fit, having sort out what belongs back in
 ram and what doesn't ... it's not a very sane thing to expect the
 kernel+userspace tools there to do. If I recall from last time I
 considered setting it up on my system, software hibernate needs an
 otherwise unused swap partition that's just a little bigger than the
 amount of physical ram in your system.

  Which begs the next question... howsabout if I turn swap off as part
of the hibernation process?  I.e. in /etc/hibernate/hibernate.conf
include the lines...

OnSuspend 00 swapoff /dev/sda6
OnResume  00 swapon  /dev/sda6

  or for that matter, what's the worst that can happen if I turn off
swap alltogether, and run out of memory?  Is it catastrophic, or merely
inconvenient (additional programs refuse to launch)?

-- 
Walter Dnes [EMAIL PROTECTED]



Re: [gentoo-user] Burn-in test

2008-10-31 Thread Andrey Vul
On Fri, Oct 31, 2008 at 11:12 PM, Joshua Murphy [EMAIL PROTECTED] wrote:
 On Fri, Oct 31, 2008 at 10:08 PM, Joshua Murphy [EMAIL PROTECTED] wrote:
 Out of an old habit of abusing windows boxes with prime95 at work...

 emerge gimps
 mprime -t -w/tmp/

 Err... that *should* have been...

 emerge gimps
 /opt/gimps/mprime -t -w/tmp/

 --
 Poison [BLX]
 Joshua M. Murphy


How good is Crysis for the purposes of burn-in?


-- 
Andrey Vul

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?



[gentoo-user] Input in Vmware console is delay

2008-10-31 Thread Astomi Chen
Hi folks,

I have installed gentoo in Vmware, currently the problem is when I input
some command it will delay 1 second shows on console screen.

I have checked the system, there are no abnormal process, system load is OK.

When try to use Windows Putty to connect gentoo box, no delay, erverything
seems nice.


Many thanks for any hint.


Re: [gentoo-user] Input in Vmware console is delay

2008-10-31 Thread Andrey Vul
On Sat, Nov 1, 2008 at 12:35 AM, Astomi Chen [EMAIL PROTECTED] wrote:
 Hi folks,

 I have installed gentoo in Vmware, currently the problem is when I input
 some command it will delay 1 second shows on console screen.

 I have checked the system, there are no abnormal process, system load is OK.

 When try to use Windows Putty to connect gentoo box, no delay, erverything
 seems nice.

All I can tell you is that something's fishy with regards to your vga driver.



-- 
Andrey Vul

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?



Re: [gentoo-user] Input in Vmware console is delay

2008-10-31 Thread deface

Astomi Chen wrote:

Hi folks,

I have installed gentoo in Vmware, currently the problem is when I 
input some command it will delay 1 second shows on console screen.


I have checked the system, there are no abnormal process, system load 
is OK.


When try to use Windows Putty to connect gentoo box, no delay, 
erverything seems nice.



Many thanks for any hint.

 
Have you installed the vmware tools package for once inside the vm? you 
will get much better performance.


deface



Re: [gentoo-user] Input in Vmware console is delay

2008-10-31 Thread Astomi Chen
I agree with you.

Now my console still in 800*600 mode, I have tried lots of ways, but failed.

http://dev.gentoo.org/~spock/projects/uvesafb/http://dev.gentoo.org/%7Espock/projects/uvesafb/


On Sat, Nov 1, 2008 at 12:57 PM, Andrey Vul [EMAIL PROTECTED] wrote:

 On Sat, Nov 1, 2008 at 12:35 AM, Astomi Chen [EMAIL PROTECTED] wrote:
  Hi folks,
 
  I have installed gentoo in Vmware, currently the problem is when I input
  some command it will delay 1 second shows on console screen.
 
  I have checked the system, there are no abnormal process, system load is
 OK.
 
  When try to use Windows Putty to connect gentoo box, no delay,
 erverything
  seems nice.
 
 All I can tell you is that something's fishy with regards to your vga
 driver.



 --
 Andrey Vul

 A: Because it messes up the order in which people normally read text.
 Q: Why is top-posting such a bad thing?
 A: Top-posting.
 Q: What is the most annoying thing in e-mail?




Re: [gentoo-user] Input in Vmware console is delay

2008-10-31 Thread Astomi Chen
Not yet, I will give a try.

On Sat, Nov 1, 2008 at 1:03 PM, deface [EMAIL PROTECTED] wrote:

 Astomi Chen wrote:

 Hi folks,

 I have installed gentoo in Vmware, currently the problem is when I input
 some command it will delay 1 second shows on console screen.

 I have checked the system, there are no abnormal process, system load is
 OK.

 When try to use Windows Putty to connect gentoo box, no delay, erverything
 seems nice.


 Many thanks for any hint.



 Have you installed the vmware tools package for once inside the vm? you
 will get much better performance.

 deface




Re: [gentoo-user] Screwed up swap while trying to get hibernate working; help

2008-10-31 Thread Iain Buchanan

Joshua Murphy wrote:

On Thu, Oct 30, 2008 at 11:54 PM, Walter Dnes[EMAIL PROTECTED]  wrote:

  I ran hibernate once unsuccessfully.  I forgot to put resume= into
my lilo.conf (oops).  I finally did that, but now, hiberate gets to...


[snip]

  What did I did?  And how do I straighten it out?


Umm... if you're hibernating to the same swap partition you're using
when the system's live... I'm pretty sure you can't do that...


:)  Actually it can!  This is the whole point of using a swap partition 
for hibernating!  In fact, this is the only configuration I used (one 
swap partition to suspend to) for years, until I got a laptop with 4G 
ram I thought a large swap partition was a bit redundant.  Now I 
hibernate to a file.


tuxonice can hibernate to 1 or more swap partitions.


even if
everything does manage to fit, having sort out what belongs back in
ram and what doesn't ... it's not a very sane thing to expect the
kernel+userspace tools there to do. If I recall from last time I
considered setting it up on my system, software hibernate needs an
otherwise unused swap partition that's just a little bigger than the
amount of physical ram in your system.


actually it can also free up some ram, and your image is compressed 
using lzf which can achieve a claimed 30 - 50% but generally you should 
have enough free swap to cover the size of used RAM.


If you have too little swap, tuxonice will abort gracefully

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

He don't know me vewy well, DO he?   -- Bugs Bunny



Re: [gentoo-user] Input in Vmware console is delay

2008-10-31 Thread Andrey Falko
On Fri, Oct 31, 2008 at 10:16 PM, Astomi Chen [EMAIL PROTECTED] wrote:

 Not yet, I will give a try.

If this is a Gentoo VM emerge open-vm-tools...my Gentoo VMs work very well
with it :). You might need to do echo app-emulation/open-vm-tools 
/etc/portage/package.keywords first.

Also within the VM, you probably will want to set this in your make.conf:

VIDEO_CARDS=vmware

Then emerge x11-drivers/xf86-video-vmware

Then use the vmware driver in xorg.conf

Let me know if you'd like me to give you more detailed info on all of this
:).



 On Sat, Nov 1, 2008 at 1:03 PM, deface [EMAIL PROTECTED] wrote:

 Astomi Chen wrote:

 Hi folks,

 I have installed gentoo in Vmware, currently the problem is when I input
 some command it will delay 1 second shows on console screen.

 I have checked the system, there are no abnormal process, system load is
 OK.

 When try to use Windows Putty to connect gentoo box, no delay,
 erverything seems nice.


 Many thanks for any hint.



 Have you installed the vmware tools package for once inside the vm? you
 will get much better performance.

 deface