[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

partition sda1 on usb pen not recognized



Hi!

i'm a debian sarge user, i've it on a compaq nx9010 with 2.6 kernel.
when i plug my usb pen ( iomega mini 128 usb 1.1 ) udev find it and
create the /dev/sda device but don't find the sda1 partition (FAT32)

syslog report :

Jan 11 16:14:28 localhost kernel: usb 2-2: new full speed USB device
using address 33
Jan 11 16:14:28 localhost usb.agent[11217]:      usb-storage: already
loaded
Jan 11 16:14:28 localhost kernel: scsi35 : SCSI emulation for USB Mass
Storage devices
Jan 11 16:14:28 localhost kernel:   Vendor: I0MEGA    Model: Mini
128*IOM      Rev: 3.04
Jan 11 16:14:28 localhost kernel:   Type:   Direct-Access
      ANSI SCSI revision: 02
Jan 11 16:14:28 localhost kernel: Attached scsi removable disk sda at
scsi35, channel 0, id 0, lun 0
Jan 11 16:14:28 localhost kernel: USB Mass Storage device found at 33
Jan 11 16:14:28 localhost udev[11268]: creating device node '/dev/sda'
Jan 11 16:14:29 localhost usbmount[11276]: /dev/sda is a USB device
Jan 11 16:14:29 localhost usbmount[11276]: trying to acquire lock
/var/run/usbmount/.mount.lock
Jan 11 16:14:29 localhost usbmount[11276]: acquired lock
/var/run/usbmount/.mount.lock
Jan 11 16:14:29 localhost usbmount[11276]: /dev/sda does not contain a
filesystem or disklabel
Jan 11 16:14:29 localhost scsi.agent[11255]:      sd_mod: loaded
sucessfully (for disk)

if i try with another usb pen ( iomega mini 256 usb 2.0 ) the problem
don't appear

syslog :

Jan 11 16:11:53 localhost kernel: usb 3-4: new high speed USB device
using address 37
Jan 11 16:11:53 localhost kernel: scsi34 : SCSI emulation for USB Mass
Storage devices
Jan 11 16:11:53 localhost kernel:   Vendor: I0MEGA    Model:
Mini256MB*IOM2D5  Rev: 2.00
Jan 11 16:11:53 localhost kernel:   Type:   Direct-Access
      ANSI SCSI revision: 02
Jan 11 16:11:53 localhost usb.agent[11038]:      usb-storage: already
loaded
Jan 11 16:11:53 localhost kernel: SCSI device sda: 504832 512-byte hdwr
sectors (258 MB)
Jan 11 16:11:53 localhost kernel: sda: assuming Write Enabled
Jan 11 16:11:53 localhost kernel: sda: assuming drive cache: write
through
Jan 11 16:11:53 localhost kernel:  /dev/scsi/host34/bus0/target0/lun0:
unknown partition table
Jan 11 16:11:53 localhost kernel: Attached scsi removable disk sda at
scsi34, channel 0, id 0, lun 0
Jan 11 16:11:53 localhost kernel: USB Mass Storage device found at 37
Jan 11 16:11:54 localhost udev[11091]: creating device node '/dev/sda'
Jan 11 16:11:54 localhost usbmount[11100]: /dev/sda is a USB device
Jan 11 16:11:54 localhost usbmount[11100]: trying to acquire lock
/var/run/usbmount/.mount.lock
Jan 11 16:11:54 localhost usbmount[11100]: acquired lock
/var/run/usbmount/.mount.lock
Jan 11 16:11:54 localhost usbmount[11100]: /dev/sda contains a
filesystem or disklabel
Jan 11 16:11:54 localhost usbmount[11100]: /dev/sda contains filesystem
type vfat
Jan 11 16:11:54 localhost usbmount[11100]: mountpoint /media/usb0 is
available for /dev/sda
Jan 11 16:11:54 localhost usbmount[11100]: executing command: mount
-tvfat -onoexec,nodev,noatime,users,umask=000 /dev/sda /media/usb0
Jan 11 16:11:54 localhost usbmount[11100]: executing command: run-parts
/etc/usbmount/mount.d
Jan 11 16:11:54 localhost scsi.agent[11067]:      sd_mod: loaded
sucessfully (for disk)

i test partition on usb pen ( iomega 128 ) with fdisk -l /dev/sda and
sda1 is present, OK!
next i see syslog and i find this :

Jan 11 16:15:14 localhost kernel: SCSI device sda: 256320 512-byte hdwr
sectors (131 MB)
Jan 11 16:15:14 localhost kernel: sda: assuming Write Enabled
Jan 11 16:15:14 localhost kernel: sda: assuming drive cache: write
through
Jan 11 16:15:14 localhost kernel: SCSI device sda: 256320 512-byte hdwr
sectors (131 MB)
Jan 11 16:15:14 localhost kernel: sda: assuming Write Enabled
Jan 11 16:15:14 localhost kernel: sda: assuming drive cache: write
through
Jan 11 16:15:14 localhost kernel:  /dev/scsi/host35/bus0/target0/lun0:
p1
Jan 11 16:15:14 localhost udev[11310]: creating device node '/dev/sda1'
Jan 11 16:15:14 localhost usbmount[11311]: /dev/sda1 is a USB device
Jan 11 16:15:14 localhost usbmount[11311]: trying to acquire lock
/var/run/usbmount/.mount.lock
Jan 11 16:15:14 localhost usbmount[11311]: acquired lock
/var/run/usbmount/.mount.lock
Jan 11 16:15:14 localhost usbmount[11311]: /dev/sda1 contains a
filesystem or disklabel
Jan 11 16:15:14 localhost usbmount[11311]: /dev/sda1 contains
filesystem type vfat
Jan 11 16:15:14 localhost usbmount[11311]: mountpoint /media/usb0 is
available for /dev/sda1
Jan 11 16:15:14 localhost usbmount[11311]: executing command: mount
-tvfat -onoexec,nodev,noatime,users,umask=000 /dev/sda1 /media/usb0
Jan 11 16:15:14 localhost usbmount[11311]: executing command: run-parts
/etc/usbmount/mount.d

now udev find sda1 :-O what appen????
there's a way to automate this trick ???? any solution ??

thanks :)))

scanda



Reply to: