I tried using my usb pendrive, but it won't mount. I been doing a little bit of research on it, the problem might be that I either don't have scis emulation, and I need to rebuild my kernel again, or something else is missing. I rebuilt from the 2.4.26 to the 2.6.7 kernel, and I believe it has scsi emulation but I need to activate it. Could someone please help. Thanks in advance.

Dani AI

Generated

Following and , here are focused diagnostics and fixes that go beyond loading a driver and trying to mount. These steps show what the kernel actually sees, how to find the device node, and which kernel features must be present for a USB flash drive to become a usable block device.

Run these checks right after plugging the stick and inspect the outputs for vendor/product IDs, assigned block device, and errors:

dmesg | tail -n 80
lsusb
ls -l /sys/bus/usb/devices/
cat /proc/partitions
blkid
file -s /dev/sdX     # replace sdX with the device node you find
udevadm monitor --environment --udev
lsmod | grep -i usb

What to look for and next steps:

  • If kernel messages show the device but no block device is created, the host-controller driver or the USB mass-storage path in the kernel may be missing or not bound. Check kernel config (look for USB host-controller drivers, USB mass-storage, SCSI disk support and block-device drivers) and rebuild with those enabled if necessary.
  • If a block device appears but no partitions are listed, the stick might be using a “superfloppy” layout (no partition table). Test filesystem detection with blkid or file -s and mount the device node directly if appropriate.
  • If the filesystem is not recognized, enable the appropriate filesystem drivers (e.g., msdos/vfat) in the kernel or as modules.
  • Use udevadm monitor while plugging the device to see node creation and any udev errors.

For authoritative details on the kernel-side USB mass-storage path and required options, see the kernel documentation: .

Recommended Answers

All 2 Replies

Member Avatar for Member #2466

so you've tried:

%> mount -t vfat /dev/sda1 /mnt/usbpen

and/or

%> modprobe usb-storage

??

Also...it's important to note that USB drives are detecting oddly with the new kernels ...not as sda1 but as actual device hdb1 or something close to that.


FYI
scsi support is enabled by default when you select that option during your kernel recompile...it requires no 'turning on'

so you've tried:

%> mount -t vfat /dev/sda1 /mnt/usbpen

and/or

%> modprobe usb-storage

??

Also...it's important to note that USB drives are detecting oddly with the new kernels ...not as sda1 but as actual device hdb1 or something close to that.


FYI
scsi support is enabled by default when you select that option during your kernel recompile...it requires no 'turning on'

Thanks for the info. Yeah I tried everything you mentioned. I really don't know what else to do, maybe I'll rebuild my kernel again.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.