port multiplier support - ubuntu desktoppatching file drivers/scsi/sata_sx4.c patching file...

19
Step-by-Step Instructions To run a command as administrator (user "root"), use "sudo <command>". See "man sudo_root" for details. benringor@ubuntu:/usr/src/linux-2.6.17.4$ lspci 0000:00:00.0 Memory controller: nVidia Corporation CK804 Memory Controller (rev a3) 0000:00:01.0 ISA bridge: nVidia Corporation CK804 ISA Bridge (rev a3) 0000:00:01.1 SMBus: nVidia Corporation CK804 SMBus (rev a2) 0000:00:02.0 USB Controller: nVidia Corporation CK804 USB Controller (rev a2) 0000:00:02.1 USB Controller: nVidia Corporation CK804 USB Controller (rev a3) 0000:00:04.0 Multimedia audio controller: nVidia Corporation CK804 AC'97 Audio C ontroller (rev a2) 0000:00:06.0 IDE interface: nVidia Corporation CK804 IDE (rev f2) 0000:00:07.0 IDE interface: nVidia Corporation CK804 Serial ATA Controller (rev f3) 0000:00:08.0 IDE interface: nVidia Corporation CK804 Serial ATA Controller (rev f3) 0000:00:09.0 PCI bridge: nVidia Corporation CK804 PCI Bridge (rev a2) 0000:00:0a.0 Bridge: nVidia Corporation CK804 Ethernet Controller (rev a3) 0000:00:0b.0 PCI bridge: nVidia Corporation CK804 PCIE Bridge (rev a3) 0000:00:0c.0 PCI bridge: nVidia Corporation CK804 PCIE Bridge (rev a3) 0000:00:0d.0 PCI bridge: nVidia Corporation CK804 PCIE Bridge (rev a3) 0000:00:0e.0 PCI bridge: nVidia Corporation CK804 PCIE Bridge (rev a3) 0000:00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Hyp erTransport Technology Configuration 0000:00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Add ress Map 0000:00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRA M Controller 0000:00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Mis cellaneous Control 0000:01:06.0 FireWire (IEEE 1394): VIA Technologies, Inc. IEEE 1394 Host Control ler (rev 80) 0000:02:00.0 RAID bus controller: Silicon Image, Inc. SiI 3132 Serial ATA Raid I I Controller (rev 01) 0000:05:00.0 VGA compatible controller: nVidia Corporation NV41GL [Quadro FX 140 0] (rev a2) benringor@ubuntu:~$ cd /usr/src benringor@ubuntu:/usr/src$ sudo mkdir linux-2.6.17.4 Password: benringor@ubuntu:/usr/src$ sudo wget http://www.kernel.org/pub/linux/kernel/v2.6/linux- 2.6.17.4.tar.bz2 --17:29:05-- http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.17.4.tar.bz2 => `linux-2.6.17.4.tar.bz2.1' Resolving www.kernel.org... 204.152.191.5 Connecting to www.kernel.org|204.152.191.5|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 41,273,436 (39M) [application/x-bzip2] 100%[====================================>] 41,273,436 54.70K/s ETA 00:00 17:38:23 (72.17 KB/s) - `linux-2.6.17.4.tar.bz2.1' saved [41273436/41273436] benringor@ubuntu:/usr/src$ sudo tar xjvf linux-2.6.17.4.tar.bz2 Download the SATA code with Port Multiplier (PMP) support http://home-tj.org/wiki/index.php/Libata-tj-stable benringor@ubuntu:/usr/src$ ls libata-tj-2.6.17.4-20060710.tar.bz2 linux-2.6.17.4 linux-2.6.17.4.tar.bz2 benringor@ubuntu:/usr/src$ sudo tar xfvz libata-tj-2.6.17.4-20060710.tar.bz2 Password: libata-tj-2.6.17.4-20060710/ libata-tj-2.6.17.4-20060710/combined.patch libata-tj-2.6.17.4-20060710/patches/ libata-tj-2.6.17.4-20060710/patches/0043-sata_sil24-implement-PORT_RST.patch libata-tj-2.6.17.4-20060710/patches/series libata-tj-2.6.17.4-20060710/patches/0042-sata_sil24-implement-PMP-support.patch libata-tj-2.6.17.4-20060710/patches/0041-sata_sil24-separate-out-sil24_do_softre set.patch libata-tj-2.6.17.4-20060710/patches/0040-sata_sil24-separate-out-sil24_exec_poll ed_cmd.patch libata-tj-2.6.17.4-20060710/patches/0039-sata_sil24-replace-sil24_update_tf-with - sil24_read_tf.patch libata-tj-2.6.17.4-20060710/patches/0038-sata_sil24-add-PMP-related-constants.pa tch libata-tj-2.6.17.4-20060710/patches/0037-sata_sil24-rename-PMP-related-constants .patch libata-tj-2.6.17.4-20060710/patches/0036-libata-pmp-hook-PMP-support-and-enable- it.patch

Upload: others

Post on 30-Dec-2019

26 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Port Multiplier Support - Ubuntu Desktoppatching file drivers/scsi/sata_sx4.c patching file drivers/scsi/sata_uli.c patching file drivers/scsi/sata_via.c patching file drivers/scsi/sata_vsc.c

Step-by-Step Instructions To run a command as administrator (user "root"), use "sudo <command>". See "man sudo_root" for details. benringor@ubuntu:/usr/src/linux-2.6.17.4$ lspci 0000:00:00.0 Memory controller: nVidia Corporation CK804 Memory Controller (rev a3) 0000:00:01.0 ISA bridge: nVidia Corporation CK804 ISA Bridge (rev a3) 0000:00:01.1 SMBus: nVidia Corporation CK804 SMBus (rev a2) 0000:00:02.0 USB Controller: nVidia Corporation CK804 USB Controller (rev a2) 0000:00:02.1 USB Controller: nVidia Corporation CK804 USB Controller (rev a3) 0000:00:04.0 Multimedia audio controller: nVidia Corporation CK804 AC'97 Audio C ontroller (rev a2) 0000:00:06.0 IDE interface: nVidia Corporation CK804 IDE (rev f2) 0000:00:07.0 IDE interface: nVidia Corporation CK804 Serial ATA Controller (rev f3) 0000:00:08.0 IDE interface: nVidia Corporation CK804 Serial ATA Controller (rev f3) 0000:00:09.0 PCI bridge: nVidia Corporation CK804 PCI Bridge (rev a2) 0000:00:0a.0 Bridge: nVidia Corporation CK804 Ethernet Controller (rev a3) 0000:00:0b.0 PCI bridge: nVidia Corporation CK804 PCIE Bridge (rev a3) 0000:00:0c.0 PCI bridge: nVidia Corporation CK804 PCIE Bridge (rev a3) 0000:00:0d.0 PCI bridge: nVidia Corporation CK804 PCIE Bridge (rev a3) 0000:00:0e.0 PCI bridge: nVidia Corporation CK804 PCIE Bridge (rev a3) 0000:00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Hyp erTransport Technology Configuration 0000:00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Add ress Map 0000:00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRA M Controller 0000:00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Mis cellaneous Control 0000:01:06.0 FireWire (IEEE 1394): VIA Technologies, Inc. IEEE 1394 Host Control ler (rev 80) 0000:02:00.0 RAID bus controller: Silicon Image, Inc. SiI 3132 Serial ATA Raid I I Controller (rev 01) 0000:05:00.0 VGA compatible controller: nVidia Corporation NV41GL [Quadro FX 140 0] (rev a2) benringor@ubuntu:~$ cd /usr/src benringor@ubuntu:/usr/src$ sudo mkdir linux-2.6.17.4 Password: benringor@ubuntu:/usr/src$ sudo wget http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.17.4.tar.bz2 --17:29:05-- http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.17.4.tar.bz2 => `linux-2.6.17.4.tar.bz2.1' Resolving www.kernel.org... 204.152.191.5 Connecting to www.kernel.org|204.152.191.5|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 41,273,436 (39M) [application/x-bzip2] 100%[====================================>] 41,273,436 54.70K/s ETA 00:00 17:38:23 (72.17 KB/s) - `linux-2.6.17.4.tar.bz2.1' saved [41273436/41273436] benringor@ubuntu:/usr/src$ sudo tar xjvf linux-2.6.17.4.tar.bz2 Download the SATA code with Port Multiplier (PMP) support http://home-tj.org/wiki/index.php/Libata-tj-stable benringor@ubuntu:/usr/src$ ls libata-tj-2.6.17.4-20060710.tar.bz2 linux-2.6.17.4 linux-2.6.17.4.tar.bz2 benringor@ubuntu:/usr/src$ sudo tar xfvz libata-tj-2.6.17.4-20060710.tar.bz2 Password: libata-tj-2.6.17.4-20060710/ libata-tj-2.6.17.4-20060710/combined.patch libata-tj-2.6.17.4-20060710/patches/ libata-tj-2.6.17.4-20060710/patches/0043-sata_sil24-implement-PORT_RST.patch libata-tj-2.6.17.4-20060710/patches/series libata-tj-2.6.17.4-20060710/patches/0042-sata_sil24-implement-PMP-support.patch libata-tj-2.6.17.4-20060710/patches/0041-sata_sil24-separate-out-sil24_do_softre set.patch libata-tj-2.6.17.4-20060710/patches/0040-sata_sil24-separate-out-sil24_exec_poll ed_cmd.patch libata-tj-2.6.17.4-20060710/patches/0039-sata_sil24-replace-sil24_update_tf-with -sil24_read_tf.patch libata-tj-2.6.17.4-20060710/patches/0038-sata_sil24-add-PMP-related-constants.pa tch libata-tj-2.6.17.4-20060710/patches/0037-sata_sil24-rename-PMP-related-constants .patch libata-tj-2.6.17.4-20060710/patches/0036-libata-pmp-hook-PMP-support-and-enable- it.patch

Page 2: Port Multiplier Support - Ubuntu Desktoppatching file drivers/scsi/sata_sx4.c patching file drivers/scsi/sata_uli.c patching file drivers/scsi/sata_via.c patching file drivers/scsi/sata_vsc.c

libata-tj-2.6.17.4-20060710/patches/0035-libata-pmp-implement-Port-Multiplier-su pport.patch libata-tj-2.6.17.4-20060710/patches/0034-libata-pmp-implement-ATA_LFLAG_DISABLED .patch libata-tj-2.6.17.4-20060710/patches/0033-libata-pmp-update-ata_eh_reset-for-PMP. patch libata-tj-2.6.17.4-20060710/patches/0032-libata-pmp-add-PMP-related-constants-fi elds-ops-and-update-helpers.patch libata-tj-2.6.17.4-20060710/patches/0031-libata-pmp-prep-implement-qc_defer-help ers.patch libata-tj-2.6.17.4-20060710/patches/0030-libata-pmp-prep-implement-ops-qc_defer. patch libata-tj-2.6.17.4-20060710/patches/0029-libata-pmp-prep-add-is_cmd-to-ata_tf_to _fis.patch libata-tj-2.6.17.4-20060710/patches/0028-libata-pmp-prep-separate-out-sata_link_ hardreset.patch libata-tj-2.6.17.4-20060710/patches/0027-libata-pmp-prep-make-a-number-of-functi ons-global-to-libata.patch libata-tj-2.6.17.4-20060710/patches/0026-libata-pmp-prep-add-new_class-to-ata_de v_revalidate.patch libata-tj-2.6.17.4-20060710/patches/0025-libata-link-update-Power-Management-to- handle-PMP-links.patch libata-tj-2.6.17.4-20060710/patches/0024-libata-link-update-hotplug-to-handle-PM P-links.patch libata-tj-2.6.17.4-20060710/patches/0023-libata-link-update-EH-to-deal-with-PMP- links.patch libata-tj-2.6.17.4-20060710/patches/0022-libata-link-update-ata_dev_configure-to -deal-with-PMP-links.patch libata-tj-2.6.17.4-20060710/patches/0021-libata-link-update-ata_scsi_error-to-ha ndle-PMP-links.patch libata-tj-2.6.17.4-20060710/patches/0020-libata-link-add-PMP-links.patch libata-tj-2.6.17.4-20060710/patches/0019-libata-link-implement-ata_link_abort.pa tch libata-tj-2.6.17.4-20060710/patches/0018-libata-link-implement-link-reset_tries. patch libata-tj-2.6.17.4-20060710/patches/0017-libata-link-separate-out-link-initializ ation-functions.patch libata-tj-2.6.17.4-20060710/patches/0016-libata-link-linkify-config-EH-related-f unctions.patch libata-tj-2.6.17.4-20060710/patches/0015-libata-link-linkify-reset.patch libata-tj-2.6.17.4-20060710/patches/0014-libata-link-linkify-EH-action-helpers.p atch libata-tj-2.6.17.4-20060710/patches/0013-libata-link-linkify-PHY-related-functio ns.patch libata-tj-2.6.17.4-20060710/patches/0012-libata-link-implement-and-use-link-devi ce-iterators.patch libata-tj-2.6.17.4-20060710/patches/0011-libata-link-introduce-ata_link.patch libata-tj-2.6.17.4-20060710/patches/0010-libata-link-add-PMP-related-ATA-constan ts.patch libata-tj-2.6.17.4-20060710/patches/0009-libata-link-separate-out-ata_eh_handle_ dev_fail.patch libata-tj-2.6.17.4-20060710/patches/0008-libata-improve-EH-action-and-EHI-flag-h andling.patch libata-tj-2.6.17.4-20060710/patches/0007-libata-fix-eh_skip_recovery-condition.p atch libata-tj-2.6.17.4-20060710/patches/0006-libata-add-hp-poll-support-to-controlle rs-without-hotplug-interrupts.patch libata-tj-2.6.17.4-20060710/patches/0005-libata-add-hp-poll-support-to-controlle rs-with-hotplug-interrutps.patch libata-tj-2.6.17.4-20060710/patches/0004-libata-implement-hotplug-by-polling.pat ch libata-tj-2.6.17.4-20060710/patches/0003-libata-build-fix-after-libata-dev-upstr eam-update.patch libata-tj-2.6.17.4-20060710/patches/0002-libata-v2.6.17.4-libata-dev-upstream.pa tch libata-tj-2.6.17.4-20060710/patches/0001-SCSI-update-SCSI-to-accomodate-v2.6.17- libata-dev-upstream-patch.patch libata-tj-2.6.17.4-20060710/README benringor@ubuntu:/usr/src$ cd linux-2.6.17.4 benringor@ubuntu:/usr/src/linux-2.6.17.4$ patch -p1 < ../libata-tj-2.6.17.4-20060710/combined.patch patching file drivers/scsi/scsi.c patching file drivers/scsi/scsi_error.c patching file drivers/scsi/scsi_lib.c patching file drivers/scsi/scsi_transport_api.h patching file include/scsi/scsi_cmnd.h patching file include/scsi/scsi_host.h patching file drivers/scsi/Makefile patching file drivers/scsi/ahci.c patching file drivers/scsi/ata_piix.c patching file drivers/scsi/libata-bmdma.c patching file drivers/scsi/libata-core.c patching file drivers/scsi/libata-eh.c patching file drivers/scsi/libata-scsi.c patching file drivers/scsi/libata.h patching file drivers/scsi/pdc_adma.c patching file drivers/scsi/sata_mv.c patching file drivers/scsi/sata_nv.c patching file drivers/scsi/sata_promise.c patching file drivers/scsi/sata_qstor.c patching file drivers/scsi/sata_sil.c patching file drivers/scsi/sata_sil24.c patching file drivers/scsi/sata_sis.c patching file drivers/scsi/sata_svw.c

Page 3: Port Multiplier Support - Ubuntu Desktoppatching file drivers/scsi/sata_sx4.c patching file drivers/scsi/sata_uli.c patching file drivers/scsi/sata_via.c patching file drivers/scsi/sata_vsc.c

patching file drivers/scsi/sata_sx4.c patching file drivers/scsi/sata_uli.c patching file drivers/scsi/sata_via.c patching file drivers/scsi/sata_vsc.c patching file include/linux/ata.h patching file include/linux/libata.h patching file drivers/scsi/libata-pmp.c benringor@ubuntu:/usr/src/linux-2.6.17.4$ sudo apt-get update Get:1 http://us.archive.ubuntu.com dapper Release.gpg [189B] Get:2 http://us.archive.ubuntu.com dapper-updates Release.gpg [189B] Hit http://us.archive.ubuntu.com dapper Release Get:3 http://us.archive.ubuntu.com dapper-updates Release [30.9kB] Get:4 http://security.ubuntu.com dapper-security Release.gpg [189B] Get:5 http://security.ubuntu.com dapper-security Release [30.9kB] Hit http://us.archive.ubuntu.com dapper/main Packages Hit http://us.archive.ubuntu.com dapper/restricted Packages Hit http://us.archive.ubuntu.com dapper/main Sources Hit http://us.archive.ubuntu.com dapper/restricted Sources Get:6 http://us.archive.ubuntu.com dapper-updates/main Packages [70.0kB] Get:7 http://us.archive.ubuntu.com dapper-updates/restricted Packages [14B] Get:8 http://us.archive.ubuntu.com dapper-updates/main Sources [46.1kB] Get:9 http://security.ubuntu.com dapper-security/main Packages [44.2kB] Get:10 http://us.archive.ubuntu.com dapper-updates/restricted Sources [14B] Get:11 http://security.ubuntu.com dapper-security/restricted Packages [4275B] Get:12 http://security.ubuntu.com dapper-security/main Sources [11.0kB] Get:13 http://security.ubuntu.com dapper-security/restricted Sources [974B] Fetched 239kB in 2s (81.2kB/s) Reading package lists... Done benringor@ubuntu:/usr/src/linux-2.6.17.4$ sudo apt-get install build-essential Reading package lists... Done Building dependency tree... Done The following extra packages will be installed: binutils cpp cpp-4.0 dpkg-dev g++ g++-4.0 gcc gcc-4.0 libc6-dev libstdc++6-4.0-dev linux-kernel-headers make Suggested packages: binutils-doc cpp-doc gcc-4.0-locales debian-keyring gcc-4.0-doc lib64stdc++6 manpages-dev autoconf automake1.9 libtool flex bison gcc-doc libc6-dev-amd64 lib64gcc1 glibc-doc libstdc++6-4.0-doc stl-manual Recommended packages: libmudflap0-dev The following NEW packages will be installed: binutils build-essential cpp cpp-4.0 dpkg-dev g++ g++-4.0 gcc gcc-4.0 libc6-dev libstdc++6-4.0-dev linux-kernel-headers make 0 upgraded, 13 newly installed, 0 to remove and 158 not upgraded. Need to get 12.0MB of archives. After unpacking 47.1MB of additional disk space will be used. Do you want to continue [Y/n]? Y Get:1 http://us.archive.ubuntu.com dapper/main linux-kernel-headers 2.6.11.2-0ubuntu18 [1039kB] Get:2 http://security.ubuntu.com dapper-security/main binutils 2.16.1cvs20060117-1ubuntu2.1 [1407kB] Get:3 http://us.archive.ubuntu.com dapper/main libc6-dev 2.3.6-0ubuntu20 [2822kB] Get:4 http://us.archive.ubuntu.com dapper/main cpp-4.0 4.0.3-1ubuntu5 [1987kB] Get:5 http://us.archive.ubuntu.com dapper/main cpp 4:4.0.3-1 [31.0kB] Get:6 http://us.archive.ubuntu.com dapper/main gcc-4.0 4.0.3-1ubuntu5 [513kB] Get:7 http://us.archive.ubuntu.com dapper/main gcc 4:4.0.3-1 [5048B] Get:8 http://us.archive.ubuntu.com dapper/main libstdc++6-4.0-dev 4.0.3-1ubuntu5 [1471kB] Get:9 http://us.archive.ubuntu.com dapper/main g++-4.0 4.0.3-1ubuntu5 [2271kB] Get:10 http://us.archive.ubuntu.com dapper/main g++ 4:4.0.3-1 [1386B] Get:11 http://us.archive.ubuntu.com dapper/main make 3.80+3.81.b4-1 [286kB] Get:12 http://us.archive.ubuntu.com dapper/main dpkg-dev 1.13.11ubuntu6 [163kB] Get:13 http://us.archive.ubuntu.com dapper/main build-essential 11.1 [6826B] Fetched 12.0MB in 1m46s (113kB/s) Selecting previously deselected package binutils. (Reading database ... 69523 files and directories currently installed.) Unpacking binutils (from .../binutils_2.16.1cvs20060117-1ubuntu2.1_i386.deb) ... Selecting previously deselected package linux-kernel-headers. Unpacking linux-kernel-headers (from .../linux-kernel-headers_2.6.11.2-0ubuntu18_i386.deb) ... Selecting previously deselected package libc6-dev. Unpacking libc6-dev (from .../libc6-dev_2.3.6-0ubuntu20_i386.deb) ...

Page 4: Port Multiplier Support - Ubuntu Desktoppatching file drivers/scsi/sata_sx4.c patching file drivers/scsi/sata_uli.c patching file drivers/scsi/sata_via.c patching file drivers/scsi/sata_vsc.c

Selecting previously deselected package cpp-4.0. Unpacking cpp-4.0 (from .../cpp-4.0_4.0.3-1ubuntu5_i386.deb) ... Selecting previously deselected package cpp. Unpacking cpp (from .../cpp_4%3a4.0.3-1_i386.deb) ... Selecting previously deselected package gcc-4.0. Unpacking gcc-4.0 (from .../gcc-4.0_4.0.3-1ubuntu5_i386.deb) ... Selecting previously deselected package gcc. Unpacking gcc (from .../gcc_4%3a4.0.3-1_i386.deb) ... Selecting previously deselected package libstdc++6-4.0-dev. Unpacking libstdc++6-4.0-dev (from .../libstdc++6-4.0-dev_4.0.3-1ubuntu5_i386.deb) ... Selecting previously deselected package g++-4.0. Unpacking g++-4.0 (from .../g++-4.0_4.0.3-1ubuntu5_i386.deb) ... Selecting previously deselected package g++. Unpacking g++ (from .../g++_4%3a4.0.3-1_i386.deb) ... Selecting previously deselected package make. Unpacking make (from .../make_3.80+3.81.b4-1_i386.deb) ... Selecting previously deselected package dpkg-dev. Unpacking dpkg-dev (from .../dpkg-dev_1.13.11ubuntu6_all.deb) ... Selecting previously deselected package build-essential. Unpacking build-essential (from .../build-essential_11.1_i386.deb) ... Setting up binutils (2.16.1cvs20060117-1ubuntu2.1) ... Setting up linux-kernel-headers (2.6.11.2-0ubuntu18) ... Setting up libc6-dev (2.3.6-0ubuntu20) ... Setting up cpp-4.0 (4.0.3-1ubuntu5) ... Setting up cpp (4.0.3-1) ... Setting up gcc-4.0 (4.0.3-1ubuntu5) ... Setting up gcc (4.0.3-1) ... Setting up make (3.80+3.81.b4-1) ... Setting up dpkg-dev (1.13.11ubuntu6) ... Setting up g++-4.0 (4.0.3-1ubuntu5) ... Setting up libstdc++6-4.0-dev (4.0.3-1ubuntu5) ... Setting up g++ (4.0.3-1) ... Setting up build-essential (11.1) ... benringor@ubuntu:/usr/src/linux-2.6.17.4$ sudo apt-get install kernel-package Reading package lists... Done Building dependency tree... Done Suggested packages: linux-source libdb3-dev docbook-utils The following NEW packages will be installed: kernel-package 0 upgraded, 1 newly installed, 0 to remove and 157 not upgraded. Need to get 362kB of archives. After unpacking 1348kB of additional disk space will be used. Get:1 http://us.archive.ubuntu.com dapper/main kernel-package 9.001ubuntu15 [362kB] Fetched 362kB in 3s (108kB/s) Selecting previously deselected package kernel-package. (Reading database ... 75330 files and directories currently installed.) Unpacking kernel-package (from .../kernel-package_9.001ubuntu15_all.deb) ... Setting up kernel-package (9.001ubuntu15) ... benringor@ubuntu:/usr/src/linux-2.6.17.4$ sudo apt-get install gcc Reading package lists... Done Building dependency tree... Done gcc is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 158 not upgraded. benringor@ubuntu:/usr/src/linux-2.6.17.4$ sudo apt-get install libncurses5 Reading package lists... Done Building dependency tree... Done libncurses5 is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 158 not upgraded. benringor@ubuntu:/usr/src/linux-2.6.17.4$ sudo apt-get install libncurses5-dev Reading package lists... Done

Page 5: Port Multiplier Support - Ubuntu Desktoppatching file drivers/scsi/sata_sx4.c patching file drivers/scsi/sata_uli.c patching file drivers/scsi/sata_via.c patching file drivers/scsi/sata_vsc.c

Building dependency tree... Done The following NEW packages will be installed: libncurses5-dev 0 upgraded, 1 newly installed, 0 to remove and 158 not upgraded. Need to get 1307kB of archives. After unpacking 6046kB of additional disk space will be used. Get:1 http://us.archive.ubuntu.com dapper/main libncurses5-dev 5.5-1ubuntu3 [1307kB] Fetched 1307kB in 11s (111kB/s) Selecting previously deselected package libncurses5-dev. (Reading database ... 71647 files and directories currently installed.) Unpacking libncurses5-dev (from .../libncurses5-dev_5.5-1ubuntu3_i386.deb) ... Setting up libncurses5-dev (5.5-1ubuntu3) ... benringor@ubuntu:/usr/src/linux-2.6.17.4$ sudo apt-get install libqt3-mt-dev Reading package lists... Done Building dependency tree... Done The following extra packages will be installed: libaudio-dev libexpat1-dev libfontconfig1-dev libfreetype6 libfreetype6-dev libgl1-mesa-dev libglu1-mesa-dev libice-dev libjpeg62-dev liblcms1-dev libmng-dev libpng12-dev libqt3-headers libqt3-mt libsm-dev libx11-dev libxau-dev libxcursor-dev libxdmcp-dev libxext-dev libxfixes-dev libxft-dev libxi-dev libxinerama-dev libxmu-dev libxmu-headers libxrandr-dev libxrender-dev libxt-dev mesa-common-dev qt3-dev-tools x-dev x11proto-core-dev x11proto-fixes-dev x11proto-input-dev x11proto-kb-dev x11proto-randr-dev x11proto-render-dev x11proto-xext-dev x11proto-xinerama-dev zlib1g-dev Suggested packages: libqt3-mt-psql libqt3-mt-mysql libqt3-mt-odbc libqt3-i18n qt3-doc Recommended packages: libqt3-compat-headers The following NEW packages will be installed: libaudio-dev libexpat1-dev libfontconfig1-dev libfreetype6-dev libgl1-mesa-dev libglu1-mesa-dev libice-dev libjpeg62-dev liblcms1-dev libmng-dev libpng12-dev libqt3-headers libqt3-mt libqt3-mt-dev libsm-dev libx11-dev libxau-dev libxcursor-dev libxdmcp-dev libxext-dev libxfixes-dev libxft-dev libxi-dev libxinerama-dev libxmu-dev libxmu-headers libxrandr-dev libxrender-dev libxt-dev mesa-common-dev qt3-dev-tools x-dev x11proto-core-dev x11proto-fixes-dev x11proto-input-dev x11proto-kb-dev x11proto-randr-dev x11proto-render-dev x11proto-xext-dev x11proto-xinerama-dev zlib1g-dev The following packages will be upgraded: libfreetype6 1 upgraded, 41 newly installed, 0 to remove and 157 not upgraded. Need to get 11.0MB of archives. After unpacking 37.9MB of additional disk space will be used. Do you want to continue [Y/n]? Y Get:1 http://us.archive.ubuntu.com dapper/main x11proto-core-dev 7.0.4-0ubuntu2 [75.0kB] Get:2 http://security.ubuntu.com dapper-security/main libfreetype6 2.1.10-1ubuntu2.2 [415kB] Get:3 http://us.archive.ubuntu.com dapper/main libice-dev 2:1.0.0-0ubuntu2 [49.1kB] Get:4 http://us.archive.ubuntu.com dapper/main libsm-dev 2:1.0.0-0ubuntu2 [19.2kB] Get:5 http://us.archive.ubuntu.com dapper/main x11proto-kb-dev 1.0.2-0ubuntu2 [26.0kB] Get:6 http://us.archive.ubuntu.com dapper/main x11proto-input-dev 1.3.2-0ubuntu2 [13.0kB] Get:7 http://us.archive.ubuntu.com dapper/main libxau-dev 1:1.0.0-0ubuntu4 [9996B] Get:8 http://us.archive.ubuntu.com dapper/main libxdmcp-dev 1:1.0.0-0ubuntu2 [9358B] Get:9 http://us.archive.ubuntu.com dapper/main libx11-dev 2:1.0.0-0ubuntu9 [1239kB] Get:10 http://security.ubuntu.com dapper-security/main libfreetype6-dev 2.1.10-1ubuntu2.2 [677kB] Get:11 http://us.archive.ubuntu.com dapper/main x11proto-render-dev 1:0.9.2-0ubuntu2 [6090B] Get:12 http://us.archive.ubuntu.com dapper/main libxrender-dev 1:0.9.0.2-0ubuntu2 [23.5kB] Get:13 http://us.archive.ubuntu.com dapper/main libxext-dev 2:1.0.0-0ubuntu4 [72.2kB] Get:14 http://us.archive.ubuntu.com dapper/main libxi-dev 2:1.0.0-0ubuntu3 [61.6kB] Get:15 http://us.archive.ubuntu.com dapper/main x11proto-xext-dev 7.0.2-0ubuntu2 [41.1kB] Get:16 http://us.archive.ubuntu.com dapper/main x11proto-fixes-dev 1:3.0.2-0ubuntu2 [4858B] Get:17 http://us.archive.ubuntu.com dapper/main libxfixes-dev 1:3.0.1.2-0ubuntu3 [10.7kB] Get:18 http://us.archive.ubuntu.com dapper/main libxcursor-dev 1.1.5.2-0ubuntu4 [29.2kB] Get:19 http://us.archive.ubuntu.com dapper/main libexpat1-dev 1.95.8-3 [127kB] Get:20 http://us.archive.ubuntu.com dapper/main zlib1g-dev 1:1.2.3-6ubuntu4 [405kB] Get:21 http://us.archive.ubuntu.com dapper/main libfontconfig1-dev 2.3.2-1.1ubuntu12 [532kB]

Page 6: Port Multiplier Support - Ubuntu Desktoppatching file drivers/scsi/sata_sx4.c patching file drivers/scsi/sata_uli.c patching file drivers/scsi/sata_via.c patching file drivers/scsi/sata_vsc.c

Get:22 http://us.archive.ubuntu.com dapper/main x-dev 7.0.4-0ubuntu2 [2954B] Get:23 http://us.archive.ubuntu.com dapper/main libxft-dev 2.1.8.2-0ubuntu2 [54.1kB] Get:24 http://us.archive.ubuntu.com dapper/main x11proto-xinerama-dev 1.1.2-0ubuntu2 [4596B] Get:25 http://us.archive.ubuntu.com dapper/main libxinerama-dev 2:1.0.1-0ubuntu2 [3916B] Get:26 http://us.archive.ubuntu.com dapper/main libxmu-headers 2:1.0.0-0ubuntu3 [15.7kB] Get:27 http://us.archive.ubuntu.com dapper/main x11proto-randr-dev 1.1.2-0ubuntu2 [4252B] Get:28 http://us.archive.ubuntu.com dapper/main libxrandr-dev 1:1.1.0.2-0ubuntu4 [14.0kB] Get:29 http://us.archive.ubuntu.com dapper/main libxt-dev 1:1.0.0-0ubuntu3 [466kB] Get:30 http://us.archive.ubuntu.com dapper/main mesa-common-dev 6.4.1-0ubuntu8 [167kB] Get:31 http://us.archive.ubuntu.com dapper/main libgl1-mesa-dev 6.4.1-0ubuntu8 [46.0kB] Get:32 http://us.archive.ubuntu.com dapper/main libglu1-mesa-dev 6.4.1-0ubuntu8 [255kB] Get:33 http://us.archive.ubuntu.com dapper/main libjpeg62-dev 6b-11 [185kB] Get:34 http://us.archive.ubuntu.com dapper/main liblcms1-dev 1.13-1 [132kB] Get:35 http://us.archive.ubuntu.com dapper/main libmng-dev 1.0.8-1 [249kB] Get:36 http://us.archive.ubuntu.com dapper/main libpng12-dev 1.2.8rel-5 [240kB] Get:37 http://us.archive.ubuntu.com dapper-updates/main libqt3-headers 3:3.3.6-1ubuntu6 [358kB] Get:38 http://us.archive.ubuntu.com dapper-updates/main libqt3-mt 3:3.3.6-1ubuntu6 [3152kB] Get:39 http://us.archive.ubuntu.com dapper/main libxmu-dev 2:1.0.0-0ubuntu3 [48.4kB] Get:40 http://us.archive.ubuntu.com dapper-updates/main qt3-dev-tools 3:3.3.6-1ubuntu6 [1223kB] Get:41 http://us.archive.ubuntu.com dapper/main libaudio-dev 1.7-3ubuntu3 [484kB] Get:42 http://us.archive.ubuntu.com dapper-updates/main libqt3-mt-dev 3:3.3.6-1ubuntu6 [49.6kB] Fetched 11.0MB in 1m51s (98.3kB/s) Extracting templates from packages: 100% Selecting previously deselected package x11proto-core-dev. (Reading database ... 72618 files and directories currently installed.) Unpacking x11proto-core-dev (from .../x11proto-core-dev_7.0.4-0ubuntu2_all.deb) ... Selecting previously deselected package libice-dev. Unpacking libice-dev (from .../libice-dev_2%3a1.0.0-0ubuntu2_i386.deb) ... Selecting previously deselected package libsm-dev. Unpacking libsm-dev (from .../libsm-dev_2%3a1.0.0-0ubuntu2_i386.deb) ... Selecting previously deselected package x11proto-kb-dev. Unpacking x11proto-kb-dev (from .../x11proto-kb-dev_1.0.2-0ubuntu2_all.deb) ... Selecting previously deselected package x11proto-input-dev. Unpacking x11proto-input-dev (from .../x11proto-input-dev_1.3.2-0ubuntu2_all.deb) ... Selecting previously deselected package libxau-dev. Unpacking libxau-dev (from .../libxau-dev_1%3a1.0.0-0ubuntu4_i386.deb) ... Selecting previously deselected package libxdmcp-dev. Unpacking libxdmcp-dev (from .../libxdmcp-dev_1%3a1.0.0-0ubuntu2_i386.deb) ... Selecting previously deselected package libx11-dev. Unpacking libx11-dev (from .../libx11-dev_2%3a1.0.0-0ubuntu9_i386.deb) ... Selecting previously deselected package x11proto-render-dev. Unpacking x11proto-render-dev (from .../x11proto-render-dev_1%3a0.9.2-0ubuntu2_all.deb) ... Selecting previously deselected package libxrender-dev. Unpacking libxrender-dev (from .../libxrender-dev_1%3a0.9.0.2-0ubuntu2_i386.deb) ... Selecting previously deselected package libxext-dev. Unpacking libxext-dev (from .../libxext-dev_2%3a1.0.0-0ubuntu4_i386.deb) ... Selecting previously deselected package libxi-dev. Unpacking libxi-dev (from .../libxi-dev_2%3a1.0.0-0ubuntu3_i386.deb) ... Selecting previously deselected package x11proto-xext-dev. Unpacking x11proto-xext-dev (from .../x11proto-xext-dev_7.0.2-0ubuntu2_all.deb) ... Selecting previously deselected package x11proto-fixes-dev. Unpacking x11proto-fixes-dev (from .../x11proto-fixes-dev_1%3a3.0.2-0ubuntu2_all.deb) ... Selecting previously deselected package libxfixes-dev. Unpacking libxfixes-dev (from .../libxfixes-dev_1%3a3.0.1.2-0ubuntu3_i386.deb) ... Selecting previously deselected package libxcursor-dev. Unpacking libxcursor-dev (from .../libxcursor-dev_1.1.5.2-0ubuntu4_i386.deb) ... Selecting previously deselected package libexpat1-dev. Unpacking libexpat1-dev (from .../libexpat1-dev_1.95.8-3_i386.deb) ... Preparing to replace libfreetype6 2.1.10-1ubuntu2 (using .../libfreetype6_2.1.10-1ubuntu2.2_i386.deb) ... Unpacking replacement libfreetype6 ... Selecting previously deselected package zlib1g-dev. Unpacking zlib1g-dev (from .../zlib1g-dev_1%3a1.2.3-6ubuntu4_i386.deb) ... Selecting previously deselected package libfreetype6-dev. Unpacking libfreetype6-dev (from .../libfreetype6-dev_2.1.10-1ubuntu2.2_i386.deb) ... Selecting previously deselected package libfontconfig1-dev. Unpacking libfontconfig1-dev (from .../libfontconfig1-dev_2.3.2-1.1ubuntu12_i386.deb) ... Selecting previously deselected package x-dev. Unpacking x-dev (from .../x-dev_7.0.4-0ubuntu2_all.deb) ... Selecting previously deselected package libxft-dev.

Page 7: Port Multiplier Support - Ubuntu Desktoppatching file drivers/scsi/sata_sx4.c patching file drivers/scsi/sata_uli.c patching file drivers/scsi/sata_via.c patching file drivers/scsi/sata_vsc.c

Unpacking libxft-dev (from .../libxft-dev_2.1.8.2-0ubuntu2_i386.deb) ... Selecting previously deselected package x11proto-xinerama-dev. Unpacking x11proto-xinerama-dev (from .../x11proto-xinerama-dev_1.1.2-0ubuntu2_all.deb) ... Selecting previously deselected package libxinerama-dev. Unpacking libxinerama-dev (from .../libxinerama-dev_2%3a1.0.1-0ubuntu2_i386.deb) ... Selecting previously deselected package libxmu-headers. Unpacking libxmu-headers (from .../libxmu-headers_2%3a1.0.0-0ubuntu3_all.deb) ... Selecting previously deselected package x11proto-randr-dev. Unpacking x11proto-randr-dev (from .../x11proto-randr-dev_1.1.2-0ubuntu2_all.deb) ... Selecting previously deselected package libxrandr-dev. Unpacking libxrandr-dev (from .../libxrandr-dev_1%3a1.1.0.2-0ubuntu4_i386.deb) ... Selecting previously deselected package libxt-dev. Unpacking libxt-dev (from .../libxt-dev_1%3a1.0.0-0ubuntu3_i386.deb) ... Selecting previously deselected package mesa-common-dev. Unpacking mesa-common-dev (from .../mesa-common-dev_6.4.1-0ubuntu8_all.deb) ... Selecting previously deselected package libgl1-mesa-dev. Unpacking libgl1-mesa-dev (from .../libgl1-mesa-dev_6.4.1-0ubuntu8_i386.deb) ... Selecting previously deselected package libglu1-mesa-dev. Unpacking libglu1-mesa-dev (from .../libglu1-mesa-dev_6.4.1-0ubuntu8_i386.deb) ... Selecting previously deselected package libjpeg62-dev. Unpacking libjpeg62-dev (from .../libjpeg62-dev_6b-11_i386.deb) ... Selecting previously deselected package liblcms1-dev. Unpacking liblcms1-dev (from .../liblcms1-dev_1.13-1_i386.deb) ... Selecting previously deselected package libmng-dev. Unpacking libmng-dev (from .../libmng-dev_1.0.8-1_i386.deb) ... Selecting previously deselected package libpng12-dev. Unpacking libpng12-dev (from .../libpng12-dev_1.2.8rel-5_i386.deb) ... Selecting previously deselected package libqt3-headers. Unpacking libqt3-headers (from .../libqt3-headers_3%3a3.3.6-1ubuntu6_i386.deb) ... Selecting previously deselected package libqt3-mt. Unpacking libqt3-mt (from .../libqt3-mt_3%3a3.3.6-1ubuntu6_i386.deb) ... Selecting previously deselected package libxmu-dev. Unpacking libxmu-dev (from .../libxmu-dev_2%3a1.0.0-0ubuntu3_i386.deb) ... Selecting previously deselected package qt3-dev-tools. Unpacking qt3-dev-tools (from .../qt3-dev-tools_3%3a3.3.6-1ubuntu6_i386.deb) ... Selecting previously deselected package libaudio-dev. Unpacking libaudio-dev (from .../libaudio-dev_1.7-3ubuntu3_i386.deb) ... Selecting previously deselected package libqt3-mt-dev. Unpacking libqt3-mt-dev (from .../libqt3-mt-dev_3%3a3.3.6-1ubuntu6_i386.deb) ... Setting up x11proto-core-dev (7.0.4-0ubuntu2) ... Setting up libice-dev (1.0.0-0ubuntu2) ... Setting up libsm-dev (1.0.0-0ubuntu2) ... Setting up x11proto-kb-dev (1.0.2-0ubuntu2) ... Setting up x11proto-input-dev (1.3.2-0ubuntu2) ... Setting up libxau-dev (1.0.0-0ubuntu4) ... Setting up libxdmcp-dev (1.0.0-0ubuntu2) ... Setting up libx11-dev (1.0.0-0ubuntu9) ... Setting up x11proto-render-dev (0.9.2-0ubuntu2) ... Setting up libxrender-dev (0.9.0.2-0ubuntu2) ... Setting up libexpat1-dev (1.95.8-3) ... Setting up libfreetype6 (2.1.10-1ubuntu2.2) ... Setting up zlib1g-dev (1.2.3-6ubuntu4) ... Setting up libfreetype6-dev (2.1.10-1ubuntu2.2) ... Setting up libfontconfig1-dev (2.3.2-1.1ubuntu12) ... Setting up x-dev (7.0.4-0ubuntu2) ... Setting up libxft-dev (2.1.8.2-0ubuntu2) ... Setting up x11proto-xinerama-dev (1.1.2-0ubuntu2) ... Setting up libxmu-headers (1.0.0-0ubuntu3) ... Setting up x11proto-randr-dev (1.1.2-0ubuntu2) ... Setting up libxt-dev (1.0.0-0ubuntu3) ... Setting up mesa-common-dev (6.4.1-0ubuntu8) ... Setting up libgl1-mesa-dev (6.4.1-0ubuntu8) ... Setting up libglu1-mesa-dev (6.4.1-0ubuntu8) ... Setting up libjpeg62-dev (6b-11) ... Setting up liblcms1-dev (1.13-1) ... Setting up libmng-dev (1.0.8-1) ... Setting up libpng12-dev (1.2.8rel-5) ...

Page 8: Port Multiplier Support - Ubuntu Desktoppatching file drivers/scsi/sata_sx4.c patching file drivers/scsi/sata_uli.c patching file drivers/scsi/sata_via.c patching file drivers/scsi/sata_vsc.c

Setting up libqt3-headers (3.3.6-1ubuntu6) ... Setting up libqt3-mt (3.3.6-1ubuntu6) ... Setting up qt3-dev-tools (3.3.6-1ubuntu6) ... Setting up libaudio-dev (1.7-3ubuntu3) ... Setting up libxext-dev (1.0.0-0ubuntu4) ... Setting up libxinerama-dev (1.0.1-0ubuntu2) ... Setting up libxrandr-dev (1.1.0.2-0ubuntu4) ... Setting up libxmu-dev (1.0.0-0ubuntu3) ... Setting up libxi-dev (1.0.0-0ubuntu3) ... Setting up x11proto-xext-dev (7.0.2-0ubuntu2) ... Setting up x11proto-fixes-dev (3.0.2-0ubuntu2) ... Setting up libxfixes-dev (3.0.1.2-0ubuntu3) ... Setting up libxcursor-dev (1.1.5.2-0ubuntu4) ... Setting up libqt3-mt-dev (3.3.6-1ubuntu6) ... benringor@ubuntu:/usr/src/linux-2.6.17.4$ sudo make menuconfig HOSTCC scripts/basic/fixdep HOSTCC scripts/basic/split-include HOSTCC scripts/basic/docproc HOSTCC scripts/kconfig/conf.o HOSTCC scripts/kconfig/kxgettext.o HOSTCC scripts/kconfig/mconf.o SHIPPED scripts/kconfig/zconf.tab.c SHIPPED scripts/kconfig/lex.zconf.c SHIPPED scripts/kconfig/zconf.hash.c HOSTCC scripts/kconfig/zconf.tab.o HOSTLD scripts/kconfig/mconf HOSTCC scripts/kconfig/lxdialog/checklist.o HOSTCC scripts/kconfig/lxdialog/inputbox.o HOSTCC scripts/kconfig/lxdialog/lxdialog.o HOSTCC scripts/kconfig/lxdialog/menubox.o HOSTCC scripts/kconfig/lxdialog/msgbox.o HOSTCC scripts/kconfig/lxdialog/textbox.o HOSTCC scripts/kconfig/lxdialog/util.o HOSTCC scripts/kconfig/lxdialog/yesno.o HOSTLD scripts/kconfig/lxdialog/lxdialog scripts/kconfig/mconf arch/i386/Kconfig # # using defaults found in /boot/config-2.6.15-23-386 # /boot/config-2.6.15-23-386:19:warning: trying to assign nonexistent symbol CLEAN_COMPILE /boot/config-2.6.15-23-386:39:warning: trying to assign nonexistent symbol KOBJECT_UEVENT /boot/config-2.6.15-23-386:53:warning: trying to assign nonexistent symbol CC_ALIGN_FUNCTIONS /boot/config-2.6.15-23-386:54:warning: trying to assign nonexistent symbol CC_ALIGN_LABELS /boot/config-2.6.15-23-386:55:warning: trying to assign nonexistent symbol CC_ALIGN_LOOPS /boot/config-2.6.15-23-386:56:warning: trying to assign nonexistent symbol CC_ALIGN_JUMPS /boot/config-2.6.15-23-386:66:warning: trying to assign nonexistent symbol OBSOLETE_MODPARM /boot/config-2.6.15-23-386:144:warning: trying to assign nonexistent symbol X86_UP_APIC_DEFAULT_OFF /boot/config-2.6.15-23-386:166:warning: trying to assign nonexistent symbol 05GB /boot/config-2.6.15-23-386:167:warning: trying to assign nonexistent symbol 1GB /boot/config-2.6.15-23-386:168:warning: trying to assign nonexistent symbol 2GB /boot/config-2.6.15-23-386:169:warning: trying to assign nonexistent symbol 3GB /boot/config-2.6.15-23-386:210:warning: trying to assign nonexistent symbol ACPI_SBS /boot/config-2.6.15-23-386:220:warning: trying to assign nonexistent symbol ACPI_PCC /boot/config-2.6.15-23-386:221:warning: trying to assign nonexistent symbol ACPI_SONY /boot/config-2.6.15-23-386:229:warning: trying to assign nonexistent symbol ACPI_TC1100 /boot/config-2.6.15-23-386:230:warning: trying to assign nonexistent symbol ACPI_INITRD /boot/config-2.6.15-23-386:231:warning: trying to assign nonexistent symbol ACPI_DEV /boot/config-2.6.15-23-386:303:warning: trying to assign nonexistent symbol PCI_LEGACY_PROC /boot/config-2.6.15-23-386:336:warning: trying to assign nonexistent symbol PCMCIA_PROBE_MEM /boot/config-2.6.15-23-386:477:warning: trying to assign nonexistent symbol IP_NF_MATCH_LIMIT /boot/config-2.6.15-23-386:479:warning: trying to assign nonexistent symbol IP_NF_MATCH_MAC /boot/config-2.6.15-23-386:480:warning: trying to assign nonexistent symbol IP_NF_MATCH_PKTTYPE /boot/config-2.6.15-23-386:481:warning: trying to assign nonexistent symbol IP_NF_MATCH_MARK /boot/config-2.6.15-23-386:482:warning: trying to assign nonexistent symbol IP_NF_MATCH_MULTIPORT /boot/config-2.6.15-23-386:487:warning: trying to assign nonexistent symbol IP_NF_MATCH_AH_ESP /boot/config-2.6.15-23-386:488:warning: trying to assign nonexistent symbol IP_NF_MATCH_LENGTH /boot/config-2.6.15-23-386:490:warning: trying to assign nonexistent symbol IP_NF_MATCH_TCPMSS

Page 9: Port Multiplier Support - Ubuntu Desktoppatching file drivers/scsi/sata_sx4.c patching file drivers/scsi/sata_uli.c patching file drivers/scsi/sata_via.c patching file drivers/scsi/sata_vsc.c

/boot/config-2.6.15-23-386:491:warning: trying to assign nonexistent symbol IP_NF_MATCH_HELPER /boot/config-2.6.15-23-386:492:warning: trying to assign nonexistent symbol IP_NF_MATCH_STATE /boot/config-2.6.15-23-386:493:warning: trying to assign nonexistent symbol IP_NF_MATCH_CONNTRACK /boot/config-2.6.15-23-386:495:warning: trying to assign nonexistent symbol IP_NF_MATCH_PHYSDEV /boot/config-2.6.15-23-386:497:warning: trying to assign nonexistent symbol IP_NF_MATCH_REALM /boot/config-2.6.15-23-386:498:warning: trying to assign nonexistent symbol IP_NF_MATCH_SCTP /boot/config-2.6.15-23-386:499:warning: trying to assign nonexistent symbol IP_NF_MATCH_DCCP /boot/config-2.6.15-23-386:500:warning: trying to assign nonexistent symbol IP_NF_MATCH_COMMENT /boot/config-2.6.15-23-386:501:warning: trying to assign nonexistent symbol IP_NF_MATCH_CONNMARK /boot/config-2.6.15-23-386:502:warning: trying to assign nonexistent symbol IP_NF_MATCH_CONNBYTES /boot/config-2.6.15-23-386:504:warning: trying to assign nonexistent symbol IP_NF_MATCH_STRING /boot/config-2.6.15-23-386:510:warning: trying to assign nonexistent symbol IP_NF_TARGET_NFQUEUE /boot/config-2.6.15-23-386:527:warning: trying to assign nonexistent symbol IP_NF_TARGET_MARK /boot/config-2.6.15-23-386:528:warning: trying to assign nonexistent symbol IP_NF_TARGET_CLASSIFY /boot/config-2.6.15-23-386:530:warning: trying to assign nonexistent symbol IP_NF_TARGET_CONNMARK /boot/config-2.6.15-23-386:533:warning: trying to assign nonexistent symbol IP_NF_TARGET_NOTRACK /boot/config-2.6.15-23-386:543:warning: trying to assign nonexistent symbol IP6_NF_MATCH_LIMIT /boot/config-2.6.15-23-386:544:warning: trying to assign nonexistent symbol IP6_NF_MATCH_MAC /boot/config-2.6.15-23-386:549:warning: trying to assign nonexistent symbol IP6_NF_MATCH_MULTIPORT /boot/config-2.6.15-23-386:551:warning: trying to assign nonexistent symbol IP6_NF_MATCH_MARK /boot/config-2.6.15-23-386:553:warning: trying to assign nonexistent symbol IP6_NF_MATCH_AHESP /boot/config-2.6.15-23-386:554:warning: trying to assign nonexistent symbol IP6_NF_MATCH_LENGTH /boot/config-2.6.15-23-386:556:warning: trying to assign nonexistent symbol IP6_NF_MATCH_PHYSDEV /boot/config-2.6.15-23-386:560:warning: trying to assign nonexistent symbol IP6_NF_TARGET_NFQUEUE /boot/config-2.6.15-23-386:562:warning: trying to assign nonexistent symbol IP6_NF_TARGET_MARK /boot/config-2.6.15-23-386:611:warning: trying to assign nonexistent symbol IP_DCCP_UNLOAD_HACK /boot/config-2.6.15-23-386:830:warning: trying to assign nonexistent symbol IEEE80211_1_1_13 /boot/config-2.6.15-23-386:831:warning: trying to assign nonexistent symbol IEEE80211_1_1_13_CRYPT_WEP /boot/config-2.6.15-23-386:832:warning: trying to assign nonexistent symbol IEEE80211_1_1_13_CRYPT_CCMP /boot/config-2.6.15-23-386:833:warning: trying to assign nonexistent symbol IEEE80211_1_1_13_CRYPT_TKIP /boot/config-2.6.15-23-386:896:warning: trying to assign nonexistent symbol MTD_CFI_AMDSTD_RETRY /boot/config-2.6.15-23-386:941:warning: trying to assign nonexistent symbol MTD_BLKMTD /boot/config-2.6.15-23-386:1045:warning: trying to assign nonexistent symbol BLK_DEV_CLOOP /boot/config-2.6.15-23-386:1056:warning: trying to assign nonexistent symbol BLK_DEV_GNBD /boot/config-2.6.15-23-386:1077:warning: trying to assign nonexistent symbol BLK_DEV_IDEACPI /boot/config-2.6.15-23-386:1086:warning: symbol value 'm' invalid for BLK_DEV_IDEPNP /boot/config-2.6.15-23-386:1118:warning: trying to assign nonexistent symbol PDC202XX_FORCE /boot/config-2.6.15-23-386:1161:warning: trying to assign nonexistent symbol SCSI_SPI2_ATTRS /boot/config-2.6.15-23-386:1169:warning: trying to assign nonexistent symbol SAS_CLASS /boot/config-2.6.15-23-386:1170:warning: trying to assign nonexistent symbol SAS_DEBUG /boot/config-2.6.15-23-386:1184:warning: trying to assign nonexistent symbol SCSI_AIC94XX /boot/config-2.6.15-23-386:1185:warning: trying to assign nonexistent symbol AIC94XX_DEBUG /boot/config-2.6.15-23-386:1204:warning: trying to assign nonexistent symbol SCSI_ARCMSR /boot/config-2.6.15-23-386:1226:warning: trying to assign nonexistent symbol SCSI_SATA_ACPI /boot/config-2.6.15-23-386:1274:warning: trying to assign nonexistent symbol SCSI_QLA2XXX /boot/config-2.6.15-23-386:1279:warning: trying to assign nonexistent symbol SCSI_QLA6312 /boot/config-2.6.15-23-386:1382:warning: trying to assign nonexistent symbol IEEE1394_CMP /boot/config-2.6.15-23-386:1536:warning: trying to assign nonexistent symbol R1000 /boot/config-2.6.15-23-386:1559:warning: trying to assign nonexistent symbol NET_IPG /boot/config-2.6.15-23-386:1610:warning: trying to assign nonexistent symbol IPW2100_FS_AMILO_M7400 /boot/config-2.6.15-23-386:1632:warning: trying to assign nonexistent symbol ADM8211 /boot/config-2.6.15-23-386:1643:warning: trying to assign nonexistent symbol WLAN_NG /boot/config-2.6.15-23-386:1644:warning: trying to assign nonexistent symbol PRISM2 /boot/config-2.6.15-23-386:1645:warning: trying to assign nonexistent symbol PRISM2_USB /boot/config-2.6.15-23-386:1646:warning: trying to assign nonexistent symbol PRISM2_PCI /boot/config-2.6.15-23-386:1647:warning: trying to assign nonexistent symbol PRISM2_PLX /boot/config-2.6.15-23-386:1648:warning: trying to assign nonexistent symbol PRISM2_CS /boot/config-2.6.15-23-386:1649:warning: trying to assign nonexistent symbol NET_ACX /boot/config-2.6.15-23-386:1650:warning: trying to assign nonexistent symbol NET_ACX_PCI /boot/config-2.6.15-23-386:1651:warning: trying to assign nonexistent symbol NET_ACX_USB /boot/config-2.6.15-23-386:1659:warning: trying to assign nonexistent symbol PRISM54_SOFTMAC /boot/config-2.6.15-23-386:1660:warning: trying to assign nonexistent symbol NET_RT2600 /boot/config-2.6.15-23-386:1661:warning: trying to assign nonexistent symbol NET_RT2500 /boot/config-2.6.15-23-386:1662:warning: trying to assign nonexistent symbol NET_RT2400 /boot/config-2.6.15-23-386:1663:warning: trying to assign nonexistent symbol NET_RTL818X /boot/config-2.6.15-23-386:1664:warning: trying to assign nonexistent symbol NET_RTL8187 /boot/config-2.6.15-23-386:1665:warning: trying to assign nonexistent symbol IPW3945

Page 10: Port Multiplier Support - Ubuntu Desktoppatching file drivers/scsi/sata_sx4.c patching file drivers/scsi/sata_uli.c patching file drivers/scsi/sata_via.c patching file drivers/scsi/sata_vsc.c

/boot/config-2.6.15-23-386:1666:warning: trying to assign nonexistent symbol IPW3945_DEBUG /boot/config-2.6.15-23-386:1667:warning: trying to assign nonexistent symbol IPW3945_MONITOR /boot/config-2.6.15-23-386:1668:warning: trying to assign nonexistent symbol NET_MRV8K /boot/config-2.6.15-23-386:1717:warning: trying to assign nonexistent symbol VENDOR_SANGOMA /boot/config-2.6.15-23-386:1783:warning: trying to assign nonexistent symbol NDISWRAPPER /boot/config-2.6.15-23-386:1936:warning: trying to assign nonexistent symbol MISDN_DRV /boot/config-2.6.15-23-386:1937:warning: trying to assign nonexistent symbol MISDN_MEMDEBUG /boot/config-2.6.15-23-386:1938:warning: trying to assign nonexistent symbol MISDN_AVM_FRITZ /boot/config-2.6.15-23-386:1939:warning: trying to assign nonexistent symbol MISDN_HFCPCI /boot/config-2.6.15-23-386:1940:warning: trying to assign nonexistent symbol MISDN_HFCMULTI /boot/config-2.6.15-23-386:1941:warning: trying to assign nonexistent symbol MISDN_HFCUSB /boot/config-2.6.15-23-386:1942:warning: trying to assign nonexistent symbol MISDN_SPEEDFAX /boot/config-2.6.15-23-386:1943:warning: trying to assign nonexistent symbol MISDN_W6692 /boot/config-2.6.15-23-386:1944:warning: trying to assign nonexistent symbol MISDN_DSP /boot/config-2.6.15-23-386:2023:warning: trying to assign nonexistent symbol INPUT_ACERHK /boot/config-2.6.15-23-386:2048:warning: trying to assign nonexistent symbol ECC /boot/config-2.6.15-23-386:2078:warning: trying to assign nonexistent symbol SERIAL_8250_ACPI /boot/config-2.6.15-23-386:2304:warning: trying to assign nonexistent symbol SENSORS_RTC8564 /boot/config-2.6.15-23-386:2306:warning: trying to assign nonexistent symbol RTC_X1205_I2C /boot/config-2.6.15-23-386:2316:warning: trying to assign nonexistent symbol W1_MATROX /boot/config-2.6.15-23-386:2317:warning: trying to assign nonexistent symbol W1_DS9490 /boot/config-2.6.15-23-386:2318:warning: trying to assign nonexistent symbol W1_DS9490_BRIDGE /boot/config-2.6.15-23-386:2319:warning: trying to assign nonexistent symbol W1_THERM /boot/config-2.6.15-23-386:2320:warning: trying to assign nonexistent symbol W1_SMEM /boot/config-2.6.15-23-386:2322:warning: trying to assign nonexistent symbol W1_DS2433_CRC /boot/config-2.6.15-23-386:2370:warning: trying to assign nonexistent symbol AVERATEC_5100P /boot/config-2.6.15-23-386:2371:warning: trying to assign nonexistent symbol PACKARDBELL_E5 /boot/config-2.6.15-23-386:2425:warning: trying to assign nonexistent symbol VIDEO_AUDIO_DECODER /boot/config-2.6.15-23-386:2426:warning: trying to assign nonexistent symbol VIDEO_DECODER /boot/config-2.6.15-23-386:2522:warning: trying to assign nonexistent symbol DVB_TDA80XX /boot/config-2.6.15-23-386:2544:warning: trying to assign nonexistent symbol DVB_ATMEL_AT76C651 /boot/config-2.6.15-23-386:2552:warning: trying to assign nonexistent symbol DVB_NXT2002 /boot/config-2.6.15-23-386:2565:warning: trying to assign nonexistent symbol DXR3 /boot/config-2.6.15-23-386:2566:warning: trying to assign nonexistent symbol EM8300 /boot/config-2.6.15-23-386:2567:warning: trying to assign nonexistent symbol EM8300_LOOPBACK /boot/config-2.6.15-23-386:2568:warning: trying to assign nonexistent symbol EM8300_UCODETIMEOUT /boot/config-2.6.15-23-386:2569:warning: trying to assign nonexistent symbol EM8300_DICOMFIX /boot/config-2.6.15-23-386:2570:warning: trying to assign nonexistent symbol EM8300_DICOMCTRL /boot/config-2.6.15-23-386:2571:warning: trying to assign nonexistent symbol EM8300_DICOMPAL /boot/config-2.6.15-23-386:2572:warning: trying to assign nonexistent symbol ADV717X /boot/config-2.6.15-23-386:2573:warning: trying to assign nonexistent symbol ADV717X_SWAP /boot/config-2.6.15-23-386:2574:warning: trying to assign nonexistent symbol ADV717X_PIXELPORT16BIT /boot/config-2.6.15-23-386:2575:warning: trying to assign nonexistent symbol ADV717X_PIXELPORTPAL /boot/config-2.6.15-23-386:2576:warning: trying to assign nonexistent symbol BT865 /boot/config-2.6.15-23-386:2602:warning: symbol value 'm' invalid for FB_VESA /boot/config-2.6.15-23-386:2623:warning: trying to assign nonexistent symbol FB_RADEON_OLD /boot/config-2.6.15-23-386:2631:warning: trying to assign nonexistent symbol FB_ATY_XL_INIT /boot/config-2.6.15-23-386:2650:warning: trying to assign nonexistent symbol FB_IMAC /boot/config-2.6.15-23-386:2700:warning: trying to assign nonexistent symbol SND_GENERIC_DRIVER /boot/config-2.6.15-23-386:2813:warning: trying to assign nonexistent symbol BT_ALSA /boot/config-2.6.15-23-386:2819:warning: trying to assign nonexistent symbol OBSOLETE_OSS_DRIVER /boot/config-2.6.15-23-386:2887:warning: trying to assign nonexistent symbol OBSOLETE_OSS_USB_DRIVER /boot/config-2.6.15-23-386:2927:warning: trying to assign nonexistent symbol USB_MTOUCH /boot/config-2.6.15-23-386:2928:warning: trying to assign nonexistent symbol USB_ITMTOUCH /boot/config-2.6.15-23-386:2929:warning: trying to assign nonexistent symbol USB_EGALAX /boot/config-2.6.15-23-386:2936:warning: trying to assign nonexistent symbol USB_SYNAPTICS /boot/config-2.6.15-23-386:2937:warning: trying to assign nonexistent symbol USB_CPADDEV /boot/config-2.6.15-23-386:2958:warning: trying to assign nonexistent symbol USB_QC /boot/config-2.6.15-23-386:2959:warning: trying to assign nonexistent symbol USB_SPCA5XX /boot/config-2.6.15-23-386:2960:warning: trying to assign nonexistent symbol USB_PODXTPRO /boot/config-2.6.15-23-386:2962:warning: trying to assign nonexistent symbol USB_OV511_DECOMP /boot/config-2.6.15-23-386:2963:warning: trying to assign nonexistent symbol USB_OV518_DECOMP /boot/config-2.6.15-23-386:2987:warning: trying to assign nonexistent symbol USB_EAGLE /boot/config-2.6.15-23-386:2988:warning: trying to assign nonexistent symbol USB_ZD1211 /boot/config-2.6.15-23-386:2989:warning: trying to assign nonexistent symbol USB_ATMEL /boot/config-2.6.15-23-386:2990:warning: trying to assign nonexistent symbol USB_RT2570 /boot/config-2.6.15-23-386:3198:warning: trying to assign nonexistent symbol RELAYFS_FS /boot/config-2.6.15-23-386:3207:warning: trying to assign nonexistent symbol ASFS_FS /boot/config-2.6.15-23-386:3208:warning: trying to assign nonexistent symbol ASFS_DEFAULT_CODEPAGE

Page 11: Port Multiplier Support - Ubuntu Desktoppatching file drivers/scsi/sata_sx4.c patching file drivers/scsi/sata_uli.c patching file drivers/scsi/sata_via.c patching file drivers/scsi/sata_vsc.c

/boot/config-2.6.15-23-386:3209:warning: trying to assign nonexistent symbol ASFS_RW /boot/config-2.6.15-23-386:3228:warning: trying to assign nonexistent symbol SQUASHFS /boot/config-2.6.15-23-386:3229:warning: trying to assign nonexistent symbol SQUASHFS_1_0_COMPATIBILITY /boot/config-2.6.15-23-386:3230:warning: trying to assign nonexistent symbol SQUASHFS_2_0_COMPATIBILITY /boot/config-2.6.15-23-386:3238:warning: trying to assign nonexistent symbol UNION_FS /boot/config-2.6.15-23-386:3285:warning: trying to assign nonexistent symbol GFS_FS /boot/config-2.6.15-23-386:3286:warning: trying to assign nonexistent symbol GFS_FS_LOCK_HARNESS /boot/config-2.6.15-23-386:3407:warning: trying to assign nonexistent symbol SECURITY_REALTIME /boot/config-2.6.15-23-386:3472:warning: trying to assign nonexistent symbol CLUSTER *** End of Linux kernel configuration. *** Execute 'make' to build the kernel or try 'make help'.

Under Device Drivers > ATA/ATAPI/MFM/RLL support, check if Silicon Image chipset support is a module <M>.

Page 12: Port Multiplier Support - Ubuntu Desktoppatching file drivers/scsi/sata_sx4.c patching file drivers/scsi/sata_uli.c patching file drivers/scsi/sata_via.c patching file drivers/scsi/sata_vsc.c

Under Device Drivers > SCSI device support > SCSI low-level drivers, check if Silicon Image 3124/3132 SATA support is a module <M>.

Page 13: Port Multiplier Support - Ubuntu Desktoppatching file drivers/scsi/sata_sx4.c patching file drivers/scsi/sata_uli.c patching file drivers/scsi/sata_via.c patching file drivers/scsi/sata_vsc.c

Save changes.

benringor@ubuntu:/usr/src/linux-2.6.17.4$ sudo make-kpkg clean /usr/bin/make -f /usr/share/kernel-package/rules real_stamp_clean make[1]: Entering directory `/usr/src/linux-2.6.17.4' test ! -f .config || cp -pf .config config.precious

Page 14: Port Multiplier Support - Ubuntu Desktoppatching file drivers/scsi/sata_sx4.c patching file drivers/scsi/sata_uli.c patching file drivers/scsi/sata_via.c patching file drivers/scsi/sata_vsc.c

test -f Makefile && \ /usr/bin/make ARCH=i386 distclean make[2]: Entering directory `/usr/src/linux-2.6.17.4' CLEAN scripts/basic CLEAN scripts/kconfig/lxdialog CLEAN scripts/kconfig CLEAN .config include/linux/autoconf.h .kernelrelease make[2]: Leaving directory `/usr/src/linux-2.6.17.4' test ! -f config.precious || mv -f config.precious .config test ! -f stamp-patch || /usr/bin/make -f /usr/share/kernel-package/rules unpatch_now test -f stamp-building || test -f debian/official || rm -rf debian # work around idiocy in recent kernel versions test ! -e scripts/package/builddeb.dist || \ mv -f scripts/package/builddeb.dist scripts/package/builddeb test ! -e scripts/package/Makefile.dist || \ mv -f scripts/package/Makefile.dist scripts/package/Makefile rm -f modules/modversions.h modules/ksyms.ver debian/files conf.vars scripts/cramfs/cramfsck scripts/cramfs/mkcramfs applied_patches debian/buildinfo stamp-build stamp-configure stamp-source stamp-image stamp-headers stamp-src stamp-diff stamp-doc stamp-buildpackage stamp-libc-kheaders stamp-debian stamp-patch stamp-kernel-configure rm -rf debian/tmp-source debian/tmp-headers debian/tmp-image debian/tmp-doc make[1]: Leaving directory `/usr/src/linux-2.6.17.4' benringor@ubuntu:/usr/src/linux-2.6.17.4$ benringor@ubuntu:/usr/src/linux-2.6.17.4$ sudo make-kpkg --initrd --append-to-version=-custom kernel_image kernel_headers … INSTALL sound/isa/snd-als100.ko INSTALL sound/isa/snd-azt2320.ko INSTALL sound/isa/snd-cmi8330.ko INSTALL sound/isa/snd-dt019x.ko INSTALL sound/isa/snd-es18xx.ko INSTALL sound/isa/snd-opl3sa2.ko INSTALL sound/isa/snd-sgalaxy.ko INSTALL sound/isa/snd-sscape.ko INSTALL sound/isa/wavefront/snd-wavefront.ko INSTALL sound/oss/ac97_codec.ko INSTALL sound/oss/aci.ko INSTALL sound/oss/ad1848.ko INSTALL sound/oss/ad1889.ko INSTALL sound/oss/adlib_card.ko INSTALL sound/oss/aedsp16.ko INSTALL sound/oss/cs46xx.ko INSTALL sound/oss/i810_audio.ko INSTALL sound/oss/kahlua.ko INSTALL sound/oss/mpu401.ko INSTALL sound/oss/opl3.ko INSTALL sound/oss/opl3sa2.ko INSTALL sound/oss/pas2.ko INSTALL sound/oss/pss.ko INSTALL sound/oss/sb.ko INSTALL sound/oss/sb_lib.ko INSTALL sound/oss/sound.ko INSTALL sound/oss/trident.ko INSTALL sound/oss/trix.ko INSTALL sound/oss/uart401.ko INSTALL sound/oss/uart6850.ko INSTALL sound/oss/v_midi.ko INSTALL sound/pci/ac97/snd-ac97-bus.ko INSTALL sound/pci/ac97/snd-ac97-codec.ko INSTALL sound/pci/ac97/snd-ak4531-codec.ko INSTALL sound/pci/ali5451/snd-ali5451.ko INSTALL sound/pci/au88x0/snd-au8810.ko INSTALL sound/pci/au88x0/snd-au8820.ko INSTALL sound/pci/au88x0/snd-au8830.ko INSTALL sound/pci/ca0106/snd-ca0106.ko INSTALL sound/pci/cs46xx/snd-cs46xx.ko INSTALL sound/pci/emu10k1/snd-emu10k1-synth.ko INSTALL sound/pci/emu10k1/snd-emu10k1.ko INSTALL sound/pci/emu10k1/snd-emu10k1x.ko INSTALL sound/pci/hda/snd-hda-codec.ko

Page 15: Port Multiplier Support - Ubuntu Desktoppatching file drivers/scsi/sata_sx4.c patching file drivers/scsi/sata_uli.c patching file drivers/scsi/sata_via.c patching file drivers/scsi/sata_vsc.c

INSTALL sound/pci/hda/snd-hda-intel.ko INSTALL sound/pci/ice1712/snd-ice1712.ko INSTALL sound/pci/ice1712/snd-ice1724.ko INSTALL sound/pci/ice1712/snd-ice17xx-ak4xxx.ko INSTALL sound/pci/korg1212/snd-korg1212.ko INSTALL sound/pci/mixart/snd-mixart.ko INSTALL sound/pci/nm256/snd-nm256.ko INSTALL sound/pci/rme9652/snd-hdsp.ko INSTALL sound/pci/rme9652/snd-hdspm.ko INSTALL sound/pci/rme9652/snd-rme9652.ko INSTALL sound/pci/snd-ad1889.ko INSTALL sound/pci/snd-als4000.ko INSTALL sound/pci/snd-atiixp-modem.ko INSTALL sound/pci/snd-atiixp.ko INSTALL sound/pci/snd-azt3328.ko INSTALL sound/pci/snd-bt87x.ko INSTALL sound/pci/snd-cmipci.ko INSTALL sound/pci/snd-cs4281.ko INSTALL sound/pci/snd-ens1370.ko INSTALL sound/pci/snd-ens1371.ko INSTALL sound/pci/snd-es1938.ko INSTALL sound/pci/snd-es1968.ko INSTALL sound/pci/snd-fm801.ko INSTALL sound/pci/snd-intel8x0.ko INSTALL sound/pci/snd-intel8x0m.ko INSTALL sound/pci/snd-maestro3.ko INSTALL sound/pci/snd-rme32.ko INSTALL sound/pci/snd-rme96.ko INSTALL sound/pci/snd-sonicvibes.ko INSTALL sound/pci/snd-via82xx-modem.ko INSTALL sound/pci/snd-via82xx.ko INSTALL sound/pci/trident/snd-trident-synth.ko INSTALL sound/pci/trident/snd-trident.ko INSTALL sound/pci/vx222/snd-vx222.ko INSTALL sound/pci/ymfpci/snd-ymfpci.ko INSTALL sound/pcmcia/pdaudiocf/snd-pdaudiocf.ko INSTALL sound/pcmcia/vx/snd-vxpocket.ko INSTALL sound/soundcore.ko INSTALL sound/synth/emux/snd-emux-synth.ko INSTALL sound/synth/snd-util-mem.ko INSTALL sound/usb/snd-usb-audio.ko INSTALL sound/usb/snd-usb-lib.ko INSTALL sound/usb/usx2y/snd-usb-usx2y.ko if [ -r System.map -a -x /sbin/depmod ]; then /sbin/depmod -ae -F System.map -b /usr/src/linux-2.6.17.4/debian/tmp-image -r 2.6.17.4-custom; fi make[2]: Leaving directory `/usr/src/linux-2.6.17.4' test ! -e debian/tmp-image/lib/modules/2.6.17.4-custom/source || \ mv debian/tmp-image/lib/modules/2.6.17.4-custom/source ./debian/source-link test ! -e debian/tmp-image/lib/modules/2.6.17.4-custom/build || \ mv debian/tmp-image/lib/modules/2.6.17.4-custom/build ./debian/build-link depmod -q -FSystem.map -b debian/tmp-image 2.6.17.4-custom; test ! -e ./debian/source-link || \ mv ./debian/source-link debian/tmp-image/lib/modules/2.6.17.4-custom/source test ! -e ./debian/build-link || \ mv ./debian/build-link debian/tmp-image/lib/modules/2.6.17.4-custom/build cp arch/i386/boot/bzImage debian/tmp-image/boot/vmlinuz-2.6.17.4-custom chmod 644 debian/tmp-image/boot/vmlinuz-2.6.17.4-custom; if test -d /usr/src/linux-2.6.17.4/debian/image.d ; then \ IMAGE_TOP=debian/tmp-image version=2.6.17.4-custom \ run-parts --verbose /usr/src/linux-2.6.17.4/debian/image.d ; \ fi if [ -x debian/post-install ]; then \ IMAGE_TOP=debian/tmp-image STEM=kernel version=2.6.17.4-custom \ debian/post-install; \ fi test ! -s applied_patches || cp applied_patches \ debian/tmp-image/boot/patches-2.6.17.4-custom test ! -s applied_patches || chmod 644 \ debian/tmp-image/boot/patches-2.6.17.4-custom test ! -f System.map || cp System.map \

Page 16: Port Multiplier Support - Ubuntu Desktoppatching file drivers/scsi/sata_sx4.c patching file drivers/scsi/sata_uli.c patching file drivers/scsi/sata_via.c patching file drivers/scsi/sata_vsc.c

debian/tmp-image/boot/System.map-2.6.17.4-custom; test ! -f System.map || chmod 644 \ debian/tmp-image/boot/System.map-2.6.17.4-custom; # For LKCD enabled kernels test ! -f Kerntypes || cp Kerntypes \ debian/tmp-image/boot/Kerntypes-2.6.17.4-custom test ! -f Kerntypes || chmod 644 \ debian/tmp-image/boot/Kerntypes-2.6.17.4-custom dpkg-gencontrol -DArchitecture=i386 -isp \ -pkernel-image-2.6.17.4-custom -Pdebian/tmp-image/ chmod -R og=rX debian/tmp-image chown -R root:root debian/tmp-image dpkg --build debian/tmp-image .. dpkg-deb: building package `kernel-image-2.6.17.4-custom' in `../kernel-image-2.6.17.4-custom_10.00.Custom_i386.deb'. rm -f -r debian/tmp-image echo done > stamp-image make[1]: Leaving directory `/usr/src/linux-2.6.17.4' /usr/bin/make -f /usr/share/kernel-package/rules real_stamp_headers make[1]: Entering directory `/usr/src/linux-2.6.17.4' test -f stamp-configure || /usr/bin/make -f /usr/share/kernel-package/rules configure rm -rf debian/tmp-headers install -p -d -o root -g root -m 755 debian/tmp-headers/DEBIAN install -p -d -o root -g root -m 755 debian/tmp-headers/usr/src/kernel-headers-2.6.17.4-custom install -p -d -o root -g root -m 755 debian/tmp-headers/usr/share/doc/kernel-headers-2.6.17.4-custom install -p -d -o root -g root -m 755 debian/tmp-headers/usr/src/kernel-headers-2.6.17.4-custom/arch/i386 sed -e 's/=P/kernel-headers-2.6.17.4-custom/g' -e 's/=V/2.6.17.4-custom/g' \ /usr/share/kernel-package/include.postinst > debian/tmp-headers/DEBIAN/postinst chmod 755 debian/tmp-headers/DEBIAN/postinst install -p -o root -g root -m 644 /usr/share/kernel-package/copyright.headers debian/tmp-headers/usr/share/doc/kernel-headers-2.6.17.4-custom/copyright install -p -o root -g root -m 644 debian/changelog debian/tmp-headers/usr/share/doc/kernel-headers-2.6.17.4-custom/changelog.Debian gzip -9qf debian/tmp-headers/usr/share/doc/kernel-headers-2.6.17.4-custom/changelog.Debian install -p -o root -g root -m 644 /usr/share/kernel-package/README.headers debian/tmp-headers/usr/share/doc/kernel-headers-2.6.17.4-custom/debian.README gzip -9qf debian/tmp-headers/usr/share/doc/kernel-headers-2.6.17.4-custom/debian.README install -p -o root -g root -m 644 .config debian/tmp-headers/usr/share/doc/kernel-headers-2.6.17.4-custom/config-2.6.17.4-custom install -p -o root -g root -m 644 conf.vars debian/tmp-headers/usr/share/doc/kernel-headers-2.6.17.4-custom/conf.vars gzip -9qf debian/tmp-headers/usr/share/doc/kernel-headers-2.6.17.4-custom/config-2.6.17.4-custom gzip -9qf debian/tmp-headers/usr/share/doc/kernel-headers-2.6.17.4-custom/conf.vars install -p -o root -g root -m 644 CREDITS debian/tmp-headers/usr/share/doc/kernel-headers-2.6.17.4-custom/ gzip -9qf debian/tmp-headers/usr/share/doc/kernel-headers-2.6.17.4-custom/CREDITS install -p -o root -g root -m 644 MAINTAINERS debian/tmp-headers/usr/share/doc/kernel-headers-2.6.17.4-custom/ gzip -9qf debian/tmp-headers/usr/share/doc/kernel-headers-2.6.17.4-custom/MAINTAINERS install -p -o root -g root -m 644 REPORTING-BUGS debian/tmp-headers/usr/share/doc/kernel-headers-2.6.17.4-custom/ gzip -9qf debian/tmp-headers/usr/share/doc/kernel-headers-2.6.17.4-custom/REPORTING-BUGS install -p -o root -g root -m 644 README debian/tmp-headers/usr/share/doc/kernel-headers-2.6.17.4-custom/ gzip -9qf debian/tmp-headers/usr/share/doc/kernel-headers-2.6.17.4-custom/README if test -f debian/official && test -f debian/README.Debian ; then \ install -p -o root -g root -m 644 debian/README.Debian debian/tmp-headers/usr/share/doc/kernel-headers-2.6.17.4-custom/README.Debian; \ gzip -9qf debian/tmp-headers/usr/share/doc/kernel-headers-2.6.17.4-custom/README.Debian; \

Page 17: Port Multiplier Support - Ubuntu Desktoppatching file drivers/scsi/sata_sx4.c patching file drivers/scsi/sata_uli.c patching file drivers/scsi/sata_via.c patching file drivers/scsi/sata_vsc.c

install -p -o root -g root -m 644 README.Debian debian/tmp-headers/usr/share/doc/kernel-headers-2.6.17.4-custom/README.Debian; \ gzip -9qf debian/tmp-headers/usr/share/doc/kernel-headers-2.6.17.4-custom/README.Debian; \ fi if test -f README.Debian ; then \ install -p -o root -g root -m 644 README.Debian debian/tmp-headers/usr/share/doc/kernel-headers-2.6.17.4-custom/README.Debian.1st;\ gzip -9qf debian/tmp-headers/usr/share/doc/kernel-headers-2.6.17.4-custom/README.Debian.1st;\ fi echo "This was produced by kernel-package version 9.001ubuntu15." > \ debian/tmp-headers/usr/share/doc/kernel-headers-2.6.17.4-custom/Buildinfo chmod 0644 debian/tmp-headers/usr/share/doc/kernel-headers-2.6.17.4-custom/Buildinfo install -p -o root -g root -m 644 Makefile debian/tmp-headers/usr/src/kernel-headers-2.6.17.4-custom test ! -e Rules.make || install -p -o root -g root -m 644 Rules.make debian/tmp-headers/usr/src/kernel-headers-2.6.17.4-custom test ! -e arch/i386/Makefile || \ install -p -o root -g root -m 644 arch/i386/Makefile debian/tmp-headers/usr/src/kernel-headers-2.6.17.4-custom/arch/i386 test ! -e Rules.make || install -p -o root -g root -m 644 Rules.make debian/tmp-headers/usr/src/kernel-headers-2.6.17.4-custom tar cf - include | (cd debian/tmp-headers/usr/src/kernel-headers-2.6.17.4-custom; umask 000; tar xsf -) tar cf - scripts | (cd debian/tmp-headers/usr/src/kernel-headers-2.6.17.4-custom; umask 000; tar xsf -) # Undo the move away of the scripts dir Makefile test ! -f debian/tmp-headers/usr/src/kernel-headers-2.6.17.4-custom/scripts/package/Makefile.dist || \ mv -f debian/tmp-headers/usr/src/kernel-headers-2.6.17.4-custom/scripts/package/Makefile.dist \ debian/tmp-headers/usr/src/kernel-headers-2.6.17.4-custom/scripts/package/Makefile test ! -f debian/tmp-headers/usr/src/kernel-headers-2.6.17.4-custom/scripts/package/builddeb.dist || \ mv -f debian/tmp-headers/usr/src/kernel-headers-2.6.17.4-custom/scripts/package/builddeb.dist \ debian/tmp-headers/usr/src/kernel-headers-2.6.17.4-custom/scripts/package/builddeb (cd debian/tmp-headers/usr/src/kernel-headers-2.6.17.4-custom/include; rm -f asm; ln -s asm-i386 asm) find . -path './scripts/*' -prune -o -path './Documentation/*' -prune -o \ -path './debian/*' -prune -o -type f \ \( -name Makefile -o -name 'Kconfig*' \) -print | \ cpio -pd --preserve-modification-time debian/tmp-headers/usr/src/kernel-headers-2.6.17.4-custom; cpio: debian/tmp-headers/usr/src/kernel-headers-2.6.17.4-custom/./Makefile not created: newer or same age version exists cpio: debian/tmp-headers/usr/src/kernel-headers-2.6.17.4-custom/./arch/i386/Makefile not created: newer or same age version exists cpio: debian/tmp-headers/usr/src/kernel-headers-2.6.17.4-custom/./include/asm-cris/arch-v32/hwregs/Makefile not created: newer or same age version exists cpio: debian/tmp-headers/usr/src/kernel-headers-2.6.17.4-custom/./include/asm-cris/arch-v32/hwregs/iop/Makefile not created: newer or same age version exists 5137 blocks test ! -e arch/i386/kernel/asm-offsets.s || \ install -p -o root -g root -m 644 arch/i386/kernel/asm-offsets.s \ debian/tmp-headers/usr/src/kernel-headers-2.6.17.4-custom/arch/i386/kernel/asm-offsets.s install -p -o root -g root -m 644 .config debian/tmp-headers/usr/src/kernel-headers-2.6.17.4-custom/.config echo 10.00.Custom > debian/tmp-headers/usr/src/kernel-headers-2.6.17.4-custom/kernel-headers.revision dpkg-gencontrol -DArchitecture=i386 -isp \ -pkernel-headers-2.6.17.4-custom -Pdebian/tmp-headers/ chown -R root:root debian/tmp-headers chmod -R og=rX debian/tmp-headers dpkg --build debian/tmp-headers .. dpkg-deb: building package `kernel-headers-2.6.17.4-custom' in `../kernel-headers-2.6.17.4-custom_10.00.Custom_i386.deb'. rm -rf debian/tmp-headers echo done > stamp-headers make[1]: Leaving directory `/usr/src/linux-2.6.17.4'

Page 18: Port Multiplier Support - Ubuntu Desktoppatching file drivers/scsi/sata_sx4.c patching file drivers/scsi/sata_uli.c patching file drivers/scsi/sata_via.c patching file drivers/scsi/sata_vsc.c

benringor@ubuntu:/usr/src/linux-2.6.17.4$ cd /usr/src benringor@ubuntu:/usr/src$ ls kernel-headers-2.6.17.4-custom_10.00.Custom_i386.deb kernel-image-2.6.17.4-custom_10.00.Custom_i386.deb libata-tj-2.6.17.4-20060710 libata-tj-2.6.17.4-20060710.tar.bz2 linux-2.6.17.4 linux-2.6.17.4.tar.bz2 benringor@ubuntu:/usr/src$ sudo dpkg -i kernel-image-2.6.17.4-custom_10.00.Custom_i386.deb Password: Selecting previously deselected package kernel-image-2.6.17.4-custom. (Reading database ... 75442 files and directories currently installed.) Unpacking kernel-image-2.6.17.4-custom (from kernel-image-2.6.17.4-custom_10.00.Custom_i386.deb) ... Setting up kernel-image-2.6.17.4-custom (10.00.Custom) ... Searching for GRUB installation directory ... found: /boot/grub Testing for an existing GRUB menu.list file ... found: /boot/grub/menu.lst Searching for splash image ... none found, skipping ... Found kernel: /boot/vmlinuz-2.6.17.4-custom Found kernel: /boot/vmlinuz-2.6.15-23-386 Found kernel: /boot/memtest86+.bin Updating /boot/grub/menu.lst ... done benringor@ubuntu:/usr/src$ sudo dpkg -i kernel-headers-2.6.17.4-custom_10.00.Custom_i386.deb Selecting previously deselected package kernel-headers-2.6.17.4-custom. (Reading database ... 77374 files and directories currently installed.) Unpacking kernel-headers-2.6.17.4-custom (from kernel-headers-2.6.17.4-custom_10.00.Custom_i386.deb) ... Setting up kernel-headers-2.6.17.4-custom (10.00.Custom) ... NOTE: REMEMBER NOT TO UNINSTALL your previous kernel RESTART your computer. While your computer is booting press “ESC” repeatedly until GRUB menu appears and choose kernel-2.6.17.4-custom benringor@ubuntu:~$ uname -r 2.6.17.4-custom benringor@ubuntu:~$ cat /proc/partitions major minor #blocks name 8 0 156290904 sda 8 1 154778211 sda1 8 2 1 sda2 8 5 1510078 sda5 8 16 488386584 sdb 8 17 586107396 sdb1 8 32 488386584 sdc 8 33 586107396 sdc1 8 48 293057352 sdd 8 49 293049666 sdd1 8 64 390711384 sde 8 65 390708801 sde1 253 0 293049666 dm-0 253 1 390708801 dm-1 benringor@ubuntu:~$

Page 19: Port Multiplier Support - Ubuntu Desktoppatching file drivers/scsi/sata_sx4.c patching file drivers/scsi/sata_uli.c patching file drivers/scsi/sata_via.c patching file drivers/scsi/sata_vsc.c

Verify addition of HDD connected to Port Multiplier