This is the answer I got from Jörg Rödel and Borislav Petkov: Hey Kelvin,
Most likely the BIOS is buggy and does not setup the IOMMU hardware correctly so that it can't be used reliably in Linux. You can try to update the BIOS the the latest version and see if it fixes the issue, if not you should disable the IOMMU in the BIOS to get rid of the problem. Or you pass 'amd_iommu=off' on the kernel command-line to disable the AMD IOMMU driver in the Linux kernel. --- There is no BIOS Update available for this Mother Board. It has the most recent from Jan 2014. And I didn't find any option available in the BIOS Menu to disable the IOMMU. So I tried yesterday a fresh install passing the 'amd_iommu=off' to the kernel and everything is working fine. No delays/hangs, etc. The workaround works just perfect. Thank you very much for your help! -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1280668 Title: [Medion MS-7857] Computer freezes or hangs during install, boot or usage Status in “linux” package in Ubuntu: Triaged Bug description: Every time I tried to install this new it was hanging during the install or even before during boot. This system is a pre-installed windows 8 (64bits). In the file /var/log/dmesg I can see the following: [ 28.119124] BUG: soft lockup - CPU#0 stuck for 23s! [swapper/0:1] [ 28.119127] Modules linked in: [ 28.119130] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 3.11.0-15-generic #25~precise1-Ubuntu [ 28.119132] Hardware name: MEDION MS-7857/MS-7857, BIOS M7857W08.203 01/06/2014 [ 28.119133] task: ffff880429620000 ti: ffff880429628000 task.ti: ffff880429628000 [ 28.119134] RIP: 0010:[<ffffffff81380382>] [<ffffffff81380382>] delay_tsc+0x42/0x80 [ 28.119140] RSP: 0000:ffff880429629c68 EFLAGS: 00000246 [ 28.119141] RAX: 0000001c549ce3bd RBX: 000000000000032f RCX: 00000000549ce3bd [ 28.119142] RDX: 0000000000000cf2 RSI: 0000000000000282 RDI: 0000000000000e50 [ 28.119143] RBP: ffff880429629c88 R08: 0000000000002000 R09: 0000000000000000 [ 28.119144] R10: 0000000000000330 R11: 0720072007200720 R12: 0000000000000026 [ 28.119145] R13: ffffffff81ef8bc2 R14: 0000000000000246 R15: ffff880429629c38 [ 28.119147] FS: 0000000000000000(0000) GS:ffff88043ec00000(0000) knlGS:0000000000000000 [ 28.119148] CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b [ 28.119149] CR2: ffff88043efff000 CR3: 0000000001c0d000 CR4: 00000000000407f0 [ 28.119150] Stack: [ 28.119153] 0000000000001a0e ffff880429629cf0 0000000000001ff0 ffff880429579814 [ 28.119162] ffff880429629c98 ffffffff813802bc ffff880429629cb8 ffffffff81607e55 [ 28.119164] ffff880429579800 0000000000002000 ffff880429629d28 ffffffff81607f57 [ 28.119167] Call Trace: [ 28.119170] [<ffffffff813802bc>] __const_udelay+0x2c/0x30 [ 28.119174] [<ffffffff81607e55>] wait_on_sem+0x35/0x70 [ 28.119176] [<ffffffff81607f57>] iommu_queue_command_sync+0xc7/0x140 [ 28.119178] [<ffffffff81607fe3>] iommu_queue_command+0x13/0x20 [ 28.119183] [<ffffffff8160becd>] iommu_flush_all_caches+0x9d/0xf0 [ 28.119185] [<ffffffff8160c7b1>] early_enable_iommus+0x61/0x160 [ 28.119189] [<ffffffff81d2fc96>] ? memblock_find_dma_reserve+0x13d/0x13d [ 28.119192] [<ffffffff81d7a1e6>] state_next+0xbf/0x201 [ 28.119194] [<ffffffff81d2fc96>] ? memblock_find_dma_reserve+0x13d/0x13d [ 28.119196] [<ffffffff81d7a33c>] iommu_go_to_state+0x14/0x2f [ 28.119197] [<ffffffff81d7a3c8>] amd_iommu_init+0x13/0xff [ 28.119200] [<ffffffff81d26123>] ? load_default_modules+0x9/0xb [ 28.119203] [<ffffffff81d2fca9>] pci_iommu_init+0x13/0x3e [ 28.119206] [<ffffffff8100212a>] do_one_initcall+0xfa/0x1b0 [ 28.119208] [<ffffffff81086f00>] ? parse_args+0xd0/0x1d0 [ 28.119211] [<ffffffff81d25954>] ? do_early_param+0x87/0x87 [ 28.119213] [<ffffffff81d25fc6>] do_basic_setup+0x96/0xb9 [ 28.119215] [<ffffffff81d25954>] ? do_early_param+0x87/0x87 [ 28.119218] [<ffffffff81d45e83>] ? sched_init_smp+0x119/0x11b [ 28.119220] [<ffffffff81d260a1>] kernel_init_freeable+0xb8/0x131 [ 28.119224] [<ffffffff81723be0>] ? rest_init+0x80/0x80 [ 28.119226] [<ffffffff81723bee>] kernel_init+0xe/0xf0 [ 28.119229] [<ffffffff817508ec>] ret_from_fork+0x7c/0xb0 [ 28.119231] [<ffffffff81723be0>] ? rest_init+0x80/0x80 [ 28.119232] Code: 25 64 b0 00 00 0f ae f0 66 66 90 e8 c9 b0 c9 ff 66 90 41 89 c4 eb 11 66 90 f3 90 65 8b 1c 25 64 b0 00 00 41 39 dd 75 20 0f ae f0 <66> 66 90 e8 a6 b0 c9 ff 66 90 89 c2 44 29 e2 44 39 f2 72 da 5b [ 28.219649] AMD-Vi: Completion-Wait loop timed out WORKAROUND: I was able to complete the install passing the following kernel parameter, then the computer boots fine but hangs for between 25 to 2 minutes and then continues working. I would expect the computer not to hang: noapic --- ProblemType: Bug DistroRelease: Ubuntu 12.04 Package: linux-image-3.11.0-15-generic 3.11.0-15.25~precise1 [modified: boot/vmlinuz-3.11.0-15-generic] ProcVersionSignature: Ubuntu 3.11.0-15.25~precise1-generic 3.11.10 Uname: Linux 3.11.0-15-generic x86_64 NonfreeKernelModules: fglrx AlsaVersion: Advanced Linux Sound Architecture Driver Version k3.11.0-15-generic. ApportVersion: 2.0.1-0ubuntu17.6 Architecture: amd64 AudioDevicesInUse: USER PID ACCESS COMMAND /dev/snd/controlC1: kelvin 1952 F.... pulseaudio /dev/snd/controlC0: kelvin 1952 F.... pulseaudio CRDA: Error: [Errno 2] No such file or directory Card0.Amixer.info: Card hw:0 'Generic'/'HD-Audio Generic at 0xfeb00000 irq 10' Mixer name : 'Realtek ALC887-VD' Components : 'HDA:10ec0887,14627857,00100302' Controls : 45 Simple ctrls : 19 Card1.Amixer.info: Card hw:1 'HDMI'/'HDA ATI HDMI at 0xfea60000 irq 31' Mixer name : 'ATI R6xx HDMI' Components : 'HDA:1002aa01,00aa0100,00100300' Controls : 7 Simple ctrls : 1 Card1.Amixer.values: Simple mixer control 'IEC958',0 Capabilities: pswitch pswitch-joined penum Playback channels: Mono Mono: Playback [on] Date: Sat Feb 15 21:05:18 2014 HibernationDevice: RESUME=UUID=adc021ed-5f7b-4297-ab84-751585ae04f8 InstallationMedia: Ubuntu 12.04.4 LTS "Precise Pangolin" - Release amd64 (20140204) IwConfig: eth0 no wireless extensions. lo no wireless extensions. MachineType: MEDION MS-7857 MarkForUpload: True ProcEnviron: TERM=xterm PATH=(custom, no user) LANG=en_US.UTF-8 SHELL=/bin/bash ProcFB: 0 EFI VGA ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-3.11.0-15-generic.efi.signed root=UUID=79b13a2d-14bc-41d8-824b-aa2a64067215 ro noapic quiet splash vt.handoff=7 RelatedPackageVersions: linux-restricted-modules-3.11.0-15-generic N/A linux-backports-modules-3.11.0-15-generic N/A linux-firmware 1.79.9 RfKill: SourcePackage: linux-lts-saucy UpgradeStatus: No upgrade log present (probably fresh install) dmi.bios.date: 01/06/2014 dmi.bios.vendor: American Megatrends Inc. dmi.bios.version: M7857W08.203 dmi.board.name: MS-7857 dmi.board.vendor: MEDION dmi.board.version: 1.1 dmi.chassis.type: 3 dmi.chassis.vendor: MEDION dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrM7857W08.203:bd01/06/2014:svnMEDION:pnMS-7857:pvr1.1:rvnMEDION:rnMS-7857:rvr1.1:cvnMEDION:ct3:cvr: dmi.product.name: MS-7857 dmi.product.version: 1.1 dmi.sys.vendor: MEDION To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1280668/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : [email protected] Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp

