* kernel hangs at my_console_write
@ 2001-08-06 16:18 Navin Boppuri
2001-08-06 16:36 ` Elan Feingold
0 siblings, 1 reply; 5+ messages in thread
From: Navin Boppuri @ 2001-08-06 16:18 UTC (permalink / raw)
To: Linuxppc-Embedded (E-mail)
Hello,
I am using the Hardhat 1.2 kernel from MVista on my custom board with
MPC855T. The kernel executes and hangs at my_console_write routine. I
did see someone else have a similar problem with the kernel. But I've
not seen any solution for the problem. The 1.1 from Hardhat works just
fine.
Thank you,
Navin Boppuri
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 5+ messages in thread
* RE: kernel hangs at my_console_write
2001-08-06 16:18 kernel hangs at my_console_write Navin Boppuri
@ 2001-08-06 16:36 ` Elan Feingold
2001-08-06 18:09 ` Dan Malek
0 siblings, 1 reply; 5+ messages in thread
From: Elan Feingold @ 2001-08-06 16:36 UTC (permalink / raw)
To: Linuxppc-Embedded (E-mail)
> I am using the Hardhat 1.2 kernel from MVista on my custom board with
> MPC855T. The kernel executes and hangs at my_console_write routine.
We were using a slightly different kernel (2.4.5 + patches), but we saw a
hang in console_write when we didn't have our Baud Rate Generator clock
frequency correct. In the version we were using, the numbers in
embed_config() seemed to indicate that Hz were desired, but after grepping
around, we saw that some parts of the kernel wanted Mhz. Once we fixed
that, we got console output and things worked.
Hope this helps,
-elan
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 5+ messages in thread
* RE: kernel hangs at my_console_write
@ 2001-08-06 16:48 Navin Boppuri
0 siblings, 0 replies; 5+ messages in thread
From: Navin Boppuri @ 2001-08-06 16:48 UTC (permalink / raw)
To: Elan Feingold, Linuxppc-Embedded (E-mail)
I dont think I use embed_config since I use the binary kernel
(vmlinux.gz). I dont use zImage. PPCBoot passes all this info to the
kernel.
But I guess, there are still places in the kernel where it expects Mhz.
By some parts in the kernel, due you mean somewhere in the uart.c init
code?
Thank you,
Navin.
-----Original Message-----
From: Elan Feingold [mailto:elan@nxnetworks.com]
Sent: Monday, August 06, 2001 11:37 AM
To: Linuxppc-Embedded (E-mail)
Subject: RE: kernel hangs at my_console_write
> I am using the Hardhat 1.2 kernel from MVista on my custom board with
> MPC855T. The kernel executes and hangs at my_console_write routine.
We were using a slightly different kernel (2.4.5 + patches), but we saw
a
hang in console_write when we didn't have our Baud Rate Generator clock
frequency correct. In the version we were using, the numbers in
embed_config() seemed to indicate that Hz were desired, but after
grepping
around, we saw that some parts of the kernel wanted Mhz. Once we fixed
that, we got console output and things worked.
Hope this helps,
-elan
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: kernel hangs at my_console_write
2001-08-06 16:36 ` Elan Feingold
@ 2001-08-06 18:09 ` Dan Malek
2001-08-06 18:26 ` Michael Scott Shappe
0 siblings, 1 reply; 5+ messages in thread
From: Dan Malek @ 2001-08-06 18:09 UTC (permalink / raw)
To: Elan Feingold; +Cc: Linuxppc-Embedded (E-mail)
Elan Feingold wrote:
> .... In the version we were using, the numbers in
> embed_config() seemed to indicate that Hz were desired, but after grepping
> around, we saw that some parts of the kernel wanted Mhz.
If you take everything from the same kernel baseline, all of this will
match. At one point late in the 2.3.xx development, the values
were changed from MHz to Hz. People weren't patching/merging
correctly to get all of the right parts at the same time.
-- Dan
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: kernel hangs at my_console_write
2001-08-06 18:09 ` Dan Malek
@ 2001-08-06 18:26 ` Michael Scott Shappe
0 siblings, 0 replies; 5+ messages in thread
From: Michael Scott Shappe @ 2001-08-06 18:26 UTC (permalink / raw)
To: Dan Malek; +Cc: Elan Feingold, Linuxppc-Embedded (E-mail)
> If you take everything from the same kernel baseline, all of this will
> match. At one point late in the 2.3.xx development, the values
> were changed from MHz to Hz. People weren't patching/merging
> correctly to get all of the right parts at the same time.
Dan --
I can accept this statement -- it certainly makes sense -- however, it doesn't
quite fit what we actually did. We took a stock linux 2.4.5, applied a patch
that was named 'linuxppc2.4_vs_v.2.4.5.patch' (because there wasn't a 2.4.6),
which we found by chasing links from <http://www.linuxppc.org/>, and went from
there (I'd give you the exact URL, but linuxppc.org isn't answering, right
now). On the surface, this seems like it should have been the Right Thing.
I'm willing to accept that it wasn't, however, especially if someone can tell
us what the Right Thing is :-D When I tried to build an entirely unmodified
v.2.4.6 kernel, for example, it didn't even build (symbols had changed names
and only about half the code had the names changed).
Mike Shappe
NxNetworks, Inc.
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2001-08-06 18:26 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-08-06 16:18 kernel hangs at my_console_write Navin Boppuri
2001-08-06 16:36 ` Elan Feingold
2001-08-06 18:09 ` Dan Malek
2001-08-06 18:26 ` Michael Scott Shappe
-- strict thread matches above, loose matches on Subject: below --
2001-08-06 16:48 Navin Boppuri
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).