All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Andries E. Brouwer" <Andries.Brouwer@cwi.nl>
To: Pavel Machek <pavel@ucw.cz>
Cc: kernel list <linux-kernel@vger.kernel.org>,
	axboe@kernel.dk, Andries.Brouwer@cwi.nl,
	"Rafael J. Wysocki" <rjw@sisk.pl>
Subject: Re: 2.6.31-rc0: sdb1 only starts to exist when sdb is accessed?
Date: Sun, 5 Jul 2009 21:28:42 +0200	[thread overview]
Message-ID: <20090705192841.GA18151@ub> (raw)
In-Reply-To: <20090705185447.GA18498@elf.ucw.cz>

On Sun, Jul 05, 2009 at 08:54:47PM +0200, Pavel Machek wrote:
> 
> ...happens with android phone doing usb storage emulation. I'm using
> static /dev/ ... I hope!
> 
> Jul  5 20:06:02 amd udevd-event[17666]: mknod(/dev/bus/usb/001/073, 020664, (189,72) failed: Operation not permitted 
> Jul  5 20:06:07 amd kernel: scsi 24:0:0:0: Direct-Access     HTC      Android Phone    0100 PQ: 0 ANSI: 2
> Jul  5 20:06:07 amd kernel: sd 24:0:0:0: Attached scsi generic sg1 type 0
> Jul  5 20:06:07 amd kernel: sd 24:0:0:0: [sdb] Attached SCSI removable disk
> Jul  5 20:13:08 amd pand[17815]: Bluetooth PAN daemon version 3.36
> ...
> Jul  5 20:51:02 amd kernel: sd 24:0:0:0: [sdb] 3862528 512-byte hardware sectors: (1.97 GB/1.84 GiB)
> Jul  5 20:51:02 amd kernel: sd 24:0:0:0: [sdb] Assuming drive cache: write through
> Jul  5 20:51:02 amd kernel: sd 24:0:0:0: [sdb] Assuming drive cache: write through
> Jul  5 20:51:02 amd kernel:  sdb: sdb1
> 
> You see? Partitions are only detected long after device is
> detected. IIRC it did not behave like that before...

Hi Pavel,

This doesn't seem to have anything to do with partition detection:
the partition line has the same time stamp as the scsi identify line
("3862528 512-byte hardware sectors").

Andries


      reply	other threads:[~2009-07-05 19:30 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-05 18:54 2.6.31-rc0: sdb1 only starts to exist when sdb is accessed? Pavel Machek
2009-07-05 19:28 ` Andries E. Brouwer [this message]

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=20090705192841.GA18151@ub \
    --to=andries.brouwer@cwi.nl \
    --cc=axboe@kernel.dk \
    --cc=linux-kernel@vger.kernel.org \
    --cc=pavel@ucw.cz \
    --cc=rjw@sisk.pl \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.