devfs
[Top] [All Lists]

network cards, loadable modules, and 3dfx.o

To: devfs@xxxxxxxxxxx
Subject: network cards, loadable modules, and 3dfx.o
From: Chris the Elder <chippo@xxxxxxxxxxxxxxx>
Date: Mon, 24 Apr 2000 12:03:57 +0200
Sender: owner-devfs@xxxxxxxxxxx
Hi all,

While converting my machine to devfs, I've had a few problems.

The most important one is that I can't find the device entry for
my ethernet card.  Where in /dev will the entry be?  The 3c905
driver is built in (not module).  A slightly related wierdness, is
that since converting to devfs, the kernel doesn't print anthing
about the enet card during the boot.  The
/usr/src/linux/Documentation/filesystems/devfs/README
doesn't mention network devices.

Since I've got 128M memory, I have no real need to have
everything compiled as modules, but I also would expect devfs
to work fine with modules.  I was unable to mount my cdrom
drive while it was built as a module.  Prior to converting to
devfs this worked fine.  It works fine with the cdrom driver built
into the kernel.  My /etc/fstab reads:
/dev/cdrom  /cdrom        iso9660 noauto,user,exec,ro  0 0
My /etc/devfsd.conf reads:
REGISTER cdroms/cdrom0 CFUNCTION GLOBAL symlink $devname cdrom
UNREGISTER cdroms/cdrom0 CFUNCTION GLOBAL unlink cdrom

What should I be doing to mount CDs with the cdrom built as
a module?

Finally, I posted a question about the 3dfx driver and devfs
on the kernel mailing list, which several of you saw.  Jim Radford
replied to me and told me that what I needed to do was add:
LOOKUP     3dfx   EXECUTE     /bin/mknod $devpath c 107 0
to my devfsd.conf.  I haven't got this to work yet, but I think that
it is a permissions problem at this stage.  The patches I was
referring to, are the (probably non-existent) patches to apply
to make 3dfx register with devfs.

Cheers,
chippo


<Prev in Thread] Current Thread [Next in Thread>