Koozali.org: home of the SME Server

CD Burning/Backup

Chummers

CD Burning/Backup
« on: June 22, 2007, 02:47:05 PM »
Hello all,

I have been using some of the old versions of sme, then took a break for a couple of years.

I have installed sme 7.1 and having some problems with the CD/DVD backup.

I can burn fine with a scsi cd writer, but not an ide. (scsi emulation?)
I can burn fine with sme 6.5, but some things seemed to have changed in 7.1 ie grub instead of lilo,  I have looked at all the CD backup posts, and enabled ide-scsi emulation module, if i type "lsmod" it is loaded, but i have noticed there is not device sda in the /dev directory - there is in 6.5.

i get this is the message file



Quote
Jun 22 07:14:25 server esmith::event[4509]: Processing event: cdutils-backup  
Jun 22 07:14:25 server esmith::event[4509]: Running event handler: /etc/e-smith/events/cdutils-backup/S10cdutils-backup
Jun 22 07:14:25 server esmith::event[4509]: scsidev: '0,0,0'  
Jun 22 07:14:25 server esmith::event[4509]: scsibus: 0 target: 0 lun: 0  
Jun 22 07:14:25 server esmith::event[4509]: /usr/bin/cdrecord: No such file or directory. Cannot open '/dev/pg0'. Cannot open SCSI driver.  
Jun 22 07:14:25 server esmith::event[4509]: /usr/bin/cdrecord: For possible targets try 'cdrecord -scanbus'.  
Jun 22 07:14:25 server esmith::event[4509]: /usr/bin/cdrecord: For possible transport specifiers try 'cdrecord dev=help'.  
Jun 22 07:14:25 server esmith::event[4509]: ERROR: There does not appear to be a CD in the CD-R/W drive  
Jun 22 07:14:25 server esmith::event[4509]:        OR there was a problem accessing the CD-R/W at /opt/cd_utils/cd_backup.pl line 85.  
Jun 22 07:14:25 server /etc/e-smith/events/cdutils-backup/S10cdutils-backup[4510]: /etc/e-smith/cdutils: OLD cdutils=status|error||finish|1182491362|start|1182492865|state|running|type|backup
Jun 22 07:14:25 server /etc/e-smith/events/cdutils-backup/S10cdutils-backup[4510]: /etc/e-smith/cdutils: NEW cdutils=status|error||finish|1182491362|start|1182492865|state|error|type|backup
Jun 22 07:14:25 server /etc/e-smith/events/cdutils-backup/S10cdutils-backup[4510]: /etc/e-smith/cdutils: OLD cdutils=status|error||finish|1182491362|start|1182492865|state|error|type|backup
Jun 22 07:14:25 server /etc/e-smith/events/cdutils-backup/S10cdutils-backup[4510]: /etc/e-smith/cdutils: NEW cdutils=status|error||finish|1182492865|start|1182492865|state|error|type|backup
Jun 22 07:14:25 server /etc/e-smith/events/cdutils-backup/S10cdutils-backup[4510]: /etc/e-smith/cdutils: OLD cdutils=status|error||finish|1182492865|start|1182492865|state|error|type|backup
Jun 22 07:14:25 server /etc/e-smith/events/cdutils-backup/S10cdutils-backup[4510]: /etc/e-smith/cdutils: NEW cdutils=status|error|Error occurred during backup - see /var/log/messages and /tmp/*.err files|finish|1182492865|start|1182492865|state|error|type|backup
Jun 22 07:14:25 server esmith::event[4509]: Error occurred during backup - see /var/log/messages and /tmp/*.err files  
Jun 22 07:14:25 server esmith::event[4509]: ErrorMessage: Error occurred during backup - see /var/log/messages and /tmp/*.err files  
Jun 22 07:14:25 server esmith::event[4509]: S10cdutils-backup=action|Event|cdutils-backup|Action|S10cdutils-backup|Start|1182492865 442102|End|1182492865 750429|Elapsed|0.308327|Status|2304
Jun 22 07:14:27 server /etc/e-smith/web/panels/manager/cgi-bin/cd_backup[4519]: /etc/e-smith/cdutils: OLD cdutils=status|error|Error occurred during backup - see /var/log/messages and /tmp/*.err files|finish|1182492865|start|1182492865|state|error|type|backup
Jun 22 07:14:27 server /etc/e-smith/web/panels/manager/cgi-bin/cd_backup[4519]: /etc/e-smith/cdutils: NEW cdutils=status|error|Error occurred during backup - see /var/log/messages and /tmp/*.err files|finish|1182492865|start|1182492865|state|idle|type|backup
Jun 22 07:14:27 server /etc/e-smith/web/panels/manager/cgi-bin/cd_backup[4519]: /etc/e-smith/cdutils: OLD cdutils=status|error|Error occurred during backup - see /var/log/messages and /tmp/*.err files|finish|1182492865|start|1182492865|state|idle|type|backup
Jun 22 07:14:27 server /etc/e-smith/web/panels/manager/cgi-bin/cd_backup[4519]: /etc/e-smith/cdutils: NEW cdutils=status|error||finish|1182492865|start|1182492865|state|idle|type|backup
Jun 22 07:24:48 server kernel: hdc: command error: status=0x51 { DriveReady SeekComplete Error }
Jun 22 07:24:48 server kernel: hdc: command error: error=0x54
Jun 22 07:24:48 server kernel: ide: failed opcode was 100
Jun 22 07:24:48 server kernel: ATAPI device hdc:
Jun 22 07:24:48 server kernel:   Error: Illegal request -- (Sense key=0x05)
Jun 22 07:24:48 server kernel:   Invalid field in command packet -- (asc=0x24, ascq=0x00)
Jun 22 07:24:48 server kernel:   The failed "Read 10" packet command was:
Jun 22 07:24:48 server kernel:   "28 00 00 00 00 00 00 00 01 00 00 00 00 00 00 00 "
Jun 22 07:24:48 server kernel: end_request: I/O error, dev hdc, sector 0
Jun 22 07:24:48 server kernel: Buffer I/O error on device hdc, logical block 0
Jun 22 07:24:48 server kernel: hdc: command error: status=0x51 { DriveReady SeekComplete Error }
Jun 22 07:24:48 server kernel: hdc: command error: error=0x54
Jun 22 07:24:48 server kernel: ide: failed opcode was 100
Jun 22 07:24:48 server kernel: ATAPI device hdc:
Jun 22 07:24:48 server kernel:   Error: Illegal request -- (Sense key=0x05)
Jun 22 07:24:48 server kernel:   Invalid field in command packet -- (asc=0x24, ascq=0x00)
Jun 22 07:24:48 server kernel:   The failed "Read 10" packet command was:
Jun 22 07:24:48 server kernel:   "28 00 00 00 00 00 00 00 01 00 00 00 00 00 00 00 "
Jun 22 07:24:48 server kernel: end_request: I/O error, dev hdc, sector 0
Jun 22 07:24:48 server kernel: Buffer I/O error on device hdc, logical block 0
Jun 22 07:24:48 server kernel: hdc: command error: status=0x51 { DriveReady SeekComplete Error }
Jun 22 07:24:48 server kernel: hdc: command error: error=0x54
Jun 22 07:24:48 server kernel: ide: failed opcode was 100
Jun 22 07:24:48 server kernel: ATAPI device hdc:
Jun 22 07:24:48 server kernel:   Error: Illegal request -- (Sense key=0x05)
Jun 22 07:24:48 server kernel:   Invalid field in command packet -- (asc=0x24, ascq=0x00)
Jun 22 07:24:48 server kernel:   The failed "Read 10" packet command was:
Jun 22 07:24:48 server kernel:   "28 00 00 00 00 00 00 00 01 00 00 00 00 00 00 00 "
Jun 22 07:24:48 server kernel: end_request: I/O error, dev hdc, sector 0
Jun 22 07:24:48 server kernel: Buffer I/O error on device hdc, logical block 0
Jun 22 07:24:48 server kernel: hdc: command error: status=0x51 { DriveReady SeekComplete Error }
Jun 22 07:24:48 server kernel: hdc: command error: error=0x54
Jun 22 07:24:48 server kernel: ide: failed opcode was 100
Jun 22 07:24:48 server kernel: ATAPI device hdc:
Jun 22 07:24:48 server kernel:   Error: Illegal request -- (Sense key=0x05)
Jun 22 07:24:48 server kernel:   Invalid field in command packet -- (asc=0x24, ascq=0x00)
Jun 22 07:24:48 server kernel:   The failed "Read 10" packet command was:
Jun 22 07:24:48 server kernel:   "28 00 00 00 00 00 00 00 01 00 00 00 00 00 00 00 "
Jun 22 07:24:48 server kernel: end_request: I/O error, dev hdc, sector 0
Jun 22 07:24:48 server kernel: Buffer I/O error on device hdc, logical block 0
Jun 22 07:24:49 server kernel: hdc: command error: status=0x51 { DriveReady SeekComplete Error }
Jun 22 07:24:49 server kernel: hdc: command error: error=0x54
Jun 22 07:24:49 server kernel: ide: failed opcode was 100
Jun 22 07:24:49 server kernel: ATAPI device hdc:
Jun 22 07:24:49 server kernel:   Error: Illegal request -- (Sense key=0x05)
Jun 22 07:24:49 server kernel:   Invalid field in command packet -- (asc=0x24, ascq=0x00)
Jun 22 07:24:49 server kernel:   The failed "Read 10" packet command was:
Jun 22 07:24:49 server kernel:   "28 00 00 00 00 00 00 00 01 00 00 00 00 00 00 00 "
Jun 22 07:24:49 server kernel: end_request: I/O error, dev hdc, sector 0
Jun 22 07:24:49 server kernel: FAT: unable to read boot sector
Jun 22 07:34:15 server kernel: end_request: I/O error, dev fd0, sector 0



Can anyone please help?

If I have missed anything let me know, and i will try to provide more info

Offline byte

  • *
  • 2,183
  • +2/-0
Re: CD Burning/Backup
« Reply #1 on: June 22, 2007, 03:21:31 PM »
Quote from: "Chummers"
Hello all,
i get this is the message file
Quote
Jun 22 07:14:25 server esmith::event[4509]: Processing event: cdutils-backup



The cdutils-backup was an old contrib which is not supported on SME 7.x I would recommend removing (or fixing the contrib if you know how)

Thanks.
--[byte]--

Have you filled in a Bug Report over @ http://bugs.contribs.org ? Please don't wait to be told this way you help us to help you/others - Thanks!

Offline byte

  • *
  • 2,183
  • +2/-0
CD Burning/Backup
« Reply #2 on: June 22, 2007, 03:23:44 PM »
Moving this topic to the SME 7.x contribs forum, it is more appropriate there. Thanks!
--[byte]--

Have you filled in a Bug Report over @ http://bugs.contribs.org ? Please don't wait to be told this way you help us to help you/others - Thanks!

Chummers

CD Burning/Backup
« Reply #3 on: June 23, 2007, 07:34:29 PM »
Thanks for the reply, rebuilt machine to eliminate cd_utils version, and to gain stock version, will keep you posted.

Thanks for helping!

Offline raem

  • *
  • 3,972
  • +4/-0
CD Burning/Backup
« Reply #4 on: June 23, 2007, 10:35:15 PM »
Chummers

To uninstall the cd-utils rpms you could have done the following (without needing a full rebuild), for all rpms you installed.

rpm -e cd-utils
rpm -e e-smith-cd-utils
rpm -e dvdrtools
rpm -e Cdrecord
rpm -e mkisofs
...

Chummers

CD Burning/Backup
« Reply #5 on: June 25, 2007, 03:41:42 PM »
Thanks Ray..

Since last post, I have done the following (done only to get some kind of standard procedure going here)

1) rebuild SME 7.1 from scratch
2) Performed full update
3) Installed

cd-utils-0.3.2-1.noarch.rpm
e-smith-cd-utils-0.2.1-1.noarch.rpm
mkisofs-1.10-11.i386.rpm < it did not install, as newer version already present.

4) lsmod |grep ide < to make sure the ide-scsi emulation is loaded(which is is no after standard install)
5) modprobe ide-scsi
6) lsmod |grep ide < to make sure it has loaded (which it has :) )
7) try to burn some data and get this :
Quote
Jun 25 14:24:17 testrig /etc/e-smith/web/panels/manager/cgi-bin/cd_utils[4346]: /home/e-smith/db/configuration: OLD cdutils=service|data_dir|/home/e-smith/files/ibays/Primary/files|dvd_write_speed|8|scsi_device|0,0,0|test|off|tmp_dir|/tmp|write_speed|48
Jun 25 14:24:17 testrig /etc/e-smith/web/panels/manager/cgi-bin/cd_utils[4346]: /home/e-smith/db/configuration: NEW cdutils=service|data_dir|/home/e-smith/files/ibays/Primary/files|dvd_write_speed|8|scsi_device|1,1,0|test|off|tmp_dir|/tmp|write_speed|48
Jun 25 14:24:17 testrig esmith::event[4347]: Processing event: conf-cdutils  
Jun 25 14:24:17 testrig esmith::event[4347]: Running event handler: /etc/e-smith/events/conf-cdutils/S50conf-cdutils
Jun 25 14:24:18 testrig esmith::event[4347]: S50conf-cdutils=action|Event|conf-cdutils|Action|S50conf-cdutils|Start|1182777857 648227|End|1182777858 165143|Elapsed|0.516916
Jun 25 14:24:26 testrig /etc/e-smith/web/panels/manager/cgi-bin/cd_burn[4352]: /etc/e-smith/cdutils: OLD cdutils=status|error||finish|1182777768|mode|data|start|1182777768|state|idle|type|data burn
Jun 25 14:24:26 testrig /etc/e-smith/web/panels/manager/cgi-bin/cd_burn[4352]: /etc/e-smith/cdutils: NEW cdutils=status|error||finish|1182777768|mode|data|start|1182777768|state|running|type|data burn
Jun 25 14:24:26 testrig /etc/e-smith/web/panels/manager/cgi-bin/cd_burn[4352]: /etc/e-smith/cdutils: OLD cdutils=status|error||finish|1182777768|mode|data|start|1182777768|state|running|type|data burn
Jun 25 14:24:26 testrig /etc/e-smith/web/panels/manager/cgi-bin/cd_burn[4352]: /etc/e-smith/cdutils: NEW cdutils=status|error||finish|1182777768|mode|data|start|1182777866|state|running|type|data burn
Jun 25 14:24:27 testrig esmith::event[4354]: Processing event: cdutils-burn  
Jun 25 14:24:27 testrig esmith::event[4354]: Running event handler: /etc/e-smith/events/cdutils-burn/S10cdutils-burn
Jun 25 14:24:27 testrig /etc/e-smith/events/cdutils-burn/S10cdutils-burn[4355]: /etc/e-smith/cdutils: OLD cdutils=status|error||finish|1182777768|mode|data|start|1182777866|state|running|type|data burn
Jun 25 14:24:27 testrig /etc/e-smith/events/cdutils-burn/S10cdutils-burn[4355]: /etc/e-smith/cdutils: NEW cdutils=status|error||finish|1182777768|mode|data|start|1182777867|state|running|type|data burn
Jun 25 14:24:27 testrig esmith::event[4354]: 'data'  
Jun 25 14:24:27 testrig esmith::event[4354]: scsidev: '1,1,0'  
Jun 25 14:24:27 testrig esmith::event[4354]: scsibus: 1 target: 1 lun: 0  
Jun 25 14:24:27 testrig esmith::event[4354]: /usr/bin/cdrecord: Inappropriate ioctl for device. Cannot open SCSI driver.  
Jun 25 14:24:27 testrig esmith::event[4354]: /usr/bin/cdrecord: For possible targets try 'cdrecord -scanbus'.  
Jun 25 14:24:27 testrig esmith::event[4354]: /usr/bin/cdrecord: For possible transport specifiers try 'cdrecord dev=help'.  
Jun 25 14:24:27 testrig esmith::event[4354]: ERROR: There does not appear to be a CD in the CD-R/W drive  
Jun 25 14:24:27 testrig esmith::event[4354]:        OR there was a problem accessing the CD-R/W at /opt/cd_utils/cd_burn.pl line 106.  
Jun 25 14:24:27 testrig /etc/e-smith/events/cdutils-burn/S10cdutils-burn[4355]: /etc/e-smith/cdutils: OLD cdutils=status|error||finish|1182777768|mode|data|start|1182777867|state|running|type|data burn
Jun 25 14:24:27 testrig /etc/e-smith/events/cdutils-burn/S10cdutils-burn[4355]: /etc/e-smith/cdutils: NEW cdutils=status|error||finish|1182777768|mode|data|start|1182777867|state|error|type|data burn
Jun 25 14:24:27 testrig /etc/e-smith/events/cdutils-burn/S10cdutils-burn[4355]: /etc/e-smith/cdutils: OLD cdutils=status|error||finish|1182777768|mode|data|start|1182777867|state|error|type|data burn
Jun 25 14:24:27 testrig /etc/e-smith/events/cdutils-burn/S10cdutils-burn[4355]: /etc/e-smith/cdutils: NEW cdutils=status|error||finish|1182777867|mode|data|start|1182777867|state|error|type|data burn
Jun 25 14:24:27 testrig /etc/e-smith/events/cdutils-burn/S10cdutils-burn[4355]: /etc/e-smith/cdutils: OLD cdutils=status|error||finish|1182777867|mode|data|start|1182777867|state|error|type|data burn
Jun 25 14:24:27 testrig /etc/e-smith/events/cdutils-burn/S10cdutils-burn[4355]: /etc/e-smith/cdutils: NEW cdutils=status|error|Error occurred during burn - see /var/log/messages and /tmp/*.err files|finish|1182777867|mode|data|start|1182777867|state|error|type|data burn
Jun 25 14:24:27 testrig esmith::event[4354]: Error occurred during burn - see /var/log/messages and /tmp/*.err files  
Jun 25 14:24:27 testrig esmith::event[4354]: ErrorMessage: Error occurred during burn - see /var/log/messages and /tmp/*.err files  
Jun 25 14:24:27 testrig esmith::event[4354]: S10cdutils-burn=action|Event|cdutils-burn|Action|S10cdutils-burn|Start|1182777867 381296|End|1182777867 916590|Elapsed|0.535294|Status|2304
Jun 25 14:24:31 testrig /etc/e-smith/web/panels/manager/cgi-bin/cd_burn[4362]: /etc/e-smith/cdutils: OLD cdutils=status|error|Error occurred during burn - see /var/log/messages and /tmp/*.err files|finish|1182777867|mode|data|start|1182777867|state|error|type|data burn
Jun 25 14:24:31 testrig /etc/e-smith/web/panels/manager/cgi-bin/cd_burn[4362]: /etc/e-smith/cdutils: NEW cdutils=status|error|Error occurred during burn - see /var/log/messages and /tmp/*.err files|finish|1182777867|mode|data|start|1182777867|state|idle|type|data burn
Jun 25 14:24:31 testrig /etc/e-smith/web/panels/manager/cgi-bin/cd_burn[4362]: /etc/e-smith/cdutils: OLD cdutils=status|error|Error occurred during burn - see /var/log/messages and /tmp/*.err files|finish|1182777867|mode|data|start|1182777867|state|idle|type|data burn
Jun 25 14:24:31 testrig /etc/e-smith/web/panels/manager/cgi-bin/cd_burn[4362]: /etc/e-smith/cdutils: NEW cdutils=status|error||finish|1182777867|mode|data|start|1182777867|state|idle|type|data burn


Tried a few times - to make sure i was hitting the buttons correctly :)

so it looks like it is having problems with scsi emulation still?? or am i missing something here??



I have also moved the cdrom to secondary slave to see if that helps, but no joy

if i do a cdrecord -scanbus i get this

Quote
[root@testrig /]# cdrecord -scanbus
Cdrecord-Clone 2.01-dvd (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jörg Schilling
Note: This version is an unofficial (modified) version with DVD support
Note: and therefore may have bugs that are not present in the original.
Note: Please send bug reports or support requests to http://bugzilla.redhat.com/bugzilla
Note: The author of cdrecord should not be bothered with problems in this version.
scsidev: 'ATA'
devname: 'ATA'
scsibus: -2 target: -2 lun: -2
Linux sg driver version: 3.5.27
Using libscg version 'schily-0.8'.
cdrecord: Warning: using inofficial libscg transport code version (schily - Red Hat-scsi-linux-sg.c-1.83-RH '@(#)scsi-linux-sg.c   1.83 04/05/20 Copyright 1997 J. Schilling').
scsibus1:
        1,0,0   100) *
        1,1,0   101) 'LITE-ON ' 'DVDRW SHW-1635S ' 'YS0F' Removable CD-ROM
        1,2,0   102) *
        1,3,0   103) *
        1,4,0   104) *
        1,5,0   105) *
        1,6,0   106) *
        1,7,0   107) *
[root@testrig /]#


Note scsidev is ATA
and scsiname is ATA

I dont think this is correct somehow either ????

Chummers

CD Burning/Backup
« Reply #6 on: June 25, 2007, 03:42:04 PM »
Thanks Ray..

Since last post, I have done the following (done only to get some kind of standard procedure going here)

1) rebuild SME 7.1 from scratch
2) Performed full update
3) Installed

cd-utils-0.3.2-1.noarch.rpm
e-smith-cd-utils-0.2.1-1.noarch.rpm
mkisofs-1.10-11.i386.rpm < it did not install, as newer version already present.

4) lsmod |grep ide < to make sure the ide-scsi emulation is loaded(which is is no after standard install)
5) modprobe ide-scsi
6) lsmod |grep ide < to make sure it has loaded (which it has :) )
7) try to burn some data and get this :
Quote
Jun 25 14:24:17 testrig /etc/e-smith/web/panels/manager/cgi-bin/cd_utils[4346]: /home/e-smith/db/configuration: OLD cdutils=service|data_dir|/home/e-smith/files/ibays/Primary/files|dvd_write_speed|8|scsi_device|0,0,0|test|off|tmp_dir|/tmp|write_speed|48
Jun 25 14:24:17 testrig /etc/e-smith/web/panels/manager/cgi-bin/cd_utils[4346]: /home/e-smith/db/configuration: NEW cdutils=service|data_dir|/home/e-smith/files/ibays/Primary/files|dvd_write_speed|8|scsi_device|1,1,0|test|off|tmp_dir|/tmp|write_speed|48
Jun 25 14:24:17 testrig esmith::event[4347]: Processing event: conf-cdutils  
Jun 25 14:24:17 testrig esmith::event[4347]: Running event handler: /etc/e-smith/events/conf-cdutils/S50conf-cdutils
Jun 25 14:24:18 testrig esmith::event[4347]: S50conf-cdutils=action|Event|conf-cdutils|Action|S50conf-cdutils|Start|1182777857 648227|End|1182777858 165143|Elapsed|0.516916
Jun 25 14:24:26 testrig /etc/e-smith/web/panels/manager/cgi-bin/cd_burn[4352]: /etc/e-smith/cdutils: OLD cdutils=status|error||finish|1182777768|mode|data|start|1182777768|state|idle|type|data burn
Jun 25 14:24:26 testrig /etc/e-smith/web/panels/manager/cgi-bin/cd_burn[4352]: /etc/e-smith/cdutils: NEW cdutils=status|error||finish|1182777768|mode|data|start|1182777768|state|running|type|data burn
Jun 25 14:24:26 testrig /etc/e-smith/web/panels/manager/cgi-bin/cd_burn[4352]: /etc/e-smith/cdutils: OLD cdutils=status|error||finish|1182777768|mode|data|start|1182777768|state|running|type|data burn
Jun 25 14:24:26 testrig /etc/e-smith/web/panels/manager/cgi-bin/cd_burn[4352]: /etc/e-smith/cdutils: NEW cdutils=status|error||finish|1182777768|mode|data|start|1182777866|state|running|type|data burn
Jun 25 14:24:27 testrig esmith::event[4354]: Processing event: cdutils-burn  
Jun 25 14:24:27 testrig esmith::event[4354]: Running event handler: /etc/e-smith/events/cdutils-burn/S10cdutils-burn
Jun 25 14:24:27 testrig /etc/e-smith/events/cdutils-burn/S10cdutils-burn[4355]: /etc/e-smith/cdutils: OLD cdutils=status|error||finish|1182777768|mode|data|start|1182777866|state|running|type|data burn
Jun 25 14:24:27 testrig /etc/e-smith/events/cdutils-burn/S10cdutils-burn[4355]: /etc/e-smith/cdutils: NEW cdutils=status|error||finish|1182777768|mode|data|start|1182777867|state|running|type|data burn
Jun 25 14:24:27 testrig esmith::event[4354]: 'data'  
Jun 25 14:24:27 testrig esmith::event[4354]: scsidev: '1,1,0'  
Jun 25 14:24:27 testrig esmith::event[4354]: scsibus: 1 target: 1 lun: 0  
Jun 25 14:24:27 testrig esmith::event[4354]: /usr/bin/cdrecord: Inappropriate ioctl for device. Cannot open SCSI driver.  
Jun 25 14:24:27 testrig esmith::event[4354]: /usr/bin/cdrecord: For possible targets try 'cdrecord -scanbus'.  
Jun 25 14:24:27 testrig esmith::event[4354]: /usr/bin/cdrecord: For possible transport specifiers try 'cdrecord dev=help'.  
Jun 25 14:24:27 testrig esmith::event[4354]: ERROR: There does not appear to be a CD in the CD-R/W drive  
Jun 25 14:24:27 testrig esmith::event[4354]:        OR there was a problem accessing the CD-R/W at /opt/cd_utils/cd_burn.pl line 106.  
Jun 25 14:24:27 testrig /etc/e-smith/events/cdutils-burn/S10cdutils-burn[4355]: /etc/e-smith/cdutils: OLD cdutils=status|error||finish|1182777768|mode|data|start|1182777867|state|running|type|data burn
Jun 25 14:24:27 testrig /etc/e-smith/events/cdutils-burn/S10cdutils-burn[4355]: /etc/e-smith/cdutils: NEW cdutils=status|error||finish|1182777768|mode|data|start|1182777867|state|error|type|data burn
Jun 25 14:24:27 testrig /etc/e-smith/events/cdutils-burn/S10cdutils-burn[4355]: /etc/e-smith/cdutils: OLD cdutils=status|error||finish|1182777768|mode|data|start|1182777867|state|error|type|data burn
Jun 25 14:24:27 testrig /etc/e-smith/events/cdutils-burn/S10cdutils-burn[4355]: /etc/e-smith/cdutils: NEW cdutils=status|error||finish|1182777867|mode|data|start|1182777867|state|error|type|data burn
Jun 25 14:24:27 testrig /etc/e-smith/events/cdutils-burn/S10cdutils-burn[4355]: /etc/e-smith/cdutils: OLD cdutils=status|error||finish|1182777867|mode|data|start|1182777867|state|error|type|data burn
Jun 25 14:24:27 testrig /etc/e-smith/events/cdutils-burn/S10cdutils-burn[4355]: /etc/e-smith/cdutils: NEW cdutils=status|error|Error occurred during burn - see /var/log/messages and /tmp/*.err files|finish|1182777867|mode|data|start|1182777867|state|error|type|data burn
Jun 25 14:24:27 testrig esmith::event[4354]: Error occurred during burn - see /var/log/messages and /tmp/*.err files  
Jun 25 14:24:27 testrig esmith::event[4354]: ErrorMessage: Error occurred during burn - see /var/log/messages and /tmp/*.err files  
Jun 25 14:24:27 testrig esmith::event[4354]: S10cdutils-burn=action|Event|cdutils-burn|Action|S10cdutils-burn|Start|1182777867 381296|End|1182777867 916590|Elapsed|0.535294|Status|2304
Jun 25 14:24:31 testrig /etc/e-smith/web/panels/manager/cgi-bin/cd_burn[4362]: /etc/e-smith/cdutils: OLD cdutils=status|error|Error occurred during burn - see /var/log/messages and /tmp/*.err files|finish|1182777867|mode|data|start|1182777867|state|error|type|data burn
Jun 25 14:24:31 testrig /etc/e-smith/web/panels/manager/cgi-bin/cd_burn[4362]: /etc/e-smith/cdutils: NEW cdutils=status|error|Error occurred during burn - see /var/log/messages and /tmp/*.err files|finish|1182777867|mode|data|start|1182777867|state|idle|type|data burn
Jun 25 14:24:31 testrig /etc/e-smith/web/panels/manager/cgi-bin/cd_burn[4362]: /etc/e-smith/cdutils: OLD cdutils=status|error|Error occurred during burn - see /var/log/messages and /tmp/*.err files|finish|1182777867|mode|data|start|1182777867|state|idle|type|data burn
Jun 25 14:24:31 testrig /etc/e-smith/web/panels/manager/cgi-bin/cd_burn[4362]: /etc/e-smith/cdutils: NEW cdutils=status|error||finish|1182777867|mode|data|start|1182777867|state|idle|type|data burn


Tried a few times - to make sure i was hitting the buttons correctly :)

so it looks like it is having problems with scsi emulation still?? or am i missing something here??



I have also moved the cdrom to secondary slave to see if that helps, but no joy

if i do a cdrecord -scanbus i get this

Quote
[root@testrig /]# cdrecord -scanbus
Cdrecord-Clone 2.01-dvd (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jörg Schilling
Note: This version is an unofficial (modified) version with DVD support
Note: and therefore may have bugs that are not present in the original.
Note: Please send bug reports or support requests to http://bugzilla.redhat.com/bugzilla
Note: The author of cdrecord should not be bothered with problems in this version.
scsidev: 'ATA'
devname: 'ATA'
scsibus: -2 target: -2 lun: -2
Linux sg driver version: 3.5.27
Using libscg version 'schily-0.8'.
cdrecord: Warning: using inofficial libscg transport code version (schily - Red Hat-scsi-linux-sg.c-1.83-RH '@(#)scsi-linux-sg.c   1.83 04/05/20 Copyright 1997 J. Schilling').
scsibus1:
        1,0,0   100) *
        1,1,0   101) 'LITE-ON ' 'DVDRW SHW-1635S ' 'YS0F' Removable CD-ROM
        1,2,0   102) *
        1,3,0   103) *
        1,4,0   104) *
        1,5,0   105) *
        1,6,0   106) *
        1,7,0   107) *
[root@testrig /]#


Note scsidev is ATA
and scsiname is ATA

I dont think this is correct somehow either ????

Offline crazybob

  • ****
  • 894
  • +0/-0
    • Stalzer R&D
CD Burning/Backup
« Reply #7 on: June 25, 2007, 04:42:17 PM »
Take a look at this thread.
http://forums.contribs.org/index.php?topic=34931.0
I am using it to back up data to a cd-rw using SME 7.1.3

It works just fine

Bob
If you think you know whats going on, you obviously have no idea whats going on!

Chummers

CD Burning/Backup
« Reply #8 on: June 26, 2007, 12:22:53 PM »
Thanks Crazybob!

Although I was initailly not trying to run any script, as i would like to make site admins (who know nothing about linux, just windows) resposiable for there backup schedules, so was looking for a simple way so they can configure when backups are run through server-manager.

can anyone please confirm that cd_utils / cdrecord method does not work on sme 7.1??  if not I will have to go back to 6.5, as i can prove it works there...

Thanks for everyones help so far! - it is much appreciated!

:)

Chummers

CD Burning/Backup
« Reply #9 on: July 24, 2007, 03:05:36 PM »
Hi there guys,

I think i have sorted it, and this is what i did....

Now i know all these steps are not required, just what i did to get it working, and in what order...

1) Installed SME 7.1 from scratch.
2) cd-utils-0.3.2-1.noarch.rpm
3) Installed e-smith-cd-utils-0.2.1-1.noarch.rpm
4) Updated to 7.1.3, via server-manager

try it now and it will fail on opening scsi driver

i then typed in

ln -sf /dev/hdc /dev/pg0

went and burn a cd and worked fine!  :D


I am yet to test with "cd backup" but i looks promising...



so it must be something to do with the link above, as there is no /dev/pg0 (which is what everything looks for) in SME7.1, but there was in 6.5..

Can i also thank everyone that helped me previously, it is nice to give a little back to this great community!!

 8)

Offline TrevorB

  • *
  • 259
  • +0/-0
    • http://www.batley.id.au
CD Burning/Backup
« Reply #10 on: July 25, 2007, 12:57:23 AM »
Have you looked at the DAR2 contrib?

I think you'll find it will do the basics + so much more.... without you having to play at the command line.

Trevor B