public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* PROBLEM: cdrecord as normal user broken with kernel 2.6.8.1
@ 2004-08-15 23:42 GhePeU
  0 siblings, 0 replies; 2+ messages in thread
From: GhePeU @ 2004-08-15 23:42 UTC (permalink / raw)
  To: linux-kernel

As in Object: this has been reported by many user I know, with different
chipsets and different IDE cd-burners. Bug wasn't in 2.6.8 rc4.

cdrecord output with kernel 2.6.7 and kernel 2.6.8.1 as root:

# cdrecord dev=/dev/hdc -checkdrive 
Cdrecord-Clone 2.01a36 (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jörg Schilling
cdrecord: Warning: Running on Linux-2.6.8
cdrecord: There are unsettled issues with Linux-2.5 and newer.
cdrecord: If you have unexpected problems, please try Linux-2.4 or Solaris.
scsidev: '/dev/hdc'
devname: '/dev/hdc'
scsibus: -2 target: -2 lun: -2
Warning: Open by 'devname' is unintentional and not supported.
Linux sg driver version: 3.5.27
Using libscg version 'schily-0.8'.
Device type    : Removable CD-ROM
Version        : 0
Response Format: 2
Capabilities   :
Vendor_info    : 'LITE-ON '
Identifikation : 'LTR-52327S      '
Revision       : 'QS0C'
Device seems to be: Generic mmc CD-RW.
Using generic SCSI-3/mmc   CD-R/CD-RW driver (mmc_cdr).
Driver flags   : MMC-3 SWABAUDIO BURNFREE FORCESPEED
Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P RAW/R96R

cdrecord output with kernel 2.6.8.1 as normal user:

$ cdrecord dev=/dev/hdc -checkdrive 
Cdrecord-Clone 2.01a36 (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jörg Schilling
cdrecord: Warning: Running on Linux-2.6.8
cdrecord: There are unsettled issues with Linux-2.5 and newer.
cdrecord: If you have unexpected problems, please try Linux-2.4 or Solaris.
scsidev: '/dev/hdc'
devname: '/dev/hdc'
scsibus: -2 target: -2 lun: -2
Warning: Open by 'devname' is unintentional and not supported.
Linux sg driver version: 3.5.27
Using libscg version 'schily-0.8'.
Device type    : Removable CD-ROM
Version        : 0
Response Format: 2
Capabilities   :
Vendor_info    : 'LITE-ON '
Identifikation : 'LTR-52327S      '
Revision       : 'QS0C'
Device seems to be: Generic mmc CD-RW.
Using generic SCSI-3/mmc   CD-R/CD-RW driver (mmc_cdr).
Driver flags   : MMC-3 SWABAUDIO BURNFREE FORCESPEED
Supported modes:

Please note that no supported modes are found. There are many other
errors reported with cdrecord -atip or when trying a c2 errors scan with
readcd:

cdrecord: Operation not permitted. prevent/allow medium removal: scsi
sendcmd: no error 
CDB:  1E 00 00 00 01 00 
status: 0x0 (GOOD STATUS) 
cmd finished after 0.000s timeout 40s


The same happens with CyberDrv CW088D CD-R/RW and PLEXTOR CD-R W4012A,
between the others.


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

* Re: PROBLEM: cdrecord as normal user broken with kernel 2.6.8.1
@ 2004-08-28 10:22 Giacomo Lozito
  0 siblings, 0 replies; 2+ messages in thread
From: Giacomo Lozito @ 2004-08-28 10:22 UTC (permalink / raw)
  To: linux-kernel


It's crystal clear that applications should run correctly with a kernel,
and it is not the kernel that should be made to work with them.
By the way, things are already getting fixed in next kernel releases.

Nevertheless, a problem exists.
I wouldn't expect relevant things (such as CD burning) to broke within stable 
series of a kernel. It's ok if things break with 2.5 or 2.7, but should it be 
the same for 2.6?

In my humble opinion, a nice and good way to tighten security for some 
commands was to give it as an option in ATA/ATAPI/MFM/RLL or SCSI section in 
kernel configuration.
That way people could read "this option improves security, it will become 
standard in later kernels, but be aware that it could make cdrecording tools 
not functional when they are run from a normal user account"
and people could decide what to do.

Wasn't that more reasonable?

Regards,
Giacomo Lozito

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

end of thread, other threads:[~2004-08-28 10:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-08-15 23:42 PROBLEM: cdrecord as normal user broken with kernel 2.6.8.1 GhePeU
  -- strict thread matches above, loose matches on Subject: below --
2004-08-28 10:22 Giacomo Lozito

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox