View previous topic :: View next topic |
Author |
Message |
trumee Guru
Joined: 02 Mar 2003 Posts: 551 Location: London,UK
|
Posted: Fri Jun 03, 2016 12:53 am Post subject: RAM upgrade and Kernel panic on boot |
|
|
Hello,
I added a 4GB stick to my system upgrading it to 8GB RAM. The system now does a kernel panic boot (screenshot). The kernel is 64bit and i am able to boot OpenSuse fine. I ran memtest86 overnight and it passed too. Any body knows what kernel option is triggering this?
The kernel config is here
Thanks
Last edited by trumee on Fri Jun 03, 2016 3:28 pm; edited 2 times in total |
|
Back to top |
|
|
PeGa! Tux's lil' helper
Joined: 13 May 2005 Posts: 104 Location: Capital Federal, Buenos Aires, Argentina
|
Posted: Fri Jun 03, 2016 6:58 am Post subject: |
|
|
Aside from an esoteric kernel configuration, I don't see how a kernel config could trigger this behavior.
Some ideas:
- You've got in the gentoo kernel some kind of debug/security check intended for developers set on.
- You've got a ramdisk that went rogue.
- If opensuse is i386, that would explain why gentoo isn't able to boot (opensuse not being able to reach whole memory area will not complain about new corrupt memory, hence gentoo kernel crashing)
Did you try with genkernel? _________________ If it moves, it needs an ebuild.
Adopt an unanswered post. |
|
Back to top |
|
|
pilla Bodhisattva
Joined: 07 Aug 2002 Posts: 7731 Location: Underworld
|
Posted: Fri Jun 03, 2016 11:43 am Post subject: |
|
|
trumee, your link for the kernel config is broken, pointing to the kernel oops.
Have you tried to switch the memory sticks? _________________ "I'm just very selective about the reality I choose to accept." -- Calvin |
|
Back to top |
|
|
trumee Guru
Joined: 02 Mar 2003 Posts: 551 Location: London,UK
|
Posted: Fri Jun 03, 2016 3:32 pm Post subject: |
|
|
pilla wrote: | trumee, your link for the kernel config is broken, pointing to the kernel oops.
Have you tried to switch the memory sticks? |
Sorry, updated the link.
Changing the ram slots doesnt help. I tried a fresh config and the system booted fine. However, my system specific config is better, but i am not sure what is triiggering the kernel panic. |
|
Back to top |
|
|
pilla Bodhisattva
Joined: 07 Aug 2002 Posts: 7731 Location: Underworld
|
Posted: Fri Jun 03, 2016 4:28 pm Post subject: |
|
|
So I did some research on it. Looks like you got a call from swiotlb_full() (1), which means:
Code: |
/*
711 * Ran out of IOMMU space for this operation. This is very bad.
712 * Unfortunately the drivers cannot handle this operation properly.
713 * unless they check for dma_mapping_error (most don't)
714 * When the mapping is small enough return a static buffer to limit
715 * the damage, or panic when the transfer is too big.
716 */
|
So it looks like some driver for a device that uses DMA is giving IOMMU headaches. IOMMU is used for virtualization, are you running virtual machines (or inside one)?
I would check off all IOMMU-related things in the kernel if they are not required for now and then test a new kernel. _________________ "I'm just very selective about the reality I choose to accept." -- Calvin |
|
Back to top |
|
|
trumee Guru
Joined: 02 Mar 2003 Posts: 551 Location: London,UK
|
Posted: Fri Jun 03, 2016 5:37 pm Post subject: |
|
|
pilla wrote: | So I did some research on it. Looks like you got a call from swiotlb_full() (1), which means:
Code: |
/*
711 * Ran out of IOMMU space for this operation. This is very bad.
712 * Unfortunately the drivers cannot handle this operation properly.
713 * unless they check for dma_mapping_error (most don't)
714 * When the mapping is small enough return a static buffer to limit
715 * the damage, or panic when the transfer is too big.
716 */
|
So it looks like some driver for a device that uses DMA is giving IOMMU headaches. IOMMU is used for virtualization, are you running virtual machines (or inside one)?
I would check off all IOMMU-related things in the kernel if they are not required for now and then test a new kernel. |
I am not using virtualization. I disabled all IOMMU related options but still getting kernel panic.
Code: |
$grep IOMMU .config
# CONFIG_GART_IOMMU is not set
# CONFIG_CALGARY_IOMMU is not set
CONFIG_IOMMU_HELPER=y
# CONFIG_IOMMU_SUPPORT is not set
# CONFIG_IOMMU_STRESS is not set
|
|
|
Back to top |
|
|
acidrums4 Tux's lil' helper
Joined: 05 Feb 2009 Posts: 147 Location: Al otro lado del monitor
|
Posted: Sun Jan 29, 2017 11:31 am Post subject: |
|
|
Hello there,
Did you manage to solve this? I'm facing this very issue. With a 2GB + 1GB RAM cards my laptop boots successfully, but with two 2GB cards it goes into a kernel panic when launching X (or even disabling X, a few seconds after giving a shell prompt it goes into kernel panic too). |
|
Back to top |
|
|
Roman_Gruber Advocate
Joined: 03 Oct 2006 Posts: 3846 Location: Austro Bavaria
|
Posted: Sun Jan 29, 2017 11:36 am Post subject: |
|
|
Download memtest and run it for each memory stick. just plug in one 2gb and test it
are those specs the same for the RAM modules?
lets assume your gentoo and your opensuse are both 64bit, than you could reuse suses kernel config. just check before as mentioned with e.g. top if the hole RAM is adressed in opensuse.
Bios update already checked? done?
I assume you are arleady using the latest kernel.org stable release? Any kernel bug is invalid anyway with dated kernels !
--
when you provide
laptop model, exact numbers
cpu / chipset
manufacturer name for both ram modules.
--
a hardware defect can also not be ruled out. some guys can damage anything by just plug in something. those connectors are fragile. than ESD, scratch of the mainboard while opening the case and such ... |
|
Back to top |
|
|
|