HP server and atto driver from hell

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <linux-kernel@...>
Date: Tuesday, April 29, 2008 - 4:17 pm

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
		  

-- 
Ralf Hildebrandt (i.A. des IT-Zentrums)         Ralf.Hildebrandt@charite.de
Charite - Universitätsmedizin Berlin            Tel.  +49 (0)30-450 570-155
Gemeinsame Einrichtung von FU- und HU-Berlin    Fax.  +49 (0)30-450 570-962
IT-Zentrum Standort CBF                 send no mail to snickebo@charite.de
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
HP server and atto driver from hell, Ralf Hildebrandt, (Tue Apr 29, 4:17 pm)
Re: HP server and atto driver from hell, Mr. James W. Laferriere, (Tue Apr 29, 6:29 pm)
Re: HP server and atto driver from hell, Ralf Hildebrandt, (Tue May 6, 12:59 pm)
Re: HP server and atto driver from hell, Ralf Hildebrandt, (Wed Apr 30, 9:16 am)
Re: HP server and atto driver from hell, Ralf Hildebrandt, (Wed Apr 30, 9:42 am)
Re: HP server and atto driver from hell, Alex Chiang, (Wed Apr 30, 3:38 pm)
RE: HP server and atto driver from hell, Moore, Eric, (Wed Apr 30, 10:50 am)
Re: HP server and atto driver from hell, Sven Rudolph, (Fri May 9, 9:03 am)
Re: HP server and atto driver from hell, Ralf Hildebrandt, (Wed Apr 30, 12:16 pm)
Re: HP server and atto driver from hell, Ralf Hildebrandt, (Wed Apr 30, 4:27 am)
Re: HP server and atto driver from hell, Alan Cox, (Tue Apr 29, 5:43 pm)
Re: HP server and atto driver from hell, Ralf Hildebrandt, (Wed Apr 30, 4:26 am)
Re: HP server and atto driver from hell, Ralf Hildebrandt, (Tue May 6, 11:21 am)