* [Buildroot] Generic serial port disappear after udev started
@ 2011-06-10 16:41 Dwi Sasongko Supriyadi
2011-06-10 17:19 ` Khem Raj
2011-06-10 18:49 ` Michael S. Zick
0 siblings, 2 replies; 8+ messages in thread
From: Dwi Sasongko Supriyadi @ 2011-06-10 16:41 UTC (permalink / raw)
To: buildroot
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
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
--
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20110610/a38ef8a0/attachment.html>
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Buildroot] Generic serial port disappear after udev started
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
1 sibling, 1 reply; 8+ messages in thread
From: Khem Raj @ 2011-06-10 17:19 UTC (permalink / raw)
To: buildroot
On (10/06/11 23:41), 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.
Do you have ttySAC0 listed in /etc/securetty and /etc/inittab ?
>
> VFS: Mounted root (nfs filesystem).
> Freeing init memory: 624K
> Populating /dev using udev: done
> 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
>
>
>
> --
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
--
-Khem
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Buildroot] Generic serial port disappear after udev started
2011-06-10 17:19 ` Khem Raj
@ 2011-06-10 18:03 ` Dwi Sasongko Supriyadi
0 siblings, 0 replies; 8+ messages in thread
From: Dwi Sasongko Supriyadi @ 2011-06-10 18:03 UTC (permalink / raw)
To: buildroot
On Sat, Jun 11, 2011 at 12:19 AM, Khem Raj <raj.khem@gmail.com> wrote:
> On (10/06/11 23:41), 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.
>
> Do you have ttySAC0 listed in /etc/securetty and /etc/inittab ?
>
I do, but it does not help.
Anyway I have tried to solve it by adding this line inside "start)" section:
mknod -m 0666 /dev/ttySAC0 c 204 64
This is quiet dirty trick, but for the moment I have no more idea how to
solve it.
Can anyone suggest a better solution, please?
Thanks in advance,
DWI
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20110611/15d9ad14/attachment.html>
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Buildroot] Generic serial port disappear after udev started
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:49 ` Michael S. Zick
2011-06-11 8:18 ` Dwi Sasongko Supriyadi
2011-06-11 8:48 ` Thomas Petazzoni
1 sibling, 2 replies; 8+ messages in thread
From: Michael S. Zick @ 2011-06-10 18:49 UTC (permalink / raw)
To: buildroot
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
>
>
>
> --
>
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Buildroot] Generic serial port disappear after udev started
2011-06-10 18:49 ` Michael S. Zick
@ 2011-06-11 8:18 ` Dwi Sasongko Supriyadi
2011-06-11 8:48 ` Thomas Petazzoni
1 sibling, 0 replies; 8+ messages in thread
From: Dwi Sasongko Supriyadi @ 2011-06-11 8:18 UTC (permalink / raw)
To: buildroot
On Sat, Jun 11, 2011 at 1:49 AM, Michael S. Zick <minimod@morethan.org>wrote:
> 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?
>
Yes, right.
> that might be the problem, nfs makes files, not device nodes.
>
>
Understood. Does it mean the only solution is to mount /dev as tmpfs?
The same issue shown up when I use flash filesystem, but I did not test it,
just from memory (if I clearly recall). Later in the day I will update it.
Thanks for the support
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20110611/255f6570/attachment-0001.html>
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Buildroot] Generic serial port disappear after udev started
2011-06-10 18:49 ` Michael S. Zick
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
1 sibling, 2 replies; 8+ messages in thread
From: Thomas Petazzoni @ 2011-06-11 8:48 UTC (permalink / raw)
To: buildroot
Le Fri, 10 Jun 2011 13:49:31 -0500,
"Michael S. Zick" <minimod@morethan.org> a ?crit :
> Is /dev on nfs?
> that might be the problem, nfs makes files, not device nodes.
Huh?
I routinely use root-over-NFS, including the /dev with static device
nodes, and it works just fine.
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Buildroot] Generic serial port disappear after udev started
2011-06-11 8:48 ` Thomas Petazzoni
@ 2011-06-11 9:10 ` Dwi Sasongko Supriyadi
2011-06-11 13:38 ` Michael S. Zick
1 sibling, 0 replies; 8+ messages in thread
From: Dwi Sasongko Supriyadi @ 2011-06-11 9:10 UTC (permalink / raw)
To: buildroot
On Sat, Jun 11, 2011 at 3:48 PM, Thomas Petazzoni <
thomas.petazzoni@free-electrons.com> wrote:
> Le Fri, 10 Jun 2011 13:49:31 -0500,
> "Michael S. Zick" <minimod@morethan.org> a ?crit :
>
> > Is /dev on nfs?
> > that might be the problem, nfs makes files, not device nodes.
>
> Huh?
>
> I routinely use root-over-NFS, including the /dev with static device
> nodes, and it works just fine.
>
>
Interesting, have you tried udev package with NFS root?
Thanks
DWI
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20110611/4ea467d3/attachment.html>
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Buildroot] Generic serial port disappear after udev started
2011-06-11 8:48 ` Thomas Petazzoni
2011-06-11 9:10 ` Dwi Sasongko Supriyadi
@ 2011-06-11 13:38 ` Michael S. Zick
1 sibling, 0 replies; 8+ messages in thread
From: Michael S. Zick @ 2011-06-11 13:38 UTC (permalink / raw)
To: buildroot
On Sat June 11 2011, Thomas Petazzoni wrote:
> Le Fri, 10 Jun 2011 13:49:31 -0500,
> "Michael S. Zick" <minimod@morethan.org> a ?crit :
>
> > Is /dev on nfs?
> > that might be the problem, nfs makes files, not device nodes.
>
> Huh?
>
> I routinely use root-over-NFS, including the /dev with static device
> nodes, and it works just fine.
>
My bad. I was going from memory of a recent thread but my recollection
of the previous problem report was evidently faulty.
Previously: either 'works slow' or 'does not work'.
The other thread must have been: 'works slow'.
Mike
> Thomas
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2011-06-11 13:38 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox