Re: [GIT PATCH] PCI patches for 2.6.15 - retry



Alan Cox wrote:
On Iau, 2006-01-12 at 16:55 +1300, Reuben Farrelly wrote:

ata1: SATA max UDMA/133 cmd 0x0 ctl 0x2 bmdma 0x0 irq 0
ata2: SATA max UDMA/133 cmd 0x0 ctl 0x2 bmdma 0x8 irq 0
Unable to handle kernel NULL pointer dereference at virtual address 00000000


That is the critical bit. The SATA ports have no PCI resources assigned
for bus mastering (BAR 4). libata should have driven the device PIO in
this case but the resource should have been assigned.

Agreed. This appears to be BIOS assigning bad values to SATA hardware.

However, libata should recognize this and not attempt to iomap or drive the hardware, in that case, rather than oops.

	Jeff


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



Relevant Pages

  • Re: [PATCH] anobjrmap 1/6 objrmap
    ... > Unable to handle kernel NULL pointer dereference at virtual address 00000003 ... I can't see any dereference at 0x3 offset either, ... explicit regparm, old compiler miscompiles regparm. ... send the line "unsubscribe linux-kernel" in ...
    (Linux-Kernel)
  • Re: ioctls, etc. (was Re: [PATCH 1/4] sas: add flag for locally attached PHYs)
    ... a downplay that I didn't include the same thing in struct sas_ha_struct. ... The host template _mixes_ hw, scsi core, and protocol knowlege into ... libata isn't without architectural problems. ... send the line "unsubscribe linux-kernel" in ...
    (Linux-Kernel)
  • Re: [PATCH] QStor SATA/RAID driver for 2.6.9-rc3
    ... > If those locks are not needed, the scsi.c maintainer really should ... >> work for emulated commands. ... libata does all this correctly. ... send the line "unsubscribe linux-kernel" in ...
    (Linux-Kernel)
  • Re: Bizarre oops after suspend to RAM (was: Re: [ACPI] Resume from Suspend to RAM)
    ... > Whoops. ... May have been a bit too hasty there. ... NULL pointer dereference in filp_open; ... send the line "unsubscribe linux-kernel" in ...
    (Linux-Kernel)
  • Re: Who is working on the Marvell SATA Chipset?
    ... On Tue, 12 Oct 2004, Andy Warner wrote: ... > etc etc, and ignore libata, so if ... I would love to be buying the 8 port pci-x marvells for nas boxes where ... To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ ...
    (Linux-Kernel)