Skip to contentSkip to conversation

2.6.29-rc5: Reported regressions 2.6.27 -> 2.6.28

DISCUSSION Rafael J. Wysocki 16 participants 71 messages Feb 14, 2009 – Feb 23, 2009

Subsystems (5)
Networking Network drivers SCSI ACPI +1 more subsystems
lore
Share & tools
lore
#0 lore raw

This message contains a list of some regressions introduced between 2.6.27 and 2.6.28, for which there are no fixes in the mainline I know of. If any of them have been fixed already, please let me know.

If you know of any other unresolved regressions introduced between 2.6.27 and 2.6.28, please let me know either and I'll add them to the list. Also, please let me know if any of the entries below are invalid.

Each entry from the list will be sent additionally in an automatic reply to this message with CCs to the people involved in reporting and handling the issue.

Listed regressions statistics:

Date Total Pending Unresolved
----------------------------------------

  2009-02-15      152       30          26
  2009-02-04      149       33          30
  2009-01-20      144       30          27
  2009-01-11      139       33          30
  2008-12-21      120       19          17
  2008-12-13      111       14          13
  2008-12-07      106       20          17
  2008-12-04      106       29          21
  2008-11-22       93       25          15
  2008-11-16       89       32          18
  2008-11-09       73       40          27
  2008-11-02       55       41          29
  2008-10-25       26       25          20

Unresolved regressions
----------------------

Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=12690
Subject : DPMS (LCD powersave, poweroff) don't work
Submitter : Antonin Kolisek <[email protected]>
Date : 2009-02-11 09:40 (4 days old)

Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=12658
Subject : ThrustMaster Firestorm Dual Power 3 Gamepads stopped working
Submitter : Frank Roscher <[email protected]>
Date : 2009-02-08 08:45 (7 days old)

Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=12645
Subject : DMI low-memory-protect quirk causes resume hang on Samsung NC10
Submitter : Patrick Walton <[email protected]>
Date : 2009-02-06 18:35 (9 days old)
First-Bad-Commit: http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=0af40a4b1050c050e62eb1dc30b82d5ab22bf221

Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=12634
Subject : video distortion and lockup with i830 video chip and 2.6.28.3
Submitter : Bob Raitz <pappy_mcfae-/[email protected]>
Date : 2009-02-04 21:10 (11 days old)

Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=12619
Subject : Regression 2.6.28 and last - boot failed
Submitter : jan sonnek <[email protected]>
Date : 2009-02-01 19:59 (14 days old)
References : http://marc.info/?l=linux-kernel&m=123351836213969&w=4

Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=12559
Subject : Huawei E169 doesn't work as mass storage anymore
Submitter : kpalberg <[email protected]>
Date : 2009-01-28 02:34 (18 days old)

Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=12500
Subject : r8169: NETDEV WATCHDOG: eth0 (r8169): transmit timed out
Submitter : Justin Piszcz <[email protected]>
Date : 2009-01-13 21:19 (33 days old)
References : http://marc.info/?l=linux-kernel&m=123188160811322&w=4

Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=12465
Subject : KVM guests stalling on 2.6.28 (bisected)
Submitter : Kevin Shanahan <kmshanah-biM/RbsGxha6c6uEtOJ/[email protected]>
Date : 2009-01-17 03:37 (29 days old)

Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=12421
Subject : GPF on 2.6.28 and 2.6.28-rc9-git3, e1000e and e1000 issues
Submitter : Doug Bazarnic <doug-nOyj/A09A+/[email protected]>
Date : 2009-01-09 21:26 (37 days old)
References : http://marc.info/?l=linux-kernel&m=123153653120204&w=4

Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=12411
Subject : 2.6.28: BUG in r8169
Submitter : Andrey Vul <[email protected]>
Date : 2008-12-31 18:37 (46 days old)
References : http://marc.info/?l=linux-kernel&m=123074869611409&w=4

Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=12409
Subject : NULL pointer dereference at get_stats()
Submitter : Tetsuo Handa <penguin-kernel-1yMVhJb1mP/[email protected]>
Date : 2008-12-30 12:53 (47 days old)
References : http://marc.info/?l=linux-kernel&m=123064167008695&w=4

Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=12408
Subject : Funny problem with 2.6.28: Kernel stalls
Submitter : Michael Roth <[email protected]>
Date : 2008-12-25 15:14 (52 days old)
References : http://marc.info/?l=linux-kernel&m=123021931714282&w=4

Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=12407
Subject : Kernel 2.6.28 regression: Hang after hibernate
Submitter : Frank Groeneveld <[email protected]>
Date : 2008-12-28 20:34 (49 days old)
References : http://marc.info/?l=linux-kernel&m=123049651906081&w=4

Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=12405
Subject : oops in __bounce_end_io_read under kvm
Submitter : Christoph Hellwig <[email protected]>
Date : 2008-12-26 17:36 (51 days old)
References : http://marc.info/?l=linux-kernel&m=123031303400676&w=4

Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=12404
Subject : Oops in 2.6.28-rc9 and -rc8 -- mtrr issues / e1000e
Submitter : Kernel <kernel-nOyj/A09A+/[email protected]>
Date : 2008-12-22 9:37 (55 days old)
References : http://marc.info/?l=linux-kernel&m=122993873320150&w=4

Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=12403
Subject : TTY problem on linux-2.6.28-rc7
Submitter : sasa sasa <[email protected]>
Date : 2008-12-22 4:23 (55 days old)
References : http://marc.info/?l=linux-kernel&m=122991914600390&w=4

Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=12401
Subject : 2.6.28 regression: xbacklight broken on ThinkPad X61s
Submitter : Tino Keitel <[email protected]>
Date : 2009-01-05 8:39 (41 days old)
First-Bad-Commit: http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=22c13f9d8179f4c9caecfcb60a95214562b9addc
References : http://marc.info/?l=linux-kernel&m=123114479110314&w=4

Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=12395
Subject : 2.6.28-rc9: oprofile regression
Submitter : Tim Blechmann <tim-xpEK/[email protected]>
Date : 2008-12-21 14:23 (56 days old)
First-Bad-Commit: http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=b99170288421c79f0c2efa8b33e26e65f4bb7fb8
References : http://marc.info/?l=linux-kernel&m=122986946614791&w=4

Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=12337
Subject : ~100 extra wakeups reported by powertop
Submitter : Alberto Gonzalez <luis6674-/[email protected]>
Date : 2008-12-31 12:25 (46 days old)

Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=12265
Subject : FPU emulation broken in 2.6.28-rc8 ?
Submitter : Rogier Wolff <R.E.Wolff-bu/[email protected]>
Date : 2008-12-17 8:56 (60 days old)
References : http://marc.info/?l=linux-kernel&m=122950463030747&w=4

Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=12263
Subject : Sata soft reset filling log
Submitter : Justin Madru <[email protected]>
Date : 2008-12-13 2:07 (64 days old)
References : http://marc.info/?l=linux-kernel&m=122913412608533&w=4

Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=12224
Subject : journal activity on inactive partition causes inactive harddrive spinup
Submitter : C Sights <[email protected]>
Date : 2008-12-14 11:39 (63 days old)
First-Bad-Commit: http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=c87591b719737b4e91eb1a9fa8fd55a4ff1886d6

Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=12209
Subject : oldish top core dumps (in its meminfo() function)
Submitter : Andreas Mohr <[email protected]>
Date : 2008-12-12 18:49 (65 days old)
References : http://marc.info/?l=linux-kernel&m=122910784006472&w=4

		  http://marc.info/?l=linux-kernel&m=122907511319288&w=4

Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=12208
Subject : uml is very slow on 2.6.28 host
Submitter : Miklos Szeredi <[email protected]>
Date : 2008-12-12 9:35 (65 days old)
References : http://marc.info/?l=linux-kernel&m=122907463518593&w=4

Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=12160
Subject : networking oops after resume from s2ram (2.6.28-rc6)
Submitter : Marcin Slusarz <[email protected]>
Date : 2008-11-28 21:15 (79 days old)
References : http://marc.info/?l=linux-kernel&m=122790701615723&w=4

Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=12061
Subject : snd_hda_intel: power_save: sound cracks on powerdown
Submitter : Jens Weibler <[email protected]>
Date : 2008-11-18 12:07 (89 days old)

Regressions with patches
------------------------

Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=12614
Subject : WOL with forcedeth broken since f55c21fd9a92a444e55ad1ca4e4732d56661bf2e
Submitter : Philipp Matthias Hahn <[email protected]>
Date : 2009-01-29 6:31 (17 days old)
References : http://marc.info/?l=linux-kernel&m=123321232825316&w=4

Tobias Diedrich <[email protected]>
Patch : http://marc.info/?l=linux-kernel&m=123330459229248&w=4

		  http://marc.info/?l=linux-kernel&m=123411195117835&w=4

Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=12612
Subject : hard lockup when interrupting cdda2wav
Submitter : Matthias Reichl <[email protected]>
Date : 2009-01-28 16:41 (18 days old)
References : http://marc.info/?l=linux-kernel&m=123316111415677&w=4

Patch : http://marc.info/?l=linux-scsi&m=123371501613019&w=2

Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=12406
Subject : 2.6.28 thinks that my PS/2 mouse is a touchpad
Submitter : Alexander E. Patrakov <[email protected]>
Date : 2008-12-27 9:06 (50 days old)
References : http://marc.info/?l=linux-kernel&m=123036893817280&w=4

Patch : http://marc.info/?l=linux-kernel&m=123092147703236&w=4

Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=12393
Subject : debugging in dosemu causes lots of 'scheduling while atomic'
Submitter : Michal Suchanek <[email protected]>
Date : 2009-01-09 07:28 (37 days old)

Patch : http://lkml.org/lkml/2009/1/13/445

For details, please visit the bug entries and follow the links given in references.

As you can see, there is a Bugzilla entry for each of the listed regressions. There also is a Bugzilla entry used for tracking the regressions introduced between 2.6.27 and 2.6.28, unresolved as well as resolved, at:

http://bugzilla.kernel.org/show_bug.cgi?id=11808

Please let me know if there are any Bugzilla entries that should be added to the list in there.

Thanks,
Rafael

#1 lore raw

[Bug #12061] snd_hda_intel: power_save: sound cracks on powerdown

This message has been generated automatically as a part of a report of regressions introduced between 2.6.27 and 2.6.28.

The following bug entry is on the current list of known regressions introduced between 2.6.27 and 2.6.28. Please verify if it still should be listed and let me know (either way).

Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=12061
Subject : snd_hda_intel: power_save: sound cracks on powerdown
Submitter : Jens Weibler <[email protected]>
Date : 2008-11-18 12:07 (89 days old)

#2 lore raw

[Bug #12160] networking oops after resume from s2ram (2.6.28-rc6)

In reply to Rafael J. Wysocki

This message has been generated automatically as a part of a report of regressions introduced between 2.6.27 and 2.6.28.

The following bug entry is on the current list of known regressions introduced between 2.6.27 and 2.6.28. Please verify if it still should be listed and let me know (either way).

Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=12160
Subject : networking oops after resume from s2ram (2.6.28-rc6)
Submitter : Marcin Slusarz <[email protected]>
Date : 2008-11-28 21:15 (79 days old)
References : http://marc.info/?l=linux-kernel&m=122790701615723&w=4

#3 lore raw

[Bug #12208] uml is very slow on 2.6.28 host

In reply to Rafael J. Wysocki

This message has been generated automatically as a part of a report of regressions introduced between 2.6.27 and 2.6.28.

The following bug entry is on the current list of known regressions introduced between 2.6.27 and 2.6.28. Please verify if it still should be listed and let me know (either way).

Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=12208
Subject : uml is very slow on 2.6.28 host
Submitter : Miklos Szeredi <[email protected]>
Date : 2008-12-12 9:35 (65 days old)
References : http://marc.info/?l=linux-kernel&m=122907463518593&w=4

#4 lore raw

Re: [Bug #12208] uml is very slow on 2.6.28 host

Quoted 8 lines · Rafael J. Wysocki

This message has been generated automatically as a part of a report of regressions introduced between 2.6.27 and 2.6.28.

The following bug entry is on the current list of known regressions introduced between 2.6.27 and 2.6.28. Please verify if it still should be listed and let me know (either way).

Quoted 5 lines

Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=12208
Subject : uml is very slow on 2.6.28 host
Submitter : Miklos Szeredi <[email protected]>
Date : 2008-12-12 9:35 (65 days old)
References : http://marc.info/?l=linux-kernel&m=122907463518593&w=4

Hello, Miklos!

I can't reproduce this on host 2.6.28.7 with uml guest of current git. Have you tried 2.6.28.7? Does it have the same problem?

Thanks.

Signature · 1 line
"Against stupidity, the gods themselves, contend in vain."
#5 lore raw

Re: [Bug #12208] uml is very slow on 2.6.28 host

Quoted 15 lines · On Sun, 22 Feb 2009, =?utf-8?Q?Am=C3=A9rico?= Wang wrote:
Quoted 8 lines · Rafael J. Wysocki

This message has been generated automatically as a part of a report of regressions introduced between 2.6.27 and 2.6.28.

The following bug entry is on the current list of known regressions introduced between 2.6.27 and 2.6.28. Please verify if it still should be listed and let me know (either way).

Quoted 5 lines

Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=12208
Subject : uml is very slow on 2.6.28 host
Submitter : Miklos Szeredi <[email protected]>
Date : 2008-12-12 9:35 (65 days old)
References : http://marc.info/?l=linux-kernel&m=122907463518593&w=4

Quoted 4 lines

Hello, Miklos!

I can't reproduce this on host 2.6.28.7 with uml guest of current git. Have you tried 2.6.28.7? Does it have the same problem?

It's still slow for me on 2.6.29-rc5. I haven't tried 2.6.28.7 yet.

Thanks,
Miklos

#6 lore raw

[Bug #12209] oldish top core dumps (in its meminfo() function)

In reply to Rafael J. Wysocki

This message has been generated automatically as a part of a report of regressions introduced between 2.6.27 and 2.6.28.

The following bug entry is on the current list of known regressions introduced between 2.6.27 and 2.6.28. Please verify if it still should be listed and let me know (either way).

Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=12209
Subject : oldish top core dumps (in its meminfo() function)
Submitter : Andreas Mohr <[email protected]>
Date : 2008-12-12 18:49 (65 days old)
References : http://marc.info/?l=linux-kernel&m=122910784006472&w=4

		  http://marc.info/?l=linux-kernel&m=122907511319288&w=4
#7 lore raw

[Bug #12337] ~100 extra wakeups reported by powertop

In reply to Rafael J. Wysocki

This message has been generated automatically as a part of a report of regressions introduced between 2.6.27 and 2.6.28.

The following bug entry is on the current list of known regressions introduced between 2.6.27 and 2.6.28. Please verify if it still should be listed and let me know (either way).

Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=12337
Subject : ~100 extra wakeups reported by powertop
Submitter : Alberto Gonzalez <luis6674-/[email protected]>
Date : 2008-12-31 12:25 (46 days old)

#8 lore raw

Re: [Bug #12337] ~100 extra wakeups reported by powertop

Quoted 7 lines · Rafael J. Wysocki

The following bug entry is on the current list of known regressions
introduced between 2.6.27 and 2.6.28. Please verify if it still should
be listed and let me know (either way).

Quoted 5 lines

Bug-Entry :
http://bugzilla.kernel.org/show_bug.cgi?id=12337
Subject : ~100 extra wakeups reported by powertop
Submitter : Alberto Gonzalez <luis6674-/[email protected]>
Date : 2008-12-31 12:25 (46 days old)

Yes, still present in latest stable 2.6.28.5

I updated the report to say that this happened on my 5 year old Pentium 4, but now I got a new Dell desktop (Intel G45 based) and the exact same problem happens, so I can't be the only one seeing it. In the bugzilla Eric Anholt said that it could be related to vblank and that jbarnes had look into a similar issue before, so maybe he has some clue.

Thanks.

#9 lore raw

Re: [Bug #12337] ~100 extra wakeups reported by powertop

Quoted 15 lines · Alberto Gonzalez
Quoted 7 lines · Rafael J. Wysocki

The following bug entry is on the current list of known regressions
introduced between 2.6.27 and 2.6.28. Please verify if it still should
be listed and let me know (either way).

Quoted 5 lines

Bug-Entry :
http://bugzilla.kernel.org/show_bug.cgi?id=12337
Subject : ~100 extra wakeups reported by powertop
Submitter : Alberto Gonzalez <luis6674-/[email protected]>
Date : 2008-12-31 12:25 (46 days old)

Quoted 3 lines

Yes, still present in latest stable 2.6.28.5

I updated the report to say that this happened on my 5 year old Pentium 4, but now I got a new Dell desktop (Intel G45 based) and the exact same problem happens, so I can't be the only one seeing it. In the bugzilla Eric Anholt said that it could be related to vblank and that jbarnes had look into a similar issue before, so maybe he has some clue.

Thanks a lot for the update.

Rafael

#10 lore raw

[Bug #12224] journal activity on inactive partition causes inactive harddrive spinup

In reply to Rafael J. Wysocki

This message has been generated automatically as a part of a report of regressions introduced between 2.6.27 and 2.6.28.

The following bug entry is on the current list of known regressions introduced between 2.6.27 and 2.6.28. Please verify if it still should be listed and let me know (either way).

Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=12224
Subject : journal activity on inactive partition causes inactive harddrive spinup
Submitter : C Sights <[email protected]>
Date : 2008-12-14 11:39 (63 days old)
First-Bad-Commit: http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=c87591b719737b4e91eb1a9fa8fd55a4ff1886d6

#11 lore raw

Re: [Bug #12224] journal activity on inactive partition causes inactive harddrive spinup

Quoted 7 lines · Rafael J. Wysocki

Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=12224
Subject : journal activity on inactive partition causes inactive harddrive spinup
Submitter : C Sights <[email protected]>
Date : 2008-12-14 11:39 (63 days old)
First-Bad-Commit: http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=c87591b719737b4e91eb1a9fa8fd55a4ff1886d6

The fix for this has landed in mainline as commit 02ac59 for ext3, and commit 9eddac for ext4.

Rafael, I've marked the bug closed in BZ for your convenience.

- Ted

#12 lore raw

Re: [Bug #12224] journal activity on inactive partition causes inactive harddrive spinup

Quoted 9 lines · Theodore Tso
Quoted 7 lines · Rafael J. Wysocki

Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=12224
Subject : journal activity on inactive partition causes inactive harddrive spinup
Submitter : C Sights <[email protected]>
Date : 2008-12-14 11:39 (63 days old)
First-Bad-Commit: http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=c87591b719737b4e91eb1a9fa8fd55a4ff1886d6

Quoted 4 lines

The fix for this has landed in mainline as commit 02ac59 for ext3, and commit 9eddac for ext4.

Rafael, I've marked the bug closed in BZ for your convenience.

Thanks a lot!

Best,
Rafael

#13 lore raw

[Bug #12263] Sata soft reset filling log

In reply to Rafael J. Wysocki

This message has been generated automatically as a part of a report of regressions introduced between 2.6.27 and 2.6.28.

The following bug entry is on the current list of known regressions introduced between 2.6.27 and 2.6.28. Please verify if it still should be listed and let me know (either way).

Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=12263
Subject : Sata soft reset filling log
Submitter : Justin Madru <[email protected]>
Date : 2008-12-13 2:07 (64 days old)
References : http://marc.info/?l=linux-kernel&m=122913412608533&w=4

#14 lore raw

Re: [Bug #12263] Sata soft reset filling log

Quoted 15 lines · Rafael J. Wysocki

This message has been generated automatically as a part of a report of regressions introduced between 2.6.27 and 2.6.28.

The following bug entry is on the current list of known regressions introduced between 2.6.27 and 2.6.28. Please verify if it still should be listed and let me know (either way).

Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=12263
Subject : Sata soft reset filling log
Submitter : Justin Madru <[email protected]>
Date : 2008-12-13 2:07 (64 days old)
References : http://marc.info/?l=linux-kernel&m=122913412608533&w=4

Quoted 9 lines

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

I'm still seeing this on .29-rc5, and I think that my bug #12263 is a duplicate of bug #12609, or more correctly it's a duplicate of mine because I reported first.

It seems like the bug has been fixed in tip/master for some time now. Below is the diff of origin and tip from when I tested.

$ git diff origin/master..tip/master drivers/ata/
drivers/ata/ata_piix.c +0 -0
index 54961c0..e004c25 100644
@@ -310,7 +310,7 @@ static struct scsi_host_template piix_sht = {

};

static struct ata_port_operations piix_pata_ops = {

-    .inherits        = &ata_bmdma32_port_ops,
+    .inherits        = &ata_bmdma_port_ops,

.cable_detect = ata_cable_40wire,
.set_piomode = piix_set_piomode,
.set_dmamode = piix_set_dmamode,

drivers/ata/libata-core.c +1 -1
index 9fbf059..1ed3966 100644
@@ -1482,7 +1482,7 @@ static int ata_hpa_resize(struct ata_device *dev)
    struct ata_eh_context *ehc = &dev->link->eh_context;
    int print_info = ehc->i.flags & ATA_EHI_PRINTINFO;
    u64 sectors = ata_id_n_sectors(dev->id);
-    u64 native_sectors;
+    u64 uninitialized_var(native_sectors);
    int rc;
 
    /* do we need to do it? */
drivers/ata/libata-scsi.c +1 -1
index b9747fa..d65b9b2 100644
@@ -3247,7 +3247,7 @@ void ata_scsi_scan_host(struct ata_port *ap, int sync)
    int tries = 5;
    struct ata_device *last_failed_dev = NULL;
    struct ata_link *link;
-    struct ata_device *dev;
+    struct ata_device *uninitialized_var(dev);
 
    if (ap->flags & ATA_FLAG_DISABLED)
        return;
drivers/ata/libata-sff.c +0 -0
index 0b299b0..416e3e2 100644
@@ -80,13 +80,6 @@ const struct ata_port_operations ata_bmdma_port_ops = {

};
EXPORT_SYMBOL_GPL(ata_bmdma_port_ops);

-const struct ata_port_operations ata_bmdma32_port_ops = {
- .inherits = &ata_bmdma_port_ops,
-
- .sff_data_xfer = ata_sff_data_xfer32,
-};
-EXPORT_SYMBOL_GPL(ata_bmdma32_port_ops);
-
/**
* ata_fill_sg - Fill PCI IDE PRD table
* @qc: Metadata associated with taskfile to be transferred
@@ -743,52 +736,6 @@ unsigned int ata_sff_data_xfer(struct ata_device *dev, unsigned char *buf, EXPORT_SYMBOL_GPL(ata_sff_data_xfer);

/**

- *    ata_sff_data_xfer32 - Transfer data by PIO
- *    @dev: device to target
- *    @buf: data buffer
- *    @buflen: buffer length
- *    @rw: read/write

- *
- * Transfer data from/to the device data register by PIO using 32bit
- * I/O operations.
- *
- * LOCKING:
- * Inherited from caller.
- *
- * RETURNS:
- * Bytes consumed.
- */
-
-unsigned int ata_sff_data_xfer32(struct ata_device *dev, unsigned char *buf,
- unsigned int buflen, int rw)
-{

-    struct ata_port *ap = dev->link->ap;
-    void __iomem *data_addr = ap->ioaddr.data_addr;
-    unsigned int words = buflen >> 2;
-    int slop = buflen & 3;

-
- /* Transfer multiple of 4 bytes */
- if (rw == READ)
- ioread32_rep(data_addr, buf, words);
- else
- iowrite32_rep(data_addr, buf, words);
-
- if (unlikely(slop)) {
- __le32 pad;
- if (rw == READ) {
- pad = cpu_to_le32(ioread32(ap->ioaddr.data_addr));
- memcpy(buf + buflen - slop, &pad, slop);
- } else {
- memcpy(&pad, buf + buflen - slop, slop);
- iowrite32(le32_to_cpu(pad), ap->ioaddr.data_addr);
- }
- words++;
- }
- return words << 2;
-}
-EXPORT_SYMBOL_GPL(ata_sff_data_xfer32);
-
-/**

 *    ata_sff_data_xfer_noirq - Transfer data by PIO
 *    @dev: device to target
 *    @buf: data buffer
drivers/ata/pata_ali.c +2 -1
index eb99dbe..7cd48ea 100644
@@ -151,7 +151,8 @@ static void ali_fifo_control(struct ata_port *ap, struct ata_device *adev, int o
 
    pci_read_config_byte(pdev, pio_fifo, &fifo);
    fifo &= ~(0x0F << shift);
-    fifo |= (on << shift);
+    if (on)
+        fifo |= (on << shift);
    pci_write_config_byte(pdev, pio_fifo, fifo);

}

@@ -369,11 +370,10 @@ static struct ata_port_operations ali_early_port_ops = {
.inherits = &ata_sff_port_ops,
.cable_detect = ata_cable_40wire,
.set_piomode = ali_set_piomode,
- .sff_data_xfer = ata_sff_data_xfer32,
};

static const struct ata_port_operations ali_dma_base_ops = {

-    .inherits    = &ata_bmdma32_port_ops,
+    .inherits    = &ata_bmdma_port_ops,

.set_piomode = ali_set_piomode,
.set_dmamode = ali_set_dmamode,
};

drivers/ata/pata_amd.c +0 -0
index 63719ab..0ec9c7d 100644
@@ -24,7 +24,7 @@

#include <linux/libata.h>

#define DRV_NAME "pata_amd"
-#define DRV_VERSION "0.3.11"
+#define DRV_VERSION "0.3.10"

/**
* timing_setup - shared timing computation and load
@@ -345,7 +345,7 @@ static struct scsi_host_template amd_sht = { };

static const struct ata_port_operations amd_base_port_ops = {

-    .inherits    = &ata_bmdma32_port_ops,
+    .inherits    = &ata_bmdma_port_ops,

.prereset = amd_pre_reset,
};

drivers/ata/pata_atiixp.c +1 -1
index 506adde..115eb00 100644
@@ -140,7 +140,7 @@ static void atiixp_set_dmamode(struct ata_port *ap, struct ata_device *adev)
        wanted_pio = 3;
    else if (adev->dma_mode == XFER_MW_DMA_0)
        wanted_pio = 0;
-    else BUG();
+    else panic("atiixp_set_dmamode: unknown DMA mode!");
 
    if (adev->pio_mode != wanted_pio)
        atiixp_set_pio_timing(ap, adev, wanted_pio);
drivers/ata/pata_mpiix.c +0 -0
index aa576ca..7c8faa4 100644
@@ -35,7 +35,7 @@

#include <linux/libata.h>

#define DRV_NAME "pata_mpiix"
-#define DRV_VERSION "0.7.7"
+#define DRV_VERSION "0.7.6"

enum {
    IDETIM = 0x6C,        /* IDE control register */

@@ -146,7 +146,6 @@ static struct ata_port_operations mpiix_port_ops = {
.cable_detect = ata_cable_40wire,
.set_piomode = mpiix_set_piomode,
.prereset = mpiix_pre_reset,
- .sff_data_xfer = ata_sff_data_xfer32,
};

static int mpiix_init_one(struct pci_dev *dev, const struct pci_device_id *id)

drivers/ata/pata_sil680.c +0 -0
index 9e764e5..83580a5 100644
@@ -32,7 +32,7 @@

#include <linux/libata.h>

#define DRV_NAME "pata_sil680"
-#define DRV_VERSION "0.4.9"
+#define DRV_VERSION "0.4.8"

#define SIL680_MMIO_BAR 5

@@ -195,7 +195,7 @@ static struct scsi_host_template sil680_sht = { };

static struct ata_port_operations sil680_port_ops = {

-    .inherits    = &ata_bmdma32_port_ops,
+    .inherits    = &ata_bmdma_port_ops,

.cable_detect = sil680_cable_detect,
.set_piomode = sil680_set_piomode,
.set_dmamode = sil680_set_dmamode,

drivers/ata/sata_via.c +1 -1
index 5c62da9..f9803a2 100644
@@ -566,7 +566,7 @@ static int svia_init_one(struct pci_dev *pdev, const struct pci_device_id *ent)
    static int printed_version;
    unsigned int i;
    int rc;
-    struct ata_host *host;
+    struct ata_host *uninitialized_var(host);
    int board_id = (int) ent->driver_data;
    const unsigned *bar_sizes;
 

Justin Madru

#15 lore raw

Re: [Bug #12263] Sata soft reset filling log

Quoted 15 lines · Justin Madru
Quoted 8 lines · Rafael J. Wysocki

This message has been generated automatically as a part of a report of regressions introduced between 2.6.27 and 2.6.28.

The following bug entry is on the current list of known regressions introduced between 2.6.27 and 2.6.28. Please verify if it still should be listed and let me know (either way).

Quoted 5 lines

Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=12263
Subject : Sata soft reset filling log
Submitter : Justin Madru <[email protected]>
Date : 2008-12-13 2:07 (64 days old)
References : http://marc.info/?l=linux-kernel&m=122913412608533&w=4

Quoted 6 lines

I'm still seeing this on .29-rc5, and I think that my bug #12263 is a duplicate of bug #12609,
or more correctly it's a duplicate of mine because I reported first.

It seems like the bug has been fixed in tip/master for some time now. Below is the diff of origin and tip from when I tested.

Ingo, do you know whinch patch in -tip fixes this regression?

Quoted 238 lines
$ git diff origin/master..tip/master drivers/ata/
drivers/ata/ata_piix.c +1 -1
index 54961c0..e004c25 100644
@@ -310,7 +310,7 @@ static struct scsi_host_template piix_sht = {
 };
 
 static struct ata_port_operations piix_pata_ops = {
-    .inherits        = &ata_bmdma32_port_ops,
+    .inherits        = &ata_bmdma_port_ops,
     .cable_detect        = ata_cable_40wire,
     .set_piomode        = piix_set_piomode,
     .set_dmamode        = piix_set_dmamode,
drivers/ata/libata-core.c +1 -1
index 9fbf059..1ed3966 100644
@@ -1482,7 +1482,7 @@ static int ata_hpa_resize(struct ata_device *dev)
     struct ata_eh_context *ehc = &dev->link->eh_context;
     int print_info = ehc->i.flags & ATA_EHI_PRINTINFO;
     u64 sectors = ata_id_n_sectors(dev->id);
-    u64 native_sectors;
+    u64 uninitialized_var(native_sectors);
     int rc;
 
     /* do we need to do it? */
drivers/ata/libata-scsi.c +1 -1
index b9747fa..d65b9b2 100644
@@ -3247,7 +3247,7 @@ void ata_scsi_scan_host(struct ata_port *ap, int sync)
     int tries = 5;
     struct ata_device *last_failed_dev = NULL;
     struct ata_link *link;
-    struct ata_device *dev;
+    struct ata_device *uninitialized_var(dev);
 
     if (ap->flags & ATA_FLAG_DISABLED)
         return;
drivers/ata/libata-sff.c +0 -53
index 0b299b0..416e3e2 100644
@@ -80,13 +80,6 @@ const struct ata_port_operations ata_bmdma_port_ops = {
 };
 EXPORT_SYMBOL_GPL(ata_bmdma_port_ops);
 
-const struct ata_port_operations ata_bmdma32_port_ops = {
-    .inherits        = &ata_bmdma_port_ops,
-
-    .sff_data_xfer        = ata_sff_data_xfer32,
-};
-EXPORT_SYMBOL_GPL(ata_bmdma32_port_ops);
-
 /**
  *    ata_fill_sg - Fill PCI IDE PRD table
  *    @qc: Metadata associated with taskfile to be transferred
@@ -743,52 +736,6 @@ unsigned int ata_sff_data_xfer(struct ata_device 
 *dev, unsigned char *buf,
 EXPORT_SYMBOL_GPL(ata_sff_data_xfer);
 
 /**
- *    ata_sff_data_xfer32 - Transfer data by PIO
- *    @dev: device to target
- *    @buf: data buffer
- *    @buflen: buffer length
- *    @rw: read/write
- *
- *    Transfer data from/to the device data register by PIO using 32bit
- *    I/O operations.
- *
- *    LOCKING:
- *    Inherited from caller.
- *
- *    RETURNS:
- *    Bytes consumed.
- */
-
-unsigned int ata_sff_data_xfer32(struct ata_device *dev, unsigned char 
 *buf,
-                   unsigned int buflen, int rw)
-{
-    struct ata_port *ap = dev->link->ap;
-    void __iomem *data_addr = ap->ioaddr.data_addr;
-    unsigned int words = buflen >> 2;
-    int slop = buflen & 3;
-
-    /* Transfer multiple of 4 bytes */
-    if (rw == READ)
-        ioread32_rep(data_addr, buf, words);
-    else
-        iowrite32_rep(data_addr, buf, words);
-
-    if (unlikely(slop)) {
-        __le32 pad;
-        if (rw == READ) {
-            pad = cpu_to_le32(ioread32(ap->ioaddr.data_addr));
-            memcpy(buf + buflen - slop, &pad, slop);
-        } else {
-            memcpy(&pad, buf + buflen - slop, slop);
-            iowrite32(le32_to_cpu(pad), ap->ioaddr.data_addr);
-        }
-        words++;
-    }
-    return words << 2;
-}
-EXPORT_SYMBOL_GPL(ata_sff_data_xfer32);
-
-/**
  *    ata_sff_data_xfer_noirq - Transfer data by PIO

* @dev: device to target
* @buf: data buffer

drivers/ata/pata_ali.c +0 -0
index eb99dbe..7cd48ea 100644
@@ -151,7 +151,8 @@ static void ali_fifo_control(struct ata_port *ap, 

struct ata_device *adev, int o

     pci_read_config_byte(pdev, pio_fifo, &fifo);
     fifo &= ~(0x0F << shift);
drivers/ata/pata_ali.c +3 -3
-    fifo |= (on << shift);
+    if (on)
+        fifo |= (on << shift);
     pci_write_config_byte(pdev, pio_fifo, fifo);
 }
@@ -369,11 +370,10 @@ static struct ata_port_operations 
 ali_early_port_ops = {
     .inherits    = &ata_sff_port_ops,
     .cable_detect    = ata_cable_40wire,
     .set_piomode    = ali_set_piomode,
-    .sff_data_xfer  = ata_sff_data_xfer32,
 };
 
 static const struct ata_port_operations ali_dma_base_ops = {
-    .inherits    = &ata_bmdma32_port_ops,
+    .inherits    = &ata_bmdma_port_ops,
     .set_piomode    = ali_set_piomode,
     .set_dmamode    = ali_set_dmamode,

};

drivers/ata/pata_amd.c +2 -2
index 63719ab..0ec9c7d 100644
@@ -24,7 +24,7 @@
 #include <linux/libata.h>
 
 #define DRV_NAME "pata_amd"
-#define DRV_VERSION "0.3.11"
+#define DRV_VERSION "0.3.10"
 
 /**
  *    timing_setup        -    shared timing computation and load
@@ -345,7 +345,7 @@ static struct scsi_host_template amd_sht = {
 };
 
 static const struct ata_port_operations amd_base_port_ops = {
-    .inherits    = &ata_bmdma32_port_ops,
+    .inherits    = &ata_bmdma_port_ops,
     .prereset    = amd_pre_reset,
 };
 
drivers/ata/pata_atiixp.c +1 -1
index 506adde..115eb00 100644
@@ -140,7 +140,7 @@ static void atiixp_set_dmamode(struct ata_port *ap, 
 struct ata_device *adev)
         wanted_pio = 3;
     else if (adev->dma_mode == XFER_MW_DMA_0)
         wanted_pio = 0;
-    else BUG();
+    else panic("atiixp_set_dmamode: unknown DMA mode!");
 
     if (adev->pio_mode != wanted_pio)
         atiixp_set_pio_timing(ap, adev, wanted_pio);
drivers/ata/pata_mpiix.c +1 -2
index aa576ca..7c8faa4 100644
@@ -35,7 +35,7 @@
 #include <linux/libata.h>
 
 #define DRV_NAME "pata_mpiix"
-#define DRV_VERSION "0.7.7"
+#define DRV_VERSION "0.7.6"
 
 enum {
     IDETIM = 0x6C,        /* IDE control register */
@@ -146,7 +146,6 @@ static struct ata_port_operations mpiix_port_ops = {
     .cable_detect    = ata_cable_40wire,
     .set_piomode    = mpiix_set_piomode,
     .prereset    = mpiix_pre_reset,
-    .sff_data_xfer    = ata_sff_data_xfer32,
 };
 
 static int mpiix_init_one(struct pci_dev *dev, const struct 

pci_device_id *id)

drivers/ata/pata_sil680.c +2 -2
index 9e764e5..83580a5 100644
@@ -32,7 +32,7 @@
 #include <linux/libata.h>
 
 #define DRV_NAME "pata_sil680"
-#define DRV_VERSION "0.4.9"
+#define DRV_VERSION "0.4.8"
 
 #define SIL680_MMIO_BAR        5
 
@@ -195,7 +195,7 @@ static struct scsi_host_template sil680_sht = {
 };
 
 static struct ata_port_operations sil680_port_ops = {
-    .inherits    = &ata_bmdma32_port_ops,
+    .inherits    = &ata_bmdma_port_ops,
     .cable_detect    = sil680_cable_detect,
     .set_piomode    = sil680_set_piomode,
     .set_dmamode    = sil680_set_dmamode,
drivers/ata/sata_via.c +1 -1
index 5c62da9..f9803a2 100644
@@ -566,7 +566,7 @@ static int svia_init_one(struct pci_dev *pdev, const 
 struct pci_device_id *ent)
     static int printed_version;
     unsigned int i;
     int rc;
-    struct ata_host *host;
+    struct ata_host *uninitialized_var(host);
     int board_id = (int) ent->driver_data;
     const unsigned *bar_sizes;

Justin Madru

#16 lore raw

Re: [Bug #12263] Sata soft reset filling log

Quoted 16 lines · Rafael J. Wysocki
Quoted 15 lines · Justin Madru
Quoted 13 lines · Rafael J. Wysocki

This message has been generated automatically as a part of a report of regressions introduced between 2.6.27 and 2.6.28.

The following bug entry is on the current list of known regressions introduced between 2.6.27 and 2.6.28. Please verify if it still should be listed and let me know (either way).

Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=12263
Subject : Sata soft reset filling log
Submitter : Justin Madru <[email protected]>
Date : 2008-12-13 2:07 (64 days old)
References : http://marc.info/?l=linux-kernel&m=122913412608533&w=4

Quoted 8 lines
Quoted 6 lines

I'm still seeing this on .29-rc5, and I think that my bug #12263 is a duplicate of bug #12609,
or more correctly it's a duplicate of mine because I reported first.

It seems like the bug has been fixed in tip/master for some time now. Below is the diff of origin and tip from when I tested.

Ingo, do you know whinch patch in -tip fixes this regression?

This one, done on Jan 10, more than a month ago:

f1d26da: Revert "libata: Add 32bit PIO support"

When a commit causes trouble in -tip qa i immediately revert it in 95% of the cases, no questions asked. Especially if it's related to persistent storage.

Ingo

#17 lore raw

Re: [Bug #12263] Sata soft reset filling log

Quoted 28 lines · Ingo Molnar
Quoted 16 lines · Rafael J. Wysocki
Quoted 15 lines · Justin Madru
Quoted 13 lines · Rafael J. Wysocki

This message has been generated automatically as a part of a report of regressions introduced between 2.6.27 and 2.6.28.

The following bug entry is on the current list of known regressions introduced between 2.6.27 and 2.6.28. Please verify if it still should be listed and let me know (either way).

Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=12263
Subject : Sata soft reset filling log
Submitter : Justin Madru <[email protected]>
Date : 2008-12-13 2:07 (64 days old)
References : http://marc.info/?l=linux-kernel&m=122913412608533&w=4

Quoted 8 lines
Quoted 6 lines

I'm still seeing this on .29-rc5, and I think that my bug #12263 is a duplicate of bug #12609,
or more correctly it's a duplicate of mine because I reported first.

It seems like the bug has been fixed in tip/master for some time now. Below is the diff of origin and tip from when I tested.

Ingo, do you know whinch patch in -tip fixes this regression?

Quoted 7 lines

This one, done on Jan 10, more than a month ago:

f1d26da: Revert "libata: Add 32bit PIO support"

When a commit causes trouble in -tip qa i immediately revert it in 95% of the cases, no questions asked. Especially if it's related to persistent storage.

OK, thanks.

We seem to have a working fix patch for this issue in bug #12609.

Best,
Rafael

#18 lore raw

Re: [Bug #12263] Sata soft reset filling log

Hello.

Quoted 23 lines · Rafael J. Wysocki
Quoted 22 lines
Quoted 13 lines
Quoted 12 lines
Quoted 12 lines

This message has been generated automatically as a part of a report of regressions introduced between 2.6.27 and 2.6.28.

The following bug entry is on the current list of known regressions introduced between 2.6.27 and 2.6.28. Please verify if it still should be listed and let me know (either way).

Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=12263
Subject : Sata soft reset filling log
Submitter : Justin Madru <[email protected]>
Date : 2008-12-13 2:07 (64 days old)
References : http://marc.info/?l=linux-kernel&m=122913412608533&w=4

Quoted 7 lines
Quoted 5 lines

I'm still seeing this on .29-rc5, and I think that my bug #12263 is a duplicate of bug #12609, or more correctly it's a duplicate of mine because I reported first.

It seems like the bug has been fixed in tip/master for some time now. Below is the diff of origin and tip from when I tested.

Ingo, do you know whinch patch in -tip fixes this regression?

This one, done on Jan 10, more than a month ago:

Quoted 7 lines
Quoted 3 lines

f1d26da: Revert "libata: Add 32bit PIO support"

When a commit causes trouble in -tip qa i immediately revert it in 95% of the cases, no questions asked. Especially if it's related to persistent storage.

OK, thanks.

We seem to have a working fix patch for this issue in bug #12609.

Wait, if this is indeed post-2.6.27 regression, it couldn't possibly have
been caused by that patch which got merged during 2.6.29-rc1 timeframe. Something's up with this bug...

MBR, Sergei

#19 lore raw

Re: [Bug #12263] Sata soft reset filling log

Quoted 34 lines · Sergei Shtylyov

Hello.

Quoted 29 lines · Rafael J. Wysocki
Quoted 29 lines
Quoted 13 lines
Quoted 12 lines
Quoted 12 lines

This message has been generated automatically as a part of a report of regressions introduced between 2.6.27 and 2.6.28.

The following bug entry is on the current list of known regressions introduced between 2.6.27 and 2.6.28. Please verify if it still should be listed and let me know (either way).

Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=12263
Subject : Sata soft reset filling log
Submitter : Justin Madru <[email protected]>
Date : 2008-12-13 2:07 (64 days old)
References : http://marc.info/?l=linux-kernel&m=122913412608533&w=4

Quoted 8 lines
Quoted 6 lines

I'm still seeing this on .29-rc5, and I think that my bug #12263 is a duplicate of bug #12609,
or more correctly it's a duplicate of mine because I reported first.

It seems like the bug has been fixed in tip/master for some time now. Below is the diff of origin and tip from when I tested.

Ingo, do you know whinch patch in -tip fixes this regression?

This one, done on Jan 10, more than a month ago:

f1d26da: Revert "libata: Add 32bit PIO support"

When a commit causes trouble in -tip qa i immediately revert it in 95% of the cases, no questions asked. Especially if it's related to persistent storage.

Quoted 7 lines
Quoted 3 lines

OK, thanks.

We seem to have a working fix patch for this issue in bug #12609.

Wait, if this is indeed post-2.6.27 regression, it couldn't possibly
have been caused by that patch which got merged during 2.6.29-rc1 timeframe. Something's up with this bug...

SATA uses the SCSI layer, right? It could then perhaps be these bits in tip:out-of-tree:

813104e: Revert "[SCSI] simplify scsi_io_completion()"
84db545: Revert "[SCSI] Fix uninitialized variable error in scsi_io_completion" 0eb6038: Revert "[SCSI] Fix error handling for DIF/DIX"
3cd94dd: Revert "[SCSI] scsi_lib: don't decrement busy counters when inserting commands"
c27aed5: Revert "[SCSI] scsi_lib: fix DID_RESET status problems"

i needed these to keep an aic7xxx box from crashing. This regression got introduced at around 2.6.28-rc1, so it fits the timeframe.

Ingo

#20 lore raw

Re: [Bug #12263] Sata soft reset filling log

In reply to Sergei Shtylyov
Quoted 25 lines · Hello, I wrote:
Quoted 24 lines
Quoted 24 lines
Quoted 13 lines
Quoted 12 lines
Quoted 12 lines

This message has been generated automatically as a part of a report of regressions introduced between 2.6.27 and 2.6.28.

The following bug entry is on the current list of known regressions introduced between 2.6.27 and 2.6.28. Please verify if it still should be listed and let me know (either way).

Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=12263
Subject : Sata soft reset filling log
Submitter : Justin Madru <[email protected]>
Date : 2008-12-13 2:07 (64 days old)
References : http://marc.info/?l=linux-kernel&m=122913412608533&w=4

Quoted 7 lines
Quoted 5 lines

I'm still seeing this on .29-rc5, and I think that my bug #12263 is a duplicate of bug #12609, or more correctly it's a duplicate of mine because I reported first.

It seems like the bug has been fixed in tip/master for some time now. Below is the diff of origin and tip from when I tested.

Ingo, do you know whinch patch in -tip fixes this regression?

This one, done on Jan 10, more than a month ago:

f1d26da: Revert "libata: Add 32bit PIO support"

Quoted 8 lines
Quoted 5 lines
Quoted 1 line

When a commit causes trouble in -tip qa i immediately revert it in 95% of the cases, no questions asked. Especially if it's related to persistent storage.

OK, thanks.

We seem to have a working fix patch for this issue in bug #12609.

Wait, if this is indeed post-2.6.27 regression, it couldn't possibly
have been caused by that patch which got merged during 2.6.29-rc1 timeframe. Something's up with this bug...

Also, it's been reported for a hard disk while regression in bug 12609
only hits the ATAPI devices. I think that bug 12263 needs to be reopened.

MBR, Sergei

#21 lore raw

Re: [Bug #12263] Sata soft reset filling log

Quoted 29 lines · Hello, I wrote:
Quoted 28 lines
Quoted 28 lines
Quoted 19 lines
Quoted 18 lines
Quoted 18 lines
Quoted 7 lines

This message has been generated automatically as a part of a report of regressions introduced between 2.6.27 and 2.6.28.

The following bug entry is on the current list of known regressions introduced between 2.6.27 and 2.6.28. Please verify if it still should be listed and let me know (either way).

Quoted 5 lines

Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=12263
Subject : Sata soft reset filling log
Submitter : Justin Madru <[email protected]>
Date : 2008-12-13 2:07 (64 days old)
References : http://marc.info/?l=linux-kernel&m=122913412608533&w=4

I'm still seeing this on .29-rc5, and I think that my bug #12263 is a duplicate of bug #12609, or more correctly it's a duplicate of mine because I reported first.

It seems like the bug has been fixed in tip/master for some time now. Below is the diff of origin and tip from when I tested.

Quoted 7 lines
Quoted 1 line

Ingo, do you know whinch patch in -tip fixes this regression?

This one, done on Jan 10, more than a month ago:

f1d26da: Revert "libata: Add 32bit PIO support"

When a commit causes trouble in -tip qa i immediately revert it in 95% of the cases, no questions asked. Especially if it's related to persistent storage.

OK, thanks.

Quoted 7 lines
Quoted 4 lines
Quoted 1 line

We seem to have a working fix patch for this issue in bug #12609.

Wait, if this is indeed post-2.6.27 regression, it couldn't
possibly have been caused by that patch which got merged during 2.6.29-rc1 timeframe. Something's up with this bug...

Also, it's been reported for a hard disk while regression in bug
12609 only hits the ATAPI devices. I think that bug 12263 needs to be reopened.

After referring to the SCSI command codes "cdb 0x1e" means ALLOW MEDIUM
REMOVAL command -- which could hardly be addressed to an usual hard disk. So, it looks like we had a case of the confused bug report which has a lot of info on the hard disk while errors were most probably happening with a CD/DVD drive. :-)

MBR, Sergei

#22 lore raw

Re: [Bug #12263] Sata soft reset filling log

Quoted 3 lines · Sergei Shtylyov

After referring to the SCSI command codes "cdb 0x1e" means ALLOW MEDIUM REMOVAL command -- which could hardly be addressed to an usual hard disk. So, it looks like we had a case of the confused bug report which has a lot of info on the hard disk while errors were most probably happening with a CD/DVD drive.

Yes, I originally thought it was my hard disk because the kernel logs showed ata2.

But, Tejun Heo figured out it was my DVD drive (ATAPI) that was on the ata2 link.

(see http://marc.info/?l=linux-kernel&m=122993014109646&w=2)

I tried to bisect it, but around .28-rc1 I began to get numerous compile errors, so couldn't continue.

I also tried patches that Tejun sent me, but non of them worked, it just slightly change the error message.

So, yes this is a regression that was introduced in the .28 merge window, and I still think that bug #12609 is a duplicate of my bug.

I don't see this bug on tip/master and this is the diff of origin and tip at the time I tested.

$ git diff origin/master..tip/master drivers/ata/
drivers/ata/ata_piix.c +0 -0

index 54961c0..e004c25 100644

--- a/drivers/ata/ata_piix.c

+++ b/drivers/ata/ata_piix.c

@@ -310,7 +310,7 @@ static struct scsi_host_template piix_sht = {

};

static struct ata_port_operations piix_pata_ops = {

- .inherits = &ata_bmdma32_port_ops,

+ .inherits = &ata_bmdma_port_ops,

.cable_detect = ata_cable_40wire,

.set_piomode = piix_set_piomode,

.set_dmamode = piix_set_dmamode,

drivers/ata/libata-core.c +0 -0

index 9fbf059..1ed3966 100644

--- a/drivers/ata/libata-core.c

+++ b/drivers/ata/libata-core.c

@@ -1482,7 +1482,7 @@ static int ata_hpa_resize(struct ata_device *dev)

   struct ata_eh_context *ehc = &dev->link->eh_context;

   int print_info = ehc->i.flags & ATA_EHI_PRINTINFO;

   u64 sectors = ata_id_n_sectors(dev->id);

- u64 native_sectors;

+ u64 uninitialized_var(native_sectors);

int rc;

/* do we need to do it? */

drivers/ata/libata-scsi.c +0 -0

index b9747fa..d65b9b2 100644

--- a/drivers/ata/libata-scsi.c

+++ b/drivers/ata/libata-scsi.c

@@ -3247,7 +3247,7 @@ void ata_scsi_scan_host(struct ata_port *ap, int sync)

   int tries = 5;

   struct ata_device *last_failed_dev = NULL;

struct ata_link *link;

- struct ata_device *dev;

+ struct ata_device *uninitialized_var(dev);

if (ap->flags & ATA_FLAG_DISABLED)

       return;
drivers/ata/libata-sff.c +0 -0

index 0b299b0..416e3e2 100644

--- a/drivers/ata/libata-sff.c

+++ b/drivers/ata/libata-sff.c

@@ -80,13 +80,6 @@ const struct ata_port_operations ata_bmdma_port_ops = {

};

EXPORT_SYMBOL_GPL(ata_bmdma_port_ops);

-const struct ata_port_operations ata_bmdma32_port_ops = {

- .inherits = &ata_bmdma_port_ops,

-

- .sff_data_xfer = ata_sff_data_xfer32,

-};

-EXPORT_SYMBOL_GPL(ata_bmdma32_port_ops);

-

/**

* ata_fill_sg - Fill PCI IDE PRD table

* @qc: Metadata associated with taskfile to be transferred

@@ -743,52 +736,6 @@ unsigned int ata_sff_data_xfer(struct ata_device *dev, unsigned char *buf,

EXPORT_SYMBOL_GPL(ata_sff_data_xfer);

/**

- * ata_sff_data_xfer32 - Transfer data by PIO

- * @dev: device to target

- * @buf: data buffer

- * @buflen: buffer length

- * @rw: read/write

- *

- * Transfer data from/to the device data register by PIO using 32bit

- * I/O operations.

- *

- * LOCKING:

- * Inherited from caller.

- *

- * RETURNS:

- * Bytes consumed.

- */

-

-unsigned int ata_sff_data_xfer32(struct ata_device *dev, unsigned char *buf,

- unsigned int buflen, int rw)

-{

- struct ata_port *ap = dev->link->ap;

- void __iomem *data_addr = ap->ioaddr.data_addr;

- unsigned int words = buflen >> 2;

- int slop = buflen & 3;

-

- /* Transfer multiple of 4 bytes */

- if (rw == READ)

- ioread32_rep(data_addr, buf, words);

- else

- iowrite32_rep(data_addr, buf, words);

-

- if (unlikely(slop)) {

- __le32 pad;

- if (rw == READ) {

- pad = cpu_to_le32(ioread32(ap->ioaddr.data_addr));

- memcpy(buf + buflen - slop, &pad, slop);

- } else {

- memcpy(&pad, buf + buflen - slop, slop);

- iowrite32(le32_to_cpu(pad), ap->ioaddr.data_addr);

- }

- words++;

- }

- return words << 2;

-}

-EXPORT_SYMBOL_GPL(ata_sff_data_xfer32);

-

-/**

* ata_sff_data_xfer_noirq - Transfer data by PIO

* @dev: device to target

* @buf: data buffer

drivers/ata/pata_ali.c +0 -0

index eb99dbe..7cd48ea 100644

--- a/drivers/ata/pata_ali.c

+++ b/drivers/ata/pata_ali.c

@@ -151,7 +151,8 @@ static void ali_fifo_control(struct ata_port *ap, struct ata_device *adev, int o

   pci_read_config_byte(pdev, pio_fifo, &fifo);

   fifo &= ~(0x0F << shift);

- fifo |= (on << shift);

+ if (on)

+ fifo |= (on << shift);

   pci_write_config_byte(pdev, pio_fifo, fifo);

}

@@ -369,11 +370,10 @@ static struct ata_port_operations ali_early_port_ops = {

.inherits = &ata_sff_port_ops,

.cable_detect = ata_cable_40wire,

.set_piomode = ali_set_piomode,

- .sff_data_xfer = ata_sff_data_xfer32,

};

static const struct ata_port_operations ali_dma_base_ops = {

- .inherits = &ata_bmdma32_port_ops,

+ .inherits = &ata_bmdma_port_ops,

.set_piomode = ali_set_piomode,

.set_dmamode = ali_set_dmamode,

};

drivers/ata/pata_amd.c +0 -0

index 63719ab..0ec9c7d 100644

--- a/drivers/ata/pata_amd.c

+++ b/drivers/ata/pata_amd.c

@@ -24,7 +24,7 @@

#include <linux/libata.h>

#define DRV_NAME "pata_amd"

-#define DRV_VERSION "0.3.11"

+#define DRV_VERSION "0.3.10"

/**

* timing_setup - shared timing computation and load

@@ -345,7 +345,7 @@ static struct scsi_host_template amd_sht = {

};

static const struct ata_port_operations amd_base_port_ops = {

- .inherits = &ata_bmdma32_port_ops,

+ .inherits = &ata_bmdma_port_ops,

.prereset = amd_pre_reset,

};

drivers/ata/pata_atiixp.c +0 -0

index 506adde..115eb00 100644

--- a/drivers/ata/pata_atiixp.c

+++ b/drivers/ata/pata_atiixp.c

@@ -140,7 +140,7 @@ static void atiixp_set_dmamode(struct ata_port *ap, struct ata_device *adev)

       wanted_pio = 3;

else if (adev->dma_mode == XFER_MW_DMA_0)

       wanted_pio = 0;

- else BUG();

+ else panic("atiixp_set_dmamode: unknown DMA mode!");

if (adev->pio_mode != wanted_pio)

       atiixp_set_pio_timing(ap, adev, wanted_pio);
drivers/ata/pata_mpiix.c +0 -0

index aa576ca..7c8faa4 100644

--- a/drivers/ata/pata_mpiix.c

+++ b/drivers/ata/pata_mpiix.c

@@ -35,7 +35,7 @@

#include <linux/libata.h>

#define DRV_NAME "pata_mpiix"

-#define DRV_VERSION "0.7.7"

+#define DRV_VERSION "0.7.6"

enum {

IDETIM = 0x6C, /* IDE control register */

@@ -146,7 +146,6 @@ static struct ata_port_operations mpiix_port_ops = {

.cable_detect = ata_cable_40wire,

.set_piomode = mpiix_set_piomode,

.prereset = mpiix_pre_reset,

- .sff_data_xfer = ata_sff_data_xfer32,

};

static int mpiix_init_one(struct pci_dev *dev, const struct pci_device_id *id)

drivers/ata/pata_sil680.c +0 -0

index 9e764e5..83580a5 100644

--- a/drivers/ata/pata_sil680.c

+++ b/drivers/ata/pata_sil680.c

@@ -32,7 +32,7 @@

#include <linux/libata.h>

#define DRV_NAME "pata_sil680"

-#define DRV_VERSION "0.4.9"

+#define DRV_VERSION "0.4.8"

#define SIL680_MMIO_BAR 5

@@ -195,7 +195,7 @@ static struct scsi_host_template sil680_sht = {

};

static struct ata_port_operations sil680_port_ops = {

- .inherits = &ata_bmdma32_port_ops,

+ .inherits = &ata_bmdma_port_ops,

.cable_detect = sil680_cable_detect,

.set_piomode = sil680_set_piomode,

.set_dmamode = sil680_set_dmamode,

drivers/ata/sata_via.c +0 -0

index 5c62da9..f9803a2 100644

--- a/drivers/ata/sata_via.c

+++ b/drivers/ata/sata_via.c

@@ -566,7 +566,7 @@ static int svia_init_one(struct pci_dev *pdev, const struct pci_device_id *ent)

static int printed_version;

unsigned int i;

int rc;

- struct ata_host *host;

+ struct ata_host *uninitialized_var(host);

   int board_id = (int) ent->driver_data;

const unsigned *bar_sizes;

Justin Madru

#23 lore raw

Re: [Bug #12263] Sata soft reset filling log

Hello.

Quoted 8 lines · Justin Madru
Quoted 3 lines

After referring to the SCSI command codes "cdb 0x1e" means ALLOW MEDIUM REMOVAL command -- which could hardly be addressed to an usual hard disk. So, it looks like we had a case of the confused bug report which has a lot of info on the hard disk while errors were most probably happening with a CD/DVD drive.

Yes, I originally thought it was my hard disk because the kernel logs showed ata2.

But, Tejun Heo figured out it was my DVD drive (ATAPI) that was on the ata2 link.

Quoted 7 lines

(see http://marc.info/?l=linux-kernel&m=122993014109646&w=2)

I tried to bisect it, but around .28-rc1 I began to get numerous compile errors, so couldn't continue.

I also tried patches that Tejun sent me, but non of them worked, it just slightly change the error message.

So, yes this is a regression that was introduced in the .28 merge window, and I still think that bug #12609 is a duplicate of my bug.

If 12609 is truly a post-2.6.28 regression and 12263 is post-2.6.27
regresssion, this just cannot be.

Quoted 3 lines

I don't see this bug on tip/master and this is the diff of origin and tip at the time I tested.

$ git diff origin/master..tip/master drivers/ata/

What tree is that?

WBR, Sergei

#24 lore raw

Re: [Bug #12263] Sata soft reset filling log

Quoted 6 lines · Sergei Shtylyov

Hello.

Quoted 5 lines
Quoted 3 lines · Justin Madru

After referring to the SCSI command codes "cdb 0x1e" means ALLOW MEDIUM REMOVAL command -- which could hardly be addressed to an usual hard disk. So, it looks like we had a case of the confused bug report which has a lot of info on the hard disk while errors were most probably happening with a CD/DVD drive.

Quoted 8 lines
Quoted 6 lines

Yes, I originally thought it was my hard disk because the kernel logs showed ata2.
But, Tejun Heo figured out it was my DVD drive (ATAPI) that was on the ata2 link.
(see http://marc.info/?l=linux-kernel&m=122993014109646&w=2)
I tried to bisect it, but around .28-rc1 I began to get numerous compile errors, so couldn't continue.
I also tried patches that Tejun sent me, but non of them worked, it just slightly change the error message.
So, yes this is a regression that was introduced in the .28 merge window, and I still think that bug #12609 is a duplicate of my bug.

If 12609 is truly a post-2.6.28 regression and 12263 is post-2.6.27 regresssion, this just cannot be.

Maybe the reporter of #12609 didn't notice/test kernels 28-rc1 to 28. Or maybe the difference in hardware is the issue, but the bug is still the same. Don't know.

Quoted 4 lines
Quoted 2 lines

I don't see this bug on tip/master and this is the diff of origin and tip at the time I tested.

$ git diff origin/master..tip/master drivers/ata/

What tree is that?

This is what I have in .git/config and I get the same diff if I run:
git diff master..tip drivers/ata/ or git diff master...tip drivers/ata/

[core]
repositoryformatversion = 0
filemode = true
bare = false
logallrefupdates = true
[remote "origin"]
url =
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git
fetch = +refs/heads/*:refs/remotes/origin/*
[branch "master"]
remote = origin
merge = refs/heads/master
[remote "tip"]
url =
git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip.git
fetch = +refs/heads/*:refs/remotes/tip/*
[branch "tip"]
remote = tip
merge = refs/heads/master

Justin Madru

#25 lore raw

Re: [Bug #12263] Sata soft reset filling log

Quoted 8 lines · Justin Madru
Quoted 3 lines · Sergei Shtylyov

If 12609 is truly a post-2.6.28 regression and 12263 is post-2.6.27 regresssion, this just cannot be.

Maybe the reporter of #12609 didn't notice/test kernels 28-rc1 to 28. Or maybe the difference in hardware is
the issue, but the bug is still the same. Don't know.

Sorry Justin, you must be confused: as Sergei says, #12609 and #12263 can only be different.

I was one of the reporters of #12609, and I do know it's a post-2.6.28 regression (and Larry said so too), and one fix (not the preferred fix) is to revert the ata_bmdma32_port_ops from 2.6.29-rc, and the preferred fix is to improve the ata_sff_data_xfer32() introduced in 2.6.29-rc1.

2.6.28 does not contain any ata_bmdma32_port_ops, nor ata_sff_data_xfer32(), not did 2.6.28-rc1 contain them. So it is impossible for the reversion of the patch that introduced them to fix any problem on 2.6.28.

I'm quite prepared to believe that your #12263 manifests similarly to #12609, and that a tip tree which contains a fix for #12609 contains a fix for #12263; but please, those bugs are not the same, and they don't have the same fix.

Hugh

#26 lore raw

Re: [Bug #12263] Sata soft reset filling log

Quoted 24 lines · Hugh Dickins
Quoted 9 lines · Justin Madru
Quoted 3 lines · Sergei Shtylyov

If 12609 is truly a post-2.6.28 regression and 12263 is post-2.6.27 regresssion, this just cannot be.

Maybe the reporter of #12609 didn't notice/test kernels 28-rc1 to 28. Or maybe the difference in hardware is
the issue, but the bug is still the same. Don't know.

Sorry Justin, you must be confused: as Sergei says, #12609 and #12263 can only be different.

I was one of the reporters of #12609, and I do know it's a post-2.6.28 regression (and Larry said so too), and one fix (not the preferred fix) is to revert the ata_bmdma32_port_ops from 2.6.29-rc, and the preferred fix is to improve the ata_sff_data_xfer32() introduced in 2.6.29-rc1.

2.6.28 does not contain any ata_bmdma32_port_ops, nor ata_sff_data_xfer32(), not did 2.6.28-rc1 contain them. So it is impossible for the reversion of the patch that introduced them to fix any problem on 2.6.28.

Quoted 8 lines

I'm quite prepared to believe that your #12263 manifests similarly to #12609, and that a tip tree which contains a fix for #12609 contains a fix for #12263; but please, those bugs are not the same, and they don't have the same fix.

Hugh

Well, like I said: "[I] Don't know". I'm not a kernel developer (or even any developer... yet). I'm just someone that tests the -rc kernels to see if there's any problems with my hardware. I try to report any regressions to lkml, and hopefully help the developers.

To me, who has no knowledge of all these low level issues, the following error messages look strikingly similar with a quick glance.

# bug 12609
# http://marc.info/?l=linux-kernel&m=123254501314058&w=4
#
ata2.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
ata2.00: cmd a0/00:00:00:00:00/00:00:00:00:00/a0 tag 0
        cdb 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
        res 51/20:03:00:00:00/00:00:00:00:00/a0 Emask 0x5 (timeout)
ata2.00: status: { DRDY ERR }
ata2: soft resetting link
ata2.00: configured for UDMA/33
ata2: EH complete
# bug 12263
# http://marc.info/?l=linux-kernel&m=122913412608533&w=4
#
ata2.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
ata2.00: ST_FIRST: !(DRQ|ERR|DF)
ata2.00: cmd a0/00:00:00:00:00/00:00:00:00:00/a0 tag 0
        cdb 1e 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
        res 50/00:01:00:00:00/00:00:00:00:00/a0 Emask 0x2 (HSM violation)
ata2.00: status: { DRDY }
ata2: soft resetting link
ata2.00: configured for UDMA/33
ata2: EH complete
# bug 12609
# http://marc.info/?l=linux-kernel&m=123275478111406&w=4
#
ata2.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
ata2.00: cmd a0/00:00:00:00:00/00:00:00:00:00/a0 tag 0
        cdb 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
        res 51/20:03:00:00:00/00:00:00:00:00/a0 Emask 0x3 (HSM violation)
ata2.00: status: { DRDY ERR }
ata2: soft resetting link
ata2.00: configured for PIO4
ata2: EH complete

So, will the patch for 12609 fix my issue also, or does there need to be another patch?

Justin Madru

#27 lore raw

Re: [Bug #12263] Sata soft reset filling log

Hello.

Quoted 47 lines · Justin Madru
Quoted 20 lines
Quoted 7 lines
Quoted 3 lines

If 12609 is truly a post-2.6.28 regression and 12263 is post-2.6.27 regresssion, this just cannot be.

Maybe the reporter of #12609 didn't notice/test kernels 28-rc1 to 28. Or maybe the difference in hardware is
the issue, but the bug is still the same. Don't know.

Sorry Justin, you must be confused: as Sergei says, #12609 and #12263 can only be different.

I was one of the reporters of #12609, and I do know it's a post-2.6.28 regression (and Larry said so too), and one fix (not the preferred fix) is to revert the ata_bmdma32_port_ops from 2.6.29-rc, and the preferred fix is to improve the ata_sff_data_xfer32() introduced in 2.6.29-rc1.

2.6.28 does not contain any ata_bmdma32_port_ops, nor ata_sff_data_xfer32(), not did 2.6.28-rc1 contain them. So it is impossible for the reversion of the patch that introduced them to fix any problem on 2.6.28.

Quoted 8 lines

I'm quite prepared to believe that your #12263 manifests similarly to #12609, and that a tip tree which contains a fix for #12609 contains a fix for #12263; but please, those bugs are not the same, and they don't have the same fix.

Hugh

Well, like I said: "[I] Don't know". I'm not a kernel developer (or even any developer... yet). I'm just someone that tests the -rc kernels to see if there's any problems with my hardware. I try to report any regressions to lkml, and hopefully help the developers.

To me, who has no knowledge of all these low level issues, the following error messages look strikingly similar with a quick glance.

# bug 12609
# http://marc.info/?l=linux-kernel&m=123254501314058&w=4
#
ata2.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
ata2.00: cmd a0/00:00:00:00:00/00:00:00:00:00/a0 tag 0
        cdb 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
        res 51/20:03:00:00:00/00:00:00:00:00/a0 Emask 0x5 (timeout)
ata2.00: status: { DRDY ERR }
ata2: soft resetting link
ata2.00: configured for UDMA/33
ata2: EH complete
Quoted 8 lines
# bug 12263
# http://marc.info/?l=linux-kernel&m=122913412608533&w=4
#
ata2.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
ata2.00: ST_FIRST: !(DRQ|ERR|DF)
ata2.00: cmd a0/00:00:00:00:00/00:00:00:00:00/a0 tag 0
        cdb 1e 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
        res 50/00:01:00:00:00/00:00:00:00:00/a0 Emask 0x2 (HSM violation)

Note the different value of the status, error and interrupt reason
registers: 51/20:03 vs 50/00:01. The former means (unexpected?) status phase interrupt with error indication and the sense key NOT READY, the latter means (unexpected?) command phase interrupt with no error. IIUC, the former happens once the 'sr' driver first sends the TEST UNIT READY command while probing the CD/DVD drive, the latter seems to be a result of some polling process (originated from userland) -- I'm not seeing ALLOW_MEDIUM_REMOVAL anywhere in this driver. So they only look similar, I think...

Quoted 1 line

So, will the patch for 12609 fix my issue also, or does there need to be another patch?

Most probably it'll need another patch.

Quoted 1 line

Justin Madru

MBR, Sergei

#28 lore raw

Re: [Bug #12263] Sata soft reset filling log

Quoted 61 lines · Sergei Shtylyov

Hello.

Quoted 47 lines · Justin Madru
Quoted 20 lines
Quoted 7 lines
Quoted 3 lines

If 12609 is truly a post-2.6.28 regression and 12263 is post-2.6.27 regresssion, this just cannot be.

Maybe the reporter of #12609 didn't notice/test kernels 28-rc1 to 28. Or maybe the difference in hardware is
the issue, but the bug is still the same. Don't know.

Sorry Justin, you must be confused: as Sergei says, #12609 and #12263 can only be different.

I was one of the reporters of #12609, and I do know it's a post-2.6.28 regression (and Larry said so too), and one fix (not the preferred fix) is to revert the ata_bmdma32_port_ops from 2.6.29-rc, and the preferred fix is to improve the ata_sff_data_xfer32() introduced in 2.6.29-rc1.

2.6.28 does not contain any ata_bmdma32_port_ops, nor ata_sff_data_xfer32(), not did 2.6.28-rc1 contain them. So it is impossible for the reversion of the patch that introduced them to fix any problem on 2.6.28.

Quoted 8 lines

I'm quite prepared to believe that your #12263 manifests similarly to #12609, and that a tip tree which contains a fix for #12609 contains a fix for #12263; but please, those bugs are not the same, and they don't have the same fix.

Hugh

Well, like I said: "[I] Don't know". I'm not a kernel developer (or even any developer... yet). I'm just someone that tests the -rc kernels to see if there's any problems with my hardware. I try to report any regressions to lkml, and hopefully help the developers.

To me, who has no knowledge of all these low level issues, the following error messages look strikingly similar with a quick glance.

# bug 12609
# http://marc.info/?l=linux-kernel&m=123254501314058&w=4
#
ata2.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
ata2.00: cmd a0/00:00:00:00:00/00:00:00:00:00/a0 tag 0
        cdb 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
        res 51/20:03:00:00:00/00:00:00:00:00/a0 Emask 0x5 (timeout)
ata2.00: status: { DRDY ERR }
ata2: soft resetting link
ata2.00: configured for UDMA/33
ata2: EH complete
Quoted 9 lines
# bug 12263
# http://marc.info/?l=linux-kernel&m=122913412608533&w=4
#
ata2.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
ata2.00: ST_FIRST: !(DRQ|ERR|DF)
ata2.00: cmd a0/00:00:00:00:00/00:00:00:00:00/a0 tag 0
        cdb 1e 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
        res 50/00:01:00:00:00/00:00:00:00:00/a0 Emask 0x2 (HSM 
violation)
Quoted 2 lines

Note the different value of the status, error and interrupt reason
registers: 51/20:03 vs 50/00:01. The former means (unexpected?) status phase interrupt with error indication and the sense key NOT READY, the latter means (unexpected?) command phase interrupt with no error. IIUC, the former happens once the 'sr' driver first sends the TEST UNIT READY command while probing the CD/DVD drive, the latter seems to be a result of some polling process (originated from userland) -- I'm not seeing ALLOW_MEDIUM_REMOVAL anywhere in this driver. So they only look similar, I think...

And that is why I'm a tester and you're a developer ;) Thanks for the info! Next time I'll look closer and maybe know what I'm actually looking at.

Quoted 5 lines
Quoted 3 lines

So, will the patch for 12609 fix my issue also, or does there need to be another patch?

Most probably it'll need another patch.

So then, #12263 should be reopened and marked as not a duplicate. Anyways, if tip/master gets merged how it is now then my bug should be fixed.

Justin Madru

#29 lore raw

[Bug #12265] FPU emulation broken in 2.6.28-rc8 ?

In reply to Rafael J. Wysocki

This message has been generated automatically as a part of a report of regressions introduced between 2.6.27 and 2.6.28.

The following bug entry is on the current list of known regressions introduced between 2.6.27 and 2.6.28. Please verify if it still should be listed and let me know (either way).

Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=12265
Subject : FPU emulation broken in 2.6.28-rc8 ?
Submitter : Rogier Wolff <R.E.Wolff-bu/[email protected]>
Date : 2008-12-17 8:56 (60 days old)
References : http://marc.info/?l=linux-kernel&m=122950463030747&w=4

#30 lore raw

Re: [Bug #12265] FPU emulation broken in 2.6.28-rc8 ?

Quoted 8 lines · Rafael J. Wysocki

This message has been generated automatically as a part of a report of regressions introduced between 2.6.27 and 2.6.28.

The following bug entry is on the current list of known regressions introduced between 2.6.27 and 2.6.28. Please verify if it still should be listed and let me know (either way).

Quoted 5 lines

Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=12265
Subject : FPU emulation broken in 2.6.28-rc8 ?
Submitter : Rogier Wolff <R.E.Wolff-bu/[email protected]>
Date : 2008-12-17 8:56 (60 days old)
References : http://marc.info/?l=linux-kernel&m=122950463030747&w=4

Should be fixed in -rc5 by:

d315760: x86: fix math_emu register frame access

Rogier, can you confirm?

Ingo

#31 lore raw

[Bug #12401] 2.6.28 regression: xbacklight broken on ThinkPad X61s

In reply to Rafael J. Wysocki

This message has been generated automatically as a part of a report of regressions introduced between 2.6.27 and 2.6.28.

The following bug entry is on the current list of known regressions introduced between 2.6.27 and 2.6.28. Please verify if it still should be listed and let me know (either way).

Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=12401
Subject : 2.6.28 regression: xbacklight broken on ThinkPad X61s
Submitter : Tino Keitel <[email protected]>
Date : 2009-01-05 8:39 (41 days old)
First-Bad-Commit: http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=22c13f9d8179f4c9caecfcb60a95214562b9addc
References : http://marc.info/?l=linux-kernel&m=123114479110314&w=4

#32 lore raw

Re: [Bug #12401] 2.6.28 regression: xbacklight broken on ThinkPad X61s

This one sounded like a configuration error.

Signature · 1 line
Matthew Garrett | [email protected]
#33 lore raw

Re: [Bug #12401] 2.6.28 regression: xbacklight broken on ThinkPad X61s

Quoted 1 line · Matthew Garrett

This one sounded like a configuration error.

Tino?

#34 lore raw

Re: [Bug #12401] 2.6.28 regression: xbacklight broken on ThinkPad X61s

Quoted 2 lines · Rafael J. Wysocki
Quoted 1 line · Matthew Garrett

This one sounded like a configuration error.

I think if it works without DRI in 2.6.27 and doesn't work in 2.6.28, it isn't a configuration error, but a real regression.

Regards,
Tino

#35 lore raw

Re: [Bug #12401] 2.6.28 regression: xbacklight broken on ThinkPad X61s

Quoted 2 lines · Tino Keitel

I think if it works without DRI in 2.6.27 and doesn't work in 2.6.28, it isn't a configuration error, but a real regression.

It only worked by accident without DRM support, since you were using the ATI codepath in the firmware rather than the Intel one. That bug's been fixed, so now you're following the Intel codepath - unfortunately there's no way to do that without kernel-level graphics support, which means DRM.

Signature · 1 line
Matthew Garrett | [email protected]
#36 lore raw

Re: [Bug #12401] 2.6.28 regression: xbacklight broken on ThinkPad X61s

Quoted 8 lines · Matthew Garrett
Quoted 2 lines · Tino Keitel

I think if it works without DRI in 2.6.27 and doesn't work in 2.6.28, it isn't a configuration error, but a real regression.

It only worked by accident without DRM support, since you were using the ATI codepath in the firmware rather than the Intel one. That bug's been fixed, [...]

Which precise commit ID is that?

Quoted 3 lines

[...] so now you're following the Intel codepath - unfortunately there's no way to do that without kernel-level graphics support, which means DRM.

Tino, does it all work fine if CONFIG_DRM is enabled?

Ingo

#37 lore raw

Re: [Bug #12401] 2.6.28 regression: xbacklight broken on ThinkPad X61s

Quoted 5 lines · Ingo Molnar
Quoted 2 lines · Matthew Garrett

On Sun, Feb 15, 2009 at 11:16:47PM +0100, Tino Keitel wrote:

Quoted 8 lines
Quoted 6 lines
Quoted 2 lines

I think if it works without DRI in 2.6.27 and doesn't work in 2.6.28, it isn't a configuration error, but a real regression.

It only worked by accident without DRM support, since you were using the ATI codepath in the firmware rather than the Intel one. That bug's been fixed, [...]

Which precise commit ID is that?

22c13f9d8179f4c9caecfcb60a95214562b9addc

Signature · 1 line
Matthew Garrett | [email protected]
#38 lore raw

[Bug #12403] TTY problem on linux-2.6.28-rc7

In reply to Rafael J. Wysocki

This message has been generated automatically as a part of a report of regressions introduced between 2.6.27 and 2.6.28.

The following bug entry is on the current list of known regressions introduced between 2.6.27 and 2.6.28. Please verify if it still should be listed and let me know (either way).

Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=12403
Subject : TTY problem on linux-2.6.28-rc7
Submitter : sasa sasa <[email protected]>
Date : 2008-12-22 4:23 (55 days old)
References : http://marc.info/?l=linux-kernel&m=122991914600390&w=4

#39 lore raw

Re: [Bug #12403] TTY problem on linux-2.6.28-rc7

Quoted 8 lines

This message has been generated automatically as a part of a report of regressions introduced between 2.6.27 and 2.6.28.

The following bug entry is on the current list of known regressions introduced between 2.6.27 and 2.6.28. Please verify if it still should be listed and let me know (either way).

Quoted 5 lines

Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=12403
Subject : TTY problem on linux-2.6.28-rc7
Submitter : sasa sasa <[email protected]>
Date : 2008-12-22 4:23 (55 days old)
References : http://marc.info/?l=linux-kernel&m=122991914600390&w=4

according to

	http://marc.info/?l=linux-kernel&m=123054911532245&w=4

which is a reply to the first post, it's not a kernel problem

Signature · 1 line
Aristeu
#40 lore raw

Re: [Bug #12403] TTY problem on linux-2.6.28-rc7

Quoted 8 lines · Aristeu Rozanski
Quoted 8 lines

This message has been generated automatically as a part of a report of regressions introduced between 2.6.27 and 2.6.28.

The following bug entry is on the current list of known regressions introduced between 2.6.27 and 2.6.28. Please verify if it still should be listed and let me know (either way).

Quoted 8 lines
Quoted 5 lines

Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=12403
Subject : TTY problem on linux-2.6.28-rc7
Submitter : sasa sasa <[email protected]>
Date : 2008-12-22 4:23 (55 days old)
References : http://marc.info/?l=linux-kernel&m=122991914600390&w=4

according to

	http://marc.info/?l=linux-kernel&m=123054911532245&w=4

which is a reply to the first post, it's not a kernel problem

OK, I've closed the bug.

Thanks,
Rafael

#41 lore raw

[Bug #12393] debugging in dosemu causes lots of 'scheduling while atomic'

In reply to Rafael J. Wysocki

This message has been generated automatically as a part of a report of regressions introduced between 2.6.27 and 2.6.28.

The following bug entry is on the current list of known regressions introduced between 2.6.27 and 2.6.28. Please verify if it still should be listed and let me know (either way).

Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=12393
Subject : debugging in dosemu causes lots of 'scheduling while atomic'
Submitter : Michal Suchanek <[email protected]>
Date : 2009-01-09 07:28 (37 days old)

Patch : http://lkml.org/lkml/2009/1/13/445

#42 lore raw

[Bug #12395] 2.6.28-rc9: oprofile regression

In reply to Rafael J. Wysocki

This message has been generated automatically as a part of a report of regressions introduced between 2.6.27 and 2.6.28.

The following bug entry is on the current list of known regressions introduced between 2.6.27 and 2.6.28. Please verify if it still should be listed and let me know (either way).

Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=12395
Subject : 2.6.28-rc9: oprofile regression
Submitter : Tim Blechmann <tim-xpEK/[email protected]>
Date : 2008-12-21 14:23 (56 days old)
First-Bad-Commit: http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=b99170288421c79f0c2efa8b33e26e65f4bb7fb8
References : http://marc.info/?l=linux-kernel&m=122986946614791&w=4

#43 lore raw

[Bug #12406] 2.6.28 thinks that my PS/2 mouse is a touchpad

In reply to Rafael J. Wysocki

This message has been generated automatically as a part of a report of regressions introduced between 2.6.27 and 2.6.28.

The following bug entry is on the current list of known regressions introduced between 2.6.27 and 2.6.28. Please verify if it still should be listed and let me know (either way).

Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=12406
Subject : 2.6.28 thinks that my PS/2 mouse is a touchpad
Submitter : Alexander E. Patrakov <[email protected]>
Date : 2008-12-27 9:06 (50 days old)
References : http://marc.info/?l=linux-kernel&m=123036893817280&w=4

Patch : http://marc.info/?l=linux-kernel&m=123092147703236&w=4

#44 lore raw

Re: [Bug #12406] 2.6.28 thinks that my PS/2 mouse is a touchpad

Quoted 6 lines · Rafael J. Wysocki

This message has been generated automatically as a part of a report of regressions introduced between 2.6.27 and 2.6.28.

The following bug entry is on the current list of known regressions introduced between 2.6.27 and 2.6.28. Please verify if it still should be listed and let me know (either way).

Yes, it is still a regression with a patch that is not in -stable.

Quoted 9 lines

Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=12406
Subject : 2.6.28 thinks that my PS/2 mouse is a
touchpad Submitter : Alexander E. Patrakov <[email protected]>
Date : 2008-12-27 9:06 (50 days old)
References :
http://marc.info/?l=linux-kernel&m=123036893817280&w=4

Patch :
http://marc.info/?l=linux-kernel&m=123092147703236&w=4

Signature · 1 line
Alexander E. Patrakov
#45 lore raw

Re: [Bug #12406] 2.6.28 thinks that my PS/2 mouse is a touchpad

Quoted 10 lines · Alexander E. Patrakov
Quoted 6 lines · Rafael J. Wysocki

This message has been generated automatically as a part of a report of regressions introduced between 2.6.27 and 2.6.28.

The following bug entry is on the current list of known regressions introduced between 2.6.27 and 2.6.28. Please verify if it still should be listed and let me know (either way).

Yes, it is still a regression with a patch that is not in -stable.

I think it hasn't been merged yet.

Quoted 9 lines
Quoted 9 lines

Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=12406
Subject : 2.6.28 thinks that my PS/2 mouse is a
touchpad Submitter : Alexander E. Patrakov <[email protected]>
Date : 2008-12-27 9:06 (50 days old)
References :
http://marc.info/?l=linux-kernel&m=123036893817280&w=4

Patch :
http://marc.info/?l=linux-kernel&m=123092147703236&w=4

#46 lore raw

[Bug #12404] Oops in 2.6.28-rc9 and -rc8 -- mtrr issues / e1000e

In reply to Rafael J. Wysocki

This message has been generated automatically as a part of a report of regressions introduced between 2.6.27 and 2.6.28.

The following bug entry is on the current list of known regressions introduced between 2.6.27 and 2.6.28. Please verify if it still should be listed and let me know (either way).

Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=12404
Subject : Oops in 2.6.28-rc9 and -rc8 -- mtrr issues / e1000e
Submitter : Kernel <kernel-nOyj/A09A+/[email protected]>
Date : 2008-12-22 9:37 (55 days old)
References : http://marc.info/?l=linux-kernel&m=122993873320150&w=4

#47 lore raw

[Bug #12405] oops in __bounce_end_io_read under kvm

In reply to Rafael J. Wysocki

This message has been generated automatically as a part of a report of regressions introduced between 2.6.27 and 2.6.28.

The following bug entry is on the current list of known regressions introduced between 2.6.27 and 2.6.28. Please verify if it still should be listed and let me know (either way).

Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=12405
Subject : oops in __bounce_end_io_read under kvm
Submitter : Christoph Hellwig <[email protected]>
Date : 2008-12-26 17:36 (51 days old)
References : http://marc.info/?l=linux-kernel&m=123031303400676&w=4

#48 lore raw

[Bug #12411] 2.6.28: BUG in r8169

In reply to Rafael J. Wysocki

This message has been generated automatically as a part of a report of regressions introduced between 2.6.27 and 2.6.28.

The following bug entry is on the current list of known regressions introduced between 2.6.27 and 2.6.28. Please verify if it still should be listed and let me know (either way).

Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=12411
Subject : 2.6.28: BUG in r8169
Submitter : Andrey Vul <[email protected]>
Date : 2008-12-31 18:37 (46 days old)
References : http://marc.info/?l=linux-kernel&m=123074869611409&w=4

#49 lore raw

[Bug #12409] NULL pointer dereference at get_stats()

In reply to Rafael J. Wysocki

This message has been generated automatically as a part of a report of regressions introduced between 2.6.27 and 2.6.28.

The following bug entry is on the current list of known regressions introduced between 2.6.27 and 2.6.28. Please verify if it still should be listed and let me know (either way).

Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=12409
Subject : NULL pointer dereference at get_stats()
Submitter : Tetsuo Handa <penguin-kernel-1yMVhJb1mP/[email protected]>
Date : 2008-12-30 12:53 (47 days old)
References : http://marc.info/?l=linux-kernel&m=123064167008695&w=4

#50 lore raw

[Bug #12408] Funny problem with 2.6.28: Kernel stalls

In reply to Rafael J. Wysocki

This message has been generated automatically as a part of a report of regressions introduced between 2.6.27 and 2.6.28.

The following bug entry is on the current list of known regressions introduced between 2.6.27 and 2.6.28. Please verify if it still should be listed and let me know (either way).

Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=12408
Subject : Funny problem with 2.6.28: Kernel stalls
Submitter : Michael Roth <[email protected]>
Date : 2008-12-25 15:14 (52 days old)
References : http://marc.info/?l=linux-kernel&m=123021931714282&w=4

#51 lore raw

[Bug #12407] Kernel 2.6.28 regression: Hang after hibernate

In reply to Rafael J. Wysocki

This message has been generated automatically as a part of a report of regressions introduced between 2.6.27 and 2.6.28.

The following bug entry is on the current list of known regressions introduced between 2.6.27 and 2.6.28. Please verify if it still should be listed and let me know (either way).

Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=12407
Subject : Kernel 2.6.28 regression: Hang after hibernate
Submitter : Frank Groeneveld <[email protected]>
Date : 2008-12-28 20:34 (49 days old)
References : http://marc.info/?l=linux-kernel&m=123049651906081&w=4

#52 lore raw

[Bug #12465] KVM guests stalling on 2.6.28 (bisected)

In reply to Rafael J. Wysocki

This message has been generated automatically as a part of a report of regressions introduced between 2.6.27 and 2.6.28.

The following bug entry is on the current list of known regressions introduced between 2.6.27 and 2.6.28. Please verify if it still should be listed and let me know (either way).

Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=12465
Subject : KVM guests stalling on 2.6.28 (bisected)
Submitter : Kevin Shanahan <kmshanah-biM/RbsGxha6c6uEtOJ/[email protected]>
Date : 2009-01-17 03:37 (29 days old)

#53 lore raw

Re: [Bug #12465] KVM guests stalling on 2.6.28 (bisected) [Bug 12465]

Quoted 6 lines · Rafael J. Wysocki

This message has been generated automatically as a part of a report of regressions introduced between 2.6.27 and 2.6.28.

The following bug entry is on the current list of known regressions introduced between 2.6.27 and 2.6.28. Please verify if it still should be listed and let me know (either way).

Yes, this should still be listed.

I just tested against 2.6.29-rc5 and the problem is as bad as ever (perhaps worse?)

--- hermes-old.wumi.org.au ping statistics ---
900 packets transmitted, 448 received, +317 errors, 50% packet loss, time 899845ms rtt min/avg/max/mdev = 0.131/420.015/10890.699/1297.022 ms, pipe 11

The guest being pinged crashed during the test - the QEMU monitor was accessible, but the guest didn't respond to "sendkey alt-sysrq-s", etc. This was the last thing in the guest syslog after reboot:

Feb 15 19:48:58 hermes-old kernel: ------------[ cut here ]------------
Feb 15 19:48:58 hermes-old kernel: WARNING: at net/sched/sch_generic.c:219 dev_watchdog+0x111/0x195()
Feb 15 19:48:58 hermes-old kernel: NETDEV WATCHDOG: eth0 (8139too): transmit timed out
Feb 15 19:48:58 hermes-old kernel: Pid: 0, comm: swapper Not tainted 2.6.27.10 #1
Feb 15 19:48:58 hermes-old kernel:  [<c011d75c>] warn_slowpath+0x5c/0x81
Feb 15 19:48:58 hermes-old kernel:  [<c02f5f7c>] nf_hook_slow+0x44/0xb1
Feb 15 19:48:58 hermes-old kernel:  [<c02d93f1>] dev_queue_xmit+0x3da/0x411
Feb 15 19:48:58 hermes-old kernel:  [<c030043d>] ip_finish_output+0x1f9/0x231
Feb 15 19:48:58 hermes-old kernel:  [<c01daeee>] __next_cpu+0x12/0x21
Feb 15 19:48:58 hermes-old kernel:  [<c0116b42>] find_busiest_group+0x232/0x69f
Feb 15 19:48:58 hermes-old kernel:  [<c01160dc>] update_curr+0x41/0x65
Feb 15 19:48:58 hermes-old kernel:  [<c02e33b5>] dev_watchdog+0x111/0x195
Feb 15 19:48:58 hermes-old kernel:  [<c011822f>] enqueue_task_fair+0x16/0x24
Feb 15 19:48:58 hermes-old kernel:  [<c0115645>] enqueue_task+0xa/0x14
Feb 15 19:48:58 hermes-old kernel:  [<c01156d5>] activate_task+0x16/0x1b
Feb 15 19:48:58 hermes-old kernel:  [<c0119c8c>] try_to_wake_up+0x131/0x13a
Feb 15 19:48:58 hermes-old kernel:  [<c02e32a4>] dev_watchdog+0x0/0x195
Feb 15 19:48:58 hermes-old kernel:  [<c012424c>] run_timer_softirq+0xf5/0x14a
Feb 15 19:48:58 hermes-old kernel:  [<c0120f60>] __do_softirq+0x5d/0xc1
Feb 15 19:48:58 hermes-old kernel:  [<c0120ff6>] do_softirq+0x32/0x36
Feb 15 19:48:58 hermes-old kernel:  [<c012112c>] irq_exit+0x35/0x40
Feb 15 19:48:58 hermes-old kernel:  [<c010e8db>] smp_apic_timer_interrupt+0x6e/0x7b
Feb 15 19:48:58 hermes-old kernel:  [<c01035ac>] apic_timer_interrupt+0x28/0x30
Feb 15 19:48:58 hermes-old kernel:  [<c0107386>] default_idle+0x2a/0x3d
Feb 15 19:48:58 hermes-old kernel:  [<c0101900>] cpu_idle+0x5c/0x84
Feb 15 19:48:58 hermes-old kernel:  =======================
Feb 15 19:48:58 hermes-old kernel: ---[ end trace eff10a8043ac4e7b ]---
Feb 15 19:49:01 hermes-old kernel: eth0: Transmit timeout, status 0d 0000 c07f media d0.
Feb 15 19:49:01 hermes-old kernel: eth0: Tx queue start entry 839  dirty entry 839.
Feb 15 19:49:01 hermes-old kernel: eth0:  Tx descriptor 0 is 0008a03c.
Feb 15 19:49:01 hermes-old kernel: eth0:  Tx descriptor 1 is 0008a062.
Feb 15 19:49:01 hermes-old kernel: eth0:  Tx descriptor 2 is 0008a062.
Feb 15 19:49:01 hermes-old kernel: eth0:  Tx descriptor 3 is 0008a05b. (queue head)
Feb 15 19:49:01 hermes-old kernel: eth0: link up, 100Mbps, full-duplex, lpa 0x05E1

I think I saw some patches to fix the latency tracer for non-RT tasks on the mailing list a while ago. If that's still going to be a useful test, can someone give me some hints on which kernel tree and/or patches to download to get that working? The simpler you can make it, the better ;)

Cheers,
Kevin.

#54 lore raw

Re: [Bug #12465] KVM guests stalling on 2.6.28 (bisected) [Bug 12465]

Quoted 8 lines · Kevin Shanahan
Quoted 6 lines · Rafael J. Wysocki

This message has been generated automatically as a part of a report of regressions introduced between 2.6.27 and 2.6.28.

The following bug entry is on the current list of known regressions introduced between 2.6.27 and 2.6.28. Please verify if it still should be listed and let me know (either way).

Quoted 8 lines

Yes, this should still be listed.

I just tested against 2.6.29-rc5 and the problem is as bad as ever (perhaps worse?)

--- hermes-old.wumi.org.au ping statistics ---
900 packets transmitted, 448 received, +317 errors, 50% packet loss, time 899845ms rtt min/avg/max/mdev = 0.131/420.015/10890.699/1297.022 ms, pipe 11

i looked at the trace you did earlier and which you uploaded to:

http://disenchant.net/tmp/bug-12465/trace-1/

Here is one 3 seconds (!) latency:

 0)  qemu-sy-4237  |               |      kvm_vcpu_block() {
 0)  qemu-sy-4237  |               |        kvm_cpu_has_interrupt() {
 0)  qemu-sy-4237  |               |          kvm_apic_has_interrupt() {
 0)  qemu-sy-4237  |   0.291 us    |          }
 0)  qemu-sy-4237  |               |          kvm_apic_accept_pic_intr() {
 0)  qemu-sy-4237  |   0.291 us    |          }
 0)  qemu-sy-4237  |   1.476 us    |        }
 0)  qemu-sy-4237  |               |        kvm_cpu_has_pending_timer() {
 0)  qemu-sy-4237  |   0.325 us    |        }
 0)  qemu-sy-4237  |               |        kvm_arch_vcpu_runnable() {
 0)  qemu-sy-4237  |   0.288 us    |        }
 0)  qemu-sy-4237  |               |        kvm_arch_vcpu_put() {
 0)  qemu-sy-4237  |   0.415 us    |        }
 0)  qemu-sy-4237  |               |        schedule() {
 0)  qemu-sy-4237  |               |          wakeup_preempt_entity() {
 0)  qemu-sy-4237  |   0.300 us    |          }

------------------------------------------
0) qemu-sy-4237 => ksoftir-4
------------------------------------------

0) ksoftir-4 | ! 3010470 us | }
------------------------------------------
0) ksoftir-4 => qemu-sy-4355
------------------------------------------

 0)  qemu-sy-4355  |   1.575 us    |          }
 0)  qemu-sy-4355  |   6.520 us    |        }
 0)  qemu-sy-4355  |   7.121 us    |      }
 0)  qemu-sy-4355  |               |      __wake_up() {
 0)  qemu-sy-4355  |               |        __wake_up_common() {
 0)  qemu-sy-4355  |               |          autoremove_wake_function() {
 0)  qemu-sy-4355  |               |            default_wake_function() {

qemu-sy-4237 has been scheduled away, and the system appeared to have done nothing in the meantime. That's not something that really looks like a scheduler regression - there is nothing the scheduler can do if KVM decides to block a task.

It would be nice to enhance this single-CPU trace some more - to more surgically see what is going on. Firstly, absolute timestamps would be nice:

echo funcgraph-abstime > trace_options
echo funcgraph-proc > trace_options

as it's a bit hard to see the global timescale of events.

Secondly, not all events are included - in particular i dont really see the points when packets are passed. Would it be possible to add a tracing hypercall so that the guest kernel can inject trace events that can be seen on the native-side trace? Regarding ping latencies really just two things
matter: the loopback network device's rx and tx path. We should trace the outgoing sequence number and the incoming sequence number of IP packets, and inject that to the host side. This way we can correlate the delays precisely.

Ingo

#55 lore raw

Re: [Bug #12465] KVM guests stalling on 2.6.28 (bisected) [bug 12465]

Quoted 5 lines · Ingo Molnar

qemu-sy-4237 has been scheduled away, and the system appeared to have done nothing in the meantime. That's not something that really looks like a scheduler regression - there is nothing the scheduler can do if KVM decides to block a task.

Quoted 8 lines

It would be nice to enhance this single-CPU trace some more - to more surgically see what is going on. Firstly, absolute timestamps would be nice:

echo funcgraph-abstime > trace_options
echo funcgraph-proc > trace_options

as it's a bit hard to see the global timescale of events.

I was going to try and grab the trace with absolute timestamps tonight, but that option doesn't seem to be available in Linus' current kernel.

flexo:/sys/kernel/debug/tracing# echo 0 > tracing_enabled
flexo:/sys/kernel/debug/tracing# echo function_graph > current_tracer
flexo:/sys/kernel/debug/tracing# echo funcgraph-proc > trace_options
flexo:/sys/kernel/debug/tracing# echo funcgraph-abstime  > trace_options
-su: echo: write error: Invalid argument
flexo:/sys/kernel/debug/tracing# cat trace_options 
print-parent nosym-offset nosym-addr noverbose noraw nohex nobin noblock
nostacktrace nosched-tree ftrace_printk noftrace_preempt nobranch
annotate nouserstacktrace nosym-userobj noprintk-msg-only
nofuncgraph-overrun funcgraph-cpu funcgraph-overhead funcgraph-proc 
flexo:/sys/kernel/debug/tracing# uname -a
Linux flexo 2.6.29-rc5-00299-gadfafef #6 SMP Sun Feb 22 20:09:37 CST
2009 x86_64 GNU/Linux

What am I missing?

Cheers,
Kevin.

#56 lore raw

Re: [Bug #12465] KVM guests stalling on 2.6.28 (bisected) [bug 12465]

Quoted 33 lines · Kevin Shanahan
Quoted 5 lines · Ingo Molnar

qemu-sy-4237 has been scheduled away, and the system appeared to have done nothing in the meantime. That's not something that really looks like a scheduler regression - there is nothing the scheduler can do if KVM decides to block a task.

Quoted 8 lines

It would be nice to enhance this single-CPU trace some more - to more surgically see what is going on. Firstly, absolute timestamps would be nice:

echo funcgraph-abstime > trace_options
echo funcgraph-proc > trace_options

as it's a bit hard to see the global timescale of events.

I was going to try and grab the trace with absolute timestamps tonight, but that option doesn't seem to be available in Linus' current kernel.

flexo:/sys/kernel/debug/tracing# echo 0 > tracing_enabled
flexo:/sys/kernel/debug/tracing# echo function_graph > current_tracer
flexo:/sys/kernel/debug/tracing# echo funcgraph-proc > trace_options
flexo:/sys/kernel/debug/tracing# echo funcgraph-abstime  > trace_options
-su: echo: write error: Invalid argument
flexo:/sys/kernel/debug/tracing# cat trace_options 
print-parent nosym-offset nosym-addr noverbose noraw nohex nobin noblock
nostacktrace nosched-tree ftrace_printk noftrace_preempt nobranch
annotate nouserstacktrace nosym-userobj noprintk-msg-only
nofuncgraph-overrun funcgraph-cpu funcgraph-overhead funcgraph-proc 
flexo:/sys/kernel/debug/tracing# uname -a
Linux flexo 2.6.29-rc5-00299-gadfafef #6 SMP Sun Feb 22 20:09:37 CST
2009 x86_64 GNU/Linux
Quoted 1 line

What am I missing?

(replying here too - replied in the bugzilla already)

that's a feature of the latest tracing tree, so if you try -tip you'll have it.

Ingo

#57 lore raw

Re: [Bug #12465] KVM guests stalling on 2.6.28 (bisected) [Bug 12465]

In reply to Ingo Molnar
Quoted 8 lines · Ingo Molnar

It would be nice to enhance this single-CPU trace some more - to more surgically see what is going on. Firstly, absolute timestamps would be nice:

echo funcgraph-abstime > trace_options
echo funcgraph-proc > trace_options

as it's a bit hard to see the global timescale of events.

Okay, here's some more trace data. I grabbed a few samples at different times during the ping test. I think the data in files trace6.txt and trace8.txt coincided with some of the biggest delays.

http://disenchant.net/tmp/bug-12465/trace-2/

This is captured on 2.6.29-rc5-tip-02057-gaad11ad. The kvm guest being pinged is process 11211:

  flexo:~# pstree -p 11211
  qemu-system-x86(11211)─┬─{qemu-system-x86}(11212)
                         ├─{qemu-system-x86}(11213)
                         └─{qemu-system-x86}(11609)

Cheers,
Kevin.

Quoted 10 lines

Secondly, not all events are included - in particular i dont really see the points when packets are passed. Would it be possible to add a tracing hypercall so that the guest kernel can inject trace events that can be seen on the native-side trace? Regarding ping latencies really just two things
matter: the loopback network device's rx and tx path. We should trace the outgoing sequence number and the incoming sequence number of IP packets, and inject that to the host side. This way we can correlate the delays precisely.

Ingo

#58 lore raw

[Bug #12421] GPF on 2.6.28 and 2.6.28-rc9-git3, e1000e and e1000 issues

In reply to Rafael J. Wysocki

This message has been generated automatically as a part of a report of regressions introduced between 2.6.27 and 2.6.28.

The following bug entry is on the current list of known regressions introduced between 2.6.27 and 2.6.28. Please verify if it still should be listed and let me know (either way).

Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=12421
Subject : GPF on 2.6.28 and 2.6.28-rc9-git3, e1000e and e1000 issues
Submitter : Doug Bazarnic <doug-nOyj/A09A+/[email protected]>
Date : 2009-01-09 21:26 (37 days old)
References : http://marc.info/?l=linux-kernel&m=123153653120204&w=4

#59 lore raw

[Bug #12500] r8169: NETDEV WATCHDOG: eth0 (r8169): transmit timed out

In reply to Rafael J. Wysocki

This message has been generated automatically as a part of a report of regressions introduced between 2.6.27 and 2.6.28.

The following bug entry is on the current list of known regressions introduced between 2.6.27 and 2.6.28. Please verify if it still should be listed and let me know (either way).

Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=12500
Subject : r8169: NETDEV WATCHDOG: eth0 (r8169): transmit timed out
Submitter : Justin Piszcz <[email protected]>
Date : 2009-01-13 21:19 (33 days old)
References : http://marc.info/?l=linux-kernel&m=123188160811322&w=4

#60 lore raw

[Bug #12619] Regression 2.6.28 and last - boot failed

In reply to Rafael J. Wysocki

This message has been generated automatically as a part of a report of regressions introduced between 2.6.27 and 2.6.28.

The following bug entry is on the current list of known regressions introduced between 2.6.27 and 2.6.28. Please verify if it still should be listed and let me know (either way).

Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=12619
Subject : Regression 2.6.28 and last - boot failed
Submitter : jan sonnek <[email protected]>
Date : 2009-02-01 19:59 (14 days old)
References : http://marc.info/?l=linux-kernel&m=123351836213969&w=4

#61 lore raw

[Bug #12559] Huawei E169 doesn't work as mass storage anymore

In reply to Rafael J. Wysocki

This message has been generated automatically as a part of a report of regressions introduced between 2.6.27 and 2.6.28.

The following bug entry is on the current list of known regressions introduced between 2.6.27 and 2.6.28. Please verify if it still should be listed and let me know (either way).

Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=12559
Subject : Huawei E169 doesn't work as mass storage anymore
Submitter : kpalberg <[email protected]>
Date : 2009-01-28 02:34 (18 days old)

#62 lore raw

[Bug #12612] hard lockup when interrupting cdda2wav

In reply to Rafael J. Wysocki

This message has been generated automatically as a part of a report of regressions introduced between 2.6.27 and 2.6.28.

The following bug entry is on the current list of known regressions introduced between 2.6.27 and 2.6.28. Please verify if it still should be listed and let me know (either way).

Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=12612
Subject : hard lockup when interrupting cdda2wav
Submitter : Matthias Reichl <[email protected]>
Date : 2009-01-28 16:41 (18 days old)
References : http://marc.info/?l=linux-kernel&m=123316111415677&w=4

Patch : http://marc.info/?l=linux-scsi&m=123371501613019&w=2

#63 lore raw

Re: [Bug #12612] hard lockup when interrupting cdda2wav

The bug is still present in 2.6.28.5:

=============================================
[ INFO: possible recursive locking detected ]
2.6.28.5-dbg #1
---------------------------------------------
swapper/0 is trying to acquire lock:
(&q->__queue_lock){.+..}, at: [<ffffffff8040e615>] blk_put_request+0x25/0x60

but task is already holding lock:
(&q->__queue_lock){.+..}, at: [<ffffffff8040e4fa>] blk_end_io+0x5a/0xa0

other info that might help us debug this:
1 lock held by swapper/0:
#0: (&q->__queue_lock){.+..}, at: [<ffffffff8040e4fa>] blk_end_io+0x5a/0xa0

stack backtrace:
Pid: 0, comm: swapper Not tainted 2.6.28.5-dbg #1
Call Trace:
 <IRQ>  [<ffffffff8026cd07>] __lock_acquire+0x1797/0x1930
 [<ffffffff806abf8b>] error_exit+0x29/0xa9
 [<ffffffff80521f40>] sg_rq_end_io+0x0/0x2e0
 [<ffffffff8026cf3a>] lock_acquire+0x9a/0xe0
 [<ffffffff8040e615>] blk_put_request+0x25/0x60
 [<ffffffff806ab973>] _spin_lock_irqsave+0x43/0x90
 [<ffffffff8040e615>] blk_put_request+0x25/0x60
 [<ffffffff8040e615>] blk_put_request+0x25/0x60
 [<ffffffff80520a94>] sg_finish_rem_req+0xa4/0x100
 [<ffffffff805221b8>] sg_rq_end_io+0x278/0x2e0
 [<ffffffff8040e2a1>] end_that_request_last+0x61/0x260
 [<ffffffff8040e508>] blk_end_io+0x68/0xa0
 [<ffffffff80508181>] scsi_end_request+0x41/0xd0
 [<ffffffff80508870>] scsi_io_completion+0x130/0x470
 [<ffffffff80413405>] blk_done_softirq+0x75/0x90
 [<ffffffff802488ab>] __do_softirq+0x9b/0x180
 [<ffffffff80213df3>] native_sched_clock+0x13/0x70
 [<ffffffff8020d6ec>] call_softirq+0x1c/0x30
 [<ffffffff8020f175>] do_softirq+0x65/0xa0
 [<ffffffff80248345>] irq_exit+0xa5/0xb0
 [<ffffffff8020f467>] do_IRQ+0x107/0x1d0
 [<ffffffff8020c7fb>] ret_from_intr+0x0/0xf
 <EOI>  [<ffffffff80214ba6>] mwait_idle+0x56/0x60
 [<ffffffff80214b9d>] mwait_idle+0x4d/0x60
 [<ffffffff8020b353>] cpu_idle+0x63/0xc0
#64 lore raw

Re: [Bug #12612] hard lockup when interrupting cdda2wav

Quoted 36 lines · Matthias Reichl

The bug is still present in 2.6.28.5:

=============================================
[ INFO: possible recursive locking detected ]
2.6.28.5-dbg #1
---------------------------------------------
swapper/0 is trying to acquire lock:
(&q->__queue_lock){.+..}, at: [<ffffffff8040e615>] blk_put_request+0x25/0x60

but task is already holding lock:
(&q->__queue_lock){.+..}, at: [<ffffffff8040e4fa>] blk_end_io+0x5a/0xa0

other info that might help us debug this:
1 lock held by swapper/0:
#0: (&q->__queue_lock){.+..}, at: [<ffffffff8040e4fa>] blk_end_io+0x5a/0xa0

stack backtrace:
Pid: 0, comm: swapper Not tainted 2.6.28.5-dbg #1
Call Trace:
 <IRQ>  [<ffffffff8026cd07>] __lock_acquire+0x1797/0x1930
 [<ffffffff806abf8b>] error_exit+0x29/0xa9
 [<ffffffff80521f40>] sg_rq_end_io+0x0/0x2e0
 [<ffffffff8026cf3a>] lock_acquire+0x9a/0xe0
 [<ffffffff8040e615>] blk_put_request+0x25/0x60
 [<ffffffff806ab973>] _spin_lock_irqsave+0x43/0x90
 [<ffffffff8040e615>] blk_put_request+0x25/0x60
 [<ffffffff8040e615>] blk_put_request+0x25/0x60
 [<ffffffff80520a94>] sg_finish_rem_req+0xa4/0x100
 [<ffffffff805221b8>] sg_rq_end_io+0x278/0x2e0
 [<ffffffff8040e2a1>] end_that_request_last+0x61/0x260
 [<ffffffff8040e508>] blk_end_io+0x68/0xa0
 [<ffffffff80508181>] scsi_end_request+0x41/0xd0
 [<ffffffff80508870>] scsi_io_completion+0x130/0x470
 [<ffffffff80413405>] blk_done_softirq+0x75/0x90
 [<ffffffff802488ab>] __do_softirq+0x9b/0x180
 [<ffffffff80213df3>] native_sched_clock+0x13/0x70
Quoted 8 lines
 [<ffffffff8020d6ec>] call_softirq+0x1c/0x30
 [<ffffffff8020f175>] do_softirq+0x65/0xa0
 [<ffffffff80248345>] irq_exit+0xa5/0xb0
 [<ffffffff8020f467>] do_IRQ+0x107/0x1d0
 [<ffffffff8020c7fb>] ret_from_intr+0x0/0xf
 <EOI>  [<ffffffff80214ba6>] mwait_idle+0x56/0x60
 [<ffffffff80214b9d>] mwait_idle+0x4d/0x60
 [<ffffffff8020b353>] cpu_idle+0x63/0xc0

Thanks for the update.

Rafael

#65 lore raw

Re: [Bug #12612] hard lockup when interrupting cdda2wav

Quoted 13 lines · On Tue, 17 Feb 2009 21:23:12 +0100 "Rafael J. Wysocki"…
Quoted 12 lines · Matthias Reichl

The bug is still present in 2.6.28.5:

=============================================
[ INFO: possible recursive locking detected ]
2.6.28.5-dbg #1
---------------------------------------------
swapper/0 is trying to acquire lock:
(&q->__queue_lock){.+..}, at: [<ffffffff8040e615>] blk_put_request+0x25/0x60

but task is already holding lock:
(&q->__queue_lock){.+..}, at: [<ffffffff8040e4fa>] blk_end_io+0x5a/0xa0

Quoted 8 lines
Quoted 8 lines

other info that might help us debug this:
1 lock held by swapper/0:
#0: (&q->__queue_lock){.+..}, at: [<ffffffff8040e4fa>] blk_end_io+0x5a/0xa0

stack backtrace:
Pid: 0, comm: swapper Not tainted 2.6.28.5-dbg #1
Call Trace:
 <IRQ>  [<ffffffff8026cd07>] __lock_acquire+0x1797/0x1930

There is a patch for this but it might take some time to push it into mainline (I hope that James will move the pending sg fixes to scsi-fixes tree but it might be too late):

http://marc.info/?l=linux-scsi&m=123436612119386&w=2

Sorry about that again.

#66 lore raw

[Bug #12614] WOL with forcedeth broken since f55c21fd9a92a444e55ad1ca4e4732d56661bf2e

In reply to Rafael J. Wysocki

This message has been generated automatically as a part of a report of regressions introduced between 2.6.27 and 2.6.28.

The following bug entry is on the current list of known regressions introduced between 2.6.27 and 2.6.28. Please verify if it still should be listed and let me know (either way).

Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=12614
Subject : WOL with forcedeth broken since f55c21fd9a92a444e55ad1ca4e4732d56661bf2e
Submitter : Philipp Matthias Hahn <[email protected]>
Date : 2009-01-29 6:31 (17 days old)
References : http://marc.info/?l=linux-kernel&m=123321232825316&w=4

Tobias Diedrich <[email protected]>
Patch : http://marc.info/?l=linux-kernel&m=123330459229248&w=4

		  http://marc.info/?l=linux-kernel&m=123411195117835&w=4
#67 lore raw

[Bug #12634] video distortion and lockup with i830 video chip and 2.6.28.3

In reply to Rafael J. Wysocki

This message has been generated automatically as a part of a report of regressions introduced between 2.6.27 and 2.6.28.

The following bug entry is on the current list of known regressions introduced between 2.6.27 and 2.6.28. Please verify if it still should be listed and let me know (either way).

Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=12634
Subject : video distortion and lockup with i830 video chip and 2.6.28.3
Submitter : Bob Raitz <pappy_mcfae-/[email protected]>
Date : 2009-02-04 21:10 (11 days old)

#68 lore raw

[Bug #12690] DPMS (LCD powersave, poweroff) don't work

In reply to Rafael J. Wysocki

This message has been generated automatically as a part of a report of regressions introduced between 2.6.27 and 2.6.28.

The following bug entry is on the current list of known regressions introduced between 2.6.27 and 2.6.28. Please verify if it still should be listed and let me know (either way).

Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=12690
Subject : DPMS (LCD powersave, poweroff) don't work
Submitter : Antonin Kolisek <[email protected]>
Date : 2009-02-11 09:40 (4 days old)

#69 lore raw

[Bug #12645] DMI low-memory-protect quirk causes resume hang on Samsung NC10

In reply to Rafael J. Wysocki

This message has been generated automatically as a part of a report of regressions introduced between 2.6.27 and 2.6.28.

The following bug entry is on the current list of known regressions introduced between 2.6.27 and 2.6.28. Please verify if it still should be listed and let me know (either way).

Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=12645
Subject : DMI low-memory-protect quirk causes resume hang on Samsung NC10
Submitter : Patrick Walton <[email protected]>
Date : 2009-02-06 18:35 (9 days old)
First-Bad-Commit: http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=0af40a4b1050c050e62eb1dc30b82d5ab22bf221

#70 lore raw

[Bug #12658] ThrustMaster Firestorm Dual Power 3 Gamepads stopped working

In reply to Rafael J. Wysocki

This message has been generated automatically as a part of a report of regressions introduced between 2.6.27 and 2.6.28.

The following bug entry is on the current list of known regressions introduced between 2.6.27 and 2.6.28. Please verify if it still should be listed and let me know (either way).

Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=12658
Subject : ThrustMaster Firestorm Dual Power 3 Gamepads stopped working
Submitter : Frank Roscher <[email protected]>
Date : 2009-02-08 08:45 (7 days old)