Results 1 to 8 of 8
My kernel is 2.6.
I include the support for USB in the kernel. I mean, the support for USB in my kernel is not a module.
The /var/log/messages has the ...
- 09-16-2005 #1Just Joined!
- Join Date
- Nov 2004
- Posts
- 43
USB mount point
My kernel is 2.6.
I include the support for USB in the kernel. I mean, the support for USB in my kernel is not a module.
The /var/log/messages has the following information about usb.
kernel: usb 1-6: new high speed USB device using address 2
What does that mean? what mount point does it imply?
I tried " mount /mnt/usb" and it said mount: mount point /mnt/usb does not exist.
( in my /etc/fsaq , I added "/dev/usb1 /mnt/zip ...................."
What is the problem?
Thanks a lot!
- 09-16-2005 #2
I take it that the usb device is a storage device like a hdd or usb stick?
THen open up a terminal and do:and now you should be able to access the usb storage device at /mnt/usb.Code:su - [rootpass] mkdir /mnt/usb mount /dev/sda1 /mnt/usb
Further reading
dylunio
- 09-16-2005 #3Just Joined!
- Join Date
- Nov 2004
- Posts
- 43
Thanks for your reply. However it doesn't work. Here is the message from log file.
usb 1-6: new high speed USB device using address 3
Sep 16 18:02:04 kernel: scsi1 : SCSI emulation for USB Mass Storage devices
Sep 16 18:02:04 kernel: Vendor: Kingston Model: DataTraveler 2.0 Rev: 1.00
Sep 16 18:02:04 kernel: Type: Direct-Access
ANSI SCSI revision: 02
Sep 16 18:02:04 kernel: SCSI device sda: 974848 512-byte hdwr sectors (499 MB)
Sep 16 18:02:04 kernel: sda: assuming Write Enabled
Sep 16 18:02:04 kernel: sda: sda1
Sep 16 18:02:04 kernel: Attached scsi removable disk sda at scsi1, channel 0, id 0, lun 0
Sep 16 18:02:05 kernel: Attached scsi generic sg0 at scsi1, channel 0, id 0, lun 0, type 0
Sep 16 18:02:05 kernel: scsi.agent[1485]: sd_mod: can't be loaded (for disk)
My /etc/fstab file has " /dev/sda1 /mnt/usbflash vfat defaults,user,noauto 0 0
I typed " mount /mnt/usbflash"
It got the errors " mount: wrong fs type, bad option, bad superblock on /dev/sda1,
or too many mounted file systems"
Does my lg file say correctly about "sd_mod" has problems? What does that mount information mean?
Thanks again!
- 09-17-2005 #4
Firstly I'll check that the filesyntem of the usb drive is fat32 (or another fat fs), since you state that it is with vfat in the fstab line.
Ok if it still doesn't word runand tell us if anything comes up.Code:lsmod | grep sd_mod
- 09-17-2005 #5Just Joined!
- Join Date
- Nov 2004
- Posts
- 43
Another information. When I typed "
fdisk /dev/sda"
God error " Unable to open /dev/sda".
Also, I found information from /var/log/messages
Sep 16 18:02:05 scsi.agent[1485]: sd_mod: can't be loaded (for disk)
Sep 16 18:06:39 Unable to load NLS charset cp437
Where did I wrong? Thanks a lot......
- 09-17-2005 #6Just Joined!
- Join Date
- Nov 2004
- Posts
- 43
I typed "lsmod | grep sd_mod" and nothing happens.
Originally Posted by dylunio
I mean, I don't have sd_mod. Is this the problem? How should I install this module?
Thanks a lot.
- 09-18-2005 #7Just Joined!
- Join Date
- Sep 2005
- Posts
- 6
If that doesn't work, and I suspect it won't, then the module is likely missing.Code:modprobe sd_mod
If you've built your own kernel (I believe you did), then you'll need to build the scsi modules as well. Linux uses SCSI emulation for usb mass storage devices.
- 09-18-2005 #8Just Joined!
- Join Date
- Nov 2004
- Posts
- 43
Thanks for reply! Yes, I built the usb-storage and SCSI in the kernel. The kernel configure file,
Originally Posted by spdf
I enabled the CONFIG_SCSI, CONFIG_SCSI_PROC_FS, and CONFIG_BLK_DEV_SD with yes.
# SCSI device support (CONFIG_SCSI scsi_mod)
# legacy /proc/scsi support (CONFIG_SCSI_PROC_FS)
# SCSI disk support (CONFIG_BLK_DEV_SD sd_mod)
#
That means I really built sd_mod in the kernel , right? because my CONFIG_BLK_DEV_SD =yes.
I use modprobe command and got "module no found". However, that is because my sd_mod is built in the kernel instead of module, right?


Reply With Quote
