Bug#719623: linux-image-3.10-3-amd64: still present in 3.10-3-amd64

2013-09-25 Thread Johannes Rohr
The joyful news I received today is that the patch has been committed upstream 
to the 3.10 stable tree:

http://git.kernel.org/cgit/linux/kernel/git/stable/stable-queue.git/commit/?id=47b04e91606a459a5c60abc6a5d03bcc6bd6d801

So I trust that it will make it into Debian soon.

Johannes


-- 
To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/3147637.bmQ6x3n0Wj@erwin



Processed: bug 723180 is forwarded to http://mid.gmane.org/1380115449.4430.21.ca...@deadeye.wl.decadent.org.uk

2013-09-25 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

 forwarded 723180 
 http://mid.gmane.org/1380115449.4430.21.ca...@deadeye.wl.decadent.org.uk
Bug #723180 [src:linux] kernel oops with gdb record on -m32 executable
Set Bug forwarded-to-address to 
'http://mid.gmane.org/1380115449.4430.21.ca...@deadeye.wl.decadent.org.uk'.
 thanks
Stopping processing here.

Please contact me if you need assistance.
-- 
723180: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=723180
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems


--
To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/handler.s.c.138011549630521.transcr...@bugs.debian.org



Bug#723180: Double fault when single-stepping compat task with PREEMPT_RT

2013-09-25 Thread Ben Hutchings
On Tue, 2013-09-24 at 13:43 -0700, Brian Silverman wrote:
[...]
 I got down to a really simple program that reproduces this bug:
 
 
 #include sys/syscall.h
 #include unistd.h
 int main() {
   // I've tried SYS_getpid, SYS_write, and SYS_read here too.
   syscall(SYS_gettid);
 }
 
 
 Any syscall I put in there seems to give the same results. In order
 for it to trigger the bug, you have to compile it with `gcc -m32
 whatever.c` (I'm testing with the standard Wheezy gcc (4:4.7.2-1) and
 gdb (7.4.1+dfsg-0.1)). I would imagine that something in gcc and/or
 gdb is contributing to this too.
 
 
 I also minimized the gdb commands down to:
 
 
 break main
 run
 record

I assume this enables single-stepping.

 continue
[...]

I can reproduce this in VMs running the latest Debian RT kernel versions
(based on 3.2.51-rt72, and on 3.10.11 with the 3.10.10-rt7 patch).

As Brian says, x86_64 userland on x86_64 kernel works, and similarly for
i386 on i386.  So it is specifically the 'compat' case that's broken.

Here's what I got:

[   68.394276] double fault:  [#1] PREEMPT SMP 
[   68.394304] Modules linked in: rfcomm bnep bluetooth rfkill crc16 nfsd 
auth_rpcgss oid_registry nfs_acl nfs lockd dns_resolver fscache sunrpc loop 
fuse joydev hid_generic usbhid hid snd_hda_intel snd_hda_codec snd_hwdep 
snd_pcm snd_page_alloc snd_seq snd_seq_device snd_timer snd processor evdev ttm 
drm_kms_helper thermal_sys psmouse soundcore drm i2c_piix4 serio_raw 
virtio_balloon button i2c_core pcspkr microcode ext3 mbcache jbd sg sr_mod 
cdrom ata_generic virtio_net virtio_blk floppy uhci_hcd ata_piix ehci_hcd 
libata usbcore virtio_pci scsi_mod usb_common virtio_ring virtio
[   68.394307] CPU: 0 PID: 3044 Comm: bug723180 Not tainted 3.10-3-rt-amd64 #1 
Debian 3.10.11-1
[   68.394307] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011
[   68.394309] task: 88001df34300 ti: 88001b564000 task.ti: 
88001b564000
[   68.394316] RIP: 0010:[8139ec30]  [8139ec30] 
native_irq_enable_sysexit+0x10/0x10
[   68.394317] RSP: 0018:  EFLAGS: 00010192
[   68.394318] RAX: 00e0 RBX:  RCX: 0804842b
[   68.394319] RDX: f7fc7000 RSI: 08048420 RDI: 
[   68.394319] RBP: d53c R08:  R09: 
[   68.394320] R10:  R11:  R12: 
[   68.394320] R13:  R14:  R15: 
[   68.394321] FS:  () GS:88001fc0(0063) 
knlGS:f7e1b900
[   68.394322] CS:  0010 DS: 002b ES: 002b CR0: 8005003b
[   68.394323] CR2: fff8 CR3: 1f121000 CR4: 06f0
[   68.394326] DR0:  DR1:  DR2: 
[   68.394329] DR3:  DR6: 4ff0 DR7: 0400
[   68.394329] Stack:
[   68.394331]  88001fc05e68 88001fc05f58 0ac0 

[   68.394332]    0040 
8100ef56
[   68.394334]  81837a35  88001fc05f58 
814011e8
[   68.394334] Call Trace:
[   68.394336]  #DF 
[   68.394340]  [8100ef56] ? show_regs+0x6d/0x1bd
[   68.394343]  [81399cbe] ? __die+0x9e/0xdb
[   68.394345]  [8100fbe9] ? die+0x3d/0x56
[   68.394346]  [8100de24] ? do_double_fault+0x5c/0x5e
[   68.394348]  [8139e888] ? double_fault+0x28/0x30
[   68.394350]  [8139ec30] ? native_irq_enable_sysexit+0x10/0x10
[   68.394351]  EOE 
[   68.394361] Code: 1f 84 00 00 00 00 00 0f 1f 40 00 0f 01 f8 0f 07 66 66 2e 
0f 1f 84 00 00 00 00 00 0f 01 f8 fb 0f 35 66 2e 0f 1f 84 00 00 00 00 00 0f 01 
f8 65 48 8b 24 25 e0 a7 00 00 48 83 c4 28 fb 0f 1f 80 00 
[   68.394362] RIP  [8139ec30] native_irq_enable_sysexit+0x10/0x10
[   68.394362]  RSP 
[   68.394385] ---[ end trace 0002 ]---
[   68.394434] [ cut here ]
[   68.394442] WARNING: at 
/build/linux-BPzSEt/linux-3.10.11/debian/build/source_rt/kernel/smp.c:244 
smp_call_function_single+0x71/0x157()
[   68.394454] Modules linked in: rfcomm bnep bluetooth rfkill crc16 nfsd 
auth_rpcgss oid_registry nfs_acl nfs lockd dns_resolver fscache sunrpc loop 
fuse joydev hid_generic usbhid hid snd_hda_intel snd_hda_codec snd_hwdep 
snd_pcm snd_page_alloc snd_seq snd_seq_device snd_timer snd processor evdev ttm 
drm_kms_helper thermal_sys psmouse soundcore drm i2c_piix4 serio_raw 
virtio_balloon button i2c_core pcspkr microcode ext3 mbcache jbd sg sr_mod 
cdrom ata_generic virtio_net virtio_blk floppy uhci_hcd ata_piix ehci_hcd 
libata usbcore virtio_pci scsi_mod usb_common virtio_ring virtio
[   68.394456] CPU: 0 PID: 3044 Comm: bug723180 Tainted: G  D  
3.10-3-rt-amd64 #1 Debian 3.10.11-1
[   68.394459] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011
[   68.394460]   8103cced 

Processed: bug 723180 is forwarded to http://article.gmane.org/gmane.linux.kernel/1567352

2013-09-25 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

 forwarded 723180 http://article.gmane.org/gmane.linux.kernel/1567352
Bug #723180 [src:linux] kernel oops with gdb record on -m32 executable
Changed Bug forwarded-to-address to 
'http://article.gmane.org/gmane.linux.kernel/1567352' from 
'http://mid.gmane.org/1380115449.4430.21.ca...@deadeye.wl.decadent.org.uk'
 thanks
Stopping processing here.

Please contact me if you need assistance.
-- 
723180: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=723180
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems


--
To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/handler.s.c.13801163513336.transcr...@bugs.debian.org



Bug#692957: Info received (Bug#692957: linux-image-3.2.0-4-amd64: NFS server causes high load on 3.2 kernel)

2013-09-25 Thread Karsten Suehring
Unforunately I could not follow up on the issue anymore because I had to
get my systems back into a running state.

If nobody else can reproduce it on Debian, then it is possible that the
issue was indeed related to Ubuntu only or the specific kernel version used
there. So this bug can probably be closed.

BR, Karsten


Processed: update

2013-09-25 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

 reassign 719252 linux-image-3.9-1-686-pae
Bug #719252 [src:linux] ATA error message during stopping disk
Bug reassigned from package 'src:linux' to 'linux-image-3.9-1-686-pae'.
Warning: Unknown package 'linux-image-3.9-1-686-pae'
Warning: Unknown package 'linux-image-3.9-1-686-pae'
No longer marked as found in versions linux/3.9.8-1 and linux/3.10.5-1.
Warning: Unknown package 'linux-image-3.9-1-686-pae'
Warning: Unknown package 'linux-image-3.9-1-686-pae'
Ignoring request to alter fixed versions of bug #719252 to the same values 
previously set
Warning: Unknown package 'linux-image-3.9-1-686-pae'
 retitle 719252 ATA bus error caused with new kernel and IDE disk connacted 
 via sata2ide adapter
Bug #719252 [linux-image-3.9-1-686-pae] ATA error message during stopping disk
Warning: Unknown package 'linux-image-3.9-1-686-pae'
Changed Bug title to 'ATA bus error caused with new kernel and IDE disk 
connacted via sata2ide adapter' from 'ATA error message during stopping disk'
Warning: Unknown package 'linux-image-3.9-1-686-pae'
 thanks
Stopping processing here.

Please contact me if you need assistance.
-- 
719252: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=719252
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems


--
To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/handler.s.c.138013500116631.transcr...@bugs.debian.org



Bug#719252: update

2013-09-25 Thread Carsten Grohmann
reassign 719252 linux-image-3.9-1-686-pae
retitle 719252 ATA bus error caused with new kernel and IDE disk connacted via 
sata2ide adapter

thanks


I've replaced the old IDE disk connected to a new main board via sata2ide 
adapter by a current SATA disk. This change let the strange behaviour to gone.

Summary:
The issue occurs only with a new kernel e.g. 3.9-1 and an IDE disk connected 
via sata2ide only. The old kernel 3.2.0-4 doesn't show this behaviour.

A new kernel and a direct attached SATA disk works fine again.

Regards,
Carsten


-- 
To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/2682948.EddMjB3yPY@max



Processed: update

2013-09-25 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

 reassign 719252 src:linux
Bug #719252 [linux-image-3.9-1-686-pae] ATA bus error caused with new kernel 
and IDE disk connacted via sata2ide adapter
Warning: Unknown package 'linux-image-3.9-1-686-pae'
Bug reassigned from package 'linux-image-3.9-1-686-pae' to 'src:linux'.
Ignoring request to alter found versions of bug #719252 to the same values 
previously set
Ignoring request to alter fixed versions of bug #719252 to the same values 
previously set
 found 719252 3.9.8-1
Bug #719252 [src:linux] ATA bus error caused with new kernel and IDE disk 
connacted via sata2ide adapter
Marked as found in versions linux/3.9.8-1.
 found 719252 3.10.5-1
Bug #719252 [src:linux] ATA bus error caused with new kernel and IDE disk 
connacted via sata2ide adapter
Marked as found in versions linux/3.10.5-1.
 thanks
Stopping processing here.

Please contact me if you need assistance.
-- 
719252: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=719252
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems


--
To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/handler.s.c.138013527918368.transcr...@bugs.debian.org



Bug#691576: linux-image-mckinley 3.10+52 is fine again with gdb

2013-09-25 Thread Émeric MASCHINO
FYI, linux-image-3.10-3-mckinley 3.10.11-1 in today's Jessie updates
brought back gdb to life.


-- 
To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CAA9xbM7A--Hj6uQ0bmCFw8pMo56T6q6k9y=v5qe0fnc4ypu...@mail.gmail.com



Removing some kernel-related virtual packages

2013-09-25 Thread Ben Hutchings
I'd like to stop the binary packages built from linux providing the
following virtual packages:

* linux-image

As explained in #724569, any relations on a virtual package prevent
auto-removal of all providing packages, so in this case linux-image-*
packages must be manually removed to avoid filling up /boot.  And it is
the job of the installer to make sure systems get a kernel installed;
there is no sense in random packages also recommending/suggesting it!

* linux-headers

Same problem with auto-removal.  The linux-headers-flavour
metapackages built by linux-latest also provide this virtual package,
and the recommends/suggests should really refer to these.

* linux-source

Same problem with auto-removal.  This is also the name of a real
metapackage built by linux-latest, which again is what the
recommends/suggests should really refer to.

* linux-kernel-headers

This used to be the name a real package, which was replaced between etch
and lenny by linux-libc-dev.  There is one remaining reverse-dependency
(libkxl0-dev, #724639) which would need to be fixed first.

Any objections?

Ben.

-- 
Ben Hutchings
Humans are not rational beings; they are rationalising beings.


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


Re: Removing some kernel-related virtual packages

2013-09-25 Thread Paul Wise
Do you also plan to get rid of these? They appear to be designed to
block auto-removal of installed linux-image-* and linux-header-*
packages.

/etc/kernel/postinst.d/apt-auto-removal
/etc/apt/apt.conf.d/01autoremove-kernels

-- 
bye,
pabs

http://wiki.debian.org/PaulWise


-- 
To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/caktje6gqcgeh+ywq_ja64xqhbv3p+76+qvcagtddnscsgn4...@mail.gmail.com



Bug#717805: Patch for dealing with newer initramfs images with microcode headers

2013-09-25 Thread Ben Hutchings
On Tue, 2013-09-24 at 16:11 +0100, Brett Parker wrote:
 Hi,
 
 Here's a patch to lsinitramfs to deal with initramfs images that start
 with the microcode archive and then a real archive afterwards.

Thanks, Brett.

 --- initramfs-tools/lsinitramfs 2012-03-25 05:12:23.0 +0100
 +++ initramfs-tools-0.109.1.new/lsinitramfs 2013-09-24 16:05:13.024780933 
 +0100
 @@ -53,8 +53,25 @@
 elif bzip2 -t $initramfs /dev/null 21 ; then
 bzip2 -c -d $initramfs | cpio ${cpio_args}
 elif lzop -t $initramfs /dev/null 21 ; then
 lzop -c -d $initramfs | cpio ${cpio_args}
 +   elif cpio ${cpio_args}  $initramfs /dev/null 21; then
 +   # this is a straight cpio archive followed by a 
 compressed one, yay!
 +   cpio ${cpio_args}  $initramfs
 +   real_offset=$(cpio --io-size=1 --extract --list  
 $initramfs 21 /dev/null | sed -e '$ { s# .*$##; p; }; d;')
 +   # now we need to find the beginning of the actual 
 archive, this is
 +   # going to be the number of bytes from above + 8

So add this magic value of 8 (what is that, anyway?) to real_offset so
you don't need to keep writing real_offset+8.

 +   # use same logic as above to loop through the 
 potentials

Can this maybe be factored into a subroutine, rather than repeating it
here?

 +   if (dd if=$initramfs bs=$((real_offset+8)) skip=1 
 status=noxfer 2/dev/null | zcat -t /dev/null 21); then
 +   dd if=$initramfs bs=$((real_offset+8)) 
 skip=1 status=noxfer 2/dev/null | zcat | cpio ${cpio_args}

Why redirect the stderr of dd when we do this for real?

 +   elif (dd if=$initramfs bs=$((real_offset+8)) skip=1 
 status=noxfer 2/dev/null | xzcat -t /dev/null 21); then
 +   dd if=$initramfs bs=$((real_offset+8)) 
 skip=1 status=noxfer 2/dev/null | xzcat | cpio ${cpio_args}
 +   fi
 +   elif (dd if=$initramfs bs=$((real_offset+8)) skip=1 
 status=noxfer 2/dev/null | bzip2 -t /dev/null 21); then
 +   dd if=$initramfs bs=$((real_offset+8)) 
 skip=1 status=noxfer 2/dev/null | bzip2 -c -d | cpio ${cpio_args}
 +   elif (dd if=$initramfs bs=$((real_offset+8)) skip=1 
 status=noxfer 2/dev/null | lzop -t /dev/null 21); then
 +   dd if=$initramfs bs=$((real_offset+8)) 
 skip=1 status=noxfer 2/dev/null | lzop -c -d | cpio ${cpio_args}

Surely these two cases need to be above above the 'fi'?

 fi
  
 fi
  done
 
 
-- 
Ben Hutchings
Humans are not rational beings; they are rationalising beings.


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


Re: Removing some kernel-related virtual packages

2013-09-25 Thread Ben Hutchings
On Thu, 2013-09-26 at 07:19 +0200, Paul Wise wrote:
 Do you also plan to get rid of these? They appear to be designed to
 block auto-removal of installed linux-image-* and linux-header-*
 packages.
 
 /etc/kernel/postinst.d/apt-auto-removal
 /etc/apt/apt.conf.d/01autoremove-kernels

APT *used* to block auto-removal of linux-image-*.  Now this hook script
ensures that this is only done for a limited number of packages.  So no,
I'm very happy with the new behaviour of APT.

Ben.

-- 
Ben Hutchings
Humans are not rational beings; they are rationalising beings.


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