Interestingly enough, when I just compile in Activate Markers and
Immediate Value optimization, I get problems. No lttng stuff. Attached
is the serial dump... after "Done" shows up on the console it just
sits. You can type, but it has no effect.
M
On 08/20/2010 03:52 PM, Mathieu Desnoyers wrote:
> * Medved, Michael ([email protected]) wrote:
>
>> Per Mathieu's email, I'm moving my question to this mailing list.
>>
>> In response to his question - I've already built the tiny core 2.6.33.3
>> kernel and installed it and it seems to work just fine. So when I drop the
>> patch into this build is when things start going awry.
>>
>> The 2.6.33 (already patched for TC) can be had here:
>>
>> http://distro.ibiblio.org/pub/linux/distributions/tinycorelinux/3.x/release/src/kernel/
>>
>>
> OK, can you try disabling all the lttng-specific options and rebuild ?
>
> Also try compiling them as modules, loading one by one, see which one
> fails.
>
> Also having the console output you get when it crashes would be helpful.
> A serial console usually does the trick.
>
> Thanks,
>
> Mathieu
>
>
>> M
>>
>> -------- Original Message --------
>> Subject: Re: Lttng and Tiny Core?
>> Date: Fri, 20 Aug 2010 14:57:13 -0400
>> From: Mathieu Desnoyers<[email protected]>
>> <mailto:[email protected]>
>> To: Medved, Michael<[email protected]> <mailto:[email protected]>
>>
>>
>> * Medved, Michael ([email protected]) wrote:
>>
>>> Hi Mathieu-
>>>
>>> I'm a NASA contractor and I'd like to us lttng to do some
>>> tracing/profiling of some applications I'm writing for the ISS. I'm
>>> using a linux distro called tiny core, and have successfully gotten the
>>> kernel to compile with the lttng patches applied (to a 2.6.33.3 kernel),
>>> but when I boot it, it doesn't go to the desktop like usual. Instead it
>>> spits out a bunch of information (hex numbers, modprobe stuff, etc) and
>>> then goes to a blank line with no cursor, and it doesn't matter what I
>>> type, nothing happens. Interestingly, if I put in a USB stick it spits
>>> out a bunch of info about it. I compiled everything from that version
>>> of lttng (.213) into the kernel (none as modules).
>>>
>>> I didn't see any forums on the lttng website or any good place to ask my
>>> question, so I thought I'd drop you an email and see if you can point me
>>> in the right direction?
>>>
>> Usually these questions go through the mailing list,
>> [email protected].
>>
>> You should probably try booting your kernel without the lttng patches
>> applied to
>> make sure it's not just a matter of a missing driver (e.g. proprietary nvidia
>> ?) from your kernel per se.
>>
>> The problem may not even be related to lttng, so it would be good to check
>> that
>> first. So you should try a 2.6.33.3 kernel without lttng applied.
>>
>> Thanks,
>>
>> Mathieu
>>
>>
>>> Thanks!
>>> M
>>>
>> --
>> Mathieu Desnoyers
>> Operating System Efficiency R&D Consultant
>> EfficiOS Inc.
>> http://www.efficios.com
>>
>> _______________________________________________
>> ltt-dev mailing list
>> [email protected]
>> http://lists.casi.polymtl.ca/cgi-bin/mailman/listinfo/ltt-dev
>>
>>
>
Liux version 2.6.33.3-tinyore (med...@mdvdmlato) gc vrson4..5200023(perlese
(butuLiar 44.-7butu) # SP atAu 2 1:0:3 ET 01
IISSprviedphsialRA mp:
IO-e20 00000000000- 00000009c0 (sale
BBOO-e20 00000000fc0 0000000a000(rseve)
IO-e20 0000000f000- 00000000000(rseve)
IO-e20 00000000000- 000001ff00 (sale
BIS-82: 000001ff00 -00000000000 ACI at)
IO-e20 00000ffc000- 0000100000 (esrvd)
Notice: X Excue isbl) ootection missing in CPU or disabled in BIOS!
DMI 2.5 present.
last_pfn = 0x1fff0 max_arch_pfn = 0x100000
x86 PAT enabled: cpu 0, old 0x7040600070406, new 0x7010600070106
CPU MTRRs all blank - virtualized system.
found SMP MP-table at [c009fff0] 9fff0
init_memory_mapping: 0000000000000000-000000001fff0000
RAMDISK: 1f7c3000 - 1ffdf53c
ACPI: RSDP 000e0000 00024 (v02 VBOX )
ACPI: XSDT 1fff0030 0003C (v01 VBOX VBOXXSDT 00000001 ASL 00000061)
ACPI: FACP 1fff00f0 000F4 (v04 VBOX VBOXFACP 00000001 ASL 00000061)
ACPI: DSDT 1fff0460 018FF (v01 VBOX VBOXBIOS 00000002 INTL 20090521)
ACPI: FACS 1fff0200 00040
ACPI: APIC 1fff0240 0004A (v02 VBOX VBOXAPIC 00000001 ASL 00000061)
ACPI: SSDT 1fff0290 001CC (v01 VBOX VBOXCPUT 00000002 INTL 20090521)
0MB HIGHMEM available.
511MB LOWMEM available.
mapped low ram: 0 - 1fff0000
low ram: 0 - 1fff0000
node 0 low ram: 00000000 - 1fff0000
node 0 bootmap 00008000 - 0000c000
(14 early reservations) ==> bootmem [0000000000 - 001fff0000]
#0 [0000000000 - 0000001000] BIOS data page ==> [0000000000 - 0000001000]
#1 [0000001000 - 0000002000] EX TRAMPOLINE ==> [0000001000 - 0000002000]
#2 [0000100000 - 0000623ce4] TEXT DATA BSS ==> [0000100000 - 0000623ce4]
#3 [001f7c3000 -001ffdf53c] RAMDISK ==> [001f7c3000 - 001ffdf53c]
#4 [0000624000 - 0000626071] BRK ==> [0000624000 - 0000626071]
#5 [000009fc00 - 000009fff0] BIOS reserved ==> [000009fc00 - 000009fff0]
#6 [000009fff0 - 00000a0000] MP-table mpf ==> [000009fff0 - 00000a0000]
#7 [00000a0000 - 00000e1160] BIOS reserved ==> [00000a0000 - 00000e1160]
#8 [00000e1240 - 0000100000] BIOS reserved ==> [00000e1240 - 0000100000]
#9 [00000e1160 - 00000e1240] MP-table mpc ==> [00000e1160 - 00000e1240]
#10 [0000002000 - 0000003000] TRAMPOLINE ==> [0000002000 - 0000003000]
#11 [0000003000 - 0000007000] ACPI WAKEUP ==> [0000003000 - 0000007000]
#12 [0000007000 - 0000008000] PGTABLE ==> [0000007000 - 0000008000]
#13 [0000008000 - 000000c000] BOOTMAP ==> [0000008000 - 000000c000]
Zone PFN ranges:
DMA 0x00000000 -> 0x00001000
Normal 0x00001000 -> 0x0001fff0
HighMem 0x0001fff0 -> 0x0001fff0
Movable zone start PFN for each node
early_node_map[2] active PFN ranges
0: 0x00000000 -> 0x0000009f
0: 0x00000100 -> 0x0001fff0
Using APIC driver default
ACPI: PM-Timer IO Port: 0x4008
ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
ACPI: IOAPIC (id[0x01] address[0xfec00000] gsi_base[0])
IOAPIC[0]: apic_id 1, version 17, addressxxfec00000, GSI 0-23
ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
Using ACPI (MADT) for SMP configuration information
SMP: Allowing 1 CPUs, 0 hotplug CPUs
PM: Registered nosave memory: 000000000009f000 - 00000000000a0000
PM: Registered nosave memory: 00000000000a0000 - 00000000000f0000
PM: Registered nosave memory: 00000000000f0000 - 0000000000100000
Allocating PCI resources starting at 20000000 (gap: 20000000:dffc0000)
Booting paravirtualized kernel on bare hardware
setup_percpu: NR_CPUS:8 nr_cpumask_bits:8 nr_cpu_ids:1 nr_node_ids:1
PERCPU: Embedded 13 pages/cpu @c1800000 s31576 r0 d21672 u4194304
pcpu-alloc: s31576 r0 d21672 u4194304 alloc=1*4194304
pcpu-alloc: [0] 0
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 129935
Kernel command line: console=ttyS0
PID hash table entries: 2048 (order: 1, 8192 bytes)
Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Initializing CPU#0
Initializing HighMem for node 0 (00000000:00000000)
Memory: 505408k/524224k available (3011k kernel code, 18176k reserved, 1305k
data, 424k init, k highmem)
virtual kernel memory layout:
fixmap : 0xfff1d000 - 0xfffff000 ( 904 kB)
pkmap : 0xff800000 - 0xffc00000 (4096 kB)
vmalloc : 0xe07f0000 - 0xff7fe000 ( 496 MB)
lowmem : 0xc0000000 - 0xdfff0000 ( 511 MB)
.init : 0xc0538000 - 0xc05a2000 ( 424 kB)
.data : 0xc03f0d56 - 0xc0537170 (1305 kB)
.text : 0xc0100000 - 0xc03f0d56 (3011 kB)
Checking if this processor honours the WP bit even in supervisor mode...Ok.
Hierarchical RCU implementation.
NR_IRQS:512
Console: colour VGA+ 80x25
console [ttyS0] enabled
Fast TSC calibration failed
TSC: Unable to calibrate against PIT
TSC: using PMTIMER reference calibration
Detected 2253.865 MHz processor.
Calibrating delay loop (skipped), value calculated using timer frequency..
4509.55 BogoMIPS (lpj=7512883)
Mount-cache hash table entries: 512
mce: CPU supports 0 MCE banks
using mwait in idle threads.
Performance Events: unsupported p6 CPU model 23 no PMU driver, software events
only.
Checking 'hlt' instruction... OK.
SMP alternatives: switching to UP code
Freeing SMP alternatives: 14k freed
ACPI: Core revision 20091214
Enabling APIC mode: Flat. Using 1 I/O APICs
..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1
CPU0: Intel(R) Core(TM)2 Duo CPU P8400 @ 2.26GHz stepping 0a
Brought up 1 CPUs
Total of 1 processors activated (4509.55 BogoMIPS).
NET: Registered protocol family 16
ACPI: bus type pci registered
PCI: PCI BIOS revision 2.10 entry at 0xfc140, last bus=0
PCI: Using configuration type 1 for base access
bio: create slab <bio-0> at 0
ACPI: Interpreter enabled
ACPI: (supports S0 S5)
ACPI: Using IOAPIC for interrupt routing
ACPI: No dock devices found.
ACPI: PCI Root Bridge [PCI0] (0000:00)
pci_root PNP0A03:00: ignoring host bridge windows from ACPI; boot with
"pci=use_crs" to use them
ACPI: PCI Interrupt Link [LNKA] (IRQs *5 9 10 11)
ACPI: PCI Interrupt Link [LNKB] (IRQs 5 9 10 *11)
ACPI: PCI Interrupt Link [LNKC] (IRQs 5 9 *10 11)
ACPI: PCI Interrupt Link [LNKD] (IRQs 5 *9 10 11)
vgaarb: device added: PCI:0000:00:02.0,decodes=io+mem,owns=io+mem,locks=none
vgaarb: loaded
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
PCI: Using ACPI for IRQ routing
Switching to clocksource tsc
pnp: PnP ACPI init
ACPI: bus type pnp registered
pnp: PnP ACPI: found 5 devices
ACPI: ACPI bus type pnp unregistered
PnPBIOS: Disabled by ACPI PNP
NET: Registered protocol family 2
IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
TCP established hash table entries: 16384 (order: 5, 131072 bytes)
TCP bind hash table entries: 16384 (order: 5, 131072 bytes)
TCP: Hash tables configured (established 16384 bind 16384)
TCP reno registered
UDP hash table entries: 256 (order: 1, 8192 bytes)
UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
NET: Registered protocol family 1
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
pci 0000:00:00.0: Limiting direct PCI/PCI transfers
pci 0000:00:01.0: Activating ISA DMA hang workarounds
Trying to unpack rootfs image as initramfs...
Freeing initrd memory: 8305k freed
platform rtc_cmos: registered platform RTC device (no PNP device found)
fuse init (API version 7.13)
msgmni has been set to 1003
alg: No test for stdrng (krng)
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254)
io scheduler noop registered
io scheduler deadline registered (default)
input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input0
ACPI: Power Button [PWRF]
input: Sleep Button as /devices/LNXSYSTM:00/LNXSLPBN:00/input/input1
ACPI: Sleep Button [SLPF]
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
Real Time Clock Driver v1.12b
Non-volatile memory driver v1.3
Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
floppy0: no floppy controllers found
brd: module loaded
input: Macintosh mouse button emulation as /devices/virtual/input/input2
Uniform Multi-Platform E-IDE driver
piix 0000:00:01.1: IDE controller (0x8086:0x7111 rev 0x01)
piix 0000:00:01.1: not 100% native mode: will probe irqs later
ide0: BM-DMA at 0xd000-0xd007
ide1: BM-DMA at 0xd008-0xd00f
hdc: VBOX CD-ROM, ATAPI CD/DVD-ROM drive
hdc: UDMA/33 mode selected
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
ide_generic: please use "probe_mask=0x3f" module parameter for probing all
legacy ISA IDE ports
ide-gd driver 1.18
ide-cd driver 5.00
ide-cd: hdc: ATAPI 32X DVD-ROM drive, 128kB Cache
Uniform CD-ROM driver Revision: 3.20
ahci 0000:00:0d.0: PCI INT A -> GSI 21 (level, low) -> IRQ 21
ahci: SSS flag set, parallel bus scan disabled
ahci 0000:00:0d.0: AHCI 0001.0100 32 slots 1 ports 3 Gbps 0x1 impl SATA mode
ahci 0000:00:0d.0: flags: 64bit ncq stag only ccc
scsi0 : ahci
ata1: SATA max UDMA/133 abar m8...@0xf0806000 port 0xf0806100 irq 21
PPP generic driver version 2.4.2
PPP Deflate Compression module registered
NET: Registered protocol family 24
tun: Universal TUN/TAP device driver, 1.6
tun: (C) 1999-2004 Max Krasnyansky <[email protected]>
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
ohci_hcd 0000:00:06.0: PCI INT A -> GSI 22 (level, low) -> IRQ 22
ohci_hcd 0000:00:06.0: OHCI Host Controller
ohci_hcd 0000:00:06.0: new USB bus registered, assigned bus number 1
ohci_hcd 0000:00:06.0: irq 22, io mem 0xf0804000
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 8 ports detected
uhci_hcd: USB Universal Host Controller Interface driver
ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
ata1.00: ATA-6: VBOX HARDDISK, 1.0, max UDMA/133
ata1.00: 16777216 sectors, multi 128: LBA48 NCQ (depth 31/32)
usbcore: registered new interface driver ums-alauda
usbcore: registered new interface driver ums-cypress
ata1.00: configured for UDMA/133
usbcore: registered new interface driver ums-freecom
scsi 0:0:0:0: Direct-Access ATA VBOX HARDDISK 1.0 PQ: 0 ANSI: 5
usbcore: registered new interface driver ums-isd200
sd 0:0:0:0: [sda] 16777216 512-byte logical blocks: (8.58 GB/8.00 GiB)
sd 0:0:0:0: Attached scsi generic sg0 type 0
usbcore: registered new interface driver ums-jumpshot
sd 0:0:0:0: [sda] Write Protect is off
usbcore: registered new interface driver ums-karma
usb 1-1: new full speed USB device using ohci_hcd and address 2
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support
DPO or FUA
usbcore: registered new interface driver ums-onetouch
usbcore: registered new interface driver ums-sddr09
sda: sda1 sda2 <
usbcore: registered new interface driver ums-sddr55
sda5
usbcore: registered new interface driver ums-usbat
usbcore: registered new interface driver berry_charge
sda6 >
PNP: PS/2 Controller [PNP0303:PS2K,PNP0f03:PS2M] at 0x60,0x64 irq 1,12
sd 0:0:0:0: [sda] Attached SCSI disk
serio: i8042 KBD port at 0x60,0x64 irq 1
serio: i8042 AUX port at 0x60,0x64 irq 12
mice: PS/2 mouse device common for all mice
usbcore: registered new interface driver appletouch
input: AT Translated Set 2 keyboard as
/devices/platform/i8042/serio0/input/input3
usbcore: registered new interface driver bcm5974
cpuidle: using governor ladder
cpuidle: using governor menu
input: ImExPS/2 Generic Explorer Mouse as
/devices/platform/i8042/serio1/input/input4
padlock: VIA PadLock not detected.
padlock: VIA PadLock Hash Engine not detected.
usbcore: registered new interface driver hiddev
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
ip_tables: (C) 2000-2006 Netfilter Core Team
TCP cubic registered
NET: Registered protocol family 17
NET: Registered protocol family 15
input: VirtualBox USB Tablet as
/devices/pci0000:00/0000:00:06.0/usb1/1-1/1-1:1.0/input/input5
Using IPI No-Shortcut mode
Freeing unused kernel memory: 424k freed
generic-usb 0003:80EE:0021.0001: input: USB HID v1.10 Mouse [VirtualBox USB
Tablet] on usb-0000:00:06.0-1/input0
[H[J[1;32mBooting [1;33mtinycore_3.0
[0;39m[1;32mRunning Linux Kernel [1;33m2.6.33.3-tinycore[1;32m.[0;39m
[1;34mChecking boot options...[0;39m[1;32mDone.[0;39m
[1;34mStarting udev daemon for hotplug support...[0;39m/-\BUG: unable to
handle kernel NULL pointer dereference at 00000004
IP: [<c015a500>] 0xc015a500
*pde = 00000000
Oops: 0000 [#1] SMP
last sysfs file: /sys/devices/virtual/tty/tty25/uevent
Modules linked in: e1000(+)
Pid: 93, comm: modprobe Not tainted 2.6.33.3-tinycore #3 /VirtualBox
EIP: 0060:[<c015a500>] EFLAGS: 00010287 CPU: 0
EAX: df1fa000 EBX: 00000000 ECX: e0849fc0 EDX: 18cdd910
ESI: 00000000 EDI: 00000001 EBP: e0849fc0 ESP: df1fbf40
DS: 007b ES: 007b FS: 00d8 GS: 0033 SS: 0069
Process modprobe (pid: 93, ti=df1fa000 task=df22b070 task.ti=df1fa000)
Stack:
c03eee34 18cdd910 00000000 c04fbee0 00000000 00000001 e0849fc0 c015a733
<0> c014377b c04fbf00 c04fb7f8 c04fb808 00000000 df1fa000 c01439d0 fffffffc
<0> 00000000 e0849fc0 00000001 e0849fc0 00000000 092f0718 c01439ec ffffffff
Call Trace:
[<c03eee34>] ? 0xc03eee34
[<c015a733>] ? 0xc015a733
[<c014377b>] ? 0xc014377b
[<c01439d0>] ? 0xc01439d0
[<c01439ec>] ? 0xc01439ec
[<c01516f4>] ? 0xc01516f4
[<c03efa25>] ? 0xc03efa25
Code: f9 ff ff 8b 04 24 59 5a c3 55 57 56 53 89 c3 83 ec 0c b8 ec be 4f c0 89
54 24 04 e8 34 49 29 00 b0 00 88 44 24 0b e9 f2 01 00 00 <8b> 53 04 8b 03 e8 25
ff ff ff 85 c0 89 c6 0f 84 80 01 00 00 8b
EIP: [<c015a500>] SS:ESP 0069:df1fbf40
CR2: 0000000000000004
---[ end trace 94acd7d97e960f0f ]---
|udevd-work[84]: '/sbin/modprobe -b
pci:v00008086d0000100Esv00008086sd0000001Ebc02sc00i00' unexpected exit with
status 0x0009
[1;32mDone.[0;39m
uevd[75]: worker [80] unexpectedly returned with status 0x0100
udevd[75]: worker [80] failed while handling
'/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A03:00/ACPI0003:00'
udevd[75]: worker [83] unexpectedly returned with status 0x0100
udevd[75]: worker [83] failed while handling
'/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A03:00/PNP0C0A:00'
udevd[75]: worker [86] unexpectedly returned with status 0x0100
udevd[75]: worker [86] failed while handling
'/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A03:00/device:00/PNP0400:00'
_______________________________________________
ltt-dev mailing list
[email protected]
http://lists.casi.polymtl.ca/cgi-bin/mailman/listinfo/ltt-dev