LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 11-28-2003, 01:29 PM   #1
Spaz17
Member
 
Registered: Jul 2003
Location: Somewhere, over the rainbow, way up high
Distribution: Gentoo
Posts: 132

Rep: Reputation: 15
micro advantage 64mb quickdrive


the manual says its plug and play in linux 2.4 or grater, windows xp and whatnot, and mac os 9.0

ive got it plugged but i cant ssem to play

how do i use this device?
 
Old 11-28-2003, 02:33 PM   #2
Spaz17
Member
 
Registered: Jul 2003
Location: Somewhere, over the rainbow, way up high
Distribution: Gentoo
Posts: 132

Original Poster
Rep: Reputation: 15
ok

i consulted the manual, found the device (/dev/sda) and am attempting to mount it,
but:

[root@zeus mnt]# mount -t ext3 /dev/sda /mnt/usb_hd
mount: wrong fs type, bad option, bad superblock on /dev/sda,
or too many mounted file systems
[root@zeus mnt]#

i try do make a filesystem on /dev/sda but i cant, because mkfs isnt there:;

[root@zeus mnt]# mkfs -t ext3 /dev/sda
bash: mkfs: command not found

why?
how do i work around this?

Last edited by Spaz17; 11-28-2003 at 02:44 PM.
 
Old 12-01-2003, 03:57 PM   #3
thrombomodulin
LQ Newbie
 
Registered: Dec 2003
Location: MI, USA
Distribution: FC 2
Posts: 14

Rep: Reputation: 0
Micro Advantage 64MB QuickiDrive

If your kernel is not compiled with SCSI support the device will not work.

The following shell session shows my setup. Note the device (/dev/sda1) may be different on your machine. /etc/sysconfig/hwconf theoretically should show the device name (sda1 or whatever it is). I think, however, it is only updated when you boot the machine with the device plugged in which I've never done before to find out if it works.

My device came with a preformatted 'vfat' partition, so you don't need to do mkfs. Your mkfs command only had failed because mkfs was not in your PATH. (try /sbin/mkfs). You probably want to stick with 'vfat' if you want to be able to use it in a windows machine.

FYI: I am running redhat linux 8.0, with 2.4.22-pre6 kernel, with SCSI supported.

I believe I only edited /etc/fstab to add /dev/sda1, and did mkdir /mnt/memstick as root

The disk size is reported correctly by df -k once the mounting is done.

The light flashes slowly after unmounting. I don't know what that means, please post if you find out what it is.

1 0 % cat /etc/fstab
LABEL=/ / ext3 defaults 1 1
LABEL=/boot /boot ext2 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
LABEL=/home /home ext3 defaults 1 2
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
LABEL=/usr/local /usr/local ext3 defaults 1 2
/dev/hda6 swap swap defaults 0 0
/dev/fd0 /mnt/floppy auto noauto,owner,kudzu 0 0
/dev/cdrom /mnt/cdrom iso9660 noauto,owner,kudzu,ro 0 0
/dev/sda1 /mnt/memstick auto noauto,owner,user 0 0
2 0 % ls -ld /mnt/memstick /dev/sda1
brw-rw---- 1 root disk 8, 1 Aug 30 2002 /dev/sda1
drwxr-xr-x 2 root disk 4096 Dec 1 17:02 /mnt/memstick
3 0 % mount
/dev/hda2 on / type ext3 (rw)
none on /proc type proc (rw)
usbdevfs on /proc/bus/usb type usbdevfs (rw)
/dev/hda1 on /boot type ext2 (rw)
none on /dev/pts type devpts (rw,gid=5,mode=620)
/dev/hda3 on /home type ext3 (rw)
none on /dev/shm type tmpfs (rw)
/dev/hda5 on /usr/local type ext3 (rw)
/dev/cdrom on /mnt/cdrom type iso9660 (ro,nosuid,nodev,user=bob)
4 0 % whoami
bob
5 0 % mount /mnt/memstick/
6 0 % mount
/dev/hda2 on / type ext3 (rw)
none on /proc type proc (rw)
usbdevfs on /proc/bus/usb type usbdevfs (rw)
/dev/hda1 on /boot type ext2 (rw)
none on /dev/pts type devpts (rw,gid=5,mode=620)
/dev/hda3 on /home type ext3 (rw)
none on /dev/shm type tmpfs (rw)
/dev/hda5 on /usr/local type ext3 (rw)
/dev/cdrom on /mnt/cdrom type iso9660 (ro,nosuid,nodev,user=bob)
/dev/sda1 on /mnt/memstick type vfat (rw,noexec,nosuid,nodev,user=bob)
7 0 % cp ~/data/data.fin /mnt/memstick/
8 0 % umount /mnt/memstick/
9 0 % mount
/dev/hda2 on / type ext3 (rw)
none on /proc type proc (rw)
usbdevfs on /proc/bus/usb type usbdevfs (rw)
/dev/hda1 on /boot type ext2 (rw)
none on /dev/pts type devpts (rw,gid=5,mode=620)
/dev/hda3 on /home type ext3 (rw)
none on /dev/shm type tmpfs (rw)
/dev/hda5 on /usr/local type ext3 (rw)
/dev/cdrom on /mnt/cdrom type iso9660 (ro,nosuid,nodev,user=bob)
10 0 %

