LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1566|回复: 11

编译内核重启出现ide_generic:I/O resource not free错误

[复制链接]
发表于 2008-12-19 11:00:02 | 显示全部楼层 |阅读模式
2.6.27.10和2.6.27.9 编译完重启都有这个错误!

ide_generic:I/O resource 0x1F0-0x1F7 not free
ide_generic:I/O resource 0x170-0x177 not free
发表于 2008-12-19 11:11:26 | 显示全部楼层
Post by lantern;1926207
2.6.27.10和2.6.27.9 编译完重启都有这个错误!

ide_generic:I/O resource 0x1F0-0x1F7 not free
ide_generic:I/O resource 0x170-0x177 not free



我现在用的2.6.28-rc8也没这个问题,2.6.27.7也没这个问题,可能是新内核的新BUG?

给我的2.6.27.7和2,6.28-rc8的CONFIG给你参考。

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-12-19 11:26:03 | 显示全部楼层
Post by hades;1926219
我现在用的2.6.28-rc8也没这个问题,2.6.27.7也没这个问题,可能是新内核的新BUG?

给我的2.6.27.7和2,6.28-rc8的CONFIG给你参考。

是不是和编译过程中这2个警告有关?不知道对应的是那个配置参数。。。

net/bluetooth/af_bluetooth.c:60: 警告:‘bt_key_strings’ 定义后未使用
net/bluetooth/af_bluetooth.c:71: 警告:‘bt_slock_key_strings’ 定义后未使用
回复 支持 反对

使用道具 举报

发表于 2008-12-19 11:56:27 | 显示全部楼层
Post by lantern;1926225
是不是和编译过程中这2个警告有关?不知道对应的是那个配置参数。。。

net/bluetooth/af_bluetooth.c:60: 警告:‘bt_key_strings’ 定义后未使用
net/bluetooth/af_bluetooth.c:71: 警告:‘bt_slock_key_strings’ 定义后未使用


与这个没关系,我在编译过程中也有这个提示。

另外,你的硬盘是IDE的还是SCSI的?
如果是IDE但用SCSI模拟的STA模式,那你可参考我的CONFIG,如果是单纯的IDE,我的CONFIG可能不太合用了。

你把你的CONFIG放上来我看看。

另外,如我这样操作,放上结果:

[root@Fedora hades]# fdisk -l

Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x53b88b42

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1          13      104391   83  Linux
/dev/sda2              14        4475    35841015   83  Linux
/dev/sda3            4476        4736     2096482+  82  Linux swap / Solaris
/dev/sda4            4737       19457   118246432+  83  Linux
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-12-19 12:14:03 | 显示全部楼层
Post by hades;1926238
与这个没关系,我在编译过程中也有这个提示。

另外,你的硬盘是IDE的还是SCSI的?
如果是IDE但用SCSI模拟的STA模式,那你可参考我的CONFIG,如果是单纯的IDE,我的CONFIG可能不太合用了。

你把你的CONFIG放上来我看看。

另外,如我这样操作,放上结果:

[root@Fedora hades]# fdisk -l

Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x53b88b42

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1          13      104391   83  Linux
/dev/sda2              14        4475    35841015   83  Linux
/dev/sda3            4476        4736     2096482+  82  Linux swap / Solaris
/dev/sda4            4737       19457   118246432+  83  Linux


[root@bogon ~]# fdisk -l

Disk /dev/hda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hda1   *         132        1896    14177362+  83  Linux
/dev/hda2            1897        9729    62918572+   f  W95 Ext'd (LBA)
/dev/hda3               1         131     1052226   82  Linux swap / Solaris
/dev/hda5            1897        4507    20972826    7  HPFS/NTFS
/dev/hda6            4508        7118    20972826    7  HPFS/NTFS
/dev/hda7            7119        9729    20972826    b  W95 FAT32

Partition table entries are not in disk order
[root@bogon ~]#

配置文件是RHEL 5.3的,我只修改支持FUSE,NTFS

另外按照http://www.linuxsir.cn/bbs/thread341266.html 8楼的建议修改

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
回复 支持 反对

使用道具 举报

发表于 2008-12-19 13:24:59 | 显示全部楼层
Post by lantern;1926246
[root@bogon ~]# fdisk -l

Disk /dev/hda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hda1   *         132        1896    14177362+  83  Linux
/dev/hda2            1897        9729    62918572+   f  W95 Ext'd (LBA)
/dev/hda3               1         131     1052226   82  Linux swap / Solaris
/dev/hda5            1897        4507    20972826    7  HPFS/NTFS
/dev/hda6            4508        7118    20972826    7  HPFS/NTFS
/dev/hda7            7119        9729    20972826    b  W95 FAT32

Partition table entries are not in disk order
[root@bogon ~]#

配置文件是RHEL 5.3的,我只修改支持FUSE,NTFS

另外按照http://www.linuxsir.cn/bbs/thread341266.html 8楼的建议修改

你的这个CONFIG是真的比较乱,没有太多的精简,你可以在原内核下用lspci -vvv 查看你机器硬件使用的
内核驱动,然后你就可以在编译自己的内核时能正确的选择了。

比如我的硬盘:
  1. 00:1f.2 IDE interface: Intel Corporation 82801FBM (ICH6M) SATA Controller (rev 03) (prog-if 80 [Master])
  2.         Subsystem: Dell Device 0188                                                                     
  3.         Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
  4.         Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
  5.         Latency: 0                                                                                            
  6.         Interrupt: pin B routed to IRQ 17                                                                     
  7.         Region 0: I/O ports at 01f0 [size=8]                                                                  
  8.         Region 1: I/O ports at 03f4 [size=1]                                                                  
  9.         Region 2: I/O ports at 0170 [size=8]                                                                  
  10.         Region 3: I/O ports at 0374 [size=1]                                                                  
  11.         Region 4: I/O ports at bfa0 [size=16]                                                                 
  12.         Capabilities: <access denied>                                                                        
  13.         Kernel driver in use: ata_piix
复制代码

最后一项:Kernel driver in use: ata_piix 这是我内核
里应该选择的,所以你先可以这样查看你的机器硬件
的内核选项。

另外,请把这个lspic -vvv 的详细信息发上来,我下午回来再帮你看看,现有事要外出。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-12-19 14:27:53 | 显示全部楼层
Post by hades;1926283
你的这个CONFIG是真的比较乱,没有太多的精简,你可以在原内核下用lspci -vvv 查看你机器硬件使用的
内核驱动,然后你就可以在编译自己的内核时能正确的选择了。

比如我的硬盘:

  1. 00:1f.2 IDE interface: Intel Corporation 82801FBM (ICH6M) SATA Controller (rev 03) (prog-if 80 [Master])
  2.         Subsystem: Dell Device 0188                                                                     
  3.         Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
  4.         Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
  5.         Latency: 0                                                                                            
  6.         Interrupt: pin B routed to IRQ 17                                                                     
  7.         Region 0: I/O ports at 01f0 [size=8]                                                                  
  8.         Region 1: I/O ports at 03f4 [size=1]                                                                  
  9.         Region 2: I/O ports at 0170 [size=8]                                                                  
  10.         Region 3: I/O ports at 0374 [size=1]                                                                  
  11.         Region 4: I/O ports at bfa0 [size=16]                                                                 
  12.         Capabilities: <access denied>                                                                        
  13.         Kernel driver in use: ata_piix
复制代码


最后一项:Kernel driver in use: ata_piix 这是我内核
里应该选择的,所以你先可以这样查看你的机器硬件
的内核选项。

另外,请把这个lspic -vvv 的详细信息发上来,我下午回来再帮你看看,现有事要外出。


[root@bogon ~]# lspci -vvv
00:00.0 Host bridge: nVidia Corporation nForce2 IGP2 (rev c1)
        Subsystem: ABIT Computer Corp. NV7 Motherboard
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <ERR-
        Latency: 0
        Region 0: Memory at e0000000 (32-bit, prefetchable) [size=128M]
        Capabilities: [40] AGP version 3.0
                Status: RQ=32 Iso- ArqSz=2 Cal=0 SBA+ ITACoh- GART64- HTrans- 64bit- FW+ AGP3+ Rate=x4,x8
                Command: RQ=1 ArqSz=0 Cal=0 SBA+ AGP+ GART64- 64bit- FW- Rate=x4
        Capabilities: [60] HyperTransport: Host or Secondary Interface
                Command: WarmRst+ DblEnd-
                Link Control: CFlE- CST- CFE- <LkFail- Init+ EOC- TXO- <CRCErr=0
                Link Config: MLWI=8bit MLWO=8bit LWI=8bit LWO=8bit
                Revision ID: 0.16

00:00.1 RAM memory: nVidia Corporation nForce2 Memory Controller 1 (rev c1)
        Subsystem: nVidia Corporation Unknown device 0c17
        Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap- 66MHz+ UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <ERR-

00:00.2 RAM memory: nVidia Corporation nForce2 Memory Controller 4 (rev c1)
        Subsystem: nVidia Corporation Unknown device 0c17
        Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap- 66MHz+ UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <ERR-

00:00.3 RAM memory: nVidia Corporation nForce2 Memory Controller 3 (rev c1)
        Subsystem: nVidia Corporation Unknown device 0c17
        Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap- 66MHz+ UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <ERR-

00:00.4 RAM memory: nVidia Corporation nForce2 Memory Controller 2 (rev c1)
        Subsystem: nVidia Corporation Unknown device 0c17
        Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap- 66MHz+ UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <ERR-

00:00.5 RAM memory: nVidia Corporation nForce2 Memory Controller 5 (rev c1)
        Subsystem: nVidia Corporation Unknown device 0c17
        Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap- 66MHz+ UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <ERR-

00:01.0 ISA bridge: nVidia Corporation MCP2A ISA bridge (rev a3)
        Subsystem: ABIT Computer Corp. NV7 Motherboard
        Control: I/O+ Mem+ BusMaster+ SpecCycle+ MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <ERR-
        Latency: 0
        Capabilities: [48] HyperTransport: Slave or Primary Interface
                Command: BaseUnitID=1 UnitCnt=15 MastHost- DefDir-
                Link Control 0: CFlE- CST- CFE- <LkFail- Init+ EOC+ TXO- <CRCErr=0
                Link Config 0: MLWI=8bit MLWO=8bit LWI=8bit LWO=8bit
                Link Control 1: CFlE- CST- CFE- <LkFail- Init+ EOC- TXO+ <CRCErr=0
                Link Config 1: MLWI=8bit MLWO=8bit LWI=8bit LWO=8bit
                Revision ID: 0.00

00:01.1 SMBus: nVidia Corporation MCP2A SMBus (rev a1)
        Subsystem: ABIT Computer Corp. NV7 Motherboard
        Control: I/O+ Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <ERR-
        Interrupt: pin A routed to IRQ 5
        Region 0: I/O ports at ec00
        Capabilities: [44] Power Management version 2
                Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot+,D3cold+)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-

00:02.0 USB Controller: nVidia Corporation MCP2A USB Controller (rev a1) (prog-if 10 [OHCI])
        Subsystem: ABIT Computer Corp. NV7 Motherboard
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <ERR-
        Latency: 0 (750ns min, 250ns max)
        Interrupt: pin A routed to IRQ 20
        Region 0: Memory at ea002000 (32-bit, non-prefetchable) [size=4K]
        Capabilities: [44] Power Management version 2
                Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0+,D1+,D2+,D3hot+,D3cold+)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-

00:02.1 USB Controller: nVidia Corporation MCP2A USB Controller (rev a1) (prog-if 10 [OHCI])
        Subsystem: ABIT Computer Corp. NV7 Motherboard
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <ERR-
        Latency: 0 (750ns min, 250ns max)
        Interrupt: pin B routed to IRQ 21
        Region 0: Memory at ea003000 (32-bit, non-prefetchable) [size=4K]
        Capabilities: [44] Power Management version 2
                Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0+,D1+,D2+,D3hot+,D3cold+)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-

00:02.2 USB Controller: nVidia Corporation MCP2A USB Controller (rev a2) (prog-if 20 [EHCI])
        Subsystem: ABIT Computer Corp. NV7 Motherboard
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Latency: 0 (750ns min, 250ns max)
        Interrupt: pin C routed to IRQ 21
        Region 0: Memory at ea004000 (32-bit, non-prefetchable) [size=256]
        Capabilities: [44] Debug port
        Capabilities: [80] Power Management version 2
                Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0+,D1+,D2+,D3hot+,D3cold+)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-

00:06.0 Multimedia audio controller: nVidia Corporation MCP2S AC'97 Audio Controller (rev a1)
        Subsystem: ABIT Computer Corp. NV7 Motherboard
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Latency: 0 (500ns min, 1250ns max)
        Interrupt: pin A routed to IRQ 20
        Region 0: I/O ports at d800 [size=256]
        Region 1: I/O ports at dc00 [size=128]
        Region 2: Memory at ea005000 (32-bit, non-prefetchable) [size=4K]
        Capabilities: [44] Power Management version 2
                Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-

00:08.0 PCI bridge: nVidia Corporation MCP2A PCI Bridge (rev a3) (prog-if 00 [Normal decode])
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B-
        Status: Cap- 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Latency: 0
        Bus: primary=00, secondary=02, subordinate=02, sec-latency=32
        I/O behind bridge: 0000b000-0000bfff
        Memory behind bridge: e8000000-e8ffffff
        Prefetchable memory behind bridge: fff00000-000fffff
        Secondary status: 66MHz- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort+ <SERR- <PERR+
        BridgeCtl: Parity- SERR+ NoISA+ VGA- MAbort- >Reset- FastB2B-

00:09.0 IDE interface: nVidia Corporation MCP2A IDE (rev a3) (prog-if 8a [Master SecP PriP])
        Subsystem: ABIT Computer Corp. NV7 Motherboard
        Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Latency: 0 (750ns min, 250ns max)
        Region 0: [virtual] Memory at 000001f0 (32-bit, non-prefetchable) [disabled]
        Region 1: [virtual] Memory at 000003f0 (type 3, non-prefetchable) [disabled]
        Region 2: [virtual] Memory at 00000170 (32-bit, non-prefetchable) [disabled]
        Region 3: [virtual] Memory at 00000370 (type 3, non-prefetchable) [disabled]
        Region 4: I/O ports at f000
        Capabilities: [44] Power Management version 2
                Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-

00:0b.0 IDE interface: nVidia Corporation nForce2 Serial ATA Controller (rev a3) (prog-if 85 [Master SecO PriO])
        Subsystem: ABIT Computer Corp. Unknown device 1c09
        Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Latency: 0 (750ns min, 250ns max)
        Interrupt: pin A routed to IRQ 22
        Region 0: I/O ports at 09f0
        Region 1: I/O ports at 0bf0
        Region 2: I/O ports at 0970
        Region 3: I/O ports at 0b70
        Region 4: I/O ports at cc00
        Region 5: I/O ports at d000 [size=128]
        Capabilities: [44] Power Management version 2
                Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-

00:1e.0 PCI bridge: nVidia Corporation nForce2 AGP (rev c1) (prog-if 00 [Normal decode])
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B-
        Status: Cap- 66MHz+ UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Latency: 32
        Bus: primary=00, secondary=01, subordinate=01, sec-latency=32
        I/O behind bridge: 0000a000-0000afff
        Memory behind bridge: e9000000-e9ffffff
        Prefetchable memory behind bridge: d0000000-dfffffff
        Secondary status: 66MHz+ FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- <SERR- <PERR-
        BridgeCtl: Parity- SERR+ NoISA+ VGA+ MAbort- >Reset- FastB2B-

01:00.0 VGA compatible controller: ATI Technologies Inc RV350 AS [Radeon 9550] (prog-if 00 [VGA controller])
        Subsystem: ATI Technologies Inc Unknown device 0002
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Latency: 32 (2000ns min), Cache Line Size: 32 bytes
        Interrupt: pin A routed to IRQ 19
        Region 0: Memory at d0000000 (32-bit, prefetchable) [size=128M]
        Region 1: I/O ports at a000 [size=256]
        Region 2: Memory at e9030000 (32-bit, non-prefetchable) [size=64K]
        [virtual] Expansion ROM at e9000000 [disabled] [size=128K]
        Capabilities: [58] AGP version 3.0
                Status: RQ=256 Iso- ArqSz=0 Cal=0 SBA+ ITACoh- GART64- HTrans- 64bit- FW+ AGP3+ Rate=x4,x8
                Command: RQ=32 ArqSz=2 Cal=0 SBA+ AGP+ GART64- 64bit- FW- Rate=x4
        Capabilities: [50] Power Management version 2
                Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-

01:00.1 Display controller: ATI Technologies Inc RV350 AS [Radeon 9550] (Secondary)
        Subsystem: ATI Technologies Inc Unknown device 0003
        Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Region 0: Memory at d8000000 (32-bit, prefetchable) [disabled] [size=128M]
        Region 1: Memory at e9020000 (32-bit, non-prefetchable) [disabled] [size=64K]
        Capabilities: [50] Power Management version 2
                Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-

02:0b.0 Ethernet controller: VIA Technologies, Inc. VT6102 [Rhine-II] (rev 8d)
        Subsystem: ABIT Computer Corp. NV7 Motherboard
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Latency: 32 (750ns min, 2000ns max), Cache Line Size: 32 bytes
        Interrupt: pin A routed to IRQ 18
        Region 0: I/O ports at b000 [size=256]
        Region 1: Memory at e8000000 (32-bit, non-prefetchable) [size=256]
        Capabilities: [44] Power Management version 2
                Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0+,D1+,D2+,D3hot+,D3cold+)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-

[root@bogon ~]#

刚下载最新的2.6.28-rc9用我那个配置编译完没有错误了

编译过程中有些警告,不知是什么意思

  CC      drivers/pci/search.o
drivers/pci/search.c:145: 警告:‘pci_find_slot’ 已过时(于 drivers/pci/search.c:134 声明)
drivers/pci/search.c:145: 警告:‘pci_find_slot’ 已过时(于 drivers/pci/search.c:134 声明)
drivers/pci/search.c:174: 警告:‘pci_find_device’ 已过时(于 drivers/pci/search.c:166 声明)
drivers/pci/search.c:174: 警告:‘pci_find_device’ 已过时(于 drivers/pci/search.c:166 声明)

  CC [M]  drivers/pci/hotplug/cpqphp_core.o
In file included from drivers/pci/hotplug/cpqphp_core.c:46:
drivers/pci/hotplug/cpqphp.h: In function ‘slot_name’:
drivers/pci/hotplug/cpqphp.h:454: 警告:返回时丢弃了指针目标类型的限定
  CC [M]  drivers/pci/hotplug/cpqphp_ctrl.o
In file included from drivers/pci/hotplug/cpqphp_ctrl.c:41:
drivers/pci/hotplug/cpqphp.h: In function ‘slot_name’:
drivers/pci/hotplug/cpqphp.h:454: 警告:返回时丢弃了指针目标类型的限定
  CC [M]  drivers/pci/hotplug/cpqphp_sysfs.o
In file included from drivers/pci/hotplug/cpqphp_sysfs.c:37:
drivers/pci/hotplug/cpqphp.h: In function ‘slot_name’:
drivers/pci/hotplug/cpqphp.h:454: 警告:返回时丢弃了指针目标类型的限定
  CC [M]  drivers/pci/hotplug/cpqphp_pci.o
In file included from drivers/pci/hotplug/cpqphp_pci.c:38:
drivers/pci/hotplug/cpqphp.h: In function ‘slot_name’:
drivers/pci/hotplug/cpqphp.h:454: 警告:返回时丢弃了指针目标类型的限定
drivers/pci/hotplug/cpqphp_pci.c: In function ‘cpqhp_configure_device’:
drivers/pci/hotplug/cpqphp_pci.c:92: 警告:‘pci_find_slot’ 已过时(于 include/linux/pci.h:546 声明)
drivers/pci/hotplug/cpqphp_pci.c:102: 警告:‘pci_find_slot’ 已过时(于 include/linux/pci.h:546 声明)
drivers/pci/hotplug/cpqphp_pci.c: In function ‘cpqhp_unconfigure_device’:
drivers/pci/hotplug/cpqphp_pci.c:126: 警告:‘pci_find_slot’ 已过时(于 include/linux/pci.h:546 声明)
drivers/pci/hotplug/cpqphp_pci.c: In function ‘cpqhp_save_config’:
drivers/pci/hotplug/cpqphp_pci.c:420: 警告:‘pci_find_slot’ 已过时(于 include/linux/pci.h:546 声明)

  CC      drivers/serial/8250.o
drivers/serial/8250.c: In function ‘serial8250_shutdown’:
drivers/serial/8250.c:1612: 警告:此函数中的 ‘i’ 在使用前可能未初始化

  CC [M]  net/dccp/options.o
net/dccp/options.c: In function ‘dccp_parse_options’:
net/dccp/options.c:67: 警告:此函数中的 ‘value’ 在使用前可能未初始化

ps:怎么查看编译过程屏显的完整log?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-12-19 14:35:10 | 显示全部楼层
我电脑是2003.10买的
主板:升技 NF7-S2
CPU:AMD 闪龙 2400+
显卡:七彩虹 9550 128/128 白金版
硬盘:希捷 80G 7200转
内存:宇瞻 256M*2
显示器:飞利浦107S6
网卡:集成
声卡:集成
键盘鼠标:罗技 RX300
回复 支持 反对

使用道具 举报

发表于 2008-12-20 00:11:51 | 显示全部楼层
Post by lantern;1926324
[root@bogon ~]# lspci -vvv
00:00.0 Host bridge: nVidia Corporation nForce2 IGP2 (rev c1)
        Subsystem: ABIT Computer Corp. NV7 Motherboard
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <ERR-
        Latency: 0
        Region 0: Memory at e0000000 (32-bit, prefetchable) [size=128M]
        Capabilities: [40] AGP version 3.0
                Status: RQ=32 Iso- ArqSz=2 Cal=0 SBA+ ITACoh- GART64- HTrans- 64bit- FW+ AGP3+ Rate=x4,x8
                Command: RQ=1 ArqSz=0 Cal=0 SBA+ AGP+ GART64- 64bit- FW- Rate=x4
        Capabilities: [60] HyperTransport: Host or Secondary Interface
                Command: WarmRst+ DblEnd-
                Link Control: CFlE- CST- CFE- <LkFail- Init+ EOC- TXO- <CRCErr=0
                Link Config: MLWI=8bit MLWO=8bit LWI=8bit LWO=8bit
                Revision ID: 0.16

00:00.1 RAM memory: nVidia Corporation nForce2 Memory Controller 1 (rev c1)
        Subsystem: nVidia Corporation Unknown device 0c17
        Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap- 66MHz+ UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <ERR-

00:00.2 RAM memory: nVidia Corporation nForce2 Memory Controller 4 (rev c1)
        Subsystem: nVidia Corporation Unknown device 0c17
        Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap- 66MHz+ UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <ERR-

00:00.3 RAM memory: nVidia Corporation nForce2 Memory Controller 3 (rev c1)
        Subsystem: nVidia Corporation Unknown device 0c17
        Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap- 66MHz+ UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <ERR-

00:00.4 RAM memory: nVidia Corporation nForce2 Memory Controller 2 (rev c1)
        Subsystem: nVidia Corporation Unknown device 0c17
        Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap- 66MHz+ UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <ERR-

00:00.5 RAM memory: nVidia Corporation nForce2 Memory Controller 5 (rev c1)
        Subsystem: nVidia Corporation Unknown device 0c17
        Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap- 66MHz+ UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <ERR-

00:01.0 ISA bridge: nVidia Corporation MCP2A ISA bridge (rev a3)
        Subsystem: ABIT Computer Corp. NV7 Motherboard
        Control: I/O+ Mem+ BusMaster+ SpecCycle+ MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <ERR-
        Latency: 0
        Capabilities: [48] HyperTransport: Slave or Primary Interface
                Command: BaseUnitID=1 UnitCnt=15 MastHost- DefDir-
                Link Control 0: CFlE- CST- CFE- <LkFail- Init+ EOC+ TXO- <CRCErr=0
                Link Config 0: MLWI=8bit MLWO=8bit LWI=8bit LWO=8bit
                Link Control 1: CFlE- CST- CFE- <LkFail- Init+ EOC- TXO+ <CRCErr=0
                Link Config 1: MLWI=8bit MLWO=8bit LWI=8bit LWO=8bit
                Revision ID: 0.00

00:01.1 SMBus: nVidia Corporation MCP2A SMBus (rev a1)
        Subsystem: ABIT Computer Corp. NV7 Motherboard
        Control: I/O+ Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <ERR-
        Interrupt: pin A routed to IRQ 5
        Region 0: I/O ports at ec00
        Capabilities: [44] Power Management version 2
                Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot+,D3cold+)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-

00:02.0 USB Controller: nVidia Corporation MCP2A USB Controller (rev a1) (prog-if 10 [OHCI])
        Subsystem: ABIT Computer Corp. NV7 Motherboard
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <ERR-
        Latency: 0 (750ns min, 250ns max)
        Interrupt: pin A routed to IRQ 20
        Region 0: Memory at ea002000 (32-bit, non-prefetchable) [size=4K]
        Capabilities: [44] Power Management version 2
                Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0+,D1+,D2+,D3hot+,D3cold+)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-

00:02.1 USB Controller: nVidia Corporation MCP2A USB Controller (rev a1) (prog-if 10 [OHCI])
        Subsystem: ABIT Computer Corp. NV7 Motherboard
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <ERR-
        Latency: 0 (750ns min, 250ns max)
        Interrupt: pin B routed to IRQ 21
        Region 0: Memory at ea003000 (32-bit, non-prefetchable) [size=4K]
        Capabilities: [44] Power Management version 2
                Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0+,D1+,D2+,D3hot+,D3cold+)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-

00:02.2 USB Controller: nVidia Corporation MCP2A USB Controller (rev a2) (prog-if 20 [EHCI])
        Subsystem: ABIT Computer Corp. NV7 Motherboard
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Latency: 0 (750ns min, 250ns max)
        Interrupt: pin C routed to IRQ 21
        Region 0: Memory at ea004000 (32-bit, non-prefetchable) [size=256]
        Capabilities: [44] Debug port
        Capabilities: [80] Power Management version 2
                Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0+,D1+,D2+,D3hot+,D3cold+)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-

00:06.0 Multimedia audio controller: nVidia Corporation MCP2S AC'97 Audio Controller (rev a1)
        Subsystem: ABIT Computer Corp. NV7 Motherboard
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Latency: 0 (500ns min, 1250ns max)
        Interrupt: pin A routed to IRQ 20
        Region 0: I/O ports at d800 [size=256]
        Region 1: I/O ports at dc00 [size=128]
        Region 2: Memory at ea005000 (32-bit, non-prefetchable) [size=4K]
        Capabilities: [44] Power Management version 2
                Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-

00:08.0 PCI bridge: nVidia Corporation MCP2A PCI Bridge (rev a3) (prog-if 00 [Normal decode])
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B-
        Status: Cap- 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Latency: 0
        Bus: primary=00, secondary=02, subordinate=02, sec-latency=32
        I/O behind bridge: 0000b000-0000bfff
        Memory behind bridge: e8000000-e8ffffff
        Prefetchable memory behind bridge: fff00000-000fffff
        Secondary status: 66MHz- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort+ <SERR- <PERR+
        BridgeCtl: Parity- SERR+ NoISA+ VGA- MAbort- >Reset- FastB2B-

00:09.0 IDE interface: nVidia Corporation MCP2A IDE (rev a3) (prog-if 8a [Master SecP PriP])
        Subsystem: ABIT Computer Corp. NV7 Motherboard
        Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Latency: 0 (750ns min, 250ns max)
        Region 0: [virtual] Memory at 000001f0 (32-bit, non-prefetchable) [disabled]
        Region 1: [virtual] Memory at 000003f0 (type 3, non-prefetchable) [disabled]
        Region 2: [virtual] Memory at 00000170 (32-bit, non-prefetchable) [disabled]
        Region 3: [virtual] Memory at 00000370 (type 3, non-prefetchable) [disabled]
        Region 4: I/O ports at f000
        Capabilities: [44] Power Management version 2
                Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-

00:0b.0 IDE interface: nVidia Corporation nForce2 Serial ATA Controller (rev a3) (prog-if 85 [Master SecO PriO])
        Subsystem: ABIT Computer Corp. Unknown device 1c09
        Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Latency: 0 (750ns min, 250ns max)
        Interrupt: pin A routed to IRQ 22
        Region 0: I/O ports at 09f0
        Region 1: I/O ports at 0bf0
        Region 2: I/O ports at 0970
        Region 3: I/O ports at 0b70
        Region 4: I/O ports at cc00
        Region 5: I/O ports at d000 [size=128]
        Capabilities: [44] Power Management version 2
                Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-

00:1e.0 PCI bridge: nVidia Corporation nForce2 AGP (rev c1) (prog-if 00 [Normal decode])
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B-
        Status: Cap- 66MHz+ UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Latency: 32
        Bus: primary=00, secondary=01, subordinate=01, sec-latency=32
        I/O behind bridge: 0000a000-0000afff
        Memory behind bridge: e9000000-e9ffffff
        Prefetchable memory behind bridge: d0000000-dfffffff
        Secondary status: 66MHz+ FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- <SERR- <PERR-
        BridgeCtl: Parity- SERR+ NoISA+ VGA+ MAbort- >Reset- FastB2B-

01:00.0 VGA compatible controller: ATI Technologies Inc RV350 AS [Radeon 9550] (prog-if 00 [VGA controller])
        Subsystem: ATI Technologies Inc Unknown device 0002
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Latency: 32 (2000ns min), Cache Line Size: 32 bytes
        Interrupt: pin A routed to IRQ 19
        Region 0: Memory at d0000000 (32-bit, prefetchable) [size=128M]
        Region 1: I/O ports at a000 [size=256]
        Region 2: Memory at e9030000 (32-bit, non-prefetchable) [size=64K]
        [virtual] Expansion ROM at e9000000 [disabled] [size=128K]
        Capabilities: [58] AGP version 3.0
                Status: RQ=256 Iso- ArqSz=0 Cal=0 SBA+ ITACoh- GART64- HTrans- 64bit- FW+ AGP3+ Rate=x4,x8
                Command: RQ=32 ArqSz=2 Cal=0 SBA+ AGP+ GART64- 64bit- FW- Rate=x4
        Capabilities: [50] Power Management version 2
                Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-

01:00.1 Display controller: ATI Technologies Inc RV350 AS [Radeon 9550] (Secondary)
        Subsystem: ATI Technologies Inc Unknown device 0003
        Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Region 0: Memory at d8000000 (32-bit, prefetchable) [disabled] [size=128M]
        Region 1: Memory at e9020000 (32-bit, non-prefetchable) [disabled] [size=64K]
        Capabilities: [50] Power Management version 2
                Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-

02:0b.0 Ethernet controller: VIA Technologies, Inc. VT6102 [Rhine-II] (rev 8d)
        Subsystem: ABIT Computer Corp. NV7 Motherboard
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Latency: 32 (750ns min, 2000ns max), Cache Line Size: 32 bytes
        Interrupt: pin A routed to IRQ 18
        Region 0: I/O ports at b000 [size=256]
        Region 1: Memory at e8000000 (32-bit, non-prefetchable) [size=256]
        Capabilities: [44] Power Management version 2
                Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0+,D1+,D2+,D3hot+,D3cold+)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-

[root@bogon ~]#

刚下载最新的2.6.28-rc9用我那个配置编译完没有错误了

编译过程中有些警告,不知是什么意思

  CC      drivers/pci/search.o
drivers/pci/search.c:145: 警告:‘pci_find_slot’ 已过时(于 drivers/pci/search.c:134 声明)
drivers/pci/search.c:145: 警告:‘pci_find_slot’ 已过时(于 drivers/pci/search.c:134 声明)
drivers/pci/search.c:174: 警告:‘pci_find_device’ 已过时(于 drivers/pci/search.c:166 声明)
drivers/pci/search.c:174: 警告:‘pci_find_device’ 已过时(于 drivers/pci/search.c:166 声明)

  CC [M]  drivers/pci/hotplug/cpqphp_core.o
In file included from drivers/pci/hotplug/cpqphp_core.c:46:
drivers/pci/hotplug/cpqphp.h: In function ‘slot_name’:
drivers/pci/hotplug/cpqphp.h:454: 警告:返回时丢弃了指针目标类型的限定
  CC [M]  drivers/pci/hotplug/cpqphp_ctrl.o
In file included from drivers/pci/hotplug/cpqphp_ctrl.c:41:
drivers/pci/hotplug/cpqphp.h: In function ‘slot_name’:
drivers/pci/hotplug/cpqphp.h:454: 警告:返回时丢弃了指针目标类型的限定
  CC [M]  drivers/pci/hotplug/cpqphp_sysfs.o
In file included from drivers/pci/hotplug/cpqphp_sysfs.c:37:
drivers/pci/hotplug/cpqphp.h: In function ‘slot_name’:
drivers/pci/hotplug/cpqphp.h:454: 警告:返回时丢弃了指针目标类型的限定
  CC [M]  drivers/pci/hotplug/cpqphp_pci.o
In file included from drivers/pci/hotplug/cpqphp_pci.c:38:
drivers/pci/hotplug/cpqphp.h: In function ‘slot_name’:
drivers/pci/hotplug/cpqphp.h:454: 警告:返回时丢弃了指针目标类型的限定
drivers/pci/hotplug/cpqphp_pci.c: In function ‘cpqhp_configure_device’:
drivers/pci/hotplug/cpqphp_pci.c:92: 警告:‘pci_find_slot’ 已过时(于 include/linux/pci.h:546 声明)
drivers/pci/hotplug/cpqphp_pci.c:102: 警告:‘pci_find_slot’ 已过时(于 include/linux/pci.h:546 声明)
drivers/pci/hotplug/cpqphp_pci.c: In function ‘cpqhp_unconfigure_device’:
drivers/pci/hotplug/cpqphp_pci.c:126: 警告:‘pci_find_slot’ 已过时(于 include/linux/pci.h:546 声明)
drivers/pci/hotplug/cpqphp_pci.c: In function ‘cpqhp_save_config’:
drivers/pci/hotplug/cpqphp_pci.c:420: 警告:‘pci_find_slot’ 已过时(于 include/linux/pci.h:546 声明)

  CC      drivers/serial/8250.o
drivers/serial/8250.c: In function ‘serial8250_shutdown’:
drivers/serial/8250.c:1612: 警告:此函数中的 ‘i’ 在使用前可能未初始化

  CC [M]  net/dccp/options.o
net/dccp/options.c: In function ‘dccp_parse_options’:
net/dccp/options.c:67: 警告:此函数中的 ‘value’ 在使用前可能未初始化

ps:怎么查看编译过程屏显的完整log?


LSPCI -VVV 的输出和我的不一样,可能是台式机和本本的区别?

另外,出现这些错误提示说明你的内核配置有些不能用,有些选择了也没用,有些有用的没选上。

你可参考我的CONFIG对比你的来选择,有东西是根本没用的。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-12-20 01:51:16 | 显示全部楼层
[root@bogon linux-2.6.28-rc9]# make menuconfig
  HOSTCC  scripts/basic/fixdep
  HOSTCC  scripts/basic/docproc
  HOSTCC  scripts/basic/hash
  HOSTCC  scripts/kconfig/conf.o
  HOSTCC  scripts/kconfig/kxgettext.o
  HOSTCC  scripts/kconfig/lxdialog/checklist.o
  HOSTCC  scripts/kconfig/lxdialog/inputbox.o
  HOSTCC  scripts/kconfig/lxdialog/menubox.o
  HOSTCC  scripts/kconfig/lxdialog/textbox.o
  HOSTCC  scripts/kconfig/lxdialog/util.o
  HOSTCC  scripts/kconfig/lxdialog/yesno.o
  HOSTCC  scripts/kconfig/mconf.o
  SHIPPED scripts/kconfig/zconf.tab.c
  SHIPPED scripts/kconfig/lex.zconf.c
  SHIPPED scripts/kconfig/zconf.hash.c
  HOSTCC  scripts/kconfig/zconf.tab.o
  HOSTLD  scripts/kconfig/mconf
scripts/kconfig/mconf arch/x86/Kconfig
#
# using defaults found in /boot/config-2.6.18-120.el5
#
/boot/config-2.6.18-120.el5:1393:warning: symbol value 'm' invalid for FIXED_PHY
/boot/config-2.6.18-120.el5:1693:warning: symbol value 'm' invalid for ISDN
/boot/config-2.6.18-120.el5:2807:warning: symbol value 'm' invalid for RTC_INTF_SYSFS
/boot/config-2.6.18-120.el5:2808:warning: symbol value 'm' invalid for RTC_INTF_PROC
/boot/config-2.6.18-120.el5:2809:warning: symbol value 'm' invalid for RTC_INTF_DEV
#
# configuration written to config-2.6.18-120.el5
#


*** End of Linux kernel configuration.
*** Execute 'make' to build the kernel or try 'make help'.

You have new mail in /var/spool/mail/root
[root@bogon linux-2.6.28-rc9]#
打开config-2.6.18-120.el5发现它修改成这样了。。。
FIXED_PHY没找到
# CONFIG_ISDN is not set
CONFIG_RTC_INTF_SYSFS=y
CONFIG_RTC_INTF_PROC=y
CONFIG_RTC_INTF_DEV=y
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表