Hi Friends,
I have an Excalibur 4GB USB Pen Drive Model Number EXC4. I think it is getting detected by the Centos but I am not sure about the mount point or the device point it is taking /dev/s??
Logs from /var/log/messages.
Mar 11 11:30:06 l_l_box kernel: usb 1-1: USB disconnect, address 3 Mar 11 11:30:22 l_l_box kernel: usb 1-1: new high speed USB device using address 4 Mar 11 11:30:22 l_l_box kernel: scsi2 : SCSI emulation for USB Mass Storage devices Mar 11 11:30:22 l_l_box kernel: Vendor: CORNICE Model: Inc. Storage Ele Rev: 0 0 Mar 11 11:30:22 l_l_box kernel: Type: Direct-Access ANSI SCSI revision: 02 Mar 11 11:30:22 l_l_box scsi.agent[17229]: disk at /devices/pci0000:00/0000:00:1d.7/usb1/1-1/1-1:1.0/host2/target2:0:0/2:0:0:0
sg3-utils are also installed on the system but sg_scan -i returns nothing
Output of /proc/bus/usb/devices
T: Bus=04 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2 B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0 D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 P: Vendor=0000 ProdID=0000 Rev= 2.06 S: Manufacturer=Linux 2.6.9-5.0.3.EL uhci_hcd S: Product=UHCI Host Controller S: SerialNumber=0000:00:1d.2 C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr= 0mA I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=255ms
T: Bus=03 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2 B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0 D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 P: Vendor=0000 ProdID=0000 Rev= 2.06 S: Manufacturer=Linux 2.6.9-5.0.3.EL uhci_hcd S: Product=UHCI Host Controller S: SerialNumber=0000:00:1d.1 C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr= 0mA I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=255ms
T: Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2 B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0 D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 P: Vendor=0000 ProdID=0000 Rev= 2.06 S: Manufacturer=Linux 2.6.9-5.0.3.EL uhci_hcd S: Product=UHCI Host Controller S: SerialNumber=0000:00:1d.0 C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr= 0mA I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=255ms
T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=480 MxCh= 6 B: Alloc= 0/800 us ( 0%), #Int= 0, #Iso= 0 D: Ver= 2.00 Cls=09(hub ) Sub=00 Prot=01 MxPS= 8 #Cfgs= 1 P: Vendor=0000 ProdID=0000 Rev= 2.06 S: Manufacturer=Linux 2.6.9-5.0.3.EL ehci_hcd S: Product=EHCI Host Controller S: SerialNumber=0000:00:1d.7 C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr= 0mA I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=256ms
T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 3 Spd=480 MxCh= 0 D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1 P: Vendor=14cd ProdID=6600 Rev= 2.01 S: Manufacturer=Super Top S: Product=USB 2.0 IDE DEVICE S: SerialNumber=?????????? C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr= 0mA I: If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage E: Ad=81(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms E: Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
Please let me know if you need any further inputs.
Thanks & Regards
Ankush Grover
ankush grover wrote:
Hi Friends,
I have an Excalibur 4GB USB Pen Drive Model Number EXC4. I think it is getting detected by the Centos but I am not sure about the mount point or the device point it is taking /dev/s??
Logs from /var/log/messages.
Mar 11 11:30:06 l_l_box kernel: usb 1-1: USB disconnect, address 3 Mar 11 11:30:22 l_l_box kernel: usb 1-1: new high speed USB device using address 4 Mar 11 11:30:22 l_l_box kernel: scsi2 : SCSI emulation for USB Mass Storage devices Mar 11 11:30:22 l_l_box kernel: Vendor: CORNICE Model: Inc. Storage Ele Rev: 0 0 Mar 11 11:30:22 l_l_box kernel: Type: Direct-Access ANSI SCSI revision: 02 Mar 11 11:30:22 l_l_box scsi.agent[17229]: disk at /devices/pci0000:00/0000:00:1d.7/usb1/1-1/1-1:1.0/host2/target2:0:0/2:0:0:0
This is the sort of thing you should see. In this case I'm inserting a real spinning disk: Feb 28 13:13:38 coco kernel: usb 1-2: new high speed USB device using address 2 Feb 28 13:13:40 coco kernel: SCSI subsystem initialized Feb 28 13:13:40 coco kernel: Initializing USB Mass Storage driver... Feb 28 13:13:40 coco kernel: scsi0 : SCSI emulation for USB Mass Storage devices Feb 28 13:13:40 coco kernel: Vendor: IC25N040 Model: ATMR04-0 Rev: 0 0 Feb 28 13:13:40 coco kernel: Type: Direct-Access ANSI SCSI revision: 02 Feb 28 13:13:40 coco kernel: usbcore: registered new driver usb-storage Feb 28 13:13:40 coco kernel: USB Mass Storage support registered. Feb 28 13:13:40 coco scsi.agent[14837]: disk at /devices/pci0000:00/0000:00:1d.7/usb1/1-2/1-2:1.0/host0/targ et0:0:0/0:0:0:0 Feb 28 13:13:40 coco kernel: SCSI device sda: 78140160 512-byte hdwr sectors (40008 MB) Feb 28 13:13:40 coco kernel: sda: assuming drive cache: write through Feb 28 13:13:40 coco kernel: SCSI device sda: 78140160 512-byte hdwr sectors (40008 MB) Feb 28 13:13:40 coco kernel: sda: assuming drive cache: write through Feb 28 13:13:40 coco kernel: sda: sda1 Feb 28 13:13:40 coco kernel: Attached scsi disk sda at scsi0, channel 0, id 0, lun 0 Feb 28 13:13:41 coco fstab-sync[14938]: added mount point /media/usbdisk for /dev/sda1 Feb 28 13:14:46 coco kernel: kjournald starting. Commit interval 5 seconds Feb 28 13:14:46 coco kernel: EXT3 FS on sda1, internal journal Feb 28 13:14:46 coco kernel: EXT3-fs: mounted filesystem with ordered data mode. Feb 28 13:14:46 coco kernel: SELinux: initialized (dev sda1, type ext3), uses xattr
Probably, at some mount after /media/usbdisk was created, I explicitly mounted it Note that the exact mount point depends, but it's always under /media.
sg3-utils are also installed on the system but sg_scan -i returns nothing
I've never thought to use those.
-----Original Message----- From: centos-bounces@centos.org [mailto:centos-bounces@centos.org] On Behalf Of John Summerfield Sent: Sunday, March 11, 2007 3:09 PM To: CentOS mailing list Subject: Re: [CentOS] Problem in Mounting Exaclibur 4GB USB Pen
Driveon
Centos4.0
<snip>
Probably, at some mount after /media/usbdisk was created, I explicitly mounted it Note that the exact mount point depends, but it's always under /media.
I noticed a similar problem (and reported it) earlier, but what I've seen is that the longer my system is up, the more likely it is to start failing to mount my flash drive. After a while, I have to mount it manually, and to change any files on it, I need to be the root.
Can anyone tell me/us what process recognizes the flash drives on insertion? (I.e., what is the automount process?) Or is there one? I'm not entirely clear on how CentOS/RH/Linux recognizes (or fails to) flash drives....
Thanks.
mhr