From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050512 Red Hat/1.7.8-1.4.1 Description of problem: Execution /sbin/stinit to initialize a tape drive causes the following to be logged in /var/log/messages: kernel: program stinit is using a deprecated SCSI ioctl, please convert it to SG_IO Version-Release number of selected component (if applicable): mt-st-0.8-1 How reproducible: Always Steps to Reproduce: 1./sbin/stinit 2.tail /var/log/messages 3. Actual Results: reported kernel messages is generated Expected Results: no message Additional info:
I cannot see anything when /sbin/stinit is called in /var/log/messages/. The possible reason for this that I use RHEL4 U1 kernel, uname -a says: Linux 2.6.9-11.ELsmp #1 SMP Fri May 20 18:25:30 EDT 2005 x86_64 x86_64 x86_64 GNU/Linux Which kernel do you use?
uname -a Linux nutria.uwyo.edu 2.6.9-5.0.5.EL #1 Fri Apr 8 14:21:35 EDT 2005 i686 athlon i386 GNU/Linux same results on another system: uname -a Linux xxx....uwyo.edu 2.6.9-5.0.3.ELsmp #1 SMP Mon Feb 14 10:03:50 EST 2005 i686 i686 i386 GNU/Linux /etc/stinit.def: # Exabyte 8505 and other similar 8 mm helical scan driver manufacturer=EXABYTE model = "EXB-8505" { scsi2logical=1 can-bsr auto-lock mode1 blocksize=0 density=0x8c # 8500 density, compressing mode2 blocksize=0 density=0x15 # 8500 density, no compression mode3 blocksize=0 density=0x90 # 8200 density, compressing mode4 blocksize=0 density=0x14 # 8200 density, no compression } -rwxr-xr-x 1 root root 33480 Aug 9 2004 /sbin/stinit This is a newly installed RHEL 4 system. Up2date. /etc/syslog.conf logging for /var/log/messages: *.info;mail.none;news.none;auth.none;authpriv.none;cron.none /var/log/messages
I tried to reproduce your case on both RHEL4 U1 and RHEL4 systems with exactly the same configuration as you presented in comment #2. The problem is that I'm unable to make stinit actually running as it requires a tape drive actually installed on my system to let stinit communicate using the deprecated SCSI ioctl. I get: # /sbin/stinit Initialized 0 tape devices. Maybe a look into the mt-st code will give me some clue.
After a "flag" change to the bug, I have reviewed. At: 2.6.9-34.0.2.ELsmp #1 SMP Fri Jun 30 10:33:58 EDT 2006 i686 i686 i386 GNU/Linux for several systems that are RHN current, the error message is no longer generated. I would assume that you found the offending code and got it updated. I did/do not see a resolution in the bugzilla bug record and thought an update on a year old bug might be appropriate. I consider the problem resolved at current revisions.
Ok, closing NOATBUG as the problem is now resolved in the current releases.