LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-24-2015, 10:26 AM   #1
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,297

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
K3b & cdrecord


Running Slackware-Current with XFCE, and K3B (minimal kde support as required).

I usually ignore hysterical output from cdrecord, because the author is certifiable. This time, however, I decided to try to find out about it, because I don't want to find myself making frizbees instead of cds.

Here's the dubious output from a simple audio cd:
Code:
cdrecord: Operation not permitted. Warning: Cannot raise RLIMIT_MEMLOCK limits.
cdrecord: Cannot allocate memory. WARNING: Cannot do mlockall(2).
cdrecord: WARNING: This causes a high risk for buffer underruns.
cdrecord: Operation not permitted. WARNING: Cannot set RR-scheduler.
cdrecord: Permission denied. WARNING: Cannot set priority using setpriority().
cdrecord: WARNING: This causes a high risk for buffer underruns.
cdrecord: Insufficient 'file read' privileges. You will not be able to open all needed devices.
cdrecord: Insufficient 'file write' privileges. You will not be able to open all needed devices.
cdrecord: Insufficient 'device' privileges. You may not be able to send all needed SCSI commands, this my cause various unexplainable problems.
cdrecord: Insufficient 'memlock' privileges. You may get buffer underruns.
cdrecord: Insufficient 'priocntl' privileges. You may get buffer underruns.
cdrecord: Insufficient 'network' privileges. You will not be able to do remote SCSI.

...


Warning: Open by 'devname' is unintentional and not supported.
Linux sg driver version: 3.5.27
SCSI buffer size: 64512
cdrecord: Warning: Cannot read drive buffer.
cdrecord: Warning: The DMA speed test has been skipped.
I take the 'devname' business with a pinch of salt - glad someone forked or patched that. My user is in the "users" group, but also has membership of: root; bin; lp; audio; video; cdrom; plugdev; power; & scanner. Have I left some important thing out, or are the error messages insane?
 
Old 04-24-2015, 11:49 AM   #2
veerain
Senior Member
 
Registered: Mar 2005
Location: Earth bound to Helios
Distribution: Custom
Posts: 2,524

Rep: Reputation: 319Reputation: 319Reputation: 319Reputation: 319
Have you tried running cdrecord as root. 'RLIMIT_MEMLOCK' limit won't be there.

These days there are inbuilt drive buffers plus pc are fast plus cdrecord also has transfer buffer.
 
Old 04-25-2015, 12:18 AM   #3
MadMaverick9
Member
 
Registered: Aug 2010
Posts: 353
Blog Entries: 4

Rep: Reputation: Disabled
Code:
bash $ ls -al /usr/bin/cdrecord 
-rws--x--- 1 root burnrights 468920 Aug 21  2012 /usr/bin/cdrecord
http://www.linuxquestions.org/questi...1/#post2876486
 
1 members found this post helpful.
Old 04-26-2015, 03:33 AM   #4
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,297

Original Poster
Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
I went with the chmod to 4755 of cdrecord. I know there are more paranoid ways of handling this, but I just wasn't bothered, because I don't think Slackware's permissions are terribly tight anyhow. I would toughen up considerably if I saw the need to go there.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
K3B with no cdrecord (...?) martincho Linux - Software 2 05-06-2005 06:19 PM
K3b Cdrecord inescapeableus Linux - Software 5 03-16-2005 02:27 AM
K3B and cdrecord errors jaa1180 Linux - Software 1 11-21-2004 03:40 AM
cdrecord 2.10a27 & K3b FrostBot Linux - Software 4 08-24-2004 01:54 PM
cdrecord errors with k3b Mr_C Linux - Software 7 03-28-2004 10:46 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:16 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration