From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from qnap.com.tw (unknown [211.75.85.25]) by ozlabs.org (Postfix) with SMTP id 36B2667D77 for ; Tue, 2 Aug 2005 21:41:45 +1000 (EST) From: "JohnsonCheng" To: Date: Tue, 2 Aug 2005 19:41:41 +0800 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0060_01C5979A.35038CB0" Message-Id: <20050802114145.36B2667D77@ozlabs.org> Subject: A PPC kernel issue with UART ?? List-Id: Linux on Embedded PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , This is a multi-part message in MIME format. ------=_NextPart_000_0060_01C5979A.35038CB0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Dear All, I meet a wired UART problem on linux-2.6 with MPC8241 chip. My Environment is as following: CPU: MPC8241 Linux: 2.6.12.3 COM1 offset: 0x4500, COM2 offset: 0x4600 When I booting my rootfs, it hangs at following message: RAMDISK: Compressed image found at block 0 VFS: Mounted root (ext2 filesystem) readonly. Freeing unused kernel memory: 104k init EXT2-fs warning: checktime reached, running e2fsck is recommended I had add printk in tty_write() of drivers/char/tty_io.c, the message from rootfs have printed. The conclusion is that message can be printed by printk() in linux kernel, but can't be printed by printf() in user mode. I think it must be something wrong for my UART configurations, does anybody know it?? Best Regards, Johnson Cheng ------=_NextPart_000_0060_01C5979A.35038CB0 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Dear All,

 

I meet a wired UART problem on linux-2.6 with = MPC8241 chip.

 

My Environment is as following: =

CPU: MPC8241

Linux: 2.6.12.3

COM1 offset: 0x4500, COM2 offset: = 0x4600

 

When I booting my rootfs, it hangs at following message:

RAMDISK: Compressed image found at block = 0

VFS: Mounted root (ext2 filesystem) = readonly.

Freeing unused kernel memory: 104k = init

EXT2-fs warning: checktime reached, running = e2fsck is recommended

 

I had add printk in tty_write() of = drivers/char/tty_io.c, the message from rootfs have printed.

The conclusion is that message can be printed = by printk() in linux kernel, but can’t be printed by printf() in user = mode. I think it must be something wrong for my UART configurations, does = anybody know it??

 

 

Best Regards,

Johnson Cheng

------=_NextPart_000_0060_01C5979A.35038CB0--