Bug 124965 - System hangs with cdrecord, SG_IO and scsi cdwriter
Summary: System hangs with cdrecord, SG_IO and scsi cdwriter
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel   
(Show other bugs)
Version: 2
Hardware: i386
OS: Linux
Target Milestone: ---
Assignee: Dave Jones
QA Contact: Brian Brock
Depends On:
TreeView+ depends on / blocked
Reported: 2004-06-01 16:52 UTC by Adam Bowns
Modified: 2015-01-04 22:06 UTC (History)
2 users (show)

Fixed In Version: FC3 - kernel-2.6.9-1.681_FC3
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2004-11-24 01:29:28 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
dmesg (10.57 KB, text/plain)
2004-06-01 17:22 UTC, Adam Bowns
no flags Details
cat /proc/scsi/scsi (492 bytes, text/plain)
2004-06-01 17:23 UTC, Adam Bowns
no flags Details

Description Adam Bowns 2004-06-01 16:52:21 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040510

Description of problem:
cdrecord hangs system at the stage

"Blanking PMA, TOC, pregap"

and again at the stage


At these stages the whole system hangs for about 30 seconds, then
resumes normal operation. I have a scsi cdwriter and I am using

cdrecord -v speed=4 dev=/dev/cdrom1 blank=fast filename.iso

to execute cdrecord. On previous versions before the introduction of
SG_IO I never had this problem.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. cdrecord -v speed=4 dev=/dev/cdrom1 blank=fast filename.iso

Actual Results:  system hangs, then resumes about 30 seconds later.

Expected Results:  no hang.

Additional info:

Comment 1 Arjan van de Ven 2004-06-01 17:00:28 UTC
which scsi controller is this ? which burner ?

Comment 2 Arjan van de Ven 2004-06-01 17:06:28 UTC
can you attach the output of "cat /proc/scsi/scsi" and of dmesg ?

Comment 3 Adam Bowns 2004-06-01 17:22:39 UTC
Created attachment 100752 [details]

Comment 4 Adam Bowns 2004-06-01 17:23:21 UTC
Created attachment 100753 [details]
cat /proc/scsi/scsi

Comment 5 Adam Bowns 2004-06-01 17:23:56 UTC
Scsi controller is Adaptec 19160 using module aic7xxx.

The burner is a Yamaha CRW2100S

Comment 6 giulioo 2004-06-01 20:25:20 UTC
Try adding
to the cdrecord command line options

Comment 7 Adam Bowns 2004-06-01 20:58:05 UTC
I tried it with the -immed option and it has fixed the problem, I got
a slight jump on audio playback at the âfixating...â stage, but no
system hangs, which is good enough for me :-)

I've done a little bit of reading about IMMED and found that it is
used to stop a device using all the bandwidth of the bus it is on. I
would understand why this would fix my problem if my hard disk and my
cd-writer were on the same bus but they are on 2 separate buses, with
2 separate cables. My hard disk is on the U160 bus, with its own 68pin
cable. And My cd-writer is on another bus (don't know which scsi
version it is, but it's on its own 50pin cable).

Do you have any idea's why this fixes my problem ?

Also do you know why this problem has only arisen since the
introduction of SG_IO ?

Comment 8 Adam Bowns 2004-11-24 01:29:28 UTC
This problem has been totally fixed since I upgraded to FC3
(kernel-2.6.9-1.681_FC3), I'm not even getting the slight jump on
audio playback anymore.

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