[gentoo-user] Emacs installed but GUI is of XXL size :-(
hai all, i have successfully installed Gentoo 2006.1. i have installed Emacs. everything is fine but Emacs's size is TOO BIG. Emacs tool bar is of XXL size, its menu is of XXL size. what is wrong? -- http://arnuld.blogspot.com/ Linux registered user #439610 http://counter.li.org/ -- gentoo-user@gentoo.org mailing list
[gentoo-user] Migrating gentoo to a new machine
Throught the years I've build-up a good collection of gentoo packages that I'm currently running on my notebook. Now that I need to move to a new notebook, I build another gentoo system where everything were smooth and I did a emerge world/systems to get everything update. Now the question is - how do get gentoo to emerge the exact same number of package like my old notebook? I've attempted to move /var/lib/portage/world(which contain all the packages that I need) to the new notebook and start a emerge world. I got an error and ask me to emaint -c that I follow diligently which didn't quite help. I follow up with a emaint -f and somehow it just get rid of all the packages that I need :( Apologies for the cluessless question, is there an easier way to duplicate the exact package on my old system to the new one? Thanks in advance. -- SB http://www.employees.org/~sbng/pgp.txt Key fingerprint = 5945 5E12 25A9 2404 8900 E171 052C 33B6 E210 AB93 pgpG2YKJ6GTWr.pgp Description: PGP signature
Re: [gentoo-user] Migrating gentoo to a new machine
Hello, On Sat, Feb 03, 2007 at 04:08:41PM +0800, Seo Boon, NG wrote: Throught the years I've build-up a good collection of gentoo packages that I'm currently running on my notebook. Now that I need to move to a new notebook, I build another gentoo system where everything were smooth and I did a emerge world/systems to get everything update. Now the question is - how do get gentoo to emerge the exact same number of package like my old notebook? I've attempted to move /var/lib/portage/world(which contain all the packages that I need) to the new notebook and start a emerge world. I got an error and ask me to emaint -c that I follow diligently which didn't quite help. I follow up with a emaint -f and somehow it just get rid of all the packages that I need :( I would try (since the file looks quite friendly) emerge -va `cat /var/lib/portage/world` -- chown -R us $BASE Michal 'vorner' Vaner pgp9YEsmXT8GQ.pgp Description: PGP signature
Re: [gentoo-user] Cups and -collision-protect
On Friday 02 February 2007 00:22, Bo Ørsted Andresen wrote: On Thursday 01 February 2007 10:28:20 Mick wrote: Updated cups to 1.2.6 and the ebuild told me to run: [SNIP] # FEATURES=-collision-protect emerge -va1 $(qfile -qC /usr/lib/cups /etc/cups | sed s:net-print/cups$::) bash: qfile: command not found revdep-rebuild doesn't throw up anything. What should I do? emerge portage-utils. What do you know! I thought that I had portage-utils installed already, but clearly didn't. :-p Thank you. -- Regards, Mick pgp1eacMPBxLn.pgp Description: PGP signature
Re: [gentoo-user] audio: can hear sound from line/mic but cannot record it
b.n. ha scritto: Hi, I have an odd problem with audio recording. When I plug my guitar to the line in/mic in, it plays. I can hear the sound fine. So the input device seems to work correctly. But when I try to *record*, no matter the application (audacity, rezound, arecord) the application freezes and no output file is made. arecord actually spits out a 44-byte header, and nothing else. strace-ing the application clearly shows that the app just freezes. Relevant things I changed after last time it worked correctly may be: - the kernel (from 2.6.16 to 2.6.18-r6) - alsa-lib (from 1.0.11 to 1.0.14) alsa drivers are compiled in the kernel. I run x86, stable, gcc 4.1.1. The audio card is: (lspci output): Multimedia audio controller: Silicon Integrated Systems [SiS] AC'97 Sound Controller (rev a0) Update: - When I tell audacity to use ALSA directly instead of OSS emulation, it doesn't hang anymore. But the cursor doesn't start. - When I also tell audacity to use software playthrough, it seems to start recording. But it records only silence. In every case, arecord still hangs at the header of 44 bytes. Any hint? m. -- gentoo-user@gentoo.org mailing list
[gentoo-user] deleted ._cfg files
Hi, I accedentally deleted a few ._cfg files. Is there a way to get them back? I tryed preinstalling the corresponding packages but with no avail. Thanks! -- Камен -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] deleted ._cfg files
Kamen TOMOV wrote: Hi, I accedentally deleted a few ._cfg files. Is there a way to get them back? I tryed preinstalling the corresponding packages but with no avail. Thanks! Try: emerge --unmerge package emerge package If this doesn't work just unmerge the package delete the corresponding /etc directory and then reemerge the package. This worked for me having trouble with dbus. If none of the above techniques work, just emerge the older package and then emerge the new again. If you don't know the version of the old package, use genlop. Cheers, Jay -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] deleted ._cfg files
On Saturday 03 February 2007 12:08:01 Kamen TOMOV wrote: I accedentally deleted a few ._cfg files. Is there a way to get them back? I tryed preinstalling the corresponding packages but with no avail. You probably need to about --noconfmem in `man emerge`. -- Bo Andresen pgpqw0iRpKuOT.pgp Description: PGP signature
[gentoo-user] Re: Network works OK internally but can't access Internet - very frustrated
Richard Watson [EMAIL PROTECTED] writes: 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? Sounds like you aren't getting to a nameserver. Check /etc/resolv.conf and make sure there are 1 or more entries for a pingable nameserver: It should say something like nameserver xxx.xxx.xxx If it does, try ping the ip numbers listed. If that works then the problem is else where. -- gentoo-user@gentoo.org mailing list
[gentoo-user] Re: Emacs installed but GUI is of XXL size :-(
arnuld [EMAIL PROTECTED] writes: hai all, i have successfully installed Gentoo 2006.1. i have installed Emacs. everything is fine but Emacs's size is TOO BIG. Emacs tool bar is of XXL size, its menu is of XXL size. what is wrong? Sounds like your desktop resolution is too low. Or emacs is trying to use a huge font. After setting your resolution to more reasonable size you can control emacs size, color, shape, font etc with lisp code. If you want to delve into lisp I can copy paste some old code I've used from time to time but I'm not a lisp programmer at all. For that approach you will want to post on gnu.emacs.help newsgroup. You can also control emacs with a ~/.Xresources file. Thats how I like to do it. This will give you some ideas about how that might be done: (from ~/.Xresources) emacs*Background: black emacs*Foreground: papayawhip emacs*pointerColor: white emacs*cursorColor: magenta emacs*bitmapIcon: on emacs*font: -misc-fixed-bold-r-normal--18-120-100-100-c-90-iso8859-1 emacs.geometry: 100x38 -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Network works OK internally but can't access Internet - very frustrated
Do you have your dns configuration correct? please check you /etc/resolv.conf file. Does your DHCP server send nameserver to the client? Thanks for your reply. When the interface is up /etc/resolv.conf has a name change to /etc/resolve.conf-eth2.sv and contains the following: # Generated by dhcpcd for interface eth0 nameserver 61.9.208.14 nameserver 61.9.208.15 Which is the primary and secondary DNS on my cable modem for Telstra. So I guess the DHCP server is sending the nameserver info. Still no go ... Regards, Richard -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Network works OK internally but can't access Internet - very frustrated
On Sat, 03 Feb 2007 09:26:22 +0300, Richard Watson [EMAIL PROTECTED] wrote: 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 Does your resolve.conf start with # Generated by net-scripts for interface? If yes, then check /etc/conf.d/net for something like dns_servers_eth0=( 62.148.128.1 62.148.128.22 ) -- Andrei Gerasimenko -- gentoo-user@gentoo.org mailing list
[gentoo-user] Re: Network works OK internally but can't access Internet - very frustrated
Richard Watson [EMAIL PROTECTED] writes: # Generated by dhcpcd for interface eth0 nameserver 61.9.208.14 nameserver 61.9.208.15 Which is the primary and secondary DNS on my cable modem for Telstra. So I guess the DHCP server is sending the nameserver info. Still no go ... Can you ping those addresses? -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Network works OK internally but can't access Internet - very frustrated
On Sat, Feb 03, 2007 at 11:40:20PM +1000, Richard Watson wrote: Do you have your dns configuration correct? please check you /etc/resolv.conf file. Does your DHCP server send nameserver to the client? Thanks for your reply. When the interface is up /etc/resolv.conf has a name change to /etc/resolve.conf-eth2.sv and contains the following: It is of no use under other name. You need it to be exactly /etc/resolv.conf. -- The cost of living is going up, and the chance of living is going down. Michal 'vorner' Vaner pgpO8qUrdCdzO.pgp Description: PGP signature
[gentoo-user] Re: deleted ._cfg files
On събота, Февруари 03 2007, Bo Ørsted Andresen wrote: On Saturday 03 February 2007 12:08:01 Kamen TOMOV wrote: I accedentally deleted a few ._cfg files. Is there a way to get them back? I tryed preinstalling the corresponding packages but with no avail. You probably need to about --noconfmem in `man emerge`. That option did the job - thanks! -- Камен -- gentoo-user@gentoo.org mailing list
[gentoo-user] Why can't kernel-2.6.19-gentoo-r5 see my root partition?
I upgraded my kernel to 2.6.19-gentoo-r6 this morning. I used genkernel. I followed these steps: Deleted the /usr/src/linux symlink and recreated it point to /usr/src/2.6.19-gentoo-r5 zcat /proc/config.gz /usr/share/genkernel/x86/kernel-config-2.6 genkernel all After it successfully built, I opened up my /boot/grub/grub.conf file in vim and copied the entry lines for the old kernel I was using (2.6.18-gentoo-r6 - also created with genkernel) and changed the numbers to reflect the new kernel on the title, kernel, and initrd lines. However when I attempt to boot up with the new kernel, it goes through its usual device checks, and then right when it should say Booting initramfs-{}, it says /dev/sda6 is not a suitable root device. (or something like that) and offers me either a chance to enter the root device, or a shell. I asked for the shell. I did ls and saw a directory structure seemingly similar to my / on my root partition, but when I did ls /dev I didn't see any sda devices (or an other s* devices for that matter). What's gone wrong, and what do I do to fix it? Below is my /boot/grub/grub.conf: camille ~ # cat /boot/grub/grub.conf default 0 timeout 30 splashimage=(hd0,1)/grub/splash.xpm.gz title=Gentoo 2.6.19-r5 root (hd0,1) kernel /kernel-genkernel-x86-2.6.19-gentoo-r5 real_root=/dev/sda6 udev initrd /initramfs-genkernel-x86-2.6.19-gentoo-r5 title=Gentoo 2.6.18-r6 root (hd0,1) kernel /kernel-genkernel-x86-2.6.18-gentoo-r6 real_root=/dev/sda6 udev initrd /initramfs-genkernel-x86-2.6.18-gentoo-r6 title=Gentoo 2.6.18-r4 root (hd0,1) kernel /kernel-genkernel-x86-2.6.18-gentoo-r4 real_root=/dev/sda6 udev initrd /initramfs-genkernel-x86-2.6.18-gentoo-r4 title=Linux 2.6.11.12 root (hd0,1) kernel /vmlinuz-2.6.11.12 real_root=/dev/sda6 udev initrd /initrd-2.6.11.12.img title=Windows XP rootnoverify (hd0,0) makeactive chainloader +1 -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Why can't kernel-2.6.19-gentoo-r5 see my root partition?
On Saturday 03 February 2007 11:06 am, Michael Sullivan wrote: I upgraded my kernel to 2.6.19-gentoo-r6 this morning. I used genkernel. I followed these steps: In the interest of confusion...the .19 kernel sees all hdd's as /dev/sdx including ide. Your sda6 is most likely sdb6 or some other variant. -jm -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Why can't kernel-2.6.19-gentoo-r5 see my root partition?
On Sat, 2007-02-03 at 11:20 -0600, Joe Menola wrote: On Saturday 03 February 2007 11:06 am, Michael Sullivan wrote: I upgraded my kernel to 2.6.19-gentoo-r6 this morning. I used genkernel. I followed these steps: In the interest of confusion...the .19 kernel sees all hdd's as /dev/sdx including ide. Your sda6 is most likely sdb6 or some other variant. -jm But there were no /dev/sxx files in that /dev directory in the shell when I tried to boot into the new kernel. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Question about /etc/conf.d/net entry
Dan, The cable checked out. I used it to hookup my work laptop with the other laptop I was using as my client, and was able to ping each host. The fact that I had no link made me curious ... and I realized it made user error ... I was SURE that I verified the NIC I was plugging into was eth1, as I've got 3 NICs in the machine ... the one with no link is really eth2 ... not eth1 ... I plugged into the correct interface, and (perhaps) needless to say, my client is now seeing the gateway and the gateway sees the client. Thanks for the pointers on my config. They helped me ensure that I had my machine setup properly! Thanks, Shawn On 2/2/07, Dan Farrell [EMAIL PROTECTED] wrote: On Fri, 2 Feb 2007 16:51:37 -0500 Shawn Singh [EMAIL PROTECTED] wrote: Dan, Thanks for the reply. The client is a laptop running Windows XP Home EditionI'. Server is a tower running Gentoo 2006.1, shorewall 3.0.8. The client is setup as follows: IP address: 192.168.1.2 Netmask:255.255.255.0 Gateway:192.168.1.1 DNS: 192.168.1.1 I've changed my /etc/conf.d/net to: # Interface Handler modules=( ifconfig ) # eth0 (WAN) config config_eth0=( dhcp ) # eth1 (LAN) config config_eth1=( 192.168.1.1 netmask 255.255.255.0 broadcast 192.168.1.255 ) for what it's worth, netmask and broadcast will also default to those settings in ifconfig if you set the ip to 192.168.1.x I have all that I need compiled into my kernel (2.6.19-r1). I agree. let's see what happens -- gentoo-user@gentoo.org mailing list -- Doing linear scans over an associative array is like trying to club someone to death with a loaded Uzi. Larry Wall
Re: [gentoo-user] Why can't kernel-2.6.19-gentoo-r5 see my root partition?
Joe Menola [EMAIL PROTECTED] writes: In the interest of confusion...the .19 kernel sees all hdd's as /dev/sdx including ide. But only if you configure it so that libata handles the ide drives. I believe that the default is to have pata handled by the IDE drivers and sata by libata -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Why can't kernel-2.6.19-gentoo-r5 see my root partition?
Michael Sullivan wrote: I upgraded my kernel to 2.6.19-gentoo-r6 this morning. I used genkernel. I followed these steps: Deleted the /usr/src/linux symlink and recreated it point to /usr/src/2.6.19-gentoo-r5 zcat /proc/config.gz /usr/share/genkernel/x86/kernel-config-2.6 genkernel all After it successfully built, I opened up my /boot/grub/grub.conf file in vim and copied the entry lines for the old kernel I was using (2.6.18-gentoo-r6 - also created with genkernel) and changed the numbers to reflect the new kernel on the title, kernel, and initrd lines. However when I attempt to boot up with the new kernel, it goes through its usual device checks, and then right when it should say Booting initramfs-{}, it says /dev/sda6 is not a suitable root device. (or something like that) and offers me either a chance to enter the root device, or a shell. I asked for the shell. I did ls and saw a directory structure seemingly similar to my / on my root partition, but when I did ls /dev I didn't see any sda devices (or an other s* devices for that matter). What's gone wrong, and what do I do to fix it? Below is my /boot/grub/grub.conf: I ran into a similar problem when upgrading. It looked to me like the SATA device configuration variables had been changed or renamed. This caused me to lose all my SATA modules when I rebuilt. After I went in and explicitly added the new SATA drivers into the config the machine could boot again. Hope that helps. - Ben -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] scp login but confine the user to his home directory?
On 2/2/07, Greg Bur [EMAIL PROTECTED] wrote: On 2/2/07, Mark Knecht [EMAIL PROTECTED] wrote: Hi, I'm wondering if it is possible and/or advisable to set up an account where a user can scp files in and out of his home directory using scp but if he logs into the machine using ssh he cannot go anywhere outside of his home directory? How would I set something like this up? Mark, Rebuild openssh with the chroot USE flag enabled and then have a look at the following HOWTO: http://www.howtoforge.com/chrooted_ssh_howto_debian It's a bit of work to set up but it works well. We have a similar setup at work for our shared hosting customers. Regards, Greg Thanks Greg. That looks pretty manageable and easier than some of the full blown chroots I've built before under Gentoo. Certainly good enough to try things out and see how it works. Thanks a lot, Mark -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Anybody Know x86 Assembler?
Neil Hodges a écrit : Hello, Does anybody know x86 assember? The following code is in a kernel source file, and GCC fails to build it, saying invalid operands to 'mov'. What's wrong with it? - Neil Code: asm volatile (movl %%fs,%0:=m (*(int *) m.fs)); asm volatile (movl %%gs,%0:=m (*(int *) m.gs)); Could you post the content of the m data structure, including its type? -- Pierre-Yves Rofes -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Why can't kernel-2.6.19-gentoo-r5 see my root partition?
Joe Menola wrote: In the interest of confusion...the .19 kernel sees all hdd's as /dev/sdx including ide. That is totally untrue . :( All of my machines are using kernel 2.6.19 and they all see the hard disks as /dev/hdx apart from the one that is actually using SATA. Neil -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Why can't kernel-2.6.19-gentoo-r5 see my root partition?
Due to this issue, Why someone have to upgrade his kernel from .18 to .19, there are IMPORTANT reazon to do that? I'm not computer professional, Gentoo is just a hobby for me, as well as my desktop and laptop computer and also Gentoo never stop to works without a clear reason as done by WINDOW$, I never saw a blue screen mean while I'm working in Gentoo, so I stopped to use WINDOWS last 2004, but the questions is: Why and when to UPGRADE the kernel? I stopped at 2.6.18-gentoo-r2, because each change means some things out of control, but each time there is somthing new to learn. Fortunatelly we have a very good documentation on line an also good friends in this kind of mailing list to solve any trouble. Any comments? Sigfrido [EMAIL PROTECTED] wrote: Joe Menola wrote: In the interest of confusion...the .19 kernel sees all hdd's as /dev/sdx including ide. That is totally untrue . :( All of my machines are using kernel 2.6.19 and they all see the hard disks as /dev/hdx apart from the one that is actually using SATA. Neil -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Why can't kernel-2.6.19-gentoo-r5 see my root partition? [SOLVED]
On Sat, 03 Feb 2007 14:29:39 -0600 Michael Sullivan [EMAIL PROTECTED] wrote: Does anyone know why the module names were changed between 2.6.18 and 2.6.19? the developers probably do. anyway, you should make it a practice to use make oldconfig probably as it's the reason the developers feel free to do so. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Why can't kernel-2.6.19-gentoo-r5 see my root partition?
Sigfrido V. Ortiz C. ha scritto: Why and when to UPGRADE the kernel? Basically, when you need to. I lived with 2.6.16 until two weeks ago, and before 2.6.16 I lived with 2.6.12 much longer. If you don't feel the need of a new kernel, I don't see any reason to upgrade. I usually upgrade when something needs it, when I feel it would be an improvement or, more simply, I take the occasion to upgrade when I have to recompile: but it's just me. I did upgrade to 2.6.18 just because I upgraded to gcc 4.1 and having to recompile the kernel, I also upgraded, but I could have happily lived recompiling 2.6.16. m. -- gentoo-user@gentoo.org mailing list
[gentoo-user] Re: vlc win32codecs on amd64
Daniel Iliev danny at ilievnet.com writes: Close. You can't use win32codecs on amd64 at all, unless you are using a 32 bit binary program with them. Simple as that. So VLC cannot use 32 bit binary codecs, unless someone made a vlc 32-bit binary and put it in the tree. Additionally: mplayer-bin is in amd64's portage and mplayer-bin can use win32codecs H, So, I cannot use wind32codecs with *any* non-binary video program on amd64, like vlc or mplayer. But I can used media-libs/win32codecs with a binary, such as mplayer-bin So can I use win32codecs with: seamonkey-bin ? mozilla-firefox-bin ? quake4-bin ? How would one know which binary based multimedia/video/games packages work with win32codecs? -- gentoo-user@gentoo.org mailing list