Quantcast Linux and Firewire - Page 2 - digitalFAQ.com Forums [Archives]
Go Back    digitalFAQ.com Forums [Archives] > Hardware and Technology Forums > Computers

Reply
 
LinkBack Thread Tools
  #21  
09-24-2003, 12:35 AM
kwag kwag is offline
Free Member
 
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by totonho03
Hi kwag:
I just did that command, and it told me that the sbp2 already existed, and in fact, it is
Using /lib/modules/2.24.22-xfs/kernel/drivers/ieee1394/sbp2.o
Hi Otto,

Then I believe your drivers are all now loaded
Do a: dmesg | grep sda and see if it now displays a sda1 or sda2 device.

-kwag
Reply With Quote
Someday, 12:01 PM
admin's Avatar
Site Staff / Ad Manager
 
Join Date: Dec 2002
Posts: 42
Thanks: ∞
Thanked 42 Times in 42 Posts
  #22  
09-24-2003, 10:37 AM
totonho03 totonho03 is offline
Free Member
 
Join Date: Apr 2003
Location: Fallston, MD. USA
Posts: 419
Thanks: 0
Thanked 0 Times in 0 Posts
Good news

I think that I may be able to see the WD today. I did run the dmesg | grep sda command, and then run dmesg, and no new drives were present.
Then I run the rescan script, and re-run dmesg, receiving the following:
Quote:
sbp2: $Rev: 1010 $ Ben Collins <bcollins@debian.org>
scsi singledevice 0 0 1 0
scsi singledevice 0 0 2 0
scsi singledevice 0 0 3 0
scsi singledevice 0 0 4 0
scsi singledevice 0 0 5 0
scsi singledevice 0 0 6 0
scsi singledevice 0 0 7 0
scsi singledevice 2 0 0 0
Vendor: HP Model: DVD Writer 200j Rev: 1.51 Type: CD-ROM ANSI SCSI revision: 02
Attached scsi CD-ROM sr1 at scsi2, channel 0, id 0, lun 0
sr1: scsi3-mmc drive: 32x/32x writer cd/rw xa/form2 cdda tray
scsi singledevice 2 0 1 0
Vendor: WDC Model: FireWire/USB2.0 Rev: 4.17
Type: Direct-Access ANSI SCSI revision: 06
Attached scsi disk sda at scsi2, channel 0, id 1, lun 0

SCSI device sda: 234375000 512-byte hdwr sectors (120000 MB)
sda: sda1
scsi singledevice 2 0 2 0
scsi singledevice 2 0 3 0
scsi singledevice 2 0 4 0
scsi singledevice 2 0 5 0
scsi singledevice 2 0 6 0
scsi singledevice 2 0 7 0
Then, I run modprob \* > cdrecord -scanbus, and this is what I received back:
Quote:
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) *
scsibus2:
2,0,0 200) 'HP ' 'DVD Writer 200j ' '1.51' Removable CD-ROM
2,1,0 201) 'WDC ' 'FireWire/USB2.0 ' '4.17' Disk

2,2,0 202) *
2,3,0 203) *
2,4,0 204) *
2,5,0 205) *
2,6,0 206) *
2,7,0 207) *
root@ttyp1[knoppix]#
Thanks to your help and a lot of reading I CAN NOW SEE BOTH DEVICES !!!! :yippie:
Next I tried to mount the sda1 as per your instruction:
Quote:
mkdir /mnt/fw
And mount your drive like this: mount /dev/sda1 /mnt/fw
, but I received the following :
Quote:
mkdir: cannot create directpry "/mount/fw": No such file or directory
and could not mount the sd1......
One more mounting step to go...........

Thanks and regards
Reply With Quote
  #23  
09-24-2003, 10:49 AM
rhino rhino is offline
Free Member
 
Join Date: Jan 2003
Location: Back in Ireland (for a while)
Posts: 166
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Quote:
mkdir /mnt/fw
And mount your drive like this: mount /dev/sda1 /mnt/fw
, but I receive the following :
Quote:
mkdir: cannot create directpry "/mount/fw": No such file or directory
your mkdir command the error that comes out do not match up. generally all *nix distros have a
Code:
/mnt
directory. Are you sure you didn't type

Code:
mkdir /mount/fw
instead of

Code:
mkdir /mnt/fw
the mkdir command can only create one directory at a time unless you give it the -p option where it will create all the directories in a give path if they do not exist.

Cheers,
__________________
rhino
Reply With Quote
  #24  
09-24-2003, 11:33 AM
totonho03 totonho03 is offline
Free Member
 
Join Date: Apr 2003
Location: Fallston, MD. USA
Posts: 419
Thanks: 0
Thanked 0 Times in 0 Posts
Rhino @ kwag: Another

