NOTES (236427) | NOTES (236712) |
---|---|
1# $FreeBSD: head/sys/conf/NOTES 236427 2012-06-01 23:29:48Z mjacob $ | 1# $FreeBSD: head/sys/conf/NOTES 236712 2012-06-07 10:05:51Z mav $ |
2# 3# NOTES -- Lines that can be cut/pasted into kernel and hints configs. 4# 5# Lines that begin with 'device', 'options', 'machine', 'ident', 'maxusers', 6# 'makeoptions', 'hints', etc. go into the kernel configuration that you 7# run config(8) with. 8# 9# Lines that begin with 'hint.' are NOT for config(8), they go into your --- 1290 unchanged lines hidden (view full) --- 1300device targ #SCSI Target Mode Code 1301device targbh #SCSI Target Mode Blackhole Device 1302device pass #CAM passthrough driver 1303device sg #Linux SCSI passthrough 1304device ctl #CAM Target Layer 1305 1306# CAM OPTIONS: 1307# debugging options: | 2# 3# NOTES -- Lines that can be cut/pasted into kernel and hints configs. 4# 5# Lines that begin with 'device', 'options', 'machine', 'ident', 'maxusers', 6# 'makeoptions', 'hints', etc. go into the kernel configuration that you 7# run config(8) with. 8# 9# Lines that begin with 'hint.' are NOT for config(8), they go into your --- 1290 unchanged lines hidden (view full) --- 1300device targ #SCSI Target Mode Code 1301device targbh #SCSI Target Mode Blackhole Device 1302device pass #CAM passthrough driver 1303device sg #Linux SCSI passthrough 1304device ctl #CAM Target Layer 1305 1306# CAM OPTIONS: 1307# debugging options: |
1308# -- NOTE -- If you specify one of the bus/target/lun options, you must 1309# specify them all! 1310# CAMDEBUG: When defined enables debugging macros 1311# CAM_DEBUG_BUS: Debug the given bus. Use -1 to debug all busses. 1312# CAM_DEBUG_TARGET: Debug the given target. Use -1 to debug all targets. 1313# CAM_DEBUG_LUN: Debug the given lun. Use -1 to debug all luns. 1314# CAM_DEBUG_FLAGS: OR together CAM_DEBUG_INFO, CAM_DEBUG_TRACE, 1315# CAM_DEBUG_SUBTRACE, and CAM_DEBUG_CDB | 1308# CAMDEBUG Compile in all possible debugging. 1309# CAM_DEBUG_COMPILE Debug levels to compile in. 1310# CAM_DEBUG_FLAGS Debug levels to enable on boot. 1311# CAM_DEBUG_BUS Limit debugging to the given bus. 1312# CAM_DEBUG_TARGET Limit debugging to the given target. 1313# CAM_DEBUG_LUN Limit debugging to the given lun. 1314# CAM_DEBUG_DELAY Delay in us after printing each debug line. |
1316# 1317# CAM_MAX_HIGHPOWER: Maximum number of concurrent high power (start unit) cmds 1318# SCSI_NO_SENSE_STRINGS: When defined disables sense descriptions 1319# SCSI_NO_OP_STRINGS: When defined disables opcode descriptions 1320# SCSI_DELAY: The number of MILLISECONDS to freeze the SIM (scsi adapter) 1321# queue after a bus reset, and the number of milliseconds to 1322# freeze the device queue after a bus device reset. This 1323# can be changed at boot and runtime with the 1324# kern.cam.scsi_delay tunable/sysctl. 1325options CAMDEBUG | 1315# 1316# CAM_MAX_HIGHPOWER: Maximum number of concurrent high power (start unit) cmds 1317# SCSI_NO_SENSE_STRINGS: When defined disables sense descriptions 1318# SCSI_NO_OP_STRINGS: When defined disables opcode descriptions 1319# SCSI_DELAY: The number of MILLISECONDS to freeze the SIM (scsi adapter) 1320# queue after a bus reset, and the number of milliseconds to 1321# freeze the device queue after a bus device reset. This 1322# can be changed at boot and runtime with the 1323# kern.cam.scsi_delay tunable/sysctl. 1324options CAMDEBUG |
1325options CAM_DEBUG_COMPILE=-1 1326options CAM_DEBUG_FLAGS=(CAM_DEBUG_INFO|CAM_DEBUG_PROBE|CAM_DEBUG_PERIPH) |
|
1326options CAM_DEBUG_BUS=-1 1327options CAM_DEBUG_TARGET=-1 1328options CAM_DEBUG_LUN=-1 | 1327options CAM_DEBUG_BUS=-1 1328options CAM_DEBUG_TARGET=-1 1329options CAM_DEBUG_LUN=-1 |
1329options CAM_DEBUG_FLAGS=(CAM_DEBUG_INFO|CAM_DEBUG_TRACE|CAM_DEBUG_CDB) | 1330options CAM_DEBUG_DELAY=1 |
1330options CAM_MAX_HIGHPOWER=4 1331options SCSI_NO_SENSE_STRINGS 1332options SCSI_NO_OP_STRINGS 1333options SCSI_DELAY=5000 # Be pessimistic about Joe SCSI device 1334 1335# Options for the CAM CDROM driver: 1336# CHANGER_MIN_BUSY_SECONDS: Guaranteed minimum time quantum for a changer LUN 1337# CHANGER_MAX_BUSY_SECONDS: Maximum time quantum per changer LUN, only --- 1650 unchanged lines hidden --- | 1331options CAM_MAX_HIGHPOWER=4 1332options SCSI_NO_SENSE_STRINGS 1333options SCSI_NO_OP_STRINGS 1334options SCSI_DELAY=5000 # Be pessimistic about Joe SCSI device 1335 1336# Options for the CAM CDROM driver: 1337# CHANGER_MIN_BUSY_SECONDS: Guaranteed minimum time quantum for a changer LUN 1338# CHANGER_MAX_BUSY_SECONDS: Maximum time quantum per changer LUN, only --- 1650 unchanged lines hidden --- |