Linux-Misc Digest #40, Volume #25 Tue, 4 Jul 00 12:13:04 EDT
Contents:
ICMP error ([EMAIL PROTECTED])
Re: Can't access my /dev/hda1 partition (Leonard Evens)
Re: Netscape and RedHat 6.2 (Leonard Evens)
Re: what is jre and arch?? ("Peter T. Breuer")
Re: doomed with lilo (Andrew Purugganan)
Re: Error - cannot find the ppp daemon (Matthew Nimmo)
Re: Need clarification: what really is 'MBR' and what is 'BOOT SECTOR'? (Rod Smith)
Re: Error - cannot find the ppp daemon (Andrew Purugganan)
how do I suspend, ctrl-Z (John D Prokopek)
Re: Need clarification: what really is 'MBR' and what is 'BOOT SECTOR'? ("Peter T.
Breuer")
Re: Apache (David Efflandt)
Re: doomed with lilo (peter pilsl)
nevermind (John D Prokopek)
Re: Help! root directory mounted as readonly. What to do? (Fabian Gebhardt)
Re: How-to PATCH (Patricia)
Re: going online (David Efflandt)
ppp compression (Matthew Nimmo)
looking for vim5.7 for redhat6.2 (John D Prokopek)
Expert help needed! (Lennart Benoot)
How to get the keyboard state in C? ([EMAIL PROTECTED])
----------------------------------------------------------------------------
From: [EMAIL PROTECTED]
Subject: ICMP error
Date: Tue, 04 Jul 2000 13:14:29 GMT
Hello linux users
my name's Kim.
Could someone tell the origine of the message in the /var/log/messages :
...
Jul 4 14:39:39 flam kernel: 10.1.1.1 sent an invalid ICMP error to a
broadcast.
...
The message appears every 2, 3, or 4 minutes.
Using Linux kernel 2.2.10 (Suse 6.2) on Pentium II
Thank you.
Kim
Email : [EMAIL PROTECTED]
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
From: Leonard Evens <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux,comp.os.linux.setup,alt.linux
Subject: Re: Can't access my /dev/hda1 partition
Date: Tue, 04 Jul 2000 08:05:39 -0500
[EMAIL PROTECTED] wrote:
>
> I've been running a intel p3 box with windows and mandrake linux 7.0
> side by side for a month or two now. It was missing the development
> tools so I reinserted the CD and did an upgrade. But when that was done
> and the computer rebooted, I couldn't find windows in my LILO boot. So
> i went into my lilo.conf file and found out that it wasn't listed there.
> So i typed in other = /dev/hda1 and all the other junk that goes along
> with it. Saved the buffer. Then I typed in lilo and I got this error:
> "first sector of /dev/hda1 doesn't have a valid boot signature". Then
> if I click on my disk 0 icon on my desktop (an alias to the windows
> drive) it says: "WARNING - mount: wrong fs type, bad option, bad
> superblock on /dev/hda1 or too many mounted file systems". I did an
> fdisk and the partution shows up under /dev/hda1. Now, when I do fdisk
> is: The number of cylinders for this disk is set to 3328. There is
> nothing wrong with that, but this is larger than 1024, and could in
> certain setups cause problems with:
> 1) software that runs at boot time (e.g., LILO)
> 2) booting and partitioning software from other OSs
> (e.g., DOS FDISK, OS/2 FDISK)
>
> Next, I tried using my windows 98 boot disk and when I went into C:> and
> did a "dir" it said couldn't read media type on drive c (or something
> very similar to that). Did a fdisk /MBR, and restarted and now said
> "Missing Operating System." So I rebuilt the linux master boot record
> and I was at least able to once again go into linux which is what I am
> using now. I'm not trying to bombard you with all my problems, but
> hopefully the more info I give the easier it will be for someone to help
> me with this problem. I really need access to my windows partition, and
> if anyone can help me once again see my windows files....if even just to
> be able to back them up on CD's or Jazz disks or whatever, please please
> please lend a helping hand. I apprecaite your time with this lengthy
> letter and can't wait to hear from someone;)
>
> Thanks again!
> Stu
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.
It is not clear what you mean by doing and upgrade. Did you just
install the additional packages you needed, or did you upgrade
to a new Mandrake release?
However, in neither case should it have affected your windows
partition. An upgrade could have given you a new lilo configuration,
and you report that is what happened. But that should have been
fixed by adding the other=/dev/hda1 section and running /sbin/lilo.
I've done this numerous times and never encountered a problem.
Most likely something happened to your windows partition. I am
doiubtful that this had anything to do with the upgrade, but of
course one can never be sure. Most likely it was the result of
something you did that you don't remember while attempting to
recover, or it could just be a coincidence.
Recovering you windows partition is something you should really
take up with a windows group such as comp.os.ms-windows.misc.
Perhaps some windows recovery software will help you.
--
Leonard Evens [EMAIL PROTECTED] 847-491-5537
Dept. of Mathematics, Northwestern Univ., Evanston, IL 60208
------------------------------
From: Leonard Evens <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.questions,comp.os.linux.redhat,comp.os.linux.x
Subject: Re: Netscape and RedHat 6.2
Date: Tue, 04 Jul 2000 08:10:16 -0500
Charles Leslie wrote:
>
> I have the weird behavior from Netscape. For some strange reason,
> whenever, I'm using Netscape, my Xserver crashes. I'm using the default
> window manager, Gnome, with Redhat 6.2 and have installed the Metro-X
> 3.4.5 xserver. My video card is an ATI Rage Fury MAXX. Has anyone had
> this problem? I've update Netscape to 4.73 and the problem still
> persist. There really isn't anything in the log except "Xserver lost
> connection ..."
>
> The windowing system is fine as long as I don't using Netscape.
>
> thx
> -charles
I am running RedHat 6.2 and the same version of netscape without
that problem. Occasionally, if I use a site with badly written
java code, netscape itself will hang, but I can kill it and restart
it. The netscape java problem has been around for quite a while
through numberous versions of RH and of netscape.
--
Leonard Evens [EMAIL PROTECTED] 847-491-5537
Dept. of Mathematics, Northwestern Univ., Evanston, IL 60208
------------------------------
From: "Peter T. Breuer" <[EMAIL PROTECTED]>
Subject: Re: what is jre and arch??
Date: 4 Jul 2000 13:30:59 GMT
Sam Wun <[EMAIL PROTECTED]> wrote:
: [oracle@swun linux]$ ./runIns.sh\
: /usr/local/jre/bin/jre: arch: command not found
: /usr/local/jre/bin/../bin/checkVersions: arch: command not found
: I am not quite understand the above error.
: can anyone enlighten me?
The script in question is calling for the command "arch", and the
operating system is having no luck in finding that command on its
behalf.
Exactly how close did you come to understanding it?
% arch
i686
Peter
------------------------------
From: [EMAIL PROTECTED] (Andrew Purugganan)
Subject: Re: doomed with lilo
Date: 4 Jul 2000 13:49:27 GMT
peter pilsl ([EMAIL PROTECTED]) wrote:
[ my lilo.conf is as simple as possible and /boot and / are within the magic
[ 504MB. In fact, I moved this partitions to the front, so they occupy hda1
[ & hda3 now.
[ and lilo.floppy (from the lilo-minihowto)
[ boot = /dev/fd0
[ map = /mnt/floppy/lilo-map
[ delay = 100
[ ramdisk = 0
[ timeout = 100
[ prompt
[ disk = /dev/hda # 1,2 GB IDE, BIOS only sees first 500 MB.
[ image = /boot/vmlinuz-2.2.14
[ root = /dev/hda3
[ label = linux
[ read-only
obviously you've read the lilo howto, what aboutthe boot or bootprompt howto
enter the geometry parms at boot after you've read the part about the
disk limitation
Does the bios know or detect the big disk at all?
--
jazz annandy AT dc DOT seflin DOT org
Registered linux user no. 164098
Doesn't it bother you, that we have to search for intelligent life
--- OUT THERE??
------------------------------
Date: Tue, 04 Jul 2000 15:59:13 +0200
From: Matthew Nimmo <[EMAIL PROTECTED]>
Subject: Re: Error - cannot find the ppp daemon
Look for pppd - that=B4s the ppp daemon. With me it=B4s in /usr/sbin
AFAIK kppp is just the frontend for a ppp connection so that wont help
you much.
------------------------------
Reply-To: [EMAIL PROTECTED]
From: [EMAIL PROTECTED] (Rod Smith)
Subject: Re: Need clarification: what really is 'MBR' and what is 'BOOT SECTOR'?
Crossposted-To: microsoft.public.windowsnt.misc,linux.redhat.misc
Date: Tue, 04 Jul 2000 14:07:00 GMT
[Posted and mailed]
In article <8jsl40$qg0$[EMAIL PROTECTED]>,
"Peter T. Breuer" <[EMAIL PROTECTED]> writes:
> Rod Smith <[EMAIL PROTECTED]> wrote:
>: [Posted and mailed]
>
>: In article <z9S65.19877$[EMAIL PROTECTED]>,
>: "Charlie Root" <[EMAIL PROTECTED]> writes:
>:>
>:> I'll have to experiment most of the stuff I got here, including that 'dd
>:> if=/dev/zero of=/dev/hda bs=512 count=1' if it really whack the NT boot code
>:> at MBR or just the NT boot sector.
>
>: Once again, **DO NOT** do this on any system you care about. It'll make
>: it impossible to recover any data from the disk unless you know the
>: EXACT disk geometry and partition layout, and then only if you know
>
> Nonsense lad. You're confusing the MBR with the partition table.
The partition table is stored **AS PART OF** the MBR!
> Do it to your heart's content.
Only if you want trouble.
--
Rod Smith, [EMAIL PROTECTED]
http://www.rodsbooks.com
Author of books on Linux networking & multi-OS configuration
------------------------------
From: [EMAIL PROTECTED] (Andrew Purugganan)
Subject: Re: Error - cannot find the ppp daemon
Date: 4 Jul 2000 14:00:28 GMT
alan ([EMAIL PROTECTED]) wrote:
[ Hi,
[ Well this is strange. I've just done a fresh Red Hat installation (not
[ my first ever - I've been using it for about 6months) - and I'm getting
[ 'Error. Cannot find the ppp daemon'. Typing 'dsemsg' I see 'PPP line
[ discipline registered', and checking usr/sbin I see kppp is there. When I
[ click on that it says that 'kppp is already running under process -ID 758'.
[ What is the problem, anybody?? I don't think I installed Samba. Would that
[ (or missing some other similar package, though I think Samba was the only
[ one not installed) have something to do with it. I encountered this
[ problem once before, and I think I beat it by reinstalling with virtually
[ everything... fun.
worry about SAMBA later. kppp is where you specify your iSP, its access
number, DNS, and so on. Once you've configured this, and you're able to
access your ISP successfully, then pppd too will start and stay up for the
duration of the online session
--
jazz annandy AT dc DOT seflin DOT org
Registered linux user no. 164098
Doesn't it bother you, that we have to search for intelligent life
--- OUT THERE??
------------------------------
From: John D Prokopek <[EMAIL PROTECTED]>
Subject: how do I suspend, ctrl-Z
Date: Tue, 04 Jul 2000 10:27:24 -0400
I am running HR6.2 and I find that ctrl-Z does not suspend a process.
I thought that linux was supposed to be similar to unix.
do I need to configure comething for this to work or is there another
key combination that will do the trick?
appreciate the help
--
John D. Prokopek
[EMAIL PROTECTED]
"The bus came by
and I got on
thats when it all began ...."
------------------------------
From: "Peter T. Breuer" <[EMAIL PROTECTED]>
Crossposted-To: microsoft.public.windowsnt.misc,linux.redhat.misc
Subject: Re: Need clarification: what really is 'MBR' and what is 'BOOT SECTOR'?
Date: 4 Jul 2000 14:26:04 GMT
Rod Smith <[EMAIL PROTECTED]> wrote:
:> Nonsense lad. You're confusing the MBR with the partition table.
: The partition table is stored **AS PART OF** the MBR!
Well, I have to admit you are essentially right. 0x1BE to 0x1FE is the
primary partition table. Those are the top few bytes of the first
sector (512 bytes). Unstick foot from mouth.
0x000 to 0x1BD is the boot code (the MBR). Those are the first 462 bytes
of the first sector.
Thankfully, there usually follow more copies of the table.
Peter
------------------------------
From: [EMAIL PROTECTED] (David Efflandt)
Subject: Re: Apache
Date: 4 Jul 2000 14:32:39 GMT
Reply-To: [EMAIL PROTECTED]
On Mon, 3 Jul 2000 10:41:32 -0500, Darren <[EMAIL PROTECTED]> wrote:
>I had Apache running the other day. I turned off my computer and when I
>came back to it today, I couldn't get Apache to load. I tried using the
>"/usr/local/apache/bin/apachectl start" script. I don't get any errors, but
>when I use "/usr/local/apache/bin/apachectl status", it shows that it is not
>running (I forget the exact message). What could have changed? I am using
>php4 and mysql if that helps or makes a difference. BTW, I also tried
>executing the httpd file. Again, no errors echo to screen, it just doesn't
>run.
Did /var/log/messages or the apache logs tell you anything? Did you have
another apache package installed (other than the one you compiled
yourself) that might be starting automatically. Check /etc/inetd.conf to
make sure it is commented out there. Maybe you changed a conf setting
last time that broke it, but failed to restart it and didn't realize it.
When I compiled it myself long ago, I know that the conf files that came
with apache source used to look for some things in /usr/local/httpd. If
that is still the case, maybe 'ln -s /usr/local/apache /usr/local/httpd'
would help.
--
David Efflandt [EMAIL PROTECTED] http://www.de-srv.com/
http://www.autox.chicago.il.us/ http://www.berniesfloral.net/
http://hammer.prohosting.com/~cgi-wiz/ http://cgi-help.virtualave.net/
------------------------------
From: peter pilsl <[EMAIL PROTECTED]>
Subject: Re: doomed with lilo
Date: Tue, 04 Jul 2000 14:32:33 GMT
In article <8jsq17$[EMAIL PROTECTED]>, [EMAIL PROTECTED] says...
>
> obviously you've read the lilo howto, what aboutthe boot or bootprompt howto
> enter the geometry parms at boot after you've read the part about the
> disk limitation
> Does the bios know or detect the big disk at all?
>
yes, the bios does detect it with the correct physical parameters as
stated in /proc/ide/hda/geometry
I also tried the bios-parameter (and cylinder, heads, sectors ...)
:-(
peter
--
pilsl@
goldfisch.at
------------------------------
From: John D Prokopek <[EMAIL PROTECTED]>
Subject: nevermind
Date: Tue, 04 Jul 2000 10:49:15 -0400
don't know why but now it works
maybe I missed spelled "z" :)
------------------------------
From: Fabian Gebhardt <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup
Subject: Re: Help! root directory mounted as readonly. What to do?
Date: Tue, 04 Jul 2000 17:16:22 +0200
You should not repair a mounted disk.
Try to boot a rescue Linux and run 'e2fsck /dev/hda5' manually.
After you repaired it you can try to boot from it.
HTH
--
CU, Fabian Gebhardt
E-Mail: [EMAIL PROTECTED]
ICQ#: 77948091
Homepage: http://www.ki.tng.de/~gebhardt
Schul-Seite: http://www.ebg.org
------------------------------
From: Patricia <[EMAIL PROTECTED]>
Subject: Re: How-to PATCH
Date: Tue, 4 Jul 2000 17:15:26 +0200
On Tue, 04 Jul 2000, [EMAIL PROTECTED] wrote:
>Hello ..
>
>I know this may sound dumb, but I can't seem to apply a patch. I have
>read the man pages, etc.
>
>Basically I do a 'patch < patch.tar.gz'. It gives me a message telling
>me that the patch file contains garbage (or something like that).Is
>this incorrect or is the file corrupt? Do I have to be in the same
>directory as the file I wan't to patch. I think I have also
>tried 'patch -p<n> patch.tar.gz'.
>
>This is probably a real newbie question, but I couldn't seem to find
>any answers (and the man pages are a little vague). Any answers or
>links to resources would be greatly appreciated.
>
>Thanks
>Rax
Rax
Try this
The patch can be executed using : gz tiles
type zcat patch-x.x.xx.gz | patch -p0
If the file is allready unzipt,
type patch -p0 < patch_file
--
Good Luck
Patricia
ICQ 69588792
http://www.crosswinds.net/~beginnerslinux
http://beginnerslinux.org
Red Hat Linux release 6.0 (Hedwig)
Kernel 2.2.5-15
5:15pm up 7 days, 18:47, 1 user, load average: 1.21, 1.34, 1.43
Tue Jul 4 17:15:52 CEST 2000
--
Good Luck
Patricia
ICQ 69588792
http://www.crosswinds.net/~beginnerslinux
http://beginnerslinux.org
Red Hat Linux release 6.0 (Hedwig)
Kernel 2.2.5-15
5:16pm up 7 days, 18:47, 1 user, load average: 1.15, 1.31, 1.42
Tue Jul 4 17:16:11 CEST 2000
------------------------------
From: [EMAIL PROTECTED] (David Efflandt)
Subject: Re: going online
Date: 4 Jul 2000 15:17:49 GMT
Reply-To: [EMAIL PROTECTED]
On Tue, 04 Jul 2000 02:30:06 GMT, jason <[EMAIL PROTECTED]> wrote:
>hi, i have 2 computers at the moment. the new one is using windows 98 and
>cable modem to connect to the internet and there's no internet connection
>for the old one. the old computer has windows 98 and slackware 7.0
>installed. what can i do to let these 2 operating systems on the old
>computer to get on to the internet by connecting to the new computer?
>thanks for your help!
Take a look at the IPCHAINS-HOWTO unless you have an old Linux that only
has IP-Masqurade. There is a simple 3 liner that should get you online,
just substitute the eth device that goes to the cable modem in place of
ppp0. '/sbin/insmod ip_masq_ftp' if you want to ftp through it.
For the internal box, point its default gw or default route to the LAN IP
of the connected box. You will also need to point it the the nameservers
at your ISP, unless running a caching nameserver locally on the connected
box.
--
David Efflandt [EMAIL PROTECTED] http://www.de-srv.com/
http://www.autox.chicago.il.us/ http://www.berniesfloral.net/
http://hammer.prohosting.com/~cgi-wiz/ http://cgi-help.virtualave.net/
------------------------------
Date: Tue, 04 Jul 2000 17:28:43 +0200
From: Matthew Nimmo <[EMAIL PROTECTED]>
Subject: ppp compression
Hi there,
can anyone tell me why apparently the ppp compression modules get
registered in the ppp handshake with my server, yet when I do pppstats
-z I get nothing but zeros!?!
Matthew.
------------------------------
From: John D Prokopek <[EMAIL PROTECTED]>
Subject: looking for vim5.7 for redhat6.2
Date: Tue, 04 Jul 2000 11:35:16 -0400
anyone know where I can find vim 5.7 for redhat 6.2
thanks
--
John D. Prokopek
[EMAIL PROTECTED]
"The bus came by
and I got on
thats when it all began ...."
------------------------------
From: Lennart Benoot <[EMAIL PROTECTED]>
Subject: Expert help needed!
Date: Tue, 04 Jul 2000 15:48:10 GMT
Hi,
I'm trying to figure out what exacly happens/ how the following is
managed by the linux system:
1) I prompt the system : insmod parport.o
2) partport.o has some externals wich are all part of the linux kernel.
I'll mention some
free_irq() defined in /arch/i386/kernel/irq.c
request_region() /kernel/resource.c
kmalloc() mm/slab.c
3)Trying to insert these module i get a lot of 'unresolved external'
errors
eg.
/lib/modules/2.2.13/misc/parport_pc.o: unresolved symbol
free_irq_Rsmp_f20dabd8
==> Somehow linux doens't seen to be able to resolve the externals,
altough i made a freshly compiled kernel...
My questions:
1) Which process/algorithm is used by Linux to resolve externals
2) What might go wrong during this process
3) does the Rsmp in "free_irq_Rsmp_f20dabd8" has anything to do with
it? maybe it should be free_irq_f20dabd8. without the Rsmp. and, does
the smp in Rsmp mean Symetric Multi Processor?
4) What does the System.map file exactly do?
Hope i made myself a little clear,
Lennart
------------------------------
From: [EMAIL PROTECTED]
Subject: How to get the keyboard state in C?
Date: 4 Jul 2000 14:59:03 GMT
Hello !
I'm beginning a game in gnome environnemt, and I need
to know the keyboard state at a given time.
The GTK events KEY_PRESSED and KEY_RELEASED might have been
sufficient, but KEY_RELEASED doesn't works... (as noticed
in the gtk doc)
So, if anybody knows a function (like getAsyncKeyState in
ms windows) returning the state of the keyboard, that will
be a great help to me (huummm, and to you to, as you will
soon be able to play a great game :^)
Thanks a lot,
Chris.
==================================
Posted via http://nodevice.com
Linux Programmer's Site
------------------------------
** 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
******************************