kernel/5156: problem with 3.9 kernel recognizing SCSI device

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

kernel/5156: problem with 3.9 kernel recognizing SCSI device

jeffb-2
>Number:         5156
>Category:       kernel
>Synopsis:       problem with 3.9 kernel recognizing SCSI device
>Confidential:   yes
>Severity:       serious
>Priority:       low
>Responsible:    bugs
>State:          open
>Quarter:        
>Keywords:      
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jun 15 22:40:01 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     jeffb
>Release:        OpenBSD 3.9-stable (GENERIC)
>Organization:
University of Chicago
net
>Environment:
       
        System      : OpenBSD 3.9
        Architecture: OpenBSD.i386
        Machine     : i386
>Description:
        I was replacing the 3.7 system disk with a 3.9 system disk
        created on same hardware.  The 3.9 installation does not
        recognize the SCSI raid device.  
        Error: /bsd: probe(ahc1:0:0): Unexpected busfree in Message-out phase

        The SCSI card is the Adaptec AHA-29160 with the
        raid and cables the same.  Could replace 3.9 kernel with 3.7 and
        problem goes away.  The power-up scsi utility is happy and sees
        the raid device ok, as does the boot manager for OpenBSD.

>How-To-Repeat:

        Here is the dmesg trace on bootup with 3.9:

Jun 15 08:27:11 nodename /bsd: ahc1 at pci2 dev 7 function 0 "Adaptec AHA-29160 U160" rev 0x02: irq 11
Jun 15 08:27:11 nodename /bsd: scsibus0 at ahc1: 16 targets
Jun 15 08:27:11 nodename /bsd: probe(ahc1:0:0): Unexpected busfree in Message-out phase
Jun 15 08:27:11 nodename /bsd: SEQADDR == 0x16c
Jun 15 08:27:11 nodename /bsd: xl0 at pci2 dev 12 function 0 "3Com 3c905C 100Base-TX" rev

        Keeping everything the same and using kernel from 3.7

Jun 15 09:12:14 nodename /bsd: ahc1 at pci2 dev 7 function 0 "Adaptec AHA-29160 U160" rev 0x02: irq 11
Jun 15 09:12:14 nodename /bsd: scsibus0 at ahc1: 16 targets
Jun 15 09:12:14 nodename /bsd: sd0 at scsibus0 targ 0 lun 0: <ENHANCE, USTOR RS2080, 231T> SCSI4 0/direct fixed

Things I tried:
1.      using the /usr/src/sys/dev/pci/ahc_pci.c from 3.7 source tree  
2.      using the /usr/src/sys/dev/ic/aic7xxx.c from 3.7 source tree
and recompile kernel. Item 1 did not change anything.  Item 2 could not
compile error free.

>Fix:

Temporary and unusable fix:  replace /bsd with the /bsd from the 3.7 system.
Problem went away but not a usable solution.

Workable fix:  Fortunately I have some other SCSI cards.  
The Symbios Logic 53c1030 worked with my 3.9 installation.  
But why does the 3.9 kernel break the Adaptec AHA-29160 installation?

Thanks for looking at this.
-jeffb


>Release-Note:
>Audit-Trail:
>Unformatted: