Bug 47871 - WARNING: at block/genhd.c:1570 disk_clear_events+0xbf/0xd0()
Summary: WARNING: at block/genhd.c:1570 disk_clear_events+0xbf/0xd0()
Status: RESOLVED CODE_FIX
Alias: None
Product: IO/Storage
Classification: Unclassified
Component: Block Layer (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: Jens Axboe
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-23 20:15 UTC by Dan Carpenter
Modified: 2013-11-19 23:07 UTC (History)
2 users (show)

See Also:
Kernel Version: unknown
Subsystem:
Regression: No
Bisected commit-id:


Attachments

Description Dan Carpenter 2012-09-23 20:15:05 UTC
Subject    : WARNING: at block/genhd.c:1570 disk_clear_events+0xbf/0xd0()
Submitter  : "Roberto Corrado" <i@secure.corradoroberto.it>
Date       : Sat, 1 Sep 2012 14:32:25 +0200
Message-ID : <98D4C13641D5474D9995328F2593DF7E@unknown>
References : https://lkml.org/lkml/2012/9/1/33

Sep  1 14:14:53 kernel: [  6.382864] ------------[ cut here ]------------
Sep  1 14:14:53 kernel: [  6.383018] WARNING: at block/genhd.c:1570 disk_clear_events+0xbf/0xd0()
Sep  1 14:14:53 kernel: [  6.383018] Hardware name: CLE266-8235
Sep  1 14:14:53 kernel: [  6.383018] Modules linked in: fuse ath5k ppdev evdev snd_via82xx gameport ath snd_ac97_codec pcmcia mac80211 ac97_bus snd_pcm snd_timer snd_page_alloc snd_mpu401_uart uhci_hcd snd_rawmidi cfg80211 snd_seq_device snd rfkill serio_raw soundcore vt8623fb via_rhine mii svgalib vgastate i2c_viapro i2c_core yenta_socket pcmcia_rsrc pcmcia_core shpchp ehci_hcd via_agp agpgart fan parport_pc parport processor thermal thermal_sys hwmon button loop reiserfs
Sep  1 14:14:53 kernel: [  6.383018] Pid: 889, comm: udevd Not tainted 3.3.3-Server2.corradoroberto.it #1
Sep  1 14:14:53 kernel: [  6.383018] Call Trace:
Sep  1 14:14:53 kernel: [  6.383018]  [<c102c082>] warn_slowpath_common+0x72/0xa0
Sep  1 14:14:53 kernel: [  6.383018]  [<c11d19cf>] ? disk_clear_events+0xbf/0xd0
Sep  1 14:14:53 kernel: [  6.383018]  [<c11d19cf>] ? disk_clear_events+0xbf/0xd0
Sep  1 14:14:53 kernel: [  6.383018]  [<c102c0d2>] warn_slowpath_null+0x22/0x30
Sep  1 14:14:53 kernel: [  6.383018]  [<c11d19cf>] disk_clear_events+0xbf/0xd0
Sep  1 14:14:53 kernel: [  6.383018]  [<c1119aa6>] check_disk_change+0x26/0x70
Sep  1 14:14:53 kernel: [  6.383018]  [<c12c0f88>] sd_open+0x78/0x120
Sep  1 14:14:53 kernel: [  6.383018]  [<c12c0f10>] ? sd_rescan+0x30/0x30
Sep  1 14:14:53 kernel: [  6.383018]  [<c111a6d9>] __blkdev_get+0x2e9/0x400
Sep  1 14:14:53 kernel: [  6.383018]  [<c111a91c>] blkdev_get+0x12c/0x230
Sep  1 14:14:53 kernel: [  6.383018]  [<c111aa7b>] blkdev_open+0x5b/0x90
Sep  1 14:14:53 kernel: [  6.383018]  [<c10ec3f2>] __dentry_open+0x1d2/0x2d0
Sep  1 14:14:53 kernel: [  6.383018]  [<c10f744a>] ? do_lookup+0x4a/0x350
Sep  1 14:14:53 kernel: [  6.383018]  [<c10ed3f6>] nameidata_to_filp+0x66/0x80
Sep  1 14:14:53 kernel: [  6.383018]  [<c111aa20>] ? blkdev_get+0x230/0x230
Sep  1 14:14:53 kernel: [  6.383018]  [<c10fa637>] do_last+0x3b7/0x7b0
Sep  1 14:14:53 kernel: [  6.383018]  [<c10fab14>] path_openat+0xa4/0x340
Sep  1 14:14:53 kernel: [  6.383018]  [<c10faec1>] do_filp_open+0x31/0x80
Sep  1 14:14:53 kernel: [  6.383018]  [<c1104784>] ? alloc_fd+0x34/0xe0
Sep  1 14:14:53 kernel: [  6.383018]  [<c10f7263>] ? getname_flags+0xb3/0x160
Sep  1 14:14:53 kernel: [  6.383018]  [<c10ed4ed>] do_sys_open+0xdd/0x1b0
Sep  1 14:14:53 kernel: [  6.383018]  [<c10ed5f2>] sys_open+0x32/0x40
Sep  1 14:14:53 kernel: [  6.383018]  [<c14488cc>] syscall_call+0x7/0xb
Sep  1 14:14:53 kernel: [  6.383018] ---[ end trace 17a30ba9b4fe4ed3 ]---
Comment 1 Ludovico Cavedon 2012-12-17 22:53:19 UTC
From https://lkml.org/lkml/2012/10/9/284, referencing this bug:

Fixed in:
commit fdd514e16bb2531c0c61ae8a1f87740ce217f630
Author: Tejun Heo <tj@kernel.org>
Date:   Thu Jun 9 20:43:59 2011 +0200

    block: make disk_block_events() properly wait for work cancellation

Note You need to log in before you can comment on or make changes to this bug.