Re: [gentoo-user] 2.6.24 config options
On Fri, 4 Jan 2008 14:18:23 -0800 (PST), maxim wexler wrote: [EMAIL PROTECTED] ~ $ emerge -pv vanilla-sources These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild N] sys-kernel/vanilla-sources-2.6.22.9 USE=-build -symlink 44,122 kB Use eix to search packages, it shows all packages, including keyworded and masked versions. emerge -p only shows the latest version available for your arch and profile. -- Neil Bothwick To the optimist, the glass is half full. To the pessimist, the glass is half empty. To the engineer, the glass is twice as big as it needs to be. signature.asc Description: PGP signature
Re: [gentoo-user] Need ebuild no longer in Portage
On Saturday 05 January 2008, Renat Golubchyk wrote: On Fri, 4 Jan 2008 11:01:44 -0800 Grant [EMAIL PROTECTED] wrote: Does anyone know if there is a way to prevent eclean from removing a distfile for an installed package. Seems like that should be default behavior. From the eclean manpage: If you use the --destructive option, eclean will only protect files corresponding to some currently installed package (taking their exact version into account). He'd be better off using /etc/eclean/packages.exclude, described in the EXCLSUION FILES section of man eclean. eclean's default behaviour is to retain distfiles for installed packages *that are in the portage tree*. The file Grant wants to protect is not in the portage tree anymore -- Alan McKinnon alan dot mckinnon at gmail dot com -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Suddenly emerging unstable packages = why?
On Saturday 05 January 2008, Kevin O'Gorman wrote: Suddenly I noticed I'm on the bleeding edge. I don't know why. The latest: emerge -aDvu world is emerging unstable k3b-1.0.4. At least if I'm reading the output of eix correctly, it's unstable. [I] app-cdr/k3b Available versions: 0.12.17 (~)1.0 (~)1.0.1 (~)1.0.1-r1 (~)1.0.2 (~)1.0.3 1.0.4 It's stable according to my --sync done 10 minutes ago. Perhaps you are reading eix output wrongly, post your current output and let's have a look -- Alan McKinnon alan dot mckinnon at gmail dot com -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] unable to emerge anything...
On Saturday 05 January 2008, Richard Torres wrote: I'm getting pretty much the same error (C compiler cannot create executables). I'm pretty sure it's because gcc-3.3.4 is installed. I've tried upgrading gcc by emerging but get the same error (catch-22 situation). Here's the last part of the error log which is the same with anything I try to emerge. A quickpkg of gcc might help you out of this, it's about 7M or so so small enough to mail to you. Perhaps some kind soul here with similar settings to you can send their tbz2 of gcc-3.3.6.x Alternatively, you might be able to unpack a working gcc tarball from a stage 3 onto your system and use that It doesn't help you right now, but I've managed to screw up enough gentoo systems enough times that I now keep quickpkg copies of known good working critical packages in $PKGDIR - minimally gcc, glibc, python, portage, tar and a shell alan -- Alan McKinnon alan dot mckinnon at gmail dot com -- [EMAIL PROTECTED] mailing list
[gentoo-user] How long to unsubscribe?
Hi all, To switch my subscription to another email address, I had to unsubscribe and resubscribe. Now I get two copies of all gentoo-users mails even 24 hours later. Anyone know how long the unsubscribe process takes? alan -- Alan McKinnon alan dot mckinnon at gmail dot com -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] How long to unsubscribe?
As far as I know, you receive a good bye mail a few minutes after unsuscribing. 24 hours is much too long ;) Alan McKinnon a écrit : Hi all, To switch my subscription to another email address, I had to unsubscribe and resubscribe. Now I get two copies of all gentoo-users mails even 24 hours later. Anyone know how long the unsubscribe process takes? alan -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Possible needed lib missing?
On Thursday 27 December 2007, [EMAIL PROTECTED] wrote: I'm building up a minimal install a bit at a time... Or I should say building down. It was a full install at one point. I'm getting strange behavior in vim when accessing the minimal machine thru ssh from another gentoo box. When using vims search tool on the remote (/) normally you can scroll thru previous search strings with up/down arrow. But I'm getting up printed literally instead when I press up/down to access a previous search. It seems a safe bet it has to do with paring down the install since it worked normally previously. I've edited down the world list, changed a number of USE flags, changed the profile to hardened/x86/minimal. Ran emerge -vuDN world followed by `emerge --depclean' and `revdep-rebuild'. All succeeded. Does anyone know what library might be involved with scrolling previous/next with up/down arrow keys in vim? I thought readline right away but that is installed and at the newest version. I also thought it might be from coming in via ssh with xterm going to a console only install so I tried: TERM=linux ssh [...] It made no difference at all. Any ideas what else to look at? Last time I was troubled with a similar behaviour over ssh, I discovered that the default shell for the user on the remote machine (CentOS) was not /bin/bash, but /bin/zsh, or something_else. Changed this to good ol' bash and all these inconsistencies between my Gentoo and the remote box disappeared. HTH. -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] How long to unsubscribe?
On Saturday 05 January 2008, Jil Larner wrote: As far as I know, you receive a good bye mail a few minutes after unsuscribing. 24 hours is much too long ;) That's what I thought :-) I tried again and this time put somethign sensible in the body of the mail. Let's see if that does it. alan -- Alan McKinnon alan dot mckinnon at gmail dot com -- [EMAIL PROTECTED] mailing list
[gentoo-user] [OT Konq] setting for view source
Where in the konqueror browser settings does one set what comes up when you ask to view the source of the page you are on? I've been pounding away here under `Settings/configure Konqueror' and every where else I could think of but not finding it. Apparently some time or other I've set something there that is now not available or something becasue I get a long pause and no action when I request to view the source. -- [EMAIL PROTECTED] mailing list
[gentoo-user] A pared down kernel config
Configuring a new kernel is a dreaded task here. It seems I walk through a bewildering array of stuff that when pressing F1 on them I get more bewildering information I barely understand a word of. For 8 or 9 yrs now I've mostly skirted the issue by using defaults. I hnow the shortcoming is mine but still it is a massive amount of knowledge needed to really know what most of those settings do. Of course I know the easy ones but it appears thats never enough to walk through and end up with a pared down but fully usable kernel. In the end I usually just `genkernel all' and let ten thousand modules be made and forget it. I'd like to know more... enough so that when kernel config time rolls around its not a frustrating and time consuming chore ... unless I go the genkernel route. I see plenty of howtos out there about kernel configuration but the ones I've scanned or used take you through the steps but never really teach you how to understand what all those setting do or entail. I also realize that the kernel is a moving target and configurations change literally with every kernel. But there must be a major base of settings that change only slowly. Ones a user can learn enough about that it isn't such a bewildering experience to try to get the settings right in one or two goes. And of course the kicker is that I'd like to learn this without weeks and weeks of pounding away at it. My current quest involved getting a kernel with full barrel iptables and conn_track settings in place. The usual problem is that the howtos are dealing with a much older (in kernel devel time) kernel that actually has different or not all the setting currently available. Can someone steer me to a more `in depth' tutorial? Or to something they've found to really throw some light the chore? Not necessarily about iptables but just the general chore of configuring a kernel wisely. -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] A pared down kernel config
On Samstag, 5. Januar 2008, [EMAIL PROTECTED] wrote: you want to read this: http://www.kroah.com/lkn/ configuring a kernel is a matter of minutes. And seconds, if you just copy over the old config and do 'make oldconfig'. It is not hard - the first time read all the help texts and think about them. That is the hardest part. Do you really need I2O? Almost nobody does. I2C? Yes. ... -- Conclusions In a straight-up fight, the Empire squashes the Federation like a bug. Even with its numerical advantage removed, the Empire would still squash the Federation like a bug. Accept it. -Michael Wong -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] [OT Konq] setting for view source
On Saturday 5 January 2008, [EMAIL PROTECTED] wrote: Where in the konqueror browser settings does one set what comes up when you ask to view the source of the page you are on? I've been pounding away here under `Settings/configure Konqueror' and every where else I could think of but not finding it. Apparently some time or other I've set something there that is now not available or something becasue I get a long pause and no action when I request to view the source. KDE control center - KDE components - file associations text - plain, and set the application to use in Application preference order (mine is kedit). -- [EMAIL PROTECTED] mailing list
[gentoo-user] Re: [OT Konq] setting for view source
Etaoin Shrdlu [EMAIL PROTECTED] writes: Apparently some time or other I've set something there that is now not available or something becasue I get a long pause and no action when I request to view the source. KDE control center - KDE components - file associations text - plain, and set the application to use in Application preference order (mine is kedit). Oh, thanks.. there all those setting are... But apparently there is still some kind of problem. I use emacs for that kind of stuff and it is listed there but when I select it and hit apply the `apply/reset' buttons go dead and never come back on. Ditto for kwrite or any others listed there. There doesn't appear to be anyway provided to save the setting. Closing kcontrol and restart konq but still when I try to view source I just get the bouncing cursor (waiting) and no action ... ever. I guess I'll have to take this to the kde groups. -- [EMAIL PROTECTED] mailing list
[gentoo-user] Re: A pared down kernel config
Hemmann, Volker Armin [EMAIL PROTECTED] writes: On Samstag, 5. Januar 2008, [EMAIL PROTECTED] wrote: you want to read this: http://www.kroah.com/lkn/ Thanks... I'm getting started now. configuring a kernel is a matter of minutes. And seconds, if you just copy over the old config and do 'make oldconfig'. Yeah if you do that... but if you want to go through and look at all the different stuff and try to understand the minutes, and seconds theory is history. It is not hard - the first time read all the help texts and think about them. That is the hardest part. Do you really need I2O? Almost nobody does. I2C? Yes. ... You are clearly on a much different plain than I. `Read all the help texts and think about them.' If you can do that and feel you've understood even a small portion of it, that puts you way up the knowledge ladder compared to us lesser endowed. Unless you mean all those places that say `if unsure just say yes'. Or better yet those that say: `There is no help available for this kernel option.' Here is a good one. CONFIG_PARAVIRT: | | Paravirtualization is a way of running multiple instances of | Linux on the same machine, under a hypervisor. This option | changes the kernel so it can modify itself when it is run | under a hypervisor, improving performance significantly. | However, when run without a hypervisor the kernel is | theoretically slower. If in doubt, say N. Unless you are talking about the last `If in doubt...' Then you are stuck figuring out what on earth a hypervisor is. Or here: | CONFIG_HPET_TIMER: | | This enables the use of the HPET for the kernel's internal timer. | HPET is the next generation timer replacing legacy 8254s. | You can safely choose Y here. However, HPET will only be | activated if the platform and the BIOS support this feature. | Otherwise the 8254 will be used for timing services. Unless you mean `You can safely choose Y here' then you have a few days work figuring out what any of that means. This goes on and on through the menus.. So no.. I don't think we are dealing with minutes here. If you mean you can get it done if you just skip all of that then yes it might be minutes. If you wanted to pare down all the junk that is in a default config... now you are taking days even weeks to get a handle on that. At least it would be for the `intellectually challenged' like me.. Thanks again... that looks like a good start. -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] A pared down kernel config
On Saturday 05 January 2008, [EMAIL PROTECTED] wrote: Configuring a new kernel is a dreaded task here. It seems I walk through a bewildering array of stuff that when pressing F1 on them I get more bewildering information I barely understand a word of. Ah yes. It's that way 'cause it was designed that way :-) [snip] And of course the kicker is that I'd like to learn this without weeks and weeks of pounding away at it. Unfortunately and in my experience, there's no easy shortcut to getting a sane minimal kernel config. You really do need to have at least a high-level understanding of what the various chunks of the kernel do so that you can decide to enable them or not. You need to understand what the various bits of hardware are - if you have never heard of iSCSI you will have no idea if you need it or not. It's not enough to generally just say If you don't know what it is, you don't need it as you might run into SCSI, and know for a fact you do not have any SCSI hardware. But, without it, all kinds of stuff break (like usb storage) I know how I got my current level of knowledge - years and years of pounding away at it, reading thousands of howtos and web pages, only to have tons of it become redundant every six months. I strongly suspect you may have to do something similar. My current quest involved getting a kernel with full barrel iptables and conn_track settings in place. The usual problem is that the howtos are dealing with a much older (in kernel devel time) kernel that actually has different or not all the setting currently available. trial-and-error is probably your best bet. Get it working with a full genkernel setup. Note which modules get used in real life, start removing them in batches and make notes when stuff breaks Can someone steer me to a more `in depth' tutorial? Or to something they've found to really throw some light the chore? Not necessarily about iptables but just the general chore of configuring a kernel wisely. I've yet to find a single resource for this. As I said above it does seem to be a collection of knowledge gathered from many places over a long period. There's a reason for the existence of genkernel - it's so that you don't have to go through all this pain and suffering, and can instead remove stuff a bit at a time with reasonable confidence it won;t blow up in your face :-) alan -- Alan McKinnon alan dot mckinnon at gmail dot com -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Re: [OT Konq] setting for view source
On Saturday 5 January 2008, [EMAIL PROTECTED] wrote: KDE control center - KDE components - file associations text - plain, and set the application to use in Application preference order (mine is kedit). Oh, thanks.. there all those setting are... But apparently there is still some kind of problem. I use emacs for that kind of stuff and it is listed there but when I select it and hit apply the `apply/reset' buttons go dead and never come back on. Ditto for kwrite or any others listed there. This is all normal, at least with KDE control center. Those buttons are active only when there are pending modifications. If there are no pending modifications, they are greyed. When they are greyed, change something else and they will become active again, and so on. There doesn't appear to be anyway provided to save the setting. The OK button should do that (and, of course, the Apply button). Closing kcontrol and restart konq but still when I try to view source I just get the bouncing cursor (waiting) and no action ... ever. I guess I'll have to take this to the kde groups. Sorry but I can't help you further here...on my system, adding another handler application for text/plain and applying the config is enough for konqueror to use the new application. -- [EMAIL PROTECTED] mailing list
[gentoo-user] Re: [OT Konq] setting for view source
Etaoin Shrdlu [EMAIL PROTECTED] writes: [...] But apparently there is still some kind of problem. I use emacs for that kind of stuff and it is listed there but when I select it and hit apply the `apply/reset' buttons go dead and never come back on. Ditto for kwrite or any others listed there. This is all normal, at least with KDE control center. Those buttons are active only when there are pending modifications. If there are no pending modifications, they are greyed. When they are greyed, change something else and they will become active again, and so on. There doesn't appear to be anyway provided to save the setting. The OK button should do that (and, of course, the Apply button). There is no `ok' button.. . Unless you accidentally double click on one of the choices ... just `apply/reset' and then it goes dead. I see now how it works but really not conventional. Closing kcontrol and restart konq but still when I try to view source I just get the bouncing cursor (waiting) and no action ... ever. I guess I'll have to take this to the kde groups. Sorry but I can't help you further here...on my system, adding another handler application for text/plain and applying the config is enough for konqueror to use the new application. Yeah I was afraid that would be the case but pointing me to the config part was a great help ... thanks. -- [EMAIL PROTECTED] mailing list
[gentoo-user] My apache server dosn't work after update.
My apache server dosn't work after update. Recentrly, I have updated all portage tree and after that can't start. Does anyone know how to fix it? My apache version is: www-servers/apache-2.2.6-r5 and /etc/init.d/apache2 start shows me this: charlotte ~ # /etc/init.d/apache2 start * Starting apache2 ... apache2: apr_sockaddr_info_get() failed for charlotte apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName I have read some post, but neither of them can help me. Sorry for my English, it isn't my native language... -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Re: A pared down kernel config
On Samstag, 5. Januar 2008, [EMAIL PROTECTED] wrote: Hemmann, Volker Armin [EMAIL PROTECTED] writes: On Samstag, 5. Januar 2008, [EMAIL PROTECTED] wrote: you want to read this: http://www.kroah.com/lkn/ Thanks... I'm getting started now. configuring a kernel is a matter of minutes. And seconds, if you just copy over the old config and do 'make oldconfig'. Yeah if you do that... but if you want to go through and look at all the different stuff and try to understand the minutes, and seconds theory is history. even than it does not take that ling. It is not hard - the first time read all the help texts and think about them. That is the hardest part. Do you really need I2O? Almost nobody does. I2C? Yes. ... You are clearly on a much different plain than I. `Read all the help texts and think about them.' If you can do that and feel you've understood even a small portion of it, that puts you way up the knowledge ladder compared to us lesser endowed. you have to start somewhere. When compiled my first kernel (2.2.14) nobody hold my hand - and I needed several tries to get a booting one. But over the years a lot of experience accumulates. Do I need fibrechannel? Certainly not. Unless you mean all those places that say `if unsure just say yes'. is there better help? If you don't know what to do, say yes. Easy! Or better yet those that say: `There is no help available for this kernel option.' there are only very few of those - and usually it is best to let them unchanged. Here is a good one. CONFIG_PARAVIRT: | Paravirtualization is a way of running multiple instances of | Linux on the same machine, under a hypervisor. This option | changes the kernel so it can modify itself when it is run | under a hypervisor, improving performance significantly. | However, when run without a hypervisor the kernel is | theoretically slower. If in doubt, say N. Unless you are talking about the last `If in doubt...' Then you are stuck figuring out what on earth a hypervisor is. Nope, the helptext tells you exactly what it does. And it tells you, that you can say no, if you don't know what to do here. Or here: | CONFIG_HPET_TIMER: | | This enables the use of the HPET for the kernel's internal timer. | HPET is the next generation timer replacing legacy 8254s. | You can safely choose Y here. However, HPET will only be | activated if the platform and the BIOS support this feature. | Otherwise the 8254 will be used for timing services. Unless you mean `You can safely choose Y here' then you have a few days work figuring out what any of that means. no, you have some SECONDS to figure it out: gg:hpet (with konqueror). And what is wrong with 'you can safely choose Y here'? It tells you that it does not harm to turn it on. So why turn it off? Why think about it, if you don't know what a hpet is (btw, hpet is also explained in detail in the Documentation directory. a single grep -R hpet /usr/src/linux/Documentation would show you where). This goes on and on through the menus.. So no.. I don't think we are dealing with minutes here. you can, if you accept that you should use the recommended choice, expet when ou knmow what you are doing. If you mean you can get it done if you just skip all of that then yes it might be minutes. If you wanted to pare down all the junk that is in a default config... now you are taking days even weeks to get a handle on that. to de-junk a default config - even if you don't know what you do, is in realm of half an hour to an hour. If you read everything. -- [EMAIL PROTECTED] mailing list
[gentoo-user] Re: A pared down kernel config
Hemmann, Volker Armin [EMAIL PROTECTED] writes: I think this is heading in direction different from what I intended. You seem to be arguing that it can be done quickly... I don't disagree with you. If like you say you mostly follow what ever is default unless you know what you are doing. But if that is what you do then genkernel is even quicker... Not in compile time but to decide is not more than `genkernal all'. So I haven't been saying it can't be done quickly. (If you depend largely on defaults). The os designers have seen to it that the defaults will produce a working kernel. And they are pretty good at it. I'm not complaining that the process provided is overly hard. (If you mostly follow defaults) In the very first post I said: For 8 or 9 yrs now I've mostly skirted the issue by using defaults. That is all you suggest too. Skirt the issue by using defaults. If you wanted to pare down all the junk that is in a default config... now you are taking days even weeks to get a handle on that. to de-junk a default config - even if you don't know what you do, is in realm of half an hour to an hour. If you read everything. Do you have a de-junked .config that I can diff against the default.. it would be a way to see what kinds of things get dropped. -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] A pared down kernel config
[EMAIL PROTECTED] wrote: Configuring a new kernel is a dreaded task here. It seems I walk through a bewildering array of stuff that when pressing F1 on them I get more bewildering information I barely understand a word of. SNIP Can someone steer me to a more `in depth' tutorial? Or to something they've found to really throw some light the chore? Not necessarily about iptables but just the general chore of configuring a kernel wisely. The first time is the hardest one. I did a make mrproper then ran make menuconfig and just got started. The third time the kernel booted up at least. The biggest thing is getting the file systems, drivers for your drive controller and other critical things that are needed to boot up. After that, you can add them as needed. If you get a kernel that boots up fine and allows you to do things, save it. I almost always have a couple old kernels laying around /boot. That way if the current one gets corrupt or something, you can at least fall back on a old one. That may not help if /boot is corrupt but you get the idea. Here is my saved one and how I name them: [EMAIL PROTECTED] / # ls -al /boot/bzImage-2.6.* -rw-r--r-- 1 root root 2189488 2007-01-04 18:01 /boot/bzImage-2.6.18.gentoo-r6-1 -rw-r--r-- 1 root root 2357808 2007-06-08 05:47 /boot/bzImage-2.6.20-r8-1 -rw-r--r-- 1 root root 2389616 2007-06-08 07:01 /boot/bzImage-2.6.20-r8-2 -rw-r--r-- 1 root root 2396880 2007-06-13 01:53 /boot/bzImage-2.6.20-r8-3 -rw-r--r-- 1 root root 2417840 2007-08-31 23:10 /boot/bzImage-2.6.22-r5 -rw-r--r-- 1 root root 2421840 2007-11-25 13:26 /boot/bzImage-2.6.22-r9-1 -rw-r--r-- 1 root root 2437912 2007-12-18 04:25 /boot/bzImage-2.6.23-r3-1 [EMAIL PROTECTED] / # The last number is the revision of that specific version. You may notice it takes even me a couple times to get it right. You may find that just like with the tutorials you have read, you are going to be told different ways to do about everything. Each of us have our own ways of doing things based on past experiences. Apply what needs to be applied to your situation and keep it sane. Hope this little bit of info helps. Dale :-) :-) :-) -- [EMAIL PROTECTED] mailing list
[gentoo-user] Sandisk mounting problems
I have a new Sansa Sandisk MP3 player. When I plug it in, I get the following dmesg output usb 2-1: new high speed USB device using ehci_hcd and address 3 ehci_hcd :00:1d.7: port 1 reset error -110 hub 2-0:1.0: hub_port_status failed (err = -32) I have been able to successfully mount several other players. Has anyone had similar problems or can offer a potential solution? Thanks Jeff -- [EMAIL PROTECTED] mailing list
[gentoo-user] Emerging LIRC with LIRC_DEVICES
I'm trying to set up LIRC so I can use my Creative RM-1500 Remote that came with my SB Audigy 2 ZS Platinum. To set it up I have to set the LIRC_DEVICES variable specifically for app-misc/lirc. Per recent thread, I thought I just needed to set the variable in /etc/portage/app-misc/lirc; however, emerge doesn't seem to be picking it up. It does pick it up if I set it in /etc/make.conf, but I'd rather limit it to just the building of LIRC. I already emerged lirc by setting it on the command-line; emerge wants to rebuild lirc - for example, I had to set LIRC_DEVICES on the command line for emerging vlc to keep vlc from rebuilding lirc too. Am I not understanding the /etc/portage/app-misc/lirc thing right? What am I doing wrong? (I don't mind rebuilding lirc once more, but I'd like to get it set-up right.) TIA, Ben -- [EMAIL PROTECTED] mailing list
[gentoo-user] Intel High Defination Audio + Alsa
Hi folks... just installed Gentoo on my new PC. I still have some problems with my custom Kernel and 32bit java nsplugin doesn't work, but nothing as frustrating as a non working sound. I have a Gigabyte nforce 570 SLI board with 00:06.1 Audio device: nVidia Corporation MCP55 High Definition Audio (rev a2) onboard that uses snd_hda_intel 339492 0 snd_pcm83848 2 snd_pcm_oss,snd_hda_intel snd65896 8 snd_pcm_oss,snd_mixer_oss,snd_seq_oss,snd_seq,snd_seq_device,snd_hda_intel,snd_pcm,snd_timer snd_page_alloc 15248 2 snd_hda_intel,snd_pcm I'm currently running a Genkernel with sys-kernel/gentoo-sources-2.6.23-r5. When I try to play a song with mpg123 I just get: MPEG 1.0 layer III, 192 kbits/s, 44100 Hz stereo initialize_device(): cannot set hw params audio: Success and speaker-test says: Playback device is default Stream parameters are 48000Hz, S16_LE, 1 channels Using 16 octaves of pink noise Rate set to 48000Hz (requested 48000Hz) Buffer size range from 2048 to 16384 Period size range from 1024 to 1024 Using max buffer size 16384 Periods = 4 was set period_size = 1024 was set buffer_size = 16384 Unable to set hw params for playback: Invalid argument Setting of hwparams failed: Invalid argument speaker-test: pcm_plug.c:67: snd_pcm_plug_close: Assertion `plug-gen.slave == plug-req_slave' failed. Aborted I configured my soundcard with alsaconf and it worked(!!!) until this morning. I installed some more softwre today but really don't know what could be the problem. (Didn't do anything ;)). Any help is really appreciated. -- Greetings Chris -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Re: A pared down kernel config
On Saturday 05 January 2008, [EMAIL PROTECTED] wrote: to de-junk a default config - even if you don't know what you do, is in realm of half an hour to an hour. If you read everything. Do you have a de-junked .config that I can diff against the default.. it would be a way to see what kinds of things get dropped. Drivers for stuff you don't need and you will likely never use. Like ham radio stuff, v4linux (first version), I20, on a notebook all the enterprise-grade connect-a-machine-to-storage-stuff like iSCSI and Infiniband, all of ISA and MCA and the pre-pci bus drivers, old disk types like mfm and on modern boards usually even IDE as well. Removing all these unused drivers is the single largest improvement in reducing kernel size. The general rule with drivers is that if you are familiar with YOUR hardware and you've never heard of something in the config then you don't have it and don't need it :-) Complete kernel sub-systems are a bit harder, although some are still obvious. Like virtualisation. I assure you that if you have never heard of kvm and paravirt, then you certainly don't need it. With other stuff I usually end up leaving them in and removing things gradually as I compile the next kernel and learn more about stuff out there. If say HPET intrigues you and you want to know more, then Google it. Tomorrow you can do another one. Like I said in an earlier mail, it's not an easy process. It's only easy if you know most of it already - like Volker. I'd guess he has long since forgotten what it took to learn everything he knows, so of course It's obvious!... Comparing his and your configs is mostly pointless as your machines will differ considerably. The config file is 70k and even on two recent standard ubuntu configs the differences are over 1000 lines. Good luck with comparing that lot and trying to figure out what's going on :-) alan -- Alan McKinnon alan dot mckinnon at gmail dot com -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Sandisk mounting problems
On Saturday 05 January 2008 02:02:09 pm Jeff Cranmer wrote: I have a new Sansa Sandisk MP3 player. When I plug it in, I get the following dmesg output usb 2-1: new high speed USB device using ehci_hcd and address 3 ehci_hcd :00:1d.7: port 1 reset error -110 hub 2-0:1.0: hub_port_status failed (err = -32) I have been able to successfully mount several other players. Has anyone had similar problems or can offer a potential solution? Thanks Jeff Try rmmod ehci-hcd, then modprobe ohci-hcd and see what happens. Also, include from /var/log/messages everything printed from when ohci-hcd is modprobed to then end of actually plugging in the Sansa. And again when trying ehci-hcd. -- From the Desk of: Jerome D. McBride -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] How long to unsubscribe?
It's usually immediate. Has been for me in the past anyway. - Original Message From: Alan McKinnon [EMAIL PROTECTED] To: gentoo-user@lists.gentoo.org Sent: Saturday, January 5, 2008 2:28:21 AM Subject: [gentoo-user] How long to unsubscribe? Hi all, To switch my subscription to another email address, I had to unsubscribe and resubscribe. Now I get two copies of all gentoo-users mails even 24 hours later. Anyone know how long the unsubscribe process takes? alan -- Alan McKinnon alan dot mckinnon at gmail dot com -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] unable to emerge anything...
Alan, Thanks for that. It's funny you should mention python, I just inadvertently unmerged it (doh...). I've got another gentoo box running a newer version of gcc and a newer kernel. Do you think I can get what I need out of it? Thanks for your help, -Richard - Original Message From: Alan McKinnon [EMAIL PROTECTED] To: gentoo-user@lists.gentoo.org Sent: Saturday, January 5, 2008 2:25:52 AM Subject: Re: [gentoo-user] unable to emerge anything... On Saturday 05 January 2008, Richard Torres wrote: I'm getting pretty much the same error (C compiler cannot create executables). I'm pretty sure it's because gcc-3.3.4 is installed. I've tried upgrading gcc by emerging but get the same error (catch-22 situation). Here's the last part of the error log which is the same with anything I try to emerge. A quickpkg of gcc might help you out of this, it's about 7M or so so small enough to mail to you. Perhaps some kind soul here with similar settings to you can send their tbz2 of gcc-3.3.6.x Alternatively, you might be able to unpack a working gcc tarball from a stage 3 onto your system and use that It doesn't help you right now, but I've managed to screw up enough gentoo systems enough times that I now keep quickpkg copies of known good working critical packages in $PKGDIR - minimally gcc, glibc, python, portage, tar and a shell alan -- Alan McKinnon alan dot mckinnon at gmail dot com -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Re: A pared down kernel config
[EMAIL PROTECTED] skrev: Then you are stuck figuring out what on earth a hypervisor is. Alt+F2 wp:hypervisor ENTER -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Emerging LIRC with LIRC_DEVICES
Em Saturday 05 January 2008 17:08:03 BRM escreveu: I'm trying to set up LIRC so I can use my Creative RM-1500 Remote that came with my SB Audigy 2 ZS Platinum. To set it up I have to set the LIRC_DEVICES variable specifically for app-misc/lirc. Per recent thread, I thought I just needed to set the variable in /etc/portage/app-misc/lirc; however, emerge doesn't seem to be picking it up. It does pick it up if I set it in /etc/make.conf, but I'd rather limit it to just the building of LIRC. I already emerged lirc by setting it on the command-line; emerge wants to rebuild lirc - for example, I had to set LIRC_DEVICES on the command line for emerging vlc to keep vlc from rebuilding lirc too. Am I not understanding the /etc/portage/app-misc/lirc thing right? What am I doing wrong? (I don't mind rebuilding lirc once more, but I'd like to get it set-up right.) TIA, Ben I supose, LIRC_DEVICES is a portage variable like LINGUAS or VIDEO_CARDS. I don't think that any other package uses this variable. vlc, mplayer, and others, have a lirc USE flag and once its set globally or per package and lirc builded it shouldn't ask for rebuild lirc again. So LIRC_DEVICES needs to be under /etc/make.conf It works also as a USE flag (but I don't know why would you need this) as, for exemplo: LIRC_DEVICES=serial Is the same as: USE=lirc_devices_serial Aline -- Aline de Freitas - Chave pública: ID DE632016 / keys.indymedia.org gpg --keyserver keys.indymedia.org --recv-keys DE632016 signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Re: USB Wireless Network Adapter?
For rt73usb no firmware is needed. Just use vanilla kernel built-in module. as i did: CONFIG_RT2X00=m CONFIG_RT2X00_LIB=m CONFIG_RT2X00_LIB_USB=m CONFIG_RT2X00_LIB_FIRMWARE=y # CONFIG_RT2400PCI is not set # CONFIG_RT2500PCI is not set # CONFIG_RT61PCI is not set # CONFIG_RT2500USB is not set CONFIG_RT73USB=m CONFIG_RT2X00_LIB_DEBUGFS=y CONFIG_RT2X00_DEBUG=y With: [I] sys-kernel/vanilla-sources Installed versions: 2.6.24_rc5(2.6.24_rc5)(02:05:20 16.12.2007)(-build -symlink) Homepage:http://www.kernel.org Description: Full sources for the Linux kernel Regards, Kalden. Grant a écrit : Actually i'm using vanilla-sources just for rt73usb driver. I've Gentoo 64Bit too. Before i used Gentoo-Sources. I just copy my .config from Gentoo Sources to Vanilla Sources and i have no issue (since 2 month). Nice, we're doing the same thing then. Did you place the firmware in /lib/firmware manually like I did? - Grant I'm using ASUS WL-167g USB WLAN (rt73usb) and work well with or without WPA_SUPPLICANT. driver is already integrated in sys-kernel/vanilla-sources (2.6.24-rc5) I can't get any of the rt* ebuilds to compile except for CVS rt73- from bugs.gentoo.org and that one doesn't work with wpa_supplicant. I think the others won't compile because of my 64 bits (again). rt2x00 includes an rt73 driver but it requires 2.6.24. hardened-sources isn't there yet and configuring a new kernel is such a pain. I know I'd end up with a bunch of new problems. ndiswrapper is also a no-go unless I can find 64-bit XP drivers that work. - Grant I was actually just researching that exact one. Have you tested it with WPA? Which driver are you using? gentoo-portage.com lists a few ralink drivers but no rt73. - Grant -- [EMAIL PROTECTED] mailing list I haven't tested the WPA yet, I know it works well with a WEP encryption. I can test WPA tomorrow while everyone is at work and get back to you with those results. I used the CVS driver provided at this link [1] and followed the directions posted here [2]. Like I said I havent tested under gentoo, but I see no reason why the drivers wouldn't work. AJ [1] http://rt2x00.serialmonkey.com/wiki/index.php/Downloads [2]https://help.ubuntu.com/community/WifiDocs/Driver/RalinkRT73 -- [EMAIL PROTECTED] mailing list
[gentoo-user] Re: A pared down kernel config
Alan McKinnon [EMAIL PROTECTED] writes: On Saturday 05 January 2008, [EMAIL PROTECTED] wrote: to de-junk a default config - even if you don't know what you do, is in realm of half an hour to an hour. If you read everything. Do you have a de-junked .config that I can diff against the default.. it would be a way to see what kinds of things get dropped. Drivers for stuff you don't need and you will likely never use. Like ham radio stuff, v4linux (first version), I20, on a notebook all the enterprise-grade connect-a-machine-to-storage-stuff like iSCSI and Infiniband, all of ISA and MCA and the pre-pci bus drivers, old disk types like mfm and on modern boards usually even IDE as well. Thanks... but you hit on something there that can throw you. scsi stuff. I've never used a scsi hard drive in my life but not that long ago linux users needed scsi support for many of the cdrom drives. I doubt that is still the case but it might be. But my point is that even when you think you know something isn't needed it might be in some context you haven't thought of. People in this thread speak of 2 and 3 boots and editing in between in the same message where `5 minutes' is mentioned. That doesn't wash. You're way past that time frame. But still not in the guiness book realm I guess... hehe. Removing all these unused drivers is the single largest improvement in reducing kernel size. The general rule with drivers is that if you are familiar with YOUR hardware and you've never heard of something in the config then you don't have it and don't need it :-) Just to know more on this... Is there really any reason to worry about kernel size... I mean in most cases with a standard desktop install? I noticed a massive difference in drivers and modules installed between a machine running kde and X and a hand roled kernel I configured on nox system with just basic install. In fact that is what led to my post here. But the actual kernel wasn't all that different in size. [...] Like I said in an earlier mail, Do you mean on this thread? If so I must have some trouble with my newsreader threading or something... I don't see it here. . . . . . . . . . . . . . . . .it's not an easy process. It's only easy if you know most of it already - like Volker. I'd guess he has long since forgotten what it took to learn everything he knows, so of course It's obvious!... Here here. ... And thanks for the basic advice and comments. -- [EMAIL PROTECTED] mailing list
[gentoo-user] Re: A pared down kernel config
Erik [EMAIL PROTECTED] writes: [EMAIL PROTECTED] skrev: Then you are stuck figuring out what on earth a hypervisor is. Alt+F2 wp:hypervisor ENTER Hey thats a pretty neat trick. Now if I wondered if that would be important since I plan to run a vmware application... I will take more digging. It mentions vmware but not clear if this is important to it. -- [EMAIL PROTECTED] mailing list
[gentoo-user] Re: A pared down kernel config
[EMAIL PROTECTED] writes: Like I said in an earlier mail, Do you mean on this thread? If so I must have some trouble with my newsreader threading or something... I don't see it here. Haa I see it now... and it looks like I brought up exactly some of what you covered there (scsi). Interesting that at least we both saw the same thing about scsi. Thanks for that input too. -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Re: USB Wireless Network Adapter?
For rt73usb no firmware is needed. Just use vanilla kernel built-in module. as i did: CONFIG_RT2X00=m CONFIG_RT2X00_LIB=m CONFIG_RT2X00_LIB_USB=m CONFIG_RT2X00_LIB_FIRMWARE=y # CONFIG_RT2400PCI is not set # CONFIG_RT2500PCI is not set # CONFIG_RT61PCI is not set # CONFIG_RT2500USB is not set CONFIG_RT73USB=m CONFIG_RT2X00_LIB_DEBUGFS=y CONFIG_RT2X00_DEBUG=y With: [I] sys-kernel/vanilla-sources Installed versions: 2.6.24_rc5(2.6.24_rc5)(02:05:20 16.12.2007)(-build -symlink) Homepage:http://www.kernel.org Description: Full sources for the Linux kernel I'm using vanilla-sources-2.6.24-rc6 and I have the same options enabled as you except for the debug stuff, but the driver only works if I have /lib/firmware/rt73.bin which is installed by the bugs.gentoo.org ebuild for rt73-. Can you verify that you don't have that file? - Grant Regards, Kalden. -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Re: A pared down kernel config
On Sonntag, 6. Januar 2008, [EMAIL PROTECTED] wrote: Alan McKinnon [EMAIL PROTECTED] writes: On Saturday 05 January 2008, [EMAIL PROTECTED] wrote: to de-junk a default config - even if you don't know what you do, is in realm of half an hour to an hour. If you read everything. Do you have a de-junked .config that I can diff against the default.. it would be a way to see what kinds of things get dropped. Drivers for stuff you don't need and you will likely never use. Like ham radio stuff, v4linux (first version), I20, on a notebook all the enterprise-grade connect-a-machine-to-storage-stuff like iSCSI and Infiniband, all of ISA and MCA and the pre-pci bus drivers, old disk types like mfm and on modern boards usually even IDE as well. Thanks... but you hit on something there that can throw you. scsi stuff. you need scsi for: sata harddisk sata cdroms usb sticks usb harddrives usb cdroms (like in an external case) usb card readers. In fact, if you enable sata, scsi harddisk support is enabled automatically. I've never used a scsi hard drive in my life but not that long ago linux users needed scsi support for many of the cdrom drives. no. You never needed scsi for 'standard' atapi cdrom drives. Once upon a time you needed scsi-ide emulation for burning and even that is gone. I doubt that is still the case but it might be. But my point is that even when you think you know something isn't needed it might be in some context you haven't thought of. well, the scsi-usb relation is explained in the help texts. People in this thread speak of 2 and 3 boots and editing in between in the same message where `5 minutes' is mentioned. That doesn't wash. You're way past that time frame. But still not in the guiness book realm I guess... hehe. since the kernel make system is smart, only the stuff that changed is redone. So 3 reboots+2recompiles are easily done in 5minutes. Just to know more on this... Is there really any reason to worry about kernel size... I mean in most cases with a standard desktop install? yes. Bigger kernel = more cpu cache used up = slower system. -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Re: A pared down kernel config
Just to know more on this... Is there really any reason to worry about kernel size... I mean in most cases with a standard desktop install? yes. Bigger kernel = more cpu cache used up = slower system. Does all of the kernel reside in cpu cache all the time? Or can parts of it get moved to system RAM? What about modules that are loaded from disk? -- gentoo-user@lists.gentoo.org mailing list
[gentoo-user] CUPS problem
CUPS has been working flawlessly for quite some time, one of the feats of newer GNU/Linux installs (to one who couldn't get an HP mainstream inkjet working right some 10 years ago).Simultaneously, I notices that Apple now owns the copyright, and after a recent upgrade, stopped working. I have to blame myself, because running cfg-update, the changes to /etc/cups/cupsd.conf were considerable, involving three, and not two files to be merged. The interface of xxdiff is not intuitive, to me: I've blundered through it's kludgey structure for a while, but this time I was genuinely confused. Furthermore, I made the mistake of taking a stab in the dark. So I uninstalled CUPS completely, and reinstalled. Then installed the printer again. It is doing the same thing: the interface at localhost:631 says that the printer is ready to print. Any job sent to the queue, including test prints, are immediately stopped. Reprint a job, and it is immediately stopped. Hypotheses: New ASUS M2N-E Motherboard (was working before upgrading CUPS) Configuration file issues. (I have deleted the entire directory /etc/cups, and the new derault file was replaced with a simplified one scavenged of a mailing list, but with no improvement. Unknown factors (where to start?) So I am turning to the mailing list for suggestions. Any ideas? Thank you, Alan Davis -- Alan Davis, Kagman High School, Saipan [EMAIL PROTECTED] It's never a matter of liking or disliking ... ---Santa Ynez Chumash Medicine Man -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Emerging LIRC with LIRC_DEVICES
--- Aline de Freitas [EMAIL PROTECTED] wrote: Em Saturday 05 January 2008 17:08:03 BRM escreveu: I'm trying to set up LIRC so I can use my Creative RM-1500 Remote that came with my SB Audigy 2 ZS Platinum. To set it up I have to set the LIRC_DEVICES variable specifically for app-misc/lirc. Per recent thread, I thought I just needed to set the variable in /etc/portage/app-misc/lirc; however, emerge doesn't seem to be picking it up. It does pick it up if I set it in /etc/make.conf, but I'd rather limit it to just the building of LIRC. I already emerged lirc by setting it on the command-line; emerge wants to rebuild lirc - for example, I had to set LIRC_DEVICES on the command line for emerging vlc to keep vlc from rebuilding lirc too. Am I not understanding the /etc/portage/app-misc/lirc thing right? What am I doing wrong? (I don't mind rebuilding lirc once more, but I'd like to get it set-up right.) I supose, LIRC_DEVICES is a portage variable like LINGUAS or VIDEO_CARDS. I don't think that any other package uses this variable. vlc, mplayer, and others, have a lirc USE flag and once its set globally or per package and lirc builded it shouldn't ask for rebuild lirc again. So LIRC_DEVICES needs to be under /etc/make.conf It works also as a USE flag (but I don't know why would you need this) as, for exemplo: LIRC_DEVICES=serial Is the same as: USE=lirc_devices_serial Thanks for the info. I wasn't aware of that USE flag method - kinda cool, and kinda makes sense. Guess I'll just leave it in make.conf. Thanks. Ben -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] unable to emerge anything...
On Saturday 05 January 2008, Richard Torres wrote: Alan, Thanks for that. It's funny you should mention python, I just inadvertently unmerged it (doh...). I've got another gentoo box running a newer version of gcc and a newer kernel. Do you think I can get what I need out of it? Yes, you should be able to use that. Python is SLOTted, so even if your other box is using a different SLOT, you can emerge the version you need, quickpkg it, copy it over to the first machine and unpack it there. quickpkg's are just tarballs so you can even use good old tar and bunzip2 if you managed to go to the next step of dohness and unmerge portage as well :-) btw, how did you manage to unmerge python? That's in system and portage usually goes to great lengths to prevent you doing just that alan Thanks for your help, -Richard - Original Message From: Alan McKinnon [EMAIL PROTECTED] To: gentoo-user@lists.gentoo.org Sent: Saturday, January 5, 2008 2:25:52 AM Subject: Re: [gentoo-user] unable to emerge anything... On Saturday 05 January 2008, Richard Torres wrote: I'm getting pretty much the same error (C compiler cannot create executables). I'm pretty sure it's because gcc-3.3.4 is installed. I've tried upgrading gcc by emerging but get the same error (catch-22 situation). Here's the last part of the error log which is the same with anything I try to emerge. A quickpkg of gcc might help you out of this, it's about 7M or so so small enough to mail to you. Perhaps some kind soul here with similar settings to you can send their tbz2 of gcc-3.3.6.x Alternatively, you might be able to unpack a working gcc tarball from a stage 3 onto your system and use that It doesn't help you right now, but I've managed to screw up enough gentoo systems enough times that I now keep quickpkg copies of known good working critical packages in $PKGDIR - minimally gcc, glibc, python, portage, tar and a shell alan -- Alan McKinnon alan dot mckinnon at gmail dot com -- Alan McKinnon alan dot mckinnon at gmail dot com -- gentoo-user@lists.gentoo.org mailing list