ATAPI CD-R - Newbie probs

ATAPI CD-R - Newbie probs

Post by Nick Phillip » Sun, 31 Dec 1899 09:00:00



Has anyone got a PlexWriter 8/4/32A working with linux with X-CD-roast
or cdrecord or anything similar how do I make linux think it is a SCSI
cdrom? Any help apprecited.

Cheers, Nick.

 
 
 

ATAPI CD-R - Newbie probs

Post by Gene Hesket » Sun, 31 Dec 1899 09:00:00


Unrot13 this;

Gene Heskett sends Greetings to Nick Phillips;

 NP> Has anyone got a PlexWriter 8/4/32A working with linux with
 NP> X-CD-roast or cdrecord or anything similar how do I make linux
 NP> think it is a SCSI cdrom? Any help apprecited.

 NP> Cheers, Nick.

This is a re-compile your kernel required operation as you must use the
make config's (one of them) to turn on scsi-ide emulation, and turn off
the competeing methods.  Then you must recompile and install the new
kernel.

I believe there is a HOWTO in the LDP for that, grab it and print it.
The HOWTO though, assumes you are *intimitly* familiar with kernel
compiling proceedures in that it tends to skip over some of the details.

I have a script that does all this, copied from kernel tree to kernel
tree as it gets updated, and modified for each new kernel.  It looks
like this, and executes from the /usr/src/linux linked directory as:

./makeit
----------script contents
make dep
make clean
make bzImage
cp -f arch/i386/boot/bzImage /boot/vmlinuz-2.2.15pre16
make modules
mv /lib/modules/2.2.15pre16 /lib/modules/2.2.15pre16.old
make modules_install
cp -f System.map /boot/System.map-2.2.15pre16
# here I have a sidestep to compile and install my audio driver
# but thats not germain to this, so...
cd /boot
rm -f System.map
ln -s System.map-2.2.15pre16 System.map
depmod -s 2.2.15pre16
mkinitrd -f initrd-2.2.15pre16.img 2.2.15pre16
lilo -v
---------

Now, while all that is running, grab another shell and your favorite
character re-arranger (aka an editor) and add these lines immediately
below the top group, the one whose label=linux is the second line in
that group.

image=/boot/vmlinuz-2.2.15pre16
        label=test
        root=[copy of your other 'root=' lines]
        read-only

Note that the naming of the vmlinuz-x.x.x file should represent whatever
kernel you're running, and that this naming convention is followed all
the way thru so that the different kernels and associated modules don't
get too badly mixed.

When first setting up such an automated script, its best to do it one
line at a time, thereby seeing any errors that might cause a stage to
exit before they scroll off the screen.  Once you have the bugs stomped,
then it can run without intervention.

I had trouble with this the last time, it seems the make dep line, whose
products are not removed with the 'make clean' line, had made a severely
truncated drivers/net/.depend file.  And a make dep doesn't over-write
old files!  I removed it by hand, and reran the make dep, the file grew
by 60k, and the rest of the compile was routine.  Its running right now
as default.  That may have been my fault, I had started the script,
remembered something I didn't check and gave the script a ctrl-c about
the time it would have been doing the 'make dep'.

Well, I didn't intend to re-write the HOWTO, but I guess I did, Gene's
style :)

Cheers, Gene
--



                        email gene underscore heskett at iolinc dot net
This messages reply content, but not any previously quoted material, is
? 2000 by Gene Heskett, all rights reserved.
--

 
 
 

ATAPI CD-R - Newbie probs

Post by Melani » Sun, 31 Dec 1899 09:00:00


Quote:> Has anyone got a PlexWriter 8/4/32A working with linux with X-CD-roast
> or cdrecord or anything similar how do I make linux think it is a SCSI
> cdrom? Any help apprecited.

Ooooooookay. I haven't got that make of CDR, but I figure the same kinda
thing needs doing. If I'm wrong on this, don't shoot me - this is just from
memory.. Try recompiling your kernel, enabling SCSI CD support, disabling
ATAPI/IDE support, and enabling SCSI host emulation... Check yer
manpages/HOWTOs if you need more info on recompiling yer kernel..

Hope that helped :o)

--
Posted via CNET Help.com
http://www.help.com/

 
 
 

ATAPI CD-R - Newbie probs

Post by ajn » Sun, 31 Dec 1899 09:00:00



> > Has anyone got a PlexWriter 8/4/32A working with linux with X-CD-roast
> > or cdrecord or anything similar how do I make linux think it is a SCSI
> > cdrom? Any help apprecited.

> Ooooooookay. I haven't got that make of CDR, but I figure the same kinda
> thing needs doing. If I'm wrong on this, don't shoot me - this is just from
> memory.. Try recompiling your kernel, enabling SCSI CD support, disabling
> ATAPI/IDE support, and enabling SCSI host emulation... Check yer
> manpages/HOWTOs if you need more info on recompiling yer kernel..

You probably don't need to recompile, and you needn't disable ide/atapi
support. Just add append="hdd=ide-scsi" where hdd is changed to match
your system , and load the ide-scsi emulation module.

ajn

 
 
 

ATAPI CD-R - Newbie probs

Post by James Gra » Sun, 31 Dec 1899 09:00:00


If you're running IDE hard drives DO NOT DISABLE IDE/ATAPI support!!  Geez.
But if you want to use your CD-R(W) for more than a just a CD-ROM, you'll
have to enable SCSI emulation.

Cheers,

James


enlighten us all with:

Quote:>> Has anyone got a PlexWriter 8/4/32A working with linux with X-CD-roast
>> or cdrecord or anything similar how do I make linux think it is a SCSI
>> cdrom? Any help apprecited.

>Ooooooookay. I haven't got that make of CDR, but I figure the same kinda
>thing needs doing. If I'm wrong on this, don't shoot me - this is just from
>memory.. Try recompiling your kernel, enabling SCSI CD support, disabling
>ATAPI/IDE support, and enabling SCSI host emulation... Check yer
>manpages/HOWTOs if you need more info on recompiling yer kernel..

>Hope that helped :o)

 
 
 

1. IDE ATAPI probs with CD-R

I have been noticing that the recordable CDs I have get a lot of errors on
my system when running Linux, but do not seem to have problems when I
am forced to run DOS.  Also, the regular CD-ROMs don't seem to generate any
data errors.  If I was getting Cd-Rs that were all written on the same
drive, or formatted by the same software, I would think that the media
were bad, but these CD-Rs come from a variety of sources.

For the record, here is what my IDE and hd look like:

ide: i82371 PIIX (Triton) on PCI bus 0 function 57
    ide0: BM-DMA at 0xffa0-0xffa7
    ide1: BM-DMA at 0xffa8-0xffaf
hda: WDC AC21000H, ATA DISK drive
hdc: FX400_02, ATAPI CDROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: WDC AC21000H, 1033MB w/128kB Cache, LBA, CHS=525/64/63, DMA

The CD-ROM driver is modularised.  hdpoarm report, without a CD loaded:

# hdparm -iv /dev/hdc

/dev/hdc:
 multcount    =  0 (off)
 I/O support  =  0 (default 16-bit)
 unmaskirq    =  0 (off)
 using_dma    =  0 (off)
 keepsettings =  0 (off)
 nowerr       =  0 (off)
 readonly     =  1 (on)
 readahead    =  8 (on)
 HDIO_GETGEO failed: Invalid argument

 Model=FX400_02, FwRev=B02, SerialNo=
 Config={ SpinMotCtl Removeable DTR<=5Mbs DTR>10Mbs nonMagnetic }
 RawCHS=0/0/0, TrkSize=0, SectSize=0, ECCbytes=0
 BuffType=0(?), BuffSize=128kB, MaxMultSect=0
 DblWordIO=no, maxPIO=1(medium), DMA=no
 (maybe): CurCHS=0/0/0, CurSects=0, LBA=yes, LBAsects=0
 IORDY=on/off, tPIO={min:367,w/IORDY:180}, PIO modes: mode3

Any help would be appreciated.
--

#insert line_eater_fill

2. Right Click Menus

3. Newbie Prob. with 2 diff. CD-R Drives

4. I search a 100Mb fast ethernet board

5. Reading CD-R & CD-RW with an ATAPI HP 7200e CD-Writer on RH 6.0...

6. Setting up virtual hosting for apache + FP + SSL + DAV + PHP4

7. ATAPI CD-RW and SCSI Card prob

8. What is the use of pseudo-users sys, bin, nobody ?

9. CD writing program for ATAPI IDE cd-r's

10. CD-DA & CD-I on ATAPI CD ??

11. Finally got ATAPI ZIP working with ATAPI CD-ROM

12. Q) Prob accessing CD-R but not CD

13. SCSI CD prob (Newbie)