Re: PANIC with linux-next-2.6.26-next-20080718
From: Tej
Date: Tue Jul 22 2008 - 07:09:08 EST
On Mon, Jul 21, 2008 at 6:50 PM, Al Viro <viro@xxxxxxxxxxxxxxxxxx> wrote:
> On Mon, Jul 21, 2008 at 04:18:35PM +0530, Tej Parkash wrote:
>> while testing linux-next with commit
>> "commit 43a2c1df777e18dfb0ba48d03b4f8b8ff80f1b57"
>> Author: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx>
>> Date: Fri Jul 18 19:27:47 2008 +1000
>>
>> machine hang with the following panic. config/cpuinfo/lspci are attached.
>> trying git-bisect.
>
> Apply the patch below or try the current linux-next where vfs-next is
> rebased on top of net-next with that sucker folded in.
after applying the patch suggested by you, kernel panic with different
stack trace.
message captured on serial console:
NET: Registered protocol family 16
No dock devices found.
ACPI: bus type pci registered
PCI: MCFG configuration 0: base f0000000 segment 0 buses 0 - 127
PCI: Not using MMCONFIG.
PCI: Using configuration type 1 for base access
ACPI: Interpreter enabled
ACPI: (supports S0 S3 S4 S5)
ACPI: Using IOAPIC for interrupt routing
PCI: MCFG configuration 0: base f0000000 segment 0 buses 0 - 127
PCI: MCFG area at f0000000 reserved in ACPI motherboard resources
PCI: Using MMCONFIG for extended config space
ACPI: PCI Root Bridge [PCI0] (0000:00)
pci 0000:00:03.0: PME# supported from D0 D3hot D3cold
pci 0000:00:03.0: PME# disabled
pci 0000:00:19.0: PME# supported from D0 D3hot D3cold
pci 0000:00:19.0: PME# disabled
pci 0000:00:1a.7: PME# supported from D0 D3hot D3cold
pci 0000:00:1a.7: PME# disabled
pci 0000:00:1b.0: PME# supported from D0 D3hot D3cold
pci 0000:00:1b.0: PME# disabled
pci 0000:00:1c.0: PME# supported from D0 D3hot D3cold
pci 0000:00:1c.0: PME# disabled
pci 0000:00:1c.1: PME# supported from D0 D3hot D3cold
pci 0000:00:1c.1: PME# disabled
pci 0000:00:1c.2: PME# supported from D0 D3hot D3cold
pci 0000:00:1c.2: PME# disabled
pci 0000:00:1c.3: PME# supported from D0 D3hot D3cold
pci 0000:00:1c.3: PME# disabled
pci 0000:00:1c.4: PME# supported from D0 D3hot D3cold
pci 0000:00:1c.4: PME# disabled
pci 0000:00:1d.7: PME# supported from D0 D3hot D3cold
pci 0000:00:1d.7: PME# disabled
pci 0000:00:1f.0: quirk: region 0400-047f claimed by ICH6 ACPI/GPIO/TCO
pci 0000:00:1f.0: quirk: region 0500-053f claimed by ICH6 GPIO
pci 0000:00:1f.2: PME# supported from D3hot
pci 0000:00:1f.2: PME# disabled
pci 0000:00:1f.5: PME# supported from D3hot
pci 0000:00:1f.5: PME# disabled
pci 0000:02:00.0: PME# supported from D0 D1 D3hot
pci 0000:02:00.0: PME# disabled
pci 0000:00:1e.0: transparent bridge
ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 7 9 10 *11 12)
ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 7 9 *10 11 12)
ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 7 9 10 *11 12)
ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 7 9 10 *11 12)
ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 7 *9 10 11 12)
ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 5 7 9 *10 11 12)
ACPI: PCI Interrupt Link [LNKG] (IRQs 3 4 5 7 *9 10 11 12)
ACPI: PCI Interrupt Link [LNKH] (IRQs 3 4 5 7 9 10 *11 12)
Linux Plug and Play Support v0.97 (c) Adam Belay
pnp: PnP ACPI init
ACPI: bus type pnp registered
pnp: PnP ACPI: found 14 devices
ACPI: ACPI bus type pnp unregistered
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
NetLabel: Initializing
NetLabel: domain hash size = 128
NetLabel: protocols = UNLABELED CIPSOv4
NetLabel: unlabeled traffic allowed by default
hpet0: at MMIO 0xfed00000, IRQs 2, 8, 0
hpet0: 3 64-bit timers, 14318180 Hz
tracer: 772 pages allocated for 65536 entries of 48 bytes
actual entries 65620
ACPI: RTC can wake from S4
system 00:01: iomem range 0xf0000000-0xf7ffffff has been reserved
system 00:01: iomem range 0xfed13000-0xfed13fff has been reserved
system 00:01: iomem range 0xfed14000-0xfed17fff has been reserved
system 00:01: iomem range 0xfed18000-0xfed18fff has been reserved
system 00:01: iomem range 0xfed19000-0xfed19fff has been reserved
system 00:01: iomem range 0xfed1c000-0xfed1ffff has been reserved
system 00:01: iomem range 0xfed20000-0xfed3ffff has been reserved
system 00:01: iomem range 0xfed45000-0xfed99fff has been reserved
system 00:01: iomem range 0xc0000-0xdffff could not be reserved
system 00:01: iomem range 0xe0000-0xfffff could not be reserved
system 00:06: ioport range 0x500-0x53f has been reserved
system 00:06: ioport range 0x400-0x47f has been reserved
system 00:06: ioport range 0x680-0x6ff has been reserved
system 00:07: iomem range 0xfed40000-0xfed44fff has been reserved
pci 0000:00:1c.0: PCI bridge, secondary bus 0000:01
pci 0000:00:1c.0: IO window: disabled
pci 0000:00:1c.0: MEM window: disabled
pci 0000:00:1c.0: PREFETCH window: disabled
pci 0000:00:1c.1: PCI bridge, secondary bus 0000:02
pci 0000:00:1c.1: IO window: 0x1000-0x1fff
pci 0000:00:1c.1: MEM window: 0x50000000-0x500fffff
pci 0000:00:1c.1: PREFETCH window: disabled
pci 0000:00:1c.2: PCI bridge, secondary bus 0000:03
pci 0000:00:1c.2: IO window: disabled
pci 0000:00:1c.2: MEM window: disabled
pci 0000:00:1c.2: PREFETCH window: disabled
pci 0000:00:1c.3: PCI bridge, secondary bus 0000:04
pci 0000:00:1c.3: IO window: disabled
pci 0000:00:1c.3: MEM window: disabled
pci 0000:00:1c.3: PREFETCH window: disabled
pci 0000:00:1c.4: PCI bridge, secondary bus 0000:05
pci 0000:00:1c.4: IO window: disabled
pci 0000:00:1c.4: MEM window: disabled
pci 0000:00:1c.4: PREFETCH window: disabled
pci 0000:00:1e.0: PCI bridge, secondary bus 0000:06
pci 0000:00:1e.0: IO window: disabled
pci 0000:00:1e.0: MEM window: disabled
pci 0000:00:1e.0: PREFETCH window: disabled
pci 0000:00:1c.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
pci 0000:00:1c.1: PCI INT B -> GSI 16 (level, low) -> IRQ 16
pci 0000:00:1c.2: PCI INT C -> GSI 18 (level, low) -> IRQ 18
pci 0000:00:1c.3: PCI INT D -> GSI 19 (level, low) -> IRQ 19
pci 0000:00:1c.4: PCI INT A -> GSI 17 (level, low) -> IRQ 17
NET: Registered protocol family 2
IP route cache hash table entries: 32768 (order: 5, 131072 bytes)
TCP established hash table entries: 131072 (order: 8, 1048576 bytes)
TCP bind hash table entries: 65536 (order: 7, 524288 bytes)
TCP: Hash tables configured (established 131072 bind 65536)
TCP reno registered
NET: Registered protocol family 1
checking if image is initramfs... it is
debug: unmapping init memory f7d8c000..f7ff0000
audit: initializing netlink socket (disabled)
type=2000 audit(1216702821.799:1): initialized
highmem bounce pool size: 64 pages
Total HugeTLB memory allocated, 0
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
msgmni has been set to 1756
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered (default)
pcieport-driver 0000:00:1c.0: found MSI capability
pcieport-driver 0000:00:1c.1: found MSI capability
pcieport-driver 0000:00:1c.2: found MSI capability
pcieport-driver 0000:00:1c.3: found MSI capability
pcieport-driver 0000:00:1c.4: found MSI capability
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
[drm] Initialized drm 1.1.0 20060810
pci 0000:00:02.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
[drm:drm_fill_in_dev] *ERROR* Cannot initialize the agpgart module.
DRM: Fill_in_dev failed.
pci 0000:00:02.0: PCI INT A disabled
input: Power Button (FF) as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input0
ACPI: Power Button (FF) [PWRF]
input: Sleep Button (CM) as /devices/LNXSYSTM:00/device:00/PNP0C0E:00/input/inp1
ACPI: Sleep Button (CM) [SLPB]
processor ACPI0007:00: registered as cooling_device0
ACPI: Processor [CPU0] (supports 8 throttling states)
processor ACPI0007:01: registered as cooling_device1
ACPI: Processor [CPU1] (supports 8 throttling states)
khelper used greatest stack depth: 7036 bytes left
Non-volatile memory driver v1.2
Linux agpgart interface v0.103
agpgart: Detected an Intel 965Q Chipset.
agpgart: Detected 7676K stolen memory.
agpgart: AGP aperture is 256M @ 0x40000000
Serial: 8250/16550 driver4 ports, IRQ sharing enabled
ïserial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
00:0b: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
brd: module loaded
loop: module loaded
Intel(R) PRO/1000 Network Driver - version 7.3.20-k2
Copyright (c) 1999-2006 Intel Corporation.
e100: Intel(R) PRO/100 Network Driver, 3.5.23-k4-NAPI
e100: Copyright(c) 1999-2006 Intel Corporation
console [netcon0] enabled
netconsole: network logging started
input: Macintosh mouse button emulation as /devices/virtual/input/input2
Driver 'sd' needs updating - please use bus_type methods
Driver 'sr' needs updating - please use bus_type methods
ata_piix 0000:00:1f.2: PCI INT A -> GSI 19 (level, low) -> IRQ 19
ata_piix 0000:00:1f.2: MAP [ P0 P2 P1 P3 ]
scsi0 : ata_piix
scsi1 : ata_piix
ata1: SATA max UDMA/133 cmd 0x2438 ctl 0x2454 bmdma 0x2410 irq 19
ata2: SATA max UDMA/133 cmd 0x2430 ctl 0x2450 bmdma 0x2418 irq 19
ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
ata1.00: ATA-7: WDC WD1600AAJS-22PSA0, 05.06H05, max UDMA/133
ata1.00: 312581808 sectors, multi 16: LBA48 NCQ (depth 0/32)
ata1.00: configured for UDMA/133
ata2: SATA link down (SStatus 0 SControl 300)
scsi scan: INQUIRY result too short (5), using 36
scsi 0:0:0:0: Direct-Access PQ: 0 ANSI: 0
sd 0:0:0:0: [sda] 312581808 512-byte hardware sectors (160042 MB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPA
sd 0:0:0:0: [sda] 312581808 512-byte hardware sectors (160042 MB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPA
sda: sda1 sda2 < sda5 sda6 sda7 sda8 sda9 sda10 >
sd 0:0:0:0: [sda] Attached SCSI disk
sd 0:0:0:0: Attached scsi generic sg0 type 0
ata_piix 0000:00:1f.5: PCI INT A -> GSI 19 (level, low) -> IRQ 19
ata_piix 0000:00:1f.5: MAP [ P0 -- P1 -- ]
scsi2 : ata_piix
scsi3 : ata_piix
ata3: SATA max UDMA/133 cmd 0x2428 ctl 0x244c bmdma 0x20f0 irq 19
ata4: SATA max UDMA/133 cmd 0x2420 ctl 0x2448 bmdma 0x20f8 irq 19
ata3: SATA link down (SStatus 0 SControl 300)
ata4: SATA link down (SStatus 0 SControl 300)
ehci_hcd 0000:00:1a.7: PCI INT C -> GSI 18 (level, low) -> IRQ 18
ehci_hcd 0000:00:1a.7: EHCI Host Controller
ehci_hcd 0000:00:1a.7: new USB bus registered, assigned bus number 1
ehci_hcd 0000:00:1a.7: debug port 1
ehci_hcd 0000:00:1a.7: irq 18, io mem 0x50225400
ehci_hcd 0000:00:1a.7: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 4 ports detected
usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb1: Product: EHCI Host Controller
usb usb1: Manufacturer: Linux 2.6.26-next-20080718 ehci_hcd
usb usb1: SerialNumber: 0000:00:1a.7
ehci_hcd 0000:00:1d.7: PCI INT A -> GSI 23 (level, low) -> IRQ 23
ehci_hcd 0000:00:1d.7: EHCI Host Controller
ehci_hcd 0000:00:1d.7: new USB bus registered, assigned bus number 2
ehci_hcd 0000:00:1d.7: debug port 1
ehci_hcd 0000:00:1d.7: irq 23, io mem 0x50225000
ehci_hcd 0000:00:1d.7: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
usb usb2: configuration #1 chosen from 1 choice
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 6 ports detected
usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb2: Product: EHCI Host Controller
usb usb2: Manufacturer: Linux 2.6.26-next-20080718 ehci_hcd
usb usb2: SerialNumber: 0000:00:1d.7
USB Universal Host Controller Interface driver v3.0
uhci_hcd 0000:00:1a.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
uhci_hcd 0000:00:1a.0: UHCI Host Controller
uhci_hcd 0000:00:1a.0: new USB bus registered, assigned bus number 3
uhci_hcd 0000:00:1a.0: detected 2 ports
uhci_hcd 0000:00:1a.0: irq 16, io base 0x000020a0
usb usb3: configuration #1 chosen from 1 choice
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 2 ports detected
usb usb3: New USB device found, idVendor=1d6b, idProduct=0001
usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb3: Product: UHCI Host Controller
usb usb3: Manufacturer: Linux 2.6.26-next-20080718 uhci_hcd
usb usb3: SerialNumber: 0000:00:1a.0
uhci_hcd 0000:00:1a.1: PCI INT B -> GSI 21 (level, low) -> IRQ 21
uhci_hcd 0000:00:1a.1: UHCI Host Controller
uhci_hcd 0000:00:1a.1: new USB bus registered, assigned bus number 4
uhci_hcd 0000:00:1a.1: detected 2 ports
uhci_hcd 0000:00:1a.1: irq 21, io base 0x00002080
usb usb4: configuration #1 chosen from 1 choice
hub 4-0:1.0: USB hub found
hub 4-0:1.0: 2 ports detected
usb usb4: New USB device found, idVendor=1d6b, idProduct=0001
usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb4: Product: UHCI Host Controller
usb usb4: Manufacturer: Linux 2.6.26-next-20080718 uhci_hcd
usb usb4: SerialNumber: 0000:00:1a.1
uhci_hcd 0000:00:1d.0: PCI INT A -> GSI 23 (level, low) -> IRQ 23
uhci_hcd 0000:00:1d.0: UHCI Host Controller
uhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 5
uhci_hcd 0000:00:1d.0: detected 2 ports
uhci_hcd 0000:00:1d.0: irq 23, io base 0x00002060
usb usb5: configuration #1 chosen from 1 choice
hub 5-0:1.0: USB hub found
hub 5-0:1.0: 2 ports detected
usb usb5: New USB device found, idVendor=1d6b, idProduct=0001
usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb5: Product: UHCI Host Controller
usb usb5: Manufacturer: Linux 2.6.26-next-20080718 uhci_hcd
usb usb5: SerialNumber: 0000:00:1d.0
uhci_hcd 0000:00:1d.1: PCI INT B -> GSI 19 (level, low) -> IRQ 19
uhci_hcd 0000:00:1d.1: UHCI Host Controller
uhci_hcd 0000:00:1d.1: new USB bus registered, assigned bus number 6
uhci_hcd 0000:00:1d.1: detected 2 ports
uhci_hcd 0000:00:1d.1: irq 19, io base 0x00002040
usb usb6: configuration #1 chosen from 1 choice
hub 6-0:1.0: USB hub found
hub 6-0:1.0: 2 ports detected
usb usb6: New USB device found, idVendor=1d6b, idProduct=0001
usb usb6: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb6: Product: UHCI Host Controller
usb usb6: Manufacturer: Linux 2.6.26-next-20080718 uhci_hcd
usb usb6: SerialNumber: 0000:00:1d.1
uhci_hcd 0000:00:1d.2: PCI INT C -> GSI 18 (level, low) -> IRQ 18
uhci_hcd 0000:00:1d.2: UHCI Host Controller
uhci_hcd 0000:00:1d.2: new USB bus registered, assigned bus number 7
uhci_hcd 0000:00:1d.2: detected 2 ports
uhci_hcd 0000:00:1d.2: irq 18, io base 0x00002020
usb usb7: configuration #1 chosen from 1 choice
hub 7-0:1.0: USB hub found
hub 7-0:1.0: 2 ports detecuntitled folderted
usb usb7: New USB device found, idVendor=1d6b, idProduct=0001
usb usb7: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb7: Product: UHCI Host Controller
usb usb7: Manufacturer: Linux 2.6.26-next-20080718 uhci_hcd
usb usb7: SerialNumber: 0000:00:1d.2
usbcore: registered new interface driver usblp
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
usbcore: registered new interface driver libusual
PNP: PS/2 Controller [PNP0303:PS2K,PNP0f03:PS2M] at 0x60,0x64 irq 1,12
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
input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/inp3
rtc_cmos 00:03: rtc core: registered rtc_cmos as rtc0
rtc0: alarms up to one month
i801_smbus 0000:00:1f.3: PCI INT B -> GSI 21 (level, low) -> IRQ 21
device-mapper: ioctl: 4.14.0-ioctl (2008-04-23) initialised: dm-devel@xxxxxxxxxx
cpuidle: using governor ladder
cpuidle: using governor menu
usbcore: registered new interface driver hiddev
usbcore: registered new interface driver usbhid
usbhid: v2.6:USB HID core driver
Advanced Linux Sound Architecture Driver Version 1.0.17.
modprobe: FATAL: Could not load /lib/modules/2.6.26-next-20080718/modules.dep: y
modprobe used greatest stack depth: 7012 bytes left
HDA Intel 0000:00:1b.0: PCI INT A -> GSI 22 (level, low) -> IRQ 22
ALSA device list:
#0: HDA Intel at 0x50220000 irq 22
Netfilter messages via NETLINK v0.30.
nf_conntrack version 0.5.0 (16384 buckets, 65536 max)
ctnetlink v0.93: registering with nfnetlink.
ip_tables: (C) 2000-2006 Netfilter Core Team
TCP cubic registered
Initializing XFRM netlink socket
NET: Registered protocol family 10
ip6_tables: (C) 2000-2006 Netfilter Core Team
IPv6 over IPv4 tunneling driver
NET: Registered protocol family 17
Starting balanced_irq
Using IPI No-Shortcut mode
registered taskstats version 1
Magic number: 0:149:12
usb_host usb_host1: hash matches
------------[ cut here ]------------
kernel BUG at security/selinux/avc.c:883!
invalid opcode: 0000 [#1] SMP DEBUG_PAGEALLOC
last sysfs file:
Modules linked in:
Pid: 1, comm: swapper Not tainted (2.6.26-next-20080718 #23)
EIP: 0060:[<c02e8680>] EFLAGS: 00010246 CPU: 1
EIP is at avc_has_perm_noaudit+0x19/0x2d7
EAX: 00000001 EBX: 00000006 ECX: 00000006 EDX: 00000003
ESI: f7812370 EDI: f7877e20 EBP: f7877e04 ESP: f7877db0
DS: 007b ES: 007b FS: 00d8 GS: 0000 SS: 0068
Process swapper (pid: 1, ti=f7876000 task=f7878000 task.ti=f7876000)
Stack: f7877dc0 0006c058 00000003 00000001 00000001 00000000 00000000 f740ab00
f7877efc f7877dfc c028aebd f7877e64 f74020b0 00000004 019ff37b f78f0001
019ff37b f740ab00 00000006 f7812370 f7877e20 f7877e40 c02e9313 00000000
Call Trace:
[<c028aebd>] ? __d_lookup+0x9b/0xd7
[<c02e9313>] ? avc_has_perm+0x22/0x43
[<c02846d8>] ? __link_path_walk+0x953/0xa66
[<c02e9ddd>] ? inode_has_perm+0x5e/0x68
[<c02ec76a>] ? selinux_inode_permission+0xff/0x108
[<c02e6f15>] ? security_inode_permission+0x1a/0x20
[<c0282609>] ? permission+0xc8/0xdc
[<c028263f>] ? vfs_permission+0x10/0x12
[<c027b31a>] ? sys_faccessat+0xb7/0x152
[<c022670e>] ? insert_resource+0x24/0x15a
[<c022ec60>] ? flush_cpu_workqueue+0x2a/0x66
[<c07456b1>] ? pci_mmcfg_insert_resources+0xc1/0xf6
[<c027b3c5>] ? sys_access+0x10/0x12
[<c072364a>] ? kernel_init+0x223/0x247
[<c0748602>] ? tcp_congestion_default+0x0/0xf
[<c021d429>] ? schedule_tail+0x19/0x48
[<c020376a>] ? ret_from_fork+0x6/0x1c
[<c0723427>] ? kernel_init+0x0/0x247
[<c0723427>] ? kernel_init+0x0/0x247
[<c0204427>] ? kernel_thread_helper+0x7/0x10
=======================
Code: b6 7d c0 89 55 ec eb bb 83 c4 14 89 f8 5b 5e 5f 5d c3 55 89 e5 57 56 53 8
EIP: [<c02e8680>] avc_has_perm_noaudit+0x19/0x2d7 SS:ESP 0068:f7877db0
---[ end trace 7ce084a488fdd36e ]---
usb usb3: suspend_rh (auto-stop)
Kernel panic - not syncing: Attempted to kill init!
Pid: 1, comm: swapper Tainted: G D 2.6.26-next-20080718 #23
[<c02215b1>] panic+0x3f/0xe1
[<c0223fa8>] do_exit+0x5b/0x720
[<c0221fa6>] ? printk+0x15/0x17
[<c022136e>] ? print_oops_end_marker+0x1e/0x23
[<c0204b14>] die+0x127/0x12f
[<c0554a30>] do_trap+0x8a/0xa3
[<c0204b93>] ? do_invalid_op+0x0/0x76
[<c0204bff>] do_invalid_op+0x6c/0x76
[<c02e8680>] ? avc_has_perm_noaudit+0x19/0x2d7
[<c02e932a>] ? avc_has_perm+0x39/0x43
[<c0554732>] error_code+0x72/0x78
[<c02e8680>] ? avc_has_perm_noaudit+0x19/0x2d7
[<c028aebd>] ? __d_lookup+0x9b/0xd7
[<c02e9313>] avc_has_perm+0x22/0x43
[<c02846d8>] ? __link_path_walk+0x953/0xa66
[<c02e9ddd>] inode_has_perm+0x5e/0x68
[<c02ec76a>] selinux_inode_permission+0xff/0x108
[<c02e6f15>] security_inode_permission+0x1a/0x20
usb usb4: suspend_rh (auto-stop)
[<c0282609>] permission+0xc8/0xdc
[<c028263f>] vfs_permission+0x10/0x12
[<c027b31a>] sys_faccessat+0xb7/0x152
[<c022670e>] ? insert_resource+0x24/0x15a
[<c022ec60>] ? flush_cpu_workqueue+0x2a/0x66
[<c07456b1>] ? pci_mmcfg_insert_resources+0xc1/0xf6
[<c027b3c5>] sys_access+0x10/0x12
[<c072364a>] kernel_init+0x223/0x247
[<c0748602>] ? tcp_congestion_default+0x0/0xf
[<c021d429>] ? schedule_tail+0x19/0x48
[<c020376a>] ? ret_from_fork+0x6/0x1c
[<c0723427>] ? kernel_init+0x0/0x247
[<c0723427>] ? kernel_init+0x0/0x247
[<c0204427>] kernel_thread_helper+0x7/0x10
=======================
latest linux-next20080721 is not showing the above panic but a differnt panic.
BUG: Int 14: CR2 b0017833
EDI 00000082 ESI 00000000 EBP c059be88 ESP c059be5c
EBX f000ec62 EDX 0000000e ECX c0595480 EAX f000ec62
err 00000000 EIP c0181ca0 CS 00000060 flg 00010082
Below link suggested a patch to solve the bug, after applying the
patch the machine booted normally
http://lkml.org/lkml/2008/7/14/444
thanks
tej
>
> diff --git a/net/sysctl_net.c b/net/sysctl_net.c
> index b91a5de..2240a9e 100644
> --- a/net/sysctl_net.c
> +++ b/net/sysctl_net.c
> @@ -44,13 +44,6 @@ static struct ctl_table_root net_sysctl_root = {
> .lookup = net_ctl_header_lookup,
> };
>
> -static LIST_HEAD(net_sysctl_ro_tables);
> -static struct list_head *net_ctl_ro_header_lookup(struct ctl_table_root *root,
> - struct nsproxy *namespaces)
> -{
> - return &net_sysctl_ro_tables;
> -}
> -
> static int net_ctl_ro_header_perms(struct ctl_table_root *root,
> struct nsproxy *namespaces, struct ctl_table *table)
> {
> @@ -61,7 +54,6 @@ static int net_ctl_ro_header_perms(struct ctl_table_root *root,
> }
>
> static struct ctl_table_root net_sysctl_ro_root = {
> - .lookup = net_ctl_ro_header_lookup,
> .permissions = net_ctl_ro_header_perms,
> };
>
> @@ -89,6 +81,7 @@ static __init int sysctl_init(void)
> if (ret)
> goto out;
> register_sysctl_root(&net_sysctl_root);
> + setup_sysctl_set(&net_sysctl_ro_root.default_set, NULL, NULL);
> register_sysctl_root(&net_sysctl_ro_root);
> out:
> return ret;
>
>
¢éì®&Þ~º&¶¬+-±éÝ¥w®Ë±Êâmébìdz¹Þ)í
æèw*jg¬±¨¶Ýj/êäz¹Þà2Þ¨èÚ&¢)ß«a¶Úþø®G«éh®æj:+v¨wèÙ>W±êÞiÛaxPjØm¶ÿÃ-»+ùd_