Re: [gentoo-user] CD burning fails to work

2004-02-15 Thread Stephen Liu

$ cdrecord --scanbus dev=ATAPI
Cdrecord-Clone 2.01a25 (i586-pc-linux-gnu) Copyright (C) 1995-2004
Jörg Schilling
scsidev: 'ATAPI'
devname: 'ATAPI'
scsibus: -2 target: -2 lun: -2
Warning: Using ATA Packet interface.
Warning: The related libscg interface code is in pre alpha.
Warning: There may be fatal problems.
Using libscg version 'schily-0.8'.
scsibus0:
   0,0,0 0) 'MATSHITA' 'CD-ROM CR-588   ' 'LS15' 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) *
The CD-ROM is there but CD Writer get lost !

   

Stephen,

I believe you are mixing apples and oranges.  There are two
possibilities:
1) Use ATAPI support - no SCSI emulation, no 'hdd=ide=scsi' in grub/lilo
2) Use SCSI emulation support - SCSI emulation,
'hdc=ide=scsi hdd=ide=scsi'
By using the line 'hdd=ide=scsi', you have removed hdd from visibility
as an ATAPI device, so of course it doesn't appear which you issue
'cdrecord -scanbus dev=ATAPI'.
Whether or not you can use option 1) depends on how recent your 2.4
kernel is, or it's cool on 2.6,  You appear to have an appropriate
version of cdrecord.  Apparently, even the latest versions of cdrdao
with work with ATAPI support
 

Hi Collins,

I tried both advice.  Sorry, non of them work in my case.  CDWriter 
could not be detected.

# modprobe ide-scsi
no printout
# cat /etc/modules.autoload.d/kernel-2.4
An empty file
# lsmod
Module  Size  Used byTainted: GF
snd-pcm-oss34756   0  (autoclean) (unused)
snd-mixer-oss  10992   0  (autoclean) [snd-pcm-oss]
floppy 47036   0  (autoclean)
ppp_synctty 5792   0  (unused)
ppp_async   7264   1
ppp_generic14748   3  [ppp_synctty ppp_async]
slhc4848   0  [ppp_generic]
8139too14152   2
mii 2160   0  [8139too]
snd-emu10k157684   0
snd-pcm53632   0  [snd-pcm-oss snd-emu10k1]
snd-timer  12644   0  [snd-pcm]
snd-util-mem1184   0  [snd-emu10k1]
snd-rawmidi12448   0  [snd-emu10k1]
snd-page-alloc  5748   0  [snd-emu10k1 snd-pcm]
snd-ac97-codec 35992   0  [snd-emu10k1]
snd-seq-device  3776   0  [snd-emu10k1 snd-rawmidi]
snd-hwdep   4672   0  [snd-emu10k1]
snd28260   0  [snd-pcm-oss snd-mixer-oss snd-emu10k1 
snd-pcm snd-timer snd-util-mem snd-rawmidi snd-ac97-codec snd-seq-device 
snd-hwdep]
soundcore   3364   6  [snd]
usb-storage55608   0  (unused)
hid12468   0  (unused)
usb-ohci   17152   0  (unused)
usbcore55264   1  [usb-storage hid usb-ohci]

# uname -r
2.4.20-gentoo-r7
Thanks

B.R.
Stephen
P.S.  I feel the keystroke response being a little bid slow.  On typing 
this email the character takes a while to appear on the screen after 
keying in.  Any adjustment can I make?

--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] CD burning fails to work

2004-02-14 Thread Barry Marler
On Sat, 14 Feb 2004 20:10:59 +
Stephen Liu [EMAIL PROTECTED] wrote:

 Hi all folks,
 
 CD burning fails to work after 'emerge -u world'
 
 # cdrecord --scanbus (or -scanbus)
 ..
 cdrecord:No such file or directory.  Cannot open 'dev/Pg*'.  Cannot
 open SCSI driver
 ..
 
 # which cdrecod
 /usr/bin/cdrecord
 
 # cat /boot/grub/grub.conf
 ...
 kernel (hd0,0)/boot/kernel-2.4.20-gentoo-r7 root=/dev/hde3
 hdd=ide.scsi

hdd=ide.scsi should be hdd=ide-scsi



-- 
Barry Marler
Information Analyst II
Center for Applied Genetic Technologies
University of Georgia
Athens, GA
USA

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] CD burning fails to work

2004-02-14 Thread Stephen Liu
Barry Marler wrote:

On Sat, 14 Feb 2004 20:10:59 +
Stephen Liu [EMAIL PROTECTED] wrote:
 

Hi all folks,

CD burning fails to work after 'emerge -u world'

# cdrecord --scanbus (or -scanbus)
..
cdrecord:No such file or directory.  Cannot open 'dev/Pg*'.  Cannot
open SCSI driver
..
# which cdrecod
/usr/bin/cdrecord
# cat /boot/grub/grub.conf
...
kernel (hd0,0)/boot/kernel-2.4.20-gentoo-r7 root=/dev/hde3
hdd=ide.scsi
   

hdd=ide.scsi should be hdd=ide-scsi
 

Hi Barry,

I just re-checked  /boot/grub/grub.conf

Yes, confirm   'hdd=ide-scsi'

Sorry, it was a typing mistake.

B.R.
Stephen
--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] CD burning fails to work

2004-02-14 Thread Barry Marler
On Sat, 14 Feb 2004 23:47:19 +
Stephen Liu [EMAIL PROTECTED] wrote:

 Barry Marler wrote:
 
 On Sat, 14 Feb 2004 20:10:59 +
 Stephen Liu [EMAIL PROTECTED] wrote:
 
   
 
 Hi all folks,
 
 CD burning fails to work after 'emerge -u world'
 
 # cdrecord --scanbus (or -scanbus)
 ..
 cdrecord:No such file or directory.  Cannot open 'dev/Pg*'.  Cannot
 open SCSI driver
 ..
 
 # which cdrecod
 /usr/bin/cdrecord
 
 # cat /boot/grub/grub.conf
 ...
 kernel (hd0,0)/boot/kernel-2.4.20-gentoo-r7 root=/dev/hde3
 hdd=ide.scsi
 
 
 
 hdd=ide.scsi should be hdd=ide-scsi
   
 
 Hi Barry,
 
 I just re-checked  /boot/grub/grub.conf
 
 Yes, confirm   'hdd=ide-scsi'
 
 Sorry, it was a typing mistake.

Are you using a kernel without scsi emulation?  If so, do a cdrecord
--scanbus dev=ATAPI.  I use a 2,6 kernel, and ATAPI burning works very
well.  cdrecord *will* protest about not using scsi, though.  

Here's the output on my home PC:

[EMAIL PROTECTED] (~) $ cdrecord --scanbus dev=ATAPI
Cdrecord-Clone 2.01a25 (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jörg
Schilling
scsidev: 'ATAPI'
devname: 'ATAPI'
scsibus: -2 target: -2 lun: -2
Warning: Using ATA Packet interface.
Warning: The related libscg interface code is in pre alpha.
Warning: There may be fatal problems.
Using libscg version 'schily-0.8'.
scsibus0:
0,0,0 0) *
0,1,0 1) 'LITE-ON ' 'LTR-52327S  ' 'QS06' Removable
CD-ROM
0,2,0 2) *
0,3,0 3) *
0,4,0 4) *
0,5,0 5) *
0,6,0 6) *
0,7,0 7) *

-- 
Barry Marler
Information Analyst II
Center for Applied Genetic Technologies
University of Georgia
Athens, GA
USA

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] CD burning fails to work

2004-02-14 Thread Stephen Liu
Hi Barry

I just re-checked  /boot/grub/grub.conf

Yes, confirm   'hdd=ide-scsi'

Sorry, it was a typing mistake.
   

Are you using a kernel without scsi emulation?  If so, do a cdrecord
--scanbus dev=ATAPI.  I use a 2,6 kernel, and ATAPI burning works very
well.  cdrecord *will* protest about not using scsi, though.  

Here's the output on my home PC:

[EMAIL PROTECTED] (~) $ cdrecord --scanbus dev=ATAPI
Cdrecord-Clone 2.01a25 (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jörg
Schilling
scsidev: 'ATAPI'
devname: 'ATAPI'
scsibus: -2 target: -2 lun: -2
Warning: Using ATA Packet interface.
Warning: The related libscg interface code is in pre alpha.
Warning: There may be fatal problems.
Using libscg version 'schily-0.8'.
scsibus0:
   0,0,0 0) *
   0,1,0 1) 'LITE-ON ' 'LTR-52327S  ' 'QS06' Removable
CD-ROM
   0,2,0 2) *
   0,3,0 3) *
   0,4,0 4) *
   0,5,0 5) *
   0,6,0 6) *
   0,7,0 7) *
I am running kernel 2.4

