public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* ALSA bugs in list [was Re: 2.6.12-rc1-mm1]
  2005-03-21 20:41   ` 2.6.12-rc1-mm1 Andrew Morton
@ 2005-03-22  3:51     ` Lee Revell
  2005-03-22  4:10       ` Andrew Morton
  0 siblings, 1 reply; 10+ messages in thread
From: Lee Revell @ 2005-03-22  3:51 UTC (permalink / raw)
  To: Andrew Morton; +Cc: Russell King, linux-kernel, apatard

On Mon, 2005-03-21 at 12:41 -0800, Andrew Morton wrote:
> From: bugme-daemon@osdl.org
> Subject: [Bug 4282] ALSA driver in Linux 2.6.11 causes a kernel panic when loading the EMU10K1 driver
> 

This one is a real mystery.  No one can reproduce it.

> From: bugme-daemon@osdl.org
> Subject: [Bugme-new] [Bug 4348] New: snd_emu10k1 oops'es with Audigy 2 and
> 

This one is fixed in ALSA CVS.  Here is the patch.

Lee

Summary: fix oopses in emu10k1 mixer

Signed-Off-By: Arnaud Patard <apatard@mandrakesoft.com>

Index: emumixer.c
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/pci/emu10k1/emumixer.c,v
retrieving revision 1.32
diff -u -r1.32 emumixer.c
--- emumixer.c	13 Mar 2005 12:17:09 -0000	1.32
+++ emumixer.c	16 Mar 2005 17:10:10 -0000
@@ -482,9 +482,13 @@
 			change = 1;
 		}
 	}	
-	if (change && mix->epcm->voices[ch])
-		update_emu10k1_fxrt(emu, mix->epcm->voices[ch]->number,
-				    &mix->send_routing[0][0]);
+
+	if (change && mix->epcm) {
+		if (mix->epcm->voices[ch]) {
+			update_emu10k1_fxrt(emu, mix->epcm->voices[ch]->number,
+					&mix->send_routing[0][0]);
+		}
+	}
 	spin_unlock_irqrestore(&emu->reg_lock, flags);
 	return change;
 }
@@ -544,9 +548,12 @@
 			change = 1;
 		}
 	}
-	if (change && mix->epcm->voices[ch])
-		update_emu10k1_send_volume(emu, mix->epcm->voices[ch]->number,
-					   &mix->send_volume[0][0]);
+	if (change && mix->epcm) {
+		if (mix->epcm->voices[ch]) {
+			update_emu10k1_send_volume(emu, mix->epcm->voices[ch]->number,
+						   &mix->send_volume[0][0]);
+		}
+	}
 	spin_unlock_irqrestore(&emu->reg_lock, flags);
 	return change;
 }
@@ -600,8 +607,11 @@
 		mix->attn[0] = val;
 		change = 1;
 	}
-	if (change && mix->epcm->voices[ch])
-		snd_emu10k1_ptr_write(emu, VTFT_VOLUMETARGET, mix->epcm->voices[ch]->number, mix->attn[0]);
+	if (change && mix->epcm) {
+		if (mix->epcm->voices[ch]) {
+			snd_emu10k1_ptr_write(emu, VTFT_VOLUMETARGET, mix->epcm->voices[ch]->number, mix->attn[0]);
+		}
+	}
 	spin_unlock_irqrestore(&emu->reg_lock, flags);
 	return change;
 }





^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: ALSA bugs in list [was Re: 2.6.12-rc1-mm1]
  2005-03-22  3:51     ` ALSA bugs in list [was Re: 2.6.12-rc1-mm1] Lee Revell
@ 2005-03-22  4:10       ` Andrew Morton
  2005-03-22  4:16         ` Lee Revell
  0 siblings, 1 reply; 10+ messages in thread
From: Andrew Morton @ 2005-03-22  4:10 UTC (permalink / raw)
  To: Lee Revell; +Cc: rmk+lkml, linux-kernel, apatard

Lee Revell <rlrevell@joe-job.com> wrote:
>
> On Mon, 2005-03-21 at 12:41 -0800, Andrew Morton wrote:
>  > From: bugme-daemon@osdl.org
>  > Subject: [Bug 4282] ALSA driver in Linux 2.6.11 causes a kernel panic when loading the EMU10K1 driver
>  > 
> 
>  This one is a real mystery.  No one can reproduce it.

OK.  But we don't seem to have heard from the originator since March 5th.

>  > From: bugme-daemon@osdl.org
>  > Subject: [Bugme-new] [Bug 4348] New: snd_emu10k1 oops'es with Audigy 2 and
>  > 
> 
>  This one is fixed in ALSA CVS.

But not in http://linux-sound.bkbits.net/linux-sound yet.  How does stuff
propagate from ALSA CVS into bk?


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: ALSA bugs in list [was Re: 2.6.12-rc1-mm1]
  2005-03-22  4:10       ` Andrew Morton
@ 2005-03-22  4:16         ` Lee Revell
  2005-03-22  4:23           ` Andrew Morton
  2005-03-22 10:06           ` Jaroslav Kysela
  0 siblings, 2 replies; 10+ messages in thread
From: Lee Revell @ 2005-03-22  4:16 UTC (permalink / raw)
  To: Andrew Morton
  Cc: rmk+lkml, linux-kernel, apatard, Jaroslav Kysela, Takashi Iwai

On Mon, 2005-03-21 at 20:10 -0800, Andrew Morton wrote:
> Lee Revell <rlrevell@joe-job.com> wrote:
> >
> > On Mon, 2005-03-21 at 12:41 -0800, Andrew Morton wrote:
> >  > From: bugme-daemon@osdl.org
> >  > Subject: [Bug 4282] ALSA driver in Linux 2.6.11 causes a kernel panic when loading the EMU10K1 driver
> >  > 
> > 
> >  This one is a real mystery.  No one can reproduce it.
> 
> OK.  But we don't seem to have heard from the originator since March 5th.
> 
> >  > From: bugme-daemon@osdl.org
> >  > Subject: [Bugme-new] [Bug 4348] New: snd_emu10k1 oops'es with Audigy 2 and
> >  > 
> > 
> >  This one is fixed in ALSA CVS.
> 
> But not in http://linux-sound.bkbits.net/linux-sound yet.  How does stuff
> propagate from ALSA CVS into bk?
> 
> 

The ALSA maintainers periodically ask Linus to pull from the linux-sound
tree.  But that's just the general "ALSA update" process.

I'm not aware of a mechanism for getting critical fixes like this in
ASAP.  The last few have been shepherded through manually by various
people.  Looks like we need a better system.

Lee


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: ALSA bugs in list [was Re: 2.6.12-rc1-mm1]
  2005-03-22  4:16         ` Lee Revell
@ 2005-03-22  4:23           ` Andrew Morton
  2005-03-22  4:30             ` Lee Revell
  2005-03-22 10:05             ` Takashi Iwai
  2005-03-22 10:06           ` Jaroslav Kysela
  1 sibling, 2 replies; 10+ messages in thread
From: Andrew Morton @ 2005-03-22  4:23 UTC (permalink / raw)
  To: Lee Revell; +Cc: rmk+lkml, linux-kernel, apatard, perex, tiwai

Lee Revell <rlrevell@joe-job.com> wrote:
>
> On Mon, 2005-03-21 at 20:10 -0800, Andrew Morton wrote:
> > Lee Revell <rlrevell@joe-job.com> wrote:
> > >
> > > On Mon, 2005-03-21 at 12:41 -0800, Andrew Morton wrote:
> > >  > From: bugme-daemon@osdl.org
> > >  > Subject: [Bug 4282] ALSA driver in Linux 2.6.11 causes a kernel panic when loading the EMU10K1 driver
> > >  > 
> > > 
> > >  This one is a real mystery.  No one can reproduce it.
> > 
> > OK.  But we don't seem to have heard from the originator since March 5th.
> > 
> > >  > From: bugme-daemon@osdl.org
> > >  > Subject: [Bugme-new] [Bug 4348] New: snd_emu10k1 oops'es with Audigy 2 and
> > >  > 
> > > 
> > >  This one is fixed in ALSA CVS.
> > 
> > But not in http://linux-sound.bkbits.net/linux-sound yet.  How does stuff
> > propagate from ALSA CVS into bk?
> > 
> > 
> 
> The ALSA maintainers periodically ask Linus to pull from the linux-sound
> tree.  But that's just the general "ALSA update" process.

Oh.  I was always under the impression that
http://linux-sound.bkbits.net/linux-sound contains the latest devel stuff
for -mm.

> I'm not aware of a mechanism for getting critical fixes like this in
> ASAP.  The last few have been shepherded through manually by various
> people.  Looks like we need a better system.
> 

It's not a trivial problem.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: ALSA bugs in list [was Re: 2.6.12-rc1-mm1]
  2005-03-22  4:23           ` Andrew Morton
@ 2005-03-22  4:30             ` Lee Revell
  2005-03-22 10:05             ` Takashi Iwai
  1 sibling, 0 replies; 10+ messages in thread
From: Lee Revell @ 2005-03-22  4:30 UTC (permalink / raw)
  To: Andrew Morton
  Cc: rmk+lkml, linux-kernel, apatard, Jaroslav Kysela, Takashi Iwai

On Mon, 2005-03-21 at 20:23 -0800, Andrew Morton wrote:
> Lee Revell <rlrevell@joe-job.com> wrote:
> > I'm not aware of a mechanism for getting critical fixes like this in
> > ASAP.  The last few have been shepherded through manually by various
> > people.  Looks like we need a better system.
> > 
> 
> It's not a trivial problem.
> 

The linux-stable process seems to be working quite well so far.

Lee


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: ALSA bugs in list [was Re: 2.6.12-rc1-mm1]
  2005-03-22  4:23           ` Andrew Morton
  2005-03-22  4:30             ` Lee Revell
@ 2005-03-22 10:05             ` Takashi Iwai
  1 sibling, 0 replies; 10+ messages in thread
From: Takashi Iwai @ 2005-03-22 10:05 UTC (permalink / raw)
  To: Andrew Morton; +Cc: Lee Revell, rmk+lkml, linux-kernel, apatard, perex

At Mon, 21 Mar 2005 20:23:03 -0800,
Andrew Morton wrote:
> 
> Lee Revell <rlrevell@joe-job.com> wrote:
> >
> > On Mon, 2005-03-21 at 20:10 -0800, Andrew Morton wrote:
> > > Lee Revell <rlrevell@joe-job.com> wrote:
> > > >
> > > > On Mon, 2005-03-21 at 12:41 -0800, Andrew Morton wrote:
> > > >  > From: bugme-daemon@osdl.org
> > > >  > Subject: [Bug 4282] ALSA driver in Linux 2.6.11 causes a kernel panic when loading the EMU10K1 driver
> > > >  > 
> > > > 
> > > >  This one is a real mystery.  No one can reproduce it.
> > > 
> > > OK.  But we don't seem to have heard from the originator since March 5th.
> > > 
> > > >  > From: bugme-daemon@osdl.org
> > > >  > Subject: [Bugme-new] [Bug 4348] New: snd_emu10k1 oops'es with Audigy 2 and
> > > >  > 
> > > > 
> > > >  This one is fixed in ALSA CVS.
> > > 
> > > But not in http://linux-sound.bkbits.net/linux-sound yet.  How does stuff
> > > propagate from ALSA CVS into bk?
> > > 
> > > 
> > 
> > The ALSA maintainers periodically ask Linus to pull from the linux-sound
> > tree.  But that's just the general "ALSA update" process.
> 
> Oh.  I was always under the impression that
> http://linux-sound.bkbits.net/linux-sound contains the latest devel stuff
> for -mm.

sound-bk includes fairly recent codes but not always the very latest
since the sync between ALSA CVS and sound-bk trees are done manually
by Jaroslav.

We have a mechanism to do sync immediately for critical patches.  But
I seem to forget to tag it like this case.  Sorry for that.


Takashi

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: ALSA bugs in list [was Re: 2.6.12-rc1-mm1]
  2005-03-22  4:16         ` Lee Revell
  2005-03-22  4:23           ` Andrew Morton
@ 2005-03-22 10:06           ` Jaroslav Kysela
  1 sibling, 0 replies; 10+ messages in thread
From: Jaroslav Kysela @ 2005-03-22 10:06 UTC (permalink / raw)
  To: Lee Revell; +Cc: Andrew Morton, rmk+lkml, linux-kernel, apatard, Takashi Iwai

On Mon, 21 Mar 2005, Lee Revell wrote:

> > >  This one is fixed in ALSA CVS.
> > 
> > But not in http://linux-sound.bkbits.net/linux-sound yet.  How does stuff
> > propagate from ALSA CVS into bk?
> 
> The ALSA maintainers periodically ask Linus to pull from the linux-sound
> tree.  But that's just the general "ALSA update" process.
> 
> I'm not aware of a mechanism for getting critical fixes like this in
> ASAP.  The last few have been shepherded through manually by various
> people.  Looks like we need a better system.

I am trying to sync the linux-sound BK tree every week with our CVS.
For "urgent" fixes we need to find another faster way. Hopefully, they
are in most cases small enough, so they might be propagated automagically.
I already proposed special "tag" in our CVS commit policy, so we can 
identify these patches / changesets.

I will try to prepare some useable tool in few weeks.

						Jaroslav

-----
Jaroslav Kysela <perex@suse.cz>
Linux Kernel Sound Maintainer
ALSA Project, SUSE Labs

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: ALSA bugs in list [was Re: 2.6.12-rc1-mm1]
@ 2005-03-22 19:41 Indrek Kruusa
  2005-03-23 22:30 ` Lee Revell
  0 siblings, 1 reply; 10+ messages in thread
From: Indrek Kruusa @ 2005-03-22 19:41 UTC (permalink / raw)
  To: linux-kernel

Lee Revell <rlrevell@xxxxxxxxxxx> wrote:
 >
 >/ On Mon, 2005-03-21 at 12:41 -0800, Andrew Morton wrote:/
 >/ > From: bugme-daemon@xxxxxxxx/
 >/ > Subject: [Bug 4282] ALSA driver in Linux 2.6.11 causes a kernel 
panic when loading the EMU10K1 driver/
 >/ > /
 >/ /
 >/ This one is a real mystery. No one can reproduce it./

Not quite true. This bug was current till today in Mandrake's kernel, 
but with  2.6.11-5mdk they managed to get rid of it.
The problem is not with loading the driver but when alsactl tries to 
store/restore mixer settings.

I have tried again with 2.6.12-rc1-mm1 and it is still there (for 
example the Gnome won't start due to this).
Below the oops part from messages.

thanks,
Indrek



Mar 22 21:05:21 bedroom alsa:  succeeded
Mar 22 21:05:21 bedroom kernel: Unable to handle kernel NULL pointer 
dereference at virtual address 0000000c
Mar 22 21:05:21 bedroom kernel:  printing eip:
Mar 22 21:05:21 bedroom kernel: dfa929e8
Mar 22 21:05:21 bedroom kernel: *pde = 00000000
Mar 22 21:05:21 bedroom kernel: Oops: 0000 [#1]
Mar 22 21:05:21 bedroom kernel: SMP
Mar 22 21:05:21 bedroom kernel: Modules linked in: snd_pcm_oss 
snd_mixer_oss snd_emu10k1 snd_rawmidi snd_seq_device snd_ac97_codec 
snd_pcm snd_timer snd_page_alloc snd_util_mem snd_hwdep snd soundcore 
af_packet eth1394 e100 mii ide_cd ohci1394 ieee1394 nls_iso8859_15 
nls_cp850 vfat fat intel_agp agpgart hw_random emu10k1_gp gameport 
ata_piix libata ehci_hcd uhci_hcd usbcore evdev
Mar 22 21:05:21 bedroom kernel: CPU:    0
Mar 22 21:05:21 bedroom kernel: EIP:    
0060:[pg0+527297000/1069851648]    Not tainted VLI
Mar 22 21:05:21 bedroom kernel: EIP:    0060:[<dfa929e8>]    Not tainted VLI
Mar 22 21:05:21 bedroom kernel: EFLAGS: 00010002   (2.6.12-r1m1)
Mar 22 21:05:21 bedroom kernel: EIP is at 
snd_emu10k1_efx_send_routing_put+0x98/0xd5 [snd_emu10k1]
Mar 22 21:05:21 bedroom kernel: eax: 00000000   ebx: dd6cb1a8   ecx: 
0000000c   edx: 00000004
Mar 22 21:05:21 bedroom kernel: esi: 00000004   edi: 00000000   ebp: 
dd6ca000   esp: dce73ed4
Mar 22 21:05:21 bedroom kernel: ds: 007b   es: 007b   ss: 0068
Mar 22 21:05:21 bedroom kernel: Process alsactl (pid: 5019, 
threadinfo=dce72000 task=decaa550)
Mar 22 21:05:21 bedroom kernel: Stack: 00000000 00000000 00000000 
dd6ca508 0000000f 00000001 00000246 ddc3c14c
Mar 22 21:05:21 bedroom kernel:        ddfe9200 de1a0440 ddc3c000 
dfa18e30 ddfe9200 de1a0400 00000000 00000000
Mar 22 21:05:21 bedroom kernel:        00000000 ddfe9200 c01b845c 
ddfe9200 fffffff3 decc1180 de1a0400 bf886950
Mar 22 21:05:21 bedroom kernel: Call Trace:
Mar 22 21:05:21 bedroom kernel:  [pg0+526798384/1069851648] 
snd_ctl_elem_write+0x126/0x177 [snd]
Mar 22 21:05:21 bedroom kernel:  [<dfa18e30>] 
snd_ctl_elem_write+0x126/0x177 [snd]
Mar 22 21:05:21 bedroom kernel:  [copy_from_user+70/126] 
copy_from_user+0x46/0x7e
Mar 22 21:05:21 bedroom kernel:  [<c01b845c>] copy_from_user+0x46/0x7e
Mar 22 21:05:21 bedroom kernel:  [pg0+526798563/1069851648] 
snd_ctl_elem_write_user+0x62/0xaf [snd]
Mar 22 21:05:21 bedroom kernel:  [<dfa18ee3>] 
snd_ctl_elem_write_user+0x62/0xaf [snd]
Mar 22 21:05:21 bedroom kernel:  [do_ioctl+154/169] do_ioctl+0x9a/0xa9
Mar 22 21:05:21 bedroom kernel:  [<c017352a>] do_ioctl+0x9a/0xa9
Mar 22 21:05:21 bedroom kernel:  [vfs_ioctl+101/481] vfs_ioctl+0x65/0x1e1
Mar 22 21:05:21 bedroom kernel:  [<c01736df>] vfs_ioctl+0x65/0x1e1
Mar 22 21:05:21 bedroom kernel:  [sys_ioctl+69/109] sys_ioctl+0x45/0x6d
Mar 22 21:05:21 bedroom kernel:  [<c01738a0>] sys_ioctl+0x45/0x6d
Mar 22 21:05:21 bedroom kernel:  [sysenter_past_esp+84/117] 
sysenter_past_esp+0x54/0x75
Mar 22 21:05:21 bedroom kernel:  [<c01030c7>] sysenter_past_esp+0x54/0x75
Mar 22 21:05:21 bedroom kernel: Code: 24 10 23 4c 90 44 0f b6 04 13 39 
c8 74 0b 88 0c 13 c7 44 24 14 01 00 00 00 83 c2 01 39 f2 7c da 8b 44 24 
14 85 c0 74 0b 8b 43 38 <8b> 44 b8 0c 85 c0 75 19 8b 44 24 0c 8b 54 24 
18 e8 c9 3c 83 e0


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: ALSA bugs in list [was Re: 2.6.12-rc1-mm1]
@ 2005-03-23 18:43 Indrek Kruusa
  0 siblings, 0 replies; 10+ messages in thread
From: Indrek Kruusa @ 2005-03-23 18:43 UTC (permalink / raw)
  To: linux-kernel

 > Lee Revell <rlrevell@xxxxxxxxxxx> wrote:
 > >
 > > On Mon, 2005-03-21 at 12:41 -0800, Andrew Morton wrote:
 > > > From: bugme-daemon@xxxxxxxx
 > > > Subject: [Bug 4282] ALSA driver in Linux 2.6.11 causes a kernel 
panic when
 > > > loading the EMU10K1 driver
 > > >
 > > >
 > > This one is a real mystery. No one can reproduce it.

 > Not quite true. This bug was current till today in Mandrake's kernel,
 > but with 2.6.11-5mdk they managed to get rid of it.
 > The problem is not with loading the driver but when alsactl tries to 
store/restore
 > mixer settings.

 > I have tried again with 2.6.12-rc1-mm1 and it is still there (for 
example the
 > Gnome won't start due to this).
 > Below the oops part from messages.

uhh...sorry about that noise. I misread your e-mail.


 > >/ From: bugme-daemon@xxxxxxxx/
 > >/ Subject: [Bugme-new] [Bug 4348] New: snd_emu10k1 oops'es with 
Audigy 2 and/
 > >/ /
 >
 > This one is fixed in ALSA CVS. Here is the patch.


I had this problem indeed and of course this patch fixed 2.6.12-rc1-mm1 
for me.

Thank you and sorry again,
Indrek


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: ALSA bugs in list [was Re: 2.6.12-rc1-mm1]
  2005-03-22 19:41 ALSA bugs in list [was Re: 2.6.12-rc1-mm1] Indrek Kruusa
@ 2005-03-23 22:30 ` Lee Revell
  0 siblings, 0 replies; 10+ messages in thread
From: Lee Revell @ 2005-03-23 22:30 UTC (permalink / raw)
  To: indrek.kruusa; +Cc: linux-kernel, Andrew Morton

On Tue, 2005-03-22 at 21:41 +0200, Indrek Kruusa wrote:
> Lee Revell <rlrevell@xxxxxxxxxxx> wrote:
>  >
>  >/ On Mon, 2005-03-21 at 12:41 -0800, Andrew Morton wrote:/
>  >/ > From: bugme-daemon@xxxxxxxx/
>  >/ > Subject: [Bug 4282] ALSA driver in Linux 2.6.11 causes a kernel 
> panic when loading the EMU10K1 driver/
>  >/ > /
>  >/ /
>  >/ This one is a real mystery. No one can reproduce it./
> 
> Not quite true. This bug was current till today in Mandrake's kernel, 
> but with  2.6.11-5mdk they managed to get rid of it.
> The problem is not with loading the driver but when alsactl tries to 
> store/restore mixer settings.
> 

Please, make sure to use "reply to all" when replying to LKML mail.  I
easily could have missed this.

Do you have a link to the Mandrake bug report?  If other people have
been hitting this, they have not been updating the bug report:

http://bugme.osdl.org/show_bug.cgi?id=4282

> I have tried again with 2.6.12-rc1-mm1 and it is still there (for 
> example the Gnome won't start due to this).
> Below the oops part from messages.

Does it work if you just blow away the old mixer settings rather than
trying to restore them?

Anyway, this might be fixed in ALSA CVS.

Lee


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2005-03-23 22:31 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-22 19:41 ALSA bugs in list [was Re: 2.6.12-rc1-mm1] Indrek Kruusa
2005-03-23 22:30 ` Lee Revell
  -- strict thread matches above, loose matches on Subject: below --
2005-03-23 18:43 Indrek Kruusa
2005-03-21 10:51 2.6.12-rc1-mm1 Andrew Morton
2005-03-21 20:20 ` 2.6.12-rc1-mm1 Russell King
2005-03-21 20:41   ` 2.6.12-rc1-mm1 Andrew Morton
2005-03-22  3:51     ` ALSA bugs in list [was Re: 2.6.12-rc1-mm1] Lee Revell
2005-03-22  4:10       ` Andrew Morton
2005-03-22  4:16         ` Lee Revell
2005-03-22  4:23           ` Andrew Morton
2005-03-22  4:30             ` Lee Revell
2005-03-22 10:05             ` Takashi Iwai
2005-03-22 10:06           ` Jaroslav Kysela

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox