Bug 71778

Summary: 5.3 BETA3 doesnt see Adaptec 2015S FW Rev. 3B05, 2 ch, 256 CCBs, Protocol I2O while 4.10-RELEASE can use it
Product: Base System Reporter: Leroy R. van Logchem <leroy.vanlogchem>
Component: kernAssignee: freebsd-scsi (Nobody) <scsi>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 5.3-BETA3   
Hardware: Any   
OS: Any   

Description Leroy R. van Logchem 2004-09-15 23:00:43 UTC
The FreeBSD 5.3-BETA installer says no drives found.

Long problem description:
------------------------------

This occurs when using first install cd. On the system is still a 
working FBSD 4.10 install
which can use all drives connected to the Adaptec 2015S.

The bios output of the controller:
-------------------------------------

The Adaptec 2015S bios shows:

Controller: 0xF8300000 IRQ:5
Drive:   (0,0,0)   Adaptec RAID1      34GB
Proc:     (0,6,0)   SUPER GEM318
Drive:   (1,0,0)   IFT   ES A08U-G   697GB
Drive:   (1,0,1)   IFT   ES A08U-G   687GB

The 5.3-BETA3 bootloader reports:
Bios Drive C: is disk1
Bios Drive D: is disk2
Bios Drive E: is disk3

System hardware:
---------------------
Supermicro 6013P8 server
Adaptec AIC-7902 with Adaptec 2015S module.
Dual 36GB scsi onboard (being mirrored using the 2015S)
External Eonstor A08 raid cabinet.

Dmesg output captured using the live-cd:
----------------------------------------------

opyright (c) 1992-2004 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
      The Regents of the University of California. All rights reserved.
FreeBSD 5.3-BETA3
  root at mack.dcsl.buffalo.edu:/usr/obj/usr/src/sys/GENERIC
WARNING: WITNESS option enabled, expect reduced performance.
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Xeon(TM) CPU 2.80GHz (2799.69-MHz 686-class CPU)
Origin = "GenuineIntel"  Id = 0xf27  Stepping = 7

Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS, 

HTT,TM,PBE>
Hyperthreading: 2 logical CPUs
real memory  = 1073217536 (1023 MB)
avail memory = 1036460032 (988 MB)
MPTable: <  Kings Canyon>
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
cpu0 (BSP): APIC ID:  0
cpu1 (AP): APIC ID:  1
ioapic0: Assuming intbase of 0
ioapic1: Assuming intbase of 24
ioapic2: Assuming intbase of 48
ioapic0 <Version 2.0> irqs 0-23 on motherboard
ioapic1 <Version 2.0> irqs 24-47 on motherboard
ioapic2 <Version 2.0> irqs 48-71 on motherboard
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <MPTable Host-PCI bridge> pcibus 0 on motherboard
pci0: <PCI bus> on pcib0
pci0: <unknown> at device 0.1 (no driver attached)
pcib1: <PCI-PCI bridge> at device 2.0 on pci0
pci1: <PCI bus> on pcib1
pci1: <base peripheral, interrupt controller> at device 28.0 (no driver 
attached)
pcib2: <MPTable PCI-PCI bridge> at device 29.0 on pci1
pci2: <PCI bus> on pcib2
em0: <Intel(R) PRO/1000 Network Connection, Version - 1.7.25> port 
0x3000-0x303f mem 0xf8200000-0xf821ffff irq 54 at device 3.0 on p
ci2
em0: [GIANT-LOCKED]
em0: Ethernet address: 00:30:48:2a:53:be
em0:  Speed:N/A  Duplex:N/A
em1: <Intel(R) PRO/1000 Network Connection, Version - 1.7.25> port 
0x3040-0x307f mem 0xf8220000-0xf823ffff irq 55 at device 3.1 on p
ci2
em1: [GIANT-LOCKED]
em1: Ethernet address: 00:30:48:2a:53:bf
em1:  Speed:N/A  Duplex:N/A
pci1: <base peripheral, interrupt controller> at device 30.0 (no driver 
attached)
pcib3: <MPTable PCI-PCI bridge> at device 31.0 on pci1
pci3: <PCI bus> on pcib3
asr0: <Adaptec Caching SCSI RAID> mem 
0xfc000000-0xfdffffff,0xfb000000-0xfbffffff,0xf8300000-0xf83fffff irq 30 
at device 3.0 on pci3
asr0: [GIANT-LOCKED]
asr0: ADAPTEC 2015S FW Rev. 3B05, 2 channel, 256 CCBs, Protocol I2O
uhci0: <Intel 82801CA/CAM (ICH3) USB controller USB-A> port 
0x2000-0x201f irq 16 at device 29.0 on pci0
uhci0: [GIANT-LOCKED]
usb0: <Intel 82801CA/CAM (ICH3) USB controller USB-A> on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1: <Intel 82801CA/CAM (ICH3) USB controller USB-B> port 
0x2020-0x203f irq 19 at device 29.1 on pci0
uhci1: [GIANT-LOCKED]
usb1: <Intel 82801CA/CAM (ICH3) USB controller USB-B> on uhci1
usb1: USB revision 1.0
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2: <Intel 82801CA/CAM (ICH3) USB controller USB-C> port 
0x2040-0x205f irq 18 at device 29.2 on pci0
uhci2: [GIANT-LOCKED]
usb2: <Intel 82801CA/CAM (ICH3) USB controller USB-C> on uhci2
usb2: USB revision 1.0
uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
pcib4: <MPTable PCI-PCI bridge> at device 30.0 on pci0
pci4: <PCI bus> on pcib4
pci4: <display, VGA> at device 1.0 (no driver attached)
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel ICH3 UDMA100 controller> port 
0x2060-0x206f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 31.1 on pci0
ata0: channel #0 on atapci0
ata1: channel #1 on atapci0
pci0: <serial bus, SMBus> at device 31.3 (no driver attached)
cpu0 on motherboard
cpu1 on motherboard
orm0: <ISA Option ROMs> at iomem 
0xe0000-0xe3fff,0xc9000-0xcefff,0xc8000-0xc8fff,0xc0000-0xc7fff on isa0
pmtimer0 on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x64,0x60 on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: model VersaPad, device ID 0
fdc0: <Enhanced floppy controller (i82077, NE72065 or clone)> at port 
0x3f7,0x3f0-0x3f5 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
ppc0: parallel port not found.
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0: configured irq 4 not in bitmap of probed irqs 0
sio0: port may not be enabled
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 8250 or not responding
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
ahc0: No resources alloated.
unknown: <PNP0303> can't assign resources (port)
unknown: <PNP0c02> can't assign resources (memory)
ahc0: No resources alloated.
ahc0: No resources alloated.
ahc0: No resources alloated.
ahc0: No resources alloated.
unknown: <PNP0f13> can't assign resources (irq)
unknown: <PNP0700> can't assign resources (port)
Timecounters tick every 10.000 msec
md0: Preloaded image </boot/mfsroot> 4423680 bytes at 0xc09d4800
ATAPI_RESET time = 40us
acd0: CDROM <CD-224E/1.9A> at ata1-master UDMA33
SMP: AP CPU #1 Launched!
Mounting root from ufs:/dev/md0

Fix: 

No fix but 4.10-RELEASE can see and use the scsi drives and external attached raid-cabinets.
How-To-Repeat: Use a Supermicro 6013P8's with Adaptec 2015 SCSI. Boot the FreeBSD 5.3-BETA2 or 3 installation cd.
Comment 1 Peter Pentchev 2004-09-16 01:40:37 UTC
On Wed, Sep 15, 2004 at 09:53:59PM +0000, Leroy R. van Logchem wrote:
> 
> >Number:         71778
> >Category:       kern
> >Synopsis:       5.3 BETA3 doesnt see Adaptec 2015S FW Rev. 3B05, 2 ch, 256 CCBs, Protocol I2O while 4.10-RELEASE can use it
> >Originator:     Leroy R. van Logchem
[snip]
> Dmesg output captured using the live-cd:

Could you also provide the output of 'pnpinfo' and 'pciconf -lv' from
the live CD's shell prompt?

G'luck,
Peter

-- 
Peter Pentchev	roam@ringlet.net    roam@cnsys.bg    roam@FreeBSD.org
PGP key:	http://people.FreeBSD.org/~roam/roam.key.asc
Key fingerprint	FDBA FD79 C26F 3C51 C95E  DF9E ED18 B68D 1619 4553
I am the thought you are now thinking.
Comment 2 Mark Linimon freebsd_committer freebsd_triage 2004-09-16 04:41:51 UTC
Responsible Changed
From-To: freebsd-bugs->freebsd-scsi

Over to mailing list.
Comment 3 Leroy R. van Logchem 2004-09-16 08:48:15 UTC
Output of 'pciconf -lv':
------------------------

hostb0@pci0:0:0:        class=0x060000 card=0x358015d9 chip=0x254c8086 
rev=0x01 hdr=0x00
    class    = bridge
    subclass = HOST-PCI
none0@pci0:0:1: class=0xff0000 card=0x358015d9 chip=0x25418086 rev=0x01 
hdr=0x00
pcib1@pci0:2:0: class=0x060400 card=0x00000000 chip=0x25438086 rev=0x01 
hdr=0x01
    class    = bridge
    subclass = PCI-PCI
uhci0@pci0:29:0:        class=0x0c0300 card=0x358015d9 chip=0x24828086 
rev=0x02 hdr=0x00
    class    = serial bus
    subclass = USB
uhci1@pci0:29:1:        class=0x0c0300 card=0x358015d9 chip=0x24848086 
rev=0x02 hdr=0x00
    class    = serial bus
    subclass = USB
uhci2@pci0:29:2:        class=0x0c0300 card=0x358015d9 chip=0x24878086 
rev=0x02 hdr=0x00
    class    = serial bus
    subclass = USB
pcib4@pci0:30:0:        class=0x060400 card=0x00000000 chip=0x244e8086 
rev=0x42 hdr=0x01
    class    = bridge
    subclass = PCI-PCI
isab0@pci0:31:0:        class=0x060100 card=0x00000000 chip=0x24808086 
rev=0x02 hdr=0x00
    class    = bridge
    subclass = PCI-ISA
atapci0@pci0:31:1:      class=0x01018a card=0x358015d9 chip=0x248b8086 
rev=0x02 hdr=0x00
    class    = mass storage
    subclass = ATA
none1@pci0:31:3:        class=0x0c0500 card=0x358015d9 chip=0x24838086 
rev=0x02 hdr=0x00
    class    = serial bus
    subclass = SMBus
none2@pci1:28:0:        class=0x080020 card=0x358015d9 chip=0x14618086 
rev=0x04 hdr=0x00
    class    = base peripheral
    subclass = interrupt controller
pcib2@pci1:29:0:        class=0x060400 card=0x00000050 chip=0x14608086 
rev=0x04 hdr=0x01
    class    = bridge
    subclass = PCI-PCI
none3@pci1:30:0:        class=0x080020 card=0x358015d9 chip=0x14618086 
rev=0x04 hdr=0x00
    class    = base peripheral
    subclass = interrupt controller
pcib3@pci1:31:0:        class=0x060400 card=0x00000050 chip=0x14608086 
rev=0x04 hdr=0x01
    class    = bridge
    subclass = PCI-PCI
em0@pci2:3:0:   class=0x020000 card=0x10118086 chip=0x10108086 rev=0x01 
hdr=0x00
    class    = network
    subclass = ethernet
em1@pci2:3:1:   class=0x020000 card=0x10118086 chip=0x10108086 rev=0x01 
hdr=0x00
    class    = network
    subclass = ethernet
asr0@pci3:3:0:  class=0x010400 card=0xc0341044 chip=0xa5111044 rev=0x01 
hdr=0x00
    class    = mass storage
    subclass = RAID
none4@pci4:1:0: class=0x030000 card=0x00081002 chip=0x47521002 rev=0x27 
hdr=0x00
    class    = display
    subclass = VGA

Output of 'pnpinfo':
--------------------
Checking for Plug-n-Play devices...
No Plug-n-Play devices were found
Comment 4 Peter Pentchev 2004-09-16 11:25:53 UTC
Make sure GNATS sees the originator's follow-up...

----- Forwarded message from Leroy van Logchem <leroy.vanlogchem@wldelft.nl> -----

