Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
modprobe: modeprobe: Can't locate module net-pf-1
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
eltech
Guru
Guru


Joined: 05 Nov 2002
Posts: 582
Location: New York

PostPosted: Thu Nov 07, 2002 2:36 am    Post subject: modprobe: modeprobe: Can't locate module net-pf-1 Reply with quote

modprobe: modeprobe: Can't locate module net-pf-1
modprobe: modeprobe: Can't locate module net-pf-1
modprobe: modeprobe: Can't locate module net-pf-1
modprobe: modeprobe: Can't locate module net-pf-1

This is all i see when i boot up ..

now in my modules.autoload i only have one module to load .. and its not that ..

so i nano 'd my modules.conf and in there is a line ..
Uncomment the network protocols you dont want loaded
all the lines are commented including the alias net-pf-1

so i tried that and i got some strange error of a file being newer then that file and it basically reverted it back to the original file contents..

i dont know if this file is relative to the problem ..but am trying here.. right now i can not get on the net at all...
Back to top
View user's profile Send private message
securiteaze
Tux's lil' helper
Tux's lil' helper


Joined: 24 Oct 2002
Posts: 77
Location: Tulsa,Oklahoma

PostPosted: Thu Nov 07, 2002 5:40 pm    Post subject: Reply with quote

Look in /etc/modules.d/aliases
Is there an entry for net-pf-1?
What does it say?
_________________
Blah..
Back to top
View user's profile Send private message
eltech
Guru
Guru


Joined: 05 Nov 2002
Posts: 582
Location: New York

PostPosted: Thu Nov 07, 2002 6:56 pm    Post subject: Reply with quote

yes there is .. it was '#' i mean commented so i uncommented it and set it to off .. it then fixed the problem ..
Back to top
View user's profile Send private message
sarnold
Developer
Developer


Joined: 28 Nov 2002
Posts: 115
Location: California

PostPosted: Fri Jan 24, 2003 4:32 pm    Post subject: wait just a minute... Reply with quote

Howdy:

I'm having the exact same error on my 3rd gentoo box (which didn't occur on either of my first 2 boxes). Isn't net-pf1 required? In /etc/rc.conf, the default is to load both net-pf1 and net-pf2 (for unix and TCP/IP protocols, respectively) and net-pf10 is optional (for ipv6).

Don't I need both net-pf1 and net-pf2 for normal operation?

I must have horked up my kernel config, since I never saw this error on my first kernel (on the box in question). However, I had to reconfigure the kernel for other stuff (X drm, usb mouse, etc) and then I started seeing this error.

Even though the kernel boots up, it continously scrolls the "can't find module..." error, so something is definitely hosed (and I don't think turning off net-pf1 is the right answer). Or is it?

I won't be abe to work on this until after work today, but I'd dearly love to resolve this issue so I can continue building this box (right now it only has the basic system stuff built).

This is with a brand new 1.4-rc2 install and the gentoo-sources kernel.

Any help would be greatly appreciated...

Steve
Back to top
View user's profile Send private message
Praxxus
Apprentice
Apprentice


Joined: 26 Nov 2002
Posts: 193
Location: Indiana, US

PostPosted: Fri Jan 24, 2003 11:49 pm    Post subject: Reply with quote

Does running "depmod -a" fix it?

That's assuming the actual module.o file was compiled properly, and the ONLY problem is modprobe can't find it.
_________________
My glaucoma just got worse!
Back to top
View user's profile Send private message
discostu
Guru
Guru


Joined: 01 Nov 2002
Posts: 333

PostPosted: Sat Jan 25, 2003 12:51 am    Post subject: Reply with quote

I had that problem a while back with most of my modules, such as NVdriver. insmod worked fine, but modprobe did not. After running
Code:
$ depmod
modprobe worked fine. :D
_________________
"Disco Stu doesn't advertise."
Back to top
View user's profile Send private message
sarnold
Developer
Developer


Joined: 28 Nov 2002
Posts: 115
Location: California

PostPosted: Sat Jan 25, 2003 10:07 pm    Post subject: I fixed it... Reply with quote

Of course, I created the problem in the first place.

Since depmod runs at the end of the modules_install, that didn't help either. Somehow, I must have really horked up my kernel config; even the "make mrproper" didn't help.

What *did* fix it was re-emerging gento-sources amd starting over again. It always takes a while to wade through a fresh kernel config, but even grsecurity-medium compiled cleanly. The only thing is, I think my new motherboard just died :-(

Anyway, it *was* working fine; I even built gnome, blackdown, and mozilla yesterday, before the machine died last night. I'm waiting for a freind to bring me a rescue board (an Abit, I think).

I'm definitely not having good luck with hardware lately...

Steve
Back to top
View user's profile Send private message
darktux
Veteran
Veteran


Joined: 16 Nov 2002
Posts: 1086
Location: Coimbra, Portugal

PostPosted: Sun Jan 26, 2003 12:31 am    Post subject: Reply with quote

The solution is simple...

Don't uncoment that..

When building your kernel, go to "Networking Options" and put Y on Unix domain sockets.. Simple....

Quote:
f you try building this as a module and you have said Y to "Kernel module loader support" above, be sure to add 'alias net-pf-1 unix' to your /etc/modules.conf file. Note that several important services won't work correctly if you say M here and then neglect to load the module.

_________________
Lego my ego, and I'll lego your knowledge

www.tuxslare.org - My reborn website :P
Back to top
View user's profile Send private message
sarnold
Developer
Developer


Joined: 28 Nov 2002
Posts: 115
Location: California

PostPosted: Sun Jan 26, 2003 3:14 am    Post subject: Reply with quote

darktux wrote:
The solution is simple...

Don't uncoment that..

When building your kernel, go to "Networking Options" and put Y on Unix domain sockets.. Simple....


I did have it enabled in the kernel config, but I still had the error. I told you I horked up my kernel config...
Back to top
View user's profile Send private message
darktux
Veteran
Veteran


Joined: 16 Nov 2002
Posts: 1086
Location: Coimbra, Portugal

PostPosted: Sun Jan 26, 2003 1:45 pm    Post subject: Reply with quote

sarnold wrote:
darktux wrote:
The solution is simple...

Don't uncoment that..

When building your kernel, go to "Networking Options" and put Y on Unix domain sockets.. Simple....


I did have it enabled in the kernel config, but I still had the error. I told you I horked up my kernel config...


Did you had your /boot partition mounted when you copied over your new kernel with the Unix domain sockets enabled?
_________________
Lego my ego, and I'll lego your knowledge

www.tuxslare.org - My reborn website :P
Back to top
View user's profile Send private message
sarnold
Developer
Developer


Joined: 28 Nov 2002
Posts: 115
Location: California

PostPosted: Mon Jan 27, 2003 5:05 am    Post subject: Reply with quote

Yup.

It was hosed up pretty good, and later gcc started seg-faulting. Besides the net-pf1 error, I was also getting unresolved symbol errors with a couple of grsecurity functions (when I could actually finish a kernel compile).

I took out the no-name 128 Mb DDR dimm, going back to my one good 256 meg dimm, and everything works perfectly now (just with less memory). I started with a fresh gentoo-source tree, and everything works fine.

I´m returning the memory for credit (since I need an IDE CD burner now, anyway).
Back to top
View user's profile Send private message
jay
l33t
l33t


Joined: 08 May 2002
Posts: 980

PostPosted: Fri Jan 02, 2004 11:55 pm    Post subject: Reply with quote

Im getting a similiar error, but it tries to load loads net-pf10 after the sshd daemon starts. I tracked this down to the ipv6 protocol, but why wants ssh to take use of it?
_________________
Do you want your posessions identified? [ynq] (n)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security 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