Re: [gentoo-user] which file is currently being written to disk?
On Tue, Mar 8, 2011 at 7:48 AM, Liviu Andronic landronim...@gmail.com wrote: Dear all Is there some utility (console or otherwise) that could indicate me NOT the output/input read/write and miscellanea, but simply which files are currently being written to the disk. Sometimes my browser (Opera) downloads some big temporary files, and usually I have a difficult time locating them. I've tried lsof | grep opera but the output is messy and not really helpful. Any other ideas? Regards Liviu -- Do you know how to read? http://www.alienetworks.com/srtest.cfm http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader Do you know how to write? http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail Hi, I like sys-process/iotop it is quite handy. Best regards Petri Rosenström
Re: [gentoo-user] Dual Boot Partitions
On Sun, Feb 27, 2011 at 5:01 PM, dhk dhk...@optonline.net wrote: I have a new laptop that I need to set up for dual booting. As much as I despise Microsoft, I have to use it for certain things. Such as some obscure peripherals, like my slide photo scanner, it doesn't support Linux and TD Ameritrade's streaming Java tools don't work the same as on Linux. Until corporation's smarten up Microsoft will be a problem. The setup for dual booting seem pretty straight forward. Install windows first, then Linux, and modify the boot loader. However, I have a couple of question and observations. First, the observations. I tried to partition my disk with fdisk the way I wanted. It had the usual Linux partitions and a partition that I was going to use for Window 7. I wanted to make this an LVM2 partition, but that didn't work; I guess that was too ambitious. Then I just made it an ordinary static HPFS/NTFS partition on /dev/sda5. When installing Windows 7 it wouldn't install on that partition. I deleted all the partitions and just installed it on the first 50Gigs of the disk. Second, the questions. The Windows 7 install on the first 50Gigs of the disk needed to created two partitions. The first was a very small boot partition that I increased to 128Megs, and the second is the rest of Windows 7. Now when I boot to the livecd to partition the rest of the disk for Gentoo fdisk says Partition 1 does not end on a cylinder boundary. Is this a problem? The other big question is: what do I do Dunno, it might be that win7 changed the amount of heads/sectors that could give that notice from fdisk. I would not be to worrified about it (Installing windows would be more horrifying). If you have a traditional hd then the worst thing I think might be that reads/writes would be slower. about the first partition in the partition table? It is an HPFS/NTFS partition and has been toggled bootable. It also has some stuff in it that looks like it's important to Windows: a BOOTSECT.BAK file, a Boot directory, a System Volume Information directory, and a bootmgr file. Now for my Gentoo install, how and where do I make a /boot partition? Do I replace the Windows 7 boot partition with /boot? If so, what happens to the contents? or Do I make a /boot partition on /dev/sda3 and toggle the bootable flag there? Something like that. You could install gentoo on one partition (I don't recommend). Just make partitions like you would do without windows. When you do the grub-install script or by hand grub links the boot to the partition where boot exists. You should not remove or change the windows partitions or the data windows will probably brake when you do. I apologize for the long story. Thanks in advance for all the help. dhk Some links with more information... http://www.gentoo-wiki.info/HOWTO_Dual_boot http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=1chap=10 Best regards Petri Rosenström
Re: [gentoo-user] Prelink on a already fast system
On Tue, Feb 15, 2011 at 1:45 AM, Dale rdalek1...@gmail.com wrote: I was curious. I have this new rig and was wondering if prelinking would help any. It's a 4 core AMD 3.2Ghz CPU with 4Gbs, soon to be 8Gbs, of ram and a SATA 3 hard drive. On a modern system, would prelink make anything that much faster? Is it worth installing in this system? Thoughts? Opinions? Personal experience? Thanks. Dale :-) :-) P. S. Ram is ordered and should be here in a couple days. Having Newegg about 100 miles away is pretty neat. :-D Hi, I have U2300, 3Gb, 120gb SSD and I tried prelinkin on my system. I didn't notice any improvement. Best regards Petri
Re: [gentoo-user] Qemu-KVM on amd64: clock in Windows guest
On Fri, Feb 11, 2011 at 11:12 AM, Stefan G. Weichinger li...@xunil.at wrote: Greets, does anyone else run KVM on gentoo as well? I delivered a amd64-server these days and a Win7-pro-guest runs on it. Now they tell me they have clock issues in the guest :-( I found http://docs.fedoraproject.org/en-US/Fedora/13/html/Virtualization_Guide/chap-Virtualization-KVM_guest_timing_management.html and ran bcdedit /set {default} USEPLATFORMCLOCK on, didn't help, even after reboot. Does it really have to say {default} ?? I don't know where to start. The host kernel provides /dev/rtc, does currently have CPU_FREQ=y, but afai understand I don't use that behavior (no driver or governor loaded). Is CONFIG_HPET needed? - # grep -i hpet .config CONFIG_HPET_TIMER=y CONFIG_HPET_EMULATE_RTC=y # CONFIG_HPET is not set - A kind of workaround is maybe using ntp in the guest? I will try that asap. Thanks for any help on this! Stefan Hi, I use kvm on gentoo, I really don't use the clock on the windows guests (I don't use windows vm) :). But I could guess that the issue might be with localtime, so you could try using -rtc base=localtime parameter with starting the windows host. Best regards Petri
Re: [gentoo-user] Disk Labels in Handbook
On Wed, Feb 9, 2011 at 10:58 PM, Alan McKinnon alan.mckin...@gmail.com wrote: Apparently, though unproven, at 16:27 on Wednesday 09 February 2011, Mark Knecht did opine thusly: On Wed, Feb 9, 2011 at 6:16 AM, Dale rdalek1...@gmail.com wrote: James wrote: Hello, So looking at the handbook, I was wondering why it does not describe how to use Disk Labels during the installation process. Dunno. So I poised this question on gentoo-doc and got this encouraging response from *JOSH* snip James Given that some folks on here have ran into USB drives changing the order of partitions, I think this is a good idea. If needed, they could at least introduce the subject then have it link to another page. Even if it is the simplest label of using boot, root and such labels and maybe a mention that there are other ways to accomplish the same thing. I ran into this issue a while back when I added a hard drive and it was not easy to work with. When I boot a CD/DVD, it sees them as hd* instead of sd* so that didn't help since the OS kernel sees them as sd*. It may be uphill to get this included or at least linked to something else explaining it but I think it is a good idea. I also added myself to the bug as well. I saw the post on -doc. Dale Following Walt's recent thread about his experiences using grub2 I think getting folks used to disk labels at installation time, be they names or even better UUID's, might fit in very well with installation instructions that cover using grub2 instead of grub as a boot loader. From a practical perspective, fs labels are easier than GUIDs, so I would recommend labels. Users can invent their own descriptive labels at install time and enter that into fstab. LABEL=SERVER1-ROOT is not much more effort than /dev/sda3 GUIDs are another story. They get autogenerated, are invariably displayed on the screen along with a huge number of other GUIDs (Murphy) and one has to copy paste the damn things into vi. GUIDs are great for ubuntu where an install script does all the heavy lifting, but Gentoo, being a vastly superior operating system, has made the devastatingly astounding assumption that users are actually able to think and type. Whodathunkedit? If we expect users to type stuff, we should set it up so they type easy stuff :-) -- alan dot mckinnon at gmail dot com Hi, If you use vi(m) you don't have to type too much neither. Just use :r!blkid /dev/sda in vi(m) and you have the UUID, with some additional information, but the rest is just vi(m) magic. Best regards Petri
Re: [gentoo-user] [OT] find lines in text file by length
On Sat, Jan 29, 2011 at 5:01 PM, Willie Wong ww...@math.princeton.edu wrote: This is way OT, but I hope someone here can give me a quick answer: I have a text-file. Individual lines of it run from 10 to several thousand characters in length. Is there a simple* command that allows me to only display the lines that are, say, at least 300 characters long? Thanks in advance, W * simple of course includes appropriate incantations of sed/awk/perl/etc -- Willie W. Wong ww...@math.princeton.edu Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire et vice versa ~~~ I. Newton Hi, Try something like sed '/\w\{300,\}/!d' file This should give you lines that have more than 300 word like characters. If you put number after , you may define the max number. and you can change \w to match your needs = . . Best regards Petri
Re: [gentoo-user] Re: Paste into vim keeping indention or original?
On Thu, Jan 27, 2011 at 9:28 PM, Mike Gilbert floppymas...@gmail.com wrote: On Thu, Jan 27, 2011 at 2:22 PM, Mark Knecht markkne...@gmail.com wrote: I solved it by creating a .vimrc file and putting set pastetoggle=F2 Running :set paste will do the job as well if you don't want to assign a hot key for it. I usually do as Mike suggest. When I need to paste stuff into vim I just type :set paste and paste the stuff and continue working. Best regards Petri
Re: [gentoo-user] Simultaneously emerging multiple packages with same dependencies
On Wed, Jan 26, 2011 at 2:12 PM, PK pkugri...@gmail.com wrote: Hi, Is there any way to simultaneously emerge multiple packages (multiple instances of 'emerge') that share common dependencies ? I'm aware that portage uses locking mechanism before modifying 'world' file, but what about the actual building process ? I'd expect emerge to check if dependency package is already build/installed (or currently being build by another instance) and just skip it in this case, however I haven't tried it yet.. Can anybody shred some light on this ? Thanks, P. Hi, --jobs isn't enough? example emerge -j kde-meta Best regards Petri Rosenström
Re: [gentoo-user] distcc and crossdev, anyone?
On Tue, Dec 21, 2010 at 1:56 AM, Bill Longman bill.long...@gmail.comwrote: On 12/18/2010 07:15 AM, Peter Humphrey wrote: On Saturday 18 December 2010 10:18:43 Neil Bothwick wrote: I've found there's just too much overhead with distcc, plus much of the work is still done locally. I expected that but I wanted to try it to see. I have a couple of Atom boxes, a server and a netbook, and I've set up a chroot for each on my workstation. In the chroot I have FEATURES=buildpkg, using an NFS mounted PKGDIR available to both computers, then I emerge -k on the Atom box. Maybe I'll go this way instead. Thanks for the idea, which is similar to one from YoYo Siska three days ago. I had my Atom 330 running as a distcc client for a long time. I have several other speedy CPUs alongside it so it could spray plenty of compilation requests out its gigabit NIC to various much beefier machines. But as Neil stated, lots of the processing still occurs locally, so as you increase nodes, you need to decrease the amount of compilation done locally. With such a disparity between CPU, it takes less time overall to just do it the way Neil describes - make a chroot and then just build it with the intention that the slow CPUs will use the binary build. You still need lots of CPU to compile, so a slow machine will still compile slowly. If your client is a pokey 1.6GHz Atom and you're sending jobs to two quad core 3GHz CPUs on your subnet, you'll soon see that the Atom's load goes up toward 8 as it tries to bring those remote jobs back. So, the four threads on my 330 get completely filled up and it's dog slow. And it's even more painful when you use the preprocessor because the client must zip the compile construction before it ships it out, so you have even less CPU available for compilation (although you get some of that back). All said and done, my back-of-the-napkin and seat-of-the-pants calculation tells me that I still get a _minimum_ 25% reduction in overall compile times with distcc. That's my experience after using distcc for almost ten years with various configurations of network and CPUs. I have set up my system as Neil described chroots for different systems on a fast computer. I use this setup for my gentoo boxes I have and it has made my compilations fast(er). I tried to use distcc with one U2300 celeron and some amd 4x cpu and the amd didn't really compile, because the U2300 was a bottleneck, so I decided to chroot it and been happy ever since. I have been thinking about a tool that could automagically start the emerge on the remote system. I thought about just ssh in with a script. But I am on so many flaky Internet connections that it isn't reliable enough. Petri
Re: [gentoo-user] gentoo-sources-2.6.35-r12 causes kernel panic
On Mon, Nov 29, 2010 at 10:30 AM, Mick michaelkintz...@gmail.com wrote: On Monday 29 November 2010 06:42:26 Petri Rosenström wrote: On Sat, Nov 27, 2010 at 8:50 PM, Mark Knecht markkne...@gmail.com wrote: On Sat, Nov 27, 2010 at 10:29 AM, Mick michaelkintz...@gmail.com wrote: On Saturday 27 November 2010 17:53:21 Mark Knecht wrote: On Sat, Nov 27, 2010 at 9:17 AM, Mick michaelkintz...@gmail.com wrote: On Saturday 27 November 2010 15:17:43 Mark Knecht wrote: On Sat, Nov 27, 2010 at 6:59 AM, Mick michaelkintz...@gmail.com wrote: I haven't had much luck with the 2.6.35 version of kernels - they have cause panics on two different x86 boxen. Now that 2.6.35 has gone stable so I tried it again and I'm getting a kernel panic complaining about VFS unable to mount root fs: == VFS: Cannot open root device sda3 or unknown-block(0,0) Please append a correct root= boot option; here are the available partitions: Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) Pid: 1, comm: swapper Not tainted 2.6.35-gentoo-r12 #2 Call Trace: [c14b3530] ? panic+0x5f/0xc6 [c1693c68] ? mount_block_root+0x1c2/0x245 [c1002930] ? do_signal+0x766/0x7f2 [c1693d31] ? mount_root+0x46/0x5a [c1693e8b] ? prepare_namespace+0x146/0x182 [c1093203] ? sys_access+0x1f/0x23 [c16933f1] ? kernel_init+0x1a9/0x1b7 [c1693248] ? kernel_init+0x0/0x1b7 [c10030b6] ? kernel_thread_helper+0x6/0x10 panic occurred, switching back to text console == SNIP Am I missing something obvious to make the 2.6.35 series work with my boxen? OK, there's so many possibilities for what causes this. Basic confusion ensues... 1) When booting, if you look carefully, is the initial kernel seeing _any_ disks? Sometimes they fly bye and are hard to catch. If it is then is it showing sda3? The moment the monitor comes on it's already crashed - the first line under the penguins shows: Initializing USB Mass Storage driver... so I assume that any probing of drives has already happened. 2) What sort of file system did you put on sda3? I assume this is built into the kernel if this is an upgrade? reiserfs built into the kernel and unchanged for the last umpteen kernel series. 3) Post the appropriate part of grub.conf to show how you are booting. title=Gentoo Linux 2.6.35-r12 root (hd0,5) kernel /kernel-2.6.35-gentoo-r12 root=/dev/sda3 The 2.6.34-r12 uses the same stanza except for *.35 being replaced with *.34 4) Post fstab /dev/sda6 /boot ext2 noauto,noatime 1 1 /dev/sda3 / reiserfs noatime 0 1 /dev/sda2 none swap sw 0 0 [snip] I'll now build the kernel on the second x86 box and see what happens there. -- Regards, Mick Yeah, all makes sense what you've done and I can only offer one more thing for you to look at. I skipped from 2.6.33 to 2.6.36 so I cannot say anything specific about the *.35 series, but one thing I've suffered with on my 2.6.36 build is that if I have a specific USB hub hooked up my machine won't complete a boot. I have to disconnect this USB hub prior to boot and then hook it back up after the boot completes. I've not had time to look for the cause so I only hook it up to use it. After boot there are no other problems I've seen. I was assuming that maybe there's some difference in the USB stuff that I hadn't discovered yet, and since you see a crash at a USB step possibly it's similar and I never saw it at *.35 because I never used that series? Good luck and I wish I could be of more help. Thanks for trying to help me Mark, I'm surprised this problem is not more widespread. My second x86 machine also fails with the same kernel panic. :-( Because this is a slower machine I had a moment to see the initial messages before the penguin showed up. It said: ERROR: Unable to locate IOAPIC for GSI4 This is repeated a number of times and then the penguin pops up before the kernel crashes a dozen lines further down. It seems that this is a regression error, which I hope has been taken care of in later kernels: http://kerneltrap.org/mailarchive/linux-kernel/2010/7/8/4591800 -- Regards, Mick If you can then give 2.6.36 a try. Possibly it's in by now? That thread ends without (by my reading anyway) any particular conclusion about a fix. - Mark Hi Mick, You didn't show CONFIG_ATA_PIIX in your kernel config... Or atleast I didn't find it. CONFIG_ATA_PIIX=y Device Drivers ---Serial ATA and Parallel ATA drivers ---Intel ESB, ICH, PIIX3, PIIX4 PATA/SATA support That's because it's not longer there: $ cat /usr/src/linux/.config
Re: [gentoo-user] gentoo-sources-2.6.35-r12 causes kernel panic
On Sat, Nov 27, 2010 at 8:50 PM, Mark Knecht markkne...@gmail.com wrote: On Sat, Nov 27, 2010 at 10:29 AM, Mick michaelkintz...@gmail.com wrote: On Saturday 27 November 2010 17:53:21 Mark Knecht wrote: On Sat, Nov 27, 2010 at 9:17 AM, Mick michaelkintz...@gmail.com wrote: On Saturday 27 November 2010 15:17:43 Mark Knecht wrote: On Sat, Nov 27, 2010 at 6:59 AM, Mick michaelkintz...@gmail.com wrote: I haven't had much luck with the 2.6.35 version of kernels - they have cause panics on two different x86 boxen. Now that 2.6.35 has gone stable so I tried it again and I'm getting a kernel panic complaining about VFS unable to mount root fs: == VFS: Cannot open root device sda3 or unknown-block(0,0) Please append a correct root= boot option; here are the available partitions: Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) Pid: 1, comm: swapper Not tainted 2.6.35-gentoo-r12 #2 Call Trace: [c14b3530] ? panic+0x5f/0xc6 [c1693c68] ? mount_block_root+0x1c2/0x245 [c1002930] ? do_signal+0x766/0x7f2 [c1693d31] ? mount_root+0x46/0x5a [c1693e8b] ? prepare_namespace+0x146/0x182 [c1093203] ? sys_access+0x1f/0x23 [c16933f1] ? kernel_init+0x1a9/0x1b7 [c1693248] ? kernel_init+0x0/0x1b7 [c10030b6] ? kernel_thread_helper+0x6/0x10 panic occurred, switching back to text console == SNIP Am I missing something obvious to make the 2.6.35 series work with my boxen? OK, there's so many possibilities for what causes this. Basic confusion ensues... 1) When booting, if you look carefully, is the initial kernel seeing _any_ disks? Sometimes they fly bye and are hard to catch. If it is then is it showing sda3? The moment the monitor comes on it's already crashed - the first line under the penguins shows: Initializing USB Mass Storage driver... so I assume that any probing of drives has already happened. 2) What sort of file system did you put on sda3? I assume this is built into the kernel if this is an upgrade? reiserfs built into the kernel and unchanged for the last umpteen kernel series. 3) Post the appropriate part of grub.conf to show how you are booting. title=Gentoo Linux 2.6.35-r12 root (hd0,5) kernel /kernel-2.6.35-gentoo-r12 root=/dev/sda3 The 2.6.34-r12 uses the same stanza except for *.35 being replaced with *.34 4) Post fstab /dev/sda6 /boot ext2 noauto,noatime 1 1 /dev/sda3 / reiserfs noatime 0 1 /dev/sda2 none swap sw 0 0 [snip] I'll now build the kernel on the second x86 box and see what happens there. -- Regards, Mick Yeah, all makes sense what you've done and I can only offer one more thing for you to look at. I skipped from 2.6.33 to 2.6.36 so I cannot say anything specific about the *.35 series, but one thing I've suffered with on my 2.6.36 build is that if I have a specific USB hub hooked up my machine won't complete a boot. I have to disconnect this USB hub prior to boot and then hook it back up after the boot completes. I've not had time to look for the cause so I only hook it up to use it. After boot there are no other problems I've seen. I was assuming that maybe there's some difference in the USB stuff that I hadn't discovered yet, and since you see a crash at a USB step possibly it's similar and I never saw it at *.35 because I never used that series? Good luck and I wish I could be of more help. Thanks for trying to help me Mark, I'm surprised this problem is not more widespread. My second x86 machine also fails with the same kernel panic. :-( Because this is a slower machine I had a moment to see the initial messages before the penguin showed up. It said: ERROR: Unable to locate IOAPIC for GSI4 This is repeated a number of times and then the penguin pops up before the kernel crashes a dozen lines further down. It seems that this is a regression error, which I hope has been taken care of in later kernels: http://kerneltrap.org/mailarchive/linux-kernel/2010/7/8/4591800 -- Regards, Mick If you can then give 2.6.36 a try. Possibly it's in by now? That thread ends without (by my reading anyway) any particular conclusion about a fix. - Mark Hi Mick, You didn't show CONFIG_ATA_PIIX in your kernel config... Or atleast I didn't find it. CONFIG_ATA_PIIX=y Device Drivers ---Serial ATA and Parallel ATA drivers ---Intel ESB, ICH, PIIX3, PIIX4 PATA/SATA support Best regards Petri
Re: [gentoo-user] Kernel multitasking improvement
On Fri, Nov 19, 2010 at 1:48 AM, Alan McKinnon alan.mckin...@gmail.com wrote: Apparently, though unproven, at 01:36 on Friday 19 November 2010, Daniel D Jones did opine thusly: Has anyone running Gentoo tried this? If so, what were your results? http://www.webupd8.org/2010/11/alternative-to-200-lines-kernel-patch.html The instructions include adding the following command to .bashrc: mkdir -m 0700 /sys/fs/cgroup/cpu/user/$$ Under /sys/fs/, the only subdirectory I have is fuse. It isn't clear to me if simply creating the entire tree will work or if some alteration is necessary for this to work under Gentoo. cgroup is control group. I'll bet you don't have it included in your kernel. It's under the first menu item in menuconfig. The article doesn't mention it, it assumes you run redhat or ubuntu -- alan dot mckinnon at gmail dot com Hi, I didn't try that one, but I'm running the kernel patch. My laptops mouse lagged in some situations and this seems to have gone away. Haven't done any real tests. I'm running git-sources 2.6.37_rc1-r8. Best regards Petri Rosenström
Re: [gentoo-user] slocate masked
On Wed, Nov 17, 2010 at 1:30 PM, Jacques Montier jacques.mont...@numericable.fr wrote: Hi all, slocate is now masked and will be removed. As i often used locate to easily find packages, what else could i run ? Thank you for your answers, cheers, -- Jacques Site web https://sites.google.com/site/jacquesfr35/ I got the following message when updating. No longer developed and replaced by sys-apps/mlocate So I would emerge mlocate Best regards Petri
Re: [gentoo-user] [Somewhat OT] Laptop battery not showing up in KDE, Smart Battery calibration
Hi, On Tue, Nov 9, 2010 at 11:52 PM, Paul Hartman paul.hartman+gen...@gmail.com wrote: Hi, I have a laptop running Gentoo (with dual-boot to Windows XP). It was manufactured in 2004 and battery life have been consistent for all those years. However, it sat dormant for almost a year, after which I did a few days worth of updating to bring it up to current kernel and ~amd64 package levels. There are two issues that have arisen: 1) The smart battery is not so smart anymore. It only charges about halfway, then the charging light turns green and it stops. Effective battery capacity is about one-third of what it used to be. From what I understand, while Li-ion don't have memory like old Ni-Cd batteries, the smart circuitry cannot account for power drain that happens when the battery is not in use. Say the battery lost half of its power while it was in storage, so the chip thinks charge is at one level when it is really much lower. When recharging, it stops when it is full even though it's only halfway there. Has anyone successfully re-calibrated one of these batteries to recognize a larger capacity? My understanding is that, to do this, I should discharge at a constant rate until it is empty, then charge to full. Repeat ?? times. I've drained the poor little battery after regular usage (not a constant rate of discharge) a few times and haven't noticed any change so far. So I'm probably doing it wrong (or completely misunderstanding...) This is complicated by my second problem: 2) If I click on the Power Management in the KDE system settings, it says Number of CPUs 0 Number of batteries 0 and battery-related options are greyed out. Since battery monitoring does not work, I have no idea how much battery life is left and have no warning when it suddenly shuts down, causing filesystem corruption and who knows what other problems. I would guess that you are missing either hal or solid? Everything in /proc/acpi/battery/ seems normal and /proc/cpuinfo does as well: $ cat /proc/acpi/battery/BAT1/info present: yes design capacity: 4400 mAh last full capacity: 1984 mAh battery technology: rechargeable design voltage: 14800 mV design capacity warning: 300 mAh design capacity low: 100 mAh cycle count: 0 capacity granularity 1: 32 mAh capacity granularity 2: 32 mAh model number: 01ZG serial number: 1020 battery type: LION OEM info: SMP $ cat /proc/acpi/battery/BAT1/state present: yes capacity state: ok charging state: charged present rate: 0 mA remaining capacity: 1984 mAh present voltage: 16384 mV $ cat /proc/cpuinfo processor : 0 vendor_id : AuthenticAMD cpu family : 15 model : 28 model name : Mobile AMD Athlon 64 Processor 3000+ stepping : 0 cpu MHz : 2000.000 cache size : 512 KB fpu : yes fpu_exception : yes cpuid level : 1 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt lm 3dnowext 3dnow rep_good bogomips : 4009.21 TLB size : 1024 4K pages clflush size : 64 cache_alignment : 64 address sizes : 40 bits physical, 48 bits virtual power management: ts fid vid ttp That all seems to look normal to me, so I'm not sure if I'm missing some setting somewhere else. Any advice or suggestions would be appreciated. Thanks, Paul Best regards Petri Rosenström
Re: [gentoo-user] mtab inside chroot
Hi, ln -sf /proc/mounts /etc/mtab ose is the open source edition bin is the binary You can read about the difference http://www.virtualbox.org/wiki/Editions best regards Petri Rosenström On Thu, Oct 28, 2010 at 1:57 PM, Zhu Sha Zang zhushaz...@yahoo.com.br wrote: Hi there, i've installed a debian/zimbra inside a chroot envorment using gentoo. But, the command df -h don't work cos i don't have /etc/mtab arch in chroot. How i can sync/create, or make df -h work correctly. For now, i gain this message: /bin/df: cannot read table of mounted file systems: No such file or directory Another question, what the difference between this packages: app-emulation/virtualbox-bin app-emulation/virtualbox-ose Thanks for now.
Re: [gentoo-user] Virtualization where to go from VMWare-Server-1?
Hi, if you are not afraid of the command line I would recommend KVM. I use it for my virtualization needs. When you don't want the sdl window you may use the -vnc switch. -daemonize switch is great for running in the backgroud. the -balloon switch is great for memory savings, I recommend KSM in your kernel also. Petri Rosenström On Fri, Aug 27, 2010 at 6:54 PM, Bill Longman bill.long...@gmail.com wrote: On 08/27/2010 12:58 AM, Konstantinos Agouros wrote: Hi, I am currently running a guest with VMware-Server-1. However the modules needed for that on the host are no longer supported and I am stuck with 2.6.31 for the moment. So I am thinking of alternatives. My requirements: It should only need as much RAM on the host as needed (so XEN with static assignment is out) It should run headless (I don't want a window on the desktop but be able get console access when needed). VMWare import/compatibility would be nice but is not a must have. I use VirtualBox on a Mac but can it run headless? Any other proposals? VBox runs great headless. I start three VMs at boot time, all over VRDP. Highly recommended. You can migrate it to other systems if you want, too.
Re: [gentoo-user] Virtualization where to go from VMWare-Server-1?
I think it requires HVM ( egrep '^flags.*(vmx|svm)' /proc/cpuinfo ) from the CPU. So if kvm doesn't work you may use your VMs with qemu. Qemu/kvm supports VMware disc format so you might be able to use your old VMs without much effort. Petri Rosenström On Sat, Aug 28, 2010 at 11:21 AM, Konstantinos Agouros elw...@agouros.de wrote: In aanlkti=c4gb3gub=3zeedak-d6n9sjrexc6o2dhxv...@mail.gmail.com petri.rosenst...@gmail.com (=?UTF-8?Q?Petri_Rosenstr=C3=B6m?=) writes: Hello, does it work with a CPU that does not have the svm (I run on AMD)? Konstantin Hi, if you are not afraid of the command line I would recommend KVM. I use it for my virtualization needs. When you don't want the sdl window you may use the -vnc switch. -daemonize switch is great for running in the backgroud. the -balloon switch is great for memory savings, I recommend KSM in your kernel also. Petri Rosenstr=C3=B6m On Fri, Aug 27, 2010 at 6:54 PM, Bill Longman bill.long...@gmail.com wrot= e: On 08/27/2010 12:58 AM, Konstantinos Agouros wrote: Hi, I am currently running a guest with VMware-Server-1. However the modules needed for that on the host are no longer supported and I am stuck with = 2.6.31 for the moment. So I am thinking of alternatives. My requirements: It should only need as much RAM on the host as needed (so XEN with stati= c assignment is out) It should run headless (I don't want a window on the desktop but be able get console access when needed). VMWare import/compatibility would be nice but is not a must have. I use VirtualBox on a Mac but can it run headless? Any other proposals? VBox runs great headless. I start three VMs at boot time, all over VRDP. Highly recommended. You can migrate it to other systems if you want, too. -- Dipl-Inf. Konstantin Agouros aka Elwood Blues. Internet: elw...@agouros.de Altersheimerstr. 1, 81545 Muenchen, Germany. Tel +49 89 69370185 Captain, this ship will not survive the forming of the cosmos. B'Elana Torres
Re: [gentoo-user] Re: Virtualization where to go from VMWare-Server-1?
Well I haven't done any testing, but I have a feeling that using virtio drivers makes qemu faster. But I agree that using a desktop is faster with vbox. Atleast using the mouse :D Petri Rosenström On Sat, Aug 28, 2010 at 10:09 PM, walt w41...@gmail.com wrote: On 08/28/2010 03:21 AM, Petri Rosenström wrote: I think it requires HVM ( egrep '^flags.*(vmx|svm)' /proc/cpuinfo ) from the CPU. So if kvm doesn't work you may use your VMs with qemu. Qemu/kvm supports VMware disc format so you might be able to use your old VMs without much effort. I find that vbox is *much* faster than qemu in the absence of hardware virtualization support. The vbox devs say their graphics driver is what makes it faster.
Re: [gentoo-user] Firefox and noscript... (maybe off-topic)
Hi yes it is. I checked it and if you don't want this behavior just uncheck NoScript Options|Advanced|ABE|WAN IP ∈ LOCAL Petri Rosenström On Thu, Aug 26, 2010 at 7:49 PM, Joshua Murphy poiso...@gmail.com wrote: On Thu, Aug 26, 2010 at 12:29 PM, pk pete...@coolmail.se wrote: Hi, I'm using firefox together with noscript which has worked fine for quite a while now and I don't have a real problem with it... Although in the latest update, I've discovered that it always connects to 188.121.36.239 (which belongs to Go Daddy Netherlands) during start up (I've set mine to show a blank page on start). I have no knowledge of Go Daddy but I read that they are some kind of web hosting firm. Question is, does anyone else run noscript in firefox and see this connection? Opinions welcome... Best regards Peter K Sounds like it's probably this: http://forums.informaction.com/viewtopic.php?f=7t=4743 -- Poison [BLX] Joshua M. Murphy
Re: [gentoo-user] New HD monitor stretches everything. How to teach Xorg?
To display 1920x1080 resolution with 32 bit colors, you need 8,294,400 bytes of video memory. So if you have more than eight megs of video mem you shouldn't need to buy a new one. have you tried something like xrandr --auto --- Petri Rosenström On Tue, Aug 24, 2010 at 8:40 AM, d.fedo...@timeweb.ru wrote: On Mon, Aug 23, 2010 at 8:58 PM, denniso...@gmail.com wrote: On 24/08/10 03:38, Bill Longman wrote: On Mon, Aug 23, 2010 at 7:27 PM, Kevin O'Gorman kogor...@gmail.comwrote: I had to replace an 4:3 Westinghouse monitor this weekend. I got a new ASUS VH242H, which is very wide. But Xorg is still running 1280x1024, instead of the monitor's normal 1920x1080, according to xorg logs because of lack of video memory (using the ATI on the motherboard). I can make the screen use a 4:3 aspect ratio, so I'm up and running, much better than I started, but I'd like to do better. I guess I've gotta look for a video card, but all I have is PCIX slots, so I don't want to put a lot of money into it (I'll be upgrading the mobo when finances permit -- which is not right now.) Any ideas? Have you tried setting different modelines etc using cvt and xrandr? No. I ditched my xorg.conf completely; it had been there just because I couldn't get the Westinghouse monitor to work without it. The Xorg logs show it recognizes a boatload of modes that the monitor likes, but gives an alibi for not using the HD ones. The approach does not seem promising. /var/log/Xorg.0.log attached. I'm paying attention to lines 269 295 327 369 377 380 and 381 269: (II) MACH64(0): Modeline 1920x1080x0.0 148.50 1920 2008 2052 2200 1080 1084 1089 1125 +hsync +vsync (67.5 kHz) 295: (II) MACH64(0): Modeline 1920x1080x60.0 172.80 1920 2040 2248 2576 1080 1081 1084 1118 -hsync +vsync (67.1 kHz) 327: (II) MACH64(0): Estimated virtual size for aspect ratio 1.7931 is 1920x1080 369: (II) MACH64(0): Not using default mode 1920x1440 (insufficient memory for mode) 377: (II) MACH64(0): Not using driver mode 1920x1080 (bad mode clock/interlace/doublescan) 380: (II) MACH64(0): Not using driver mode 1920x1080 (bad mode clock/interlace/doublescan) 381: (WW) MACH64(0): Shrinking virtual size estimate from 1920x1080 to 1280x1024 -- Kevin O'Gorman, PhD 1) Did you made entries for right resolution mode in xorg.conf 2) Are u sure that 1920x1080 is supported resolution for your monitor? 3) BIOS of some graphic cards is trying to overide the data reported by the monitor in its own way
Re: [gentoo-user] Installer Skript
Hi, dunno if I'm interested in testing it, but I have a similar script, made mostly in bash. So if you made one also I'm interested in looking into it (I might be able to copy something from it :D) Petri Rosenström On Sat, Aug 21, 2010 at 12:25 AM, Elmar Hinz oss.el...@googlemail.com wrote: Hello, yesterday I was working on an installer skript for Gentoo. What does it do? * It does the basic installation until you can reboot and login. * That includes formatting of the given partitions. * That includes compiling a genkernel. * It is developed and tested on Ubuntu. What does it not do? * It does not do partitioning itself. * It does not install a boot manger. (I use that on my Ubuntu partition.) * It does not set up wifi. What is required? You need at least a free partition of 5GB and a swap partition. Optionally you can use a separate partition for portage. Is anybody interested in testing the script? That is alpha software. You should at least be able look into the script before you run it. You know, it asks before, but then it does format your partitions. So it can be quite dangerous, if you don't exactly know what you are doing. Al
Re: [gentoo-user] gentoo on laptop suggestion
I own a samsung and I don't recommend anyone to buy one. Nothing in particular wrong (brightness control not working by default), but I don't like it. Regards Petri Rosenström On Mon, Aug 16, 2010 at 7:26 PM, Fernando Antunes fs.antu...@gmail.com wrote: On Mon, Aug 16, 2010 at 1:47 AM, Thomas Yao t.yao...@gmail.com wrote: On Mon, Aug 16, 2010 at 12:13 PM, Valmor de Almeida val.gen...@gmail.com wrote: On Sun, Aug 15, 2010 at 11:05 PM, Thomas Yao t.yao...@gmail.com wrote: [snip] Thinkpad is perfect, I strongly recommend you buy Thinkpad X/T series to hack gentoo or any other Linux distros with it. And this website will prove me right: http://www.thinkwiki.org/ You gotta love it~ I suggest Thinkpad too. My T61 works very fine. -- @ghosTM55 Mechanism, not policy Thanks for pointing this out. It seems the X series is what I need. Regards, -- Valmor Good choice , mine is X61 :) Good luck -- @ghosTM55 Mechanism, not policy
Re: [gentoo-user] OT: EPG (dvb-t) download application?
Hi, I had this problem a while ago with one computer. I think I solved it with dvbscan program. I think it can be found in media-tv/linuxtv-dvb-apps ebuild. If you need support for using the software a referense might be http://www.linuxtv.org/wiki/index.php/Dvbscan . Best regards Petri Rosenström On Sat, Aug 7, 2010 at 7:43 PM, Neil Bothwick n...@digimed.co.uk wrote: On Sat, 7 Aug 2010 14:20:41 +0200, meino.cra...@gmx.de wrote: I dont want to install vdr just for the reason to generate a textfile with a program guide. That's why I didn't post the vdr results. And in my initial posting I mentioned, that I use a dvb-t card as source, therefore nxtvepg is not useable for this purpose as far as I think, since it uses bttv and network based tv streams. Look at the web site, it mentions using it with DVB-T cards. -- Neil Bothwick furbling, v.: Having to wander through a maze of ropes at an airport or bank even when you are the only person in line. -- Rich Hall, Sniglets
Re: [gentoo-user] installing app-emulation/wine-1.1.44
Hi this bug report seems to be same as your problem http://bugs.gentoo.org/show_bug.cgi?id=283860 . In the comments suggestions are to not to use USE flag mp3 or to manually install app-emulation/emul-linux-x86-soundlibs. Last comments say (2010-01-05) that it will still fail. dunno. Petri Rosenström On Tue, Jul 6, 2010 at 5:03 PM, Rod Hurford rod.hurf...@gmail.com wrote: Hello all, I have wine-1.1.43 installed and I've recently had trouble installing wine-1.1.14 on my system using the command emerge app-emulation/wine The result (after a few minutes of compiling) is: '/var/tmp/portage/app-emulation/wine-1.1.44/temp/build.log' * Messages for package app-emulation/wine-1.1.44: * ERROR: app-emulation/wine-1.1.44 failed: * all * * Call stack: * ebuild.sh, line 54: Called src_compile * environment, line 3354: Called die * The specific snippet of code: * emake all || die all * * If you need support, post the output of 'emerge --info =app-emulation/wine-1.1.44', * the complete build log and the output of 'emerge -pqv =app-emulation/wine-1.1.44'. * The complete build log is located at '/var/tmp/portage/app-emulation/wine-1.1.44/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-emulation/wine-1.1.44/temp/environment'. * S: '/var/tmp/portage/app-emulation/wine-1.1.44/work/wine-1.1.44' --- The outputs suggested above are pasted below and the build.log file is attached. I have googled and there does not seem to be a problem with the ebuild AND I get the same output with wine-1.1.43 (which is currenlty installed) so the obvious conclusion is that I am doing something 'wrong'. Does anybody have any ideas or could point me in the right direction? Thanks in advance Rod emerge --info =app-emulation/wine-1.1.44 Portage 2.1.8.3 (default/linux/amd64/10.0, gcc-4.3.4, glibc-2.11.2-r0, 2.6.31-gentoo-r10 x86_64) = System Settings = System uname: Linux-2.6.31-gentoo-r10-x86_64-AMD_Phenom-tm-_II_X4_955_Processor-with-gentoo-1.12.13 Timestamp of tree: Tue, 06 Jul 2010 12:15:01 + app-shells/bash: 4.0_p37 dev-java/java-config: 2.1.10 dev-lang/python: 2.6.4-r1 dev-util/cmake: 2.6.4-r3 sys-apps/baselayout: 1.12.13 sys-apps/sandbox: 1.6-r2 sys-devel/autoconf: 2.13, 2.65 sys-devel/automake: 1.6.3-r1, 1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1 sys-devel/binutils: 2.20.1-r1 sys-devel/gcc: 4.3.4, 4.4.3-r2 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6b virtual/os-headers: 2.6.30-r1 ACCEPT_KEYWORDS=amd64 ACCEPT_LICENSE=* -...@eula CBUILD=x86_64-pc-linux-gnu CFLAGS=-O2 -pipe CHOST=x86_64-pc-linux-gnu CONFIG_PROTECT=/etc /usr/share/X11/xkb /usr/share/config /var/lib/hsqldb CONFIG_PROTECT_MASK=/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c CXXFLAGS=-O2 -pipe DISTDIR=/usr/portage/distfiles FEATURES=assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch GENTOO_MIRRORS=ftp://ftp.ds.karen.hj.se/gentoo/ http://ftp.ds.karen.hj.se/gentoo/ http://mirror.switch.ch/ftp/mirror/gentoo/ ftp://mirror.switch.ch/mirror/gentoo/; LDFLAGS=-Wl,-O1 MAKEOPTS=-j2 PKGDIR=/usr/portage/packages PORTAGE_CONFIGROOT=/ PORTAGE_RSYNC_OPTS=--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages PORTAGE_TMPDIR=/var/tmp PORTDIR=/usr/portage SYNC=rsync://rsync.fi.gentoo.org/gentoo-portage USE=X X509 a52 aac acl acpi aften aio akonadi alsa amd64 amr api archive asf aspell ass async audacious audio audiofile automount bash-completion berkdb binary-drivers bittorrent bzip2 cdda cddax cddb cdparanoia cdr cdrom cg chm classic cleartype cli consolekit cracklib crypt css cuda cups curl cursors cxx desktopglobe devfs-compat dga dia dirac disk-partition dmraid doc docbook downloadorder dri dvd dvdnav dvdr dxr3 dxr3-audio-denoise encode esd exif expat extra-tools fat ffmpeg firefox firefox3 flac fortran ftp fuse fusion gallium games gdbm gecko gpm gs gzip hal handbook hpcups hpijs html htmlsingle hvm icons iconv id3 id3tag imagemagick inkjar inotify ipv6 java javascript jpeg jpeg2k kate kdcraw kde kdecards kdm kerberos kipi kontact lame ldb libnotify libtiger lm_sensors logrotate lua lua-cairo lzma lzo mad matroska md md5 md5sum mdadm metric mime mixer mjpeg mmx mmxext mng modules motif mozilla mp3 mp3tunes mp4 mpeg mplayer mtp mudflap multilib multiprocess multiuser