Cristian Rodríguez | 25 Dec 22:07 2011

ACPI problems, Dell XPS 15z laptop

(please CC me your replies, I am not subscribed)

Hi:

The laptop in $SUBJECT freezes at boot time, at random points sometimes 
after

[FIRMWARE BUG] ACPI(PEGP) defines _DOD but not _DOS

But in other ocassions, just after udev attempts to mount filesystems.

Using the following boot options make the system boot and work somewhat 
stable.

(these are single options, not combined)

- acpi=noirq

- pci=noacpi --> with this option I get warnings telling me to try 
"usepirqmask..."

- nox2apic

- intremap=off

This is a very recent sandy bridge system, the only clues I get from the 
log is:

"Not all IO-APIC's listed under remapping hardware
x2apic not enabled, IRQ remapping init failed"
(Continue reading)

Cristian Rodríguez | 26 Dec 01:20 2011

Re: ACPI problems, Dell XPS 15z laptop

On 25/12/11 18:07, Cristian Rodríguez wrote:
> (please CC me your replies, I am not subscribed)
>
> Hi:
>
> The laptop in $SUBJECT freezes at boot time, at random points sometimes
> after
>
> [FIRMWARE BUG] ACPI(PEGP) defines _DOD but not _DOS
>
> But in other ocassions, just after udev attempts to mount filesystems.
>
> Using the following boot options make the system boot and work somewhat
> stable.
>
> (these are single options, not combined)
>
> - acpi=noirq
>
> - pci=noacpi --> with this option I get warnings telling me to try
> "usepirqmask..."
>
> - nox2apic
>
> - intremap=off
>
> This is a very recent sandy bridge system, the only clues I get from the
> log is:
>
> "Not all IO-APIC's listed under remapping hardware
(Continue reading)

Cristian Rodríguez | 27 Dec 02:42 2011

Re: ACPI problems, Dell XPS 15z laptop

On 25/12/11 21:20, Cristian Rodríguez wrote:

> It is random, let's say, the USB port works twice every three boots.

Ok, now back to home after xmas, I have managed to boot the machine with 
an external USB keyboard attached here is dmesg


problems booting:

Neither touchpad or keyboard works unless I boot with pci=noapci


     0.000000] Disabled fast string operations
[    0.000000] BIOS-provided physical RAM map:
[    0.000000]  BIOS-e820: 0000000000000000 - 000000000009d800 (usable)
[    0.000000]  BIOS-e820: 000000000009d800 - 00000000000a0000 (reserved)
[    0.000000]  BIOS-e820: 00000000000e0000 - 0000000000100000 (reserved)
[    0.000000]  BIOS-e820: 0000000000100000 - 00000000b5a28000 (usable)
[    0.000000]  BIOS-e820: 00000000b5a28000 - 00000000b6e29000 (reserved)
[    0.000000]  BIOS-e820: 00000000b6e29000 - 00000000b886a000 (usable)
[    0.000000]  BIOS-e820: 00000000b886a000 - 00000000b8ab3000 (reserved)
[    0.000000]  BIOS-e820: 00000000b8ab3000 - 00000000bac8f000 (usable)
[    0.000000]  BIOS-e820: 00000000bac8f000 - 00000000bad2e000 (reserved)
[    0.000000]  BIOS-e820: 00000000bad2e000 - 00000000bad3d000 (ACPI NVS)
[    0.000000]  BIOS-e820: 00000000bad3d000 - 00000000badfb000 (reserved)
[    0.000000]  BIOS-e820: 00000000badfb000 - 00000000badfd000 (ACPI NVS)
[    0.000000]  BIOS-e820: 00000000badfd000 - 00000000badff000 (reserved)
[    0.000000]  BIOS-e820: 00000000badff000 - 00000000bae02000 (ACPI NVS)
[    0.000000]  BIOS-e820: 00000000bae02000 - 00000000bae0a000 (reserved)
(Continue reading)

David Sterba | 27 Dec 17:04 2011
Picon

Re: Re: ACPI problems, Dell XPS 15z laptop

On Mon, Dec 26, 2011 at 10:42:06PM -0300, Cristian Rodríguez wrote:
> [   39.615833] device fsid ca00ffff-8c21-4750-b25c-3cf321a07dd9
> devid 1 transid 21081 /dev/mapper/system-root
> [   39.616353] btrfs: turning off barriers

why do you use the 'nobarrier' option? you're risking loss of data and
an unmountable filesystem upon power outage or system crash.

david
--

-- 
To unsubscribe, e-mail: opensuse-kernel+unsubscribe@...
To contact the owner, e-mail: opensuse-kernel+owner@...

Cristian Rodríguez | 28 Dec 05:36 2011

Re: Re: ACPI problems, Dell XPS 15z laptop

On 27/12/11 13:04, David Sterba wrote:
> On Mon, Dec 26, 2011 at 10:42:06PM -0300, Cristian Rodríguez wrote:
>> [   39.615833] device fsid ca00ffff-8c21-4750-b25c-3cf321a07dd9
>> devid 1 transid 21081 /dev/mapper/system-root
>> [   39.616353] btrfs: turning off barriers
>
> why do you use the 'nobarrier' option?

well, I want it as fast as possible.

you're risking loss of data and
> an unmountable filesystem upon power outage or system crash.

Im aware of that ;-) The laptop is battery backed, and shuts down when 
battery is critical.. currently only crashes/hangs before mounting any 
file system. (just before attempting to unlock the encrypted volume)

--

-- 
To unsubscribe, e-mail: opensuse-kernel+unsubscribe@...
To contact the owner, e-mail: opensuse-kernel+owner@...

Bjorn Helgaas | 5 Jan 01:19 2012
Picon

Re: ACPI problems, Dell XPS 15z laptop

On Sun, Dec 25, 2011 at 5:20 PM, Cristian Rodríguez
<crrodriguez@...> wrote:

> Heh, today I tested a crazy theory I had about this problem, turned out to
> be somewhat accurate.. it is not that the machine that hangs always, but it
> deceivingly "appears" to hang as I cannot get past the cryptsetup password
> prompt.. it is the keyboard controller that becomes non responsive, that 's
> it either before the "prompt" (where it hangs) or right after showing it.
> (in that scenario the USB port works, as plugin and removing a device shows
> the relevant events in the console)
>
> It is random, let's say, the USB port works twice every three boots.

If it's just USB or keyboard that's non-responsive, you may be able to
ssh into the box and collect a dmesg log.  Oh, but I suppose ssh is
not going to work if you're stuck at cryptsetup.  Netconsole might
work, if your kernel supports it.  Or maybe a video of a text-mode
boot?

It might be instructive to compare the log with no options with a log
using one of the options you found that seems to help.

Bjorn

Gmane