[Help] MPC8377 2.6.18 PCI-E doesn't work well

Ginger Xiao ginger.xiao at gmail.com
Sun Apr 17 15:56:24 EST 2011


Hi All

My board is MPC8377 with linux 2.6.18.

When using the  PCI-E device PCE9901, there is one serial can't work.
 The following is the message:

/myapp # insmod 9900.ko
0001:02:00.0: ttyT0 at I/O 0x0 (irq = 22) is a starex-serial
starex-serial: probe of 0001:02:00.1 failed with error -12

>From the kernel logs, I found that:
PCI: Assigning unassigned resouces...
PCI: Failed to allocate I/O resource #0:8 at 1000 for 0001:02:00.1


All the PCI devices are as follows:
~ # lspci
0000:00:00.0 Power PC: Freescale Semiconductor Inc Unknown device 00c7 (rev
21)
0000:00:0f.0 Serial controller: Unknown device 4348:3253 (rev 10)
0001:01:00.0 PCI bridge: Freescale Semiconductor Inc Unknown device 00c7
(rev 21)
0001:02:00.0 Serial controller: NetMos Technology Unknown device 9901
0001:02:00.1 Serial controller: NetMos Technology Unknown device 9901


Parts Kernel booting message is :
Found MPC83xx PCI host bridge at 0x00000000e0008500. Firmware bus number:
0->0
 ->Hose at 0xc0417000, cfg_addr=0xfdffd300,cfg_data=0xfdffd304
PCI host bridge /pci at e0008500 (primary) ranges:
 MEM 0x0000000090000000..0x000000009fffffff -> 0x0000000090000000
 MEM 0x0000000080000000..0x000000008fffffff -> 0x0000000080000000 Prefetch
  IO 0x00000000e0300000..0x00000000e03fffff -> 0x0000000000000000
mpc83xx_add_bridge():Adding PCI host bridge /pcie at e0009000.
Found MPC83xx PCI host bridge at 0x00000000e0009000. Firmware bus number:
0->0
 ->Hose at 0xc04170c0, cfg_addr=0xf5efc000,cfg_data=0xfdefc000
PCI host bridge /pcie at e0009000 (primary) ranges:
 MEM 0x00000000a8000000..0x00000000b7ffffff -> 0x00000000a8000000
  IO 0x00000000b8000000..0x00000000b87fffff -> 0x0000000000000000


I fount that because the "0001:02:00.1" does not have the IO map.
How can I configure it?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20110417/ef44bac2/attachment.html>


More information about the Linuxppc-dev mailing list