[gentoo-user] Re: kolab questions
Hi James, James [EMAIL PROTECTED] writes: Hello, I just found this page: http://www.gentoo.org/proj/en/kolab/ Groupware is the general category. My questions are: Has anyone installed this and if so how do you like it? As I'm the maintainer of the project: I installed it and I liked it. But I lack an objective view ;) Would one run a traditionally sendmail/postfix server and then serve mail/data to the this Kolab groupware server? Being able to serve mail/data to a variety of client PC would be great. You can also use such a relay setup but Kolab is a full mail server for itself. It actually comes with postfix. I'm not too familiar with groupware, but I've been asked to build a website/system for lots of coaches, kids and others to use related to a particular sport. Maybe Kolab would be a good communications/email system for them? Yes, Kolab might be quite good in that area. Especially if stuff like resource booking and event planning is involved. What might not be too good is to base this on Gentoo. The Kolab2/Gentoo project is still rather experimental. If you need to serve customers you are still better of with the far more stable Kolab2/OpenPKG (http://www.kolab.org). Cheers, Gunnar Comments and ideas are welcome. James -- gentoo-user@lists.gentoo.org mailing list -- gentoo-user@lists.gentoo.org mailing list
[gentoo-user] Re: kolab questions
Hi Alan, Alan McKinnon [EMAIL PROTECTED] writes: On Wednesday 23 April 2008, James wrote: Hello, I just found this page: http://www.gentoo.org/proj/en/kolab/ Groupware is the general category. My questions are: Has anyone installed this and if so how do you like it? It sucks. It sucks so much I dare not describe how and why for fear of falling afoul of libel laws. Give it a try, please :) Impi tried to use it. Impi is a South African Ubuntu derivative owned by Canonical intended to be sold to governments and large corporates. Kolab is infested with super-secret proprietary stuff that is anything but free software, all due to the way the German government structured the Kolab tender process. This is incorrect and I don't believe you will be able to clearly identify any super-secret proprietary stuff within Kolab. But as said above: Please give it a try. Apparently it only really works with KMail. To correct this: While Kontact is the primary client, it works fine with Outlook and Thunderbird, too. In addition have the Horde webmailer. Kolab has a pretty good if not the best Cross-OS client coverage in the area of groupware servers. If you are really interested in Kolab, I would advise you to do a proof of concept trial run for real and make up your own mind. Thats probably always good :) Cheers, Gunnar -- Alan McKinnon alan dot mckinnon at gmail dot com -- gentoo-user@lists.gentoo.org mailing list -- Gunnar WrobelGentoo Developer __C_o_n_t_a_c_t__ Mail: [EMAIL PROTECTED] WWW: http://www.gunnarwrobel.de IRC: #gentoo-web at freenode.org _ -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] somebody using x11-drm?
=== On Thursday 24 April 2008, Florian Philipp wrote: === ... Yep, I'm using it (and the kernel module) and I get the same output of dmesg | grep drm If I remember correctly, only =x11-base/x11-drm-20071019 worked for me (at least there was a reason for me to put it in /etc/portage/package.keywords) How to determine drm works? 'dmesg | grep drm' out is: [drm] Initialized drm 1.1.0 20060810 [drm] Initialized i915 1.6.0 20060119 on minor 0 'lsmod | grep drm' out is: drm92648 3 i915 and 'lspci | grep -i vga' out is: 00:02.0 VGA compatible controller: Intel Corporation 82G965 Integrated Graphics Controller (rev 02) Andrew -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] somebody using x11-drm?
On Thu, 2008-04-24 at 12:52 +0400, Andrew Gaydenko wrote: === On Thursday 24 April 2008, Florian Philipp wrote: === ... Yep, I'm using it (and the kernel module) and I get the same output of dmesg | grep drm If I remember correctly, only =x11-base/x11-drm-20071019 worked for me (at least there was a reason for me to put it in /etc/portage/package.keywords) How to determine drm works? 'dmesg | grep drm' out is: [drm] Initialized drm 1.1.0 20060810 [drm] Initialized i915 1.6.0 20060119 on minor 0 'lsmod | grep drm' out is: drm92648 3 i915 and 'lspci | grep -i vga' out is: 00:02.0 VGA compatible controller: Intel Corporation 82G965 Integrated Graphics Controller (rev 02) Andrew Let's say it that way: 3D-acceleration works and unmasking =x11-base/x11-drm-20071019 was part of the solution. signature.asc Description: This is a digitally signed message part
Re: [gentoo-user] somebody using x11-drm?
=== On Thursday 24 April 2008, Florian Philipp wrote: === On Thu, 2008-04-24 at 12:52 +0400, Andrew Gaydenko wrote: === On Thursday 24 April 2008, Florian Philipp wrote: === ... Yep, I'm using it (and the kernel module) and I get the same output of dmesg | grep drm If I remember correctly, only =x11-base/x11-drm-20071019 worked for me (at least there was a reason for me to put it in /etc/portage/package.keywords) How to determine drm works? 'dmesg | grep drm' out is: [drm] Initialized drm 1.1.0 20060810 [drm] Initialized i915 1.6.0 20060119 on minor 0 'lsmod | grep drm' out is: drm92648 3 i915 and 'lspci | grep -i vga' out is: 00:02.0 VGA compatible controller: Intel Corporation 82G965 Integrated Graphics Controller (rev 02) Andrew Let's say it that way: 3D-acceleration works and unmasking =x11-base/x11-drm-20071019 was part of the solution. Aha, 3D... I bother about 2D only. Does it mean I can bravely forget all these drm-related things? -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] somebody using x11-drm?
On Thu, 2008-04-24 at 14:15 +0400, Andrew Gaydenko wrote: === On Thursday 24 April 2008, Florian Philipp wrote: === On Thu, 2008-04-24 at 12:52 +0400, Andrew Gaydenko wrote: === On Thursday 24 April 2008, Florian Philipp wrote: === ... Yep, I'm using it (and the kernel module) and I get the same output of dmesg | grep drm If I remember correctly, only =x11-base/x11-drm-20071019 worked for me (at least there was a reason for me to put it in /etc/portage/package.keywords) How to determine drm works? 'dmesg | grep drm' out is: [drm] Initialized drm 1.1.0 20060810 [drm] Initialized i915 1.6.0 20060119 on minor 0 'lsmod | grep drm' out is: drm92648 3 i915 and 'lspci | grep -i vga' out is: 00:02.0 VGA compatible controller: Intel Corporation 82G965 Integrated Graphics Controller (rev 02) Andrew Let's say it that way: 3D-acceleration works and unmasking =x11-base/x11-drm-20071019 was part of the solution. Aha, 3D... I bother about 2D only. Does it mean I can bravely forget all these drm-related things? I'm not sure if 2D-acceleration depends on it as well. If you don't suffer from problems while scrolling, watching videos and so on, you might not need it. signature.asc Description: This is a digitally signed message part
[gentoo-user] Scriptable terminal program
Is anyone aware of a scriptable terminal program? Requirements are that I should be able to open the program from a script, create multiple tabs, name the tabs, connect the tabs to a remote computer via FTP, run a login script which reads the info coming from the remote computer and sends back the appropriate response, and then leaves the connection open at a command line prompt. I can't seem to find anything which supports everything. I can't find any way, for example, to open multiple Konsole tabs from the command line. Thanks in advance for any suggestions. -- gentoo-user@lists.gentoo.org mailing list
[gentoo-user] Re: Scriptable terminal program
Daniel D Jones wrote: Is anyone aware of a scriptable terminal program? Requirements are that I should be able to open the program from a script, create multiple tabs, name the tabs, connect the tabs to a remote computer via FTP, run a login script which reads the info coming from the remote computer and sends back the appropriate response, and then leaves the connection open at a command line prompt. I can't seem to find anything which supports everything. I can't find any way, for example, to open multiple Konsole tabs from the command line. Thanks in advance for any suggestions. You might have some luck using screen together with a custom screenrc config file like the one below: ## Screen settings # Disable startup message startup_message off # Keep screen running if terminal detaches abruptly autodetach on # Increase scrollback buffer defscrollback 1 # Set statusbar caption always %{bw} %n %t %{kb}| %{wb}%W %= %D %Y-%m-%d %c:%s # Set title bar termcap xterm hs@:cs=\E[%i%d;%dr:im=\E[4h:ei=\E[4l terminfo xterm hs@:cs=\E[%i%p1%d;%p2%dr:im=\E[4h:ei=\E[4l # Set default shell shell bash ## Set some environment variables: setenv DISPLAY ':0' ## Keybindings # Key codes can be obtained by running cat /dev/null and typing the key combination # Remove some default key bindings bind . bind ^\ bind \\ bind h bind ^h bind } # bind Shift+PgUp/PgDn bindkey -m ^[[5;2~ stuff ^b bindkey -m ^[[6;2~ stuff ^f ## Default screens to open on startup # screen -t ws1 0 ssh -l root 10.0.0.1 screen -t ws2 0 ssh -l root 10.0.0.2 screen -t ws3 0 ssh -l root 10.0.0.3 screen -t ws4 0 ssh -l root 10.0.0.4 select 0 -- gentoo-user@lists.gentoo.org mailing list
[gentoo-user] QCA
emerge -uDvat world These are the packages that would be merged, in reverse order: Calculating world dependencies... done! [ebuild NS ] app-crypt/qca-1.0-r2 0 kB [blocks B ] app-crypt/qca-1.0-r3 (is blocking app-crypt/qca-2.0.0-r2) Total: 1 package (1 in new slot, 1 block), Size of downloads: 0 kB !!! Error: The above package list contains packages which cannot be installed !!!at the same time on the same system. Can anyone tell me what's causing this? qca version 2 is installed. I can unmerge and then re-emerge it. Why is the system trying to install version 1? If it's a dependency, shouldn't the depending file be listed? Thanks in advance. -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] QCA
Am Donnerstag, 24. April 2008 schrieb ext Daniel D Jones: emerge -uDvat world These are the packages that would be merged, in reverse order: Calculating world dependencies... done! [ebuild NS ] app-crypt/qca-1.0-r2 0 kB [blocks B ] app-crypt/qca-1.0-r3 (is blocking app-crypt/qca-2.0.0-r2) Total: 1 package (1 in new slot, 1 block), Size of downloads: 0 kB !!! Error: The above package list contains packages which cannot be installed !!!at the same time on the same system. Can anyone tell me what's causing this? qca version 2 is installed. I can unmerge and then re-emerge it. Why is the system trying to install version 1? If it's a dependency, shouldn't the depending file be listed? qca-2.0 is causing this. It's blocking qca-1.0-r3. So update 1.0 from r2 to r3. As for the deps, a quick grep through the portage tree showed some KDE packages as well as psi. 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: www.keyserver.net signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Scriptable terminal program
On Thu, 24 Apr 2008 11:41:52 +, Daniel D Jones wrote: I can't seem to find anything which supports everything. I can't find any way, for example, to open multiple Konsole tabs from the command line. dcop konsole-$PID konsole newSession -- Neil Bothwick In a country of free speech, why are there phone bills? signature.asc Description: PGP signature
Re: [gentoo-user] QCA
On Thursday 24 April 2008, Daniel D Jones wrote: emerge -uDvat world These are the packages that would be merged, in reverse order: Calculating world dependencies... done! [ebuild NS ] app-crypt/qca-1.0-r2 0 kB [blocks B ] app-crypt/qca-1.0-r3 (is blocking app-crypt/qca-2.0.0-r2) Total: 1 package (1 in new slot, 1 block), Size of downloads: 0 kB !!! Error: The above package list contains packages which cannot be installed !!!at the same time on the same system. Can anyone tell me what's causing this? qca version 2 is installed. I can unmerge and then re-emerge it. Why is the system trying to install version 1? If it's a dependency, shouldn't the depending file be listed? qca is recently slotted. The latest version in SLOT 0 works with SLOT 2, but nothing earlier. run 'equery depends qca' to find out if you really do need it and what is pulling it in (or emerge -t). You can always: emerge -avC qca:0 ; emerge -av qca:0 to fix it if you do want it -- Alan McKinnon alan dot mckinnon at gmail dot com -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] screen locks too frequently
On Wed, 2008-04-23 at 16:02 -0400, John P. Burkett wrote: My only clue is the appearance of the locked screen: In the center of the screen there is a rectangle, within which appear, from top to bottom, the user's name, the machine's name, a blank for the user's password, and finally three buttons labeled switch user, cancel, and unlock. I would be very grateful for suggestions about how to discover what program is locking the system and how to change its behavior. sounds like gnome-screensaver. I prefer xscreensaver for it's greater configuration options - opinions vary. To disable it, you can use gnome-screensaver-preferences and play with the options. To get rid of it, use gnome-session-properties. HTH, -- Iain Buchanan iaindb at netspace dot net dot au History repeats itself -- the first time as a tragi-comedy, the second time as bedroom farce. -- gentoo-user@lists.gentoo.org mailing list
[gentoo-user] Re: somebody using x11-drm?
is somebody using the package x11-base/x11-drm for intel's integrated graphics? I'd like to see the output of dmesg |grep -i drm to see, of i actually have some advanatge of using it. With the kernel's own 2.6.25, my dmesg|grep -i drm says: Apr 23 17:43:08 bert kernel: [drm] Initialized drm 1.1.0 20060810 Apr 23 17:43:08 bert kernel: [drm] Initialized i915 1.6.0 20060119 on minor 0 Yep, I'm using it (and the kernel module) and I get the same output of dmesg | grep drm If I remember correctly, only =x11-base/x11-drm-20071019 worked for me (at least there was a reason for me to put it in /etc/portage/package.keywords) Looking at the sources of that exact version (20071019), i think the output should be Initialized i915 1.11.0 20071019. At least the date should match. Are you sure, that you use the modules from the gentoo-package and not the ones from the kernel? signature.asc Description: OpenPGP digital signature
[gentoo-user] Doubt about FLAG use
Hi there guys. I've been reading the handbook about the FLAGS featrure usage, very powerfull indeed, but, I just was wondering if there a way to define some flags for a particular aplication and not in general. Lets take a real case, mplayer, I'd like to revome some stuff I do not use/like, for example, ipv6/ftp, joyskit for exmaple, is there a way to define this kind of thing like USE{mplayer}-ipv6 -ftp in make.conf ? Thanks for your time and support. -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Doubt about FLAG use
On Thursday 24 April 2008, 15:49, Net Warrior wrote: Hi there guys. I've been reading the handbook about the FLAGS featrure usage, very powerfull indeed, but, I just was wondering if there a way to define some flags for a particular aplication and not in general. Lets take a real case, mplayer, I'd like to revome some stuff I do not use/like, for example, ipv6/ftp, joyskit for exmaple, is there a way to define this kind of thing like USE{mplayer}-ipv6 -ftp in make.conf ? Thanks for your time and support. man portage explains this and many other things you always wanted to know about portage but were afraid to ask (cit.). Hint: you have to use /etc/portage/package.use. But read the man page thoroughly anyway. -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Doubt about FLAG use
On Thursday 24 April 2008, Net Warrior wrote: Hi there guys. I've been reading the handbook about the FLAGS featrure usage, very powerfull indeed, but, I just was wondering if there a way to define some flags for a particular aplication and not in general. /etc/portage/package.use/* Check the various portage man pages: man emerge man 5 ebuild man 5 portage It's also in the handbook somewhere (don't recall off-hand where) -- Alan McKinnon alan dot mckinnon at gmail dot com -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] somebody using x11-drm?
On Thursday 24 April 2008, Florian Philipp wrote: On Thu, 2008-04-24 at 03:40 +0200, Sven Köhler wrote: Hi, is somebody using the package x11-base/x11-drm for intel's integrated graphics? I'd like to see the output of dmesg |grep -i drm to see, of i actually have some advanatge of using it. With the kernel's own 2.6.25, my dmesg|grep -i drm says: Apr 23 17:43:08 bert kernel: [drm] Initialized drm 1.1.0 20060810 Apr 23 17:43:08 bert kernel: [drm] Initialized i915 1.6.0 20060119 on minor 0 Yep, I'm using it (and the kernel module) and I get the same output of dmesg | grep drm If I remember correctly, only =x11-base/x11-drm-20071019 worked for me (at least there was a reason for me to put it in /etc/portage/package.keywords) I also experienced problems getting one to work and settled with this: $ dmesg |grep -i drm [drm] Initialized drm 1.1.0 20060810 [drm] Initialized radeon 1.26.0 20060524 on minor 0 [drm] Used old pci detect: framebuffer loaded [drm] Setting GART location based on new memory map [drm] writeback test succeeded in 1 usecs HTH. -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] OT: Question re: UUID
On Wednesday 23 April 2008, Neil Bothwick wrote: On Wed, 23 Apr 2008 23:07:02 +0100, Neil Bothwick wrote: So, mkreiserfs --label My_Home /dev/hda5 will not wipe out my partition, right? I don't want to cause unnecessary harm to my machine . . . Of course it will wipe the partition, that's what mkreiserfs does. Reading that back, it seems a little brusque (a polite word for arsey). Sorry if anyone else took it that way, it wasn't intended. No problem, I am adequately thick skinned to not have taken it personally in the unlikely event that it were so intended - we'll you got to be to work here . . . :-)) Reiserfstune it is then - I was supposed to know that but when you are suddenly threatened with redundancy it all gets a bit blurry. Thanks guys. -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Doubt about FLAG use
On Thursday 24 April 2008, 16:04, Alan McKinnon wrote: /etc/portage/package.use/* Check the various portage man pages: man emerge man 5 ebuild man 5 portage It's also in the handbook somewhere (don't recall off-hand where) Here: http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=2chap=2 Unfortunately, it's in the part of the handbook almost noone reads, since they all stop at the first part, as soon as they finish installation. Nonetheless, the handbook section not installation-related are by far much more interesting and worth reading than the first part. -- gentoo-user@lists.gentoo.org mailing list
[gentoo-user] Re: kolab questions
Gunnar Wrobel wrobel at gentoo.org writes: What might not be too good is to base this on Gentoo. The Kolab2/Gentoo project is still rather experimental. If you need to serve customers you are still better of with the far more stable Kolab2/OpenPKG (http://www.kolab.org). Hello Gunnar, Thanks for all of the tips. However, Gentoo has spoiled me to the point that I avoid most other distros because, I end up blaming my inept system admin skills on the other distros (Gentoo has absolutely spoiled me). I also have to decide if it is 'overkill' for what I need. If I did install 'Kolab/OpenPKG' is there robust support when you have trouble? Does one chroot an install of Kolab or does it require a complete stand alone system? Any chance in the future that Kolab will be a stable package (or at least close)? I'm not really look for another keyboard adventure (got a few too many of those going on right now). I'm going to pop over to the Kolab site and google some more before making a final decision. James -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Doubt about FLAG use
I'm on it :) thank you guys !! 2008/4/24, Etaoin Shrdlu [EMAIL PROTECTED]: On Thursday 24 April 2008, 16:04, Alan McKinnon wrote: /etc/portage/package.use/* Check the various portage man pages: man emerge man 5 ebuild man 5 portage It's also in the handbook somewhere (don't recall off-hand where) Here: http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=2chap=2 Unfortunately, it's in the part of the handbook almost noone reads, since they all stop at the first part, as soon as they finish installation. Nonetheless, the handbook section not installation-related are by far much more interesting and worth reading than the first part. -- gentoo-user@lists.gentoo.org mailing list -- gentoo-user@lists.gentoo.org mailing list
[gentoo-user] problems compiling tk-8.14.8
i googled some, but apparently no-one else is having problems with tk-8.14.8. here, compilation fails thus: i686-pc-linux-gnu-gcc -c -O2 -O2 -march=athlon-xp -pipe -fomit-frame-pointer -pipe -Wall -Wno-implicit-int -fno-strict-aliasing -fPIC -I/va r/tmp/portage/dev-lang/tk-8.4.18/work/tk8.4.18/unix -I/var/tmp/portage/dev-lang/tk-8.4.18/work/tk8.4.18/unix/../generic -I/var/tmp/portage/d ev-lang/tk-8.4.18/work/tk8.4.18/unix/../bitmaps -I/usr/lib/tcl8.4/include/generic -DPACKAGE_NAME=\\ -DPACKAGE_TARNAME=\\ -DPACKAGE_VERS ION=\\ -DPACKAGE_STRING=\\ -DPACKAGE_BUGREPORT=\\ -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_S TRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_UNISTD_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DHAVE_PTHREAD_ATTR_SETSTACKSIZE=1 -DHAVE_PTHREAD_ATFORK=1 -DTCL_THREADS=1 -DPEEK_XCLOSE IM=1 -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_TYPE=long\ long -DHAVE_STRUCT_STAT64=1 -DHAVE_OPEN64=1 -DHAVE_LSEEK64=1 -DHAVE_TYPE_OFF64_T=1 -D HAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_PW_GECOS=1 -DTCL_NO_DEPRECATED -DUSE_TCL_STUBS /var/tmp/portage/dev-lang/tk-8.4.18/work/tk8.4.18/unix/../generic/tkConsole.c /var/tmp/portage/dev-lang/tk-8.4.18/work/tk8.4.18/unix/../generic/tkConsole.c:76: error: 'TCL_CHANNEL_VERSION_4' undeclared here (not in a function) /var/tmp/portage/dev-lang/tk-8.4.18/work/tk8.4.18/unix/../generic/tkConsole.c:90: warning: excess elements in struct initializer /var/tmp/portage/dev-lang/tk-8.4.18/work/tk8.4.18/unix/../generic/tkConsole.c:90: warning: (near initialization for 'consoleChannelType') make: *** [tkConsole.o] Error 1 make: *** Waiting for unfinished jobs -- gentoo-user@lists.gentoo.org mailing list
[gentoo-user] Re: root password on 2008.1-i686 minimal install
reader at newsguy.com writes: Far as the live cd goes: It still needs to be made clear how to get to root right in the dialog during startup not on some webpage. Well, I have not tried any of the 2008 installation media, yet. However on 2007, here's what I use to do to get root, during the graphical install procedure. At the top, under one of the main buttons, I'd find and launch a graphical terminal session. Then just type in 'sudo' or 'sudo -' or something like that, and it throws you into root. You can then do anything you want as root, like run lshw or lspci -v or such while continuing on with the graphical installation. I'm not sure if this is available in the 2008 installation media. hth, James -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Re: kolab questions
Am Donnerstag, 24. April 2008 schrieb Gunnar Wrobel: Give it a try, please :) I would, but unfortunately this bug keeps me from installing it: http://bugs.gentoo.org/show_bug.cgi?id=215716 Bye... Dirk signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Doubt about FLAG use
USE=-ipv6 -ftp emerge -av mplayer Net Warrior schrieb: Hi there guys. I've been reading the handbook about the FLAGS featrure usage, very powerfull indeed, but, I just was wondering if there a way to define some flags for a particular aplication and not in general. Lets take a real case, mplayer, I'd like to revome some stuff I do not use/like, for example, ipv6/ftp, joyskit for exmaple, is there a way to define this kind of thing like USE{mplayer}-ipv6 -ftp in make.conf ? Thanks for your time and support. -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Doubt about FLAG use
1. Please don't top post 2. This is a very bad suggestion, as portage does not record the settings used. With the next upgrade of mplayer, especially if it's a deep world update, mplayer will be remerged with standard USE flags, modified by make.conf and package.use. This will potentially pull in unwanted ipv6 stuff for example. 'USE=flags emerge options packages' has been deprecated for a very long time now for these reasons. On Thursday 24 April 2008, KH wrote: USE=-ipv6 -ftp emerge -av mplayer Net Warrior schrieb: Hi there guys. I've been reading the handbook about the FLAGS featrure usage, very powerfull indeed, but, I just was wondering if there a way to define some flags for a particular aplication and not in general. Lets take a real case, mplayer, I'd like to revome some stuff I do not use/like, for example, ipv6/ftp, joyskit for exmaple, is there a way to define this kind of thing like USE{mplayer}-ipv6 -ftp in make.conf ? Thanks for your time and support. -- Alan McKinnon alan dot mckinnon at gmail dot com -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Doubt about FLAG use
On Thursday 24 April 2008, 18:54, KH wrote: USE=-ipv6 -ftp emerge -av mplayer To the OP: this is exactly the kind of thing that should be avoided. -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Doubt about FLAG use
On Thursday 24 April 2008, 19:14, Alan McKinnon wrote: 1. Please don't top post This time, you top posted too. Was this deliberate or by accident? -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Doubt about FLAG use
Hi, what does top post mean? My fault. I new I read it somewhere but I did not spend enough time to read everything. http://www.gentoo.org/doc/en/handbook/handbook-amd64.xml?part=2chap=2 Declare temporary USE flags Sometimes you want to set a certain USE setting only once. Instead of editing /etc/make.conf twice (to do and undo the USE changes) you can just declare the USE variable as environment variable. Remember that, when you re-emerge or update this application (either explicitly or as part of a system update) your changes will be lost! As an example we will temporarily remove java from the USE setting during the installation of seamonkey. Code Listing 2.5: Using USE as environment variable # USE=-java emerge seamonkey Alan McKinnon schrieb: 1. Please don't top post 2. This is a very bad suggestion, as portage does not record the settings used. With the next upgrade of mplayer, especially if it's a deep world update, mplayer will be remerged with standard USE flags, modified by make.conf and package.use. This will potentially pull in unwanted ipv6 stuff for example. 'USE=flags emerge options packages' has been deprecated for a very long time now for these reasons. On Thursday 24 April 2008, KH wrote: USE=-ipv6 -ftp emerge -av mplayer -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Doubt about FLAG use
On Thursday 24 April 2008, KH wrote: Hi, what does top post mean? It means the way you are replying to messages. When you reply, your answer goes below the bit you are responding to and not above like you are doing. The reason is that most people on support lists are sane rational people who read things from beginning to end (top to bottom) and like things in date order. Very few of us start a book at the back and read towards the front, yet top-posting forces everyone else to do exactly that. You will find people who have thousands of reasons why top-posting is OK but they are all very selfish. Around here it's mostly considered rather rude. Microsoft are directly responsible for this current disease of an entire generation of users who read backwards. Top posting is Outlook's default - no-one knows why. No-one knows why Microsoft does the things they do. Here in Gentoo-world, we do stuff the right way. -- Alan McKinnon alan dot mckinnon at gmail dot com -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Doubt about FLAG use
On Thursday 24 April 2008, Etaoin Shrdlu wrote: On Thursday 24 April 2008, 19:14, Alan McKinnon wrote: 1. Please don't top post This time, you top posted too. Was this deliberate or by accident? Oh. My. God. /me feels blood drain from head /me gets all cold and shaky /me goes to check mail archive /me hangs head in shame /me feels like an utter twit I can't call it an accident. It's not deliberate. It's far far worse than that - I stopped thinking for a minute. -- Alan McKinnon alan dot mckinnon at gmail dot com -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Doubt about FLAG use
Net Warrior wrote: I'm on it :) thank you guys !! Here's an example from my server to get you going # apache stuff # urandom makes Apache start faster on unused systems dev-libs/aprurandom www-servers/apache -threads mpm-prefork # other daemons net-dns/bind-mysql -threads net-mail/courier-imap -berkdb fam gdbm dev-libs/cyrus-sasl -berkdb -mysql authdaemond urandom www-servers/lighttpd-mysql -ssl fam mail-mta/postfixmysql sasl ssl vda I like to put the subtracts in front and the adds after as well as keeping them in alphabetical order. Comments will also help you remember why you did stuff so when you jump to the next major version you can glance over package.use and see if anything jumps out at you. It all makes it easier to read and manage as your /etc/portage/* files gets more complicated. kashani -- gentoo-user@lists.gentoo.org mailing list
[gentoo-user] Grub heartbreaker
Just when I began to think I knew a thing or two about grub I'm finding I am failing to get a working grub.conf going on a new install. True, the install is inside a vmware machine on windows vista but that has not presented a problem in previous versions of windows and it does not appear to be host OS related anyway. When I attempt to boot, instead of the normal selection one expects from grub I get the grub command line. So assuming I've made some mistake in grub.conf I try to boot from grub command line. root = (hd0,0) (which is /dev/sda1 in linux terms) kernel /kernel-2.6.25-r1 boot But it fails with a message saying please append a working root=?? to the boot commands. So reloading the install ISO I mount /mnt/gentoo/boot and edit grub.conf to say: title=kernel-2.6.25-r1 root (hd0,0) kernel /kernel-2.6.25-r1 root=/dev/sda3 That fails kernel /kernel-2.6.25-r1 root=/dev/hda3 (Thinking maybe grub does not understand sda) That Fails kernel /kernel-2.6.25-r1 root=(hd0)/sda3 Fails I've even tried: kernel /kernel-2.6.25-r1 root=(hd0,2) And another failure... all with the same message about appending a working `root=???' I'm about out of ideas here. With the livecd for 2008.1 running, saying: mount /dev/sda3 /mnt/gentoo and mount /dev/sda1 /mnt/gentoo/boot Does mount those devices as expected. Inside the grub command line when trying to boot the new install root (hd0,0) does find the root partition and tell me its exf2fs. kernel /kerntab Does complete to `/kernel-2.6.25-r1' I'm not getting where the problem is. -- gentoo-user@lists.gentoo.org mailing list
[gentoo-user] Re: What overwrites resolv.conf
Michael Higgins [EMAIL PROTECTED] wrote: Is there a definitive guide to the syntax of the various config files? /etc/conf.d/net.example and /etc/conf.d/wireless.example are pretty well annotated. -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Grub heartbreaker
On Thursday 24 April 2008, [EMAIL PROTECTED] wrote: So assuming I've made some mistake in grub.conf I try to boot from grub command line. root = (hd0,0) (which is /dev/sda1 in linux terms) kernel /kernel-2.6.25-r1 Nope. Kernel needs a root=device parameter. It can't know what is your root partition, that info is in fstab and fstab is on the root partition.So you tell it via a parameter boot But it fails with a message saying please append a working root=?? to the boot commands. expected result. see above. So reloading the install ISO I mount /mnt/gentoo/boot and edit grub.conf to say: title=kernel-2.6.25-r1 root (hd0,0) kernel /kernel-2.6.25-r1 root=/dev/sda3 That fails kernel /kernel-2.6.25-r1 root=/dev/hda3 (Thinking maybe grub does not understand sda) Nothing to do with grub. It's a kernel boot parameter passed verbatim to the kernel and needs valid kernel device names. What's the error you get? Is (hd0,0) a separate /boot? Does it contain a file called kernel-2.6.25-r1 at the top level? And you also should have a ro kernel parameter in there That Fails kernel /kernel-2.6.25-r1 root=(hd0)/sda3 Fails Won't work. (hd0) is a grub thing. You need a /dev/sda3 or similar in there I've even tried: kernel /kernel-2.6.25-r1 root=(hd0,2) Won't work. Same reason. And another failure... all with the same message about appending a working `root=???' I'm about out of ideas here. here's a working grub.conf for illustration: default 0 timeout 10 splashimage=(hd0,0)/grub/splash.xpm.gz title Default root(hd0,0) kernel /vmlinuz root=/dev/sda3 ro title Gentoo-2.6.25 root(hd0,0) kernel /vmlinuz-2.6.25-gentoo root=/dev/sda3 ro Seems my setup is identical to yours: /boot on /dev/sda1 aka (hd0,0) to grub / on /dev/sda3 Only difference is the ro boot parameter, which shouldn't make a difference - it's there for fsck purposes during start-up. What disk driver and disks do you have? Are you 100% sure you are either using the new ata driver (everything is an sd) or have scsi/sata disks? If your disk is IDE with the old driver, it will be an hd and will require that on the kernel line -- Alan McKinnon alan dot mckinnon at gmail dot com -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] /etc/conf.d/net woes with baselayout2
On Thursday 24 April 2008, Neil Bothwick wrote: [EMAIL PROTECTED] ~ $ egrep -v '^#|^$' /etc/conf.d/net iface_eth0=dhcp iface_wlan0=dhcp Those should be config_xxx=dhcp modules=( iwconfig ) And this should now be modules=iwconfig, although I inadvertently left a couple of Bash arrays in mine and it still worked (and I think iwconfig is the default for wireless anyway). Thanks Neil. I see now what happened - baselayout-2/openrc nuked my existing /etc/conf.d/net so I remade it, but used an old net.example for the syntax. Second time this has bitten me! -- Alan McKinnon alan dot mckinnon at gmail dot com -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Grub heartbreaker
on Thursday 04/24/2008 Alan McKinnon([EMAIL PROTECTED]) wrote On Thursday 24 April 2008, [EMAIL PROTECTED] wrote: So assuming I've made some mistake in grub.conf I try to boot from grub command line. root = (hd0,0) (which is /dev/sda1 in linux terms) kernel /kernel-2.6.25-r1 Nope. Kernel needs a root=device parameter. It can't know what is your root partition, that info is in fstab and fstab is on the root partition.So you tell it via a parameter boot But it fails with a message saying please append a working root=?? to the boot commands. expected result. see above. So reloading the install ISO I mount /mnt/gentoo/boot and edit grub.conf to say: title=kernel-2.6.25-r1 root (hd0,0) kernel /kernel-2.6.25-r1 root=/dev/sda3 That fails kernel /kernel-2.6.25-r1 root=/dev/hda3 (Thinking maybe grub does not understand sda) Nothing to do with grub. It's a kernel boot parameter passed verbatim to the kernel and needs valid kernel device names. What's the error you get? Is (hd0,0) a separate /boot? Does it contain a file called kernel-2.6.25-r1 at the top level? And you also should have a ro kernel parameter in there That Fails kernel /kernel-2.6.25-r1 root=(hd0)/sda3 Fails Won't work. (hd0) is a grub thing. You need a /dev/sda3 or similar in there I've even tried: kernel /kernel-2.6.25-r1 root=(hd0,2) Won't work. Same reason. And another failure... all with the same message about appending a working `root=???' I'm about out of ideas here. here's a working grub.conf for illustration: default 0 timeout 10 splashimage=(hd0,0)/grub/splash.xpm.gz title Default root(hd0,0) kernel /vmlinuz root=/dev/sda3 ro title Gentoo-2.6.25 root(hd0,0) kernel /vmlinuz-2.6.25-gentoo root=/dev/sda3 ro Seems my setup is identical to yours: /boot on /dev/sda1 aka (hd0,0) to grub / on /dev/sda3 Only difference is the ro boot parameter, which shouldn't make a difference - it's there for fsck purposes during start-up. What disk driver and disks do you have? Are you 100% sure you are either using the new ata driver (everything is an sd) or have scsi/sata disks? If your disk is IDE with the old driver, it will be an hd and will require that on the kernel line Well, I had to put a lot more parameters for it to work -- I am not using grub but my parameters aside from the ro are init=/linuxrc ramdisk=8192 real_root=/dev/sda2 udev and some more specific to me. I am using something close to the original gentoo configs, so it uses an initrd parameter also which you need separately in grub. Hope this helps. -- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici [EMAIL PROTECTED] -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Grub heartbreaker
quoth the John covici: on Thursday 04/24/2008 Alan McKinnon([EMAIL PROTECTED]) wrote On Thursday 24 April 2008, [EMAIL PROTECTED] wrote: So assuming I've made some mistake in grub.conf I try to boot from grub command line. root = (hd0,0) (which is /dev/sda1 in linux terms) kernel /kernel-2.6.25-r1 Nope. Kernel needs a root=device parameter. It can't know what is your root partition, that info is in fstab and fstab is on the root partition.So you tell it via a parameter boot But it fails with a message saying please append a working root=?? to the boot commands. expected result. see above. So reloading the install ISO I mount /mnt/gentoo/boot and edit grub.conf to say: title=kernel-2.6.25-r1 root (hd0,0) kernel /kernel-2.6.25-r1 root=/dev/sda3 That fails kernel /kernel-2.6.25-r1 root=/dev/hda3 (Thinking maybe grub does not understand sda) Nothing to do with grub. It's a kernel boot parameter passed verbatim to the kernel and needs valid kernel device names. What's the error you get? Is (hd0,0) a separate /boot? Does it contain a file called kernel-2.6.25-r1 at the top level? And you also should have a ro kernel parameter in there That Fails kernel /kernel-2.6.25-r1 root=(hd0)/sda3 Fails Won't work. (hd0) is a grub thing. You need a /dev/sda3 or similar in there I've even tried: kernel /kernel-2.6.25-r1 root=(hd0,2) Won't work. Same reason. And another failure... all with the same message about appending a working `root=???' I'm about out of ideas here. here's a working grub.conf for illustration: default 0 timeout 10 splashimage=(hd0,0)/grub/splash.xpm.gz title Default root(hd0,0) kernel /vmlinuz root=/dev/sda3 ro title Gentoo-2.6.25 root(hd0,0) kernel /vmlinuz-2.6.25-gentoo root=/dev/sda3 ro Seems my setup is identical to yours: /boot on /dev/sda1 aka (hd0,0) to grub / on /dev/sda3 Only difference is the ro boot parameter, which shouldn't make a difference - it's there for fsck purposes during start-up. What disk driver and disks do you have? Are you 100% sure you are either using the new ata driver (everything is an sd) or have scsi/sata disks? If your disk is IDE with the old driver, it will be an hd and will require that on the kernel line Well, I had to put a lot more parameters for it to work -- I am not using grub but my parameters aside from the ro are init=/linuxrc ramdisk=8192 real_root=/dev/sda2 udev and some more specific to me. I am using something close to the original gentoo configs, so it uses an initrd parameter also which you need separately in grub. That would only apply if in fact the OP is using an initrd, which does not appear to be the case, though, the OP may have simply omitted this info. Rather, as Alan mentioned, it seems the problem is that the kernel doesn't agree that /dev/sda3 is the '/' filesystem. I have never used vmware, perhaps it fudges device paths in some way? Hope this helps. -- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici [EMAIL PROTECTED] -d -- darren kirby :: Part of the problem since 1976 :: http://badcomputer.org ...the number of UNIX installations has grown to 10, with more expected... - Dennis Ritchie and Ken Thompson, June 1972 -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Re: What overwrites resolv.conf
On Thu, Apr 24, 2008 at 3:46 PM, »Q« [EMAIL PROTECTED] wrote: Michael Higgins [EMAIL PROTECTED] wrote: Is there a definitive guide to the syntax of the various config files? /etc/conf.d/net.example and /etc/conf.d/wireless.example are pretty well annotated. For a desktop install, the config.example files are great. But for a notebook, creating and maintaining different setups for different networks is troublesome (some of them you'll probably never use again). When travelling or just sitting at a hotel that uses WPA or WEP keys, setting up config files for PSKs or keys is a pain. I searched for some solution and found net-misc/networkmanager. Its a cool solution, as it configures any network on-the-fly, without messing with configuration or keeping files all over. I'm a Gnome user, and the applet sitting at the panel is awesome, as it lists all wireless connections, and also deals with wired networks. Its a must have in my personal opinion for a mobile device, I use it with my Asus EEE. Just sharing some user experience. -- Daniel da Veiga z�b�� z{h���x%��
Re: [gentoo-user] Grub heartbreaker
On Thursday 24 April 2008, darren kirby wrote: Well, I had to put a lot more parameters for it to work -- I am not using grub but my parameters aside from the ro are init=/linuxrc ramdisk=8192 real_root=/dev/sda2 udev and some more specific to me. I am using something close to the original gentoo configs, so it uses an initrd parameter also which you need separately in grub. That would only apply if in fact the OP is using an initrd, which does not appear to be the case, though, the OP may have simply omitted this info. Rather, as Alan mentioned, it seems the problem is that the kernel doesn't agree that /dev/sda3 is the '/' filesystem. I have never used vmware, perhaps it fudges device paths in some way? I read that snippet in the OPs post and didn't grok it's significance. Regardless of the host hardware, VMWare gives you a virtual SCSI disk in the guest, which will be sda3, When reader uses a LiveCD in the guest it gives the correct results so his partition numbers are right. To my knowledge SCSI has always been /dev/sd* so his config is completely correct (assuming not using an initrd). Dunno, I'm stumped. Reader, do you have an XP machine with VMWare where you could copy thr vmware gust over to and try? If that succeeds I'd have to conclude it's YANVO (yet another nefarious vista obstruction) -- Alan McKinnon alan dot mckinnon at gmail dot com -- gentoo-user@lists.gentoo.org mailing list
[gentoo-user] Re: Grub heartbreaker
Alan McKinnon [EMAIL PROTECTED] writes: On Thursday 24 April 2008, [EMAIL PROTECTED] wrote: So assuming I've made some mistake in grub.conf I try to boot from grub command line. root = (hd0,0) (which is /dev/sda1 in linux terms) kernel /kernel-2.6.25-r1 Nope. Kernel needs a root=device parameter. It can't know what is your root partition, that info is in fstab and fstab is on the root partition.So you tell it via a parameter [...] kernel /kernel-2.6.25-r1 root=(hd0)/sda3 Fails Won't work. (hd0) is a grub thing. You need a /dev/sda3 or similar in there I think you are wrong about that. But just a fine point and not central to the problem. For example I know for sure you can use the grub notation at the kernel address like: kernel (hd0,0)/kernel-XX At least I know for sure it was possible at one time.. I haven't actully used that notation in grub for quite a while. I do have that notation as the address for the splash image in several working grub.confs. (like splashimage=(hd0,0)/grub/splash.xpm.gz) [...] So reloading the install ISO I mount /mnt/gentoo/boot and edit grub.conf to say: title=kernel-2.6.25-r1 root (hd0,0) kernel /kernel-2.6.25-r1 root=/dev/sda3 That fails kernel /kernel-2.6.25-r1 root=/dev/hda3 (Thinking maybe grub does not understand sda) Nothing to do with grub. It's a kernel boot parameter passed verbatim to the kernel and needs valid kernel device names. What's the error you get? Is (hd0,0) a separate /boot? Does it contain a file called kernel-2.6.25-r1 at the top level? And you also should have a ro kernel parameter in there Using your point from above (but as I've posted, in the actual grub.conf I do have a legitimate kernel device appended. The latest attempt brings me to a grub command line as posted so grub.conf didn't work. So to give more meaning-full errors I will list my steps and the output below including a screen shot of the kernel-panic error message At grub prompt: grub root (hd0.0) (That works and indicates an ext2fs) grub kernel /kernel-2.6.25-r1 root=/dev/sda3 (This also works as noted by using completion at `/ktab') grub boot In the screen shot provided note that it appears grub is expecting an intramfs and only lists those types of devices, rejecting both (hd0,0) and /dev/sda3. http://www.jtan.com/~reader/vu/disp.cgi here's a working grub.conf for illustration: default 0 timeout 10 splashimage=(hd0,0)/grub/splash.xpm.gz title Default root(hd0,0) kernel /vmlinuz root=/dev/sda3 ro title Gentoo-2.6.25 root(hd0,0) kernel /vmlinuz-2.6.25-gentoo root=/dev/sda3 ro Seems my setup is identical to yours: /boot on /dev/sda1 aka (hd0,0) to grub / on /dev/sda3 Only difference is the ro boot parameter, which shouldn't make a difference - it's there for fsck purposes during start-up. Yes, I fdisked the `virtual' disk into boot=/dev/sda1 root=/dev/sda3 What disk driver and disks do you have? Are you 100% sure you are either using the new ata driver (everything is an sd) or have scsi/sata disks? If your disk is IDE with the old driver, it will be an hd and will require that on the kernel line I'm not really sure about all this, its on a brand new gateway laptop running Vista Home Premium on core 2 dua processor T5550 The system information tool doesn't give the type of harddisk but does shwo goose eggs at a scsi listing... and its very unlikely to be scsi anyway. Device manager doesn't do any better. Under Disk drives it just gives the brand (Western Digital) and the model number: WDC WD2500BEVS-22USTO I don't think that part number is a scsi part number. I don't know any other ways to tell if its Sata or IDE but I think its IDE. I did mention in OP that this intall is inside a vmware machine hosted on Vista Home Premium OS. The `virutal' disk is seen as scsi hence the /dev/sda notations. (Vmware workstation 6.5) In the vmware harware settings its listed as 12 GB scsi disc. My current grub.conf: default 0 timeout 5 splashimage=(hd0,0)/grub/splash.xpm.gz title=kernel-2.6.25-r1-0x31a-1280x1024 root (hd0,0) kernel /kernel-2.6.25-r1 root=/dev/sda3 -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Doubt about FLAG use
Well, after all I'm confused after reading the thread. Should I use this or not ? *USE=-ipv6 -ftp emerge -av mplayer* Thanks for your time and support. Greets 2008/4/24, kashani [EMAIL PROTECTED]: Net Warrior wrote: I'm on it :) thank you guys !! Here's an example from my server to get you going # apache stuff # urandom makes Apache start faster on unused systems dev-libs/aprurandom www-servers/apache -threads mpm-prefork # other daemons net-dns/bind-mysql -threads net-mail/courier-imap -berkdb fam gdbm dev-libs/cyrus-sasl -berkdb -mysql authdaemond urandom www-servers/lighttpd-mysql -ssl fam mail-mta/postfixmysql sasl ssl vda I like to put the subtracts in front and the adds after as well as keeping them in alphabetical order. Comments will also help you remember why you did stuff so when you jump to the next major version you can glance over package.use and see if anything jumps out at you. It all makes it easier to read and manage as your /etc/portage/* files gets more complicated. kashani -- gentoo-user@lists.gentoo.org mailing list -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Doubt about FLAG use
Net Warrior wrote: Well, after all I'm confused after reading the thread. Should I use this or not ? *USE=-ipv6 -ftp emerge -av mplayer* Thanks for your time and support. Greets Only if you want your system setup to change every time you install or re-install a package. Using that line as you have given it will mean your system will NEVER remember how you like your packages installed. 99.999% of people want to keep their setups, and consequently use the /etc/portage/package.use file HTH Matt Harrison -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Doubt about FLAG use
On Thursday 24 April 2008, Net Warrior wrote: Well, after all I'm confused after reading the thread. Should I use this or not ? *USE=-ipv6 -ftp emerge -av mplayer* No. Rather put it in /etc/portage/package.use. Uwe -- Informal Linux Group Namibia: http://www.linux.org.na/ SysEx (Pty) Ltd.: http://www.SysEx.com.na/ -- gentoo-user@lists.gentoo.org mailing list
[gentoo-user] KAudioCreator - Stopped Working
Some time in the last three months (last time I bought a new CD!), KAudioCreator has stopped working on my system, Running from a shell gives the following: *** glibc detected *** kaudiocreator: malloc(): memory corruption: 0x081ccb38 *** === Backtrace: = /lib/libc.so.6[0x4a953a00] /lib/libc.so.6[0x4a955cbb] /lib/libc.so.6(__libc_malloc+0x7e)[0x4a95730e] /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/libstdc++.so.6(_Znwj+0x29)[0x4ab33459] /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/libstdc++.so.6(_Znaj+0x1d)[0x4ab33579] /usr/qt/3/lib/libqt-mt.so.3(_ZN7QString9setLengthEj+0x39)[0x4b2a4d93] /usr/qt/3/lib/libqt-mt.so.3[0x4b2a77d0] /usr/qt/3/lib/libqt-mt.so.3(_ZNK7QString3argExii+0xa4)[0x4b2ad4ba] kaudiocreator[0x805d72f] [0x2a0001f] === Memory map: 08047000-08097000 r-xp 08:03 267795 /usr/kde/3.5/bin/kaudiocreator 08097000-08098000 r--p 0005 08:03 267795 /usr/kde/3.5/bin/kaudiocreator 08098000-0809a000 rw-p 00051000 08:03 267795 /usr/kde/3.5/bin/kaudiocreator 0809b000-0812d000 rw-p 00052000 08:03 267795 /usr/kde/3.5/bin/kaudiocreator 0812d000-081e4000 rw-p 0812d000 00:00 0 [heap] ... etc. How can I troubleshoot this? I've tried re-emerging, revdep-rebuild (doesn't rebuild anything), re-emerging kdemultimedia-kioslaves just in case, and now I'm out of ideas. Thanks all, Paul -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Re: Grub heartbreaker
On Thursday 24 April 2008, [EMAIL PROTECTED] wrote: Alan McKinnon [EMAIL PROTECTED] writes: kernel /kernel-2.6.25-r1 root=(hd0)/sda3 Fails Won't work. (hd0) is a grub thing. You need a /dev/sda3 or similar in there I think you are wrong about that. But just a fine point and not central to the problem. For example I know for sure you can use the grub notation at the kernel address like: kernel (hd0,0)/kernel-XX At least I know for sure it was possible at one time.. I haven't actully used that notation in grub for quite a while. I do have that notation as the address for the splash image in several working grub.confs. (like splashimage=(hd0,0)/grub/splash.xpm.gz) To clarify, your kernel line will work just fine with that notation. It's an instruction to grub in the form of a path that it understands. Essentially you are telling grub which partition to look on for the kernel and it knows what (hd0,0) is. /dev/sda1 won't work there, as grub does not understand Linux kernel names (There might be a hack to get around this but the code would be ugly as hell). You have a root directive to grub, so the notation is redundant. root is there so you don;t have to keep typing (hd0,0) everywhere snip In the screen shot provided note that it appears grub is expecting an intramfs and only lists those types of devices, rejecting both (hd0,0) and /dev/sda3. http://www.jtan.com/~reader/vu/disp.cgi Aah, now I see. It's one of two things, and neither is your grub.conf. That's the kernel spitting that garbage at you, so your grub.conf is just fine. You have either: 1. Compiled in the need for an initrd and have not supplied one, or 2. (more likely) you do not have support for your chipset, ata and/or root filesystem compiled into the kernel (NOT as modules). VFS: Unable to mount root fs is almost invariable due to this Do you want to use an initrd, or due the highly customized thing and dispense with it? -- Alan McKinnon alan dot mckinnon at gmail dot com -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Re: Grub heartbreaker
On 4/24/08, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Alan McKinnon [EMAIL PROTECTED] writes: [...] In the screen shot provided note that it appears grub is expecting an intramfs and only lists those types of devices, rejecting both (hd0,0) and /dev/sda3. http://www.jtan.com/~reader/vu/disp.cgi I think you're in kernel-land when you get those errors, and your kernel is built to use an initrd which it doesn't find (because you don't give it on the command line). I could be mistaken but that's what I see there. Is there an initrd image in the root of the boot partition (next to the kernel)? Try specifying that on the command line. Alternatively, check that your kernel is configured correctly for the chipset that the vmware is emulating - it may just be missing the vmware hardware and falling back to the non-existent initrd for more drivers. You may need to compile another kernel to proceed, or build an initrd with the missing drivers. (unfortunately I don't do vmware so I don't know what it needs) -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Doubt about FLAG use
Net Warrior wrote: Well, after all I'm confused after reading the thread. Should I use this or not ? *USE=-ipv6 -ftp emerge -av mplayer* you should vi /etc/portage/package.use and add # mplayer fixes media-video/mplayer -ftp -ipv6 and then verify that you're getting what you want before emerging. This way you know your changes will remain the next time you run emerge uD world or update mplayer on its own. kashani -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Doubt about FLAG use
kashani schrieb: Net Warrior wrote: Well, after all I'm confused after reading the thread. Should I use this or not ? *USE=-ipv6 -ftp emerge -av mplayer* you should vi /etc/portage/package.use and add # mplayer fixes media-video/mplayer-ftp -ipv6 and then verify that you're getting what you want before emerging. This way you know your changes will remain the next time you run emerge uD world or update mplayer on its own. kashani I am really sorry for all this confusion I caused. kh -- gentoo-user@lists.gentoo.org mailing list
[gentoo-user] file does not recognize .ogg
Hi all, Gentoo's file command is slightly deficient, it seems to not have a magic number for .ogg: [EMAIL PROTECTED] ~ $ find /home/alan/music -type f -name *ogg -exec file {} \; /home/alan/music/A/ABC/The Lexicon of Love/06 - The look of love (part one).ogg: data repeat 1313 times (every .ogg I have) A fellow Ubuntu-using Linux-conspirator gets this: $ file Alabama 3 - Exile on Coldharbour Lane/Alabama 3 - Mao Tse Tung Said.ogg Alabama 3 - Exile on Coldharbour Lane/Alabama 3 - Mao Tse Tung Said.ogg: Ogg data, Vorbis audio, stereo, 44100 Hz, ~112001 bps, created by: Xiph.Org libVorbis I (1.0) How do I teach my Gentoo system the magic of .ogg? [EMAIL PROTECTED] ~ $ eix -e file [I] sys-apps/file Available versions: 4.21-r1 4.23 (~)4.24 {python} Installed versions: 4.24(11:15:43 PM 04/01/2008)(python) -- Alan McKinnon alan dot mckinnon at gmail dot com -- gentoo-user@lists.gentoo.org mailing list
[gentoo-user] automatically set default alsa card
on my laptop sometimes i have to use the internal sound card and sometimes an external usb card. is there a gentoo way to make alsa automatically change the default audio device to the usb card when it's connected and active, and back to the internal card when it's not? best, lj -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] KAudioCreator - Stopped Working
On Thursday 24 April 2008, Paul Sobey wrote: Some time in the last three months (last time I bought a new CD!), KAudioCreator has stopped working on my system, Running from a shell gives the following: *** glibc detected *** kaudiocreator: malloc(): memory corruption: 0x081ccb38 *** I believe this is called a bug. Quite a serious one actually and the corruption is happening in kaudiocreator's heap. Assuming your environment and CFLAGS are sane, I would try looking for a workaround. Perhaps the memory corruption is triggered by some code that you can remove via USE flags. Remove all USE flags for that package, recompile and see what happens. I doubt you will have much luck, all the USE flags are for useful stuff and chances are you'll want them. I'd file a bug at bugs.gentoo.org with the output you have. With luck some dev will ask for more info and tell you how to get it in an effort to track it down. You could also use a different app, it's not like kaudiocreator is software with a totally unique purpose === Backtrace: = /lib/libc.so.6[0x4a953a00] /lib/libc.so.6[0x4a955cbb] /lib/libc.so.6(__libc_malloc+0x7e)[0x4a95730e] /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/libstdc++.so.6(_Znwj+0x29)[0x4ab 33459] /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/libstdc++.so.6(_Znaj+0x1d)[0x4ab 33579] /usr/qt/3/lib/libqt-mt.so.3(_ZN7QString9setLengthEj+0x39)[0x4b2a4d93] /usr/qt/3/lib/libqt-mt.so.3[0x4b2a77d0] /usr/qt/3/lib/libqt-mt.so.3(_ZNK7QString3argExii+0xa4)[0x4b2ad4ba] kaudiocreator[0x805d72f] [0x2a0001f] === Memory map: 08047000-08097000 r-xp 08:03 267795 /usr/kde/3.5/bin/kaudiocreator 08097000-08098000 r--p 0005 08:03 267795 /usr/kde/3.5/bin/kaudiocreator 08098000-0809a000 rw-p 00051000 08:03 267795 /usr/kde/3.5/bin/kaudiocreator 0809b000-0812d000 rw-p 00052000 08:03 267795 /usr/kde/3.5/bin/kaudiocreator 0812d000-081e4000 rw-p 0812d000 00:00 0 [heap] ... etc. How can I troubleshoot this? I've tried re-emerging, revdep-rebuild (doesn't rebuild anything), re-emerging kdemultimedia-kioslaves just in case, and now I'm out of ideas. Thanks all, Paul -- Alan McKinnon alan dot mckinnon at gmail dot com -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Doubt about FLAG use
On Thursday 24 April 2008, KH wrote: and then verify that you're getting what you want before emerging. This way you know your changes will remain the next time you run emerge uD world or update mplayer on its own. kashani I am really sorry for all this confusion I caused. Don't be :-) If this list is anything like hundreds of other similar lists on the net, many many people will be reading this thread and learn something they didn't know about USE and now know the OneTrueWay(tm) to use portage. You did them all a big favour, they just tend to take note and not really announce that they too didn't know. -- Alan McKinnon alan dot mckinnon at gmail dot com -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] file does not recognize .ogg
On Thu, 24 Apr 2008 23:32:26 +0200, Alan McKinnon wrote: [EMAIL PROTECTED] ~ $ find /home/alan/music -type f -name *ogg -exec file {} \; /home/alan/music/A/ABC/The Lexicon of Love/06 - The look of love (part one).ogg: data I wondered if it was your dodgy taste in music ;-) but it does the same here. I then downgraded for 4.24 to 4.23 and it worked, so there is a bug here. You found it first, so I'll let you have the honour of filing it on b.g.o. :P -- Neil Bothwick With free advice you often get what you pay for. signature.asc Description: PGP signature
[gentoo-user] Re: Grub heartbreaker
Alan McKinnon [EMAIL PROTECTED] writes: Aah, now I see. It's one of two things, and neither is your grub.conf. That's the kernel spitting that garbage at you, so your grub.conf is just fine. You have either: 1. Compiled in the need for an initrd and have not supplied one, or 2. (more likely) you do not have support for your chipset, ata and/or root filesystem compiled into the kernel (NOT as modules). VFS: Unable to mount root fs is almost invariable due to this Do you want to use an initrd, or due the highly customized thing and dispense with it? OK, let me explain a bit. I started compiling a kernel for this install and somehow missed something important for filesystems. (I don't remember what now) during make menuconfig. Rather than keep plugging away with menuconfig I ran `genkernel all' which I have done many times. It always produces an intramfs but I have simpley ignored and deleted from /boot. Went ahead with the very same grub.conf as posted in this thread. (With different devices), and never had any trouble with the kernel demanding an intramfs. My take was that if you don't tell the OS to use an intramfs in grub.conf then it doesn't... no harm no foul. So maybe in version 2008.1 when one uses `genkernel all' something is compiled into the kernel causing it to `need' an intramfs. If that is the case it will be a new phenomena since I have, as stated, used genkernel and ignored the resulting initramfs many times. I guess a simple test would be to insert the intramfs options and see if it works. If so then I will redo the kernel with makemenuconfig and eventually get a working kernel with no initramfs baloney. Reader, do you have an XP machine with VMWare where you could copy through vmware gust over to and try? If that succeeds I'd have to conclude it's YANVO (yet another nefarious vista obstruction) I do and was hoping to avoid that very thing.. I too thought of that. I can do it but it will mean horsing several GB across the network then monkeying around with changed udev stuff that inevitably occurs when you move a VM install. Then back across the network and more udev stuff... I think I remember how to get by that but would rather solve it in place. For now I guess I'll test and see if adding initramfs to grub.conf works. -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] file does not recognize .ogg
On Thursday 24 April 2008, Neil Bothwick wrote: On Thu, 24 Apr 2008 23:32:26 +0200, Alan McKinnon wrote: [EMAIL PROTECTED] ~ $ find /home/alan/music -type f -name *ogg -exec file {} \; /home/alan/music/A/ABC/The Lexicon of Love/06 - The look of love (part one).ogg: data I wondered if it was your dodgy taste in music ;-) Oy, what's wrong with my vast collection of Pink Floyd, Black Sabbath, ABC and even some Elton John??? :-) but it does the same here. I then downgraded for 4.24 to 4.23 and it worked, so there is a bug here. Hmmm me too You found it first, so I'll let you have the honour of filing it on b.g.o. :P Thank you kind sir, it has been done: http://bugs.gentoo.org/show_bug.cgi?id=219215 You'll see I gave you a shameless plug as well :-) -- Alan McKinnon alan dot mckinnon at gmail dot com -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Re: Grub heartbreaker
On Friday 25 April 2008, [EMAIL PROTECTED] wrote: Alan McKinnon [EMAIL PROTECTED] writes: Do you want to use an initrd, or due the highly customized thing and dispense with it? OK, let me explain a bit. I started compiling a kernel for this install and somehow missed something important for filesystems. (I don't remember what now) during make menuconfig. Rather than keep plugging away with menuconfig I ran `genkernel all' which I have done many times. It always produces an intramfs but I have simpley ignored and deleted from /boot. Went ahead with the very same grub.conf as posted in this thread. (With different devices), and never had any trouble with the kernel demanding an intramfs. My take was that if you don't tell the OS to use an intramfs in grub.conf then it doesn't... no harm no foul. I've hit that kind of thing a few times myself. Nowadays I just grit my teeth and wait for a spare hour to run menuconfig and give it the attention it deserves. Something seems to have changed with 2.6.25, more so than normal for new versions. For instance, b43 refuses point blank to work here or do anything remotely useful like a nice driver should. b43legacy doesn't work either. They both work with earlier versions although performance sucks. I was hoping that this would be the version where I could dump ndiswrapper. Maybe next time... Let us know how you get on with a custom config -- Alan McKinnon alan dot mckinnon at gmail dot com -- gentoo-user@lists.gentoo.org mailing list
[gentoo-user] Re: somebody using x11-drm?
With the kernel's own 2.6.25, my dmesg|grep -i drm says: Apr 23 17:43:08 bert kernel: [drm] Initialized drm 1.1.0 20060810 Apr 23 17:43:08 bert kernel: [drm] Initialized i915 1.6.0 20060119 on minor 0 Yep, I'm using it (and the kernel module) and I get the same output of dmesg | grep drm If I remember correctly, only =x11-base/x11-drm-20071019 worked for me (at least there was a reason for me to put it in /etc/portage/package.keywords) Looking at the sources of that exact version (20071019), i think the output should be Initialized i915 1.11.0 20071019. At least the date should match. So now, after downgrading to 2.6.24.5 and installing x11-drm, i get the following output: [drm] Initialized drm 1.1.0 20060810 [drm] Initialized i915 1.11.0 20070209 on minor 0 So indeed, the version is higher than the kernel's driver. But unfortunatly, i couldn't find any things that are actually fixed now. signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] file does not recognize .ogg
On Fri, 25 Apr 2008 00:39:04 +0200, Alan McKinnon wrote: I wondered if it was your dodgy taste in music ;-) Oy, what's wrong with my vast collection of Pink Floyd, Black Sabbath, ABC and even some Elton John??? :-) Nothing, not much, not so bad really, how long have you got? :) http://bugs.gentoo.org/show_bug.cgi?id=219215 Thanks, I'm cc'd on it now. -- Neil Bothwick GOTO: (n.) an efficient and general way of controlling a program, much despised by academics and others whose brains have been ruined by overexposure to Pascal. signature.asc Description: PGP signature
[gentoo-user] Re: Grub heartbreaker
Alan McKinnon [EMAIL PROTECTED] writes: Something seems to have changed with 2.6.25, more so than normal for new versions. For instance, b43 refuses point blank to work here or do anything remotely useful like a nice driver should. b43legacy doesn't work either. They both work with earlier versions although performance sucks. I was hoping that this would be the version where I could dump ndiswrapper. Maybe next time... Let us know how you get on with a custom config I haven't gotten that far yet, since I decided to try adding intramfs lines to grub.conf and see if it would then work It didn't but then I'm not really sure what is supposed to go there where you want to boot off an initramfs. I tried these lines I found by googling at site:gentoo.org: (the part between the asterisks below) default 0 timeout 5 splashimage=(hd0,0)/grub/splash.xpm.gz title=kernel-2.6.25-r1-0x31a-1280x1024 root (hd0,0) ## ** kernel /kernel-2.6.25-r1 root=/dev/ram0 init=/linuxrc ramdisk=8192 real_root=/dev/sda3 udev ## ** I was a little doubtful about `init=/linuxrc' since that appears to be saying it initialize from a file at /boot/linuxrc. I don't have such a file there, but all the examples I found seems to include that bit, including in this thread. At any rate it did not work and produced the same error as already posted. So, I'm thinking it probably won't do any real good to monkey around with the kernel either, if the initramfs thing isn't the problem them it seems likely to be a vista problem. However you and others have mentioned having the right drivers for the harddrive. How can I tell if I have the right drivers? And are we talking about something in the vmware settings or do you mean loading the right modules or building certain drivers into the kernel? -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Messed up - how do I emerge coreutils once coreutils is gone?
On Sat, Apr 19, 2008 at 09:07:17PM +0200, Justin wrote Why are you doing things without knowing about the consequences? Always ask before you are doing things which could be stupid!!! In my case, this was the umpteenth time I encountered circular blocks. After asking the first couple of times, I settled down to a pattern of unmerging both halves of the problem and restarting the emerge. This has worked fine until now. And yes, I've seen the warning about may harm your system a lot of times. If it didn't come up as often as Vista's UAC warning, when manually unmerging stuff, I probably would've asked first. To quote The Firesign Theatre... Everything you know is wrong. Procedures that worked OK so far blew up this time. All I can say is not to be annoyed in the next little while when people start asking about how to handle each and every circular block they run into. Once burned... twice shy. -- Walter Dnes [EMAIL PROTECTED] Stop the Squeegee Kids in Pinstripe Suits Fight SAC's Canadian internet tax http://walterdnes.wordpress.com -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] automatically set default alsa card
On Thu, 2008-04-24 at 18:37 -0300, luis jure wrote: on my laptop sometimes i have to use the internal sound card and sometimes an external usb card. is there a gentoo way to make alsa automatically change the default audio device to the usb card when it's connected and active, and back to the internal card when it's not? best, lj We had this several times in the past few months. You might want to look at the list's archive on http://www.gmane.org/ Log story short: Yes, it's possible but not very nice. Better use a sound daemon that was created for such purposes like Pulseaudio. signature.asc Description: This is a digitally signed message part
Re: [gentoo-user] Messed up - how do I emerge coreutils once coreutils is gone?
On Friday 25 April 2008, Walter Dnes wrote: On Sat, Apr 19, 2008 at 09:07:17PM +0200, Justin wrote Why are you doing things without knowing about the consequences? Always ask before you are doing things which could be stupid!!! In my case, this was the umpteenth time I encountered circular blocks. After asking the first couple of times, I settled down to a pattern of unmerging both halves of the problem and restarting the emerge. This has worked fine until now. And yes, I've seen the warning about may harm your system a lot of times. If it didn't come up as often as Vista's UAC warning, when manually unmerging stuff, I probably would've asked first. There's really only one way t deal with circular blockers, and that is to know enough about why the blocker is there to make a decision about it. You have to act like say an Ubuntu maintainer as that is really what you are doing, just local to your own system. I tend to read the ebuilds if I don't know the packages well. If upgrades are involved, I invariably have to unmerge the older one (it clashes with a new way of doing things). If one of the packages is something new, then I must decide which one I want to keep. Elog messages with yellow stars should *never* be ignored. Unlike UAC, they are not there with the express purpose of annoying users. -- Alan McKinnon alan dot mckinnon at gmail dot com -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Re: Grub heartbreaker
On Friday 25 April 2008, [EMAIL PROTECTED] wrote: So, I'm thinking it probably won't do any real good to monkey around with the kernel either, if the initramfs thing isn't the problem them it seems likely to be a vista problem. The kernel is exactly where you should be monkeying. I reckon you have a driver you need compiled in and it's a module because of the make allconfig. It's highly unlikely to be Vista unless Vista prevents VMWare from creating virtual devices. This is unlikely. If it were, Microsoft would already be in front of the anti-trust judge and /. would be going ballistic However you and others have mentioned having the right drivers for the harddrive. How can I tell if I have the right drivers? Check the VMWare config for your virtual machine. Somewhere in there is a choice for the disk type VMWare gives you. I forget the details, but it's something well known. Same for the chipset stuff And are we talking about something in the vmware settings or do you mean loading the right modules or building certain drivers into the kernel? It's the same process as building a kernel running on the native machine. Without an initrd to provide drivers via a ram disk at boot-time, you need them compiled into your kernel. It's the usual: disk system type - in your case it will be scsi specific disk/chipset type - this you get from VMWare's config dialog root filesystem type - ext3/reiserfs/whatever you are using -- Alan McKinnon alan dot mckinnon at gmail dot com -- gentoo-user@lists.gentoo.org mailing list