[gentoo-user] ALSA: All modules loaded, mixer unmuted, still no sound
Hello, The sound card works fine with Ubuntu in my other partition. I've followed Gentoo's Alsa Guide and currently with kernel modules. But no sound comes out when I play music or any other things. The 'lspci' for my card is: 00:1e.2 Multimedia audio controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 Audio Controller (rev 04) Subsystem: Toshiba America Info Systems Unknown device ff10 Flags: bus master, medium devsel, latency 0, IRQ 10 I/O ports at e100 [size=256] I/O ports at e200 [size=64] Memory at d018 (32-bit, non-prefetchable) [size=512] Memory at d0180200 (32-bit, non-prefetchable) [size=256] Capabilities: [50] Power Management version 2 The 'lsmod' for the OS is: Module Size Used by ipw220089900 0 ieee80211 29256 1 ipw2200 ieee80211_crypt 4736 1 ieee80211 firmware_class 8192 1 ipw2200 sky2 32640 0 snd_seq48080 0 snd_seq_device 6924 1 snd_seq snd_pcm_oss48160 0 snd_mixer_oss 17024 1 snd_pcm_oss snd_intel8x0 29468 0 snd_ac97_codec 91168 1 snd_intel8x0 snd_ac97_bus1920 1 snd_ac97_codec snd_pcm79240 3 snd_pcm_oss,snd_intel8x0,snd_ac97_codec snd_timer 21508 2 snd_seq,snd_pcm snd46180 8 snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer soundcore 7776 1 snd snd_page_alloc 8456 2 snd_intel8x0,snd_pcm xfs 543448 1 ntfs 99440 1 Some dmesg'es related to my card: ACPI: PCI Interrupt :00:1e.2[A] - Link [LNKB] - GSI 10 (level, low) - IRQ 10 PCI: Setting latency timer of device :00:1e.2 to 64 intel8x0_measure_ac97_clock: measured 50459 usecs intel8x0: clocking to 48000 My alsaconf generated: # --- BEGIN: Generated by ALSACONF, do not edit. --- # --- ALSACONF version 1.0.10 --- alias snd-card-0 snd-intel8x0 alias sound-slot-0 snd-intel8x0 # --- END: Generated by ALSACONF, do not edit. --- When I play an mp3 file with mpg321, the first two lines show: ALSA lib pcm_direct.c:900: (snd_pcm_direct_initialize_slave) unable to install hw params ALSA lib pcm_dmix.c:831: (snd_pcm_dmix_open) unable to initialize slave There's no sound when #cat /dev/random /dev/dsp My /proc/asound/cards: 0 [ICH6 ]: ICH4 - Intel ICH6 Intel ICH6 with AD1981B at 0xd018, irq 10 My 'uname -a': Linux rolling-machine 2.6.15-nitro3 #3 PREEMPT Sun Feb 26 13:23:00 MMT 2006 i686 Intel(R) Pentium(R) M processor 1.60GHz GenuineIntel GNU/Linux I've searched in forums, and haven't found any solution yet. All channels are unmuted and set to full. I hope some could help me out. Thanks, DZ. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] ALSA: All modules loaded, mixer unmuted, still no sound
On Sunday 26 February 2006 02:20, Ducky Z. wrote: Hello, The sound card works fine with Ubuntu in my other partition. I've followed Gentoo's Alsa Guide and currently with kernel modules. But no sound comes out when I play music or any other things. The 'lspci' for my card is: 00:1e.2 Multimedia audio controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 Audio Controller (rev 04) Subsystem: Toshiba America Info Systems Unknown device ff10 Flags: bus master, medium devsel, latency 0, IRQ 10 I/O ports at e100 [size=256] I/O ports at e200 [size=64] Memory at d018 (32-bit, non-prefetchable) [size=512] Memory at d0180200 (32-bit, non-prefetchable) [size=256] Capabilities: [50] Power Management version 2 The 'lsmod' for the OS is: Module Size Used by ipw220089900 0 ieee80211 29256 1 ipw2200 ieee80211_crypt 4736 1 ieee80211 firmware_class 8192 1 ipw2200 sky2 32640 0 snd_seq48080 0 snd_seq_device 6924 1 snd_seq snd_pcm_oss48160 0 snd_mixer_oss 17024 1 snd_pcm_oss snd_intel8x0 29468 0 snd_ac97_codec 91168 1 snd_intel8x0 snd_ac97_bus1920 1 snd_ac97_codec snd_pcm79240 3 snd_pcm_oss,snd_intel8x0,snd_ac97_codec snd_timer 21508 2 snd_seq,snd_pcm snd46180 8 snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_intel8x0,snd_ac97_code c,snd_pcm,snd_timer soundcore 7776 1 snd snd_page_alloc 8456 2 snd_intel8x0,snd_pcm xfs 543448 1 ntfs 99440 1 Did you look at your mixer? Try alsamixer. -- Zac Slade [EMAIL PROTECTED] ICQ:1415282 YM:krakrjak AIM:ttyp99 -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] ALSA: All modules loaded, mixer unmuted, still no sound
I've already unmuted all channels. Still no sound. Regards, On 2/26/06, Zac Slade [EMAIL PROTECTED] wrote: On Sunday 26 February 2006 02:20, Ducky Z. wrote: Hello, The sound card works fine with Ubuntu in my other partition. I've followed Gentoo's Alsa Guide and currently with kernel modules. But no sound comes out when I play music or any other things. The 'lspci' for my card is: 00:1e.2 Multimedia audio controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 Audio Controller (rev 04) Subsystem: Toshiba America Info Systems Unknown device ff10 Flags: bus master, medium devsel, latency 0, IRQ 10 I/O ports at e100 [size=256] I/O ports at e200 [size=64] Memory at d018 (32-bit, non-prefetchable) [size=512] Memory at d0180200 (32-bit, non-prefetchable) [size=256] Capabilities: [50] Power Management version 2 The 'lsmod' for the OS is: Module Size Used by ipw220089900 0 ieee80211 29256 1 ipw2200 ieee80211_crypt 4736 1 ieee80211 firmware_class 8192 1 ipw2200 sky2 32640 0 snd_seq48080 0 snd_seq_device 6924 1 snd_seq snd_pcm_oss48160 0 snd_mixer_oss 17024 1 snd_pcm_oss snd_intel8x0 29468 0 snd_ac97_codec 91168 1 snd_intel8x0 snd_ac97_bus1920 1 snd_ac97_codec snd_pcm79240 3 snd_pcm_oss,snd_intel8x0,snd_ac97_codec snd_timer 21508 2 snd_seq,snd_pcm snd46180 8 snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_intel8x0,snd_ac97_code c,snd_pcm,snd_timer soundcore 7776 1 snd snd_page_alloc 8456 2 snd_intel8x0,snd_pcm xfs 543448 1 ntfs 99440 1 Did you look at your mixer? Try alsamixer. -- Zac Slade [EMAIL PROTECTED] ICQ:1415282 YM:krakrjak AIM:ttyp99 -- gentoo-user@gentoo.org mailing list -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] ALSA: All modules loaded, mixer unmuted, still no sound
On Sunday 26 February 2006 02:50, Ducky Z. wrote: I've already unmuted all channels. Still no sound. My aplogies I didn't read far enough Do you have any programs that will play sound? I think I may have to bow out of this discussion. It's always worked for me just fine (emu10k driver here). -- Zac Slade [EMAIL PROTECTED] ICQ:1415282 YM:krakrjak AIM:ttyp99 -- gentoo-user@gentoo.org mailing list
[gentoo-user] [OT] file recovery
Hi list, i've accidentally deleted some important files from my home directory. Are there some opensource program that can be used to recovery these data? Regards, MC -- gentoo-user@gentoo.org mailing list
[gentoo-user] Re: [OT] file recovery
2006/2/26, Marco Calviani [EMAIL PROTECTED]: Hi list, i've accidentally deleted some important files from my home directory. Are there some opensource program that can be used to recovery these data? Regards, MC PS: i'm running on an ext3 partition -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] ALSA: All modules loaded, mixer unmuted, still no sound
Hello, I've played through mplayer as well. While mplayer plays through the file, I can hear no sound. mpg321 plays the files too except that it shows some errors at first. Regards, On 2/26/06, Zac Slade [EMAIL PROTECTED] wrote: On Sunday 26 February 2006 02:50, Ducky Z. wrote: I've already unmuted all channels. Still no sound. My aplogies I didn't read far enough Do you have any programs that will play sound? I think I may have to bow out of this discussion. It's always worked for me just fine (emu10k driver here). -- Zac Slade [EMAIL PROTECTED] ICQ:1415282 YM:krakrjak AIM:ttyp99 -- gentoo-user@gentoo.org mailing list -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Re: [OT] file recovery
Marco Calviani wrote: 2006/2/26, Marco Calviani [EMAIL PROTECTED]: Hi list, i've accidentally deleted some important files from my home directory. Are there some opensource program that can be used to recovery these data? Regards, MC PS: i'm running on an ext3 partition http://batleth.sapienti-sat.org/projects/FAQs/ext3-faq.html#undelete Alexander Skwar -- The Korean War must have been fun. -- gentoo-user@gentoo.org mailing list
[gentoo-user] BS dependencies?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Why in the world to I need Apache, php(4), and a whole host of other packages (22 to be exact) just to install NTP? Now, I'm assuming that the net-misc/ntp package is actually the daemon, and not just the client. Can anyone suggest a client *only* package? I've got a system that doesn't hold it's time after a reboot - all I really need is the ability to update the system time. - -- gentux echo hfouvyAdpy/ofu | perl -pe 's/(.)/chr(ord($1)-1)/ge' gentux's gpg fingerprint == 34CE 2E97 40C7 EF6E EC40 9795 2D81 924A 6996 0993 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2.1 (GNU/Linux) iD8DBQFEAYFALYGSSmmWCZMRAq4qAJ4jmrs37bBIIp4VNPMAXjfmuyBhggCgn8EQ vjL8nyvtJT/+bxK7udpXGN0= =5tF6 -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] BS dependencies?
On Sunday 26 February 2006 12:21, gentuxx wrote: Why in the world to I need Apache, php(4), and a whole host of other packages (22 to be exact) just to install NTP? Now, I'm assuming that the net-misc/ntp package is actually the daemon, and not just the client. Can anyone suggest a client *only* package? I've got a system that doesn't hold it's time after a reboot - all I really need is the ability to update the system time. -- gentux echo hfouvyAdpy/ofu | perl -pe 's/(.)/chr(ord($1)-1)/ge' gentux's gpg fingerprint == 34CE 2E97 40C7 EF6E EC40 9795 2D81 924A 6996 0993 Hi, Think that some other package fetches all these deps. Check: # dep -l net-misc/ntp net-misc/ntp-4.2.0.20050303-r1: !openntpd? !net-misc/openntpd =sys-apps/portage-2.0.51 sys-apps/portage-2.1_pre5 =sys-libs/ncurses-5.2 sys-libs/ncurses-5.5-r1 =sys-libs/readline-4.1 sys-libs/readline-5.1_p2 ssl?dev-libs/openssl dev-libs/openssl-0.9.7i !bootstrap? sys-devel/patch sys-devel/patch-2.5.9-r1 kernel_linux? !nodroproot? sys-libs/libcap sys-libs/libcap-1.10-r5 ...END... As you see nothing from Apache,PHP comes here. No such flags too. HTH.Rumen pgpr2EjyxEL9t.pgp Description: PGP signature
[gentoo-user] WARNING! portage-2.1-pre5 doesn't work with distfiles on NFS
FYI I just upgraded to portage-2.1-pre5, and since then, I cannot have emerge download files anymore. It'll always error out with a message like this: Emerging (1 of 1) sys-apps/man-pages-2.24 to / Traceback (most recent call last): File /usr/bin/emerge, line 3304, in ? mydepgraph.merge(pkglist) File /usr/bin/emerge, line 1978, in merge retval=portage.doebuild(y,package,myroot,self.pkgsettings,edebug,tree=porttree) File /usr/lib/portage/pym/portage.py, line 2823, in doebuild if need_distfiles and not fetch(fetchme, mysettings, listonly=listonly, fetchonly=fetchonly): File /usr/lib/portage/pym/portage.py, line 1880, in fetch file_lock = portage_locks.lockfile(mysettings[DISTDIR]+/+locks_in_subdir+/+myfile,wantnewlockfile=1) File /usr/lib/portage/pym/portage_locks.py, line 125, in lockfile if type(lockfilename) == types.StringType and os.fstat(myfd).st_nlink != 1: OSError: [Errno 9] Bad file descriptor That might be, because distfiles (and thus the .locks directory) is on a NFS export. See https://bugs.gentoo.org/show_bug.cgi?id=124140 Alexander Skwar -- Cleveland: Oh Quagmire, you are what the Spanish call, Il Terrible -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] WARNING! portage-2.1-pre5 doesn't work with distfiles on NFS
On Sunday 26 February 2006 12:59, Alexander Skwar wrote: FYI I just upgraded to portage-2.1-pre5, and since then, I cannot have emerge download files anymore. It'll always error out with a message like this: Emerging (1 of 1) sys-apps/man-pages-2.24 to / Traceback (most recent call last): File /usr/bin/emerge, line 3304, in ? mydepgraph.merge(pkglist) File /usr/bin/emerge, line 1978, in merge retval=portage.doebuild(y,package,myroot,self.pkgsettings,edebug,tree=po rttree) File /usr/lib/portage/pym/portage.py, line 2823, in doebuild if need_distfiles and not fetch(fetchme, mysettings, listonly=listonly, fetchonly=fetchonly): File /usr/lib/portage/pym/portage.py, line 1880, in fetch file_lock = portage_locks.lockfile(mysettings[DISTDIR]+/+locks_in_subdir+/+myfile ,wantnewlockfile=1) File /usr/lib/portage/pym/portage_locks.py, line 125, in lockfile if type(lockfilename) == types.StringType and os.fstat(myfd).st_nlink != 1: OSError: [Errno 9] Bad file descriptor That might be, because distfiles (and thus the .locks directory) is on a NFS export. See https://bugs.gentoo.org/show_bug.cgi?id=124140 Alexander Skwar -- Cleveland: Oh Quagmire, you are what the Spanish call, Il Terrible Hi, No problems for me. Might be because of some NFS issues. Rumen pgpSozGUTc12z.pgp Description: PGP signature
Re: [gentoo-user] WARNING! portage-2.1-pre5 doesn't work with distfiles on NFS
Rumen Yotov wrote: Hi, Hello! No problems for me. Might be because of some NFS issues. Just to clarify - you also don't have distfiles local but mount it from some NFS server? In the bug, there's now a patch for pym/portage_locks.py, which did: - if type(lockfilename) == types.StringType and os.fstat(myfd).st_nlink != 1: + if type(lockfilename) == types.StringType and \ + myfd != HARDLINK_FD and os.fstat(myfd).st_nlink != 1: So, another check myfd != HARDLINK_FD has been added. This fixed it for me. Alexander Skwar -- Military victories are meaningless unless they reflect the wishes of the populace. An Emperor exists only to clarify those wishes. He executes the popular will, or his time is short. -- Principium, Imperial Leadership Academy -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] WARNING! portage-2.1-pre5 doesn't work with distfiles on NFS
Hi, On Sunday 26 February 2006 14:09, Alexander Skwar wrote: Rumen Yotov wrote: Hi, Hello! No problems for me. Might be because of some NFS issues. Just to clarify - you also don't have distfiles local but mount it from some NFS server? No just simple local portage-tree. Thanks anyway. In the bug, there's now a patch for pym/portage_locks.py, which did: - if type(lockfilename) == types.StringType and os.fstat(myfd).st_nlink != 1: + if type(lockfilename) == types.StringType and \ + myfd != HARDLINK_FD and os.fstat(myfd).st_nlink != 1: So, another check myfd != HARDLINK_FD has been added. This fixed it for me. Alexander Skwar -- Military victories are meaningless unless they reflect the wishes of the populace. An Emperor exists only to clarify those wishes. He executes the popular will, or his time is short. -- Principium, Imperial Leadership Academy Rumen pgp8YQmDa2tXs.pgp Description: PGP signature
Re: [gentoo-user] cups is broken
Ernie Schroder wrote: Very strange Have you looked at the logs? /var/log/cups/access_log and /var/log/cups/error_log look at a tail of them and compare to the working machines. The logs are slightly different. Looking at http://localhost:631 on the working machine produces no errors in error_log and the following in access_log: localhost - - [26/Feb/2006:06:59:49 -0500] GET / HTTP/1.1 200 1604 localhost - - [26/Feb/2006:06:59:49 -0500] GET /cups.css HTTP/1.1 200 87 localhost - - [26/Feb/2006:06:59:50 -0500] GET /images/navbar.gif HTTP/1.1 200 2869 localhost - - [26/Feb/2006:06:59:50 -0500] GET /favicon.ico HTTP/1.1 404 0 On the broken machine, nothing appears in error_log, and access_log contains: localhost - - [26/Feb/2006:07:03:24 -0500] GET / HTTP/1.1 200 1604 localhost - - [26/Feb/2006:07:03:24 -0500] GET /favicon.ico HTTP/1.1 404 0 I don't know enough about the workings of web browsers for this to tell me anything. John -- gentoo-user@gentoo.org mailing list
[gentoo-user] aMuleweb problem
Hello, If I activate aMuleWeb in the aMule's traditional GUI it works perfect, but now I don't want aMuleWeb to run separatelly from amuled, so I'm trying to use the /etc/init.d/amuleweb script. This is the error I get when I run it: Code: gentoo ibai # /etc/init.d/amuleweb start * Starting aMule WebServer ... * aMule daemon can't be started! Check logfile: /var/log/amuleweb.log [ !! ] Notice that the log file is empty!! Thanx in atvance.
Re: [gentoo-user] aMuleweb problem
On Sun, 26 Feb 2006, Izar Ilun wrote: * aMule daemon can't be started! Check logfile: /var/log/amuleweb.log Notice that the log file is empty!! Have you tried the other log files in /var/log ? Maybe there is an amuled.log one? -- Buanzo (no pgp signature, message sent from pine from mx, not from MUA) -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Re: [OT] file recovery
thanks, however no recovery is possible for ext3... regards, mc 2006/2/26, Alexander Skwar [EMAIL PROTECTED]: Marco Calviani wrote: 2006/2/26, Marco Calviani [EMAIL PROTECTED]: Hi list, i've accidentally deleted some important files from my home directory. Are there some opensource program that can be used to recovery these data? Regards, MC PS: i'm running on an ext3 partition http://batleth.sapienti-sat.org/projects/FAQs/ext3-faq.html#undelete Alexander Skwar -- The Korean War must have been fun. -- gentoo-user@gentoo.org mailing list -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] cups is broken
On Sunday 26 February 2006 07:20, a tiny voice compelled John Blinka to write: Ernie Schroder wrote: Very strange Have you looked at the logs? /var/log/cups/access_log and /var/log/cups/error_log look at a tail of them and compare to the working machines. The logs are slightly different. Looking at http://localhost:631 on the working machine produces no errors in error_log and the following in access_log: localhost - - [26/Feb/2006:06:59:49 -0500] GET / HTTP/1.1 200 1604 localhost - - [26/Feb/2006:06:59:49 -0500] GET /cups.css HTTP/1.1 200 87 localhost - - [26/Feb/2006:06:59:50 -0500] GET /images/navbar.gif HTTP/1.1 200 2869 localhost - - [26/Feb/2006:06:59:50 -0500] GET /favicon.ico HTTP/1.1 404 0 On the broken machine, nothing appears in error_log, and access_log contains: localhost - - [26/Feb/2006:07:03:24 -0500] GET / HTTP/1.1 200 1604 localhost - - [26/Feb/2006:07:03:24 -0500] GET /favicon.ico HTTP/1.1 404 0 I don't know enough about the workings of web browsers for this to tell me anything. John The only thing I can figure is that cups was compiled with some odd USE flag. Do you have an entry for cups in /etc/portage/package.use? -- Regards, Ernie -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] cups is broken
Ernie Schroder wrote: The only thing I can figure is that cups was compiled with some odd USE flag. Do you have an entry for cups in /etc/portage/package.use? No, don't even have that file. My USE flags in /etc/make.conf are: USE=-pdflib -get -gnome qt kde dvd alsa oss cdr fortran cups foomaticdb ppds gimpprint java samba win32codecs xprint John -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] ALSA: All modules loaded, mixer unmuted, still no sound
On Sunday 26 February 2006 02:20, Ducky Z. [EMAIL PROTECTED] wrote about '[gentoo-user] ALSA: All modules loaded, mixer unmuted, still no sound': Hello, The sound card works fine with Ubuntu in my other partition. I've followed Gentoo's Alsa Guide and currently with kernel modules. But no sound comes out when I play music or any other things. Are use using alsa provided by the kernel, or the kernel modules provided by alsa-driver? What version of either the kernel or alsa-driver? What version of alsa-lib? Can you play wav files through aplay? There should be some samples in /usr/share/sounds if you don't have other .wav files. In addition to being unmuted are the outputs actually turned up? You appear to have the right modules loaded, but those dmesg errors are likely because the userland is having problems talking to the kernel. My 'uname -a': Linux rolling-machine 2.6.15-nitro3 #3 PREEMPT Sun Feb 26 13:23:00 MMT 2006 i686 Intel(R) Pentium(R) M processor 1.60GHz GenuineIntel GNU/Linux What's -nitro? Is that your own kernel version string or is that like ck-sources? -- Boyd Stephen Smith Jr. [EMAIL PROTECTED] ICQ: 514984 YM/AIM: DaTwinkDaddy -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] BS dependencies?
On Sunday 26 February 2006 04:21, gentuxx [EMAIL PROTECTED] wrote about '[gentoo-user] BS dependencies?': Why in the world to I need Apache, php(4), and a whole host of other packages (22 to be exact) just to install NTP? Now, I'm assuming that the net-misc/ntp package is actually the daemon, and not just the client. NTP is similar to many P2P protocols in that clients are normally also long running background processes, daemons (or paenguins). There are some clients that use NTP messages to fetch a single time and set your clock using it, but then you still get network latency noise and other inaccuracies. For daily work that's really not a big deal, but if you are going to use NTP I suggest you really use NTP and run a daemon. The default config for both net-misc/ntp and openntpd does not listen on any ports by default, so it shouldn't raise many security issues. As far an these unwanted dependencies go, could you please provide the output for emerge -pvt net-misc/ntp so we can see the whole dependency chain? Can anyone suggest a client *only* package? I've got a system that doesn't hold it's time after a reboot - all I really need is the ability to update the system time. Just use rdate then. -- Boyd Stephen Smith Jr. [EMAIL PROTECTED] ICQ: 514984 YM/AIM: DaTwinkDaddy -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] cups is broken
John Blinka wrote: Hi, all, I have a strange-to-me cups printing problem on one of my gentoo machines. When I point firefox at http://localhost:631, I don't see the familiar cups admin web page, but just the raw html, i.e., SNIP Does anyone know what's wrong? None of my other machines does this. Thanks for your help. John Blinka Hi John, Just a quick thought - a thought quite possibly well and truly off track - could it be related to mime-types? Perhaps the CUPS web server has a problem recognising the HTML mime-type and thus is not sending them in the appropriate format (and with appropriate HTTP headers)? Hope that helps, Dave. smime.p7s Description: S/MIME Cryptographic Signature
Re: [gentoo-user] cups is broken
David Helstroom wrote: Hi John, Just a quick thought - a thought quite possibly well and truly off track - could it be related to mime-types? Perhaps the CUPS web server has a problem recognising the HTML mime-type and thus is not sending them in the appropriate format (and with appropriate HTTP headers)? I think you've got it. I did a wget -S http://localhost:631 on both the affected and unaffected machines. On the affected machine, wget reported Content-Type: text/plain; charset=utf-8 On an unaffected machine, wget reports Content-Type: text/html; charset=utf-8 So, now we know that cupsd is definitely confused on the affected machine. How to get it unconfused? I've tried emerge -C cups, then emerge cups, but that doesn't fix the problem. John -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] cups is broken
On Sunday 26 February 2006 09:40, a tiny voice compelled John Blinka to write: Ernie Schroder wrote: The only thing I can figure is that cups was compiled with some odd USE flag. Do you have an entry for cups in /etc/portage/package.use? No, don't even have that file. My USE flags in /etc/make.conf are: USE=-pdflib -get -gnome qt kde dvd alsa oss cdr fortran cups foomaticdb ppds gimpprint java samba win32codecs xprint John Compare USE flage in make.conf on working vs. non-working machines. check use flags when you merged cups # equery uses cups [ Searching for packages matching cups... ] [ Colour Code : set unset ] [ Legend: Left column (U) - USE flags from make.conf ] [ : Right column (I) - USE flags packages was installed with ] [ Found these USE variables for net-print/cups-1.1.23-r7 ] U I - - cjk: Adds support for Multi-byte character languages (Chinese, Japanese, Korean) - - gnutls : Adds support for net-libs/gnutls + + nls: Adds Native Language Support (using gettext - GNU locale utilities) + + pam: Adds support PAM (Pluggable Authentication Modules) - DANGEROUS to arbitrarily flip + + samba : Adds support for SAMBA (Windows File and Printer sharing) - - slp: Adds Service Locator Protocol support to CUPS + + ssl: Adds support for Secure Socket Layer connections -- Regards, Ernie -- gentoo-user@gentoo.org mailing list
[gentoo-user] Open Source cross-platform video conferencing?
Hi, I wonder if anyone knows about a solution for Open Source video conferencing that would allow people using Linux, Windows and Macs to get together in a single cross-platform conference? Thanks, Mark -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] cups is broken
Ernie Schroder wrote: Compare USE flage in make.conf on working vs. non-working machines. check use flags when you merged cups # equery uses cups [ Searching for packages matching cups... ] [ Colour Code : set unset ] [ Legend: Left column (U) - USE flags from make.conf ] [ : Right column (I) - USE flags packages was installed with ] [ Found these USE variables for net-print/cups-1.1.23-r7 ] U I - - cjk: Adds support for Multi-byte character languages (Chinese, Japanese, Korean) - - gnutls : Adds support for net-libs/gnutls + + nls: Adds Native Language Support (using gettext - GNU locale utilities) + + pam: Adds support PAM (Pluggable Authentication Modules) - DANGEROUS to arbitrarily flip + + samba : Adds support for SAMBA (Windows File and Printer sharing) - - slp: Adds Service Locator Protocol support to CUPS + + ssl: Adds support for Secure Socket Layer connections The two machines are slightly different. The working machine's output is identical to what you reported above. The nonworking machine's output is identical except that the --cjk line is missing. John -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] looking for a good c++ IDE for demons...
Wolfgang Liebich wrote: Hi, I'm developing a C++ application which runs as a UNIX demon or windows service. Until now I'm used mainly xemacs, but since I learned about better IDEs (for example the JAVA developers have IDEA), I'm looking for something like this for c++. I tried snavigator, but this tool seems to get confused by multiple inheritance (which is used in my project). Mainly I would search for a good class navigator. Is there something to recommend? Ciao, Wolfgang Take a look at Eclipse and its projects, specially CDT http://www.eclipse.org/ http://www.eclipse.org/cdt They're both in portage, alongo with several other Eclipse plug-ins, including repository integration for subversion and CVS Francisco -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Open Source cross-platform video conferencing?
Mark Knecht wrote: Hi, I wonder if anyone knows about a solution for Open Source video conferencing that would allow people using Linux, Windows and Macs to get together in a single cross-platform conference? Thanks, Mark Not 100% Open Source: - MSN for Windows - aMSN for Linux - http://amsn.sourceforge.net/ - aMSN for Macs - http://www.cmq.qc.ca/4w/amsn/ Francisco -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] cups is broken
On 26 February 2006 17:17, John Blinka wrote: David Helstroom wrote: Hi John, Just a quick thought - a thought quite possibly well and truly off track - could it be related to mime-types? Perhaps the CUPS web server has a problem recognising the HTML mime-type and thus is not sending them in the appropriate format (and with appropriate HTTP headers)? I think you've got it. I did a wget -S http://localhost:631 on both the affected and unaffected machines. On the affected machine, wget reported Content-Type: text/plain; charset=utf-8 On an unaffected machine, wget reports Content-Type: text/html; charset=utf-8 So, now we know that cupsd is definitely confused on the affected machine. How to get it unconfused? I've tried emerge -C cups, then emerge cups, but that doesn't fix the problem. Does your /etc/mime.types file contain an entry for text/html? How does the line look like? Uwe -- Why do consumers keep buying products they will live to curse? -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] mime type experts / *.pps
On 20 February 2006 20:07, Willie Wong wrote: The question is how you are recognizing the files? From what you are saying, it sounds to me like you are double-clicking in some KDE file browser and letting KDE do the job of deciding which application to call. Since I know naught about KDE, I can't help there. Close. It's rather clicking on a mail attachment. So my question is: Aren't there any mime type and/or magic file experts here that can extent the magic file to recognise *.pps files correctly? However, one thing that came to mind is for you to check the mime.types file in /etc/mime.types and make sure [01:01 PM]wwong ~ $ grep pps /etc/mime.types application/vnd.ms-powerpoint ppt pps Yup. That line is there. Uwe -- Why do consumers keep buying products they will live to curse? -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] What happens with masked packages?
On Sat, 25 Feb 2006 13:34:28 -0600 Boyd Stephen Smith Jr. [EMAIL PROTECTED] wrote: | | ~arch means a package is a candidate for going into arch after | | further testing, if said testing does not turn up new bugs. This | | means that both the ebuild *and* the package should be likely | | to be stable. | | | | So, betas shouldn't ever be ~arch? Or is your definition of | | stable broad enough to include betas? | | Entirely dependent on the upstream. I've had Vim beta releases in | ~arch, for example, because I'm confident in upstream's ability to | do beta releases without screwing up. | | So, it's based on the collective opinion of the gentoo developers? | Wouldn't it be better to put that in the hands of the gentoo user? Absolutely not. If there's one thing we've established over the years, it's that the vast majority of our users don't have the slightest clue what's best for them in terms of package stability. -- Ciaran McCreesh : Gentoo Developer (Wearer of the shiny hat) Mail: ciaranm at gentoo.org Web : http://dev.gentoo.org/~ciaranm signature.asc Description: PGP signature
Re: [gentoo-user] cups is broken
Uwe Thiem wrote: Does your /etc/mime.types file contain an entry for text/html? How does the line look like? I presume you mean /etc/cups/mime.types. These two files are *very* different on the working and nonworking machines. Among many other differences the affected machine's text/html line is text/htmlapplication/postscript 33 texttops and the unaffected machine's line is text/html html htm printable(0,1024) +\ (istring(0,HTML) istring(0,!DOCTYPE)) The /etc/cups/mime.types files are different versions. The affected machine has a line indicating that it is version 1.21 and the unaffected machine has version 1.31. Portage, on the other hand, thinks that it has installed gentoo version 1.1.23-r7 of cups on each machine... John -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Open Source cross-platform video conferencing?
On Sunday 26 February 2006 17:58, Francisco J. A. Ares wrote: Mark Knecht wrote: Hi, I wonder if anyone knows about a solution for Open Source video conferencing that would allow people using Linux, Windows and Macs to get together in a single cross-platform conference? Thanks, Mark Not 100% Open Source: - MSN for Windows - aMSN for Linux - http://amsn.sourceforge.net/ - aMSN for Macs - http://www.cmq.qc.ca/4w/amsn/ Francisco Hi, Not very sure, but check 'gnomemeeting'. HTH.Rumen pgpjdXTKiJRR9.pgp Description: PGP signature
Re: [gentoo-user] What happens with masked packages?
On 2006-02-25 23:16:36 -0600 (Sat, Feb), Boyd Stephen Smith Jr. wrote: So, it's based on the collective opinion of the gentoo developers? Wouldn't it be better to put that in the hands of the gentoo user? IMHO it already is. It's called PORTAGE_OVERLAY. Again, hard to do automatically. Wheras, if I could just set ACCEPT_UPSTREAM=BETA I'd get all the betas. Or I could use package.upstream and but in kde-extra/kaffeine ALPHA and get anything assigned more than a snapshot number for that package. (Instead of manually checking after each sync to see if there's a new, masked version.) In 'man 5 ebuild' I see: Atom Versions It is nice to be more specific and say that only certain versions of atoms are acceptable. Note that versions must be combined with a prefix (see below). Hence you may add a version number as a postfix to the base: sys-apps/sed-4.0.5 sys-libs/zlib-1.1.4-r1 net-misc/dhcp-3.0_p2 Versions are normally made up of two or three numbers separated by periods, such as 1.2 or 4.5.2. This string may be followed by a character such as 1.2a or 4.5.2z. Note that this letter is not meant to indicate alpha, beta, etc... status. For that, use the optional suffix; either _alpha, _beta, _pre (pre-release), _rc (release candidate), or _p (patch). This means for the 3rd pre-release of a package, you would use something like 1.2_pre3. I suppose that you could prepare a script that builds your /etc/portage files to unmask packages with _beta versions, or with any other criteria contained in ebuild. -- No virus found in this outgoing message. Checked by grep -i virus $MESSAGE Trust me. pgpC6oflyDCXS.pgp Description: PGP signature
Re: [gentoo-user] What happens with masked packages?
On Sunday 26 February 2006 06:16, Boyd Stephen Smith Jr. wrote: Again, hard to do automatically. Wheras, if I could just set ACCEPT_UPSTREAM=BETA I'd get all the betas. Or I could use package.upstream and but in kde-extra/kaffeine ALPHA and get anything assigned more than a snapshot number for that package. (Instead of manually checking after each sync to see if there's a new, masked version.) How exactly is is you want this to work. I mean for example gaim-2.0.0_beta2-r1 is a beta and it's very unstable (well, it crashed occasionally for me). In order to get it you need to put it in package.unmask and package.keywords. Do you want to have to put it package.upstream too? Or don't you want it to be masked even though it's very unstable? Should package.upstream override package.mask? -- Bo Andresen -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] BS dependencies?
On 2/26/06, gentuxx [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Why in the world to I need Apache, php(4), and a whole host of other packages (22 to be exact) just to install NTP? Probably because your USE flags are telling portage that you want all of those dependancies. If you don't have USE=nodroproot (which would be a bad idea, BTW), ntp depends on sys-libs/libcap. sys-libs/libcap depends on dev-lang/swig if you have USE=python. dev-lang/swig depends dev-lang/php if you have USE=php. dev-lang/php depends on apache. ...and so on. If you want to avoid such dependancies, you should set USE=-* in /etc/make.conf, and then set each USE flag specifically for each package that you want it on in /etc/portage/package.use. If you do this, be very careful in the conversion of your system, as you can break things easily (for example, if you have pam, and end up with -pam.) -Richard -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] cups is broken
On 26 February 2006 18:36, John Blinka wrote: Uwe Thiem wrote: Does your /etc/mime.types file contain an entry for text/html? How does the line look like? I presume you mean /etc/cups/mime.types. These two files are *very* different on the working and nonworking machines. Among many other differences the affected machine's text/html line is text/htmlapplication/postscript 33 texttops This looks very wrong. What happens if you copy the file from the unaffected box over? Uwe -- Why do consumers keep buying products they will live to curse? -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] BS dependencies?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Boyd Stephen Smith Jr. wrote: On Sunday 26 February 2006 04:21, gentuxx [EMAIL PROTECTED] wrote about '[gentoo-user] BS dependencies?': Why in the world to I need Apache, php(4), and a whole host of other packages (22 to be exact) just to install NTP? Now, I'm assuming that the net-misc/ntp package is actually the daemon, and not just the client. NTP is similar to many P2P protocols in that clients are normally also long running background processes, daemons (or paenguins). There are some clients that use NTP messages to fetch a single time and set your clock using it, but then you still get network latency noise and other inaccuracies. For daily work that's really not a big deal, but if you are going to use NTP I suggest you really use NTP and run a daemon. The default config for both net-misc/ntp and openntpd does not listen on any ports by default, so it shouldn't raise many security issues. As far an these unwanted dependencies go, could you please provide the output for emerge -pvt net-misc/ntp so we can see the whole dependency chain? Can anyone suggest a client *only* package? I've got a system that doesn't hold it's time after a reboot - all I really need is the ability to update the system time. Just use rdate then. I'm looking into `rdate'. But here is the list of dependencies that comes up. I think Mr. Fish may have hit the nail on the recursive dependencies, as I do have 'python' and 'php' in my USE flags (included below). emerge -pvt net-misc/ntp These are the packages that I would merge, in reverse order: Calculating dependencies ...done! [ebuild N] dev-php/php-4.4.0-r4 -X +berkdb +crypt -curl -debug - -doc (-fdftk) -firebird -flash -freetds -gd -gd-external +gdbm -gmp - -hardenedphp -imap (-informix) -ipv6 (-java) +jpeg -kerberos -ldap - -mcal -memlimit -mssql -mysql +ncurses +nls (-oci8) -odbc +pam +png - -postgres +readline -snmp +spell +ssl -tiff +truetype +xml2 -yaz 4,339 kB [ebuild N] net-misc/ntp-4.2.0.20040617-r3 -debug -ipv6 - -logrotate -nodroproot -openntpd -parse-clocks (-selinux) +ssl 2,403 kB [ebuild N] sys-libs/libcap-1.10-r5 -nocxx +python -static 38 kB [ebuild N] dev-lang/swig-1.3.21 -X -doc -guile (-java) +perl +php +python -ruby -tcltk 1,975 kB [ebuild N]dev-php/mod_php-4.4.0-r9 -X +apache2 +berkdb +crypt -curl -debug -doc (-fdftk) -firebird -flash -freetds -gd - -gd-external +gdbm -gmp -hardenedphp -imap (-informix) -ipv6 (-java) +jpeg -kerberos -ldap -mcal -memlimit -mssql -mysql +nls (-oci8) -odbc +pam +png -postgres -snmp +spell +ssl -tiff +truetype +xml2 -yaz 0 kB [ebuild N] media-libs/t1lib-5.0.2 -X -doc 1,657 kB [ebuild N] media-libs/freetype-1.3.1-r4 +nls -tetex 1,919 kB [ebuild N] media-libs/libpng-1.2.8 -doc 0 kB [ebuild NS ] sys-libs/db-1.85-r2 279 kB [ebuild N] app-text/sablotron-1.0.1 -doc +perl 474 kB [ebuild N] media-libs/jpeg-6b-r5 0 kB [ebuild N] net-www/apache-2.0.55-r1 +apache2 -debug -doc - -ldap -mpm-leader (-mpm-peruser) -mpm-prefork -mpm-threadpool - -mpm-worker -no-suexec (-selinux) +ssl -static-modules +threads 4,684 kB [ebuild N] dev-libs/apr-util-0.9.7 +berkdb +gdbm -ldap 724 kB [ebuild N] app-misc/mime-types-4 7 kB [ebuild N] dev-libs/apr-0.9.7 -ipv6 -urandom 1,020 kB [ebuild N] net-www/gentoo-webroot-default-0.2 -no-htdocs 64 kB [ebuild N] dev-libs/libxslt-1.1.15 +crypt -debug +python - -static 1,780 kB [ebuild N] dev-libs/libxml2-2.6.23 -debug -doc -ipv6 +python +readline 3,338 kB [ebuild N] dev-libs/libmcrypt-2.5.7 511 kB [ebuild N] media-libs/freetype-2.1.9-r1 -bindist -doc +zlib 0 kB [ebuild N] app-text/aspell-0.50.5-r4 -gpm 992 kB USE flags from `emerge --info': USE=sparc apache2 arts avi berkdb bitmap-fonts bzip2 cdb crypt cups dlloader eds encode esd expat fastcgi fbcon foomaticdb fortran gcc64 gdbm gif gstreamer gtk2 iconv imlib javascript jpeg libwww mad mbox mhash mikmod milter mime motif mpeg ncurses nls nptl ogg opengl oss pam pcre pdflib perl php png python readline sdl socketstcpd spell ssl symlink tcpd threads tidy truetype truetype-fonts type1-fonts udev vhosts vorbis xml xml2 xmlrpc xmms xsl xv zlib userland_GNU kernel_linux elibc_glibc (NOTE: This differs from what is actuall in my '/etc/make.conf'): USE=-X -kde -qt -gnome -gtk perl php python ssl apache2 fastcgi iconv java javascript libwww mime milter mbox ncurses pcre socketstcpd spell threads tidy vhosts xml xml2 xmlrpc xsl zlib symlink - -- gentux echo hfouvyAdpy/ofu | perl -pe 's/(.)/chr(ord($1)-1)/ge' gentux's gpg fingerprint == 34CE 2E97 40C7 EF6E EC40 9795 2D81 924A 6996 0993 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2.1 (GNU/Linux) iD8DBQFEAftFLYGSSmmWCZMRAhqtAJ9zXcQiDz7+dCXV12NjRahxLTLDbACgtp7J byQW2LizpEh0nJ52DARW/f0= =zOUP -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] cups is broken
Uwe Thiem wrote: This looks very wrong. What happens if you copy the file from the unaffected box over? Success at last! Here's what I did on the affected box: 1) emerge -C cups. After removing cups, I noted that the /etc/cups directory still existed with all of its old contents. None of it had been removed. 2) cd /etc/cups mv mime.types mime.types.old mv mime.convs mime.convs.old 3) emerge cups After this step, a new, different mime.types was installed. It was identical to the mime.types file on my unaffected systems. 4) fire up browser, point it at http://localhost:631. No problems configuring printers. Previous attempts to do steps 1) and 3) above, but not 2) resulted in an unchanged, obsolete, and incorrect version of mime.types. Thanks for everyone's suggestions in debugging this problem! John -- gentoo-user@gentoo.org mailing list
[gentoo-user] [OT] any way to split PCMCIA slot on laptop?
Hello folks, Sorry for another off-topic thread. I have a Toshiba laptop that I got for real cheap, and it has one PCMCIA slot, no Firewire plugs, and a bunch of USB plugs. It now turns out that for my application, I need the PCMCIA slot to install a specialty sound card, but I also need to have a Firewire input! I understand that the only way to add Firewire to a laptop is to use a PCMCIA slot... Is there a way somehow to split the one PCMCIA slot on my laptop and be able to use it for both the sound card and a Firewire port? Any way I can add a Firewire port and still keep my PCMCIA sound card? This is a Toshiba Satellite L25-S119 laptop. I actually run Windows XP on it just because I need to for the specialty software I have to use. Any thoughts (other than buying another laptop!) would be appreciated :) Denis -- gentoo-user@gentoo.org mailing list
[gentoo-user] SOLVED: Acroread 7.0.5-r1 very slow startup
On Sat, 25 Feb 2006, Willie Wong wrote: On Sat, Feb 25, 2006 at 08:35:44PM -0300, Penguin Lover Urs Schuetz squawked: strace acroread shows that acroread 7.0.5-r1 uses a very long time with fonts and nonexistent directories like /usr/psres and /usr/share/fonts/afms//usr/share/fonts/afms: ... open(/usr/X11R6/lib/X11/fonts/Type1/fences.ttf, O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = -1 ENOTDIR (Not a directory) open(/usr/X11R6/lib/X11/fonts/Type1/l048013t.pfa, O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = -1 ENOTDIR (Not a directory) getdents64(5, /* 0 entries */, 4096)= 0 close(5)= 0 ... and hangs here for about 10 seconds, with CPU 100% used. This happens nine times during startup. from the forums: http://forums.gentoo.org//viewtopic-t-420754-highlight-acroread.html?sid=5118566558bdce7510b095567e7b6d4c the file ~/.adobe/Acrobat/7.0/Cache/UnixFnt07.lst stores a list of all the fonts on your system (which, in my case, gives 9387 entries) and apparently it tries to open those one by one on startup and look inside (what for, I don't know). Thanks for the forums link, and the other hints! The following ideas from the forum solved the slow startup: as user: rm ~/.adobe/Acrobat/7.0/Cache/UnixFnt07.lst ln -s /dev/null ~/.adobe/Acrobat/7.0/Cache/UnixFnt07.lst and as root: cd /usr/share/fonts chmod 750 100dpi 75dpi cyrillic misc ukr (I did not test this for side effects yet, try at your own risk!) Now the acroread startup times are back to normal. It helps to remove unused plugins in /opt/Acrobat7/Reader/intellinux/plug_ins Urs -- gentoo-user@gentoo.org mailing list
[gentoo-user] Teaching Linux to remember USB
I have a number of USB devices. Card Reader, Flash drive, iPod, Camera etc. But every time I plug in my CF reader My machine assigns a different id to it. Sometimes it's /dev/sdb sometimes its /dev/sdg etc. It seems to be based on the order in which I plug the devices in, or maybe the port used, or both, I'm not sure. What I'd like to know is how to plug it in and have it always get the same id. Is this even possible? I just want my normal user to always be able to mount my flash drive without having to su to root to edit fstab first. Auto mounting would be cool as well but isn't necessary. I'm just trying to avoid hassle. Ideas? Suggestions? -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Teaching Linux to remember USB
On 2/26/06, daniel [EMAIL PROTECTED] wrote: What I'd like to know is how to plug it in and have it always get the same id. Is this even possible? Write udev rules to create persistent device names. An example from my /etc/udev/rules.d/10-local.rules file: BUS==usb, KERNEL==sd[a-z]2, SYSFS{serial}==30005AF6, SYMLINK=%k, NAME=backups%e I just want my normal user to always be able to mount my flash drive without having to su to root to edit fstab first. You could also use filesystem labels in /etc/fstab. Instead of /dev/sdX, use LABEL=mylabel as the device name. You can set filesystem labels on any current filesystem. For example with ext3, you use e2label. With this, you don't need to mess with udev rules. -Richard -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Teaching Linux to remember USB
Check out udev and set them up in the /etc/udev local file. The Gentoo site has docs on udev with links to some good references. On Sunday February 26 2006 15:12, daniel wrote: I have a number of USB devices. Card Reader, Flash drive, iPod, Camera etc. But every time I plug in my CF reader My machine assigns a different id to it. Sometimes it's /dev/sdb sometimes its /dev/sdg etc. It seems to be based on the order in which I plug the devices in, or maybe the port used, or both, I'm not sure. What I'd like to know is how to plug it in and have it always get the same id. Is this even possible? I just want my normal user to always be able to mount my flash drive without having to su to root to edit fstab first. Auto mounting would be cool as well but isn't necessary. I'm just trying to avoid hassle. Ideas? Suggestions? -- Brett I. Holcomb -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] BS dependencies?
On 2/26/06, gentuxx [EMAIL PROTECTED] wrote: (NOTE: This differs from what is actuall in my '/etc/make.conf'): This is because the profile contains some USE flags that are on by default. -Richard -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] What happens with masked packages?
On Sunday 26 February 2006 11:06, Bo Andresen [EMAIL PROTECTED] wrote about 'Re: [gentoo-user] What happens with masked packages?': On Sunday 26 February 2006 06:16, Boyd Stephen Smith Jr. wrote: Again, hard to do automatically. Wheras, if I could just set ACCEPT_UPSTREAM=BETA I'd get all the betas. Or I could use package.upstream and but in kde-extra/kaffeine ALPHA and get anything assigned more than a snapshot number for that package. (Instead of manually checking after each sync to see if there's a new, masked version.) How exactly is is you want this to work. My proposal at this point, would be for an additional restriction on packages based on a new UPSTREAM variable in the ebuild itself, ACCEPT_UPSTREAM variable in make.conf / the environment, and the package.upstream file in /etc/portage. These would be directly analogous to KEYWORDS, ACCEPT_KEYWORDS, and package.keywords, as would its interaction with package.mask. I mean for example gaim-2.0.0_beta2-r1 is a beta and it's very unstable (well, it crashed occasionally for me). In order to get it you need to put it in package.unmask and package.keywords. For any specific package, I'd have to know why it's in package.mask and why it's ~ARCH instead of ARCH. If something like my proposal were actually implemented, there would be some transitional period that you might see a _beta ebuild in package.mask or marked as ~ARCH simply because it's beta, but that would go away with new ebuilds (well, not entirely...) Hazarding a guess for this package, I'd say it would be removed from package.mask but the ebuild would retain the ~ARCH instead of ARCH (likely, the ebuild is also unstable, but I don't know.) Do you want to have to put it package.upstream too? Yes, you'd have to add 'net-im/gaim BETA' to package.upstream if you wanted all gaim betas. Many users would probably be better served with '=net-im/gaim-2* BETA'. You could remove it from your package.unmask because it wouldn't have to be masked by package.unmask (the default ACCEPT_UPSTREAM would not include BETA). Or don't you want it to be masked even though it's very unstable? I would like package.mask reserved for migration issues, package suite issues, and ebuilds and packages that destructively interfere with other packages. I'm guessing that the gaim beta doesn't have any of these issues, so it would not be in package.mask but would be labeled UPSTREAM=BETA. Should package.upstream override package.mask? No, it would only change your ACCEPT_UPSTREAM for certain packages, similar to the way package.keywords changes your ACCEPT_KEYWORDS. At this point, I'd really like to take this theoretical discussion off the the general user list; I doubt many users will be interested. I haven't done any coding work on this proposal or even began writing a GLEP, so this is all theory without any action at this point. I'm absolutely willing and eager to discuss things further via private email. My email address is in the from header, unmunged. I just don't want to waste the bandwidth of users that aren't interested in my vapor-proposal. -- If there's one thing we've established over the years, it's that the vast majority of our users don't have the slightest clue what's best for them in terms of package stability. -- Gentoo Developer Ciaran McCreesh -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] cups is broken
On Sunday 26 February 2006 13:26, John Blinka [EMAIL PROTECTED] wrote about 'Re: [gentoo-user] cups is broken': Success at last! Here's what I did on the affected box: 1) emerge -C cups. After removing cups, I noted that the /etc/cups directory still existed with all of its old contents. None of it had been removed. 2) cd /etc/cups mv mime.types mime.types.old mv mime.convs mime.convs.old 3) emerge cups After this step, a new, different mime.types was installed. It was identical to the mime.types file on my unaffected systems. Previous attempts to do steps 1) and 3) above, but not 2) resulted in an unchanged, obsolete, and incorrect version of mime.types. That's because /etc is CONFIG_PROTECT'd, right? Shouldn't you have gotten some message about config files that needed updating? Or, is there some special magic in the ebuild that was causing this problem? In the last case, I'd wager a bug would be appropriate. -- If there's one thing we've established over the years, it's that the vast majority of our users don't have the slightest clue what's best for them in terms of package stability. -- Gentoo Developer Ciaran McCreesh -- gentoo-user@gentoo.org mailing list
[gentoo-user] What happens to samba?
In every bootup I've to press Ctrl+C to kill samba startup. It won't start. I don't know what happens to it. Is this happening to someone else? Bye, Rafael Fernández López. pgpj8ya9vcedH.pgp Description: PGP signature
Re: [gentoo-user] What happens to samba?
On Sunday 26 February 2006 16:53, Rafael Fernández López wrote: In every bootup I've to press Ctrl+C to kill samba startup. It won't start. I don't know what happens to it. Is this happening to someone else? Bye, Rafael Fernández López. Nope. What do the samba log files tell you?? Jerry -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] What happens to samba?
ok, it was ldap related. Thx !!, Rafael Fernández López. pgpw5W8ukzcs9.pgp Description: PGP signature
Re: [gentoo-user] BS dependencies?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Richard Fish wrote: On 2/26/06, gentuxx [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Why in the world to I need Apache, php(4), and a whole host of other packages (22 to be exact) just to install NTP? Probably because your USE flags are telling portage that you want all of those dependancies. If you don't have USE=nodroproot (which would be a bad idea, BTW), ntp depends on sys-libs/libcap. sys-libs/libcap depends on dev-lang/swig if you have USE=python. dev-lang/swig depends dev-lang/php if you have USE=php. dev-lang/php depends on apache. ...and so on. If you want to avoid such dependancies, you should set USE=-* in /etc/make.conf, and then set each USE flag specifically for each package that you want it on in /etc/portage/package.use. If you do this, be very careful in the conversion of your system, as you can break things easily (for example, if you have pam, and end up with -pam.) -Richard rdate doesn't give me the functionality that I'm looking for as it expects to connect to the (x)?inetd 'time' subdaemon, instead of an ntpd server. But, removing some of the heavier USE flags (php, apache2, etc.) brought me down to net-misc/ntp and 2 other dependencies (libcap and swig), which I thought were acceptable. - -- gentux echo hfouvyAdpy/ofu | perl -pe 's/(.)/chr(ord($1)-1)/ge' gentux's gpg fingerprint == 34CE 2E97 40C7 EF6E EC40 9795 2D81 924A 6996 0993 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2.1 (GNU/Linux) iD8DBQFEAimcLYGSSmmWCZMRAqOjAJ4lPQIGYkAsrEH3/noBOZApVCk1ZACdG044 JPRhokC0OZPKH1QdeRrzklY= =QC30 -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] BS dependencies?
IMHO, I'd try and find and fix the reason that it's not keeping time, rather than patch it with ntpdate. Unless you know the reason already, and it can't be fixed, then I'll just shut up :) -- Iain Buchanan iain at netspace dot net dot au It is Fortune, not Wisdom, that rules man's life. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] BS dependencies?
On Sunday 26 February 2006 16:20, gentuxx [EMAIL PROTECTED] wrote about 'Re: [gentoo-user] BS dependencies?': rdate doesn't give me the functionality that I'm looking for as it expects to connect to the (x)?inetd 'time' subdaemon, instead of an ntpd server. But, removing some of the heavier USE flags (php, apache2, etc.) brought me down to net-misc/ntp and 2 other dependencies (libcap and swig), which I thought were acceptable. You could also try openntpd. It seems to be lacking some features (ntpq doesn't work against it, for example) but it will connect to an ntp server and set your time. Of course with net-misc/ntp you get the ntpdate binary and startup script that are pure clients, to completely avoid running a daemon at all. -- If there's one thing we've established over the years, it's that the vast majority of our users don't have the slightest clue what's best for them in terms of package stability. -- Gentoo Developer Ciaran McCreesh -- gentoo-user@gentoo.org mailing list
[gentoo-user] libungif?
While emerging kdegraphics, I get the following error: D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -O2 -march=i686 -fomit-frame-pointer -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -I/usr/X11R6/include -o libkdeinit_kuickshow.la -rpath /usr/kde/3.4/lib -no-undefined -avoid-version -L/usr/kde/3.4/lib -L/usr/qt/3/lib -L/usr/libkuickshow.lo aboutwidget.lo generalwidget.lo kuickconfigdlg.lo main.lo defaultswidget.lo imagewindow.lo kuickdata.lo imdata.lo filefinder.lo kurlwidget.lo filewidget.lo kuickio.lo kuick.lo imlibwidget.lo slideshowwidget.lo printing.lo -lkdeprint -L/usr/lib -lImlib -ljpeg -ltiff -lungif -lpng -lz -lm -lXext -L/usr/X11R6/lib -lSM -lICE -lXext -lX11 grep: /usr/lib/libungif.la: No such file or directory /bin/sed: can't read /usr/lib/libungif.la: No such file or directory libtool: link: `/usr/lib/libungif.la' is not a valid libtool archive Any ideas where it supposed to come from? David -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] What happens with masked packages?
On Sun, Feb 26, 2006 at 02:40:31PM -0600, Boyd Stephen Smith Jr. wrote: At this point, I'd really like to take this theoretical discussion off the the general user list; I doubt many users will be interested. I haven't done any coding work on this proposal or even began writing a GLEP, so this is all theory without any action at this point. Please don't take this off list, as I think this is quite relevant here. festus -- I contend we are both atheists, I just believe in one fewer gods than you do. When you understand why you dismiss all the other possible gods, you will understand why I dismiss yours. ...Stephen F Roberts pgpdQTz1xGGNS.pgp Description: PGP signature
Re: [gentoo-user] What happens with masked packages?
On Sun, Feb 26, 2006 at 04:11:08PM +, Ciaran McCreesh wrote: Absolutely not. If there's one thing we've established over the years, it's that the vast majority of our users don't have the slightest clue what's best for them in terms of package stability. Excuse me my friend, but I switched to Gentoo because of this attitude with every other distro I've moved away from !!! festus -- I contend we are both atheists, I just believe in one fewer gods than you do. When you understand why you dismiss all the other possible gods, you will understand why I dismiss yours. ...Stephen F Roberts pgpjKGx32wM68.pgp Description: PGP signature
[gentoo-user] system boot
Someone has given me a system to configure their printer on it. yababa root # uname -a Linux yababa.io.spectraitc.com 2.4.19-gentoo-r10 #3 Tue Feb 25 14:40:41 CST 2003 i686 Pentium III (Katmai) GenuineIntel GNU/Linux yababa root # When I connect the printer, I get Feb 26 02:15:57 yababa /etc/hotplug/usb.agent: ... no modules for USB product 4e8/326c/100 I figured, the USB support for printer wan not enabled in the kernel. Found it to be the case. So I rebuilt the kernel. Now I want to add the new kernel to the existing boot menu and I am baffeled by some findings. The boot menu says it is LILO, so I went to /etc/lilo.conf This is how it looks # $Header: /home/cvsroot/gentoo-x86/sys-apps/lilo/files/lilo.conf,v 1.3 2002/09/30 00:55:18 woodchip Exp $ # Author: Ultanium # Start LILO global section menu-scheme=Wb boot = /dev/hda prompt #boot=/devices/discs/disc0/disc map = /boot/System.map #compact# faster, but won't work on all systems. lba32 #if lba32 do not work, use linear #linear #if you always want to see the prompt with a 15 second timeout: timeout=90 delay = 50 vga = normal# Normal VGA console # End LILO global section # Linux bootable partition config begins image = /boot/bzImage root = /dev/hda7 label = Gentoo read-only # read-only for checking image = /boot/bzImage.OLD root = /dev/hda7 label = Gentoo_Old read-only # read-only for checking image = /boot/bzImageAR root = /dev/hda7 label = Gentoo_new read-only # read-only for checking # # Linux bootable partition config ends I added the section --- image = /boot/bzImageAR root = /dev/hda7 label = Gentoo_new read-only # read-only for checking --- This is what I don't understand -- yababa root # ls -l /boot/ total 1272 -rw-r--r--1 root root 483904 Feb 26 04:56 System.map-2.4.19r10AR lrwxrwxrwx1 root root1 Jan 12 2003 boot - . -rw-r--r--1 root root 814688 Feb 26 04:40 bzImageAR yababa root # - boot points to itself. Before I copied the System.map-2.4.19r10AR and bzImageAR, there was nothing in there. How does the system boot? ? ? Of course if I run /sbin/lilo, the system complains yababa root # /sbin/lilo Fatal: open /boot/bzImage: No such file or directory yababa root # Any pointers will be greatly appreciated ! Regards Pete -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] system boot
First copy the new kernel to /boot (make sure /boot is mounted) with a new name like test or something Then copy this part to the end of lilo.conf. image = /boot/bzImage root = /dev/hda7 label = Gentoo read-only # read-only for checking and change these: image=name of your new kernel (say Test) label=Test Then save and exit. Run lilo - t and it will tell you if everything is okay. If not fix it, then when all is well run lilo. Then reboot and you can test your new kernel. Also man lilo and man lilo.conf will help. On Sunday February 26 2006 18:51, Pete wrote: Someone has given me a system to configure their printer on it. yababa root # uname -a The boot menu says it is LILO, so I went to /etc/lilo.conf This is how it looks # $Header: /home/cvsroot/gentoo-x86/sys-apps/lilo/files/lilo.conf,v 1.3 2002/09/30 00:55:18 woodchip Exp $ # Author: Ultanium # Linux bootable partition config begins image = /boot/bzImage root = /dev/hda7 label = Gentoo read-only # read-only for checking image = /boot/bzImage.OLD root = /dev/hda7 label = Gentoo_Old read-only # read-only for checking image = /boot/bzImageAR root = /dev/hda7 label = Gentoo_new read-only # read-only for checking # # Linux bootable partition config ends I added the section --- image = /boot/bzImageAR root = /dev/hda7 label = Gentoo_new read-only # read-only for checking --- This is what I don't understand -- yababa root # ls -l /boot/ total 1272 -rw-r--r--1 root root 483904 Feb 26 04:56 System.map-2.4.19r10AR lrwxrwxrwx1 root root1 Jan 12 2003 boot - . -rw-r--r--1 root root 814688 Feb 26 04:40 bzImageAR yababa root # - boot points to itself. Before I copied the System.map-2.4.19r10AR and bzImageAR, there was nothing in there. How does the system boot? ? ? Of course if I run /sbin/lilo, the system complains yababa root # /sbin/lilo Fatal: open /boot/bzImage: No such file or directory yababa root # Any pointers will be greatly appreciated ! Regards Pete -- Brett I. Holcomb -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] system boot
On Sunday 26 February 2006 17:51, Pete [EMAIL PROTECTED] wrote about '[gentoo-user] system boot': This is what I don't understand -- yababa root # ls -l /boot/ total 1272 -rw-r--r--1 root root 483904 Feb 26 04:56 System.map-2.4.19r10AR lrwxrwxrwx1 root root1 Jan 12 2003 boot - . -rw-r--r--1 root root 814688 Feb 26 04:40 bzImageAR yababa root # - boot points to itself. That's pretty standard. From my system: # mount /boot # ls /boot/boot -l lrwxrwxrwx 1 root root 1 Jan 30 10:46 /boot/boot - . # umount /boot # ls /boot -l total 0 lrwxrwxrwx 1 root root 1 Aug 6 2005 boot - . drwxr-xr-x 2 root root 80 Jan 31 09:29 grub Not really sure why that grub directory is in there... Before I copied the System.map-2.4.19r10AR and bzImageAR, there was nothing in there. How does the system boot? ? ? Could boot be on a separate partition? Check /etc/fstab. -- If there's one thing we've established over the years, it's that the vast majority of our users don't have the slightest clue what's best for them in terms of package stability. -- Gentoo Developer Ciaran McCreesh -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] system boot
Hi, On Sun, 2006-02-26 at 23:51 +, Pete wrote: This is what I don't understand -- yababa root # ls -l /boot/ total 1272 -rw-r--r--1 root root 483904 Feb 26 04:56 System.map-2.4.19r10AR lrwxrwxrwx1 root root1 Jan 12 2003 boot - . -rw-r--r--1 root root 814688 Feb 26 04:40 bzImageAR yababa root # - boot points to itself. Before I copied the System.map-2.4.19r10AR and bzImageAR, there was nothing in there. How does the system boot? ? ? you need to mount /boot. Before you do that, delete (or move) the files that you put in (the unmounted) /boot! /boot isn't mounted by default. Once you've mounted /boot, you should see lots of stuff in there. HTH, -- Iain Buchanan iain at netspace dot net dot au If it happens once, it's a bug. If it happens twice, it's a feature. If it happens more than twice, it's a design philosophy. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] What happens with masked packages?
On Sun, 26 Feb 2006 18:29:52 -0500 John J. Foster [EMAIL PROTECTED] wrote: | On Sun, Feb 26, 2006 at 04:11:08PM +, Ciaran McCreesh wrote: | Absolutely not. If there's one thing we've established over the | years, it's that the vast majority of our users don't have the | slightest clue what's best for them in terms of package stability. | | Excuse me my friend, but I switched to Gentoo because of this | attitude with every other distro I've moved away from !!! The distro people are right. The difference between Gentoo and most other distributions is that we make it easier for you to override our decisions, should you feel the need. -- Ciaran McCreesh : Gentoo Developer (Wearer of the shiny hat) Mail: ciaranm at gentoo.org Web : http://dev.gentoo.org/~ciaranm signature.asc Description: PGP signature
Re: [gentoo-user] What happens with masked packages?
On Sunday 26 February 2006 21:40, Boyd Stephen Smith Jr. wrote: How exactly is is you want this to work. My proposal at this point, would be for an additional restriction on packages based on a new UPSTREAM variable in the ebuild itself, ACCEPT_UPSTREAM variable in make.conf / the environment, and the package.upstream file in /etc/portage. I read your previous posts about this as that you wanted it to be easier to get beta versions but what you want is in fact the exact opposite - further restriction. Now I get it. -- Bo Andresen -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] system boot
I see your point Here's /etc/fstab --- # NOTE: If your BOOT partition is ReiserFS, add the notail option to opts. /dev/hda1 /boot reiserfs noauto,noatime,notail 1 1 /dev/hda7 / reiserfsnoatime 0 0 /dev/hda6 noneswapsw 0 0 /dev/hda5 /tmpreiserfsnoatime 0 0 /dev/hda2 /home reiserfsnoatime 0 0 /dev/cdrom /mnt/cdrom iso9660 noauto,ro,users 0 0 /dev/fd0/mnt/floppy autonoauto,users 0 0 proc/proc procdefaults 0 0 --- lilo.conf has -- image = /boot/bzImage root = /dev/hda7 label = Gentoo -- Also, note that - yababa root # /sbin/lilo -t Fatal: open /boot/bzImage: No such file or directory yababa root # - If the root for boot was changed, lilo should have found the /boot/bzImage. Also, I did --- yababa root # find / -name bzImage /usr/src/linux-2.4.19-gentoo-r9/arch/i386/boot/bzImage /usr/src/linux-2.4.19-gentoo-r10/arch/i386/boot/bzImage yababa root # I am not sure where is the /boot/bzImage that shows up in the lilo.conf file. Appreciate help. Regards Pete - On Sun, 26 Feb 2006 18:02:07 -0600, Boyd Stephen Smith Jr. [EMAIL PROTECTED] wrote : On Sunday 26 February 2006 17:51, Pete [EMAIL PROTECTED] wrote about '[gentoo-user] system boot': This is what I don't understand -- yababa root # ls -l /boot/ total 1272 -rw-r--r--1 root root 483904 Feb 26 04:56 System.map-2.4.19r10AR lrwxrwxrwx1 root root1 Jan 12 2003 boot - . -rw-r--r--1 root root 814688 Feb 26 04:40 bzImageAR yababa root # - boot points to itself. That's pretty standard. From my system: # mount /boot # ls /boot/boot -l lrwxrwxrwx 1 root root 1 Jan 30 10:46 /boot/boot - . # umount /boot # ls /boot -l total 0 lrwxrwxrwx 1 root root 1 Aug 6 2005 boot - . drwxr-xr-x 2 root root 80 Jan 31 09:29 grub Not really sure why that grub directory is in there... Before I copied the System.map-2.4.19r10AR and bzImageAR, there was nothing in there. How does the system boot? ? ? Could boot be on a separate partition? Check /etc/fstab. -- If there's one thing we've established over the years, it's that the vast majority of our users don't have the slightest clue what's best for them in terms of package stability. -- Gentoo Developer Ciaran McCreesh -- gentoo-user@gentoo.org mailing list -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] system boot
Duh ! I didn't notice this. I am working on gentoo for the first time and the other flavor has /boot auto mounted. Thanks a ton ! Regards Pete On Mon, 27 Feb 2006 09:40:42 +0930, Iain Buchanan [EMAIL PROTECTED] wrote : Hi, On Sun, 2006-02-26 at 23:51 +, Pete wrote: This is what I don't understand -- yababa root # ls -l /boot/ total 1272 -rw-r--r--1 root root 483904 Feb 26 04:56 System.map-2.4.19r10AR lrwxrwxrwx1 root root1 Jan 12 2003 boot - . -rw-r--r--1 root root 814688 Feb 26 04:40 bzImageAR yababa root # - boot points to itself. Before I copied the System.map-2.4.19r10AR and bzImageAR, there was nothing in there. How does the system boot? ? ? you need to mount /boot. Before you do that, delete (or move) the files that you put in (the unmounted) /boot! /boot isn't mounted by default. Once you've mounted /boot, you should see lots of stuff in there. HTH, -- Iain Buchanan iain at netspace dot net dot au If it happens once, it's a bug. If it happens twice, it's a feature. If it happens more than twice, it's a design philosophy. -- gentoo-user@gentoo.org mailing list -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] What happens with masked packages?
On Sunday 26 February 2006 18:15, Bo Andresen [EMAIL PROTECTED] wrote about 'Re: [gentoo-user] What happens with masked packages?': On Sunday 26 February 2006 21:40, Boyd Stephen Smith Jr. wrote: How exactly is is you want this to work. My proposal at this point, would be for an additional restriction on packages based on a new UPSTREAM variable in the ebuild itself, ACCEPT_UPSTREAM variable in make.conf / the environment, and the package.upstream file in /etc/portage. I read your previous posts about this as that you wanted it to be easier to get beta versions but what you want is in fact the exact opposite - further restriction. Now I get it. Well, it would make it easier by moving them /out/ of package.mask and putting them in a classification similar to KEYWORDS. Then, to get all the betas my heart desires I can simply set ACCEPT_UPSTREAM=BETA, instead of manually pawing through package.mask to add them all to package.unmask. In particular, I update my system regularly with emerge -avtuND world. This won't give me any notification that betas are available but masked. I'd like to configure my system so that any new betas of kaffeine, kmplayer, ktorrent, and the nsplugins for kaffeine and kmplayer would be installed with having to regularly check on them myself. I'm imaging the default provided by the base profile would be ACCEPT_UPSTREAM=RELEASE BUG_FIX SECURITY_FIX so that packages with UPSTREAM=BETA (or HEAD, SNAPSHOT, ALPHA, PRE_RELEASE, RELEASE_CANDIDATE, alia al) would not be installed. (Until you changes your ACCEPT_UPSTREAM in make.conf or edit /etc/portage/package.upstream) I'd like upstream stability more cleanly separated from ebuild stability. Ciaran did clarify the roles of the various keywords and the global and profile-provided package.masks; from my experience I couldn't see the degree of separation that is intended -- dismissing the few abuses that are still in the portage tree. I still think my system would be better, but I'm biased. :) -- If there's one thing we've established over the years, it's that the vast majority of our users don't have the slightest clue what's best for them in terms of package stability. -- Gentoo Developer Ciaran McCreesh -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] aMuleweb problem
Izar Ilun wrote: Hello, If I activate aMuleWeb in the aMule's traditional GUI it works perfect, but now I don't want aMuleWeb to run separatelly from amuled, so I'm trying to use the /etc/init.d/amuleweb script. This is the error I get when I run it: *Code:* gentoo ibai # /etc/init.d/amuleweb start * Starting aMule WebServer ... * aMule daemon can't be started! Check logfile: /var/log/amuleweb.log [ !! ] Notice that the log file is empty!! Thanx in atvance. I had this problem too. While I haven't solved it (yet), I've worked around it by simply starting /etc/init.d/amuled with the webserver enabled in amule.conf. Works fine for me on my non-X server. HTH. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Teaching Linux to remember USB
I just did something similar today. I have a USB hard drive, and a USB mp3 player, and I used udev to set up the nodes so that they will always be the same.I created a new file under /etc/devfs/rules.d, and called it 10-local.rules. I used 10 so that it will be processed before the main rules files for udev.The contents of the file are:# Thompson/RCA MP3 player. Mounts as a USB removable drive # For mountingBUS==usb, KERNEL==sd?1, SYSFS{product}==RCA_MPCF2473_US , NAME=%k, SYMLINK=rca_mp3# For fdiskBUS==usb, KERNEL==sd?, SYSFS{product}==RCA_MPCF2473_US , NAME=%k, SYMLINK=rca_mp3_fdisk # External USB Hard DrivesBUS==usb, KERNEL==sd*, SYSFS{serial}==DEF10B2734EF, NAME=%k, SYMLINK=usbhd%nAs a reference, I used this document.Now I can reference the new /dev entries in /etc/fstab like this:# MP3 Player/USB Storage/dev/rca_mp3 /media/rca_mp3 auto noauto,noatime,user 0 0 # USB Hard disk# VFAT partition for windows stuff/dev/usbhd1 /media/usbhd_10g_vfat auto \ noauto,noatime,user 0 0# Ubuntu Linux that can boot from the drive/dev/usbhd2 /media/usbhd_9gig_ubuntu auto \ noauto,noatime,user 0 0 # boot directory for Ubuntu/dev/usbhd3 /media/usbhd_15m_boot auto \ noauto,noatime,user 0 0# ext3 partition with lots of space/dev/usbhd5 /media/usbhd_47G_ext3 auto \ noauto,noatime,user 0 0 /dev/usbhd6 /media/usbhd_211G_ext3 auto \ noauto,noatime,user 0 0
Re: [gentoo-user] BS dependencies?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Iain Buchanan wrote: IMHO, I'd try and find and fix the reason that it's not keeping time, rather than patch it with ntpdate. Unless you know the reason already, and it can't be fixed, then I'll just shut up :) Well, that *would* be the ideal way to go. However, usually problems like this are related to CMOS batteries, and their eventual death. I'm not quite as familiar with SPARC hardware as with x86 hardware, but I suspect the problem to be similar. I got these systems rather cheaply from eBay, and as they are 10+ years old, I don't know how much replacement hardware will be floating around. ;-) Be that as it may, I've managed to get the net-misc/ntp package installed and configured. It isn't so much the extra overhead of running the ntpd that I was concerned about. I just didn't want to install apache2, php, and the slew of other heavyweight applications that it was wanting to install. - -- gentux echo hfouvyAdpy/ofu | perl -pe 's/(.)/chr(ord($1)-1)/ge' gentux's gpg fingerprint == 34CE 2E97 40C7 EF6E EC40 9795 2D81 924A 6996 0993 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2.1 (GNU/Linux) iD8DBQFEAlO2LYGSSmmWCZMRAuwCAJwJHztmMMxlHXwlTDLZzjQe233eAQCfaCNy Qwp/sW9ffnWsQnYhI88UO0k= =Kj0s -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] libungif?
On Sunday 26 February 2006 07:02 pm, Peter Ruskin wrote: On Sunday 26 February 2006 17:01, David Corbin wrote: grep: /usr/lib/libungif.la: No such file or directory /bin/sed: can't read /usr/lib/libungif.la: No such file or directory libtool: link: `/usr/lib/libungif.la' is not a valid libtool archive Try emerging media-libs/giflib before kdegraphics and have gif in your USE flags. No joy. Same problem. David -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] What happens with masked packages?
On Mon, Feb 27, 2006 at 12:11:02AM +, Ciaran McCreesh wrote: On Sun, 26 Feb 2006 18:29:52 -0500 John J. Foster [EMAIL PROTECTED] wrote: | On Sun, Feb 26, 2006 at 04:11:08PM +, Ciaran McCreesh wrote: | Absolutely not. If there's one thing we've established over the | years, it's that the vast majority of our users don't have the | slightest clue what's best for them in terms of package stability. | | Excuse me my friend, but I switched to Gentoo because of this | attitude with every other distro I've moved away from !!! The distro people are right. The difference between Gentoo and most other distributions is that we make it easier for you to override our decisions, should you feel the need. Ciarin, That's a very true statement, and part of the attraction of Gentoo. But your comment about most users (at least of this distro) not having the slightest clue what's best for them is totally off base, (except, perhaps, where I'm concerned ;-)). \rant mode off\ festus -- I contend we are both atheists, I just believe in one fewer gods than you do. When you understand why you dismiss all the other possible gods, you will understand why I dismiss yours. ...Stephen F Roberts pgp0rwcrcasYD.pgp Description: PGP signature
[gentoo-user] Re: [gentoo-dev] Re: KDE, metapackages, and monolithic packages
Mike Myers wrote: Duncan wrote [deleted] Thanks a lot for the detailed explanation. Do you know if there's a way or going to be a way to handle the split ebuilds so that reemerging or unemerging a split ebuild will reemerge or unemerge the corresponding packages? It seems like the ebuilds are only intended to make installing kde easier, which they do, but it doesn't make handle uninstalling or reinstalling a split ebuild very easy at all. Like, if I had kde 3.4 installed and upgraded to 3.5 and no longer need 3.4, I can't just do 'emerge -C kde-meta-3.4', or something similar if it's the installed with the split metapackage. Or if I just wanted to remove some split ebuild, like say kdenetwork, but leave the rest, I couldn't do 'emerge -c kdenetwork-meta' to uninstall the related packages. Basically, my concern is that how KDE is installed is quite easily handled, but uninstalling or reinstalling is not equally as easy, at least in some aspects. I hope I explain myself well enough, and thanks for your response. Mike Moving this to -user as requested by Richard. The meta-packages install their split ebuilds by way of depending on them. Therefore, to remove a complete set of split ebuilds, you can 'emerge -C kde-meta' (for example), and then run 'emerge depclean' to clear out the split ebuilds which are no longer depended on by anything. Remember to 'emerge -p depclean' first and conduct a sanity check. Also you could run 'equery depgraph kde-meta', and then use some grep and cut magic to grab the atoms, useful if depclean doesn't co-operate. HTH. -- gentoo-user@gentoo.org mailing list
[gentoo-user] Where do these use flags come from?
I decided I wanted to remove the ipv6 use flag which I have had enabled in make.conf for quite a while but never really been on a ipv6 network and don't suspect I will in the near future. When upgrading firefox I noted it has that use flag and decided I want to know what it actually does. Only, I cannot find it anywhere in the ebuilds! So where does it come from and what *exactly* does it do? ~ # emerge -uvp mozilla-firefox These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild U ] www-client/mozilla-firefox-1.5.0.1-r2 [1.5.0.1-r1] USE=java mozdevelop xprint -debug -gnome -ipv6* -xinerama 33 kB Total size of downloads: 33 kB ~ # grep USE /usr/portage/www-client/mozilla-firefox/*.ebuild /usr/portage/www-client/mozilla-firefox/mozilla-firefox-1.0.7-r4.ebuild:IUSE=gnome java mozdevelop mozsvg mozcalendar /usr/portage/www-client/mozilla-firefox/mozilla-firefox-1.5-r11.ebuild:IUSE=java mozdevelop /usr/portage/www-client/mozilla-firefox/mozilla-firefox-1.5-r9.ebuild:IUSE=java mozdevelop /usr/portage/www-client/mozilla-firefox/mozilla-firefox-1.5.0.1-r2.ebuild:IUSE=java mozdevelop ~ # grep ipv6 /usr/portage/www-client/mozilla-firefox/*.ebuild ~ # ~ # equery u mozilla-firefox [ Searching for packages matching mozilla-firefox... ] [ Colour Code : set unset ] [ Legend: Left column (U) - USE flags from make.conf ] [ : Right column (I) - USE flags packages was installed with ] [ Found these USE variables for www-client/mozilla-firefox-1.5.0.1-r1 ] U I - - debug : Tells configure and the makefiles to build for debugging. Effects vary across packages, but generally it will at least add -g to CFLAGS. Remember to set FEATURES=nostrip too - - gnome : Adds GNOME support - + ipv6 : Adds support for IP version 6 + + java : Adds support for Java + + mozdevelop : Enable features for web developers (e.g. Venkman) - - xinerama : Add support for the xinerama X11 extension, which allows you to stretch your display across multiple monitors + + xprint : Support for xprint, http://www.mozilla.org/projects/xprint/ -- Bo Andresen -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Where do these use flags come from?
They come from /etc/make.conf or /etc/portage/package.use. The profile you are using has defaults set. On Sunday February 26 2006 21:00, Bo Andresen wrote: I decided I wanted to remove the ipv6 use flag which I have had enabled in make.conf for quite a while but never really been on a ipv6 network and don't suspect I will in the near future. When upgrading firefox I noted it has that use flag and decided I want to know what it actually does. Only, I cannot find it anywhere in the ebuilds! So where does it come from and what *exactly* does it do? ~ # emerge -uvp mozilla-firefox These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild U ] www-client/mozilla-firefox-1.5.0.1-r2 [1.5.0.1-r1] USE=java mozdevelop xprint -debug -gnome -ipv6* -xinerama 33 kB Total size of downloads: 33 kB ~ # grep USE /usr/portage/www-client/mozilla-firefox/*.ebuild /usr/portage/www-client/mozilla-firefox/mozilla-firefox-1.0.7-r4.ebuild:IUS E=gnome java mozdevelop mozsvg mozcalendar /usr/portage/www-client/mozilla-firefox/mozilla-firefox-1.5-r11.ebuild:IUSE =java mozdevelop /usr/portage/www-client/mozilla-firefox/mozilla-firefox-1.5-r9.ebuild:IUSE= java mozdevelop /usr/portage/www-client/mozilla-firefox/mozilla-firefox-1.5.0.1-r2.ebuild:I USE=java mozdevelop ~ # grep ipv6 /usr/portage/www-client/mozilla-firefox/*.ebuild ~ # ~ # equery u mozilla-firefox [ Searching for packages matching mozilla-firefox... ] [ Colour Code : set unset ] [ Legend: Left column (U) - USE flags from make.conf ] [ : Right column (I) - USE flags packages was installed with ] [ Found these USE variables for www-client/mozilla-firefox-1.5.0.1-r1 ] U I - - debug : Tells configure and the makefiles to build for debugging. Effects vary across packages, but generally it will at least add -g to CFLAGS. Remember to set FEATURES=nostrip too - - gnome : Adds GNOME support - + ipv6 : Adds support for IP version 6 + + java : Adds support for Java + + mozdevelop : Enable features for web developers (e.g. Venkman) - - xinerama : Add support for the xinerama X11 extension, which allows you to stretch your display across multiple monitors + + xprint : Support for xprint, http://www.mozilla.org/projects/xprint/ -- Bo Andresen -- Brett I. Holcomb -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Where do these use flags come from?
Brett I. Holcomb wrote: They come from /etc/make.conf or /etc/portage/package.use. The profile you are using has defaults set. On Sunday February 26 2006 21:00, Bo Andresen wrote: I decided I wanted to remove the ipv6 use flag which I have had enabled in make.conf for quite a while but never really been on a ipv6 network and don't suspect I will in the near future. When upgrading firefox I noted it has that use flag and decided I want to know what it actually does. Only, I cannot find it anywhere in the ebuilds! So where does it come from and what *exactly* does it do? ~ # emerge -uvp mozilla-firefox These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild U ] www-client/mozilla-firefox-1.5.0.1-r2 [1.5.0.1-r1] USE=java mozdevelop xprint -debug -gnome -ipv6* -xinerama 33 kB Total size of downloads: 33 kB ~ # grep USE /usr/portage/www-client/mozilla-firefox/*.ebuild /usr/portage/www-client/mozilla-firefox/mozilla-firefox-1.0.7-r4.ebuild:IUS E=gnome java mozdevelop mozsvg mozcalendar /usr/portage/www-client/mozilla-firefox/mozilla-firefox-1.5-r11.ebuild:IUSE =java mozdevelop /usr/portage/www-client/mozilla-firefox/mozilla-firefox-1.5-r9.ebuild:IUSE= java mozdevelop /usr/portage/www-client/mozilla-firefox/mozilla-firefox-1.5.0.1-r2.ebuild:I USE=java mozdevelop ~ # grep ipv6 /usr/portage/www-client/mozilla-firefox/*.ebuild ~ # ~ # equery u mozilla-firefox [ Searching for packages matching mozilla-firefox... ] [ Colour Code : set unset ] [ Legend: Left column (U) - USE flags from make.conf ] [ : Right column (I) - USE flags packages was installed with ] [ Found these USE variables for www-client/mozilla-firefox-1.5.0.1-r1 ] U I - - debug : Tells configure and the makefiles to build for debugging. Effects vary across packages, but generally it will at least add -g to CFLAGS. Remember to set FEATURES=nostrip too - - gnome : Adds GNOME support - + ipv6 : Adds support for IP version 6 + + java : Adds support for Java + + mozdevelop : Enable features for web developers (e.g. Venkman) - - xinerama : Add support for the xinerama X11 extension, which allows you to stretch your display across multiple monitors + + xprint : Support for xprint, http://www.mozilla.org/projects/xprint/ -- Bo Andresen I think what the OP is asking, is where the usability of the flags is specified in the Firefox ebuild(s) - which it quite clearly isn't. If this is the case, I think the ipv6 USE-flag is added by an inherited eclass (assuming they can do that) - probably one of the mozilla ones. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Where do these use flags come from?
Bo Andresen wrote: I decided I wanted to remove the ipv6 use flag which I have had enabled in make.conf for quite a while but never really been on a ipv6 network and don't suspect I will in the near future. When upgrading firefox I noted it has that use flag and decided I want to know what it actually does. Only, I cannot find it anywhere in the ebuilds! So where does it come from and what *exactly* does it do? -- snip -- That ebuild inherits the mozconfig-2.eclass Look at /usr/portage/eclass/mozconfig-2.eclass and you'll find ipv6 defined in the IUSE variable. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Where do these use flags come from?
If you look at the ebuild there is an IUSE entry. You can also use equery uses package name to see what it uses. On Sunday February 26 2006 21:40, Ryan Tandy wrote: Brett I. Holcomb wrote: They come from /etc/make.conf or /etc/portage/package.use. The profile you are using has defaults set. On Sunday February 26 2006 21:00, Bo Andresen wrote: I decided I wanted to remove the ipv6 use flag which I have had enabled snip -- Bo Andresen I think what the OP is asking, is where the usability of the flags is specified in the Firefox ebuild(s) - which it quite clearly isn't. If this is the case, I think the ipv6 USE-flag is added by an inherited eclass (assuming they can do that) - probably one of the mozilla ones. -- Brett I. Holcomb -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Where do these use flags come from?
On Monday 27 February 2006 03:47, Luis Ortiz wrote: Only, I cannot find it anywhere in the ebuilds! So where does it come from and what *exactly* does it do? That ebuild inherits the mozconfig-2.eclass Look at /usr/portage/eclass/mozconfig-2.eclass and you'll find ipv6 defined in the IUSE variable. Thanks for quick and specific response. :) -- Bo Andresen -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Where do these use flags come from?
Evidently I didn't understand what you were asking the first time - sorry it didn't meet your needs. I learned something, too - that the eclasses can pass their flags on. On Sunday February 26 2006 22:03, Bo Andresen wrote: On Monday 27 February 2006 03:49, Brett I. Holcomb wrote: If you look at the ebuild there is an IUSE entry. You can also use equery uses package name to see what it uses. Perhaps you should read the original post a little more carefully... ;) As you'll see I do not ask where the use flag is set rather I ask where it comes from. Secondly it is not in the IUSE of entry of that ebuild rather it is in the IUSE of one of the eclasses that the ebuild inherits from (I had no idea it could inherit use flags too). And thirdly I actually do use equery uses in the original post... BTW stop top-posting, please. :) -- Bo Andresen -- Brett I. Holcomb -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Where do these use flags come from?
Brett I. Holcomb wrote: Evidently I didn't understand what you were asking the first time - sorry it didn't meet your needs. I learned something, too - that the eclasses can pass their flags on. On Sunday February 26 2006 22:03, Bo Andresen wrote: On Monday 27 February 2006 03:49, Brett I. Holcomb wrote: If you look at the ebuild there is an IUSE entry. You can also use equery uses package name to see what it uses. Perhaps you should read the original post a little more carefully... ;) As you'll see I do not ask where the use flag is set rather I ask where it comes from. Secondly it is not in the IUSE of entry of that ebuild rather it is in the IUSE of one of the eclasses that the ebuild inherits from (I had no idea it could inherit use flags too). And thirdly I actually do use equery uses in the original post... BTW stop top-posting, please. :) -- Bo Andresen I just learned that today :) http://www.gentoo.org/proj/en/devrel/handbook/handbook.xml?part=2chap=2style=printable http://www.gentoo.org/proj/en/devrel/handbook/handbook.xml?style=printablepart=2chap=1 -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] What happens with masked packages?
On Sunday 26 February 2006 18:57, Boyd Stephen Smith Jr. wrote: My proposal at this point, would be for an additional restriction on packages based on a new UPSTREAM variable in the ebuild itself, ACCEPT_UPSTREAM variable in make.conf / the environment, and the package.upstream file in /etc/portage. Stephen and I have talked about this before. The real fleshed out idea is meant to be for a user that might want to follow a package as it moves from alpha-beta-release. While the overall stability of the system might be compromised by globally adding an ACCEPT_UPSTREAM=BETA an individual may be willing to make that compromise to test new applications and provide upstream bug reports before a package has made it to final release. I read your previous posts about this as that you wanted it to be easier to get beta versions but what you want is in fact the exact opposite - further restriction. Now I get it. I don't envision it as further restriction, instead it's a way to add seperation of ebuild/software stability. Imagine that I have a package that is in early alpha state and very unstable. However the ebuild for that package does not hurt the system, it's proper and conforms to portage and plays nicely. Under the current system if my ebuild was added to portage it would be masked with package.mask. Under the new system it would not be in package.mask, instead a user would have to set ACCEPT_UPSTREAM=ALPHA or set mypackage ALPHA in package.upstream. This also facilitates cvs ebuilds nicely by not having to hard mask everything, but instead making the user choose the system's level of stability. Of course the defaults would be sane, but then the user could override it globally or locally to each package. This would clean package.mask up and make it purely for misbehaving ebuilds. I'm imaging the default provided by the base profile would be ACCEPT_UPSTREAM=RELEASE BUG_FIX SECURITY_FIX so that packages with UPSTREAM=BETA (or HEAD, SNAPSHOT, ALPHA, PRE_RELEASE, RELEASE_CANDIDATE, alia al) would not be installed. (Until you changes your ACCEPT_UPSTREAM in make.conf or edit /etc/portage/package.upstream) Let's take a real life example of the cloudiness of the current situation. If you run ~arch right now and update your system it will pull a new kernel in even if that kernel is a release candidate. The ebuild is clean and installs properly and is not in package.mask, however if you don't want release candidate kernels there isn't an easy way to do it and only allow released version. Under the new system the kernel ebuilds would still be handled the same way (not placed into package.mask), but the user wouldn't get a release candidate kernel unless they say ACCEPT_UPSTREAM=RELEASE_CANDIDATE or set the kernel up that way in package.upstream. Another example that sticks out in my head. In the run up to KDE 3.5 I wanted to follow all the ALPHA, BETA and RC releases so I could file bug reports and make the final version better. There wasn't an easy way to do this and the list of packages to unmask was enourmous. Somewhere near beta2 all the ebuils were good, so it could be cleanly merged, but you had to go through the unmask dance. Under the new system once the ebuilds were clean, they would move out of package.mask and any user with the appropriate ACCEPT_UPSTREAM/package.upstream settings could test the new KDE. If there's one thing we've established over the years, it's that the vast majority of our users don't have the slightest clue what's best for them in terms of package stability. -- Gentoo Developer Ciaran McCreesh I can't believe he said that! What he might have meant is that we should provide sane defaults to our users so newcomers don't get hosed systems due to us requiring intimate knowledge of the system. While we shouldn't make unsafe policies at the global level we should allow advanced users to do as they please. -- Zac Slade [EMAIL PROTECTED] ICQ:1415282 YM:krakrjak AIM:ttyp99 -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] ALSA: All modules loaded, mixer unmuted, still no sound
Hello, On 2/26/06, Boyd Stephen Smith Jr. [EMAIL PROTECTED] wrote: On Sunday 26 February 2006 02:20, Ducky Z. [EMAIL PROTECTED] wrote about '[gentoo-user] ALSA: All modules loaded, mixer unmuted, still no sound': Hello, The sound card works fine with Ubuntu in my other partition. I've followed Gentoo's Alsa Guide and currently with kernel modules. But no sound comes out when I play music or any other things. Are use using alsa provided by the kernel, or the kernel modules provided by alsa-driver? What version of either the kernel or alsa-driver? What version of alsa-lib? I'm using the modules provided by the kernel, which is 2.6.15. alsa-lib is 1.0.10. Can you play wav files through aplay? There should be some samples in /usr/share/sounds if you don't have other .wav files. When I aplay a file, it shows: ALSA lib pcm_direct.c:900:(snd_pcm_direct_initialize_slave) unable to install hw params ALSA lib pcm_dmix.c:831:(snd_pcm_dmix_open) unable to initialize slave aplay: main:544: audio open error: Inappropriate ioctl for device In addition to being unmuted are the outputs actually turned up? Output means? You appear to have the right modules loaded, but those dmesg errors are likely because the userland is having problems talking to the kernel. Is there any workaround? My 'uname -a': Linux rolling-machine 2.6.15-nitro3 #3 PREEMPT Sun Feb 26 13:23:00 MMT 2006 i686 Intel(R) Pentium(R) M processor 1.60GHz GenuineIntel GNU/Linux What's -nitro? Is that your own kernel version string or is that like ck-sources? It's nitro-sources. I've used gentoo-sources, and I'm now trying nitro-sources. Thanks a lot. DZ -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] ALSA: All modules loaded, mixer unmuted, still no sound
On Sunday 26 February 2006 22:17, Ducky Z. wrote: I'm using the modules provided by the kernel, which is 2.6.15. alsa-lib is 1.0.10. This should be fine. When I aplay a file, it shows: ALSA lib pcm_direct.c:900:(snd_pcm_direct_initialize_slave) unable to install hw params ALSA lib pcm_dmix.c:831:(snd_pcm_dmix_open) unable to initialize slave aplay: main:544: audio open error: Inappropriate ioctl for device Hrm Is this being done as root? I think your /etc/asound.conf file might need some help. I'm not sure here, but it might not be able to play because the wrong information is in the asound.conf file. In addition to being unmuted are the outputs actually turned up? Output means? Means that PCM, MASTER are not set to 0 in alsamixer. You said earlier that they were unmuted and turned up so I think you have this covered, but you should double check. You appear to have the right modules loaded, but those dmesg errors are likely because the userland is having problems talking to the kernel. Is there any workaround? Well the workaround is to get programs using the alsa libraries to properly initialize the device. Not sure what the configuration issue is. -- Zac Slade [EMAIL PROTECTED] ICQ:1415282 YM:krakrjak AIM:ttyp99 -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] ALSA: All modules loaded, mixer unmuted, still no sound
Hello, When I ran aplay as non-root user, the output seems worse :( ALSA lib confmisc.c:672:(snd_func_card_driver) cannot find card '0' ALSA lib conf.c:3493:(_snd_config_evaluate) function snd_func_card_driver returned error: No such device ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings ALSA lib conf.c:3493:(_snd_config_evaluate) function snd_func_concat returned error: No such device ALSA lib confmisc.c:1072:(snd_func_refer) error evaluating name ALSA lib conf.c:3493:(_snd_config_evaluate) function snd_func_refer returned error: No such device ALSA lib conf.c:3962:(snd_config_expand) Evaluate error: No such device ALSA lib pcm.c:2099:(snd_pcm_open_noupdate) Unknown PCM default aplay: main:544: audio open error: No such device I've re-checked all the mixer levels :) And finally, I don't have asound.conf in my /etc. Where does it come from? Thanks again. DZ On 2/27/06, Zac Slade [EMAIL PROTECTED] wrote: On Sunday 26 February 2006 22:17, Ducky Z. wrote: I'm using the modules provided by the kernel, which is 2.6.15. alsa-lib is 1.0.10. This should be fine. When I aplay a file, it shows: ALSA lib pcm_direct.c:900:(snd_pcm_direct_initialize_slave) unable to install hw params ALSA lib pcm_dmix.c:831:(snd_pcm_dmix_open) unable to initialize slave aplay: main:544: audio open error: Inappropriate ioctl for device Hrm Is this being done as root? I think your /etc/asound.conf file might need some help. I'm not sure here, but it might not be able to play because the wrong information is in the asound.conf file. In addition to being unmuted are the outputs actually turned up? Output means? Means that PCM, MASTER are not set to 0 in alsamixer. You said earlier that they were unmuted and turned up so I think you have this covered, but you should double check. You appear to have the right modules loaded, but those dmesg errors are likely because the userland is having problems talking to the kernel. Is there any workaround? Well the workaround is to get programs using the alsa libraries to properly initialize the device. Not sure what the configuration issue is. -- Zac Slade [EMAIL PROTECTED] ICQ:1415282 YM:krakrjak AIM:ttyp99 -- gentoo-user@gentoo.org mailing list -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] ALSA: All modules loaded, mixer unmuted, still no sound
On Sunday 26 February 2006 22:46, Zac Slade [EMAIL PROTECTED] wrote about 'Re: [gentoo-user] ALSA: All modules loaded, mixer unmuted, still no sound': On Sunday 26 February 2006 22:17, Ducky Z. wrote: I'm using the modules provided by the kernel, which is 2.6.15. alsa-lib is 1.0.10. This should be fine. Hrm, is alsa-lib 1.0 backwards compatible to 0.9? 'Cause the kernel shipped with 0.9 support for a while and my kernel now has to have an option to provide the 0.9 abi/api. You could try either upgrading your kernel or downgrading your alsa-lib. Or, you could abandon the kernel-provide modules and use alsa-drivers. When I aplay a file, it shows: ALSA lib pcm_direct.c:900:(snd_pcm_direct_initialize_slave) unable to install hw params ALSA lib pcm_dmix.c:831:(snd_pcm_dmix_open) unable to initialize slave aplay: main:544: audio open error: Inappropriate ioctl for device Hrm Is this being done as root? I think your /etc/asound.conf file might need some help. I'm not sure here, but it might not be able to play because the wrong information is in the asound.conf file. Yeah, try as root and if that works, check permissions on stuff in /dev/sound. If you can get the 1.0 alsa-lib to work with your kernel, you can probably blow away your asound.conf file anyway. The move to 1.0 made dmix automatic for devices that don't do hw mixing. -- If there's one thing we've established over the years, it's that the vast majority of our users don't have the slightest clue what's best for them in terms of package stability. -- Gentoo Developer Ciaran McCreesh -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Sata Controllers and drives
What kind of motherboard do you have? I have two older boards that it just doesn't work on. I have a Tyan Tiger MPX and an ASUS A7M266-D. On both I can install the OS by booting from the LiveCD on one system and using XP Pro on the other system. The drives are seen and the install goes well. However, when I reboot and try and start the OS there is no drive. In the BIOS I see no entries for the drives or Syba. I see no messages during boot up from the card either. Any tricks to get it working? On Monday January 9 2006 10:35, Bill Roberts wrote: I just bought this sata controller: SYBA SY-VIA-150 PCI SATA /IDE Combo Controller Card, Non Raid Cost was $11.60 at Newegg. Gives you two satas, one ide. Only has one sata cable with it, and you will need sata power-adapters, depending on the sata drives you buy. Works well with the following kernel settings. CONFIG_SCSI=y CONFIG_SCSI_SATA=y CONFIG_SCSI_SATA_VIA=y CONFIG_SCSI_QLA2XXX=y Good luck. Bill Roberts On 20:50 Sun 08 Jan , Brett I. Holcomb wrote: I have a system I need to upgrade from SCSI with an Adaptec 3210S RAID (I'm using HItachi nee IBM SCSI Ultrastor drives which aren't holding up too well) and am looking at going with SATA. Some input from the those with recommendations or experiences would be appreciated. 1. SATA Controllers - I see a bunch listed in menuconfig but what have you found to work? Is Promise any good? What are some good brands 2. Sata drives - what have you found to be reliable and work well. I've crossed Hitachi off my list because of my experience with the Ultrastores. Thank you. -- Brett I. Holcomb -- gentoo-user@gentoo.org mailing list -- Brett I. Holcomb -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Gentoo LVM Newbie Question
Am Samstag, 25. Februar 2006 11:44 schrieb ext Jarry: I mean I can not resize them off-line because I can not unmount them while system is running :-) Wrong. Switch to runlevel 1 (using telinit 1), which is for maintenance. In RL 1, no user processes are running and you can umount everything except /. But as Alexander already did, I would recommend switching to reiserfs. HTH... Dirk -- Dirk Heinrichs | Tel: +49 (0)162 234 3408 Configuration Manager | Fax: +49 (0)211 47068 111 Capgemini Deutschland | Mail: [EMAIL PROTECTED] Hambornerstraße 55 | Web: http://www.capgemini.com D-40472 Düsseldorf | ICQ#: 110037733 GPG Public Key C2E467BB | Keyserver: www.keyserver.net pgp4W8q4m4ees.pgp Description: PGP signature
Re: [gentoo-user] Where do these use flags come from?
On Monday 27 February 2006 04:03, Bo Andresen wrote: BTW stop top-posting, please. :) On Monday 27 February 2006 04:13, Brett I. Holcomb wrote: Evidently I didn't understand what you were asking the first time - sorry it didn't meet your needs. I learned something, too - that the eclasses can pass their flags on. On Sunday February 26 2006 22:03, Bo Andresen wrote: [SNIP] Do you never read to the end of mails to which you reply? Stop top-posting. Don't include quotes to which you do not reply. Reply below quotes to which you do reply. It is not that hard! http://www.catb.org/jargon/html/T/top-post.html -- Bo Andresen -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Re: [gentoo-dev] Re: KDE, metapackages, and monolithic packages
Ryan Tandy wrote: Mike Myers wrote: Duncan wrote [deleted] Thanks a lot for the detailed explanation. Do you know if there's a way or going to be a way to handle the split ebuilds so that reemerging or unemerging a split ebuild will reemerge or unemerge the corresponding packages? It seems like the ebuilds are only intended to make installing kde easier, which they do, but it doesn't make handle uninstalling or reinstalling a split ebuild very easy at all. Like, if I had kde 3.4 installed and upgraded to 3.5 and no longer need 3.4, I can't just do 'emerge -C kde-meta-3.4', or something similar if it's the installed with the split metapackage. Or if I just wanted to remove some split ebuild, like say kdenetwork, but leave the rest, I couldn't do 'emerge -c kdenetwork-meta' to uninstall the related packages. Basically, my concern is that how KDE is installed is quite easily handled, but uninstalling or reinstalling is not equally as easy, at least in some aspects. I hope I explain myself well enough, and thanks for your response. Mike Moving this to -user as requested by Richard. The meta-packages install their split ebuilds by way of depending on them. Therefore, to remove a complete set of split ebuilds, you can 'emerge -C kde-meta' (for example), and then run 'emerge depclean' to clear out the split ebuilds which are no longer depended on by anything. Remember to 'emerge -p depclean' first and conduct a sanity check. Also you could run 'equery depgraph kde-meta', and then use some grep and cut magic to grab the atoms, useful if depclean doesn't co-operate. HTH. Thanks for moving It seems like using the split ebuilds are only a mechanism for installing packages, but they they don't include a mechanism for doing anything else with the packages. Like, doing an emerge -C kde-meta doesn't actually uninstall anything, or doing an emerge kde-meta if kde-meta has already been installed doesn't reinstall anything at all. Clearly, reinstalling or uninstalling those packages can be done one way or another, I don't understand why reemerging or uninstalling (while not all that complicated) is somewhat more involved than other packages. Is anything planned to address this? Or are split ebuilds going to be left that way? -- gentoo-user@gentoo.org mailing list