Linux-Misc Digest #321, Volume #21 Sat, 7 Aug 99 14:13:09 EDT
Contents:
Re: fdisk discrepant with fdisk; why? ("Charles Sullivan")
Re: 'mount' freezes (Matt Cramer)
Re: localtime trouble (Leonard Evens)
Re: /etc/bashrc file (Leonard Evens)
Re: Where to get ICQ (Jo)
Re: why do I lose my entire system at restart, how to minimize loss? (Heeeeeeeez
back!)
Re: printk ??? ("Andrey Fisunenko")
Re: helping the Third World (MK)
Re: Have you heard? (Christopher B. Browne)
Re: helping the Third World (MK)
Re: remote printing broke after upgrade. (Leonard Evens)
Re: /etc/bashrc file (Stuart R. Fuller)
Re: Kernel error messages (Leonard Evens)
Re: CDROM driver not supported in RH 6 install (DanH)
----------------------------------------------------------------------------
From: "Charles Sullivan" <[EMAIL PROTECTED]>
Subject: Re: fdisk discrepant with fdisk; why?
Date: Sat, 7 Aug 1999 11:55:35 -0400
The older combination of kernel and fdisk in RH 5.2 can
see no more than 1024 cylinders (when Heads > 16, i.e.,
when LBA is enabled). You have to tell fdisk the correct
value to use, by going into its 'expert' menu.
The problem appears to have been resolved in the newer kernel
and fdisk shipped with RH 6.0.
The discrepancy between geometry reported by RH 6.0 and the
bios is that LBA is enabled. The bios reports the manufacturer's
numbers while RH 6.0 is reporting the number with the LBA
fictitious number of logical heads (255). (You will note
that 16383*16/255 = 1027.xxx).
[EMAIL PROTECTED] wrote in message
<[EMAIL PROTECTED]>...
>
>What's it mean when a disk's geometry is reported differently by the
>fdisk on my installed RedHat5.2 and the fdisk on the RedHat6.0 CD I'm
>using to install 6.0 to a different partition? Respectively:
>
>5.2's fdisk
>1024 cylinders
>255 heads
>63 sectors
>
>
>6.0 CD's fdisk
>1027 cylinders
>255 heads
>63 sectors
>
>
>BIOS (for comparison)
>16383 cylinders
>16 heads
>63 sectors
>
>
>All for the same disk. There's another disk in the machine, for which
>the 2 fdisk's consistently report the same geometry.
>
>The effect, when fdisk thinks there are 1027 cylinders is a warning
>that you shouldn't have more than 1024 for certain purposes. I'm not
>so much concerned with this effect as with explaining the cause-- why
>should the 2 copies/versions of fdisk report anything different when
>looking at the same thing?
>
------------------------------
From: Matt Cramer <[EMAIL PROTECTED]>
Subject: Re: 'mount' freezes
Date: Sat, 07 Aug 1999 17:20:36 GMT
[EMAIL PROTECTED] wrote:
> I'm using Red Hat Linux 6.0, on an AMD K6-2 450MHz/128MB RAM/10GB HDD.
> Running 'mount' as command lines like:
> mount /mnt/floppy
> mount -t vfat /dev/hda1 /mnt/win
> mount -t msdos /dev/fd0 /mnt/dosfloppy
> and all other combinations that i tried makes mount execute but never
> return back to the command prompt.
> I waited over 85 minutes on one terminal for mount to return, but it
> never did.
> Yes, I'm logged in as root, yes those directories used for mounting
> exist, yes, /dev/hda1 is my Win95 FAT32 partition.
I am having the same exact problem, and I am also using Redhat 6.0.
I did not have this problem with my 5.2 box. I also get freezes when I
try to mount NFS volumes or Netware volumes (ncpmount freezes as well).
Does anyone have any ideas?
Matt
--
Matt Cramer <[EMAIL PROTECTED]>
http://www.voicenet.com/~cramer/
For all that faire is, is by nature good;
That is a signe to know the gentle blood.
-Edmund Spenser
------------------------------
From: Leonard Evens <[EMAIL PROTECTED]>
Subject: Re: localtime trouble
Date: Sat, 07 Aug 1999 11:55:46 -0500
Al Funk wrote:
>
> Hello,
>
> I was wondering if anyone has encountered any problems regarding
> Linux/Perl and the use of timezones with US Central time.
>
> Using strftime and a timezone specification of CST6CDT5, I get the
> following results:
>
> epoch + 986101200 = 03-31-2001 11:00PM
> epoch + 986104800 = 04-01-2001 01:00AM
>
> 2am, 3am, 4am etc follow each 3600 minute increment. It appears that
> daylight savings takes place at midnight rather than 2AM, which seems
> odd.
>
> Anyone have any thoughts?
>
> -Al Funk
Under RH5.2, there was a problem with one of the C libraries
which resulted in the US/Central time zone malfunctioning.
I don't know if your problem is related. The problem has
been fixed in RH6.0. Under RH5.2, we found substituting
Canada/Central resolved the problem.
--
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.admin
Subject: Re: /etc/bashrc file
Date: Sat, 07 Aug 1999 12:04:30 -0500
Jose wrote:
>
> I know that the /etc/bashrc file can be used if the for "system wide"
> initializing before the person logs into the the system, but is there
> a file I can use for when the person logs out? I don't want to use
> the files that are in the person's home directory.
>
> Thanks for any advice
>
> Jose
The proper way to do this is to use the user's .bash_profile
or .bashrc. If you don't want the user to be able to modify
them, you could make those files unwritable by the user. It
would probably have to be readable and executable by the user
to function.
I suppose you could put complicated code in /etc/bashrc which
would check who the user was and then execute commands just
for that user. But that seems needlessly complicated and
likely to lead to problems.
--
Leonard Evens [EMAIL PROTECTED] 847-491-5537
Dept. of Mathematics, Northwestern Univ., Evanston, IL 60208
------------------------------
From: Jo <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.networking,comp.os.linux.security
Subject: Re: Where to get ICQ
Date: Sat, 07 Aug 1999 17:05:14 GMT
www.linuxberg.com
c64 wrote:
>
> Does anyone know where to get ICQ for linux? I have search mirabilis but
> found nothing. tks
------------------------------
From: Heeeeeeeez back! <[EMAIL PROTECTED]>
Subject: Re: why do I lose my entire system at restart, how to minimize loss?
Date: Sat, 7 Aug 1999 00:46:03 +0100
Martin R. Green <[EMAIL PROTECTED]> wrote:
> Forgetting, for a moment, that question of what is causing the
> crashes, I just wanted to weigh in on the crash recovery question. As
> a RH6.0 newbie, I have to wonder why Linux seems far more susceptible
> to catastrophic mangling of disk volumes when it is not shut down
> properly than DOS/Windows.
But... It isn't more susceptible to disk mangling.
I've had a power filaure or reset that caused it to drop into emergency mode
several times... Running fsck /dev/hda<whatever-partition-failed> fixed it
every time.
e.g. On bootup after a reset it complains that fsck couldn't fix a file
system (say... hda3) and drops you into a root password prompt.
Enter the password, type fsck /dev/hda3
Answer <y> to all the questions (Unless you know what it and you are doing
well enough)... And everything's just hunky-dory...
When 98 or NT suffers the same thing, it automatically runs chkdsk (or is it
scandisk..?).
(This is almost excatly what linux does, but linux offers more control, and
therefore the emergency mode is used and manual fscking...)
> Anyway, I have been using DOS/Windows (ALL varieties) since about
> 1980, and although some files may be trashed, overall a simple
> "scandisk" or "NDD" will restore the disk volume almost like new.
As will fsck in linux. Their function is almost identical, even if their
form differs.
> WinNT is even less likely still to have its volumes damaged by an
> improper shutdown. But Linux, ah... Linux.
Is fine.
> I have had about a half dozen power burps long enough to cause Linux
> to reboot since I installed it a couple of weeks ago, and in two
> cases, damage to the Linux volumes was catastrophic, requiring a full
> sytem reinstall both times. In the other cases, the volumes were badly
> damaged, but were successfully repaired during the boot sequence.
Doubt it... A *really* doubt it...
The only thing your likely to lose in such a situation is the file it was
holding in its cache at the time and hadn't written yet.
> Why is a Linux volume so screwed up by a bad shutdown while a
> FAT16/FAT32/NTFS volume is hardly ruffled at all?
I think you should RTFM...
:)
Type 'man fsck' to start with.
--
______________________________________________________________________________
| [EMAIL PROTECTED] | "I'm alive!!! I can touch! I can taste! |
| Andrew Halliwell BSc | I can SMELL!!! KRYTEN!!! Unpack Rachel |
| in | and get out the puncture repair kit!" |
| Computer Science | Arnold Judas Rimmer- Red Dwarf |
==============================================================================
|GCv3.12 GCS>$ d-(dpu) s+/- a C++ US++ P L/L+ E-- W+ N++ o+ K PS+ w-- M+/++ |
|PS+++ PE- Y t+ 5++ X+/X++ R+ tv+ b+ DI+ D+ G e++ h/h+ !r!| Space for hire |
==============================================================================
------------------------------
From: "Andrey Fisunenko" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.development.system
Subject: Re: printk ???
Date: Sat, 7 Aug 1999 20:26:00 +0300
Hung P. Tran wrote in message <[EMAIL PROTECTED]>...
>I am having trouble getting printk to work in my driver.
>I tried:
>
>printk(KERN_CRIT "start of init_module\n");
>
>It's NOT working. I also get a warning when compiling my driver:
>
>warning: implicit declaration of function printk_R1d7b4074
>
>Any idea what happened ???
>
>Thank you in advance,
>
>hung
>
>
>
Is there
#include <linux/module.h>
in your module
and -DMODULE and -D__KERNEL__ in gcc command line?
Andrey
------------------------------
From: [EMAIL PROTECTED] (MK)
Crossposted-To: comp.os.linux.advocacy,gnu.misc.discuss
Subject: Re: helping the Third World
Date: Sat, 07 Aug 1999 16:53:58 GMT
Reply-To: [EMAIL PROTECTED]
On 7 Aug 1999 04:33:19 GMT, [EMAIL PROTECTED] (Richard Kulisz)
wrote:
>>Well, another great irony that will be lost on Kulisz is that there
>>are forms of socialism on a limited scale that *have* been successful,
>>such as collective bargaining, employee stock ownership plans,
>>employee-owned companies, community-run (NOT government-run) public
>It will surely come as a great shock to you (hopefully enough so you
>drop dead of a heart attack) that I've advocated for all of those
>things. I've always put cooperatives and credit unions at the center
>of socialism and always distinguished between nationalization and
>socialization of the economy.
>>schools, purchasing cooperatives, and so forth - and that I have no
>>fundamental problem with any of these things, in spite of being one of
>>the libertarians Kulisz hates so much.
>But you'd have a problem if non-coops were outlawed. You aren't
>against human rights /per se/, you just don't want salvery outlawed.
Last time I checked, nobody was put under the gun to use services of
the bank. That's hardly some "slavery".
Marcin Krol
==================================================
Reality is something that does not disappear after
you cease believing in it - VALIS, Philip K. Dick
==================================================
Delete _spamspamlovelyspam_ from address to email me
------------------------------
From: [EMAIL PROTECTED] (Christopher B. Browne)
Crossposted-To: alt.os.linux.slackware,comp.os.linux.security
Subject: Re: Have you heard?
Reply-To: [EMAIL PROTECTED]
Date: Sat, 07 Aug 1999 17:15:18 GMT
On Sat, 07 Aug 1999 15:14:34 GMT, Byron <[EMAIL PROTECTED]> posted:
>Perhaps I am different in this way....
>
>The way I see it, I am doing Microsoft a favor by attacking this site.
>Several people I know are making this into a "bigger dick" contest; to see
>who can do the most damage, etc. This is what Microsoft wants people to do.
>Personally, I would rather do nothing to assist Microsoft and let them debug
>and stress-test their own damned code. It seems that no matter what,
>Microsoft has a knack for insisting that users do its bug-hunting and beta
>testing for it. I do not intend to participate.
The "Mindcraft" benchmarks had the effect of exposing a few places where it
was possible to improve Linux.
Exposing a W2K box to public attack can help MSFT find vulnerabilities that
they did not know about.
Those that want to cause *real* damage will leave this publicity stunt
alone, and will wait to use any exploits that they have discovered when
there is general deployment of W2K, and exploiting the vulnerabilities
can allow them to break into *important* systems and steal/destroy
*important* data.
What value is there in hacking into a publicity stunt box?
Far more valuable to wait, make sure W2K doesn't improve, and hack into
a web server that has *credit card numbers.* Getting a piddling prize
now isn't comparable to being able to hack into 15 web servers later
and get credit card numbers that can be used to thieve out hundreds of
thousands of dollars...
(I'm not *recommending* this, I'm just suggesting that this is a highly
likely scenario...)
--
"Oh, I've seen copies [of Linux Journal] around the terminal room at
The Labs." -- Dennis Ritchie
[EMAIL PROTECTED] <http://www.hex.net/~cbbrowne/lsf.html>
------------------------------
From: [EMAIL PROTECTED] (MK)
Crossposted-To: comp.os.linux.advocacy,gnu.misc.discuss
Subject: Re: helping the Third World
Date: Sat, 07 Aug 1999 17:49:05 GMT
Reply-To: [EMAIL PROTECTED]
On 7 Aug 1999 03:40:03 GMT, [EMAIL PROTECTED] (Richard Kulisz)
wrote:
>In article <LDHq3.14$[EMAIL PROTECTED]>,
>Mark Christensen <[EMAIL PROTECTED]> wrote:
>>MK <[EMAIL PROTECTED]> wrote in message
>>news:[EMAIL PROTECTED]...
>>>Or labor
>>> theory of value, i.e. that the labor value is the price minus the
>>> gross profit. By the LTV, the more expensive product contains more
>>> value, so it should be preferred.
>>
>>This does not seem to be true, and I don't know where you get it from marx,
>
>What's hilarious is that the Labour Theory of Value is implicit in the
>GDP. The GDP basically measures the total labour invested by the nation
>and assumes that this is a Good Thing.
GDP measures no such thing. GDP measures output. There are differences
of order of magnitude between GDPs of different countries; does it
mean that rich countries invested 10x more labor? They did not, they
just exploited working smarter, economy of scale and automation,
thus _reducing_ amount of labor embedded in a single unit of
production, not increasing it.
Marcin Krol
==================================================
Reality is something that does not disappear after
you cease believing in it - VALIS, Philip K. Dick
==================================================
Delete _spamspamlovelyspam_ from address to email me
------------------------------
From: Leonard Evens <[EMAIL PROTECTED]>
Subject: Re: remote printing broke after upgrade.
Date: Sat, 07 Aug 1999 12:11:38 -0500
graywolf wrote:
>
> Hi,
> I upgraded my system to slackware's 4.0 release. My old version
> was patched together so often that I decided to to a clean install.
> Well, I realized right away that the security for this release was a
> bit tighter. That's where I think my problem lies.
> Anyway, I've got a local printer (hp laserjet 6mp) that still prints
> prints fine locally. (I retrieved my old printcap file for reference)
>
> Before the upgrade, I used to print to this printer from various
> other systems (hp-ux, solaris, vms) Now it's like the print request
> (or better yet the network request to print) isn't seen. I've found
> all the things to open up ftp and rsh for this system (we are
> behind a firewall so I don't need quite as severe a security level)
> but I can't get this blankity-blank printer to work. I've compared
> serviced, inetd.conf, hosts.allow, hosts.deny, hosts.lpd, securetty,
> and termcap. All are the same as before. Oh, I can still print to
> the printers that are remote to this system, too. I kinda think
> it's still some sort of security issue but am at a loss to pinpoint
> it. Any ideas?
>
> Thanks,
>
> Robert Megee
> [EMAIL PROTECTED]
Under the SunOS you needed a file called /etc/hosts.lpd
or something similar. If you kept a backup of your old
system, you might check the /etc directory to see if there
were any special files. Also, look at /etc/hosts.equiv,
hosts.allow, and hosts.deny.
--
Leonard Evens [EMAIL PROTECTED] 847-491-5537
Dept. of Mathematics, Northwestern Univ., Evanston, IL 60208
------------------------------
From: [EMAIL PROTECTED] (Stuart R. Fuller)
Subject: Re: /etc/bashrc file
Crossposted-To: comp.os.linux.admin
Reply-To: [EMAIL PROTECTED]
Date: Sat, 07 Aug 1999 17:10:23 GMT
William Burkett ([EMAIL PROTECTED]) wrote:
: > I know that the /etc/bashrc file can be used if the for "system wide"
: > initializing before the person logs into the the system, but is there
: > a file I can use for when the person logs out? I don't want to use
: > the files that are in the person's home directory.
:
: I don't know of any such global file that will do what you want. Now
: that you mention it, it seems a little strange that one doesn't exist.
: A solution would be to write a shell script named "exit" that takes
: precedence over the system command. You could program that script do
: whatever you want, then actually exit the system as normal.
How do you handle the case where I type ^D to exit the shell?
Stu
------------------------------
From: Leonard Evens <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux
Subject: Re: Kernel error messages
Date: Sat, 07 Aug 1999 11:42:24 -0500
"R. Christopher Harshman" wrote:
>
> Can anyone shed any light on the following:
>
> Aug 4 23:59:53 agamemnon kernel: sym53c876-1-<0,0>: QUEUE FULL! 4 busy,
> 3 disconnected CCBs
> Aug 4 23:59:53 agamemnon kernel: sym53c876-1-<0,0>: tagged command
> queue
> depth set to 3
> Aug 4 23:59:53 agamemnon kernel: sym53c876-1-<0,0>: QUEUE FULL! 3 busy,
> 2 disconnected CCBs
> Aug 4 23:59:53 agamemnon kernel: sym53c876-1-<0,0>: tagged command
> queue depth set to 2
>
> The messages log is full of those messages, daily. Any suggestion
> as to where I might look to rectify this behavior?
>
> Thanks in advance!
>
> - Chris
>
> Sent via Deja.com http://www.deja.com/
> Share what you know. Learn what you don't.
sym53c876 refers to SCSI drivers for a Symbios (sp?) SCSI
adapter. These could either be in the kernel or more
likely in a module. There is clearly something wrong. It
could be a hardware problem or something wrong with your
kernel or the module or ???. I assume you do have a SCSI
card, In that case there should be a short program run when
booting before you even get to LILO to boot an OS. It will
indicate a key combination to use the program for diagnostic
purposes. Try doing that and see if you see anything unusual.
You may get a message while Linux is booting about termination
of the SCSI bus, but that probably is not the problem.
You could also have a hardware problem with some device
on the SCSI bus: a hard drive, a CD drive, a tape drive?
You should probably check all the cabling. If you can,
you might try selectively disconnecting the SCSI devices,
but that could be tricky and of course you can't do it for
a hard drive with the system on it.
--
Leonard Evens [EMAIL PROTECTED] 847-491-5537
Dept. of Mathematics, Northwestern Univ., Evanston, IL 60208
------------------------------
From: DanH <[EMAIL PROTECTED]>
Crossposted-To:
alt.linux,alt.os.linux,comp.os.linux.hardware,comp.os.linux.setup,linux.redhat.misc
Subject: Re: CDROM driver not supported in RH 6 install
Date: Sat, 07 Aug 1999 13:32:10 -0400
Bowyer wrote:
>
> I'm trying to install RedHat 6 from a CD, but the installation program only
> has about 10 CDROM drivers to choose from and none of them work for me. Can
> someone tell me what I'm doing wrong? Thanks in advance and sorry if this is
> a dumb question.
Don't tell it what driver to use, just check if it's an IDE (ATAPI) or
SCSI. I've loaded RedHat off both with no problems.
Dan
--
UNIX - Not just for vestal virgins anymore
Linux - Choice of a GNU generation
------------------------------
** 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
******************************