LinuxQuestions.org
Visit Jeremy's Blog.
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 01-04-2004, 10:16 PM   #1
boutrosboutros
Member
 
Registered: Dec 2003
Location: SE US
Distribution: Debian Sarge/SID, Mepis
Posts: 47

Rep: Reputation: 15
I've searched and tried to burn CD but... [Slack9.1]


Hello,

New slack user here. Trying to burn cd's using k3b under KDE 3.1.4. I have read a million previous posts and apparently cannot get something related to permissions correct. I can read and burn as root but user error i get is "could not open /dev/sr0"

I have enable scsi emulation and added the append line to lilo. And done everything i have read in every post including giving xwr permissions for everything related to the cd-rom. cdrecord scanbus shows the device is 0,0,0.

I've added myself to the "disk" group also. And i just can't get it to work. I have the liteon cdrw mounted as
/mnt/sr0. Under /dev/cdrom is linked to /dev/sr0. I am not sure what other info to add. Oh yes, k3b gives me another error that says that the file or dir /mnt/sr0 doesn't exist ( earlier i had the cdrw as /mnt/cdrom and didn't get the error saying it didn't exist but i did get the "could not open" error). Although when i click on the drive it recognizes the tracks on the cd but as soon as i hit rip i get the error mentioned earlier.

