Info Update to login problem:

I wasn’t able to login, because my system fits an USB 3.0 interface, and in the 
kernel’s default configuration the
USB 3.0 support is not enabled!!


BR,
Marco

Von: Marco Tangl
Gesendet: Mittwoch, 06. April 2016 09:45
An: 'Luke Williams' <luke.willi...@canonical.com>
Cc: snappy-devel@lists.ubuntu.com
Betreff: AW: kernel snap for generic_amd64 devices

Hi Luke,

many thanks for your hint!
After installation of the new kernel snap, my device boots again (no stuck in 
initramfs anymore).
Unfortunately I am not able to login anymore ☹

Does anyone have an idea regarding this issue?

Best Regards,
Marco



Von: Luke Williams [mailto:luke.willi...@canonical.com]
Gesendet: Dienstag, 05. April 2016 18:03
An: Marco Tangl <marco.ta...@dewetron.com<mailto:marco.ta...@dewetron.com>>
Cc: snappy-devel@lists.ubuntu.com<mailto:snappy-devel@lists.ubuntu.com>
Betreff: Re: kernel snap for generic_amd64 devices

Hi Marco,

I ran into the same exact thing. For some reason, the defconfig does not enable 
squashfs xz. You need to add that to your kconfigs section:
CONFIG_SQUASHFS_XZ=y

Then rebuild your snap using snapcraft and you’ll be good to go.


Thanks,

Luke Williams - Support Engineer, Network Switches
email: luke.willi...@canonical.com<mailto:luke.willi...@canonical.com>
http://www.canonical.com/ | http://www.ubuntu.com




On Apr 5, 2016, at 8:07 AM, Marco Tangl 
<marco.ta...@dewetron.com<mailto:marco.ta...@dewetron.com>> wrote:

Hi all,

I am trying to snap a kernel for my device which is running the 
mvo/amd64-all-snap.img,
without success so far ☹

What I did:
1.       Downloaded kernel sources from 
git://kernel.ubuntu.com/Ubuntu/Ubuntu-xenial.git
2.       Prepared a snapcraft.yaml file:
-------
xx
type: kernel
parts:
 plugin: kernel
  kdefconfig: [defconfig]
  kconfigs:
-          CONFIG_LOCALVERSION=”-amd64”
-          CONFIG_DEBUG_INFO=n
-          CONFIG_SQUASHFS=m
 kernel-initrd-modules:
-          squashfs
------

3.       Transferred generated kernel.snap (sudo snapcraft) to destination 
system (amd64-all-snap.img) and installed it.
Everything seemed to be ok .. I got the message “Reboot to use xxxkernel 
version xxx”
4.       Reboot system -> got stuck in initramfs


The thing is, I’m sure the yaml file isn’t done in a correct way. Unfortunately 
I cannot find any helpful documentation (for me), examples on that topic.
Do you have an example covering this topic, or can you tell me what I am doing 
wrong …

The reason why  I want to generate a kernel.snap is, that we have additional 
hardware for which we have a DKMS based kernel module.

Many thanks in advance,

Marco





--
snappy-devel mailing list
snappy-devel@lists.ubuntu.com<mailto:snappy-devel@lists.ubuntu.com>
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/snappy-devel

-- 
snappy-devel mailing list
snappy-devel@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/snappy-devel

Reply via email to