etho_not_see
Hi, I have a problem: my ethernet card is not deteched by kernel bare.i, every time I have tu run rc.hotplug script and after it works well. Why?
bye bye! |
What kind of ethernet card are you using ? PCI slot or PCMCIA ?
Please provide information about the Slackware version (11.0) and its kernel (2.4.33.3 ?) If the driver for your card is not compiled in the kernel (either as stock or as module), I guess, you need to run hotplug to have it detected. Also could you post the following file /usr/src/linux/.config (it's the configuration file of the kernel). |
Hi, I have a slack 10.2 and a pci ethernet card. I can't send my .config file because is too big, but I look in and I send jus this part, I think is enough:
# Ethernet (10 or 100Mbit) # CONFIG_NET_ETHERNET=y # CONFIG_SUNLANCE is not set CONFIG_HAPPYMEAL=m # CONFIG_SUNBMAC is not set # CONFIG_SUNQE is not set CONFIG_SUNGEM=m CONFIG_NET_VENDOR_3COM=y CONFIG_EL1=m CONFIG_EL2=m CONFIG_ELPLUS=m CONFIG_EL16=m CONFIG_EL3=m CONFIG_3C515=m # CONFIG_ELMC is not set # CONFIG_ELMC_II is not set CONFIG_VORTEX=m CONFIG_TYPHOON=m CONFIG_LANCE=m CONFIG_NET_VENDOR_SMC=y CONFIG_WD80x3=m # CONFIG_ULTRAMCA is not set CONFIG_ULTRA=m # CONFIG_ULTRA32 is not set CONFIG_SMC9194=m CONFIG_NET_VENDOR_RACAL=y CONFIG_NI5010=m CONFIG_NI52=m CONFIG_NI65=m CONFIG_AT1700=m CONFIG_DEPCA=m CONFIG_HP100=m # CONFIG_NET_ISA is not set # CONFIG_NET_PCI is not set # CONFIG_NET_POCKET is not set thank a lot for your help |
Do you know which card you are using ?
please send the result of the following commands; lspci -v and after running hotplug dmesg | less > dmesg.log the last command will create a dmesg.log file and try to post the last part where hotplug should log what is detected |
A question that does not require so much output: is hotplug enabled on boot (i.e. is /etc/rc.d/rc.hotplug executable)?
Please be more specific about your hardware, and your Slackware configuration, if you want anyone to answer you with any relevancy to the problem. Eric |
Quote:
|
Well... yeah, that is exactly what hotplug's function is - to automatically load drivers for your hardware.
The kernel does not "do" that for you; if you disable hotplug you will have to load the drivers yourself - like, by adding a "modprobe" line to /etc/rc.d/rc.modules. So, don't complain that your card does not work because you have to run run rc.hotplug manually. I really don't understand what it is you're trying to convey here. Eric |
Alien Bob,
Quote:
As cristianpaul is a newbie, I assume that it was for me. First I don't take any offense to your remark, so here I try to explain my point: - if you don't want to have hotplug automatically running at boot time to detect a PCI card that is always here and at the same time to save boot time, it's better to add a line in /etc/rc.modules once and for all to load the driver. - I hoped that cristianpaul would be more than happy to learn that tip (e.g. add a modprobe line in /etc/rc.modules to load a driver). That's all. |
I did not mean to sound harsh, so I'll try to be a bit clearer on my part - no offense was intended indeed.
The term "hotplug" is a bit misleading since hotplug is also used for "coldplugging", i.e. discovering hardware during boot and loading the apropriate drivers for it. So, although disabling hotplug can make your system boot up faster (because the hardware discovery phase is skipped) you will have to do the hardware "discovery" yourself, and add commands to the rc scripts that load the drivers for your hardware. This is usually a one-time job: the time when you install Slackware. Hotplug, and now udev, were designed to make running linux easier, but they are not required. They do have the potential to give you a computer where Linux will run out of the box with all hardware recognized and supported. Eric |
Alien Bob,
I was sure your intentions were fine (Pat would not authorize a flame-thrower to have his own space on his site). Thank you for the explanation. Now christianpaul, it's up to you: - either you activate hotplug to run automatically at boot to detect your card. For that, type in a root: chmode +x /etc/rc.d/rc.hotplug - or you prefer to load your driver using rc.modules, in this case provide the information requested. |
All times are GMT -5. The time now is 04:05 AM. |