[gentoo-user] Device not accepting address, error -110 and others
Hi list, since I updated to some of new linux kernels versions, I started to experimenting many problems with my usb devices / hub, which makes my computer works in a very strange manner. Researching on this direction on the web, I noticed that many people have the same/similar problem as mine, where always linux kernel kprints the following message to the dmesg output using this template: usb X-X: device not accepting address XX, error -XXX. Are kernel developers, mainly the usb team, aware of this problem? What should I have to do to find a solution for my case? This is happening with my laptop. I need to know if this could be a hardware problem, because my laptop is still under guarantee and if it is a hardware problem, I will contact the seller. Please, any suggestion/tip will be greatfully accepted. Thank you! Kernel version: # uname -r 2.6.32-23 x86_64 Example of dmes output: [ 2029.790225] usb 7-1: new full speed USB device using uhci_hcd and address 10 [ 2044.910100] usb 7-1: device descriptor read/64, error -110 [ 2060.140082] usb 7-1: device descriptor read/64, error -110 [ 2060.370101] usb 7-1: new full speed USB device using uhci_hcd and address 11 [ 2075.492621] usb 7-1: device descriptor read/64, error -110 [ 2090.720082] usb 7-1: device descriptor read/64, error -110 [ 2090.950089] usb 7-1: new full speed USB device using uhci_hcd and address 12 [ 2101.370344] usb 7-1: device not accepting address 12, error -110 [ 2101.490132] usb 7-1: new full speed USB device using uhci_hcd and address 13 [ 2111.910085] usb 7-1: device not accepting address 13, error -110 [ 2111.910123] hub 7-0:1.0: unable to enumerate USB device on port 1 [ 2112.034915] usb 7-2: new full speed USB device using uhci_hcd and address 14 [ 2127.150161] usb 7-2: device descriptor read/64, error -110 [ 2142.380160] usb 7-2: device descriptor read/64, error -110 [ 2142.610230] usb 7-2: new full speed USB device using uhci_hcd and address 15 [ 2157.730188] usb 7-2: device descriptor read/64, error -110 lspci output: 00:00.0 Host bridge: Intel Corporation Mobile 4 Series Chipset Memory Controller Hub (rev 07) 00:02.0 VGA compatible controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07) 00:02.1 Display controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07) 00:03.0 Communication controller: Intel Corporation Mobile 4 Series Chipset MEI Controller (rev 07) 00:19.0 Ethernet controller: Intel Corporation 82567LM Gigabit Network Connection (rev 03) 00:1a.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 (rev 03) 00:1a.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #5 (rev 03) 00:1a.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #6 (rev 03) 00:1a.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #2 (rev 03) 00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 03) 00:1c.0 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 1 (rev 03) 00:1c.2 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 3 (rev 03) 00:1d.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 (rev 03) 00:1d.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 (rev 03) 00:1d.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 (rev 03) 00:1d.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 (rev 03) 00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 93) 00:1f.0 ISA bridge: Intel Corporation ICH9M-E LPC Interface Controller (rev 03) 00:1f.2 SATA controller: Intel Corporation ICH9M/M-E SATA AHCI Controller (rev 03) 01:00.0 Network controller: Intel Corporation Wireless WiFi Link 5100 03:0b.0 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev ba) 03:0b.1 FireWire (IEEE 1394): Ricoh Co Ltd R5C832 IEEE 1394 Controller (rev 04) 03:0b.2 SD Host controller: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 21) 03:0b.4 System peripheral: Ricoh Co Ltd R5C592 Memory Stick Bus Host Adapter (rev 11) 03:0b.5 System peripheral: Ricoh Co Ltd xD-Picture Card Controller (rev 11) lspci -vvv output for usb hubs: 00:1d.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 (rev 03) Subsystem: Toshiba America Info Systems Device 0001 Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx- Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- SERR- Kernel driver in use: uhci_hcd 00:1d.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 (rev 03) Subsystem: Toshiba America Info Systems Device 0001 Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx- Status: Cap+ 66MHz- UDF- FastB2B+ ParE
[gentoo-user] Installing old version of a package
Hi folks, Recently I installed mysql using emerge mysql, but the version that was installed is 4.1.14, but I'd like to install the last available version of the 4.0 release. How can I do this? Thank you, -- Leandro Melo de Sales. Undergraduate Computer Science Student NExOS Lab - TCI @ Federal University of Alagoas - Brazil +55 82 32141401 +55 82 88035626 -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Installing old version of a package
Thank you Ciaran. I'm installing the 4.0.25 version now. Bye, Leandro 2005/12/3, Ciaran McCreesh <[EMAIL PROTECTED]>: > On Sat, 3 Dec 2005 15:04:58 -0300 Leandro Melo de Sales > <[EMAIL PROTECTED]> wrote: > | Recently I installed mysql using emerge mysql, but the version that > | was installed is 4.1.14, but I'd like to install the last available > | version of the 4.0 release. How can I do this? > > The easiest way is to add >=dev-db/mysql-4.1_alpha to > /etc/portage/package.mask . > > -- > Ciaran McCreesh : Gentoo Developer (I can kill you with my brain) > Mail: ciaranm at gentoo.org > Web : http://dev.gentoo.org/~ciaranm > > > > -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Installing old version of a package
Thank you Rudmer too! :D Leandro. 2005/12/3, Rudmer van Dijk <[EMAIL PROTECTED]>: > On Saturday 03 December 2005 19:04, Leandro Melo de Sales wrote: > > Recently I installed mysql using emerge mysql, but the version that > > was installed is 4.1.14, but I'd like to install the last available > > version of the 4.0 release. How can I do this? > > use '='+package+version to install the version you want: > > `emerge -va =dev-db/mysql-4.0.26` > > > Rudmer > -- > gentoo-user@gentoo.org mailing list > > -- gentoo-user@gentoo.org mailing list
[gentoo-user] Package conflicts
Hi folks, I'm trying to make a world update, but I got the following: # emerge -uD world Calculating world dependencies ...done! !!! Error: the =kde-base/kcheckpass-3.4* package conflicts with another package. !!!both can't be installed on the same system together. !!!Please use 'emerge --pretend' to determine blockers. How can I solve this? Leandro. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Installing old version of a package
Thank you Holly, I understood your explanation. I'm now installing the 4.0.25 version. Leandro. 2005/12/3, Holly Bostick <[EMAIL PROTECTED]>: > Leandro Melo de Sales schreef: > > Hi folks, > > > > Recently I installed mysql using emerge mysql, but the version that > > was installed is 4.1.14, but I'd like to install the last available > > version of the 4.0 release. How can I do this? > > > > > dev-db/mysql > Available versions: 3.23.58-r1 4.0.25-r2 ~4.0.26 4.1.14 ~4.1.15 > ~4.1.15-r1 *4.1.15-r30 ~5.0.15 ~5.0.16-r3 *5.0.16-r30 > Installed: none > Homepage:http://www.mysql.com/ > Description: A fast, multi-threaded, multi-user SQL > database server > > > So I guess you want 4.0.26? Well, that's unstable, and the fact that you > just installed 4.1.14 suggests that your ACCEPT_KEYWORDS setting in > /etc/make.conf is set to stable (assuming x86 arch). > > The best way to solve this would be by using a mixture of settings in > /etc/portage/package.mask and /etc/portage/package.keywords: > > Assuming that the directory /etc/portage exists already (create it if not): > > (as root) > > echo ">=dev-db/mysql-4.1.14" >>/etc/portage/package.mask > > to mask all versions of mysql greater than or equal to 4.1.14 > > and > > echo "dev-db/mysql ~x86" >>/etc/portage/package.keywords > > to unmask the unstable versions below the masked version (thus 4.0.26). > > or you could unmask the specific version using > > echo "=dev-dv/mysql-4.0.26 ~x86" >>/etc/portage/package.keywords > > but be warned that this will not enable you to upgrade if 4.0.26 is > revised (4.0.26-r1) or upgraded (4.0.27), as those will still be masked > by the ~arch keword, as opposed to the previous command, which unmasks > all future unstable versions below 4.1.14. > > If you use a different arch, change the "~x86" to your correct arch > (assuming that the version of mysql you want is available for that arch; > if it is not, adapt the above commands to the available versions that > you want to mask and unmask. > > Then an emerge -uav world should come up with a [UD] for mysql (the > upgrade is a downgrade), and whatever else might need to be updated on > your system; if you don't want to emerge the other upgrades, just do an > emerge -uav mysql (but that will put mysql in your world file if it was > previously installed as a dependency of something else, and you may or > may not want mysql in your world file. But that's your choice). > > Hope this helps. > Holly > -- > gentoo-user@gentoo.org mailing list > -- gentoo-user@gentoo.org mailing list
[gentoo-user] How to recover delete file on ext3 partition
I read in a faq that due to its journally feature it is not possible to recover file, even if the file is a plain text one. Is this right? If not, what do I have to do in order to recover a file that I accidentally deleted? Thank you, Leandro -- gentoo-user@gentoo.org mailing list
[gentoo-user] Re: How to recover delete file on ext3 partition
Hi guys, grep -a -B10 -A10 "SOME STRING" /dev/hda? > /tmp/recover.txt This was enough for me. Bye Leandro 2005/12/4, Leandro Melo de Sales <[EMAIL PROTECTED]>: > I read in a faq that due to its journally feature it is not possible > to recover file, even if the file is a plain text one. Is this right? > If not, what do I have to do in order to recover a file that I > accidentally deleted? > > Thank you, > > Leandro > -- gentoo-user@gentoo.org mailing list
[gentoo-user] BNEP module
Hi, I'm trying to configure my bnep0 as shown in http://www.gentoo.org/doc/en/bluetooth-guide.xml. Well, I'm doing like this: # modprobe bnep # lsmod Module Size Used by bnep 12928 2 but when I try to setup the ip address for the bnep0 I got the following error: # ifconfig bnep0 192.168.2.1 SIOCSIFADDR: No such device bnep0: unknown interface: No such device What should I have to do to make my bnep0 working? I'm newbie in bluetooth subject, I have a simple question: I have a Motorola V3 with bluetooth enabled and I want to write a simple client/server application to transfer data through a socket connection between my desktop and my V3. So how can I setup the V3 ip or Am I thinking wrong about this and I should make a different configuration in order to connect my devices through socket? Thank you, Leandro. -- gentoo-user@gentoo.org mailing list
[gentoo-user] Re: BNEP module
Yes... I executed with no problem: pand --listen --role NAP --master --autozap pand --connect 00:0A:0B:0C:0D:0E --service NAP --autozap I just replaced 00:0A:0B:0C:0D:0E to the address of my cellphone. Leandro 2005/12/9, David LIBAULT <[EMAIL PROTECTED]>: > How about the "pand --listen..." line in the howto ? Did you forget it ? > If that is not the problem, please submit your question to the bluez mailling > list. > > David. > > Le vendredi 09 Décembre 2005 15:39, Leandro Melo de Sales a écrit : > > Hi, > > > > I'm trying to configure my bnep0 as shown in > > http://www.gentoo.org/doc/en/bluetooth-guide.xml. Well, I'm doing like > > this: > > > > # modprobe bnep > > # lsmod > > Module Size Used by > > bnep 12928 2 > > > > but when I try to setup the ip address for the bnep0 I got the following > > error: > > > > # ifconfig bnep0 192.168.2.1 > > SIOCSIFADDR: No such device > > bnep0: unknown interface: No such device > > > > What should I have to do to make my bnep0 working? > > > > I'm newbie in bluetooth subject, I have a simple question: I have a > > Motorola V3 with bluetooth enabled and I want to write a simple > > client/server application to transfer data through a socket connection > > between my desktop and my V3. So how can I setup the V3 ip or Am I > > thinking wrong about this and I should make a different configuration > > in order to connect my devices through socket? > > > > Thank you, > > > > Leandro. > -- gentoo-user@gentoo.org mailing list
[gentoo-user] Gentoo and OpenLDAP
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. Thank you, Leandro. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Gentoo and OpenLDAP
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
Apache and mod_auth_ldap. It was Re: [gentoo-user] Gentoo and OpenLDAP
Hi all, very good job Raphael! Nice contribution, I could answer your reply since I was traveling. Leandro. On 3/30/06, Raphael Melo de Oliveira Bastos Sales <[EMAIL PROTECTED]> wrote: > 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 > > -- 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] Php and Mysql 5 dependency
Hi list, I have PHP 5 installed and now I want to enable a new option for this package (xsl option of /etc/portage/package.use), but when I type emerge php emerge tell me that dev-db/mysql is blocking mysql-community. It seems that emerge wants to install mysql5 (I have mysql 4.0 installed and I don't want to install the new mysql version). How can I enable xsl option without have to install mysql 5? Leandro -- gentoo-user@gentoo.org mailing list
[gentoo-user] Re: Php and Mysql 5 dependency
# emerge -vp php [blocks B ] dev-db/mysql (is blocking dev-db/mysql-community-5.0.27-r1) [ebuild N] dev-db/mysql-community-5.0.27-r1 USE="berkdb perl ssl -big-tables -cluster -debug -embedded -extraengine -latin1 -max-idx-128 -minimal (-selinux) -static" 25,261 kB [ebuild N] virtual/mysql-5.0 0 kB [ebuild U ] dev-lang/php-5.1.6-r8 [5.1.6-r6] USE="apache2 berkdb bzip2 calendar cli crypt ctype curl gd gdbm hash iconv imap kerberos ldap mhash mysql ncurses nls pcre posix postgres readline reflection sasl session spell spl sqlite ssl truetype unicode xml xmlreader xsl* zip zlib (-adabas) -apache -bcmath (-birdstep) -cdb -cgi -cjk -concurrentmodphp -curlwrappers -db2 -dbase (-dbmaker) -debug -discard-path -doc (-empress) (-empress-bcs) (-esoob) -exif -fastbuild (-fdftk) (-filepro) -firebird -flatfile -force-cgi-redirect (-frontbase) -ftp -gd-external -gmp -hardenedphp -hyperwave-api (-informix) -inifile -interbase -iodbc -ipv6 -java-external -libedit -mcve -memlimit -ming -msql -mssql -mysqli -oci8 (-oci8-instant-client) -odbc -pcntl -pdo -pdo-external -pic -qdbm -recode -sapdb -sharedext -sharedmem -simplexml -snmp -soap -sockets (-solid) (-sybase) (-sybase-ct) -sysvipc -threads -tidy -tokenizer -vm-goto -vm-switch -wddx -xmlrpc -xmlwriter -xpm -yaz" 25 kB 2007/1/25, Leandro Melo de Sales <[EMAIL PROTECTED]>: Hi list, I have PHP 5 installed and now I want to enable a new option for this package (xsl option of /etc/portage/package.use), but when I type emerge php emerge tell me that dev-db/mysql is blocking mysql-community. It seems that emerge wants to install mysql5 (I have mysql 4.0 installed and I don't want to install the new mysql version). How can I enable xsl option without have to install mysql 5? Leandro -- Leandro Melo de Sales. Computer Science MSc Candidate Pervasive Computing Lab - embedded.ufcg.edu.br Center of Electrical Engineering and Informatics at Federal University of Campina Grande - UFCG / Brazil 083 33101404 (extension 208) "O guerreiro é forte em lealdade, intensidade, determinação, iniciativa, persistência, coragem e força de vontade. O guerreiro é leve em sua calma, autoconfiança e compaixão. O guerreiro é freqüentemente chamado para tomar a frente quando outros covardemente dão um passo atrás. Guerreiros existem nos campos de batalha e na vida cotidiana." -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Network works OK internally but can't access Internet - very frustrated
If you just did emerge --sync, the problem that you have was not caused by this command. Do you have your dns configuration correct? please check you /etc/resolv.conf file. Does your DHCP server send nameserver to the client? 2007/2/3, Richard Watson <[EMAIL PROTECTED]>: Hi - After a last emerge --sync I've been having trouble accessing the internet. My network interface comes up OK. I receive an address for the DHCP server (i.e. "eth1 received address 192.168.0.7/24") and I can see and access my Intranet webpage on 192.168.0.xx and copy files to and from various machines. However if trying to access the Internet I keep getting "unknown host" when pinging sites I know will respond. My machine dual boots into XP and runs fine. I've checked the Gentoo handbook and config files and confirmed my network config files look OK (they seem to). Can anyone offer any suggestions? Thanks, Richard -- Leandro Melo de Sales. Computer Science MSc Candidate Pervasive Computing Lab - embedded.ufcg.edu.br Center of Electrical Engineering and Informatics at Federal University of Campina Grande - UFCG / Brazil 083 33101404 (extension 208) "O guerreiro é forte em lealdade, intensidade, determinação, iniciativa, persistência, coragem e força de vontade. O guerreiro é leve em sua calma, autoconfiança e compaixão. O guerreiro é freqüentemente chamado para tomar a frente quando outros covardemente dão um passo atrás. Guerreiros existem nos campos de batalha e na vida cotidiana." -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] off topic : Dolphin massacre in Japan
His arrogance is a desperation signal. He, in fact, knows and are conscient of his mistake and because of a lack of justification to give due to what he did, he act like this. I suggest to ignore such users and do what Neil said: wait for this user need to use the list for its write propose and just ignore him. In this way, he'll learn the real propose of this list. It would be more sensible if this user realize (since the first reply, from Nelson) that he made a mistake. In this way we would gain time instand of discuss something not productive. In fact, dolphin massacre is something not human, but it is also something not discussed here. Leandro 2007/2/22, Neil Bothwick <[EMAIL PROTECTED]>: On Thu, 22 Feb 2007 20:20:28 +0200, Aggelos wrote: > I really don't care if consider the above as spam or not or watever, for > this list or for any list. I am subscribed to this list so I posted it > here. What outstanding arrogance! This list is primarily a vehicle for peer support. You total disregard for the intent of the list and the wishes of other subscribers may well come back to bite you the next time you need to use the list for its true purpose. -- Neil Bothwick Keep your words soft and sweet in case you have to eat them. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] off topic : Dolphin massacre in Japan
... for its **right** propose ... 2007/2/22, Leandro Melo de Sales <[EMAIL PROTECTED]>: His arrogance is a desperation signal. He, in fact, knows and are conscient of his mistake and because of a lack of justification to give due to what he did, he act like this. I suggest to ignore such users and do what Neil said: wait for this user need to use the list for its write propose and just ignore him. In this way, he'll learn the real propose of this list. It would be more sensible if this user realize (since the first reply, from Nelson) that he made a mistake. In this way we would gain time instand of discuss something not productive. In fact, dolphin massacre is something not human, but it is also something not discussed here. Leandro 2007/2/22, Neil Bothwick <[EMAIL PROTECTED]>: > On Thu, 22 Feb 2007 20:20:28 +0200, Aggelos wrote: > > > I really don't care if consider the above as spam or not or watever, for > > this list or for any list. I am subscribed to this list so I posted it > > here. > > What outstanding arrogance! > > This list is primarily a vehicle for peer support. You total disregard > for the intent of the list and the wishes of other subscribers may well > come back to bite you the next time you need to use the list for its true > purpose. > > > -- > Neil Bothwick > > Keep your words soft and sweet in case you have to eat them. > > -- Leandro Melo de Sales. Computer Science MSc Candidate Pervasive Computing Lab - embedded.ufcg.edu.br Center of Electrical Engineering and Informatics at Federal University of Campina Grande - UFCG / Brazil 083 33101404 (extension 208) "O guerreiro é forte em lealdade, intensidade, determinação, iniciativa, persistência, coragem e força de vontade. O guerreiro é leve em sua calma, autoconfiança e compaixão. O guerreiro é freqüentemente chamado para tomar a frente quando outros covardemente dão um passo atrás. Guerreiros existem nos campos de batalha e na vida cotidiana." -- gentoo-user@gentoo.org mailing list
[gentoo-user] Python version 2.5
Hi list, I need to install python version 2.5, which in portage it is in hard testing masked. If I install it anyway, is this mean problem to my gentoo installation? Leandro -- gentoo-user@gentoo.org mailing list
[gentoo-user] emerge: "A file listed in the Manifest could not be found"
Hi, I tried to emerge the latest portage version and I got it: # emerge -uvDN portage Emerging (1 of 31) sys-apps/portage-2.1.2.7 to / !!! A file listed in the Manifest could not be found: /usr/portage/sys-apps/portage/portage-2.1.3_rc6.ebuild -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] emerge: "A file listed in the Manifest could not be found"
Good! I'm in the Linux Symposium, tomorrow in the Gentoo BoF, I will report that situation. I'm resync now... 2007/6/29, Randy Barlow <[EMAIL PROTECTED]>: Leandro Melo de Sales wrote: > I tried to emerge the latest portage version and I got it: > > # emerge -uvDN portage >>>> Emerging (1 of 31) sys-apps/portage-2.1.2.7 to / > !!! A file listed in the Manifest could not be found: > /usr/portage/sys-apps/portage/portage-2.1.3_rc6.ebuild I've had this happen before twice, and both times re-syncing fixed the problem, so try that out! -- Randy Barlow http://electronsweatshop.com But you are a chosen race, a royal priesthood, a holy nation, a people for his own possession, that you may proclaim the excellencies of him who called you out of darkness into his marvelous light. Once you were not a people, but now you are God's people; once you had not received mercy, but now you have received mercy. ~1 Peter 2:9-10 -- [EMAIL PROTECTED] mailing list -- Leandro Melo de Sales. Pervasive and Embedded Computing Laboratory http://embedded.ufcg.edu.br/ +55 083 3310-1404 (extension 208) "There are 10 types of people in this world: those who understand binary, those who don't" -- [EMAIL PROTECTED] mailing list
[gentoo-user] NIS configuration
Hi! I configured my gentoo server box to authenticate users through LDAP (nsswicth+pam_ldap). Everything are working fine and now I want to run a ypserv and as a result I want the nis clients authenticating against my server. I following the instructions in http://gentoo-wiki.com/HOWTO_Setup_NIS but the clients (gentoo and ubuntu boxes) don't find the ypserver, any clue? I was planning to make the clients authentication directly to LDAP server, but in this case I have to install pam_ldap and create a /etc/ldap.conf and put ldap bindpw into this file or in /etc/ldap.secret. Even if I protect it with 600 the use can get this file installing a windows application (the client machines have dual boot) that read ext3 partitions and read the files, finally getting the bindpw. Any comment about this? Am I thinking wrong about that? Thank you. BTW, all suggestion will be greatfully accepted. Leandro. -- Leandro Melo de Sales. Computer Science MSc Candidate Distributed System Lab - lsd.ufcg.edu.br Pervasive Computing Lab - embedded.ufcg.edu.br Universidade Federal de Campina Grande - UFCG -- gentoo-user@gentoo.org mailing list
[gentoo-user] Cups
Hi, I have my linux servers integrated with LDAP. I'm planning to setup cups in order to store printers configurations on the LDAP server and manage them. Is it a good alternative? How about printing quota, I want to limit the number of pages printed per user in each month, is it possible to do this using cups? []s Leandro. -- Leandro Melo de Sales. Computer Science MSc Candidate Distributed System Lab - lsd.ufcg.edu.br Pervasive Computing Lab - embedded.ufcg.edu.br Universidade Federal de Campina Grande - UFCG "O guerreiro é forte em lealdade, intensidade, determinação, iniciativa, persistência, coragem e força de vontade. O guerreiro é leve em sua calma, autoconfiança e compaixão. O guerreiro é freqüentemente chamado para tomar a frente quando outros covardemente dão um passo atrás. Guerreiros existem nos campos de batalha e na vida cotidiana." -- gentoo-user@gentoo.org mailing list
[gentoo-user] LDAP with no privileged login
Hi list, I'm configured a LDAP server to be used as a users database. Now, I want to setup linux box clients to auth against LDAP server. I installed ldap-pam and ldap-nss. In /etc/ldap.conf file I have to inform rootdn password. What is the best way to do this since the configuration file has to be readable to all. I think that use privileged login in this situation (even if I use /etc/ldap.secret file) is dangerous. So, should I created a LDAP user just to be used as a rootdn login? how can I create a nonprivileged login? Thank you, Leandro. -- gentoo-user@gentoo.org mailing list
[gentoo-user] pam eventually disconnect from ldap server
Hi, I configured my clients to auth against a LDAP server. Everything works fine, but sometime nss_ldap disconnect and I can't connect anymore. What it is happening? When this occurs I can't connect/auth through ssh server, after type password I got a "connection reset by remote peer" message. What should I have to do in order to login (as root) even if the nss_ldap can't connect to ldap server? Thank you in advance. []s Leandro. -- gentoo-user@gentoo.org mailing list
[gentoo-user] How to discover what is the package of a given file?
Hi list, How to discover what is the package of a given file? Should I use emerge command?Leandro
[gentoo-user] cyrus-sasl error.
Hi, I'm trying to update openldap and one of package dependency is cyrus-sasl, but when emerge compile cyrus-sasl package, it shows the following message:# emerge cyrus-saslCalculating dependencies... done! >>> Emerging (1 of 1) dev-libs/cyrus-sasl-2.1.22 to / * cyrus-sasl-2.1.22.tar.gz MD5 ;-) ... ... ..x86_64-pc-linux-gnu-gcc -shared .libs/sasldb.o .libs/sasldb_init.o .libs/plugin_common.o -Wl,--whole-archive ../sasldb/.libs/libsasldb.a -Wl,--no-whole-archive /usr/lib64/libdb- 4.2.so -lresolv -march=athlon64 -Wl,-soname -Wl,libsasldb.so.2 -o .libs/libsasldb.so.2.0.22/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.6/../../../../x86_64-pc-linux-gnu/bin/ld: ../sasldb/.libs/libsasldb.a(allockey.o): relocation R_X86_64_32S against `a local symbol' can not be used when making a shared object; recompile with -fPIC ../sasldb/.libs/libsasldb.a(allockey.o): could not read symbols: Bad valuecollect2: ld returned 1 exit statusmake[2]: *** [libsasldb.la] Error 1make[2]: Leaving directory `/var/tmp/portage/cyrus- sasl-2.1.22/work/cyrus-sasl-2.1.22/plugins'make[1]: *** [all-recursive] Error 1make[1]: Leaving directory `/var/tmp/portage/cyrus-sasl-2.1.22/work/cyrus-sasl-2.1.22'make: *** [all] Error 2!!! ERROR: dev-libs/cyrus- sasl-2.1.22 failed.Call stack: ebuild.sh, line 1546: Called dyn_compile ebuild.sh, line 937: Called src_compile cyrus-sasl-2.1.22.ebuild, line 166: Called dieAny clue/suggestion will be greatfully accepted. Thank you. Leandro
Re: [gentoo-user] How to discover what is the package of a given file?
Thank you Vikas and Justin. It works for me. Leandro 26 Oct 2006 03:44:29 +0530, Vikas Kumar <[EMAIL PROTECTED]>: On 18:58 Wed 25 Oct , Leandro Melo de Sales wrote: >Hi list, > > How to discover what is the package of a given file? Should I use emerge >command? > >Leandro if i've understood your question right then may be, # equery belongs equery comes with gentoolkit. # emerge gentoolkit -- New crypt. See /usr/news/crypt. -- gentoo-user@gentoo.org mailing list -- Leandro Melo de Sales. Computer Science MSc Candidate Distributed System Lab - lsd.ufcg.edu.br Pervasive Computing Lab - embedded.ufcg.edu.br Federal University of Campina Grande - UFCG 083 33101404 (extension 208) "O guerreiro é forte em lealdade, intensidade, determinação, iniciativa, persistência, coragem e força de vontade. O guerreiro é leve em sua calma, autoconfiança e compaixão. O guerreiro é freqüentemente chamado para tomar a frente quando outros covardemente dão um passo atrás. Guerreiros existem nos campos de batalha e na vida cotidiana." -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] cyrus-sasl error.
Please, for those one that has this same problem go to: http://bugs.gentoo.org/show_bug.cgi?id=152544 http://bugs.gentoo.org/show_bug.cgi?id=152665 Leandro. 2006/10/25, Jamie <[EMAIL PROTECTED]>: Best guess it that one of the files is currupted or has an update. Try and emerge --sync then try again. > Hi, > > I'm trying to update openldap and one of package dependency is > cyrus-sasl, > but when emerge compile cyrus-sasl package, it shows the following > message: > > # emerge cyrus-sasl > Calculating dependencies... done! > Emerging (1 of 1) dev-libs/cyrus-sasl-2.1.22 to / > * cyrus-sasl-2.1.22.tar.gz MD5 ;-) > ... > ... > ... > ... > x86_64-pc-linux-gnu-gcc -shared .libs/sasldb.o .libs/sasldb_init.o > .libs/plugin_common.o -Wl,--whole-archive ../sasldb/.libs/libsasldb.a > -Wl,--no-whole-archive /usr/lib64/libdb-4.2.so -lresolv -march=athlon64 > -Wl,-soname -Wl,libsasldb.so.2 -o .libs/libsasldb.so.2.0.22 > /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.6/../../../../x86_64-pc-linux-gnu/bin/ld: > ../sasldb/.libs/libsasldb.a(allockey.o): relocation R_X86_64_32S against > `a > local symbol' can not be used when making a shared object; recompile with > -fPIC > ../sasldb/.libs/libsasldb.a(allockey.o): could not read symbols: Bad value > collect2: ld returned 1 exit status > make[2]: *** [libsasldb.la] Error 1 > make[2]: Leaving directory `/var/tmp/portage/cyrus-sasl-2.1.22/work/cyrus- > sasl-2.1.22/plugins' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/var/tmp/portage/cyrus-sasl-2.1.22/work/cyrus- > sasl-2.1.22' > make: *** [all] Error 2 > > !!! ERROR: dev-libs/cyrus-sasl-2.1.22 failed. > Call stack: > ebuild.sh, line 1546: Called dyn_compile > ebuild.sh, line 937: Called src_compile > cyrus-sasl-2.1.22.ebuild, line 166: Called die > > > Any clue/suggestion will be greatfully accepted. Thank you. > > Leandro > -- gentoo-user@gentoo.org mailing list -- gentoo-user@gentoo.org mailing list
[gentoo-user] NSS + LDAP: My nscd daemon dies periodically
Hi my nscd daemon dies periodically and I don't know what is happening... any suggestion? (nss_ldap: failed to bind to LDAP server ldap://127.0.0.1: Can't contact LDAP server) []s Leandro. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Problems compiling cyrus-sasl
Felipe, Eu mandei uma resposta ontem comentando o seu problema. Caso ainda não tenha resolvido leia os seguintes links: Please, for those one that has this same problem go to: http://bugs.gentoo.org/show_bug.cgi?id=152544 http://bugs.gentoo.org/show_bug.cgi?id=152665 Leandro. - []sLeandro 2006/10/25, Felipe Ribeiro <[EMAIL PROTECTED]>: Have anyone had problems while compiling cyrus-sasl? I got this: /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.6/../../../../x86_64-pc-linux-gnu/bin/ld: ../sasldb/.libs/libsasldb.a(allockey.o): relocation R_X86_64_32S against `a local symbol' can not be used when making a shared object; recompile with -fPIC ../sasldb/.libs/libsasldb.a(allockey.o): could not read symbols: Bad value collect2: ld returned 1 exit status make[2]: *** [libsasldb.la] Error 1 make[2]: Leaving directory `/var/tmp/portage/dev-libs/cyrus-sasl-2.1.22/work/cyrus-sasl-2.1.22/plugins' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/dev-libs/cyrus-sasl-2.1.22/work/cyrus-sasl-2.1.22' make: *** [all] Error 2 !!! ERROR: dev-libs/cyrus-sasl-2.1.22 failed. Call stack: ebuild.sh, line 1568: Called dyn_compile ebuild.sh, line 937: Called src_compile cyrus-sasl-2.1.22.ebuild, line 166: Called die Any hints? -- gentoo-user@gentoo.org mailing list -- Leandro Melo de Sales. Computer Science MSc Candidate Distributed System Lab - lsd.ufcg.edu.br Pervasive Computing Lab - embedded.ufcg.edu.br Federal University of Campina Grande - UFCG 083 33101404 (extension 208) "O guerreiro é forte em lealdade, intensidade, determinação, iniciativa, persistência, coragem e força de vontade. O guerreiro é leve em sua calma, autoconfiança e compaixão. O guerreiro é freqüentemente chamado para tomar a frente quando outros covardemente dão um passo atrás. Guerreiros existem nos campos de batalha e na vida cotidiana." -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Problems compiling cyrus-sasl
Sorry for my answer in portuguese. It is a private message to Felipe. []s Leandro. 2006/10/26, Leandro Melo de Sales <[EMAIL PROTECTED]>: Felipe, Eu mandei uma resposta ontem comentando o seu problema. Caso ainda não tenha resolvido leia os seguintes links: Please, for those one that has this same problem go to: http://bugs.gentoo.org/show_bug.cgi?id=152544 http://bugs.gentoo.org/show_bug.cgi?id=152665 Leandro. - []sLeandro 2006/10/25, Felipe Ribeiro <[EMAIL PROTECTED]>: > Have anyone had problems while compiling cyrus-sasl? > I got this: > > /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.6/../../../../x86_64-pc-linux-gnu/bin/ld: > ../sasldb/.libs/libsasldb.a(allockey.o): relocation R_X86_64_32S > against `a local symbol' can not be used when making a shared object; > recompile with -fPIC > ../sasldb/.libs/libsasldb.a(allockey.o): could not read symbols: Bad value > collect2: ld returned 1 exit status > make[2]: *** [libsasldb.la] Error 1 > make[2]: Leaving directory > `/var/tmp/portage/dev-libs/cyrus-sasl-2.1.22/work/cyrus-sasl-2.1.22/plugins' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory > `/var/tmp/portage/dev-libs/cyrus-sasl-2.1.22/work/cyrus-sasl-2.1.22' > make: *** [all] Error 2 > > !!! ERROR: dev-libs/cyrus-sasl-2.1.22 failed. > Call stack: > ebuild.sh, line 1568: Called dyn_compile > ebuild.sh, line 937: Called src_compile > cyrus-sasl-2.1.22.ebuild, line 166: Called die > > > Any hints? > -- > gentoo-user@gentoo.org mailing list > > -- Leandro Melo de Sales. Computer Science MSc Candidate Distributed System Lab - lsd.ufcg.edu.br Pervasive Computing Lab - embedded.ufcg.edu.br Federal University of Campina Grande - UFCG 083 33101404 (extension 208) "O guerreiro é forte em lealdade, intensidade, determinação, iniciativa, persistência, coragem e força de vontade. O guerreiro é leve em sua calma, autoconfiança e compaixão. O guerreiro é freqüentemente chamado para tomar a frente quando outros covardemente dão um passo atrás. Guerreiros existem nos campos de batalha e na vida cotidiana." -- gentoo-user@gentoo.org mailing list
[gentoo-user] Re: GStreamer volume control problem!
Hi. In order to document this problem, I solve it installing media-plugins/gst-plugins-alsa package. Thanks anyway. []s Leandro 2006/10/30, Leandro Melo de Sales <[EMAIL PROTECTED]>: Hi list... I configured alsa system and it detected my sound card. Alsamixer can control the volume as well as aumix, but GStreamer (gnome) volume control say "No volume control GStreamer plugins and/or devices found.". How do I solve this? Any clue/suggestion will be greatfully accepted. Thank you, Leandro. -- gentoo-user@gentoo.org mailing list
[gentoo-user] Usb sound and ALSA
Hi list... I have an usb sound system from Gradiente company (an eletronic device factory) and I plugged it on my system. dmesg command shows this: input: Gradiente AS-M5X0 as /class/input/input3 input: USB HID v1.00 Device [Gradiente AS-M5X0] on usb-:00:1d.1-1 But when I play a mp3 media the sound is not forwarded to my usb device, instand, the sound is still played through my integrated laptop device. On windows I use it without problem. So, what do I have to do to forward the sound to my usb device? []s Leandro. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Usb sound and ALSA
Hi... The device is configured and I type cat xxx > /dev/sound/dsp1 and I got an strange sound, but this prove that the device was recognized by the kernel. I also can control volume of the second audio device through alsamixer. The question is: how can I specify (on alsa) that the default device is /dev/sound/dsp1 or something like that? I tried to do what you said on Amarok, but the "Alsa Device Configuration" section is disabled, why? []s Leandro. 2006/10/31, Richard Fish <[EMAIL PROTECTED]>: On 10/30/06, Leandro Melo de Sales <[EMAIL PROTECTED]> wrote: > Hi list... > >I have an usb sound system from Gradiente company (an eletronic > device factory) and I plugged it on my system. dmesg command shows > this: > > input: Gradiente AS-M5X0 as /class/input/input3 > input: USB HID v1.00 Device [Gradiente AS-M5X0] on usb-:00:1d.1-1 > >But when I play a mp3 media the sound is not forwarded to my usb > device, instand, the sound is still played through my integrated > laptop device. >On windows I use it without problem. So, what do I have to do to > forward the sound to my usb device? Probably windows is disabling any existing sound card or at least making the USB the "default" sound device. Unfortunately there is no equivalent with alsa currently. So assuming that you've got the alsa drivers loaded for this device (/proc/asound/cards should contain two entries), you can usually specify alsa device as "hw1,0". The exact method for doing this depends on what app you are using. For example on amarok with the xine it is under Configure Amarok... -> Engine -> ALSA Device Configuration. If you enter hw1,0 for Stereo there, then 2 channel audio should be played on the first pcm of the second sound card. You should also be able to do this with a .asoundrc file, with an entry like: pcm.default { type hw card 1 device 1 } The above is really primitive, without any dmix plugin (software mixing), so only one app could use the device at a time unless it does hardware mixing. Mostly this is just to give you an idea of where to look! ;-) -Richard -- gentoo-user@gentoo.org mailing list -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Usb sound and ALSA
Hi, After I click on Apply button the Alsa Device Configuration section become enabled, but when I specify hw1,0 in Stereo text field and play a song amarok shows the message: "Audio output unavailable; the device is busy.". /proc/asound/ # ls ASM5X0 Modem card1 cardshwdeposs seq version ICH6card0 card2 devices modules pcm timers the file ASM5X0 is a symbolic link to card2. /proc/asound/ # cat cards 0 [ICH6 ]: ICH4 - Intel ICH6 Intel ICH6 with unknown codec at 0xc8000800, irq 18 1 [Modem ]: ICH-MODEM - Intel ICH6 Modem Intel ICH6 Modem at 0x3400, irq 18 2 [ASM5X0 ]: USB-Audio - AS-M5X0 Gradiente AS-M5X0 at usb-:00:1d.1-1, full speed I also tried to specify hw2,0 but the message is the same, device is busy! :( But a good news is that if I do: mpg123 -a /dev/sound/dsp1 music.mp3 ... the file is played on my usb device perfectly!!! So, this is the proof that kernel recognize the device and I just don't know how switch alsa default device do /dev/sound/dsp1. Any clue? Thank you, Leandro. 2006/10/31, Leandro Melo de Sales <[EMAIL PROTECTED]>: Hi... The device is configured and I type cat xxx > /dev/sound/dsp1 and I got an strange sound, but this prove that the device was recognized by the kernel. I also can control volume of the second audio device through alsamixer. The question is: how can I specify (on alsa) that the default device is /dev/sound/dsp1 or something like that? I tried to do what you said on Amarok, but the "Alsa Device Configuration" section is disabled, why? []s Leandro. 2006/10/31, Richard Fish <[EMAIL PROTECTED]>: > On 10/30/06, Leandro Melo de Sales <[EMAIL PROTECTED]> wrote: > > Hi list... > > > >I have an usb sound system from Gradiente company (an eletronic > > device factory) and I plugged it on my system. dmesg command shows > > this: > > > > input: Gradiente AS-M5X0 as /class/input/input3 > > input: USB HID v1.00 Device [Gradiente AS-M5X0] on usb-:00:1d.1-1 > > > >But when I play a mp3 media the sound is not forwarded to my usb > > device, instand, the sound is still played through my integrated > > laptop device. > >On windows I use it without problem. So, what do I have to do to > > forward the sound to my usb device? > > Probably windows is disabling any existing sound card or at least > making the USB the "default" sound device. Unfortunately there is no > equivalent with alsa currently. > > So assuming that you've got the alsa drivers loaded for this device > (/proc/asound/cards should contain two entries), you can usually > specify alsa device as "hw1,0". The exact method for doing this > depends on what app you are using. For example on amarok with the > xine it is under Configure Amarok... -> Engine -> ALSA Device > Configuration. If you enter hw1,0 for Stereo there, then 2 channel > audio should be played on the first pcm of the second sound card. > > You should also be able to do this with a .asoundrc file, with an entry like: > > pcm.default { > type hw > card 1 > device 1 > } > > The above is really primitive, without any dmix plugin (software > mixing), so only one app could use the device at a time unless it does > hardware mixing. Mostly this is just to give you an idea of where to > look! ;-) > > -Richard > -- > gentoo-user@gentoo.org mailing list > > -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] (SOLVED) Usb sound and ALSA
Hi... just to document. There are two options: 1) I created ~/.asoundrc file (as suggested by Richard) but with some modification as shown next (I don't know if all this option is necessary, but the sound is perfect): - ~/.asoundrc pcm.card0 { type hw card 1 } pcm.!default { type plug slave.pcm "dmixer" } pcm.!output { type dmix ipc_key 1024 ipc_key_add_uid 1 slave { pcm "card0" period_time 0 period_size 1024 buffer_size 8192 rate 192000 } bindings { 0 0 1 1 } } pcm.!input { type dsnoop ipc_key 28889 ipc_key_add_uid 1 slave { pcm "card0" channels 2 period_time 0 period_size 1024 rate 192000 } pcm.!duplex { type asym playback.pcm "output" capture.pcm "input" } pcm.!default { type plug slave.pcm "duplex" } pcm.dsp0 { type plug slave.pcm "duplex" } ctl.mixer0 { type hw card 0 } pcm.jackplug { type plug slave { pcm "jack" } } pcm.jack { type jack playback_ports { 0 alsa_pcm:playback_1 1 alsa_pcm:playback_2 } capture_ports { 0 alsa_pcm:capture_1 1 alsa_pcm:capture_2 } } 2) change alsa configuration module to put my card1 to card0 and card0 to card1 (don't forget to restart alsa daemon): -- /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-usb-audio alias sound-slot-0 snd-usb-audio alias snd-card-1 snd-intel8x0 alias sound-slot-1 snd-intel8x0 options snd-usb-audio index=0 options snd-intel8x0 index=1 ... snd-intel8x0 is the module alias for my internal sound card and snd-usb-audio for my external usb audio device. BTW, thanks Richard. []s Leandro. -- Leandro Melo de Sales. Computer Science MSc Candidate Distributed System Lab - lsd.ufcg.edu.br Pervasive Computing Lab - embedded.ufcg.edu.br Federal University of Campina Grande - UFCG 083 33101404 (extension 208) 2006/10/31, Leandro Melo de Sales <[EMAIL PROTECTED]>: Hi, After I click on Apply button the Alsa Device Configuration section become enabled, but when I specify hw1,0 in Stereo text field and play a song amarok shows the message: "Audio output unavailable; the device is busy.". /proc/asound/ # ls ASM5X0 Modem card1 cardshwdeposs seq version ICH6card0 card2 devices modules pcm timers the file ASM5X0 is a symbolic link to card2. /proc/asound/ # cat cards 0 [ICH6 ]: ICH4 - Intel ICH6 Intel ICH6 with unknown codec at 0xc8000800, irq 18 1 [Modem ]: ICH-MODEM - Intel ICH6 Modem Intel ICH6 Modem at 0x3400, irq 18 2 [ASM5X0 ]: USB-Audio - AS-M5X0 Gradiente AS-M5X0 at usb-:00:1d.1-1, full speed I also tried to specify hw2,0 but the message is the same, device is busy! :( But a good news is that if I do: mpg123 -a /dev/sound/dsp1 music.mp3 ... the file is played on my usb device perfectly!!! So, this is the proof that kernel recognize the device and I just don't know how switch alsa default device do /dev/sound/dsp1. Any clue? Thank you, Leandro. 2006/10/31, Leandro Melo de Sales <[EMAIL PROTECTED]>: > Hi... The device is configured and I type cat xxx > /dev/sound/dsp1 > and I got an strange sound, but this prove that the device was > recognized by the kernel. I also can control volume of the second > audio device through alsamixer. The question is: how can I specify (on > alsa) that the default device is /dev/sound/dsp1 or something like > that? >I tried to do what you said on Amarok, but the "Alsa Device > Configuration" section is disabled, why? > > []s > Leandro. > > 2006/10/31, Richard Fish <[EMAIL PROTECTED]>: > > On 10/30/06, Leandro Melo de Sales <[EMAIL PROTECTED]> wrote: > > > Hi list... > > > > > >I have an usb sound system from Gradiente company (an eletronic > > > device factory) and I plugged it on my system. dmesg command shows > > > this: > > > > > > input: Gradiente AS-M5X0 as /class/input/input3 > > > input: USB HID v1.00 Device [Gradiente AS-M5X0] on usb-:00:1d.1-1 > > > > > >But when I play a mp3 media the sound is not forwarded to my usb > > > device, instand, the sound is still played through my integrated > > > laptop device. > > >On windows I use it without problem. So, what do I have to do to > > >
[gentoo-user] Cups and USB
Hi, I installed cups and my printer is recognized by the kernel (usblp.ko module), but when I try to add a new printer, cups doesn't show usb option, why? How to solve this? Thanks, Leandro. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Cups and USB
But there is no usb USE option for cups: # equery u cups [ Searching for packages matching cups... ] [ Colour Code : set unset ] [ Legend: Left column (U) - USE flags from make.conf ] [ : Right column (I) - USE flags packages was installed with ] [ Found these USE variables for net-print/cups-1.2.4 ] U I + - X : Adds support for X11 + - dbus : Enable dbus support for anything that needs it (gpsd, gnomemeeting, etc) + + jpeg : Adds JPEG image support + + nls : Adds Native Language Support (using gettext - GNU locale utilities) + + pam : Adds support PAM (Pluggable Authentication Modules) - DANGEROUS to arbitrarily flip + + php : Include support for php + + png : Adds support for libpng (PNG images) - - ppds : Adds support for automatically generated ppd (printing driver) files + + samba : Adds support for SAMBA (Windows File and Printer sharing) + + slp : Adds Service Locator Protocol support + + ssl : Adds support for Secure Socket Layer connections + + tiff : Adds support for the tiff image format ... any other clue? Leandro. 2006/10/31, Arnau Bria <[EMAIL PROTECTED]>: On Tue, 31 Oct 2006 10:00:23 -0300 Leandro Melo de Sales wrote: > Hi, > > I installed cups and my printer is recognized by the kernel > (usblp.ko module), but when I try to add a new printer, cups doesn't > show usb option, why? How to solve this? add USE usb: usb Adds USB support to applications that have optional USB support (e.g. cups) http://www.gentoo.org/dyn/use-index.xml > Thanks, > Leandro. Cheers! -- Arnau Bria http://blog.emergetux.net Wiggum: Dispara a las ruedas Lou. Lou: eee, es un tanque jefe. Wiggum: Me tienes hartito con todas tus excusas. -- gentoo-user@gentoo.org mailing list -- gentoo-user@gentoo.org mailing list
[gentoo-user] Qt installation error
Hi list, I'm trying to install QT but I got the following error: Emerging (1 of 3) x11-libs/qt-3.3.6-r4 to / * qt-x11-free-3.3.6.tar.bz2 MD5 ;-) ... [ ok ] * qt-x11-free-3.3.6.tar.bz2 RMD160 ;-) ... [ ok ] * qt-x11-free-3.3.6.tar.bz2 SHA1 ;-) ... [ ok ] * qt-x11-free-3.3.6.tar.bz2 SHA256 ;-) ... [ ok ] * qt-x11-free-3.3.6.tar.bz2 size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * checking qt-x11-free-3.3.6.tar.bz2 ;-) ... [ ok ] Unpacking source... Unpacking qt-x11-free-3.3.6.tar.bz2 to /var/tmp/portage/qt-3.3.6-r4/work * Applying qt-3.3.6-uic-fix.patch ... [ ok ] * Applying 0001-dnd_optimization.patch ... [ ok ] * Applying 0002-dnd_active_window_fix.patch ... [ ok ] * Applying 0038-dragobject-dont-prefer-unknown.patch ... [ ok ] * Applying 0044-qscrollview-windowactivate-fix.diff ... [ ok ] * Applying 0047-fix-kmenu-widget.diff ... [ ok ] * Applying 0048-qclipboard_hack_80072.patch ... [ ok ] * Applying qt-ulibc.patch ... [ ok ] * Applying qt-3.3.6-CVE-2006-4811-bis.patch ... (...) XRandR auto-detection... (-L/usr/lib64 -L/usr/lib64/mysql -I/usr/include/mysql) Could not find XRandR lib anywhere in /usr/lib64 /usr/lib64/mysql /usr/X11R6/lib64 /usr/shlib /usr/lib /lib XRandR disabled. XRender auto-detection... (-L/usr/lib64 -L/usr/lib64/mysql -I/usr/include/mysql) Found XRender lib in /usr/lib64 Could not find X11/extensions/Xrender.h anywhere in /usr/include/mysql /usr/X11R6/include /usr/include /include XRender disabled. XRender support cannot be enabled due to functionality tests! Turn on verbose messaging (-v) to ./configure to see the final report. If you believe this message is in error you may use the continue switch (-continue) to ./configure to continue. !!! ERROR: x11-libs/qt-3.3.6-r4 failed. Call stack: ebuild.sh, line 1546: Called dyn_compile ebuild.sh, line 937: Called src_compile qt-3.3.6-r4.ebuild, line 201: Called die Any clue? -- Leandro Melo de Sales. Computer Science MSc Candidate Distributed System Lab - lsd.ufcg.edu.br Pervasive Computing Lab - embedded.ufcg.edu.br Federal University of Campina Grande - UFCG / Brazil 083 33101404 (extension 208) "O guerreiro é forte em lealdade, intensidade, determinação, iniciativa, persistência, coragem e força de vontade. O guerreiro é leve em sua calma, autoconfiança e compaixão. O guerreiro é freqüentemente chamado para tomar a frente quando outros covardemente dão um passo atrás. Guerreiros existem nos campos de batalha e na vida cotidiana." -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Qt installation error
OK. I tried to reemerge the packages you suggested but I got other error: Emerging (1 of 2) x11-libs/libXrandr-1.1.1 to / * libXrandr-1.1.1.tar.bz2 MD5 ;-) ...[ ok ] * libXrandr-1.1.1.tar.bz2 RMD160 ;-) ... [ ok ] * libXrandr-1.1.1.tar.bz2 SHA1 ;-) ... [ ok ] * libXrandr-1.1.1.tar.bz2 SHA256 ;-) ... [ ok ] * libXrandr-1.1.1.tar.bz2 size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ...[ ok ] * checking libXrandr-1.1.1.tar.bz2 ;-) ... [ ok ] Unpacking source... Unpacking libXrandr-1.1.1.tar.bz2 to /var/tmp/portage/libXrandr-1.1.1/work * Running elibtoolize in: libXrandr-1.1.1 * Applying portage-1.5.10.patch ... * Applying max_cmd_len-1.5.20.patch ... * Applying sed-1.5.6.patch ... (...) checking for X... yes checking for RANDR... configure: error: Package requirements (randrproto >= 1.1 xext xextproto xrender renderproto) were not met: No package 'xrender' found Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables RANDR_CFLAGS and RANDR_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. !!! Please attach the following file when filing a report to bugs.gentoo.org: !!! /var/tmp/portage/libXrandr-1.1.1/work/libXrandr-1.1.1/config.log !!! ERROR: x11-libs/libXrandr-1.1.1 failed. Call stack: ebuild.sh, line 1546: Called dyn_compile ebuild.sh, line 937: Called src_compile ebuild.sh, line 1255: Called x-modular_src_compile x-modular.eclass, line 332: Called x-modular_src_configure x-modular.eclass, line 319: Called econf '--prefix=/usr' '--datadir=/usr/share' ebuild.sh, line 540: Called die Any new clue? Leandro 2006/10/31, Andrey <[EMAIL PROTECTED]>: > > XRandR auto-detection... (-L/usr/lib64 -L/usr/lib64/mysql > -I/usr/include/mysql) Could not find XRandR lib anywhere in /usr/lib64 > /usr/lib64/mysql /usr/X11R6/lib64 /usr/shlib /usr/lib /lib > XRandR disabled. > XRender auto-detection... (-L/usr/lib64 -L/usr/lib64/mysql > -I/usr/include/mysql) Found XRender lib in /usr/lib64 > Could not find X11/extensions/Xrender.h anywhere in > /usr/include/mysql /usr/X11R6/include /usr/include /include > XRender disabled. > XRender support cannot be enabled due to functionality tests! > Turn on verbose messaging (-v) to ./configure to see the final report. > If you believe this message is in error you may use the continue > switch (-continue) to ./configure to continue. > > !!! ERROR: x11-libs/qt-3.3.6-r4 failed. > Call stack: > ebuild.sh, line 1546: Called dyn_compile > ebuild.sh, line 937: Called src_compile > qt-3.3.6-r4.ebuild, line 201: Called die > > > Any clue? Check your link /usr/X11R6 -> ../usr Pehaps, you've fogotten copy files from /usr/X11R6/... to /usr before making link. And some libraries have lost. Try to reemerge: libXrandr libXrender. -- gentoo-user@gentoo.org mailing list -- gentoo-user@gentoo.org mailing list
[gentoo-user] firefox + macromedia flash plugin -> I can't hear the sound
Hi, I have firefox 1.5 and macromedia flash plugin, but flash animation with sound, the sound is not played, any clue? Thank you, Leandro. -- gentoo-user@gentoo.org mailing list
[gentoo-user] Nscd dies without reason
Hi, my system is configured to have a ldap based authentication. I put "bind_policy soft" on /etc/ldap.conf file, so I need nscd running, but after about 5 seconds that I start nscd, it dies. Why? I check log files but I can't see any additional information. I prefer to use "bind_policy hard", but at the boot time the system hangs. Any suggestion? Thank you, Leandro. -- gentoo-user@gentoo.org mailing list
[gentoo-user] SegFault while compiling gcc 4.1.1
Hi, I'm trying to compile GCC 4.1.1-r1 but I got the following error message: In file included from /var/tmp/portage/gcc-4.1.1-r1/work/gcc-4.1.1/gcc/gcc.c:134: ./configargs.h:2: warning: string length '801' is greater than the length '509' ISO C89 compilers are required to support /var/tmp/portage/gcc-4.1.1-r1/work/gcc-4.1.1/gcc/gcc.c:798: warning: string length '535' is greater than the length '509' ISO C89 compilers are required to support /var/tmp/portage/gcc-4.1.1-r1/work/gcc-4.1.1/gcc/gcc.c:946: warning: string length '844' is greater than the length '509' ISO C89 compilers are required to support /var/tmp/portage/gcc-4.1.1-r1/work/gcc-4.1.1/gcc/gcc.c:971: warning: string length '608' is greater than the length '509' ISO C89 compilers are required to support /var/tmp/portage/gcc-4.1.1-r1/work/gcc-4.1.1/gcc/gcc.c:1571: warning: string length '695' is greater than the length '509' ISO C89 compilers are required to support /var/tmp/portage/gcc-4.1.1-r1/work/gcc-4.1.1/gcc/gcc.c: In function 'main': /var/tmp/portage/gcc-4.1.1-r1/work/gcc-4.1.1/gcc/gcc.c:8043: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See http://bugs.gentoo.org/> for instructions. The bug is not reproducible, so it is likely a hardware or OS problem. make[2]: *** [gcc.o] Error 1 make[2]: Leaving directory `/var/tmp/portage/gcc-4.1.1-r1/work/build/gcc' make[1]: *** [stageprofile_build] Error 2 make[1]: Leaving directory `/var/tmp/portage/gcc-4.1.1-r1/work/build/gcc' make: *** [profiledbootstrap] Error 2 !!! ERROR: sys-devel/gcc-4.1.1-r1 failed. Call stack: ebuild.sh, line 1546: Called dyn_compile ebuild.sh, line 937: Called src_compile ebuild.sh, line 1255: Called toolchain_src_compile toolchain.eclass, line 24: Called gcc_src_compile toolchain.eclass, line 1536: Called gcc_do_make toolchain.eclass, line 1410: Called die !!! emake failed with profiledbootstrap !!! If you need support, post the topmost build error, and the call stack if relevant Any clue? Thank you, Leandro -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] SegFault while compiling gcc 4.1.1
Thank you, I'll read it. []s Leandro 2006/11/23, Etaoin Shrdlu <[EMAIL PROTECTED]>: On Thursday 23 November 2006 14:39, Leandro Melo de Sales wrote: > Hi, > > I'm trying to compile GCC 4.1.1-r1 but I got the following error > message: >[cut] > 'main': /var/tmp/portage/gcc-4.1.1-r1/work/gcc-4.1.1/gcc/gcc.c:8043: > internal compiler error: Segmentation fault > Please submit a full bug report, > with preprocessed source if appropriate. > See http://bugs.gentoo.org/> for instructions. > The bug is not reproducible, so it is likely a hardware or OS problem. ^ As the message says, you might have a hardware problem (usually bad RAM or CPU). With this kind of errors, before submitting any bug reports, try reemerging gcc: if it works, or breaks again but in another point with the same error, it's very likely that the problem lies in your hardware. There is a good article by Daniel Robbins which explains how to troubleshoot such errors. http://www.gentoo.org/doc/en/articles/hardware-stability-p1.xml -- gentoo-user@gentoo.org mailing list -- gentoo-user@gentoo.org mailing list
[gentoo-user] Installation of openoffice in 4 hours or more?! :s
Hi, # date Tue Dec 5 10:12:01 BRT 2006 # emerge openoffice { in other terminal } # date Tue Dec 5 15:24:01 BRT 2006 and portage continues to compile openoffice, it didn't finished yet. Is it so slow or there are something wrong? My machine is a P4 (with HyperThreading enabled), 512Mb. Thanks, Leandro. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Installation of openoffice in 4 hours or more?! :s
OK. The problem is that I typed "emerge openoffice" in a xterm. Is it possible to turn X off and continue compilation on console? Leandro 2006/12/5, Richard Fish <[EMAIL PROTECTED]>: On 12/5/06, Daniel da Veiga <[EMAIL PROTECTED]> wrote: > On 12/5/06, Leandro Melo de Sales <[EMAIL PROTECTED]> wrote: > > Hi, > > > > # date > > Tue Dec 5 10:12:01 BRT 2006 > > # emerge openoffice > > { in other terminal } > > # date > > Tue Dec 5 15:24:01 BRT 2006 > > > > and portage continues to compile openoffice, it didn't finished yet. > > Is it so slow or there are something wrong? My machine is a P4 (with > > HyperThreading enabled), 512Mb. > > > > You may expect something between 5 and 10 hours of compilation... /home/rjf > genlop -t openoffice * app-office/openoffice Mon Nov 13 01:35:33 2006 >>> app-office/openoffice-2.0.4 merge time: 2 hours, 39 minutes and 34 seconds. Fri Nov 17 05:21:32 2006 >>> app-office/openoffice-2.0.4 merge time: 2 hours, 33 minutes and 31 seconds. That's on an Athlon X2 4400+ with 2GB of RAM, with MAKEOPTS=-j2 and WANT_MP=true in the environment. (Hmm, I should time this on my Core Duo laptop also...) But yeah, on a single-core P4 with 512MB, I'd expect on the order of 5-10 hours too. You might want to shutdown memory-consuming apps (like X!) while the compile is running. -- gentoo-user@gentoo.org mailing list -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Installation of openoffice in 4 hours or more?! :s
Ok... thanks Michael and Neil, I didn't know that compiling openoffice take to many times. For next big emerges I'll do what you suggested. Leandro 2006/12/5, Michael Sullivan <[EMAIL PROTECTED]>: On Tue, 2006-12-05 at 16:46 -0300, Leandro Melo de Sales wrote: > OK. The problem is that I typed "emerge openoffice" in a xterm. Is it > possible to turn X off and continue compilation on console? > > Leandro If you can get to your non-X console (Control+Alt+F1) and from there issue /etc/init.d/xdm stop. I'm not quite sure what would heppen to the progress you've made, since it's in an xterm. You should probably do big emerges like that in a screen... -- gentoo-user@gentoo.org mailing list -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Installation of openoffice in 4 hours or more?! :s
Can you please tell me the propose of screen? Thank you, Leandro 2006/12/5, Neil Bothwick <[EMAIL PROTECTED]>: On Tue, 05 Dec 2006 22:35:55 +, b.n. wrote: > Why is using screen so recommended? I never used it, but I'd like to > know about. It's just so useful, give it a try. There are two types of people in the world, those who thing screen is the best thing since sliced bread and those who have never used it. I can't recall ever reading a comment like "I tried screen but didn't like it". -- Neil Bothwick "" " """ " "" " """ <-- random quotes -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Installation of openoffice in 4 hours or more?! :s
Good! I did it! :) Thanks! 2006/12/5, Hemmann, Volker Armin <[EMAIL PROTECTED]>: Hi, if you don't use openoffice a lot, it is not worth to compile it. Just use the binary package. It will take some seconds more to start, but once it runs, there is hardly any difference. -- gentoo-user@gentoo.org mailing list -- Leandro Melo de Sales. Computer Science MSc Candidate Pervasive Computing Lab - embedded.ufcg.edu.br Federal University of Campina Grande - UFCG / Brazil 083 33101404 (extension 208) "O guerreiro é forte em lealdade, intensidade, determinação, iniciativa, persistência, coragem e força de vontade. O guerreiro é leve em sua calma, autoconfiança e compaixão. O guerreiro é freqüentemente chamado para tomar a frente quando outros covardemente dão um passo atrás. Guerreiros existem nos campos de batalha e na vida cotidiana." -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Installation of openoffice in 4 hours or more?! :s
Good explanation Alan, thanks! :) 2006/12/6, Alan McKinnon <[EMAIL PROTECTED]>: On Wednesday 06 December 2006 00:03, Leandro Melo de Sales wrote: > Can you please tell me the propose of screen? > > Thank you, > > Leandro screen does many functions, but the most useful is probably being able to disconnect and reconnect sessions. Here's a very simple explanation: Imagine you have a session running in an xterm or on a vc. It's running bash, and the output displays on the terminal. Normally, there is no way you can log out, leave programs running in the background and come back later to find everything just how you left it. There is nohup, but what that puts the job in the background and it stays there - you can't get it back onto a terminal and have to let it run, then look inside nohup.out to see the result. We use screen extensively here, I often start a bash session on the work server, then log out and go home. From home I log back into the server, reconnect screen and my full session is there just as I left it. Behind the scenes, programs normally run attached to bash, which is attached to a terminal and that's the way it stays. With screen, programs are launched from bash, which is attached to a screen process. The magic is that you can attached that screen process to whatever terminal you like, and disconnect and reconnect them at will. alan -- gentoo-user@gentoo.org mailing list -- gentoo-user@gentoo.org mailing list
[gentoo-user] ifconfig -> SIOCSIFFLAGS: Cannot assign requested address
Hi list, # ifconfig eth0:0 192.168.1.3 SIOCSIFADDR: File exists SIOCSIFFLAGS: Cannot assign requested address My /etc/conf.d/net is correct: config_eth0=( "192.168.1.2 netmask 255.255.255.0" "192.168.1.3 netmask 255.255.255.0" "192.168.1.6 netmask 255.255.255.0" ) routes_eth0=( "default gw 192.168.1.1" ) When I start /etc/init.d/net.eth0 (which is a sym link to net.lo) everything seems to be ok, but when I type ifconfig I can see just eth0 interface. So, I tried to execute the ifconfig command listen above but I got that error. What is wrong? Thank you, Leandro
Re: [gentoo-user] ifconfig -> SIOCSIFFLAGS: Cannot assign requested address
Hi Jerry, but the fact is that eth0 (the first ip, 192.168.1.2) is up... Any other clue? Leandro 2006/12/11, Jerry McBride <[EMAIL PROTECTED]>: On Monday 11 December 2006 12:34, Leandro Melo de Sales wrote: > Hi list, > > # ifconfig eth0:0 192.168.1.3 > SIOCSIFADDR: File exists > SIOCSIFFLAGS: Cannot assign requested address > > My /etc/conf.d/net is correct: > > config_eth0=( "192.168.1.2 netmask 255.255.255.0" > "192.168.1.3 netmask 255.255.255.0" > "192.168.1.6 netmask 255.255.255.0" > ) > routes_eth0=( "default gw 192.168.1.1" ) > > When I start /etc/init.d/net.eth0 (which is a sym link to net.lo) > everything seems to be ok, but when I type ifconfig I can see just eth0 > interface. So, I tried to execute the ifconfig command listen above but I > got that error. What is wrong? > > Thank you, > > Leandro Normally this means you haven't loaded the required nic driver or have loaded the wrong one... The lspci tool is your friend, if you need help figuring out which nic driver you need. -- -- Jerry McBride -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] ifconfig -> SIOCSIFFLAGS: Cannot assign requested address
Well, I solve the problem as follows: config_eth0=( "192.168.1.2 netmask 255.255.255.0" "192.168.1.3 netmask 255.255.255.0 label eth0:1" "192.168.1.6 netmask 255.255.255.0 label eth0:2" ) ... and I think that ifconfig can assign more than one ip for a net interface. Thanks for all replies. Leandro 2006/12/11, Mike Williams <[EMAIL PROTECTED]>: On Monday 11 December 2006 17:34, Leandro Melo de Sales wrote: > # ifconfig eth0:0 192.168.1.3 > SIOCSIFADDR: File exists > SIOCSIFFLAGS: Cannot assign requested address > > My /etc/conf.d/net is correct: > > config_eth0=( "192.168.1.2 netmask 255.255.255.0" > "192.168.1.3 netmask 255.255.255.0" > "192.168.1.6 netmask 255.255.255.0" > ) > routes_eth0=( "default gw 192.168.1.1" ) > > When I start /etc/init.d/net.eth0 (which is a sym link to net.lo) > everything seems to be ok, but when I type ifconfig I can see just eth0 > interface. So, I tried to execute the ifconfig command listen above but I > got that error. What is wrong? You executed the ifconfig command above. # ip addr list dev eth0 ifconfig can't assign multiple addresses to one interface, but iproute2 can. -- Mike Williams -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Static ip address
Era o que eu ia te dizer agora! :p Eu tive esse mesmo problema. Se liga, é tu que outro dia encontrei aqui na lista e que faz computação na UFCG? 2006/12/13, Felipe Ribeiro <[EMAIL PROTECTED]>: On 12/13/06, Uwe Thiem <[EMAIL PROTECTED]> wrote: > On 13 December 2006 17:38, Felipe Ribeiro wrote: > > > i tried this, but still doesn't work > > > > modules=("ifconfig") > > Why do you insist on ifconfig? /etc/conf.d/net.example clearly indicates > that "iproute2" is the default - for good reason. > > > config_eth0=("192.168.254.2") > > Try: > > config_eth0=( "192.168.254.2/24" ) > > "/24" tells the system to use the first 24 bits of the IP address as the > network part and the remaining 8 bits as the host part. Simply a shorter > notation than the netmask 255.255.255.0. > > > routes_eth0=("default via 192.168.254.254") > > dns_servers_eth0=("192.168.254.254") > > Uwe > > -- > Mark Twain: I rather decline two drinks than a German adjective. > http://www.SysEx.com.na > -- > gentoo-user@gentoo.org mailing list > > With iproute2 it worked! Thanks everybody! [ ]s -- Felipe Ribeiro [EMAIL PROTECTED] 83 9979-3161 -- gentoo-user@gentoo.org mailing list -- Leandro Melo de Sales. Computer Science MSc Candidate Pervasive Computing Lab - embedded.ufcg.edu.br Federal University of Campina Grande - UFCG / Brazil 083 33101404 (extension 208)
[gentoo-user] Instalation AMD64 with SCSI
Hi folks, After download gentoo-universal for AMD64, what is the right steps should I need to do to install gentoo on a Opteron AMD64 with adaptec SCSI controler? Thanks Leandro
[gentoo-user] Re: Instalation AMD64 with SCSI
And... what about grub configuration, what is the additional parameters? Leandro. 2006/5/20, Leandro Melo de Sales <[EMAIL PROTECTED]>: Hi folks, After download gentoo-universal for AMD64, what is the right steps should I need to do to install gentoo on a Opteron AMD64 with adaptec SCSI controler? Thanks Leandro -- Leandro Melo de Sales.Computer Science StudentLaboratório de Sistemas Distribuídos - www.lsd.ufcg.edu.brLaboratório de Sistemas Embarcados e Computação Pervasiva - www.embeddedacademy.orgUniversidade Federal de Campina Grande - UFCGCampina Grande - PB - Brasil
[gentoo-user] Re: Instalation AMD64 with SCSI
Hi... After configure the grub.conf and restart the system shown the following message: Block device /dev/sdb2 is not a valid root device... the root block device is unspecified or not detected. What I'm doing wrong? Leandro 2006/5/20, Leandro Melo de Sales <[EMAIL PROTECTED]>: And... what about grub configuration, what is the additional parameters? Leandro. 2006/5/20, Leandro Melo de Sales <[EMAIL PROTECTED]>: > > > Hi folks, > > After download gentoo-universal for AMD64, what is the right steps should I need to do to install gentoo on a Opteron AMD64 with adaptec SCSI controler? > > Thanks > > > Leandro > > -- 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 -- 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] emerge --sync
Hi folks, Due to firewall configuration I can't make a emerge --sync using rsync, is it possible to do it using ftp or http? Thanks, Leandro -- gentoo-user@gentoo.org mailing list
[gentoo-user] Installation AMD64 with SCSI
And... what about grub configuration, what is the additional parameters? Leandro. 2006/5/20, Leandro Melo de Sales <[EMAIL PROTECTED]>: Hi folks, After download gentoo-universal for AMD64, what is the right steps should I need to do to install gentoo on a Opteron AMD64 with adaptec SCSI controler? Thanks Leandro -- gentoo-user@gentoo.org mailing list
[gentoo-user] Installation AMD64 with SCSI
Hi folks, After download gentoo-universal for AMD64, what is the right steps should I need to do to install gentoo on a Opteron AMD64 with adaptec SCSI controler? Thanks Leandro -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Installation AMD64 with SCSI
Ok... now I'm stuck here: ramdisk compressed image found at block ufs: was compiled with read-only support, can't be mounted as read-write udf-fs: no particition found (1) xfs: bad magic number xfs: sb validate failed kernel panic - not synching: vfs: unable to mount root fs on unknown block (8,18) Thank should I need to to? # lspci 00:06.0 PCI bridge: Advanced Micro Devices [AMD] AMD-8111 PCI (rev 07) 00:07.0 ISA bridge: Advanced Micro Devices [AMD] AMD-8111 LPC (rev 05) 00:07.1 IDE interface: Advanced Micro Devices [AMD] AMD-8111 IDE (rev 03) 00:07.2 SMBus: Advanced Micro Devices [AMD] AMD-8111 SMBus 2.0 (rev 02) 00:07.3 Bridge: Advanced Micro Devices [AMD] AMD-8111 ACPI (rev 05) 00:0a.0 PCI bridge: Advanced Micro Devices [AMD] AMD-8131 PCI-X Bridge (rev 12) 00:0a.1 PIC: Advanced Micro Devices [AMD] AMD-8131 PCI-X IOAPIC (rev 01) 00:0b.0 PCI bridge: Advanced Micro Devices [AMD] AMD-8131 PCI-X Bridge (rev 12) 00:0b.1 PIC: Advanced Micro Devices [AMD] AMD-8131 PCI-X IOAPIC (rev 01) 00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration 00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map 00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller 00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control 00:19.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration 00:19.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map 00:19.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller 00:19.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control 01:03.0 RAID bus controller: Adaptec AAC-RAID (rev 01) 02:09.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5704 Gigabit Ethernet (rev 03) 02:09.1 Ethernet controller: Broadcom Corporation NetXtreme BCM5704 Gigabit Ethernet (rev 03) 03:00.0 USB Controller: Advanced Micro Devices [AMD] AMD-8111 USB (rev 0b) 03:00.1 USB Controller: Advanced Micro Devices [AMD] AMD-8111 USB (rev 0b) 03:05.0 Mass storage controller: Silicon Image, Inc. SiI 3114 [SATALink/SATARaid] Serial ATA Controller (rev 02) 03:06.0 VGA compatible controller: ATI Technologies Inc Rage XL (rev 27) 03:08.0 Ethernet controller: Intel Corporation 82557/8/9 [Ethernet Pro 100] (rev 10) Grub config: title=Gentoo Linux 2.6.15 root (hd0,1) kernel /boot/kernel-2.6.15.img root=/dev/sdb2 ramdisk=8192 real_root=/dev/sdb2 udev noapic acpi=off initrd /boot/initrd-2.6.15 I made initrd and put --preload=sd_mod --with= Thank you, Leandro. 2006/5/20, Hemmann, Volker Armin <[EMAIL PROTECTED]>: On Sunday 21 May 2006 00:56, Leandro Melo de Sales wrote: > Hi folks, > > After download gentoo-universal for AMD64, what is the right steps > should I need to do to install gentoo on a Opteron AMD64 with adaptec > SCSI controler? do a normal installation. when building the kernel, build scsi support, scsi harddisk support and the aic7xxx or whichever adaptec driver is the correct one for you, into the kernel. your grub.conf line should look like this: title=2.6 root (hd0,0) kernel (hd0,0)/boot/vmlinuz root=/dev/sda3 nmi_watchdog =1 (or sda2 or 5 or whereever root is) (because make install not only copies the files to /boot, it creates a vmlinuz symlink to the just installed kernel. And a vmlinuz.old symlink to the previous used one. Very comfortable.) -- 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
Re: [gentoo-user] Installation AMD64 with SCSI
Hi Ryan, The / partition is ext3. The ufs message is just a warning. I don't need UFS support. Any other clue? Leandro. 2006/5/21, Ryan Tandy <[EMAIL PROTECTED]>: Leandro Melo de Sales wrote: > ramdisk compressed image found at block > ufs: was compiled with read-only support, can't be mounted as read-write > udf-fs: no particition found (1) > xfs: bad magic number > xfs: sb validate failed > kernel panic - not synching: vfs: unable to mount root fs on unknown > block (8,18) What filesystem is your / partition? Do you have support for it *built in* to your kernel? It looks like it found a valid UFS partition, but failed because it couldn't mount it RW... try making UFS RWable and see if it helps. -- 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
Re: [gentoo-user] Installation AMD64 with SCSI
Hi Hemmann, well, I don't have a good reason to use initrd, but this is an attempt to try putting gentoo running on my server. I'll kick out ufs but I don't think that this is the problem. Yes, before try to use initrd I put everthing I need *built in* but didn't work. Any other clue? Thanks, Leandro. 2006/5/21, Hemmann, Volker Armin <[EMAIL PROTECTED]>: On Sunday 21 May 2006 04:31, Leandro Melo de Sales wrote: > Ok... now I'm stuck here: > > ramdisk compressed image found at block > ufs: was compiled with read-only support, can't be mounted as read-write > udf-fs: no particition found (1) > xfs: bad magic number > xfs: sb validate failed > kernel panic - not synching: vfs: unable to mount root fs on unknown > block (8,18) > is there any GOOD reason for using an initrd? Really? I can't imagine any. Second, what is this ufs stuff? This is linux. Kick out ufs, make the partitions linux, with ext3 or reiserfs or xfs or jfs. Make a udf, iso9660 and fat module, and don't build the other fs (except sysfs,proc etc). Build everything needed to boot INTO the kernel. Again, what are the advantages of a initrd? Except that it is another instance in boot that costs time and may be introduce a cause of failure? -- 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
Re: [gentoo-user] Installation AMD64 with SCSI
Hi Hemmann, thanks to answer. I re-check /etc/fstab and everything seems to be ok. Yes, I have ext2/3 in the kernel. I think that problem stay in SCSI support, is there something that I need to check? About pc-partition support, what you really want to say about it? Thank you once again, Leandro. 2006/5/21, Hemmann, Volker Armin <[EMAIL PROTECTED]>: On Sunday 21 May 2006 19:01, Leandro Melo de Sales wrote: > Hi Hemmann, > >well, I don't have a good reason to use initrd, but this is an > attempt to try putting gentoo running on my server. I'll kick out ufs > but I don't think that this is the problem. > Yes, before try to use initrd I put everthing I need *built in* but > didn't work. Any other clue? your fstab is correct? you HAVE ext2/3 in your kernel? you did not accidentally remove pc-partition support? -- 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
Re: [gentoo-user] Installation AMD64 with SCSI
Ok.. I put it. And yes, scsi drivers is in the kernel. Any other clue? []s Leandro. 2006/5/21, Hemmann, Volker Armin <[EMAIL PROTECTED]>: On Sunday 21 May 2006 20:19, Leandro Melo de Sales wrote: > Hi Hemmann, > > thanks to answer. I re-check /etc/fstab and everything seems to be > ok. Yes, I have ext2/3 in the kernel. I think that problem stay in > SCSI support, is there something that I need to check? About > pc-partition support, what you really want to say about it? > > Thank you once again, I mean this: │ │[*] PC BIOS (MSDOS partition tables) support (NEW) under Advanced Partition support. btw, scsi harddisk support is compiled into the kernel? -- 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
Re: [gentoo-user] Installation AMD64 with SCSI
Yes... for both. 2006/5/21, Hemmann, Volker Armin <[EMAIL PROTECTED]>: On Sunday 21 May 2006 21:39, Leandro Melo de Sales wrote: > Ok.. I put it. And yes, scsi drivers is in the kernel. Any other clue? with drivers you mean the drivers for the card and the scsi disk driver? -- 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
Re: [gentoo-user] Installation AMD64 with SCSI
Exactly... AACRAID one. 2006/5/21, Hemmann, Volker Armin <[EMAIL PROTECTED]>: On Sunday 21 May 2006 22:20, Leandro Melo de Sales wrote: > Yes... for both. which driver? the aacraid one? -- 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
Re: [gentoo-user] Installation AMD64 with SCSI
Yes.. when I boot using livecd I can mount the partitions correct. I really don't know what is happened... :( []s Leandro 2006/5/21, Hemmann, Volker Armin <[EMAIL PROTECTED]>: On Sunday 21 May 2006 23:01, Leandro Melo de Sales wrote: > Exactly... AACRAID one. hm, and the drive is correctly identified by the bios? You can use it, except when booting the new kernel? when you boot a livecd, can you mount the partitions? -- 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
Re: [gentoo-user] Installation AMD64 with SCSI
Well, I have /dev/sda1 as my / partition. So, I setup my grub.conf like this: title=Gentoo Linux 2.6.16 root (hd0,0) kernel /boot/kernel-2.6.16.img root=/dev/sda1 udev noapic acpi=off and my /etc/fstab looks like this: /dev/sda1 / ext3 noatime 0 1 /dev/sdb1 none swap sw 0 0 /dev/cdroms/cdrom0 /mnt/cdromiso9660 noauto,ro 0 0 /dev/fd0/mnt/floppy autonoauto 0 0 I don't know what is wrong... Any tip? Thanks Leandro. 2006/5/21, Hemmann, Volker Armin <[EMAIL PROTECTED]>: On Sunday 21 May 2006 23:50, Leandro Melo de Sales wrote: > Yes.. when I boot using livecd I can mount the partitions correct. I > really don't know what is happened... :( and the livecd uses tha aacraid driver too? is the grub entry really correct? maybe it looks after the wrong harddrive? (I had this problem some weeks ago. hda, sda. When booted, hda was drive 0 for grub, when booting, sda was drive 0 for grub. Took me some time to find the cause of my wrongly booting system). -- 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] SMP
Hi, I installed gentoo on a AMD64 Opteron dual. When I use livecd the kernel detects 2 cpu's, but when I boot using the installed system (I use genkernel), the system detects just 1 cpu. What should I need to do? Leandro -- gentoo-user@gentoo.org mailing list
[gentoo-user] Portage + Package Version
Hi, I want to install an previous version of a package. I need to mask it at /etc/portage/package.mask, but how can I know the available gentoo packages in order to mask the right one? Thanks Leandro -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Portage + Package Version
Ok. The package in question is mysql. I what to install version 3, but I masked the oldest 4.0 and emerge search returns mysql version 5. How can I install version 3? Thanks, Leandro 2006/5/22, Gian Domeni Calgeer <[EMAIL PROTECTED]>: Am Montag 22 Mai 2006 20.53 schrieb Leandro Melo de Sales: > Hi, > > I want to install an previous version of a package. I need to mask > it at /etc/portage/package.mask, but how can I know the available > gentoo packages in order to mask the right one? > > Thanks > Leandro The simplest method is to have a look at http://packages.gentoo.org/ . Gian -- gentoo-user@gentoo.org mailing list -- gentoo-user@gentoo.org mailing list
[gentoo-user] Gentoo and SCSI + RAID
Hi list, I'm tired with my problem and I hope someone can help... the problem is: I have my / partition on /dev/sda1, including /boot. But 2 days ago when I did the gentoo instalation I put it on a wrong disk. / partition must be /dev/sdb2, that is connected to a SCSI controler different than /dev/sda, that is connected in another one. Well, when I had / on /dev/sda1 I setup lilo.conf and everything works fine: image=/boot/kernel-genkernel-x86_64-2.6.16-gentoo-r7 label = Gentoo read-only # read-only for checking root=/dev/ram0 append="doscsi init=/linuxrc ramdisk=8192 real_root=/dev/sda1 udev" initrd=/boot/initramfs-genkernel-x86_64-2.6.16-gentoo-r7 But as I said (due to my company rules) I have to put / partition on /dev/sdb2. So, I boot from gentoo livecd and copy the entire /dev/sda1 data to /dev/sdb2. After this I change the lilo.conf as follows: image=/boot/kernel-genkernel-x86_64-2.6.16-gentoo-r7 label = Gentoo read-only # read-only for checking root=/dev/ram0 append="doscsi init=/linuxrc ramdisk=8192 real_root=/dev/sdb2 udev" initrd=/boot/initramfs-genkernel-x86_64-2.6.16-gentoo-r7 But, when I boot the computer I got the following message: Mounting root... mkdir: Cannot create directory '/newroot/tmp':Read-only file system mkdir: //newroot/dev/console: No such file or directory mknod: //newroot/dev/tty1: No such file or directory Booting (initramfs).. chroot: cannot execute /bin/sh: No such file or directory Kernel panic - not syncing: Attempted to kill init! I put Adaptec AARAID module *build in* in the kernel, without it the /dev/sdb2 is not recognized. I generated the kernel using genkernel --menuconfig all. Any clue? Thank you very much. Leandro. -- gentoo-user@gentoo.org mailing list
[gentoo-user] Re: Gentoo and SCSI + RAID
Just to complete information about the previous e-mail that I sent to the list... livecd ~ # lspci 00:06.0 PCI bridge: Advanced Micro Devices [AMD] AMD-8111 PCI (rev 07) 00:07.0 ISA bridge: Advanced Micro Devices [AMD] AMD-8111 LPC (rev 05) 00:07.1 IDE interface: Advanced Micro Devices [AMD] AMD-8111 IDE (rev 03) 00:07.2 SMBus: Advanced Micro Devices [AMD] AMD-8111 SMBus 2.0 (rev 02) 00:07.3 Bridge: Advanced Micro Devices [AMD] AMD-8111 ACPI (rev 05) 00:0a.0 PCI bridge: Advanced Micro Devices [AMD] AMD-8131 PCI-X Bridge (rev 12) 00:0a.1 PIC: Advanced Micro Devices [AMD] AMD-8131 PCI-X IOAPIC (rev 01) 00:0b.0 PCI bridge: Advanced Micro Devices [AMD] AMD-8131 PCI-X Bridge (rev 12) 00:0b.1 PIC: Advanced Micro Devices [AMD] AMD-8131 PCI-X IOAPIC (rev 01) 00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration 00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map 00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller 00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control 00:19.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration 00:19.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map 00:19.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller 00:19.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control 01:03.0 RAID bus controller: Adaptec AAC-RAID (rev 01) 02:09.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5704 Gigabit Ethernet (rev 03) 02:09.1 Ethernet controller: Broadcom Corporation NetXtreme BCM5704 Gigabit Ethernet (rev 03) 03:05.0 Mass storage controller: Silicon Image, Inc. SiI 3114 [SATALink/SATARaid] Serial ATA Controller (rev 02) 03:06.0 VGA compatible controller: ATI Technologies Inc Rage XL (rev 27) 03:08.0 Ethernet controller: Intel Corporation 82557/8/9 [Ethernet Pro 100] (rev 10) 2006/5/24, Leandro Melo de Sales <[EMAIL PROTECTED]>: Hi list, I'm tired with my problem and I hope someone can help... the problem is: I have my / partition on /dev/sda1, including /boot. But 2 days ago when I did the gentoo instalation I put it on a wrong disk. / partition must be /dev/sdb2, that is connected to a SCSI controler different than /dev/sda, that is connected in another one. Well, when I had / on /dev/sda1 I setup lilo.conf and everything works fine: image=/boot/kernel-genkernel-x86_64-2.6.16-gentoo-r7 label = Gentoo read-only # read-only for checking root=/dev/ram0 append="doscsi init=/linuxrc ramdisk=8192 real_root=/dev/sda1 udev" initrd=/boot/initramfs-genkernel-x86_64-2.6.16-gentoo-r7 But as I said (due to my company rules) I have to put / partition on /dev/sdb2. So, I boot from gentoo livecd and copy the entire /dev/sda1 data to /dev/sdb2. After this I change the lilo.conf as follows: image=/boot/kernel-genkernel-x86_64-2.6.16-gentoo-r7 label = Gentoo read-only # read-only for checking root=/dev/ram0 append="doscsi init=/linuxrc ramdisk=8192 real_root=/dev/sdb2 udev" initrd=/boot/initramfs-genkernel-x86_64-2.6.16-gentoo-r7 But, when I boot the computer I got the following message: >>Mounting root... mkdir: Cannot create directory '/newroot/tmp':Read-only file system mkdir: //newroot/dev/console: No such file or directory mknod: //newroot/dev/tty1: No such file or directory Booting (initramfs).. chroot: cannot execute /bin/sh: No such file or directory Kernel panic - not syncing: Attempted to kill init! I put Adaptec AARAID module *build in* in the kernel, without it the /dev/sdb2 is not recognized. I generated the kernel using genkernel --menuconfig all. Any clue? Thank you very much. Leandro. -- 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] udev rules and boot + SCSI disks
Hi... I made a gentoo installation by reading gentoo installation guide. When I boot from livecd the configuration of my disks is as follows: BUS=scsi /dev/sda -> SYSFS{model}=="SAMSUNG SP..." BUS=scsi /dev/sdb -> SYSFS{model}=="SysOp " BUS=scsi /dev/sdc -> SYSFS{model}=="Dados " I got this information through udevinfo shell command. /dev/sdb has BIOS boot priority, so I installed grub on it. But when I boot the system with the kernel that I compiled (yes, I put all modules/drivers required for my scsi controllers and sata on it), the udev recognize the disks in a different order, such as: BUS=scsi /dev/sda -> SYSFS{model}=="SysOp " BUS=scsi /dev/sdb -> SYSFS{model}=="Dados " BUS=scsi /dev/sdc -> SYSFS{model}=="SAMSUNG SP123245" so, when gentoo activate udev the system shows a message that the boot device was not specified or not recognized. I go to shell and type dmesg, the disks is recognized but in such order that I said, not as the same as livecd. I started up the system with livecd again, than I created the file /etc/udev/rules.d/10-local.rules with the following rules: BUS=="scsi", SYSFS{model}=="SAMSUNG SP123245", NAME="/dev/sda" BUS=="scsi", SYSFS{model}=="SysOp ", NAME="/dev/sdb" BUS=="scsi", SYSFS{model}=="Dados ", NAME="/dev/sdc" and finally I typed: # udevstartup # exit # umount /mnt/gentoo/dev/ /mnt/gentoo/proc /mnt/gentoo # reboot The system continue showing me the same message, after activate udev, "the boot device was not find or not recognized". So, what I'm doing wrong? All pointers/suggestion are accepted. When I installed grub on /dev/sdb when I was on livecd everything went fine. Thank you, Leandro. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] udev rules and boot + SCSI disks
Richard, when I change any rules, should I have to execute a command in order to update the udev rules? Thank you, Leandro. 2006/5/30, Richard Fish <[EMAIL PROTECTED]>: On 5/29/06, Leandro Melo de Sales <[EMAIL PROTECTED]> wrote: > BUS=="scsi", SYSFS{model}=="SAMSUNG SP123245", NAME="/dev/sda" > BUS=="scsi", SYSFS{model}=="SysOp ", NAME="/dev/sdb" > BUS=="scsi", SYSFS{model}=="Dados ", NAME="/dev/sdc" 1. You probably need the ":=" syntax to prevent later rules from over-riding your settings. For example, in 50-udev.rules, I see: 50-udev.rules:KERNEL=="sd*",NAME="%k", GROUP="disk" 2. You should not have the "/dev/" part of NAME. 3. You probably also need to handle the partitions with the %n syntax So those rules should be more like: BUS=="scsi", KERNEL=="sd*", SYSFS{model}=="SAMSUNG SP123245", NAME:="sda%n" BUS=="scsi", KERNEL=="sd*", SYSFS{model}=="SysOp ", NAME:="sdb%n" BUS=="scsi", KERNEL=="sd*", SYSFS{model}=="Dados ", NAME:="sdc%n" You might also consider using LVM on these disks, so you need not care about sdX, or mounting them by fileystem label. -Richard -- gentoo-user@gentoo.org mailing list -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] udev rules and boot + SCSI disks
Richard, You said that one rule can override other, but if you read udev manual ( http://www.reactivated.net/writing_udev_rules.html ), you'll realize that what you said I think is incorrect. "Files in /etc/udev/rules.d/ are parsed in lexical order. udev will stop processing rules as soon as it finds a matching rule in a file for the new item of hardware that has been detected. It is important that your own rules get processed before the udev defaults, otherwise your own naming schemes will not take effect! I suggest that you keep your own rules in a file at /etc/udev/rules.d/10-local.rules (this doesn't exist by default - create it). As 10 comes before 50, you know that your rules will be looked at first. It is important that the filenames of your rule files end with the .rules suffix, otherwise they will not be used." Let me know if I am wrong too? :-) Leandro. 2006/5/30, Richard Fish <[EMAIL PROTECTED]>: On 5/29/06, Leandro Melo de Sales <[EMAIL PROTECTED]> wrote: > BUS=="scsi", SYSFS{model}=="SAMSUNG SP123245", NAME="/dev/sda" > BUS=="scsi", SYSFS{model}=="SysOp ", NAME="/dev/sdb" > BUS=="scsi", SYSFS{model}=="Dados ", NAME="/dev/sdc" 1. You probably need the ":=" syntax to prevent later rules from over-riding your settings. For example, in 50-udev.rules, I see: 50-udev.rules:KERNEL=="sd*",NAME="%k", GROUP="disk" 2. You should not have the "/dev/" part of NAME. 3. You probably also need to handle the partitions with the %n syntax So those rules should be more like: BUS=="scsi", KERNEL=="sd*", SYSFS{model}=="SAMSUNG SP123245", NAME:="sda%n" BUS=="scsi", KERNEL=="sd*", SYSFS{model}=="SysOp ", NAME:="sdb%n" BUS=="scsi", KERNEL=="sd*", SYSFS{model}=="Dados ", NAME:="sdc%n" You might also consider using LVM on these disks, so you need not care about sdX, or mounting them by fileystem label. -Richard -- 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] /etc/login.defs
I updated some programs and after this, everytime I go to a terminal, type my username I got the following messages: configuration error - unknown item 'FAILLOG_ENAB' (notify administrator) configuration error - unknown item 'LASTLOG_ENAB' (notify administrator) configuration error - unknown item 'MOTD_FILE' (notify administrator) configuration error - unknown item 'FTMP_FILE' (notify administrator) configuration error - unknown item 'ENV_ROOTPATH' (notify administrator) configuration error - unknown item 'PASS_MIN_LEN' (notify administrator) configuration error - unknown item 'CHFN_AUTH' (notify administrator How can I solve this? Leandro. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] /etc/login.defs
Thank u Christian! 2006/5/31, Christian Limberg <[EMAIL PROTECTED]>: Leandro Melo de Sales schrieb: > I updated some programs and after this, everytime I go to a terminal, > type my username I got the following messages: > > configuration error - unknown item 'FAILLOG_ENAB' (notify administrator) > configuration error - unknown item 'LASTLOG_ENAB' (notify administrator) > configuration error - unknown item 'MOTD_FILE' (notify administrator) > configuration error - unknown item 'FTMP_FILE' (notify administrator) > configuration error - unknown item 'ENV_ROOTPATH' (notify administrator) > configuration error - unknown item 'PASS_MIN_LEN' (notify administrator) > configuration error - unknown item 'CHFN_AUTH' (notify administrator > > How can I solve this? > > Leandro. As far a I know by running "etc-update". Some configs concerning the login have changed a few weeks ago. Christian -- 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 "Sometimes people fall in love, but a little bit of them really love or find a truth love. Or sometimes they find it but for some reason they let love pass without live it intensely. This is the free-well." -- gentoo-user@gentoo.org mailing list
[gentoo-user] Domainname configuration
Hi, I set DNSDOMAIN variable to my domain in /etc/conf.d/domainname file, but see it: embedded etc # domainname (none) Am I doing something wrong? Or missing something? -- 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 "Sometimes people fall in love, but a little bit of them really love or find a truth love. Or sometimes they find it but for some reason they let love pass without live it intensely. This is the free-well." -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Domainname configuration
embedded ~ # /etc/init.d/domainname status * Caching service dependencies ... [ ok ] * status: started embedded ~ # domainname (none) 2006/5/31, Teresa and Dale <[EMAIL PROTECTED]>: Leandro Melo de Sales wrote: > Hi, > > I set DNSDOMAIN variable to my domain in /etc/conf.d/domainname > file, but see it: > > embedded etc # domainname > (none) > > Am I doing something wrong? Or missing something? > Check this: > /etc/init.d/domainname status Make sure it is running it. Dale :-) :-) -- 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 "Sometimes people fall in love, but a little bit of them really love or find a truth love. Or sometimes they find it but for some reason they let love pass without live it intensely. This is the free-well." -- gentoo-user@gentoo.org mailing list
[gentoo-user] Log management
Hi, I'd like to know a good well-used tool to manage the system logs, such as /var/log/* (such as apache, messages, mail, deamons, ssh, ...), /var/run/utmp, /var/log/wtmp and so on... Thank you, Leandro -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Domainname configuration
Yes... thank you. The content of my resolv.conf is similar to yours. []s, Leandro 2006/5/31, Nicolas MASSÉ <[EMAIL PROTECTED]>: On Wednesday 31 May 2006 22:13, Leandro Melo de Sales wrote: > embedded ~ # /etc/init.d/domainname status > * Caching service dependencies ... [ > ok ] * status: started > embedded ~ # domainname > (none) > The problem is maybe in your /etc/resolv.conf Can you show us its content ? $ cat /etc/resolv.conf domain nmasse.homeip.net nameserver 192.168.3.1 $ dnsdomainname nmasse.homeip.net Does this help you ? -- Nicolas MASSÉ Pour récupérer ma clef GPG: gpg --keyserver wwwkeys.eu.pgp.net --recv-keys 0x2A18C433 Key fingerprint: 6621 FC23 5DC7 54BA B952 316A 50B1 BC3F 2A18 C433 -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Domainname configuration
Hi Ryan, thank you! You're right! 2006/5/31, Ryan Tandy <[EMAIL PROTECTED]>: Leandro Melo de Sales wrote: > Hi, > > I set DNSDOMAIN variable to my domain in /etc/conf.d/domainname > file, but see it: > > embedded etc # domainname > (none) > > Am I doing something wrong? Or missing something? > The command you're looking for is `dnsdomainname`. `domainname` looks up your NIS/YP domain name. Also, the first listed alias for your hostname in /etc/hosts must include your FQDN. For example: 192.168.0.2 foo.bar.com foo -- 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 "Sometimes people fall in love, but a little bit of them really love or find a truth love. Or sometimes they find it but for some reason they let love pass without live it intensely. This is the free-well." -- gentoo-user@gentoo.org mailing list
[gentoo-user] SSH connection reset by peer
How can I control the idle time? I don't want ssh disconnection even if the user is idle. Read from remote host x.y.w.z: Connection reset by peer Thank u, Leandro -- gentoo-user@gentoo.org mailing list
[gentoo-user] Libwww
Hi, I'm trying to install Libwww but I got erros, please, see: /bin/sh ../../libtool --mode=link x86_64-pc-linux-gnu-gcc -march=athlon64 -O2 -pipe -Wall -o head head.o ../src/libwwwinit.la ../src/libwwwapp.la ../../Library/src/libwwwxml.la ../../modules/expat/xmlparse/libxmlparse.la ../../modules/expat/xmltok/libxmltok.la ../src/libwwwhtml.la ../src/libwwwtelnet.la ../src/libwwwnews.la../src/libwwwhttp.la ../src/libwwwmime.la ../src/libwwwgopher.la ../src/libwwwftp.la ../src/libwwwdir.la ../src/libwwwcache.la ../src/libwwwstream.la ../src/libwwwfile.la ../src/libwwwmux.la ../src/libwwwtrans.la ../src/libwwwcore.la ../src/libwwwutils.la ../../Library/src/SSL/libwwwssl.la -lm ../../Library/src/libwwwzip.la ../../Library/src/libwwwsql.la ../../modules/md5/libmd5.la -ldl -lz -L/usr/lib64/mysql -lmysqlclient -L/usr/lib -lssl -lcrypto /bin/sh ../../libtool --mode=link x86_64-pc-linux-gnu-gcc -march=athlon64 -O2 -pipe -Wall -o libapp_1 libapp_1.o ../src/libwwwinit.la ../src/libwwwapp.la ../../Library/src/libwwwxml.la ../../modules/expat/xmlparse/libxmlparse.la ../../modules/expat/xmltok/libxmltok.la ../src/libwwwhtml.la ../src/libwwwtelnet.la ../src/libwwwnews.la../src/libwwwhttp.la ../src/libwwwmime.la../src/libwwwgopher.la ../src/libwwwftp.la ../src/libwwwdir.la ../src/libwwwcache.la ../src/libwwwstream.la ../src/libwwwfile.la ../src/libwwwmux.la ../src/libwwwtrans.la ../src/libwwwcore.la ../src/libwwwutils.la ../../Library/src/SSL/libwwwssl.la -lm ../../Library/src/libwwwzip.la ../../Library/src/libwwwsql.la ../../modules/md5/libmd5.la -ldl -lz -L/usr/lib64/mysql -lmysqlclient -L/usr/lib -lssl -lcrypto /bin/sh ../../libtool --mode=link x86_64-pc-linux-gnu-gcc -march=athlon64 -O2 -pipe -Wall -o libapp_2 libapp_2.o ../src/libwwwinit.la ../src/libwwwapp.la ../../Library/src/libwwwxml.la ../../modules/expat/xmlparse/libxmlparse.la ../../modules/expat/xmltok/libxmltok.la ../src/libwwwhtml.la ../src/libwwwtelnet.la ../src/libwwwnews.la../src/libwwwhttp.la ../src/libwwwmime.la../src/libwwwgopher.la ../src/libwwwftp.la ../src/libwwwdir.la ../src/libwwwcache.la ../src/libwwwstream.la ../src/libwwwfile.la ../src/libwwwmux.la ../src/libwwwtrans.la ../src/libwwwcore.la ../src/libwwwutils.la ../../Library/src/SSL/libwwwssl.la -lm ../../Library/src/libwwwzip.la ../../Library/src/libwwwsql.la ../../modules/md5/libmd5.la -ldl -lz -L/usr/lib64/mysql -lmysqlclient -L/usr/lib -lssl -lcrypto mkdir .libs x86_64-pc-linux-gnu-gcc -march=athlon64 -O2 -pipe -Wall -o .libs/libapp_2 libapp_2.o ../src/.libs/libwwwinit.so -L/usr/lib64/mysql -L/usr/lib64 -L/usr/lib ../src/.libs/libwwwapp.so ../../Library/src/.libs/libwwwxml.so ../../modules/expat/xmlparse/.libs/libxmlparse.so ../../modules/expat/xmltok/.libs/libxmltok.so ../src/.libs/libwwwhtml.so ../src/.libs/libwwwtelnet.so ../src/.libs/libwwwnews.so ../src/.libs/libwwwhttp.so ../src/.libs/libwwwmime.so ../src/.libs/libwwwgopher.so ../src/.libs/libwwwftp.so ../src/.libs/libwwwdir.so ../src/.libs/libwwwcache.so ../src/.libs/libwwwstream.so ../src/.libs/libwwwfile.so ../src/.libs/libwwwmux.so ../src/.libs/libwwwtrans.so ../src/.libs/libwwwcore.so ../src/.libs/libwwwutils.so ../../Library/src/SSL/.libs/libwwwssl.so ../../Library/src/.libs/libwwwzip.so ../../Library/src/.libs/libwwwsql.so ../../modules/md5/.libs/libmd5.so -ldl /usr/lib64/mysql/libmysqlclient.so -lz -lcrypt -lnsl -lm -lssl -lcrypto -Wl,--rpath -Wl,/usr/lib64/mysql x86_64-pc-linux-gnu-gcc -march=athlon64 -O2 -pipe -Wall -o .libs/head head.o ../src/.libs/libwwwinit.so -L/usr/lib64/mysql -L/usr/lib64 -L/usr/lib ../src/.libs/libwwwapp.so ../../Library/src/.libs/libwwwxml.so ../../modules/expat/xmlparse/.libs/libxmlparse.so ../../modules/expat/xmltok/.libs/libxmltok.so ../src/.libs/libwwwhtml.so ../src/.libs/libwwwtelnet.so ../src/.libs/libwwwnews.so ../src/.libs/libwwwhttp.so ../src/.libs/libwwwmime.so ../src/.libs/libwwwgopher.so ../src/.libs/libwwwftp.so ../src/.libs/libwwwdir.so ../src/.libs/libwwwcache.so ../src/.libs/libwwwstream.so ../src/.libs/libwwwfile.so ../src/.libs/libwwwmux.so ../src/.libs/libwwwtrans.so ../src/.libs/libwwwcore.so ../src/.libs/libwwwutils.so ../../Library/src/SSL/.libs/libwwwssl.so ../../Library/src/.libs/libwwwzip.so ../../Library/src/.libs/libwwwsql.so ../../modules/md5/.libs/libmd5.so -ldl /usr/lib64/mysql/libmysqlclient.so -lz -lcrypt -lnsl -lm -lssl -lcrypto -Wl,--rpath -Wl,/usr/lib64/mysql ../../Library/src/.libs/libwwwsql.so: undefined reference to `mysql_connect' ../../Library/src/.libs/libwwwsql.so: undefined reference to `mysql_create_db' collect2: ld returned 1 exit status make[3]: *** [head] Error 1 make[3]: *** Waiting for unfinished jobs ../../Library/src/.libs/libwwwsql.so: undefined reference to `mysql_connect' ../../Library/src/.libs/libwwwsql.so: undefined reference to `mysql_create_db' collect2: ld returned 1 exit st
Re: [gentoo-user] Help on gentoo 2.6
Hi Bob, type lspci and see what is your network card. After this, choose a proper driver on kernel menuconfig and make the proper adjusts. If you put the driver as module, edit /etc/modules.autoload.d/kernel-2.6 file and put the name of the module there ( follow the example given ). If you compile the driver *built in* you don't need to add the module name in kernel-2.6 file. Let us know the result. Leandro. 2006/6/1, Bob Bao <[EMAIL PROTECTED]>: Hi guys. I installed 2.6.16-gentoo-r7 on a x86 desk top computer. After reboot, I fond two problems. The net work connection lost. I run the /etc/init.d/net.eth0 start, get a eth0 does not exist error message. Is there any one can help me fix it. I need to download more tools for the basic operating system. Another problem is when I run "rc -update" there is an error message " runlevel update is not existed" . Thanks. Bob Bao [EMAIL PROTECTED] -- 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 "Sometimes people fall in love, but a little bit of them really love or find a truth love. Or sometimes they find it but for some reason they let love pass without live it intensely. This is the free-well." -- gentoo-user@gentoo.org mailing list
[gentoo-user] /etc/DIR_COLORS
Hi, How can I set the proper ls configuration to show ls output colored? I type dircolors -b /etc/DIR_COLORS and after this? Leandro -- gentoo-user@gentoo.org mailing list
[gentoo-user] cvsd and Gentoo
Hi, I setup cvsd as shown in http://gentoo-wiki.com/HOWTO_CVS_Server. When I test if I connect locally, in the shell everything works fine, as it is shown in /var/log/message: Jun 3 16:31:24 embedded cvsd[13679]: connection from 127.0.0.1 43619 Jun 3 16:31:24 embedded cvsd[13679]: cvs command exited with exit-status 0 But when I try this from a remote machine (in the same network range, no firewalls) I can't connect: Jun 3 16:42:01 embedded cvsd[13679]: connection from 192.168.0.228 1290 Jun 3 16:42:01 embedded cvsd[13679]: cvs command exited with exit-status 1 Here are the netstat -na output: Active Internet connections (servers and established) Proto Recv-Q Send-Q Local Address Foreign Address State tcp0 0 127.0.0.1:3306 0.0.0.0:* LISTEN tcp0 0 0.0.0.0:80 0.0.0.0:* LISTEN tcp0 0 0.0.0.0:443 0.0.0.0:* LISTEN tcp0 0 :::2401 :::*LISTEN tcp0 0 :::22 :::*LISTEN tcp0 0 :::192.168.0.1:22 :::192.168.0.:1496 ESTABLISHED tcp0 0 :::192.168.0.1:22 :::192.168.0.:1446 ESTABLISHED tcp0128 :::192.168.0.1:22 :::192.168.0.:1153 ESTABLISHED What I need to do? To certify that the remote machine can reach the cvs server and connect to 2401 port I telned to 2401 port: # telnet 192.168.0.1 2401 cvs [pserver aborted]: bad auth protocol start: connection reset by peer. So, what is the problem? Leandro. -- gentoo-user@gentoo.org mailing list
[gentoo-user] Daemons log on Gentoo
Hi, I can't find /var/log/daemon... Every time a service is stopped or started I want to log it on /dev/log/daemon. In addition, I can't see it on /var/log/message. I tried to stop apache for instance and the system didn't log this event in /var/log/message, why? Leandro. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Daemons log on Gentoo
The filesystem doesn't have this directory... any clue? 2006/6/3, Teresa and Dale <[EMAIL PROTECTED]>: Leandro Melo de Sales wrote: > Hi, > > I can't find /var/log/daemon... Every time a service is stopped or > started I want to log it on /dev/log/daemon. In addition, I can't see > it on /var/log/message. I tried to stop apache for instance and the > system didn't log this event in /var/log/message, why? > > Leandro. Look in /var/log/everything/ and see if anything is in there. One of the logger puts it in there. Dale :-) -- 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 "Sometimes people fall in love, but a little bit of them really love or find a truth love. Or sometimes they find it but for some reason they let love pass without live it intensely. This is the free-well." -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Daemons log on Gentoo
I'm using syslog-ng 2006/6/3, Daniel da Veiga <[EMAIL PROTECTED]>: On 6/3/06, Leandro Melo de Sales <[EMAIL PROTECTED]> wrote: > Hi, > >I can't find /var/log/daemon... Every time a service is stopped or Well, I don't know what logger uses this dir, but anyway, you should be looking for logs, not for a specific dir. > started I want to log it on /dev/log/daemon. In addition, I can't see > it on /var/log/message. I tried to stop apache for instance and the What is your logger? > system didn't log this event in /var/log/message, why? Hmmm, depends on your logger, syslog-ng does stuff like that, check its man page... -- 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 -- 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 "Sometimes people fall in love, but a little bit of them really love or find a truth love. Or sometimes they find it but for some reason they let love pass without live it intensely. This is the free-well." -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Daemons log on Gentoo
Hi Mark.. I made the proper changes and still not working.. :( # vi /etc/syslog-ng/syslog-ng.conf options { chain_hostnames(off); sync(0); perm(0640); dir_perm(0750); create_dirs(yes); stats(43200); } source src { unix-stream("/dev/log"); internal(); pipe("/proc/kmsg"); }; source kernsrc { pipe("/proc/kmsg"); }; destination messages { file("/var/log/messages"); }; destination daemon { file("/var/log/daemon.log"); }; filter f_daemon { facility(daemon); }; destination console_all { file("/dev/tty12"); }; log { source(src); filter(f_daemon); destination(daemon); }; log { source(src); destination(messages); }; log { source(src); destination(console_all); }; What is wrong? 2006/6/4, Mick <[EMAIL PROTECTED]>: On 03/06/06, Leandro Melo de Sales <[EMAIL PROTECTED]> wrote: > I'm using syslog-ng > > 2006/6/3, Daniel da Veiga <[EMAIL PROTECTED]>: > > On 6/3/06, Leandro Melo de Sales <[EMAIL PROTECTED]> wrote: > > > Hi, > > > > > >I can't find /var/log/daemon... Every time a service is stopped or I have this in my /var/log/ directory: == -rw-r- 1 rootroot 116223 Jun 3 18:08 daemon.log == In addition, check the extract from my /etc/syslog-ng/syslog-ng.conf (which created the daemon.log file in the first place): == options { chain_hostnames(off); sync(0); perm(0640); dir_perm(0750); create_dirs(yes); [snip . . . ] stats(43200); }; source src { unix-stream("/dev/log"); internal(); pipe("/proc/kmsg"); }; source kernsrc { pipe("/proc/kmsg"); }; [snip . . . ] destination daemon { file("/var/log/daemon.log"); }; [snip . . . ] #create filters filter f_daemon { facility(daemon); }; [snip . . . ] #connect filter and destination log { source(src); filter(f_daemon); destination(daemon); }; == Adding this in /etc/logrotate.conf ensures that the /var/log/daemon.log file size does not get out of hand: == # when /var/log/daemon.log gets big /var/log/daemon.log { rotate 1 weekly size=1M } == Of course the latter is only relevant if you are using logrotate. HTH. -- Regards, Mick -- gentoo-user@gentoo.org mailing list -- gentoo-user@gentoo.org mailing list
[gentoo-user] Perl Geo-IP
Hi I'm trying to compile dev-perl/Geo-IP and I got the following message: Source unpacked. * Using ExtUtils::MakeMaker Checking if your kit is complete... Looks good Unrecognized argument in LIBS ignored: ''-L/usr/lib64'' Writing Makefile for Geo::IP cp lib/Geo/Mirror.pm blib/lib/Geo/Mirror.pm cp lib/Geo/IP/Record.pod blib/lib/Geo/IP/Record.pod cp lib/Geo/IP/Record.pm blib/lib/Geo/IP/Record.pm cp lib/Geo/IP.pm blib/lib/Geo/IP.pm /usr/bin/perl5.8.8 /usr/lib64/perl5/5.8.8/ExtUtils/xsubpp -typemap /usr/lib64/perl5/5.8.8/ExtUtils/typemap -typemap typemap IP.xs > IP.xsc && mv IP.xsc IP.c x86_64-pc-linux-gnu-gcc -c -fno-strict-aliasing -pipe -Wdeclaration-after-statement -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -march=athlon64 -O2 -pipe -DVERSION=\"1.27\" -DXS_VERSION=\"1.27\" -fPIC "-I/usr/lib64/perl5/5.8.8/x86_64-linux/CORE" IP.c Running Mkbootstrap for Geo::IP () chmod 644 IP.bs rm -f blib/arch/auto/Geo/IP/IP.so x86_64-pc-linux-gnu-gcc -shared -L/usr/local/lib64 IP.o -o blib/arch/auto/Geo/IP/IP.so\ -lGeoIP \ /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.5/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.5/../../../../lib64/libGeoIP.a(GeoIP.o): relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.5/../../../../lib64/libGeoIP.a: could not read symbols: Bad value collect2: ld returned 1 exit status make: *** [blib/arch/auto/Geo/IP/IP.so] Error 1 !!! ERROR: dev-perl/Geo-IP-1.27 failed. !!! Function perl-module_src_compile, Line 121, Exitcode 2 What's up? Thank u, Leandro. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Daemons log on Gentoo
2006/6/4, Jeremy Olexa <[EMAIL PROTECTED]>: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Leandro Melo de Sales wrote: > Hi Mark.. I made the proper changes and still not working.. :( > > # vi /etc/syslog-ng/syslog-ng.conf > options { >chain_hostnames(off); >sync(0); >perm(0640); >dir_perm(0750); >create_dirs(yes); >stats(43200); > } > > source src { unix-stream("/dev/log"); internal(); pipe("/proc/kmsg"); }; > source kernsrc { pipe("/proc/kmsg"); }; > destination messages { file("/var/log/messages"); }; > destination daemon { file("/var/log/daemon.log"); }; > filter f_daemon { facility(daemon); }; > > destination console_all { file("/dev/tty12"); }; > > log { source(src); filter(f_daemon); destination(daemon); }; > log { source(src); destination(messages); }; > log { source(src); destination(console_all); }; > > > What is wrong? I assume that you restarted the service? ;-) (PS. The standard convention on mailing lists is to post your reply on the bottom of the message.) - -- Jeremy Olexa ([EMAIL PROTECTED]) Office: EE/CS 1-201 CS/IT Systems Staff University of Minnesota -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2.2 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFEg0t2FN7pD9kMi/URAl7ZAJ0edMyJBPMMmnA9l8sL9jt1QOw+RACfUXzi IQmpfaaqX27LlFKwfqoqDZ8= =SV4D -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list OK Jeremy, sorry... Now I'm posting on the bottom of the message! ;) Yes, I restart syslog-ng... any clue? -- gentoo-user@gentoo.org mailing list
[gentoo-user] SSH authentication attempts - serious issue
Hi, today when I was checking the server log I got many external attempts to connect to my sshd service: ... Jun 5 05:09:45 embedded sshd[4740]: Invalid user barbara from x.y.w.z Jun 5 05:09:46 embedded sshd[4742]: Invalid user barb from x.y.w.z Jun 5 05:09:48 embedded sshd[4744]: Invalid user barbie from x.y.w.z Jun 5 05:09:50 embedded sshd[4746]: Invalid user barbra from x.y.w.z Jun 5 05:09:51 embedded sshd[4748]: Invalid user barman from x.y.w.z Jun 5 05:09:53 embedded sshd[4750]: Invalid user barney from x.y.w.z ... this seems to be a brute force attack, but one thing that worried me is why sshd didn't disconnect the remote host after 3 unsuccessful attemps? If we see in the log, there are many attemps with time interval between attemps of 2 or 3 seconds meaning that the sshd didn't disconnect the remote host after 3 attempts. So, first, Am I thinking correct about the sshd attempts? Second, how can I setup sshd or the entire system to permit just 2 or 3 attempts of authentication? I was checking the /etc/login.defs file and I see the following option: # # Max number of login retries if password is bad # LOGIN_RETRIES 3 but why this didn't work for the above connection attempts? Thank you, Leandro. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] SSH authentication attempts - serious issue
Yes, but how can I do it? 2006/6/5, Joseph <[EMAIL PROTECTED]>: Try port knocking. It is very effective. Your ssh port will be closed until you successfully hit certain number of ports and even though the ssh port will be open only to the IP address that successfully opened the port all others will see ssh port as closed. -- #Joseph On Mon, 2006-06-05 at 12:06 -0300, Leandro Melo de Sales wrote: > Hi, > >today when I was checking the server log I got many external > attempts to connect to my sshd service: > > ... > Jun 5 05:09:45 embedded sshd[4740]: Invalid user barbara from x.y.w.z > Jun 5 05:09:46 embedded sshd[4742]: Invalid user barb from x.y.w.z > Jun 5 05:09:48 embedded sshd[4744]: Invalid user barbie from x.y.w.z > Jun 5 05:09:50 embedded sshd[4746]: Invalid user barbra from x.y.w.z > Jun 5 05:09:51 embedded sshd[4748]: Invalid user barman from x.y.w.z > Jun 5 05:09:53 embedded sshd[4750]: Invalid user barney from x.y.w.z > ... -- 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 "Sometimes people fall in love, but a little bit of them really love or find a truth love. Or sometimes they find it but for some reason they let love pass without live it intensely. This is the free-well." -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] SSH authentication attempts - serious issue
2006/6/5, Leandro Melo de Sales <[EMAIL PROTECTED]>: Yes, but how can I do it? 2006/6/5, Joseph <[EMAIL PROTECTED]>: > Try port knocking. It is very effective. > Your ssh port will be closed until you successfully hit certain number > of ports and even though the ssh port will be open only to the IP > address that successfully opened the port all others will see ssh port > as closed. > > -- > #Joseph > > On Mon, 2006-06-05 at 12:06 -0300, Leandro Melo de Sales wrote: > > Hi, > > > >today when I was checking the server log I got many external > > attempts to connect to my sshd service: > > > > ... > > Jun 5 05:09:45 embedded sshd[4740]: Invalid user barbara from x.y.w.z > > Jun 5 05:09:46 embedded sshd[4742]: Invalid user barb from x.y.w.z > > Jun 5 05:09:48 embedded sshd[4744]: Invalid user barbie from x.y.w.z > > Jun 5 05:09:50 embedded sshd[4746]: Invalid user barbra from x.y.w.z > > Jun 5 05:09:51 embedded sshd[4748]: Invalid user barman from x.y.w.z > > Jun 5 05:09:53 embedded sshd[4750]: Invalid user barney from x.y.w.z > > ... > > -- > gentoo-user@gentoo.org mailing list > > I mean, setup it! -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] SSH authentication attempts - serious issue
How can I recompiler openssh to support tcpwrapper? I can't find /etc/hosts.allow neither /etc/hosts.deny. Is there something missing? Is there a way to put tcpwrapper as a turned on option for all programs that supports it? Specifically for openssh I edit /etc/portage/package.use file and put: net-misc/openssh tcpwrapper, but I got this: # emerge --pretend openssh These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild R ] net-misc/openssh-4.3_p2-r1 I want to see +tcpwrapper... Leandro 2006/6/5, Oliver Schmidt <[EMAIL PROTECTED]>: > Hi, > >today when I was checking the server log I got many external > attempts to connect to my sshd service: > > ... > Jun 5 05:09:45 embedded sshd[4740]: Invalid user barbara from x.y.w.z > Jun 5 05:09:46 embedded sshd[4742]: Invalid user barb from x.y.w.z > Jun 5 05:09:48 embedded sshd[4744]: Invalid user barbie from x.y.w.z > Jun 5 05:09:50 embedded sshd[4746]: Invalid user barbra from x.y.w.z > Jun 5 05:09:51 embedded sshd[4748]: Invalid user barman from x.y.w.z > Jun 5 05:09:53 embedded sshd[4750]: Invalid user barney from x.y.w.z > ... > > this seems to be a brute force attack, but one thing that worried me > is why sshd didn't disconnect the remote host after 3 unsuccessful > attemps? If we see in the log, there are many attemps with time > interval between attemps of 2 or 3 seconds meaning that the sshd > didn't disconnect the remote host after 3 attempts. > So, first, Am I thinking correct about the sshd attempts? > Second, how can I setup sshd or the entire system to permit just 2 or > 3 attempts of authentication? I was checking the /etc/login.defs file > and I see the following option: > Try use Denyhosts ... no problem with bruteforce attacks anymore. Denyhosts add the IP of the attacker to the /etc/hosts.deny file. Install it with: ACCEPT_KEYWORDS="~x86" emerge denyhosts and add to your /etc/crontab */10 * * * * root python /usr/bin/denyhosts -c /etc/denyhosts.conf Use it now for more then a year... its perfect to block bruteforce attacks. cheers Oli -- gentoo-user@gentoo.org mailing list -- gentoo-user@gentoo.org mailing list