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

Re: cdrecord + ide cdrw



On Sat, Mar 02, 2002 at 09:56:32PM +0100, Sebastiaan wrote:
> High,
> 
> On Sat, 2 Mar 2002, David Richards wrote:
> 
> > OK. Once i create the new kernel. Could i create a boot disk with the new
> > kernel on it to test if it boots.
> > I havent have much with compilig kernels in the past.
> >
> Of course. A simple 'dd if=/usr/src/linux/arch/i386/boot/bzImage
> of=/dev/fd0' will give you a bootable floppy. Not sure about passing the
> options of the command line.
> 
> But kernel compilation is pretty easy. Be sure you have the source
> unpacked in /usr/src/linux. Then copy /boot/config-2.4.15 to
> /usr/src/linux/.config (or whatever your current kernel config is).
> 
> Then do a 'make oldconfig' first if your source is newer than your
> currect kernel and 'make menuconfig' after that to enable scsi emulation.
> 
> Then you can compile simply by 'make dep && make bzImage && make modules
> && make modules_install && cp arch/i386/bzImage /vmlinuz-2.4.17 && cp
> .config /boot/config-2.4.17'
> 
> Then reconfigure /etc/lilo.conf (don't forget the append="hdc=scsi") and
> you should be able to boot without problems.
> 
> Greetz,
> Sebastiaan
> 
> 
> 
> > david
> > ----- Original Message -----
> > From: "Sebastiaan" <S.Breedveld@ITS.TUDelft.NL>
> > To: "David Richards" <davidr@skyforge.net>
> > Cc: <debian-user@lists.debian.org>
> > Sent: Saturday, March 02, 2002 11:42 AM
> > Subject: Re: cdrecord + ide cdrw
> >
> >
> > > High,
> > >
> > > On Sat, 2 Mar 2002, David Richards wrote:
> > >
> > > > HI
> > > >     Under redhat i was able to use my cdrw. In debian when i type
> > > > cdrecord -scanbus
> > > > it comes back with
> > > > spaceport:/home/davidr# cdrecord -scanbus
> > > > Cdrecord 1.8 (i686-pc-linux-gnu) Copyright (C) 1995-2000 Jörg Schilling
> > > > cdrecord: No such file or directory. Cannot open SCSI driver.
> > > > cdrecord: For possible targets try 'cdrecord -scanbus'. Make sure you
> > are
> > > > root.
> > > > spaceport:/home/davidr#
> > > >
> > > You have to compile the ide-scsi emulation support in the kernel. So
> > > basically, you recompile  your kernel with CONFIG_BLK_DEV_IDESCSI=y
> > > (module does not work) and boot your kernel with parameter 'hdc=scsi',
> > > where hdc is your cdrw. Then it became a scsi device (so your cdrom is now
> > > /dev/scd0 in stead of /dev/hdc, if you loaded the scsi cdrom module).
> > >
> > > Then you should be alble touse your burner.
> > >

There is a debian way of doingt that compilation, somewhat easier...


make-kpkg clean
make-kpkg --revision=<your_kernel_name> kernel_image
dpkg -i <your_kernel_image.deb>



Hope this is less painful... :-)



Davor



Reply to: