Sponsored Content
Full Discussion: Script in boot sequence
Top Forums UNIX for Dummies Questions & Answers Script in boot sequence Post 97014 by Perderabo on Wednesday 25th of January 2006 11:20:25 AM
Old 01-25-2006
I have never heard of the atdd driver before your post. Some googling revealed a lot of people having problems with this driver and HP-UX. I don't have your IBM tape drive nor your driver, but I think I understand the problem. The problem is that the stape driver is not compatible with the IBM tape drive. stape is willing to claim the drive but then cannot use it. Does atdd sit on top of stape? Or do you also have other tape drives that use stape? I would simply remove stape from the kernel.
kmsystem -S /path/to/system-file -c N stape
followed by rebuilding the kernel should do that with HP-UX 11.0 or 11i. This seems very easy but I can't find any instance of anyone else suggesting it, so there may well be a problem with it.

If stape and atdd must co-exist in the same kernel, I would give up on autoconfig fot atdd tape drives. This post suggests:
Quote:
From IBM's Ultrium Device Drivers Installation and User's Guide:

1. Modify the /stand/system file, adding a line if the form of:
driver 56/48.3.0 atdd
with the adapter/drive path for your device

2. Modify /etc/rc.config.d/atdd.cfg, adding the hardware path and instance:
ATDD_HWPATH[#]=56/48.3.0
where # denotes the next instance and the adapter/drive path for you device.

3. Build the kernel as root:
# mk_kernel -o /stand/vmunix -s /stand/system

4. Reboot the system:
# shutdown -r now

5. After the system is up, run /opt/OMNImag/bin/atdd_cfg to create the new special files for the device.
# atdd_mksf -ti <instance>
where instance is the number from the ioscan output for the newly installed device. This command echoes to console but does not create special files. To create special files pipe the command to 'sh'.
# atdd_mksf -ti <instance> | sh
I would back the kernel files before recompiling.
I can't test that. But that would be my second choice for something to try.
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Unix Boot Sequence

Hello all Unix fans. What files are involved in the Unix boot sequence, i guess there is alot of them but some must be the main files? For example the service SENDMAIL starts on our Unix machine where should i edit so that it will not start at BOOT. initd.conf? rc2.d? I hope you... (6 Replies)
Discussion started by: sajjan2
6 Replies

2. UNIX for Dummies Questions & Answers

Boot Sequence

Hi everybody, I have to create a script and put it in the boot up sequence . Can you give me the path where i can put it? Sorry it's my first script. DElphine (3 Replies)
Discussion started by: delphine
3 Replies

3. UNIX for Dummies Questions & Answers

Wierd boot-up sequence

Hi, I have two machines, one is a E3500 and the other one is a V490; I face a strange issue with both of them. The boot up sequence gives the output of the devalias command. Has anybody faced this?? Please do let me know what needs to be done o resolve this. Regards, NP (1 Reply)
Discussion started by: nitinp82
1 Replies

4. Linux

linux 2.4 boot up sequence

I am running linux red hat and I need to know the command to view the boot up process.... (that is the driver initialization, drive mount, etc).... Does anyone know this command? (7 Replies)
Discussion started by: Franco
7 Replies

5. Solaris

how to change the boot sequence?

Hi all, I have solaris and xp installed... Usually solaris occupies the first boot slot. So i wanted to know if it is possible to change the boot sequence to xp first and then solaris? (5 Replies)
Discussion started by: wrapster
5 Replies

6. Shell Programming and Scripting

Unix script for Checking sequence

Hello, I need Unix script for Checking sequence and get output in a file for missing sequences information. We are moving archive log to a server for DR .if any files miss from sequence DR will fails. so we need script to monitor sequence of files which are FTP from the Production servers .... (2 Replies)
Discussion started by: Rata_raj
2 Replies

7. Shell Programming and Scripting

script to touch a sequence of files

Hi, My requirement is i need to touch a sequence of files like touch a touch b touch c now i need the script in a way that checks if all files are touched or not. if any file say b is not touched then i should get this notification. Please suggest as i am new to unix (2 Replies)
Discussion started by: sussane
2 Replies

8. Filesystems, Disks and Memory

Boot Sequence changed After Image Restore

Hello All, I backed up my RHEL 4 as an image. Then I restored the image on my machine. Everything went fine but I dont get the normal boot sequence as it used to come when I freshly installed RHEL4. The messages that are shown when the system boots are something like- " ..... EXT3-fs:... (2 Replies)
Discussion started by: shamik
2 Replies

9. UNIX for Advanced & Expert Users

script with a sequence of nohups

Hi, I have written this script below to run a mathematica notebook, and then I want to launch another one when the first one finishes doing what it must. The notebook includes a command which will exit the program math. If I do it like below the two math processes begin at the same time, and... (3 Replies)
Discussion started by: amen_corner
3 Replies

10. Shell Programming and Scripting

find common entries and match the number with long sequence and cut that sequence in output

Hi all, I have a file like this ID 3BP5L_HUMAN Reviewed; 393 AA. AC Q7L8J4; Q96FI5; Q9BQH8; Q9C0E3; DT 05-FEB-2008, integrated into UniProtKB/Swiss-Prot. DT 05-JUL-2004, sequence version 1. DT 05-SEP-2012, entry version 71. FT COILED 59 140 ... (1 Reply)
Discussion started by: manigrover
1 Replies
st_ats_enabled(5)						     OBSOLETED							 st_ats_enabled(5)

NAME
st_ats_enabled - determine whether to reserve a tape device on open (OBSOLETED) VALUES
Default Allowed values or Recommended values DESCRIPTION
Note: this tunable is obsoleted and has been renamed to beginning with release HP-UX 11i v3. This tunable notifies the stape or estape driver whether it needs to reserve a tape device on open and subsequently release it on close. When this tunable is on the stape or estape driver will attempt to reserve any tape device on open. The driver has a few tape devices flagged as suitable devices for this functionality including DLT 8000, DLT 7000, STK 9840, HP Ultrium, and others. DDS drives are not flagged for this functionality. The tunable allows the safe sharing of tape devices in multinode configurations like MC/ServiceGuard's Advanced Tape Sharing. The auto- matic reserve and release protects the tape device from being accessed from multiple nodes which would corrupt a backup. If the reserve portion of the stape or estape driver's open routine fails, a status of is returned. Who Is Expected to Change This Tunable? Anyone. Restrictions on Changing Changes to this tunable take effect immediately and are used during the next open or close. When Should the Tunable Be Turned On? This tunable should be turned on if the system will be used in an MC/ServiceGuard Advanced Tape Sharing configuration or the user wants the stape or estape driver to use automatic reserve or release on open and close for multinode manageability. What Are the Side Effects of Turning the Tunable On? A reserve is sent to the tape device by the stape or estape driver on open and a release is sent on close. No other initiator or HBA will be able to access the tape device while it is opened on another initiator or HBA. When Should the Tunable Be Turned Off? This tunable should be turned off for any SAN tape sharing solution configuration other than ATS. Most multinode backup applications (for example, Omniback) manage device reservation themselves and any interference by the stape or estape driver may produce problems. This tun- able should also be turned off for any multiplatform SAN configuration to keep tape access across platforms more uniform. What Are the Side Effects of Turning the Tunable Off? Unauthorized access from another initiator might interfere with any current tape operation. What Other Tunables Should Be Changed at the Same Time? None. WARNINGS
All HP-UX kernel tunable parameters are release specific. This parameter may be removed or have its meaning changed in future releases of HP-UX. Installation of optional kernel software, from HP or other vendors, may cause changes to tunable parameter values. After installation, some tunable parameters may no longer be at the default or recommended values. For information about the effects of installation on tun- able values, consult the documentation for the kernel software being installed. For information about optional kernel software that was factory installed on your system, see at AUTHOR
was developed by HP. SEE ALSO
st_ats_enable(5), scsi_tape(7), scsimgr_estape(7). Tunable Kernel Parameters st_ats_enabled(5)
All times are GMT -4. The time now is 04:05 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy