mkinitrd fails

Dear people,
Needed some newer software for a recent bought laptop (Lennovo G505)

It runs fine but after kernel 13+ mkinitrd started to fail (worked in the first versions of the 13+ kernel).

Have tried different versions of kernel-desktop, kernel-firmware, ucode-amd. But no avail.

OS Version is opensuse 13.1
kernel-desktop: kernel-desktop-3.14.rc6-4.1.x86_64
kernel-firmware: kernel-firmware-20140319git-36.1.noarch
ucode-amd: ucode-amd-20140319git-36.1.noarch

The error message is:

Kernel image: /boot/vmlinuz-3.14.0-1.g79de0a7-desktop
Initrd image: /boot/initrd-3.14.0-1.g79de0a7-desktop
KMS drivers: radeon
Root device: /dev/disk/by-id/ata-ST1000LM024_HN-M101MBB_S2SMJ9FDA13801-part3 (/dev/sda3) (mounted on / as ext4)
Resume device: /dev/disk/by-id/ata-ST1000LM024_HN-M101MBB_S2SMJ9FDA13801-part2 (/dev/sda2)
Microcode: Adding AMD microcode microcode_amd_fam16h.bin
cp: missing destination file operand after ‘/tmp/.3shsudCI/mnt/lib/firmware/amd-ucode’
Try ‘cp --help’ for more information.
Script /lib/mkinitrd/setup/91-amd_microcode.sh failed!
There was an error generating the initrd (1)

Thanks in advantage!

Peter

Well, you probably should ask it in Prerelease forum or on factory list. It works fine using stock 13.1 packages.

On 2014-04-03 10:46, peterterpstra wrote:
>
> Dear people,
> Needed some newer software for a recent bought laptop (Lennovo G505)
>
> It runs fine but after kernel 13+ mkinitrd started to fail (worked in
> the first versions of the 13+ kernel).
>
> Have tried different versions of kernel-desktop, kernel-firmware,
> ucode-amd. But no avail.
>
> OS Version is opensuse 13.1
> kernel-desktop: kernel-desktop-3.14.rc6-4.1.x86_64

But that’s not the kernel openSUSE 13.1 has. It looks a development kernel.


Cheers / Saludos,

Carlos E. R.
(from 13.1 x86_64 “Bottle” at Telcontar)

Perhaps, as you have done for others before, you are going to have to walk the OP through straightening up his repo list.

Okay, thanks.
Will try there.

On 2014-04-04 05:36, Fraser Bell wrote:
>
> robin_listas;2634873 Wrote:

>> But that’s not the kernel openSUSE 13.1 has. It looks a development
>> kernel.

>
> Perhaps, as you have done for others before, you are going to have to
> walk the OP through straightening up his repo list.

I’m willing… but he has to say first if he is intentionally using that
kernel, or that he doesn’t know why he is using it… then we can guess
that he is using a wrong repo list :slight_smile:


Cheers / Saludos,

Carlos E. R.
(from 13.1 x86_64 “Bottle” at Telcontar)

Yep.

This was meant more as a hint to the OP that it would help to know something about what is going on if anyone here is to provide a good solution.

… and that you could help straighten out repo lists if the OP lets you know what version is involved.

Confirming this on stock 13.1 final - just installed fresh on a new laptop. The error is as posted above and the offending line in the mkinitrd script is:

cp /lib/firmware/amd-ucode/"$file"* $tmp_mnt/lib/firmware/amd-ucode

The fam16h version of the firmware appears not to exist.

I’ve filed this as https://bugzilla.novell.com/show_bug.cgi?id=872266

Thank you!