LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   cigar pro usb drive (https://www.linuxquestions.org/questions/linux-software-2/cigar-pro-usb-drive-60795/)

allelopath 05-20-2003 08:22 AM

cigar pro usb drive
 
I am having difficulty getting my cigar pro usb drive to work in RH 9.0 (it was working in 7.3)

I create the folder /mnt/cigarpro, then on the next command i get an error:
>>mount -t ext2 /dev/sda /mnt/cigarpro
mount: wrong fs type, bad option, bad superblock on /dev/sda, or too many mounted file systems

I enter:
>>dd if=/dev/sda of=/tmp/drivedump count=1024
1024+0 records in
1024+0 records out

the file drivedump is binary, so can't really read it.

also did:
>>cat /proc/partitions
major minor #blocks name rio rmerge rsect ruse wio wmerge wsect wuse running use aveq

8 0 516096 sda 2655 166473 338256 433100 0 0 0 0 0 212720 433100
8 1 515568 sda1 2638 165771 336818 427640 0 0 0 0 0 209600 427640
3 0 58615704 hda 30101 27053 456140 246970 14313 63455 622272 1103480 -1 4132530 40001582
3 1 104391 hda1 34 83 234 360 21 11 64 450 0 790 810
3 2 57199432 hda2 30050 26917 455706 246460 14292 63444 622208 1103030
0 225440 1350090
3 3 1309297 hda3 14 44 176 110 0 0 0 0 0 110 110
3 64 13282416 hdb 3215 4969 64746 740340 909 1066 15792 34330 -1 4270040 39425222
3 65 13277691 hdb1 3213 4963 64730 740330 909 1066 15792 34330 0 385190
774660

Tried the same commands with sda1 (instead of sda) with the same results.

Can anyone tell me what else to do?

DanH 05-20-2003 08:37 AM

1) Try mounting the /tmp/drivedump file in the cigarpro directory and see what happens. Try it as ext2, fat, and vfat and see if one of those works.

2) try using format and see what comes out when you chose the usb drive and then p for partition. That will give you what format it is.

DanH

allelopath 05-20-2003 10:35 AM

>>mount -t ext2 /tmp/drivedump /mnt/cigarpro
mount: /tmp/drivedump is not a block device (maybe try `-o loop'?)

>> mount -t fat /tmp/drivedump /mnt/cigarpro
mount: fs type fat not supported by kernel

>>mount -t vfat /tmp/drivedump /mnt/cigarpro
mount: /tmp/drivedump is not a block device (maybe try `-o loop'?)

I didnt see loop as an option for -o

I'm not sure what you mean by your format suggestion.

DanH 05-20-2003 10:50 AM

mount -t ext2 -o ro,loop=/dev/loop0 /tmp/drivedump /mnt/cigarpro

as root type
fdisk /dev/sda

that will bring you to a menu or give you a "Not a valid block device" error. If it's the error, try sdb sdc, etc and see what it comes back as.

In any case, check /var/log/messages and have a tail -f /var/log/messages going when you plug the drive in and see what the output tells you. It'll tell you if the drive is recognized and what device it becomes.

DanH

allelopath 05-20-2003 11:37 AM

i don't know how you guys know all these commands, its amazing to me.

>>mount -t ext2 -o ro,loop=/dev/loop0 /tmp/drivedump /mnt/cigarpro
mount: wrong fs type, bad option, bad superblock on /dev/loop0,
or too many mounted file systems

>>fdisk /dev/sda
Command (m for help): m
Command action
a toggle a bootable flag
b edit bsd disklabel
c toggle the dos compatibility flag
d delete a partition
l list known partition types
m print this menu
n add a new partition
o create a new empty DOS partition table
p print the partition table
q quit without saving changes
s create a new empty Sun disklabel
t change a partition's system id
u change display/entry units
v verify the partition table
w write table to disk and exit
x extra functionality (experts only)

What to choose?

When i unplug and replug the device, /var/log/messages says:
May 20 10:37:09 localhost kernel: usb.c: USB disconnect on device 00:13.2-3.2 address 3
May 20 10:37:14 localhost kernel: hub.c: new USB device 00:13.2-3.2, assigned address 4
May 20 10:37:17 localhost /etc/hotplug/usb.agent: Setup usb-storage for USB product ea0/6803/100

carlywarly 05-20-2003 12:37 PM

Shouldn't that command be

mount -t vfat /dev/sda1 ?

Fazigu 08-20-2003 02:15 PM

I was having the same problem, and fixed it by including the sd_mod module.

modprobe sd_mod

After that, I could mount the drive just fine.

Half_Elf 08-20-2003 10:13 PM

you probably need to mount /dev/sda1

try it :)

allelopath 08-22-2003 04:02 PM

Thanks for the tip
I don't know what I did, but at some put it just started working


All times are GMT -5. The time now is 09:58 PM.