Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
|
01-07-2003, 11:09 AM
|
#1
|
Member
Registered: Jan 2003
Location: Ohio, USA
Distribution: RH 9.0 / Fedora Core 3
Posts: 58
Rep:
|
problems mounting
I'm having problems mounting any hard drives other than the one I'm running RH 8.0 on. In addition to that drive, I had a CD rom on the same IDE channel, which mounts fine, and an IDE drive on a secondary IDE channel set to master with a ZIP disk slave on that IDE channel. The drive is formatted FAT32. I also have a SCSI drive running off an adaptec card that is configured as scsi device 2.
when I "mount -t vfat /dev/sda /mnt/scsi"
I get the error, "Not a valid block device"
when I try to mount the IDE drive:
"mount -t vfat /dev/hdb /dev/IDE2"
I get a longer error message that says it is either the wrong file system, a bad superblock, or I have too many devices mounted.
I've ordered a book
... but until it comes in I need some help!
Please.....:
|
|
|
01-07-2003, 11:26 AM
|
#2
|
Member
Registered: Dec 2002
Location: World
Distribution: Fedora Core 4
Posts: 127
Rep:
|
Re: problems mounting
Quote:
Originally posted by ewto
when I try to mount the IDE drive:
"mount -t vfat /dev/hdb /dev/IDE2"
I get a longer error message that says it is either the wrong file system, a bad superblock, or I have too many devices mounted.
|
Your second ide hd may be "hdc" as you have two ide devices on the first ide channel.
Also note you're trying to mount on /dev/IDE2, not on /mnt/<something> as usual (mistyping ?)... and, surely your disk is partitioned, guessing on that is just one partition (vfat = M$) so try this:
"mount -t vfat /dev/hdc1 /mnt/IDE2"
HTH
Last edited by finidi; 01-07-2003 at 11:29 AM.
|
|
|
01-07-2003, 11:42 PM
|
#3
|
Member
Registered: Jan 2003
Location: Ohio, USA
Distribution: RH 9.0 / Fedora Core 3
Posts: 58
Original Poster
Rep:
|
Thanks!
That did the trick (/hdc1)
And you were right, I mis-typed the directory for /mnt in my post.
|
|
|
01-08-2003, 02:38 AM
|
#4
|
Member
Registered: Dec 2002
Location: World
Distribution: Fedora Core 4
Posts: 127
Rep:
|
What about the ZIP and the SCSI ???
|
|
|
01-08-2003, 03:27 AM
|
#5
|
Member
Registered: Jan 2003
Location: Ohio, USA
Distribution: RH 9.0 / Fedora Core 3
Posts: 58
Original Poster
Rep:
|
The Zip, which is the slave on the second IDE channel, mounts just fine.
The SCSI, I still have no luck with. It's a kind of strange setup with the drive I'm trying to mount being an IDE drive connected through a SCSI to IDE converter to SCSI id 02 on an ADAPTEC 29320 card with a hardware write blocker installed. I can read the drive fine in DOS 6.22, Win98, and Win2K. My linux newbie-ness appears to be keeping me from connecting to it when booting to linux.
|
|
|
01-08-2003, 11:49 AM
|
#6
|
Member
Registered: Dec 2002
Location: World
Distribution: Fedora Core 4
Posts: 127
Rep:
|
Could you post your /var/log/dmesg file ?
(at least the logging of the scsi subsystem startup)
Also, if cdrecord is installed in your system, you may see the scsi drive issuing a "cdrecord --scanbus" command.
|
|
|
01-09-2003, 03:02 AM
|
#7
|
Member
Registered: Jan 2003
Location: Ohio, USA
Distribution: RH 9.0 / Fedora Core 3
Posts: 58
Original Poster
Rep:
|
Is this the section you mean?
SCSI subsystem driver Revision: 1.00
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
Also, further down near the end of the file I saw this:
scsi0 : SCSI host adapter emulation for IDE ATAPI devices
Vendor: SONY Model: DVD+RW DRU-120A Rev: 1.13
Type: CD-ROM ANSI SCSI revision: 02
I can post the entire (long) dmesg file if you want, but I thought I'd try this first.
I had tried the cdrecord -scanbus command, and it just lists my DVD burner, no other scsi devices.
Thanks again!
|
|
|
01-09-2003, 03:10 AM
|
#8
|
Senior Member
Registered: Sep 2002
Location: Arizona, US, Earth
Distribution: Slackware, (Non-Linux: Solaris 7,8,9; OSX; BeOS)
Posts: 1,152
Rep:
|
Re: problems mounting
Post the output of:
and
Code:
cat /proc/scsi/scsi
Last edited by moses; 01-09-2003 at 03:13 AM.
|
|
|
01-09-2003, 06:35 AM
|
#9
|
Member
Registered: Jan 2003
Location: Ohio, USA
Distribution: RH 9.0 / Fedora Core 3
Posts: 58
Original Poster
Rep:
|
Here it be:
Code:
[root@nts2 root]# lsmod
Module Size Used by Not tainted
tg3 46760 1 (autoclean)
sr_mod 18136 0 (autoclean)
binfmt_misc 7524 1
autofs 13348 0 (autoclean) (unused)
iptable_filter 2412 0 (autoclean) (unused)
ip_tables 14936 1 [iptable_filter]
microcode 4668 0 (autoclean)
ide-scsi 10512 0
ide-cd 33608 0
cdrom 33696 0 [sr_mod ide-cd]
ohci1394 20108 0 (unused)
ieee1394 46892 0 [ohci1394]
nls_iso8859-1 3516 1 (autoclean)
nls_cp437 5116 1 (autoclean)
vfat 13084 1 (autoclean)
fat 38712 0 (autoclean) [vfat]
mousedev 5524 1
keybdev 2976 0 (unused)
hid 22244 0 (unused)
input 5888 0 [mousedev keybdev hid]
usb-uhci 26188 0 (unused)
ehci-hcd 17480 0 (unused)
usbcore 77024 1 [hid usb-uhci ehci-hcd]
sd_mod 13552 0 (unused)
scsi_mod 107144 3 [sr_mod ide-scsi sd_mod]
and ...
Code:
[root@nts2 root]# cat /proc/scsi/scsi
Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
Vendor: SONY Model: DVD+RW DRU-120A Rev: 1.13
Type: CD-ROM ANSI SCSI revision: 02
Thanks !!
|
|
|
01-09-2003, 11:37 AM
|
#10
|
Senior Member
Registered: Sep 2002
Location: Arizona, US, Earth
Distribution: Slackware, (Non-Linux: Solaris 7,8,9; OSX; BeOS)
Posts: 1,152
Rep:
|
It looks like you don't have the driver for your SCSI card installed.
You need to figure out which driver works for it, and either find it
in /lib/modules/. . ./kernel/drivers/scsi or build it from the kernel
source.
|
|
|
01-10-2003, 03:01 AM
|
#11
|
Member
Registered: Dec 2002
Location: World
Distribution: Fedora Core 4
Posts: 127
Rep:
|
I agree with moses, isn't loading the hardware level driver... model of your controller ? vendor ?
Last edited by finidi; 01-10-2003 at 03:04 AM.
|
|
|
01-10-2003, 09:17 PM
|
#12
|
Member
Registered: Jan 2003
Location: Ohio, USA
Distribution: RH 9.0 / Fedora Core 3
Posts: 58
Original Poster
Rep:
|
It's an ADAPTEC 29320
One of the newer ones ... perhaps that's part of the problem?
|
|
|
01-11-2003, 01:17 AM
|
#13
|
Senior Member
Registered: Sep 2002
Location: Arizona, US, Earth
Distribution: Slackware, (Non-Linux: Solaris 7,8,9; OSX; BeOS)
Posts: 1,152
Rep:
|
That card should have come with drivers for RH 8.0. You could
probably browse Adaptec's web site and download the driver if
you don't have it. . .
|
|
|
01-11-2003, 03:21 AM
|
#14
|
Member
Registered: Dec 2002
Location: World
Distribution: Fedora Core 4
Posts: 127
Rep:
|
Look http://www.adaptec.com, I can see specific drivers for RH8 & your controller card
|
|
|
01-13-2003, 05:21 AM
|
#15
|
Member
Registered: Jan 2003
Location: Ohio, USA
Distribution: RH 9.0 / Fedora Core 3
Posts: 58
Original Poster
Rep:
|
ok .... thanks for all your help so far, and I hope you haven't tired of my sophmoric knowledge of Linux yet. I installed (I thought) the drivers like so using the rpm
rpm -ivh aic79xx-1.1.0-rh80.i686.rpm
It acted like it took, but on reboot, no change, I'm still not seeing the scsi drive anywhere...
|
|
|
All times are GMT -5. The time now is 09:12 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|