Re: Samsung DVD writer.

2007-04-01 Thread Joerg Schilling
Bill Davidsen <[EMAIL PROTECTED]> wrote:

> > If you like to see an error message that is meaningful, get a
> > recent cdrtools
> >
> > ftp://ftp.berlios.de/pub/cdrecord/alpha/
> >
> > and call cdrecord -prcap and cdrecord -minfo as root or install
> > cdrecord as root.
> >   
>
> Haven't you fixed the problem of requiring root YET?!! I don't expect 
> you to fix it on Linux, but I would have thought BSD would work.

I cannot "fix" this as this is a Linux kernel requirement.

Cdrecord works perfectly without root if you are on Solaris
but Solaris offers a _complete_ fine grained privileges implementation
that Linux is still missing.

see "man privileges"


Before Linux-2.6.8.1, *) you could in theory write CDs/DVDs without root
privileges is you did not care about coasters that are a result of
buffer underruns. With Linux-2.6.8.1 the Linux SCSI kernel interface
has been broken by an inexperienced programmer that claimed to fix
a security problem which has been introduced some time before _without_
breking the kernel interface ;-)

Without root privileges, cdrecord is not able to send all needed SCSI commands
on a recent Linux kernel. The fact that _some_ SCSI commands may still be send
without root provileges and the fact that cdrecord tries to self adopt to the 
features of the drive, often confuses novice-programmers like the Debian 
package maintainers for cdrecord.don't believe these inexpecienced people.



*) With early Linux-2.4.x versions this did only work if you did play with
device node permissions and did give up the security of your installation.
Decent kernel implementations would not allow this as it is a security
risk.


Jörg

-- 
 EMail:[EMAIL PROTECTED] (home) Jörg Schilling D-13353 Berlin
   [EMAIL PROTECTED](uni)  
   [EMAIL PROTECTED] (work) Blog: http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/old/private/ ftp://ftp.berlios.de/pub/schily


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Samsung DVD writer.

2007-04-01 Thread Norbert Preining
On Son, 01 Apr 2007, Joerg Schilling wrote:
> buffer underruns. With Linux-2.6.8.1 the Linux SCSI kernel interface
> has been broken by an inexperienced programmer that claimed to fix

There we go again ... 

> features of the drive, often confuses novice-programmers like the Debian 
> package maintainers for cdrecord.don't believe these inexpecienced people.

Please stop discrediting Debian maintainers with wrong accusations. We
have heard this too many times.

Best wishes

Norbert

---
Dr. Norbert Preining <[EMAIL PROTECTED]>Università di Siena
Debian Developer <[EMAIL PROTECTED]> Debian TeX Group
gpg DSA: 0x09C5B094  fp: 14DF 2E6C 0307 BE6D AD76  A9C0 D2BF 4AA3 09C5 B094
---
GILDERSOME (adj.) Descriptive of a joke someone tells you which starts
well, but which becomes so embellished in the telling that you start
to weary of it after scarcely half an hour.
--- Douglas Adams, The Meaning of Liff


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Samsung DVD writer.

2007-04-01 Thread Joerg Schilling
Norbert Preining <[EMAIL PROTECTED]> wrote:

> > features of the drive, often confuses novice-programmers like the Debian 
> > package maintainers for cdrecord.don't believe these inexpecienced 
> > people.
>
> Please stop discrediting Debian maintainers with wrong accusations. We
> have heard this too many times.

We all know that you are an _uninformed_ troll, there is no need to prove this
over and over again

Jörg

-- 
 EMail:[EMAIL PROTECTED] (home) Jörg Schilling D-13353 Berlin
   [EMAIL PROTECTED](uni)  
   [EMAIL PROTECTED] (work) Blog: http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/old/private/ ftp://ftp.berlios.de/pub/schily


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Samsung DVD writer.

2007-04-01 Thread Matthias Andree
On Sun, 01 Apr 2007 12:29:57 +0200, Joerg Schilling  
<[EMAIL PROTECTED]> wrote:



Bill Davidsen <[EMAIL PROTECTED]> wrote:


> If you like to see an error message that is meaningful, get a
> recent cdrtools
>
> ftp://ftp.berlios.de/pub/cdrecord/alpha/
>
> and call cdrecord -prcap and cdrecord -minfo as root or install
> cdrecord as root.
>

Haven't you fixed the problem of requiring root YET?!! I don't expect
you to fix it on Linux, but I would have thought BSD would work.


I cannot "fix" this as this is a Linux kernel requirement.


Bill asked about BSD *ONLY*.

So will you answer his question or are you - as usual - unable to, because  
you still can't get your feelings under control to an extent of discussing  
in a professional manner?


--
Matthias Andree


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Samsung DVD writer.

2007-04-01 Thread Bill Davidsen

Joerg Schilling wrote:

Bill Davidsen <[EMAIL PROTECTED]> wrote:

  

If you like to see an error message that is meaningful, get a
recent cdrtools

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

and call cdrecord -prcap and cdrecord -minfo as root or install
cdrecord as root.
  
  
Haven't you fixed the problem of requiring root YET?!! I don't expect 
you to fix it on Linux, but I would have thought BSD would work.



I cannot "fix" this as this is a Linux kernel requirement.

  
Hogwash. growisofs works without root, therefore you either choose to 
claim it is a Linux problem, or you don't understand how to fix it. 
Moreover, the hacked version of cdrecord which comes with Fedora works 
without root, although it's a bit old.

Cdrecord works perfectly without root if you are on Solaris
but Solaris offers a _complete_ fine grained privileges implementation
that Linux is still missing.

see "man privileges"


Before Linux-2.6.8.1, *) you could in theory write CDs/DVDs without root
privileges is you did not care about coasters that are a result of
buffer underruns. With Linux-2.6.8.1 the Linux SCSI kernel interface
has been broken by an inexperienced programmer that claimed to fix
a security problem which has been introduced some time before _without_
breking the kernel interface ;-)

Without root privileges, cdrecord is not able to send all needed SCSI commands
on a recent Linux kernel. The fact that _some_ SCSI commands may still be send
without root provileges and the fact that cdrecord tries to self adopt to the 
features of the drive, often confuses novice-programmers like the Debian 
package maintainers for cdrecord.don't believe these inexpecienced people.




*) With early Linux-2.4.x versions this did only work if you did play with
device node permissions and did give up the security of your installation.
Decent kernel implementations would not allow this as it is a security
risk.


Jörg

  



--
bill davidsen <[EMAIL PROTECTED]>
 CTO TMR Associates, Inc
 Doing interesting things with small computers since 1979




Re: Samsung DVD writer.

2007-04-01 Thread Matthias Andree
Bill Davidsen <[EMAIL PROTECTED]> writes:

> Hogwash. growisofs works without root, therefore you either choose to
> claim it is a Linux problem, or you don't understand how to fix
> it. Moreover, the hacked version of cdrecord which comes with Fedora
> works without root, although it's a bit old.

I've debugged more than one of the numerous libscg bugs last year, which
all were either in the categories "standing in your own way",
"artificial barriers" and "assumptions not covered by any standard", and
often, just rearranging the execution sequence or removing superfluous
differences would fix issues.

None of the fixes or debugging with detailed fix instructions I offered
to Jörg made the code AFAICS, and his rants last year also scared people
away who were originally set to fix one of the Linux rlimit regressions.
(I suggested a workaround, Jörg was aware of it, but didn't take it for
unknown reasons, he wouldn't say. As usual :-().

This however is incompatible with Jörg's behavior, he isn't actually
interested in getting his software portable, but rather "invests" his
time into flamewar and offenses -- as this thread demonstrated with the
long anti-Linux pro-Solaris rant when he was asked about non-root BSD
usage.

-- 
Matthias Andree



Re: Samsung DVD writer.

2007-04-01 Thread Joerg Schilling
Bill Davidsen <[EMAIL PROTECTED]> wrote:

> >>> If you like to see an error message that is meaningful, get a
> >>> recent cdrtools
> >>>
> >>> ftp://ftp.berlios.de/pub/cdrecord/alpha/
> >>>
> >>> and call cdrecord -prcap and cdrecord -minfo as root or install
> >>> cdrecord as root.
> >>>   
> >>>   
> >> Haven't you fixed the problem of requiring root YET?!! I don't expect 
> >> you to fix it on Linux, but I would have thought BSD would work.
> >> 
> >
> > I cannot "fix" this as this is a Linux kernel requirement.
> >
> >   
> Hogwash. growisofs works without root, therefore you either choose to 
> claim it is a Linux problem, or you don't understand how to fix it. 

Do you like a decent discussion or do you like to be one of the uninformed
people who participate in the braindead FUD against cdrtools?

If you have no clue on the background, you should listen to people like me who 
know what they are talking about You are listening to the wrong people.

> Moreover, the hacked version of cdrecord which comes with Fedora works 
> without root, although it's a bit old.

Read the text of my last mail and try to understand _why_ _some_ people might 
believe that cdrecord is able to work under _some_ _conditions_.

I am not sure about what limited services growisofs provides. I did see enough
logs from cdrecord that verify the fact that Linux does not allow cdrecord to
work correctly under all conditions. This is because Linux does not allow all  
the SCSI commands cdrecord needs for it's work unless cdrecord runs with root 
privileges.

Jörg

-- 
 EMail:[EMAIL PROTECTED] (home) Jörg Schilling D-13353 Berlin
   [EMAIL PROTECTED](uni)  
   [EMAIL PROTECTED] (work) Blog: http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/old/private/ ftp://ftp.berlios.de/pub/schily


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Samsung DVD writer.

2007-04-01 Thread linuxpiewie
On Sunday 01 April 2007 21:56, Joerg Schilling wrote:
> I did see
> enough logs from cdrecord that verify the fact that Linux does not allow
> cdrecord to work correctly under all conditions. This is because Linux does
> not allow all the SCSI commands cdrecord needs for it's work unless
> cdrecord runs with root privileges.
>
Can you please tell me what commands are affected by the root problem?

Thomas


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



problems writing a large file to DVD+R Double Layer disk

2007-04-01 Thread Kish Shen
Hi,
[I sent this message several hours ago from another email address, but it has 
not appear yet, so
I am trying again with a different e-mail address]

I am trying to write a .ts file to a DVD+R Double Layer disk, so far without 
success. The file has a size of 4613734320. I issue the command:

growisofs -Z /dev/sr1 -R -J  pd

where pd is where my files are.

I get the message:

mkisofs: Value too large for defined data type. File pd/ts  is too large - 
ignoring

and the file is not written. This is with growisofs version 7.0, and mkisofs 
2.01.01a24

I updated my growisofs and mkisofs to these versions because those that came 
with my Linux (growisofs: version 5.17, mkisofs: 2.01a27) does not recognise 
the DVD+R DL media:

linux:/home/kish # growisofs -Z /dev/sr1 -R -J pd
:-( /dev/sr1: media is not recognized as recordable DVD: 2B


My system configuration is:

OS: SuSe Linux 9.1, with kernel 2.6.11.4

DVD Writer: LG GSA 5163D

For now, I just want to write the file as a data file to the disk, so I am not 
worried about DVD compatibility.

Thanks in advance for any help/information on how I can write the file to the 
disk!

Cheers,

Kish


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Samsung DVD writer.

2007-04-01 Thread Joerg Schilling
linuxpiewie <[EMAIL PROTECTED]> wrote:

> On Sunday 01 April 2007 21:56, Joerg Schilling wrote:
> > I did see
> > enough logs from cdrecord that verify the fact that Linux does not allow
> > cdrecord to work correctly under all conditions. This is because Linux does
> > not allow all the SCSI commands cdrecord needs for it's work unless
> > cdrecord runs with root privileges.
> >
> Can you please tell me what commands are affected by the root problem?

All vendor unique commands, such as for Yamaha/Plextor specific functions.

All commands for old (pre-MMC) writers.

Some MMC commands needed for DVD writing, but here I do not remember the
commands.


Jörg

-- 
 EMail:[EMAIL PROTECTED] (home) Jörg Schilling D-13353 Berlin
   [EMAIL PROTECTED](uni)  
   [EMAIL PROTECTED] (work) Blog: http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/old/private/ ftp://ftp.berlios.de/pub/schily


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: problems writing a large file to DVD+R Double Layer disk

2007-04-01 Thread Joerg Schilling
Kish Shen <[EMAIL PROTECTED]> wrote:

> Hi,
> [I sent this message several hours ago from another email address, but it has 
> not appear yet, so
> I am trying again with a different e-mail address]
>
> I am trying to write a .ts file to a DVD+R Double Layer disk, so far without 
> success. The file has a size of 4613734320. I issue the command:

What is a .ts file?
Why do you need it?

> growisofs -Z /dev/sr1 -R -J  pd
>
> where pd is where my files are.
>
> I get the message:
>
> mkisofs: Value too large for defined data type. File pd/ts  is too large 
> - ignoring
>
> and the file is not written. This is with growisofs version 7.0, and mkisofs 
> 2.01.01a24

mkisofs currently only allows to write file with a max. size of 4 GB - 2k.

In about 2 months, there will be a new version that supports files up to 8 TB.
If you use Linux, you then will need to check whether the Linux kernel correctly
supports multi-extent files. I will add the needed multi-extent file support to
OpenSolaris at the same time


> I updated my growisofs and mkisofs to these versions because those that came 
> with my Linux (growisofs: version 5.17, mkisofs: 2.01a27) does not recognise 
> the DVD+R DL media:
>
> linux:/home/kish # growisofs -Z /dev/sr1 -R -J pd
> :-( /dev/sr1: media is not recognized as recordable DVD: 2B

If you have problems with double layer disks, better use the cdrecord that
comes with cdrtools-2.01.01a24. Note that you need to call cdrecord as root
or install it suid root.

Jörg

-- 
 EMail:[EMAIL PROTECTED] (home) Jörg Schilling D-13353 Berlin
   [EMAIL PROTECTED](uni)  
   [EMAIL PROTECTED] (work) Blog: http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/old/private/ ftp://ftp.berlios.de/pub/schily


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]