PDA

View Full Version : general protection fault: 0000 [#1] SMP in module qemu-dm



Flako000
11-Jan-2013, 14:29
Hello I am using SLES 11 SP1, this only runs one DomU (the computer is dedicated to just that)
Features:
CPU: E5300
kernel: 2.6.32.12-0.7-xen
Domain-0 = 1014 MB
DomU backupPC = 1948 MB (just run backuppc)

Whenever I have a few others crash on the computer,
I have not always seen an error in the log, but this and says 'general protection fault: 0000 [# 1] SMP' it seemed good segirle track from google are showing similar problems of kernel bugs. (only found old post)
As I have SLES 11 SP1 and the kernel is not that old, I wonder if there will be a configuration issue?
Probably next week will update to SP2, but if I can give some indication of the error will be appreciated and welcomed
The computer falllo at 9 minutes into the backup backuppc.

I point out the error and my settings.

var/log/messages


Jan 10 20:56:08 hostName -- MARK --
Jan 10 21:06:08 hostName smartd[4472]: Device: /dev/sda [SAT], SMART Prefailure Attribute: 1 Raw_Read_Error_Rate changed from 99 to 100
Jan 10 21:06:08 hostName smartd[4472]: Device: /dev/sda [SAT], SMART Usage Attribute: 194 Temperature_Celsius changed from 157 to 146
Jan 10 21:09:37 hostName kernel: [ 5670.290561] general protection fault: 0000 [#1] SMP
Jan 10 21:09:37 hostName kernel: [ 5670.290569] last sysfs file: /sys/devices/xen-backend/vbd-1-51776/statistics/wr_sect
Jan 10 21:09:37 hostName kernel: [ 5670.290572] CPU 0
Jan 10 21:09:37 hostName kernel: [ 5670.290574] Modules linked in: sha256_generic cryptd aes_x86_64 aes_generic cbc dm_crypt ip6t_LOG xt_tcpudp xt_pkttype x
t_physdev ipt_LOG xt_limit usbbk gntdev netbk blkbk blkback_pagemap blktap domctl xenbus_be nls_utf8 cifs(X) bridge stp llc microcode ip6t_REJECT nf_conntra
ck_ipv6 ip6table_raw xt_NOTRACK ipt_REJECT xt_state iptable_raw iptable_filter ip6table_mangle nf_conntrack_netbios_ns nf_conntrack_ipv4 nf_conntrack nf_def
rag_ipv4 ip_tables ip6table_filter ip6_tables x_tables ipv6 fuse loop dm_mod 8139too 8139cp rtc_cmos rtc_core rtc_lib 8250_pnp 8250 serial_core tpm_tis usb_
storage tpm tpm_bios sg mii i2c_i801 iTCO_wdt iTCO_vendor_support pcspkr serio_raw sd_mod crc_t10dif uhci_hcd ehci_hcd usbcore i915 drm_kms_helper drm i2c_a
lgo_bit button i2c_core video output intel_agp agpgart xenblk cdrom xennet edd ext3 mbcache jbd fan processor ide_pci_generic ide_core ata_generic ata_piix
pata_jmicron libata scsi_mod thermal thermal_sys hwmon
Jan 10 21:09:37 hostName kernel: [ 5670.290647] Supported: Yes
Jan 10 21:09:37 hostName kernel: [ 5670.290650] Pid: 4149, comm: qemu-dm Tainted: G W X 2.6.32.12-0.7-xen #1
Jan 10 21:09:37 hostName kernel: [ 5670.290653] RIP: e030:[<ffffffff800eb459>] [<ffffffff800eb459>] poll_schedule_timeout+0x49/0x50
Jan 10 21:09:37 hostName kernel: [ 5670.290662] RSP: e02b:ffff88003e847a00 EFLAGS: 00010246
Jan 10 21:09:37 hostName kernel: [ 5670.290664] RAX: 0000000000000000 RBX: ffff88003f306040 RCX: ffffffff8059c0a0
Jan 10 21:09:37 hostName kernel: [ 5670.290672] RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff88000200e1c0
Jan 11 08:29:27 hostName syslog-ng[2223]: syslog-ng starting up; version='2.0.9


DomU backupPC

name = "backupPC"
maxmem = 1948
memory = 1948

vcpus = 2
bootloader = "/usr/bin/pygrub"
bootargs = "-q"
extra="clocksource=jiffies"
on_poweroff = "destroy"
on_reboot = "restart"
on_crash = "destroy"

vfb = [ "type=vnc,vncunused=1,keymap=en-us" ]
disk = [ "tap:qcow2:/mnt/xendomain/backupPC/disco1.qcow2,xvda,w!"
,"tap:qcow2:/mnt/xendomain/backupPC/disco2.qcow2,xvdb,w"
,"phy:/dev/gv_xen/backupPC_data,xvde,w!"
]
vif = [ "mac=00:16:3e:02:58:00,bridge=br0,script=vif-bridge" ]



Grub


title Xen -- SUSE Linux Enterprise Server 11 SP1 - 2.6.32.12-0.7
root (hd0,2)
kernel /boot/xen.gz vga=mode-0x317 dom0_mem=1024M loglvl=all guest_loglvl=all CPUFREQ=no apparmor=0 selinux=0
module /boot/vmlinuz-2.6.32.12-0.7-xen root=/dev/disk/by-id/ata-Hitachi_HDS721010CLA332_JP2940HD0P7D3C-part3 resume=/dev/disk/by-id/ata-Hitachi_HDS721010CLA332_JP2940HD0P7D3C-part5 splash=silent showopts vga=0x317
module /boot/initrd-2.6.32.12-0.7-xen


/etc/xen/xend-config.sxp

(xend-unix-server yes)
(xend-relocation-hosts-allow '^localhost$ ^localhost\\.localdomain$')
(network-script )
(vif-script vif-bridge)
(dom0-min-mem 256)
(enable-dom0-ballooning no)
(total_available_memory 0)
(dom0-cpus 1)
(enable-dump no)
(vncpasswd '')

malcolmlewis
11-Jan-2013, 15:02
On Fri 11 Jan 2013 01:34:02 PM CST, Flako000 wrote:


Hello I am using SLES 11 SP1, this only runs one DomU (the computer is
dedicated to just that)
Features:
CPU: E5300
kernel: 2.6.32.12-0.7-xen
Domain-0 = 1014 MB
DomU backupPC = 1948 MB (just run backuppc)

Whenever I have a few others crash on the computer,
I have not always seen an error in the log, but this and says 'general
protection fault: 0000 [# 1] SMP' it seemed good segirle track from
google are showing similar problems of kernel bugs. (only found old
post)
As I have SLES 11 SP1 and the kernel is not that old, I wonder if there
will be a configuration issue?
Probably next week will update to SP2, but if I can give some
indication of the error will be appreciated and welcomed
The computer falllo at 9 minutes into the backup backuppc.


Hi
Have you run smartctl on the drive to check it's attributes are fine, as
well as a file system check?

[/CODE]
> Jan 10 20:56:08 hostName -- MARK --
> Jan 10 21:06:08 hostName smartd[4472]: Device: /dev/sda [SAT], SMART
> Prefailure Attribute: 1 Raw_Read_Error_Rate changed from 99 to 100
[/CODE]

What is the system doing prior to the starting of the backup job, is it
busy, or just idling?

--
Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 12.2 (x86_64) Kernel 3.4.11-2.16-desktop
up 1 day 0:06, 3 users, load average: 0.09, 0.07, 0.05
CPU Intel® i5 CPU M520@2.40GHz | GPU Intel® Ironlake Mobile

Flako000
16-Jan-2013, 22:09
Hello malcolmlewis (sorry again for the delays ...)
If I used smartctl to check the disk, and the test 'Extended offline' and 'Short offline' end without errors.

The values ​​of 'Raw_Read_Error_Rate' changed from 95 to 100 (up and down) y Seek_Time_Performance
changes between 138 to 144 (up and down)

In the crash described in this post seems to overlap with the error happened 'Raw_Read_Error_Rate', but it seems not to be associated. The night after the first crash, smartd valors showed changes in Seek_Time_Performance and Raw_Read_Error_Rate 25min before. Also I have to change these values ​​at a time when the backup is being performed and computer are not a crash happens

the computer (is a deskop PC) not doing any task entities start backup. During backup disk does not seem to be overstretched. During poceso lasts 4 hours, has an average of 5MB / s, 4 peaks 88MB / s (the disk is capable of reaching values ​​of 115MB / s).

Change the disc last night and a few minutes ago to SLES 11 SP2 upgrade and wait ...

I copy the log smartctl if there's something I do not see ..

Thanks for always being lleyendo and answering my post :)




soporte1:~ # smartctl -a /dev/sda
smartctl 5.39 2008-10-24 22:33 [x86_64-suse-linux-gnu] (openSUSE RPM)
Copyright (C) 2002-8 by Bruce Allen, http://smartmontools.sourceforge.net

=== START OF INFORMATION SECTION ===
Device Model: Hitachi HDS721010CLA332
Serial Number: JP2940HD0P7D3C
Firmware Version: JP4OA3EA
User Capacity: 1,000,204,886,016 bytes
Device is: Not in smartctl database [for details use: -P showall]
ATA Version is: 8
ATA Standard is: ATA-8-ACS revision 4
Local Time is: Mon Jan 7 08:48:15 2013 ART
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED

General SMART Values:
Offline data collection status: (0x82) Offline data collection activity
was completed without error.
Auto Offline Data Collection: Enabled.
Self-test execution status: ( 0) The previous self-test routine completed
without error or no self-test has ever
been run.
Total time to complete Offline
data collection: (10576) seconds.
Offline data collection
capabilities: (0x5b) SMART execute Offline immediate.
Auto Offline data collection on/off support.
Suspend Offline collection upon new
command.
Offline surface scan supported.
Self-test supported.
No Conveyance Self-test supported.
Selective Self-test supported.
SMART capabilities: (0x0003) Saves SMART data before entering
power-saving mode.
Supports SMART auto save timer.
Error logging capability: (0x01) Error logging supported.
General Purpose Logging supported.
Short self-test routine
recommended polling time: ( 1) minutes.
Extended self-test routine
recommended polling time: ( 176) minutes.
SCT capabilities: (0x003d) SCT Status supported.
SCT Feature Control supported.
SCT Data Table supported.

SMART Attributes Data Structure revision number: 16
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE
1 Raw_Read_Error_Rate 0x000b 099 099 016 Pre-fail Always - 131072
2 Throughput_Performance 0x0005 133 133 054 Pre-fail Offline - 105
3 Spin_Up_Time 0x0007 125 125 024 Pre-fail Always - 305 (Average 301)
4 Start_Stop_Count 0x0012 100 100 000 Old_age Always - 359
5 Reallocated_Sector_Ct 0x0033 100 100 005 Pre-fail Always - 0
7 Seek_Error_Rate 0x000b 100 100 067 Pre-fail Always - 0
8 Seek_Time_Performance 0x0005 140 140 020 Pre-fail Offline - 30
9 Power_On_Hours 0x0012 098 098 000 Old_age Always - 17203
10 Spin_Retry_Count 0x0013 100 100 060 Pre-fail Always - 0
12 Power_Cycle_Count 0x0032 100 100 000 Old_age Always - 359
192 Power-Off_Retract_Count 0x0032 100 100 000 Old_age Always - 369
193 Load_Cycle_Count 0x0012 100 100 000 Old_age Always - 369
194 Temperature_Celsius 0x0002 139 139 000 Old_age Always - 43 (Lifetime Min/Max 16/55)
196 Reallocated_Event_Count 0x0032 100 100 000 Old_age Always - 0
197 Current_Pending_Sector 0x0022 100 100 000 Old_age Always - 0
198 Offline_Uncorrectable 0x0008 100 100 000 Old_age Offline - 0
199 UDMA_CRC_Error_Count 0x000a 200 200 000 Old_age Always - 47

SMART Error Log Version: 1
ATA Error Count: 43 (device log contains only the most recent five errors)
CR = Command Register [HEX]
FR = Features Register [HEX]
SC = Sector Count Register [HEX]
SN = Sector Number Register [HEX]
CL = Cylinder Low Register [HEX]
CH = Cylinder High Register [HEX]
DH = Device/Head Register [HEX]
DC = Device Command Register [HEX]
ER = Error register [HEX]
ST = Status register [HEX]
Powered_Up_Time is measured from power on, and printed as
DDd+hh:mm:SS.sss where DD=days, hh=hours, mm=minutes,
SS=sec, and sss=millisec. It "wraps" after 49.710 days.


Error 43 occurred at disk power-on lifetime: 7736 hours (322 days + 8 hours)
When the command that caused the error occurred, the device was active or idle.

After command completion occurred, registers were:
ER ST SC SN CL CH DH
-- -- -- -- -- -- --
84 51 30 01 37 1e 08 Error: ICRC, ABRT 48 sectors at LBA = 0x081e3701 = 136197889

Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
-- -- -- -- -- -- -- -- ---------------- --------------------
35 00 80 b1 36 1e e8 08 28d+21:17:59.357 WRITE DMA EXT
35 00 10 71 ea c3 e4 08 28d+21:17:59.355 WRITE DMA EXT
35 00 80 f1 e9 c3 e4 08 28d+21:17:59.353 WRITE DMA EXT
25 00 80 39 9f 08 ea 08 28d+21:17:59.351 READ DMA EXT
25 00 10 7f 1a c3 e0 08 28d+21:17:59.252 READ DMA EXT


Error 42 occurred at disk power-on lifetime: 7736 hours (322 days + 8 hours)
When the command that caused the error occurred, the device was active or idle.

After command completion occurred, registers were:
ER ST SC SN CL CH DH
-- -- -- -- -- -- --
84 51 40 29 98 db 0b Error: ICRC, ABRT 64 sectors at LBA = 0x0bdb9829 = 198940713

Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
-- -- -- -- -- -- -- -- ---------------- --------------------
35 00 80 e9 97 db eb 08 28d+21:00:46.299 WRITE DMA EXT
35 00 80 69 97 db eb 08 28d+21:00:46.297 WRITE DMA EXT
25 00 08 21 61 4c e7 08 28d+21:00:46.293 READ DMA EXT
25 00 08 19 61 4c e0 08 28d+21:00:46.185 READ DMA EXT
25 00 80 f1 9f 32 e5 08 28d+21:00:46.164 READ DMA EXT
sucedio 17203 - 7736 = 9467(394,458333333 Dias)
Error 41 occurred at disk power-on lifetime: 7736 hours (322 days + 8 hours)
When the command that caused the error occurred, the device was active or idle.

After command completion occurred, registers were:
ER ST SC SN CL CH DH
-- -- -- -- -- -- --
84 51 70 c1 4e f2 09 Error: ICRC, ABRT 112 sectors at LBA = 0x09f24ec1 = 166874817

Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
-- -- -- -- -- -- -- -- ---------------- --------------------
35 00 80 b1 4e f2 e9 08 28d+20:33:37.532 WRITE DMA EXT
35 00 80 31 4e f2 e9 08 28d+20:33:37.530 WRITE DMA EXT
35 00 70 c1 4d f2 e9 08 28d+20:33:37.525 WRITE DMA EXT
25 00 08 09 92 4c e0 08 28d+20:33:37.444 READ DMA EXT
25 00 80 c1 b9 17 ec 08 28d+20:33:37.429 READ DMA EXT



When the command that caused the error occurred, the device was active or idle.

After command completion occurred, registers were:
ER ST SC SN CL CH DH
-- -- -- -- -- -- --
84 51 01 c0 9b ab 0d Error: ICRC, ABRT 1 sectors at LBA = 0x0dab9bc0 = 229350336

Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
-- -- -- -- -- -- -- -- ---------------- --------------------
35 00 80 41 9b ab ed 08 28d+19:35:09.989 WRITE DMA EXT
25 00 08 e1 d3 57 eb 08 28d+19:35:09.988 READ DMA EXT
35 00 08 59 1e 4a e7 08 28d+19:35:09.986 WRITE DMA EXT
25 00 80 21 77 31 eb 08 28d+19:35:09.985 READ DMA EXT
35 00 80 c1 9a ab ed 08 28d+19:35:09.983 WRITE DMA EXT


When the command that caused the error occurred, the device was active or idle.

After command completion occurred, registers were:
ER ST SC SN CL CH DH
-- -- -- -- -- -- --
84 51 08 d9 d8 69 04 Error: ICRC, ABRT 8 sectors at LBA = 0x0469d8d9 = 74045657

Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
-- -- -- -- -- -- -- -- ---------------- --------------------
35 00 28 b9 d8 69 e4 08 28d+19:32:06.394 WRITE DMA EXT
25 00 80 f9 26 8c e5 08 28d+19:32:06.392 READ DMA EXT
35 00 80 39 d8 69 e4 08 28d+19:32:06.390 WRITE DMA EXT
25 00 80 79 26 8c e5 08 28d+19:32:06.388 READ DMA EXT
35 00 80 81 ee 3f ed 08 28d+19:32:06.370 WRITE DMA EXT

SMART Self-test log structure revision number 1
No self-tests have been logged. [To run self-tests, use: smartctl -t]


SMART Selective self-test log data structure revision number 1
SPAN MIN_LBA MAX_LBA CURRENT_TEST_STATUS
1 0 0 Not_testing
2 0 0 Not_testing
3 0 0 Not_testing
4 0 0 Not_testing
5 0 0 Not_testing
Selective self-test flags (0x0):
After scanning selected spans, do NOT read-scan remainder of disk.
If Selective self-test is pending on power-up, resume after 0 minute delay.
Note: You have no values ​​'self-test', because it generates the text before the test, but has the same values ​​as the current.