Bug 19862 - unresolved symbols in sr_mod
unresolved symbols in sr_mod
Status: CLOSED CURRENTRELEASE
Product: Red Hat Linux
Classification: Retired
Component: kernel (Show other bugs)
7.0
i686 Linux
medium Severity medium
: ---
: ---
Assigned To: Arjan van de Ven
Brock Organ
:
: 15632 (view as bug list)
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2000-10-26 10:29 EDT by Need Real Name
Modified: 2007-04-18 12:29 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2002-12-14 21:56:21 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Need Real Name 2000-10-26 10:29:50 EDT
I compiled kernel-2.2.16-22 which ships with redhat 7.0 with support for
scsi as modules (when possible).
Everything compiled ok but when loading sr_mod.o it complained about an
unresolved symbol (req_finished_io).
It seems that symbols req_new_io and req_finished_io are not exported...
I solved the problem by adding the following lines to the end of
linux/drivers/block/ll_rw_blk.c

#if CONFIG_SCSI == m
EXPORT_SYMBOL(req_new_io);
EXPORT_SYMBOL(req_finished_io);
#endif

Sorry if this bug was already reported but I couldn't find anything related
to it.

Regards,
Bruno Gravato.
Comment 1 Daniel Roesen 2000-10-26 16:16:26 EDT
At least you look for reports... others don't. See Bug #18032 :-]
Comment 2 Rob McMillin 2000-11-20 13:29:46 EST
Also seeing this bug ... thanks for the patch, Bruno, I'll try it now.
Comment 3 Rob McMillin 2000-11-20 13:40:39 EST
That patch definitely worked! Thanks... now my IDE CD-RW drive is back in
service. Whew!
Comment 4 Michael Tokarev 2001-02-13 19:48:27 EST
People, are you kidding?! (that is to RedHat)
I reported this bug already for rawhide, see bug id 16174
http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=16174 .
I wrote about it to sct also, I provided a patch for a patch (this
is in -sard patch, for the beginning of it's "life").  And this issue
is still with us, and errata 2.2.17-14 also contain it!
I'm curious at the end -- why so trivial issue must take so long time
to resolve (and ever amount of that long time still unknown...)??? :)))
Why it's SO hard to solve this?!?!?

BTW, proposed here patch will not work in all cases -- it basic scsi
support built in but e.g. sr_mod itself (scsi_generic) is module
(this is what I tried here recently).
Comment 5 Stephen Tweedie 2001-02-14 07:13:57 EST
Just export the symbols unconditionally: there's no need to worry about making
it conditional on the SCSI subsystem being modularised.
Comment 6 Michael Tokarev 2001-02-15 13:46:27 EST
That's almost exactly the same as I proposed to do at my initial
bugreport... :) -- the only difference is that i was not shure
if some additional symbols should also be exported (no them
shouldn't as it seemed to be).
Comment 7 Arjan van de Ven 2001-02-21 12:34:30 EST
*** Bug 15632 has been marked as a duplicate of this bug. ***

Note You need to log in before you can comment on or make changes to this bug.