Some good results: the somewhat offending module was coretemp. (Here, I have an Intel processor. On the computer, where there is no crash/reboot, the processor is AMD, and there k10temp or k9temp module is used. The other computer is fine with 14.04 (Trusty) and 14.10 (Utopic).)
Moving coretemp module away makes the system boot successful in a much more stable way. But still there is a possibility of a crash/reboot at a much earlier stage of the boot; that is not affected by removing coretemp. I've also moved away samsung-laptop.ko , because it was also near the place where the crash happened (see below about my usage of the modprobe-debugging script), but that seems not to be essential as a remedy. I've modified the above script a bit (not to break on spaces in the modaliases, and to print a summary about how many modeprobes are going to be done to know how the progress goes). I also modified the sleep time in my experiments (1 second or 0 seconds). And I added a call to sync, because I was saving the output to a file with tee. With a 1 second delay, there was no crash at all. WIth 0 second delay, the crash happened between loading coretemp and samsung-laptop. (I have compared the output on an i386 kernel and the crashing amd64 kernel.) Here is my modified script: $ cat /sbin/modprobedebug_udev.sh #!/bin/bash print_modules() { find /sys -name modalias -print0 | xargs -0 cat } echo 'This much modules I am about to process (the output of wc):' print_modules | wc print_modules | while read module ; do if [ -n "$module" ]; then echo "Loading module for $module in 0 seconds" sync #sleep 1 /sbin/modprobe -a -v "$module" udevadm settle fi done I ran it like this: modprobedebug_udev.sh | tee modprobedebug-"$(uname -r)".txt The diff between the results (after the crash, you see lines prefixed with minuses only; with 0 delay): # diff -du modprobedebug-3.19.0-28-generic.txt modprobedebug-4.2.0-10-generic.txt --- modprobedebug-3.19.0-28-generic.txt 2015-09-22 16:54:09.924195494 +0300 +++ modprobedebug-4.2.0-10-generic.txt 2015-09-22 16:52:49.864205114 +0300 @@ -1,149 +1,70 @@ This much modules I am about to process (the output of wc): - 112 114 3892 + 113 115 3973 Loading module for pci:v00008086d00002A40sv0000144Dsd0000C042bc06sc00i00 in 0 seconds Loading module for pci:v000010DEd000006E8sv0000144Dsd0000C042bc03sc00i00 in 0 seconds -insmod /lib/modules/3.19.0-28-generic/kernel/drivers/i2c/algos/i2c-algo-bit.ko -insmod /lib/modules/3.19.0-28-generic/kernel/drivers/gpu/drm/drm.ko -insmod /lib/modules/3.19.0-28-generic/kernel/drivers/gpu/drm/drm_kms_helper.ko -insmod /lib/modules/3.19.0-28-generic/kernel/drivers/gpu/drm/ttm/ttm.ko -insmod /lib/modules/3.19.0-28-generic/kernel/drivers/acpi/video.ko -insmod /lib/modules/3.19.0-28-generic/kernel/drivers/platform/x86/wmi.ko -insmod /lib/modules/3.19.0-28-generic/kernel/drivers/platform/x86/mxm-wmi.ko -insmod /lib/modules/3.19.0-28-generic/kernel/drivers/gpu/drm/nouveau/nouveau.ko Loading module for pci:v00008086d00002A41sv0000144Dsd0000C042bc06sc04i00 in 0 seconds -insmod /lib/modules/3.19.0-28-generic/kernel/drivers/pci/hotplug/shpchp.ko -Loading module for usb:v1D6Bp0001d0319dc09dsc00dp00ic09isc00ip00in00 in 0 seconds +insmod /lib/modules/4.2.0-10-generic/kernel/drivers/pci/hotplug/shpchp.ko +Loading module for usb:v1D6Bp0001d0402dc09dsc00dp00ic09isc00ip00in00 in 0 seconds Loading module for pci:v00008086d00002937sv0000144Dsd0000C042bc0Csc03i00 in 0 seconds -Loading module for usb:v1D6Bp0001d0319dc09dsc00dp00ic09isc00ip00in00 in 0 seconds +Loading module for usb:v1D6Bp0001d0402dc09dsc00dp00ic09isc00ip00in00 in 0 seconds Loading module for pci:v00008086d00002938sv0000144Dsd0000C042bc0Csc03i00 in 0 seconds -Loading module for usb:v1D6Bp0001d0319dc09dsc00dp00ic09isc00ip00in00 in 0 seconds +Loading module for usb:v1D6Bp0001d0402dc09dsc00dp00ic09isc00ip00in00 in 0 seconds Loading module for pci:v00008086d00002939sv0000144Dsd0000C042bc0Csc03i00 in 0 seconds Loading module for usb:v0AC8pC302d0100dcEFdsc02dp01ic0Eisc01ip00in00 in 0 seconds -insmod /lib/modules/3.19.0-28-generic/kernel/drivers/media/media.ko -insmod /lib/modules/3.19.0-28-generic/kernel/drivers/media/v4l2-core/videodev.ko -insmod /lib/modules/3.19.0-28-generic/kernel/drivers/media/v4l2-core/v4l2-common.ko -insmod /lib/modules/3.19.0-28-generic/kernel/drivers/media/v4l2-core/videobuf2-core.ko -insmod /lib/modules/3.19.0-28-generic/kernel/drivers/media/v4l2-core/videobuf2-memops.ko -insmod /lib/modules/3.19.0-28-generic/kernel/drivers/media/v4l2-core/videobuf2-vmalloc.ko -insmod /lib/modules/3.19.0-28-generic/kernel/drivers/media/usb/uvc/uvcvideo.ko +insmod /lib/modules/4.2.0-10-generic/kernel/drivers/media/media.ko +insmod /lib/modules/4.2.0-10-generic/kernel/drivers/media/v4l2-core/videodev.ko +insmod /lib/modules/4.2.0-10-generic/kernel/drivers/media/v4l2-core/v4l2-common.ko +insmod /lib/modules/4.2.0-10-generic/kernel/drivers/media/v4l2-core/videobuf2-core.ko +insmod /lib/modules/4.2.0-10-generic/kernel/drivers/media/v4l2-core/videobuf2-memops.ko +insmod /lib/modules/4.2.0-10-generic/kernel/drivers/media/v4l2-core/videobuf2-vmalloc.ko +insmod /lib/modules/4.2.0-10-generic/kernel/drivers/media/usb/uvc/uvcvideo.ko Loading module for usb:v0AC8pC302d0100dcEFdsc02dp01ic0Eisc02ip00in01 in 0 seconds -Loading module for usb:v1D6Bp0002d0319dc09dsc00dp00ic09isc00ip00in00 in 0 seconds +Loading module for usb:v1D6Bp0002d0402dc09dsc00dp00ic09isc00ip00in00 in 0 seconds Loading module for pci:v00008086d0000293Csv0000144Dsd0000C042bc0Csc03i20 in 0 seconds Loading module for pci:v00008086d0000293Esv0000144Dsd0000C042bc04sc03i00 in 0 seconds -insmod /lib/modules/3.19.0-28-generic/kernel/sound/core/snd.ko -insmod /lib/modules/3.19.0-28-generic/kernel/sound/core/snd-pcm.ko -insmod /lib/modules/3.19.0-28-generic/kernel/sound/soundcore.ko +insmod /lib/modules/4.2.0-10-generic/kernel/sound/core/snd.ko +insmod /lib/modules/4.2.0-10-generic/kernel/sound/core/snd-pcm.ko +insmod /lib/modules/4.2.0-10-generic/kernel/sound/soundcore.ko install /sbin/modprobe --ignore-install snd $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-ioctl32 ; /sbin/modprobe --quiet --use-blacklist snd-seq ; } install /sbin/modprobe --ignore-install snd-pcm $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-pcm-oss ; : ; } -insmod /lib/modules/3.19.0-28-generic/kernel/sound/core/snd-hwdep.ko -insmod /lib/modules/3.19.0-28-generic/kernel/sound/pci/hda/snd-hda-codec.ko -insmod /lib/modules/3.19.0-28-generic/kernel/sound/pci/hda/snd-hda-controller.ko -insmod /lib/modules/3.19.0-28-generic/kernel/sound/pci/hda/snd-hda-intel.ko +insmod /lib/modules/4.2.0-10-generic/kernel/sound/core/snd-hwdep.ko +insmod /lib/modules/4.2.0-10-generic/kernel/sound/hda/snd-hda-core.ko +insmod /lib/modules/4.2.0-10-generic/kernel/sound/pci/hda/snd-hda-codec.ko +insmod /lib/modules/4.2.0-10-generic/kernel/sound/pci/hda/snd-hda-intel.ko Loading module for pci:v00008086d00004232sv00008086sd00001201bc02sc80i00 in 0 seconds -insmod /lib/modules/3.19.0-28-generic/kernel/net/wireless/cfg80211.ko -insmod /lib/modules/3.19.0-28-generic/kernel/drivers/net/wireless/iwlwifi/iwlwifi.ko +insmod /lib/modules/4.2.0-10-generic/kernel/net/wireless/cfg80211.ko +insmod /lib/modules/4.2.0-10-generic/kernel/drivers/net/wireless/iwlwifi/iwlwifi.ko Loading module for pci:v00008086d00002940sv0000144Dsd0000C042bc06sc04i00 in 0 seconds Loading module for pci:v00008086d00002944sv0000144Dsd0000C042bc06sc04i00 in 0 seconds Loading module for pci:v000011ABd00004363sv0000144Dsd0000C042bc02sc00i00 in 0 seconds Loading module for pci:v00008086d00002946sv0000144Dsd0000C042bc06sc04i00 in 0 seconds -Loading module for usb:v1D6Bp0001d0319dc09dsc00dp00ic09isc00ip00in00 in 0 seconds +Loading module for usb:v1D6Bp0001d0402dc09dsc00dp00ic09isc00ip00in00 in 0 seconds Loading module for pci:v00008086d00002934sv0000144Dsd0000C042bc0Csc03i00 in 0 seconds -Loading module for usb:v1D6Bp0001d0319dc09dsc00dp00ic09isc00ip00in00 in 0 seconds +Loading module for usb:v1D6Bp0001d0402dc09dsc00dp00ic09isc00ip00in00 in 0 seconds Loading module for pci:v00008086d00002935sv0000144Dsd0000C042bc0Csc03i00 in 0 seconds Loading module for usb:v0A5Cp2101d0354dcE0dsc01dp01icE0isc01ip01in00 in 0 seconds -insmod /lib/modules/3.19.0-28-generic/kernel/net/bluetooth/bluetooth.ko -insmod /lib/modules/3.19.0-28-generic/kernel/drivers/bluetooth/btusb.ko +insmod /lib/modules/4.2.0-10-generic/kernel/net/bluetooth/bluetooth.ko +insmod /lib/modules/4.2.0-10-generic/kernel/drivers/bluetooth/btintel.ko +insmod /lib/modules/4.2.0-10-generic/kernel/drivers/bluetooth/btbcm.ko +insmod /lib/modules/4.2.0-10-generic/kernel/drivers/bluetooth/btrtl.ko +insmod /lib/modules/4.2.0-10-generic/kernel/drivers/bluetooth/btusb.ko Loading module for usb:v0A5Cp2101d0354dcE0dsc01dp01icE0isc01ip01in01 in 0 seconds Loading module for usb:v0A5Cp2101d0354dcE0dsc01dp01icFFiscFFipFFin02 in 0 seconds Loading module for usb:v0A5Cp2101d0354dcE0dsc01dp01icFEisc01ip00in03 in 0 seconds -Loading module for usb:v1D6Bp0001d0319dc09dsc00dp00ic09isc00ip00in00 in 0 seconds +Loading module for usb:v1D6Bp0001d0402dc09dsc00dp00ic09isc00ip00in00 in 0 seconds Loading module for pci:v00008086d00002936sv0000144Dsd0000C042bc0Csc03i00 in 0 seconds -Loading module for usb:v1D6Bp0002d0319dc09dsc00dp00ic09isc00ip00in00 in 0 seconds +Loading module for usb:v1D6Bp0002d0402dc09dsc00dp00ic09isc00ip00in00 in 0 seconds Loading module for pci:v00008086d0000293Asv0000144Dsd0000C042bc0Csc03i20 in 0 seconds Loading module for pci:v00008086d00002448sv0000144Dsd0000C042bc06sc04i01 in 0 seconds Loading module for acpi:PNP0C04: in 0 seconds Loading module for acpi:PNP0C0A: in 0 seconds Loading module for acpi:PNP0C09: in 0 seconds Loading module for pci:v00008086d00002919sv0000144Dsd0000C042bc06sc01i00 in 0 seconds -insmod /lib/modules/3.19.0-28-generic/kernel/drivers/mfd/lpc_ich.ko +insmod /lib/modules/4.2.0-10-generic/kernel/drivers/mfd/lpc_ich.ko Loading module for acpi:INT0800: in 0 seconds Loading module for scsi:t-0x00 in 0 seconds Loading module for pci:v00008086d00002929sv0000144Dsd0000C042bc01sc06i01 in 0 seconds Loading module for pci:v00008086d00002930sv0000144Dsd0000C042bc0Csc05i00 in 0 seconds -Loading module for cpu:type:x86,ven0000fam0006mod0017:feature:,0000,0001,0002,0003,0004,0005,0006,0007,0008,0009,000B,000C,000D,000E,000F,0010,0011,0013,0015,0016,0017,0018,0019,001A,001B,001C,001D,001F,0034,003D,0066,0068,006B,006C,006D,0072,0075,007C,0080,0082,0083,0084,0087,0088,0089,008D,008E,008F,0093,00C0,00E7 in 0 seconds -insmod /lib/modules/3.19.0-28-generic/kernel/drivers/hwmon/coretemp.ko +Loading module for cpu:type:x86,ven0000fam0006mod0017:feature:,0000,0001,0002,0003,0004,0005,0006,0007,0008,0009,000B,000C,000D,000E,000F,0010,0011,0013,0015,0016,0017,0018,0019,001A,001B,001C,001D,001F,002B,0034,003D,0068,006B,006C,006D,006F,0070,0072,0074,0075,007C,0080,0082,0083,0084,0087,0088,0089,008D,008E,008F,0093,00C0,00E7 in 0 seconds +insmod /lib/modules/4.2.0-10-generic/kernel/drivers/hwmon/coretemp.ko Loading module for dmi:bvnPhoenixTechnologiesLtd.:bvr07LI.MP00.20080926.SCY:bd09/26/2008:svnSAMSUNGELECTRONICSCO.,LTD.:pnR510/P510:pvrNotApplicable:rvnSAMSUNGELECTRONICSCO.,LTD.:rnR510/P510:rvrNotApplicable:cvnSAMSUNGELECTRONICSCO.,LTD.:ct10:cvrN/A: in 0 seconds -insmod /lib/modules/3.19.0-28-generic/kernel/drivers/platform/x86/samsung-laptop.ko -Loading module for platform:reg-dummy in 0 seconds -Loading module for platform:i8042 in 0 seconds -Loading module for input:b0011v0001p0001eAB41-e0,1,4,11,14,k71,72,73,74,75,76,77,79,7A,7B,7C,7D,7E,7F,80,8C,8E,8F,94,95,96,9B,9C,9D,9E,9F,A3,A4,A5,A6,AC,AD,B7,B8,B9,C0,C1,CA,D9,E0,E1,E2,E3,EC,EE,ram4,l0,1,2,sfw in 0 seconds -insmod /lib/modules/3.19.0-28-generic/kernel/drivers/macintosh/mac_hid.ko -Loading module for serio:ty06pr00id00ex00 in 0 seconds -insmod /lib/modules/3.19.0-28-generic/kernel/drivers/input/serio/serio_raw.ko -Loading module for serio:ty01pr00id00ex00 in 0 seconds -Loading module for serio:ty01pr00id00ex00 in 0 seconds -Loading module for serio:ty01pr00id00ex00 in 0 seconds -Loading module for input:b0011v0002p0007e01B1-e0,1,3,k110,111,145,14A,ra0,1,18,1C,mlsfw in 0 seconds -insmod /lib/modules/3.19.0-28-generic/kernel/drivers/input/joydev.ko -Loading module for serio:ty01pr00id00ex00 in 0 seconds -Loading module for acpi:PNP0C0B: in 0 seconds -Loading module for acpi:PNP0C0B: in 0 seconds -Loading module for acpi:PNP0C0C: in 0 seconds -Loading module for acpi:PNP0C0D: in 0 seconds -Loading module for acpi:PNP0C0E: in 0 seconds -Loading module for platform:alarmtimer in 0 seconds -Loading module for platform:eisa in 0 seconds -Loading module for platform:pcspkr in 0 seconds -Loading module for platform:serial8250 in 0 seconds -Loading module for platform:Fixed MDIO bus in 0 seconds -Loading module for platform:platform-framebuffer in 0 seconds -Loading module for platform:microcode in 0 seconds -Loading module for acpi:ACPI0003: in 0 seconds -Loading module for acpi:LNXSYSTM: in 0 seconds -Loading module for acpi:LNXCPU: in 0 seconds -Loading module for acpi:LNXCPU: in 0 seconds -Loading module for acpi:LNXCPU: in 0 seconds -Loading module for acpi:LNXCPU: in 0 seconds -Loading module for acpi:LNXVIDEO: in 0 seconds -Loading module for acpi:PNP0303: in 0 seconds -Loading module for acpi:PNP0B00: in 0 seconds -Loading module for acpi:PNP0C02: in 0 seconds -Loading module for acpi:PNP0C02: in 0 seconds -Loading module for acpi:PNP0C04: in 0 seconds -Loading module for acpi:PNP0C0A: in 0 seconds -Loading module for acpi:PNP0C09: in 0 seconds -Loading module for acpi:PNP0F13: in 0 seconds -Loading module for acpi:INT0800: in 0 seconds -Loading module for acpi:PNP0000: in 0 seconds -Loading module for acpi:PNP0100: in 0 seconds -Loading module for acpi:PNP0103:PNP0C01: in 0 seconds -Loading module for acpi:PNP0200: in 0 seconds -Loading module for acpi:LNXVIDEO: in 0 seconds -Loading module for acpi:PNP0C02: in 0 seconds -Loading module for acpi:PNP0A08:PNP0A03: in 0 seconds -Loading module for input:b0019v0000p0001e0000-e0,1,k74,ramlsfw in 0 seconds -Loading module for acpi:PNP0C0C: in 0 seconds -Loading module for input:b0019v0000p0005e0000-e0,5,kramlsfw0, in 0 seconds -Loading module for acpi:PNP0C0D: in 0 seconds -Loading module for input:b0019v0000p0003e0000-e0,1,k8E,ramlsfw in 0 seconds -Loading module for acpi:PNP0C0E: in 0 seconds -Loading module for acpi:PNP0C0F: in 0 seconds -Loading module for acpi:PNP0C0F: in 0 seconds -Loading module for acpi:PNP0C0F: in 0 seconds -Loading module for acpi:PNP0C0F: in 0 seconds -Loading module for acpi:PNP0C0F: in 0 seconds -Loading module for acpi:PNP0C0F: in 0 seconds -Loading module for acpi:PNP0C0F: in 0 seconds -Loading module for acpi:PNP0C0F: in 0 seconds -Loading module for acpi:PNP0C31:PNP0C31: in 0 seconds -Loading module for acpi:LNXSYBUS: in 0 seconds -Loading module for acpi:ACPI0003: in 0 seconds -Loading module for acpi:PNP0C0B: in 0 seconds -Loading module for acpi:PNP0C0B: in 0 seconds -Loading module for acpi:LNXSYBUS: in 0 seconds -Loading module for acpi:LNXPOWER: in 0 seconds -Loading module for acpi:LNXPOWER: in 0 seconds -Loading module for acpi:LNXTHERM: in 0 seconds -Loading module for acpi:LNXTHERM: in 0 seconds -Loading module for input:b0019v0000p0001e0000-e0,1,k74,ramlsfw in 0 seconds -Loading module for acpi:LNXPWRBN: in 0 seconds Now I'm thinking about a way to just force a small delay (perhaps, 0.5 sec) after any module insertion during the overall boot process to make it stable. (SInce it doesn't crash with such delays.) It could be a workaround. This potential hack should be added to my initrd, too. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1495116 Title: booting with amd64 kernel and completely i386 userland is unstable during the system upstart To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1495116/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs