Re: HP server and atto driver from hell

From: Mr. James W. Laferriere
Date: Tue Apr 29 2008 - 18:48:56 EST


Hello Ralf , Fyi , the fusion/mpt driver supports some of the ATTO devices , if your lspci -v for the ATTO controllers looks simular to this one it may just work with the fusion drivers .
Hth , JimL

# lspci -v -s 0d:04.0
0d:04.0 SCSI storage controller: Atto Technology Ultra320 SCSI Host Adapter (rev 08)
Subsystem: Atto Technology Unknown device 8027
Flags: bus master, 66MHz, medium devsel, latency 128, IRQ 16
I/O ports at 5000 [size=256]
Memory at d8640000 (64-bit, non-prefetchable) [size=256K]
Memory at d8600000 (64-bit, non-prefetchable) [size=256K]
Capabilities: [50] Power Management version 2
Capabilities: [58] Message Signalled Interrupts: 64bit+ Queue=0/0 Enable-
Capabilities: [68] PCI-X non-bridge device



On Tue, 29 Apr 2008, Ralf Hildebrandt wrote:
We thought HP would be a smart choice when it comes to Linux,..
Until now, because now we have to use a PCI Express SCSI card that
comes with a proprietary driver that won't even compile.

When I untar the lnx_drv_epciu320_107.tar.gz and try to compile the
glue between the binary blob and the kernel, I get:

c# make -k modules
Architecture is i386 (x86_regparm)
make[1]: Entering directory /usr/src/linux-2.6.25'
CC [M] /usr/src/lnx_drv_epciu320_107/src/atto_cfg.o
/usr/src/lnx_drv_epciu320_107/src/atto_cfg.c: In function âattocfg_read_versionâ: /usr/src/lnx_drv_epciu320_107/src/atto_cfg.c:258: error: âstruct device_driverâ has no member named âkobjâ
make[2]: *** [/usr/src/lnx_drv_epciu320_107/src/atto_cfg.o] Error 1
CC [M] /usr/src/lnx_drv_epciu320_107/src/oswrap.o
/usr/src/lnx_drv_epciu320_107/src/oswrap.c: In function âexpress2_attocfg_registerâ: /usr/src/lnx_drv_epciu320_107/src/oswrap.c:908: error: âstruct device_driverâ has no member named âkobjâ
make[2]: *** [/usr/src/lnx_drv_epciu320_107/src/oswrap.o] Error 1
make[2]: Target __build' not remade because of errors.
make[1]: *** [_module_/usr/src/lnx_drv_epciu320_107/src] Error 2
make[1]: Target modules' not remade because of errors.
make[1]: Leaving directory /usr/src/linux-2.6.25'
make: *** [modules] Error 2

in atto_cfg.c:

258 if (this_drvr->kobj == &driver->kobj)
259 {
260 if (this_drvr->read_version)
261 return (*this_drvr->read_version) (driver, buffer);
262 else
263 return 0;
264 }

and in oswrap.o:

905 return NULL;
906 }
907
908 return &atto_pci_driver.driver.kobj;
909 }
910




--
+------------------------------------------------------------------+
| James W. Laferriere | System Techniques | Give me VMS |
| Network&System Engineer | 2133 McCullam Ave | Give me Linux |
| babydr@xxxxxxxxxxxxxxxx | Fairbanks, AK. 99701 | only on AXP |
+------------------------------------------------------------------+