public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
From: Stefan Richter <stefanr@s5r6.in-berlin.de>
To: Jonathan Isom <jeisom@gmail.com>
Cc: linux1394-user@lists.sourceforge.net, linux-scsi@vger.kernel.org
Subject: Re: 2.6.39 and Powerfile c200
Date: Tue, 31 May 2011 21:26:43 +0200	[thread overview]
Message-ID: <20110531212643.174c2739@stein> (raw)
In-Reply-To: <BANLkTinSPtcr-btv7v5ZUkdPObguYDSSag@mail.gmail.com>

On May 31 Jonathan Isom wrote:
> Well I did some further testing.  If I boot with /bin/sh as init and
> manually load the firewire modules the C200 works.  I moved out all
> kernel modules but firewire and loaded init and it start giving the
> offline messages.  So it appears to be a userspace problem.

(Or a firmware problem actually, provoked by Linux userspace that does not
behave like a Windows system.)

> Just  not sure where to start. I already did some digging in udev but
> no luck so far. I'm running gentoo which probably make tracking it
> down just a little harder as there are few identical installs in the
> world.  Below is a listing of init scripts loaded at boot.
> 
> Any Ideas?
[...]

Nothing obvious as far as I can tell.  The mythbackend perhaps?  Or a GUI
desktop component that is started after login into xdm?

I don't know if there is a logging facility in the kernel's SCSI layer
that could expose the process name of SCSI ioctl issuers, but you can add
one:

--- a/drivers/scsi/sr.c
+++ b/drivers/scsi/sr.c
@@ -479,6 +479,9 @@ static int sr_block_open(struct block_de
 		ret = cdrom_open(&cd->cdi, bdev, mode);
 		if (ret)
 			scsi_cd_put(cd);
+		else
+			printk(KERN_INFO "***** %s opened by %s *****\n",
+			       cd->cdi.name, current->comm);
 	}
 	mutex_unlock(&sr_mutex);
 	return ret;

-- 
Stefan Richter
-=====-==-== -=-= =====
http://arcgraph.de/sr/

  reply	other threads:[~2011-05-31 19:26 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <BANLkTikkCOML4aNv_wSrk9VRSofjVwtVAw@mail.gmail.com>
2011-05-28 18:26 ` 2.6.39 and Powerfile c200 Stefan Richter
2011-05-28 20:32   ` Jonathan Isom
2011-05-30 21:08     ` Jonathan Isom
2011-05-30 21:24       ` Stefan Richter
2011-05-30 21:26         ` Jonathan Isom
2011-05-30 21:38           ` Stefan Richter
2011-05-31 16:48             ` Jonathan Isom
2011-05-31 19:26               ` Stefan Richter [this message]
2011-06-01 14:58                 ` Jonathan Isom

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=20110531212643.174c2739@stein \
    --to=stefanr@s5r6.in-berlin.de \
    --cc=jeisom@gmail.com \
    --cc=linux-scsi@vger.kernel.org \
    --cc=linux1394-user@lists.sourceforge.net \
    /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