ppc32 selinux mprotect diff.
by Dave Jones
We've carried this diff in Fedora for a few years now..
--- linux-2.6.26.noarch/security/selinux/hooks.c~ 2008-09-25 14:11:17.000000000 -0400
+++ linux-2.6.26.noarch/security/selinux/hooks.c 2008-09-25 14:12:17.000000000 -0400
@@ -3018,7 +3018,6 @@ static int file_map_prot_check(struct fi
const struct cred *cred = current_cred();
int rc = 0;
-#ifndef CONFIG_PPC32
if ((prot & PROT_EXEC) && (!file || (!shared && (prot & PROT_WRITE)))) {
/*
* We are making executable an anonymous mapping or a
@@ -3029,7 +3028,6 @@ static int file_map_prot_check(struct fi
if (rc)
goto error;
}
-#endif
if (file) {
/* read access is always possible with a mapping */
@@ -3024,7 +3022,6 @@ static int selinux_file_mprotect(struct
if (selinux_checkreqprot)
prot = reqprot;
-#ifndef CONFIG_PPC32
if ((prot & PROT_EXEC) && !(vma->vm_flags & VM_EXEC)) {
rc = 0;
if (vma->vm_start >= vma->vm_mm->start_brk &&
@@ -3049,7 +3046,6 @@ static int selinux_file_mprotect(struct
if (rc)
return rc;
}
-#endif
return file_map_prot_check(vma->vm_file, prot, vma->vm_flags&VM_SHARED);
}
This needs a fixed toolchain, and a userspace rebuild to work.
For these reasons, it's had difficulty getting upstream.
Fedora has a new enough toolchain, and has been rebuilt, so we don't need
the ifdefs. Other distros don't/haven't, and this patch would break them
if pushed upstream.
Could we do something like the (untested) diff below instead,
which might be more palatable to upstream, allowing us to stop
carrying it ?
Dave
diff --git a/security/selinux/Kconfig b/security/selinux/Kconfig
index bca1b74..83a9675 100644
--- a/security/selinux/Kconfig
+++ b/security/selinux/Kconfig
@@ -131,3 +131,10 @@ config SECURITY_SELINUX_POLICYDB_VERSION_MAX_VALUE
installed under /etc/selinux/$SELINUXTYPE/policy, where
SELINUXTYPE is defined in your /etc/selinux/config.
+config SELINUX_NEW_ENOUGH_TOOLCHAIN
+ bool "SELinux mprotect checks"
+ default n if PPC32
+ help
+ This option requires a modern toolchain (FIXME: Version?)
+ and a userspace rebuild to work.
+
diff --git a/security/selinux/hooks.c b/security/selinux/hooks.c
index 9a2ee84..e805df7 100644
--- a/security/selinux/hooks.c
+++ b/security/selinux/hooks.c
@@ -3009,7 +3009,7 @@ static int file_map_prot_check(struct file *file, unsigned long prot, int shared
const struct cred *cred = current_cred();
int rc = 0;
-#ifndef CONFIG_PPC32
+#ifdef CONFIG_SELINUX_NEW_ENOUGH_TOOLCHAIN
if ((prot & PROT_EXEC) && (!file || (!shared && (prot & PROT_WRITE)))) {
/*
* We are making executable an anonymous mapping or a
@@ -3081,7 +3081,7 @@ static int selinux_file_mprotect(struct vm_area_struct *vma,
if (selinux_checkreqprot)
prot = reqprot;
-#ifndef CONFIG_PPC32
+#ifdef CONFIG_SELINUX_NEW_ENOUGH_TOOLCHAIN
if ((prot & PROT_EXEC) && !(vma->vm_flags & VM_EXEC)) {
int rc = 0;
if (vma->vm_start >= vma->vm_mm->start_brk &&
13 years, 8 months
GCC 4.5 heads up
by Jon Masters
Folks,
This probably came up already, but probably worth passing on. Very
recent kernels compiled with GCC 4.5 are occasionally hitting problems
with the alignment of ftrace structs. I hit this overnight on one of my
module-init-tools test systems running a non-Fedora kernel from another
Linux distribution. Kyle et al might want to look at e.g.:
https://bugzillafiles.novell.org/attachment.cgi?id=344563
Cheers,
Jon.
13 years, 9 months
2.6.33 on F12 Xen domU
by Norman Gaywood
Well maybe it was never supposed to work but on a test Xen DomU F12
system I updated to
grubby-7.0.13-1.fc13.x86_64.rpm
linux-firmware-20100106-3.fc13.noarch.rpm
and installed
kernel-2.6.33-1.fc13.x86_64.rpm
and 2.6.33 kernel would not boot. Boot messages here:
Using config file "/etc/xen/kojack".
Started domain kojack
(early) Initializing cgroup subsys cpuset
(early) Initializing cgroup subsys cpu
(early) Linux version 2.6.33-1.fc13.x86_64 (mockbuild(a)x86-07.phx2.fedoraproject.org) (gcc version 4.4.3 20100211 (Red Hat 4.4.3-6) (GCC) ) #1 SMP Wed Feb 24 19:55:32 UTC 2010
(early) Command line: ro root=/dev/mapper/SYSTEM-root LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us console=hvc0 earlyprintk=xen
(early) ACPI in unprivileged domain disabled
(early) BIOS-provided physical RAM map:
(early) Xen: 0000000000000000 - 00000000000a0000 (usable)
(early) Xen: 00000000000a0000 - 0000000000100000 (reserved)
(early) Xen: 0000000000100000 - 0000000138800000 (usable)
(early) bootconsole [xenboot0] enabled
(early) NX (Execute Disable) protection: active
(early) DMI not present or invalid.
(early) No AGP bridge found
(early) last_pfn = 0x138800 max_arch_pfn = 0x400000000
(early) last_pfn = 0x100000 max_arch_pfn = 0x400000000
(early) init_memory_mapping: 0000000000000000-0000000100000000
(early) init_memory_mapping: 0000000100000000-0000000138800000
(early) RAMDISK: 029da000 - 04cb7000
(early) No NUMA configuration found
(early) Faking a node at 0000000000000000-0000000138800000
(early) Bootmem setup node 0 0000000000000000-0000000138800000
(early) NODE_DATA [0000000000007000 - 000000000001ffff]
(early) bootmap [0000000000020000 - 00000000000470ff] pages 28
(early) (9 early reservations) ==> bootmem [0000000000 - 0138800000]
(early) #0 [0000000000 - 0000001000] BIOS data page(early) ==> [0000000000 - 0000001000]
(early) #1 [000567e000 - 00056ad000] XEN PAGETABLES(early) ==> [000567e000 - 00056ad000]
(early) #2 [0001000000 - 00029b9138] TEXT DATA BSS(early) ==> [0001000000 - 00029b9138]
(early) #3 [00029da000 - 0004cb7000] RAMDISK(early) ==> [00029da000 - 0004cb7000]
(early) #4 [0004cb7000 - 000567e000] XEN START INFO(early) ==> [0004cb7000 - 000567e000]
(early) #5 [0000001000 - 0000003000] TRAMPOLINE(early) ==> [0000001000 - 0000003000]
(early) #6 [0000003000 - 0000007000] ACPI WAKEUP(early) ==> [0000003000 - 0000007000]
(early) #7 [0000100000 - 00008d3000] PGTABLE(early) ==> [0000100000 - 00008d3000]
(early) #8 [00056ad000 - 0005872000] PGTABLE(early) ==> [00056ad000 - 0005872000]
(early) Zone PFN ranges:
(early) DMA 0x00000000 -> 0x00001000
(early) DMA32 0x00001000 -> 0x00100000
(early) Normal 0x00100000 -> 0x00138800
(early) Movable zone start PFN for each node
(early) early_node_map[2] active PFN ranges
(early) 0: 0x00000000 -> 0x000000a0
(early) 0: 0x00000100 -> 0x00138800
(early) SFI: Simple Firmware Interface v0.7 http://simplefirmware.org
(early) SMP: Allowing 2 CPUs, 0 hotplug CPUs
(early) No local APIC present
(early) APIC: disable apic facility
(early) APIC: switched to apic NOOP
(early) PM: Registered nosave memory: 00000000000a0000 - 0000000000100000
(early) PCI: Warning: Cannot find a gap in the 32bit address range
(early) PCI: Unassigned devices with 32bit resource registers may break!
(early) Allocating PCI resources starting at 138900000 (gap: 138900000:400000)
(early) Booting paravirtualized kernel on Xen
(early) Xen version: 3.1.2-186.el5 (preserve-AD)
(early) setup_percpu: NR_CPUS:512 nr_cpumask_bits:512 nr_cpu_ids:2 nr_node_ids:1
(early) PERCPU: Embedded 478 pages/cpu @ffff880009f6d000 s1927384 r8192 d22312 u1957888
(early) pcpu-alloc: s1927384 r8192 d22312 u1957888 alloc=478*4096(early)
(early) pcpu-alloc: (early) [0] (early) 0 (early) [0] (early) 1 (early)
(early) Xen: using vcpu_info placement
(early) Built 1 zonelists in Node order, mobility grouping on. Total pages: 1260394
(early) Policy zone: Normal
(early) Kernel command line: ro root=/dev/mapper/SYSTEM-root LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us console=hvc0 earlyprintk=xen
(early) PID hash table entries: 4096 (order: 3, 32768 bytes)
(early) Checking aperture...
(early) No AGP bridge found
(early) Memory: 4894788k/5120000k available (4609k kernel code, 384k absent, 224828k reserved, 7334k data, 2752k init)
(early) SLUB: Genslabs=14, HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
(early) Hierarchical RCU implementation.
(early) NR_IRQS:4352 nr_irqs:288
(early) Console: colour dummy device 80x25
(early) Initializing cgroup subsys cpuset
(early) Initializing cgroup subsys cpu
(early) Linux version 2.6.33-1.fc13.x86_64 (mockbuild(a)x86-07.phx2.fedoraproject.org) (gcc version 4.4.3 20100211 (Red Hat 4.4.3-6) (GCC) ) #1 SMP Wed Feb 24 19:55:32 UTC 2010
(early) Command line: ro root=/dev/mapper/SYSTEM-root LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us console=hvc0 earlyprintk=xen
(early) ACPI in unprivileged domain disabled
(early) BIOS-provided physical RAM map:
(early) Xen: 0000000000000000 - 00000000000a0000 (usable)
(early) Xen: 00000000000a0000 - 0000000000100000 (reserved)
(early) Xen: 0000000000100000 - 0000000138800000 (usable)
(early) bootconsole [xenboot0] enabled
(early) NX (Execute Disable) protection: active
(early) DMI not present or invalid.
(early) No AGP bridge found
(early) last_pfn = 0x138800 max_arch_pfn = 0x400000000
(early) last_pfn = 0x100000 max_arch_pfn = 0x400000000
(early) init_memory_mapping: 0000000000000000-0000000100000000
(early) init_memory_mapping: 0000000100000000-0000000138800000
(early) RAMDISK: 029da000 - 04cb7000
(early) No NUMA configuration found
(early) Faking a node at 0000000000000000-0000000138800000
(early) Bootmem setup node 0 0000000000000000-0000000138800000
(early) NODE_DATA [0000000000007000 - 000000000001ffff]
(early) bootmap [0000000000020000 - 00000000000470ff] pages 28
(early) (9 early reservations) ==> bootmem [0000000000 - 0138800000]
(early) #0 [0000000000 - 0000001000] BIOS data page ==> [0000000000 - 0000001000]
(early) #1 [000567e000 - 00056ad000] XEN PAGETABLES ==> [000567e000 - 00056ad000]
(early) #2 [0001000000 - 00029b9138] TEXT DATA BSS ==> [0001000000 - 00029b9138]
(early) #3 [00029da000 - 0004cb7000] RAMDISK ==> [00029da000 - 0004cb7000]
(early) #4 [0004cb7000 - 000567e000] XEN START INFO ==> [0004cb7000 - 000567e000]
(early) #5 [0000001000 - 0000003000] TRAMPOLINE ==> [0000001000 - 0000003000]
(early) #6 [0000003000 - 0000007000] ACPI WAKEUP ==> [0000003000 - 0000007000]
(early) #7 [0000100000 - 00008d3000] PGTABLE ==> [0000100000 - 00008d3000]
(early) #8 [00056ad000 - 0005872000] PGTABLE ==> [00056ad000 - 0005872000]
(early) Zone PFN ranges:
(early) DMA 0x00000000 -> 0x00001000
(early) DMA32 0x00001000 -> 0x00100000
(early) Normal 0x00100000 -> 0x00138800
(early) Movable zone start PFN for each node
(early) early_node_map[2] active PFN ranges
(early) 0: 0x00000000 -> 0x000000a0
(early) 0: 0x00000100 -> 0x00138800
(early) SFI: Simple Firmware Interface v0.7 http://simplefirmware.org
(early) SMP: Allowing 2 CPUs, 0 hotplug CPUs
(early) No local APIC present
(early) APIC: disable apic facility
(early) APIC: switched to apic NOOP
(early) PM: Registered nosave memory: 00000000000a0000 - 0000000000100000
(early) PCI: Warning: Cannot find a gap in the 32bit address range
(early) PCI: Unassigned devices with 32bit resource registers may break!
(early) Allocating PCI resources starting at 138900000 (gap: 138900000:400000)
(early) Booting paravirtualized kernel on Xen
(early) Xen version: 3.1.2-186.el5 (preserve-AD)
(early) setup_percpu: NR_CPUS:512 nr_cpumask_bits:512 nr_cpu_ids:2 nr_node_ids:1
(early) PERCPU: Embedded 478 pages/cpu @ffff880009f6d000 s1927384 r8192 d22312 u1957888
(early) pcpu-alloc: s1927384 r8192 d22312 u1957888 alloc=478*4096
(early) pcpu-alloc: [0] 0 [0] 1
(early) Xen: using vcpu_info placement
(early) Built 1 zonelists in Node order, mobility grouping on. Total pages: 1260394
(early) Policy zone: Normal
(early) Kernel command line: ro root=/dev/mapper/SYSTEM-root LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us console=hvc0 earlyprintk=xen
(early) PID hash table entries: 4096 (order: 3, 32768 bytes)
(early) Checking aperture...
(early) No AGP bridge found
(early) Memory: 4894788k/5120000k available (4609k kernel code, 384k absent, 224828k reserved, 7334k data, 2752k init)
(early) SLUB: Genslabs=14, HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
(early) Hierarchical RCU implementation.
(early) NR_IRQS:4352 nr_irqs:288
(early) Console: colour dummy device 80x25
(early) console [tty0] enabled
console [hvc0] enabled, bootconsole disabled
(early) console [hvc0] enabled, bootconsole disabled
Lock dependency validator: Copyright (c) 2006 Red Hat, Inc., Ingo Molnar
... MAX_LOCKDEP_SUBCLASSES: 8
... MAX_LOCK_DEPTH: 48
... MAX_LOCKDEP_KEYS: 8191
... CLASSHASH_SIZE: 4096
... MAX_LOCKDEP_ENTRIES: 16384
... MAX_LOCKDEP_CHAINS: 32768
... CHAINHASH_SIZE: 16384
memory used by lock dependency info: 6367 kB
per task-struct memory footprint: 2688 bytes
allocated 52428800 bytes of page_cgroup
please try 'cgroup_disable=memory' option if you don't want memory cgroups
installing Xen timer for CPU 0
Detected 2132.308 MHz processor.
Calibrating delay loop (skipped), value calculated using timer frequency.. 4264.61 BogoMIPS (lpj=2132308)
Security Framework initialized
SELinux: Initializing.
Dentry cache hash table entries: 1048576 (order: 11, 8388608 bytes)
Inode-cache hash table entries: 524288 (order: 10, 4194304 bytes)
Mount-cache hash table entries: 256
Initializing cgroup subsys ns
Initializing cgroup subsys cpuacct
Initializing cgroup subsys memory
Initializing cgroup subsys devices
Initializing cgroup subsys freezer
Initializing cgroup subsys net_cls
Initializing cgroup subsys blkio
CPU: Unsupported number of siblings 8
Performance Events: unsupported p6 CPU model 29 no PMU driver, software events only.
lockdep: fixing up alternatives.
SMP alternatives: switching to UP code
ftrace: converting mcount calls to 0f 1f 44 00 00
ftrace: allocating 21582 entries in 85 pages
installing Xen timer for CPU 1
lockdep: fixing up alternatives.
SMP alternatives: switching to SMP code
CPU: Unsupported number of siblings 8
Brought up 2 CPUs
devtmpfs: initialized
Grant table initialized
regulator: core version 0.5
Time: 165:165:165 Date: 165/165/65
NET: Registered protocol family 16
PCI: Fatal: No config space access function found
bio: create slab <bio-0> at 0
ACPI: Interpreter disabled.
xen_balloon: Initialising balloon driver.
vgaarb: loaded
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
PCI: System does not support PCI
PCI: System does not support PCI
NetLabel: Initializing
NetLabel: domain hash size = 128
NetLabel: protocols = UNLABELED CIPSOv4
NetLabel: unlabeled traffic allowed by default
Switching to clocksource xen
kstop/0 used greatest stack depth: 6248 bytes left
pnp: PnP ACPI: disabled
NET: Registered protocol family 2
IP route cache hash table entries: 262144 (order: 9, 2097152 bytes)
TCP established hash table entries: 524288 (order: 11, 8388608 bytes)
TCP bind hash table entries: 65536 (order: 10, 4718592 bytes)
TCP: Hash tables configured (established 524288 bind 65536)
TCP reno registered
UDP hash table entries: 4096 (order: 7, 655360 bytes)
UDP-Lite hash table entries: 4096 (order: 7, 655360 bytes)
NET: Registered protocol family 1
Trying to unpack rootfs image as initramfs...
Freeing initrd memory: 35700k freed
DMA-API: preallocated 32768 debug entries
DMA-API: debugging enabled by kernel config
PCI-DMA: Using software bounce buffering for IO (SWIOTLB)
Placing 64MB software IO TLB between ffff88000a332000 - ffff88000e332000
software IO TLB at phys 0xa332000 - 0xe332000
platform rtc_cmos: registered platform RTC device (no PNP device found)
Intel PCLMULQDQ-NI instructions are not detected.
audit: initializing netlink socket (disabled)
type=2000 audit(1267052445.552:1): initialized
HugeTLB registered 2 MB page size, pre-allocated 0 pages
VFS: Disk quotas dquot_6.5.2
Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
msgmni has been set to 9629
cryptomgr_test used greatest stack depth: 5704 bytes left
cryptomgr_test used greatest stack depth: 5640 bytes left
alg: No test for stdrng (krng)
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
pciehp: PCI Express Hot Plug Controller Driver version: 0.4
acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.5
pci-stub: invalid id string ""
Console: switching to colour frame buffer device 100x37
Non-volatile memory driver v1.3
Linux agpgart interface v0.103
Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
brd: module loaded
loop: module loaded
input: Macintosh mouse button emulation as /devices/virtual/input/input0
Fixed MDIO Bus: probed
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
uhci_hcd: USB Universal Host Controller Interface driver
PNP: No PS/2 controller found. Probing ports directly.
mice: PS/2 mouse device common for all mice
input: Xen Virtual Keyboard as /devices/virtual/input/input1
input: Xen Virtual Pointer as /devices/virtual/input/input2
rtc_cmos: probe of rtc_cmos failed with error -16
device-mapper: uevent: version 1.0.3
device-mapper: ioctl: 4.16.0-ioctl (2009-11-05) initialised: dm-devel(a)redhat.com
cpuidle: using governor ladder
cpuidle: using governor menu
usbcore: registered new interface driver hiddev
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
nf_conntrack version 0.5.0 (16384 buckets, 65536 max)
CONFIG_NF_CT_ACCT is deprecated and will be removed soon. Please use
nf_conntrack.acct=1 kernel parameter, acct=1 nf_conntrack module option or
sysctl net.netfilter.nf_conntrack_acct=1 to enable it.
ip_tables: (C) 2000-2006 Netfilter Core Team
TCP cubic registered
Initializing XFRM netlink socket
NET: Registered protocol family 17
registered taskstats version 1
No TPM chip found, activating TPM-bypass!
XENBUS: Device with no driver: device/vbd/51712
XENBUS: Device with no driver: device/vif/0
Magic number: 1:252:3141
drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
Initalizing network drop monitor service
Freeing unused kernel memory: 2752k freed
Write protecting the kernel read-only data: 10240k
Freeing unused kernel memory: 1516k freed
BUG: unable to handle kernel paging request at ffff880001485000
IP: [<ffffffff8102ec62>] free_init_pages+0xb2/0xdb
PGD 1a44067 PUD 1a48067 PMD 568b067 PTE 10000001485025
Oops: 0003 [#1] SMP
last sysfs file:
CPU 0
Pid: 1, comm: swapper Not tainted 2.6.33-1.fc13.x86_64 #1 /
RIP: e030:[<ffffffff8102ec62>] [<ffffffff8102ec62>] free_init_pages+0xb2/0xdb
RSP: e02b:ffff88013290de60 EFLAGS: 00010286
RAX: 00000000cccccccc RBX: ffff880001600000 RCX: 0000000000000400
RDX: ffff880001485000 RSI: 0000000000000000 RDI: ffff880001485000
RBP: ffff88013290de90 R08: 0000000000002db7 R09: ffffffff8107ba78
R10: ffffffff81a569f8 R11: 0000000000000000 R12: ffff880001485000
R13: 0000000000000400 R14: ffffea0000000000 R15: 00000000cccccccc
FS: 0000000000000000(0000) GS:ffff880009f6d000(0000) knlGS:0000000000000000
CS: e033 DS: 0000 ES: 0000 CR0: 000000008005003b
CR2: ffff880001485000 CR3: 0000000001a43000 CR4: 0000000000002620
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000000
Process swapper (pid: 1, threadinfo ffff88013290c000, task ffff880132910000)
Stack:
0000000000000000 ffff880000000000 6db6db6db6db6db7 ffffffff81a00000
<0> 0000000000a00000 0000000000000000 ffff88013290dec0 ffffffff8102efe3
<0> ffffffff81e4c6e8 ffffffff81ba3050 0000000000000200 0000000000000200
Call Trace:
[<ffffffff8102efe3>] mark_rodata_ro+0xea/0x151
[<ffffffff810021ea>] init_post+0x30/0x116
[<ffffffff81d827b2>] kernel_init+0x260/0x26f
[<ffffffff8100aae4>] kernel_thread_helper+0x4/0x10
[<ffffffff814790d0>] ? restore_args+0x0/0x30
[<ffffffff8100aae0>] ? kernel_thread_helper+0x0/0x10
Code: c5 49 00 00 48 c1 e8 0c 4c 89 e2 4c 89 e9 48 6b c0 38 48 81 e2 00 f0 ff ff 31 f6 48 89 d7 4c 01 f0 c7 40 08 01 00 00 00 44 89 f8 <f3> ab 4c 89 e7 49 81 c4 00 10 00 00 e8 33 14 0b 00 48 ff 05 46
RIP [<ffffffff8102ec62>] free_init_pages+0xb2/0xdb
RSP <ffff88013290de60>
CR2: ffff880001485000
---[ end trace f2868c03b335220c ]---
swapper used greatest stack depth: 4408 bytes left
Kernel panic - not syncing: Attempted to kill init!
Pid: 1, comm: swapper Tainted: G D 2.6.33-1.fc13.x86_64 #1
Call Trace:
[<ffffffff81475a59>] panic+0x7a/0x142
[<ffffffff81478682>] ? _raw_write_unlock_irq+0x30/0x3b
[<ffffffff8105404b>] ? do_exit+0x3a8/0x7a5
[<ffffffff81053d1e>] do_exit+0x7b/0x7a5
[<ffffffff81478db2>] ? _raw_spin_unlock_irqrestore+0x40/0x56
[<ffffffff8147a00b>] oops_end+0xbf/0xc7
[<ffffffff8102fc35>] no_context+0x1fc/0x20b
[<ffffffff8107ba78>] ? trace_hardirqs_off+0xd/0xf
[<ffffffff8102fdd6>] __bad_area_nosemaphore+0x192/0x1b5
[<ffffffff81004435>] ? __raw_callee_save_xen_pmd_val+0x11/0x1e
[<ffffffff8102fe0c>] bad_area_nosemaphore+0x13/0x15
[<ffffffff8147bb40>] do_page_fault+0x1c1/0x331
[<ffffffff81479375>] page_fault+0x25/0x30
[<ffffffff8107ba78>] ? trace_hardirqs_off+0xd/0xf
[<ffffffff8102ec62>] ? free_init_pages+0xb2/0xdb
[<ffffffff8102efe3>] mark_rodata_ro+0xea/0x151
[<ffffffff810021ea>] init_post+0x30/0x116
[<ffffffff81d827b2>] kernel_init+0x260/0x26f
[<ffffffff8100aae4>] kernel_thread_helper+0x4/0x10
[<ffffffff814790d0>] ? restore_args+0x0/0x30
[<ffffffff8100aae0>] ? kernel_thread_helper+0x0/0x10
--
Norman Gaywood, Computer Systems Officer
University of New England, Armidale, NSW 2351, Australia
ngaywood(a)une.edu.au Phone: +61 (0)2 6773 3337
http://mcs.une.edu.au/~norm Fax: +61 (0)2 6773 3312
Please avoid sending me Word or PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html
13 years, 9 months
Fwd: Broken dependencies: Fedora 13 development - 2010-02-24
by Kyle McMartin
----- Forwarded message from Michael Schwendt <mschwendt(a)gmail.com> -----
Date: Wed, 24 Feb 2010 11:16:43 -0000
From: Michael Schwendt <mschwendt(a)gmail.com>
To: kernel-owner(a)fedoraproject.org
Subject: Broken dependencies: Fedora 13 development - 2010-02-24
Message-Id: <20100224111643.3420.2753(a)faldor.intranet>
The following packages in the repository suffer from broken dependencies:
======================================================================
The results in this summary consider Test Updates!
======================================================================
package: 1:xorg-x11-drv-nouveau-0.0.16-0.20100205gite75dd23.fc13.i686 from fedora-13-development-i386
unresolved deps:
kernel-drm-nouveau = 0:15
package: 1:xorg-x11-drv-nouveau-0.0.16-0.20100205gite75dd23.fc13.x86_64 from fedora-13-development-x86_64
unresolved deps:
kernel-drm-nouveau = 0:15
----- End forwarded message -----
13 years, 9 months
guest kvm-clock issues
by Jon Masters
Folks,
I have a host system running a recent 2.6.33-rc8 kernel, with
constant_tsc, and a bunch of guests. One of them, running rawhide, sees
constant clock drifts on the order of 4-12 hours at a time.
I'm going to play with switching to the acpi_pm timer, but I am
interested in what's happening with the Fedora bugs on this. It seems
that over the past year there have been bugs (e.g. 449187, 475598) that
mention this problem and the issue has been confused with non-constant
tsc host clocksources. The fact that there is the "Bug Zapper" closing
perfectly useful bugs also does not help the situation.
I know the KVM folks are poking at TSC issues, etc. but has anyone got
anything to note on this particular issue?
Jon.
13 years, 9 months
friendly reminder about kernel branches
by Kyle McMartin
To avoid future confusion:
- F-11/ and F-12/:
- 2.6.32, which will hopefully be going into updates RSN.
- F-13/:
- 2.6.33, currently in -RC. Will be staying there quite likely until
Fedora 13 releases, unless 2.6.34 comes out well before -RC of F-13.
- **Your commits for Fedora should go here.**
- devel/:
- Fedora 14 branch, will fork to F-14/ in a couple months.
- Currently 2.6.33-rc as F-13. Moving to 2.6.34-git immediately
after 2.6.33 is stable.
- Commits should *not* happen here. Get your patches upstream for
2.6.34.
- (Frankly I'm tempted to just remove everyone elses commit bits until
we open it to encourage F-13 commits...)
There are stable branches of F-11 and F-12, containing 2.6.30 and 2.6.31
respectively. These are maintenance mode only, pushed straight to stable
so that security fixes can get to users who may have issues with the
2.6.32 in updates-testing. You can get them by:
$ cd rpms/kernel; mkdir stable; pushd stable;
stable$ cp -a ../F-12 .; pushd F-12; cvs up -dr \
private-fedora-12-2_6_31; popd
And ditto with F-11 and private-fedora-11-2_6_30
regards,
Kyle.
13 years, 9 months
re: candidate patches for Dell laptops and netbooks
by Andy Burns
[Apologies because this reply to an ancient message will inevitably
break threading]
On Wed Oct 21 2009 Matt Domsch wrote:
> Mario Limonciello is a Dell engineer,
> he's been working on making sure Dell's notebooks and
> netbooks work with Ubuntu and therefore very recent kernels.
I have a mini9, I was very pleased that F11 worked out of the box on
it, almos every device recognised, while of course there were plenty
of improvements in F12, there have also been some regressions for this
machine.
===
Most annoying is pm-suspend no longer working out of the box, each
time I reboot, I have to
startup in runlevel3,
log in as root on text console
manually perform a pm-suspend
resume by pressing power button
switch to runlevel5
login to Gnome as non-root user
after that rigmarole, I can suspend merely by shutting the lid and
resume by opening it again, just like F11 managed out of the box
https://bugzilla.redhat.com/show_bug.cgi?id=542130
Side effect of having to login to the text console first is that the
GUI session doesn't get to own the SD card slot.
====
Occasionally when unplugging the power lead (1 in 25 or less
frequently) I get the gnome notification
"laptop battery critically low
the battery is blow the critical level
this computer is about to shut down"
If my X session is the only logged-on session the machine shuts down
with no chance to save work or cancel the shutdown, my workaround for
this is to leave another user logged onto a text console, that way the
system policy requests root authentication to shut it down and I can
cancel it, seems that the battery level can momentarily read as 0%
during unplugging, and this panics Gnome Power Management, perhaps it
needs to see two consecutive low readings before it initiates
shutdown?
===
Originally I had big issues with the Dell Wireless 5530 HSPA card,
after loggin a bug and testing updates from Dan Williams, he got it
working, I think there might be a niggle or two left, but recent
updates seem to have broken it again, I ought to do some more tests on
the current version.
===
> bluetooth enable/disable work from mjg.
The bluetooth on/off toggle was a nice addition to F12, I do get an
infrequent issue where blutooth mouse doesn't respond following a
suspend/resume, and needs un-pairing/re-pairing before it works again,
probably not Dell specific.
13 years, 9 months
unexplained panic tracking?
by Jon Masters
Folks,
Is there any log of outstanding unexplained panics other than grepping
bugzilla? I've got a box that falls over rarely and haven't got logs
from it yet - just ordered a 48 port Cyclades TS 3000 so every box at
home will shortly do remote serial logging to resolve this.
Also, any plans to pull Jason's recent kgdb-next bits into Fedora? Or,
once upstream, to have them enabled in release kernels?
Jon.
13 years, 9 months
Re: rpms/kernel/devel linux-2.6-umh-refactor.patch,NONE,1.1
by Kyle McMartin
On Mon, Feb 15, 2010 at 08:31:58PM +0000, Neil Horman wrote:
> Added Files:
> linux-2.6-umh-refactor.patch
> Log Message:
> Resolves: bz557386
>
Thanks Neil, I've committed this to F-12 2.6.32 too, hopefully this
means we can move to 2.6.32 there soon (just in time for 2.6.33. :)
regards, Kyle
13 years, 9 months