$ cdrecord --scanbus dev=ATAPI
Cdrecord-Clone 2.01a25 (i586-pc-linux-gnu) Copyright (C) 1995-2004 Jörg 
Schilling
scsidev: 'ATAPI'
devname: 'ATAPI'
scsibus: -2 target: -2 lun: -2
Warning: Using ATA Packet interface.
Warning: The related libscg interface code is in pre alpha.
Warning: There may be fatal problems.
Using libscg version 'schily-0.8'.
scsibus0:
   0,0,0 0) 'MATSHITA' 'CD-ROM CR-588   ' 'LS15' 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) *

The CD-ROM is there but CD Writer get lost !

# cdrecord dev=ATAPI:0,0,0 speed=4 blank=all -v -eject

TOC Type: 1=CDROM
..
..
cdrecord: No disk /Wrong disk
# cat /etc/fstab

# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
/dev/hde1   /boot   ext2
noauto,noatime 1 1
/dev/hde3   /   reiserfs
noatime0 0
/dev/hde2   noneswap
sw 0 0
/dev/cdroms/cdrom0  /mnt/cdrom  iso9660 
noauto,ro  0 0
/dev/fd0/mnt/floppy auto
noauto 0 0

# NOTE: The next line is critical for boot!
none/proc   proc
defaults   0 0

# Adding the following line to /etc/fstab should take care of this:

none/dev/shmtmpfs   
defaults   0 0

CDWriter is not there.  How to find which device belongs to CDWriter

TIA

B.R.
Stephen
--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] CD burning fails to work

2004-02-14 Thread Barry Marler
On Sun, 15 Feb 2004 00:23:54 +
Stephen Liu [EMAIL PROTECTED] wrote:

 Hi Barry
 
 I just re-checked  /boot/grub/grub.conf
 
 Yes, confirm   'hdd=ide-scsi'
 
 Sorry, it was a typing mistake.
 
 
 
 Are you using a kernel without scsi emulation?  If so, do a cdrecord
 --scanbus dev=ATAPI.  I use a 2,6 kernel, and ATAPI burning works
 very well.  cdrecord *will* protest about not using scsi, though.  
 
 Here's the output on my home PC:
 
 [EMAIL PROTECTED] (~) $ cdrecord --scanbus dev=ATAPI
 Cdrecord-Clone 2.01a25 (i686-pc-linux-gnu) Copyright (C) 1995-2004
 Jörg Schilling
 scsidev: 'ATAPI'
 devname: 'ATAPI'
 scsibus: -2 target: -2 lun: -2
 Warning: Using ATA Packet interface.
 Warning: The related libscg interface code is in pre alpha.
 Warning: There may be fatal problems.
 Using libscg version 'schily-0.8'.
 scsibus0:
 0,0,0 0) *
 0,1,0 1) 'LITE-ON ' 'LTR-52327S  ' 'QS06' Removable
 CD-ROM
 0,2,0 2) *
 0,3,0 3) *
 0,4,0 4) *
 0,5,0 5) *
 0,6,0 6) *
 0,7,0 7) *
 
 I am running kernel 2.4
 
 $ cdrecord --scanbus dev=ATAPI
 Cdrecord-Clone 2.01a25 (i586-pc-linux-gnu) Copyright (C) 1995-2004
 Jörg Schilling
 scsidev: 'ATAPI'
 devname: 'ATAPI'
 scsibus: -2 target: -2 lun: -2
 Warning: Using ATA Packet interface.
 Warning: The related libscg interface code is in pre alpha.
 Warning: There may be fatal problems.
 Using libscg version 'schily-0.8'.
 scsibus0:
 0,0,0 0) 'MATSHITA' 'CD-ROM CR-588   ' 'LS15' 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) *
 
 The CD-ROM is there but CD Writer get lost !
 
 
 # cdrecord dev=ATAPI:0,0,0 speed=4 blank=all -v -eject
 
 TOC Type: 1=CDROM
 ..
 ..
 cdrecord: No disk /Wrong disk
 
 # cat /etc/fstab
 
 # NOTE: If your BOOT partition is ReiserFS, add the notail option to
 # opts.
 /dev/hde1   /boot   ext2
 noauto,noatime 1 1
 /dev/hde3   /   reiserfs
 noatime0 0
 /dev/hde2   noneswap
 sw 0 0
 /dev/cdroms/cdrom0  /mnt/cdrom  iso9660 
 noauto,ro  0 0
 /dev/fd0/mnt/floppy auto
 noauto 0 0
 
 # NOTE: The next line is critical for boot!
 none/proc   proc
 defaults   0 0
 
 # Adding the following line to /etc/fstab should take care of this:
 
 none/dev/shmtmpfs   
 defaults   0 0
 
 CDWriter is not there.  How to find which device belongs to CDWriter

CAn you please clear up whether you compiled scsi emulation as a kernel
module?

-- 
Barry Marler
Information Analyst II
Center for Applied Genetic Technologies
University of Georgia
Athens, GA
USA

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] CD burning fails to work

2004-02-14 Thread Barry Marler
On Sun, 15 Feb 2004 00:50:58 +
Stephen Liu [EMAIL PROTECTED] wrote:

snip

 
 Before 'emerge -u world' the CDWriter worked without problem.  I have 
 not done anything to compile scsi emulation as a kernel module.  If it
 
 was done automatical during 'emerge -u world' I was not aware  Because
 
 it took 6 x 24hrs to complete on this slow machine.

Did you allow etc-update to overwrite a bunch of config files?  


-- 
Barry Marler
Information Analyst II
Center for Applied Genetic Technologies
University of Georgia
Athens, GA
USA

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] CD burning fails to work

2004-02-14 Thread Stephen Liu
Barry Marler wrote:

On Sun, 15 Feb 2004 00:50:58 +
Stephen Liu [EMAIL PROTECTED] wrote:
snip

 

Before 'emerge -u world' the CDWriter worked without problem.  I have 
not done anything to compile scsi emulation as a kernel module.  If it

was done automatical during 'emerge -u world' I was not aware  Because

it took 6 x 24hrs to complete on this slow machine.
   

Did you allow etc-update to overwrite a bunch of config files?  
 

I did not run 'etc-update'.  After 'emerge -u world' I rebooted the box 
and it crashed.  I suspected that 'betagenkernel' caused my Gentoo box 
crashed.  Later I got it works again assisted by the folks on this list.

B.R.
Stephen
--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] CD burning fails to work

2004-02-14 Thread Barry Marler
On Sun, 15 Feb 2004 01:13:50 +
Stephen Liu [EMAIL PROTECTED] wrote:

 Barry Marler wrote:
 
 On Sun, 15 Feb 2004 00:50:58 +
 Stephen Liu [EMAIL PROTECTED] wrote:
 
 snip
 
   
 
 Before 'emerge -u world' the CDWriter worked without problem.  I
 have not done anything to compile scsi emulation as a kernel module.
  If it
 
 was done automatical during 'emerge -u world' I was not aware 
 Because
 it took 6 x 24hrs to complete on this slow machine.
 
 
 
 Did you allow etc-update to overwrite a bunch of config files?  
   
 
 I did not run 'etc-update'.  After 'emerge -u world' I rebooted the
 box and it crashed.  I suspected that 'betagenkernel' caused my Gentoo
 box crashed.  Later I got it works again assisted by the folks on this
 list.

Sorry, I forgot about that thread.


-- 
Barry Marler
Information Analyst II
Center for Applied Genetic Technologies
University of Georgia
Athens, GA
USA

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] CD burning fails to work

2004-02-14 Thread Collins Richey
On Sun, 15 Feb 2004 00:23:54 +
Stephen Liu [EMAIL PROTECTED] wrote:

 
 $ cdrecord --scanbus dev=ATAPI
 Cdrecord-Clone 2.01a25 (i586-pc-linux-gnu) Copyright (C) 1995-2004
 Jörg Schilling
 scsidev: 'ATAPI'
 devname: 'ATAPI'
 scsibus: -2 target: -2 lun: -2
 Warning: Using ATA Packet interface.
 Warning: The related libscg interface code is in pre alpha.
 Warning: There may be fatal problems.
 Using libscg version 'schily-0.8'.
 scsibus0:
 0,0,0 0) 'MATSHITA' 'CD-ROM CR-588   ' 'LS15' 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) *
 
 The CD-ROM is there but CD Writer get lost !
 

Stephen,

I believe you are mixing apples and oranges.  There are two
possibilities:

1) Use ATAPI support - no SCSI emulation, no 'hdd=ide=scsi' in grub/lilo
2) Use SCSI emulation support - SCSI emulation,
'hdc=ide=scsi hdd=ide=scsi'

By using the line 'hdd=ide=scsi', you have removed hdd from visibility
as an ATAPI device, so of course it doesn't appear which you issue
'cdrecord -scanbus dev=ATAPI'.

Whether or not you can use option 1) depends on how recent your 2.4
kernel is, or it's cool on 2.6,  You appear to have an appropriate
version of cdrecord.  Apparently, even the latest versions of cdrdao
with work with ATAPI support

HTH,


-- 
Collins - Denver Area - 
Gentoo stable kernel 2.6.2-rc1

--
[EMAIL PROTECTED] mailing list