Re: [gentoo-user] Re: Gentoo install script
Very well done, reminded me of some code that I wrote (poorly, I might add) but, I dug it up and found some changes that you might be able to implement instead of lines and lines of static configs. That being said, take some of these changes into consideration. Dynamic detection of drives and partitions: # Get Existing Drives existing_drives=$(fdisk -l | grep /dev | grep -i disk | cut -c11-13) # Set default drive default_drive=$(fdisk -l | grep --max-count=1 /dev | cut -c11-13) echo -e What drive do you want to partition? [$existing_drives]: \c read drive and then creating the partition table later: # Make Drive Selection if [ $drive == ] then selected_drive=$default_drive else # Verify Drive Exists does_exist=$(fdisk -l | grep --max-count=1 -ci $drive) if [ $does_exist == 1 ] then selected_drive=$drive else echo -e The selected drive $drive does not exist. Using $default_drive instead. selected_drive=$default_drive fi fi num_partitions=$(fdisk -l | grep ^/dev | grep -ic $selected_drive) echo There are $num_partitions partitions on $selected_drive partitions=1 # Clear existing partition file rm -rf partition_table touch partition_table while [ $partitions -le $num_partitions ] do # Find partition numbers edit_partitions=$(fdisk -l | grep ^/dev/$selected_drive | cut -c9) # Parse out extra partitons if [ $partitions == 1 ] then work_partition=$(echo -e $edit_partitions | cut -c$partitions) # Write to partition_table file echo -e d\n$work_partition partition_table else if [ $partitions_cut == ] then # If First Partition after partition 1, cut off $partitions + 1 partitions_cut=$(($partitions+1)) else partitions_cut=$(($partitions_cut+1)) fi work_partition=$(echo -e $edit_partitions | cut -c$partitions_cut) # Write to partition_table file echo -e d\n$work_partition partition_table ((partitions_cut += 1)) fi ((partitions += 1)) done # build the rest of the table # Get Total System Memory total_mem=$(cat /proc/meminfo | grep -i memtotal | cut -c16- | sed s/\ // | sed s/kB//) swap_space=$(expr $(expr $total_mem + $total_mem) / 1024) # Write first partition to file echo -e n\np\n1\n\n+100M\n partition_table # Write Swap Space (double system memory) echo -e n\np\n2\n\n+$swap_spaceM\n partition_table # Write / partition to file echo -e n\np\n3\n\n\n partition_table # Write partition setting to file and drive write echo -e a\n1\nt\n2\n82\nw\n partition_table # Set drive number variables boot_drive=$(echo $selected_drive1) swap_drive=$(echo $selected_drive2) root_drive=$(echo $selected_drive3) # KEEP THIS COMMENTED OUT BELLOW HERE fdisk /dev/$selected_drive partition_table Mainly due to the fact that you statically set the UUIDs of the drive that you want to use. Cheers, Kad On Sun, Jul 1, 2012 at 5:28 PM, Michael Mol mike...@gmail.com wrote: On Wed, Jun 27, 2012 at 10:13 PM, Michael Mol mike...@gmail.com wrote: Very rough, and very much a works-for-me thing, but I thought I'd share. https://github.com/mikemol/gentoo-install I wrote it to ease the pain of the install-configure-build cycle I was going through to figure out what was breaking glibc. Just a bit of a followup. I've got most of the bugs worked out, and I'm very pleased with it. I've used it to get through most of the install sequence for inara, and it's currently on package 113/158 of its second pass of 'emerge -e @world'. If anyone else gets around to trying it, let me know. :) -- :wq
Re: [gentoo-user] Web Server Memory Issues
I have a standard 2x RAM swap size of 4gb. The problem that I am seeing though is that the applications (MySQL and apache) are segfaulting -before- the system starts to swap, almost where they have an aversion to using swap. Cheers Kad On Thu, Jan 13, 2011 at 9:34 AM, Stroller strol...@stellar.eclipse.co.ukwrote: On 12/1/2011, at 10:47pm, Kaddeh wrote: ... First, addressing the SQL issue and why I think that that could be one of the causes. The entire site, for the most part is all in one giant DB (~9GB) a significant part of that is a 3gb table full of raw image data (yes, I know that this is a REALLY bad idea to do, but I didn't design the site, I just did a migration to off-site) that being said, there could be a problem with that. I think I may have heard database guys argue for keeping image data in the DB. I'm not sure that it's always a bad idea. However: how much swap do you have? If you have a 12GB swap file, perhaps you will no longer see this problem? Stroller.
Re: [gentoo-user] Web Server Memory Issues
yes, but that should have an effect on swap space. Cheers Kad On Thu, Jan 13, 2011 at 11:56 AM, Bill Longman bill.long...@gmail.comwrote: On 01/13/2011 09:59 AM, Kaddeh wrote: I have a standard 2x RAM swap size of 4gb. The problem that I am seeing though is that the applications (MySQL and apache) are segfaulting -before- the system starts to swap, almost where they have an aversion to using swap. Are you running 32 bits?
[gentoo-user] Web Server Memory Issues
So, I have run into an interesting problem while building out a web server for a client which I haven't come across before and I was hoping that the list would be a good way for me to find the answer. A little beckground on the systems: P4 @ 3.0Ghz 2GB PC2 4200 2x 250GB drives in RAID1 The system configurations are default for the most part with the server running MySQL and Apache. The problem that I am running into at this point, however is that the machine seems to run out of memory and will segfault either apache or mysql when does so, when apache segfaults, it is a recoverable error, when mysql does it, mysql can't recover short of restarting it. At this point, I have found a soft fix by running a cron job every 6 hours or so to clear the cached memory, which seems to be the problem, however, I would like to find a more permanent fix to this issue. Anything that would help at this point would be much appreciated. Cheers Kad
Re: [gentoo-user] Web Server Memory Issues
Jarry, Thanks for the monitoring advice, I am checking out monit right now. In terms of what is the root cause of the issue, I have narrowed it down to either write caching of a SQL cache issue. First, addressing the SQL issue and why I think that that could be one of the causes. The entire site, for the most part is all in one giant DB (~9GB) a significant part of that is a 3gb table full of raw image data (yes, I know that this is a REALLY bad idea to do, but I didn't design the site, I just did a migration to off-site) that being said, there could be a problem with that. The write caching hteroy just comes up because I can clear the cached memory down to 14mb cached using 'sync echo 3 /proc/sys/vm/dump_cache' Cheers Kad On Wed, Jan 12, 2011 at 1:37 PM, Jarry mr.ja...@gmail.com wrote: On 12. 1. 2011 19:59, Kaddeh wrote: P4 @ 3.0Ghz 2GB PC2 4200 2x 250GB drives in RAID1 The system configurations are default for the most part with the server running MySQL and Apache. The problem that I am running into at this point, however is that the machine seems to run out of memory and will segfault either apache or mysql when does so, when apache segfaults, it is a recoverable error, when mysql does it, mysql can't recover short of restarting it. At this point, I have found a soft fix by running a cron job every 6 hours or so to clear the cached memory, which seems to be the problem, however, I would like to find a more permanent fix to this issue. First of all, find what is causing that excessive memory usage. I think 2GB should be enough for moderate web with apache+mysql. Second, use some monitoring software. Personally I'm using monit and I am very satisfied with it. It can monitor processes (if it is running, answering requests, etc), resources (disk, memory, swap, cpu, i/o), files (content, permissions, checksums), remote hosts (with some basic protocol checks i.e. http, ssh, smtp, ftp, mysql, ntp, dns...), it can inform you about problems (mail, log) and you can define rules what to do in case of anomalies (i.e. if mysql is using to much memory, it will be restarted). It can start/restart processes if they die (happened to me once with sshd on server which was ~50 miles away from me). You can put monit in inittab, so in case monit itself dies it is restarted automatically. Etc, etc. Jarry -- ___ This mailbox accepts e-mails only from selected mailing-lists! Everything else is considered to be spam and therefore deleted.
Re: [gentoo-user] Web Server Memory Issues
Matthew, Default settings for both my.cnf and httpd.conf are defaults, however, I would assume that a restart of a service would clear up the memory that was used by child processes. The only things that are really different in my.cnf is the base stuff like bin-log and such for doing DB replication. As for the webapp itself, it is PHP, but that is literally to make the MySQL connections to pull down the pages in the database (literally, entire pages of html in columns). Cheers Kad On Wed, Jan 12, 2011 at 4:08 PM, Matthew Summers quantumsumm...@gentoo.orgwrote: On Wed, Jan 12, 2011 at 4:47 PM, Kaddeh kad...@gmail.com wrote: Jarry, Thanks for the monitoring advice, I am checking out monit right now. In terms of what is the root cause of the issue, I have narrowed it down to either write caching of a SQL cache issue. First, addressing the SQL issue and why I think that that could be one of the causes. The entire site, for the most part is all in one giant DB (~9GB) a significant part of that is a 3gb table full of raw image data (yes, I know that this is a REALLY bad idea to do, but I didn't design the site, I just did a migration to off-site) that being said, there could be a problem with that. The write caching hteroy just comes up because I can clear the cached memory down to 14mb cached using 'sync echo 3 /proc/sys/vm/dump_cache' Cheers Kad On Wed, Jan 12, 2011 at 1:37 PM, Jarry mr.ja...@gmail.com wrote: On 12. 1. 2011 19:59, Kaddeh wrote: P4 @ 3.0Ghz 2GB PC2 4200 2x 250GB drives in RAID1 The system configurations are default for the most part with the server running MySQL and Apache. The problem that I am running into at this point, however is that the machine seems to run out of memory and will segfault either apache or mysql when does so, when apache segfaults, it is a recoverable error, when mysql does it, mysql can't recover short of restarting it. At this point, I have found a soft fix by running a cron job every 6 hours or so to clear the cached memory, which seems to be the problem, however, I would like to find a more permanent fix to this issue. First of all, find what is causing that excessive memory usage. I think 2GB should be enough for moderate web with apache+mysql. Second, use some monitoring software. Personally I'm using monit and I am very satisfied with it. It can monitor processes (if it is running, answering requests, etc), resources (disk, memory, swap, cpu, i/o), files (content, permissions, checksums), remote hosts (with some basic protocol checks i.e. http, ssh, smtp, ftp, mysql, ntp, dns...), it can inform you about problems (mail, log) and you can define rules what to do in case of anomalies (i.e. if mysql is using to much memory, it will be restarted). It can start/restart processes if they die (happened to me once with sshd on server which was ~50 miles away from me). You can put monit in inittab, so in case monit itself dies it is restarted automatically. Etc, etc. Jarry -- ___ This mailbox accepts e-mails only from selected mailing-lists! Everything else is considered to be spam and therefore deleted. So, a few questions: What apache MPM are you using? You can control the number of processes or threads in that file. The default is something like 200 processes or threads (depending on MPM), so that could cause issues. What does your my.cnf look like? MySQL makes it pretty easy to regulate memory usage in my.cnf. What sort of webapp is this, PHP, python, perl, ...? That should be a good start. Cheers -- Matthew W. Summers
Re: [gentoo-user] Cannot start Slapd (OpenLDAP)
or... you could run slaptest and get some failure output. I noticed that my slapd was having issues too, I managed to track it down to a bdb version mismatch miniroute ~ # slaptest bdb_back_initialize: BDB library version mismatch: expected Berkeley DB 4.8.26: (2010-03-14), got Berkeley DB 4.8.30: (2010-05-03) backend_init: initialized for type bdb slaptest: slap_init failed! miniroute ~ # On Sat, May 22, 2010 at 11:37 AM, Ward Poelmans wpoel...@gmail.com wrote: On Sat, May 22, 2010 at 19:23, Christopher Kurtis Koeber ckoe...@gmail.com wrote: OK, I did that, but the output is hard to parse through. Attached is text of this command: /etc/init.d/slapd --debug restart That puts the debug of the init scripts on, not of openldap. Try: slapd -d 65535 That should give you all the debugging output of slapd. Ward
Re: [gentoo-user] problem updating python
what is the output of eselect python list On Thu, May 20, 2010 at 11:43 AM, Rene Lopez Montelongo r...@redes.acatlan.unam.mx wrote: Hi everyone I'm trying to install on a sparc architecture SUN Ultra45. At the time to install a new slot of python I got the this error... livecd elog # emerge -auv dev-lang/python These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild NS ] dev-lang/python-2.5.4-r4 USE=gdbm ncurses readline ssl threads (wide-unicode) xml -berkdb -build -doc -examples -ipv6 -sqlite -tk -wininst 0 kB Total: 1 package (1 in new slot), Size of downloads: 0 kB Would you like to merge these packages? [Yes/No] Verifying ebuild Manifests... Emerging (1 of 1) dev-lang/python-2.5.4-r4 to / * Python-2.5.4.tar.bz2 RMD160 SHA1 SHA256 size ;-) ... [ ok ] * python-gentoo-patches-2.5.4-r3.tar.bz2 RMD160 SHA1 SHA256 size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * checking Python-2.5.4.tar.bz2 ;-) ... [ ok ] * checking python-gentoo-patches-2.5.4-r3.tar.bz2 ;-) ... [ ok ] * * ERROR: dev-lang/python-2.5.4-r4 failed. * Call stack: *ebuild.sh, line 49: Called pkg_setup * python-2.5.4-r4.ebuild, line 58: Called python_pkg_setup *python.eclass, line 335: Called PYTHON 'pkg_setup' *python.eclass, line 1320: Called die * The specific snippet of code: * die ${FUNCNAME}(): Main active version of Python not set * The die message: * PYTHON(): Main active version of Python not set * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/dev-lang/python-2.5.4-r4/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-lang/python-2.5.4-r4/temp/die.env'. * * Messages for package dev-lang/python-2.5.4-r4: * * ERROR: dev-lang/python-2.5.4-r4 failed. * Call stack: *ebuild.sh, line 49: Called pkg_setup * python-2.5.4-r4.ebuild, line 58: Called python_pkg_setup *python.eclass, line 335: Called PYTHON 'pkg_setup' *python.eclass, line 1320: Called die * The specific snippet of code: * die ${FUNCNAME}(): Main active version of Python not set * The die message: * PYTHON(): Main active version of Python not set * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/dev-lang/python-2.5.4-r4/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-lang/python-2.5.4-r4/temp/die.env'. * livecd elog # livecd elog # emerge --search python Searching... [ Results for search key : python ] [ Applications found : 117 ] * app-admin/eselect-python Latest version available: 20091230 Latest version installed: 20091230 Size of files: 5 kB Homepage: http://www.gentoo.org Description: Eselect module for management of multiple Python versions License: GPL-2 * app-admin/python-updater Latest version available: 0.8 Latest version installed: 0.8 Size of files: 7 kB Homepage: http://www.gentoo.org/proj/en/Python Description: Script used to remerge python packages when changing Python version. License: GPL-2 * app-emacs/python-mode [ Masked ] Latest version available: 5.1.0 Latest version installed: [ Not Installed ] Size of files: 36 kB Homepage: https://launchpad.net/python-mode Description: An Emacs major mode for editing Python source License: GPL-3 * app-pda/libopensync-plugin-python [ Masked ] Latest version available: Latest version installed: [ Not Installed ] Size of files: 0 kB Homepage: http://www.opensync.org/ Description: OpenSync Python Module License: LGPL-2.1 * app-vim/vimpython Latest version available: 1.11 Latest version installed: [ Not Installed ] Size of files: 3 kB Homepage: http://www.vim.org/scripts/script.php?script_id=30 Description: vim plugin: A set of menus/shortcuts to work with Python files License: vim * app-xemacs/python-modes Latest version available: 1.08 Latest version installed: [ Not Installed ] Size of files: 90 kB Homepage: http://xemacs.org/ Description: Python support. License: GPL-2 * dev-lang/python Latest version available: 2.5.4-r4 Latest version installed: 2.4.6 Size of files: 9,610 kB Homepage: http://www.python.org/ Description: Python is
Re: [gentoo-user] identical drives, different free space!
Are you doing a full recursive copy of / from rootfs for sdd7 (aka cp -r /) if so, are the other partitions mounted as well? Cheers Kad On Thu, May 13, 2010 at 6:51 PM, Iain Buchanan iai...@netspace.net.auwrote: Hi, I have two 160Gb drives, one internal and one USB. I've partitioned them the same and created an identical filesystem on the USB drive for backing up my internal drive. I'm using the following rsync command to make the backup: sudo /usr/bin/ionice -c 3 /usr/bin/rsync -aAx --exclude suspend_file --delete --delete-excluded --partial --human-readable / /media/root-backup however, after running this command sporadically for a few days, the USB partition is now full, whereas my root partition isn't! sda is internal, and sdd is external. sda7 is the one I'm interested in: $ sudo fdisk -l Disk /dev/sda: 160.0 GB, 160041885696 bytes 255 heads, 63 sectors/track, 19457 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x0080 Device Boot Start End Blocks Id System /dev/sda1 1 11 883266 FAT16 /dev/sda2 * 12487539070080b W95 FAT32 /dev/sda348764888 104422+ 83 Linux /dev/sda44889 19457 117025492+ 5 Extended /dev/sda54889732119543041 83 Linux /dev/sda673227384 506016 83 Linux /dev/sda77385 1945796976341 83 Linux Disk /dev/sdd: 160.0 GB, 160041885696 bytes 255 heads, 63 sectors/track, 19457 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x5d5d0036 Device Boot Start End Blocks Id System /dev/sdd1 1 11 883266 FAT16 /dev/sdd2 12487539070080b W95 FAT32 /dev/sdd348764888 104422+ 83 Linux /dev/sdd44889 19457 117025492+ 5 Extended /dev/sdd54889732119543041 83 Linux /dev/sdd673227384 506016 83 Linux /dev/sdd77385 1945796976341 83 Linux I just deleted a bunch of /var/tmp and distfiles to free up some space, and ran the rsync again. Now it looks like this: $ df -h FilesystemSize Used Avail Use% Mounted on rootfs 92G 81G 6.1G 93% / /dev/sdd7 92G 89G 4.6M 100% /media/root-backup /dev/sda3 99M 39M 55M 42% /boot /dev/sdd3 99M 39M 55M 42% /media/boot-backup I'm doing the /root backup from cron, but the /boot backup manually when I make changes. I thought perhaps the ext3 options were different (ie. different amount of reserved space) but that would make the Avail columns different, and shouldn't make the Used columns different. any thoughts as to why my USB partition is full? thanks, -- Iain Buchanan iaindb at netspace dot net dot au Most people have two reasons for doing anything -- a good reason, and the real reason.
Re: [gentoo-user] Gentoo decapitated
have you tried emergeing x11-drivers/xf86-input-evdev and x11-drivers/xf86-input-mouse on their own without xorg? Cheers Kad On Mon, May 10, 2010 at 9:59 PM, Kevin O'Gorman kogor...@gmail.com wrote: About a week ago, my Gentoo box was in a bad state where there were some packages that would not install, so I was carefully emerging what I could and filed a bug about one in particular that I could not emerge. Then I got a new kernel, 2.6.32-gentoo-r7, and I booted from it. Eeeek. No X11 at all. The logs informed me about some things to do, and I did them, re-emerging a number of things. I paid particular attention to emerging anything with x11 or xorg in its name. Long wait. I got to a point somewhere in there where X11 started, but would recognize neither keyboard nor mouse. I kept going. The keyboard started to work. I could actually log in, but that's not all that useful without a mouse. Then I started getting complaints about USE flags needed to make some particular packages support some other packages. I did those too. Now I'm at the state where emerge -aDNvu denies there's any work to do, and revdep-rebuild reports health. Still no mouse. Fortunately, I have a laptop that can ssh into the box and I can work with it, but it's still essentially headless. Anybody run into this state recently? If there's a quick fix, I'd rather not make another bug. -- Kevin O'Gorman, PhD
Re: [gentoo-user] language
Have you tried setting LINGUAS=fr in your make.conf? On Fri, Apr 2, 2010 at 2:58 PM, Roger Cahn rc...@club-internet.fr wrote: Hi all, Yesterday I gave a presentation with OOo-3.2 Impress with my laptop (xfce4, thunar). I used a video projector Dell, which worked fine. However, this made my language change from french to english in many of my packages. Right click on desktop and the showed window is in english; the same with a click on the icons on it. (their name is also in english) The menu bars are sometimes in french (thunar,firefox, thunderbird, OOo, skype) sometimes not (gimp, vlc, gedit, etc.) I don't know what happened, and in spite of serching in many directions , I could not find a solution. How could I resolve this problem? Many thanks for a help Roger
Re: [gentoo-user] libvdpau (?)
do you have VIDEO_CARDS set in your make.conf? On Fri, Mar 26, 2010 at 8:18 AM, 7v5w7go9ub0o 7v5w7go9u...@gmail.comwrote: I'd like to compile ffmpeg with vdpau - direct NVidia hardware acceleration. This is a configuration flag for ffmpeg. Setting the vdpau use flag seems to set the configuration flag, but also brings in the x11-libs/libvdpau libraries which I think I do not want, as my NVidia proprietary driver provides these libraries. 1. How do I enable the vdpau configuration flag for compiling ffmpeg, without bringing in x11-libs/libvdpau? (Sigh.. I suppose one work around is to bring them in, then reinstall the proprietary driver ) TIA
Re: [gentoo-user] wine cannot compile with jpeg flag
Looks like the jpeg use flag is ok to use according to bug #283089 [ http://bugs.gentoo.org/show_bug.cgi?id=283089] It looks like it is waiting for the thumbs-up from everyone to be taken out. I have been running with the jpeg use flag unmasked for a while and haven't seen any issues. Cheers Kad On Mon, Mar 15, 2010 at 8:03 AM, Xi Shen davidshe...@googlemail.com wrote: On Mon, Mar 15, 2010 at 11:35 PM, Arttu V. arttu...@gmail.com wrote: Create /etc/portage/profile/package.use.mask and type in 'app-emulation/wine -jpeg' (note the minus) to locally unmask the jpeg flag for wine. I don't know how good idea that is, though, as /usr/portage/profiles/arch/amd64/package.use.mask has the following for wine (maybe you'd better check the relevant bugs noted for jpeg first?): # Samuli Suominen ssuomi...@gentoo.org (02 Feb 2009) # esd, bug 301824 # mp3, bug 283860, 299490 # jpeg, bug 283089, 303255, 299149 # capi, 292938 # ghoto2, 286563 # scanner, 299505 # hal, 299149 app-emulation/wine capi esd gphoto2 hal jpeg mp3 scanner thanks a lot :) it is compiling now -- Best Regards, David Shen http://twitter.com/davidshen84/
Re: [gentoo-user] Problem with make oldconfig 2.6.30-8 == 2.6.31
Walter, I'd advise going back through and running a make menuconfig on 2.6.31-r6/10 and verify that everything is in order. The reason that I say this is that, in the event that your kernel -DID- revert back to defaults, if you have a non-ext2/3 partition, it isn't going t recognize it (EXT4, Reiserfs3.6/4, etc aren't default options). As for the warnings that you are talking about, those have existed for a while, they are obviously non-fatal and not really pertinent to your issue at hand. Cheers Kad On Tue, Mar 9, 2010 at 5:36 PM, Walter Dnes waltd...@waltdnes.org wrote: Today is when running a lilo menu with production and experimental kernels saved me. production is 2.6.30-r8. experimental is 2.6.31-r6 or 2.6.31-r10 (same problems with either one). I set /usr/src/linux to point at 2.6.31-r6 (or 10), copied .config from 2.6.30-r8 and ran make oldconfig. I got the warnings listed below before the config process started. make oldconfig appears to have reset to default values, and it was showing me some settings totally the opposite of what I know I've set. When I ran through make oldconfig, compiled and rebooted, I got a framebuffer console, which I *KNOW* I haven't selected. And there was a kernel panic because gentoo couldn't find the boot device. I'm enough of a bit-twiddler that I can set up the kernel manually. But I know from past experience that it's a long slow process. Is there any trick to salvage make oldconfig, before I resort to setting up the kernel the hard way? Here's the output from make oldconfig up to where it starts asking questions... [d531][root][/usr/src/linux] make oldconfig HOSTCC scripts/basic/fixdep HOSTCC scripts/basic/docproc HOSTCC scripts/basic/hash HOSTCC scripts/kconfig/conf.o scripts/kconfig/conf.c: In function 'conf_askvalue': scripts/kconfig/conf.c:105: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result scripts/kconfig/conf.c: In function 'conf_choice': scripts/kconfig/conf.c:307: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result HOSTCC scripts/kconfig/kxgettext.o SHIPPED scripts/kconfig/zconf.tab.c SHIPPED scripts/kconfig/lex.zconf.c SHIPPED scripts/kconfig/zconf.hash.c HOSTCC scripts/kconfig/zconf.tab.o In file included from scripts/kconfig/zconf.tab.c:2486: scripts/kconfig/confdata.c: In function 'conf_write': scripts/kconfig/confdata.c:508: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result scripts/kconfig/confdata.c: In function 'conf_write_autoconf': scripts/kconfig/confdata.c:745: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result scripts/kconfig/confdata.c:746: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result In file included from scripts/kconfig/zconf.tab.c:2487: scripts/kconfig/expr.c: In function 'expr_print_file_helper': scripts/kconfig/expr.c:1090: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result HOSTLD scripts/kconfig/conf scripts/kconfig/conf -o arch/x86/Kconfig * * Restart config... * * * Performance Counters * Kernel Performance Counters (PERF_COUNTERS) [N/y/?] (NEW) -- Walter Dnes waltd...@waltdnes.org
Re: [gentoo-user] Embeding a Terminal in a GTK Window
have you tried terminal, xterm, aterm, etc? On Mon, Mar 8, 2010 at 3:01 PM, dhk dhk...@optonline.net wrote: Is it possible to embed a terminal window in a gtk window? I want to be able to run a text program as usual, but have it wrapped in the GTK window so I can scroll output and other stuff to a textview. Thanks, dhk
Re: [gentoo-user] Broadcom firmware doesn't work with 2.6.32-r4
Check out http://bugs.gentoo.org/show_bug.cgi?id=304265 and then update to 2.6.32-r5 Cheers Kad On Wed, Feb 10, 2010 at 11:24 PM, Iain Buchanan iai...@netspace.net.auwrote: Hi collective, I just upgraded from linux-2.6.32-tuxonice-r1 to r4 and my network card no longer works. It is Broadcom Corporation NetXtreme BCM5756ME Gigabit Ethernet PCI Express and previously I've downloaded firmware from http://git.kernel.org/?p=linux/kernel/git/dwmw2/linux-firmware-from-kernel.git;a=tree;f=tigon and put it in /lib/firmware/tigon The config option is tg3, built into the kernel. dmesg shows: $ dmesg | grep -i tg3 tg3.c:v3.102 (September 1, 2009) tg3 :09:00.0: PCI INT A - GSI 17 (level, low) - IRQ 17 tg3 :09:00.0: setting latency timer to 64 tg3 :09:00.0: firmware: requesting tigon/tg3_tso.bin tg3: tg3_load_firmware_cpu: Trying to load TX cpu firmware on eth0 which is 5705. tg3: tg3_load_firmware_cpu: Trying to load TX cpu firmware on eth0 which is 5705. I don't know if the last two lines are normally there or not. The firmware at the above link hasn't changed (according to cksum). Google searches only produce the source code, which is pretty but doesn't help. The error detection around the print message hasn't changed since -r1. Any ideas? I'm stuck using wireless, but that's dropping in and out all the time! thanks, -- Iain Buchanan iaindb at netspace dot net dot au Experience is that marvelous thing that enables you recognize a mistake when you make it again. -- Franklin P. Jones
Re: [gentoo-user] emerge older version
try emerge =media-gfx/imagemagick-6.4.7.0 On Tue, Feb 9, 2010 at 8:45 AM, Laurent Kappler laur...@logiquefloue.orgwrote: Hi, I'm tryin to emerge ImageMagick version 6.4.7.0 while current in portage is 6.5.7. How could I do that?? thanks Laurent