Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Michael S. Zick <minimod@morethan.org>
To: buildroot@busybox.net
Subject: [Buildroot] Generic serial port disappear after udev started
Date: Fri, 10 Jun 2011 13:49:31 -0500	[thread overview]
Message-ID: <201106101349.34083.minimod@morethan.org> (raw)
In-Reply-To: <BANLkTinE9E==rnL=NJSKkW=SELY=bZbHJg@mail.gmail.com>

On Fri June 10 2011, Dwi Sasongko Supriyadi wrote:
> Hello List,
> 
> Normally i put getty on serial port which is /dev/ttySAC0 and so far there
> is no issue with it, but after udev installed and started, the system
> complains that it can not find /dev/ttySAC0.
> 
> VFS: Mounted root (nfs filesystem).
> Freeing init memory: 624K
> Populating /dev using udev: done
>

Is /dev on nfs?
that might be the problem, nfs makes files, not device nodes.

Mike
> Starting portmap: done
> Initializing random number generator... done.
> Starting system message bus: Failed to start message bus: The pid file
> "/var/run/messagebus.pid" exists, if the message bus is not running, remove
> this file
> done
> Starting network...
> ifup: interface lo already configured
> Starting sshd: /var/empty must be owned by root and not group or
> world-writable.
> OK
> /etc/init.d/dhcp-relay not yet configured! - Aborting...
> /etc/init.d/dhcp-server not yet configured! - Aborting...
> Starting HAL daemon: done
> can't open /dev/ttySAC0: No such file or directory
> can't open /dev/ttySAC0: No such file or directory
> 
> I thought that there is issue with udev rules and this could be related with
> device_table.txt, but it seems wrong. When I added following line to
> device_table.txt
> 
> /dev/ttySAC     c       666     0       0       204     64      0       1
>     4
> 
> udev rules (etc/udev/rules.d/50-udev-default.rules) does not change. Then I
> edit etc/udev/rules.d/50-udev-default.rules manually added following line:
> 
> KERNEL=="ttySAC[0-3]*",       NAME="%k", OWNER="root"  GROUP="tty",
> MODE="0660"
> 
> but still, the system complains that it can not find /dev/ttySAC0
> 
> Could anyone please point me to the right direction?
> 
> Currently I am still looking for the answer on Google as well as udev
> manual, when it solved I will post it.
> 
> Thanks in advance,
> DWI
> 
> 
> 
> --
> 

  parent reply	other threads:[~2011-06-10 18:49 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-10 16:41 [Buildroot] Generic serial port disappear after udev started Dwi Sasongko Supriyadi
2011-06-10 17:19 ` Khem Raj
2011-06-10 18:03   ` Dwi Sasongko Supriyadi
2011-06-10 18:49 ` Michael S. Zick [this message]
2011-06-11  8:18   ` Dwi Sasongko Supriyadi
2011-06-11  8:48   ` Thomas Petazzoni
2011-06-11  9:10     ` Dwi Sasongko Supriyadi
2011-06-11 13:38     ` Michael S. Zick

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201106101349.34083.minimod@morethan.org \
    --to=minimod@morethan.org \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox