Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
usb flash driber under 2.6.0 kernel
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
anhtran81
n00b
n00b


Joined: 17 Oct 2003
Posts: 7

PostPosted: Sat Dec 20, 2003 8:32 am    Post subject: usb flash driber under 2.6.0 kernel Reply with quote

Hi, I am using the new kernel with great pleasant. It seems running faster than 2.4 kernel and more responsive. BTW, I still have some problems with it. I used to have my usb flash drive working under 2.4 kernel using scsi-emulation. So Do i need to use it again with the new kernel and how

This is the output of dmesg:

hub 2-0:1.0: new USB device on port 1, assigned address 2
Initializing USB Mass Storage driver...
drivers/usb/core/usb.c: registered new driver usb-storage
USB Mass Storage support registered.
scsi0 : SCSI emulation for USB Mass Storage devices
Vendor: SigmaTel Model: MP300F Player Rev: 0100
Type: Direct-Access ANSI SCSI revision: 02
Attached scsi generic sg0 at scsi0, channel 0, id 0, lun 0, type 0
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 2
usb 2-1: USB disconnect, address 2
hub 2-0:1.0: new USB device on port 1, assigned address 3
scsi1 : SCSI emulation for USB Mass Storage devices
Vendor: SigmaTel Model: MP300F Player Rev: 0100
Type: Direct-Access ANSI SCSI revision: 02
Attached scsi generic sg0 at scsi1, channel 0, id 0, lun 0, type 0
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 3
usb 2-1: USB disconnect, address 3
hub 2-0:1.0: new USB device on port 1, assigned address 4
scsi2 : SCSI emulation for USB Mass Storage devices
Vendor: SigmaTel Model: MP300F Player Rev: 0100
Type: Direct-Access ANSI SCSI revision: 02
Attached scsi generic sg0 at scsi2, channel 0, id 0, lun 0, type 0
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 4
loop: loaded (max 8 devices)

Notice that how it change scsi from 0 then 1 and 2. And i try to mount them I got the error saying that is not a block device.

Any got similar problem please post the solution thanks
Back to top
View user's profile Send private message
snkmoorthy
Guru
Guru


Joined: 19 Nov 2002
Posts: 376

PostPosted: Sat Dec 20, 2003 4:52 pm    Post subject: Reply with quote

I have the same behaviour with a USB DVD-drive. Initial plug will give me

scsi - 0, 0, 0
second time 1,0,0 so on.

one could reset this if you unload the usb-modules and reload them, then you can start from 0,0,0.

you need usb-storage and other SCSI modules(same as CDRW used to be). To mount it will usually be /dev/sda1

so a mount like,
Code:
mount -t vfat /dev/sda1 /mnt/flash

should do it.
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