Re: [gentoo-user] Two taskbar panels after upgrade to KDE 4

2009-10-21 Thread Alan McKinnon
On Tuesday 20 October 2009 19:03:13 Thorsten Kampe wrote:
 Hi,
 
 I just upgraded from KDE 3.5.10 to KDE 4. The upgrade went fine and KDE
 4 KDM shows still my old KDE 3.5, XFCE and GNOME sessions as well as the
 new KDE 4 session.
 
 The only problem is that when I login to the old KDE 3.5 desktop (which
 I want to keep until I configured KDE 4 fully) shows *two* taskbar
 panels: at the bottom of the screen the KDE 4 taskbar panel and directly
 above the old KDE 3.5 taskbar panel.
 
 How can I stop the old KDE 3.5 session from loading any KDE 4 component
 and in particular: how can I stop the KDE 3.5 desktop loadling the KDE 4
 taskbar panel?!


Please provide more information, you are asking how long is a piece of string?

Copies of the start-up scripts launched by your display manager when starting 
kde-4 would be a good start

-- 
alan dot mckinnon at gmail dot com



[gentoo-user] how to find all executables with an inofficial group id

2009-10-21 Thread Helmut Jarausch
Hi,

does anybody know a simple method to find all executables with a group
id which is not mentioned in /etc/group?

Once an executable with a group id which used to be 'fcron' but isn't
anymore, broke one of my systems.
Now, I suspect a similar problem on another machine.

Otherwise I have to write a tiny Python script to do that.

Many thanks for a hint,
Helmut.


-- 
Helmut Jarausch

Lehrstuhl fuer Numerische Mathematik
RWTH - Aachen University
D 52056 Aachen, Germany



Re: [gentoo-user] how to find all executables with an inofficial group id

2009-10-21 Thread Alan McKinnon
On Wednesday 21 October 2009 10:53:45 Helmut Jarausch wrote:
 Hi,
 
 does anybody know a simple method to find all executables with a group
 id which is not mentioned in /etc/group?
 
 Once an executable with a group id which used to be 'fcron' but isn't
 anymore, broke one of my systems.
 Now, I suspect a similar problem on another machine.
 
 Otherwise I have to write a tiny Python script to do that.

find / -type f +perm 111 -nogroup

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] Colors corrupted in X after returning from text console

2009-10-21 Thread Albert Hopkins
On Wed, 2009-10-21 at 00:29 -0400, waltd...@waltdnes.org wrote:
  If you are using the Intel graphics I think you should try KMS.
  Switching back and forth between X and a vt is both fast and
  flicker-free and I haven't seen any artifacts switching between
  the two.
 
   From looking at Google, I think you're referring to kernel mode
 switching.  I have looked all over make menuconfig and can't find it.
 What is the reference I should be looking for?  I'm running the
 latest stable kernel as near as I can tell. 


Oh stable... never touch the stuff... ;)

http://en.gentoo-wiki.com/wiki/Intel_GMA#Kernel_Modesetting





Re: [gentoo-user] openoffice.org copy cells from calc and paste into writer causes crash.

2009-10-21 Thread Dale
Damien Sticklen wrote:
 Dale,

 If you think the symptoms of your problem are similar, plz append.  The
 ctrl-c and ctrl-v is a workaround, but I think a solid fix is needed.

 Thanks,

 Damien

   

It never crashed on mine tho.  OO Calc and OO Writer kept running until
I closed them.  Was you using the right click copy and paste method?  I
will try that way if that will reproduce the problem.  It appears to
work here tho with no crash.

I went back and looked at the vox that was created.  All the cells are
in there along with the stuff I typed in.  It's just REALLY small. 

Dale

:-)  :-) 



Re: [gentoo-user] openoffice.org copy cells from calc and paste into writer causes crash.

2009-10-21 Thread ubiquitous1980

Dale,

When you say vox, what do you mean?

Thanks

Damien

Dale wrote:

Damien Sticklen wrote:
  

Dale,

If you think the symptoms of your problem are similar, plz append.  The
ctrl-c and ctrl-v is a workaround, but I think a solid fix is needed.

Thanks,

Damien

  



It never crashed on mine tho.  OO Calc and OO Writer kept running until
I closed them.  Was you using the right click copy and paste method?  I
will try that way if that will reproduce the problem.  It appears to
work here tho with no crash.

I went back and looked at the vox that was created.  All the cells are
in there along with the stuff I typed in.  It's just REALLY small. 


Dale

:-)  :-) 

  



--
Remember to respect your right to unfettered access to your computer, use free 
software.
For a definition of free software, please go to http://www.fsf.org




Re: [gentoo-user] openoffice.org copy cells from calc and paste into writer causes crash.

2009-10-21 Thread Damien Sticklen
Dale,

I tried the ctrl-c, ctrl-v method and writer freezes.

Thanks

Damien

Dale wrote:
 Damien Sticklen wrote:
   
 Dale,

 If you think the symptoms of your problem are similar, plz append.  The
 ctrl-c and ctrl-v is a workaround, but I think a solid fix is needed.

 Thanks,

 Damien

   
 

 It never crashed on mine tho.  OO Calc and OO Writer kept running until
 I closed them.  Was you using the right click copy and paste method?  I
 will try that way if that will reproduce the problem.  It appears to
 work here tho with no crash.

 I went back and looked at the vox that was created.  All the cells are
 in there along with the stuff I typed in.  It's just REALLY small. 

 Dale

 :-)  :-) 

   




Re: [gentoo-user] Machine reboots immediately when suspended-to-disk

2009-10-21 Thread Mick
2009/10/21 Albert Hopkins mar...@letterboxes.org:
 On Tue, 2009-10-20 at 20:14 -0400, waltd...@waltdnes.org wrote:
   I've enabled suspend-to-disk in the kernel.  When I issue the
 command
 echo disk  /sys/power/state, it suspends but *IMMEDIATELY* reboots
 and comes back up again.  The session restores properly from the swap
 drive, so at least that part works.  What can I do to keep it sleeping
 until I power up again?

 Ok I'm going to address this issue.  You specified multiple issues in
 your email.  I think it's better to split each issue into its own
 posting.  It's simpler easier to work with one problem at a time and
 also replies to postings on different issues don't get all garbled
 up/confusing in archive searches.

 Ok the echo trick isn't the recommended way to suspend to disk.  A
 better way is to use pm-hibernate --quirks (pm-hibernate is from the
 pm-utils packages).  The --quirks option will try to handle any, well,
 quirks that are known with your hardware.  echo'ing to /sys/power/state
 is a little more low-level and could be iffy on some types of hardware.

 You should also check dmesg.  More than likely there is a kernel error
 that explains why it failed to suspend completely.

Or use hibernate -v4 from a root terminal to see any error messages.
-- 
Regards,
Mick



Re: [gentoo-user] openoffice.org copy cells from calc and paste into writer causes crash.

2009-10-21 Thread Mick
2009/10/21 Damien Sticklen ubiquitous1...@gmail.com:
 Dale,

 I tried the ctrl-c, ctrl-v method and writer freezes.

 Thanks

 Damien

No consolation to your problem, but Oo-bin works fine.  I cutted and
pasted between calc and writer on a x86 and it works without problem.
The cells had text and numeric values with formulas in them.
Decoration like text format, borders, etc. pasted through fine and
double clicking on the pasted cells in word opens the spreadsheet for
editing.
-- 
Regards,
Mick



Re: [gentoo-user] openoffice.org copy cells from calc and paste into writer causes crash.

2009-10-21 Thread Damien Sticklen
Oo-bin is the vanilla openoffice as opposed to the source version gentoo
uses, which comes from go-o.  When you say the x86 version is working
fine, do you mean the bin or source version.  Even so, I think we need
to keep this bug open so the 64-bit version gets fixed regardless.

Thanks for your prompt reply Mick,

Regards,

Damien

Mick wrote:
 2009/10/21 Damien Sticklen ubiquitous1...@gmail.com:
   
 Dale,

 I tried the ctrl-c, ctrl-v method and writer freezes.

 Thanks

 Damien
 

 No consolation to your problem, but Oo-bin works fine.  I cutted and
 pasted between calc and writer on a x86 and it works without problem.
 The cells had text and numeric values with formulas in them.
 Decoration like text format, borders, etc. pasted through fine and
 double clicking on the pasted cells in word opens the spreadsheet for
 editing.
   




Re: [gentoo-user] openoffice.org copy cells from calc and paste into writer causes crash.

2009-10-21 Thread Mick
2009/10/21 Damien Sticklen ubiquitous1...@gmail.com:
 Oo-bin is the vanilla openoffice as opposed to the source version gentoo
 uses, which comes from go-o.  When you say the x86 version is working
 fine, do you mean the bin or source version.

Yes, I mean the OpenOffice-bin version.

 Even so, I think we need
 to keep this bug open so the 64-bit version gets fixed regardless.

 Thanks for your prompt reply Mick,

You're welcome.
-- 
Regards,
Mick



[gentoo-user] HP ScanJet 7670

2009-10-21 Thread James
Hello,

I've never set up a scanner on gentoo (or any other 
linux before).

So here's what I've done. Looking at the sane 
website I see support for these models:

http://www.sane-project.org/man/sane-hp5590.5.html

ScanJet 7650 is listed as basic support.

I have a HP Scanjet 7670, so it should work?


lsusb lists the devices like this:

Bus 002 Device 001: ID 1d6b:0001
Bus 001 Device 001: ID 1d6b:0002


dmesg shows nothing.

sane-find-scanner reveals this:

  sane-find-scanner will now attempt to detect your scanner. 
  If the result is different from what you expected, first 
  make sure your scanner is powered up and properly 
  connected to your computer.

   No SCSI scanners found. If you expected something different, 
make sure that
   you have loaded a kernel SCSI driver for your SCSI adapter.

found USB scanner (vendor=0x0403 [FTDI], 
product=0x6001 [UC232R]) at libusb:002:002
   Your USB scanner was (probably) detected. It may or may 
not be  supported by
   SANE. Try scanimage -L and read the backend's manpage.

   Not checking for parallel port scanners.


so am I out of luck? I have this installed:

media-gfx/sane-backends-1.0.19-r2 USE=ipv6 usb 
v4l -doc -gphoto2 


replugging the usb cable does not make the device appear on 
the usb bus?


any ideas?


James





[gentoo-user] Re: HP ScanJet 6300C

2009-10-21 Thread James
James wireless at tampabay.rr.com writes:

Well, monkeying around with all the cables It now registers
as a:

Bus 002 Device 005: ID 03f0:0601 Hewlett-Packard ScanJet 6300c


scanimage -L
device `hp:libusb:002:005' is a Hewlett-Packard ScanJet 63x0C flatbed scanner


So I guess I need some advice as to a software front end or some syntax
examples to use the scanner. It has an ADF, Automatic Document Feeder,
which work be keen to get working or figure out how to use. It works fine
under windows with the scsi card. I'ts not on a gentoo system via a
usb cable.

The sane website says support is complete.
any suggestions are most welcome.


James







[gentoo-user] Re: HP ScanJet 6300C

2009-10-21 Thread walt
On 10/21/2009 09:23 AM, James wrote:
 James wireless at tampabay.rr.com writes:
 
 Well, monkeying around with all the cables It now registers
 as a:
 
 Bus 002 Device 005: ID 03f0:0601 Hewlett-Packard ScanJet 6300c
 
 
 scanimage -L
 device `hp:libusb:002:005' is a Hewlett-Packard ScanJet 63x0C flatbed scanner
 
 
 So I guess I need some advice as to a software front end or some syntax
 examples to use the scanner...

I'd suggest media-gfx/xsane, which is a great GUI front end for sane.




[gentoo-user] Uninstalled programs history

2009-10-21 Thread Francesco Talamona
I use very often genlop to see the history of emerged packages, but 
sometimes I need to know which packages were uninstalled and when.

Is it there a reliable and simple way to know this kind of information?

Anyone before felt the need to fulfil this curiosity?

Ciao
Francesco

-- 
Linux Version 2.6.31-gentoo-r3, Compiled #1 SMP PREEMPT Thu Oct 15 
07:09:01 CEST 2009
Two 1GHz AMD Athlon 64 Processors, 4GB RAM, 4021.84 Bogomips Total
aemaeth



Re: [gentoo-user] Uninstalled programs history

2009-10-21 Thread Frank Steinmetzger
Am Mittwoch, 21. Oktober 2009 schrieb Francesco Talamona:
 I use very often genlop to see the history of emerged packages, but
 sometimes I need to know which packages were uninstalled and when.

 Is it there a reliable and simple way to know this kind of information?

genlop -u
-- 
Gruß | Greetings | Qapla'
Microsoft: When do you want to crash today?


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


[gentoo-user] Re: Uninstalled programs history

2009-10-21 Thread Francesco Talamona
On Wednesday 21 October 2009, Frank Steinmetzger wrote:
 Am Mittwoch, 21. Oktober 2009 schrieb Francesco Talamona:
  I use very often genlop to see the history of emerged packages, but
  sometimes I need to know which packages were uninstalled and when.
 
  Is it there a reliable and simple way to know this kind of
  information?
 
 genlop -u
 

Of course! I googled before posting, but genlop manpage didn't occurred 
to me, too obvious!

To be exact to see which packages were unmerged for example in the last 
two days:

genlop -ul --date 2 days ago

Thanks for your reply... I could have searched for ages ;-)

Ciao
Francesco
-- 
Linux Version 2.6.31-gentoo-r3, Compiled #1 SMP PREEMPT Thu Oct 15 
07:09:01 CEST 2009
Two 2.2GHz AMD Athlon 64 Processors, 4GB RAM, 8844.86 Bogomips Total
aemaeth



[gentoo-user] kernel panic -- finding proper config diff

2009-10-21 Thread Maxim Wexler
Hi group,

Did linux#make menuconfig followed by linux# make  make
modules_install on the .2.6.30-gentoo-r7 sources. And copied over the
new kernel and rebooted.

The kernel panicked. The relevant messages are:

...
VFS: Mounted root (ext2 filesystem) readonly on device 8:1,
Freeing unused kernel memory: 276k freed
Warning: unable to open an initial console
Kernel panic - not syncing. No init found. Try passing init=option to kernel.
Pid: 1. comm: swapper Not tainted 2.6.30-gentoo-r7 #2
Call Trace:
 [c0479986] ? printk+0xf/0x11
 [c04798dc]  panic+0x39/0xd4
 [c020135z]  init_post+0x13c/0x13e
 [c05b62dc]  kernel_init+0x148/0x152
 [c05b6194] ? kernel_init+0x0/0x152
 [c02033cf]  kernel_thread_helper+0x7/0x10


So far I've tried adding 'init=/bin/bash' and 'init=/sbin/init' to the
command line. No help. Someone in a forum suggested chrooting and
emerging sysvinit. But that's already installed.

There's a million hits on google for this error message with about as
many solutions.

