linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: PATCH: cdrecord: avoiding scsi device numbering for ide devices
@ 2004-08-06  8:33 Joerg Schilling
  2004-08-06  9:01 ` Eduard Bloch
                   ` (3 more replies)
  0 siblings, 4 replies; 394+ messages in thread
From: Joerg Schilling @ 2004-08-06  8:33 UTC (permalink / raw)
  To: dwmw2, schilling; +Cc: axboe, kernel, linux-kernel

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 544 bytes --]

It creates bad impressions if people from LKML are a source of unrelated rants.
Please stop this if you don't like to conribute to the subject.

BTW: I am using 'mailx' which is _the_ official mail reader from the POSIX 
standard......


Jörg

-- 
 EMail:joerg@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
       js@cs.tu-berlin.de		(uni)  If you don't have iso-8859-1
       schilling@fokus.fraunhofer.de	(work) chars I am J"org Schilling
 URL:  http://www.fokus.fraunhofer.de/usr/schilling ftp://ftp.berlios.de/pub/schily

^ permalink raw reply	[flat|nested] 394+ messages in thread
[parent not found: <2ptdY-42Y-55@gated-at.bofh.it>]
* Re: PATCH: cdrecord: avoiding scsi device numbering for ide devices
@ 2004-08-13 11:45 Joerg Schilling
  2004-08-13 12:21 ` Andreas Schwab
  0 siblings, 1 reply; 394+ messages in thread
From: Joerg Schilling @ 2004-08-13 11:45 UTC (permalink / raw)
  To: davidsen, timw; +Cc: James.Bottomley, axboe, linux-kernel, mj, schilling

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1156 bytes --]

>From davidsen@tmr.com  Thu Aug 12 23:08:49 2004

>But they *don't* map to consistent device names. All hot pluggable 
>devices seem to map to the next available name. Looking at one of my 
>utility systems, it has IDE drives mapped by Redhat with ide-scsi, real 
>SCSI drives, a couple of flash card slots mapped to SCSI, and a USB 
>device, all in the /dev/sdX namespace. And in the order in which they 
>were detected (connected, in other words).

Install Solaris and try to replug a USB writer - you will see the same
address as before.

>Joerg hasn't made it any better, but it isn't great anyway. I recommend 
>a script to do discovery and make symlinks somewhere to names which 
>always match the same device.

Being forced to base on a weak grounding does not make the layers above
bad if they only don't work because of the bad grounding.


Jörg

-- 
 EMail:joerg@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
       js@cs.tu-berlin.de		(uni)  If you don't have iso-8859-1
       schilling@fokus.fraunhofer.de	(work) chars I am J"org Schilling
 URL:  http://www.fokus.fraunhofer.de/usr/schilling ftp://ftp.berlios.de/pub/schily

^ permalink raw reply	[flat|nested] 394+ messages in thread
[parent not found: <20040812185302.GA18126@suse.de>]
* Re: PATCH: cdrecord: avoiding scsi device numbering for ide devices
@ 2004-08-12  2:24 Robert M. Stockmann
  2004-08-12  6:28 ` Frank Steiner
  0 siblings, 1 reply; 394+ messages in thread
From: Robert M. Stockmann @ 2004-08-12  2:24 UTC (permalink / raw)
  To: linux-kernel


On Tue, 10 Aug 2004, Joerg Schilling wrote 

> As the people who did create the bastardized version of cdrecord
> you are using did not make clear where the official defaults file
> for cdrecord is located, they did violate the license of cdrecord.
>  
> It really does mot make fun to see useless forks for software including
> only modifications that do not give you a single advantage over the original.
>  
> The license used with cdrecord allows people to make modifications and to 
> rediustribute the versions. 
>  
> Not a single modification from one of the Linux distribution I did see so far
> did introduce any advantage over the original.
>  
> I would love to see cooperations (and there is cooperation with people from 
> many places), but the big Linux distributors all fail to cooperate :-(
>  
> Look into the mkisofs source, I even needed to include a comment in hope to
> prevent people from SuSE to convert legal and correct C code into a broken
> piece of code just because they modify things they don't understand :-(
>  
> Jörg

Hello Jörg,

i must agree here that getting cdrecord/cdrtools-2.0x going on the latest
SuSE 9.x editions has been extremely tiresome. Can it not be the case that
this has something todo with SuSE's inheritance to the UnitedLinux project?

I would like to suggest and kindly propose to maybe start cooperating
with Warly from MandrakeSoft. I think he has done a fine job sofar
in the latest Mandrake editions, 9.2 and 10.0 , making your cdrtools-2.0x
software run like it should. Warly is even by you mentioned as the only
one not violating your GPL licensed cdrtools package.

His efforts to get DVD burning rolling can be found at : 

http://people.mandrakesoft.com/~warly/files/cdrtools/
 
thanks,
best regards,

Robert
-- 
Robert M. Stockmann - RHCE
Network Engineer - UNIX/Linux Specialist
crashrecovery.org  stock@stokkie.net


^ permalink raw reply	[flat|nested] 394+ messages in thread
* Re: PATCH: cdrecord: avoiding scsi device numbering for ide devices
@ 2004-08-12  1:57 Robert M. Stockmann
  2004-08-12  4:05 ` Andre Tomt
  2004-08-16 18:11 ` Tomasz Torcz
  0 siblings, 2 replies; 394+ messages in thread
From: Robert M. Stockmann @ 2004-08-12  1:57 UTC (permalink / raw)
  To: linux-kernel


On Wed, 04 Aug 2004, H.Rosmanith wrote:

> hi,
>  
> I've written a patch for cdrecord/cdrtools. I've sent it to Joerg Schilling
> already, but got no answer so far. Probably he's on vaccation.
>  
> I'm sending this to LKML too, because I've read about some ... nebulosity
> with respect to scsi device numbering as used by cdrtools.
>  
> To cut a long story short: the patch avoids cdrecord having to use the
> "virtual" scsi device numbering in the form of "ATAPI:x.y.z" and allows
> you to use the name of the device, e.g. /dev/hdc instead.
>  
> By removing the IDE to virtual scsi bus/host/lun mapping, a lot of confusion
> can be avoided especially if you have a lot devices of this kind in one
> system.
>  
> with kind regards,
> Herbert "herp" Rosmanith
>  
> Version: cdrtools-2.01a34
>  
> Solution: when the device specified in dev= starts with "/dev/hd" and
> this device can be found in /proc/ide, then cdrecord (and all
> it's components, such as e.g. cdrdao) is forced to use the
> ATAPI driver.
>  
> The patch is really very short and works at least on our system.
>  
> with kind regards,
> Herbert Rosmanith

Its indeed not straight forward to use cdrtools-2.0x together with
kernel 2.6.x . As an aid for the user, i wrote a small HOWTO for using 
cdrtools together with kernel 2.6, with special focus on retrieval
of which device names to use. The small HOWTO can be found on :

http://crashrecovery.org/oss-dvd/HOWTO-ossdvd.html

regards,

Robert
-- 
Robert M. Stockmann - RHCE
Network Engineer - UNIX/Linux Specialist
crashrecovery.org  stock@stokkie.net


^ permalink raw reply	[flat|nested] 394+ messages in thread
* Re: PATCH: cdrecord: avoiding scsi device numbering for ide devices
@ 2004-08-11 11:44 Joerg Schilling
  0 siblings, 0 replies; 394+ messages in thread
From: Joerg Schilling @ 2004-08-11 11:44 UTC (permalink / raw)
  To: root, schilling
  Cc: alan, axboe, diablod3, dwmw2, eric, james.bottomley, linux-kernel,
	skraw

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 939 bytes --]


>From root@chaos.analogic.com  Tue Aug 10 18:07:24 2004

>Sorry to break into this wonderful conversation, but it seems
>I have all the actors corralled in one place.

>The fascist US government forced 321software out-of-business. It
>was a company that provided software that could copy DVDs.

cdrtools do not have the problem as they do not include everything you need in 
order to copy CSS DVDs. Cdrtools however allow you to create UDF images from
DVD file trees and to write the UDF images to a DVD.

If ever, I believe that deCSS could be problematic although I believe that it 
may still be distributed from European sites.

Jörg

-- 
 EMail:joerg@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
       js@cs.tu-berlin.de		(uni)  If you don't have iso-8859-1
       schilling@fokus.fraunhofer.de	(work) chars I am J"org Schilling
 URL:  http://www.fokus.fraunhofer.de/usr/schilling ftp://ftp.berlios.de/pub/schily

^ permalink raw reply	[flat|nested] 394+ messages in thread
* Re: PATCH: cdrecord: avoiding scsi device numbering for ide devices
@ 2004-08-10 21:48 Joerg Schilling
  0 siblings, 0 replies; 394+ messages in thread
From: Joerg Schilling @ 2004-08-10 21:48 UTC (permalink / raw)
  To: axboe, schilling
  Cc: alan, diablod3, dwmw2, eric, james.bottomley, linux-kernel, skraw

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 4255 bytes --]


>From axboe@suse.de  Tue Aug 10 20:49:03 2004

>Ehm yes, aren't you contradicting yourself? Here's the mail I'm
>referring to:

I don't - I have a clean and orthogonal idea for useful interfacew. As I did 
already tell, your patch did not enhance cdrecord but rather tries to remove 
useful warnings.

If you however would ever send any patch that would _really_
increase the features of cdrtools, there is a big chance that it will be 
included.

Here is what I did send as reply. It verifies that I am really taking you for 
serious and did send you a serious reply.

/*--------------------------------------------------------------------------*/
>From joerg Tue Jan 13 16:29:42 2004
To: axboe@suse.de
Subject: Re: open by devname

>From axboe@suse.de  Mon Jan 12 16:50:19 2004


>With 2.6 and SG_IO for generic block devices, it's pretty annoying and
>confusing to users that cdrecord outputs:

>"Open by 'devname' is unintentional and not supported."

The reason is to tell people that they are going to use an annoying
interface that is not really needed and that breaks the SCSI protocol layering.

In addition, it tells users that there may be problems because the Linux 
kernel folks did not include correct ioctl interfaces for

ioctl(f, SCSI_IOCTL_GET_IDLUN, &sg_id)

ioctl(f, SCSI_IOCTL_GET_BUS_NUMBER, &Bus)

and

ioctl(scgp->fd, SG_EMULATED_HOST, &emulated)

but just implemented dummies that may cause problems.

>This leads them to think they did something wrong, which they really
>didn't. Any chance you could be talked into taking that message out?

Sorry no, because what you wrote is only halfway correct.

They are forced to use something inherently wrong because the Linux kernel
now includes another SCSI interface that is not needed. Note that the
efforts that have ben put into writing this piece of code should have better
be put into writing an orthogonal DMA access interface and fixing the
DMA problems that cause DMA sizes % 512 != 0 to disable DMA for _all_ devices
and _all_ interfaces provided by the kernel.

Open by devname definitly breaks clean protocol layering on a OS
where you already have a generic SCSI transport interface like Linux has
with /dev/sg*

The  vanilla way to go is to run cdrecord -scanbus and then 
use one of the listed devices. 

ATAPI is SCSI over ATA transport and there are a lot of different official 
SCSI transport media. 

ide-scsi is not the best possible solution, but it definitely fits much better
into a  clean layering model than what Linux Torvalds likes to 
enforce (note that he doesn't own any CD writer so he is definitely unable 
to even judge about the problems). 

I really hope that Jeff Garzik continues to implement his clean way of dealing 
with ATAPI devices and that the ugly /dev/hd* based SCSI interface is becoming
obsolete soon.

libscg does not offer a service that is at the layering level that 
the /dev/hd* driver provides.

libscg instead offers a service that is just below the service of 
the /dev/hd* driver. 

It makes no sense to use naming schemes made for high level device  
acces for low level tasks like SCSI command transport. 

Libscg provides an interface for the mid level SCSI transport.
This protocol level is _above_ the Hostadaptordriver where transport
specific things are handled. It is _below_ the Blockdevice layer
where hard disk, CD-ROM and Tape specifics are handled. Libscg provides
just the protocol layer that is used by the lower end of the block device
drivers. It is inapropriate to use a naming scheme that applies to a higher
protocol layer that is not used by libscg. 

Forcing users to be unable to list all devices that use the SCSI protocol
in a single name space is just a bad idea.

As kernels usually use instance numbers for internal purposes, it is obvious
to use just something similar to implement the name space for libscg.
 
/*--------------------------------------------------------------------------*/


Jörg

-- 
 EMail:joerg@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
       js@cs.tu-berlin.de		(uni)  If you don't have iso-8859-1
       schilling@fokus.fraunhofer.de	(work) chars I am J"org Schilling
 URL:  http://www.fokus.fraunhofer.de/usr/schilling ftp://ftp.berlios.de/pub/schily

^ permalink raw reply	[flat|nested] 394+ messages in thread
* Re: PATCH: cdrecord: avoiding scsi device numbering for ide devices
@ 2004-08-10 21:33 Joerg Schilling
  2004-08-11  7:56 ` Stephan von Krawczynski
  2004-08-11 14:30 ` Brian Beattie
  0 siblings, 2 replies; 394+ messages in thread
From: Joerg Schilling @ 2004-08-10 21:33 UTC (permalink / raw)
  To: jbglaw, skraw
  Cc: alan, axboe, diablod3, dwmw2, eric, james.bottomley, linux-kernel,
	schilling

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1483 bytes --]

>From: Stephan von Krawczynski <skraw@ithnet.com>

>On Tue, 10 Aug 2004 18:10:57 +0200
>Jan-Benedict Glaw <jbglaw@lug-owl.de> wrote:

>> Actually, I use Debian since, um, long ago:)  But accept that Jörg
>> doesn't really like to care about f*cked up patched versions of
>> cdrecord.

>He does not need to. Nobody told him to do.
>Besides I doubt that only the patched versions are actually "f*cked up".
>My personal experience with cdrecord is that neither version works well on my
>system.

As you did not mention which writer and wich OS you are talking, it is hard to 
tell anything about the reasons.

If you like to write DVDs, you of course need cdrecord-ProDVD

ftp://ftp.berlios.de/pub/cdrecord/ProDVD/

I am trying my best so support any DVD writer since 1997

Note that there is no DVD support in the GPLd cdrecord and if you use the 
original version, you will get hints leading you to cdrecord-ProDVD.

Also note that I don't like to feed trolls, so I don't like to discuss
cdrecord-ProDVD here and I will not answer related questions - they are all
answered in the documentation. Cdrecord-ProDVD is free for personal use and 
this will not change in the future.

Jörg

-- 
 EMail:joerg@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
       js@cs.tu-berlin.de		(uni)  If you don't have iso-8859-1
       schilling@fokus.fraunhofer.de	(work) chars I am J"org Schilling
 URL:  http://www.fokus.fraunhofer.de/usr/schilling ftp://ftp.berlios.de/pub/schily

^ permalink raw reply	[flat|nested] 394+ messages in thread
* Re: PATCH: cdrecord: avoiding scsi device numbering for ide devices
@ 2004-08-10 15:54 Joerg Schilling
  0 siblings, 0 replies; 394+ messages in thread
From: Joerg Schilling @ 2004-08-10 15:54 UTC (permalink / raw)
  To: jbglaw, skraw
  Cc: alan, axboe, diablod3, dwmw2, eric, james.bottomley, linux-kernel,
	schilling

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1044 bytes --]

>From skraw@ithnet.com  Tue Aug 10 17:48:20 2004

>Sometimes forking is unavoidable and necessary. On Joergs side things are
>pretty easy. All he has to tell the people is that according to the version
>spec they sent he refuses to help them, because they use a forked version.
>The true story behind may be that nobody wants to use his version for certain
>pecularities and that therefore merely no feedback is reaching him (any more).

The true story is that I constantly send out such messages and that the people 
are happy after they did upgrade to a non broken original version.

The problem behind this true story is that the number of people having problems
with unnecessarily broken versions from the distro's is far too high.


Jörg

-- 
 EMail:joerg@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
       js@cs.tu-berlin.de		(uni)  If you don't have iso-8859-1
       schilling@fokus.fraunhofer.de	(work) chars I am J"org Schilling
 URL:  http://www.fokus.fraunhofer.de/usr/schilling ftp://ftp.berlios.de/pub/schily

^ permalink raw reply	[flat|nested] 394+ messages in thread
* Re: PATCH: cdrecord: avoiding scsi device numbering for ide devices
@ 2004-08-10 15:44 Joerg Schilling
  2004-08-10 16:05 ` Richard B. Johnson
  2004-08-10 18:48 ` Jens Axboe
  0 siblings, 2 replies; 394+ messages in thread
From: Joerg Schilling @ 2004-08-10 15:44 UTC (permalink / raw)
  To: alan, axboe, diablod3, dwmw2, eric, james.bottomley, linux-kernel,
	schilling, skraw

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1267 bytes --]

>From: Jens Axboe <axboe@suse.de>

>Don't be naive. How do you discuss changes with him? The one patch I did
>create against the SUSE cdrecord for the one shipped with SL9.1 adds a
>note to use ATA over ATAPI since that is preferred, and it kills the
>silly open-by-devname warnings that are extremely confusing to users. I
>did send that back to Joerg, to no avail.

You never send such mail.... but you told me that that you liked me to
_remove_ warnings. 
Note that I also output warnings on Solaris if users use suboptimal interfaces.



>> While they (and any other distro's people and anybody else) may
>> actually hack the code to no end, I consider it being good habit to

>By far the largest modification is dvd support, which we of course need
>to ship. The rest is really minor stuff.

This "dvd support" has beed proved to be defective and it has also been proved
that it breaks CD support.

You don't like to see cdrecord to become worse do you?


Jörg

-- 
 EMail:joerg@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
       js@cs.tu-berlin.de		(uni)  If you don't have iso-8859-1
       schilling@fokus.fraunhofer.de	(work) chars I am J"org Schilling
 URL:  http://www.fokus.fraunhofer.de/usr/schilling ftp://ftp.berlios.de/pub/schily

^ permalink raw reply	[flat|nested] 394+ messages in thread
* Re: PATCH: cdrecord: avoiding scsi device numbering for ide devices
@ 2004-08-10 15:28 Joerg Schilling
  2004-08-11  9:34 ` Stephan von Krawczynski
  0 siblings, 1 reply; 394+ messages in thread
From: Joerg Schilling @ 2004-08-10 15:28 UTC (permalink / raw)
  To: dwmw2, schilling; +Cc: James.Bottomley, alan, axboe, eric, linux-kernel

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 870 bytes --]


>From: David Woodhouse <dwmw2@infradead.org>
>> Look into the mkisofs source, I even needed to include a comment in hope to
>> prevent people from SuSE to convert legal and correct C code into a broken
>> piece of code just because  they modify things they don't understand :-(

>Funny that; they _all_ fail to co-operate, even though they all manage
>to co-operate with most other upstream authors. It's probably best that

Looks like you never asked other Authors :-(

I received complaints about similat problem to the one I have from the author
of xcdroast.

Jörg

-- 
 EMail:joerg@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
       js@cs.tu-berlin.de		(uni)  If you don't have iso-8859-1
       schilling@fokus.fraunhofer.de	(work) chars I am J"org Schilling
 URL:  http://www.fokus.fraunhofer.de/usr/schilling ftp://ftp.berlios.de/pub/schily

^ permalink raw reply	[flat|nested] 394+ messages in thread
* Re: PATCH: cdrecord: avoiding scsi device numbering for ide devices
@ 2004-08-10 15:15 Joerg Schilling
  2004-08-10 15:25 ` David Woodhouse
                   ` (2 more replies)
  0 siblings, 3 replies; 394+ messages in thread
From: Joerg Schilling @ 2004-08-10 15:15 UTC (permalink / raw)
  To: dwmw2, schilling; +Cc: James.Bottomley, alan, axboe, eric, linux-kernel

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1655 bytes --]


>From: David Woodhouse <dwmw2@infradead.org>

>On Tue, 2004-08-10 at 15:03 +0200, Joerg Schilling wrote:
>> It seems that you like to constantly discredit yourself :-(

>I think people stopped counting the credits a long time ago.

>> What you use if DEFINITELY NOT cdrecord.

>You argue about nomenclature. What I have definitely calls itself
>cdrecord and is definitely based on your code.

As the people who did create the bastardized version of cdrecord
you are using did not make clear where the official defaults file
for cdrecord is located, they did violate the license of cdrecord.

It really does mot make fun to see useless forks for software including
only modifications that do not give you a single advantage over the original.

The license used with cdrecord allows people to make modifications and to 
rediustribute the versions. 

Not a single modification from one of the Linux distribution I did see so far
did introduce any advantage over the original.

I would love to see cooperations (and there is cooperation with people from 
many places), but the big Linux distributors all fail to cooperate :-(

Look into the mkisofs source, I even needed to include a comment in hope to
prevent people from SuSE to convert legal and correct C code into a broken
piece of code just because  they modify things they don't understand :-(

Jörg

-- 
 EMail:joerg@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
       js@cs.tu-berlin.de		(uni)  If you don't have iso-8859-1
       schilling@fokus.fraunhofer.de	(work) chars I am J"org Schilling
 URL:  http://www.fokus.fraunhofer.de/usr/schilling ftp://ftp.berlios.de/pub/schily

^ permalink raw reply	[flat|nested] 394+ messages in thread
* Re: PATCH: cdrecord: avoiding scsi device numbering for ide devices
@ 2004-08-10 14:27 Joerg Schilling
  2004-08-10 14:49 ` Stephan von Krawczynski
  0 siblings, 1 reply; 394+ messages in thread
From: Joerg Schilling @ 2004-08-10 14:27 UTC (permalink / raw)
  To: schilling, skraw
  Cc: alan, axboe, diablod3, dwmw2, eric, james.bottomley, linux-kernel

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1455 bytes --]

>From: Stephan von Krawczynski <skraw@ithnet.com>
>> Indeed! Altough minor things could be better with Debian too, Debian is the
>> only true Open Source Linux distribution. Other distributions modify programs
>> without reason and do not cooperate with the original authors :-(

>Would you mind to stop your general accusations against "other distributions"
>and your talking for people (i.e. authors) that you don't know or haven't
>talked to in your whole lifetime.

>Fortunately everybody can decide for himself what distro he likes best. And if
>someone thinks he has to modify the original GPL source, then he should do.
>If you don't like that, don't use GPL, because the right to modify foreign
>sources is a major part of it.

You seem to forget that the main problems are:

-	These distributions do not talk with the original Authors which
	demonstrates that they do not like to benefit from OSS.

-	The modified versions of cdrtools found in distributions are _all_
	worse than the original. As some of the distributions (e.g. SuSE)
	even published versions known to be defective, they violate 
	the GPL (subsection 6 of the preamble).


Jörg

-- 
 EMail:joerg@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
       js@cs.tu-berlin.de		(uni)  If you don't have iso-8859-1
       schilling@fokus.fraunhofer.de	(work) chars I am J"org Schilling
 URL:  http://www.fokus.fraunhofer.de/usr/schilling ftp://ftp.berlios.de/pub/schily

^ permalink raw reply	[flat|nested] 394+ messages in thread
* Re: PATCH: cdrecord: avoiding scsi device numbering for ide devices
@ 2004-08-10 13:21 Joerg Schilling
  0 siblings, 0 replies; 394+ messages in thread
From: Joerg Schilling @ 2004-08-10 13:21 UTC (permalink / raw)
  To: mrmacman_g4, schilling; +Cc: linux-kernel

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1024 bytes --]

>From: Kyle Moffett <mrmacman_g4@mac.com>

>On Aug 10, 2004, at 08:46, Joerg Schilling wrote:
>> Your statements are correct for programs that include locale support.

>Programs that do not support locales _must_ restrict themselves to
>7-bit ASCII, or they are likely to break any number of things by 
>outputting
>invalid characters to the terminal.  You could quite easily replace the 
>(C)
>symbol with the string "Copyright", or you could pick a more complicated
>solution by actually implementing locales, but you should change the
>behavior of cdrecord, as that is broken/buggy.

Guess what happens when you call

	find . -type f -exec grep © {} +

on the cdrtools root dir?

Inform yourself before posting.



Jörg

-- 
 EMail:joerg@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
       js@cs.tu-berlin.de		(uni)  If you don't have iso-8859-1
       schilling@fokus.fraunhofer.de	(work) chars I am J"org Schilling
 URL:  http://www.fokus.fraunhofer.de/usr/schilling ftp://ftp.berlios.de/pub/schily

^ permalink raw reply	[flat|nested] 394+ messages in thread
* Re: PATCH: cdrecord: avoiding scsi device numbering for ide devices
@ 2004-08-10 13:05 Joerg Schilling
  0 siblings, 0 replies; 394+ messages in thread
From: Joerg Schilling @ 2004-08-10 13:05 UTC (permalink / raw)
  To: mj, schilling; +Cc: James.Bottomley, alan, axboe, linux-kernel

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 732 bytes --]


>From: Martin Mares <mj@ucw.cz>

>> Your statements are correct for programs that include locale support.

>Would you accept a patch to cdrecord to add such support?

Locale support is on a top positoon of my TODO list, adding it for e.g. Solaris
would be extremely simple but my software runs on many platforms.

If you send a patch that includes autoconf support and everything that is needed
else, I would be glad......


Jörg

-- 
 EMail:joerg@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
       js@cs.tu-berlin.de		(uni)  If you don't have iso-8859-1
       schilling@fokus.fraunhofer.de	(work) chars I am J"org Schilling
 URL:  http://www.fokus.fraunhofer.de/usr/schilling ftp://ftp.berlios.de/pub/schily

^ permalink raw reply	[flat|nested] 394+ messages in thread
* Re: PATCH: cdrecord: avoiding scsi device numbering for ide devices
@ 2004-08-10 13:03 Joerg Schilling
  2004-08-10 15:00 ` David Woodhouse
  2004-08-10 21:02 ` Martin Schlemmer
  0 siblings, 2 replies; 394+ messages in thread
From: Joerg Schilling @ 2004-08-10 13:03 UTC (permalink / raw)
  To: dwmw2, schilling; +Cc: James.Bottomley, alan, axboe, eric, linux-kernel

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 852 bytes --]

>From: David Woodhouse <dwmw2@infradead.org>

>On Tue, 2004-08-10 at 14:47 +0200, Joerg Schilling wrote:
>> Cdrecord does not read /etc/cdrecord.conf

>And the world is flat.

>shinybook /home/dwmw2 $ strace -e open cdrecord -inq 2>&1 | grep /etc/cdrecord.conf
>open("/etc/cdrecord.conf", O_RDONLY)    = 3
>open("/etc/cdrecord.conf", O_RDONLY)    = 3
>open("/etc/cdrecord.conf", O_RDONLY)    = 3
>open("/etc/cdrecord.conf", O_RDONLY)    = 3

It seems that you like to constantly discredit yourself :-(

What you use if DEFINITELY NOT cdrecord.


Jörg

-- 
 EMail:joerg@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
       js@cs.tu-berlin.de		(uni)  If you don't have iso-8859-1
       schilling@fokus.fraunhofer.de	(work) chars I am J"org Schilling
 URL:  http://www.fokus.fraunhofer.de/usr/schilling ftp://ftp.berlios.de/pub/schily

^ permalink raw reply	[flat|nested] 394+ messages in thread
* Re: PATCH: cdrecord: avoiding scsi device numbering for ide devices
@ 2004-08-10 12:47 Joerg Schilling
  2004-08-10 12:57 ` David Woodhouse
  0 siblings, 1 reply; 394+ messages in thread
From: Joerg Schilling @ 2004-08-10 12:47 UTC (permalink / raw)
  To: dwmw2, schilling; +Cc: James.Bottomley, alan, axboe, eric, linux-kernel

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 836 bytes --]


>From: David Woodhouse <dwmw2@infradead.org>

>> Burn-Proof is switched off by default and other protections (invented later)
>> are switched off by cdrecord to get compatibility..... if you only had read the 
>> man page......
>> 
>> Switching Burn-Proof on will reduce the quality of the CDs.

>I haven't even stated which distribution I'm running. How can you
>possibly know what it puts into /etc/cdrecord.conf when it detects my
>CD-R? What relation has this to your man page?

Cdrecord does not read /etc/cdrecord.conf

Jörg

-- 
 EMail:joerg@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
       js@cs.tu-berlin.de		(uni)  If you don't have iso-8859-1
       schilling@fokus.fraunhofer.de	(work) chars I am J"org Schilling
 URL:  http://www.fokus.fraunhofer.de/usr/schilling ftp://ftp.berlios.de/pub/schily
./

^ permalink raw reply	[flat|nested] 394+ messages in thread
* Re: PATCH: cdrecord: avoiding scsi device numbering for ide devices
@ 2004-08-10 12:46 Joerg Schilling
  2004-08-10 12:57 ` Martin Mares
                   ` (2 more replies)
  0 siblings, 3 replies; 394+ messages in thread
From: Joerg Schilling @ 2004-08-10 12:46 UTC (permalink / raw)
  To: mj, schilling; +Cc: James.Bottomley, alan, axboe, linux-kernel

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 766 bytes --]

>From: Martin Mares <mj@ucw.cz>

>I think that it is very reasonable to expect that a program honors the locale
>settings or uses only ASCII characters.

>(In this matter, I share your feelings, because I also have non-ASCII
>characters in my name, but if I decide to print my name in its full
>glory, I respect the locales and don't assume that all the world uses
>iso-8859-2 as I do.)

Your statements are correct for programs that include locale support.


Jörg

-- 
 EMail:joerg@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
       js@cs.tu-berlin.de		(uni)  If you don't have iso-8859-1
       schilling@fokus.fraunhofer.de	(work) chars I am J"org Schilling
 URL:  http://www.fokus.fraunhofer.de/usr/schilling ftp://ftp.berlios.de/pub/schily

^ permalink raw reply	[flat|nested] 394+ messages in thread
* Re: PATCH: cdrecord: avoiding scsi device numbering for ide devices
@ 2004-08-10 12:45 Joerg Schilling
  2004-08-10 12:57 ` Martin Mares
  2004-08-10 13:51 ` Stephan von Krawczynski
  0 siblings, 2 replies; 394+ messages in thread
From: Joerg Schilling @ 2004-08-10 12:45 UTC (permalink / raw)
  To: mj, schilling; +Cc: James.Bottomley, alan, axboe, dwmw2, eric, linux-kernel

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 661 bytes --]

>From: Martin Mares <mj@ucw.cz>

>> Switching Burn-Proof on will reduce the quality of the CDs.

>BTW is it true that Burn-Proof reduces the quality exactly in the cases
>where burning without Burn-Proof would ruin the disk?

This is why it is silly to tell people that they do not need locked memory and
raised scheduling priority for CD/DVD writing.



Jörg

-- 
 EMail:joerg@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
       js@cs.tu-berlin.de		(uni)  If you don't have iso-8859-1
       schilling@fokus.fraunhofer.de	(work) chars I am J"org Schilling
 URL:  http://www.fokus.fraunhofer.de/usr/schilling ftp://ftp.berlios.de/pub/schily

^ permalink raw reply	[flat|nested] 394+ messages in thread
* Re: PATCH: cdrecord: avoiding scsi device numbering for ide devices
@ 2004-08-10 12:41 Joerg Schilling
  2004-08-10 13:27 ` Matthias Andree
  0 siblings, 1 reply; 394+ messages in thread
From: Joerg Schilling @ 2004-08-10 12:41 UTC (permalink / raw)
  To: matthias.andree, schilling
  Cc: James.Bottomley, alan, axboe, eric, linux-kernel

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1189 bytes --]


>From: Matthias Andree <matthias.andree@gmx.de>

>> >From: Jens Axboe <axboe@suse.de>
>> 
>> >> Please try again after you had a look into the cdrtools sources.
>> >> 
>> >> Cdrecord also needs privilleges to lock memory and to raise prioirity.
>> 
>> >They are not required, or at least not with the version I use. It warns
>> >of failing to set priority and lock memory, I can continue fine though.
>> >With the casual burning of CDs I do, it's never been a problem.
>> 
>> You should believe people who know better.....

>J�rg, this is insulting. Who knows better than Jens if his computer has
>needed burn-proof and if his writes have been successful?  You for one
>don't. I don't either but at least I don't claim to.

So you really like to recommend everyone to cross the street while the 
traffic light shows red just because you did not yet get any harm from doing 
so? 

Jörg

-- 
 EMail:joerg@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
       js@cs.tu-berlin.de		(uni)  If you don't have iso-8859-1
       schilling@fokus.fraunhofer.de	(work) chars I am J"org Schilling
 URL:  http://www.fokus.fraunhofer.de/usr/schilling ftp://ftp.berlios.de/pub/schily

^ permalink raw reply	[flat|nested] 394+ messages in thread
* Re: PATCH: cdrecord: avoiding scsi device numbering for ide devices
@ 2004-08-10 10:33 Joerg Schilling
  2004-08-10 13:42 ` Stephan von Krawczynski
  0 siblings, 1 reply; 394+ messages in thread
From: Joerg Schilling @ 2004-08-10 10:33 UTC (permalink / raw)
  To: diablod3, schilling
  Cc: alan, axboe, dwmw2, eric, james.bottomley, linux-kernel

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1043 bytes --]


>From: Patrick McFarland <diablod3@gmail.com>

>On Mon, 9 Aug 2004 16:40:52 +0200 (CEST), Joerg Schilling
><schilling@fokus.fraunhofer.de> wrote:
>> People who use the official cdrecord know that they need to run cdrecord
>> with root privilleges. People who run the bastardized version from SuSE
>> don't know this and fail to write CDs.

>This is why people should be using Debian to begin with. Debian asks
>if you want to install cdrecord with suid so everyone can burn cds
>without needing to be root first.

Indeed! Altough minor things could be better with Debian too, Debian is the only
true Open Source Linux distribution. Other distributions modify programs 
without reason and do not cooperate with the original authors :-(

Jörg

-- 
 EMail:joerg@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
       js@cs.tu-berlin.de		(uni)  If you don't have iso-8859-1
       schilling@fokus.fraunhofer.de	(work) chars I am J"org Schilling
 URL:  http://www.fokus.fraunhofer.de/usr/schilling ftp://ftp.berlios.de/pub/schily

^ permalink raw reply	[flat|nested] 394+ messages in thread
* Re: PATCH: cdrecord: avoiding scsi device numbering for ide devices
@ 2004-08-10 10:27 Joerg Schilling
  2004-08-10 11:57 ` Martin Mares
                   ` (2 more replies)
  0 siblings, 3 replies; 394+ messages in thread
From: Joerg Schilling @ 2004-08-10 10:27 UTC (permalink / raw)
  To: dwmw2, schilling; +Cc: James.Bottomley, alan, axboe, eric, linux-kernel

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1388 bytes --]


>From: David Woodhouse <dwmw2@infradead.org>

>> Cdrecord also needs privilleges to lock memory and to raise prioirity.

>Wrong. Cdrecord does not always _need_ to lock memory or to raise its
>priority.

>To do so may be useful when using older drives without buffer underrun
>protection, but is not strictly necessary on current hardware. 

Please inform yourself before posting.....

Burn-Proof is switched off by default and other protections (invented later)
are switched off by cdrecord to get compatibility..... if you only had read the 
man page......

Switching Burn-Proof on will reduce the quality of the CDs.


In addition: if you don't have the experience when Buffer Underruns occur, you 
should not post speculations that it is not a problem. I know that it _is_ and 
this should be enough for you. Unless you send me the results from a test done 
under worst conditions you need to believe in the experience of people who 
spend more time on CD/DVD recording issues than you.

Proving things to work for a 1/12th dozen only is not sufficient for granting 
quality.

Jörg

-- 
 EMail:joerg@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
       js@cs.tu-berlin.de		(uni)  If you don't have iso-8859-1
       schilling@fokus.fraunhofer.de	(work) chars I am J"org Schilling
 URL:  http://www.fokus.fraunhofer.de/usr/schilling ftp://ftp.berlios.de/pub/schily

^ permalink raw reply	[flat|nested] 394+ messages in thread
* Re: PATCH: cdrecord: avoiding scsi device numbering for ide devices
@ 2004-08-10 10:20 Joerg Schilling
  0 siblings, 0 replies; 394+ messages in thread
From: Joerg Schilling @ 2004-08-10 10:20 UTC (permalink / raw)
  To: alan, schilling; +Cc: James.Bottomley, axboe, eric, linux-kernel

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 730 bytes --]


>From: Alan Cox <alan@lxorguk.ukuu.org.uk>

>> If you are right, why then is SuSE removing the warnings in cdrecord
>> that are there to tell the user that cdrecord is running with insufficient 
>> privilleges?

>You'd have to ask them. Probably for the reason that most vendors
>remove a lot of the other weird warnings - it confuses end users.

Well, It has been proven that removing the warnings confuses the users :-(

Jörg

-- 
 EMail:joerg@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
       js@cs.tu-berlin.de		(uni)  If you don't have iso-8859-1
       schilling@fokus.fraunhofer.de	(work) chars I am J"org Schilling
 URL:  http://www.fokus.fraunhofer.de/usr/schilling ftp://ftp.berlios.de/pub/schily

^ permalink raw reply	[flat|nested] 394+ messages in thread
* Re: PATCH: cdrecord: avoiding scsi device numbering for ide devices
@ 2004-08-10 10:19 Joerg Schilling
  2004-08-10 12:14 ` Martin Mares
  2004-08-10 15:02 ` Lenar Lõhmus
  0 siblings, 2 replies; 394+ messages in thread
From: Joerg Schilling @ 2004-08-10 10:19 UTC (permalink / raw)
  To: alan, schilling; +Cc: James.Bottomley, axboe, linux-kernel, mj

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1122 bytes --]


>From alan@lxorguk.ukuu.org.uk  Mon Aug  9 17:35:14 2004

>export LC_ALL=cy_GB.UTF-8
>run cdrecord 
>review the output. Its using a hardcoded 8859-1/15 symbols so it breaks.

This is a problem of the people who use UTF-8..... sorry, but when
they are tought that moving to UTF-8 is without problems is is just wrong.
N.B. This is not a bug in cdrecord but wrong expectations from the users.

>> BTW: this also appears to your comments on the Solaris device handling....
>> Did you ever install Solaris 10 and test?

>I've seen it on older Solaris. When drives walk between scsi busses as
>the system is running it doesn't like it

If you like that people believe this, you would need to proof it. I've never 
seen it.....so I won't believe until you at least exactly describe the scenario
when this should ocur.



Jörg

-- 
 EMail:joerg@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
       js@cs.tu-berlin.de		(uni)  If you don't have iso-8859-1
       schilling@fokus.fraunhofer.de	(work) chars I am J"org Schilling
 URL:  http://www.fokus.fraunhofer.de/usr/schilling ftp://ftp.berlios.de/pub/schily

^ permalink raw reply	[flat|nested] 394+ messages in thread
[parent not found: <200408091338.i79DcauL010369@burner.fokus.fraunhofer.de>]
* Re: PATCH: cdrecord: avoiding scsi device numbering for ide devices
@ 2004-08-09 20:22 Albert Cahalan
  2004-08-09 22:59 ` Con Kolivas
                   ` (3 more replies)
  0 siblings, 4 replies; 394+ messages in thread
From: Albert Cahalan @ 2004-08-09 20:22 UTC (permalink / raw)
  To: linux-kernel mailing list; +Cc: alan, dwmw2, schilling, axboe

Alan Cox writes:
> On Llu, 2004-08-09 at 15:12, Joerg Schilling wrote:
>> [Alan Cox writes]

>>> Linux has capabilities, ACLs and SELinux rulesets which
>>> can also be used to manage this. I can give the cd burner
>>> a role that permits it certain things.
>> 
>> If you are right, why then is SuSE removing the warnings
>> in cdrecord that are there to tell the user that cdrecord
>> is running with insufficient privilleges?
>
> You'd have to ask them. Probably for the reason that most vendors
> remove a lot of the other weird warnings - it confuses end users.

Oh dear my. I'm going to, at least partially, agree with Joerg.
Pigs are cleared for take-off.

The warning about "cdrecord dev=/dev/hdc" is truly crap.
The same goes for "unsettled issues with Linux-2.5". The
other warnings are sane though, and should not be removed.

If the warnings are confusing, they need to be re-worded.
When you remove warnings, users get hurt. The users do  
things that may well fail, and then have no clue why things
are failing.

Shall we rip the printk() calls out of the kernel? Many
of them are weird. They might confuse the end users.

Joerg:
   "WARNING: Cannot do mlockall(2).\n"
   "WARNING: This causes a high risk for buffer underruns.\n"
Fixed:
   "Warning: You don't have permission to lock memory.\n"
   "         If the computer is not idle, the CD may be ruined.\n"

Joerg:
   "WARNING: Cannot set priority class parameters priocntl(PC_SETPARMS)\n"
   "WARNING: This causes a high risk for buffer underruns.\n"
Fixed:
   "Warning: You don't have permission to hog the CPU.\n"
   "         If the computer is not idle, the CD may be ruined.\n"



^ permalink raw reply	[flat|nested] 394+ messages in thread
* Re: PATCH: cdrecord: avoiding scsi device numbering for ide devices
@ 2004-08-09 14:57 Joerg Schilling
  0 siblings, 0 replies; 394+ messages in thread
From: Joerg Schilling @ 2004-08-09 14:57 UTC (permalink / raw)
  To: axboe, schilling; +Cc: James.Bottomley, linux-kernel

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1806 bytes --]


>From: Jens Axboe <axboe@suse.de>

>> DMA abstraction does not fix HW bugs, it only allows you to behave the
>> same for all "DMA users" for the same HW in the kernel.

>If they all use the interface. Like with all interfaces, it takes time
>before it's being used kernel-wide.

I did mention DMA abstraction in LKML in 1999 or even earlier.....
It is a long time since then.


>I have lots of discussions on linux-kernel, and not all of them (very
>few, in fact) end up in flames. You seem to end up in flames with
>basically everyone. At least on linux-kernel, I believe my track record
>is far better than yours. Your mails are often infuriating.

You need to distinct between boot licking people and people who know what
they are talking about. It seems that you are missing the needed discussion
stile in order to be able to discuss things with people that are not of your
opinion. I _am_ able to do this and it was alway you to come up with personal
insultings, altough I know that even pure technical discussions may be very 
"hot"...

Note that you did always block when I asked you for giving technical arguments.

At last: I am always open to people wo have the needed discussion style and the
technical background to talk about things, but I don't like the kind of 
discussions I am always thrown into on LKML because they start with bashing me.

Once you learned how to discuss things on a result oriented way, I would be 
happy to see mail from you again.

Meanwhile, have a nice day.

Jörg

-- 
 EMail:joerg@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
       js@cs.tu-berlin.de		(uni)  If you don't have iso-8859-1
       schilling@fokus.fraunhofer.de	(work) chars I am J"org Schilling
 URL:  http://www.fokus.fraunhofer.de/usr/schilling ftp://ftp.berlios.de/pub/schily

^ permalink raw reply	[flat|nested] 394+ messages in thread
* Re: PATCH: cdrecord: avoiding scsi device numbering for ide devices
@ 2004-08-09 14:43 Joerg Schilling
  2004-08-10  9:38 ` Matthias Andree
  0 siblings, 1 reply; 394+ messages in thread
From: Joerg Schilling @ 2004-08-09 14:43 UTC (permalink / raw)
  To: axboe, schilling; +Cc: James.Bottomley, alan, eric, linux-kernel

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 898 bytes --]


>From: Jens Axboe <axboe@suse.de>

>> Please try again after you had a look into the cdrtools sources.
>> 
>> Cdrecord also needs privilleges to lock memory and to raise prioirity.

>They are not required, or at least not with the version I use. It warns
>of failing to set priority and lock memory, I can continue fine though.
>With the casual burning of CDs I do, it's never been a problem.

You should believe people who know better.....


If cdrecord runs as it is intended to run, it is not affected by Netscape
paging and similar....

Running a test first means to know what to test.

Jörg

-- 
 EMail:joerg@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
       js@cs.tu-berlin.de		(uni)  If you don't have iso-8859-1
       schilling@fokus.fraunhofer.de	(work) chars I am J"org Schilling
 URL:  http://www.fokus.fraunhofer.de/usr/schilling ftp://ftp.berlios.de/pub/schily

^ permalink raw reply	[flat|nested] 394+ messages in thread
* Re: PATCH: cdrecord: avoiding scsi device numbering for ide devices
@ 2004-08-09 14:40 Joerg Schilling
  2004-08-09 14:51 ` David Woodhouse
  2004-08-09 16:26 ` Patrick McFarland
  0 siblings, 2 replies; 394+ messages in thread
From: Joerg Schilling @ 2004-08-09 14:40 UTC (permalink / raw)
  To: dwmw2, schilling; +Cc: James.Bottomley, alan, axboe, eric, linux-kernel

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 947 bytes --]

>From: David Woodhouse <dwmw2@infradead.org>

>On Mon, 2004-08-09 at 16:12 +0200, Joerg Schilling wrote:
>> If you are right, why then is SuSE removing the warnings in cdrecord
>> that are there to tell the user that cdrecord is running with insufficient 
>> privilleges?

>Because those warnings are bogus, put there by someone who likes to
>complain about things that are not _really_ a problem?

Try to inform yourself before sending wrong mails.....

People who use the official cdrecord know that they need to run cdrecord
with root privilleges. People who run the bastardized version from SuSE
don't know this and fail to write CDs.


Jörg

-- 
 EMail:joerg@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
       js@cs.tu-berlin.de		(uni)  If you don't have iso-8859-1
       schilling@fokus.fraunhofer.de	(work) chars I am J"org Schilling
 URL:  http://www.fokus.fraunhofer.de/usr/schilling ftp://ftp.berlios.de/pub/schily

^ permalink raw reply	[flat|nested] 394+ messages in thread
* Re: PATCH: cdrecord: avoiding scsi device numbering for ide devices
@ 2004-08-09 14:38 Joerg Schilling
  2004-08-09 14:44 ` Jens Axboe
  0 siblings, 1 reply; 394+ messages in thread
From: Joerg Schilling @ 2004-08-09 14:38 UTC (permalink / raw)
  To: axboe, schilling; +Cc: James.Bottomley, linux-kernel

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 2429 bytes --]


>From: Jens Axboe <axboe@suse.de>
>> If you were true and Linux would include _and_ use DMA abstraction, then
>> we would have DMA with ide-scsi for all CD sector sizes.

>Just because we have an api for helping drivers map data for dma,
>doesn't necessarily mean that they all use it. In 2.6.8 ide-scsi will

This is the first time that you mention it and you could have avoided a lot
of mail if you did do eralier.

>use dma for all transfers. As I've already stated, I wont be fixing 2.4.
>I've also included reasons for this. You seem to think that a 'DMA
>abstraction layer' means there will be no hardware bugs, I only wish
>that was so.

DMA abstraction does not fix HW bugs, it only allows you to behave the same for 
all "DMA users" for the same HW in the kernel.

>> interfaces by using a device special file instead of including the
>> same include file in the kernel code as well as in the applicatin
>> code?

>We were talking about device addressing, right? Or are you ramblinb on
>about API stability again?

This subsection did start about the Linux include file bugs.

If you like to allow kernel interfaces to evolve, then you need to make sure
that applications are able to use them. The only known way to do this correctly 
is to make both the kernel and the application to include the same definitions.

GLIBC is completely uinrelated to ioctl interfaces and it is published in 
completely unrelated time frames..... Trying to tell users to use include files
from GLIBC for SCSI Generic is just silly.

>> YOu have only shown that you in many caes try to ignoore the truth ;-(

>I'm surprised an ego of your size can even be contained inside a
>normally sized (I'm assuming, having never met you) human body. I guess
>in your opinion, anything oozing from your brain is by definition the
>truth? That's the only way that I can see your above sentence making
>sense to you.

OK, as you just verified again that you are a frequent source of insulting
people we should close this thread.

Let us start after you managed to regret and to learn to separate a technical
discussion from personal unsulting.

Jörg

-- 
 EMail:joerg@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
       js@cs.tu-berlin.de		(uni)  If you don't have iso-8859-1
       schilling@fokus.fraunhofer.de	(work) chars I am J"org Schilling
 URL:  http://www.fokus.fraunhofer.de/usr/schilling ftp://ftp.berlios.de/pub/schily

^ permalink raw reply	[flat|nested] 394+ messages in thread
* Re: PATCH: cdrecord: avoiding scsi device numbering for ide devices
@ 2004-08-09 14:27 Joerg Schilling
  2004-08-09 14:31 ` Jens Axboe
  0 siblings, 1 reply; 394+ messages in thread
From: Joerg Schilling @ 2004-08-09 14:27 UTC (permalink / raw)
  To: axboe, schilling; +Cc: James.Bottomley, linux-kernel, skraw

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 691 bytes --]

>From: Jens Axboe <axboe@suse.de>

>> Just fix the bugs from the List I send you and wait some time......

>Most of them you don't want me to fix. If you truly wanted me to fix the
>problems, I'm sure you would have provided some evidence for them to be
>fixable.

Well, it is not just you... the mail is CC:d to LKML and I am sure there are 
other people who could fix the problems.

Jörg

-- 
 EMail:joerg@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
       js@cs.tu-berlin.de		(uni)  If you don't have iso-8859-1
       schilling@fokus.fraunhofer.de	(work) chars I am J"org Schilling
 URL:  http://www.fokus.fraunhofer.de/usr/schilling ftp://ftp.berlios.de/pub/schily

^ permalink raw reply	[flat|nested] 394+ messages in thread
* Re: PATCH: cdrecord: avoiding scsi device numbering for ide devices
@ 2004-08-09 14:21 Joerg Schilling
  2004-08-09 14:23 ` Jens Axboe
  2004-08-09 15:40 ` David Woodhouse
  0 siblings, 2 replies; 394+ messages in thread
From: Joerg Schilling @ 2004-08-09 14:21 UTC (permalink / raw)
  To: alan, axboe; +Cc: James.Bottomley, eric, linux-kernel, schilling

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 899 bytes --]


>From: Jens Axboe <axboe@suse.de>

>On Mon, Aug 09 2004, Alan Cox wrote:
>> On Llu, 2004-08-09 at 13:24, Joerg Schilling wrote:
>> > On Linux, it is impossible to run cdrecord without root privilleges.
>> > Make cdrecord suid root, it has been audited....
>> 
>> Wrong. Although in part that is a bug in the kernel urgently needing
>> a fix.

>Even with that fixing, write privileges on the device would be enough.
>So root would still not be required.

Please try again after you had a look into the cdrtools sources.

Cdrecord also needs privilleges to lock memory and to raise prioirity.

Jörg

-- 
 EMail:joerg@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
       js@cs.tu-berlin.de		(uni)  If you don't have iso-8859-1
       schilling@fokus.fraunhofer.de	(work) chars I am J"org Schilling
 URL:  http://www.fokus.fraunhofer.de/usr/schilling ftp://ftp.berlios.de/pub/schily

^ permalink raw reply	[flat|nested] 394+ messages in thread
* Re: PATCH: cdrecord: avoiding scsi device numbering for ide devices
@ 2004-08-09 14:13 Joerg Schilling
  2004-08-09 14:21 ` Paul Jakma
  2004-08-09 14:21 ` Jens Axboe
  0 siblings, 2 replies; 394+ messages in thread
From: Joerg Schilling @ 2004-08-09 14:13 UTC (permalink / raw)
  To: paul, schilling; +Cc: James.Bottomley, axboe, linux-kernel, mj

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 707 bytes --]


>From: Paul Jakma <paul@clubi.ie>

>> Of course, ATAPI devices on Solaris are handled by the same
>> target drivers as e.g. those on 50 pin cables.

>Yes ATAPI is.

>> The ATA driver is implemented the way one would expect it by acting 
>> as a SCSI HBA.

>Yes, as does libata on Linux.

Then I would love to see a demo that uses /dev/sg* with a ATAPI drive 
using DMA for all related sector sizes.

Jörg

-- 
 EMail:joerg@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
       js@cs.tu-berlin.de		(uni)  If you don't have iso-8859-1
       schilling@fokus.fraunhofer.de	(work) chars I am J"org Schilling
 URL:  http://www.fokus.fraunhofer.de/usr/schilling ftp://ftp.berlios.de/pub/schily

^ permalink raw reply	[flat|nested] 394+ messages in thread
* Re: PATCH: cdrecord: avoiding scsi device numbering for ide devices
@ 2004-08-09 14:12 Joerg Schilling
  2004-08-09 14:21 ` David Woodhouse
  2004-08-09 14:33 ` Alan Cox
  0 siblings, 2 replies; 394+ messages in thread
From: Joerg Schilling @ 2004-08-09 14:12 UTC (permalink / raw)
  To: alan, schilling; +Cc: James.Bottomley, axboe, eric, linux-kernel

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 796 bytes --]


>From: Alan Cox <alan@lxorguk.ukuu.org.uk>

>> On Solaris, there is ACLs, RBAC & getppriv() / setppriv()
>> 
>> http://docs.sun.com/db/doc/816-5167/6mbb2jaeu?a=expand

>and Linux has capabilities, ACLs and SELinux rulesets which can
>also be used to manage this. I can give the cd burner a role that 
>permits it certain things.

If you are right, why then is SuSE removing the warnings in cdrecord
that are there to tell the user that cdrecord is running with insufficient 
privilleges?

Jörg

-- 
 EMail:joerg@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
       js@cs.tu-berlin.de		(uni)  If you don't have iso-8859-1
       schilling@fokus.fraunhofer.de	(work) chars I am J"org Schilling
 URL:  http://www.fokus.fraunhofer.de/usr/schilling ftp://ftp.berlios.de/pub/schily

^ permalink raw reply	[flat|nested] 394+ messages in thread
* Re: PATCH: cdrecord: avoiding scsi device numbering for ide devices
@ 2004-08-09 13:51 Joerg Schilling
  2004-08-09 14:08 ` Jens Axboe
  0 siblings, 1 reply; 394+ messages in thread
From: Joerg Schilling @ 2004-08-09 13:51 UTC (permalink / raw)
  To: axboe, skraw; +Cc: James.Bottomley, linux-kernel, schilling

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 726 bytes --]


>From: Jens Axboe <axboe@suse.de>

>Joergs intentions are just as clear as ever - he would much much rather
>bash linux than fix whatever issues there might be with it, because if
>they get fixed, he would have nothing else to complain about. It's
>ironic that Linux is most likely his largest user base.

You could easily prove that you are wrong:

Just fix the bugs from the List I send you and wait some time......

Jörg

-- 
 EMail:joerg@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
       js@cs.tu-berlin.de		(uni)  If you don't have iso-8859-1
       schilling@fokus.fraunhofer.de	(work) chars I am J"org Schilling
 URL:  http://www.fokus.fraunhofer.de/usr/schilling ftp://ftp.berlios.de/pub/schily

^ permalink raw reply	[flat|nested] 394+ messages in thread
* Re: PATCH: cdrecord: avoiding scsi device numbering for ide devices
@ 2004-08-09 13:46 Joerg Schilling
  2004-08-09 14:24 ` Stephan von Krawczynski
  2004-08-10  9:25 ` Matthias Andree
  0 siblings, 2 replies; 394+ messages in thread
From: Joerg Schilling @ 2004-08-09 13:46 UTC (permalink / raw)
  To: schilling, skraw; +Cc: James.Bottomley, axboe, linux-kernel

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 845 bytes --]

>From: Stephan von Krawczynski <skraw@ithnet.com>

>Understand this: _nobody_ expects you to know everything about 25 different
>OS's, the only thing that can be expected is that you simply listen to the
>different parties knowing the different platforms and _take their advice_,
>really not more.

While this works for most if not all OS, it does not work for Linux.

For Linux, the percentage of things that are reported incorrect to me is higher
than 80%, so I need to use my own extertise. If I would not, cdrecord would be
unusable.

Jörg

-- 
 EMail:joerg@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
       js@cs.tu-berlin.de		(uni)  If you don't have iso-8859-1
       schilling@fokus.fraunhofer.de	(work) chars I am J"org Schilling
 URL:  http://www.fokus.fraunhofer.de/usr/schilling ftp://ftp.berlios.de/pub/schily

^ permalink raw reply	[flat|nested] 394+ messages in thread
* Re: PATCH: cdrecord: avoiding scsi device numbering for ide devices
@ 2004-08-09 13:36 Joerg Schilling
  2004-08-09 13:54 ` Marc Ballarin
  2004-08-09 14:17 ` Jens Axboe
  0 siblings, 2 replies; 394+ messages in thread
From: Joerg Schilling @ 2004-08-09 13:36 UTC (permalink / raw)
  To: axboe, schilling; +Cc: James.Bottomley, linux-kernel

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 2781 bytes --]


>From: Jens Axboe <axboe@suse.de>

>On Mon, Aug 09 2004, Joerg Schilling wrote:
>> >From axboe@suse.de  Fri Aug  6 17:10:35 2004
>> 
>> >> Let me give you a short answer: If DMA creates so many problem on Linux,
>> >> how about imlementing a generic DMA abstraction layer like Solaris does?
>> 
>> >We do have that. But suddenly changing the alignment and length
>> >restrictions on issuing dma to a device in the _end_ of a stable series
>> >does not exactly fill me with joyful expectations. It's simply that,
>> >not lack of infrastructure.
>> 
>> If you _really_ _had_ a DMA abstraction layer, then ide-scsi would use
>> DMA for all sector sizes a CD may have. The fact that ide-scsi does
>> not use DMA easily proves that you are wrong.

>For someone who apparently doesn't even bother to look at the source,
>it's hard to discuss these things. "DMA abstraction layer" continues
>your fine history of being deliberatly vague in that it can mean
>basically anything or nothing.

In case you don't know what DMA abstraction is:

DMA abstraction includes everything that is going to be done to set up
DMA after the buffer address and the size is known.

If you were true and Linux would include _and_ use DMA abstraction, then
we would have DMA with ide-scsi for all CD sector sizes.


>> AGAIN: if you believe you did invent a better method, _describe_ it.
>> As you did not describe a _working_ method different from the one I
>> request, you need to agree that you are wrong - as long as your
>> description is missing.

>I did not invent a better method, but one exists - in Linux this is the
>device special file.

Interesting: tell us more about how Linux handles kernel user interfaces by 
using a device special file instead of including the same include file 
in the kernel code as well as in the applicatin code?

>> I am able to distinct between something that only looks like a kernel
>> problem and something that really is a kernel problem. As long as you

>You've already shown that statement to be false many times in this
>thread.

YOu have only shown that you in many caes try to ignoore the truth ;-(


>Listen, you silly little man: if you want things fixed in the kernel,
>you provide a patch. Understand that concept?

Listen arrogant little man: I have enough to to with writing free software.
I report bugs and if you are the author, you fix your bugs or I need to tell
the users of your software that you are unwilling to maintain your software.

Jörg

-- 
 EMail:joerg@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
       js@cs.tu-berlin.de		(uni)  If you don't have iso-8859-1
       schilling@fokus.fraunhofer.de	(work) chars I am J"org Schilling
 URL:  http://www.fokus.fraunhofer.de/usr/schilling ftp://ftp.berlios.de/pub/schily

^ permalink raw reply	[flat|nested] 394+ messages in thread
* Re: PATCH: cdrecord: avoiding scsi device numbering for ide devices
@ 2004-08-09 12:24 Joerg Schilling
  2004-08-09 12:39 ` Karol Kozimor
                   ` (3 more replies)
  0 siblings, 4 replies; 394+ messages in thread
From: Joerg Schilling @ 2004-08-09 12:24 UTC (permalink / raw)
  To: eric, schilling; +Cc: James.Bottomley, axboe, linux-kernel

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1094 bytes --]

>From: Eric Lammerts <eric@lammerts.org>

>On Fri, 6 Aug 2004, Joerg Schilling wrote:
>> The CAM interface (which is from the SCSI standards group)
>> usually is implemeted in a way that applications open /dev/cam and
>> later supply bus, target and lun in order to get connected
>> to any device on the system that talks SCSI.
>>
>> Let me repeat: If you believe that this is a bad idea, give very
>> good reasons.

>With this interface, how do you grant non-root users access to a CD
>writer, but prevent them from directly accessing a SCSI harddisk?

On Linux, it is impossible to run cdrecord without root privilleges.
Make cdrecord suid root, it has been audited....

On Solaris, there is ACLs, RBAC & getppriv() / setppriv()

http://docs.sun.com/db/doc/816-5167/6mbb2jaeu?a=expand

Jörg

-- 
 EMail:joerg@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
       js@cs.tu-berlin.de		(uni)  If you don't have iso-8859-1
       schilling@fokus.fraunhofer.de	(work) chars I am J"org Schilling
 URL:  http://www.fokus.fraunhofer.de/usr/schilling ftp://ftp.berlios.de/pub/schily

^ permalink raw reply	[flat|nested] 394+ messages in thread
* Re: PATCH: cdrecord: avoiding scsi device numbering for ide devices
@ 2004-08-09 12:10 Joerg Schilling
  0 siblings, 0 replies; 394+ messages in thread
From: Joerg Schilling @ 2004-08-09 12:10 UTC (permalink / raw)
  To: mj, torvalds; +Cc: James.Bottomley, axboe, linux-kernel, schilling

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1033 bytes --]


>From: Linus Torvalds <torvalds@osdl.org>
>>
>> Most of all, I would like to know (I see I'm repeating myself, but I still
>> haven't seen an answer to that) what's so special about the SCSI-like devices,

>Don't even bother.

>Joerg is wrong. SCSI number simply doesn't work, and the current Linux 
>setup is absolutely the right thing to do.

Discussions are based on exchanging arguments.......

It seems that Linus is just trying to prove that he still has no arguments.
Wouln't it be wise for him to stay quiet instead of wasting other people's time?

He should takle an advise, spend 5 minutes on something useful and fix the show 
stopper bugs in /usr/src/linux/include/scsi/sg.h & 
/usr/src/linux/include/scsi/scsi.h

Jörg

-- 
 EMail:joerg@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
       js@cs.tu-berlin.de		(uni)  If you don't have iso-8859-1
       schilling@fokus.fraunhofer.de	(work) chars I am J"org Schilling
 URL:  http://www.fokus.fraunhofer.de/usr/schilling ftp://ftp.berlios.de/pub/schily

^ permalink raw reply	[flat|nested] 394+ messages in thread
* Re: PATCH: cdrecord: avoiding scsi device numbering for ide devices
@ 2004-08-09 12:05 Joerg Schilling
  2004-08-09 14:03 ` Paul Jakma
  0 siblings, 1 reply; 394+ messages in thread
From: Joerg Schilling @ 2004-08-09 12:05 UTC (permalink / raw)
  To: paul, schilling; +Cc: James.Bottomley, axboe, linux-kernel, mj

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1368 bytes --]

>From: Paul Jakma <paul@clubi.ie>

>That the /dev/dsk names typically encode some *logical* topology 
>information into the names is beside the point, it's just the Solaris 
>convention, the real point is that they abstract the device location, 
>so that the user is not required to know that their disk is really 
>at, eg:

> 	/devices/pci@0,0/pci-ide@7,1/ide@1/sd@0,0:d,raw

>Which is where the /dev/ node would symlink to. The /dev/ name has 
>nothing to do with physical topology (though might be vaguely 
>similar). Also note that the logical /dev/ symlink name is encoded 
>*differently* for IDE versus SCSI. Trying to plaster SCSI notations 
>into IDE topology is just not useful. Indeed, some devices are not 
>dependent on topology at all, they depend on some other topology 
>independent identifier, eg FC UUID.

Don't comment things you don't ever try.....

Of course, ATAPI devices on Solaris are handled by the same
target drivers as e.g. those on 50 pin cables.

The ATA driver is implemented the way one would expect it by acting as a SCSI 
HBA.

Jörg

-- 
 EMail:joerg@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
       js@cs.tu-berlin.de		(uni)  If you don't have iso-8859-1
       schilling@fokus.fraunhofer.de	(work) chars I am J"org Schilling
 URL:  http://www.fokus.fraunhofer.de/usr/schilling ftp://ftp.berlios.de/pub/schily

^ permalink raw reply	[flat|nested] 394+ messages in thread
* Re: PATCH: cdrecord: avoiding scsi device numbering for ide devices
@ 2004-08-09 11:58 Joerg Schilling
  2004-08-09 14:32 ` Alan Cox
  0 siblings, 1 reply; 394+ messages in thread
From: Joerg Schilling @ 2004-08-09 11:58 UTC (permalink / raw)
  To: alan, schilling; +Cc: James.Bottomley, axboe, linux-kernel, mj

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 701 bytes --]

>From: Alan Cox <alan@lxorguk.ukuu.org.uk>

>BTW while I remember cdrecord has a bug with hardcoded iso8859-1
>copyright symbols in it which mean your copyright banner is invalid
>unicode on a UTF-8 locale.


It seems that you like to write unproven and thus wrong things :-(

BTW: this also appears to your comments on the Solaris device handling....
Did you ever install Solaris 10 and test?

Jörg

-- 
 EMail:joerg@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
       js@cs.tu-berlin.de		(uni)  If you don't have iso-8859-1
       schilling@fokus.fraunhofer.de	(work) chars I am J"org Schilling
 URL:  http://www.fokus.fraunhofer.de/usr/schilling ftp://ftp.berlios.de/pub/schily

^ permalink raw reply	[flat|nested] 394+ messages in thread
* Re: PATCH: cdrecord: avoiding scsi device numbering for ide devices
@ 2004-08-09 11:56 Joerg Schilling
  2004-08-09 10:42 ` Albert Cahalan
  0 siblings, 1 reply; 394+ messages in thread
From: Joerg Schilling @ 2004-08-09 11:56 UTC (permalink / raw)
  To: albert, schilling; +Cc: linux-kernel

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 613 bytes --]


>From: Albert Cahalan <albert@users.sourceforge.net>

>> 5) Take a look at /etc/path_to_inst and call "man path_to_inst"
>>
>> The used method even works nicely for USB devices.

>OK, I took a look.

You obviously did not :-(

Please don't try to comment things you did not verify with a
running Solaris.

Jörg

-- 
 EMail:joerg@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
       js@cs.tu-berlin.de		(uni)  If you don't have iso-8859-1
       schilling@fokus.fraunhofer.de	(work) chars I am J"org Schilling
 URL:  http://www.fokus.fraunhofer.de/usr/schilling ftp://ftp.berlios.de/pub/schily

^ permalink raw reply	[flat|nested] 394+ messages in thread
* Re: PATCH: cdrecord: avoiding scsi device numbering for ide devices
@ 2004-08-09 11:46 Joerg Schilling
  2004-08-09 11:53 ` Jens Axboe
  0 siblings, 1 reply; 394+ messages in thread
From: Joerg Schilling @ 2004-08-09 11:46 UTC (permalink / raw)
  To: James.Bottomley, axboe; +Cc: linux-kernel, schilling

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 2379 bytes --]

>From James.Bottomley@SteelEye.com  Sat Aug  7 17:01:00 2004

>On Thu, 2004-08-05 at 08:00, Jens Axboe wrote:
>> On Thu, Aug 05 2004, Joerg Schilling wrote:
>> > -	Parallel (50 bin) SCSI (unknown HBA) on Linux-2.6 does not work if
>> > 	DMA size is not a multiple of 4. The data transferred from the SCSI
>> > 	device is OK for the first part that is a multiple of 4.
>> > 	The remainder of bytes arrive as binary zeroes.
>> > 
>> > 	This is a new bug (I received the related information this week).
>> 
>> Might be a hardware issue.

>Probably it is.  Lots of hardware FIFO chips are 4 or 8 bytes wide and
>can't do partial transfers (because of the way the cycle the data off
>the bus).  Usually they have logic that sends only partial fragments on
>to the device for commands, but its not unknown for them to forget this
>on actual data transfers

I did already prove that is is a driver bug. Writing again that it _may_
be a hw bug does not help.

>> That's bogus, the SCSI stack (as well as the block layer) is very well
>> capable of reporting residual counts, and if the hardware can do it (we
>> can't get it from some ide hardware :/), we will report residuals.
>> 
>> So if it doesn't work it's a bug, but not a design bug.

>Well...more likely a driver bug.  Residuals have to be reported by the
>driver.  I thought all of the drivers that could were now doing this,
>but I might have missed some...which driver is it?

For Adaptec HW

>A selection timeout is reported as DID_NO_CONNECT.

>DID_TIME_OUT is for cards that can watchdog their commands in hw and is
>what they return when the watchdog fires.

>If you actually want visibility into the SCSI mid layer timeout, that's
>harder since it feeds directly into the error handler that tries to
>ready the transport and device for action.  In general, a command that
>times out this way is retried.  If you set the FASTFAIL flag, it will
>come out with DRIVER_TIMEOUT set in its result area.

-	Retrying commands that have been send via Generic SCSI is wrong.

-	A flag called "FASTFAI" does not exist :-( 


Jörg

-- 
 EMail:joerg@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
       js@cs.tu-berlin.de		(uni)  If you don't have iso-8859-1
       schilling@fokus.fraunhofer.de	(work) chars I am J"org Schilling
 URL:  http://www.fokus.fraunhofer.de/usr/schilling ftp://ftp.berlios.de/pub/schily

^ permalink raw reply	[flat|nested] 394+ messages in thread
* Re: PATCH: cdrecord: avoiding scsi device numbering for ide devices
@ 2004-08-09 10:33 Joerg Schilling
  2004-08-09 10:39 ` David Woodhouse
  0 siblings, 1 reply; 394+ messages in thread
From: Joerg Schilling @ 2004-08-09 10:33 UTC (permalink / raw)
  To: albert, linux-kernel; +Cc: axboe, schilling

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 909 bytes --]

>From albert@users.sourceforge.net  Sat Aug  7 00:57:58 2004
>Subject: Re: PATCH: cdrecord: avoiding scsi device numbering for ide devices
>From: Albert Cahalan <albert@users.sourceforge.net>

>In various emails, Joerg Schilling writes:

>> Linux users like to call cdrecord -scanbus and they like to
>> see _all_ SCSI devices from a single call to cdrecord.

>If you really think so, you've been smoking crack.

Sorry - but I will not have discussions with people who start a discussion
with a personal insult.

If this is usual on LKML, I'd better stop _any_ discussuin that is related
to LKML......

Jörg

-- 
 EMail:joerg@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
       js@cs.tu-berlin.de		(uni)  If you don't have iso-8859-1
       schilling@fokus.fraunhofer.de	(work) chars I am J"org Schilling
 URL:  http://www.fokus.fraunhofer.de/usr/schilling ftp://ftp.berlios.de/pub/schily

^ permalink raw reply	[flat|nested] 394+ messages in thread
* Re: PATCH: cdrecord: avoiding scsi device numbering for ide devices
@ 2004-08-09 10:13 Joerg Schilling
  2004-08-09 10:21 ` Jens Axboe
                   ` (4 more replies)
  0 siblings, 5 replies; 394+ messages in thread
From: Joerg Schilling @ 2004-08-09 10:13 UTC (permalink / raw)
  To: axboe, schilling; +Cc: James.Bottomley, linux-kernel

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 3296 bytes --]

>From axboe@suse.de  Fri Aug  6 17:10:35 2004

>> Let me give you a short answer: If DMA creates so many problem on Linux,
>> how about imlementing a generic DMA abstraction layer like Solaris does?

>We do have that. But suddenly changing the alignment and length
>restrictions on issuing dma to a device in the _end_ of a stable series
>does not exactly fill me with joyful expectations. It's simply that,
>not lack of infrastructure.

If you _really_ _had_ a DMA abstraction layer, then ide-scsi would use DMA
for all sector sizes a CD may have. The fact that ide-scsi does not
use DMA easily proves that you are wrong.


>> Please try to distinct between threads I did start and threads I have
>> been drawn into. I am open to any serious discussion, however if you
>> like to insist in things that have been agreed on being suboptimal for
>> more than 20 years, you should have very good reasons _and_ be willing
>> to explain them.

>Agreed between whom? I don't agree that this naming is sound, in fact I
>think it's quite stupid.

If you like to call the Sun developers and the FreeBSD developers (which means 
people like Bill Joy and Scott Mcusick) stupid, you seem to have a real
strange idea from the world :-(

AGAIN: if you believe you did invent a better method, _describe_ it.
As you did not describe a _working_ method different from the one I request,
you need to agree that you are wrong - as long as your description is missing.



>I am focused on Linux, that's what I work on. And I truly think the
>device naming option is so much easier for users that it's not even
>funny.

So let me use other words: While I am focussed on the cdrtools uses on _all_
platforms, you are not :-(

 
>> As 50% of all problems reported for cdrecord on Linux look like Linux
>> kernel problems, this is what I do every day.

>Just because they look like Linux kernel problems, doesn't mean that
>they are :-)

I am able to distinct between something that only looks like a kernel problem
and something that really is a kernel problem. As long as you define everything
to be a non kernel problem :-( see the Linux Kernel bug with 
SG_SET_RESERVED_SIZE) I don't know how to continue the discussion with you.


>A textual description of the problem is not a fix. Or did I miss the
>patch? If so, I apologize.

Being able to read seems to be a real advantage....

>> The importance could be limited if there were unique instance numbers
>> for ATAPI devices using the same address space as the other SCSI
>> devices.  For now, ide-scsi is really important.

>It's not the same address space, so there is not.

Well you just did prove that forcing people to send SCSI commands via 
non SCSI parts of the kernel is a design bug

>> Let's see whether "Linux" is open enough to listen to the demands of
>> the users......

>We try, when they make sense...

You should learn what "make sense" means, Linux-2.6 is a clear move away from 
the demands of a Linux user who likes to write CDs/DVDs.

Jörg

-- 
 EMail:joerg@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
       js@cs.tu-berlin.de		(uni)  If you don't have iso-8859-1
       schilling@fokus.fraunhofer.de	(work) chars I am J"org Schilling
 URL:  http://www.fokus.fraunhofer.de/usr/schilling ftp://ftp.berlios.de/pub/schily

^ permalink raw reply	[flat|nested] 394+ messages in thread
* Re: PATCH: cdrecord: avoiding scsi device numbering for ide devices
@ 2004-08-08 16:40 Albert Cahalan
  0 siblings, 0 replies; 394+ messages in thread
From: Albert Cahalan @ 2004-08-08 16:40 UTC (permalink / raw)
  To: linux-kernel mailing list; +Cc: skraw, vojtech, hpa

Stephan von Krawczynski writes:

> Maybe you should not overestimate cdrecord as a tool
> (like its author obviously does sometimes). At least
> for DVD there are well-working alternatives.

Unfortunately there is quite a bit of knowledge embedded
in cdrecord. There are _lots_ of weird formats and burners
to take care of. Testing costs real money. Mistakes will
cost real money for many other people.

Sorry. **ahem** This would be an easy project...

> If Joerg feels a better home on Solaris, so be it. 
> It's his right to decide for solaris, just as it is
> a users' right to decide against cdrecord.

True.

Oddly, he did admit that Solaris will support direct usage
of the device names. Here's his list of good systems:

Linux
AIX
BSD-OS (eh, meaning BSDI maybe?)
OpenBSD 
HP-UX   
SGI IRIX
Solaris

Here are the bad systems:

obsolete releases of Linux and Solaris
dead OSes like DOS, DomainOS, AmigaOS, BeOS, NeXT, SunOS 4
nearly dead: VMS, OS/2, Tru64 
SCO crap: OpenServer, UnixWare
Windows
MacOS X
QNX
FreeBSD (Maybe it's dying? It's a BSD.)

If support for the bad systems were discontinued, FreeBSD and
MacOS X would most likely be fixed up soon. Maybe QNX too.
The others can sink. Supporting SCO is just plain wrong.

So you certainly could fork this, drop the silly naming, and
still support the OSes worth caring about.



^ permalink raw reply	[flat|nested] 394+ messages in thread
* Re: PATCH: cdrecord: avoiding scsi device numbering for ide devices
@ 2004-08-08  8:21 Joerg Schilling
  0 siblings, 0 replies; 394+ messages in thread
From: Joerg Schilling @ 2004-08-08  8:21 UTC (permalink / raw)
  To: linux-kernel

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1953 bytes --]

	---->	This is a resend as it seems that somebody did remove
		linux-kernel@vger.kernel.org

>From: "H.Rosmanith (Kernel Mailing List)" <kernel@wildsau.enemy.org>

>> I can just that if you set 64KiB now, it'll be a much better alround
>> value.

>very good, it works with 64kB:

>    887         /*
>    888          * First try to raise the DMA limit to a moderate value that
>    889          * most likely does not use up all kernel memory.
>    890          */
>    891         //val = 126*1024;
>    892         val = 64*1024;

>now cdrecord will happily use the scsi-linux-sg driver even for the IDE
>burners connected to the "Digitus" controllers handled by the siimage driver.

So you found a nasty bug in the Linux kernel :-(

The official behavior for SG_SET_RESERVED_SIZE is:

1)	You call SG_SET_RESERVED_SIZE with whatever size val you like

2)	It says "thank you" and _always_ returns success

3)	You call SG_GET_RESERVED_SIZE to read the value set up
	in the kernel. This value is not directly related to the value
	used with SG_SET_RESERVED_SIZE. The proposal from Douglas
	Gilbert was to always use 512 KB. I am unhappy with this behavior
	but I have to take it as it has been defined by the Author :-(
	He told me that the value returned with SG_GET_RESERVED_SIZE
	is the value available for DMA and may be much smaller than
	the size used with SG_SET_RESERVED_SIZE.

AGAIN: I am unhappy with this behavior but this _is_ the official behavior.
If the current Linux kernel for some reasons does not behave this way it
is broken and needs to be fixed.

See also: http://www.mail-archive.com/cdwrite@other.debian.org/msg00232.html

Jörg

-- 
 EMail:joerg@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
       js@cs.tu-berlin.de		(uni)  If you don't have iso-8859-1
       schilling@fokus.fraunhofer.de	(work) chars I am J"org Schilling
 URL:  http://www.fokus.fraunhofer.de/usr/schilling ftp://ftp.berlios.de/pub/schily

^ permalink raw reply	[flat|nested] 394+ messages in thread
* Re: PATCH: cdrecord: avoiding scsi device numbering for ide devices
@ 2004-08-07 19:53 Albert Cahalan
  2004-08-07 23:16 ` Måns Rullgård
  0 siblings, 1 reply; 394+ messages in thread
From: Albert Cahalan @ 2004-08-07 19:53 UTC (permalink / raw)
  To: schilling; +Cc: linux-kernel mailing list

> 5) Take a look at /etc/path_to_inst and call "man path_to_inst"
>
> The used method even works nicely for USB devices.

OK, I took a look.

Solaris is mapping from devfs to dev_t with this file.
You start with a device patch like this:
    /iommu@f,e0000000/sbus@f,e0001000/sbusmem@f,0
It maps to a driver name and instance number:
    sbusmem   15
The driver name implys the major number. (in a dev_t)
The instance number is, more or less, the minor number.

Linux does something like this too now, using "udev"
and the rest of the hotplug stuff. Linux is better.
Linux lets you map from most any device attribute
(bus, serial number, vendor, scsi level, speed...)
to a device name.

Oh, the dev_t value? That's becoming a random number.
Users don't need it, and shouldn't have to deal with it.
They have the device name. Bus numbers are random too.

So let's suppose I plug in two FireWire CD burners.
The Que!Fire one is mapped to /dev/quefire-cdrw,
and the Sony one is mapped to /dev/sony-cdrw. The
device numbers will vary, as will any bus numbers,
but the users don't care. They have nice names.

Suppose I kick the FireWire cable loose. The device
nodes in /dev go away. Then I plug the cable back in,
and new device nodes appear. The numbers might change!
No matter what the numbers though, the drives always
get the names that I have assigned to them.

Before I kick the cable loose:

dev=0,0,1  matches with  /dev/quefire-cdrw
dev=0,0,2  matches with  /dev/sony-cdrw

After I plug the cable back in:

dev=0,0,0  matches with  /dev/quefire-cdrw
dev=0,0,1  matches with  /dev/sony-cdrw

Everything's cool for apps that use device names.
Only cdrecord will try to access the wrong device.

I'm sure this dynamic world isn't appealing to you.
People do kick cables loose though, and they do like
having nice device names. The days of jumpers are
long gone. Plug-and-play is here to stay, even while
the machine is running. CAM-based operating systems
will have some adjusting to do if they are to survive.

Go ahead and drop support for old Linux kernels.
Users with old kernels can use the old cdrecord.
Handling Linux 2.6.x well means using /dev names.





^ permalink raw reply	[flat|nested] 394+ messages in thread
* Re: PATCH: cdrecord: avoiding scsi device numbering for ide devices
@ 2004-08-07 12:17 Joerg Schilling
  2004-08-07 16:37 ` Nicholas Miell
                   ` (5 more replies)
  0 siblings, 6 replies; 394+ messages in thread
From: Joerg Schilling @ 2004-08-07 12:17 UTC (permalink / raw)
  To: mj, schilling; +Cc: James.Bottomley, axboe, linux-kernel

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 2708 bytes --]


>From: Martin Mares <mj@ucw.cz>

>> It seems that you are not really interested to understand how it works :-(

>I am interested, but I life is too short to read the full docs of all existing
>OS's. Can you give me at least a pointer to the relevant section?

I already did! ---> "man path_to_inst"

>> If you behave this way, I tend to believe that you have a precasted opinion 
>> that you are not willing to change.

>I think that most people around there tend to believe exactly the same about you :-)
>But let's change that.

I _am_ always open to new experiences but the problem with most if not all
of the people in LKML is that they only know things about Linux while I know 
many different operating systems.

>Most of all, I would like to know (I see I'm repeating myself, but I still
>haven't seen an answer to that) what's so special about the SCSI-like devices,
>that they would have to be addressed in a completely different way from the
>other UNIX devices. For the classical SCSI, you might argue that addressing
>by the physical topology is more realistic, but for ATAPI or USB disks,
>the SCSI triplets have nothing to do with the physical topology.

I did introduce Generic SCSI in August 1986. The interface used by libscg today 
is exactly the same interface as it has been used in August 1986.

The problem with Linux is that the "interfaces" constantly change.
Let us talk again in October 2018 (then the /dev/hd* Interface on Linux
would have the same age as my libscg has now) and check what happened to this
interface. If the interface did not change and is still binary compatible, you 
_may_ be right. However this is most improbable.

>From the > 20 platforms that libscg provides abstractions from, _most_
platforms do not allow the "UNIX" /dev/something method to work with
Generic SCSI:

-	DOS

-	Win9x

-	WinNT

-	VMS

-	MacOS X

-	AmigaOS

-	Apollo DomainOS

-	BeOS (uses CAM)

-	FreeBSD (uses CAM)

-	Next Step (Generic SCSI only works only with a special /dev/sg%d)

-	OS/2

-	OSF-1 / True-64 (uses CAM)

-	QNX (uses CAM)

-	SunOS-4.x

-	Linux (all older versions)

-	SCO OpenServer

-	SCO UnixWare

These are the platforms where /dev/something could work:

-	Linux-2.6 

-	AIX

-	BSD-OS

-	OpenBSD

-	HP-UX

-	SGI IRIX

-	Solaris (newer versions only)

As you see, the vast majority does not allow the adressing method the
people on LKML seem to prefer recently.

Jörg

-- 
 EMail:joerg@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
       js@cs.tu-berlin.de		(uni)  If you don't have iso-8859-1
       schilling@fokus.fraunhofer.de	(work) chars I am J"org Schilling
 URL:  http://www.fokus.fraunhofer.de/usr/schilling ftp://ftp.berlios.de/pub/schily

^ permalink raw reply	[flat|nested] 394+ messages in thread
* Re: PATCH: cdrecord: avoiding scsi device numbering for ide devices
@ 2004-08-07 11:28 Joerg Schilling
  2004-08-07 11:40 ` Martin Mares
  2004-08-07 12:54 ` Jesper Juhl
  0 siblings, 2 replies; 394+ messages in thread
From: Joerg Schilling @ 2004-08-07 11:28 UTC (permalink / raw)
  To: mj, schilling; +Cc: James.Bottomley, axboe, linux-kernel

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1046 bytes --]


>From: Martin Mares <mj@ucw.cz>

>> >Well, so could you please enlighten the Linux people and say in a couple
>> >of words how it could be done?
>> 
>> 1)	Fetch the Solaris install CD images from:
>> 	http://wwws.sun.com/software/solaris/solaris-express/get.html

>Grrr!  I wanted you to describe the solution, not how to install Solaris!

You wanted to get a description in 'a few words' - this cannot be done.

.... So I instucted you how to get the full desciption. 

You may of course look yourself for the documentation at docs.sun.com.......

It seems that you are not really interested to understand how it works :-(
If you behave this way, I tend to believe that you have a precasted opinion 
that you are not willing to change.


Jörg

-- 
 EMail:joerg@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
       js@cs.tu-berlin.de		(uni)  If you don't have iso-8859-1
       schilling@fokus.fraunhofer.de	(work) chars I am J"org Schilling
 URL:  http://www.fokus.fraunhofer.de/usr/schilling ftp://ftp.berlios.de/pub/schily

^ permalink raw reply	[flat|nested] 394+ messages in thread
* Re: PATCH: cdrecord: avoiding scsi device numbering for ide devices
@ 2004-08-07 10:53 Joerg Schilling
  2004-08-07 11:19 ` Martin Mares
  2004-08-08  4:07 ` Paul Jakma
  0 siblings, 2 replies; 394+ messages in thread
From: Joerg Schilling @ 2004-08-07 10:53 UTC (permalink / raw)
  To: mj, schilling; +Cc: James.Bottomley, axboe, linux-kernel

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1019 bytes --]


>From: Martin Mares <mj@ucw.cz>

>> I see always the same answers from Linux people who don't know anyrthing than
>> their belly button :-(
>> 
>> Chek Solaris to see that your statements are wrong.

>Well, so could you please enlighten the Linux people and say in a couple
>of words how it could be done?

1)	Fetch the Solaris install CD images from:
	http://wwws.sun.com/software/solaris/solaris-express/get.html

	Solaris is free for personal use and free for being used to 
	develop OSS.

2)	"unzip" the CD images

3)	use cdrecord to write the CDs

4)	Start installation with CD#1

	......

5)	Take a look at /etc/path_to_inst and call "man path_to_inst"

The used method even works nicely for USB devices.

Jörg

-- 
 EMail:joerg@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
       js@cs.tu-berlin.de		(uni)  If you don't have iso-8859-1
       schilling@fokus.fraunhofer.de	(work) chars I am J"org Schilling
 URL:  http://www.fokus.fraunhofer.de/usr/schilling ftp://ftp.berlios.de/pub/schily

^ permalink raw reply	[flat|nested] 394+ messages in thread
* Re: PATCH: cdrecord: avoiding scsi device numbering for ide devices
@ 2004-08-07  0:01 Joerg Schilling
  2004-08-07  0:14 ` Martin Mares
                   ` (2 more replies)
  0 siblings, 3 replies; 394+ messages in thread
From: Joerg Schilling @ 2004-08-07  0:01 UTC (permalink / raw)
  To: mj, schilling; +Cc: James.Bottomley, axboe, linux-kernel

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1168 bytes --]

>From: Martin Mares <mj@ucw.cz>

>> Let me lead you to the right place to look for:
>> 
>> 	The CAM interface (which is from the SCSI standards group)
>> 	usually is implemeted in a way that applications open /dev/cam and
>> 	later supply bus, target and lun in order to get connected
>> 	to any device on the system that talks SCSI.
>> 
>> Let me repeat: If you believe that this is a bad idea, give very good reasons.

>There is one: hotplug. The physical topology of buses where all the SCSI-like
>devices (being it ATAPI devices, iSCSI, USB disks or other such beasts)
>are connected is too complex, so every attempt to map them to the
>(bus, target, lun) triplets in any sane way is destined to fail.

I see always the same answers from Linux people who don't know anyrthing than
their belly button :-(

Chek Solaris to see that your statements are wrong.

Jörg

-- 
 EMail:joerg@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
       js@cs.tu-berlin.de		(uni)  If you don't have iso-8859-1
       schilling@fokus.fraunhofer.de	(work) chars I am J"org Schilling
 URL:  http://www.fokus.fraunhofer.de/usr/schilling ftp://ftp.berlios.de/pub/schily

^ permalink raw reply	[flat|nested] 394+ messages in thread
* Re: PATCH: cdrecord: avoiding scsi device numbering for ide devices
@ 2004-08-06 20:26 Albert Cahalan
  2004-08-06 23:35 ` Bernd Schubert
  0 siblings, 1 reply; 394+ messages in thread
From: Albert Cahalan @ 2004-08-06 20:26 UTC (permalink / raw)
  To: linux-kernel mailing list; +Cc: schilling, axboe

In various emails, Joerg Schilling writes:

> Linux users like to call cdrecord -scanbus and they like to
> see _all_ SCSI devices from a single call to cdrecord.

If you really think so, you've been smoking crack.
Users _hate_ to call "cdrecord -scanbus". They don't
see why it should be needed. The normal reaction to
reading your documentation goes something like this:

"What the fuck? Can't I just give it a device name?"

Alternately:

"Uh... I don't have SCSI. I guess I need a different program."

Heck, you could do the silly -scanbus thing internally
if you must. Then users wouldn't get it wrong and wouldn't
have to screw with it.

> Looks like a typical answer from somebody who's thoughts
> are limited to a Linux environment. Take into account, that
> cdrecord runs on more than 30 different platforms and that
> several of these platforms do not have device nodes like
> UNIX has. Cdrecord has been implemented to use a portable
> addressing method.

I'm sure a Windows user would want to use something like
a drive letter. So... give it to them. Not even a Solaris
user would really want to use raw SCSI notation. On all
platforms, people want to use the native naming system.

> The fact that the Linux kernel does not return instance
> numbers for /dev/hd* SCSI devices makes it impossible to
> implement a unique address space :-(

We have a unique address space: the /dev directory

We don't need a second address space.

> If you like to compile an application that uses kernel interfaces,
> you need to make sure that both, the application and the kernel
> are compiled with the same "interface description" which is just
> the kernel include files.

No change to the kernel headers would allow you to produce
a binary on an old system that makes use of new features.
The only way this can work is if you bring your own headers.

I use kernel interfaces all the time in procps. For the old
and standard ones, I rely on the C library. For all the rest,
I have my own header files. This works great.

I can compile procps on a system with the 2.4.xx kernel
and 2.4.xx headers. Then, I can take this binary to a system
with the 2.2.xx or 2.6.x kernel and expect it to work great.
That's 3 major kernel revisions: 2.2.xx, 2.4.xx, and 2.6.x.
Really, it's not hard.

> I wish that discussions with the Linux kernel hackers would be as
> easy and fruitful as they are with the Solaris kernel hackers.

You're trying to force Linux developers to comply with Solaris
interfaces. You should try things the other way and see how far
you get. If you don't get far, you're being unfair. If you do
get far, well, isn't that good?

> Just make sure not to use a broken version from the SuSE source tree....

I wonder why SuSE felt they needed to patch your code.
While I've found that some vendors are really crazy about
breaking things, SuSE has been pretty good.

If everyone around you seems to be insane, maybe it's you.

> Let's see whether "Linux" is open enough to listen to the
> demands of the users......

How about cdrecord? Demands of the users:

1. tools built with headers derived from Linux 2.2.xx will
   take full advantage of Linux 2.6.xx features

2. tools built with headers derived from Linux 2.6.x will
   still work on the oldest Linux you support

3. in all cases, including SCSI, the /dev/* name is used
   (the Solaris and Windows users would love that as well)



^ permalink raw reply	[flat|nested] 394+ messages in thread
* Re: PATCH: cdrecord: avoiding scsi device numbering for ide devices
@ 2004-08-06 14:20 Joerg Schilling
  2004-08-06 14:25 ` Jens Axboe
  2004-08-06 14:48 ` Erik Mouw
  0 siblings, 2 replies; 394+ messages in thread
From: Joerg Schilling @ 2004-08-06 14:20 UTC (permalink / raw)
  To: erik, schilling; +Cc: James.Bottomley, axboe, linux-kernel

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 500 bytes --]

You know what a cut/paste error is?

BTW: this could be avoided if Linux would supply correct termcap/terminfo
entries for xterm so the screen would not go white on black on
every odd try :-(


Jörg

-- 
 EMail:joerg@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
       js@cs.tu-berlin.de		(uni)  If you don't have iso-8859-1
       schilling@fokus.fraunhofer.de	(work) chars I am J"org Schilling
 URL:  http://www.fokus.fraunhofer.de/usr/schilling ftp://ftp.berlios.de/pub/schily

^ permalink raw reply	[flat|nested] 394+ messages in thread
* Re: PATCH: cdrecord: avoiding scsi device numbering for ide devices
@ 2004-08-06 13:45 Joerg Schilling
  2004-08-06 14:11 ` Jens Axboe
  2004-08-06 14:16 ` Erik Mouw
  0 siblings, 2 replies; 394+ messages in thread
From: Joerg Schilling @ 2004-08-06 13:45 UTC (permalink / raw)
  To: axboe, schilling; +Cc: James.Bottomley, linux-kernel

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 2213 bytes --]


>From: Jens Axboe <axboe@suse.de>

>So I downloaded:

>ftp://ftp.berlios.de/pub/cdrecord/alpha/cdrtools-2.01a35.tar.gz

>and built it, ran scgcheck on a SCSI hard drive. And you pass in
>->mx_sb_len == 16 to the sg driver, so that's why it's not copying more
>than 16 bytes back to you. There are 18 available in that first test
>case. Here's that test case:

>Testing if at least CCS_SENSE_LEN (18) is supported...
>Sense Data: 70 00 05 00 00 00 00 0A 00 00 00 00 24 00 00 C0 00 00
>---------->     Method 0x00: expected: 18 reported: 16 max found: 16
>Sense Data: 70 00 05 00 00 00 00 0A 00 00 00 00 24 00 00 C0 FF FF
>---------->     Method 0xFF: expected: 18 reported: 16 max found: 16
>---------->     Minimum standard (CCS) sense length failed
>---------->     Wanted 18 sense bytes, got (16)
>Testing for 32 bytes of sense data...
>Sense Data: 70 00 05 00 00 00 00 0A 00 00 00 00 24 00 00 C0 00 00 00 00
>00 00 00 00 00 00 00 00 00 00 00 00
>---------->     Method 0x00: expected: 32 reported: 16 max found: 16
>Sense Data: 70 00 05 00 00 00 00 0A 00 00 00 00 24 00 00 C0 FF FF FF FF
>FF FF FF FF FF FF FF FF FF FF FF FF
>---------->     Method 0xFF: expected: 32 reported: 16 max found: 16
>---------->     Wanted 32 sense bytes, got (16)
>----------> Got a maximum of 16 sense bytes
>----------> SCSI sense count test FAILED
>----------> SCSI status byte test NOT YET READY

>Changing your scsi-linux-sg.c to set max sense to 64:

>Testing if at least CCS_SENSE_LEN (18) is supported...
>Sense Data: 70 00 05 00 00 00 00 0A 00 00 00 00 24 00 00 C0 00 03

Wonderful, so you just found another bug in the Linux kernel include files.

To fix: edit sg.h in the Linux kernel source tree and fix the value for
SG_MAX_QUEUE or if you believe you cannot change it, create a new #define
and document it......

BTW: as you did not mention the DMA residual count problem, I asume that
it is still present.


Jörg

-- 
 EMail:joerg@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
       js@cs.tu-berlin.de		(uni)  If you don't have iso-8859-1
       schilling@fokus.fraunhofer.de	(work) chars I am J"org Schilling
 URL:  http://www.fokus.fraunhofer.de/usr/schilling ftp://ftp.berlios.de/pub/schily

^ permalink raw reply	[flat|nested] 394+ messages in thread
* Re: PATCH: cdrecord: avoiding scsi device numbering for ide devices
@ 2004-08-06 13:30 Joerg Schilling
  2004-08-06 15:10 ` Jens Axboe
                   ` (3 more replies)
  0 siblings, 4 replies; 394+ messages in thread
From: Joerg Schilling @ 2004-08-06 13:30 UTC (permalink / raw)
  To: axboe, schilling; +Cc: James.Bottomley, linux-kernel

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 9626 bytes --]

>From: Jens Axboe <axboe@suse.de>

>> >SG_IO for atapi was born working that way. This should have been fixed
>> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>> Sorry - you should know better that this is not true :-( The unneeded
>> /dev/hd interface has been created with the _same_ DMA problems,
>> ide-scsi still has. Later, when I complained about the problem it has
>> been fixed. As the ide-scsi interface has not been fixed at the same
>> time, this did not look very friendly to me...

>I think I know the history of it, I picked up the pieces of the stuff
>Linus originally did. Originally, there was _no_ dma support. I can only
>imagine that Linus put it in to have someone fix it, because it was
>unustable at the time. I forget how long that lasted, but it can't have
>been more than a few weeks. So it was not the same problem at all. It
>did not use dma because it set up a contig buffer in rq->buffer, which
>ide-cd doesn't convert to prd tables for dma. This was quickly fixed and
>with granular alignment/length restrictions for dma operations, as I
>outlined it defaulted to 4-bytes for ide-cd then. This was all during
>the 2.5 development cycle.

Let me give you a short answer: If DMA creates so many problem on Linux,
how about imlementing a generic DMA abstraction layer like Solaris does?


>> Sorry, but you are wrong: ATAPI CD/DVD writers are primary SCSI
>> devices and thus need to primaryly appear in the SCSI device tree.
>> Adding SG_IO support to fd's that are a result of a call to
>> open("/dev/hd... is a nice extra but definitely not needed.

>Bogus, and I'll again refrain from commenting on that because it's a
>matter of opinion and we all know yours. They use the same command set,
>but there's absolutely no reason why you would need to export them as
>SCSI devices and fake bus/id/lun naming etc.

If you like to ignore the X10t13 SCSI standard group, it is your private 
decision but then it is hard to have a common language for discussions :-(


>> >It has been argued several times that we will not doctor bus/id/lun on
>> >atapi devices, because it does not make sense. So I'm regarding this as
>> >invalid.
>> 
>> Sorry, I have more than 20 years of experiences in Kernel and
>> Application hacking. I am able to decide myself what is a bug and what
>> is something that needs to be called at least "non-orthogonal
>> behavior". This is devinitely a bug or missing orthogonality. See
>> above to understand (These are primarily SCSI devices and therefore
>> they need to have instance numbers within the set of devices in the
>> SCSI device tree).

>Those 20 years at least do seem to buy you a whole lot of arrogance.

Looks like you are a bit confused, see below.....

>I'll explain to you why no thread you start here on lkml goes anywhere -
>because you refuse to listen to anyone. You have 20 years of experience
>so anything you say must be absolutely true, there's not a gram of
>reason in the world coming from other people. Thus there's no point in
>debating with you on these issues.

Please try to distinct between threads I did start and threads I have been
drawn into. I am open to any serious discussion, however if you like
to insist in things that have been agreed on being suboptimal for more than
20 years, you should have very good reasons _and_ be willing to explain
them.

I don't see any arrogance in my mails but in former discussions on LKML,
there have been other people who did believe that they could replace missing
knowledge by arrogance. Fortunately, they did not join this thread ;-)

Let me lead you to the right place to look for:

	The CAM interface (which is from the SCSI standards group)
	usually is implemeted in a way that applications open /dev/cam and
	later supply bus, target and lun in order to get connected
	to any device on the system that talks SCSI.

Let me repeat: If you believe that this is a bad idea, give very good reasons.

 
>I'll say again that _I_ think making up SCSI like addressing for ATAPI
>is completely bogus, because ATAPI isn't addressed that way. You are
>inventing magic numbers! Just because these devices happen to share the
>same command set (almost, which btw do most storage devices these days)
>does not mean they share the bus topology.

But what you think, differs from what the SCSI standards people do.

>> If you do not fix this, you just verify that Linux does not like it's
>> users.  Linux users like to call cdrecord -scanbus and they like to
>> see _all_ SCSI devices from a single call to cdrecord. The fact that
>> the Linux kernel does not return instance numbers for /dev/hd* SCSI
>> devices makes it impossible to implement a unique address space :-(

>I'm sure new users love to find out they need to use -dev=0,1,0 to
>specify their cd burner, they must find that really intuitive and
>straight forward. It's much easier than just using /dev/cdr, or whatever
>you want to name the special file. Indeed.

Looks like a typical answer from somebody who's thoughts are limited to a Linux
environment. Take into account, that cdrecord runs on more than 30 different
platforms and that several of these platforms do not have device nodes like
UNIX has. Cdrecord has been implemented to use a portable addressing method.


>That's fine if you work on nothing but that, but I personally don't want
>to subscribe to more lists. I don't have time to follow them anyways. If
>there's a Linux kernel bug, people should be pointed at linux-kernel and
>follow the general rules of reporting issues there.

As 50% of all problems reported for cdrecord on Linux look like Linux
kernel problems, this is what I do every day.

>> >> -	Linux Kernel include files (starting with Linux-2.5) are buggy and 
>> >> 	prevent compilation. Many files may be affected but let me name
>> >> 	the most important files for me:
>> >> 
>> >> 	-	/usr/src/linux/include/scsi/scsi.h depends on a nonexistant
>> >> 		type "u8". The correct way to fix this would be to replace
>> >> 		any "u8" by "uint8_t". A quick and dirty fix is to call:
>> >> 
>> >> 			"change u8 __u8 /usr/src/linux/include/scsi/scsi.h"
>> >> 
>> >> 		ftp://ftp.berlios.de/pub/change/
>> >> 
>> >> 	-	/usr/src/linux/include/scsi/sg.h includes "extra text" "__user"
>> >> 		in some structure definitions. This may be fixed by adding
>> >> 		#include <linux/compiler.h> somewhere at the beginning of
>> >> 		/usr/src/linux/include/scsi/sg.h
>> >> 
>> >> 	This bug has been reported several times (starting with Linux-2.5).
>> >> 
>> >> 	Time to fix: 5 minutes.
...
>> Of course, you have a second way to go:
>> 
>> 	You could set up a copy of the Linux Kernel include file tree,
>> 	fix this tree and include the fixed version with _every_ Linux source
>> 	distribution. Of course, you need to make sure that the interfaces
>> 	seen in the fixed include tree always exactly match the related
>> 	Kernel sources. Guess which method creates a higher work load.

>I've never followed these threads closely, and I'm not the guy to
>comment on that. It's been discussed here recently, you might want to
>search linux-kernel archives for include/abi and similar.

I am sorry, I am receiving far too much mail to have the time for searching
such an archive. If nobody points me to a file, I would not do it.

>> Let me make a proposal:
>> 
>> The most important problem currently is caused by the bugs in the Linux
>> kernel include files. As it takes only 5 minutes to fix the include 
>> file bugs that are related to cdrtools, I would like to see this bug
>> fixed first.

>Then either fix it and post the patch, or write a detailed bug report
>and hope that someone else fixes it. That's how it works. You have no
>support contract with me.

See above, the fix is in my mail and it has been copied over several times
now....

>> After I've seen a kernel without the named bugs appering on
>> kernel.org, I am very willing to help you to find the reason for the
>> other bugs.  Make your choice which of the problems to check
>> first....... however, it would be a nice gesture to fix the DMA only
>> for x % 512 == 0 problem in ide-scsi next.

>The importance of that bug is slowly decreasing - in 2.6 ide-scsi isn't
>needed, and 2.4 is pretty much set in stone and I doubt we'd fix this
>bug in fear of introducing regressions on some hardware.

The importance could be limited if there were unique instance numbers
for ATAPI devices using the same address space as the other SCSI devices.
For now, ide-scsi is really important.

>> I don't like to sell my soul and this is exactly why I prefer Solaris.

>I'd consider signing licenses to be able to get the OS at least partly
>selling my soul, where as Linux requires you to sign nothing and is
>completely free and open.

Let's see whether "Linux" is open enough to listen to the demands of the
users......

>> I wish that discussions with the Linux kernel hackers would be as
>> easy and fruitful as they are with the Solaris kernel hackers.
>>
>> I wish that bugs in the Linux kernel were fixed as fast as they are
>> fixed on Solaris.

>Maybe you'll have better luck when they are all hacking Linux instead in
>the future.

It seems that you are listening to missinformed people. Why should
Sun use Linux as long as they would miss all the benefits from the new
features of e.g. Solaris 10?


Jörg

-- 
 EMail:joerg@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
       js@cs.tu-berlin.de		(uni)  If you don't have iso-8859-1
       schilling@fokus.fraunhofer.de	(work) chars I am J"org Schilling
 URL:  http://www.fokus.fraunhofer.de/usr/schilling ftp://ftp.berlios.de/pub/schily

^ permalink raw reply	[flat|nested] 394+ messages in thread
* Re: PATCH: cdrecord: avoiding scsi device numbering for ide devices
@ 2004-08-06 10:18 Joerg Schilling
  2004-08-06 10:42 ` Jens Axboe
  2004-08-06 17:59 ` Vojtech Pavlik
  0 siblings, 2 replies; 394+ messages in thread
From: Joerg Schilling @ 2004-08-06 10:18 UTC (permalink / raw)
  To: axboe, schilling; +Cc: James.Bottomley, linux-kernel

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 10029 bytes --]

>From: Jens Axboe <axboe@suse.de>

>> -	Linux sometimes bastardizes the SCSI commands sent to ATAPI drives.
>> 
>> 	Some people report that they cannot blank their CD-RW media for
>> 	this reason. See:
>> 
>> 	http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=186099
>> 
>> 	Similar things happen when trying to read defective "CD-DA" media
>> 	created by the "Music Mafia". If you use a Plextor drive, everything
>> 	works fine. If you use a Pioneer drive, the SCSI command "READ FULL TOC"
>> 	aborts with "illegal field in CDB", rebooting the same PC to
>> 	SCO UnixWare makes the problem go away.
>> 
>> 	This problem has not yet been reported because I got the impression 
>> 	that nobody on LKML is interested in fixing CD/DVD writing related 
>> 	bugs. 
>> 
>> 	Time to fix: unknown - may be more than 2 weeks.

>That's very interesting, I've noted at least a few of these myself
>(where seemingly the same commands gets different results). Currently I
>have no lead on this.

This is why I say it takes more than 2 weeks....


>> -	ide-scsi does not use DMA if the "DMA size" is not a multiple of 512.
>> 	This bug has been reported many times! Last time was when you introduced
>> 	the unneeded SCSI transport via /dev/hd*. This interface initially
>> 	did have the same bug - it has been fixed. The same bug in ide-scsi
>> 	has not been fixed although I send several related mails :-(

>SG_IO for atapi was born working that way. This should have been fixed
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Sorry - you should know better that this is not true :-(
The unneeded /dev/hd interface has been created with the _same_ DMA
problems, ide-scsi still has. Later, when I complained about the problem it 
has been fixed. As the ide-scsi interface has not been fixed at the same time,
this did not look very friendly to me...

>in 2.4, agree, in 2.6 it's not so urgent (since /dev/hd* /dev/sr* works
>direct and does dma to anything, it'll bounce to kernel buffers if it
>has to).

Sorry, but you are wrong: ATAPI CD/DVD writers are primary SCSI devices and
thus need to primaryly appear in the SCSI device tree. Adding SG_IO support to
fd's that are a result of a call to open("/dev/hd... is a nice extra but
definitely not needed.


>> -	Parallel (50 bin) SCSI (unknown HBA) on Linux-2.6 does not work if
>> 	DMA size is not a multiple of 4. The data transferred from the SCSI
>> 	device is OK for the first part that is a multiple of 4.
>> 	The remainder of bytes arrive as binary zeroes.
>> 
>> 	This is a new bug (I received the related information this week).

>Might be a hardware issue.

It is definitely not:

1)	The user reported that this did work with a Linux-2.4 kernel
	The user was not 100% clear but it is likely that he did upgrade
	from SuSE-8.2 to SuSE-9.1

2)	This problem is a common mistake made by coders that did not
	understand 32 Bit DMA correctly.


>> -	ioctl(f, SCSI_IOCTL_GET_IDLUN, &sg_id)) and ioctl(f, SCSI_IOCTL_GET_BUS_NUMBER, &Bus)
>> 	do not return instance numbers if applied to a fd from /dev/hd*
>> 
>> 	This bug has been reported 2 years ago.
>> 
>> 	Time to fix: 10 minutes

>It has been argued several times that we will not doctor bus/id/lun on
>atapi devices, because it does not make sense. So I'm regarding this as
>invalid.

Sorry, I have more than 20 years of experiences in Kernel and Application 
hacking. I am able to decide myself what is a bug and what is something that
needs to be called at least "non-orthogonal behavior". This is devinitely 
 a bug or missing orthogonality. See above to understand (These are 
primarily SCSI devices and therefore they need to have instance numbers within 
the set of devices in the SCSI device tree).

If you do not fix this, you just verify that Linux does not like it's users.
Linux users like to call cdrecord -scanbus and they like to see _all_ SCSI 
devices from a single call to cdrecord. The fact that the Linux kernel does not
return instance numbers for /dev/hd* SCSI devices makes it impossible to
implement a unique address space :-(

>> -	DMA residual count is not returned (reported in 1998).
>> 	This is extremely important - it prevents me from unsing Linux as a
>> 	development platform.
>> 
>> 	Time to fix: about one month to rework the whole SCSI driver stack.

>That's bogus, the SCSI stack (as well as the block layer) is very well
>capable of reporting residual counts, and if the hardware can do it (we
>can't get it from some ide hardware :/), we will report residuals.

>So if it doesn't work it's a bug, but not a design bug.

For many reasons, all people in my vicinity run Linux-2.4 kernels, so I have no
way to test myself. It is easy for you to call "scgcheck" and fix the kernel 
until the interface matches the documentation.

Just make sure not to use a broken version from the SuSE source tree....
Here is the original:

	ftp://ftp.berlios.de/pub/cdrecord/alpha/


>> -	Only the first 14 bytes of SCSI Sense data is returned (reported
>>	in 1998) This is extremely important - it prevents me from unsing
>>	Linux as a development platform.	
>> 
>> 	Time to fix: about one month to rework the whole SCSI driver
>> 	stack.  With good luck, this may be done on 2 days.

>2.6 uses 96 byte sense buffers inside the command and copies back as
>much as specified in the sense buffer, I fear you have to qualify this
>bug some more (for SCSI). ide-cd uses 18 bytes.

If this is true, it could be documented by running "scgcheck". I would be happy
to include some text like "fixed in Linux-2.9.199" somewhere in README.linux
or README.ATAPI.


>> -	Many unclear problem reports lead me to the assumption that Linux-2.6
>> 	does not set up the SCSI command timeout properly. See previous point!

>Issued through SG_IO, or how? Again, more details are required.

If you like to see more details, it would make sense to read the related bug 
reports on debian.org and to subscribe to the cdrtools related mailing lists.
Bugs with unclear reasons that are most likely caused by incorrect timeouts
are reported frequently.

>> -	Linux Kernel include files (starting with Linux-2.5) are buggy and 
>> 	prevent compilation. Many files may be affected but let me name
>> 	the most important files for me:
>> 
>> 	-	/usr/src/linux/include/scsi/scsi.h depends on a nonexistant
>> 		type "u8". The correct way to fix this would be to replace
>> 		any "u8" by "uint8_t". A quick and dirty fix is to call:
>> 
>> 			"change u8 __u8 /usr/src/linux/include/scsi/scsi.h"
>> 
>> 		ftp://ftp.berlios.de/pub/change/
>> 
>> 	-	/usr/src/linux/include/scsi/sg.h includes "extra text" "__user"
>> 		in some structure definitions. This may be fixed by adding
>> 		#include <linux/compiler.h> somewhere at the beginning of
>> 		/usr/src/linux/include/scsi/sg.h
>> 
>> 	This bug has been reported several times (starting with Linux-2.5).
>> 
>> 	Time to fix: 5 minutes.

>This has also been discussed before, you should not include the kernel
>headers. Yes I know you don't agree, but that's how it is for now.

You just need to admit that the Linux kernel is _not_ related to the
rest of a typical Linux installation (so this is definitely different
situation than on e.g. FreeBSD or Solaris). If you like to compile an
application that uses kernel interfaces, you need to make sure that both,
the application and the kernel are compiled with the same
"interface description" which is just the kernel include files.

Please do not come up with the same funny arguments that other people did
use in the past by trying to tell me that the kernel interfaces used by
libscg are interfaces provided by glibc.....

Of course, you have a second way to go:

	You could set up a copy of the Linux Kernel include file tree,
	fix this tree and include the fixed version with _every_ Linux source
	distribution. Of course, you need to make sure that the interfaces
	seen in the fixed include tree always exactly match the related
	Kernel sources. Guess which method creates a higher work load.

>> There may be other problems that I do not remember now. If I would get
>> the impression that LKML is interested in fixing CD/DVD writing
>> related bugs, I would report more.....

>If they are kernel bugs, of course we want to know! The above is a
>pretty damn good start, I just wish you would include more info (or test
>cases...) as they are a bit ambigious in several places. I understand if
>you just wanted to list some of them down and that is fine. Perhaps I
>can get you to elaborate on the ones where I added followup questions?

Let me make a proposal:

The most important problem currently is caused by the bugs in the Linux
kernel include files. As it takes only 5 minutes to fix the include 
file bugs that are related to cdrtools, I would like to see this bug
fixed first.

After I've seen a kernel without the named bugs appering on kernel.org,
I am very willing to help you to find the reason for the other bugs.
Make your choice which of the problems to check first....... however,
it would be a nice gesture to fix the DMA only for x % 512 == 0
problem in ide-scsi next.


>> From the current number of problem reports, it looks like Linux-2.6 is
>> not yet ready for general use as too many problems only appear on
>> Linux-2.6. I currently give peeople the advise to either go back to
>> Linux-2.4 or to check Solaris (see
>> http://wwws.sun.com/software/solaris/solaris-express/get.html).

>If they wish to sell their soul...

I don't like to sell my soul and this is exactly why I prefer Solaris.

I wish that discussions with the Linux kernel hackers would be as
easy and fruitful as they are with the Solaris kernel hackers.

I wish that bugs in the Linux kernel were fixed as fast as they are
fixed on Solaris.

Jörg

-- 
 EMail:joerg@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
       js@cs.tu-berlin.de		(uni)  If you don't have iso-8859-1
       schilling@fokus.fraunhofer.de	(work) chars I am J"org Schilling
 URL:  http://www.fokus.fraunhofer.de/usr/schilling ftp://ftp.berlios.de/pub/schily

^ permalink raw reply	[flat|nested] 394+ messages in thread
* Re: PATCH: cdrecord: avoiding scsi device numbering for ide devices
@ 2004-08-06  8:14 Joerg Schilling
  2004-08-06  8:24 ` David Woodhouse
  2004-08-06  8:28 ` Frank Steiner
  0 siblings, 2 replies; 394+ messages in thread
From: Joerg Schilling @ 2004-08-06  8:14 UTC (permalink / raw)
  To: dwmw2, schilling; +Cc: axboe, kernel, linux-kernel

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 989 bytes --]


>From: David Woodhouse <dwmw2@infradead.org>

>On Thu, 2004-08-05 at 14:45 +0200, Joerg Schilling wrote:
>> ....I am not repsonsible for your mail box....

>Actually, you are partly responsible for the mess in my mail box. Please
>fix your mail client to correctly insert References: and/or In-Reply-To:
>headers such that your replies are not each starting a new thread of
>their own.

Before you are making the wrong conclsuions, I encourage you to read RFC-2822
and to find somebody who is able to explain you the difference between the
words "must" and "should" when used in standards....

Sorry for the typo in the last mail, it must of course not be "shall" but 
"should" ;-) Jörg

-- 
 EMail:joerg@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
       js@cs.tu-berlin.de		(uni)  If you don't have iso-8859-1
       schilling@fokus.fraunhofer.de	(work) chars I am J"org Schilling
 URL:  http://www.fokus.fraunhofer.de/usr/schilling ftp://ftp.berlios.de/pub/schily

^ permalink raw reply	[flat|nested] 394+ messages in thread
* Re: PATCH: cdrecord: avoiding scsi device numbering for ide devices
@ 2004-08-06  8:09 Joerg Schilling
  0 siblings, 0 replies; 394+ messages in thread
From: Joerg Schilling @ 2004-08-06  8:09 UTC (permalink / raw)
  To: dwmw2, schilling; +Cc: axboe, kernel, linux-kernel

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 900 bytes --]

>From: David Woodhouse <dwmw2@infradead.org>

>On Thu, 2004-08-05 at 14:45 +0200, Joerg Schilling wrote:
>> ....I am not repsonsible for your mail box....

>Actually, you are partly responsible for the mess in my mail box. Please
>fix your mail client to correctly insert References: and/or In-Reply-To:
>headers such that your replies are not each starting a new thread of
>their own.

Before you are making the wrong conclsuions, I encourage you to read RFC-2822
and to find somebody who is able to explain you the difference between the
woerds "must" and "shall" when used in standards....

Jörg

-- 
 EMail:joerg@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
       js@cs.tu-berlin.de		(uni)  If you don't have iso-8859-1
       schilling@fokus.fraunhofer.de	(work) chars I am J"org Schilling
 URL:  http://www.fokus.fraunhofer.de/usr/schilling ftp://ftp.berlios.de/pub/schily

^ permalink raw reply	[flat|nested] 394+ messages in thread
* Re: PATCH: cdrecord: avoiding scsi device numbering for ide devices
@ 2004-08-05 13:48 Joerg Schilling
  2004-08-05 15:00 ` Jens Axboe
  0 siblings, 1 reply; 394+ messages in thread
From: Joerg Schilling @ 2004-08-05 13:48 UTC (permalink / raw)
  To: axboe, schilling; +Cc: kernel, linux-kernel

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 4947 bytes --]

>From: Jens Axboe <axboe@suse.de>


>> In 1998, I did send a patch against the sg.c driver that introduced
>> everything that is needed for Generic SCSI transport. I am still
>> waiting for even the needed features to appear........

>If you have issues with SG_IO, please feel free to address them. If they
>are valid, I'd love to help you get it fixed.


Here is the current list of problems with CD/DVD writing on Linux:

-	Linux sometimes bastardizes the SCSI commands sent to ATAPI drives.

	Some people report that they cannot blank their CD-RW media for
	this reason. See:

	http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=186099

	Similar things happen when trying to read defective "CD-DA" media
	created by the "Music Mafia". If you use a Plextor drive, everything
	works fine. If you use a Pioneer drive, the SCSI command "READ FULL TOC"
	aborts with "illegal field in CDB", rebooting the same PC to
	SCO UnixWare makes the problem go away.

	This problem has not yet been reported because I got the impression 
	that nobody on LKML is interested in fixing CD/DVD writing related 
	bugs. 

	Time to fix: unknown - may be more than 2 weeks.

-	ide-scsi does not use DMA if the "DMA size" is not a multiple of 512.
	This bug has been reported many times! Last time was when you introduced
	the unneeded SCSI transport via /dev/hd*. This interface initially
	did have the same bug - it has been fixed. The same bug in ide-scsi
	has not been fixed although I send several related mails :-(

	Time to fix: less than a day (for Jens)

-	Parallel (50 bin) SCSI (unknown HBA) on Linux-2.6 does not work if
	DMA size is not a multiple of 4. The data transferred from the SCSI
	device is OK for the first part that is a multiple of 4.
	The remainder of bytes arrive as binary zeroes.

	This is a new bug (I received the related information this week).

	Time to fix: approx. one day

-	ioctl(f, SCSI_IOCTL_GET_IDLUN, &sg_id)) and ioctl(f, SCSI_IOCTL_GET_BUS_NUMBER, &Bus)
	do not return instance numbers if applied to a fd from /dev/hd*

	This bug has been reported 2 years ago.

	Time to fix: 10 minutes

-	DMA residual count is not returned (reported in 1998).
	This is extremely important - it prevents me from unsing Linux as a
	development platform.

	Time to fix: about one month to rework the whole SCSI driver stack.

-	Only the first 14 bytes of SCSI Sense data is returned (reported in 1998)
	This is extremely important - it prevents me from unsing Linux as a
	development platform.	

	Time to fix: about one month to rework the whole SCSI driver stack.
	With good luck, this may be done on 2 days.

-	Unclear documentation whether DID_TIME_OUT should apply to a selection
	time out, a SCSI command timeout or both.

	Time to fix: one day

-	It seems that the only way to find out whether a SCSI command did time 
	out is to meter the time it takes and guess for any unclear return
	codes that coincidence with a command time >= the set up timeout to
	assume a SCSI command timeout.

	Time to fix: one day

-	Many unclear problem reports lead me to the assumption that Linux-2.6
	does not set up the SCSI command timeout properly. See previous point!

	Time to fix: 

-	Linux Kernel include files (starting with Linux-2.5) are buggy and 
	prevent compilation. Many files may be affected but let me name
	the most important files for me:

	-	/usr/src/linux/include/scsi/scsi.h depends on a nonexistant
		type "u8". The correct way to fix this would be to replace
		any "u8" by "uint8_t". A quick and dirty fix is to call:

			"change u8 __u8 /usr/src/linux/include/scsi/scsi.h"

		ftp://ftp.berlios.de/pub/change/

	-	/usr/src/linux/include/scsi/sg.h includes "extra text" "__user"
		in some structure definitions. This may be fixed by adding
		#include <linux/compiler.h> somewhere at the beginning of
		/usr/src/linux/include/scsi/sg.h

	This bug has been reported several times (starting with Linux-2.5).

	Time to fix: 5 minutes.
	
There may be other problems that I do not remember now. If I would get the 
impression that LKML is interested in fixing CD/DVD writing related bugs, I 
would report more.....

>From the current number of problem reports, it looks like Linux-2.6 is not yet 
ready for general use as too many problems only appear on Linux-2.6. I 
currently give peeople the advise to either go back to Linux-2.4 or to check
Solaris (see http://wwws.sun.com/software/solaris/solaris-express/get.html).

As my previous experiences with discussions on LKML have not been very 
fruitful, I would propose to suspend the current discussion to a time after
at least some bugs from the list above have been fixed.




Jörg

-- 
 EMail:joerg@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
       js@cs.tu-berlin.de		(uni)  If you don't have iso-8859-1
       schilling@fokus.fraunhofer.de	(work) chars I am J"org Schilling
 URL:  http://www.fokus.fraunhofer.de/usr/schilling ftp://ftp.berlios.de/pub/schily

^ permalink raw reply	[flat|nested] 394+ messages in thread
* Re: PATCH: cdrecord: avoiding scsi device numbering for ide devices
@ 2004-08-05 12:49 Joerg Schilling
  2004-08-05 12:57 ` Jens Axboe
  0 siblings, 1 reply; 394+ messages in thread
From: Joerg Schilling @ 2004-08-05 12:49 UTC (permalink / raw)
  To: axboe, schilling; +Cc: kernel, linux-kernel

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1148 bytes --]


>From: Jens Axboe <axboe@suse.de>

>> Let me give you an advise: consolidate Linux so that is does only need
>> /dev/sg and fix the bugs in ide-scsi instead of constantly inventing new
>> unneeded interfaces.

>That's been the general direction for quite some time, just that SG_IO
>is the preferred method since that works all around. You were the one
>that merged support for the CDROM_SEND_PACKET interface, which has
>_never_ been advertised as a way to burn CDs in Linux. I'd suggest you
>remove that.

Again:

I'd be happy to start a discussion on this topic after the problem 
with kernel panic() or general unusability with ide-scsi for PC-card
or PCMCIA connected drives has been fixed for Linux-2.4 and all kernels
outside have been replaced by working ones...

I reported this problem to the end of y2000, this is long time ago.

Jörg

-- 
 EMail:joerg@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
       js@cs.tu-berlin.de		(uni)  If you don't have iso-8859-1
       schilling@fokus.fraunhofer.de	(work) chars I am J"org Schilling
 URL:  http://www.fokus.fraunhofer.de/usr/schilling ftp://ftp.berlios.de/pub/schily

^ permalink raw reply	[flat|nested] 394+ messages in thread
* Re: PATCH: cdrecord: avoiding scsi device numbering for ide devices
@ 2004-08-05 12:45 Joerg Schilling
  2004-08-05 16:40 ` David Woodhouse
  0 siblings, 1 reply; 394+ messages in thread
From: Joerg Schilling @ 2004-08-05 12:45 UTC (permalink / raw)
  To: axboe, schilling; +Cc: kernel, linux-kernel

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1124 bytes --]


>From axboe@suse.de  Thu Aug  5 14:05:22 2004

>> >Which, happily, is what already happens and why it works fine when you
>> >just do -dev=/dev/hdX. What should be removed is the warning that
>> >cdrecord spits out when you do this, and the whole ATAPI thing should
>> >just mirror ATA and scsi-linux-ata be killed completely.
>> 
>> Nice idea!
>> 
>> So please start with fixing ide-scsi for Linux-2.4 so Linux won't
>> panic() when trying to access CD/DVD-drives that are connected via a
>> PC-card interface using ide-scsi.

>Let me dig through my mail box and find that report. Hmm that's strange,
>you don't seem to have sent one. I'll just dig out the crystal ball and
>get cracking on that fix.

....I am not repsonsible for your mail box....

I send it to Alan Cox and to LKML.... a long toime ago (in 2000)

Jörg

-- 
 EMail:joerg@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
       js@cs.tu-berlin.de		(uni)  If you don't have iso-8859-1
       schilling@fokus.fraunhofer.de	(work) chars I am J"org Schilling
 URL:  http://www.fokus.fraunhofer.de/usr/schilling ftp://ftp.berlios.de/pub/schily

^ permalink raw reply	[flat|nested] 394+ messages in thread
* Re: PATCH: cdrecord: avoiding scsi device numbering for ide devices
@ 2004-08-05 12:30 Joerg Schilling
  2004-08-05 12:38 ` Jens Axboe
  0 siblings, 1 reply; 394+ messages in thread
From: Joerg Schilling @ 2004-08-05 12:30 UTC (permalink / raw)
  To: axboe, kernel; +Cc: linux-kernel, schilling

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1206 bytes --]


>From: Jens Axboe <axboe@suse.de>

>> this is the reason why the patch forces the ata (atapi?) driver. no
>> SCSI driver or configuring of ide-scsi required.

>Maybe newer version broke then. Until very recently, cdrecord worked
>just fine as-is and used SG_IO access method when you used open by
>device name. Which was just the way we wanted it.

>If that doesn't work now, I suggest you take it up with Joerg. It's a
>problem with his program.

It's a problem caused by the design in the Linux kernel and not a problem of
libscg or cdrecord. 

The point is that Linux constantly invents new ugly and unneeded things and
after I found a workaround, people try to prevent the workaround from
being usable. 

In 1998, I did send a patch against the sg.c driver that introduced
everything that is needed for Generic SCSI transport. I am still waiting 
for even the needed features to appear........

Jörg

-- 
 EMail:joerg@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
       js@cs.tu-berlin.de		(uni)  If you don't have iso-8859-1
       schilling@fokus.fraunhofer.de	(work) chars I am J"org Schilling
 URL:  http://www.fokus.fraunhofer.de/usr/schilling ftp://ftp.berlios.de/pub/schily

^ permalink raw reply	[flat|nested] 394+ messages in thread
* Re: PATCH: cdrecord: avoiding scsi device numbering for ide devices
@ 2004-08-05 12:25 Joerg Schilling
  2004-08-05 12:29 ` Jens Axboe
  2004-08-05 16:45 ` Wakko Warner
  0 siblings, 2 replies; 394+ messages in thread
From: Joerg Schilling @ 2004-08-05 12:25 UTC (permalink / raw)
  To: axboe, kernel; +Cc: linux-kernel, schilling

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 972 bytes --]

>From: Jens Axboe <axboe@suse.de>

>ATA method is misnamed, it's really SG_IO that is used. And you want to
>use that regardless of the device type, SCSI or ATAPI. There's no such
>thing as an ATA burner, and there's no need to differentiate between
>SCSI or ATAPI CD-ROM's when burning - SG_IO is the method to use. So
>forget browsing /proc/ide and other hacks.

I am sorry but as Linux already has 6 different interfaces for sending 
Generic SCSI commands and thus, we are running out of names.

Let me give you an advise: consolidate Linux so that is does only need
/dev/sg and fix the bugs in ide-scsi instead of constantly inventing new
unneeded interfaces.


Jörg

-- 
 EMail:joerg@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
       js@cs.tu-berlin.de		(uni)  If you don't have iso-8859-1
       schilling@fokus.fraunhofer.de	(work) chars I am J"org Schilling
 URL:  http://www.fokus.fraunhofer.de/usr/schilling ftp://ftp.berlios.de/pub/schily

^ permalink raw reply	[flat|nested] 394+ messages in thread
* Re: PATCH: cdrecord: avoiding scsi device numbering for ide devices
@ 2004-08-05 12:22 Joerg Schilling
  0 siblings, 0 replies; 394+ messages in thread
From: Joerg Schilling @ 2004-08-05 12:22 UTC (permalink / raw)
  To: axboe, kernel; +Cc: linux-kernel, schilling

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 537 bytes --]

>From: "H.Rosmanith (Kernel Mailing List)" <kernel@wildsau.enemy.org>


>well, sigh .... been there, done that, but emails to Joerg seem to have
>a long RTT. therefore, LKML. sorry for the inconvenience :->

One day is long ?????

Jörg

-- 
 EMail:joerg@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
       js@cs.tu-berlin.de		(uni)  If you don't have iso-8859-1
       schilling@fokus.fraunhofer.de	(work) chars I am J"org Schilling
 URL:  http://www.fokus.fraunhofer.de/usr/schilling ftp://ftp.berlios.de/pub/schily

^ permalink raw reply	[flat|nested] 394+ messages in thread
* Re: PATCH: cdrecord: avoiding scsi device numbering for ide devices
@ 2004-08-05 11:53 Joerg Schilling
  2004-08-05 12:05 ` Jens Axboe
  0 siblings, 1 reply; 394+ messages in thread
From: Joerg Schilling @ 2004-08-05 11:53 UTC (permalink / raw)
  To: axboe, kernel; +Cc: linux-kernel, schilling

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 886 bytes --]

>From axboe@suse.de  Wed Aug  4 14:58:33 2004

>> That's an extremely bad idea, you want to force ATA driver in either
>> case.

>Which, happily, is what already happens and why it works fine when you
>just do -dev=/dev/hdX. What should be removed is the warning that
>cdrecord spits out when you do this, and the whole ATAPI thing should
>just mirror ATA and scsi-linux-ata be killed completely.

Nice idea!

So please start with fixing ide-scsi for Linux-2.4 so Linux won't panic()
when trying to access CD/DVD-drives that are connected via a PC-card interface
using ide-scsi.

Jörg

-- 
 EMail:joerg@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
       js@cs.tu-berlin.de		(uni)  If you don't have iso-8859-1
       schilling@fokus.fraunhofer.de	(work) chars I am J"org Schilling
 URL:  http://www.fokus.fraunhofer.de/usr/schilling ftp://ftp.berlios.de/pub/schily

^ permalink raw reply	[flat|nested] 394+ messages in thread
* Re: PATCH: cdrecord: avoiding scsi device numbering for ide devices
@ 2004-08-05 11:50 Joerg Schilling
  0 siblings, 0 replies; 394+ messages in thread
From: Joerg Schilling @ 2004-08-05 11:50 UTC (permalink / raw)
  To: kernel, linux-kernel; +Cc: schilling

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1288 bytes --]


>From: "H.Rosmanith (Kernel Mailing List)" <kernel@wildsau.enemy.org>

>I've written a patch for cdrecord/cdrtools. I've sent it to Joerg Schilling
>already, but got no answer so far. Probably he's on vaccation.

Looks like I first need to correct you :-(

You send a mail on July 5th and received a reply on July 6th, wo where is
your problem?


>I'm sending this to LKML too, because I've read about some ... nebulosity
>with respect to scsi device numbering as used by cdrtools.

This is caused by the "mist" throughn out by parts of the Linux kernel :-(


>To cut a long story short: the patch avoids cdrecord having to use the
>"virtual" scsi device numbering in the form of "ATAPI:x.y.z" and allows
>you to use the name of the device, e.g. /dev/hdc instead.

I am sorry, but using something like dev=/dev/hdc is deprecated.
In addition, several programs distinct between so called Cooked ioctl()s and
generic SCSI by checking for UNIX device names vs. SCSI address specs.



Jörg

-- 
 EMail:joerg@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
       js@cs.tu-berlin.de		(uni)  If you don't have iso-8859-1
       schilling@fokus.fraunhofer.de	(work) chars I am J"org Schilling
 URL:  http://www.fokus.fraunhofer.de/usr/schilling ftp://ftp.berlios.de/pub/schily

^ permalink raw reply	[flat|nested] 394+ messages in thread
* PATCH: cdrecord: avoiding scsi device numbering for ide devices
@ 2004-08-04 12:33 H.Rosmanith (Kernel Mailing List)
  2004-08-04 12:43 ` Jens Axboe
                   ` (2 more replies)
  0 siblings, 3 replies; 394+ messages in thread
From: H.Rosmanith (Kernel Mailing List) @ 2004-08-04 12:33 UTC (permalink / raw)
  To: linux-kernel; +Cc: schilling


hi,

I've written a patch for cdrecord/cdrtools. I've sent it to Joerg Schilling
already, but got no answer so far. Probably he's on vaccation.

I'm sending this to LKML too, because I've read about some ... nebulosity
with respect to scsi device numbering as used by cdrtools.

To cut a long story short: the patch avoids cdrecord having to use the
"virtual" scsi device numbering in the form of "ATAPI:x.y.z" and allows
you to use the name of the device, e.g. /dev/hdc instead.

By removing the IDE to virtual scsi bus/host/lun mapping, a lot of confusion
can be avoided especially if you have a lot devices of this kind in one
system.

with kind regards,
Herbert "herp" Rosmanith

Version: cdrtools-2.01a34

Solution: when the device specified in dev= starts with "/dev/hd" and
          this device can be found in /proc/ide, then cdrecord (and all
          it's components, such as e.g. cdrdao) is forced to use the
          ATAPI driver.

The patch is really very short and works at least on our system.

with kind regards,
Herbert Rosmanith

--- snip ---
diff -ru cdrtools-2.01.orig/libscg/scsi-linux-ata.c cdrtools-2.01/libscg/scsi-linux-ata.c
--- cdrtools-2.01.orig/libscg/scsi-linux-ata.c	Sat Jun 12 12:48:12 2004
+++ cdrtools-2.01/libscg/scsi-linux-ata.c	Wed Aug  4 14:19:31 2004
@@ -42,6 +42,11 @@
  * You should have received a copy of the GNU General Public License along with
  * this program; see the file COPYING.  If not, write to the Free Software
  * Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ *
+ * Sat Jun 12 12:48:12 CEST 2004 herp - Herbert Rosmanith
+ *     Force ATAPI driver if dev= starts with /dev/hd and device
+ *     is present in /proc/ide/hdX
+ *
  */
 
 #ifdef	USE_ATA
@@ -60,7 +65,7 @@
 LOCAL	int	scgo_areset	__PR((SCSI *scgp, int what));
 LOCAL	int	scgo_asend	__PR((SCSI *scgp));
 
-LOCAL scg_ops_t ata_ops = {
+EXPORT scg_ops_t scg_ata_ops = {
 	scgo_asend,
 	scgo_aversion,
 	scgo_ahelp,
diff -ru cdrtools-2.01.orig/libscg/scsi-linux-sg.c cdrtools-2.01/libscg/scsi-linux-sg.c
--- cdrtools-2.01.orig/libscg/scsi-linux-sg.c	Thu May 20 15:42:12 2004
+++ cdrtools-2.01/libscg/scsi-linux-sg.c	Wed Aug  4 14:20:56 2004
@@ -40,6 +40,11 @@
  *	string is related to a modified source.
  *
  *	Copyright (c) 1997 J. Schilling
+ *
+ * Sat Jun 12 12:48:12 CEST 2004 herp - Herbert Rosmanith
+ *     Force ATAPI driver if dev= starts with /dev/hd and device
+ *     is present in /proc/ide/hdX
+ *
  */
 /*
  * This program is free software; you can redistribute it and/or modify
@@ -315,7 +320,7 @@
 	if (device != NULL && *device != '\0') {
 #ifdef	USE_ATA
 		if (strncmp(device, "ATAPI", 5) == 0) {
-			scgp->ops = &ata_ops;
+			scgp->ops = &scg_ata_ops;
 			return (SCGO_OPEN(scgp, device));
 		}
 #endif
diff -ru cdrtools-2.01.orig/libscg/scsitransp.c cdrtools-2.01/libscg/scsitransp.c
--- cdrtools-2.01.orig/libscg/scsitransp.c	Thu Jun 17 22:20:27 2004
+++ cdrtools-2.01/libscg/scsitransp.c	Wed Aug  4 14:26:07 2004
@@ -13,6 +13,11 @@
  *	string is related to a modified source.
  *
  *	Copyright (c) 1988,1995,2000-2004 J. Schilling
+ *
+ * Sat Jun 12 12:48:12 CEST 2004 herp - Herbert Rosmanith
+ *     Force ATAPI driver if dev= starts with /dev/hd and device
+ *     is present in /proc/ide/hdX
+ *
  */
 /*
  * This program is free software; you can redistribute it and/or modify
@@ -34,6 +39,7 @@
 #include <stdio.h>
 #include <standard.h>
 #include <stdxlib.h>
+#include <sys/stat.h>
 #include <unixstd.h>
 #include <errno.h>
 #include <timedefs.h>
@@ -157,7 +163,7 @@
 {
 	int	ret;
 	scg_ops_t *ops;
-extern	scg_ops_t scg_std_ops;
+extern	scg_ops_t scg_std_ops,scg_ata_ops;
 
 	/*
 	 * Begin restricted code for quality assurance.
@@ -185,6 +191,16 @@
 			scgp->ops = ops;
 	}
 
+	// XXX herp - check if atapi driver neccessary
+	//            and load if ide device found
+
+	if (device && strncmp(device,"/dev/hd",7)==0) {
+	char pdev[]="/proc/ide/XXXX";
+	struct stat st;
+		strncpy(pdev+10,device+5,4);    /* hdXY should be enough, eh? */
+		if (stat(pdev,&st)==0)
+			scgp->ops=&scg_ata_ops;
+	}
 	ret = SCGO_OPEN(scgp, device);
 	if (ret < 0)
 		return (ret);
--- snip ---


^ permalink raw reply	[flat|nested] 394+ messages in thread

end of thread, other threads:[~2004-08-26 15:22 UTC | newest]

Thread overview: 394+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-08-06  8:33 PATCH: cdrecord: avoiding scsi device numbering for ide devices Joerg Schilling
2004-08-06  9:01 ` Eduard Bloch
2004-08-06  9:14 ` David Woodhouse
2004-08-06 10:40 ` DervishD
2004-08-06 22:42   ` H. Peter Anvin
2004-08-10  8:15 ` Matthias Andree
     [not found] <2ptdY-42Y-55@gated-at.bofh.it>
     [not found] ` <2uPdM-380-11@gated-at.bofh.it>
     [not found]   ` <2uUwL-6VP-11@gated-at.bofh.it>
     [not found]     ` <2uWfh-8jo-29@gated-at.bofh.it>
     [not found]       ` <2uXl0-Gt-27@gated-at.bofh.it>
     [not found]         ` <2vge2-63k-15@gated-at.bofh.it>
     [not found]           ` <2vgQF-6Ai-39@gated-at.bofh.it>
     [not found]             ` <2vipq-7O8-15@gated-at.bofh.it>
     [not found]               ` <2vj2b-8md-9@gated-at.bofh.it>
     [not found]                 ` <2vDtS-bq-19@gated-at.bofh.it>
2004-08-21 15:01                   ` Pascal Schmidt
2004-08-21 15:57                     ` Joerg Schilling
2004-08-21 21:42                       ` Pascal Schmidt
2004-08-22 11:56                       ` Joerg Schilling
2004-08-22 12:14                         ` Joerg Schilling
2004-08-22 12:52                           ` Patrick McFarland
2004-08-22 13:05                             ` Joerg Schilling
2004-08-22 16:38                               ` Horst von Brand
2004-08-22 15:11                           ` Horst von Brand
2004-08-22 18:09                             ` Matthias Andree
2004-08-22 13:13                         ` Pascal Schmidt
2004-08-22 16:00                           ` Christer Weinigel
2004-08-22 16:32                             ` Joerg Schilling
2004-08-22 17:18                               ` Christer Weinigel
2004-08-22 20:27                               ` Giuseppe Bilotta
2004-08-22 21:29                               ` Julien Oster
2004-08-23 11:40                                 ` Joerg Schilling
2004-08-23 13:15                                   ` Matthias Andree
2004-08-23 18:16                               ` Kai Makisara
2004-08-24 10:22                                 ` Christer Weinigel
2004-08-24 15:34                                 ` Joerg Schilling
2004-08-22 16:33                             ` Christer Weinigel
2004-08-22 16:19                               ` Alan Cox
2004-08-22 17:31                                 ` Christer Weinigel
2004-08-22 20:47                                   ` Alan Cox
2004-08-22 22:17                                     ` Christer Weinigel
2004-08-23 12:22                                 ` Adam Sampson
2004-08-22 19:26                             ` Tonnerre
2004-08-23 20:25                               ` Bill Davidsen
2004-08-23 21:01                                 ` Doug Maxey
2004-08-25 18:29                                   ` Bill Davidsen
2004-08-24  2:22                                 ` Nuno Silva
2004-08-22 21:27                           ` Julien Oster
  -- strict thread matches above, loose matches on Subject: below --
2004-08-13 11:45 Joerg Schilling
2004-08-13 12:21 ` Andreas Schwab
     [not found] <20040812185302.GA18126@suse.de>
2004-08-13  2:39 ` Robert M. Stockmann
2004-08-13  5:24   ` Frank Steiner
2004-08-13 13:34     ` Robert M. Stockmann
2004-08-13 13:48       ` Jens Axboe
2004-08-13 23:50         ` Robert M. Stockmann
2004-08-16  6:48           ` Frank Steiner
2004-08-13  6:08   ` Jens Axboe
2004-08-16 12:41   ` Patrick McFarland
2004-08-16 12:47     ` Robert M. Stockmann
2004-08-16 12:51       ` Patrick McFarland
2004-08-16 13:32         ` Robert M. Stockmann
2004-08-17  4:01           ` Kyle Moffett
2004-08-18  0:32             ` Robert M. Stockmann
2004-08-18  5:16               ` Eric Lammerts
2004-08-18 13:43                 ` Robert M. Stockmann
2004-08-18 14:02                   ` Frank Steiner
2004-08-12  2:24 Robert M. Stockmann
2004-08-12  6:28 ` Frank Steiner
2004-08-12 13:55   ` Robert M. Stockmann
2004-08-12 14:15     ` Frank Steiner
2004-08-12  1:57 Robert M. Stockmann
2004-08-12  4:05 ` Andre Tomt
2004-08-16 18:11 ` Tomasz Torcz
2004-08-11 11:44 Joerg Schilling
2004-08-10 21:48 Joerg Schilling
2004-08-10 21:33 Joerg Schilling
2004-08-11  7:56 ` Stephan von Krawczynski
2004-08-11 14:30 ` Brian Beattie
2004-08-10 15:54 Joerg Schilling
2004-08-10 15:44 Joerg Schilling
2004-08-10 16:05 ` Richard B. Johnson
2004-08-11  8:25   ` Patrick McFarland
2004-08-10 18:48 ` Jens Axboe
2004-08-10 15:28 Joerg Schilling
2004-08-11  9:34 ` Stephan von Krawczynski
2004-08-10 15:15 Joerg Schilling
2004-08-10 15:25 ` David Woodhouse
2004-08-10 15:36 ` Martin Mares
2004-08-11  2:17 ` Valdis.Kletnieks
2004-08-11 23:05   ` Patrick McFarland
2004-08-10 14:27 Joerg Schilling
2004-08-10 14:49 ` Stephan von Krawczynski
2004-08-10 15:24   ` Jan-Benedict Glaw
2004-08-10 15:33     ` Jens Axboe
2004-08-10 16:29       ` Jan-Benedict Glaw
2004-08-10 18:53         ` Jens Axboe
2004-08-10 19:01         ` Adrian Bunk
2004-08-10 20:29           ` Jens Axboe
2004-08-10 15:48     ` Stephan von Krawczynski
2004-08-10 16:10       ` Jan-Benedict Glaw
2004-08-10 16:47         ` Stephan von Krawczynski
2004-08-10 16:52           ` Jan-Benedict Glaw
2004-08-10 13:21 Joerg Schilling
2004-08-10 13:05 Joerg Schilling
2004-08-10 13:03 Joerg Schilling
2004-08-10 15:00 ` David Woodhouse
2004-08-10 15:05   ` Chris Meadors
2004-08-26 15:02     ` Raphael Jacquot
2004-08-26 15:19       ` Chris Meadors
2004-08-10 21:02 ` Martin Schlemmer
2004-08-10 12:47 Joerg Schilling
2004-08-10 12:57 ` David Woodhouse
2004-08-10 12:46 Joerg Schilling
2004-08-10 12:57 ` Martin Mares
2004-08-10 13:09 ` Xavier Bestel
2004-08-10 13:18 ` Kyle Moffett
2004-08-10 12:45 Joerg Schilling
2004-08-10 12:57 ` Martin Mares
2004-08-10 13:51 ` Stephan von Krawczynski
2004-08-10 12:41 Joerg Schilling
2004-08-10 13:27 ` Matthias Andree
2004-08-10 10:33 Joerg Schilling
2004-08-10 13:42 ` Stephan von Krawczynski
2004-08-10 10:27 Joerg Schilling
2004-08-10 11:57 ` Martin Mares
2004-08-10 12:46 ` David Woodhouse
2004-08-12 22:58   ` Bill Davidsen
2004-08-10 16:28 ` Gene Heskett
2004-08-11  0:24   ` Matthias Andree
2004-08-11  3:11     ` Gene Heskett
2004-08-11 10:04     ` Florian Schirmer
2004-08-12 23:27       ` Bill Davidsen
2004-08-10 10:20 Joerg Schilling
2004-08-10 10:19 Joerg Schilling
2004-08-10 12:14 ` Martin Mares
2004-08-10 15:02 ` Lenar Lõhmus
     [not found] <200408091338.i79DcauL010369@burner.fokus.fraunhofer.de>
2004-08-09 21:10 ` Con Kolivas
2004-08-09 20:22 Albert Cahalan
2004-08-09 22:59 ` Con Kolivas
2004-08-09 23:25   ` David Lang
2004-08-10  1:01   ` Albert Cahalan
2004-08-10  4:47     ` Con Kolivas
2004-08-10  2:51       ` Albert Cahalan
2004-08-10  7:02         ` Thomas Zimmerman
2004-08-10  8:20         ` Måns Rullgård
2004-08-10 22:59         ` Jan Knutar
2004-08-11  1:09           ` Albert Cahalan
2004-08-12 22:34       ` Bill Davidsen
2004-08-12 23:29         ` Måns Rullgård
2004-08-13  7:01           ` Jens Axboe
2004-08-10  8:16     ` Måns Rullgård
2004-08-10 14:33       ` Lee Revell
2004-08-10 15:04         ` Alan Cox
2004-08-10 16:09           ` Lee Revell
2004-08-11  0:23         ` Måns Rullgård
2004-08-11  3:07           ` Lee Revell
2004-08-11  7:28             ` Måns Rullgård
2004-08-11  7:34               ` Lee Revell
2004-08-12 22:15   ` Bill Davidsen
2004-08-10  7:59 ` David Woodhouse
2004-08-10  9:42   ` Måns Rullgård
2004-08-12 22:40     ` Bill Davidsen
2004-08-12 23:10       ` Måns Rullgård
2004-08-10  9:52   ` Matthias Andree
2004-08-10 10:03     ` Prakash K. Cheemplavam
2004-08-10 10:07     ` Prakash K. Cheemplavam
2004-08-10  9:48 ` Matthias Andree
2004-08-10 22:34 ` Jan Knutar
2004-08-09 14:57 Joerg Schilling
2004-08-09 14:43 Joerg Schilling
2004-08-10  9:38 ` Matthias Andree
2004-08-09 14:40 Joerg Schilling
2004-08-09 14:51 ` David Woodhouse
2004-08-09 16:26 ` Patrick McFarland
2004-08-09 14:38 Joerg Schilling
2004-08-09 14:44 ` Jens Axboe
2004-08-09 14:27 Joerg Schilling
2004-08-09 14:31 ` Jens Axboe
2004-08-09 14:21 Joerg Schilling
2004-08-09 14:23 ` Jens Axboe
2004-08-09 15:40 ` David Woodhouse
2004-08-09 20:52   ` Patrick McFarland
2004-08-09 14:13 Joerg Schilling
2004-08-09 14:21 ` Paul Jakma
2004-08-09 14:21 ` Jens Axboe
2004-08-09 14:12 Joerg Schilling
2004-08-09 14:21 ` David Woodhouse
2004-08-12 22:10   ` Bill Davidsen
2004-08-13  2:34     ` Bob Tracy
2004-08-09 14:33 ` Alan Cox
2004-08-09 13:51 Joerg Schilling
2004-08-09 14:08 ` Jens Axboe
2004-08-09 13:46 Joerg Schilling
2004-08-09 14:24 ` Stephan von Krawczynski
2004-08-10  9:25 ` Matthias Andree
2004-08-09 13:36 Joerg Schilling
2004-08-09 13:54 ` Marc Ballarin
2004-08-09 14:17 ` Jens Axboe
2004-08-09 12:24 Joerg Schilling
2004-08-09 12:39 ` Karol Kozimor
2004-08-09 13:00 ` Måns Rullgård
2004-08-09 13:01 ` Alan Cox
2004-08-09 14:07   ` Jens Axboe
2004-08-09 14:36 ` Eric Lammerts
2004-08-09 12:10 Joerg Schilling
2004-08-09 12:05 Joerg Schilling
2004-08-09 14:03 ` Paul Jakma
2004-08-09 11:58 Joerg Schilling
2004-08-09 14:32 ` Alan Cox
2004-08-09 11:56 Joerg Schilling
2004-08-09 10:42 ` Albert Cahalan
2004-08-09 11:46 Joerg Schilling
2004-08-09 11:53 ` Jens Axboe
2004-08-09 10:33 Joerg Schilling
2004-08-09 10:39 ` David Woodhouse
2004-08-09 10:13 Joerg Schilling
2004-08-09 10:21 ` Jens Axboe
2004-08-09 12:01   ` Måns Rullgård
2004-08-09 11:09 ` Con Kolivas
2004-08-09 12:04 ` Stephan von Krawczynski
2004-08-09 12:12   ` Jens Axboe
2004-08-09 12:06 ` Jesse Stockall
2004-08-10  9:12 ` Matthias Andree
2004-08-08 16:40 Albert Cahalan
2004-08-08  8:21 Joerg Schilling
2004-08-07 19:53 Albert Cahalan
2004-08-07 23:16 ` Måns Rullgård
2004-08-07 12:17 Joerg Schilling
2004-08-07 16:37 ` Nicholas Miell
2004-08-07 17:18 ` Nicholas Miell
2004-08-07 17:19 ` Frediano Ziglio
2004-08-07 17:37 ` V13
2004-08-09  8:13 ` Thomas Richter
2004-08-09 11:44   ` Gene Heskett
2004-08-09 10:53 ` Helge Hafting
2004-08-09 12:07   ` Måns Rullgård
2004-08-07 11:28 Joerg Schilling
2004-08-07 11:40 ` Martin Mares
2004-08-08  5:53   ` Linus Torvalds
2004-08-08 13:39     ` Thomas Molina
2004-08-07 12:54 ` Jesper Juhl
2004-08-07 10:53 Joerg Schilling
2004-08-07 11:19 ` Martin Mares
2004-08-08  4:07 ` Paul Jakma
2004-08-07  0:01 Joerg Schilling
2004-08-07  0:14 ` Martin Mares
2004-08-07 17:26   ` Tim Wright
2004-08-08 21:42     ` Buddy Lumpkin
2004-08-12 21:11     ` Bill Davidsen
2004-08-12 21:10       ` Martin Mares
2004-08-12 22:44       ` Marc Ballarin
2004-08-07  2:11 ` Mark Lord
2004-08-07 22:08 ` Alan Cox
2004-08-07 22:41   ` Alan Cox
2004-08-07 23:19   ` Måns Rullgård
2004-08-08  2:33     ` Jan Knutar
2004-08-08  7:47       ` David Weinehall
2004-08-08  9:17         ` Måns Rullgård
2004-08-06 20:26 Albert Cahalan
2004-08-06 23:35 ` Bernd Schubert
2004-08-06 14:20 Joerg Schilling
2004-08-06 14:25 ` Jens Axboe
2004-08-06 14:48 ` Erik Mouw
2004-08-06 13:45 Joerg Schilling
2004-08-06 14:11 ` Jens Axboe
2004-08-06 14:16 ` Erik Mouw
2004-08-06 13:30 Joerg Schilling
2004-08-06 15:10 ` Jens Axboe
2004-08-10  8:41   ` Matthias Andree
2004-08-10  8:50     ` Jens Axboe
2004-08-10 10:11     ` Erik Mouw
2004-08-10 10:12       ` Jens Axboe
2004-08-10 11:02         ` Erik Mouw
2004-08-10 11:49       ` Måns Rullgård
2004-08-10 13:29         ` Matthias Andree
2004-08-11 22:37           ` Patrick McFarland
2004-08-06 23:15 ` Martin Mares
2004-08-07 10:31   ` V13
2004-08-12 21:03     ` Bill Davidsen
2004-08-08 16:45 ` James Bottomley
2004-08-08 17:31 ` Eric Lammerts
2004-08-06 10:18 Joerg Schilling
2004-08-06 10:42 ` Jens Axboe
2004-08-06 11:37   ` Jens Axboe
2004-08-06 17:59 ` Vojtech Pavlik
2004-08-06 22:47   ` H. Peter Anvin
2004-08-08 11:15     ` Stephan von Krawczynski
2004-08-08 18:58       ` Julien Oster
2004-08-06  8:14 Joerg Schilling
2004-08-06  8:24 ` David Woodhouse
2004-08-06  8:28 ` Frank Steiner
2004-08-06  8:09 Joerg Schilling
2004-08-05 13:48 Joerg Schilling
2004-08-05 15:00 ` Jens Axboe
2004-08-07 15:00   ` James Bottomley
2004-08-07 15:33     ` Arjan van de Ven
2004-08-05 12:49 Joerg Schilling
2004-08-05 12:57 ` Jens Axboe
2004-08-05 12:45 Joerg Schilling
2004-08-05 16:40 ` David Woodhouse
2004-08-05 12:30 Joerg Schilling
2004-08-05 12:38 ` Jens Axboe
2004-08-05 12:47   ` Jens Axboe
2004-08-05 12:25 Joerg Schilling
2004-08-05 12:29 ` Jens Axboe
2004-08-05 16:45 ` Wakko Warner
2004-08-05 17:32   ` Måns Rullgård
2004-08-05 12:22 Joerg Schilling
2004-08-05 11:53 Joerg Schilling
2004-08-05 12:05 ` Jens Axboe
2004-08-05 11:50 Joerg Schilling
2004-08-04 12:33 H.Rosmanith (Kernel Mailing List)
2004-08-04 12:43 ` Jens Axboe
2004-08-04 12:58   ` Jens Axboe
2004-08-05  0:56     ` H.Rosmanith (Kernel Mailing List)
2004-08-05  5:47       ` Jens Axboe
2004-08-05  0:25   ` H.Rosmanith (Kernel Mailing List)
2004-08-05  5:43     ` Jens Axboe
2004-08-19  7:04 ` Patrick McFarland
2004-08-19 11:12   ` Wakko Warner
2004-08-19 11:32   ` Lee Revell
2004-08-19 11:43     ` Marc Ballarin
2004-08-19 12:06     ` Diego Calleja
2004-08-19 13:04       ` Joerg Schilling
2004-08-20 15:10         ` Stephan von Krawczynski
2004-08-23  9:09           ` Joerg Schilling
2004-08-23 21:25         ` Adrian Bunk
2004-08-19 12:42   ` Joerg Schilling
2004-08-19 12:41     ` Alan Cox
2004-08-19 14:34       ` Frank Steiner
2004-08-20  8:02         ` Patrick McFarland
2004-08-20 14:05           ` Joerg Schilling
2004-08-20 16:43             ` Christer Weinigel
2004-08-19 14:35       ` Christer Weinigel
2004-08-19 13:10     ` Martin Mares
2004-08-19 13:38       ` Joerg Schilling
2004-08-19 13:56         ` Martin Mares
2004-08-19 14:03           ` Joerg Schilling
2004-08-19 14:14             ` Martin Mares
2004-08-19 14:45               ` Frank Steiner
2004-08-19 15:00                 ` Martin Mares
2004-08-19 15:04                   ` Joerg Schilling
2004-08-19 15:14                     ` Martin Mares
2004-08-19 15:18                       ` Joerg Schilling
2004-08-19 17:32                         ` Martin Mares
2004-08-20 18:25                   ` Martin Schlemmer
2004-08-19 15:07               ` Matthias Andree
2004-08-19 15:16                 ` Joerg Schilling
2004-08-19 17:30                   ` Martin Mares
2004-08-20 15:28                   ` Andreas Jaeger
2004-08-20 16:37                     ` Julien Oster
2004-08-19 15:36                 ` Gene Heskett
2004-08-19 16:00                   ` Paul Rolland
2004-08-19 17:41                     ` Gene Heskett
2004-08-19 14:29             ` Christoph Hellwig
2004-08-19 15:29           ` Andreas Jaeger
     [not found]       ` <Pine.LNX.4.60.0408191909570.23309@hermes-1.csi.cam.ac.uk>
2004-08-20 13:40         ` Joerg Schilling
2004-08-19 14:14     ` Gerd Knorr
2004-08-19 14:32     ` Frank Steiner
2004-08-19 14:32       ` Alan Cox
2004-08-19 16:00         ` Bartlomiej Zolnierkiewicz
2004-08-19 16:07           ` Joerg Schilling
2004-08-19 17:32             ` Horst von Brand
2004-08-19 23:02               ` Bartlomiej Zolnierkiewicz
2004-08-20 13:37               ` Joerg Schilling
2004-08-20 13:49                 ` Patrick McFarland
2004-08-20 14:13                   ` Joerg Schilling
2004-08-19 17:59             ` Alan Cox
2004-08-20 13:41               ` Joerg Schilling
2004-08-20 13:09                 ` Alan Cox
2004-08-20 13:55                 ` Patrick McFarland
2004-08-20 14:24                 ` H.Rosmanith (Kernel Mailing List)
2004-08-20 14:37                   ` Joerg Schilling
2004-08-20 15:05                     ` Richard B. Johnson
2004-08-20 19:28                 ` Martin Schlemmer
2004-08-20 20:30                   ` Valdis.Kletnieks
2004-08-20 22:05                 ` Kyle Moffett
2004-08-20 23:30                   ` Andreas Steinmetz
2004-08-21  6:58                   ` David Greaves
2004-08-21  7:49                     ` Marc Ballarin
2004-08-21  9:04                       ` David Greaves
2004-08-21 11:19                         ` Marc Ballarin
2004-08-22 10:44                         ` Alan Cox
2004-08-22 17:09                           ` Adam Sampson
2004-08-21 11:06                     ` Xavier Bestel
2004-08-21 12:17                       ` David Greaves
2004-08-19 17:24           ` Horst von Brand
2004-08-19 18:06           ` Alan Cox
2004-08-19 19:19             ` Mark Lord
2004-08-19 22:57               ` Bartlomiej Zolnierkiewicz
2004-08-20 11:22                 ` Alan Cox
2004-08-20 11:18               ` Alan Cox
2004-08-20  7:46         ` Frank Steiner
2004-08-20 11:23           ` Alan Cox
2004-08-20 12:45             ` Frank Steiner
2004-08-20 11:51         ` Joerg Schilling
2004-08-20 11:25           ` Alan Cox
2004-08-20 14:11             ` Joerg Schilling
2004-08-20 13:46               ` Alan Cox
2004-08-21 12:43                 ` Joerg Schilling
     [not found]                   ` <1093171538.24341.24.camel@localhost.localdomain>
2004-08-22 12:00                     ` Joerg Schilling
2004-08-19 16:22   ` V13
2004-08-21  3:31 ` Patrick McFarland

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).