Bug 8278 - boot hang unless "acpi=off" - asus M3000N
Summary: boot hang unless "acpi=off" - asus M3000N
Status: REJECTED INSUFFICIENT_DATA
Alias: None
Product: ACPI
Classification: Unclassified
Component: Config-Interrupts (show other bugs)
Hardware: i386 Linux
: P2 normal
Assignee: Zhang Rui
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-28 15:30 UTC by Alessandro P.
Modified: 2008-02-17 18:16 UTC (History)
3 users (show)

See Also:
Kernel Version: from 2.6.18 to 2.6.20 (latest tried)
Subsystem:
Regression: ---
Bisected commit-id:


Attachments
2.6.20-13 Ubuntu config (81.29 KB, text/plain)
2007-04-03 06:33 UTC, Alessandro P.
Details
My kernel 2.6.20.4 .config (67.20 KB, application/octet-stream)
2007-04-03 13:03 UTC, Alessandro P.
Details

Description Alessandro P. 2007-03-28 15:30:46 UTC
Most recent kernel where this bug did *NOT* occur: null
Distribution:Ubuntu
Hardware Environment: asus M3000N
Software Environment:
Problem Description:

(see report in launchpad with interesting resources:
https://launchpad.net/ubuntu/+source/linux-source-2.6.20/+bug/83290 )

When i try to boot i have following behavior 
kernel 2.6.18, 2.6.19:
      my pc symply reboot after few seconds i switched it on.

kernel 2.6.20
      the pc doesn't reboot anymore, but hang after few seconds with this 
message:

[46.459412] setting up standard pci resources
[46.025857] ACPI: Looking for DSDT in initramfs... error, file /DSDT.aml not found
[...]
[48.12309]Initializing PCI resources:

and then it hangs forever (at least for three minute...)

If i boot with acpi=off option, i can boot normally, but the system didn't
recognize the sound card and the videocard (i810 or i915 module)...



Steps to reproduce:boot without acpi=off option.
Comment 1 Diego Calleja 2007-03-28 16:24:29 UTC
[46.025857] ACPI: Looking for DSDT in initramfs... error, file /DSDT.aml not found

If there should be a DSDT, this looks like an ubuntu bug, doesn't it?
Comment 2 Len Brown 2007-03-28 19:36:03 UTC
> ACPI: Looking for DSDT in initramfs... error, file /DSDT.aml not found

Right, the code that searches for a DSDT in the iniramfs
is not included in the upstream kernel, just Ubuntu and SuSE.

> kernel 2.6.18, 2.6.19:
>      my pc symply reboot after few seconds i switched it on.
>
> kernel 2.6.20
>      the pc doesn't reboot anymore, but hang after few seconds with this 
> ...
> Initializing PCI resources:

This boot failure is pretty dramatic.

What is the most recent version of the kernel that boots
successfully in ACPI mode on this system?

Can you reproduce this using a kernel.org kernel, or just Ubuntu kernels?
Does it go away with any of these random boot options (besides acpi=off)?
irqpoll
pci=nomsi
pci=noacpi
acpi=noirq
acpi=ht
maxcpus=1

Can you get a serial console capture of the failure case?
Comment 3 Alessandro P. 2007-04-02 10:11:13 UTC
I have problem with kernel 2.6.20 also with 
compiled source from Ubuntu repository 
(its not my fault, quite sure, I've compiled kernel for Gentoo many times).
I don't Know if in the kernel-source package from Ubuntu there are some exotic
patch.

I have also the same problem with another distribution, 
Slax live, but only when i boot with kernel 2.6.20.
Other versions (<2.6.20) works just fine...

What do you mean when you say 
" a serial console capture " ?

If you post some "how-to" i think i can try (i have another pc, if needed)..


The most recent working kernel I've tried is 2.6.17.


I tried some of the option you posted, in addition to acpi=off, but the problem
are the same (no audio ecc..).
Should i try this option even without acpi=off?
Comment 4 Len Brown 2007-04-02 22:30:25 UTC
> I tried some of the option you posted, in addition to acpi=off

No.  acpi=off makes the others un-interseting.
Please try them one at a time w/o "acpi=off"

re: serial console capture
Assuming your box has a serial port, you need a null-mode
serial cable to connect two boxes.
Then you need to set up grub and the kernel to use the serial port.
eg. i use this:
/boot/grub/menu.lst:
serial --unit=0 --speed=115200 --word=8 --parity=no --stop=1
terminal --timeout=300 serial console
...
title vmlinuz-linux-2.6.20.y
    kernel /vmlinuz-linux-2.6.20.y root=/dev/sda2 console=tty0 
console=ttyS0,115200n8 debug

and at the other end of the cable I run minicom, and tell it
to listen at 115200.

http://tldp.org/ has a howto on this with all the details

please attach the failing config files for 2.6.18, 19, 20
do you have any better luck if you "make defconfig"
and try the resulting config?
Comment 5 Alessandro P. 2007-04-03 06:22:55 UTC
Here a brief report using the option you seggested:

   HANG (with same error line: Setting up pci resources)
irqpoll
pci=noacpi 
acpi=noirq
pci=nomsi
maxcpus=1

   BOOT 
acpi=off
acpi=ht (i dont have hypertrading - centrino 1.4 -, so i think is the same as
acpi=off)

I see (with acpi=off) an interesting line in the dmesg:

PCI: Enabling device 0000:00:1f.5 (0005 -> 0007)
[   66.783063] PCI: No IRQ known for interrupt pin B of device 0000:00:1f.5.
Please try using pci=biosirq.
[   66.783099] IRQ handler type mismatch for IRQ 0
[   66.783103] current handler: timer
[   66.783121]  [<c015404e>] setup_irq+0x12e/0x1e0
[   66.783136]  [<e03680e0>] snd_intel8x0_interrupt+0x0/0x240 [snd_intel8x0]
[   66.783148]  [<c01541a3>] request_irq+0xa3/0xc0
[   66.783156]  [<e03690ce>] snd_intel8x0_probe+0x47e/0x1170 [snd_intel8x0]
[   66.783171]  [<c01b7d87>] sysfs_new_dirent+0x27/0x80
[   66.783181]  [<c01b7ebc>] sysfs_make_dirent+0x1c/0x90
[   66.783186]  [<c01b7e75>] sysfs_dirent_exist+0x45/0x70
[   66.783194]  [<c01b8d4e>] sysfs_create_link+0x6e/0x160
[   66.783201]  [<c01fb853>] pci_match_device+0x13/0xc0
[   66.783207]  [<e0368c50>] snd_intel8x0_probe+0x0/0x1170 [snd_intel8x0]
[   66.783218]  [<c01fb976>] pci_device_probe+0x56/0x80
[   66.783223]  [<c0257996>] really_probe+0x66/0x190
[   66.783231]  [<c0257b09>] driver_probe_device+0x49/0xc0
[   66.783239]  [<c0257cde>] __driver_attach+0x9e/0xa0
[   66.783245]  [<c0256e6b>] bus_for_each_dev+0x3b/0x60
[   66.783254]  [<c0257834>] driver_attach+0x24/0x30
[   66.783258]  [<c0257c40>] __driver_attach+0x0/0xa0
[   66.783262]  [<c02571fb>] bus_add_driver+0x7b/0x1a0
[   66.783271]  [<c01fbb44>] __pci_register_driver+0x74/0xc0
[   66.783277]  [<c014416d>] sys_init_module+0x15d/0x1ba0
[   66.783305]  [<c0107a5d>] sys_mmap2+0xcd/0xd0
[   66.783315]  [<c01031f0>] sysenter_past_esp+0x69/0xa9
[   66.783328]  =======================
[   66.783330] unable to grab IRQ 0


that reveal why my sound card's module isn't loaded..


RE:serial console capture
I'm sorry, but my laptop has only  a parallel port, no serial..


Comment 6 Alessandro P. 2007-04-03 06:33:11 UTC
Created attachment 11036 [details]
2.6.20-13 Ubuntu config

Here there is the Ubuntu config i have actually for the 2.6.20 kernel

Now i'm recompiling a 2.6.20.4 kernel from kernel.org, I'll post the config if
i notice some good difference..
Comment 7 Alessandro P. 2007-04-03 13:03:51 UTC
Created attachment 11037 [details]
My kernel 2.6.20.4 .config

My personal configuration of kernel source from kernel.org site (without patch,
except one from acpi/dsdt site).
I included in the initramfs a custom dsdt from acpt/dsdt site, but the same
problem still there...
Comment 8 Fu Michael 2007-11-27 23:57:04 UTC
Alessandro, have you fixed the missing dsdt issue in the original report? If yes, would you please post the kernel message captured through serial console as Len suggested in comment# 4? 

Also, a test result on latest kernel.e.g 2.6.23 or 2.6.24-rc3 would also be helpful.

thanks.
Comment 9 ykzhao 2007-12-07 00:02:05 UTC
Hi, Alessandro
Will you please attach the acpidump info and dmesg after booting with acpi=off?
It will be great if you can attach the kernel message catpured through the serial console.
If your notebook has no serial console, will you please capture the picture and attach it when the kernel hang ?
Thanks.
Comment 10 Anonymous Emailer 2007-12-08 03:00:02 UTC
Reply-To: alessandro.pascali@gmail.com

Ok, on Monday i'll take a picture (i don't have my notebook with me right
now...) and ill post here!!

2007/12/7, bugme-daemon@bugzilla.kernel.org <
bugme-daemon@bugzilla.kernel.org>:
>
> http://bugzilla.kernel.org/show_bug.cgi?id=8278
>
>
>
>
>
> ------- Comment #9 from yakui.zhao@intel.com  2007-12-07 00:02 -------
> Hi, Alessandro
> Will you please attach the acpidump info and dmesg after booting with
> acpi=off?
> It will be great if you can attach the kernel message catpured through the
> serial console.
> If your notebook has no serial console, will you please capture the
> picture and
> attach it when the kernel hang ?
> Thanks.
>
>
> --
> Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
> ------- You are receiving this mail because: -------
> You reported the bug, or are watching the reporter.
>
Ok, on Monday i&#39;ll take a picture (i don&#39;t have my notebook with me right now...) and ill post here!!<br><br><div><span class="gmail_quote">2007/12/7, <a href="mailto:bugme-daemon@bugzilla.kernel.org">bugme-daemon@bugzilla.kernel.org
</a> &lt;<a href="mailto:bugme-daemon@bugzilla.kernel.org">bugme-daemon@bugzilla.kernel.org</a>&gt;:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<a href="http://bugzilla.kernel.org/show_bug.cgi?id=8278">http://bugzilla.kernel.org/show_bug.cgi?id=8278</a><br><br><br><br><br><br>------- Comment #9 from <a href="mailto:yakui.zhao@intel.com">yakui.zhao@intel.com</a>&nbsp;&nbsp;2007-12-07 00:02 -------
<br>Hi, Alessandro<br>Will you please attach the acpidump info and dmesg after booting with acpi=off?<br>It will be great if you can attach the kernel message catpured through the<br>serial console.<br>If your notebook has no serial console, will you please capture the picture and
<br>attach it when the kernel hang ?<br>Thanks.<br><br><br>--<br>Configure bugmail: <a href="http://bugzilla.kernel.org/userprefs.cgi?tab=email">http://bugzilla.kernel.org/userprefs.cgi?tab=email</a><br>------- You are receiving this mail because: -------
<br>You reported the bug, or are watching the reporter.<br></blockquote></div><br>
Comment 11 Len Brown 2008-01-08 19:31:15 UTC
please try booting with "pci=nommconf"
or building with CONFIG_PCI_MMCONFIG=n
Comment 12 Zhang Rui 2008-02-17 18:16:10 UTC
close this bug as no response from the bug reporter

Note You need to log in before you can comment on or make changes to this bug.