Skip to contentSkip to conversation

Linux 2.6.27.13

DISCUSSION Greg KH 5 participants 11 messages Jan 25, 2009 – Feb 2, 2009

Subsystems (28)
lore
Share & tools
lore

Greg KH

author
#0 lore raw

We (the -stable team) are announcing the release of the 2.6.27.13 kernel.

It contains a wide range of bugfixes, and all users of the 2.6.27 kernel series are strongly encouraged to upgrade.

I'll also be replying to this message with a copy of the patch between 2.6.27.12 and 2.6.27.13

The updated 2.6.27.y git tree can be found at:

        git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-2.6.27.y.git
and can be browsed at the normal kernel.org git web browser:
        http://git.kernel.org/?p=linux/kernel/git/stable/linux-2.6.27.y.git;a=summary

thanks,

greg k-h

------------

 Documentation/sound/alsa/ALSA-Configuration.txt |    3 
 Makefile                                        |    2 
 arch/ia64/Kconfig                               |    1 
 arch/powerpc/mm/slice.c                         |   11 +-
 drivers/firmware/dell_rbu.c                     |    4 
 drivers/hwmon/abituguru3.c                      |    2 
 drivers/hwmon/hwmon-vid.c                       |    1 
 drivers/misc/sgi-xp/xpc_sn2.c                   |    2 
 drivers/net/irda/irda-usb.c                     |    2 
 drivers/net/r6040.c                             |   17 ++-
 drivers/net/wireless/ath9k/hw.c                 |    2 
 drivers/net/wireless/p54/p54usb.c               |    1 
 drivers/net/wireless/rt2x00/rt73usb.c           |    1 
 drivers/pci/pcie/aspm.c                         |  125 ++++++++++++++++++++----
 drivers/usb/storage/libusual.c                  |    7 +
 drivers/usb/storage/scsiglue.c                  |   31 +++++
 drivers/usb/storage/transport.c                 |   80 +++++++++++++++
 drivers/usb/storage/unusual_devs.h              |   80 ++-------------
 drivers/usb/storage/usb.c                       |    6 +
 drivers/usb/storage/usb.h                       |    4 
 fs/fs-writeback.c                               |   92 ++++++++++-------
 fs/sync.c                                       |    2 
 include/linux/fs.h                              |    1 
 include/linux/usb_usual.h                       |    5 
 include/linux/writeback.h                       |    1 
 kernel/signal.c                                 |    3 
 kernel/time/timekeeping.c                       |   71 ++++++-------
 lib/idr.c                                       |   10 -
 mm/filemap.c                                    |   18 +--
 mm/page-writeback.c                             |  120 ++++++++++++++++-------
 net/ipv4/tcp.c                                  |    8 -
 net/ipv6/ip6_fib.c                              |   15 +-
 net/sched/cls_u32.c                             |    3 
 net/sched/sch_htb.c                             |    1 
 net/sctp/sm_statefuns.c                         |   14 ++
 security/keys/keyctl.c                          |    1 
 sound/pci/hda/patch_analog.c                    |   49 ++++++++-
 sound/pci/hda/patch_realtek.c                   |    1 
 38 files changed, 550 insertions(+), 247 deletions(-)

Alan Stern (2):
usb-storage: add last-sector hacks
usb-storage: set CAPACITY_HEURISTICS flag for bad vendors

Alistair John Strachan (1):
hwmon: (abituguru3) Fix CONFIG_DMI=n fallback to probe

Andrew Morton (2):
lib/idr.c: use kmem_cache_zalloc() for the idr_layer cache
mm: write_cache_pages more terminate quickly

Dave Kleikamp (1):
powerpc: is_hugepage_only_range() must account for both 4kB and 64kB slices

Dean Nelson (1):
sgi-xp: eliminate false detection of no heartbeat

Florian Fainelli (1):

      r6040: bump release number to 0.19

Greg Kroah-Hartman (1):

      Linux 2.6.27.13

Herbert Xu (1):
ipv6: Fix fib6_dump_table walker leak

Jarek Poplawski (2):
pkt_sched: sch_htb: Fix deadlock in hrtimers triggered by HTB
pkt_sched: cls_u32: Fix locking in u32_change()

Jean Delvare (1):
hwmon-vid: Add support for AMD family 10h CPUs

Joe Chou (2):
r6040: fix wrong logic in mdio code
r6040: save and restore MIER correctly in the interrupt routine

Jos-Vicente Gilabert (1):
drivers/net/irda/irda-usb.c: fix buffer overflow

Lennert Buytenhek (1):
tcp: don't mask EOF and socket errors on nonblocking splice receive

Luis R. Rodriguez (1):
ath9k: quiet harmless ForceXPAon messages

Luke Yelavich (1):
ALSA: hda - Add automatic model setting for Samsung Q45

Michiel (1):
p54usb: Add USB ID for Thomson Speedtouch 121g

Nick Piggin (12):
mm: write_cache_pages cyclic fix
mm: write_cache_pages early loop termination
mm: write_cache_pages writepage error fix
mm: write_cache_pages integrity fix
mm: write_cache_pages cleanups
mm: write_cache_pages optimise page cleaning
mm: write_cache_pages terminate quickly
mm: do_sync_mapping_range integrity fix
mm: direct IO starvation improvement
fs: remove WB_SYNC_HOLD
fs: sync_sb_inodes fix
fs: sys_sync fix

Pavel Roskin (1):
dell_rbu: use scnprintf() instead of less secure sprintf()

Roman Zippel (1):
clocksource: introduce clocksource_forward_now()

Shaohua Li (1):
PCI: keep ASPM link state consistent throughout PCIe hierarchy

Stefan Lippers-Hollmann (1):
rt2x00: add USB ID for the Linksys WUSB200.

Sukadev Bhattiprolu (1):
'kill sig -1' must only apply to caller's namespace

Takashi Iwai (1):
ALSA: hda - make laptop-eapd model back for AD1986A

Tony Luck (1):
IA64: Turn on CONFIG_HAVE_UNSTABLE_CLOCK

Vegard Nossum (1):
security: introduce missing kfree

Wei Yongjun (1):
sctp: Avoid memory overflow while FWD-TSN chunk is received with bad stream ID

author
#1 lore raw
Documentation/sound/alsa/ALSA-Configuration.txt +2 -1
index b117e42..90f718c 100644
@@ -960,9 +960,10 @@ Prior to version 0.9.0rc4 options had a 'snd_' prefix. This was removed.
 	  6stack	6-jack, separate surrounds (default)
 	  3stack	3-stack, shared surrounds
 	  laptop	2-channel only (FSC V2060, Samsung M50)
-	  laptop-eapd	2-channel with EAPD (Samsung R65, ASUS A6J)
+	  laptop-eapd	2-channel with EAPD (ASUS A6J)
 	  laptop-automute 2-channel with EAPD and HP-automute (Lenovo N100)
 	  ultra		2-channel with EAPD (Samsung Ultra tablet PC)
+	  samsung	2-channel with EAPD (Samsung R65)
 
 	AD1988/AD1988B/AD1989A/AD1989B
 	  6stack	6-jack
Makefile +1 -1
index f0f8cdf..d879e7d 100644
@@ -1,7 +1,7 @@
 VERSION = 2
 PATCHLEVEL = 6
 SUBLEVEL = 27
-EXTRAVERSION = .12
+EXTRAVERSION = .13
 NAME = Trembling Tortoise
 
 # *DOCUMENTATION*
arch/ia64/Kconfig +1 -0
index 48e496f..fb7e69c 100644
@@ -15,6 +15,7 @@ config IA64
 	select ACPI if (!IA64_HP_SIM)
 	select PM if (!IA64_HP_SIM)
 	select ARCH_SUPPORTS_MSI
+	select HAVE_UNSTABLE_SCHED_CLOCK
 	select HAVE_IDE
 	select HAVE_OPROFILE
 	select HAVE_KPROBES
arch/powerpc/mm/slice.c +10 -1
index db44e02..ba51948 100644
@@ -710,9 +710,18 @@ int is_hugepage_only_range(struct mm_struct *mm, unsigned long addr,
 			   unsigned long len)
 {
 	struct slice_mask mask, available;
+	unsigned int psize = mm->context.user_psize;
 
 	mask = slice_range_to_mask(addr, len);
-	available = slice_mask_for_size(mm, mm->context.user_psize);
+	available = slice_mask_for_size(mm, psize);
+#ifdef CONFIG_PPC_64K_PAGES
+	/* We need to account for 4k slices too */
+	if (psize == MMU_PAGE_64K) {
+		struct slice_mask compat_mask;
+		compat_mask = slice_mask_for_size(mm, MMU_PAGE_4K);
+		or_mask(available, compat_mask);
+	}
+#endif
 
 #if 0 /* too verbose */
 	slice_dbg("is_hugepage_only_range(mm=%p, addr=%lx, len=%lx)\n",
drivers/firmware/dell_rbu.c +2 -2
index 13946eb..b4704e1 100644
@@ -576,7 +576,7 @@ static ssize_t read_rbu_image_type(struct kobject *kobj,
 {
 	int size = 0;
 	if (!pos)
-		size = sprintf(buffer, "%s\n", image_type);
+		size = scnprintf(buffer, count, "%s\n", image_type);
 	return size;
 }
 
@@ -648,7 +648,7 @@ static ssize_t read_rbu_packet_size(struct kobject *kobj,
 	int size = 0;
 	if (!pos) {
 		spin_lock(&rbu_data.lock);
-		size = sprintf(buffer, "%lu\n", rbu_data.packetsize);
+		size = scnprintf(buffer, count, "%lu\n", rbu_data.packetsize);
 		spin_unlock(&rbu_data.lock);
 	}
 	return size;
drivers/hwmon/abituguru3.c +1 -1
index d9e7a49..58a5efb 100644
@@ -1153,7 +1153,7 @@ static int __init abituguru3_dmi_detect(void)
 
 static inline int abituguru3_dmi_detect(void)
 {
-	return -ENODEV;
+	return 1;
 }
 
 #endif /* CONFIG_DMI */
drivers/hwmon/hwmon-vid.c +1 -0
index c54eff9..bfc2961 100644
@@ -180,6 +180,7 @@ static struct vrm_model vrm_models[] = {
 	{X86_VENDOR_AMD, 0x6, ANY, ANY, 90},		/* Athlon Duron etc */
 	{X86_VENDOR_AMD, 0xF, 0x3F, ANY, 24},		/* Athlon 64, Opteron */
 	{X86_VENDOR_AMD, 0xF, ANY, ANY, 25},		/* NPT family 0Fh */
+	{X86_VENDOR_AMD, 0x10, ANY, ANY, 25},		/* NPT family 10h */
 	{X86_VENDOR_INTEL, 0x6, 0x9, ANY, 13},		/* Pentium M (130 nm) */
 	{X86_VENDOR_INTEL, 0x6, 0xB, ANY, 85},		/* Tualatin */
 	{X86_VENDOR_INTEL, 0x6, 0xD, ANY, 13},		/* Pentium M (90 nm) */
drivers/misc/sgi-xp/xpc_sn2.c +1 -1
index b4882cc..d32c1ee 100644
@@ -904,7 +904,7 @@ xpc_update_partition_info_sn2(struct xpc_partition *part, u8 remote_rp_version,
 	dev_dbg(xpc_part, "  remote_vars_pa = 0x%016lx\n",
 		part_sn2->remote_vars_pa);
 
-	part->last_heartbeat = remote_vars->heartbeat;
+	part->last_heartbeat = remote_vars->heartbeat - 1;
 	dev_dbg(xpc_part, "  last_heartbeat = 0x%016lx\n",
 		part->last_heartbeat);
 
drivers/net/irda/irda-usb.c +1 -1
index b5d6b9a..b427978 100644
@@ -1075,7 +1075,7 @@ static int stir421x_patch_device(struct irda_usb_cb *self)
 {
 	unsigned int i;
 	int ret;
-	char stir421x_fw_name[11];
+	char stir421x_fw_name[12];
 	const struct firmware *fw;
 	const unsigned char *fw_version_ptr; /* pointer to version string */
 	unsigned long fw_version = 0;
drivers/net/r6040.c +11 -6
index 5d86281..c71982d 100644
@@ -49,8 +49,8 @@
 #include <asm/processor.h>
 
 #define DRV_NAME	"r6040"
-#define DRV_VERSION	"0.18"
-#define DRV_RELDATE	"13Jul2008"
+#define DRV_VERSION	"0.19"
+#define DRV_RELDATE	"18Dec2008"
 
 /* PHY CHIP Address */
 #define PHY1_ADDR	1	/* For MAC1 */
@@ -214,7 +214,7 @@ static int r6040_phy_read(void __iomem *ioaddr, int phy_addr, int reg)
 	/* Wait for the read bit to be cleared */
 	while (limit--) {
 		cmd = ioread16(ioaddr + MMDIO);
-		if (cmd & MDIO_READ)
+		if (!(cmd & MDIO_READ))
 			break;
 	}
 
@@ -233,7 +233,7 @@ static void r6040_phy_write(void __iomem *ioaddr, int phy_addr, int reg, u16 val
 	/* Wait for the write bit to be cleared */
 	while (limit--) {
 		cmd = ioread16(ioaddr + MMDIO);
-		if (cmd & MDIO_WRITE)
+		if (!(cmd & MDIO_WRITE))
 			break;
 	}
 }
@@ -681,8 +681,10 @@ static irqreturn_t r6040_interrupt(int irq, void *dev_id)
 	struct net_device *dev = dev_id;
 	struct r6040_private *lp = netdev_priv(dev);
 	void __iomem *ioaddr = lp->base;
-	u16 status;
+	u16 misr, status;
 
+	/* Save MIER */
+	misr = ioread16(ioaddr + MIER);
 	/* Mask off RDC MAC interrupt */
 	iowrite16(MSK_INT, ioaddr + MIER);
 	/* Read MISR status and clear */
@@ -702,7 +704,7 @@ static irqreturn_t r6040_interrupt(int irq, void *dev_id)
 			dev->stats.rx_fifo_errors++;
 
 		/* Mask off RX interrupt */
-		iowrite16(ioread16(ioaddr + MIER) & ~RX_INTS, ioaddr + MIER);
+		misr &= ~RX_INTS;
 		netif_rx_schedule(dev, &lp->napi);
 	}
 
@@ -710,6 +712,9 @@ static irqreturn_t r6040_interrupt(int irq, void *dev_id)
 	if (status & TX_INTS)
 		r6040_tx(dev);
 
+	/* Restore RDC MAC interrupt */
+	iowrite16(misr, ioaddr + MIER);
+
 	return IRQ_HANDLED;
 }
 
drivers/net/wireless/ath9k/hw.c +1 -1
index 6dbfed0..69120b5 100644
@@ -729,7 +729,7 @@ ath9k_hw_eeprom_set_board_values(struct ath_hal *ah,
 					  AR_AN_TOP2_LOCALBIAS,
 					  AR_AN_TOP2_LOCALBIAS_S,
 					  pModal->local_bias);
-		DPRINTF(ah->ah_sc, ATH_DBG_ANY, "ForceXPAon: %d\n",
+		DPRINTF(ah->ah_sc, ATH_DBG_EEPROM, "ForceXPAon: %d\n",
 			pModal->force_xpaon);
 		REG_RMW_FIELD(ah, AR_PHY_XPA_CFG, AR_PHY_FORCE_XPA_CFG,
 			      pModal->force_xpaon);
drivers/net/wireless/p54/p54usb.c +1 -0
index cbaca23..bfff6b5 100644
@@ -53,6 +53,7 @@ static struct usb_device_id p54u_table[] __devinitdata = {
 	{USB_DEVICE(0x050d, 0x7050)},	/* Belkin F5D7050 ver 1000 */
 	{USB_DEVICE(0x0572, 0x2000)},	/* Cohiba Proto board */
 	{USB_DEVICE(0x0572, 0x2002)},	/* Cohiba Proto board */
+	{USB_DEVICE(0x06b9, 0x0121)},	/* Thomson SpeedTouch 121g */
 	{USB_DEVICE(0x0707, 0xee13)},   /* SMC 2862W-G version 2 */
 	{USB_DEVICE(0x083a, 0x4521)},   /* Siemens Gigaset USB Adapter 54 version 2 */
 	{USB_DEVICE(0x0846, 0x4240)},	/* Netgear WG111 (v2) */
drivers/net/wireless/rt2x00/rt73usb.c +1 -0
index 9761eaa..45bf8f7 100644
@@ -2113,6 +2113,7 @@ static struct usb_device_id rt73usb_device_table[] = {
 	/* Linksys */
 	{ USB_DEVICE(0x13b1, 0x0020), USB_DEVICE_DATA(&rt73usb_ops) },
 	{ USB_DEVICE(0x13b1, 0x0023), USB_DEVICE_DATA(&rt73usb_ops) },
+	{ USB_DEVICE(0x13b1, 0x0028), USB_DEVICE_DATA(&rt73usb_ops) },
 	/* MSI */
 	{ USB_DEVICE(0x0db0, 0x6877), USB_DEVICE_DATA(&rt73usb_ops) },
 	{ USB_DEVICE(0x0db0, 0x6874), USB_DEVICE_DATA(&rt73usb_ops) },
drivers/pci/pcie/aspm.c +106 -19

205 lines not on this page · raw message

drivers/usb/storage/libusual.c +7 -0
index d617e8a..f970b27 100644
@@ -46,6 +46,12 @@ static int usu_probe_thread(void *arg);
 { USB_DEVICE_VER(id_vendor, id_product, bcdDeviceMin,bcdDeviceMax), \
   .driver_info = (flags)|(USB_US_TYPE_STOR<<24) }
 
+#define COMPLIANT_DEV(id_vendor, id_product, bcdDeviceMin, bcdDeviceMax, \
+		    vendorName, productName, useProtocol, useTransport, \
+		    initFunction, flags) \
+{ USB_DEVICE_VER(id_vendor, id_product, bcdDeviceMin, bcdDeviceMax), \
+  .driver_info = (flags) }
+
 #define USUAL_DEV(useProto, useTrans, useType) \
 { USB_INTERFACE_INFO(USB_CLASS_MASS_STORAGE, useProto, useTrans), \
   .driver_info = ((useType)<<24) }
@@ -57,6 +63,7 @@ struct usb_device_id storage_usb_ids [] = {
 
 #undef USUAL_DEV
 #undef UNUSUAL_DEV
+#undef COMPLIANT_DEV
 
 MODULE_DEVICE_TABLE(usb, storage_usb_ids);
 EXPORT_SYMBOL_GPL(storage_usb_ids);
drivers/usb/storage/scsiglue.c +31 -0
index 09779f6..620c2b5 100644
@@ -59,6 +59,13 @@
 #include "transport.h"
 #include "protocol.h"
 
+/* Vendor IDs for companies that seem to include the READ CAPACITY bug
+ * in all their devices
+ */
+#define VENDOR_ID_NOKIA		0x0421
+#define VENDOR_ID_NIKON		0x04b0
+#define VENDOR_ID_MOTOROLA	0x22b8
+
 /***********************************************************************
  * Host functions 
  ***********************************************************************/
@@ -134,6 +141,22 @@ static int slave_configure(struct scsi_device *sdev)
 	 * settings can't be overridden via the scsi devinfo mechanism. */
 	if (sdev->type == TYPE_DISK) {
 
+		/* Some vendors seem to put the READ CAPACITY bug into
+		 * all their devices -- primarily makers of cell phones
+		 * and digital cameras.  Since these devices always use
+		 * flash media and can be expected to have an even number
+		 * of sectors, we will always enable the CAPACITY_HEURISTICS
+		 * flag unless told otherwise. */
+		switch (le16_to_cpu(us->pusb_dev->descriptor.idVendor)) {
+		case VENDOR_ID_NOKIA:
+		case VENDOR_ID_NIKON:
+		case VENDOR_ID_MOTOROLA:
+			if (!(us->fflags & (US_FL_FIX_CAPACITY |
+					US_FL_CAPACITY_OK)))
+				us->fflags |= US_FL_CAPACITY_HEURISTICS;
+			break;
+		}
+
 		/* Disk-type devices use MODE SENSE(6) if the protocol
 		 * (SubClass) is Transparent SCSI, otherwise they use
 		 * MODE SENSE(10). */
@@ -196,6 +219,14 @@ static int slave_configure(struct scsi_device *sdev)
 		 * sector in a larger then 1 sector read, since the performance
 		 * impact is negible we set this flag for all USB disks */
 		sdev->last_sector_bug = 1;
+
+		/* Enable last-sector hacks for single-target devices using
+		 * the Bulk-only transport, unless we already know the
+		 * capacity will be decremented or is correct. */
+		if (!(us->fflags & (US_FL_FIX_CAPACITY | US_FL_CAPACITY_OK |
+					US_FL_SCM_MULT_TARG)) &&
+				us->protocol == US_PR_BULK)
+			us->use_last_sector_hacks = 1;
 	} else {
 
 		/* Non-disk-type devices don't need to blacklist any pages
drivers/usb/storage/transport.c +80 -0

110 lines not on this page · raw message

drivers/usb/storage/unusual_devs.h +15 -65

110 lines not on this page · raw message

drivers/usb/storage/usb.c +6 -0
index 27016fd..ceb8ac3 100644
@@ -126,6 +126,8 @@ MODULE_PARM_DESC(delay_use, "seconds to delay before using a new device");
 { USB_DEVICE_VER(id_vendor, id_product, bcdDeviceMin,bcdDeviceMax), \
   .driver_info = (flags)|(USB_US_TYPE_STOR<<24) }
 
+#define COMPLIANT_DEV	UNUSUAL_DEV
+
 #define USUAL_DEV(useProto, useTrans, useType) \
 { USB_INTERFACE_INFO(USB_CLASS_MASS_STORAGE, useProto, useTrans), \
   .driver_info = (USB_US_TYPE_STOR<<24) }
@@ -134,6 +136,7 @@ static struct usb_device_id storage_usb_ids [] = {
 
 #	include "unusual_devs.h"
 #undef UNUSUAL_DEV
+#undef COMPLIANT_DEV
 #undef USUAL_DEV
 	/* Terminating entry */
 	{ }
@@ -164,6 +167,8 @@ MODULE_DEVICE_TABLE (usb, storage_usb_ids);
 	.initFunction = init_function,	\
 }
 
+#define COMPLIANT_DEV	UNUSUAL_DEV
+
 #define USUAL_DEV(use_protocol, use_transport, use_type) \
 { \
 	.useProtocol = use_protocol,	\
@@ -173,6 +178,7 @@ MODULE_DEVICE_TABLE (usb, storage_usb_ids);
 static struct us_unusual_dev us_unusual_dev_list[] = {
 #	include "unusual_devs.h" 
 #	undef UNUSUAL_DEV
+#	undef COMPLIANT_DEV
 #	undef USUAL_DEV
 
 	/* Terminating entry */
drivers/usb/storage/usb.h +4 -0
index a4ad73b..2e995c9 100644
@@ -155,6 +155,10 @@ struct us_data {
 #ifdef CONFIG_PM
 	pm_hook			suspend_resume_hook;
 #endif
+
+	/* hacks for READ CAPACITY bug handling */
+	int			use_last_sector_hacks;
+	int			last_sector_retries;
 };
 
 /* Convert between us_data and the corresponding Scsi_Host */
fs/fs-writeback.c +56 -36

148 lines not on this page · raw message

fs/sync.c +1 -1
index 6cc8cb4..9e5f60d 100644
@@ -287,7 +287,7 @@ int do_sync_mapping_range(struct address_space *mapping, loff_t offset,
 
 	if (flags & SYNC_FILE_RANGE_WRITE) {
 		ret = __filemap_fdatawrite_range(mapping, offset, endbyte,
-						WB_SYNC_NONE);
+						WB_SYNC_ALL);
 		if (ret < 0)
 			goto out;
 	}
include/linux/fs.h +0 -1
index d621217..d1b3e22 100644
@@ -1080,7 +1080,6 @@ struct super_block {
 	struct rw_semaphore	s_umount;
 	struct mutex		s_lock;
 	int			s_count;
-	int			s_syncing;
 	int			s_need_sync_fs;
 	atomic_t		s_active;
 #ifdef CONFIG_SECURITY
include/linux/usb_usual.h +3 -2
index d9a3bbe..bd414ec 100644
@@ -52,8 +52,9 @@
 	US_FLAG(MAX_SECTORS_MIN,0x00002000)			\
 		/* Sets max_sectors to arch min */		\
 	US_FLAG(BULK_IGNORE_TAG,0x00004000)			\
-		/* Ignore tag mismatch in bulk operations */
-
+		/* Ignore tag mismatch in bulk operations */	\
+	US_FLAG(CAPACITY_OK,	0x00010000)			\
+		/* READ CAPACITY response is correct */
 
 #define US_FLAG(name, value)	US_FL_##name = value ,
 enum { US_DO_ALL_FLAGS };
include/linux/writeback.h +0 -1
index 12b15c5..c2835bb 100644
@@ -30,7 +30,6 @@ static inline int task_is_pdflush(struct task_struct *task)
 enum writeback_sync_modes {
 	WB_SYNC_NONE,	/* Don't wait on anything */
 	WB_SYNC_ALL,	/* Wait on every mapping */
-	WB_SYNC_HOLD,	/* Hold the inode on sb_dirty for sys_sync() */
 };
 
 /*
kernel/signal.c +2 -1
index 6f06f43..3d161f0 100644
@@ -1141,7 +1141,8 @@ static int kill_something_info(int sig, struct siginfo *info, pid_t pid)
 		struct task_struct * p;
 
 		for_each_process(p) {
-			if (p->pid > 1 && !same_thread_group(p, current)) {
+			if (task_pid_vnr(p) > 1 &&
+					!same_thread_group(p, current)) {
 				int err = group_send_sig_info(sig, info, p);
 				++count;
 				if (err != -EPERM)
kernel/time/timekeeping.c +33 -38

159 lines not on this page · raw message

lib/idr.c +2 -8
index 1c4f928..21154ae 100644
@@ -121,7 +121,7 @@ int idr_pre_get(struct idr *idp, gfp_t gfp_mask)
 {
 	while (idp->id_free_cnt < IDR_FREE_MAX) {
 		struct idr_layer *new;
-		new = kmem_cache_alloc(idr_layer_cache, gfp_mask);
+		new = kmem_cache_zalloc(idr_layer_cache, gfp_mask);
 		if (new == NULL)
 			return (0);
 		move_to_free_list(idp, new);
@@ -623,16 +623,10 @@ void *idr_replace(struct idr *idp, void *ptr, int id)
 }
 EXPORT_SYMBOL(idr_replace);
 
-static void idr_cache_ctor(void *idr_layer)
-{
-	memset(idr_layer, 0, sizeof(struct idr_layer));
-}
-
 void __init idr_init_cache(void)
 {
 	idr_layer_cache = kmem_cache_create("idr_layer_cache",
-				sizeof(struct idr_layer), 0, SLAB_PANIC,
-				idr_cache_ctor);
+				sizeof(struct idr_layer), 0, SLAB_PANIC, NULL);
 }
 
 /**
mm/filemap.c +6 -12
index f3033d0..8a477d3 100644
@@ -209,7 +209,7 @@ int __filemap_fdatawrite_range(struct address_space *mapping, loff_t start,
 	int ret;
 	struct writeback_control wbc = {
 		.sync_mode = sync_mode,
-		.nr_to_write = mapping->nrpages * 2,
+		.nr_to_write = LONG_MAX,
 		.range_start = start,
 		.range_end = end,
 	};
@@ -1304,7 +1304,8 @@ generic_file_aio_read(struct kiocb *iocb, const struct iovec *iov,
 			goto out; /* skip atime */
 		size = i_size_read(inode);
 		if (pos < size) {
-			retval = filemap_write_and_wait(mapping);
+			retval = filemap_write_and_wait_range(mapping, pos,
+					pos + iov_length(iov, nr_segs) - 1);
 			if (!retval) {
 				retval = mapping->a_ops->direct_IO(READ, iocb,
 							iov, pos, nr_segs);
@@ -2117,18 +2118,10 @@ generic_file_direct_write(struct kiocb *iocb, const struct iovec *iov,
 	if (count != ocount)
 		*nr_segs = iov_shorten((struct iovec *)iov, *nr_segs, count);
 
-	/*
-	 * Unmap all mmappings of the file up-front.
-	 *
-	 * This will cause any pte dirty bits to be propagated into the
-	 * pageframes for the subsequent filemap_write_and_wait().
-	 */
 	write_len = iov_length(iov, *nr_segs);
 	end = (pos + write_len - 1) >> PAGE_CACHE_SHIFT;
-	if (mapping_mapped(mapping))
-		unmap_mapping_range(mapping, pos, write_len, 0);
 
-	written = filemap_write_and_wait(mapping);
+	written = filemap_write_and_wait_range(mapping, pos, pos + write_len - 1);
 	if (written)
 		goto out;
 
@@ -2519,7 +2512,8 @@ generic_file_buffered_write(struct kiocb *iocb, const struct iovec *iov,
 	 * the file data here, to try to honour O_DIRECT expectations.
 	 */
 	if (unlikely(file->f_flags & O_DIRECT) && written)
-		status = filemap_write_and_wait(mapping);
+		status = filemap_write_and_wait_range(mapping,
+					pos, pos + written - 1);
 
 	return written ? written : status;
 }
mm/page-writeback.c +87 -33

178 lines not on this page · raw message

net/ipv4/tcp.c +4 -4
index 1ab341e..f57d576 100644
@@ -576,10 +576,6 @@ ssize_t tcp_splice_read(struct socket *sock, loff_t *ppos,
 		else if (!ret) {
 			if (spliced)
 				break;
-			if (flags & SPLICE_F_NONBLOCK) {
-				ret = -EAGAIN;
-				break;
-			}
 			if (sock_flag(sk, SOCK_DONE))
 				break;
 			if (sk->sk_err) {
@@ -597,6 +593,10 @@ ssize_t tcp_splice_read(struct socket *sock, loff_t *ppos,
 					ret = -ENOTCONN;
 				break;
 			}
+			if (flags & SPLICE_F_NONBLOCK) {
+				ret = -EAGAIN;
+				break;
+			}
 			if (!timeo) {
 				ret = -EAGAIN;
 				break;
net/ipv6/ip6_fib.c +8 -7
index 29c7c99..52ee1dc 100644
@@ -298,6 +298,10 @@ static void fib6_dump_end(struct netlink_callback *cb)
 	struct fib6_walker_t *w = (void*)cb->args[2];
 
 	if (w) {
+		if (cb->args[4]) {
+			cb->args[4] = 0;
+			fib6_walker_unlink(w);
+		}
 		cb->args[2] = 0;
 		kfree(w);
 	}
@@ -330,15 +334,12 @@ static int fib6_dump_table(struct fib6_table *table, struct sk_buff *skb,
 		read_lock_bh(&table->tb6_lock);
 		res = fib6_walk_continue(w);
 		read_unlock_bh(&table->tb6_lock);
-		if (res != 0) {
-			if (res < 0)
-				fib6_walker_unlink(w);
-			goto end;
+		if (res <= 0) {
+			fib6_walker_unlink(w);
+			cb->args[4] = 0;
 		}
-		fib6_walker_unlink(w);
-		cb->args[4] = 0;
 	}
-end:
+
 	return res;
 }
 
net/sched/cls_u32.c +2 -1
index 246f906..ea51fcd 100644
@@ -637,8 +637,9 @@ static int u32_change(struct tcf_proto *tp, unsigned long base, u32 handle,
 				break;
 
 		n->next = *ins;
-		wmb();
+		tcf_tree_lock(tp);
 		*ins = n;
+		tcf_tree_unlock(tp);
 
 		*arg = (unsigned long)n;
 		return 0;
net/sched/sch_htb.c +1 -0
index d14f020..d2943a4 100644
@@ -924,6 +924,7 @@ static struct sk_buff *htb_dequeue(struct Qdisc *sch)
 		}
 	}
 	sch->qstats.overlimits++;
+	qdisc_watchdog_cancel(&q->watchdog);
 	qdisc_watchdog_schedule(&q->watchdog, next_event);
 fin:
 	return skb;
net/sctp/sm_statefuns.c +14 -0
index 7c622af..649d174 100644
@@ -3635,6 +3635,7 @@ sctp_disposition_t sctp_sf_eat_fwd_tsn(const struct sctp_endpoint *ep,
 {
 	struct sctp_chunk *chunk = arg;
 	struct sctp_fwdtsn_hdr *fwdtsn_hdr;
+	struct sctp_fwdtsn_skip *skip;
 	__u16 len;
 	__u32 tsn;
 
@@ -3664,6 +3665,12 @@ sctp_disposition_t sctp_sf_eat_fwd_tsn(const struct sctp_endpoint *ep,
 	if (sctp_tsnmap_check(&asoc->peer.tsn_map, tsn) < 0)
 		goto discard_noforce;
 
+	/* Silently discard the chunk if stream-id is not valid */
+	sctp_walk_fwdtsn(skip, chunk) {
+		if (ntohs(skip->stream) >= asoc->c.sinit_max_instreams)
+			goto discard_noforce;
+	}
+
 	sctp_add_cmd_sf(commands, SCTP_CMD_REPORT_FWDTSN, SCTP_U32(tsn));
 	if (len > sizeof(struct sctp_fwdtsn_hdr))
 		sctp_add_cmd_sf(commands, SCTP_CMD_PROCESS_FWDTSN,
@@ -3695,6 +3702,7 @@ sctp_disposition_t sctp_sf_eat_fwd_tsn_fast(
 {
 	struct sctp_chunk *chunk = arg;
 	struct sctp_fwdtsn_hdr *fwdtsn_hdr;
+	struct sctp_fwdtsn_skip *skip;
 	__u16 len;
 	__u32 tsn;
 
@@ -3724,6 +3732,12 @@ sctp_disposition_t sctp_sf_eat_fwd_tsn_fast(
 	if (sctp_tsnmap_check(&asoc->peer.tsn_map, tsn) < 0)
 		goto gen_shutdown;
 
+	/* Silently discard the chunk if stream-id is not valid */
+	sctp_walk_fwdtsn(skip, chunk) {
+		if (ntohs(skip->stream) >= asoc->c.sinit_max_instreams)
+			goto gen_shutdown;
+	}
+
 	sctp_add_cmd_sf(commands, SCTP_CMD_REPORT_FWDTSN, SCTP_U32(tsn));
 	if (len > sizeof(struct sctp_fwdtsn_hdr))
 		sctp_add_cmd_sf(commands, SCTP_CMD_PROCESS_FWDTSN,
security/keys/keyctl.c +1 -0
index 9b4e0e9..3c0f421 100644
@@ -270,6 +270,7 @@ long keyctl_join_session_keyring(const char __user *_name)
 
 	/* join the session */
 	ret = join_session_keyring(name);
+	kfree(name);
 
  error:
 	return ret;
sound/pci/hda/patch_analog.c +46 -3

79 lines not on this page · raw message

sound/pci/hda/patch_realtek.c +1 -0
index a1a3a34..7225f0f 100644
@@ -9882,6 +9882,7 @@ static struct snd_pci_quirk alc262_cfg_tbl[] = {
 	SND_PCI_QUIRK(0x10cf, 0x142d, "Fujitsu Lifebook E8410", ALC262_FUJITSU),
 	SND_PCI_QUIRK(0x144d, 0xc032, "Samsung Q1 Ultra", ALC262_ULTRA),
 	SND_PCI_QUIRK(0x144d, 0xc039, "Samsung Q1U EL", ALC262_ULTRA),
+	SND_PCI_QUIRK(0x144d, 0xc510, "Samsung Q45", ALC262_HIPPO),
 	SND_PCI_QUIRK(0x17aa, 0x384e, "Lenovo 3000 y410", ALC262_LENOVO_3000),
 	SND_PCI_QUIRK(0x17ff, 0x0560, "Benq ED8", ALC262_BENQ_ED8),
 	SND_PCI_QUIRK(0x17ff, 0x058d, "Benq T31-16", ALC262_BENQ_T31),
#2 lore raw
In reply to Greg KH
Quoted 8 lines · Greg KH

We (the -stable team) are announcing the release of the 2.6.27.13 kernel.

It contains a wide range of bugfixes, and all users of the 2.6.27 kernel series are strongly encouraged to upgrade.

I'll also be replying to this message with a copy of the patch between 2.6.27.12 and 2.6.27.13

Hi.

I'm getting some e1000 noise on a 2.6.27.6, I search the log up to .13 but couldn't find any log messsage that looked like it fixed it.

[862734.501786] ------------[ cut here ]------------
[862734.501793] WARNING: at net/sched/sch_generic.c:219 dev_watchdog+0x1f8/0x210()
[862734.501795] NETDEV WATCHDOG: eth0 (e1000): transmit timed out
[862734.501796] Modules linked in: af_packet nfsd auth_rpcgss exportfs autofs4 nfs lockd sunrpc ipv6 bonding iptable_filter ip_tables x_tables lm87 adm1026 hwmon_vid ipmi_devintf ipmi_si ipmi_msghandler parport_pc lp parport loop cfi_cmdset_0001 cfi_util jedec_probe cfi_probe psmouse gen_probe serio_raw ck804xrom i2c_nforce2 mtd pcspkr chipreg shpchp pci_hotplug i2c_core k8temp map_funcs joydev button evdev ext3 jbd mbcache ide_cd_mod sr_mod cdrom sg usb_storage libusual ata_generic libata sd_mod dock usbhid hid mptsas mptscsih qla2xxx mptbase scsi_transport_fc amd74xx scsi_transport_sas ehci_hcd e1000 ohci_hcd scsi_mod ide_core usbcore thermal processor fan thermal_sys fuse
[862734.501837] Pid: 0, comm: swapper Not tainted 2.6.27.6 #2
[862734.501839]
[862734.501840] Call Trace:
[862734.501842]  <IRQ>  [<ffffffff80237a7d>] warn_slowpath+0xcd/0x110
[862734.501853]  [<ffffffff8022cc3d>] enqueue_task_fair+0x10d/0x110
[862734.501857]  [<ffffffff8033b6fe>] rb_insert_color+0xde/0x110
[862734.501859]  [<ffffffff8022ab83>] enqueue_task+0x13/0x30
[862734.501861]  [<ffffffff8022adf7>] source_load+0x37/0x70
[862734.501866]  [<ffffffff803370aa>] __next_cpu+0x1a/0x30
[862734.501868]  [<ffffffff8022e093>] find_busiest_group+0x193/0x810
[862734.501871]  [<ffffffff8033c76e>] strlcpy+0x4e/0x80
[862734.501873]  [<ffffffff803e7340>] dev_watchdog+0x0/0x210
[862734.501875]  [<ffffffff803e7538>] dev_watchdog+0x1f8/0x210
[862734.501878]  [<ffffffff8024165b>] run_timer_softirq+0x1bb/0x230
[862734.501881]  [<ffffffff8023cf46>] __do_softirq+0x76/0xf0
[862734.501885]  [<ffffffff8020f17b>] profile_pc+0x3b/0x80
[862734.501888]  [<ffffffff8020d51c>] call_softirq+0x1c/0x30
[862734.501890]  [<ffffffff8020ee45>] do_softirq+0x35/0x70
[862734.501894]  [<ffffffff8021ce80>] smp_apic_timer_interrupt+0x80/0xc0
[862734.501897]  [<ffffffff8020cf66>] apic_timer_interrupt+0x66/0x70
[862734.501898]  <EOI>  [<ffffffff802133e7>] default_idle+0x27/0x40
[862734.501904]  [<ffffffff8021360a>] c1e_idle+0xba/0x100
[862734.501906]  [<ffffffff8020adf4>] cpu_idle+0x44/0xb0
[862734.501907]
[862734.501909] ---[ end trace 8fad5965106e3cc6 ]---

Complete dmesg here:
http://krogh.cc/~jesper/dmesg-2.6.27.6.txt

The system is running with bonded interfaces with (lspi out put)
06:01.0 Ethernet controller: Intel Corporation 82546EB Gigabit Ethernet Controller (Copper) (rev 03) 06:01.1 Ethernet controller: Intel Corporation 82546EB Gigabit Ethernet Controller (Copper) (rev 03) 06:02.0 Ethernet controller: Intel Corporation 82546EB Gigabit Ethernet Controller (Copper) (rev 03) 06:02.1 Ethernet controller: Intel Corporation 82546EB Gigabit Ethernet Controller (Copper) (rev 03)

The system is still "fully functional", and I havent notiched anything wrong, but there sure is a lot of link ups and downs on that bond.

Signature · 1 line
Jesper
author
#3 lore raw
Quoted 10 lines · Jesper Krogh
Quoted 6 lines · Greg KH

We (the -stable team) are announcing the release of the 2.6.27.13 kernel.
It contains a wide range of bugfixes, and all users of the 2.6.27 kernel series are strongly encouraged to upgrade.
I'll also be replying to this message with a copy of the patch between 2.6.27.12 and 2.6.27.13

Hi.

Quoted 8 lines

I'm getting some e1000 noise on a 2.6.27.6, I search the log up to .13 but couldn't find any log messsage that looked like it fixed it.

[862734.501786] ------------[ cut here ]------------
[862734.501793] WARNING: at net/sched/sch_generic.c:219 
dev_watchdog+0x1f8/0x210()
[862734.501795] NETDEV WATCHDOG: eth0 (e1000): transmit timed out

I've been getting a lot of reports about this as well. Did it show up in 2.6.27.6?

Netdev developers, any ideas of what would be causing this?

thanks,

greg k-h

(rest of the oops message below...)

Quoted 54 lines
[862734.501796] Modules linked in: af_packet nfsd auth_rpcgss exportfs 

autofs4 nfs lockd sunrpc ipv6 bonding iptable_filter ip_tables x_tables lm87 adm1026 hwmon_vid ipmi_devintf ipmi_si ipmi_msghandler parport_pc lp parport loop cfi_cmdset_0001 cfi_util jedec_probe cfi_probe psmouse gen_probe serio_raw ck804xrom i2c_nforce2 mtd pcspkr chipreg shpchp pci_hotplug i2c_core k8temp map_funcs joydev button evdev ext3 jbd mbcache ide_cd_mod sr_mod cdrom sg usb_storage libusual ata_generic libata sd_mod dock usbhid hid mptsas mptscsih qla2xxx mptbase scsi_transport_fc amd74xx scsi_transport_sas ehci_hcd e1000 ohci_hcd scsi_mod ide_core usbcore thermal processor fan thermal_sys fuse

[862734.501837] Pid: 0, comm: swapper Not tainted 2.6.27.6 #2
[862734.501839]
[862734.501840] Call Trace:
[862734.501842]  <IRQ>  [<ffffffff80237a7d>] warn_slowpath+0xcd/0x110
[862734.501853]  [<ffffffff8022cc3d>] enqueue_task_fair+0x10d/0x110
[862734.501857]  [<ffffffff8033b6fe>] rb_insert_color+0xde/0x110
[862734.501859]  [<ffffffff8022ab83>] enqueue_task+0x13/0x30
[862734.501861]  [<ffffffff8022adf7>] source_load+0x37/0x70
[862734.501866]  [<ffffffff803370aa>] __next_cpu+0x1a/0x30
[862734.501868]  [<ffffffff8022e093>] find_busiest_group+0x193/0x810
[862734.501871]  [<ffffffff8033c76e>] strlcpy+0x4e/0x80
[862734.501873]  [<ffffffff803e7340>] dev_watchdog+0x0/0x210
[862734.501875]  [<ffffffff803e7538>] dev_watchdog+0x1f8/0x210
[862734.501878]  [<ffffffff8024165b>] run_timer_softirq+0x1bb/0x230
[862734.501881]  [<ffffffff8023cf46>] __do_softirq+0x76/0xf0
[862734.501885]  [<ffffffff8020f17b>] profile_pc+0x3b/0x80
[862734.501888]  [<ffffffff8020d51c>] call_softirq+0x1c/0x30
[862734.501890]  [<ffffffff8020ee45>] do_softirq+0x35/0x70
[862734.501894]  [<ffffffff8021ce80>] smp_apic_timer_interrupt+0x80/0xc0
[862734.501897]  [<ffffffff8020cf66>] apic_timer_interrupt+0x66/0x70
[862734.501898]  <EOI>  [<ffffffff802133e7>] default_idle+0x27/0x40
[862734.501904]  [<ffffffff8021360a>] c1e_idle+0xba/0x100
[862734.501906]  [<ffffffff8020adf4>] cpu_idle+0x44/0xb0
[862734.501907]
[862734.501909] ---[ end trace 8fad5965106e3cc6 ]---

Complete dmesg here:
http://krogh.cc/~jesper/dmesg-2.6.27.6.txt

The system is running with bonded interfaces with (lspi out put) 06:01.0 Ethernet controller: Intel Corporation 82546EB Gigabit Ethernet Controller (Copper) (rev 03)
06:01.1 Ethernet controller: Intel Corporation 82546EB Gigabit Ethernet Controller (Copper) (rev 03)
06:02.0 Ethernet controller: Intel Corporation 82546EB Gigabit Ethernet Controller (Copper) (rev 03)
06:02.1 Ethernet controller: Intel Corporation 82546EB Gigabit Ethernet Controller (Copper) (rev 03)

The system is still "fully functional", and I havent notiched anything wrong, but there sure is a lot of link ups and downs on that bond.

Signature · 1 line
Jesper
#4 lore raw
Quoted 20 lines · Greg KH
Quoted 10 lines · Jesper Krogh
Quoted 6 lines · Greg KH

We (the -stable team) are announcing the release of the 2.6.27.13 kernel. It contains a wide range of bugfixes, and all users of the 2.6.27 kernel series are strongly encouraged to upgrade. I'll also be replying to this message with a copy of the patch between
2.6.27.12 and 2.6.27.13

Hi.

Quoted 8 lines

I'm getting some e1000 noise on a 2.6.27.6, I search the log up to .13 but couldn't find any log messsage that looked like it fixed it.

[862734.501786] ------------[ cut here ]------------
[862734.501793] WARNING: at net/sched/sch_generic.c:219

dev_watchdog+0x1f8/0x210() [862734.501795] NETDEV WATCHDOG: eth0 (e1000): transmit timed out

Quoted 4 lines

I've been getting a lot of reports about this as well. Did it show up in 2.6.27.6?

Netdev developers, any ideas of what would be causing this?

no immediate idea, but a quick test to help isolate which functionality could be causing problems is to disable TSO on all four interfaces using ethtool.

It could be that GSO is somehow playing into this as well, but I don't know why (you could disable it with ethtool too).

It could be unrelated but I've noticed that TCP window size can grow much larger now than it used to (especially talking to LRO enabled clients) and this might cause some kind of an overflow in the TCP transmit offloading hardware in the e1000 parts.

Quoted 13 lines
Quoted 13 lines

Complete dmesg here:
http://krogh.cc/~jesper/dmesg-2.6.27.6.txt

The system is running with bonded interfaces with (lspci output) 06:01.0 Ethernet controller: Intel Corporation 82546EB Gigabit Ethernet Controller (Copper) (rev 03) 06:01.1 Ethernet controller:
Intel Corporation 82546EB Gigabit Ethernet Controller (Copper) (rev
03) 06:02.0 Ethernet controller: Intel Corporation 82546EB Gigabit Ethernet Controller (Copper) (rev 03) 06:02.1 Ethernet controller:
Intel Corporation 82546EB Gigabit Ethernet Controller (Copper) (rev
03)

Quoted 3 lines
Quoted 3 lines

The system is still "fully functional", and I havent notiched anything wrong, but there sure is a lot of link ups and downs on that bond.

in your log I saw one tx timeout for each interface, one first one by itself and then several more all within a few minutes, but then no more for a really long time.

My first reaction is to ask you what test you're running, and ask you to run the e1000_dump code (see google) to dump the tx descriptor rings at the time of failure.

I can get you that code with updates if you're willing to test, but it might take a couple of days.

Jesse

#5 lore raw
Quoted 57 lines · Jesse
Quoted 14 lines · Greg KH
Quoted 13 lines · Jesper Krogh
Quoted 6 lines · Greg KH

We (the -stable team) are announcing the release of the 2.6.27.13 kernel. It contains a wide range of bugfixes, and all users of the 2.6.27 kernel series are strongly encouraged to upgrade. I'll also be replying to this message with a copy of the patch between
2.6.27.12 and 2.6.27.13

Hi.

I'm getting some e1000 noise on a 2.6.27.6, I search the log up to .13 but couldn't find any log messsage that looked like it fixed it.

Quoted 8 lines
Quoted 4 lines
[862734.501786] ------------[ cut here ]------------
[862734.501793] WARNING: at net/sched/sch_generic.c:219

dev_watchdog+0x1f8/0x210() [862734.501795] NETDEV WATCHDOG: eth0 (e1000): transmit timed out

I've been getting a lot of reports about this as well. Did it show up in 2.6.27.6?

Netdev developers, any ideas of what would be causing this?

no immediate idea, but a quick test to help isolate which functionality could be causing problems is to disable TSO on all four interfaces using ethtool.

It could be that GSO is somehow playing into this as well, but I don't know why (you could disable it with ethtool too).

It could be unrelated but I've noticed that TCP window size can grow much larger now than it used to (especially talking to LRO enabled clients) and this might cause some kind of an overflow in the TCP transmit offloading hardware in the e1000 parts.

Quoted 12 lines
Quoted 12 lines

Complete dmesg here:
http://krogh.cc/~jesper/dmesg-2.6.27.6.txt

The system is running with bonded interfaces with (lspci output) 06:01.0 Ethernet controller: Intel Corporation 82546EB Gigabit Ethernet Controller (Copper) (rev 03) 06:01.1 Ethernet controller:
Intel Corporation 82546EB Gigabit Ethernet Controller (Copper) (rev
03) 06:02.0 Ethernet controller: Intel Corporation 82546EB Gigabit Ethernet Controller (Copper) (rev 03) 06:02.1 Ethernet controller:
Intel Corporation 82546EB Gigabit Ethernet Controller (Copper) (rev
03)

Quoted 3 lines
Quoted 3 lines

The system is still "fully functional", and I havent notiched anything wrong, but there sure is a lot of link ups and downs on that bond.

in your log I saw one tx timeout for each interface, one first one by itself and then several more all within a few minutes, but then no more for a really long time.

Quoted 6 lines

My first reaction is to ask you what test you're running, and ask you to run the e1000_dump code (see google) to dump the tx descriptor rings at the time of failure.

I can get you that code with updates if you're willing to test, but it might take a couple of days.

I would love to have it at hand, but it is a production system, so it'll be upgraded to 2.6.27.latest at next reboot. So It should be working with that one.

Jesper

Signature · 7 lines
Jesper

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
#6 lore raw
In reply to Greg KH
Quoted 8 lines · Greg KH

We (the -stable team) are announcing the release of the 2.6.27.13 kernel.

It contains a wide range of bugfixes, and all users of the 2.6.27 kernel series are strongly encouraged to upgrade.

I'll also be replying to this message with a copy of the patch between 2.6.27.12 and 2.6.27.13

Still on a 2.6.27.6 I got this on an NFS client while restarting the NFS-server at the other end. Seems autofs/nfs releated.

[6367172.212954] ------------[ cut here ]------------
[6367172.213122] kernel BUG at net/sunrpc/rpcb_clnt.c:498!
[6367172.213263] invalid opcode: 0000 [1] SMP
[6367172.213397] CPU 1
[6367172.213502] Modules linked in: nfs lockd sunrpc autofs4 ipv6 iptable_filter ip_tables x_tables usbhid hid uhci_hcd ehci_hcd usbkbd parport_pc lp parport af_packet i2c_amd756 i2c_core container amd_rng serio_raw button k8temp shpchp pci_hotplug evdev pcspkr psmouse ext3 jbd mbcache sg sd_mod ide_cd_mod cdrom ata_generic libata dock floppy mptspi mptscsih mptbase scsi_transport_spi scsi_mod tg3 libphy amd74xx ide_core ohci_hcd usbcore thermal processor fan thermal_sys fuse
[6367172.214628] Pid: 5802, comm: automount Not tainted 2.6.27.6 #2
[6367172.214778] RIP: 0010:[<ffffffffa02c5288>]  [<ffffffffa02c5288>] rpcb_getport_async+0x318/0x440 [sunrpc]
[6367172.215082] RSP: 0018:ffff880037a3bb48  EFLAGS: 00010287
[6367172.215226] RAX: ffffffffa02e2da0 RBX: ffff8800fade5200 RCX: 00000000c0000100
[6367172.215467] RDX: 0000000000000001 RSI: ffff880037a3bc18 RDI: ffff8800f659ba00
[6367172.215708] RBP: ffff8800faf30000 R08: ffff880037a3a000 R09: 000823d4ebf72992
[6367172.215948] R10: ffff8800ba8f3928 R11: ffffffffa02c4f70 R12: ffff8800f6672200
[6367172.216189] R13: ffff8800f659ba00 R14: ffff8800d54d0c00 R15: ffff8800d54d0b70
[6367172.216430] FS:  00007f95a76396e0(0000) GS:ffff8800fbb0e280(0000) knlGS:00000000556f68c0
[6367172.216681] CS:  0010 DS: 0000 ES: 0000 CR0: 000000008005003b
[6367172.216681] CR2: 00007f93cfcb3768 CR3: 0000000028fbb000 CR4: 00000000000006e0
[6367172.216681] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[6367172.216681] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
[6367172.216681] Process automount (pid: 5802, threadinfo ffff880037a3a000, task ffff8800bab7c440)
[6367172.216681] Stack:  ffff8800bab7c680 000000015edfa7ae 0000000300000000 ffff8800f61093c8
[6367172.216681]  0000000000000000 0000000000000296 0000000000000282 ffff880037a3bc08
[6367172.216681]  ffff880037a3bc18 0000000000000082 ffff8800c1002ee0 ffffffffa02bc750
[6367172.216681] Call Trace:
[6367172.216681]  [<ffffffffa02bc750>] ? rpc_wait_bit_killable+0x0/0x40 [sunrpc]
[6367172.216681]  [<ffffffff80459e1b>] ? __wait_on_bit+0x6b/0x80
[6367172.216681]  [<ffffffffa02bc750>] ? rpc_wait_bit_killable+0x0/0x40 [sunrpc]
[6367172.216681]  [<ffffffff80459eaa>] ? out_of_line_wait_on_bit+0x7a/0xa0
[6367172.216681]  [<ffffffff8024c9f0>] ? wake_bit_function+0x0/0x30
[6367172.216681]  [<ffffffffa02bcd83>] ? __rpc_execute+0x63/0x270 [sunrpc]
[6367172.216681]  [<ffffffffa02b5c84>] ? rpc_run_task+0x34/0x70 [sunrpc]
[6367172.216681]  [<ffffffffa02b5d5c>] ? rpc_call_sync+0x3c/0x60 [sunrpc]
[6367172.216681]  [<ffffffffa0314e8a>] ? nfs3_rpc_wrapper+0x3a/0x60 [nfs]
[6367172.216681]  [<ffffffffa0315631>] ? nfs3_proc_getattr+0x51/0x90 [nfs]
[6367172.216681]  [<ffffffffa0307635>] ? __nfs_revalidate_inode+0x175/0x2a0 [nfs]
[6367172.216681]  [<ffffffff802a9f13>] ? path_walk+0x63/0xb0
[6367172.216681]  [<ffffffff802aa02a>] ? do_path_lookup+0x7a/0x160
[6367172.216681]  [<ffffffff802a8eb5>] ? getname+0xe5/0x1f0
[6367172.216681]  [<ffffffff802aac85>] ? user_path_at+0x55/0x80
[6367172.216681]  [<ffffffff8027f1b2>] ? do_wp_page+0x262/0x550
[6367172.216681]  [<ffffffff802a2915>] ? cp_new_stat+0xe5/0x100
[6367172.216681]  [<ffffffffa03080da>] ? nfs_getattr+0x7a/0x120 [nfs]
[6367172.216681]  [<ffffffff802a2c47>] ? vfs_lstat_fd+0x37/0x60
[6367172.216681]  [<ffffffff802a2c97>] ? sys_newlstat+0x27/0x50
[6367172.216681]  [<ffffffff8020c2db>] ? system_call_fastpath+0x16/0x1b
[6367172.216681]
[6367172.216681]
[6367172.216681] Code: ff ff ff 0f 84 7f fd ff ff 41 0f b7 b5 06 01 00 00 48 c7 c2 b0 cc 2c a0 48 c7 c7 88 03 2d a0 31 c0 e8 8d 38 f7 df e9 5d fd ff ff <0f> 0b eb fe 0f 1f 40 00 8b 85 a0 00 00 00 0f b7 b7 06 01 00 00
[6367172.216681] RIP  [<ffffffffa02c5288>] rpcb_getport_async+0x318/0x440 [sunrpc]
[6367172.216681]  RSP <ffff880037a3bb48>
[6367172.223900] ---[ end trace 5edd17395c2b1b4f ]---

Full dmesg here:
http://krogh.cc/~jesper/dmesg-autofs-nfs.txt

#7 lore raw
Quoted 10 lines · Jesper Krogh
Quoted 8 lines · Greg KH

We (the -stable team) are announcing the release of the 2.6.27.13 kernel.

It contains a wide range of bugfixes, and all users of the 2.6.27 kernel series are strongly encouraged to upgrade.

I'll also be replying to this message with a copy of the patch between 2.6.27.12 and 2.6.27.13

Quoted 6 lines

Still on a 2.6.27.6 I got this on an NFS client while restarting the NFS-server at the other end. Seems autofs/nfs releated.

[6367172.212954] ------------[ cut here ]------------
[6367172.213122] kernel BUG at net/sunrpc/rpcb_clnt.c:498!

Already fixed in 2.6.28 by the following commit.
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git&a=commitdiff&h=9a4bd29fe8f6d3f015fe1c8e5450eb62cfebfcc9

You should probably also apply the following commit (also in 2.6.28), which fixes a memory leak in the same area.
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git&a=commitdiff&h=96165e2b7c4e2c82a0b60c766d4a2036444c21a0

Cheers
Trond

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

#8 lore raw
Quoted 18 lines · Trond Myklebust
Quoted 10 lines · Jesper Krogh
Quoted 8 lines · Greg KH

We (the -stable team) are announcing the release of the 2.6.27.13 kernel.

It contains a wide range of bugfixes, and all users of the 2.6.27 kernel series are strongly encouraged to upgrade.

I'll also be replying to this message with a copy of the patch between 2.6.27.12 and 2.6.27.13

Quoted 6 lines

Still on a 2.6.27.6 I got this on an NFS client while restarting the NFS-server at the other end. Seems autofs/nfs releated.

[6367172.212954] ------------[ cut here ]------------
[6367172.213122] kernel BUG at net/sunrpc/rpcb_clnt.c:498!
Quoted 6 lines

Already fixed in 2.6.28 by the following commit.
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git&a=commitdiff&h=9a4bd29fe8f6d3f015fe1c8e5450eb62cfebfcc9

You should probably also apply the following commit (also in 2.6.28), which fixes a memory leak in the same area.
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git&a=commitdiff&h=96165e2b7c4e2c82a0b60c766d4a2036444c21a0

Thanks for letting me know, I'll queue them up.

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

#9 lore raw
In reply to Greg KH
Quoted 6 lines · Greg KH

We (the -stable team) are announcing the release of the 2.6.27.13 kernel.

It contains a wide range of bugfixes, and all users of the 2.6.27 kernel series are strongly encouraged to upgrade.

Quoted 7 lines

I'll also be replying to this message with a copy of the patch between 2.6.27.12 and 2.6.27.13

The updated 2.6.27.y git tree can be found at:

        git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-2.6.27.y.git
and can be browsed at the normal kernel.org git web browser:
        http://git.kernel.org/?p=linux/kernel/git/stable/linux-2.6.27.y.git;a=summary

This may be just noise, but recently I have begun seeing Zombie processes hanging on some nodes in the computescluster:

2006      2055  0.0  0.0   9144  1260 ?        Ss   07:24   0:00      \_ -bash /z/gridengine/default/spool/node30/job_scripts/692747
2006      2060 39.0 38.7 1696468 1573884 ?     S    07:24 160:21 
  \_ /usr/bin/perl /z/home/trunk//bin/workqueue/worker
2006      2225  0.0  0.0      0     0 ?        Z    07:29   0:00 
      \_ [sh] <defunct>

ps faux output.

Killing the parent process makes it go awasy, but this one has been sitting there for almost 7 hours by now, without going away, essentially hagning this process.

Any suggestions?

Signature · 1 line
Jesper
author
#10 lore raw
Quoted 24 lines · Jesper Krogh
Quoted 8 lines · Greg KH

We (the -stable team) are announcing the release of the 2.6.27.13 kernel.
It contains a wide range of bugfixes, and all users of the 2.6.27 kernel series are strongly encouraged to upgrade.
I'll also be replying to this message with a copy of the patch between 2.6.27.12 and 2.6.27.13
The updated 2.6.27.y git tree can be found at:

Quoted 4 lines

git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-2.6.27.y.git
and can be browsed at the normal kernel.org git web browser:

http://git.kernel.org/?p=linux/kernel/git/stable/linux-2.6.27.y.git;a=summary

This may be just noise, but recently I have begun seeing Zombie processes hanging on some nodes in the computescluster:

2006 2055 0.0 0.0 9144 1260 ? Ss 07:24 0:00 \_
-bash /z/gridengine/default/spool/node30/job_scripts/692747
2006 2060 39.0 38.7 1696468 1573884 ? S 07:24 160:21 \_
/usr/bin/perl /z/home/trunk//bin/workqueue/worker
2006 2225 0.0 0.0 0 0 ? Z 07:29 0:00 \_
[sh] <defunct>

Quoted 5 lines

ps faux output.

Killing the parent process makes it go awasy, but this one has been sitting there for almost 7 hours by now, without going away, essentially hagning this process.

Does this also happen on older .27-stable releases? Or is it something new to .13?

thanks,

greg k-h