Adaptec2940: Can't get configSpace; ABORTING

Started by rey, May 12, 2017, 07:18:18 am

Previous topic - Next topic

wa2flq

Quote from: "t-rexky"There has to be something peculiar about your setup.  I have two IBM P4 IntelliStation machines.  One is running NS3.3, the other one OS4.2.  One has an Adaptec 2940UW and the other 2940U2W.  The U2W needed convincing by changing the PCI ID in the driver.  Everything works flawlessly.

The issue with IDE is that very new hardware will either not be recognized or may not run in UDMA mode.  This gives SCSI a big advantage in terms of portability and performance.  Generally speaking, of course - if it does not work then it is of no help...


The other advantage for SCSI is the amount of storage you can attach.  IDE is limited to a a few IDE 8 GB (BIOS limited) max drives.  Less if you have a CDROM.  With a SCSI I can add 19 GB drives until I run out of SCSI ID's . :wink:

neozeed

Quote from: "wa2flq"
Quote from: "t-rexky"There has to be something peculiar about your setup.  I have two IBM P4 IntelliStation machines.  One is running NS3.3, the other one OS4.2.  One has an Adaptec 2940UW and the other 2940U2W.  The U2W needed convincing by changing the PCI ID in the driver.  Everything works flawlessly.

The issue with IDE is that very new hardware will either not be recognized or may not run in UDMA mode.  This gives SCSI a big advantage in terms of portability and performance.  Generally speaking, of course - if it does not work then it is of no help...


The other advantage for SCSI is the amount of storage you can attach.  IDE is limited to a a few IDE 8 GB (BIOS limited) max drives.  Less if you have a CDROM.  With a SCSI I can add 19 GB drives until I run out of SCSI ID's . :wink:


got a dmesg?

I notice in the kernel source & the newfs that the disk types are limited to an unsigned short for how many cylinders a disk can have, which is only 65,535 cylinders.... (16 bits).
# include <wittycomment.h>

wa2flq

Quote from: "neozeed"
Quote from: "wa2flq"
Quote from: "t-rexky"There has to be something peculiar about your setup.  I have two IBM P4 IntelliStation machines.  One is running NS3.3, the other one OS4.2.  One has an Adaptec 2940UW and the other 2940U2W.  The U2W needed convincing by changing the PCI ID in the driver.  Everything works flawlessly.

The issue with IDE is that very new hardware will either not be recognized or may not run in UDMA mode.  This gives SCSI a big advantage in terms of portability and performance.  Generally speaking, of course - if it does not work then it is of no help...


The other advantage for SCSI is the amount of storage you can attach.  IDE is limited to a a few IDE 8 GB (BIOS limited) max drives.  Less if you have a CDROM.  With a SCSI I can add 19 GB drives until I run out of SCSI ID's . :wink:


got a dmesg?

I notice in the kernel source & the newfs that the disk types are limited to an unsigned short for how many cylinders a disk can have, which is only 65,535 cylinders.... (16 bits).



The 2490 is ID 0x81789004

