Re: [broken-out-2007-07-20-00-22] kernel bug at kernel/params:570

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 21/07/07, Satyam Sharma <[email protected]> wrote:
On 7/21/07, Michal Piotrowski <[email protected]> wrote:
> Satyam Sharma pisze:
> > [...]
> > Gargh! My system obviously cannot boot without libata. Guess it's
> > time to go through git log and see how to fix that build breakage
> > myself ...
> >
> > Michal, how did you even manage to build / boot this kernel!
>
> I commented origin.patch and mm.patch in series file, reverted xfs patches,
> fixed libata build, deselected unionfs.
>
> Here is a patch for libata
>
> --- linux-work3-clean/drivers/ata/libata-core.c 2007-07-20 16:53:26.000000000 +0200
> +++ linux-work3/drivers/ata/libata-core.c       2007-07-20 17:26:30.000000000 +0200
> @@ -2036,7 +2036,7 @@ int ata_dev_configure(struct ata_device
>                 dev->max_sectors = min_t(unsigned int, ATA_MAX_SECTORS_128,
>                                          dev->max_sectors);
>
> -       if (ata_device_blacklisted(dev) & ATA_HORKAGE_ALPM) {
> +       if (ata_dev_blacklisted(dev) & ATA_HORKAGE_ALPM) {
>                 dev->horkage |= ATA_HORKAGE_ALPM;
>
>                 /* reset link pm_policy for this port to no pm */


And to think I went through all those hoops just to avoid *this* ... :-(
Anyway, please apply the attached patch and let's verify if we're both
actually bit by the same bug.

kernel/params.c: In function 'kernel_param_sysfs_setup':
kernel/params.c:571: error: implicit declaration of function 'printf'
make[1]: *** [kernel/params.o] Error 1
make: *** [kernel] Error 2

fixed :)

A screenshot of my case is available at:

http://www.cse.iitk.ac.in/users/ssatyam/mtrr.show-bug.jpg

[ excuse the quality, it's not a digicam, but a cellphone-cam ]

Satyam



Regards,
Michal

--
LOG
http://www.stardust.webpages.pl/log/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux