Re: [gentoo-user] Web based ftp alternative
On Tue, Oct 28, 2008 at 11:15:39PM +0200, Alan McKinnon wrote: On Tuesday 28 October 2008 22:10:37 Momesso Andrea wrote: Why not just have them view the ftp site in the browser? User's aren't stupid and can cope with stuff - they will see a hierarchy of folders just like what they see in My Computer and might be asked for a username and password - just like in gmail. What's the problem with such an arrangement? Hmmm... And how do they upload? Ahem. Allow me to introduce you to my good friend drag and his charming wife drop. Nice to meet them :P Browsers ARE ftp clients and know about ftp put and get just like they know about http GET, PUT and POST. Caveat: Firefox needs a plugin and those wonderful chaps who write IE7 helpfully removed this feature. Konqueror and Nautilus JustDoIt(tm). Most of the users I'm serving don't even know about about Konqueror and Nautilus... And if they have ever installed a firefox plugin, that is the one called Bring The Porn. By they way I cannot cut away such a big part of the audience just because they don't have a compliant browser. Your other option is that insanely convoluted method that phpBB forums use for file uploads. Aunt Tillie has never yet been observed to understand what the forum wants her to do with that function. Egroupware has something similar to what I need, the just call it FileManager: Managing files stored in the (VFS)? (virtual file system) based on files, sql-db or webdav. It gives the ability to upload files and stores in the database a lot of useful metadata (date of upload, name of uploader, short description, wether it is updated or not etc...). pgpg7oqOGhFqy.pgp Description: PGP signature
Re: [gentoo-user] Web based ftp alternative
On Wednesday 29 October 2008 08:03:55 Momesso Andrea wrote: By they way I cannot cut away such a big part of the audience just because they don't have a compliant browser. So your users are mostly IE7? Then I'm afraid you have to resort to convulted ways to get around the convulted mess created by the authors of that browser. I can't help you further with that one - IE is way outside my area of expertise. Good luck. -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] package.keywords syntax?
On Wednesday 29 October 2008 00:55:42 Jorge Peixoto de Morais Neto wrote: I mean to really know C, that is, read a rigorous book such as C: A Reference Manual and be able to write portable programs with well-defined behavior. Speaking of well-defined behavior, do you know what happens when you cast a float to an int, and the float is too big to fit into the int? Did oyu try it yourself and see? The point is that the behavior in this situation is undefined. It might do anything. Programming in C is different than programming in Python. Most likely the compiler will try to treat the float as an int and use the first 4 bytes of the float, ignoring the rest. This is insane though. I cannot think of any reason why one would ever want to treat the first 32 bits of a float as an int. It's not like you are casting a long to an int which can make sense - just discard the high bits. I reckon the standard would say this is undefined. Most compiler would bomb out with a compile error but give you an obscure flag to proceed anyway. If you want to commit suicide, C is quite happy to pass you the pills as long s you ask nicely -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] Web based ftp alternative
Alan McKinnon wrote: On Wednesday 29 October 2008 08:03:55 Momesso Andrea wrote: By they way I cannot cut away such a big part of the audience just because they don't have a compliant browser. So your users are mostly IE7? Then I'm afraid you have to resort to convulted ways to get around the convulted mess created by the authors of that browser. I can't help you further with that one - IE is way outside my area of expertise. Good luck. you can't use winblows extorter to drop files onto an ftp server? I would have thought that was, er, basic functionality... -- Iain Buchanan iaindb at netspace dot net dot au ... faster BogoMIPS calculations (yes, it now boots 2 seconds faster than it used to: we're considering changing the name from Linux to InstaBOOT -- Linus, in the announcement for 1.3.26
Re: [gentoo-user] Web based ftp alternative
On Wednesday 29 October 2008 09:26:01 Iain Buchanan wrote: Alan McKinnon wrote: On Wednesday 29 October 2008 08:03:55 Momesso Andrea wrote: By they way I cannot cut away such a big part of the audience just because they don't have a compliant browser. So your users are mostly IE7? Then I'm afraid you have to resort to convulted ways to get around the convulted mess created by the authors of that browser. I can't help you further with that one - IE is way outside my area of expertise. Good luck. you can't use winblows extorter to drop files onto an ftp server? I would have thought that was, er, basic functionality... Yeah, that's what I thought too. The GF suspected otherwise for IE7 and confirmed it by asking that nice Mr Google person -- alan dot mckinnon at gmail dot com
[gentoo-user] KDE 3.5.10: Visual glitch in taskbar
Anyone else getting this strange colored bar at the bottom of the taskbar when using an image as taskbar background? This is with KDE 3.5.10. 3.5.9 didn't have this problem. http://img525.imageshack.us/img525/7797/kdefn4.png
Re: [gentoo-user] Web based ftp alternative
On Wednesday 29 October 2008, 09:06, Alan McKinnon wrote: you can't use winblows extorter to drop files onto an ftp server? I would have thought that was, er, basic functionality... Yeah, that's what I thought too. The GF suspected otherwise for IE7 and confirmed it by asking that nice Mr Google person Ok, that's OT, but it's not that difficult. They just moved the ftp functionality from Internet explorer to Windows explorer (yes, many people are not even aware of the difference). When you open a FTP site with ie7, it just shows you a basic interface with hyperlinks but no ability to copy/paste or drag/drop stuff (just like basic FF). But, there is a line at top of the page that clearly says: To view this FTP site in Windows Explorer, click Page, and then click Open FTP Site in Windows Explorer. Just do what it says, and you have the (cough) good old interface where you can do drag/drop etc. I'm however all for using FF with a suitable plugin to do ftp. However, for basic users, I fear that even a clean interface like that provided by fireftp might look too complicated (sigh). To the OP: have you considered creating a very simple php interface to upload files, like eg http://www.w3schools.com/PHP/php_file_upload.asp (but there are dozen of other example on the web)
[gentoo-user] hibernate fails, s2disk not found
Before anybody asks, yes, i did check Google. I found a gazillion references to gentoo-wiki.com, which is down and therefore useless to me. First of all, my system... [d530][root][~] uname -a Linux d530 2.6.25-gentoo-r8 #1 SMP Tue Oct 28 04:44:53 EDT 2008 i686 Genuine Intel(R) CPU 2140 @ 1.60GHz GenuineIntel GNU/Linux My /etc/hibernate/hibernate.conf [d530][root][~] cat /etc/hibernate/hibernate.conf Verbosity 3 Distribution gentoo SaveClock true DisableWriteCacheOn /dev/sda DownInterfaces auto UpInterfaces auto USuspendMethod disk From make menuconfig [*] Power Management support [ ] Legacy Power Management API (DEPRECATED) [ ] Power Management Debug Support [ ] Suspend to RAM and standby [*] Hibernation (aka 'suspend to disk') (/dev/sda6) Default resume partition [*] ACPI (Advanced Configuration and Power Interface) Support --- APM (Advanced Power Management) BIOS support --- CPU Frequency scaling --- [ ] CPU idle PM support When I try hibernate... [d530][root][~] hibernate hibernate: [01] Executing CheckLastResume ... hibernate: [01] Executing CheckRunlevel ... hibernate: [01] Executing LockFileGet ... hibernate: [01] Executing NewKernelFileCheck ... hibernate: [10] Executing EnsureUSuspendCapable ... s2disk not installed. hibernate: EnsureUSuspendCapable refuses to let us continue. hibernate: Aborting. hibernate: [01] Executing NoteLastResume ... hibernate: [01] Executing LockFilePut ... Since it's complaining about s2disk not being installed... [d530][root][~] emerge -pv s2disk These are the packages that would be merged, in order: Calculating dependencies | emerge: there are no ebuilds to satisfy s2disk. Now what? -- Walter Dnes [EMAIL PROTECTED]
Re: [gentoo-user] telnet program
Neil Bothwick schrieb: On Tue, 28 Oct 2008 20:40:17 -0400, kcc wrote: I want to install telnet client but couldn't find the emerge search net-misc/netkit-telnetd contains client and server. If you just need a client, you can also use the one in busybox: `busybox telnet` It should be preinstalled (belongs to system, not world). signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] KDE 3.5.10: Visual glitch in taskbar
On Wednesday 29 October 2008 11:14:22 Nikos Chantziaras wrote: Anyone else getting this strange colored bar at the bottom of the taskbar when using an image as taskbar background? This is with KDE 3.5.10. 3.5.9 didn't have this problem. http://img525.imageshack.us/img525/7797/kdefn4.png Yes, I had that. It went away after I changed the Appearance setting on the Taskbar dialog (same config panel) -- alan dot mckinnon at gmail dot com
[gentoo-user] Re: KDE 3.5.10: Visual glitch in taskbar
Alan McKinnon wrote: On Wednesday 29 October 2008 11:14:22 Nikos Chantziaras wrote: Anyone else getting this strange colored bar at the bottom of the taskbar when using an image as taskbar background? This is with KDE 3.5.10. 3.5.9 didn't have this problem. http://img525.imageshack.us/img525/7797/kdefn4.png Yes, I had that. It went away after I changed the Appearance setting on the Taskbar dialog (same config panel) It doesn't go away here. Only temporarily. After logging out and in again, the glitch is back.
Re: [gentoo-user] hibernate fails, s2disk not found
On Wed, 29 Oct 2008 06:15:56 -0400, Walter Dnes wrote: Before anybody asks, yes, i did check Google. I found a gazillion references to gentoo-wiki.com, which is down and therefore useless to me. Did you try the Cached links? Many of the Wiki pages are still in Google's cache -- Neil Bothwick Top Oxymorons Number 18: Taped live signature.asc Description: PGP signature
Re: [gentoo-user] Web based ftp alternative
On Wed, Oct 29, 2008 at 11:40:43AM +0200, Etaoin Shrdlu wrote: On Wednesday 29 October 2008, 09:06, Alan McKinnon wrote: you can't use winblows extorter to drop files onto an ftp server? I would have thought that was, er, basic functionality... Yeah, that's what I thought too. The GF suspected otherwise for IE7 and confirmed it by asking that nice Mr Google person Ok, that's OT, but it's not that difficult. They just moved the ftp functionality from Internet explorer to Windows explorer (yes, many people are not even aware of the difference). When you open a FTP site with ie7, it just shows you a basic interface with hyperlinks but no ability to copy/paste or drag/drop stuff (just like basic FF). But, there is a line at top of the page that clearly says: To view this FTP site in Windows Explorer, click Page, and then click Open FTP Site in Windows Explorer. Just do what it says, and you have the (cough) good old interface where you can do drag/drop etc. Hmmm... This is good news. Has anyone experience with Safari/Opera behavior? I'm however all for using FF with a suitable plugin to do ftp. However, for basic users, I fear that even a clean interface like that provided by fireftp might look too complicated (sigh). I agree... People tend to feel confortable using web-based wizards. To the OP: have you considered creating a very simple php interface to upload files, like eg http://www.w3schools.com/PHP/php_file_upload.asp (but there are dozen of other example on the web) Yes, but this is not an option. If I don't find a full featured (and secure) webabb that takes care of user registration, permissions, etc., I'm gonna force users to the use the ftp. I was thinking at such a layout: ROOT: / world readable, admins writable USER FOLDERS: /username/ registered user readable, owner writable PRIVATE USERS FOLDER (for drafts and personal stuff) /username/private/ owner readable, owner writable I think it's gonna be pretty easy to setup such a layout using vsftpd or proftpd. Suggestions are welcome. pgpyztokmOBCW.pgp Description: PGP signature
[gentoo-user] eclipse plugin installation
Hi, I've emerged dev-util/eclipse-sdk (version 3.4-r2) and comes up nicely. But when I try to download a plugin (e.g. for C++ or Python) using Help - Software Updates I get Cannot launch the Update UI. This installation has not been configure properly for Software Updates. What am I missing? Many thanks for a hint, Helmut Jarausch Lehrstuhl fuer Numerische Mathematik RWTH - Aachen University D 52056 Aachen, Germany
Re: [gentoo-user] telnet program
On Wed, 29 Oct 2008 11:33:56 +0100, Florian Philipp wrote: If you just need a client, you can also use the one in busybox: `busybox telnet` Or do sudo ln -s busybox /bin/telnet and you can call it as telnet. -- Neil Bothwick Top Oxymorons Number 36: Alone together signature.asc Description: PGP signature
Re: [gentoo-user] eclipse plugin installation
On Wednesday 29 October 2008 13:37:15 Helmut Jarausch wrote: Hi, I've emerged dev-util/eclipse-sdk (version 3.4-r2) and comes up nicely. But when I try to download a plugin (e.g. for C++ or Python) using Help - Software Updates I get Cannot launch the Update UI. This installation has not been configure properly for Software Updates. What am I missing? Many thanks for a hint, Helmut Jarausch Lehrstuhl fuer Numerische Mathematik RWTH - Aachen University D 52056 Aachen, Germany See https://bugs.eclipse.org/bugs/show_bug.cgi?id=239785 A workaround is to use java-overlay - that team has kindly prepared 3.4.1 for us.
Re: [gentoo-user] what is easy way to upgrade
adrian kok schrieb: Hi I am new in gentoo what is easy way to upgrade? eg: kernel / package In some linux, they are using yum Thank you Welcome to Gentoo For the Kernel: http://www.gentoo.org/doc/en/kernel-upgrade.xml I see a lot of users have there own way to upgrade. Mine is: #emerge --sync #emerge -DuavN system #emerge -DuavN world #dispatch-conf #emerge --depclean -pv #revdep-rebuild -pvi #glsa-check -t all You can skip system if you want to (I guess) I just run it to have a better view on the kind of package I am updating. you may want to drop the -p and -i option where needed (and if you are sure you really want to). KH
Re: [gentoo-user] what is easy way to upgrade
On Wed, 29 Oct 2008 19:28:47 +0800 (CST), adrian kok wrote: what is easy way to upgrade? This is Gentoo, we don't do anything the easy way ;-) -- Neil Bothwick What is a free gift ? Aren't all gifts free? signature.asc Description: PGP signature
[gentoo-user] what is easy way to upgrade
Hi I am new in gentoo what is easy way to upgrade? eg: kernel / package In some linux, they are using yum Thank you Send instant messages to your online friends http://uk.messenger.yahoo.com
Re: [gentoo-user] hibernate fails, s2disk not found
[d530][root][~] emerge -pv s2disk These are the packages that would be merged, in order: Calculating dependencies | emerge: there are no ebuilds to satisfy s2disk. Now what? emerge -pv suspend t
Re: [gentoo-user] what is easy way to upgrade
On Wed, 29 Oct 2008 19:28:47 +0800 (CST) adrian kok wrote: Hi I am new in gentoo what is easy way to upgrade? eg: kernel / package In some linux, they are using yum Thank you The Gentoo command for loading packages is emerge. Periodically I run eix-sync to update the list of packages available, then run emerge -auDt world to update installed packages. HTH, David
Re: [gentoo-user] what is easy way to upgrade
2008/10/29 adrian kok [EMAIL PROTECTED]: what is easy way to upgrade? eg: kernel / package For the start I would recommend you reading the handbook. http://www.gentoo.org/doc/en/handbook/index.xml -- Regards, Daniel
Re: [gentoo-user] Web based ftp alternative
On 29 Oct 2008, at 11:01, Momesso Andrea wrote: ... To view this FTP site in Windows Explorer, click Page, and then click Open FTP Site in Windows Explorer. Just do what it says, and you have the (cough) good old interface where you can do drag/drop etc. Hmmm... This is good news. Has anyone experience with Safari/Opera behavior? Safari has the correct behaviour - it does not operate as an ftp client. Stroller.
Re: [gentoo-user] Web based ftp alternative
On 29 Oct 2008, at 09:40, Etaoin Shrdlu wrote: On Wednesday 29 October 2008, 09:06, Alan McKinnon wrote: you can't use winblows extorter to drop files onto an ftp server? I would have thought that was, er, basic functionality... Yeah, that's what I thought too. The GF suspected otherwise for IE7 and confirmed it by asking that nice Mr Google person Ok, that's OT, but it's not that difficult. They just moved the ftp functionality from Internet explorer to Windows explorer (yes, many people are not even aware of the difference). When you open a FTP site with ie7, it just shows you a basic interface with hyperlinks but no ability to copy/paste or drag/drop stuff (just like basic FF). But, there is a line at top of the page that clearly says: To view this FTP site in Windows Explorer, click Page, and then click Open FTP Site in Windows Explorer. No, they just REMOVED any extended functionality from IE. Windows Explorer has ALWAYS done FTP natively (or at least since 2000). Stroller.
Re: [gentoo-user] telnet program
Neil Bothwick schrieb: On Wed, 29 Oct 2008 11:33:56 +0100, Florian Philipp wrote: If you just need a client, you can also use the one in busybox: `busybox telnet` Or do sudo ln -s busybox /bin/telnet and you can call it as telnet. In that case, I would link it to /usr/local/bin/telnet. Otherwise you might (?) overwrite your busybox when you ever try to emerge another telnet client who provides /bin/telnet. signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] Web based ftp alternative
On 29 Oct 2008, at 12:05, Stroller wrote: On 29 Oct 2008, at 11:01, Momesso Andrea wrote: ... To view this FTP site in Windows Explorer, click Page, and then click Open FTP Site in Windows Explorer. Just do what it says, and you have the (cough) good old interface where you can do drag/drop etc. Hmmm... This is good news. Has anyone experience with Safari/Opera behavior? Safari has the correct behaviour - it does not operate as an ftp client. I should perhaps explain that Macs ship with the program Finder for GUI file-management. One simply uses Go then Connect to server - the menus indicate that the shortcut for this is Apple-K - and then types ftp://site.example.com in order to achieve an FTP connection. In the window displayed there is a + button allowing users to save favourite servers.
Re: [gentoo-user] what is easy way to upgrade
2008/10/29 Neil Bothwick [EMAIL PROTECTED]: On Wed, 29 Oct 2008 19:28:47 +0800 (CST), adrian kok wrote: what is easy way to upgrade? This is Gentoo, we don't do anything the easy way ;-) Hey, this is the easiest way! ;-) -- - - -- Csanyi Andras -- http://sayusi.hu -- Sayusi Ando -- Bízzál Istenben és tartsd szárazon a puskaport!.-- Cromwell
Re: [gentoo-user] Web based ftp alternative
On Wednesday 29 October 2008, 13:06, Stroller wrote: Ok, that's OT, but it's not that difficult. They just moved the ftp functionality from Internet explorer to Windows explorer [snip] No, they just REMOVED any extended functionality from IE. Windows Explorer has ALWAYS done FTP natively (or at least since 2000). Ah ok, sorry for the inaccuracy, and thanks for the correction.
Re: [gentoo-user] eclipse plugin installation
I cant remember where in preferences it was but there is an option to change to classic update style, this works a treat and should solve your problem without having to go to overlay's and the like. stu 2008/10/29 Andrew Gaydenko [EMAIL PROTECTED]: On Wednesday 29 October 2008 13:37:15 Helmut Jarausch wrote: Hi, I've emerged dev-util/eclipse-sdk (version 3.4-r2) and comes up nicely. But when I try to download a plugin (e.g. for C++ or Python) using Help - Software Updates I get Cannot launch the Update UI. This installation has not been configure properly for Software Updates. What am I missing? Many thanks for a hint, Helmut Jarausch Lehrstuhl fuer Numerische Mathematik RWTH - Aachen University D 52056 Aachen, Germany See https://bugs.eclipse.org/bugs/show_bug.cgi?id=239785 A workaround is to use java-overlay - that team has kindly prepared 3.4.1 for us.
Re: [gentoo-user] what is easy way to upgrade
adrian kok wrote: Hi I am new in gentoo what is easy way to upgrade? eg: kernel / package In some linux, they are using yum Thank you Send instant messages to your online friends http://uk.messenger.yahoo.com Welcome aboard! For starters go through the Handbook and the official documentation as it provides the answers to your questions. For packages I usally run the following commands: # eix-sync # emerge --tree --ask --update --newuse --deep world emerge --depclean revdep-rebuild # dispatch-conf For the kernel read the Gentoo Linux Kernel Upgrade Guide (http://www.gentoo.org/doc/en/kernel-upgrade.xml) and follow the detailed steps. Good luck ;-)
Re: [gentoo-user] what is easy way to upgrade
András Csányi a gentiment tapote: 2008/10/29 Neil Bothwick [EMAIL PROTECTED]: On Wed, 29 Oct 2008 19:28:47 +0800 (CST), adrian kok wrote: what is easy way to upgrade? This is Gentoo, we don't do anything the easy way ;-) Hey, this is the easiest way! ;-) I agree, after testing Red Hat, Mandrake (long, long time ago) and Ubuntu (a few minutes), Gentoo is the easiest way to upgrade :-) -- Jacques
Re: [gentoo-user] package.keywords syntax?
On Wed, Oct 29, 2008 at 3:16 AM, Alan McKinnon [EMAIL PROTECTED] wrote: On Wednesday 29 October 2008 00:55:42 Jorge Peixoto de Morais Neto wrote: I mean to really know C, that is, read a rigorous book such as C: A Reference Manual and be able to write portable programs with well-defined behavior. Speaking of well-defined behavior, do you know what happens when you cast a float to an int, and the float is too big to fit into the int? Did oyu try it yourself and see? The point is that the behavior in this situation is undefined. It might do anything. Programming in C is different than programming in Python. Most likely the compiler will try to treat the float as an int and use the first 4 bytes of the float, ignoring the rest. Float is 4 bytes; the questions should be reworded s/float/double/g But somehow, SSE version or fisttp (or whatever) doesn't set CF/OF on overflow, the returned int is simply (1 31) ^ (1 31 - 1) This is insane though. I cannot think of any reason why one would ever want to treat the first 32 bits of a float as an int. It's not like you are casting a long to an int which can make sense - just discard the high bits. I reckon the standard would say this is undefined. Most compiler would bomb out with a compile error but give you an obscure flag to proceed anyway. If you want to commit suicide, C is quite happy to pass you the pills as long s you ask nicely gcc does this without errors Code [x86/64 only]: #include stdio.h #include math.h #include stdint.h int main() { double f = 1.5e99; int i = (int)f; uint16_t z; asm(pushf; popw %0; : =r(z)); printf(%d %d %d\n, i, (z (1 11)), (z 1) ); return 0; } In short, your mileage shall vary, so sayeth the standard. -- -- Andrey Vul A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail?
Re: [gentoo-user] telnet program
On Tue, Oct 28, 2008 at 7:40 PM, kcc [EMAIL PROTECTED] wrote: Hi all I want to install telnet client but couldn't find the emerge search how can I get it Thank you net-misc/telnet-bsd Paul
Re: [gentoo-user] KDE 3.5.10: Visual glitch in taskbar
On Wed, Oct 29, 2008 at 4:14 AM, Nikos Chantziaras [EMAIL PROTECTED] wrote: Anyone else getting this strange colored bar at the bottom of the taskbar when using an image as taskbar background? This is with KDE 3.5.10. 3.5.9 didn't have this problem. http://img525.imageshack.us/img525/7797/kdefn4.png Yes, if you minimize and resize it, it'll look normal, but it gets ugly next time you log in. Paul
Re: [gentoo-user] Web based ftp alternative
On Wed, 29 Oct 2008, Stroller wrote: One simply uses Go then Connect to server - the menus indicate that the shortcut for this is Apple-K - and then types ftp://site.example.com in order to achieve an FTP connection. In the window displayed there is a + button allowing users to save favourite servers. True but its a read-only view... -- A
Re: [gentoo-user] Re: dhcpd uses fake MAC address
On Sunday 26 October 2008, Nikos Chantziaras wrote: Volker Armin Hemmann wrote: I don't need it. But in our network most people use windows - and don't know anything about computers. So they get their static ip assigned by dhcp. Once in a while the server chokes - and that is one of the many reasons why I usually don't use dhcp. There are a lot better ones, but if you really need to know the details, ask off-list ;) Anyway, maybe it's not a dhcp problem but originates further down the stack. Not sure what I'm looking for though :P I've posted a couple of weeks ago about the same thing titled net-misc/dhcpcd-4.0.1-r1 change of USE flags. I have since found that the problem you observed essentially boils down to the router's dhcp server implementation and the way it treats the client_identifier string. The dhcpcd package complies with RFC2131 and generates and broadcasts a unique device identification number for your NIC (DUID). DUID is the long number you have posted, the tail end of which contains the MAC. The server is meant to use this number (according to RFC4361, clause 6.3): = DHCPv4 servers that conform to this specification MUST use the 'client identifier' option to identify the client if the client sends it. = All this is fine and dandy, if only the dhcp server in question could directly correlate the dhcpcd generated DUID to your MAC. Unfortunately, many routers won't. They will treat the static MAC settings as a different device than that of the DUID and issue your PC with a different than the preselected static IP address. You can run dhcpcd eth0 -T -d to verify what's happening in your case, although a newly issued IP address which is different than the preset static IP address is a giveaway. More sophisticated routers allow you to set up on their CLI static LAN IP addresses using the DUID string, instead of the client's MAC hardware address. Previous versions of dhcpcd had the vram USE flag which copied the hardware address into the DUID string and the dhcp servers would happily recognise the original network device, while using the DUID string. Now the vram flag is gone. Therefore, if you cannot set up static IP addresses with your router's CLI using the client_indentifier string (like e.g. on Cisco and Adtran/Netvanta routers), the only other solution would be to set it on the client side. That's an inconvenient solution if you have a laptop which connects to all sort of networks with different LAN IP addresses/ranges. In that case you may have to run ifconfig and route manually each time you connect to a network. -- Regards, Mick signature.asc Description: This is a digitally signed message part.
[gentoo-user] Re: eclipse plugin installation
Stuart Howard stuart.g.howard at gmail.com writes: I cant remember where in preferences it was but there is an option to change to classic update style, this works a treat and should solve your problem without having to go to overlay's and the like. OK, I found --Windows --Preferences --General --Capabilities and activated Classic, Developement and Team then hit apply. That fixes the --Help --Software updates button. all good. But I still cannot seem to find/figure out how to install C I get 2 buttons: --Help --Software Updates one yields: Cannot launch the Update UI. This installation has not been configured properly for Software Updates. The other one: --Help --Software updates( is tabbed with 2 choices): Find and install and Manage Configuration Exploring every option under each button, neither show me plugin modules to install? Any help or a wiki is much appreciated. I'm just trying to install C (CDT) at the moment, but other language supports is of interest to me too. James
Re: [gentoo-user] blocks to fix
+++ Allan Gottlieb [gentoo-user] [Tue, Oct 28, 2008 at 11:11:48PM -0400]: It is not quite that simple. There were many posts today (28 oct) on this. I suggest reading them. You might need to unmask mit-krb5 for example. There is a danger of rendering wget and hence emerge unusable (but if you have already --fetchonly'ed the pkgs then emerge can install them). To repeat the main point: Read *carefully* today's discussion. Yeah, I'll second this. At the very least make sure you emerge -f anything you unmerge. To make it easy to re-merge if you break wget. I had one system that specified USE=kerberos and krb5 kept wanting to pull back in com_err (I think). Also removing com_err seemed to break wget (and curl) on that system so I had to manually fetch some packages. -- // Andrew MacKenzie | http://www.edespot.com // GPG public key: http://www.edespot.com/~amackenz/public.key // October. // // This is one of the peculiarly dangerous months to speculate in stocks in. // // The others are July, January, September, April, November, May, March, June, // December, August, and February. // // -- Mark Twain, Pudd'nhead Wilson's Calendar pgpdTCoP2RAaM.pgp Description: PGP signature
[gentoo-user] Trying to solve blockage when trying to install kde-meta-4.1.2
Hello people, i tried to install kde-meta-4.1.2 and i ran across a few problems. The thing is that some packages are blocking packages required for the installation The following is output of portage when displaying the blocking packages [uninstall] app-crypt/qca-1.0-r2 [?] [blocks b ] app-crypt/qca-1.0-r3 (app-crypt/qca-1.0-r3 is blocking app-crypt/qca-2.0.1-r1) [blocks B ] =x11-libs/qt-4.4.0_alpha:4 (=x11-libs/qt-4.4.0_alpha:4 is blocking x11-libs/qt-script-4.4.2, x11-libs/qt-dbus-4.4.2, x11-libs/qt-qt3support-4.4.2, x11-libs/qt-sql-4.4.2, x11-libs/qt-gui-4.4.2, x11-libs/qt-svg-4.4.2, x11-libs/qt-test-4.4.2, x11-libs/qt-core-4.4.2, x11-libs/qt-webkit-4.4.2, x11-libs/qt-opengl-4.4.2) [blocks B ] sys-fs/udev-114 (sys-fs/udev-114 is blocking media-gfx/sane-backends-1.0.19-r2, media-libs/libgphoto2-2.4.2) My usual solution for problems of this kind is to mercilessly unmerge any packages that stand in my way, but, considering we are talking about packages like qt and udev, i must admit i do not dare to follow my usual strategy. I guess the paths i can follow are masking some packages or unmerging some packages, being confronted by such a decision and unsure of what i should do, i decided to seek your advice. Thanks very much in advance Yours trully Rafael
Re: [gentoo-user] Trying to solve blockage when trying to install kde-meta-4.1.2
On Wed, Oct 29, 2008 at 12:33 PM, Rafael Barrera Oro [EMAIL PROTECTED] wrote: Hello people, i tried to install kde-meta-4.1.2 and i ran across a few problems. The thing is that some packages are blocking packages required for the installation The following is output of portage when displaying the blocking packages [uninstall] app-crypt/qca-1.0-r2 [?] [blocks b ] app-crypt/qca-1.0-r3 (app-crypt/qca-1.0-r3 is blocking app-crypt/qca-2.0.1-r1) [blocks B ] =x11-libs/qt-4.4.0_alpha:4 (=x11-libs/qt-4.4.0_alpha:4 is blocking x11-libs/qt-script-4.4.2, x11-libs/qt-dbus-4.4.2, x11-libs/qt-qt3support-4.4.2, x11-libs/qt-sql-4.4.2, x11-libs/qt-gui-4.4.2, x11-libs/qt-svg-4.4.2, x11-libs/qt-test-4.4.2, x11-libs/qt-core-4.4.2, x11-libs/qt-webkit-4.4.2, x11-libs/qt-opengl-4.4.2) [blocks B ] sys-fs/udev-114 (sys-fs/udev-114 is blocking media-gfx/sane-backends-1.0.19-r2, media-libs/libgphoto2-2.4.2) My usual solution for problems of this kind is to mercilessly unmerge any packages that stand in my way, but, considering we are talking about packages like qt and udev, i must admit i do not dare to follow my usual strategy. AFAIK, only KDE4 uses Qt 4. Unmerge x11-libs/qt:4 and emerge the split qt. Unless you don't have qt installed, then something's weird. Can you post the output of eix x11-libs/qt -c ? As long as you don't use USB or any hotplug devices, you can unmerge and remerge udev at will. I guess the paths i can follow are masking some packages or unmerging some packages, being confronted by such a decision and unsure of what i should do, i decided to seek your advice. Make backups, then do what you usually do. -- Andrey Vul A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail?
Re: [gentoo-user] Trying to solve blockage when trying to install kde-meta-4.1.2
On Wednesday 29 October 2008 18:41:47 Andrey Vul wrote: [blocks B ] sys-fs/udev-114 (sys-fs/udev-114 is blocking media-gfx/sane-backends-1.0.19-r2, media-libs/libgphoto2-2.4.2) My usual solution for problems of this kind is to mercilessly unmerge any packages that stand in my way, but, considering we are talking about packages like qt and udev, i must admit i do not dare to follow my usual strategy. Instead of unmerging stuff without mercy, taking a sledgehammer to the problem and generally acting like a Windows user, I recommend you read the output and understand what is going on. It clearly says that your *current* version of udev which is less than 114 is blocking sane-backends and libgphoto. So, merge udev separately: emerge -av1 udev there's no need for udev to go in world, it's already in system. Then emerge world and it will probably work (after you deal with qt that is, but another poster told you how to do that) -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] Trying to solve blockage when trying to install kde-meta-4.1.2
Thank you both for your responses, i will try dealing with QT first and then emerge udev separately, without any mercilless barbaric running-around-barely-dressed-waving-an-axe-around unmerging. I'm gonna miss the sledgehammer though... Seroiusly, thanks very much for your help PD: As soon as i get it done i will tell how the outcome was 2008/10/29 Alan McKinnon [EMAIL PROTECTED] On Wednesday 29 October 2008 18:41:47 Andrey Vul wrote: [blocks B ] sys-fs/udev-114 (sys-fs/udev-114 is blocking media-gfx/sane-backends-1.0.19-r2, media-libs/libgphoto2-2.4.2) My usual solution for problems of this kind is to mercilessly unmerge any packages that stand in my way, but, considering we are talking about packages like qt and udev, i must admit i do not dare to follow my usual strategy. Instead of unmerging stuff without mercy, taking a sledgehammer to the problem and generally acting like a Windows user, I recommend you read the output and understand what is going on. It clearly says that your *current* version of udev which is less than 114 is blocking sane-backends and libgphoto. So, merge udev separately: emerge -av1 udev there's no need for udev to go in world, it's already in system. Then emerge world and it will probably work (after you deal with qt that is, but another poster told you how to do that) -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] Trying to solve blockage when trying to install kde-meta-4.1.2
On Wed, Oct 29, 2008 at 1:03 PM, Rafael Barrera Oro [EMAIL PROTECTED] wrote: Thank you both for your responses, i will try dealing with QT first and then emerge udev separately, without any mercilless barbaric running-around-barely-dressed-waving-an-axe-around unmerging. It'll be faster do do udev first. Get it done and over with. Qt will take 2+ hours to compile. I'm gonna miss the sledgehammer though... I sledgehammer my way through blocks and no problems here :D Seroiusly, thanks very much for your help PD: As soon as i get it done i will tell how the outcome was 2008/10/29 Alan McKinnon [EMAIL PROTECTED] On Wednesday 29 October 2008 18:41:47 Andrey Vul wrote: [blocks B ] sys-fs/udev-114 (sys-fs/udev-114 is blocking media-gfx/sane-backends-1.0.19-r2, media-libs/libgphoto2-2.4.2) My usual solution for problems of this kind is to mercilessly unmerge any packages that stand in my way, but, considering we are talking about packages like qt and udev, i must admit i do not dare to follow my usual strategy. Instead of unmerging stuff without mercy, taking a sledgehammer to the problem and generally acting like a Windows user, I recommend you read the output and understand what is going on. It clearly says that your *current* version of udev which is less than 114 is blocking sane-backends and libgphoto. So, merge udev separately: emerge -av1 udev I prefer emerge -1pv udev look at output emerge -1 udev there's no need for udev to go in world, it's already in system. Then emerge world and it will probably work (after you deal with qt that is, but another poster told you how to do that) -- Andrey Vul A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail?
Re: [gentoo-user] KDE 3.5.10: Visual glitch in taskbar
http://img525.imageshack.us/img525/7797/kdefn4.png That happens on my girlfriend account but not mine (same box BTW) This message was sent using IMP, the Internet Messaging Program.
Re: [gentoo-user] blocks to fix
On Wed, Oct 29, 2008 at 9:24 AM, Andrew MacKenzie [EMAIL PROTECTED] wrote: +++ Allan Gottlieb [gentoo-user] [Tue, Oct 28, 2008 at 11:11:48PM -0400]: It is not quite that simple. There were many posts today (28 oct) on this. I suggest reading them. You might need to unmask mit-krb5 for example. There is a danger of rendering wget and hence emerge unusable (but if you have already --fetchonly'ed the pkgs then emerge can install them). To repeat the main point: Read *carefully* today's discussion. Yeah, I'll second this. At the very least make sure you emerge -f anything you unmerge. To make it easy to re-merge if you break wget. I had one system that specified USE=kerberos and krb5 kept wanting to pull back in com_err (I think). Also removing com_err seemed to break wget (and curl) on that system so I had to manually fetch some packages. -- // Andrew MacKenzie | http://www.edespot.com Thanks all. I do need to be careful about this as the machine is 400 miles away and the user is completely unable to be of any help if it stops working meaning I have to drive or the box has to be shipped. Either alternative is not good. Cheers, Mark
Re: [gentoo-user] Trying to solve blockage when trying to install kde-meta-4.1.2
On Wednesday 29 October 2008 19:03:51 Rafael Barrera Oro wrote: Thank you both for your responses, i will try dealing with QT first and then emerge udev separately, without any mercilless barbaric running-around-barely-dressed-waving-an-axe-around unmerging. There you go, that's a good lad :-) I'm gonna miss the sledgehammer though... Don't dismiss it entirely thoguh. It comes in handy when dealing with recalcitrant incorigible users. Very very handy indeed. A last note on emerge's output, especially with blockers: the time spent to read all the portage pages (several times) is time very well spent. I recommend when next you get blockers, is to rerun emerge with -t and take note of what packages cause a blocker to be pulled in or up|downgraded. make a list of everything involved and read the ebuilds. Plot it all out with pen and pencil, do this repetitively till you have a lightbulb moment where it all suddenly makes sense. Most folks around here have done this at some point and there doesn't seem to be a shortcut :-) -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] package.keywords syntax?
I mean to really know C, that is, read a rigorous book such as C: A Reference Manual and be able to write portable programs with well-defined behavior. Speaking of well-defined behavior, do you know what happens when you cast a float to an int, and the float is too big to fit into the int? Did oyu try it yourself and see? The point is that the behavior in this situation is undefined. It might do anything. Programming in C is different than programming in Python. Most likely the compiler will try to treat the float as an int and use the first 4 bytes of the float, ignoring the rest. No, you misunderstood C. C, despite being lower level than (say) Java, does not view variables as typeless bit patterns. It views them as integers, real numbers, etc. So if you perform float real_number = 0.5; int integer = real_number; The value of integer will be 0; if C were to actually interpret the bit pattern of real_number as an integer, you would get 1056964608 (0x3f00) - at least on my machine. That is not what C does, though. The real problem is when you type float real_number = 4e10; int integer = real_number; If your integer can only hold values up to 2^31 - 1 , the behavior of the above code is undefined. In a language like Python, everything either behaves as you intended, of throws an exception. This is why I say In C, you must completely understand the behavior of every statement or function, and you *must* handle the possibility of errors. -- Software is like sex: it is better when it is free - Linus Torvalds
Re: [gentoo-user] Trying to solve blockage when trying to install kde-meta-4.1.2
On Wed, 29 Oct 2008 13:14:34 -0400, Andrey Vul wrote: emerge -av1 udev I prefer emerge -1pv udev look at output emerge -1 udev Which means you have to wait for the dependency resolver to run twice. Which is why it's better to use emerge -1av udev look at output press enter -- Neil Bothwick If it ain't broke, wait a day or two!! signature.asc Description: PGP signature
Re: [gentoo-user] blocks to fix
On Wed, 29 Oct 2008 11:00:41 -0700, Mark Knecht wrote: Thanks all. I do need to be careful about this as the machine is 400 miles away and the user is completely unable to be of any help if it stops working meaning I have to drive or the box has to be shipped. Either alternative is not good. It's a bit late now, but installing a second distro, or a bare stage 3 gentoo, as a dual boot so you can still access the machoine if it breaks. As an alternative, send the user a GRML CD and get them to boot that if things go wrong. -- Neil Bothwick Dream as if you'll live forever. Live as if you'll die today. signature.asc Description: PGP signature
Re: [gentoo-user] blocks to fix
On Wed, Oct 29, 2008 at 1:49 PM, Neil Bothwick [EMAIL PROTECTED] wrote: On Wed, 29 Oct 2008 11:00:41 -0700, Mark Knecht wrote: Thanks all. I do need to be careful about this as the machine is 400 miles away and the user is completely unable to be of any help if it stops working meaning I have to drive or the box has to be shipped. Either alternative is not good. It's a bit late now, but installing a second distro, or a bare stage 3 gentoo, as a dual boot so you can still access the machoine if it breaks. As an alternative, send the user a GRML CD and get them to boot that if things go wrong. -- Neil Bothwick I tried the Gentoo install CD with him a couple of years ago. He was unable to get ssh set up and tell me what his firewall's IP address was. Please remember, some of these folks fought in WW2. They are not recent IT graduates! ;-) Having a second install is a reasonable idea. I suppose I can probably install that remotely but I cannot test it remotely (AFAIK) without someone handy to choose the right line in the grub menu... Thanks, Mark
[gentoo-user] question about init scripts
What is the difference between after and need keywords in depend() function of any init script? -- Regards, Nickolay Hodyunya.
Re: [gentoo-user] Trying to solve blockage when trying to install kde-meta-4.1.2
On Wednesday 29 October 2008 22:46:34 Neil Bothwick wrote: On Wed, 29 Oct 2008 13:14:34 -0400, Andrey Vul wrote: emerge -av1 udev I prefer emerge -1pv udev look at output emerge -1 udev Which means you have to wait for the dependency resolver to run twice. Which is why it's better to use emerge -1av udev look at output press enter you have it wrong: emerge -1av udev do not press enter look at output press enter :-) -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] question about init scripts
On Wednesday 29 October 2008 23:46:07 Nickolay Hodyunya wrote: What is the difference between after and need keywords in depend() function of any init script? http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=2chap=4#doc_chap4 -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] question about init scripts
Nickolay Hodyunya schrieb am 29.10.2008 22:46: What is the difference between after and need keywords in depend() function of any init script? Everything should be explained here [1] Use, need and provide are for dependencies. Need, before and after are for controlling execution order. [1] http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=2chap=4 signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] Trying to solve blockage when trying to install kde-meta-4.1.2
On Wed, 29 Oct 2008 23:52:25 +0200, Alan McKinnon wrote: emerge -1av udev look at output press enter you have it wrong: emerge -1av udev do not press enter look at output press enter Looking at the output only confuses me, I prefer to skip that step :) -- Neil Bothwick The box said 'needs Win95 or better' so I bought an Amiga. signature.asc Description: PGP signature
[gentoo-user] Re: blocks to fix
On Wed, 29 Oct 2008 20:49:13 + Neil Bothwick [EMAIL PROTECTED] wrote: It's a bit late now, but installing a second distro, or a bare stage 3 gentoo, as a dual boot so you can still access the machoine if it breaks. System Rescue CD is Gentoo-based and can be installed on HDD very quickly and easily -- only seven files to copy from the CD, and add a boot manager entry. http://www.sysresccd.org/ -- »Q« Kleeneness is next to Gödelness.
Re: [gentoo-user] question about init scripts
On Wed, Oct 29, 2008 at 10:57:37PM +0100, Daniel Pielmeier wrote: Nickolay Hodyunya schrieb am 29.10.2008 22:46: What is the difference between after and need keywords in depend() function of any init script? Everything should be explained here [1] Use, need and provide are for dependencies. Need, before and after are for controlling execution order. [1] http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=2chap=4 Well, found the answer in handbook, thanks. -- Regards, Nickolay Hodyunya.
[gentoo-user] A question about emerge --info
I've always been curious about something in emerge --info's output: $ emerge --info Portage 2.2_rc12 (default/linux/amd64/2008.0/desktop, gcc-4.3.2, glibc-2.8_p20080602-r0, 2.6.27-gentoo-r1 x86_64) = System uname: [EMAIL PROTECTED] Timestamp of tree: Tue, 28 Oct 2008 00:31:02 + Why does it show the glibc-2.8 on the second line but glibc2.2.5 on the fifth? Thanks, Paul
Re: [gentoo-user] A question about emerge --info
On Wed, Oct 29, 2008 at 6:53 PM, Paul Hartman [EMAIL PROTECTED] wrote: I've always been curious about something in emerge --info's output: $ emerge --info Portage 2.2_rc12 (default/linux/amd64/2008.0/desktop, gcc-4.3.2, glibc-2.8_p20080602-r0, 2.6.27-gentoo-r1 x86_64) = System uname: [EMAIL PROTECTED] Timestamp of tree: Tue, 28 Oct 2008 00:31:02 + Why does it show the glibc-2.8 on the second line but glibc2.2.5 on the fifth? Uname returns only the kernel version string. Why glibc is in there is beyond me. However, I'm still using 2.6.26, so it might be a 2.6.27 issue. -- Andrey Vul A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail?
Re: [gentoo-user] A question about emerge --info
On Wed, Oct 29, 2008 at 3:53 PM, Paul Hartman [EMAIL PROTECTED][EMAIL PROTECTED] wrote: I've always been curious about something in emerge --info's output: $ emerge --info Portage 2.2_rc12 (default/linux/amd64/2008.0/desktop, gcc-4.3.2, glibc-2.8_p20080602-r0, 2.6.27-gentoo-r1 x86_64) = System uname: Linux-2.6.27-gentoo-r1-x86_64-Intel-R-_Core-TM-2_CPU_6600_@ _2.40GHz-with-glibc2.2.5 Timestamp of tree: Tue, 28 Oct 2008 00:31:02 + Why does it show the glibc-2.8 on the second line but glibc2.2.5 on the fifth? Thanks, Paul My best guess is that your kernel was compiled by a toolchain that was running on glibc2.2.5 See what happens if you recompile the kernel under the newer toolchain.
Re: [gentoo-user] A question about emerge --info
On Wed, Oct 29, 2008 at 7:09 PM, Andrey Falko [EMAIL PROTECTED] wrote: On Wed, Oct 29, 2008 at 3:53 PM, Paul Hartman [EMAIL PROTECTED] wrote: I've always been curious about something in emerge --info's output: $ emerge --info Portage 2.2_rc12 (default/linux/amd64/2008.0/desktop, gcc-4.3.2, glibc-2.8_p20080602-r0, 2.6.27-gentoo-r1 x86_64) = System uname: [EMAIL PROTECTED] Timestamp of tree: Tue, 28 Oct 2008 00:31:02 + Why does it show the glibc-2.8 on the second line but glibc2.2.5 on the fifth? Thanks, Paul My best guess is that your kernel was compiled by a toolchain that was running on glibc2.2.5 See what happens if you recompile the kernel under the newer toolchain. 2.6.27 uses glibc? Really? I'm asking lkml what's happening. -- Andrey Vul A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail?
Re: [gentoo-user] A question about emerge --info
On Wed, Oct 29, 2008 at 6:09 PM, Andrey Falko [EMAIL PROTECTED] wrote: On Wed, Oct 29, 2008 at 3:53 PM, Paul Hartman [EMAIL PROTECTED] wrote: I've always been curious about something in emerge --info's output: $ emerge --info Portage 2.2_rc12 (default/linux/amd64/2008.0/desktop, gcc-4.3.2, glibc-2.8_p20080602-r0, 2.6.27-gentoo-r1 x86_64) = System uname: [EMAIL PROTECTED] Timestamp of tree: Tue, 28 Oct 2008 00:31:02 + Why does it show the glibc-2.8 on the second line but glibc2.2.5 on the fifth? Thanks, Paul My best guess is that your kernel was compiled by a toolchain that was running on glibc2.2.5 See what happens if you recompile the kernel under the newer toolchain. By toolchain do you mean gcc/binutils? Both have been built since I've had glibc 2.8 installed. When I build my kernel I just make all (after configuring, of course). I've never even had glibc2.2.5 on this computer. The earliest was 2.5 and I've been using 2.8 since June. That's why the message confuses me. uname -a does not actually mention anything about glibc, but emerge --info is getting it from somewhere. I haven't tried to look into the depths of emerge sources yet to figure out exactly where it's getting that info. Thanks, Paul
Re: [gentoo-user] A question about emerge --info
On Wed, Oct 29, 2008 at 4:13 PM, Andrey Vul [EMAIL PROTECTED] wrote: On Wed, Oct 29, 2008 at 7:09 PM, Andrey Falko [EMAIL PROTECTED] wrote: On Wed, Oct 29, 2008 at 3:53 PM, Paul Hartman [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I've always been curious about something in emerge --info's output: $ emerge --info Portage 2.2_rc12 (default/linux/amd64/2008.0/desktop, gcc-4.3.2, glibc-2.8_p20080602-r0, 2.6.27-gentoo-r1 x86_64) = System uname: Linux-2.6.27-gentoo-r1-x86_64-Intel-R-_Core-TM-2_CPU_6600_@ _2.40GHz-with-glibc2.2.5 Timestamp of tree: Tue, 28 Oct 2008 00:31:02 + Why does it show the glibc-2.8 on the second line but glibc2.2.5 on the fifth? Thanks, Paul My best guess is that your kernel was compiled by a toolchain that was running on glibc2.2.5 See what happens if you recompile the kernel under the newer toolchain. 2.6.27 uses glibc? Really? I'm asking lkml what's happening. -- Andrey Vul A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? Well it doesn't use glibc per se, gcc uses the glibc.however, his uname -a output does look funky. Here is mine: System uname: 2.6.24.7 x86_64 Intel(R) Core(TM)2 CPU 6700 @ 2.66GHz Did all underscores make it there by accident? What happens when you do a plain uname -a?
Re: [gentoo-user] Trying to solve blockage when trying to install kde-meta-4.1.2
On Wed, Oct 29, 2008 at 4:46 PM, Neil Bothwick [EMAIL PROTECTED] wrote: On Wed, 29 Oct 2008 13:14:34 -0400, Andrey Vul wrote: emerge -av1 udev I prefer emerge -1pv udev look at output emerge -1 udev Which means you have to wait for the dependency resolver to run twice. Which is why it's better to use emerge -1av udev look at output press enter I don't like package managers which require interactivity. emerge -uvDp world | less is easier to parse then emerge -upDa world. Why? Because I don't have to find a way of transferring return if less handles all of the keyboard input. So I prefer two stages: 1) pretend merge - single verbosity - and look at output 2) actual merge - normal / quiet - and pipe to tee -- Neil Bothwick If it ain't broke, wait a day or two!! -- Andrey Vul A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail?
Re: [gentoo-user] A question about emerge --info
On Wed, Oct 29, 2008 at 7:23 PM, Andrey Falko [EMAIL PROTECTED] wrote: On Wed, Oct 29, 2008 at 4:13 PM, Andrey Vul [EMAIL PROTECTED] wrote: On Wed, Oct 29, 2008 at 7:09 PM, Andrey Falko [EMAIL PROTECTED] wrote: On Wed, Oct 29, 2008 at 3:53 PM, Paul Hartman [EMAIL PROTECTED] wrote: I've always been curious about something in emerge --info's output: $ emerge --info Portage 2.2_rc12 (default/linux/amd64/2008.0/desktop, gcc-4.3.2, glibc-2.8_p20080602-r0, 2.6.27-gentoo-r1 x86_64) = System uname: [EMAIL PROTECTED] Timestamp of tree: Tue, 28 Oct 2008 00:31:02 + Why does it show the glibc-2.8 on the second line but glibc2.2.5 on the fifth? Thanks, Paul My best guess is that your kernel was compiled by a toolchain that was running on glibc2.2.5 See what happens if you recompile the kernel under the newer toolchain. 2.6.27 uses glibc? Really? I'm asking lkml what's happening. Well it doesn't use glibc per se, gcc uses the glibc.however, his uname -a output does look funky. My point exactly. Here is mine: System uname: 2.6.24.7 x86_64 Intel(R) Core(TM)2 CPU 6700 @ 2.66GHz Did all underscores make it there by accident? What happens when you do a plain uname -a? Here's my uname -a: Linux andrey 2.6.26.5-rt9 #6 PREEMPT RT Mon Oct 20 18:21:31 EDT 2008 i686 AMD Athlon(tm) XP 1700+ AuthenticAMD GNU/Linux But emerge --info | grep uname is this: System uname: Linux-2.6.26.5-rt9-i686-AMD_Athlon-tm-_XP_1700+-with-glibc2.0 Clearly, the underscores and -with-glibc are part of portage 2.2_rc12. I'm going to scan through the portage _rc12.patch diff to see what's going on. Will report when finished. -- Andrey Vul A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail?
Re: [gentoo-user] A question about emerge --info
Update: it has something to do with platform.platform() Now to search for platform by grepping all the .py files in /usr/lib. Hopefully this will take less time than emerge --regen. -- Andrey Vul A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail?
Re: [gentoo-user] A question about emerge --info
Found the code, and it's actually part of python (as of 2.4). Gentoo sets aliased to 1 when printing the system uname. /usr/lib/python2.{4,5,6}/platform.py: def _platform(*args): Helper to format the platform string in a filename compatible format e.g. system-version-machine. # Format the platform string platform = string.join( map(string.strip, filter(len,args)), '-') # Cleanup some possible filename obstacles... replace = string.replace platform = replace(platform,' ','_') platform = replace(platform,'/','-') platform = replace(platform,'\\','-') platform = replace(platform,':','-') platform = replace(platform,';','-') platform = replace(platform,'','-') platform = replace(platform,'(','-') platform = replace(platform,')','-') # No need to report 'unknown' information... platform = replace(platform,'unknown','') # Fold '--'s and remove trailing '-' while 1: cleaned = replace(platform,'--','-') if cleaned == platform: break platform = cleaned while platform[-1] == '-': platform = platform[:-1] return platform def platform(aliased=0, terse=0): Returns a single string identifying the underlying platform with as much useful information as possible (but no more :). The output is intended to be human readable rather than machine parseable. It may look different on different platforms and this is intended. If aliased is true, the function will use aliases for various platforms that report system names which differ from their common names, e.g. SunOS will be reported as Solaris. The system_alias() function is used to implement this. Setting terse to true causes the function to return only the absolute minimum information needed to identify the platform. result = _platform_cache.get((aliased, terse), None) if result is not None: return result # Get uname information and then apply platform specific cosmetics # to it... system,node,release,version,machine,processor = uname() if machine == processor: processor = '' if aliased: system,release,version = system_alias(system,release,version) if system == 'Windows': # MS platforms rel,vers,csd,ptype = win32_ver(version) if terse: platform = _platform(system,release) else: platform = _platform(system,release,version,csd) elif system in ('Linux',): # Linux based systems distname,distversion,distid = dist('') if distname and not terse: platform = _platform(system,release,machine,processor, 'with', distname,distversion,distid) else: # If the distribution name is unknown check for libc vs. glibc libcname,libcversion = libc_ver(sys.executable) platform = _platform(system,release,machine,processor, 'with', libcname+libcversion) elif system == 'Java': # Java platforms r,v,vminfo,(os_name,os_version,os_arch) = java_ver() if terse: platform = _platform(system,release,version) else: platform = _platform(system,release,version, 'on', os_name,os_version,os_arch) elif system == 'MacOS': # MacOS platforms if terse: platform = _platform(system,release) else: platform = _platform(system,release,machine) else: # Generic handler if terse: platform = _platform(system,release) else: bits,linkage = architecture(sys.executable) platform = _platform(system,release,machine,processor,bits,linkage) _platform_cache[(aliased, terse)] = platform return platform Proof: run /usr/lib/python2.{4,5,6}/platform.py aliased and terse have no effect wrt output (kernel_version-with-libc_version) -- Andrey Vul A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail?
Re: [gentoo-user] A question about emerge --info
Good digging around :). So this is a python bug then? Or does portage need to be update for some change that went into python? Actually, is this really even a bug...its just a minor cosmetic problem really. One's bug is another's feature. libc in uname is honestly WTF but this begs the real question: why doesn't portage (emerge and repoman to be specific) simply get the output of uname -a ? It's not written in C, you don't have to mess around with 5-6 fd's to get the needed data. And I think that this is both a design bug and a red herring. By the way, should I make a bug report with a patch to remove this issue? Making it selectable via FEATURES requires more digging around in portage. -- Andrey Vul A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail?
Re: [gentoo-user] A question about emerge --info
On Wed, Oct 29, 2008 at 5:03 PM, Andrey Vul [EMAIL PROTECTED] wrote: Good digging around :). So this is a python bug then? Or does portage need to be update for some change that went into python? Actually, is this really even a bug...its just a minor cosmetic problem really. One's bug is another's feature. libc in uname is honestly WTF but this begs the real question: why doesn't portage (emerge and repoman to be specific) simply get the output of uname -a ? It's not written in C, you don't have to mess around with 5-6 fd's to get the needed data. And I think that this is both a design bug and a red herring. By the way, should I make a bug report with a patch to remove this issue? Making it selectable via FEATURES requires more digging around in portage. -- Andrey Vul A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? Maybe we should ask gentoo-dev? The reason not to use uname -a straight up is because it forces portage to depend on coreutils. Portage ebuilds currently do not depend on it unless userland_GNU is enabled. I'm split, I prefer code to always be as easy as possible, yet I don't like unnecessary dependencies.
Re: [gentoo-user] A question about emerge --info
On Wed, Oct 29, 2008 at 8:15 PM, Andrey Falko [EMAIL PROTECTED] wrote: On Wed, Oct 29, 2008 at 5:03 PM, Andrey Vul [EMAIL PROTECTED] wrote: Good digging around :). So this is a python bug then? Or does portage need to be update for some change that went into python? Actually, is this really even a bug...its just a minor cosmetic problem really. One's bug is another's feature. libc in uname is honestly WTF but this begs the real question: why doesn't portage (emerge and repoman to be specific) simply get the output of uname -a ? It's not written in C, you don't have to mess around with 5-6 fd's to get the needed data. And I think that this is both a design bug and a red herring. By the way, should I make a bug report with a patch to remove this issue? Making it selectable via FEATURES requires more digging around in portage. -- Andrey Vul A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? Maybe we should ask gentoo-dev? The reason not to use uname -a straight up is because it forces portage to depend on coreutils. Portage ebuilds currently do not depend on it unless userland_GNU is enabled. I'm split, I prefer code to always be as easy as possible, yet I don't like unnecessary dependencies. I'm going to try and reverse-engineer uname and make it python-able. I just hope python-C is much more simple than Java-C (JNI is a complex, horrible, and ugly piece of bloat). -- Andrey Vul A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail?
Re: [gentoo-user] A question about emerge --info
On Wed, Oct 29, 2008 at 7:51 PM, Andrey Vul [EMAIL PROTECTED] wrote: snip elif system in ('Linux',): # Linux based systems distname,distversion,distid = dist('') if distname and not terse: platform = _platform(system,release,machine,processor, 'with', distname,distversion,distid) else: # If the distribution name is unknown check for libc vs. glibc libcname,libcversion = libc_ver(sys.executable) platform = _platform(system,release,machine,processor, 'with', libcname+libcversion) snip Hrm. I know just enough about python to get myself in trouble here... but it looks like a python bug in magicking up the libc name and version... but the below is WAY outside my level of practice with python (it'll take re-reading and digging elsewhere a good few times if I'm ever to make sense of it... -- def libc_ver(executable=sys.executable,lib='',version='', chunksize=2048): Tries to determine the libc version that the file executable (which defaults to the Python interpreter) is linked against. Returns a tuple of strings (lib,version) which default to the given parameters in case the lookup fails. Note that the function has intimate knowledge of how different libc versions add symbols to the executable and thus is probably only useable for executables compiled using gcc. The file is read and scanned in chunks of chunksize bytes. f = open(executable,'rb') binary = f.read(chunksize) pos = 0 while 1: m = _libc_search.search(binary,pos) if not m: binary = f.read(chunksize) if not binary: break pos = 0 continue libcinit,glibc,glibcversion,so,threads,soversion = m.groups() if libcinit and not lib: lib = 'libc' elif glibc: if lib != 'glibc': lib = 'glibc' version = glibcversion elif glibcversion version: version = glibcversion elif so: if lib != 'glibc': lib = 'libc' if soversion version: version = soversion if threads and version[-len(threads):] != threads: version = version + threads pos = m.end() f.close() return lib,version -- It parses the header of an executable and guesses, but... the how is too many directions from this that I'm not seeing it with my haphazard abuse of grep. I'd presume anything that might care what platform it's running on (underneath python itself) would be susceptible, so a word thrown in the direction of upstream python would be the main way to go... though it looks like emerge didn't used to use that call... Portage 2.1.4.5 (default/linux/x86/2008.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.25-gentoo-r7-mahain i686) = System uname: 2.6.25-gentoo-r7-mahain i686 AMD Athlon(tm) MP 2400+ is my output, based on a call in emerge to uname -mrp .. not platform.platform() Looks like gentoo-dev aimed to drop that dependency in newer versions after all. -- Poison [BLX] Joshua M. Murphy
Re: [gentoo-user] Re: dhcpd uses fake MAC address
On Wed, Oct 29, 2008 at 6:49 AM, Mick [EMAIL PROTECTED] wrote: snip More sophisticated routers allow you to set up on their CLI static LAN IP addresses using the DUID string, instead of the client's MAC hardware address. Previous versions of dhcpcd had the vram USE flag which copied the hardware address into the DUID string and the dhcp servers would happily recognise the original network device, while using the DUID string. Now the vram flag is gone. Therefore, if you cannot set up static IP addresses with your router's CLI using the client_indentifier string (like e.g. on Cisco and Adtran/Netvanta routers), the only other solution would be to set it on the client side. That's an inconvenient solution if you have a laptop which connects to all sort of networks with different LAN IP addresses/ranges. In that case you may have to run ifconfig and route manually each time you connect to a network. -- Regards, Mick Or, actually, you could just give in and use a different dhcp client... one more forgiving of less RFC compliant servers. Just winging an admittedly untested idea... try busybox udhcpc and see if it gives you the right IP... and if so, try emerging net-misc/udhcp (different from BB's built in, but it's worked in all the same places as BB's has for me, which includes some very cheap routers) and setting your conf.d/net to use it over other clients. ( modules=( udhcpc ) ) -- Poison [BLX] Joshua M. Murphy
Re: [gentoo-user] A question about emerge --info
On Wed, Oct 29, 2008 at 8:47 PM, Joshua Murphy [EMAIL PROTECTED] wrote: On Wed, Oct 29, 2008 at 7:51 PM, Andrey Vul [EMAIL PROTECTED] wrote: snip elif system in ('Linux',): # Linux based systems distname,distversion,distid = dist('') if distname and not terse: platform = _platform(system,release,machine,processor, 'with', distname,distversion,distid) else: # If the distribution name is unknown check for libc vs. glibc libcname,libcversion = libc_ver(sys.executable) platform = _platform(system,release,machine,processor, 'with', libcname+libcversion) snip Hrm. I know just enough about python to get myself in trouble here... but it looks like a python bug in magicking up the libc name and version... but the below is WAY outside my level of practice with python (it'll take re-reading and digging elsewhere a good few times if I'm ever to make sense of it... -- def libc_ver(executable=sys.executable,lib='',version='', chunksize=2048): Tries to determine the libc version that the file executable (which defaults to the Python interpreter) is linked against. Returns a tuple of strings (lib,version) which default to the given parameters in case the lookup fails. Note that the function has intimate knowledge of how different libc versions add symbols to the executable and thus is probably only useable for executables compiled using gcc. The file is read and scanned in chunks of chunksize bytes. f = open(executable,'rb') binary = f.read(chunksize) pos = 0 while 1: m = _libc_search.search(binary,pos) if not m: binary = f.read(chunksize) if not binary: break pos = 0 continue libcinit,glibc,glibcversion,so,threads,soversion = m.groups() if libcinit and not lib: lib = 'libc' elif glibc: if lib != 'glibc': lib = 'glibc' version = glibcversion elif glibcversion version: version = glibcversion elif so: if lib != 'glibc': lib = 'libc' if soversion version: version = soversion if threads and version[-len(threads):] != threads: version = version + threads pos = m.end() f.close() return lib,version -- It parses the header of an executable and guesses, but... the how is too many directions from this that I'm not seeing it with my haphazard abuse of grep. I'd presume anything that might care what platform it's running on (underneath python itself) would be susceptible, so a word thrown in the direction of upstream python would be the main way to go... though it looks like emerge didn't used to use that call... Portage 2.1.4.5 (default/linux/x86/2008.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.25-gentoo-r7-mahain i686) = System uname: 2.6.25-gentoo-r7-mahain i686 AMD Athlon(tm) MP 2400+ is my output, based on a call in emerge to uname -mrp .. not platform.platform() Looks like gentoo-dev aimed to drop that dependency in newer versions after all. Is it really better than making a small umake clone (to remove the coreutils dependency)? All *nixes (should) have uname, and you can scan PATH if uname exists. If it doesn't, then emerge install the mini-uname. -- Andrey Vul A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail?
Re: [gentoo-user] A question about emerge --info
On Wed, Oct 29, 2008 at 8:47 PM, Joshua Murphy [EMAIL PROTECTED] wrote: On Wed, Oct 29, 2008 at 7:51 PM, Andrey Vul [EMAIL PROTECTED] wrote: snip elif system in ('Linux',): # Linux based systems distname,distversion,distid = dist('') if distname and not terse: platform = _platform(system,release,machine,processor, 'with', distname,distversion,distid) else: # If the distribution name is unknown check for libc vs. glibc libcname,libcversion = libc_ver(sys.executable) platform = _platform(system,release,machine,processor, 'with', libcname+libcversion) snip Hrm. I know just enough about python to get myself in trouble here... but it looks like a python bug in magicking up the libc name and version... but the below is WAY outside my level of practice with python (it'll take re-reading and digging elsewhere a good few times if I'm ever to make sense of it... -- def libc_ver(executable=sys.executable,lib='',version='', chunksize=2048): Tries to determine the libc version that the file executable (which defaults to the Python interpreter) is linked against. Returns a tuple of strings (lib,version) which default to the given parameters in case the lookup fails. Note that the function has intimate knowledge of how different libc versions add symbols to the executable and thus is probably only useable for executables compiled using gcc. The file is read and scanned in chunks of chunksize bytes. f = open(executable,'rb') binary = f.read(chunksize) pos = 0 while 1: m = _libc_search.search(binary,pos) if not m: binary = f.read(chunksize) if not binary: break pos = 0 continue libcinit,glibc,glibcversion,so,threads,soversion = m.groups() if libcinit and not lib: lib = 'libc' elif glibc: if lib != 'glibc': lib = 'glibc' version = glibcversion elif glibcversion version: version = glibcversion elif so: if lib != 'glibc': lib = 'libc' if soversion version: version = soversion if threads and version[-len(threads):] != threads: version = version + threads pos = m.end() f.close() return lib,version -- It parses the header of an executable and guesses, but... the how is too many directions from this that I'm not seeing it with my haphazard abuse of grep. I'd presume anything that might care what platform it's running on (underneath python itself) would be susceptible, so a word thrown in the direction of upstream python would be the main way to go... though it looks like emerge didn't used to use that call... Portage 2.1.4.5 (default/linux/x86/2008.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.25-gentoo-r7-mahain i686) = System uname: 2.6.25-gentoo-r7-mahain i686 AMD Athlon(tm) MP 2400+ is my output, based on a call in emerge to uname -mrp .. not platform.platform() Looks like gentoo-dev aimed to drop that dependency in newer versions after all. The creator of paludis was right ... portage is a jack of all trades and a master of none. -- Andrey Vul A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail?
Re: [gentoo-user] Trying to solve blockage when trying to install kde-meta-4.1.2
On Wed, Oct 29, 2008 at 7:26 PM, Andrey Vul [EMAIL PROTECTED] wrote: I don't like package managers which require interactivity. emerge -uvDp world | less is easier to parse then emerge -upDa world. Why? Because I don't have to find a way of transferring return if less handles all of the keyboard input. So I prefer two stages: 1) pretend merge - single verbosity - and look at output 2) actual merge - normal / quiet - and pipe to tee So what you're saying... is that emerge should have a switch to turn on, when using -p, -a, and/or -t, a pager? Particularly one that, until you're content with -a in particular, doesn't accidentally have a means of handing output back off to the emerge for the yes/no? This would spare the double run of the dependency checker while giving users who want it a pager to use and giving the rest the same functionality a simple -a gives now... something like etc-update's use of a pager comes to mind. Let's see... -P is taken for --prune ... --less/-L or... --more/-m ... --more/-M ? Of course, --pager/-M would work too, but it's less intuitive (we already have --unmerge/-C ... so why not, I suppose). Not *quite* sure I'm up to the task at the moment, though. -- Poison [BLX] Joshua M. Murphy
Re: [gentoo-user] A question about emerge --info
On Wed, Oct 29, 2008 at 7:03 PM, Andrey Vul [EMAIL PROTECTED] wrote: Good digging around :). So this is a python bug then? Or does portage need to be update for some change that went into python? Actually, is this really even a bug...its just a minor cosmetic problem really. One's bug is another's feature. libc in uname is honestly WTF but this begs the real question: why doesn't portage (emerge and repoman to be specific) simply get the output of uname -a ? It's not written in C, you don't have to mess around with 5-6 fd's to get the needed data. And I think that this is both a design bug and a red herring. By the way, should I make a bug report with a patch to remove this issue? Making it selectable via FEATURES requires more digging around in portage. -- Andrey Vul Dear Andrey Andrey, thanks for the good info ideas :) For the record, my uname -a is: Linux e6600 2.6.27-gentoo-r1 #1 SMP PREEMPT Thu Oct 23 17:45:32 CDT 2008 x86_64 Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz GenuineIntel GNU/Linux Compared to that line from emerge --info: System uname: [EMAIL PROTECTED] Regards, Paul
Re: [gentoo-user] A question about emerge --info
On Wed, Oct 29, 2008 at 8:15 PM, Andrey Falko [EMAIL PROTECTED] wrote: On Wed, Oct 29, 2008 at 5:03 PM, Andrey Vul [EMAIL PROTECTED] wrote: Good digging around :). So this is a python bug then? Or does portage need to be update for some change that went into python? Actually, is this really even a bug...its just a minor cosmetic problem really. One's bug is another's feature. libc in uname is honestly WTF but this begs the real question: why doesn't portage (emerge and repoman to be specific) simply get the output of uname -a ? It's not written in C, you don't have to mess around with 5-6 fd's to get the needed data. And I think that this is both a design bug and a red herring. By the way, should I make a bug report with a patch to remove this issue? Making it selectable via FEATURES requires more digging around in portage. -- Andrey Vul A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? Maybe we should ask gentoo-dev? The reason not to use uname -a straight up is because it forces portage to depend on coreutils. Portage ebuilds currently do not depend on it unless userland_GNU is enabled. I'm split, I prefer code to always be as easy as possible, yet I don't like unnecessary dependencies. According to http://en.wikipedia.org/wiki/Uname , uname -s -r -m -p is defined for all *nixes (with the exception of -p for HP-UX) Unless you use uname -a, which is only supported in coreutils uname or Darwin/MacOsX uname. -- Andrey Vul A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail?
Re: [gentoo-user] Trying to solve blockage when trying to install kde-meta-4.1.2
On Wed, Oct 29, 2008 at 9:44 PM, Joshua Murphy [EMAIL PROTECTED] wrote: On Wed, Oct 29, 2008 at 7:26 PM, Andrey Vul [EMAIL PROTECTED] wrote: I don't like package managers which require interactivity. emerge -uvDp world | less is easier to parse then emerge -upDa world. Why? Because I don't have to find a way of transferring return if less handles all of the keyboard input. So I prefer two stages: 1) pretend merge - single verbosity - and look at output 2) actual merge - normal / quiet - and pipe to tee So what you're saying... is that emerge should have a switch to turn on, when using -p, -a, and/or -t, a pager? Particularly one that, until you're content with -a in particular, doesn't accidentally have a means of handing output back off to the emerge for the yes/no? This Yes. would spare the double run of the dependency checker while giving users who want it a pager to use and giving the rest the same functionality a simple -a gives now... something like etc-update's use of a pager comes to mind. Let's see... -P is taken for --prune ... --less/-L or... --more/-m ... --more/-M ? Of course, --pager/-M would work too, but it's less intuitive (we already have --unmerge/-C ... so why not, I suppose). Not *quite* sure I'm up to the task at the moment, though. But I usually use emerge -p file in order to see the difference in dependencies from testing USE flags. I would always choose -pN over -aN. Where's the portage to-do list? If you can find it, add these two items: fix the uname add pager support for -p, -a, -t -- Andrey Vul A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail?
Re: [gentoo-user] broken ALSA
Hi Andrey, what do you mean by: Apparently asym needs to be the final token in ALSA_PCM_PLUGINS. I don't know why, but doing that made alsa work again (i.e. the ebuild recognized ALSA_PCM_PLUGINS contains asym). ? I have try to enable asym use flag, but alsa still not working. -- Salam, Marc
Re: [gentoo-user] broken ALSA
On Wed, Oct 29, 2008 at 11:05 PM, M. Sitorus [EMAIL PROTECTED] wrote: Hi Andrey, what do you mean by: Apparently asym needs to be the final token in ALSA_PCM_PLUGINS. I don't know why, but doing that made alsa work again (i.e. the ebuild recognized ALSA_PCM_PLUGINS contains asym). ? I have try to enable asym use flag, but alsa still not working. I mean this (taken from make.conf): ALSA_PCM_PLUGINS=adpcm alaw copy dmix dshare dsnoop empty extplug file hooks ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol asym asym is the final space-delimited token in ALSA_PCM_PLUGINS. -- Andrey Vul A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail?
Re: [gentoo-user] broken ALSA
asym should be the last flag? i don't know emerge read USE Flag by order. by the way, i usually only have dmix in ALSA_PCM_PLUGINS, and it's work. Only after i read your email i put asym on it. So, right know i have ALSA_PCM_PLUGINS=asym dmix on make.conf. It's okay right? I don't need to put the same flag with yours, to make alsa work again right? -- Salam, Marc
Re: [gentoo-user] broken ALSA
On Wed, Oct 29, 2008 at 11:53 PM, M. Sitorus [EMAIL PROTECTED] wrote: asym should be the last flag? i don't know emerge read USE Flag by order. It's not supposed to. There's a bug in the ebuild or eclass and putting asym is the best workaround. by the way, i usually only have dmix in ALSA_PCM_PLUGINS, and it's work. Only after i read your email i put asym on it. So, right know i have ALSA_PCM_PLUGINS=asym dmix on make.conf. It's okay right? I don't need to put the same flag with yours, to make alsa work again right? -- Andrey Vul A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail?
Re: [gentoo-user] broken ALSA
On Wed, Oct 29, 2008 at 11:53 PM, M. Sitorus [EMAIL PROTECTED] wrote: asym should be the last flag? i don't know emerge read USE Flag by order. by the way, i usually only have dmix in ALSA_PCM_PLUGINS, and it's work. Only after i read your email i put asym on it. So, right know i have ALSA_PCM_PLUGINS=asym dmix on make.conf. It's okay right? I don't need to put the same flag with yours, to make alsa work again right? You're not missing asym, you're missing empty. Easy way to check for missing ALSA_PCM_PLUGIN token: errors of the form _snd_pcm_$foo_open where $foo is the missing pcm plugin. -- Andrey Vul A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail?
Re: [gentoo-user] hibernate fails, s2disk not found
On Wed, Oct 29, 2008 at 12:27:39PM +0100, Pint?r Tibor wrote [d530][root][~] emerge -pv s2disk These are the packages that would be merged, in order: Calculating dependencies | emerge: there are no ebuilds to satisfy s2disk. Now what? emerge -pv suspend First, I had to keyword =sys-power/suspend-0.8 ~x86 in package.keywords. I set up suspend.conf like so... snapshot device = /dev/snapshot resume device = /dev/sda6 #image size = 35000 #suspend loglevel = 2 compute checksum = y #compress = y #encrypt = y #early writeout = y #splash = y Here is my disk layout [d530][root][~] fdisk -l Disk /dev/sda: 500.1 GB, 500107862016 bytes 255 heads, 63 sectors/track, 60801 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0xd000 Device Boot Start End Blocks Id System /dev/sda1 1 60801 4883840015 Extended /dev/sda5 1 62 497952 83 Linux /dev/sda6 63 549 3911796 82 Linux swap / Solaris /dev/sda7 550 60801 483974158+ 83 Linux No, it's not LVM. / is half-a-gig, followed by swap, followed by the rest of the drive. I use multiple bindmounts to make things look normal. When I tried sync, followed by hibernate it shut down, but when I powered back up with the power button, here's what happened... - on the reboot, it complained about the superblock last access being in the future (the half-gig partition is ext2) - it fixed the access date - complained that the hard drive was dirty, i.e. not properly shut down - rebooted - played back a whole bunch of disk transactions on /dev/sda7 (reiserfs). Did i mention I ran sync before hibernate? - it did the rest of the ordinary boot process. - it did *NOT* restore anything from the previous session. Do I have to explicitly set something to tell it to restore a previous session? Gentoo-wiki is stll down. -- Walter Dnes [EMAIL PROTECTED]
Re: [gentoo-user] broken ALSA
pardon me? here is my error: - [EMAIL PROTECTED] ~ $ mpg123 Padi-Sobat.mp3 High Performance MPEG 1.0/2.0/2.5 Audio Player for Layers 1, 2 and 3 version 0.65; written and copyright by Michael Hipp and others free software (LGPL/GPL) without any warranty but with best wishes ALSA lib dlmisc.c:118:(snd_dlsym_verify) unable to verify version for symbol _snd_pcm_empty_open ALSA lib pcm.c:2148:(snd_pcm_open_conf) symbol _snd_pcm_empty_open is not defined inside [builtin] audio_open(): cannot open device default audio: Success Playing MPEG stream 1 of 1: Padi-Sobat.mp3 ... Title: Artist: Comment: Album: Year:0 Genre: Unknown MPEG 1.0 layer III, 160 kbits/s, 44100 Hz stereo [audio.c:264] error: No supported rate found! --- snd_pcm_open_conf --- i miss conf USE Flag? -- Salam, Marc
Re: [gentoo-user] broken ALSA
On Thu, Oct 30, 2008 at 1:26 AM, M. Sitorus [EMAIL PROTECTED] wrote: pardon me? here is my error: ALSA lib dlmisc.c:118:(snd_dlsym_verify) unable to verify version for symbol _snd_pcm_empty_open ALSA lib pcm.c:2148:(snd_pcm_open_conf) symbol _snd_pcm_empty_open is not defined inside [builtin] That error means that the plugin empty is required yet wasn't compiled due to being disabled. Set your ALSA_PCM_PLUGINS to dmix open asym If things still don't work, use the ALSA_PCM_PLUGINS that I supplied. Pretty much everything except SPDIF is enabled. -- Andrey Vul A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail?
Re: [gentoo-user] blocks to fix
On Wed, Oct 29, 2008 at 08:49:13PM +, Neil Bothwick wrote: On Wed, 29 Oct 2008 11:00:41 -0700, Mark Knecht wrote: Thanks all. I do need to be careful about this as the machine is 400 miles away and the user is completely unable to be of any help if it stops working meaning I have to drive or the box has to be shipped. Either alternative is not good. It's a bit late now, but installing a second distro, or a bare stage 3 gentoo, as a dual boot so you can still access the machoine if it breaks. As an alternative, send the user a GRML CD and get them to boot that if things go wrong. There is no need to drive there or to send a cd. Even with no com_err and no wget, you can still ssh into the machine, so scp should work too. pgp9BUugE72tu.pgp Description: PGP signature