From: Willem Riede <wrlk@riede.org>
To: linux-scsi@vger.kernel.org
Subject: SCSI error handler dying prematurely
Date: Tue, 31 Dec 2002 12:04:36 -0500 [thread overview]
Message-ID: <20021231170436.GG1378@linnie.riede.org> (raw)
The error handler thread of ide-scsi has started dying on me, if
and only if ide-scsi is started during the boot sequence from
rc.sysinit. I'm using the scripts from Red Hat 8.0, which, if you
boot the kernel with 'hdx=ide-scsi' will modprobe ide-cd and
ide-scsi. I've generated some output:
Dec 31 11:42:59 fallguy kernel: scsi logging level set to 0x00000005
Dec 31 11:42:59 fallguy kernel: end_request: I/O error, dev hda, sector 0
Dec 31 11:42:59 fallguy kernel: end_request: I/O error, dev hda, sector 0
Dec 31 11:42:59 fallguy kernel: hda: ATAPI 32X CD-ROM drive, 5644kB Cache, (U)DMA
Dec 31 11:42:59 fallguy kernel: Uniform CD-ROM driver Revision: 3.12
Dec 31 11:42:59 fallguy kernel: Wake up parent
Dec 31 11:42:59 fallguy kernel: Error handler scsi_eh_2 sleeping
Dec 31 11:42:59 fallguy kernel: scsi2 : SCSI host adapter emulation for IDE ATAPI devices
Dec 31 11:42:59 fallguy kernel: Vendor: OnStream Model: ADR Series Rev: 5.05
Dec 31 11:42:59 fallguy kernel: Type: Sequential-Access ANSI SCSI revision: 02
Dec 31 11:42:59 fallguy kernel: Vendor: OnStream Model: DI-30 Rev: 1.09
Dec 31 11:43:00 fallguy kernel: Type: Sequential-Access ANSI SCSI revision: 02
Dec 31 11:43:00 fallguy kernel: Vendor: CONNER Model: CTT8000-A Rev: 2.08
Dec 31 11:43:00 fallguy kernel: Type: Sequential-Access ANSI SCSI revision: 02
Dec 31 11:43:00 fallguy kernel: Signals pending for scsi_eh_2: 00000001 00000000
Dec 31 11:43:00 fallguy kernel: Error handler scsi_eh_2 exiting
In rc.sysinit I put an echo to /proc/scsi/scsi to set the logging level,
just before the modprobe ide-cd. There is no cd in the cdrom drive,
hence the errors on hda (the disks on this system are all scsi).
The CD-ROM driver loads normally, then we get output from ide-scsi.
It starts the error handler, which wakes its parent, then goes to
sleep. The main thread detects the other ide devices (all tape drives).
Then, out of the blue, but virtually immediately, and reproducably,
the ide-scsi error handler receives a signal and exits. I've inserted
the print statement to show the signals in scsi_error.c so I need to
explain what you're looking at.
I'm printing current->pending.signal.sig[0] and
current->pending.signal.sig[1] with %08lx.
It appears that the LSB of sig[0] is set. Does that make it SIGHUP?
And again, if I load ide-scsi later, or rmmod and modprobe it after
this happened on boot, the error handler stays up.
How do I figure out where this stray signal is coming from?
Thanks, Willem Riede.
reply other threads:[~2002-12-31 17:04 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20021231170436.GG1378@linnie.riede.org \
--to=wrlk@riede.org \
--cc=linux-scsi@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox