PDA

View Full Version : External HDD and dvd writter connected via firewire.



copeloa
09-20-2003, 02:30 AM
Hello:

I just downloaded knoppix and am able to see and do the following:
1.- See my "c" drive as hda1
2.-See the partition "e: as hda5 (there are other folders as well)
3.- Able to open word and excel documents.
4.- on boot, I see the routine recognizing the pcmcia card
5.- When running a command (Forgot which one at this time), I see the following:
Module Used Used by...
USBcore 1 usb-uhci
ohci1394 0 (Unused)
ieee1394 0 shp ohci 1393 (Not sure if it is shp)

This will lead me to believe that knoppix is recognizing the firewire and the usb port, is this correct?

However, neither the Western Digital external hd, nor the hp 300e external dvd writter, which are connected via firewire, are recognized by knoppix. It appears that I need to mount both units, correct?

I need help in the following topics:

A.- Mounting the external drice and the dvd writter. What and how?
B.- While I can read and open documents, I can not move them from hda1 to hda5 or viciversa.
C.- What do I need to do to print documents?

My set up:

IBM Thinkpad A21 laptop
P III; 516 RAM; 20 Giga hard drive
HP Laser Jet 1100 and Desjet 682 printers
External usb/firewire 120 Giga Wester Digital hard drive. (FAT 32)
HP dvd writter 200e (Connected via firewire)

Most of my files are on the external drive, that is why I need to access and move them.
Your help is greatly appreciated.

Copeloa

toni
09-20-2003, 02:16 PM
A) you must do, as root user, insmod ieee1394, to load firewire in kernel.
To mount then disks, i think is something like:
mkdir /mnt/sda1
mount /dev/sda1 /mnt/sda1
(I don't know if it works with Firewire, but with usb2, it works like that. I don't know if Firewire devices are mounted on devices with name sda* )

But.. if you has, before all that Firewire module loaded, as you say, then, you must have too a entry on /etc/fstab to mount that drive.
Simply, execute cat /etc/fstab , and look for drives
for each entry, do mount /mnt/sda1; ls /mnt/sda1 (here using /mnt/sda1 or /mnt/hda1 as an example)
Then, you will find some drive that is your Firewire drive.

B) If hda1or hda5 are NTFS volumes, you can read, but can't write there.
you only can write to FAT32 volumes.

C) To print, go Kde button on Panel (most left bottom icon on screen), then go to Knoppix, then go to Configure, then to configure printer.

copeloa
09-20-2003, 03:28 PM
Thank you Toni:

I will do as you suggested and will post the results.

Copeloa

P.S.- A couple of days ago I was looking for /etc/fstab, but could not find it, perhaps I was looking in the wrong place......

copeloa
09-22-2003, 09:56 PM
hello reckenbacherus:

Earlier in this thread, I posted that I needed help in the following topics:


A.- Mounting the external drive and the dvd writter. What and how?
B.- While I can read and open documents, I can not move them from hda1 to hda5 or viciversa.
C.- What do I need to do to print documents (This item has been partially resolved)
After reading the firewire posts, I found your recommendations:

As root do: > modprobe ohci1394 > Then do lsmod and you should see the driver that you just put in listed.
Then do:
cdrecord -scanbus
I did perform the operations, but was not able to find my driver. This is what I found:

knoppix@ttyp0[knoppix]$ su
root@ttyp0[knoppix]# modprobe ohci1394
root@ttyp0[knoppix]# lsmod
Module Size Used by Not tainted
autofs4 ------------ 8756 1 (autoclean)
af_packet----------13448 0 (autoclean)
nls_iso8859-1------2876 0 (autoclean)
nls_cp437-----------4380 0 (autoclean)
agpgart------------38296 0 (unused)
cs46xx------------ 56464 0
ac97_codec--------11916 0 [cs46xx]
soundcore-----------3428 3 [cs46xx]
3c59x--------------25936 1
serial----------------52004 0 (autoclean)
usb-uhci------------21868 0 (unused)
usbcore-------------57472 1 [usb-uhci]
sbp2----------------16524 0 (unused)
ohci1394-----------22888 0 (unused)
ieee1394----------183332 0 [sbp2 ohci1394]
ds--------------------6536 2
yenta_socket--------9408 2
pcmcia_core--------39712 0 [ds yenta_socket]
apm-------------------9768 2
rtc---------------------6940 0 (autoclean)
cloop------------------8068 2
I believe that this is telling me that neither the ohci1304 nor the ieee1394 are being used, is this correct?. Then with cdrecord -scanbus:

