2005-07-01, 06:54 PM
Hello, I am running Ubuntu Hoary 5.04 with a custom kernel 2.6.11-12 and I am having a problem getting the memory stick to mount.
When I compiled the kernel I selected SCSI disk support as a module, MMC/SD support compiled in, MMC block device driver compiled in as a module, USB Mass Storage Support compiled in,
Here is the output from /var/log/messages when i put the stick in the drive:
Jul 1 11:25:42 localhost kernel: usb 3-1: new full speed USB device using uhci_hcd and address 9
Jul 1 11:25:42 localhost kernel: scsi7 : SCSI emulation for USB Mass Storage devices
Jul 1 11:25:47 localhost kernel: Vendor: Generic Model: CF Reader Rev: 1.01
Jul 1 11:25:47 localhost kernel: Type: Direct-Access ANSI SCSI revision: 00
Jul 1 11:25:47 localhost kernel: Attached scsi removable disk sda at scsi7, channel 0, id 0, lun 0
Jul 1 11:25:47 localhost scsi.agent[7508]: sd_mod: loaded sucessfully
/etc/udev/udev.conf says :
# udev_root - where in the filesystem to place the device nodes
udev_root="/dev/"
the only new devices in /dev when I put the stick in are :
brw-r----- 1 root plugdev 8, 0 Jul 1 11:42 sda
if i attemped to mount that:
root@jerlaptop:/usr/src/linux # mount -t vfat /dev/sda /mnt/mstick/
mount: No medium found
here is udevinfo :
root@jerlaptop:/usr/src/linux # udevinfo -a -p /sys/block/sda
looking at the device chain at '/sys/devices/pci0000:00/0000:00:1d.2/usb3/3-1/3-1:1.0/host8/target8:0:0/8:0:0:0':
BUS="scsi"
ID="8:0:0:0"
SYSFS{detach_state}="0"
SYSFS{device_blocked}="0"
SYSFS{max_sectors}="240"
SYSFS{model}="CF Reader "
SYSFS{queue_depth}="1"
SYSFS{queue_type}="none"
SYSFS{rev}="1.01"
SYSFS{scsi_level}="3"
SYSFS{state}="running"
SYSFS{timeout}="30"
SYSFS{type}="0"
SYSFS{vendor}="Generic "
Everything seems to check out fine! But /dev/sda1 isn't being created and I get the no medium found. Even if I do
#mknod /dev/sda1 b 8 1
I get a no medium found error. If anyone can help, please do! Thanks!