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-kvm                1.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.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] 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.000000] Command line: console=ttyS0,115200n8
[    0.000000] BIOS-provided physical RAM map:
[    0.000000]  BIOS-e820: 0000000000000000 - 000000000009f400 (usable)
[    0.000000]  BIOS-e820: 000000000009f400 - 00000000000a0000 (reserved)
[    0.000000]  BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
[    0.000000]  BIOS-e820: 0000000000100000 - 000000001fffe000 (usable)
[    0.000000]  BIOS-e820: 000000001fffe000 - 0000000020000000 (reserved)
[    0.000000]  BIOS-e820: 00000000feffc000 - 00000000ff000000 (reserved)
[    0.000000]  BIOS-e820: 00000000fffc0000 - 0000000100000000 (reserved)
[    0.000000] NX (Execute Disable) protection: active
[    0.000000] DMI 2.4 present.
[    0.000000] No AGP bridge found
[    0.000000] last_pfn = 0x1fffe max_arch_pfn = 0x400000000
[    0.000000] PAT not supported by CPU.
[    0.000000] found SMP MP-table at [ffff8800000fdb00] fdb00
[    0.000000] init_memory_mapping: 0000000000000000-000000001fffe000
[    0.000000] RAMDISK: 1b6c2000 - 1fff0000
[    0.000000] ACPI: RSDP 00000000000fd9a0 00014 (v00 BOCHS )
[    0.000000] ACPI: RSDT 000000001fffe5b0 00038 (v01 BOCHS  BXPCRSDT 00000001 
BXPC 00000001)
[    0.000000] ACPI: FACP 000000001fffff80 00074 (v01 BOCHS  BXPCFACP 00000001 
BXPC 00000001)
[    0.000000] ACPI: DSDT 000000001fffe5f0 01121 (v01   BXPC   BXDSDT 00000001 
INTL 20100528)
[    0.000000] ACPI: FACS 000000001fffff40 00040
[    0.000000] ACPI: SSDT 000000001ffffea0 0009E (v01 BOCHS  BXPCSSDT 00000001 
BXPC 00000001)
[    0.000000] ACPI: APIC 000000001ffffdb0 00078 (v01 BOCHS  BXPCAPIC 00000001 
BXPC 00000001)
[    0.000000] ACPI: HPET 000000001ffffd70 00038 (v01 BOCHS  BXPCHPET 00000001 
BXPC 00000001)
[    0.000000] ACPI: SSDT 000000001ffff720 00644 (v01   BXPC BXSSDTPC 00000001 
INTL 20100528)
[    0.000000] No NUMA configuration found
[    0.000000] Faking a node at 0000000000000000-000000001fffe000
[    0.000000] Initmem setup node 0 0000000000000000-000000001fffe000
[    0.000000]   NODE_DATA [000000001fff6000 - 000000001fffafff]
[    0.000000] kvm-clock: Using msrs 4b564d01 and 4b564d00
[    0.000000] kvm-clock: cpu 0, msr 0:16a86c1, boot clock
[    0.000000] Zone PFN ranges:
[    0.000000]   DMA      0x00000010 -> 0x00001000
[    0.000000]   DMA32    0x00001000 -> 0x00100000
[    0.000000]   Normal   empty
[    0.000000] Movable zone start PFN for each node
[    0.000000] early_node_map[2] active PFN ranges
[    0.000000]     0: 0x00000010 -> 0x0000009f
[    0.000000]     0: 0x00000100 -> 0x0001fffe
[    0.000000] ACPI: PM-Timer IO Port: 0xb008
[    0.000000] ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
[    0.000000] ACPI: LAPIC_NMI (acpi_id[0xff] dfl dfl lint[0x1])
[    0.000000] ACPI: IOAPIC (id[0x01] address[0xfec00000] gsi_base[0])
[    0.000000] IOAPIC[0]: apic_id 1, version 17, address 0xfec00000, GSI 0-23
[    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
[    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 5 global_irq 5 high level)
[    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
[    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 10 global_irq 10 high level)
[    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 11 global_irq 11 high level)
[    0.000000] Using ACPI (MADT) for SMP configuration information
[    0.000000] ACPI: HPET id: 0x8086a201 base: 0xfed00000
[    0.000000] SMP: Allowing 1 CPUs, 0 hotplug CPUs
[    0.000000] PM: Registered nosave memory: 000000000009f000 - 00000000000a0000
[    0.000000] PM: Registered nosave memory: 00000000000a0000 - 00000000000f0000
[    0.000000] PM: Registered nosave memory: 00000000000f0000 - 0000000000100000
[    0.000000] Allocating PCI resources starting at 20000000 (gap: 
20000000:deffc000)
[    0.000000] Booting paravirtualized kernel on KVM
[    0.000000] setup_percpu: NR_CPUS:512 nr_cpumask_bits:512 nr_cpu_ids:1 
nr_node_ids:1
[    0.000000] PERCPU: Embedded 28 pages/cpu @ffff88001b400000 s82816 r8192 
d23680 u2097152
[    0.000000] kvm-clock: cpu 0, msr 0:1b4136c1, primary cpu clock
[    0.000000] KVM setup async PF for cpu 0
[    0.000000] kvm-stealtime: cpu 0, msr 1b40dfc0
[    0.000000] Built 1 zonelists in Node order, mobility grouping on.  Total 
pages: 129160
[    0.000000] Policy zone: DMA32
[    0.000000] Kernel command line: console=ttyS0,115200n8
[    0.000000] PID hash table entries: 2048 (order: 2, 16384 bytes)
[    0.000000] Checking aperture...
[    0.000000] No AGP bridge found
[    0.000000] Memory: 432096k/524280k available (3409k kernel code, 452k 
absent, 91732k reserved, 3324k data, 572k init)
[    0.000000] Hierarchical RCU implementation.
[    0.000000]  RCU dyntick-idle grace-period acceleration is enabled.
[    0.000000] NR_IRQS:33024 nr_irqs:256 16
[    0.000000] Console: colour VGA+ 80x25
[    0.000000] console [ttyS0] enabled
[    0.000000] Detected 2933.332 MHz processor.
[    0.008000] Calibrating delay loop (skipped) preset value.. 5866.66 BogoMIPS 
(lpj=11733328)
[    0.008000] pid_max: default: 32768 minimum: 301
[    0.008062] Security Framework initialized
[    0.009247] AppArmor: AppArmor disabled by boot time parameter
[    0.012061] Dentry cache hash table entries: 65536 (order: 7, 524288 bytes)
[    0.014632] Inode-cache hash table entries: 32768 (order: 6, 262144 bytes)
[    0.016161] Mount-cache hash table entries: 256
[    0.017694] Initializing cgroup subsys cpuacct
[    0.018978] Initializing cgroup subsys memory
[    0.020033] Initializing cgroup subsys devices
[    0.021414] Initializing cgroup subsys freezer
[    0.022718] Initializing cgroup subsys net_cls
[    0.024013] Initializing cgroup subsys blkio
[    0.025274] Initializing cgroup subsys perf_event
[    0.028117] mce: CPU supports 10 MCE banks
[    0.029472] SMP alternatives: switching to UP code
[    0.060496] Freeing SMP alternatives: 8k freed
[    0.061852] ACPI: Core revision 20110623
[    0.065352] ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1
[    0.067062] CPU0: Intel QEMU Virtual CPU version 1.1.2 stepping 03
[    0.072003] Performance Events: unsupported p6 CPU model 2 no PMU driver, 
software events only.
[    0.072003] NMI watchdog disabled (cpu0): hardware events not enabled
[    0.072027] Brought up 1 CPUs
[    0.072886] Total of 1 processors activated (5866.66 BogoMIPS).
[    0.075066] devtmpfs: initialized
[    0.078414] print_constraints: dummy: 
[    0.080114] NET: Registered protocol family 16
[    0.081482] ACPI: bus type pci registered
[    0.082766] PCI: Using configuration type 1 for base access
[    0.084566] bio: create slab <bio-0> at 0
[    0.085823] ACPI: Added _OSI(Module Device)
[    0.088011] ACPI: Added _OSI(Processor Device)
[    0.089291] ACPI: Added _OSI(3.0 _SCP Extensions)
[    0.090652] ACPI: Added _OSI(Processor Aggregator Device)
[    0.093973] ACPI: Interpreter enabled
[    0.095061] ACPI: (supports S0 S3 S4 S5)
[    0.096381] ACPI: Using IOAPIC for interrupt routing
[    0.101137] ACPI: No dock devices found.
[    0.102254] HEST: Table not found.
[    0.103248] PCI: Ignoring host bridge windows from ACPI; if necessary, use 
"pci=use_crs" and report a bug
[    0.104036] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-ff])
[    0.111580] pci 0000:00:01.3: quirk: [io  0xb000-0xb03f] claimed by PIIX4 
ACPI
[    0.112021] pci 0000:00:01.3: quirk: [io  0xb100-0xb10f] claimed by PIIX4 SMB
[    0.128985]  pci0000:00: Unable to request _OSC control (_OSC support mask: 
0x1e)
[    0.133375] ACPI: PCI Interrupt Link [LNKA] (IRQs 5 *10 11)
[    0.135198] ACPI: PCI Interrupt Link [LNKB] (IRQs 5 *10 11)
[    0.136483] ACPI: PCI Interrupt Link [LNKC] (IRQs 5 10 *11)
[    0.138262] ACPI: PCI Interrupt Link [LNKD] (IRQs 5 10 *11)
[    0.140467] ACPI: PCI Interrupt Link [LNKS] (IRQs 9) *0
[    0.142319] vgaarb: device added: 
PCI:0000:00:02.0,decodes=io+mem,owns=io+mem,locks=none
[    0.144014] vgaarb: loaded
[    0.144806] vgaarb: bridge control possible 0000:00:02.0
[    0.146414] PCI: Using ACPI for IRQ routing
[    0.148412] HPET: 3 timers in total, 0 timers will be used for per-cpu timer
[    0.150444] hpet0: at MMIO 0xfed00000, IRQs 2, 8, 0
[    0.152178] hpet0: 3 comparators, 64-bit 100.000000 MHz counter
[    0.160223] Switching to clocksource kvm-clock
[    0.163217] pnp: PnP ACPI init
[    0.164117] ACPI: bus type pnp registered
[    0.166273] pnp: PnP ACPI: found 8 devices
[    0.167552] ACPI: ACPI bus type pnp unregistered
[    0.176126] NET: Registered protocol family 2
[    0.177458] IP route cache hash table entries: 4096 (order: 3, 32768 bytes)
[    0.179697] TCP established hash table entries: 16384 (order: 6, 262144 
bytes)
[    0.181924] TCP bind hash table entries: 16384 (order: 6, 262144 bytes)
[    0.183905] TCP: Hash tables configured (established 16384 bind 16384)
[    0.185793] TCP reno registered
[    0.186703] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.188399] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.190321] NET: Registered protocol family 1
[    0.191567] pci 0000:00:00.0: Limiting direct PCI/PCI transfers
[    0.193331] pci 0000:00:01.0: PIIX3: Enabling Passive Release
[    0.195005] pci 0000:00:01.0: Activating ISA DMA hang workarounds
[    0.196935] Unpacking initramfs...
[    0.576433] Freeing initrd memory: 74936k freed
[    0.651240] audit: initializing netlink socket (disabled)
[    0.652727] type=2000 audit(1349023875.652:1): initialized
[    0.672610] HugeTLB registered 2 MB page size, pre-allocated 0 pages
[    0.674739] VFS: Disk quotas dquot_6.5.2
[    0.675914] Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    0.677890] msgmni has been set to 990
[    0.679245] alg: No test for stdrng (krng)
[    0.680456] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 
253)
[    0.682588] io scheduler noop registered
[    0.683720] io scheduler deadline registered
[    0.685001] io scheduler cfq registered (default)
[    0.686444] pci_hotplug: PCI Hot Plug PCI Core version: 0.5
[    0.688062] pciehp: PCI Express Hot Plug Controller Driver version: 0.4
[    0.689941] acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.5
[    0.691865] acpiphp: Slot [3] registered
[    0.693018] acpiphp: Slot [4] registered
[    0.694183] acpiphp: Slot [5] registered
[    0.695344] acpiphp: Slot [6] registered
[    0.696509] acpiphp: Slot [7] registered
[    0.697678] acpiphp: Slot [8] registered
[    0.698830] acpiphp: Slot [9] registered
[    0.699979] acpiphp: Slot [10] registered
[    0.701191] acpiphp: Slot [11] registered
[    0.702369] acpiphp: Slot [12] registered
[    0.703532] acpiphp: Slot [13] registered
[    0.704740] acpiphp: Slot [14] registered
[    0.705896] acpiphp: Slot [15] registered
[    0.707069] acpiphp: Slot [16] registered
[    0.708257] acpiphp: Slot [17] registered
[    0.709415] acpiphp: Slot [18] registered
[    0.710591] acpiphp: Slot [19] registered
[    0.711771] acpiphp: Slot [20] registered
[    0.712964] acpiphp: Slot [21] registered
[    0.714168] acpiphp: Slot [22] registered
[    0.715342] acpiphp: Slot [23] registered
[    0.716540] acpiphp: Slot [24] registered
[    0.717721] acpiphp: Slot [25] registered
[    0.718901] acpiphp: Slot [26] registered
[    0.720094] acpiphp: Slot [27] registered
[    0.721274] acpiphp: Slot [28] registered
[    0.722451] acpiphp: Slot [29] registered
[    0.723619] acpiphp: Slot [30] registered
[    0.724816] acpiphp: Slot [31] registered
[    0.726136] ERST: Table is not found!
[    0.727168] GHES: HEST is not enabled!
[    0.728367] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[    0.751936] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[    0.775802] 00:06: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[    0.777621] Linux agpgart interface v0.103
[    0.778882] i8042: PNP: PS/2 Controller [PNP0303:KBD,PNP0f13:MOU] at 
0x60,0x64 irq 1,12
[    0.781948] serio: i8042 KBD port at 0x60,0x64 irq 1
[    0.783375] serio: i8042 AUX port at 0x60,0x64 irq 12
[    0.784985] mousedev: PS/2 mouse device common for all mice
[    0.786867] input: AT Translated Set 2 keyboard as 
/devices/platform/i8042/serio0/input/input0
[    0.789555] rtc_cmos 00:01: RTC can wake from S4
[    0.791098] rtc_cmos 00:01: rtc core: registered rtc_cmos as rtc0
[    0.792987] rtc0: alarms up to one day, 114 bytes nvram, hpet irqs
[    0.794760] cpuidle: using governor ladder
[    0.795940] cpuidle: using governor menu
[    0.797271] TCP cubic registered
[    0.798203] NET: Registered protocol family 10
[    0.799980] Mobile IPv6
[    0.800698] NET: Registered protocol family 17
[    0.801990] Registering the dns_resolver key type
[    0.803512] registered taskstats version 1
[    0.804921] rtc_cmos 00:01: setting system clock to 2012-09-30 16:51:14 UTC 
(1349023874)
[    0.807250] Initializing network drop monitor service
[    0.810177] Freeing unused kernel memory: 572k freed
[    0.811764] Write protecting the kernel read-only data: 6144k
[    0.816009] Freeing unused kernel memory: 668k freed
[    0.819910] Freeing unused kernel memory: 684k freed
unpacking rootfs...
[    1.648179] Refined TSC clocksource calibration: 2933.301 MHz.
407295 blocks
running /sbin/init...

INIT: version 2.88 booting


INIT: Entering runlevel: 2

cat: /proc/cmdline: No such file or directory

Debian GNU/Linux wheezy/sid (none) ttyS0

(none) login: 

Attachment: signature.asc
Description: Digital signature

Reply via email to