You are not logged in.
I've been testing out the mainline kernel, and 4.9 can't find my root device at all, Syslinux is able to find the os image just fine, but Linux then can't find the root partition. When it drops to the recovery shell, my keyboard is unusable whether I use ps/2 or usb.. Syslinux can find the os image just fine.
Someone suggested checking to see if root=/dev/ram works, I guess to see if the issue is in the scsi layer or somewhere else, but that doesn't seem to work even on the stable kernel. /dev/ram doesn't seem to be created automatically, so I'm guessing Arch just isn't set up for it?
Does anyone have any suggestions for debugging this problem? I'm using syslinux, and my computer is an older core 2 with a BIOS rather than UEFI.
Last edited by AaronBP (2016-11-15 02:01:39)
Offline
There are some comments on linux-mainline aur page that may be relevant .
Does your setup use lvm + luks ?
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
I've also experienced problems related to the CONFIG_MODVERSIONS option with linux-git from the aur.
I would get lots of this:
module_name: no symbol version for __put_user_4
module_name: Unknown symbol __get_user_4 (err -22)
To see this I would have to boot without the quiet parameter on the kernel command line. Ever since the maintainer of the package disabled CONFIG_MODVERSIONS everything works fine.
R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K
Offline
Are you sure you are loading the right initramfs for this kernel? Also, try adding keyboard hook to get keyboard support in recovery shell and see what modules are loaded, whether they match your filesystem and disk controller (ahci probably), what /dev/sdX files are present, etc.
Offline
+1 for me trying to boot into 4.9-rc4. Linus tagged rc5 today so perhaps I'll give that a try.
EDIT: linux-mainline not linux-git
Last edited by graysky (2016-11-13 19:27:46)
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
Nope... rc5 gives the same:
starting version 231
ERROR: device '/dev/nvme0n1p2' not found. Skipping fsck.
ERROR: Unable to find root device '/dev/nvme0n1p2'.
You are being dropped to a recovery shell
Type 'exit' to try and continue booting
sh: can't access tty; job control turned off
[rootfs #]
I generated my initramfs with the correct modules (my standard kernel boots with these options anyway):
MODULES="i915 nvme"
HOOKS="base udev autodetect modconf block filesystems keyboard fsck"
Last edited by graysky (2016-11-13 21:19:47)
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
Yep, can confirm rc5 doesn't boot for me. Do you have the same issue with being unable to use the keyboard? It's strange that we would both run into the same problem, I figured that it would be something specific to my motherboard or the issue would have been caught by now.
Could it be a problem with the package or mkinitcpio?
EDIT:
Lone Wolf: I do use luks for my swap partition, but not for the root partition. I don't use lvm.
EDIT2: I don't think the CONFIG_MODVERSIONS issue is related. A recent commit says that was fixed.
Last edited by AaronBP (2016-11-13 21:36:59)
Offline
Do you have the same issue with being unable to use the keyboard?
Yes, keyboard is unresponsive. I am not using luks or lvm.
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
EDIT2: I don't think the CONFIG_MODVERSIONS issue is related. A recent commit says that was fixed.
Which commit was that?
From https://patchwork.kernel.org/patch/9377783/
Looking at https://git.kernel.org/cgit/linux/kerne … file.build only two changes to root/scripts/Makefile.build from the 4.9 merge window until 4.9-rc5 inclusive.
File in question as of 4.9-rc5 https://git.kernel.org/cgit/linux/kerne … s/v4.9-rc5
Those appear to be different patches and from inspection it also appears the proposed patch has not been applied as of 4.9-rc5.
It should not be CONFIG_MODVERSIONS related if you are using the linux-git package because of https://aur.archlinux.org/cgit/aur.git/ … 2182d6edc0
linux-mainline though does have CONFIG_MODVERSIONS=y
Offline
Try booting _without_ quiet in your kernel cmdline so you can see all the messages, maybe a clue is hidden there somewhere.
R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K
Offline
AaronBP wrote:EDIT2: I don't think the CONFIG_MODVERSIONS issue is related. A recent commit says that was fixed.
Which commit was that?
From https://patchwork.kernel.org/patch/9377783/
Looking at https://git.kernel.org/cgit/linux/kerne … file.build only two changes to root/scripts/Makefile.build from the 4.9 merge window until 4.9-rc5 inclusive.
File in question as of 4.9-rc5 https://git.kernel.org/cgit/linux/kerne … s/v4.9-rc5
Those appear to be different patches and from inspection it also appears the proposed patch has not been applied as of 4.9-rc5.
It should not be CONFIG_MODVERSIONS related if you are using the linux-git package because of https://aur.archlinux.org/cgit/aur.git/ … 2182d6edc0
linux-mainline though does have CONFIG_MODVERSIONS=y
You're right, I was looking at something for arm64, guess I thought it said amd64 or something. Rebuilding with CONFIG_MODVERSIONS=n fixes the problem for me.
Offline
Rebuilding with CONFIG_MODVERSIONS=n fixes the problem for me.
+1 for me!
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
Rebuilding with CONFIG_MODVERSIONS=n fixes the problem for me.
I haven't checked but has anyone opened a flyspray against our kernel package to keep the maintainers informed of this issue?
EDIT FS#51856.
Last edited by graysky (2016-11-16 22:36:03)
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
https://git.kernel.org/cgit/linux/kerne … e642d60061
Edit:
https://git.kernel.org/cgit/linux/kerne … df388fddcb
Edit2:
https://git.kernel.org/cgit/linux/kerne … 0ddce26b00
Edit3:
https://git.kernel.org/cgit/linux/kerne … 9b45b2f3a5
Note this reverts the change from edit2.
Last edited by loqs (2016-12-11 17:50:39)
Offline