You are not logged in.

#1 2009-06-24 09:37:55

n37
Member
Registered: 2009-05-20
Posts: 9

kernel 2.6.30 upgrade causes dosemu to segfault

I upgraded today to kernel 2.6.30. Dosemu segfaults sometimes immediately, sometimes after a few seconds.

Here is what I got in the syslog:

2009 Jun 24 11:36:08 stg general protection fault: 0000 [#10] PREEMPT SMP                                                                  
2009 Jun 24 11:36:08 stg last sysfs file: /sys/devices/system/cpu/sched_mc_power_savings                                                                    
2009 Jun 24 11:36:08 stg Process dosemu.bin (pid: 4502, ti=f5c7e000 task=f6bed000 task.ti=f5c7e000)                                                         
2009 Jun 24 11:36:08 stg Stack:                                                                                                                             
2009 Jun 24 11:36:08 stg 00000000 00000183 00000183 00000183 000008e2 01040002 00000000 00000000                                                            
2009 Jun 24 11:36:08 stg 00000000 00000000 ffffffff 000015ae 0000ffff 00020247 000008ce 000000d1                                                            
2009 Jun 24 11:36:08 stg Call Trace:                                                                                                                        
2009 Jun 24 11:36:08 stg [<c0103e1e>] ? work_notifysig_v86+0x6/0x18                                                                                         
2009 Jun 24 11:36:08 stg [<c0103c73>] ? sysenter_do_call+0x12/0x28                                                                                          
2009 Jun 24 11:36:08 stg Code: 00 89 e0 89 f2 89 ae 8c 02 00 00 e8 73 fa ff ff 31 c0 eb 8a e8 ba b8 01 00 8d 76 00 8d bc 27 00 00 00 00 57 56 89 c6 53 83 ec 08 <65> a1 14 00 00 00 89 44 24 04 31 c0 fb 90 8d 74 26 00 64 8b 0d                                                                                           
2009 Jun 24 11:36:08 stg EIP: [<c011fbb8>] save_v86_state+0x8/0x190 SS:ESP 0068:f5c7feb8                                                                    
2009 Jun 24 11:36:38 stg general protection fault: 0000 [#11] PREEMPT SMP                                                                                   
2009 Jun 24 11:36:38 stg last sysfs file: /sys/devices/system/cpu/sched_mc_power_savings                                                                    
2009 Jun 24 11:36:38 stg Process dosemu.bin (pid: 4551, ti=f47d8000 task=f3702c00 task.ti=f47d8000)                                                         
2009 Jun 24 11:36:38 stg Stack:                                                                                                                             
2009 Jun 24 11:36:38 stg 00000a6a 00000006 00000001 0000362a 00000a5e 01040200 00000000 00000000                                                            
2009 Jun 24 11:36:38 stg 00000000 00000000 ffffffff 0000145b 0000ffff 00020246 00000a46 000000d1                                                            
2009 Jun 24 11:36:38 stg Call Trace:                                                                                                                        
2009 Jun 24 11:36:38 stg [<c0103e1e>] ? work_notifysig_v86+0x6/0x18                                                                                         
2009 Jun 24 11:36:38 stg [<c0103c73>] ? sysenter_do_call+0x12/0x28                                                                                          
2009 Jun 24 11:36:38 stg Code: 00 89 e0 89 f2 89 ae 8c 02 00 00 e8 73 fa ff ff 31 c0 eb 8a e8 ba b8 01 00 8d 76 00 8d bc 27 00 00 00 00 57 56 89 c6 53 83 ec 08 <65> a1 14 00 00 00 89 44 24 04 31 c0 fb 90 8d 74 26 00 64 8b 0d                                                                                           
2009 Jun 24 11:36:38 stg EIP: [<c011fbb8>] save_v86_state+0x8/0x190 SS:ESP 0068:f47d9eb8

And this is what I get if I run dmesg:

general protection fault: 0000 [#1] PREEMPT SMP                                                                                        
[b]last sysfs file: /sys/devices/pci0000:00/0000:00:1c.1/0000:02:00.0/net/eth0/address[/b]                                                    
Modules linked in: i915 drm i2c_algo_bit video output ipv6 it87 hwmon_vid coretemp ext2 snd_seq_dummy snd_seq_oss snd_seq_midi_event snd_seq snd_seq_device snd_pcm_oss snd_mixer_oss snd_hda_codec_realtek ppdev snd_hda_intel iTCO_wdt iTCO_vendor_support snd_hda_codec snd_hwdep snd_pcm parport_pc snd_timer snd soundcore snd_page_alloc psmouse sg uhci_hcd lp i2c_i801 parport ehci_hcd serio_raw pcspkr r8169 mii usbcore i2c_core intel_agp agpgart evdev thermal processor fan button battery ac vivi videodev v4l1_compat videobuf_vmalloc videobuf_core tun rtc_cmos rtc_core rtc_lib ext3 jbd mbcache sr_mod cdrom sd_mod pata_acpi ata_generic ata_piix libata scsi_mod                                                                                                                                               

Pid: 4305, comm: dosemu.bin Not tainted (2.6.30-ARCH #1) G31M-S2C 
EIP: 0060:[<c011fbb8>] EFLAGS: 00010096 CPU: 1                    
EIP is at save_v86_state+0x8/0x190                                
EAX: f2c23ed4 EBX: f2c23ed4 ECX: 00000004 EDX: 00000000           
ESI: f2c23ed4 EDI: f3fc7400 EBP: f2c22000 ESP: f2c23eb8           
 DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068                     
Process dosemu.bin (pid: 4305, ti=f2c22000 task=f3fc7400 task.ti=f2c22000)
Stack:                                                                    
 f3fc7400 081ef420 f2c23ed4 f2c23fb4 f3fc7400 c0103e1e 00000004 0000035a  
 00000001 00000000 000005ac 00000a54 00000a3c 01041100 00000000 00000000  
 00000000 00000000 ffffffff 00000073 00000070 00020246 00000a22 000000d1  
Call Trace:                                                               
 [<c0103e1e>] ? work_notifysig_v86+0x6/0x18                               
 [<c0103c73>] ? sysenter_do_call+0x12/0x28                                
Code: 00 89 e0 89 f2 89 ae 8c 02 00 00 e8 73 fa ff ff 31 c0 eb 8a e8 ba b8 01 00 8d 76 00 8d bc 27 00 00 00 00 57 56 89 c6 53 83 ec 08 <65> a1 14 00 00 00 89 44 24 04 31 c0 fb 90 8d 74 26 00 64 8b 0d                                                                                                                           
EIP: [<c011fbb8>] save_v86_state+0x8/0x190 SS:ESP 0068:f2c23eb8                                                                                                  
---[ end trace 536c3bf769ba2532 ]---                                                                                                                             
general protection fault: 0000 [#2] PREEMPT SMP                                                                                                                  
[b]last sysfs file: /sys/devices/pci0000:00/0000:00:1c.1/0000:02:00.0/net/eth0/address [/b]                                                                             
Modules linked in: i915 drm i2c_algo_bit video output ipv6 it87 hwmon_vid coretemp ext2 snd_seq_dummy snd_seq_oss snd_seq_midi_event snd_seq snd_seq_device snd_pcm_oss snd_mixer_oss snd_hda_codec_realtek ppdev snd_hda_intel iTCO_wdt iTCO_vendor_support snd_hda_codec snd_hwdep snd_pcm parport_pc snd_timer snd soundcore snd_page_alloc psmouse sg uhci_hcd lp i2c_i801 parport ehci_hcd serio_raw pcspkr r8169 mii usbcore i2c_core intel_agp agpgart evdev thermal processor fan button battery ac vivi videodev v4l1_compat videobuf_vmalloc videobuf_core tun rtc_cmos rtc_core rtc_lib ext3 jbd mbcache sr_mod cdrom sd_mod pata_acpi ata_generic ata_piix libata scsi_mod

Pid: 4430, comm: dosemu.bin Tainted: G      D    (2.6.30-ARCH #1) G31M-S2C
EIP: 0060:[<c011fbb8>] EFLAGS: 00010096 CPU: 0
EIP is at save_v86_state+0x8/0x190
EAX: f3e8ded4 EBX: f3e8ded4 ECX: 00000004 EDX: 00000000
ESI: f3e8ded4 EDI: f3fc5800 EBP: f3e8c000 ESP: f3e8deb8
 DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068
Process dosemu.bin (pid: 4430, ti=f3e8c000 task=f3fc5800 task.ti=f3e8c000)
Stack:
 f3fc5800 081ef420 f3e8ded4 f3e8dfb4 f3fc5800 c0103e1e 00000004 0000035a
 000013ec 00000000 000005ac 000038ce 00000a3c 01041100 00000000 00000000
 00000000 00000000 ffffffff 00000073 00000070 00020246 00000a22 000000d1
Call Trace:
 [<c0103e1e>] ? work_notifysig_v86+0x6/0x18
 [<c0103c73>] ? sysenter_do_call+0x12/0x28
Code: 00 89 e0 89 f2 89 ae 8c 02 00 00 e8 73 fa ff ff 31 c0 eb 8a e8 ba b8 01 00 8d 76 00 8d bc 27 00 00 00 00 57 56 89 c6 53 83 ec 08 <65> a1 14 00 00 00 89 44 24 04 31 c0 fb 90 8d 74 26 00 64 8b 0d
EIP: [<c011fbb8>] save_v86_state+0x8/0x190 SS:ESP 0068:f3e8deb8
---[ end trace 536c3bf769ba2533 ]---

This is a Gigabyte GA-G31M-S2C motherboard with an integrated NIC RTL 8101E chip (10/100 Mbit).  "last sysfs file: /sys/devices/pci0000:00/0000:00:1c.1/0000:02:00.0/net/eth0/address" got me thinking that it might be the NIC that is causing all of this. The NIC works very unreliably espaecially under heavy load. It stalls and comes back again or dies altogether requiring a reboot. I see that there are some patches in git concerning the r8169 driver and lots of camplaints about r8169 producing exhibiting similar behavior.

Here is some more info:

lsmod                                                                 
Module                  Size  Used by                                                 
i915                  183432  2                                                       
drm                   154752  3 i915                                                  
i2c_algo_bit            5864  1 i915                                                  
video                  19768  1 i915                                                  
output                  2884  1 video                                                 
ipv6                  277908  16                                                      
it87                   20820  0                                                       
hwmon_vid               2820  1 it87                                                  
coretemp                6052  0                                                       
ext2                   69740  1                                                       
snd_seq_dummy           2696  0                                                       
snd_seq_oss            31168  0                                                       
snd_seq_midi_event      7012  1 snd_seq_oss                                           
snd_seq                53744  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event          
snd_seq_device          6768  3 snd_seq_dummy,snd_seq_oss,snd_seq                     
snd_pcm_oss            40352  0                                                       
snd_mixer_oss          17540  1 snd_pcm_oss                                           
snd_hda_codec_realtek   206536  1                                                     
ppdev                   7720  0                                                       
snd_hda_intel          26696  2                                                       
iTCO_wdt               10952  0                                                       
iTCO_vendor_support     3080  1 iTCO_wdt                                              
snd_hda_codec          71716  2 snd_hda_codec_realtek,snd_hda_intel                   
snd_hwdep               7624  1 snd_hda_codec                                         
snd_pcm                73768  3 snd_pcm_oss,snd_hda_intel,snd_hda_codec               
parport_pc             36868  1                                                       
snd_timer              21068  2 snd_seq,snd_pcm                                       
snd                    58404  15 snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_timer                                                                                                                                                       
soundcore               6784  1 snd                                                                                                                              
snd_page_alloc          8844  2 snd_hda_intel,snd_pcm                                                                                                            
psmouse                59644  0                                                                                                                                  
sg                     27896  0                                                                                                                                  
uhci_hcd               23540  0                                                                                                                                  
lp                      9700  0                                                                                                                                  
i2c_i801                9688  0                                                                                                                                  
parport                34476  3 ppdev,parport_pc,lp                                                                                                              
ehci_hcd               35856  0                                                                                                                                  
serio_raw               5704  0                                                                                                                                  
pcspkr                  2404  0                                                                                                                                  
r8169                  34152  0                                                                                                                                  
mii                     4804  1 r8169                                                                                                                            
usbcore               149968  3 uhci_hcd,ehci_hcd                                                                                                                
i2c_core               22776  4 i915,drm,i2c_algo_bit,i2c_i801                                                                                                   
intel_agp              27484  1                                                                                                                                  
agpgart                32756  3 drm,intel_agp                                                                                                                    
evdev                  10176  3                                                                                                                                  
thermal                13888  0
processor              35864  0
fan                     4392  0
button                  5588  0
battery                10984  0
ac                      4360  0
vivi                   15272  0
videodev               37088  1 vivi
v4l1_compat            15720  1 videodev
videobuf_vmalloc        6632  1 vivi
videobuf_core          16296  2 vivi,videobuf_vmalloc
tun                    13732  0
rtc_cmos               11244  0
rtc_core               18048  1 rtc_cmos
rtc_lib                 2500  1 rtc_core
ext3                  135340  2
jbd                    48856  1 ext3
mbcache                 7112  2 ext2,ext3
sr_mod                 16676  0
cdrom                  36032  1 sr_mod
sd_mod                 27808  5
pata_acpi               4228  0
ata_generic             4680  0
ata_piix               23112  4
libata                168460  3 pata_acpi,ata_generic,ata_piix
scsi_mod              110580  4 sg,sr_mod,sd_mod,libata
lspci -v
00:00.0 Host bridge: Intel Corporation 82G33/G31/P35/P31 Express DRAM Controller (rev 10)
        Subsystem: Giga-byte Technology Device 5000                                      
        Flags: bus master, fast devsel, latency 0                                        
        Capabilities: [e0] Vendor Specific Information <?>                               
        Kernel driver in use: agpgart-intel                                              
        Kernel modules: intel-agp                                                        

00:02.0 VGA compatible controller: Intel Corporation 82G33/G31 Express Integrated Graphics Controller (rev 10) (prog-if 00 [VGA controller])
        Subsystem: Giga-byte Technology Device d000                                                                                         
        Flags: bus master, fast devsel, latency 0, IRQ 27                                                                                   
        Memory at e1200000 (32-bit, non-prefetchable) [size=512K]                                                                           
        I/O ports at e000 [size=8]                                                                                                          
        Memory at d0000000 (32-bit, prefetchable) [size=256M]                                                                               
        Memory at e1000000 (32-bit, non-prefetchable) [size=1M]                                                                             
        Expansion ROM at <unassigned> [disabled]                                                                                            
        Capabilities: [90] MSI: Mask- 64bit- Count=1/1 Enable+                                                                              
        Capabilities: [d0] Power Management version 2                                                                                       

00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 01)
        Subsystem: Giga-byte Technology Device a002                                                   
        Flags: bus master, fast devsel, latency 0, IRQ 16                                             
        Memory at e1280000 (64-bit, non-prefetchable) [size=16K]                                      
        Capabilities: [50] Power Management version 2                                                 
        Capabilities: [60] MSI: Mask- 64bit+ Count=1/1 Enable-                                        
        Capabilities: [70] Express Root Complex Integrated Endpoint, MSI 00                           
        Capabilities: [100] Virtual Channel <?>                                                       
        Capabilities: [130] Root Complex Link <?>                                                     
        Kernel driver in use: HDA Intel                                                               
        Kernel modules: snd-hda-intel                                                                 

00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 01) (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0                                                                  
        Bus: primary=00, secondary=01, subordinate=01, sec-latency=0                                               
        I/O behind bridge: 0000c000-0000cfff                                                                       
        Capabilities: [40] Express Root Port (Slot+), MSI 00                                                       
        Capabilities: [80] MSI: Mask- 64bit- Count=1/1 Enable+                                                     
        Capabilities: [90] Subsystem: Giga-byte Technology Device 5001                                             
        Capabilities: [a0] Power Management version 2                                                              
        Capabilities: [100] Virtual Channel <?>                                                                    
        Capabilities: [180] Root Complex Link <?>                                                                  
        Kernel driver in use: pcieport-driver                                                                      
        Kernel modules: shpchp                                                                                     

00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 01) (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0                                                                  
        Bus: primary=00, secondary=02, subordinate=02, sec-latency=0                                               
        I/O behind bridge: 0000d000-0000dfff                                                                       
        Memory behind bridge: e0000000-e0ffffff                                                                    
        Prefetchable memory behind bridge: 00000000e1100000-00000000e11fffff                                       
        Capabilities: [40] Express Root Port (Slot+), MSI 00                                                       
        Capabilities: [80] MSI: Mask- 64bit- Count=1/1 Enable+                                                     
        Capabilities: [90] Subsystem: Giga-byte Technology Device 5001                                             
        Capabilities: [a0] Power Management version 2                                                              
        Capabilities: [100] Virtual Channel <?>                                                                    
        Capabilities: [180] Root Complex Link <?>                                                                  
        Kernel driver in use: pcieport-driver                                                                      
        Kernel modules: shpchp                                                                                     

00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 (rev 01) (prog-if 00 [UHCI])
        Subsystem: Giga-byte Technology Device 5004                                                               
        Flags: bus master, medium devsel, latency 0, IRQ 23                                                       
        I/O ports at e100 [size=32]                                                                               
        Kernel driver in use: uhci_hcd                                                                            
        Kernel modules: uhci-hcd                                                                                  

00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2 (rev 01) (prog-if 00 [UHCI])
        Subsystem: Giga-byte Technology Device 5004                                                               
        Flags: bus master, medium devsel, latency 0, IRQ 19                                                       
        I/O ports at e200 [size=32]                                                                               
        Kernel driver in use: uhci_hcd                                                                            
        Kernel modules: uhci-hcd                                                                                  

00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3 (rev 01) (prog-if 00 [UHCI])
        Subsystem: Giga-byte Technology Device 5004                                                               
        Flags: bus master, medium devsel, latency 0, IRQ 18                                                       
        I/O ports at e300 [size=32]                                                                               
        Kernel driver in use: uhci_hcd                                                                            
        Kernel modules: uhci-hcd                                                                                  

00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #4 (rev 01) (prog-if 00 [UHCI])
        Subsystem: Giga-byte Technology Device 5004                                                               
        Flags: bus master, medium devsel, latency 0, IRQ 16                                                       
        I/O ports at e400 [size=32]                                                                               
        Kernel driver in use: uhci_hcd                                                                            
        Kernel modules: uhci-hcd                                                                                  

00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 01) (prog-if 20 [EHCI])
        Subsystem: Giga-byte Technology Device 5006                                                             
        Flags: bus master, medium devsel, latency 0, IRQ 23                                                     
        Memory at e1284000 (32-bit, non-prefetchable) [size=1K]                                                 
        Capabilities: [50] Power Management version 2                                                           
        Kernel driver in use: ehci_hcd                                                                          
        Kernel modules: ehci-hcd                                                                                

00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev e1) (prog-if 01 [Subtractive decode])
        Flags: bus master, fast devsel, latency 0                                                
        Bus: primary=00, secondary=03, subordinate=03, sec-latency=32                            
        I/O behind bridge: 0000b000-0000bfff                                                     
        Capabilities: [50] Subsystem: Giga-byte Technology GA-EP45-DS5 Motherboard               

00:1f.0 ISA bridge: Intel Corporation 82801GB/GR (ICH7 Family) LPC Interface Bridge (rev 01)
        Subsystem: Giga-byte Technology Device 5001                                         
        Flags: bus master, medium devsel, latency 0                                         
        Capabilities: [e0] Vendor Specific Information <?>                                  
        Kernel modules: iTCO_wdt, intel-rng                                                 

00:1f.2 IDE interface: Intel Corporation 82801GB/GR/GH (ICH7 Family) SATA IDE Controller (rev 01) (prog-if 8a [Master SecP PriP])
        Subsystem: Giga-byte Technology Device b002                                                                              
        Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 19                                                               
        I/O ports at 01f0 [size=8]                                                                                               
        I/O ports at 03f4 [size=1]                                                                                               
        I/O ports at 0170 [size=8]                                                                                               
        I/O ports at 0374 [size=1]                                                                                               
        I/O ports at f000 [size=16]                                                                                              
        Capabilities: [70] Power Management version 2                                                                            
        Kernel driver in use: ata_piix                                                                                           
        Kernel modules: ata_piix                                                                                                 

00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 01)
        Subsystem: Giga-byte Technology GA-8I945PG-RH Mainboard
        Flags: medium devsel, IRQ 19
        I/O ports at 0500 [size=32]
        Kernel driver in use: i801_smbus
        Kernel modules: i2c-i801

02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E PCI Express Fast Ethernet controller (rev 02)
        Subsystem: Giga-byte Technology Device e000
        Flags: bus master, fast devsel, latency 0, IRQ 26
        I/O ports at d000 [size=256]
        Memory at e1110000 (64-bit, prefetchable) [size=4K]
        Memory at e1100000 (64-bit, prefetchable) [size=64K]
        [virtual] Expansion ROM at e1120000 [disabled] [size=128K]
        Capabilities: [40] Power Management version 3
        Capabilities: [50] MSI: Mask- 64bit+ Count=1/1 Enable+
        Capabilities: [70] Express Endpoint, MSI 01
        Capabilities: [ac] MSI-X: Enable- Mask- TabSize=2
        Capabilities: [cc] Vital Product Data
        Capabilities: [100] Advanced Error Reporting
        Capabilities: [140] Virtual Channel <?>
        Capabilities: [160] Device Serial Number 00-00-ff-ff-00-00-00-04
        Kernel driver in use: r8169
        Kernel modules: r8169

Strangely "lspci -vv" spews "Unknown small resource type 00" incessantly.

Last edited by n37 (2009-06-30 12:39:53)

Offline

#2 2009-06-30 12:51:44

n37
Member
Registered: 2009-05-20
Posts: 9

Re: kernel 2.6.30 upgrade causes dosemu to segfault

It turns out that my onboard nic problems and dosemu segfaulting are not related. I tried to isolate the cause, so I disbled the onboard nic in bios. Running dosemu still produces the same general protection faults:

general protection fault: 0000 [#1] PREEMPT SMP 
last sysfs file: /sys/devices/system/cpu/sched_mc_power_savings
Modules linked in: i915 drm i2c_algo_bit video output ipv6 it87 hwmon_vid coretemp ext2 snd_seq_dummy snd_seq_oss snd_seq_midi_event snd_seq snd_seq_device snd_pcm_oss snd_mixer_oss ppdev parport_pc iTCO_wdt iTCO_vendor_support snd_hda_codec_realtek psmouse sg snd_hda_intel snd_hda_codec snd_hwdep uhci_hcd serio_raw snd_pcm snd_timer snd soundcore snd_page_alloc lp parport i2c_i801 i2c_core ehci_hcd usbcore pcspkr intel_agp agpgart evdev thermal processor fan button battery ac vivi videodev v4l1_compat videobuf_vmalloc videobuf_core tun rtc_cmos rtc_core rtc_lib ext3 jbd mbcache sr_mod cdrom sd_mod pata_acpi ata_generic ata_piix libata scsi_mod

Pid: 3634, comm: dosemu.bin Not tainted (2.6.30-ARCH #1) G31M-S2C 
EIP: 0060:[<c011fbb8>] EFLAGS: 00010096 CPU: 0
EIP is at save_v86_state+0x8/0x190
EAX: d34b1ed4 EBX: d34b1ed4 ECX: 00000004 EDX: 00000000
ESI: d34b1ed4 EDI: d348d400 EBP: d34b0000 ESP: d34b1eb8
 DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068
Process dosemu.bin (pid: 3634, ti=d34b0000 task=d348d400 task.ti=d34b0000)
Stack:
 d348d400 081ef420 d34b1ed4 d34b1fb4 d348d400 c0103e1e 00000004 0000035a
 000013d0 00000000 000005ac 000038ce 00000a3c 01041100 00000000 00000000
 00000000 00000000 ffffffff 00000073 00000070 00020246 00000a22 000000d1
Call Trace:
 [<c0103e1e>] ? work_notifysig_v86+0x6/0x18
 [<c0103c73>] ? sysenter_do_call+0x12/0x28
Code: 00 89 e0 89 f2 89 ae 8c 02 00 00 e8 73 fa ff ff 31 c0 eb 8a e8 ba b8 01 00 8d 76 00 8d bc 27 00 00 00 00 57 56 89 c6 53 83 ec 08 <65> a1 14 00 00 00 89 44 24 04 31 c0 fb 90 8d 74 26 00 64 8b 0d 
EIP: [<c011fbb8>] save_v86_state+0x8/0x190 SS:ESP 0068:d34b1eb8
---[ end trace b4a58306ed9914f2 ]---
general protection fault: 0000 [#2] PREEMPT SMP 
last sysfs file: /sys/devices/system/cpu/sched_mc_power_savings
Modules linked in: i915 drm i2c_algo_bit video output ipv6 it87 hwmon_vid coretemp ext2 snd_seq_dummy snd_seq_oss snd_seq_midi_event snd_seq snd_seq_device snd_pcm_oss snd_mixer_oss ppdev parport_pc iTCO_wdt iTCO_vendor_support snd_hda_codec_realtek psmouse sg snd_hda_intel snd_hda_codec snd_hwdep uhci_hcd serio_raw snd_pcm snd_timer snd soundcore snd_page_alloc lp parport i2c_i801 i2c_core ehci_hcd usbcore pcspkr intel_agp agpgart evdev thermal processor fan button battery ac vivi videodev v4l1_compat videobuf_vmalloc videobuf_core tun rtc_cmos rtc_core rtc_lib ext3 jbd mbcache sr_mod cdrom sd_mod pata_acpi ata_generic ata_piix libata scsi_mod

Pid: 3766, comm: dosemu.bin Tainted: G      D    (2.6.30-ARCH #1) G31M-S2C 
EIP: 0060:[<c011fbb8>] EFLAGS: 00010096 CPU: 0
EIP is at save_v86_state+0x8/0x190
EAX: d34a3ed4 EBX: d34a3ed4 ECX: 00000004 EDX: 00000000
ESI: d34a3ed4 EDI: d3fe9c00 EBP: d34a2000 ESP: d34a3eb8
 DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068
Process dosemu.bin (pid: 3766, ti=d34a2000 task=d3fe9c00 task.ti=d34a2000)
Stack:
 d3fe9c00 081ef420 d34a3ed4 d34a3fb4 d3fe9c00 c0103e1e 00000004 00000a6a
 00000a6a 00000006 00000001 0000362a 00000a5e 01040200 00000000 00000000
 00000000 00000000 ffffffff 0000145b 0000ffff 00020246 00000a46 000000d1
Call Trace:
 [<c0103e1e>] ? work_notifysig_v86+0x6/0x18
 [<c0103c73>] ? sysenter_do_call+0x12/0x28
Code: 00 89 e0 89 f2 89 ae 8c 02 00 00 e8 73 fa ff ff 31 c0 eb 8a e8 ba b8 01 00 8d 76 00 8d bc 27 00 00 00 00 57 56 89 c6 53 83 ec 08 <65> a1 14 00 00 00 89 44 24 04 31 c0 fb 90 8d 74 26 00 64 8b 0d 
EIP: [<c011fbb8>] save_v86_state+0x8/0x190 SS:ESP 0068:d34a3eb8
---[ end trace b4a58306ed9914f3 ]---

Since this thread failed the attention of the devs, I would appreciate at least an answer whether this is an arch specific issue or it has to do with the kernel/dosemu in general. If the latter is the case, then I'll bug the kernel ml.

Offline

#3 2009-06-30 20:31:45

Sigi
Member
From: Thurgau, Switzerland
Registered: 2005-09-22
Posts: 1,131

Re: kernel 2.6.30 upgrade causes dosemu to segfault

n37: I share your experience. I'm compiling kernel26-git atm, I'll report back if it solves the issue. (I tried to run dosemu for my first time with 2.6.30 and it segfaulted from the start) I think its an upstream kernel issue but I'll check first if the newest kernel from git solves the bug before looking deeper into the topic)

Note for interested readers: disable the staging drivers if you have problems to compile the current git kernel.

Best regards, Chris


Haven't been here in a while. Still rocking Arch. smile

Offline

#4 2009-06-30 22:35:36

Sigi
Member
From: Thurgau, Switzerland
Registered: 2005-09-22
Posts: 1,131

Re: kernel 2.6.30 upgrade causes dosemu to segfault

n37: It worked! You can compile kernel26-git yourself or I can mail it to you if you want to smile


Haven't been here in a while. Still rocking Arch. smile

Offline

#5 2009-07-02 09:23:58

n37
Member
Registered: 2009-05-20
Posts: 9

Re: kernel 2.6.30 upgrade causes dosemu to segfault

Kernel 2.6.31-git has both of my problems fixed. However, in order to run dosemu I had to set  vm.mmap_min_addr = 0.

Last edited by n37 (2009-07-02 09:24:23)

Offline

Board footer

Powered by FluxBB