Hi all,

 I using Montavista kernel for custom MPC8555CDS board and one PCI slot on the 
Board.

 When my kernel boots i am getting the following Messages :
 
 PCI: Probing PCI hardware
 PCI: Cannot allocate resource region 0 of device 0001:01:00.0
 PCI: Cannot allocate resource region 1 of device 0001:01:00.0
 PCI: Failed to allocate mem resource #1:[EMAIL PROTECTED] for 0001:01:00.

 please find attached Kernel boot messages and corresponding pci directory 
after kernel boots.
could anyone face similar problem? 

U-Boot 1.1.6 (Aug 21 2007 - 18:37:07)

CPU:   8555, Version: 1.1, (0x80790011)
Core:  E500, Version: 2.0, (0x80200020)
Clock Configuration:
       CPU: 396 MHz, CCB: 198 MHz,
       DDR:  99 MHz, LBC:  24 MHz
L1:    D-cache 32 kB enabled
       I-cache 32 kB enabled
Board: CDS Version 0x10, PCI Slot 1
CPU Board Revision 1.0 (0x0100)
    PCI1: 32 bit, 33 MHz, sync
    PCI2: disabled
DRAM:  Initializing
DDR: number of ranks = 1
DDR: DDR I rank density = 0x04000000

DDR: cs0_bnds   = 0x00000003
DDR: cs0_config = 0x80800101
DDR: caslat SPD bit is 1
DDR: tCKmin = 6000 ps
DDR: Module max data rate = 333 Mhz
DDR: effective data rate is 200 MHz
DDR: caslat SPD bit is 1, controller field is 0x2
DDR: ext_refrec = 0x00000000
DDR: timing_cfg_1  = 0x26241341
DDR: timing_cfg_2 = 0x00001000
DDR: sdram_mode   = 0x00000062
DDR: sdram_mode_2 = 0x00000000
DDR: sdram_interval = 0x05200000
DDR: sdram_cfg_2  = 0x00000000
DDR: sdram_clk_cntl = 0x83000000
DDR: sdram_cfg   = 0xc2008000
DDR: MAS0=0x10080000
DDR: MAS1=0xc0000800
DDR: MAS2=0x00000000
DDR: MAS3=0x00000015
DDR: LAWBAR1=0x00000000
DDR: LARAR1=0x80f00019
    DDR: 64 MB
Top of RAM usable for U-Boot at: 04000000
Reserving 190k for U-Boot at: 03fd0000
Reserving 136k for malloc() at: 03fae000
Reserving 88 Bytes for Board Info at: 03fadfa8
Reserving 72 Bytes for Global Data at: 03fadf60
Stack Pointer at: 03fadf48
New Stack Pointer is: 03fadf48
Now running in RAM - U-Boot at: 03fd0000
L2 cache 256KB: enabled
*** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
U-Boot relocated to 03fd0000
Net:   TSEC0: PHY id ffffffff is not supported!
TSEC0: No PHY found
TSEC1: PHY id ffffffff is not supported!
TSEC1: No PHY found
TSEC0, TSEC1
### main_loop entered: bootdelay=5

### main_loop: bootcmd="bootm 0xffd00000 0xffa00000"
Hit any key to stop autoboot:  0
## Booting image at ffd00000 ...
   Image Name:   Linux-2.6.10_mvl401-8555cds
   Image Type:   PowerPC Linux Kernel Image (gzip compressed)
   Data Size:    1165078 Bytes =  1.1 MB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
   Uncompressing Kernel Image ... OK
## Current stack ends at 0x03FADCF0 => set upper limit to 0x00800000
## cmdline at 0x007FFF00 ... 0x007FFF2C
## Loading RAMDisk Image at ffa00000 ...
   Image Name:   uImage.ramdisk
   Image Type:   PowerPC Linux RAMDisk Image (gzip compressed)
   Data Size:    2402307 Bytes =  2.3 MB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
## initrd at 0xFFA00040 ... 0xFFC4A842 (len=2402307=0x24A803)
   Loading Ramdisk to 03d62000, end 03fac803 ... OK
## Transferring control to Linux (at address 00000000) ...
Memory CAM mapping: CAM0=64Mb, CAM1=0Mb, CAM2=0Mb residual: 0Mb
Linux version 2.6.10_mvl401-8555cds ([EMAIL PROTECTED]) (gcc version 3.4.3 
(MontaVista 3.4.3-25.0.70.0501961 2005-12-18)) 7
CDS Version = 0 in PCI slot 4
Built 1 zonelists
Kernel command line: console=ttyS1,115200 root=/dev/ram rw ip=off
OpenPIC Version 1.2 (1 CPUs and 44 IRQ sources) at fbf76000
PID hash table entries: 512 (order: 9, 8192 bytes)
TODC real-time-clock was stopped. Now starting...
Warning: real time clock seems stuck!
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 59648k available (1972k kernel code, 696k data, 116k init, 0k highmem)
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
spawn_desched_task(00000000)
desched cpu_callback 3/00000000
ksoftirqd started up.
desched cpu_callback 2/00000000
checking if image is initramfs...desched thread 0 started up.
it isn't (no cpio magic); looks like an initrd
Freeing initrd memory: 2346k freed
NET: Registered protocol family 16
PCI: Probing PCI hardware
PCI: Cannot allocate resource region 0 of device 0001:01:00.0
PCI: Cannot allocate resource region 1 of device 0001:01:00.0
PCI: Failed to allocate mem resource #1:[EMAIL PROTECTED] for 0001:01:00.0
JFFS2 version 2.2. (NAND) (C) 2001-2003 Red Hat, Inc.
Generic RTC Driver v1.07
i8042.c: i8042 controller self test timeout.
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing disabled
ttyS0 at MMIO 0xe0004500 (irq = 106) is a 16550A
ttyS1 at MMIO 0xe0004600 (irq = 106) is a 16550A
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered
RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize
loop: loaded (max 8 devices)
eth0: Gianfar Ethernet Controller Version 1.1, 00:e0:0c:00:00:fd
eth0: Running with NAPI enabled
eth0: 256/256 RX/TX BD ring size
eth1: Gianfar Ethernet Controller Version 1.1, 00:e0:0c:00:01:fd
eth1: Running with NAPI enabled
eth1: 256/256 RX/TX BD ring size
i2c /dev entries driver
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
elevator: using anticipatory as default io scheduler
physmap flash device: 1000000 at ff000000
NET: Registered protocol family 2
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 4096 bind 8192)
NET: Registered protocol family 1
NET: Registered protocol family 17
RAMDISK: Compressed image found at block 0
RAMDISK: incomplete write (-28 != 32768) 8388608
EXT2-fs warning: checktime reached, running e2fsck is recommended
VFS: Mounted root (ext2 filesystem).
Freeing unused kernel memory: 116k init
modprobe: FATAL: Could not load /lib/modules/2.6.10_mvl401-8555cds/modules.dep: 
No such file or directory

modprobe: FATAL: Could not load /lib/modules/2.6.10_mvl401-8555cds/modules.dep: 
No such file or directory

INIT: version 2.85 booting
0
Mounting a tmpfs over /dev...done.
Creating initial device nodes...done.
0
Mounting local filesystems: mount none on /var/run type tmpfs (rw)
none on /tmp type tmpfs (rw)
Starting hotplug subsystem:
   pci
   pci      [success]
   usb
   usb      [success]
   isapnp
   isapnp   [success]
   ide
   ide      [success]
   input
   input    [success]
   scsi
   scsi     [success]
done.
Starting portmap daemon: portmap/etc/rc.d/rcS.d/S41portmap: 156: nice: not found
INIT: Eintering runleveStarting internet superserver: inetd.

MontaVista(R) Linux(R) Professional Edition 4.0.1 (0502020)

(none) login: root


Welcome to MontaVista(R) Linux(R) Professional Edition 4.0.1 (0502020).

login[833]: root login  on `console'

# uname -a
Linux (none) 2.6.10_mvl401-8555cds #30 Mon Aug 20 16:33:44 IST 2007 ppc unknown

# cat /proc/bus/pci/devices
0100    1057000a        0       a0000000        00000008        00000000        
00000000        00000000        00000000   0

# ls /sys/bus/pci/devices/
0001:01:00.0


# ls -l /sys/bus/pci/devices/0001\:01\:00.0/
-r--r--r--    1 root     root         4096 Aug  8 20:01 class
-rw-r--r--    1 root     root          256 Aug  8 20:43 config
-rw-r--r--    1 root     root         4096 Aug  8 20:43 detach_state
-r--r--r--    1 root     root         4096 Aug  8 20:01 device
-r--r--r--    1 root     root         4096 Aug  8 20:43 irq
-r--r--r--    1 root     root         4096 Aug  8 20:43 local_cpus
-r--r--r--    1 root     root         4096 Aug  8 20:43 resource
-r--r--r--    1 root     root         4096 Aug  8 20:01 subsystem_device
-r--r--r--    1 root     root         4096 Aug  8 20:01 subsystem_vendor
-r--r--r--    1 root     root         4096 Aug  8 20:01 vendor

# ls -l /sys/bus/pci/devices/
lrwxrwxrwx    1 root     root            0 Aug  8 20:01 0001:01:00.0 -> 
../../../devices/pci0001:01/0001:01:00.0
#

# dmesg
Memory CAM mapping: CAM0=64Mb, CAM1=0Mb, CAM2=0Mb residual: 0Mb
Linux version 2.6.10_mvl401-8555cds ([EMAIL PROTECTED]) (gcc version 3.4.3 
(MontaVista 3.4.3-25.0.70.0501961 2005-12-18)) 7
CDS Version = 0 in PCI slot 4
On node 0 totalpages: 16384
  DMA zone: 16384 pages, LIFO batch:4
  Normal zone: 0 pages, LIFO batch:1
  HighMem zone: 0 pages, LIFO batch:1
Built 1 zonelists
Kernel command line: console=ttyS1,115200 root=/dev/ram rw ip=off
OpenPIC Version 1.2 (1 CPUs and 44 IRQ sources) at fbf76000
PID hash table entries: 512 (order: 9, 8192 bytes)
TODC real-time-clock was stopped. Now starting...
Warning: real time clock seems stuck!
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 59648k available (1972k kernel code, 696k data, 116k init, 0k highmem)
Calibrating delay loop... 394.24 BogoMIPS (lpj=197120)
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
spawn_desched_task(00000000)
desched cpu_callback 3/00000000
ksoftirqd started up.
desched cpu_callback 2/00000000
checking if image is initramfs...desched thread 0 started up.
it isn't (no cpio magic); looks like an initrd
Freeing initrd memory: 2346k freed
NET: Registered protocol family 16
PCI: Probing PCI hardware
PCI: Cannot allocate resource region 0 of device 0001:01:00.0
PCI: Cannot allocate resource region 1 of device 0001:01:00.0
PCI: Failed to allocate mem resource #1:[EMAIL PROTECTED] for 0001:01:00.0
Registering openpic with sysfs...
JFFS2 version 2.2. (NAND) (C) 2001-2003 Red Hat, Inc.
Generic RTC Driver v1.07
i8042.c: i8042 controller self test timeout.
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing disabled
ttyS0 at MMIO 0xe0004500 (irq = 106) is a 16550A
ttyS1 at MMIO 0xe0004600 (irq = 106) is a 16550A
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered
RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize
loop: loaded (max 8 devices)
eth0: Gianfar Ethernet Controller Version 1.1, 00:e0:0c:00:00:fd
eth0: Running with NAPI enabled
eth0: 256/256 RX/TX BD ring size
eth1: Gianfar Ethernet Controller Version 1.1, 00:e0:0c:00:01:fd
eth1: Running with NAPI enabled
eth1: 256/256 RX/TX BD ring size
i2c /dev entries driver
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
elevator: using anticipatory as default io scheduler
physmap flash device: 1000000 at ff000000
CFI: Found no phys_mapped_flash device at location zero
NET: Registered protocol family 2
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 4096 bind 8192)
NET: Registered protocol family 1
NET: Registered protocol family 17
RAMDISK: Compressed image found at block 0
RAMDISK: incomplete write (-28 != 32768) 8388608
EXT2-fs warning: checktime reached, running e2fsck is recommended
VFS: Mounted root (ext2 filesystem).
Freeing unused kernel memory: 116k init

_______________________________________________
Linuxppc-embedded mailing list
[email protected]
https://ozlabs.org/mailman/listinfo/linuxppc-embedded

Reply via email to