[BusyBox] telnetd in kernel 2.6 segfaults (devfs)

Rob Landley rob at landley.net
Thu Feb 10 03:34:50 UTC 2005


On Wednesday 09 February 2005 03:52 pm, Ignacio García Pérez wrote:
> After some more investigation, I think it is not a busybox related problem:
>
> In kernel 2.4, if you execute "cat /dev/ptmx" in one console, and do a
> "ls -la /dev/pts", you'll see a "0" file which is the slave PTY
> corresponding to the open("/dev/ptmx") that the "cat" does.
>
> If you do the same in kernel 2.6, no "0" file appears. The ptsname() call
> sets errno = ENOENT ("No such file...").
>
> I think it's very unlikely that it is a kernel 2.6 bug (I'm using 2.6.9),
> because it would be SO evident it would have been fixed before the release.
> So it is most likely to be a problem caused by the combination of kernel
> 2.6, glibc, and my minimal root filesystem. I'm probably missing something
> glibc requires, though I've examined the glibc sources and just can't
> imagine what it is.

Just confirming that you did compile in and mount devpts, right?

Rob



More information about the busybox mailing list