https://bugzilla.kernel.org/show_bug.cgi?id=201953
Bug ID: 201953
Summary: System freeze/hang during shutdown/restart (at " sd
0:0:0:0: [sda] Stopping disk")
Product: SCSI Drivers
Version: 2.5
Kernel Version: 4.* ish (i checked many distros and everything has
it))
Hardware: Intel
OS: Linux
Tree: Mainline
Status: NEW
Severity: high
Priority: P1
Component: Other
Assignee: [email protected]
Reporter: [email protected]
Regression: No
Created attachment 279923
--> https://bugzilla.kernel.org/attachment.cgi?id=279923&action=edit
phphoto of frozen screen during shutdown(screen is black during restart hang)
I was using kali linux 2018.2 on my laptop(hardware specs at the end) without
any problem. then i replaced my hard disk with an ssd and this problem started
during 95% of shutdowns/restart
The real problem
================
1)When i shutdown the system hangs at this specific step(photo of frozen screen
during shutdown is attached,for restart screen goes black and hang)
2)when i restart screen turns off (goes black/backlight turns off) but still
frozen (hdd/wifi/numlock leds stuck)
the last messege on screen is the following
"sd 0:0:0:0: [sda] Stopping disk"
i tried the following distros and all has the same problem (why i
concluded this is a kernel issue)
=> kali 2018.2
=> ubuntu 18.4 LTS
=> fedora workstation 29-1.2
=> openSUSE Tumbleweed 20181120 (netinstall)
NOTE:
1) this system used to have a baytrail cstate freeze bug
https://bugzilla.kernel.org/show_bug.cgi?id=109051
and fixed with the boot parameter
you may find the following info useful
HARDWARE of my SYSTEM
=====================
i use a laptop HP-15-r250tu with the following hardware
cpu: intel pentum N3540
ram: 4gb samsung ddr3
graphics: intel hd graphics (Vendor ID: 0x8086,Device ID: 0x0F31)
storage: KINGSTON A400 SSD 240GB (SA400S37/240g)
===========================================================================
My findings:(maybe somone find this useful,probably not for experts )
--------------------------------------
i have no prior experiance with linux kernel code. but i downloaded linux
source v4.19.8 and found these
*) the kernel module that issue this "Stop disk" command is
sd (drivers/scsi/sd.c)
*)and this traces to a general function call to execute all scsi commands
which is
"scsi_execute(sdp, cmd, DMA_NONE, NULL, 0, NULL, &sshdr,SD_TIMEOUT,
SD_MAX_RETRIES, 0, RQF_PM, NULL)"
My conclusion(from my knowledge and understanding :-) )
------------------------
probably cause is "scsi_execute" function not returning, so that it put the
system in a very long wait .
THats all i have
hope we togather can fix this
--
You are receiving this mail because:
You are watching the assignee of the bug.