One other bit of info that may or maynot be helpful i tried to run cdparanoia from the CLI and i got this error: [ Checking /dev/cdrom for cdrom...
Testing /dev/cdrom for cooked ioctl() interface
/dev/sr0 is not a cooked ioctl CDROM.
Testing /dev/cdrom for SCSI interface
No generic SCSI device found to match CDROM device /dev/sr0

Any ideas? I have run out of them.

Thanks alot!
Boutros
 
Old 01-05-2004, 03:05 AM   #2
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
From The Linux Documentation Project:

http://en.tldp.org/HOWTO/CD-Writing-HOWTO.html

Hope this helps.
 
Old 01-05-2004, 04:44 AM   #3
Chris H
Member
 
Registered: Aug 2003
Location: Farnborough, UK
Distribution: Zenwalk
Posts: 288

Rep: Reputation: 30
Boutros, run k3bsetup from the settings menu in k3b. This will allow you to sort the permissions thing on your burner.
 
Old 01-05-2004, 07:19 AM   #4
pbhj
Member
 
Registered: Dec 2002
Location: UK
Distribution: Slackware 12; Ubuntu 7.10
Posts: 358

Rep: Reputation: 32
Have you ensured that you've selected the 'users' option in the /etc/fstab file for the device?

Best in Christ
 
Old 01-05-2004, 08:03 AM   #5
Skyline
Senior Member
 
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104

Rep: Reputation: 45
Try

chmod 777 /dev/sr0

then try as normal user - if no luck then post the full out put of

dmesg

and

/etc/fstab

Last edited by Skyline; 01-05-2004 at 08:21 AM.
 
Old 01-05-2004, 11:18 AM   #6
boutrosboutros
Member
 
Registered: Dec 2003
Location: SE US
Distribution: Debian Sarge/SID, Mepis
Posts: 47

Original Poster
Rep: Reputation: 15
First of all thanks for the replies,

I know that this is a much discussed topic, which one should search for and read thoroughly before posting, and i really did.

I tried the chmod 777 idea. this did not work. I've used k3bsetup. Although it is not the same on this install as it was when i tried out Mepis Linux. K3bsetup for me when i used it in the Mepis distro was a wizard sort of thing that walked you through 4 or 5 steps and then changed permissions and added the /etc/fstab entries. This time it is only one page with permission settings on it. Anyway, here is the info from fstab and dmesg.

/etc/fstab----------------------------------------------------------------------------------------------------
/dev/hda3 swap swap defaults 0 0
/dev/hda1 / ext3 defaults 1 1
/dev/hda2 /otherlin ext3 defaults 1 2
/dev/hdb2 /linbakpart ext3 defaults 1 2
/dev/hda4 /winE vfat defaults,umask=000 0 2
/dev/hdb1 /winD vfat defaults,umask=000 0 2
/dev/sr0 /mnt/sr0 iso9660 noauto,users 0 0
/dev/fd0 /mnt/floppy auto noauto,owner 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
proc /proc proc defaults 0 0
---------------------------------------------------------------------------------------------------------------

full dmesg output--------------------------------------------------------------------------------------------
Linux version 2.4.22 (root@midas) (gcc version 3.2.3) #6 Tue Sep 2 17:43:01 PDT 2003
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 000000000fff0000 (usable)
BIOS-e820: 000000000fff0000 - 000000000fff3000 (ACPI NVS)
BIOS-e820: 000000000fff3000 - 0000000010000000 (ACPI data)
BIOS-e820: 00000000fec00000 - 00000000fec01000 (reserved)
BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved)
BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved)
255MB LOWMEM available.
On node 0 totalpages: 65520
zone(0): 4096 pages.
zone(1): 61424 pages.
zone(2): 0 pages.
Kernel command line: BOOT_IMAGE=Linux ro root=301 hdc=ide-scsi
ide_setup: hdc=ide-scsi
Initializing CPU#0
Detected 1462.536 MHz processor.
Console: colour dummy device 80x25
Calibrating delay loop... 2916.35 BogoMIPS
Memory: 256044k/262080k available (1813k kernel code, 5648k reserved, 614k data, 116k init, 0k highmem)
Dentry cache hash table entries: 32768 (order: 6, 262144 bytes)
Inode cache hash table entries: 16384 (order: 5, 131072 bytes)
Mount cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer cache hash table entries: 16384 (order: 4, 65536 bytes)
Page-cache hash table entries: 65536 (order: 6, 262144 bytes)
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 256K (64 bytes/line)
CPU: After generic, caps: 0383fbff c1c3fbff 00000000 00000000
CPU: Common caps: 0383fbff c1c3fbff 00000000 00000000
CPU: AMD Athlon(tm) XP 1700+ stepping 01
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
mtrr: v1.40 (20010327) Richard Gooch (rgooch@atnf.csiro.au)
mtrr: detected mtrr type: Intel
PCI: PCI BIOS revision 2.10 entry at 0xfb3e0, last bus=1
PCI: Using configuration type 1
PCI: Probing PCI hardware
PCI: Probing PCI hardware (bus 00)
PCI: Using IRQ router VIA [1106/3177] at 00:11.0
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
VFS: Disk quotas vdquot_6.5.1
Journalled Block Device driver loaded
vesafb: framebuffer at 0xe4000000, mapped to 0xd080d000, size 1536k
vesafb: mode is 1024x768x8, linelength=1024, pages=18
vesafb: protected mode interface info at c000:77a0
vesafb: scrolling: redraw
Console: switching to colour frame buffer device 128x48
fb0: VESA VGA frame buffer device
pty: 512 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with HUB-6 MANY_PORTS MULTIPORT SHARE_IRQ SERIAL_PCI enabled
Real Time Clock Driver v1.10e
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
RAMDISK driver initialized: 16 RAM disks of 7777K size 1024 blocksize
loop: loaded (max 8 devices)
Uniform Multi-Platform E-IDE driver Revision: 7.00beta4-2.4
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
VP_IDE: IDE controller at PCI slot 00:11.1
VP_IDE: chipset revision 6
VP_IDE: not 100% native mode: will probe irqs later
VP_IDE: VIA vt8235 (rev 00) IDE UDMA133 controller on pci00:11.1
ide0: BM-DMA at 0xec00-0xec07, BIOS settings: hdaMA, hdbMA
ide1: BM-DMA at 0xec08-0xec0f, BIOS settings: hdcMA, hddMA
hda: QUANTUM FIREBALLP AS40.0, ATA DISK drive
hdb: WDC WD400BB-32CFC0, ATA DISK drive
blk: queue c03a9d80, I/O limit 4095Mb (mask 0xffffffff)
blk: queue c03a9ebc, I/O limit 4095Mb (mask 0xffffffff)
hdc: LITE-ON LTR-48246S, ATAPI CD/DVD-ROM drive
hdd: ASUS CD-S500/A, ATAPI CD/DVD-ROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: attached ide-disk driver.
hda: host protected area => 1
hda: 78177792 sectors (40027 MB) w/1902KiB Cache, CHS=4866/255/63, UDMA(100)
hdb: attached ide-disk driver.
hdb: host protected area => 1
hdb: 78165360 sectors (40021 MB) w/2048KiB Cache, CHS=4865/255/63, UDMA(100)
hdd: attached ide-cdrom driver.
hdd: ATAPI 50X CD-ROM drive, 128kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.12
Partition check:
hda: hda1 hda2 hda3 hda4
hdb: hdb1 hdb2
SCSI subsystem driver Revision: 1.00
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
md: linear personality registered as nr 1
md: raid0 personality registered as nr 2
md: raid1 personality registered as nr 3
md: raid5 personality registered as nr 4
raid5: measuring checksumming speed
8regs : 2097.200 MB/sec
32regs : 1205.600 MB/sec
pIII_sse : 4021.200 MB/sec
pII_mmx : 3424.800 MB/sec
p5_mmx : 4370.000 MB/sec
raid5: using function: pIII_sse (4021.200 MB/sec)
md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
LVM version 1.0.5+(22/07/2002)
Initializing Cryptographic API
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
IP: routing cache hash table of 2048 buckets, 16Kbytes
TCP: Hash tables configured (established 16384 bind 32768)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
kjournald starting. Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem) readonly.
Freeing unused kernel memory: 116k freed
Adding Swap: 1028152k swap-space (priority -1)
EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0(3,1), internal journal
kjournald starting. Commit interval 5 seconds
EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0(3,2), internal journal
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting. Commit interval 5 seconds
EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0(3,66), internal journal
EXT3-fs: mounted filesystem with ordered data mode.
Linux agpgart interface v0.99 (c) Jeff Hartmann
agpgart: Maximum main memory to use for agp memory: 203M
agpgart: Detected Via Apollo Pro KT266 chipset
agpgart: AGP aperture is 64M @ 0xe0000000
hdc: attached ide-scsi driver.
scsi0 : SCSI host adapter emulation for IDE ATAPI devices
Vendor: LITE-ON Model: LTR-48246S Rev: SS06
Type: CD-ROM ANSI SCSI revision: 02
Attached scsi CD-ROM sr0 at scsi0, channel 0, id 0, lun 0
sr0: scsi3-mmc drive: 48x/48x writer cd/rw xa/form2 cdda tray
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
PCI: Found IRQ 3 for device 00:10.3
ehci_hcd 00:10.3: VIA Technologies, Inc. USB 2.0
ehci_hcd 00:10.3: irq 3, pci mem d0a4a000
usb.c: new USB bus registered, assigned bus number 1
PCI: 00:10.3 PCI cache line size set incorrectly (32 bytes) by BIOS/FW.
PCI: 00:10.3 cache line size too large - expecting 16.
ehci_hcd 00:10.3: USB 2.0 enabled, EHCI 1.00, driver 2003-Jun-19/2.4
hub.c: USB hub found
hub.c: 6 ports detected
uhci.c: USB Universal Host Controller Interface driver v1.1
PCI: Found IRQ 11 for device 00:10.0
PCI: Sharing IRQ 11 with 00:08.0
uhci.c: USB UHCI at I/O 0xe000, IRQ 11
usb.c: new USB bus registered, assigned bus number 2
hub.c: USB hub found
hub.c: 2 ports detected
PCI: Found IRQ 5 for device 00:10.1
PCI: Sharing IRQ 5 with 00:09.0
uhci.c: USB UHCI at I/O 0xe400, IRQ 5
usb.c: new USB bus registered, assigned bus number 3
hub.c: USB hub found
hub.c: 2 ports detected
PCI: Found IRQ 7 for device 00:10.2
PCI: Sharing IRQ 7 with 00:0a.0
uhci.c: USB UHCI at I/O 0xe800, IRQ 7
usb.c: new USB bus registered, assigned bus number 4
hub.c: USB hub found
hub.c: 2 ports detected
PCI: Found IRQ 5 for device 00:09.0
PCI: Sharing IRQ 5 with 00:10.1
hub.c: new USB device 00:10.0-2, assigned address 2
usb.c: USB device 2 (vend/prod 0x4a9/0x2206) is not claimed by any active driver.
eepro100.c:v1.09j-t 9/29/99 Donald Becker http://www.scyld.com/network/eepro100.html
eepro100.c: $Revision: 1.36 $ 2000/11/17 Modified by Andrey V. Savochkin <saw@saw.sw.com.sg> and others
PCI: Found IRQ 11 for device 00:08.0
PCI: Sharing IRQ 11 with 00:10.0
eth0: Intel Corp. 82557/8/9 [Ethernet Pro 100], 00:A0:C9:00:8E:09, IRQ 11.
Receiver lock-up bug exists -- enabling work-around.
Board assembly 352509-003, Physical connectors present: RJ45
Primary interface chip DP83840 PHY #1.
DP83840 specific setup, setting register 23 to 8462.
General self-test: passed.
Serial sub-system self-test: passed.
Internal registers self-test: passed.
ROM checksum self-test: passed (0x49caa8d6).
Receiver lock-up workaround activated.
usb.c: registered new driver usbscanner
scanner.c: USB scanner device (0x04a9/0x2206) now attached to scanner0
scanner.c: 0.4.13:USB Scanner Driver
lp: driver loaded but no devices found
---------------------------------------------------------------------------------------------------------------

I am new to linux and Slackware so i am not sure what particular info above to point out. Again i truly appreciate the help.

Have a blessed day,
Boutros
 
Old 01-05-2004, 01:40 PM   #7
Chris H
Member
 
Registered: Aug 2003
Location: Farnborough, UK
Distribution: Zenwalk
Posts: 288

Rep: Reputation: 30
Boutros, under k3bsetup what were the permissions given?

I had the same prob and the permissions for the burner were 644. After k3b they became 666 for root.disk.

Summat else to try is add yourself to the group 'disk', use the start-system-kuser package for this.

Also, have you added support for ide-scsi in lilo.conf?
 
Old 01-05-2004, 02:59 PM   #8
boutrosboutros
Member
 
Registered: Dec 2003
Location: SE US
Distribution: Debian Sarge/SID, Mepis
Posts: 47

Original Poster
Rep: Reputation: 15
Hi Chris,

I have tried it with the burner permissions set to 666. and 777 and added my main user name to the disk group, and added the append line to lilo.conf also...here is lilo

-------------------------------------------------------------------------
# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
append="hdc=ide-scsi"
boot = /dev/hda1
message = /boot/boot_message.txt
prompt
timeout = 1200
# Override dangerous defaults that rewrite the partition table:
change-rules
reset
# VESA framebuffer console @ 1024x768x256
vga = 773
# Normal VGA console
# vga = normal
# VESA framebuffer console @ 1024x768x64k
# vga=791
# VESA framebuffer console @ 1024x768x32k
# vga=790
# VESA framebuffer console @ 1024x768x256
# vga=773
# VESA framebuffer console @ 800x600x64k
# vga=788
# VESA framebuffer console @ 800x600x32k
# vga=787
# VESA framebuffer console @ 800x600x256
# vga=771
# VESA framebuffer console @ 640x480x64k
# vga=785
# VESA framebuffer console @ 640x480x32k
# vga=784
# VESA framebuffer console @ 640x480x256
# vga=769
# End LILO global section
# DOS bootable partition config begins
other = /dev/hda4
label = DOS
table = /dev/hda
# DOS bootable partition config ends
# Linux bootable partition config begins
image = /boot/vmlinuz
root = /dev/hda1
label = Linux
read-only
# Linux bootable partition config ends
-------------------------------------------------------------------
The append line didn't work when i added it at the end so i added it at the beginning. The old windows me says "re-install" but the new linux me says "climb the mountain my friend" So i will keep plugging away.

Thanks again,
Boutros
 
Old 01-05-2004, 03:45 PM   #9
amos
Member
 
Registered: Dec 2002
Location: Bolton, UK
Distribution: Kubuntu
Posts: 224

Rep: Reputation: 30
After editing lilo.conf and saving the edited file did you then type:

lilo

in a shell, as su, to install the new settings.

If all you did was edit lilo.conf, then the changes won't have been recognised, even if you rebooted.

Cheers
Amos
 
Old 01-06-2004, 02:56 AM   #10
boutrosboutros
Member
 
Registered: Dec 2003
Location: SE US
Distribution: Debian Sarge/SID, Mepis
Posts: 47

Original Poster
Rep: Reputation: 15
Hi Amos,

I did run the "lilo" command also, still no go.

Peace,
Boutros
 
Old 01-07-2004, 01:12 PM   #11
boutrosboutros
Member
 
Registered: Dec 2003
Location: SE US
Distribution: Debian Sarge/SID, Mepis
Posts: 47

Original Poster
Rep: Reputation: 15
Well i uninstalled K3B, installed xcdroast, and logged in as root and setup using the cdroast help and i am now able to burn using cdroast under the user acct. I will chase down the permissions on the setup and see what the problem was with k3b then.

Thanks,
Boutros
 
Old 02-13-2004, 12:33 PM   #12
Obscure
Member
 
Registered: Apr 2003
Location: Milan
Distribution: Slackware 10 / FreeBSD 5.3
Posts: 175

Rep: Reputation: 32
I've the same problem of boutrosboutros using Slack 9.0....
Code:
Checking /dev/scd0 for cdrom...
	Testing /dev/scd0 for cooked ioctl() interface
		/dev/scd0 is not a cooked ioctl CDROM.
        Testing /dev/scd0 for SCSI interface
                No generic SCSI device found to match CDROM device /dev/scd0
Seems that none has the solutions...

Some1 could help please???
TnxVM

Last edited by Obscure; 02-13-2004 at 12:35 PM.
 
Old 08-14-2004, 10:26 AM   #13
Alan Lakin
Member
 
Registered: Sep 2002
Location: Wallington, Surrey, UK
Distribution: Ubuntu, Android phone
Posts: 119

Rep: Reputation: 15
Rather that start a new thread I thought I would add myself to this one

I have been burning CDs for the past year as ROOT from the shell using cdrecord and mkisofs. If I try to use either of the latter commands as a user I get the "Operation not permitted error". I have written a few simple scripts for managing simple tasks like blanking a cdrw and archiving files to a cdr. It just means that I have to run them as root. I have done all of the things listed above and cannot get past this permissions problem as a user. I want to install k3b and get the rest of the family involved in using the cdrw (there's another story - compiling k3b ).

There must be something really obvious that a LOT of people are missing, myself included. Has anyone put their finger on it yet?
 
Old 09-02-2004, 03:00 AM   #14
pengStudent
Member
 
Registered: Nov 2003
Location: California
Distribution: Slackware 14
Posts: 55

Rep: Reputation: 15
Not sure if there was a solution posted already to this. I was having the same problem with slack 10, i could not rip/burn cd's.
I enabled "hdc=ide-scsi" in lilo, I added myself to the cdrom/disk group. changed the permissions to sr0 and cdrom to 666.
This was not working. I was getting the same error Obscure was

Checking /dev/scd0 for cdrom...
Testing /dev/scd0 for cooked ioctl() interface
/dev/scd0 is not a cooked ioctl CDROM.
Testing /dev/scd0 for SCSI interface
No generic SCSI device found to match CDROM device /dev/scd0


I was reading a similar issue on another distro which used sg0 instead of sc0 (can't remember what distro). I decided to change the permissions of sg0 to match those of sc0 and it worked. I can now rip/burn cd's without a problem.
 
Old 09-02-2004, 05:49 AM   #15
Chris H
Member
 
Registered: Aug 2003
Location: Farnborough, UK
Distribution: Zenwalk
Posts: 288

Rep: Reputation: 30
Any good to anyone?

http://www.linuxquestions.org/questions/history/152968
 
  


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
Searched Everywhere jeep99899 Linux - Newbie 1 09-13-2004 02:06 PM
where can i get a free program to burn isos in winxp so i can burn a distro? Me61289 Linux - Newbie 5 08-17-2004 02:36 AM
I searched and searched so... NeeWom Linux - Software 0 04-16-2004 12:14 PM
k3b error with audio cd burn (no prob with iso burn) bluem Linux - Newbie 1 04-16-2004 08:05 AM
Do I burn the ISO, or burn what's contained in it? Borg Swarm Linux - General 1 02-06-2004 05:30 PM

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

All times are GMT -5. The time now is 04:13 AM.

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