Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Someone please post their /etc/host.conf file.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
jrks518
n00b
n00b


Joined: 21 Nov 2004
Posts: 49

PostPosted: Mon Jan 31, 2005 4:20 am    Post subject: Someone please post their /etc/host.conf file. Reply with quote

r8169 is the module for my integrated network card. I had my computer working until about a month ago, when I accidentally reverted a bunch of config files to their defaults and blindly messed with my kernel trying to fix the problem. I think what may have happened is that I modularized (is that a word?) or enabled things that weren't enabled before, and that they conflict with the r8169 module. I get a bunch of errors when Gentoo boots, like
Code:
* Starting cupsd
* Setting DNS domainname to homenetwork
ERROR: Problem starting needed services
     "portmap" was not started
ERROR: Problem starting needed services
     "famd" was not started
ERROR: Problem starting needed services
     "netmount" was not started
* Starting vixie-cron
* Setting up xdm
* Starting local
/etc/host.conf: line 24: bad command 'mdns off'


which I think stems from the problems with the r8169 module. The "bad command 'mnds off' thing pops up frequently, including when I make the modules after doing make menuconfig. This happens whether it's set as 'mdns on' or 'mnds off'.

dmesg shows the following:
Code:
#dmesg
blah blah blah
r8169: disagrees with blah blah blah (a bunch of things it disagrees with)
r8169: unknown symbol blah blah blah (a bunch of these too)


If the specific things it disagrees with are important, let me know and I will retype them here.

I want to know how to get rid of these errors. I've tried recompiling the kernel several times over the last month (the computer has been nonfunctional since about December 20, 2004) but still get the same errors and the system is still unstable. I don't care about having to rebuild a kernel, I would like to get rid of all traces of whatever is causing these problems.

Thank you.
_________________
AMD Athlon 64 3200+ | Kingston 512 SDRAM PC3200 | Nvidia Geforce MX 400 | Seagate 160 GB
2.6.9-r14 kernel


Last edited by jrks518 on Wed Feb 16, 2005 4:26 am; edited 3 times in total
Back to top
View user's profile Send private message
ikaro
Advocate
Advocate


Joined: 14 Jul 2003
Posts: 2527
Location: Denmark

PostPosted: Mon Jan 31, 2005 8:00 pm    Post subject: Reply with quote

can you post your /etc/host.conf file ?
which application owns it ? looks like its misconfigured, but im just guessing.
_________________
linux: #232767
Back to top
View user's profile Send private message
jrks518
n00b
n00b


Joined: 21 Nov 2004
Posts: 49

PostPosted: Tue Feb 01, 2005 12:45 am    Post subject: Reply with quote

ikaro wrote:
can you post your /etc/host.conf file ?
which application owns it ? looks like its misconfigured, but im just guessing.


I don't understand your question about which application owns it, but here is my /etc/host.conf file.
Code:
 /etc/host.conf:
# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/2.3.4/host.conf,v 1.2 2004/11/24 05:31:58 vapier Exp $

# The  file /etc/host.conf contains configuration information specific to
# the resolver library.  It should contain one configuration keyword  per
# line,  followed by appropriate configuration information.  The keywords
# recognized are order, trim, mdns, multi, nospoof, spoof, and reorder.



# This keyword specifies how host lookups are to be performed. It
# should be followed by one or more lookup methods, separated by
# commas.  Valid methods are bind, hosts, and nis.
#
order hosts, bind


# Valid values are on and off. If set to on, the resolv+ library treats
# the .local top level domain as link-local domain and sends multicast
# DNS requests to the multicast address 224.0.0.251 port 5353 instead
# of normal DNS requests. If you already use the .local domain in your
# nameserver configuration you will have to switch this option off.
#
mdns on


# Valid  values are on and off.  If set to on, the resolv+ library
# will return all valid addresses for a host that appears  in  the
# /etc/hosts  file,  instead  of  only  the first.  This is off by
# default, as it may cause a substantial performance loss at sites
# with large hosts files.
#
multi off


_________________
AMD Athlon 64 3200+ | Kingston 512 SDRAM PC3200 | Nvidia Geforce MX 400 | Seagate 160 GB
2.6.9-r14 kernel
Back to top
View user's profile Send private message
jrks518
n00b
n00b


Joined: 21 Nov 2004
Posts: 49

PostPosted: Wed Feb 02, 2005 7:36 pm    Post subject: Reply with quote

Bump.
_________________
AMD Athlon 64 3200+ | Kingston 512 SDRAM PC3200 | Nvidia Geforce MX 400 | Seagate 160 GB
2.6.9-r14 kernel
Back to top
View user's profile Send private message
TerminalAddict
Tux's lil' helper
Tux's lil' helper


Joined: 13 Feb 2003
Posts: 119

PostPosted: Wed Feb 02, 2005 9:15 pm    Post subject: Reply with quote