/var/log/messages shows:

Dec 1 17:47:34 smith kernel: hub.c: new USB device 00:03.3-3, assigned address 3
Dec 1 17:47:37 smith /etc/hotplug/usb.agent: Setup usb-storage for USB product ea0/2168/200
Dec 1 17:47:50 smith kernel: sda: Unit Not Ready, sense:
Dec 1 17:47:50 smith kernel: Current 00:00: sense key Unit Attention
Dec 1 17:47:50 smith kernel: Additional sense indicates Not ready to ready change,medium may have changed
Dec 1 17:47:50 smith kernel: sda : READ CAPACITY failed.
Dec 1 17:47:50 smith kernel: sda : status = 1, message = 00, host = 0, driver = 08
Dec 1 17:47:50 smith kernel: Current sd00:00: sense key Unit Attention
Dec 1 17:47:50 smith kernel: Additional sense indicates Not ready to ready change,medium may have changed
Dec 1 17:47:50 smith kernel: sda : block size assumed to be 512 bytes, disk size 1GB.
Dec 1 17:47:50 smith kernel: sda: Write Protect is off
Dec 1 17:47:50 smith kernel: sda: sda1
Dec 1 17:48:01 smith kernel: usb.c: USB disconnect on device 00:03.3-3 address 3
 
Old 12-30-2003, 07:39 AM   #4
chris2
LQ Newbie
 
Registered: Dec 2003
Posts: 1

Rep: Reputation: 0
nb. i was able to get my QuickiDrive 128 working w/Redhat8.0 straight out of the box, by plugging in the drive and using the command 'mkdir /mnt/usb; mount /dev/sda1 /mnt/usb'

thanks for the help!
--chris
 
Old 12-30-2003, 11:52 AM   #5
[ox]
LQ Newbie
 
Registered: May 2003
Posts: 12

Rep: Reputation: 0
Quote:
Originally posted by Spaz17

[root@zeus mnt]# mount -t ext3 /dev/sda /mnt/usb_hd
mount: wrong fs type, bad option, bad superblock on /dev/sda,
or too many mounted file systems
[root@zeus mnt]#
[root@zeus mnt]# mkfs -t ext3 /dev/sda
bash: mkfs: command not found

why?
how do i work around this?

I think it is because the drive is fat type , so if u try -t vfat would work, or just omit the -t and it will also work I got same thing and iot is working fine
As for the mkfs try /sbin/mkfs , or maybe locate mkfs

Hope that helps

Last edited by [ox]; 12-30-2003 at 11:54 AM.
 
Old 01-01-2004, 01:16 PM   #6
Spaz17
Member
 
Registered: Jul 2003
Location: Somewhere, over the rainbow, way up high
Distribution: Gentoo
Posts: 132

Original Poster
Rep: Reputation: 15
you were right on both, ox

-t vfat allows me to mount it

and mke2fs is in /sbin/mkefs
 
  


Reply



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
People who call it M$ or Micro$oft or Micro$loth lowpro2k3 General 48 12-24-2007 12:19 AM
Apache advantage? linuxhippy Slackware 12 08-31-2005 08:44 PM
advantage of primary over logical abunsair Linux - Hardware 4 07-04-2005 05:37 PM
how to take advantage of openMOSIX ? qwijibow Programming 5 01-14-2005 04:39 AM
mandrake gui advantage paoloto2 Linux - Software 5 03-11-2004 06:25 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 07:09 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