[lkml]   [2001]   [Aug]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Stallion EasyIO and devfs
devfsd and the compatability links work correctly as of 2.4.8 with the
patch you provided.

This is quite possibly user error and not a kernel issue, but it seems
pppd 2.4.1 breaks once I've got the stallion card under devfsd with
compatability links.

mgetty runs on device lets say, /dev/ttyE2 (symlink to /dev/ttyE/2), and
passes off incoming connections to pppd. I'm expecting pppd is gonna want
to look at /etc/ppp/options.ttyE2, but its not.

If I change stallion.c at around line 145 from:
static char *stl_serialname = "ttyE/%d";

static char *stl_serialname = "ttyE%d";

so that the real device becomes /dev/ttyE2 rather than a symlink to
/dev/ttyE/2 pppd starts looking at the correct options file.

pppd seems to be able to handle the compatability symlinks just fine on
/dev/ttyS* devices and find the proper ppp options file to look at. So I'm
guessing they've got a hack to handle devfsd standard serial ports, or I'm
doing something wrong somewhere.


On Sun, 12 Aug 2001, Richard Gooch wrote:

> Donald Thompson writes:
> > Works correctly. Didn't patch properly into 2.4.7 properly, think it
> > just
> > had the wrong line numbers. But patching it in by hand was no problem.
> > I'm
> > missing compatability symlinks, so that I get links from /dev/ttyE/* to
> > /dev/ttyE*, but thats another problem.
> The current version of devfsd (1.3.14) should provide them. Note that
> the kernel patch and devfsd will probably be changed again, but the
> compatibility names should stay the same.
> Regards,
> Richard....
> Permanent:
> Current:

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 12:57    [W:0.028 / U:0.304 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site