nanogui: Re: [iPAQ] Boot prompt on ipaq... Help needed
Subject:
Re: [iPAQ] Boot prompt on ipaq... Help needed
From:
"Sridharan Subramanian" ####@####.####
Date:
27 Feb 2001 18:01:03 -0000
Message-Id: <3A9BEBD6.DDB3BB7@email.sps.mot.com>
Okay, I just figured out what the problem was. But I don't understand why my
solution should work.
I basically removed the line:
irattach /dev/ttyS2
from my start-up script.
So now it does not load the irda device.
The login prompt appears perfectly.
Can anyone, please explain to me how ttyS2 and ttySA0 interfere????
By the way, I am using the latest kernel from handhelds.org,
microwindows-.89-pre7, bootloader 2.10.5 and latest root and init images.
Thanks,
Sri.
Sridharan Subramanian wrote:
> I am running the microwindows in the background (with an &). But I still am
> not getting the login root.
>
> Tomasz, I do have getty in my /etc/inittab,:
> TO:23:respawn:/sbin/getty -L ttySA0 115200 vt100
>
> My start up script (under init.d) has the following code (only the start,
> stop and status parts shown):
>
> start)
> echo -n "Starting Nano-X:"
> if [ -s /var/run/nanox.pid ] && \
> kill -0 `cat /var/run/nanox.pid` 2>/dev/null ; then
> echo " Nano-X is already running."
> else
> echo " Nano-X"
> irattach /dev/ttyS2
> nano-X -p -e &
> nxkbd &
> nxterm &
> nanowm &
> fi
> ;;
>
> stop)
> echo -n "Shutting down Nano-X:"
> PID=`cat /var/run/nanox.pid`
> kill $PID
> echo -n " Nano-X"
> echo "."
> EXITCODE=0
> ;;
>
> status)
> pid=`pidof nano-X`
> if [ "$pid" != "" ] ; then
> echo "Nano-X (pid $pid) is running..."
> EXITCODE=0
> else
> echo "Nano-X is stopped"
> EXITCODE=3
> fi
> ;;
>
> Any advise appreciated.
>
> Thanks.
>
> "Alexander S. Guy" wrote:
>
> > On Mon, Feb 26, 2001 at 11:45:17AM -0600, Sridharan Subramanian wrote:
> >
> > [snip]
> >
> > > Is it a problem in my startup scripts or kernel or microwindows
> > > compilation?
> >
> > It's probably your startup scripts.. How are you starting up microwindows?
> > Are you making sure to background it?
> >
> > Alexander