Hi, I even get the following with cat /proc/partitions command major minor #blocks name
8 0 126976 sda 8 1 126960 sda1 I am unable to mount the device. Hence I cannot use it. I have vfat driver loaded in the kernel. Moreover we are using customized kernel and so we do not have udev or MAKEDEV. Let me know if I am wrong in interpretation. Also can you please highlight the exact steps to mount the usb device? It would be really helpful. We used the major and minor numbers obtained from /proc/partitions and tried to make device nodes using mknod /dev/sda b 8 0 and mknod /dev/sda1 b 8 1. This creates the nodes but we are not able to mount using these entries in /dev. Please help. Regards, Maulik -----Original Message----- From: Alan Stern [mailto:[EMAIL PROTECTED] Sent: Monday, July 24, 2006 8:11 PM To: Maulik Mankad Cc: David Brownell; linux-usb-devel@lists.sourceforge.net Subject: Re: Mounting the USB device with IXP465 Embedded USB host On Mon, 24 Jul 2006, Maulik Mankad wrote: > Hi, > > I am working on IXP465 USB host driver and have ported the Linux 2.6.12 host > driver for it. > > The enumeration happens perfectly fine as seen on the USB analyzer. > > I can see the details of my pen drive (usb device) in /proc/scsi/scsi. > > The problem is that sda entry does not get created in /dev. > > I am loading five drivers in the following sequence. > (1) modprobe usbcore > (2) modprobe scsi_mod > (3) modprobe sd_mod > (4) modprobe usb-storage > (5) modprobe ehci-hcd > > I have attached the file with the dmesg logs. I am getting "Bad Target > Number" in these logs. Can somebody let me know why does this come and how > to solve it? The "Bad Target Number" messages are normal. They do not indicate a problem. They show up because a real SCSI bus can support up to 8 or 16 targets, but the USB mass storage protocol allows for only a single target. So when the SCSI core tries to probe for additional targets, those debugging messages get printed. > I also get "Attached scsi removable disk sda at scsi0, channel 0, id 0, lun > 0" in these logs. Still no entry is made in /dev regarding sda. That's because the kernel isn't responsible for creating /dev/sda. You are. Or if you use udev, then udev is. > I need to mount the drive and without this entry in /dev I cannot do so. > > Please let me know how shall I procede. If you're not using udev then you may need to run the MAKEDEV script or something equivalent. Tell it to create the sd[a-z]... device entries. Alan Stern eInfochips Business Disclaimer: This message may contain confidential, proprietary or legally Privileged information. In case you are not the original intended Recipient of the message, you must not, directly or indirectly, use, Disclose, distribute, print, or copy any part of this message and you are requested to delete it and inform the sender. Any views expressed in this message are those of the individual sender unless otherwise stated. Nothing contained in this message shall be construed as an offer or acceptance of any offer by eInfochips Limited and/or eInfochips Inc("eInfochips") unless sent with that express intent and with due authority of eInfochips. eInfochips has taken enough precautions to prevent the spread of viruses. However the company accepts no liability for any damage caused by any virus transmitted by this email. eInfochips Business Disclaimer: This message may contain confidential, proprietary or legally Privileged information. In case you are not the original intended Recipient of the message, you must not, directly or indirectly, use, Disclose, distribute, print, or copy any part of this message and you are requested to delete it and inform the sender. Any views expressed in this message are those of the individual sender unless otherwise stated. Nothing contained in this message shall be construed as an offer or acceptance of any offer by eInfochips Limited and/or eInfochips Inc("eInfochips") unless sent with that express intent and with due authority of eInfochips. eInfochips has taken enough precautions to prevent the spread of viruses. However the company accepts no liability for any damage caused by any virus transmitted by this email. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ linux-usb-devel@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel