mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Giuseppe Bilotta <bilotta78@hotpop.com>
To: linux-kernel@vger.kernel.org
Subject: Re: [OT] Joerg Schilling flames Linux on his Blog
Date: Thu, 26 May 2005 07:06:29 +0200	[thread overview]
Message-ID: <pide2disi8p3$.ap55vxesqd8k.dlg@40tude.net> (raw)
In-Reply-To: <200505260945.01886.patrakov@ums.usu.ru>

On Thu, 26 May 2005 09:45:01 +0600, Alexander E. Patrakov wrote:

> That list would be device-dependent. See two examples below.
> 
> 1) cdrecord uses some Sony proprietary commands instead of standard MMC ones 
> if the drive seems to be made by Sony. What is the effect of those Sony 
> commands on non-Sony drives?
> 
> 2) I have the following DVD-ROM + CD-RW combo drive:
> 
> 'PHILIPS ' 'CDD5301         ' 'P1.2'
> 
> Originally, I bought it with the 'B1.1' firmware revision. This drive with old 
> firmware is a security hole by itself: if one calls cdrecord dev=/dev/hdd 
> -dao some-image.iso, the drive will enter some strange mode at the end. In 
> particular, it will flash its light randomly, will never give the CD back 
> (waited 15 minutes), and will prevent communication with /dev/hdc until I 
> power off the computer (pressing Reset is not enough). Burning CDs with -raw 
> switch instead of -dao works. With newer firmware, -dao doesn't lock up the 
> drive, but still results in damaged CDs.
> 
> Also this drive always silently produces CDs with a lot of wrong bits (but a 
> useless and broken image can still be read with dd or readcd) when BurnFree 
> is off.
> 
> So this filter, if it is in the kernel, should forbid commands specific to SAO 
> burning for this drive _and_ also return a modified list of capabilities for 
> this drive (i.e. say that this drive _cannot_ burn in SAO mode).
> 
> Isn't this too much knowledge for the kernel?

Isn't this exactly the knowledge the kernel, not the apps, should
have? What if I wanted to use a different CD burning program? Why
should we have duplicate knowledge about the hardware?

Do you picture every PCI-accessing userland program to have its own
copy of pciids & relative knowledge?

-- 
Giuseppe "Oblomov" Bilotta

"I weep for our generation" -- Charlie Brown


  reply	other threads:[~2005-05-26  5:07 UTC|newest]

Thread overview: 48+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <4847F-8q-23@gated-at.bofh.it>
     [not found] ` <E1Db3zm-0004vF-9j@be1.7eggert.dyndns.org>
2005-05-25 22:46   ` OT] " Joerg Schilling
2005-05-25 23:31     ` Kyle Moffett
2005-05-26  3:45       ` [OT] " Alexander E. Patrakov
2005-05-26  5:06         ` Giuseppe Bilotta [this message]
     [not found]         ` <Pine.LNX.4.58.0505261335440.2939@be1.lrz>
2005-05-26 12:33           ` Alexander E. Patrakov
     [not found]             ` <Pine.LNX.4.58.0505261651220.3407@be1.lrz>
2005-05-27 10:44               ` Joerg Schilling
2005-05-26 19:20       ` OT] " Bill Davidsen
2005-05-26 21:26         ` Kyle Moffett
2005-05-26 23:30           ` Matthias Andree
2005-05-27  9:39       ` Joerg Schilling
2005-05-27 11:09         ` Wakko Warner
2005-05-27 14:21         ` Dmitry Torokhov
2005-05-30  9:07           ` Joerg Schilling
2005-05-30 10:47             ` Markus Plail
2005-05-30 22:27             ` Dmitry Torokhov
2005-05-30 23:20               ` Måns Rullgård
2005-05-30 23:35               ` Brian O'Mahoney
2005-05-31 12:51                 ` Joerg Schilling
2005-05-31 12:47               ` Joerg Schilling
     [not found]     ` <Pine.LNX.4.58.0505260205390.19389@be1.lrz>
2005-05-27 10:03       ` Joerg Schilling
     [not found]         ` <Pine.LNX.4.58.0505271633200.3055@be1.lrz>
2005-05-30  9:36           ` Joerg Schilling
     [not found]             ` <Pine.LNX.4.58.0505301326450.2363@be1.lrz>
2005-05-31 10:57               ` Joerg Schilling
2005-05-25 13:15 Joerg Schilling
2005-05-25 23:12 ` Kyle Moffett
2005-05-26 10:15   ` Joerg Schilling
2005-05-26 12:47     ` [OT] " Alexander E. Patrakov
2005-05-27 10:31       ` Joerg Schilling
  -- strict thread matches above, loose matches on Subject: below --
2005-05-20 17:45 Patrick McFarland
2005-05-20 17:02 ` jmerkey
2005-05-20 18:24 ` Markus Plail
2005-05-20 18:34 ` Matthias-Christian Ott
2005-05-20 18:41   ` Lee Revell
2005-05-20 23:20 ` Brian O'Mahoney
2005-05-21  7:38   ` Adrian Bunk
2005-05-21 11:25     ` Bernd Petrovitsch
2005-05-21 11:33       ` Måns Rullgård
2005-05-22 18:24         ` Bernd Petrovitsch
2005-05-21 11:41       ` André Tomt
2005-05-21 23:24         ` Adrian Bunk
2005-05-22  0:27           ` Andre Tomt
2005-05-22 14:17             ` Matthias Andree
2005-05-21 16:39     ` Brian O'Mahoney
2005-05-21 23:59       ` Adrian Bunk
2005-05-22  1:22 ` Andrew Haninger
2005-05-22  4:50   ` Patrick McFarland
2005-05-22 14:39     ` Matthias Andree
2005-05-22 20:40     ` Bernhard Rosenkraenzer
2005-05-22 15:54   ` Alistair John Strachan
2005-05-23 13:17 ` Nix
2005-05-23 14:35   ` Brian O'Mahoney
2005-05-23 14:58     ` Nix

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='pide2disi8p3$.ap55vxesqd8k.dlg@40tude.net' \
    --to=bilotta78@hotpop.com \
    --cc=linux-kernel@vger.kernel.org \
    /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®