Linux-Misc Digest #436, Volume #20 Mon, 31 May 99 17:13:12 EDT
Contents:
bizarre system freeze, I need *HELP* ! (Dave Phillips)
Re: Linux: now or never (Michael Powe)
Re: Is Linux Open Source? (stdio.h) (Martin Dieringer)
Re: Performance tuning of FreeBSD and Linux: pointers requested (Leslie Mikesell)
How to use HD with more than 1024 cylinders with LILO (patrick bergner)
Re: Compiling C Programs (Scott Smith)
bind 8.2 $TTL value? (Ken Williams)
Re: lp: driver loaded but no devices found (Su Wadlow)
Re: NT the best web platform? (Anthony Ord)
----------------------------------------------------------------------------
From: Dave Phillips <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup
Subject: bizarre system freeze, I need *HELP* !
Date: Mon, 31 May 1999 15:35:36 -0400
Greetings:
[Up-front apology for the cross-posting, but read on and you'll
understand why it's here & there...]
This is very frustrating. Periodically, maybe once or twice a month,
my Linux box emits a little sound from the hard disk and suddenly my
entire system freezes. I thought it was the X server so I upgraded to
the latest XFree86 SVGA server. Then I thought it was my intermittently
dyng CPU cooling fan, so I replaced that too. So I thought things were
going along swimmingly until this morning when it happened again.
I've copied the relevant section from /var/log/messages, and I'm
hoping some guru or wizard can see just where things are going south.
I'm running Red Hat 5.2, kernel 2.0.36, on a P166 with 64 megs RAM.
The video card is an S3-Trio64 board with 2 megs RAM.
Please, can anyone tell me why this lock-up happens ? *Everything*
freezes, no mouse, no workspace switching, no killing the X server, no
keyboard response at all. I am stymied, so any & all assistance will be
vastly appreciated.
Here's the section from /var/log/messages:
May 31 06:58:14 localhost syslogd 1.3-3: restart.
May 31 06:58:14 localhost kernel: klogd 1.3-3, log source = /proc/kmsg
started.
May 31 06:58:14 localhost kernel: Loaded 3377 symbols from /System.map.
May 31 06:58:14 localhost kernel: Symbols match kernel version 2.0.36.
May 31 06:58:14 localhost kernel: No module symbols loaded.
May 31 06:58:14 localhost kernel: Memory: sized by int13 088h
May 31 06:58:14 localhost kernel: Console: 16 point font, 400 scans
May 31 06:58:14 localhost kernel: Console: colour VGA+ 80x25, 1 virtual
console (max 63)
May 31 06:58:14 localhost kernel: pcibios_init : BIOS32 Service
Directory structure at 0x000fadc0
May 31 06:58:14 localhost kernel: pcibios_init : BIOS32 Service
Directory entry at 0xfb230
May 31 06:58:14 localhost kernel: pcibios_init : PCI BIOS revision 2.10
entry at 0xfb260
May 31 06:58:14 localhost kernel: Probing PCI hardware.
May 31 06:58:14 localhost kernel: Calibrating delay loop.. ok - 66.76
BogoMIPS
May 31 06:58:14 localhost kernel: Memory: 63344k/65536k available (636k
kernel code, 384k reserved, 1172k dat
a)
May 31 06:58:14 localhost kernel: Swansea University Computer Society
NET3.035 for Linux 2.0
May 31 06:58:14 localhost kernel: NET3: Unix domain sockets 0.13 for
Linux NET3.035.
May 31 06:58:14 localhost kernel: Swansea University Computer Society
TCP/IP for NET3.034
May 31 06:58:14 localhost kernel: IP Protocols: ICMP, UDP, TCP
May 31 06:58:14 localhost kernel: Checking 386/387 coupling... Ok, fpu
using exception 16 error reporting.
May 31 06:58:14 localhost kernel: Checking 'hlt' instruction... Ok.
May 31 06:58:14 localhost kernel: Intel Pentium with F0 0F bug -
workaround enabled.
May 31 06:58:14 localhost kernel: alias mapping IDT readonly ... ...
done
May 31 06:58:14 localhost kernel: Linux version 2.0.36
([EMAIL PROTECTED]) (gcc version 2.7.2.3) #4
Wed Apr 7 16:58:14 EDT 1999
May 31 06:58:14 localhost kernel: Starting kswapd v 1.4.2.2
May 31 06:58:14 localhost kernel: Serial driver version 4.13 with no
serial options enabled
May 31 06:58:14 localhost kernel: tty00 at 0x03f8 (irq = 4) is a 16550A
May 31 06:58:14 localhost kernel: tty01 at 0x02f8 (irq = 3) is a 16550A
May 31 06:58:14 localhost kernel: tty03 at 0x02e8 (irq = 3) is a 16550A
May 31 06:58:14 localhost kernel: lp1 at 0x0378, (polling)
May 31 06:58:14 localhost kernel: PS/2 auxiliary pointing device
detected -- driver installed.
May 31 06:58:14 localhost kernel: Real Time Clock Driver v1.09
May 31 06:58:14 localhost kernel: loop: registered device at major 7
May 31 06:58:14 localhost kernel: ide: i82371 PIIX (Triton) on PCI bus 0
function 57
May 31 06:58:14 localhost kernel: ide0: BM-DMA at 0x9000-0x9007
May 31 06:58:14 localhost kernel: ide1: BM-DMA at 0x9008-0x900f
May 31 06:58:14 localhost kernel: hda: ST51080A, 1033MB w/128kB Cache,
CHS=525/64/63
May 31 06:58:14 localhost kernel: hdb: Conner Peripherals 1275MB -
CFA1275A, 1220MB w/256kB Cache, CHS=619/64
/63
May 31 06:58:14 localhost kernel: hdc: Maxtor 85250A6, 5009MB w/256kB
Cache, CHS=10856/15/63, DMA
May 31 06:58:14 localhost kernel: hdd: CREATIVE CD2422E, ATAPI CDROM
drive
May 31 06:58:14 localhost kernel: ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
May 31 06:58:14 localhost kernel: ide1 at 0x170-0x177,0x376 on irq 15
May 31 06:58:14 localhost kernel: Floppy drive(s): fd0 is 1.44M
May 31 06:58:14 localhost kernel: FDC 0 is an 8272A
May 31 06:58:14 localhost kernel: SLIP: version 0.8.4-NET3.019-NEWTTY
(dynamic channels, max=256).
May 31 06:58:14 localhost kernel: CSLIP: code copyright 1989 Regents of
the University of California.
May 31 06:58:14 localhost kernel: SLIP linefill/keepalive option.
May 31 06:58:14 localhost kernel: Partition check:
May 31 06:58:14 localhost kernel: hda: hda1
May 31 06:58:14 localhost kernel: hdb: hdb1 hdb2 < hdb5 >
May 31 06:58:14 localhost kernel: hdc: hdc1 hdc2
May 31 06:58:14 localhost kernel: VFS: Mounted root (ext2 filesystem)
readonly.
May 31 06:58:14 localhost kernel: Adding Swap: 104796k swap-space
(priority -1)
May 31 06:58:30 localhost PAM_pwdb[240]: (login) session opened for user
root by (uid=0)
May 31 06:58:30 localhost login[240]: ROOT LOGIN ON tty1
May 31 06:58:30 localhost PAM_pwdb[240]: (login) session closed for user
root
May 31 06:59:53 localhost dip[266]: root dial-up
209.143.26.41/209.143.26.41 to remote 205.212.123.10/205.212
.123.10 with SLIP/296
May 31 07:52:51 localhost kernel: OSS warning: Application caused too
much output underrun errors on audio de
vice #0.
May 31 07:52:51 localhost kernel: Look at oss/docs/README.performance
for more info.
May 31 08:00:17 localhost kernel: OSS warning: Application caused too
much output underrun errors on audio de
vice #0.
May 31 08:00:17 localhost kernel: Look at oss/docs/README.performance
for more info.
May 31 09:31:22 localhost dip[266]: ip_acct failed!!
May 31 09:31:22 localhost dip[266]: root down SLIP link to remote
205.212.123.10/205.212.123.10
May 31 09:31:23 localhost dip[266]: Total online:9089s in:0 bytes 0
pkts; out:0 bytes 0 pkts
May 31 09:35:43 localhost dip[998]: root dial-up
209.143.26.95/209.143.26.95 to remote 205.212.123.10/205.212
.123.10 with SLIP/296
May 31 10:12:55 localhost inetd[1090]: execv /usr/sbin/in.identd: No
such file or directory
May 31 10:26:42 localhost dip[998]: ip_acct failed!!
May 31 10:26:42 localhost dip[998]: root down SLIP link to remote
205.212.123.10/205.212.123.10
May 31 10:26:43 localhost dip[998]: Total online:3059s in:0 bytes 0
pkts; out:0 bytes 0 pkts
May 31 11:24:31 localhost dip[1189]: root dial-up
209.143.26.251/209.143.26.251 to remote 205.212.123.10/205.
212.123.10 with SLIP/296
May 31 11:48:34 localhost dip[1189]: >>> Line disconnected
May 31 11:50:52 localhost dip[1273]: root dial-up
209.143.26.45/209.143.26.45 to remote 205.212.123.10/205.21
2.123.10 with SLIP/296
May 31 12:13:46 localhost kernel: end_request: I/O error, dev 02:00,
sector 0
May 31 12:19:16 localhost kernel: general protection: 0000
May 31 12:19:16 localhost kernel: CPU: 0
May 31 12:19:16 localhost kernel: EIP: 0010:[isnew+12/92]
May 31 12:19:16 localhost kernel: EFLAGS: 00013246
May 31 12:19:16 localhost kernel: eax: 035f7c0c ebx: 001000c8 ecx:
00000000 edx: ffff0ff0
May 31 12:19:16 localhost kernel: esi: bf1ef48c edi: bf8ef400 ebp:
00ff0090 esp: 034287d0
May 31 12:19:16 localhost kernel: ds: 0018 es: 0018 fs: 002b gs:
002b ss: 0018
May 31 12:19:16 localhost kernel: Process X (pid: 337, process nr: 20,
stackpage=03428000)
May 31 12:19:16 localhost kernel: Stack: 0010aa0c 034287dc 00000000
ff10ffc8 ff00ff00 fffffff0 001e008c 008e0
000
May 31 12:19:16 localhost kernel: 03ff7c90 005f000c 00000018
00000018 0000b12b 0000002b ffffffff 00100
0c8
May 31 12:19:16 localhost kernel: 00003210 0001aa46 0310880c
00420024 00000000 001000c8 ff000f00 bffff
4f0
May 31 12:19:16 localhost kernel: Call Trace: [error_code+64/72]
[setup_arch+300/612] [setup_arch+232/612]
May 31 12:19:16 localhost kernel: Code: 00 0f a2 88 c1 80 e4 0f 88 25 25
f5 1a 00 24 f0 c0 e8 04 88
== Dave Phillips
http://www.bright.net/~dlphilp/index.html
http://sunsite.univie.ac.at/Linux-soundapp/linux_soundapps.html
------------------------------
Crossposted-To: alt.os.linux
Subject: Re: Linux: now or never
From: Michael Powe <[EMAIL PROTECTED]>
Date: 31 May 1999 13:22:49 -0700
=====BEGIN PGP SIGNED MESSAGE=====
Hash: SHA1
>>>>> "Richard" == Richard Wood <richard@@sqweek.net> writes:
Richard> Michael Powe wrote in message
Richard> <[EMAIL PROTECTED]>...
>>
Gilles> Linux gathering dust on the bottom shelves that being
Gilles> installed on numerous computers. That's why I'm saying
Gilles> that Linux is going nowhere as an OS for the general
Gilles> public. For now, it's only child's play and big hoopla.
>> It doesn't appear you actually are in a position to make this
>> pronouncement with any degree of credibility.
Richard> All posts on Usenet are the authors opinions. No-one
Richard> needs credibility to be able to state their opinion.
Not profound. Opinions without credibility aren't worth the trouble
of reading. People who spend time considering their topics before
venting typically give opinions that are worth considering by their
readers. Mssr. Gilles doesn't fall into that category. He's just
trolling.
Richard> I don't agree with Giles but I respect his right to
Richard> express his opinion.
So what? He can express all day long, I don't care. If he wants to
have his opinions taken seriously, he needs to talk less, learn more
and think before he writes. You're confusing "respecting his right to
express his opinion" with respecting the opinion he expesses.
mp
- --
Michael Powe [EMAIL PROTECTED]
Portland, Oregon USA http://www.trollope.org
"There are certain rights that a woman loses when she becomes a
wife." -- Farrah Fawcett
=====BEGIN PGP SIGNATURE=====
Version: GnuPG v0.9.0 (GNU/Linux)
Comment: Encrypted with Mailcrypt 3.5.1 and GNU Privacy Guard
iD8DBQE3Uu+W755rgEMD+T8RAvNHAKC8k7sgwGzIrcaWGKPARrKwAyEgUwCeKf5O
o6TIDuRMbwC2KW8USQYLetE=
=1aIW
=====END PGP SIGNATURE=====
------------------------------
From: Martin Dieringer <[EMAIL PROTECTED]>
Subject: Re: Is Linux Open Source? (stdio.h)
Date: 31 May 1999 22:16:15 +0200
[EMAIL PROTECTED] (Bill Unruh) writes:
> In <[EMAIL PROTECTED]> Martin Dieringer
><[EMAIL PROTECTED]> writes:
>
> >Martin Dieringer <[EMAIL PROTECTED]> writes:
> >> Martin Dieringer <[EMAIL PROTECTED]> writes:
> >> > Martin Dieringer <[EMAIL PROTECTED]> writes:
> >> > > Martin Dieringer <[EMAIL PROTECTED]> writes:
> >> > > > please someone send me or post /usr/include/stdio.h here.
> >> > > > I don't have access to a linux system
> >> > > I'd be completely satisfied with the definition of FILE
> >> > The datatype and purpose of '_cnt' would serve the purpose.
> >> > The linux version does NOT matter at all.
> >> Where can I download it? Is there a source tree somewhere?
> >no, linux isn't open source. they won't show you stdio.h -
>
> You seem to be engaged in a long conversation with yourself here,
yeah nobody wants to talk to me... ;-(((
> and
> tha lack of knowledge show.
I lack the knowledge of FILE->_cnt, I'm so awfully sorry!
> Why don;t you go looking-- like on the net--
> for linux source. eg www.kernel.org
you're right. I forgot that linux is really THE kernel and probably
the only one in the world...?
I only need about 20 lines of code, should I really be doomed to
download a bunch of more than 10MBs I never need?
martin
------------------------------
From: [EMAIL PROTECTED] (Leslie Mikesell)
Crossposted-To: comp.unix.bsd.freebsd.misc
Subject: Re: Performance tuning of FreeBSD and Linux: pointers requested
Date: 31 May 1999 14:59:53 -0500
In article <[EMAIL PROTECTED]>,
Dinesh Nair <[EMAIL PROTECTED]> wrote:
>Chris Hedley wrote:
>> files at slightly over twice the speed of FreeBSD. Why? [For those with
>> suggestions, it may be of use to know that I tend to use "bleeding-edge"
>> kernels, so this is on Linux 2.3.x and FreeBSD-4.0-CURRENT. The FS' in
>
>it has been mentioned here, in another thread, that linux usually mounts
>filesystems async by default while freebsd doesnt. could this be the
>difference you're seeing ?
He specifically mentioned directory reading speed:
Linux reads a large group of ~7000 article
files at slightly over twice the speed of FreeBSD.
This would imply a difference in read buffering unless simultaneous
writing is causing a slowdown. The sync vs. async setting would
be more directly involved in write timing.
Les Mikesell
[EMAIL PROTECTED]
------------------------------
From: [EMAIL PROTECTED] (patrick bergner)
Subject: How to use HD with more than 1024 cylinders with LILO
Date: Mon, 31 May 1999 08:36:30 +0200
I have SuSE 6.0 and want to use an old HD (Seagate / 720MB)
for LINUX. The partition-manager prints the errormessage that
the bootmanager LILO may eventually not be able to boot from
that disk, because of the 1024cyl limitation.
I have the HD divided into smaller parts and installed LINUX
on the first partition, but LILO failed to boot (no message,
only thausands of 1s and 0s).
If I use the disk in an old computer (other HD surrounding) the
disk is usable. Why, and how can I make it run beside a 6,4GB
harddisk?
Thanks in advance
Patrick.
------------------------------
From: [EMAIL PROTECTED] (Scott Smith)
Subject: Re: Compiling C Programs
Reply-To: [EMAIL PROTECTED]
Date: Mon, 31 May 1999 19:34:09 GMT
On Mon, 31 May 1999 16:31:36 +1000, J Helms <[EMAIL PROTECTED]> wrote:
>I have copied some C programs from another red Hat 5.2 system onto my
>machine. When I attempt to compile the program (which compiles with no
>errors on the other system) the stupid thing crashes dreadfully with
>hundreds of errors. All I can presume is that the installation did not some
>kind of necessary library or something.
>
>Any suggestions would be greatly appreciated. If you require more info just
>let me know.
A few (10-20) lines of the error messages would be helpful. You're also welcome
to send email directly to me, if speed is important in solving this.
Good luck,
--
Scott Lacy Smith <[EMAIL PROTECTED]>
Student of Computer Science
"Nullus Anxietas" Denton, Texas, US
The University of North Texas
------------------------------
From: [EMAIL PROTECTED] (Ken Williams)
Subject: bind 8.2 $TTL value?
Date: Mon, 31 May 1999 16:59:14 GMT
So I can't find one example that actually shows a TTL value. What is a good
number to use?
------------------------------
From: Su Wadlow <[EMAIL PROTECTED]>
Crossposted-To: comp.sys.ibm.ps2.hardware
Subject: Re: lp: driver loaded but no devices found
Date: Mon, 31 May 1999 12:07:46 -0500
Reply-To: [EMAIL PROTECTED]
Hi Georg,
> When I boot Linux I get the following message:
>
> lp: driver loaded but no devices found
>
> This happens both on an IBM PS/2 Model 70 as well as on an IBM PS/2 Model
> 55 SX with both Linux 2.0.35 and 2.2.9.
> Why doesn't it see the parallel port? Does it parallel port have to be
> specifically enabled? Do I need a special driver?
No, you don't need a special driver, but you do need
parallel support somewhere. You can have it compiled
into the kernel, or compiled into a module that either
is loaded at boot or that you load later. It seems to
be most common to have it compiled into the kernel.
Type in 'dmesg' at the prompt, piping it through your
favorite filter (like 'less' or 'more'), and look at
the boot messages. A line or two past the Linux
version, you should see information about first the
serial port(s) and then the parallel port(s). Do
you see anything about 'lp0' or 'parport0'? If not,
then you most likely don't have parallel support,
or at least you aren't loading at boot.
Did the 2.0.35 kernel that you're using come from the
MCA Linux Homepage at the dgmicro site? I know for a
fact that parallel support is *not* included in that
kernel. If you're using this one, you'll have to apply
the MCA patch to the standard 2.0.35 source and
recompile.
I can't say anything about the 2.2.9 kernel as I'm
not using it . . . . yet. I'm planning to set up a
system in the near future on which I play with stuff
like this.
HTH
--
========================================================
Su Wadlow
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
========================================================
------------------------------
From: [EMAIL PROTECTED] (Anthony Ord)
Crossposted-To: comp.infosystems.www.servers.unix,comp.os.linux.advocacy
Subject: Re: NT the best web platform?
Date: Mon, 31 May 1999 17:22:37 GMT
On 26 May 1999 23:12:46 GMT, [EMAIL PROTECTED] (Jon
Drukman) wrote:
>In article <[EMAIL PROTECTED]>, Olaf Walkowiak wrote:
>>If you have a lot of dynamic content, exspecially when using custom
>>modules with mod_perl or something, using Squid can reduce the
>>necessary Apache childs, especially if there are lots of "slow"
>>clients. This can reduce memory consumption.
>
>If you're going to use Squid, you should give it all the memory you
>can spare.
>
>I'm not sure what you mean by "dynamic" content here. If the content
>is truly dynamic (in my mind that means it is different on each request)
>then you *cannot* cache it with something like squid, because that would
>defeat the entire point. Now if you mean the pages are mostly static
>but do change from time to time, then I'm with you.
Let's say the results depend on 3 files, with modification
dates of 1/5/99, 2/5/99 & 3/5/99 (uk format). I can put a
Last-Modified of 3/5/99 and cache it for as long as it
doesn't change.
>We use squid specifically to accelerate our *static* content. Each pageview
>has something like 30 associated images. Squid makes a fantastic "images
>only" server. It has low overhead compared to Apache.
>
>Throw it on a separate box with a ton of RAM and you will double or triple
>your Apache boxes' capacity instantly. Squid+Apache is a great solution
>for high volume sites.
Regards
Anthony
--
=========================================
| And when our worlds |
| They fall apart |
| When the walls come tumbling in |
| Though we may deserve it |
| It will be worth it - Depeche Mode |
=========================================
------------------------------
** FOR YOUR REFERENCE **
The service address, to which questions about the list itself and requests
to be added to or deleted from it should be directed, is:
Internet: [EMAIL PROTECTED]
You can send mail to the entire list (and comp.os.linux.misc) via:
Internet: [EMAIL PROTECTED]
Linux may be obtained via one of these FTP sites:
ftp.funet.fi pub/Linux
tsx-11.mit.edu pub/linux
sunsite.unc.edu pub/Linux
End of Linux-Misc Digest
******************************