lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Wed, 23 Jul 2008 23:51:02 +0300
From:	Adrian Bunk <bunk@...nel.org>
To:	Thomas Meyer <thomas@...3r.de>
Cc:	Linux Kernel <linux-kernel@...r.kernel.org>,
	linux-next@...r.kernel.org, mpatocka@...hat.com,
	Alasdair G Kergon <agk@...hat.com>
Subject: Re: next-20080723: build fails for dm-snapshot.ko

On Wed, Jul 23, 2008 at 07:58:37PM +0200, Thomas Meyer wrote:
> 
>   Building modules, stage 2.
> Kernel: arch/x86/boot/bzImage is ready  (#24)
>   MODPOST 1518 modules
> ERROR: "__umoddi3" [drivers/md/dm-snapshot.ko] undefined!
> WARNING: modpost: Found 6 section mismatch(es).
> To see full details build your kernel with:
> 'make CONFIG_DEBUG_SECTION_MISMATCH=y'
> make[1]: *** [__modpost] Error 1
> make: *** [modules] Error 2
> 
> 
> CONFIG_MD=y
> CONFIG_BLK_DEV_MD=y
> CONFIG_MD_LINEAR=m
> CONFIG_MD_RAID0=m
> CONFIG_MD_RAID1=m
> CONFIG_MD_RAID10=m
> CONFIG_MD_RAID456=m
> CONFIG_MD_RAID5_RESHAPE=y
> CONFIG_MD_MULTIPATH=m
> CONFIG_MD_FAULTY=m
> CONFIG_BLK_DEV_DM=m
> CONFIG_DM_DEBUG=y
> CONFIG_DM_CRYPT=m
> CONFIG_DM_SNAPSHOT=m
> CONFIG_DM_MIRROR=m
> CONFIG_DM_ZERO=m
> CONFIG_DM_MULTIPATH=m
> # CONFIG_DM_DELAY is not set
> CONFIG_DM_UEVENT=y

and CONFIG_LBD=y


In the following code in drivers/md/dm-exception-store.c:persistent_prepare():

                            vvv
        if ((++ps->next_free % stride) == 1)
                ps->next_free++;


Caused by:

commit 7624decba23d3e7a8e7411214501cfaf19041c30
Author: Mikulas Patocka <mpatocka@...hat.com>
Date:   Wed Jul 23 10:05:33 2008 +1000

    dm-exception-store-64-bit-values
    
    Change uint32_t into chunk_t to remove 32-bit limitation on the
    number of chunks on systems with 64-bit sector numbers.
    
    Signed-off-by: Mikulas Patocka <mpatocka@...hat.com>
    Signed-off-by: Alasdair G Kergon <agk@...hat.com>


cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