RE: [SLE] insmod & Firewire Harddrive (SOLVED)
Thanks, that fixed it. If I boot with the drive plugged in, it does mount, but if I unplug it and then plug it back in, it works fine. Not perfect, but at least it works. Will look at the webites you mentioned, however, I downloaded the files from ieee1394.sourceforge.net and when I tried to gunzip, it says invalid file. Will try the download again. Art -----Original Message----- From: James H. Cloos Jr. [mailto:cloos@jhcloos.com] Sent: Thursday, June 27, 2002 3:38 PM To: art_fore@3mts.com Subject: Re: [SLE] insmod & Firewire Harddrive On my 8100 I have: in /etc/modules.conf: # IEEE 1394 pre-install ohci1394 modprobe ieee1394 pre-install sbp2 modprobe ohci1394 alias char-major-171 raw1394 in /etc/rc.d/boot.local: modprobe sbp2 sleep 1 rmmod sbp2 in /etc/fstab: LABEL=MAXTOR160JHC01 /maxtor ext3 noauto,user,exec 0 0 and in /etc/hotplug there is a ieee1394.agent script. With this setup, everything works if a unplug the 1394 cable from the 8100 at boot time and plug it back in once it is booted. I then need to manually 'mount /maxtor'. (Of course that part of it will vary depending on how you have the sbp2 disk partitioned and the partition(s) formated. I labeled the ext2 fs on the second partition and referenced that label in fstab to ensure it would mount no matter what /dev/sdN the disk got assigned. Automountd could be configured to automatically mount the partition when the disk is discovered, but I've not bothered with that. The problem I had was that the hotplugging only worked if ohci1394 was already modprobe(8)d, but not if sbp2 was. (I'm not sure why I didn't end up with just 'modprobe ohci1394' in boot.local, but it was probably to ensure that the scsi modules got loaded at boot time.) I think the latest 1394 code (from linux1394.sf.net) and hotplugging scripts (from hotplug.sf.net) *might* do boot-time hotplugging correctly, now, so that unplugging and replugging the cable would no longer be required, but I am not sure off hand. -JimC
participants (1)
-
Art Fore