Re: SCSI emulation module unload problem.

From: Keith Owens (kaos@ocs.com.au)
Date: Thu Mar 09 2000 - 22:18:37 EST


Cc: trimmed to linux-kernel only, this looks like a kernel and/or
modules problem.

On Thu, 09 Mar 2000 06:38:26 -0500,
Rui Sousa <rsousa@grad.physics.sunysb.edu> wrote:
>I'm running kernel 2.3.49 SMP and running into a problem
>regarding ATAPI SCSI emulation. Sometimes it seems the modules
>are unloaded in the wrong order and I get stuck with a bunch
>of unregistered symbols and have to reboot the machine.
>
>This are the loaded modules:
>ide-scsi 8268 0 (autoclean)
>sr_mod 12208 0 (autoclean)
>scsi_mod 83912 2 (autoclean) [ide-scsi sr_mod]
>cdrom 26716 0 (autoclean) [sr_mod]
>
>This is /etc/conf.modules:
>alias scd0 sr_mod
>alias scsi_hostadapter ide-scsi
>options ide-cd ignore=hdc
>
>Mar 9 06:03:19 localhost kernel: Detected scsi CD-ROM sr0 at scsi0, channel 0,
>id 0, lun 0
>Mar 9 06:03:19 localhost kernel: Detected scsi CD-ROM sr1 at scsi0, channel 0,
>id 1, lun 0
>Mar 9 06:03:19 localhost kernel: sr0: scsi3-mmc drive: 32x/32x writer cd/rw
>xa/form2 cdda tray
>Mar 9 06:03:20 localhost kernel: Uniform CD-ROM driver Revision: 3.06
>Mar 9 06:03:20 localhost kernel: sr1: scsi3-mmc drive: 34x/34x cd/rw xa/form2
>cdda tray
>
>This seems to be the normal situation, modules get removed periodically by
>/sbin/rmmod -as in a cron job and get loaded right back (?why?):

You have kernel module loader support compiled in. This automatically
loads modules as required. The cron job automatically unloads those
modules that are not in use.

>Mar 9 01:50:00 localhost kernel: scsi : 0 hosts.
>Mar 9 01:50:01 localhost insmod: /lib/modules/2.3.49/scsi/sr_mod.o: unresolved
>symbol scsi_io_completion
>
>the scsi module seems to have been removed under the sr_mod module.... After
>this even
>a /sbin/lsmod fails (with an error I forgot to write down :(

scsi_io_completion is in scsi_lib, part of scsi_mod. Either scsi_mod
is not being reloaded when required or, more likely, it is still
present but is marked as deleted. Please reproduce and do "cat
/proc/modules". If scsi_mod is marked "(deleted)" then the problem is
that scsi_mod cleanup is not working. There are known bugs in scsi
clean up on 2.3.49, try 2.3.50.

-
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/



This archive was generated by hypermail 2b29 : Wed Mar 15 2000 - 21:00:17 EST