编译最新的2.6.31,启动提示 pci 0000:02:00.0: BAR 0: no parent found

内核编译和嵌入式产品的设计与开发
回复
karv
帖子: 61
注册时间: 2006-11-03 17:08

编译最新的2.6.31,启动提示 pci 0000:02:00.0: BAR 0: no parent found

#1

帖子 karv » 2009-09-11 16:29

下载了最新的kerne2.6.31,编译后能正常启动,但启动有信息提示,具体为:
[ 0.194592] SCSI subsystem initialized
[ 0.194643] libata version 3.00 loaded.
[ 0.194643] usbcore: registered new interface driver usbfs
[ 0.194643] usbcore: registered new interface driver hub
[ 0.194643] usbcore: registered new device driver usb
[ 0.194643] ACPI: WMI: Mapper loaded
[ 0.194643] PCI: Using ACPI for IRQ routing
[ 0.194643] pci 0000:00:1c.0: BAR 7: can't allocate resource
[ 0.194643] pci 0000:00:1c.0: BAR 8: can't allocate resource
[ 0.194643] pci 0000:00:1c.0: BAR 9: can't allocate resource
[ 0.194643] pci 0000:00:1c.1: BAR 7: can't allocate resource
[ 0.194643] pci 0000:00:1c.1: BAR 8: can't allocate resource
[ 0.194643] pci 0000:00:1c.1: BAR 9: can't allocate resource
[ 0.194643] pci 0000:00:1c.3: BAR 7: can't allocate resource
[ 0.194643] pci 0000:00:1c.3: BAR 8: can't allocate resource
[ 0.194643] pci 0000:00:1c.3: BAR 9: can't allocate resource
[ 0.194643] pci 0000:00:1c.5: BAR 7: can't allocate resource
[ 0.194643] pci 0000:00:1c.5: BAR 8: can't allocate resource
[ 0.194643] pci 0000:00:1c.5: BAR 9: can't allocate resource
[ 0.194982] pci 0000:02:00.0: BAR 0: no parent found for of device [0xf0200000-0xf020ffff]
[ 0.195107] pci 0000:02:00.0: BAR 0: can't allocate resource
[ 0.195131] pci 0000:05:00.0: BAR 0: no parent found for of device [0xf0300000-0xf0303fff]
[ 0.195250] pci 0000:05:00.0: BAR 0: can't allocate resource
[ 0.195253] pci 0000:05:00.0: BAR 2: no parent found for of device [0x3000-0x30ff]
[ 0.195370] pci 0000:05:00.0: BAR 2: can't allocate resource

帮忙看看,看是内核配置时,哪个项目选错了
karv
帖子: 61
注册时间: 2006-11-03 17:08

Re: 编译最新的2.6.31,启动提示 pci 0000:02:00.0: BAR 0: no parent found

#2

帖子 karv » 2009-09-11 16:32

新内核用起来,初步感觉倒是正常,该驱动一起的设备都能用。 framebuffer好像不怎么支持,其他倒还好,就是不知道这个信息提示是什么情况。

环境是:ubuntu9.04 Benq S41本本
karv
帖子: 61
注册时间: 2006-11-03 17:08

Re: 编译最新的2.6.31,启动提示 pci 0000:02:00.0: BAR 0: no parent found

#3

帖子 karv » 2009-09-11 16:35

下载的kernel版本为stable: 2.6.31
头像
ubuntu_fang
帖子: 694
注册时间: 2009-06-05 18:13
联系:

Re: 编译最新的2.6.31,启动提示 pci 0000:02:00.0: BAR 0: no parent found

#4

帖子 ubuntu_fang » 2009-09-11 16:40

编译运行正常,除了apparmor模块不能正常加载,其他都正常!
==========================
我的博客地址:http://blog.163.com/fanglinyong_81
这里记录了我学习使用ubuntu中遇到的诸多问题,希望整理出来,供网友参考,也希望各位能提出不同的解决方法!

==========================
system:ubuntu9.04
firefox3.5.2
CPU:AMD Sempron(tm) 2500+
DDR:1G

==========================
lootan
帖子: 4
注册时间: 2005-10-27 18:40

Re: 编译最新的2.6.31,启动提示 pci 0000:02:00.0: BAR 0: no parent found

#5

帖子 lootan » 2009-09-12 23:58

BAR 6: no parent found for of devic

这个问题,我这里也存在。

在 ali 主板上面的 ide 硬盘,会报 dma 的错误,然后硬盘灯常亮,稍后系统无法动弹。
karv
帖子: 61
注册时间: 2006-11-03 17:08

Re: 编译最新的2.6.31,启动提示 pci 0000:02:00.0: BAR 0: no parent found

#7

帖子 karv » 2009-09-13 0:53

这个patch好像并没解决问题 只是把错误提示隐藏了。
lootan
帖子: 4
注册时间: 2005-10-27 18:40

Re: 编译最新的2.6.31,启动提示 pci 0000:02:00.0: BAR 0: no parent found

#8

帖子 lootan » 2009-09-14 16:39

karv 写了:这个patch好像并没解决问题 只是把错误提示隐藏了。
而且他那个 patch 在 pci 0000:01:00.0: BAR n (不是6时): no parent found for of device 时,也就不奏效了。

我这样修改的:
drivers/pci/setup-res.c 的 113 行,修改 dev_err 为 dev_warn 。嘿嘿。

另,8139cp 的驱动,我发觉也有问题。同样,在 2.6.30 上此驱动也没问题。也是在我的 ali 主板的机器上。

不能自动获得 ip 。即使手工指定 ip ,也无法连通。
lootan
帖子: 4
注册时间: 2005-10-27 18:40

Re: 编译最新的2.6.31,启动提示 pci 0000:02:00.0: BAR 0: no parent found

#9

帖子 lootan » 2009-09-14 16:41

而且 ifconfig 可以看到此网卡。指定 ip 地址后,ifconfig 显示也正确。
回复