|
Prev: charges
Next: error with plug-ins in mozilla??
From: Anthony Tippett on 26 Feb 2005 23:10 I'm having issues trying to partition/mount an usb device. The device is a HP usb digital drive (looks like a small memstick). If anyone can help or has suggestions please let me know. When I insert the device into the usb it is registered with hotplug: ------------- /var/log/messages Feb 26 19:15:30 act kernel: usb 2-2: new full speed USB device using address 11 Feb 26 19:15:30 act kernel: scsi8 : SCSI emulation for USB Mass Storage devices Feb 26 19:15:30 act kernel: Vendor: HP Model: Digital Drive Rev: 1. 00 Feb 26 19:15:30 act kernel: Type: Direct-Access ANSI SC SI revision: 02 Feb 26 19:15:30 act kernel: Attached scsi removable disk sda at scsi8, channel 0 , id 0, lun 0 Feb 26 19:15:30 act scsi.agent[18757]: disk at /devices/pci0000:00/0000:00:02.1/ usb2/2-2/2-2:1.0/host8/8:0:0:0 Feb 26 19:15:31 act usb.agent[18749]: usb-storage: already loaded However, when I try to partition the disk it says "No medium found". ------------ partition steps act:/home/atippett# fdisk /dev/sda Unable to open /dev/sda act:/home/atippett# cfdisk /dev/sda act:/home/atippett# sfdisk /dev/sda /dev/sda: No medium found sfdisk: cannot open /dev/sda read-write act:/home/atippett# Here's my information from /proc ------------------ act:/home/atippett# cat /proc/scsi/usb-storage/9 Host scsi9: usb-storage Vendor: Hewlett-Packard Product: USB Digital Drive Serial Number: None Protocol: Transparent SCSI Transport: Bulk Quirks: act:/home/atippett# cat /proc/scsi/scsi Attached devices: Host: scsi9 Channel: 00 Id: 00 Lun: 00 Vendor: HP Model: Digital Drive Rev: 1.00 Type: Direct-Access ANSI SCSI revision: 02 act:/home/atippett# -- Anthony -- To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
From: ABrady on 27 Feb 2005 02:50 On Sat, 26 Feb 2005 19:32:17 -0800 Anthony Tippett <atippett(a)sports-it.com> wrote: > I'm having issues trying to partition/mount an usb device. The device > is a HP usb digital drive (looks like a small memstick). If anyone > can help or has suggestions please let me know. > > When I insert the device into the usb it is registered with hotplug: > Feb 26 19:15:30 act kernel: Attached scsi removable disk sda at scsi8, > channel 0 , id 0, lun 0 > However, when I try to partition the disk it says "No medium found". > Here's my information from /proc Try 'cfdisk -z' on it and see what you get. Barring that, take a look at other drives. Mine have been known to show up as one thing in the logs and end up somewhere else. They've also been known to skip devices, so I have sda, sdb, sde, sdf and so forth instead of having them in order. This varies, so they might end up in order and they might not. Try 'fdisk -l /dev/sd?' changing '?' to a letter to designate the device. -- Microsoft: The company that made computing dangerous. -- To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
From: Anthony Tippett on 27 Feb 2005 15:10 Brady, When running cfdisk -z I get the following error: FATAL ERROR: Cannot open disk drive Press any key to exit cfdisk The only scsi device that hotplug created was /dev/sda (no other sd?) version of linux: Linux act 2.6.7-1-k7 I think that the /dev/sda is being created incorrectly but i'm not sure. Unfortunately, I have been unable to install udev because all the kernel's above 2.6.7 give me an error when I try to run them and udev requires 2.6.8+ Perhaps I should be working on this problem before I start into this one. btw, here's a listing of my mount, does it look incorrect to anyone? /dev/hde2 on / type ext3 (rw,errors=remount-ro) proc on /proc type proc (rw) sysfs on /sys type sysfs (rw) devpts on /dev/pts type devpts (rw,gid=5,mode=620) tmpfs on /dev/shm type tmpfs (rw) /dev/hda1 on /media/hda1 type xfs (rw) usbfs on /proc/bus/usb type usbfs (rw) /dev on /.dev type unknown (rw,bind) none on /dev type tmpfs (rw,size=5M,mode=0755) nfsd on /proc/fs/nfsd type nfsd (rw) ________________________ end transmission > I'm having issues trying to partition/mount an usb device. The device > is a HP usb digital drive (looks like a small memstick). If anyone > can help or has suggestions please let me know. > > When I insert the device into the usb it is registered with hotplug: > Feb 26 19:15:30 act kernel: Attached scsi removable disk sda at scsi8, > channel 0 , id 0, lun 0 > However, when I try to partition the disk it says "No medium found". > Here's my information from /proc Try 'cfdisk -z' on it and see what you get. Barring that, take a look at other drives. Mine have been known to show up as one thing in the logs and end up somewhere else. They've also been known to skip devices, so I have sda, sdb, sde, sdf and so forth instead of having them in order. This varies, so they might end up in order and they might not. Try 'fdisk -l /dev/sd?' changing '?' to a letter to designate the device. -- Microsoft: The company that made computing dangerous. -- To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
From: Jan C. Nordholz on 27 Feb 2005 15:40 > I'm having issues trying to partition/mount an usb device. The device > is a HP usb digital drive (looks like a small memstick). If anyone can > help or has suggestions please let me know. > > When I insert the device into the usb it is registered with hotplug: > > [snipping log output] Hmm, that's strange... is the USB device actually being claimed by the USB-storage driver? Please check the output of /proc/bus/usb/devices... Jan -- Jan C. Nordholz <jckn At gmx net>
From: Gnu-Raiz on 27 Feb 2005 16:20
On 11:47, Sun 27 Feb 05, Anthony Tippett wrote: > Brady, > > When running cfdisk -z I get the following error: > > > FATAL ERROR: Cannot open disk drive > Press any key to exit cfdisk > > The only scsi device that hotplug created was /dev/sda (no other sd?) > > version of linux: Linux act 2.6.7-1-k7 > > I think that the /dev/sda is being created incorrectly but i'm not > sure. Unfortunately, I have been unable to install udev because all the > kernel's above 2.6.7 give me an error when I try to run them and udev > requires 2.6.8+ > > Perhaps I should be working on this problem before I start into this one. > > btw, here's a listing of my mount, does it look incorrect to anyone? > /dev/hde2 on / type ext3 (rw,errors=remount-ro) > proc on /proc type proc (rw) > sysfs on /sys type sysfs (rw) > devpts on /dev/pts type devpts (rw,gid=5,mode=620) > tmpfs on /dev/shm type tmpfs (rw) > /dev/hda1 on /media/hda1 type xfs (rw) > usbfs on /proc/bus/usb type usbfs (rw) > /dev on /.dev type unknown (rw,bind) > none on /dev type tmpfs (rw,size=5M,mode=0755) > nfsd on /proc/fs/nfsd type nfsd (rw) > > <snip> Are you using the usb tools, like lsusb, which does some of the same things as seen in proc, but a little more. Are you loading the usb storage module, might want to check lsmod to see if its listed. Also check for the proper usb modules listed for your hub, or usb card, maybe its not loading like it should. Another thing that might be of interest is what does lspci say, does it show any unknown devices. What file system does the drive include, what happens if you create one on the drive, with the mkfs -t ext2 /dev/sda/ this could explain why you can not see the drive, as there is nothing on the drive to see, just a thought. Gnu-Raiz -- To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org |