panic: do_bio: write count < 0

Edgar Leon edgar at mathcs.emory.edu
Sat Sep 30 08:39:49 AEST 1989


In article <1471 at anucsd.oz>, drew at anucsd.oz (Drew Corrigan) writes:
> in article <4374 at emory.mathcs.emory.edu>, km at mathcs.emory.edu (Ken Mandelberg) 
> says:
> > 
> > There is an NFS bug in A/UX 1.1 that causes a panic
> > [...]
> > Unisoft Pascal Users: The work around is to use a symbolic 
> >        link to prelink the .s file onto /tmp and avoid the
> >        problem. We have a front end shell script to do this
> >        if anyone needs it.
>  
>  
> If you could mail/post the shell script it would be further appreciated.

The script follows, please note that gpc was moved to gpc.orig
and that we use ksh.

*************************************************************


#! /bin/ksh

# script to avoid panics caused by gpc
# Edgar Leon  9/25/89

tmplink () {
  if [ ! -f $PFILE ]; then
    echo $PFILE does not exist
    rm -f $RMPFILE $RMTMP
    exit 1
  fi

  PFILE=`basename $PFILE '.p' `\.s
  RMPFILE=$RMPFILE" "$PFILE
  TMPFILE=/tmp/`whoami`$RANDOM
  RMTMP=$RMTMP" "$TMPFILE
  rm -f $PFILE
  ln -s $TMPFILE  ./$PFILE 
}

for i in $*
do
  case $i in
    *.p)  PFILE=$i; tmplink ;;
    esac
done

/usr/local/bin/gpc.orig $*
rm -f $RMPFILE $RMTMP 



More information about the Comp.unix.aux mailing list