* [Buildroot] problem when using build cache ? @ 2012-01-31 16:10 Sagaert Johan 2012-01-31 16:23 ` Peter Korsgaard 2012-01-31 16:26 ` Thomas Petazzoni 0 siblings, 2 replies; 5+ messages in thread From: Sagaert Johan @ 2012-01-31 16:10 UTC (permalink / raw) To: buildroot Hi Using 2011.11 : The udev version in 2011.11 (v1.73) does not generate the /dev/pts nodes and as result there is no devpts in the mounts. The dev/pts is needed if you want to access the box via telnet. So I went back to udev 1.14 (package stolen from buildroot 2010.11 ) I noticed udev 1.14 does not build when the build ccache is ON. Without the build ccache it's ok. Has this something to do with the fact that the udev 1.14 package makefile is different in structure then the structure used in 2011.11 ? If you check the udev doc, it states that udev 1.73 only works with kernels >= 2.6.34 But I was using 2.6.36.1 and there where no /dev/pts nodes So there is a tight connection between udev versions and the kernel versions. Regards. Sagaert Johan -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20120131/d2523a1b/attachment-0001.html> ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] problem when using build cache ? 2012-01-31 16:10 [Buildroot] problem when using build cache ? Sagaert Johan @ 2012-01-31 16:23 ` Peter Korsgaard 2012-01-31 19:38 ` Sagaert Johan 2012-01-31 16:26 ` Thomas Petazzoni 1 sibling, 1 reply; 5+ messages in thread From: Peter Korsgaard @ 2012-01-31 16:23 UTC (permalink / raw) To: buildroot >>>>> "Sagaert" == Sagaert Johan <sagaert.johan@skynet.be> writes: Sagaert> Hi Sagaert> Using 2011.11 : Sagaert> The udev version in 2011.11 (v1.73) does not generate the /dev/pts nodes and Sagaert> as result there is no devpts in the mounts. No, but the default /etc/inittab has a mkdir -p /dev/pts Sagaert> Has this something to do with the fact that the udev 1.14 Sagaert> package makefile is different in structure then the structure Sagaert> used in 2011.11 ? Perhaps. Sagaert> If you check the udev doc, it states that udev 1.73 only works with kernels >= Sagaert> 2.6.34 Sagaert> But I was using 2.6.36.1 and there where no /dev/pts nodes Sagaert> So there is a tight connection between udev versions and the Sagaert> kernel versions. The /dev/pts issue isn't directly related to udev or the kernel, simply that devtmpfs doesn't create that mount point (and it shouldn't as no device drivers tells it to do so). -- Bye, Peter Korsgaard ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] problem when using build cache ? 2012-01-31 16:23 ` Peter Korsgaard @ 2012-01-31 19:38 ` Sagaert Johan 2012-01-31 22:20 ` Peter Korsgaard 0 siblings, 1 reply; 5+ messages in thread From: Sagaert Johan @ 2012-01-31 19:38 UTC (permalink / raw) To: buildroot Hi After some search i found that if you create a directory under /lib/udev/devices/pts then udev will create(copy) this directory under /dev so I think its not needed to do it in inittab. Johan -----Oorspronkelijk bericht----- Van: Peter Korsgaard [mailto:jacmet at gmail.com] Namens Peter Korsgaard Verzonden: dinsdag 31 januari 2012 17:24 Aan: Sagaert Johan CC: buildroot at busybox.net Onderwerp: Re: problem when using build cache ? >>>>> "Sagaert" == Sagaert Johan <sagaert.johan@skynet.be> writes: Sagaert> Hi Sagaert> Using 2011.11 : Sagaert> The udev version in 2011.11 (v1.73) does not generate the /dev/pts nodes and Sagaert> as result there is no devpts in the mounts. No, but the default /etc/inittab has a mkdir -p /dev/pts Sagaert> Has this something to do with the fact that the udev 1.14 Sagaert> package makefile is different in structure then the structure Sagaert> used in 2011.11 ? Perhaps. Sagaert> If you check the udev doc, it states that udev 1.73 only works with kernels >= Sagaert> 2.6.34 Sagaert> But I was using 2.6.36.1 and there where no /dev/pts nodes Sagaert> So there is a tight connection between udev versions and the Sagaert> kernel versions. The /dev/pts issue isn't directly related to udev or the kernel, simply that devtmpfs doesn't create that mount point (and it shouldn't as no device drivers tells it to do so). -- Bye, Peter Korsgaard ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] problem when using build cache ? 2012-01-31 19:38 ` Sagaert Johan @ 2012-01-31 22:20 ` Peter Korsgaard 0 siblings, 0 replies; 5+ messages in thread From: Peter Korsgaard @ 2012-01-31 22:20 UTC (permalink / raw) To: buildroot >>>>> "Sagaert" == Sagaert Johan <sagaert.johan@skynet.be> writes: Sagaert> Hi Sagaert> After some search i found that if you create a directory under /lib/udev/devices/pts then udev will create(copy) this directory Sagaert> under /dev so I think its not needed to do it in inittab. It is for non-udev builds, so it makes most sense to to it in /etc/inittab. -- Bye, Peter Korsgaard ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] problem when using build cache ? 2012-01-31 16:10 [Buildroot] problem when using build cache ? Sagaert Johan 2012-01-31 16:23 ` Peter Korsgaard @ 2012-01-31 16:26 ` Thomas Petazzoni 1 sibling, 0 replies; 5+ messages in thread From: Thomas Petazzoni @ 2012-01-31 16:26 UTC (permalink / raw) To: buildroot Hello, Le Tue, 31 Jan 2012 17:10:46 +0100, "Sagaert Johan" <sagaert.johan@skynet.be> a ?crit : > The udev version in 2011.11 (v1.73) does not generate the /dev/pts nodes and as result there is no devpts in the mounts. I guess you're talking about version 173 of udev, there is no such thing as 1.73. If you use udev, then your kernel must have CONFIG_DEVTMPFS and CONFIG_DEVTMPFS_MOUNT enabled. If you let Buildroot build your kernel, then Buildroot will automatically ensure that your kernel is configured with those two options enabled. If you build your kernel manually outside of Buildroot, then you must enable those options, otherwise udev will not work. I guess this is where your problem is: check your kernel configuration. > I noticed udev 1.14 does not build when the build ccache is ON. Honestly, we don't really care about udev 114 since the current Buildroot version contains udev 173, and this one appears to build properly with ccache enabled. Regards, 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] 5+ messages in thread
end of thread, other threads:[~2012-01-31 22:20 UTC | newest] Thread overview: 5+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2012-01-31 16:10 [Buildroot] problem when using build cache ? Sagaert Johan 2012-01-31 16:23 ` Peter Korsgaard 2012-01-31 19:38 ` Sagaert Johan 2012-01-31 22:20 ` Peter Korsgaard 2012-01-31 16:26 ` Thomas Petazzoni
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox