Re: loopback device + crypto = crash on 2.6.0-test7 ?

From: Peter Lieverdink
Date: Mon Nov 10 2003 - 18:31:42 EST


At 09:41 11/11/2003, you wrote:
In article <20031109131018.GA18342@xxxxxxxxxxxxx>,
Florian Weimer <fw@xxxxxxxxxxxxx> wrote:
| Soeren Sonnenburg wrote:
|
| > losetup -e blowfish /dev/loop0 /file
| > Password:
| > mkfs -t ext3 /dev/loop0
| > mount /dev/loop0 /mnt
| > <error unknown fs type>
| > <from here something was seriously broken... could not reboot anymore>
|
| I'm seeing something similar, but in my case, mke2fs already crashes.
|
| > system is:
| > Linux no 2.6.0-test7 #8 Sun Oct 26 17:00:49 CET 2003 ppc GNU/Linux
|
| Mine ist -test9 on x86.
|
| Have you found a solution in the meantime?

I have been using aes and not seeing this. I suppose it's unlikely that
there could be an error in the kernel crypto, but I think I'll wait and
try blowfish on a non-critical machine.

My solution has been to not use cryptofs, it crashes with whatever algorithm I choose :-(

I agree that something is very broken, though. Mind you, I can only replicate this problem on one of my machines - the other one I've tried it on seems to work fine. Odder still, when I compile a kernel on the machine which is fine and ruin said kernel on the machine which is not fine, I don't experience the crash.

I've attached a traced session plus the config used, may it be of use to someone (please! :-)

- Peter.

Attachment: config-2.6.0-test8_kahlua
Description: Binary data

Linux version 2.6.0-test8 (root@kahlua) (gcc version 3.3.2 (Debian)) #1 Sun Oct 19 16:24:32 EST 2003
Video mode to be used for restore is f00
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 000000003fff0000 (usable)
BIOS-e820: 000000003fff0000 - 000000003fff3000 (ACPI NVS)
BIOS-e820: 000000003fff3000 - 0000000040000000 (ACPI data)
BIOS-e820: 00000000fec00000 - 00000000fec01000 (reserved)
BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved)
BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved)
127MB HIGHMEM available.
896MB LOWMEM available.
found SMP MP-table at 000f4db0
hm, page 000f4000 reserved twice.
hm, page 000f5000 reserved twice.
hm, page 000f0000 reserved twice.
hm, page 000f1000 reserved twice.
On node 0 totalpages: 262128
DMA zone: 4096 pages, LIFO batch:1
Normal zone: 225280 pages, LIFO batch:16
HighMem zone: 32752 pages, LIFO batch:7
DMI 2.3 present.
ACPI: RSDP (v000 GBT ) @ 0x000f6730
ACPI: RSDT (v001 GBT AWRDACPI 0x42302e31 AWRD 0x01010101) @ 0x3fff3000
ACPI: FADT (v001 GBT AWRDACPI 0x42302e31 AWRD 0x01010101) @ 0x3fff3040
ACPI: MADT (v001 GBT AWRDACPI 0x42302e31 AWRD 0x01010101) @ 0x3fff7280
ACPI: DSDT (v001 GBT AWRDACPI 0x00001000 MSFT 0x0100000c) @ 0x00000000
ACPI: Local APIC address 0xfee00000
ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
Processor #0 6:8 APIC version 16
ACPI: LAPIC_NMI (acpi_id[0x00] polarity[0x0] trigger[0x0] lint[0x1])
ACPI: IOAPIC (id[0x02] address[0xfec00000] global_irq_base[0x0])
IOAPIC[0]: Assigned apic_id 2
IOAPIC[0]: apic_id 2, version 3, address 0xfec00000, IRQ 0-23
ACPI: INT_SRC_OVR (bus[0] irq[0x0] global_irq[0x2] polarity[0x0] trigger[0x0])
ACPI: INT_SRC_OVR (bus[0] irq[0x9] global_irq[0x9] polarity[0x3] trigger[0x3])
Enabling APIC mode: Flat. Using 1 I/O APICs
Using ACPI (MADT) for SMP configuration information
Building zonelist for node : 0
Kernel command line: root=/dev/hda2 video=matroxfb:vesa:0x192 console=ttyS0
Initializing CPU#0
PID hash table entries: 4096 (order 12: 32768 bytes)
Debug: sleeping function called from invalid context at include/linux/rwsem.h:66
in_atomic():1, irqs_disabled():1
Call Trace:
[<c01201f0>] __might_sleep+0xa0/0xf0
[<c025b0be>] cpufreq_register_notifier+0x2e/0xa0
[<c0105000>] _stext+0x0/0x60
[<c037ee4c>] init_tsc+0x4c/0x170
[<c0105000>] _stext+0x0/0x60
[<c011563f>] select_timer+0x2f/0x50
[<c037b552>] time_init+0x42/0x70
[<c03786b6>] start_kernel+0xb6/0x160
[<c03784c0>] unknown_bootoption+0x0/0x100

Detected 2009.799 MHz processor.
Console: colour VGA+ 80x25
Memory: 1034072k/1048512k available (1788k kernel code, 13500k reserved, 728k data, 340k init, 131008k highmem)
Debug: sleeping function called from invalid context at mm/slab.c:1857
in_atomic():1, irqs_disabled():0
Call Trace:
[<c01201f0>] __might_sleep+0xa0/0xf0
[<c0144de5>] kmem_cache_alloc+0x65/0x70
[<c0105000>] _stext+0x0/0x60
[<c0143f32>] kmem_cache_create+0x72/0x4d0
[<c0383ea0>] mem_init+0x1a0/0x210
[<c0105000>] _stext+0x0/0x60
[<c0386efe>] kmem_cache_init+0x11e/0x2c0
[<c03786d0>] start_kernel+0xd0/0x160
[<c03784c0>] unknown_bootoption+0x0/0x100

Calibrating delay loop... 3956.73 BogoMIPS
Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 256K (64 bytes/line)
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
CPU: AMD Athlon(tm) XP 2400+ stepping 01
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
enabled ExtINT on CPU#0
ESR value before enabling vector: 00000000
ESR value after enabling vector: 00000000
ENABLING IO-APIC IRQs
..TIMER: vector=0x31 pin1=2 pin2=-1
testing the IO APIC.......................
.................................... done.
Using local APIC timer interrupts.
calibrating APIC timer ...
..... CPU clock speed is 2009.0117 MHz.
..... host bus clock speed is 267.0882 MHz.
NET: Registered protocol family 16
PCI: PCI BIOS revision 2.10 entry at 0xfa050, last bus=1
PCI: Using configuration type 1
mtrr: v2.0 (20020519)
ACPI: Subsystem revision 20031002
ACPI: Interpreter enabled
ACPI: Using IOAPIC for interrupt routing
ACPI: PCI Root Bridge [PCI0] (00:00)
PCI: Probing PCI hardware (bus 00)
ACPI: PCI Interrupt Link [LNKA] (IRQs 1 3 4 5 6 7 *10 11 12 14 15)
ACPI: PCI Interrupt Link [LNKB] (IRQs 1 *3 4 5 6 7 10 11 12 14 15)
ACPI: PCI Interrupt Link [LNKC] (IRQs 1 3 4 5 6 7 10 *11 12 14 15)
ACPI: PCI Interrupt Link [LNKD] (IRQs 1 3 4 5 6 *7 10 11 12 14 15)
ACPI: PCI Interrupt Link [ALKA] (IRQs 20)
ACPI: PCI Interrupt Link [ALKB] (IRQs 21)
ACPI: PCI Interrupt Link [ALKC] (IRQs 22)
ACPI: PCI Interrupt Link [ALKD] (IRQs 23)
drivers/usb/core/usb.c: registered new driver usbfs
drivers/usb/core/usb.c: registered new driver hub
_CRS returns NULL! Using IRQ 21 for device (PCI Interrupt Link [ALKB]).
ACPI: PCI Interrupt Link [ALKB] enabled at IRQ 21
_CRS returns NULL! Using IRQ 20 for device (PCI Interrupt Link [ALKA]).
ACPI: PCI Interrupt Link [ALKA] enabled at IRQ 20
_CRS returns NULL! Using IRQ 22 for device (PCI Interrupt Link [ALKC]).
ACPI: PCI Interrupt Link [ALKC] enabled at IRQ 22
_CRS returns NULL! Using IRQ 23 for device (PCI Interrupt Link [ALKD]).
ACPI: PCI Interrupt Link [ALKD] enabled at IRQ 23
PCI: Using ACPI for IRQ routing
PCI: if you experience problems, try using option 'pci=noacpi' or even 'acpi=off'
matroxfb: Matrox G450 detected
matroxfb: MTRR's turned on
matroxfb: 1152x864x16bpp (virtual: 1152x65536)
matroxfb: framebuffer at 0xD8000000, mapped to 0xf8811000, size 33554432
fb0: MATROX frame buffer device
fb0: initializing hardware
Machine check exception polling timer started.
ikconfig 0.7 with /proc/config*
highmem bounce pool size: 64 pages
Initializing Cryptographic API
PCI: Via IRQ fixup for 0000:00:10.0, from 10 to 5
PCI: Via IRQ fixup for 0000:00:10.1, from 3 to 5
PCI: Via IRQ fixup for 0000:00:10.2, from 11 to 5
ACPI: Power Button (FF) [PWRF]
ACPI: Processor [CPU0] (supports C1, 2 throttling states)
Console: switching to colour frame buffer device 144x54
pty: 256 Unix98 ptys configured
Real Time Clock Driver v1.12
Linux agpgart interface v0.100 (c) Dave Jones
agpgart: Detected VIA KT400/KT400A/KT600 chipset
agpgart: Maximum main memory to use for agp memory: 941M
agpgart: AGP aperture is 128M @ 0xd0000000
Serial: 8250/16550 driver $Revision: 1.90 $ 8 ports, IRQ sharing disabled
ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
3c59x: Donald Becker and others. www.scyld.com/network/vortex.html
0000:00:0a.0: 3Com PCI 3c905C Tornado at 0xd000. Vers LK1.1.19
Universal TUN/TAP device driver 1.5 (C)1999-2002 Maxim Krasnyansky
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
VP_IDE: IDE controller at PCI slot 0000:00:11.1
VP_IDE: chipset revision 6
VP_IDE: not 100% native mode: will probe irqs later
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
VP_IDE: VIA vt8235 (rev 00) IDE UDMA133 controller on pci0000:00:11.1
ide0: BM-DMA at 0xe800-0xe807, BIOS settings: hda:DMA, hdb:pio
ide1: BM-DMA at 0xe808-0xe80f, BIOS settings: hdc:DMA, hdd:pio
hda: WDC WD800JB-00ETA0, ATA DISK drive
Using anticipatory io scheduler
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
hdc: Pioneer DVD-ROM ATAPIModel DVD-113 0114, ATAPI CD/DVD-ROM drive
ide1 at 0x170-0x177,0x376 on irq 15
hda: max request size: 1024KiB
hda: 156301488 sectors (80026 MB) w/8192KiB Cache, CHS=16383/255/63, UDMA(100)
hda: hda1 hda2
Console: switching to colour frame buffer device 144x54
matroxfb_crtc2: secondary head of fb0 was registered as fb1
drivers/usb/host/uhci-hcd.c: USB Universal Host Controller Interface driver v2.1
uhci_hcd 0000:00:10.0: UHCI Host Controller
uhci_hcd 0000:00:10.0: irq 21, io base 0000dc00
uhci_hcd 0000:00:10.0: new USB bus registered, assigned bus number 1
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
uhci_hcd 0000:00:10.1: UHCI Host Controller
uhci_hcd 0000:00:10.1: irq 21, io base 0000e000
uhci_hcd 0000:00:10.1: new USB bus registered, assigned bus number 2
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 2 ports detected
uhci_hcd 0000:00:10.2: UHCI Host Controller
uhci_hcd 0000:00:10.2: irq 21, io base 0000e400
uhci_hcd 0000:00:10.2: new USB bus registered, assigned bus number 3
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 2 ports detected
drivers/usb/core/usb.c: registered new driver hiddev
drivers/usb/core/usb.c: registered new driver hid
drivers/usb/input/hid-core.c: v2.0:USB HID core driver
mice: PS/2 mouse device common for all mice
serio: i8042 AUX port at 0x60,0x64 irq 12
input: AT Translated Set 2 keyboard on isa0060/serio0
serio: i8042 KBD port at 0x60,0x64 irq 1
NET: Registered protocol family 2
hub 1-0:1.0: new USB device on port 1, assigned address 2
IP: routing cache hash table of 8192 buckets, 64Kbytes
TCP: Hash tables configured (established 262144 bind 65536)
ip_conntrack version 2.1 (8191 buckets, 65528 max) - 300 bytes per conntrack
ip_tables: (C) 2000-2002 Netfilter core team
ipt_recent v0.3.1: Stephen Frost <sfrost@xxxxxxxxxxx>. http://snowman.net/projects/ipt_recent/
NET: Registered protocol family 1
NET: Registered protocol family 17
BIOS EDD facility v0.10 2003-Oct-11, 1 devices found
Please report your BIOS at http://domsch.com/linux/edd30/results.html
ACPI: (supports S0 S3 S4 S5)
kjournald starting. Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem) readonly.
Freeing unused kernel memory: 340k freed
INIT: version 2.85 booting
Starting Bootlog daemon: bootlogd.
Activating swap.
Checking root file system...
fsck 1.35-WIP (21-Aug-2003)
Linux: clean, 99544/809600 filesEXT3 FS on hda2, internal journal
, 804738/1616540 blocks
System time was Sun Oct 19 06:43:54 UTC 2003.
Setting the System Clock using the Hardware Clock as reference...
System Clock set. System local time is now Sun Oct 19 16:43:56 EST 2003.
Calculating module dependencies... done.
Loading modules...
All modules loaded.
Checking all file systems...
fsck 1.35-WIP (21-Aug-2003)
Setting kernel variables..
Mounting local filesystems...
/dev/shm on /tmp type tmpfs (rw,size=512M)
/dev/shm on /var/tmp type tmpfs (rw,size=256M)
none on /sys type sysfs (rw)
none on /proc/bus/usb type usbfs (rw)
Cleaning: /etc/network/ifstate.
Setting up IP spoofing protection: rp_filter.
Configuring network interfaces... Internet Software Consortium DHCP Client 2.0pl5
Copyright 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium.
All rights reserved.

Please contribute if you find this software useful.
For info, please visit http://www.isc.org/dhcp-contrib.html

Listening on LPF/eth0/00:50:da:b8:e4:e6
Sending on LPF/eth0/00:50:da:b8:e4:e6
Sending on Socket/fallback/fallback-net
DHCPREQUEST on eth0 to 255.255.255.255 port 67
DHCPACK from 210.8.121.68
bound to 210.8.121.79 -- renewal in 900 seconds.
done.
ttyS1: LSR safety check engaged!
ttyS1: LSR safety check engaged!

Starting portmap daemon: portmap.
Loading the saved-state of the serial devices...
/dev/ttyS0 at 0x03f8 (irq = 4) is a 16550A
/dev/ttyS1 at 0x02f8 (irq = 3) is a 16550A

Setting the System Clock using the Hardware Clock as reference...
System Clock set. Local time: Sun Oct 19 16:43:59 EST 2003

Cleaning: /tmp /var/lock /var/run.
Initializing random number generator... done.
Recovering nvi editor sessions... done.
Setting up X server socket directory /tmp/.X11-unix...done.
INIT: Entering runlevel: 2
Starting system log daemon: syslogd.
Starting kernel log daemon: klogd.
Starting Advanced Configuration and Power Interface daemon: acpid.
Starting mouse interface server: gpm.
Starting internet superserver: inetd.
Starting printer spooler: lpd.
Starting mail transport agent: Postfix.
Enabling S.M.A.R.T. for: /dev/hdadrivers/usb/input/hid-core.c: ctrl urb status -104 received
drivers/usb/input/hid-core.c: timeout initializing reports

input: USB HID v1.00 Mouse [Logitech Inc. iFeel Mouse ] on usb-0000:00:10.0-1
hub 1-0:1.0: new USB device on port 2, assigned address 3
.
hub 1-2:1.0: USB hub found
Starting S.M.A.Rhub 1-2:1.0: 3 ports detected
.T. daemon: smartdhub 3-0:1.0: new USB device on port 2, assigned address 2
hub 1-2:1.0: new USB device on port 1, assigned address 4
input: USB HID v1.00 Keyboard [Chicony PFU-65 USB Keyboard] on usb-0000:00:10.0-2.1
.
Starting OpenBSD Secure Shell sehub 1-2:1.0: new USB device on port 3, assigned address 5
rver: sshdinput: USB HID v1.00 Joystick [Microsoft Microsoft SideWinder game controller] on usb-0000:00:10.0-2.3
.
Starting deferred execution scheduler: atd.
Starting periodic command scheduler: cronbootlogd.

Connected to Linux kahlua ttyS0

kahlua login: root
Password:
Last login: Sun Oct 19 16:42:59 2003 on ttyS0
Linux kahlua 2.6.0-test8 #1 Sun Oct 19 16:24:32 EST 2003 i686 GNU/Linux

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
kahlua:~# modprobe loop
loop: loaded (max 8 devices)
kahlua:~# modprobe cryptoloop
kahlua:~# modprobe aes
kahlua:~# losetup -e aes /dev/loop0 /root/foo.dsk
Password:
kahlua:~# mkfs -t ext2 /dev/loop0
mke2fs 1.35-WIP (21-Aug-2003)
Filesystem label=
OS type: Linux
Block size=1024 (log=0)
Fragment size=1024 (log=0)
16384 inodes, 65536 blocks
3276 blocks (5.00%) reserved for the super user
First data block=1
8 block groups
8192 blocks per group, 8192 fragments per group
2048 inodes per group
Superblock backups stored on blocks:
8193, 24577, 40961, 57345

Writing inode tables: 0/81/82/83/84/85/86/87/8done
Writing superblocks and filesystem accounting information: done

This filesystem will be automatically checked every 23 mounts or
180 days, whichever comes first. Use tune2fs -c or -i to override.
kahlua:~# ------------[ cut here ]------------
kernel BUG at mm/memory.c:1515!
invalid operand: 0000 [#1]
CPU: 0
EIP: 0060:[<c014bca0>] Not tainted
EFLAGS: 00010246
EIP is at do_file_page+0x100/0x110
eax: 00000000 ebx: f7d18200 ecx: fffedffc edx: f7d17bfc
esi: 00000001 edi: bffff604 ebp: f7cf1d94 esp: f7cf1d6c
ds: 007b es: 007b ss: 0068
Process syslogd (pid: 174, threadinfo=f7cf0000 task=f7d9a0c0)
Stack: f7d17bfc 00000ffc f7cf1d94 c0149a54 c19f20e0 00000007 f7dc6440 f7d17bfc
bffff604 f7dc6440 f7cf1dc4 c014bd38 f7dc6440 f7d18200 bffff604 00000001
fffedffc f7d17bfc f79e5000 f7dc6440 f7dc6460 f7d18200 f7cf1e74 c011cf90
Call Trace:
[<c0149a54>] pte_alloc_map+0xa4/0xd0
[<c014bd38>] handle_mm_fault+0x88/0x180
[<c011cf90>] do_page_fault+0x320/0x53a
[<c01417be>] buffered_rmqueue+0xce/0x170
[<c011eb39>] schedule+0x2f9/0x580
[<c011cc70>] do_page_fault+0x0/0x53a
[<c010ad79>] error_code+0x2d/0x38
[<c0109b92>] setup_frame+0xc2/0x1e0
[<c010a066>] handle_signal+0x106/0x150
[<c010a145>] do_signal+0x95/0xf0
[<c016c202>] sys_select+0x222/0x4d0
[<c010a1db>] do_notify_resume+0x3b/0x40
[<c010a3ba>] work_notifysig+0x13/0x15

Code: 0f 0b eb 05 1b ab 2d c0 e9 2c ff ff ff 8d 76 00 55 ba 00 e0
<6>note: syslogd[174] exited with preempt_count 2
swap_free: Bad swap file entry f820ea5d
------------[ cut here ]------------
kernel BUG at include/linux/mm.h:267!
invalid operand: 0000 [#2]
CPU: 0
EIP: 0060:[<c0154d4d>] Not tainted
EFLAGS: 00010246
EIP is at free_page_and_swap_cache+0x3d/0x70
eax: 00000000 ebx: c147ebe0 ecx: 00000000 edx: c03d1688
esi: fffed13c edi: 00001000 ebp: f7cf1b4c esp: f7cf1b44
ds: 007b es: 007b ss: 0068
Process syslogd (pid: 174, threadinfo=f7cf0000 task=f7d9a0c0)
Stack: fffed13c 00000000 f7cf1b80 c014a0b8 c147ebe0 00000007 00000020 0000007b
c147ebe0 1cc4c139 0804f000 c03d1688 f7d17084 0844f000 08050000 f7cf1ba8
c014a13e c03d1688 f7d17080 0804f000 00001000 c03d1688 0804f000 f7d17084
Call Trace:
[<c014a0b8>] zap_pte_range+0x188/0x1c0
[<c014a13e>] zap_pmd_range+0x4e/0x70
[<c014a1a1>] unmap_page_range+0x41/0x70
[<c014a2c0>] unmap_vmas+0xf0/0x220
[<c014e229>] exit_mmap+0x79/0x190
[<c0120875>] mmput+0x65/0xc0
[<c012472e>] do_exit+0xde/0x410
[<c010b700>] do_invalid_op+0x0/0xc0
[<c010b421>] die+0xe1/0xf0
[<c010b7b3>] do_invalid_op+0xb3/0xc0
[<c014bca0>] do_file_page+0x100/0x110
[<c0198684>] __ext3_journal_stop+0x24/0x50
[<c0191f48>] ext3_ordered_commit_write+0xc8/0xe0
[<c013d956>] unlock_page+0x16/0x50
[<c010ad79>] error_code+0x2d/0x38
[<c014bca0>] do_file_page+0x100/0x110
[<c0149a54>] pte_alloc_map+0xa4/0xd0
[<c014bd38>] handle_mm_fault+0x88/0x180
[<c011cf90>] do_page_fault+0x320/0x53a
[<c01417be>] buffered_rmqueue+0xce/0x170
[<c011eb39>] schedule+0x2f9/0x580
[<c011cc70>] do_page_fault+0x0/0x53a
[<c010ad79>] error_code+0x2d/0x38
[<c0109b92>] setup_frame+0xc2/0x1e0
[<c010a066>] handle_signal+0x106/0x150
[<c010a145>] do_signal+0x95/0xf0
[<c016c202>] sys_select+0x222/0x4d0
[<c010a1db>] do_notify_resume+0x3b/0x40
[<c010a3ba>] work_notifysig+0x13/0x15

Code: 0f 0b 0b 01 0d 85 2d c0 eb dc 0f ba 2b 00 19 c0 85 c0 75 c4
<6>note: syslogd[174] exited with preempt_count 4
Debug: sleeping function called from invalid context at net/socket.c:911
in_atomic():1, irqs_disabled():0
Call Trace:
[<c01201f0>] __might_sleep+0xa0/0xf0
[<c025f9c0>] sock_fasync+0x50/0x250
[<c025f94b>] sock_close+0x2b/0x50
[<c015a5cd>] __fput+0x10d/0x120
[<c0158c07>] filp_close+0x57/0x80
[<c0123b97>] put_files_struct+0x67/0xd0
[<c0124769>] do_exit+0x119/0x410
[<c010b700>] do_invalid_op+0x0/0xc0
[<c010b421>] die+0xe1/0xf0
[<c010b7b3>] do_invalid_op+0xb3/0xc0
[<c0154d4d>] free_page_and_swap_cache+0x3d/0x70
[<c011ee3a>] default_wake_function+0x2a/0x30
[<c011ee71>] __wake_up_common+0x31/0x60
[<c0122dac>] printk+0x12c/0x180
[<c010ad79>] error_code+0x2d/0x38
[<c0154d4d>] free_page_and_swap_cache+0x3d/0x70
[<c014a0b8>] zap_pte_range+0x188/0x1c0
[<c014a13e>] zap_pmd_range+0x4e/0x70
[<c014a1a1>] unmap_page_range+0x41/0x70
[<c014a2c0>] unmap_vmas+0xf0/0x220
[<c014e229>] exit_mmap+0x79/0x190
[<c0120875>] mmput+0x65/0xc0
[<c012472e>] do_exit+0xde/0x410
[<c010b700>] do_invalid_op+0x0/0xc0
[<c010b421>] die+0xe1/0xf0
[<c010b7b3>] do_invalid_op+0xb3/0xc0
[<c014bca0>] do_file_page+0x100/0x110
[<c0198684>] __ext3_journal_stop+0x24/0x50
[<c0191f48>] ext3_ordered_commit_write+0xc8/0xe0
[<c013d956>] unlock_page+0x16/0x50
[<c010ad79>] error_code+0x2d/0x38
[<c014bca0>] do_file_page+0x100/0x110
[<c0149a54>] pte_alloc_map+0xa4/0xd0
[<c014bd38>] handle_mm_fault+0x88/0x180
[<c011cf90>] do_page_fault+0x320/0x53a
[<c01417be>] buffered_rmqueue+0xce/0x170
[<c011eb39>] schedule+0x2f9/0x580
[<c011cc70>] do_page_fault+0x0/0x53a
[<c010ad79>] error_code+0x2d/0x38
[<c0109b92>] setup_frame+0xc2/0x1e0
[<c010a066>] handle_signal+0x106/0x150
[<c010a145>] do_signal+0x95/0xf0
[<c016c202>] sys_select+0x222/0x4d0
[<c010a1db>] do_notify_resume+0x3b/0x40
[<c010a3ba>] work_notifysig+0x13/0x15

Debug: sleeping function called from invalid context at kernel/workqueue.c:237
in_atomic():1, irqs_disabled():0
Call Trace:
[<c01201f0>] __might_sleep+0xa0/0xf0
[<c0131a4f>] flush_workqueue+0x1f/0x130
[<c011ee71>] __wake_up_common+0x31/0x60
[<c016afcb>] fasync_helper+0x8b/0xf0
[<c01de544>] reset_buffer_flags+0x84/0x90
[<c01dc2ee>] release_dev+0x4ce/0x640
[<c016feb9>] dput+0x1b9/0x220
[<c025ec5d>] sock_destroy_inode+0x1d/0x20
[<c0171b86>] destroy_inode+0x36/0x50
[<c0172e33>] iput+0x63/0x80
[<c01dc7db>] tty_release+0x2b/0x60
[<c015a5cd>] __fput+0x10d/0x120
[<c0158c07>] filp_close+0x57/0x80
[<c0123b97>] put_files_struct+0x67/0xd0
[<c0124769>] do_exit+0x119/0x410
[<c010b700>] do_invalid_op+0x0/0xc0
[<c010b421>] die+0xe1/0xf0
[<c010b7b3>] do_invalid_op+0xb3/0xc0
[<c0154d4d>] free_page_and_swap_cache+0x3d/0x70
[<c011ee3a>] default_wake_function+0x2a/0x30
[<c011ee71>] __wake_up_common+0x31/0x60
[<c0122dac>] printk+0x12c/0x180
[<c010ad79>] error_code+0x2d/0x38
[<c0154d4d>] free_page_and_swap_cache+0x3d/0x70
[<c014a0b8>] zap_pte_range+0x188/0x1c0
[<c014a13e>] zap_pmd_range+0x4e/0x70
[<c014a1a1>] unmap_page_range+0x41/0x70
[<c014a2c0>] unmap_vmas+0xf0/0x220
[<c014e229>] exit_mmap+0x79/0x190
[<c0120875>] mmput+0x65/0xc0
[<c012472e>] do_exit+0xde/0x410
[<c010b700>] do_invalid_op+0x0/0xc0
[<c010b421>] die+0xe1/0xf0
[<c010b7b3>] do_invalid_op+0xb3/0xc0
[<c014bca0>] do_file_page+0x100/0x110
[<c0198684>] __ext3_journal_stop+0x24/0x50
[<c0191f48>] ext3_ordered_commit_write+0xc8/0xe0
[<c013d956>] unlock_page+0x16/0x50
[<c010ad79>] error_code+0x2d/0x38
[<c014bca0>] do_file_page+0x100/0x110
[<c0149a54>] pte_alloc_map+0xa4/0xd0
[<c014bd38>] handle_mm_fault+0x88/0x180
[<c011cf90>] do_page_fault+0x320/0x53a
[<c01417be>] buffered_rmqueue+0xce/0x170
[<c011eb39>] schedule+0x2f9/0x580
[<c011cc70>] do_page_fault+0x0/0x53a
[<c010ad79>] error_code+0x2d/0x38
[<c0109b92>] setup_frame+0xc2/0x1e0
[<c010a066>] handle_signal+0x106/0x150
[<c010a145>] do_signal+0x95/0xf0
[<c016c202>] sys_select+0x222/0x4d0
[<c010a1db>] do_notify_resume+0x3b/0x40
[<c010a3ba>] work_notifysig+0x13/0x15

bad: scheduling while atomic!
Call Trace:
[<c011edad>] schedule+0x56d/0x580
[<c010a3ba>] work_notifysig+0x13/0x15
[<c010b0fe>] dump_stack+0x1e/0x20
[<c01201f0>] __might_sleep+0xa0/0xf0
[<c0131aff>] flush_workqueue+0xcf/0x130
[<c01205c0>] autoremove_wake_function+0x0/0x50
[<c01de544>] reset_buffer_flags+0x84/0x90
[<c01205c0>] autoremove_wake_function+0x0/0x50
[<c01dc2ee>] release_dev+0x4ce/0x640
[<c016feb9>] dput+0x1b9/0x220
[<c025ec5d>] sock_destroy_inode+0x1d/0x20
[<c0171b86>] destroy_inode+0x36/0x50
[<c0172e33>] iput+0x63/0x80
[<c01dc7db>] tty_release+0x2b/0x60
[<c015a5cd>] __fput+0x10d/0x120
[<c0158c07>] filp_close+0x57/0x80
[<c0123b97>] put_files_struct+0x67/0xd0
[<c0124769>] do_exit+0x119/0x410
[<c010b700>] do_invalid_op+0x0/0xc0
[<c010b421>] die+0xe1/0xf0
[<c010b7b3>] do_invalid_op+0xb3/0xc0
[<c0154d4d>] free_page_and_swap_cache+0x3d/0x70
[<c011ee3a>] default_wake_function+0x2a/0x30
[<c011ee71>] __wake_up_common+0x31/0x60
[<c0122dac>] printk+0x12c/0x180
[<c010ad79>] error_code+0x2d/0x38
[<c0154d4d>] free_page_and_swap_cache+0x3d/0x70
[<c014a0b8>] zap_pte_range+0x188/0x1c0
[<c014a13e>] zap_pmd_range+0x4e/0x70
[<c014a1a1>] unmap_page_range+0x41/0x70
[<c014a2c0>] unmap_vmas+0xf0/0x220
[<c014e229>] exit_mmap+0x79/0x190
[<c0120875>] mmput+0x65/0xc0
[<c012472e>] do_exit+0xde/0x410
[<c010b700>] do_invalid_op+0x0/0xc0
[<c010b421>] die+0xe1/0xf0
[<c010b7b3>] do_invalid_op+0xb3/0xc0
[<c014bca0>] do_file_page+0x100/0x110
[<c0198684>] __ext3_journal_stop+0x24/0x50
[<c0191f48>] ext3_ordered_commit_write+0xc8/0xe0
[<c013d956>] unlock_page+0x16/0x50
[<c010ad79>] error_code+0x2d/0x38
[<c014bca0>] do_file_page+0x100/0x110
[<c0149a54>] pte_alloc_map+0xa4/0xd0
[<c014bd38>] handle_mm_fault+0x88/0x180
[<c011cf90>] do_page_fault+0x320/0x53a
[<c01417be>] buffered_rmqueue+0xce/0x170
[<c011eb39>] schedule+0x2f9/0x580
[<c011cc70>] do_page_fault+0x0/0x53a
[<c010ad79>] error_code+0x2d/0x38
[<c0109b92>] setup_frame+0xc2/0x1e0
[<c010a066>] handle_signal+0x106/0x150
[<c010a145>] do_signal+0x95/0xf0
[<c016c202>] sys_select+0x222/0x4d0
[<c010a1db>] do_notify_resume+0x3b/0x40
[<c010a3ba>] work_notifysig+0x13/0x15

swap_dup: Bad swap file entry 60d135f3
VM: killing process klogd
Debug: sleeping function called from invalid context at include/asm/semaphore.h:119
in_atomic():1, irqs_disabled():0
Call Trace:
[<c01201f0>] __might_sleep+0xa0/0xf0
[<c0166056>] pipe_rdwr_fasync+0x26/0xa0
[<c0172e33>] iput+0x63/0x80
[<c0166174>] pipe_rdwr_release+0x24/0x50
[<c015a5cd>] __fput+0x10d/0x120
[<c0158c07>] filp_close+0x57/0x80
[<c0123b97>] put_files_struct+0x67/0xd0
[<c0124769>] do_exit+0x119/0x410
[<c010b700>] do_invalid_op+0x0/0xc0
[<c010b421>] die+0xe1/0xf0
[<c010b7b3>] do_invalid_op+0xb3/0xc0
[<c0154d4d>] free_page_and_swap_cache+0x3d/0x70
[<c011ee3a>] default_wake_function+0x2a/0x30
[<c011ee71>] __wake_up_common+0x31/0x60
[<c0122dac>] printk+0x12c/0x180
[<c010ad79>] error_code+0x2d/0x38
[<c0154d4d>] free_page_and_swap_cache+0x3d/0x70
[<c014a0b8>] zap_pte_range+0x188/0x1c0
[<c014a13e>] zap_pmd_range+0x4e/0x70
[<c014a1a1>] unmap_page_range+0x41/0x70
[<c014a2c0>] unmap_vmas+0xf0/0x220
[<c014e229>] exit_mmap+0x79/0x190
[<c0120875>] mmput+0x65/0xc0
[<c012472e>] do_exit+0xde/0x410
[<c010b700>] do_invalid_op+0x0/0xc0
[<c010b421>] die+0xe1/0xf0
[<c010b7b3>] do_invalid_op+0xb3/0xc0
[<c014bca0>] do_file_page+0x100/0x110
[<c0198684>] __ext3_journal_stop+0x24/0x50
[<c0191f48>] ext3_ordered_commit_write+0xc8/0xe0
[<c013d956>] unlock_page+0x16/0x50
[<c010ad79>] error_code+0x2d/0x38
[<c014bca0>] do_file_page+0x100/0x110
[<c0149a54>] pte_alloc_map+0xa4/0xd0
[<c014bd38>] handle_mm_fault+0x88/0x180
[<c011cf90>] do_page_fault+0x320/0x53a
[<c01417be>] buffered_rmqueue+0xce/0x170
[<c011eb39>] schedule+0x2f9/0x580
[<c011cc70>] do_page_fault+0x0/0x53a
[<c010ad79>] error_code+0x2d/0x38
[<c0109b92>] setup_frame+0xc2/0x1e0
[<c010a066>] handle_signal+0x106/0x150
[<c010a145>] do_signal+0x95/0xf0
[<c016c202>] sys_select+0x222/0x4d0
[<c010a1db>] do_notify_resume+0x3b/0x40
[<c010a3ba>] work_notifysig+0x13/0x15

------------[ cut here ]------------
kernel BUG at include/linux/mm.h:267!
invalid operand: 0000 [#3]
CPU: 0
EIP: 0060:[<c0154d4d>] Not tainted
EFLAGS: 00010246
EIP is at free_page_and_swap_cache+0x3d/0x70
eax: 00000000 ebx: c14713a0 ecx: 00000040 edx: c03d1688
esi: fffed124 edi: 00005000 ebp: f7969db0 esp: f7969da8
ds: 007b es: 007b ss: 0068
Process klogd (pid: 177, threadinfo=f7968000 task=f7cde100)
Stack: fffed124 00001000 f7969de4 c014a0b8 c14713a0 00000007 f7969de8 114a2a82
c14713a0 1c6e4eda 08048000 c03d1688 f7cf7084 08448000 0804d000 f7969e0c
c014a13e c03d1688 f7cf7080 08048000 00005000 c03d1688 08048000 f7cf7084
Call Trace:
[<c014a0b8>] zap_pte_range+0x188/0x1c0
[<c014a13e>] zap_pmd_range+0x4e/0x70
[<c014a1a1>] unmap_page_range+0x41/0x70
[<c014a2c0>] unmap_vmas+0xf0/0x220
[<c014e229>] exit_mmap+0x79/0x190
[<c0120875>] mmput+0x65/0xc0
[<c012472e>] do_exit+0xde/0x410
[<c0124b0a>] do_group_exit+0x3a/0xb0
[<c012d8a1>] get_signal_to_deliver+0x251/0x360
[<c010a11a>] do_signal+0x6a/0xf0
[<c011ee10>] default_wake_function+0x0/0x30
[<c011ee10>] default_wake_function+0x0/0x30
[<c01594f0>] vfs_read+0xa0/0x120
[<c015978f>] sys_read+0x3f/0x60
[<c010b700>] do_invalid_op+0x0/0xc0
[<c010a1db>] do_notify_resume+0x3b/0x40
[<c010a3ba>] work_notifysig+0x13/0x15

Code: 0f 0b 0b 01 0d 85 2d c0 eb dc 0f ba 2b 00 19 c0 85 c0 75 c4
<6>note: klogd[177] exited with preempt_count 2
Debug: sleeping function called from invalid context at net/socket.c:911
in_atomic():1, irqs_disabled():0
Call Trace:
[<c01201f0>] __might_sleep+0xa0/0xf0
[<c025f9c0>] sock_fasync+0x50/0x250
[<c025f94b>] sock_close+0x2b/0x50
[<c015a5cd>] __fput+0x10d/0x120
[<c0158c07>] filp_close+0x57/0x80
[<c0123b97>] put_files_struct+0x67/0xd0
[<c0124769>] do_exit+0x119/0x410
[<c010b700>] do_invalid_op+0x0/0xc0
[<c010b421>] die+0xe1/0xf0
[<c010b7b3>] do_invalid_op+0xb3/0xc0
[<c0154d4d>] free_page_and_swap_cache+0x3d/0x70
[<c010c8d9>] do_IRQ+0x109/0x140
[<c010acdc>] common_interrupt+0x18/0x20
[<c010ad79>] error_code+0x2d/0x38
[<c0154d4d>] free_page_and_swap_cache+0x3d/0x70
[<c014a0b8>] zap_pte_range+0x188/0x1c0
[<c014a13e>] zap_pmd_range+0x4e/0x70
[<c014a1a1>] unmap_page_range+0x41/0x70
[<c014a2c0>] unmap_vmas+0xf0/0x220
[<c014e229>] exit_mmap+0x79/0x190
[<c0120875>] mmput+0x65/0xc0
[<c012472e>] do_exit+0xde/0x410
[<c0124b0a>] do_group_exit+0x3a/0xb0
[<c012d8a1>] get_signal_to_deliver+0x251/0x360
[<c010a11a>] do_signal+0x6a/0xf0
[<c011ee10>] default_wake_function+0x0/0x30
[<c011ee10>] default_wake_function+0x0/0x30
[<c01594f0>] vfs_read+0xa0/0x120
[<c015978f>] sys_read+0x3f/0x60
[<c010b700>] do_invalid_op+0x0/0xc0
[<c010a1db>] do_notify_resume+0x3b/0x40
[<c010a3ba>] work_notifysig+0x13/0x15


kahlua:~# reboot
Illegal instruction
kahlua:~#
[RESET]