On Mon, Aug 03, 2015 at 05:55:35PM -0000, Joseph Salisbury wrote:
> Do you know if I perform the steps listed to reproduce the issue in a VM
> or do I need some dedicated hardware?

In a VM - the first command I listed (adt-buildvm-ubuntu-cloud from the
`autopkgtest' package) will download and construct one for you, then you
just need to boot into it and install the stuff to run udisks2's
autopkgtest.

-- 
Iain Lane                                  [ i...@orangesquash.org.uk ]
Debian Developer                                   [ la...@debian.org ]
Ubuntu Developer                                   [ la...@ubuntu.com ]

-- 
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/1478623

Title:
  [4.1.0 regression] Kernel oops - blk_update_request: I/O error when
  running udisks2 force_test_removal test

Status in linux package in Ubuntu:
  In Progress
Status in linux source package in Wily:
  In Progress

Bug description:
  We noticed that the udisks2 autopkgtest is failing on i386 in the
  "forced removal" test, for example

    https://jenkins.qa.ubuntu.com/job/wily-adt-
  udisks2/ARCH=i386,label=adt/55/console

  I reproduced this locally, on this kernel

  ubuntu@autopkgtest:~$ uname -a
  Linux autopkgtest 4.1.0-2-generic #2-Ubuntu SMP Wed Jul 22 18:17:34 UTC 2015 
i686 i686 i686 GNU/Linux

  and got the following spewed to console

  fs: forced removal ... [  303.782426] blk_update_request: I/O error, dev sdb, 
sector 0
  [  303.807400] BUG: unable to handle kernel paging request at 1afde000
  [  303.808010] IP: [<c1378626>] __percpu_counter_add+0x16/0x90
  [  303.808010] *pdpt = 000000000ee9b001 *pde = 0000000000000000 
  [  303.808010] Oops: 0000 [#1] SMP 
  [  303.808010] Modules linked in: scsi_debug btrfs xor raid6_pq ufs qnx4 
hfsplus hfs minix ntfs msdos jfs xfs libcrc32c ppdev kvm_intel kvm joydev 
serio_raw 8250_fintek parport_pc parport i2c_piix4 mac_hid autofs4 psmouse 
pata_acpi floppy
  [  303.808010] CPU: 0 PID: 22573 Comm: umount Not tainted 4.1.0-2-generic 
#2-Ubuntu
  [  303.808010] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 
1.8.1-20150604_211837-tipua 04/01/2014
  [  303.808010] task: dc75e5e0 ti: ce85a000 task.ti: ce85a000
  [  303.808010] EIP: 0060:[<c1378626>] EFLAGS: 00010092 CPU: 0
  [  303.808010] EIP is at __percpu_counter_add+0x16/0x90
  [  303.808010] EAX: 00000001 EBX: dbba9c08 ECX: 00000000 EDX: 00000001
  [  303.808010] ESI: ffffffff EDI: 00000000 EBP: ce85be6c ESP: ce85be54
  [  303.808010]  DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068
  [  303.808010] CR0: 8005003b CR2: 1afde000 CR3: 1e9c88c0 CR4: 000007f0
  [  303.808010] Stack:
  [  303.808010]  c1aa7b40 00000001 00000000 dbba9be8 ffffffff decbfd60 
ce85be88 c115bca4
  [  303.808010]  00000008 ddce5228 ddce5228 decbfd60 decbfd70 ce85bea4 
c11e47f9 00000000
  [  303.808010]  00000286 ddce5228 d559cbd0 cdd41400 ce85beb4 c11e496f 
d3cc2000 00000000
  [  303.808010] Call Trace:
  [  303.808010]  [<c115bca4>] account_page_dirtied+0x74/0xf0
  [  303.808010]  [<c11e47f9>] __set_page_dirty+0x39/0xc0
  [  303.808010]  [<c11e496f>] mark_buffer_dirty+0x4f/0xb0
  [  303.808010]  [<c1246138>] ext4_commit_super+0x168/0x220
  [  303.808010]  [<c1246db1>] ext4_put_super+0xc1/0x310
  [  303.808010]  [<c11ce6a2>] ? dispose_list+0x32/0x40
  [  303.808010]  [<c11cf2fa>] ? evict_inodes+0xda/0xf0
  [  303.808010]  [<c11b6834>] generic_shutdown_super+0x64/0xe0
  [  303.808010]  [<c11616d0>] ? unregister_shrinker+0x40/0x50
  [  303.808010]  [<c11b6b2f>] kill_block_super+0x1f/0x70
  [  303.808010]  [<c11b6e0d>] deactivate_locked_super+0x3d/0x70
  [  303.808010]  [<c11b71f7>] deactivate_super+0x57/0x60
  [  303.808010]  [<c11d2099>] cleanup_mnt+0x39/0x90
  [  303.808010]  [<c11d2130>] __cleanup_mnt+0x10/0x20
  [  303.808010]  [<c107dbf1>] task_work_run+0xb1/0xd0
  [  303.808010]  [<c1010a63>] do_notify_resume+0x53/0x70
  [  303.808010]  [<c1717d17>] work_notifysig+0x26/0x2b
  [  303.808010] Code: 24 8b 54 24 04 83 c4 08 5b 5e 5f 5d c3 90 8d b4 26 00 00 
00 00 55 89 e5 57 56 53 89 c3 89 d0 83 ec 0c 89 45 ec 89 4d f0 8b 7b 14 <64> 8b 
37 89 7d e8 89 f7 c1 ff 1f 01 c6 11 cf 8b 4d 08 c1 f9 1f
  [  303.808010] EIP: [<c1378626>] __percpu_counter_add+0x16/0x90 SS:ESP 
0068:ce85be54
  [  303.808010] CR2: 000000001afde000
  [  303.808010] ---[ end trace bd84bb1a9fa3ebd4 ]---
  [  304.463429] scsi 2:0:0:0: Direct-Access     Linux    scsi_debug       0184 
PQ: 0 ANSI: 6
  [  304.468098] sd 2:0:0:0: Attached scsi generic sg2 type 0
  [  304.472038] sd 2:0:0:0: [sdc] 585728 512-byte logical blocks: (299 MB/286 
MiB)
  [  304.476079] sd 2:0:0:0: [sdc] Write Protect is off
  [  304.476661] sd 2:0:0:0: [sdc] Mode Sense: 73 00 10 08
  [  304.484045] sd 2:0:0:0: [sdc] Write cache: enabled, read cache: enabled, 
supports DPO and FUA
  [  304.572090] sd 2:0:0:0: [sdc] Attached SCSI disk

  To reproduce, do something like this:

  $ adt-buildvm-ubuntu-cloud -r wily -a i386 # download a cloud image, fettle 
it a bit to be more useful
  $ qemu-system-i386 -m 2048 -net user -net nic,model=virtio -enable-kvm 
-nographic adt-wily*
  # login with ubuntu/ubuntu

  # apt-get update
  # apt-get dist-upgrade
  $ apt-get source udisks2
  $ cd udisks2-*
  $ cat debian/tests/control # install the test-deps
  # debian/tests/upstream-system # runs the testsuite, when it gets to 
test_force_removal you should see this bug. the testsuite hangs too.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1478623/+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