cat /dev/snapshot == OOPs

From: Arkadiusz Miskiewicz
Date: Sun Jun 10 2007 - 09:42:56 EST


Hello,

Is this desired behaviour?

$ sudo cat /dev/snapshot

ended with:

[54498.464550] device-mapper: ioctl: 4.11.0-ioctl (2006-10-12) initialised:
dm-devel@xxxxxxxxxx
[56592.077674] swsusp: Basic memory bitmaps created
[56592.084340] BUG: unable to handle kernel NULL pointer dereference at
virtual address 0000000c
[56592.084340] printing eip:
[56592.084340] c0135a6e
[56592.084340] *pde = 00000000
[56592.084340] Oops: 0000 [#1]
[56592.084340] Modules linked in: dm_snapshot dm_mod radeon drm binfmt_misc
ipv6 sch_sfq mmc_block rfcomm l2cap bluetooth ircomm_tty ircomm
cpufreq_ondemand acpi_cpufreq freq_table hdaps snd_pcm_oss snd_mixer_oss
video thermal processor fan container evdev button battery ac nvram
thinkpad_acpi hwmon backlight tun capability commoncap firewire_ohci
firewire_core crc_itu_t ahci pcmcia sdhci usbhid hid ff_memless ohci1394
mmc_core ata_generic ipw2200 ieee80211 ieee80211_crypt firmware_class
ieee1394 yenta_socket rsrc_nonstatic pcmcia_core nsc_ircc tg3 snd_hda_intel
generic i2c_i801 i2c_core ide_core snd_pcm snd_timer snd intel_agp iTCO_wdt
iTCO_vendor_support soundcore sr_mod psmouse agpgart snd_page_alloc serio_raw
uhci_hcd irda crc_ccitt ehci_hcd usbcore cdrom rtc_cmos rtc_core rtc_lib xfs
scsi_wait_scan sd_mod ata_piix libata scsi_mod
[56592.084340] CPU: 0
[56592.084340] EIP: 0060:[<c0135a6e>] Not tainted VLI
[56592.084340] EFLAGS: 00210206 (2.6.22-rc4 #70)
[56592.084340] EIP is at snapshot_read_next+0xcf/0x1d7
[56592.084340] eax: 00000000 ebx: d96fd200 ecx: c038e8f8 edx: e0688000
[56592.084340] esi: c031c462 edi: e0688186 ebp: ee42df5c esp: ee42df48
[56592.084340] ds: 007b es: 007b fs: 0000 gs: 0033 ss: 0068
[56592.084340] Process cat (pid: 22965, ti=ee42c000 task=c7d55480
task.ti=ee42c000)
[56592.084340] Stack: 00001000 c038e8f8 d96fd200 c038e8f8 0804e000 ee42df70
c0136ba5 d96fd200
[56592.084340] c0136b91 0804e000 ee42df90 c015b26b ee42df9c 00000006
00001000 d96fd200
[56592.084340] fffffff7 0804e000 ee42dfb0 c015b5d3 ee42df9c 00000000
00000000 00000000
[56592.084340] Call Trace:
[56592.084340] [<c0104a50>] show_trace_log_lvl+0x1a/0x2f
[56592.084340] [<c0104b00>] show_stack_log_lvl+0x9b/0xa3
[56592.084340] [<c0104cbc>] show_registers+0x1b4/0x286
[56592.084340] [<c0104e6d>] die+0xdf/0x1b1
[56592.084340] [<c01148a0>] do_page_fault+0x424/0x4f0
[56592.084340] [<c027f90a>] error_code+0x6a/0x70
[56592.084340] [<c0136ba5>] snapshot_read+0x14/0x48
[56592.084340] [<c015b26b>] vfs_read+0xad/0x15f
[56592.084340] [<c015b5d3>] sys_read+0x3d/0x61
[56592.084340] [<c0103b8a>] sysenter_past_esp+0x5f/0x85
[56592.084340] =======================
[56592.084340] Code: 03 05 b4 e8 38 c0 40 89 82 98 01 00 00 c1 e0 0c 89 82 9c
01 00 00 a1 a0 e8 38 c0 8b 4d f0 89 41 14 a1 b8 e8 38 c0 a3 c0 e8 38 c0 <8b>
40 0c c7 05 c8 e8 38 c0 00 00 00 00 c7 05 cc e8 38 c0 ff ff
[56592.084340] EIP: [<c0135a6e>] snapshot_read_next+0xcf/0x1d7 SS:ESP
0068:ee42df48
[56592.101007] swsusp: Basic memory bitmaps freed


that's on i686 with git tree with latest commit:
845a2fdcbd5bc5b9f652201ee95c825827a1d521

--
Arkadiusz Miśkiewicz PLD/Linux Team
arekm / maven.pl http://ftp.pld-linux.org/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/