Gentoo Archives: gentoo-user

From: Steve Brenneis <sbrenneis@×××××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] cdrecord trouble
Date: Mon, 31 Oct 2005 03:27:16
Message-Id: 43658DD5.1020505@surry.net
In Reply to: Re: [gentoo-user] cdrecord trouble by Alexey Asprov
1 Alexey Asprov wrote:
2
3 >Thanks very much for your replies. It seems that cdrecord has a tough time
4 >to coexist with 2.6 kernel series. I have ended up with fireing Kanotix
5 >LiveCD, mounting my Gentoo partition and burning new Knoppix 4.0.2 with
6 >k3b with some sort of hacked Ubuntu drivers ( cdrecord complained all the way)
7 >at 1 speed. I am hesitant to installthis KDE stuff on my machine.
8 >
9 >On Wed, 12 Oct 2005 13:45:07 +0000
10 >John Green <jg012b8403_2@×××××××××××××.uk> wrote:
11 >
12 >
13 >
14 >>Holly Bostick wrote:
15 >>
16 >>
17 >>
18 >>>John Green schreef:
19 >>>
20 >>>
21 >>>
22 >>>
23 >>>>Alexey Asprov wrote:
24 >>>>
25 >>>>
26 >>>>
27 >>>>
28 >>>>
29 >>>>
30 >>>>>I have finally made my usb cdr to work, however I can't burn cds
31 >>>>>This was what I made it to work:
32 >>>>>
33 >>>>>Device Drivers -> SCSI device support -> [*] SCSI CDROM support USB
34 >>>>>support -> [*] EHCI HCD [*] USB Mass Storage support [*] Freecom
35 >>>>>USB/ATAPI Bridge support [*] ISD-200 USB/ATA Bridge support [*]
36 >>>>>USBAT/USBAT02-based storage support
37 >>>>>
38 >>>>>
39 >>>>>Now...
40 >>>>>
41 >>>>>cdrecord -scanbus Cdrecord-Clone 2.01 (i686-pc-linux-gnu) Copyright
42 >>>>>(C) 1995-2004 Jörg Schilling cdrecord: Warning: Running on
43 >>>>>Linux-2.6.12-gentoo-r6 cdrecord: There are unsettled issues with
44 >>>>>Linux-2.5 and newer. cdrecord: If you have unexpected problems,
45 >>>>>please try Linux-2.4 or Solaris. Linux sg driver version: 3.5.33
46 >>>>>Using libscg version 'schily-0.8'. scsibus0: 0,0,0 0) 'HP'
47 >>>>>'CD-Writer+ 8200e' '0001' Removable Disk 0,1,0 1) * 0,2,0 2) *
48 >>>>>0,3,0 3) * 0,4,0 4) * 0,5,0 5) * 0,6,0 6) * 0,7,0
49 >>>>>7) *
50 >>>>>
51 >>>>>And...
52 >>>>>
53 >>>>>cdrecord -v -dao speed=4 dev=0,0,0
54 >>>>>KNOPPIX_V4.0.2CD-2005-09-23-EN.iso Cdrecord-Clone 2.01
55 >>>>>(i686-pc-linux-gnu) Copyright (C) 1995-2004 Jörg Schilling
56 >>>>>cdrecord: Warning: Running on Linux-2.6.12-gentoo-r6 cdrecord:
57 >>>>>There are unsettled issues with Linux-2.5 and newer. cdrecord: If
58 >>>>>you have unexpected problems, please try Linux-2.4 or Solaris. TOC
59 >>>>>Type: 1 = CD-ROM scsidev: '0,0,0' scsibus: 0 target: 0 lun: 0
60 >>>>>Linux sg driver version: 3.5.33 Using libscg version 'schily-0.8'.
61 >>>>>SCSI buffer size: 64512 atapi: 1 Device type : Removable Disk
62 >>>>>Version : 0 Response Format: 1 Vendor_info : 'HP' Identifikation
63 >>>>>: 'CD-Writer+ 8200e' Revision : '0001' Device seems to be:
64 >>>>>Generic CCS Disk. cdrecord: Sorry, no CD/DVD-Drive found on this
65 >>>>>target
66 >>>>>
67 >>>>>Any suggestions? I see many people have the same problem, but
68 >>>>>couldn't find the solution. Thanks in advance.
69 >>>>>
70 >>>>>
71 >>>>>
72 >>>>>
73 >>>>>
74 >>>>>
75 >>>>>
76 >>>>Hi Alexey,
77 >>>>
78 >>>>I haven't seen any replies to your question. You might want to try
79 >>>>this suggestion if you are still stuck. It worked for me.
80 >>>>
81 >>>>emerge k3b
82 >>>>
83 >>>>Then run k3b and note the parameters it uses to burn the cd. The use
84 >>>>that information to adjust cdrecord.
85 >>>>
86 >>>>I normally use fluxbox, so I first had to emerge large parts of kde,
87 >>>>run k3b and then remove k3b and kde. That's why this suggestion is
88 >>>>a last resort.
89 >>>>
90 >>>>
91 >>>>
92 >>>>
93 >>>That's a good idea, John, but you don't have to 'emerge large parts of
94 >>>KDE' to emerge k3b. Just kdelibs (and qt, but QT is useful even if you
95 >>>don't use KDE, so I don't see that as a problem), *if* you use the -arts
96 >>>and -kde USE flags to emerge it. If you don't use KDE, then they should
97 >>>already be in /etc/make.conf, but you (or Alexey) can also add it to
98 >>>/etc/portage/package.use:
99 >>>
100 >>>#echo 'app-cdr/k3b -arts -kde' >>/etc/portage/package.use
101 >>>
102 >>>(assuming that the directory /etc/portage exists; the file will be
103 >>>created if it does not exist, but the folder won't, so it must pre-exist).
104 >>>
105 >>>
106 >>>HTH,
107 >>>Holly
108 >>>
109 >>>
110 >>>
111 >>>
112 >>You are probably right. It was 6 months ago.
113 >>Things may have changed since then, or I was just obtuse. My
114 >>Log says *what* I did, but not why.
115 >>
116 >>John
117 >>--
118 >>gentoo-user@g.o mailing list
119 >>
120 >>
121 >>
122 >
123 >
124 >
125 Alexey,
126
127 In the 2.6 kernel, cdrecord needs the actual device name instead of the
128 SCSI LUN for ATAPI drives. If your CD recorder is ATAPI (which I assume
129 from your kernel parameters), you should have a symbolic link named
130 /dev/cdrom to a /dev/hd* device. The device should be owned by
131 root:cdrom and it should be group writeable (660). Make sure your user
132 account is a member of the cdrom group. Then try this command:
133
134 cdrecord dev=/dev/cdrom -scanbus
135
136 or, if your CD writer is master on the secondary IDE, try this:
137
138 cdrecord dev=/dev/hdc -scanbus
139
140 It should give you the same result you got before. If so, then use
141 dev=/dev/hdc instead of dev=0,0,0 when you burn CDs.
142
143 Hope this helps.
144 --
145 gentoo-user@g.o mailing list