Bug#908712: linux-image-4.17.0-0.bpo.3-marvell: stretch-backports kernel 4.17 breaks QNAP TS-209

2019-01-13 Thread Marcus Better
Also affects linux-image-4.19.0-1-marvell 4.19.12-1 (buster) on QNAP TS-209.



Bug#552706: BUG: soft lockup - CPU#0 stuck for 61s! - :nfs:nfs_access_cache_shrinker

2009-12-14 Thread Marcus Better
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

found 552706 2.6.26-13lenny2
thanks

I get something similar on our HP Proliant 360DL G5 server. It's a
quad-core Xeon running linux-image-2.6.26-1-openvz-amd64
(2.6.26-13lenny2). This has happened several times during the last few
weeks.

[997187.253560] BUG: soft lockup - CPU#2 stuck for 61s! [java:10023]
[997187.253560] Modules linked in: vzethdev vznetdev simfs vzrst vzcpt
tun vzdquota vzmon vzdev xt_length ipt_ttl xt_tcpmss xt_TCPMSS xt_dscp
deflate zlib_deflate zlib_inflate ctr camellia sha1_generic crypto_null
ccm serpent blowfish twofish twofish_common ecb xcbc cbc
crypto_blkcipher sha256_generic sha512_generic des_generic aes_x86_64
aes_generic xfrm_user ah6 ah4 esp6 esp4 aead xfrm4_mode_beet
xfrm4_tunnel tunnel4 xfrm4_mode_tunnel xfrm4_mode_transport
xfrm6_mode_transport xfrm6_mode_ro xfrm6_mode_beet xfrm6_mode_tunnel
ipcomp ipcomp6 xfrm6_tunnel tunnel6 ipv6 af_key bridge ipt_recent
ipt_REJECT ipt_LOG xt_limit xt_state xt_mark iptable_filter xt_MARK
iptable_mangle xt_tcpudp xt_multiport iptable_nat ip_tables x_tables
nf_nat_ftp nf_nat nf_conntrack_ipv4 nf_conntrack_ftp nf_conntrack
nfnetlink_log nfnetlink ioatdma dca coretemp ipmi_watchdog ipmi_poweroff
ipmi_devintf loop snd_pcsp snd_pcm snd_timer ipmi_si ipmi_msghandler
rng_core snd shpchp i5000_edac soundcore edac_core hpilo serio_raw
container snd_page_alloc pci_hotplug psmouse button evdev ext3 jbd
mbcache dm_mod ide_pci_generic ata_generic libata dock usbhid hid
ff_memless piix ide_core uhci_hcd ehci_hcd bnx2 firmware_class cciss
scsi_mod thermal processor fan thermal_sys [last unloaded:
scsi_wait_scan]

[997187.253560] CPU 2:

[997187.253560] Modules linked in: vzethdev vznetdev simfs vzrst vzcpt
tun vzdquota vzmon vzdev xt_length ipt_ttl xt_tcpmss xt_TCPMSS xt_dscp
deflate zlib_deflate zlib_inflate ctr camellia sha1_generic crypto_null
ccm serpent blowfish twofish twofish_common ecb xcbc cbc
crypto_blkcipher sha256_generic sha512_generic des_generic aes_x86_64
aes_generic xfrm_user ah6 ah4 esp6 esp4 aead xfrm4_mode_beet
xfrm4_tunnel tunnel4 xfrm4_mode_tunnel xfrm4_mode_transport
xfrm6_mode_transport xfrm6_mode_ro xfrm6_mode_beet xfrm6_mode_tunnel
ipcomp ipcomp6 xfrm6_tunnel tunnel6 ipv6 af_key bridge ipt_recent
ipt_REJECT ipt_LOG xt_limit xt_state xt_mark iptable_filter xt_MARK
iptable_mangle xt_tcpudp xt_multiport iptable_nat ip_tables x_tables
nf_nat_ftp nf_nat nf_conntrack_ipv4 nf_conntrack_ftp nf_conntrack
nfnetlink_log nfnetlink ioatdma dca coretemp ipmi_watchdog ipmi_poweroff
ipmi_devintf loop snd_pcsp snd_pcm snd_timer ipmi_si ipmi_msghandler
rng_core snd shpchp i5000_edac soundcore edac_core hpilo serio_raw
container snd_page_alloc pci_hotplug psmouse button evdev ext3 jbd
mbcache dm_mod ide_pci_generic ata_generic libata dock usbhid hid
ff_memless piix ide_core uhci_hcd ehci_hcd bnx2 firmware_class cciss
scsi_mod thermal processor fan thermal_sys [last unloaded:
scsi_wait_scan]

[997187.253560] Pid: 10023, comm: java Tainted: G  D
2.6.26-1-openvz-amd64 #1 036test001
[997187.253560] RIP: 0010:[80423920]  [80423920]
_spin_lock+0xe/0x15
[997187.253560] RSP: 0018:810097909d80  EFLAGS: 0297

[997187.253560] RAX: 3231 RBX: 80648d60 RCX:
00019587
[997187.253560] RDX: 2748384b RSI: 20e12c00 RDI:
80647b68
[997187.253560] RBP: 81000103e020 R08: 7fff R09:
810097909f08
[997187.253560] R10: 7fff R11: 0206 R12:
8031158f
[997187.253560] R13: 810097909d28 R14: 8022b296 R15:
0002
[997187.253560] FS:  42057950(0063) GS:81012ef07a40()
knlGS:
[997187.253560] CS:  0010 DS:  ES:  CR0: 8005003b

[997187.253560] CR2: 7f1e495323b0 CR3: 33c92000 CR4:
06e0
[997187.253560] DR0:  DR1:  DR2:

[997187.253560] DR3:  DR6: 0ff0 DR7:
0400
[997187.253560]

[997187.253560] Call Trace:

[997187.253560]  [802582c7] ? futex_requeue+0x9a/0x23e

[997187.253560]  [80259101] ? do_futex+0xd3/0x777

[997187.253560]  [8024a89b] ? ktime_get+0xc/0x41

[997187.253560]  [80228f23] ? hrtick_start_fair+0xfb/0x144

[997187.253560]  [8020a8d4] ? __switch_to+0x96/0x35e

[997187.253560]  [8022ee12] ? hrtick_set+0x88/0xf7

[997187.253560]  [802598a3] ? sys_futex+0xfe/0x11c

[997187.253560]  [8020c0a9] ? sysret_signal+0x2b/0x45

[997187.253560]  [8020bffa] ?
system_call_after_swapgs+0x8a/0x8f
[997187.253560]

[997191.548706] BUG: soft lockup - CPU#3 stuck for 61s! [java:32225]

[997191.548706] Modules linked in: vzethdev vznetdev simfs vzrst vzcpt
tun vzdquota vzmon vzdev xt_length ipt_ttl xt_tcpmss xt_TCPMSS xt_dscp
deflate zlib_deflate zlib_inflate ctr camellia sha1_generic crypto_null
ccm serpent blowfish twofish twofish_common ecb xcbc cbc
crypto_blkcipher 

Bug#460194: this bug/#460194 - aptitude: freezes desktop for four seconds when launched with sudo

2008-03-27 Thread Marcus Better

Justin Pryzby wrote:

I can reproduce this problem readily.  You said you were using
2.6.24-rc, but that the problem occured with older kernels.  How old?
I'm not able to reproduce it with 2.6.22.


Almost certainly with 2.6.23, but I probably didn't try anything older 
than 2.6.22.


It also happens with 2.6.25-rc6.

Marcus



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#435304: firmware-iwlwifi: new upstream version available

2007-07-30 Thread Marcus Better
Package: firmware-iwlwifi
Version: 0.6
Severity: wishlist

Please package iwlwifi-3945-ucode version 2.14.1.5, which is required
for the recent wireless-dev kernel. (They added a version suffix to
the firmware file name.)

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 
'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.23-rc1-melech (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=sv_SE.UTF-8, LC_CTYPE=sv_SE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#426526: linux-image-2.6.20-1-ixp4xx: large clock drift on Linksys NSLU2

2007-05-29 Thread Marcus Better
Package: linux-image-2.6.20-1-ixp4xx
Version: 2.6.20-3
Severity: important
Tags: patch

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

My NSLU2 (266 MHz) has a problem with timekeeping. I run ntp, but it doesn't
help - the clock drifts at least fifteen minutes a day.

The problem [1] and solution [2] appear to be known.

[1] http://thread.gmane.org/gmane.linux.debian.ports.arm/4187/
[2] http://thread.gmane.org/gmane.linux.debian.ports.arm/4187/focus=4205

- -- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable')
Architecture: arm (armv5tel)

Kernel: Linux 2.6.21-slug
Locale: LANG=sv_SE.UTF-8, LC_CTYPE=sv_SE.UTF-8 (charmap=locale: Cannot set 
LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash

Versions of packages linux-image-2.6.20-1-ixp4xx depends on:
ii  coreutils 5.97-5.3   The GNU core utilities
ii  debconf [debconf-2.0] 1.5.13 Debian configuration management sy
ii  initramfs-tools [linux-initra 0.87b  tools for generating an initramfs
ii  module-init-tools 3.3-pre4-2 tools for managing Linux kernel mo

linux-image-2.6.20-1-ixp4xx recommends no packages.

- -- debconf information:
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = sv_SE.UTF-8
are supported and installed on your system.
perl: warning: Falling back to the standard locale (C).
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
  linux-image-2.6.20-1-ixp4xx/preinst/elilo-initrd-2.6.20-1-ixp4xx: true
  shared/kernel-image/really-run-bootloader: true
  linux-image-2.6.20-1-ixp4xx/preinst/initrd-2.6.20-1-ixp4xx:
  linux-image-2.6.20-1-ixp4xx/preinst/lilo-has-ramdisk:
  linux-image-2.6.20-1-ixp4xx/postinst/old-initrd-link-2.6.20-1-ixp4xx: true
  linux-image-2.6.20-1-ixp4xx/postinst/create-kimage-link-2.6.20-1-ixp4xx: true
  linux-image-2.6.20-1-ixp4xx/postinst/old-system-map-link-2.6.20-1-ixp4xx: true
  linux-image-2.6.20-1-ixp4xx/postinst/depmod-error-initrd-2.6.20-1-ixp4xx: 
false
  
linux-image-2.6.20-1-ixp4xx/prerm/would-invalidate-boot-loader-2.6.20-1-ixp4xx: 
true
  linux-image-2.6.20-1-ixp4xx/postinst/old-dir-initrd-link-2.6.20-1-ixp4xx: true
  linux-image-2.6.20-1-ixp4xx/postinst/bootloader-error-2.6.20-1-ixp4xx:
  linux-image-2.6.20-1-ixp4xx/preinst/abort-install-2.6.20-1-ixp4xx:
  linux-image-2.6.20-1-ixp4xx/prerm/removing-running-kernel-2.6.20-1-ixp4xx: 
true
  linux-image-2.6.20-1-ixp4xx/preinst/overwriting-modules-2.6.20-1-ixp4xx: true
  linux-image-2.6.20-1-ixp4xx/preinst/lilo-initrd-2.6.20-1-ixp4xx: true
  linux-image-2.6.20-1-ixp4xx/postinst/bootloader-test-error-2.6.20-1-ixp4xx:
  linux-image-2.6.20-1-ixp4xx/postinst/kimage-is-a-directory:
  linux-image-2.6.20-1-ixp4xx/preinst/already-running-this-2.6.20-1-ixp4xx:
  linux-image-2.6.20-1-ixp4xx/preinst/failed-to-move-modules-2.6.20-1-ixp4xx:
* linux-image-2.6.20-1-ixp4xx/preinst/bootloader-initrd-2.6.20-1-ixp4xx: false
  linux-image-2.6.20-1-ixp4xx/postinst/depmod-error-2.6.20-1-ixp4xx: false
  linux-image-2.6.20-1-ixp4xx/preinst/abort-overwrite-2.6.20-1-ixp4xx:

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFGXCbsXjXn6TzcAQkRAg1PAKCQLux7zFFIGzKYgpIkglgl+hQ1kQCffXU+
5L5jD3Tej2NvOVVXWCXMCRU=
=uDuY
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#426526: linux-image-2.6.20-1-ixp4xx: large clock drift on Linksys NSLU2

2007-05-29 Thread Marcus Better
 2.6.20 is not longer in Debian since nearly two weeks. The 2.6.21-3

 changelog say:
 | * arm/ixp4xx: Add patch to set NSLU2 timer frequency.

Thanks, I wasn't aware of that. Will give it a go (but may have to wait for 
#426395 first).

Marcus


signature.asc
Description: This is a digitally signed message part.


Bug#426395: initramfs-tools: omission of libgcc_s.so.1 from initramfs makes Linksys NSLU2 unbootable

2007-05-28 Thread Marcus Better
Package: initramfs-tools
Version: 0.87b
Severity: critical
Tags: patch
Justification: breaks the whole system

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I cross-compiled an arm kernel from linux-source-2.6.21 using make-kpkg. After 
installing it on my Linksys NSLU2, the system became unbootable. Here is the 
console output:

Booting kernel at 0x8000...
Uncompressing
Linux
. done, booting the kernel.
Linux version 2.6.21-slug (2.6.21-2) (marcus at melech) (gcc version 4.1.3
20070518 (prerelease) (Debian 4.1.2-8)) #2 Tue May 22 13:35:38 CEST 2007
CPU: XScale-IXP42x Family [690541f1] revision 1 (ARMv5TE), cr=397f
Machine: Linksys NSLU2
Memory policy: ECC disabled, Data cache writeback
CPU0: D VIVT undefined 5 cache
CPU0: I cache: 32768 bytes, associativity 32, 32 byte lines, 32 sets
CPU0: D cache: 32768 bytes, associativity 32, 32 byte lines, 32 sets
Built 1 zonelists.  Total pages: 8128
Kernel command line: rtc-x1205.probe=0,0x6f console=ttyS0,115200
rtc-x1205.probe=0,0x6f noirqdebug
IRQ lockup detection disabled
PID hash table entries: 128 (order: 7, 512 bytes)
Console: colour dummy device 80x30
Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
Memory: 32MB = 32MB total
Memory: 25796KB available (2236K code, 213K data, 96K init)
Security Framework v1.0.0 initialized
SELinux:  Disabled at boot.
Capability LSM initialized
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
NET: Registered protocol family 16
IXP4xx: Using 16MiB expansion bus window size
PCI: IXP4xx is host
PCI: IXP4xx Using direct access for memory space
PCI: bus0: Fast back to back transfers disabled
dmabounce: registered device :00:01.0 on pci bus
dmabounce: registered device :00:01.1 on pci bus
dmabounce: registered device :00:01.2 on pci bus
NET: Registered protocol family 2
Time: OSTS clocksource has been installed.
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 1024 (order: 1, 8192 bytes)
TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
TCP: Hash tables configured (established 1024 bind 1024)
TCP reno registered
checking if image is initramfs... it is
Freeing initrd memory: 4096K
NetWinder Floating Point Emulator V0.97 (double precision)
audit: initializing netlink socket (disabled)
audit(4.370:1): initialized
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
JFFS2 version 2.2. (NAND) (C) 2001-2006 Red Hat, Inc.
io scheduler noop registered
io scheduler cfq registered (default)
IXP4xx Watchdog Timer: heartbeat 60 sec
Serial: 8250/16550 driver $Revision: 1.90 $ 2 ports, IRQ sharing disabled
serial8250.0: ttyS0 at MMIO 0xc800 (irq = 15) is a XScale
serial8250.0: ttyS1 at MMIO 0xc8001000 (irq = 13) is a XScale
RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize
IXP4XX-Flash.0: Found 1 x16 devices at 0x0 in 16-bit bank
 Intel/Sharp Extended Query Table at 0x0031
Using buffer write method
cfi_cmdset_0001: Erase suspend on write enabled
Searching for RedBoot partition table in IXP4XX-Flash.0 at offset 0x7e
6 RedBoot partitions found on MTD device IXP4XX-Flash.0
Creating 6 MTD partitions on IXP4XX-Flash.0:
0x-0x0004 : RedBoot
NSLU2 MAC: 00:13:10:d6:1b:1b
0x0004-0x0006 : SysConf
0x0006-0x0008 : Loader
0x0008-0x001e : Kernel
0x001e-0x007e : Ramdisk
0x007e-0x0080 : FIS directory
mice: PS/2 mouse device common for all mice
i2c /dev entries driver
x1205 0-006f: chip found, driver version 1.0.7
x1205 0-006f: rtc core: registered x1205 as rtc0
Registered led device: ready
Registered led device: status
Registered led device: disk-1
Registered led device: disk-2
NET: Registered protocol family 26
TCP bic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
XScale DSP coprocessor detected.
x1205 0-006f: setting the system clock to 2007-05-22 12:03:58 (1179835438)
Freeing init memory: 96K
libgcc_s.so.1 must be installed for pthread_cancel to workKernel panic - not
syncing: Attempted to kill init!


Adding libgcc_s.so.1 to the initramfs and reflashing it solved the problem.

Please see this discussion [1] for more details.

Marcus

[1] http://thread.gmane.org/gmane.linux.debian.ports.arm/4187/focus=4218



- -- Package-specific info:
- -- /proc/cmdline
rtc-x1205.probe=0,0x6f console=ttyS0,115200 rtc-x1205.probe=0,0x6f noirqdebug

- -- /proc/filesystems
cramfs
ext3
fuseblk
reiserfs
xfs

- -- lsmod
Module  Size  Used by
des19392  1330 
cbc 4672  1330 
blkcipher   6116  1 cbc
ledtrig_heartbeat   3008  0 
nfs   267076  0 
nfsd  238572  17 
exportfs5696  1 nfsd
lockd  69912  3 nfs,nfsd

Bug#375995: NETDEV WATCHDOG: eth0: transmit timed out

2006-07-11 Thread Marcus Better
merge 375995 358744
thanks

This is caused by a change introduced in the i915 driver in 2.6.16, and
still exists in 2.6.17. A workaround is either to blacklist i915 or to
add the noirqdebug kernel parameter (but the latter seems to cause
lockup when switching consoles).

For more details see
  http://permalink.gmane.org/gmane.linux.network/38493


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#358744: linux-image-2.6.16-1-686: ethernet does not work

2006-03-26 Thread Marcus Better
I can now confirm that this happens also on a newly booted system, not
only after suspend. (But still only sometimes.)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#358607: linux-image-2.6.16-1-686: /dev/input missing

2006-03-23 Thread Marcus Better
maximilian attems wrote:
 what udev version are your running?

I was running udev 0.085-1. Will upgrade and try again.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#358607: linux-image-2.6.16-1-686: /dev/input missing

2006-03-23 Thread Marcus Better
maximilian attems wrote:
 please upgrade to 0.087-2 in unstable.

Yes, this fixes it.

Marcus


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



/dev/input/eventX devices on ppc

2005-10-10 Thread Marcus Better
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hello,

I am the maintainer of input-utils. A user reported a problem on the
powerpc architecture that I need some help solving:
  http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=326149

Apparently on his system the event devices start at /dev/input/event1,
so he has no /dev/input/event0. I have never seen this on i386, so I
thought it might be something kernel-related on ppc. But this is just a
guess really. Can anyone give me a clue on this?

The user runs kernel 2.6.12, built from linux-source-2.6.12-1, and also
uses udev.

Regards,

Marcus B.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDSlU9XjXn6TzcAQkRAstbAKCTT1bzs2N1gJVkS9sXRIvVbfpyoACg8TrH
gbCj6BHbYoUEvTWAFwrKO/c=
=S3fg
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#303403: same as bug 296464

2005-10-08 Thread Marcus Better
Daniel Kahn Gillmor wrote:
 This looks very similar to bug 296464 to me.  the extra prompt at boot
 time is likely just a prompt for the crypted swap partition.

My earlier mail to this bug indicates that this is not the so.
Apparently mkinitrd incorrectly determines that the root device needs
encryption under some LVM setups with encrypted swap. The problem does
not appear on my other system without LVM (also with encrypted swap).

#296464 seems rather to be a more straightforward bug where cryptsetup
asks for a pass phrase when it should be randomized.


signature.asc
Description: OpenPGP digital signature


Bug#303403: Subject: initrd-tools: confirmation and workaround

2005-09-05 Thread Marcus Better
Package: initrd-tools
Version: 0.1.82
Followup-For: Bug #303403

I have reproduced the bug with kernel 2.6.12-1-686 with a RAID
setup. I have also found a workaround.

The system has both root and a swap partition on RAID1. The swap
partition is ecnrypted with a random key, but the root partition
isn't.

In /etc/crypttab I have the following line:
-
swap   /dev/md1/dev/randomswap
-

In /etc/fstab I have among other things:

/dev/mapper/vg0-root /  reiserfs   acl   0 1
/dev/mapper/swap none   swap   sw0 0


I should add that vg0-root is an LVM partition on /dev/md2.

The /script generated by mkinitrd for this setup contains an
unnecessary call to cryptsetup, and some cruft which mentions the swap
partition. This is all totally wrong and causes the pass phrase
prompt. (See attached file script.bad.)

(Note that this script is generated even if the swap partition is not
activated, as long as it is configured in /etc/crypttab and
/etc/fstab).

If I remove the swap lines from /etc/crypttab and /etc/fstab and run
dpkg-reconfigure linux-image-2.6.12-1-686, a different /script
is generated (see script.good). This one does not call cryptsetup,
and there is no pass phrase prompt.

Finally as a workaround I can set

  ROOT=/dev/mapper/vg0-root

in /etc/mkinitrd/mkinitrd.conf (instead of the previous setting of
probe), and this way mkinitrd does the right thing even if the swap
is activated.

I also have a second system where the swap is encrypted, but with both
swap and root on a normal partition (no LVM or RAID). On this system
the bug does not appear at all.

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1,
'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12-thales
Locale: LANG=sv_SE.UTF-8, LC_CTYPE=sv_SE.UTF-8 (charmap=UTF-8)

Versions of packages initrd-tools depends on:
ii  coreutils [fileutils] 5.2.1-2The GNU core utilities
ii  cpio  2.5-1.2GNU cpio -- a program to
manage ar
ii  cramfsprogs   1.1-6  Tools for CramFs
(Compressed ROM F
ii  dash  0.5.2-5The Debian Almquist Shell
ii  util-linux2.12p-4Miscellaneous system utilities

initrd-tools recommends no packages.

-- no debconf information
mdadm -A /dev/md1 -R -u 8f156671:cab08648:28e926ad:553eb5cd /dev/sda5 /dev/sdb5
mount_tmpfs dev2

save_rootdev=$rootdev
save_ROOT=$ROOT
rootdev=2305
ROOT=/dev/md1
get_device
rootdev=$save_rootdev
ROOT=$save_ROOT

export device
export dmname=swap
export cipher_mode=aes-cbc-plain
for i in /keyscripts/*; do
[ -f $i ] || continue
case $i in
*.sh)
(. $i)
;;
*)
$i
;;
esac
done
[ -b /dev/mapper/$dmname ] || \
/sbin/cryptsetup -c $cipher_mode create $dmname $device

umount -n dev2
ROOT=/dev/mapper/vg0-root
mdadm -A /dev/md2 -R -u 57823407:50072998:0a5ad2a9:9d9f102a /dev/sda6 /dev/sdb6
mkdir /devfs/vg0
mount_tmpfs /var
if [ -f /etc/lvm/lvm.conf ]; then
cat /etc/lvm/lvm.conf  /var/lvm.conf
fi
mount_tmpfs /etc/lvm
if [ -f /var/lvm.conf ]; then
cat /var/lvm.conf  /etc/lvm/lvm.conf
fi
mount -nt devfs devfs /dev
vgchange -a y vg0
umount /dev
umount -n /var
umount -n /etc/lvm
ROOT=/dev/mapper/vg0-root
mdadm -A /dev/md2 -R -u 57823407:50072998:0a5ad2a9:9d9f102a /dev/sda6 /dev/sdb6
mkdir /devfs/vg0
mount_tmpfs /var
if [ -f /etc/lvm/lvm.conf ]; then
cat /etc/lvm/lvm.conf  /var/lvm.conf
fi
mount_tmpfs /etc/lvm
if [ -f /var/lvm.conf ]; then
cat /var/lvm.conf  /etc/lvm/lvm.conf
fi
mount -nt devfs devfs /dev
vgchange -a y vg0
umount /dev
umount -n /var
umount -n /etc/lvm