[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ltsp-discuss
Subject:    Re: [Ltsp-discuss] Some clients not booting (that used to boot in
From:       Krsnendu dasa <krsnendu108 () gmail ! com>
Date:       2009-03-17 3:09:03
Message-ID: bb9ec22e0903162009w3d6732b7h3b20bcb151fff8db () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


2009/3/17 Krsnendu dasa <krsnendu108@gmail.com>

> I have just upgraded Hardy to Intrepid with LTSP backports from Stefane.
> On the server I added ppa repository, then apt-get update then apt-get
> install ltsp-standalone-server
> I moved the old changeroot (actually I deleted it. It would have been
> interesting to try the old one again.) then ran ltsp-build-client to create
> a new client changeroot.
>
>
> I have two types of clients: ones that work and ones that don't.
> The ones that work are P4 with 256MB RAM.
>
> The ones that don't work are Compaq Deskpro EN Series SFF P2 400MHz 64MB
> RAM. These worked fine with Hardy (ltsp 5) and K12LTSP (ltsp 4.2)
> Tried with 128 MB RAM. Still failed.
>
> The ubuntu flash screen comes up then freezes part way across.
>
> Pressing Alt-ctrl-F1 reveals..this is the error message
>
> Negotiation: ..size = 175556KB
> bs=1024, sz=175556
> Kernel call returned: Broken pipe Reconnecting
> Negotiation: ..size = 175556KB
> Error: Ioctl/1.1a failed: Bad file descriptor
>
> Any ideas what might be wrong?
> Size = 175556KB seems a worry. It is much more than the RAM on the machine.
>
> Can I downgrade to the Intrepid ltsp packages and see if they will work? Is
> it possible to use Hardy changeroot?
>

I  tried this fix from another thread.
In my case(ubuntu 8.10), the problem was caused by the
ltsp-client-setup init script. I solved the issue by comenting out the
stuff about NBD

configure_nbd() {
   # Restart nbd so -persist will work
   nbdcmd=`pgrep -l -f "/dev/nbd0 -persist" | cut -d " " -f "2-"`
   if [ -n "$nbdcmd" ]; then
       nbd-client -d /dev/nbd0
       sleep 0.5s
       nbd-client -c /dev/nbd0
       if [ "$?" = "1" ]; then
           $nbdcmd
       fi
   fi
}

I commented out this part and got a bit further. This is the error I have
now.

Setting up LTSP client...
Disconnecting: que, disconnect, sock, done
[   30.519994] nbd0: Receive control failed (result -32)
Kernel call returned: Broken pipe Reconnecting
Negotiation: ..size = 175556KB
Error: Ioctl/1/1.a failed: Bad file descriptor

Any clues how to fix this?

[Attachment #5 (text/html)]

<div class="gmail_quote">2009/3/17 Krsnendu dasa <span dir="ltr">&lt;<a \
href="mailto:krsnendu108@gmail.com">krsnendu108@gmail.com</a>&gt;</span><br><blockquote \
class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt \
0pt 0.8ex; padding-left: 1ex;"> I have just upgraded Hardy to Intrepid with LTSP \
backports from Stefane.<br>On the server I added ppa repository, then apt-get update \
then apt-get install ltsp-standalone-server<br>I moved the old changeroot (actually I \
deleted it. It would have been interesting to try the old one again.) then ran \
ltsp-build-client to create a new client changeroot.<br>


<br><br>I have two types of clients: ones that work and ones that don&#39;t.<br>The \
ones that work are P4 with 256MB RAM.<br><br>The ones that don&#39;t work are Compaq \
Deskpro EN Series SFF P2 400MHz 64MB RAM. These worked fine with Hardy (ltsp 5) and \
K12LTSP (ltsp 4.2)<br>Tried with 128 MB RAM. Still failed.<br> <br>The ubuntu flash \
screen comes up then freezes part way across.<br><br>Pressing Alt-ctrl-F1 \
reveals..this is the error message<br><br>Negotiation: ..size = 175556KB<br>bs=1024, \
sz=175556<br>Kernel call returned: Broken pipe Reconnecting<br>


Negotiation: ..size = 175556KB<br>Error: Ioctl/1.1a failed: Bad file descriptor<br>
<br>Any ideas what might be wrong? <br>Size = 175556KB seems a worry. It is much more \
than the RAM on the machine.<br><br>Can I downgrade to the Intrepid ltsp packages and \
see if they will work? Is it possible to use Hardy changeroot?<br>

</blockquote></div><br>I  tried this fix from another thread.<br><div \
style="margin-left: 40px;">In my case(ubuntu <span class="il">8.10</span>), the \
problem was caused by the<br> ltsp-client-setup init script. I solved the issue by \
comenting out the<br> stuff about NBD<br><br>
configure_nbd() {<br>
    # Restart nbd so -persist will work<br>
    nbdcmd=`pgrep -l -f &quot;/dev/nbd0 -persist&quot; | cut -d &quot; &quot; -f \
&quot;2-&quot;`<br>  if [ -n &quot;$nbdcmd&quot; ]; then<br>
        nbd-client -d /dev/nbd0<br>
        sleep 0.5s<br>
        nbd-client -c /dev/nbd0<br>
        if [ &quot;$?&quot; = &quot;1&quot; ]; then<br>
            $nbdcmd<br>
        fi<br>
    fi<br>
}<br><br></div>


I commented out this part and got a bit further. This is the error I have \
now.<br><br>Setting up LTSP client...<br>Disconnecting: que, disconnect, sock, \
done<br>[   30.519994] nbd0: Receive control failed (result -32)<br> Kernel call \
returned: Broken pipe Reconnecting<br>Negotiation: ..size = 175556KB<br>Error: \
Ioctl/1/1.a failed: Bad file descriptor<br><br>Any clues how to fix this?<br>



------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com

_____________________________________________________________________
Ltsp-discuss mailing list.   To un-subscribe, or change prefs, goto:
      https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help,   try #ltsp channel on irc.freenode.net


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic