[Bug 474207] Re: Karmic not working on a Dell 7400

nutznboltz 474207 at bugs.launchpad.net
Mon Jul 12 19:05:49 UTC 2010


The location of the source tree is controlled via an option argument to
dkms.  There is no reason to copy the source tree around.

The patch attached to this post has the path names updated to reflect
this.

fakeroot alien --to-deb mptlinux-4.22.00.00-1dkms.noarch.rpm
sudo dpkg -i mptlinux_4.22.00.00-2_all.deb

cd /usr/src/mptlinux-4.22.00.00
patch -p 0 < ~/mpt-4.22.00.00-2.patch

sudo dkms --sourcetree /usr/src/mptlinux-4.22.00.00 build -m mptlinux -v 4.22.00.00
sudo dkms --sourcetree /usr/src/mptlinux-4.22.00.00 install -m mptlinux -v 4.22.00.00
sudo dkms --sourcetree /usr/src/mptlinux-4.22.00.00 mkdeb -m mptlinux -v 4.22.00.00

The resulting deb is conveniently located in
/var/lib/dkms/mptlinux/4.22.00.00/deb/mptlinux-dkms_4.22.00.00_all.deb

That deb contains the patched source code so once you have it it is only
necessary to run four commands on systems you want the new driver on:

sudo aptitude install dkms
sudo dpkg -i mptlinux_4.22.00.00-2_all.deb
sudo dkms --sourcetree /usr/src/mptlinux-4.22.00.00 build -m mptlinux -v 4.22.00.00
sudo dkms --sourcetree /usr/src/mptlinux-4.22.00.00 install -m mptlinux -v 4.22.00.00

It is necessary to reboot after running "dkms ... install" in order to
load the driver module.


** Patch added: "mpt-4.22.00.00-2.patch"
   http://launchpadlibrarian.net/51796897/mpt-4.22.00.00-2.patch

-- 
Karmic not working on a Dell 7400
https://bugs.launchpad.net/bugs/474207
You received this bug notification because you are a member of Kernel
Bugs, which is subscribed to linux in ubuntu.




More information about the kernel-bugs mailing list