[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#588509: linux-image-2.6.32-5-amd64: hangs under Xen after Write protecting the kernel read-only data: 4220k



package linux-image-2.6.32-5-amd64
tags 588509 patch
thanks

The trouble I had in message #47 was caused by accidental
mem=nopentium option that got enabled when I installed my modified
package. When I remove that I can boot:

[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Linux version 2.6.32-5-amd64 (Debian 2.6.32-17+lindi1) (lindi@kurp.hut.fi) (gcc version 4.3.5 (Debian 4.3.5-1) ) #1 SMP Fri Jul 16 18:55:57 EEST 2010
[    0.000000] Command line: root=/dev/xvda ro console=hvc0
[    0.000000] KERNEL supported cpus:
[    0.000000]	 Intel GenuineIntel
[    0.000000]	 AMD AuthenticAMD
[    0.000000]	 Centaur CentaurHauls
[    0.000000] ACPI in unprivileged domain disabled
[    0.000000] BIOS-provided physical RAM map:
[    0.000000]	Xen: 0000000000000000 - 00000000000a0000 (usable)
[    0.000000]	Xen: 00000000000a0000 - 0000000000100000 (reserved)
[    0.000000]	Xen: 0000000000100000 - 0000000040000000 (usable)
[    0.000000] DMI not present or invalid.
[    0.000000] last_pfn = 0x40000 max_arch_pfn = 0x400000000
[    0.000000] init_memory_mapping: 0000000000000000-0000000040000000
[    0.000000] RAMDISK: 016a3000 - 02fb5000
[    0.000000] No NUMA configuration found
[    0.000000] Faking a node at 0000000000000000-0000000040000000
[    0.000000] Bootmem setup node 0 0000000000000000-0000000040000000
[    0.000000]	 NODE_DATA [0000000000008000 - 000000000000ffff]
[    0.000000]	 bootmap [0000000000010000 -  0000000000017fff] pages 8
[    0.000000] (7 early reservations) ==> bootmem [0000000000 - 0040000000]
[    0.000000]	 #0 [0000000000 - 0000001000]	BIOS data page ==> [0000000000 - 0000001000]
[    0.000000]	 #1 [00031b8000 - 00031d5000]	XEN PAGETABLES ==> [00031b8000 - 00031d5000]
[    0.000000]	 #2 [0000006000 - 0000008000]	    TRAMPOLINE ==> [0000006000 - 0000008000]
[    0.000000]	 #3 [0001000000 - 0001682794]	 TEXT DATA BSS ==> [0001000000 - 0001682794]
[    0.000000]	 #4 [00016a3000 - 0002fb5000]	       RAMDISK ==> [00016a3000 - 0002fb5000]
[    0.000000]	 #5 [0002fb5000 - 00031b8000]	XEN START INFO ==> [0002fb5000 - 00031b8000]
[    0.000000]	 #6 [0000100000 - 00002e2000]	       PGTABLE ==> [0000100000 - 00002e2000]
[    0.000000] Zone PFN ranges:
[    0.000000]	 DMA	  0x00000000 -> 0x00001000
[    0.000000]	 DMA32	  0x00001000 -> 0x00100000
[    0.000000]	 Normal   0x00100000 -> 0x00100000
[    0.000000] Movable zone start PFN for each node
[    0.000000] early_node_map[2] active PFN ranges
[    0.000000]	   0: 0x00000000 -> 0x000000a0
[    0.000000]	   0: 0x00000100 -> 0x00040000
[    0.000000] SFI: Simple Firmware Interface v0.7 http://simplefirmware.org
[    0.000000] SMP: Allowing 1 CPUs, 0 hotplug CPUs
[    0.000000] No local APIC present
[    0.000000] APIC: disable apic facility
[    0.000000] PM: Registered nosave memory: 00000000000a0000 - 0000000000100000
[    0.000000] Allocating PCI resources starting at 40000000 (gap: 40000000:c0000000)
[    0.000000] Booting paravirtualized kernel on Xen
[    0.000000] Xen version: 3.4.1_19718_04-2.1 (preserve-AD)
[    0.000000] NR_CPUS:512 nr_cpumask_bits:512 nr_cpu_ids:1 nr_node_ids:1
[    0.000000] PERCPU: Embedded 30 pages/cpu @ffff88000320b000 s90328 r8192 d24360 u122880
[    0.000000] pcpu-alloc: s90328 r8192 d24360 u122880 alloc=30*4096
[    0.000000] pcpu-alloc: [0] 0
[    0.000000] Xen: using vcpu_info placement
[    0.000000] Built 1 zonelists in Node order, mobility grouping on.  Total pages: 257979
[    0.000000] Policy zone: DMA32
[    0.000000] Kernel command line: root=/dev/xvda ro console=hvc0
[    0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes)
[    0.000000] Initializing CPU#0
[    0.000000] Checking aperture...
[    0.000000] No AGP bridge found
[    0.000000] Memory: 996936k/1048576k available (3067k kernel code, 384k absent, 51256k reserved, 1879k data, 588k init)
[    0.000000] SLUB: Genslabs=14, HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000] NR_IRQS:4352 nr_irqs:256
[    0.000000] Console: colour dummy device 80x25
[    0.000000] console [tty0] enabled
[    0.000000] console [hvc0] enabled
[    0.000000] installing Xen timer for CPU 0
[    0.000000] Detected 2393.998 MHz processor.
[    0.004000] Calibrating delay loop (skipped), value calculated using timer frequency.. 4787.99 BogoMIPS (lpj=9575992)
[    0.004000] Security Framework initialized
[    0.004000] SELinux:  Disabled at boot.
[    0.004000] Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes)
[    0.004000] Inode-cache hash table entries: 65536 (order: 7, 524288 bytes)
[    0.004000] Mount-cache hash table entries: 256
[    0.004000] Initializing cgroup subsys ns
[    0.004000] Initializing cgroup subsys cpuacct
[    0.004000] Initializing cgroup subsys devices
[    0.004000] Initializing cgroup subsys freezer
[    0.004000] Initializing cgroup subsys net_cls
[    0.004000] CPU: L1 I cache: 32K, L1 D cache: 32K
[    0.004000] CPU: L2 cache: 4096K
[    0.004000] CPU 0/0x3 -> Node 0
[    0.004000] CPU: Unsupported number of siblings 4
[    0.004000] Performance Events: unsupported p6 CPU model 15 no PMU driver, software events only.
[    0.004000] SMP alternatives: switching to UP code
[    0.004000] Freeing SMP alternatives: 28k freed
[    0.004181] Brought up 1 CPUs
[    0.004304] devtmpfs: initialized
[    0.007061] Grant table initialized
[    0.007066] regulator: core version 0.5
[    0.007120] NET: Registered protocol family 16
[    0.007244] PCI: Fatal: No config space access function found
[    0.008390] bio: create slab <bio-0> at 0
[    0.008462] ACPI: Interpreter disabled.
[    0.008487] xen_balloon: Initialising balloon driver.
[    0.008487] vgaarb: loaded
[    0.008487] PCI: System does not support PCI
[    0.008487] PCI: System does not support PCI
[    0.008487] Switching to clocksource xen
[    0.009590] pnp: PnP ACPI: disabled
[    0.009805] NET: Registered protocol family 2
[    0.009937] IP route cache hash table entries: 32768 (order: 6, 262144 bytes)
[    0.010591] TCP established hash table entries: 131072 (order: 9, 2097152 bytes)
[    0.011346] TCP bind hash table entries: 65536 (order: 8, 1048576 bytes)
[    0.011643] TCP: Hash tables configured (established 131072 bind 65536)
[    0.011650] TCP reno registered
[    0.011799] NET: Registered protocol family 1
[    0.011866] Unpacking initramfs...
[    0.039069] Freeing initrd memory: 25672k freed
[    0.049563] platform rtc_cmos: registered platform RTC device (no PNP device found)
[    0.049801] audit: initializing netlink socket (disabled)
[    0.049818] type=2000 audit(1279303811.069:1): initialized
[    0.052432] HugeTLB registered 2 MB page size, pre-allocated 0 pages
[    0.053762] VFS: Disk quotas dquot_6.5.2
[    0.053811] Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    0.053901] msgmni has been set to 1997
[    0.054089] alg: No test for stdrng (krng)
[    0.054144] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
[    0.054152] io scheduler noop registered
[    0.054157] io scheduler anticipatory registered
[    0.054161] io scheduler deadline registered
[    0.054198] io scheduler cfq registered (default)
[    0.055711] Linux agpgart interface v0.103
[    0.055745] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[    0.175044] input: Macintosh mouse button emulation as /devices/virtual/input/input0
[    0.175098] PNP: No PS/2 controller found. Probing ports directly.
[    0.175919] i8042.c: No controller found.
[    0.175982] mice: PS/2 mouse device common for all mice
[    0.176044] rtc_cmos: probe of rtc_cmos failed with error -16
[    0.176070] cpuidle: using governor ladder
[    0.176075] cpuidle: using governor menu
[    0.176082] No iBFT detected.
[    0.176320] TCP cubic registered
[    0.176427] NET: Registered protocol family 10
[    0.176811] lo: Disabled Privacy Extensions
[    0.177016] Mobile IPv6
[    0.177022] NET: Registered protocol family 17
[    0.177115] registered taskstats version 1
[    0.177129] XENBUS: Device with no driver: device/vbd/51712
[    0.177135] XENBUS: Device with no driver: device/vbd/51728
[    0.177140] XENBUS: Device with no driver: device/vif/0
[    0.177144] XENBUS: Device with no driver: device/console/0
[    0.177160] /local/lindi/debian-linux-2.6/linux-2.6-2.6.32/debian/build/source_amd64_none/drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
[    0.177180] Initalizing network drop monitor service
[    0.177242] Freeing unused kernel memory: 588k freed
[    0.177423] Write protecting the kernel read-only data: 4212k
Loading, please wait...
[    0.211975] udev: starting version 158
[    0.235828] Initialising Xen virtual ethernet driver.
[    0.285814] blkfront: xvda: barriers enabled
[    0.286096]	xvda: unknown partition table
[    0.294449] blkfront: xvdb: barriers enabled
[    0.294637]	xvdb: unknown partition table
Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... done.
[    0.602866] kjournald starting.  Commit interval 5 seconds
[    0.602884] EXT3-fs: mounted filesystem with ordered data mode.
Begin: Running /scripts/local-bottom ... done.
done.
Begin: Running /scripts/init-bottom ... done.
INIT: version 2.88 booting
Using makefile-style concurrent boot in runlevel S.
Starting the hotplug events dispatcher: udevd[	  1.989980] udev: starting version 158
.
Synthesizing the initial hotplug events...done.
Waiting for /dev to be fully populated...[    2.356664] input: PC Speaker as /devices/platform/pcspkr/input/input1
done.
Setting parameters of disc: (none).
@Activating swap...[	3.469274] Adding 6291448k swap on /dev/xvdb.  Priority:-1 extents:1 across:6291448k SS
done.
Checking root file system...fsck from util-linux-ng 2.17.2
/dev/xvda: clean, 584600/1638400 files, 5684183/6553600 blocks
done.
[    3.678095] EXT3 FS on xvda, internal journal
Cleaning up ifupdown....
Setting up networking....
[    3.825556] loop: module loaded
Loading kernel modules...done.
Activating lvm and md swap...done.
Checking file systems...fsck from util-linux-ng 2.17.2
done.
Mounting local filesystems...done.
Activating swapfile swap...done.
Cleaning up temporary files....
Setting kernel variables ...done.
Configuring network interfaces...[    5.285452] Bridge firewalling registered
[    5.314820] device eth0 entered promiscuous mode
[    5.323739] br0: port 1(eth0) entering learning state

Waiting for br0 to get ready (MAXWAIT is 20 seconds).
[   14.320018] br0: port 1(eth0) entering forwarding state
Starting portmap daemon....
Starting NFS common utilities: statd.
mount.nfs: Failed to resolve server nfs: Temporary failure in name resolution
done.
Starting portmap daemon...Already running..
Starting NFS common utilities: statd.
Cleaning up temporary files....
Setting up ALSA...done (none loaded).
Setting console screen modes and fonts.
cannot (un)set powersave mode
9;30]14;30][   15.147035] fuse init (API version 7.13)
Recovering schroot sessions:.
Running scripts in rcS.d/ took 14 seconds.
INIT: Entering runlevel: 2
Using makefile-style concurrent boot in runlevel 2.
CPUFreq Utilities: Setting ondemand CPUFreq governor...disabled, governor not available...done.
Starting NFS common utilities: statd.
Starting portmap daemon...Already running..
Starting enhanced syslogd: rsyslogd.
Starting web server: apache2apache2: apr_sockaddr_info_get() failed for lindi1
apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
.
Starting domain name service...: bind9.
Starting periodic command scheduler: cron.
Starting system message bus: dbus.
Starting MTA:Starting Nagios Service Check Acceptor: nsca.
 exim4.
Starting NTP server: ntpd.
Starting OpenBSD Secure Shell server: sshd.
Starting nagios3 monitoring daemon: nagios3.
[   19.902202] RPC: Registered udp transport module.
[   19.902214] RPC: Registered tcp transport module.
[   19.902219] RPC: Registered tcp NFSv4.1 backchannel transport module.
[   19.988412] Slow work thread pool: Starting up
[   19.988473] Slow work thread pool: Ready
[   19.988532] FS-Cache: Loaded
[   20.314792] FS-Cache: Netfs 'nfs' registered for caching
[   20.360724] svc: failed to register lockdv1 RPC service (errno 97).
Running scripts in rc2.d/ took 5 seconds.

Debian GNU/Linux squeeze/sid lindi1 hvc0

lindi1 login:

I can not test kprobes support since as mentioned in
http://wiki.debian.org/HowToRebuildAnOfficialDebianKernelPackage I can
not generate my own linux-headers-2.6.32-5-common package unless I
build all kernel related packages for which I have no disk space right
now in the squeeze machine.

-Timo



Reply to: