LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (https://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   no loopback device (https://www.linuxquestions.org/questions/linux-from-scratch-13/no-loopback-device-475471/)

jkobrien 08-19-2006 05:15 PM

no loopback device
 
Hello,

I recently installed LFS 6.2 from a LiveCD onto a Sony Vaio VGN-B1XP.

All went well, I learned plenty, and was able to iron out a few wrinkles, but am stuck on one thing.

At the end of the boot process, when the services are starting up, I get the following error message:


Bringing up the loopback interface...
Cannot find device "lo"
SIOCGIFFLAGS: No such device [FAIL]


I tried modifying the instructions at section 7.13 and making an
/etc/sysconfig/network-device/ifconfig.lo/ipv4 file but that just changed the error message to "Interface lo doesn't exist"

Other, possibly pertinent, details: I have installed net-tools from BLFS, and have recompiled the kernel several times - but this is the only error message I see.

Can anyone tell me how to create the loopback interface?

Thanks,

John

JZL240I-U 08-22-2006 01:32 AM

Seeing that no one answers here I'll share some thoughts, but please keep in mind that I am by no way any sort of expert here and in linux in general ;).

The loopback is a special device in /dev/lo*, right? It can be created by "mknod" -- so why don't you write a script which creates a loopback as needed before the services are started and have that script called by e.g. "init"?

Anyway, good luck :).

jkobrien 08-30-2006 12:14 PM

Thanks for your reply. Your caveats (1,444 posts though?) and my lack of experience with mknod made me hesitate to try your suggestion.

Anyway, I managed to fix it. My network rules file had an entry SYSFS(address) instead of SYSFS{address}.

The moral of the story? Sit real close to the screen :rolleyes:!

John

JZL240I-U 08-31-2006 12:59 AM

Quote:

Originally Posted by jkobrien
...1,444 posts though?...

Oh well, I'm mostly here to learn and I do that best by asking questions :D.

Quote:

Originally Posted by jkobrien
...The moral of the story? Sit real close to the screen :rolleyes:!

Relax, I'm myopic, too :p ;).

ekek 01-12-2009 09:37 PM

Quote:

Originally Posted by jkobrien (Post 2402177)
Thanks for your reply. Your caveats (1,444 posts though?) and my lack of experience with mknod made me hesitate to try your suggestion.

Anyway, I managed to fix it. My network rules file had an entry SYSFS(address) instead of SYSFS{address}.

The moral of the story? Sit real close to the screen :rolleyes:!

John

I have the same problem. Would you provide the entire line of SYSFS{address} that you added in the ../rule.d/26-modprobe.rules for "lo" loopback device?

Thanks.

jkobrien 01-13-2009 11:03 AM

Hi,

I'm sorry, that was two years and a couple of laptops ago! I don't have the file anymore. All I remember about it now is that I'd used () where I should have used {}.

John


All times are GMT -5. The time now is 10:14 PM.