Need help with CD-RW install

Need help with CD-RW install

Post by Rob McMilli » Mon, 10 Jul 2000 04:00:00



I have a Creative CD-RW drive (model MK4214). I'm trying to get it to
work with my Abit motherboard in a SMP configuration, so far without
success. I'm using the stock kernel that ships with Red Hat 6.1, 2.2.12.
I was following the instructions on the CD Writing HOWTO. Since this is
an EIDE drive, I had to add the SCSI emulation support (in-kernel, not a
module), and the following additional kernel config mods:

SCSI support - y
SCSI disk support - m
SCSI tape support - m
SCSI CD-ROM support - m
Enable vendor-specific extensions (for SCSI CDROM) - y

Now... after configuration, I ran

make dep
make bzImage
make modules
make modules_install
cp arch/i386/boot/bzImage /boot/vmlinuz-2.2.12-20+smp2
lilo

In /etc/lilo.conf, there are the lines

image=/boot/vmlinuz-2.2.12-20+smp2
        label=linux-smp2
        read-only
        root=/dev/hdc1
        append="hdb=ide-scsi"

But I get the following errors when I boot:

Jul  9 13:20:10 raggy depmod:
/lib/modules/2.2.12-20+smp2/misc/ide-tape.o: unresolved symbol(s)
Jul  9 13:20:10 raggy depmod:
/lib/modules/2.2.12-20+smp2/misc/ide-scsi.o: unresolved symbol(s)
Jul  9 13:20:10 raggy depmod:
/lib/modules/2.2.12-20+smp2/misc/ide-floppy.o: unresolved symbol(s)
Jul  9 13:20:10 raggy depmod: /lib/modules/2.2.12-20+smp2/misc/ide-cd.o:
unresolved symbol(s)
Jul  9 13:20:10 raggy depmod: /lib/modules/2.2.12-20+smp2/misc/cdrom.o:
unresolved symbol(s)

