LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-20-2003, 09:22 AM   #1
allelopath
Member
 
Registered: Jan 2003
Location: New Mexico
Distribution: Ubuntu 18.04.3 LTS
Posts: 539

Rep: Reputation: 30
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?
 
Old 05-20-2003, 09:37 AM   #2
DanH
LQ Newbie
 
Registered: May 2003
Posts: 10

Rep: Reputation: 0
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
 
Old 05-20-2003, 11:35 AM   #3
allelopath
Member
 
Registered: Jan 2003
Location: New Mexico
Distribution: Ubuntu 18.04.3 LTS
Posts: 539

Original Poster
Rep: Reputation: 30
>>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.
 
Old 05-20-2003, 11:50 AM   #4
DanH
LQ Newbie
 
Registered: May 2003
Posts: 10

Rep: Reputation: 0
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
 
Old 05-20-2003, 12:37 PM   #5
allelopath
Member
 
Registered: Jan 2003
Location: New Mexico
Distribution: Ubuntu 18.04.3 LTS
Posts: 539

Original Poster
Rep: Reputation: 30
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
 
Old 05-20-2003, 01:37 PM   #6
carlywarly
Member
 
Registered: Feb 2003
Location: Sunny Southport, again.
Distribution: PCLinuxOS 0.93 and 0.92, Vector sometimes
Posts: 825

Rep: Reputation: 30
Shouldn't that command be

mount -t vfat /dev/sda1 ?
 
Old 08-20-2003, 03:15 PM   #7
Fazigu
LQ Newbie
 
Registered: Aug 2003
Posts: 3

Rep: Reputation: 0
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.
 
Old 08-20-2003, 11:13 PM   #8
Half_Elf
LQ Guru
 
Registered: Sep 2001
Location: Montreal, Canada
Distribution: Slackware; Debian; Gentoo...
Posts: 2,163

Rep: Reputation: 46
you probably need to mount /dev/sda1

try it
 
Old 08-22-2003, 05:02 PM   #9
allelopath
Member
 
Registered: Jan 2003
Location: New Mexico
Distribution: Ubuntu 18.04.3 LTS
Posts: 539

Original Poster
Rep: Reputation: 30
Thanks for the tip
I don't know what I did, but at some put it just started working
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
NDIS progress but still no cigar.. sall Linux - Wireless Networking 6 08-08-2005 06:59 PM
USB floppy drive in SuSE 9.1 Pro trevelluk Linux - Hardware 2 09-28-2004 08:23 AM
Who is the guy with the cigar in the slideshow screen saver? DaneM General 1 09-16-2004 04:43 AM
USB drive using different partitions (usb key thumb drive) Arodef Linux - Hardware 0 08-04-2004 07:36 PM
XS Drive II external USB hard drive/card reader max74 Linux - Hardware 7 10-21-2003 11:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:22 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration