[gentoo-user] Multilib wrapped headers with amd64/no-multilib profile?
Hi, In Gentoo Prefix on amd64 host with a no-multilib profile, for packages that inherit multilib multilib-minimal, the multilib-build eclass wraps headers as if multilib were enabled. One example is mpi.h header in sys-cluster/openmpi. I am using a custom modified ebuild, but the differences shouldn't be relevant to this issue. The wrapper is causing problems for me, for reasons that are not relevant here [1]. This question here is whether the wrapping should takes place at all with no-multilib profile. Wrapping happens on amd64 with this profile: gentoo:default/linux/amd64/17.1/no-multilib/prefix/kernel-3.2+ For reference, as expected, no wrapping happens on ppc64le with: gentoo:default/linux/ppc64le/17.0/prefix/kernel-3.2+ The above profile is a parent of my custom profile but this shouldn't be relevant, the custom profile is simple, it just sets compiler flags, package lists, use flags. Diagnosis: multilib-build.eclass wrapps the headers because it is detecting the "abi_flag" as set. So, as far as I understand, it (wrongly?) ends up on the code path for yes-multilib instead of no-multilib: multilib_prepare_wrappers() ... if [[ ${MULTILIB_WRAPPED_HEADERS[@]} ]]; then # If abi_flag is unset, then header wrapping is unsupported on # this ABI. This means the arch doesn't support multilib at all # -- in this case, the headers are not wrapped and everything # works as expected. ^ I want the case described in this comment, but not happening if [[ ${MULTILIB_ABI_FLAG} ]]; then ^ this is set to abi_x86_64.amd64... ...because MULTIBUILD_VARIANT is set ...because MULTIBUILD_VARIANTS contains the flag ...because multilib_get_enabled_abi_pairs() adds it there ...because 'use abi_x86_64' evaluates to true ...presumably because in gentoo/profies/sarch/amd64/ A. use.force contains abi_x86_64, and/or B. make.defaults sets IUSE_IMPLICIT="abi_x86_64" Workaround: override in my derived profile: 1. in make.defaults: USE="-abi_x86_64" 2. in use.force: -abi_x86_64 Then, 'use abi_x86_64' evals to false and the header is not wrapped. Before digging deeper, I figured I'd ask whether this is by design to end up doing multilib things with no-multilib profile, or if it's some issue with the way the ebuild is using multilib eclasses. What is the correct way to disable multilib for good? Thanks for any insights. [1] The wrapper does not cover the case when Clang is passed -target le64-unknown-unkown-unknown, which doesn't set the macros for x86_64 that the wrapper checks. I'm not faulting the wrapper, though.
[gentoo-user] Problem Compiling Ewl
Hi All, I'm trying to compile engage and it seems to be fine up until it trys to compile ewl when I get this error message I am trying to build engage on my gentoo linux 2006.0 system. My wm is e16 and my gernel is gentoo-sources. It works fine up until the point where I have to build ewl when I get this error message ewl_config.c: In function `ewl_config_config_read': ewl_config.c:228: error: `ECORE_CONFIG_FLAG_MODIFIED' undeclared (first use in t his function) ewl_config.c:228: error: (Each undeclared identifier is reported only once ewl_config.c:228: error: for each function it appears in.) ewl_config.c:229: error: `ECORE_CONFIG_FLAG_SYSTEM' undeclared (first use in thi s function) ewl_config.c: In function `ewl_config_defaults_set': ewl_config.c:411: error: `ECORE_CONFIG_FLAG_MODIFIED' undeclared (first use in t his function) ewl_config.c:412: error: `ECORE_CONFIG_FLAG_SYSTEM' undeclared (first use in thi s function) make[3]: *** [ewl_config.lo] Error 1 make[3]: *** Waiting for unfinished jobs i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../.. -O2 -marc h=pentium4 -pipe -O2 -Wall -MT ewl_container.lo -MD -MP -MF .deps/ewl_container. Tpo -c ewl_container.c -fPIC -DPIC -o .libs/ewl_container.o i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../.. -O2 -marc h=pentium4 -pipe -O2 -Wall -MT ewl_container.lo -MD -MP -MF .deps/ewl_container. Tpo -c ewl_container.c -o ewl_container.o /dev/null 21 make[3]: Leaving directory `/var/tmp/portage/ewl-/work/e17/libs/ewl/src/lib' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/ewl-/work/e17/libs/ewl/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/ewl-/work/e17/libs/ewl' make: *** [all] Error 2 Thanks in advance, Colin -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Problem Compiling Ewl
Hi All, I found out that it was entirely my fault and, really, pretty stupid. Instead of emerging the CVS code of all of the enlightenment packages, I compiled the snapshots of some and the cvs of others. I think I must have enabled ~x86 as a make.conf variable. After unmerging all of the e libs and then emerging the cvs versions, it worked fine. Sorry and Thank-You, Colin On Fri, 2006-04-07 at 12:06 +0200, Bertrand Jacquin wrote: Rebuild ecore On 4/6/06, Colin Rothwell [EMAIL PROTECTED] wrote: Hi All, I'm trying to compile engage and it seems to be fine up until it trys to compile ewl when I get this error message I am trying to build engage on my gentoo linux 2006.0 system. My wm is e16 and my gernel is gentoo-sources. It works fine up until the point where I have to build ewl when I get this error message ewl_config.c: In function `ewl_config_config_read': ewl_config.c:228: error: `ECORE_CONFIG_FLAG_MODIFIED' undeclared (first use in t his function) ewl_config.c:228: error: (Each undeclared identifier is reported only once ewl_config.c:228: error: for each function it appears in.) ewl_config.c:229: error: `ECORE_CONFIG_FLAG_SYSTEM' undeclared (first use in thi s function) ewl_config.c: In function `ewl_config_defaults_set': ewl_config.c:411: error: `ECORE_CONFIG_FLAG_MODIFIED' undeclared (first use in t his function) ewl_config.c:412: error: `ECORE_CONFIG_FLAG_SYSTEM' undeclared (first use in thi s function) make[3]: *** [ewl_config.lo] Error 1 make[3]: *** Waiting for unfinished jobs i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../.. -O2 -marc h=pentium4 -pipe -O2 -Wall -MT ewl_container.lo -MD -MP -MF .deps/ewl_container. Tpo -c ewl_container.c -fPIC -DPIC -o .libs/ewl_container.o i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../.. -O2 -marc h=pentium4 -pipe -O2 -Wall -MT ewl_container.lo -MD -MP -MF .deps/ewl_container. Tpo -c ewl_container.c -o ewl_container.o /dev/null 21 make[3]: Leaving directory `/var/tmp/portage/ewl-/work/e17/libs/ewl/src/lib' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/ewl-/work/e17/libs/ewl/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/ewl-/work/e17/libs/ewl' make: *** [all] Error 2 Thanks in advance, Colin -- gentoo-user@gentoo.org mailing list -- gentoo-user@gentoo.org mailing list
[gentoo-user] Superblock error
Title: Hello all, Hello all, I have just tried the Gentoo challenge (installing Gentooo from the minimal CD) and have failed. :-( I get an error stating that The superblock could not be read of does not describe a correct ext2 filesystem. Im almost sure that its an error in my fstab file? However I try and change it by mount /dev/hda1 nano /etc/fstab I can see the file however I can not write to it. How can I modify my files? Colin
RE: [gentoo-user] Superblock error
Title: Hello all, Ok ive found out how to modify the files eg Insert livecd # mount /dev/hda3 /mnt/gentoo# mkdir /mnt/gentoo/boot# mount /dev/hda1 /mnt/gentoo/boot Then i went to the fstab file on the drive (not on the disk) and modified it; It reads --- /dev/BOOT /boot ext2 noauto,noatime 1 2 /dev/ROOT / ext3 noatime 0 1 /dev/swap none swap sw 0 0 /dev/cdroms/cdrom0 mnt/cdrom iso996 noauto,user 0 0 - However, gentoo still does not boot? The error is; -- Fsck.ext3: No sufh file or directory while trying to open /dev/ROOT /dev/ROOT: The superblock could not be read or does not describe a correct ext2 filesystem. IF the device is valid and it really contains an ext2 filesystem (and not swap or anything else), then the superblock is corrupt, and you might try running e2fsck with an alternate superblock: e2fsck b 8193 device --- Ive tried e2fsck b 8193 /dev/hda1 Which also failed, no such file! Can somebody please help me??? Colin From: Colin Wildsmith [mailto:[EMAIL PROTECTED]] Sent: Wednesday, 25 January 2006 7:32 AM To: gentoo-user@lists.gentoo.org Subject: [gentoo-user] Superblock error Hello all, I have just tried the Gentoo challenge (installing Gentooo from the minimal CD) and have failed. :-( I get an error stating that The superblock could not be read of does not describe a correct ext2 filesystem. Im almost sure that its an error in my fstab file? However I try and change it by mount /dev/hda1 nano /etc/fstab I can see the file however I can not write to it. How can I modify my files? Colin
[gentoo-user] best filesystem for Gentoo
Hi List, Any comment on the best filesystem to use for Gentoo running a webserver, I prefer more speed and less journaling, is there a standard? -- gentoo-user@gentoo.org mailing list
[gentoo-user] Webserer monitoring tools
Hi List: I have just purchased a refurbished PC - PIII, 450, 128mb ram, Network card, 10GB. Also just purchased Broadband connection (2mb's, upsteam 288kbps) I want to use the machine as a webserver over the broadband. and host my own site (which currently runs on a free ISP) As it's a low spec machine and I don't want the website to run totally crap, I'm thinking to use Gentoo's flexibility and speed to install it as a totally dedicated webserver(Apache,PHP,PERL). As long as it can take about 6-8 users on at a time without struggling this will be fine. Does anyone have any advice about monitoring software/apache modules that I can use to check how many connections, connection speed, resources (CPU) so I can monitor how the webservers doing, if it's getting overloaded etc. Hope this is an appropriate forum (I've just subscribed so not sure), if not any suggestions. Many Thanks Colin -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Correct CHOST setting for Intel(R) Pentium(R) 4 CPU 1.70GHz stepping 02
On Aug 4, 2005, at 1:29 AM, Richard Watson wrote: Thanks Colin, I've (unfortunately) already compiled my system. Can I re-compile everything with: # emerge --update --ask --deep --verbose --newuse --tree world The reason I'm looking into this is Kino keeps crashing, as do other data intensive, high CPU applications. This is definitely a case of flaky hardware or insufficient cooling. Don't bother recompiling your system, work on finding the culprit. I recommend a thorough dusting, inside and out, followed by a couple passes of memtest86. But if you do want to recompile, re-bootstrap and emerge your system first: cd /usr/portage scripts/bootstrap.sh emerge -Davenut system # no offense to any Daves, this is just easy to remember. It's your stuff plus --emptytree. emerge -Davenut world Rebuild your kernel. -- Colin -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Testing how secure a server is...
On Aug 2, 2005, at 7:50 PM, Raphael Melo de Oliveira Bastos Sales wrote: Hi there, I was wondering what tools should I use to detect security flaws to my server and a few tips on how to use them. What are the most common forms of attack and how do I avoid being attacked by one of them? The services avaliable are only Apache - SSL and SSH. I've installed an firewall, iptables and firestarter to control it, and blocked all ports except 443 and 8080, where the SSH is listening. Apache has PHP installed as a module. Want to know how secure your server is? Try and hack it! A good port scanner like nmap should be a basic check of your firewall. I would also set nmap (if it can do this) to perform a SYN flood as it scans, to see if your server can withstand that basic DoS attack. (Adding --syn to your TCP rules in iptables can prevent SYN flooding when used with SYN cookies.) When you break in, find out why it worked and how it can be patched. Some things I would advise (I'm currently working on a server at the moment as well): - If the server is really important (or if you're paranoid), use the hardened-sources with PIE/SSP to prevent badly-written programs from arbitrarily executing code. - Enable SYN flood protection. There's a kernel option somewhere about IPv4 SYN cookies, enable that, and couple it with --syn attached to your TCP rules in iptables. It's a very popular denial- of-service attack. - Whenever you need to login or authenticate yourself, make the system delay five seconds after a bad password is entered. This will make a brute-force attack much much slower (0.2 passwords/sec as opposed to millions passwords/sec without a delay, depending on your server's speed). - Make sure iptables is set to deny all traffic that isn't explicitly allowed. - Turn off any services you don't need. - Read through your logs every now and then. I highly advise having the server burn them to a CD/floppy every now and then for an instant backup. Get a log reader/parser, too. Naturally, hide the server in the attic or basement. Chain it to something, or if it has a security slot, use a security cable. Put a lock on the case door. Unplug your floppy/CD drives if you're not using them. As of this writing, there is no kernel option to keep your computer or its innards from walking away. :-) -- Colin -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Testing how secure a server is...
On Aug 2, 2005, at 9:18 PM, Raphael Melo de Oliveira Bastos Sales wrote: Hey Colin, I was looking at the /etc/ssh/sshd_config file and found these: LoginGraceTime 600 MaxAuthTries 6 Is the first one what you meant? The second seems like an attempt to avoid brute force login. Neither is what I was thinking of, but they're quite similar. LoginGraceTime means if nobody logged in within 10 minutes of the connection being opened, then it will be closed. I don't know exactly what MaxAuthTries does, but I imagine after the sixth invalid login, the connection would be closed. I found this site, check it out. It's for Red Hat (Gentoo is better!), but it's the same SSHd: http://www.faqs.org/docs/securing/chap15sec122.html Also, does Grub need any kind of password protection? I don't know if it was Grub or Lilo that allowed root access unless password protected. Am I mistaken? GRUB does have some password protection, but it is optional and only needed IIRC if you want to boot something other than the default entry. As you can see, I still have a lot to learn. ;) Me too. I'm waiting for some more hardware to arrive before I connect this server to the networks (it's primarily a NAT gateway with iptables, but also *for the LAN, not the Internet* runs Apache, ProFTPd, SSHd and rsyncd for Portage). -- Colin -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Dual Core CPUs SATA HD
On Jul 30, 2005, at 5:40 PM, Dhruba Bandopadhyay wrote: Hi, I'm just about to install gentoo on a dual core Intel CPU machine with a SATA HD. So, essentially, I have two questions. What CFLAGS are recommended for a dual core CPU and what precautions must one take to have the SATA HD recognised by the install media? I don't think the CPU is 64 bit in case you need to know. A multi-core single-CPU system (yours) is virtually identical to a single-core multi-CPU system. I would use MAKEOPTS=-j2 or higher (basically, twice what you would do for a single-processor system) in your make.conf to take advantage of all that parallel processing power. Use the normal CFLAGS and CXXFLAGS, there aren't any special options for multiprocessor systems there. When you compile your kernel, be SURE to include SMP (symmetric multi-processing) support to let the kernel use both cores. SATA hard drives, if supported natively by the southbridge, require no extra drivers. Since your motherboard must be relatively new, this is your case. If they aren't supported natively, one of the various sata_* modules will autoload and handle it. They might be enumerated as SCSI devices, though (/dev/sd* rather than /dev/hd*), but I believe this is perfectly normal. -- Colin -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Recommend me a good PCMCIA wireless network card
On Jul 24, 2005, at 2:54 AM, Greg Bur wrote: On 7/23/05, Ian K [EMAIL PROTECTED] wrote: Hi there, I have an older laptop that I want to add to my network, (its a 802.11B one) and I was wondering what brands/models would work the best under Linux. Im fairly flexible, and would really not like to tinker with too many drivers. Any good ideas? Thanks! I've always had good luck with cards that use the Orinoco chipset and the only time I've had to tinder with drivers was when I wanted to get Kismet working with the card. You should be able to pick one up for under $50. Check out http://www.proxim.com or http://www.buffalotech.com for more details. Just remember, if the laptop isn't going too far, a good length of Ye Olde Cat5e is a much cheaper solution. That being said... Yeah, I picked up a great Orinoco (branded as Enterasys) at Rokland.com last month for roughly $50. Atheros chipset, 802.11a/ SuperA/b/b+/g/SuperG... very nice. It works in Windows (with the driver CD), Mac OS X (with the shareware OrangeWare driver--totally worth the $15 shareware fee) and, naturally, Linux (with MADWIFI). It picks up Channels 1 through 14, and can put out up to 100 mW of power (40 mW on A networks). There's no antenna jack, though, but I hear most PCMCIA Orinocoes can be modded to include some kind of external jack; I'm not that desperate for power, but with dial-up at home, I might do that mod and build a yagi antenna, get in my car, and... well, you get the idea. :-) Still haven't had any luck with KisMAC (the OS X port of Kismet), though. It finds my card but doesn't detect my wireless network... I'll figure it out eventually. -- Colin -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Recommend me a good PCMCIA wireless network card
On Jul 24, 2005, at 3:56 AM, Richard Fish wrote: Ian K wrote: My other laptop has a nice atheros wireless card, very painless to set up. I dont know what chipsets are on what cards, so perhaps you could give me a model name and brand? Unfortunately, neither does anybody else on this list. This is because manufacturers have a habit of changing chipsets without changing model numbers. So lot #1234 can be atheros, while #1235 can be intersil, #1236 can be, well you get the picture. The best is to buy from a store with a liberal return/exchange policy...of course it always helps if it says supports linux on the box! Yeah, if you've listened to this list, you'll know some chipsets are good, and some are just plain bad. Bad chipsets (Broadcom, PrismGT, ACX100, ACX111) are not supported well if at all under Linux. (Hell, even Windows choked on a Windows-only ACX111 card.) You may have success with the Windows drivers and NDISwrapper, but more than likely this is one for shipping back to your e-tailer. These chipsets being el cheapo, they pop up in a lot of low-end consumer wireless devices. Good chipsets (Atheros, Atmel, Intersil, Orinoco, Prism, Prism2) are natively supported by Linux, and most of them can be loaded from the LiveCD with the modprobe command. The rest are usually supported by building in support when you build the kernel. Sadly, these are more expensive because all the hardware is on the card, and nothing is emulated via a driver (remember Winmodems vs. hardware modems? This is it all over again.) But you do get what you pay for, as a lot of enterprise-level solutions have these chipsets, and they boast excellent reliability, compatibility and range. Any other chipset, just Google. Some manufacturers stick to one chipset (like Apple does Broadcom). However, most manufacturers often change chipsets during production without warning, keeping the same model number and just tacking on a Revision B, often written on the card only but most do write it on the box in tiny print. Just wait until no one's looking and open up the box and check :-) As for supports Linux, there are far too many distros, drivers, hacks and configurations to test with. Maybe they tested Debian with MADWIFI? Slackware with NDISwrapper... and which Windows driver? If it says Linux compatible, don't take it as a green light. Take it as a yield sign instead--look first, then go. If you've got a laptop, bring it and a LiveCD to the store (if you don't buy it online) and give it a whirl... with permission, of course. And slip the boy at Best Buy a couple Alexander Hamiltons ($10 bills, in case you forgot your U.S. history) for making him put up with you testing a million different cards and not finding anything that works. :-P -- Colin -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Gentoo not detecting full amount of memory
On Jul 24, 2005, at 3:46 PM, Mark Shields wrote: I recently got my home server back up and running after the power supply went out. I put some more memory in it, and it shows up fine as 1048576 KB (1 gigabyte). Gentoo, however, is only showing it as 904336 KB (883.14 MB) . I'm curious as to why it's not detecting 140.86 MB. Originally the server had a 512mb stick of generic PC2700 memory; I put 2 sticks of 256 MB (Mushkin, PC3200). The FSB is set to 133 mhz and cpu/mem ratio is set 1:1 (Athlon XP 2400+ for the processor). It's running in a dual channel memory config. [EMAIL PROTECTED] ~ $ cat /proc/meminfo | grep Mem MemTotal: 904336 kB MemFree: 91224 kB Any ideas? Hm, now this is a toughie. Barring any BIOS misconfigurations, I'd say that you might have a defective stick of RAM. Try booting another OS and see if it can detect the full gigabyte; if it happens then it's probably a hardware problem, not a Gentoo issue. -- Colin -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Gentoo not detecting full amount of memory
On Jul 24, 2005, at 5:04 PM, Richard Fish wrote: Mark Shields wrote: [EMAIL PROTECTED] ~ $ cat /proc/meminfo | grep Mem MemTotal: 1034284 kB MemFree:953172 kB Thanks for the tip. But strangely, 12mb is still missing. I am pretty sure this is actually correct, and depends upon your BIOS options. All of those cache this or that ROM into memory options eat some some ram. You can disable those to try and get some more memory, but your system performance will probably suffer overall. Modern operating system like Linux 2.6 and WinXP bypass the BIOS after the initial bootup, so caching the system/video BIOSes is just a waste of memory if you're using Gentoo. Caching video RAM was nice back in the days of ISA video cards, but with PCI/AGP/PCI-X video cards, shut off that option. -- Colin -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Tape to CD conversion advice needed
On Jul 23, 2005, at 3:34 AM, Dave S wrote: Hi all, I need some advice, I need to convert some talks at my local group from tape to CD. I have a mike input on my audio card so connecting the audio should not be a problem. I believe that the mic input is handled differently than the line input (automatic gain control, decibel boosts, etc.). Use your card's line input jack instead. It should be right next to the mic jack. In most color schemes, it's usually the blue one (red=mic, green=out); read the labels if you're not sure. What file formats do standard CD players play ? I would guess mp3 but there do not appear to be any mp3 encoders for linux, ogg would be great but I doubt that it would play. Standard CD players play waveform audio (WAV), but I believe it needs to be aligned to the CD block boundaries. However, you'll need to burn it as an audio CD, not a data CD, otherwise it will be unreadable to the CD player. Most CD players nowadays can play back MP3 data CD's but there's no standard, not even a de facto one, for this. Dare I say it? Most people do have computers, so if your local group doesn't make Learn [subject] While Driving tapes, it may be cheaper and easier to simply forgo the physical medium and stick them on a web server for downloading/streaming/podcasting. MP3's of people talking don't require the higher bitrates that music does, so you can drop the bitrate and change it to mono (one-channel audio) to save some server space/bandwidth. Can anyone suggest an application to get the files from the tape change them into said format ? (Simple is good, I dont need a recording studio :)) Anything that can listen to your card's line-in will do. I haven't done it on Linux, but on Windows/Mac OS X, pretty much any program will do it. As for burning, most programs that can burn an audio CD take MP3/WAV/OGG/WMA/AAC files (your choices may vary depending on the app) as input and do the conversion themselves behind the scenes before burning. -- Colin -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Howto speed up compilations
Neil Bothwick wrote: On Mon, 18 Jul 2005 14:14:41 -0300, Bruno Lustosa wrote: A few weeks ago I read in one of the newgroups a way to greatly decrease compilation times. The author noted that this was particularly noticable when working with something like OO. The general jist of it was to create temporary file system in memory and mount your portage tmpdir there. For the life of me, I can't find that thread anymore. Does anyone do something similar to this? Are there noticable gains to be had. I have an Athlon 2800XP and 1 GB ram. I am not sure if this will give a tremendous speedup. Granted, the source files won't need to be read from disk, which is an advantage, however, the file reading time should be very small compared to the time it takes for the compiler to translate the source code into machine code. Also, there's the ammount of memory you will lose, memory that could be used by the compiler. In some cases, gcc can eat very big chunks of memory. Not to mention the OOo ebuild needing around 3GB of space in TMPDIR, so this approach would only result in the emerge failing quicker. Not if you've got a machine with more than 3 GB of memory. A dual-proc Power Mac G5 can handle up to 8 GB of physical RAM. If you did this trick on one of those, you might see some serious improvement! But with most PC's being limited (by the x86 and motherboard designs) to 2 GB of physical RAM, it wouldn't work with large apps. A good suggestion would be to grab some old computers, Gentoo-ize them, network them over 100BaseTX or Gigabit and make a little distcc farm. Plus, you can charge people if they want to come over and rent your computing power. (Virginia Tech does that with their System X, 1,100 dual-2.3GHz-processor XServe G5's.) :-) -- Colin -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Can't mount a fat32 partition
aabb wrote: Hi, Here's a strange one... I use 2 partitions for Windows 98, hda1 and hda5. I set both up as type c (fat32 LBA) during my gentoo installation, using fdisk. The entries in /etc/fstab are almost identical: /dev/hda1/mnt/win_cvfatumask=0,noexec 0 0 /dev/hda5/mnt/win_dvfatumask=0,noexec 0 0 Any of the mask entries correspond to octal permission; therefore, they need to be three-digit numbers. I recommend 022 (rwxr-xr-x), but I assume you want 000 (rwxrwxrwx). Don't forget to set uid and gid or else only root will have access to the files! -- Colin -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Seeking recommdations for multi-card reader.
John J. Foster wrote: Good evening all. My San Disk ImageMate dual reader said goodbye to our family today. She should have left a few months ago. So, what I'm searching for is a replacement reader. I saw some good reviews for ImageMate® 8-in-1 Reader/Writer. I don't really need all eight, but so what. What I'd really like, though, is the ability plug and unplug cards while the reader remains attached via usb2 or firewire. My old San Disk gave me problems for years. Sometimes no connection. Sometimes inserted card could be any of sdb[1-15]. Udev helped with this a little, but basically the reader was a POS (for you wtf users). I'm looking for something that will react the same every time. Any recommendations? I've got an AFT PRO-9. It's a 9-in-1 connects via USB 2.0 internally/externally and has Secure Digital, Multimedia Card, SmartMedia, xDigital, Memory Stick, Memory Stick Pro, CompactFlash, MicroDrive and a 4-pin FireWire 400 port (pass-through, you need a FireWire port somewhere on your computer). I've only tested it with an SD card, and it seems to work perfectly. To use this, you need to compile in SCSI support (the same you need for USB Mass Storage) and make sure you select the Probe all LUN's option. -- Colin -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Is it possible to mirror 2 drives, that are currently striped in LVM2?
Ow Mun Heng wrote: On Thu, 2005-07-07 at 17:50 +0200, Jakub Krajcovic wrote: Hi Guys, the subject says it all, but i'll go into more detail now, if anyone would be interested in helping. I currently have my system installed on 2 40GB IDE drives. They are in an LVM volumegroup, and the 2 drives are striped. What i need to do is transform this striped disk cluster into a mirror. (preferably using the most cheapest and painless method). I kind of know my way around LVM, so i don't really need a _totally_ detailed answer, but i need to know, if this that i am trying to accomplish is a) possible b) what are the steps that i should follow in order to do this? I was thinking like this: use pvmove or something to move all of the pv's from one disk to the other, then reduce the volumegroup (remove the disk eg physical volume from it) add it as a mirror... Seems to me the best way to do this would be a third Disk. Is this an option?? Personally, I'd just get two more disks and turn it into a RAID 0+1 setup. If you've got the space, the money and the Molex connectors, I'd go for it. Or just get one more disk, backup your data, create a three-drive RAID 5 volume and then copy it all back. RAID 0+1 would be easier to setup, require much less overhead and have more fault-tolerance than a three-disk RAID 5 setup. However, it's more expensive (you need two more disks instead of one more) and it's not as cool-sounding as RAID 5. :-P -- Colin -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] AMI MegaRAID 428 Ultra SCSI RAID Controller
Daniel Drake wrote: Colin wrote: It's not being detected under the LiveCD. I booted with doscsi, but I don't see /dev/sda. In addition, lspci tells me this: :00:11.0 Unknown mass storage controller: American Megatrends Inc. MegaRAID 428 Ultra RAID Controller (rev 04) What do I do? We should be supporting this hardware as of our 2005.1 release. Any chance you could post the lspci -n output? The system's online right now, but once it finishes installing, I'll shut it down and put the card back in. It might take a few days at this rate (stage1 on a Pentium II, no distcc), but you'll get your lspci -n. -- Colin -- gentoo-user@gentoo.org mailing list
[gentoo-user] PHP 5 and MySQL 5
Are these in Portage? Masked versions are fine. -- Colin -- gentoo-user@gentoo.org mailing list
[gentoo-user] AMI MegaRAID 428 Ultra SCSI RAID Controller
It's not being detected under the LiveCD. I booted with doscsi, but I don't see /dev/sda. In addition, lspci tells me this: :00:11.0 Unknown mass storage controller: American Megatrends Inc. MegaRAID 428 Ultra RAID Controller (rev 04) What do I do? -- Colin -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Anyone here running MythTV (frontend only?)
Mark Knecht wrote: On 7/4/05, Ow Mun Heng [EMAIL PROTECTED] wrote: On Mon, 2005-07-04 at 16:21 -0400, Justin Hart wrote: Honestly, if you're not recording television, I would use vlc. Well, I want to use it as a set top box. -- Ow Mun Heng Hi Ow, I'm only guessing but I think it probably won't work without the MySQL server as it's so tied into that even for TV schedules and such and that's all done through the database. - Mark I'm not familiar with MythTV, but is it possible to put the server and frontend on the same machine? That sounds like it will work, at least in theory. -- Colin -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Something is seriously wrong with my hard drive partitions
Ian K wrote: A. Khattri wrote: On Sun, 3 Jul 2005, Ian K wrote: ReiserFS: hda4: Using rd5 hash to sort names VFS: Cannot open root device hda4 or unknown-block(3,4) Please append a correct root= boot option Kernel Panic - not syncing: VFS: Unable to mount root fs on unknown-block(3,4) So you know: hda1 = NTFS hda2 = boot hda3 = swap hda4 = root I need lots of help! Thanks! Ian PS If I need to wipe Gentoo, is there any way to recover some important files of mine? It said 'fsck?' does this mean it could be recoverable? Again, my higher priority I boot off the LiveCD then run fsck on the partitions: # fsck -y /dev/hda4 If it successfully fixes it then you can reboot (remove CD) hopefully back into Linux. Here are the results: # fsck -y /dev/hda4 ### reiserfsck ### Replaying Journal.. Reiserfs journal '/dev/hda4' in blocks [18.8211]: 0 transactions replayed Checking internal tree../ 1 (of 4)block 32866; The level of the node (28521) is not correct, (3) expected. the problem in the internal node occured (32866), whole subtree is skipped finished Comparing bitmaps..vpf-10640: The on-disk and the correct bitmaps differs. Bad nodes were found, Semantic pass skipped 1 found corruptions can be fixed only when running with --rebuild-tree ### reiserfsck finished date ### Thats the output. Thanks! Run fsck with the --rebuild-tree option. However, this will cause any/all folders to be renamed and stuck inside /lost+found. At least that's what happened to me. Then you'll have to sift through files and save the ones you can. This is why I make backups of my config files and save them on my /home partition. Now when I go to reinstall Gentoo (as soon as I get my new hardware), I can copy back make.conf and the other important ones and get back up to speed faster. Also copy over your distfiles if you find them, that saves a lot of time. -- Colin -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] compile probs in general (tightvnc in particular)
James Ferguson wrote: i686-pc-linux-gnu-3.3.5 * was already set as default. so I evn-update and source /etc/profile, still got the same error. am I right in assuming that i need to set my default profile to i386-pc-linux-gnu-gcc ? gcc-config -l shows these options: [1] i686-pc-linux-gnu-3.3.5 * [2] i686-pc-linux-gnu-3.3.5-hardened [3] i686-pc-linux-gnu-3.3.5-hardenednopie [4] i686-pc-linux-gnu-3.3.5-hardenednossp how do i create one for i386 or more likely how do i get tightvnc to compile with this profile. Well if you don't have it, then this isn't the problem. Re-select profile 1, env-update, source /etc/profile and see if it works. If not, then it's something that I can't help you with. -- Colin -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Windows XP - Gentoo - Lilo Loader Question
Richard Watson wrote: So far I've tried to fix it by removing substituting lba32 / compact / linear from /etc/lilo.conf (yes I /sbin/lilo and recreate the linux.bin file for the XP bootloader). The drive is a 200MB Seagate. I'm not a LILO kinda guy, but a 200 MB drive was more than likely made before LBA was invented. In the BIOS, switch it over to CHS mode (usually Normal) and see if that does anything. -- Colin -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] (A bit OT) Gentoo on a Dell OptiPlex G1
Walter Dnes wrote: On Sun, Jun 26, 2005 at 04:36:51PM -0400, Colin wrote Has anyone had any experience with this? Would Gentoo install and run on this machine without any problems? It looks like it will make an ideal server/NAT gateway/distcc node/rsync server/DHCP server/DNS server/wireless AP for my home network. As long as you don't try loading X/gnome/KDE you should be OK. Just to see if it could be done, I got Gentoo working on a 400 mhz PII, Dell Optiplex GX1. There was one weird setting I needed in /etc/make.conf MAKEOPTS=-j1 With the recommended -j2 setting, compiles were blowing up. Other than that, and being a bit slow, it was OK. How large is the hard drive? I'm not loading any DE's, just the basic server stuff like OpenSSH, Squid, iptables, dhcpd, dnsmasq, ProFTPd, rsync, distcc, Samba, hardened-sources, etc. This is still in the planning stages. I've read through the Home Server HOWTO on the Gentoo Wiki site, that's where I got this great idea. Taking a guess here: CHOST=i686-pc-linux-gnu CFLAGS=-O2 -march=pentium3 -pipe -fomit-frame-pointer -fstack-protector CPU: Undecided, some flavor of Pentium III RAM: 256 MB Storage: 700 MB IDE (/boot, something else) Storage: 18.2 GB Ultra160 SCSI (on a Series 428 MegaRAID) OS: Windows NT Server... kidding! Gentoo! -- Colin -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] compile probs in general (tightvnc in particular)
James Ferguson wrote: Hi All, Im having trouble emerging tightvnc, I'm running a 2005.0 stage 3 system this is the error im getting: gcc-config error: Could not run/locate i386-pc-linux-gnu-gcc make[2]: *** [vncauth.o] Error 1 make[2]: Leaving directory `/var/tmp/portage/tightvnc-1.3_alpha5/work/vnc_unixsrc/libvncauth' make[1]: *** [all] Error 2 make[1]: Leaving directory `/var/tmp/portage/tightvnc-1.3_alpha5/work/vnc_unixsrc' make: *** [World] Error 2 If anyone could suggest a cause for this i would be greatfull, as a lot of other software i have been trying to install has been failing to compile and im starting to think it could all be related. I had the same problem while bootstrapping. After the bootstrap failed, I just ran gcc-config to switch to i686-pc-linux-gnu-gcc-3.3.5, and continued the bootstrap where I left off.. Use gcc-config and select a new compiler. Then env-update; source /etc/profile and emerge again. -- Colin -- gentoo-user@gentoo.org mailing list
[gentoo-user] (A bit OT) Gentoo on a Dell OptiPlex G1
Has anyone had any experience with this? Would Gentoo install and run on this machine without any problems? It looks like it will make an ideal server/NAT gateway/distcc node/rsync server/DHCP server/DNS server/wireless AP for my home network. Also, I'd like to put a Pentium III in this machine, since it will be under a decent load most of the time. A 550 MHz Slot 1 Pentium III is possible in this machine, but I want more power. I've heard about someone using a slocket (Slot1-Socket370 adapter) and an FC-PGA2 adapter in the slocket to successfully use a 1.4 GHz Pentium III (Tualatin core). Has anyone out there put a Socket 370 processor in this machine? -- Colin -- gentoo-user@gentoo.org mailing list
[gentoo-user] (A bit OT) Gentoo on a Dell OptiPlex G1
Has anyone had any experience with this? Would Gentoo install and run on this machine without any problems? It looks like it will make an ideal server/NAT gateway/distcc node/rsync server/DHCP server/DNS server/wireless AP for my home network. Also, I'd like to put a Pentium III in this machine, since it will be under a decent load most of the time. A 550 MHz Slot 1 Pentium III is possible in this machine, but I want more power. I've heard about someone using a slocket (Slot1-Socket370 adapter) and an FC-PGA2 adapter in the slocket to successfully use a 1.4 GHz Pentium III (Tualatin core). Has anyone out there put a Socket 370 processor in this machine? -- Colin -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Dell Optiplex, New HD, Won't Boot from HD after install
Richard Fish wrote: Michael Haan wrote: I don't know what is going on here. I've installed x86 2005.0 on a Dell Optiplex. I've installed a new harddrive (b/c I took the factory one for another gentoo box), run through the x86 install, built a kernel and installed grub. The box refuses to boot from the hard drive. In fact, in the BIOS setup, it refuses to let me specify the hard drive as a boot option. Anyone have any idea why? Is there a BIOS update available? Grab the update and put it on a floppy/CD, and flash your BIOS to the latest version. You might have a bug in your BIOS. One of my motherboards' BIOSes didn't support hard drives 32 GB, but the patch included an error in autodectection, causing my 60 GB hard drive to appear as 2.1 GB in the BIOS when set to LBA mode. Gentoo didn't have any problems with it, even without hdx=stroke, so I think that was just a display error. But the update was well worth it, anyway. A more obscure BIOS tactic common back in the day was to put all or part of it in a hidden area on the primary master hard drive. This might be your issue, except I think this was only Compaq 486/Pentium systems. Name-brand computers always have some proprietary feature to keep us power users away (like warranties, or older Dells' nonstandard power supplies). -- Colin -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Filesystem wars - ReiserFS 3.6 vs. JFS
A. Khattri wrote: On Tue, 21 Jun 2005, Colin wrote: Right now, I'm having PartitionMagic 8.0 check each sector of the disk, to see if it was a hardware problem. (It'd better not be, I bought this disk not even a year ago!) If its Maxtor I would not be surprised... Nope, Western Digital. Their drives are pretty good. I've got an old 700 MB drive from 1994 that's still alive and seeking. Besides, PartitionMagic found no errors. I used to use a Maxtor, though. That thing was 7200 RPM, ATA/133 and very thin, so it got very hot very quickly. I wouldn't be surprised if it failed. Now it's running the family computer, which is fairly well-ventilated. I stuck a heatsink/fan on the bottom of the drive just in case; it runs much cooler now. This filesystem wipeout was my fault anyway. I made a n00b mistake involving /dev... let's not go off-topic. -- Colin -- gentoo-user@gentoo.org mailing list
[gentoo-user] (Slightly OT) PC IDE cards in a Gentoo-ed Mac?
Mac IDE cards are more expensive than PC IDE cards. I've got a SIIG Ultra ATA 100 PCI RAID controller lying around and a couple of IDE drives. Now, the card's firmware isn't Mac compatible, and none of my Macs (all PCI-based OldWorld architecture) have onboard IDE. Would the PowerPC version of Gentoo (2.6.10-gentoo-r8) be able to detect and use this card? As for booting the system once it's installed, would quik be able to detect the card or would I still need a SCSI disk to boot the Mac OS (for BootX)? -- Colin -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Filesystem wars - ReiserFS 3.6 vs. JFS
Raphael Melo de Oliveira Bastos Sales wrote: Sorry, but I have to ask, what was your n00b mistake? I don't want to do the same ::sigh:: Okay, here we go. /dev is full of device nodes that I'll never have, like ESDI drives, fd1 and all those pty/tty's that I had long since taken out of the kernel. So I thought I'd delete everything in /dev (booted from the LiveCD so udev wasn't up), shut off the udev tarball and then let udev recreate only what I had from sysfs. I had over 1300 items inside /dev and it was impossible to easily browse or ls it, so it seemed like a good idea at the time. Now I realize that maybe I should have been more selective instead of rm -rfing the whole folder. Well, that's what NOT to do. Please keep the flames to a minimum. -- Colin -- gentoo-user@gentoo.org mailing list
[gentoo-user] Filesystem wars - ReiserFS 3.6 vs. JFS
Who is Colonel Panic and why did he crash my computer? :-P Anyway, I had a kernel panic, which ended up destroying my ReiserFS partition. I had to rebuild the tree from scratch as reiserfsck recommended, and I ended up with my complete Gentoo install in the lost+found folder. I salvaged what I wanted (distfiles and some configuration files from /etc) to make re-installation much easier, and instead of renaming all the folders and moving them back into place (impossible, anyway), I'm going to reformat and re-install everything from scratch. Right now, I'm having PartitionMagic 8.0 check each sector of the disk, to see if it was a hardware problem. (It'd better not be, I bought this disk not even a year ago!) I might go with ReiserFS again, because no filesystem is perfect, but Reiser comes very close to it despite this latest problem. I'm also considering JFS, but I can't find any comments about it. Has anyone on this list had any experience with JFS as a general-purpose file system, and would you recommend it over ReiserFS 3.6? -- Colin -- gentoo-user@gentoo.org mailing list
[gentoo-user] ndiswrapper problems
Finally. I'm sending this email from a working Gentoo system. My wireless card (D-Link DWL-120+, ACX100 chipset) had trouble with acx100, so I unmerged that and gave ndiswrapper a shot. As you can see, it works, despite not being listed on ndiswrapper's compatibility page. (I should probably add it.) Anyway, the problem here is that when you reboot the system, the wireless card doesn't find my access point (D-Link DI-614+), not even with iwlist wlan0 scan. It's only after bringing down wlan0, bringing up wlan0, and issuing iwconfig wlan0 mode managed essid my network ESSID channel my channel key open s:my key nick computer's nickname commit that it might come online. And then I need to run dhcpcd and then re-add the gateway (it's a different computer, not the AP). If it still doesn't work, I just mess around until I can ping an outside host. Is there an easier way to make this cheap card work without manual configuration all the time? net.wlan0 isn't in my /etc/init.d directory, but I did add wlan0 is in the autoloaded modules list. Kernel 2.6.11-gentoo-r11. Using the tiacxusb.sys and tiacxusb.inf Windows drivers. -- Colin -- gentoo-user@gentoo.org mailing list
[gentoo-user] SB Audigy Platinum (emu10k1) mixers
There are so many of them, and the names don't correspond with what they do in Windows. I can figure out what most of them mean, but there are a few mixers that I just can't figure out. Maybe someone can help me complete this list? Master - Master Volume Tone - ? Bass Treble PCM - ? PCM Center - ? PCM Front - ? PCM LFE - ? PCM Surround - ? Front - Front speaker volume Surround - Rear speaker volume? Center - Center channel volume LFE - Subwoofer volume Music - MIDI synthesizer volume? Line - The analog line input on the back of the card Line2 - The microphone jack on the LiveDrive CD - Is this the analog (4-pin cable) or digital (2-pin) connector? Mic - Microphone jack on the card Mic Boost - 20 dB microphone boost Phone - TAD port on the card. IEC958 Optical - ? (It's either SPDIF in, SPDIF out, optical in or optical out.) IEC958 Optical Raw - ? PC Speaker - ? Aux - Auxiliary MPC-2 4-pin input on the card. Aux2 - The RCA jacks on the LiveDrive Analog Mix - CD, Line In, Line In 2, Aux, Aux 2, Mic, Phone (if I remember correctly) Audigy Analog/Digital Output Jack - As far as I can tell, this switches between analog output and digital output Audigy CD - Maybe the digital CD (2-pin) input? External Amplifier - Does this toggle SPDIF AC-3 decoding? That's my best guess. System information: Using ALSA 1.0.8, emu10k1 support is compiled into my kernel, 2.6.11-gentoo-r11. Sound works perfectly. I have the LiveDrive! attachment for the card... I love that thing. As reported by AlsaMixer: Card=Sound Blaster Audigy. Chip=TriTech TR28602. -- Colin -- gentoo-user@gentoo.org mailing list
[gentoo-user] Can't mount vfat partition
I just can't mount this FAT32 partition: /dev/hde5 /home/colin/Documents vfat uid=colin,umask=122 0 0 When I try to mount it, I get this error: mount: wrong fs type, bad option, bad superblock on /dev/hde5, or too many mounted file systems I've tried every mount command I could think of. It mounted under the LiveCD. Yes, I've compiled in msdos, VFAT and NTFS support, but it just refuses to mount. -- Colin -- gentoo-user@gentoo.org mailing list
[gentoo-user] Scroll wheel doesn't scroll
Sorry for all the messages all at once. I've noticed recently that my mouse's scroll wheel isn't working. How do I turn on the wheel in X (since I'm guessing it's off)? -- Colin -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Can't mount vfat partition
Zac Medico wrote: Colin wrote: I just can't mount this FAT32 partition: /dev/hde5 /home/colin/Documents vfat uid=colin,umask=122 0 0 When I try to mount it, I get this error: mount: wrong fs type, bad option, bad superblock on /dev/hde5, or too many mounted file systems I've tried every mount command I could think of. It mounted under the LiveCD. Yes, I've compiled in msdos, VFAT and NTFS support, but it just refuses to mount. -- Colin After you try to mount does the output of dmesg|tail have anything interesting? What's the output of fdisk -l /dev/hde? Have you been able to mount other vfat filesystems with this kernel, perhaps a floppy or usb flash drive? Found it! It was complaining about the iocharset iso-8859-1 not existing. I must have mistyped that when I was building the kernel. I just stuck iocharset=iso8859-1 into my fstab and now it mounted just fine. Thanks for the tip, didn't expect to find that in dmesg--I thought that was just for boot-up messages. -- Colin -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Is the Gaim window dockable?
Ow Mun Heng wrote: On Thu, 2005-06-16 at 03:38 -0400, Colin wrote: There was an option to make the window dockable in the Windows port. I really miss that feature, since windows would (or they were supposed to, most did) maximize around the window, so that the Buddy List was effectively a panel docked on the side of the screen. Can the Buddy List be docked under GNOME? I'm using Gaim 1.3.0. yep.. -pref-plugins-sys tray icon All I see is the option Hide new messages until tray icon is clicked. I just upgraded to Gaim 1.3.1; maybe your version is older. -- Colin -- gentoo-user@gentoo.org mailing list
[gentoo-user] ...and now, blocked packages
I went to do an emerge -Duvn world (I changed my USE flags), and apparently, I've somehow installed conflicting packages... don't ask me how. [blocks B ] app-admin/gnome-system-tools-1.1.91 (is blocking app-admin/system-tools-backends-1.2.0) [blocks B ] =x11-themes/gnome-themes-2.8.2 (is blocking x11-themes/gtk-engines-2.6.3) I'm running GNOME on top of X. I'm guessing I should keep the GNOME stuff and eschew the others. Does anyone else think otherwise? -- Colin -- gentoo-user@gentoo.org mailing list
[gentoo-user] Major ndiswrapper problems - was Re: [gentoo-user] ndiswrapper problems
Craig Duncan wrote: Colin wrote: Finally. I'm sending this email from a working Gentoo system. My wireless card (D-Link DWL-120+, ACX100 chipset) had trouble with acx100, so I unmerged that and gave ndiswrapper a shot. As you can see, it works, despite not being listed on ndiswrapper's compatibility page. (I should probably add it.) Anyway, the problem here is that when you reboot the system, the wireless card doesn't find my access point (D-Link DI-614+), not even with iwlist wlan0 scan. It's only after bringing down wlan0, bringing up wlan0, and issuing iwconfig wlan0 mode managed essid my network ESSID channel my channel key open s:my key nick computer's nickname commit that it might come online. And then I need to run dhcpcd and then re-add the gateway (it's a different computer, not the AP). If it still doesn't work, I just mess around until I can ping an outside host. Is there an easier way to make this cheap card work without manual configuration all the time? net.wlan0 isn't in my /etc/init.d directory, but I did add wlan0 is in the autoloaded modules list. Kernel 2.6.11-gentoo-r11. Using the tiacxusb.sys and tiacxusb.inf Windows drivers. -- Colin First make a link in /etc/init.d for your wireless device (wlan0), here is what I have ... rwxr-xr-x 1 root root 24246 Apr 14 18:24 net.lo lrwxrwxrwx 1 root root 6 Apr 14 18:24 net.eth0 - net.lo lrwxrwxrwx 1 root root 8 Oct 26 2004 net.wlan0 - net.eth0 Next add this to the default runlevel rc-update add net.wlan0 default Finally, edit /etc/conf.d/wireless and put your settings in there (read the wireless.example first). Test: /etc/init.d/net.wlan0 restart I'd give that a shot, but Linux seems to lock up randomly. Commands such as ping website and dhcpcd sometimes crash the system. It only spits out a panic message when it crashes outside of X, and when it does, ndiswrapper is mentioned in the panic. The only reason for it crashing that I can come up with would be my kernel upgrade (2.6.11-gentoo-r9 to -r11), but it was working after the upgrade for like a day or so. It doesn't lock up if the wireless card isn't connected to my network. It seems right after I connect to the network and send a few packets, the entire system locks up. I hate this card. I'm going to buy a Linux-compatible PCI wireless card (Prism chipset) and then sell this one to some Windows user on eBay. But in the meantime, I'd like to see if I can get this one working. -- Colin -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] [OT] Secure web document
Heinz Sporn wrote: Hi! Viewing / reading implies that the information has already been transferred (downloaded and rendered) to a client browser. So I don't think that you could totally prevent information extraction on the client side. Even if you prevent people from copying and pasting, you can't stop them from opening up nano and just typing a copy by hand, pointing a camera at the screen, taking screen captures, memorizing all the information and then telling someone, dictating it into a tape recorder... the best way to secure your files is to not put them on the Internet. Just print them out and hand them to someone along with a non-disclosure agreement. Or, a little trick I picked up from the TV show Ghost in the Shell. Convert all the text into barcodes and just let people's cyber-brains decode the barcodes. This technology, though, is definitely not ready for the general population... :-) -- Colin -- gentoo-user@gentoo.org mailing list
[gentoo-user] Reboot when GRUB starts
This is really annoying. I just finished a Gentoo install on my computer and rebooted after installing GRUB with the command grub-install --root-directory=/boot /dev/hde as stated in the Handbook. Right after GRUB loads the stage1.5 file, the system reboots. The first partition is active. Marking partition 2 as active can't get me into Windows, though, so I'm kinda screwed ATM. I created my Gentoo partitions by resizing my NTFS partition with PartitionMagic (I love that software). I moved it down the disk by 32 MB, shrunk it by 20 GB, and converted /home/colin and my swap partition to logical ones. Windows still booted, even after formatting the partitions. I also used PM to switch the entries in the partition table, so that my partitions would be numbered in disk order--a change to BOOT.INI and Windows still worked. It's /dev/hde because it's hooked up to my motherboard's on-board RAID controller--it's got its own CPU, so data transfers are faster. I wanted to use two hard drives, but my other drive was giving a lot of DMA errors and sector read errors. (Surprisingly, it runs fine under Windows.) /boot/grub/grub.conf === default 0 timeout 10 splashimage=(hd0,0)/grub/splash.xpm.gz title=Gentoo Linux 2.6.11-r9 root (hd0,0) kernel=/kernel-2.6.11-gentoo-r9 root=/dev/hde3 video=vesafb:mtrr,ywrap vga=0x31B title=Windows XP Pro SP2 rootnoverify (hd0,1) makeactive chainloader +1 /etc/fstab (so you can get an idea of my partitions) === /dev/hde1 /boot ext3 defaults,noatime 1 2 /dev/hde2 /mnt/windrive ntfs ro,umask=070,fmask=070,dmask=070 0 0 /dev/hde3 / reiserfs attrs 0 1 /dev/hde5 /home/colin vfat umask=000,fmask=000,dmask=000 0 0 /dev/hde6 none swapsw 0 0 # That's it for hard drives, the rest is removable media, /proc, /dev/shm -- Colin -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Reboot when GRUB starts
Firstly, A. Khattri, I had the grub.conf correct on the disk. I just mistyped it here. There is no equal sign after kernel. On 6/13/05, Richard Fish [EMAIL PROTECTED] wrote: What does /boot/grub/device.map contain? Assuming that it has a line that reads (hd0) /dev/hde, then everything should be correct. (fd0) /dev/fd0 (hd0) /dev/hde (hd1) /dev/hdg And it is. I guess your next step would be to get dirty with grub. Start with the following: # grub --device-map=/boot/grub/device.map grub root (hd0,0) Filesystem type is ext2fs, partition type 0x83 grub setup (hd0) Checking if /boot/grub/stage1 exists... no Checking if /grub/stage1 exists... yes Checking if /grub/stage2 exists... yes Checking if /grub/e2fs_stage1_5 exists... yes Running embed /grub/e2fs_stage1_5 (hd0)... 16 sectors are embedded. succeeded Running install /grub/stage1 (hd0) (hd0)1+16 p (hd0,0)/grub/stage2 /grub/menu.lst... succeeded The command we are looking for is that final 'install' command. We need to run that again, adding a 'd' after stage1: grub install /grub/stage1 d (hd0) (hd0)1+16 p (hd0,0)/grub/stage2 /grub/menu.lst grub quit Okay, I tried that. No dice. I tried removing all occurences of /boot in case it didn't like symlinks, but that didn't work either. The 'd' option is a workaround for BIOSs that get confused about which drive is being used to boot. No, I haven't had problems booting before. The RAID controller's BIOS is set to boot from the primary master (/dev/hde). Windows liked it. -- Colin -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Reboot when GRUB starts
On 6/13/05, Richard Fish [EMAIL PROTECTED] wrote: A. Khattri wrote: On Mon, 13 Jun 2005, Colin wrote: /boot/grub/grub.conf === default 0 timeout 10 splashimage=(hd0,0)/grub/splash.xpm.gz title=Gentoo Linux 2.6.11-r9 root (hd0,0) kernel=/kernel-2.6.11-gentoo-r9 root=/dev/hde3 video=vesafb:mtrr,ywrap vga=0x31B Shouldn't that be: kernel /kernel-2.6.11-gentoo-r9 root=/dev/hde3 video=vesafb:mtrr,ywrap vga=0x31B Good catch! Yes, fix this first. Also, there is no '=' for the title. The handbook shows an equal sign. It's worked before on another system. -- Colin -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Reboot when GRUB starts
On 6/13/05, Richard Fish [EMAIL PROTECTED] wrote: Colin wrote: Okay, I tried that. No dice. I tried removing all occurences of /boot in case it didn't like symlinks, but that didn't work either. Well, I didn't expect to find any 'dice' here.maybe some error output or at least a better description (command failed, same reboot problem, ...?) ;- No dice = no luck. It's not a very common phrase, at least not where I live. Anyway, the same problem is still here. When the BIOS gives GRUB control, it shows a message that it's loading stage 1.5. And then, almost instantly, the system reboots. I don't know if stage 1.5 loads or not. I don't suppose there's a way to recompile it to show debugging output? The 'd' option is a workaround for BIOSs that get confused about which drive is being used to boot. No, I haven't had problems booting before. The RAID controller's BIOS is set to boot from the primary master (/dev/hde). Windows liked it. Have you booted Linux before on this controller? Don't assume the BIOS isn't brain damaged, just because Windows likes it. No, I haven't. The 2004.3 LiveCD would hang when booted because it couldn't get the right timings for the HPT372N, or something like that, I forget. 2005.0 (2.6.11-gentoo-r3) is the first Gentoo LiveCD to support my controller, so there still might be a few bugs to work out. If it helps any, it's a Highpoint HPT372N IDE RAID controller, integrated into my motherboard (DFI LANParty PRO875B, Intel i865 Canterwood chipset). The hard drive in question is a Western Digital, 120 GB ATA/100, 2 MB cache. -- Colin -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] AthlonXP flags
On 6/13/05, Allan Spagnol Comar [EMAIL PROTECTED] wrote: I was looking over the internet for some CFLAGS for athlon XP and I didn't found any. Does someone knows what are the best C and CXXFLASG for athlon XP ? You'll want the usual -O2 -pipe -fomit-frame-pointer, but also use -march=athlon-xp. If your processor supports MMX, 3DNow!, SSE or SSE2, add those flags in as well. -- Colin -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Reboot when GRUB starts
On 6/13/05, Richard Fish [EMAIL PROTECTED] wrote: Colin wrote: On 6/13/05, Richard Fish [EMAIL PROTECTED] wrote: Colin wrote: Okay, I tried that. No dice. I tried removing all occurences of /boot in case it didn't like symlinks, but that didn't work either. Well, I didn't expect to find any 'dice' here.maybe some error output or at least a better description (command failed, same reboot problem, ...?) ;- No dice = no luck. It's not a very common phrase, at least not where I live. Actually, I got the reference...I was just being a bit condescending about the lack of information in that phrase. Forgive me. No problem. Besides, a lot of people on this list don't have English as their first language. It's good to point out idioms anyway. Anyway, the same problem is still here. When the BIOS gives GRUB control, it shows a message that it's loading stage 1.5. And then, almost instantly, the system reboots. I don't know if stage 1.5 loads or not. I don't suppose there's a way to recompile it to show debugging output? Well, the loading stage 1.5 message comes *from* the stage 1.5, and I think it is pretty much impossible for that to fail to load since it is embedded in the space between the MBR and the first partition and block mapped. More likely is that grub gets confused trying to talk to the RAID BIOS, and either cannot decipher the ext2 filesystem to find the stage2, or loads what it thinks is the stage2 but turns out to be garbage that causes the reboot. One remaining possiblity here: try renaming /boot/grub/e2fs_stage1_5 to e2fs_stage1_5.sav. Then run: # grub --device-map=/boot/grub/device.map grub root (hd0,0) ... grub setup (hd0) ... grub quit ... The setup command should show 'e2fs_stage1_5 exists...no'. But the install command should still show succeeded at the end. If that all looks good, try rebooting. It worked! One would think stage1.5 would be an integral step between 1 and 2, but apparently now. Gentoo works! (And Windows does too...) I got a lot of errors while booting Gentoo, so I've still got a few bugs to work out. Thanks, guys. -- Colin -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Reboot when GRUB starts
Holly Bostick wrote: Colin schreef: On Mon, 13 Jun 2005, Colin wrote: /boot/grub/grub.conf === default 0 timeout 10 splashimage=(hd0,0)/grub/splash.xpm.gz title=Gentoo Linux 2.6.11-r9 root (hd0,0) kernel=/kernel-2.6.11-gentoo-r9 root=/dev/hde3 video=vesafb:mtrr,ywrap vga=0x31B Shouldn't that be: kernel /kernel-2.6.11-gentoo-r9 root=/dev/hde3 video=vesafb:mtrr,ywrap vga=0x31B Good catch! Yes, fix this first. Also, there is no '=' for the title. The handbook shows an equal sign. It's worked before on another system. No, it does not: Code Listing 3: grub.conf for non-genkernel users [snip] title=Gentoo Linux 2.6.11-r3 [snip] No, there it is right there. You can see the equal sign right after title. I've fixed GRUB and it's working just fine, and the equal sign is still there. -- Colin -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] AthlonXP flags
Mark Shields wrote: Oh, Raphael, concerning what you said: By the way, look for something about using sse instruction for math. It speeds things up a bit.. I think you're speaking of -mfpmath=sse. You might want to specify -mfpmath=sse,387 instead. SSE is capable of faster, more precise math than the 387 coprocessor. But not all programs like/use SSE, so always specify a fallback. -- Colin -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Reboot when GRUB starts
Richard Fish wrote: Colin wrote: It worked! One would think stage1.5 would be an integral step between 1 and 2, but apparently now. Gentoo works! (And Windows does too...) I got a lot of errors while booting Gentoo, so I've still got a few bugs to work out. Thanks, guys. The stage1.5 is really a minimal stage2...it is supposed to contain just enough code to decipher the filesystem and locate the real stage2. So, here comes the bad news. If you do anything that moves, updates, or restores the stage2 file, you *must* run those setup instructions again. This is because the location of the stage2 is now block-mapped into the stage1. In fact, you might want to chattr +i /boot/grub/stage2, update package.mask to exclude new versions of grub, etc... Two commands inside a GRUB shell doesn't sound too bad. Still, I think I should work on getting that stage1.5 file working. Do you think the file might have been damaged somehow? Maybe it just didn't like my CFLAGS? -- Colin -- gentoo-user@gentoo.org mailing list
[gentoo-user] Can't build OpenSSH, requires Perl 5
I'm compiling my system (emerge -env system), but when it gets down to building OpenSSH, it fails, saying You need Perl 5. Pretending and checking the tree shows that Perl 5 will be emerged later on during the install. Attempting to emerge -v perl attempts to emerge svgalib as well (since I haven't built the system), which fails saying that the kernel has not been configured yet. Any ideas? -- Colin -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] [OT] Bad performance with external USB disk
Richard Fish wrote: Alec Shaner wrote: I recently purchased a WD 160GB external USB drive and can't get it to perform reliably on my server. It works fine when connected to my workstation machine (a P4P800 ASUS MB with USB 2.0 support). The server only has 1.1 USB support, but the problem is that it starts out copying fine at about 11MB/sec and then after a bit slows to a crawl and stays that way. I have formatted it with an ext3 filesystem. Here's all the info if anyone has an idea. With USB 1.1 you are not going to get more than about 1.2MB/s throughput, because the top speed is 11 megabits/sec, not megabytes: 11 mbit / 8 bits-per-pyte = 1.375. The initial burst you see at 11MB/sec is likely due to buffering. Maybe you can answer this question. I have an ATA/66 parallel ATA hard drive (66 MBps) on an ATA/133 bus. If the bus is limited to 133 MBps and the drive cannot transfer data at more than 66 MBps, how come burst transfers (as reported by hdparm -tT /dev/hdg) are at about 1.6 GBps? Not that I'm complaining, of course, it just seems illogical :-) -- Colin -- gentoo-user@gentoo.org mailing list
[gentoo-user] (OT) Try-to-stump Richard day - was Re: [gentoo-user] [OT] Bad performance with external USB disk
Richard Fish wrote: Colin wrote: Maybe you can answer this question. I have an ATA/66 hard drive (66 MBps) on an ATA/133 bus. If the bus is limited to 133 MBps and the drive cannot transfer data at more than 66 MBps, how come burst transfers (as reported by hdparm -tT /dev/hdg) are at about 1.6 GBps? Not that I'm complaining, of course, it just seems illogical :-) Is it try-to-stump-Richard-day again already??? ;- It is because of the way the -T test is implemented, which is to just read the first block of data over and over again. Because hdparm doesn't specify the O_DIRECT flag on open, the kernel will buffer the data in system memory for the first read, and return the same for all subsequent reads. So the number returned equals 1/2 of your system memory bandwidth, since copying the buffer from one memory location to another involves both reading and writing. Oh OK. I thought the buffered result was kept in the drive's memory, not the system's. All right, since it's try-to-stump-Richard-day, let me throw out one more question. This one should be easier. Pin 40 broke off this hard drive's connector. The IDE specification says it's just a grounding pin, one out of many on the connector, so it shouldn't hurt anything. Right? -- Colin -- gentoo-user@gentoo.org mailing list
[gentoo-user] A better USE flags documentation?
I've been Gentooing for some time now, but there are still USE flags that confound me. Like ftp and ssl, for instance--do you need those to make FTP/HTTPS connections in a web browser, or are those flags just for incoming connections, as with FTP/Web servers? Does -mozilla block Firefox- and Thunderbird-related stuff? And what happens to use flags that aren't specified--are they treated as flag or -flag? I've got a lot of questions, but gentoo.org's USE flag documentation really isn't all that great. More than one line about a flag would help. Is there any better documentation out there? -- Colin -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] problem booting from a USB flash drive
Zac Medico wrote: Probably. You can save space with a compressed filesystem like jjfs or squashfs. You probably want to mount it read only since flash has limited write cycles. You say the kernel messages indicate that the flash disk was recognized as sda so I'm not sure why it's not mounting for you. I looked through linux/Documentation/kernel-parameters.txt and saw a rootdelay parameter. With the modules I need a delay for the usb drivers to initialize. Maybe you need that too. Try rootdelay=5 or rootdelay=10 or something. Kind of off on a tangent, but there are other alternatives to a write-protected file system. Instead of using a USB flash disk, there are IDE-CompactFlash adapters that would achieve the same result but with 100% IDE compatibility, so the disk just shows up as /dev/hd[x] like a normal hard drive and doesn't require any rootdelaying or USB drivers. I don't know if CF cards are lockable, I know SD's are. CF is kind of costly, though, especially if you want faster media. SCSI wouldn't be worth the money here (disks can be write-protected at the hardware level via a jumper), but maybe a nice Ultra160 15 kRPM drive on your back-end server would make a good investment. -- Colin -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] /boot and booting...
On 6/5/05, Digby Tarvin [EMAIL PROTECTED] wrote: Following on from the recent discussions on grub and booting, is there a good reason for having a separate partition for /boot, other than perhaps to overcome BIOS addressing limitations for people with very large root partitions?? A separate /boot partition is more than likely for compatibility with older BIOSes. (You'll notice that other architectures, AFAIK, don't need it.) Some older BIOSes won't see past a certain limit (504 MB, 2.1 GB, 8.4 GB, 33.8 GB, 137 GB) and consequently, depending on your BIOS, if your boot partition extends past that limit or if your kernel image is stored past that limit (when using CHS instead of LBA), your system will be unbootable. Other OSes may observe the 1024-cylinder and/or the 2 GB boot boundaries. The BIOS 1024 cylinder limitation exists because the start and end cylinder values in the partition table, and some BIOSs, have a maximum value of 1024. Because some operating systems such as DOS 6.22 use the CHS (Cylinder, Head, and Sector) values to address sectors on the disk, they cannot access sectors beyond the 1024th cylinder. When you start your computer, the BIOS boots the operating system using the CHS values to locate the first sector of the bootable partition. If the partition starts past the 1024 cylinder, the BIOS may not be able to boot it because it cannot address a cylinder number higher than 1024. Defeat this limitation by using a BIOS with Int13h or LBA support, or by using Linux. :-) The 2 GB boot code boundary exists because, with some older OSes/BIOSes, the CHS value of the beginning boot code sector must be calculated in order to retrieve the sector's information and load and execute the next part of the boot process. Because of the way the boot code is written, the sector value, computed from the CHS value, must fit in a 16-bit register, thus the maximum value that can be kept is 64K. If the number is larger than 64K, the number is truncated, resulting in an incorrect value that skews the remaining calculations. The boot process fails to load and execute the needed sector, thus preventing the OS from booting. Most current hard disks have 63 sectors per track, creating a 64K boot code boundary at 2 GB. If a partition begins or extends beyond this boundary, the CHS value of the partition's boot code sector cannot be correctly calculated; therefore, the partition and its OS cannot boot. AFAIK, this only affects older OSes, like DOS and WinNT 4.0, and BIOSes that aren't set to LBA mode. Like not Linux. :-) (Paraphrased from the PowerQuest PartitionMagic help file. Please don't sue me.) Keeping /boot as a tiny partition at the front of the disk makes sure that your system can boot despite whatever curveball your old software can throw at it. If you're confident that these problems don't affect you, feel free to merge /boot and /. I usually don't do it, but I thought I'd try it out. Once the kernel kicks in, the kernel can do translation so that all of your disk is visible and usable. This is done by compiling in translation or passing hdx=stroke to genkernel kernels (LiveCD's included). Of course, drive overlay software is still an option if that's the way you like it, or if you dual-boot Windows. -- Colin -- gentoo-user@gentoo.org mailing list
Re: SOLVED: [gentoo-user] DVD drive not found on new AMD64 system
Michael Kjorling wrote: On 2005-06-03 14:52 -0400, [EMAIL PROTECTED] wrote: Do *NOT* use cable select. Yes, it works with Windoze, but then so do Winmodems. Set master/slave properly. You are not the first person to have run into problems with cable select. First off: thanks, Walter! Yes, setting master/slave manually did make the smaller disk show up to both the BIOS and Linux. I also tried re-jumpering hdc and hdd, putting the hard disk as master and the DVD drive as slave instead of the other way around. And would you believe it? It solved all the problems at once! The drives seem to show up properly, and now the system will also reboot properly. (It failed - hanged - before the BIOS came to Detecting IDE drives when I used Cable Select.) Winmodems always makes me wonder what other crap might pass for hardware, but that's another tale for another day and one I am sure is told even here frequently enough anyway. As far as I've heard, the Linux kernel doesn't work well with cable select. Don't know why, though. Personally, I've used cable select before with no problems. Anyway, with Serial ATA here, IDE master/slave settings and all those SCSI jumpers (ID, termination, power on, SE/LVD, etc.) should be a thing of the past. If the BIOS autodetects drives, why would the OS have so much trouble? My guess is the Linux kernel chooses to bypass the slow BIOS and access the hardware directly, which is why options such as hdx=stroke work with older BIOSes. -- Colin -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Reiser4, encryption
Calvin Walton wrote: On 5/31/05, Colin [EMAIL PROTECTED] wrote: When will Reiser4 be added to the Gentoo kernel? I can emerge reiser4progs, but I can't mount the volumes nor use them in /etc/fstab. -- Colin Although reiser4 is not in the main gentoo kernel, it is in sys-kernel/mm-sources. Note that using this kernel and asking for support will probably get developers mad at you - it's not supported :) I'm using it atm, and reiser4 seems to be working quite well. Cool, I was looking for something like this. Which version do you use? How's the kernel compared to gentoo-sources, as far as stability and performance are concerned (this'll be for a server)? -- Colin -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Reiser4, encryption
Dirk Heinrichs wrote: Am Dienstag, 31. Mai 2005 07:15 schrieb ext Colin: When will Reiser4 be added to the Gentoo kernel? I can emerge reiser4progs, but I can't mount the volumes nor use them in /etc/fstab. AFAIK there are kernel sources which have reiser4 patched in. I know. I'm just not fond of patching kernels. -- Colin -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Reiser4, encryption
Dirk Heinrichs wrote: Am Dienstag, 31. Mai 2005 08:28 schrieb ext Colin: I know. I'm just not fond of patching kernels. Why not, what's the problem? - I'd rather use gentoo-sources than vanilla-sources. I'll wait for 2.6.12-gentoo before using some potentially unstable patched vanilla kernel. (Plus they might fix some bugs before then.) - The Reiser4 LiveCD is x86 only. It won't boot a PowerPC. - I need to buy some more parts before I can do another Gentoo install on x86 hardware. :-) -- Colin -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Tablet PC's and Gentoo
Nick Rout wrote: wide question, what features are you trying to support? and what make and model? Well, I was thinking just in general, but one model that caught my eye was from the Averatec C3500 Series. I was mainly referring to handwriting recognition. Would that be supported under X/GNOME with the proper kernel features enabled? -- Colin -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] CFLAGS CPU optimization question.
Andreas Fredriksson wrote: On 5/29/05, Digby Tarvin [EMAIL PROTECTED] wrote: On the subject of CPU flags, anyone tried optimizing gentoo for a Toshiba Libretto (110CT)? model name : Mobile Pentium MMX flags : fpu vme de pse tsc msr mce cx8 mmx This is indeed a classic pentium chip with mmx added. You can use -mcpu=pentium (or -march=pentium), optionally adding the mmx USE flag for those packages that support it. Actually, since it has MMX, use {-mcpu/-mtune/-march}=pentium-mmx. Worked for me. -- Colin -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] CFLAGS CPU optimization question.
Andreas Fredriksson wrote: On 5/29/05, Digby Tarvin [EMAIL PROTECTED] wrote: On the subject of CPU flags, anyone tried optimizing gentoo for a Toshiba Libretto (110CT)? model name : Mobile Pentium MMX flags : fpu vme de pse tsc msr mce cx8 mmx This is indeed a classic pentium chip with mmx added. You can use -mcpu=pentium (or -march=pentium), optionally adding the mmx USE flag for those packages that support it. Actually, since it has MMX, use {-mcpu/-mtune/-march}=pentium-mmx. Worked for me. Additionally, add the CPU flags to your USE flags (especially mmx). -- Colin -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Compile for another computer
««Omega21»» wrote: Hi there. I was wondering if there is a way to compile a given program for another computer with different hardware (still x86 though). Can you point me to a help resource or something? The easiest way would be to use distcc. You'll need another Linux installation (preferably Gentoo) to do it, though. http://www.gentoo.org/doc/en/distcc.xml -- Colin -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Compile for another computer
Taylor Morrow wrote: I believe, although I've never done it and don't know much about it, that there is a way to cross-compile from windows, too. Search for it on gentoo-wiki.com... Or just use this link: http://gentoo-wiki.com/HOWTO_Distcc_server_on_Windows I might try this. Thanks for finding it. -- Colin -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Clarification on iso downloads
cothrige wrote: The one thing you could try is pre-downloading all the tarballs you are likely to need for the bootstrap, kernel and various utils you need, burn them to a CD, then put them in the /usr/portage/distfiles during the install... I may have to look into that. Unfortunately that many individual files is tough to download as I cannot monitor the computer I am using and generally have to go in early, click a download and come back much later to burn it. It is a Windows machine which makes it tougher for me to use things like wget scripts which could be put together for my computer. But perhaps it is an option I can work on. No, it works perfectly this way. I've done it. With this trick, I went to school with a CD-RW and grabbed all the files I needed, plus the stage1 and Portage tarballs. Just don't update Portage or run emerge --sync until you get a network connection or else it may want to download updated sources. There's a Windows version of wget somewhere out there. Get that, and get a list of all the files you need (something like emerge -fpu system 2 filelist.txt). Then go to a DOS prompt and type wget -i filelist.txt. Finally, you play the waiting game... -- Colin -- gentoo-user@gentoo.org mailing list
[gentoo-user] Reiser4, encryption
When will Reiser4 be added to the Gentoo kernel? I can emerge reiser4progs, but I can't mount the volumes nor use them in /etc/fstab. Also, are there any good, journaled and encrypting filesystems for Linux? I thought Reiser4 would have an encryption plugin; did I read that somewhere or am I mistaken? -- Colin -- gentoo-user@gentoo.org mailing list
[gentoo-user] C compiler cannot create executables
When I try to bootstrap a Power Macintosh 8500, I get this error from /usr/portage/scripts/bootstrap.sh: emerge (1 of 7) sys-apps/textinfo-4.7.-r1 to / !!! Cannot create log... No write access / Does not exist !!! PORT_LOGDIR: /var/log/portage !!! Cannot create log... No write access / Does not exist !!! PORT_LOGDIR: /var/log/portage [does the md5 checks] [unpacks stuff] [...] Source unpacked. * econf: updating texinfo-4.7/config.guess with /usr/share/gnuconfig/config.guess * econf: updating texinfo-4.7/config.guess with /usr/share/gnuconfig/config.sub ./configure --prefix=/usr --host=powerpc-unknown-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-nls configure: WARNING: If you wanted to set the --build type, don't use --host. If a cross compiler is detected then cross compile mode will be used. checking for a BSD-compatible install... /bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for powerpc-unknown-linux-gnu-strip... no checking for strip... strip checking whether to enable maintainer-specific portions of Makefiles... no checking for powerpc-unknown-linux-gnu-gcc... powerpc-unknown-linux-gnu-gcc checking for C compiler default output file name... configure: error: C compiler cannot create executables See 'config.log' for more details. !!! Please attach the config.log to your bug report: !!! /var/tmp/portage/texinfo-4.7-r1/work/texinfo-4.7/config.log !!! ERROR: sys-apps/texinfo-4.7-r1 failed. !!! Function econf, line 485, Exitcode 0 !!! econf failed !!! If you need support, post the topmost build error, NOT this status message. /var/tmp/portage/texinfo-4.7-r1/work/texinfo-4.7/config.log is available if needed. I really don't want this to be one of those annoying-long messages. CHOST=powerpc-unknown-linux-gnu CFLAGS=-O2 -mcpu=604 -mtune=604 -fsigned-char -mmultiple -mstring -fomit-frame-pointer -pipe -fstack_protector -fweb -ftracer CXXFLAGS=${CFLAGS} MAKEOPTS=-j1 USE contains hardened -- Colin -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] C compiler cannot create executables
Bruno Lustosa wrote: On 5/27/05, Colin [EMAIL PROTECTED] wrote: checking for C compiler default output file name... configure: error: C compiler cannot create executables See 'config.log' for more details. /var/tmp/portage/texinfo-4.7-r1/work/texinfo-4.7/config.log is available if needed. I really don't want this to be one of those annoying-long messages. CFLAGS=-O2 -mcpu=604 -mtune=604 -fsigned-char -mmultiple -mstring -fomit-frame-pointer -pipe -fstack_protector -fweb -ftracer A look in config.log might help. I guess it could be something with your CFLAGS. I had this once when I tried -march=amd64 (instead of athlon64). So, when it would try to compile something, it would give an error and fail the check, saying the compiler could not create executables. The error you want to look should be near the end of the file, I think. If you don't want to post config.log to the list, feel free to send it to me privately and I'll have a look. No, I found it. I changed -fstack_protector to -fstack-protector and now it's compiling. It bugs me how some CFLAGS use underscores, others dashes, and some use both. -- Colin -- gentoo-user@gentoo.org mailing list
[gentoo-user] GNOME takes forever to start
I shut down my computer normally. When I turned it on, though, after logging into GNOME about an hour ago, I'm still waiting for it to boot. I enter my password, wait forever, and then the Gentoo logo pops up. Wait forever again, and then the icons appear in the box, and then the box disappears. Now I'm still waiting forever. The last thing I remember doing is modifying /etc/conf.d/rc, emerging Thunderbird, and fetching some sources for another Gentoo box. I've tried failsafe GNOME, same thing. Failsafe terminal works, though. The mouse works and I can Ctrl-Alt-Backspace whenever I want and X/GNOME restarts. Anybody know what's going on? GNOME never used to do this before. -- Colin -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] GNOME takes forever to start
Mike Williams wrote: On Tuesday 24 May 2005 08:31, Colin wrote: Anybody know what's going on? GNOME never used to do this before. Did this happen after a reboot? Check the permissions of /dev/null ls -l /dev/null: crw-rw-rw- 1 root root 1, 3 Apr 23 19:13 /dev/null -- Colin -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] GNOME takes forever to start
Janne Johansson wrote: On Tue, 2005-05-24 at 03:31 -0400, Colin wrote: I shut down my computer normally. When I turned it on, though, after logging into GNOME about an hour ago, I'm still waiting for it to boot. I enter my password, wait forever, and then the Gentoo logo pops up. Wait forever again, and then the icons appear in the box, and then the box disappears. Now I'm still waiting forever. Anybody know what's going on? GNOME never used to do this before. I had similar problems a while back. My problems were related to the gnome profile that I had messed up somehow. You could try removing the .gnome* and .gconf* directories form your home directory. I added .old to the directory names, but it didn't work. GNOME still starts up very, very slowly. I waited until I could get System Monitor to open up. I noticed that X was using well over 50% of the CPU at all times. System Monitor took up a good 30% chunk, but that's probably becuase I had the update interval very low. -- Colin -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] GNOME takes forever to start
W.Kenworthy wrote: check DNS/name resolution - sounds likes its waiting and timing out. One of my less appreciated features of gnome ... I noticed that mDNSResponder failed to stop on shutdown, along with famd and gdm. I don't have an (apparent) problem with DNS, though. -- Colin -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Re: CFLAGS CPU optimization question.
Julien Cayzac wrote: On 5/24/05, Robert Crawford [EMAIL PROTECTED] wrote: For what it's worth, according to man gcc, -O2 turns on -funit-at-a-time. Yup. Too bad every single Makefile in the world compiles c/c++ source files one by one :-/ Wouldn't MAKEOPTS set to at least -j2 attempt to compile in parallel? -- Colin -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Re: CFLAGS CPU optimization question.
Richard Fish wrote: Colin wrote: Julien Cayzac wrote: On 5/24/05, Robert Crawford [EMAIL PROTECTED] wrote: For what it's worth, according to man gcc, -O2 turns on -funit-at-a-time. Yup. Too bad every single Makefile in the world compiles c/c++ source files one by one :-/ Wouldn't MAKEOPTS set to at least -j2 attempt to compile in parallel? How is that supposed to help -funit-at-a-time? From info gcc: The compiler performs optimization based on the knowledge it has of the program. Using the `-funit-at-a-time' flag will allow the compiler to consider information gained from later functions in the file when compiling a function. Compiling multiple files at once to a single output file (and using `-funit-at-a-time') will allow the compiler to use information gained from all of the files when compiling each of them. So -funit-at-a-time performs best when multiple C/C++ files are compiled by a single invocation of GCC. As Julien said, no makefiles in use today (AFAIK) support this. Oh, sorry. I thought -funit-at-a-time did parallel compilations. Well, at least I learned something. ^_^U -- Colin -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] CFLAGS CPU optimization question.
Walter Dnes wrote: Currently, I use -march=i686 for my 3 machines, a P4, a PIII, and a PII (and a partridge in a pear trg). According to the gcc docs at... http://gcc.gnu.org/onlinedocs/gcc-3.3.5/gcc/i386-and-x86_002d64-Options.html#i386-and-x86_002d64-Options i586 is equivalent to pentium and i686 is equivalent to pentiumpro. Does this mean that I would get better optimization if I use pentium2, pentium3 or pentium4, as appropriate? I am using the available flags (-mmmx, -msse, -msse2, -mfpmath=sse, etc) as appropriate. Yes, it would. My CFLAGS (Pentium II, 504 MHz, 224 MB RAM): -O3 -march=pentium2 -mmmx -fomit-frame-pointer -pipe -ftracer -fno-rename-registers -funroll-loops I have a stable install of kernel 2.6.11-gentoo-r9 and GNOME 2.8.3. I haven't had a kernel panic yet, and I compiled and run the system with an overclocked 112 MHz front side bus. It was worth sitting around watching endless lines of text scroll by. My secrets? -O3: The highest performance optimization level before code starts to break. It goes up to -O9 if you're daring. (Use -Os to compile for size.) Implies a lot of stuff. -march=pentium2: Implies -mmmx and writes code specifically for the P2 processor. -mmmx: Build code with MMX instructions wherever possible. -fomit-frame-pointer: Don't keep the frame pointer in a register. You get an extra register at the cost of losing debugging ability. -pipe: Use pipes instead of temporary files. Not recommended on a RAM-limited system. -ftracer: Use the processor's branch predictor when compiling. I think it compiles twice with this flag, but it does compile more efficiently. -fno-rename-registers: Renaming registers is only done when running 32-bit code on a 64-bit processor. It's implied on x86 architecture anyway. -funroll-loops: If you can tell how many times a loop will loop (mainly for loops), then unroll it. Does it increase performance? If it does, it's unnoticeable. Don't tell anyone you use it though. It spreads the whole Gentoo ricer myth that's been going around the Internet. If your Pentium 4 supports Hyper-Threading, adjust MAKEOPTS accordingly. My P4 compiles faster at -j3 than -j2. (Haven't tried -j4 though.) -- Colin -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] wine
Johannes Weiner wrote: On Mon, May 23, 2005 at 03:48:09PM -0500, C R. Little wrote: I'm setting up my very first install of wine. I'm a bit confused on which one to emerge I would like to use Office 2003 Professional and have the ability to run games like world of warcraft. Just more newbie questions from me. Thanks for the help with everything. Want windows? Use windows. Not? Check openoffice and perhaps cedega for game emulation. Games don't run well in emulation, especially Doom III and Half-Life 2, due to the heavy use of DirectX. You can try Wine or Cedega, but even the fastest systems will experience quite a performance hit. You're best off dual-booting a copy of Windows and running the games from there. It's OK, dual-booting for playing games is a perfectly acceptable use of Windows. :-P As for OpenOffice.org, I use it all the time, even on my Windows machines. Why pay $500 for Word, Excel, PowerPoint, FrontPage and Outlook when you've got OpenOffice and Thunderbird all for free (plus any donations you make)? They can read and write Office files with minimal trouble. The only thing you'll miss is the Office shortcut bar, but just copy the icons to GNOME's top panel and you're back in business. -- Colin -- gentoo-user@gentoo.org mailing list
[gentoo-user] ALSA drivers don't load - was Re: [gentoo-user] Soundcard not detected
I recompiled my kernel with ALSA enabled and my card (Dell OEM Aureal Vortex, driver snd-au8820) compiled as a module, which I added to /etc/modprobe.conf/kernel-2.6. I tried to emerge alsa-drivers, but it said it was unnecessary. I emerged alsa-utils successfully. When I went to run alsaconf, it said three times before the menu came up, modinfo: could not find module snd alsaconf seemed to work perfectly, and then it exited with a cheerful message. Starting the alsasound service goes like this: * Loading ALSA modules... [ ok ] * Loading snd-card-0...[ ok ] * ERROR: Failed to load necessary drivers * Restoring Mixer Levels... * No mixer config in /etc/asound.state, you have to unmute your card! [ ok ] I've attempted to modprobe snd-au8820 and its dependencies, snd-mpu401-uart and snd-ac97-codec before (re)starting alsasound, but that doesn't work, either. I followed the Gentoo ALSA guide to the letter. Once again, I must have misconfigured my kernel. (And yes, lspci now finds my soundcard. Didn't change anything, though.) I did all this from xterm within GNOME (logged in as myself but su'ed to root in the terminal), but that's probably not a problem since I've rebooted but still get the same errors when alsasound loads at runlevel 2 (boot). -- Colin -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] ALSA drivers don't load - was Re: [gentoo-user] Soundcard not detected
Christoph Eckert wrote: When I went to run alsaconf, it said three times before the menu came up, modinfo: could not find module snd alsaconf seemed to work perfectly, and then it exited with a cheerful message. what's in your /etc/modules.d/alsa after running alsaconf? Everything looks to be correct. # Alsa 0.9.X kernel modules' configuration file. # $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-utils/files/alsa-modules.conf-rc,v 1.4 2004/11/16 01:31:22 eradicator Exp $ alias /dev/mixer snd-mixer-oss alias /dev/dsp snd-pcm-oss alias /dev/midi snd-seq-oss # --- BEGIN: Generated by ALSACONF, do not edit. --- # --- ALSACONF verion 1.0.8 --- alias char-major-116 snd alias char-major-14 soundcore alias sound-service-0-0 snd-mixer-oss alias sound-service-0-1 snd-seq-oss alias sound-service-0-3 snd-pcm-oss alias sound-service-0-8 snd-seq-oss alias sound-service-0-12 snd-pcm-oss alias snd-card-0 snd-au8820 alias sound-slot-0 snd-au8820 # --- END: Generated by ALSACONF, do not edit. --- -- Colin -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] ALSA drivers don't load - was Re: [gentoo-user] Soundcard not detected
Nick Rout wrote: go back to your original message Colin! quote When I went to run alsaconf, it said three times before the menu came up, modinfo: could not find module snd alsaconf seemed to work perfectly, and then it exited with a cheerful message./quote looks like you are missing snd.ko. I am not sure where in the kernel this is activated - perhaps you have it as a builtin instead of a module. I compiled ALSA as a module instead. That got rid of the above error, but /etc/init.d/alsasound still spits out the same error, but loads a few more modules: * Loading ALSA modules... [ ok ] * Loading: snd-card-0...[ ok ] * Loading: snd-seq-oss [ ok ] * Loading: snd-pcm-oss [ ok ] * Loading: snd-seq [ ok ] * ERROR: Failed to load necessary drivers * Restoring Mixer Levels... [ ok ] * No mixer config in /etc/asound.state, you have to unmute your card! [ ok ] -- Colin -- gentoo-user@gentoo.org mailing list
[gentoo-user] Soundcard not detected
I'm trying to get my soundcard working. It isn't detected by lspci under my kernel, but the LiveCD's lspci finds it and detects it on the line :00:11.0 Multimedia audio controller: Aureal Semiconductor Vortex 1 (rev 02). The LiveCD coldplugs it as driver=unknown, but that shouldn't stop lspci from finding it. I'm guessing I forgot to compile something into the kernel (2.6.11-gentoo-r9)? And once there, how can I install ALSA under GNOME? (This system's main goal is to play sound, after all.) -- Colin -- gentoo-user@gentoo.org mailing list
[gentoo-user] System crashes with monitor off
Yeah, this is a weird one. I've noticed that if I leave my system (2.6.11-gentoo-r9) idle with the monitor off during an emerge, it will hang. However, if the monitor is on, then it won't hang and will keep emerging. Normally, leaving it idle for sixteen hours makes it crash, but I left the monitor on and it didn't. Now, I've tried disabling ACPI and APM, but there was no change. Does anyone have any possible clues? The monitor cable is missing pin 11, if that's any indication. -- Colin -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Gentoo discrimination
Grant wrote: Out of curiosity, who here would say they have experienced any type of emotional discrimination because they use Gentoo? I find this in correspondence with other Linux people sometimes. Is Gentoo far enough out there to warrant this type of attitude? It seems like these people are conservatives unwilling to roll with the changes to me. Nah, my friend was talking about how iPods suck. (I disagree, BTW, plus he hates Macs. Even the new dual-G5 Power Macs.) He said that once you copy your files to it, then it automatically synchs with iTunes, so you can't just use it like a hard drive and copy off the music due to the FairPlay DRM. My other iBook, iTunes and iPod-owning friend said he was right. Then I mentioned that it could be mounted under Linux as a hard drive to bypass the FairPlay DRM. I used the disclaimer that I've only heard about it being done, since I don't have an iPod. He asked what version of Linux, and when I said Gentoo, he said good man. I almost felt like adding kernel version 2.6.11-gentoo-r9, but I guess that was enough to make his day. And mine, too. Plus it's hard to beat emerge -u world. It's better than Mac OS's Software Update (which doesn't always get updates for every app), and world beyond Windows Update plus the Nero auto-updater, the Java VM auto-updater, my DVD burner's firmware auto-updater, my DVD burner's software auto-updater, my auto-updaters' auto-updaters. (OK, so I made that last one up, but it could happen.) -- Colin -- gentoo-user@gentoo.org mailing list
[gentoo-user] Console background images and colored ls output
Is it possible to get a background image for the console like it is on the LiveCD? Also, how do you make the output of ls colored? -- Colin -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Gentoo discrimination
A. Khattri wrote: On Wed, 18 May 2005, Colin wrote: Nah, my friend was talking about how iPods suck. (I disagree, BTW, plus he hates Macs. Even the new dual-G5 Power Macs.) He said that once you copy your files to it, then it automatically synchs with iTunes, so you can't just use it like a hard drive Sure you can - you just enable disk mode in the iTunes preferences... Don't say that! I'm making Gentoo look cool! -- Colin -- gentoo-user@gentoo.org mailing list
[gentoo-user] Rebuilding world
I was messing around with my disk when Gentoo froze up on me. I rebooted and got my system back up, but whenever I attempt an emerge, I get this error: Traceback (most recent call last): File /usr/bin/emerge, line 10 in ? import portage File /usr/lib/portage/pym/portage.py, line 7306, in ? do_upgrade(mykey) File /usr/lib/portage/pym/portage.py, line 7244 in do_upgrade myworld=open(/+WORLD_FILE,w) IOError: [Errno 2] No such file or directory: '//var/lib/portage/world' Well, apparently I destroyed Portage. What now? -- Colin -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Rebuilding world
Dirk Heinrichs wrote: Am Dienstag, 17. Mai 2005 09:23 schrieb ext Colin: I was messing around with my disk when Gentoo froze up on me. I rebooted and got my system back up, but whenever I attempt an emerge, I get this error: Traceback (most recent call last): File /usr/bin/emerge, line 10 in ? import portage File /usr/lib/portage/pym/portage.py, line 7306, in ? do_upgrade(mykey) File /usr/lib/portage/pym/portage.py, line 7244 in do_upgrade myworld=open(/+WORLD_FILE,w) IOError: [Errno 2] No such file or directory: '//var/lib/portage/world' Well, apparently I destroyed Portage. What now? No, you didn't. Your world file is gone, that's all (it seems). However, it may be some work to rebuild it. 1) Simply touch /var/lib/portage/world Worked. If it was supposed to spit back some output, it didn't. 2) Then do emerge -p depclean (don't forget -p) and put every package it lists into your world file. It says: !!! You have no world file. Cannot determine explicit merges. !!! You have no installed package tree (var/db/pkg). This is a problem. While you were typing your first message, I successfully ran an emerge --sync, and it told me that there was a new version of Portage available. This is probably because a lot of /var was annihilated, though. -- Colin -- gentoo-user@gentoo.org mailing list
[gentoo-user] DMP-110 MP3 Player
You know, maybe I should spend a few bucks and get a decent MP3 player anyway, but has anyone had any luck with the D-Link DMP-110 MP3 player under Linux? The alternative is to run the software under Wine, but I'm hoping for a more elegant solution. -- Colin -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Re: Re: DSL modem + Web Server + Home Box
Gabriel M. Beddingfield wrote: 3. AVAILABLE VIA WAN Check to see if Bellsouth is blocking your IP from being a server. SSH to an external machine, or call your aunt in Toledo and have them navigate a web browser to: http://a.b.c.d If it works, then all is good with your web server. If not, then you probably have issues with Bellsouth. Most 'for-the-masses' ISP's are blocking people from running servers. And those that don't, still have policies against it. This includes Verizon (port blocking), and Comcast (policy). Exceptions include Speakeasy, Earthlink (for some subscriptions), and Covad. I know that EarthLink dial-up has no port forwarding or port blocking in effect. I think they'll let you run servers from behind dial-up connections, but I know that it's a no-no from behind their high-speed connections, unless you get a business plan. -- Colin -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] ntfs mounted partition
Robert Persson wrote: A long time ago I used Captive NTFS to do this. It's not maintained now, but I think it should still work with recent kernel versions afaik. You can find it at http://www.jankratochvil.net/project/captive/. Is it available via emerge? -- Colin -- gentoo-user@gentoo.org mailing list
[gentoo-user] Are there ANY working wireless cards?
Just got around to trying to boot Gentoo 2005.0 on my desktop. My hard drive controller is now natively supported (Highpoint HPT372N), so the LiveCD booted without a problem. But now my wireless adapter (D-Link DWL-120+) isn't supported, since I don't have any network devices other than eth0 (wired) and lo. Seeing as how this is my Internet connection, I'm stuck yet again. (I'm not a big fan of stage3 installs.) Since I (strangely enough) have money in my wallet, are there any wireless cards that are natively supported in Gentoo? -- Colin -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Are there ANY working wireless cards?
Original Message Subject:Re: [gentoo-user] Are there ANY working wireless cards? Date: Tue, 10 May 2005 22:45:32 +0300 From: Matan Peled [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] Organization: Chaosite Destruction, inc. To: gentoo-user@lists.gentoo.org References: [EMAIL PROTECTED] Colin wrote: Just got around to trying to boot Gentoo 2005.0 on my desktop. My hard drive controller is now natively supported (Highpoint HPT372N), so the LiveCD booted without a problem. But now my wireless adapter (D-Link DWL-120+) isn't supported, since I don't have any network devices other than eth0 (wired) and lo. Seeing as how this is my Internet connection, I'm stuck yet again. (I'm not a big fan of stage3 installs.) Since I (strangely enough) have money in my wallet, are there any wireless cards that are natively supported in Gentoo? If you have 22mbps hardware, you want the DWL-520+ (Same chipset, PCI version). Its 'natively supported' (emerge acx100), but you do need an initial Internet connection to download the driver. You could download it somewhere else and put it on a CD/Floppy, of course. But don't pull out that wallet yet! genstef, the Gentoo dev that maintains the acx100 package (which also provides a kernel module for your wireless device, acx_usb) wants you to contact him. Send him an e-mail at [EMAIL PROTECTED]. I'm emailing this message to the list as well as to you, genstef, just in case someone on-list (or reading the archives at a later date) can benefit from this. Correct me if this is a no-no. All right, you wanted me to email you. That's been done. Now, to setup my hardware, I think I'll do this. I've got one working Gentoo install right now, and then I've got my main computer. This is what I'll do: 1. emerge --fetchonly acx_usb acx100 on my working Gentoo system to download the sources. 2. emerge --pretend acx_usb acx100 to get a file listing of the ACX packages. 3. Copy the ACX packages to my USB key, and then move them to my distfiles directory on my wireless machine. 4. emerge acx_usb acx100 on the wireless machine. 5. Continue with Gentoo installation. If I copy over all the distfiles from the working machine as well as the stage1-x86 and Portage tarballs (which I can download in Windows), then I can theoretically do a stage1 install without my wireless connection, which will make me happy. Does that sound feasible? (And at what point during the installation does the emerge command become usable?) -- Colin signature.asc Description: PGP signature
Re: [gentoo-user] shutdown now hangs on Saving random seed...
On 4/27/05, The Disguised Jedi [EMAIL PROTECTED] wrote: On 4/27/05, Jason Cooper [EMAIL PROTECTED] wrote: Colin ([EMAIL PROTECTED] ) scribbled: Whenever I type in shutdown now, the kernel enters runlevel 1 and starts to shut down. All of these [ ok ] just fine: * Stopping local... * Stopping fcron... * Unmounting network filesystems... * Stopping syslog-ng... * Syncing hardware clock to system clock [Local Time]... * Bringing eth0 down... *Removing inet6 addresses... *eth0 inet6 del fe80::20e:2eff:fe0c:6041/64... *Stopping eth0... * Bringing lo down... But it just hangs on this one: * Saving random seed... I am wondering if it isn't the random number generator that is causing the problem. Is ACPI and/or APM configured properly in your kernel? Did you recently add these? I think the problem is that the kernel is trying to signal shutdown on the machine, but it isn't configured right. ACPI is compiled in and enabled in the BIOS. I don't have APM, so I don't have support for that. My USE flags include acpi -apm I can Ctrl-C my way out of it and continue to work in Gentoo, but a software shutdown isn't possible. I just reboot, enter the BIOS and hold the switch. What can I do about this little bug? And is there even any purpose in loading and saving a random seed when random numbers are (AFAIK) seeded by the timer? Check your ACPI and/or APM configuration. The thing that is bugging me here is that you can get out of it, which makes me think that ACPI is signaling the power supply to switch off, but it doesn't. Try reboot to see if that works. I had a problem where my machine wouldn't power off, but it would reboot, and it was just a kernel configuration problem. I doubt that, since when it reboots, there are more steps, ending with unmounting the filesystems and remounting them read-only. The power supply does switch off; I briefly installed WinXP SP2 to test the hardware and make sure everything worked, and there were no problems. -- Colin -- gentoo-user@gentoo.org mailing list
[gentoo-user] Finally! But a few issues...
Finally! I have a working install of Linux 2.6.11-gentoo-r6 on a Pentium II machine that I plan to use as a portable media center. (Think of it as an iPod on steroids.) But I've got a few issues, as the subject line says. Linux newbie here, though I have done many unsuccessful Gentoo installations before, so my feet are wet. 1.) I've got Reiser3.6 on my / partition (/dev/hda3, /mnt/gentoo). I've also got Reiser3.6 on my /home partition (/dev/hda4, /mnt/gentoo/home), but I'd like to try Reiser4 out. I hear that in almost all cases, it's an extremely fast and safe file system. True, it's a working beta version, but my /home partition is disposable (any files I put there will be copied over from another computer, anyway, so I've always got a live backup) so I think I'll jump in. I found the Reiser4 emerge guide on the Gentoo forums, but that didn't work for me. Is there any way to emerge Reiser4 support into my kernel? 2.) This will be an embedded system, so how can I speed up the boot process (after the BIOS hands control to GRUB)? I've compiled a lot of stuff as modules so I can load and unload them whenever necessary, so that cuts down on boot time. Things I've noticed that take forever are Calculating module dependencies..., mounting Reiser3.6 partitions and DHCP detection (which I want). 3.) What's the Linux equivalent of DOS/Windows' autoexec.bat (something to run commands on startup, namely setterm -blank 0)? 4.) My USB key and/or a media card reader are sometimes plugged into this computer, but not always. It's a hassle manually mounting them every time I want to use it. Can I mount them in /etc/fstab even though it won't always be present at boot-time? Here's what I've got, commented out for now: /dev/sda1 /mnt/usbdrive vfat noatime 0 0 /dev/sdb1 /mnt/cards/cf-mdautonoatime 0 0 /dev/sdb2 /mnt/cards/sd-mmcauto noatime 0 0 /dev/sdb3 /mnt/cards/sm-xd auto noatime 0 0 /dev/sdb4 /mnt/cards/ms-mspro auto noatime 0 0 5.) And as far as my USB key is concerned, FAT32 is slow and unjournaled. It sucks. ReiserFS is the greatest thing since NTFS as far as I'm concerned, and I'd like to use that on my USB key, since it's speedy, journaled and space-efficient. Are there Windows/Mac OS 9/Mac OS X plugins for ReiserFS? I'd like to put a small FAT partition on my key with just the plugins and a Reiser partition spanning the rest for my data. -- Colin -- gentoo-user@gentoo.org mailing list
[gentoo-user] [gentoo] I've got the F00F bug
Ran the command cat /proc/cpuinfo while waiting for stage2 to fetch all the sources, and apparently, my Pentium MMX (200 MHz) has got something called the F00F bug. I Googled it and it seems pretty serious. By Gentoo identifying the bug, I assume it's also got a workaround built-in; correct me if I'm wrong. -- Colin -- gentoo-user@gentoo.org mailing list