* request_module: runaway loop modprobe net-pf-1
@ 2006-11-22 19:42 Ashlesha Shintre
2006-11-22 19:38 ` sjhill
2006-11-22 22:17 ` Ralf Baechle
0 siblings, 2 replies; 9+ messages in thread
From: Ashlesha Shintre @ 2006-11-22 19:42 UTC (permalink / raw)
To: linux-mips
Hi,
During boot up on the Encore M3 board (AU1500 MIPS) of the 2.6.14.6
kernel, the process stops after the NFS filesystem has been mounted,
memory freed and spits out the following message:
> request_module: runaway loop modprobe net-pf-1
I can ping to the board and see that the control periodically goes back
to the flush_local_tlb_all function in the arch/mips/mm/tlb-r4k.c file
and prints a line that I have put in..
What does the net-pf-1 mean?
Thanks
Ashlesha.
^ permalink raw reply [flat|nested] 9+ messages in thread* Re: request_module: runaway loop modprobe net-pf-1 2006-11-22 19:42 request_module: runaway loop modprobe net-pf-1 Ashlesha Shintre @ 2006-11-22 19:38 ` sjhill 2006-11-22 22:17 ` Ralf Baechle 1 sibling, 0 replies; 9+ messages in thread From: sjhill @ 2006-11-22 19:38 UTC (permalink / raw) To: Ashlesha Shintre; +Cc: linux-mips > During boot up on the Encore M3 board (AU1500 MIPS) of the 2.6.14.6 > kernel, the process stops after the NFS filesystem has been mounted, > memory freed and spits out the following message: > > > > request_module: runaway loop modprobe net-pf-1 > If I had to guess, you have a big endian kernel and you used a little endian filesystem or the converse. -Steve ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: request_module: runaway loop modprobe net-pf-1 2006-11-22 19:42 request_module: runaway loop modprobe net-pf-1 Ashlesha Shintre 2006-11-22 19:38 ` sjhill @ 2006-11-22 22:17 ` Ralf Baechle 2006-11-22 23:44 ` Ashlesha Shintre 1 sibling, 1 reply; 9+ messages in thread From: Ralf Baechle @ 2006-11-22 22:17 UTC (permalink / raw) To: Ashlesha Shintre; +Cc: linux-mips On Wed, Nov 22, 2006 at 11:42:39AM -0800, Ashlesha Shintre wrote: > During boot up on the Encore M3 board (AU1500 MIPS) of the 2.6.14.6 > kernel, the process stops after the NFS filesystem has been mounted, > memory freed and spits out the following message: > > > > request_module: runaway loop modprobe net-pf-1 The kernel tried to open UNIX domain socket but because support is not compiled it will load the module instead. Now, glibc-based programs happen to try to connect to nscd via a UNIX domain socket on startup and the whole show starts all over. After a few iterations the kernel gets tired of the whole game and prints this friendly message. > What does the net-pf-1 mean? net-pf-1 is PF_UNIX, see the definitions in include/linux/socket.h. So you should set CONFIG_UNIX to y. Building it as a module won't work as you just found :). Ralf ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: request_module: runaway loop modprobe net-pf-1 2006-11-22 22:17 ` Ralf Baechle @ 2006-11-22 23:44 ` Ashlesha Shintre 2006-11-23 0:10 ` mlachwani 0 siblings, 1 reply; 9+ messages in thread From: Ashlesha Shintre @ 2006-11-22 23:44 UTC (permalink / raw) To: Ralf Baechle; +Cc: linux-mips On Wed, 2006-11-22 at 22:17 +0000, Ralf Baechle wrote: > On Wed, Nov 22, 2006 at 11:42:39AM -0800, Ashlesha Shintre wrote: > > > During boot up on the Encore M3 board (AU1500 MIPS) of the 2.6.14.6 > > kernel, the process stops after the NFS filesystem has been mounted, > > memory freed and spits out the following message: > > > > > > > request_module: runaway loop modprobe net-pf-1 > > The kernel tried to open UNIX domain socket but because support is not > compiled it will load the module instead. Now, glibc-based programs > happen to try to connect to nscd via a UNIX domain socket on startup > and the whole show starts all over. After a few iterations the kernel > gets tired of the whole game and prints this friendly message. > > > What does the net-pf-1 mean? > > net-pf-1 is PF_UNIX, see the definitions in include/linux/socket.h. So > you should set CONFIG_UNIX to y. Thanks for your reply Ralf, but I dont see he CONFIG_UNIX option in my Makefile, so I created one, but still get the same error! is there anything else that i should try? Thanks again, Ashlesha. > Building it as a module won't work > as you just found :). > > Ralf ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: request_module: runaway loop modprobe net-pf-1 2006-11-22 23:44 ` Ashlesha Shintre @ 2006-11-23 0:10 ` mlachwani 2006-11-23 1:55 ` init cannot spawn shell Ashlesha Shintre 0 siblings, 1 reply; 9+ messages in thread From: mlachwani @ 2006-11-23 0:10 UTC (permalink / raw) To: ashlesha; +Cc: Ralf Baechle, linux-mips CONFIG_UNIX is defined in net/unix/Kconfig or simply do a "make menuconfig" and search for UNIX. It depends on CONFIG_NET. Check your .config ... thanks, Manish Lachwani Ashlesha Shintre wrote: > On Wed, 2006-11-22 at 22:17 +0000, Ralf Baechle wrote: > >> On Wed, Nov 22, 2006 at 11:42:39AM -0800, Ashlesha Shintre wrote: >> >> >>> During boot up on the Encore M3 board (AU1500 MIPS) of the 2.6.14.6 >>> kernel, the process stops after the NFS filesystem has been mounted, >>> memory freed and spits out the following message: >>> >>> >>> >>>> request_module: runaway loop modprobe net-pf-1 >>>> >> The kernel tried to open UNIX domain socket but because support is not >> compiled it will load the module instead. Now, glibc-based programs >> happen to try to connect to nscd via a UNIX domain socket on startup >> and the whole show starts all over. After a few iterations the kernel >> gets tired of the whole game and prints this friendly message. >> >> >>> What does the net-pf-1 mean? >>> >> net-pf-1 is PF_UNIX, see the definitions in include/linux/socket.h. So >> you should set CONFIG_UNIX to y. >> > > Thanks for your reply Ralf, but I dont see he CONFIG_UNIX option in my > Makefile, so I created one, but still get the same error! > is there anything else that i should try? > > Thanks again, > Ashlesha. > >> Building it as a module won't work >> as you just found :). >> >> Ralf >> > > > ^ permalink raw reply [flat|nested] 9+ messages in thread
* init cannot spawn shell 2006-11-23 0:10 ` mlachwani @ 2006-11-23 1:55 ` Ashlesha Shintre 2006-11-23 6:45 ` Andre.Messerschmidt 0 siblings, 1 reply; 9+ messages in thread From: Ashlesha Shintre @ 2006-11-23 1:55 UTC (permalink / raw) To: mlachwani, ralf, sjhill; +Cc: linux-mips Hi, So the ">>>> request_module: runaway loop modprobe net-pf-1" problem is now solved, I dont get the same error again -- Thank you Ralf, Manish and Steve for your prompt responses.. However, the kernel gets stuck now after mounting the filesystem and freeing memory. It does not execute the shell. When I give a boot argument such as init=/bin/sh, it attempts to kill init. I m sure that the endianness is not an issue - everything is big endian. I statically compiled a hello world program and instead of the rcS script in the init.d directory, put in this entry in the inittab sys::sysinit:/etc/init.d/hello however, I dont see "Hello World" on the console! -- meaning the problem is in userspace? Any ideas on how to debug this situation? Thanks, Ashlesha. On Wed, 2006-11-22 at 16:10 -0800, mlachwani wrote: > CONFIG_UNIX is defined in net/unix/Kconfig or simply do a "make > menuconfig" and search for UNIX. > > It depends on CONFIG_NET. Check your .config ... > > thanks, > Manish Lachwani > > > Ashlesha Shintre wrote: > > On Wed, 2006-11-22 at 22:17 +0000, Ralf Baechle wrote: > > > >> On Wed, Nov 22, 2006 at 11:42:39AM -0800, Ashlesha Shintre wrote: > >> > >> > >>> During boot up on the Encore M3 board (AU1500 MIPS) of the 2.6.14.6 > >>> kernel, the process stops after the NFS filesystem has been mounted, > >>> memory freed and spits out the following message: > >>> > >>> > >>> > >>>> request_module: runaway loop modprobe net-pf-1 > >>>> > >> The kernel tried to open UNIX domain socket but because support is not > >> compiled it will load the module instead. Now, glibc-based programs > >> happen to try to connect to nscd via a UNIX domain socket on startup > >> and the whole show starts all over. After a few iterations the kernel > >> gets tired of the whole game and prints this friendly message. > >> > >> > >>> What does the net-pf-1 mean? > >>> > >> net-pf-1 is PF_UNIX, see the definitions in include/linux/socket.h. So > >> you should set CONFIG_UNIX to y. > >> > > > > Thanks for your reply Ralf, but I dont see he CONFIG_UNIX option in my > > Makefile, so I created one, but still get the same error! > > is there anything else that i should try? > > > > Thanks again, > > Ashlesha. > > > >> Building it as a module won't work > >> as you just found :). > >> > >> Ralf > >> > > > > > > > ^ permalink raw reply [flat|nested] 9+ messages in thread
* RE: init cannot spawn shell 2006-11-23 1:55 ` init cannot spawn shell Ashlesha Shintre @ 2006-11-23 6:45 ` Andre.Messerschmidt 2006-11-23 6:45 ` Andre.Messerschmidt 2006-11-23 14:09 ` Ralf Baechle 0 siblings, 2 replies; 9+ messages in thread From: Andre.Messerschmidt @ 2006-11-23 6:45 UTC (permalink / raw) To: ashlesha; +Cc: linux-mips Hi, > I m sure that the endianness is not an issue - everything is big > endian. We had some problem in the past, where the reverse endianess bit was set, that would result in a crash when the system starts init. Not sure what bootloader you are using, but maybe it is worth checking the RE bit in CP0.STATUS, since otherwise your userspace applications will run in little endian. Regards Andre ^ permalink raw reply [flat|nested] 9+ messages in thread
* RE: init cannot spawn shell 2006-11-23 6:45 ` Andre.Messerschmidt @ 2006-11-23 6:45 ` Andre.Messerschmidt 2006-11-23 14:09 ` Ralf Baechle 1 sibling, 0 replies; 9+ messages in thread From: Andre.Messerschmidt @ 2006-11-23 6:45 UTC (permalink / raw) To: ashlesha; +Cc: linux-mips Hi, > I m sure that the endianness is not an issue - everything is big > endian. We had some problem in the past, where the reverse endianess bit was set, that would result in a crash when the system starts init. Not sure what bootloader you are using, but maybe it is worth checking the RE bit in CP0.STATUS, since otherwise your userspace applications will run in little endian. Regards Andre ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: init cannot spawn shell 2006-11-23 6:45 ` Andre.Messerschmidt 2006-11-23 6:45 ` Andre.Messerschmidt @ 2006-11-23 14:09 ` Ralf Baechle 1 sibling, 0 replies; 9+ messages in thread From: Ralf Baechle @ 2006-11-23 14:09 UTC (permalink / raw) To: Andre.Messerschmidt; +Cc: ashlesha, linux-mips On Thu, Nov 23, 2006 at 07:45:25AM +0100, Andre.Messerschmidt@infineon.com wrote: > > I m sure that the endianness is not an issue - everything is big > > endian. > > We had some problem in the past, where the reverse endianess bit was > set, that would result in a crash when the system starts init. Not sure > what bootloader you are using, but maybe it is worth checking the RE bit > in CP0.STATUS, since otherwise your userspace applications will run in > little endian. This was fixed in February for 2.6.16 already. Also Ashleha is using a different CPU ... Ralf ^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2006-11-23 14:09 UTC | newest] Thread overview: 9+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2006-11-22 19:42 request_module: runaway loop modprobe net-pf-1 Ashlesha Shintre 2006-11-22 19:38 ` sjhill 2006-11-22 22:17 ` Ralf Baechle 2006-11-22 23:44 ` Ashlesha Shintre 2006-11-23 0:10 ` mlachwani 2006-11-23 1:55 ` init cannot spawn shell Ashlesha Shintre 2006-11-23 6:45 ` Andre.Messerschmidt 2006-11-23 6:45 ` Andre.Messerschmidt 2006-11-23 14:09 ` Ralf Baechle
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox