Linux-Misc Digest #981, Volume #25 Sun, 8 Oct 00 17:13:02 EDT
Contents:
Re: lm_sensors - a little help? (Stewart Honsberger)
Re: Favorite learning tool (Robert Heller)
Re: shutdown vs halt ("m.hoes")
Re: Netscape 475 locking desktop (Arnt Karlsen)
Re: can linux use sleep keys etc. on keyboards? (David_C)
fsck fat32 partition? (John Thompson)
Re: Making my own single floppy distribution: HOWTO?? (David_C)
Problem with bootup ([EMAIL PROTECTED])
Re: Making my own single floppy distribution: HOWTO?? (Martin Herrman)
Second FAT32 partition can't be mounted (Urs Vollmer)
Re: Making my own single floppy distribution: HOWTO?? (David_C)
Re: Making my own single floppy distribution: HOWTO?? (Martin Herrman)
bjc-4200 driver (Karl Payer)
Re: file problems still (newbie) (Herb Stein)
----------------------------------------------------------------------------
From: [EMAIL PROTECTED] (Stewart Honsberger)
Subject: Re: lm_sensors - a little help?
Reply-To: [EMAIL PROTECTED]
Date: Sun, 08 Oct 2000 18:55:07 GMT
On Sun, 08 Oct 2000 14:16:51 GMT, Tom Brinkman wrote:
>> That's all well and good, and most of it looks correct, except for
>> the fan speeds, and the fact that I have NO idea what in my box
>> could POSSIBLY be +208 degrees celcius! (That's a tad above the
>> point where sillicon starts to melt, n'est pas?)
>
> On my hardware temp3 is my Voodoo3 card (45-50C), 208
>indicates your temp3 is either misconfigured, or reading nothing.
Likely reading nothing, then.
>> Currently, when I run the 'wmlm' application, it tells me that my
>> CPU temperature is +208oC - obviously inaccurate! I think my CPU
>> temperature is the temp2 value, and my motherboard temperature is
>> the temp1 value(s) listed above. I might be able to tweak the wmlm
>> app to display these values correctly, but it doesn't have a
>> read-out of my fan RPM. (Since lm_sensors doesn't even appear to
>> see these values correctly, I think I have to look there, first).
>
> First off, decent cpu heatsink/fans start at $5.
I do contract work for a reseller. I know how much they cost. In Canada,
I add 15% to all prices, remember.
>The indicated 41.5C for your cpu is on the high side.
It remains at 100% usage 24/7. 41.5C is quite reasonable.
>Intel cpu's can be read from an internal diode.
Won't do my K6-2 much good.
> Unless you've got 3 wire fans plugged into a 3 prong connector
>on your motherboard, you're not gonna get fan speeds.
My message indicated that I had a 3-wire CPU fan that the BIOS can read
correctly.
--
Stewart Honsberger (AKA Blackdeath) @ http://tinys.cx/blackdeath
[EMAIL PROTECTED] (Remove 'thirteen' to reply privately)
Humming along under SuSE 6.4, Linux 2.4.0-test7
------------------------------
From: Robert Heller <[EMAIL PROTECTED]>
Subject: Re: Favorite learning tool
Date: Sun, 08 Oct 2000 19:09:38 -0000
[EMAIL PROTECTED],
In a message on 8 Oct 2000 17:31:25 GMT, wrote :
t> Here's my plight. I've been using linux for the past year or so. I've
t> removed windows from all my computers and installed RedHat. I use tin
t> to read the news and vi to write my perl scripts. I'm a full convert.
t> And yet, I'm way behind in my basic knowledge of the OS. For instance,
t> only recently did I learn about such basic commands at 'top', 'ps' and 'df'.
t> I have a lot of scattered knowledge, but no strong basis on which to
t> build.
t>
t> I'm a frequent vistor of such sites as linux.org, linux.com, linuxnewbie.com
t> and other informative sources, but I haven't yet found a comprehensive
t> introduction to all that Linux has to offer.
t>
t> My question to you is, How did you learn to use Linux? What, in your
t> opinion, is the best way to build a comprehensive knowledge of the OS?
t> The LDP is great, but I'm looking for a read-cover-to-cover kind of
t> site. I'm sure many of you out there can relate. I also don't mind
t> reading books, but online sources are always better.
I learned UNIX (before there was Linux), pretty much by just using it.
Took several *years*. I've been using one flavor of UNIX or another for
over 10 years, and I *still* don't know how to use bash or vi! (I use
tcsh and MicroEmacs 3.10). I can barely use GNU Emacs. Never learned
troff/groff (I use TeX and LaTeX). In other words: there is a *lot* of
stuff and it is likely that some of it you won't learn for a long time
(and may never learn, simply because you don't need to). Learn what you
need to as you go along.
Some tips:
'man -k' is also a helpful thing. If there is some 'thing' you want to
do, typing 'man -k thing' can be quite helpful -- be sure to follow it
up with 'man whatever', replacing whatever with the more promising
results of 'man -k thing'.
make sure your locate database is up to date, and then you can use
'locate' to find interesting stuff.
It is probably unlikely that you will find one single book that covers
*everything*. And in many ways such a book (or site) would not really be
useful.
And don't be afraid to ask questions here -- that is what this
newsgroup is for (in part).
t>
t> I want as many opinions as I can get. Tell us how you came to know
t> what you know now.
t>
t> --
t> -Tyler
t> (This space is intentionally left blank.)
t>
--
\/
Robert Heller ||InterNet: [EMAIL PROTECTED]
http://vis-www.cs.umass.edu/~heller || [EMAIL PROTECTED]
http://www.deepsoft.com /\FidoNet: 1:321/153
------------------------------
From: "m.hoes" <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux.mandrake,alt.os.linux
Subject: Re: shutdown vs halt
Date: Sun, 8 Oct 2000 21:26:12 +0200
All right, hold your horses, already... I get the point, I should have read
the man page... I jst got a little confused cause commercial *nix'es I
worked with do a full terminal stop on the halt command...
At least the man page seems to agree with me somewhat, in the 'notes'
section:
Quote:
" shutdown will be called, which might not be what you want. Use the -f
flag if you want to do a hard halt or reboot. "
Unqoute.
;)
"J.Smith" <[EMAIL PROTECTED]> wrote in message
news:WTVD5.12002$tL4.197043@zonnet-reader-1...
> Just a quick question about the shutdown and halt commands. I used to
think
> that the shutdown command did a nice, clean shutdown, but that the halt
> command did just 'halt' the system, right there on the spot, just as
surely
> and deadly as if I would have unplugged the power cable. No syncing of
> disks, no stopping of services, no nuttin.
>
> At least that is the way it works on some of the commercial *nix'es I have
> worked with so far. So how come the linux 'halt' does a nice, clean
shutdown
> anyways? Something to do with the distribution I am running, which is
> Mandrake? Or am I seeing things wrong here?
>
>
> Thanks.
>
>
------------------------------
From: Arnt Karlsen <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Subject: Re: Netscape 475 locking desktop
Date: Sun, 08 Oct 2000 19:35:38 GMT
jaalaw1 wrote:
>
> I notice Netscape 475 locks the latest gnome desktop occasionally when
> it cant get a response from the internet.
> No mouse or keyboard response; have to blow out X and restart. Had same
> problem with prior versons of both
> Netscape and gnome.
> Any ideas how to revent this?
..'nice' it, I use 'nice -n 9 /usr/bin/netscape-communicator &',
and leave a 'top' running on a vt.
--
..med vennlig hilsen = with Kind Regards from Arnt... ;-)
Scenarios always come in sets of three:
best case, worst case, and just in case.
------------------------------
From: David_C <[EMAIL PROTECTED]>
Subject: Re: can linux use sleep keys etc. on keyboards?
Date: 08 Oct 2000 15:49:41 -0400
Cevat Ustun <[EMAIL PROTECTED]> writes:
>
> It would be really useful to be able to invoke say an apm command
> through one of the keys. Any pointers as to how to program them?
These are ordinary buttons, just like your letter keys.
There are two things you need to do here.
If X already recognizes the key, then you only need to map a keysym to
it:
To determine if X recognizes the key, run a program called "xev".
This program dumps X events. Put the cursor in the xev window and
press the key. If you see any KeyPress/KeyRelease events, then X
recognizes it already. Look for the "keycode" and "keysym" fields
of the event.
If the keysym is not defined (the value will be zero), then you
should define a keysym for it. Use the xmodmap program to do this:
xmodmap -e 'keycode <code> = <sym>'
replacing <code> with the key's keycode, and <sym> with the keysym
you want the key to map to. The list of valid keysyms for your
system will be in /usr/X11R6/lib/X11/XKeysymDB. (You may also find
symlinks to it in /usr/X11/lib/X11 and /usr/lib/X11.)
If you want to have it also take action when the key is pressed with
SHIFT, then give it two keysyms:
xmodmap -e 'keycode <code> = <sym> <shiftSym>'
I recommend choosing a keysym whose name implies what they key says
it is supposed to do. If no such keysym exists, pick something
close. When upgrading your X server in the future, check again to
see if a new keysym was defined for the key.
If you want to automatically load these mappings when X starts, you
can create a .Xmodmap file in your home directory, containing lines
like:
keycode <code> = <sym>
or
keycode <code> = <sym> <shiftSym>
Once a kesym has been assigned, you can use any number of "hot-key"
type programs (possibly integrated with your choice of desktop) to
launch programs when the key is pressed.
Now, if X doesn't recognize the key at all, the run through xev will
result in nothing when the key is pressed. In which case, you'll need
to tweak the keyboard section of /etc/X11/XF86Config and/or some of the
config files that it uses. More specifically, these lines may need to
be added/modified:
XkbRules
XkbModel
XkbLayout
XkbVariant
XkbOptions
And possibly one or more of these:
XkbKeymap
XkbKeycodes
XkbTypes
XkbCompat
XkbSymbols
XkbGeometry
The config files are all located in /usr/X11R6/lib/X11/xkb
Unfortunately, this is where my knowledge ends on this subject. If
choosing a non-default Xkb* script from among those available doesn't
work, you'll have to write your own, and I do not know how to do that.
Perhaps someone more familiar with the guts of XFree86 can take it from
here?
-- David
------------------------------
From: John Thompson <[EMAIL PROTECTED]>
Subject: fsck fat32 partition?
Date: Sun, 08 Oct 2000 12:23:08 -0500
Is there any way to fsck a FAT32 partition? Or do I have to boot
Win98 and do it from there?
--
-John ([EMAIL PROTECTED])
------------------------------
From: David_C <[EMAIL PROTECTED]>
Subject: Re: Making my own single floppy distribution: HOWTO??
Date: 08 Oct 2000 15:53:29 -0400
[EMAIL PROTECTED] (Martin Herrman) writes:
>
> no! No windows for me :-) That's what i'm trying to avoid. The machine
> i am now burning my cd's on is my dad's one and he uses windows. I
> want to burn my cd's with linux ....
Maybe I just don't get it here, but why is this such an overriding
concern? Do you have problems burning CDs from Windows?
It seems to me that this is an awful lot of work to go through if you
don't have to.
-- David
------------------------------
From: [EMAIL PROTECTED]
Crossposted-To: comp.os.msdos.programmer
Subject: Problem with bootup
Date: Sun, 08 Oct 2000 19:46:16 GMT
Hi - I mounted the floppy on Suse Linux 6.4 yesterday in an attempt
to load an ethernet card driver. This was successful, but the driver
setup was not. I then tried to shutdown the machine using shutdown,
which displayed a problem with the ethernet card, eth0..
When I tried to boot up this morning, I get the following during the
bios boot sequence:
Verifying DMI Pool Data...
Not found any [active partition] in HDD
Not found any [active partition] in HDD
Not found any [active partition] in HDD
DISK BOOT FAILURE, INSERT SYETEM DISK AND PRESS ENTER
OK, at least I should be able to boot off a DOS bootable disk,
even this isn't working.. I keep getting pushed back to the DISK BOOT
FAILURE, even after checking drive boot sequence in the BIOS setup to
make sure drive A is booted from first. Doesn't even seem to reading
the floppy at all..
Any help appreciated,
EL SQuid
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
From: [EMAIL PROTECTED] (Martin Herrman)
Subject: Re: Making my own single floppy distribution: HOWTO??
Reply-To: [EMAIL PROTECTED]
Date: Sun, 08 Oct 2000 22:01:31 +0200
On 08 Oct 2000 15:53:29 -0400, David_C <[EMAIL PROTECTED]> wrote:
>
> Maybe I just don't get it here, but why is this such an overriding
> concern? Do you have problems burning CDs from Windows?
>
> It seems to me that this is an awful lot of work to go through if you
> don't have to.
That's right. When I was working for a company I wouldn't have any
problems with burning my cd's on a windows machine. But I'm a student,
do have plenty of time, want to learn and thought it would be a nice
little project to learn something more about linux. Or am I totally
mad? :-) (btw, i'm also trying to build my own linux distribution
with www.linuxfromscratch.org)
greetings,
Martin
--
Linux Gebruikers Handleiding v1.2 : http://2mypage.cjb.net
Linux RedHat 6.1 Kernel 2.2.17 Toshiba P233 MHz, 32 Mb RAM
9:50pm up 1 day, 4:31, 6 users, load average: 0.00, 0.00, 0.00
Western Civilization, that would be a good idea!
------------------------------
From: Urs Vollmer <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Crossposted-To: comp.os.linux.setup,comp.os.linux.questions
Subject: Second FAT32 partition can't be mounted
Date: Sun, 08 Oct 2000 16:15:09 -0400
I'm having a problem with my FAT32-Partitions (all on one disk):
One can be mounted, one can't. The error message for the second is
[root@myhost urs]# mount /mnt/win2
mount: wrong fs type, bad option, bad superblock on /dev/hda12,
or too many mounted file systems
However, both partitions are of the same type, and the first one
is mounted without a problem:
[urs@myhost urs]$ df
Filesystem 1k-blocks Used Available Use% Mounted on
/dev/hda7 497829 32349 439778 7% /
/dev/hda2 23333 2878 19251 13% /boot
/dev/hda6 2016016 126616 1786988 7% /home
/dev/hda1 8178784 2923936 5254848 36% /mnt/win1
(...etc...)
The corresponding /etc/fstab entries are identical:
[urs@hirschj-pc1 urs]$ cat /etc/fstab
(...)
/dev/hda1 /mnt/win1 vfat defaults 0 0
/dev/hda12 /mnt/win2 vfat defaults 0 0
(...etc...)
Also, Windows sees them both fine, as C: and D:.
The drive is divided into partitions (/sbin/fdisk output) as follows:
(...)
Disk /dev/hda: 255 heads, 63 sectors, 3649 cylinders
Units = cylinders of 16065 * 512 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 1020 8193118+ c Win95 FAT32 (LBA)
/dev/hda2 1021 1023 24097+ 83 Linux
/dev/hda3 1024 3649 21093345 5 Extended
/dev/hda5 1024 1278 2048256 83 Linux
/dev/hda6 1279 1533 2048256 83 Linux
/dev/hda7 1534 1597 514048+ 83 Linux
/dev/hda8 1598 1661 514048+ 83 Linux
/dev/hda9 1662 1678 136521 82 Linux swap
/dev/hda10 1679 1695 136521 82 Linux swap
/dev/hda11 1696 1712 136521 82 Linux swap
/dev/hda12 1713 3649 15558921 c Win95 FAT32 (LBA)
Could anyone point me to a possible cause and solution?
It couldn't have anything to do with /dev/hda12 starting at a
cylinder >1024, could it? Isn't it strange that Win does see the
second partition? Is the partition ID the problem? Or maybe the
order of the partitions?
Thanks for any help.
Urs
------------------------------
From: David_C <[EMAIL PROTECTED]>
Subject: Re: Making my own single floppy distribution: HOWTO??
Date: 08 Oct 2000 16:13:48 -0400
Martin Herrman writes:
> David_C wrote:
>>
>> Maybe I just don't get it here, but why is this such an overriding
>> concern? Do you have problems burning CDs from Windows?
>>
>> It seems to me that this is an awful lot of work to go through if you
>> don't have to.
>
> That's right. When I was working for a company I wouldn't have any
> problems with burning my cd's on a windows machine. But I'm a student,
> do have plenty of time, want to learn and thought it would be a nice
> little project to learn something more about linux. Or am I totally
> mad? :-) (btw, i'm also trying to build my own linux distribution with
> www.linuxfromscratch.org)
Ah. Say no more.
I completely understand the "because I want to learn how", and "because
I think it will be fun" argument!
-- David
------------------------------
From: [EMAIL PROTECTED] (Martin Herrman)
Subject: Re: Making my own single floppy distribution: HOWTO??
Reply-To: [EMAIL PROTECTED]
Date: Sun, 08 Oct 2000 22:19:25 +0200
On 08 Oct 2000 16:13:48 -0400, David_C <[EMAIL PROTECTED]> wrote:
> Ah. Say no more.
>
> I completely understand the "because I want to learn how", and "because
> I think it will be fun" argument!
>
> -- David
Glad to hear that! (just imagine I had to make you clear how it feels :-)
bye,
Martin
--
Linux Gebruikers Handleiding v1.2 : http://2mypage.cjb.net
Linux RedHat 6.1 Kernel 2.2.17 Toshiba P233 MHz, 32 Mb RAM
10:10pm up 1 day, 4:51, 6 users, load average: 0.01, 0.06, 0.02
Western Civilization, that would be a good idea!
------------------------------
From: Karl Payer <[EMAIL PROTECTED]>
Subject: bjc-4200 driver
Date: Sun, 08 Oct 2000 22:36:57 +0200
I'm running a Canon bjc-4200 printer with the bjc600 driver under Linux
(SuSE 6.3, Ghostscript v5.10). The results are o.k. for a resolution of
360 dpi.
In the hardware support database of SuSE I found for this printer also
the resolution of "720*360" mentioned. So I tried to run the driver with
720 dpi. But this results in an error. On a page only a quarter of the
page that should be printed is output (that means the original is
doubled in size).
Could you tell me whether the bjc600 driver supports resolutions higher
than 360 dpi at all. I know that in the "Details of Ghostscript output
devices" on the Ghostscript-Homepage
(http://www.cs.wisc.edu/~ghost/aladdin/doc/Devices.htm) only 90dpi,
180dpi and 360dpi are mentioned.
Many thanks,
Karl
------------------------------
From: Herb Stein <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.questions
Subject: Re: file problems still (newbie)
Date: Sun, 08 Oct 2000 15:54:03 -0500
Having "." in the root PATH could easily cause root to inadvertantly run a
malicious program in the current working directory. This is especially true
if "." is the first entry in the PATH. For example, /tmp is usually world
writeable. I can put any executable, let's name it ps, in /tmp and when root
is in /tmp looking at the results of an install, or whatever, and types ps,
bad things could happen.
"Couch, George [CAR:CF11:EXCH]" wrote:
> > Good advise, though i have the idea that the poster is ruuning as root.
> > Root should not have . in it's $PATH
> > As root use ./PROGRAM_FILENAME instead.
>
> What is the reason for the root user not having "." in the PATH?
>
> Thanks!
> George Couch
------------------------------
** 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
******************************