You are not logged in.

#1 2008-11-30 04:22:11

originalsurfmex
Member
Registered: 2008-11-13
Posts: 150

[SOLVED] strange freezing and lockups

im running arch64 on an hp tx2000, everything is finally setup (arch is great) buuuut...

my system freezes at random moments during bootup and when restarting or shutting down, it will also lockup when im working in the basic shell (when x is isnt running, and when kdemod isnt running) it never freezes while im running kdemod.  but if i am installing stuff from pacman or yaourt, the process often times locks up.  i know when my system is locked becouse (other than everything stopping and going unresponsive) the caps lock light starts blinking.

i read in some forum posts that some people had been able to sort of workaround this situation by repeatedly hitting <enter> during bootup and shutdown seqentces- i dont unerstand why but this works most of the time, however now im trying to install nvidia-beta drivers in a basic bash shell, but i cant because my system locks during the compiling process.

ive learned alot, but im still scratching the surface, here are some interrupts results...

cat /proc/interrupts                                                      
           CPU0       CPU1                                                                   
  0:        800     129539   IO-APIC-edge      timer                                         
  1:          6       1970   IO-APIC-edge      i8042                                         
  7:          1          0   IO-APIC-edge                                                    
  8:          0          1   IO-APIC-edge      rtc0                                          
  9:          4        545   IO-APIC-fasteoi   acpi                                          
 12:         20        763   IO-APIC-edge      i8042                                         
 14:         12       3694   IO-APIC-edge      ide0
 17:          0        609   IO-APIC-fasteoi   HDA Intel
 18:         95      25792   IO-APIC-fasteoi   nvidia
 19:        100      16436   IO-APIC-fasteoi   eth1
 20:        157      43973   IO-APIC-fasteoi   eth0
 21:        118      25330   IO-APIC-fasteoi   sata_nv
 22:         39       9896   IO-APIC-fasteoi   ehci_hcd:usb2
 23:          1         29   IO-APIC-fasteoi   ohci_hcd:usb1
NMI:          0          0   Non-maskable interrupts
LOC:      79040      23731   Local timer interrupts
RES:      23425      13368   Rescheduling interrupts
CAL:     168462      43476   function call interrupts
TLB:        696        480   TLB shootdowns
TRM:          0          0   Thermal event interrupts
THR:          0          0   Threshold APIC interrupts
SPU:          0          0   Spurious interrupts
ERR:          1

suggestions...for the record the only thing i cant get to work is my fingerprint reader, but thats cuz the software is kinda wonky, and i dont really miss it. (im also missing two buttons multimedia keyboard(never used em in windows either though) and i havent messed with the bluetooth sinse i have no bluetooth stuff to speak of).

what can i do about this freezing problem??

Last edited by originalsurfmex (2008-12-08 04:20:21)

Offline

#2 2008-12-02 23:21:43

ynonp
Member
Registered: 2008-12-02
Posts: 2

Re: [SOLVED] strange freezing and lockups

Hi,
Have you tried using acpi=off kernel parameter ?

Ynon

Offline

#3 2008-12-03 01:42:46

originalsurfmex
Member
Registered: 2008-11-13
Posts: 150

Re: [SOLVED] strange freezing and lockups

thanks for the suggestion, that was actually the first thing i tried (about 2 weeks ago) and it didn't change things, but this time its helping somewhat, the freezes are far less frequent now (perhaps its due to the recent kernel update)

here's what i did (for any other noobs out there like myself) to preserve my power management:

sudo nano /boot/grub/menu.lst

and added this to the end of the kernel line:

apm=on acpi=off

on some computers this lets you have power management even though acpi is off (guru's im sure will correct me if i'm mistaken)

Last edited by originalsurfmex (2008-12-03 01:44:38)

Offline

#4 2008-12-03 02:20:42

originalsurfmex
Member
Registered: 2008-11-13
Posts: 150

Re: [SOLVED] strange freezing and lockups

theres a couple of things i dont understand...

1. even though i have acpi=off and i don't have any acpi modules in rc.conf - i still see acpi messages on bootup. (yes it still does freeze on bootup/shutdown, just less often)

2. whey did hitting enter over and over again help prevent the lockups?

Offline

#5 2008-12-03 03:30:53

Gullible Jones
Member
Registered: 2004-12-29
Posts: 4,863

Re: [SOLVED] strange freezing and lockups

Have you tried booting with these options?

noapic nolapic

Linux on some machines has problems with APIC that cause kernel panics.

Offline

#6 2008-12-03 04:22:10

originalsurfmex
Member
Registered: 2008-11-13
Posts: 150

Re: [SOLVED] strange freezing and lockups

okay, did it! my boot up is actually faster, and i can still manage power...if i get no lockups over the next few days ill mark this as solved.  thanks a million.

if anyone can answer why hitting enter repeatedly used to help, i would live to know.  thanks for all the help.


<edit>...bad news, it just froze again while loading UDEV (i restarted the system like 8 times since i changed the boot menu)...and APIC still shows up on the bootup and shutdown processes...am i missing something?

Last edited by originalsurfmex (2008-12-03 04:53:19)

Offline

#7 2008-12-03 06:19:46

ynonp
Member
Registered: 2008-12-02
Posts: 2

Re: [SOLVED] strange freezing and lockups

Hi,
can you be more specific about the acpi output messages ? (publish a dmesg | grep -i acpi output here). And in addition, the parts from  /var/log/messages right after a freeze. And also the output of lsmod.
Usually when a system freezes it has to do with video drivers, power management or some sort of faulty driver. I assume video is not the problem at your case, because you say it happens without X as well. If acpi is not the issue here, you should try adding debug support to your running modules.
I assume your hardware works without freezes on other OSs ?

Ynon

Offline

#8 2008-12-05 07:11:57

originalsurfmex
Member
Registered: 2008-11-13
Posts: 150

Re: [SOLVED] strange freezing and lockups

ok, i made a very dumb mistake.  the whole time ive been editing menu.lst, however i forgot that i actually use the groub menu from my kubuntu on a different partition.  i finally edited things correctly.

i can't disable acpi, if i do that it wrecks my nvidia and i can't startx

noapic is working, it has greatly reduced the freezes, ive only had one freeze - but it was several boots back and i dont have the error log for it.
here are the ouputs you suggested posting:
dmesg | grep -i acpi:

BIOS-e820: 00000000b7f00000 - 00000000b7f0a000 (ACPI data)
 BIOS-e820: 00000000b7f0a000 - 00000000b7f80000 (ACPI NVS) 
