FreeBSD Bugzilla – Attachment 119645 Details for
Bug 162256
[mpt] QUEUE FULL EVENT and 'mpt_cam_event: 0x0'
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
file.shar
file.shar (text/plain), 1.49 KB, created by
alexander.haderer
on 2011-11-02 19:20:07 UTC
(
hide
)
Description:
file.shar
Filename:
MIME Type:
Creator:
alexander.haderer
Created:
2011-11-02 19:20:07 UTC
Size:
1.49 KB
patch
obsolete
># This is a shell archive. Save it in a file, remove anything before ># this line, and then unpack it by entering "sh file". Note, it may ># create directories; files and directories will be owned by you and ># have default permissions. ># ># This archive contains: ># ># mpttags ># >echo x - mpttags >sed 's/^X//' >mpttags << '5d94cc96def1eaaabbdd9ab978da76db' >X#!/bin/sh >X >X# PROVIDE: mpttags >X# REQUIRE: FILESYSTEMS >X# >X# Set parameter 'tags' to value $mpttags_value for all daN disks connected >X# to an mpt controller using command 'camcontrol tags -N val' >X# >X# Add the following line(s) to /etc/rc.conf to enable mpttags: >X# >X# mpttags_enable="YES" >X# >X# mpttags_value="N" An integer value for tags, range 2..255, defaults to 100 >X# >X# This scripts takes one of the following commands: >X# >X# start >X# >X >X. /etc/rc.subr >X >X# set default values >Xname="mpttags" >Xrcvar=`set_rcvar` >Xmpttags_enable=${mpttags_enable:-"NO"} >Xmpttags_value=${mpttags_value:-"100"} >X >Xstart_cmd="mpttags_start" >Xstop_cmd=":" >X >X# set default programs >XCAMCONTROL=${CAMCONTROL:-"/sbin/camcontrol"} >XEGREP=${EGREP:-"/usr/bin/egrep"} >X >Xmpttags_start() >X{ >X for disk in $(${SYSCTL_N} kern.disks); do >X case ${disk} in >X >X da[0-9]|da[0-9][0-9]) >X if ${CAMCONTROL} tags ${disk} | >X ${EGREP} '^\(pass[0-9]{1,2}:mpt[0-9]:' > /dev/null ; >X then >X ${CAMCONTROL} tags ${disk} -N ${mpttags_value} \ >X > /dev/null >X fi >X ;; >X *) >X ;; >X esac >X done >X} >X >Xload_rc_config $name >Xrun_rc_command "$1" >5d94cc96def1eaaabbdd9ab978da76db >exit
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 162256
: 119645