Re: [gentoo-user] [solved] DOSEMU 1.4.0.0 won't run as ordinary user anymore
The changes to vm.mmap_min_addr were put in place to protect against a number of null pointer deference attacks. -- Drew Nothing in life is to be feared. It is only to be understood. --Marie Curie
[gentoo-user] libXfont 1.4.0 fails to emerge
I need libXfont-1.4.0 because xf86-video-intel-2.7.99.902-r1 depends on xorg-server-1.6.3 which depends on libXfont-1.4.0. But libXfont fails to emerge. Here is the end of the libXfont build.log: libtool: link: i686-pc-linux-gnu-gcc -shared .libs/dummy.o -Wl,--whole-archive fontfile/.libs/libfontfile.a FreeType/.libs/libft.a bitmap/.libs/libbitmap.a builtins/.libs/libbuiltins.a fc/.libs/libfc.a util/.libs/libutil.a stubs/.libs/libstubs.a -Wl,--no-whole-archive /usr/lib/libfreetype.so -lbz2 -lm /usr/lib/libfontenc.so -lz -march=i686 -Wl,-O1 -Wl,-soname -Wl,libXfont.so.1 -o .libs/libXfont.so.1.4.1 bitmap/.libs/libbitmap.a: member bitmap/.libs/libbitmap.a(bitscale.o) in archive is not an object collect2: ld returned 1 exit status make[3]: *** [libXfont.la] Error 1 make[3]: Leaving directory `/var/tmp/portage/x11-libs/libXfont-1.4.0/work/libXfont-1.4.0/src' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/x11-libs/libXfont-1.4.0/work/libXfont-1.4.0/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/x11-libs/libXfont-1.4.0/work/libXfont-1.4.0' make: *** [all] Error 2 [31;01m*[0m [31;01m*[0m ERROR: x11-libs/libXfont-1.4.0 failed. [31;01m*[0m Call stack: [31;01m*[0m ebuild.sh, line 49: Called src_compile [31;01m*[0m environment, line 3109: Called x-modular_src_compile [31;01m*[0m environment, line 3894: Called x-modular_src_make [31;01m*[0m environment, line 3934: Called die [31;01m*[0m The specific snippet of code: [31;01m*[0m emake || die emake failed [31;01m*[0m The die message: [31;01m*[0m emake failed [31;01m*[0m [31;01m*[0m If you need support, post the topmost build error, and the call stack if relevant. [31;01m*[0m A complete build log is located at '/var/tmp/portage/x11-libs/libXfont-1.4.0/temp/build.log'. [31;01m*[0m The ebuild environment file is located at '/var/tmp/portage/x11-libs/libXfont-1.4.0/temp/environment'. [31;01m*[0m
[gentoo-user] Re: [solved] DOSEMU 1.4.0.0 won't run as ordinary user anymore
On 08/30/2009 06:47 AM, Walter Dnes wrote: After spending some more time in Google, and trying various search terms, I finally stumbled over the following... https://bugs.launchpad.net/ubuntu/+source/dosemu/+bug/216398 Summary... * temporary workaround; as root, issue the command... sysctl vm.mmap_min_addr * the sysctl command has to be re-issued after every reboot. Add vm.mmap_min_addr=0 to /etc/sysctl.conf for it to be set properly every reboot That should be safe until the next sys-apps/baselayout update. This has to be fixed in dosemu, not baselayout :P
[gentoo-user] Re: How to play quicktime (*.mov) videos with firefox
Stroller strol...@stellar.eclipse.co.uk writes: Actually, I think there used to be an mplayer USE flag that behaved in exactly this way - it was associated with RealPlayer /or their codecs. However I would assume this to be the exception rather than the rule, and one would generally assume that USE=x y z adds support for x, y, z. Maybe not all that exceptional... consider the case of users who don't run gnome desktop but want certain gnome tools... would they not leave gnome at `-gnome'?
[gentoo-user] keyboard copy paste
How can I copy and paste with the keybard between application windows. I think I remember knowing how to do this at some time in the past but now just coming up blank as to how. I want to copy something in Emacs... ok .. no problem.. there are many ways with keyboard inside emacs. Now I want to paste whats on the clipboard into an Xterm cmd line, without going to the mouse. I'm running recent Xfce4 desktop... but not finding a way to do this. Can I just steal whatever events happen when middle click on three button mouse and put them into a keyboard shortcut? How might I do that?
Re: [gentoo-user] keyboard copy paste
Am Sonntag, 30. August 2009 schrieb Harry Putnam: Now I want to paste whats on the clipboard into an Xterm cmd line, without going to the mouse. I'm running recent Xfce4 desktop... but not finding a way to do this. Can I just steal whatever events happen when middle click on three button mouse and put them into a keyboard shortcut? How might I do that? Pasting into an xterm or one of its clones can be done by Shift+Ins. -- Gruß | Greetings | Qapla' American beer is like having sex in a boat: fucking close to water. signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Re: How to play quicktime (*.mov) videos with firefox
On Sunday 30 August 2009 18:09:08 Harry Putnam wrote: Stroller strol...@stellar.eclipse.co.uk writes: Actually, I think there used to be an mplayer USE flag that behaved in exactly this way - it was associated with RealPlayer /or their codecs. However I would assume this to be the exception rather than the rule, and one would generally assume that USE=x y z adds support for x, y, z. Maybe not all that exceptional... consider the case of users who don't run gnome desktop but want certain gnome tools... would they not leave gnome at `-gnome'? You have it wrong. USE=thing is supposed to add *support* for thing, not necessarily *install* something called thing. Whatever thing means in the context of a specific ebuild depends on what the ebuild is for, and different ebuilds with the same USE flag may have entirely different DEPEND stanzas, depending on how the package is written and what it needs to build/run. mplayer support for realplayer was a right royal cockup. The only thing it could ever have meant was that mplayer could play Real videos. But the way it was documented, users couldn't figure out if this would install the binary realplayer, provide support for real from some other party, or do an entirely different third action. USE=gnome does not necessarily install all of gnome. That would depend on what specific packages using that flag you have installed. They have their own DEPENDS, and the sum total of those is what you get if you set the flag. if you want certain gnome tools but not the gnome desktop, then you would leave USE at -gnome and emerge the gnome tools. Which means that everything else you have that could support gnome, will be built without gnome support (with the exception of packages written by folk who don't know how to do compile-time configuration). What's so exceptional about that? -- alan dot mckinnon at gmail dot com
[gentoo-user] Re: keyboard copy paste
Frank Steinmetzger war...@gmx.de writes: Am Sonntag, 30. August 2009 schrieb Harry Putnam: Now I want to paste whats on the clipboard into an Xterm cmd line, without going to the mouse. I'm running recent Xfce4 desktop... but not finding a way to do this. Can I just steal whatever events happen when middle click on three button mouse and put them into a keyboard shortcut? How might I do that? Pasting into an xterm or one of its clones can be done by Shift+Ins. Haa... yes nice... How about a way to activate a hyperlink from keyboard? I have a list of videos that are displayed as hyperlinks on a web page. Tab will navigate to next and shifttab to previous link and I see they are selected... but I find no keyboard action that does whatever a mouse click does to hyperlinks... I thought either spc or enter but neither of those activate the links. Also tried quite a few other keyboard combos, but never did find one that activates a hyperlink like a mouse click does. Thanks for the paste combo!
Re: [gentoo-user] Re: How to play quicktime (*.mov) videos with firefox
On Sun, August 30, 2009 19:23, Harry Putnam wrote: Alan McKinnon alan.mckin...@gmail.com writes: You have it wrong. A not unusual state of affairs for me, I'll admit. After several yrs on gentoo... I still don't understand fully the use of the USE flags. USE=thing is supposed to add *support* for thing, not necessarily *install* something called thing. Whatever thing means in the context of a specific ebuild depends on what the ebuild is for, and different ebuilds with the same USE flag may have entirely different DEPEND stanzas, depending on how the package is written and what it needs to build/run. But wouldn't having the gnome use flag active cause updates to pull in stuff that may not be necessary for the one or two gnome based tools $user wants? USE flags don't pull into your system things that are not required. If you enable a given feature and extra stuff is required, then it is required. Otherwise, just disable the feature and that way you will remove the dependencies. You don't have to enable it globally either. If you only require the feature for a given program use package.use instead of putting the USE in your make.conf, that way you will limit the scope of the use flag to a given package. -- Jesús Guerrero
[gentoo-user] Re: keyboard copy paste
Jesús Guerrero i92gu...@terra.es writes: [...] Tab will navigate to next and shifttab to previous link and I see they are selected... but I find no keyboard action that does whatever a mouse click does to hyperlinks...[/quote] That entirely depends on the browser you use. But usually it's enter once you have the link selected. At least, that works on firefox and seamonkey. I seem to remember the same holds true for konqueror, not sure. I thought either spc or enter but neither of those activate the links. Also tried quite a few other keyboard combos, but never did find one that activates a hyperlink like a mouse click does. If that doesn't work, then let us know which browser do you use. Yes sorry. I use firefox-3.5.1 and I also thought enter should activate a hperlink. I use Xfce4 desktop and and the default/linux/x86/2008.0 profile I did look at the keyboard shortcuts listed in firefox help file but none of them appears to be for activating a hyperlink. If your enter key activates hyperlinks, please try some of the links here: http://www.lynda.com/home/ViewCourses.aspx?lpk0=391 And let me know if it works there for you.
Re: [gentoo-user] Re: keyboard copy paste
On Sun, August 30, 2009 19:20, Harry Putnam wrote: Frank Steinmetzger war...@gmx.de writes: Am Sonntag, 30. August 2009 schrieb Harry Putnam: Now I want to paste whats on the clipboard into an Xterm cmd line, without going to the mouse. I'm running recent Xfce4 desktop... but not finding a way to do this. Can I just steal whatever events happen when middle click on three button mouse and put them into a keyboard shortcut? How might I do that? Pasting into an xterm or one of its clones can be done by Shift+Ins. Haa... yes nice... How about a way to activate a hyperlink from keyboard? I have a list of videos that are displayed as hyperlinks on a web page. Tab will navigate to next and shifttab to previous link and I see they are selected... but I find no keyboard action that does whatever a mouse click does to hyperlinks...[/quote] That entirely depends on the browser you use. But usually it's enter once you have the link selected. At least, that works on firefox and seamonkey. I seem to remember the same holds true for konqueror, not sure. I thought either spc or enter but neither of those activate the links. Also tried quite a few other keyboard combos, but never did find one that activates a hyperlink like a mouse click does. If that doesn't work, then let us know which browser do you use. -- Jesús Guerrero
Re: [gentoo-user] Re: keyboard copy paste
On Sun, August 30, 2009 19:52, Harry Putnam wrote: Jesús Guerrero i92gu...@terra.es writes: [...] Tab will navigate to next and shifttab to previous link and I see they are selected... but I find no keyboard action that does whatever a mouse click does to hyperlinks...[/quote] That entirely depends on the browser you use. But usually it's enter once you have the link selected. At least, that works on firefox and seamonkey. I seem to remember the same holds true for konqueror, not sure. I thought either spc or enter but neither of those activate the links. Also tried quite a few other keyboard combos, but never did find one that activates a hyperlink like a mouse click does. If that doesn't work, then let us know which browser do you use. Yes sorry. I use firefox-3.5.1 and I also thought enter should activate a hperlink. I don't know what your problem might be then. If you select a link with tab, just pressing enter should be enough to open it. An alternate method is to directly type part of the link, firefox will select matches (you don't have to press any key combo to open the search box or anything, it's automatic as you start typing). Once you have typed enough characters and the selection is -hopefully- over the link, just press enter. This method can be a bit tricky sometimes. You might need to click the background on the area containing the links or tab somewhere near the link to be able to use it. Yet a third method would be to use the search feature. Control+f, then type part of the name, once the link is -partly- selected, press ESC (important, to close the search bar) then enter to activate the selected link. If your enter key activates hyperlinks, please try some of the links here: http://www.lynda.com/home/ViewCourses.aspx?lpk0=391 As far as I can tell, they work fine in both firefox and seamonkey. -- Jesús Guerrero
Re: [gentoo-user] How to set udev rule?
David Relson writes: Don't know if the following will help, but it's a rule that I successfully use to mount a USB memory stick: BUS==usb, SYSFS{manufacturer}==STECH, SYMLINK+=STECH, run+=/bin/mount -a I have to change the bus from usb to scsi, then it works. But what about unmounting? Is is possible to have it unmounted after I pull the memory stick? Wonko
[gentoo-user] Re: How to play quicktime (*.mov) videos with firefox
Alan McKinnon alan.mckin...@gmail.com writes: You have it wrong. A not unusual state of affairs for me, I'll admit. After several yrs on gentoo... I still don't understand fully the use of the USE flags. USE=thing is supposed to add *support* for thing, not necessarily *install* something called thing. Whatever thing means in the context of a specific ebuild depends on what the ebuild is for, and different ebuilds with the same USE flag may have entirely different DEPEND stanzas, depending on how the package is written and what it needs to build/run. But wouldn't having the gnome use flag active cause updates to pull in stuff that may not be necessary for the one or two gnome based tools $user wants?
[gentoo-user] Re: keyboard copy paste
Jesús Guerrero i92gu...@terra.es writes: On Sun, August 30, 2009 19:52, Harry Putnam wrote: Jesús Guerrero i92gu...@terra.es writes: [...] Tab will navigate to next and shifttab to previous link and I see they are selected... but I find no keyboard action that does whatever a mouse click does to hyperlinks...[/quote] That entirely depends on the browser you use. But usually it's enter once you have the link selected. At least, that works on firefox and seamonkey. I seem to remember the same holds true for konqueror, not sure. I thought either spc or enter but neither of those activate the links. Also tried quite a few other keyboard combos, but never did find one that activates a hyperlink like a mouse click does. If that doesn't work, then let us know which browser do you use. Yes sorry. I use firefox-3.5.1 and I also thought enter should activate a hperlink. I don't know what your problem might be then. If you select a link with tab, just pressing enter should be enough to open it. An alternate method is to directly type part of the link, firefox will select matches (you don't have to press any key combo to open the search box or anything, it's automatic as you start typing). Once you have typed enough characters and the selection is -hopefully- over the link, just press enter. This method can be a bit tricky sometimes. You might need to click the background on the area containing the links or tab somewhere near the link to be able to use it. Yet a third method would be to use the search feature. Control+f, then type part of the name, once the link is -partly- selected, press ESC (important, to close the search bar) then enter to activate the selected link. If your enter key activates hyperlinks, please try some of the links here: http://www.lynda.com/home/ViewCourses.aspx?lpk0=391 As far as I can tell, they work fine in both firefox and seamonkey. This is beginning to seem very strange... My firefox browser follows all the things you laid out above on any other site. It has to be something to do with me being logged into that account. Logging out doesn't change it either... what happens is the first keystroke I do after arriving at the home page, causes me to be logged in again and then the links will not activate with enter It has to be something done with javascript to intercept the event of pressing enter and disabling or redirecting it. There are dozens of routines in javascript and AJAX that intercept keyboard and mouse events... and use them to display something helpful like a preview of the page the hyperlink leads to or that sort of thing. So I'm guessing its either being done purposely for some reason or is a side effect of some other javascript code. Thanks for the time and help.
Re: [gentoo-user] Re: keyboard copy paste
It has to be something done with javascript to intercept the event of pressing enter and disabling or redirecting it. There are dozens of routines in javascript and AJAX that intercept keyboard and mouse events... and use them to display something helpful like a preview of the page the hyperlink leads to or that sort of thing. So I'm guessing its either being done purposely for some reason or is a side effect of some other javascript code. That would make sense. Firefox has no easy way to handle that, other than disabling javascript of course, which would pretty much kill the site if it relies too heavily on javascript. Thanks for the time and help. You are welcome. -- Jesús Guerrero
Re: [gentoo-user] How to set udev rule?
Am Sonntag 30 August 2009 19:29:39 schrieb Alex Schuster: I have to change the bus from usb to scsi, then it works. But what about unmounting? Is is possible to have it unmounted after I pull the memory stick? How do want to umount something that's not there anymore? You have to umount _before_ you pull it. Bye... Dirk signature.asc Description: This is a digitally signed message part.
[gentoo-user] Re: How to play quicktime (*.mov) videos with firefox
Harry Putnam wrote: I'm having a heck of a time getting firefox setup so it can handle quicktime videos. FWIW, out of security considerations I run FF in a chroot jail with as little other stuff in the jail as possible So using an extension called unplug https://addons.mozilla.org/en-US/firefox/addon/2254 I can locate embedded media and download the link or the file itself. I then play the download on 32bit using mplayer (in its own jail). 64bit Linux, AFAICT, does not yet play .mov files, so I'm presently using QTalternative in wine 'til mplayer, xine, or vlc works on 64bit. HTH
[gentoo-user] Re: How to play quicktime (*.mov) videos with firefox
On 08/30/2009 10:59 PM, 7v5w7go9ub0o wrote: 64bit Linux, AFAICT, does not yet play .mov files They play fine here.
Re: [gentoo-user] How to set udev rule?
On Sun, August 30, 2009 21:38, Dirk Heinrichs wrote: Am Sonntag 30 August 2009 19:29:39 schrieb Alex Schuster: I have to change the bus from usb to scsi, then it works. But what about unmounting? Is is possible to have it unmounted after I pull the memory stick? How do want to umount something that's not there anymore? You have to umount _before_ you pull it. You can force the umount using -l (no, it's not documented in the man page). You can use this to umount a volume *after* it has been physically removed. And some people use this crap on udev rules to remove the volume when they unplug the pendrive. Then they wonder why the heck the file is not where it should be. I guess they never heard of cached writes. The correct thing to do is of course to umount it before, and then unplug it or whatever. If you truly want to umount after, you should at least do a sync before removing the device. In any case, if you don't follow the logical order of the things don't complain if then you find that the files that should be there are not there when you need them. If you truly love risk, just use umount -l, but you have to promise not to cry if the fs breaks or your files are not writen when you sudenly unplug the device. -- Jesús Guerrero
Re: [gentoo-user] How to set udev rule?
Jesús Guerrero wrote: On Sun, August 30, 2009 21:38, Dirk Heinrichs wrote: Am Sonntag 30 August 2009 19:29:39 schrieb Alex Schuster: I have to change the bus from usb to scsi, then it works. But what about unmounting? Is is possible to have it unmounted after I pull the memory stick? How do want to umount something that's not there anymore? You have to umount _before_ you pull it. You can force the umount using -l (no, it's not documented in the man page). You can use this to umount a volume *after* it has been physically removed. And some people use this crap on udev rules to remove the volume when they unplug the pendrive. Then they wonder why the heck the file is not where it should be. I guess they never heard of cached writes. The correct thing to do is of course to umount it before, and then unplug it or whatever. If you truly want to umount after, you should at least do a sync before removing the device. In any case, if you don't follow the logical order of the things don't complain if then you find that the files that should be there are not there when you need them. If you truly love risk, just use umount -l, but you have to promise not to cry if the fs breaks or your files are not writen when you sudenly unplug the device. Basically, if he is going to do this the way he is thinking of doing it, use cp NOT mv. o_O If he uses mv and then unpkugs it without unmounting or syncing, the file is gone for good. At least with cp you still have the original file. Just thinking this through a little here. Dale :-) :-)
Re: [gentoo-user] How to set udev rule?
Jesús Guerrero writes: On Sun, August 30, 2009 21:38, Dirk Heinrichs wrote: Am Sonntag 30 August 2009 19:29:39 schrieb Alex Schuster: I have to change the bus from usb to scsi, then it works. But what about unmounting? Is is possible to have it unmounted after I pull the memory stick? How do want to umount something that's not there anymore? You have to umount _before_ you pull it. You can force the umount using -l (no, it's not documented in the man page). You can use this to umount a volume *after* it has been physically removed. The -l is not necessary here, a simple umount is enough. And some people use this crap on udev rules to remove the volume when they unplug the pendrive. Yes, this very rule would be nice to have :) Then they wonder why the heck the file is not where it should be. I guess they never heard of cached writes. The correct thing to do is of course to umount it before, and then unplug it or whatever. I do so, it makes me feel better, but I wonder whether it is _really_ necessary. I see Windows users do this all the time, without any problem yet. Of course, the wait a little after writing to it, but a few seconds after the blinking stops seem to be enough. And people are lazy, I know my Linux users _will_ just plug the stick. Using the KDE4 automounter, the device will be unmounted automatically in this case, but I am looking for a solution without KDE4, and as few user interaction as possible. The udev mouting rule is nice, but it leaves a lot of mounts when plugging in and out repeatedly. When the system is mostly idle, I guess the writing to the stick would not be delayed for a long time, so this should be quite safe. At least if the data is not that important. And if there are no writes, I see no problem at all. There also is the sync option to mount, it should not be used on media with limited number of write cycles, but I also guess that for my purposes this would not matter. Wonko
Re: [gentoo-user] Re: How to play quicktime (*.mov) videos with firefox
On 30 Aug 2009, at 18:23, Harry Putnam wrote: ... USE=thing is supposed to add *support* for thing, not necessarily *install* something called thing. Whatever thing means in the context of a specific ebuild depends on what the ebuild is for, and different ebuilds with the same USE flag may have entirely different DEPEND stanzas, depending on how the package is written and what it needs to build/run. But wouldn't having the gnome use flag active cause updates to pull in stuff that may not be necessary for the one or two gnome based tools $user wants? The way I tend to perceive USE flags is that they generally add compatibility or add extra options. So if you emerge mplayer the dvd USE flag adds DVD compatibility support to mplayer. At one time I used a wifi driver which had an X USE flag - adding that installed a GUI utility for configuring the driver, if it was omitted then one would simply edit text files in the normal way. If you add these USE flags and install packages that use them, then, yes, the USE flag may add dependencies and cause additional packages to be installed. But simply adding a USE flag won't _on its own_ install additional packages - you have to run emerge before they're drawn in, and you get to review the dependencies at that time. You might find that if YOU added USE=gnome to your make.conf and reinstalled world that a whole load of extra gnome packages would be installed. But probably not as much as installing the whole gnome-base/ gnome. The thing is that people who WANT gnome will probably already have installed gnome-base/gnome and games-mud/gnome-mud and gnome- extra/gnome-web-photo and gnome-foo/bar - for them adding the gnome USE flag and emerging mplayer may not install any additional packages (because they already have so many gnomish packages installed that the dependencies are already satisfied) but simply add a simple GUI for mplayer and an entry in the Gnome start menu. I hope this clarifies, but I apologise if I'm explaining in a way that makes sense only to me. I tend to add USE flags to make.conf for stuff I'm likely to use all the time - support for tiff and jpeg, for instance. Then I consider other USE flags on a package-by-package basis (`emerge -pv package`). I may add -truetype to package.use if it indicates that loads of X11 type dependencies will be installed on my headless server, but generally I don't worry too much about one or three additional small packages being installed as dependencies - I like Gentoo because it's small lean fast, but it's generally that way, anyway, and most packages in the tree add little overhead. Stroller.
Re: [gentoo-user] Re: How to play quicktime (*.mov) videos with firefox
On 30 Aug 2009, at 17:40, Alan McKinnon wrote: ... mplayer support for realplayer was a right royal cockup. The only thing it could ever have meant was that mplayer could play Real videos. But the way it was documented, users couldn't figure out if this would install the binary realplayer, provide support for real from some other party, or do an entirely different third action. I _believe_ that at one time the real USE flag installed RealPlayer's binary codecs, but that with USE=-real mplayer would still play most Real streams, anyway. This is - as you say - confusing and non-intuitive. When the the real USE flag was masked there was, therefore, uproar because it was assumed by the unwashed masses (including myself) that OMG! mplayer won't play the BBC Radio 1 Real stream anymore, and this assumption was incorrect. IIRC the RealPlayer's binary codecs were pretty much used only for streams of an obsolete format depreciated by Real themselves. Newer Real streams used codecs like MP3 that mplayer would quite happily decode on its own (providing USE=mp3). I gather, however, that the real USE flag may now have been reinstated with a different meaning - the intuitive one. :/ Stroller.
[gentoo-user] Cannot start net.eth0
I installed Gentoo from a minimal CD on a HP Pavillion dv6. I chose to use genkernel to automatically configure the kernel. Unfortunately, during the boot, it seems that the dhcp client isn't able to contact the DHCP server. Running lspci, I can detect the network adapter: snippet 03:00.0 Ethernet Controller: Realtek Semiconductor CO., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 02) /snippet It seems that the system has loaded the module r8169, even if it doesn't match exactly my model. If I start /etc/init.d/net.eth0 manually, I can see snippet * starting eth0 * bringing ip eth0 * dhcp * Running dhclient PING 192.168.0.1 (192.168.0.1) 56(84) bytes of data. --- 192.168.0.1 ping statistics --- 1 packets transmitted, 0 received, +1 errors, 100% packet loss, time 0ms /snippet Thanks in advance, Manuel Fiorelli
[gentoo-user] Re: Cannot start net.eth0
2009/8/31 Manuel Fiorelli manuel.fiore...@gmail.com: I installed Gentoo from a minimal CD on a HP Pavillion dv6. I chose to use genkernel to automatically configure the kernel. I forgot to say that I have installed the kernel 2.6.30-gentoo-r4. Manuel Fiorelli
Re: [gentoo-user] Re: Cannot start net.eth0
On Sun, Aug 30, 2009 at 6:11 PM, Manuel Fiorellimanuel.fiore...@gmail.com wrote: 2009/8/31 Manuel Fiorelli manuel.fiore...@gmail.com: I installed Gentoo from a minimal CD on a HP Pavillion dv6. I chose to use genkernel to automatically configure the kernel. I forgot to say that I have installed the kernel 2.6.30-gentoo-r4. rc-update? http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=1chap=8#doc_chap2 [+] Manuel Fiorelli
Re: [gentoo-user] Re: Cannot start net.eth0
2009/8/31 Neal Hogan nealho...@gmail.com: rc-update? My /etc/conf.d/net is snippet config_eth0=(dhcp) /snippet and the output of `rc-update show default` is snippet local | default net.eth0 | default netmount | default /snippet I can execute ifconfig eth0 up with success, but nothing seems to wok :-( Manuel Fiorelli
Re: [gentoo-user] Re: Cannot start net.eth0
According to this bug report http://bugs.gentoo.org/148090 there was a problem with my hardware, which was addressed patching the module r8169. Manuel Fiorelli
Re: [gentoo-user] How to set udev rule?
On Sun, August 30, 2009 23:26, Alex Schuster wrote: Jesús Guerrero writes: Then they wonder why the heck the file is not where it should be. I guess they never heard of cached writes. The correct thing to do is of course to umount it before, and then unplug it or whatever. I do so, it makes me feel better, but I wonder whether it is _really_ necessary. It is. Nothing can guarantee that the data has been dumped to the disk unless you umount it first. You can reduce the chances of losing information by waiting before removing it. But if the system is loaded the writes can be deferred to a later time, when the system is idle. This can be partially mitigated by using the sync mount option, as you say below. :) Of course then the performance will drop, and the i/o scheduler will not have a chance to work as usual either because i/o ops will not be queued, which is the bad part of the deal. I see Windows users do this all the time, without any problem yet. Of course, the wait a little after writing to it, but a few seconds after the blinking stops seem to be enough. Lucky guys. That, or when the file is not on the drive they come back and copy it again without you noticing it. This happens lots of times. I've seen it and I'll continue to see it as long as users don't understand what's going under the hood. That's what the safe removal feature in Windows is about, it's not there just to decorate your try, it exists for a reason. And people are lazy, Yes, I am as well. But when integrity matters you really want to umount or at least sync before unplugging. I am a lazy guy, lazy like hell, but I always fasten my seat belt when I am going to drive. ;) The udev mouting rule is nice, but it leaves a lot of mounts when plugging in and out repeatedly. Mmmm, I am not sure I follow you. If you use a rule as described above you can remove the mount and even the mount point when the device is detached. Is not that what you mean? When the system is mostly idle, I guess the writing to the stick would not be delayed for a long time, so this should be quite safe. At least if the data is not that important. And if there are no writes, I see no problem at all. If you don't have a problem with the chance to lose files that's ok. I just thought I'd point it out just in case, because the chance is there. A write operation can be deferred for a number of reasons. That's why sync (both as a command and as a mount option) was invented in first place. There also is the sync option to mount, it should not be used on media with limited number of write cycles, but I also guess that for my purposes this would not matter. Nowadays this shouldn't matter too much. The life cycle of ssd devices has been greatly expanded, and they also do some kind of balancing so all the blocks get the same usage. Even journal fs's shouldn't be much of a problem with any recent flash device. -- Jesús Guerrero