* Serial Console Problem
@ 2002-12-13 21:21 David Rees
0 siblings, 0 replies; 5+ messages in thread
From: David Rees @ 2002-12-13 21:21 UTC (permalink / raw)
To: linux-kernel
Not sure if this is quite on topic for linux-kernel but I couldn't find
answers anywhere else so here goes:
I've got a couple systems where I've configured ttyS0 as a serial
console. Everything works fine when a cable is plugged in and a
terminal is listening on the other side. The kernel in question is
2.4.20.
However, unplugging the cable and rebooting results in the boot process
hanging. It appears that the kernel is waiting for the serial port
acknoledge the fact that it is writing data.
What's strange is that this is a problem on one machine, but doesn't
appear to be a problem on another.
Anyone have any ideas on how to work around this issue besides leaving a
terminal hooked up all the time?
-Dave
^ permalink raw reply [flat|nested] 5+ messages in thread
* serial console problem
@ 2014-03-26 10:06 Yi Qingliang
2014-03-26 10:16 ` Jacob Kroon
2014-03-26 10:27 ` Yi Qingliang
0 siblings, 2 replies; 5+ messages in thread
From: Yi Qingliang @ 2014-03-26 10:06 UTC (permalink / raw)
To: Patches and discussions about the oe-core layer
Hi,
after update to the latest git version of poky, my image can't start
the serial console, i.e. I can't login, I'm using systemd as the init
manager. any idea?
log:
Freeing init memory: 132K
systemd[1]: systemd 211 running in system mode. (-PAM +LIBWRAP -
AUDIT -SELINUX +IMA +SYSVINIT -LIBCRYPTSETUP -GCRYPT +ACL +XZ -
SECCOMP -APPARMOR)
systemd[1]: Detected architecture 'arm'.
Welcome to Linux!
systemd[1]: Failed to insert module 'autofs4'
systemd[1]: Failed to insert module 'ipv6'
systemd[1]: Set hostname to <kl360>.
systemd[1]: Initializing machine ID from random generator.
systemd[1]: Starting Forward Password Requests to Wall Directory
Watch.
systemd[1]: Started Forward Password Requests to Wall Directory
Watch.
systemd[1]: Expecting device dev-ttySAC0.device...
Expecting device dev-ttySAC0.device...
systemd[1]: Starting Remote File Systems.
[ OK ] Reached target Remote File Systems.
systemd[1]: Reached target Remote File Systems.
systemd[1]: Starting Dispatch Password Requests to Console Directory
Watch.
systemd[1]: Started Dispatch Password Requests to Console Directory
Watch.
systemd[1]: Starting Paths.
[ OK ] Reached target Paths.
systemd[1]: Reached target Paths.
systemd[1]: Set up automount Arbitrary Executable File Formats File
System Automount Point.
systemd[1]: Starting Swap.
[ OK ] Reached target Swap.
systemd[1]: Reached target Swap.
systemd[1]: Starting Root Slice.
[ OK ] Created slice Root Slice.
systemd[1]: Created slice Root Slice.
systemd[1]: Starting Journal Socket.
[ OK ] Listening on Journal Socket.
systemd[1]: Listening on Journal Socket.
systemd[1]: Starting udev Control Socket.
[ OK ] Listening on udev Control Socket.
systemd[1]: Listening on udev Control Socket.
systemd[1]: Starting Delayed Shutdown Socket.
[ OK ] Listening on Delayed Shutdown Socket.
systemd[1]: Listening on Delayed Shutdown Socket.
systemd[1]: Starting /dev/initctl Compatibility Named Pipe.
[ OK ] Listening on /dev/initctl Compatibility Named Pipe.
systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
systemd[1]: Starting udev Kernel Socket.
[ OK ] Listening on udev Kernel Socket.
systemd[1]: Listening on udev Kernel Socket.
systemd[1]: Starting User and Session Slice.
[ OK ] Created slice User and Session Slice.
systemd[1]: Created slice User and Session Slice.
systemd[1]: Starting System Slice.
[ OK ] Created slice System Slice.
systemd[1]: Created slice System Slice.
systemd[1]: Started Set Up Additional Binary Formats.
systemd[1]: Starting Journal Service...
Starting Journal Service...
[ OK ] Started Journal Service.
systemd[1]: Started Journal Service.
Starting Apply Kernel Variables...
Mounting POSIX Message Queue File System...
Starting Create list of required static device nodes...rrent
kernel...
Starting udev Coldplug all Devices...
Mounting Temporary Directory...
Starting Remount Root and Kernel File Systems...
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: serial console problem
2014-03-26 10:06 serial console problem Yi Qingliang
@ 2014-03-26 10:16 ` Jacob Kroon
2014-03-26 10:35 ` Yi Qingliang
2014-03-26 10:27 ` Yi Qingliang
1 sibling, 1 reply; 5+ messages in thread
From: Jacob Kroon @ 2014-03-26 10:16 UTC (permalink / raw)
To: Yi Qingliang; +Cc: Patches and discussions about the oe-core layer
[-- Attachment #1: Type: text/plain, Size: 3609 bytes --]
Hi Yi,
On Wed, Mar 26, 2014 at 11:06 AM, Yi Qingliang <niqingliang2003@gmail.com>wrote:
> Hi,
> after update to the latest git version of poky, my image can't
> start
> the serial console, i.e. I can't login, I'm using systemd as the init
> manager. any idea?
>
> log:
>
> Freeing init memory: 132K
> systemd[1]: systemd 211 running in system mode. (-PAM +LIBWRAP -
> AUDIT -SELINUX +IMA +SYSVINIT -LIBCRYPTSETUP -GCRYPT +ACL +XZ -
> SECCOMP -APPARMOR)
> systemd[1]: Detected architecture 'arm'.
>
> Welcome to Linux!
>
> systemd[1]: Failed to insert module 'autofs4'
> systemd[1]: Failed to insert module 'ipv6'
> systemd[1]: Set hostname to <kl360>.
> systemd[1]: Initializing machine ID from random generator.
> systemd[1]: Starting Forward Password Requests to Wall Directory
> Watch.
> systemd[1]: Started Forward Password Requests to Wall Directory
> Watch.
> systemd[1]: Expecting device dev-ttySAC0.device...
> Expecting device dev-ttySAC0.device...
> systemd[1]: Starting Remote File Systems.
> [ OK ] Reached target Remote File Systems.
> systemd[1]: Reached target Remote File Systems.
> systemd[1]: Starting Dispatch Password Requests to Console Directory
> Watch.
> systemd[1]: Started Dispatch Password Requests to Console Directory
> Watch.
> systemd[1]: Starting Paths.
> [ OK ] Reached target Paths.
> systemd[1]: Reached target Paths.
> systemd[1]: Set up automount Arbitrary Executable File Formats File
> System Automount Point.
> systemd[1]: Starting Swap.
> [ OK ] Reached target Swap.
> systemd[1]: Reached target Swap.
> systemd[1]: Starting Root Slice.
> [ OK ] Created slice Root Slice.
> systemd[1]: Created slice Root Slice.
> systemd[1]: Starting Journal Socket.
> [ OK ] Listening on Journal Socket.
> systemd[1]: Listening on Journal Socket.
> systemd[1]: Starting udev Control Socket.
> [ OK ] Listening on udev Control Socket.
> systemd[1]: Listening on udev Control Socket.
> systemd[1]: Starting Delayed Shutdown Socket.
> [ OK ] Listening on Delayed Shutdown Socket.
> systemd[1]: Listening on Delayed Shutdown Socket.
> systemd[1]: Starting /dev/initctl Compatibility Named Pipe.
> [ OK ] Listening on /dev/initctl Compatibility Named Pipe.
> systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
> systemd[1]: Starting udev Kernel Socket.
> [ OK ] Listening on udev Kernel Socket.
> systemd[1]: Listening on udev Kernel Socket.
> systemd[1]: Starting User and Session Slice.
> [ OK ] Created slice User and Session Slice.
> systemd[1]: Created slice User and Session Slice.
> systemd[1]: Starting System Slice.
> [ OK ] Created slice System Slice.
> systemd[1]: Created slice System Slice.
> systemd[1]: Started Set Up Additional Binary Formats.
> systemd[1]: Starting Journal Service...
> Starting Journal Service...
> [ OK ] Started Journal Service.
> systemd[1]: Started Journal Service.
> Starting Apply Kernel Variables...
> Mounting POSIX Message Queue File System...
> Starting Create list of required static device nodes...rrent
> kernel...
> Starting udev Coldplug all Devices...
> Mounting Temporary Directory...
> Starting Remount Root and Kernel File Systems...
>
>
I had a very similar problem on my Wandboard, using latest systemd 211.
The solution for me was to enable CONFIG_FHANDLE in the kernel
configuration.
Maybe that could work for you aswell.
Which makes me wonder if there is any sort infrastructre for handling
kernel config. deps.
/Jacob
[-- Attachment #2: Type: text/html, Size: 4247 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: serial console problem
2014-03-26 10:06 serial console problem Yi Qingliang
2014-03-26 10:16 ` Jacob Kroon
@ 2014-03-26 10:27 ` Yi Qingliang
1 sibling, 0 replies; 5+ messages in thread
From: Yi Qingliang @ 2014-03-26 10:27 UTC (permalink / raw)
To: Patches and discussions about the oe-core layer
On Wednesday, March 26, 2014 06:06:36 PM Yi Qingliang wrote:
> Hi,
> after update to the latest git version of poky, my image can't start
> the serial console, i.e. I can't login, I'm using systemd as the init
> manager. any idea?
>
> log:
>
> Freeing init memory: 132K
> systemd[1]: systemd 211 running in system mode. (-PAM +LIBWRAP -
> AUDIT -SELINUX +IMA +SYSVINIT -LIBCRYPTSETUP -GCRYPT +ACL +XZ -
> SECCOMP -APPARMOR)
> systemd[1]: Detected architecture 'arm'.
>
> Welcome to Linux!
>
> systemd[1]: Failed to insert module 'autofs4'
> systemd[1]: Failed to insert module 'ipv6'
> systemd[1]: Set hostname to <kl360>.
> systemd[1]: Initializing machine ID from random generator.
> systemd[1]: Starting Forward Password Requests to Wall Directory
> Watch.
> systemd[1]: Started Forward Password Requests to Wall Directory
> Watch.
> systemd[1]: Expecting device dev-ttySAC0.device...
> Expecting device dev-ttySAC0.device...
> systemd[1]: Starting Remote File Systems.
> [ OK ] Reached target Remote File Systems.
> systemd[1]: Reached target Remote File Systems.
> systemd[1]: Starting Dispatch Password Requests to Console
Directory
> Watch.
> systemd[1]: Started Dispatch Password Requests to Console
Directory
> Watch.
> systemd[1]: Starting Paths.
> [ OK ] Reached target Paths.
> systemd[1]: Reached target Paths.
> systemd[1]: Set up automount Arbitrary Executable File Formats File
> System Automount Point.
> systemd[1]: Starting Swap.
> [ OK ] Reached target Swap.
> systemd[1]: Reached target Swap.
> systemd[1]: Starting Root Slice.
> [ OK ] Created slice Root Slice.
> systemd[1]: Created slice Root Slice.
> systemd[1]: Starting Journal Socket.
> [ OK ] Listening on Journal Socket.
> systemd[1]: Listening on Journal Socket.
> systemd[1]: Starting udev Control Socket.
> [ OK ] Listening on udev Control Socket.
> systemd[1]: Listening on udev Control Socket.
> systemd[1]: Starting Delayed Shutdown Socket.
> [ OK ] Listening on Delayed Shutdown Socket.
> systemd[1]: Listening on Delayed Shutdown Socket.
> systemd[1]: Starting /dev/initctl Compatibility Named Pipe.
> [ OK ] Listening on /dev/initctl Compatibility Named Pipe.
> systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
> systemd[1]: Starting udev Kernel Socket.
> [ OK ] Listening on udev Kernel Socket.
> systemd[1]: Listening on udev Kernel Socket.
> systemd[1]: Starting User and Session Slice.
> [ OK ] Created slice User and Session Slice.
> systemd[1]: Created slice User and Session Slice.
> systemd[1]: Starting System Slice.
> [ OK ] Created slice System Slice.
> systemd[1]: Created slice System Slice.
> systemd[1]: Started Set Up Additional Binary Formats.
> systemd[1]: Starting Journal Service...
> Starting Journal Service...
> [ OK ] Started Journal Service.
> systemd[1]: Started Journal Service.
> Starting Apply Kernel Variables...
> Mounting POSIX Message Queue File System...
> Starting Create list of required static device nodes...rrent
> kernel...
> Starting udev Coldplug all Devices...
> Mounting Temporary Directory...
> Starting Remount Root and Kernel File Systems..
>
after CONFIG_FHANDLE=y in kernel, everything OK!
please refer:
http://lists.freedesktop.org/archives/systemd-devel/2014-February/016927.html
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: serial console problem
2014-03-26 10:16 ` Jacob Kroon
@ 2014-03-26 10:35 ` Yi Qingliang
0 siblings, 0 replies; 5+ messages in thread
From: Yi Qingliang @ 2014-03-26 10:35 UTC (permalink / raw)
To: Jacob Kroon; +Cc: Patches and discussions about the oe-core layer
On Wednesday, March 26, 2014 11:16:44 AM Jacob Kroon wrote:
> Hi Yi,
>
> On Wed, Mar 26, 2014 at 11:06 AM, Yi Qingliang
<niqingliang2003@gmail.com>wrote:
> > Hi,
> >
> > after update to the latest git version of poky, my image can't
> >
> > start
> > the serial console, i.e. I can't login, I'm using systemd as the init
> > manager. any idea?
> >
> > log:
> >
> > Freeing init memory: 132K
> > systemd[1]: systemd 211 running in system mode. (-PAM +LIBWRAP
-
> > AUDIT -SELINUX +IMA +SYSVINIT -LIBCRYPTSETUP -GCRYPT +ACL +XZ
-
> > SECCOMP -APPARMOR)
> > systemd[1]: Detected architecture 'arm'.
> >
> > Welcome to Linux!
> >
> > systemd[1]: Failed to insert module 'autofs4'
> > systemd[1]: Failed to insert module 'ipv6'
> > systemd[1]: Set hostname to <kl360>.
> > systemd[1]: Initializing machine ID from random generator.
> > systemd[1]: Starting Forward Password Requests to Wall Directory
> > Watch.
> > systemd[1]: Started Forward Password Requests to Wall Directory
> > Watch.
> > systemd[1]: Expecting device dev-ttySAC0.device...
> >
> > Expecting device dev-ttySAC0.device...
> >
> > systemd[1]: Starting Remote File Systems.
> > [ OK ] Reached target Remote File Systems.
> > systemd[1]: Reached target Remote File Systems.
> > systemd[1]: Starting Dispatch Password Requests to Console
Directory
> > Watch.
> > systemd[1]: Started Dispatch Password Requests to Console
Directory
> > Watch.
> > systemd[1]: Starting Paths.
> > [ OK ] Reached target Paths.
> > systemd[1]: Reached target Paths.
> > systemd[1]: Set up automount Arbitrary Executable File Formats
File
> > System Automount Point.
> > systemd[1]: Starting Swap.
> > [ OK ] Reached target Swap.
> > systemd[1]: Reached target Swap.
> > systemd[1]: Starting Root Slice.
> > [ OK ] Created slice Root Slice.
> > systemd[1]: Created slice Root Slice.
> > systemd[1]: Starting Journal Socket.
> > [ OK ] Listening on Journal Socket.
> > systemd[1]: Listening on Journal Socket.
> > systemd[1]: Starting udev Control Socket.
> > [ OK ] Listening on udev Control Socket.
> > systemd[1]: Listening on udev Control Socket.
> > systemd[1]: Starting Delayed Shutdown Socket.
> > [ OK ] Listening on Delayed Shutdown Socket.
> > systemd[1]: Listening on Delayed Shutdown Socket.
> > systemd[1]: Starting /dev/initctl Compatibility Named Pipe.
> > [ OK ] Listening on /dev/initctl Compatibility Named Pipe.
> > systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
> > systemd[1]: Starting udev Kernel Socket.
> > [ OK ] Listening on udev Kernel Socket.
> > systemd[1]: Listening on udev Kernel Socket.
> > systemd[1]: Starting User and Session Slice.
> > [ OK ] Created slice User and Session Slice.
> > systemd[1]: Created slice User and Session Slice.
> > systemd[1]: Starting System Slice.
> > [ OK ] Created slice System Slice.
> > systemd[1]: Created slice System Slice.
> > systemd[1]: Started Set Up Additional Binary Formats.
> > systemd[1]: Starting Journal Service...
> >
> > Starting Journal Service...
> >
> > [ OK ] Started Journal Service.
> > systemd[1]: Started Journal Service.
> >
> > Starting Apply Kernel Variables...
> > Mounting POSIX Message Queue File System...
> > Starting Create list of required static device nodes...rrent
> >
> > kernel...
> >
> > Starting udev Coldplug all Devices...
> > Mounting Temporary Directory...
> > Starting Remount Root and Kernel File Systems...
>
> I had a very similar problem on my Wandboard, using latest systemd
211.
> The solution for me was to enable CONFIG_FHANDLE in the kernel
> configuration.
> Maybe that could work for you aswell.
> Which makes me wonder if there is any sort infrastructre for handling
> kernel config. deps.
> /Jacob
thanks! it work now.
the kernel config is a problem. my own kernel can't follow the change
closely.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2014-03-26 10:36 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-12-13 21:21 Serial Console Problem David Rees
-- strict thread matches above, loose matches on Subject: below --
2014-03-26 10:06 serial console problem Yi Qingliang
2014-03-26 10:16 ` Jacob Kroon
2014-03-26 10:35 ` Yi Qingliang
2014-03-26 10:27 ` Yi Qingliang
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.