The shell command accepted the mkdir command (You were correct, I was using /mount, instead of /mnt)
Then I run -scanbus, and now I can see scanbus0 with the Hitachi DVD ROM, and Scanbus2 showing both the DVD writter and the WD FIREWIRE/USB2 external hard drive.
I guess that I now need to reboor to see them all, correct?

Thanks again

Totonho03
Reply With Quote
  #25  
09-24-2003, 11:46 AM
kwag kwag is offline
Free Member
 
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
Hi Otto,

No need to reboot
Just type: mount /dev/sda1 /mnt/fw
And your drive should be mounted

-kwag
Reply With Quote
  #26  
09-24-2003, 01:55 PM
totonho03 totonho03 is offline
Free Member
 
Join Date: Apr 2003
Location: Fallston, MD. USA
Posts: 419
Thanks: 0
Thanked 0 Times in 0 Posts
Hi again:

Well, it appears that it worked. Actually, I rebooted prior to reading your message, and I had to do evertything all over again, it did not save the path to the new sda1.
Presently I believe that everything is mounted, except that I cannot see the display of the sda1 at all. In Konqueror I can see the file named "fw", but when I click on it I do not see any files at all.
Questions:
1.- How can I "refresh" the program so I can see the sda1 devices?
2.- Is it possible to save these new seetings (mnt/sda1) in such a way as to automatically start next time I boot knoppix?
3. Need to place these new settings in the desktop, how is this done?

Thank you for all your help

Otto

P.S.- I just run a cat command and the following devices are indeed currently registered:
Quote:
knoppix@ttyp0[knoppix]$ cat /proc/scsi/scsi
Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
Vendor: HITACHI Model: DVD-ROM GD-S200 Rev: 0034
Type: CD-ROM ANSI SCSI revision: 02
Host: scsi2 Channel: 00 Id: 00 Lun: 00
Vendor: HP Model: DVD Writer 200j Rev: 1.51
Type: CD-ROM ANSI SCSI revision: 02
Host: scsi2 Channel: 00 Id: 01 Lun: 00
Vendor: WDC Model: FireWire/USB2.0 Rev: 4.17
Type: Direct-Access
Reply With Quote
  #27  
09-24-2003, 02:37 PM
rhino rhino is offline
Free Member
 
Join Date: Jan 2003
Location: Back in Ireland (for a while)
Posts: 166
Thanks: 0
Thanked 0 Times in 0 Posts
after you did

Code:
mount /dev/sda1 /mnt/fw
have you tried doing

Code:
cd /mnt/fw
ls
this will tell you if you have mounted the disk. As for making sure this device is mounted each time you boot the machine you will have to edit a file under /etc though there maybe an option in the control panel to do this. Kwag i'm sure will point you in the right direction. Its beena while since i used linux (i use Solaris),

Cheers,
__________________
rhino
Reply With Quote
  #28  
09-24-2003, 03:13 PM
totonho03 totonho03 is offline
Free Member
 
Join Date: Apr 2003
Location: Fallston, MD. USA
Posts: 419
Thanks: 0
Thanked 0 Times in 0 Posts
Hi rhino:

No, I had not entered the commands mentioned in your post, and after doing them, I was able to detect the directories that I have on the external drive, which if I understood correctly, it means that the external drive is indeed mounted.

Thanks again for your help.

Regards

Otto

Solaris eh? Well, need to be familiar with linux and work with it prior to even thinking about another OS..........unless......
Reply With Quote
  #29  
09-24-2003, 04:22 PM
rhino rhino is offline
Free Member
 
Join Date: Jan 2003
Location: Back in Ireland (for a while)
Posts: 166
Thanks: 0
Thanked 0 Times in 0 Posts
Solaris is a flavour of unix based upon BSD. Its a commercial version. Well up until this year it was free for x86 machines and now it costs a few dollars. Actually Solaris runs quite well on x86 machines.

So there a few differences in setup between it and linux. You would edit /etc/vfstab and add in your device entry so that it is always mounted, but under linux this, I think, /etc/fstab.

Cheers,
__________________
rhino
Reply With Quote
  #30  
09-24-2003, 05:09 PM
totonho03 totonho03 is offline
Free Member
 
Join Date: Apr 2003
Location: Fallston, MD. USA
Posts: 419
Thanks: 0
Thanked 0 Times in 0 Posts
Hello again:

I have been reading some tips on how to access, in this case CD-Rom, and they are suggesting the running of:
Quote:
# mount /dev/hdc /mnt/cdrom
Their explaanation for this is as follow:
Quote:
This tells Linux to take the file system found on device /dev/hdc and cause it to appear as part of the Linux file system in the directory /mnt/cdrom. We could have specified the type of file system to be found on /dev/hdc, but since we did not, Linux will try to automatically detect it. /dev/hdc is known as the device-name
Which in my case it would be:
Quote:
mount /dev/sda1 mnt/cdrom
. But, I have already mounted this to /fw. I do not want to proceed with this recommendation because I am not sure if this the correct procedure for me to access the external hard drive, and do not want to do something that will wipe out my system........... So, for the time being the questions above mentioned are still unresolved.

Regards

Otto

P.S.- Rhino: thanks for the explanation. As mentioned before, will become familiar with linux first, and then I may try other OSs.
Reply With Quote
  #31  
09-24-2003, 05:26 PM
totonho03 totonho03 is offline
Free Member
 
Join Date: Apr 2003
Location: Fallston, MD. USA
Posts: 419
Thanks: 0
Thanked 0 Times in 0 Posts
Hello again:

I have been reading some tips on how to access, in this case CD-Rom, and they are suggesting the running of:
Quote:
# mount /dev/hdc /mnt/cdrom
Their explaanation for this is as follow:
Quote:
This tells Linux to take the file system found on device /dev/hdc and cause it to appear as part of the Linux file system in the directory /mnt/cdrom. We could have specified the type of file system to be found on /dev/hdc, but since we did not, Linux will try to automatically detect it. /dev/hdc is known as the device-name
Which in my case it would be:
Quote:
mount /dev/sda1 mnt/cdrom
. But, I have already mounted this to /fw. I do not want to proceed with this recommendation because I am not sure if this the correct procedure for me to access the external hard drive, and do not want to do something that will wipe out my system........... So, for the
time being the questions above mentioned are still unresolved.

Regards

Otto

P.S.- Rhino: thanks for the explanation. As mentioned before, will become familiar with linux first, and then I may try other OSs.

Edit: Instead of mounting this to the cdrom, can I mounted to the desktop in a similar fashion as hda1 and hda5?
Reply With Quote
  #32  
09-24-2003, 11:51 PM
totonho03 totonho03 is offline
Free Member
 
Join Date: Apr 2003
Location: Fallston, MD. USA
Posts: 419
Thanks: 0
Thanked 0 Times in 0 Posts
Hello:

While I have been able to mount sda1 in /fw, I have not been able to find a way to access the sda1, meaning access it as I can access hda1 (C: drive) and hda5 (D: partition of main hdd). I do not know howto access the files of the external drive, and sp far, I have not bee able to find a way to do it in the web or in tutorials.
Something else that is taking place, is that when I logout of knoppix, I loose the mounting of sda1, and have to go through the procedure of mounting it again.

Thanks for the help in solving my issues.

Otto
Reply With Quote
  #33  
09-25-2003, 12:02 AM
kwag kwag is offline
Free Member
 
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
Hi Otto,

Let's make it easier for you
In Unix, there are no drive letters. Only mount points.
So do this:

mkdir /F

Now do this:

mount /dev/sda1 /F


And your drive will be mounted in /F

Now in a shell, you can do: ls /F ( or dir /F ) or in X Windows you can open a browser, and your files are in /F

You could even do: mkdir /F:

And mount at that point: mount /dev/sda1 /F:

Now it will look more familiar

So go ahead and do: mkdir /F: /G: /H: /I:

Now you have a bunch of "mount points' you can use

-kwag
Reply With Quote
  #34  
09-25-2003, 03:20 PM
totonho03 totonho03 is offline
Free Member
 
Join Date: Apr 2003
Location: Fallston, MD. USA
Posts: 419
Thanks: 0
Thanked 0 Times in 0 Posts
Hi kwag:

Thanks for your response Maestro. Please note that my problem is not creating a mkdir, for I have created it and mounted the sda1 to /f. I can also go to the root and do a cd /f, followed by an ls and see all of my directories and subdirectories, down to the files within such subdirectories. But, (there is always a but ), this is not the problem. My problem is that I can not open any of the files or execute any of the commands when I am in the root directory.
I have created an f directory in the desktop, but it is empty, and I do not know how to bring the sda1 information here. I have also tried mounting the sda1 to the desktop directory, but it is not allowing me to do that. Will keep on trying to mount to the desktop directory

When I boot knoppix with the external drive connected to the USB 1.1, it creates a desktop directory for the WD hard drive, I can access such directory with no problem.
When I boot with the external drive connected to the firewire, it does not create, nor does it mount the sda1 to the destop, and I have to manually mount the sda1, which so far I have being able to do that as well, but, and I do not mean to be repetitive, perhaps there is a step or two that I am missing in the configuration of the file containing the sda1. Or perhaps the reason why I can not access them is because those files were created by W98SE, and I may have to "convert" or emulate them to work with knoppix, but all of the hda1 filews were also created by W98 and I am able to open them....................

Being a newbie is not helpin at all, I have also posted in the knoppix forums, and so far I have not received an answer to solve my problems.......

Regards

Otto


Thanks and regards

Otto
Reply With Quote
  #35  
09-26-2003, 11:03 AM
totonho03 totonho03 is offline
Free Member
 
Join Date: Apr 2003
Location: Fallston, MD. USA
Posts: 419
Thanks: 0
Thanked 0 Times in 0 Posts
Update:

Now I have the sda1 in a Konqueror window, so far I can only access such files Konqueror, but open on root !!!!!!!!!!!!!

Next step: I can open pictures with no problems, but now I need to learn how to open Window commands, as is CQQmatic, which is not being open when I hit the command. I also need to go to the ffmpeg site and download the linux version, and see if it works here......................

Regards

otto
Reply With Quote
  #36  
09-26-2003, 11:37 AM
rhino rhino is offline
Free Member
 
Join Date: Jan 2003
Location: Back in Ireland (for a while)
Posts: 166
Thanks: 0
Thanked 0 Times in 0 Posts
Does Knoppix allow you to run Windows binaries? Does it run wine or something like that to allow this?

Cheers,
__________________
rhino
Reply With Quote
  #37  
09-26-2003, 12:20 PM
kwag kwag is offline
Free Member
 
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
It has WINE installed, but I haven't tried it yet. I did try WINE under Lindows a long time ago, and I was able to run TMPEG. Never tried encoding anything, but it did run the program

-kwag
Reply With Quote
  #38  
09-26-2003, 01:24 PM
totonho03 totonho03 is offline
Free Member
 
Join Date: Apr 2003
Location: Fallston, MD. USA
Posts: 419
Thanks: 0
Thanked 0 Times in 0 Posts
Kwag and rhino:

Thank you for the teply. Yes. it has wine, I have not used it, so it will be another learning experience :P

I have downloaded both ffmpeg and japie's programs. Have not tried to run japie's script, but did try to open ffmpeg from sourceforge, unfortunatelly the script is asking me to open "./configuration--help", but knoppix is not allowing me to go to ./configure, or ./config or ./conf. Things do not come easy within the linux world.......

Is there a site where I can get the ffmpeg.exe file and all I need to do is to past this file into my ffmpeg linux folder and run with it?

Thanks and regards

Otto
Reply With Quote
  #39  
09-26-2003, 03:13 PM
kwag kwag is offline
Free Member
 
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
Ho Otto,

Just decompress ffmpeg's .tgz file like this:

tar xzvf ffmpeg-0.4.7.tar.gz

That will decompress the sources into a direcory called ffmpeg-0.4.7

Now move to that directory: cd ffmpeg-0.4.7 and type ./configure

After that's done, type: make && make install

That's it
Your ffmpeg is now compiled and installed.

-kwag
Reply With Quote
  #40  
09-26-2003, 04:36 PM
totonho03 totonho03 is offline
Free Member
 
Join Date: Apr 2003
Location: Fallston, MD. USA
Posts: 419
Thanks: 0
Thanked 0 Times in 0 Posts
Hi kwag:

Thank you for your advise.
I was able to install the ffmpeg following your instructions, but could not run the command, but that is another story.
I am just about ready to
A) Resign myself to load linux in my hd. Why you may ask, The answer is simple, I loose everything everytime the laptop is turned off. I just lost the mount of sda1 as well as the installation of ffmpeg, as well as the files that I downloaded from the web. It is a big pain to start all over again everytime the laptop is booted......Yep, another learning curve is needed: how to maintain such files in the computer............or mount the OS in the HD. The next alternative is:
B) To give it up linux completely. After days and days and days of bothering you folks with newbie questions and surfing for answers and reading languajes that are foreign to me, it would be a shame to do so, but right this minute, I am inclined to do just that. Maybe later on tonight or tomorrow I will have a different view, but right now.......................Que el CD se coja solo.

Thank you and the rest of the folks that helped me during this arduos time.............

Regards
Otto
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
Recording Video: 1394 Firewire Problem Bruce H. Smith Video Capturing / Recording 7 04-15-2006 07:00 AM
Linux: Avisynth, Codecs, Virualdubmod under Linux Prodater64 Computers 11 12-24-2005 07:54 AM
VirtualDub: Capturing via firewire totonho03 Video Encoding and Conversion 3 11-19-2003 10:12 AM
Linux: Redhat Linux is dead, long live Fedora Core 1 jorel Computers 1 09-28-2003 04:05 PM
Recording Video: Capture using Firewire adapter fast_busy Video Capturing / Recording 7 09-25-2002 04:51 PM




 
All times are GMT -5. The time now is 11:06 AM  —  vBulletin © Jelsoft Enterprises Ltd