Date: Thu, 16 Sep 2004 10:02:20 +0200
From: Leroy van Logchem <leroy.vanlogchem@wldelft.nl>
To: Peter Pentchev <roam@ringlet.net>
Subject: Re: kern/71778: 5.3 BETA3 doesnt see Adaptec 2015S FW Rev. 3B05,
 2 ch, 256 CCBs, Protocol I2O while 4.10-RELEASE can use it
In-Reply-To: <20040916004037.GL1001@straylight.m.ringlet.net>

Peter Pentchev wrote:

>On Wed, Sep 15, 2004 at 09:53:59PM +0000, Leroy R. van Logchem wrote:
> 
>
>>>Number:         71778
>>>Category:       kern
>>>Synopsis:       5.3 BETA3 doesnt see Adaptec 2015S FW Rev. 3B05, 2 ch, 
>>>256 CCBs, Protocol I2O while 4.10-RELEASE can use it
>>>Originator:     Leroy R. van Logchem
>>>     
>>>
>[snip]
> 
>
>>Dmesg output captured using the live-cd:
>>   
>>
>
>Could you also provide the output of 'pnpinfo' and 'pciconf -lv' from
>the live CD's shell prompt?
>
>G'luck,
>Peter
> 
>
Hi Peter,

Thanks for looking at the PR since it would be greatly appricated when 
this works.

Output of 'pciconf -lv':
------------------------

hostb0@pci0:0:0:        class=0x060000 card=0x358015d9 chip=0x254c8086 
rev=0x01 hdr=0x00
  class    = bridge
  subclass = HOST-PCI
none0@pci0:0:1: class=0xff0000 card=0x358015d9 chip=0x25418086 rev=0x01 
hdr=0x00
pcib1@pci0:2:0: class=0x060400 card=0x00000000 chip=0x25438086 rev=0x01 
hdr=0x01
  class    = bridge
  subclass = PCI-PCI
uhci0@pci0:29:0:        class=0x0c0300 card=0x358015d9 chip=0x24828086 
rev=0x02 hdr=0x00
  class    = serial bus
  subclass = USB
uhci1@pci0:29:1:        class=0x0c0300 card=0x358015d9 chip=0x24848086 
rev=0x02 hdr=0x00
  class    = serial bus
  subclass = USB
uhci2@pci0:29:2:        class=0x0c0300 card=0x358015d9 chip=0x24878086 
rev=0x02 hdr=0x00
  class    = serial bus
  subclass = USB
pcib4@pci0:30:0:        class=0x060400 card=0x00000000 chip=0x244e8086 
rev=0x42 hdr=0x01
  class    = bridge
  subclass = PCI-PCI
isab0@pci0:31:0:        class=0x060100 card=0x00000000 chip=0x24808086 
rev=0x02 hdr=0x00
  class    = bridge
  subclass = PCI-ISA
atapci0@pci0:31:1:      class=0x01018a card=0x358015d9 chip=0x248b8086 
rev=0x02 hdr=0x00
  class    = mass storage
  subclass = ATA
none1@pci0:31:3:        class=0x0c0500 card=0x358015d9 chip=0x24838086 
rev=0x02 hdr=0x00
  class    = serial bus
  subclass = SMBus
none2@pci1:28:0:        class=0x080020 card=0x358015d9 chip=0x14618086 
rev=0x04 hdr=0x00
  class    = base peripheral
  subclass = interrupt controller
pcib2@pci1:29:0:        class=0x060400 card=0x00000050 chip=0x14608086 
rev=0x04 hdr=0x01
  class    = bridge
  subclass = PCI-PCI
none3@pci1:30:0:        class=0x080020 card=0x358015d9 chip=0x14618086 
rev=0x04 hdr=0x00
  class    = base peripheral
  subclass = interrupt controller
pcib3@pci1:31:0:        class=0x060400 card=0x00000050 chip=0x14608086 
rev=0x04 hdr=0x01
  class    = bridge
  subclass = PCI-PCI
em0@pci2:3:0:   class=0x020000 card=0x10118086 chip=0x10108086 rev=0x01 
hdr=0x00
  class    = network
  subclass = ethernet
em1@pci2:3:1:   class=0x020000 card=0x10118086 chip=0x10108086 rev=0x01 
hdr=0x00
  class    = network
  subclass = ethernet
asr0@pci3:3:0:  class=0x010400 card=0xc0341044 chip=0xa5111044 rev=0x01 
hdr=0x00
  class    = mass storage
  subclass = RAID
none4@pci4:1:0: class=0x030000 card=0x00081002 chip=0x47521002 rev=0x27 
hdr=0x00
  class    = display
  subclass = VGA

Output of 'pnpinfo':
--------------------
Checking for Plug-n-Play devices...
No Plug-n-Play devices were found


Anymore information needed?

Best regards,
Leroy



----- End forwarded message -----
Comment 5 Leroy R. van Logchem 2004-10-07 14:33:19 UTC
Tried 5.3-BETA7 still no disks found.
Comment 6 Leroy R. van Logchem 2004-10-21 12:27:32 UTC
Tried 5.3-RC1 today. Something changed this time :) It *does* show the 
drives in the bootloader and when I issue a 'lsdev' at the prompt it 
lists them all. But the installer still says "No drives found".
Comment 7 Leroy R. van Logchem 2004-11-03 15:32:40 UTC
Tried to boot the 386 disc1 iso of FreeBSD-5.3-RC2. When using verbose 
booting the screen is filled with:

...
(probe7:asr0:1:0:0): Request Command
(probe7:asr0:1:0:0): Retrying Command
...

These messages keep on being produced and the raid cabinets leds are 
very busy.
The SCSI bios and BTX loader did see the drives just like RC1.
Comment 8 Leroy R. van Logchem 2004-11-12 08:58:51 UTC
Another update, now using 5.3-RELEASE I can use the interal RAID-1 device:

ses0 at asr0 bus 0 target 6 lun 0
ses0: <SUPER GEM318 0> Fixed Processor SCSI-2 device 
ses0: SAF-TE Compliant Device
da0 at asr0 bus 0 target 0 lun 0
da0: <ADAPTEC RAID-1 3B0A> Fixed Direct Access SCSI-2 device 
da0: Tagged Queueing Enabled
da0: 35003MB (71686144 512 byte sectors: 255H 63S/T 4462C)


But when I attach the external Eonstor A08 raid cabinet (IFT ES A08U-G) 
none of the devices are found.
Sorry to repeat but the bios and loader (lsdev -v) do see the devices. 
After booting no geoms/devices have been created.

All information is now hosted here:

http://cybercon.info/kern_71778/4.10-RELEASE.camcontrol-EonStore_connected
http://cybercon.info/kern_71778/4.10-RELEASE.dmesg-EonStore_connected
http://cybercon.info/kern_71778/4.10-RELEASE.pciconf-EonStore_connected
http://cybercon.info/kern_71778/5.3-RELEASE.camcontrol-EonStore_connected
http://cybercon.info/kern_71778/5.3-RELEASE.camcontrol-EonStore_disconnected
http://cybercon.info/kern_71778/5.3-RELEASE.dmesg-EonStore_connected
http://cybercon.info/kern_71778/5.3-RELEASE.dmesg-EonStore_disconnected
http://cybercon.info/kern_71778/5.3-RELEASE.pciconf-EonStore_connected
http://cybercon.info/kern_71778/5.3-RELEASE.pciconf-EonStore_disconnected

( the vendor and device strings do not show with pciconf -l -v using the 
live cd, why might that be?)

Leroy
Comment 9 Leroy R. van Logchem 2005-01-20 09:21:27 UTC
The raid cabinets are working now using 5.3-RELEASE-p5 after a bios
downgrade on the servers mainboard.

I guess it can be closed with the conclusion that if you use Supermicro
6013-P8 servers with the AIC-7902 (PCI-X) and ZCR 2015S addon you have
to bring the bios down to version 1.5 instead of 1.6. (Meanwhile we are
waiting for a reaction from Supermicro about what the changes really are
in 1.6)

Thanks to all people who have send my suggestions and tips in general!
Comment 10 Mark Linimon freebsd_committer freebsd_triage 2005-10-24 07:59:30 UTC
State Changed
From-To: open->closed

Submitter notes that this problem was fixed by downgrading the BIOS, so 
this is a problem particular to one BIOS revision.