linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [Dell XPS 13 9343] Random kernel Oops at boot with "acpi=ht", disappearing with "acpi=off"
@ 2015-10-02  9:59 Niccolò Belli
  2015-10-02 10:19 ` Mika Westerberg
  0 siblings, 1 reply; 12+ messages in thread
From: Niccolò Belli @ 2015-10-02  9:59 UTC (permalink / raw)
  To: linux-kernel; +Cc: linux-acpi

Hi,
This laptop suffers of random kernel hangs at boot: I tested kernel 4.1.8, 
4.2.1 and 4.3-rc3 and they are all affected.
Every time I turn on my laptop I have to boot several times to be able to 
reach the sddm login because often I get hangs which prevent the system to 
boot. Once booted I don't have any problem anymore, until the next boot.

With "acpi=off" the system boots flawlessly, while with "acpi=ht" I still 
get random hangs, so I guess the problem is in the ACPI table parsing code 
itself, or perhaps the SMP code.

I recompiled kernel 4.3-rc3 with CONFIG_ACPI_DEBUG=y and I attached full 
log from a serial console, booting with "debug acpi.debug_level=0x2003" 
(warn, error and tables debug enabled): 
https://bugzilla.kernel.org/attachment.cgi?id=189041

Distro is Arch Linux. Please let me know if you need further logs.

Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=105251

Niccolò Belli

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [Dell XPS 13 9343] Random kernel Oops at boot with "acpi=ht", disappearing with "acpi=off"
  2015-10-02  9:59 [Dell XPS 13 9343] Random kernel Oops at boot with "acpi=ht", disappearing with "acpi=off" Niccolò Belli
@ 2015-10-02 10:19 ` Mika Westerberg
  2015-10-03 10:11   ` Niccolò Belli
  0 siblings, 1 reply; 12+ messages in thread
From: Mika Westerberg @ 2015-10-02 10:19 UTC (permalink / raw)
  To: Niccolò Belli; +Cc: linux-kernel, linux-acpi

On Fri, Oct 02, 2015 at 11:59:38AM +0200, Niccolò Belli wrote:
> Hi,
> This laptop suffers of random kernel hangs at boot: I tested kernel 4.1.8,
> 4.2.1 and 4.3-rc3 and they are all affected.
> Every time I turn on my laptop I have to boot several times to be able to
> reach the sddm login because often I get hangs which prevent the system to
> boot. Once booted I don't have any problem anymore, until the next boot.
> 
> With "acpi=off" the system boots flawlessly, while with "acpi=ht" I still
> get random hangs, so I guess the problem is in the ACPI table parsing code
> itself, or perhaps the SMP code.
> 
> I recompiled kernel 4.3-rc3 with CONFIG_ACPI_DEBUG=y and I attached full log
> from a serial console, booting with "debug acpi.debug_level=0x2003" (warn,
> error and tables debug enabled):
> https://bugzilla.kernel.org/attachment.cgi?id=189041
> 
> Distro is Arch Linux. Please let me know if you need further logs.
> 
> Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=105251

Does it work any better if you blacklist the crashing module
"snd_soc_rl6347a" (or set CONFIG_SND_SOC_RL6347A=n)?

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [Dell XPS 13 9343] Random kernel Oops at boot with "acpi=ht", disappearing with "acpi=off"
  2015-10-02 10:19 ` Mika Westerberg
@ 2015-10-03 10:11   ` Niccolò Belli
  2015-10-05 10:46     ` Mika Westerberg
  0 siblings, 1 reply; 12+ messages in thread
From: Niccolò Belli @ 2015-10-03 10:11 UTC (permalink / raw)
  To: Mika Westerberg; +Cc: linux-kernel, linux-acpi

On venerdì 2 ottobre 2015 12:19:19 CEST, Mika Westerberg wrote:
> On Fri, Oct 02, 2015 at 11:59:38AM +0200, Niccolò Belli wrote:
>> Hi,
>> This laptop suffers of random kernel hangs at boot: I tested kernel 4.1.8,
>> 4.2.1 and 4.3-rc3 and they are all affected.
>> Every time I turn on my laptop I have to boot several times to be able to
>> reach the sddm login because often I get hangs which prevent 
>> the system to ...
>
> Does it work any better if you blacklist the crashing module
> "snd_soc_rl6347a" (or set CONFIG_SND_SOC_RL6347A=n)?
>

Hi,
I tried to blacklist the crashing module (snd_soc_rl6347a) without any 
success: it still loads. I booted kernel with 
modprobe.blacklist=snd_soc_rl6347a and I put "blacklist snd_soc_rl6347a" in 
/etc/modprobe.d/blacklist.conf. I even tried to recompile the kernel 
without that module, but there is no option in "make nconfig" to disable 
it, while adding "# CONFIG_SND_SOC_RL6347A is not set" to the config 
doesn't help because it keeps showing CONFIG_SND_SOC_RL6347A=m in "make 
nconfig" if I search for it with F8.
I attached another log with modprobe.blacklist=snd_soc_rl6347a plus 
modprobe.d entries: https://bugzilla.kernel.org/attachment.cgi?id=189361

Thanks,
Niccolò Belli

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [Dell XPS 13 9343] Random kernel Oops at boot with "acpi=ht", disappearing with "acpi=off"
  2015-10-03 10:11   ` Niccolò Belli
@ 2015-10-05 10:46     ` Mika Westerberg
  2015-10-05 13:41       ` Niccolò Belli
  0 siblings, 1 reply; 12+ messages in thread
From: Mika Westerberg @ 2015-10-05 10:46 UTC (permalink / raw)
  To: Niccolò Belli; +Cc: linux-kernel, linux-acpi

On Sat, Oct 03, 2015 at 12:11:54PM +0200, Niccolò Belli wrote:
> On venerdì 2 ottobre 2015 12:19:19 CEST, Mika Westerberg wrote:
> >On Fri, Oct 02, 2015 at 11:59:38AM +0200, Niccolò Belli wrote:
> >>Hi,
> >>This laptop suffers of random kernel hangs at boot: I tested kernel 4.1.8,
> >>4.2.1 and 4.3-rc3 and they are all affected.
> >>Every time I turn on my laptop I have to boot several times to be able to
> >>reach the sddm login because often I get hangs which prevent the system
> >>to ...
> >
> >Does it work any better if you blacklist the crashing module
> >"snd_soc_rl6347a" (or set CONFIG_SND_SOC_RL6347A=n)?
> >
> 
> Hi,
> I tried to blacklist the crashing module (snd_soc_rl6347a) without any
> success: it still loads. I booted kernel with
> modprobe.blacklist=snd_soc_rl6347a and I put "blacklist snd_soc_rl6347a" in
> /etc/modprobe.d/blacklist.conf. I even tried to recompile the kernel without
> that module, but there is no option in "make nconfig" to disable it, while
> adding "# CONFIG_SND_SOC_RL6347A is not set" to the config doesn't help
> because it keeps showing CONFIG_SND_SOC_RL6347A=m in "make nconfig" if I
> search for it with F8.
> I attached another log with modprobe.blacklist=snd_soc_rl6347a plus
> modprobe.d entries: https://bugzilla.kernel.org/attachment.cgi?id=189361

What if you disable the whole ALSA SoC?

CONFIG_SND_SOC=n

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [Dell XPS 13 9343] Random kernel Oops at boot with "acpi=ht", disappearing with "acpi=off"
  2015-10-05 10:46     ` Mika Westerberg
@ 2015-10-05 13:41       ` Niccolò Belli
  2015-10-05 13:54         ` Mika Westerberg
  0 siblings, 1 reply; 12+ messages in thread
From: Niccolò Belli @ 2015-10-05 13:41 UTC (permalink / raw)
  To: Mika Westerberg; +Cc: linux-kernel, linux-acpi

Il lunedì 5 ottobre 2015 12:46:45 CEST, Mika Westerberg ha scritto:
> On Sat, Oct 03, 2015 at 12:11:54PM +0200, Niccolò Belli wrote:
>> On venerdì 2 ottobre 2015 12:19:19 CEST, Mika Westerberg wrote: ...
>
> What if you disable the whole ALSA SoC?
>
> CONFIG_SND_SOC=n

Now I don't get any Oops but it doesn't reach the login anymore: instead it 
goes into emergency mode! :(
Log: https://bugzilla.kernel.org/attachment.cgi?id=189471

Thanks,
Niccolò Belli

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [Dell XPS 13 9343] Random kernel Oops at boot with "acpi=ht", disappearing with "acpi=off"
  2015-10-05 13:41       ` Niccolò Belli
@ 2015-10-05 13:54         ` Mika Westerberg
  2015-10-05 15:59           ` Niccolò Belli
  0 siblings, 1 reply; 12+ messages in thread
From: Mika Westerberg @ 2015-10-05 13:54 UTC (permalink / raw)
  To: Niccolò Belli; +Cc: linux-kernel, linux-acpi

On Mon, Oct 05, 2015 at 03:41:09PM +0200, Niccolò Belli wrote:
> Il lunedì 5 ottobre 2015 12:46:45 CEST, Mika Westerberg ha scritto:
> >On Sat, Oct 03, 2015 at 12:11:54PM +0200, Niccolò Belli wrote:
> >>On venerdì 2 ottobre 2015 12:19:19 CEST, Mika Westerberg wrote: ...
> >
> >What if you disable the whole ALSA SoC?
> >
> >CONFIG_SND_SOC=n
> 
> Now I don't get any Oops but it doesn't reach the login anymore: instead it
> goes into emergency mode! :(
> Log: https://bugzilla.kernel.org/attachment.cgi?id=189471

It says:

Mounting /boot...
[FAILED] Failed to mount /boot.
See 'systemctl status boot.mount' for details.
[DEPEND] Dependency failed for Local File Systems.

Did you run 'systemctl status boot.mount'?

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [Dell XPS 13 9343] Random kernel Oops at boot with "acpi=ht", disappearing with "acpi=off"
  2015-10-05 13:54         ` Mika Westerberg
@ 2015-10-05 15:59           ` Niccolò Belli
  2015-10-08 10:06             ` Mika Westerberg
  0 siblings, 1 reply; 12+ messages in thread
From: Niccolò Belli @ 2015-10-05 15:59 UTC (permalink / raw)
  To: Mika Westerberg; +Cc: linux-kernel, linux-acpi

Il lunedì 5 ottobre 2015 15:54:49 CEST, Mika Westerberg ha scritto:
> On Mon, Oct 05, 2015 at 03:41:09PM +0200, Niccolò Belli wrote:
>> Il lunedì 5 ottobre 2015 12:46:45 CEST, Mika Westerberg ha scritto: ...
>
> It says:
>
> Mounting /boot...
> [FAILED] Failed to mount /boot.
> See 'systemctl status boot.mount' for details.
> [DEPEND] Dependency failed for Local File Systems.
>
> Did you run 'systemctl status boot.mount'?

Please do not consider my previous e-mail, becuase the failure was due to 
file loss: in fact sometimes the system hangs while shutting down (I think 
because of this bug) and so some modules of my just compiled kernel were 
loss. I recompiled the kernel once again and synced the disks just to be 
sure: I still get random crashes even with CONFIG_SND_SOC=n.
See the new log: https://bugzilla.kernel.org/attachment.cgi?id=189481

Thank you very much for your help, it's much apreciated.
Niccolò Belli

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [Dell XPS 13 9343] Random kernel Oops at boot with "acpi=ht", disappearing with "acpi=off"
  2015-10-05 15:59           ` Niccolò Belli
@ 2015-10-08 10:06             ` Mika Westerberg
  2015-10-08 10:17               ` Niccolò Belli
  0 siblings, 1 reply; 12+ messages in thread
From: Mika Westerberg @ 2015-10-08 10:06 UTC (permalink / raw)
  To: Niccolò Belli; +Cc: linux-kernel, linux-acpi

On Mon, Oct 05, 2015 at 05:59:38PM +0200, Niccolò Belli wrote:
> Il lunedì 5 ottobre 2015 15:54:49 CEST, Mika Westerberg ha scritto:
> >On Mon, Oct 05, 2015 at 03:41:09PM +0200, Niccolò Belli wrote:
> >>Il lunedì 5 ottobre 2015 12:46:45 CEST, Mika Westerberg ha scritto: ...
> >
> >It says:
> >
> >Mounting /boot...
> >[FAILED] Failed to mount /boot.
> >See 'systemctl status boot.mount' for details.
> >[DEPEND] Dependency failed for Local File Systems.
> >
> >Did you run 'systemctl status boot.mount'?
> 
> Please do not consider my previous e-mail, becuase the failure was due to
> file loss: in fact sometimes the system hangs while shutting down (I think
> because of this bug) and so some modules of my just compiled kernel were
> loss. I recompiled the kernel once again and synced the disks just to be
> sure: I still get random crashes even with CONFIG_SND_SOC=n.
> See the new log: https://bugzilla.kernel.org/attachment.cgi?id=189481

It looks like a memory corruption somewhere. Unfortunately it is not
obvious from the log where :-(

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [Dell XPS 13 9343] Random kernel Oops at boot with "acpi=ht", disappearing with "acpi=off"
  2015-10-08 10:06             ` Mika Westerberg
@ 2015-10-08 10:17               ` Niccolò Belli
  2015-10-08 10:28                 ` Mika Westerberg
  0 siblings, 1 reply; 12+ messages in thread
From: Niccolò Belli @ 2015-10-08 10:17 UTC (permalink / raw)
  To: Mika Westerberg; +Cc: linux-kernel, linux-acpi

Il giovedì 8 ottobre 2015 12:06:15 CEST, Mika Westerberg ha scritto:
> On Mon, Oct 05, 2015 at 05:59:38PM +0200, Niccolò Belli wrote:
>> Il lunedì 5 ottobre 2015 15:54:49 CEST, Mika Westerberg ha scritto: ...
>
> It looks like a memory corruption somewhere. Unfortunately it is not
> obvious from the log where :-(

It seems I'm the only one with this issue, both Dell and an Aaron Lu (an 
Intel employee which uses Fedora) told me they don't experience it: 
https://bugzilla.kernel.org/show_bug.cgi?id=105251
So maybe it has something to do with my configuration, maybe the combo 
dm-crypt + btrfs which is pretty unusual, but I really don't know.

If you can tell me how to obtain a more useful log I can provide it.

Thanks,
Niccolò Belli

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [Dell XPS 13 9343] Random kernel Oops at boot with "acpi=ht", disappearing with "acpi=off"
  2015-10-08 10:17               ` Niccolò Belli
@ 2015-10-08 10:28                 ` Mika Westerberg
  2015-10-12 14:36                   ` Niccolò Belli
  2015-10-18 22:18                   ` Niccolò Belli
  0 siblings, 2 replies; 12+ messages in thread
From: Mika Westerberg @ 2015-10-08 10:28 UTC (permalink / raw)
  To: Niccolò Belli; +Cc: linux-kernel, linux-acpi

On Thu, Oct 08, 2015 at 12:17:39PM +0200, Niccolò Belli wrote:
> Il giovedì 8 ottobre 2015 12:06:15 CEST, Mika Westerberg ha scritto:
> >On Mon, Oct 05, 2015 at 05:59:38PM +0200, Niccolò Belli wrote:
> >>Il lunedì 5 ottobre 2015 15:54:49 CEST, Mika Westerberg ha scritto: ...
> >
> >It looks like a memory corruption somewhere. Unfortunately it is not
> >obvious from the log where :-(
> 
> It seems I'm the only one with this issue, both Dell and an Aaron Lu (an
> Intel employee which uses Fedora) told me they don't experience it:
> https://bugzilla.kernel.org/show_bug.cgi?id=105251
> So maybe it has something to do with my configuration, maybe the combo
> dm-crypt + btrfs which is pretty unusual, but I really don't know.

You may want to try another distro if it reproduces.

> If you can tell me how to obtain a more useful log I can provide it.

Other than dmesg, I have no idea :-/ Maybe full crashdump but then it
needs someone who is able to analyze it properly.

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [Dell XPS 13 9343] Random kernel Oops at boot with "acpi=ht", disappearing with "acpi=off"
  2015-10-08 10:28                 ` Mika Westerberg
@ 2015-10-12 14:36                   ` Niccolò Belli
  2015-10-18 22:18                   ` Niccolò Belli
  1 sibling, 0 replies; 12+ messages in thread
From: Niccolò Belli @ 2015-10-12 14:36 UTC (permalink / raw)
  To: Mika Westerberg; +Cc: linux-kernel, linux-acpi

On giovedì 8 ottobre 2015 12:28:16 CEST, Mika Westerberg wrote:
> On Thu, Oct 08, 2015 at 12:17:39PM +0200, Niccolò Belli wrote:
>> Il giovedì 8 ottobre 2015 12:06:15 CEST, Mika Westerberg ha scritto: ...
>
> You may want to try another distro if it reproduces.

It seems that only Arch triggers the kernel bug: 
https://bugzilla.kernel.org/show_bug.cgi?id=105251#c9

This is really, really strange...

Niccolò Belli

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [Dell XPS 13 9343] Random kernel Oops at boot with "acpi=ht", disappearing with "acpi=off"
  2015-10-08 10:28                 ` Mika Westerberg
  2015-10-12 14:36                   ` Niccolò Belli
@ 2015-10-18 22:18                   ` Niccolò Belli
  1 sibling, 0 replies; 12+ messages in thread
From: Niccolò Belli @ 2015-10-18 22:18 UTC (permalink / raw)
  To: Mika Westerberg; +Cc: linux-kernel, linux-acpi

I tried to use Ubuntu's kernel with Ubuntu's initramfs on Arch, but somehow 
I didn't manage to boot the system.

So I kept the Ubuntu kernel and I generated a new initramfs for it: I still 
get crashes at boot, maybe a bit less frequently.

Then I decided to build a kernel statically without using initramfs at all: 
I don't get crashes anymore!!!

So even Ubuntu's kernel *IS* bugged, but somehow only Arch's initramfs 
exposes the bug.

Unfortunately my laptop uses dm-crypt, so I *need* an initramfs to boot it 
(I was booting a flash drive in my tests).

Niccolò Belli

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2015-10-18 22:19 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-10-02  9:59 [Dell XPS 13 9343] Random kernel Oops at boot with "acpi=ht", disappearing with "acpi=off" Niccolò Belli
2015-10-02 10:19 ` Mika Westerberg
2015-10-03 10:11   ` Niccolò Belli
2015-10-05 10:46     ` Mika Westerberg
2015-10-05 13:41       ` Niccolò Belli
2015-10-05 13:54         ` Mika Westerberg
2015-10-05 15:59           ` Niccolò Belli
2015-10-08 10:06             ` Mika Westerberg
2015-10-08 10:17               ` Niccolò Belli
2015-10-08 10:28                 ` Mika Westerberg
2015-10-12 14:36                   ` Niccolò Belli
2015-10-18 22:18                   ` Niccolò Belli

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).