[uClinux-dev] Is there dma support in coldfire m532x?
Greg Ungerer
gerg at snapgear.com
Mon Dec 3 00:28:53 EST 2007
Hi Xin
Xin Xie wrote:
> Hi Greg,
>
> Here is the console dump. It happens when I use the telnetd, but
> actually it can happens when any programming running on uClinux (like
> PID 0 swapper process). Is there any other information I can provide
> about this crash?
>
> *** ILLEGAL INSTRUCTION *** FORMAT=4
>
> Current process id is 42
>
> BAD KERNEL TRAP: 00000000
>
> PC: [<4001fdac>]
Looks like a kernel address. So disassemble the kernel and see
what code this is:
m68k-elf-objdump -d linux-2.6.x/vmlinux
Regards
Greg
> SR: 2200 SP: 4197c9ac a2: 41ca49c0
>
> d0: 00000000 d1: 00000100 d2: 00000000 d3: 00000000
>
> d4: 00000068 d5: 02000000 a0: fc030000 a1: 403bfb90
>
> Process telnetd (pid: 42, stackpage=418e4040)
>
> Stack from 4197c9e0:
>
> 40002000 400cd720 00000000 00000000 00000068 401961b6 00000004
> 41ca49c0
> 40042cfa 4185b090 41cad000 4197caf0 40042d2a 00000068 41cad000
> 00000068
> 41ca49c0 00000edb 40165200 40042dee 00000068 41ca49c0 4197cb30
> 00000040
> 40196542 40196558 40020992 00000068 00000800 40023976 00000068
> 4197ca60
> 0000000c 00000800 00000040 00000edb 401961b6 403b84a0 403bfb90
> 40196542
> 00000000 ffffffff 00000000 41a02004 400e9d1c 00000003 41cad000
> 401961ce
> Call Trace:
>
> [<400ec094>] [<400ec170>] [<4002d1b4>] [<4002d214>]
>
> [<4002d248>] [<4002d4c4>] [<40020998>] [<40023976>]
>
> [<40038cbe>] [<4005ee86>] [<40107da0>] [<40144094>]
>
> [<400df418>] [<4005e920>] [<400a144c>] [<4005ee12>]
>
> [<4002534a>] [<4011f890>] [<4011f632>] [<4011f8ac>]
>
> [<400a12a2>] [<4011fd40>] [<400e4f84>] [<400e4d84>]
>
> [<400e4e96>] [<400e4eb4>] [<4011fada>] [<400fe094>]
>
> [<400fe4ae>] [<400e9bfa>] [<400e4f84>] [<400e4d84>]
>
> [<400e4e96>] [<400ea51e>] [<4002d1b4>] [<4002d1f6>]
>
> [<400a144c>] [<4002d214>] [<4002d248>] [<4002d4c4>]
>
> [<40020998>] [<40023976>] [<4005eb6c>] [<4005eb7e>]
>
> [<4005ea58>] [<400e9bfa>] [<400e4f84>] [<400e4d84>]
>
> [<400e4e96>] [<400ea51e>] [<4002d1b4>] [<4002d1f6>]
>
> [<4002d214>] [<4002d248>] [<4002d4c4>] [<40020998>]
>
> [<40023976>] [<40020bb0>] [<400364f4>] [<40137ea8>]
>
> [<40023828>]
>
> Kernel panic - not syncing: Aiee, killing interrupt handler!
>
>
>
>
> Cheers
> Xin Xie
> -----Original Message-----
> From: uclinux-dev-bounces at uclinux.org
> [mailto:uclinux-dev-bounces at uclinux.org] On Behalf Of Greg Ungerer
> Sent: Wednesday, November 21, 2007 3:02 PM
> To: uClinux development list
> Subject: Re: [uClinux-dev] Is there dma support in coldfire m532x?
>
> Hi Xin,
>
> Xin Xie wrote:
>> I am new to the Coldfire uClinux platform. Currently I have a m5329evb
>
>> board, and using the 2.6.23-uc0 kernel and 4.1.1 m68-elf-gcc.
>>
>> I did some stress test on the board. One interesting finding is under
>> the ping flood (ping -f board), the kernel went to crash. I also
> tested
>
> Can you send the crash console dump?
>
>
>> the 2.6.17-uc1 kernel, the kernel did not crash but become very slow,
>> and I measured a 24ms worst case to wake up a user process from a char
>
>> driver.
>>
>> I am suspecting if the Ethernet driver has DMA support on m5329
> uClinux.
>> I checked both kernel, and could not find any DMA options available.
> Can
>> anyone provide any insights?
>
> The FEC ethernet driver is DMA driven. That is the only way it
> can work with that ethernet device. It doesn't use the generic
> ColdFire DMA engine though. See the code for it in drivers/net/fec.c
>
> Regards
> Greg
>
>
> ------------------------------------------------------------------------
> Greg Ungerer -- Chief Software Dude EMAIL: gerg at snapgear.com
> Secure Computing Corporation PHONE: +61 7 3435 2888
> 825 Stanley St, FAX: +61 7 3891 3630
> Woolloongabba, QLD, 4102, Australia WEB: http://www.SnapGear.com
> _______________________________________________
> uClinux-dev mailing list
> uClinux-dev at uclinux.org
> http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
> This message was resent by uclinux-dev at uclinux.org
> To unsubscribe see:
> http://mailman.uclinux.org/mailman/options/uclinux-dev
> _______________________________________________
> uClinux-dev mailing list
> uClinux-dev at uclinux.org
> http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
> This message was resent by uclinux-dev at uclinux.org
> To unsubscribe see:
> http://mailman.uclinux.org/mailman/options/uclinux-dev
>
--
------------------------------------------------------------------------
Greg Ungerer -- Chief Software Dude EMAIL: gerg at snapgear.com
Secure Computing Corporation PHONE: +61 7 3435 2888
825 Stanley St, FAX: +61 7 3891 3630
Woolloongabba, QLD, 4102, Australia WEB: http://www.SnapGear.com
More information about the uClinux-dev
mailing list