Topic
IC4NOTICE: developerWorks Community will be offline May 29-30, 2015 while we upgrade to the latest version of IBM Connections. For more information, read our upgrade FAQ.
19 replies Latest Post - ‏2010-11-09T08:40:11Z by BojanK
devzeronull
devzeronull
2 Posts
ACCEPTED ANSWER

Pinned topic IPSSEND and kernel 2.6: sg_write: program ipssend not setting count and/or reply_len properly

‏2007-01-12T06:42:43Z |
Hi!

We have some xseries servers with CentOS 4.4 stock kernel (2.6.9-42.0.3.ELsmp). Tonight I tried to move our test server to kernel 2.6.19.2. Everything went smoothly... but... now the kernel returns errors every time ipssend is called with command generating SCSI commands:

Example:

  1. ipssend GETCONFIG 2

returns:

<snip>
sg_write: data in/out 4304/4304 bytes for SCSI command 0xd--guessing data in;
program ipssend not setting count and/or reply_len properly
sg_write: data in/out 4304/4304 bytes for SCSI command 0xd--guessing data in;
program ipssend not setting count and/or reply_len properly
sg_write: data in/out 4304/4304 bytes for SCSI command 0xd--guessing data in;
program ipssend not setting count and/or reply_len properly
sg_write: data in/out 4304/4304 bytes for SCSI command 0xd--guessing data in;
program ipssend not setting count and/or reply_len properly
<snip>

Quite similar to:
http://lists.xiph.org/pipermail/paranoia/2005-July/001438.html

Any idea? I've also tried with 2.6.20-rc4 with the same result.

FYI:

  1. ipssend GETVERSION 2

Found 2 IBM ServeRAID controller(s).

ServeRAID Controller(s) Version Information

Controlling BIOS version : 7.12.11

ServeRAID Controller Number 1
Controller type : ServeRAID-4M
Controller slot information : 4
Actual BIOS version : 7.12.11
Firmware version : 7.12.11
Device driver version : 7.12.05

ServeRAID Controller Number 2
Controller type : ServeRAID-4M
Controller slot information : 5
Actual BIOS version : 7.12.11
Firmware version : 7.12.11
Device driver version : 7.12.05
Command completed successfully.
Updated on 2010-11-09T08:40:11Z at 2010-11-09T08:40:11Z by BojanK
  • ishields
    ishields
    988 Posts
    ACCEPTED ANSWER

    Re: IPSSEND and kernel 2.6: sg_write: program ipssend not setting count and/or reply_len properly

    ‏2007-01-13T02:26:29Z  in response to devzeronull
    Do you have the latest utilities (see thread IPSSEND error code.

    See also Capturing ServeRAID configuration and event logs - Servers and IntelliStation.

    Finally, check IBM Support for your particular system.

    Ian Shields
    • devzeronull
      devzeronull
      2 Posts
      ACCEPTED ANSWER

      Re: IPSSEND and kernel 2.6: sg_write: program ipssend not setting count and/or reply_len properly

      ‏2007-01-13T05:51:53Z  in response to ishields
      Hi Ian,

      Thanks for your reply!

      I found v7.12.05(771) of ipssend (error was with v7.10.18 (731)) this afternoon and everything seems to work fine. Here the link I've followed:

      http://www-304.ibm.com/jct01004c/systems/support/supportsite.wss/docdisplay?lndocid=MIGR-61925&brandind=5000016

      BTW: Why the last version of ipssend isn't on ServeRAID Application CD v8.30/8.40?

      Otherwise, I think IBM should really think about improving its web site. It's an endless maze. For example this page:
      http://www-1.ibm.com/support/docview.wss?uid=psg1SERV-RAID
      advertises version 8.40 of ServeRAID Application CD but link to version 8.30. At the same time the following page has the correct information: http://www-304.ibm.com/jct01004c/systems/support/supportsite.wss/docdisplay?brandind=5000016&lndocid=SERV-RAID
      Don't ask me how I've finally reached the second one. I've no idea.

      An other example... If I search for "ipssend" in the internal search engine I get a result...: IBM Personal computing support - IBM ServeRAID diskette images driver for IPSSEND for ... I click on the link:

      --
      Our apologies

      There is a problem retrieving the document MIGR-61925.
      --

      It's always the same story for years. Time consuming and depressing. Does someone at IBM use the web site?

      At least, the forums seem to work.

      Thanks again for your help!
      • SystemAdmin
        SystemAdmin
        2364 Posts
        ACCEPTED ANSWER

        Re: IPSSEND and kernel 2.6: sg_write: program ipssend not setting count and/or reply_len properly

        ‏2007-08-03T07:55:55Z  in response to devzeronull
        > Otherwise, I think IBM should really think about
        > improving its web site. It's an endless maze. For
        > example this page:
        > http://www-1.ibm.com/support/docview.wss?uid=psg1SERV-
        > RAID
        > advertises version 8.40 of ServeRAID Application CD
        > but link to version 8.30. At the same time the
        > following page has the correct information:
        > http://www-304.ibm.com/jct01004c/systems/support/suppo
        > rtsite.wss/docdisplay?brandind=5000016&lndocid=SERV-RA
        > ID
        > Don't ask me how I've finally reached the second one.
        > I've no idea.
        >
        > An other example... If I search for "ipssend" in the
        > internal search engine I get a result...: IBM
        > Personal computing support - IBM ServeRAID diskette
        > images driver for IPSSEND for ... I click on the
        > link:
        >
        > --
        > Our apologies
        >
        > There is a problem retrieving the document
        > MIGR-61925.
        > --
        >
        > It's always the same story for years. Time consuming
        > and depressing. Does someone at IBM use the web
        > site?
        >
        > At least, the forums seem to work.
        >
        > Thanks again for your help!

        And when one finally finds what he needs, it's in a WINDOWS EXECUTABLE format!

        How can I extract floppy images from '40k8630.exe' and '40k8629.exe' in Linux?

        Thanks, D.
        • SystemAdmin
          SystemAdmin
          2364 Posts
          ACCEPTED ANSWER

          Re: IPSSEND and kernel 2.6: sg_write: program ipssend not setting count and/or reply_len properly

          ‏2007-08-03T08:34:06Z  in response to SystemAdmin

          >
          > How can I extract floppy images from '40k8630.exe'
          > and '40k8629.exe' in Linux?
          >
          > Thanks, D.

          WINE?
          • SystemAdmin
            SystemAdmin
            2364 Posts
            ACCEPTED ANSWER

            Re: IPSSEND and kernel 2.6: sg_write: program ipssend not setting count and/or reply_len properly

            ‏2007-08-03T08:45:03Z  in response to SystemAdmin
            >
            > >
            > > How can I extract floppy images from '40k8630.exe'
            > > and '40k8629.exe' in Linux?
            > >
            > > Thanks, D.
            >
            > WINE?

            OK, how about without spending tons of time making WINE work? :)

            Would it be so bad use 'raw' images? They can still be ZIP-ed, a license can still be displayed...

            D.
      • Loco
        Loco
        1 Post
        ACCEPTED ANSWER

        Re: IPSSEND and kernel 2.6: sg_write: program ipssend not setting count and/or reply_len properly

        ‏2010-10-24T15:03:16Z  in response to devzeronull
        just a few years passed by since your post, but i have to say YES, same story continuing, annoying, time consuming, frustrating. IBM's website is really a shame. If somebody does not believe, try this query at Google:

        "There is a problem retrieving the document" site:ibm.com

        I've got more than 50000 entries for that query. Even 500 would be too much for a company concerned about customer satisfaction. And we are not talking about a company producing chocolates or dishwashers. I was told their products are somehow related to computers and internet. So they should prove they are good in internet, shouldn't they?

        When I come to 50 broken links when trying to solve a problem (not my problem but a problem due to IBM hard- and/or software not working as specified) then i would throw all the machines out of the window... i am not doing that because i care about the people out there passing by.

        i know this statement is completely off-topic, but i am really really frustrated. and from now on i take every broken link and every misleading information as a personal insult: it is missing respect and lack of appreciation to treat customers the way they do.

        no mr ibm, it is not an excuse to sniff: we are so big, we could not make all that stuff right. as bigger as you are, the more you have responsibility, because your missing care impacts thousands of people.

        somewhere i have seen a big poster: my ibm got a lemon very sour. i will search for that poster and put it in big letters on a highway somewhere...

        yes, i am a very frustrated customer. sorry for stealing your time, folks. i am really sorry, because here at the forums you really get help, sincerely thanks to all for that.
        • BojanK
          BojanK
          2 Posts
          ACCEPTED ANSWER

          Re: IPSSEND and kernel 2.6: sg_write: program ipssend not setting count and/or reply_len properly

          ‏2010-11-09T08:40:11Z  in response to Loco
          Same story continues... Unfortunately yes.

          Ever tried sending notification emails?
          Please do try... another joyride :P
          (it does work thoo... in its own way ;)

          I do now see a new version... Hope it fixes things also not just adds support for new HW...

          Version: V9.20-16999
          Release Date: 2010-09-16
          (for now: http://www-947.ibm.com/support/entry/portal/docdisplay?lndocid=MIGR-61707)

          Have not tested it yet but i do have my fingers crossed.
    • SystemAdmin
      SystemAdmin
      2364 Posts
      ACCEPTED ANSWER

      Re: IPSSEND and kernel 2.6: sg_write: program ipssend not setting count and/or reply_len properly

      ‏2007-03-30T11:20:03Z  in response to ishields
      Hello !

      I've similar troubles with our server when using (only) RaidMan V8.40 without IPSSEND.
      The exact kernel message is
      --
      sg_write: data in/out 404/404 bytes for SCSI command 0xd--guessing data in
      program java not setting count and/or reply_len properly
      --
      and appears continuously in the console since RaidAgent got initalized by the init.d script.

      System BIOS update, Firmware and BIOS updates of the RAID system to current version 7.12.12 doesn't help.

      I consider upgrading the driver to ips-712 or using another kernel. Before that, i'd like to hear the experts opinion... ;-)

      our environment:
      IBM x346 Server Type 8840-25Y (ServRAID 7k)
      Linux Kernel 2.6.15-1.2054_FC5_SMP

      thx a lot & have a nice weekend,

      armin
      • SystemAdmin
        SystemAdmin
        2364 Posts
        ACCEPTED ANSWER

        Aw: IPSSEND and kernel 2.6: sg_write: program ipssend not setting count and/or reply_len properly

        ‏2007-04-04T22:04:01Z  in response to SystemAdmin
        Hi there !

        After several tries of compiling Fedora 5 kernel 2.6.15 and 2.6.20 with modified scsi drivers we gave up and change to CentOS 4.4 (kernel 2.6.9). We installed the nescessary updates (mysql version 4 to 5) via yum straight without errors (some modification is to do in the yum config files, look at http://www.howtoforge.com/perfect_setup_centos_4.4). RainManager 8.40 runs without mystic kernel messages, the hole system seems to be stable.

        Although it didn't help in this case, the IBM UpdateXPress-CD (http://www-304.ibm.com/jct01004c/systems/support/supportsite.wss/docdisplay?lndocid=MIGR-53046&brandind=5000008) is very helpful to keep system firmware up to date - no more floppy disks, which decide to do self-destruction during the firmware upgrade... ;-)

        our test-environment now:
        IBM x346 Server Type 8840-25Y (ServRAID 7k)
        CentOS 4.4 (Linux Kernel 2.6.9-42.0.3.ELsmp)
        2 x 18 GB in RAID 1 Mode
        finally:
        2 x 36 GB in RAID 1 Mode
        2 x 120 GB in RAID 1 Mode
        • SystemAdmin
          SystemAdmin
          2364 Posts
          ACCEPTED ANSWER

          Re: Aw: IPSSEND and kernel 2.6: sg_write: program ipssend not setting count and/or reply_len properl

          ‏2007-04-05T01:32:01Z  in response to SystemAdmin
          I'm not surprised to hear that kernel 2.6.9 is working. This problem appeared at some later point in development. If it was just cosmetic, I could live with it, but it seems to eventually cause stability issues.
          • ishields
            ishields
            988 Posts
            ACCEPTED ANSWER

            Re: Aw: IPSSEND and kernel 2.6: sg_write: program ipssend not setting count and/or reply_len properl

            ‏2007-04-05T02:44:44Z  in response to SystemAdmin
            I'd suggest using the GPFS forum for further discussion on this issue. I'm not a GPFS expert and this isn't exactly the topic area for this forum, although we try to help with off-topic questions if we can.

            Ian Shields
            • SystemAdmin
              SystemAdmin
              2364 Posts
              ACCEPTED ANSWER

              Re: Aw: IPSSEND and kernel 2.6: sg_write: program ipssend not setting count and/or reply_len properl

              ‏2007-07-11T12:32:54Z  in response to ishields
              I am having this error when I run ipssend:
              program ipssend not setting count and/or reply_len properly

              And I am having this error when running IBM ServeRAID Agent:
              program java not setting count and/or reply_len properly

              I already tried to update the "ips" driver from ServeRAID Support CD v.7.12, and I got "insmod error inserting /lib/ips.ko - Invalid module format..". I had to hack the installation script to get it to work on CentOS 5.

              Here is my system configuration (CentOS 5)
              Serveraid Log Collection Utility for RedHat Linux systems Version v1.0
              Date Logs Taken : Wed Jul 11 04:44:55 CDT 2007
              Nodename of this system: ns1.rubens-gomes.com
              Model Type : 86694RX
              Serial Number : 78LPH35
              Operating system : Linux
              Kernel Version : 2.6.18-8.1.6.el5
              Raid Manager Version : RaidMan-8.40-00
              Driver : -rwxr--r-- 1 root root 51556 Jun 14 20:05 /lib/modules/2.6.18-8.1.6.el5/kernel/drivers/scsi/ips.ko
              Number of Serveraid adapters found in this machine: 1
              ************************************
              ***IPSSEND CONFIG AL LOG************
              ************************************

              Found 1 IBM ServeRAID controller(s).
              Read configuration has been initiated for controller 1...

              Controller information

              Controller type : ServeRAID-4Lx
              BIOS version : 7.12.12
              Firmware version : 7.12.12
              Boot block version : 7.12.12
              Device driver version : 7.12.05
              Controller slot information : 4
              Controller Name : Null Config
              SCSI channel description : 1 parallel SCSI wide
              Initiator IDs (Channel/SCSI ID): 1/7
              Maximum physical devices : 15
              Defunct disk drive count : 0
              Logical drives/Offline/Critical: 1/0/0
              Read ahead : Adaptive
              Stripe-unit size : 8 KB
              Rebuild rate (Low/Medium/High) : High
              Hot-swap rebuild : Enabled
              Data scrubbing : Enabled
              Part of cluster (Yes/No) : No
              Unattended mode (Yes/No) : Yes
              Concurrent commands supported : 64
              Configuration update count : 173


              Please, don't tell me IBM does not support CentOS.

              Thanks.

              --
              Rubens Gomes
              www.rubens-gomes.com
  • SystemAdmin
    SystemAdmin
    2364 Posts
    ACCEPTED ANSWER

    Re: IPSSEND and kernel 2.6: sg_write: program ipssend not setting count and/or reply_len properly

    ‏2007-04-01T22:02:15Z  in response to devzeronull
    Add my name to those experiencing this problem. I have an older machine that was just upgraded from RedHat EL3 to Ubuntu 6.06 LTS (aka Dapper). Kernel 2.6.15. Hardware is an older 3H with (3) Seagate 50GB drives in a Raid 5.

    The newest version of ServeRaid utilities I could find that also had the RaidMan application was 7.00. After the agent daemon is fired up, it spits out this message every few seconds. Also, it seems to leave the system in an unstable state where it panics during the final phases of shutdown.

    If there's a newer version of the ServeRaid support CD that also has the manager, I was not able to find it on the fine site.

    Steve
    • SystemAdmin
      SystemAdmin
      2364 Posts
      ACCEPTED ANSWER

      Re: IPSSEND and kernel 2.6: sg_write: program ipssend not setting count and/or reply_len properly

      ‏2007-07-20T22:29:15Z  in response to SystemAdmin
      > Add my name to those experiencing this problem. I
      > have an older machine that was just upgraded from
      > RedHat EL3 to Ubuntu 6.06 LTS (aka Dapper). Kernel
      > 2.6.15. Hardware is an older 3H with (3) Seagate 50GB
      > drives in a Raid 5.
      >
      > The newest version of ServeRaid utilities I could
      > find that also had the RaidMan application was 7.00.
      > After the agent daemon is fired up, it spits out
      > t this message every few seconds. Also, it seems to
      > leave the system in an unstable state where it panics
      > during the final phases of shutdown.
      >
      > If there's a newer version of the ServeRaid support
      > CD that also has the manager, I was not able to find
      > it on the fine site.
      >
      > Steve

      Ditto - I have the same problem using a x340 and SLES10.. Seems a recurring theme. Any suggestions?

      Russ.
      • SystemAdmin
        SystemAdmin
        2364 Posts
        ACCEPTED ANSWER

        Re: IPSSEND and kernel 2.6: sg_write: program ipssend not setting count and/or reply_len properly

        ‏2007-07-20T22:36:37Z  in response to SystemAdmin
        > > Add my name to those experiencing this problem. I
        > > have an older machine that was just upgraded from
        > > RedHat EL3 to Ubuntu 6.06 LTS (aka Dapper).
        > Kernel
        > > 2.6.15. Hardware is an older 3H with (3) Seagate
        > 50GB
        > > drives in a Raid 5.
        > >
        > > The newest version of ServeRaid utilities I could
        > > find that also had the RaidMan application was
        > 7.00.
        > > After the agent daemon is fired up, it spits out
        > > t this message every few seconds. Also, it seems
        > to
        > > leave the system in an unstable state where it
        > panics
        > > during the final phases of shutdown.
        > >
        > > If there's a newer version of the ServeRaid
        > support
        > > CD that also has the manager, I was not able to
        > find
        > > it on the fine site.
        > >
        > > Steve
        >
        > Ditto - I have the same problem using a x340 and
        > SLES10.. Seems a recurring theme. Any suggestions?
        >
        > Russ.

        Actually, a possible cure here I'll check out - mismatch in version of ipssend installed and that from the serverraid cd: http://www.linux-ha.org/GettingStarted/ServeRAIDSetup
  • SystemAdmin
    SystemAdmin
    2364 Posts
    ACCEPTED ANSWER

    Re: IPSSEND and kernel 2.6: sg_write: program ipssend not setting count and/or reply_len properly

    ‏2009-02-05T14:33:32Z  in response to devzeronull
    I am experiencing the same problem! I am testing to upgrade from RHEL 4 U5 (kernal 2.6.9-55) to RHEL 5 U1 (kernel 2.6.18-53). Every time I bring up the ServerRAID Manager 9 (the latest version that could be downloaded from IBM support web site.), such kind of message would pop up and flood the whole console.

    I checked back IBM's document for ServerRAID Manager 9. If seems it doesn't support any linux kernel above 2.6.9!

    I tried to give up using ServerRAID Manager and tried to use the IBM ServerRAID Manager plug-in agent for IBM Director. The plug-in agent is specific for RHEL 5 and is compactable for RHEL 5 U1 (from IBM director document). Unfortunately, the problem is the same!

    Since the ServerRAID Manager and IBM Director are free charge product, is there anyone in this forum know how to get support from IBM? Or, anyone know any work around solution?

    Thanks!
    • ishields
      ishields
      988 Posts
      ACCEPTED ANSWER

      Re: IPSSEND and kernel 2.6: sg_write: program ipssend not setting count and/or reply_len properly

      ‏2009-02-06T14:12:30Z  in response to SystemAdmin
      This forum is for IBM software products on Linux, particularly those on our Software Evaluation Kit (SEK).

      I have posted all the ServeRAID information that I have in the posting Where to get support for IBM ServeRAID on Linux. Please use those resources for ServeRAID support.

      Ian Shields
  • BojanK
    BojanK
    2 Posts
    ACCEPTED ANSWER

    Re: IPSSEND and kernel 2.6: sg_write: program ipssend not setting count and/or reply_len properly

    ‏2010-09-10T15:06:17Z  in response to devzeronull
    I must say i had no sg_write problems.
    Or the thing worked or it didnt even install.

    Mostly we're using Raidman on RHEL and a litle bit on SLES.
    SLES 9 (SP3) has problems with Raidman 9.00 (servers reaching the 1024 rlimit after 3 weeks)(x226 server with HostRAID 7e), 8.40 works just fine.

    On RHEL we use these configurations:

    Red Hat Enterprise Linux ES release 4 (Nahant Update 6)
    (stock kernel 2.6.9-67.ELsmp #1 SMP Wed Nov 7 13:58:04 EST 2007 i686 i686 i386 GNU/Linux)
    ---> Raidman 9.0 (x226 server with HostRAID 7e)
    Red Hat Enterprise Linux Server release 5.1 (Tikanga) (32-bit)
    (stock kernel 2.6.18-53.el5 #1 SMP Wed Oct 10 16:34:02 EDT 2007 i686 i686 i386 GNU/Linux)
    ---> Raidman 8.40 (xSeries 346 with SCSI HostRAID)
    Red Hat Enterprise Linux Server release 5.4 (Tikanga) (64-bit)
    (stock kernel 2.6.18-164.el5 #1 SMP Tue Aug 18 15:51:48 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux)
    ---> Raidman 9.0 ( x3650 with ServeRAID 8k)

    Can't realy help you with your CentOS 4.4 problem, but i can assure you it does work on newer (RHEL) releases.

    B.