You are not logged in.
Pages: 1
I am having a weird problem.
My monitor is connected via DVI port of an AMD graphics card, model 7870. After the latest update & fixing of my Arch install I am getting a black screen when I boot without the option nomodeset. Apparently the keyboard does not get recognized neither (can't type in some stuff blindly) so I have to reboot via the button on my machine.
I am using rEFInd (with '/boot/EFI/refind/refind.conf')with the following entry for linux:
menuentry Linux {
icon EFI/refind/icons/os_linux.icns
volume KERNELS
loader bzImage-3.3.0-rc7
initrd initrd-3.3.0.img
options "ro root=UUID=5f96cafa-e0a7-4057-b18f-fa709db5b837"
disabled
}As I said, contrary to the wiki article on this, the only way I do notget a black screen is by using 'nomodeset' as a boot option. For the record: no other boot option for radeon.modeset, i915.modeset or acpi_backlight (vendor, linux) has helped. But the latter was expected because the monitor is connected via DVI.
The thing is, I haven't touched Arch in about 2 months, so up until the latest kernel update which I had about a month, it worked as supposed with
MODULES="radeon"in the mkinitcpio.conf. No other boot options if I recall correctly. I have ati-dri installed. I gathered the following output:
$ dmesg | egrep "drm|radeon"
[ 0.404898] [drm] Initialized drm 1.1.0 20060810
[ 0.409929] [drm] VGACON disable radeon kernel modesetting.
[ 0.409934] [drm:radeon_init] *ERROR* No UMS support in radeon module!
[ 0.464183] [drm] VGACON disable radeon kernel modesetting.
[ 0.464185] [drm:radeon_init] *ERROR* No UMS support in radeon module!
[ 6.175494] [drm] VGACON disable radeon kernel modesetting.
[ 6.175497] [drm:radeon_init] *ERROR* No UMS support in radeon module!Any advice? Any other info I could provide?
I would like to boot without nomodeset because as I understand the wiki, it is better.
Last edited by jones (2013-10-30 13:41:22)
Offline
using KMS is not just better, but mandatory for the radeon driver.
Without KMS, X won't start.
Do you have 1 or 2 videocards in your system ?
If you boot in EFI legacy mode, does it work without nomodeset ?
Have you tried other efi bootloaders like gummiboot ?
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
using KMS is not just better, but mandatory for the radeon driver.
Without KMS, X won't start.
I didn't know that.
Do you have 1 or 2 videocards in your system ?
I have one dedicated GPU, the Gigabyte OC 7870. Of course there is the integrated GPU of my Intel i5 2320 as well. ![]()
If you boot in EFI legacy mode, does it work without nomodeset ?
I think I could find out how to boot into legacy mode, but I don't want to because of my 2 hard drives which are both GPT-aligned. I tried booting in legacy mode during the summer and it just rebooted before the Win 7 login screen so no.
Have you tried other efi bootloaders like gummiboot ?
Yes, but to no avail. Had a thread about that on here too, because my NVRAM-entries get deleted or something to that effect and I have to reboot with the Win 7 to get into Windows again. That way, it's too tiresome all in all.
So I tried to rebuild the kernel and apparently the kernel files do not match:
$ sudo mkinitcpio -p linux
==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'default'
-> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img
==> ERROR: '/lib/modules/3.10.10-1-ARCH' is not a valid kernel module directory
==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'fallback'
-> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-fallback.img -S autodetect
==> ERROR: '/lib/modules/3.10.10-1-ARCH' is not a valid kernel module directory$ pwd
/lib/modules
[john@archbox modules]$ ls
3.11.6-1-ARCH extramodules-3.11-ARCHUnfortunately I don't know what to do in this case.
Last edited by jones (2013-10-31 17:00:37)
Offline
sounds like the kernel you're booting into is not the same version as the installed kernel.
compare the output of pacman -Qi linux | grep version with that of uname -r .
If those outputs don't match, something went wrong with your last kernel update.
the most common cause of that problem is having /boot on a separate partition that was not mounted during the update.
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
The reFind config indicates that you are not using the stock arch kernel.
Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest
Offline
sounds like the kernel you're booting into is not the same version as the installed kernel.
compare the output of pacman -Qi linux | grep version with that of uname -r .
[john@archbox /][john@archbox /]$ sudo pacman -Qi linux | grep version
[john@archbox /]$ uname -r
3.11.6-1-ARCHIf those outputs don't match, something went wrong with your last kernel update.
the most common cause of that problem is having /boot on a separate partition that was not mounted during the update.
Oh, yes. That could very well be. /boot is indeed on another partition but then, it is mounted:
#
# /etc/fstab: static file system information
#
# <file system> <dir> <type> <options> <dump> <pass>
# /dev/sdb3
UUID=8ee42980-88cc-4eec-9996-68ccc0514b2a / ext4 rw,relatime,data=ordered 0 1
# /dev/sdb4
UUID=6e6e2000-fa00-4eda-a1eb-07f1b3fdd9e0 /home ext4 rw,relatime,data=ordered 0 2
# /dev/sda1 LABEL=SYSTEM
UUID=9801-80D0 /boot vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro 0 2
# /dev/sdb2
UUID=f762700e-f1f2-4372-a887-5a13cb429260 none swap defaults 0 0plus
[john@archbox /]$ sudo blkid
/dev/sda1: LABEL="SYSTEM" UUID="9801-80D0" TYPE="vfat" PARTLABEL="EFI system partition" PARTUUID="4355cabf-5f6c-4b3e-adf0-565013e3f4e1"
/dev/sdb2: UUID="f762700e-f1f2-4372-a887-5a13cb429260" TYPE="swap" PARTLABEL="linuxswap" PARTUUID="860ee1d3-f1b3-40ea-a0f6-6f652cc26594"
/dev/sdb3: UUID="8ee42980-88cc-4eec-9996-68ccc0514b2a" TYPE="ext4" PARTLABEL="archlinux" PARTUUID="dbded445-e9b9-4fad-bab3-fcd7c3d5ccb6"
/dev/sdb4: UUID="6e6e2000-fa00-4eda-a1eb-07f1b3fdd9e0" TYPE="ext4" PARTLABEL="linuxhome" PARTUUID="6fbc2513-c560-4929-bf61-aceb388d8cc2"
[... other partitions omitted...]The reFind config indicates that you are not using the stock arch kernel.
I can't explain this, I did not give any instruction to do that.
edit:
After typing the previous lines I figured I should try to reinstall the kernel and after pacman -S linux I ran this:
[john@archbox /]$ sudo mkinitcpio -p linux
==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'default'
-> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img
==> Starting build: 3.11.6-1-ARCH
-> Running build hook: [base]
-> Running build hook: [udev]
-> Running build hook: [keyboard]
-> Running build hook: [autodetect]
-> Running build hook: [modconf]
-> Running build hook: [block]
-> Running build hook: [filesystems]
-> Running build hook: [fsck]
==> Generating module dependencies
==> Creating gzip initcpio image: /boot/initramfs-linux.img
==> Image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'fallback'
-> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-fallback.img -S autodetect
==> Starting build: 3.11.6-1-ARCH
-> Running build hook: [base]
-> Running build hook: [udev]
-> Running build hook: [keyboard]
-> Running build hook: [modconf]
-> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: aic94xx
==> WARNING: Possibly missing firmware for module: bfa
==> WARNING: Possibly missing firmware for module: smsmdtv
-> Running build hook: [filesystems]
-> Running build hook: [fsck]
==> Generating module dependencies
==> Creating gzip initcpio image: /boot/initramfs-linux-fallback.img
==> Image generation successfulThen I copied those specific 3 files to the folder $esp/EFI/arch as it says in the wiki. However the command
[john@archbox /]$ sudo pacman -Qi linux | grep versionstill does not give an output.
edit 2
The correct syntax was "Version" for the grep pipe.
Wohooo guys that was my first genuine discovery on my own! Well anyhow it says:
$ sudo pacman -Qi linux | grep Version
Version : 3.11.6-1Last edited by jones (2013-11-01 15:06:02)
Offline
Well, although I deleted the radeon entry from the modules line in the mkinicpio.conf, I still have to use "radeon.modeset=1" as a boot option to get a picture. Unless I misunderstood something this shouldn't happen.
Offline
Pages: 1