and try remove another quirk on this computers Re: [3/6]2.6.21-rc2: known regressions
From: Sergio Monteiro Basto
Date: Fri Mar 09 2007 - 23:12:56 EST
On Sat, 2007-03-10 at 02:09 +0100, Mathieu BÃrard wrote:
> Jeff Garzik a Ãcrit :
> > Adrian Bunk wrote:
> >> Subject : NCQ problem with ahci and Hitachi drive
> >> References : http://lkml.org/lkml/2007/3/4/178
> >> Submitter : Mathieu BÃrard <Mathieu.Berard@xxxxxxxxx>
> >> Status : unknown
> >
> > according to the last message in that thread, it sounds like ACPI and
> > interrupt problems
> >
> Hi,
> after more testing with a 2.6.21-rc3, it appears that after several ata
> errors the boot process
> somehow continued as normal, after a "NCQ disabled due to excessive
> errors" message.
> "pci=noacpi" or "noacpi" parameters workarounds the problem "irqpoll"
> does nothing.
Hi, I have a laptop quite similar to this report, but still running
2.4.20.
With /usr/bin/hal-device-manager on (00:1f.1) 82801FB/FBM/FR/FW/FRW
(ICH6 Family) IDE Controller (rev 03
I found that I have an Hitachi Travelstar 80GN.
And your initial report point that you have an Hitachi Travelstar 5K100
and the patch http://lkml.org/lkml/2007/2/22/8 blacklist your HD ,
correct ?
I will try 20-rc3 to see if I have any problem.
but blacklist it is not a good solution ...
well I recently found a quirk that is apply on laptop that I mention
here. which I remove from my kernel because I don't have a Assus and my
laptop is quirked too.
--- linux-2.6.20.i686/drivers/pci/quirks.c.orig 2007-03-04 04:52:21.000000000 +0000
+++ linux-2.6.20.i686/drivers/pci/quirks.c 2007-03-04 04:52:41.000000000 +0000
@@ -1121,8 +1121,8 @@ static void asus_hides_smbus_lpc_ich6(st
iounmap(base);
printk(KERN_INFO "PCI: Enabled ICH6/i801 SMBus device\n");
}
-DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_ICH6_1, asus_hides_smbus_lpc_ich6 );
-DECLARE_PCI_FIXUP_RESUME(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_ICH6_1, asus_hides_smbus_lpc_ich6 );
+/* DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_ICH6_1, asus_hides_smbus_lpc_ich6 ); */
+/* DECLARE_PCI_FIXUP_RESUME(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_ICH6_1, asus_hides_smbus_lpc_ich6 ); */
/*
* SiS 96x south bridge: BIOS typically hides SMBus device...
With this quirk I got this oops on hibernate (but computer still
working)
Suspending console(s)
eth1: Going into suspend...
ACPI: PCI interrupt for device 0000:02:04.0 disabled
ACPI: PCI interrupt for device 0000:00:1e.3 disabled
ACPI: PCI interrupt for device 0000:00:1e.2 disabled
ACPI: PCI interrupt for device 0000:00:1d.7 disabled
ACPI: PCI interrupt for device 0000:00:1d.3 disabled
ACPI: PCI interrupt for device 0000:00:1d.2 disabled
ACPI: PCI interrupt for device 0000:00:1d.1 disabled
ACPI: PCI interrupt for device 0000:00:1d.0 disabled
ipw2200: Unable to load ucode: -22
ipw2200: Unable to load firmware: -22
ipw2200: Failed to up device
swsusp: critical section:
swsusp: Need to copy 57480 pages
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
BUG: sleeping function called from invalid context at mm/slab.c:3035
in_atomic():0, irqs_disabled():1
no locks held by pm-hibernate/22979.
irq event stamp: 0
hardirqs last enabled at (0): [<00000000>] 0x0
hardirqs last disabled at (0): [<c042580c>] copy_process+0x311/0x1249
softirqs last enabled at (0): [<c042580c>] copy_process+0x311/0x1249
softirqs last disabled at (0): [<00000000>] 0x0
[<c04051c9>] show_trace_log_lvl+0x1a/0x2f
[<c040576e>] show_trace+0x12/0x14
[<c04057f2>] dump_stack+0x16/0x18
[<c0421266>] __might_sleep+0xc9/0xcf
[<c0474cb1>] kmem_cache_alloc+0x28/0xc4
[<c046bb50>] __get_vm_area_node+0x87/0x16f
[<c046bcae>] __get_vm_area+0x22/0x28
[<c046bcf3>] get_vm_area+0x3f/0x43
[<c041f0ed>] __ioremap+0xa0/0xe6
[<c041f147>] ioremap_nocache+0x14/0x79
[<c04f070a>] asus_hides_smbus_lpc_ich6+0x37/0x61
[<c04ef384>] pci_fixup_device+0x70/0x7c
[<c04f0a70>] pci_device_resume_early+0x17/0x2e
[<c0550779>] dpm_power_up+0x41/0x53
[<c0550798>] device_power_up+0xd/0xf
[<c0448bc4>] swsusp_suspend+0x55/0x62
[<c044929c>] pm_suspend_disk+0xd5/0x181
[<c04480a7>] enter_state+0x51/0x172
[<c044824e>] state_store+0x86/0x9c
[<c04b0a58>] subsys_attr_store+0x20/0x25
[<c04b0b69>] sysfs_write_file+0xb8/0xe0
[<c0478c68>] vfs_write+0xaf/0x163
[<c04792b6>] sys_write+0x3d/0x61
[<c0404058>] syscall_call+0x7/0xb
=======================
PCI: Enabled ICH6/i801 SMBus device
removing quirk resolve the oops.
BTW I have an HP Compaq nx6110 , what laptop is yours ?
ah! and WTF I don't attach your dmesg in a file ?
>
> lspci:
> 00:00.0 Host bridge: Intel Corporation Mobile 915GM/PM/GMS/910GML
> Express Processor to DRAM Controller (rev 03)
> 00:01.0 PCI bridge: Intel Corporation Mobile 915GM/PM Express PCI
> Express Root Port (rev 03)
> 00:1c.0 PCI bridge: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6
> Family) PCI Express Port 1 (rev 03)
> 00:1c.1 PCI bridge: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6
> Family) PCI Express Port 2 (rev 03)
> 00:1d.0 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6
> Family) USB UHCI #1 (rev 03)
> 00:1d.1 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6
> Family) USB UHCI #2 (rev 03)
> 00:1d.2 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6
> Family) USB UHCI #3 (rev 03)
> 00:1d.3 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6
> Family) USB UHCI #4 (rev 03)
> 00:1d.7 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6
> Family) USB2 EHCI Controller (rev 03)
> 00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev d3)
> 00:1e.2 Multimedia audio controller: Intel Corporation
> 82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 Audio Controller (rev 03)
> 00:1e.3 Modem: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family)
> AC'97 Modem Controller (rev 03)
> 00:1f.0 ISA bridge: Intel Corporation 82801FBM (ICH6M) LPC Interface
> Bridge (rev 03)
> 00:1f.1 IDE interface: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6
> Family) IDE Controller (rev 03)
> 00:1f.2 IDE interface: Intel Corporation 82801FBM (ICH6M) SATA
> Controller (rev 03)
> 00:1f.3 SMBus: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family)
> SMBus Controller (rev 03)
> 01:00.0 VGA compatible controller: ATI Technologies Inc M24 [Radeon
> Mobility X600]
> 06:01.0 Ethernet controller: Realtek Semiconductor Co., Ltd.
> RTL-8139/8139C/8139C+ (rev 10)
> 06:02.0 Network controller: Intel Corporation PRO/Wireless 2200BG
> Network Connection (rev 05)
> 06:04.0 CardBus bridge: Texas Instruments PCIxx21/x515 Cardbus Controller
> 06:04.2 FireWire (IEEE 1394): Texas Instruments OHCI Compliant IEEE 1394
> Host Controller
> 06:04.3 Mass storage controller: Texas Instruments PCIxx21 Integrated
> FlashMedia Controller
> 06:04.4 Generic system peripheral [0805]: Texas Instruments
> PCI6411/6421/6611/6621/7411/7421/7611/7621 Secure Digital Controller
>
>
> /proc/interrupts:
> CPU0
> 0: 3242 IO-APIC-edge timer
> 1: 863 IO-APIC-edge i8042
> 8: 3 IO-APIC-edge rtc
> 9: 1 IO-APIC-fasteoi acpi
> 12: 116 IO-APIC-edge i8042
> 14: 128 IO-APIC-edge libata
> 15: 0 IO-APIC-edge libata
> 16: 1 IO-APIC-fasteoi uhci_hcd:usb4, yenta
> 17: 0 IO-APIC-fasteoi tifm_7xx1, Intel ICH6
> 18: 249 IO-APIC-fasteoi eth0
> 19: 2712 IO-APIC-fasteoi libata, uhci_hcd:usb2, sdhci:slot0,
> sdhci:slot1, sdhci:slot2
> 20: 47 IO-APIC-fasteoi uhci_hcd:usb1, ehci_hcd:usb5
> 21: 3 IO-APIC-fasteoi uhci_hcd:usb3, ohci1394
> 22: 1 IO-APIC-fasteoi ipw2200
> NMI: 0
> LOC: 15767
> ERR: 0
> MIS: 0
--
SÃrgio M. B.
Attachment:
smime.p7s
Description: S/MIME cryptographic signature