RE: [gentoo-user] Re: Reducing disk usage
A bit softer than some of the other suggestions; # eclean packages # eclean distfiles app-portage/gentoolkit contains eclean. From the man page; "eclean is small tool to remove obsolete portage sources files and binary packages. Used on a regular basis, it prevents your DISTDIR and PKGDIR directories to infinitely grow, while not deleting files which may still be useful" HTH, Adam -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] ipw3945 and wpa_supplicant issues
� wrote: Hi all! I own a Toshiba laptop P100-400 with a Intel PRO/Wireless 3945ABG wireless adapter. I've managed to get it working with normal WEP authentication, but no success with wpa_supplicant (and I really need it for WPA auth). # /etc/init.d/net.eth1 restart * Stopping eth1 * Bringing down eth1 * Stopping dhcpcd on eth1 ... [ ok ] * Shutting down eth1 ... [ ok ] * Stopping wpa_cli on eth1 ... [ ok ] * Stopping wpa_supplicant on eth1 ... [ ok ] * Starting eth1 * Starting wpa_supplicant on eth1 ... ioctl[SIOCSIWMODE]: Resource temporarily unavailable Could not configure driver to use managed mode ioctl[SIOCGIWRANGE]: Resource temporarily unavailable ioctl[SIOCSIWAUTH]: Resource temporarily unavailable WEXT auth param 7 value 0x1 - ioctl[SIOCSIWENCODEEXT]: Resource temporarily unavailable ioctl[SIOCSIWENCODEEXT]: Resource temporarily unavailable ioctl[SIOCSIWENCODEEXT]: Resource temporarily unavailable ioctl[SIOCSIWENCODEEXT]: Resource temporarily unavailable ioctl[SIOCSIWAUTH]: Resource temporarily unavailable WEXT auth param 4 value 0x0 - ioctl[SIOCSIWAUTH]: Resource temporarily unavailable [ ok ]th param 5 value 0x1 - * Starting wpa_cli on eth1 ... [ ok ] * Failed to configure eth1 in the background Ugly, uh? :/ Yeah A number of things, some of which you may know: 1) Don't add net.eth1 to runlevel. The ipw3945 module loading (/etc/modprobe.conf) runs ipw3945d init script which brings up net.eth1 which is managed by wpa_supplicant. If you try and manage net.eth1 yourself (with rc-update, or with something like ifplugd then things will get confused). I do have netplug configed for eth* but I think it knows how to get out of the way of wpa_supplicant. All you need to do is emerge ipw3945 - no rc-updating needed. 2) If you ever need to restart net.eth1, restart ipw3945d instead. 3) My wpa_supplicant.conf just as comparision: # Intel PRO/Wireless 3945 :: wpa_supplicant.conf ctrl_interface=/var/run/wpa_supplicant # DO NOT remove this line! ctrl_interface_group=0 # Only allow root to read config. ap_scan=1 # Allows wpa_supplicant to handle AP scanning. # The following configures wpa_supplicant for a WPA network={ ssid="foo" scan_ssid=1 # Use if SSID broadcast is disabled. psk="bar" # Your key here. } -- [EMAIL PROTECTED] mailing list
[gentoo-user] showconsole disappoints
Hi group, According to http://www.gentoo.org/news/en/gwn/20050822-newsletter.xml setting RC_BOOTLOG="yes" in /etc/conf.d/rc and emerging the showconsole pkg will generate /var/log/boot.msg where boot messages will be written. But boot.msg is never more than 44 lines, a fraction of total output. How do I get it all? -Maxim __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Reducing disk usage
Watch this one! I ended up with a seriously broken system after running localepurge - make sure you have your locale sorted out first! But it can save quite a lot of space - pity the system was dead in the water ... reiserfs is more space efficient than other filesystems like ext2/3 (depending on a lot of things ... YMMV) -O3 - saves peanuts overall rm -rf /usr/src/linux* - dangerous, lokk in there first and only remove what you are not using (i.e., leave your current kernel, plus one other "good" version as a backup - the number of times Ive had to roll back ... :) rm -rfv /usr/portage/distfiles - after thinking about if you need to keep these versions, consider if redownloading them wont be a problem (or write them out to DVD/CD etc. There are also a couple of distfile cleaner programs - see the forums. If you have another machine, look into http-replicator - highly recommended. rm -rfv /var/tmp/portage - this can all go - often cruft like crashed OO builds end up here - can be huge. run `du /|sort -rn|less` and see where your biggest files/directories are and see if they can go. In real tight situations, NFS can help by putting /usr/portage/distfiles, /var/tmp/portage, etc on other machines with more diskspace. I have found this to be very flakey at times depending on kernel versions, system loads, etc. Huge builds like OO rarely finished without a crash or two in the build process :) Use the -doc useflag and rebuild - this can save over a GB on a large systems there have been a number of threads over the years on saving space - search the forums. BillK BillK On Thu, 2007-04-26 at 17:38 +0200, Hemmann, Volker Armin wrote: > On Donnerstag, 26. April 2007, Grant wrote: > > I've found myself with a full hard disk and no obvious choices for > > reducing usage. Are there any not-so-obvious ways to free up hard > > disk space? > > > > - Grant > > localepurge > > rm -rf /var/tmp/ > > using reiserfs > > stop using -O3 > > rm -rf /usr/src/linux* -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] file sorting in nautilus
On Thu, 2007-04-26 at 04:41 -0700, Mark Knecht wrote: > On 4/25/07, Iain Buchanan <[EMAIL PROTECTED]> wrote: > > Hi all, > > > > recently I borrowed (and will probably soon buy a related model) a JVC > > "HD" HD video camera. (The first "HD" is for high def!). > > > > Anyway, the great feature is it records on a 40Gb hard disk, but the > > annoying thing is the video files are named in hex: > > > > > which is in completely the wrong order, so trying to categorise / edit > > the files becomes a pain, as the more files I have, the further out of > > place they get! `ls` doesn't sort it like nautilus - it does what I > > expect and puts it in the right order. > > > > so in short, is there any way around this? Can I tell nautilus to stop > > being "clever"? I had a look in the options, but I can't find it. > > (There's always `emerge -C gnome; emerge kde` but I don't know if that > > will fix everything ;) > Assuming the files are time stamped then sort by date & time instead of by > name? Good idea, but they get timestamped to the local time when they get copied to my PC. I could copy them with -a (?) but that doesn't help the ones I have already... thanks! -- Iain Buchanan There is a great discovery still to be made in Literature: that of paying literary men by the quantity they do NOT write. -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Re: Reducing disk usage
On Donnerstag, 26. April 2007, Alexander Skwar wrote: > · fire-eyes <[EMAIL PROTECTED]>: > > Over a whole system this can > > add up to a few dozen more MB of space usable. > > This Depends largely on the "type" of files. I've got my portage > tree on a reiserfs, and in comparison to ext3, it saves couple > 100 (one-zero-zero) megs! > back in the good old days, when 10gb was big for a harddrive, I saved 2GB by using reiserfs. From 9GB to 7GB used. And that was a 'simple' Suse installation+personal stuff. -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] OT - Migrating databases to a new box
Michael Sullivan wrote: Why bother? User accounts are stored in the db. Just move the whole thing. /etc/inti.d/mysql stop rsync -av --delete /var/lib/mysql/ newbox01:/var/lib/mysql/ And this method will preserve all granted permissions with their passwords? That would be great! Moving the entire Mysql database store is very simple. Mysql puts all data in /var/lib/mysql by default under Gentoo. You can even go in there and poke around to see all the databases in individual directories. Assuming you're using Mysql 5.0.26 on both databases with similar my.conf files you should have no problems just rsync-ing the directory and then starting Mysql on the new server. You can run into issues with Innodb if data files are different sizes on each server. That's the usual gotcha since Gentoo has changed it a few times between releases. Or you can dump the mysql table and just copy the sql lines that you care about if you're moving databases individually. mysqldump -u root -p --skip-opt --databases mysql > mysql-db-20070436.sql Then cut and paste any access lines from db and user into the new db. How do I get those? All passwords, account privileges, etc are stored in the mysql db within Mysql. Notice the distinction there. All Mysql databases store user, access, etc in a db called mysql. On disk that would be in /var/lib/mysql/mysql/ and through command line you can see the data by doing: mysql -u root -p use mysql; select * from db; select * from user; So if you wanted to pull things out without thinking too much you can just dump the mysql database with all the user accounts out into a text file and then import only the parts you care about. Here some sample data from one of my servers. -- -- Dumping data for table `db` -- INSERT INTO `db` VALUES ('localhost','sqlgrey','sqlgrey','Y','Y','Y','Y','Y','Y','N','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y'); INSERT INTO `db` VALUES ('localhost','postfix','postfixadmin','Y','Y','Y','Y','Y','N','N','N','N','N','N','N','N','N','N','N','N' ); -- -- Dumping data for table `user` -- INSERT INTO `user` VALUES ('localhost','sqlgrey','12231231313131231231312313123123131231C','N','N','N','N','N','N','N','N','N ','N','N','N','N','N','N','N','N','N','N','N','N','N','N','N','N','N','','','','',0,0,0,0); INSERT INTO `user` VALUES ('localhost','postfixadmin','1312312312312333432423131231312313123131','N','N','N','N','N','N','N','N','N ','N','N','N','N','N','N','N','N','N','N','N','N','N','N','N','N','N','','','','',0,0,0,0); So in these examples mysql.user defines the user accounts and mysql.db defines the accounts and what access they are allowed per database. The big hash is the MD5 password. You can log into your new Mysql instance, use mysql, and then paste the above lines in to add the some access. Additionally you can dump just the whole mysql db and import it from the old db to the new db. mysqldump -u root -p --databases mysql > mysqldb-20070426.sql on the new server mysql -u root -p drop database mysql; exit; (do not restart Mysql at this point or you'll be locked out) mysql -u root -p < mysqldb-20070426.sql mysql -u root -p flush privileges; (this will load the new mysql you imported) exit; kashani -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] OT - Migrating databases to a new box
On Thu, 2007-04-26 at 15:03 -0700, kashani wrote: > Michael Sullivan wrote: > > I'm currently in the process of migrating databases to a new box. One > > of my users has two databases that he needs access to. Is there a way > > (through the mysql terminal interface) to find out what passwords he > > uses to access these two databases? This will save me the trouble of > > finding him. (Most of my users access remotely). I have root > > privileges. Thank you for your help. > > Why bother? User accounts are stored in the db. Just move the whole thing. > > /etc/inti.d/mysql stop > rsync -av --delete /var/lib/mysql/ newbox01:/var/lib/mysql/ > And this method will preserve all granted permissions with their passwords? That would be great! > ssh newbox01 > /etc/init.d/mysql start > > This is can be slightly more complicated if you are changing db > versions and/or have vastly different options in the respective my.conf > files. > > Or you can dump the mysql table and just copy the sql lines that you > care about if you're moving databases individually. > > mysqldump -u root -p --skip-opt --databases mysql > mysql-db-20070436.sql > > Then cut and paste any access lines from db and user into the new db. How do I get those? > > Additionally you can get slick and replicate from the old box to the > new box. Then as you migrate individual database users over to the new > server you can stop replication on a per db basis. I can go through this > option if you're interested. I've done a number of Mysql > upgrade/migrations this way and it's easier than it might appear. > > kashani -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Kernel hangs after detecting the hard disk
On Thursday 26 April 2007 17:05, Iván Pérez Domínguez wrote: > Looks like I've come with a different situation now: > > I installed Ubuntu in a different partition, it works fine. > I took it's kernel's config and tried to recompile gentoo's with it. > > Things are a little better now, but looks like it cannot find /dev/hda2 > (my root partition) nor /dev/sda2. Since no root can be found, it cannot > boot, and remains asking for the root password. If I log in, I cannot > access my files in any way. I don't know why. > > On the other hand, I also tried to boot Gentoo using Ubuntu's kernel by > setting root=/dev/sda2 (Gentoo's root partition) instead of > root=/dev/sda3 (Ubuntu's). It goes perfectly (it even mounts the root > partition), but stops after trying to remount proc (it cannot be mounted > because it has already been mounted) since it's considered a critical task. > > Any ideas? > > Shall I send the new kernel config as well? > > btw, is there any web site with a huge database with config files or > parts of them for different hardware, distributions (if applicable), and > kernels? (I already did my homework trying to find it) If not, I think > that would be a great idea. > > Iván Pérez Domínguez wrote: > > Hans-Werner Hilse wrote: > >> Hi, > >> > >> On Tue, 24 Apr 2007 21:07:38 +0200 > >> > >> Iván Pérez Domínguez <[EMAIL PROTECTED]> wrote: > >>>I'm having another problem, this time it's a kernel related problem. > >>> I'm currently using kernel 2.6.13, and most things work fine. However, > >>> when I try to update to a newer kernel (say 2.6.17 or 2.6.20), my > >>> laptop hangs after detecting the hard disk. If I don't use initrd, it > >>> stops when udev is loaded. > >> > >> What's the last (few lines of) message on screen? > >> > >> Did you configure your kernel to use the new libata stuff instead of > >> traditional IDE drivers? > > > > I don't know. That might be the problem. > > > > The old kernel config (2.6.13) is attached. I tried to change it but > > couldn't find any good combination. > > > >> -hwh > > > > Cheers, > > Ivan. Can you provide the LSPCI output and the .config for your kernel? -- Guillermo A. Amaral, CSE # Free & Open Source Advocate & nick: guillermoamaral @ blog: http://blog.guillermoamaral.com/ @ site: http://www.guillermoamaral.com/ $ irc: [EMAIL PROTECTED] % gpg: http://downloads.guillermoamaral.com/public.asc pgpYzKBFRjfgL.pgp Description: PGP signature
Re: [gentoo-user] Kernel hangs after detecting the hard disk
Looks like I've come with a different situation now: I installed Ubuntu in a different partition, it works fine. I took it's kernel's config and tried to recompile gentoo's with it. Things are a little better now, but looks like it cannot find /dev/hda2 (my root partition) nor /dev/sda2. Since no root can be found, it cannot boot, and remains asking for the root password. If I log in, I cannot access my files in any way. I don't know why. On the other hand, I also tried to boot Gentoo using Ubuntu's kernel by setting root=/dev/sda2 (Gentoo's root partition) instead of root=/dev/sda3 (Ubuntu's). It goes perfectly (it even mounts the root partition), but stops after trying to remount proc (it cannot be mounted because it has already been mounted) since it's considered a critical task. Any ideas? Shall I send the new kernel config as well? btw, is there any web site with a huge database with config files or parts of them for different hardware, distributions (if applicable), and kernels? (I already did my homework trying to find it) If not, I think that would be a great idea. Iván Pérez Domínguez wrote: > Hans-Werner Hilse wrote: >> Hi, >> >> On Tue, 24 Apr 2007 21:07:38 +0200 >> Iván Pérez Domínguez <[EMAIL PROTECTED]> wrote: >> >>>I'm having another problem, this time it's a kernel related problem. >>> I'm currently using kernel 2.6.13, and most things work fine. However, >>> when I try to update to a newer kernel (say 2.6.17 or 2.6.20), my laptop >>> hangs after detecting the hard disk. If I don't use initrd, it stops >>> when udev is loaded. >> What's the last (few lines of) message on screen? >> >> Did you configure your kernel to use the new libata stuff instead of >> traditional IDE drivers? > > I don't know. That might be the problem. > > The old kernel config (2.6.13) is attached. I tried to change it but > couldn't find any good combination. > >> -hwh > > Cheers, > Ivan. > -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] OT - Migrating databases to a new box
Michael Sullivan wrote: I'm currently in the process of migrating databases to a new box. One of my users has two databases that he needs access to. Is there a way (through the mysql terminal interface) to find out what passwords he uses to access these two databases? This will save me the trouble of finding him. (Most of my users access remotely). I have root privileges. Thank you for your help. Why bother? User accounts are stored in the db. Just move the whole thing. /etc/inti.d/mysql stop rsync -av --delete /var/lib/mysql/ newbox01:/var/lib/mysql/ ssh newbox01 /etc/init.d/mysql start This is can be slightly more complicated if you are changing db versions and/or have vastly different options in the respective my.conf files. Or you can dump the mysql table and just copy the sql lines that you care about if you're moving databases individually. mysqldump -u root -p --skip-opt --databases mysql > mysql-db-20070436.sql Then cut and paste any access lines from db and user into the new db. Additionally you can get slick and replicate from the old box to the new box. Then as you migrate individual database users over to the new server you can stop replication on a per db basis. I can go through this option if you're interested. I've done a number of Mysql upgrade/migrations this way and it's easier than it might appear. kashani -- [EMAIL PROTECTED] mailing list
[gentoo-user] Re: Reducing disk usage
· fire-eyes <[EMAIL PROTECTED]>: > Over a whole system this can > add up to a few dozen more MB of space usable. This Depends largely on the "type" of files. I've got my portage tree on a reiserfs, and in comparison to ext3, it saves couple 100 (one-zero-zero) megs! Alexander Skwar -- "Bond reflected that good Americans were fine people and that most of them seemed to come from Texas." - Ian Fleming, "Casino Royale" -- [EMAIL PROTECTED] mailing list
[gentoo-user] OT - Migrating databases to a new box
I'm currently in the process of migrating databases to a new box. One of my users has two databases that he needs access to. Is there a way (through the mysql terminal interface) to find out what passwords he uses to access these two databases? This will save me the trouble of finding him. (Most of my users access remotely). I have root priveleges. Thank you for your help. -Michael Sullivan- -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Re: Backing up my box
On Tue, Apr 24, 2007 at 07:57:49PM +0200, Francesco Talamona wrote: > (Supposing both boxes are Linux ones) Sometime I use > app-backup/rdiff-backup, it's quite easy and effective. I've started using rdiff-backup, it's really nice. Thanks a lot for the pointer! Mark pgpXtbxYMJBsn.pgp Description: PGP signature
Re: [gentoo-user] Re: flash with seamonkey
On Friday 27 Apr 2007 1:52:14 am James wrote: > > Will this work on Gentoo, as is, or are there further modifications. > I failed to mention, that the system is running on an AMD 64 bit cpu, > model name : AMD Athlon(tm) 64 X2 Dual Core Processor 4200+ > Didn't see this post of yours earlier. Sorry for the unnecessary noise. What arch are you running? Is it x86 or amd64? You have installed firefox-bin or you have compiled firefox yourself? -- Regards, Abhay signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Re: flash with seamonkey
On Thursday 26 Apr 2007 11:27:58 pm James wrote: > > Now make a symlink from what to what? > You need to make symlinks to these files in ~/.mozilla/plugins /opt/netscape/plugins/flashplayer.xpt /opt/netscape/plugins/libflashplayer.so -- Regards, Abhay signature.asc Description: This is a digitally signed message part.
[gentoo-user] Re: flash with seamonkey
James tampabay.rr.com> writes: > > That is your real problem. You need to make sure that seamonkey knows about > your flash plugin. Try to make soft link to flash plugin in your > ~/.mozilla/plugins directory. Then start seamonkey and check whether you have > flash mentioned under about:plugins now. I just found this page: http://plugindoc.mozdev.org/linux-amd64.html#nswrapper-install-src 3/4ths the way down the page is says: Flash Player 9.0 (nspluginwrapper) Version: 7.0r68 SeaMonkey 1.1a, Firefox 2.0: Works Well FAQ: Flash Player FAQ After installing nspluginwrapper, install Flash Player to a location of your choice (/usr/lib/browser-plugins/ is suggested), then run the following command: nspluginwrapper -i /usr/lib/browser-plugins/libflashplayer.so Will this work on Gentoo, as is, or are there further modifications. I failed to mention, that the system is running on an AMD 64 bit cpu, model name : AMD Athlon(tm) 64 X2 Dual Core Processor 4200+ James -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Reducing disk usage
Hello fire-eyes, > 1) rm -r /var/tmp/portage/* (the /* is important) No it's not - if you delete the portage directory, portage will simply recreate it when it needs it. -- Neil Bothwick Fer sail cheep, Windows spel chekcer, wurks grate signature.asc Description: PGP signature
[gentoo-user] Re: flash with seamonkey
Abhay Kedia gmail.com> writes: > That is your real problem. You need to make sure that seamonkey knows about > your flash plugin. Try to make soft link to flash plugin in your > ~/.mozilla/plugins directory. Then start seamonkey and check whether you have > flash mentioned under about:plugins now. OK this dir contains these: drwx-- 4 james 152 Apr 23 14:08 . drwxr-xr-x 26 james 1640 Apr 26 13:46 .. -rw-r--r-- 1 james 1043 Apr 26 09:21 appreg drwx-- 4 james 136 Apr 26 09:21 default drwx-- 3 james 144 Apr 23 14:08 firefox -rw--- 1 james 534 Apr 26 13:40 pluginreg.dat Now make a symlink from what to what? James -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Reducing disk usage
Grant wrote: I've found myself with a full hard disk and no obvious choices for reducing usage. Are there any not-so-obvious ways to free up hard disk space? - Grant I'll agree with the other suggestions which i'll put here: 1) rm -r /var/tmp/portage/* (the /* is important) 2) rm -r /usr/portage/distfiles/* 3) Keep your kernel sources compressed until you need them. This saves about 190MB or something: cd /usr/src/ ; tar cj linux-`uname -r` -f linux-`uname -r`-COMPRESSED.tar.bz2 && rm -r linux-`uname -r` obviously you'll have to untar and re-delete that tree if you actually need it. Here's a new one. Once you have more space, IF you have kde, filelight is a nice way to see space usage and track it down quickly and see it in a great visual format. Be sure to go into its settings, though, and tell it to cross filesystem boundaries, and also show small files. I'll also agree that reiserfs (3) is nice in that by default it packs tails, i.e. compresses the ends of blocks. Over a whole system this can add up to a few dozen more MB of space usable. -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Reducing disk usage
On Donnerstag, 26. April 2007, Grant wrote: > I've found myself with a full hard disk and no obvious choices for > reducing usage. Are there any not-so-obvious ways to free up hard > disk space? > > - Grant localepurge rm -rf /var/tmp/ using reiserfs stop using -O3 rm -rf /usr/src/linux* -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Reducing disk usage
On 26 April 2007, Grant wrote: > I've found myself with a full hard disk and no obvious choices for > reducing usage. Are there any not-so-obvious ways to free up hard > disk space? Delete all your music. ;-) Seriously, get another one. Uwe -- The Informal Linux Group Namibia: http://www.linux.org.na SysEx (Pty) Ltd.: http://www.SysEx.com.na -- [EMAIL PROTECTED] mailing list
RE: [gentoo-user] Reducing disk usage
> -Original Message- > From: Grant [mailto:[EMAIL PROTECTED] > Sent: 26 April 2007 15:59 > To: Gentoo mailing list > Subject: [gentoo-user] Reducing disk usage > > > I've found myself with a full hard disk and no obvious choices for > reducing usage. Are there any not-so-obvious ways to free up hard > disk space? > > - Grant > -- > [EMAIL PROTECTED] mailing list > > Have a rummage in /usr/portage/distfiles and chuck any that you can. Also remove old kernel source packages that you dont need? Check in /usr/src/. -- djn I do not represent anyone else in emails I send to this list. -- [EMAIL PROTECTED] mailing list
[gentoo-user] Reducing disk usage
I've found myself with a full hard disk and no obvious choices for reducing usage. Are there any not-so-obvious ways to free up hard disk space? - Grant -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Kernel hangs after detecting the hard disk
Hans-Werner Hilse wrote: > Hi, > > On Tue, 24 Apr 2007 21:07:38 +0200 > Iván Pérez Domínguez <[EMAIL PROTECTED]> wrote: > >>I'm having another problem, this time it's a kernel related problem. >> I'm currently using kernel 2.6.13, and most things work fine. However, >> when I try to update to a newer kernel (say 2.6.17 or 2.6.20), my laptop >> hangs after detecting the hard disk. If I don't use initrd, it stops >> when udev is loaded. > > What's the last (few lines of) message on screen? > > Did you configure your kernel to use the new libata stuff instead of > traditional IDE drivers? I don't know. That might be the problem. The old kernel config (2.6.13) is attached. I tried to change it but couldn't find any good combination. > > -hwh Cheers, Ivan. # # Automatically generated make config: don't edit # Linux kernel version: 2.6.13-gentoo-r3 # Sun Oct 22 13:00:45 2006 # CONFIG_X86=y CONFIG_MMU=y CONFIG_UID16=y CONFIG_GENERIC_ISA_DMA=y CONFIG_GENERIC_IOMAP=y # # Code maturity level options # CONFIG_EXPERIMENTAL=y CONFIG_CLEAN_COMPILE=y CONFIG_BROKEN_ON_SMP=y CONFIG_LOCK_KERNEL=y CONFIG_INIT_ENV_ARG_LIMIT=32 # # General setup # CONFIG_LOCALVERSION="" CONFIG_SWAP=y CONFIG_SYSVIPC=y # CONFIG_POSIX_MQUEUE is not set # CONFIG_BSD_PROCESS_ACCT is not set CONFIG_SYSCTL=y # CONFIG_AUDIT is not set CONFIG_HOTPLUG=y CONFIG_KOBJECT_UEVENT=y CONFIG_IKCONFIG=y CONFIG_IKCONFIG_PROC=y # CONFIG_EMBEDDED is not set CONFIG_KALLSYMS=y # CONFIG_KALLSYMS_EXTRA_PASS is not set CONFIG_PRINTK=y CONFIG_BUG=y CONFIG_BASE_FULL=y CONFIG_FUTEX=y CONFIG_EPOLL=y CONFIG_SHMEM=y CONFIG_CC_ALIGN_FUNCTIONS=0 CONFIG_CC_ALIGN_LABELS=0 CONFIG_CC_ALIGN_LOOPS=0 CONFIG_CC_ALIGN_JUMPS=0 # CONFIG_TINY_SHMEM is not set CONFIG_BASE_SMALL=0 # # Loadable module support # CONFIG_MODULES=y CONFIG_MODULE_UNLOAD=y # CONFIG_MODULE_FORCE_UNLOAD is not set CONFIG_OBSOLETE_MODPARM=y # CONFIG_MODVERSIONS is not set # CONFIG_MODULE_SRCVERSION_ALL is not set CONFIG_KMOD=y # # Processor type and features # CONFIG_X86_PC=y # CONFIG_X86_ELAN is not set # CONFIG_X86_VOYAGER is not set # CONFIG_X86_NUMAQ is not set # CONFIG_X86_SUMMIT is not set # CONFIG_X86_BIGSMP is not set # CONFIG_X86_VISWS is not set # CONFIG_X86_GENERICARCH is not set # CONFIG_X86_ES7000 is not set # CONFIG_M386 is not set # CONFIG_M486 is not set # CONFIG_M586 is not set # CONFIG_M586TSC is not set # CONFIG_M586MMX is not set # CONFIG_M686 is not set # CONFIG_MPENTIUMII is not set # CONFIG_MPENTIUMIII is not set CONFIG_MPENTIUMM=y # CONFIG_MPENTIUM4 is not set # CONFIG_MK6 is not set # CONFIG_MK7 is not set # CONFIG_MK8 is not set # CONFIG_MCRUSOE is not set # CONFIG_MEFFICEON is not set # CONFIG_MWINCHIPC6 is not set # CONFIG_MWINCHIP2 is not set # CONFIG_MWINCHIP3D is not set # CONFIG_MGEODEGX1 is not set # CONFIG_MCYRIXIII is not set # CONFIG_MVIAC3_2 is not set # CONFIG_X86_GENERIC is not set CONFIG_X86_CMPXCHG=y CONFIG_X86_XADD=y CONFIG_X86_L1_CACHE_SHIFT=6 CONFIG_RWSEM_XCHGADD_ALGORITHM=y CONFIG_GENERIC_CALIBRATE_DELAY=y CONFIG_X86_WP_WORKS_OK=y CONFIG_X86_INVLPG=y CONFIG_X86_BSWAP=y CONFIG_X86_POPAD_OK=y CONFIG_X86_GOOD_APIC=y CONFIG_X86_INTEL_USERCOPY=y CONFIG_X86_USE_PPRO_CHECKSUM=y # CONFIG_HPET_TIMER is not set # CONFIG_SMP is not set # CONFIG_PREEMPT_NONE is not set # CONFIG_PREEMPT_VOLUNTARY is not set CONFIG_PREEMPT=y CONFIG_PREEMPT_BKL=y # CONFIG_X86_UP_APIC is not set CONFIG_X86_TSC=y CONFIG_X86_MCE=y CONFIG_X86_MCE_NONFATAL=y # CONFIG_TOSHIBA is not set # CONFIG_I8K is not set # CONFIG_X86_REBOOTFIXUPS is not set # CONFIG_MICROCODE is not set # CONFIG_X86_MSR is not set # CONFIG_X86_CPUID is not set # # Firmware Drivers # # CONFIG_EDD is not set # CONFIG_NOHIGHMEM is not set CONFIG_HIGHMEM4G=y # CONFIG_HIGHMEM64G is not set CONFIG_HIGHMEM=y CONFIG_SELECT_MEMORY_MODEL=y CONFIG_FLATMEM_MANUAL=y # CONFIG_DISCONTIGMEM_MANUAL is not set # CONFIG_SPARSEMEM_MANUAL is not set CONFIG_FLATMEM=y CONFIG_FLAT_NODE_MEM_MAP=y # CONFIG_HIGHPTE is not set # CONFIG_MATH_EMULATION is not set CONFIG_MTRR=y # CONFIG_EFI is not set CONFIG_HAVE_DEC_LOCK=y # CONFIG_REGPARM is not set CONFIG_SECCOMP=y # CONFIG_HZ_100 is not set CONFIG_HZ_250=y # CONFIG_HZ_1000 is not set CONFIG_HZ=250 CONFIG_PHYSICAL_START=0x10 # CONFIG_KEXEC is not set # # Power management options (ACPI, APM) # CONFIG_PM=y CONFIG_PM_DEBUG=y # CONFIG_SOFTWARE_SUSPEND is not set # # ACPI (Advanced Configuration and Power Interface) Support # CONFIG_ACPI=y CONFIG_ACPI_BOOT=y CONFIG_ACPI_INTERPRETER=y # CONFIG_ACPI_SLEEP is not set CONFIG_ACPI_AC=y CONFIG_ACPI_BATTERY=y CONFIG_ACPI_BUTTON=y CONFIG_ACPI_VIDEO=m CONFIG_ACPI_HOTKEY=m CONFIG_ACPI_FAN=y CONFIG_ACPI_PROCESSOR=y CONFIG_ACPI_THERMAL=y # CONFIG_ACPI_ASUS is not set # CONFIG_ACPI_IBM is not set # CONFIG_ACPI_TOSHIBA is not set CONFIG_ACPI_CUSTOM_DSDT=y CONFIG_ACPI_CUSTOM_DSDT_FILE="/usr/src/linux/dsdt_table.h" CONFIG_ACPI_BLACKLIST_YEAR=0 # CONFIG_ACPI_DEBUG is not set CONFIG_ACPI_BUS=y CONFIG_ACPI_EC=y CONFIG_ACPI_POWER=y CONFIG_ACPI_PCI=y CONFIG_ACPI_SYSTEM
[gentoo-user] why does gentoo's groff haven't chem's module?
Hi, list: Nowaday I try to learn groff's module chem to draw chemical strutrues, I find although gentoo has the latest groff, but it doesn't contain the chem module, so I want to know why? or maybe I make some mistake? Thank you for any advice or indicator. -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] file sorting in nautilus
On 4/25/07, Iain Buchanan <[EMAIL PROTECTED]> wrote: Hi all, recently I borrowed (and will probably soon buy a related model) a JVC "HD" HD video camera. (The first "HD" is for high def!). Anyway, the great feature is it records on a 40Gb hard disk, but the annoying thing is the video files are named in hex: which is in completely the wrong order, so trying to categorise / edit the files becomes a pain, as the more files I have, the further out of place they get! `ls` doesn't sort it like nautilus - it does what I expect and puts it in the right order. so in short, is there any way around this? Can I tell nautilus to stop being "clever"? I had a look in the options, but I can't find it. (There's always `emerge -C gnome; emerge kde` but I don't know if that will fix everything ;) TIA, -- Iain Buchanan Assuming the files are time stamped then sort by date & time instead of by name? HTH, Mark -- [EMAIL PROTECTED] mailing list
[gentoo-user] Re: ipw3945 and wpa_supplicant issues
Christian <[EMAIL PROTECTED]> wrote: > I don't know what "!plug" does. Check out /etc/conf.d/net.example, search for "plug", find the section "Cable in/out detection". Alexander Skwar -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] ipw3945 and wpa_supplicant issues
Am Donnerstag, 26. April 2007 02:11 schrieb José Pedro Saraiva: > Hi all! > > I own a Toshiba laptop P100-400 with a Intel PRO/Wireless 3945ABG wireless > adapter. > I've managed to get it working with normal WEP authentication, but no > success with wpa_supplicant (and I really need it for WPA auth). > > I'm using the internal ieee8021x stack with gentoo-sources-2.6.19-r5 I also, but now with 2.6.20-r6 (2.6.19-r5 works also fine for me) > > * net-wireless/ipw3945 > Latest version available: 1.2.0 > Latest version installed: 1.2.0 > > * net-wireless/ipw3945-ucode > Latest version available: 1.14.2 > Latest version installed: 1.14.2 > > * net-wireless/ipw3945d > Latest version available: 1.7.22-r4 > Latest version installed: 1.7.22-r4 > > * net-wireless/wpa_supplicant > Latest version available: 0.5.7 > Latest version installed: 0.5.7 > I use the same versions. > /etc/conf.d/net extract: > > modules_eth1=( "!plug" "wpa_supplicant" ) > wpa_supplicant_eth1="-Dwext" > associate_timeout_eth1="60" This is my configuration in net. modules=( "wpa_supplicant" ) wpa_supplicant_eth1="-D wext" wpa_timeout_eth1=60 config_eth1=( "dhcp" ) dhcpcd_eth1="-t 5" I don't know what "!plug" does. > > > /etc/wpa_supplicant/wpa_supplicant.conf extract (the problem isn't here > though, it fails with all types of configurations): my /etc/wpa_supplicant/wpa_supplicant.conf: ctrl_interface=/var/run/wpa_supplicant ap_scan=1 network={ ssid="x" psk="" priority=5 } I use wpa-psk to make my wlan secure. I hope I this can help you. Best regards Christian -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] font problem after xorg-server upgrade
Hello On Wed, Apr 25, 2007 at 07:07:48PM +0200, Pongracz Istvan wrote: > My personal opinion is that is not a solution if I had to tweak all the > system to get it working. I did not mean tweaking when I said I have no time to experiment. I want to locate the problem as closely as possible to provide valid bugreport so developers can fix it in the next release. -- Security warning: Do not expose this email to direct sunlight. It may lead to undefined behaviour, including possible data or life loses. Michal "vorner" Vaner pgpkTQItJACHA.pgp Description: PGP signature
Re: [gentoo-user] Upgrade using binary packages
On Thu, 26 Apr 2007 06:39:15 +0530, [EMAIL PROTECTED] wrote: > In the kernel config this shows up as Via C3 processor... Which is not an i686, it has a couple of instructions missing from the full i686 instruction set, hence the illegal instruction message. > CFLAGS="-Os -march=i586 -m3dnow -pipe -fomit-frame-pointer" Use -march=c3. -- Neil Bothwick Standard: (n., adj.) a design target which manufacturers may embellish, improve upon, or ignore as they wish, so long as it can be used profitably in their advertising. signature.asc Description: PGP signature