You are not logged in.
Pages: 1
Hi all,
I have a Thinkpad X61 with an Intel GM965/GM960 integrated graphics controller. After my most recent update, when I try to log in the X server crashes. Here are the warnings and errors from Xorg.0.log (not the full log):
(WW) The directory "/usr/share/fonts/OTF/" does not exist.
(WW) Open ACPI failed (/var/run/acpi.socket) (No such file or directory)
(WW) Warning, couldn't open module modesetting
(EE) Failed to load module "modesetting" (module does not exist, 0)
(WW) Warning, couldn't open module fbdev
(EE) Failed to load module "fbdev" (module does not exist, 0)
(WW) Warning, couldn't open module vesa
(EE) Failed to load module "vesa" (module does not exist, 0)
Intel: waited 2020 ms for i915.ko driver to load
(EE) No devices detected.
(EE) Fatal server error:
(EE) no screens found (EE)
Any idea what happened? I vaguely remember having to set "nomodesetting" when I originally installed Arch over a year ago, but things have been working fine since then.
Thanks in advance,
Lefty
Last edited by LeftyAce (2014-10-16 19:37:45)
Offline
What packages did you update?
Does X work if you downgrade those packages?
Offline
Thanks for the reply, drcouzelis. Quite a few packages were updated. I was going to copy pacman.log onto a USB drive so I could post the contents w/o retyping it, but I get this error trying to mount my USB:
mount: unknown filesystem type 'vfat'
I saw this in the past when I didn't reboot after a kernel update, but I have rebooted multiple times trying to track down the X problem...is this another symptom of the same problem? Or something new?
Offline
What's the output of `pacman -Q linux` and 'uname -a`?
Online
# pacman -Q linux
linux 3.16.4-1
#uname -a
Linux lefty-laptop 3.16.3-1-ARCH ...
That mis-match in kernel versions looks like a problem...
Offline
yep, it is a problem. Your bootloader is still finding an old version of the kernel, but the modules for that kernel no longer exist. Most often happens when you upgrade without having /boot mounted.
Online
Good catch, Scimmia. The kernel issue sounds like the bigger problem and possibly the cause of the issue with X (can't find the kernel modules for the video card).
Offline
That would make sense. My /boot partition is on an external usb drive, and I'm usually good about mounting it before running pacman, but it's possible I messed up.
How can I fix it? In order to access a working computer I'm where I can't get an ethernet connection for the laptop, and netctl-auto seems to be broken. Presumably re-installing from pacman's cache would do the trick (As long as I mount /boot first :-D
I tried running pacman -Su, and it says "nothing to do." How can I force it to reinstall?
Last edited by LeftyAce (2014-10-16 19:17:34)
Offline
I would suggest reinstalling the old version from your cache:
pacman -U /var/cache/pacman/pkg/<filename>
That should give you the modules to be able to mount /boot, then you can upgrade again. There's going to be extra crap in the /boot directory on your root partition that you should clear out as well; just unmount the /boot partition then clear it out.
Online
Oops, I did something else, and fixed it:
I ran pacman -S linux, and that did the trick.
Thanks so much for your help!
As far as causing the initial problem, I know for sure I didn't unmount /boot after running the update, I just powered off the machine. I thought that would cleanly unmount everything, but maybe that's wrong? Or it's possible I screwed up and never mounted it in the first place.
How hard would it be to write my own wrapper around pacman so it checked whether /boot was mounted before proceeding? I have such a check for my backup script, but for pacman I'd want it to pass all command line arguments through to pacman after the check is done...
Last edited by LeftyAce (2014-10-16 19:24:47)
Offline
I'm surprised just reinstalling the newer kernel worked. How did you update the kernel image if you couldn't mount /boot?
As for a wrapper, it should be pretty straight forward. `pacman $@` should pass all command line parameters to pacman.
Online
I could mount /boot (it's ext2), I just couldn't mount fat32 partitions. Not sure why that was. Since my functioning computer was windows, I needed fat32 to get logfiles to you guys.
Offline
ah, ok, then that makes sense.
Online
And thanks for the tip about pacman -$@. I now have a wrapper that should keep my from shooting myself in the foot like this again :-)
Offline
Pages: 1