Re: [gentoo-user] P55 Chipset Support
Jason Carson wrote: Hello everyone, I am considering upgrading to a 64 bit CPU but haven't decided on what I am going to buy. One of the motherboards I am looking at has a P55 chipset so my question is will the P55 chipset work with Gentoo? If so where in menuconfig do I configure this? Thanks How about a link to the mobo. I been googling but p55 is also a network card or something. Sort of hard to weed them out. Dale :-) :-) It's the ASRock P55 Deluxe... http://www.asrock.com/MB/overview.asp?Model=P55%20Deluxe
Re: [gentoo-user] Keyboard not working as user, works as root (kde)
On Monday 23 November 2009 00:31:41 Zeerak Waseem wrote: Do you have consolekit in USE? If so, is it configured properly? There's an elog about it, it displays when you emerge the relevant X package I do have consolekit as a useflag (default on profile it seems), but I'm not sure where to configure it, and what will a working configuration look like? Actually, consolekit is the worng thing (I was confused with other mails elsewhere). Your problem is probably hal related. You have two options: - read the masses of info already on the intartubes discoverable via Google - listen to Dale when he invariably chips in about hal. -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] ~amd64 : X11 (?) crashing
Alan McKinnon schrieb: nvidia-driver and multi-monitors will NOT work with USE=-xinerama TwinView uses the xinerama protocol to do it's stuff, it doesn't mean it uses the xinerama app to render onto large screens composed of multiple monitors So you have xinerama in make.conf, correct? Right now I rebooted without xinerama, looks a bit different, but works ... but I prefer the other way. S
Re: [gentoo-user] P55 Chipset Support
Jason Carson wrote: Jason Carson wrote: Hello everyone, I am considering upgrading to a 64 bit CPU but haven't decided on what I am going to buy. One of the motherboards I am looking at has a P55 chipset so my question is will the P55 chipset work with Gentoo? If so where in menuconfig do I configure this? Thanks How about a link to the mobo. I been googling but p55 is also a network card or something. Sort of hard to weed them out. Dale :-) :-) It's the ASRock P55 Deluxe... http://www.asrock.com/MB/overview.asp?Model=P55%20Deluxe I found this so far. http://www.phoronix.com/scan.php?page=articleitem=intel_p55num=4 It appears to work. Still looking for the drivers tho. I have never had a Intel that I know of. Sort of poking in the dark here. Since it appears to be working, it may be that you will have to boot the CD and do a lspci -k to see what the CD is using. Dale :-) :-)
Re: [gentoo-user] P55 Chipset Support
I have never tried P55 before, however, I have no problem with P35, P45, and X58. I believe Gentoo should work with P55 without any problem. When using make menuconfig you need to configure network interface, SATA, and IDE drivers correctly for the hardware specifications obtained from lspci command. Hung Jason Carson wrote: Jason Carson wrote: Hello everyone, I am considering upgrading to a 64 bit CPU but haven't decided on what I am going to buy. One of the motherboards I am looking at has a P55 chipset so my question is will the P55 chipset work with Gentoo? If so where in menuconfig do I configure this? Thanks How about a link to the mobo. I been googling but p55 is also a network card or something. Sort of hard to weed them out. Dale :-) :-) It's the ASRock P55 Deluxe... http://www.asrock.com/MB/overview.asp?Model=P55%20Deluxe
Re: [gentoo-user] Keyboard not working as user, works as root (kde)
Alan McKinnon wrote: On Monday 23 November 2009 00:31:41 Zeerak Waseem wrote: Do you have consolekit in USE? If so, is it configured properly? There's an elog about it, it displays when you emerge the relevant X package I do have consolekit as a useflag (default on profile it seems), but I'm not sure where to configure it, and what will a working configuration look like? Actually, consolekit is the worng thing (I was confused with other mails elsewhere). Your problem is probably hal related. You have two options: - read the masses of info already on the intartubes discoverable via Google - listen to Dale when he invariably chips in about hal. Say what? Me, chip in on hal? I want to bury the thing. Phooey on chipping in. If it is hal, put this in package.use x11-base/xorg-server -hal After that, re-emerge xorg-server and it's little friends if needed. Make sure you still have your old faithful xorg.conf file in place. Restart X and hope it is working again. To think I would chip in on hal. Phh! lol Dale :-) :-)
Re: [gentoo-user] ~amd64 : X11 (?) crashing
On Monday 23 November 2009 09:20:32 Stefan G. Weichinger wrote: Alan McKinnon schrieb: nvidia-driver and multi-monitors will NOT work with USE=- xinerama TwinView uses the xinerama protocol to do it's stuff, it doesn't mean it uses the xinerama app to render onto large screens composed of multiple monitors So you have xinerama in make.conf, correct? Right now I rebooted without xinerama, looks a bit different, but works ... but I prefer the other way. You are misunderstanding. There are two things with the name xinerama - one is an X protocol to allow multiple screens to chat with each other, the other is a chunk off code to do it. nvidia-drivers uses the former. When you say I rebooted without xinerama you are trying to do the latter (I have no ide how you would do that, but still). So. Do not run xinerama. Do put xinerama in USE. -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] ~amd64 : X11 (?) crashing
Alan McKinnon schrieb: You are misunderstanding. There are two things with the name xinerama - one is an X protocol to allow multiple screens to chat with each other, the other is a chunk off code to do it. nvidia-drivers uses the former. When you say I rebooted without xinerama you are trying to do the latter (I have no ide how you would do that, but still). I meant: I rebooted after re-emerging every relevant pkg with USE=-xinerama So that no pkg with enabled useflag xinerama would be active. So. Do not run xinerama. Do put xinerama in USE. I do now, as I always did before the strange crashes happened. I rebuilt the relevant pkgs with xinerama in USE, yep. Since then no crashes, but I would have to test clicking some more stuff to really believe ... Thanks, Stefan
Re: [gentoo-user] configuring wlan0
2009/11/20 Mick michaelkintz...@gmail.com: On Wednesday 18 November 2009 23:38:22 Michael P. Soulier wrote: On 18/11/09 Mick said: I don't think that there bugs in conf.d/net just a matter of preference. Alan suggested that wicd is a simpler way to have your wireless configured and it does not need /etc/init.d/*net scripts to function. I am running wpa_supplicant: modules=( wpa_supplicant ) wpa_supplicant_ath0=-Dwext and it just works??? for my wireless card. You may want to try something like this in your /etc/conf.d/net: sleep_scan_wlan0=1 config_wlan0=( dhcp ) fallback_wlan0=( 192.168.0.5 netmask 255.255.255.0 ) fallback_route_wlan0=( default via 192.168.0.1 ) in case there is a dhcp problem with how the router releases IP address leases. I'm not using dhcp, just a static address. Does your router know this? I'm not being funny, but I had run into a problem sometime in the past where a change in the dhcpcd version caused the router to not read the NIC MAC address correctly. That created a clash with the IP address lease. All I want the damn scripts to do is this modprobe ndiswrapper OK, have you looked in your logs/dmesg? I think that the ndiswrapper has to load first and probe your NIC, before /etc/init.d/net.wlan0 launches. It may pay to keep an eye on the router logs while your machine boots. My line above with sleep_scan_wlan0=1 or say 3 seconds delay may help, if this is the problem. iwconfig wlan0 essid digitaltorque ifconfig wlan0 192.168.0.5 netmask 255.255.255.0 route add default gw 192.168.0.1 After looking at the net.example again maybe I need this modules=( ifconfig iwconfig !wpa_supplicant ) If you have not installed wpa_supplicant you don't need this. Just make sure #modules=( wpa_supplicant ) is commented out. iwconfig is the default anyway. ifconfig or iproute2 will work so I don't think that you need to define that either. Your entries: essid_wlan0=digitaltorque config_wlan0=( 192.168.0.5/24 ) routes_wlan0=( default via 192.168.0.1 ) are correct - so the error is not because of these. Or maybe I should just run an rc.local script. You could use the preup scripts in /etc/conf.d/net, if for some reason the ndiswrapper takes for ever to kick into action. I just noticed that the latest dhcpcd-4.0.15 is playing up when it comes up. It seems that on 3 out of 5 it will time out when my machine boots up. It works fine if I bring it up manually thereafter, or run /etc/init.d/net.eth0 restart. The previous version worked without timing out. This may be related to how dhcpcd interacts with my router - or it could also be related to your problem? I haven't had time to troublshoot it yet. -- Regards, Mick
Re: [gentoo-user] mplayer plugin
2009/11/22 Daniel Pielmeier bil...@gentoo.org: Mick schrieb am 22.11.2009 20:02: On Sunday 22 November 2009 17:27:26 Daniel Pielmeier wrote: Mick schrieb am 22.11.2009 14:48: http://www.amd.com/us- en/assets/content_type/DownloadableAssets/T64X2_animation.wmv Works fine with gecko-mediaplayer and download-helper. Yes, thank you. I've installed it now and it looks neat. Any luck with Apple Trailers? It doesn't ask me where to save the download. I am not able to play the Apple Trailers by clicking at the link to the movie (maybe a problem with the java script popup). When I open the link in a new window I can watch/download with gecko-mediaplayer like normal. Hmm ... I can't. FF fires up gxine for some reason which barfs - it seems to be the default player. Where do I change that? Download-helper seems to have problems though. Here download-helper fetches a medialink file which contains just this: ID_EXIT=EOF -- Regards, Mick
Re: [gentoo-user] ~amd64 : X11 (?) crashing
Stefan G. Weichinger schrieb: Since then no crashes, but I would have to test clicking some more stuff to really believe ... As always, after hitting SEND ... one more crash ...
Re: [gentoo-user] mplayer plugin
On 23 Nov, Mick wrote: 2009/11/22 Daniel Pielmeier bil...@gentoo.org: Mick schrieb am 22.11.2009 20:02: On Sunday 22 November 2009 17:27:26 Daniel Pielmeier wrote: Mick schrieb am 22.11.2009 14:48: http://www.amd.com/us- en/assets/content_type/DownloadableAssets/T64X2_animation.wmv Works fine with gecko-mediaplayer and download-helper. Yes, thank you. I've installed it now and it looks neat. Any luck with Apple Trailers? It doesn't ask me where to save the download. I am not able to play the Apple Trailers by clicking at the link to the movie (maybe a problem with the java script popup). When I open the link in a new window I can watch/download with gecko-mediaplayer like normal. Hmm ... I can't. FF fires up gxine for some reason which barfs - it seems to be the default player. Where do I change that? See http://kb.mozillazine.org/File_types_and_download_actions Helmut. -- Helmut Jarausch Lehrstuhl fuer Numerische Mathematik RWTH - Aachen University D 52056 Aachen, Germany
[gentoo-user] app-text/poppler-utils install fails
Hi, I'm trying to upgrade app-text/poppler-utils (as part of a bigger system upgrade), but it fails. This is what happens
[gentoo-user] app-text/poppler-utils install fails
Hi, I'm trying to upgrade app-text/poppler-utils (as part of a bigger system upgrade), but it fails. This is what happens (I'm using --dl-blocks discard because I think I accidentally added poppler to world previously. I've posted paludis --info app-text/poppler below this output.) bb alexander # paludis -i --dl-blocks discard app-text/poppler-utils Building target list... Building dependency list: ... 40 stepspalu...@1258991779: [WARNING dep_list.ignoring_dependencies] In thread ID '10351': ... In program paludis -i --dl-blocks discard app-text/poppler-utils: ... When performing install action from command line: ... When executing install task: ... When building dependency list: ... When adding PackageDepSpec 'app-text/poppler-utils': ... When adding package 'app-text/poppler-utils-0.10.7:0::gentoo': ... When adding build dependencies as pre dependencies: ... When adding PackageDepSpec '~dev-libs/poppler-0.10.7[abiword?]': ... When adding installed package 'dev-libs/poppler-0.10.7:0::installed': ... When adding run dependencies as post dependencies: ... When adding PackageDepSpec '=dev-libs/libxml2-2.7.2': ... When adding installed package 'dev-libs/libxml2-2.7.3-r2:2::installed': ... When adding run dependencies as post dependencies: ... When adding PackageDepSpec 'dev-lang/python': ... When adding installed package 'dev-lang/python-3.1.1-r1:3.1::installed': ... When adding post dependencies as post dependencies unless under a suggested label: ... When adding PackageDepSpec 'app-admin/python-updater': ... When adding installed package 'app-admin/python-updater-0.7:0::installed': ... When adding run dependencies as post dependencies: ... When adding PackageDepSpec '=sys-apps/portage-2.1.2': ... When adding installed package 'sys-apps/portage-2.1.6.13:0::installed': ... Ignoring run dependencies due to exception 'Error searching for '=app-admin/eselect-news-20071201': no available versions' (paludis::AllMaskedError) 48 stepspalu...@1258991780: [WARNING dep_list.discarding_block] In thread ID '10351': ... In program paludis -i --dl-blocks discard app-text/poppler-utils: ... When performing install action from command line: ... When executing install task: ... When building dependency list: ... When adding PackageDepSpec 'app-text/poppler-utils': ... When adding package 'app-text/poppler-utils-0.10.7:0::gentoo': ... When adding build dependencies as pre dependencies: ... When adding PackageDepSpec '~dev-libs/poppler-0.10.7[abiword?]': ... When adding installed package 'dev-libs/poppler-0.10.7:0::installed': ... When adding run dependencies as post dependencies: ... When checking BlockDepSpec '!app-text/poppler': ... Discarding block '!app-text/poppler' palu...@1258991780: [WARNING dep_list.discarding_block] In thread ID '10351': ... In program paludis -i --dl-blocks discard app-text/poppler-utils: ... When performing install action from command line: ... When executing install task: ... When building dependency list: ... When adding PackageDepSpec 'app-text/poppler-utils': ... When adding package 'app-text/poppler-utils-0.10.7:0::gentoo': ... When adding build dependencies as pre dependencies: ... When adding PackageDepSpec '~dev-libs/poppler-0.10.7[abiword?]': ... When adding installed package 'dev-libs/poppler-0.10.7:0::installed': ... When adding run dependencies as post dependencies: ... When checking BlockDepSpec '!app-text/poppler-bindings': ... Discarding block '!app-text/poppler-bindings' 50 stepspalu...@1258991780: [WARNING dep_list.discarding_block] In thread ID '10351': ... In program paludis -i --dl-blocks discard app-text/poppler-utils: ... When performing install action from command line: ... When executing install task: ... When building dependency list: ... When adding PackageDepSpec 'app-text/poppler-utils': ... When adding package 'app-text/poppler-utils-0.10.7:0::gentoo': ... When adding run dependencies as pre dependencies: ... When checking BlockDepSpec '!app-text/poppler': ... Discarding block '!app-text/poppler' palu...@1258991780: [WARNING dep_list.discarding_block] In thread ID '10351': ... In program paludis -i --dl-blocks discard app-text/poppler-utils: ... When performing install action from command line: ... When executing install task: ... When building dependency list: ... When adding PackageDepSpec 'app-text/poppler-utils': ... When adding package 'app-text/poppler-utils-0.10.7:0::gentoo': ... When adding run dependencies as pre dependencies: ... When checking BlockDepSpec '!app-text/poppler-bindings': ... Discarding block '!app-text/poppler-bindings' palu...@1258991780: [WARNING dep_list.discarding_block] In thread ID '10351': ... In program paludis -i --dl-blocks discard app-text/poppler-utils: ... When performing install action from command line: ... When executing install task: ... When building
Re: [gentoo-user] mplayer plugin
2009/11/23 Helmut Jarausch jarau...@igpm.rwth-aachen.de: On 23 Nov, Mick wrote: 2009/11/22 Daniel Pielmeier bil...@gentoo.org: I am not able to play the Apple Trailers by clicking at the link to the movie (maybe a problem with the java script popup). When I open the link in a new window I can watch/download with gecko-mediaplayer like normal. Hmm ... I can't. FF fires up gxine for some reason which barfs - it seems to be the default player. Where do I change that? See http://kb.mozillazine.org/File_types_and_download_actions Thanks Helmut, Unfortunately it didn't help. I reset the download actions to their defaults, but gxine still tries to run the video URL and fails (no codex). What do you have under: ~/.firefox/plugins/ or ~/.mozilla/plugins/ This is mine: $ ls -la .mozilla/plugins/ total 0 drwxr-xr-x 2 michael users 112 Jan 8 2006 . drwxr-xr-x 6 michael users 176 Dec 27 2008 .. lrwxrwxrwx 1 michael users 29 Mar 26 2006 gxineplugin.so - /usr/lib/gxine/gxineplugin.so lrwxrwxrwx 1 michael users 44 Mar 26 2006 libnpsoplugin.so - /usr/lib/openoffice/program/libnpsoplugin.so When I disable the 'gxine starter plugin' under Tools/Addons/Plugins then all I get is a blank page. In the page about:plugins, gxineplugin is above gecko-mediaplayer-qt and I suspect this is why it is being picked up first. What's it like in yours? -- Regards, Mick
Re: [gentoo-user] synchronize portage files in a LAN
Crístian Viana schrieb: hi, I have 7 computers in local network and I want them to have always the same portage files (the ones synchronized with rsync). of course I can use crontab to make them sync at a specific time but I'm wondering if there's a better alternative. I saw a wiki page which says to create one local rsync server and have the other 6 computers synchronize with it (by pointing the SYNC variable to the local rsync server). but I also thought NFS could be nice: I just have to sync one machine and everyone will always be synchronized. what's the best approach for this case? thanks! -- Crístian Deives dos Santos Viana [aka CD1] Slow network or WLAN? Use a local rsync server. There is a package for this (app-admin/gentoo-rsync-mirror) and instructions on the net. While you are at it, you could also install an http or ftp proxy for distfiles. net-proxy/http-replicator should do it if you do not want a complete proxy infrastructure. =100MBit connection? Use NFS. You should not only put your portage tree on this but also distfiles and /var/cache/edb. Do not do this with /var/db/pkg, however. Hope this helps Florian Philipp signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] [OT] interrupting runscripts during startup
Renat Golubchyk writes: On Fri, 20 Nov 2009 00:02:47 +0200 Amit Dor-Shifer ami...@oversi.com wrote: When hitting Ctrl-C during startup, I manage to interrupt services at the early stages of init, yet later-on I can no-longer do this. It seems that up till runlevel 'default', services can be hit with the interrupt. Why do you want to stop services by hitting CTRL-C ? I do this when a periodic files system check of a large partition kicks in and I do not want to spend the time waiting for it. Other things I like to interrupt are long timeouts, e.g. while some program waits for a server to respond, but I do not have an internet connection at the moment. I had this problem with an annoyingly large NTP timeout (it seems to be much smaller these days), and I wished I could have stopped it. Wonko
[gentoo-user] Trying to loopback mount partition from a disk image
Hi there, With reference to a couple of previous threads: http://thread.gmane.org/gmane.linux.gentoo.user/193263 http://thread.gmane.org/gmane.linux.gentoo.user/197120 Here's what I'm trying: $ ls -lh sda.dd.img -rw-r--r-- 1 stroller users 77G 2009-11-22 03:51 sda.dd.img $ file sda.dd.img sda.dd.img: x86 boot sector, Microsoft Windows XP MBR, Serial 0x1890189; partition 1: ID=0x7, active, starthead 1, startsector 63, 160810587 sectors, code offset 0xc0 $ parted sda.dd.img p WARNING: You are not superuser. Watch out for permissions. Model: (file) Disk /path/to/sda.dd.img: 82.3GB Sector size (logical/physical): 512B/512B Partition Table: msdos Number Start End SizeType File system Flags 1 32.3kB 82.3GB 82.3GB primary ntfs boot $ fdisk -l sda.dd.img You must set cylinders. You can do this from the extra functions menu. Disk sda.dd.img: 0 MB, 0 bytes 255 heads, 63 sectors/track, 0 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x01890189 Device Boot Start End Blocks Id System sda.dd.img1 * 1 1001080405293+ 7 HPFS/NTFS Partition 1 has different physical/logical endings: phys=(1023, 254, 63) logical=(10009, 254, 63) $ $ sudo losetup -o 8225280 /dev/loop0 sda.dd.img $ sudo mount -v /dev/loop0 /mnt/floppy/ mount: you didn't specify a filesystem type for /dev/loop0 I will try all types mentioned in /etc/filesystems or /proc/ filesystems Trying # Trying #vfat Trying fuseblk mount: you must specify the filesystem type $ If I format a USB stick as NTFS I can mount and read it fine, so NTFS driver modules are correctly compiled into the kernel. I can `losetup` to a loop device and then `fdisk -l` or `parted /dev/ loop0 p` and see the partitions. I've tried with an offset of 512 bytes instead of 8225280 with the same results - I guess I'm getting a little confused about what the correct offset should be. Thinking about this now it seems obvious that 512 should be correct, but anyway, that isn't working. I get the same as Pat trying this: http://article.gmane.org/gmane.linux.gentoo.user/197123 But: $ sudo losetup -d /dev/loop0 $ sudo losetup /dev/loop0 sda.dd.img $ sudo fdisk -l /dev/loop0 Disk /dev/loop0: 82.3 GB, 82348277760 bytes 255 heads, 63 sectors/track, 10011 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x01890189 Device Boot Start End Blocks Id System /dev/loop0p1 * 1 1001080405293+ 7 HPFS/NTFS $ /dev/loop0p1 seems inaccessible to me. Really, any suggestions on how to access this virtual partition would be great. Oh, I've also tried to run ntfsclone on it, because that can produce images which can be loopback mounted (as per `man ntfsclone`) but again, ntfsclone need to be pointed at a partition of a hard-drive in order to produce the loopback-mountable image in the first place. Any thoughts? Stroller.
Re: [gentoo-user] Trying to loopback mount partition from a disk image
On Montag 23 November 2009, Stroller wrote: Hi there, With reference to a couple of previous threads: http://thread.gmane.org/gmane.linux.gentoo.user/193263 http://thread.gmane.org/gmane.linux.gentoo.user/197120 Here's what I'm trying: $ ls -lh sda.dd.img -rw-r--r-- 1 stroller users 77G 2009-11-22 03:51 sda.dd.img $ file sda.dd.img sda.dd.img: x86 boot sector, Microsoft Windows XP MBR, Serial 0x1890189; partition 1: ID=0x7, active, starthead 1, startsector 63, 160810587 sectors, code offset 0xc0 $ parted sda.dd.img p WARNING: You are not superuser. Watch out for permissions. Model: (file) Disk /path/to/sda.dd.img: 82.3GB Sector size (logical/physical): 512B/512B Partition Table: msdos Number Start End SizeType File system Flags 1 32.3kB 82.3GB 82.3GB primary ntfs boot $ fdisk -l sda.dd.img You must set cylinders. You can do this from the extra functions menu. Disk sda.dd.img: 0 MB, 0 bytes 255 heads, 63 sectors/track, 0 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x01890189 Device Boot Start End Blocks Id System sda.dd.img1 * 1 1001080405293+ 7 HPFS/NTFS Partition 1 has different physical/logical endings: phys=(1023, 254, 63) logical=(10009, 254, 63) $ $ sudo losetup -o 8225280 /dev/loop0 sda.dd.img $ sudo mount -v /dev/loop0 /mnt/floppy/ mount: you didn't specify a filesystem type for /dev/loop0 I will try all types mentioned in /etc/filesystems or /proc/ filesystems Trying # Trying #vfat Trying fuseblk mount: you must specify the filesystem type $ If I format a USB stick as NTFS I can mount and read it fine, so NTFS driver modules are correctly compiled into the kernel. I can `losetup` to a loop device and then `fdisk -l` or `parted /dev/ loop0 p` and see the partitions. I've tried with an offset of 512 bytes instead of 8225280 with the same results - I guess I'm getting a little confused about what the correct offset should be. Thinking about this now it seems obvious that 512 should be correct, but anyway, that isn't working. I get the same as Pat trying this: http://article.gmane.org/gmane.linux.gentoo.user/197123 But: $ sudo losetup -d /dev/loop0 $ sudo losetup /dev/loop0 sda.dd.img $ sudo fdisk -l /dev/loop0 Disk /dev/loop0: 82.3 GB, 82348277760 bytes 255 heads, 63 sectors/track, 10011 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x01890189 Device Boot Start End Blocks Id System /dev/loop0p1 * 1 1001080405293+ 7 HPFS/NTFS $ /dev/loop0p1 seems inaccessible to me. Really, any suggestions on how to access this virtual partition would be great. Oh, I've also tried to run ntfsclone on it, because that can produce images which can be loopback mounted (as per `man ntfsclone`) but again, ntfsclone need to be pointed at a partition of a hard-drive in order to produce the loopback-mountable image in the first place. Any thoughts? Stroller. yeah, you don't need to use losetup. I mounted a lot of images over the years and I never used losetup.
Re: [gentoo-user] Trying to loopback mount partition from a disk image
On 23 Nov 2009, at 18:50, Volker Armin Hemmann wrote: On Montag 23 November 2009, Stroller wrote: Hi there, With reference to a couple of previous threads: http://thread.gmane.org/gmane.linux.gentoo.user/193263 http://thread.gmane.org/gmane.linux.gentoo.user/197120 Here's what I'm trying: $ ls -lh sda.dd.img -rw-r--r-- 1 stroller users 77G 2009-11-22 03:51 sda.dd.img $ file sda.dd.img sda.dd.img: x86 boot sector, Microsoft Windows XP MBR, Serial 0x1890189; partition 1: ID=0x7, active, starthead 1, startsector 63, 160810587 sectors, code offset 0xc0 ... yeah, you don't need to use losetup. I mounted a lot of images over the years and I never used losetup. How do I do it then, please? Note, it's an image of an entire hard-drive, imaged using `dd` or GNU `ddrescue`, so it also includes the MBR partition table. It's not just a partition or an .iso optical disk image. Stroller.
Re: [gentoo-user] Trying to loopback mount partition from a disk image
Volker Armin Hemmann writes: On Montag 23 November 2009, Stroller wrote: $ fdisk -l sda.dd.img You must set cylinders. You can do this from the extra functions menu. Disk sda.dd.img: 0 MB, 0 bytes 255 heads, 63 sectors/track, 0 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x01890189 Device Boot Start End Blocks Id System sda.dd.img1 * 1 1001080405293+ 7 HPFS/NTFS Partition 1 has different physical/logical endings: phys=(1023, 254, 63) logical=(10009, 254, 63) $ $ sudo losetup -o 8225280 /dev/loop0 sda.dd.img Try -o $(( 63*512 )). 63 is the start sector, you see this when you enter the U command in fdisk in order to change the units. yeah, you don't need to use losetup. I mounted a lot of images over the years and I never used losetup. Um, even if the partition does not start at the beginning? I tried this a while ago, giving the offset directly as mount option, but it did not work at all. But when I also tried it manually with losetup, I succeeded. Wonko
Re: [gentoo-user] Trying to loopback mount partition from a disk image
On Montag 23 November 2009, Stroller wrote: On 23 Nov 2009, at 18:50, Volker Armin Hemmann wrote: On Montag 23 November 2009, Stroller wrote: Hi there, With reference to a couple of previous threads: http://thread.gmane.org/gmane.linux.gentoo.user/193263 http://thread.gmane.org/gmane.linux.gentoo.user/197120 Here's what I'm trying: $ ls -lh sda.dd.img -rw-r--r-- 1 stroller users 77G 2009-11-22 03:51 sda.dd.img $ file sda.dd.img sda.dd.img: x86 boot sector, Microsoft Windows XP MBR, Serial 0x1890189; partition 1: ID=0x7, active, starthead 1, startsector 63, 160810587 sectors, code offset 0xc0 ... yeah, you don't need to use losetup. I mounted a lot of images over the years and I never used losetup. How do I do it then, please? Note, it's an image of an entire hard-drive, imaged using `dd` or GNU `ddrescue`, so it also includes the MBR partition table. It's not just a partition or an .iso optical disk image. Stroller. modprobe loop mount -o loop /image /pfad
Re: [gentoo-user] can't remove device-mapper can't install it either
That doesn't answer the question. If support is built as a module, is it loaded? go away, if it was a module it wouldn't work. been there, done it.
Re: [gentoo-user] mplayer plugin
If you have Firefox installed, you can use 'download helper' to grab those videos really easy. It works on youtube and other sites really well. I'm using it but can only download from a link to youtube in another web page or google, for example. Shouldn't there be a button on Youtube itself, once the 'downloiad helper' is installed that lets you download from the actual Youtube site? I've looked through Tools-Download Helper-Preferences without seeing any option for it. Maxim
Re: [gentoo-user] P55 Chipset Support
Jason Carson wrote: Jason Carson wrote: Hello everyone, I am considering upgrading to a 64 bit CPU but haven't decided on what I am going to buy. One of the motherboards I am looking at has a P55 chipset so my question is will the P55 chipset work with Gentoo? If so where in menuconfig do I configure this? Thanks How about a link to the mobo. I been googling but p55 is also a network card or something. Sort of hard to weed them out. Dale :-) :-) It's the ASRock P55 Deluxe... http://www.asrock.com/MB/overview.asp?Model=P55%20Deluxe I found this so far. http://www.phoronix.com/scan.php?page=articleitem=intel_p55num=4 It appears to work. Still looking for the drivers tho. I have never had a Intel that I know of. Sort of poking in the dark here. Since it appears to be working, it may be that you will have to boot the CD and do a lspci -k to see what the CD is using. Dale :-) :-) Thanks for that link. The preview concluded At the end of the day, the Intel platform will run fine under Linux, but there's a few hiccups right now which is fine because I won't be upgrading for another month so hopefully all the problems will be fixed by them.
[gentoo-user] Moving root filesystem to a new partition
Can someone tell me what steps are necessary to move the / filesystem to a new partition? I recall someone helping me with this before, but cannot find the email. The oldest of three drives on my system had my / partition, /dev/sdc1. One day recently, that partition became inaccessable. After quickly installing Ubuntu on a different drive, that root partition eventually showed up again. So I've been able to boot Gentoo again off the separate /boot partition on /dev/sda1. I need to move that / partition. I have several other partitions mounted off this one, mainly as /usr and maybe /usr/local/, and some storage partitions mounted to my home directory. I copied the root (/) partition with the new partition at /dev/sdb5 mounted as /newroot, using # cp -ax / /newroot I checked that /proc, /dev, and /sys are there, and empty. I recall there are some other steps necessary. I changed /etc/fstab, and the grub2 grub.cfg from ubuntu, the entry for this kernel. The boot stalls at a certain point. May I ask what steps are necessary to do this? Thank you, Alan Davis
[gentoo-user] Re: Moving root filesystem to a new partition [SOLVED]
I found the email from some years ago, advising to bind mount / and copy /dev to the new partition from the bind mounted / partition. It worked again this time. Thank you again. Alan On Tue, Nov 24, 2009 at 6:35 AM, Alan E. Davis lngn...@gmail.com wrote: Can someone tell me what steps are necessary to move the / filesystem to a new partition? I recall someone helping me with this before, but cannot find the email. The oldest of three drives on my system had my / partition, /dev/sdc1. One day recently, that partition became inaccessable. After quickly installing Ubuntu on a different drive, that root partition eventually showed up again. So I've been able to boot Gentoo again off the separate /boot partition on /dev/sda1. I need to move that / partition. I have several other partitions mounted off this one, mainly as /usr and maybe /usr/local/, and some storage partitions mounted to my home directory. I copied the root (/) partition with the new partition at /dev/sdb5 mounted as /newroot, using # cp -ax / /newroot I checked that /proc, /dev, and /sys are there, and empty. I recall there are some other steps necessary. I changed /etc/fstab, and the grub2 grub.cfg from ubuntu, the entry for this kernel. The boot stalls at a certain point. May I ask what steps are necessary to do this? Thank you, Alan Davis
Re: [gentoo-user] Moving root filesystem to a new partition
Alan E. Davis writes: I copied the root (/) partition with the new partition at /dev/sdb5 mounted as /newroot, using # cp -ax / /newroot I checked that /proc, /dev, and /sys are there, and empty. I recall there are some other steps necessary. /dev needs at least the entries console and null, and tty1 for splash things (I think). You could create them like this: mknod c 5 1 /dev/console mknod c 1 3 /dev/null mknod c 4 1 /dev/tty1 Or copy over your original /dev directory (without the stuff udev added) from the old system: mount -o bind / /mnt cp -a /mnt/dev /newroot/ Wonko
Re: [gentoo-user] mplayer plugin
Maxim Wexler wrote: If you have Firefox installed, you can use 'download helper' to grab those videos really easy. It works on youtube and other sites really well. I'm using it but can only download from a link to youtube in another web page or google, for example. Shouldn't there be a button on Youtube itself, once the 'downloiad helper' is installed that lets you download from the actual Youtube site? I've looked through Tools-Download Helper-Preferences without seeing any option for it. Maxim Mine is in the toolbar by default. It is just to the left of the location bar and looks like three balls rotating. I'm not sure if they rotate all the time or not but I know it does when in the middle of a download. If you put your little mouse pointer on it, it shows it is the download helper tool. When something is on the page that it knows is a video, a little option for a drop down appears so that you can select what to download. I know youtube sometimes has different versions of a video, mostly different by quality. With that you can select which quality you want. It is also handy when you have more than one video on a page and only want one of them. That help you find it? I found it by wondering what the little moving balls where that wasn't there before I installed the little add ons. Dale :-) :-)
[gentoo-user] udev (probably)
I've been working all day rearranging furniture in my apartment. I got the my computer to its new spot and hooked everything up and booted and I saw a message that said something about some kernel option that was turned on that shouldn't be, and that udev might not work. When I got logged in, I found that Mythtv was all screwed up and that it said I didn't have any programs set to record. LiveTV didn't work at all. My tv card (dev/video0); ls says it's there, but cat says it's not. When I used /etc/init.d/udev I got a message saying that the udev initscript only works with baselayout 2 and that I shouldn't use it with baselayout 1. I didn't even know I was using baselayout 1! Anyway, is there a way, after I've booted the computer, to access those messages shown at startup?
Re: [gentoo-user] Trying to loopback mount partition from a disk image
On 23 Nov 2009, at 19:11, Alex Schuster wrote: Volker Armin Hemmann writes: On Montag 23 November 2009, Stroller wrote: $ fdisk -l sda.dd.img You must set cylinders. You can do this from the extra functions menu. Disk sda.dd.img: 0 MB, 0 bytes 255 heads, 63 sectors/track, 0 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x01890189 Device Boot Start End Blocks Id System sda.dd.img1 * 1 1001080405293+ 7 HPFS/NTFS Partition 1 has different physical/logical endings: phys=(1023, 254, 63) logical=(10009, 254, 63) $ $ sudo losetup -o 8225280 /dev/loop0 sda.dd.img Try -o $(( 63*512 )). 63 is the start sector, you see this when you enter the U command in fdisk in order to change the units. Brilliant! That's it! Many thanks. Stroller.
[gentoo-user] Re: udev (probably)
On Mon, 2009-11-23 at 15:05 -0600, Michael Sullivan wrote: I've been working all day rearranging furniture in my apartment. I got the my computer to its new spot and hooked everything up and booted and I saw a message that said something about some kernel option that was turned on that shouldn't be, and that udev might not work. When I got logged in, I found that Mythtv was all screwed up and that it said I didn't have any programs set to record. LiveTV didn't work at all. My tv card (dev/video0); ls says it's there, but cat says it's not. When I used /etc/init.d/udev I got a message saying that the udev initscript only works with baselayout 2 and that I shouldn't use it with baselayout 1. I didn't even know I was using baselayout 1! Anyway, is there a way, after I've booted the computer, to access those messages shown at startup? I found it in /var/log/messages. It said: Nov 23 15:37:07 camille kernel: udev: missing sysfs features; please update the kernel or disable the kernel's CONFIG_SYSFS_DEPRECATED option; udev may fail to work correctly Nov 23 15:00:01 camille sudo: michael : TTY=pts/4 ; PWD=/home/michael ; USER=root ; COMMAND=/etc/init.d/udev restart I'm rebuilding the kernel with that option disabled, but in the meantime why did Mythtv forget my programs set to record? I checked that mysql is running, and it is, I checked mythbacked. The only discrepancy I can find is the existence of /dev/video0...
Re: [gentoo-user] udev (probably)
dmesg Ben - Original Message From: Michael Sullivan msulli1...@gmail.com To: gentoo-user gentoo-user@lists.gentoo.org Sent: Mon, November 23, 2009 4:05:17 PM Subject: [gentoo-user] udev (probably) I've been working all day rearranging furniture in my apartment. I got the my computer to its new spot and hooked everything up and booted and I saw a message that said something about some kernel option that was turned on that shouldn't be, and that udev might not work. When I got logged in, I found that Mythtv was all screwed up and that it said I didn't have any programs set to record. LiveTV didn't work at all. My tv card (dev/video0); ls says it's there, but cat says it's not. When I used /etc/init.d/udev I got a message saying that the udev initscript only works with baselayout 2 and that I shouldn't use it with baselayout 1. I didn't even know I was using baselayout 1! Anyway, is there a way, after I've booted the computer, to access those messages shown at startup?
Re: [gentoo-user] P55 Chipset Support
Jason Carson wrote: Dale wrote: I found this so far. http://www.phoronix.com/scan.php?page=articleitem=intel_p55num=4 It appears to work. Still looking for the drivers tho. I have never had a Intel that I know of. Sort of poking in the dark here. Since it appears to be working, it may be that you will have to boot the CD and do a lspci -k to see what the CD is using. Dale :-) :-) Thanks for that link. The preview concluded At the end of the day, the Intel platform will run fine under Linux, but there's a few hiccups right now which is fine because I won't be upgrading for another month so hopefully all the problems will be fixed by them. What I would do, find the latest live CD that you can find, Gentoo, Knoppix or whatever, then boot it and run lspci -k. It's then as simple as finding the options in the kernel and turning them on. The make menuconfig has a search option in it. Just hit the / key and type in the name of the driver. It will list where all the matches are. Naturally you need to wait until you get this mobo and all to get the CD. The later the better. Another key thing, getting the latest kernel available when you install. Most drivers may not be in the current ones or earlier ones. That's the key thing I would guess. I would even get one that is masked/keyworded if needed. Maybe check with this list as to what people are getting from a certain version and running a rig similar to yours. Dale :-) :-)
Re: [gentoo-user] Re: udev (probably)
Michael Sullivan wrote: On Mon, 2009-11-23 at 15:05 -0600, Michael Sullivan wrote: I've been working all day rearranging furniture in my apartment. I got the my computer to its new spot and hooked everything up and booted and I saw a message that said something about some kernel option that was turned on that shouldn't be, and that udev might not work. When I got logged in, I found that Mythtv was all screwed up and that it said I didn't have any programs set to record. LiveTV didn't work at all. My tv card (dev/video0); ls says it's there, but cat says it's not. When I used /etc/init.d/udev I got a message saying that the udev initscript only works with baselayout 2 and that I shouldn't use it with baselayout 1. I didn't even know I was using baselayout 1! Anyway, is there a way, after I've booted the computer, to access those messages shown at startup? I found it in /var/log/messages. It said: Nov 23 15:37:07 camille kernel: udev: missing sysfs features; please update the kernel or disable the kernel's CONFIG_SYSFS_DEPRECATED option; udev may fail to work correctly Nov 23 15:00:01 camille sudo: michael : TTY=pts/4 ; PWD=/home/michael ; USER=root ; COMMAND=/etc/init.d/udev restart I'm rebuilding the kernel with that option disabled, but in the meantime why did Mythtv forget my programs set to record? I checked that mysql is running, and it is, I checked mythbacked. The only discrepancy I can find is the existence of /dev/video0... Question one: You using baselayout 2 or 1? I ran into this the other day and I just recompiled a new kernel with the CONFIG_SYSFS_DEPRECATED option disabled. It's under the General Setup screen as: Create deprecated sysfs layout for older userspace tools I'm pretty sure that is it. After you disable that and reboot, everything should go back to normal. I don't have MythTV or anything so I hope everything will go back to normal on that too. Hope that helps. Dale :-) :-)
Re: [gentoo-user] Moving root filesystem to a new partition
Alan E. Davis wrote: Can someone tell me what steps are necessary to move the / filesystem to a new partition? I recall someone helping me with this before, but cannot find the email. The oldest of three drives on my system had my / partition, /dev/sdc1. One day recently, that partition became inaccessable. After quickly installing Ubuntu on a different drive, that root partition eventually showed up again. So I've been able to boot Gentoo again off the separate /boot partition on /dev/sda1. I need to move that / partition. I have several other partitions mounted off this one, mainly as /usr and maybe /usr/local/, and some storage partitions mounted to my home directory. I copied the root (/) partition with the new partition at /dev/sdb5 mounted as /newroot, using # cp -ax / /newroot I checked that /proc, /dev, and /sys are there, and empty. I recall there are some other steps necessary. I changed /etc/fstab, and the grub2 grub.cfg from ubuntu, the entry for this kernel. The boot stalls at a certain point. May I ask what steps are necessary to do this? Thank you, Alan Davis I have done this in the past. I usually boot the CD, make mount points for old and new, then mount the old and new that I want to copy. Then I do a cp -av /path/to/old /path/to/new/ and let it copy. This can take quite a bit of time tho. It seems those little bitty files take the longest. Maybe omitting the -v option would help on that? Once you get it copied over, edit your fstab file as needed on the new side and install the bootloader as well. After that, it usually just works. Dale :-) :-) P. S. Sorry for not including some fancy tarball stuff. ;-)
[gentoo-user] Bittorent black box
Hi, I would like to use my server as bittorent client and maybe tracker later. I would like to have a web interface but I could also develop it myself later. I saw, qbittorent and hrktorrent that looks good. I don't know any features of the last one. What would you recommend to use? thanks Laurent
[gentoo-user] Re: app-text/poppler-utils install fails
On 11/23/2009 08:02 AM, Alexander wrote: Hi, I'm trying to upgrade app-text/poppler-utils (as part of a bigger system upgrade), but it fails... libtool: link: x86_64-pc-linux-gnu-g++ -Wall -Wno-write-strings -O2 -march=nocona -pipe -Wl,-O1 -o pdfinfo pdfinfo.o printencodings.o parseargs.o -lpoppler /usr/lib64/libfontconfig.so /usr/lib64/libfreetype.so /usr/lib64/libexpat.so -lopenjpeg -lz ImageOutputDev.o: In function `ImageOutputDev::drawImage(GfxState*, Object*, Stream*, int, int, GfxImageColorMap*, int*, int)': ImageOutputDev.cc:(.text+0x2f4): undefined reference to `ImageStream::close()' Just finding the real error in all that junk is the first challenge in debugging :o) I just noticed that the word 'error' doesn't even appear in the libtool 'error' message. Hrmphh! Yet another black mark on libtool's report card. Notice the double colons in ImageStream::close(). That's a dead giveaway that this is c++ code. Remember that, because you will see this kind of c++ problem fairly often. The usual suspect is that you are now using a different (newer?) gcc to build poppler-utils than you were using when you compiled the c++ library that's causing this problem. (Usually, but not always.) So, which c++ library is causing the problem? A quick and dirty check: $grep -r ImageStream /usr/include/* /usr/include/ImageMagick/magick/image.h: DisassociateImageStream(Image *), /usr/include/ImageMagick/magick/methods.h:#define DisassociateImageStream PrependMagickMethod(DisassociateImageStream) /usr/include/poppler/Gfx.h: Stream *buildImageStream(); /usr/include/poppler/Stream.h:// ImageStream /usr/include/poppler/Stream.h:class ImageStream { Eureka! $equery b Stream.h [ Searching for file(s) Stream.h in *... ] dev-libs/poppler-0.10.7 (/usr/include/poppler/Stream.h) So, the guilty party is poppler? Looks like it. The cheap and dirty remedy is to re-emerge poppler, but just for my own education (and yours, I hope) I'm slogging ahead: The ImageStream 'class' should define a 'method' named close(). (This is the usual and customary object-oriented paradigm.) Take a look at Stream.h, and look for these lines: // Close the stream previously reset void close(); Do you see them? If not, re-emerge poppler and look again. I'd like to know if I'm on the right track.
Re: [gentoo-user] Re: udev (probably)
I saw a message that said something about some kernel option that was turned on that shouldn't be, and that udev might not work. I found it in /var/log/messages. It said: Nov 23 15:37:07 camille kernel: udev: missing sysfs features; please update the kernel or disable the kernel's CONFIG_SYSFS_DEPRECATED option; udev may fail to work correctly Nov 23 15:00:01 camille sudo: michael : TTY=pts/4 ; PWD=/home/michael ; USER=root ; COMMAND=/etc/init.d/udev restart I'm rebuilding the kernel with that option disabled, but in the meantime why did Mythtv forget my programs set to record? I checked that mysql is running, and it is, I checked mythbacked. The only discrepancy I can find is the existence of /dev/video0... I also had this message for maybe a week before I rebuilt the kernel (same way as you). The only difference I noticed was that the error message went away, but maybe it had some effect on your hardware? ~daid
Re: [gentoo-user] Bittorent black box
On Mon, Nov 23, 2009 at 5:02 PM, laurent laur...@logiquefloue.org wrote: Hi, I would like to use my server as bittorent client and maybe tracker later. I would like to have a web interface but I could also develop it myself later. I saw, qbittorent and hrktorrent that looks good. I don't know any features of the last one. What would you recommend to use? I use Vuze (formerly Azureus) with VNC, and I control it with its web interface when I'm not inside my LAN: http://azureus.sourceforge.net/plugin_details.php?plugin=webui It's a little bloated, but it runs perfectly in my Atom powered server, and it certainly has all the features a Torrent client can have. Regards. -- Canek Peláez Valdés Instituto de Matemáticas Universidad Nacional Autónoma de México
Re: [gentoo-user] Re: udev (probably)
daid kahl wrote: I saw a message that said something about some kernel option that was turned on that shouldn't be, and that udev might not work. I found it in /var/log/messages. It said: Nov 23 15:37:07 camille kernel: udev: missing sysfs features; please update the kernel or disable the kernel's CONFIG_SYSFS_DEPRECATED option; udev may fail to work correctly Nov 23 15:00:01 camille sudo: michael : TTY=pts/4 ; PWD=/home/michael ; USER=root ; COMMAND=/etc/init.d/udev restart I'm rebuilding the kernel with that option disabled, but in the meantime why did Mythtv forget my programs set to record? I checked that mysql is running, and it is, I checked mythbacked. The only discrepancy I can find is the existence of /dev/video0... I also had this message for maybe a week before I rebuilt the kernel (same way as you). The only difference I noticed was that the error message went away, but maybe it had some effect on your hardware? ~daid Since I hadn't rebooted in a while, I don't know what changed on mine either. It appears udev was still working tho. I noticed this when I went to single user and typed in the wrong process number and killed udev. I restarted it and got the error the OP got. I figured I would fix it while I was already that close to a shutdown anyway. I suspect tho that MythTV sort of complicates things by needing udev to create things not needed on a system without MythTV. For the record OP, if you are on baselayout-1, you can start udev by typing in /sbin/udevd --daemon. I'm pretty sure you have to be root to do that tho. Dale :-) :-)
Re: [gentoo-user] udev (probably)
The only thing I saw in dmesg that might point to a myth problem was: ivtv0: Failed to initialize on minor 32 ivtv0: Failed to initialize on minor 64 ivtv0: Failed to initialize on minor 224 ivtv0: Failed to initialize on minor 0 ivtv0: Failed to initialize on minor 24 ivtv0: Failed to initialize on minor 0 On Mon, 2009-11-23 at 14:20 -0800, BRM wrote: dmesg Ben - Original Message From: Michael Sullivan msulli1...@gmail.com To: gentoo-user gentoo-user@lists.gentoo.org Sent: Mon, November 23, 2009 4:05:17 PM Subject: [gentoo-user] udev (probably) I've been working all day rearranging furniture in my apartment. I got the my computer to its new spot and hooked everything up and booted and I saw a message that said something about some kernel option that was turned on that shouldn't be, and that udev might not work. When I got logged in, I found that Mythtv was all screwed up and that it said I didn't have any programs set to record. LiveTV didn't work at all. My tv card (dev/video0); ls says it's there, but cat says it's not. When I used /etc/init.d/udev I got a message saying that the udev initscript only works with baselayout 2 and that I shouldn't use it with baselayout 1. I didn't even know I was using baselayout 1! Anyway, is there a way, after I've booted the computer, to access those messages shown at startup?
Re: [gentoo-user] Moving root filesystem to a new partition
On Mon, Nov 23, 2009 at 8:51 PM, Dale rdalek1...@gmail.com wrote: Alan E. Davis wrote: Can someone tell me what steps are necessary to move the / filesystem to a new partition? I recall someone helping me with this before, but cannot find the email. The oldest of three drives on my system had my / partition, /dev/sdc1. One day recently, that partition became inaccessable. After quickly installing Ubuntu on a different drive, that root partition eventually showed up again. So I've been able to boot Gentoo again off the separate /boot partition on /dev/sda1. I need to move that / partition. I have several other partitions mounted off this one, mainly as /usr and maybe /usr/local/, and some storage partitions mounted to my home directory. I copied the root (/) partition with the new partition at /dev/sdb5 mounted as /newroot, using # cp -ax / /newroot I checked that /proc, /dev, and /sys are there, and empty. I recall there are some other steps necessary. I changed /etc/fstab, and the grub2 grub.cfg from ubuntu, the entry for this kernel. The boot stalls at a certain point. May I ask what steps are necessary to do this? Thank you, Alan Davis I have done this in the past. I usually boot the CD, make mount points for old and new, then mount the old and new that I want to copy. Then I do a cp -av /path/to/old /path/to/new/ and let it copy. This can take quite a bit of time tho. It seems those little bitty files take the longest. Maybe omitting the -v option would help on that? Once you get it copied over, edit your fstab file as needed on the new side and install the bootloader as well. After that, it usually just works. Dale :-) :-) P. S. Sorry for not including some fancy tarball stuff. ;-) Well, as far as I know one would like to edit the bootloader configuration as well, so as to reflect the new root directory. Or has anyone written this before and I didn't notice? ;-) Francisco -- If you have an apple and I have an apple and we exchange apples then you and I will still each have one apple. But if you have an idea and I have one idea and we exchange these ideas, then each of us will have two ideas. - George Bernard Shaw
[gentoo-user] NFS poor performance, high system load
Hello all, Sorry if it seems like this is a repeat question, but I've gone through my Gentoo list for the past 2 years and none of the answers provided for previous threads on this seem to work for me. Here's the situation: Gentoo box: AMD Athlon X2 3800+ Intel PCIe Gigabit Network adapter 01:00.0 Ethernet controller: Intel Corporation 82572EI Gigabit Ethernet Controller (Copper) (rev 06) Supermicro 8-port PCI-X SATA card (in a PCI slot) 03:06.0 SCSI storage controller: Marvell Technology Group Ltd. MV88SX6081 8-port SATA II PCI-X Controller (rev 09) Western Digital 1TB Black Edition hard drive (writing to an XFS partition) 2.6.27-amd64 (Yes, it's old, it's on my list to upgrade) Client: MacBook Pro Intel Core 2 Duo 2.26Ghz Intel integrated Gigabit Network adapter Seagate 160GB SATA hard drive (5400RPM) Mac OS X 10.6.1 /etc/exports: /mnt/daigo 192.168.0.31(rw,insecure) hdparm -tT /dev/sdf /dev/sdf: Timing cached reads: 1230 MB in 2.00 seconds = 614.64 MB/sec Timing buffered disk reads: 316 MB in 3.01 seconds = 104.95 MB/sec Over NFS I'm getting 3.7MB/s, with occasional bursts of 25MB/s for 1-5 seconds, then returning to 3.7MB/s. During this entire process, the system load is hovering around 5.5. The same copy, using samba to share that partition, I get 45MB/s sustained. System load is around 1.0. Even though the SATA controller is over the PCI bus, which does limit its performance somewhat (no RAID arrays are running on it) as you can see from the attached hdparm output, the disk is capable of speeds that should be around what gigabit ethernet can provide. I know this is a Gentoo list, and not generally the place to complain about poor NFS performance in Mac OS X, we all know Gentoo is superior in just about every way anyway. However, I simply cannot believe that the difference in transfer speeds is due to strictly to Mac OS X's NFS capabilities. Does anyone have any suggestions for reducing the system load caused by NFS? Can you suggest any performance increasing tips for my NFS configuration? Thanks, Hal
Re: [gentoo-user] Moving root filesystem to a new partition
Francisco Ares wrote: On Mon, Nov 23, 2009 at 8:51 PM, Dale rdalek1...@gmail.com mailto:rdalek1...@gmail.com wrote: Alan E. Davis wrote: Can someone tell me what steps are necessary to move the / filesystem to a new partition? I recall someone helping me with this before, but cannot find the email. The oldest of three drives on my system had my / partition, /dev/sdc1. One day recently, that partition became inaccessable. After quickly installing Ubuntu on a different drive, that root partition eventually showed up again. So I've been able to boot Gentoo again off the separate /boot partition on /dev/sda1. I need to move that / partition. I have several other partitions mounted off this one, mainly as /usr and maybe /usr/local/, and some storage partitions mounted to my home directory. I copied the root (/) partition with the new partition at /dev/sdb5 mounted as /newroot, using # cp -ax / /newroot I checked that /proc, /dev, and /sys are there, and empty. I recall there are some other steps necessary. I changed /etc/fstab, and the grub2 grub.cfg from ubuntu, the entry for this kernel. The boot stalls at a certain point. May I ask what steps are necessary to do this? Thank you, Alan Davis I have done this in the past. I usually boot the CD, make mount points for old and new, then mount the old and new that I want to copy. Then I do a cp -av /path/to/old /path/to/new/ and let it copy. This can take quite a bit of time tho. It seems those little bitty files take the longest. Maybe omitting the -v option would help on that? Once you get it copied over, edit your fstab file as needed on the new side and install the bootloader as well. After that, it usually just works. Dale :-) :-) P. S. Sorry for not including some fancy tarball stuff. ;-) Well, as far as I know one would like to edit the bootloader configuration as well, so as to reflect the new root directory. Or has anyone written this before and I didn't notice? ;-) Francisco -- If you have an apple and I have an apple and we exchange apples then you and I will still each have one apple. But if you have an idea and I have one idea and we exchange these ideas, then each of us will have two ideas. - George Bernard Shaw If it needs to be then sure. I usually move things file wise with cp then move things physically in the case as well. My OS is always on hda. The grub config is on hda1 and grub bootloader is on the MBR of hda as well. So, I don't have to edit grub on mine. I do boot once by using the edit feature of grub, just to make sure before I move things physically. You do have to plan these things tho. Wouldn't hurt to write down on paper where everything is and don't erase anything until you are sure your ducks are in a row. Maybe even write notes on the drive with a post it note. Dale :-) :-)
Re: [gentoo-user] Re: app-text/poppler-utils install fails
On Mon, Nov 23, 2009 at 6:33 PM, walt w41...@gmail.com wrote: On 11/23/2009 08:02 AM, Alexander wrote: Hi, I'm trying to upgrade app-text/poppler-utils (as part of a bigger system upgrade), but it fails... libtool: link: x86_64-pc-linux-gnu-g++ -Wall -Wno-write-strings -O2 -march=nocona -pipe -Wl,-O1 -o pdfinfo pdfinfo.o printencodings.o parseargs.o -lpoppler /usr/lib64/libfontconfig.so /usr/lib64/libfreetype.so /usr/lib64/libexpat.so -lopenjpeg -lz ImageOutputDev.o: In function `ImageOutputDev::drawImage(GfxState*, Object*, Stream*, int, int, GfxImageColorMap*, int*, int)': ImageOutputDev.cc:(.text+0x2f4): undefined reference to `ImageStream::close()' Just finding the real error in all that junk is the first challenge in debugging :o) I just noticed that the word 'error' doesn't even appear in the libtool 'error' message. Hrmphh! Yet another black mark on libtool's report card. Notice the double colons in ImageStream::close(). That's a dead giveaway that this is c++ code. Remember that, because you will see this kind of c++ problem fairly often. The usual suspect is that you are now using a different (newer?) gcc to build poppler-utils than you were using when you compiled the c++ library that's causing this problem. (Usually, but not always.) So, which c++ library is causing the problem? A quick and dirty check: $grep -r ImageStream /usr/include/* /usr/include/ImageMagick/magick/image.h: DisassociateImageStream(Image *), /usr/include/ImageMagick/magick/methods.h:#define DisassociateImageStream PrependMagickMethod(DisassociateImageStream) /usr/include/poppler/Gfx.h: Stream *buildImageStream(); /usr/include/poppler/Stream.h:// ImageStream /usr/include/poppler/Stream.h:class ImageStream { Eureka! $equery b Stream.h [ Searching for file(s) Stream.h in *... ] dev-libs/poppler-0.10.7 (/usr/include/poppler/Stream.h) So, the guilty party is poppler? Looks like it. The cheap and dirty remedy is to re-emerge poppler, but just for my own education (and yours, I hope) I'm slogging ahead: I reinstalled dev-libs/poppler, and now installing app-text/poppler-utils works. The ImageStream 'class' should define a 'method' named close(). (This is the usual and customary object-oriented paradigm.) Take a look at Stream.h, and look for these lines: // Close the stream previously reset void close(); Do you see them? If not, re-emerge poppler and look again. I'd like to know if I'm on the right track. I checked this, and I could not find this line. Then I reinstalled it, and now it's there. Thanks for the very informative reply! -- next time I'll know to try this approach too. Best, Alexander
Re: [gentoo-user] mplayer plugin
Got it. I clicked on the tri-color balls on the lower rt and it just gave me a list of sites where downloads may be found. The balls also appear above and to the left of the video window where the movie is supposed to appear. When I clicked on it I got the save-as window. But then I had to stop the browser and migrate away from the page on account of my tiny bandwidth. But it works, very kewl :) On 11/23/09, Dale rdalek1...@gmail.com wrote: Maxim Wexler wrote: If you have Firefox installed, you can use 'download helper' to grab those videos really easy. It works on youtube and other sites really well. I'm using it but can only download from a link to youtube in another web page or google, for example. Shouldn't there be a button on Youtube itself, once the 'downloiad helper' is installed that lets you download from the actual Youtube site? I've looked through Tools-Download Helper-Preferences without seeing any option for it. Maxim Mine is in the toolbar by default. It is just to the left of the location bar and looks like three balls rotating. I'm not sure if they rotate all the time or not but I know it does when in the middle of a download. If you put your little mouse pointer on it, it shows it is the download helper tool. When something is on the page that it knows is a video, a little option for a drop down appears so that you can select what to download. I know youtube sometimes has different versions of a video, mostly different by quality. With that you can select which quality you want. It is also handy when you have more than one video on a page and only want one of them. That help you find it? I found it by wondering what the little moving balls where that wasn't there before I installed the little add ons. Dale :-) :-)
[gentoo-user] [OT] gnome-shell is cool (and how to move my current user)
So I've been trying to get around a long-standing bug in gnome-panel with vertical panels and the application list. Some workarounds, patches exist that work, but still a PITA to fix up my own ebuilds to address it. I received a comment on a bug tracker that gnome-panel likely will be deprecated in favour of gnome-shell in gnome 3.0 (aka 2.32) anyway, so forget an *upstream* commit to fix this problem that's been around for years. Well, my curiosity got the best of me, so I cherry-picked some ebuilds, an eclass (and even built a piece by hand since the ebuild failed to actually install anything...) and I got gnome-shell --replace to launch. What I found was the system became so slow as to be unusable... *but* that adding a new user, so to test on a clean slate as it were, gnome-shell works just fine. Very cool. So then, what's the *best way* to (re-) set my current user to get the goodness of a brand new gnome profile, but none of the hassle of reconfiguring all my apps? ;-) I see moving my /home folder to something else, deleting me, adding me back, with new /home and my groups... then moving a few very configured apps .configs over, but I thought there *might* be a sure way that would be easier... Cheers, -- Michael Higgins