View Issue Details

IDProjectCategoryView StatusLast Update
0015406CentOS-7kernelpublic2018-12-05 17:24
Reporterwangxiaoxu 
PriorityimmediateSeveritymajorReproducibilityalways
Status assignedResolutionopen 
PlatformthinkPad t470POScentos7OS Versioncentos7 1804
Product Version7.5.1804 
Target VersionFixed in Version 
Summary0015406: install centos7 error
Descriptionkernel Bug at include/linux/dma-attrs.h:53!
Steps To Reproduceinstall
kernel Bug at include/linux/dma-attrs.h:53!
TagsNo tags attached.
abrt_hash
URL

Relationships

has duplicate 0015497 closedpgreco Kernel BUG at include/linux/dma-attrs.h:53! (invalid opcode) 

Activities

wangxiaoxu

wangxiaoxu

2018-10-24 11:37

reporter  

TrevorH

TrevorH

2018-10-24 11:46

manager   ~0032970

There are several BIOS firmware packages from Lenovo for this machine that are newer than the R0FET37W that you have now. I would suggest flashing to the latest - according to Lenovo on https://pcsupport.lenovo.com/gb/en/products/laptops-and-netbooks/thinkpad-t-series-laptops/thinkpad-t470p/downloads/ds120707 that would be 1.24 (R0FET44W). Once flashed, try again and see if you get different results.
wangxiaoxu

wangxiaoxu

2018-10-24 12:08

reporter   ~0032971

BLOS 已经更新到R0FET44W

wangxiaoxu

wangxiaoxu

2018-10-24 12:12

reporter   ~0032972

CPU:I7-7700HQ
TrevorH

TrevorH

2018-10-24 12:17

manager   ~0032974

I'm guessing this is an upstream RHEL error. If you sign up for one of the free developer subscriptions you get a RHEL license with that and can download the RHEL iso. Try that and if that fails then raise a bug on bugzilla.redhat.com and once they fix it for RHEL then the fix will get rebuilt for CentOS once it's released.
wangxiaoxu

wangxiaoxu

2018-10-24 12:21

reporter   ~0032976

OK, I'll try first. Centos7-1708 can be installed.
wangxiaoxu

wangxiaoxu

2018-10-24 12:22

reporter   ~0032977

But update to 1804 will not start.
pgreco

pgreco

2018-10-24 13:02

developer   ~0032978

@wangxiaoxu, looking at the code, I have a patch to test, if @toracat builds it, will you be able to test it?

nvme.diff (483 bytes)
diff -Naurp a/drivers/nvme/host/pci.c b/drivers/nvme/host/pci.c
--- a/drivers/nvme/host/pci.c	2018-09-21 05:18:28.000000000 -0300
+++ b/drivers/nvme/host/pci.c	2018-10-24 09:57:23.805005344 -0300
@@ -1548,7 +1548,6 @@ retry:
 		DEFINE_DMA_ATTRS(attrs);
 
 		dma_set_attr(DMA_ATTR_NO_KERNEL_MAPPING, &attrs);
-		dma_set_attr(DMA_ATTR_NO_WARN, &attrs);
 		len = min_t(u64, chunk_size, preferred - size);
 		bufs[i] = dma_alloc_attrs(dev->dev, len, &dma_addr, GFP_KERNEL,
 				&attrs);
nvme.diff (483 bytes)
wangxiaoxu

wangxiaoxu

2018-10-24 14:29

reporter   ~0032982

I can test it
toracat

toracat

2018-10-24 15:42

manager   ~0032983

@wangxiaoxu,

A test version of kernel-plus that has @pgreco's patch is now available from:

https://people.centos.org/toracat/kernel/7/plus/bug15406/
( kernel-plus-3.10.0-862.14.4.el7.centos.plus.8 )
wangxiaoxu

wangxiaoxu

2018-10-25 12:46

reporter   ~0032991

The patch has been installed and can be started normally. Is it a kernel problem
pgreco

pgreco

2018-10-25 16:24

developer   ~0032996

@wangxiaoxu good to see that it is working, this patch will be included in the next kernel-plus.
wangxiaoxu

wangxiaoxu

2018-11-08 11:52

reporter   ~0033092

When does centos7.6 release?
tigalch

tigalch

2018-11-08 12:24

manager   ~0033093

When it is done
pgreco

pgreco

2018-11-28 22:34

developer   ~0033168

Reported upstream as https://bugzilla.redhat.com/show_bug.cgi?id=1654507
wangxiaoxu

wangxiaoxu

2018-12-05 17:19

reporter   ~0033227

update cenos7.6

IMG_20181206_011859.jpg (1,921,415 bytes)
TrevorH

TrevorH

2018-12-05 17:24

manager   ~0033228

That is NOT kernel plus so does not include the patch.

Issue History

Date Modified Username Field Change
2018-10-24 11:37 wangxiaoxu New Issue
2018-10-24 11:37 wangxiaoxu File Added: 微信图片_20181024193236.jpg
2018-10-24 11:37 wangxiaoxu File Added: 微信图片_20181024193243.jpg
2018-10-24 11:46 TrevorH Note Added: 0032970
2018-10-24 12:08 wangxiaoxu File Added: 微信图片_20181024200650.jpg
2018-10-24 12:08 wangxiaoxu Note Added: 0032971
2018-10-24 12:12 wangxiaoxu Note Added: 0032972
2018-10-24 12:17 TrevorH Note Added: 0032974
2018-10-24 12:21 wangxiaoxu Note Added: 0032976
2018-10-24 12:22 wangxiaoxu Note Added: 0032977
2018-10-24 13:02 pgreco File Added: nvme.diff
2018-10-24 13:02 pgreco Note Added: 0032978
2018-10-24 14:29 wangxiaoxu Note Added: 0032982
2018-10-24 15:42 toracat Note Added: 0032983
2018-10-24 15:43 toracat Status new => assigned
2018-10-24 15:43 toracat Steps to Reproduce Updated View Revisions
2018-10-25 12:46 wangxiaoxu Note Added: 0032991
2018-10-25 16:24 pgreco Note Added: 0032996
2018-11-08 11:52 wangxiaoxu Note Added: 0033092
2018-11-08 12:24 tigalch Note Added: 0033093
2018-11-28 22:30 pgreco Relationship added has duplicate 0015497
2018-11-28 22:34 pgreco Note Added: 0033168
2018-12-05 17:19 wangxiaoxu File Added: IMG_20181206_011859.jpg
2018-12-05 17:19 wangxiaoxu Note Added: 0033227
2018-12-05 17:24 TrevorH Note Added: 0033228