* Unable to open an initial console
@ 2005-12-16 20:01 Addison Baldwin
2005-12-16 20:09 ` Vitaly Bordug
2005-12-17 5:23 ` Nigel Cunningham
0 siblings, 2 replies; 4+ messages in thread
From: Addison Baldwin @ 2005-12-16 20:01 UTC (permalink / raw)
To: linuxppc-embedded
I was sucessful to port U-Boot to our 8272 board. Now I'm experiencing
a problem:
Our Kernel hangs with the message that says it was trasnferring
control to linux. A post morten analyzes indicated that it stopped at
"Unable to open an initial console" in the memory sapce where console
output should be out (in the sdram, like I had found somewhere in this
list, how to do it).
I have checked the bootargs values, it is ok:
bootargs root=3D/dev/ram console=3DttyS0,115200
We also checked our "/dev" and there was a link to console, pointing
ttyS0. Also, ttyS0 was there too.
Does anyone have any idea how to fix it?
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Unable to open an initial console
2005-12-16 20:01 Unable to open an initial console Addison Baldwin
@ 2005-12-16 20:09 ` Vitaly Bordug
2005-12-19 12:17 ` Addison Baldwin
2005-12-17 5:23 ` Nigel Cunningham
1 sibling, 1 reply; 4+ messages in thread
From: Vitaly Bordug @ 2005-12-16 20:09 UTC (permalink / raw)
To: Addison Baldwin; +Cc: linuxppc-embedded
Addison Baldwin wrote:
> I was sucessful to port U-Boot to our 8272 board. Now I'm experiencing
> a problem:
>
> Our Kernel hangs with the message that says it was trasnferring
> control to linux. A post morten analyzes indicated that it stopped at
> "Unable to open an initial console" in the memory sapce where console
> output should be out (in the sdram, like I had found somewhere in this
> list, how to do it).
>
> I have checked the bootargs values, it is ok:
> bootargs root=/dev/ram console=ttyS0,115200
>
Only for 2.4, 2.6 is different for this.
console=ttyCPM0 should be there, and that device does have different major/minor comparing to ttyS0.
Note that the UART has to be enabled explicitly in kernel config, for more info, search this list archives.
> We also checked our "/dev" and there was a link to console, pointing
> ttyS0. Also, ttyS0 was there too.
>
> Does anyone have any idea how to fix it?
> _______________________________________________
> Linuxppc-embedded mailing list
> Linuxppc-embedded@ozlabs.org
> https://ozlabs.org/mailman/listinfo/linuxppc-embedded
>
>
--
Sincerely,
Vitaly
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Unable to open an initial console
2005-12-16 20:01 Unable to open an initial console Addison Baldwin
2005-12-16 20:09 ` Vitaly Bordug
@ 2005-12-17 5:23 ` Nigel Cunningham
1 sibling, 0 replies; 4+ messages in thread
From: Nigel Cunningham @ 2005-12-17 5:23 UTC (permalink / raw)
To: Addison Baldwin; +Cc: linuxppc-embedded
Hi.
On Sat, 2005-12-17 at 06:01, Addison Baldwin wrote:
> I was sucessful to port U-Boot to our 8272 board. Now I'm experiencing
> a problem:
>
> Our Kernel hangs with the message that says it was trasnferring
> control to linux. A post morten analyzes indicated that it stopped at
> "Unable to open an initial console" in the memory sapce where console
> output should be out (in the sdram, like I had found somewhere in this
> list, how to do it).
>
> I have checked the bootargs values, it is ok:
> bootargs root=/dev/ram console=ttyS0,115200
>
> We also checked our "/dev" and there was a link to console, pointing
> ttyS0. Also, ttyS0 was there too.
Are you using an initrd or initramfs? If so, the device node needs to
exist on that filesystem. This message will only occur if the kernel is
unable to open /dev/console for rw access.
Hope this helps.
Nigel
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Unable to open an initial console
2005-12-16 20:09 ` Vitaly Bordug
@ 2005-12-19 12:17 ` Addison Baldwin
0 siblings, 0 replies; 4+ messages in thread
From: Addison Baldwin @ 2005-12-19 12:17 UTC (permalink / raw)
To: Vitaly Bordug; +Cc: linuxppc-embedded
Thank you!
I had to create the /dev/ttyCPM0 and had to point /dev/console to it.
Now the console is working fine!
Best Regards,
Addison Baldwin
On 12/16/05, Vitaly Bordug <vbordug@ru.mvista.com> wrote:
> Addison Baldwin wrote:
> > I was sucessful to port U-Boot to our 8272 board. Now I'm experiencing
> > a problem:
> >
> > Our Kernel hangs with the message that says it was trasnferring
> > control to linux. A post morten analyzes indicated that it stopped at
> > "Unable to open an initial console" in the memory sapce where console
> > output should be out (in the sdram, like I had found somewhere in this
> > list, how to do it).
> >
> > I have checked the bootargs values, it is ok:
> > bootargs root=3D/dev/ram console=3DttyS0,115200
> >
> Only for 2.4, 2.6 is different for this.
> console=3DttyCPM0 should be there, and that device does have different ma=
jor/minor comparing to ttyS0.
> Note that the UART has to be enabled explicitly in kernel config, for mor=
e info, search this list archives.
>
> > We also checked our "/dev" and there was a link to console, pointing
> > ttyS0. Also, ttyS0 was there too.
> >
> > Does anyone have any idea how to fix it?
> > _______________________________________________
> > Linuxppc-embedded mailing list
> > Linuxppc-embedded@ozlabs.org
> > https://ozlabs.org/mailman/listinfo/linuxppc-embedded
> >
> >
>
>
> --
> Sincerely,
> Vitaly
>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2005-12-19 12:17 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-12-16 20:01 Unable to open an initial console Addison Baldwin
2005-12-16 20:09 ` Vitaly Bordug
2005-12-19 12:17 ` Addison Baldwin
2005-12-17 5:23 ` Nigel Cunningham
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).