Bug 12438 - WARNING: at drivers/ata/libata-sff.c
Summary: WARNING: at drivers/ata/libata-sff.c
Status: CLOSED CODE_FIX
Alias: None
Product: IO/Storage
Classification: Unclassified
Component: Serial ATA (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: Jeff Garzik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-12 12:47 UTC by François Valenduc
Modified: 2009-03-23 09:04 UTC (History)
0 users

See Also:
Kernel Version: 2.6.29-rc1
Subsystem:
Regression: Yes
Bisected commit-id:


Attachments
Output of dmesg (49.98 KB, text/plain)
2009-01-12 12:48 UTC, François Valenduc
Details

Description François Valenduc 2009-01-12 12:47:52 UTC
Latest working kernel version: 2.6.28
Earliest failing kernel version: 2.6.29-rc1
Distribution: Gentoo 64 bits
Hardware Environment: Packard Bell Easynote MB86
Software Environment:
Problem Description:

When I boot my computer with kernel 2.6.29-rc1, I notice the following error in dmesg:

[    9.484349] Driver 'sr' needs updating - please use bus_type methods
[    9.485592] ------------[ cut here ]------------
[    9.485598] WARNING: at drivers/ata/libata-sff.c:1017 ata_sff_hsm_move+0x6b8/0x720()
[    9.485603] Hardware name: EasyNote MB85
[    9.485606] Modules linked in: sr_mod(+) cdrom snd_hda_intel(+) fan iwlcore snd_hda_codec mac80211 snd_pcm ohci1394 sdhci_pci cfg80211 sdhci psmouse snd_timer ieee1394 ricoh_mmc mmc_core ata_piix snd sky2 ehci_hcd uhci_hcd soundcore thermal snd_page_alloc usbcore processor container battery button ac thermal_sys dm_snapshot dm_mod ext4 crc16 jbd2 mbcache sd_mod ahci
[    9.485661] Pid: 1327, comm: udevd Not tainted 2.6.29-rc1 #1
[    9.485665] Call Trace:
[    9.485669]  <IRQ>  [<ffffffff80238652>] warn_slowpath+0xf2/0x130
[    9.485685]  [<ffffffff8022df20>] enqueue_entity+0x20/0xf0
[    9.485694]  [<ffffffff8022d676>] place_entity+0x76/0x90
[    9.485701]  [<ffffffff80234903>] check_preempt_wakeup+0x113/0x150
[    9.485710]  [<ffffffff802fdbf1>] __blk_run_queue+0x11/0x30
[    9.485718]  [<ffffffff80388641>] scsi_eh_scmd_add+0x91/0xd0
[    9.485725]  [<ffffffff803a17b9>] ata_sff_data_xfer32+0xb9/0xf0
[    9.485731]  [<ffffffff803a1568>] ata_sff_hsm_move+0x6b8/0x720
[    9.485738]  [<ffffffff803a2834>] ata_sff_interrupt+0x164/0x220
[    9.485745]  [<ffffffff80270a8f>] __rcu_process_callbacks+0xbf/0x220
[    9.485755]  [<ffffffff8026db94>] handle_IRQ_event+0x34/0x70
[    9.485761]  [<ffffffff8026fa26>] handle_edge_irq+0xb6/0x140
[    9.485768]  [<ffffffff8020d27c>] call_softirq+0x1c/0x30
[    9.485775]  [<ffffffff8020ecee>] do_IRQ+0x7e/0x110
[    9.485781]  [<ffffffff8020cb53>] ret_from_intr+0x0/0xa
[    9.485785]  <EOI> <4>---[ end trace be209c8a867d1b7c ]---

After a git-bisect run, it appears that the first bad commit is the following:

871af1210f13966ab911ed2166e4ab2ce775b99d is first bad commit
commit 871af1210f13966ab911ed2166e4ab2ce775b99d
Author: Alan Cox <alan@redhat.com>
Date:   Mon Jan 5 14:16:39 2009 +0000

    libata: Add 32bit PIO support

I find it rather strange since I am using a 64 bit systems, but if I revert it, the error doesn't occur.
Comment 1 François Valenduc 2009-01-12 12:48:32 UTC
Created attachment 19762 [details]
Output of dmesg

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