Comments (2)
Are you able to make the syslog (/var/log/messages) available - the above snippet has nothing to do with any I/O
I would also recommend turning off the mhvtl.ko logging - it's only (semi) useful if debugging the actual kernel module.
Cheers
from mhvtl.
The distribution is a Fedora 39. There's no more syslog, every message ends up in systemd-journal.
I've modified mhvtl.conf
to set verbosity level to 3 and enable debug, now I get the following in journal when running mt status
:
Feb 08 12:04:32 nbox.home.c0ff33.net vtltape[15244]: ioctl(VX_TAPE_POLL_STATUS) returned: 254, interval: 179205
Feb 08 12:04:32 nbox.home.c0ff33.net vtltape[15244]: vtltape: CDB (258) (delay 179205): 00 00 00 00 00 00
Feb 08 12:04:32 nbox.home.c0ff33.net vtltape[15244]: vtltape: ssc_tur(): Test Unit Ready (258) ** : Yes
Feb 08 12:04:32 nbox.home.c0ff33.net vtltape[15244]: vtltape: completeSCSICommand(): OP s/n: (258), sz: 0, sam_status: 0
Feb 08 12:04:32 nbox.home.c0ff33.net vtltape[15244]: ioctl(VX_TAPE_POLL_STATUS) returned: 0, interval: 5
Feb 08 12:04:32 nbox.home.c0ff33.net vtltape[15244]: ioctl(VX_TAPE_POLL_STATUS) returned: 0, interval: 405
Feb 08 12:04:32 nbox.home.c0ff33.net vtltape[15244]: ioctl(VX_TAPE_POLL_STATUS) returned: 254, interval: 805
Feb 08 12:04:32 nbox.home.c0ff33.net vtltape[15244]: vtltape: CDB (259) (delay 805): 05 00 00 00 00 00
Feb 08 12:04:32 nbox.home.c0ff33.net vtltape[15244]: vtltape: ssc_read_block_limits(): READ BLOCK LIMITS (259) **
Feb 08 12:04:32 nbox.home.c0ff33.net vtltape[15244]: vtltape: resp_read_block_limits(): Min/Max sz: 1/2097152
Feb 08 12:04:32 nbox.home.c0ff33.net vtltape[15244]: vtltape: completeSCSICommand(): OP s/n: (259), sz: 6, sam_status: 0
Feb 08 12:04:32 nbox.home.c0ff33.net vtltape[15244]: ioctl(VX_TAPE_POLL_STATUS) returned: 0, interval: 5
Feb 08 12:04:32 nbox.home.c0ff33.net kernel: st 7:0:1:0: [st1] Block limits 1 - 2097152 bytes.
Feb 08 12:04:32 nbox.home.c0ff33.net vtltape[15244]: ioctl(VX_TAPE_POLL_STATUS) returned: 254, interval: 405
Feb 08 12:04:32 nbox.home.c0ff33.net vtltape[15244]: vtltape: CDB (260) (delay 405): 1a 00 00 00 0c 00
Feb 08 12:04:32 nbox.home.c0ff33.net vtltape[15244]: vtltape: spc_mode_sense(): MODE SENSE 6 (260) **
Feb 08 12:04:32 nbox.home.c0ff33.net vtltape[15244]: vtltape: spc_mode_sense(): Page Control : Current values(0x00)
Feb 08 12:04:32 nbox.home.c0ff33.net vtltape[15244]: vtltape: spc_mode_sense(): Page/Subpage Code: 0x00/0x00
Feb 08 12:04:32 nbox.home.c0ff33.net vtltape[15244]: vtltape: spc_mode_sense(): Report Block Descriptor
Feb 08 12:04:32 nbox.home.c0ff33.net vtltape[15244]: vtltape: spc_mode_sense(): Allocation len : 12
Feb 08 12:04:32 nbox.home.c0ff33.net vtltape[15244]: mode sense: Returning 12 bytes
Feb 08 12:04:32 nbox.home.c0ff33.net vtltape[15244]: vtltape: 0b 88 10 08 5e 00 00 00 00 00 00 00 : ....^... ....
Feb 08 12:04:32 nbox.home.c0ff33.net vtltape[15244]: vtltape: completeSCSICommand(): OP s/n: (260), sz: 12, sam_status: 0
Feb 08 12:04:32 nbox.home.c0ff33.net vtltape[15244]: ioctl(VX_TAPE_POLL_STATUS) returned: 0, interval: 5
from mhvtl.
Related Issues (20)
- Server reboot stucked due to unkillable mhvtl (SCSI Target: 15) HOT 4
- mhvtl not creating library contents in /opt/mhvtl HOT 1
- mhvtl website unreachable HOT 1
- Compile on el9 / 5.14 kernel HOT 2
- compatible with nbu 10.1? HOT 7
- New MHVTL release for recent kernels HOT 2
- The default L80 library works fine but the L700 fails in somewhat random ways. HOT 18
- compilation issue in usr/vtltape.c HOT 3
- Add support in VHF to indicate whether or not drive needs to be cleaned HOT 8
- Tape load no longer working for STK-L700 emulation HOT 5
- Not able to open mhvtl gui. HOT 2
- WORM capability doesn't work in mhvtl. HOT 34
- Unloading a tape, then loading it back in, mt status shows EOT instead of BOT HOT 3
- Selecting tape and library emulations HOT 3
- Can't turn off verbose logging HOT 1
- The flags are wrong in the long form response of read position? HOT 3
- Build error with ssc_log_sense in ssc.c HOT 2
- kernel crash when restarting mhvtl.target HOT 8
- Enhancement idea: update vtlcmd to show the commit number and date released HOT 15
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mhvtl.