From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: Tim Cussins <timcussins@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] Marvell sheeva support
Date: Thu, 12 Aug 2010 17:11:45 +0200 [thread overview]
Message-ID: <4C640F31.9000101@domain.hid> (raw)
In-Reply-To: <1281625457.2211.44.camel@domain.hid>
Tim Cussins wrote:
> On Wed, 2010-08-11 at 18:56 +0200, Gilles Chanteperdrix wrote:
>> Tim Cussins wrote:
>>> On Wed, 2010-08-11 at 18:29 +0200, Philippe Gerum wrote:
>>>> On Wed, 2010-08-11 at 17:24 +0100, Tim Cussins wrote:
>>>>> On Wed, 2010-08-11 at 17:28 +0200, Philippe Gerum wrote:
>>>>>> On Wed, 2010-08-11 at 15:58 +0100, Tim Cussins wrote:
>
>>>>>>> However, I've got a problem with busybox/getty and /dev/ttyS0 so I can't
>>>>>>> log in via console OR telnet. Once that's solved, I'll be able to run
>>>>>>> the xenomai tests. (In case you've seen it before - /var/log/messages is
>>>>>>> slowly filling with:
>>>>>>>
>>>>>>> Aug 11 16:03:36 init: starting pid 638, tty '/dev/ttyS0': '/sbin/getty
>>>>>>> 115200 ttyS0'
>>>>>>> Aug 11 16:03:36 getty[638]: ttyS0: TCGETS: Inappropriate ioctl for
>>>>>>> device
>>>>>>>
>>>>>>> )
>>>>>>>
>>>>>> Does /dev/ttyS0 have major=4, minor=64 on your rootfs?
>>>>> dev.txt (from mkrootfs) would imply that it is 4,64. Without being able
>>>>> to log in, I can't confirm though :) Unless you know a cunning trick? :D
>>>> Well, maybe. ls -l on the nfs server side exporting your rootfs :>
>>> Pfff :D All the nodes appear as regular files that way - I assumed that
>>> was normal, and that some special magic was happening in busybox to
>>> replace them with nodes... Is there something I'm not doing right?
>>>
>>> I've mounted a debian rootfs over nfs no problems - that tree has *real*
>>> nodes in it, and the show up as such using the ls -l , uh, 'trick' :P
>> It means we have an issue with fakeroot. Just run make clean, then make
>> again to see if it fixes it.
>
> For anyone following this: the files in /dev were regular files instead
> of real device nodes - hence the ioctl failure.
>
> The nodes were created in a staging tree using fakeroot. I exported the
> tree by invoking tar directly, so the files appear as regular empty
> files.
>
> The solution is to invoke tar using fakeroot: this ensures you'll get
> real device nodes in /dev.
There is a configuration option in mkrootfs to generate the tarball
directly.
--
Gilles.
next prev parent reply other threads:[~2010-08-12 15:11 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-07-12 14:10 [Xenomai-help] Marvell sheeva support Tim Cussins
2010-07-15 11:53 ` Gilles Chanteperdrix
2010-07-15 16:11 ` Philippe Gerum
2010-07-20 11:00 ` Tim Cussins
2010-07-21 6:23 ` Gilles Chanteperdrix
2010-08-11 14:58 ` Tim Cussins
2010-08-11 15:25 ` Gilles Chanteperdrix
2010-08-11 16:33 ` Tim Cussins
2010-08-11 15:28 ` Philippe Gerum
2010-08-11 16:24 ` Tim Cussins
[not found] ` <1281544161.1730.23.camel@domain.hid>
2010-08-11 16:44 ` Tim Cussins
2010-08-11 16:56 ` Gilles Chanteperdrix
2010-08-12 15:04 ` Tim Cussins
2010-08-12 15:11 ` Gilles Chanteperdrix [this message]
2010-08-11 16:30 ` Philippe Gerum
2010-08-12 15:45 ` Tim Cussins
2010-08-12 15:58 ` Philippe Gerum
2010-08-12 16:03 ` Philippe Gerum
2010-08-12 16:21 ` Tim Cussins
2010-08-16 11:00 ` Tim Cussins
2010-07-21 9:50 ` Philippe Gerum
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=4C640F31.9000101@domain.hid \
--to=gilles.chanteperdrix@xenomai.org \
--cc=timcussins@domain.hid \
--cc=xenomai@xenomai.org \
/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 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.