linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* promise-sata-pata crash on boot
@ 2006-10-23 13:38 Daniel Drake
  0 siblings, 0 replies; only message in thread
From: Daniel Drake @ 2006-10-23 13:38 UTC (permalink / raw)
  To: Jeff Garzik; +Cc: linux-ide, erikbenada, caver_sean

Hi Jeff,

I've been including the promise-sata-pata patch in the Gentoo kernel for 
quite a while, taken directly from the git branch. The most recent 
incarnations of this patch have stopped working, causing an oops on 
bootup. This has been reproduced with unmodified 2.6.19-rc2 plus the patch.

Unable to handle kernel NULL pointer dereference at 0
RIP: pdc_sata_scr_read+0x3e

Trace:
sata_scr_read
ata_device_add
process_timeout
pdc_ata_init_one
pci_device_probe
driver_probe_device

http://weather.ou.edu/~sarms/panic3.jpeg

We added the following printk to pdc_sata_scr_read:

         printk("pdc_sata_scr_read ap=%p scr_addr %ld sc_reg %d\n", ap,
		ap->ioaddr.scr_addr, sc_reg);

And the output is:

pdc_sata_src_read ap=ffff8100bfce0498 src_addr -68169720896256 sc_reg 2
pdc_sata_src_read ap=ffff8100bfce0498 src_addr -68169720896256 sc_reg 0
pdc_sata_src_read ap=ffff8100bfce0498 src_addr -68169720896256 sc_reg 0
pdc_sata_src_read ap=ffff8100bfce0498 src_addr -68169720896256 sc_reg 2
pdc_sata_src_read ap=ffff8100bfce0498 src_addr -68169720896256 sc_reg 0
ata2: SATA link down (SStatus 0 SControl 300)
pdc_sata_src_read ap=ffff8100bfce0498 src_addr -68169720896256 sc_reg 0
pdc_sata_src_read ap=ffff8100bfd08498 src_addr 0 sc_reg 2
Unable to handle kernel NULL pointer dereference

See http://weather.ou.edu/~sarms/panic4.jpeg


Bug report is at http://bugs.gentoo.org/148059
Any ideas? Should we file this on the kernel bugzilla?

Thanks!
Daniel

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-10-23 13:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-23 13:38 promise-sata-pata crash on boot Daniel Drake

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).