linux-scsi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Adaptec i2o controller
@ 2005-08-09 15:59 Jon Scottorn
  2005-08-09 16:11 ` James Bottomley
  0 siblings, 1 reply; 6+ messages in thread
From: Jon Scottorn @ 2005-08-09 15:59 UTC (permalink / raw)
  To: linux-scsi

Hi,
 
  I have been running a 2.6.8 kernel with the adaptec i2o scsi
controller and I went to upgrade to the 2.6.12.4 kernel and when I
reboot into that kernel I get a kernel panic. I am wondering either what
I have done wrong or what has changed with the i2o driver between the
two kernels. 
Here is the error I get, I am summarizing because I have to type the
error in.

EIP is at adpt_isr+0x175/0x1f2
then has a stack and call trace:
(#0001,*0):c01035b2 oops
kernel panic - not syncing: Fatal exception in interrupt

Thanks in advance for any suggestions.

Jon

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Adaptec i2o controller
  2005-08-09 15:59 Jon Scottorn
@ 2005-08-09 16:11 ` James Bottomley
  0 siblings, 0 replies; 6+ messages in thread
From: James Bottomley @ 2005-08-09 16:11 UTC (permalink / raw)
  To: Jon Scottorn; +Cc: SCSI Mailing List

On Tue, 2005-08-09 at 09:59 -0600, Jon Scottorn wrote:
>   I have been running a 2.6.8 kernel with the adaptec i2o scsi
> controller and I went to upgrade to the 2.6.12.4 kernel and when I
> reboot into that kernel I get a kernel panic. I am wondering either what
> I have done wrong or what has changed with the i2o driver between the
> two kernels. 
> Here is the error I get, I am summarizing because I have to type the
> error in.
> 
> EIP is at adpt_isr+0x175/0x1f2
> then has a stack and call trace:
> (#0001,*0):c01035b2 oops
> kernel panic - not syncing: Fatal exception in interrupt

Could you try out the patch in this email:

http://marc.theaimsgroup.com/?l=linux-scsi&m=112351014310129

Thanks,

James



^ permalink raw reply	[flat|nested] 6+ messages in thread

* RE: Adaptec i2o controller
@ 2005-08-09 16:16 Salyzyn, Mark
  2005-08-09 16:46 ` Jon Scottorn
  0 siblings, 1 reply; 6+ messages in thread
From: Salyzyn, Mark @ 2005-08-09 16:16 UTC (permalink / raw)
  To: James Bottomley, Jon Scottorn; +Cc: SCSI Mailing List

This dpt_i2o patch *plus* the patch Markus submitted yesterday for the
i2o driver to the kernel list need to be performed to create the mutual
exclusion between the two drivers.

Jon, just select one (CONFIG_SCSI_DPT_I2O) or the other (CONFIG_I2O) in
your .config

Sincerely -- Mark Salyzyn

-----Original Message-----
From: linux-scsi-owner@vger.kernel.org
[mailto:linux-scsi-owner@vger.kernel.org] On Behalf Of James Bottomley
Sent: Tuesday, August 09, 2005 12:11 PM
To: Jon Scottorn
Cc: SCSI Mailing List
Subject: Re: Adaptec i2o controller

On Tue, 2005-08-09 at 09:59 -0600, Jon Scottorn wrote:
>   I have been running a 2.6.8 kernel with the adaptec i2o scsi
> controller and I went to upgrade to the 2.6.12.4 kernel and when I
> reboot into that kernel I get a kernel panic. I am wondering either
what
> I have done wrong or what has changed with the i2o driver between the
> two kernels. 
> Here is the error I get, I am summarizing because I have to type the
> error in.
> 
> EIP is at adpt_isr+0x175/0x1f2
> then has a stack and call trace:
> (#0001,*0):c01035b2 oops
> kernel panic - not syncing: Fatal exception in interrupt

Could you try out the patch in this email:

http://marc.theaimsgroup.com/?l=linux-scsi&m=112351014310129

Thanks,

James


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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Adaptec i2o controller
  2005-08-09 16:16 Salyzyn, Mark
@ 2005-08-09 16:46 ` Jon Scottorn
  0 siblings, 0 replies; 6+ messages in thread
From: Jon Scottorn @ 2005-08-09 16:46 UTC (permalink / raw)
  Cc: SCSI Mailing List

Thanks for the replies,

      After applying the patch, Now I get a compile error

drivers/scsi/dpt_i2o.c: In function `adpt_install_hba':
drivers/scsi/dpt_i2o.c:908: error: too few arguments to function
`pci_request_regions'
drivers/scsi/dpt_i2o.c: In function `adpt_isr':
drivers/scsi/dpt_i2o.c:2037: warning: passing arg 1 of `readl' makes
pointer from integer without a cast
drivers/scsi/dpt_i2o.c:2038: warning: passing arg 1 of `readl' makes
pointer from integer without a cast
drivers/scsi/dpt_i2o.c:2049: warning: passing arg 1 of `readl' makes
pointer from integer without a cast
drivers/scsi/dpt_i2o.c:2050: warning: passing arg 2 of `writel' makes
pointer from integer without a cast
drivers/scsi/dpt_i2o.c:2053: warning: passing arg 1 of `readl' makes
pointer from integer without a cast
drivers/scsi/dpt_i2o.c:2055: warning: passing arg 1 of `readl' makes
pointer from integer without a cast
drivers/scsi/dpt_i2o.c:2062: warning: passing arg 1 of `readl' makes
pointer from integer without a cast
drivers/scsi/dpt_i2o.c:2069: warning: passing arg 1 of `readl' makes
pointer from integer without a cast
drivers/scsi/dpt_i2o.c:2076: warning: passing arg 1 of `readl' makes
pointer from integer without a cast
drivers/scsi/dpt_i2o.c: In function `adpt_i2o_to_scsi':
drivers/scsi/dpt_i2o.c:2246: warning: passing arg 1 of `readl' makes
pointer from integer without a cast
drivers/scsi/dpt_i2o.c:2250: warning: passing arg 1 of `readl' makes
pointer from integer without a cast
drivers/scsi/dpt_i2o.c:2255: warning: passing arg 1 of `readl' makes
pointer from integer without a cast
drivers/scsi/dpt_i2o.c:2266: warning: passing arg 1 of `readl' makes
pointer from integer without a cast
drivers/scsi/dpt_i2o.c: At top level:
drivers/scsi/dpt_i2o.c:171: warning: `dptids' defined but not used
make[3]: *** [drivers/scsi/dpt_i2o.o] Error 1
make[2]: *** [drivers/scsi] Error 2
make[1]: *** [drivers] Error 2

and I do have only one option selected in the .config file.

Any other thoughts?

Thanks,

Jon

Salyzyn, Mark wrote:

>This dpt_i2o patch *plus* the patch Markus submitted yesterday for the
>i2o driver to the kernel list need to be performed to create the mutual
>exclusion between the two drivers.
>
>Jon, just select one (CONFIG_SCSI_DPT_I2O) or the other (CONFIG_I2O) in
>your .config
>
>Sincerely -- Mark Salyzyn
>
>-----Original Message-----
>From: linux-scsi-owner@vger.kernel.org
>[mailto:linux-scsi-owner@vger.kernel.org] On Behalf Of James Bottomley
>Sent: Tuesday, August 09, 2005 12:11 PM
>To: Jon Scottorn
>Cc: SCSI Mailing List
>Subject: Re: Adaptec i2o controller
>
>On Tue, 2005-08-09 at 09:59 -0600, Jon Scottorn wrote:
>  
>
>>  I have been running a 2.6.8 kernel with the adaptec i2o scsi
>>controller and I went to upgrade to the 2.6.12.4 kernel and when I
>>reboot into that kernel I get a kernel panic. I am wondering either
>>    
>>
>what
>  
>
>>I have done wrong or what has changed with the i2o driver between the
>>two kernels. 
>>Here is the error I get, I am summarizing because I have to type the
>>error in.
>>
>>EIP is at adpt_isr+0x175/0x1f2
>>then has a stack and call trace:
>>(#0001,*0):c01035b2 oops
>>kernel panic - not syncing: Fatal exception in interrupt
>>    
>>
>
>Could you try out the patch in this email:
>
>http://marc.theaimsgroup.com/?l=linux-scsi&m=112351014310129
>
>Thanks,
>
>James
>
>
>-
>To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
>the body of a message to majordomo@vger.kernel.org
>More majordomo info at  http://vger.kernel.org/majordomo-info.html
>
>  
>

^ permalink raw reply	[flat|nested] 6+ messages in thread

* RE: Adaptec i2o controller
@ 2005-08-09 16:57 Salyzyn, Mark
  2005-08-09 18:13 ` Jon Scottorn
  0 siblings, 1 reply; 6+ messages in thread
From: Salyzyn, Mark @ 2005-08-09 16:57 UTC (permalink / raw)
  To: Jon Scottorn; +Cc: SCSI Mailing List

There is an additional 'build fix' patch that Andrew Morton submitted on
the kernel list (I have changed out his dpr_i2o with dpt_i2o below
though).

---------------------------------------------------
Cc: "Salyzyn, Mark" <mark_salyzyn@adaptec.com>
Cc: James Bottomley <James.Bottomley@steeleye.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
---

 drivers/scsi/dpt_i2o.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -puN drivers/scsi/dpt_i2o.c~dpt_i2o-build-fix
drivers/scsi/dpt_i2o.c
--- devel/drivers/scsi/dpt_i2o.c~dpt_i2o-build-fix	2005-08-09
00:18:51.000000000 -0700
+++ devel-akpm/drivers/scsi/dpt_i2o.c	2005-08-09 00:19:02.000000000
-0700
@@ -907,7 +907,7 @@ static int adpt_install_hba(struct scsi_
 		raptorFlag = TRUE;
 	}
 
-	if (pci_request_regions(pDev)) {
+	if (pci_request_regions(pDev, "dpt_i2o")) {
 		PERROR("dpti: adpt_config_hba: pci request region
failed\n");
 		return -EINVAL;
 	}
_
------------------------------------------------------------------------
-
Sincerely -- Mark Salyzyn

-----Original Message-----
From: linux-scsi-owner@vger.kernel.org
[mailto:linux-scsi-owner@vger.kernel.org] On Behalf Of Jon Scottorn
Sent: Tuesday, August 09, 2005 12:47 PM
To: unlisted-recipients
Cc: SCSI Mailing List
Subject: Re: Adaptec i2o controller

Thanks for the replies,

      After applying the patch, Now I get a compile error

drivers/scsi/dpt_i2o.c: In function `adpt_install_hba':
drivers/scsi/dpt_i2o.c:908: error: too few arguments to function
`pci_request_regions'
drivers/scsi/dpt_i2o.c: In function `adpt_isr':
drivers/scsi/dpt_i2o.c:2037: warning: passing arg 1 of `readl' makes
pointer from integer without a cast
drivers/scsi/dpt_i2o.c:2038: warning: passing arg 1 of `readl' makes
pointer from integer without a cast
drivers/scsi/dpt_i2o.c:2049: warning: passing arg 1 of `readl' makes
pointer from integer without a cast
drivers/scsi/dpt_i2o.c:2050: warning: passing arg 2 of `writel' makes
pointer from integer without a cast
drivers/scsi/dpt_i2o.c:2053: warning: passing arg 1 of `readl' makes
pointer from integer without a cast
drivers/scsi/dpt_i2o.c:2055: warning: passing arg 1 of `readl' makes
pointer from integer without a cast
drivers/scsi/dpt_i2o.c:2062: warning: passing arg 1 of `readl' makes
pointer from integer without a cast
drivers/scsi/dpt_i2o.c:2069: warning: passing arg 1 of `readl' makes
pointer from integer without a cast
drivers/scsi/dpt_i2o.c:2076: warning: passing arg 1 of `readl' makes
pointer from integer without a cast
drivers/scsi/dpt_i2o.c: In function `adpt_i2o_to_scsi':
drivers/scsi/dpt_i2o.c:2246: warning: passing arg 1 of `readl' makes
pointer from integer without a cast
drivers/scsi/dpt_i2o.c:2250: warning: passing arg 1 of `readl' makes
pointer from integer without a cast
drivers/scsi/dpt_i2o.c:2255: warning: passing arg 1 of `readl' makes
pointer from integer without a cast
drivers/scsi/dpt_i2o.c:2266: warning: passing arg 1 of `readl' makes
pointer from integer without a cast
drivers/scsi/dpt_i2o.c: At top level:
drivers/scsi/dpt_i2o.c:171: warning: `dptids' defined but not used
make[3]: *** [drivers/scsi/dpt_i2o.o] Error 1
make[2]: *** [drivers/scsi] Error 2
make[1]: *** [drivers] Error 2

and I do have only one option selected in the .config file.

Any other thoughts?

Thanks,

Jon

Salyzyn, Mark wrote:

>This dpt_i2o patch *plus* the patch Markus submitted yesterday for the
>i2o driver to the kernel list need to be performed to create the mutual
>exclusion between the two drivers.
>
>Jon, just select one (CONFIG_SCSI_DPT_I2O) or the other (CONFIG_I2O) in
>your .config
>
>Sincerely -- Mark Salyzyn
>
>-----Original Message-----
>From: linux-scsi-owner@vger.kernel.org
>[mailto:linux-scsi-owner@vger.kernel.org] On Behalf Of James Bottomley
>Sent: Tuesday, August 09, 2005 12:11 PM
>To: Jon Scottorn
>Cc: SCSI Mailing List
>Subject: Re: Adaptec i2o controller
>
>On Tue, 2005-08-09 at 09:59 -0600, Jon Scottorn wrote:
>  
>
>>  I have been running a 2.6.8 kernel with the adaptec i2o scsi
>>controller and I went to upgrade to the 2.6.12.4 kernel and when I
>>reboot into that kernel I get a kernel panic. I am wondering either
>>    
>>
>what
>  
>
>>I have done wrong or what has changed with the i2o driver between the
>>two kernels. 
>>Here is the error I get, I am summarizing because I have to type the
>>error in.
>>
>>EIP is at adpt_isr+0x175/0x1f2
>>then has a stack and call trace:
>>(#0001,*0):c01035b2 oops
>>kernel panic - not syncing: Fatal exception in interrupt
>>    
>>
>
>Could you try out the patch in this email:
>
>http://marc.theaimsgroup.com/?l=linux-scsi&m=112351014310129
>
>Thanks,
>
>James
>
>
>-
>To unsubscribe from this list: send the line "unsubscribe linux-scsi"
in
>the body of a message to majordomo@vger.kernel.org
>More majordomo info at  http://vger.kernel.org/majordomo-info.html
>
>  
>
-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Adaptec i2o controller
  2005-08-09 16:57 Adaptec i2o controller Salyzyn, Mark
@ 2005-08-09 18:13 ` Jon Scottorn
  0 siblings, 0 replies; 6+ messages in thread
From: Jon Scottorn @ 2005-08-09 18:13 UTC (permalink / raw)
  To: SCSI Mailing List

Ok, I have got it to compile and I have installed it.  I reboot and I
still get the same error I initially had, the kernel panic error. 

Any other suggestion that I could try?

Thanks,

Jon

Salyzyn, Mark wrote:

>There is an additional 'build fix' patch that Andrew Morton submitted on
>the kernel list (I have changed out his dpr_i2o with dpt_i2o below
>though).
>
>---------------------------------------------------
>Cc: "Salyzyn, Mark" <mark_salyzyn@adaptec.com>
>Cc: James Bottomley <James.Bottomley@steeleye.com>
>Signed-off-by: Andrew Morton <akpm@osdl.org>
>---
>
> drivers/scsi/dpt_i2o.c |    2 +-
> 1 files changed, 1 insertion(+), 1 deletion(-)
>
>diff -puN drivers/scsi/dpt_i2o.c~dpt_i2o-build-fix
>drivers/scsi/dpt_i2o.c
>--- devel/drivers/scsi/dpt_i2o.c~dpt_i2o-build-fix	2005-08-09
>00:18:51.000000000 -0700
>+++ devel-akpm/drivers/scsi/dpt_i2o.c	2005-08-09 00:19:02.000000000
>-0700
>@@ -907,7 +907,7 @@ static int adpt_install_hba(struct scsi_
> 		raptorFlag = TRUE;
> 	}
> 
>-	if (pci_request_regions(pDev)) {
>+	if (pci_request_regions(pDev, "dpt_i2o")) {
> 		PERROR("dpti: adpt_config_hba: pci request region
>failed\n");
> 		return -EINVAL;
> 	}
>_
>------------------------------------------------------------------------
>-
>Sincerely -- Mark Salyzyn
>
>-----Original Message-----
>From: linux-scsi-owner@vger.kernel.org
>[mailto:linux-scsi-owner@vger.kernel.org] On Behalf Of Jon Scottorn
>Sent: Tuesday, August 09, 2005 12:47 PM
>To: unlisted-recipients
>Cc: SCSI Mailing List
>Subject: Re: Adaptec i2o controller
>
>Thanks for the replies,
>
>      After applying the patch, Now I get a compile error
>
>drivers/scsi/dpt_i2o.c: In function `adpt_install_hba':
>drivers/scsi/dpt_i2o.c:908: error: too few arguments to function
>`pci_request_regions'
>drivers/scsi/dpt_i2o.c: In function `adpt_isr':
>drivers/scsi/dpt_i2o.c:2037: warning: passing arg 1 of `readl' makes
>pointer from integer without a cast
>drivers/scsi/dpt_i2o.c:2038: warning: passing arg 1 of `readl' makes
>pointer from integer without a cast
>drivers/scsi/dpt_i2o.c:2049: warning: passing arg 1 of `readl' makes
>pointer from integer without a cast
>drivers/scsi/dpt_i2o.c:2050: warning: passing arg 2 of `writel' makes
>pointer from integer without a cast
>drivers/scsi/dpt_i2o.c:2053: warning: passing arg 1 of `readl' makes
>pointer from integer without a cast
>drivers/scsi/dpt_i2o.c:2055: warning: passing arg 1 of `readl' makes
>pointer from integer without a cast
>drivers/scsi/dpt_i2o.c:2062: warning: passing arg 1 of `readl' makes
>pointer from integer without a cast
>drivers/scsi/dpt_i2o.c:2069: warning: passing arg 1 of `readl' makes
>pointer from integer without a cast
>drivers/scsi/dpt_i2o.c:2076: warning: passing arg 1 of `readl' makes
>pointer from integer without a cast
>drivers/scsi/dpt_i2o.c: In function `adpt_i2o_to_scsi':
>drivers/scsi/dpt_i2o.c:2246: warning: passing arg 1 of `readl' makes
>pointer from integer without a cast
>drivers/scsi/dpt_i2o.c:2250: warning: passing arg 1 of `readl' makes
>pointer from integer without a cast
>drivers/scsi/dpt_i2o.c:2255: warning: passing arg 1 of `readl' makes
>pointer from integer without a cast
>drivers/scsi/dpt_i2o.c:2266: warning: passing arg 1 of `readl' makes
>pointer from integer without a cast
>drivers/scsi/dpt_i2o.c: At top level:
>drivers/scsi/dpt_i2o.c:171: warning: `dptids' defined but not used
>make[3]: *** [drivers/scsi/dpt_i2o.o] Error 1
>make[2]: *** [drivers/scsi] Error 2
>make[1]: *** [drivers] Error 2
>
>and I do have only one option selected in the .config file.
>
>Any other thoughts?
>
>Thanks,
>
>Jon
>
>Salyzyn, Mark wrote:
>
>  
>
>>This dpt_i2o patch *plus* the patch Markus submitted yesterday for the
>>i2o driver to the kernel list need to be performed to create the mutual
>>exclusion between the two drivers.
>>
>>Jon, just select one (CONFIG_SCSI_DPT_I2O) or the other (CONFIG_I2O) in
>>your .config
>>
>>Sincerely -- Mark Salyzyn
>>
>>-----Original Message-----
>>From: linux-scsi-owner@vger.kernel.org
>>[mailto:linux-scsi-owner@vger.kernel.org] On Behalf Of James Bottomley
>>Sent: Tuesday, August 09, 2005 12:11 PM
>>To: Jon Scottorn
>>Cc: SCSI Mailing List
>>Subject: Re: Adaptec i2o controller
>>
>>On Tue, 2005-08-09 at 09:59 -0600, Jon Scottorn wrote:
>> 
>>
>>    
>>
>>> I have been running a 2.6.8 kernel with the adaptec i2o scsi
>>>controller and I went to upgrade to the 2.6.12.4 kernel and when I
>>>reboot into that kernel I get a kernel panic. I am wondering either
>>>   
>>>
>>>      
>>>
>>what
>> 
>>
>>    
>>
>>>I have done wrong or what has changed with the i2o driver between the
>>>two kernels. 
>>>Here is the error I get, I am summarizing because I have to type the
>>>error in.
>>>
>>>EIP is at adpt_isr+0x175/0x1f2
>>>then has a stack and call trace:
>>>(#0001,*0):c01035b2 oops
>>>kernel panic - not syncing: Fatal exception in interrupt
>>>   
>>>
>>>      
>>>
>>Could you try out the patch in this email:
>>
>>http://marc.theaimsgroup.com/?l=linux-scsi&m=112351014310129
>>
>>Thanks,
>>
>>James
>>
>>
>>-
>>To unsubscribe from this list: send the line "unsubscribe linux-scsi"
>>    
>>
>in
>  
>
>>the body of a message to majordomo@vger.kernel.org
>>More majordomo info at  http://vger.kernel.org/majordomo-info.html
>>
>> 
>>
>>    
>>
>-
>To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
>the body of a message to majordomo@vger.kernel.org
>More majordomo info at  http://vger.kernel.org/majordomo-info.html
>-
>To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
>the body of a message to majordomo@vger.kernel.org
>More majordomo info at  http://vger.kernel.org/majordomo-info.html
>
>  
>

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2005-08-09 18:13 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-09 16:57 Adaptec i2o controller Salyzyn, Mark
2005-08-09 18:13 ` Jon Scottorn
  -- strict thread matches above, loose matches on Subject: below --
2005-08-09 16:16 Salyzyn, Mark
2005-08-09 16:46 ` Jon Scottorn
2005-08-09 15:59 Jon Scottorn
2005-08-09 16:11 ` James Bottomley

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).