Red Hat Bugzilla – Bug 230378
Kernel 2.6.18-8 (RHEL5 RC1) locks up when issuing >20 counts of 2K blocks to an sg device, i.e., tape drive or cdrom
Last modified: 2007-11-30 17:07:42 EST
Description of problem:
Kernel 2.6.18-8 (RHEL5 RC1) locks up when issuing >20 counts of 2K blocks to an
sg device, i.e., tape drive or cdrom.
Version-Release number of selected component (if applicable):
Kernel 2.6.18-8 (RHEL5 RC1)
Simply write >20 counts of 2K blocks to a sg device such as a tape drive or
Steps to Reproduce:
1. Download the sg3 utility package (sg3_utils-1.20.tgz) from
2. Compile it
3. Hook up a tape drive
4. Modprobe the sg module
5. Run: sg_write_buffer --length=45056 /dev/sg0 where sg0 is the tape drive
The system locks up instantly; you won't be able to move the mouse.
See attached C program.
*** This bug has been marked as a duplicate of 230377 ***