LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (http://www.linuxquestions.org/questions/fedora-35/)
-   -   No X at boot when no network available? (Fedora 16) (http://www.linuxquestions.org/questions/fedora-35/no-x-at-boot-when-no-network-available-fedora-16-a-4175447773/)

clausawits 01-29-2013 08:48 PM

No X at boot when no network available? (Fedora 16)
 
I'd appreciate help troubleshooting a problem I'm experiencing with F16 (or Fedora 16).

When the network is available, the system boots up to the gnome login screen (to choose a username to log in with).

When the network is not available, the system will be apparently idle for a while after the same old message (that I get on every boot, network or no):
Failed to start LSB: Builds and install new kmods from akmod packages [FAILED]
See 'systemctl status akmods.service' for details.

After several seconds (I want to say >30), the screens will seem to show X starting up (and I get that pointlessly annoying "AMD Unsupported Hardware" in the lower right corner), but instead of the window offering me which user to log in as, it goes black and comes back a few times before it finally goes back to the terminal-style view with the new messages of:
Starting SYSV: Grant or revoke access to X for the ATI Exte... Events Daemon...
Started SYSV: Grant or revoke access to X for the AT...l Events Daemon [ OK ]
Starting SYSV: Late init script for live image....
Starting firstboot configuration program (graphical mode)...
Starting /etc/rc.d/rc.local Compatibility...

Note: I see these messages because I hit ESCAPE during the boot process.

This problem is 100% repeatable. Reboot with the cable unplugged- problem. Reboot with the cable plugged in- boot and login are fast and smooth as usual.

Any help? I'd like to be able to run even without an internet connection, but I don't know where to begin troubleshooting.

Air-Global 01-30-2013 10:28 AM

I hope im not stating the obvious, but clearly your akmod is rebuilding your xorg drivers/config at boot. Not just at Kernel change, but also at every boot.

This would be the beginning of your search, look up where it states that akmod should reconfigure. I cant help you there but im sure other people on this forum can. (and in any other case, the internet!)

John VV 01-30-2013 03:04 PM

Also it is time to upgrade
fedora 16 is almost at End Of Life ( about 13 DAYS )

fedora 18 is the current

clausawits 02-01-2013 04:19 PM

Air-Global,

I'm not sure what would have caused that, nor really how to fix it. I guess I can look into that, but I don't see how that puts the presence of a network connection on the critical path to be successfully able to get into X and log in.... Am I missing something? I'm not very Linux savvy these days (not that I ever was that savvy to begin with!)...

John VV,

I've had fairly unsatisfactory experiences in the past with upgrading to the latest with Fedora. ...but you're right, perhaps I should start looking to see if F17 is mature enough. I'll probably look at F18 when F19 comes out.

Thanks in advance for any help you can give with my issue! (or just helping my understanding of how the presence/absence of a network connection can affect successfully getting into X)

John VV 02-01-2013 05:41 PM

Quote:

or just helping my understanding of how the presence/absence of a network connection can affect successfully getting into X)
the akmod driver is rebuilding the nvidia driver on EVERY boot ( not good)
It is only supposed to do that IF the kernel has changed


did you by chance edit it or the boot line in the bootloder

clausawits 02-23-2013 07:48 PM

Quote:

Originally Posted by John VV (Post 4882654)
the akmod driver is rebuilding the nvidia driver on EVERY boot ( not good)
It is only supposed to do that IF the kernel has changed


did you by chance edit it or the boot line in the bootloder

I did no such edits (that I'm aware of).

I don't see why akmod driver rebuilding (or trying to rebuild) on every boot requires a network connection.

Quote:

Originally Posted by http://fedorasolved.org/Members/zcat/akmods
An akmod is actually just a regular RPM which contains a SRC.RPM + a spec file to bring in the deps necessary to build it. The source RPMs are expected to be found in /usr/src/akmods/ by the akmodsbuild script. If the version found there is newer than the kmod installed, it will be rebuilt, or if the kmod does not exist (/lib/modules/KERNELVERSION/extra/nvidia/nvidia.ko), it will be rebuilt.

How does the kmod get rebuilt immediately after a kernel is installed? By the postinstall script in /etc/kernel/postinst.d/akmods (note: the only other postinst script currently is supplied by "dkms")

If the source is on my machine, what is it checking the network for? Nothing in that description (to my ignorant read) implies a network action. Can you help me or point me to a google search that will enlighten me?

Many thanks for your help!


All times are GMT -5. The time now is 05:46 PM.