MPC8245:PCI unstable

2004-05-11 Thread jeffy

John Zhan,
Maybe you should tell more detail messages:)

I am working on a custom board based on XPC8245LZU333B, 2 ethernet
adapters (DP83816) were used on the PCI bus. Of cause with Linux. The
100base-tx of the board was connect to LAN and perform a data transfer
. The transfer just like ping some host or pinged by some host.The
transfer can keep for some time. But Linux maybe crash occasionally.
the duration from the start of the transfer to the Linux crash maybe
some dozens of minutes or hours. My Linux port from mvista 2.4.26
sandpoint. I noticed that XPC8245LZU333B's PCI host can't support
Type 2 Fast back-to-back transactions, but I am not sure if this
cause the problem? If the drivers should be updated to avoid PCI Fast
back-to-back transactions in 8245 systems? If anything else should be
taken into account to make the PCI stable?

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/





PPC Linux painic problem!

2004-04-26 Thread jeffy

Hi all,
I hit on a problem about PPC Linux version 2.4.4 on a MPC855T board.
The kernel can start up ok normally, but when another PC continous sending 
UDP packets to it(about 8Mbps) when kernel is starting up, the kernel failed 
start up and printf the following messages:

.
.
.
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 512 buckets, 4Kbytes
Oops: kernel access of bad area, sig: 11
NIP: C0095828 XER: C57F LR: C0097804 SP: C01C7CA0 REGS: c01c7bf0 TRAP: 0300
MSR: 9032 EE: 1 PR: 0 FP: 0 ME: 1 IR/DR: 11
DAR: BF80F66F, DSISR: 000B
TASK = c01c6000[1] 'swapper' Last syscall: 120
last math  last altivec 
GPR00: 00CC C01C7CA0 C01C6000 C1F713F0 C0A82C60 C0A82C5D  C1DC3C00
GPR08: 0002  0200 BF80F5F3  1004FCEC 01FDD000 007FFF0D
GPR16:  0001 007FFF00  1032 001C7D40  C0002870
GPR24: 0180 C00FD5C0 0800 C1DC3C00 C0A82C5D  C1F713F0 C0A82C60
Call backtrace:
0001 C0097804 C008D720 C0013BE4 C00028A0 C000EE10 C0106494
C01066EC C0106EA4 C00FE78C C00FE830 C00023CC C0004D68
Kernel panic: Aiee, killing interrupt handler!
In interrupt handler - not syncing
Rebooting in 180 seconds..

What's the problems? Is it  a bug?
Best Regards!

Jeffy Guo
Bocom Digital Crop. Shanghai, China.

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/





which is the best root File system in embed linux system?

2004-04-23 Thread jeffy

In message 20040422154403.6452042E2F at denx.de you wrote:

 I have not measure the speed of accessing files, so have not the
 exact concept:)

Then go back one step: before using any software, start by writing down
the requirements and specifications.

 Now the EXT2 FS is about 13MB(whithout any applications), maybe it is
 too biger?

No, this is not the problem.

 Oh, I am sorry that not write the detail! Now we have two kind of
 8XX boards, one is MPC855T board, and for low cost, we developed
 MPC852T, one use 32M DOC, another use 8MB+512KB flash. I have success
 building a EXT2 FS on DOC, and a JFFS2 FS on flash, but they all
 seems unstable when turn off/on power frequently, so I am worry now,
 and I want to know what bring on these unstable problems, our design
 problems or DOC/FS inherent bugs?

Assuming you use recent MTD and JFFS2 code, then JFFS2 should be
absolutely stable on the 8MB flash system.

As for ext2 on DOC: this is bounmd to fail, as ext2 was not designed
to be used in a mode where sudden power-of without previous umount can
occur.

 Oh..., because turn off the power through hardware power switch, so
 don't remount the file system!

This is your problem. You cannot use ext2 for such a system, then.

Thanks a lot:)

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/





Re: Re: which is the best root File system in embed linux system?

2004-04-22 Thread jeffy

Because our board will be turned on and off frequently, so I think high
stability is the important, and a R/W file system is prefer selection
too! Another performances such as speed of booting is not the focus!

Now our system can runs ok, I use EXT2 FS as the root file system build
in a 32M DOC2000, but it seems it's unstable! In any time when the linux
is starting, you turn off the power, maybe the root file system will
crash!

I have serval questions want to be confirmed:
1. Whether the DOC2000 is unstable?
2. Can I build a EXT2 FS in flash?
3. How to avoid the file system crash in embed linux system?

Thanks!

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/





Boot problems on MPC8250!!!

2004-03-31 Thread jeffy

Hi all:
 I am porting U-BOOT and PPCLinux to my MPC8250 board, now when UBOOT
boots up and it can runs serveral steps, after the entry serial_init()
in board_init_f(), it hangs! I add a serial_puts(***) at
the end serial_init(), it can print out, and in UBOOT, the next
entry after serial_init should be console_init_f, so I and a
serial_puts() at the begin of console_init_f, it don't print
out! (the soft watch dog is disabled), why about this?

Thanks a lot!
Best Regards!

jeffy
leo_guo at jisung.cn

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/