This bug was erroneously marked for verification in bionic; verification
is not required and verification-needed-bionic is being removed.

** Tags added: verification-done-bionic

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1755073

Title:
  ubuntu_zram_smoke test will cause soft lockup on Artful ThunderX ARM64

Status in linux package in Ubuntu:
  Fix Released
Status in linux source package in Artful:
  Fix Released
Status in linux source package in Bionic:
  Fix Released

Bug description:
  == SRU Justification ==

  Enabling virtual mapped kernel stacks breaks the thunderx_zip driver.
  On compression or decompression the executing CPU hangs in an endless
  loop. The reason for this is the usage of __pa() by the driver that
  does not work for an address that is not part of the 1:1 mapping.

  == Fix ==

  The patch in comment #12 fixes it.
  To reproduce the bug (and test the new kernel), see comment #9.

  == Regression Potential ==

  The patch affects only the thunderx_zip driver (that is already in a
  completely broken state), so the regression potential is low.

  ---

  This is a POTENTIAL REGRESSION.

  This test has passed with 4.13.0-36.40, but not 4.13.0-37.42

  The test will stuck with error message in dmesg:
  ubuntu@starmie-kernel:~$ dmesg
  [  470.227210] zram: Added device: zram0
  [  472.262544] zram0: detected capacity change from 0 to 134217728
  [  472.396960] EXT4-fs (zram0): mounted filesystem with ordered data mode. 
Opts: (null)
  [  475.761947] zram0: detected capacity change from 134217728 to 0
  [  476.796641] zram0: detected capacity change from 0 to 134217728
  [  476.909118] EXT4-fs (zram0): mounted filesystem with ordered data mode. 
Opts: (null)
  [  480.233817] zram0: detected capacity change from 134217728 to 0
  [  481.239001] zram0: detected capacity change from 0 to 134217728
  [  508.079684] watchdog: BUG: soft lockup - CPU#8 stuck for 23s! 
[mkfs.ext4:2253]
  [  508.086994] Modules linked in: lz4 lz4_compress zram nls_iso8859_1 
thunderx_edac i2c_thunderx thunderx_zip i2c_smbus shpchp cavium_rng_vf 
cavium_rng gpio_keys ipmi_ssif uio_pdrv_genirq uio ipmi_devintf ipmi_msghandler 
ib_iser rdma_cm iw_cm ib_cm ib_core iscsi_tcp libiscsi_tcp libiscsi 
scsi_transport_iscsi ip_tables x_tables autofs4 btrfs raid10 raid456 
async_raid6_recov async_memcpy async_pq async_xor async_tx xor raid6_pq 
libcrc32c raid1 raid0 multipath linear nicvf nicpf ast i2c_algo_bit ttm 
drm_kms_helper syscopyarea sysfillrect aes_ce_blk sysimgblt aes_ce_cipher 
fb_sys_fops crc32_ce crct10dif_ce drm ghash_ce sha2_ce sha1_ce ahci libahci 
thunder_bgx thunder_xcv mdio_thunder thunderx_mmc mdio_cavium aes_neon_bs 
aes_neon_blk crypto_simd cryptd
  [  508.087138] CPU: 8 PID: 2253 Comm: mkfs.ext4 Not tainted 4.13.0-37-generic 
#42-Ubuntu
  [  508.087141] Hardware name: Cavium ThunderX CRB/To be filled by O.E.M., 
BIOS 5.11 12/12/2012
  [  508.087144] task: ffff801f57a86900 task.stack: ffff000023ec0000
  [  508.087158] PC is at zip_deflate+0x184/0x2e8 [thunderx_zip]
  [  508.087164] LR is at zip_deflate+0x17c/0x2e8 [thunderx_zip]
  [  508.087167] pc : [<ffff000001a6961c>] lr : [<ffff000001a69614>] pstate: 
20400145
  [  508.087169] sp : ffff000023ec3580
  [  508.087171] x29: ffff000023ec3580 x28: 0000000000000000
  [  508.087177] x27: ffff801f57a86900 x26: 000000010000b104
  [  508.087182] x25: ffff801f5618c000 x24: ffff801f6a15bc18
  [  508.087188] x23: 0000000000001000 x22: ffff000023ec3688
  [  508.087193] x21: ffff801f5a2d4880 x20: ffff801f6a15bc18
  [  508.087199] x19: ffff000023ec3608 x18: 0000000000000000
  [  508.087204] x17: 0000000000000001 x16: 0000000000000000
  [  508.087209] x15: 0000aaaabd4048db x14: 00000000fa130000
  [  508.087215] x13: 0000100000000000 x12: 00000000fa120000
  [  508.087220] x11: 0000000000000000 x10: 0000000000000000
  [  508.087225] x9 : 0000000000000000 x8 : 0000000000000000
  [  508.087230] x7 : 0000000000000000 x6 : ffff8000101d6080
  [  508.087236] x5 : ffff000001a69058 x4 : 0000000000000008
  [  508.087241] x3 : 0000000000000000 x2 : 0000000000000000
  [  508.087246] x1 : ffff801f6a15be08 x0 : 0000000000000000
  [  508.087252] Call trace:
  [  508.087256] Exception stack(0xffff000023ec3440 to 0xffff000023ec3580)
  [  508.087260] 3440: 0000000000000000 ffff801f6a15be08 0000000000000000 
0000000000000000
  [  508.087264] 3460: 0000000000000008 ffff000001a69058 ffff8000101d6080 
0000000000000000
  [  508.087268] 3480: 0000000000000000 0000000000000000 0000000000000000 
0000000000000000
  [  508.087272] 34a0: 00000000fa120000 0000100000000000 00000000fa130000 
0000aaaabd4048db
  [  508.087276] 34c0: 0000000000000000 0000000000000001 0000000000000000 
ffff000023ec3608
  [  508.087280] 34e0: ffff801f6a15bc18 ffff801f5a2d4880 ffff000023ec3688 
0000000000001000
  [  508.087284] 3500: ffff801f6a15bc18 ffff801f5618c000 000000010000b104 
ffff801f57a86900
  [  508.087288] 3520: 0000000000000000 ffff000023ec3580 ffff000001a69614 
ffff000023ec3580
  [  508.087292] 3540: ffff000001a6961c 0000000020400145 ffff801f5a2d4880 
ffff000023ec3688
  [  508.087297] 3560: 0000ffffffffffff ffff801f6a15bc18 ffff000023ec3580 
ffff000001a6961c
  [  508.087304] [<ffff000001a6961c>] zip_deflate+0x184/0x2e8 [thunderx_zip]
  [  508.087311] [<ffff000001a68db0>] zip_compress+0xd8/0x158 [thunderx_zip]
  [  508.087317] [<ffff000001a690a0>] zip_comp_compress+0x48/0x60 [thunderx_zip]
  [  508.087325] [<ffff0000084b1280>] crypto_compress+0x50/0x68
  [  508.087336] [<ffff000001c7a298>] zcomp_compress+0x48/0x58 [zram]
  [  508.087343] [<ffff000001c7bb1c>] zram_bvec_rw.isra.18+0x21c/0x660 [zram]
  [  508.087350] [<ffff000001c7c184>] zram_make_request+0x13c/0x360 [zram]
  [  508.087356] [<ffff0000084dea94>] generic_make_request+0xf4/0x290
  [  508.087360] [<ffff0000084dec8c>] submit_bio+0x5c/0x198
  [  508.087367] [<ffff000008311944>] submit_bh_wbc+0x14c/0x1a0
  [  508.087371] [<ffff000008311bb4>] __block_write_full_page+0x21c/0x3b0
  [  508.087375] [<ffff000008311f4c>] block_write_full_page+0x10c/0x120
  [  508.087379] [<ffff0000083155e0>] blkdev_writepage+0x30/0x40
  [  508.087383] [<ffff000008237520>] __writepage+0x38/0x88
  [  508.087386] [<ffff000008237ddc>] write_cache_pages+0x1c4/0x490
  [  508.087389] [<ffff000008239a34>] generic_writepages+0x64/0xa0
  [  508.087392] [<ffff000008315550>] blkdev_writepages+0x38/0x60
  [  508.087395] [<ffff00000823a644>] do_writepages+0x5c/0x108
  [  508.087400] [<ffff000008229d9c>] __filemap_fdatawrite_range+0xec/0x128
  [  508.087404] [<ffff00000822a5a8>] file_write_and_wait_range+0x58/0xe8
  [  508.087407] [<ffff0000083147e4>] blkdev_fsync+0x3c/0x70
  [  508.087410] [<ffff00000830b77c>] vfs_fsync_range+0x64/0xc0
  [  508.087413] [<ffff00000830b860>] do_fsync+0x48/0x78
  [  508.087417] [<ffff00000830bb24>] SyS_fsync+0x24/0x38
  [  508.087419] Exception stack(0xffff000023ec3ec0 to 0xffff000023ec4000)
  [  508.087423] 3ec0: 0000000000000008 0000000000000000 0000000000001000 
0000000000001000
  [  508.087427] 3ee0: 0000000000000000 0000aaaabd4048d4 0000000000000000 
000000001862beef
  [  508.087431] 3f00: 0000000000000052 00000000000003f8 0000000000000400 
0000000000000800
  [  508.087435] 3f20: 0000000000000c00 0000000000001000 0000000000001c00 
0000aaaabd4048db
  [  508.087439] 3f40: 0000ffffa72c4c98 0000ffffa714fb58 0000000000000000 
0000000000000000
  [  508.087443] 3f60: 0000aaaabd4001d0 0000000000000000 0000000000000000 
0000aaaabd403f70
  [  508.087447] 3f80: 0000ffffecf836c0 0000aaaabd4044e0 0000aaaabd403f70 
0000000000000000
  [  508.087451] 3fa0: 0000aaaabd403f70 0000ffffecf834b0 0000ffffa72aa0a4 
0000ffffecf834b0
  [  508.087455] 3fc0: 0000ffffa714fb7c 0000000060000000 0000000000000008 
0000000000000052
  [  508.087458] 3fe0: 0000000000000000 0000000000000000 0000000000000000 
0000000000000000
  [  508.087463] [<ffff000008083c00>] el0_svc_naked+0x34/0x38
  [  528.074307] watchdog: BUG: soft lockup - CPU#2 stuck for 22s! 
[kworker/u96:3:512]
  [  528.081877] Modules linked in: lz4 lz4_compress zram nls_iso8859_1 
thunderx_edac i2c_thunderx thunderx_zip i2c_smbus shpchp cavium_rng_vf 
cavium_rng gpio_keys ipmi_ssif uio_pdrv_genirq uio ipmi_devintf ipmi_msghandler 
ib_iser rdma_cm iw_cm ib_cm ib_core iscsi_tcp libiscsi_tcp libiscsi 
scsi_transport_iscsi ip_tables x_tables autofs4 btrfs raid10 raid456 
async_raid6_recov async_memcpy async_pq async_xor async_tx xor raid6_pq 
libcrc32c raid1 raid0 multipath linear nicvf nicpf ast i2c_algo_bit ttm 
drm_kms_helper syscopyarea sysfillrect aes_ce_blk sysimgblt aes_ce_cipher 
fb_sys_fops crc32_ce crct10dif_ce drm ghash_ce sha2_ce sha1_ce ahci libahci 
thunder_bgx thunder_xcv mdio_thunder thunderx_mmc mdio_cavium aes_neon_bs 
aes_neon_blk crypto_simd cryptd
  [  528.082019] CPU: 2 PID: 512 Comm: kworker/u96:3 Tainted: G             L  
4.13.0-37-generic #42-Ubuntu
  [  528.082021] Hardware name: Cavium ThunderX CRB/To be filled by O.E.M., 
BIOS 5.11 12/12/2012
  [  528.082033] Workqueue: writeback wb_workfn (flush-252:0)
  [  528.082039] task: ffff801f27b58000 task.stack: ffff000013b00000
  [  528.082052] PC is at zip_deflate+0x180/0x2e8 [thunderx_zip]
  [  528.082059] LR is at zip_deflate+0x17c/0x2e8 [thunderx_zip]
  [  528.082062] pc : [<ffff000001a69618>] lr : [<ffff000001a69614>] pstate: 
