Re: Problems with XFS patch and SMP

2002-12-08 Thread Russell Coker
It would be interesting to see an strace of the program and the output of 
dmesg.




Re: Problems with XFS patch and SMP

2002-12-08 Thread Craig Sanders
On Sun, Dec 08, 2002 at 04:26:03PM -0500, Bob Hilliard wrote:
  Bug#171943 reports that dictd 1.8.0 fails to start with the
 following error message:
 
 [EMAIL PROTECTED]:~$ /usr/sbin/dictd -d nofork
 :I: 2535 starting dictd 1.8.0/rf on Linux 2.4.19-xfs Tue Dec  3 23:43:09 2002
 dictd (dict_index_open): Cannot mmap index file /dev/null(dict_index_open) 
 Cannot mmap index file /dev/nulldict_index_open: No such device
 (dict_index_open) dict_index_open: No such device

that looks like it may be a configuration errorwhy else would it be
trying to mmap /dev/null?

  I have not experienced any problems with this version in woody,
 sarge or sid, using a 2.4.18 kernel, and I have not received any other
 similar bug reports.
 
  The reporter is running a 2.4.19 kernel with the XFS patch and
 SMP support.  Are there any known issues with the XFS patch and SMP
 support that could contribute to this problem?

not that i've noticed.  i've been running 2.4.19  XFS on my SMP
workstation for over a month without any problems at all.

Linux siva.taz.net.au 2.4.19-xfs #1 SMP Sat Nov 2 14:31:23 EST 2002 i686 
unknown unknown GNU/Linux

 Is anyone running dictd with a 2.4.19 kernel with the XFS patch and
 SMP support?

i'm running the dict client on this machine, but not the dict server.
i'm running the server on another machine (currently running ancient
kernel 2.4.9 with XFS patches).

i just installed dictd 1.8.0-1 and one small dictionary (dict-elements)
to test it.  it seems to run and answer queries without problems.

running it with dictd -d nofork shows:

[EMAIL PROTECTED] [11:04:49] ~# /usr/sbin/dictd -d nofork
:I: 1493 starting dictd 1.8.0/rf on Linux 2.4.19-xfs Mon Dec  9 11:05:02 2002
:I: elements  130 20751507646260

a query for potassium results in the following output:

:C: dict 1.8.0/rf on Linux 2.4.19-xfs
:D: * potassium 1
:I: quit: d/m/c = 1/0/7; 0.000r 0.000u 0.000s

if you have any other tests you'd like me to run, i'll leave dictd
installed here for a day or two...then i'll remove it.

craig

-- 
craig sanders [EMAIL PROTECTED]

Fabricati Diem, PVNC.
 -- motto of the Ankh-Morpork City Watch




Re: Problems with XFS patch and SMP

2002-12-08 Thread Bernd Eckenfels
On Mon, Dec 09, 2002 at 11:09:51AM +1100, Craig Sanders wrote:
 that looks like it may be a configuration errorwhy else would it be
 trying to mmap /dev/null?

this is a elf function, not sure what it is used for but a lot of programs
do this. Thats why you need /dev/null in most chroots for ftpds which exec()
dynaically linked ls.

Greetings
Bernd