How can I find what these unresolved symbols are? Looking at the modules
themselves, they all (even the ones that don't generate complaints) have
undefined symbols. It looks like these modules expect to find some
module(s) in the kernel or in another module and are failing. What am I
missing?

--
          http://www.pricegrabber.com | Dog is my co-pilot.

 
 
 

Need help with CD-RW install

Post by Duan » Mon, 10 Jul 2000 04:00:00



> I have a Creative CD-RW drive (model MK4214). I'm trying to get it to
> work with my Abit motherboard in a SMP configuration, so far without
> success. I'm using the stock kernel that ships with Red Hat 6.1, 2.2.12.
> I was following the instructions on the CD Writing HOWTO. Since this is
> an EIDE drive, I had to add the SCSI emulation support (in-kernel, not a
> module), and the following additional kernel config mods:

> SCSI support - y
> SCSI disk support - m
> SCSI tape support - m
> SCSI CD-ROM support - m
> Enable vendor-specific extensions (for SCSI CDROM) - y

You don't mention
 IDE/ATAPI CDROM support - n (not absolutely required - but eliminates a
possible source of problems)
 SCSI emulation support - y (under block devices - different from "SCSI
support")
 SCSI generic support - m (under SCSI support - also different from
"SCSI support")

By the way, if you are recompiling the kernel anyway, you might as well
compile SCSI CD-ROM support into the kernel. Again, that just eliminates
configuration problems. If you do this, along with the other module
settings as indicated above, then absolutely no entries are required in
either lilo.conf or modules.conf under RH6.1 (that is exactly the
configuration I am running under).

Quote:

> Now... after configuration, I ran

> make dep
> make bzImage
> make modules
> make modules_install

You should probably either delete the previous modules directory or move
them to a new name. Again, not absolutely required, but it just prevents
you from having any leftover old modules from a previous compile mixed
in with your new ones.

Quote:> cp arch/i386/boot/bzImage /boot/vmlinuz-2.2.12-20+smp2
> lilo

> In /etc/lilo.conf, there are the lines

> image=/boot/vmlinuz-2.2.12-20+smp2
>         label=linux-smp2
>         read-only
>         root=/dev/hdc1
>         append="hdb=ide-scsi"

> But I get the following errors when I boot:

> Jul  9 13:20:10 raggy depmod:
> /lib/modules/2.2.12-20+smp2/misc/ide-tape.o: unresolved symbol(s)
> Jul  9 13:20:10 raggy depmod:
> /lib/modules/2.2.12-20+smp2/misc/ide-scsi.o: unresolved symbol(s)
> Jul  9 13:20:10 raggy depmod:
> /lib/modules/2.2.12-20+smp2/misc/ide-floppy.o: unresolved symbol(s)
> Jul  9 13:20:10 raggy depmod: /lib/modules/2.2.12-20+smp2/misc/ide-cd.o:
> unresolved symbol(s)
> Jul  9 13:20:10 raggy depmod: /lib/modules/2.2.12-20+smp2/misc/cdrom.o:
> unresolved symbol(s)

> How can I find what these unresolved symbols are? Looking at the modules
> themselves, they all (even the ones that don't generate complaints) have
> undefined symbols. It looks like these modules expect to find some
> module(s) in the kernel or in another module and are failing. What am I
> missing?

> --
>           http://www.pricegrabber.com | Dog is my co-pilot.

--


 
 
 

Need help with CD-RW install

Post by Dances With Cro » Mon, 10 Jul 2000 04:00:00


On Sun, 09 Jul 2000 14:23:57 -0700, Rob McMillin

Quote:>SCSI support - y

>How can I find what these unresolved symbols are? Looking at the modules
>themselves, they all (even the ones that don't generate complaints) have
>undefined symbols. It looks like these modules expect to find some
>module(s) in the kernel or in another module and are failing. What am I
>missing?

There are a bunch of modules in /lib/modules/2.x.x/ that are no longer
valid, of course!  You can fix the "problem" by doing this:
cd /usr/src/linux
rm -rf /lib/modules/2.y.x/
make modules_install
depmod -a

This gets people every time.  The "make modules_install" target might be
better off doing an "rm -rf /lib/modules/x.y.z/" before installing
everything there, but there are no doubt N+1 problems with that approach
as well.

BTW, those error messages shouldn't prevent you from using your CD-RW if
everything else is correct.

--
Matt G / Dances With Crows      /\    "Man could not stare too long at the face
\----[this space for rent]-----/  \   of the Computer or her children and still
 \There is no Darkness in Eternity \  remain as Man." --David Zindell "So did
But only Light too dim for us to see\ they become Gods, or Usenetters?" --/me

 
 
 

1. broken 2.2 IDE CD-RW (was Re: plain 2.2.X: no ide CD-RW?)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


Sorry, I was referring to the backport of the 2.4 IDE code to 2.2.
I'm currently using ide.2.2.19.05042001 successfully, which I got from:

  ftp://ftp.us.kernel.org:/pub/linux/kernel/people/hedrick/ide-2.2.19

I've used several similar patches, though.  Stock 2.4 kernels work
fine with my CD-RW as well; however, I've now discovered that plain
2.2 kernels do not.  This could easily be a long-standing problem,
probably at least a year old - I've only recently stumbled across it,
though.

Since I have a solution (use the 2.4 IDE backport), this isn't
critical; however, since many people still rely on 2.2, and I'd like
to use a stock 2.2 kernel if possible, I'm willing to spend some time
debugging this.

Thanks!

  --Anil

(A bit of background: Before I got my CD-RW drive last summer, I
bought an OnStream DI-30 drive.  This drive was then only supported on
2.2 with the 2.4 IDE backport, and so I've used this drive
successfully with 2.2.16 + 2.4 IDE patch, and a similar combination
since.  Since stock 2.2.19+ now support this drive through the osst
patch, I thought I'd try it out.  It does work, but at the cost of
losing my CD-RW.)

- --

http://www.cs.unm.edu/~soma
+1 505 872 3150
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)

iEYEARECAAYFAjs2h2AACgkQXOpXEmNZ3SfOlwCfb+it3YQrmO2e9q14AZMhcdZo
M+0An3Mi8aoEkvjD5vhC3Hc6yaICrMDE
=cV6C
-----END PGP SIGNATURE-----
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

2. PLEASE HELP: Red Hat Printtools vs. HP LaserJet IIP+

3. SCSI CD-RW: yamaha 4416s: HowTo REWrite CD-RW's?

4. IDE Cable

5. CD-RW support specifically with NEC NR 7700A CD-RW drive

6. Flickering problem.........

7. ide-scsi cd-rw woes (creative cd-rw blaster)

8. NCSA WWW Server Security Questions

9. CD-RW help needed under RH7.2

10. CD-RW help needed

11. CD-RW Install Problems - Please help

12. IDE CD-RW installation help needed

13. Howto install CD-ROM + CD-RW