All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ralf Hildebrandt <Ralf.Hildebrandt@charite.de>
To: linux-kernel@vger.kernel.org
Subject: HP server and atto driver from hell
Date: Tue, 29 Apr 2008 22:17:27 +0200	[thread overview]
Message-ID: <20080429201727.GV8066@charite.de> (raw)

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

             reply	other threads:[~2008-04-29 20:27 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-29 20:17 Ralf Hildebrandt [this message]
2008-04-29 21:43 ` HP server and atto driver from hell Alan Cox
2008-04-30  8:26   ` Ralf Hildebrandt
2008-05-06 15:21     ` Ralf Hildebrandt
2008-04-29 22:29 ` Mr. James W. Laferriere
2008-04-30  8:27   ` Ralf Hildebrandt
2008-04-30 13:16   ` Ralf Hildebrandt
2008-04-30 13:42     ` Ralf Hildebrandt
2008-04-30 14:50       ` Moore, Eric
2008-04-30 16:16         ` Ralf Hildebrandt
2008-05-09 13:03         ` Sven Rudolph
2008-04-30 19:38       ` Alex Chiang
2008-05-06 16:59   ` Ralf Hildebrandt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080429201727.GV8066@charite.de \
    --to=ralf.hildebrandt@charite.de \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.