Bug#680235: debirf: wheezy minimal image segfaults during boot
On 30/09/12 at 00:01 -0400, Micah Anderson wrote: Hi Lucas, * Lucas Nussbaum lu...@lucas-nussbaum.net [2012-09-30 03:43-0400]: On 08/09/12 at 23:03 -0400, Daniel Kahn Gillmor wrote: Control: tags 680235 + unreproducible moreinfo Hi Lucas-- On 07/04/2012 10:40 AM, Lucas Nussbaum wrote: I generate a wheezy 'minimal' image using debirf (running it as root, since running it as normal user fails). After generation, I try to boot it using: kvm -m 512 -kernel vmlinuz-3.2.0-2-amd64 -initrd debirf-minimal_wheezy_3.2.0-2-amd64.cgz During boot, I get: [0.419335] rtc_cmos 00:01: RTC can wake from S4 [0.419735] rtc_cmos 00:01: rtc core: registered rtc_cmos as rtc0 [0.420093] rtc0: alarms up to one day, 114 bytes nvram, hpet irqs [0.420392] cpuidle: using governor ladder [0.420629] cpuidle: using governor menu [0.420987] TCP cubic registered [0.421230] NET: Registered protocol family 10 [0.423396] Mobile IPv6 [0.423606] NET: Registered protocol family 17 [0.423868] Registering the dns_resolver key type [0.424263] registered taskstats version 1 [0.424643] rtc_cmos 00:01: setting system clock to 2012-07-04 14:30:03 UTC ( 1341412203) [0.425109] Initializing network drop monitor service [0.426024] Freeing unused kernel memory: 572k freed [0.426406] Write protecting the kernel read-only data: 6144k [0.428208] Freeing unused kernel memory: 672k freed [0.430214] Freeing unused kernel memory: 684k freed [0.432194] init[31]: segfault at 57d71c ip 0044104d sp 7fff83ab1 7f0 error 7 in sh[40+1b3000] Segmentation fault unpacking rootfs... [1.340047] Refined TSC clocksource calibration: 2793.734 MHz. i've been unable to reproduce this with existing versions, including 0.33 (just uploaded to unstable). Are you able to see this on other hardware? do you still have the image you created available? i'd be happy to take a look at it and try to dissect what's happening. Hi, I confirm that I can still reproduce this in wheezy using debirf 0.32. Using debirf 0.33 (only package that was updated when testing; same machine), it works fine both using the minimal.tgz example from debirf 0.32, and the one from debirf 0.33. I've uploaded the broken image to http://blop.info/pub/vmlinuz-3.2.0-3-amd64 http://blop.info/pub/debirf-minimal_wheezy_3.2.0-3-amd64.cgz To reproduce, boot with kvm -m 512 -kernel vmlinuz-3.2.0-3-amd64 -initrd debirf-minimal_wheezy_3.2.0-3-amd64.cgz I just downloaded your two files and did the kvm command that you provided and I did not get the segfault, rather it booted up to this: /proc/cmdline: No such file or directory Debian GNU/Linux wheezy/sid (none) tty1 (none) login: but otherwise, I do not get the segfault that you experience. The only difference here is that I was running in Squeeze. Unfortunately, I could not find a wheezy box with amd64 and kvm extensions. I'll ask around to see what I can find. If I remember correctly, it segfaults during boot, but then continues to boot and still displays the login prompt. However you cannot log in. Lucas -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#680235: debirf: wheezy minimal image segfaults during boot
On Sun, Sep 30, 2012 at 12:01:18AM -0400, Micah Anderson wrote: I just downloaded your two files and did the kvm command that you provided and I did not get the segfault, rather it booted up to this: /proc/cmdline: No such file or directory Debian GNU/Linux wheezy/sid (none) tty1 (none) login: but otherwise, I do not get the segfault that you experience. The only difference here is that I was running in Squeeze. Unfortunately, I could not find a wheezy box with amd64 and kvm extensions. I'll ask around to see what I can find. And that you did! I downloaded the given images, and started them up with KVM: kvm -m 512 -kernel vmlinuz-3.2.0-3-amd64 -initrd debirf-minimal_wheezy_3.2.0-3-amd64.cgz I am running: qemu-kvm1.1.2+dfsg-2 linux-image-3.2.0-3-amd 3.2.23-1 This is an up to date wheezy machine. I have rebuilt my own debirf image on wheezy too, just to make sure, so using debirf 0.32, i did: tar zxf /usr/share/doc/debirf/example-profiles/minimal.tgz debirf make minimal ... as a regular user. I arrive to similar results: I do not see a segfault, but then I can't login to the virtual machine either. Here's a complete log from the serial console, generated with: kvm -nographic -m 512 -kernel vmlinuz-3.2.0-3-amd64 -initrd debirf-minimal_wheezy_3.2.0-3-amd64.cgz -append console=ttyS0,115200n8 log A. -- Jesus died for his own sins, not mine. - CRASS, 1978 [0.00] Initializing cgroup subsys cpuset [0.00] Initializing cgroup subsys cpu [0.00] Linux version 3.2.0-3-amd64 (Debian 3.2.23-1) (debian-ker...@lists.debian.org) (gcc version 4.6.3 (Debian 4.6.3-8) ) #1 SMP Mon Jul 23 02:45:17 UTC 2012 [0.00] Command line: console=ttyS0,115200n8 [0.00] BIOS-provided physical RAM map: [0.00] BIOS-e820: - 0009f400 (usable) [0.00] BIOS-e820: 0009f400 - 000a (reserved) [0.00] BIOS-e820: 000f - 0010 (reserved) [0.00] BIOS-e820: 0010 - 1fffe000 (usable) [0.00] BIOS-e820: 1fffe000 - 2000 (reserved) [0.00] BIOS-e820: feffc000 - ff00 (reserved) [0.00] BIOS-e820: fffc - 0001 (reserved) [0.00] NX (Execute Disable) protection: active [0.00] DMI 2.4 present. [0.00] No AGP bridge found [0.00] last_pfn = 0x1fffe max_arch_pfn = 0x4 [0.00] PAT not supported by CPU. [0.00] found SMP MP-table at [880fdb00] fdb00 [0.00] init_memory_mapping: -1fffe000 [0.00] RAMDISK: 1b6c2000 - 1fff [0.00] ACPI: RSDP 000fd9a0 00014 (v00 BOCHS ) [0.00] ACPI: RSDT 1fffe5b0 00038 (v01 BOCHS BXPCRSDT 0001 BXPC 0001) [0.00] ACPI: FACP 1f80 00074 (v01 BOCHS BXPCFACP 0001 BXPC 0001) [0.00] ACPI: DSDT 1fffe5f0 01121 (v01 BXPC BXDSDT 0001 INTL 20100528) [0.00] ACPI: FACS 1f40 00040 [0.00] ACPI: SSDT 1ea0 0009E (v01 BOCHS BXPCSSDT 0001 BXPC 0001) [0.00] ACPI: APIC 1db0 00078 (v01 BOCHS BXPCAPIC 0001 BXPC 0001) [0.00] ACPI: HPET 1d70 00038 (v01 BOCHS BXPCHPET 0001 BXPC 0001) [0.00] ACPI: SSDT 1720 00644 (v01 BXPC BXSSDTPC 0001 INTL 20100528) [0.00] No NUMA configuration found [0.00] Faking a node at -1fffe000 [0.00] Initmem setup node 0 -1fffe000 [0.00] NODE_DATA [1fff6000 - 1fffafff] [0.00] kvm-clock: Using msrs 4b564d01 and 4b564d00 [0.00] kvm-clock: cpu 0, msr 0:16a86c1, boot clock [0.00] Zone PFN ranges: [0.00] DMA 0x0010 - 0x1000 [0.00] DMA320x1000 - 0x0010 [0.00] Normal empty [0.00] Movable zone start PFN for each node [0.00] early_node_map[2] active PFN ranges [0.00] 0: 0x0010 - 0x009f [0.00] 0: 0x0100 - 0x0001fffe [0.00] ACPI: PM-Timer IO Port: 0xb008 [0.00] ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled) [0.00] ACPI: LAPIC_NMI (acpi_id[0xff] dfl dfl lint[0x1]) [0.00] ACPI: IOAPIC (id[0x01] address[0xfec0] gsi_base[0]) [0.00] IOAPIC[0]: apic_id 1, version 17, address 0xfec0, GSI 0-23 [0.00] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl) [0.00] ACPI: INT_SRC_OVR (bus 0 bus_irq 5 global_irq 5 high level) [0.00] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level) [0.00] ACPI: INT_SRC_OVR (bus 0 bus_irq 10 global_irq 10 high level) [0.00] ACPI: INT_SRC_OVR (bus 0 bus_irq 11 global_irq 11 high level) [0.00] Using ACPI (MADT) for SMP configuration
Bug#680235: debirf: wheezy minimal image segfaults during boot
fixed 680235 0.33 tag 680235 - moreinfo tag 680235 - unreproducible tag 680235 + wheezy thanks Further information: the images built on wheezy with 0.33 work without a flaw. No segfault, and init starts properly, and gives a functional login prompt. I recommend a freeze exception be requested for 0.33. A. -- Semantics is the gravity of abstraction. pgpNeIUQCV3ZF.pgp Description: PGP signature
Bug#680235: debirf: wheezy minimal image segfaults during boot
Hi Lucas, * Lucas Nussbaum lu...@lucas-nussbaum.net [2012-09-30 03:43-0400]: On 08/09/12 at 23:03 -0400, Daniel Kahn Gillmor wrote: Control: tags 680235 + unreproducible moreinfo Hi Lucas-- On 07/04/2012 10:40 AM, Lucas Nussbaum wrote: I generate a wheezy 'minimal' image using debirf (running it as root, since running it as normal user fails). After generation, I try to boot it using: kvm -m 512 -kernel vmlinuz-3.2.0-2-amd64 -initrd debirf-minimal_wheezy_3.2.0-2-amd64.cgz During boot, I get: [0.419335] rtc_cmos 00:01: RTC can wake from S4 [0.419735] rtc_cmos 00:01: rtc core: registered rtc_cmos as rtc0 [0.420093] rtc0: alarms up to one day, 114 bytes nvram, hpet irqs [0.420392] cpuidle: using governor ladder [0.420629] cpuidle: using governor menu [0.420987] TCP cubic registered [0.421230] NET: Registered protocol family 10 [0.423396] Mobile IPv6 [0.423606] NET: Registered protocol family 17 [0.423868] Registering the dns_resolver key type [0.424263] registered taskstats version 1 [0.424643] rtc_cmos 00:01: setting system clock to 2012-07-04 14:30:03 UTC ( 1341412203) [0.425109] Initializing network drop monitor service [0.426024] Freeing unused kernel memory: 572k freed [0.426406] Write protecting the kernel read-only data: 6144k [0.428208] Freeing unused kernel memory: 672k freed [0.430214] Freeing unused kernel memory: 684k freed [0.432194] init[31]: segfault at 57d71c ip 0044104d sp 7fff83ab1 7f0 error 7 in sh[40+1b3000] Segmentation fault unpacking rootfs... [1.340047] Refined TSC clocksource calibration: 2793.734 MHz. i've been unable to reproduce this with existing versions, including 0.33 (just uploaded to unstable). Are you able to see this on other hardware? do you still have the image you created available? i'd be happy to take a look at it and try to dissect what's happening. Hi, I confirm that I can still reproduce this in wheezy using debirf 0.32. Using debirf 0.33 (only package that was updated when testing; same machine), it works fine both using the minimal.tgz example from debirf 0.32, and the one from debirf 0.33. I've uploaded the broken image to http://blop.info/pub/vmlinuz-3.2.0-3-amd64 http://blop.info/pub/debirf-minimal_wheezy_3.2.0-3-amd64.cgz To reproduce, boot with kvm -m 512 -kernel vmlinuz-3.2.0-3-amd64 -initrd debirf-minimal_wheezy_3.2.0-3-amd64.cgz I just downloaded your two files and did the kvm command that you provided and I did not get the segfault, rather it booted up to this: /proc/cmdline: No such file or directory Debian GNU/Linux wheezy/sid (none) tty1 (none) login: but otherwise, I do not get the segfault that you experience. The only difference here is that I was running in Squeeze. Unfortunately, I could not find a wheezy box with amd64 and kvm extensions. I'll ask around to see what I can find. micah signature.asc Description: Digital signature
Bug#680235: debirf: wheezy minimal image segfaults during boot
On 08/09/12 at 23:03 -0400, Daniel Kahn Gillmor wrote: Control: tags 680235 + unreproducible moreinfo Hi Lucas-- On 07/04/2012 10:40 AM, Lucas Nussbaum wrote: I generate a wheezy 'minimal' image using debirf (running it as root, since running it as normal user fails). After generation, I try to boot it using: kvm -m 512 -kernel vmlinuz-3.2.0-2-amd64 -initrd debirf-minimal_wheezy_3.2.0-2-amd64.cgz During boot, I get: [0.419335] rtc_cmos 00:01: RTC can wake from S4 [0.419735] rtc_cmos 00:01: rtc core: registered rtc_cmos as rtc0 [0.420093] rtc0: alarms up to one day, 114 bytes nvram, hpet irqs [0.420392] cpuidle: using governor ladder [0.420629] cpuidle: using governor menu [0.420987] TCP cubic registered [0.421230] NET: Registered protocol family 10 [0.423396] Mobile IPv6 [0.423606] NET: Registered protocol family 17 [0.423868] Registering the dns_resolver key type [0.424263] registered taskstats version 1 [0.424643] rtc_cmos 00:01: setting system clock to 2012-07-04 14:30:03 UTC ( 1341412203) [0.425109] Initializing network drop monitor service [0.426024] Freeing unused kernel memory: 572k freed [0.426406] Write protecting the kernel read-only data: 6144k [0.428208] Freeing unused kernel memory: 672k freed [0.430214] Freeing unused kernel memory: 684k freed [0.432194] init[31]: segfault at 57d71c ip 0044104d sp 7fff83ab1 7f0 error 7 in sh[40+1b3000] Segmentation fault unpacking rootfs... [1.340047] Refined TSC clocksource calibration: 2793.734 MHz. i've been unable to reproduce this with existing versions, including 0.33 (just uploaded to unstable). Are you able to see this on other hardware? do you still have the image you created available? i'd be happy to take a look at it and try to dissect what's happening. Hi, I confirm that I can still reproduce this in wheezy using debirf 0.32. Using debirf 0.33 (only package that was updated when testing; same machine), it works fine both using the minimal.tgz example from debirf 0.32, and the one from debirf 0.33. I've uploaded the broken image to http://blop.info/pub/vmlinuz-3.2.0-3-amd64 http://blop.info/pub/debirf-minimal_wheezy_3.2.0-3-amd64.cgz To reproduce, boot with kvm -m 512 -kernel vmlinuz-3.2.0-3-amd64 -initrd debirf-minimal_wheezy_3.2.0-3-amd64.cgz Lucas -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#680235: debirf: wheezy minimal image segfaults during boot
Control: tags 680235 + unreproducible moreinfo Hi Lucas-- On 07/04/2012 10:40 AM, Lucas Nussbaum wrote: I generate a wheezy 'minimal' image using debirf (running it as root, since running it as normal user fails). After generation, I try to boot it using: kvm -m 512 -kernel vmlinuz-3.2.0-2-amd64 -initrd debirf-minimal_wheezy_3.2.0-2-amd64.cgz During boot, I get: [0.419335] rtc_cmos 00:01: RTC can wake from S4 [0.419735] rtc_cmos 00:01: rtc core: registered rtc_cmos as rtc0 [0.420093] rtc0: alarms up to one day, 114 bytes nvram, hpet irqs [0.420392] cpuidle: using governor ladder [0.420629] cpuidle: using governor menu [0.420987] TCP cubic registered [0.421230] NET: Registered protocol family 10 [0.423396] Mobile IPv6 [0.423606] NET: Registered protocol family 17 [0.423868] Registering the dns_resolver key type [0.424263] registered taskstats version 1 [0.424643] rtc_cmos 00:01: setting system clock to 2012-07-04 14:30:03 UTC ( 1341412203) [0.425109] Initializing network drop monitor service [0.426024] Freeing unused kernel memory: 572k freed [0.426406] Write protecting the kernel read-only data: 6144k [0.428208] Freeing unused kernel memory: 672k freed [0.430214] Freeing unused kernel memory: 684k freed [0.432194] init[31]: segfault at 57d71c ip 0044104d sp 7fff83ab1 7f0 error 7 in sh[40+1b3000] Segmentation fault unpacking rootfs... [1.340047] Refined TSC clocksource calibration: 2793.734 MHz. i've been unable to reproduce this with existing versions, including 0.33 (just uploaded to unstable). Are you able to see this on other hardware? do you still have the image you created available? i'd be happy to take a look at it and try to dissect what's happening. --dkg signature.asc Description: OpenPGP digital signature
Bug#680235: debirf: wheezy minimal image segfaults during boot
On 04/07/12 at 16:40 +0200, Lucas Nussbaum wrote: Package: debirf Version: 0.32 Severity: grave Justification: renders package unusable Hi, I generate a wheezy 'minimal' image using debirf (running it as root, since running it as normal user fails). After generation, I try to boot it using: kvm -m 512 -kernel vmlinuz-3.2.0-2-amd64 -initrd debirf-minimal_wheezy_3.2.0-2-amd64.cgz During boot, I get: [0.419335] rtc_cmos 00:01: RTC can wake from S4 [0.419735] rtc_cmos 00:01: rtc core: registered rtc_cmos as rtc0 [0.420093] rtc0: alarms up to one day, 114 bytes nvram, hpet irqs [0.420392] cpuidle: using governor ladder [0.420629] cpuidle: using governor menu [0.420987] TCP cubic registered [0.421230] NET: Registered protocol family 10 [0.423396] Mobile IPv6 [0.423606] NET: Registered protocol family 17 [0.423868] Registering the dns_resolver key type [0.424263] registered taskstats version 1 [0.424643] rtc_cmos 00:01: setting system clock to 2012-07-04 14:30:03 UTC ( 1341412203) [0.425109] Initializing network drop monitor service [0.426024] Freeing unused kernel memory: 572k freed [0.426406] Write protecting the kernel read-only data: 6144k [0.428208] Freeing unused kernel memory: 672k freed [0.430214] Freeing unused kernel memory: 684k freed [0.432194] init[31]: segfault at 57d71c ip 0044104d sp 7fff83ab1 7f0 error 7 in sh[40+1b3000] Segmentation fault unpacking rootfs... [1.340047] Refined TSC clocksource calibration: 2793.734 MHz. After more investigation, it seems to be caused by the use of fakeroot to allow non-root builds. When building the image with debirf make -r minimal ^^^ it works fine. Lucas -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#680235: debirf: wheezy minimal image segfaults during boot
Package: debirf Version: 0.32 Severity: grave Justification: renders package unusable Hi, I generate a wheezy 'minimal' image using debirf (running it as root, since running it as normal user fails). After generation, I try to boot it using: kvm -m 512 -kernel vmlinuz-3.2.0-2-amd64 -initrd debirf-minimal_wheezy_3.2.0-2-amd64.cgz During boot, I get: [0.419335] rtc_cmos 00:01: RTC can wake from S4 [0.419735] rtc_cmos 00:01: rtc core: registered rtc_cmos as rtc0 [0.420093] rtc0: alarms up to one day, 114 bytes nvram, hpet irqs [0.420392] cpuidle: using governor ladder [0.420629] cpuidle: using governor menu [0.420987] TCP cubic registered [0.421230] NET: Registered protocol family 10 [0.423396] Mobile IPv6 [0.423606] NET: Registered protocol family 17 [0.423868] Registering the dns_resolver key type [0.424263] registered taskstats version 1 [0.424643] rtc_cmos 00:01: setting system clock to 2012-07-04 14:30:03 UTC ( 1341412203) [0.425109] Initializing network drop monitor service [0.426024] Freeing unused kernel memory: 572k freed [0.426406] Write protecting the kernel read-only data: 6144k [0.428208] Freeing unused kernel memory: 672k freed [0.430214] Freeing unused kernel memory: 684k freed [0.432194] init[31]: segfault at 57d71c ip 0044104d sp 7fff83ab1 7f0 error 7 in sh[40+1b3000] Segmentation fault unpacking rootfs... [1.340047] Refined TSC clocksource calibration: 2793.734 MHz. Lucas -- System Information: Debian Release: wheezy/sid APT prefers testing APT policy: (990, 'testing'), (800, 'stable'), (300, 'unstable'), (150, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 3.2.0-1-amd64 (SMP w/4 CPU cores) Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages debirf depends on: ii apt 0.9.6 ii cpio 2.11-8 ii debootstrap 1.0.41 ii fakechroot 2.16-1 ii fakeroot 1.18.4-2 ii klibc-utils 2.0-2 Versions of packages debirf recommends: ii grub-common 1.99-22.1 ii lsb-release 4.1+Debian7 ii syslinux-common 2:4.05+dfsg-5 ii xorriso 1.2.2-1 debirf suggests no packages. -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org