kernel-packages team mailing list archive
-
kernel-packages team
-
Mailing list archive
-
Message #125138
[Bug 1415178] Comment bridged from LTC Bugzilla
------- Comment From mputtash@xxxxxxxxxx 2015-06-26 17:20 EDT-------
Verified the issue and it looks to be fixed.
root@ubuntu1510:~# uname -a
Linux ubuntu1510 3.19.0-22-generic #22-Ubuntu SMP Tue Jun 16 17:15:17 UTC 2015 ppc64le ppc64le ppc64le GNU/Linux
root@ubuntu1510:~# lsmod
Module Size Used by
pseries_rng 3020 0
ses 9054 0
enclosure 11771 1 ses
rtc_generic 2265 0
autofs4 49051 2
ipr 140312 0
root@ubuntu1510:~# rmmod ipr
root@ubuntu1510:~# modprobe ipr
[ 2016.127088] sd 3:2:0:0: [sdb] Assuming drive cache: write through
[ 2016.162456] sd 3:2:1:0: [sdc] Assuming drive cache: write through
[ 2016.194434] sd 3:2:2:0: [sdd] Assuming drive cache: write through
[ 2016.214432] sd 3:2:3:0: [sde] Assuming drive cache: write through
root@ubuntu1510:~# iprconfig -c show-arrays
Name PCI/SCSI Location Description Status
------ ------------------------- ------------------------- -----------------
sdb 0001:00:03.0/2:2:0:0 RAID 0 Array Optimized
sdc 0001:00:03.0/2:2:1:0 RAID 0 Array Optimized
sdd 0001:00:03.0/2:2:2:0 RAID 0 Array Optimized
sde 0001:00:03.0/2:2:3:0 RAID 0 Array Optimized
root@ubuntu1510:~# lsmod
Module Size Used by
ipr 140312 0
pseries_rng 3020 0
ses 9054 0
enclosure 11771 1 ses
rtc_generic 2265 0
autofs4 49051 2
syslog:
No errors or traces
syslog:
Jun 26 12:18:27 ubuntu1510 kernel: [ 1991.401556] ipr: IBM Power RAID SCSI Devic e Driver version: 2.6.0 (November 16, 2012)
Jun 26 12:18:27 ubuntu1510 kernel: [ 1991.401585] ipr 0001:00:03.0: Found IOA wi th IRQ: 0
Jun 26 12:18:27 ubuntu1510 kernel: [ 1991.404085] ipr 0001:00:03.0: Received IRQ : 28
Jun 26 12:18:27 ubuntu1510 kernel: [ 1991.404115] ipr 0001:00:03.0: Request for 2 MSIXs succeeded.
Jun 26 12:18:27 ubuntu1510 kernel: [ 1991.407222] ipr 0001:00:03.0: Initializing IOA.
Jun 26 12:18:27 ubuntu1510 kernel: [ 1991.407229] scsi host3: IBM 0 Storage Adap ter
Jun 26 12:18:50 ubuntu1510 kernel: [ 2014.570511] ipr 0001:00:03.0: Starting IOA initialization sequence.
Jun 26 12:18:50 ubuntu1510 kernel: [ 2014.570599] ipr 0001:00:03.0: Starting IOA initialization sequence.
Jun 26 12:18:50 ubuntu1510 kernel: [ 2014.572118] ipr 0001:00:03.0: Adapter firm ware version: 12511700
Jun 26 12:18:50 ubuntu1510 kernel: [ 2014.573165] ipr 0001:00:03.0: IOA initiali zed.
Jun 26 12:18:50 ubuntu1510 kernel: [ 2014.586091] scsi 3:3:0:0: No Device IBM 57D7001SISIOA 0150 PQ: 0 ANSI: 0
Jun 26 12:18:50 ubuntu1510 kernel: [ 2014.586097] scsi 3:3:0:0: Resource path: 3 /FE
Jun 26 12:18:50 ubuntu1510 kernel: [ 2014.597516] scsi 3:0:0:0: Direct-Access IBM ST600MM0006 BD12 PQ: 0 ANSI: 6
Jun 26 12:18:50 ubuntu1510 kernel: [ 2014.597521] scsi 3:0:0:0: Resource path: 3 /00-00
Jun 26 12:18:50 ubuntu1510 kernel: [ 2014.610012] scsi 3:0:1:0: Direct-Access IBM ST600MM0006 BD12 PQ: 0 ANSI: 6
Jun 26 12:18:50 ubuntu1510 kernel: [ 2014.610016] scsi 3:0:1:0: Resource path: 3 /00-01
Jun 26 12:18:50 ubuntu1510 kernel: [ 2014.619431] scsi 3:0:2:0: Direct-Access IBM ST600MM0006 BD12 PQ: 0 ANSI: 6
Jun 26 12:18:50 ubuntu1510 kernel: [ 2014.619436] scsi 3:0:2:0: Resource path: 3 /00-02
Jun 26 12:18:50 ubuntu1510 kernel: [ 2014.634250] scsi 3:0:3:0: Direct-Access IBM ST600MM0006 BD12 PQ: 0 ANSI: 6
Jun 26 12:18:50 ubuntu1510 kernel: [ 2014.634255] scsi 3:0:3:0: Resource path: 3 /00-04
Jun 26 12:18:50 ubuntu1510 kernel: [ 2014.638442] scsi 3:1:0:0: No Device IBM IPR-0 6A8ABD00 PQ: 0 ANSI: 3
Jun 26 12:18:50 ubuntu1510 kernel: [ 2014.638446] scsi 3:1:0:0: Resource path: 3 /FD-00
Jun 26 12:18:50 ubuntu1510 kernel: [ 2014.640410] scsi 3:1:1:0: No Device IBM IPR-0 6A9BD700 PQ: 0 ANSI: 3
Jun 26 12:18:50 ubuntu1510 kernel: [ 2014.640414] scsi 3:1:1:0: Resource path: 3 /FD-01
Jun 26 12:18:50 ubuntu1510 kernel: [ 2014.642405] scsi 3:1:2:0: No Device IBM IPR-0 6A8BF200 PQ: 0 ANSI: 3
Jun 26 12:18:50 ubuntu1510 kernel: [ 2014.642409] scsi 3:1:2:0: Resource path: 3 /FD-02
Jun 26 12:18:50 ubuntu1510 kernel: [ 2014.648273] scsi 3:1:3:0: No Device IBM IPR-0 6A9BD900 PQ: 0 ANSI: 3
Jun 26 12:18:50 ubuntu1510 kernel: [ 2014.648277] scsi 3:1:3:0: Resource path: 3 /FD-03
Jun 26 12:18:50 ubuntu1510 kernel: [ 2014.650256] scsi 3:2:0:0: Direct-Access IBM IPR-0 6A8ABD00 PQ: 0 ANSI: 3
Jun 26 12:18:50 ubuntu1510 kernel: [ 2014.650260] scsi 3:2:0:0: Resource path: 3 /FC-00-00
Jun 26 12:18:50 ubuntu1510 kernel: [ 2014.652238] scsi 3:2:1:0: Direct-Access IBM IPR-0 6A9BD900 PQ: 0 ANSI: 3
Jun 26 12:18:50 ubuntu1510 kernel: [ 2014.652243] scsi 3:2:1:0: Resource path: 3 /FC-03-00
Jun 26 12:18:50 ubuntu1510 kernel: [ 2014.654221] scsi 3:2:2:0: Direct-Access IBM IPR-0 6A9BD700 PQ: 0 ANSI: 3
Jun 26 12:18:50 ubuntu1510 kernel: [ 2014.654226] scsi 3:2:2:0: Resource path: 3 /FC-01-00
Jun 26 12:18:50 ubuntu1510 kernel: [ 2014.655509] scsi 3:2:3:0: Direct-Access IBM IPR-0 6A8BF200 PQ: 0 ANSI: 3
Jun 26 12:18:50 ubuntu1510 kernel: [ 2014.655514] scsi 3:2:3:0: Resource path: 3 /FC-02-00
Jun 26 12:18:51 ubuntu1510 kernel: [ 2014.881844] scsi 3:0:4:0: Enclosure IBM VSBPD12M1 6GSAS 03 PQ: 0 ANSI: 2
Jun 26 12:18:51 ubuntu1510 kernel: [ 2014.881849] scsi 3:0:4:0: Resource path: 3 /00-15
Jun 26 12:18:51 ubuntu1510 kernel: [ 2014.882550] scsi 3:3:0:0: Attached scsi ge neric sg2 type 31
Jun 26 12:18:51 ubuntu1510 kernel: [ 2014.883494] scsi 3:0:0:0: Attached scsi ge neric sg3 type 12
Jun 26 12:18:51 ubuntu1510 kernel: [ 2014.883709] scsi 3:0:1:0: Attached scsi ge neric sg4 type 12
Jun 26 12:18:51 ubuntu1510 kernel: [ 2014.883937] scsi 3:0:2:0: Attached scsi ge neric sg5 type 12
Jun 26 12:18:51 ubuntu1510 kernel: [ 2014.884175] scsi 3:0:3:0: Attached scsi ge neric sg6 type 12
Jun 26 12:18:51 ubuntu1510 kernel: [ 2014.884428] scsi 3:1:0:0: Attached scsi ge neric sg7 type 31
Jun 26 12:18:51 ubuntu1510 kernel: [ 2014.884671] scsi 3:1:1:0: Attached scsi ge neric sg8 type 31
Jun 26 12:18:51 ubuntu1510 kernel: [ 2014.884930] scsi 3:1:2:0: Attached scsi ge neric sg9 type 31
Jun 26 12:18:51 ubuntu1510 kernel: [ 2014.885173] scsi 3:1:3:0: Attached scsi ge neric sg10 type 31
Jun 26 12:18:51 ubuntu1510 kernel: [ 2014.885472] sd 3:2:0:0: Attached scsi gene ric sg11 type 0
Jun 26 12:18:51 ubuntu1510 kernel: [ 2014.885672] sd 3:2:0:0: [sdb] Spinning up disk...
Jun 26 12:18:51 ubuntu1510 kernel: [ 2014.885782] sd 3:2:1:0: Attached scsi gene ric sg12 type 0
Jun 26 12:18:51 ubuntu1510 kernel: [ 2014.886044] sd 3:2:2:0: Attached scsi gene ric sg13 type 0
Jun 26 12:18:51 ubuntu1510 kernel: [ 2014.886278] sd 3:2:3:0: Attached scsi gene ric sg14 type 0
Jun 26 12:18:51 ubuntu1510 kernel: [ 2014.886474] ses 3:0:4:0: Attached Enclosur e device
Jun 26 12:18:51 ubuntu1510 kernel: [ 2014.886556] ses 3:0:4:0: Attached scsi gen eric sg15 type 13
Jun 26 12:18:51 ubuntu1510 kernel: [ 2014.892146] sd 3:2:1:0: [sdc] Spinning up disk...
Jun 26 12:18:51 ubuntu1510 kernel: [ 2014.893125] sd 3:2:2:0: [sdd] Spinning up disk...
Jun 26 12:18:51 ubuntu1510 kernel: [ 2014.893255] sd 3:2:3:0: [sde] Spinning up disk...
Jun 26 12:18:52 ubuntu1510 kernel: [ 2016.086360] .ready
Jun 26 12:18:52 ubuntu1510 kernel: [ 2016.086560] sd 3:2:0:0: [sdb] 1115734016 512-byte logical blocks: (571 GB/532 GiB)
Jun 26 12:18:52 ubuntu1510 kernel: [ 2016.086564] sd 3:2:0:0: [sdb] 4096-byte physical blocks
Jun 26 12:18:52 ubuntu1510 kernel: [ 2016.087026] sd 3:2:0:0: [sdb] Write Protect is off
Jun 26 12:18:52 ubuntu1510 kernel: [ 2016.087029] sd 3:2:0:0: [sdb] Mode Sense: 0b 00 00 08
Jun 26 12:18:52 ubuntu1510 kernel: [ 2016.122327] .ready
Jun 26 12:18:52 ubuntu1510 kernel: [ 2016.122452] sd 3:2:1:0: [sdc] 1115734016 512-byte logical blocks: (571 GB/532 GiB)
Jun 26 12:18:52 ubuntu1510 kernel: [ 2016.122455] sd 3:2:1:0: [sdc] 4096-byte physical blocks
Jun 26 12:18:52 ubuntu1510 kernel: [ 2016.122811] sd 3:2:1:0: [sdc] Write Protect is off
Jun 26 12:18:52 ubuntu1510 kernel: [ 2016.122815] sd 3:2:1:0: [sdc] Mode Sense: 0b 00 00 08
Jun 26 12:18:52 ubuntu1510 kernel: [ 2016.127084] sd 3:2:0:0: [sdb] Cache data unavailable
Jun 26 12:18:52 ubuntu1510 kernel: [ 2016.127088] sd 3:2:0:0: [sdb] Assuming drive cache: write through
Jun 26 12:18:52 ubuntu1510 kernel: [ 2016.154339] .ready
Jun 26 12:18:52 ubuntu1510 kernel: [ 2016.154577] sd 3:2:2:0: [sdd] 1115734016 512-byte logical blocks: (571 GB/532 GiB)
Jun 26 12:18:52 ubuntu1510 kernel: [ 2016.154582] sd 3:2:2:0: [sdd] 4096-byte physical blocks
Jun 26 12:18:52 ubuntu1510 kernel: [ 2016.155103] sd 3:2:2:0: [sdd] Write Protect is off
Jun 26 12:18:52 ubuntu1510 kernel: [ 2016.155106] sd 3:2:2:0: [sdd] Mode Sense: 0b 00 00 08
Jun 26 12:18:52 ubuntu1510 kernel: [ 2016.162452] sd 3:2:1:0: [sdc] Cache data unavailable
Jun 26 12:18:52 ubuntu1510 kernel: [ 2016.162456] sd 3:2:1:0: [sdc] Assuming drive cache: write through
Jun 26 12:18:52 ubuntu1510 kernel: [ 2016.167013] sdb: unknown partition table
Jun 26 12:18:52 ubuntu1510 kernel: [ 2016.170799] sd 3:2:0:0: [sdb] Attached SCSI disk
Jun 26 12:18:52 ubuntu1510 kernel: [ 2016.174338] .ready
Jun 26 12:18:52 ubuntu1510 kernel: [ 2016.174455] sd 3:2:3:0: [sde] 1115734016 512-byte logical blocks: (571 GB/532 GiB)
Jun 26 12:18:52 ubuntu1510 kernel: [ 2016.174459] sd 3:2:3:0: [sde] 4096-byte physical blocks
Jun 26 12:18:52 ubuntu1510 kernel: [ 2016.174864] sd 3:2:3:0: [sde] Write Protect is off
Jun 26 12:18:52 ubuntu1510 kernel: [ 2016.174867] sd 3:2:3:0: [sde] Mode Sense: 0b 00 00 08
Jun 26 12:18:52 ubuntu1510 kernel: [ 2016.194429] sd 3:2:2:0: [sdd] Cache data unavailable
Jun 26 12:18:52 ubuntu1510 kernel: [ 2016.194434] sd 3:2:2:0: [sdd] Assuming drive cache: write through
Jun 26 12:18:52 ubuntu1510 kernel: [ 2016.202907] sdc: unknown partition table
Jun 26 12:18:52 ubuntu1510 kernel: [ 2016.205675] sd 3:2:1:0: [sdc] Attached SCSI disk
Jun 26 12:18:52 ubuntu1510 kernel: [ 2016.214428] sd 3:2:3:0: [sde] Cache data unavailable
Jun 26 12:18:52 ubuntu1510 kernel: [ 2016.214432] sd 3:2:3:0: [sde] Assuming drive cache: write through
Jun 26 12:18:52 ubuntu1510 kernel: [ 2016.234963] sdd: unknown partition table
Jun 26 12:18:52 ubuntu1510 kernel: [ 2016.238674] sd 3:2:2:0: [sdd] Attached SCSI disk
Jun 26 12:18:52 ubuntu1510 kernel: [ 2016.254955] sde: unknown partition table
Jun 26 12:18:52 ubuntu1510 kernel: [ 2016.259377] sd 3:2:3:0: [sde] Attached SCSI disk
Jun 26 12:19:21 ubuntu1510 systemd[1]: Reloading.
Jun 26 12:19:22 ubuntu1510 systemd[1]: Reloading.
Jun 26 12:23:20 ubuntu1510 systemd[1]: Starting IBM Power Raid init daemon...
Jun 26 12:23:21 ubuntu1510 systemd[1]: Started IBM Power Raid init daemon.
--
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/1415178
Title:
Kernel trace message when the ipr driver is rmmod from Ubuntu 14.10
guest (GTO - PCI Passthrough)
Status in linux package in Ubuntu:
Fix Released
Status in linux source package in Vivid:
Fix Committed
Bug description:
SRU Justification:
[Impact]
Removing the ipr driver causes kernel warnings.
[Fix]
commit 11e52a699afff576606ceb6cf697270459f1a4aa upstream
$ git describe --contains 11e52a699afff576606ceb6cf697270459f1a4aa
v4.0~8^2~2
[Test Case]
See Steps to Reproduce below.
--
pKVM version:
[root@yangtze-lp1 ~]# cat /etc/issue
IBM_PowerKVM release 2.1.1 build 10 alpha (pkvm2_1_1)
Kernel \r on a \m (\l)
Ubuntu version:
root@ubuntushinner:~# uname -a
Linux ubuntushinner 3.16.0-14-generic #20-Ubuntu SMP Sat Sep 6 23:45:12 UTC 2014 ppc64le ppc64le ppc64le GNU/Linux
steps to reproduce:
1. rmmod the ipr driver and kernel traces are seen on the syslog.
root@ubuntushinner:~# lsmod
Module Size Used by
pseries_rng 2849 0
ses 9046 0
enclosure 11198 1 ses
rtc_generic 2249 0
ipr 140038 0
ohci_pci 6794 0
root@ubuntushinner:~# uname -a
Linux ubuntushinner 3.16.0-14-generic #20-Ubuntu SMP Sat Sep 6 23:45:12 UTC 2014 ppc64le ppc64le ppc64le GNU/Linux
root@ubuntushinner:~# rmmod ipr
root@ubuntushinner:~# lsscsi
[0:0:0:0] disk QEMU QEMU HARDDISK 2.0. /dev/sda
[0:0:0:1] cd/dvd QEMU QEMU CD-ROM 2.0. /dev/sr0
syslog:
Sep 9 02:57:57 ubuntushinner kernel: [ 576.546878] kernfs: can not remove 'device', no directory
Sep 9 02:57:57 ubuntushinner kernel: [ 576.546903] ------------[ cut here ]------------
Sep 9 02:57:57 ubuntushinner kernel: [ 576.546906] WARNING: at /build/buildd/linux-3.16.0/fs/kernfs/dir.c:1220
Sep 9 02:57:57 ubuntushinner kernel: [ 576.546908] Modules linked in: pseries_rng ses enclosure rtc_generic ipr(-) ohci_pci
Sep 9 02:57:57 ubuntushinner kernel: [ 576.546922] CPU: 1 PID: 3537 Comm: rmmod Not tainted 3.16.0-14-generic #20-Ubuntu
Sep 9 02:57:57 ubuntushinner kernel: [ 576.546926] task: c0000003ebad6830 ti: c0000003e5da8000 task.ti: c0000003e5da8000
Sep 9 02:57:57 ubuntushinner kernel: [ 576.546928] NIP: c000000000350c34 LR: c000000000350c30 CTR: c000000000517a60
Sep 9 02:57:57 ubuntushinner kernel: [ 576.546931] REGS: c0000003e5dab380 TRAP: 0700 Not tainted (3.16.0-14-generic)
Sep 9 02:57:57 ubuntushinner kernel: [ 576.546932] MSR: 8000000100029033 <SF,EE,ME,IR,DR,RI,LE> CR: 28088844 XER: 20000000
Sep 9 02:57:57 ubuntushinner kernel: [ 576.546942] CFAR: c0000000009fd270 SOFTE: 1
Sep 9 02:57:57 ubuntushinner kernel: [ 576.546942] GPR00: c000000000350c30 c0000003e5dab600 c0000000013d49e0 000000000000002d
Sep 9 02:57:57 ubuntushinner kernel: [ 576.546942] GPR04: c000000001845db0 c000000001856618 0000000000000175 0000000000000175
Sep 9 02:57:57 ubuntushinner kernel: [ 576.546942] GPR08: c000000000e449e0 0000000000000000 0000000000000000 c000000000c41b80
Sep 9 02:57:57 ubuntushinner kernel: [ 576.546942] GPR12: 0000000000008800 c00000000fb80900 0000000000000000 00000100311e01f0
Sep 9 02:57:57 ubuntushinner kernel: [ 576.546942] GPR16: 0000000000000000 000000004c7133a0 000000004c713358 0000000000000000
Sep 9 02:57:57 ubuntushinner kernel: [ 576.546942] GPR20: 000000004c713380 000000004c7133b8 0000000000000000 000000004c713398
Sep 9 02:57:57 ubuntushinner kernel: [ 576.546942] GPR24: 0000000000000000 0000000000000001 00003fffe6f71750 c0000003e4e01d28
Sep 9 02:57:57 ubuntushinner kernel: [ 576.546942] GPR28: 0000000000000000 d000000005fe18e0 c0000003e4e01d18 0000000000000000
Sep 9 02:57:57 ubuntushinner kernel: [ 576.546980] NIP [c000000000350c34] kernfs_remove_by_name_ns+0xe4/0xf0
Sep 9 02:57:57 ubuntushinner kernel: [ 576.546984] LR [c000000000350c30] kernfs_remove_by_name_ns+0xe0/0xf0
Sep 9 02:57:57 ubuntushinner kernel: [ 576.546987] Call Trace:
Sep 9 02:57:57 ubuntushinner kernel: [ 576.546990] [c0000003e5dab600] [c000000000350c30] kernfs_remove_by_name_ns+0xe0/0xf0 (unreliable)
Sep 9 02:57:57 ubuntushinner kernel: [ 576.546995] [c0000003e5dab680] [c0000000003542c0] sysfs_remove_link+0x40/0x90
Sep 9 02:57:57 ubuntushinner kernel: [ 576.547001] [c0000003e5dab6c0] [d000000005fe0de0] enclosure_remove_links.part.2+0x80/0xb0 [enclosure]
Sep 9 02:57:57 ubuntushinner kernel: [ 576.547005] [c0000003e5dab730] [d000000005fe0e54] enclosure_component_release+0x44/0x70 [enclosure]
Sep 9 02:57:57 ubuntushinner kernel: [ 576.547012] [c0000003e5dab760] [c000000000639360] device_release+0x60/0xf0
Sep 9 02:57:57 ubuntushinner kernel: [ 576.547018] [c0000003e5dab7e0] [c00000000050b73c] kobject_release+0xdc/0x250
Sep 9 02:57:57 ubuntushinner kernel: [ 576.547022] [c0000003e5dab870] [c000000000639f3c] device_unregister+0x4c/0xb0
Sep 9 02:57:57 ubuntushinner kernel: [ 576.547025] [c0000003e5dab8e0] [d000000005fe0810] enclosure_unregister+0xb0/0x100 [enclosure]
Sep 9 02:57:57 ubuntushinner kernel: [ 576.547029] [c0000003e5dab920] [d0000000060a0178] ses_intf_remove+0xb8/0x160 [ses]
Sep 9 02:57:57 ubuntushinner kernel: [ 576.547032] [c0000003e5dab950] [c000000000639d84] device_del+0x104/0x270
Sep 9 02:57:57 ubuntushinner kernel: [ 576.547036] [c0000003e5dab990] [c000000000639f2c] device_unregister+0x3c/0xb0
Sep 9 02:57:57 ubuntushinner kernel: [ 576.547041] [c0000003e5daba00] [c0000000006bb8b4] __scsi_remove_device+0x124/0x150
Sep 9 02:57:57 ubuntushinner kernel: [ 576.547044] [c0000003e5daba30] [c0000000006b8834] scsi_forget_host+0xa4/0xb0
Sep 9 02:57:57 ubuntushinner kernel: [ 576.547048] [c0000003e5daba60] [c0000000006a88e4] scsi_remove_host+0xa4/0x1b0
Sep 9 02:57:57 ubuntushinner kernel: [ 576.547054] [c0000003e5dabaa0] [d000000003b74bd0] ipr_remove+0x80/0x100 [ipr]
Sep 9 02:57:57 ubuntushinner kernel: [ 576.547058] [c0000003e5dabb20] [c000000000567bb0] pci_device_remove+0x70/0x110
Sep 9 02:57:57 ubuntushinner kernel: [ 576.547061] [c0000003e5dabb60] [c00000000063ff9c] __device_release_driver+0xac/0x130
Sep 9 02:57:57 ubuntushinner kernel: [ 576.547064] [c0000003e5dabb90] [c000000000640e08] driver_detach+0x148/0x190
Sep 9 02:57:57 ubuntushinner kernel: [ 576.547067] [c0000003e5dabbe0] [c00000000063fa28] bus_remove_driver+0x98/0x150
Sep 9 02:57:57 ubuntushinner kernel: [ 576.547070] [c0000003e5dabc50] [c000000000641aac] driver_unregister+0x4c/0x80
Sep 9 02:57:57 ubuntushinner kernel: [ 576.547074] [c0000003e5dabcc0] [c00000000056613c] pci_unregister_driver+0x4c/0x120
Sep 9 02:57:57 ubuntushinner kernel: [ 576.547078] [c0000003e5dabd10] [d000000003b7573c] ipr_exit+0x34/0x1f18 [ipr]
Sep 9 02:57:57 ubuntushinner kernel: [ 576.547083] [c0000003e5dabd40] [c00000000015ddc8] SyS_delete_module+0x228/0x280
Sep 9 02:57:57 ubuntushinner kernel: [ 576.547087] [c0000003e5dabe30] [c00000000000a17c] syscall_exit+0x0/0x7c
Sep 9 02:57:57 ubuntushinner kernel: [ 576.547089] Instruction dump:
Sep 9 02:57:57 ubuntushinner kernel: [ 576.547090] e8010010 eb81ffe0 eba1ffe8 ebc1fff0 7c0803a6 ebe1fff8 4e800020 3c62ff89
Sep 9 02:57:57 ubuntushinner kernel: [ 576.547095] 7fa4eb78 38638f40 486ac5b9 60000000 <0fe00000> 3860fffe 4bffff94 3c4c0108
Sep 9 02:57:57 ubuntushinner kernel: [ 576.547101] ---[ end trace 4a44cd6dfffd2bb9 ]---
Guest xml:
[root@yangtze-lp1 ~]# virsh dumpxml GManu_Ubuntu_14_10_GTO
<domain type='kvm' id='11'>
<name>GManu_Ubuntu_14_10_GTO</name>
<uuid>22a274f5-e9bc-4189-b4bb-5cf7f848889e</uuid>
<memory unit='KiB'>17532928</memory>
<currentMemory unit='KiB'>17532672</currentMemory>
<vcpu placement='static'>16</vcpu>
<resource>
<partition>/machine</partition>
</resource>
<os>
<type arch='ppc64' machine='pseries'>hvm</type>
<boot dev='hd'/>
<boot dev='cdrom'/>
<boot dev='network'/>
<bootmenu enable='yes'/>
</os>
<features>
<acpi/>
<apic/>
<pae/>
</features>
<clock offset='utc'/>
<on_poweroff>destroy</on_poweroff>
<on_reboot>restart</on_reboot>
<on_crash>restart</on_crash>
<devices>
<emulator>/usr/bin/qemu-kvm</emulator>
<disk type='file' device='disk'>
<driver name='qemu' type='qcow2'/>
<source file='/var/lib/libvirt/images/manu/Ubunut_14_10_shinner.qcow2'/>
<backingStore/>
<target dev='sda' bus='scsi'/>
<alias name='scsi0-0-0-0'/>
<address type='drive' controller='0' bus='0' target='0' unit='0'/>
</disk>
<disk type='file' device='cdrom'>
<driver name='qemu' type='raw'/>
<source file='/var/lib/libvirt/images/manu/utopic-server-ppc64el.iso'/>
<backingStore/>
<target dev='sdb' bus='scsi'/>
<readonly/>
<alias name='scsi0-0-0-1'/>
<address type='drive' controller='0' bus='0' target='0' unit='1'/>
</disk>
<controller type='usb' index='0'>
<alias name='usb0'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
</controller>
<controller type='pci' index='0' model='pci-root'>
<alias name='pci.0'/>
</controller>
<controller type='scsi' index='0'>
<alias name='scsi0'/>
<address type='spapr-vio' reg='0x2000'/>
</controller>
<controller type='scsi' index='1'>
<alias name='scsi1'/>
<address type='spapr-vio' reg='0x3000'/>
</controller>
<interface type='bridge'>
<mac address='52:54:00:d7:00:34'/>
<source bridge='virbr0'/>
<target dev='vnet1'/>
<model type='virtio'/>
<alias name='net0'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0'/>
</interface>
<serial type='pty'>
<source path='/dev/pts/0'/>
<target port='0'/>
<alias name='serial0'/>
<address type='spapr-vio' reg='0x30000000'/>
</serial>
<console type='pty' tty='/dev/pts/0'>
<source path='/dev/pts/0'/>
<target type='serial' port='0'/>
<alias name='serial0'/>
<address type='spapr-vio' reg='0x30000000'/>
</console>
<hostdev mode='subsystem' type='pci' managed='yes'>
<driver name='vfio'/>
<source>
<address domain='0x0000' bus='0x01' slot='0x00' function='0x0'/>
</source>
<alias name='hostdev0'/>
</hostdev>
<memballoon model='virtio'>
<alias name='balloon0'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/>
</memballoon>
</devices>
<seclabel type='dynamic' model='selinux' relabel='yes'>
<label>system_u:system_r:svirt_t:s0:c16,c940</label>
<imagelabel>system_u:object_r:svirt_image_t:s0:c16,c940</imagelabel>
</seclabel>
</domain>
We saw the similar issue when we tried to "rmmod ipr" with daul
controllers configuration. Looks his guest only has one GTO adapter.
Also I checked the latest kernel source code for
drivers/misc/enclosure.c, it included the fix patch for dual
controller case.
static void enclosure_remove_links(struct enclosure_component *cdev)
{
char name[ENCLOSURE_NAME_SIZE];
/*
* In odd circumstances, like multipath devices, something else may
* already have removed the links, so check for this condition first.
*/
if (!cdev->dev->kobj.sd) -------------> fix patch for dual controllers
return;
enclosure_link_name(cdev, name);
sysfs_remove_link(&cdev->dev->kobj, name);
sysfs_remove_link(&cdev->cdev.kobj, "device");
}
Thanks,
Wendy
I re-created the issue on another guest.
Looks the following patch caused the issue. I need to re-build the
kernel and do more debug.
http://git.kernel.org/cgit/linux/kernel/git/jejb/scsi.git/commit/fs/sysfs/symlink.c?h
=for-next&id=879f40d193bb3c6c13930e88e3e9d5d7baf84d19
Thanks,
Wendy
Here is the upstream link for the patch:
http://marc.info/?l=linux-scsi&m=142145523316373&w=2
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1415178/+subscriptions