Re: e1000e: possible reggresion?
Hi Eric, It was probalby it. Uptime 5+ hours and no problem. Thanks for the hint, I was compiling linus tree yesterday around 12:00 UTC, your change was added later. Regards Tomas On Thu, Aug 20, 2015 at 10:29 PM, Eric Dumazet eric.duma...@gmail.com wrote: On Thu, 2015-08-20 at 21:37 +0200, Tomas Papan wrote: Hi there, I’m observing a freeze with the recent kernel (4.2-rc7). Unfortunately I can’t preserver the full traces. There is nothing in the messages after reboot, I was just lucky one time to see it when tail -f /var/log/messages was running. This is the only line which I was able to get: eth1 (e1000e): transmit queue 0 timed out I’ve got this message in the past, but the ethtool -K eth1 tso off solved that. I’m always running this command at the boot time since then. There is no issue with 4.2-rc4. It is hard to bisect, because this machine is used as headless server and it happens randomly (usually within 2 hours). Do you have any idea how to trace it or what can I do? Please keep me on CC since I’m not subscribed on this list Regards Tomas I would pull latest tree from Linus and pray the bug was fixed. My feeling is that you hit the issue fixed with commit 83fccfc3940c4a2db90fd7e7079f5b465cd8c6af Author: Eric Dumazet eduma...@google.com Date: Thu Aug 13 15:44:51 2015 -0700 inet: fix potential deadlock in reqsk_queue_unlink() When replacing del_timer() with del_timer_sync(), I introduced a deadlock condition : reqsk_queue_unlink() is called from inet_csk_reqsk_queue_drop() inet_csk_reqsk_queue_drop() can be called from many contexts, one being the timer handler itself (reqsk_timer_handler()). In this case, del_timer_sync() loops forever. Simple fix is to test if timer is pending. Fixes: 2235f2ac75fd (inet: fix races with reqsk timers) Signed-off-by: Eric Dumazet eduma...@google.com Signed-off-by: David S. Miller da...@davemloft.net -- To unsubscribe from this list: send the line unsubscribe netdev in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
e1000e: possible reggresion?
Hi there, I’m observing a freeze with the recent kernel (4.2-rc7). Unfortunately I can’t preserver the full traces. There is nothing in the messages after reboot, I was just lucky one time to see it when tail -f /var/log/messages was running. This is the only line which I was able to get: eth1 (e1000e): transmit queue 0 timed out I’ve got this message in the past, but the ethtool -K eth1 tso off solved that. I’m always running this command at the boot time since then. There is no issue with 4.2-rc4. It is hard to bisect, because this machine is used as headless server and it happens randomly (usually within 2 hours). Do you have any idea how to trace it or what can I do? Please keep me on CC since I’m not subscribed on this list Regards Tomas -- To unsubscribe from this list: send the line unsubscribe netdev in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
kernel 3.9.x kvm hangs after seabios
I have the same issue, with 3.9.1 (3.9.0 too) it hangs right after seabios... (no problem in 3.8.11) qemu-1.4.1 seabios-1.7.2.1 after setting emulate_invalid_guest_state=0 everything works just fine. virsh # qemu-monitor-command vm-jack --hmp x/8i \$pc 0x000fc46b: lgdtw %cs:-0x2c60 0x000fc471: mov%cr0,%eax 0x000fc474: or $0x1,%eax 0x000fc478: mov%eax,%cr0 0x000fc47b: ljmpl $0x8,$0xfc483 0x000fc483: mov$0x10,%ax 0x000fc486: add%al,(%bx,%si) 0x000fc488: mov%ax,%ds virsh # qemu-monitor-command vm-jack --hmp x/64b \$pc 0x000fc46b: lgdtw %cs:-0x2c60 0x000fc471: mov%cr0,%eax 0x000fc474: or $0x1,%eax 0x000fc478: mov%eax,%cr0 0x000fc47b: ljmpl $0x8,$0xfc483 0x000fc483: mov$0x10,%ax 0x000fc486: add%al,(%bx,%si) 0x000fc488: mov%ax,%ds 0x000fc48a: mov%ax,%es 0x000fc48c: mov%ax,%ss 0x000fc48e: mov%ax,%fs 0x000fc490: mov%ax,%gs 0x000fc492: mov%cx,%ax 0x000fc494: jmp*%dx 0x000fc496: mov%ax,%cx 0x000fc498: mov$0x20,%ax 0x000fc49b: add%al,(%bx,%si) 0x000fc49d: mov%ax,%ds 0x000fc49f: mov%ax,%es 0x000fc4a1: mov%ax,%ss 0x000fc4a3: mov%ax,%fs 0x000fc4a5: mov%ax,%gs 0x000fc4a7: ljmpl $0xc189,$0x18c4c4 0x000fc4af: mov$0x30,%ax 0x000fc4b2: add%al,(%bx,%si) 0x000fc4b4: mov%ax,%ds 0x000fc4b6: mov%ax,%es 0x000fc4b8: mov%ax,%ss 0x000fc4ba: mov%ax,%fs 0x000fc4bc: mov%ax,%gs 0x000fc4be: ljmpl $0x200f,$0x28c4c4 0x000fc4c6: shlb $0xe0,-0x7d(%bp) 0x000fc4ca: decb (%bx) 0x000fc4cc: and%al,%al 0x000fc4ce: ljmp $0xf000,$0xc4d3 0x000fc4d3: lidtw %cs:-0x2c18 0x000fc4d9: xor%ax,%ax 0x000fc4db: mov%ax,%fs 0x000fc4dd: mov%ax,%gs 0x000fc4df: mov%ax,%es 0x000fc4e1: mov%ax,%ds 0x000fc4e3: mov%ax,%ss 0x000fc4e5: mov%ecx,%eax 0x000fc4e8: jmpl *%edx 0x000fc4eb: push %ebp 0x000fc4ed: push %eax 0x000fc4ef: pushl %es 0x000fc4f1: push %cs 0x000fc4f2: push $0xc536 0x000fc4f5: addr32 pushw %es:0x24(%eax) 0x000fc4fa: addr32 pushl %es:0x20(%eax) 0x000fc500: addr32 mov %es:0x4(%eax),%edi 0x000fc506: addr32 mov %es:0x8(%eax),%esi 0x000fc50c: addr32 mov %es:0xc(%eax),%ebp 0x000fc512: addr32 mov %es:0x10(%eax),%ebx 0x000fc518: addr32 mov %es:0x14(%eax),%edx 0x000fc51e: addr32 mov %es:0x18(%eax),%ecx 0x000fc524: addr32 mov %es:(%eax),%ds 0x000fc528: addr32 pushl %es:0x1c(%eax) 0x000fc52e: addr32 mov %es:0x2(%eax),%es 0x000fc533: pop%eax 0x000fc535: iret 0x000fc536: pushf 0x000fc537: cli -- To unsubscribe from this list: send the line unsubscribe kvm in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: kernel 3.9.x kvm hangs after seabios
Hi, I found this in the libvirt (but those messages are same in 3.8.x) anakin libvirt # cat libvirtd.log 2013-05-08 11:59:29.645+: 3750: info : libvirt version: 1.0.5 2013-05-08 11:59:29.645+: 3750: error : udevGetDMIData:1548 : Failed to get udev device for syspath '/sys/devices/virtual/dmi/id' or '/sys/class/dmi/id' 2013-05-08 11:59:29.680+: 3750: warning : ebiptablesDriverInitCLITools:4225 : Could not find 'ebtables' executable virsh # qemu-monitor-command vm-jack --hmp info registers EAX=0002 EBX=64a1 ECX=6e08 EDX=000fc5ab ESI=c5b8 EDI=6eec EBP=dffd83e0 ESP=6df8 EIP=c46b EFL=00010002 [---] CPL=0 II=0 A20=1 SMM=0 HLT=1 ES = 9300 CS =f000 000f 9b00 SS = 9300 DS = 9300 FS = 9300 GS = 9300 LDT= 8200 TR = 8b00 GDT= 000fd3a8 0037 IDT= 000fd3e6 CR0=0010 CR2= CR3= CR4= DR0= DR1= DR2= DR3= DR6=0ff0 DR7=0400 EFER= FCW=037f FSW= [ST=0] FTW=00 MXCSR=1f80 FPR0= FPR1= FPR2= FPR3= FPR4= FPR5= FPR6= FPR7= XMM00= XMM01= XMM02= XMM03= XMM04= XMM05= XMM06= XMM07= bios.bin can be found here http://papan.sk/share/bios.bin I should mentioned that I'm using gentoo and libvirt 1.0.5. I'm sorry if gmail interface breaks output. Regrads Tomas On Wed, May 8, 2013 at 1:55 PM, Gleb Natapov g...@redhat.com wrote: On Wed, May 08, 2013 at 11:22:01AM +, Tomas Papan wrote: I have the same issue, with 3.9.1 (3.9.0 too) it hangs right after seabios... (no problem in 3.8.11) qemu-1.4.1 seabios-1.7.2.1 Is there anything interesting in libvirt logfile? Also please send the output of qemu-monitor-command vm-jack --hmp info registers And, just in case, can you send me your bios.bin image. Mine work. after setting emulate_invalid_guest_state=0 everything works just fine. virsh # qemu-monitor-command vm-jack --hmp x/8i \$pc 0x000fc46b: lgdtw %cs:-0x2c60 0x000fc471: mov%cr0,%eax 0x000fc474: or $0x1,%eax 0x000fc478: mov%eax,%cr0 0x000fc47b: ljmpl $0x8,$0xfc483 0x000fc483: mov$0x10,%ax 0x000fc486: add%al,(%bx,%si) 0x000fc488: mov%ax,%ds virsh # qemu-monitor-command vm-jack --hmp x/64b \$pc 0x000fc46b: lgdtw %cs:-0x2c60 0x000fc471: mov%cr0,%eax 0x000fc474: or $0x1,%eax 0x000fc478: mov%eax,%cr0 0x000fc47b: ljmpl $0x8,$0xfc483 0x000fc483: mov$0x10,%ax 0x000fc486: add%al,(%bx,%si) 0x000fc488: mov%ax,%ds 0x000fc48a: mov%ax,%es 0x000fc48c: mov%ax,%ss 0x000fc48e: mov%ax,%fs 0x000fc490: mov%ax,%gs 0x000fc492: mov%cx,%ax 0x000fc494: jmp*%dx 0x000fc496: mov%ax,%cx 0x000fc498: mov$0x20,%ax 0x000fc49b: add%al,(%bx,%si) 0x000fc49d: mov%ax,%ds 0x000fc49f: mov%ax,%es 0x000fc4a1: mov%ax,%ss 0x000fc4a3: mov%ax,%fs 0x000fc4a5: mov%ax,%gs 0x000fc4a7: ljmpl $0xc189,$0x18c4c4 0x000fc4af: mov$0x30,%ax 0x000fc4b2: add%al,(%bx,%si) 0x000fc4b4: mov%ax,%ds 0x000fc4b6: mov%ax,%es 0x000fc4b8: mov%ax,%ss 0x000fc4ba: mov%ax,%fs 0x000fc4bc: mov%ax,%gs 0x000fc4be: ljmpl $0x200f,$0x28c4c4 0x000fc4c6: shlb $0xe0,-0x7d(%bp) 0x000fc4ca: decb (%bx) 0x000fc4cc: and%al,%al 0x000fc4ce: ljmp $0xf000,$0xc4d3 0x000fc4d3: lidtw %cs:-0x2c18 0x000fc4d9: xor%ax,%ax 0x000fc4db: mov%ax,%fs 0x000fc4dd: mov%ax,%gs 0x000fc4df: mov%ax,%es 0x000fc4e1: mov%ax,%ds 0x000fc4e3: mov%ax,%ss 0x000fc4e5: mov%ecx,%eax 0x000fc4e8: jmpl *%edx 0x000fc4eb: push %ebp 0x000fc4ed: push %eax 0x000fc4ef: pushl %es 0x000fc4f1: push %cs 0x000fc4f2: push $0xc536 0x000fc4f5: addr32 pushw %es:0x24(%eax) 0x000fc4fa: addr32 pushl %es:0x20(%eax) 0x000fc500: addr32 mov %es:0x4(%eax),%edi 0x000fc506
Re: kernel 3.9.x kvm hangs after seabios
Hi, No nothing, I check all logs (even syslog) 1) virsh # qemu-monitor-command vm-jack --hmp info status VM status: running 2) morpheus@anakin ~ $ ps aux | grep vm-jack qemu 3822 0.5 0.1 8952256 23600 ? Sl 13:59 0:08 /usr/bin/qemu-system-x86_64 -machine accel=kvm -name vm-jack -S -machine pc-0.14,accel=kvm,usb=off -cpu Nehalem,+rdtscp,+pdcm,+xtpr,+tm2,+est,+smx,+vmx,+ds_cpl,+monitor,+dtes64,+pbe,+tm,+ht,+ss,+acpi,+ds,+vme -m 8192 -smp 4,sockets=4,cores=1,threads=1 -uuid 03196c23-24ba-d398-a000-582b0e88b0e7 -no-user-config -nodefaults -chardev socket,id=charmonitor,path=/var/lib/libvirt/qemu/vm-jack.monitor,server,nowait -mon chardev=charmonitor,id=monitor,mode=control -rtc base=utc -no-shutdown -boot order=c,menu=on -device piix3-usb-uhci,id=usb,bus=pci.0,addr=0x1.0x2 -drive file=/var/lib/libvirt/images/jack.img,if=none,id=drive-virtio-disk0,format=raw -device virtio-blk-pci,scsi=off,bus=pci.0,addr=0x4,drive=drive-virtio-disk0,id=virtio-disk0 -drive file=/var/lib/libvirt/images/kernel.img,if=none,id=drive-virtio-disk1,format=raw -device virtio-blk-pci,scsi=off,bus=pci.0,addr=0x5,drive=drive-virtio-disk1,id=virtio-disk1 -drive if=none,id=drive-ide0-1-0,readonly=on,format=raw -device ide-cd,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0 -netdev tap,fd=19,id=hostnet0 -device e1000,netdev=hostnet0,id=net0,mac=52:54:00:21:1c:e0,bus=pci.0,addr=0x3 -chardev pty,id=charserial0 -device isa-serial,chardev=charserial0,id=serial0 -vnc 127.0.0.1:0 -k en-us -vga cirrus -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x6 3) it took some time, I didn't have debug_fs, then tracing... but the file is stored here (15 MB) http://papan.sk/share/trace.dat.tar.gz Regards Tomas -- To unsubscribe from this list: send the line unsubscribe kvm in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: kernel 3.9.x kvm hangs after seabios
Sorry, I didn't write that well, I checked that log too... nothing is there... anakin qemu # cat vm-jack.log 2013-05-08 13:02:52.358+: starting up LC_ALL=C PATH=/bin:/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/opt/bin HOME=/root USER=root QEMU_AUDIO_DRV=none /usr/bin/qemu-kvm -name vm-jack -S -machine pc-0.14,accel=kvm,usb=off -cpu Nehalem,+rdtscp,+pdcm,+xtpr,+tm2,+est,+smx,+vmx,+ds_cpl,+monitor,+dtes64,+pbe,+tm,+ht,+ss,+acpi,+ds,+vme -m 8192 -smp 4,sockets=4,cores=1,threads=1 -uuid 03196c23-24ba-d398-a000-582b0e88b0e7 -no-user-config -nodefaults -chardev socket,id=charmonitor,path=/var/lib/libvirt/qemu/vm-jack.monitor,server,nowait -mon chardev=charmonitor,id=monitor,mode=control -rtc base=utc -no-shutdown -boot order=c,menu=on -device piix3-usb-uhci,id=usb,bus=pci.0,addr=0x1.0x2 -drive file=/var/lib/libvirt/images/jack.img,if=none,id=drive-virtio-disk0,format=raw -device virtio-blk-pci,scsi=off,bus=pci.0,addr=0x4,drive=drive-virtio-disk0,id=virtio-disk0 -drive file=/var/lib/libvirt/images/kernel.img,if=none,id=drive-virtio-disk1,format=raw -device virtio-blk-pci,scsi=off,bus=pci.0,addr=0x5,drive=drive-virtio-disk1,id=virtio-disk1 -drive if=none,id=drive-ide0-1-0,readonly=on,format=raw -device ide-cd,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0 -netdev tap,fd=19,id=hostnet0 -device e1000,netdev=hostnet0,id=net0,mac=52:54:00:21:1c:e0,bus=pci.0,addr=0x3 -chardev pty,id=charserial0 -device isa-serial,chardev=charserial0,id=serial0 -vnc 127.0.0.1:0 -k en-us -vga cirrus -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x6 char device redirected to /dev/pts/3 (label charserial0) -- To unsubscribe from this list: send the line unsubscribe kvm in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: kernel 3.9.x kvm hangs after seabios
Ok, the cpu stays at 0% when it hangs, there is only one 100% cpu peak which happens when the vm starts ( I think this is quite normal). However I run following command, and I stop it right when it hangs: anakin trace2 # virsh start vm-jack; pid=`virsh qemu-monitor-command vm-jack --hmp info cpus | grep '\*' | awk '{print $5}' | cut -d\= -f2`; trace-cmd record -P $pid -p function if anyone is interested it produces a 1.6 GB file (the compressed version can be found here: http://papan.sk/share/trace2.dat.tar.gz (150 MB)) Tomas -- To unsubscribe from this list: send the line unsubscribe kvm in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: kernel 3.9.x kvm hangs after seabios
-- To unsubscribe from this list: send the line unsubscribe kvm in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: kernel 3.9.x kvm hangs after seabios
patch is working :) Thank you very much Gleb. Regards Tomas -- To unsubscribe from this list: send the line unsubscribe kvm in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
[gentoo-user]
Hello all, I have a router (asus wl500gp with openwrt kamikaze 7.09) with samba server version 2.0.10-4. I have used smbfs to mount this router on my gentoo-box (everything works fine), but since kernel version 2.6.27 smbfs will be removed I have to switch now to the cifs modul. The problem is that I am able to write but I cannot read (I'm always getting permission denied, when I'm trying to read, writing is working fine). I'm thinking that cifs cannot work with such a old samba version. If you have some experience with cifs and samba please verify my assumption. Here is some configuration files smb.cfg: [global] syslog = 0 syslog only = yes workgroup = lan server string = Samba Server security = share encrypt passwords = yes guest account = nobody local master = yes name resolve order = lmhosts hosts bcast [home] comment = /home path = /home browseable = yes public = yes guest ok = yes writeable = yes my /etc/fstab: //samba-srv/home /mnt/samba-srv cifs guest,rw,uid=1000,gid=100,user,defaults 0 0 Thanks Best Regards Tomas -- tomas dot papan at gmail dot com
Re: [gentoo-user] CIFS ans SAMBA 2
On Saturday 30 August 2008 13:02:10 Tomas Papan wrote: Hello all, I have a router (asus wl500gp with openwrt kamikaze 7.09) with samba server version 2.0.10-4. I have used smbfs to mount this router on my gentoo-box (everything works fine), but since kernel version 2.6.27 smbfs will be removed I have to switch now to the cifs modul. The problem is that I am able to write but I cannot read (I'm always getting permission denied, when I'm trying to read, writing is working fine). I'm thinking that cifs cannot work with such a old samba version. If you have some experience with cifs and samba please verify my assumption. Here is some configuration files smb.cfg: [global] syslog = 0 syslog only = yes workgroup = lan server string = Samba Server security = share encrypt passwords = yes guest account = nobody local master = yes name resolve order = lmhosts hosts bcast [home] comment = /home path = /home browseable = yes public = yes guest ok = yes writeable = yes my /etc/fstab: //samba-srv/home /mnt/samba-srv cifs guest,rw,uid=1000,gid=100,user,defaults 0 0 Thanks Best Regards Tomas -- tomas dot papan at gmail dot com sorry I forgot to put a subject ;-)
Re: [gentoo-user] Choppy video playback
hello, can you send us your /etc/make.conf ? br tomas Mike Mazur wrote: Hi, I'm having choppy video playback in mplayer, vlc and also in Firefox on YouTube and the like. I notice a video freeze every 1-2 seconds or so, then the video snaps back to where it should be. The audio sounds fine. Mplayer often spits out a warning message[1]. I also noticed that typing into forms (like an email in Gmail) in Firefox, after Firefox has been running a few hours also suffers from this freeze every 1-2 seconds. A typical workload is Gnome, Firefox, Claws-Mail, Pidgin, Tomboy, xmms2 and a bunch of terminals with SSH sessions and irssi. I have an Intel Core 2 Duo 2GHz with 2 GB of RAM, so this shouldn't be happening. I'm running kernel 2.6.23-gentoo-r3. I don't remember when exactly this started, I don't really watch video too often. Could it be the scheduler with which my kernel is compiled? Currently it's set to Preemptible Kernel (Low-Latency Desktop). Any ideas? What to start tweaking with? Thanks for any help, Mike [1] Mplayer warning message: Your system is too SLOW to play this! Possible reasons, problems, workarounds: - Most common: broken/buggy _audio_ driver - Try -ao sdl or use the OSS emulation of ALSA. - Experiment with different values for -autosync, 30 is a good start. - Slow video output - Try a different -vo driver (-vo help for a list) or try -framedrop! - Slow CPU - Don't try to play a big DVD/DivX on a slow CPU! Try some of the lavdopts, e.g. -vfm ffmpeg -lavdopts lowres=1:fast:skiploopfilter=all. - Broken file - Try various combinations of -nobps -ni -forceidx -mc 0. - Slow media (NFS/SMB mounts, DVD, VCD etc) - Try -cache 8192. - Are you using -cache to play a non-interleaved AVI file? - Try -nocache. Read DOCS/HTML/en/video.html for tuning/speedup tips. If none of this helps you, read DOCS/HTML/en/bugreports.html. -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] CFLAGS
hello, in case that you want use 64bit system chose amd64 and -march=nocona BR tomas Peter Humphrey wrote: On Wednesday 16 January 2008 19:54:42 Kenneth Prugh wrote: On Wed, 16 Jan 2008 20:48:21 +0100 Cahn Roger [EMAIL PROTECTED] wrote: Hi, I'll have soon a new PC with Processor Intel Core2 Duo E6850 Which cflags do I need for it? Thank you very much. Roger CFLAGS=-O2 -march=nocona -pipe should do it if your running stable AMD64. If you happened to use gcc-4.2 or later on AMD64 you could do something like this: CFLAGS=-O2 -march=native -mtune=native -pipe Just a tiny hijack :-) My new laptop will have a T7100 CPU. I'd like to know what CFLAGS to use, but even before that should I use an AMD64 or IA64 installation medium?