root@ttyp0[knoppix]# cdrecord -scanbus
Cdrecord 2.01a16 (i686-pc-linux-gnu) Copyright (C) 1995-2003 Jörg Schilling
Linux sg driver version: 3.1.25
Using libscg version 'schily-0.7'
scsibus0:
0,0,0 0) 'HITACHI ' 'DVD-ROM GD-S200 ' '0034' Removable CD-ROM
0,1,0 1) * > 0,2,0 2) * > 0,3,0 3) * > 0,4,0 4) * > 0,5,0 5) *
0,6,0 6) * > 0,7,0 7) *

Perhaps I am not following your instructions properly, actually, I have not listed any drivers thinking that Knoppix will find it autmatically. Please let me know if this the case.
Please note that I have connected the Western Digital external drive to my 1.1 USB, and it works.

Thanks you for your help

Copeloa
P.S.- I have sent you an e-mail, by I am not sure if it was delivered. Thanks again

copeloa
09-22-2003, 10:36 PM
toni:

I have tried your suggestions, but this is what I get:

knoppix@ttyp0[knoppix]$ cat /etc/fstab
proc /proc proc defaults 0 0
pts /dev/pts devpts mode=0622 0 0
/dev/fd0 /mnt/auto/floppy auto user,noauto,exec,umask=000 0 0
/dev/cdrom /mnt/auto/cdrom auto user,noauto,exec,ro 0 0
# Added by KNOPPIX
/dev/hda1 /mnt/hda1 vfat noauto,users,exec,umask=000,uid=knoppix,gid=knoppi x 0 0
# Added by KNOPPIX
/dev/hda5 /mnt/hda5 vfat noauto,users,exec,umask=000,uid=knoppix,gid=knoppi x 0 0
knoppix@ttyp0[knoppix]$ mkdir /mnt/sda1
mkdir: cannot create directory `/mnt/sda1': Permission denied
knoppix@ttyp0[knoppix]$ su
root@ttyp0[knoppix]# mkdir /mnt/sda1
root@ttyp0[knoppix]# mount /dev/sda1 /mnt/sda1
mount: /dev/sda1 is not a valid block device
root@ttyp0[knoppix]#
As you can see, it is telling me that sda1 is not a valid block device. I think that my problems is that, while the ieee modules are installed, they are not being recognized at all. On the other hand, I may be doing something wrong and do no know about it.

Thanks

Copeloa

copeloa
09-24-2003, 01:51 AM
Update on my issues:

I just downloaded the new 3.3 version, and I have the same issues as before.
One thing that I noticed while running dmseg, is that it is stating the
"Failed initialization of WD-7000 SCSI card" (This is the external drive)
"kmod: failed to ece /sbin/mdprobe -s -k nls_iso8859-1, errno =2"
I have tried instmod WD, but did not go trhough.
One thing worth mentioning is that when I connect the external drive to the USB 1.1 port, Knoppix recognizes it. But I would like to be able to install it through the firewire card.

Can anybody shed some light into this?

Thanks

Copeloa

copeloa
09-25-2003, 02:31 AM
Well, I resolved my problem:

Basically, I run a script called rescan-scsi-bus-.sh, and after that running it, the system recognized both the external drive and the dvd writter. Then I mounted the sda1 into a newly created /fw folder.
While now knoppix is recognizing both devices, I still need to learn how access such files, as well as to bring them back automatically when booting knoppix.

Regards

Copeloa