Mar 25 14:23:22 starbase mach: NeXT Mach 4.2: Tue Jan 26 11:21:50 PST 1999; root(rcbuilder):Objects/mk-183.34.4.obj~2/RELEASE_I386
Mar 25 14:23:22 starbase mach: physical memory = 384.00 megabytes.
Mar 25 14:23:22 starbase mach: using 255 buffers containing 1.99 megabytes of memory
Mar 25 14:23:22 starbase mach: available memory = 375.35 megabytes. vm_page_free_count = bbad
Mar 25 14:23:22 starbase mach: PnP: Plug and Play support enabled
Mar 25 14:23:22 starbase mach: PnP: Plug and Play BIOS present
Mar 25 14:23:22 starbase mach: PnP: read port 0x0, max csn 0
Mar 25 14:23:22 starbase mach: ISA/EISA bus support enabled
Mar 25 14:23:22 starbase mach: PCI Ver=2.10 BusCount=2 Features=[ BIOS16 CM1 SC1 ]
Mar 25 14:23:22 starbase mach: Found PCI 2.0 device: ID=0x71908086 at Dev=0 Func=0 Bus=0
Mar 25 14:23:22 starbase mach: Found PCI 2.0 device: ID=0x71918086 at Dev=1 Func=0 Bus=0
Mar 25 14:23:22 starbase mach: Found PCI 2.1 device: ID=0x12298086/0x00098086 at Dev=3 Func=0 Bus=0
Mar 25 14:23:22 starbase mach: Found PCI 2.1 device: ID=0x30381106/0x30381106 at Dev=4 Func=0 Bus=0
Mar 25 14:23:22 starbase mach: Found PCI 2.1 device: ID=0x30381106/0x30381106 at Dev=4 Func=1 Bus=0
Mar 25 14:23:22 starbase mach: Found PCI 2.1 device: ID=0x31041106/0x31041106 at Dev=4 Func=2 Bus=0
Mar 25 14:23:22 starbase mach: Found PCI 2.1 device: ID=0x30441106/0x30441106 at Dev=4 Func=3 Bus=0
Mar 25 14:23:22 starbase mach: Found PCI 2.0 device: ID=0x81789004 at Dev=6 Func=0 Bus=0
Mar 25 14:23:22 starbase mach: Found PCI 2.1 device: ID=0x8009104c/0xb11f0e11 at Dev=19 Func=0 Bus=0
Mar 25 14:23:22 starbase mach: Found PCI 2.0 device: ID=0x71108086 at Dev=20 Func=0 Bus=0
Mar 25 14:23:22 starbase mach: Found PCI 2.0 device: ID=0x71118086 at Dev=20 Func=1 Bus=0
Mar 25 14:23:22 starbase mach: Found PCI 2.1 device: ID=0x4c421002/0x00441002 at Dev=0 Func=0 Bus=1
Mar 25 14:23:22 starbase mach: PCI bus support enabled
Mar 25 14:23:22 starbase mach: ISA bus
Mar 25 14:23:22 starbase mach: DriverKit version 420
Mar 25 14:23:22 starbase mach: configureDriver: driver class '' was not loaded
Mar 25 14:23:22 starbase mach: Driver  could not be configured
Mar 25 14:23:22 starbase mach: Registering: EISA0
Mar 25 14:23:22 starbase mach: PCI bus support enabled
Mar 25 14:23:22 starbase mach: Registering: PCI0
Mar 25 14:23:22 starbase mach: Registering: PCMCIA0
Mar 25 14:23:22 starbase mach: PCIC: No device at base address 0x03e0
Mar 25 14:23:22 starbase mach: Registering: PS2Controller
Mar 25 14:23:22 starbase mach: Registering: PCKeyboard0
Mar 25 14:23:22 starbase mach: Registering: fc0
Mar 25 14:23:22 starbase mach: Registering: fd0
Mar 25 14:23:22 starbase mach: Registering: ISASerialPort0
Mar 25 14:23:22 starbase mach: ISASerialPort0: Base=0x03f8, IRQ=4, Type=16550AF/C/CF, FIFO=16
Mar 25 14:23:22 starbase mach: Adaptec 2940 Host Adapter found at Bus 0 Device 6
Mar 25 14:23:22 starbase mach: a2940_0: 16 Targets per Bus
Mar 25 14:23:22 starbase mach: Resetting SCSI Bus...
Mar 25 14:23:22 starbase mach: Registering: a2940_0 at 0x2400
Mar 25 14:23:22 starbase mach: Registering: sc0 at a2940_0 SCSI Bus 0 Target 7
Mar 25 14:23:22 starbase mach: sd0: SEAGATE ST318438LW 0003
Mar 25 14:23:22 starbase mach: Registering: sd0 at Target 0 LUN 0 at sc0
Mar 25 14:23:22 starbase mach: sd0: Device Block Size: 512 bytes
Mar 25 14:23:22 starbase mach: sd0: Device Capacity:   19001 MB
Mar 25 14:23:22 starbase mach: sd0: Disk Label:        Disk
Mar 25 14:23:22 starbase mach: sd1: SEAGATE ST318438LW 0003
Mar 25 14:23:22 starbase mach: Registering: sd1 at Target 1 LUN 0 at sc0
Mar 25 14:23:22 starbase mach: sd1: No Valid Disk Label
Mar 25 14:23:22 starbase mach: sd1: Device Block Size: 512 bytes
Mar 25 14:23:22 starbase mach: sd1: Device Capacity:   19001 MB
Mar 25 14:23:22 starbase mach: Registering: sg0 at sc0
Mar 25 14:23:22 starbase mach: Registering: sg1 at sc0
Mar 25 14:23:22 starbase mach: Registering: sg2 at sc0
Mar 25 14:23:22 starbase mach: Registering: sg3 at sc0
Mar 25 14:23:22 starbase mach: hc0: PIIX4 PCI IDE Controller at Dev:20 Func:1 Bus:0
Mar 25 14:23:22 starbase mach: hc0: PCI bus master DMA: Enabled
Mar 25 14:23:22 starbase mach: hc0: device detected at port 0x1f0 irq 14
Mar 25 14:23:22 starbase mach: hc0: Checking for ATA drive 0...  Detected
Mar 25 14:23:22 starbase mach: hc0: Checking for ATA drive 1...
Mar 25 14:23:22 starbase mach: hc0: Checking for ATAPI drive 1...
Mar 25 14:23:22 starbase mach: hc0: Resetting drives...
Mar 25 14:23:22 starbase mach: hc0: interrupt timeout, cmd: 0xc8
Mar 25 14:23:22 starbase mach: hc0: PIIX IDE status:0x20 error:6
Mar 25 14:23:22 starbase mach: hc0: Drive 0 DMA test FAILED
Mar 25 14:23:22 starbase mach: hc0: Drive 0: PIO Mode 4
Mar 25 14:23:22 starbase mach: Registering: hc0
Mar 25 14:23:22 starbase mach: hd0: MAXTOR STM3160815A 3.AAD
Mar 25 14:23:22 starbase mach: hd0: 16383 cylinders, 16 heads, 63 spt (disk geometry)
Mar 25 14:23:22 starbase mach: hd0: using multisector (16) transfers.
Mar 25 14:23:22 starbase mach: Registering: hd0
Mar 25 14:23:22 starbase mach: hd0: No Valid Disk Label
Mar 25 14:23:22 starbase mach: hd0: Device Block Size: 512 bytes
Mar 25 14:23:22 starbase mach: hd0: Device Capacity:   8063 MB
Mar 25 14:23:22 starbase mach: hc1: PIIX4 PCI IDE Controller at Dev:20 Func:1 Bus:0
Mar 25 14:23:22 starbase mach: hc1: PCI bus master DMA: Enabled
Mar 25 14:23:22 starbase mach: hc1: no devices detected at port 0x170
Mar 25 14:23:22 starbase mach: Registering: event0
Mar 25 14:23:22 starbase mach: Registering: kmDevice0
Mar 25 14:23:22 starbase mach: root on sd0a
Mar 25 14:23:22 starbase mach: rootdev 600, howto 0
Mar 25 14:23:22 starbase mach: Power management is enabled.
Mar 25 14:23:22 starbase mach: Installing interfaces:
Mar 25 14:23:22 starbase mach: Registering: ppp0
Mar 25 14:23:22 starbase mach: Registering: ppp1
Mar 25 14:23:22 starbase mach: Registering: PS2Mouse
Mar 25 14:23:22 starbase mach: SerialPointingDevice: No mouse detected on serial port ISASerialPort0.
Mar 25 14:23:22 starbase mach: PCPointer probe: mouseInit failure
Mar 25 14:23:22 starbase mach: Display0: ATI Rage/Rage II/Rage Pro Found!
Mar 25 14:23:22 starbase mach: Display0: Type LT.  Gamma: YES.  Memory: 8 MBytes.
Mar 25 14:23:22 starbase mach: Display: Mode selected: 1280 x 1024 @ 60 Hz (RGB:888/32)
Mar 25 14:23:22 starbase mach: Display0: 24 Bit Color Configuration = Default
Mar 25 14:23:22 starbase mach: Registering: Display0
Mar 25 14:23:22 starbase mach: Registering: pp0
Mar 25 14:23:22 starbase mach: Registering: NEXTIME_Sound
Mar 25 14:23:22 starbase mach: Intel82557: PCI Dev: 3 Func: 0 Bus: 0
Mar 25 14:23:22 starbase mach: Registering: en0
Mar 25 14:23:22 starbase mach: en0: Intel EtherExpress PRO/100B PCI memory 0x41800000 irq 3 100Base-TX full duplex
Mar 25 14:23:22 starbase mach: IP protocol enabled for interface en0, type "10MB Ethernet"
Mar 25 14:23:22 starbase mach: en0: Ethernet address 02:95:44:33:21:90
Mar 25 14:23:22 starbase mach: SoundBlaster16 hardware version is 4.11
Mar 25 14:23:22 starbase mach: SoundBlaster16 at dma channels 1 and 5 irq 10
Mar 25 14:23:22 starbase mach: Registering: SoundBlaster16
Mar 25 14:23:22 starbase mach: st: major number 7
Mar 25 14:23:27 starbase reboot: Reboot complete

neozeed

is your sd0a one big partition/filesystem?

It's such a PITA that white box hardware is so .... touch and go for support ... :|
# include <wittycomment.h>

neozeed

Quote from: "rey"I'm guessing I should give up. My motherboard is the Supermicro p4sga, which was almost like the one that others successfully installed 3.3, but not exactly.

It hangs after the last line.


private image sharing


Looking back at this image, we probably should have looked at the detected PCI table.  I've just done a google for every device, and you know what I'm not seeing?  There is no SCSI card.



chip0@pci0:0:0: class=0x060000 card=0x25608086 chip=0x25608086 rev=0x02 hdr=0x00
   vendor   = 'Intel Corporation'
   device   = '82845G/GL/GV/GE/PE DRAM Controller / Host-Hub I/F Bridge'
   class    = bridge
   subclass = HOST-PCI

pcib1@pci0:1:0: class=0x060400 card=0x00000000 chip=0x25618086 rev=0x02 hdr=0x01
   vendor   = 'Intel Corporation'
   device   = '82845G/GL/GV/GE/PE Brookdale Host-to-AGP Bridge'
   class    = bridge
   subclass = PCI-PCI

pcib2@pci0:30:0: class=0x060400 card=0x00000000 chip=0x244e8086 rev=0x82 hdr=0x01
   vendor   = 'Intel Corporation'
   device   = '82801BA/CA/DB (ICH2/3/4) Hub Interface to PCI Bridge (244E)'
   class    = bridge
   subclass = PCI-PCI

isab0@pci0:31:0: class=0x060100 card=0x00000000 chip=0x24c08086 rev=0x02 hdr=0x00
   vendor   = 'Intel Corporation'
   device   = '82801DB (ICH4) LPC Interface Bridge'
   class    = bridge
   subclass = PCI-ISA

atapci0@pci0:31:1: class=0x01018a card=0x53568086 chip=0x24cb8086 rev=0x02 hdr=0x00
   vendor   = 'Intel Corporation'
   device   = '82801DB (ICH4) UltraATA/100 EIDE Controller'
   class    = mass storage
   subclass = ATA

de0@pci0:10:0: class=0x020000 card=0x21140a00 chip=0x00091011 rev=0x20 hdr=0x00
   vendor   = 'Digital Equipment Corporation'
   device   = 'DecChip 21140 Fast Ethernet Adapter'
   class    = network
   subclass = ethernet

none0@pci1:0:0:    class=0x030000 card=0x1b1e10b4 chip=0x001812d2 rev=0x10 hdr=0x00
   vendor     = 'Nvidia (Was:STB,SGS Thompson)'
   device     = 'RIVA 128 2D/3D GUI Accelerator'
   class      = display
   subclass   = VGA


Your card is either dead, or some other hardware issue is up.

And here is wa2flq's PCI ID, which of course is the Adaptec card in question...

ahc0 at pci2:9:0:  class=0x010000 card=0x00000000 chip=0x81789004 rev=0x00 hdr=0x00
   vendor   = 'Adaptec Inc'
   device   = 'AHA-2940U/UW/2940D Ultra/Ultra Wide/Dual SCSI Host Adapter'
   class    = mass storage
   subclass = SCSI
# include <wittycomment.h>

wa2flq

Quote from: "neozeed"is your sd0a one big partition/filesystem?

It's such a PITA that white box hardware is so .... touch and go for support ... :|


sd0a is a 4GB partition, the most OS 4.2 will support.  There are 4 other similar partitions and one slightly smaller on that drive.  I've had 5 drives, plus the DDS tape attached at one time.  I can boot from other drives and partitions if I take the time to set them up. If you google around, its not hard to find which hardware works and has driver support.

itomato

Quote from: "rey"

So why bother with this Adaptec 2940AU?

Maybe I'll put this SCSI equipment in storage...


The device ID of your 2940AU might not be detected. Check Configure.app to see if the PCI device is shown next to the Adaptec driver.

As for why to bother, if you have a Wide SCSI device, you'll notice the difference, especially at 10K RPMs. Wide SCSI is something like 10MB/s vs. 3 MB/s for EIDE.
-itomato