Bug#510478: linux-image-2.6.26-1-486: kernel hangs on leap second

2009-06-17 Thread Ben Hutchings
On Wed, 2009-06-17 at 03:23 +0100, Ben Hutchings wrote:
 The actual upstream fix appears to be this:
 
 commit b845b517b5e3706a3729f6ea83b88ab85f0725b0
 Author: Peter Zijlstra a.p.zijls...@chello.nl
 Date:   Fri Aug 8 21:47:09 2008 +0200
 
 printk: robustify printk
 
 Avoid deadlocks against rq-lock and xtime_lock by deferring the klogd
 wakeup by polling from the timer tick.
 
 This applies successfully to 2.6.26 and doesn't seem to be dependent on
 any intervening changes.  It's not clear to me whether there are other
 cases in 2.6.26 where a printk() could trigger this deadlock.  If not
 then I'd rather go with the simple workaround for this one case.

I found one other place:

   arch/alpha/kernel/time.c:timer_interrupt()
- arch/alpha/kernel/time.c:set_rtc_mmss()
- printk()

Ben.

-- 
Ben Hutchings
Never attribute to conspiracy what can adequately be explained by stupidity.


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


Bug#510478: linux-image-2.6.26-1-486: kernel hangs on leap second

2009-06-16 Thread Ben Hutchings
The actual upstream fix appears to be this:

commit b845b517b5e3706a3729f6ea83b88ab85f0725b0
Author: Peter Zijlstra a.p.zijls...@chello.nl
Date:   Fri Aug 8 21:47:09 2008 +0200

printk: robustify printk

Avoid deadlocks against rq-lock and xtime_lock by deferring the klogd
wakeup by polling from the timer tick.

This applies successfully to 2.6.26 and doesn't seem to be dependent on
any intervening changes.  It's not clear to me whether there are other
cases in 2.6.26 where a printk() could trigger this deadlock.  If not
then I'd rather go with the simple workaround for this one case.

Ben.

-- 
Ben Hutchings
Never attribute to conspiracy what can adequately be explained by stupidity.


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


Bug#510478: linux-image-2.6.26-1-486: kernel hangs on leap second

2009-06-07 Thread Ben Hutchings
The last version of the patch can be found in:
http://article.gmane.org/gmane.linux.kernel/774797/raw

I can't see any sign that this was merged upstream though.  I am
querying this.

Ben.

-- 
Ben Hutchings
Logic doesn't apply to the real world. - Marvin Minsky


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


Bug#510478: linux-image-2.6.26-1-486: kernel hangs on leap second

2009-01-02 Thread Laurens Blankers
Package: linux-image-2.6.26-1-486
Version: 2.6.26-12
Severity: important

Yesterday (Jan 1 2009) at exactly 00:00:00 GMT (01:00:00 CET) my Debian 
testing box froze. The screen was blanked so I didn't get a oops or backtrace. 
After a reboot the logs didn't contain anything relating to this.

Seems to be the same problem as has been reported on Slashdot and in the 
forum:

http://forums.debian.net/viewtopic.php?t=34390

The kernel loaded at the time of the crash was 2.6.26-11 although -12 
was installed.

Sorry I can't provide more details. I am running ntpd, if that helps.

Laurens

-- Package-specific info:
** Version:
Linux version 2.6.26-1-486 (Debian 2.6.26-12) (wa...@debian.org) (gcc version 
4.1.3 20080704 (prerelease) (Debian 4.1.2-24)) #1 Mon Dec 15 17:32:01 UTC 2008

** Command line:
root=/dev/hda1 ro 

** Not tainted

** Loaded modules:
Module  Size  Used by
ppdev   6404  0 
lp  7972  0 
tun 8196  2 
sch_sfq 5376  4 
act_police  4420  1 
cls_u32 6020  2 
sch_ingress 2176  1 
sch_htb13184  1 
ip6table_filter 2432  1 
ip6_tables 10896  1 ip6table_filter
iptable_raw 2176  0 
xt_comment  1664  0 
xt_policy   2816  0 
ipt_ULOG6660  0 
ipt_TTL 1920  0 
ipt_ttl 1536  0 
ipt_REJECT  2688  4 
ipt_REDIRECT1792  0 
ipt_recent  6808  0 
ipt_NETMAP  1792  0 
ipt_MASQUERADE  2432  1 
ipt_LOG 4864  15 
ipt_ECN 2304  0 
ipt_ecn 1920  0 
ipt_CLUSTERIP   5636  0 
ipt_ah  1664  0 
ipt_addrtype2304  0 
nf_nat_tftp 1536  0 
nf_nat_snmp_basic   8196  0 
nf_nat_sip  5376  0 
nf_nat_pptp 2816  0 
nf_nat_proto_gre2180  1 nf_nat_pptp
nf_nat_irc  2048  0 
nf_nat_h323 5760  0 
nf_nat_ftp  2560  0 
nf_nat_amanda   1792  0 
ts_kmp  1792  5 
nf_conntrack_amanda 3712  1 nf_nat_amanda
nf_conntrack_tftp   4116  1 nf_nat_tftp
nf_conntrack_sip   16028  1 nf_nat_sip
nf_conntrack_proto_sctp 6280  0 
nf_conntrack_pptp   5376  1 nf_nat_pptp
nf_conntrack_proto_gre 4096  1 nf_conntrack_pptp
nf_conntrack_netlink13952  0 
nf_conntrack_netbios_ns 2304  0 
nf_conntrack_irc5024  1 nf_nat_irc
nf_conntrack_h323  44584  1 nf_nat_h323
nf_conntrack_ftp6688  1 nf_nat_ftp
xt_tcpmss   1920  0 
xt_pkttype  1664  4 
xt_physdev  2320  0 
xt_owner2560  0 
xt_NFQUEUE  1792  0 
xt_NFLOG1792  0 
xt_multiport2816  4 
xt_MARK 2304  13 
xt_mark 1920  4 
xt_mac  1664  0 
xt_limit2048  0 
xt_length   1792  0 
xt_iprange  2304  0 
xt_helper   2048  0 
xt_hashlimit9228  0 
xt_DSCP 2944  0 
xt_dscp 2304  0 
xt_dccp 2564  0 
xt_conntrack3456  3 
xt_CONNMARK 2816  0 
xt_connmark 2304  0 
xt_CLASSIFY 1664  4 
xt_tcpudp   2816  40 
xt_state2048  35 
iptable_nat 4616  1 
nf_nat 15248  13 
ipt_REDIRECT,ipt_NETMAP,ipt_MASQUERADE,nf_nat_tftp,nf_nat_sip,nf_nat_pptp,nf_nat_proto_gre,nf_nat_irc,nf_nat_h323,nf_nat_ftp,nf_nat_amanda,nf_conntrack_netlink,iptable_nat
nf_conntrack_ipv4  12044  41 iptable_nat,nf_nat
nf_conntrack   54308  29 
ipt_MASQUERADE,ipt_CLUSTERIP,nf_nat_tftp,nf_nat_snmp_basic,nf_nat_sip,nf_nat_pptp,nf_nat_irc,nf_nat_h323,nf_nat_ftp,nf_nat_amanda,nf_conntrack_amanda,nf_conntrack_tftp,nf_conntrack_sip,nf_conntrack_proto_sctp,nf_conntrack_pptp,nf_conntrack_proto_gre,nf_conntrack_netlink,nf_conntrack_netbios_ns,nf_conntrack_irc,nf_conntrack_h323,nf_conntrack_ftp,xt_helper,xt_conntrack,xt_CONNMARK,xt_connmark,xt_state,iptable_nat,nf_nat,nf_conntrack_ipv4
iptable_mangle  2688  1 
nfnetlink   3864  1 nf_conntrack_netlink
iptable_filter  2560  1 
ip_tables   9616  4 
iptable_raw,iptable_nat,iptable_mangle,iptable_filter
x_tables   12932  43 
ip6_tables,xt_comment,xt_policy,ipt_ULOG,ipt_TTL,ipt_ttl,ipt_REJECT,ipt_REDIRECT,ipt_recent,ipt_NETMAP,ipt_MASQUERADE,ipt_LOG,ipt_ECN,ipt_ecn,ipt_CLUSTERIP,ipt_ah,ipt_addrtype,xt_tcpmss,xt_pkttype,xt_physdev,xt_owner,xt_NFQUEUE,xt_NFLOG,xt_multiport,xt_MARK,xt_mark,xt_mac,xt_limit,xt_length,xt_iprange,xt_helper,xt_hashlimit,xt_DSCP,xt_dscp,xt_dccp,xt_conntrack,xt_CONNMARK,xt_connmark,xt_CLASSIFY,xt_tcpudp,xt_state,iptable_nat,ip_tables
ipv6  225172  56 
fuse   41116  1 
dm_snapshot14240  0 
dm_mirror  14720  0 
dm_log