mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Marc Koschewski <marc@osknowledge.org>
To: Jan Engelhardt <jengelh@linux01.gwdg.de>
Cc: Phillip Susi <psusi@cfl.rr.com>,
	Marc Koschewski <marc@osknowledge.org>,
	linux-kernel@vger.kernel.org
Subject: Re: CD-blanking leads to machine freeze with current -git
Date: Sat, 11 Feb 2006 16:25:18 +0100	[thread overview]
Message-ID: <20060211152518.GB5721@stiffy.osknowledge.org> (raw)
In-Reply-To: <Pine.LNX.4.61.0602111614050.17942@yvahk01.tjqt.qr>

* Jan Engelhardt <jengelh@linux01.gwdg.de> [2006-02-11 16:16:58 +0100]:

> >
> > If that is what is going on, there is nothing linux can do about it; it's a
> > limitation of the hardware.  The IDE controller can only accept one command at
> > a time, so if that command takes a while to complete, the other drive on the
> > same channel can not be accessed until the first command completes. 
> 
> CD blanking only takes "one" command for the whole operation, as 
> e.g. compared to CD writing where you always have to push out data packets.

The cdrecord man page says this:

	Setting the -immed flag will request the command to return immediately while
	the operation proceeds in background, making the bus usable for the other
	devices and avoiding the system freeze.  This is an experimental feature which
	may work or not, depending on the model of the CD/DVD writer.  A correct 
	solution would be to set up a correct cabling but there seem to be notebooks
	around that have been set up the wrong way by the manufacturer.  As it is
	impossible to fix this problem in notebooks, the -immed option has been added.

It how can the bus run the command sent on the device 'in the background' when
it can only process _one_ request at a time?

To me it sound like the foreground process (cdrecord) fork()s a process to blank
the CD-RW. Clear. But you said the bus is not able to do so... I'm not getting
this.

> 
> Why I think it's just one (note the quotes): You can interrupt/kill 
> cdrecord in the midst of blanking a CD, and blanking will continue to the 
> 'end' (either fast blank or full blank, whichever was sent)
> 
> As mentioned some time earlier, I had similar, but not the same issues. I 
> could continue accessing the harddrive - otherwise mplayer would have 
> stopped immediately, but it played at least until EOF.
> 
> > If the system doesn't come back though after sufficient time has gone by for
> > the burn to complete, then this is probably not what is happening.  I'd suggest
> > using magic-sysreq to force an unmount and reboot, then see if there's anything
> > in the logs. 
> 
> 
> Jan Engelhardt
> -- 
> 

Marc

  reply	other threads:[~2006-02-11 15:25 UTC|newest]

Thread overview: 88+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-27 16:37 CD writing in future Linux try #2 [ was: Re: CD writing in future Linux (stirring up a hornets' nest) ] Bartlomiej Zolnierkiewicz
2006-01-29 11:01 ` Joerg Schilling
2006-01-29 11:15   ` Jan Engelhardt
2006-01-29 11:28     ` Matthias Andree
2006-01-30 15:24     ` Joerg Schilling
2006-02-05 12:03       ` Jan Engelhardt
2006-02-06 16:29         ` Joerg Schilling
2006-02-06 17:17           ` René Rebe
2006-02-06 18:02           ` Matthias Andree
2006-01-29 11:26   ` Matthias Andree
2006-01-29 20:41     ` Jan Engelhardt
2006-01-29 20:50       ` Joerg Schilling
2006-01-29 21:28         ` Albert Cahalan
2006-01-30 16:11           ` Joerg Schilling
2006-01-30 16:31             ` Albert Cahalan
2006-01-30 16:35               ` Joerg Schilling
2006-01-30 17:08                 ` Matthias Andree
2006-01-30 17:14                   ` Joerg Schilling
2006-01-30 17:30                     ` Matthias Andree
2006-01-30 17:37                       ` Joerg Schilling
2006-01-30 17:49                         ` Matthias Andree
2006-01-30 20:22                         ` James Courtier-Dutton
2006-01-31 10:17                         ` Andreas Jellinghaus
2006-01-30 20:24                     ` Phillip Susi
2006-01-31 10:47                       ` Joerg Schilling
2006-01-31 11:22                         ` Matthias Andree
2006-02-01  0:15                         ` Bill Davidsen
2006-02-01  7:45                         ` Tejun Heo
2006-02-01 16:41                           ` Joerg Schilling
2006-01-31 23:55         ` Bill Davidsen
2006-02-01 15:06           ` Joerg Schilling
2006-01-30 15:25     ` Joerg Schilling
2006-01-30 17:09       ` Matthias Andree
2006-01-30 17:15         ` Joerg Schilling
2006-01-30 23:26           ` Pavel Machek
2006-02-01 15:51             ` Jan Engelhardt
2006-01-31  1:43   ` Patrick McFarland
2006-01-31  1:47     ` CD writing in future Linux try #2 David S. Miller
2006-01-31 11:13       ` Gerhard Mack
2006-01-31 11:18         ` David S. Miller
2006-02-01  0:28           ` Bill Davidsen
2006-02-01 15:12             ` Joerg Schilling
2006-02-01 15:25               ` Matthias Andree
2006-02-01 16:32                 ` Joerg Schilling
2006-02-02 16:24                 ` Jan Engelhardt
2006-02-02 16:29             ` Jan Engelhardt
2006-02-02 18:37               ` Bill Davidsen
2006-02-03 12:58                 ` Joerg Schilling
2006-02-03 13:15                   ` Matthias Andree
2006-02-03 16:43                     ` Joerg Schilling
2006-02-03 13:30                   ` linux-os (Dick Johnson)
2006-02-03 19:27                   ` Bill Davidsen
2006-02-01  4:49           ` Albert Cahalan
2006-02-01  7:56             ` jerome lacoste
2006-02-01 16:42               ` Joerg Schilling
2006-02-02  0:30                 ` Kurt Wall
2006-02-01 11:33             ` Rene Herman
2006-02-01 16:21               ` Jon Agirre
2006-02-02 16:35               ` Jan Engelhardt
2006-02-06 23:15                 ` Peter Chubb
2006-02-07  5:00                   ` Albert Cahalan
2006-02-01 16:36             ` Joerg Schilling
2006-02-01 17:01               ` Matthias Andree
2006-02-02 19:17             ` Bill Davidsen
2006-01-31 16:46         ` Lennart Sorensen
2006-01-31 14:15       ` linux-os (Dick Johnson)
     [not found]     ` <515e525f0601302205h4a845f36u12b946515759239a@mail.gmail.com>
2006-01-31  6:46       ` CD writing in future Linux try #2 [ was: Re: CD writing in future Linux (stirring up a hornets' nest) ] Kyle Moffett
2006-01-31  8:55     ` Pekka Enberg
2006-02-01  0:25     ` Jesper Juhl
2006-02-02 16:45       ` Jan Engelhardt
2006-02-10 17:58 ` CD-blanking leads to machine freeze with current -git [was: Re: CD writing in future Linux try #2 [ was: Re: CD writing in future Linux (stirring up a hornets' nest) ]] Marc Koschewski
2006-02-10 19:19   ` Phillip Susi
2006-02-10 19:39     ` Gene Heskett
2006-02-10 20:12       ` Kyle Moffett
2006-02-10 21:00         ` Gene Heskett
2006-02-10 21:00     ` Marc Koschewski
2006-02-10 21:26       ` Phillip Susi
2006-02-10 21:35         ` Lennart Sorensen
2006-02-11 15:16         ` CD-blanking leads to machine freeze with current -git Jan Engelhardt
2006-02-11 15:25           ` Marc Koschewski [this message]
2006-02-11 15:35             ` Doug McNaught
2006-02-11 15:44               ` Marc Koschewski
2006-02-10 23:23       ` CD-blanking leads to machine freeze with current -git [was: Re: CD writing in future Linux try #2 [ was: Re: CD writing in future Linux (stirring up a hornets' nest) ]] Alan Cox
2006-02-10 23:41         ` Marc Koschewski
2006-02-10 23:50           ` CD-blanking leads to machine freeze with current -git Doug McNaught
2006-02-10 23:56           ` CD-blanking leads to machine freeze with current -git [was: Re: CD writing in future Linux try #2 [ was: Re: CD writing in future Linux (stirring up a hornets' nest) ]] Alan Cox
2006-02-11  1:03       ` hackmiester (Hunter Fuller)
2006-02-11  1:08         ` Marc Koschewski

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060211152518.GB5721@stiffy.osknowledge.org \
    --to=marc@osknowledge.org \
    --cc=jengelh@linux01.gwdg.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=psusi@cfl.rr.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®