View previous topic :: View next topic |
Author |
Message |
Frelon Tux's lil' helper


Joined: 10 Oct 2004 Posts: 149 Location: France
|
Posted: Tue Oct 19, 2004 4:49 pm Post subject: How to burn CD in 2.6.xx kernel plz ??? [SOLVED] |
|
|
I search for a basic HOWTO, and nothing
I'am in 2.6.7 r11 kernel, I have not compiled with the SCSI support.
I have a CD RW samsung 52x IDE
In Gtoaster, my device is not found, I change the line Scsi bus scan command in cdrecord dev=ATAPI -scanbus, and nothing ....
Is there something to change in /etc/devfsd.conf??
in shell :
#cdrecord -scanbus
Cdrecord-Clone 2.01 (i686-pc-linux-gnu) Copyright (C) 1995-2004 J�rg Schilling
cdrecord: Warning: Running on Linux-2.6.7
cdrecord: There are unsettled issues with Linux-2.5 and newer.
cdrecord: If you have unexpected problems, please try Linux-2.4 or Solaris.
cdrecord: No such file or directory. Cannot open '/dev/pg*'. Cannot open SCSI driver.
cdrecord: For possible targets try 'cdrecord -scanbus'. Make sure you are root.
cdrecord: For possible transport specifiers try 'cdrecord dev=help
# cdrecord dev=ATAPI -scanbus
Cdrecord-Clone 2.01 (i686-pc-linux-gnu) Copyright (C) 1995-2004 J�rg Schilling
cdrecord: Warning: Running on Linux-2.6.7
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: 'ATAPI'
devname: 'ATAPI'
scsibus: -2 target: -2 lun: -2
Warning: Using ATA Packet interface.
Warning: The related Linux kernel interface code seems to be unmaintained.
Warning: There is absolutely NO DMA, operations thus are slow.
Using libscg version 'schily-0.8'.
scsibus0:
0,0,0 0) 'SAMSUNG ' 'CDRW/DVD SM-348B' 'T501' Removable CD-ROM
0,1,0 1) *
0,2,0 2) *
0,3,0 3) *
0,4,0 4) *
0,5,0 5) *
0,6,0 6) *
0,7,0 7) *
wt* is wrong ????? everybody tells scsi not required in 2.6.x kernels.
sorry for flood & noob
[/b][/u] _________________ http://stan.openmod.org
Last edited by Frelon on Tue Oct 19, 2004 10:29 pm; edited 1 time in total |
|
Back to top |
|
 |
himpierre l33t


Joined: 31 Aug 2002 Posts: 867 Location: Berlin
|
Posted: Tue Oct 19, 2004 5:15 pm Post subject: |
|
|
Hm? Did you read the output of
cdrecord dev=ATAPI -scanbus
?
Quote: |
0,0,0 0) 'SAMSUNG ' 'CDRW/DVD SM-348B' 'T501' Removable CD-ROM
|
Whats your problem?
t. |
|
Back to top |
|
 |
Frelon Tux's lil' helper


Joined: 10 Oct 2004 Posts: 149 Location: France
|
Posted: Tue Oct 19, 2004 5:19 pm Post subject: |
|
|
my probleme is : This device is not shown in Gtoaster.
in command line, this is a result :
cdrecord dev=ATAPI blank=fast Cdrecord-Clone 2.01 (i686-pc-linux-gnu) Copyright (C) 1995-2004 J�rg Schilling
cdrecord: Warning: Running on Linux-2.6.7
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: 'ATAPI'
devname: 'ATAPI'
scsibus: -2 target: -2 lun: -2
Warning: Using ATA Packet interface.
Warning: The related Linux kernel interface code seems to be unmaintained.
Warning: There is absolutely NO DMA, operations thus are slow.
Using libscg version 'schily-0.8'.
cdrecord: Cannot do inquiry for CD/DVD-Recorder.
cdrecord: Input/output error. test unit ready: scsi sendcmd: fatal error
CDB: 00 C0 00 00 00 00
cmd finished after 0.000s timeout 40s
 _________________ http://stan.openmod.org |
|
Back to top |
|
 |
jdgill0 Veteran


Joined: 25 Mar 2003 Posts: 1366 Location: Lexington, Ky -- USA
|
Posted: Tue Oct 19, 2004 5:29 pm Post subject: |
|
|
I have not used Gtoaster, so I can not comment on the Gtoaster specifics. However, I can provide information about setting up scsi support for your cdrw drive in the kernel ... most if not all people will say you should not worry about using the cdrw drive as a scsi device, but I will say that in K3B (KDE's cd burning software) that I could NOT "clone" a cd when the device was configured as an IDE device.
So here goes, in menuconfig (this is for 2.6 kernels):
Code: | Device Drivers --->
ATA/ATAPI/MFM/RLL support --->
<M> SCSI emulation support
SCSI device support --->
<M> SCSI CDROM support
<M> SCSI generic support
|
Next build the modules
Code: | make modules modules_install |
Then add the following to /etc/modules.autoload.d/kernel-2.6
Then run
You need to add the following line to your grub.conf file on the line containing root=
where for hdx you replace "x" with whatever you cdrw would be, for example hdc maybe.
You also need to edit /etc/fstab. For the line containing your cdrw you should put something like:
Code: | /dev/scd0 /mnt/cdrw auto noauto,ro,users 0 0 |
The scd0 is the big todo here.
Once you have all these changes, just reboot. The reboot is to enable the hdx=ide-scsi in grub.conf. There might be a way to do this without rebooting, but I don't know it myself. Your cdrw should now be enabled as a scsi device, so try Gtoaster again and see what happens. |
|
Back to top |
|
 |
Frelon Tux's lil' helper


Joined: 10 Oct 2004 Posts: 149 Location: France
|
Posted: Tue Oct 19, 2004 5:41 pm Post subject: |
|
|
thx man, i 'll try that
damned i have to recompile. _________________ http://stan.openmod.org |
|
Back to top |
|
 |
nbkolchin Apprentice


Joined: 07 Feb 2004 Posts: 290 Location: Russia, Saint-Petersburg
|
Posted: Tue Oct 19, 2004 5:41 pm Post subject: |
|
|
himpierre wrote: | Hm? Did you read the output of
cdrecord dev=ATAPI -scanbus
?
Quote: |
0,0,0 0) 'SAMSUNG ' 'CDRW/DVD SM-348B' 'T501' Removable CD-ROM
|
Whats your problem?
t. |
Code: | Warning: Using ATA Packet interface.
Warning: The related Linux kernel interface code seems to be unmaintained.
Warning: There is absolutely NO DMA, operations thus are slow.
|
Here is my problem. Any way to overcome "NO DMA" support in ATAPI?
Nickolay |
|
Back to top |
|
 |
Frelon Tux's lil' helper


Joined: 10 Oct 2004 Posts: 149 Location: France
|
Posted: Tue Oct 19, 2004 6:19 pm Post subject: |
|
|
I tried to modprobe the 3 modules and the "sg" is unknown ... _________________ http://stan.openmod.org |
|
Back to top |
|
 |
nbkolchin Apprentice


Joined: 07 Feb 2004 Posts: 290 Location: Russia, Saint-Petersburg
|
Posted: Tue Oct 19, 2004 6:28 pm Post subject: |
|
|
Frelon wrote: | I tried to modprobe the 3 modules and the "sg" is unknown ... |
Enable SCSI in kernel config.
Code: | $ modprobe -l sg
/lib/modules/2.6.8/kernel/drivers/scsi/sg.ko |
Nickolay |
|
Back to top |
|
 |
Frelon Tux's lil' helper


Joined: 10 Oct 2004 Posts: 149 Location: France
|
Posted: Tue Oct 19, 2004 6:49 pm Post subject: |
|
|
yeah it works !
I do not have the lib because as a good nOOb, i have hard-compiled it & not choose as a Module ....
A little error for the nuber than me :
Code:
/dev/scd0 /mnt/cdrw auto noauto,ro,users 0 0
put user & not users
I really thanks u dudes for speediness & reliability in answers, great ! _________________ http://stan.openmod.org |
|
Back to top |
|
 |
jdgill0 Veteran


Joined: 25 Mar 2003 Posts: 1366 Location: Lexington, Ky -- USA
|
Posted: Tue Oct 19, 2004 7:00 pm Post subject: |
|
|
Great ... glad to hear it. Guess Gtoaster prefers scsi devices.
Anyways,
Frelon wrote: | ... put user & not users ... |
Actually "users" is acceptable as well. The difference is highlighted with a quote from the manpage for mount:
Quote: | Thus, given a line
/dev/cdrom /cd iso9660 ro,user,noauto,unhide
any user can mount the iso9660 file system found on his CDROM using the command ...
...
... Only the user that mounted a filesystem can unmount it again. If any user should be able to unmount, then use users instead of user in the fstab line. |
|
|
Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|