Bug 857954

Summary: 1wire DS9490 + termomether DS18B20 + owhttpd causes crash
Product: [Fedora] Fedora Reporter: Tomasz Torcz <tomek>
Component: kernelAssignee: Kernel Maintainer List <kernel-maint>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: gansalmon, itamar, jonathan, kernel-maint, madhu.chinakonda
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-03-17 01:06:45 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Tomasz Torcz 2012-09-17 15:12:35 UTC
Description of problem:
Connected DS9490 (USB 1wire interfaace) with single DS18B20 (temperature sensor). Started "owhttpd --port=3001 --w1". Oops occured when I tried to open http://localhost:3001 in browser.

Version-Release number of selected component (if applicable):
kernel-3.5.3-1.fc17.x86_64
owfs-2.8p17

How reproducible:
Always.

Additional info:

BUG: unable to handle kernel paging request at fffffffffffffff0
IP: [<ffffffff8107af4a>] kthread_should_stop+0x1a/0x20
PGD 1c0d067 PUD 1c0e067 PMD 0 
Oops: 0000 [#1] SMP 
CPU 0 
Modules linked in: ds2490 wire vfat fat mmc_block tcp_lp fuse ebtable_nat ebtables ipt_MASQUERADE iptable_nat nf_nat xt_CHECKSUM iptable_mangle tun bridge stp llc rfcomm bnep nf_conntrack_ipv4 nf_defrag_ipv4 ip6t_REJECT nf_conntrack_ipv6 nf_defrag_ipv6 xt_state nf_conntrack ip6table_filter ip6_tables hdaps input_polldev arc4 snd_hda_codec_conexant coretemp kvm_intel kvm joydev microcode uvcvideo videobuf2_vmalloc videobuf2_memops i2c_i801 videobuf2_core videodev media ch341 r592 lpc_ich mfd_core memstick btusb iwlwifi bluetooth snd_hda_intel snd_hda_codec snd_hwdep snd_seq mac80211 snd_seq_device snd_pcm cfg80211 e1000e snd_page_alloc snd_timer mei wmi thinkpad_acpi snd soundcore rfkill tpm_tis tpm tpm_bios binfmt_misc nfsd nfs_acl auth_rpcgss lockd sunrpc sha256_generic btrfs libcrc32c zlib_deflate dm_crypt firewire_ohci firewire_core crc_itu_t sdhci_pci sdhci mmc_core yenta_socket i915 video i2c_algo_bit drm_kms_helper drm i2c_core
Pid: 24746, comm: owhttpd Not tainted 3.5.3-1.fc17.x86_64 #1 LENOVO 7417CTO/7417CTO
RIP: 0010:[<ffffffff8107af4a>]  [<ffffffff8107af4a>] kthread_should_stop+0x1a/0x20
RSP: 0018:ffff88000dde5a90  EFLAGS: 00010202
RAX: 0000000000000000 RBX: 00000000ffffffff RCX: 0000000000000000
RDX: 0000000000000001 RSI: 0000000000000286 RDI: ffff88006a018240
RBP: ffff88000dde5ae8 R08: 0000000000016550 R09: dead000000200200
R10: 0000000000000001 R11: 0000000000000000 R12: 0000000000000040
R13: ffff88006a363800 R14: 0000000000000000 R15: 0000000000000000
FS:  00007f358ba39700(0000) GS:ffff88013bc00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 000000008005003b
CR2: fffffffffffffff0 CR3: 00000001006f1000 CR4: 00000000000007f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
Process owhttpd (pid: 24746, threadinfo ffff88000dde4000, task ffff880007bddc40)
Stack:
 ffffffffa078b64b ffffffffa078c230 00000001000000f0 0000000000000041
 0000000000000001 0000000000000001 ffff880105409824 ffff88006a363838
 ffff88006a363800 ffff880105409830 0000000000000004 ffff88000dde5af8
Call Trace:
 [<ffffffffa078b64b>] ? w1_search+0x9b/0x1c0 [wire]
 [<ffffffffa078c230>] ? __w1_family_get+0x10/0x10 [wire]
 [<ffffffffa078d4a9>] w1_search_devices+0x39/0x3c [wire]
 [<ffffffffa078b7be>] w1_search_process_cb+0x4e/0xd0 [wire]
 [<ffffffffa078c9cf>] w1_cn_callback+0x46f/0x5b0 [wire]
 [<ffffffff8112defd>] ? __alloc_pages_nodemask+0x1ad/0x970
 [<ffffffff813b00e9>] cn_rx_skb+0xe9/0x110
 [<ffffffff81527b0d>] netlink_unicast+0x19d/0x220
 [<ffffffff81527e82>] netlink_sendmsg+0x2f2/0x370
 [<ffffffff814e7e28>] sock_sendmsg+0xf8/0x130
 [<ffffffff8114d335>] ? handle_pte_fault+0x95/0xb10
 [<ffffffff810b02f8>] ? get_futex_key+0x148/0x2a0
 [<ffffffff810902f9>] ? sched_slice.isra.32+0x59/0xa0
 [<ffffffff8114e6b9>] ? handle_mm_fault+0x259/0x320
 [<ffffffff814e9a9d>] sys_sendto+0x12d/0x180
 [<ffffffff8108d68d>] ? wake_up_new_task+0xfd/0x160
 [<ffffffff810d358c>] ? __audit_syscall_entry+0xcc/0x300
 [<ffffffff81614ae9>] system_call_fastpath+0x16/0x1b
Code: c4 00 01 eb dd 66 2e 0f 1f 84 00 00 00 00 00 66 90 55 48 89 e5 66 66 66 66 90 65 48 8b 04 25 00 c7 00 00 48 8b 80 60 03 00 00 5d <8b> 40 f0 c3 66 90 55 48 89 e5 66 66 66 66 90 5d 48 8d 47 08 66 
RIP  [<ffffffff8107af4a>] kthread_should_stop+0x1a/0x20
 RSP <ffff88000dde5a90>
CR2: fffffffffffffff0

Comment 1 Tomasz Torcz 2013-03-03 17:33:52 UTC
https://lkml.org/lkml/2013/3/2/76

Comment 2 Josh Boyer 2013-03-11 13:19:03 UTC
Patch applied across all branches.

Comment 3 Fedora Update System 2013-03-14 22:52:35 UTC
kernel-3.8.3-101.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/kernel-3.8.3-101.fc17

Comment 4 Fedora Update System 2013-03-15 02:57:12 UTC
kernel-3.8.3-201.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/kernel-3.8.3-201.fc18

Comment 5 Fedora Update System 2013-03-16 01:20:28 UTC
Package kernel-3.8.3-201.fc18:
* should fix your issue,
* was pushed to the Fedora 18 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing kernel-3.8.3-201.fc18'
as soon as you are able to, then reboot.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-3893/kernel-3.8.3-201.fc18
then log in and leave karma (feedback).

Comment 6 Fedora Update System 2013-03-17 01:06:47 UTC
kernel-3.8.3-201.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 7 Fedora Update System 2013-03-22 00:11:16 UTC
kernel-3.8.3-103.fc17 has been pushed to the Fedora 17 stable repository.  If problems still persist, please make note of it in this bug report.