Latest working kernel version: none Earliest failing kernel version: 2.6.25-rc5-git3 Distribution: all Hardware Environment: Medion laptop MIM 2080 (MD 95298 black dragon) Software Environment: Problem Description: USB not detected , use noapic works but no irq assigned to the wifi card ! Steps to reproduce: use any live cd
Created attachment 15510 [details] capture this laptop use a usb CD drive , so it blocks booting of any live cd .
Will you please boot the system with "acpi=off" and attach the output of dmesg, acpidump, lspci -vxxx ? Thanks.
Created attachment 15522 [details] dmesg acpi off
Created attachment 15523 [details] acpidump acpi off
Created attachment 15524 [details] lspci acpi off
Interesting, the PCI routing table is quite broken in APIC mode. I'm wondering how windows work. Can you try?
windows XP freeze ! do you think i should reflash the bios (if something is broken ) ?
yes, please.
Hi, Vannis What Shaohua in comment #7 is correct. It seems that the problem is caused by the broken BIOS. > Device (ALKD) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, 0x08) > Method (_CRS, 0, NotSerialized) { Return (0x00) // Incorrect returned type } } Will you please try to upgrade the BIOS first?
Hi , it's the last bios , Shaohua , reflashing don't change any thing ...
hi all ! i modified the dsdt , the resulte is have both usb and wifi working :) ALKD was the issue , i inspirated from ALKC. But i still have a bug : cpu frequency can't change anymore :( Yannis.lg
Thanks for the work. Will you please enable the debug of ACPI and cpufreq in kernel configuration and boot the system with the option of "cpufreq.debug=7 acpi.debug_layer=0x01000000 acpi.debug_level=0x1f" ? Please attach the output of dmesg. (Of course the modified DSDT is required.) Thanks.
Created attachment 15710 [details] try the debug patch Hi, Yannis Will you please try the attached debug patch and see whether the system can be booted ? If it can be booted, please attach the output of dmesg. Note: it is unnecessary to use the modified DSDT. Thanks.
Created attachment 15731 [details] dmesg with patch hi , my custom kernel boot but wifi has no irq ... regards, yannis
Hi, Yannis From the log in comment #14 we can know that the system works in PIC mode. And when the sytem is in PIC mode, there is no PCI interrupt routing entry for 00.06.0 device (wireless network) in ACPI PRT table. It seems that the LOCAL_APIC and IO_APIC is disabled in kernel configuration. Will you please build the SMP kernel and attach the output as required in comment #12, #13?
Sorry , this was my first kernel compile of my life lol Now i started a new one with ubuntu config file and kernel 2.6.25 rc8 ...
Created attachment 15732 [details] dmesg_2.6.25rc8+patch Great , usb works , wifi works , cpufreq works
Well after some minutes it freeze ... i don't have this problem with the custom DSDT .
Hi, Yannis Do you mean that the system will freeze after some minutes when the patch is applied? Can you catpure the screenshot when the system freeze? Thanks.
the freeze might be related with cpuidle, how about deselect cpuidle from kernel config?
it looks better now , can you explain me why ?
i'm still having freezes
Will the system still freeze if you unset cpuidle in kernel configuration?
yes
Do you mean that the system still freezes after deselecting cpuidle in kernel configuration? It looks inconsistent in comment #21 and #23. Had better double check the .config file and attach it. thanks.
Created attachment 16248 [details] kernel config Hello, I retested all again : -original kernel + original dsdt : freeze -custom dsdt : stable -patch : freeze -patch + no CPUIDLE : freeze Please check my config
Hi, Yannis Thanks for the info. From the comment #11 we can know that the incorrect _CRS object of ALKD is modified in the custom DSDT. In fact the workaround patch in comment #13 also fixes the incorrect PCI interrupt routing caused by the incorrect _CRS object and they should have the similiar effect. But the test result is different. >custom dsdt : stable > -patch : freeze > -patch + no CPUIDLE : freeze Will you please confirm whether the same config file is used when using the custom DSDT? Will you please give the detailed info where the system freezes? ( Had better capture the screen picture when the system freezes) Thanks.
Hi, Yannis From the acpidump we can know that it is a very clear BIOS bug. > Device (ALKD) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, 0x08) > Method (_CRS, 0, NotSerialized) { Return (0x00) // Incorrect returned type } } And windows also freezes on this laptop. At the same time there is no response for nearly one month, so the bug will be rejected. Thanks.