View previous topic :: View next topic |
Author |
Message |
Deanalator n00b
Joined: 27 Feb 2004 Posts: 8
|
Posted: Mon Aug 15, 2005 6:53 pm Post subject: udev vs devfs causing network problems |
|
|
Ive been building my kernel with devfs support for a while now, and from the looks of it, 2.6.13 has now completely removed it from the kernel tree.
The only real thing thats changed is that /dev/mouse moved to /dev/input/mouse0, and for some reason I havnt figured out yet, DHCP isnt working. I can see the interface with ifconfig, and when I dhcp, my logs say im sending out a DHCP discover, but nothing happens.
Also of note, my list of mounts changed from this
/dev/hda1 on / type reiserfs (rw)
none on /dev type devfs (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw)
/dev/hdb1 on /160 type xfs (rw,noexec,nosuid,nodev)
none on /dev/shm type tmpfs (rw)
usbfs on /proc/bus/usb type usbfs (rw,devmode=0664,devgid=85)
to this
/dev/hda1 on / type reiserfs (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
udev on /dev type tmpfs (rw,nosuid)
devpts on /dev/pts type devpts (rw)
/dev/hdb1 on /160 type xfs (rw,noexec,nosuid,nodev)
none on /dev/shm type tmpfs (rw)
usbfs on /proc/bus/usb type usbfs (rw,devmode=0664,devgid=85)
Has anyone seen this before, or know anything that can help me understand whats going on? Im using an 8139too card, and it always works when I boot back into a kernel with devfs support. Any help would be greatly appreciated, thanks! _________________ [(CRAYON)]> |
|
Back to top |
|
|
Spiffster Tux's lil' helper
Joined: 27 Jun 2004 Posts: 119 Location: Nærum, Denmark
|
Posted: Mon Aug 15, 2005 7:54 pm Post subject: Re: udev vs devfs causing network problems |
|
|
Deanalator wrote: | The only real thing thats changed is that /dev/mouse moved to /dev/input/mouse0, and for some reason I havnt figured out yet, DHCP isnt working. I can see the interface with ifconfig, and when I dhcp, my logs say im sending out a DHCP discover, but nothing happens. |
Have you configured udev properly? Take a look at http://www.gentoo.org/doc/en/udev-guide.xml.
Also, the /dev/mouse not existing after switching to udev is quite normal, as well as some other device-nodes. It should however be simply a matter of creating a symlink to the desired device:
Code: | ln -s /dev/input/mouse0 /dev/mouse |
If udev is configured correctly, it will save the symlinks when you shut down the machine, and restore them on next bootup (this is the RC_DEVICE_TARBALL in /etc/conf.d/rc).
I really think it sounds strange that the DHCP-problem should be related to the switch to udev. Are you confident you havent changed other kernel options? Not being able to get a DHCP-address could be related to iptables blocking the reply (or even not allowing the request to be sent out).
Perhaps you could try switchin to udev on the old kernel, to see if that causes the network to malfunction. The quide above should provide the necessary steps. I switched all my Gentoo-machines to udev a while back, and after a little tinkering with the configuration and creating the needed symlinks, it works very well. _________________ Mikkel Holm Olsen
AKA Spaceman Spiff
http://symlink.dk |
|
Back to top |
|
|
dsd Developer
Joined: 30 Mar 2003 Posts: 2162 Location: nr London
|
Posted: Mon Aug 15, 2005 10:34 pm Post subject: |
|
|
udev is a simple application that just does the equivalent of running "mknod" a few times.. it doesnt do anything that would interfere with network traffic.
which kernel/device-manager combinations are you looking at? _________________ http://dev.gentoo.org/~dsd |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|