FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian Kernel

 
 
LinkBack Thread Tools
 
Old 11-16-2011, 11:54 AM
"Giovanni V."
 
Default Bug#648963: drbd8-modules-2.6.26-2-xen-amd64: initial sync failed for new drbd device

Package: drbd8-modules-2.6.26-2-xen-amd64
Version: 2.6.26+8.0.14-6+lenny3
Severity: normal

Hello,

I am using Debian GNU/Linux "Lenny" on servers with xen and drbd.
Since upgrade to 5.0.9, it's impossible to synchronise a new drbd device.
All works well until upgrade to 5.0.9.
All package and software come from official debian repository and installed
with apt-get install.
packages uses :

drbd8-modules-2.6-xen-amd64
drbd8-modules-2.6.26-2-xen-amd64
linux-image-2.6-amd64
linux-image-2.6.26-2-amd64
linux-image-2.6.26-2-xen-amd64
linux-modules-2.6-xen-amd64
linux-modules-2.6.26-2-xen-amd64
xen-hypervisor-3.2-1-amd64
xen-linux-system-2.6.26-2-xen-amd64

when I downgrade "linux-image, linux-modules and xen-linux-system"
to previous lenny3 version and it seem to work

** syslog trace of the SyncSource drbd server **

Nov 14 14:38:51 gaia kernel: [ 1599.990319] drbd0: role( Secondary -> Primary )
disk( Inconsistent -> UpToDate )
Nov 14 14:38:51 gaia kernel: [ 1600.004521] drbd0: Forced to consider local
data as UpToDate!
Nov 14 14:38:51 gaia kernel: [ 1600.004607] drbd0: Creating new current UUID
Nov 14 14:38:51 gaia kernel: [ 1600.029333] drbd0: drbd_sync_handshake:
Nov 14 14:38:51 gaia kernel: [ 1600.029417] drbd0: self
098F31DB0B8EEBDF:0000000000000004:0000000000000000 :0000000000000000
Nov 14 14:38:51 gaia kernel: [ 1600.029513] drbd0: peer
0000000000000004:0000000000000000:0000000000000000 :0000000000000000
Nov 14 14:38:51 gaia kernel: [ 1600.029608] drbd0: uuid_compare()=2 by rule 3
Nov 14 14:38:51 gaia kernel: [ 1600.029676] drbd0: Becoming sync source due to
disk states.
Nov 14 14:38:51 gaia kernel: [ 1600.029748] drbd0: Writing the whole bitmap,
full sync required after drbd_sync_handshake.
Nov 14 14:38:51 gaia kernel: [ 1600.031787] drbd0: 8192 MB (2097079 bits)
marked out-of-sync by on disk bit-map.
Nov 14 14:38:51 gaia kernel: [ 1600.032357] drbd0: conn( Connected -> WFBitMapS
)
Nov 14 14:38:51 gaia kernel: [ 1600.041962] drbd0: conn( WFBitMapS ->
SyncSource )
Nov 14 14:38:51 gaia kernel: [ 1600.042038] drbd0: Began resync as SyncSource
(will sync 8388316 KB [2097079 bits set]).
Nov 14 14:38:51 gaia kernel: [ 1600.044222] drbd0: alloc_ee:
bio_add_page(s=0,data_size=32768,ds=28672) failed
Nov 14 14:38:51 gaia kernel: [ 1600.044319] drbd0: bio->bi_max_vecs = 16 in
/build/buildd-linux-modules-extra-2.6_2.6.26-6+lenny3-amd64-Okr01R/linux-
modules-
extra-2.6-2.6.26/debian/build/build_amd64_xen_amd64_drbd8/drbd/drbd_receiver.c:253
Nov 14 14:38:51 gaia kernel: [ 1600.044454] drbd0: bio->bi_vcnt = 1 in /build
/buildd-linux-modules-extra-2.6_2.6.26-6+lenny3-amd64-Okr01R/linux-modules-
extra-2.6-2.6.26/debian/build/build_amd64_xen_amd64_drbd8/drbd/drbd_receiver.c:254
Nov 14 14:38:51 gaia kernel: [ 1600.044562] drbd0: bio->bi_size = 4096 in
/build/buildd-linux-modules-extra-2.6_2.6.26-6+lenny3-amd64-Okr01R/linux-
modules-
extra-2.6-2.6.26/debian/build/build_amd64_xen_amd64_drbd8/drbd/drbd_receiver.c:255
Nov 14 14:38:51 gaia kernel: [ 1600.044689] drbd0: bio->bi_phys_segments = 1 in
/build/buildd-linux-modules-extra-2.6_2.6.26-6+lenny3-amd64-Okr01R/linux-
modules-
extra-2.6-2.6.26/debian/build/build_amd64_xen_amd64_drbd8/drbd/drbd_receiver.c:256
Nov 14 14:38:51 gaia kernel: [ 1600.044798] drbd0: bio->bi_hw_segments = 1 in
/build/buildd-linux-modules-extra-2.6_2.6.26-6+lenny3-amd64-Okr01R/linux-
modules-
extra-2.6-2.6.26/debian/build/build_amd64_xen_amd64_drbd8/drbd/drbd_receiver.c:257
Nov 14 14:38:51 gaia kernel: [ 1600.044910] drbd0: error receiving
RSDataRequest, l: 24!
Nov 14 14:38:51 gaia kernel: [ 1600.044980] drbd0: peer( Secondary -> Unknown )
conn( SyncSource -> ProtocolError )
Nov 14 14:38:51 gaia kernel: [ 1600.045073] drbd0: asender terminated
Nov 14 14:38:51 gaia kernel: [ 1600.050318] drbd0: Terminating asender thread
Nov 14 14:38:51 gaia kernel: [ 1600.051098] drbd0: Connection closed
Nov 14 14:38:51 gaia kernel: [ 1600.051167] drbd0: conn( ProtocolError ->
Unconnected )
Nov 14 14:38:51 gaia kernel: [ 1600.051237] drbd0: receiver terminated
Nov 14 14:38:51 gaia kernel: [ 1600.051304] drbd0: Restarting receiver thread
Nov 14 14:38:51 gaia kernel: [ 1600.051371] drbd0: receiver (re)started
Nov 14 14:38:51 gaia kernel: [ 1600.051439] drbd0: conn( Unconnected ->
WFConnection )




-- System Information:
Debian Release: 6.0.2
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash



--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20111116125407.4132.44784.reportbug@rhea.banquise. rdtronic.net">http://lists.debian.org/20111116125407.4132.44784.reportbug@rhea.banquise. rdtronic.net
 
Old 12-30-2011, 04:38 PM
Ben Hutchings
 
Default Bug#648963: drbd8-modules-2.6.26-2-xen-amd64: initial sync failed for new drbd device

On Wed, 2011-11-16 at 16:54 +0400, Giovanni V. wrote:
> Package: drbd8-modules-2.6.26-2-xen-amd64
> Version: 2.6.26+8.0.14-6+lenny3
> Severity: normal
>
> Hello,
>
> I am using Debian GNU/Linux "Lenny" on servers with xen and drbd.
> Since upgrade to 5.0.9, it's impossible to synchronise a new drbd device.
> All works well until upgrade to 5.0.9.

Are you using a RAID or LVM device under drbd?

I applied fixes to the way the md and dm drivers determine I/O limits,
which in some cases will reduce those limits (and avoid the potential
for data loss). This appears to have exposed a bug in drbd.

[...]
> Nov 14 14:38:51 gaia kernel: [ 1600.044222] drbd0: alloc_ee:
> bio_add_page(s=0,data_size=32768,ds=28672) failed
> Nov 14 14:38:51 gaia kernel: [ 1600.044319] drbd0: bio->bi_max_vecs = 16 in
> /build/buildd-linux-modules-extra-2.6_2.6.26-6+lenny3-amd64-Okr01R/linux-
> modules-
> extra-2.6-2.6.26/debian/build/build_amd64_xen_amd64_drbd8/drbd/drbd_receiver.c:253
> Nov 14 14:38:51 gaia kernel: [ 1600.044454] drbd0: bio->bi_vcnt = 1 in /build
> /buildd-linux-modules-extra-2.6_2.6.26-6+lenny3-amd64-Okr01R/linux-modules-
> extra-2.6-2.6.26/debian/build/build_amd64_xen_amd64_drbd8/drbd/drbd_receiver.c:254
> Nov 14 14:38:51 gaia kernel: [ 1600.044562] drbd0: bio->bi_size = 4096 in
> /build/buildd-linux-modules-extra-2.6_2.6.26-6+lenny3-amd64-Okr01R/linux-
> modules-
> extra-2.6-2.6.26/debian/build/build_amd64_xen_amd64_drbd8/drbd/drbd_receiver.c:255
> Nov 14 14:38:51 gaia kernel: [ 1600.044689] drbd0: bio->bi_phys_segments = 1 in
> /build/buildd-linux-modules-extra-2.6_2.6.26-6+lenny3-amd64-Okr01R/linux-
> modules-
> extra-2.6-2.6.26/debian/build/build_amd64_xen_amd64_drbd8/drbd/drbd_receiver.c:256
> Nov 14 14:38:51 gaia kernel: [ 1600.044798] drbd0: bio->bi_hw_segments = 1 in
> /build/buildd-linux-modules-extra-2.6_2.6.26-6+lenny3-amd64-Okr01R/linux-
> modules-
> extra-2.6-2.6.26/debian/build/build_amd64_xen_amd64_drbd8/drbd/drbd_receiver.c:257
> Nov 14 14:38:51 gaia kernel: [ 1600.044910] drbd0: error receiving
> RSDataRequest, l: 24!
[...]

I wonder whether drbd assumes that the I/O limits are the same on both
machines. Were both machines using the drbd device upgraded?

Ben.

--
Ben Hutchings
Beware of programmers who carry screwdrivers. - Leonard Brandwein
 
Old 01-01-2012, 06:05 PM
Giovanni Vaitinadapoule
 
Default Bug#648963: drbd8-modules-2.6.26-2-xen-amd64: initial sync failed for new drbd device

Hello,

happy New Year !

> De: "Ben Hutchings" <ben@decadent.org.uk>
> À: "Giovanni V." <vgiovanni@rdtronic.com>, 648963@bugs.debian.org
> Envoyé: Vendredi 30 Décembre 2011 21:38:41
> Objet: Re: Bug#648963: drbd8-modules-2.6.26-2-xen-amd64: initial sync failed for new drbd device
> On Wed, 2011-11-16 at 16:54 +0400, Giovanni V. wrote:
> > Package: drbd8-modules-2.6.26-2-xen-amd64
> > Version: 2.6.26+8.0.14-6+lenny3
> > Severity: normal
> >
> > Hello,
> >
> > I am using Debian GNU/Linux "Lenny" on servers with xen and drbd.
> > Since upgrade to 5.0.9, it's impossible to synchronise a new drbd
> > device.
> > All works well until upgrade to 5.0.9.
>
> Are you using a RAID or LVM device under drbd?

Yes I am using software RAID and LVM on sata devices in the order :
sd[abcd]0 > md0 > lvm > drbdxx

>
> I applied fixes to the way the md and dm drivers determine I/O limits,
> which in some cases will reduce those limits (and avoid the potential
> for data loss). This appears to have exposed a bug in drbd.
>
> [...]
>
> I wonder whether drbd assumes that the I/O limits are the same on both
> machines. Were both machines using the drbd device upgraded?
>

On previous test, both machines were exactly the sames : hardware and packages

Regards, Giovanni



--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 766083342.9053.1325444734987.JavaMail.root@zimbra" >http://lists.debian.org/766083342.9053.1325444734987.JavaMail.root@zimbra
 

Thread Tools




All times are GMT. The time now is 10:48 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org