Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754757AbZGESzI (ORCPT ); Sun, 5 Jul 2009 14:55:08 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752699AbZGESy6 (ORCPT ); Sun, 5 Jul 2009 14:54:58 -0400 Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]:44997 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751687AbZGESy5 (ORCPT ); Sun, 5 Jul 2009 14:54:57 -0400 Date: Sun, 5 Jul 2009 20:54:47 +0200 From: Pavel Machek To: kernel list Cc: axboe@kernel.dk, aeb@cwi.nl, "Rafael J. Wysocki" Subject: 2.6.31-rc0: sdb1 only starts to exist when sdb is accessed? Message-ID: <20090705185447.GA18498@elf.ucw.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Warning: Reading this can be dangerous to your mental health. User-Agent: Mutt/1.5.18 (2008-05-17) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1356 Lines: 26 ...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... Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/