Assuming it has something to do with my kernel config, I tried running
$diff -y on the two configs but at approx. 2600 lines per file I'm
going to need some advice on what to zero in on.

I tried to keep the new config as same as the old. But there's a lot
of new features, weird stuff like CONFIG_X86_32_LAZY_GS=y and the new
decompression protocol.


Maxim



[gentoo-user] Re: kernel panic -- finding proper config diff

2009-10-21 Thread Maxim Wexler
as a follow up go here:

http://bugzilla.kernel.org/show_bug.cgi?id=13560

Virtually identical problem. Check out the screen pic. Just like mine,
save for the hardware and fs differences.

mw

On 10/21/09, Maxim Wexler maxim.wex...@gmail.com wrote:
 Hi group,

 Did linux#make menuconfig followed by linux# make  make
 modules_install on the .2.6.30-gentoo-r7 sources. And copied over the
 new kernel and rebooted.

 The kernel panicked. The relevant messages are:

 ...
 VFS: Mounted root (ext2 filesystem) readonly on device 8:1,
 Freeing unused kernel memory: 276k freed
 Warning: unable to open an initial console
 Kernel panic - not syncing. No init found. Try passing init=option to
 kernel.
 Pid: 1. comm: swapper Not tainted 2.6.30-gentoo-r7 #2
 Call Trace:
  [c0479986] ? printk+0xf/0x11
  [c04798dc]  panic+0x39/0xd4
  [c020135z]  init_post+0x13c/0x13e
  [c05b62dc]  kernel_init+0x148/0x152
  [c05b6194] ? kernel_init+0x0/0x152
  [c02033cf]  kernel_thread_helper+0x7/0x10


 So far I've tried adding 'init=/bin/bash' and 'init=/sbin/init' to the
 command line. No help. Someone in a forum suggested chrooting and
 emerging sysvinit. But that's already installed.

 There's a million hits on google for this error message with about as
 many solutions.

 Assuming it has something to do with my kernel config, I tried running
 $diff -y on the two configs but at approx. 2600 lines per file I'm
 going to need some advice on what to zero in on.

 I tried to keep the new config as same as the old. But there's a lot
 of new features, weird stuff like CONFIG_X86_32_LAZY_GS=y and the new
 decompression protocol.


 Maxim




[gentoo-user] Re: kernel panic -- finding proper config diff

2009-10-21 Thread Jonathan Callen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Maxim Wexler wrote:
 VFS: Mounted root (ext2 filesystem) readonly on device 8:1,
 Freeing unused kernel memory: 276k freed
 Warning: unable to open an initial console
 Kernel panic - not syncing. No init found. Try passing init=option to kernel.

To me, that looks like /dev/sda1 (which is what the kernel is using as
root=) doesn't contain any of the following:
/sbin/init
/etc/init
/bin/init
/bin/sh

Noting that the kernel output implied that it was an ext2 filesystem,
that looks like it mounted your /boot as /, which fails as there isn't
any init available on it.

PS:
In case you were wondering how I knew it was /dev/sda1, that's what
device 8:1 means: the block device with major number 8 and minor
number 1, which happens to be the major:minor assigned to /dev/sda1.

- --
Jonathan
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkrfW+UACgkQOypDUo0oQOo/NgCgq1C7LyfDRiEAFRiuqq9Me+5Q
EyMAnjvpfvmfcFFlczPJb7SruygZF/lN
=KMh5
-END PGP SIGNATURE-



Re: [gentoo-user] Re: kernel panic -- finding proper config diff

2009-10-21 Thread Alan McKinnon
On Wednesday 21 October 2009 21:07:18 Jonathan Callen wrote:
 Maxim Wexler wrote:
  VFS: Mounted root (ext2 filesystem) readonly on device 8:1,
  Freeing unused kernel memory: 276k freed
  Warning: unable to open an initial console
  Kernel panic - not syncing. No init found. Try passing init=option to
  kernel.
 
 To me, that looks like /dev/sda1 (which is what the kernel is using as
 root=) doesn't contain any of the following:
   /sbin/init
   /etc/init
   /bin/init
   /bin/sh
 
 Noting that the kernel output implied that it was an ext2 filesystem,
 that looks like it mounted your /boot as /, which fails as there isn't
 any init available on it.
 
 PS:
 In case you were wondering how I knew it was /dev/sda1, that's what
 device 8:1 means: the block device with major number 8 and minor
 number 1, which happens to be the major:minor assigned to /dev/sda1.

Does /dev/sda1 genuinely contain / and not for example /boot?

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] cannot configure native vmware tools

2009-10-21 Thread Keith Dart
=== On Wed, 10/21, Xi Shen wrote: ===
 why? is it because i am using genkernel, or the kernel source is
 patched by gentoo?

===

Don't use that tool. Instead, just emerge app-emulation/vmware-modules.


-- Keith Dart

-- 
-- 
Keith Dart
ke...@dartworks.biz
===



Re: [gentoo-user] Re: kernel panic -- finding proper config diff

2009-10-21 Thread Maxim Wexler
 Does /dev/sda1 genuinely contain / and not for example /boot?


This is on an Asus 900A. 4G SSD, / and /boot all on one partition,
formatted ext2, to prevent journalling overhead, with e2fsck set to
check the fs at every boot.  An 8G card contains /home and /var.

mw



Re: [gentoo-user] Re: kernel panic -- finding proper config diff

2009-10-21 Thread Albert Hopkins
On Wed, 2009-10-21 at 14:22 -0600, Maxim Wexler wrote:
  Does /dev/sda1 genuinely contain / and not for example /boot?
 
 
 This is on an Asus 900A. 4G SSD, / and /boot all on one partition,
 formatted ext2, to prevent journalling overhead, with e2fsck set to
 check the fs at every boot.  An 8G card contains /home and /var.

FYI you can still create the filesystem as, e.g., ext4 with -O
^has_journal and still enjoy the performance benefits such as extents
and delayed allocation without the (minor) overhead that journalling
incurs.

-a





Re: [gentoo-user] Re: kernel panic -- finding proper config diff

2009-10-21 Thread Maxim Wexler
 To me, that looks like /dev/sda1 (which is what the kernel is using as
 root=) doesn't contain any of the following:
   /sbin/init
   /etc/init
   /bin/init
   /bin/sh

 Noting that the kernel output implied that it was an ext2 filesystem,
 that looks like it mounted your /boot as /, which fails as there isn't
 any init available on it.

The partitioning scheme and fs hasn't changed. Just the kernel. It
wasn't a problem before. Also, I don't think the fs id is significant
since, if you look at the photo attached to the bug report, ext3 is
involved in that case. In the new config  have CONFIG_EXT2_FS_XATTR is
not set,  whereas it's set 'y' in the old. Maybe that's it.  The
help page says choose N if unsure, which is what I did this time.
I'll wait to hear back from the group and give it another try.

mw



[gentoo-user] Re: cannot configure native vmware tools

2009-10-21 Thread Nikos Chantziaras

On 10/21/2009 11:17 PM, Keith Dart wrote:

=== On Wed, 10/21, Xi Shen wrote: ===

why? is it because i am using genkernel, or the kernel source is
patched by gentoo?


===

Don't use that tool. Instead, just emerge app-emulation/vmware-modules.


Isn't that for having Gentoo as host OS only?  (As opposed to running 
Gentoo as a guest inside another OS.)





Re: [gentoo-user] Confusion

2009-10-21 Thread Mick
On Sunday 18 October 2009, Dirk Heinrichs wrote:
 Am Sonntag 18 Oktober 2009 18:54:54 schrieb econti:
  [ebuild  N] app-office/akonadi-server-1.2.1  USE=mysql -sqlite
  [nomerge  ] x11-libs/qt-dbus-4.5.2
  [ebuild UD]   x11-libs/qt-qt3support-4.5.1 [4.5.2]
  [ebuild UD]x11-libs/qt-sql-4.5.1 [4.5.2]
  [ebuild UD]x11-libs/qt-gui-4.5.1 [4.5.2-r2] USE=dbus*
  gtkstyle%* [ebuild UD] x11-libs/qt-script-4.5.1 [4.5.2]
  [ebuild UD] x11-libs/qt-dbus-4.5.1 [4.5.2]
  [ebuild UD]  x11-libs/qt-core-4.5.1 [4.5.2]

 Hmm, looks like your installed version of qt-dbus is responsible for the
 wanted downgrade. Strange.

 Could you diff the installed .ebuild for x11-libs/qt-dbus-4.5.2
 (/var/db/pkg/x11-libs/qt-dbus-4.5.2/qt-dbus-4.5.2.ebuild) with the one in
 your portage tree and re-install the package if they're different?

 Then, there are two other things which make me wonder:
  [blocks B ] x11-libs/qt-opengl-4.5.1-r
  (x11-libs/qt-opengl-4.5.1- r is blocking
  x11-libs/qt-qt3support-4.5.1, x11-libs/qt-script-4.5.1,
  x11-libs/qt-dbus-4.5.1, x11-libs/qt-core-4.5.1, x11-libs/qt-gui-4.5.1)

 Those -r versions emerge is talking about. Any chance you have
 installed qt packages (or some apps which need them) from an overlay?

  ('installed', '/', 'x11-libs/qt-webkit-4.5.2-r1', 'nomerge') pulled in by
 x11-libs/qt-webkit required by world

 2) Do you have qt packages listed in your world file? They're usually
 pulled in as dependencies of other packages, so they shouldn't appear
 there.

 Bye...

   Dirk

Hmm ... I seem to have these three in my world file (not sure about the OP):

x11-libs/qt
x11-libs/qt-core
x11-libs/qt-gui

Should I delete them?
-- 
Regards,
Mick


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


Re: [gentoo-user] Re: cannot configure native vmware tools

2009-10-21 Thread Dave Jones
Nikos Chantziaras wrote on 21/10/09 22:45:
 why? is it because i am using genkernel, or the kernel source is
 patched by gentoo?

 Don't use that tool. Instead, just emerge app-emulation/vmware-modules.

 Isn't that for having Gentoo as host OS only?  (As opposed to running
 Gentoo as a guest inside another OS.)

No.  It works fine with other operating systems too.




Re: [gentoo-user] Machine reboots immediately when suspended-to-disk

2009-10-21 Thread waltdnes
On Tue, Oct 20, 2009 at 08:54:02PM -0400, Albert Hopkins wrote

 Ok the echo trick isn't the recommended way to suspend to disk.  A
 better way is to use pm-hibernate --quirks (pm-hibernate is from the
 pm-utils packages).  The --quirks option will try to handle any, well,
 quirks that are known with your hardware.  echo'ing to /sys/power/state
 is a little more low-level and could be iffy on some types of hardware.

  I ended up emerging hibernate-script and it runs great.  I added a few
tweaks to hibernate.conf.  Here's what it looks like...

TryMethod disk.conf
Distribution gentoo
OnResume 00 setfont lat1-10
DownInterfaces auto
UpInterfaces auto
UseSysfsPowerState disk
PowerdownMethod shutdown

  As for pm-utils...
RANT
Why the bleep can't some programmers go to the bathroom without invoking
hal and dbus?  They're hard-coded dependancies for pm-utils.  I've
managed to keep hal and dbus (and java and pam) off my machine, and will
continue doing so.  If I had a bunch of money lying around, I'd hire some
programmers to seriously slim down Firefox while I was at it.  There is
no reason a browser should need an SQL database.
/RANT

 You should also check dmesg.  More than likely there is a kernel error
 that explains why it failed to suspend completely.

  Nothing obvious in dmesg when I tried manually shutting down.  The
listing showed the system shutting down, and then starting up.  No
warnings, let alone errors.

-- 
Walter Dnes waltd...@waltdnes.org



Re: [gentoo-user] Colors corrupted in X after returning from text console

2009-10-21 Thread waltdnes
On Wed, Oct 21, 2009 at 06:16:46AM -0400, Albert Hopkins wrote

 http://en.gentoo-wiki.com/wiki/Intel_GMA#Kernel_Modesetting

  Thanks.  I'll read that over and try it out.  From the looks of it,
I'll have to go into my backups and dig up a working xorg.conf.  And
save a text copy of the xorg.conf man page while I'm at it.  The xorg
configuration tools are nowhere to be seen.

-- 
Walter Dnes waltd...@waltdnes.org



Re: [gentoo-user] Re: cannot configure native vmware tools

2009-10-21 Thread Dave Jones
Dave Jones wrote on 21/10/09 23:07:
 Nikos Chantziaras wrote on 21/10/09 22:45:
 Don't use that tool. Instead, just emerge app-emulation/vmware-modules.
 Isn't that for having Gentoo as host OS only?  (As opposed to running
 Gentoo as a guest inside another OS.)

 No.  It works fine with other operating systems too.

Oops. Extract foot from mouth.

Of course emerging vmware-modules is for Gentoo host only.

Guests using other operating systems are fine once you've emerge'd the
host modules.



Re: [gentoo-user] Re: cannot configure native vmware tools

2009-10-21 Thread Keith Dart
=== On Wed, 10/21, Nikos Chantziaras wrote: ===
 Isn't that for having Gentoo as host OS only?  (As opposed to running 
 Gentoo as a guest inside another OS.)

===

Oooh... you mean running Gentoo as a guest. 

Well, you do have to have built a kernel first (or at least a make
config). The build sets up some symlinks that building other,
third-party modules need. 

I also have a modified rc script for the tools, that works with openrc.
Let me know if you want it.

I also have an up-to-date Gentoo x86 server VM with the tools already
installed. 


-- Keith Dart

-- 
-- 
Keith Dart
ke...@dartworks.biz
===



[gentoo-user] Copying settings from Konqueror-3.5 to 4.3

2009-10-21 Thread Mick
Maybe I am getting lazy - but wouldn't mind all my ftp, webdav and ssh 
settings under the Network places to have been carried over into KDE4.  How 
do I go about copying them over?
-- 
Regards,
Mick


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


Re: [gentoo-user] Colors corrupted in X after returning from text console

2009-10-21 Thread Albert Hopkins
On Wed, 2009-10-21 at 18:01 -0400, waltd...@waltdnes.org wrote:
 On Wed, Oct 21, 2009 at 06:16:46AM -0400, Albert Hopkins wrote
 
  http://en.gentoo-wiki.com/wiki/Intel_GMA#Kernel_Modesetting
 
   Thanks.  I'll read that over and try it out.  From the looks of it,
 I'll have to go into my backups and dig up a working xorg.conf.  And
 save a text copy of the xorg.conf man page while I'm at it.  The xorg
 configuration tools are nowhere to be seen.
 

You may not have do that.  All 3 of my systems with Intel graphics run
KMS with X with no xorg.conf at all.  But since you're running stable
YMMV.

-a





Re: [gentoo-user] Confusion

2009-10-21 Thread Neil Bothwick
On Wed, 21 Oct 2009 21:53:54 +0100, Mick wrote:

 Hmm ... I seem to have these three in my world file (not sure about the
 OP):
 
 x11-libs/qt
 x11-libs/qt-core
 x11-libs/qt-gui
 
 Should I delete them?

Do you run them yourself? If not, they don't belong in world. The first
could be particularly troublesome as it is masked for QT4.


-- 
Neil Bothwick

If Satan ever loses his hair, there'll be hell toupee.


signature.asc
Description: PGP signature


[gentoo-user] Re: Colors corrupted in X after returning from text console

2009-10-21 Thread walt
On 10/21/2009 03:55 PM, Albert Hopkins wrote:
 ...All 3 of my systems with Intel graphics run
 KMS with X with no xorg.conf at all...

How do you deal with font paths?  That's one of the few reasons
I still have an xorg.conf.




[gentoo-user] Re: kernel panic -- finding proper config diff

2009-10-21 Thread walt
On 10/21/2009 01:45 PM, Maxim Wexler wrote:

 ...
 The partitioning scheme and fs hasn't changed. Just the kernel. It
 wasn't a problem before...

Do you use 'make oldconfig' to generate the .config file for your new
kernel?  I'm getting the impression that you did the menuconfig thing
from scratch, but maybe I'm wrong?




Re: [gentoo-user] Re: kernel panic -- finding proper config diff

2009-10-21 Thread Maxim Wexler
Ok, I went back and found what looks like a glaring error. The old
config had the CONFIG_PHYSICAL_START=0x100 under processor
options, the new one was missing a zero. A ha! sez I and fixed it.
Nope. I get the exact same panic.

Setting CONFIG_EXT2_FS_XATTR=y doesn't help either.

On a related note, I see that CONFIG_NR_CPUS only allows for 8 in the
30 kernel. Trying any other number leads to an error Invalid Number
, whereas for the 29 kernel, 64 seems to be the default.



On 10/21/09, Maxim Wexler maxim.wex...@gmail.com wrote:
 To me, that looks like /dev/sda1 (which is what the kernel is using as
 root=) doesn't contain any of the following:
  /sbin/init
  /etc/init
  /bin/init
  /bin/sh

 Noting that the kernel output implied that it was an ext2 filesystem,
 that looks like it mounted your /boot as /, which fails as there isn't
 any init available on it.

 The partitioning scheme and fs hasn't changed. Just the kernel. It
 wasn't a problem before. Also, I don't think the fs id is significant
 since, if you look at the photo attached to the bug report, ext3 is
 involved in that case. In the new config  have CONFIG_EXT2_FS_XATTR is
 not set,  whereas it's set 'y' in the old. Maybe that's it.  The
 help page says choose N if unsure, which is what I did this time.
 I'll wait to hear back from the group and give it another try.

 mw




Re: [gentoo-user] Re: Colors corrupted in X after returning from text console

2009-10-21 Thread Albert Hopkins
On Wed, 2009-10-21 at 18:11 -0700, walt wrote:
 On 10/21/2009 03:55 PM, Albert Hopkins wrote:
  ...All 3 of my systems with Intel graphics run
  KMS with X with no xorg.conf at all...
 
 How do you deal with font paths?  That's one of the few reasons
 I still have an xorg.conf.
 

Font paths?  You mean X11 fonts? Who needs those?  The only app I ever
use that uses those is xterm, and it just requires fixed.  Everything
else I uses uses freetype/fontconfig.   But xset tells me
that /usr/share/fonts/misc/ is already in my font path and, apparently
that's all that I need for bitcrap fonts.




Re: [gentoo-user] Colors corrupted in X after returning from text console

2009-10-21 Thread waltdnes
On Wed, Oct 21, 2009 at 06:55:50PM -0400, Albert Hopkins wrote

 You may not have do that.  All 3 of my systems with Intel graphics run
 KMS with X with no xorg.conf at all.  But since you're running stable
 YMMV.

  Fortunately I've set up lilo to boot up from separate Production and
Experimental kernels.  This allows me to reboot and flee to a sane
config if things go wrong.  It appears that nothing is simple.  The Intel
driver works great in X, without an xorg.conf.  However, it insists on
running framebuffer in text console mode.  I *CANNOT* turn off framebuffer.
Passing parameters to lilo via...

append = noexec=on noexec32=on nofb

doesn't help.  In make menuconfig graphics/console, I see

-*- Framebuffer Console support

there is no box to uncheck.  Could it be related to my /etc/make.conf

VIDEO_CARDS=intel vga

  Would changing that to VIDEO_CARDS=intel (and re-emerging xorg) help?

-- 
Walter Dnes waltd...@waltdnes.org



[gentoo-user] SIT-file format (Mac?) on linux

2009-10-21 Thread meino . cramer

Hi,

 does anyone know an unpacker for the sit fileformat
 (I think, this one is Mac-based?!) ?

 Thank you very much for any help in advance!

 Have a nice weekende!
 Best regards,
  mcc

-- 
Please don't send me any Word- or Powerpoint-Attachments
unless it's absolutely neccessary. - Send simply Text.
See http://www.gnu.org/philosophy/no-word-attachments.html
In a world without fences and walls nobody needs gates and windows.




Re: [gentoo-user] Colors corrupted in X after returning from text console

