Update to latest sata_nv suggested

Bug #78227 reported by WillyTP
4
Affects Status Importance Assigned to Milestone
linux-source-2.6.15 (Ubuntu)
Won't Fix
Undecided
Unassigned
linux-source-2.6.20 (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: linux-source-2.6.15

Newer publicy available sata_nv module fixes some bugs, and could be useful for people having troubles with the one in the dapper kernel (version 0.08, rather than the latest 0.11).

Particulary, version 0.09 changelog says:
Fixed bug introduced by 0.08's MCP51 and MCP55 support.

which is a chipset used by some all-in-one motherboards.

I've been able to update to the latest sata_nv 0.11 in the following way I'm going to describe.

Before all:
-I'm using kernel 2.6.15-27-amd64-k8, so change version numbers accordingly to yours;

1)Download latest nvidia nforce package
2)For Dapper, I suggest you using sata_nv.c file contained under Fedora5 folder of the downloaded package
3)Install build-essential plus linux-headers-2.6.15-27-amd64-k8
4)Copy sata_nv.c into some folder, e.g. /home/willytp/forcedeth
4a)This sata_nv.c needs to be patched; I'm going to attach the fix.
5)Into this folder, make a file called "Makefile" containing the following line:
obj-m := sata_nv.o
6)Into this folder, execute the following command:
make -C /usr/src/linux-headers-2.6.15-27-amd64-k8/ SUBDIRS=$PWD modules
7)Copy the just created sata_nv.ko module into
/lib/modules/2.6.15-27-amd64-k8/kernel/drivers/scsi/
overwriting the old one
8)Execute this command: sudo depmod -a
9)Make a new initrd image: go into /boot/ folder, locate your initrd image, save it name, delete the file, and execute the following command:
mkinitramfs -o initrd.img-2.6.15-27-amd64-k8
10)Cross fingers and reboot ;)

Revision history for this message
WillyTP (willytp) wrote :

I'm attaching here the patched version of sata_nv.c, since the nvidia's original one contains some errors.

Moreover, I'm attaching the Makefile, a little script to build and the binary file which will work *only* for 2.6.15-27-amd64-k8 kernel.

Revision history for this message
Ben Collins (ben-collins) wrote : Re: [Bug 78227] Re: Update to latest sata_nv suggested

On Sat, 2007-01-06 at 19:41 +0000, WillyTP wrote:
> I'm attaching here the patched version of sata_nv.c, since the nvidia's
> original one contains some errors.
>
> Moreover, I'm attaching the Makefile, a little script to build and the
> binary file which will work *only* for 2.6.15-27-amd64-k8 kernel.

Would be a lot more useful, even to users, if you supplied a patch
against the Ubuntu kernel git tree so that we can easily incorporate it
into our version.

Revision history for this message
WillyTP (willytp) wrote :

Here it is the patch against the ubuntu dapper kernel git tree. I hope it's ok, I'm not experienced in this job.

Revision history for this message
WillyTP (willytp) wrote :

I'm very sorry I've uploaded a wrong file :S
Here is it the right one.

Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

It seems this bug was resolved with the 2.6.20 Feisty kernel. It contains sata_nv version 3.3 . Marking this as "Fix Released" against 2.6.20 and closing against 2.6.15 as it does not qualify for a stable release update. Thanks.

Changed in linux-source-2.6.20:
status: New → Fix Released
Changed in linux-source-2.6.15:
status: New → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.