Re: [gentoo-user] usb HD cannot boot without initramfs
On Sat, Dec 19, 2009 at 1:59 AM, Kyle Bader wrote: > Is it rootdelay or scandelay? rootdelay according to the stuff I found online. It's a delay to the mounting of the root file-system. And regarding 30s, I picked that on the basis of better too long than too short. I had similar problems at one point, and found anything less than 10 was unreliable, and even at 10 it would occasionally fail.
Re: [gentoo-user] Blocks with xz-utils lzma-utils
Neil Bothwick wrote: On Fri, 18 Dec 2009 16:35:20 -0600, Dale wrote: I may just go back to a more stable setup. Like the standard KDE 4 in portage? Which doesn't do what I need for it to be usable? Like? I only switched to 4 recently, but I'm quite happy with it in the main. Already been discussed here and on the KDE list as well. Oh well. I just wish they had supported KDE 3 longer cause KDE 4 is just not ready for what I do. I get a screen full of crap about KDE 3 being masked when updating too. Sort of bugs me. Add the kde-sunset overlay and all that will disappear. KDE3 still works on Gentoo, it's just not supported in portage any more. I already have kde-sunset and I still get those messages. I don't know if it is because it is leaving portage or if it is even being removed from kde-sunset. I just know I get them and it increases each time I sync. You need to add stuff to package.unmask. AFAIR the overlay contains a file that you can copy/symlink there. The messages should go away in due course anyway, once KDE3 is actually removed from portage rather than being there but masked. I know this, KDE has left a really bad taste in my mouth with how they handled this release. They should have supported KDE 3 until KDE-4.5, or at least KDE 4.4 was out and stable. Right now, I can't go a day in KDE 4. I'm always running into something that doesn't "work" yet. I used to think that, but soon realised it does work, just slightly differently. There are still some really annoying "features" though. But if the Gentoo KDE team don't want to support it, that's there choice. If you don't like it, you can always ask for your money back ;-) I do understand that it works differently. I got that part. As mentioned above, I went through the issues on the KDE mailing list and the things I need are not functional yet. They will be later on but they are not right now. They do however work in KDE 3. That's why I am having to keep it around. Dale :-) :-)
Re: [gentoo-user] usb HD cannot boot without initramfs
Is it rootdelay or scandelay? On 12/18/09, Robert Bridge wrote: > Try passing a rootdelay option to the kernel to allow the kernels USB > probe to complete before it tries to mount the USB device. > > e.g. kernel /boot/kernel root=/dev/usbhdd rootdelay=30 in grub > > -- Sent from my mobile device Kyle
Re: [gentoo-user] {OT} Preparing a laptop for sale
> dd if=/dev/zero of=/dev/sda (or what ever) > After reading over all the info here, I think I'm going to go with dd since the data isn't too sensitive. I created a "9.1_Live_x64" USB key with unetbootin, but the laptop won't boot to it. I have another 512MB USB key that it boots to just fine. Could my 8GB key be non-bootable? The laptop's CD drive isn't working so I need another way to install an easy copy of Linux after I dd. - Grant >>> >>> I've dealt with many systems that flatly refuse to boot from *some* >>> usb keys but not from others.. and some even vary based on what's >>> being booted into on those usb keys. >>> >> >> I used unetbootin to install Damn Small Linux on the 512MB bootable >> USB key, and I'm booted into it. /dev/sda is my HD, and I'm running: >> >> dd if=/dev/zero of=/dev/sda >> >> The USB LED is blinking rapidly, but the HD LED is showing no >> activity. Is there any way to tell if the HD is being wiped? >> > > The hdd IS being wiped, if you have the right device (which you do, don't > worry!). However, I would recommend running with if=/dev/urandom as that > will overwrite it with random bits instead of just zero. However, since it's > already being done with zeros and a hard drive would usually be sold with > all bits set to zero, I think what you are doing will be fine. > > Marcus I checked on it after a few hours and it said "No space left on device" and the process had exited. I rebooted the system without the key inserted and unfortunately it came back up to the normal HD so nothing has been wiped. Any idea what I did wrong? - Grant
Re: [gentoo-user] usb HD cannot boot without initramfs
On 12/18/2009 7:39 PM, Robert Bridge wrote: Try passing a rootdelay option to the kernel to allow the kernels USB probe to complete before it tries to mount the USB device. e.g. kernel /boot/kernel root=/dev/usbhdd rootdelay=30 in grub 30 seconds is a bit much, IMHO. USB probes in my experience never take more than 5. Marcus
Re: [gentoo-user] {OT} Preparing a laptop for sale
On 12/18/2009 6:05 PM, Grant wrote: dd if=/dev/zero of=/dev/sda (or what ever) After reading over all the info here, I think I'm going to go with dd since the data isn't too sensitive. I created a "9.1_Live_x64" USB key with unetbootin, but the laptop won't boot to it. I have another 512MB USB key that it boots to just fine. Could my 8GB key be non-bootable? The laptop's CD drive isn't working so I need another way to install an easy copy of Linux after I dd. - Grant I've dealt with many systems that flatly refuse to boot from *some* usb keys but not from others.. and some even vary based on what's being booted into on those usb keys. I used unetbootin to install Damn Small Linux on the 512MB bootable USB key, and I'm booted into it. /dev/sda is my HD, and I'm running: dd if=/dev/zero of=/dev/sda The USB LED is blinking rapidly, but the HD LED is showing no activity. Is there any way to tell if the HD is being wiped? The hdd IS being wiped, if you have the right device (which you do, don't worry!). However, I would recommend running with if=/dev/urandom as that will overwrite it with random bits instead of just zero. However, since it's already being done with zeros and a hard drive would usually be sold with all bits set to zero, I think what you are doing will be fine. Marcus
Re: [gentoo-user] Blocks with xz-utils lzma-utils
On Fri, 18 Dec 2009 16:35:20 -0600, Dale wrote: > >> I may just go back to a more stable setup. > >> > > > > Like the standard KDE 4 in portage? > > > > Which doesn't do what I need for it to be usable? Like? I only switched to 4 recently, but I'm quite happy with it in the main. > >> Oh well. I just wish they had supported KDE 3 longer cause KDE 4 is > >> just not ready for what I do. I get a screen full of crap about KDE > >> 3 being masked when updating too. Sort of bugs me. > >> > > > > Add the kde-sunset overlay and all that will disappear. KDE3 still > > works on Gentoo, it's just not supported in portage any more. > > > > I already have kde-sunset and I still get those messages. I don't know > if it is because it is leaving portage or if it is even being removed > from kde-sunset. I just know I get them and it increases each time I > sync. You need to add stuff to package.unmask. AFAIR the overlay contains a file that you can copy/symlink there. The messages should go away in due course anyway, once KDE3 is actually removed from portage rather than being there but masked. > I know this, KDE has left a really bad taste in my mouth with how they > handled this release. They should have supported KDE 3 until KDE-4.5, > or at least KDE 4.4 was out and stable. Right now, I can't go a day in > KDE 4. I'm always running into something that doesn't "work" yet. I used to think that, but soon realised it does work, just slightly differently. There are still some really annoying "features" though. But if the Gentoo KDE team don't want to support it, that's there choice. If you don't like it, you can always ask for your money back ;-) -- Neil Bothwick "This project is so important, we can't let things that are more important interfere with it." signature.asc Description: PGP signature
Re: [gentoo-user] usb HD cannot boot without initramfs
Try passing a rootdelay option to the kernel to allow the kernels USB probe to complete before it tries to mount the USB device. e.g. kernel /boot/kernel root=/dev/usbhdd rootdelay=30 in grub
Re: [gentoo-user] {OT} Preparing a laptop for sale
On Fri, 2009-12-18 at 15:05 -0800, Grant wrote: > I used unetbootin to install Damn Small Linux on the 512MB bootable > USB key, and I'm booted into it. /dev/sda is my HD, and I'm running: > > dd if=/dev/zero of=/dev/sda > > The USB LED is blinking rapidly, but the HD LED is showing no > activity. Is there any way to tell if the HD is being wiped? > > I hate to say this, but are you wiping the wrong device?! There should be pretty much 0 activity on the USD stick (/dev/zero is kernel) and plenty of writes to the HDD.
Re: [gentoo-user] usb HD cannot boot without initramfs
Scsi support maybe? On 12/17/09, Bruce Hill wrote: > On Fri, Dec 18, 2009 at 09:14:48AM +0800, Xi Shen wrote: >> ok. but it looks like the gmail web client encourage top post ;) > > That doesn't make it easy to read. This is how we see it when you top-post: > > A: Because you are doing it wrong. > >> >> On Thu, Dec 17, 2009 at 4:01 PM, Alan McKinnon >> >> >> >> wrote: > > then you didn't trim other junk that is irrelevant. > > Q. Why is my mouse eating all the cheese when I configured it "no cheese"? > >> i compiled the uhci and ehci into the kernel. i need to double check >> the usb_storage thing. maybe this is the thing i missed. > > UHCI is for Intel and VIA ... OHCI for others (these are both USB 1.0{1} > EHCI is for all USB 2.0 > > Make sure you have the correct UHCI/OHCI ... you only need one of those. > -- > "Experience is a hard teacher because she gives the test first, the > lesson afterward. But properly learned, the lesson forever changes > the man." > > -- Sent from my mobile device Kyle
Re: [gentoo-user] {OT} Preparing a laptop for sale
Grant wrote: dd if=/dev/zero of=/dev/sda (or what ever) After reading over all the info here, I think I'm going to go with dd since the data isn't too sensitive. I created a "9.1_Live_x64" USB key with unetbootin, but the laptop won't boot to it. I have another 512MB USB key that it boots to just fine. Could my 8GB key be non-bootable? The laptop's CD drive isn't working so I need another way to install an easy copy of Linux after I dd. - Grant I've dealt with many systems that flatly refuse to boot from *some* usb keys but not from others.. and some even vary based on what's being booted into on those usb keys. I used unetbootin to install Damn Small Linux on the 512MB bootable USB key, and I'm booted into it. /dev/sda is my HD, and I'm running: dd if=/dev/zero of=/dev/sda The USB LED is blinking rapidly, but the HD LED is showing no activity. Is there any way to tell if the HD is being wiped? - Grant Someone may correct me but I don't think it will blink since it is not mounted. On the other hand, you sure you are erasing the hard drive and not the USB thingy? I ask cause it sounds like something I would do. I recently erased /home instead of the /backup/home. lol Small typo there. Dale :-) :-)
[gentoo-user] Selecting "Shut Down" from the gnome menu sometimes shuts down the computer and other times just logs out.
I am currently using 64-Bit Gentoo and when shut down is selected from the menu in gnome, sometimes the computer flickers to the login screen then shuts down, other times it just shuts down. Why is it behaving like this and how do I fix it? Thanks, Ubiquitous1980
Re: [gentoo-user] fstab and cdrom question
I'm on the train so its hard to check the man pages but can't you use udevtrigger or a similar tool so rebooting isn't required? On 12/17/09, Nikos Chantziaras wrote: > On 12/17/2009 08:42 PM, Denis wrote: >> Hello folks, >> >> Quick question. >> >> My main HD is SATA and gets /dev/sda in fstab. My CDROM, which is the >> only device on the IDE bus, seems to be /dev/hda. That's what >> Audacious declared when it was looking for a CD to play. I had CDROM >> device forced to /dev/cdrom in Audacious, unwittingly, before and was >> wondering why my CDs were not playing! However, my fstab is still >> "/dev/cdrom /mnt/cdrom autonoauto,user >>0 0" - so should I switch this to /dev/hda instead of /dev/cdrom? >> If so, should some link be made to /dev/cdrom, if other programs may >> be querying /dev/cdrom for the sake of Linux standard convention, or >> is /dev/cdrom already a link, which was broken in my case? >> >> Thank you, >> Denis > > You don't need an fstab entry at all. These days, when you insert a CD, > it will get mounted automatically and appear in /media, just like USB > storage devices. > > > -- Sent from my mobile device Kyle
Re: [gentoo-user] {OT} Preparing a laptop for sale
>>> dd if=/dev/zero of=/dev/sda (or what ever) >> >> After reading over all the info here, I think I'm going to go with dd >> since the data isn't too sensitive. >> >> I created a "9.1_Live_x64" USB key with unetbootin, but the laptop >> won't boot to it. I have another 512MB USB key that it boots to just >> fine. Could my 8GB key be non-bootable? The laptop's CD drive isn't >> working so I need another way to install an easy copy of Linux after I >> dd. >> >> - Grant > > I've dealt with many systems that flatly refuse to boot from *some* > usb keys but not from others.. and some even vary based on what's > being booted into on those usb keys. I used unetbootin to install Damn Small Linux on the 512MB bootable USB key, and I'm booted into it. /dev/sda is my HD, and I'm running: dd if=/dev/zero of=/dev/sda The USB LED is blinking rapidly, but the HD LED is showing no activity. Is there any way to tell if the HD is being wiped? - Grant
Re: [gentoo-user] High load, idle CPU?
Ps auxr On 12/18/09, Paul Hartman wrote: > On Fri, Dec 18, 2009 at 1:38 PM, Florian Philipp > wrote: >> Hi list! >> >> My virtual server seems to have a problem and I don't know how to find it. >> >> Today, while trying to create a new postgresql database I noticed that >> certain system operations seem to take ages. Normal work on the shell >> works just fine but for example accessing the postgresql server through >> psql, restarting tomcat, postgresql or zope all show the very same >> behavior: >> Execution freezes, the load average climbs to 1-1.9 and after a few >> minutes (maybe longer) the task finishes correctly. During all this >> time, top reports that the CPUs are 100% idle. >> >> Other services, for example rsyncd or openvpn, work normally. I also >> tried restarting the VM. Shutdown took maybe 10 or 15 minutes. Booting >> was much faster with only a few minutes until all services were up and >> running. However, it didn't solve the problem. >> >> So, my question is: How can I find out what is causing this? Can I >> somehow trace it? Find out why a process waits? > > top, iotop, latencytop, powertop > > -- Sent from my mobile device Kyle
Re: [gentoo-user] Blocks with xz-utils lzma-utils
Neil Bothwick wrote: On Fri, 18 Dec 2009 10:44:41 -0600, Dale wrote: How did this end up in the lzma/xz thread? Well, this ain't working as well as I would like. I'm getting a lot of failures. Something like this: * subversion check out start --> * repository: svn://anonsvn.kde.org/home/kde/trunk/KDE/kdesdk svn: Network connection closed unexpectedly * ERROR: kde-base/kate- failed: * subversion: can't fetch to /usr/portage/distfiles/svn-src/kdesdk/kdesdk from svn://anonsvn.kde.org/home/kde/trunk/KDE/kdesdk. Why are you trying to install the svn version? Well, I was hoping I could get a newer version of KDE 4 that would actually DO something. lol I may just go back to a more stable setup. Like the standard KDE 4 in portage? Which doesn't do what I need for it to be usable? Oh well. I just wish they had supported KDE 3 longer cause KDE 4 is just not ready for what I do. I get a screen full of crap about KDE 3 being masked when updating too. Sort of bugs me. Add the kde-sunset overlay and all that will disappear. KDE3 still works on Gentoo, it's just not supported in portage any more. I already have kde-sunset and I still get those messages. I don't know if it is because it is leaving portage or if it is even being removed from kde-sunset. I just know I get them and it increases each time I sync. I know this, KDE has left a really bad taste in my mouth with how they handled this release. They should have supported KDE 3 until KDE-4.5, or at least KDE 4.4 was out and stable. Right now, I can't go a day in KDE 4. I'm always running into something that doesn't "work" yet. This isn't as bad as hal but it's dang close. Dale :-) :-)
Re: [gentoo-user] gentoo on ssds? intel anyone?
Am 19.11.2009 23:47, schrieb Stefan G. Weichinger: > I am thinking of getting one of those shiny new SSDs for my main > workstation. A status quo followup: Received my Intel Postville 80G G2 today. Copied my gentoo-root-fs to it (mkfs-ext4, then rsync), and my /home as well. It boots and works OK but I have to admit that I am not as impressed as I had imagined to be. The relevant mounts (sdc=ssd, sda & sdb: SATA-hdds, building parts of the LVM-vgs): # mount rootfs on / type rootfs (rw) /dev/sdc1 on / type ext4 (rw,noatime,nodiratime,barrier=1,data=ordered) proc on /proc type proc (rw,relatime) rc-svcdir on /lib64/rc/init.d type tmpfs (rw,nosuid,nodev,noexec,relatime,size=1024k,mode=755) sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime) securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime) udev on /dev type devtmpfs (rw,nosuid,relatime,size=10240k,nr_inodes=1014583) devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620) shm on /dev/shm type tmpfs (rw,nosuid,nodev,noexec,relatime) tmpfs on /tmp type tmpfs (rw,mode=1777) none on /mnt/ramportage type tmpfs (rw,nr_inodes=1M,size=4000m,mode=1777) /dev/mapper/ssd-home on /home type ext4 (rw,noatime) /dev/mapper/VG02-var on /var type ext4 (rw,noatime) /dev/mapper/noraid-src on /usr/src type xfs (rw,noatime) /dev/mapper/noraid-portage on /usr/portage type ext4 (rw,noatime) usbfs on /proc/bus/usb type usbfs (rw,noexec,nosuid,devmode=0664,devgid=85) rpc_pipefs on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw) nfsd on /proc/fs/nfsd type nfsd (rw,noexec,nosuid,nodev) I was too curious at first to have a look for firmware so I did the firmware-update from 02HA to 02HD *after* having copied my root-fs. Could that matter? I am not sure. I am also not so sure about those ext4-parameters. Could anyone comment? Thanks a lot, Stefan
Re: [gentoo-user] High load, idle CPU?
On Fri, Dec 18, 2009 at 2:38 PM, Florian Philipp wrote: > Hi list! > > My virtual server seems to have a problem and I don't know how to find it. > > Today, while trying to create a new postgresql database I noticed that > certain system operations seem to take ages. Normal work on the shell > works just fine but for example accessing the postgresql server through > psql, restarting tomcat, postgresql or zope all show the very same behavior: > Execution freezes, the load average climbs to 1-1.9 and after a few > minutes (maybe longer) the task finishes correctly. During all this > time, top reports that the CPUs are 100% idle. > > Other services, for example rsyncd or openvpn, work normally. I also > tried restarting the VM. Shutdown took maybe 10 or 15 minutes. Booting > was much faster with only a few minutes until all services were up and > running. However, it didn't solve the problem. > > So, my question is: How can I find out what is causing this? Can I > somehow trace it? Find out why a process waits? > > Keep in mind that this is a virtual server. I have no control over the > kernel. Oh, and before you ask: The only recent update was rkhunter from > 1.2.9-r1 to 1.3.4-r2. I also enabled the chkrootkit weekly cronjob. > > Thanks in advance! > Florian Philipp Well... it'll cause a MASS of output to sift through .. but strace is likely the most powerful tool for the job of simply seeing what a process is calling and when (notably, what call is left waiting to return as the whole process blocks). I'd also take a look at iotop, though the fact that top shows the cpu as idle rather than sitting in iowait makes me doubt that iotop would tell you too much. -- Poison [BLX] Joshua M. Murphy
Re: [gentoo-user] Blocks with xz-utils lzma-utils
On Fri, 18 Dec 2009 10:44:41 -0600, Dale wrote: How did this end up in the lzma/xz thread? > Well, this ain't working as well as I would like. I'm getting a lot of > failures. Something like this: > > * subversion check out start --> > * repository: svn://anonsvn.kde.org/home/kde/trunk/KDE/kdesdk > svn: Network connection closed unexpectedly > * ERROR: kde-base/kate- failed: > * subversion: can't fetch to > /usr/portage/distfiles/svn-src/kdesdk/kdesdk from > svn://anonsvn.kde.org/home/kde/trunk/KDE/kdesdk. Why are you trying to install the svn version? > I may just go back to a more stable setup. Like the standard KDE 4 in portage? > Oh well. I just wish they had supported KDE 3 longer cause KDE 4 is > just not ready for what I do. I get a screen full of crap about KDE 3 > being masked when updating too. Sort of bugs me. Add the kde-sunset overlay and all that will disappear. KDE3 still works on Gentoo, it's just not supported in portage any more. -- Neil Bothwick "When you play a Microsoft CD backwards you can hear demonic Voices... that's nothing - when you play it forward it installs Windows" signature.asc Description: PGP signature
Re: [gentoo-user] Re: Trying to make portage use "puf" instead of "wget"
On 12/18/2009 1:38 PM, Nikos Chantziaras wrote: On 12/18/2009 05:40 PM, Ronan Mainbourg wrote: Because my Internet connection is not very fast, I'd like to make portage fetch files using net-misc/puf (wich can dl several chunks of a file at the same time) instead of wget. You got it backwards. Downloading more than one chunk at the same time is only useful on *fast* connections, not *slow* ones. I hate to say it but he is correct...puf won't do you any good unless the speed at which to file is being downloaded is less than the maximum speed for your net connection :( Marcus
Re: [gentoo-user] High load, idle CPU?
On Fri, Dec 18, 2009 at 1:38 PM, Florian Philipp wrote: > Hi list! > > My virtual server seems to have a problem and I don't know how to find it. > > Today, while trying to create a new postgresql database I noticed that > certain system operations seem to take ages. Normal work on the shell > works just fine but for example accessing the postgresql server through > psql, restarting tomcat, postgresql or zope all show the very same behavior: > Execution freezes, the load average climbs to 1-1.9 and after a few > minutes (maybe longer) the task finishes correctly. During all this > time, top reports that the CPUs are 100% idle. > > Other services, for example rsyncd or openvpn, work normally. I also > tried restarting the VM. Shutdown took maybe 10 or 15 minutes. Booting > was much faster with only a few minutes until all services were up and > running. However, it didn't solve the problem. > > So, my question is: How can I find out what is causing this? Can I > somehow trace it? Find out why a process waits? top, iotop, latencytop, powertop
Re: [gentoo-user] {OT} Preparing a laptop for sale
On Fri, 2009-12-18 at 12:20 -0600, Dale wrote: > Wouldn't Knoppix work? I'm pretty sure it has the dd command and I > know > you can install Gentoo from it. Since there are some versions of > Knoppis that would fit on a CD, I would see if one of those would fit > on > the 512Mb thingy. > > Damn Small Linux may be a option too. Not sure about installing from > it > tho. I guess the network and stuff would work from it. > > Just some thoughts. > > Dale I recommend RipLinux. It's easy to install on a stick and you don't even need to reformat/remove what's already on it. And it fits snug in a 100MB directory. It also makes for a great "rescue" partition on your HDD.
Re: [gentoo-user] {OT} Preparing a laptop for sale
On Fri, 2009-12-18 at 09:08 -0800, Grant wrote: > > After reading over all the info here, I think I'm going to go with dd > since the data isn't too sensitive. > > I created a "9.1_Live_x64" USB key with unetbootin, but the laptop > won't boot to it. I have another 512MB USB key that it boots to just > fine. Could my 8GB key be non-bootable? The laptop's CD drive isn't > working so I need another way to install an easy copy of Linux after I > dd. They should appear the same.. I'm guessing this is a hardware/BIOS issue. I have different sized USB sticks and drives they boot fine. Maybe your BIOS has a 2G boot partition limitation (or whatever the size is)? You may need to "partition" your 8G stick LOL.
[gentoo-user] High load, idle CPU?
Hi list! My virtual server seems to have a problem and I don't know how to find it. Today, while trying to create a new postgresql database I noticed that certain system operations seem to take ages. Normal work on the shell works just fine but for example accessing the postgresql server through psql, restarting tomcat, postgresql or zope all show the very same behavior: Execution freezes, the load average climbs to 1-1.9 and after a few minutes (maybe longer) the task finishes correctly. During all this time, top reports that the CPUs are 100% idle. Other services, for example rsyncd or openvpn, work normally. I also tried restarting the VM. Shutdown took maybe 10 or 15 minutes. Booting was much faster with only a few minutes until all services were up and running. However, it didn't solve the problem. So, my question is: How can I find out what is causing this? Can I somehow trace it? Find out why a process waits? Keep in mind that this is a virtual server. I have no control over the kernel. Oh, and before you ask: The only recent update was rkhunter from 1.2.9-r1 to 1.3.4-r2. I also enabled the chkrootkit weekly cronjob. Thanks in advance! Florian Philipp signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] Blocks with xz-utils lzma-utils
Well, this ain't working as well as I would like. I'm getting a lot of failures. Something like this: * subversion check out start --> * repository: svn://anonsvn.kde.org/home/kde/trunk/KDE/kdesdk svn: Network connection closed unexpectedly * ERROR: kde-base/kate- failed: * subversion: can't fetch to /usr/portage/distfiles/svn-src/kdesdk/kdesdk from svn://anonsvn.kde.org/home/kde/trunk/KDE/kdesdk. I may just go back to a more stable setup. My network is working fine for everything else. It's not just this one package, it is several of them. Oh well. I just wish they had supported KDE 3 longer cause KDE 4 is just not ready for what I do. I get a screen full of crap about KDE 3 being masked when updating too. Sort of bugs me. Dale :-) :-) Just in case someone is searching and runs up on this, I figured out where the problem was. It helps if /usr/portage is not 100% full. So, if you see that error, clean out some cruft in /usr/portage and carry on. Then again, maybe not. It made it further but still failed with a completely different error tho. This time with some space left. No clue on the problem now. Maybe time for a new thread? Dale :-) :-)
Re: [gentoo-user] Trying to make portage use "puf" instead of "wget"
On Fri, Dec 18, 2009 at 9:40 AM, Ronan Mainbourg wrote: > Because my Internet connection is not very fast, I'd like to make portage > fetch files using net-misc/puf (wich can dl several chunks of a file at the > same time) instead of wget. > I tried to do this setting the parameter FETCHCOMMAND in my make.conf, but > it doesn't work: > > FETCHCOMMAND="/usr/bin/puf \${URI} -P \${DISTDIR}/\${FILE}" > > ... Give me when I try emerging a package (here"media-libs/libdvbpsi" for > instance): > !!! Couldn't download 'libdvbpsi5-0.1.6.tar.bz2'. Aborting. > > > Any Ideas ? I think the syntax should be: FETCHCOMMAND="/usr/bin/puf \${URI} -P \${DISTDIR} -O \${FILE}" That works for me if I run emerge as normal user. If I run as root, it crashes... weird.
[gentoo-user] Re: Trying to make portage use "puf" instead of "wget"
On 12/18/2009 05:40 PM, Ronan Mainbourg wrote: Because my Internet connection is not very fast, I'd like to make portage fetch files using net-misc/puf (wich can dl several chunks of a file at the same time) instead of wget. You got it backwards. Downloading more than one chunk at the same time is only useful on *fast* connections, not *slow* ones.
Re: [gentoo-user] {OT} Preparing a laptop for sale
>>> dd if=/dev/zero of=/dev/sda (or what ever) >>> >> >> After reading over all the info here, I think I'm going to go with dd >> since the data isn't too sensitive. >> >> I created a "9.1_Live_x64" USB key with unetbootin, but the laptop >> won't boot to it. I have another 512MB USB key that it boots to just >> fine. Could my 8GB key be non-bootable? The laptop's CD drive isn't >> working so I need another way to install an easy copy of Linux after I >> dd. >> >> - Grant >> >> > > Wouldn't Knoppix work? I'm pretty sure it has the dd command and I know you > can install Gentoo from it. Since there are some versions of Knoppis that > would fit on a CD, I would see if one of those would fit on the 512Mb > thingy. I really don't want to go through the entire Gentoo installation just to ship this thing off. I'm looking for something along the lines of click, click click So you think there could be a non-software (hardware? firmware?) difference between the two USB keys that allows one to be booted from and not the other? - Grant > Damn Small Linux may be a option too. Not sure about installing from it > tho. I guess the network and stuff would work from it. > > Just some thoughts. > > Dale
Re: [gentoo-user] {OT} Preparing a laptop for sale
On Fri, Dec 18, 2009 at 12:08 PM, Grant wrote: >> dd if=/dev/zero of=/dev/sda (or what ever) > > After reading over all the info here, I think I'm going to go with dd > since the data isn't too sensitive. > > I created a "9.1_Live_x64" USB key with unetbootin, but the laptop > won't boot to it. I have another 512MB USB key that it boots to just > fine. Could my 8GB key be non-bootable? The laptop's CD drive isn't > working so I need another way to install an easy copy of Linux after I > dd. > > - Grant I've dealt with many systems that flatly refuse to boot from *some* usb keys but not from others.. and some even vary based on what's being booted into on those usb keys. -- Poison [BLX] Joshua M. Murphy
Re: [gentoo-user] {OT} Preparing a laptop for sale
Grant wrote: dd if=/dev/zero of=/dev/sda (or what ever) After reading over all the info here, I think I'm going to go with dd since the data isn't too sensitive. I created a "9.1_Live_x64" USB key with unetbootin, but the laptop won't boot to it. I have another 512MB USB key that it boots to just fine. Could my 8GB key be non-bootable? The laptop's CD drive isn't working so I need another way to install an easy copy of Linux after I dd. - Grant Wouldn't Knoppix work? I'm pretty sure it has the dd command and I know you can install Gentoo from it. Since there are some versions of Knoppis that would fit on a CD, I would see if one of those would fit on the 512Mb thingy. Damn Small Linux may be a option too. Not sure about installing from it tho. I guess the network and stuff would work from it. Just some thoughts. Dale :-) :-)
Re: [gentoo-user] Trying to make portage use "puf" instead of "wget"
On 12/18/2009 10:40 AM, Ronan Mainbourg wrote: Because my Internet connection is not very fast, I'd like to make portage fetch files using net-misc/puf (wich can dl several chunks of a file at the same time) instead of wget. I tried to do this setting the parameter FETCHCOMMAND in my make.conf, but it doesn't work: FETCHCOMMAND="/usr/bin/puf \${URI} -P \${DISTDIR}/\${FILE}" ... Give me when I try emerging a package (here"media-libs/libdvbpsi" for instance): !!! Couldn't download 'libdvbpsi5-0.1.6.tar.bz2'. Aborting. Any Ideas ? Does it actually download the file but put it in the wrong place? Can you attach a complete log? Marcus
Re: [gentoo-user] Where is my /dev/fd0?
On 12/18/2009 4:32 AM, Neil Bothwick wrote: On Thu, 17 Dec 2009 19:45:31 -0500, Marcus Wanner wrote: For the same reason that support for punched card readers is disabled by default. But they're so useful...and the computer we got a year ago had one. Do things really go obsolete like that after decades of prevalence? Yes, thankfully. Floppy disks have no real place nowadays, they are bulky, unreliable and store very little. If you want support for legacy hardware, it is there at the flick of a (config) switch but enabling by default makes no sense, especially on Gentoo where default tends to mean "starting point" more that "standard configuration". Ok, I guess I'm just a bit behind the times/did not go through my make menuconfig thoroughly enough... Marcus
Re: [gentoo-user] {OT} Preparing a laptop for sale
> dd if=/dev/zero of=/dev/sda (or what ever) After reading over all the info here, I think I'm going to go with dd since the data isn't too sensitive. I created a "9.1_Live_x64" USB key with unetbootin, but the laptop won't boot to it. I have another 512MB USB key that it boots to just fine. Could my 8GB key be non-bootable? The laptop's CD drive isn't working so I need another way to install an easy copy of Linux after I dd. - Grant >> I'm about to sell my old laptop and I'd like to wipe out the data and >> install any flavor of Linux via USB (the CD drive doesn't work any >> more). I've got a bootable USB key that will get me into Gentoo. How >> would you take it from there? I'm looking for something quick and >> easy. My data isn't too sensitive, but I'd like to do some type of >> wiping so it isn't all just sitting there with a deleted flag or >> however that works. >> >> - Grant
Re: [gentoo-user] Blocks with xz-utils lzma-utils
Neil Bothwick wrote: On Thu, 17 Dec 2009 15:12:19 -0600, Dale wrote: You are both right. I tried installing a later version on the blockers but not the packages that depended on them. So, I added the following to my package.keyword and package.unmask files: =app-portage/eix-0.18.3 =app-arch/libarchive-2.7.1 Portage is now happy. Every time I think I have figured out portage and these blocker messages, I get thrown a curve ball. lol Ah, the fun of running a mixed arch/~arch system :) BTW ~ is usually better than = in this situation. Well, this ain't working as well as I would like. I'm getting a lot of failures. Something like this: * subversion check out start --> * repository: svn://anonsvn.kde.org/home/kde/trunk/KDE/kdesdk svn: Network connection closed unexpectedly * ERROR: kde-base/kate- failed: * subversion: can't fetch to /usr/portage/distfiles/svn-src/kdesdk/kdesdk from svn://anonsvn.kde.org/home/kde/trunk/KDE/kdesdk. I may just go back to a more stable setup. My network is working fine for everything else. It's not just this one package, it is several of them. Oh well. I just wish they had supported KDE 3 longer cause KDE 4 is just not ready for what I do. I get a screen full of crap about KDE 3 being masked when updating too. Sort of bugs me. Dale :-) :-)
Re: [gentoo-user] Trying to make portage use "puf" instead of "wget"
On Fri, Dec 18, 2009 at 9:40 AM, Ronan Mainbourg wrote: > Because my Internet connection is not very fast, I'd like to make portage > fetch files using net-misc/puf (wich can dl several chunks of a file at the > same time) instead of wget. > I tried to do this setting the parameter FETCHCOMMAND in my make.conf, but > it doesn't work: puf crashes every time for me with this, maybe you have the same problem? *** glibc detected *** puf: double free or corruption (top): 0x0169d730 *** === Backtrace: = /lib/libc.so.6(+0x72406)[0x7f0a980bd406] /lib/libc.so.6(cfree+0x6c)[0x7f0a980c21ac] puf[0x40ec8b] puf[0x40204b] /lib/libc.so.6(__libc_start_main+0xfd)[0x7f0a98069bbd] puf[0x401da9] === Memory map: 0040-00415000 r-xp 08:05 5292661 /usr/bin/puf 00614000-00615000 r--p 00014000 08:05 5292661 /usr/bin/puf 00615000-00616000 rw-p 00015000 08:05 5292661 /usr/bin/puf 0169d000-016be000 rw-p 00:00 0 [heap] 7f0a93de9000-7f0a93dff000 r-xp 08:05 5145230 /lib64/libgcc_s.so.1 7f0a93dff000-7f0a93ffe000 ---p 00016000 08:05 5145230 /lib64/libgcc_s.so.1 7f0a93ffe000-7f0a93fff000 r--p 00015000 08:05 5145230 /lib64/libgcc_s.so.1 7f0a93fff000-7f0a9400 rw-p 00016000 08:05 5145230 /lib64/libgcc_s.so.1 7f0a9400-7f0a94021000 rw-p 00:00 0 7f0a94021000-7f0a9800 ---p 00:00 0 7f0a9804b000-7f0a9819b000 r-xp 08:05 4260926 /lib64/libc-2.11.so 7f0a9819b000-7f0a9839a000 ---p 0015 08:05 4260926 /lib64/libc-2.11.so 7f0a9839a000-7f0a9839e000 r--p 0014f000 08:05 4260926 /lib64/libc-2.11.so 7f0a9839e000-7f0a9839f000 rw-p 00153000 08:05 4260926 /lib64/libc-2.11.so 7f0a9839f000-7f0a983a4000 rw-p 00:00 0 7f0a983a4000-7f0a983c2000 r-xp 08:05 4260927 /lib64/ld-2.11.so 7f0a98585000-7f0a98588000 rw-p 00:00 0 7f0a985bf000-7f0a985c1000 rw-p 00:00 0 7f0a985c1000-7f0a985c2000 r--p 0001d000 08:05 4260927 /lib64/ld-2.11.so 7f0a985c2000-7f0a985c3000 rw-p 0001e000 08:05 4260927 /lib64/ld-2.11.so 7f0a985c3000-7f0a985c4000 rw-p 00:00 0 75929000-75941000 rw-p 00:00 0 [stack] 759ff000-75a0 r-xp 00:00 0 [vdso] ff60-ff601000 r-xp 00:00 0 [vsyscall]
Re: [gentoo-user] Blocks with xz-utils lzma-utils
On Fri, Dec 18, 2009 at 3:12 AM, Helmut Jarausch wrote: > I had a similar problem since I wanted to use the -J option of tar > (telling it to use the xz compressor) There's also a --use-compress-prog switch for tar so you can make it use any program you like. (unless that's a new option too?)
[gentoo-user] Trying to make portage use "puf" instead of "wget"
Because my Internet connection is not very fast, I'd like to make portage fetch files using net-misc/puf (wich can dl several chunks of a file at the same time) instead of wget. I tried to do this setting the parameter FETCHCOMMAND in my make.conf, but it doesn't work: FETCHCOMMAND="/usr/bin/puf \${URI} -P \${DISTDIR}/\${FILE}" ... Give me when I try emerging a package (here"media-libs/libdvbpsi" for instance): !!! Couldn't download 'libdvbpsi5-0.1.6.tar.bz2'. Aborting. Any Ideas ? -- Ronan Mainbourg Sent from Tananarive, Madagascar
Re: [gentoo-user] Where is my /dev/fd0?
On Thu, 17 Dec 2009 19:45:31 -0500, Marcus Wanner wrote: > > For the same reason that support for punched card readers is disabled > > by default. > > > But they're so useful...and the computer we got a year ago had one. Do > things really go obsolete like that after decades of prevalence? Yes, thankfully. Floppy disks have no real place nowadays, they are bulky, unreliable and store very little. If you want support for legacy hardware, it is there at the flick of a (config) switch but enabling by default makes no sense, especially on Gentoo where default tends to mean "starting point" more that "standard configuration". -- Neil Bothwick When there's a will, I want to be in it. signature.asc Description: PGP signature
Re: [gentoo-user] Blocks with xz-utils lzma-utils
On 17 Dec, Dale wrote: > I'm trying to get KDE 4 where I can use it so I used the layman to get > the latest. Anyway, I seem to have ran into a Block, may not be related > to KDE4 tho, that I just can't make sense of. This is the error I get: > > [blocks b ] kde-base/kde-meta:4.3[-kdeprefix] > ("kde-base/kde-meta:4.3[-kdeprefix]" is blocking kde-base/kde-meta-) > [blocks B ] app-arch/lzma-utils ("app-arch/lzma-utils" is blocking > app-arch/xz-utils-) > [blocks B ] app-arch/xz-utils ("app-arch/xz-utils" is blocking > app-arch/lzma-utils-4.32.7) > > Total: 278 packages (17 upgrades, 19 new, 242 in new slots, 248 > uninstalls), Size of downloads: 240,422 kB > Conflict: 511 blocks (2 unsatisfied) > Portage tree and overlays: > [0] /usr/portage > [1] /usr/local/portage/layman/kde > > * Error: The above package list contains packages which cannot be > * installed at the same time on the same system. > > ('ebuild', '/', 'app-arch/xz-utils-', 'merge') pulled in by > app-arch/xz-utils required by ('installed', '/', > 'app-arch/rpm2targz-9.0.0.3g', 'nomerge') > app-arch/xz-utils required by ('installed', '/', > 'sys-libs/gpm-1.20.5', 'nomerge') > app-arch/xz-utils required by ('installed', '/', > 'dev-libs/mpfr-2.4.1_p1', 'nomerge') > (and 10 more) > > ('ebuild', '/', 'app-arch/lzma-utils-4.32.7', 'merge') pulled in by > app-arch/lzma-utils required by ('installed', '/', > 'app-portage/eix-0.17.0', 'nomerge') > app-arch/lzma-utils required by ('installed', '/', > 'app-arch/libarchive-2.7.0-r1', 'nomerge') > > > I didn't post the whole thing but the part about the Blocks with a > capital B. I have unmerged both lzma-utils and xz-utils but I still get > this error. How can they block it when they are not installed yet? I'm > missing something here. I just don't see it. > > I found a thread on the forums and did what it said but I still get > this. It said to unmerge xz-utils which I did. Then I unmerged > lzma-utils for good measure. > > Someone tell me the trick to this? Thanks. > > Dale I had a similar problem since I wanted to use the -J option of tar (telling it to use the xz compressor) Someone replied to my bug report that once app-arch/xz-utils becomes stable it will replace lzma-utils. But I needed both now. So, I installed app-arch/xz-utils outside of portage with the prefix /usr/local. Then I told portage about it by echo "app-arch/xz-utils-" > /etc/portage/profile/package.provided That works. Helmut. -- Helmut Jarausch Lehrstuhl fuer Numerische Mathematik RWTH - Aachen University D 52056 Aachen, Germany
Re: [gentoo-user] Re: freeglut fails to compile because X11/extensions/XInput.h not found
Alan McKinnon wrote: > On Friday 18 December 2009 04:28:32 walt wrote: > > On 12/17/2009 02:17 PM, Alan McKinnon wrote: > > > solar flares > > > cosmic rays > > > a quantum level event > > > leprechauns > > > tooth fairies > > > jubbjubb monsters > > > > Single malt, I hope? ;o) > > > > Sadly, no. I come from a long line of fine single malt liqueur makers but > can't imbibe the stuff (it makes me wickedly ill even in small doses) In small doses its great, but I can't do too much of it either -- I save it for Robert Burnsbirthday which is always quite fun. -- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici cov...@ccs.covici.com