Hi
recently I upgraded from opensuse 13.1 to 13.2 using the procedure
zypper refresh
zypper update
zypper dist-upgrade
I have a Samsung rc530 with optimus techmology so I had installed also bumblebee together with the nvidia drivers and the kernel-devel packages. During upgrade I got error messags while updating the bootloader…
Perl-Bootloader: 2015-03-28 22:48:50 <3> pbl-3771.2 FileIO::ReadFile.85: Error: Failed to open /boot/grub2/device.map: No such file or directory
Can't locate PerlIO.pm in @INC (you may need to install the PerlIO module) (@INC contains: /usr/lib/perl5/site_perl/5.20.1/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.20.1 /usr/lib/perl5/vendor_perl/5.20.1/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.20.1 /usr/lib/perl5/5.20.1/x86_64-linux-thread-multi /usr/lib/perl5/5.20.1 /usr/lib/perl5/site_perl .) at /usr/lib/perl5/vendor_perl/5.20.1/Bootloader/Core/GRUB2.pm line 567.
BEGIN failed--compilation aborted.
Updating bootloader failed
During upgrade I removed the kernel-devel and bumblebee – because I thought they where not neccessary (false assumtion, now I know… and presumably these error messages belong to that fact. I’m just guessing. After the upgrade I added bumblebee and kernel-devel again and got boot problems related to the proper nvidia drivers but somhow I managed to boot anyway.
Now it does not boot anymore. The boot messages at that time did not inidcate any error, it got stuck at …
[OK] Started Machine Check Ecxeption logging Daemon
… for no apparent reason and nothing happend.It just halted.
Then I tried the rescue CD (x64bit) approach to try rebuilding kernel modules with mkinitrd, I guessed only to check for errors during building
cd /mnt
su -
# mount the root partition to /mnt
mount /dev/sda7 /mnt
# add devices etc.
mount --bind /dev /mnt/dev;
mount --bind /proc /mnt/proc
mount --bind /sys /mnt/sys
# now in root mode, can do any repair even yast
chroot /mnt
mkinitrd
exit # change back from chroot to rescue login
The mkinitrd succeded, no errors. I also tried even a
zypper update
But now it does boot only into the emergency mode after it tries to mount devices and cannot succeed; the output from journalctl -xb
...
Apr 16 16:13:18 linux-juk0 systemd-journal[427]: Journal started
Apr 16 16:13:14 linux-juk0 systemd[1]: Detected architecture 'x86-64'.
Apr 16 16:13:14 linux-juk0 systemd[1]: Set hostname to <linux-juk0>.
Apr 16 16:13:18 linux-juk0 systemd[1]: Mounted FUSE Control File System.
Apr 16 16:13:18 linux-juk0 systemd[1]: Mounted Configuration File System.
Apr 16 16:13:18 linux-juk0 systemd[1]: Starting Apply Kernel Variables...
Apr 16 16:13:19 linux-juk0 systemd[1]: Mounted POSIX Message Queue File System.
Apr 16 16:13:19 linux-juk0 systemd-sysctl[435]: Overwriting earlier assignment of kernel/sysrq in file '/etc/sysctl.d/99-sysctl.conf'.
Apr 16 16:13:19 linux-juk0 systemd[1]: Started Apply Kernel Variables.
Apr 16 16:13:19 linux-juk0 systemd-fsck[431]: /dev/sda7: sauber, 586162/3309568 Dateien, 11213993/13213696 Blöcke
Apr 16 16:13:19 linux-juk0 systemd[1]: Starting Remount Root and Kernel File Systems...
Apr 16 16:13:19 linux-juk0 systemd[1]: Starting udev Kernel Device Manager...
Apr 16 16:13:19 linux-juk0 systemd-udevd[447]: starting version 210
Apr 16 16:13:19 linux-juk0 systemd[1]: Started udev Kernel Device Manager.
Apr 16 16:13:19 linux-juk0 kernel: EXT4-fs (sda7): re-mounted. Opts: acl,user_xattr
Apr 16 16:13:19 linux-juk0 systemd[1]: Starting Load/Save Random Seed...
Apr 16 16:13:19 linux-juk0 systemd[1]: Starting Local File Systems (Pre).
Apr 16 16:13:20 linux-juk0 systemd[1]: Mounting /sys/kernel/debug...
Apr 16 16:13:20 linux-juk0 systemd[1]: Mounted Runtime Directory.
Apr 16 16:13:20 linux-juk0 systemd[1]: Mounted Lock Directory.
Apr 16 16:13:20 linux-juk0 systemd[1]: Started dracut pre-trigger hook.
Apr 16 16:13:20 linux-juk0 systemd[1]: Starting udev Coldplug all Devices...
Apr 16 16:13:20 linux-juk0 kernel: BUG: unable to handle kernel paging request at ffffffffa0aabbb8
Apr 16 16:13:20 linux-juk0 kernel: IP: <ffffffff8140d365>] uevent_store+0x25/0x40
Apr 16 16:13:20 linux-juk0 kernel: PGD 1c14067 PUD 1c15063 PMD c20b0067 PTE 0
Apr 16 16:13:20 linux-juk0 kernel: Oops: 0000 #1] SMP
Apr 16 16:13:20 linux-juk0 kernel: Modules linked in: dm_mod uas usb_storage i915 i2c_algo_bit drm_kms_helper ehci_pci ehci_hcd mxm_wmi usbcore sr_mod cdrom usb_common thermal drm wmi fan video
Apr 16 16:13:20 linux-juk0 kernel: CPU: 2 PID: 453 Comm: udevadm Tainted: P O 3.16.7-7-default #1
Apr 16 16:13:20 linux-juk0 kernel: Hardware name: SAMSUNG ELECTRONICS CO., LTD. RC530/RC730/RC530/RC730, BIOS 01WD.M004.20110621.PSA 06/21/2011
Apr 16 16:13:20 linux-juk0 kernel: task: ffff880128bfe210 ti: ffff880036a9c000 task.ti: ffff880036a9c000
Apr 16 16:13:20 linux-juk0 kernel: RIP: 0010:<ffffffff8140d365>] <ffffffff8140d365>] uevent_store+0x25/0x40
Apr 16 16:13:20 linux-juk0 kernel: RSP: 0018:ffff880036a9fec8 EFLAGS: 00010246
Apr 16 16:13:20 linux-juk0 kernel: RAX: 0000000000000000 RBX: 0000000000000003 RCX: 0000000000000064
Apr 16 16:13:20 linux-juk0 kernel: RDX: 0000000000000002 RSI: ffff880036f513a0 RDI: ffffffff81884792
Apr 16 16:13:20 linux-juk0 kernel: RBP: ffffffffa0aabb48 R08: 0000000000000064 R09: 6273752f73726576
Apr 16 16:13:20 linux-juk0 kernel: R10: 656761726f74732d R11: 0000000000000246 R12: ffff8800c588ccd8
Apr 16 16:13:20 linux-juk0 kernel: R13: ffff8800c588ccc0 R14: ffff880036a9ff58 R15: 00007fff12f8cf90
Apr 16 16:13:20 linux-juk0 kernel: FS: 00007f052a68a880(0000) GS:ffff88012fa40000(0000) knlGS:0000000000000000
Apr 16 16:13:20 linux-juk0 kernel: CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Apr 16 16:13:20 linux-juk0 kernel: CR2: ffffffffa0aabbb8 CR3: 0000000036864000 CR4: 00000000000407e0
Apr 16 16:13:20 linux-juk0 kernel: Stack:
Apr 16 16:13:20 linux-juk0 kernel: 00000000c588ccc0 0000000000000003 ffff880036f513a0 ffffffff8122128a
Apr 16 16:13:20 linux-juk0 kernel: ffff880128a2fa00 00007fff12f8cf90 0000000000000003 ffff880036a9ff58
Apr 16 16:13:20 linux-juk0 kernel: 0000000000000001 ffffffff811b1a92 0000000000000020 ffff880128a2fa00
Apr 16 16:13:20 linux-juk0 kernel: Call Trace:
Apr 16 16:13:20 linux-juk0 kernel: <ffffffff8122128a>] kernfs_fop_write+0xda/0x150
Apr 16 16:13:20 linux-juk0 kernel: <ffffffff811b1a92>] vfs_write+0xb2/0x1f0
Apr 16 16:13:20 linux-juk0 kernel: <ffffffff811b25d2>] SyS_write+0x42/0xa0
Apr 16 16:13:20 linux-juk0 kernel: <ffffffff815d0e6d>] system_call_fastpath+0x1a/0x1f
Apr 16 16:13:20 linux-juk0 kernel: <00007f0529812a20>] 0x7f0529812a1f
Apr 16 16:13:20 linux-juk0 kernel: Code: 66 0f 1f 44 00 00 66 66 66 66 90 55 48 89 fd 48 89 f7 53 48 89 d3 48 89 de 48 83 ec 08 48 8d 54 24 04 e8 5f 1d f0 ff 85 c0 75 0d <48> 8b 7d 70 8b 74 24
Apr 16 16:13:20 linux-juk0 kernel: RIP <ffffffff8140d365>] uevent_store+0x25/0x40
Apr 16 16:13:20 linux-juk0 kernel: RSP <ffff880036a9fec8>
Apr 16 16:13:20 linux-juk0 kernel: CR2: ffffffffa0aabbb8
Apr 16 16:13:20 linux-juk0 kernel: --- end trace ef7b4e6b8fb94eb2 ]---
Apr 16 16:13:22 linux-juk0 systemd[1]: Started Load/Save Random Seed.
Apr 16 16:13:22 linux-juk0 systemd[1]: Failed to start udev Coldplug all Devices.
Apr 16 16:13:22 linux-juk0 systemd[1]: Unit systemd-udev-trigger.service entered failed state.
Apr 16 16:13:22 linux-juk0 systemd[1]: Starting udev Wait for Complete Device Initialization...
Apr 16 16:13:22 linux-juk0 systemd[1]: Started dracut initqueue hook.
Apr 16 16:13:22 linux-juk0 systemd[1]: Starting Remote File Systems (Pre).
Apr 16 16:13:22 linux-juk0 systemd[1]: Starting Remote File Systems.
Apr 16 16:13:22 linux-juk0 systemd[1]: Reached target Remote File Systems.
Apr 16 16:13:22 linux-juk0 systemd[1]: Starting Activation of LVM2 logical volumes...
Apr 16 16:13:25 linux-juk0 lvm[467]: No volume groups found
Apr 16 16:13:25 linux-juk0 systemd[1]: Starting Encrypted Volumes.
Apr 16 16:13:25 linux-juk0 systemd[1]: Reached target Encrypted Volumes.
Apr 16 16:13:25 linux-juk0 systemd[1]: Starting Activation of LVM2 logical volumes...
Apr 16 16:13:25 linux-juk0 systemd[1]: Started dracut pre-mount hook.
Apr 16 16:13:25 linux-juk0 lvm[470]: No volume groups found
Apr 16 16:14:47 linux-juk0 systemd[1]: Job dev-disk-by\x2did-ata\x2dSAMSUNG_HM641JI_S26XJ9BB745271\x2dpart6.device/start timed out.
Apr 16 16:14:47 linux-juk0 systemd[1]: Dependency failed for /dev/disk/by-id/ata-SAMSUNG_HM641JI_S26XJ9BB745271-part6.
...
Apr 16 16:14:47 linux-juk0 systemd[1]: Job dev-disk-by\x2did-ata\x2dSAMSUNG_HM641JI_S26XJ9BB745271\x2dpart5.device/start timed out.
Apr 16 16:14:47 linux-juk0 systemd[1]: Timed out waiting for device dev-disk-by\x2did-ata\x2dSAMSUNG_HM641JI_S26XJ9BB745271\x2dpart5.device.
Apr 16 16:14:47 linux-juk0 systemd[1]: Dependency failed for /windows/E.
Apr 16 16:14:47 linux-juk0 systemd[1]: Started Shadow /etc/init.d/boot.localfs.
Apr 16 16:14:47 linux-juk0 systemd[1]: Closed D-Bus System Message Bus Socket.
Apr 16 16:14:47 linux-juk0 systemd[1]: Closed CUPS Scheduler.
Apr 16 16:14:47 linux-juk0 systemd[1]: Closed PC/SC Smart Card Daemon Activation Socket.
Apr 16 16:14:47 linux-juk0 systemd[1]: Stopped Login and scanning of iSCSI devices.
Apr 16 16:14:47 linux-juk0 systemd[1]: Stopped dracut pre-pivot and cleanup hook.
Apr 16 16:14:47 linux-juk0 systemd[1]: Stopped target Initrd Default Target.
Apr 16 16:14:47 linux-juk0 systemd[1]: Starting Stop Read-Ahead Data Collection 10s After Completed Startup.
Apr 16 16:14:47 linux-juk0 systemd[1]: Started Stop Read-Ahead Data Collection 10s After Completed Startup.
Apr 16 16:14:47 linux-juk0 systemd[1]: Stopped target Basic System.
Apr 16 16:14:47 linux-juk0 systemd[1]: Starting Timers.
Apr 16 16:14:47 linux-juk0 systemd[1]: Starting Sockets.
Apr 16 16:14:47 linux-juk0 systemd[1]: Stopped target System Initialization.
Apr 16 16:14:47 linux-juk0 systemd[1]: Started Manage Sound Card State (restore and store).
Apr 16 16:14:47 linux-juk0 systemd[1]: Starting Restore Sound Card State...
Apr 16 16:14:47 linux-juk0 systemd[1]: Starting LSB: Set default boot entry if called...
Apr 16 16:14:47 linux-juk0 systemd[1]: Starting Tell Plymouth To Write Out Runtime Data...
Apr 16 16:14:47 linux-juk0 systemd[1]: Starting Emergency Shell...
Apr 16 16:14:47 linux-juk0 systemd[1]: Started Emergency Shell.
Apr 16 16:14:47 linux-juk0 systemd[1]: Starting Emergency Mode.
Apr 16 16:14:47 linux-juk0 systemd[1]: Reached target Emergency Mode.
Apr 16 16:14:47 linux-juk0 systemd[1]: Started Console System Startup Logging.
If I read it I don not know what to do
- with the kernel BUG messages
- with the “Failed to start udev Coldplug all Devices”
- with the “Job dev-disk-by… timed out.“ and “Dependency failed for /xy-mountpoint”
It seems it does not pass the mounting of the devices and partitions and then halts in emergency mode.
Some technical facts:
rpm -q kernel-default kernel-default-devel kernel-devel kernel-firmware kernel-macros udev
kernel-default-3.16.7-7.1.x86_64
kernel-default-devel-3.16.7-7.1.x86_64
kernel-devel-3.16.7-7.1.noarch
kernel-firmware-20141122git-5.1.noarch
kernel-macros-3.16.7-7.1.noarch
udev-210-25.16.1.x86_64
cat /etc/fstab
/dev/disk/by-id/ata-SAMSUNG_HM641JI_S26XJ9BB745271-part6 swap swap defaults 0 0
/dev/disk/by-id/ata-SAMSUNG_HM641JI_S26XJ9BB745271-part7 / ext4 acl,user_xattr 1 1
/dev/disk/by-id/ata-SAMSUNG_HM641JI_S26XJ9BB745271-part8 /home ext4 acl,user_xattr 1 2
/dev/disk/by-id/ata-SAMSUNG_HM641JI_S26XJ9BB745271-part1 /windows/C ntfs-3g users,gid=users,umask=003,locale=de_DE.UTF-8 0 0
/dev/disk/by-id/ata-SAMSUNG_HM641JI_S26XJ9BB745271-part2 /windows/D ntfs-3g users,gid=users,umask=003,locale=de_DE.UTF-8 0 0
/dev/disk/by-id/ata-SAMSUNG_HM641JI_S26XJ9BB745271-part5 /windows/E ntfs-3g users,gid=users,umask=003,locale=de_DE.UTF-8 0 0
proc /proc proc defaults 0 0
sysfs /sys sysfs noauto 0 0
debugfs /sys/kernel/debug debugfs noauto 0 0
usbfs /proc/bus/usb usbfs noauto 0 0
devpts /dev/pts devpts mode=0620,gid=5 0 0
fdisk --list
Disk /dev/sda: 596.2 GiB, 640135028736 bytes, 1250263728 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x1f8d46a3
Device Boot Start End Sectors Size Id Type
/dev/sda1 2048 206847 204800 100M 7 HPFS/NTFS/exFAT
/dev/sda2 206848 170983423 170776576 81.4G 7 HPFS/NTFS/exFAT
/dev/sda3 * 170983424 1202378751 1031395328 491.8G f W95 Ext'd (LBA)
/dev/sda4 1202378752 1250258943 47880192 22.9G 27 Hidden NTFS WinRE
/dev/sda5 170985472 257042431 86056960 41G 7 HPFS/NTFS/exFAT
/dev/sda6 257044480 273831935 16787456 8G 82 Linux swap / Solaris
/dev/sda7 273833984 379543551 105709568 50.4G 83 Linux
/dev/sda8 379545600 1202378751 822833152 392.4G 83 Linux
Partition table entries are not in disk order.
Disk /dev/loop0: 466.2 MiB, 488833024 bytes, 954752 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/sdb: 298.1 GiB, 320072933376 bytes, 625142448 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0xef2531b6
Device Boot Start End Sectors Size Id Type
/dev/sdb1 63 625137344 625137282 298.1G 7 HPFS/NTFS/exFAT
Is it an issue with
- udev ?
- with the kernel ?
- or a configuration problem?
- or a systemd issue?
- or somthing with lvm (whatever this needs as setup)?
- or something other?
I don’t know where to start and what exacly to do. Please help :-/
Thank you very much!!
Infinite_Dao