[gentoo-user] Re: midori-9999: tricky conflicts
> I get some pretty tricky-looking conflicts when trying to emerge > midori- from the elementary overlay. Has anyone been able to get > this installed? Actually it looks like midori-0.5.5:elementary has the same difficult list of dependencies which is not correct because I have midori-0.5.5 installed from portage and it's running without those extra packages. I've contacted the author. - Grant > !!! Multiple package instances within a single package slot have been pulled > !!! into the dependency graph, resulting in a slot conflict: > > net-libs/webkit-gtk:3 > > (net-libs/webkit-gtk-2.0.4::gentoo, ebuild scheduled for merge) pulled in by > >=net-libs/webkit-gtk-1.10.2:3 required by > (www-client/midori-::elementary, ebuild scheduled for merge) > > (net-libs/webkit-gtk-1.8.3-r300::gentoo, installed) pulled in by > (www-client/midori-::elementary, ebuild scheduled for merge) > > x11-libs/gtk+:3 > > (x11-libs/gtk+-3.8.4::gentoo, ebuild scheduled for merge) pulled in by > >=x11-libs/gtk+-3.6.0:3[aqua=,introspection?] required by > (net-libs/webkit-gtk-2.0.4::gentoo, ebuild scheduled for merge) > > (x11-libs/gtk+-3.4.4::gentoo, installed) pulled in by > (x11-themes/gnome-themes-standard-3.4.2::gentoo, installed) > > dev-libs/glib:2 > > (dev-libs/glib-2.32.4-r1::gentoo, installed) pulled in by > (dev-libs/gobject-introspection-1.32.1::gentoo, installed) > > (dev-libs/glib-2.36.4-r1::gentoo, ebuild scheduled for merge) pulled in by > >=dev-libs/glib-2.36.0:2 required by > (net-libs/libsoup-2.42.2-r1::gentoo, ebuild scheduled for merge) > (and 4 more with the same problem) > > net-libs/libsoup:2.4 > > (net-libs/libsoup-2.38.1::gentoo, installed) pulled in by > ~net-libs/libsoup-2.38.1[introspection?] required by > (net-libs/libsoup-gnome-2.38.1::gentoo, installed) > > (net-libs/libsoup-2.42.2-r1::gentoo, ebuild scheduled for merge) pulled in > by > >=net-libs/libsoup-2.42.0:2.4[introspection?] required by > (net-libs/webkit-gtk-2.0.4::gentoo, ebuild scheduled for merge) > > x11-libs/pango:0 > > (x11-libs/pango-1.30.1::gentoo, installed) pulled in by > (no parents that aren't satisfied by other packages in this slot) > > (x11-libs/pango-1.34.1::gentoo, ebuild scheduled for merge) pulled in by > >=x11-libs/pango-1.32.4[introspection?] required by > (x11-libs/gtk+-3.8.4::gentoo, ebuild scheduled for merge) > > * Error: The above package list contains packages which cannot be > * installed at the same time on the same system. > > (gnome-base/gnome-keyring-2.32.1-r1::gentoo, installed) pulled in by > >=gnome-base/gnome-keyring-0.4 required by > (gnome-base/libgnomeui-2.24.5::gentoo, installed) > >=gnome-base/gnome-keyring-2.29[test?] > (>=gnome-base/gnome-keyring-2.29) required by > (gnome-base/libgnome-keyring-2.32.0::gentoo, installed) > > (app-crypt/gcr-3.4.1-r2::gentoo, ebuild scheduled for merge) pulled in by > >=app-crypt/gcr-3 required by (www-client/midori-::elementary, > ebuild scheduled for merge) > > - Grant
Re: [gentoo-user] re: automounting removable drives
On 07/10/13 00:01, Frank Steinmetzger wrote: On Sun, Oct 06, 2013 at 07:01:09PM +0300, Alexander Kapshuk wrote: I want to be able auto-mount removable drives. I'm running xfce: box0=; equery list xfce-base/xfce4-meta * Searching for xfce4-meta in xfce-base ... [IP-] [ ] xfce-base/xfce4-meta-4.10:0 and kernel: box0=; uname -a Linux box0 3.10.7-gentoo-r1 #1 SMP Sat Oct 5 23:57:58 EEST 2013 i686 Intel(R) Pentium(R) Dual CPU T3400 @ 2.16GHz GenuineIntel GNU/Linux Is udisks the only avenue available to me, as shown here?: http://wiki.gentoo.org/wiki/Udisks I only use XFCE very sporadically, but I remember missing that feature at first, too. IIRC, you lack xfce-extra/xfce4-mount-plugin which is not part of the basic meta installation. wrong. xfce4-mount-plugin is a plug-in to define manual mount points and do manual mounting.
[gentoo-user] midori-9999: tricky conflicts
I get some pretty tricky-looking conflicts when trying to emerge midori- from the elementary overlay. Has anyone been able to get this installed? !!! Multiple package instances within a single package slot have been pulled !!! into the dependency graph, resulting in a slot conflict: net-libs/webkit-gtk:3 (net-libs/webkit-gtk-2.0.4::gentoo, ebuild scheduled for merge) pulled in by >=net-libs/webkit-gtk-1.10.2:3 required by (www-client/midori-::elementary, ebuild scheduled for merge) (net-libs/webkit-gtk-1.8.3-r300::gentoo, installed) pulled in by =x11-libs/gtk+-3.6.0:3[aqua=,introspection?] required by (net-libs/webkit-gtk-2.0.4::gentoo, ebuild scheduled for merge) (x11-libs/gtk+-3.4.4::gentoo, installed) pulled in by =dev-libs/glib-2.36.0:2 required by (net-libs/libsoup-2.42.2-r1::gentoo, ebuild scheduled for merge) (and 4 more with the same problem) net-libs/libsoup:2.4 (net-libs/libsoup-2.38.1::gentoo, installed) pulled in by ~net-libs/libsoup-2.38.1[introspection?] required by (net-libs/libsoup-gnome-2.38.1::gentoo, installed) (net-libs/libsoup-2.42.2-r1::gentoo, ebuild scheduled for merge) pulled in by >=net-libs/libsoup-2.42.0:2.4[introspection?] required by (net-libs/webkit-gtk-2.0.4::gentoo, ebuild scheduled for merge) x11-libs/pango:0 (x11-libs/pango-1.30.1::gentoo, installed) pulled in by (no parents that aren't satisfied by other packages in this slot) (x11-libs/pango-1.34.1::gentoo, ebuild scheduled for merge) pulled in by >=x11-libs/pango-1.32.4[introspection?] required by (x11-libs/gtk+-3.8.4::gentoo, ebuild scheduled for merge) * Error: The above package list contains packages which cannot be * installed at the same time on the same system. (gnome-base/gnome-keyring-2.32.1-r1::gentoo, installed) pulled in by >=gnome-base/gnome-keyring-0.4 required by (gnome-base/libgnomeui-2.24.5::gentoo, installed) >=gnome-base/gnome-keyring-2.29[test?] (>=gnome-base/gnome-keyring-2.29) required by (gnome-base/libgnome-keyring-2.32.0::gentoo, installed) (app-crypt/gcr-3.4.1-r2::gentoo, ebuild scheduled for merge) pulled in by >=app-crypt/gcr-3 required by (www-client/midori-::elementary, ebuild scheduled for merge) - Grant
[gentoo-user] Re: separate / and /usr to require initramfs 2013-11-01
Gregory Shearman gmail.com> writes: > b) The important reason I need an initramfs is that I have my root > filesystems on LVM partitions (except for my ARM servers). Hello Gregory, Please tell me, as much as you are confortable with, about your ARM servers Running Gentoo? Running Embedded Gentoo? Which kernels? HDD ? File Systems? Configurations, Grub 2? LVM, RAID ? Typical usage? What install docs did you follow? Any suggestions on setting up ARM servers, cluster, and such are most welcome. etc etc etc. curiously, James
Re: [gentoo-user] Network failed and weird error message
Update. I figure what the heck. Time to crawl under the desk for a while. I stop the UPS services and then unplug the USB cable to the UPS. The error stops. I plug the cable back up with the services NOT started, no error but it spits out the messages that it sees the UPS and such. I start the upsdrv service, here comes the errors again. I stop the service, the error stops. I then tried a older version of nut. Same error when I start the service. So, if it is not trying to really manage anything other than seeing the UPS as being connected, no error. As soon as it tries to do something like talk to the UPS with the service, error messages. Does this help any? I may try some other stuff but this is interesting and getting more so when I find out more info. Oh, I also tried a different USB port too. This one has a blue circle around it on the cover. Must be USB3. ^_^ Dale :-) :-) -- I am only responsible for what I said ... Not for what you understood or how you interpreted my words!
Re: [gentoo-user] Network failed and weird error message
Alan McKinnon wrote: > On 06/10/2013 21:24, Dale wrote: >> Alan McKinnon wrote: >>> On 06/10/2013 20:36, Dale wrote: Alan McKinnon wrote: > These days all you need is ehci for usb2 and xhci for usb3 (unless you > are using ancient hardware with physical usb1 ports) Well, I rebuilt the kernel and removed the OHCI and UHCI. When I rebooted, it couldn't see my UPS and nut couldn't start its services. So, it appears that mine must be "ancient" hardware. My messages file is still full of the same error after this change. That would be adding back the OHCI part. >>> lsusb, lshw, dmideciode and friends will tell you what hardware you >>> really have >>> >> Yep, they say it needs OHCI. I also checked here and it says the same >> thing. >> >> http://kmuto.jp/debian/hcl/Giga-byte/GA-770T-USB3 >> >> I guess my hardware is just a little out of date. ;-) > I thought your hardware was new enough to have dropped USB1 ports. Oh well. > Well, when I bought my mobo, it was on sale for clearing out old stock. For this mobo, USB3 was pretty new from my understanding. I think my mobo is just a bit weird. It is sort of Heinz 57 on what it has for USB. lol >> >> BTW, I didn't have XHCI enabled so maybe now some things will be faster when using USB ports. ;-) >>> Nope. The hardware only runs at whatever speed it runs at. >>> >>> A USB2 device plugged into a USB3 port runs at USB2 speeds. >>> A USB1 and a USB2 device plugged into the same USB port makes both runs >>> at USB1 speeds >>> >>> There's no magic software to change that. >>> >>> But if you plug a USB3 drive into a USB3 port controlled by an OHCI >>> driver, it will run at USB2 speeds. Switching to XHCI is the only thing >>> you could do to improve speeds >> That's what I meant tho. I have USB3 ports but it seems they have been >> running at USB2 speeds since I never enabled USB3 drivers. I sort of >> missed that. No clue if the stuff I am plugging in supports USB3 or not >> tho. Maybe my USB sticks do tho. > Your USB sticks are not USB3. I have yet to see one anywhere that is. I > don;t thing they are even remotely fast enough to warrant it > > If you have USB3 drives, you already know all about it. It would have > had USB3 logos emblazened all over the box, it would have cost more than > a comparable USB2 drive of the same capacity, I will be newish (last 2 > years?) and the connectors are different: > > The full-size classic USB plug has a blue insulator and if you look > inside it has extra pins at the rear. The end that plugs into the drive > is usually micro-USB3 and it clearly consists of 2 sections - a regular > micro-usb set of pins (that does accept old micro-usb cables) and a > second set that is slightly shorter. > > You can't get this wrong, the cables are very different and yet still > backwards compatible. If your drives don't have such unusual sockets, > they are not USB3 > > > That's my thinking. I rarely if ever buy the latest greatest thing. I go down a level or two, sometimes three, to save money. Heck, my old rig was a AMD 2500+ single core system. This AMD 4 core at 3.2GHz is MUCH faster. It also can have more memory too. I could take the sides off and look. I know the connectors are different on the mobo but I'm not positive what goes to the front. If I recall correctly, I put the fast ones to the front but that's just my thinking too. ;-) That error message repeats about every two seconds. I'm glad I have logrotate installed or /var would have filled up ages ago. Dale :-) :-) -- I am only responsible for what I said ... Not for what you understood or how you interpreted my words!
Re: [gentoo-user] Network failed and weird error message
Bruce Hill wrote: > On Sun, Oct 06, 2013 at 01:36:50PM -0500, Dale wrote: >> Well, I rebuilt the kernel and removed the OHCI and UHCI. When I >> rebooted, it couldn't see my UPS and nut couldn't start its services. >> So, it appears that mine must be "ancient" hardware. My messages file >> is still full of the same error after this change. That would be adding >> back the OHCI part. >> >> BTW, I didn't have XHCI enabled so maybe now some things will be faster >> when using USB ports. ;-) >> >> Is it safe to disable this and will this kill the messages: USB verbose >> debug messages >> >> This is a grep of USB stuff. >> >> root@fireball / # zcat /proc/config.gz | grep -i hci >> CONFIG_SATA_AHCI=y >> # CONFIG_SATA_AHCI_PLATFORM is not set >> # CONFIG_SATA_ACARD_AHCI is not set >> # CONFIG_FIREWIRE_OHCI is not set >> CONFIG_USB_ARCH_HAS_OHCI=y >> CONFIG_USB_ARCH_HAS_EHCI=y >> CONFIG_USB_ARCH_HAS_XHCI=y >> CONFIG_USB_XHCI_HCD=y >> # CONFIG_USB_XHCI_HCD_DEBUGGING is not set >> CONFIG_USB_EHCI_HCD=y >> # CONFIG_USB_EHCI_ROOT_HUB_TT is not set >> # CONFIG_USB_EHCI_TT_NEWSCHED is not set >> CONFIG_USB_EHCI_PCI=y >> CONFIG_USB_OHCI_HCD=y >> # CONFIG_USB_OHCI_HCD_PLATFORM is not set >> # CONFIG_USB_EHCI_HCD_PLATFORM is not set >> # CONFIG_USB_OHCI_BIG_ENDIAN_DESC is not set >> # CONFIG_USB_OHCI_BIG_ENDIAN_MMIO is not set >> CONFIG_USB_OHCI_LITTLE_ENDIAN=y >> # CONFIG_USB_UHCI_HCD is not set >> CONFIG_PROVIDE_OHCI1394_DMA_INIT=y >> root@fireball / # >> >> So, now what? Can I tell syslog to ignore that error or do I need to >> beat something into the kernel? >> >> Dale > Is this your motherboard? > > http://www.gigabyte.com/products/product-page.aspx?pid=3320#sp > > If so, you have 6 USB 2.0 ports, and 2 USB 3.0. The ports with blue are the > USB 3.0 ports. Therefore, your kernel needs EHCI (USB 2.0/1.0/1.1) and XHCI > (USB 3.0). (This is not including the internal connectors on your board which > might have a cable running to the front of your case as USB 2.0.) > > No matter how special you think your setup is, you don't need OHCI. The EHCI > driver for the port is backwards compatible with a USB 1.{0,1} device. I've > tested this on my boards using the only USB 1.1 device I brought back from > China. If you doubt me, build your kernel with this: > > CONFIG_USB_EHCI_HCD=y > CONFIG_USB_EHCI_PCI=y > CONFIG_USB_EHCI_HCD_PLATFORM=y > > CONFIG_USB_XHCI_HCD=y > > CONFIG_USB_OHCI_HCD is not set > > CONFIG_USB_UHCI_HCD is not set > > boot into it, issue "tail -f /var/log/messages" and plug in your USB devices. That's what I did. I removed OHCI and UHCI, which was already disabled, and after the rebuild etc etc etc, I got a error that upsdrv could not see the UPS. It requires USB1 which is also what that other link says for my mobo. It seems mine may not be backward compatible or something. I just know that when I disable the older drivers, it can't see my UPS anymore. When I add the older ones, I get all the errors in messages but it sees my UPS. The original config had OHCI enabled. My mobo doesn't need UHCI. I didn't have EHCI enabled but likely don't need it anyway. I don't think anything I have is USB3 based on what folks are posting here. So, to recap, if I remove OHCI, my UPS can't be seen. If I enabled it, it works but I get errors. I just wonder now how long this has been going on. :/ Oh, I have not touched the BIOS is ages. Heck, I can't recall going in and changing or even looking at anything in the BIOS. Dale :-) :-) -- I am only responsible for what I said ... Not for what you understood or how you interpreted my words!
Re: [gentoo-user] Network failed and weird error message
Frank Steinmetzger wrote: > On Sun, Oct 06, 2013 at 03:31:43PM -0500, Dale wrote: >> Neil Bothwick wrote: >>> On Sun, 06 Oct 2013 14:24:25 -0500, Dale wrote: >>> That's what I meant tho. I have USB3 ports but it seems they have been running at USB2 speeds since I never enabled USB3 drivers. I sort of missed that. No clue if the stuff I am plugging in supports USB3 or not tho. Maybe my USB sticks do tho. >>> Look at the connectors. If the insulator is blue, the device is USB3. > ^^-^ >> The USB sticks I have is made my Kinston. It has DataTraveler wrote on >> them. One is 16Gb and the other is 4GB. They seem to be color coded by >> size to me. > Please rinse and re-read. ;-) I looked at those. They have no color at all. It's just metal on mine. I've had them for a while so I suspect they are USB2. Just a thought tho. They could be USB1 for all I know. Dale :-) :-) -- I am only responsible for what I said ... Not for what you understood or how you interpreted my words!
Re: [gentoo-user] Multiple package instances within a single package slot
On Mon, 7 Oct 2013 00:01:33 +0200, Alex Schuster wrote: > > As a workround, you could remove LO from your world file, do your > > updates but don't depclean, then put it back with > > > > emerge -n libreoffice > > > > It may be quicker than trying to track down the cause. > > I don't worry about this. I will add --exclude app-office/libreoffice to > EMERGE_DEFAULTS_OPTS, and wait for the bug to be fixed by someone. Ah yes, I forgot about that option. A simpler way of doing the same thing. I'd use a specific version so that you don't miss out on updates. -- Neil Bothwick In space, no one can hear you fart. signature.asc Description: PGP signature
Re: [gentoo-user] Network failed and weird error message
On Sun, 06 Oct 2013 23:07:20 +0200, Alan McKinnon wrote: > Your USB sticks are not USB3. I have yet to see one anywhere that is. I can send you a photo of mine :) > I don;t thing they are even remotely fast enough to warrant it It is noticeably, but not massively, faster. -- Neil Bothwick The severity of the itch is inversely proportional to the reach. signature.asc Description: PGP signature
Re: [gentoo-user] separate / and /usr to require initramfs 2013-11-01
In linux.gentoo.user, Tanstaafl wrote: > On 2013-09-29 4:09 PM, Alan McKinnon wrote: >> On 29/09/2013 19:59, Tanstaafl wrote: >>> I've been told that this shouldn't be a big deal... while I am a >>> (barely) passable linux sys admin >> >> Allow me to forward an opinion. The above is not true, not even close. >> >> Don't knock yourself, you don't deserve it :-) > > Lol!!! At first I thought you were saying that it wasn't true that > merging /usr into / shouldn't be a big deal - and I was about to start > gnashing my teeth (again). > > Thanks Alan, your words are very kind... and I'll just leave it at > that... ;) I've just changed one of my machines so that /usr is now part of the root filesystem. Like you, I had a separate /usr filesystem. Unlike you I've been running an initramfs for many years because: a) I'm running laptops and like them to have pretty graphical boot screens and no "ugly writing" appearing during the boot sequence. It's silly, I know, but it still looks pretty. The initramfs will start up "bootsplash" 8-) b) The important reason I need an initramfs is that I have my root filesystems on LVM partitions (except for my ARM servers). I've never has a scrap of trouble with the genkernel initramfs builds, despite myriad updates over the years. I've had minor niggles with display but nothing critical. So while I've run an initramfs for many years, now it has had to mount /usr before the "pivot_root" command. This has led to the problem that /usr is no longer able to be fscked because it is already mounted, and I cannot for the life of me, get the genkernel initramfs to fsck the /usr filesystem before mounting. I've had to manually fsck the /usr filesystem by running my minimal install CD. There are probably ways to do this (like fscking /usr on shutdown, which I couldn't get working) but I'm sick of looking for them. I've bit the bullet and changed things over. It went without a hitch. Here's what I did: I added a new LVM volume group and added a "slash" filesystem (10Gb), a "usrsrc" filesystem for my kernels (10Gb), a "portage" filesystem (3Gb), a "distfiles" filesystem (15Gb) and a "packages" filesystem (10Gb). Because these are on LVM they can be adjusted upwards or downwards depending on usage. I updated /etc/default/grub so that the new kernel command line will find my new "slash" LVM volume, and ran the grub2 installer to make the change valid. I then shut down the machine, booted my minimal install CD, used LVM to find my filesystems. I then mounted my new "slash" and mounted the new filesystems. I also decided to move portage, distfiles and packages to the old /var partition but to do so I first had to mount them in their old positions on /usr/portage /usr/portage/distfiles etc... Once done, I mounted the old "slash" and the old "/usr" (with included distfiles and packages and portage) then did the "cp -av ". It was then possible to unmount distfiles, packages and portage and then move them to /var (mount /var and mkdir /var/portage /var/distfiles and /var/packages) I altered the new "slash" fstab. I then rebooted without a hitch. Oh, I also had to update /etc/portage/make.conf and the "make.profile" symlink to reflect the change. It seems complicated but every step was logical. Having my root filesystem on LVM has made the change more complicated than it should have been, but it still was quite easy to do and downtime was minimal. I don't feel like I've been "forced" to do anything. I'm grateful for the Gentoo devs and their hard work over the years. This upstream change is just a small bump in the long Gentoo road. If I didn't agree with the change then it would be up to me to find a way to get my system to work without an initramfs, not the Gentoo Devs... after all, this IS open source. Be grateful that the Gentoo Devs are still willing to volunteer their time building this great distribution. -- Regards, Gregory.
Re: [gentoo-user] Multiple package instances within a single package slot
Helmut Jarausch writes: > You are not alone, Alex, please see > > https://bugs.gentoo.org/show_bug.cgi?id=486438 Thanks! Alan McKinnon writes: > On 05/10/2013 20:30, Alex Schuster wrote: > > Neil Bothwick writes: > >>> And whatever package I try to update, emerge wants to remerge > >>> libreoffice. Happens with all the packages I tried, which are > >>> adobe-flash, python, zsh, xterm. > >> > >> If portage believes LO needs to be rebuilt, it will try to do so > >> whichever packages you are emerging, just let it happen. > > > > I already did that, twice, when updating portage and chromium. emerge > > still wants to remerge libreoffice whenever I upgrade a package. > > > >> With a suitable > >> --jobs setting, portage will emerge all the other packages before LO > >> is done. > > > > No, at least with portage, the installation happened after > > libreoffice was installed. > > > > weird ~ # emerge -1uaj portage > > > > These are the packages that would be merged, in order: > > > > Calculating dependencies... done! > > [ebuild r U ] app-office/libreoffice-4.1.2.2-r1 [4.1.2.2] > > [ebuild U ] sys-apps/portage-2.2.7 [2.2.0_alpha188] > > [...] > Emerging (1 of 2) app-office/libreoffice-4.1.2.2-r1 > Emerging (2 of 2) sys-apps/portage-2.2.7 > Installing (1 of 2) app-office/libreoffice-4.1.2.2-r1 > Installing (2 of 2) sys-apps/portage-2.2.7 > Jobs: 2 of 2 completeLoad avg: 3.06, 2.76, 2.63 > Now that you have upgraded portage, does this behaviour (always wanting > to rebuild LO) still happen? Yes. As I wrote, I upgraded portage (and LO), then claws (excluding LO this time), then chromium (along with LO). No more packages yet, but every upgrade would remerge LO. Downgrading to portage 2.2.6 does not help. Neil Bothwick writes: > On Sat, 5 Oct 2013 20:30:36 +0200, Alex Schuster wrote: > > > > If portage believes LO needs to be rebuilt, it will try to do so > > > whichever packages you are emerging, just let it happen. > > > > I already did that, twice, when updating portage and chromium. emerge > > still wants to remerge libreoffice whenever I upgrade a package. > > As a workround, you could remove LO from your world file, do your > updates but don't depclean, then put it back with > > emerge -n libreoffice > > It may be quicker than trying to track down the cause. I don't worry about this. I will add --exclude app-office/libreoffice to EMERGE_DEFAULTS_OPTS, and wait for the bug to be fixed by someone. Alex
Re: [gentoo-user] Network failed and weird error message
On Sun, Oct 06, 2013 at 01:36:50PM -0500, Dale wrote: > > Well, I rebuilt the kernel and removed the OHCI and UHCI. When I > rebooted, it couldn't see my UPS and nut couldn't start its services. > So, it appears that mine must be "ancient" hardware. My messages file > is still full of the same error after this change. That would be adding > back the OHCI part. > > BTW, I didn't have XHCI enabled so maybe now some things will be faster > when using USB ports. ;-) > > Is it safe to disable this and will this kill the messages: USB verbose > debug messages > > This is a grep of USB stuff. > > root@fireball / # zcat /proc/config.gz | grep -i hci > CONFIG_SATA_AHCI=y > # CONFIG_SATA_AHCI_PLATFORM is not set > # CONFIG_SATA_ACARD_AHCI is not set > # CONFIG_FIREWIRE_OHCI is not set > CONFIG_USB_ARCH_HAS_OHCI=y > CONFIG_USB_ARCH_HAS_EHCI=y > CONFIG_USB_ARCH_HAS_XHCI=y > CONFIG_USB_XHCI_HCD=y > # CONFIG_USB_XHCI_HCD_DEBUGGING is not set > CONFIG_USB_EHCI_HCD=y > # CONFIG_USB_EHCI_ROOT_HUB_TT is not set > # CONFIG_USB_EHCI_TT_NEWSCHED is not set > CONFIG_USB_EHCI_PCI=y > CONFIG_USB_OHCI_HCD=y > # CONFIG_USB_OHCI_HCD_PLATFORM is not set > # CONFIG_USB_EHCI_HCD_PLATFORM is not set > # CONFIG_USB_OHCI_BIG_ENDIAN_DESC is not set > # CONFIG_USB_OHCI_BIG_ENDIAN_MMIO is not set > CONFIG_USB_OHCI_LITTLE_ENDIAN=y > # CONFIG_USB_UHCI_HCD is not set > CONFIG_PROVIDE_OHCI1394_DMA_INIT=y > root@fireball / # > > So, now what? Can I tell syslog to ignore that error or do I need to > beat something into the kernel? > > Dale Is this your motherboard? http://www.gigabyte.com/products/product-page.aspx?pid=3320#sp If so, you have 6 USB 2.0 ports, and 2 USB 3.0. The ports with blue are the USB 3.0 ports. Therefore, your kernel needs EHCI (USB 2.0/1.0/1.1) and XHCI (USB 3.0). (This is not including the internal connectors on your board which might have a cable running to the front of your case as USB 2.0.) No matter how special you think your setup is, you don't need OHCI. The EHCI driver for the port is backwards compatible with a USB 1.{0,1} device. I've tested this on my boards using the only USB 1.1 device I brought back from China. If you doubt me, build your kernel with this: CONFIG_USB_EHCI_HCD=y CONFIG_USB_EHCI_PCI=y CONFIG_USB_EHCI_HCD_PLATFORM=y CONFIG_USB_XHCI_HCD=y CONFIG_USB_OHCI_HCD is not set CONFIG_USB_UHCI_HCD is not set boot into it, issue "tail -f /var/log/messages" and plug in your USB devices. -- Happy Penguin Computers >') 126 Fenco Drive ( \ Tupelo, MS 38801 ^^ supp...@happypenguincomputers.com 662-269-2706 662-205-6424 http://happypenguincomputers.com/ A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? Don't top-post: http://en.wikipedia.org/wiki/Top_post#Top-posting
Re: [gentoo-user] Network failed and weird error message
On 06/10/2013 21:24, Dale wrote: > Alan McKinnon wrote: >> On 06/10/2013 20:36, Dale wrote: >>> Alan McKinnon wrote: These days all you need is ehci for usb2 and xhci for usb3 (unless you are using ancient hardware with physical usb1 ports) >>> Well, I rebuilt the kernel and removed the OHCI and UHCI. When I >>> rebooted, it couldn't see my UPS and nut couldn't start its services. >>> So, it appears that mine must be "ancient" hardware. My messages file >>> is still full of the same error after this change. That would be adding >>> back the OHCI part. >> lsusb, lshw, dmideciode and friends will tell you what hardware you >> really have >> > > Yep, they say it needs OHCI. I also checked here and it says the same > thing. > > http://kmuto.jp/debian/hcl/Giga-byte/GA-770T-USB3 > > I guess my hardware is just a little out of date. ;-) I thought your hardware was new enough to have dropped USB1 ports. Oh well. > > > >>> BTW, I didn't have XHCI enabled so maybe now some things will be faster >>> when using USB ports. ;-) >> Nope. The hardware only runs at whatever speed it runs at. >> >> A USB2 device plugged into a USB3 port runs at USB2 speeds. >> A USB1 and a USB2 device plugged into the same USB port makes both runs >> at USB1 speeds >> >> There's no magic software to change that. >> >> But if you plug a USB3 drive into a USB3 port controlled by an OHCI >> driver, it will run at USB2 speeds. Switching to XHCI is the only thing >> you could do to improve speeds > > That's what I meant tho. I have USB3 ports but it seems they have been > running at USB2 speeds since I never enabled USB3 drivers. I sort of > missed that. No clue if the stuff I am plugging in supports USB3 or not > tho. Maybe my USB sticks do tho. Your USB sticks are not USB3. I have yet to see one anywhere that is. I don;t thing they are even remotely fast enough to warrant it If you have USB3 drives, you already know all about it. It would have had USB3 logos emblazened all over the box, it would have cost more than a comparable USB2 drive of the same capacity, I will be newish (last 2 years?) and the connectors are different: The full-size classic USB plug has a blue insulator and if you look inside it has extra pins at the rear. The end that plugs into the drive is usually micro-USB3 and it clearly consists of 2 sections - a regular micro-usb set of pins (that does accept old micro-usb cables) and a second set that is slightly shorter. You can't get this wrong, the cables are very different and yet still backwards compatible. If your drives don't have such unusual sockets, they are not USB3 > >>> Is it safe to disable this and will this kill the messages: USB verbose >>> debug messages >> Well I have no idea. We haven't established yet what we are dealing with >> > > Those pesky errors filling up my message file right now. No clue on the > network part since it hasn't happened again. > >>> This is a grep of USB stuff. >>> >>> root@fireball / # zcat /proc/config.gz | grep -i hci >>> CONFIG_SATA_AHCI=y >>> # CONFIG_SATA_AHCI_PLATFORM is not set >>> # CONFIG_SATA_ACARD_AHCI is not set >>> # CONFIG_FIREWIRE_OHCI is not set >>> CONFIG_USB_ARCH_HAS_OHCI=y >>> CONFIG_USB_ARCH_HAS_EHCI=y >>> CONFIG_USB_ARCH_HAS_XHCI=y >>> CONFIG_USB_XHCI_HCD=y >>> # CONFIG_USB_XHCI_HCD_DEBUGGING is not set >>> CONFIG_USB_EHCI_HCD=y >>> # CONFIG_USB_EHCI_ROOT_HUB_TT is not set >>> # CONFIG_USB_EHCI_TT_NEWSCHED is not set >>> CONFIG_USB_EHCI_PCI=y >>> CONFIG_USB_OHCI_HCD=y >>> # CONFIG_USB_OHCI_HCD_PLATFORM is not set >>> # CONFIG_USB_EHCI_HCD_PLATFORM is not set >>> # CONFIG_USB_OHCI_BIG_ENDIAN_DESC is not set >>> # CONFIG_USB_OHCI_BIG_ENDIAN_MMIO is not set >>> CONFIG_USB_OHCI_LITTLE_ENDIAN=y >>> # CONFIG_USB_UHCI_HCD is not set >>> CONFIG_PROVIDE_OHCI1394_DMA_INIT=y >>> root@fireball / # >>> >>> So, now what? Can I tell syslog to ignore that error or do I need to >>> beat something into the kernel? >> First find out what those errors mean. Then and only then can you decide >> if they are ignorable or not >> >> > > I have googled the error and there is very little info about it. Most > of the hits now is my posts here about the error. I found something on > the kernel list but it didn't appear to be the same error but somewhat > close enough for google to grasp at straws. > > Basically, everything works that I can tell. If I can't change > something to fix the error, I'd just rather get rid of the error. > > I'm going to boot a new kernel and see if that helps. I been sticking > with this one because nvidia works well with this version but has some > hiccups with other versions. > > Dale > > :-) :-) > > P. S. I may be slow to reply at times. I may be out of town a lot this > next week depending on what is up with my brother. I know I will be out > of town tomorrow tho. > -- Alan McKinnon alan.mckin...@gmail.com
Re: [gentoo-user] re: automounting removable drives
On Sun, Oct 06, 2013 at 07:01:09PM +0300, Alexander Kapshuk wrote: > I want to be able auto-mount removable drives. I'm running xfce: > box0=; equery list xfce-base/xfce4-meta > * Searching for xfce4-meta in xfce-base ... > [IP-] [ ] xfce-base/xfce4-meta-4.10:0 > > and kernel: > box0=; uname -a > Linux box0 3.10.7-gentoo-r1 #1 SMP Sat Oct 5 23:57:58 EEST 2013 i686 > Intel(R) Pentium(R) Dual CPU T3400 @ 2.16GHz GenuineIntel GNU/Linux > > Is udisks the only avenue available to me, as shown here?: > http://wiki.gentoo.org/wiki/Udisks I only use XFCE very sporadically, but I remember missing that feature at first, too. IIRC, you lack xfce-extra/xfce4-mount-plugin which is not part of the basic meta installation. -- Gruß | Greetings | Qapla’ Please do not share anything from, with or about me with any Facebook service. “Don't put multiple statements on a single line unless you have something to hide.” – Linux Torvalds, Linux kernel coding style documentation signature.asc Description: Digital signature
Re: [gentoo-user] Network failed and weird error message
On Sun, Oct 06, 2013 at 03:31:43PM -0500, Dale wrote: > Neil Bothwick wrote: > > On Sun, 06 Oct 2013 14:24:25 -0500, Dale wrote: > > > >> That's what I meant tho. I have USB3 ports but it seems they have been > >> running at USB2 speeds since I never enabled USB3 drivers. I sort of > >> missed that. No clue if the stuff I am plugging in supports USB3 or not > >> tho. Maybe my USB sticks do tho. > > > > Look at the connectors. If the insulator is blue, the device is USB3. ^^-^ > > The USB sticks I have is made my Kinston. It has DataTraveler wrote on > them. One is 16Gb and the other is 4GB. They seem to be color coded by > size to me. Please rinse and re-read. ;-) -- Gruß | Greetings | Qapla’ Please do not share anything from, with or about me with any Facebook service. I happen to have some time. Where is nothing to do?
Re: [gentoo-user] Network failed and weird error message
Neil Bothwick wrote: > On Sun, 06 Oct 2013 14:24:25 -0500, Dale wrote: > >> That's what I meant tho. I have USB3 ports but it seems they have been >> running at USB2 speeds since I never enabled USB3 drivers. I sort of >> missed that. No clue if the stuff I am plugging in supports USB3 or not >> tho. Maybe my USB sticks do tho. > > Look at the connectors. If the insulator is blue, the device is USB3. > > The USB sticks I have is made my Kinston. It has DataTraveler wrote on them. One is 16Gb and the other is 4GB. They seem to be color coded by size to me. I also have one made by Patriot that is 2GB. It has sysrescue on it. The only time I plug it in is to update sysrescue. I doubt my printer is USB3 but it is possible. The scanner I got recently, thrift store find, is likely USB2 based on age. I could dig around and find out I guess. Heck, it's sort of slow to scan anyway. ;-) I do recall when I built this rig, I have some that are USB2 and some that are USB3. I put the USB3 stuff on the front since I plug my USB sticks there. I'm almost certain the UPS is USB1, mostly confirmed by recent kernel test. Who needs a fast connection to a UPS. lol "powers off, shutdown". As Elmer says, that's all folks. lol The UPS doesn't need to say a whole heck of a lot. If I had a external hard drive that was hooked to USB, then I would really want USB3 to work. That would make a huge difference. Now to get rid of/fix this silly error mess. Dale :-) :-) -- I am only responsible for what I said ... Not for what you understood or how you interpreted my words!
Re: [gentoo-user] Network failed and weird error message
On Sun, 06 Oct 2013 14:24:25 -0500, Dale wrote: > That's what I meant tho. I have USB3 ports but it seems they have been > running at USB2 speeds since I never enabled USB3 drivers. I sort of > missed that. No clue if the stuff I am plugging in supports USB3 or not > tho. Maybe my USB sticks do tho. Look at the connectors. If the insulator is blue, the device is USB3. -- Neil Bothwick "You want us to do WHAT?" - Ancient Chinese wall engineer. signature.asc Description: PGP signature
Re: [gentoo-user] Network failed and weird error message
More info to cloud up things even more. I tried different versions of kernel and each one of them produced the same error. I went all the way back to 3.5.3 and up to 3.11.1. I might add, I ran that 3.5.3 kernel for months with no problems that I know of, including this one. My longest uptime with that version was 193 days. Now ain't this interesting? Could this be a hardware issue? O_O Dale :-) :-) -- I am only responsible for what I said ... Not for what you understood or how you interpreted my words!
Re: [gentoo-user] Network failed and weird error message
Alan McKinnon wrote: > On 06/10/2013 20:36, Dale wrote: >> Alan McKinnon wrote: >>> These days all you need is ehci for usb2 and xhci for usb3 (unless you >>> are using ancient hardware with physical usb1 ports) >> Well, I rebuilt the kernel and removed the OHCI and UHCI. When I >> rebooted, it couldn't see my UPS and nut couldn't start its services. >> So, it appears that mine must be "ancient" hardware. My messages file >> is still full of the same error after this change. That would be adding >> back the OHCI part. > lsusb, lshw, dmideciode and friends will tell you what hardware you > really have > Yep, they say it needs OHCI. I also checked here and it says the same thing. http://kmuto.jp/debian/hcl/Giga-byte/GA-770T-USB3 I guess my hardware is just a little out of date. ;-) >> BTW, I didn't have XHCI enabled so maybe now some things will be faster >> when using USB ports. ;-) > Nope. The hardware only runs at whatever speed it runs at. > > A USB2 device plugged into a USB3 port runs at USB2 speeds. > A USB1 and a USB2 device plugged into the same USB port makes both runs > at USB1 speeds > > There's no magic software to change that. > > But if you plug a USB3 drive into a USB3 port controlled by an OHCI > driver, it will run at USB2 speeds. Switching to XHCI is the only thing > you could do to improve speeds That's what I meant tho. I have USB3 ports but it seems they have been running at USB2 speeds since I never enabled USB3 drivers. I sort of missed that. No clue if the stuff I am plugging in supports USB3 or not tho. Maybe my USB sticks do tho. >> Is it safe to disable this and will this kill the messages: USB verbose >> debug messages > Well I have no idea. We haven't established yet what we are dealing with > Those pesky errors filling up my message file right now. No clue on the network part since it hasn't happened again. >> This is a grep of USB stuff. >> >> root@fireball / # zcat /proc/config.gz | grep -i hci >> CONFIG_SATA_AHCI=y >> # CONFIG_SATA_AHCI_PLATFORM is not set >> # CONFIG_SATA_ACARD_AHCI is not set >> # CONFIG_FIREWIRE_OHCI is not set >> CONFIG_USB_ARCH_HAS_OHCI=y >> CONFIG_USB_ARCH_HAS_EHCI=y >> CONFIG_USB_ARCH_HAS_XHCI=y >> CONFIG_USB_XHCI_HCD=y >> # CONFIG_USB_XHCI_HCD_DEBUGGING is not set >> CONFIG_USB_EHCI_HCD=y >> # CONFIG_USB_EHCI_ROOT_HUB_TT is not set >> # CONFIG_USB_EHCI_TT_NEWSCHED is not set >> CONFIG_USB_EHCI_PCI=y >> CONFIG_USB_OHCI_HCD=y >> # CONFIG_USB_OHCI_HCD_PLATFORM is not set >> # CONFIG_USB_EHCI_HCD_PLATFORM is not set >> # CONFIG_USB_OHCI_BIG_ENDIAN_DESC is not set >> # CONFIG_USB_OHCI_BIG_ENDIAN_MMIO is not set >> CONFIG_USB_OHCI_LITTLE_ENDIAN=y >> # CONFIG_USB_UHCI_HCD is not set >> CONFIG_PROVIDE_OHCI1394_DMA_INIT=y >> root@fireball / # >> >> So, now what? Can I tell syslog to ignore that error or do I need to >> beat something into the kernel? > First find out what those errors mean. Then and only then can you decide > if they are ignorable or not > > I have googled the error and there is very little info about it. Most of the hits now is my posts here about the error. I found something on the kernel list but it didn't appear to be the same error but somewhat close enough for google to grasp at straws. Basically, everything works that I can tell. If I can't change something to fix the error, I'd just rather get rid of the error. I'm going to boot a new kernel and see if that helps. I been sticking with this one because nvidia works well with this version but has some hiccups with other versions. Dale :-) :-) P. S. I may be slow to reply at times. I may be out of town a lot this next week depending on what is up with my brother. I know I will be out of town tomorrow tho. -- I am only responsible for what I said ... Not for what you understood or how you interpreted my words!
Re: [gentoo-user] Network failed and weird error message
On 06/10/2013 20:36, Dale wrote: > Alan McKinnon wrote: >> These days all you need is ehci for usb2 and xhci for usb3 (unless you >> are using ancient hardware with physical usb1 ports) > > Well, I rebuilt the kernel and removed the OHCI and UHCI. When I > rebooted, it couldn't see my UPS and nut couldn't start its services. > So, it appears that mine must be "ancient" hardware. My messages file > is still full of the same error after this change. That would be adding > back the OHCI part. lsusb, lshw, dmideciode and friends will tell you what hardware you really have > > BTW, I didn't have XHCI enabled so maybe now some things will be faster > when using USB ports. ;-) Nope. The hardware only runs at whatever speed it runs at. A USB2 device plugged into a USB3 port runs at USB2 speeds. A USB1 and a USB2 device plugged into the same USB port makes both runs at USB1 speeds There's no magic software to change that. But if you plug a USB3 drive into a USB3 port controlled by an OHCI driver, it will run at USB2 speeds. Switching to XHCI is the only thing you could do to improve speeds > > Is it safe to disable this and will this kill the messages: USB verbose > debug messages Well I have no idea. We haven't established yet what we are dealing with > > This is a grep of USB stuff. > > root@fireball / # zcat /proc/config.gz | grep -i hci > CONFIG_SATA_AHCI=y > # CONFIG_SATA_AHCI_PLATFORM is not set > # CONFIG_SATA_ACARD_AHCI is not set > # CONFIG_FIREWIRE_OHCI is not set > CONFIG_USB_ARCH_HAS_OHCI=y > CONFIG_USB_ARCH_HAS_EHCI=y > CONFIG_USB_ARCH_HAS_XHCI=y > CONFIG_USB_XHCI_HCD=y > # CONFIG_USB_XHCI_HCD_DEBUGGING is not set > CONFIG_USB_EHCI_HCD=y > # CONFIG_USB_EHCI_ROOT_HUB_TT is not set > # CONFIG_USB_EHCI_TT_NEWSCHED is not set > CONFIG_USB_EHCI_PCI=y > CONFIG_USB_OHCI_HCD=y > # CONFIG_USB_OHCI_HCD_PLATFORM is not set > # CONFIG_USB_EHCI_HCD_PLATFORM is not set > # CONFIG_USB_OHCI_BIG_ENDIAN_DESC is not set > # CONFIG_USB_OHCI_BIG_ENDIAN_MMIO is not set > CONFIG_USB_OHCI_LITTLE_ENDIAN=y > # CONFIG_USB_UHCI_HCD is not set > CONFIG_PROVIDE_OHCI1394_DMA_INIT=y > root@fireball / # > > So, now what? Can I tell syslog to ignore that error or do I need to > beat something into the kernel? First find out what those errors mean. Then and only then can you decide if they are ignorable or not -- Alan McKinnon alan.mckin...@gmail.com
Re: [gentoo-user] Network failed and weird error message
Alan McKinnon wrote: > On 05/10/2013 12:13, Dale wrote: >>> Dale changed his motherboard recently, presumably he knows what his chipset offers >> This is the rig I built a few years ago. It has a Gigabyte mobo but it >> hasn't been changed yet. I was planning on it but family issues moved >> that from a burner to not even on the stove and cold as ice. This issue >> just sort of popped up out of the blue. Also, I'm using the same kernel >> I been using for a while now. 3.9.5-gentoo I been using that kernel >> since the middle of June. I have tested newer ones but ran into other >> issues, nvidia mostly. >> > > Basically, it looks like you have a once-off event. > > Until it happens again, very little you can do wrt troubleshooting > > > I agree. It ran for days with no problems that I saw. Sure is weird tho. I just wonder if something outside the puter happened and triggered something. Who knows. Dale :-) :-) -- I am only responsible for what I said ... Not for what you understood or how you interpreted my words!
Re: [gentoo-user] Network failed and weird error message
Alan McKinnon wrote: > These days all you need is ehci for usb2 and xhci for usb3 (unless you > are using ancient hardware with physical usb1 ports) Well, I rebuilt the kernel and removed the OHCI and UHCI. When I rebooted, it couldn't see my UPS and nut couldn't start its services. So, it appears that mine must be "ancient" hardware. My messages file is still full of the same error after this change. That would be adding back the OHCI part. BTW, I didn't have XHCI enabled so maybe now some things will be faster when using USB ports. ;-) Is it safe to disable this and will this kill the messages: USB verbose debug messages This is a grep of USB stuff. root@fireball / # zcat /proc/config.gz | grep -i hci CONFIG_SATA_AHCI=y # CONFIG_SATA_AHCI_PLATFORM is not set # CONFIG_SATA_ACARD_AHCI is not set # CONFIG_FIREWIRE_OHCI is not set CONFIG_USB_ARCH_HAS_OHCI=y CONFIG_USB_ARCH_HAS_EHCI=y CONFIG_USB_ARCH_HAS_XHCI=y CONFIG_USB_XHCI_HCD=y # CONFIG_USB_XHCI_HCD_DEBUGGING is not set CONFIG_USB_EHCI_HCD=y # CONFIG_USB_EHCI_ROOT_HUB_TT is not set # CONFIG_USB_EHCI_TT_NEWSCHED is not set CONFIG_USB_EHCI_PCI=y CONFIG_USB_OHCI_HCD=y # CONFIG_USB_OHCI_HCD_PLATFORM is not set # CONFIG_USB_EHCI_HCD_PLATFORM is not set # CONFIG_USB_OHCI_BIG_ENDIAN_DESC is not set # CONFIG_USB_OHCI_BIG_ENDIAN_MMIO is not set CONFIG_USB_OHCI_LITTLE_ENDIAN=y # CONFIG_USB_UHCI_HCD is not set CONFIG_PROVIDE_OHCI1394_DMA_INIT=y root@fireball / # So, now what? Can I tell syslog to ignore that error or do I need to beat something into the kernel? Dale :-) :-) -- I am only responsible for what I said ... Not for what you understood or how you interpreted my words!
Re: [gentoo-user] USB disk automatically mounting: how does it work
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10/06/13 20:12, Chris Stankevitz wrote: > Hello, > > Would you please explain (or refer me to a place that explains) > the mechanism by which an USB drive appears on my desktop? I'm > looking for a level of detail like this: > > When you insert a USB device, the kernel sends out a notification > A. Userland daemons such as B can catch this signal. A file > B.conf describes what to do in response to a certain class of USB > devices and in there you will see a section for disk drives that > says mount them at location C. Then B sends out a notification D > which window managers can catch if they want. GNOME and others > catch D and in response put an icon on the desktop. The reason > lowly users can mount and write to these devices is E. > > PS: These topics are a blur in my mind: udev hotplug coldplug > session pam. I suspect these words are used to fill in some of the > variables in my pseudo-description above. Udev rules? -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.20 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBAgAGBQJSUZPQAAoJEK64IL1uI2haKgEH/1xPKsjgKzyv/cMcl3Bs/5Kk hR60VCc7VSeVLgIJf2+MgnVniQ3M4XqxbymBBqqntZ/OyXIzxIH7ELS7djnVcCau RSGZLe+xueoxFAWmzOS4FLXpCPXfC27PIIXqGpP8LNI57bBoxGaW4K+M8Ge1LuSn lbRv1AbGXbtwYFVGXsYjMFymworTvp2wPcVMfAaBX1w4WcbmmiqXJgOiUx7O7nEs MZA2dT4FG86QL3eFm5kcVW9LPl7QH2mE4rUM9oQLobZTI9pCDuXMFvoq6PXc4SI3 pBUQlUHzcPzoIThlHPyZmcAm80m+PVWenP1NgvsH8eLijklVe6yxn2h7fm+/3FU= =QSz0 -END PGP SIGNATURE-
[gentoo-user] Re: Where to put advanced routing configuration?
On 2013-10-03, Grant Edwards wrote: > Let's say you wanted to configure routing of TCP packets based on destination > port like in this example: > > http://www.tldp.org/HOWTO/Adv-Routing-HOWTO/lartc.netfilter.html > > [which contains a series of 'ip' and 'iptables' commands to get packets > destined for port 25 to use a specific gateway.] > > How do do this the "right" way on a Gentoo system? > > Based on reading http://www.gentoo.org/doc/en/home-router-howto.xml, I think > I've figured out how to do the iptables part: you enter the 'iptables' > commands by hand to get the iptables set up the way you want, then you do > this: > > # /etc/init.d/iptables save > # rc-update add iptables default FWIW, it turns out using that facility wasn't appropriate. The iptables rules were dependent on info that's only available after the interface comes up and obtains its configuration via DHCP. So everyting (both 'ip' commands and 'iptables' commands ended up in /etc/conf.d.net in the postup() function for setup and the predown() function for teardown. -- Grant
[gentoo-user] USB disk automatically mounting: how does it work
Hello, Would you please explain (or refer me to a place that explains) the mechanism by which an USB drive appears on my desktop? I'm looking for a level of detail like this: When you insert a USB device, the kernel sends out a notification A. Userland daemons such as B can catch this signal. A file B.conf describes what to do in response to a certain class of USB devices and in there you will see a section for disk drives that says mount them at location C. Then B sends out a notification D which window managers can catch if they want. GNOME and others catch D and in response put an icon on the desktop. The reason lowly users can mount and write to these devices is E. PS: These topics are a blur in my mind: udev hotplug coldplug session pam. I suspect these words are used to fill in some of the variables in my pseudo-description above. Thank you, Chris
[gentoo-user] re: automounting removable drives
I want to be able auto-mount removable drives. I'm running xfce: box0=; equery list xfce-base/xfce4-meta * Searching for xfce4-meta in xfce-base ... [IP-] [ ] xfce-base/xfce4-meta-4.10:0 and kernel: box0=; uname -a Linux box0 3.10.7-gentoo-r1 #1 SMP Sat Oct 5 23:57:58 EEST 2013 i686 Intel(R) Pentium(R) Dual CPU T3400 @ 2.16GHz GenuineIntel GNU/Linux Is udisks the only avenue available to me, as shown here?: http://wiki.gentoo.org/wiki/Udisks Thanks.
Re: [gentoo-user] Multiple package instances within a single package slot
On 10/05/2013 08:30:36 PM, Alex Schuster wrote: Neil Bothwick writes: > On Sat, 5 Oct 2013 17:59:52 +0200, Alex Schuster wrote: > > > No, there is something wrong here. When I updated portage, it also > > remerged libreoffice. Upgrading claws-mail updated > > dev-libs/libdbusmenu and dev-libs/libindicate, and wanted to remerge > > libreoffice, which I avoided. > > Next, I updated chromium, which also remerged libreoffice. Again. > > > > And whatever package I try to update, emerge wants to remerge > > libreoffice. Happens with all the packages I tried, which are > > adobe-flash, python, zsh, xterm. > > If portage believes LO needs to be rebuilt, it will try to do so > whichever packages you are emerging, just let it happen. I already did that, twice, when updating portage and chromium. emerge still wants to remerge libreoffice whenever I upgrade a package. > With a suitable > --jobs setting, portage will emerge all the other packages before LO is > done. No, at least with portage, the installation happened after libreoffice was installed. weird ~ # emerge -1uaj portage These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild r U ] app-office/libreoffice-4.1.2.2-r1 [4.1.2.2] [ebuild U ] sys-apps/portage-2.2.7 [2.2.0_alpha188] [...] >>> Emerging (1 of 2) app-office/libreoffice-4.1.2.2-r1 >>> Emerging (2 of 2) sys-apps/portage-2.2.7 >>> Installing (1 of 2) app-office/libreoffice-4.1.2.2-r1 >>> Installing (2 of 2) sys-apps/portage-2.2.7 >>> Jobs: 2 of 2 completeLoad avg: 3.06, 2.76, 2.63 You are not alone, Alex, please see https://bugs.gentoo.org/show_bug.cgi?id=486438 Helmut