[Bug 1183843] New: iSCSI server reboots when accessing exported DVD drive
https://bugzilla.suse.com/show_bug.cgi?id=1183843 Bug ID: 1183843 Summary: iSCSI server reboots when accessing exported DVD drive Classification: openSUSE Product: openSUSE Distribution Version: Leap 15.2 Hardware: x86-64 OS: openSUSE Leap 15.2 Status: NEW Severity: Normal Priority: P5 - None Component: Kernel Assignee: kernel-bugs@opensuse.org Reporter: jgross@suse.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- I've exported a DVD drive via iSCSI on a server running latest openSUSE 15.2: targetcli ls o- / ..................................................................... [...] o- backstores .......................................................... [...] | o- block .............................................. [Storage Objects: 0] | o- fileio ............................................. [Storage Objects: 0] | o- pscsi .............................................. [Storage Objects: 1] | | o- dvd_backend ...................................... [/dev/sr0 activated] | | o- alua ............................................... [ALUA Groups: 0] | o- ramdisk ............................................ [Storage Objects: 0] | o- rbd ................................................ [Storage Objects: 0] o- iscsi ........................................................ [Targets: 1] | o- iqn.2003-01.org.linux-iscsi.server.x8664:sn.ddcce514ffbd ...... [TPGs: 1] | o- tpg1 .............................................. [gen-acls, no-auth] | o- acls ...................................................... [ACLs: 0] | o- luns ...................................................... [LUNs: 1] | | o- lun0 ........................ [pscsi/dvd_backend (/dev/sr0) (None)] | o- portals ................................................ [Portals: 1] | o- 0.0.0.0:3260 ................................................. [OK] o- loopback ..................................................... [Targets: 0] o- vhost ........................................................ [Targets: 0] o- xen-pvscsi ................................................... [Targets: 0] On client side I can see the drive: lsscsi [2:0:0:0] disk ATA WDC WD20SPZX-75U 1A01 /dev/sda [3:0:0:0] cd/dvd HL-DT-ST DVD+-RW GU90N A1C3 /dev/sr0 When trying to use it (e.g. via vlc or trying to do "mount /dev/sr0 /mnt") the server just reboots after the DVD drive spinning up without any message on the console. -- You are receiving this mail because: You are the assignee for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1183843
https://bugzilla.suse.com/show_bug.cgi?id=1183843#c1
Martin Wilck
https://bugzilla.suse.com/show_bug.cgi?id=1183843
https://bugzilla.suse.com/show_bug.cgi?id=1183843#c2
--- Comment #2 from Martin Wilck
[ 132.409828] kmalloc-192 15750374KB 15750374KB
The stack looks like this, although I'm unsure if this was actually the thread that allocated so much memory: [ 132.508968] Kernel panic - not syncing: System is deadlocked on memory [ 132.515495] CPU: 1 PID: 4444 Comm: iscsi_trx Not tainted 5.3.18-lp152.60-default #1 openSUSE Leap 15.2 [ 132.524799] Hardware name: FUJITSU PRIMERGY TX100 S3/D3009-A1, BIOS V4.6.4.1 R1.10.0 for D3009-A1x 03/26/2013 [ 132.534712] Call Trace: [ 132.537157] dump_stack+0x66/0x8b [ 132.540469] panic+0xfe/0x2d7 [ 132.543434] out_of_memory+0x501/0x510 [ 132.547180] __alloc_pages_slowpath+0x9c9/0xd00 [ 132.551711] __alloc_pages_nodemask+0x2c4/0x300 [ 132.556241] new_slab+0x27a/0xaa0 [ 132.559552] ___slab_alloc+0x3d9/0x5b0 [ 132.563301] ? bio_alloc_bioset+0x1e4/0x240 [ 132.567485] ? bio_alloc_bioset+0x1e4/0x240 [ 132.571669] ? __slab_alloc+0x1c/0x30 [ 132.575329] __slab_alloc+0x1c/0x30 [ 132.578816] __kmalloc+0x285/0x2c0 [ 132.582218] bio_alloc_bioset+0x1e4/0x240 [ 132.586227] pscsi_execute_cmd+0x374/0x6e0 [target_core_pscsi] [ 132.592066] __target_execute_cmd+0x25/0xb0 [target_core_mod] [ 132.597816] transport_generic_new_cmd+0x15f/0x310 [target_core_mod] [ 132.604172] transport_handle_cdb_direct+0x34/0x80 [target_core_mod] [ 132.610528] iscsit_sequence_cmd+0xce/0x1a0 [iscsi_target_mod] [ 132.616365] iscsit_process_scsi_cmd+0x20/0xb0 [iscsi_target_mod] [ 132.622461] iscsit_get_rx_pdu+0x684/0x10b0 [iscsi_target_mod] [ 132.628294] ? wait_for_completion_interruptible+0xbd/0x190 [ 132.633868] ? iscsi_target_tx_thread+0x1f0/0x1f0 [iscsi_target_mod] [ 132.640224] ? iscsi_target_rx_thread+0xb8/0xf0 [iscsi_target_mod] [ 132.646406] iscsi_target_rx_thread+0xb8/0xf0 [iscsi_target_mod] [ 132.652410] kthread+0x10d/0x130 [ 132.655635] ? kthread_park+0xa0/0xa0 [ 132.659295] ret_from_fork+0x1f/0x40 [ 132.662874] Kernel Offset: 0x34c00000 from 0xffffffff81000000 (relocation range: 0xffffffff80000000-0xffffffffbfffffff) -- You are receiving this mail because: You are the assignee for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1183843
https://bugzilla.suse.com/show_bug.cgi?id=1183843#c3
--- Comment #3 from Martin Wilck
https://bugzilla.suse.com/show_bug.cgi?id=1183843
https://bugzilla.suse.com/show_bug.cgi?id=1183843#c4
Martin Wilck
https://bugzilla.suse.com/show_bug.cgi?id=1183843
https://bugzilla.suse.com/show_bug.cgi?id=1183843#c5
David Disseldorp
David, it seems you've been involved in this before ... any ideas?
No, sorry. I'm not familiar with the LIO pscsi backend and unfortunately never got the requested kmemleak details for this report. -- You are receiving this mail because: You are the assignee for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1183843
https://bugzilla.suse.com/show_bug.cgi?id=1183843#c6
--- Comment #6 from Martin Wilck
https://bugzilla.suse.com/show_bug.cgi?id=1183843
https://bugzilla.suse.com/show_bug.cgi?id=1183843#c7
Martin Wilck
https://bugzilla.suse.com/show_bug.cgi?id=1183843
https://bugzilla.suse.com/show_bug.cgi?id=1183843#c9
--- Comment #9 from OBSbugzilla Bot
https://bugzilla.suse.com/show_bug.cgi?id=1183843
https://bugzilla.suse.com/show_bug.cgi?id=1183843#c13
--- Comment #13 from Swamp Workflow Management
https://bugzilla.suse.com/show_bug.cgi?id=1183843
https://bugzilla.suse.com/show_bug.cgi?id=1183843#c15
--- Comment #15 from Swamp Workflow Management
https://bugzilla.suse.com/show_bug.cgi?id=1183843
https://bugzilla.suse.com/show_bug.cgi?id=1183843#c20
--- Comment #20 from Swamp Workflow Management
https://bugzilla.suse.com/show_bug.cgi?id=1183843
https://bugzilla.suse.com/show_bug.cgi?id=1183843#c21
--- Comment #21 from Swamp Workflow Management
https://bugzilla.suse.com/show_bug.cgi?id=1183843
https://bugzilla.suse.com/show_bug.cgi?id=1183843#c22
--- Comment #22 from Swamp Workflow Management
https://bugzilla.suse.com/show_bug.cgi?id=1183843
https://bugzilla.suse.com/show_bug.cgi?id=1183843#c23
--- Comment #23 from Swamp Workflow Management
https://bugzilla.suse.com/show_bug.cgi?id=1183843
https://bugzilla.suse.com/show_bug.cgi?id=1183843#c29
--- Comment #29 from Swamp Workflow Management
https://bugzilla.suse.com/show_bug.cgi?id=1183843
https://bugzilla.suse.com/show_bug.cgi?id=1183843#c31
--- Comment #31 from Swamp Workflow Management
participants (1)
-
bugzilla_noreply@suse.com