/ 详情

【openEuler-20.03-LTS-SP1-x86_64】4.19内核启动过程中打印no space for [io size 0x1000]错误

Done
Bug
Opened this issue  
2021-06-03 16:37

[ 3.647796] pci 0000:5d:02.0: bridge window [io 0x1000-0x0fff] to [bus 5e] add_size 1000
[ 3.647798] pci 0000:5d:02.0: bridge window [mem 0x00100000-0x000fffff 64bit pref] to [bus 5e] add_size 200000 add_align 100000
[ 3.647799] pci 0000:5d:02.0: bridge window [mem 0x00100000-0x000fffff] to [bus 5e] add_size 200000 add_align 100000
[ 3.647800] pci 0000:5d:03.0: bridge window [io 0x1000-0x0fff] to [bus 5f] add_size 1000
[ 3.647801] pci 0000:5d:03.0: bridge window [mem 0x00100000-0x000fffff 64bit pref] to [bus 5f] add_size 200000 add_align 100000
[ 3.647802] pci 0000:5d:03.0: bridge window [mem 0x00100000-0x000fffff] to [bus 5f] add_size 200000 add_align 100000
[ 3.647808] pci 0000:5d:02.0: BAR 14: assigned [mem 0xb8900000-0xb8afffff]
[ 3.648205] pci 0000:5d:02.0: BAR 15: assigned [mem 0xd3000000000-0xd30001fffff 64bit pref]
[ 3.648908] pci 0000:5d:03.0: BAR 14: assigned [mem 0xb8b00000-0xb8cfffff]
[ 3.649301] pci 0000:5d:03.0: BAR 15: assigned [mem 0xd3000200000-0xd30003fffff 64bit pref]
[ 3.650002] pci 0000:5d:02.0: BAR 13: assigned [io 0x8000-0x8fff]
[ 3.650395] pci 0000:5d:03.0: BAR 13: no space for [io size 0x1000]
[ 3.650790] pci 0000:5d:03.0: BAR 13: failed to assign [io size 0x1000]
[ 3.651180] pci 0000:5d:03.0: BAR 13: assigned [io 0x8000-0x8fff]
[ 3.651572] pci 0000:5d:02.0: BAR 13: no space for [io size 0x1000]
[ 3.651965] pci 0000:5d:02.0: BAR 13: failed to assign [io size 0x1000]
[ 3.652363] pci 0000:5d:02.0: PCI bridge to [bus 5e]
[ 3.652752] pci 0000:5d:02.0: bridge window [mem 0xb8900000-0xb8afffff]
[ 3.653108] pci 0000:5d:02.0: bridge window [mem 0xd3000000000-0xd30001fffff 64bit pref]
[ 3.653727] pci 0000:5d:03.0: PCI bridge to [bus 5f]
[ 3.654075] pci 0000:5d:03.0: bridge window [io 0x8000-0x8fff]
[ 3.654426] pci 0000:5d:03.0: bridge window [mem 0xb8b00000-0xb8cfffff]
[ 3.654821] pci 0000:5d:03.0: bridge window [mem 0xd3000200000-0xd30003fffff 64bit pref]

Attachments

Comments (5)

jpzhang187 created缺陷
jpzhang187 set related repository to openEuler/kernel
展开全部操作日志

Hey jpzhang187, Welcome to openEuler Community.
All of the projects in openEuler Community are maintained by @openeuler-ci-bot .
That means the developers can comment below every pull request or issue to trigger Bot Commands.
Please follow instructions at https://gitee.com/openeuler/community/blob/master/en/sig-infrastructure/command.md to find the details.

openeuler-ci-bot added
 
sig/Kernel
label

张佳鹏,尝试增加了启动参数hpmemsize=4M,还会报这个错。

输入图片说明

这个报错一般是因为BIOS报的IO空间太少不够分配
但如果设备没用到IO空间,也没有关系,不影响使用

使用 lspci -vvv -s bdf号查看设备是否需要mem空间 io空间

lspci -tv 看到0000:5d:03.0和0000:5d:02.0两个桥下面没有设备,说明没有设备用到IO空间,不影响使用
| +-08.0 Intel Corporation Sky Lake-E Ubox Registers
| +-08.1 Intel Corporation Sky Lake-E Ubox Registers
| -08.2 Intel Corporation Sky Lake-E Ubox Registers
+-[0000:5d]-+-02.0-[5e]--
| +-03.0-[5f]--
| +-05.0 Intel Corporation Sky Lake-E VT-d

jpzhang187 changed issue state from 待办的 to 已完成

Sign in to comment

Status
Assignees
Projects
Milestones
Pull Requests
Successfully merging a pull request will close this issue.
Branches
Planed to start   -   Planed to end
-
Top level
Priority
Duration (hours)
Confirm
参与者(4)
5329419 openeuler ci bot 1578984659