2009-10-21 Thread Albert Hopkins
On Wed, 2009-10-21 at 22:13 -0400, waltd...@waltdnes.org wrote:
 On Wed, Oct 21, 2009 at 06:55:50PM -0400, Albert Hopkins wrote
 
  You may not have do that.  All 3 of my systems with Intel graphics run
  KMS with X with no xorg.conf at all.  But since you're running stable
  YMMV.
 
   Fortunately I've set up lilo to boot up from separate Production and
 Experimental kernels.  This allows me to reboot and flee to a sane
 config if things go wrong.  It appears that nothing is simple.  The Intel
 driver works great in X, without an xorg.conf.  However, it insists on
 running framebuffer in text console mode.  I *CANNOT* turn off framebuffer.
 Passing parameters to lilo via...
 
 append = noexec=on noexec32=on nofb
 
 doesn't help.  In make menuconfig graphics/console, I see
 
 -*- Framebuffer Console support
 
 there is no box to uncheck.  Could it be related to my /etc/make.conf
 
 VIDEO_CARDS=intel vga
 
   Would changing that to VIDEO_CARDS=intel (and re-emerging xorg) help?
 

KMS drivers and framebuffer console drivers are different and AFAIK
mutually exclusive.  The boot parameter to disable KMS would be, e.g.,
i915.modeset=0




Re: [gentoo-user] Re: kernel panic -- finding proper config diff

2009-10-21 Thread Maxim Wexler
 Do you use 'make oldconfig' to generate the .config file for your new
 kernel?  I'm getting the impression that you did the menuconfig thing
 from scratch, but maybe I'm wrong?

I did the 30-r6 from scratch, then copied the .config over to the
30-r7 slot and ran make oldconfig. No change.

Least I still have the 29 kernel; it works fine ;)

mw



Re: [gentoo-user] Re: kernel panic -- finding proper config diff

2009-10-21 Thread William Kenworthy
Run diff on both config files and see what you missed ...

BillK

On Wed, 2009-10-21 at 21:28 -0600, Maxim Wexler wrote:
  Do you use 'make oldconfig' to generate the .config file for your new
  kernel?  I'm getting the impression that you did the menuconfig thing
  from scratch, but maybe I'm wrong?
 
 I did the 30-r6 from scratch, then copied the .config over to the
 30-r7 slot and ran make oldconfig. No change.
 
 Least I still have the 29 kernel; it works fine ;)
 
 mw
 
-- 
William Kenworthy bi...@iinet.net.au
Home in Perth!




Re: [gentoo-user] Re: kernel panic -- finding proper config diff

2009-10-21 Thread Maxim Wexler
I missed?

Read the OP again.


On 10/21/09, William Kenworthy bi...@iinet.net.au wrote:
 Run diff on both config files and see what you missed ...

 BillK

 On Wed, 2009-10-21 at 21:28 -0600, Maxim Wexler wrote:
  Do you use 'make oldconfig' to generate the .config file for your new
  kernel?  I'm getting the impression that you did the menuconfig thing
  from scratch, but maybe I'm wrong?

 I did the 30-r6 from scratch, then copied the .config over to the
 30-r7 slot and ran make oldconfig. No change.

 Least I still have the 29 kernel; it works fine ;)

 mw

 --
 William Kenworthy bi...@iinet.net.au
 Home in Perth!






Re: [gentoo-user] Re: cannot configure native vmware tools

2009-10-21 Thread Xi Shen
well, currently i am using the open-vm-tool, which is the open source
version. but i want to know if they are the same in function. can
someone tell me?

thanks.


On Thu, Oct 22, 2009 at 6:32 AM, Keith Dart ke...@dartworks.biz wrote:
 === On Wed, 10/21, Nikos Chantziaras wrote: ===
 Isn't that for having Gentoo as host OS only?  (As opposed to running
 Gentoo as a guest inside another OS.)

 ===

 Oooh... you mean running Gentoo as a guest.

 Well, you do have to have built a kernel first (or at least a make
 config). The build sets up some symlinks that building other,
 third-party modules need.

 I also have a modified rc script for the tools, that works with openrc.
 Let me know if you want it.

 I also have an up-to-date Gentoo x86 server VM with the tools already
 installed.


 -- Keith Dart

 --
 -- 
 Keith Dart
 ke...@dartworks.biz
 ===





-- 
Best Regards,
David Shen

http://twitter.com/davidshen84/
http://meme.yahoo.com/davidshen84/



Re: [gentoo-user] Confusion

2009-10-21 Thread Mick
On Thursday 22 October 2009, Neil Bothwick wrote:
 On Wed, 21 Oct 2009 21:53:54 +0100, Mick wrote:
  Hmm ... I seem to have these three in my world file (not sure about the
  OP):
 
  x11-libs/qt
  x11-libs/qt-core
  x11-libs/qt-gui
 
  Should I delete them?

 Do you run them yourself? If not, they don't belong in world. The first
 could be particularly troublesome as it is masked for QT4.

Thanks.  It seems that I have forgotten to add -1 to emerge once too many and 
keep finding stuff that shouldn't be in world.

-- 
Regards,
Mick


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