20400145
  [  528.082064] sp : ffff000013b03330
  [  528.082066] x29: ffff000013b03330 x28: 0000000000000000
  [  528.082071] x27: ffff801f27b58000 x26: 000000010000c700
  [  528.082077] x25: ffff801f57e04000 x24: ffff801f6a15bc18
  [  528.082082] x23: 0000000000001000 x22: ffff000013b03438
  [  528.082087] x21: ffff801f5a2d5880 x20: ffff801f6a15bc18
  [  528.082093] x19: ffff000013b033b8 x18: 0000000000000009
  [  528.082098] x17: 0000000000000002 x16: 0000000000000000
  [  528.082103] x15: 0000000000000001 x14: 0000000000db0000
  [  528.082108] x13: 0000100000000000 x12: 0000000000da0000
  [  528.082113] x11: 0000000000000000 x10: 0000000000000000
  [  528.082119] x9 : 0000000000000000 x8 : 0000000000000000
  [  528.082124] x7 : 0000000000000000 x6 : ffff8000101d6100
  [  528.082129] x5 : ffff000001a69058 x4 : 0000000000000008
  [  528.082134] x3 : 0000000000000000 x2 : 0000000000000000
  [  528.082139] x1 : ffff801f6a15be08 x0 : 0000000000000000
  [  528.082145] Call trace:
  [  528.082149] Exception stack(0xffff000013b031f0 to 0xffff000013b03330)
  [  528.082152] 31e0:                                   0000000000000000 
ffff801f6a15be08
  [  528.082156] 3200: 0000000000000000 0000000000000000 0000000000000008 
ffff000001a69058
  [  528.082160] 3220: ffff8000101d6100 0000000000000000 0000000000000000 
0000000000000000
  [  528.082164] 3240: 0000000000000000 0000000000000000 0000000000da0000 
0000100000000000
  [  528.082167] 3260: 0000000000db0000 0000000000000001 0000000000000000 
0000000000000002
  [  528.082171] 3280: 0000000000000009 ffff000013b033b8 ffff801f6a15bc18 
ffff801f5a2d5880
  [  528.082175] 32a0: ffff000013b03438 0000000000001000 ffff801f6a15bc18 
ffff801f57e04000
  [  528.082179] 32c0: 000000010000c700 ffff801f27b58000 0000000000000000 
ffff000013b03330
  [  528.082183] 32e0: ffff000001a69614 ffff000013b03330 ffff000001a69618 
0000000020400145
  [  528.082187] 3300: ffff801f5a2d5880 ffff000013b03438 ffffffffffffffff 
ffff801f6a15bc18
  [  528.082190] 3320: ffff000013b03330 ffff000001a69618
  [  528.082197] [<ffff000001a69618>] zip_deflate+0x180/0x2e8 [thunderx_zip]
  [  528.082204] [<ffff000001a68db0>] zip_compress+0xd8/0x158 [thunderx_zip]
  [  528.082210] [<ffff000001a690a0>] zip_comp_compress+0x48/0x60 [thunderx_zip]
  [  528.082216] [<ffff0000084b1280>] crypto_compress+0x50/0x68
  [  528.082228] [<ffff000001c7a298>] zcomp_compress+0x48/0x58 [zram]
  [  528.082236] [<ffff000001c7bb1c>] zram_bvec_rw.isra.18+0x21c/0x660 [zram]
  [  528.082242] [<ffff000001c7c184>] zram_make_request+0x13c/0x360 [zram]
  [  528.082248] [<ffff0000084dea94>] generic_make_request+0xf4/0x290
  [  528.082252] [<ffff0000084dec8c>] submit_bio+0x5c/0x198
  [  528.082258] [<ffff000008311944>] submit_bh_wbc+0x14c/0x1a0
  [  528.082262] [<ffff000008311bb4>] __block_write_full_page+0x21c/0x3b0
  [  528.082266] [<ffff000008311f4c>] block_write_full_page+0x10c/0x120
  [  528.082270] [<ffff0000083155e0>] blkdev_writepage+0x30/0x40
  [  528.082274] [<ffff000008237520>] __writepage+0x38/0x88
  [  528.082277] [<ffff000008237ddc>] write_cache_pages+0x1c4/0x490
  [  528.082280] [<ffff000008239a34>] generic_writepages+0x64/0xa0
  [  528.082283] [<ffff000008315550>] blkdev_writepages+0x38/0x60
  [  528.082286] [<ffff00000823a644>] do_writepages+0x5c/0x108
  [  528.082290] [<ffff000008305938>] __writeback_single_inode+0x48/0x3f0
  [  528.082293] [<ffff000008306158>] writeback_sb_inodes+0x1c0/0x460
  [  528.082296] [<ffff000008306470>] __writeback_inodes_wb+0x78/0xc8
  [  528.082299] [<ffff0000083067bc>] wb_writeback+0x224/0x350
  [  528.082302] [<ffff000008307254>] wb_workfn+0x1c4/0x400
  [  528.082308] [<ffff0000080fe5e8>] process_one_work+0x1e0/0x420
  [  528.082312] [<ffff0000080fe874>] worker_thread+0x4c/0x478
  [  528.082316] [<ffff000008105848>] kthread+0x138/0x140
  [  528.082321] [<ffff0000080854f0>] ret_from_fork+0x10/0x18

  ProblemType: Bug
  DistroRelease: Ubuntu 17.10
  Package: linux-image-4.13.0-37-generic 4.13.0-37.42
  ProcVersionSignature: User Name 4.13.0-37.42-generic 4.13.13
  Uname: Linux 4.13.0-37-generic aarch64
  AlsaDevices:
   total 0
   crw-rw---- 1 root audio 116,  1 Mar 12 03:13 seq
   crw-rw---- 1 root audio 116, 33 Mar 12 03:13 timer
  AplayDevices: Error: [Errno 2] No such file or directory: 'aplay': 'aplay'
  ApportVersion: 2.20.7-0ubuntu3.7
  Architecture: arm64
  ArecordDevices: Error: [Errno 2] No such file or directory: 'arecord': 
'arecord'
  AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq', 
'/dev/snd/timer'] failed with exit code 1:
  Date: Mon Mar 12 03:22:24 2018
  IwConfig: Error: [Errno 2] No such file or directory: 'iwconfig': 'iwconfig'
  MachineType: Cavium ThunderX CRB
  PciMultimedia:

  ProcEnviron:
   TERM=xterm-256color
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=C.UTF-8
   SHELL=/bin/bash
  ProcFB:
   0 EFI VGA
   1 astdrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.13.0-37-generic 
root=UUID=c5160401-c147-4329-9683-b946ce7d0d37 ro
  RelatedPackageVersions:
   linux-restricted-modules-4.13.0-37-generic N/A
   linux-backports-modules-4.13.0-37-generic  N/A
   linux-firmware                             1.169.3
  RfKill: Error: [Errno 2] No such file or directory: 'rfkill': 'rfkill'
  SourcePackage: linux
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 12/12/2012
  dmi.bios.vendor: American Megatrends Inc.
  dmi.bios.version: 5.11
  dmi.board.asset.tag: To be filled by O.E.M.
  dmi.board.name: To be filled by O.E.M.
  dmi.board.vendor: To be filled by O.E.M.
  dmi.board.version: To be filled by O.E.M.
  dmi.chassis.asset.tag: To be filled by O.E.M.
  dmi.chassis.type: 0
  dmi.chassis.vendor: Cavium
  dmi.chassis.version: To be filled by O.E.M.
  dmi.modalias: 
dmi:bvnAmericanMegatrendsInc.:bvr5.11:bd12/12/2012:svnCavium:pnThunderXCRB:pvrTobefilledbyO.E.M.:rvnTobefilledbyO.E.M.:rnTobefilledbyO.E.M.:rvrTobefilledbyO.E.M.:cvnCavium:ct0:cvrTobefilledbyO.E.M.:
  dmi.product.family: Default string
  dmi.product.name: ThunderX CRB
  dmi.product.version: To be filled by O.E.M.
  dmi.sys.vendor: Cavium

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1755073/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to