[gentoo-user] KDE plasma binary
Hello, I’m trying just for testing purpose for now, to install Gentoo full binary. I’m following the Gentoo Binary guide and I think it’s working, but now I’ve realized looks I’m in trouble to install KDE binary. My profile is desktop plasma openrc. There is some step maybe I had missed? The emerge error is like, packages are masked to your use flags. Thanks.
[gentoo-user] KDE Binary Package
Hello, I’m trying just for testing purpose for now, to install Gentoo full binary. I’m following the Gentoo Binary guide and I think it’s working, but now I’ve realized looks I’m in trouble to install KDE binary. My profile is desktop plasma openrc. There is some step maybe I had missed? The emerge error is like, packages are masked to your use flags. Thanks.
Re: [gentoo-user] gentoo for a virtual server in the cloud?
On Fri, Mar 18, 2022 at 4:22 PM tastytea wrote: > On 2022-03-18 20:03+0100 n952162 wrote: > > > I rent a low-cost virtual server in the cloud. The platform offers me > > some choices in linux distributions, but I'm wondering if I can > > compile gentoo to run on it. Anybody have experience doing this? > > If the platform offers you access to the VGA output via VNC or whatever > and lets you mount an ISO in a virtual DVD drive, it pretty much works > like any other Gentoo install. > > Another option is to shrink your filesystem and partition, make a new > partition and install Gentoo from the old install. > > You could also try to make Grub boot into an ISO in your /boot > partition. If you don't have access to the VGA output, you could try to > find a ISO that starts an SSH server automatically and lets you set the > password via the kernel cmdline. > > Kind regards, tastytea > I've read this question and now I'm curious about how much it would cost to compile a Gentoo system into cloud. Anyone know this? Regards, Raphael
Re: [gentoo-user] Reverse Proxy with Apache2
On Tue, Jan 18, 2022 at 4:17 PM Grant Taylor < gtay...@gentoo.tnetconsulting.net> wrote: > On 1/18/22 11:24 AM, Anatoly Laskaris wrote: > > I'm sorry for not answering to the question directly, but why use > apache2? > > - Because Apache is already installed and listening on the port in > question. > - Because that's what the OP asked about. > - Because it might be IBM / Oracle HTTP Server which are re-rolls of > Apache HTTP Server. > - $REASONS > > > There are modern alternatives ... > > Age of something doesn't mean a lot. > > - TCP/IP is from the 80s and yet we are still using it. > - OSI is newer than IPv4. > - IPv6 is newer than IPv4 and OSI. > > Yet we are still talking about the venerable IPv4. > > > And something completely different like Traefik > > (https://doc.traefik.io/traefik/getting-started/quick-start/) which is > > geared towards modern cloud native infrastructure with containers and > > workload orchestrators like Nomad or Kubernetes. > > Usually you don't configure Traefik with static config file, but with > > metadata and annotations in K8S and Consul so it is dynamic and reactive. > > I view adding /additional/ software / daemons as poor form, especially > when the /existing/ software can do the task at hand. > > Don't overlook the port conflict. > > > Or you can use nginx (which is already considered pretty old and clunky, > > but it is much easier than apache still). > > Why start the email asking why something old is used and then finish the > email suggesting the possibility of using something else old? > > > > -- > Grant. . . . > unix || die > > Hello, I've modified a little my config file: ServerName raphaxx.intranet ServerAdmin raph...@gmail.com DocumentRoot /var/www/html ErrorLog ${APACHE_LOG_DIR}/error.log CustomLog ${APACHE_LOG_DIR}/access.log combined ProxyRequests Off ProxyPreserveHost On Order deny,allow Allow from all ProxyPass "zmz" "http://raphaxx.intranet:8280/zm/"; ProxyPassReverse "zmz" "http://raphaxx.intranet:8280/zm/"; SSLEngine on SSLCertificateFile /etc/ssl/certs/apache-selfsigned_raphaxx.crt SSLCertificateKeyFile /etc/ssl/private/apache-selfsigned_raphaxx.key SSLOptions +StdEnvVars SSLOptions +StdEnvVars My ssl is ok, the ssl redirect is on default.conf But this ProxyReverse, I've been trying in many ways, another file, and so on, but nothing works. About the VirtualHost for the 8280, I'm guessing it was not necessary, because the 8280 is the VM and the VM has its own apache2. I have a nat rule to redirect 192.168.0.15:8280 to my VM server 192.168.2.100:80 on my root server 192.168.0.15. About Caddy, I do not want to install another server and deal with another config. Thanks!
[gentoo-user] Reverse Proxy with Apache2
Hello, I'm trying to setup a reverse proxy on my apache2 server to serve an another apache2 server running on a vm, basically my root apache2 is at 192.168.0.15 and my second apache2 is at 192.168.0.15:8280. My idea is to have 192.168.0.15/zm as 192.168.0.15:8280. The question is, how to do it? I've looked up some guides, but it is difficult to setup. My config: ServerAdmin root@192.168.0.15 ServerName 192.168.0.15 DocumentRoot /var/www/html ErrorLog ${APACHE_LOG_DIR}/error.log CustomLog ${APACHE_LOG_DIR}/access.log combined SSLEngine on SSLCertificateFile /etc/ssl/certs/apache-selfsigned.crt SSLCertificateKeyFile /etc/ssl/private/apache-selfsigned.key SSLOptions +StdEnvVars SSLOptions +StdEnvVars ServerName 192.168.0.15/zm ServerAlias zm ErrorLog ${APACHE_LOG_DIR}/error.log CustomLog ${APACHE_LOG_DIR}/access.log combined ProxyPass /zm http://192.168.0.15:8280/zm ProxyPassReverse /zm http://192.168.0.15:8280/zm SSLEngine On SSLProxyEngine On SSLCertificateFile /etc/ssl/certs/apache-selfsigned.crt SSLCertificateKeyFile /etc/ssl/private/apache-selfsigned.key Does it look any good? Thanks. M.S. Raphael Mejias Dias Nuclear Engineer | Reactors Secure e-mail: raphael.mejias.d...@protonmail.com PGP Key for raph...@gmail.com: https://pgp.mit.edu/pks/lookup?op=get&search=0x87BC5A746072F951
Re: [gentoo-user] TLD for home LAN?
> > On Sat, Jan 15, 2022 at 5:57 AM William Kenworthy > wrote: > > > > On 15/1/22 18:33, Peter Humphrey wrote: > > > Hello list, > > > > > > Rich F said recently, "I'd avoid using the .local TLD due to RFC 6762." > > > > > > That brings me back to a thorny problem: what should I call my local > network? > > > It used to be .prhnet, but then a program I tried a few years ago > insisted on > > > a two-component name, so I changed it to .prhnet.local. > > > > > > Now I've read that RFC - well, Appendix G to it - and I'm scratching > my head. > > > I suppose it's possible that someone may want to connect an Apple > device to my > > > network, so perhaps I should clear the way for that eventuality. > > > > > > So, what TLD should I use? Should I use .home, or just go back to > .prhnet? It > > > isn't going to be visible to the Big Bad World, so does it even matter? > > > > > Ive been using "localdomain" for years without any obvious problems. > > .local is not just apple but can be used by other things too (e.g., > > homeassistant uses it for device discovery, creating an extensive > > ecosystem in the process. No apple devices in sight :) > > Just about everything supports mDNS, including Gentoo: > https://wiki.gentoo.org/wiki/Avahi > > (Most desktop-oriented distros enable it by default.) > > You might want to look into whether it solves your problems > out-of-the-box without the need to run internal DNS. The latter still > has certain advantages, but mDNS obviously benefits from simplicity. > > -- > Rich > > This solution, change hosts file, that Avahi suggests, is the easy solution without DNS local server? I never realized about the host file — Raphael -- M.S. Raphael Mejias Dias Nuclear Engineer | Reactors Secure e-mail: raphael.mejias.d...@protonmail.com PGP Key for raph...@gmail.com: https://pgp.mit.edu/pks/lookup?op=get&search=0x87BC5A746072F951
[gentoo-user] BIND Configuration for DNS
Hello, I'm trying to configure BIND for a local DNS server, but I'm not sure that it's ok. Basically, I'm wanting to create an internal address like intranet.local, this way, I can change the internal IP address, without the obligation to reconfigure the client machines to lookup the new IP, only changing the DNS lookup table. First, I had followed the Gentoo Wiki and after I tried BIND official documentation. I've realized the network PC's did not find the DNS address, only the localhost can find it, when I force the DNS, the client PC cannot access the internet anymore. If someone knows a guide to help, I'll be glad to know. Thanks. Best Regards, M.S. Raphael Mejias Dias Nuclear Engineer | Reactors Secure e-mail: raphael.mejias.d...@protonmail.com PGP Key for raph...@gmail.com: https://pgp.mit.edu/pks/lookup?op=get&search=0x87BC5A746072F951
[gentoo-user] Gentoo as NAS
Hello everyone, I'm thinking about using Gentoo as a NAS serve. I know there are some NAS distributions like FreeNAS that are claimed to be rock solid, but FreeNAS support for GPU and other things sounds poor to me. Said that, what could be the effort to turn my Gentoo in a NAS service, setting up SAMBA, Plex, quotas and ZFS? Anyone has already tried it? Thanks! M.S. Raphael Mejias Dias Nuclear Engineer | Reactors Secure e-mail: raphael.mejias.d...@protonmail.com PGP Key for raph...@gmail.com: https://pgp.mit.edu/pks/lookup?op=get&search=0x87BC5A746072F951
Re: [gentoo-user] Best approach to a home NAS server
>>On Wed, Jan 20, 2021 at 5:57 AM bobwxc wrote: > >>在 2021/1/20 上午8:04, Raphael MD 写道: > >> > >> Hello folks! > >> > >> > >> What could be the best approach to a small home server with a 20’s > >> core Xeon and 32GB of ram? > >> > >> I'm thinking of serving a NAS, a virtual machine to record 2 cameras > >> with ZoneMider and a DB server/php. > >> > >> Some configurations I'm guessing are described below. > >> > >> 1)Install FreeNAS, formatting my 3 disk in ZFS raid and setup all > >> stuff upon FreeNas using VirtualBox (1-Linux to ZoneMinder and 1-Linux > >> to a small host php/db server); > >> > >> 2)Install a FreeBSD ZFS using Xen and setup two guests, a Linux Guest > >> to ZoneMinder + DB/php and a FreeNas guest; > >> > >> 3)Install a Linux ZFS host, ZoneMinder and DB/php upon it and a > >> virtual machine for FreeNas; > >> > >> 4)Install a Linux ZFS, setup a NAS on Linux, and run a VirtualBox > >> machine to ZoneMinder and another small server. > >> > >> Thanks! > >> > >> > >> M.S. Raphael Mejias Dias > >> Nuclear Engineer | Reactors > >> > >> Secure e-mail: raphael.mejias.d...@protonmail.com > >> <mailto:raphael.mejias.d...@protonmail.com> > >> PGP Key for raph...@gmail.com <mailto:raph...@gmail.com>: > >> https://pgp.mit.edu/pks/lookup?op=get&search=0x87BC5A746072F951 > >> <https://pgp.mit.edu/pks/lookup?op=get&search=0x87BC5A746072F951> > >Here are some my options, > >1. freenas host, using dockers for ZoneMinder and php/db server; > >(or linux host and docker for nas and other server) > >2. try ESXi, and install virtual machine like freenas and linux servers. > > >I recommend No.2, since you server is powerful and ESXi may get a good > >performance. > > > >-- > >bobwxc > >F645 5C7A 08E8 A637 24C6 D59E 36E9 4EAB B53E 516B > I never have used Docker, is Docker better than Xen? I'm curious if it is easier to understand and maintain than some standalone virtual machine. Regarding the ESXi I'm looking for some free solution, because this will be a home server. In the case of ZFS, is Linux stable for production nowadays? I've read and appear to be in very good condition now. Thanks. M.S. Raphael Mejias Dias Nuclear Engineer | Reactors
[gentoo-user] Best approach to a home NAS server
Hello folks! What could be the best approach to a small home server with a 20’s core Xeon and 32GB of ram? I'm thinking of serving a NAS, a virtual machine to record 2 cameras with ZoneMider and a DB server/php. Some configurations I'm guessing are described below. 1) Install FreeNAS, formatting my 3 disk in ZFS raid and setup all stuff upon FreeNas using VirtualBox (1-Linux to ZoneMinder and 1-Linux to a small host php/db server); 2) Install a FreeBSD ZFS using Xen and setup two guests, a Linux Guest to ZoneMinder + DB/php and a FreeNas guest; 3) Install a Linux ZFS host, ZoneMinder and DB/php upon it and a virtual machine for FreeNas; 4) Install a Linux ZFS, setup a NAS on Linux, and run a VirtualBox machine to ZoneMinder and another small server. Thanks! M.S. Raphael Mejias Dias Nuclear Engineer | Reactors Secure e-mail: raphael.mejias.d...@protonmail.com PGP Key for raph...@gmail.com: https://pgp.mit.edu/pks/lookup?op=get&search=0x87BC5A746072F951
[gentoo-user] Kernel drivers and modules list
Hello everyone, I’ve booted my system with a gentoo live cd, just to figure out my system drivers and modules to configure the kernel, because it’s difficult to realize what drive my intel Ethernet card uses and many others. Are there some command to extract that list to configure the kernel? In fact, are there some manual to help to configure the kernel in the best way? Usually I configure my Zen processor, put my schedule, and set preemptive kernel to low latency and put out every other drive. Thanks! -- M.S. Raphael Mejias Dias Nuclear Engineer | Reactors Secure e-mail: raphael.mejias.d...@protonmail.com PGP Key for raph...@gmail.com: https://pgp.mit.edu/pks/lookup?op=get&search=0x87BC5A746072F951
Re: [gentoo-user] Update Gentoo recently is becoming difficult
I’ve been noted that Systemd is putting hard dependency in things like Bluetooth, today is difficult rely upon a system without Bluetooth. Anyone know some systemd manual to quickly put a system to run? I was guessing could be easy install a systemd, but I’m realizing that isn’t. Thanks -- M.S. Raphael Mejias Dias Nuclear Engineer | Reactors Secure e-mail: raphael.mejias.d...@protonmail.com PGP Key for raph...@gmail.com: https://pgp.mit.edu/pks/lookup?op=get&search=0x87BC5A746072F951
[gentoo-user] Update Gentoo recently is becoming difficult
Hello, I’ve been realizing to update Gentoo is becoming worse every time. My 2018 install, that I’ve recently update because python, was still those days running like a square wheel. I was trying to update my KDE profile 17, but was a pain, I’ve suffered a lot, many blocks, flag problems, circular dependency and in the end perl messed me and the system entirely broke. Now I’m installing a new fresh system, and even in the beginning to emerge the world update, like manual says, circular dependency problem with Bluetooth and Systemd. I’m long openRC user, I’ve started again using Systemd stage3, and now suffering with python 3.6/3.8 dependency mess. I don’t know if I’m out of luck or Gentoo is becoming a pain to maintain and update. I know, there are some periods is better to avoid update and appear this time is now! Lol Thanks. -- M.S. Raphael Mejias Dias Nuclear Engineer | Reactors Secure e-mail: raphael.mejias.d...@protonmail.com PGP Key for raph...@gmail.com: https://pgp.mit.edu/pks/lookup?op=get&search=0x87BC5A746072F951
Re: [gentoo-user] 32GB RAM and Swap
On Fri, 1 May 2020 at 18:49 J. Roeleveld wrote: > On 1 May 2020 21:50:02 CEST, Raphael MD wrote: > >Hello! > > > >Could I turn my Linux swap off. > >I have 32 GB of RAM memory, I suppose my system don’t need swap, > >because > >I’vea lot of RAM, is this true? > > > >Thanks > > This question keeps getting asked every time people go past some imaginary > large figure of RAM. > > First time I encountered it was somewhere in the 1990s. A friend had a > machine with 64MB ram, a massive amount at that time, and disabled all swap. > He was surprised his machine crashed because of memory issues, until I > asked what he was running. The list included several memory intensive > applications. > He never asked that again and adds it to all his machines. > > My desktop has 32GB and also has some swap. I do regularly see it used and > not because of memory leaks like Dale is mentioning, although those do > appear on occasion. On my desktop it's mostly because I have a lot of stuff > running the whole time. > > So, yes, you still need swap and always will. Unless you put about 10 > times the current magical figure in a desktop. In my view, that would be > 320GB for now, and in another 5 years, that would be around 640GB. > When you have that level of overkill in a desktop, I will not consider OOM > to be likely. > > > -- > Joost > > -- > Sent from my Android device with K-9 Mail. Please excuse my brevity. > Well, it’s figuring that some sort of swap space is necessary, but regarding pressure level on kernel, can I setup it to zero or I’m obligated to put some number because I’ve a swap file? Thanks > > -- M.S. Raphael Mejias Dias Nuclear Engineer | Reactors Secure e-mail: raphael.mejias.d...@protonmail.com PGP Key for raph...@gmail.com: https://pgp.mit.edu/pks/lookup?op=get&search=0x87BC5A746072F951
[gentoo-user] 32GB RAM and Swap
Hello! Could I turn my Linux swap off. I have 32 GB of RAM memory, I suppose my system don’t need swap, because I’vea lot of RAM, is this true? Thanks -- M.S. Raphael Mejias Dias Nuclear Engineer | Reactors Secure e-mail: raphael.mejias.d...@protonmail.com PGP Key for raph...@gmail.com: https://pgp.mit.edu/pks/lookup?op=get&search=0x87BC5A746072F951
Re: [gentoo-user] Error emerging qtwebengine-5.12.5
Mick 3:41 PM (...) >I don't know if your error is related to the gcc version you're using. Better >switch to 9.2 and try again. I've updated GCC to 9.2 and this has solved my problem. Thanks!
[gentoo-user] Error emerging qtwebengine-5.12.5
Hello, I'm trying to update KDE, but the emerge is stopping at qtwebengine-5.12.5 compile process. Here is the compile log. https://pastebin.com/wKbJuAAS dmesg http://dpaste.com/27D5XHK emerge --info http://dpaste.com/2VKVS57 Many Thanks M.S. Raphael Mejias Dias Nuclear Engineer | Reactors Secure e-mail: raphael.mejias.d...@protonmail.com PGP Key for raph...@gmail.com: https://pgp.mit.edu/pks/lookup?op=get&search=0x87BC5A746072F951
[gentoo-user] How to update glibc
Hi, Emerge is asking to update glibc because old is masked and it'll be removed. But, how to update glibc? Gentoo only talk about to update gcc, but my gcc it's up to date. Thanks
[gentoo-user] Problem with printer after system update
Hi! After a system update, my printer only print documents from internet like sites. When a send .pdf to print, cups return this error: No Pages Found. Did anyone see this error? Thanks
Re: [gentoo-user] How to mask or remove new ebuild
On Jul 22, 2017 22:06, "Rich Freeman" wrote: > > On Sat, Jul 22, 2017 at 8:43 PM, Raphael MD wrote: > > > > KDE Appear to be a nightmare, because every 'emerge --sync' I do to solve > > other problems, if KDE base has an updated version issued, and you, > > acidentaly, need to install any other KDE packages that you don't have > > installed yet, you suffer with a lot of dependency updates problems. > > > > De fato, you need to update whole KDE base. > > As long as you aren't trying to mix keywords you should generally end > up with compatible versions without a lot of hassle. Now, if you want > to install some random ~arch kde packages on an otherwise-stable > system then you might run into problems. > > > > > Now I need to install Kdevelop-5.1.0, and emerge are asking to install kde's > > dependencies' version 5.7.1. My installed versions are 5.6.2. But emerge > > even it I masked those packages, refuse to install. > > It sounds like you're running into a qt update issue (I assume you're > talking about qt here - your description isn't very specific). > > If so, I suspect this will help you: > https://wiki.gentoo.org/wiki/Qt/FAQ#Solving_the_block > > I'd have to dig up the reason behind this - there was an issue that > prevented portage from being able to figure out how to resolve this > one on its own. > > You probably should have run into this a while ago when running a > regular emerge -uD world. > > -- > Rich > I understand, but I've updated my system 15 days ago. I don't want to re-emerge all KDE stuff again and spends 2 days. Because I don't know, if upgrading qt-core won't leave my whole system to break, and emerge will start asking to update kde-base, because qt-core require new kde-base. Are there a way to roll back emerge-sync? Because emerge-sync clean my old ebuilds and I can't mask the new ones, because I don't have the old ones. This appear to be the best solution. For while I've learnt some things about Gentoo, ever save old ebuilds, never run emerge-sync only to upgrade firefox-bin and last, never emerge packages without --oneshot, wether this packages isn't very very important. And new, KDE appears to become a nightmare to have on pc. It's beautiful but is "terrificful".
[gentoo-user] How to mask or remove new ebuild
Hi, KDE Appear to be a nightmare, because every 'emerge --sync' I do to solve other problems, if KDE base has an updated version issued, and you, acidentaly, need to install any other KDE packages that you don't have installed yet, you suffer with a lot of dependency updates problems. De fato, you need to update whole KDE base. Now I need to install Kdevelop-5.1.0, and emerge are asking to install kde's dependencies' version 5.7.1. My installed versions are 5.6.2. But emerge even it I masked those packages, refuse to install. How do I can proceed? Thanks. Raphael
Re: [gentoo-user] Bluetooth head phone
>Ühel kenal päeval, T, 18.07.2017 kell 17:54, kirjutas Raphael MD: >On Tue, Jul 18, 2017 at 12:40 AM, Mart Raudsepp > wrote: > Please also give a try to USE=native-headset on pulseaudio, I think > that USE flag setup (packaging-wise) might be a bit suboptimal if that > makes it work - please try. Hi, I've tried USE=native-headset, and didn't work.
Re: [gentoo-user] Bluetooth head phone
> On Tue, Jul 18, 2017 at 12:40 AM, Mart Raudsepp wrote: > Ühel kenal päeval, E, 17.07.2017 kell 12:10, kirjutas Raphael MD: > emerge --info pulseaudio please? Especially the "was built with the > following USE flags" part Here is: https://pastebin.com/64Rbb9t0
Re: [gentoo-user] Bluetooth head phone
On Mon, Jul 17, 2017 at 7:21 PM, Mick wrote: > On Monday 17 Jul 2017 18:23:02 Raphael MD wrote: > > > > I've used Bluedevil under KDE. > > > > > > > > My headphone is correctly paired, both headphone and PC are connected. > > > > > > > > But I do not have any sound through headphone. > > > > > > > > I've read some Arch forums and they tell about PulseAudio 10 bug, when > > > > Pavucontrol does not detect A2DP sink profile. > > > > > >> The problem is the solutions proposed does not work. > > > > I don't have your bt headphone to know what works, but have you tried using > > > bluetoothctl to manage the bt controller on your PC and set up the > connection? I've tried bluetoothctl, and it can connect without problem, but no sound.
Re: [gentoo-user] Bluetooth head phone
I've used Bluedevil under KDE. My headphone is correctly paired, both headphone and PC are connected. But I do not have any sound through headphone. I've read some Arch forums and they tell about PulseAudio 10 bug, when Pavucontrol does not detect A2DP sink profile. The problem is the solutions proposed does not work.
[gentoo-user] Bluetooth head phone
Hi everyone, I'm suffering a lot to put sound on my Bluetooth's head phone. The Bluez5 recognize my bt device. The pulseaudio is working normally, but A2DP protocol do not appear in pavucontrol options. I've followed the gentoo wiki, and looked at arch wiki to. Anyone have a path to this be difficult task bt+headphone Thanks
[gentoo-user] Kde 5 Latin characters
Hi, I've installed kde 5 on my laptop, who have us keyboard. My Gentoo was installed with pt-BR and en-US L10N and locale. Despite that fact that I'm running a English system, I need to write in Portuguese. The problem is, when I type ~+a, my system writes ~a and not my desired chapter ã, the same for '+c that is showed 'c and not ç. I've realised when I set my keyboard config at kde, abnt2-br, keys combinations works well to show Latin characters, but when I set us generic keyboard, that is my keyboard layout, those key combinations to obtain Latin characters goes wrong. Anybody can suffered that? Thanks.
Re: [gentoo-user] Re: Kernel did not finding root partition
Thank you all, for the help until now. I didn't solve my problem yet, but I realised some troubles and mistakes that I've being made. First I'll divide those problematic situations I've suffered: 1.I was using Genkernel to configure and build the kernel, but Genkernel’s menuconfig doesn’t work like make menuconfig. Genkernel replace my .config everytime I run genkernel –menuconfig all, with this, I my .config has lost XFS build-in, because default Genkernel .config has setted XFS as a module. 2. I’m using rEFInd, installed from Windows 10, I’ll need dual boot. Now I understand that rEFInd can substitute GRUB, but I’ve read a lots of wikis, and it became a little bit confusing. Based on wikis I’ve configured my kernel with EFI stub thinking that is necessary to boot with GRUB only because UEFI. 3. GRUB has booted my kernel, but this EFI Stub’s over-configured kernel, maybe has complicated the situation with GRUB. (I've only supposed that). Expose that, or I configure kernel to use GRUB or rEFInd. I’m leaned to use on rEFInd, but I suffered to create initramfs with gernkernel once, in fact I do not like genkernel at all.
Re: [gentoo-user] Re: Kernel did not finding root partition
On May 29, 2017 14:51, "Kai Krakow" wrote: > > Am Mon, 29 May 2017 08:09:02 -0300 > schrieb Raphael MD : > > > I'm trying to install Gentoo in my notebook, but kernel, during the > > boot, do not find the root partition. > > > > I'm using UEFI boot, I've tried Genkernel, I've checked XFS's support > > in kernel's menuconfig and re-cheked GRUB config files, but is a > > pain, do not work. > > > > I've installed Funtoo with Debian Kernel first, but Funtoo KDE's > > ebuild was pointing to a invalid URL and I've switched to Gentoo and > > now I'm suffering this problem to boot. > > > > Have anyone some information, about this Kernel's boot didn't finding > > root partition? Is better configure kernel without Genkernel? I need > > to pass some commands to Kernel via GRUB? > > > > PS.: Appear to be very simple configure UEFI, because I'm using > > Refind and it was working with Funtoo, and I realized this problem is > > with gentoo kernel's config, but I do not know where I need to config. > > > > Any suggestions? > > For UEFI boot the best way is to install the kernel to the ESP, > especially if it is directly loaded by EFI. Which exact message do you > see? It is not clear if the kernel already booted and just cannot find > the rootfs, or if even the kernel cannot load. > > I don't know reFind, but some EFI loaders like gummiboot / systemd-boot > expect the kernel to have an EFI stub because the kernel is > chain-loaded through EFI... > > So we need to know a few things: > > 1. partition layout > 2. kernel cmdline > 3. boot-loader config > 4. exact error message on screen > > > -- > Regards, > Kai > > Replies to list-only preferred. > > 1. partition layout /dev/sda1 vfat boot /dev/sda3 xfs root /dev/sda2 swap > 2. kernel cmdline None > 3. boot-loader config Grub, without any different config. > 4. exact error message on screen Kernel boot up, start to load drivers and stop asking for root partition.
[gentoo-user] Kernel did not finding root partition
I'm trying to install Gentoo in my notebook, but kernel, during the boot, do not find the root partition. I'm using UEFI boot, I've tried Genkernel, I've checked XFS's support in kernel's menuconfig and re-cheked GRUB config files, but is a pain, do not work. I've installed Funtoo with Debian Kernel first, but Funtoo KDE's ebuild was pointing to a invalid URL and I've switched to Gentoo and now I'm suffering this problem to boot. Have anyone some information, about this Kernel's boot didn't finding root partition? Is better configure kernel without Genkernel? I need to pass some commands to Kernel via GRUB? PS.: Appear to be very simple configure UEFI, because I'm using Refind and it was working with Funtoo, and I realized this problem is with gentoo kernel's config, but I do not know where I need to config. Any suggestions? Thanks!
[gentoo-user] SSD over the SAS controller
Hi, I've a question about using SATA's SSD over the SAS controller on the workstation motherboards. I didn't find any benchmark comparing the CPU/Memory load, for example. I suppose, that installing a SSD over the SAS controller, my CPU/Memory load will be lower and I will get better performance, because dedicated CPU/Memory over the SAS controller will do the job using its resources. Is it right?
[gentoo-user] KDE 5
As you talking about KDE 5, tell me something, nowadays is a good moment to migrate from KDE 4? I only use mplayer, firefox, wine and simple diary apps. Is it a reliable choice to migrate?
Re: [gentoo-user] KDE 5
As you talking about KDE 5, tell me something, nowadays is a good moment to migrate from KDE 4? I only use mplayer, firefox, wine and simple diary apps. Is it a reliable choice to migrate?
[gentoo-user] Problems with CUPS and Brother DCP-L8400CDN printer
Hello. I've tried to install a Brother DCP-L8400CDN network laser printer on my Gentoo. I've followed Gentoo Wiki instructions and have used official Brother's driver. The CUPS works fine with my other printer one old HP 2600N, but when I send any doc to Brother, the printer prints a blank page with the follow message on top: lpadmin -p DCPL8400CDN -E -v usb:/dev/usb/lp0 -P /usr/share//cups/model/Brother... Very strange because my printer is a network printer and not USB printer. I've tried a lot to install this printer. Anyone can hep me? Thanks. Raphael Mejias Dias
Re: [gentoo-user] Python vs C++ [was: Gentoo Rules]
On Dec 17, 2007 12:20 PM, Bo Ãrsted Andresen <[EMAIL PROTECTED]> wrote: > On Monday 17 December 2007 14:38:30 Raphael wrote: > > So, even if Portage was recoded in C++, performance improvements > > would be marginal and the cost in man-hours would be too high. It > > would take months before reaching the maturity level Portage has now > > and all this time could be better spent trying to find solutions to > > its architectural bottlenecks. > > > > I believe that a good solution would be evolving Portage to use > > different forms of storage, like databases or even LDAP. In a home > > desktop, you could use SQLite, which is light weight. In a Office > > enviroment, you could use a larger database, like MySQL or PostgreSQL. > > In this second case, it would even make sharing the package list > > faster, since the only current method is sharing it over NFS. > > > > I understand that doing so could bloat Portage dependencies, but > > it is, IMHO, a good way to improve its speed. > > This post is hilarious for several reasons. Firstly there already exist a > package manager for Gentoo which is written in C++. Paludis. And it has a lot > of features that Portage has been missing for five years. And it's way more > flexible than Portage. Secondly if you just put ebuilds in a database you > gain nothing. I.e. other than the added bloat. I/O is still going to be the > major bottleneck. :P Hey, I made someone laugh today. Good deed of the day: check! :P I was unaware of Paludis. Re-reading the thread now, I saw that someone mentioned it. After googling for it, seems a lot of people are fond of it. Why is it not the default package manager yet? As for the second part, yes, using a database wouldn't get rid of the I/O problem, but could diminish it, since database data isn't spread across several directories and files. And I'm not proposing to store the entire ebuild within, but a representation of it that could be easily queried. > > -- > Bo Andresen > ��í¢ï¿½z���(��&j)b� b�
Re: [gentoo-user] Python vs C++ [was: Gentoo Rules]
On Dec 17, 2007 11:55 AM, Hemmann, Volker Armin <[EMAIL PROTECTED]> wrote: > *removedlotsofideas* ?? > your ideas sound nice on paper. But one strenght of portage and its > structures: no matter how hosed your 'data', you can repair it with cp, mv, > an emerge sync and a text editor. > > Which is all not true, if you start using some database crap. > > Go, look at /var/db/pkg - you can read and repair that stuff easily. > Or the files in /var/lib/portage. Damaged world-file? nano FTW! The Portage files are easy to maintain. But I honestly never _had_ to read them. I just did out of curiosity. And I never needed to repair them either. When I got hosed data, I just replaced everything with the latest backup copy and never looked back. Using a database follows the same principle. If you make backups, you don't need to think about how the system tools store their data. If your system gets in an unstable state, you just recover it. And backing up a database is, IMHO, simpler than backing the Portage data. Regards, Raphael -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Python vs C++ [was: Gentoo Rules]
Hi everyone, I don't think the programming language is the problem here. The problem is that some of Portage architectural decisions have a negative impact on performance. Probably because the developers were focused on minimizing dependencies (i.e. file system based persistence) and bandwidth consumption (i.e. using rsync for updating packages). So, even if Portage was recoded in C++, performance improvements would be marginal and the cost in man-hours would be too high. It would take months before reaching the maturity level Portage has now and all this time could be better spent trying to find solutions to its architectural bottlenecks. I believe that a good solution would be evolving Portage to use different forms of storage, like databases or even LDAP. In a home desktop, you could use SQLite, which is light weight. In a Office enviroment, you could use a larger database, like MySQL or PostgreSQL. In this second case, it would even make sharing the package list faster, since the only current method is sharing it over NFS. I understand that doing so could bloat Portage dependencies, but it is, IMHO, a good way to improve its speed. Regards, Raphael -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] LDAP + Samba as PDC
On 11/14/06, Joshua Schmidlkofer <[EMAIL PROTECTED]> wrote: > Hi Cameron, > > thanks for the reply. Unfortunately, all the reg hacks I found > didn't work. If I find one that does, I'll post it here. :) > > Regards, > > Raphael This sounds exactly like you do not have the nsswitch.conf environment correct on your Linux box. Are you using Winbind or nss_ldap? Once you verify that, does getent find the user/workstation? Are you using nscd? Sorry for taking this long, rough week. I didn't understand your answer. The Linux box you're talking about is the Samba server? What is Winbind? Or nss_ldap? getent returns users, I don't know how to check for workstations. What is nscd? Sincerely, Joshua -- gentoo-user@gentoo.org mailing list -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] LDAP + Samba as PDC
On 11/13/06, Cameron Lowe <[EMAIL PROTECTED]> wrote: Raphael Melo de Oliveira Bastos Sales wrote: > Hi everyone, > > I've been trying to set up an authentication server for a mixed LAN > (Windows and Linux clientes ) and I'm having problems with Samba. > > The way it is today, the Windows clients can access the Samba > server and each user can access it's home, by double-clicking on the > server icon on the screen that shows all the machines on the network. > > But I'm unable to register the client workstations on the server. > It says something like "user name not found" when I try to do it. But > the odd thing is, when I look in the LDAP server, there is a registry > of the client there. > > I'd like to know if anyone has managed to do this type of thing > and, if possible, could send me the Samba config file (smb.conf) so I > can see what I'm doing wrong. > > Here is my smb.conf file. If anyone detects what I'm doing wrong, > I'd be grateful. :) > > [global] > server string = %L > workgroup = WORKGROUP > announce as = NT Server > > hosts allow = 192.168.0.0/24 > security = user > encrypt passwords = yes > socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 > interfaces = lo eth1 > bind interfaces only = yes > > local master = yes > os level = 100 > domain master = yes > preferred master = yes > > null passwords = no > #hide unreadable = yes > > enable privileges = yes > > domain logons = yes > logon script = login.bat > logon path = \\%L\profiles\%U > logon drive = H: > logon home = \\%L\%U\.9xprofile > > wins support = yes > name resolve order = wins lmhosts host bcast > dns proxy = no > > time server = yes > log file = /var/log/samba/log.%m > max log size = 50 > > passdb backend = ldapsam:ldaps://127.0.0.1:636/ > > ldap admin dn = cn=Laboratorio,dc=lara,dc=cic,dc=unb,dc=br > ldap port = 636 > ldap suffix = dc=lara,dc=cic,dc=unb,dc=br > ldap server = ldaps://127.0.0.1:636/ > ldap machine suffix = ou=Computers > ldap user suffix = ou=Users > ldap group suffix = ou=Groups > ldap idmap suffix = ou=Idmap > ldap delete dn = Yes > ldap password sync = yes > > add group script = /usr/sbin/smbldap-groupadd -p "%g" > add machine script = /usr/sbin/smbldap-useradd -w "%u" > add user script = /usr/sbin/smbldap-useradd -m "%u" > add user to group script = /usr/sbin/smbldap-groupmod -m "%u" "%g" > delete group script = /usr/sbin/smbldap-groupdel "%g" > delete user script = /usr/sbin/smbldap-userdel "%u" > delete user from group script = /usr/sbin/smbldap-groupmod -x "%u" "%g" > passwd program = /usr/sbin/smbldap-passwd > passwd chat = "*New password:*" %n\r "*New password (again):*" %n\r \ > "*Password changed*" > set primary group script = /usr/sbin/smbldap-usermod -g "%g" "%u" > > idmap backend = ldap:ldaps://127.0.0.1:636/ > idmap uid = 1-2 > idmap gid = 1-2 > > unix charset = ISO8859-1 > > profile acls = yes > > [netlogon] > path = /var/lib/samba/netlogon > guest ok = no > read only = yes > browseable = no > > [profiles] > path = /var/lib/samba/profiles > browseable = no > writeable = yes > default case = lower > preserve case = no > short preserve case = no > case sensitive = no > hide files = /desktop.ini/ntuser.ini/NTUSER.*/ > write list = @smbusers @root > create mask = 0600 > directory mask = 0700 > csc policy = disable > > [homes] > path = /home/%U > browseable = no > valid users = %S > read only = no > guest ok = no > inherit permissions = yes Last time I had to do something similar (no LDAP). I had to put a reg hack on the XP machines. A quick search in Google shoud come up with the reg hack. Hi Cameron, thanks for the reply. Unfortunately, all the reg hacks I found didn't work. If I find one that does, I'll post it here. :) Regards, Raphael -- gentoo-user@gentoo.org mailing list -- gentoo-user@gentoo.org mailing list
[gentoo-user] LDAP + Samba as PDC
Hi everyone, I've been trying to set up an authentication server for a mixed LAN (Windows and Linux clientes ) and I'm having problems with Samba. The way it is today, the Windows clients can access the Samba server and each user can access it's home, by double-clicking on the server icon on the screen that shows all the machines on the network. But I'm unable to register the client workstations on the server. It says something like "user name not found" when I try to do it. But the odd thing is, when I look in the LDAP server, there is a registry of the client there. I'd like to know if anyone has managed to do this type of thing and, if possible, could send me the Samba config file (smb.conf) so I can see what I'm doing wrong. Here is my smb.conf file. If anyone detects what I'm doing wrong, I'd be grateful. :) [global] server string = %L workgroup = WORKGROUP announce as = NT Server hosts allow = 192.168.0.0/24 security = user encrypt passwords = yes socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 interfaces = lo eth1 bind interfaces only = yes local master = yes os level = 100 domain master = yes preferred master = yes null passwords = no #hide unreadable = yes enable privileges = yes domain logons = yes logon script = login.bat logon path = \\%L\profiles\%U logon drive = H: logon home = \\%L\%U\.9xprofile wins support = yes name resolve order = wins lmhosts host bcast dns proxy = no time server = yes log file = /var/log/samba/log.%m max log size = 50 passdb backend = ldapsam:ldaps://127.0.0.1:636/ ldap admin dn = cn=Laboratorio,dc=lara,dc=cic,dc=unb,dc=br ldap port = 636 ldap suffix = dc=lara,dc=cic,dc=unb,dc=br ldap server = ldaps://127.0.0.1:636/ ldap machine suffix = ou=Computers ldap user suffix = ou=Users ldap group suffix = ou=Groups ldap idmap suffix = ou=Idmap ldap delete dn = Yes ldap password sync = yes add group script = /usr/sbin/smbldap-groupadd -p "%g" add machine script = /usr/sbin/smbldap-useradd -w "%u" add user script = /usr/sbin/smbldap-useradd -m "%u" add user to group script = /usr/sbin/smbldap-groupmod -m "%u" "%g" delete group script = /usr/sbin/smbldap-groupdel "%g" delete user script = /usr/sbin/smbldap-userdel "%u" delete user from group script = /usr/sbin/smbldap-groupmod -x "%u" "%g" passwd program = /usr/sbin/smbldap-passwd passwd chat = "*New password:*" %n\r "*New password (again):*" %n\r \ "*Password changed*" set primary group script = /usr/sbin/smbldap-usermod -g "%g" "%u" idmap backend = ldap:ldaps://127.0.0.1:636/ idmap uid = 1-2 idmap gid = 1-2 unix charset = ISO8859-1 profile acls = yes [netlogon] path = /var/lib/samba/netlogon guest ok = no read only = yes browseable = no [profiles] path = /var/lib/samba/profiles browseable = no writeable = yes default case = lower preserve case = no short preserve case = no case sensitive = no hide files = /desktop.ini/ntuser.ini/NTUSER.*/ write list = @smbusers @root create mask = 0600 directory mask = 0700 csc policy = disable [homes] path = /home/%U browseable = no valid users = %S read only = no guest ok = no inherit permissions = yes -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] content of /usr/portage/distfile
I think you meant /usr/portage/distfiles, right? Yes, you can remove them. They are the source archives of the packages you've installed. But, if you need to reemerge any of your packages, you'll have to download it again. PS.: JC Denton is from Deus Ex? On 5/24/06, JC Denton <[EMAIL PROTECTED]> wrote: Hi! May be it is a stupid question, but can I remove the content of /usr/portage/distfile/ without problems? This file has a size of 1.5 GB ! I would like to have some space back ;) JC Mails löschen war gestern: Yahoo! Mail jetzt mit 1GB kostenlosem Speicher . -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Weird error emerging seahorse
Are you running this as root? 2006/4/3, Kristian Poul Herkild <[EMAIL PROTECTED]>: > Ow Mun Heng wrote: > > On Sun, 2006-04-02 at 22:49 +0200, Kristian Poul Herkild wrote: > >> Emerging seahorse fails with following error: > >> > >> ... > >> mkdir -p /usr/share/mime/packages/ > >> update-mime-database /usr/share/mime/ > >> update-mime-database: I don't have write permission on /usr/share/mime. > >> Try rerunning me as root. > >> ... > >> !!! ERROR: app-crypt/seahorse-0.7.8 failed. > >> !!! Function gnome2_src_install, Line 69, Exitcode 2 > >> !!! install failed > >> !!! If you need support, post the topmost build error, NOT this status > >> message. > > > > what about the dir permission?? Here's mine > > > > $ ls -ld mime > > drwxr-xr-x 12 root root 4096 Mar 31 18:26 mime > > > > Apart from dates it's identical to the output I get. > > -Kristian > -- > gentoo-user@gentoo.org mailing list > > -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] emerge inforamtion
Just adding something. Since the package is already installed, you can type: equery u net-print/hplip It should give you a description of what each USE flag means. And it works with every package. If you get a command not found error, emerge gentoolkit to get the equery program :) Regards, Raphael 2006/3/30, Teresa and Dale <[EMAIL PROTECTED]>: > [EMAIL PROTECTED] wrote: > > >USE flags doubts (again). > > > >If I run this command: > > > >emerge -pv hplip > > > >the output is: > >[ebuild R ] net-print/hplip-0.9.7-r3 +X +cups +foomaticdb -ppds +qt > >+scanner* -snmp +usb 0 kB > > > >There are 5 flags prefixed by a plus and red coloured (+X, +cups, > >+foomaticdb, > >+qt and +usb). These flags are already set. Right? > > > > > > The plus sign means that it will be compiled with support for that > flag. It means you can use that basically. > > >There are 2 flags prefixed by a menus and blue coloured (-ppds and -snmp). > >These flags are not set. But, should I set them? > > > > > > It depends on whether you will use them or not. This is what that flag > is for: "ppds - Adds support for automatically generated ppd (printing > driver) files." If you need it, edit make.conf file and put it in the > USE= line. The snmp is this: "snmp - Adds support for the Simple > Network Management Protocol if available." You can get the same info > from here: /usr/portage/profiles/use.desc > > >Finally there is anoter flag prefixed by a plus and green coloured > >(+scanner*). What does the trailing * mean? What does the green colour mean? > > > >Thank you a lot in advance. > > > >emilio > > > > > > > > If I recall correctly, that * means it has been changed since the > program was instaled. If you changed some flags recently, you may want > to do a emerge -Nvp world to see what else has changed. If everything > looks OK, take off the p and let it recompile those for you so it will > work correctly. > > Hope that helps. > > Dale > :-) > -- > gentoo-user@gentoo.org mailing list > > -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] stage3 for notebook/pentium-m
http://gentoo-wiki.com/Safe_Cflags#Pentium-M_.2F_Centrino_.28Intel.29 Hope this answers you. 2006/3/30, Jarry <[EMAIL PROTECTED]>: > Hi Gentoo-fans, > > I want to install gentoo on my pentium-m (centrino 2) > based notebook, but I do not know which stage3 should > I download and use: i586, i686 or x86? > And which -march setting should I define for Pentium-M? > > Jarry > > -- > gentoo-user@gentoo.org mailing list > > -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Gentoo and OpenLDAP
I'll tell you what, I'm kind of busy right now. But, when I have more time on my hands, I'll post a full HOWTO on the Gentoo Wiki. What do you think? 2006/3/29, Leandro Melo de Sales <[EMAIL PROTECTED]>: > Are you the kinf of person that hold the information just for you? > Your problem/solution can help other people. > > Leandro. > > On 3/29/06, Raphael Melo de Oliveira Bastos Sales > <[EMAIL PROTECTED]> wrote: > > That won't be necessary, I've already solved it. > > > > 2006/3/27, JimD <[EMAIL PROTECTED]>: > > > On Mon, 27 Mar 2006 16:19:55 -0300 > > > "Raphael Melo de Oliveira Bastos Sales" <[EMAIL PROTECTED]> > > > wrote: > > > > > > > A little bit OT, a very noobish of me. I'm having trouble with LDAP > > > > filters. I'm still trying to get the hang of it. > > > > > > > > I'd like filter to use on the Apache mod_auth_ldap that returns all > > > > the uids inside a given group. Anyone knows how to do that? > > > > > > > > Regards, > > > > > > > > Raphael > > > > > > Start a new thread with a topic like "OT: LDAP Filters" and I can try > > > to give you some direction. > > > > > > Jim > > > -- > > > gentoo-user@gentoo.org mailing list > > > > > > > > > > -- > > gentoo-user@gentoo.org mailing list > > > > > > > -- > Leandro Melo de Sales. > Computer Science Student > Laboratório de Sistemas Distribuídos - www.lsd.ufcg.edu.br > Laboratório de Sistemas Embarcados e Computação Pervasiva - > www.embeddedacademy.org > Universidade Federal de Campina Grande - UFCG > Campina Grande - PB - Brasil > > -- > gentoo-user@gentoo.org mailing list > > -- gentoo-user@gentoo.org mailing list
[gentoo-user] Apache Basic authentication using LDAP backend
Ok, Leandro had complained to me that I didn't share information. So, as I promised to him, I decided to put the information on the Gentoo Wiki. It's here: http://gentoo-wiki.com/HOWTO_Apache2_and_mod_auth_ldap English is not my native language and it's my first Howto, so go easy on me, ok? I hope this proves useful to people here and off this list. Regards, Raphael -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Gentoo and OpenLDAP
http://gentoo-wiki.com/HOWTO_Apache2_and_mod_auth_ldap When I get home from work, I'll get started on it. 2006/3/30, Raphael Melo de Oliveira Bastos Sales <[EMAIL PROTECTED]>: > I'll tell you what, I'm kind of busy right now. But, when I have more > time on my hands, I'll post a full HOWTO on the Gentoo Wiki. What do > you think? > > 2006/3/29, Leandro Melo de Sales <[EMAIL PROTECTED]>: > > Are you the kinf of person that hold the information just for you? > > Your problem/solution can help other people. > > > > Leandro. > > > > On 3/29/06, Raphael Melo de Oliveira Bastos Sales > > <[EMAIL PROTECTED]> wrote: > > > That won't be necessary, I've already solved it. > > > > > > 2006/3/27, JimD <[EMAIL PROTECTED]>: > > > > On Mon, 27 Mar 2006 16:19:55 -0300 > > > > "Raphael Melo de Oliveira Bastos Sales" <[EMAIL PROTECTED]> > > > > wrote: > > > > > > > > > A little bit OT, a very noobish of me. I'm having trouble with LDAP > > > > > filters. I'm still trying to get the hang of it. > > > > > > > > > > I'd like filter to use on the Apache mod_auth_ldap that returns all > > > > > the uids inside a given group. Anyone knows how to do that? > > > > > > > > > > Regards, > > > > > > > > > > Raphael > > > > > > > > Start a new thread with a topic like "OT: LDAP Filters" and I can try > > > > to give you some direction. > > > > > > > > Jim > > > > -- > > > > gentoo-user@gentoo.org mailing list > > > > > > > > > > > > > > -- > > > gentoo-user@gentoo.org mailing list > > > > > > > > > > > > -- > > Leandro Melo de Sales. > > Computer Science Student > > Laboratório de Sistemas Distribuídos - www.lsd.ufcg.edu.br > > Laboratório de Sistemas Embarcados e Computação Pervasiva - > > www.embeddedacademy.org > > Universidade Federal de Campina Grande - UFCG > > Campina Grande - PB - Brasil > > > > -- > > gentoo-user@gentoo.org mailing list > > > > > -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Gentoo and OpenLDAP
That won't be necessary, I've already solved it. 2006/3/27, JimD <[EMAIL PROTECTED]>: > On Mon, 27 Mar 2006 16:19:55 -0300 > "Raphael Melo de Oliveira Bastos Sales" <[EMAIL PROTECTED]> > wrote: > > > A little bit OT, a very noobish of me. I'm having trouble with LDAP > > filters. I'm still trying to get the hang of it. > > > > I'd like filter to use on the Apache mod_auth_ldap that returns all > > the uids inside a given group. Anyone knows how to do that? > > > > Regards, > > > > Raphael > > Start a new thread with a topic like "OT: LDAP Filters" and I can try > to give you some direction. > > Jim > -- > gentoo-user@gentoo.org mailing list > > -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Gentoo and OpenLDAP
A little bit OT, a very noobish of me. I'm having trouble with LDAP filters. I'm still trying to get the hang of it. I'd like filter to use on the Apache mod_auth_ldap that returns all the uids inside a given group. Anyone knows how to do that? Regards, Raphael 2006/3/27, Heinz Sporn <[EMAIL PROTECTED]>: > Am Montag, den 27.03.2006, 14:47 -0300 schrieb Leandro Melo de Sales: > > Hi all, > > > > I'd like to know a good document that shows a good/secure way to > > configure OpenLDAP. Addionally documentation about integrade Samba > > with OpenLDAP as well as PAM with OpenLDAP. > > I found this one rather usefull: > http://samba.idealx.org/smbldap-tools.fr.html > The website itself is a french one but the smbldap-tools / SMABA / LDAP > part is in English. > > > > > Thank you, > > > > Leandro. > > > > -- > gentoo-user@gentoo.org mailing list > > -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Mozilla - pop-ups not blocked !!
Humm, question. Shouldn't you post this problem on a mozilla (dev|user) list? It is not specific to Gentoo... 2006/3/20, Rohit Sharma <[EMAIL PROTECTED]>: > fire-eyes wrote: > > >On Sunday 19 March 2006 12:48, Rohit Sharma wrote: > > > > > >> >> > >> > >[snip] > >Please post to this list in plain text > > > Preference set for the list as "prefers to receive email as plain text" > in my mozilla. > let us see how this one reaches you. > -- > gentoo-user@gentoo.org mailing list > > -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Modular xorg 7.0 crashes firefox
Have you tried using a non-alpha version of firefox? 2006/1/14, Andrew Frink <[EMAIL PROTECTED]>: > > > On 1/14/06, Kurt V. Hindenburg <[EMAIL PROTECTED]> wrote: > > After upgrading to the modular xorg-x11 7.0, firefox-bin crashes on sites > like > > msnbc.com and cnn.com. If I disable javascript then it doesn't crash... > > Any ideas why or how to fix? > > Regards, > > Kurt > > > > www-client/mozilla-firefox-bin-1.5-r2 > > -- > > gentoo-user@gentoo.org mailing list > > > > > I have the same problem, at least now it's not my install. > Cynyr > -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] USE flags: mmx sse sse2
2006/1/13, Trenton Adams <[EMAIL PROTECTED]>: > On 1/12/06, John Myers <[EMAIL PROTECTED]> wrote: > > On Thursday 12 January 2006 18:45, Tom Smith wrote: > > > Well, if they're /not/ mutually exclusive, another question that comes > > > up is... > > > > > > If a program is compiled with sse or sse2 support on a Pentium II, will > > > the program run slower than it otherwise would? (Some of the programs I > > > have are compiled and then distributed to servers with different > > > CPUs--P-IIs and P-IVs, mainly.) > > > > > > > If a program uses an instruction that the processor doesn't support, the > > program will be sent SIGILL, the default action of which is to terminate > > immediately. > > Are you absolutely positive of that? I *thought* (would have thought) > compilers these days would compile in conditional use of such > instructions? That way if large blocks could benefit from these new > instructions, they would use them, otherwise fall back to a common set > of instructions. Of course this wouldn't be very beneficial for small > sections of code. I've been wondering about this for quite some time > though, but never bothered to investigate. GCC does make architecture exclusive code, specially with optimed for size code. For example, code that is compiled with -march=pentium4 won't run in PIII and will give you error messages, like SIGILL or more verbose error like Invalid Instruction or something like that. > > > -- > > # > > # electronerd, the electronerdian from electronerdia > > # > > > > > > > > -- > gentoo-user@gentoo.org mailing list > > -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] USE flags: mmx sse sse2
Actually, mmx doesn't really mean anything: http://en.wikipedia.org/wiki/MMX mplayer and the X server gain performance by using these extensions (mmx, sse, sse2). One of the reasons why X is much faster in Gentoo than in Debian. (Personal Experience, please, no flames) 2006/1/13, John Myers <[EMAIL PROTECTED]>: > On Friday 13 January 2006 07:45, Francesco Riosa wrote: > > Tom Smith wrote: > > > Well, if they're /not/ mutually exclusive, another question that comes > > > up is... > > > > > > If a program is compiled with sse or sse2 support on a Pentium II, will > > > the program run slower than it otherwise would? (Some of the programs I > > > have are compiled and then distributed to servers with different > > > CPUs--P-IIs and P-IVs, mainly.) > > > > speaking of manually added options to CFLAGS*, not of use flags > > > > The only place where mathematics count on a server is encryption ? > > (notice the question mark) > > Mayor part of server software use integer math that are not so enhanced > > by optimizations. > > The code produced is less stable, and difficult to debug, this bring to the > > question: why take the risk ? > actually, mmx (MultiMedia eXtensions) , sse and sse2 instructions are designed > primarily for multimedia and gaming type applications, which _do_ use > floating-point math, and AFAIK, encryption is going to be all-integer too > (floating-point math is not perfectly precise) > > And, like I said earlier, if you put a program with an sse or sse2 instruction > on a PII, the program will most likely spontaneously abort when it tries to > execute the unsupported instruction. > -- > # > # electronerd, the electronerdian from electronerdia > # > > > -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] USE flags: mmx sse sse2
Certain program have support for either of these extentions. The program will most likely use the best one for the job. They can be mutually exclusive, however, if you use the CFLAG -mfpmath=sse,387. As far as I know it, it will try to use SSE instructions for math where possible, in detriment of using the 387 math co-processor. But this only get any advantage when using AMD64 processors. I never tested it, I just copied what the Gentoo Wiki says about it. ;P 2006/1/12, Willie Wong <[EMAIL PROTECTED]>: > On Thu, Jan 12, 2006 at 03:09:40PM -0700, Penguin Lover Tom Smith squawked: > > Are these flags mutually exclusive? > > > > I know, for example, that if I have a Pentium II that the MMX flag > > should apply while the sse and sse2 flags would not. > > > > But what if I have a Pentium III or IV? Would I only use the most recent > > "optimization" or do I need to add all three to take advantage of each one? > > > > I checked the USE flag descriptions and there wasn't anything indicating > > indicating whether the can or should be used together. > > > Not quite sure how it works officially. But I run a Pentium IV, and I > have mmx mmxext sse sse2 enabled, so they are at least NOT mutually > exclusive. > > W > -- > All science is either physics or stamp collecting. > ~Ernest Rutherford > Sortir en Pantoufles: up 61 days, 15:40 > -- > gentoo-user@gentoo.org mailing list > > -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] ebuild for dev-java/sun-j2sdk?
Doesn't sun-jdk satisfies this dependency? 2005/12/24, Mike Markowski <[EMAIL PROTECTED]>: > I just accidentally zapped all my incoming gentoo-user emails, so > apologies if this is a duplicate question... After a successful "emerge > sync" I tried an "emerge -uD world" but get: > >These are the packages that I would merge, in order: > >Calculating world dependencies | >emerge: there are no ebuilds to satisfy "dev-java/sun-j2sdk". >(dependency required by "sys-libs/db-4.2.52_p2-r1" [ebuild]) > > I thought sun-j2sdk had been removed from portage a while back. Any > pointers on where I can start looking for the problem here? I'll start > digging but thought I'd post a note in case someone else has already > encountered and solved this. > > Thanks! > Mike > -- > gentoo-user@gentoo.org mailing list > > -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] OpenGL Server Error
Sorry, bad mistake. To make it up: http://gentoo-wiki.com/Ati if you own ATI card http://www.gentoo.org/doc/en/nvidia-guide.xml if you have a Nvidia card 2005/12/17, Holly Bostick <[EMAIL PROTECTED]>: > Raphael Melo de Oliveira Bastos Sales schreef: > > Why would a CD burning program ask for OpenGL? > > > > > Not k3/b/, k3/d/; > > eix k3d > * media-gfx/k3d > Available versions: ~0.2.5.4 ~0.4.4.0 ~0.4.4.2 ~0.5.0.33 ~0.5.0.34 > Installed: none > Homepage:http://k3d.sourceforge.net > Description: K-3D is a free 3D modeling, animation, and > rendering system. > > > > > > 2005/12/16, AJ Spagnoletti <[EMAIL PROTECTED]>: > > > >>I have just finished emerging k3d and I am getting an error when I try > >>to run the program. > >>When I try to run the program I get the following error. > >> > >>"ERROR: Could not connect to an OpenGL Server. Shutting down" > >> > > Obvious question first; what video card, and what drivers? Is there an > OpenGL (3D hardware acceleration) server available at all? > > Meaning, do the drivers for your video card provide OpenGL? > > Holly > -- > gentoo-user@gentoo.org mailing list > > -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] OpenGL Server Error
Why would a CD burning program ask for OpenGL? 2005/12/16, AJ Spagnoletti <[EMAIL PROTECTED]>: > I have just finished emerging k3d and I am getting an error when I try > to run the program. > When I try to run the program I get the following error. > > "ERROR: Could not connect to an OpenGL Server. Shutting down" > > After some googling I am left clueless on how to fix this error. Can > anyone point me in the right direction for my search or offer some > help on how to fix this? Thanks. > > AJ > > -- > gentoo-user@gentoo.org mailing list > > -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] [OT] Recommended MySQL frontends
What kind of errors are you getting? mysql-administrator is supplied by the mysql company itself. I doubt they would let something like this go by. 2005/12/14, Roy Wright <[EMAIL PROTECTED]>: > Howdy, > > I'm playing with Ruby On Rails but am severely SQL challenged. > I'd like to just create some simple tables (integers, strings, dates). > I've been trying to find a MySQL frontend that works. The > closest is mysql administrator, except the SQL generated > doesn't work. Kexi errors when trying to connect to mysql > and connection edit is not implemented yet... > > Any suggestions for a tool to create simple tables in MySQL? > > Or any really good tutorials? Please not another how to > install mysql on windows tutorial... that's all I seem able to find. > > I'm using MySQL 4.1.14. > > Thank you, > Roy > > -- > gentoo-user@gentoo.org mailing list > > -- gentoo-user@gentoo.org mailing list
[gentoo-user] OpenMosix DFSA and MFS
Hi there everyone, I've been reading OpenMosix documentation and everywhere I go, it says that DFSA and MFS should be enabled. But the openmosix-sources (2.4.30) says that these have been disabled. So, how do I share files in my cluster? Besides using NFS... Thanks in advance, Raphael -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Let's make a map of Gentoo users
Second Brazilian, first from Brasĩlia. Hi to everyone ;) 2005/12/7, Bill Roberts <[EMAIL PROTECTED]>: > On 10:06 Wed 07 Dec , Billy Holmes wrote: > > Bill Roberts wrote: > > >I can see the map in firefox on one computer, cannot see the map at all in > > >firefox on another. Looked through the settings, use flags, etc., and > > >couldn't find any differences. > > > > it only works with javascript enabled. Do you have that off? > > I have javascript enabled. The only obvious difference in settings between > the one that does, and the one that doesn't show the map is the "Allow web > sites to install software" button, which was enabled on the one that > allowed it. I changed that on the non-working browser, restarted it, to no > avail. Use flags are the same. > > The maps & images on maps.google.com work nicely, so it seems to be a site > specific problem. > > Oh, well, I guess I'll survive without that website. It did accept my zip, > so I'm there, even if I can see it. > > Bill Roberts > > > -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Optical mouse lights off on kernel 2.6.14 but works on kernel 2.4.30
I'll try that, if it doesn't work, I'm going to give up and use the 2.4 kernel. It's an openmosix kernel, so I can have a cluster up and running at my house. Question: Is portage working ok with OpenMosix now? 2005/12/7, Mariusz Pękala <[EMAIL PROTECTED]>: > On 2005-12-07 02:24:51 -0200 (Wed, Dec), Raphael Melo de Oliveira Bastos > Sales wrote: > > "And the answer is... 42." > > > > Turns out I was asking the wrong question. The whole problem about it > > is that the 2.6 kernels detect my mouse as a ImExPS/2 mouse and not as > > a ImPS/2. > > > > What I need is to find a way to tell the psmouse module (PS/2 Mouse > > Kernel Module) to exclude ImExPS/2 as a protocol for my mouse. > > > Maybe module parameter will work? > Like: > options psmouse proto=imps > > in /etc/modules.d/psmouse file, for example. > > -- > No virus found in this outgoing message. > Checked by 'grep -i virus $MESSAGE' > Trust me. > > > -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Optical mouse lights off on kernel 2.6.14 but works on kernel 2.4.30
"And the answer is... 42." Turns out I was asking the wrong question. The whole problem about it is that the 2.6 kernels detect my mouse as a ImExPS/2 mouse and not as a ImPS/2. What I need is to find a way to tell the psmouse module (PS/2 Mouse Kernel Module) to exclude ImExPS/2 as a protocol for my mouse. I even tried to hack (unsuccessfully) the psmouse-base.c file in the kernel, so far, no luck in that. I'll google some more now. If you guys have any idea what to do, let me know. Thanks, Raphael 2005/12/7, Richard Fish <[EMAIL PROTECTED]>: > On 12/6/05, Raphael Melo de Oliveira Bastos Sales > <[EMAIL PROTECTED]> wrote: > > How do you switch xorg.conf files between kernels? Here are the file > > With difficulty. :-) > > As others have said, /dev/input/mice is the _highly_ recommended > standard for 2.6. For protocol in the X.org configuration, this > should work with IMPS/2, ExplorerPS/2, or Auto. > > Also, do you have gpm running? If so, does it help if you turn it off?? > > > The kernel configuration: > > Thanks, looks ok to me, although as others mentioned, /dev/psaux is > deprecated (but should still be functional). > > One thing that didn't show up due to the command I gave you is the > settings for CONFIG_INPUT_MOUSEDEV_SCREEN_X and > CONFIG_INPUT_MOUSEDEV_SCREEN_Y. The configure help says these are > only used for digitizer tablets, but maybe they can have some other > effect as well. Maybe check and make sure these are not 0,0. > > I guess something else to try is to compile PS2 mouse support as a > module (CONFIG_MOUSE_PS2=m), and see if rmmod'ing and modprobing it > makes any difference. > > If none of this helps, maybe "grep -i mouse /var/log/Xorg.0.log" will > give us some more ideas. > > -Richard > > -- > gentoo-user@gentoo.org mailing list > > -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Optical mouse lights off on kernel 2.6.14 but works on kernel 2.4.30
It is not a USB mouse, so that shouldn't be the problem. Also, you can run modules-update so you can use modules without rebooting. 2005/12/7, Daevid Vincent <[EMAIL PROTECTED]>: > Dude. I'm telling you. I had the same problem. This isn't a X or device > issue. You don't have USB compiled into the kernel or running as a module. > Just make sure you have all the UHCI stuff checked and do a "make clean all > modules module_install install" (or something to that effect). Then reboot. > > > -Original Message- > > From: Raphael Melo de Oliveira Bastos Sales > > > > I had legacy /dev/psaux on. Besides, it doesn't explain why the lights > > go off even outside X. Perhaps I could try to disable this option and > > let /dev/input/mice be the sole device node for the mouse... > > > > 2005/12/6, Steven Susbauer <[EMAIL PROTECTED]>: > > > The mouse device should be pointing to /dev/input/mice - > > that's just the > > > first thing I saw in a quick overview. > > -- > gentoo-user@gentoo.org mailing list > > -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Optical mouse lights off on kernel 2.6.14 but works on kernel 2.4.30
The mouse is not rechargeable, it works fine on Windows and 2.4 kernel (I'm using it right now) and the problem is with the 2.6 kernel protocol. If I could tell the psmouse (PS/2 Mouse Kernel Module) to use ImPS/2 protocol for every ImExPS/2 (My Mouse's Protocol), I think it would be done. I've tried to do this, but I couldn't find how to do it. 2005/12/6, Holly Bostick <[EMAIL PROTECTED]>: > Raphael Melo de Oliveira Bastos Sales schreef: > > I had legacy /dev/psaux on. Besides, it doesn't explain why the > > lights go off even outside X. Perhaps I could try to disable this > > option and let /dev/input/mice be the sole device node for the > > mouse... > > > > OK, it's time then for the stupid questions: > > You said the mouse was new. Is it rechargeable? Is it fully charged, or > are the batteries new? Is this perhaps a "feature" of the mouse (the > light goes off when it thinks it's idle) or does it have some other > 'quirk' that requires it to have specific conditions under which it > works properly (non-reflective desk, no other nearby > magnetic devices, etc)? Certainly my optical mouse needs a mousepad (a > dull, non-reflective one-- it doesn't work at all on my white desk, for > example, as it's not only white (a bit too reflective), but also an > "incompatible surface" in some way (too rough, I think). > > And so on, and so on... > > HTH, > Holly > -- > gentoo-user@gentoo.org mailing list > > -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Optical mouse lights off on kernel 2.6.14 but works on kernel 2.4.30
I had legacy /dev/psaux on. Besides, it doesn't explain why the lights go off even outside X. Perhaps I could try to disable this option and let /dev/input/mice be the sole device node for the mouse... 2005/12/6, Steven Susbauer <[EMAIL PROTECTED]>: > The mouse device should be pointing to /dev/input/mice - that's just the > first thing I saw in a quick overview. > > > On 12/6/05, Raphael Melo de Oliveira Bastos Sales <[EMAIL PROTECTED]> > wrote: > > > > How do you switch xorg.conf files between kernels? Here are the file > > > > The kernel configuration: > > > > CONFIG_X86=y > > CONFIG_SEMAPHORE_SLEEPERS=y > > CONFIG_MMU=y > > CONFIG_UID16=y > > CONFIG_GENERIC_ISA_DMA=y > > CONFIG_GENERIC_IOMAP=y > > CONFIG_ARCH_MAY_HAVE_PC_FDC=y > > CONFIG_EXPERIMENTAL=y > > CONFIG_CLEAN_COMPILE=y > > CONFIG_BROKEN_ON_SMP=y > > CONFIG_LOCK_KERNEL=y > > CONFIG_LOCALVERSION_AUTO=y > > CONFIG_SWAP=y > > CONFIG_SYSVIPC=y > > CONFIG_POSIX_MQUEUE=y > > CONFIG_BSD_PROCESS_ACCT=y > > CONFIG_SYSCTL=y > > CONFIG_HOTPLUG=y > > CONFIG_KOBJECT_UEVENT=y > > CONFIG_IKCONFIG=y > > CONFIG_IKCONFIG_PROC=y > > CONFIG_KALLSYMS=y > > CONFIG_PRINTK=y > > CONFIG_BUG=y > > CONFIG_BASE_FULL=y > > CONFIG_FUTEX=y > > CONFIG_EPOLL=y > > CONFIG_SHMEM=y > > CONFIG_MODULES=y > > CONFIG_MODULE_UNLOAD=y > > CONFIG_MODULE_FORCE_UNLOAD=y > > CONFIG_OBSOLETE_MODPARM=y > > CONFIG_MODVERSIONS=y > > CONFIG_KMOD=y > > CONFIG_X86_PC=y > > CONFIG_MK7=y > > CONFIG_X86_CMPXCHG=y > > CONFIG_X86_XADD=y > > CONFIG_RWSEM_XCHGADD_ALGORITHM=y > > CONFIG_GENERIC_CALIBRATE_DELAY=y > > CONFIG_X86_WP_WORKS_OK=y > > CONFIG_X86_INVLPG=y > > CONFIG_X86_BSWAP=y > > CONFIG_X86_POPAD_OK=y > > CONFIG_X86_GOOD_APIC=y > > CONFIG_X86_INTEL_USERCOPY=y > > CONFIG_X86_USE_PPRO_CHECKSUM=y > > CONFIG_X86_USE_3DNOW=y > > CONFIG_HPET_TIMER=y > > CONFIG_HPET_EMULATE_RTC=y > > CONFIG_PREEMPT=y > > CONFIG_PREEMPT_BKL=y > > CONFIG_X86_UP_APIC=y > > CONFIG_X86_UP_IOAPIC=y > > CONFIG_X86_LOCAL_APIC=y > > CONFIG_X86_IO_APIC=y > > CONFIG_X86_TSC=y > > CONFIG_X86_REBOOTFIXUPS=y > > CONFIG_X86_MSR=y > > CONFIG_X86_CPUID=y > > CONFIG_DCDBAS=m > > CONFIG_HIGHMEM4G=y > > CONFIG_HIGHMEM=y > > CONFIG_SELECT_MEMORY_MODEL=y > > CONFIG_FLATMEM_MANUAL=y > > CONFIG_FLATMEM=y > > CONFIG_FLAT_NODE_MEM_MAP=y > > CONFIG_MTRR=y > > CONFIG_SECCOMP=y > > CONFIG_HZ_1000=y > > CONFIG_PM=y > > CONFIG_ACPI=y > > CONFIG_ACPI_SLEEP=y > > CONFIG_ACPI_SLEEP_PROC_FS=y > > CONFIG_ACPI_AC=m > > CONFIG_ACPI_BATTERY=m > > CONFIG_ACPI_BUTTON=m > > CONFIG_ACPI_VIDEO=m > > CONFIG_ACPI_FAN=m > > CONFIG_ACPI_PROCESSOR=m > > CONFIG_ACPI_THERMAL=m > > CONFIG_ACPI_ASUS=m > > CONFIG_ACPI_IBM=m > > CONFIG_ACPI_TOSHIBA=m > > CONFIG_ACPI_EC=y > > CONFIG_ACPI_POWER=y > > CONFIG_ACPI_SYSTEM=y > > CONFIG_X86_PM_TIMER=y > > CONFIG_ACPI_CONTAINER=m > > CONFIG_APM=m > > CONFIG_APM_DO_ENABLE=y > > CONFIG_APM_CPU_IDLE=y > > CONFIG_APM_RTC_IS_GMT=y > > CONFIG_APM_ALLOW_INTS=y > > CONFIG_APM_REAL_MODE_POWER_OFF=y > > CONFIG_PCI=y > > CONFIG_PCI_GOANY=y > > CONFIG_PCI_BIOS=y > > CONFIG_PCI_DIRECT=y > > CONFIG_PCI_MMCONFIG=y > > CONFIG_PCIEPORTBUS=y > > CONFIG_PCI_MSI=y > > CONFIG_PCI_LEGACY_PROC=y > > CONFIG_ISA_DMA_API=y > > CONFIG_BINFMT_ELF=y > > CONFIG_BINFMT_AOUT=y > > CONFIG_BINFMT_MISC=y > > CONFIG_NET=y > > CONFIG_PACKET=y > > CONFIG_UNIX=y > > CONFIG_INET=y > > CONFIG_IP_FIB_HASH=y > > CONFIG_INET_DIAG=y > > CONFIG_INET_TCP_DIAG=y > > CONFIG_TCP_CONG_BIC=y > > CONFIG_STANDALONE=y > > CONFIG_PREVENT_FIRMWARE_BUILD=y > > CONFIG_FW_LOADER=m > > CONFIG_PARPORT=m > > CONFIG_PARPORT_PC=m > > CONFIG_PARPORT_SERIAL=m > > CONFIG_PARPORT_PC_FIFO=y > > CONFIG_PARPORT_PC_SUPERIO=y > > CONFIG_PARPORT_NOT_PC=y > > CONFIG_PARPORT_1284=y > > CONFIG_PNP=y > > CONFIG_PNPACPI=y > > CONFIG_BLK_DEV_FD=m > > CONFIG_BLK_DEV_LOOP=y > > CONFIG_IOSCHED_NOOP=y > > CONFIG_IOSCHED_CFQ=y > > CONFIG_IDE=y > > CONFIG_BLK_DEV_IDE=y > > CONFIG_BLK_DEV_IDEDISK=y > > CONFIG_IDEDISK_MULTI_MODE=y > > CONFIG_BLK_DEV_IDECD=y > > CONFIG_BLK_DEV_IDESCSI=y > > CONFIG_IDE_GENERIC=y > > CONFIG_BLK_DEV_IDEPNP=y > > CONFIG_BLK_DEV_IDEPCI=y > > CONFIG_IDEPCI_SHARE_IRQ=y >
Re: [gentoo-user] Optical mouse lights off on kernel 2.6.14 but works on kernel 2.4.30
CONFIG_FB_MODE_HELPERS=y CONFIG_FB_VESA=y CONFIG_FB_VESA_TNG=y CONFIG_VIDEO_SELECT=y CONFIG_VGA_CONSOLE=y CONFIG_DUMMY_CONSOLE=y CONFIG_FRAMEBUFFER_CONSOLE=y CONFIG_FONT_8x8=y CONFIG_FONT_8x16=y CONFIG_FB_SPLASH=y CONFIG_SOUND=y CONFIG_SND=m CONFIG_SND_TIMER=m CONFIG_SND_PCM=m CONFIG_SND_RAWMIDI=m CONFIG_SND_SEQUENCER=m CONFIG_SND_SEQ_DUMMY=m CONFIG_SND_OSSEMUL=y CONFIG_SND_MIXER_OSS=m CONFIG_SND_PCM_OSS=m CONFIG_SND_SEQUENCER_OSS=y CONFIG_SND_RTCTIMER=m CONFIG_SND_SEQ_RTCTIMER_DEFAULT=y CONFIG_SND_GENERIC_DRIVER=y CONFIG_SND_MPU401_UART=m CONFIG_SND_DUMMY=m CONFIG_SND_VIRMIDI=m CONFIG_SND_MTPAV=m CONFIG_SND_SERIAL_U16550=m CONFIG_SND_MPU401=m CONFIG_SND_AC97_CODEC=m CONFIG_SND_AC97_BUS=m CONFIG_SND_VIA82XX=m CONFIG_USB_ARCH_HAS_HCD=y CONFIG_USB_ARCH_HAS_OHCI=y CONFIG_USB=m CONFIG_USB_DEVICEFS=y CONFIG_USB_EHCI_HCD=m CONFIG_USB_UHCI_HCD=m CONFIG_USB_STORAGE=m CONFIG_USB_STORAGE_DATAFAB=y CONFIG_USB_STORAGE_FREECOM=y CONFIG_USB_STORAGE_ISD200=y CONFIG_USB_STORAGE_DPCM=y CONFIG_USB_STORAGE_USBAT=y CONFIG_USB_STORAGE_SDDR09=y CONFIG_USB_STORAGE_SDDR55=y CONFIG_USB_STORAGE_JUMPSHOT=y CONFIG_USB_HID=m CONFIG_USB_HIDINPUT=y CONFIG_HID_FF=y CONFIG_HID_PID=y CONFIG_LOGITECH_FF=y CONFIG_THRUSTMASTER_FF=y CONFIG_USB_HIDDEV=y CONFIG_USB_MDC800=m CONFIG_USB_MICROTEK=m CONFIG_USB_DABUSB=m CONFIG_USB_USS720=m CONFIG_USB_SERIAL=m CONFIG_USB_SERIAL_GENERIC=y CONFIG_USB_SERIAL_AIRPRIME=m CONFIG_USB_SERIAL_BELKIN=m CONFIG_USB_SERIAL_DIGI_ACCELEPORT=m CONFIG_USB_SERIAL_CP2101=m CONFIG_USB_SERIAL_CYPRESS_M8=m CONFIG_USB_SERIAL_EMPEG=m CONFIG_USB_SERIAL_FTDI_SIO=m CONFIG_USB_SERIAL_VISOR=m CONFIG_USB_SERIAL_IPAQ=m CONFIG_USB_SERIAL_EDGEPORT=m CONFIG_USB_SERIAL_EDGEPORT_TI=m CONFIG_USB_SERIAL_GARMIN=m CONFIG_USB_SERIAL_IPW=m CONFIG_USB_SERIAL_MCT_U232=m CONFIG_USB_SERIAL_PL2303=m CONFIG_USB_SERIAL_TI=m CONFIG_USB_SERIAL_OMNINET=m CONFIG_EXT2_FS=y CONFIG_EXT2_FS_XATTR=y CONFIG_EXT2_FS_POSIX_ACL=y CONFIG_EXT2_FS_SECURITY=y CONFIG_EXT2_FS_XIP=y CONFIG_FS_XIP=y CONFIG_FS_MBCACHE=y CONFIG_REISERFS_FS=y CONFIG_REISERFS_PROC_INFO=y CONFIG_REISERFS_FS_XATTR=y CONFIG_REISERFS_FS_POSIX_ACL=y CONFIG_REISERFS_FS_SECURITY=y CONFIG_FS_POSIX_ACL=y CONFIG_ROMFS_FS=m CONFIG_INOTIFY=y CONFIG_QUOTA=y CONFIG_QFMT_V1=m CONFIG_QFMT_V2=m CONFIG_QUOTACTL=y CONFIG_DNOTIFY=y CONFIG_ISO9660_FS=y CONFIG_JOLIET=y CONFIG_ZISOFS=y CONFIG_ZISOFS_FS=y CONFIG_UDF_FS=y CONFIG_UDF_NLS=y CONFIG_FAT_FS=y CONFIG_VFAT_FS=y CONFIG_PROC_FS=y CONFIG_PROC_KCORE=y CONFIG_SYSFS=y CONFIG_TMPFS=y CONFIG_RAMFS=y CONFIG_NFS_FS=m CONFIG_NFS_V3=y CONFIG_NFS_V4=y CONFIG_NFSD=m CONFIG_NFSD_V3=y CONFIG_NFSD_V4=y CONFIG_NFSD_TCP=y CONFIG_LOCKD=m CONFIG_LOCKD_V4=y CONFIG_EXPORTFS=m CONFIG_NFS_COMMON=y CONFIG_SUNRPC=m CONFIG_SUNRPC_GSS=m CONFIG_RPCSEC_GSS_KRB5=m CONFIG_SMB_FS=m CONFIG_SMB_NLS_DEFAULT=y CONFIG_CIFS=m CONFIG_CIFS_STATS=y CONFIG_MSDOS_PARTITION=y CONFIG_NLS=y CONFIG_NLS_CODEPAGE_437=y CONFIG_NLS_ISO8859_1=y CONFIG_NLS_UTF8=y CONFIG_DEBUG_KERNEL=y CONFIG_MAGIC_SYSRQ=y CONFIG_DEBUG_BUGVERBOSE=y CONFIG_EARLY_PRINTK=y CONFIG_DEBUG_STACKOVERFLOW=y CONFIG_4KSTACKS=y CONFIG_X86_FIND_SMP_CONFIG=y CONFIG_X86_MPPARSE=y CONFIG_CRYPTO=y CONFIG_CRYPTO_HMAC=y CONFIG_CRYPTO_NULL=m CONFIG_CRYPTO_MD4=m CONFIG_CRYPTO_MD5=y CONFIG_CRYPTO_SHA1=m CONFIG_CRYPTO_SHA256=m CONFIG_CRYPTO_SHA512=m CONFIG_CRYPTO_WP512=m CONFIG_CRYPTO_TGR192=m CONFIG_CRYPTO_DES=y CONFIG_CRYPTO_BLOWFISH=m CONFIG_CRYPTO_TWOFISH=m CONFIG_CRYPTO_SERPENT=m CONFIG_CRYPTO_AES_586=m CONFIG_CRYPTO_CAST5=m CONFIG_CRYPTO_CAST6=m CONFIG_CRYPTO_TEA=m CONFIG_CRYPTO_ARC4=m CONFIG_CRYPTO_KHAZAD=m CONFIG_CRYPTO_ANUBIS=m CONFIG_CRYPTO_DEFLATE=m CONFIG_CRYPTO_MICHAEL_MIC=m CONFIG_CRYPTO_CRC32C=m CONFIG_CRYPTO_DEV_PADLOCK=m CONFIG_CRYPTO_DEV_PADLOCK_AES=y CONFIG_CRC_CCITT=m CONFIG_CRC32=y CONFIG_LIBCRC32C=m CONFIG_ZLIB_INFLATE=y CONFIG_ZLIB_DEFLATE=m CONFIG_GENERIC_HARDIRQS=y CONFIG_GENERIC_IRQ_PROBE=y CONFIG_X86_BIOS_REBOOT=y CONFIG_PC=y The xorg.conf : Identifier "Mouse1" Driver "mouse" Option "Protocol" "IMPS/2" Option "Device" "/dev/psaux" Option "Buttons" "5" Option "ZAxisMapping" "4 5" 2005/12/5, Richard Fish <[EMAIL PROTECTED]>: > On 12/5/05, Raphael Melo de Oliveira Bastos Sales > <[EMAIL PROTECTED]> wrote: > > The problem isn't in X, it is in the kernel, and when I googled for a > > solution, I saw a few messages that pointed to the same problem. > > I think it is related to udev. > > No, udev only creates device nodes. It does not have anything to do > with powering on (or off) devices or intercepting mouse events. There > is no udev rule that can fix your mouse behavior, only the kernel or X > configuration can impact this. Also, you _should_ have a different X > configuration for 2.6 compared to 2.4. > > With that, please specify what kernel options you specified for your > input devices, and post the InputDevice s
Re: [gentoo-user] Optical mouse lights off on kernel 2.6.14 but works on kernel 2.4.30
The problem isn't in X, it is in the kernel, and when I googled for a solution, I saw a few messages that pointed to the same problem. I think it is related to udev. 2005/12/5, Tamas Sarga <[EMAIL PROTECTED]>: > Raphael Melo de Oliveira Bastos Sales wrote: > > Hi there, > > > >I got a new VCOM optical mouse, model C235-PS2-V. And I'm having > > problems with it. On Windows XP or with the Linux kernel 2.4.30 > > (OpenMosix) it works fine. But on linux kernel 2.6.14-r2 (Gentoo > > Sources), it lights off and stays off unless I halt the system. > > > >I believe this is related to udev for two reasons, one because the > > 2.4 kernel uses devfs unstead of udev, and also because the light goes > > off when udev is starting. On the dmesg log, there are two entries > > related to the mouse: > > > > mice: PS/2 mouse device common for all mice > > input: ImExPS/2 Generic Explorer Mouse on isa0060/serio1 > > > >The mouse buttons work, but when I press any of them, the cursor > > goes to the top-right corner of the screen and stays there. > > > >Does anybody has any idea of what might be wrong, or how to create > > a udev rule so the mouse device works as in devfs? > > > > Thanks for the attention, > > > > Raphael > > > > Hi, > > What Option "Device" parameter in xorg.conf? It should be > /dev/input/mice in most of the cases. > > HTH. > Cheers, > Tamas Sarga Sárga Tamás > -- > Make the world confused!Zavard össze a világot! > Smile on monday morning!Mosolyogj hétfő reggel! > -- > gentoo-user@gentoo.org mailing list > > -- gentoo-user@gentoo.org mailing list
[gentoo-user] Optical mouse lights off on kernel 2.6.14 but works on kernel 2.4.30
Hi there, I got a new VCOM optical mouse, model C235-PS2-V. And I'm having problems with it. On Windows XP or with the Linux kernel 2.4.30 (OpenMosix) it works fine. But on linux kernel 2.6.14-r2 (Gentoo Sources), it lights off and stays off unless I halt the system. I believe this is related to udev for two reasons, one because the 2.4 kernel uses devfs unstead of udev, and also because the light goes off when udev is starting. On the dmesg log, there are two entries related to the mouse: mice: PS/2 mouse device common for all mice input: ImExPS/2 Generic Explorer Mouse on isa0060/serio1 The mouse buttons work, but when I press any of them, the cursor goes to the top-right corner of the screen and stays there. Does anybody has any idea of what might be wrong, or how to create a udev rule so the mouse device works as in devfs? Thanks for the attention, Raphael -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] OT worth upgrading hardware ?
Perhaps you can get a Semprom with a smaller clock but a higher FSB. I have an AMD Semprom 2400+ with 400 Mhz FSB, 1 GB of Ram and I'm very happy with it. It plays all the games I want and I can work in it very smoothly. I recently upgrade to 1 GB of Ram, used to be 512 Mb and the difference is amazing compared to 256, specially compile speeds. So, unless you might want to upgrade you Celeron to a P4, assuming the motherboard will take both, I'd go with Semprom, I believe it's more cost-effective. 2005/10/2, Folken <[EMAIL PROTECTED]>: > On Sun, Oct 02, 2005 at 08:12:56AM +0100, Dave S wrote: > > > The GHz sound impressive but I know neither chip is a very powerful, I > > believe they 'water down' the internals !. I cant find anywhere a > > comparison between my PIII & these two possibilitys. > > I found a comparision between (almost) your target cpus: > http://www.pcper.com/article.php?aid=61 > > (note the celeron is actually the 2.8 GHz Model) > > > My PIII is old technology, these two are newer technology with faster > > clock speeds but engineered to a price, would the speed increase be > > noticeable ? Any comments ? > > The 512 MB Ram will defently noticeable when you work with KDE. KDE is > very ram hungry and I wouldn't recommend to run it with less than 512. > (Although speed / memory consumption seem to have improved miles with > the latest versions of kde) > > > Intel Celeron 2.4GHz 128K 400MHz Socket 478 CPU OEM - 512MB RAM > > AMD Sempron 2800+ 2.0GHz (333FSB) 256K Cache Socket A OEM - 512 MB RAM > > As to the processors, I'd go for the Sempron. Celerons are IMO castraded > pentiums and really not great for compiler runs. The halved L1 cache > really hits on the performance in general. Since you are on a contrained > budget I'd even more strongley urge you to amd, since they usually give > you more performance for the buck. > > (That being said.. i'm no fan of intel. Therefore take this with a grain > of salt.) > > Oh btw.. you may ignore GHz numbers now.. they are no longer an > indicator of how "fast" processors are. > > - Folken > -- > gentoo-user@gentoo.org mailing list > > -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] download first and compile later?
It is also very useful on a office enviroment. Normally, on offices, at least on my personal experiences, the entire staff is consuming bandwidth during commercial hours. So you can use a cron job to --fetchonly the packages you want from hours 21:00 to 06:00. Then on the next day, all you have to do is compile. 2005/9/30, Mark Shields <[EMAIL PROTECTED]>: > Quick note: --fetchonly is also useful if for some reason the md5 checksum > fails on the source files. > > > On 9/30/05, Uwe Thiem < [EMAIL PROTECTED]> wrote: > > On 30 September 2005 06:57, vikram ranade wrote: > > > Quick question > > > I looked in the emerge man pages but i cant seem to figure out how to > > > download all the packages using emerge and then compile them > > > is there some parameter that i can use? > > > > > > > > > emerge > > > ? > > > or do i have to mess with the make.conf file? > > > > You are looking for "--fetchonly". > > > > Uwe > > > > -- > > 95% of all programmers rate themselves among the top 5% of all software > > developers. - Linus Torvalds > > > > http://www.uwix.iway.na (last updated: 20.06.2004) > > -- > > gentoo-user@gentoo.org mailing list > > > > > > > > -- > - Mark Shields -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Portage, network less install and Apache, MySQL, PHP
Answer to 1: Yes, if you download a portage-.tar.bz2 file and uncompress it on /usr/portage, it has the same effect as emerge --sync. Actually, to be more precise, the same effect as emerge-webrsync. Unforunately, this consumes more bandwidth, since it downloads ebuilds you don't need to update as well. But, in a proxy enviroment that doesn't allow rsync, it is the only choice you have. Answer to 2: Portage doesn't really care how you download the source packages, as long as they have the same md5sum. So, if you download them separetely and move them to /usr/portage/distfiles, you should be fine. Answer to 3: See 1 and 2. :) 2005/9/30, Daniel da Veiga <[EMAIL PROTECTED]>: > Greetings, > > I just managed to install (network less Universal CD install) Gentoo > on my Pentium 100 with 48MB of RAM (yeah, it was hard, but I got the > fastest system this poor hardware ever had), its working fine with > minimal on everything, but as I have limited network access (proxy), I > can't update, neither the usual emerge --sync nor emerge-webrsync > works, the RSYNC is blocked for sure, and I suppose webrsync is trying > to download something (all downloads are filtered, except for some > extensions, but tar.bz2 and tar.gz are filtered). > > I scheduled the download of the last portage tree (snapshot) and MySQL > and Apache latest versions and its dependencies, but I'm pretty sure I > won't be able to install them, because when calculating dependencies, > emerge fails (too old for the latest versions, and they're masked). > > So, I ask: > > 1) If I get the latest snapshot, will it be like an "emerge --sync"? > 2) If I download all packages and dependencies, will I be able to > install the masked version after pretending the "sync" with the > snapshot? > 3) Has anyone tried this? > > If I manage to install it, I'll get like 4 new servers using > replication with hardware that would be trash nowadays (that's good > for business). > > Thanks for all answers, > > -- > Daniel da Veiga > Computer Operator - RS - Brazil > -BEGIN GEEK CODE BLOCK- > Version: 3.1 > GCM/IT/P/O d-? s:- a? C++$ UBLA++ P+ L++ E--- W+++$ N o+ K- w O M- V- > PS PE Y PGP- t+ 5 X+++ R+* tv b+ DI+++ D+ G+ e h+ r+ y++ > --END GEEK CODE BLOCK-- > > -- > gentoo-user@gentoo.org mailing list > > -- gentoo-user@gentoo.org mailing list
[gentoo-user] OT - Tweaking with postgresql.conf
Hi there, I was wondering if any of you guys ever tried changing the configuration options in postgresql.conf to increase performance of the database server. If so, what did you do and for what purpouse. Thanks for the attention, Raphael -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Doubts about how to create a free software project
Cool, thanks for the help everyone. 2005/9/17, Uwe Thiem <[EMAIL PROTECTED]>: > On 16 September 2005 19:40, Raphael Melo de Oliveira Bastos Sales wrote: > > You mean something like this? > > > > /** > >* * Copyright (C) 2005 by Raphael Melo de Oliveira Bastos Sales > > * * [EMAIL PROTECTED] > > * * > > * * This program is free software; you can redistribute it and/or modify > > * * it under the terms of the GNU General Public License as published by > > * * the Free Software Foundation; either version 2 of the License, or > > * * (at your option) any later version. > > * * > > * * This program is distributed in the hope that it will be useful, > > * * but WITHOUT ANY WARRANTY; without even the implied warranty of > > * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > > * * GNU General Public License for more details. > > * * > > * * You should have received a copy of the GNU General Public License > > * * along with this program; if not, write to the > > * * Free Software Foundation, Inc., > > * * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. > > * > > *** > >/ > > > > On the top of every file? > > Yup. > > Uwe > > -- > 95% of all programmers rate themselves among the top 5% of all software > developers. - Linus Torvalds > > http://www.uwix.iway.na (last updated: 20.06.2004) > -- > gentoo-user@gentoo.org mailing list > > -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Doubts about how to create a free software project
You mean something like this? /*** * Copyright (C) 2005 by Raphael Melo de Oliveira Bastos Sales * * [EMAIL PROTECTED] * * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * * the Free Software Foundation; either version 2 of the License, or * * (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * * but WITHOUT ANY WARRANTY; without even the implied warranty of* * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * * along with this program; if not, write to the * * Free Software Foundation, Inc., * * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * ***/ On the top of every file? 2005/9/16, Uwe Thiem <[EMAIL PROTECTED]>: > On 16 September 2005 04:31, Raphael Melo de Oliveira Bastos Sales wrote: > > Hi everyone, > > > >I work with biotech and for about an 1 year I've been working on a > > web interface for genome/proteome data analysis. And I'd like to make > > it free software. But I still have doubts about legal problems I might > > face and about intellectual property. > > Basically, I don't want to restrict people on using and > > contributing with source or whatever, but don't want anyone taking > > credit for my work or pateting it and sending me a cease-and-desist > > letter. > >If anyone has any insight, references or links on this subject, > > please let me know. > > 1. Step > You make sure the stuff is your. So you stamp a copyright message all over it. > Basically, you put a copyright notification in each and every file. Now you > have made clear it is *your* intellectual property. > > 2. Step > You have to put it under an OSS license that suits you best. I guess the two > most widely used OSS licenses are the General Public License (GPL) and the > BSD license. There are quite some differences between them. In a nutshell: > The GPL does not allow to include any of your stuff in a piece of software > that is not under the GPL. In other words, Whoever wants to build software > based on yours has to make the result OSS under GPL as well. The BSD license > basically allows any use of your software as long as the copyright remains > unchanged (which prevents anyone from patenting it) and the result credits > you. > > All that said, if someone with a lot of money grabs your stuff an - say - > patents it you still have to challenge them in court which can take > considerable time and money. The GPL has a slight advantage in this case > because the Free Software Foundation (FSF) will help you legally. > > You should read through the available licenses even if they are a boring > read. ;-) > > Uwe > > -- > 95% of all programmers rate themselves among the top 5% of all software > developers. - Linus Torvalds > > http://www.uwix.iway.na (last updated: 20.06.2004) > -- > gentoo-user@gentoo.org mailing list > > -- gentoo-user@gentoo.org mailing list
[gentoo-user] Doubts about how to create a free software project
Hi everyone, I work with biotech and for about an 1 year I've been working on a web interface for genome/proteome data analysis. And I'd like to make it free software. But I still have doubts about legal problems I might face and about intellectual property. Basically, I don't want to restrict people on using and contributing with source or whatever, but don't want anyone taking credit for my work or pateting it and sending me a cease-and-desist letter. If anyone has any insight, references or links on this subject, please let me know. Thanks for the attention, Raphael -- gentoo-user@gentoo.org mailing list
[gentoo-user] [OT] Ebuild for mod_php-5.0.4 is missing.
Hi there, I emerge synced today and noticed that the ebuild for mod_php 5.0.4 is missing. Looking over packages.gentoo.org and it is not there either. What happened? Was it a developers decision? If so, why? Thanks, Raphael -- gentoo-user@gentoo.org mailing list
[gentoo-user] Getting problems with nVidia and OpenMosix kernel
Hi there, I got a Gentoo box with two kernels, one is linux-2.6.12-gentoo-r9 kernel sources and the other linux-2.4.30-openmosix-r3. On the 2.6 kernel, the nvidia driver works fine. But on the OpenMosix version, whenever I try to start X, it crashes, and in the log, there are no error messages. All I get is: (II) Initializing extension GLX *** If unresolved symbols were reported above, they might not *** be the reason for the server aborting. Fatal server error: Caught signal 11. Server aborting cat /var/log/Xorg.0.log | grep EE returns nothing. I believe it is a flaw in the agpgart module, because if I try to load the module, I get: /lib/modules/2.4.30-om-migshm/kernel/drivers/char/agp/agpgart.o: init_module: Invalid argument Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters. You may find more information in syslog or the output from dmesg /lib/modules/2.4.30-om-migshm/kernel/drivers/char/agp/agpgart.o: insmod /lib/modules/2.4.30-om-migshm/kernel/drivers/char/agp/agpgart.o failed /lib/modules/2.4.30-om-migshm/kernel/drivers/char/agp/agpgart.o: insmod agpgart failed Anyone knows how to fix this? Thank you for your attention, Raphael -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Install issue, I need a solution quickly..
Have you untared your stage file already? Have you mounted all the partitions? Give us some more info so we can help you 2005/9/1, Ian K <[EMAIL PROTECTED]>: > Hi there, > When I run chroot /mnt/gentoo /bin/bash, > I get: > > chroot: cannot run command `/bin/bash': Exec format > error > > Any ideas? > Thanks!! > Ian > > > > > > > __ > Find your next car at http://autos.yahoo.ca > -- > gentoo-user@gentoo.org mailing list > > -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] gcc seg faults very often
No, the memory is wasted. :( 2005/8/24, Raphael Melo de Oliveira Bastos Sales <[EMAIL PROTECTED]>: > I'll test the memory chip on another computer and see if it works... > > 2005/8/23, Volker Armin Hemmann <[EMAIL PROTECTED]>: > > On Wednesday 24 August 2005 02:16, Raphael Melo de Oliveira Bastos Sales > > wrote: > > > Yes, I found a kernel patch that does that. It allocates all the bad > > > memory sectors in kernel space permanetely, so they can't be used. > > > But, I found it too late. The memory is so bad now that it doesn't > > > even tries to boot. It just stops after detecting all IDE devices. > > > Gonna have to buy new memory boards... > > > > > > > when your ram becomes worse in some few days, there is a great chance, that > > not the ram, but the PSU is the culprit. > > > > When a PSU is becoming weak, it is not able to hold the voltages at > > sufficient > > levels - lockups and ram-errors are then common problems. > > -- > > gentoo-user@gentoo.org mailing list > > > > > -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] gcc seg faults very often
I'll test the memory chip on another computer and see if it works... 2005/8/23, Volker Armin Hemmann <[EMAIL PROTECTED]>: > On Wednesday 24 August 2005 02:16, Raphael Melo de Oliveira Bastos Sales > wrote: > > Yes, I found a kernel patch that does that. It allocates all the bad > > memory sectors in kernel space permanetely, so they can't be used. > > But, I found it too late. The memory is so bad now that it doesn't > > even tries to boot. It just stops after detecting all IDE devices. > > Gonna have to buy new memory boards... > > > > when your ram becomes worse in some few days, there is a great chance, that > not the ram, but the PSU is the culprit. > > When a PSU is becoming weak, it is not able to hold the voltages at sufficient > levels - lockups and ram-errors are then common problems. > -- > gentoo-user@gentoo.org mailing list > > -- gentoo-user@gentoo.org mailing list
Re: Re: [gentoo-user] gcc seg faults very often
Yes, I found a kernel patch that does that. It allocates all the bad memory sectors in kernel space permanetely, so they can't be used. But, I found it too late. The memory is so bad now that it doesn't even tries to boot. It just stops after detecting all IDE devices. Gonna have to buy new memory boards... if anyone ever need it: http://rick.vanrein.org/linux/badram/ 2005/8/23, Michael Kintzios <[EMAIL PROTECTED]>: > > From:: Eugene Rosenzweig <[EMAIL PROTECTED]> > > To: gentoo-user@lists.gentoo.org > > Subject: Re: [gentoo-user] gcc seg faults very often > > Date: Wed, 24 Aug 2005 01:03:01 +1000 > > > Raphael Melo de Oliveira Bastos Sales wrote: > > > > >After running memtest, several errors have occurred. Does that mean I > > >have to buy new memory? > > > > > >2005/8/22, Volker Armin Hemmann <[EMAIL PROTECTED] al.de>: > > > > > > > > >>On Monday 22 August 2005 21:29, Raphael Melo de Oliveira Bastos Sales > > >>wrote: > > >> > > >> > > >>>Hi Richard, > > >>> > > >>>First of all, thanks for replying. I'll test the swap partition > > >>>with the command you sent. But how do I test the memory? Is there any > > >>>way to do it? I think I configured CMOS to do a memory check during > > >>>start up. > > >>> > > >>> > > >>> > > >>please install memtest86 or memtest86+ and let it run for some others. > > >> > > >>gcc segfaults are a very good sign of memory problems - and please the > > >>bios-'check' is not a 'check' - never was! > > >> > > >>The bios counts the available memory - this is not a check but accounting. > > >>-- > > >>gentoo-user@gentoo.org mailing list > > >> > > >> > > You can check memory settings in the BIOS, most BIOSes nowadays have > > options to change memory timings so you can set more relaxed ones and > > see if the errors disappear. Also you can try good oldfashioned > > re-seating of the memory modules, take them out and insert them again. > > > > Eugene. > > I remember an application which would identify the bad memory cells and > isolate them so that your machine could happily carry on using the rest of > the memory - unfortunately just like yours my memory is not what it used to > be . . . ;-) > > I've googled but can't find it. > -- > Regards, > Mick > > Lycos email has now 300 Megabytes of free storage... Get it now at > mail.lycos.co.uk > -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] gcc seg faults very often
After running memtest, several errors have occurred. Does that mean I have to buy new memory? 2005/8/22, Volker Armin Hemmann <[EMAIL PROTECTED]>: > On Monday 22 August 2005 21:29, Raphael Melo de Oliveira Bastos Sales wrote: > > Hi Richard, > > > > First of all, thanks for replying. I'll test the swap partition > > with the command you sent. But how do I test the memory? Is there any > > way to do it? I think I configured CMOS to do a memory check during > > start up. > > > > please install memtest86 or memtest86+ and let it run for some others. > > gcc segfaults are a very good sign of memory problems - and please the > bios-'check' is not a 'check' - never was! > > The bios counts the available memory - this is not a check but accounting. > -- > gentoo-user@gentoo.org mailing list > > -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] gcc seg faults very often
I faced lockups problems during high mem/cpu/io conditions on another computer. Turned out to be the power source that was inadequate (is that how it is spelled?). Most motherboard simply reboot the system when close to overheating conditions. And they normally beep a lot before that happens. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] gcc seg faults very often
Thanks to both R'twick and Volker. I'll try them out, tonight, after I take my girlfriend for pizza ;) 2005/8/22, R'twick Niceorgaw <[EMAIL PROTECTED]>: > On Mon, August 22, 2005 4:28 pm, Raphael Melo de Oliveira Bastos Sales said: > > Any good tools for checking temperature and other system stats? > > > > I use gkrellm2. Make sure you have the acpi (thermal, fan etc) modules > built and loaded for your kernel. > > -R'twick > -- > gentoo-user@gentoo.org mailing list > > -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] gcc seg faults very often
I didn't know that. Good to learn. I'll use the memtest from the live cd, since I can install it without the compiler working well... 2005/8/22, Volker Armin Hemmann <[EMAIL PROTECTED]>: > On Monday 22 August 2005 21:29, Raphael Melo de Oliveira Bastos Sales wrote: > > Hi Richard, > > > > First of all, thanks for replying. I'll test the swap partition > > with the command you sent. But how do I test the memory? Is there any > > way to do it? I think I configured CMOS to do a memory check during > > start up. > > > > please install memtest86 or memtest86+ and let it run for some others. > > gcc segfaults are a very good sign of memory problems - and please the > bios-'check' is not a 'check' - never was! > > The bios counts the available memory - this is not a check but accounting. > -- > gentoo-user@gentoo.org mailing list > > -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] gcc seg faults very often
Any good tools for checking temperature and other system stats? 2005/8/22, R'twick Niceorgaw <[EMAIL PROTECTED]>: > Hi Raphael, > > On Mon, August 22, 2005 3:29 pm, Raphael Melo de Oliveira Bastos Sales said: > > But how do I test the memory? > > memtest86 will do it. > > > >> > I'm using gcc-3.3.5.20050130-r1 and I keep getting segmentation > fault every now and then. > > I also had the same gcc segfault problem recently. After some observation, > I found out whenever cpu temperature goes beyond 50 C I was getting > segfaults. Took out the heat sink and cpu, cleaned them put some arctic > silver between cpu and heat sink and put a fan in front of the box and did > a emerge -Uv world without any problem even though temperature reached > 65. I believe, its the arctic silver that I put between cpu and heat sink > fixed my problem. > > HTH > R'twick > -- > gentoo-user@gentoo.org mailing list > > -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] gcc seg faults very often
Hi Richard, First of all, thanks for replying. I'll test the swap partition with the command you sent. But how do I test the memory? Is there any way to do it? I think I configured CMOS to do a memory check during start up. Also, I'm using -march=i686 -O2 -fomit-frame-pointer, since I don't know if a higher value is compatible with my AMD Sempron. 2005/8/22, Richard Fish <[EMAIL PROTECTED]>: > Raphael Melo de Oliveira Bastos Sales wrote: > > >Hi there, > > > > I'm using gcc-3.3.5.20050130-r1 and I keep getting segmentation > >fault every now and then. Since it doesn't work, I can't compile an > >earlier, more stable version. I hope it isn't a hardware failure, > >because the warranty on my new computer just ended. It is probably not > >an memory error, because I'm not using -pipe. I checked the filesystem > >and no corruption was found. > > > > > > Don't be so sure. -pipe doesn't add that much additional memory > overhead, in fact, only a few pages used as an IO buffer between the > processes. The process of compiling itself is very tough on memory, > reading and writing to various locations in rapid succession. > > I would say memory is the most likely problem, but it could be > overheating or power supply problems also. > > > Anybody had this type of error too? If so, how did you handle it? > >Are there any tools to check the hard drive's surface for flaws? > > > > > > Bad disk blocks are almost certainly not the issue, as you would end up > with IO errors during the compilation, not segfaults. Well, I guess if > your swap had bad blocks, you might get a segfault... > > Anyway, "dd if=/dev/hda of=/dev/null bs=4k" will test readability of > your entire disk. It doesn't test the validity of your data though... > > -Richard > > -- > gentoo-user@gentoo.org mailing list > > -- gentoo-user@gentoo.org mailing list
[gentoo-user] gcc seg faults very often
Hi there, I'm using gcc-3.3.5.20050130-r1 and I keep getting segmentation fault every now and then. Since it doesn't work, I can't compile an earlier, more stable version. I hope it isn't a hardware failure, because the warranty on my new computer just ended. It is probably not an memory error, because I'm not using -pipe. I checked the filesystem and no corruption was found. Anybody had this type of error too? If so, how did you handle it? Are there any tools to check the hard drive's surface for flaws? Thanks for the attention, Raphael -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] alsa config
Hi there John, First, remember to backup config files. The suggestion I'd give you is to: 1 - put snd-intel8x0 in /etc/modules.autoload.d/kernel-2.6 2 - set your /etc/modules.d/alsa like this: alias snd-card-0 snd-intel8x0 alias sound-slot-0 snd-intel8x0 3 - rc-update add alsasound boot 4 - /etc/init.d/alsasound restart Some programs that use OSS emulation need direct access to PCM. To do this, I have done the following: 1 - Create file /etc/conf.d/oss-emul 2 - Create a line for each program you want to grant permission for direct access, like this: 0 0 direct 3 - Add the following line to /etc/init.d/alsasound on the start() funcion: cat /etc/conf.d/oss-emul >> /proc/asound/card0/pcm0p/oss Everytime Alsa starts, it will give permission to the programs. Hope this helps, Raphael. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] VMWare?
I agree with John. It is better to have a robust system (Gentoo) and run the bad one (Windows) on user space (via VMWare) so it can't do much damage. As for comments on VMWare, it isn't free software and you need a licence key. Some purists don't like the fact that it isn't free. I never tested it, but I hear it is a great emulator. Plex86, the free software counter-part, is still under development. So it is really young and probably has less funcionalities. I don't know any other options. If he really wants a Unix-like enviroment running on Windows, I think it will be easier to install CygWin.. 2005/8/21, John Jolet <[EMAIL PROTECTED]>: > that's backwards! install vmware under gentoo, then win xp under vmware. > > On Saturday 20 August 2005 22:01, Ian K wrote: > > Hey all, > > I have a friend who is getting a desktop, (high end) > > and was wondering if he should VMware under WinXp and > > install Gentoo on VMWare. How slow would this be if > > any, under an Athlon 64 3000+, and what are general > > pros and cons with VMware? He is also thinking of > > dualbooting, would that be smarter? > > Thanks! > > Ian > > > > __ > > Do You Yahoo!? > > Tired of spam? Yahoo! Mail has the best spam protection around > > http://mail.yahoo.com > > -- > John Jolet > Your On-Demand IT Department > 512-762-0729 > www.jolet.net > [EMAIL PROTECTED] > -- > gentoo-user@gentoo.org mailing list > > -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Can't get ALSA OSS Emulation to work
Hi Chris Unfortunately, it didn't. And I also have to do it everytime it restarts. I'm thinking about doing a init script to do it for me... > Shouldn't the ebuild when it installs make those changes automaticly? > When I tried out q3demo last year the sound worked fine same with > Enemy Territory. > > Chris > > -- > gentoo-user@gentoo.org mailing list > > -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Can't get ALSA OSS Emulation to work
I feel really stupid. It wasn't the permission, but to get both quake and enemy territory to play , they have to be given direct access to the sound hardware. To do that, you must go to /proc/asound/cardX/pcm0p/ and add the following line to the oss file in this directory. Something like this: echo "q3demo.x86 0 0 direct" >> /proc/asound/card0/pcm0p/oss I was putting just q3demo, which is actually just a script to call the game, not the program that would use the sound. And that's why it didn't work. Thanks for the help. I'll try to have more attention to this type of details in the future. Thanks again Nick and Mark ;) -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Can't get ALSA OSS Emulation to work
I just thought of it now. Could this be a udev related bug? I'm using udev and may be I misconfigured something. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Can't get ALSA OSS Emulation to work
Thanks for the attention. I did both ways and I still get error messages like; Enemy Territory: /dev/dsp: Input/output error Could not mmap /dev/dsp and Quake 3: /dev/dsp: Broken pipe Could not toggle. cat /dev/urandom > /dev/dsp also does nothing Maybe some clues, I don't know: # cat /proc/asound/cards 0 [V8237 ]: VIA8237 - VIA 8237 VIA 8237 with AD1888 at 0xe000, irq 22 # cat /proc/asound/devices 17: [0- 1]: digital audio playback 25: [0- 1]: digital audio capture 16: [0- 0]: digital audio playback 24: [0- 0]: digital audio capture 0: [0- 0]: ctl 1: : sequencer 33: : timer # cat /proc/asound/pcm 00-00: VIA 8237 : VIA 8237 : playback 4 : capture 1 00-01: VIA 8237 : VIA 8237 : playback 1 : capture 1 # cat /proc/asound/version Advanced Linux Sound Architecture Driver Version 1.0.9b. Compiled on Aug 12 2005 for kernel 2.6.12-gentoo-r6. # cat /proc/asound/oss/devices 1: : sequencer 8: : sequencer 0: [0- 0]: mixer 3: [0- 3]: digital audio 12: [0-12]: digital audio # cat /proc/asound/oss/sndstat Sound Driver:3.8.1a-980706 (ALSA v1.0.9b emulation code) Kernel: Linux familia2 2.6.12-gentoo-r6 #1 Thu Aug 11 06:47:46 BRT 2005 i686 Config options: 0 Installed drivers: Type 10: ALSA emulation Card config: VIA 8237 with AD1888 at 0xe000, irq 22 Audio devices: 0: VIA 8237 (DUPLEX) Synth devices: NOT ENABLED IN CONFIG Midi devices: NOT ENABLED IN CONFIG Timers: 7: system timer Mixers: 0: Analog Devices AD1888 While I'm at it, how does the -D option of alsamixer works? When I put alsamixer -D /dev/mixer it doesn't work either. I'm I doing it wrong? Sorry for sending such a big message, but this problem is really annoying... Thanks again for the attention, Raphael -- gentoo-user@gentoo.org mailing list
[gentoo-user] Can't get ALSA OSS Emulation to work
Hi everyone, After some days googling for it, I give up now and come here for help. I have Alsa installed in kernel, and it works fine for programs that are compatible with. But programs that need OSS don't get any sound. I have the following lines in the alsa config files: /etc/modules.d/alsa: alias /dev/mixer snd-mixer-oss alias /dev/dsp snd-pcm-oss alias /dev/midi snd-seq-oss alias snd-card-0 snd-via82xx alias sound-slot-0 snd-via82xx When I run the alsasound init script it says: * Loading ALSA modules ... * Loading: snd-card-0 ... [ ok ] * Loading: snd-seq-oss ...[ ok ] * Loading: snd-pcm-oss ... [ ok ] * Restoring Mixer Levels ... [ ok ] # cat /proc/modules | grep oss snd_pcm_oss 52576 0 - Live 0xe258b000 snd_mixer_oss 19648 1 snd_pcm_oss, Live 0xe000 snd_seq_oss 37568 0 - Live 0xe2512000 snd_seq_midi_event 7168 1 snd_seq_oss, Live 0xe0da9000 snd_seq 55056 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event, Live 0xe086d000 snd_pcm 93448 3 snd_pcm_oss,snd_via82xx,snd_ac97_codec, Live 0xe0db snd_seq_device 8972 4 snd_seq_dummy,snd_seq_oss,snd_seq,snd_rawmidi, Live 0xe084a000 snd 57412 13 snd_pcm_oss,snd_mixer_oss,snd_seq_dummy,snd_seq_oss,snd_seq,snd_via82xx,snd_ac97_codec,snd_pcm,snd_timer,snd_mpu401_uart,snd_rawmidi,snd_seq_device, Live 0xe0d79000 So it seems that the modules are loaded correctly. But every program that tries to pipe to /dev/dsp gets broken pipe (i.e. Quake and Enemy Territory). If anybody can tell me what could be wrong, please let me know. If there is a config file that is important and that I didn't send it here, tell me and I'll send them. Thanks for the attention, Raphael -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Testing how secure a server is...
First of all, thanks everyone for your replies. I really appreciate the help. I'll be testing snort, since it was the most mentioned one. I'm also going to test bastille. Had a problem emerging psad, one of its dependencies. I'll send the error message later. I made all the tests with nmap to check if the firewall was working OK, the results took more from 90 to 150 minutes. And it actually said that my Gentoo Server was a Longhorn beta machine and that the SSH service was an HTTP proxy. I assume that is a good thing. Not only the attacker would have to be very patient, but also the results would be confusing. Besides, since it is not replying to ping, some people would actually think that the host is down and ignore it. I used Authforce to test if it would be easy to brute force HTTP authentication. It replied that it didn't find any passwords. Again, a good thing. About the Honey Pot. I'll read about it later. My top priority is to have a good IDS running. ;) I need to get all the arguments I can, or else my department's chief I'll force me to migrate my Web Application to Java + Corba, and I don't want to do that. He claims that if someone invades my machine, it will have direct access to all data. That I have to distribute the database, put it in another machine and have the web application access that database over the network. I feel this is a bit overkill. Not only it would force the data travel through the network, slowing it down, but would also increase the complexity of the security layout, forcing to make the two machines very secure, unstead of just one of them. Besides, I might be wrong, but I feel that a Local Socket is faster and safer than Corba trasmitting data over the internal network. If anybody has any comments, I'd be more than happy to hear it. 2005/8/3, Peter De Zutter <[EMAIL PROTECTED]>: > > > On 8/3/05, Raphael Melo de Oliveira Bastos Sales <[EMAIL PROTECTED]> > wrote: > > Which IDS system do you recommend? I also need to worry about HTTP > > auth brute force. Know any way to stop it from happening? > > Snort, oinkmaster and ACID, there is a decent guide here . > About that http thingy, depends on how critical your apache is. It's worth > mentioning the O'Reilly book Linux Server Security. I bought it when I was > faced with a the things and problems that involve running a production > server. It gives a good general insight in the matter. > > > > I've read about HoneyPots, which I can only assume is a decoy for an > > attacker. Anyone knows how to set one up? > > Never don this before, but a quick google did find a little pdf on how to > setup a honeyput on a redhat. > Setting Up a Honeypot Using a. Bait and Switch Router , now if only could > have some spare time to check it out. It is hard to resist it not to try it. > > > I have a feeling that there isn't much I can do if a pro actually > > tries to break the system. All I can do is avoid the dummies from > > doing it as well. > > That sums it up pretty good. > Peter > > > > > 2005/8/3, Willie Wong <[EMAIL PROTECTED] >: > > > On Tue, Aug 02, 2005 at 09:43:17PM -0400, Colin wrote: > > > > Neither is what I was thinking of, but they're quite similar. > > > > LoginGraceTime means if nobody logged in within 10 minutes of the > > > > connection being opened, then it will be closed. I don't know > > > > exactly what MaxAuthTries does, but I imagine after the sixth invalid > > > > login, the connection would be closed. > > > > > > > > > > Yes, and if the failure reaches half the number, all further failures > > > will be logged. In the case of > > > MaxAuthTries 6 > > > It means that the first three failures will go unnoticed, the fourth > > > through sixth logged, and the connection closes after that. > > > > > > There is, unfortunately, not an option in sshd_config to allow for the > > > behaviour you specified, where after a password failure, the next > > > prompt comes up delayed by five seconds. Perhaps if should be put as a > > > feature request (=. > > > > > > Your best bet against brute forcing sshd is > > > 1) Not allowing password login at all > > > or > > > 2) Use some sort of IDS coupled with a firewall rule to block the > > > particular host after multiple login failures. But even that > > > won't stop a distributed brute force. But then again, if you are > > > guarding a system that really demands that much security against > > > a determined cracker, you really should conside
Re: [gentoo-user] Testing how secure a server is...
Which IDS system do you recommend? I also need to worry about HTTP auth brute force. Know any way to stop it from happening? I've read about HoneyPots, which I can only assume is a decoy for an attacker. Anyone knows how to set one up? I have a feeling that there isn't much I can do if a pro actually tries to break the system. All I can do is avoid the dummies from doing it as well. 2005/8/3, Willie Wong <[EMAIL PROTECTED]>: > On Tue, Aug 02, 2005 at 09:43:17PM -0400, Colin wrote: > > Neither is what I was thinking of, but they're quite similar. > > LoginGraceTime means if nobody logged in within 10 minutes of the > > connection being opened, then it will be closed. I don't know > > exactly what MaxAuthTries does, but I imagine after the sixth invalid > > login, the connection would be closed. > > > > Yes, and if the failure reaches half the number, all further failures > will be logged. In the case of > MaxAuthTries 6 > It means that the first three failures will go unnoticed, the fourth > through sixth logged, and the connection closes after that. > > There is, unfortunately, not an option in sshd_config to allow for the > behaviour you specified, where after a password failure, the next > prompt comes up delayed by five seconds. Perhaps if should be put as a > feature request (=. > > Your best bet against brute forcing sshd is > 1) Not allowing password login at all > or > 2) Use some sort of IDS coupled with a firewall rule to block the > particular host after multiple login failures. But even that > won't stop a distributed brute force. But then again, if you are > guarding a system that really demands that much security against > a determined cracker, you really should consider NOT putting the > system on the internet. > or > 3) Maybe port-knocking? Note that just by running ssh on a > non-standard port, you probably are avoiding most of the 5|<|21p7 > kiddie attacks... again, only someone who really wants in on your > system will take the effort to locate where sshd is listening. > > > I found this site, check it out. It's for Red Hat (Gentoo is > > better!), but it's the same SSHd: > > http://www.faqs.org/docs/securing/chap15sec122.html > -- > It's easy to come up with new ideas; the hard > part is letting go of what worked for you two > years ago, but will soon be out of date. > -- Roger Von Oech > Sortir en Pantoufles: up 2 days, 9:25 > -- > gentoo-user@gentoo.org mailing list > > -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Testing how secure a server is...
Hey Colin, I was looking at the /etc/ssh/sshd_config file and found these: LoginGraceTime 600 MaxAuthTries 6 Is the first one what you meant? The second seems like an attempt to avoid brute force login. Also, does Grub need any kind of password protection? I don't know if it was Grub or Lilo that allowed root access unless password protected. Am I mistaken? As you can see, I still have a lot to learn. ;) 2005/8/3, Colin <[EMAIL PROTECTED]>: > > On Aug 2, 2005, at 7:50 PM, Raphael Melo de Oliveira Bastos Sales wrote: > > > Hi there, > > > >I was wondering what tools should I use to detect security flaws to > > my server and a few tips on how to use them. What are the most common > > forms of attack and how do I avoid being attacked by one of them? > > > >The services avaliable are only Apache - SSL and SSH. I've > > installed an firewall, iptables and firestarter to control it, and > > blocked all ports except 443 and 8080, where the SSH is listening. > > Apache has PHP installed as a module. > > > > Want to know how secure your server is? Try and hack it! > > A good port scanner like nmap should be a basic check of your > firewall. I would also set nmap (if it can do this) to perform a SYN > flood as it scans, to see if your server can withstand that basic DoS > attack. (Adding --syn to your TCP rules in iptables can prevent SYN > flooding when used with SYN cookies.) When you break in, find out > why it worked and how it can be patched. > > Some things I would advise (I'm currently working on a server at the > moment as well): > - If the server is really important (or if you're paranoid), use > the hardened-sources with PIE/SSP to prevent badly-written programs > from arbitrarily executing code. > - Enable SYN flood protection. There's a kernel option somewhere > about IPv4 SYN cookies, enable that, and couple it with --syn > attached to your TCP rules in iptables. It's a very popular denial- > of-service attack. > - Whenever you need to login or authenticate yourself, make the > system delay five seconds after a bad password is entered. This will > make a brute-force attack much much slower (0.2 passwords/sec as > opposed to millions passwords/sec without a delay, depending on your > server's speed). > - Make sure iptables is set to deny all traffic that isn't > explicitly allowed. > - Turn off any services you don't need. > - Read through your logs every now and then. I highly advise > having the server burn them to a CD/floppy every now and then for an > instant backup. Get a log reader/parser, too. > > Naturally, hide the server in the attic or basement. Chain it to > something, or if it has a security slot, use a security cable. Put a > lock on the case door. Unplug your floppy/CD drives if you're not > using them. As of this writing, there is no kernel option to keep > your computer or its innards from walking away. :-) > -- > Colin > -- > gentoo-user@gentoo.org mailing list > > -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Testing how secure a server is...
Thanks Peter. I'm just finishing visiting the home page of almost every package on the net-analyzer category. If I didn't have such a short dead line, I'd test them all. ;) 2005/8/3, Peter De Zutter <[EMAIL PROTECTED]>: > Hi, > 2 tools nmap and nessus for network/port scanning and others. > For hardering you could use bastille. > Of course all found in portage. > Peter > > > On 8/3/05, Raphael Melo de Oliveira Bastos Sales <[EMAIL PROTECTED]> > wrote: > > > > Hi there, > > > >I was wondering what tools should I use to detect security flaws to > > my server and a few tips on how to use them. What are the most common > > forms of attack and how do I avoid being attacked by one of them? > > > >The services avaliable are only Apache - SSL and SSH. I've > > installed an firewall, iptables and firestarter to control it, and > > blocked all ports except 443 and 8080, where the SSH is listening. > > Apache has PHP installed as a module. > > > > Thanks for the attention, > > > > Raphael. > > > > -- > > gentoo-user@gentoo.org mailing list > > > > > > > > -- > I have plenty of common sense, > I just choose to ignore it. > --- Calvin > -- gentoo-user@gentoo.org mailing list
[gentoo-user] Testing how secure a server is...
Hi there, I was wondering what tools should I use to detect security flaws to my server and a few tips on how to use them. What are the most common forms of attack and how do I avoid being attacked by one of them? The services avaliable are only Apache - SSL and SSH. I've installed an firewall, iptables and firestarter to control it, and blocked all ports except 443 and 8080, where the SSH is listening. Apache has PHP installed as a module. Thanks for the attention, Raphael. -- gentoo-user@gentoo.org mailing list