Almost everytime when I'm using xawtv, my kernel crashes after a period of time. There is no way to restart the system with MagiqSysRq. This problem occurs only with xawtv. Other TV programs (f.ex. tv-time) work very well. This problem occurs with version 3.86-r2. I've also tried xawtv-3.94 (marked with keywords) having the same problem with the bttv-driver. Syslog has reported the following lines: Sep 19 22:55:20 nordpolcamper kernel: bttv0: OCERR @ 1a00f000,bits: HSYNC OFLOW OCERR* Sep 19 22:55:20 nordpolcamper last message repeated 11 times Sep 19 22:55:20 nordpolcamper kernel: bttv0: timeout: drop=5 irq=605277/605277, risc=1a00f01c, bits: HSYNC OFLOW Sep 19 22:55:20 nordpolcamper kernel: bttv0: reset, reinitialize Sep 19 22:55:20 nordpolcamper kernel: bttv0: PLL: 28636363 => 35468950 . ok Sep 19 23:00:00 nordpolcamper CRON[8217]: (root) CMD (test -x /usr/sbin/run-crons && /usr/sbin/run-crons ) Sep 19 23:00:00 nordpolcamper CRON[8215]: (root) CMD (rm -f /var/spool/cron/lastrun/cron.hourly) Sep 19 23:00:00 nordpolcamper kernel: Unable to handle kernel paging request at virtual address 1400000c Sep 19 23:00:00 nordpolcamper kernel: printing eip: Sep 19 23:00:00 nordpolcamper kernel: c0137aa7 Sep 19 23:00:00 nordpolcamper kernel: *pde = 00000000 Sep 19 23:00:00 nordpolcamper kernel: Oops: 0002 [#1] Sep 19 23:00:00 nordpolcamper kernel: PREEMPT Sep 19 23:00:00 nordpolcamper kernel: Modules linked in: tuner msp3400 bttv video_buf i2c_algo_bit v4l2_common btcx_risc videodev snd_emu10k1 snd_rawmidi snd_ac97_codec snd_util_mem snd_hwdep snd_pcm_oss snd_pcm snd_page_alloc snd_timer snd_mixer_oss snd soundcore usblp uhci_hcd usbcore lm78 i2c_sensor i2c_piix4 i2c_core nvidia 8139too mii sd_mod scsi_mod ide_cd cdrom Sep 19 23:00:00 nordpolcamper kernel: CPU: 0 Sep 19 23:00:00 nordpolcamper kernel: EIP: 0060:[<c0137aa7>] Tainted: P Sep 19 23:00:00 nordpolcamper kernel: EFLAGS: 00010012 (2.6.8-gentoo-r4) Sep 19 23:00:00 nordpolcamper kernel: EIP is at cache_alloc_refill+0xe7/0x210 Sep 19 23:00:00 nordpolcamper kernel: eax: 14000008 ebx: dffd2000 ecx: cfae2000 edx: dffd9c6c Sep 19 23:00:00 nordpolcamper kernel: esi: 00000034 edi: d00e8018 ebp: dffd9c6c esp: cdc61c14 Sep 19 23:00:00 nordpolcamper kernel: ds: 007b es: 007b ss: 0068 Sep 19 23:00:00 nordpolcamper kernel: Process sh (pid: 8215, threadinfo=cdc60000 task=df9540b0) Sep 19 23:00:00 nordpolcamper kernel: Stack: c0135d22 c16245c0 cf973e68 d00e8018 dffd2010 dffd9c74 00000282 080e0000 Sep 19 23:00:00 nordpolcamper kernel: fffffff4 00006000 c0137de8 dffd9c60 000000d0 cf973c48 c0140768 dffd9c60 Sep 19 23:00:00 nordpolcamper kernel: 000000d0 cdc61c88 cdc61c8c cdc61c90 00000000 cf82e880 00000000 00000000 Sep 19 23:00:00 nordpolcamper kernel: Call Trace: Sep 19 23:00:00 nordpolcamper kernel: [<c0135d22>] vma_prio_tree_insert+0x22/0x50 Sep 19 23:00:00 nordpolcamper kernel: [<c0137de8>] kmem_cache_alloc+0x38/0x40 Sep 19 23:00:00 nordpolcamper kernel: [<c0140768>] do_mmap_pgoff+0x2e8/0x710 Sep 19 23:00:00 nordpolcamper kernel: [<c0178e9b>] elf_map+0xbb/0xc0 Sep 19 23:00:00 nordpolcamper kernel: [<c01797ee>] load_elf_binary+0x53e/0xcc0 Sep 19 23:00:00 nordpolcamper kernel: [<c0133282>] __alloc_pages+0xa2/0x300 Sep 19 23:00:00 nordpolcamper kernel: [<c01792b0>] load_elf_binary+0x0/0xcc0 Sep 19 23:00:00 nordpolcamper kernel: [<c0159798>] search_binary_handler+0xb8/0x2f0 Sep 19 23:00:00 nordpolcamper kernel: [<c0159bcd>] do_execve+0x1fd/0x280 Sep 19 23:00:00 nordpolcamper kernel: [<c0102d42>] sys_execve+0x42/0x80 Sep 19 23:00:00 nordpolcamper kernel: [<c0104229>] sysenter_past_esp+0x52/0x71 Sep 19 23:00:00 nordpolcamper kernel: Code: 89 50 04 89 02 66 83 79 14 ff c7 01 00 01 10 00 c7 41 04 00 Sep 19 23:00:00 nordpolcamper kernel: <6>note: sh[8215] exited with preempt_count 1 Sep 19 23:00:00 nordpolcamper kernel: bad: scheduling while atomic! Sep 19 23:00:00 nordpolcamper kernel: [<c02a983a>] schedule+0x4ba/0x4f0 Sep 19 23:00:00 nordpolcamper kernel: [<c011555f>] call_console_drivers+0x6f/0x150 Sep 19 23:00:00 nordpolcamper kernel: [<c02a9e55>] rwsem_down_read_failed+0x95/0x190 Sep 19 23:00:00 nordpolcamper kernel: [<c01181e4>] .text.lock.exit+0x6b/0xd7 Sep 19 23:00:00 nordpolcamper kernel: [<c010fec0>] do_page_fault+0x0/0x57c Sep 19 23:00:00 nordpolcamper kernel: [<c0104b5c>] die+0xfc/0x100 Sep 19 23:00:00 nordpolcamper kernel: [<c0110240>] do_page_fault+0x380/0x57c Sep 19 23:00:00 nordpolcamper kernel: [<c012f2e2>] do_generic_mapping_read+0x352/0x500 Sep 19 23:00:00 nordpolcamper kernel: [<c01110cf>] recalc_task_prio+0x13f/0x1c0 Sep 19 23:00:00 nordpolcamper kernel: [<c010fec0>] do_page_fault+0x0/0x57c Sep 19 23:00:00 nordpolcamper kernel: [<c0104425>] error_code+0x2d/0x38 Sep 19 23:00:00 nordpolcamper kernel: [<c0137aa7>] cache_alloc_refill+0xe7/0x210 Sep 19 23:00:00 nordpolcamper kernel: [<c0135d22>] vma_prio_tree_insert+0x22/0x50 Sep 19 23:00:00 nordpolcamper kernel: [<c0137de8>] kmem_cache_alloc+0x38/0x40 Sep 19 23:00:00 nordpolcamper kernel: [<c0140768>] do_mmap_pgoff+0x2e8/0x710 Sep 19 23:00:00 nordpolcamper kernel: [<c0178e9b>] elf_map+0xbb/0xc0 Sep 19 23:00:00 nordpolcamper kernel: [<c01797ee>] load_elf_binary+0x53e/0xcc0 Sep 19 23:00:00 nordpolcamper kernel: [<c0133282>] __alloc_pages+0xa2/0x300 Sep 19 23:00:00 nordpolcamper kernel: [<c01792b0>] load_elf_binary+0x0/0xcc0 Sep 19 23:00:00 nordpolcamper kernel: [<c0159798>] search_binary_handler+0xb8/0x2f0 Sep 19 23:00:00 nordpolcamper kernel: [<c0159bcd>] do_execve+0x1fd/0x280 Sep 19 23:00:00 nordpolcamper kernel: [<c0102d42>] sys_execve+0x42/0x80 Sep 19 23:00:00 nordpolcamper kernel: [<c0104229>] sysenter_past_esp+0x52/0x71 Sep 19 23:03:25 nordpolcamper kernel: Unable to handle kernel paging request at virtual address 1400000c Sep 19 23:03:25 nordpolcamper kernel: printing eip: Sep 19 23:03:25 nordpolcamper kernel: c0137aa7 Sep 19 23:03:25 nordpolcamper kernel: *pde = 00000000 Sep 19 23:03:25 nordpolcamper kernel: Oops: 0002 [#2] Sep 19 23:03:25 nordpolcamper kernel: PREEMPT Sep 19 23:03:25 nordpolcamper kernel: Modules linked in: tuner msp3400 bttv video_buf i2c_algo_bit v4l2_common btcx_risc videodev snd_emu10k1 snd_rawmidi snd_ac97_codec snd_util_mem snd_hwdep snd_pcm_oss snd_pcm snd_page_alloc snd_timer snd_mixer_oss snd soundcore usblp uhci_hcd usbcore lm78 i2c_sensor i2c_piix4 i2c_core nvidia 8139too mii sd_mod scsi_mod ide_cd cdrom Sep 19 23:03:25 nordpolcamper kernel: CPU: 0 Sep 19 23:03:25 nordpolcamper kernel: EIP: 0060:[<c0137aa7>] Tainted: P Sep 19 23:03:25 nordpolcamper kernel: EFLAGS: 00010012 (2.6.8-gentoo-r4) Sep 19 23:03:25 nordpolcamper kernel: EIP is at cache_alloc_refill+0xe7/0x210 Sep 19 23:03:25 nordpolcamper kernel: eax: 14000008 ebx: dffd2000 ecx: cfae2000 edx: dffd9c6c Sep 19 23:03:25 nordpolcamper kernel: esi: 00000010 edi: dffd9c74 ebp: dffd9c6c esp: de48ff04 Sep 19 23:03:25 nordpolcamper kernel: ds: 007b es: 007b ss: 0068 Sep 19 23:03:25 nordpolcamper kernel: Process cupsd (pid: 6210, threadinfo=de48e000 task=df2c1300) Sep 19 23:03:25 nordpolcamper kernel: Stack: 00171a70 000081a4 40446000 00001000 dffd2010 dffd9c74 00000286 40446000 Sep 19 23:03:25 nordpolcamper kernel: fffffff4 00001000 c0137de8 dffd9c60 000000d0 df8bcd98 c0140768 dffd9c60 Sep 19 23:03:25 nordpolcamper kernel: 000000d0 de48ff78 de48ff7c de48ff80 00000000 de48ff6c 080a9048 c0157e41 Sep 19 23:03:25 nordpolcamper kernel: Call Trace: Sep 19 23:03:25 nordpolcamper kernel: [<c0137de8>] kmem_cache_alloc+0x38/0x40 Sep 19 23:03:25 nordpolcamper kernel: [<c0140768>] do_mmap_pgoff+0x2e8/0x710 Sep 19 23:03:25 nordpolcamper kernel: [<c0157e41>] sys_fstat64+0x31/0x40 Sep 19 23:03:25 nordpolcamper kernel: [<c010a126>] sys_mmap2+0x86/0xd0 Sep 19 23:03:25 nordpolcamper kernel: [<c0104229>] sysenter_past_esp+0x52/0x71 Sep 19 23:03:25 nordpolcamper kernel: Code: 89 50 04 89 02 66 83 79 14 ff c7 01 00 01 10 00 c7 41 04 00 Sep 19 23:03:25 nordpolcamper kernel: <6>note: cupsd[6210] exited with preempt_count 1 Sep 19 23:03:25 nordpolcamper kernel: bad: scheduling while atomic! Sep 19 23:03:25 nordpolcamper kernel: [<c02a983a>] schedule+0x4ba/0x4f0 Sep 19 23:03:25 nordpolcamper kernel: [<c011555f>] call_console_drivers+0x6f/0x150 Sep 19 23:03:25 nordpolcamper kernel: [<c02a9e55>] rwsem_down_read_failed+0x95/0x190 Sep 19 23:03:25 nordpolcamper kernel: [<c01181e4>] .text.lock.exit+0x6b/0xd7 Sep 19 23:03:25 nordpolcamper kernel: [<c010fec0>] do_page_fault+0x0/0x57c Sep 19 23:03:25 nordpolcamper kernel: [<c0104b5c>] die+0xfc/0x100 Sep 19 23:03:25 nordpolcamper kernel: [<c0110240>] do_page_fault+0x380/0x57c Sep 19 23:03:25 nordpolcamper kernel: [<c015bbc0>] do_lookup+0x30/0xb0 Sep 19 23:03:25 nordpolcamper kernel: [<c0165d11>] dput+0x91/0x240 Sep 19 23:03:25 nordpolcamper kernel: [<c015c83d>] link_path_walk+0xbfd/0xeb0 Sep 19 23:03:25 nordpolcamper kernel: [<c010fec0>] do_page_fault+0x0/0x57c Sep 19 23:03:25 nordpolcamper kernel: [<c0104425>] error_code+0x2d/0x38 Sep 19 23:03:25 nordpolcamper kernel: [<c0137aa7>] cache_alloc_refill+0xe7/0x210 Sep 19 23:03:25 nordpolcamper kernel: [<c0137de8>] kmem_cache_alloc+0x38/0x40 Sep 19 23:03:25 nordpolcamper kernel: [<c0140768>] do_mmap_pgoff+0x2e8/0x710 Sep 19 23:03:25 nordpolcamper kernel: [<c0157e41>] sys_fstat64+0x31/0x40 Sep 19 23:03:25 nordpolcamper kernel: [<c010a126>] sys_mmap2+0x86/0xd0 Sep 19 23:03:25 nordpolcamper kernel: [<c0104229>] sysenter_past_esp+0x52/0x71 Sep 19 23:15:00 nordpolcamper kernel: Unable to handle kernel paging request at virtual address 1400000c Sep 19 23:15:00 nordpolcamper kernel: printing eip: Sep 19 23:15:00 nordpolcamper kernel: c0137aa7 Sep 19 23:15:00 nordpolcamper kernel: *pde = 00000000 Sep 19 23:15:00 nordpolcamper kernel: Oops: 0002 [#3] Sep 19 23:15:00 nordpolcamper kernel: PREEMPT Sep 19 23:15:00 nordpolcamper kernel: Modules linked in: tuner msp3400 bttv video_buf i2c_algo_bit v4l2_common btcx_risc videodev snd_emu10k1 snd_rawmidi snd_ac97_codec snd_util_mem snd_hwdep snd_pcm_oss snd_pcm snd_page_alloc snd_timer snd_mixer_oss snd soundcore usblp uhci_hcd usbcore lm78 i2c_sensor i2c_piix4 i2c_core nvidia 8139too mii sd_mod scsi_mod ide_cd cdrom Sep 19 23:15:00 nordpolcamper kernel: CPU: 0 Sep 19 23:15:00 nordpolcamper kernel: EIP: 0060:[<c0137aa7>] Tainted: P Sep 19 23:15:00 nordpolcamper kernel: EFLAGS: 00010012 (2.6.8-gentoo-r4) Sep 19 23:15:00 nordpolcamper kernel: EIP is at cache_alloc_refill+0xe7/0x210 Sep 19 23:15:00 nordpolcamper kernel: eax: 14000008 ebx: dffd2000 ecx: cfae2000 edx: dffd9c6c Sep 19 23:15:00 nordpolcamper kernel: esi: 00000010 edi: dffd9c74 ebp: dffd9c6c esp: deb03e84 Sep 19 23:15:00 nordpolcamper kernel: ds: 007b es: 007b ss: 0068 Sep 19 23:15:00 nordpolcamper kernel: Process cron (pid: 6544, threadinfo=deb02000 task=df13c780) Sep 19 23:15:00 nordpolcamper kernel: Stack: 00000000 00000000 00000000 00000000 dffd2010 dffd9c74 00000282 df269414 Sep 19 23:15:00 nordpolcamper kernel: deb02000 df171380 c0137de8 dffd9c60 000000d0 000000d0 c011355a dffd9c60 Sep 19 23:15:00 nordpolcamper kernel: 000000d0 00000000 00000000 df1713a0 00000000 00000000 df577924 df577920 Sep 19 23:15:00 nordpolcamper kernel: Call Trace: Sep 19 23:15:00 nordpolcamper kernel: [<c0137de8>] kmem_cache_alloc+0x38/0x40 Sep 19 23:15:00 nordpolcamper kernel: [<c011355a>] dup_mmap+0x15a/0x2c0 Sep 19 23:15:00 nordpolcamper kernel: [<c01133a2>] copy_mm+0x102/0x160 Sep 19 23:15:00 nordpolcamper kernel: [<c0114055>] copy_process+0x4a5/0xb30 Sep 19 23:15:00 nordpolcamper kernel: [<c0114730>] do_fork+0x50/0x18e Sep 19 23:15:00 nordpolcamper kernel: [<c01098ca>] do_gettimeofday+0x1a/0xc0 Sep 19 23:15:00 nordpolcamper kernel: [<c0102cb2>] sys_clone+0x42/0x50 Sep 19 23:15:00 nordpolcamper kernel: [<c0104229>] sysenter_past_esp+0x52/0x71 Sep 19 23:15:00 nordpolcamper kernel: Code: 89 50 04 89 02 66 83 79 14 ff c7 01 00 01 10 00 c7 41 04 00 Sep 19 23:15:00 nordpolcamper kernel: <6>note: cron[6544] exited with preempt_count 1 Sep 19 23:15:00 nordpolcamper kernel: bad: scheduling while atomic! Sep 19 23:15:00 nordpolcamper kernel: [<c02a983a>] schedule+0x4ba/0x4f0 Sep 19 23:15:00 nordpolcamper kernel: [<c011555f>] call_console_drivers+0x6f/0x150 Sep 19 23:15:00 nordpolcamper kernel: [<c02a9e55>] rwsem_down_read_failed+0x95/0x190 Sep 19 23:15:00 nordpolcamper kernel: [<c01181e4>] .text.lock.exit+0x6b/0xd7 Sep 19 23:15:00 nordpolcamper kernel: [<c010fec0>] do_page_fault+0x0/0x57c Sep 19 23:15:00 nordpolcamper kernel: [<c0104b5c>] die+0xfc/0x100 Sep 19 23:15:00 nordpolcamper kernel: [<c0110240>] do_page_fault+0x380/0x57c Sep 19 23:15:00 nordpolcamper kernel: [<c013792c>] cache_grow+0x10c/0x1a0 Sep 19 23:15:00 nordpolcamper kernel: [<c0137b8b>] cache_alloc_refill+0x1cb/0x210 Sep 19 23:15:00 nordpolcamper kernel: [<c010fbf9>] pgd_alloc+0x19/0x20 Sep 19 23:15:00 nordpolcamper kernel: [<c0113079>] mm_init+0xa9/0xe0 Sep 19 23:15:00 nordpolcamper kernel: [<c010fec0>] do_page_fault+0x0/0x57c Sep 19 23:15:00 nordpolcamper kernel: [<c0104425>] error_code+0x2d/0x38 Sep 19 23:15:00 nordpolcamper kernel: [<c0137aa7>] cache_alloc_refill+0xe7/0x210 Sep 19 23:15:00 nordpolcamper kernel: [<c0137de8>] kmem_cache_alloc+0x38/0x40 Sep 19 23:15:00 nordpolcamper kernel: [<c011355a>] dup_mmap+0x15a/0x2c0 Sep 19 23:15:00 nordpolcamper kernel: [<c01133a2>] copy_mm+0x102/0x160 Sep 19 23:15:00 nordpolcamper kernel: [<c0114055>] copy_process+0x4a5/0xb30 Sep 19 23:15:00 nordpolcamper kernel: [<c0114730>] do_fork+0x50/0x18e Sep 19 23:15:00 nordpolcamper kernel: [<c01098ca>] do_gettimeofday+0x1a/0xc0 Sep 19 23:15:00 nordpolcamper kernel: [<c0102cb2>] sys_clone+0x42/0x50 Sep 19 23:15:00 nordpolcamper kernel: [<c0104229>] sysenter_past_esp+0x52/0x71 Reproducible: Always Steps to Reproduce: 1.load the bttv-driver 2.starting xawtv 3.watching TV for an hour or more Actual Results: Sometimes my system freezes while watching TV, sometimes it freezes after watching TV (when I'm shutting down xawtv) bash-2.05b# emerge info Portage 2.0.50-r11 (default-x86-1.4, gcc-3.4.2, glibc-2.3.4.20040916-r0, 2.6.8-gentoo-r4) ================================================================= System uname: 2.6.8-gentoo-r4 i686 Intel(R) Pentium(R) III CPU family 1266MHz Gentoo Base System version 1.4.16 distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=pentium3 -O2 -pipe -fomit-frame-pointer -mfpmath=sse -mmmx -msse -fprefetch-loop-arrays -fforce-addr -fforce-mem -frename-registers" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium3 -O2 -pipe -fomit-frame-pointer -mfpmath=sse -mmmx -msse -fprefetch-loop-arrays -fforce-addr -fforce-mem -frename-registers" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs buildpkg ccache sandbox" GENTOO_MIRRORS="http://gd.tuwien.ac.at/opsys/linux/gentoo http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X aavm acpi acpi4linux alsa avi bitmap-fonts cdr crypt cups curl dga directfb distcc dvd emacs encode ethereal evms2 evo fbcon foomaticdb freetype gb gd gdbm ggi gif gimpprint gtk gtk2 gtkhtml imlib java javascript jpeg kde kerberos leim libg++ libwww linguas_de mad maildir mikmod mmx motif mozilla mpeg mpeg4 mysql ncurses nls nocardbus nptl oggvorbis opengl pam pdflib png python qt quicktime readline samba sdl socks5 spell sse ssl svga tcltk tcpd tetex threads tiff truetype usb wmf x86 xine xml xml2 xmms xprint xv zlib"
This isn't a mobile thing. Your kernel isn't properly handling prempt's
I saw it, but why? What should I do with the bug report?
My Problem has nothing to do with PREEMTS. Look what I got with PREEMTS disabled. I thinkt there is ab bug in the kernel. Look at the following line of my kern.log: Sep 26 13:10:14 nordpolcamper kernel: kernel BUG at include/linux/list.h:165! My kern.log: http://stud3.tuwien.ac.at/~e0026053/kernel.log
If you can still reproduce this with 2.6.9-rc2 then you should file a bug at http://bugzilla.kernel.org - this appears to be an upstream issue.
...and you should also mention this to the xawtv authors