can you post the "disagrees"
Back to top
View user's profile Send private message
jrks518
n00b
n00b


Joined: 21 Nov 2004
Posts: 49

PostPosted: Thu Feb 03, 2005 10:14 pm    Post subject: Reply with quote

TerminalAddict wrote:
can you post the "disagrees"


Errors captured from dmesg:
Code:
Freeing unused kernel memory: 192k freed
Adding 506036k swap on /dev/hda2.  Priority:-1 extents:1
EXT3 FS on hda3, internal journal
r8169: disagrees about version of symbol per_cpu__softnet_data
r8169: Unknown symbol per_cpu__softnet_data
r8169: disagrees about version of symbol eth_type_trans
r8169: Unknown symbol eth_type_trans
r8169: disagrees about version of symbol skb_over_panic
r8169: Unknown symbol skb_over_panic
r8169: disagrees about version of symbol free_netdev
r8169: Unknown symbol free_netdev
r8169: disagrees about version of symbol alloc_skb
r8169: Unknown symbol alloc_skb
r8169: disagrees about version of symbol netif_rx
r8169: Unknown symbol netif_rx
r8169: disagrees about version of symbol __netdev_watchdog_up
r8169: Unknown symbol __netdev_watchdog_up
r8169: disagrees about version of symbol linkwatch_fire_event
r8169: Unknown symbol linkwatch_fire_event
r8169: disagrees about version of symbol skb_pad
r8169: Unknown symbol skb_pad
r8169: disagrees about version of symbol __kfree_skb
r8169: Unknown symbol __kfree_skb
ACPI: PCI interrupt 0000:00:05.0[A] -> GSI 16 (level, low) -> IRQ 16
libata version 1.02 loaded.
nvidia: module license 'NVIDIA' taints kernel.
ACPI: PCI interrupt 0000:01:00.0[A] -> GSI 16 (level, low) -> IRQ 16
NVRM: loading NVIDIA Linux x86_64 NVIDIA Kernel Module  1.0-6111  Tue Jul 27 07:58:17 PDT 2004
ide-floppy driver 0.99.newide
Adding 506036k swap on /dev/hda2.  Priority:-2 extents:1
Disabled Privacy Extensions on device ffffffff80531520(lo)

_________________
AMD Athlon 64 3200+ | Kingston 512 SDRAM PC3200 | Nvidia Geforce MX 400 | Seagate 160 GB
2.6.9-r14 kernel
Back to top
View user's profile Send private message
jrks518
n00b
n00b


Joined: 21 Nov 2004
Posts: 49

PostPosted: Sun Feb 06, 2005 9:43 pm    Post subject: Reply with quote

Bump. At a loss.
_________________
AMD Athlon 64 3200+ | Kingston 512 SDRAM PC3200 | Nvidia Geforce MX 400 | Seagate 160 GB
2.6.9-r14 kernel
Back to top
View user's profile Send private message
TerminalAddict
Tux's lil' helper
Tux's lil' helper


Joined: 13 Feb 2003
Posts: 119

PostPosted: Sun Feb 06, 2005 9:46 pm    Post subject: Reply with quote

well over the weekend I installed an 8169 in my 2.6 kernel system without any errors (modprobe r8169), and also in my 2.4.27 system without errors (modprobe r8169)

Both kernels have been compiled using gen-kernel, both use r8169 as a module not in built.

I guess I would try make modules again.
perhaps your kernel and your modules are out of sync ???
not really sure .. just grasping at straws :)
Back to top
View user's profile Send private message
jrks518
n00b
n00b


Joined: 21 Nov 2004
Posts: 49

PostPosted: Tue Feb 08, 2005 4:34 am    Post subject: Reply with quote

