ITEM: DK0058L

System Crashing when doing a network boot



Question:

Env:
  AIX 4.2
  RISC SP (thin node)
  Tape 3590-B11
  Atape.driver 3.1.0.5
  sysback 3.3.3.17

Problem:
  Customer is going a network boot from another wide node. 
  
  The message appears on the screen:

  AIX SYSTEM BACKUP & RECOVERY/6000

  then the system crashes.

  The customer has a locally attached 3590 tape drive.  It appears
  it is failing when setting the block sizes of all the local tapes to 
  512

This code in the /usr/lpp/sysback/netinst/boot/rc.boot4 script

   \# configured to block size 512.
        lsdev -Cc tape | while read tapename dummy
        do
                ucfgdevice -l $tapename
                chggen -l $tapename -a block_size=512
                cfgsctape -l $tapename
        done

The problem is with the config methods being called.  This tape drive
using ucfgAtape and cfgAtape.  The code should be more like what was used
in sbrestore script.

\# Get config methods
UCFG=$(lsdev -Cl$device -r Unconfigure)
[ -z "$UCFG" -o ! -x "$UCFG" ] && UCFG=/etc/methods/ucfgdevice
CHANGE=$(lsdev -Cl$device -r Change)
[ -z "$CHANGE" -o ! -x "$CHANGE" ] && CHANGE=/etc/methods/chggen
CFG=$(lsdev -Cl$device -r Configure)
[ -z "$CFG" -o ! -x "$CFG" ] && CFG=/etc/methods/cfgsctape

\#Taken from the /usr/lpp/sysback/inst/sbrestore script
\# Make sure drive is set to 512 first
   $UCFG -l $device
   $CHANGE -l $device -a block_size=512
   $CFG -l $device

To workaround this problem, the customer turn his tape drive off during
the network boot.

CLOSED by tj on 08/14/97 02:15:
I modified this script and have included in 4.1.2. I have also
tested a network boot and ensured that the tape drives are being
set correctly. I am unable to test with an "Atape", but I know 
that the code works as far as getting the config methods from 
ODM.


Support Line: System Crashing when doing a network boot ITEM: DK0058L
Dated: August 1997 Category: N/A
This HTML file was generated 99/06/24~13:30:16
Comments or suggestions? Contact us