linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Re: why open("dev/console",O_RDWR,0) get stuck
@ 2000-06-29  3:23 Wentao Xu
  2000-06-29  3:50 ` ben bodley
  0 siblings, 1 reply; 4+ messages in thread
From: Wentao Xu @ 2000-06-29  3:23 UTC (permalink / raw)
  To: benb; +Cc: linuxppc-embedded


ben,
Thanks for your help. That error does not appear
now, after doing what you told me.
BTW, can you tell me what toolkit you are using
with the ppc401, the one from Monta Vista?

I have been haunted by the bad PTE error for 2 weeks.
I
dont know if I shall make some modification of the MMU
code before running the 405 code on the redwood 3. Can
you give me a hint? Thanks

Wentao


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

^ permalink raw reply	[flat|nested] 4+ messages in thread
* why open("dev/console",O_RDWR,0) get stuck
@ 2000-06-27  9:54 Wentao Xu
  2000-06-28 23:28 ` ben bodley
  0 siblings, 1 reply; 4+ messages in thread
From: Wentao Xu @ 2000-06-27  9:54 UTC (permalink / raw)
  To: linuxppc-embedded


I have the code from Monta Vista on my prietary board,
I find
it get stuck in the open("dev/console",..) in fucntion
init()
in init/main.c, just before to start the shell from
ramdisk.
So I put a printk("ppc405_uic_enable\n") in function
ppc405_uic_enable()
and a printk("ppc405_uic_disable_and_ack\n") in
function ppc405_uic_disable_and_ack().
both functions are in file
arch\ppc\kernel\ppc4xx_pic.c.

At last I found a output of infinite train of
ppc405_uic_enable
ppc405_uic_disable_and_ack
ppc405_uic_enable
ppc405_uic_disable_and_ack
ppc405_uic_enable
ppc405_uic_disable_and_ack
ppc405_uic_enable
ppc405_uic_disable_and_ack
........,

I get lost. Which friends can give me an idea?

Wentao


Get Yahoo! Mail - Free email you can access from anywhere!
http://mail.yahoo.com/

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2000-06-29  3:50 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-06-29  3:23 why open("dev/console",O_RDWR,0) get stuck Wentao Xu
2000-06-29  3:50 ` ben bodley
  -- strict thread matches above, loose matches on Subject: below --
2000-06-27  9:54 Wentao Xu
2000-06-28 23:28 ` ben bodley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).