versatile: OOPS in apparmor
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Fix Committed
|
High
|
Brad Figg | ||
Jaunty |
Fix Committed
|
High
|
Brad Figg |
Bug Description
Hi
the arm versatile netboot images at http://
OOPS when using both kernel and initrd (didn't boot fully with only a kernel but didn't OOPS in early boot)
I: Running qemu-system-arm -M versatilepb -m 256M -soundhw all -usb -net nic -net user -k fr -kernel vmlinuz -append 'console=
Uncompressing Linux..
Linux version 2.6.28-11-versatile (buildd@kahikatea) (gcc version 4.3.3 (Ubuntu 4.3.3-5ubuntu4) ) #36-Ubuntu Sat Mar 21 00:30:53 UTC 2009 (Ubuntu 2.6.28-
CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00093177
CPU: VIVT data cache, VIVT instruction cache
Machine: ARM-Versatile PB
Memory policy: ECC disabled, Data cache writeback
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 65024
Kernel command line: console=
PID hash table entries: 1024 (order: 10, 4096 bytes)
Console: colour dummy device 80x30
console [tty0] enabled
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
Memory: 256MB = 256MB total
Memory: 253312KB available (3308K code, 240K data, 136K init)
Calibrating delay loop... 527.56 BogoMIPS (lpj=2637824)
Security Framework initialized
AppArmor: AppArmor initialized
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
net_namespace: 288 bytes
NET: Registered protocol family 16
PCI core found (slot 11)
PCI: bus0: Fast back to back transfers disabled
PCI map irq: slot 0, pin 1, devslot 12, irq: 27
PCI map irq: slot 0, pin 1, devslot 13, irq: 27
SCSI subsystem initialized
AppArmor: Error creating AppArmor securityfs
AppArmor: AppArmor protection removed
NET: Registered protocol family 2
IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
TCP established hash table entries: 8192 (order: 4, 65536 bytes)
TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
TCP: Hash tables configured (established 8192 bind 8192)
TCP reno registered
NET: Registered protocol family 1
checking if image is initramfs... it is
Freeing initrd memory: 2641K
NetWinder Floating Point Emulator V0.97 (double precision)
audit: initializing netlink socket (disabled)
type=2000 audit(1.939:1): initialized
Installing knfsd (copyright (C) 1996 <email address hidden>).
JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
msgmni has been set to 500
io scheduler noop registered
io scheduler anticipatory registered (default)
io scheduler deadline registered
io scheduler cfq registered
CLCD: unknown LCD panel ID 0x00001000, using VGA
CLCD: Versatile hardware, VGA display
Clock CLCDCLK: setting VCO reg params: S=1 R=99 V=98
Console: switching to colour frame buffer device 80x30
Serial: AMBA PL011 UART driver
dev:f1: ttyAMA0 at MMIO 0x101f1000 (irq = 12) is a AMBA/PL011
console [ttyAMA0] enabled
dev:f2: ttyAMA1 at MMIO 0x101f2000 (irq = 13) is a AMBA/PL011
dev:f3: ttyAMA2 at MMIO 0x101f3000 (irq = 14) is a AMBA/PL011
fpga:09: ttyAMA3 at MMIO 0x10009000 (irq = 38) is a AMBA/PL011
brd: module loaded
loop: module loaded
tun: Universal TUN/TAP device driver, 1.6
tun: (C) 1999-2004 Max Krasnyansky <email address hidden>
smc91x.c: v1.1, sep 22 2004 by Nicolas Pitre <email address hidden>
eth0: SMC91C11xFD (rev 1) at d08d6000 IRQ 25 [nowait]
eth0: Ethernet addr: 52:54:00:12:34:56
PCI: enabling device 0000:00:0d.0 (0140 -> 0143)
sym0: <895a> rev 0x0 at pci 0000:00:0d.0 irq 27
sym0: No NVRAM, ID 7, Fast-40, LVD, parity checking
sym0: SCSI BUS has been reset.
scsi0 : sym-2.2.3
scsi 0:0:2:0: CD-ROM QEMU QEMU CD-ROM 0.10 PQ: 0 ANSI: 3
target0:0:2: tagged command queuing enabled, command queue depth 16.
target0:0:2: Beginning Domain Validation
target0:0:2: Domain Validation skipping write tests
target0:0:2: Ending Domain Validation
Driver 'sd' needs updating - please use bus_type methods
mice: PS/2 mouse device common for all mice
rtc-pl031 dev:e8: rtc core: registered pl031 as rtc0
md: linear personality registered for level -1
md: multipath personality registered for level -4
md: faulty personality registered for level -5
device-mapper: ioctl: 4.14.0-ioctl (2008-04-23) initialised: <email address hidden>
TCP cubic registered
NET: Registered protocol family 17
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
VFP support v0.3: implementor 41 architecture 1 part 10 variant 9 rev 0
rtc-pl031 dev:e8: setting system clock to 2009-03-26 07:32:39 UTC (1238052759)
Freeing init memory: 136K
Unable to handle kernel NULL pointer dereference at virtual address 0000000c
pgd = c0004000
[0000000c] *pgd=00000000
Internal error: Oops: 35 [#1]
Modules linked in:
CPU: 0 Not tainted (2.6.28-
PC is at __aa_find_
LR is at aa_register_
pc : [<c0156450>] lr : [<c0154f5c>] psr: 60000013
sp : cf81fdf8 ip : cf81fe18 fp : cf81fe14
r10: 00000000 r9 : cec922ba r8 : 00000000
r7 : 00000000 r6 : cf81fe64 r5 : 00000000 r4 : cf373460
r3 : c0395c68 r2 : cec922ba r1 : 0000000c r0 : cec922ba
Flags: nZCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment kernel
Control: 00093177 Table: 00004000 DAC: 00000017
Process swapper (pid: 1, stack limit = 0xcf81e268)
Stack: (0xcf81fdf8 to 0xcf820000)
fde0: cf373460 00000000
fe00: cf81fe64 00000000 cf81fe44 cf81fe18 c0154f5c c0156450 cf81fe94 cf373460
fe20: cf81fe64 00000000 00000100 cec922ba cf81e000 00000000 cf81fedc cf81fe48
fe40: c0155460 c0154ed8 00000000 cf81fe64 cf81fe84 cec920c0 00000000 00000100
fe60: cf81fe84 c0321cd0 000000d0 00000000 cec922ba 00000000 00000000 00000001
fe80: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
fea0: 00000000 00000000 00000000 cec921c0 cf81ff58 cec920c0 cec920c0 c0369bcc
fec0: 00000002 c0369bc4 cf81ff58 c0369b38 cf81fef4 cf81fee0 c0157cd4 c01551fc
fee0: c031929d 00000000 cf81ff04 cf81fef8 c01505d8 c0157cb0 cf81ff1c cf81ff08
ff00: c009e844 c01505c8 00000000 cec920c0 cf81ff54 cf81ff20 c009eea4 c009e7a0
ff20: 00000000 00000000 c0381cac c031929d c0369bc4 c0369b38 cf81ff58 00000000
ff40: 00000000 00000000 cf81ffbc cf81ff58 c002e1c4 c009ed6c 00000000 00000000
ff60: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
ff80: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
ffa0: c03825b8 c0023a84 00000000 00000000 cf81ffd4 cf81ffc0 c002a4c4 c002e190
ffc0: c0098278 c03825b8 cf81fff4 cf81ffd8 c00085dc c002a43c 00000000 00000001
ffe0: 00000000 00000000 00000000 cf81fff8 c004add0 c0008520 00000000 00000000
Backtrace:
[<c0156444>] (__aa_find_
r7:00000000 r6:cf81fe64 r5:00000000 r4:cf373460
[<c0154ecc>] (aa_register_
[<c01551f0>] (aa_register+
[<c0157ca4>] (apparmor_
r4:00000000
[<c01505bc>] (security_
[<c009e794>] (prepare_
r5:cec920c0 r4:00000000
[<c009ed60>] (do_execve+
[<c002e184>] (kernel_
r7:00000000 r6:00000000 r5:c0023a84 r4:c03825b8
[<c002a430>] (init_post+
r4:c03825b8
[<c0008514>] (kernel_
r5:00000000 r4:00000000
Code: c015875c e1a0c00d e92dd8f0 e24cb004 (e5913000)
---[ end trace 34fa214e4d26d82c ]---
Kernel panic - not syncing: Attempted to kill init!
Changed in linux: | |
milestone: | none → ubuntu-9.04 |
Changed in linux (Ubuntu Jaunty): | |
importance: | Undecided → High |
status: | New → Triaged |
Changed in linux: | |
status: | Triaged → Fix Committed |
assignee: | nobody → brad-figg |
Note that this wasn't the final beta kernel, but I also tried with the final beta kernel, linux-image- 2.6.28- 11-versatile_ 2.6.28- 11.37_armel. deb; this is the updated OOPS: 11-versatile #37-Ubuntu) profile+ 0xc/0x58 find+0x90/ 0x1a4 profile+ 0x0/0x58) from [<c0154f5c>] (aa_register_ find+0x90/ 0x1a4) find+0x0/ 0x1a4) from [<c0155460>] (aa_register+ 0x270/0x438) 0x0/0x438) from [<c0157cd4>] (apparmor_ bprm_set_ security+ 0x30/0x34) bprm_set_ security+ 0x0/0x34) from [<c01505d8>] (security_ bprm_set+ 0x1c/0x24) bprm_set+ 0x0/0x24) from [<c009e844>] (prepare_ binprm+ 0xb0/0xe8) binprm+ 0x0/0xe8) from [<c009eea4>] (do_execve+ 0x144/0x27c) 0x0/0x27c) from [<c002e1c4>] (kernel_ execve+ 0x40/0x88) execve+ 0x0/0x88) from [<c002a4c4>] (init_post+ 0x94/0x178)
rtc-pl031 dev:e8: setting system clock to 2009-03-26 08:14:48 UTC (1238055288)
Freeing init memory: 136K
Unable to handle kernel NULL pointer dereference at virtual address 0000000c
pgd = c0004000
[0000000c] *pgd=00000000
Internal error: Oops: 35 [#1]
Modules linked in:
CPU: 0 Not tainted (2.6.28-
PC is at __aa_find_
LR is at aa_register_
pc : [<c0156450>] lr : [<c0154f5c>] psr: 60000013
sp : cf81fdf8 ip : cf81fe18 fp : cf81fe14
r10: 00000000 r9 : cec925ba r8 : 00000000
r7 : 00000000 r6 : cf81fe64 r5 : 00000000 r4 : cf373460
r3 : c0395c68 r2 : cec925ba r1 : 0000000c r0 : cec925ba
Flags: nZCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment kernel
Control: 00093177 Table: 00004000 DAC: 00000017
Process swapper (pid: 1, stack limit = 0xcf81e268)
Stack: (0xcf81fdf8 to 0xcf820000)
fde0: cf373460 00000000
fe00: cf81fe64 00000000 cf81fe44 cf81fe18 c0154f5c c0156450 cf81fe94 cf373460
fe20: cf81fe64 00000000 00000100 cec925ba cf81e000 00000000 cf81fedc cf81fe48
fe40: c0155460 c0154ed8 00000000 cf81fe64 cf81fe84 cec925c0 00000000 00000100
fe60: cf81fe84 c0321cd0 000000d0 00000000 cec925ba 00000000 00000000 00000001
fe80: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
fea0: 00000000 00000000 00000000 cec924c0 cf81ff58 cec925c0 cec925c0 c0369bcc
fec0: 00000002 c0369bc4 cf81ff58 c0369b38 cf81fef4 cf81fee0 c0157cd4 c01551fc
fee0: c031929d 00000000 cf81ff04 cf81fef8 c01505d8 c0157cb0 cf81ff1c cf81ff08
ff00: c009e844 c01505c8 00000000 cec925c0 cf81ff54 cf81ff20 c009eea4 c009e7a0
ff20: 00000000 00000000 c0381cac c031929d c0369bc4 c0369b38 cf81ff58 00000000
ff40: 00000000 00000000 cf81ffbc cf81ff58 c002e1c4 c009ed6c 00000000 00000000
ff60: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
ff80: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
ffa0: c03825b8 c0023a84 00000000 00000000 cf81ffd4 cf81ffc0 c002a4c4 c002e190
ffc0: c0098278 c03825b8 cf81fff4 cf81ffd8 c00085dc c002a43c 00000000 00000001
ffe0: 00000000 00000000 00000000 cf81fff8 c004add0 c0008520 00000000 00000000
Backtrace:
[<c0156444>] (__aa_find_
r7:00000000 r6:cf81fe64 r5:00000000 r4:cf373460
[<c0154ecc>] (aa_register_
[<c01551f0>] (aa_register+
[<c0157ca4>] (apparmor_
r4:00000000
[<c01505bc>] (security_
[<c009e794>] (prepare_
r5:cec925c0 r4:00000000
[<c009ed60>] (do_execve+
[<c002e184>] (kernel_
r7:00000000 r6:00000000 r...