LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   problems mounting (https://www.linuxquestions.org/questions/linux-newbie-8/problems-mounting-40583/)

ewto 01-07-2003 10:09 AM

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 :study:

... but until it comes in I need some help!

Please.....:

finidi 01-07-2003 10:26 AM

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

ewto 01-07-2003 10:42 PM

Thanks!

That did the trick (/hdc1)
And you were right, I mis-typed the directory for /mnt in my post.

finidi 01-08-2003 01:38 AM

What about the ZIP and the SCSI ???

ewto 01-08-2003 02:27 AM

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.

:confused:

finidi 01-08-2003 10:49 AM

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.

ewto 01-09-2003 02:02 AM

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!

moses 01-09-2003 02:10 AM

Re: problems mounting
 
Post the output of:
Code:

lsmod
and
Code:

cat /proc/scsi/scsi

ewto 01-09-2003 05:35 AM

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 !!

moses 01-09-2003 10:37 AM

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.

finidi 01-10-2003 02:01 AM

I agree with moses, isn't loading the hardware level driver... model of your controller ? vendor ?

ewto 01-10-2003 08:17 PM

It's an ADAPTEC 29320

One of the newer ones ... perhaps that's part of the problem?

moses 01-11-2003 12:17 AM

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. . .

finidi 01-11-2003 02:21 AM

Look http://www.adaptec.com, I can see specific drivers for RH8 & your controller card

ewto 01-13-2003 04:21 AM

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 10:14 AM.