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
Kernel 2.6.18-8 (RHEL5 RC1) locks up when issuing >20 counts of 2K blocks to ...
Status: CLOSED DUPLICATE of bug 230377
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: kernel (Show other bugs)
5.0
All Linux
medium Severity urgent
: ---
: ---
Assigned To: Red Hat Kernel Manager
Brian Brock
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2007-02-28 12:42 EST by Quang Ngo
Modified: 2007-11-30 17:07 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2007-02-28 12:52:38 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Quang Ngo 2007-02-28 12:42:04 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)

How reproducible:
Simply write >20 counts of 2K blocks to a sg device such as a tape drive or 
CD/DVD drive.

Steps to Reproduce:
1. Download the sg3 utility package (sg3_utils-1.20.tgz) from 
http://sg.torque.net/sg/p/
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

Actual results:
The system locks up instantly; you won't be able to move the mouse.

Expected results:
System lockup

Additional info:
See attached C program.
Comment 1 Linda Wang 2007-02-28 12:52:38 EST

*** This bug has been marked as a duplicate of 230377 ***

Note You need to log in before you can comment on or make changes to this bug.