[gentoo-user] KDE 4.4rc2 Network Manager Applet
Hi All, I've just installed KDE 4.3.95 from the kde overlay and was expecting the network manager applet to be installed by default but it doesn't appear to be. Does anyone know how I install this? Is it an ebuild that's not part of the @kde-4.4 set? Cheers, Dave.
Re: [gentoo-user] KDE 4.4rc2 Network Manager Applet
It's ok I found it. kde-misc/knetworkmanager. I had a local ebuild that was overriding it which didn't compile and that was confusing me. Cheers, Dave. On Wednesday 27 January 2010 10:16:37 Dave Oxley wrote: > Hi All, > > I've just installed KDE 4.3.95 from the kde overlay and was expecting the > network manager applet to be installed by default but it doesn't appear to > be. Does anyone know how I install this? Is it an ebuild that's not part of > the @kde-4.4 set? > > Cheers, > Dave. > >
Re: [gentoo-user] KDE 4.0.0
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I've got KDE4 installed and running mostly fine. It loses some configuration on a log off and on and it shows 2 batteries rather than the 1 which is the only one the laptop has! But other than that switched to it by default now. How do I prevent a --depclean from trying to delete my KDE 3.5 though? Cheers, Dave. -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.7 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHlJ8Tx43ifHzpDVURApy/AJ9Qe5xpDh2XyPnQApSojap0DJ4+AwCfSgPk wBK0vJe/7ToC+Id/c85tUV4= =FZ5Y -END PGP SIGNATURE- -- gentoo-user@lists.gentoo.org mailing list
[gentoo-user] KDE-4.3
I'm trying to emerge kde-4.3 but get the following block that I've been unable to resolve. Anyone have any ideas? Cheers, Dave. [blocks B ] =sys-libs/e2fsprogs-libs-1.41.0 required by ('installed', '/', 'app-crypt/mit-krb5-1.6.3-r6', 'nomerge') >=sys-libs/e2fsprogs-libs-1.41 required by ('installed', '/', 'sys-fs/cryptsetup-1.0.6-r2', 'nomerge') sys-libs/e2fsprogs-libs required by ('installed', '/', 'x11-libs/libSM-1.1.0', 'nomerge') ('ebuild', '/', 'sys-apps/util-linux-2.16', 'merge') pulled in by >=sys-apps/util-linux-2.13 required by ('ebuild', '/', 'sys-power/pm-utils-1.2.5', 'merge') sys-apps/util-linux required by ('installed', '/', 'app-text/build-docbook-catalog-1.4', 'nomerge') >=sys-apps/util-linux-2.16 required by ('ebuild', '/', 'sys-apps/hal-0.5.13-r2', 'merge')
Re: [gentoo-user] KDE-4.3
I'd already looked for a later version of e2fsprogs-libs but there isn't one. Any other ideas? Cheers, Dave. Alan McKinnon wrote: > On Wednesday 05 August 2009 09:28:30 Dave Oxley wrote: > >> I'm trying to emerge kde-4.3 but get the following block that I've been >> unable to resolve. Anyone have any ideas? >> >> Cheers, >> Dave. >> >> [blocks B ] > ("> > > portage wants to install latest util-linux but can't as you have an old > e2fsprogs-libs in the way. Solution is to upgrade the blocker first then re- > run the original emerge: > > emerge -av1 e2fsprogs-libs > emerge kde > > > >> ('installed', '/', 'sys-libs/e2fsprogs-libs-1.41.3-r1', 'nomerge') >> pulled in by >> >> >=sys-libs/e2fsprogs-libs-1.41.0 required by ('installed', '/', >> >> 'app-crypt/mit-krb5-1.6.3-r6', 'nomerge') >> >> >=sys-libs/e2fsprogs-libs-1.41 required by ('installed', '/', >> >> 'sys-fs/cryptsetup-1.0.6-r2', 'nomerge') >> sys-libs/e2fsprogs-libs required by ('installed', '/', >> 'x11-libs/libSM-1.1.0', 'nomerge') >> >> ('ebuild', '/', 'sys-apps/util-linux-2.16', 'merge') pulled in by >> >> >=sys-apps/util-linux-2.13 required by ('ebuild', '/', >> >> 'sys-power/pm-utils-1.2.5', 'merge') >> sys-apps/util-linux required by ('installed', '/', >> 'app-text/build-docbook-catalog-1.4', 'nomerge') >> >> >=sys-apps/util-linux-2.16 required by ('ebuild', '/', >> >> 'sys-apps/hal-0.5.13-r2', 'merge') >> > >
Re: [gentoo-user] KDE-4.3
Ah. Got it. Don't know how I missed that. It's been a long day and I must have missed that I didn't have 1.41.8 installed. Thanks, Dave. Alan McKinnon wrote: > Look at the output again. You don't need an earlier version of > e2fsprogs-libs, > you need the very version that is the blocker. > > But, to install KDE, portage wants to build util-linux first and it can't do > that because you have an incompatible version of e2fsprogs-libs already > installed. So like I said earlier,what you need to be is *first* give it a > version of e2fsprogs-libs, then remerge kde whereupon you will likely find > that util-linux no longer complains (as it likely finds a version of > e2fsprogs-libs that it is happy with) > > > On Wednesday 05 August 2009 10:37:51 Dave Oxley wrote: > >> I'd already looked for a later version of e2fsprogs-libs but there isn't >> one. Any other ideas? >> >> Cheers, >> Dave. >> >> Alan McKinnon wrote: >> >>> On Wednesday 05 August 2009 09:28:30 Dave Oxley wrote: >>> >>>> I'm trying to emerge kde-4.3 but get the following block that I've been >>>> unable to resolve. Anyone have any ideas? >>>> >>>> Cheers, >>>> Dave. >>>> >>>> [blocks B ] >>> (">>> >>> portage wants to install latest util-linux but can't as you have an old >>> e2fsprogs-libs in the way. Solution is to upgrade the blocker first then >>> re- run the original emerge: >>> >>> emerge -av1 e2fsprogs-libs >>> emerge kde >>> >>> >>>> ('installed', '/', 'sys-libs/e2fsprogs-libs-1.41.3-r1', 'nomerge') >>>> pulled in by >>>> >>>> >=sys-libs/e2fsprogs-libs-1.41.0 required by ('installed', '/', >>>> >>>> 'app-crypt/mit-krb5-1.6.3-r6', 'nomerge') >>>> >>>> >=sys-libs/e2fsprogs-libs-1.41 required by ('installed', '/', >>>> >>>> 'sys-fs/cryptsetup-1.0.6-r2', 'nomerge') >>>> sys-libs/e2fsprogs-libs required by ('installed', '/', >>>> 'x11-libs/libSM-1.1.0', 'nomerge') >>>> >>>> ('ebuild', '/', 'sys-apps/util-linux-2.16', 'merge') pulled in by >>>> >>>> >=sys-apps/util-linux-2.13 required by ('ebuild', '/', >>>> >>>> 'sys-power/pm-utils-1.2.5', 'merge') >>>> sys-apps/util-linux required by ('installed', '/', >>>> 'app-text/build-docbook-catalog-1.4', 'nomerge') >>>> >>>> >=sys-apps/util-linux-2.16 required by ('ebuild', '/', >>>> >>>> 'sys-apps/hal-0.5.13-r2', 'merge') >>>> > >
[gentoo-user] Kernel 2.6.27-r5 soft lockup
I upgraded from gentoo-sources-2.6.27-r4 to -r5 a couple of days ago and got the below error messages in /var/log/messages. Also dovecot was using 100% CPU and could not be killed. This resulted in me having to hard reset the server. This happened 3 times until I eventually reverted back to -r4 and all was stable again. The config used for both kernels was the same and it happened after irregular intervals of between 5 hours and 9 hours. Anyone have any ideas? Things are back to normal now but I will obviously be wary about my next kernel upgrade. Cheers, Dave. Dec 15 23:28:07 blackadder dovecot: IMAP(XXX): Disconnected in IDLE bytes=2719/16492 Dec 15 23:28:07 blackadder dovecot: IMAP(XXX): Disconnected in IDLE bytes=7074/519701 Dec 15 23:28:07 blackadder dovecot: IMAP(XXX): Connection closed bytes=2238/2810 Dec 15 23:28:34 blackadder named[6829]: *** POKED TIMER *** Dec 15 23:28:34 blackadder named[6829]: *** POKED TIMER *** Dec 15 23:28:34 blackadder named[6829]: *** POKED TIMER *** Dec 15 23:28:54 blackadder BUG: soft lockup - CPU#3 stuck for 61s! [imap:30763] Dec 15 23:28:54 blackadder Modules linked in: dahdi_echocan_mg2 pppoe pppox ppp_async ppp_generic slhc lirc_dev ipt_ipp2p wctdm dahdi dvb_usb_dib0700 dcdbas Dec 15 23:28:54 blackadder CPU 3: Dec 15 23:28:54 blackadder Modules linked in: dahdi_echocan_mg2 pppoe pppox ppp_async ppp_generic slhc lirc_dev ipt_ipp2p wctdm dahdi dvb_usb_dib0700 dcdbas Dec 15 23:28:54 blackadder Pid: 30763, comm: imap Not tainted 2.6.27-gentoo-r5 #1 Dec 15 23:28:54 blackadder RIP: 0010:[] [] mutex_lock+0x3/0xb Dec 15 23:28:54 blackadder RSP: 0018:8800047e3ea0 EFLAGS: 0246 Dec 15 23:28:54 blackadder RAX: RBX: 88008dc92bc0 RCX: 0001 Dec 15 23:28:54 blackadder RDX: 0002 RSI: 0001 RDI: 88008dc92be0 Dec 15 23:28:54 blackadder RBP: 4000 R08: R09: 49450350474a6a2f Dec 15 23:28:54 blackadder R10: R11: 0246 R12: Dec 15 23:28:54 blackadder R13: 49450350474a6a2f R14: R15: 0246 Dec 15 23:28:54 blackadder FS: 7f51e570c6f0() GS:8800bf687b40() knlGS: Dec 15 23:28:54 blackadder CS: 0010 DS: ES: CR0: 8005003b Dec 15 23:28:54 blackadder CR2: 7f51e5089860 CR3: 481bc000 CR4: 06e0 Dec 15 23:28:54 blackadder DR0: DR1: DR2: Dec 15 23:28:54 blackadder DR3: DR6: 0ff0 DR7: 0400 Dec 15 23:28:54 blackadder Dec 15 23:28:54 blackadder Call Trace: Dec 15 23:28:54 blackadder [] ? inotify_destroy+0x21/0xd7 Dec 15 23:28:54 blackadder [] ? inotify_release+0x1c/0xad Dec 15 23:28:54 blackadder [] ? __fput+0x9d/0x186 Dec 15 23:28:54 blackadder [] ? filp_close+0x48/0x6e Dec 15 23:28:54 blackadder [] ? sys_close+0x7e/0xbe Dec 15 23:28:54 blackadder [] ? system_call_fastpath+0x16/0x1b Dec 15 23:28:54 blackadder
Re: [gentoo-user] Re: Kernel 2.6.27-r5 soft lockup
Holger Hoffstaette wrote: On Tue, 16 Dec 2008 18:01:20 +1100, Dave Oxley wrote: I upgraded from gentoo-sources-2.6.27-r4 to -r5 a couple of days ago and got the below error messages in /var/log/messages. Also dovecot was using 100% CPU and could not be killed. This resulted in me having to hard reset the server. This happened 3 times until I eventually reverted back to -r4 and all was stable again. The config used for both kernels was the same and it happened after irregular intervals of between 5 hours and 9 hours. Anyone have any ideas? Things are back to normal now but I will obviously be wary about my next kernel upgrade. More info and pointers to fix here: http://lkml.indiana.edu/hypermail/linux/kernel/0812.1/02305.html or http://lkml.indiana.edu/hypermail/linux/kernel/0812.1/02590.html Just apply the patch to lib/idr.c and things should be fine again (or wait for stable.10). GregKH is doing an amazing job and it's not his fault, but nevertheless the rate of changes to -stable has just totally spiralled out of control. -h Thanks very much for the info. I won't worry about doing an upgrade until .10. I agree, I think the whole kernel development team is doing a wonderful job and this is the first proper hiccup I've had in years. :) Cheers, Dave.
[gentoo-user] Procmail mail ownership
Since late February any mail delivered to folders other than inbox using procmail have been given ownership of "root:mail" instead of "david:users" as it was previously. A new version of procmail was installed on 21 Feb so I'm assuming thats caused this issue. Does anyone have any ideas how to fix this? Cheers, Dave.
[gentoo-user] KDE & HAL - Tray icon
Just a simple question: Is there a try icon for unmounting removable hardware (USB sticks etc)? Currently I go into konquerer and browse to media://, right mouse click and click 'safely remove'. Its just a little annoying! Cheers, Dave. -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] KDE & HAL - Tray icon
Mauro Faccenda wrote: > On Monday 30 July 2007 20:36, Dave Oxley wrote: > >> Just a simple question: Is there a try icon for unmounting removable >> hardware (USB sticks etc)? Currently I go into konquerer and browse to >> media://, right mouse click and click 'safely remove'. Its just a little >> annoying! >> > > add a applet called "storage media" to your panel. > > []'s > .m > Thanks for that. I knew it was going to be easy. I don't know why I didn't think about looking at the applets; too early in the morning I guess! Cheers, Dave. -- [EMAIL PROTECTED] mailing list
[gentoo-user] Firefox downgrade?
I've just upgraded to firefox 3rc1. I put the necessary in /etc/portage/package.* but it didn't appear when doing an update world. So I did an 'emerge -av mozilla-firefox'. This worked and you can see is still working: baldrick ~ # emerge -av mozilla-firefox These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] www-client/mozilla-firefox-3.0_rc1 USE="bindist dbus java mozdevelop xulrunner -debug -gnome -ipv6 -restrict-javascript -startup-notification" LINGUAS="en en_GB -af -ar -be -ca -cs -de -el -en_US -es -es_AR -es_ES -eu -fi -fr -fy -fy_NL -ga -ga_IE -gu -gu_IN -he -hu -id -it -ja -ka -ko -ku -lt -mk -mn -nb -nb_NO -nl -nn -nn_NO -pa -pa_IN -pl -pt -pt_BR -pt_PT -ro -ru -sk -sq -sr -sv -sv_SE -tr -uk -zh -zh_CN -zh_TW" 0 kB Total: 1 package (1 reinstall), Size of downloads: 0 kB Would you like to merge these packages? [Yes/No] However an update world tries to downgrade to firefox 2: baldrick ~ # emerge --ask --verbose --update --deep --newuse --tree world [ebuild UD] www-client/mozilla-firefox-2.0.0.14 [3.0_rc1] USE="bindist java mozdevelop xinerama%* -debug -filepicker% -gnome -iceweasel% -ipv6 -moznopango% -restrict-javascript -xforms% -xprint% (-dbus%*) (-startup-notification%) (-xulrunner%*)" LINGUAS="en en_GB -af -ar -be -bg% -ca -cs -da% -de -el -en_US -es -es_AR -es_ES -eu -fi -fr -fy -fy_NL -ga -ga_IE -gu -gu_IN -he -hu -it -ja -ka -ko -ku -lt -mk -mn -nb -nb_NO -nl -nn -nn_NO -pa -pa_IN -pl -pt -pt_BR -pt_PT -ro -ru -sk -sl% -sv -sv_SE -tr -uk -zh -zh_CN -zh_TW (-id%) (-sq%) (-sr%)" 0 kB /etc/portage/package.keywords (part of): # Firefox and Thunderbird www-client/mozilla-firefox ~x86 dev-libs/nspr ~x86 dev-libs/nss ~x86 x11-libs/cairo ~x86 x11-libs/pixman ~x86 net-libs/xulrunner ~x86 www-client/mozilla-firefox-bin ~x86 mail-client/mozilla-thunderbird ~x86 dev-libs/nss ~x86 x11-plugins/enigmail ~x86 /etc/portage/package.unmask (part of): www-client/mozilla-firefox dev-libs/nspr dev-libs/nss net-libs/xulrunner Cheers, Dave. -- gentoo-user@lists.gentoo.org mailing list
[gentoo-user] Replacing my router
I have 2 Internet connections, 1 fast ADSL and 1 slow wireless as a backup. My router doesn't do automatic failover or even have support for multiple WAN connections so I thought I'd set up PPP connections on my Gentoo server that do PPPoE to the 2 modems which I connected directly to my switch. This worked well but I soon realised that my server was offering up DHCP IP addresses to machines on the otherside of my wireless connection! So what I want to do is setup my switch as a router. I'm a bit of a newbie on advanced networking but I think that a router is basically just a switch with a VLAN for the local network and VLAN for the WAN. Is this assumption correct? If so I will setup 2 VLAN's on my switch (a Linksys SGE2000). Also how can I setup the NIC on my server to be connected to both VLAN's and only do DHCP for the local VLAN? Should I be able to or need to prevent one VLAN from seeing the second VLAN? What is STR and do I need to set this up? Any other suggestions? Cheers, Dave. -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Replacing my router
Daniel Iliev wrote: On Sat, 28 Jun 2008 01:16:37 +1000 Dave Oxley <[EMAIL PROTECTED]> wrote: So what I want to do is setup my switch as a router. No can do. My switch is a SGE2000P which is also a layer 3 router. I'm a bit of a newbie on advanced networking but I think that a router is basically just a switch with a VLAN for the local network and VLAN for the WAN. Is this assumption correct? No, it is not. Those are two different pieces of equipment which work on different levels of the OSI model. For further assistance, please, describe clearly what kind of equipment is at your disposal and what (not how) you are trying to achieve. The point of the exercise is to remove my 2 consumer grade routers from my network as neither were very good and I wanted to improve the security of my network. I actually got it sorted today but thanks for answering. In case anyones interested I've now got 3 VLAN's. 1 each for each of the Internet connections and 1 for the rest of the LAN. The Gentoo server is on all 3 and runs PPP with PPPoE to each of the 'modems'. As a note it's interesting that PPPoE to 2 different devices conflict with each other but putting them on different VLAN's works brilliantly. When a PPP connection fails the ip-down script switches the default route to the ppp1 device and ip-up switches it back to ppp0; very smooth! I'm not using the L3 functionality of the switch as I was originally intending as the server does the routing. Cheers, Dave -- gentoo-user@lists.gentoo.org mailing list
[gentoo-user] Snort
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I've installed Snort and BASE on my Gentoo server, which is also my the network router, by following http://lurker.gentoo-wiki.com/HOWTO_Snort. It's generated a fair number of alerts over the last few weeks so it looks like it's working. But how can I confirm it's 'preventing' attacks as well as detecting them? Cheers, Dave. -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkhs6RkACgkQx43ifHzpDVUIiwCfSO8DYMX5xqcnfsCLdfLAmWpy TM8AnR3w12Op1C0vWUijLkJseGGQU4sN =d0Y2 -END PGP SIGNATURE- -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] DNS poisoning fix
I've installed 9.4.2-P1 but http://www.doxpara.com/ says I'm still vulnerable. What more do I need to do? Cheers, Dave. Mick wrote: Hi All, Have you seen this? http://uk.news.yahoo.com/afp/20080709/ttc-us-it-internet-software-crime-e0bba4a.html and this? http://www.doxpara.com/ Is it merely a matter of using the right version of bind (for those who run a bind daemon locally), or does it go further than that? -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] DNS poisoning fix
I restarted bind (had to do a killall) and I had updated tools and it still didn't work. It was my IP address that showed up on the site. But today it started working and now says I'm safe although I hadn't changed anything since. Don't know what the answer was but at least it's ok now. Cheers, Dave. Volker Armin Hemmann wrote: On Donnerstag, 10. Juli 2008, Dave Oxley wrote: I've installed 9.4.2-P1 but http://www.doxpara.com/ says I'm still vulnerable. What more do I need to do? you need to install the updated tools to. Client and server side have to be fixed. Also the DNS your DNS is using has to be fixed. And finally, is that 'your' DNS or your ISPs DNS the site is showing. -- gentoo-user@lists.gentoo.org mailing list
[gentoo-user] fdisk - expanding a partition beyond 2TB
All, I've just added a fourth disk to my Raid 5 set increasing the capacity from 1.5TB to 2.25TB. I have 4 partitions on this volume set; the fourth of which is 1.49TB which is then further subdivided using lvm2. So using fdisk I deleted partition 4 and recreated it from the same position which expanded the partition to 1.99TB. I later realised that it should have expanded to 2.24TB so I did some googling and found that you can't create a partition >2TB with fdisk. I found a page that suggested using GNU parted to create partitions of this size but it didn't mention whether this would work to expand a partition. So basically does anyone have any experience moving from an fdisk partition table to a GNU parted partition table without losing filesystems, data, etc? Cheers, Dave.
Re: [gentoo-user] fdisk - expanding a partition beyond 2TB
Stroller wrote: On 27 Aug 2008, at 05:28, Dave Oxley wrote: ... I've just added a fourth disk to my Raid 5 set increasing the capacity from 1.5TB to 2.25TB. I have 4 partitions on this volume set; the fourth of which is 1.49TB which is then further subdivided using lvm2. ... Hi there, Is the problem that you've got 4 partitions & this prevents you form making a 5th? Because using LVM I would simply create a new partition and add it to the volume group. The contents *should* indeed remain intact if one simply deletes the partition & recreates at the same starting point, yet larger. I'm sure I've used parted as well as cfdisk for this sort of thing in the past, yet hesitate to recommend either as I would fear making a typo with an unfamiliar tool, thereby rendering my data mythical. Stroller. Yes, part of the problem is that I can't create a fifth partition. However, even if possible, this wouldn't have been my ideal solution anyway as it would negate some of the performance benefit gained from having one huge partition over the whole array. But my real question is, as I've reached the max partition for the msdos partition table, can I migrate to a GPT partition table without losing my data? Cheers, Dave.
Re: [gentoo-user] KDE 4.1...
Thomas Kahle wrote: Hi, as your post turned into the usual kde 4 is good/bad flamewar I will just try to answer the question: The people working on the overlay plan to bringt kde 4.1.1(not 4.1.0) into the tree. This will be released on next week and enter the tree hopefully shortly after that. Also this page http://skrypuch.com/kde4/ and bug http://bugs.gentoo.org/show_bug.cgi?id=234773 might give you an idea of the progress have fun Tom Thanks for the update. Slightly OT and planning ahead slightly, any ideas how easy it will be to upgrade from the kdesvn-portage overlay to the official ebuilds? Cheers, Dave.
[gentoo-user] Dodgy hardware?!?!
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I have a MythTV frontend running Gentoo on an AMD 64bit with an Nvidia 6600 graphics card. I have had no end of problems with the graphics card (Xid errors). It crashes with a white line across the screen regularly when 3d goom is up when I'm playing music. I've so far been putting it down to the nvidia driver but I'm beginning to think I may have a dodgy stick of RAM or something as I also get Segmentation faults when doing emerge's on occasion. When this happens it says its an OS error and retrying the emerge normally fixes it. How can I find out what the problem is? Is there a way of testing the RAM? Is it possible that it is the nvidia drivers still (I am often playing music when I run an emerge)?? Any help much appreciated. Cheers, Dave. -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.1 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFwIsex43ifHzpDVURAgXzAJ9gQ+Ne+k33n89kCrFMbs/ZiWCeqwCcDB11 BYBPIWGPEw5qvxxWSwe1Jf4= =o66z -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list
[gentoo-user] dhcpd and routes
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I have a Gentoo server that is running Cisco VPN software to connect to my companies VPN. I have setup the server as a NAT for the specific subnet required for the VPN and the rest of my traffic goes through my router (192.168.1.1). I currently have to manually run the following command to setup the route: route add -net 10.4.0.0 netmask 255.255.255.0 gw 192.168.1.200 On my Gentoo server I run dhcpd to allocate IP addresses for machines on my LAN. The current configuration is: subnet 192.168.1.0 netmask 255.255.255.0 { range 192.168.1.100 192.168.1.199; option routers 192.168.1.1; } So the question is how can I setup dhcpd to automatically setup the route command for all clients using the dhcpd? Cheers, Dave. -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.1 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFyHKMx43ifHzpDVURAhdrAJ4qDCmtotrW0I3B1JPF7+fVNeQlBwCfZr13 9ZcoJHn+fX8e8tqiWPok05w= =kJ0P -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list
[gentoo-user] Netboot questions
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I have a EMT64 server that runs a mythtv backend as well as other things and a AMD64 mythtv frontend which has been running with its own hard disk and therefore install of Gentoo for sometime. I am looking at building another frontend without a disk so I thought I'd experiment with my current frontend. I have managed to get it booting using PXE, I copied the hard disk contents to a directory on my server and followed the rest of the howto, but I have the following questions/problems: 1. I can still compile/emerge on the frontend but its very slow as its on NFS. Can I compile on the server by chrooting? Basicallly I want to know if I can compile on EMT64 targeting AMD64. The frontend was installed with stage 1 so I guess the compiler won't even run in a chroot'ed environment. 2. The Gensplash is compiled into the kernel. It appears at startup with the 'Initialising kernel' screen but the progress bar never appears. It just shows that screen until X is started. Any ideas what might be wrong here or where I should start to look? 3. My DHCP server issues static routes, but since I've made the frontend boot over PXE (static IP address) it never gets the routes. Any ideas? Cheers for any help, Dave. -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.3 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGN+qIx43ifHzpDVURAvs8AJ0beY2IwdF6l5eeo1gonpcmXQIRVACfaCUH ifwMdsg9qC1pCWFovX2eE6o= =eEf9 -END PGP SIGNATURE- -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Netboot questions
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jan Seeger wrote: > Concerning Number 2: > You need to have gensplash enabled in the Kernel (which it is), and have > emerged the splashutils packages. Also, you need to modify your grub.conf > to use a framebuffer. Furthermore, you need to create an initial ramdisk > to load the images early in the booting process. May I point you to the > wiki article on the gentoo wiki "Howto Bootsplash"? > Greetings > jeeger I think you may have misunderstood me. I followed the howto initially and gensplah was working as expected until I changed it to netboot. I have modified the grub.conf for my new netboot config and as I said the initial screen shows up but the progress bar never progresses and the text remains as 'Initialising kernel' until X starts! Cheers, Dave. -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.3 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGOG24x43ifHzpDVURArR2AJsErpbj0zGT8oqM2CtyySd4txv9NwCfR6y1 IZEbRUZ83qJbwob3r04hdMU= =2Iem -END PGP SIGNATURE- -- [EMAIL PROTECTED] mailing list
[gentoo-user] Email to Hotmail not working
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I am unable to send email to hotmail. I thought I had a misconfiguration in sendmail, but I have just tried a telnet (See below). Although I can send emails to hotmail without an error or undeliverable report, none show up in my hotmail account unless I reply to an email I sent from my hotmail. Does anyone have any ideas? Cheers, Dave. Here's the telnet session with my email addresses modified for the archives ;) ~ # telnet mx4.hotmail.com 25 Trying 65.54.245.104... Connected to mx4.hotmail.com. Escape character is '^]'. 220 bay0-mc9-f16.bay0.hotmail.com Sending unsolicited commercial or bulk e-mail to Microsoft's computer network is prohibited. Other restrictions are found at http://privacy.msn.com/Anti-spam/. Violations will result in use of equipment located in California and other states. Thu, 3 May 2007 06:06:06 -0700 helo daveoxley.co.uk 250 bay0-mc9-f16.bay0.hotmail.com (3.3.2.16) Hello [203.171.86.83] mail from: [EMAIL PROTECTED] 250 [EMAIL PROTECTED] OK rcpt to: [EMAIL PROTECTED] 250 [EMAIL PROTECTED] data 354 Start mail input; end with . Subject: Test message Test 23:06 03/05 . 250 <[EMAIL PROTECTED]> Queued mail for delivery ^] telnet> quit Connection closed. -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.3 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGOd/Ux43ifHzpDVURAlWKAJsFceVxrVVNTz/B3KFGbCzKUMbUCACfdk0N X56eXIQF7Jqi5Og6ysomFeI= =padu -END PGP SIGNATURE- -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Email to Hotmail not working
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Neil Walker wrote: > Dave Oxley wrote: >> I am unable to send email to hotmail. I thought I had a misconfiguration >> in sendmail, but I have just tried a telnet (See below). Although I can >> send emails to hotmail without an error or undeliverable report, none >> show up in my hotmail account unless I reply to an email I sent from my >> hotmail. Does anyone have any ideas? >> > > Have you looked in your Hotmail junk folder? > Yes. Only this email was in there! -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.3 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGOhARx43ifHzpDVURAsVqAJ92IAjZsl/rjXjdbCJld8cAUFe1bgCfbPEb igK3qCsIddCB1CnlaHphWlw= =1rfY -END PGP SIGNATURE- -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] [SOLVED] Email to Hotmail not working
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dave Oxley wrote: > I am unable to send email to hotmail. I thought I had a misconfiguration > in sendmail, but I have just tried a telnet (See below). Although I can > send emails to hotmail without an error or undeliverable report, none > show up in my hotmail account unless I reply to an email I sent from my > hotmail. Does anyone have any ideas? > > Cheers, > Dave. > > Here's the telnet session with my email addresses modified for the > archives ;) > > ~ # telnet mx4.hotmail.com 25 > Trying 65.54.245.104... > Connected to mx4.hotmail.com. > Escape character is '^]'. > 220 bay0-mc9-f16.bay0.hotmail.com Sending unsolicited commercial or bulk > e-mail to Microsoft's computer network is prohibited. Other restrictions > are found at http://privacy.msn.com/Anti-spam/. Violations will result > in use of equipment located in California and other states. Thu, 3 May > 2007 06:06:06 -0700 > helo daveoxley.co.uk > 250 bay0-mc9-f16.bay0.hotmail.com (3.3.2.16) Hello [203.171.86.83] > mail from: [EMAIL PROTECTED] > 250 [EMAIL PROTECTED] OK > rcpt to: [EMAIL PROTECTED] > 250 [EMAIL PROTECTED] > data > 354 Start mail input; end with . > Subject: Test message > Test 23:06 03/05 > . > 250 <[EMAIL PROTECTED]> Queued > mail for delivery > ^] > telnet> quit > Connection closed. I had no SPF record for my domain name. Hotmail obviously rejects emails without this nowdays. http://www.openspf.org/ Cheers, Dave. -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.3 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGOhwwx43ifHzpDVURAqmoAKCBX8c+dPgV4leV5e5NR6Nu6q8kMgCdH7yw h50QxkQunju+49M7gQ3Fvsk= =Iao3 -END PGP SIGNATURE- -- [EMAIL PROTECTED] mailing list
[gentoo-user] distfiles on samba and 2.6.18
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Since upgrading to the 2.6.18 kernel I get this on my client machine when trying to emerge. I have distfiles mapped to a server samba share and this works if I boot back up into 2.6.17. Does anyone have any ideas how to stop this happening? >>> Emerging (1 of 16) sys-libs/zlib-1.2.3-r1 to / * zlib-1.2.3.tar.bz2 MD5 ;-) ... [ ok ] * zlib-1.2.3.tar.bz2 RMD160 ;-) ... [ ok ] * zlib-1.2.3.tar.bz2 SHA1 ;-) ... [ ok ] * zlib-1.2.3.tar.bz2 SHA256 ;-) ... [ ok ] * zlib-1.2.3.tar.bz2 size ;-) ... [ ok ] Traceback (most recent call last): File "/usr/bin/emerge", line 4049, in ? emerge_main() File "/usr/bin/emerge", line 4044, in emerge_main myopts, myaction, myfiles, spinner) File "/usr/bin/emerge", line 3584, in action_build mergetask.merge(pkglist, favorites, mtimedb) File "/usr/bin/emerge", line 2048, in merge prev_mtimes=ldpath_mtimes) File "/usr/lib/portage/pym/portage.py", line 2893, in doebuild if need_distfiles and not fetch( File "/usr/lib/portage/pym/portage.py", line 2273, in fetch portage_locks.unlockfile(file_lock) File "/usr/lib/portage/pym/portage_locks.py", line 159, in unlockfile locking_method(myfd,fcntl.LOCK_UN) IOError: [Errno 13] Permission denied Error in sys.exitfunc: Server Samba config: [distfiles] comment = Portage distfiles path = /usr/portage/distfiles valid users = root public = yes writable = yes write list = @portage printable = no create mask = 0664 directory mask = 2775 Client fstab: //server/distfiles /usr/portage/distfiles cifs username=root,password=pw Cheers, Dave. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFTeKCx43ifHzpDVURAqXwAJ91lMHuv0tRFDLgJILn2inJMxC1kQCdFrDs J/7gYKOO82A8RvlXYiD8kCM= =AHfa -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] distfiles on samba and 2.6.18
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hans-Werner Hilse wrote: > Hi, > > On Mon, 06 Nov 2006 00:09:23 +1100 Dave Oxley <[EMAIL PROTECTED]> > wrote: > >> Since upgrading to the 2.6.18 kernel I get this on my client machine >> when trying to emerge. I have distfiles mapped to a server samba share >> and this works if I boot back up into 2.6.17. Does anyone have any >> ideas how to stop this happening? >> [...] >> File "/usr/lib/portage/pym/portage_locks.py", line 159, in >> unlockfile locking_method(myfd,fcntl.LOCK_UN) >> IOError: [Errno 13] Permission denied >> Error in sys.exitfunc: > > Look at /etc/make.conf.example: > > First try cleaning the locks using > /usr/lib/portage/bin/clean_locks > If that doesn't work, you have more options: > - specify a PORTAGE_TMPFS (albeit I'm not sure if this applies for > distfiles locks, too), > - remove "distlocks" FEATURE. > > -hwh Cleaning the locks had no effect. Neither did setting PORTAGE_TMPFS. I had to remove distlocks which also disabled parallel-fetching. I don't understand why this only happens with 2.6.18 and it seems like a bug, but at least I can continue to use my samba share distfiles now. Cheers, Dave. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFUqi0x43ifHzpDVURAqGDAJ9HZKa1kXhpL/mYJplqNvwWKRxlFgCfYNQv HAdXuzRyxbY1LIMlNNvx6V0= =e91e -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list
[gentoo-user] 2.6.19-r1 won't boot - arcmsr?
I have a Dell server that runs Gentoo. I have been running kernel 2.6.18-r3 with the third party arcmsr add on driver without any problems. I have tried to upgrade to 2.6.19-r1 with the kernels inbuild arcmsr driver but I cannot get it to boot. It says that it cannot find the root fs on sdc3. I don't know whether its the onboard ICH5 SATA or the ARCMSR controller that it cannot find. I have 2 disks on the onboard controller (sda and sdb) and 1 raid volume on the ARCMSR (sdc). Can anyone help me please? Cheers, Dave. blackadder ~ # fdisk -l Disk /dev/sda: 250.0 GB, 2500 bytes 255 heads, 63 sectors/track, 30394 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/sda1 * 1 63 506016 83 Linux /dev/sda4 439 30394 240621570 8e Linux LVM Disk /dev/sdb: 250.0 GB, 250059350016 bytes 255 heads, 63 sectors/track, 30401 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/sdb1 1 30401 244196001 8e Linux LVM Disk /dev/sdc: 1499.9 GB, 149502336 bytes 255 heads, 63 sectors/track, 182364 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/sdc1 * 1 63 506016 83 Linux /dev/sdc2 641060 8008402+ 82 Linux swap / Solaris /dev/sdc310611559 4008217+ 83 Linux /dev/sdc41560 182364 1452316162+ 8e Linux LVM blackadder ~ # cat /etc/fstab /dev/sda1 /boot ext2noauto,noatime 1 2 #/dev/sdc1 /boot ext2noauto,noatime 1 2 /dev/sdc3 / ext3noatime 0 1 /dev/sdc2 noneswapsw 0 0 /dev/cdroms/cdrom0 /mnt/cdrom iso9660 noauto,ro 0 0 /dev/fd0/mnt/floppy autonoauto 0 0 proc/proc procdefaults0 0 shm /dev/shmtmpfs nodev,nosuid,noexec 0 0 /dev/vga/usr/usrext3noatime 0 0 /dev/vga/home /home ext3noatime 0 0 /dev/vga/opt/optext3noatime 0 0 /dev/vga/var/varext3noatime 0 0 /dev/vga/tmp/tmpext3noatime 0 0 /dev/vga/media /media xfs noatime 0 0 blackadder ~ # cat /boot/grub/grub.conf default=0 fallback=1 timeout=3 splashimage=(hd0,0)/grub/splash.xpm.gz hiddenmenu title=Gentoo Linux 2.6.19-r1 root (hd0,0) kernel /vmlinuz-2.6.19-gentoo-r1 root=/dev/sdc3 doscsi quiet CONSOLE=/dev/tty1 blackadder ~ # lspci 00:00.0 Host bridge: Intel Corporation E7520 Memory Controller Hub (rev 09) 00:00.1 Class ff00: Intel Corporation E7525/E7520 Error Reporting Registers (rev 09) 00:02.0 PCI bridge: Intel Corporation E7525/E7520/E7320 PCI Express Port A (rev 09) 00:03.0 PCI bridge: Intel Corporation E7525/E7520/E7320 PCI Express Port A1 (rev 09) 00:04.0 PCI bridge: Intel Corporation E7525/E7520 PCI Express Port B (rev 09) 00:1d.0 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #1 (rev 02) 00:1d.1 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #2 (rev 02) 00:1d.2 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #3 (rev 02) 00:1d.3 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #4 (rev 02) 00:1d.7 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB2 EHCI Controller (rev 02) 00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev c2) 00:1f.0 ISA bridge: Intel Corporation 82801EB/ER (ICH5/ICH5R) LPC Interface Bridge (rev 02) 00:1f.1 IDE interface: Intel Corporation 82801EB/ER (ICH5/ICH5R) IDE Controller (rev 02) 00:1f.2 IDE interface: Intel Corporation 82801EB (ICH5) SATA Controller (rev 02) 00:1f.3 SMBus: Intel Corporation 82801EB/ER (ICH5/ICH5R) SMBus Controller (rev 02) 01:00.0 PCI bridge: Intel Corporation 6700PXH PCI Express-to-PCI Bridge A 01:00.2 PCI bridge: Intel Corporation 6700PXH PCI Express-to-PCI Bridge B 02:0c.0 VGA compatible controller: ATI Technologies Inc Rage XL (rev 27) 03:0c.0 Network controller: Tiger Jet Network Inc. Tiger3XX Modem/ISDN interface 03:0d.0 Multimedia controller: Philips Semiconductors SAA7146 (rev 01) 03:0e.0 Ethernet controller: Intel Corporation 82545GM Gigabit Ethernet Controller (rev 04) 05:00.0 PCI bridge: Intel Corporation 80332 [Dobson] I/O processor (A-Segment Bridge) (rev 07) 05:00.2 PCI bridge: Intel Corporation 80332 [Dobson] I/O processor (B-Segment Bridge) (rev 07) 06:0e.0 RAID bus controller:
Re: [gentoo-user] 2.6.19-r1 won't boot - arcmsr?
Douglas Linford wrote: Dave, This may sound goofy...but do you have any external drives connected to you box, ie, USB, ieee, or card readers? When I had my extenal USB hard disk turned on or my internal card readers connected when I booted Gentoo, boot would stop and it would say the same thing..."cannot find the root fs on sdb3". Douglas No, I don't have any external drives connected. And I can still boot into 2.6.18-r3, just not 2.6.19-r1. Cheers, Dave -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] 2.6.19-r1 won't boot - arcmsr?
Norberto Bensa wrote: Dave Oxley wrote: I have a Dell server that runs Gentoo. I have been running kernel 2.6.18-r3 with the third party arcmsr add on driver without any problems. I have tried to upgrade to 2.6.19-r1 with the kernels inbuild 2.6.19 sucks. Not only it moved CONFIG_SATA_* to CONFIG_ATA_* but also my /dev/sda is now /dev/sdb And, when ata_piix loads, there's a delay of 20 seconds at least. After changing every /sda to /sdb in /etc/fstab, I booted the box. dmesg is full of timeouts coming from sda, which seems to be my DVD+RW drive (which on 2.6.18 is on hda) Someone messed SATA (ICH at least) very badly with 2.6.19. I hope this helps someone. Regards, Norberto Thanks. This solved my problem. My raid controller is now /dev/sda/. It used to be /dev/sdc. And my 2 onboard disks are /dev/sdb and /dev/sdc! Cheers, Dave. -- gentoo-user@gentoo.org mailing list
[gentoo-user] Network collisions
Hi all, I have two Gentoo machines (specified as Server and Client for ease). The server networking is working fine, but the client cannot receive without lots of collisions. The speeds I get are: Server -> Client (i.e. receive) 170.3Kb/sec Client -> Server (i.e. transmit) 7.383Mb/sec The cards of both machines are running half duplex. If I try to force them to full duplex with (ethtool -s eth0 speed 100 duplex full autoneg off) then all I get is errors in ifconfig. The module used for networking on the client is 8139too. Can anybody help me with this? Some information: Server: lspci -v: :02:09.0 Ethernet controller: Atheros Communications, Inc. AR5212 802.11abg NIC (rev 01) Subsystem: Netgear: Unknown device 4900 Flags: bus master, medium devsel, latency 64, IRQ 5 Memory at feae (32-bit, non-prefetchable) [size=64K] Capabilities: [44] Power Management version 2 ethtool eth0: Settings for eth0: Supported ports: [ TP ] Supported link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full 1000baseT/Full Supports auto-negotiation: Yes Advertised link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full 1000baseT/Full Advertised auto-negotiation: Yes Speed: 100Mb/s Duplex: Half Port: Twisted Pair PHYAD: 0 Transceiver: internal Auto-negotiation: on Supports Wake-on: g Wake-on: d Current message level: 0x0037 (55) Link detected: yes Client: lspci -v: :02:03.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10) Subsystem: Micro-Star International Co., Ltd.: Unknown device 093c Flags: bus master, medium devsel, latency 64, IRQ 201 I/O ports at df00 [size=256] Memory at fdcff000 (32-bit, non-prefetchable) [size=256] Expansion ROM at fde0 [disabled] [size=64K] Capabilities: [50] Power Management version 2 Settings for eth0: Supported ports: [ TP MII ] Supported link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full Supports auto-negotiation: Yes Advertised link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full Advertised auto-negotiation: Yes Speed: 100Mb/s Duplex: Half Port: MII PHYAD: 32 Transceiver: internal Auto-negotiation: on Supports Wake-on: pumbg Wake-on: d Current message level: 0x0007 (7) Link detected: yes ifconfig: eth0 Link encap:Ethernet HWaddr 00:11:09:FA:E4:64 inet addr:192.168.1.157 Bcast:192.168.1.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:9835 errors:0 dropped:0 overruns:0 frame:0 TX packets:7422 errors:0 dropped:0 overruns:0 carrier:0 collisions:783 txqueuelen:1000 RX bytes:11748803 (11.2 Mb) TX bytes:659065 (643.6 Kb) Interrupt:201 Base address:0x4000 Cheers, Dave. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Network collisions
Hi Mark, Thanks for the reply. Unfortunately, I had already tried power cycling my hub and it made no difference. Cheers, Dave. Mark Knecht wrote: On 10/3/05, Dave Oxley <[EMAIL PROTECTED]> wrote: Hi all, I have two Gentoo machines (specified as Server and Client for ease). The server networking is working fine, but the client cannot receive without lots of collisions. The speeds I get are: Server -> Client (i.e. receive) 170.3Kb/sec Client -> Server (i.e. transmit) 7.383Mb/sec The cards of both machines are running half duplex. If I try to force them to full duplex with (ethtool -s eth0 speed 100 duplex full autoneg off) then all I get is errors in ifconfig. The module used for networking on the client is 8139too. Can anybody help me with this? I just recently had a problem like this. In my case the switch everything was plugged into got in some strange state and power cycling the switch fixed the problem. Hope this helps, Mark -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Network collisions
Ah right. I did not know that! Yeah, its a hub. I'll stop trying to set it to full duplex now. I still have a problem though, the collision rate is 11-12% when copying to the client and the performance is terrible: Copying from Server to Client (i.e. receive) 170.3Kb/sec Copying from Client to Server (i.e. transmit) 7.383Mb/sec It is 40 times quicker in one direction than the other. Can you give me a hint where to go from here. Cheers, Dave. kashani wrote: Dave Oxley wrote: Hi Mark, Thanks for the reply. Unfortunately, I had already tried power cycling my hub and it made no difference. Hubs only support half-duplex which pretty much guarantees collisions. Is it really a hub or are you just referring to yous switch as a hub? Assuming you have a switch I'd attempt to set full duplex without turning autoneg off... that sometimes helps. You might also try emerging the unstable ethtool3 as it supports more cards then the default ethtool2 and has some bug fixes. Some cards work better with mii-diag so you might try that as well. kashani -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Network collisions
Its on board the motherboard. I could put a second NIC in but I don't want to waste the pci slot. This is an HTPC. Dave. Uwe Thiem wrote: On 04 October 2005 07:28, Dave Oxley wrote: Hi all, I have two Gentoo machines (specified as Server and Client for ease). The server networking is working fine, but the client cannot receive without lots of collisions. The speeds I get are: Server -> Client (i.e. receive) 170.3Kb/sec Client -> Server (i.e. transmit) 7.383Mb/sec The cards of both machines are running half duplex. If I try to force them to full duplex with (ethtool -s eth0 speed 100 duplex full autoneg off) then all I get is errors in ifconfig. The module used for networking on the client is 8139too. Can anybody help me with this? Replace the client's NIC. Uwe -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Re: Network collisions
Ok, I've fixed the problem. I've plugged both systems into my router (which is a switch) and they are working fine now. There is obviously a bug in the 8139too driver. I'll have to live with the long cables going to the switch for the time being though!! Cheers for everyones help. Dave. James wrote: Dave Oxley daveoxley.co.uk> writes: Yeah, its a hub. I'll stop trying to set it to full duplex now. It is 40 times quicker in one direction than the other. Can you give me a hint where to go from here. Try connecting the 2 systems with only a 'cross-over cable' run the applications and make measurements. If this results in an increase in the bandwidth in either direction, you may want to put systems back on the hub, and have a third system run ethereal. Look at your data traffic and see if anythingelse is using the bandwidth from either of these 2 system or what else is plug into the hub/switch. Is the hub a 10Mbps only hub/switch, check that. On 10 Mbps ethernet hubs,you can never reach the full 10 Mbps, in fact with many systems chattering,the practical throughput is marginally around 33%. If when you are on the cross over cable and you get similar poor results,then the problem may be in the ethernet driver code, kernel, irq settings or some other low level part of the kernel/modules, especially if you get the same skewed results with several different applications moving data between the systems. But, if when you move data between these 2 isolated system, and get different bandwidth performance semantics, then the problem is most likely between the applications or a bottleneck in the application code (poor data structure for example). Make sure you computers are not resource limited, thus blocking the processthat you are running to move the data. Top and ntop are just a few toolsto help track down these sort of issues. Sadly, you may have a complex mix of part or all of these aforementioned issues... hth, James -- gentoo-user@gentoo.org mailing list
[gentoo-user] udevstart Segmentation fault - Urgent
I have just run 'emerge --update --deep --newuse world' on 2 of my Gentoo machines as I do every few days. This upgraded my udev from 068-r1 to 070. Neither machine will now boot. I've been investigating why on my server as it is most important that I get this machine up and running ASAP. During boot I get the following error: /sbin/rc: line 93: 1062 Segmentation fault /sbin/udevstart Then when it gets to checking root filesystem it reports /dev/sda3 is missing and drops me to a filesystem repair console. Please can someone help. I urgently need to get this machine back up and running. Cheers, Dave. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] udevstart Segmentation fault - Urgent
I have just downgraded udev to 068-r1 and my server now boots again. I'm about to do the same with my other Gentoo machine. The only thing the 2 machines have in common is that they both have SATA drives, so I wonder if this is causing the new udev a problem. Dave. Dave Oxley wrote: I have just run 'emerge --update --deep --newuse world' on 2 of my Gentoo machines as I do every few days. This upgraded my udev from 068-r1 to 070. Neither machine will now boot. I've been investigating why on my server as it is most important that I get this machine up and running ASAP. During boot I get the following error: /sbin/rc: line 93: 1062 Segmentation fault /sbin/udevstart Then when it gets to checking root filesystem it reports /dev/sda3 is missing and drops me to a filesystem repair console. Please can someone help. I urgently need to get this machine back up and running. Cheers, Dave. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] udevstart Segmentation fault - Urgent
Roy Wright wrote: Dave Oxley wrote: I have just downgraded udev to 068-r1 and my server now boots again. I'm about to do the same with my other Gentoo machine. The only thing the 2 machines have in common is that they both have SATA drives, so I wonder if this is causing the new udev a problem. Dave. Dave Oxley wrote: I have just run 'emerge --update --deep --newuse world' on 2 of my Gentoo machines as I do every few days. This upgraded my udev from 068-r1 to 070. Neither machine will now boot. I've been investigating why on my server as it is most important that I get this machine up and running ASAP. During boot I get the following error: /sbin/rc: line 93: 1062 Segmentation fault /sbin/udevstart Then when it gets to checking root filesystem it reports /dev/sda3 is missing and drops me to a filesystem repair console. Please can someone help. I urgently need to get this machine back up and running. Cheers, Dave. I'm running dual SATA Raptors with udev 70, kernel 2.6.12-r10. Just did a reboot to confirm that I could. So it is possible. Any info in dmesg? How far in the boot process do you get? -Roy Both machines are now back up and running with udev-068-r1 so I can't get the dmesg for when it went wrong at the moment. I'm running kernel 2.6.13-r4 on both machines but I tried booting with 2.6.13-r3 and 2.6.12-r10 and they made no difference. The drives in both machines are Samsung Spinpoint SATA drives. This is the only thing the machines have in common: The server is a P4 2.8 with Hyperthreading and therefore an SMP kernel while the HTPC is an AMD64. I will upgrade udev to 070 again on the HTPC and try to get the dmesg for it a bit later on. The machines busy at the moment. When I do this, is there any other information I can get from the logs etc that will help? Cheers, Dave. -- gentoo-user@gentoo.org mailing list
[gentoo-user] Re-emerge missing files
I left an emerge of Qt running at the weekend which downgraded my Xorg from 7.0 to 6.8 (I was missing virtual/x11 ~amd64 in package.keywords). When I came back to the machine I unmerged Xorg which deleted a load of libraries that were installed with 7.0, but the system thinks they are still installed. I need a mechanism to do a sanity check on the ebuilds installed and the actual files, so that I can re-emerge ebuilds whose files have been deleted. Is there anything that does this? Cheers, Dave -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Re-emerge missing files
Rafael Castro wrote: > > On Jun 26, 2006, at 12:16 AM, Dave Oxley wrote: > >> I left an emerge of Qt running at the weekend which downgraded my Xorg >> from 7.0 to 6.8 (I was missing virtual/x11 ~amd64 in package.keywords). >> When I came back to the machine I unmerged Xorg which deleted a load of >> libraries that were installed with 7.0, but the system thinks they are >> still installed. I need a mechanism to do a sanity check on the ebuilds >> installed and the actual files, so that I can re-emerge ebuilds whose >> files have been deleted. Is there anything that does this? > > I'm not quite sure I understood it, but I think you're looking for > revdep-rebuild... > from the man page: > > revdep-rebuild scans libraries and binaries for missing shared > library dependencies >and fixes them by re-emerging those broken binaries and shared > libraries. It is use‐ >ful when an upgraded package breaks other software packages > that are dependent upon >the upgraded package. I already knew about revdep-rebuild. It doesn't do what I need, so I've written a script which has solved my problems and here it is in case anyone is interested: for i in `equery list`; do for j in `equery files =$i`; do if [ ! -d "$j" ] && [ ! -f "$j" ]; then echo "File $j from ebuild $i is missing" fi done done -- gentoo-user@gentoo.org mailing list
[gentoo-user] New Java system
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I have the new Java system installed but I have a problem. I accidently removed net-dns/libidn when I did an 'emerge --depclean', but its required by Asterisk. When I try to emerge it I get the output below. Anybody know how I can fix this. Cheers, Dave. ~ # emerge -av net-dns/libidn These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild N] net-dns/libidn-0.5.15 USE="java nls -doc -emacs" 0 kB Total size of downloads: 0 kB Would you like to merge these packages? [Yes/No] Yes >>> Emerging (1 of 1) net-dns/libidn-0.5.15 to / >>> checking ebuild checksums ;-) >>> checking auxfile checksums ;-) >>> checking miscfile checksums ;-) >>> checking libidn-0.5.15.tar.gz ;-) * Enabling generation-2 compatibility ... * There was a problem determining which VM to use for Generation-1 * See the list of available VMs by using: java-config-1 -L * Then select on of those by using: java-config-1 -S * And once that is done, run: env-update && source /etc/profile * Then to continue the emerge: emerge --resume [ !! ] !!! ERROR: net-dns/libidn-0.5.15 failed. Call stack: ebuild.sh, line 1555: Called dyn_setup ebuild.sh, line 668: Called pkg_setup ebuild.sh, line 1248: Called java-pkg_pkg_setup java-pkg.eclass, line 42: Called die !!! Couldn't determine VM for generation-1 !!! If you need support, post the topmost build error, and the call stack if relevant. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.4 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFEomEKx43ifHzpDVURAqjLAJ4kJWis4R9+eVJ3H/KCpNwOnmjZzgCfTJpR QK9sEVfrJSGuAb9BBE/afb0= =p3Eu -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] New Java system
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Bo Ørsted Andresen wrote: > On Wednesday 28 June 2006 12:59, Dave Oxley wrote: >> I have the new Java system installed but I have a problem. I accidently >> removed net-dns/libidn when I did an 'emerge --depclean', but its >> required by Asterisk. When I try to emerge it I get the output below. >> Anybody know how I can fix this. > >> * Enabling generation-2 compatibility ... >> * There was a problem determining which VM to use for Generation-1 >> * See the list of available VMs by using: java-config-1 -L >> * Then select on of those by using: java-config-1 -S >> * And once that is done, run: env-update && source /etc/profile >> * Then to continue the emerge: emerge --resume > > You need to follow the java upgrade guide [1]. java-check-environment will > inform you that you need to install a Generation-1 VM. This is for ebuilds > that have not yet been ported to the new system. Note that sun-jdk-1.5* > cannot function as a Generation-1 VM. So to use sun-jdk for this you need to > unmask and install sun-jdk-1.4.2.12. > > [1] http://www.gentoo.org/proj/en/java/java-upgrade.xml > Oops, I missed putting Blackdown into package.keywords. Cheers for your help, Dave. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.4 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFEooAxx43ifHzpDVURAiQNAJ4jlnIlv+f5NAm53qJLE6JKB0JiSQCfTwMf joujuMZY1Ui3rjKNINIlBU4= =xCri -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list
[gentoo-user] Nucleus CMS
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I want to install a blog on my web server and was going to install Nucleus CMS (http://nucleuscms.org/) as I've used it in the past but I can't find an ebuild. Is there an ebuild or is there a better package for blogging? Cheers, Dave. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFE6ZUjx43ifHzpDVURAt5SAJ47+Z9Cf4UwTy+PuZ+5kmVmlcp8CQCdEx9Z /FeKPIAp25AJieihpwo/FN4= =Fn1+ -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list
[gentoo-user] DVB-S multiplex
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Does anyone know why the OptusC1-156E file that comes with dvbscan doesn't match what's defined on lyngsat.com? For example Fox Sports 1 (sid 3001) is listed on lyngsat as 12478 H, SR 27800, 3/4 but in channels.conf it is 12398:h:0:27800:1011:1012:3001. As you can see the frequency is 80KHz out. Cheers, Dave. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFE7Ef5x43ifHzpDVURAhxvAJ4gKj/2S3oRPnzeJEq83VtMDc0SGQCeIJyK kZCjTfKIU+lEHKWJcPgdIsA= =mC/h -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list
[gentoo-user] Tomcat won't start!?!?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I just updated world on my server today and now Tomcat won't start. I have no idea why. When I start it I just get [!!]. I removed all the extra spaces from all the parameters and put an echo around the start-stop-daemon line and when I run the command that gets echoed it starts fine! I can't find anything in the logs to report, but if I put - --verbose instead of --quite on the start-stop-daemon line I get this: blackadder ~ # /etc/init.d/tomcat-5.5 start * Caching service dependencies ... [ ok ] * Starting Tomcat ... Starting /opt/sun-jdk-1.5.0.08/bin/java... Detaching to start /opt/sun-jdk-1.5.0.08/bin/java...done. [ !! ] Does anyone have any ideas? Cheers, Dave. Here's the command that gets echoed and runs fine: start-stop-daemon --start --quiet --background --chuid tomcat:tomcat - --make-pidfile --pidfile /var/run/tomcat.pid --exec /opt/sun-jdk-1.5.0.08/bin/java -- -server -Xmx1024m - -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager - -Djava.util.logging.config.file=/etc/tomcat-5.5/logging.properties - -Djava.endorsed.dirs=/usr/share/tomcat-5.5/common/endorsed -classpath /usr/share/tomcat-5.5/server/lib:/opt/sun-jdk-1.5.0.08/lib/tools.jar:/usr/share/tomcat-5.5/bin/bootstrap.jar:/usr/share/tomcat-5.5/bin/commons-logging-api.jar -Dcatalina.base=/var/lib/tomcat-5.5 - -Dcatalina.home=/usr/share/tomcat-5.5 - -Djava.io.tmpdir=/var/tmp/tomcat-5.5 org.apache.catalina.startup.Bootstrap start -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFE9qu8x43ifHzpDVURAp+aAJ9LPWWRv7x7TMbQdVcGmNk/ZFEW/gCfSc+4 1pwC4GB4rTQyzilPhZss4bA= =Sa9B -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list