[gentoo-user] Re: konsole refresh laggardly
Xi Shen wrote: > my system is gentoo amd64, kd 4.3, compiz. i just updated the world. > in konsole, no matter if the system is busy or not, the screen do not > refresh sometimes. i will have to move the window, or select some > content in the konsole to force it refresh. > > my graphic card is nvidia. i did not have this problem before. FWIW, I have a similar issue here since I updated to xorg-server-1.7.6 yesterday. x86, KDE 3.5, no compiz and Intel GMA. Konsole sometimes doesn't refresh parts of the window immediately, but with a 1-2 second lag. This is most noticeable if I enter some text in bash, then move to the beginning of the line, and insert some text. The text after the cursor disappears, and only reappears after 1-2 seconds. Of course, this could be completely unrelated. -- Remy signature.asc Description: OpenPGP digital signature
[gentoo-user] Re: Frozen after Upgrade
> Is there a way I can fix this without having to do a complete reinstall? I would start by re-emerging xf86-input-keyboard and xf86-input-mouse, as suggested in the xorg-server ebuild messages. -- Remy signature.asc Description: OpenPGP digital signature
[gentoo-user] Re: Frozen after Upgrade
Colleen Beamer wrote: > How am I supposed to do this when I can't login and I can't kill X? Boot from a live CD, then perform a chroot into your system as described in the Gentoo handbook[1] or on the Gentoo wiki[2], then you should be able to emerge as if you were running your system normally. -- Remy [1] http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=1&chap=6 [2] http://en.gentoo-wiki.com/wiki/Chroot_from_a_livecd signature.asc Description: OpenPGP digital signature
[gentoo-user] Loosing key presses since upgrade to xorg-server-1.7.6
I upgraded xorg-server to 1.7.6 (and the few associated packages) a few days ago, and since then I seem to spuriously loose some key presses when typing fast. This only happens in X, not on the console. The box is a Dell Latitude E6500 laptop. I have already re-emerged all necessary drivers (xf86-input-keyboard in particular, I'm not using evdev), and there were no other upgrades during that time. But no success. I'm using xf86-video-intel-2.11.0. I have tried downgrading to 2.10.0-r1, which I was using with xorg-server-1.6.5. Still no success. This is extremely annoying. Am I the only one seeing this? Any ideas how I could solve the issue, short of downgrading xorg-server, which I would like to avoid? -- Remy signature.asc Description: OpenPGP digital signature
[gentoo-user] Re: Loosing key presses since upgrade to xorg-server-1.7.6
Nikos Chantziaras wrote: > evdev? Right, I was trying to avoid that. But you were probably right. I have upgraded to xorg-server-1.8 and switched to evdev for the keyboard and mouse, with udev autodetection. This seems to have solved the issue. Of course, now we'll never know if switching to evdev solved it, or if it was xorg-server-1.8. But I didn't feel like learning the hal-style configuration, only to restart from scratch with udev. Anyway, thanks for the hint. -- Remy signature.asc Description: OpenPGP digital signature
[gentoo-user] Re: rsync to a USB stick
Mick wrote: > Is there a cleverer option I can add to rsync so that it only copies new > files, overwrites older versions of the same and only deletes any files or > directories that have been deleted from the source directory? See the --modify-window option in the rsync man page. In particular, the resolution of timestamps on FAT is 2 seconds, so you may want to use --modify-window=1. -- Remy signature.asc Description: OpenPGP digital signature
[gentoo-user] xorg segfaults if I have an encrypted volume mounted
xorg started segfaulting here on startup, at the point where it should detect input devices: [ 1198.330] (II) AIGLX: enabled GLX_MESA_copy_sub_buffer [ 1198.330] (II) AIGLX: enabled GLX_INTEL_swap_event [ 1198.330] (II) AIGLX: enabled GLX_SGI_make_current_read [ 1198.330] (II) AIGLX: GLX_EXT_texture_from_pixmap backed by buffer objects [ 1198.330] (II) AIGLX: Loaded and initialized /usr/lib/dri/i965_dri.so [ 1198.330] (II) GLX: Initialized DRI2 GL provider for screen 0 [ 1198.331] (II) intel(0): Setting screen physical size to 507 x 317 [ 1198.437] Backtrace: [ 1198.437] 0: /usr/bin/X (xorg_backtrace+0x38) [0x80ae1c8] [ 1198.437] 1: /lib/libudev.so.0 (0xb782b000+0x33d2) [0xb782e3d2] [ 1198.437] Segmentation fault at address 0x7974702f [ 1198.437] Fatal server error: [ 1198.437] Caught signal 11 (Segmentation fault). Server aborting For reference, here's the same location in a good start: [ 2832.766] (II) AIGLX: enabled GLX_MESA_copy_sub_buffer [ 2832.766] (II) AIGLX: enabled GLX_INTEL_swap_event [ 2832.766] (II) AIGLX: enabled GLX_SGI_make_current_read [ 2832.766] (II) AIGLX: GLX_EXT_texture_from_pixmap backed by buffer objects [ 2832.766] (II) AIGLX: Loaded and initialized /usr/lib/dri/i965_dri.so [ 2832.766] (II) GLX: Initialized DRI2 GL provider for screen 0 [ 2832.767] (II) intel(0): Setting screen physical size to 507 x 317 [ 2832.906] (II) config/udev: Adding input device Video Bus (/dev/input/event8) [ 2832.906] (**) Video Bus: Applying InputClass "evdev keyboard catchall" [ 2832.906] (**) Video Bus: Applying InputClass "Keyboard-all" [ 2832.906] (II) LoadModule: "evdev" [ 2832.906] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so [ 2832.906] (II) Module evdev: vendor="X.Org Foundation" [ 2832.906]compiled for 1.8.1.901, module version = 2.3.2 [ 2832.907]Module class: X.Org XInput Driver [ 2832.907]ABI class: X.Org XInput driver, version 9.0 So it's segfaulting in libudev. And where it's getting weird is that it only segfaults if I have one particular encrypted container mapped. The container is a file mapped to /dev/loop0, opened with "cryptsetup luksOpen" as "/dev/mapper/crypt-morpheus.athome". If I "luksClose" it (but keep /dev/loop0), xorg starts normally. Strangely, there is another encrypted container "/dev/mapper/crypt-swap" mapped to my swap partition, but that one doesn't seem to interfere. This symptom has only started today, and I haven't updated anything udev- or xorg-related. However, I reboot rarely, and I did reboot today, so it may be due to an earlier update. Some version info: xorg-server-1.8.1.901 xf86-input-evdev-2.3.2 udev-149 gentoo-sources-2.6.31-r6 Has anyone seen anything similar? Any idea how I could either work around the issue or debug it? I have tried strace but couldn't extract any meaningful information. -- Remy signature.asc Description: OpenPGP digital signature
[gentoo-user] Re: xorg segfaults if I have an encrypted volume mounted
Remy Blank wrote: > Some version info: > > xorg-server-1.8.1.901 > xf86-input-evdev-2.3.2 > udev-149 > gentoo-sources-2.6.31-r6 > > Has anyone seen anything similar? Any idea how I could either work > around the issue or debug it? I have tried strace but couldn't extract > any meaningful information. For the record, I have update to gentoo-sources-2.6.34-r1, and the issue seems to be fixed. I still don't understand why this has suddenly started happening, as I had been running 2.6.31-r6 for months. Now on to my next issue: my laptop powers off by itself after a few hours of doing nothing. I first thought that it was a hardware issue, but it just switched off before my eyes a few minutes ago: the screen went blank, and I could see the caps lock and scroll lock LEDs blink for ~30 seconds, before the laptop powered off. This seems to be a strong hint at a kernel panic. Unfortunately, as I was in X, I didn't get to see the panic, and it wasn't logged either. Does anyone know how to get the kernel panic message in such a case? I have enabled remote logging with syslog-ng, but I suspect that this won't be enough. I have found kdump, but setting it up seems to be quite tricky. -- Remy signature.asc Description: OpenPGP digital signature
[gentoo-user] Re: xorg segfaults if I have an encrypted volume mounted
James L wrote: > Turn off all power management software. > My guess is it is going into one of the power saving modes that ends up > crashing it. Thanks for the suggestion. The only "power management software" that I have installed is the cpufreq ondemand governor, which shouldn't use the power saving modes AFAIK. I have logged the CPU temperature, remaining battery capacity, charger state and loadavg every 10 seconds, and the CPU is mostly idle (0.00 loadavg, ~40 °C), the battery full, and the charger connected. Then suddenly, after ~15 hours, blinking keyboard lights and finally power off. -- Remy signature.asc Description: OpenPGP digital signature
[gentoo-user] Re: OT: tool for reading /etc/conf.d/net?
Amit Dor-Shifer wrote: > Can anyone recommend a tool that can parse networking info from a/m > file, so one can use it to query, e.g. what is the static IP configured > on eth0? bash? No, I'm not joking. The file is a bash script, and hence can just be sourced by another bash script, which could then print the relevant information in any desired format. -- Remy signature.asc Description: OpenPGP digital signature
[gentoo-user] Re: [OT] KDE password dialogs stopped working
Volker Armin Hemmann wrote: > no, never. Is consolekit running? [Completely OT] Not knowing what ConsoleKit was, I had a look at the documentation. The first chapter has the following gem (second section): Defining the Problem To be written. Quite typical: write the software before defining the problem :-) I know I have been guilty of doing that several times in the past. -- Remy signature.asc Description: OpenPGP digital signature
[gentoo-user] Re: mysql USE flag error
Mick wrote: > I've added -mysql in /etc/portage/package.use for x11-libs/qt-sql but > it makes no difference. You should add -mysql for the package app-office/akonadi-server instead. -- Remy signature.asc Description: OpenPGP digital signature
[gentoo-user] Re: mysql USE flag error
Neil Bothwick wrote: > The trouble with doing something right the first time is that nobody > appreciates how difficult it was. Yes, oooh yes... :-) -- Remy signature.asc Description: OpenPGP digital signature
[gentoo-user] Re: where can I find USE flags description?
Jarry wrote: > Where can I find their > description? For example "vmmouse", what is this USE flag good for? > Is it something for vmware? emerge gentoolkit euse -i vmmouse -- Remy signature.asc Description: OpenPGP digital signature
[gentoo-user] Re: gentoo on ssds? intel anyone?
Holger Hoffstaette wrote: > After 5 minutes you will fight anyone who would try to take > it away again to the death. Seconded. I moved a normal HD install to a 160GB G2, and, well, you just don't imagine how much your day-to-day work is IO bound. -- Remy signature.asc Description: OpenPGP digital signature
[gentoo-user] Re: Why exactly am I supposed to install Python 3?
Alan McKinnon wrote: > Agreed. The elog message strikes me as merely an enthusiastic endorsement of > cool shiny new stuff from an over-zealous maintainer who doesn't quite grasp > how slow traction can be in the real world While that may be true, and even though he did make a few mistakes in the beginning, arfrever has been doing a tremendous job getting Python "back on track". In particular, he added the possibility to have Python packages install their modules into multiple Python slots, a much needed feature that makes testing software with multiple Python versions much easier. So, going back to the initial question, you could just emerge Python 3.1, enable it in USE_PYTHON in make.conf, but leave 2.6 as a default. From this point, all packages that support 3.1 will be installed for 3.1 as well, and the day you want to switch, you'll just be able to enable it and very few packages will need to be rebuilt. I have 2.4, 2.5, 2.6 and 3.1 in my USE_PYTHON, with 2.6 as default, and it's been working great for a few months now. Or you could just ignore the message. It probably won't make a difference if you don't need multiple Python versions. -- Remy signature.asc Description: OpenPGP digital signature
[gentoo-user] Re: Why exactly am I supposed to install Python 3?
Neil Bothwick wrote: > Where is USE_PYTHON documented? I see no mention of it in man make.conf, > make.conf.example or the portage elogs. In /usr/portage/eclass/python.eclass ;-) To be honest, I wanted that feature so badly that I dug through python.eclass as soon as I saw arfrever mention it. From the code, it seemed to make sense that USE_PYTHON should be added to make.conf, and indeed it works. But I may have misunderstood completely and the "feature" could be removed or modified at any time. So it's probably a good idea to stay away from it until it has been documented properly. -- Remy signature.asc Description: OpenPGP digital signature
[gentoo-user] Re: How can I move system to new disk?
Jarry wrote: > Maybe dump/restore is better solution? Or something else? Boot a live CD, mount a source partition to /mnt/src, a destination partition to /mnt/dst (with the right options, e.g. "acl" and "user_xattr" if you use them), then: rsync -avHAX /mnt/src/ /mnt/dst (The slash after "src" is intentional.) Repeat with all partitions. Then install GRUB to the MBR of the new disk. -- Remy signature.asc Description: OpenPGP digital signature
[gentoo-user] Re: subversion broken
Greg Donald wrote: > All of my subversion repositories are broken for the second time in > less than a month. I haven't even used them in about a week or more. > The machine hasn't crashed, nothing I can think of that would cause a > problem has occured. (snip) > I already tried rebuilding apr, apr-util, apache, and subversion which > was the fix last time. Still getting the same errors. > > Any ideas? This won't help you recover your repositories, but once you have done so (and I hope somebody can jump in and help you with it), migrate them to fsfs. No recovery ever needed, and it has never failed here. Easier to backup, to. -- Remy Remove underscore and suffix in reply address for a timely response. -- gentoo-user@gentoo.org mailing list
[gentoo-user] Re: 3 Disk server setup - recommendations?
Jakub Krajcovic wrote: > Should i leave the SCSI disk out of raid/lvm, and install the system on > it, with the user data going to the RAID on top of the 2 IDE disks? (i > quite inclined to do this). Or, would it be OK to stick all of the 3 > disks into a RAID5?, (but i dont' really feel comfortable mixing ide and > scsi disks into one cocktail...) The latter won't work, as RAID5 needs all partitions to be approximately the same size. You could possibly work around that with LVM, but I have no experience with that. My advice: make several RAID1 devices out of the two 250GB disks (a pair of partitions for each /, /boot, /home, swap, whatever), install the system, data and swap on the mirror, and save the 36GB for data that is not critical enough to require a RAID. It's not that much space anyway (compared to the 250GB). Remember to connect the IDE disks to separate channels (i.e. not on the same cable). That way, you won't lose both elements of a mirror if one channel of the IDE controller fails. HTH. -- Remy Remove underscore and suffix in reply address for a timely response. -- gentoo-user@gentoo.org mailing list
[gentoo-user] Re: Error when emerging dialog
Jules Colding wrote: > USE="-qt -kde gtk2 gtkhtml gnome hal cdr unicode bzip2 doc emacs examples > tetex" > > Everything went well until dialog was to be emerged. The output is > below. The error went away when ncurses was emerged manually. http://bugs.gentoo.org/show_bug.cgi?id=67524 http://bugs.gentoo.org/show_bug.cgi?id=88161 -- Remy Remove underscore and suffix in reply address for a timely response. -- gentoo-user@gentoo.org mailing list
[gentoo-user] Re: What spins a drive up?
Mark Knecht wrote: >I'm experimenting with leaving a drive turned off in a MythTV > frontend. I have laptop_mode turned on with whatever it has for > default settings. I have vixie-cron turned off. Once an hour it seems > that the drive still spins up for about 1 minute. How can I find > what's causing that and at least make it more infrequent? I see > nothing in /var/log/messages nor anything in dmesg. Is there somewhere > else I should look? Laptop mode prevents the drive spinning up when a process writes to the disk. However, in its default configuration, it is configured to flush the cached writes after a maximum of 600 seconds (MAX_AGE). On my laptop, this means that the drive does spin up about every 10 minues. Your could try enabling "block dumping" in the kernel: echo 1 >/proc/sys/vm/block_dump After that, the kernel will dump every block read and write to the kernel log. This might allow you to identify which file is accessed and which process causes the access. Note that you better switch off any logger before doing that (or at least log through the network), otherwise you'll see all the writes from the logger itself... HTH. -- Remy Remove underscore and suffix in reply address for a timely response. -- gentoo-user@gentoo.org mailing list
[gentoo-user] Re: What spins a drive up?
Mark Knecht wrote: > One setting I noticed rereading the config file was this one: > > > Enable laptop mode always, not just when on battery? > # (This will still disable laptop mode when the battery almost runs out.) > LAPTOP_MODE_ALWAYS_ON=0 > > > Since it's a desktop machine it would seem that maybe laptop mode is > not totally operational since I would never be on battery? I'm trying > changing this to '1' and seeing what happens. You can check if laptop_mode is enabled with: cat /proc/sys/vm/laptop_mode My desktop says 0 (disabled), and my laptop says 2 (enabled, but no idea why it's not 1). Moreover, if your filesystem is ext3, a "mount" shows the following: /dev/hda6 on / type ext3 (rw,noatime,acl,user_xattr,commit=600) where the important part is the option "commit=600", the value being your MAX_AGE parameter. If laptop_mode is disabled, the parameter is either absent or "commit=0". -- Remy Remove underscore and suffix in reply address for a timely response. -- gentoo-user@gentoo.org mailing list
[gentoo-user] Re: What spins a drive up?
Mark Knecht wrote: >I got back to looking at this item this evening. dmesg is now full of this: > > pdflush(185): WRITE block 14947712 on hda3 > syslog-ng(5341): dirtied inode 936889 (messages) on hda3 > syslog-ng(5341): dirtied inode 936889 (messages) on hda3 > kjournald(869): WRITE block 14947712 on hda3 > kjournald(869): WRITE block 9112 on hda3 > kjournald(869): WRITE block 9120 on hda3 > kjournald(869): WRITE block 9128 on hda3 > pdflush(185): WRITE block 14947712 on hda3 > syslog-ng(5341): dirtied inode 936889 (messages) on hda3 > kjournald(869): WRITE block 9136 on hda3 > kjournald(869): WRITE block 9144 on hda3 > syslog-ng(5341): dirtied inode 936889 (messages) on hda3 > syslog-ng(5341): dirtied inode 936889 (messages) on hda3 > > Is this the logger stuff you were speaking of, or is there a clue here > to what's spinning the drive back up? Yes, that's it. The kernel is generating a WRITE message, which syslog-ng writes to its log file, which generates a new WRITE message, and so on. You should setup syslog-ng so that WRITE, READ and "dirtied inode" messages are not recorded in your log files, but still printed on the console. The interesting messages are the "dirtied inode" ones, they tell you which processes write data to the disk. kjournald is the journaling process for ext3, it won't trigger if no other process is writing to the disk. Alternatively, you could setup syslog-ng to send the logs to another machine. -- Remy Remove underscore and suffix in reply address for a timely response. -- gentoo-user@gentoo.org mailing list
[gentoo-user] Re: What spins a drive up?
Neil Bothwick wrote: > On Thu, 09 Jun 2005 00:10:55 +0800, Ow Mun Heng wrote: >>>myth11 root # cat /proc/sys/vm/laptop_mode >>>2 >> >>Mine says 0 (cause I'm on AC right now) >> >>on Battery it changes to 2 > > > What do the numbers mean? On my iBook it switches between 0 and 5. It seems to be the value configured in /etc/laptop_mode/laptop_mode.conf: # Seconds laptop mode has to to wait after the disk goes idle before doing # a sync. LM_SECONDS_BEFORE_SYNC=2 -- Remy Remove underscore and suffix in reply address for a timely response. -- gentoo-user@gentoo.org mailing list
[gentoo-user] Re: What spins a drive up?
Neil Bothwick wrote: > On Thu, 09 Jun 2005 10:07:58 +0200, Remy Blank wrote: >>>What do the numbers mean? On my iBook it switches between 0 and 5. >> >>It seems to be the value configured in /etc/laptop_mode/ >>laptop_mode.conf: > > > I have no such file, so I guess 5 must be a default. > > Which package installs /etc/laptop_mode? Sorry, I meant /etc/laptop-mode/laptop-mode.conf: [EMAIL PROTECTED] joe $ qpkg -v -f /etc/laptop-mode/laptop-mode.conf app-laptop/laptop-mode-tools-1.05 * -- Remy Remove underscore and suffix in reply address for a timely response. -- gentoo-user@gentoo.org mailing list
[gentoo-user] Re: What spins a drive up?
Mark Knecht wrote: > On 6/9/05, Remy Blank <[EMAIL PROTECTED]> wrote: >>Alternatively, you could setup syslog-ng to send the logs to another >>machine. > >I don't know about this. I seem to have gone backwards: > > 1) If I turn off syslog-ng then it seems that the drive never spinds > up, so I guess at the root it's a syslog-ng issue. That makes sense. > 2) When I re-enabled syslog-ng it now started spinning up every 10 > minutes, where it used to spin up once an hour. Is that with block_dump enabled? Then it is normal. Writes to the log file by syslog-ng, for all the "WRITE" and "dirtied inode" entries will be buffered, and flushed to disk every 600s (commit=600 in mount), i.e. 10 minutes. If it's with block_dump disabled, then I don't know. > I think I'd do jsut as well to put the log file on the MythTV backend > machine and make it mountable as an NFS mount. That just means a bit > of network traffic every 10 minutes, right? I'm planning on placing > the major portion of portage on an NFS mount also so that the frontend > box doesn't carry that file load and I only have to burden the net > with 5 downloads a day. I guess my use of Gentoo has gotten large > enough that I need to start doing stuff like that. Logging over NFS is ok, but you could directly log to the syslog-ng daemon of the backend machine. For this, you need to setup a destination on your MythTV machine: destination backend { tcp(192.168.1.1, 514); }; where you should replace 192.168.1.1 by the IP address of the backend, and use that destination instead of the current file destination, for example: log { source(src); destination(backend); }; On the backend, you need to add a "tcp" entry to the source directive: source src { unix-stream("/dev/log"); pipe("/proc/kmsg"); tcp(0.0.0.0, 514); internal(); }; Finally, you'll have to open your firewall to allow incoming connections on the backend to port 514 (if you have a firewall on the backend). You could also use UDP if it's more convenient for you. -- Remy Remove underscore and suffix in reply address for a timely response. -- gentoo-user@gentoo.org mailing list
[gentoo-user] Re: ATI Composte & DRI
Holly Bostick wrote: > But this whole episode has at least gotten me to finally upload my own > key, so I've (hopefully) signed this message. > > Can you all get the key (since I know the list doesn't have it, it's a > good test as to whether I've done it right)? Yep, works here. -- Remy Remove underscore and suffix in reply address for a timely response. -- gentoo-user@gentoo.org mailing list
[gentoo-user] Re: OT - imap and thunderbird
Ron Nelson wrote: > Go in to the properties for each folder you want it to show new messages > in, under General Information click the box that says: Check this folder > for new messages. > That should take care of it. This mostly does it. However, I found that Thunderbird still sometimes misses new messages in subfolders, and only finds them when you click on it. I'm not sure if this is a Thunderbird or a courier-imap problem, though... -- Remy Remove underscore and suffix in reply address for a timely response. -- gentoo-user@gentoo.org mailing list
[gentoo-user] Re: OT - imap and thunderbird
Nagatoro wrote: > Remy Blank wrote: > >>This mostly does it. However, I found that Thunderbird still sometimes >>misses new messages in subfolders, and only finds them when you click on it. >> >>I'm not sure if this is a Thunderbird or a courier-imap problem, though... > > Could be both... > From /etc/courier-imap/imapd > > ##NAME: IMAP_CHECK_ALL_FOLDERS:0 > # > # Set IMAP_CHECK_ALL_FOLDERS to 1 if you want the server to check for new > # mail in every folder. Not all IMAP clients use the IMAP's new mail > # indicator, but some do. Normally new mail is checked only in INBOX, > # because it is a comparatively time consuming operation, and it would be > # a complete waste of time unless mail filters are used to deliver > # mail directly to folders. > # > # When IMAP clients are used which support new mail indication, and when > # mail filters are used to sort incoming mail into folders, setting > # IMAP_CHECK_ALL_FOLDERS to 1 will allow IMAP clients to announce new > # mail in folders. Note that this will result in slightly more load on the > # server. > # > > IMAP_CHECK_ALL_FOLDERS=1 Yes, I have this setting. It's still missing a few messages from time to time. Might be because I'm using fam. I'll have to check the alternatives someday -- Remy Remove underscore and suffix in reply address for a timely response. -- gentoo-user@gentoo.org mailing list
[gentoo-user] Re: OT - imap and thunderbird
Jonathan Nichols wrote: > It's Thunderbird, for one... > > Add this to user.js (create it if it doesn't exist) > //mozilla thunderbird: check all imap folders for new mail. > user_pref("mail.check_all_imap_folders_for_new", true); I have that in my user.js, with a comment saying that this only applies on startup. And it does seem to behave that way: if I have "unreported" new mail in a folder, and I restart Thunderbird, it will catch them when starting up again. -- Remy Remove underscore and suffix in reply address for a timely response. -- gentoo-user@gentoo.org mailing list
[gentoo-user] Re: Ati Linux Proprietary Driver
Bob Sanders wrote: > On Mon, 4 Jul 2005 08:46:43 +0200 > Benjamin Fritzsche <[EMAIL PROTECTED]> wrote: >>My Ati 9600 in my Inspiron works perfectly in 16:10 with the Ati-drivers. >> > > I doubt that. Maybe at 16x9 - 1600 x 900, but not 1600 x 1024. Or perahps > Dell paid ATI to support that one model of display. Regardless it's not > generic - the mode is not recognized under radeon, nor under fglrx. Perhaps > you were thinking of 1450x1024? Nope, 1920x1200 works very well here on the very same laptop model, playing UT2003 and Warcraft III TFT (under Wine). Very stable, too. -- Remy Remove underscore and suffix in reply address for a timely response. -- gentoo-user@gentoo.org mailing list
[gentoo-user] Re: Does (-win32codecs) mean Slots?
David Morgan wrote: > emerge wtf > wtf sol Thanks for the tip! Typically *nix: small program, does only one thing but does it well. I like the man page. -- Remy Remove underscore and suffix in reply address for a timely response. -- gentoo-user@gentoo.org mailing list
[gentoo-user] Re: Determining the current runlevel
Neil Bothwick wrote: > I'm sure I've seen this mentioned before, but can't find it. I need a way > to find the current Gentoo runlevel (not the numeric one) in a script. I > can check the level booted by grepping /proc/cmdline, but that fails if > the runlevel was subsequently changed with rc. # cat /var/lib/init.d/softlevel default HTH. -- Remy Remove underscore and suffix in reply address for a timely response. -- gentoo-user@gentoo.org mailing list
[gentoo-user] Re: "loopback mount" hard-drive image created with dd?
Yahya Mohammad wrote: # losetup /dev/loop0 /path/to/diskimage # fdisk -l /dev/loop0 (example) Disk /dev/sdb: 160.0 GB, 160041885696 bytes 255 heads, 63 sectors/track, 19457 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/sdb1 * 11044 8385898+ c W95 FAT32 (LBA) /dev/sdb21045 19457 147902422+ 83 Linux Thanks for the tip! I didn't know you could mount a whole disk image as loopback, and see the partition table with fdisk. I always printed the partition table before making the disk image. I second that, I'm curious to know if it works It does, I have done it before, but there's a special case for the first partition of the disk. According to your output of fdisk, it is supposed to start at cylinder 1. However, if you run fdisk with the -u option (giving the positions and sizes in sectors), you get the following: (example) # fdisk -lu /dev/loop0 Disk /dev/loop0: 10.0 GB, 10056130560 bytes 240 heads, 63 sectors/track, 1299 cylinders, total 19640880 sectors Units = sectors of 1 * 512 = 512 bytes Disk identifier: 0xc1afc1af Device Boot Start End Blocks Id System /dev/loop0p1 * 63 4097519 2048728+ b W95 FAT32 /dev/loop0p2 4097520 8195039 20487605 Extended /dev/loop0p5 4097583 8195039 2048728+ b W95 FAT32 That is, the first partition starts at sector 63, i.e. at an offset value of 63 * 512 = 32256. oh, and make a backup just in case :) And mount the filesystem read-only with the "ro" mount option. -- Remy signature.asc Description: OpenPGP digital signature
[gentoo-user] Re: SSH brute force attacks and blacklist.py
Steve wrote: I'm one of the (many) people who has opportunists trying usernames and passwords against SSH... while every effort has been made to secure this service by configuration; strong passwords; no root login remotely etc. I would still prefer to block sites using obvious dictionary attacks against me. The best advice I can give is to use public key authentication only. This will defend against all dictionary-based attacks, which is what you describe. The only remaining "problem" is that your log files will be filled with unsuccessful login attempts. A simple solution is to run sshd on a non-standard, high-numbered port, e.g. in the 30'000. Bots only ever try to connect on port 22. This will *not* improve the protection of your server, but it will avoid having your logs spammed. -- Remy signature.asc Description: OpenPGP digital signature
[gentoo-user] Re: Digest of gentoo-user@lists.gentoo.org issue 1426 (76478-76527)
http://bugs.gentoo.org/show_bug.cgi?id=212484 signature.asc Description: OpenPGP digital signature
[gentoo-user] Re: postup() syntax help
Grant wrote: postup() { if [[ ${IFACE} = "wlan0" ]]; then IIRC, the equality operator is "==", not "=". HTH. -- Remy signature.asc Description: OpenPGP digital signature
[gentoo-user] Re: Encrypted backups under Gentoo
Neil Bothwick wrote: I'm now testing app-backup/boxbackup, which seems good so far. Please report your findings on the list! I'm not all too happy about my current solution (rdiff-backup locally to a filesystem over dmcrypt, loopback-mounted from a file, followed by an rsync over ssh to a remote host), and I'd be happy to find something better! -- Remy signature.asc Description: OpenPGP digital signature
[gentoo-user] Re: Encrypted backups under Gentoo
Neil Bothwick wrote: I'm currently using it with a local server. If I decide to use the backups on a remote server too, I'll probably stick to backing up to the local server and then using rsync. It makes sense to have a copy of the backup locally and only use the much slower option of restoring from a remote host when absolutely necessary. There are at least two drawbacks to using rsync for mirroring the local backup to a remote host: - If your local backup becomes corrupt, then so does your remote backup, except if you are quick enough to disable the rsync step. - If you have disconnection during the rsync step (happened to me last night), your remote backup is temporarily corrupted. For the second problem, I'm toying with the idea of writing an rsync-like tool for mirroring one big file to a remote server, by first transmitting the changes and storing them separately on the remote machine, then performing the update on the big file after the connection has closed. -- Remy signature.asc Description: OpenPGP digital signature
[gentoo-user] Re: Encrypted backups under Gentoo
- If your local backup becomes corrupt, then so does your remote backup, except if you are quick enough to disable the rsync step. That's why I use rdiff-backup. Yes, me too, but *inside* the encrypted container. - If you have disconnection during the rsync step (happened to me last night), your remote backup is temporarily corrupted. Shouldn't rsync do this on its own? There is an option --inplace described with: "This causes rsync not to create a new copy of the file and then move it into place. Instead rsync will overwrite the existing file, meaning that the rsync algorithm can't accomplish the full amount of network reduction it might be able to otherwise (since it does not yet try to sort data matches). One exception to this is if you combine the option with --backup, since rsync is smart enough to use the backup file as the basis file for the transfer. This option is useful for transfer of large files with block-based changes or appended data, and also on systems that are disk bound, not network bound. The option implies --partial (since an interrupted transfer does not delete the file), but conflicts with --partial-dir and --delay-updates. Prior to rsync 2.6.4 --inplace was also incompatible with --compare-dest and --link-dest. WARNING: The file's data will be in an inconsistent state during the transfer (and possibly afterward if the transfer gets interrupted), so ^^^ you should not use this option to update files that are in use. Also note that rsync will be unable to update a file in-place that is not writable by the receiving user." Yes, I use --inplace, but it will still leave the remote backup inconsistent in case of an interrupted transfer. And not using it is not an option for a 25GB file (and paying for capacity on the receiving end). -- Remy signature.asc Description: OpenPGP digital signature
[gentoo-user] Re: Encrypted backups under Gentoo
Neil Bothwick wrote: - If your local backup becomes corrupt, then so does your remote backup, except if you are quick enough to disable the rsync step. That's a potential problem with any form of backup, local or remote. The truly paranoid would use two different backup methods on two physically separate destinations. Well, it's not quite the same. In the 2-step case (local backup, e.g. using rdiff-backup, followed by an rsync of the backup to a remote location), if your local backup gets corrupted, then so does your remote one. If you just do two independent backups, even with the same method, one locally and the second remotely, if one gets corrupted, chances are the other one is still ok. - If you have disconnection during the rsync step (happened to me last night), your remote backup is temporarily corrupted. That should be fixable by having the script that runs rsync check the return value and try again if it fails. You're right, of course. I would still be more comfortable keeping the "window of vulnerability" (the time for which the remote file is inconsistent) as small as possible, and independent of network connectivity. That's why I was thinking in the lines of "calculate diff, send diff and store remotely, update remote copy when connection has closed". -- Remy signature.asc Description: OpenPGP digital signature
[gentoo-user] Re: ebuild description
Michael P. Soulier wrote: > msoul...@anton:~$ grep DESCRIPTION > /usr/portage/dev-libs/libassuan/libassuan-1.0 > .5.ebuild > DESCRIPTION="Standalone IPC library used by gpg, gpgme and newpg" > > Great, that helps. Still, I wouldn't think that grep would be the best say, so > I looked in the emerge manpage and found --info, but that tells me everything > *except* the DESCRIPTION string. :) Try: emerge -s libassuan -- Remy signature.asc Description: OpenPGP digital signature
[gentoo-user] Re: * Boot (initramfs) .. does not continue
Maximilian Bräutigam wrote: > by the way, if i'm booting w/o the initrd, i get a kernel panic because > he is not able to mount/find the raid system -- something with > "superblock not found". I assume you have set the partition type of your RAID components to "fd" (RAID autodetect)? -- Remy signature.asc Description: OpenPGP digital signature
[gentoo-user] Re: Installing python packages for different versions
Florian Philipp wrote: > How am I supposed to work around this? I install all Python versions I need from portage, then use virtualenv[1] to create environments with different versions of Python, where I install the needed packages with easy_install. Not as simple as using Portage, but it works. I'd also be very interested in some kind of "multislot" functionality, where every Python package installs in all available Python slots. But that's probably non-trivial to implement. [1] http://pypi.python.org/pypi/virtualenv -- Remy signature.asc Description: OpenPGP digital signature
[gentoo-user] Re: Strange issue with YouTube not working at all in some browsers
Paul Hartman wrote: > My ISP's DNS servers have 3 strikes against them: > > 1. It is slow, slow, slow, slow, slow... and did I mention slow? :) > 2. They have previously sold user's DNS/browsing history to > advertisers. They claim to have stopped, but... > 3. They "hijack" DNS, making every invalid address resolve to an > address anyway, which when viewed in a web browser goes to an "error" > page (full of advertisements and "sponsored links"). You never know if > a hostname is really invalid or not, which makes troubleshooting > non-HTTP connections interesting. Time to switch to http://www.opendns.com/ ? (I haven't used them, but they seem to be recommended a lot theses days) -- Remy signature.asc Description: OpenPGP digital signature
[gentoo-user] Re: bash stopped running python scripts...
Mike Edenfield wrote: > I dunno what I did, but I've managed to break python shell scripts, > which of course is playing havoc with portage. http://bugs.gentoo.org/show_bug.cgi?id=279915 The whole issue seems to be handled quite strangely IMO. You would think breaking Python for all ~x86 is a major offense... -- Remy signature.asc Description: OpenPGP digital signature
[gentoo-user] Re: bash stopped running python scripts...
Mike Edenfield wrote: > Though I dunno what that means for Gentoo/FreeBSD. It means that relying on linux-only, non-POSIX compliant behavior is a very bad idea ;-) -- Remy signature.asc Description: OpenPGP digital signature
[gentoo-user] Re: Cloning movie DVDs with dd - only works after accessing disk with another command?
This is just a wild guess, but could the decryption keys be stored in the DVD drive? Playing the disc with mplayer retrieves the keys (using libdvdread) and sets them in the drive. From that point, the disc is readable by all means. When you change the disc, the keys are not valid anymore. As I said, this is a wild guess, I have no actual knowledge about these things. -- Remy signature.asc Description: OpenPGP digital signature
[gentoo-user] Re: crashing X.org
Pat wrote: > I have interesting problem. When I running a video (using mplayer) and > another window partially overlap the video window the X.org crashes > (better say restarts) and the login screen appears. > > The log is clean. The graphics card is intel i915 (or i945?). Using: > xf86-video-intel-2.6.3-r1 > xorg-server-1.5.3-r6 > > But this starts since I've bought new laptop Dell Latitude E4300. I had the same issue with an E6500, and it seems that a later version of the video driver fixed it. Add this to your /etc/portage/package.keywords: ~x11-drivers/xf86-video-intel-2.7.1 and re-emerge xf86-video-intel. -- Remy signature.asc Description: OpenPGP digital signature
[gentoo-user] Re: Wiki Gentoo article "info" question
Grant Edwards wrote: > On my installation 'info kqemu' runs the Gnu info utility, > which doesn't seem to know anything about kqemu. What "info" > program is the Wiki talking about, and where does one get it? A shot in the dark: qemu has a console that can be reached with Ctrl+Alt+2. I would assume you have to enter the command there. -- Remy signature.asc Description: OpenPGP digital signature
[gentoo-user] Re: Hard disk power save
Danis Petkakis wrote: > hello there i would like to know if there is such a thing as a power > saving scheme as far as hard disks are > concerned...i would like my hard disks to spin down when they are not > being accessed after a defined > period of time...is that possible? any hints on how to do that would be > really appreciated... If your disk is only rarely accessed (i.e. a secondary HD, not containing the root filesystem), look at "hdparm", more specifically the -S option. If you would like to spin down your main HD (e.g. on a laptop), look at app-laptop/laptop-mode-tools. -- Remy signature.asc Description: OpenPGP digital signature
[gentoo-user] Re: Hard disk power save
Danis Petkakis wrote: > ok i tried 'hdparm -y /dev/sda' and though i can hear a little noise as > if the disk is in sleep > mode after a while (5 secs) it makes a noise as though it is spinning up > again... That's why I mentioned laptop-mode-tools. If configured properly, it ensures that the drive will not spin up a few seconds after having stopped, by buffering all writes. For example, I have configured my laptop to buffer writes for up to 10 minutes. The drawback, obviously, is that I can loose up to 10 minutes of work if I have a power interruption, but on a laptop, this never happens. I'm not sure I would want to have that on a server, though. -- Remy signature.asc Description: OpenPGP digital signature
[gentoo-user] Re: why xorg-server needs an old gcc?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 b.n. wrote: > icephere ha scritto: >> When I remove "fglrx" from VIDEO_CARDS, the old gcc is not required by >> emerge anymore... weird > > Probably the proprietary fglrx module is still not GCC-4 compatible. - From the ati-drivers ebuild, you can see that it depends on =virtual/libstdc++-3.3*. And in that ebuild, you see that this can be provided either by =sys-libs/libstdc++-v3-3.3* or =sys-devel/gcc-3.3*. Why it prefers the latter is not quite clear to me, probably because you already have the gcc package installed (albeit in another slot). - -- Remy -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (GNU/Linux) iD8DBQFGonq9CeNfIyhvXjIRAj85AJwLn3oZh5GHikSJHg6cYCNvwBtvXACfSPs/ aCMI+fm719y1dgl/LA9LTR0= =y9Vf -END PGP SIGNATURE- -- [EMAIL PROTECTED] mailing list
[gentoo-user] Re: portage inconsistency?
Abraham Marín Pérez wrote: > Now think there's a new version available of LIB, let's say version 2.1, > but the latest version of APP is still 1.0. If portage performed a deep > update by default LIB would be rebuilt, but no APP, what would cause > broken dependencies on APP (remember LIB is a dynamic library). However, > is you don't update LIB unless you update also APP you will prevent this > problem*. That's what revdep-rebuild is for. Update your LIB, run revdep-rebuild, and if APP is really broken by the LIB update (it doesn't have to be), it will be rebuilt. -- Remy signature.asc Description: OpenPGP digital signature
[gentoo-user] Re: portage inconsistency?
Abraham Marín Pérez wrote: > That is indeed true, however, it will always be better keeping things > right than breaking and fixing as a rule, don't you think? The thing is, you will *have to* break things at some point anyway. In your case, it will be when you decide to update LIB (because you want to have the new features, or because another package needs the new version). Between the LIB update and the APP recompilation, APP will be broken. Even worse, if you don't know that the LIB update will break APP, you might not notice immediately that APP is broken, or you might only get some strange results from APP. That's where revdep-rebuild steps in: it can tell you that APP is broken, and what's needed to fix it. So you're better off running it consistently after your regular updates. -- Remy signature.asc Description: OpenPGP digital signature
[gentoo-user] Re: emerge reporting different number of ._cfg....s
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Gary Artim wrote: > emerge has been reporting +1 more > ._cfg then I find when I run find. > This has just started happening. I noticed the same thing, emerge reports one more file to be updated than etc-update finds. It's an off-by-one bug in the emerge script, and has already been fixed in SVN. See: http://bugs.gentoo.org/show_bug.cgi?id=187741 - -- Remy -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (GNU/Linux) iD8DBQFGvD3PCeNfIyhvXjIRAhp5AJ47K56Msamt9Drd7h0R9iN1g2HDdgCcDV49 HE0dnEtAZ22dgU0qUOSm4rM= =rYtw -END PGP SIGNATURE- -- [EMAIL PROTECTED] mailing list
[gentoo-user] Re: 500 meg / partition (including /boot) *WITHOUT USING LVM*
Neil Bothwick wrote: > Why do you make such a big deal of not using LVM? It achieves everything > you want to, and more, without the compromises. There's one thing that has prevented me from ever using LVM: the need to have an initrd (or initramfs). From what I remember, this has always required manually copying some utilities like the LVM tools to the initrd (or writing a script that does it), and remembering to do it every time I update one of the tools, and not to forget copying all required libraries as well, and so on. OTOH, I have stopped looking at solutions that need an initrd quite some time ago, so things might be easier nowadays. How do you manage your initrd? Do you even need one? > And what happens with 500GB is no longer enough and you want to add more > space. How do you resize your "partitions" to use space on the second > disk? Even though I have used resize2fs in the past, I have always thought that this tool was kind of a hack. Doesn't the resizing operation carry some risk? And if it goes wrong (e.g. a power outage), do you loose the complete content of the partition? And from what I remember, you can't resize a mounted ext3 partition, so you have to boot to a rescue CD, hope that all your LVM tools are there (they normally are, but what version?) and perform the resize operation there. But I'd love to be proven wrong on all the points above! This would certainly motivate me to look into LVM seriously this time. It really seems to be the right solution to the various problems I have seen with static partitions. -- Remy signature.asc Description: OpenPGP digital signature
[gentoo-user] Re: 500 meg / partition (including /boot) *WITHOUT USING LVM*
Alan McKinnon wrote: > On Gentoo it's easy to get away with not using an initramfs. Everything > is built from source and you roll your own kernel so we don't need to > jump through the boot time hoops that a binary distro must to be able > to support everything and boot. > > You will always have a pretty good idea how much space / needs, it > contains /bin, /sbin, /etc, /root and /lib. Unless oyu are in the habit > of storing stuff in /root, 500M is plenty. So put / on a regular > partition, everything else in LVM and your initramfs worries go away. Ok, I was suspecting that putting / outside of LVM might be the solution. Thanks for confirming. > The only case I can think of that *requires* initramfs right now is > booting off a raid device Strangely enough, I am currently booting from a software raid device, so you don't need an initramfs for that either. >> And from what I remember, you can't resize a mounted ext3 partition, > > balls. ext2online and resize2fs have been resizing ext3 partitions for > ages. You can extend a mounted partition with ease and in safety. Have you ever tried pulling the plug while a resize operation was in progress? I guess I'll have to test this myself, as my data is valuable enough to me that I won't just believe what I read. I wasn't aware of ext2online. Doesn't it require a kernel patch? Is it integrated in gentoo-sources? The homepage seems to indicate that it hasn't been updated since 2000. > What you can't do, and to my knowledge no regular fs can do, is to > *reduce* a mounted partition But who would want to do that? I always need *more* space, not less ;-) > Why would lvm not be on your rescue disk? That's just a silly excuse. > What would you do with a reswcue disk that doesn't have fdisk on it? > You'd throw it away and get a different one. Well, I haven't spent much time looking at rescue CDs, I have always used Knoppix up to now and it has been good enough. I'll just check that recent LVM tools are on it. >> But I'd love to be proven wrong on all the points above! This would >> certainly motivate me to look into LVM seriously this time. It really >> seems to be the right solution to the various problems I have seen >> with static partitions. > > You are imagining problems where none exist :-) Not quite. I have a memory of problems that have existed but thankfully have been fixed since. Anything special if I put the LVM over a software raid? -- Remy signature.asc Description: OpenPGP digital signature
[gentoo-user] Re: 500 meg / partition (including /boot) *WITHOUT USING LVM*
Neil Bothwick wrote: > On Tue, 04 Sep 2007 10:30:55 +0200, Remy Blank wrote: >> There's one thing that has prevented me from ever using LVM: the need to >> have an initrd (or initramfs). > > Sshh! Don't tell the systems I've been running on LVM for years that they > need an initrd or they'll all want one! Ha ha. I shouldn't have told mine, then they wouldn't have asked for one ;-) > Just use a 300MB root partition, no separate /boot and put everything > else on LVM. Then all the tools you need are in /, so no initrd needed. Understood. Thanks for the reply. -- Remy signature.asc Description: OpenPGP digital signature
[gentoo-user] Re: 500 meg / partition (including /boot) *WITHOUT USING LVM*
Dirk Heinrichs wrote: >> Do you even need one? > > Yes, I do. Because I have / on a logical volume which may (in case of a > laptop) also be encrypted. Right. I think I might have confused the necessity to have an initramfs for LVM and the need to have it for an encrypted root. OTOH, if you put /usr, /home, /var, /tmp and all the others on LVM, you could just leave the root partition unencrypted, as it wouldn't contain anything sensitive. >> And from what I remember, you can't resize a mounted ext3 partition > > You should refresh your memory, then :-) Those times are long over. I have googled a bit but I couldn't find any recent references for that except for a RedHat patch to 2.6.7. Specifically, e2fstools doesn't seem to mention online resizing at all. Could you give me a pointer? >> But I'd love to be proven wrong on all the points above! > > Done (partly) :-) Thanks! > Do it right, then - use EVMS *SCNR* Any specific pros/contras? From the homepage it looks rather complicated (although I haven't spent much time on it yet). I'll look into it more in-depth. Thanks for the reply. -- Remy signature.asc Description: OpenPGP digital signature
[gentoo-user] Re: 500 meg / partition (including /boot) *WITHOUT USING LVM*
Alan McKinnon wrote: > You have software compiled in the kernel, not as a module the, right? Correct. > A reduce might be a different case altogether. BUT, it's not an > especially different operation to a defrag on Windows, and I have yet > to see a Windows admin debate whether he should defrag or not based on > the possibility of losing power halfway through... I only ever defrag drives that are either on a laptop, or a server with a UPS. You can't be too careful on Windows... > emerged openoffice lately? :-) Nope, only openoffice-bin. Can't see a reason to have the fan of my laptop blow like hell for 12 hours in a row, when I can have it in a few seconds :-) The /var/tmp/portage argument is still a valid one, though. > Performance wise, it does well. The LVM and mdamd layers do their work > in a fraction of the time it takes to get the data on/off the disk > platters. In fact, Linux software usually outperforms most of those > stupid el-cheapo we-say-it's-hardware-raid-but-actually-isn't raid > controllers in low end hardware Thanks a lot for your feedback. I think you and Neil triggered yet another server reorganization (but it seems like this will be the last one). -- Remy signature.asc Description: OpenPGP digital signature
[gentoo-user] Re: 500 meg / partition (including /boot) *WITHOUT USING LVM*
Dirk Heinrichs wrote: > Am Dienstag, 4. September 2007 schrieb ext Remy Blank: >> Could you give me a pointer? > > Can't remember when e2fstools were dropped from Gentoo, but resize2fs is > part of e2fsprogs. I actually meant e2fsprogs. Bad manual copy/paste operation. But I was just looking for the wrong word ("online"). Looking for "mounted" gives the following (yeah, I know, it's the top of the description, I should just have read on): The resize2fs program will resize ext2 or ext3 file systems. It can be used to enlarge or shrink an unmounted file system located on device. If the filesystem is mounted, it can be used to expand the size of the mounted filesystem, assuming the kernel supports on-line resizing. (As of this writing, the Linux 2.6 kernel supports on-line resize for filesystems mounted using ext3 only.). So you're totally right. -- Remy signature.asc Description: OpenPGP digital signature
[gentoo-user] Re: apache2 2.2.x fails to start due to mod_dav_svn.so
Daevid Vincent wrote: > Thank God I have daily backups of all my /etc dir. Put it under Subversion and you'll be even better off. > Someone in that link above offered a solution: > > # for i in $(qdepends -CNQ www-servers/apache); do emerge $i; done > > However, I don't have this "qdepends" thing, so that wasn't very > helpful, but I think he's on the right track... > > -su: qdepends: command not found > # eix qdepends > No matches found. emerge -av portage-utils -- Remy signature.asc Description: OpenPGP digital signature
[gentoo-user] Re: NFS mount fail
Richard Marzan wrote: > I get this error when mounting an nfs share: > > mount.nfs: rpc.statd is not running but is required for remote locking >Either use "-o nolocks" to keep locks local, or start statd. > > > Anyone know what the problem might be? I followed the gentoo-wiki nfs > guide @ http://gentoo-wiki.com/HOWTO_Share_Directories_via_NFS > > rsize and wsize have been set on my client. Did you add nfsmount to the default runlevel? rc-updated add nfsmount default This should start rpc.statd at boot time. You can also start it without rebooting: /etc/init.d/nfsmount start You need to have emerged sys-fs/nfs-utils for this to work. If you have already done all of the above, I'd look at your firewall rules. -- Remy signature.asc Description: OpenPGP digital signature
[gentoo-user] Re: Break In attempts
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mick wrote: > I have already disabled PAM authentication on sshd so that only users with a > public key in their ~/.ssh can login. This is the first and most important step. This means that the only real problem is that your logs fill with failed log in attempts. The easiest way I have found to avoid that is to change the port number of the SSH daemon to something else than 22. - -- Remy -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (GNU/Linux) iD8DBQFHCSKRCeNfIyhvXjIRAgiBAKCNqpLd1XzZWcEm74DVbZyL9CpmCgCgmN5X FJWRjHgHrwHlv9vYT8jz5tM= =njTK -END PGP SIGNATURE- -- [EMAIL PROTECTED] mailing list
[gentoo-user] Re: LVM : pros & cons
Neil Bothwick wrote: > It' one of those things[1] that you put off using because it looks > complicated. then you get round to trying it and wish you'd done so much > earlier. > > [1] Screen falls into this category too. I can confirm about screen, I use it everywhere now. But I've yet to try LVM (I am convinced as well, but just haven't had to install a machine lately). -- Remy signature.asc Description: OpenPGP digital signature
[gentoo-user] Re: Online photo album software in Portage?
Iain Buchanan wrote: > On Fri, 2007-10-19 at 11:55 -0700, Grant wrote: >> Can anyone recommend a photo album package either in Portage or an >> overlay? jalbum looks good but it doesn't seem to be in either: >> >> http://jalbum.net > > even though it's not in portage, I'd highly recommend you try it - I use > it and it produces some fantastic looking albums! I second that. There are ebuilds in b.g.o, though they probably aren't up-to-date: http://bugs.gentoo.org/show_bug.cgi?id=128356 -- Remy signature.asc Description: OpenPGP digital signature
[gentoo-user] Re: Where did HP Ink Jet support run off to?
It seems that I cannot find where this support has run to for my home office PSC 1610 All-in-One printer. I think you're looking for hplip: # emerge -s hplip Searching... [ Results for search key : hplip ] [ Applications found : 1 ] * net-print/hplip Latest version available: 2.7.10 Latest version installed: 2.7.10 Size of files: 14,103 kB Homepage: http://hplip.sourceforge.net/ Description: HP Linux Imaging and Printing System. Includes net-print/hpijs, scanner drivers and service tools. License: GPL-2 HTH. -- Remy signature.asc Description: OpenPGP digital signature
[gentoo-user] Re: Automatic network configuration for USB connected device
Dan Johansson wrote: The above worked like a charm on my desktop but on my notebook it fails to autoaticly bring up the usb0 interface. If I do '/etc/init.d/net.usb0 start' on the notebook everything works as expected (this I don't have to do on the desktop). Any suggestions where to look? You may have the following line in your /etc/conf.d/rc: RC_PLUG_SERVICES="!net.*" This disables automatic starting of network services. You should replace it with something like: RC_PLUG_SERVICES="!net.eth0 !net.wlan0" where you enumerate the network services you *don't* want to start, and of course leave out net.usb0. -- Remy signature.asc Description: OpenPGP digital signature
[gentoo-user] Re: I am a "f*****g retard". Can you help me?
I don't think it was ever discussed as anything but an option, but I could be even more confused than you... Looks like the disease is spreading, now your signature script is even more confused than you ;-) Good database, though! -- Remy signature.asc Description: OpenPGP digital signature
[gentoo-user] Re: preventing a module from being loaded
(Sorry if this appears twice, but I sent the message three hours ago and it hasn't appeared on the list yet) marco restelli wrote: > Now, at boot, the module bcm43xx is loaded, while > I have been using ndiswrapper. I had the same problem here. You can block the automatic loading of the module by udev as follows: Find out the module alias used by udev: cat /sys/class/net/wlan0/device/modalias (Replace wlan0 by the name of your interface). Here this gives: pci:v14E4d4324sv1028sd0003bc02sc80i00 Create the file /etc/modules.d/blacklist with the following content: alias pci:v14E4d4324sv1028sd0003bc02sc80i00 off (Use the alias you got with the command above). Then run modules-update. Easy, isn't it? ;-) -- Remy signature.asc Description: OpenPGP digital signature
[gentoo-user] Re: preventing a module from being loaded
marco restelli wrote: > Now, at boot, the module bcm43xx is loaded, while > I have been using ndiswrapper. I had the same problem here. You can block the automatic loading of the module by udev as follows: Find out the module alias used by udev: cat /sys/class/net/wlan0/device/modalias (Replace wlan0 by the name of your interface). Here this gives: pci:v14E4d4324sv1028sd0003bc02sc80i00 Create the file /etc/modules.d/blacklist with the following content: alias pci:v14E4d4324sv1028sd0003bc02sc80i00 off (Use the alias you got with the command above). Then run modules-update. Easy, isn't it? ;-) -- Remy signature.asc Description: OpenPGP digital signature
[gentoo-user] Re: SOLVED: Recover from LVM errors? (Was: Re: Help - system reboots while compiling)
Boyd Stephen Smith Jr. wrote: > /me is looking for a new favorite file system. ZFS? -- Remy signature.asc Description: OpenPGP digital signature
[gentoo-user] Re: SOLVED: Recover from LVM errors? (Was: Re: Help - system reboots while compiling)
Boyd Stephen Smith Jr. wrote: >> >> ZFS? >> > > You say troll, I say possibility; I'll certainly consider it. Actually, I would be very interested in using ZFS for my data. The "troll" was more about the fact that the ZFS license was explicitly designed to be GPL-2 incompatible, hence preventing it from being included into Linux (it would require a clean-room rewrite from the specs). > However, the demos that I've seen about ZFS stress how easy it is to > administer, and all the LVM-style features it has. Personally, > I've /very/ comfortable with LVM and am of the opinion that such features > don't actually belong at the "filesystem" layer. I haven't made the step to LVM and am still using a plain old RAID-1 mirror. I'm not that comfortable adding one more layer to the data path, and one more difficulty in case of hard disk failure. > I need to good general purpose filesystem, what matters most to be is: > 1) Online growing of the filesystem, with LVM I use this a lot, I won't > consider a filesystem I can't grow while it is in active use. > 2) Journaling or other techniques (FFS from the *BSD world does something > they don't like to call journaling) that reduce the frequency of full > fscks. > 3) All-round performance, and I don't mind it using extra CPU time or > memory to make filesystem performance better, I have both to spare. > 4) Storage savings (like tail packing or transparent compression) I completely agree with 1) and 2), and 3) and 4) are nice to haves. What I like in ZFS is the data integrity check, i.e. every block gets a checksum, and it can auto-repair in a RAID-Z configuration, something that RAID-1 cannot. So I would add: 5) Reliable data integrity checks and self-healing capability. -- Remy signature.asc Description: OpenPGP digital signature
[gentoo-user] Re: SOLVED: Recover from LVM errors? (Was: Re: Help - system reboots while compiling)
Boyd Stephen Smith Jr. wrote: > RAID-3?/5/6 can self-repair like this, but the checksumming is done at the > stripe, rather than inode level. AFAIK, RAID-5 doesn't self-heal except for the specific case where a bad block is detected by the hardware, so the RAID driver knows which drive has the bad stripe. If the parity is just inconsistent, there is no way of knowing which drive's stripe should be reconstructed. RAID-6 OTOH should be able to do that. > Surely, a filesystem should not shy > away from sanity checks that can be done with little overhead besides CPU > time, but adding a checksum to each block might be a little overkill. As long as performance is OK, I am willing to sacrifice the space for the per-block checksum. BTW, 10 drives? Nice setup! -- Remy signature.asc Description: OpenPGP digital signature
[gentoo-user] Re: [OT DNS] common way to discover nameservers for an IP
[EMAIL PROTECTED] wrote: > I know I've once known and used a command that listed the nameservers > serving a given IP. dig -x 123.45.67.89 HTH. -- Remy signature.asc Description: OpenPGP digital signature
[gentoo-user] Re: emerge -pv vs emerge -DuNpv
Daniel Iliev wrote: > So, "emerge -pv gentoo-sources" wants to install the new kernel source, > while "emerge -DuN world" doesn't. How come? Is gentoo-sources in your world file? $ grep gentoo-sources /var/lib/portage/world If not, the behavior you see is normal. Just add "sys-kernel/gentoo-sources" to the world file. -- Remy signature.asc Description: OpenPGP digital signature
[gentoo-user] Re: Backup /sys ?
Florian Philipp wrote: > Should I even try to backup sys? Is it important for rebuilding the system > after rm -rf / ? No, /sys is like /proc, it's dynamically create by the kernel. And please, don't hijack threads, i.e. don't reply to another arbitrary message, but post a new one. -- Remy signature.asc Description: OpenPGP digital signature
[gentoo-user] xorg-7.2 and ati-drivers-8.32.5
I have noticed xorg-7.2 just went stable. I am currently using 7.1 with the stable binary ATI drivers ati-drivers-8.32.5 and the kernel gentoo-sources-2.6.19-r5. Has anybody with the same configuration done the update? Does it work for you? (Yes, I know, binary drivers suck. I'm not trying to start a flamewar, I'd just like to know if it works for somebody else before trying myself.) Thanks. -- Remy signature.asc Description: OpenPGP digital signature
[gentoo-user] Re: xorg-7.2 and ati-drivers-8.32.5
Thanks for the feedback. Grant Edwards wrote: > I couldn't get 8.32.5 to build with 2.6.16, so I upgraded to > 2.6.20. 8.32.5 wouldn't build with that kernel version so I > tried the "testing" version of ati-drivers. Yes, b.g.o has quite a few bugs open for ati-drivers related to 2.6.20, that's one of the reasons I want to keep 2.6.19 (besides having no good reason to update, that is). Marco, what kernel are you running? -- Remy signature.asc Description: OpenPGP digital signature
[gentoo-user] Re: xorg-server blocked by ati-drivers
James wrote: > blocks B x11-drivers/ati-drivers (is blocking > x11-base/xorg-server-1.3.0.0) That's because none of the current ati-drivers work with xorg-server-1.3. > One thing that I as never really comfortable with is this make.conf > entry that I ended up using shich I gleaned from several wikis: > VIDEO_CARDS="fbdev fglrx vesa" This only means that the drivers for framebuffer, ati-drivers and vesa will be built for xorg. In your case you have probably configured xorg to use the ati-drivers (fglrx). It is a good idea to have the vesa driver handy in case something breaks after an update. It allows you to configure a slow but mostly working X11. > I'm still using an older kernel, (2.6.18-gentoo-r6) > so any advice on kernel versions or options to use with this video > card are welcome. From what I remember from bugs.gentoo.org, 2.6.19 should work fine with all recent ati-drivers, whereas 2.6.20 seems to be problematic. > Any advice on which 3D drivers options are now available for this > card or which version of ati-drivers I should install to keep > xorg-server-1.3.0.0 happy are welcome. The only information I > can find googling is not current with these newer versions > of ati-drivers, 2.6.20+ kernels, 3D and xorg-server 1.3. Stay away from xorg-server-1.3 and kernel-2.6.20 or later until ATI releases new versions that work with them. -- Remy signature.asc Description: OpenPGP digital signature
[gentoo-user] Re: xorg-7.2 and ati-drivers-8.32.5 - Thank you Gentoo devs
Francisco Rivas wrote: > 2.- Remy have you some problem with your configuration or it's only to know? My original question was meant to get feedback *before* doing the update. I updated yesterday, and everything works well. So there's no question anymore. -- Remy signature.asc Description: OpenPGP digital signature
[gentoo-user] Re: xorg-7.2 and ati-drivers-8.32.5 - Thank you Gentoo devs
Remy Blank wrote: > Just for posterity: I have updated to xorg-7.2 and everything works > perfectly well. Ok, maybe I was a bit too quick on that one. I had to reboot today, and suddenly DRI stopped working. I had to unmask and emerge ati-drivers-8.35.5 to get it back. Pretty minimal maintenance, I would say. -- Remy signature.asc Description: OpenPGP digital signature
[gentoo-user] Peace, please [WAS: Gentoo gets as bad SuSE: Circular dependencies [WAS: xorg-7.2 and ati-drivers-8.32.5 - Thank you Gentoo devs]]
Hi people, I sure didn't expect a simple thank you to people spending lots of their time ensuring that I can save mine, degenerate into a flamewar. Now, we all know about this, don't we? http://video.google.com/videoplay?docid=-4216011961522818645 For those who don't, I'll summarize here: - Everybody: please stop feeding the troll. - Enrico: please go away. Thank you for your consideration. -- Remy PS: And one more thing: please don't reply to this message. Enough bandwidth has been wasted already. signature.asc Description: OpenPGP digital signature
[gentoo-user] Re: Moving linux system to another partition
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Aleksey Kunitskiy wrote: > Is it safe to move my linux system by using: > #>cp -rp /mnt/old_part /mnt/new_part > and approriate changes in grub.conf/fstab on new system location ? I have used "rsync -avH" in the past (-H preserves hardlinks), and with more recent versions of rsync (and if you have ACLs or XATTRs), I would use "rsync -avHAX". And yes, do ensure that nothing writes to the partition while you're copying, so the best thing is probably to do that from a LiveCD, where the source partition is mounted read-only. - -- Remy -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (GNU/Linux) iD8DBQFGaYMVCeNfIyhvXjIRAnE5AKCJyDKNWh4J44Hats5BeCahIL8ySwCgsqO4 Q+LqEzrKkdVaXfsz4OiL7fA= =UgW+ -END PGP SIGNATURE- -- [EMAIL PROTECTED] mailing list
[gentoo-user] Re: Transparent network compression
Florian Philipp wrote: > Is it possible to compress all the network traffic to one host? > > My problem is: One of my PCs is connected to my network via an old powerline > adapter (first generation on the consumer market, 1 or 2 MBit). Distcc has > got an option for using lzo but I would like to have a solution for NFS, too. > With a bandwidth like this even bzip2 could be useful. You could tunnel all your traffic through an OpenVPN [1] link. OpenVPN can be configured to compress all packets using LZO (--comp-lzo). And if encryption overhead is too high, you could have it use a null cipher (--cipher null). -- Remy [1] http://www.openvpn.net/ signature.asc Description: OpenPGP digital signature
[gentoo-user] Re: Setting default user environments in /etc/profile.d/
Stroller wrote: > What am I doing wrong or misunderstanding, please? Rename your file to "essential_defaults.sh". Only files with a ".sh" extension are sourced (assuming you are using bash). -- Remy signature.asc Description: OpenPGP digital signature
[gentoo-user] Re: less file.html
Stroller wrote: > When I run `less file.html` the rendered webpage is shown, not the source. It > is as if lynx had been invoked, rather than less. As a workaround, you can use: less signature.asc Description: OpenPGP digital signature
[gentoo-user] Re: python-2.7 update: re-emerge of cracklib failed, how can I fix it?
Jarry wrote: >File "setup.py", line 22, in > from setuptools import setup, Extension, find_packages > ImportError: No module named setuptools Try re-emerging setuptools. -- Remy signature.asc Description: OpenPGP digital signature
[gentoo-user] Re: How can I inactivate the anachronism called CAPSLOCK on X?
meino.cra...@gmx.de wrote: > Is it possible to map the CAPSLOCK to simply nothing? I use the following: Option "XkbOptions" "terminate:ctrl_alt_bksp,caps:none" -- Remy signature.asc Description: OpenPGP digital signature
[gentoo-user] Re: How can I inactivate the anachronism called CAPSLOCK on X?
meino.cra...@gmx.de wrote: > Thank you for all the nice ideas -- for some reason I like the > xorg.conf method best :) And while you're at it, add the following lines to your /etc/conf.d/local.start, so that caps lock is disabled on the console, too: # Disable caps lock loadkeys < signature.asc Description: OpenPGP digital signature
[gentoo-user] Re: docutils will not emerge
cov...@ccs.covici.com wrote: > I am using python2.7. No, you're not. > * Building failed with CPython 3.2 in distutils_building() function ^^^ Check what "eselect python list" shows you, and what USE_PYTHON is set to in make.conf. -- Remy signature.asc Description: OpenPGP digital signature
[gentoo-user] Re: docutils will not emerge
cov...@ccs.covici.com wrote: > Here is eselect python list > [1] python2.7 * > [2] python3.2 > > I have no USE_PYTHON in make.conf. Everything seems to be in order, then. The symptoms look very much like: http://bugs.gentoo.org/show_bug.cgi?id=366879 (Look at the duplicates for the symptoms.) FWIW, docutils emerges fine here, but I do have a UTF-8 locale. -- Remy signature.asc Description: OpenPGP digital signature
[gentoo-user] Re: OT: kernel parameters
Peter Humphrey wrote: > Can anyone point me to the parameter concerned? I can't find it with grep. Could it be CONFIG_DETECT_SOFTLOCKUP? -- Remy signature.asc Description: OpenPGP digital signature
[gentoo-user] Re: apache-2.2.20 - upstream config files reappear in /etc
Florian Philipp wrote: > I guess it was just happened through an oversight because of the rushed > release. I just removed those files without ill effects. Indeed, these files seem completely useless on a Gentoo system. I have filed a bug: https://bugs.gentoo.org/show_bug.cgi?id=382997 -- Remy signature.asc Description: OpenPGP digital signature
[gentoo-user] Re: gnome 3 has landed
Vishnupradeep wrote: > Is that true, Gnome 3 available for gentoo. can i emerge it ? You know, you don't need to ask us for permission ;) -- Remy signature.asc Description: OpenPGP digital signature
[gentoo-user] Re: Virtualization where to go from VMWare-Server-1?
Konstantinos Agouros wrote: > I use VirtualBox on a Mac but can it run headless? Any other proposals? Yes, see the documentation for VBoxHeadless. -- Remy signature.asc Description: OpenPGP digital signature
[gentoo-user] Re: ignore previous msg (Hotplugging not working)
Allan Gottlieb wrote: > I plugged into the desktop and looked on the laptop. Thanks for sharing, that made my day :) (Probably because I can so easily imagine that happening to me.) -- Remy signature.asc Description: OpenPGP digital signature
[gentoo-user] Re: Not head, not tail, maybe belly
Al wrote: > I am looking for a program similar to head or tail. It should display > a given range of lines or take a line and a context number like grep. How about combining both? Show 10 lines starting with line 20: tail -n +20 signature.asc Description: OpenPGP digital signature