[gentoo-user] Network card failing under load
Hi all, I have an issue with a remote server that keeps losing access to the network. I've managed to replicate the issue by pulling a large file from the server at full speed (100mbit). It will cut out during the file copy and the log will show the following: Oct 17 17:47:26 eric kernel: WARNING: at net/sched/sch_generic.c:256 dev_watchdog+0x251/0x260() Oct 17 17:47:26 eric kernel: Hardware name: KS Oct 17 17:47:26 eric kernel: NETDEV WATCHDOG: eth0 (sis900): transmit queue 0 timed out Oct 17 17:47:26 eric kernel: Modules linked in: tun Oct 17 17:47:26 eric kernel: Pid: 0, comm: swapper/0 Not tainted 3.4.9-gentoo-gnu-dat #7 Oct 17 17:47:26 eric kernel: Call Trace: Oct 17 17:47:26 eric kernel: IRQ [810370db] ? warn_slowpath_common+0x7b/0xc0 Oct 17 17:47:26 eric kernel: [810371d5] ? warn_slowpath_fmt+0x45/0x50 Oct 17 17:47:26 eric kernel: [81217f81] ? timerqueue_del+0x31/0x90 Oct 17 17:47:26 eric kernel: [8131a791] ? dev_watchdog+0x251/0x260 Oct 17 17:47:26 eric kernel: [81042936] ? run_timer_softirq+0x126/0x250 Oct 17 17:47:26 eric kernel: [8131a540] ? qdisc_reset+0x40/0x40 Oct 17 17:47:26 eric kernel: [810573ad] ? hrtimer_run_queues+0x5d/0x150 Oct 17 17:47:26 eric kernel: [8103d178] ? __do_softirq+0x98/0x120 Oct 17 17:47:26 eric kernel: [8141e3fc] ? call_softirq+0x1c/0x30 Oct 17 17:47:26 eric kernel: [8100d065] ? do_softirq+0x65/0xa0 Oct 17 17:47:26 eric kernel: [8103d47e] ? irq_exit+0x8e/0xb0 Oct 17 17:47:26 eric kernel: [81023ce8] ? smp_apic_timer_interrupt+0x68/0xa0 Oct 17 17:47:26 eric kernel: [8141dc8a] ? apic_timer_interrupt+0x6a/0x70 Oct 17 17:47:26 eric kernel: EOI [81060435] ? sched_clock_local+0x15/0x80 Oct 17 17:47:26 eric kernel: [81012c78] ? mwait_idle+0x58/0x80 Oct 17 17:47:26 eric kernel: [810136b6] ? cpu_idle+0x56/0xa0 Oct 17 17:47:26 eric kernel: [815b4ae9] ? start_kernel+0x2c6/0x2d1 Oct 17 17:47:26 eric kernel: [815b459a] ? repair_env_string+0x5c/0x5c Oct 17 17:47:26 eric kernel: [815b441e] ? x86_64_start_kernel+0x104/0x113 Oct 17 17:47:26 eric kernel: ---[ end trace 50e815f551bee4ac ]--- Oct 17 17:47:26 eric kernel: eth0: Transmit timeout, status 0005 Oct 17 17:47:34 eric kernel: eth0: Transmit timeout, status 0005 Oct 17 17:47:42 eric kernel: eth0: Transmit timeout, status 0005 Oct 17 17:47:50 eric kernel: eth0: Transmit timeout, status 0005 Oct 17 17:47:58 eric kernel: eth0: Transmit timeout, status 0005 As it is remote I have to hard reboot it at this point to get anything more out of it, something that I'm not too keen on doing too often. From that I can work out there seems to be an issue with the sis900 card but where to go from here I'm not sure on. Any help would be greatly appreciated Thanks Oliver
Re: [gentoo-user] Network card failing under load
Datty wrote: Hi all, I have an issue with a remote server that keeps losing access to the network. I've managed to replicate the issue by pulling a large file from the server at full speed (100mbit). It will cut out during the file copy and the log will show the following: Oct 17 17:47:26 eric kernel: WARNING: at net/sched/sch_generic.c:256 dev_watchdog+0x251/0x260() Oct 17 17:47:26 eric kernel: Hardware name: KS Oct 17 17:47:26 eric kernel: NETDEV WATCHDOG: eth0 (sis900): transmit queue 0 timed out Oct 17 17:47:26 eric kernel: Modules linked in: tun Oct 17 17:47:26 eric kernel: Pid: 0, comm: swapper/0 Not tainted 3.4.9-gentoo-gnu-dat #7 Oct 17 17:47:26 eric kernel: Call Trace: Oct 17 17:47:26 eric kernel: IRQ [810370db] ? warn_slowpath_common+0x7b/0xc0 Oct 17 17:47:26 eric kernel: [810371d5] ? warn_slowpath_fmt+0x45/0x50 Oct 17 17:47:26 eric kernel: [81217f81] ? timerqueue_del+0x31/0x90 Oct 17 17:47:26 eric kernel: [8131a791] ? dev_watchdog+0x251/0x260 Oct 17 17:47:26 eric kernel: [81042936] ? run_timer_softirq+0x126/0x250 Oct 17 17:47:26 eric kernel: [8131a540] ? qdisc_reset+0x40/0x40 Oct 17 17:47:26 eric kernel: [810573ad] ? hrtimer_run_queues+0x5d/0x150 Oct 17 17:47:26 eric kernel: [8103d178] ? __do_softirq+0x98/0x120 Oct 17 17:47:26 eric kernel: [8141e3fc] ? call_softirq+0x1c/0x30 Oct 17 17:47:26 eric kernel: [8100d065] ? do_softirq+0x65/0xa0 Oct 17 17:47:26 eric kernel: [8103d47e] ? irq_exit+0x8e/0xb0 Oct 17 17:47:26 eric kernel: [81023ce8] ? smp_apic_timer_interrupt+0x68/0xa0 Oct 17 17:47:26 eric kernel: [8141dc8a] ? apic_timer_interrupt+0x6a/0x70 Oct 17 17:47:26 eric kernel: EOI [81060435] ? sched_clock_local+0x15/0x80 Oct 17 17:47:26 eric kernel: [81012c78] ? mwait_idle+0x58/0x80 Oct 17 17:47:26 eric kernel: [810136b6] ? cpu_idle+0x56/0xa0 Oct 17 17:47:26 eric kernel: [815b4ae9] ? start_kernel+0x2c6/0x2d1 Oct 17 17:47:26 eric kernel: [815b459a] ? repair_env_string+0x5c/0x5c Oct 17 17:47:26 eric kernel: [815b441e] ? x86_64_start_kernel+0x104/0x113 Oct 17 17:47:26 eric kernel: ---[ end trace 50e815f551bee4ac ]--- Oct 17 17:47:26 eric kernel: eth0: Transmit timeout, status 0005 Oct 17 17:47:34 eric kernel: eth0: Transmit timeout, status 0005 Oct 17 17:47:42 eric kernel: eth0: Transmit timeout, status 0005 Oct 17 17:47:50 eric kernel: eth0: Transmit timeout, status 0005 Oct 17 17:47:58 eric kernel: eth0: Transmit timeout, status 0005 As it is remote I have to hard reboot it at this point to get anything more out of it, something that I'm not too keen on doing too often. From that I can work out there seems to be an issue with the sis900 card but where to go from here I'm not sure on. Any help would be greatly appreciated I would suggest that you upgrade to 3.4.14 then, if it still occurs, re-open the following bug (which appears to be related): https://bugzilla.kernel.org/show_bug.cgi?id=20092 Elsewhere, this was reported as a regression between Ubuntu 9.10 and 10.04 which might help to pinpoint where things went wrong in the mainline kernel. Not that Ubuntu's lame bug resolution process has shed any further light on the matter. See also: http://www.alsvartr.de/?p=1104 --Kerin
[gentoo-user] converting from testing to stable SLOWLY
A few months ago a procedure was given for converting from testing to stable (e.g. ~amd64--~amd) by essentially waiting for stable to catch up. I believe the basic idea was to unmask a bunch of packages and then as stable catches up, remove the unmasks. I also believe there was some automated way to generate the unmasks and maybe a way to see when each is not needed. Can someone repost this msg? I foolishly did not save it and now want to convert a system to stable and can afford to do so slowly. thanks, allan
Re: [gentoo-user] converting from testing to stable SLOWLY
Am 17.10.2012 22:18, schrieb Allan Gottlieb: A few months ago a procedure was given for converting from testing to stable (e.g. ~amd64--~amd) by essentially waiting for stable to catch up. I believe the basic idea was to unmask a bunch of packages and then as stable catches up, remove the unmasks. I also believe there was some automated way to generate the unmasks and maybe a way to see when each is not needed. Can someone repost this msg? I foolishly did not save it and now want to convert a system to stable and can afford to do so slowly. thanks, allan I don't remember the original post but if I understand you correctly, it should be sufficient to replace your /etc/portage/package.keywords with the output of this command: eix --installed-testing --format '=installedversions:NAMEVERSION' --pure-packages You can then use eix-test-obsolete to find obsolete masks and other cruft. Regards, Florian Philipp signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] converting from testing to stable SLOWLY
On Wed, 17 Oct 2012 16:18:50 -0400, Allan Gottlieb wrote: A few months ago a procedure was given for converting from testing to stable (e.g. ~amd64--~amd) by essentially waiting for stable to catch up. I believe the basic idea was to unmask a bunch of packages and then as stable catches up, remove the unmasks. I also believe there was some automated way to generate the unmasks and maybe a way to see when each is not needed. Can someone repost this msg? I foolishly did not save it and now want to convert a system to stable and can afford to do so slowly. You can generate the list with qlist -ICv | sed -e 's/^/~/' -e 's/-r[1-9]$//' /etc/portage/package.use/goingstable This allows revision updates, which is useful as they usually contain bug or security fixes, but doesn't allow any higher versions. Occasionally running eix-test-obsolete will let you know which entries have become redundant because stable has caught up with them. -- Neil Bothwick Committee (noun): A group of people spending hours taking minutes signature.asc Description: PGP signature
Re: [gentoo-user] converting from testing to stable SLOWLY
On Wed, 17 Oct 2012 21:54:16 +0100, Neil Bothwick wrote: qlist -ICv | sed -e 's/^/~/' -e 's/-r[1-9]$//' /etc/portage/package.use/goingstable That should, of course, be package.unmask, not package.use. -- Neil Bothwick This chicken has no beak, said Tom impeccably. signature.asc Description: PGP signature
Re: [gentoo-user] converting from testing to stable SLOWLY
On Wed, Oct 17 2012, Neil Bothwick wrote: On Wed, 17 Oct 2012 16:18:50 -0400, Allan Gottlieb wrote: A few months ago a procedure was given for converting from testing to stable (e.g. ~amd64--~amd) by essentially waiting for stable to catch up. I believe the basic idea was to unmask a bunch of packages and then as stable catches up, remove the unmasks. I also believe there was some automated way to generate the unmasks and maybe a way to see when each is not needed. Can someone repost this msg? I foolishly did not save it and now want to convert a system to stable and can afford to do so slowly. You can generate the list with qlist -ICv | sed -e 's/^/~/' -e 's/-r[1-9]$//' /etc/portage/package.mask/goingstable This allows revision updates, which is useful as they usually contain bug or security fixes, but doesn't allow any higher versions. Occasionally running eix-test-obsolete will let you know which entries have become redundant because stable has caught up with them. Thanks you both (I incorporated the .use--.mask) change). allan
[gentoo-user] Question about updating /etc/portage/package.use
I ran emerge -p --deep --update world on a machine, and got... * IMPORTANT: config file '/etc/portage/package.use' needs updating. * See the CONFIGURATION FILES section of the emerge * man page to learn how to update config files. These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild U ] sys-devel/gnuconfig-20120818 [20120116] [ebuild U ] dev-libs/expat-2.1.0-r2 [2.1.0] [ebuild U ] media-libs/libpng-1.5.13-r1 [1.5.10] [ebuild U ] virtual/libffi-3.0.11 [0] [ebuild N ] dev-libs/gobject-introspection-common-1.32.1 [ebuild N ] dev-libs/elfutils-0.149 USE=bzip2 zlib -lzma -nls [ebuild U ] app-arch/zip-3.0-r1 [3.0] USE=-natspec% [ebuild U ] sys-apps/man-pages-3.42 [3.41] [ebuild U ] dev-libs/libtasn1-2.13 [2.12] [ebuild U ] app-text/dos2unix-6.0.1 [6.0] [ebuild U ] dev-libs/glib-2.32.4-r1 [2.30.3] [ebuild U ] x11-libs/pango-1.30.1 [1.29.4] [ebuild U ] x11-libs/gdk-pixbuf-2.26.4 [2.24.1-r1] [ebuild U ] dev-libs/atk-2.4.0 [2.2.0] [ebuild U ] media-video/mplayer-1.1-r1 [1.0_rc4_p20110322-r1] USE=iconv* [ebuild U ] gnome-extra/libgsf-1.14.23 [1.14.22] USE=-introspection% [ebuild U ] net-libs/gnutls-2.12.20 [2.12.18] [ebuild U ] x11-themes/gnome-icon-theme-3.4.0 [3.2.1.2] [ebuild U ] gnome-base/librsvg-2.36.1 [2.34.2] [ebuild U ] x11-libs/gtk+-2.24.12 [2.24.10-r1] [i3][root][~] I read that section of the emerge man page, and it talks about CONFIG_PROTECT and CONFIG_PROTECT_MASK. The tone of the message seems to indicate there is something wrong with my /etc/portage/package.use file. But I can't figure out what the problem is. Can somebody please explain it in plain English? -- Walter Dnes waltd...@waltdnes.org I don't run desktop environments; I run useful applications
Re: [gentoo-user] Question about updating /etc/portage/package.use
On Wed, Oct 17, 2012 at 7:00 PM, Walter Dnes waltd...@waltdnes.org wrote: I ran emerge -p --deep --update world on a machine, and got... * IMPORTANT: config file '/etc/portage/package.use' needs updating. * See the CONFIGURATION FILES section of the emerge * man page to learn how to update config files. SNIP I read that section of the emerge man page, and it talks about CONFIG_PROTECT and CONFIG_PROTECT_MASK. The tone of the message seems to indicate there is something wrong with my /etc/portage/package.use file. But I can't figure out what the problem is. Can somebody please explain it in plain English? -- Walter Dnes waltd...@waltdnes.org I don't run desktop environments; I run useful applications Post package.use please. Cheers, Mark
Re: [gentoo-user] Question about updating /etc/portage/package.use
On Wed, Oct 17, 2012 at 7:19 PM, Mark Knecht markkne...@gmail.com wrote: On Wed, Oct 17, 2012 at 7:00 PM, Walter Dnes waltd...@waltdnes.org wrote: I ran emerge -p --deep --update world on a machine, and got... * IMPORTANT: config file '/etc/portage/package.use' needs updating. * See the CONFIGURATION FILES section of the emerge * man page to learn how to update config files. SNIP I read that section of the emerge man page, and it talks about CONFIG_PROTECT and CONFIG_PROTECT_MASK. The tone of the message seems to indicate there is something wrong with my /etc/portage/package.use file. But I can't figure out what the problem is. Can somebody please explain it in plain English? -- Walter Dnes waltd...@waltdnes.org I don't run desktop environments; I run useful applications Post package.use please. Cheers, Mark Also, what version of portage are you using? Note that I've never seen this message and other than adds and deletes haven't changed my package.use file in I don't know how long. - Mark
RE: [gentoo-user] Question about updating /etc/portage/package.use
Date: Wed, 17 Oct 2012 19:26:54 -0700 Subject: Re: [gentoo-user] Question about updating /etc/portage/package.use From: markkne...@gmail.com To: gentoo-user@lists.gentoo.org On Wed, Oct 17, 2012 at 7:19 PM, Mark Knecht markkne...@gmail.com wrote: On Wed, Oct 17, 2012 at 7:00 PM, Walter Dnes waltd...@waltdnes.org wrote: I ran emerge -p --deep --update world on a machine, and got... * IMPORTANT: config file '/etc/portage/package.use' needs updating. * See the CONFIGURATION FILES section of the emerge * man page to learn how to update config files. SNIP I read that section of the emerge man page, and it talks about CONFIG_PROTECT and CONFIG_PROTECT_MASK. The tone of the message seems to indicate there is something wrong with my /etc/portage/package.use file. But I can't figure out what the problem is. Can somebody please explain it in plain English? -- Walter Dnes waltd...@waltdnes.org I don't run desktop environments; I run useful applications Post package.use please. Cheers, Mark Also, what version of portage are you using? Note that I've never seen this message and other than adds and deletes haven't changed my package.use file in I don't know how long. - Mark dispatch-conf should show what it wants to change, or you can go in /etc/portage and look for a file named ._cfg to see what it wants to change it to manually
Re: [gentoo-user] Question about updating /etc/portage/package.use
On Wed, Oct 17, 2012 at 07:26:54PM -0700, Mark Knecht wrote On Wed, Oct 17, 2012 at 7:19 PM, Mark Knecht markkne...@gmail.com wrote: Post package.use please. Cheers, Mark Also, what version of portage are you using? Note that I've never seen this message and other than adds and deletes haven't changed my package.use file in I don't know how long. It's sys-apps/portage-2.1.11.9 My /etc/portage/package.use is attached. I start my USE with -* so I have to put a lot of stuff in package.use. Anyhow, I ran an update world. When I ran etc-update, here are the changes it wanted to make to package.use... 1) -app-emulation/qemu-kvm sdl +# move app-emulation/qemu-kvm app-emulation/qemu +app-emulation/qemu sdl So they changed the name. No problem. I'll do this manually. 2) -media-video/mplayer iconv ?!?!? But, but, but... on my first attempt, the update refosed to run, claiming that iconv is required if I specify truetype. Now 5 minutes later, it wants me to remove the iconv flag. 3) -www-client/midori deprecated No bleeping way! * Short story Flash does not work on linux midori without this option * Long story. See I got midori working, including Flash which I posted on the 15th in this forum. The Flash binary is GTK+:2 and only works if linked with GTK+:2, which deprecated causes. The default install links against GTK+:3, which seems to be ABI-incompatable with Flash video (sound still works). BTW, this install is on my media PC hooked up to my 50 plasma TV, not my regular working machine. I went and deleted the new config, so I don't accidentally enable it it some day. -- Walter Dnes waltd...@waltdnes.org I don't run desktop environments; I run useful applications app-arch/zip -bzip2 app-crypt/gnupg -X app-editors/vim -X app-emulation/dosemu -X app-emulation/wine -mp3 app-emulation/qemu sdl app-misc/mc -X ncurses app-shells/bash readline # following items required by xpdf app-text/poppler abiword xpdf-headers utils app-text/xpdf motif dev-lang/python readline xml dev-libs/xmlrpc-c curl dev-libs/libxml2 python mail-mta/ssmtp mta mail-client/mutt buffysize gpgme mbox pop smime smtp media-fonts/terminus-font pcf media-gfx/imagemagick raw media-gfx/ufraw contrast gimp hotpixels media-libs/alsa-lib midi media-libs/libsdl alsa audio -joystick video media-libs/mesa gallium media-libs/win32codecs real media-sound/timidity++ -X media-sound/mpg123 alsa media-video/ffmpeg alsa faac faad media-video/mplayer iconv media-libs/libpng apng media-libs/libtheora encode media-video/avidemux x264 media-video/mplayer alsa ass encode i8x0 mmxext real ssse3 -joystick quicktime rtmp -vorbis x264 xvmc net-misc/openssh -X net-nntp/slrn uudeview www-plugins/gecko-mediaplayer ass sys-apps/groff -X sys-devel/gcc fortran sys-fs/mtools -X sys-libs/glibc glibc-omitfp userlocales www-client/dillo gif jpeg png www-client/midori deprecated www-client/w3m -X -imlib www-plugins/adobe-flash 64bit x11-base/xorg-server xorg x11-wm/icewm imlib x11-base/xorg-x11 bitmap-fonts font-server truetype-fonts type1-fonts # If it's going to be a rescue package, it damn well better work # standalone when libraries get screwed up. Also set mdev for # udev-less operation. sys-apps/busybox mdev static # Goffice requires the next 2 lines # and first line also enables SVG support in Firefox x11-libs/cairo svg dev-libs/libpcre unicode # Next line required for Dillo to properly render scalable fonts x11-libs/fltk xft media-sound/alsaplayer alsa audiofile # Postgresql stuff dev-db/postgresql-base threads zlib doc readline dev-db/postgresql-server doc perl python tcl uuid xml