[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ATAPI CD-writer



On Tuesday 08 July 2003 01:33, Pigeon wrote:
> On Mon, Jul 07, 2003 at 11:23:25PM +1200, cr wrote:
> > I believe I also probably need sg and sr_mod.   Can they also be loaded
> > via modprobe?   And - this is probably a stupid question but, where would
> > I find these modules - sg, sr_mod and  ide-scsi?   insmod  can't find
> > them -
> >
> > insmod: sg: no module by that name found
> >
> > I can't find them anywhere on my system, nor listed by name on the
> > complete Debian Woody CD-rom contents list that I keep handy.
>
> Unless someone pops up saying "Debian kernel version xxxxxx does
> contain these", sounds like you'll need to compile a new kernel, with
> SCSI generic support, SCSI CD-ROM support and SCSI emulation enabled
> as modules. (Just to confuse you, SCSI emulation is listed under
> ATA/IDE/MFM/RLL support, rather than under SCSI support.)
>
> How to do this sort of thing, while retaining all your existing
> settings, has been discussed recently; search the list archives with
> "oldconfig" among your keywords.
>
> Mind you, I'd be rather shocked if there wasn't a Debian kernel with
> these modules already included. I always build my own kernels direct
> from kernel.org sources, so I don't know what the options are for
> stock Debian kernels, but doubtless someone else on the list does!

I'd be surprised if one of the stock kernels on the CD's didn't include ide 
cd-rom support, considering that *every* PC these days has a cd-rom drive.

In fact I've just managed to find a document I stashed called 'images.html' 
that says: 

idepci image:
The idepci flavor contains a kernel with only IDE and PCI support.  It
is geared towards modern PCs without SCSI controllers.  If you have
SCSI, you should be using the 'compact' flavor rather than this one.

IIRC, Debian offered 'idepci' as the default when I installed it.   Bad move  
:)      So, I need to use  'compact' or, better, 'vanilla', as described in 
the CD-ROM 
/dists/woody/main/disks-i386/3.0.23-2002-05-21/doc/ch-install-methods.en.html#s-kernel-choice

However, I can't find anything on the CD-ROM called   vmlinuz-2.2.20-idepci 
(which is the kernel in /boot  that GRUB calls), or vmlinuz-2.2.20-*****

What I can find is some files called 
/dists/woody/main/disks-i386/current/bf2.4/linux.bin,
ditto for .../compact/linux.bin  and   .../idepci/linux.bin, 
and also a file called 
/dists/woody/main/disks-i386/current/linux.bin
which I guess must equate to 'vanilla'. 

I note also that  /boot/vmlinuz-2.2.20-idepci  and 
/cdrom/dists/woody/main/disks-i386/current/idepci/linux.bin
are both 665509 bytes.   

So, is the vmlinuz  kernel just the /idepci/linux.bin file copied and renamed?
If I just do the same with .../current/linux.bin   and rename it 
appropriately (and adjust Grub's menu.lst file) will it work?
(More importantly, if it doesn't, will it break things?   )

> > OK, it looks as if I can leave ide-scsi installed permanently.
>
> Yes. As long as you have the /dev/cdrom symlink set up correctly,
> nothing apart from cdrecord will know or care whether you're using
> ide-scsi or ide-cd.

Thanks for that.   

Regards

cr



Reply to: