From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262565AbVHDOoC (ORCPT ); Thu, 4 Aug 2005 10:44:02 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262570AbVHDOlw (ORCPT ); Thu, 4 Aug 2005 10:41:52 -0400 Received: from vena.lwn.net ([206.168.112.25]:41870 "HELO lwn.net") by vger.kernel.org with SMTP id S262565AbVHDOj1 (ORCPT ); Thu, 4 Aug 2005 10:39:27 -0400 Message-ID: <20050804143924.21197.qmail@lwn.net> To: "Mukund JB." Cc: linux-kernel@vger.kernel.org Subject: Re: 2.6 partition support driver methods From: corbet@lwn.net (Jonathan Corbet) In-reply-to: Your message of "Thu, 04 Aug 2005 17:35:02 +0530." Date: Thu, 04 Aug 2005 08:39:24 -0600 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Mukund JB. wrote: > BUT, when a card is inserted in the socket 3, I am NOT able to mount and > it says. > Mount: /dev/tfa12 is not a valid block device > > Can you convey me where exactly I am missing or why is it failing? First step would be to look in /proc/partitions (and the system logfile) to get an idea of what the kernel thinks is there. When you call add_disk(), the kernel should emit some messages noting the partitions that it sees. My guess is a mismatch of minor numbers between your device nodes and what the kernel sees (it's hard for me to make complete sense out of your minor number logic), but I could be wrong. jon