Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Strange behaviour of memory stick
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Dragonlord
Guru
Guru


Joined: 22 Aug 2004
Posts: 446
Location: Switzerland

PostPosted: Fri Sep 23, 2005 1:20 pm    Post subject: Strange behaviour of memory stick Reply with quote

i am trying to setup a gentoo box here on a shuttle pc for a pal. the problem is i bought for him a cheap memory stick to use. now the following strange behaviour occurs which is a bit annoying (very annoying to be precise).

i enter the memory stick and after some time dmesg gives the gloriuos message it works. here the output for those interested
Code:
usb 1-4: new high speed USB device using ehci_hcd and address 7
scsi2 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 7
usb-storage: waiting for device to settle before scanning
  Vendor: B4F       Model: SLIM              Rev: 2.00
  Type:   Direct-Access                      ANSI SCSI revision: 02
sdb: Unit Not Ready, sense:
: Current: sense key=0x6
    ASC=0x28 ASCQ=0x0
sdb : READ CAPACITY failed.
sdb : status=1, message=00, host=0, driver=08
sd: Current: sense key=0x6
    ASC=0x28 ASCQ=0x0
sdb: test WP failed, assume Write Enabled
sdb: assuming drive cache: write through
sdb: Unit Not Ready, sense:
: Current: sense key=0x6
    ASC=0x28 ASCQ=0x0
sdb : READ CAPACITY failed.
sdb : status=1, message=00, host=0, driver=08
sd: Current: sense key=0x6
    ASC=0x28 ASCQ=0x0
sdb: test WP failed, assume Write Enabled
sdb: assuming drive cache: write through
sdb: Unit Not Ready, sense:
: Current: sense key=0x6
    ASC=0x28 ASCQ=0x0
sdb : READ CAPACITY failed.
sdb : status=1, message=00, host=0, driver=08
sd: Current: sense key=0x6
    ASC=0x28 ASCQ=0x0
sdb: test WP failed, assume Write Enabled
sdb: assuming drive cache: write through
 sdb:end_request: I/O error, dev sdb, sector 0
printk: 7320 messages suppressed.
Buffer I/O error on device sdb, logical block 0
Buffer I/O error on device sdb, logical block 0
 unable to read partition table
Attached scsi removable disk sdb at scsi2, channel 0, id 0, lun 0
Attached scsi generic sg1 at scsi2, channel 0, id 0, lun 0,  type 0
usb-storage: device scan complete


now i try to mount... due... /dev/sdb1 does not exist. it exists anything else from /dev/sdb2 upwards and /dev/sdb itself but just not /dev/sdb1. i then do 'mount /dev/sdb /mnt/memstick' which of course tells me it doesn't work as you can not mount the device itself but the partition. but exactly this makes the /dev/sdb1 suddenly appear out of nowhere and i can mount my memory stick and use it correctly. dmesg tells me the following during that actions.
Code:
SCSI device sdb: 510208 512-byte hdwr sectors (261 MB)
sdb: Write Protect is off
sdb: Mode Sense: 03 00 00 00
sdb: assuming drive cache: write through
SCSI device sdb: 510208 512-byte hdwr sectors (261 MB)
sdb: Write Protect is off
sdb: Mode Sense: 03 00 00 00
sdb: assuming drive cache: write through
 sdb: sdb1
SQUASHFS error: Can't find a SQUASHFS superblock on sdb
FAT: invalid media value (0x01)
VFS: Can't find a valid FAT filesystem on dev sdb.


my /mnt/memstick entry in fstab looks like this btw.
Code:
/dev/sdb1               /mnt/memstick   vfat            noauto,users,umask=007,fmask=117        0 0


any ideas why the /dev/sdb1 does not show up after inserting the memory stick but after doing an unsuccessfull mount of /dev/sdb ?
_________________
DragonDreams: Leader and Head Programmer
Back to top
View user's profile Send private message
chrbecke
Guru
Guru


Joined: 12 Jul 2004
Posts: 598
Location: Berlin - Germany

PostPosted: Fri Sep 23, 2005 3:21 pm    Post subject: Reply with quote

Maybe the partition table on the memory stick is broken? You could try to make a new partition on it and format it.
Back to top
View user's profile Send private message
Dragonlord
Guru
Guru


Joined: 22 Aug 2004
Posts: 446
Location: Switzerland

PostPosted: Fri Sep 23, 2005 5:54 pm    Post subject: Reply with quote

tried it, the same happens. funny is that i can plug in the stick, do a 'touch /dev/sdb' and then /dev/sdb1 suddenly exists... :roll:
_________________
DragonDreams: Leader and Head Programmer
Back to top
View user's profile Send private message
hjh
n00b
n00b


Joined: 20 Jul 2004
Posts: 37

PostPosted: Wed Oct 05, 2005 1:26 am    Post subject: Reply with quote

FWIW I have the same problem here. Still searching for a good reason for or answer to this.
Back to top
View user's profile Send private message
BillyBob-SA1
n00b
n00b


Joined: 17 Nov 2004
Posts: 53

PostPosted: Sat Nov 05, 2005 7:19 pm    Post subject: Reply with quote

I have precisely the same issue with my I-Stick2 Model: IntelligentStick Rev: 2.00

I was using fdisk /dev/sdb and issuing q and it would make the device /dev/sdb1

Touching /dev/sdb is quicker, kinda, but I would certainly like to hear of a fix if one is found...
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum