Skip to contentSkip to conversation

kernel 2.6.15-rc5-latest doesn't work anymore on mpc8540ads

DISCUSSION Clemens Koller 3 participants 5 messages Dec 16, 2005 – Mar 10, 2006

lore
Share & tools
lore
#0 lore raw

Hello,

I am just about to update my kernel from 2.6.13-rc7 which is working fine to linus' 2.6.15-rc5-latest git on my mpc8540ads flavored board. However, the kernel hangs pretty early after

openpic: exit

any ideas or a hint what's wrong there... before I start to debug deeper into the code?

Thanks,

Clemens

-----8<-----
U-Boot 1.1.3 (Jun 23 2005 - 10:40:01)

CPU:   8540, Version: 2.0, (0x80300020)
Core:  E500, Version: 2.0, (0x80200020)
Clocks Configuration:
      CPU: 825 MHz, CCB: 330 MHz,
      DDR: 165 MHz, LBC:  82 MHz

L1: D-cache 32 kB enabled
I-cache 32 kB enabled
Board: MicroSys PM854
PCI1: 32 bit, 66 MHz (compiled)

I2C:   ready
DRAM:  Initializing
   DDR: 256 MB
FLASH: 32 MB
L2:    256 kB enabled
In:    serial
Out:   serial
Err:   serial
Net:   ENET0: PHY is Marvell 88E1111S (1410cc2)
ENET1: PHY is Marvell 88E1111S (1410cc2)
ENET2: PHY is LXT971 (1378e2)
ENET0, ENET1, ENET2
Hit any key to stop autoboot:  0
## Booting image at fe300000 ...
  Image Name:   Linux-2.6.15-rc5-g7116317d
  Created:      2005-12-16  15:30:40 UTC
  Image Type:   PowerPC Linux Kernel Image (gzip compressed)
  Data Size:    1394968 Bytes =  1.3 MB

Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
mpc8540ads_init(): exit
id mach(): done
MMU:enter
MMU:hw init
MMU:mapin
MMU:setio
MMU:exit
setup_arch: enter
setup_arch: bootmem
mpc8540ads_setup_arch()
arch: exit
openpic: enter
openpic: timer
openpic: external
openpic: spurious
openpic: exit

-----8<----

Signature · 11 lines
Clemens Koller
_______________________________
R&D Imaging Devices
Anagramm GmbH
Rupert-Mayer-Str. 45/1
81379 Muenchen
Germany

http://www.anagramm.de
Phone: +49-89-741518-50
Fax: +49-89-741518-19
#1 lore raw

Hello!

Here is a little update:

Quoted 5 lines

I am just about to update my kernel from 2.6.13-rc7 which is working fine to linus' 2.6.15-rc5-latest git on my mpc8540ads flavored board. However, the kernel hangs pretty early after

openpic: exit

openpic_init() is called by mpc85xx_ads_init_IRQ in ppc/platforms/85xx

ppc_md.init_IRQ=mpc85xx_ads_init_IRQ in ppc/platforms/85xx

ppc_md.init_IRQ() is called from powerpc/kernel/irq.c

init_IRQ() is called from init/main.c:start_kernel()

and that seems to work fine. So, it crashes silently somewhere after that point. I try to build 2.6.15-rc6-latest with kgbd support, not knowing if it's supposed to work on this platform.

Are there some open issues from the ppc->powerpc migration?

Thanks,

Signature · 11 lines
Clemens Koller
_______________________________
R&D Imaging Devices
Anagramm GmbH
Rupert-Mayer-Str. 45/1
81379 Muenchen
Germany

http://www.anagramm.de
Phone: +49-89-741518-50
Fax: +49-89-741518-19
#2 lore raw
Quoted 14 lines · Clemens Koller

Hello!

Here is a little update:

Quoted 5 lines

I am just about to update my kernel from 2.6.13-rc7 which is working fine to linus' 2.6.15-rc5-latest git on my mpc8540ads flavored board. However, the kernel hangs pretty early after

openpic: exit

openpic_init() is called by mpc85xx_ads_init_IRQ in ppc/platforms/85xx

ppc_md.init_IRQ=mpc85xx_ads_init_IRQ in ppc/platforms/85xx

Quoted 7 lines

ppc_md.init_IRQ() is called from powerpc/kernel/irq.c

init_IRQ() is called from init/main.c:start_kernel()

and that seems to work fine. So, it crashes silently somewhere after that point. I try to build 2.6.15-rc6-latest with kgbd support, not knowing if it's supposed to work on this platform.

It was a guess :)

Quoted 1 line

Are there some open issues from the ppc->powerpc migration?

possible, can you use git bisect to find what commit may have caused the issue?

- kumar

#3 lore raw

Hi,
Has the knowledge about this issue advanced?
What I have noticed so far is that the same happens in 2.6.14, therefore the problem rose in the transition from 2.6.13.
Would this be related to the IRQ stuff initialization? Any guess?

Quoted 35 lines · Kumar Gala
Quoted 13 lines · Clemens Koller

Hello!

Here is a little update:

Quoted 5 lines

I am just about to update my kernel from 2.6.13-rc7 which is working fine to linus' 2.6.15-rc5-latest git on my mpc8540ads flavored board. However, the kernel hangs pretty early after

openpic: exit

openpic_init() is called by mpc85xx_ads_init_IRQ in ppc/platforms/85xx

ppc_md.init_IRQ=mpc85xx_ads_init_IRQ in ppc/platforms/85xx

Quoted 7 lines

ppc_md.init_IRQ() is called from powerpc/kernel/irq.c

init_IRQ() is called from init/main.c:start_kernel()

and that seems to work fine. So, it crashes silently somewhere after that point. I try to build 2.6.15-rc6-latest with kgbd support, not knowing if it's supposed to work on this platform.

It was a guess :)

Quoted 1 line

Are there some open issues from the ppc->powerpc migration?

possible, can you use git bisect to find what commit may have caused the issue?

- kumar

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

Signature · 1 line
Carlos Mitidieri
#4 lore raw
In reply to Clemens Koller

Hi,
The kernel actually hangs when schedule() is called in rest_init() in main.c Would someone risk a guess ?
(keeping the walk...) Thanks,

Quoted 24 lines · Clemens Koller

Hello!

Here is a little update:

Quoted 5 lines

I am just about to update my kernel from 2.6.13-rc7 which is working fine to linus' 2.6.15-rc5-latest git on my mpc8540ads flavored board. However, the kernel hangs pretty early after

openpic: exit

openpic_init() is called by mpc85xx_ads_init_IRQ in ppc/platforms/85xx

ppc_md.init_IRQ=mpc85xx_ads_init_IRQ in ppc/platforms/85xx

ppc_md.init_IRQ() is called from powerpc/kernel/irq.c

init_IRQ() is called from init/main.c:start_kernel()

and that seems to work fine. So, it crashes silently somewhere after that point. I try to build 2.6.15-rc6-latest with kgbd support, not knowing if it's supposed to work on this platform.

Are there some open issues from the ppc->powerpc migration?

Thanks,

Signature · 2 lines
Best regards,
Carlos Mitidieri