fedora-cvs-commits@redhat.com
[Top] [All Lists]

rpms/kernel/FC-6 linux-2.6-libata-2.6.23-rc8-noncq.patch, NONE, 1.1 linu

Subject: rpms/kernel/FC-6 linux-2.6-libata-2.6.23-rc8-noncq.patch, NONE, 1.1 linux-2.6-uevent-zero-fill-env.patch, NONE, 1.1 kernel-2.6.spec, 1.3028, 1.3029
From:
Date: Thu, 27 Sep 2007 17:36:10 -0400
Author: cebbert

Update of /cvs/dist/rpms/kernel/FC-6
In directory cvs.devel.redhat.com:/tmp/cvs-serv10025

Modified Files:
        kernel-2.6.spec 
Added Files:
        linux-2.6-libata-2.6.23-rc8-noncq.patch 
        linux-2.6-uevent-zero-fill-env.patch 
Log Message:
* Thu Sep 27 2007 Chuck Ebbert <cebbert@xxxxxxxxxx>
- Revert to old RTC driver.
- Zero fill environment for uevent handlers.
- Update the libata NCQ disk blacklist.


linux-2.6-libata-2.6.23-rc8-noncq.patch:
 libata-core.c |   12 +++++++++---
 1 files changed, 9 insertions(+), 3 deletions(-)

--- NEW FILE linux-2.6-libata-2.6.23-rc8-noncq.patch ---
--- linux-2.6.23/drivers/ata/libata-core.c
+++ linux-2.6.23/drivers/ata/libata-core.c
@@ -3791,6 +3791,8 @@
        { "SAMSUNG CD-ROM SN-124","N001",       ATA_HORKAGE_NODMA },
        { "Seagate STT20000A", NULL,            ATA_HORKAGE_NODMA },
        { "IOMEGA  ZIP 250       ATAPI", NULL,  ATA_HORKAGE_NODMA }, /* 
temporary fix */
+       { "IOMEGA  ZIP 250       ATAPI       Floppy",
+                               NULL,           ATA_HORKAGE_NODMA },
 
        /* Weird ATAPI devices */
        { "TORiSAN DVD-ROM DRD-N216", NULL,     ATA_HORKAGE_MAX_SEC_128 },
@@ -3806,8 +3808,11 @@
        { "Maxtor 6L250S0",     "BANC1G10",     ATA_HORKAGE_NONCQ },
        { "Maxtor 6B200M0",     "BANC1BM0",     ATA_HORKAGE_NONCQ },
        { "Maxtor 6B200M0",     "BANC1B10",     ATA_HORKAGE_NONCQ },
+       { "Maxtor 7B250S0",     "BANC1B70",     ATA_HORKAGE_NONCQ, },
+       { "Maxtor 7B300S0",     "BANC1B70",     ATA_HORKAGE_NONCQ },
+       { "Maxtor 7V300F0",     "VA111630",     ATA_HORKAGE_NONCQ },
        { "HITACHI HDS7250SASUN500G 0621KTAWSD", "K2AOAJ0AHITACHI",
-         ATA_HORKAGE_NONCQ },
+        ATA_HORKAGE_NONCQ },
        /* NCQ hard hangs device under heavier load, needs hard power cycle */
        { "Maxtor 6B250S0",     "BANC1B70",     ATA_HORKAGE_NONCQ },
        /* Blacklist entries taken from Silicon Image 3124/3132
@@ -3821,8 +3826,9 @@
        { "Hitachi HTS541616J9SA00", "SB4OC70P", ATA_HORKAGE_NONCQ, },
        { "WDC WD740ADFD-00NLR1", NULL,         ATA_HORKAGE_NONCQ, },
        { "FUJITSU MHV2080BH",  "00840028",     ATA_HORKAGE_NONCQ, },
-
-       /* Devices with NCQ limits */
+       { "ST9160821AS",        "3.CLF",        ATA_HORKAGE_NONCQ, },
+       { "ST3160812AS",        "3.AD",         ATA_HORKAGE_NONCQ, },
+       { "SAMSUNG HD401LJ",    "ZZ100-15",     ATA_HORKAGE_NONCQ, },
 
        /* End Marker */
        { }

linux-2.6-uevent-zero-fill-env.patch:
 core.c |    1 +
 1 files changed, 1 insertion(+)

--- NEW FILE linux-2.6-uevent-zero-fill-env.patch ---
Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=5309809129ca3ab14f8bd5e5ef66c1b7686eb639
Commit:     5309809129ca3ab14f8bd5e5ef66c1b7686eb639
Parent:     544002ef832730b18327000c898a140bfc93efd4
Author:     Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxxxxxxxx>
AuthorDate: Wed Sep 26 09:16:21 2007 -0700
Committer:  Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxxxxxxxx>
CommitDate: Wed Sep 26 09:16:21 2007 -0700

    Add explicit zeroing to "envp" array in device 'show' method
    
    As Stephen Hemminger says, this is a "belt and suspenders" patch that
    zeroes the envp array at allocation time, even though all the users
    should NULL-terminate it anyway (and we've hopefully fixed everybody
    that doesn't do that).
    
    And we'll apparently clean the whole envp thing up for 2.6.24 anyway.
    
    But let's just be robust, and do both this *and* make sure that all
    users are doing the right thing.
    
    Acked-by: Stephen Hemminger <shemminger@xxxxxxxxxxxxxxxxxxxx>
    Acked-by: Greg Kroah-Hartman <gregkh@xxxxxxx>
    Signed-off-by: Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx>
---
 drivers/base/core.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/base/core.c b/drivers/base/core.c
index 6de33d7..67c9258 100644
--- a/drivers/base/core.c
+++ b/drivers/base/core.c
@@ -284,6 +284,7 @@ static ssize_t show_uevent(struct device *dev, struct 
device_attribute *attr,
 
        /* let the kset specific function add its keys */
        pos = data;
+       memset(envp, 0, sizeof(envp));
        retval = kset->uevent_ops->uevent(kset, &dev->kobj,
                                          envp, ARRAY_SIZE(envp),
                                          pos, PAGE_SIZE);


Index: kernel-2.6.spec
===================================================================
RCS file: /cvs/dist/rpms/kernel/FC-6/kernel-2.6.spec,v
retrieving revision 1.3028
retrieving revision 1.3029
diff -u -r1.3028 -r1.3029
--- kernel-2.6.spec     27 Sep 2007 17:42:26 -0000      1.3028
+++ kernel-2.6.spec     27 Sep 2007 21:36:07 -0000      1.3029
@@ -602,8 +602,9 @@
 Patch677: linux-2.6-libata-pata_sis-fix-dma-timing.patch
 Patch678: linux-2.6-libata-pata_sis-dma-add-missing-entry.patch
 Patch679: linux-2.6-libata-sata_sil24-fix-irq-clearing-race.patch
+Patch680: linux-2.6-libata-2.6.23-rc8-noncq.patch
 
-Patch680: git-wireless-dev.patch
+Patch689: git-wireless-dev.patch
 Patch690: linux-2.6-e1000-ich9.patch
 Patch710: linux-2.6-bcm43xx-pci-neuter.patch
 Patch713: linux-2.6-net-atl1-fix-typo-in-dma-setup.patch
@@ -618,6 +619,7 @@
 Patch740: linux-2.6-sdhci-ene-controller-quirk.patch
 Patch741: linux-2.6-sdhci-fix-interrupt-mask.patch
 Patch742: linux-2.6-sdhci-clear-error-interrupt.patch
+Patch760: linux-2.6-uevent-zero-fill-env.patch
 Patch770: linux-2.6-irda-smc-remove-quirk.patch
 
 Patch780: linux-2.6-usb-storage-initialize-huawei-e220-properly.patch
@@ -1300,7 +1302,8 @@
 ApplyPatch linux-2.6-libata-pata_sis-dma-add-missing-entry.patch
 # sata_sil24 irq race fix
 ApplyPatch linux-2.6-libata-sata_sil24-fix-irq-clearing-race.patch
-
+# update the libata NONCQ list
+ApplyPatch linux-2.6-libata-2.6.23-rc8-noncq.patch
 
 # Add the new wireless stack and drivers from wireless-dev
 ApplyPatch git-wireless-dev.patch
@@ -1334,6 +1337,8 @@
 ApplyPatch linux-2.6-sdhci-clear-error-interrupt.patch
 # irda: remove smc quirk that breaks hp 6000 notebooks
 ApplyPatch linux-2.6-irda-smc-remove-quirk.patch
+# uevent: zero fill the environment
+ApplyPatch linux-2.6-uevent-zero-fill-env.patch
 
 # USB
 #
@@ -2287,6 +2292,11 @@
 
 %changelog
 * Thu Sep 27 2007 Chuck Ebbert <cebbert@xxxxxxxxxx>
+- Revert to old RTC driver.
+- Zero fill environment for uevent handlers.
+- Update the libata NCQ disk blacklist.
+
+* Thu Sep 27 2007 Chuck Ebbert <cebbert@xxxxxxxxxx>
 - libata pata_sis: DMA fixes (#202291)
 - libata sata_sil24: IRQ clearing race fixes
 - net driver r8169: fix hanging (#252955, #292161)

-- 
fedora-cvs-commits mailing list
fedora-cvs-commits@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-cvs-commits

<Prev in Thread] Current Thread [Next in Thread>
  • rpms/kernel/FC-6 linux-2.6-libata-2.6.23-rc8-noncq.patch, NONE, 1.1 linux-2.6-uevent-zero-fill-env.patch, NONE, 1.1 kernel-2.6.spec, 1.3028, 1.3029, fedora-cvs-commits <=