Bug 8976

Summary: Regression (ata_piix): Kernel panic during driver initialization
Product: IO/Storage Reporter: Calvin Walton (calvin.walton)
Component: Serial ATAAssignee: Jeff Garzik (jgarzik)
Status: CLOSED PATCH_ALREADY_AVAILABLE    
Severity: high    
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: 2.6.23-rc5 Subsystem:
Regression: Yes Bisected commit-id:
Attachments: Kernel panic output

Description Calvin Walton 2007-09-03 13:40:10 UTC
Most recent kernel where this bug did not occur: 2.6.23-rc4
Distribution: Gentoo
Hardware Environment: Lenovo ThinkPad R61i
Software Environment: x86_64 SMP
Problem Description:

With the 2.6.23-rc5 kernel, the kernel will panic during initialization of the ata-piix driver. The kernel panic output is attached.

Performing a git bisect reveals that the problem first occurs with commit 43a98f05d99205687ddf74089e79a8312c8c5f90
Comment 1 Calvin Walton 2007-09-03 13:41:04 UTC
Created attachment 12684 [details]
Kernel panic output
Comment 2 Michal Piotrowski 2007-09-03 16:14:03 UTC
Andrew, this looks like:

Subject         : NULL pointer dereference in ata_piix
References      : http://lkml.org/lkml/2007/9/1/33
Last known good : ?
Submitter       : Grant Wilson <grant.wilson@zen.co.uk>
Caused-By       : ?
Handled-By      : Jeff Garzik <jeff@garzik.org>
Patch           : http://lkml.org/lkml/2007/9/1/46
Status          : patch available

Calvin, could you test this patch?
http://lkml.org/lkml/2007/9/1/46
Comment 3 Calvin Walton 2007-09-03 17:10:20 UTC
Thanks for looking into it so quickly, the patch you have indicated corrects the problem for me.

I guess I should search the LKML a little more thoroughly next time :)
Comment 4 Michal Piotrowski 2007-09-04 11:28:15 UTC
BTW. Please close this bug.