Skip to contentSkip to conversation

Netscape (32-bit) locks machine

Linux-ia64 Michael Madore 4 participants 5 messages Aug 26, 2000 – Aug 29, 2000

lore
Share & tools
lore
#0 lore raw
Quoted 20 lines · Marc Aurele La France
Quoted 17 lines · Michael Madore
Quoted 8 lines
Quoted 7 lines
Quoted 7 lines

I am running into an issue where Netscape will often lock up the entire machine when launched. It isn't just the X Server crashing, the entire system is frozen. This happens on both Rage 128 and Rage XL. On the Rage XL, I virtually eliminated the lock ups by removing latin2 fonts from my XF86Config file. With the Rage 128, nothing seems to help, including using option "noaccel" for the driver. We are using XFree 4.0.1 with patches (essentially the same patches that were just posted.)

Quoted 5 lines
Quoted 2 lines

Could be a bug in one of the font renderers. I know the FreeType
renderer has some bugs.

Ummm. Looks like there are similar problems with the latest builds on ia32.

After doing some further testing, I have found that X seems to lock the machine hard on our Lion boxes pretty much all the time. Just starting X will sometimes lock them up. These boxes are all using the r128 driver.

Quoted 8 lines
Quoted 3 lines

I am going to try the latest code from CVS tomorrow and see if there is any improvment. If not, what can I do to help track down where the problem is coming from?

Well, on the assumption that it is a font renderer problem, you can try whittling down your font path until the problem stops happening. Start by removing TrueType (or clone), then Type1, Speedo, etc. If your running xfs, get rid of it first.

I went ahead and cut down my fonts to pretty much nothing. The problem still occurs. I turned off acceleration on the Lion boxes, and that allows our install program to run without X crashing. With acceleration turned on, the machine will hang if you use a scroll bar to move through a large text list.

It was pointed out to me that /dev/mem needs to be opened with O_SYNC, so that it will not be mapped write-cache. Mapping it with write cache can cause lockups. I have a patch applied in os-support/lnx_video.c that fixes this problem, but I still get lockups. I was wondering if there are any other places in the code where this could be happening?

Mike Madore
Software Engineer
TurboLinux, Inc.

#1 lore raw
Quoted 5 lines · Michael Madore

It was pointed out to me that /dev/mem needs to be opened with O_SYNC, so that it will not be mapped write-cache. Mapping it with write cache can cause lockups. I have a patch applied in os-support/lnx_video.c that fixes this problem, but I still get lockups. I was wondering if there are any other places in the code where this could be happening?

/dev/mem was already being opened with O_SYNC in lnx_video.c.

Mark.

#2 lore raw
In reply to Michael Madore

Mike-

I must have been asleep since I don't remember seeing the original message.

If your machine is crashing when running Netscape I would be suspicious of Netscape before I'd blame the X server. I just discovered a few weeks ago that you have to put the system in trickle' mode if you want to run IA32 programs, including Netscape, reliably. I understand you can set trickle' mode on the Lion BIOS. For BigSur's there's a patch for the kernel you can get from Intel to do this (I can't send you the patch, you need to send a message to `[email protected]' if you want it).

I hope this helps.

Quoted 53 lines · Michael Madore
Quoted 20 lines · Marc Aurele La France
Quoted 17 lines · Michael Madore
Quoted 8 lines
Quoted 7 lines
Quoted 7 lines

I am running into an issue where Netscape will often lock up the entire machine when launched. It isn't just the X Server crashing, the entire system is frozen. This happens on both Rage 128 and Rage XL. On the Rage XL, I virtually eliminated the lock ups by removing latin2 fonts from my XF86Config file. With the Rage 128, nothing seems to help, including using option "noaccel" for the driver. We are using XFree 4.0.1 with patches (essentially the same patches that were just posted.)

Quoted 5 lines
Quoted 2 lines

Could be a bug in one of the font renderers. I know the FreeType
renderer has some bugs.

Ummm. Looks like there are similar problems with the latest builds on ia32.

After doing some further testing, I have found that X seems to lock the machine hard on our Lion boxes pretty much all the time. Just starting X will sometimes lock them up. These boxes are all using the r128 driver.

Quoted 8 lines
Quoted 3 lines

I am going to try the latest code from CVS tomorrow and see if there is any improvment. If not, what can I do to help track down where the problem is coming from?

Well, on the assumption that it is a font renderer problem, you can try whittling down your font path until the problem stops happening. Start by removing TrueType (or clone), then Type1, Speedo, etc. If your running xfs, get rid of it first.

I went ahead and cut down my fonts to pretty much nothing. The problem still occurs. I turned off acceleration on the Lion boxes, and that allows our install program to run without X crashing. With acceleration turned on, the machine will hang if you use a scroll bar to move through a large text list.

It was pointed out to me that /dev/mem needs to be opened with O_SYNC, so that it will not be mapped write-cache. Mapping it with write cache can cause lockups. I have a patch applied in os-support/lnx_video.c that fixes this problem, but I still get lockups. I was wondering if there are any other places in the code where this could be happening?

Mike Madore
Software Engineer
TurboLinux, Inc.

_______________________________________________
Linux-IA64 mailing list
[email protected]
http://lists.linuxia64.org/lists/listinfo/linux-ia64

Signature · 4 lines
Don Dugger
"Censeo Toto nos in Kansa esse decisse." - D. Gale
[email protected]
Ph: 303/938-9838
#3 lore raw
In reply to Michael Madore
Quoted 4 lines

Mike-

I must have been asleep since I don't remember seeing the original message.

Quoted 8 lines

If your machine is crashing when running Netscape I would be suspicious of Netscape before I'd blame the X server. I just discovered a few weeks ago that you have to put the system in trickle' mode if you want to run IA32 programs, including Netscape, reliably. I understand you can set trickle' mode on the Lion BIOS. For BigSur's there's a patch for the kernel you can get from Intel to do this (I can't send you the patch, you need to send a message to `[email protected]' if you want it).

No, you weren't asleep. The original message only went to the XFree list, but I wanted to broaden the audience a little bit.

The problem is not restricted to netscape (at least on lions), but it certainly seems to cause the lockup most frequently. I beleive Uros has the patch you are speaking of. Thanks.

Mike Madore
Software Engineer
TurboLinux, Inc.

#4 lore raw
In reply to Michael Madore

Is it a patch to the kernel? If so, which kernel version it will be/is incorporated into?

-----Original Message-----
From: Michael Madore [mailto:[email protected]]
Sent: Monday, August 28, 2000 9:47 AM
To: Don Dugger
Cc: [email protected]
Subject: Re: [Linux-ia64] Re: [Ia64] Netscape (32-bit) locks machine

Quoted 3 lines

Mike-

I must have been asleep since I don't remember seeing the original

message.

Quoted 9 lines

If your machine is crashing when running Netscape I would be suspicious of Netscape before I'd blame the X server. I just discovered a few weeks ago that you have to put the system in trickle' mode if you want to run IA32 programs, including Netscape, reliably. I understand you can set trickle' mode on the Lion BIOS. For BigSur's there's a patch for the kernel you can get from Intel to do this (I can't send you the patch, you need to send a message to `[email protected]' if you want it).

No, you weren't asleep. The original message only went to the XFree list, but I wanted to broaden the audience a little bit.

The problem is not restricted to netscape (at least on lions), but it certainly seems to cause the lockup most frequently. I beleive Uros has the patch you are speaking of. Thanks.

Mike Madore
Software Engineer
TurboLinux, Inc.

_______________________________________________
Linux-IA64 mailing list
[email protected]
http://lists.linuxia64.org/lists/listinfo/linux-ia64