Thank you for your suggestions. I have remade modules several times. A problem that keeps cropping up (I don't know how important) is the "/etc/host.conf bad command line 24..." (see above). It appeared in the middle of the list of modules as I was remaking them (I think around when the computer was trying to check hostname, etc.). So I need help restoring my /etc/host.conf file. Can someone else post their host.conf file so I can see what mine should look like?

Thanks for any and all assistance.
_________________
AMD Athlon 64 3200+ | Kingston 512 SDRAM PC3200 | Nvidia Geforce MX 400 | Seagate 160 GB
2.6.9-r14 kernel
Back to top
View user's profile Send private message
jrks518
n00b
n00b


Joined: 21 Nov 2004
Posts: 49

PostPosted: Tue Feb 08, 2005 11:14 pm    Post subject: Reply with quote

Getting unlost from the shuffle.

(Bump.)
_________________
AMD Athlon 64 3200+ | Kingston 512 SDRAM PC3200 | Nvidia Geforce MX 400 | Seagate 160 GB
2.6.9-r14 kernel
Back to top
View user's profile Send private message
jrks518
n00b
n00b


Joined: 21 Nov 2004
Posts: 49

PostPosted: Thu Feb 10, 2005 4:47 am    Post subject: Reply with quote

I'd even be satisfied if I only got someone's /etc/host.conf file, because at least that's a start. I do need help.

(Bump.)
_________________
AMD Athlon 64 3200+ | Kingston 512 SDRAM PC3200 | Nvidia Geforce MX 400 | Seagate 160 GB
2.6.9-r14 kernel
Back to top
View user's profile Send private message
jrks518
n00b
n00b


Joined: 21 Nov 2004
Posts: 49

PostPosted: Wed Feb 16, 2005 4:26 am    Post subject: Reply with quote

Bump.
_________________
AMD Athlon 64 3200+ | Kingston 512 SDRAM PC3200 | Nvidia Geforce MX 400 | Seagate 160 GB
2.6.9-r14 kernel
Back to top
View user's profile Send private message
gentsquash
l33t
l33t


Joined: 03 Nov 2004
Posts: 753
Location: Still a Gentoo beginner.

PostPosted: Wed Feb 16, 2005 6:20 am    Post subject: Reply with quote

jrks518, my system does not have an "/etc/host.conf".
(Possibly true for other folks, explaining the dearth of replies.)

You may be able to find out what pkg installed it, answering
ikaro wrote:
which application owns it ?


by means of

Code:
qpkg -f   /etc/host.conf


In any case, I did find
"/usr/portage/sys-libs/glibc/files/2.3.4/host.conf" OMSystem.
Here is its contents:

Code:

# /etc/host.conf:
# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/2.3.4/host.conf,v 1.2 2004/11/24 05:31:58 vapier Exp $

# The  file /etc/host.conf contains configuration information specific to
# the resolver library.  It should contain one configuration keyword  per
# line,  followed by appropriate configuration information.  The keywords
# recognized are order, trim, mdns, multi, nospoof, spoof, and reorder.



# This keyword specifies how host lookups are to be performed. It
# should be followed by one or more lookup methods, separated by
# commas.  Valid methods are bind, hosts, and nis.
#
order hosts, bind


# Valid values are on and off. If set to on, the resolv+ library treats
# the .local top level domain as link-local domain and sends multicast
# DNS requests to the multicast address 224.0.0.251 port 5353 instead
# of normal DNS requests. If you already use the .local domain in your
# nameserver configuration you will have to switch this option off.
#
mdns off


# Valid  values are on and off.  If set to on, the resolv+ library
# will return all valid addresses for a host that appears  in  the
# /etc/hosts  file,  instead  of  only  the first.  This is off by
# default, as it may cause a substantial performance loss at sites
# with large hosts files.
#
multi off

_________________
Your thread resolved? Putting [SOLVED] in its title helps all Gentooers. (Button "edit" , first post)
Prof. Jonathan LF King, Mathematics dept., University of Florida
Back to top
View user's profile Send private message
gentsquash
l33t
l33t


Joined: 03 Nov 2004
Posts: 753
Location: Still a Gentoo beginner.

PostPosted: Tue Feb 22, 2005 1:03 am    Post subject: Reply with quote

Did the "/etc/host.conf" that I posted help you? Is there more
to do, or is your problem solved?
_________________
Your thread resolved? Putting [SOLVED] in its title helps all Gentooers. (Button "edit" , first post)
Prof. Jonathan LF King, Mathematics dept., University of Florida
Back to top
View user's profile Send private message
Satori80
Tux's lil' helper
Tux's lil' helper


Joined: 24 Feb 2004
Posts: 137

PostPosted: Wed Feb 23, 2005 12:44 pm    Post subject: Reply with quote

[EDIT: snipped usless garbage]

the command 'info host.conf' should tell you all you need to know about it.
Back to top
View user's profile Send private message
gentsquash
l33t
l33t


Joined: 03 Nov 2004
Posts: 753
Location: Still a Gentoo beginner.

PostPosted: Wed Feb 23, 2005 7:20 pm    Post subject: Reply with quote

As Satori80 shows, the stand-alone Info reader will find the
"host.conf", which is a man-page. To my knowledge, the info
reader in Emacs doesn't find man pages, so inside of Emacs you'd
want to run
Code:
M-x   man

and give host.conf as argument.
_________________
Your thread resolved? Putting [SOLVED] in its title helps all Gentooers. (Button "edit" , first post)
Prof. Jonathan LF King, Mathematics dept., University of Florida
Back to top
View user's profile Send private message
SerfurJ
l33t
l33t


Joined: 10 Apr 2004
Posts: 824
Location: Texas

PostPosted: Tue Mar 22, 2005 4:11 pm    Post subject: Reply with quote

i had the same error message
Code:
/etc/host.conf: line 24: bad command 'mdns off'


i just commented out "mdns off" and i no longer get it. i don't know if that will have any adverse effects. i haven't noticed any so far.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
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