Free Downloads, Community Forum,
FAQs and Developer Resources


Make /Tools Your Home | Link to us

Today's posts | Posts since last visit | Most Active Topics

All Forums Register Login Search Subscriptions My Profile Inbox
Tool Warehouse FAQs Resources Help Member List Address Book Logout

SFU and Windows XP Norwegian

 
Logged in as: Guest
Users viewing this topic: none
  Printable Version
All Forums >> [SFU / Interix / SUA Technology] >> Interix Advanced Forum >> SFU and Windows XP Norwegian Page: [1]
Login
Message << Older Topic   Newer Topic >>
SFU and Windows XP Norwegian - Mar. 18, '05, 4:39:48 AM   
keith

 

Posts: 25
Joined: Jun. 18, '03,
Status: offline
Having installed SFU on many english versions of Windows and run our application, I would not have thought there would be a problem on a Norwegian version of XP Pro.

However, after installing SFU, the bash executable from the library core dumps when exectuting commands:

$ ls
adbin bin db00 editor pipes sql tmp
backup core docs etc prog temp utils
$ bash
bash-2.05b$ ls
Segmentation fault (core dumped)
bash-2.05b$

Any ideas?
Post #: 1
RE: SFU and Windows XP Norwegian - Mar. 19, '05, 1:01:10 AM   
markfunk

 

Posts: 629
Joined: Mar. 31, '03,
Status: offline
why do you think "bash is dumping core" ?
Looks like 'ls' is the program that's getting
the seg. fault.
Did you look at the core file and determine it is bash ?

(in reply to keith)
Post #: 2
RE: SFU and Windows XP Norwegian - Mar. 19, '05, 7:28:16 AM   
jonsmi

 

Posts: 168
Joined: Aug. 12, '03,
From: Oslo, Norway
Status: offline
quote:

why do you think "bash is dumping core" ?
Looks like 'ls' is the program that's getting
the seg. fault.

Anywhere around -- someone is the villain. Having used bash and ls
extensively on a daily basis since the days of SFU 3.0 on several
machines, I've never experienced such a problem (doing lots of Java,
not requiring graphics).

(There is, however, a scoundrel in town, especially on HT/dual processors
machines: Emacs (which loves to segfault).

IMHO, Interix 3.0/3.5 is next to rocket stable (at least in comparison
to various distros of Linux).

But there is a general problem with Windows/NTFS -- and I do think these
are the matters you should delve into. Contrary to Extfs3, there is most
seriously no journaling option for user data, only for meta data (often not
reliable enough).

Having been hanging around since NT 3.51, meta data (bad blocks, problems with
MFT etc.) are a _huge_ problem. You should run chkdsk /f/r from time to time.
The Department of Truth in Redmond has another story about this.

Fragmentation and full disks (about 80%) do also contribute to unreliable
reads and writes. (Hard drives these days is another story.)

In short (my advice would be): De-install bash, delete/rename ls.
Run cleanmgr, disk frag, from the Recovery Console, run
chkdsk /r (not sure if it does the same thing as fsck -cc on ext3 --
reads and writes to each sector, before flagging them bad).

Would be interesting to know.

Still the most thorough disk check/repair.

Copy ls from another machine, reinstall bash.
BTW, Repair on SFU is slow and might/will alter important configuration;
you might also encounter difficulties with ugo.

Usually don't use my MS credentials. Here there are from years, days and
nights in sever rooms:

Jon-Alfred Smith
MCSE+I, MCSA, MCDBA

(in reply to markfunk)
Post #: 3
RE: SFU and Windows XP Norwegian - Mar. 19, '05, 8:10:18 AM   
jonsmi

 

Posts: 168
Joined: Aug. 12, '03,
From: Oslo, Norway
Status: offline
quote:

Having installed SFU on many English versions of Windows and run our application, I would not have thought there would be a problem on a Norwegian version of XP Pro.

Being -- only sort of -- a fellow citizen of yours, let's start with
a hard-learned digression (not quite inappropriate). To paraphrase a
Danish/Norwegian dramatist of old (Holberg): Talk Latin with your peers,
French to women, German to your dog, Danish to your servant -- and English
to your machines. (Translations/support are beyond hopeless.)

Then there is the issue: NO for Windows tasks; EN for UNIX --
confusing?

More to the facts: Does this only affect one Norwegian XP Pro, or the
whole bunch of them?

Anyhow, one problem still remains the same: Especially doing programming
on Interix, you might encounter problems with regional settings (some libraries
complain). All my MS-machines are with English XP/Win 2003. Settings USA,
except keyboard (NO).

quote:

$ bash
bash-2.05b$ ls
Segmentation fault (core dumped)
bash-2.05b$


More digressions (bash is highly configurable -- if it is of interest).
Wrote some helpless contributions on this:

Bash Configuration
http://www.interopsystems.com/tools/forum/tm.asp?m=2999&mpage=1&key=colors%2Cbashஷ

Colors in bash?
http://www.interopsystems.com/tools/forum/tm.asp?m=3598&mpage=1&key=colors%2Cbashฎ

Both of these articles are still in the works – but might give you some ideas.

Good luck!

(in reply to keith)
Post #: 4
RE: SFU and Windows XP Norwegian - Mar. 19, '05, 11:18:41 AM   
Rodney

 

Posts: 3142
Joined: Jul. 9, '02,
From: /Tools lab
Status: online
As markfunk suggests, it looks like ls is dumping core. But it does see odd
given it ran fine for you just before starting bash.
You can try installing the /Tools ls as well to see if you get a different result.
(pkg_add ftp://ftp.interopsystems.com/pkgs/3.5/ls-current-bin.tgz).
If, big if, it is something to do with ls then we can at least look at the core.
Try looking at the core file with gdb and look at what the stack has to show.

(in reply to jonsmi)
Post #: 5
RE: SFU and Windows XP Norwegian - Mar. 21, '05, 12:52:08 AM   
Rodney

 

Posts: 3142
Joined: Jul. 9, '02,
From: /Tools lab
Status: online
I forgot to ask earlier: for your version of XP Pro, do you have SP2 installed?

(in reply to Rodney)
Post #: 6
RE: SFU and Windows XP Norwegian - Mar. 21, '05, 7:08:08 AM   
keith

 

Posts: 25
Joined: Jun. 18, '03,
Status: offline
quote:

ORIGINAL: markfunk

why do you think "bash is dumping core" ?
Looks like 'ls' is the program that's getting
the seg. fault.
Did you look at the core file and determine it is bash ?


I obviously did not explain very well. What I am saying here is that there is a problem with the SFU on Norwegian XP that I have not encountered on English XP and that it crashes our application. But having installed bash, crashes occur when running executables that work fine from ksh. This may be the same problem (or different) but sorting out the problem can do nothing but help.

I do not think that bash is dumping core, what I think is that there is a problem here and am looking for a solution in the only place that I know I can (normally) find helpful advice.

(in reply to markfunk)
Post #: 7
RE: SFU and Windows XP Norwegian - Mar. 21, '05, 7:26:45 AM   
keith

 

Posts: 25
Joined: Jun. 18, '03,
Status: offline
quote:

ORIGINAL: markfunk

why do you think "bash is dumping core" ?
Looks like 'ls' is the program that's getting
the seg. fault.
Did you look at the core file and determine it is bash ?


It is not just ls, which leads me to believe that it is bash.
The seg. fault occurs when you type pretty much anything in bash apart from builtins like echo. Consider the following, cut and paste from a telnet session on the machine:

$ df
Filesystem 512-blocks Used Available Capacity Type Mounted on
//HarddiskVolume1 51199088 20178088 31021000 39% ntfs /dev/fs/C
//HarddiskVolume2 183285584 3198864 180086720 2% ntfs /dev/fs/D
$ ver

Microsoft Windows XP [Versjon 5.1.2600]
$ bash
bash-2.05b$ echo $BASE
/dev/fs/C/SFU/m21
bash-2.05b$ df
Segmentation fault (core dumped)
bash-2.05b$ ls
Segmentation fault (core dumped)
bash-2.05b$ ver
Segmentation fault (core dumped)
bash-2.05b$ donkey
Segmentation fault (core dumped)
bash-2.05b$ gibbon
Segmentation fault (core dumped)
bash-2.05b$ sdjflskdjfdslkfj
Segmentation fault (core dumped)
bash-2.05b$

(in reply to markfunk)
Post #: 8
RE: SFU and Windows XP Norwegian - Mar. 21, '05, 7:28:45 AM   
keith

 

Posts: 25
Joined: Jun. 18, '03,
Status: offline
quote:

ORIGINAL: Rodney

I forgot to ask earlier: for your version of XP Pro, do you have SP2 installed?



Yes Microsoft Windows version 5.1 (Build 2600.xpsp_sp2_rtm.040803-2158 : Service Pack 2)

(in reply to Rodney)
Post #: 9
RE: SFU and Windows XP Norwegian - Mar. 21, '05, 7:34:58 AM   
keith

 

Posts: 25
Joined: Jun. 18, '03,
Status: offline
quote:

ORIGINAL: Rodney

As markfunk suggests, it looks like ls is dumping core. But it does see odd
given it ran fine for you just before starting bash.
You can try installing the /Tools ls as well to see if you get a different result.
(pkg_add ftp://ftp.interopsystems.com/pkgs/3.5/ls-current-bin.tgz).
If, big if, it is something to do with ls then we can at least look at the core.
Try looking at the core file with gdb and look at what the stack has to show.



Unfortunately the customer has not installed gdb when installing SFU.

(in reply to Rodney)
Post #: 10
RE: SFU and Windows XP Norwegian - Mar. 21, '05, 8:38:24 AM   
markfunk

 

Posts: 629
Joined: Mar. 31, '03,
Status: offline
I notice that this is SP2.
Perhaps DEP is causing the problem.
Maybe you should try turning DEP off and see what happens.

http://www.microsoft.com/technet/prodtechnol/winxppro/maintain/sp2mempr.mspx

(in reply to keith)
Post #: 11
RE: SFU and Windows XP Norwegian - Mar. 21, '05, 11:07:09 AM   
Rodney

 

Posts: 3142
Joined: Jul. 9, '02,
From: /Tools lab
Status: online
> Perhaps DEP is causing the problem.

Yes, this is where I was leading to. This seems to be getting to be the cause for many problems!

(in reply to markfunk)
Post #: 12
RE: SFU and Windows XP Norwegian - Mar. 22, '05, 10:51:24 AM   
keith

 

Posts: 25
Joined: Jun. 18, '03,
Status: offline
quote:

ORIGINAL: markfunk

I notice that this is SP2.
Perhaps DEP is causing the problem.
Maybe you should try turning DEP off and see what happens.

http://www.microsoft.com/technet/prodtechnol/winxppro/maintain/sp2mempr.mspx


That has cured it - thank-you very much.

_____________________________

Best Regards

Keith

(in reply to markfunk)
Post #: 13
Page:   [1]
All Forums >> [SFU / Interix / SUA Technology] >> Interix Advanced Forum >> SFU and Windows XP Norwegian Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts


Search All Forums -

Advanced search


SPONSORS



Forum Software © ASPPlayground.NET Advanced Edition 2.5 ANSI

0.078