* Patch (fix for libata patch 2.6.0-1) in ata_std_bio_param
@ 2003-12-30 23:24 Willem
2003-12-30 23:36 ` Jeff Garzik
0 siblings, 1 reply; 2+ messages in thread
From: Willem @ 2003-12-30 23:24 UTC (permalink / raw)
To: jgarzik, linux-kernel; +Cc: matic, slaugther
I got the following problem when compiling linux 2.6.0 + 2.6.0libata1 patch.
(On a recent Intel motherboard with SATA, so I applied the libata patch.)
Since I noticed this problem at the Gentoo bugs site as well
( http://bugs.gentoo.org/show_bug.cgi?id=36812 )
I decided to publish this patch, to help others.
LD .tmp_vmlinux1
drivers/built-in.o(.text+0xa7784): In function `ata_std_bios_param':
: undefined reference to `__udivdi3'
make: *** [.tmp_vmlinux1] Error 1
* gen_die(): Could not copy kernel binary to boot
The following patch fixes this.
Best regards, and happy 2004!
Willem Dekker
----
*** libata-scsi.c 2003-12-31 00:17:14.000000000 +0100
--- libata-scsi.org 2003-12-31 00:17:59.000000000 +0100
***************
*** 49,55 ****
{
geom[0] = 255;
geom[1] = 63;
! geom[2] = (int) capacity /(int) (geom[0] * geom[1]);
return 0;
}
--- 49,55 ----
{
geom[0] = 255;
geom[1] = 63;
! geom[2] = capacity / (geom[0] * geom[1]);
return 0;
}
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Patch (fix for libata patch 2.6.0-1) in ata_std_bio_param
2003-12-30 23:24 Patch (fix for libata patch 2.6.0-1) in ata_std_bio_param Willem
@ 2003-12-30 23:36 ` Jeff Garzik
0 siblings, 0 replies; 2+ messages in thread
From: Jeff Garzik @ 2003-12-30 23:36 UTC (permalink / raw)
To: Willem; +Cc: linux-kernel, matic, slaugther
Willem wrote:
> I got the following problem when compiling linux 2.6.0 + 2.6.0libata1 patch.
> (On a recent Intel motherboard with SATA, so I applied the libata patch.)
>
> Since I noticed this problem at the Gentoo bugs site as well
> ( http://bugs.gentoo.org/show_bug.cgi?id=36812 )
> I decided to publish this patch, to help others.
>
> LD .tmp_vmlinux1
> drivers/built-in.o(.text+0xa7784): In function `ata_std_bios_param':
> : undefined reference to `__udivdi3'
> make: *** [.tmp_vmlinux1] Error 1
> * gen_die(): Could not copy kernel binary to boot
>
> The following patch fixes this.
> Best regards, and happy 2004!
Linus fixed this for us :) Grab 2.6.0-bk3...
Jeff
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-12-30 23:36 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-12-30 23:24 Patch (fix for libata patch 2.6.0-1) in ata_std_bio_param Willem
2003-12-30 23:36 ` Jeff Garzik
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).