PATCH Re: 2.3.20 missing module symbols

Martin Dalecki (dalecki@cs.net.pl)
Sun, 10 Oct 1999 17:09:08 +0200


This is a multi-part message in MIME format.
--------------66D7D31C26AA1873EC07215F
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

"Garst R. Reese" wrote:
>
> depmod error reading ELF header:no such file or directory
> then missing symbols:
> scsi_mod.o init_task_union (ok in 2.3.18ac10)

No OK in 2.3.20 and 2.3.19 at least for a setup where
scsi is loaded entierly as a module. (A setup which makes
perfect sense if you have one fine IDE disk and just a ZIP
drive connected to the parport.

> cpia.o video_register_device (not configured in 2.3.18ac10)
> cpia.o video_unregister_device
> serial_cs.o unregister_serial, register_serial (ok in 2.3.18ac10)
> serial_cb.o same
> hfs.o update_vm_cache (also missing in 2.3.18ac10)
>
> Using PCMCIA-8-Oct. (pre 2.3.12)
> Garst
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.rutgers.edu
> Please read the FAQ at http://www.tux.org/lkml/

--
	Marcin Dalecki / free programmer :-).
--------------66D7D31C26AA1873EC07215F
Content-Type: text/plain; charset=us-ascii;
 name="scsi_eror"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="scsi_eror"

diff -ur linux-old/kernel/ksyms.c linux/kernel/ksyms.c --- linux-old/kernel/ksyms.c Thu Sep 2 18:25:10 1999 +++ linux/kernel/ksyms.c Sun Oct 3 17:45:57 1999 @@ -113,6 +113,14 @@ EXPORT_SYMBOL(get_unmapped_area); EXPORT_SYMBOL(init_mm); +/* Note this is used by the scsi error recovery facility + to make it a process running in the same space as the + init process. Not adding it here will prevent scsi + working as a runtime loadable module. However the thing + done in scsi_error appears to be a really bad hack.! + */ +EXPORT_SYMBOL(init_task_union); + /* filesystem internal functions */ EXPORT_SYMBOL(in_group_p); EXPORT_SYMBOL(update_atime);

--------------66D7D31C26AA1873EC07215F--

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/