Re: [gentoo-user] Incredibly slow disk access
If you have sata drives, and they are showing up as hdx, you have something seriously misconfigured. They should be showing as sdx. Deselect everything in ATA/ATAPI/MFM/RLL and select the relevant boxes in serial ATA. Dont forget fstab will need redoing to match. I always thought that if you select both, serial ata should take precedence, and in some cases you can access via both, but I have at least one machine that will only work as sata with all the older ata stuff deselected. BillK On Tue, 2008-01-08 at 09:47 +0200, Wayn0 wrote: Renat Golubchyk wrote: On Mon, 7 Jan 2008 20:51:02 -0500 Mark Shields [EMAIL PROTECTED] wrote: I'd also recommending after checking for the above, also check what level of UDMA is set. Try this: hdparm -I /dev/hda | grep -i dma Yours should say probably either udma3 or udma4. Why not udma5 ? All my PATA drives (desktop and notebook) run at udma5 for some years now without any problems. Thanks to everybody that's replied so far. I may have missed something kernel wise but my sata drives are registering as hd* and it refuses to switch on dma. I have no doubt this is a kernel config, just not sure where to look. I don't have the laptop with me at the moment so I will post the kernel config this evening. or perhaps somebody knows right off the bat what the problem is and what I need to enable and disable. I am using the latest gentoo-sources 2.6.23-r8 if memory serves. Thanks again Wayn0 -- William Kenworthy [EMAIL PROTECTED] Home in Perth! -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] emerge of ksh93 erroring out.. who can interpret
On Monday 07 January 2008, Harry Putnam wrote: I'm having a time getting ksh93 to install (build error at the end) USE='static' emerge -v ksh93 The only other use flag coming up was `nls' I wasn't real eager for `static' necessarily but without `static' had already failed and I saw it was a possible flag. Also it might be handy sometime in a trouble situation where only `/ ' is mounted. But that discussion is for some other time. Can anyone interpret this emerge failure and have some educated guesses what I should do to get it to compile. That message follows the eix output below. http://forums.gentoo.org/viewtopic-p-4210019.html?sid=a282fd302189d24b214267ec5b90 especially last 4 posts Apparently it's a bug, and has been fixed in later versions. You are using a stable 2004 version, in your position I would unmask ksh and emerge the latest unstable -- Alan McKinnon alan dot mckinnon at gmail dot com -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Re: ip_conntrack - is it missing
On Monday 07 January 2008, Etaoin Shrdlu wrote: On Monday 7 January 2008, [EMAIL PROTECTED] wrote: Should I have compiled them directly into the kernel? Well, this is usually a matter of debates. For iptables stuff, I generally compile everything into the kernel, but I'm sure there are people who can find good reasons for using modules. So, it's ultimately up to you. If you want iptables to be active and working all the time, then I think you can compile its stuff into the kernel. It would be nice if someone who uses modules also showed his reasons for keeping it as modules, so you could get a better picture and make a more informed decision. # ls -la /proc/net/ip_conntrack -r--r- 1 root root 0 Jan 8 08:34 /proc/net/ip_conntrack # cat /proc/net/ip_conntrack # # ls -la /proc/net/nf_conntrack -r--r- 1 root root 0 Jan 8 08:40 /proc/net/nf_conntrack # cat /proc/net/nf_conntrack # I'm currently on the train with no internet connection. Both of the above files are empty. On the other hand when online they show my current connections. The above has been compiled into my kernel. I used to compile iptables stuff as modules, but only a few of them these days. The reason was that I did not know which I was going to use and therefore I could modprobe them later on as and when required. The other reason (that I never actually put into practice) was to patch the kernel with the latest greatest iptable modules updates and modprobe accordingly. If you know what you need in terms of iptables kernel options go with the built-in-kernel choice; if not, built-as-modules could be better - unless you prefer a fat kernel for no reason. -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] How long to unsubscribe?
On Sunday 06 January 2008, Mick wrote: It's now 48 hours and my old address hasn't been unsubscribed yet. Anyone have an address for a list admin to investigate this further? I don't I'm afraid . . . but you may want to sent a message to: [EMAIL PROTECTED] (substitute listname for user, or whichever ML you want to unsubscribe from) to see if there is a ML admin email address in the help message that will be sent to you. Another thing to try would be to unsubscribe completely from all your email addresses for a couple of days and see if that stops it. I'm still battling with this, still getting dupe postings. It's like the list software is ignoring my mails. Can anyone help? Anyone? -- Alan McKinnon alan dot mckinnon at gmail dot com -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] CUPS problem
On Monday 07 January 2008, Dale wrote: Randy Barlow wrote: Dale wrote: On my system hpijs was a blocker if I recall correctly. I read somewhere that hpijs was no longer being maintained and that hplip was the new thing to use. Not sure why tho. Also may be worth noting that hplip used to be a service that was started as well. /etc/init.d/hplip start used to work. The latest update got rid of the service and I guess it just runs when it is needed. I should clarify my question a bit more. I don't have the hpijs package installed. I do have hplip. Yet when I try to select the driver for my printer, hpijs is the only option of the two. I know that hplip includes hpijs, but I was looking for a driver called hplip and didn't see it... Did you run hp-setup? You may want to re-emerge hplip and read the messages there. I may be forgetting something it said to do. Also, check your error logs. Should be in /var/log. Depends on what logger you use as to the name of it. Mine is messages tho. Post back what you find out from that. May give us a clue. Dale :-) :-) What happens if under Device, you select: HP Printer (HPLIP) ? Also, have a look at http://localhost:631/help/network.html for defining the path (for network printers). However, I don't want to send you off scent here because I have not set up a USB printer before, so I am not sure what steps ought to be followed (if udev rules are desired and what not). I would have thought that guidance in this http://www.gentoo.org/doc/en/printing-howto.xml#usb ought to help. -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] How long to unsubscribe?
On Jan 8, 2008 6:54 AM, Alan McKinnon [EMAIL PROTECTED] wrote: On Sunday 06 January 2008, Mick wrote: It's now 48 hours and my old address hasn't been unsubscribed yet. Anyone have an address for a list admin to investigate this further? I don't I'm afraid . . . but you may want to sent a message to: [EMAIL PROTECTED] (substitute listname for user, or whichever ML you want to unsubscribe from) to see if there is a ML admin email address in the help message that will be sent to you. Another thing to try would be to unsubscribe completely from all your email addresses for a couple of days and see if that stops it. I'm still battling with this, still getting dupe postings. It's like the list software is ignoring my mails. Can anyone help? Anyone? You should receive an answer right after you send an empty mail to [EMAIL PROTECTED]. If you don't, check if the your address is the same you used when subscribing. Maybe some forwarding?! I just unsubscribed from 3 lists (gentoo-a64, gentoo-performance and gentoo-web-user) like this, and it never took more than 5 seconds to get the answer back. -- Daniel da Veiga Filosofia de TI: Programadores de verdade consideram o conceito o que você vê é o que você tem tão ruim em editores de texto quanto em mulheres. Não, o programador de verdade quer um editor de texto do estilo você pediu, você levou - complicado, indecifrável, poderoso, impiedoso, perigoso.
Re: [gentoo-user] Incredibly slow disk access
William Kenworthy wrote: If you have sata drives, and they are showing up as hdx, you have something seriously misconfigured. They should be showing as sdx. Deselect everything in ATA/ATAPI/MFM/RLL and select the relevant boxes in serial ATA. Dont forget fstab will need redoing to match. I always thought that if you select both, serial ata should take precedence, and in some cases you can access via both, but I have at least one machine that will only work as sata with all the older ata stuff deselected. BillK Cheers, This is why it's doing my head in. I have a desktop with both sata pata drives in with a very similar kernel config and it work as expected :-/ I will try removing all the ATA/ATAPI/MFM/RLL stuff tonight, and report back later. Thanks again for the help On Tue, 2008-01-08 at 09:47 +0200, Wayn0 wrote: Renat Golubchyk wrote: On Mon, 7 Jan 2008 20:51:02 -0500 Mark Shields [EMAIL PROTECTED] wrote: I'd also recommending after checking for the above, also check what level of UDMA is set. Try this: hdparm -I /dev/hda | grep -i dma Yours should say probably either udma3 or udma4. Why not udma5 ? All my PATA drives (desktop and notebook) run at udma5 for some years now without any problems. Thanks to everybody that's replied so far. I may have missed something kernel wise but my sata drives are registering as hd* and it refuses to switch on dma. I have no doubt this is a kernel config, just not sure where to look. I don't have the laptop with me at the moment so I will post the kernel config this evening. or perhaps somebody knows right off the bat what the problem is and what I need to enable and disable. I am using the latest gentoo-sources 2.6.23-r8 if memory serves. Thanks again Wayn0 -- gentoo-user@lists.gentoo.org mailing list
[gentoo-user] package.provided
Hi, I want to compile mplayer in a way not supported by the ebuild and use portage only to keep record of the files installed in system for future uninstallation. The system amd64 stable. I have done the following: (1) echo media-video/mplayer /etc/portage/package.keywords // emerge -p mplayer now gives: media-video/mplayer-1.0_rc2_p24929-r2 // (2) echo media-video/mplayer-1.0_rc2_p24929-r2 /etc/portage/package.provided (3) ebuild `equery w mplayer` unpack (4) cd $PORTAGE_TMPDIR/portage/media-video/mplayer-*/work/mplayer* (5) ./configure --the-way-I-want-it-to-be (6)make (7) cd ../../ (8) touch .compiled (9) ebuild `equery w mplayer` merge Everything seems to be OK until I try emerge -DuNav world. After this point portage wants to rebuild mplayer, showing all USE flags as newly added (e.g. alsa%). I expected putting mplayer into /etc/portage/package.keywords to make portage ignore this package. Where is my mistake and what is the correct method I should follow? -- Best regards, Daniel -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] package.provided
On Tuesday 08 January 2008, Daniel Iliev wrote: Hi, I want to compile mplayer in a way not supported by the ebuild and use portage only to keep record of the files installed in system for future uninstallation. A much better way would be to modify the ebuild to do what you want, then copy it to a local overlay. Portage will use your overlay in preference to the portage tree. You just have to then watch out for newer versions to hit the tree which will supercede your custom ebuild, and modify those new versions similarly. There's an environment variable EXTRA_ECONF intended for *users* to add extra configure options when emerging, but I have heard bad things about using this. Don't know the details, perhaps someone else who does will post in response. Finally, you could just mask out mplayer entirely and build it from source using the default DESTDIR of /usr/local. It's not a complete unistall solution, but at least it doesn't collide with portage's installs in /usr/ man 5 ebuild has lots of info on this topic alan The system amd64 stable. I have done the following: (1) echo media-video/mplayer /etc/portage/package.keywords // emerge -p mplayer now gives: media-video/mplayer-1.0_rc2_p24929-r2 // (2) echo media-video/mplayer-1.0_rc2_p24929-r2 /etc/portage/package.provided (3) ebuild `equery w mplayer` unpack (4) cd $PORTAGE_TMPDIR/portage/media-video/mplayer-*/work/mplayer* (5) ./configure --the-way-I-want-it-to-be (6)make (7) cd ../../ (8) touch .compiled (9) ebuild `equery w mplayer` merge Everything seems to be OK until I try emerge -DuNav world. After this point portage wants to rebuild mplayer, showing all USE flags as newly added (e.g. alsa%). I expected putting mplayer into /etc/portage/package.keywords to make portage ignore this package. Where is my mistake and what is the correct method I should follow? -- Best regards, Daniel -- Alan McKinnon alan dot mckinnon at gmail dot com -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] package.provided
On Tue, 8 Jan 2008 14:35:27 +0200 Daniel Iliev [EMAIL PROTECTED] wrote: I want to compile mplayer in a way not supported by the ebuild and use portage only to keep record of the files installed in system for future uninstallation. The system amd64 stable. I have done the following: (1) echo media-video/mplayer /etc/portage/package.keywords // emerge -p mplayer now gives: media-video/mplayer-1.0_rc2_p24929-r2 // (2) echo media-video/mplayer-1.0_rc2_p24929-r2 /etc/portage/package.provided (3) ebuild `equery w mplayer` unpack (4) cd $PORTAGE_TMPDIR/portage/media-video/mplayer-*/work/mplayer* (5) ./configure --the-way-I-want-it-to-be (6)make (7) cd ../../ (8) touch .compiled (9) ebuild `equery w mplayer` merge Everything seems to be OK until I try emerge -DuNav world. After this point portage wants to rebuild mplayer, showing all USE flags as newly added (e.g. alsa%). I expected putting mplayer into /etc/portage/package.keywords to make portage ignore this package. Where is my mistake and what is the correct method I should follow? The correct method is described, for example, in the following email: http://archives.gentoo.org/gentoo-user/msg_119794.xml Cheers, Renat -- Probleme kann man niemals mit derselben Denkweise loesen, durch die sie entstanden sind. (Einstein) signature.asc Description: PGP signature
Re: [gentoo-user] Incredibly slow disk access
On Tuesday 08 January 2008, Wayn0 wrote: William Kenworthy wrote: If you have sata drives, and they are showing up as hdx, you have something seriously misconfigured. They should be showing as sdx. Deselect everything in ATA/ATAPI/MFM/RLL and select the relevant boxes in serial ATA. Dont forget fstab will need redoing to match. I always thought that if you select both, serial ata should take precedence, and in some cases you can access via both, but I have at least one machine that will only work as sata with all the older ata stuff deselected. BillK Cheers, This is why it's doing my head in. I have a desktop with both sata pata drives in with a very similar kernel config and it work as expected :-/ I will try removing all the ATA/ATAPI/MFM/RLL stuff tonight, and report back later. For sata drives use this, not hdparm: # eix -l sdparm * sys-apps/sdparm Available versions: 0.97 0.98 ~ 0.99 1.00 1.01 ~ 1.02 Homepage:http://sg.torque.net/sg/sdparm.html Description: Utility to output and modify parameters on a SCSI device, like hdparm -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Suddenly emerging unstable packages = why?
On 1/7/08, Alan McKinnon [EMAIL PROTECTED] wrote: On Monday 07 January 2008, Kevin O'Gorman wrote: I see that it's now stable, and I'm going to let the emerge go forward. However, I scrolled back my terminal to when I sent that message, and here's what eix gave me then (primarily the ~ in front of 1.0.4. Could this be an asychrony with the eix database? Hmm, sounds reasonable. Perhaps you mistakenly ran emerge --sync instead of eix-sync that one time? I've done it myself once or thrice :-) I would not have thought so because it's all done in cron jobs thrice per week, giving me reports via email. However, it is true that emerge sync and eix-update were in two separate jobs scheduled an hour apart. It is vaguely conceivable that they got out of step somehow. I've unified them, and hope things go better now. ++ kevin -- Kevin O'Gorman, PhD
Re: [gentoo-user] package.provided
On Tue, 8 Jan 2008 15:11:09 +0200 Alan McKinnon [EMAIL PROTECTED] wrote: A much better way would be to modify the ebuild to do what you want, then copy it to a local overlay. Portage will use your overlay in preference to the portage tree. You just have to then watch out for newer versions to hit the tree which will supercede your custom ebuild, and modify those new versions similarly. Yes, may be it's time for me to learn how to write an ebuild. My problem is that it seems to me too much work just to maintain a few occasional packages locally. ;-) There's an environment variable EXTRA_ECONF intended for *users* to add extra configure options when emerging, but I have heard bad things about using this. Don't know the details, perhaps someone else who does will post in response. Yes, I'm aware of EXTRA_ECONF and I use it via /etc/portage/bashrc. ( explained w/ example by Mr. Bo Andresen: http://tinyurl.com/39c74x ) It never caused problems here. I want to change the ./configure --params for sure but perhaps I'd need to alter several source files. I'm not sure if /etc/portage/bashrc could do the work in the latter case but it's an idea that never occurred to me before and I'm going to explore. Finally, you could just mask out mplayer entirely and build it from source using the default DESTDIR of /usr/local. It's not a complete unistall solution, but at least it doesn't collide with portage's installs in /usr/ Why mask? If I install it manually there would be no need for emerge mplayer at all, right? ;-) (additionally /usr/local/(s)bin precedes /usr/(s)bin in $PATH by default) Anyways, this is not an option for me because I hate cleaning forgotten files or keeping the src for eventual make uninstall. I'd prefer compiling the program with PREFIX=$HOME/program_name. So, for the time being I'll try to solve the problem via /etc/portage/bashrc, while waiting for more possible advices. -- Best regards, Daniel -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Suddenly emerging unstable packages = why?
On Tuesday 08 January 2008, Kevin O'Gorman wrote: Hmm, sounds reasonable. Perhaps you mistakenly ran emerge --sync instead of eix-sync that one time? I've done it myself once or thrice :-) I would not have thought so because it's all done in cron jobs thrice per week, giving me reports via email. However, it is true that emerge sync and eix-update were in two separate jobs scheduled an hour apart. It is vaguely conceivable that they got out of step somehow. I've unified them, and hope things go better now. Yeah, that's probably it then. Doing an emerge at randomly selected times will cause i in about 60 or so to fall in that hour window :-) Any particular reason you run two separate jobs and not just eix-sync (which does both in sequence)? alan -- Alan McKinnon alan dot mckinnon at gmail dot com -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Incredibly slow disk access
William Kenworthy wrote: If you have sata drives, and they are showing up as hdx, you have something seriously misconfigured. They should be showing as sdx. Deselect everything in ATA/ATAPI/MFM/RLL and select the relevant boxes in serial ATA. Dont forget fstab will need redoing to match. I always thought that if you select both, serial ata should take precedence, and in some cases you can access via both, but I have at least one machine that will only work as sata with all the older ata stuff deselected. BillK Thanks Bill, removing all the ATA/ATAPI/MFM/RLL stuff sorted it out. :-) Wayn0 -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Incredibly slow disk access
BTW, which speed can be treated as not slow? hdparm for my SATA SAMSUNG HD401LJ shows ~60MB/Sec. Is it normal? -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] package.provided
On Tuesday 08 January 2008, Daniel Iliev wrote: On Tue, 8 Jan 2008 15:11:09 +0200 Alan McKinnon [EMAIL PROTECTED] wrote: A much better way would be to modify the ebuild to do what you want, then copy it to a local overlay. Portage will use your overlay in preference to the portage tree. You just have to then watch out for newer versions to hit the tree which will supercede your custom ebuild, and modify those new versions similarly. Yes, may be it's time for me to learn how to write an ebuild. My problem is that it seems to me too much work just to maintain a few occasional packages locally. ;-) It is a reasonable amount of work to read the man pages and so on, but I found it was well worth the trouble. Now when I read an ebuild I understand what I'm seeing, before it was just meaningless stuff. Am I correct in saying you plan to emerge mplayer with a few extra params and not much else customizing? In that case the mods you will make are simple and need to be done just once. Then paste the same changes into a new ebuild each time you want to upgrade There's an environment variable EXTRA_ECONF intended for *users* to add extra configure options when emerging, but I have heard bad things about using this. Don't know the details, perhaps someone else who does will post in response. Yes, I'm aware of EXTRA_ECONF and I use it via /etc/portage/bashrc. ( explained w/ example by Mr. Bo Andresen: http://tinyurl.com/39c74x ) It never caused problems here. Interesting. I must find out more :-) I want to change the ./configure --params for sure but perhaps I'd need to alter several source files. I'm not sure if /etc/portage/bashrc could do the work in the latter case but it's an idea that never occurred to me before and I'm going to explore. Finally, you could just mask out mplayer entirely and build it from source using the default DESTDIR of /usr/local. It's not a complete unistall solution, but at least it doesn't collide with portage's installs in /usr/ Why mask? Just a safety net really, in case you one day forget and run 'emerge mplayer'. Not necessary for operation :-) -- Alan McKinnon alan dot mckinnon at gmail dot com -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] FreeAgent extn. Drive setup ideas
On Tuesday 08 January 2008, James wrote: I assume it has NTFS by default. I have all of the legacy doz file systems enabled along with idonify in the kernel. I want to use it on both gentoo and windows systems for a variety of tasks. What the best way to set it up (ideas) so as to ensure what I copy onto the drive, form either gentoo or xp I can copy off onto a gento or XP based system? Should I delete any of the original stuff that Seagate installs on the drive? I have no idea what Seagate installs on the drive. Assuming that it is NTFS, you may want to read about www.ntfs-3g.org. It's also in portage: $ eix -l ntfs3g [I] sys-fs/ntfs3g Available versions: 1.810 [suid] ~ 1.1030 [suid] ~ 1.1104 [suid] ~ 1.1120 [debug suid] Installed versions: 1.810(18:22:30 09/18/07)(-suid) Homepage:http://www.ntfs-3g.org Description: Open source read-write NTFS driver that runs under FUSE I have been using it for some time now on data (non-OS) partitions and had no problems. YMMV. Also, I'm thinking about a udev rule or fstab entry on the gentoo system to uniquely identify the drive as I often attach several usb(stick or drive) devices to one system at any given time; so I'm looking for a scheme that they will each be unquely recognized (Labeled? You may want to check the Gentoo Documentation and Gentoo Wiki and this ML and the forums, for multiple suggestions and examples of setting up udev rules. -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Re: USB Wireless Network Adapter?
Grant a écrit : Yes i emerge it but after i've unmerged it. So probably was added during this install. What install do you think has added it? - Grant Yes i've the same: ls /lib/firmware/rt73.bin /lib/firmware/rt73.bin But i don't remember to setted up it. Well, it wasn't the kernel right? :) Were you experimenting with driver packages for the rt73 outside of the kernel? That's where mine came from. If you remove that firmware your device won't work. I've filed a bug here: http://bugs.gentoo.org/show_bug.cgi?id=204314 - Grant For rt73usb no firmware is needed. Just use vanilla kernel built-in module. as i did: CONFIG_RT2X00=m CONFIG_RT2X00_LIB=m CONFIG_RT2X00_LIB_USB=m CONFIG_RT2X00_LIB_FIRMWARE=y # CONFIG_RT2400PCI is not set # CONFIG_RT2500PCI is not set # CONFIG_RT61PCI is not set # CONFIG_RT2500USB is not set CONFIG_RT73USB=m CONFIG_RT2X00_LIB_DEBUGFS=y CONFIG_RT2X00_DEBUG=y With: [I] sys-kernel/vanilla-sources Installed versions: 2.6.24_rc5(2.6.24_rc5)(02:05:20 16.12.2007)(-build -symlink) Homepage:http://www.kernel.org Description: Full sources for the Linux kernel I'm using vanilla-sources-2.6.24-rc6 and I have the same options enabled as you except for the debug stuff, but the driver only works if I have /lib/firmware/rt73.bin which is installed by the bugs.gentoo.org ebuild for rt73-. Can you verify that you don't have that file? - Grant Regards, Kalden. I think it's net-wireless/rt2x00 with rt73usb flag -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Incredibly slow disk access
Wayn0 wrote: William Kenworthy wrote: If you have sata drives, and they are showing up as hdx, you have something seriously misconfigured. They should be showing as sdx. Deselect everything in ATA/ATAPI/MFM/RLL and select the relevant boxes in serial ATA. Dont forget fstab will need redoing to match. I always thought that if you select both, serial ata should take precedence, and in some cases you can access via both, but I have at least one machine that will only work as sata with all the older ata stuff deselected. BillK Thanks Bill, removing all the ATA/ATAPI/MFM/RLL stuff sorted it out. :-) Wayn0 Would you mind posting what speeds you get now? I'm curious myself. Thanks Dale :-) :-) -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] How to update portage offline with minimal impact?
--- Iain Buchanan [EMAIL PROTECTED] wrote: On Thu, 2008-01-03 at 13:16 -0800, BRM wrote: [snip] However, that is not a solution I can use as I might not be the long term maintainer, and I'd like an easier solution as it requires a lot of work to download stuff. I'd like a solution similar to the following: # tar xvjf /portage-sources-data.tar.bz2 -C /my-portage-sources # tar xvjf /portage-date.tar.bz2 -C /my-portage # emerge --sync --portage-source /my-portage # emerge world -vuD --sources /my-portage-sources This has come up before, so I know some people here have a bit of experience with doing it. Essentially it's possible. I think the steps required are: - download a portage snapshot as you would in an initial install, or create your own from another gentoo machine (more info here: http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=1chap=5#installing_portage) - you may need to run `emerge --metadata` after unpacking it, or something like that - someone else can comment here :) - then follow your manual download instructions: `emerge -ufpDN world` and download all these packages on another box - transfer the packages to /usr/portage/distfiles, and check you got them all with `emerge -ufDN world`. You should have no fetch errors. - then go! `emerge -uvaDN world` Notes: - when creating your own snapshot, exclude /usr/portage/distfiles, /usr/portage/packages, (and others?) - I would recommend -N as you might see some new features since you haven't updated in a while Hopefully someone will fix any holes I left, otherwise this should work! Thanks. I'll have to see about giving it a try; not sure how well it'll work on the one system; and I'll have to run it past my other admins for the other system. Any how... Thanks. Ben -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] package.provided
On Tue, 8 Jan 2008 20:23:58 +0200 Alan McKinnon [EMAIL PROTECTED] wrote: On Tuesday 08 January 2008, Daniel Iliev wrote: On Tue, 8 Jan 2008 15:11:09 +0200 --snip-- Am I correct in saying you plan to emerge mplayer with a few extra params and not much else customizing? In that case the mods you will make are simple and need to be done just once. Then paste the same changes into a new ebuild each time you want to upgrade Actually the changes I want to make are not so few. The whole story is that several days ago a friend of mine pointed me to a very cool front-end for mplayer: http://smplayer.sourceforge.net/ Unfortunately it can't be found in portage yet. Since it works with the plain mplayer I decided to get rid of the GUI part (gmplayer). The USE flag -gtk disables the GUI, but smplayer couldn't work with the produced mplayer. When I compiled mplayer manually with --disable-gui, smplayer worked just fine. Additionally I started playing around with the src and found that on my system mplayer can hold any optimisation I force upon it and there are no problems. :) I have best results when it's compiled with --enable-sse2 and no other mxx, 3dnow etc. stuff. This way mplayer produces: CPUflags: MMX: 0 MMX2: 0 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 1 in the output. Additionally I forced some gcc options on the source like this: find . -type f -exec sed -i 's/ -O. //g; {} + find . -type f -exec sed -i 's/-mtune=\w*//g' {} + find . -type f -exec sed -i 's/-mcpu=\w*//g' {} + find . -type f -exec sed -i 's/march=\w*/march=athlon64 \-msse3 \-mfpmath=sse \-O3\-pipe \-fomit-frame-pointer/g' {} + // Yes, it's brutal and it's a miracle that it works but what do I have to loose? The worst case scenario is that I end up with broken src and have to extract it again :) // Now mplayer uses up to 20% less CPU which in my case is not meaningless. The only problem is to make portage forget about this package until the next version is released. I thought package.provided is for this purpose, but it doesn't work here as I expected. Yes, I'm aware of EXTRA_ECONF and I use it via /etc/portage/bashrc. ( explained w/ example by Mr. Bo Andresen: http://tinyurl.com/39c74x ) It never caused problems here. Interesting. I must find out more :-) It's very handy. For example I don't need the innodb engine of mysql, so my /etc/portage/bashrc reads: == case $CATEGORY/$PN in dev-db/mysql) EXTRA_ECONF=--enable-local-infile --without-innodb ;; esac == Unfortunately I couldn't manage to use it for solving the current problem. -- Best regards, Daniel -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] package.provided
On Tue, 8 Jan 2008 14:35:27 +0200, Daniel Iliev wrote: (1) echo media-video/mplayer /etc/portage/package.keywords This just causes portage to use the testing, ~arch version of the program (2) echo media-video/mplayer-1.0_rc2_p24929-r2 /etc/portage/package.provided This should be /etc/portage/profile/package.provided man portage explains the location and function of these files. -- Neil Bothwick Crayons can take you more places than starships. * Guinan signature.asc Description: PGP signature
Re: [gentoo-user] package.provided
On January 8, 2008, Daniel Iliev wrote: On Tue, 8 Jan 2008 20:23:58 +0200 Alan McKinnon [EMAIL PROTECTED] wrote: On Tuesday 08 January 2008, Daniel Iliev wrote: On Tue, 8 Jan 2008 15:11:09 +0200 --snip-- Am I correct in saying you plan to emerge mplayer with a few extra params and not much else customizing? In that case the mods you will make are simple and need to be done just once. Then paste the same changes into a new ebuild each time you want to upgrade Actually the changes I want to make are not so few. The whole story is that several days ago a friend of mine pointed me to a very cool front-end for mplayer: http://smplayer.sourceforge.net/ Unfortunately it can't be found in portage yet. http://smplayer.wiki.sourceforge.net/Contributed+Packages lists Berkano Overlay as a source for ebuild. You might want to check it out before you go too far building your own :) -- Dmitry Makovey Web Systems Administrator Athabasca University (780) 675-6245 signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] package.provided
On Tue, 8 Jan 2008 14:35:27 +0200 Daniel Iliev [EMAIL PROTECTED] wrote: Hi, I want to compile mplayer in a way not supported by the ebuild and use portage only to keep record of the files installed in system for future uninstallation. The system amd64 stable. I have done the following: (1) echo media-video/mplayer /etc/portage/package.keywords // emerge -p mplayer now gives: media-video/mplayer-1.0_rc2_p24929-r2 // (2) echo media-video/mplayer-1.0_rc2_p24929-r2 /etc/portage/package.provided (3) ebuild `equery w mplayer` unpack (4) cd $PORTAGE_TMPDIR/portage/media-video/mplayer-*/work/mplayer* (5) ./configure --the-way-I-want-it-to-be (6)make (7) cd ../../ (8) touch .compiled (9) ebuild `equery w mplayer` merge Everything seems to be OK until I try emerge -DuNav world. After this point portage wants to rebuild mplayer, showing all USE flags as newly added (e.g. alsa%). I expected putting mplayer into /etc/portage/package.keywords to make portage ignore this package. Where is my mistake and what is the correct method I should follow? Pretty sure package.provided is /etc/portage/profile/package.provided -- Ken69267 signature.asc Description: PGP signature
Re: [gentoo-user] How to update portage offline with minimal impact?
tor 2008-01-03 klockan 13:16 -0800 skrev BRM: I have a couple Sparc systems. One has been running Gentoo for a long time - installed using Gentoo 2006, not updated since due to the issue I'm about the discuss - and the other is a near identical system that might get Gentoo 2007 installed. Both are on two separate networks and have no communication between them. The first system does have some Internet access through a firewall, but it doesn't really work, at least for this purpose; so it's just as good as not having any access at all for this purpose. The second system may or may not have Internet access, so for now let's just assume it doesn't. It's really this second system that I want to figure the problem out for. In either case, I can't update portage using the normal method of 'emerge --sync'. So, I'm trying to figure out a solution that would enable me to update the systems. Under Slackware, I'd just point pkgtool to the CD media and install from that, just like during installation. Is there a similar approach for Gentoo? How do I overcome the source mirror issue too so that the systems don't try to download stuff from the web? I could probably host an rsync server on the local systems to host portage, but how would I keep it up to date? Would I simply be able to extract a tarball into the directory rsync is serving up? I can get large tarballs or ISOs from other systems to these systems; but they won't be able to download them themselves. I noticed the Manual Download info in the FAQ: http://www.gentoo.org/doc/en/faq.xml#manualdownload However, that is not a solution I can use as I might not be the long term maintainer, and I'd like an easier solution as it requires a lot of work to download stuff. I'd like a solution similar to the following: # tar xvjf /portage-sources-data.tar.bz2 -C /my-portage-sources # tar xvjf /portage-date.tar.bz2 -C /my-portage # emerge --sync --portage-source /my-portage # emerge world -vuD --sources /my-portage-sources If there isn't a solution, I might look into how to make a solution (not sure). TIA, Ben Hi, Have you tried to use a proxy (adjust accordingly)? export http_proxy=http://proxy.company.com:8080 export ftp_proxy=http://proxy.company.com:8080 export RSYNC_PROXY=proxy.company.com:8080 BR / P-E -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] package.provided
On Tue, 8 Jan 2008 23:20:02 +0200, Daniel Iliev wrote: Actually the changes I want to make are not so few. The whole story is that several days ago a friend of mine pointed me to a very cool front-end for mplayer: http://smplayer.sourceforge.net/ Unfortunately it can't be found in portage yet. http://bugs.gentoo.org/show_bug.cgi?id=176211 -- Neil Bothwick Why isn't phonetically spelled that way? signature.asc Description: PGP signature
Re: [gentoo-user] How to update portage offline with minimal impact?
--- Per-Erik Westerberg [EMAIL PROTECTED] wrote: tor 2008-01-03 klockan 13:16 -0800 skrev BRM: I have a couple Sparc systems. One has been running Gentoo for a long time - installed using Gentoo 2006, not updated since due to the issue I'm about the discuss - and the other is a near identical system that might get Gentoo 2007 installed. Both are on two separate networks and have no communication between them. The first system does have some Internet access through a firewall, but it doesn't really work, at least for this purpose; so it's just as good as not having any access at all for this purpose. snip In either case, I can't update portage using the normal method of 'emerge --sync'. So, I'm trying to figure out a solution that would enable me to update the systems. Under Slackware, I'd just point pkgtool to the CD media and install from that, just like during installation. Is there a similar approach for Gentoo? How do I overcome the source mirror issue too so that the systems don't try to download stuff from the web? Have you tried to use a proxy (adjust accordingly)? export http_proxy=http://proxy.company.com:8080 export ftp_proxy=http://proxy.company.com:8080 export RSYNC_PROXY=proxy.company.com:8080 Yes, I tried using the proxy on the one system. (The other system won't even have that as an option.) The problem came there that the proxy is an authenticated proxy, primarily designed to work with Windows. It works fine from Firefox/Netscape in X Windows, but causes problems for command-line tools and console browsers. So, in addition to my trying to find a solution where a proxy is not an option, it is, for all intents and purposes, a non-option any way. Additionally, because it is an authenticated proxy, it is not an ideal solution as it would leave the username/password for a user in plain site of all users on the system as the info would be either in the environment variables and/or the command-line options of a program. So, from a security stand-point, it's not an option either since it sometimes takes a day or so to perform updates. TIA, Ben -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Suddenly emerging unstable packages = why?
On Jan 8, 2008 7:48 AM, Alan McKinnon [EMAIL PROTECTED] wrote: On Tuesday 08 January 2008, Kevin O'Gorman wrote: Hmm, sounds reasonable. Perhaps you mistakenly ran emerge --sync instead of eix-sync that one time? I've done it myself once or thrice :-) I would not have thought so because it's all done in cron jobs thrice per week, giving me reports via email. However, it is true that emerge sync and eix-update were in two separate jobs scheduled an hour apart. It is vaguely conceivable that they got out of step somehow. I've unified them, and hope things go better now. Yeah, that's probably it then. Doing an emerge at randomly selected times will cause i in about 60 or so to fall in that hour window :-) Any particular reason you run two separate jobs and not just eix-sync (which does both in sequence)? alan -- Alan McKinnon alan dot mckinnon at gmail dot com Originally, because the output was hard to read I think. And I figured that starting them an hour apart would ensure sequence anyway. -- Kevin O'Gorman, PhD
Re: [gentoo-user] Suddenly emerging unstable packages = why?
On Tuesday 08 January 2008 23:30:51 Kevin O'Gorman wrote: However, it is true that emerge sync and eix-update were in two separate jobs scheduled an hour apart. It is vaguely conceivable that they got out of step somehow. I've unified them, and hope things go better now. [...] Any particular reason you run two separate jobs and not just eix-sync (which does both in sequence)? Originally, because the output was hard to read I think. And I figured that starting them an hour apart would ensure sequence anyway. Surely you ran update-eix and possibly diff-eix rather than eix-sync then? Running eix-sync and emerge --sync would mean syncing twice a day (for no good reason)... -- Bo Andresen signature.asc Description: This is a digitally signed message part.
[gentoo-user] Re: FreeAgent extn. Drive setup ideas
Mick michaelkintzios at gmail.com writes: $ eix -l ntfs3g I have been using it for some time now on data (non-OS) partitions and had no problems. YMMV. Yep, same here ntfs3g is wonderful! Also, I'm thinking about a udev rule or fstab entry on the gentoo system to uniquely identify the drive as I often attach several usb(stick or drive) devices to one system at any given time; so I'm looking for a scheme that they will each be unquely recognized (Labeled? You may want to check the Gentoo Documentation and Gentoo Wiki and this ML and the forums, for multiple suggestions and examples of setting up udev rules. Yes, some help with udev rules or a slick trick via fstab is what I was really after. Or maybe something cool related to the usb buss and a trick to *uniquely lable* usb devices. I'll take a cut at the udev rules myself, then post my sorry excuse for udev rules and ask for help thx, James -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] 2.6.24 config options
[EMAIL PROTECTED] ~ $ emerge -pv vanilla-sources These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild N] sys-kernel/vanilla-sources-2.6.22.9 USE=-build -symlink 44,122 kB Use eix to search packages, it shows all packages, including keyworded and masked versions. emerge -p only shows the latest version available for your arch and profile. Did a fresh emerge --sync emerge portage but: [EMAIL PROTECTED] ~ $ eix gentoo-sources * sys-kernel/gentoo-sources Available versions: 2.4.32-r6:2.4.32-r6 2.4.32-r7:2.4.32-r7 2.6.15-r1:2.6.15-r1 ~2.6.15-r8:2.6.15-r8 2.6.16-r13:2.6.16-r13 ~2.6.17:2.6.17 ~2.6.17-r1:2.6.17-r1 ~2.6.17-r2:2.6.17-r2 ~2.6.17-r3:2.6.17-r3 2.6.17-r4:2.6.17-r4 ~2.6.17-r5:2.6.17-r5 ~2.6.17-r6:2.6.17-r6 2.6.17-r7:2.6.17-r7 2.6.17-r8:2.6.17-r8 ~2.6.17-r9:2.6.17-r9 ~2.6.18:2.6.18 ~2.6.18-r1:2.6.18-r1 Installed: 2.6.12-r6 2.6.16-r3 2.6.20-r6 Homepage: http://dev.gentoo.org/~dsd/genpatches Description: Full sources including the gentoo patchset for the 2.6 kernel tree [EMAIL PROTECTED] ~ $ eix vanilla-sources * sys-kernel/vanilla-sources Available versions: 2.4.32:2.4.32 ~2.4.33:2.4.33 ~2.4.33.1:2.4.33.1 ~2.4.33.2:2.4.33.2 ~2.4.33.3:2.4.33.3 ~2.6.16.14:2.6.16.14 2.6.16.16:2.6.16.16 2.6.16.19:2.6.16.19 ~2.6.16.20:2.6.16.20 ~2.6.16.26:2.6.16.26 ~2.6.16.27:2.6.16.27 2.6.17.6:2.6.17.6 ~2.6.17.7:2.6.17.7 ~2.6.17.8:2.6.17.8 ~2.6.17.9:2.6.17.9 ~2.6.17.10:2.6.17.10 ~2.6.17.11:2.6.17.11 ~2.6.17.12:2.6.17.12 2.6.17.13:2.6.17.13 ~2.6.18:2.6.18 ~2.6.18.1:2.6.18.1 ~2.6.19_rc1:2.6.19_rc1 ~2.6.19_rc2:2.6.19_rc2 ~2.6.19_rc3:2.6.19_rc3 ~2.6.19_rc4:2.6.19_rc4 Installed: none Homepage:http://www.kernel.org Description: Full sources for the Linux kernel Do I have to have something in package.keywords for everything? IIRC I've only ever had to put something in there following a masked packages error eg: ~media-plugins/xmms-wma-1.0.5 ~x86 -mw Looking for last minute shopping deals? Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] CUPS problem
I think this is one of those multifactorial problems, and I'm unable to pin down the exact cause. I did several things that might have conspired to make printing stop working. I have a new motherboard, M2N-E, from ASUS, with a dual core AMD64-X2 processor (dual core), that has given me fits booting. I moved to the new motherboard after having compiled a first approximation to an SMP kernel with support for features and hardware I know about, then at last I tried a world update, after I'd been using gentoo for a few days. I had been printing all this time. My initial investigations (ie, google) revealed a large number of problems with the motherboard involving APIC or ACPI. Both, I think. Other problems mentioned were SATA, and I saw more than one reference to USB. USB and SATA are now sharing an interrrupt with that gentoo boot. When attempting to print or set up printing with CUPS: the printer shows up in CUPS as HPLIP. I had another printer on USB, and while I recall always CUPS showed me USB printers, both, as choices for found printers, no solely USB entries were seen. The other printer now has burned up in what I hope was a disconnected incident, a Brother HL1440, the fan burned out. I can install the HP multifunction as the HPLIP printer, and it shows as ready, but when I print, no printer action happens, and the jobs are immediately marked as stopped. I suspect some USB foibles, but the flash drives work fine. I recompiled with usblp as a module and compiled in, and several times recompiled, but got stuck in a place where I couldn't see a way out. When attempting to boot to that kernel, or other gentoo kernels I have compiled around (I do not use initrd/genkernel), almost every time since the initial boot (that went ok), the machine locks up during boot. It might take three or four attempts, but the machine locks up somewhere during the process. After cupsd has been started, somewhere around where syslog-ng is started, or hal, the machine locks. The next boot it stops ate approximately the same place, or perhaps further along. Finally, usually three or four boots later, it boots and no further problems are experienced. Partly because I needed to print, and partly to rule out hardware issues, I booted ubuntu 7.10, and installed. No problem has been encountered over the past few days of using ubuntu. I can print, and no lockups are encountered (so far, KOW). This is distressing. I enjoy not having to fiddle around, not spending so much time maintaining the system, and it's almost lightning quick to install packages!. Perhaps I'll use Ubuntu for a while---but I'd sure like to solve this problem. I just tried an incantation (kernel parameter) that had been recommended somewhere. (noapic nolapic acpi=off pci=noacpi), but still got the same behavior. Sometime soon I'll try to recompile the kernel or back down to 2.6.22. (I'd only compiled 2.6.23 for this new motherboard). I thank several list denizens for suggestions. I apologize for taking so much time in explaining this again, but I'd really appreciate any suggestions, before I become more committed to using Ubuntu. Alan [EMAIL PROTECTED] On Jan 8, 2008 7:56 PM, Mick [EMAIL PROTECTED] wrote: On Monday 07 January 2008, Dale wrote: Randy Barlow wrote: Dale wrote: On my system hpijs was a blocker if I recall correctly. I read somewhere that hpijs was no longer being maintained and that hplip was the new thing to use. Not sure why tho. Also may be worth noting that hplip used to be a service that was started as well. /etc/init.d/hplip start used to work. The latest update got rid of the service and I guess it just runs when it is needed. I should clarify my question a bit more. I don't have the hpijs package installed. I do have hplip. Yet when I try to select the driver for my printer, hpijs is the only option of the two. I know that hplip includes hpijs, but I was looking for a driver called hplip and didn't see it... Did you run hp-setup? You may want to re-emerge hplip and read the messages there. I may be forgetting something it said to do. Also, check your error logs. Should be in /var/log. Depends on what logger you use as to the name of it. Mine is messages tho. Post back what you find out from that. May give us a clue. Dale :-) :-) What happens if under Device, you select: HP Printer (HPLIP) ? Also, have a look at http://localhost:631/help/network.html for defining the path (for network printers). However, I don't want to send you off scent here because I have not set up a USB printer before, so I am not sure what steps ought to be followed (if udev rules are desired and what not). I would have thought that guidance in this http://www.gentoo.org/doc/en/printing-howto.xml#usb ought to help. -- Regards, Mick -- Alan Davis, Kagman High School, Saipan [EMAIL PROTECTED] It's never a matter of liking or disliking
[gentoo-user] Re: FreeAgent extn. Drive setup ideas
James wrote: Yes, some help with udev rules or a slick trick via fstab is what I was really after. Or maybe something cool related to the usb buss and a trick to *uniquely lable* usb devices. Would using the UUID for the partition work for you? vol_id /dev/sdXX You can use UUID=blah in your fstab. -- Christopher -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] 2.6.24 config options
On Tue, 8 Jan 2008 15:03:00 -0800 (PST), maxim wexler wrote: Did a fresh emerge --sync emerge portage but: Did you run update-eix? Or use eix-sync instead of emerge --sync. -- Neil Bothwick Beware of the opinion of someone without any facts. signature.asc Description: PGP signature
[gentoo-user] What's with this hald thing and why can't I rip CDs any more?
I went to rip a few CDs today. It used to work. It's always worked . It's worked for years it worked. Today it doesn't work First problem is apps don't see the CDs. Running sound-juicer in a terminal mentioned hald might not be running. I look in rc-update and find hald. I start it. sound-juicer works, sort of. It starts ripping, eventually says it finished, but when I look at the directory when the flac files are supposed to be I get maybe 2 out of 10. The rest are all 0 bytes. No error messages at all. How could I rip flac files by hand and get more info? What is hald and when did it show up as necessary. I watched movies using xine the other day and didn't need it. Is this a Gnome/sound-juicer thing or something more global? What's wrong with ripping? Thanks, Mark -- gentoo-user@lists.gentoo.org mailing list
[gentoo-user] Re: emerge of ksh93 erroring out.. who can interpret
Alan McKinnon [EMAIL PROTECTED] writes: [...] Can anyone interpret this emerge failure and have some educated guesses what I should do to get it to compile. That message follows the eix output below. http://forums.gentoo.org/viewtopic-p-4210019.html?sid=a282fd302189d24b214267ec5b90 especially last 4 posts Apparently it's a bug, and has been fixed in later versions. You are using a stable 2004 version, in your position I would unmask ksh and emerge the latest unstable I see... thanks. That does sound like a way around it., I may just start using bash instead for the future... Having this happen has made me rethink my ( non-thought out) choice of shells. I see where it can cause some grief at a time when you don't want to be horsing around with that kind of problem. I'm not a very sophisticated shell script programmer. One thing I liked about ksh93 was its ability to match on regex. Something bash couldn't do not so long ago. I haven't been paying attention to bash development but having this problem, I did start investigating and finding that modern bash can do most if not all of what I liked about ksh93. It can match like this if [[ $1 =~ ^[0-9]+$ ]];then [...] fi Forcing a match of number only by regex. Instead of trying to do it with a pattern match. And a sort of double reverse loop de loop negation I sometimes find useful. (since there is no `!~' operator like perl or awk) if [[ ! ( $1 =~ ^[0-9]+$ )]];then [...] fi I'm beginning to think I may just drop ksh93. Unfortunately, I've grown quite accustomed to using `print' instead of `echo -e' so I will have to replace that in a couple dozen scripts... otherwise the scripts seem to run fine under bash. (so far.. I haven't tested all of them yet) -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Incredibly slow disk access
I have a Western Digital 250GB SATA-II drive on an NForce4 integrated SATA-II controller, here are my readings... hdparm -I /dev/sda | grep -i dma DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 udma5 *udma6 /dev/sda: Timing cached reads: 1646 MB in 2.00 seconds = 823.19 MB/sec Timing buffered disk reads: 172 MB in 3.03 seconds = 56.77 MB/sec Machine is an Athlon X2 3800+ running Gentoo 2007.0 AMD64 A Western Digital 500GB SATA-II drive, connected through a SATA-I PCI card on another Gentoo box reports: hdparm -I /dev/sda | grep -i dma DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 *udma5 udma6 DMA Setup Auto-Activate optimization /dev/sda: Timing cached reads: 312 MB in 2.01 seconds = 155.28 MB/sec Timing buffered disk reads: 162 MB in 3.02 seconds = 53.65 MB/sec The onboard Maxtor 60GB IDE drive reports: hdparm -I /dev/hda | grep -i dma DMA: mdma0 mdma1 mdma2 udma0 udma1 *udma2 udma3 udma4 udma5 /dev/hda: Timing cached reads: 312 MB in 2.01 seconds = 155.17 MB/sec Timing buffered disk reads: 76 MB in 3.05 seconds = 24.88 MB/sec Machine is a Dell PowerEdge 350, PIII server running Gentoo 2007.0 i386. I'm curious, is your optical drive also SATA? If it's not, then how do you intend to access it without ATA/ATAPI drivers? -Hal Dale wrote: Wayn0 wrote: William Kenworthy wrote: If you have sata drives, and they are showing up as hdx, you have something seriously misconfigured. They should be showing as sdx. Deselect everything in ATA/ATAPI/MFM/RLL and select the relevant boxes in serial ATA. Dont forget fstab will need redoing to match. I always thought that if you select both, serial ata should take precedence, and in some cases you can access via both, but I have at least one machine that will only work as sata with all the older ata stuff deselected. BillK Thanks Bill, removing all the ATA/ATAPI/MFM/RLL stuff sorted it out. :-) Wayn0 Would you mind posting what speeds you get now? I'm curious myself. Thanks Dale :-) :-)
Re: [gentoo-user] Suddenly emerging unstable packages = why?
On 1/8/08, Bo Ørsted Andresen [EMAIL PROTECTED] wrote: On Tuesday 08 January 2008 23:30:51 Kevin O'Gorman wrote: However, it is true that emerge sync and eix-update were in two separate jobs scheduled an hour apart. It is vaguely conceivable that they got out of step somehow. I've unified them, and hope things go better now. [...] Any particular reason you run two separate jobs and not just eix-sync (which does both in sequence)? Originally, because the output was hard to read I think. And I figured that starting them an hour apart would ensure sequence anyway. Surely you ran update-eix and possibly diff-eix rather than eix-sync then? Running eix-sync and emerge --sync would mean syncing twice a day (for no good reason)... -- Bo Andresen Indeed. I run update-eix, but I don't do it every day. The entire package runs three times per week, and I use the emails from it to decide whether or when to emerge world. I keep pretty current, but don't see the point in daily updates. ++ kevin -- Kevin O'Gorman, PhD
Re: [gentoo-user] What's with this hald thing and why can't I rip CDs any more?
Hi! Hald is, if I'm not wrong, the daemon for HAL, Hardware Abstraction Layer, it's an interface used to ease communication between software and hardware of your computer. It keeps info from your hardware so it's easier to access/modify them at any time, including new devices that you might connect. http://wlug.org.nz/HAL =) Naiani On Jan 8, 2008 9:37 PM, Mark Knecht [EMAIL PROTECTED] wrote: I went to rip a few CDs today. It used to work. It's always worked . It's worked for years it worked. Today it doesn't work First problem is apps don't see the CDs. Running sound-juicer in a terminal mentioned hald might not be running. I look in rc-update and find hald. I start it. sound-juicer works, sort of. It starts ripping, eventually says it finished, but when I look at the directory when the flac files are supposed to be I get maybe 2 out of 10. The rest are all 0 bytes. No error messages at all. How could I rip flac files by hand and get more info? What is hald and when did it show up as necessary. I watched movies using xine the other day and didn't need it. Is this a Gnome/sound-juicer thing or something more global? What's wrong with ripping? Thanks, Mark -- gentoo-user@lists.gentoo.org mailing list -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Incredibly slow disk access
On Jan 8, 2008 12:53 AM, Renat Golubchyk [EMAIL PROTECTED] wrote: On Mon, 7 Jan 2008 20:51:02 -0500 Mark Shields [EMAIL PROTECTED] wrote: I'd also recommending after checking for the above, also check what level of UDMA is set. Try this: hdparm -I /dev/hda | grep -i dma Yours should say probably either udma3 or udma4. Why not udma5 ? All my PATA drives (desktop and notebook) run at udma5 for some years now without any problems. Cheers, Renat -- Probleme kann man niemals mit derselben Denkweise loesen, durch die sie entstanden sind. (Einstein) It was just a guess. Take it with a grain of salt. -- - Mark Shields
Re: [gentoo-user] What's with this hald thing and why can't I rip CDs any more?
Forgot to mention: about the problem with ripping CDs, and if it sort of works when you start hald, I'd say you should try re-emerging it. Maybe something got corrupted somehow, or is just outdated. Good luck! On Jan 9, 2008 12:54 AM, Naiani Rosa de Barros [EMAIL PROTECTED] wrote: Hi! Hald is, if I'm not wrong, the daemon for HAL, Hardware Abstraction Layer, it's an interface used to ease communication between software and hardware of your computer. It keeps info from your hardware so it's easier to access/modify them at any time, including new devices that you might connect. http://wlug.org.nz/HAL =) Naiani On Jan 8, 2008 9:37 PM, Mark Knecht [EMAIL PROTECTED] wrote: I went to rip a few CDs today. It used to work. It's always worked . It's worked for years it worked. Today it doesn't work First problem is apps don't see the CDs. Running sound-juicer in a terminal mentioned hald might not be running. I look in rc-update and find hald. I start it. sound-juicer works, sort of. It starts ripping, eventually says it finished, but when I look at the directory when the flac files are supposed to be I get maybe 2 out of 10. The rest are all 0 bytes. No error messages at all. How could I rip flac files by hand and get more info? What is hald and when did it show up as necessary. I watched movies using xine the other day and didn't need it. Is this a Gnome/sound-juicer thing or something more global? What's wrong with ripping? Thanks, Mark -- gentoo-user@lists.gentoo.org mailing list -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] [SOLVED] package.provided
On Tue, 8 Jan 2008 21:53:54 + Neil Bothwick [EMAIL PROTECTED] wrote: (2) echo media-video/mplayer-1.0_rc2_p24929-r2 /etc/portage/package.provided This should be /etc/portage/profile/package.provided man portage explains the location and function of these files. That was it. Obviously I've read what I had expected to see instead of what is really written. Now I get e big fat warning from emerge and all works as expected: === WARNING: A requested package will not be merged because it is listed in package.provided: media-video/mplayer pulled in by 'world' This problem can be solved in one of the following ways: A) Use emaint to clean offending packages from world (if not installed). B) Uninstall offending packages (cleans them from world). C) Remove offending entries from package.provided. The best course of action depends on the reason that an offending package.provided entry exists. === Perfect! Thanks guys! -- Best regards, Daniel -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] How to update portage offline with minimal impact?
On Jan 8, 2008 7:13 PM, BRM [EMAIL PROTECTED] wrote: --- Per-Erik Westerberg [EMAIL PROTECTED] wrote: tor 2008-01-03 klockan 13:16 -0800 skrev BRM: I have a couple Sparc systems. One has been running Gentoo for a long time - installed using Gentoo 2006, not updated since due to the issue I'm about the discuss - and the other is a near identical system that might get Gentoo 2007 installed. Both are on two separate networks and have no communication between them. The first system does have some Internet access through a firewall, but it doesn't really work, at least for this purpose; so it's just as good as not having any access at all for this purpose. snip In either case, I can't update portage using the normal method of 'emerge --sync'. So, I'm trying to figure out a solution that would enable me to update the systems. Under Slackware, I'd just point pkgtool to the CD media and install from that, just like during installation. Is there a similar approach for Gentoo? How do I overcome the source mirror issue too so that the systems don't try to download stuff from the web? Have you tried to use a proxy (adjust accordingly)? export http_proxy=http://proxy.company.com:8080 export ftp_proxy=http://proxy.company.com:8080 export RSYNC_PROXY=proxy.company.com:8080 Yes, I tried using the proxy on the one system. (The other system won't even have that as an option.) The problem came there that the proxy is an authenticated proxy, primarily designed to work with Windows. It works fine from Firefox/Netscape in X Windows, but causes problems for command-line tools and console browsers. So, in addition to my trying to find a solution where a proxy is not an option, it is, for all intents and purposes, a non-option any way. If you really don't wanna use the network, you can easily transfer a tarball and rsync locally (gentoo forums have little nifty scripts for syncing locally and emerging metadata). The foruns also have lots of scripts designed to create a list of needed distfiles and download them at another machine, you can transfer this and update. With a little set of scripts you can automate the whole process using the network, or require minor user intervention to transfer the list and later the files to and from a networkless machine. Additionally, because it is an authenticated proxy, it is not an ideal solution as it would leave the username/password for a user in plain site of all users on the system as the info would be either in the environment variables and/or the command-line options of a program. So, from a security stand-point, it's not an option either since it sometimes takes a day or so to perform updates. There's no problem in using an authenticated proxy for emerge-webrsync, as you can keep a script in a directory with restricted permissions, only root would be able to see it anyway, and you can use this machine as an rsync and distfiles mirror for any other in the network, crontab would work as well, as only the user who creates it can see it (if you set it). You can even set a special username/password at your proxy that can only access rsync port and mirrors for distfiles for increased security. OK, those are some of MANY options available. Gentoo is very flexible, even in a controlled environment. -- Daniel da Veiga Filosofia de TI: Programadores de verdade consideram o conceito o que você vê é o que você tem tão ruim em editores de texto quanto em mulheres. Não, o programador de verdade quer um editor de texto do estilo você pediu, você levou - complicado, indecifrável, poderoso, impiedoso, perigoso.
Re: [gentoo-user] What's with this hald thing and why can't I rip CDs any more?
Naiani Rosa de Barros wrote: Forgot to mention: about the problem with ripping CDs, and if it sort of works when you start hald, I'd say you should try re-emerging it. Maybe something got corrupted somehow, or is just outdated. Good luck! And if you are like me and don't reboot much, maybe restart hald and see if it starts without error. You may also want to check ivman and dbus, if you have them installed, to see if something fishy is going on there as well. Dale :-) :-) -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] How to update portage offline with minimal impact?
--- Daniel da Veiga [EMAIL PROTECTED] wrote: On Jan 8, 2008 7:13 PM, BRM [EMAIL PROTECTED] wrote: --- Per-Erik Westerberg [EMAIL PROTECTED] wrote: tor 2008-01-03 klockan 13:16 -0800 skrev BRM: I have a couple Sparc systems. One has been running Gentoo for a long time - installed using Gentoo 2006, not updated since due to the issue I'm about the discuss - and the other is a near identical system that might get Gentoo 2007 installed. Both are on two separate networks and have no communication between them. The first system does have some Internet access through a firewall, but it doesn't really work, at least for this purpose; so it's just as good as not having any access at all for this purpose. snip In either case, I can't update portage using the normal method of 'emerge --sync'. So, I'm trying to figure out a solution that would enable me to update the systems. Under Slackware, I'd just point pkgtool to the CD media and install from that, just like during installation. Is there a similar approach for Gentoo? How do I overcome the source mirror issue too so that the systems don't try to download stuff from the web? Have you tried to use a proxy (adjust accordingly)? export http_proxy=http://proxy.company.com:8080 export ftp_proxy=http://proxy.company.com:8080 export RSYNC_PROXY=proxy.company.com:8080 Yes, I tried using the proxy on the one system. (The other system won't even have that as an option.) The problem came there that the proxy is an authenticated proxy, primarily designed to work with Windows. It works fine from Firefox/Netscape in X Windows, but causes problems for command-line tools and console browsers. So, in addition to my trying to find a solution where a proxy is not an option, it is, for all intents and purposes, a non-option any way. If you really don't wanna use the network, you can easily transfer a tarball and rsync locally (gentoo forums have little nifty scripts for syncing locally and emerging metadata). The foruns also have lots of scripts designed to create a list of needed distfiles and download them at another machine, you can transfer this and update. With a little set of scripts you can automate the whole process using the network, or require minor user intervention to transfer the list and later the files to and from a networkless machine. Any that you recommend? This sounds like what I want. Additionally, because it is an authenticated proxy, it is not an ideal solution as it would leave the username/password for a user in plain site of all users on the system as the info would be either in the environment variables and/or the command-line options of a program. So, from a security stand-point, it's not an option either since it sometimes takes a day or so to perform updates. There's no problem in using an authenticated proxy for emerge-webrsync, as you can keep a script in a directory with restricted permissions, only root would be able to see it anyway, and you can use this machine as an rsync and distfiles mirror for any other in the network, crontab would work as well, as only the user who creates it can see it (if you set it). You can even set a special username/password at your proxy that can only access rsync port and mirrors for distfiles for increased security. OK, those are some of MANY options available. Gentoo is very flexible, even in a controlled environment. True - gentoo is very flexible, and its emerging management is why I chose it for the first system behind the proxy. When I had originally set up the system, the proxies weren't authenticated and things worked. Unfortunately, I don't have any control of the proxies and the only thing I can do is use my own username and password - thus putting some personal liability on the line as the company would hold me responsible. I am aware I can do a restricted script - but I still end up with the problem (which is documented) that someone could possibly sniff the environment of the script and get the username/password, or sniff the program names - as listed by 'ps' and other sources (e.g. the kernel) - and get it there too, depending on how ftp/wget/etc. are called. Unfortunately, the system behind the proxy may have other issues. Apparently some of the primary software for the system (Apache, Subversion, Trac) didn't ever get emerged. I know I can list it as already provided, but that would cause a problem with updating that software via emerging, no? (Which is what I really want!) So, the system may need a complete rebuild to do it right, and I'm not sure how I would be able to do that at the moment for a number of reasons beyond the scope of my problem here. So that system will likely sit as it is for a long time to come... Any how...I still have another system that has not yet been setup that I need to figure this out for
[gentoo-user] Re: FreeAgent extn. Drive setup ideas
Christopher Copeland chrcop at gmail.com writes: Yes, some help with udev rules or a slick trick via fstab is what I was really after. Or maybe something cool related to the usb buss and a trick to *uniquely lable* usb devices. Would using the UUID for the partition work for you? vol_id /dev/sdXX You can use UUID=blah in your fstab. Possible, I'm not sure what the UUID (Universally Unique ID)? OK so here's what I have from lsusb: Bus 001 Device 003: ID 0bc2:3000 Seagate RSS LLC I not sure what the FStab entry would like like? I use ntfs-3g for many of them. Currently, it's a manual juggling act as to which device is called what on the various systems. Very prone to mistakes as there is no consistency as the devices are moved between systems in an asymmetrical dance If I use a UUID, how do I 'burn/label/add' it to the device, so when it is moved to another system it's UUID that I have created is recognized? Maybe use the serial number as a unique (UUID) label? If so, I'd need a tool/script/program to rip the serial number from the usb buss. and then compare it to the FStab or udev rules. Maybe sd(serial-number) so they always show up uniquely? Add cameras and audio devices, not to mention embedded programmers and boards and I'm ready to .. From usbview: FreeAgentDesktop Manufacturer: Seagate Serial Number: 6QG1FYPA Can you flesh out your idea with a little bit more detail? (remember I have many usb devices and move them frequently between windows and Gentoo systems). James -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] CUPS problem
Alan E. Davis wrote: When attempting to boot to that kernel, or other gentoo kernels I have compiled around (I do not use initrd/genkernel), almost every time since the initial boot (that went ok), the machine locks up during boot. It might take three or four attempts, but the machine locks up somewhere during the process. After cupsd has been started, somewhere around where syslog-ng is started, or hal, the machine locks. The next boot it stops ate approximately the same place, or perhaps further along. Finally, usually three or four boots later, it boots and no further problems are experienced. Have you run a memory test? -- Randy Barlow http://electronsweatshop.com -- gentoo-user@lists.gentoo.org mailing list