[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200723091342.GK19262@shao2-debian>
Date: Thu, 23 Jul 2020 17:13:42 +0800
From: kernel test robot <lkp@...el.com>
To: Maxim Levitsky <mlevitsk@...hat.com>
Cc: linux-kernel@...r.kernel.org, Keith Busch <kbusch@...nel.org>,
Josef Bacik <josef@...icpanda.com>,
"open list:BLOCK LAYER" <linux-block@...r.kernel.org>,
Sagi Grimberg <sagi@...mberg.me>, Jens Axboe <axboe@...nel.dk>,
"open list:NVM EXPRESS DRIVER" <linux-nvme@...ts.infradead.org>,
"open list:SCSI CDROM DRIVER" <linux-scsi@...r.kernel.org>,
Tejun Heo <tj@...nel.org>,
Bart Van Assche <bvanassche@....org>,
"Martin K. Petersen" <martin.petersen@...cle.com>,
Damien Le Moal <damien.lemoal@....com>,
Jason Wang <jasowang@...hat.com>,
Maxim Levitsky <maximlevitsky@...il.com>,
Stefan Hajnoczi <stefanha@...hat.com>,
Colin Ian King <colin.king@...onical.com>,
"Michael S. Tsirkin" <mst@...hat.com>,
Paolo Bonzini <pbonzini@...hat.com>,
Ulf Hansson <ulf.hansson@...aro.org>,
Ajay Joshi <ajay.joshi@....com>,
Ming Lei <ming.lei@...hat.com>,
"open list:SONY MEMORYSTICK SUBSYSTEM" <linux-mmc@...r.kernel.org>,
Christoph Hellwig <hch@....de>,
Satya Tangirala <satyat@...gle.com>,
"open list:NETWORK BLOCK DEVICE (NBD)" <nbd@...er.debian.org>,
Hou Tao <houtao1@...wei.com>, Jens Axboe <axboe@...com>,
"open list:VIRTIO CORE AND NET DRIVERS"
<virtualization@...ts.linux-foundation.org>,
"James E.J. Bottomley" <jejb@...ux.ibm.com>,
Alex Dubov <oakad@...oo.com>,
Maxim Levitsky <mlevitsk@...hat.com>, lkp@...ts.01.org
Subject: [block] 4c873fbf07:
WARNING:at_block/blk-settings.c:#blk_queue_logical_block_size
Greeting,
FYI, we noticed the following commit (built with gcc-9):
commit: 4c873fbf079b55e03beaee34e922d7c1e4090a07 ("[PATCH 01/10] block: introduce blk_is_valid_logical_block_size")
url: https://github.com/0day-ci/linux/commits/Maxim-Levitsky/RFC-move-logical-block-size-checking-to-the-block-core/20200721-185651
base: https://git.kernel.org/cgit/linux/kernel/git/axboe/linux-block.git for-next
in testcase: boot
on test machine: qemu-system-x86_64 -enable-kvm -cpu SandyBridge -smp 8 -m 16G
caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):
+---------------------------------------------------------------+------------+------------+
| | d9ad700633 | 4c873fbf07 |
+---------------------------------------------------------------+------------+------------+
| boot_successes | 16 | 0 |
| boot_failures | 0 | 18 |
| WARNING:at_block/blk-settings.c:#blk_queue_logical_block_size | 0 | 17 |
| RIP:blk_queue_logical_block_size | 0 | 17 |
| BUG:kernel_hang_in_boot_stage | 0 | 1 |
| calltrace:__do_softirq | 0 | 2 |
| calltrace:asm_call_on_stack | 0 | 3 |
+---------------------------------------------------------------+------------+------------+
If you fix the issue, kindly add following tag
Reported-by: kernel test robot <lkp@...el.com>
[ 46.395587] WARNING: CPU: 3 PID: 52 at block/blk-settings.c:341 blk_queue_logical_block_size+0x12/0x50
[ 46.396681] Modules linked in: sd_mod t10_pi sg ata_generic pata_acpi intel_rapl_msr intel_rapl_common ppdev crct10dif_pclmul crc32_pclmul snd_pcm crc32c_intel parport_pc ghash_clmulni_intel bochs_drm snd_timer aesni_intel crypto_simd snd ata_piix drm_vram_helper drm_ttm_helper cryptd glue_helper joydev parport floppy soundcore i2c_piix4 libata ttm virtio_scsi serio_raw pcspkr ip_tables
[ 46.396831] sd 0:0:1:10: Power-on or device reset occurred
[ 46.396960] sd 0:0:1:0: Power-on or device reset occurred
[ 46.396982] sd 0:0:1:7: Power-on or device reset occurred
[ 46.404324] sd 0:0:1:8: Power-on or device reset occurred
[ 46.407516] sd 0:0:1:5: Power-on or device reset occurred
[ 46.407595] ------------[ cut here ]------------
[ 46.407608] WARNING: CPU: 5 PID: 53 at block/blk-settings.c:341 blk_queue_logical_block_size+0x12/0x50
[ 46.407610] Modules linked in: sd_mod t10_pi sg ata_generic pata_acpi intel_rapl_msr intel_rapl_common ppdev crct10dif_pclmul crc32_pclmul snd_pcm crc32c_intel parport_pc ghash_clmulni_intel bochs_drm snd_timer aesni_intel crypto_simd snd ata_piix drm_vram_helper drm_ttm_helper cryptd glue_helper joydev parport floppy soundcore i2c_piix4 libata ttm virtio_scsi serio_raw pcspkr ip_tables
[ 46.407648] CPU: 5 PID: 53 Comm: kworker/u16:4 Not tainted 5.8.0-rc6-00292-g4c873fbf079b5 #1
[ 46.407650] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014
[ 46.407656] Workqueue: events_unbound async_run_entry_fn
[ 46.407661] RIP: 0010:blk_queue_logical_block_size+0x12/0x50
[ 46.407664] Code: 0b 89 b3 a8 04 00 00 5b c3 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 66 66 66 66 90 8d 86 00 fe ff ff 3d 00 0e 00 00 76 2a <0f> 0b 8b 87 ac 04 00 00 89 b7 b0 04 00 00 39 f0 73 08 89 b7 ac 04
[ 46.407666] RSP: 0018:ffffa13b80207cd8 EFLAGS: 00010246
[ 46.407670] RAX: 0000000000000200 RBX: ffff8ba269b08000 RCX: 0000000000000000
[ 46.407672] RDX: 00000000000001ff RSI: 0000000000000200 RDI: ffff8ba2813ab560
[ 46.407674] RBP: ffff8ba28175a000 R08: 0000000000000000 R09: 0000000000000000
[ 46.407677] R10: 0000000000000001 R11: 0000000000000003 R12: 0000000000000200
[ 46.407679] R13: 0000000000000200 R14: 0000000000000000 R15: 0000000000000000
[ 46.407682] FS: 0000000000000000(0000) GS:ffff8ba36fd40000(0000) knlGS:0000000000000000
[ 46.407684] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 46.407687] CR2: 00007faea48ed4a0 CR3: 0000000338a68000 CR4: 00000000000406e0
[ 46.407693] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 46.407695] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[ 46.407697] Call Trace:
[ 46.407708] sd_read_capacity+0x12b/0x370 [sd_mod]
[ 46.407718] sd_revalidate_disk+0x305/0x1030 [sd_mod]
[ 46.407727] ? device_add+0x17b/0x790
[ 46.407738] sd_probe+0x2ce/0x460 [sd_mod]
[ 46.407747] really_probe+0x298/0x3c0
[ 46.407754] driver_probe_device+0xe1/0x150
[ 46.407760] __driver_attach_async_helper+0x83/0x90
[ 46.407765] async_run_entry_fn+0x39/0x160
[ 46.407771] process_one_work+0x23c/0x5a0
[ 46.407784] worker_thread+0x50/0x3b0
[ 46.407792] ? process_one_work+0x5a0/0x5a0
[ 46.407796] kthread+0x134/0x180
[ 46.407800] ? kthread_park+0x90/0x90
[ 46.407808] ret_from_fork+0x22/0x30
[ 46.407827] irq event stamp: 789
[ 46.407832] hardirqs last enabled at (795): [<ffffffff95dcc9cf>] vprintk_emit+0x35f/0x370
[ 46.407835] hardirqs last disabled at (800): [<ffffffff95dcc872>] vprintk_emit+0x202/0x370
[ 46.407840] softirqs last enabled at (384): [<ffffffff95cd8dff>] fpu__copy+0x9f/0x310
[ 46.407842] softirqs last disabled at (382): [<ffffffff95cd8da3>] fpu__copy+0x43/0x310
[ 46.407844] ---[ end trace d9e8c103d8a266ee ]---
To reproduce:
# build kernel
cd linux
cp config-5.8.0-rc6-00292-g4c873fbf079b5 .config
make HOSTCC=gcc-9 CC=gcc-9 ARCH=x86_64 olddefconfig prepare modules_prepare bzImage
git clone https://github.com/intel/lkp-tests.git
cd lkp-tests
bin/lkp qemu -k <bzImage> job-script # job-script is attached in this email
Thanks,
lkp
View attachment "config-5.8.0-rc6-00292-g4c873fbf079b5" of type "text/plain" (209057 bytes)
View attachment "job-script" of type "text/plain" (4884 bytes)
Download attachment "dmesg.xz" of type "application/x-xz" (23244 bytes)
Powered by blists - more mailing lists