Bug 24142
Summary: | Crash at boot in udev while accessing bt848 device in 2.6.37-rc* | ||
---|---|---|---|
Product: | v4l-dvb | Reporter: | Christian Casteyde (casteyde.christian) |
Component: | bt8xx | Assignee: | bt8xx (v4l-dvb_bt8xx) |
Status: | CLOSED CODE_FIX | ||
Severity: | normal | CC: | florian, maciej.rutecki, mchehab, rjw |
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | 2.6.37-rc* | Subsystem: | |
Regression: | Yes | Bisected commit-id: | |
Bug Depends on: | |||
Bug Blocks: | 21782 | ||
Attachments: |
2.6.37-rc4 config with BKL but no bttv driver selectable
syslog with crashes inside from v4l_id |
Description
Christian Casteyde
2010-11-30 20:50:35 UTC
This is probably not a bug, but just the lack of BKL dependency. We have some patches to remove BKL dependencies for V4L, but they need more tests before sending upstream. Try to enable BKL at Kconfig and enable bttv driver at media menu. Nope. BKL is indeed enabled, and I don't get any Bttv driver available: - if "Autoselect pertinent encoders/decoders and other helper chips" is checked, the bttv driver is not available with -rc4 ; - if it is unchecked, I only have the following choices: < > Analog Devices ADV7180 decoder (NEW) < > BT819A VideoStream decoder (NEW) < > BT856 VideoStream decoder (NEW) < > BT866 VideoStream decoder (NEW) < > KS0127 video decoder (NEW) Btw, the ZR36067 driver is not shown anymore either (I used to use it). Maybe another missing options prevents me from getting this driver. I append my .config file. Created attachment 38772 [details]
2.6.37-rc4 config with BKL but no bttv driver selectable
I also get tons of warnings like this: warning: (MEDIA_TUNER && MEDIA_SUPPORT && VIDEO_MEDIA && I2C && !MEDIA_TUNER_CUSTOMISE) selects MEDIA_TUNER_MT20XX which has unmet direct dependencies (MEDIA_SUPPORT && MEDIA_TUNER_CUSTOMISE && VIDEO_MEDIA && I2C) However I indeed have I2C and of course Media support. Update: With 2.6.37-rc5, the warnings have disappeared. By trying to activate everything, I managed to find the Zoran driver (it depends on NXP SAA7164). However, the bttv driver is still not available. On Tuesday, December 07, 2010, Christian Casteyde wrote:
> Yes, still present in 2.6.37-rc5.
>
> Le vendredi 03 décembre 2010 00:41:47, vous avez écrit :
> > This message has been generated automatically as a part of a summary report
> > of recent regressions.
> >
> > The following bug entry is on the current list of known regressions
> > from 2.6.36. Please verify if it still should be listed and let the
> > tracking team know (either way).
> >
> >
> > Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=24142
> > Subject : No more bt848 driver in 2.6.37-rc*
> > Submitter : Christian Casteyde <casteyde.christian@free.fr>
> > Date : 2010-11-30 20:50 (3 days old)
Update: Still present with 2.6.37-rc6. I managed to get the bttv driver loaded with this version, and I indeed had the crash that I experienced before and that was freezing completly the computer. However, this time I managed to get the dmesg output. I reproduce it below: rtc_cmos 00:02: rtc core: registered rtc_cmos as rtc0 rtc0: alarms up to one month, 114 bytes nvram i2c /dev entries driver ali1563_smbus 0000:00:03.0: Found ALi1563 SMBus at 0x0400 lirc_dev: IR Remote Control driver registered, major 252 IR NEC protocol handler initialized IR RC5(x) protocol handler initialized IR RC6 protocol handler initialized IR JVC protocol handler initialized IR Sony protocol handler initialized IR RC5 (streamzap) protocol handler initialized IR LIRC bridge handler initialized Linux video capture interface: v2.00 bttv: driver version 0.9.18 loaded bttv: using 8 buffers with 2080k (520 pages) each for capture bttv: Bt8xx card found (0). bttv 0000:02:06.0: PCI INT A -> GSI 18 (level, low) -> IRQ 18 bttv0: Bt848 (rev 18) at 0000:02:06.0, irq: 18, latency: 32, mmio: 0xdc8ff000 bttv0: using: MIRO PCTV [card=1,insmod option] bttv0: gpio: en=00000000, out=00000000 in=00ff27ff [init] bttv0: i2c: checking for MSP34xx @ 0x80... not found bttv0: miro: id=9 tuner=3 radio=no stereo=no bttv0: tuner type=3 bttv0: audio absent, no audio device found! All bytes are equal. It is not a TEA5767 tuner 1-0060: chip found @ 0xc0 (bt848 #0 [sw]) tuner-simple 1-0060: creating new instance tuner-simple 1-0060: type set to 3 (Philips (SECAM+PAL_BG) (FI1216MF, FM1216MF, FR1216MF)) bttv0: registered device video0 bttv0: registered device vbi0 w83627hf: Found W83627HF chip at 0x290 input: PS2++ Logitech Wheel Mouse as /devices/platform/i8042/serio1/input/input4 device-mapper: ioctl: 4.18.0-ioctl (2010-06-29) initialised: dm-devel@redhat.com cpuidle: using governor ladder cpuidle: using governor menu input: Logitech USB Receiver as /devices/pci0000:00/0000:00:0f.1/usb3/3-2/3-2:1.0/input/input5 generic-usb 0003:046D:C51B.0001: input: USB HID v1.11 Mouse [Logitech USB Receiver] on usb-0000:00:0f.1-2/input0 generic-usb 0003:046D:C51B.0002: claimed by neither input, hiddev nor hidraw usbcore: registered new interface driver usbhid usbhid: USB HID core driver ALSA device list: No soundcards found. nf_conntrack version 0.5.0 (7862 buckets, 31448 max) ip_tables: (C) 2000-2006 Netfilter Core Team TCP cubic registered Initializing XFRM netlink socket NET: Registered protocol family 10 lo: Disabled Privacy Extensions ip6_tables: (C) 2000-2006 Netfilter Core Team IPv6 over IPv4 tunneling driver sit0: Disabled Privacy Extensions NET: Registered protocol family 17 NET: Registered protocol family 15 powernow-k8: Found 1 AMD Athlon(tm) 64 X2 Dual Core Processor 4200+ (1 cpu cores) (version 2.20.00) powernow-k8: 0 : fid 0xe (2200 MHz), vid 0x8 powernow-k8: 1 : fid 0xc (2000 MHz), vid 0xa powernow-k8: 2 : fid 0xa (1800 MHz), vid 0xa powernow-k8: 3 : fid 0x2 (1000 MHz), vid 0xa rtc_cmos 00:02: setting system clock to 2010-12-16 22:50:39 UTC (1292539839) EXT3-fs (sdb2): error: couldn't mount because of unsupported optional features (240) EXT2-fs (sdb2): error: couldn't mount because of unsupported optional features (240) EXT4-fs (sdb2): mounted filesystem with ordered data mode. Opts: (null) VFS: Mounted root (ext4 filesystem) readonly on device 8:18. Freeing unused kernel memory: 468k freed Write protecting the kernel read-only data: 10240k Freeing unused kernel memory: 312k freed Freeing unused kernel memory: 1972k freed udevd (1497): /proc/1497/oom_adj is deprecated, please use /proc/1497/oom_score_adj instead. general protection fault: 0000 [#1] PREEMPT SMP last sysfs file: /sys/devices/pci0000:00/0000:00:0e.0/host2/target2:0:0/2:0:0:0/block/sdb/sdb1/uevent CPU 0 Modules linked in: ac97_bus Pid: 1555, comm: v4l_id Not tainted 2.6.37-rc6 #7 K8 Combo-Z/K8 Combo-Z RIP: 0010:[<ffffffff81076e71>] [<ffffffff81076e71>] __lock_acquire+0x391/0x1c50 RSP: 0018:ffff88003ba39a58 EFLAGS: 00010002 RAX: 0000000000000000 RBX: ffff88003c3b7880 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 3f1b022cd4126c0c RBP: ffff88003ba39b38 R08: 0000000000000002 R09: 0000000000000000 R10: ffffffff813e925d R11: 0000000000000000 R12: ffff88003bac4920 R13: 0000000000000002 R14: 0000000000000000 R15: 2247f1fe7e010b6e FS: 00007fc5c759c700(0000) GS:ffff88003fc00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffff88003e0202bc CR3: 000000003b957000 CR4: 00000000000006f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff4ff0 DR7: 0000000000000400 Process v4l_id (pid: 1555, threadinfo ffff88003ba38000, task ffff88003bac4920) Stack: ffff88003ba844e0 ffff88003bac4920 ffff88003ba844e0 ffff88003ba39b68 ffff88003ba39aa8 ffffffff8102dc54 ffff88003ba39aa8 0000000000000000 0000000000000008 ffff88003ba84480 0000000000000046 ffff88003ba39bc8 Call Trace: [<ffffffff8102dc54>] ? kmemcheck_fault+0x74/0xc0 [<ffffffff815a9348>] ? trace_hardirqs_off_thunk+0x3a/0x3c [<ffffffff815a9348>] ? trace_hardirqs_off_thunk+0x3a/0x3c [<ffffffff815a9348>] ? trace_hardirqs_off_thunk+0x3a/0x3c [<ffffffff813e925d>] ? bttv_open+0xed/0x2c0 [<ffffffff8107878a>] lock_acquire+0x5a/0x70 [<ffffffff813e925d>] ? bttv_open+0xed/0x2c0 [<ffffffff8103cc55>] ? add_preempt_count+0x75/0xd0 [<ffffffff815a80ee>] mutex_lock_nested+0x5e/0x370 [<ffffffff813e925d>] ? bttv_open+0xed/0x2c0 [<ffffffff815aa869>] ? error_exit+0x29/0xb0 [<ffffffff813e925d>] bttv_open+0xed/0x2c0 [<ffffffff810d8ba0>] ? chrdev_open+0x0/0x1f0 [<ffffffff813cab33>] v4l2_open+0xe3/0x100 [<ffffffff810d8ca8>] chrdev_open+0x108/0x1f0 [<ffffffff810d6d2f>] ? file_sb_list_add+0x3f/0x50 [<ffffffff810d315e>] __dentry_open+0xfe/0x390 [<ffffffff810defe2>] ? path_get+0x22/0x30 [<ffffffff810d3521>] nameidata_to_filp+0x61/0x70 [<ffffffff810e124a>] ? do_last+0x5a/0x6a0 [<ffffffff810e1598>] do_last+0x3a8/0x6a0 [<ffffffff810e37ad>] do_filp_open+0x21d/0x660 [<ffffffff815a9348>] ? trace_hardirqs_off_thunk+0x3a/0x3c [<ffffffff8103cba5>] ? sub_preempt_count+0x95/0xd0 [<ffffffff815a9e80>] ? _raw_spin_unlock+0x30/0x60 [<ffffffff810ef477>] ? alloc_fd+0x147/0x220 [<ffffffff810d2f53>] do_sys_open+0x63/0x120 [<ffffffff815a9309>] ? trace_hardirqs_on_thunk+0x3a/0x3f [<ffffffff810d303b>] sys_open+0x1b/0x20 [<ffffffff810024bb>] system_call_fastpath+0x16/0x1b Code: c3 0a 00 00 48 c7 c7 06 71 76 81 e8 fa d8 fc ff 31 c0 eb b8 66 0f 1f 44 00 00 44 89 f0 4c 8b 7c c3 08 4d 85 ff 0f 84 f9 fc ff ff <f0> 41 ff 87 98 01 00 00 44 8b 15 44 61 ab 00 45 8b 84 24 80 05 RIP [<ffffffff81076e71>] __lock_acquire+0x391/0x1c50 RSP <ffff88003ba39a58> ---[ end trace 7d9e1647cffe78ac ]--- note: v4l_id[1555] exited with preempt_count 1 BUG: sleeping function called from invalid context at kernel/rwsem.c:21 in_atomic(): 1, irqs_disabled(): 1, pid: 1555, name: v4l_id INFO: lockdep is turned off. irq event stamp: 36861 hardirqs last enabled at (36861): [<ffffffff815aa6e4>] paranoid_restore+0x10/0x66 hardirqs last disabled at (36860): [<ffffffff815aa803>] error_sti+0x5/0x6 softirqs last enabled at (35730): [<ffffffff8104b625>] __do_softirq+0x125/0x170 softirqs last disabled at (35697): [<ffffffff8100338c>] call_softirq+0x1c/0x30 Pid: 1555, comm: v4l_id Tainted: G D 2.6.37-rc6 #7 Call Trace: [<ffffffff810731e0>] ? print_irqtrace_events+0xd0/0xe0 [<ffffffff81039a65>] __might_sleep+0x105/0x130 [<ffffffff815a872f>] down_read+0x1f/0x60 [<ffffffff81046c47>] exit_mm+0x37/0x150 [<ffffffff8104933d>] do_exit+0x66d/0x790 [<ffffffff815a9e1d>] ? _raw_spin_unlock_irqrestore+0x3d/0x70 [<ffffffff81045925>] ? kmsg_dump+0x155/0x180 [<ffffffff81006de5>] oops_end+0x75/0xa0 [<ffffffff81007016>] die+0x56/0x90 [<ffffffff81004274>] do_general_protection+0x154/0x170 [<ffffffff815aa430>] ? irq_return+0x0/0x2 [<ffffffff815aa5ef>] general_protection+0x1f/0x30 [<ffffffff813e925d>] ? bttv_open+0xed/0x2c0 [<ffffffff81076e71>] ? __lock_acquire+0x391/0x1c50 [<ffffffff8102dc54>] ? kmemcheck_fault+0x74/0xc0 [<ffffffff815a9348>] ? trace_hardirqs_off_thunk+0x3a/0x3c [<ffffffff815a9348>] ? trace_hardirqs_off_thunk+0x3a/0x3c [<ffffffff815a9348>] ? trace_hardirqs_off_thunk+0x3a/0x3c [<ffffffff813e925d>] ? bttv_open+0xed/0x2c0 [<ffffffff8107878a>] lock_acquire+0x5a/0x70 [<ffffffff813e925d>] ? bttv_open+0xed/0x2c0 [<ffffffff8103cc55>] ? add_preempt_count+0x75/0xd0 [<ffffffff815a80ee>] mutex_lock_nested+0x5e/0x370 [<ffffffff813e925d>] ? bttv_open+0xed/0x2c0 [<ffffffff815aa869>] ? error_exit+0x29/0xb0 [<ffffffff813e925d>] bttv_open+0xed/0x2c0 [<ffffffff810d8ba0>] ? chrdev_open+0x0/0x1f0 [<ffffffff813cab33>] v4l2_open+0xe3/0x100 [<ffffffff810d8ca8>] chrdev_open+0x108/0x1f0 [<ffffffff810d6d2f>] ? file_sb_list_add+0x3f/0x50 [<ffffffff810d315e>] __dentry_open+0xfe/0x390 [<ffffffff810defe2>] ? path_get+0x22/0x30 [<ffffffff810d3521>] nameidata_to_filp+0x61/0x70 [<ffffffff810e124a>] ? do_last+0x5a/0x6a0 [<ffffffff810e1598>] do_last+0x3a8/0x6a0 [<ffffffff810e37ad>] do_filp_open+0x21d/0x660 [<ffffffff815a9348>] ? trace_hardirqs_off_thunk+0x3a/0x3c [<ffffffff8103cba5>] ? sub_preempt_count+0x95/0xd0 [<ffffffff815a9e80>] ? _raw_spin_unlock+0x30/0x60 [<ffffffff810ef477>] ? alloc_fd+0x147/0x220 [<ffffffff810d2f53>] do_sys_open+0x63/0x120 [<ffffffff815a9309>] ? trace_hardirqs_on_thunk+0x3a/0x3f [<ffffffff810d303b>] sys_open+0x1b/0x20 [<ffffffff810024bb>] system_call_fastpath+0x16/0x1b WARNING: kmemcheck: Caught 64-bit read from uninitialized memory (ffff88003c3b7880) 0c6c12d42c021b3f6e0b017efef1472223a1a20117b59e9f83a04f4f3837fecb u u u u u u u u u u u u u u u u u u u u u u u u u u u u u u u u ^ Pid: 1555, comm: v4l_id Tainted: G D 2.6.37-rc6 #7 K8 Combo-Z/K8 Combo-Z RIP: 0010:[<ffffffff81076b40>] [<ffffffff81076b40>] __lock_acquire+0x60/0x1c50 RSP: 0018:ffff88003ba39a58 EFLAGS: 00010046 RAX: 0000000000000046 RBX: ffff88003c3b7880 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff88003c3b7880 RBP: ffff88003ba39b38 R08: 0000000000000002 R09: 0000000000000000 R10: ffffffff813e925d R11: 0000000000000000 R12: ffff88003bac4920 R13: 0000000000000002 R14: 0000000000000000 R15: 0000000000000001 FS: 00007fc5c759c700(0000) GS:ffff88003fc00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffff88003e0487c0 CR3: 000000003b957000 CR4: 00000000000006f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff4ff0 DR7: 0000000000000400 [<ffffffff8107878a>] lock_acquire+0x5a/0x70 [<ffffffff815a80ee>] mutex_lock_nested+0x5e/0x370 [<ffffffff813e925d>] bttv_open+0xed/0x2c0 [<ffffffff813cab33>] v4l2_open+0xe3/0x100 [<ffffffff810d8ca8>] chrdev_open+0x108/0x1f0 [<ffffffff810d315e>] __dentry_open+0xfe/0x390 [<ffffffff810d3521>] nameidata_to_filp+0x61/0x70 [<ffffffff810e1598>] do_last+0x3a8/0x6a0 [<ffffffff810e37ad>] do_filp_open+0x21d/0x660 [<ffffffff810d2f53>] do_sys_open+0x63/0x120 [<ffffffff810d303b>] sys_open+0x1b/0x20 [<ffffffff810024bb>] system_call_fastpath+0x16/0x1b [<ffffffffffffffff>] 0xffffffffffffffff BUG: scheduling while atomic: v4l_id/1555/0x10000002 INFO: lockdep is turned off. Modules linked in: ac97_bus Pid: 1555, comm: v4l_id Tainted: G D 2.6.37-rc6 #7 Call Trace: [<ffffffff8103c947>] __schedule_bug+0x77/0x80 [<ffffffff815a6971>] schedule+0x741/0xbb0 [<ffffffff81273567>] ? debug_check_no_obj_freed+0x177/0x200 [<ffffffff815a9348>] ? trace_hardirqs_off_thunk+0x3a/0x3c [<ffffffff815a9348>] ? trace_hardirqs_off_thunk+0x3a/0x3c [<ffffffff815aa869>] ? error_exit+0x29/0xb0 [<ffffffff81041023>] __cond_resched+0x13/0x30 [<ffffffff815a6ecb>] _cond_resched+0x2b/0x40 [<ffffffff810b87df>] unmap_vmas+0x7cf/0x940 [<ffffffff810bd9ed>] exit_mmap+0xdd/0x1a0 [<ffffffff81041ff7>] mmput+0x57/0xe0 [<ffffffff81046d2a>] exit_mm+0x11a/0x150 [<ffffffff8104933d>] do_exit+0x66d/0x790 [<ffffffff815a9e1d>] ? _raw_spin_unlock_irqrestore+0x3d/0x70 [<ffffffff81045925>] ? kmsg_dump+0x155/0x180 [<ffffffff81006de5>] oops_end+0x75/0xa0 [<ffffffff81007016>] die+0x56/0x90 [<ffffffff81004274>] do_general_protection+0x154/0x170 [<ffffffff815aa430>] ? irq_return+0x0/0x2 [<ffffffff815aa5ef>] general_protection+0x1f/0x30 [<ffffffff813e925d>] ? bttv_open+0xed/0x2c0 [<ffffffff81076e71>] ? __lock_acquire+0x391/0x1c50 [<ffffffff8102dc54>] ? kmemcheck_fault+0x74/0xc0 [<ffffffff815a9348>] ? trace_hardirqs_off_thunk+0x3a/0x3c [<ffffffff815a9348>] ? trace_hardirqs_off_thunk+0x3a/0x3c [<ffffffff815a9348>] ? trace_hardirqs_off_thunk+0x3a/0x3c [<ffffffff813e925d>] ? bttv_open+0xed/0x2c0 [<ffffffff8107878a>] lock_acquire+0x5a/0x70 [<ffffffff813e925d>] ? bttv_open+0xed/0x2c0 [<ffffffff8103cc55>] ? add_preempt_count+0x75/0xd0 [<ffffffff815a80ee>] mutex_lock_nested+0x5e/0x370 [<ffffffff813e925d>] ? bttv_open+0xed/0x2c0 [<ffffffff815aa869>] ? error_exit+0x29/0xb0 [<ffffffff813e925d>] bttv_open+0xed/0x2c0 [<ffffffff810d8ba0>] ? chrdev_open+0x0/0x1f0 [<ffffffff813cab33>] v4l2_open+0xe3/0x100 [<ffffffff810d8ca8>] chrdev_open+0x108/0x1f0 [<ffffffff810d6d2f>] ? file_sb_list_add+0x3f/0x50 [<ffffffff810d315e>] __dentry_open+0xfe/0x390 [<ffffffff810defe2>] ? path_get+0x22/0x30 [<ffffffff810d3521>] nameidata_to_filp+0x61/0x70 [<ffffffff810e124a>] ? do_last+0x5a/0x6a0 [<ffffffff810e1598>] do_last+0x3a8/0x6a0 [<ffffffff810e37ad>] do_filp_open+0x21d/0x660 [<ffffffff815a9348>] ? trace_hardirqs_off_thunk+0x3a/0x3c [<ffffffff8103cba5>] ? sub_preempt_count+0x95/0xd0 [<ffffffff815a9e80>] ? _raw_spin_unlock+0x30/0x60 [<ffffffff810ef477>] ? alloc_fd+0x147/0x220 [<ffffffff810d2f53>] do_sys_open+0x63/0x120 [<ffffffff815a9309>] ? trace_hardirqs_on_thunk+0x3a/0x3f [<ffffffff810d303b>] sys_open+0x1b/0x20 [<ffffffff810024bb>] system_call_fastpath+0x16/0x1b BUG: unable to handle kernel NULL pointer dereference at (null) IP: [<ffffffff81272cc6>] __list_add+0x26/0xa0 PGD 3b9a0067 PUD 3b910067 PMD 0 Oops: 0000 [#2] PREEMPT SMP last sysfs file: /sys/devices/pci0000:00/0000:00:0e.0/host2/target2:0:0/2:0:0:0/vendor CPU 0 Modules linked in: ac97_bus Pid: 1556, comm: v4l_id Tainted: G D 2.6.37-rc6 #7 K8 Combo-Z/K8 Combo-Z RIP: 0010:[<ffffffff81272cc6>] [<ffffffff81272cc6>] __list_add+0x26/0xa0 RSP: 0018:ffff88003b92fb58 EFLAGS: 00010046 RAX: ffff88003b9a8058 RBX: ffff88003b92fbb8 RCX: 0000000000000001 RDX: ffff88003b9a8058 RSI: 0000000000000000 RDI: ffff88003b92fbb8 RBP: ffff88003b92fb78 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: ffff88003b9a8058 R13: 0000000000000000 R14: 0000000000000246 R15: 00000000ffffffff FS: 00007f66f2370700(0000) GS:ffff88003fc00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b CR2: 0000000000000000 CR3: 000000003ba4b000 CR4: 00000000000006f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff4ff0 DR7: 0000000000000400 Process v4l_id (pid: 1556, threadinfo ffff88003b92e000, task ffff88003bac1d40) Stack: ffff880000000000 ffff88003b9a8018 ffff88003bac1d40 ffff88003b9a8020 ffff88003b92fc08 ffffffff815a8185 ffffffff813e925d 00000000000000d0 0000000000000296 ffff88003b9a8058 ffff88003b92fbb8 ffffffff8102e36e Call Trace: [<ffffffff815a8185>] mutex_lock_nested+0xf5/0x370 [<ffffffff813e925d>] ? bttv_open+0xed/0x2c0 [<ffffffff8102e36e>] ? kmemcheck_mark_initialized+0xe/0x10 [<ffffffff812fab19>] ? dev_get_drvdata+0x19/0x30 [<ffffffff813e925d>] bttv_open+0xed/0x2c0 [<ffffffff8107553d>] ? trace_hardirqs_on+0xd/0x10 [<ffffffff810d8ba0>] ? chrdev_open+0x0/0x1f0 [<ffffffff813cab33>] v4l2_open+0xe3/0x100 [<ffffffff810d8ca8>] chrdev_open+0x108/0x1f0 [<ffffffff810d315e>] __dentry_open+0xfe/0x390 [<ffffffff810df46e>] ? generic_permission+0x1e/0xb0 [<ffffffff810d3521>] nameidata_to_filp+0x61/0x70 [<ffffffff810e1598>] do_last+0x3a8/0x6a0 [<ffffffff810e37ad>] do_filp_open+0x21d/0x660 [<ffffffff815a9348>] ? trace_hardirqs_off_thunk+0x3a/0x3c [<ffffffff8103cba5>] ? sub_preempt_count+0x95/0xd0 [<ffffffff815a9e80>] ? _raw_spin_unlock+0x30/0x60 [<ffffffff810ef477>] ? alloc_fd+0x147/0x220 [<ffffffff810d2f53>] do_sys_open+0x63/0x120 [<ffffffff815a9309>] ? trace_hardirqs_on_thunk+0x3a/0x3f [<ffffffff810d303b>] sys_open+0x1b/0x20 [<ffffffff810024bb>] system_call_fastpath+0x16/0x1b Code: 00 00 00 00 00 55 48 89 e5 48 83 ec 20 48 89 5d e8 4c 89 65 f0 48 89 fb 4c 89 6d f8 4c 8b 42 08 49 89 f5 49 89 d4 49 39 f0 75 27 <4d> 8b 45 00 4d 39 c4 75 40 49 89 5c 24 08 4c 89 23 4c 89 6b 08 RIP [<ffffffff81272cc6>] __list_add+0x26/0xa0 RSP <ffff88003b92fb58> CR2: 0000000000000000 ---[ end trace 7d9e1647cffe78ad ]--- note: v4l_id[1556] exited with preempt_count 1 BUG: scheduling while atomic: v4l_id/1556/0x10000002 INFO: lockdep is turned off. Modules linked in: ac97_bus Pid: 1556, comm: v4l_id Tainted: G D 2.6.37-rc6 #7 Call Trace: [<ffffffff8103c947>] __schedule_bug+0x77/0x80 [<ffffffff815a6971>] schedule+0x741/0xbb0 [<ffffffff81273567>] ? debug_check_no_obj_freed+0x177/0x200 [<ffffffff810a3cfc>] ? free_pages_prepare+0x10c/0x140 [<ffffffff8107553d>] ? trace_hardirqs_on+0xd/0x10 [<ffffffff81041023>] __cond_resched+0x13/0x30 [<ffffffff815a6ecb>] _cond_resched+0x2b/0x40 [<ffffffff810b87df>] unmap_vmas+0x7cf/0x940 [<ffffffff810bd9ed>] exit_mmap+0xdd/0x1a0 [<ffffffff81041ff7>] mmput+0x57/0xe0 [<ffffffff81046d2a>] exit_mm+0x11a/0x150 [<ffffffff8104933d>] do_exit+0x66d/0x790 [<ffffffff815a9e1d>] ? _raw_spin_unlock_irqrestore+0x3d/0x70 [<ffffffff81045925>] ? kmsg_dump+0x155/0x180 [<ffffffff81006de5>] oops_end+0x75/0xa0 [<ffffffff810279d3>] no_context+0xf3/0x260 [<ffffffff8107553d>] ? trace_hardirqs_on+0xd/0x10 [<ffffffff81027c65>] __bad_area_nosemaphore+0x125/0x1e0 [<ffffffff81027d2e>] bad_area_nosemaphore+0xe/0x10 [<ffffffff81028161>] do_page_fault+0x2c1/0x480 [<ffffffff810a4b6b>] ? __alloc_pages_nodemask+0x10b/0x6f0 [<ffffffff815a9348>] ? trace_hardirqs_off_thunk+0x3a/0x3c [<ffffffff815aa61f>] page_fault+0x1f/0x30 [<ffffffff81272cc6>] ? __list_add+0x26/0xa0 [<ffffffff813e925d>] ? bttv_open+0xed/0x2c0 [<ffffffff815a8185>] mutex_lock_nested+0xf5/0x370 [<ffffffff813e925d>] ? bttv_open+0xed/0x2c0 [<ffffffff8102e36e>] ? kmemcheck_mark_initialized+0xe/0x10 [<ffffffff812fab19>] ? dev_get_drvdata+0x19/0x30 [<ffffffff813e925d>] bttv_open+0xed/0x2c0 [<ffffffff8107553d>] ? trace_hardirqs_on+0xd/0x10 [<ffffffff810d8ba0>] ? chrdev_open+0x0/0x1f0 [<ffffffff813cab33>] v4l2_open+0xe3/0x100 [<ffffffff810d8ca8>] chrdev_open+0x108/0x1f0 [<ffffffff810d315e>] __dentry_open+0xfe/0x390 [<ffffffff810df46e>] ? generic_permission+0x1e/0xb0 [<ffffffff810d3521>] nameidata_to_filp+0x61/0x70 [<ffffffff810e1598>] do_last+0x3a8/0x6a0 [<ffffffff810e37ad>] do_filp_open+0x21d/0x660 [<ffffffff815a9348>] ? trace_hardirqs_off_thunk+0x3a/0x3c [<ffffffff8103cba5>] ? sub_preempt_count+0x95/0xd0 [<ffffffff815a9e80>] ? _raw_spin_unlock+0x30/0x60 [<ffffffff810ef477>] ? alloc_fd+0x147/0x220 [<ffffffff810d2f53>] do_sys_open+0x63/0x120 [<ffffffff815a9309>] ? trace_hardirqs_on_thunk+0x3a/0x3f [<ffffffff810d303b>] sys_open+0x1b/0x20 [<ffffffff810024bb>] system_call_fastpath+0x16/0x1b BUG: scheduling while atomic: v4l_id/1556/0x10000002 INFO: lockdep is turned off. Modules linked in: snd_hwdep snd_mpu401_uart snd_rawmidi ac97_bus Pid: 1556, comm: v4l_id Tainted: G D 2.6.37-rc6 #7 Call Trace: [<ffffffff8103c947>] __schedule_bug+0x77/0x80 [<ffffffff815a6971>] schedule+0x741/0xbb0 [<ffffffff8107413d>] ? trace_hardirqs_off+0xd/0x10 [<ffffffff8108d82f>] ? check_for_new_grace_period+0xdf/0x100 [<ffffffff8107553d>] ? trace_hardirqs_on+0xd/0x10 [<ffffffff810e95a5>] ? dput+0x75/0x140 [<ffffffff810d6b9e>] ? fput+0x1ae/0x290 [<ffffffff81041023>] __cond_resched+0x13/0x30 [<ffffffff815a6ecb>] _cond_resched+0x2b/0x40 [<ffffffff81047050>] put_files_struct+0x1a0/0x300 [<ffffffff81046ee0>] ? put_files_struct+0x30/0x300 [<ffffffff810471fd>] exit_files+0x4d/0x60 [<ffffffff8104934d>] do_exit+0x67d/0x790 [<ffffffff815a9e1d>] ? _raw_spin_unlock_irqrestore+0x3d/0x70 [<ffffffff81045925>] ? kmsg_dump+0x155/0x180 [<ffffffff81006de5>] oops_end+0x75/0xa0 [<ffffffff810279d3>] no_context+0xf3/0x260 [<ffffffff8107553d>] ? trace_hardirqs_on+0xd/0x10 [<ffffffff81027c65>] __bad_area_nosemaphore+0x125/0x1e0 [<ffffffff81027d2e>] bad_area_nosemaphore+0xe/0x10 [<ffffffff81028161>] do_page_fault+0x2c1/0x480 [<ffffffff810a4b6b>] ? __alloc_pages_nodemask+0x10b/0x6f0 [<ffffffff815a9348>] ? trace_hardirqs_off_thunk+0x3a/0x3c [<ffffffff815aa61f>] page_fault+0x1f/0x30 [<ffffffff81272cc6>] ? __list_add+0x26/0xa0 [<ffffffff813e925d>] ? bttv_open+0xed/0x2c0 [<ffffffff815a8185>] mutex_lock_nested+0xf5/0x370 [<ffffffff813e925d>] ? bttv_open+0xed/0x2c0 [<ffffffff8102e36e>] ? kmemcheck_mark_initialized+0xe/0x10 [<ffffffff812fab19>] ? dev_get_drvdata+0x19/0x30 [<ffffffff813e925d>] bttv_open+0xed/0x2c0 [<ffffffff8107553d>] ? trace_hardirqs_on+0xd/0x10 [<ffffffff810d8ba0>] ? chrdev_open+0x0/0x1f0 [<ffffffff813cab33>] v4l2_open+0xe3/0x100 [<ffffffff810d8ca8>] chrdev_open+0x108/0x1f0 [<ffffffff810d315e>] __dentry_open+0xfe/0x390 [<ffffffff810df46e>] ? generic_permission+0x1e/0xb0 [<ffffffff810d3521>] nameidata_to_filp+0x61/0x70 [<ffffffff810e1598>] do_last+0x3a8/0x6a0 [<ffffffff810e37ad>] do_filp_open+0x21d/0x660 [<ffffffff815a9348>] ? trace_hardirqs_off_thunk+0x3a/0x3c [<ffffffff8103cba5>] ? sub_preempt_count+0x95/0xd0 [<ffffffff815a9e80>] ? _raw_spin_unlock+0x30/0x60 [<ffffffff810ef477>] ? alloc_fd+0x147/0x220 [<ffffffff810d2f53>] do_sys_open+0x63/0x120 [<ffffffff815a9309>] ? trace_hardirqs_on_thunk+0x3a/0x3f [<ffffffff810d303b>] sys_open+0x1b/0x20 [<ffffffff810024bb>] system_call_fastpath+0x16/0x1b BUG: scheduling while atomic: v4l_id/1555/0x10000002 INFO: lockdep is turned off. Modules linked in: snd_hwdep snd_mpu401_uart snd_rawmidi ac97_bus Pid: 1555, comm: v4l_id Tainted: G D 2.6.37-rc6 #7 Call Trace: [<ffffffff8103c947>] __schedule_bug+0x77/0x80 [<ffffffff815a6971>] schedule+0x741/0xbb0 [<ffffffff8107413d>] ? trace_hardirqs_off+0xd/0x10 [<ffffffff8108d82f>] ? check_for_new_grace_period+0xdf/0x100 [<ffffffff8107553d>] ? trace_hardirqs_on+0xd/0x10 [<ffffffff810e95a5>] ? dput+0x75/0x140 [<ffffffff810d6b9e>] ? fput+0x1ae/0x290 [<ffffffff81041023>] __cond_resched+0x13/0x30 [<ffffffff815a6ecb>] _cond_resched+0x2b/0x40 [<ffffffff81047050>] put_files_struct+0x1a0/0x300 [<ffffffff81046ee0>] ? put_files_struct+0x30/0x300 [<ffffffff810471fd>] exit_files+0x4d/0x60 [<ffffffff8104934d>] do_exit+0x67d/0x790 [<ffffffff815a9e1d>] ? _raw_spin_unlock_irqrestore+0x3d/0x70 [<ffffffff81045925>] ? kmsg_dump+0x155/0x180 [<ffffffff81006de5>] oops_end+0x75/0xa0 [<ffffffff81007016>] die+0x56/0x90 [<ffffffff81004274>] do_general_protection+0x154/0x170 [<ffffffff815aa430>] ? irq_return+0x0/0x2 [<ffffffff815aa5ef>] general_protection+0x1f/0x30 [<ffffffff813e925d>] ? bttv_open+0xed/0x2c0 [<ffffffff81076e71>] ? __lock_acquire+0x391/0x1c50 [<ffffffff8102dc54>] ? kmemcheck_fault+0x74/0xc0 [<ffffffff815a9348>] ? trace_hardirqs_off_thunk+0x3a/0x3c [<ffffffff815a9348>] ? trace_hardirqs_off_thunk+0x3a/0x3c [<ffffffff815a9348>] ? trace_hardirqs_off_thunk+0x3a/0x3c [<ffffffff813e925d>] ? bttv_open+0xed/0x2c0 [<ffffffff8107878a>] lock_acquire+0x5a/0x70 [<ffffffff813e925d>] ? bttv_open+0xed/0x2c0 [<ffffffff8103cc55>] ? add_preempt_count+0x75/0xd0 [<ffffffff815a80ee>] mutex_lock_nested+0x5e/0x370 [<ffffffff813e925d>] ? bttv_open+0xed/0x2c0 [<ffffffff815aa869>] ? error_exit+0x29/0xb0 [<ffffffff813e925d>] bttv_open+0xed/0x2c0 [<ffffffff810d8ba0>] ? chrdev_open+0x0/0x1f0 [<ffffffff813cab33>] v4l2_open+0xe3/0x100 [<ffffffff810d8ca8>] chrdev_open+0x108/0x1f0 [<ffffffff810d6d2f>] ? file_sb_list_add+0x3f/0x50 [<ffffffff810d315e>] __dentry_open+0xfe/0x390 [<ffffffff810defe2>] ? path_get+0x22/0x30 [<ffffffff810d3521>] nameidata_to_filp+0x61/0x70 [<ffffffff810e124a>] ? do_last+0x5a/0x6a0 [<ffffffff810e1598>] do_last+0x3a8/0x6a0 [<ffffffff810e37ad>] do_filp_open+0x21d/0x660 [<ffffffff815a9348>] ? trace_hardirqs_off_thunk+0x3a/0x3c [<ffffffff8103cba5>] ? sub_preempt_count+0x95/0xd0 [<ffffffff815a9e80>] ? _raw_spin_unlock+0x30/0x60 [<ffffffff810ef477>] ? alloc_fd+0x147/0x220 [<ffffffff810d2f53>] do_sys_open+0x63/0x120 [<ffffffff815a9309>] ? trace_hardirqs_on_thunk+0x3a/0x3f [<ffffffff810d303b>] sys_open+0x1b/0x20 [<ffffffff810024bb>] system_call_fastpath+0x16/0x1b C-Media PCI 0000:02:07.0: PCI INT A -> GSI 19 (level, low) -> IRQ 19 Intel ICH 0000:00:04.0: PCI INT A -> GSI 18 (level, low) -> IRQ 18 AC'97 1 does not respond - RESET AC'97 1 access is not valid [0xffffffff], removing mixer. Unable to initialize codec #1 intel8x0_measure_ac97_clock: measured 52145 usecs (2512 samples) intel8x0: clocking to 48000 Adding 506012k swap on /dev/sdb1. Priority:-1 extents:1 across:506012k EXT4-fs (sdb2): re-mounted. Opts: (null) EXT4-fs (sdb2): re-mounted. Opts: (null) EXT3-fs: barriers not enabled kjournald starting. Commit interval 5 seconds EXT3-fs (sda1): using internal journal EXT3-fs (sda1): mounted filesystem with ordered data mode Initializing cgroup subsys cpu I'm also appending a portion of my syslog, which seems to show that something got wrong before with v4l_id ran from udev: Dec 16 23:39:22 sirius kernel: EXT3-fs (sdb2): error: couldn't mount because of unsupported optional features (240) Dec 16 23:39:22 sirius kernel: EXT2-fs (sdb2): error: couldn't mount because of unsupported optional features (240) Dec 16 23:39:22 sirius kernel: VFS: Mounted root (ext4 filesystem) readonly on device 8:18. Dec 16 23:39:22 sirius kernel: udevd (1497): /proc/1497/oom_adj is deprecated, please use /proc/1497/oom_score_adj instead. Dec 16 23:39:22 sirius kernel: BUG: unable to handle kernel NULL pointer dereference at (null) Dec 16 23:39:22 sirius kernel: IP: [<ffffffff81073b88>] __bfs+0xc8/0x260 Dec 16 23:39:22 sirius kernel: PGD 3b9f4067 PUD 3b825067 PMD 0 Dec 16 23:39:22 sirius kernel: Oops: 0000 [#1] PREEMPT SMP Dec 16 23:39:22 sirius kernel: last sysfs file: /sys/devices/pci0000:00/0000:00:0e.0/host2/target2:0:0/2:0:0:0/block/sdb/uevent Dec 16 23:39:22 sirius kernel: CPU 0 Dec 16 23:39:22 sirius kernel: Modules linked in: ac97_bus Dec 16 23:39:22 sirius kernel: Dec 16 23:39:22 sirius kernel: Pid: 1555, comm: v4l_id Not tainted 2.6.37-rc6 #7 K8 Combo-Z/K8 Combo-Z Dec 16 23:39:22 sirius kernel: RIP: 0010:[<ffffffff81073b88>] [<ffffffff81073b88>] __bfs+0xc8/0x260 Dec 16 23:39:22 sirius kernel: RSP: 0018:ffff88003b97b908 EFLAGS: 00010046 Dec 16 23:39:22 sirius kernel: RAX: ffffffff81fb7cb0 RBX: ffffffff81fb7cb0 RCX: ffff88003b97b988 Dec 16 23:39:22 sirius kernel: RDX: ffff88003b97b930 RSI: 0000000000000000 RDI: ffff88003b97b988 Dec 16 23:39:22 sirius kernel: RBP: ffff88003b97b968 R08: 0000000000000000 R09: 0000000000000000 Dec 16 23:39:22 sirius kernel: R10: ffff88003b89cea8 R11: 00000000852c17ae R12: 0000000000000000 Dec 16 23:39:22 sirius kernel: R13: ffffffff81072fd0 R14: ffff88003b97b9d0 R15: 0000000000000000 Dec 16 23:39:22 sirius kernel: FS: 00007f742ad46700(0000) GS:ffff88003fc00000(0000) knlGS:0000000000000000 Dec 16 23:39:22 sirius kernel: CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b Dec 16 23:39:22 sirius kernel: CR2: ffff88003e0202bc CR3: 000000003b83a000 CR4: 00000000000006f0 Dec 16 23:39:22 sirius kernel: DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 Dec 16 23:39:22 sirius kernel: DR3: 0000000000000000 DR6: 00000000ffff4ff0 DR7: 0000000000000400 Dec 16 23:39:22 sirius kernel: Process v4l_id (pid: 1555, threadinfo ffff88003b97a000, task ffff88003b89c920) Dec 16 23:39:22 sirius kernel: Stack: Dec 16 23:39:22 sirius kernel: ffff88003b97b9b8 ffff88003b97b978 ffff88003b97b9b8 ffffffff00000000 Dec 16 23:39:22 sirius kernel: ffff88003b97b984 ffff88003b97b988 ffff88003b97bfd8 ffff88003b89cea8 Dec 16 23:39:22 sirius kernel: ffff88003b97b988 ffffffff81767400 ffff88003b89c920 ffffffff81075a00 Dec 16 23:39:22 sirius kernel: Call Trace: Dec 16 23:39:22 sirius kernel: [<ffffffff81075a00>] ? check_usage_backwards+0x0/0x100 Dec 16 23:39:22 sirius kernel: [<ffffffff81075a7b>] check_usage_backwards+0x7b/0x100 Dec 16 23:39:22 sirius kernel: [<ffffffffDec 16 23:41:18 sirius udevd[1752]: bind failed: Address already in use Dec 16 23:41:18 sirius udevd[1752]: error binding control socket, seems udevd is already running Dec 16 23:41:18 sirius kernel: ACPI: RSDP 00000000000f9870 00014 (v00 ACPIAM) Dec 16 23:41:18 sirius kernel: ACPI: RSDT 000000003ffb0000 00030 (v01 A M I OEMRSDT 03000620 MSFT 00000097) Dec 16 23:41:18 sirius kernel: ACPI: FACP 000000003ffb0200 00081 (v01 A M I OEMFACP 03000620 MSFT 00000097) Dec 16 23:41:18 sirius kernel: ACPI: DSDT 000000003ffb03f0 03F3A (v01 K8CBZ K8CBZ262 00000262 INTL 02002026) Dec 16 23:41:18 sirius kernel: ACPI: FACS 000000003ffc0000 00040 Then it freezes later either while starting hald, or while starting X (as shown in my syslog), but this may be because some locks are still taken. Created attachment 40532 [details]
syslog with crashes inside from v4l_id
#24602 might be the same issue References: https://bugzilla.kernel.org/show_bug.cgi?id=24602 On Sunday, December 19, 2010, Christian Casteyde wrote:
> Yes, still present in rc6.
>
>
> Le dimanche 19 décembre 2010 13:34:41, vous avez écrit :
> > This message has been generated automatically as a part of a summary report
> > of recent regressions.
> >
> > The following bug entry is on the current list of known regressions
> > from 2.6.36. Please verify if it still should be listed and let the
> > tracking team know (either way).
> >
> >
> > Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=24142
> > Subject : Crash at boot in udev while accessing bt848 device in
> 2.6.37-
> rc*
> > Submitter : Christian Casteyde <casteyde.christian@free.fr>
> > Date : 2010-11-30 20:50 (20 days old)
Fixed in 2.6.37-rc7. |