Acer 3400LMI manual Configuring Firewire, Comments

Page 8

F8­x86_64 on the Acer Ferrari 3400LMi

4.2 Configuring Firewire

If you experience the problems mentioned above, and you are running kernel version 2.6.13 or earlier, put the following line in your /etc/modprobe.config:

options sbp2 serialize_io=1 max_speed=2

The serialize_io=1 option tells the scsi drivers to only send one scsi command at a time. Unfortunately, this setting has a small impact on performance, but it is the fix that makes things work.

In kernel version 2.6.14 the default value for serialize_io was changed from 0 to 1. Thus, if you are running kernel version 2.6.14 or later you should not need do do anything, unless you want to optimize performance (see comments below) or fiddle with the other settings.

The max_speed option might be useful in rare occasions if you want to limit the maximum transfer rate to support “even more buggy” external hardware. Valid values for the max_speed option are:

0100 mb

1 200 mb

2 400 mb (default)

3 800 mb

When timing the very same read transfer as above I now get the following result:

#time cp ­rp /media/ieee1394disk/430MB_folder ~

real 0m24.871s

user 0m0.076s

sys 0m6.400s

That is what I call improvement! Going from over 20 minutes down to roughly 25 seconds.

4.3 Comments

After some further exercises with other external hard drives it turned out that the problem described in the previous section indeed seems to be related to the IEEE 1394 chip in the external drives. With some hardware it is quite possible to use the faster serialize_io=0 option. The performance benefit is in the range 20­25%, so consider your options. If you only use IEEE 1394 for your own hardware and it works well with the faster setting, go for it. Otherwise, compatibility with other hardware might be more valuable. Personally, I think it was a wise decision to change the default setting in the sbp2 module. After all those “buggy IEEE 1394 chips” seem to be quite common, and prior to start

8

Image 8
Contents Table of Contents F8-x8664 on the Acer Ferrari 3400LMiF8­x8664 on the Acer Ferrari 3400LMi Quick reference guide IntroductionVersion Hardware Status Details Installation Graphical installerPotential pitfalls Disk sizeUpgrading the drive Ieee 1394 FirewireHard drive Potential problems # time cp ­rp /media/ieee1394disk/430MBfolder ~Configuring Firewire CommentsSpecial keys & buttons In-1 Card readerPC-card Configuration procedure Key-codesButton Key-code Default X key symbols Scan-codesLinux key-codes = XF86WWW Key-codes revisitedWWW Configure actions CPU & Acpi supportGraphics SuspendCPU frequency scaling BasicsRadeon driver Simple configurationDual-Head Virtual screen size # xrandr ­q Screen 0 minimumXrandr tool Fn-F5 button10.3 3D acceleration Other observations Simple benchmarkOptimization TV-out Load detectionNtsc or PAL InitializationWireless NIC Touch-padWlan firmware Installing WlanWlan tools Essid Get started with WlanManual way # iwconfig wlan0 essid Perspektiv GUI way BluetoothVerify installation Using a phone modem UP Running PscanPrepare the phone Prepare the laptopObex File Transfer 0x1106 Protocol Descriptor List Static configuration Short explanation of the command aboveDynamic routine Gprs AT+CGDATA=PPP,1KBluetooth InstallationSending files Mouse & keyboardMouse & keyboard Scan for devicesLock screen Transfer files Configuring IrDAInfrared IRQ DMATesting IrDA ModemInstalling daemon SLMODEMDCOUNTRY=SWEDEN SLMODEMDDEVICE=Disconnecting Potential issueConnecting References System hangF8­x8664 on the Acer Ferrari 3400LMi Appendix a /etc/X11/xorg.conf XAA Ntsc Appendix B dual­head.shINTERNAL=LVDS ACTION=$1­$DEFAULTACTION CURNDX=$CURNDX­$INTNDX CURRENT=$ALLOUT$CURNDX Lvds LVDS+VGA­0 NEXT=$CURRENTInternal internal Tvout Usage Esac Appendix C dun­bind.sh F8­x8664 on the Acer Ferrari 3400LMi SLMODEMDOPTS=$SLMODEMDOPTS $SLMODEMDDEVICE $CONFIGRETVAL=0 RETVAL=$? F8­x8664 on the Acer Ferrari 3400LMi