[NTLUG:Discuss] Firewire and RH9
MontyS@videopost.com
MontyS at videopost.com
Mon Oct 13 18:16:10 CDT 2003
-----Original Message-----
From: David Wilson [mailto:drindles at yahoo.com]
Sent: Monday, October 13, 2003 2:25 PM
To: discuss at ntlug.org
Subject: [NTLUG:Discuss] Firewire and RH9
I am trying to use an external firewire hard drive
with RH9 and am having some difficulty. I can see in
dmesg where it sees the Maxtor drive but it never
assigns it a device such as sda or sdb.
What am I missing?
Thanks
David
BTW Kernel 2.4.20-20.9
_______________________________________________
https://ntlug.org/mailman/listinfo/discuss
Dave,
Your posting prompted me to attempt to attach a firewire drive I had
hanging around to my linux box. It was successful.
I am using a LaCie firewire drive, which is actually a seagate drive in
a nice box.
The steps listed below assume that you don't currently have a scsi
device installed on your box.
If you do an <lsmod>, you need to make sure you have the following
modules:
ohci1394 20136 0 (unused)
ieee1394 48748 0 [sbp2 ohci1394]
sbp2
sd_mod 13452 2
scsi_mod 107512 3 [sbp2 dpt_i2o sd_mod]
My install is a stock redhat 9.0 install. My kernel is 2.4.20-19.9. I
had my firewire controller installed before I loaded linux.
If you don't have these modules listed, then you will have to add them to
your
kernel. Unfortunately I have only used <rpm> for most of my installs,
and don't feel comfortable walking anyone through any kernel
modifications.
If you do a <cat /proc/scsi/scsi> and find nothing, then you need to run
the rescan-scsi-bus.sh script that can be downloaded from
http://www.linux1394.org/sbp2.html.
After you run the script, try to run <cat /proc/scsi/scsi> again. If
things worked out right, then you should see some data in the output,
similar to this:
Host: scsi1 Channel: 00 Id: 00 Lun: 00
Vendor: ST316002 Model: 1A Rev: 3.06
Type: Direct-Access ANSI SCSI revision: 06
At this point, you should be able to do an <fdisk /dev/sda> and play the
partition game however you want to. After <fdisk>, run <mkfs.ext3> to
write the filesystem on whichever partition/partitions you wish. I just
used one
partition, so my <df -h> for the firewire drive looks like this:
/dev/sda 147G 1.8G 138G 2% /firewire_1
I tried to enter this drive in /etc/fstab, but it didn't work. I found
out that you have to run the <rescan-scsi-bus.sh> script and <mount>
command every time you reboot. To get around this, I edited the
/etc/rc.d/rc.local file to run those 2 commands during bootup.
Hope this helps you out.
Good luck, and as always, YMMV.
Monty
More information about the Discuss
mailing list