ACPI: RSDP 000F8920, 0014 (r0 HP    )                      
ACPI: RSDT B7F00926, 0040 (r1 HPQOEM SLIC-MPC  6040000  LTP        0)
ACPI: FACP B7F09AD4, 0074 (r1 HP     MCP51M    6040000 PTL_    F4240)
ACPI: DSDT B7F00966, 916E (r1 HP       MCP51M  6040000 MSFT  3000000)
ACPI: FACS B7F0AFC0, 0040                                            
ACPI: SSDT B7F09B48, 0248 (r1 HP     POWERNOW  6040000  LTP        1)
ACPI: MCFG B7F09D90, 003C (r1 HP       MCFG    6040000  LTP        0)
ACPI: HPET B7F09DCC, 0038 (r1 PTLTD  HPETTBL   6040000  LTP        1)
ACPI: APIC B7F09E04, 005E (r1 HP         APIC    6040000  LTP        0)
ACPI: BOOT B7F09E62, 0028 (r1     HP $SBFTBL$  6040000  LTP        1)  
ACPI: SLIC B7F09E8A, 0176 (r1 HPQOEM SLIC-MPC  6040000  LTP        1)  
ACPI: DMI detected: Hewlett-Packard                                    
ACPI: PM-Timer IO Port: 0x1008                                         
ACPI: Local APIC address 0xfee00000                                    
ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)                     
ACPI: LAPIC (acpi_id[0x01] lapic_id[0x01] enabled)                     
ACPI: LAPIC_NMI (acpi_id[0x00] high edge lint[0x1])                    
ACPI: LAPIC_NMI (acpi_id[0x01] high edge lint[0x1])                    
ACPI: IOAPIC (id[0x02] address[0xfec00000] gsi_base[0])                
ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)               
ACPI: IRQ0 used by override.                                           
ACPI: IRQ2 used by override.                                           
ACPI: IRQ9 used by override.                                           
ACPI: HPET id: 0x10de8201 base: 0xfed00000                             
Using ACPI (MADT) for SMP configuration information                    
ACPI: Core revision 20080609                                           
ACPI: Checking initramfs for custom DSDT                               
ACPI: bus type pci registered                                          
ACPI: EC: Look up EC in DSDT                                           
ACPI: BIOS _OSI(Linux) query ignored via DMI                           
ACPI: Interpreter enabled                                              
ACPI: (supports S0 S3 S4 S5)                                           
ACPI: Using IOAPIC for interrupt routing                               
ACPI: EC: non-query interrupt received, switching to interrupt mode    
ACPI: EC: GPE = 0x10, I/O: command/status = 0x66, data = 0x62          
ACPI: EC: driver started in interrupt mode                             
ACPI: PCI Root Bridge [PCI0] (0000:00)                                 
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]                    
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.P2P0._PRT]               
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.XVR1._PRT]               
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.XVR2._PRT]               
ACPI: PCI Interrupt Link [LNK1] (IRQs 5 7 10 11 14 15) *0, disabled.   
ACPI: PCI Interrupt Link [LNK2] (IRQs 5 7 *10 11 14 15)                
ACPI: PCI Interrupt Link [LNK3] (IRQs 5 7 10 11 14 15) *0, disabled.   
ACPI: PCI Interrupt Link [LNK4] (IRQs 5 7 10 11 14 15) *0, disabled.   
ACPI: PCI Interrupt Link [LK1E] (IRQs 19) *0, disabled.                
ACPI: PCI Interrupt Link [LK2E] (IRQs 16 17 20 22 23) *0, disabled.    
ACPI: PCI Interrupt Link [LK3E] (IRQs 18) *10                          
ACPI: PCI Interrupt Link [LK4E] (IRQs 16 17 20 22 23) *0, disabled.    
ACPI: PCI Interrupt Link [LSMB] (IRQs 16 17 20 22 23) *10              
ACPI: PCI Interrupt Link [LPMU] (IRQs 16 17 20 22 23) *11              
ACPI: PCI Interrupt Link [LUS0] (IRQs 16 17 20 22 23) *11              
ACPI: PCI Interrupt Link [LUS2] (IRQs 16 17 20 22 23) *7               
ACPI: PCI Interrupt Link [LMAC] (IRQs 16 17 20 22 23) *11              
ACPI: PCI Interrupt Link [LAZA] (IRQs 16 17 20 22 23) *0, disabled.    
ACPI: PCI Interrupt Link [LACI] (IRQs 16 17 20 22 23) *0, disabled.    
ACPI: PCI Interrupt Link [LMCI] (IRQs 16 17 20 22 23) *0, disabled.    
ACPI: PCI Interrupt Link [LPID] (IRQs 16 17 20 22 23) *0, disabled.    
ACPI: PCI Interrupt Link [LTID] (IRQs 21) *5                           
ACPI: PCI Interrupt Link [LSI1] (IRQs 21) *0                           
pnp: PnP ACPI init                                                     
ACPI: bus type pnp registered                                          
pnp: PnP ACPI: found 13 devices                                        
ACPI: ACPI bus type pnp unregistered                                   
PCI: Using ACPI for IRQ routing                                        
ACPI: RTC can wake from S4                                             
ACPI: PCI Interrupt Link [LTID] enabled at IRQ 21                      
ACPI: PCI Interrupt Link [LUS2] enabled at IRQ 23                      
ACPI: PCI Interrupt Link [LUS0] enabled at IRQ 22                      
ACPI: PCI Interrupt Link [LMAC] enabled at IRQ 20                      
ACPI: PCI Interrupt Link [LAZA] enabled at IRQ 17                      
ACPI: AC Adapter [ACAD] (on-line)                                      
ACPI: Battery Slot [BAT0] (battery present)                            
ACPI: Power Button (FF) [PWRF]                                         
ACPI: Power Button (CM) [PWRB]
ACPI: Sleep Button (CM) [SLPB]
ACPI: Lid Switch [LID]
ACPI: processor limited to max C-state 1
processor ACPI0007:00: registered as cooling_device0
processor ACPI0007:01: registered as cooling_device1
ACPI: Thermal Zone [THRM] (71 C)
ACPI: PCI Interrupt Link [LK1E] enabled at IRQ 19
ACPI: WMI: Mapper loaded
acpi device:2d: registered as cooling_device2
ACPI: Video Device [UVGA] (multi-head: yes  rom: no  post: no)
ACPI: \_SB_.PCI0.IDE0.PRI0.MAST: found ejectable bay
ACPI: \_SB_.PCI0.IDE0.PRI0.MAST: Adding notify handler
ACPI: Bay [\_SB_.PCI0.IDE0.PRI0.MAST] Added
ACPI: Video Device [VGA] (multi-head: yes  rom: no  post: no)
nvidia 0000:00:05.0: power state changed by ACPI to D0
ACPI: PCI Interrupt Link [LK3E] enabled at IRQ 18

lsmod:

Module                  Size  Used by                                  
michael_mic             4736  4                                        
arc4                    4096  4                                        
ecb                     5248  4                                        
crypto_blkcipher       19972  1 ecb                                    
ipv6                  309480  10                                       
fuse                   59584  6                                        
joydev                 14080  0                                        
serio_raw               8324  0                                        
psmouse                44700  0                                        
k8temp                  7296  0                                        
sg                     34528  0                                        
uvcvideo               61064  0                                        
compat_ioctl32         11392  1 uvcvideo                               
videodev               38784  2 uvcvideo,compat_ioctl32                
v4l1_compat            17796  2 uvcvideo,videodev                      
wacom                  24840  0                                        
pcspkr                  4864  0                                        
hci_usb                17560  0                                        
ssb                    47236  0                                        
pcmcia                 39576  1 ssb                                    
bluetooth              60836  1 hci_usb                                
bay                     6912  0                                        
pcmcia_core            38564  2 ssb,pcmcia                             
video                  21780  9                                        
output                  5248  1 video                                  
nvidia               7809352  28                                       
i2c_nforce2             9224  0                                        
wmi                     8640  0                                        
i2c_core               25760  2 nvidia,i2c_nforce2                     
ieee80211_crypt_tkip    11776  0                                       
wl                   1079104  0                                        
ieee80211_crypt         7300  2 ieee80211_crypt_tkip,wl                
thermal                20640  0                                        
processor              40760  1 thermal                                
fan                     7304  0                                        
evdev                  13984  15                                       
button                  9504  0                                        
battery                14600  0                                        
ac                      7176  0                                        
snd_seq_oss            35584  0                                        
snd_seq_midi_event      9344  1 snd_seq_oss                            
snd_seq                58336  4 snd_seq_oss,snd_seq_midi_event         
snd_seq_device          9364  2 snd_seq_oss,snd_seq                    
snd_hda_intel         474672  3                                        
snd_hwdep              10632  1 snd_hda_intel                          
snd_pcm_oss            45568  0                                        
snd_pcm                82440  3 snd_hda_intel,snd_pcm_oss              
snd_timer              24720  2 snd_seq,snd_pcm                        
snd_page_alloc         10640  2 snd_hda_intel,snd_pcm                  
snd_mixer_oss          18944  1 snd_pcm_oss                            
snd                    64840  14 snd_seq_oss,snd_seq,snd_seq_device,snd_hda_intel,snd_hwdep,snd_pcm_oss,snd_pcm,snd_timer,snd_mixer_oss
soundcore               9632  1 snd                                                                                                    
forcedeth              60432  0                                                                                                        
rtc_cmos               13112  0                                                                                                        
rtc_core               21060  1 rtc_cmos                                                                                               
rtc_lib                 4992  1 rtc_core                                                                                               
usbhid                 51552  0                                                                                                        
hid                    50496  1 usbhid                                                                                                 
ff_memless              7688  1 usbhid                                                                                                 
ext3                  140560  2                                                                                                        
jbd                    56104  1 ext3
mbcache                10244  1 ext3
ohci_hcd               27548  0
isp1760                22320  0
sd_mod                 29224  5
ide_cd_mod             37000  0
cdrom                  39080  1 ide_cd_mod
ehci_hcd               40332  0
usbcore               156816  8 uvcvideo,wacom,hci_usb,usbhid,ohci_hcd,isp1760,ehci_hcd
sata_nv                28552  4
libata                171360  1 sata_nv
dock                   11168  2 bay,libata
scsi_mod              113144  3 sg,sd_mod,libata
ide_pci_generic         6660  0
amd74xx                 9096  0
ide_core              113020  3 ide_cd_mod,ide_pci_generic,amd74xx

and yes, you are correct, there are no freezes in kubuntu or pendrivelinux, the only other linux's ive run on this machine.

Offline

#9 2008-12-08 04:22:09

originalsurfmex
Member
Registered: 2008-11-13
Posts: 150

Re: [SOLVED] strange freezing and lockups

i reinstalled my system, and the freezes kept coming - - but thanks to your suggested combination at boot:

noapic nolapic

i have rebooted about 50 times, and no freezes!

thanks!!!

Offline

Board footer

Powered by FluxBB