Re: Fw: Kernel panic with dc395x in 2.6.12.2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 26 Jul 2005 00:21:50 +0200 Pierre Ossman wrote:

> randy_dunlap wrote:
> 
> >  
> >
> >That's a highmem bug.  IIRC, Guennadi said that highmem does not
> >(or may not) work correctly in this driver, so I should have
> >asked you to test with HIGHMEM disabled so that the other bug
> >can be addressed.
> >
> >  
> >
> 
> I have now tried 2.6.12{,.1,.2} and only 2.6.12.2 breaks (without
> HIGHMEM that is).
> 
> (Interested parties readded to cc)

The only 2 differences that I can see that would affect this
(diff patch-2.6.12.1 vs. patch-2.6.1.2) are:  (cut-n-paste, so
has whitespace munging)


1.  (not really likely IMO)

diff --git a/drivers/acpi/pci_irq.c b/drivers/acpi/pci_irq.c
--- a/drivers/acpi/pci_irq.c
+++ b/drivers/acpi/pci_irq.c
@@ -435,6 +435,7 @@ acpi_pci_irq_enable (
 		/* Interrupt Line values above 0xF are forbidden */
 		if (dev->irq >= 0 && (dev->irq <= 0xF)) {
 			printk(" - using IRQ %d\n", dev->irq);
+			acpi_register_gsi(dev->irq, ACPI_LEVEL_SENSITIVE, ACPI_ACTIVE_LOW);
 			return_VALUE(0);
 		}
 		else {

2.  Can you back this one out of 2.6.12.2 and test it again?

 diff --git a/mm/memory.c b/mm/memory.c
--- a/mm/memory.c
+++ b/mm/memory.c
@@ -1164,7 +1164,7 @@ int remap_pfn_range(struct vm_area_struc
 {
 	pgd_t *pgd;
 	unsigned long next;
-	unsigned long end = addr + size;
+	unsigned long end = addr + PAGE_ALIGN(size);
 	struct mm_struct *mm = vma->vm_mm;
 	int err;
 

There are also a bunch of changes in include/asm-i386/string.h,
but I'll stay away from those for now.


---
~Randy
-
: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux