Linux-Misc Digest #891, Volume #27 Fri, 18 May 01 14:13:04 EDT
Contents:
can I boot after resizing linux partition (daniel)
Re: Fujitsu MO Drives & Kernel Vers. (VolkerApelt)
boot problem: help! (Enrico Costanza)
Re: A CPU cooler for Linux? (SammyTheSnake)
Re: A CPU cooler for Linux? (SammyTheSnake)
Re: Kernel upgrade (patch) ??? (SammyTheSnake)
Re: dos partition not writable under linux (Yvan Loranger)
Re: dos partition not writable under linux (Aranwen)
Microsoft exchange server under Linux ? (Willy Reinhardt)
Exporting Mail from Outlook (Jeff)
problem compiling f77 with f2c or gcc on redhat 7.0 (Ronald Haynes)
Re: Exporting Mail from Outlook ("Chris Coyle")
Changing Screen res in KDE on Suse 7.0 (RHC)
Case badges with your own logo from under $0.50 each (SecurisysAgency)
Re: bad links (Stephen Patterson)
Re: A CPU cooler for Linux? ([EMAIL PROTECTED])
Is Netbios available under DOSEMU (Linu X Dummy)
Re: sendmail boot problem: help! (Andy Rounds)
----------------------------------------------------------------------------
From: daniel <[EMAIL PROTECTED]>
Subject: can I boot after resizing linux partition
Date: Fri, 18 May 2001 14:30:07 -0000
I have a hard drive which has 2 ntfs partitions (c,d) one Fat32 (e) and
then Linux (hda7). I would like to enlarge e and make the linux partition
smaller using partition magic 6. Will I be able to boot after this?
--
Posted via CNET Help.com
http://www.help.com/
------------------------------
Subject: Re: Fujitsu MO Drives & Kernel Vers.
From: VolkerApelt <[EMAIL PROTECTED]>
Date: 17 May 2001 22:13:39 +0200
"Support" <[EMAIL PROTECTED]> writes:
> I would like to install a Fujitsu MO Drive (Scsi). I was told that because
> the units work with 2048 byte blocks that Vers. 2.0 Kernels needed patching.
> I am using a 2.2.14-12 Kernel under RH 6.2 can any other user of this drive
> give me info on whether I need to path this Kernel also.
The 2.2.x series should have 2k block size support without patches.
... at least mine in working fine.
--
Volker Apelt Group of Prof. Dr. Ch. Griesinger
Johann Wolfgang Goethe Universitaet
Frankfurt am Main (Germany)
[EMAIL PROTECTED] (use va@ instead of ...@ )
------------------------------
From: Enrico Costanza <[EMAIL PROTECTED]>
Subject: boot problem: help!
Date: Fri, 18 May 2001 16:43:49 +0100
Hi all,
How could I find info about how to create a resque disk for redhat 7.0?
Thanks,
Enrico
------------------------------
From: [EMAIL PROTECTED] (SammyTheSnake)
Subject: Re: A CPU cooler for Linux?
Date: Fri, 18 May 2001 16:17:59 +0100
In article <[EMAIL PROTECTED]>, Dave Mundt wrote:
> Hum...It appears that the software works by either halting the
>CPU, or, throttling it back so it runs slower. Linux does neither of
>these things, AFAIK...so since the CPU is running all the time, and,
>at full speed, of COURSE it will be a bit warmer.
BZZT! the throttling method is very much available using APM, and the HLT
instruction is available in almost all pre-compiled kernels I've ever come
across and I put it in every kernel I compile myself.
> Unless you are overclocking and the temperatures are getting
>seriously hot, though, I would suggest a bigger heatsink and better
>fans. Shucks...now that I think about it...I would suggest that
>anyway.
well, only if it's necessary. the larger fan is likely to use more power
itself (though heatsinks do seem to be getting more efficient rather than
larger so perhaps the same is true for fans...)
>It seems kind of silly to me to go to the work of getting a fast processor,
>or overclocking to get more speed, then, throttling back/stopping the
>processor. Kind of like buying a Porsche and only driving it in the first
>couple of gears.....
not really as daft as it sounds, think about it, if I run vmstat it'll tell
you something...
sammy@osyd:~$ vmstat
procs memory swap io system
cpu
r b w swpd free buff cache si so bi bo in cs us sy id
0 0 0 49096 2444 5576 20568 1 0 3 3 6 6 7 3 10
sammy@osyd:~$
ten percent of the time my cpu is doing _nothing_ (or rather running the hlt
instruction) and that's while running setiathome (I guess it has to wait for
network access which it usually only gets for an hour a day) so on average
my CPU runs at 90% of its maximum available speed. Over time this means that
I only need 81% as much cooling (heat produced is proportional to the square
of the cpu speed, approximately) and that's with background processes using
the cpu nearly all the time, on my laptop (before it died!) I got 99% idle
time even while I was using it! that means that my cooling requirements
would've been drastically reduced if the cpu'd understood hlt (didn't,
crappy 386 ;) so much so that the cpu would've been totally insignificant in
energy requirement! so whatever the exact figure, you'll need less cooling
and can put your max speed up higher for the same cooling, providing you
don't use it at max speed for a long time (throttling can handle this w/o
problems if you have temperature sensors etc.) and you get almost _all_ the
advantages of the fast cpu, given that (almost) all the time the cpu does
anything, it does so at top speed.
err, that might've been more effluent than eloquent, but hey :)
Cheers & God bless
SammyTheSnake
--
Sam.Penny @ Ntlworld.com | Looking for a computer related
Linux, Hardware & Juggling specialist :-) | job, if you can help, e-mail me :)
Wheels: bike, 'ickle bike, and unicycle. | /o \/ Working on 5 ball 1/2 shower
Boxen: K6-266@300, dual Celery500 & Nx486 | \__/\ & some 6 / 7 ball exercises
------------------------------
From: [EMAIL PROTECTED] (SammyTheSnake)
Subject: Re: A CPU cooler for Linux?
Date: Fri, 18 May 2001 16:29:39 +0100
In article <MABM6.9603$[EMAIL PROTECTED]>,
[EMAIL PROTECTED] wrote:
>KW <[EMAIL PROTECTED]> wrote:
>> Linux does have code to make the CPU hlt when it is idle... If you've
>> recompiled, look at the general options of the kernel menu and find the
>> QPM bios support secion. There should be an item "Make CPU IDLE calls
>> when idle"
>
>> That should do the trick...
>
>Is there a way to check this in a config file?
grep -i idle/usr/src/linux/.config
if you compiled your kernel yourself, or otherwise less /var/log/dmesg (or
just dmesg) will show you the bootup sequence (unless, like me, you have had
your computer running a long time since then, the program dmesg only shows
you the last bit, the file seems to contain only the first bit, oh well :)
anyway, you're looking for a line like the following:
Checking 'hlt' instruction... OK.
which indicates that your kernel successfully found and has activated use of
the hlt instruction.
>> Of course, you may have more processes running in linux than in windows
>> that would prevent the cpu from staying idle long. :)
>
>I let Linux idled for a few hours :).
I think he means the multitude of background processes that run on a typical
linux box, telnetd, inetd, apache (on a surprisingly large number of boxen
when it's really not needed on most!) and a squillion other little daemons.
OTOH, even between them they tend to spend most of their time waiting for
something to do and v. little of it actually doing anything :) for example:
sammy@osyd:~$ ps waux | grep -v sammy | wc -l
34
sammy@osyd:~$
and that doesn't include things like xscreensaver which fall v. much into
the category of daemon behaviour, though I run them as my normal user.
Cheers & God bless
SammyTheSnake
--
Sam.Penny @ Ntlworld.com | Looking for a computer related
Linux, Hardware & Juggling specialist :-) | job, if you can help, e-mail me :)
Wheels: bike, 'ickle bike, and unicycle. | /o \/ Working on 5 ball 1/2 shower
Boxen: K6-266@300, dual Celery500 & Nx486 | \__/\ & some 6 / 7 ball exercises
------------------------------
From: [EMAIL PROTECTED] (SammyTheSnake)
Subject: Re: Kernel upgrade (patch) ???
Date: Fri, 18 May 2001 16:34:26 +0100
In article <3b023193$0$[EMAIL PROTECTED]>, Peet Grobler wrote:
>Let's say I've modified my kernel, so as to exclude SCSI support, IrDA
>support, and a lot of other small things.
>
>Imagine this is kernel-2.2.18
>
>I want to patch this kernel to 2.2.19. Would the patch program work
>correctly? Patch only the pieces of code that is in the kernel? Or do you
>need an exact copy of the previous Linux kernel source tree?
>
>Just a thought...
it'll complain bitterly, but if you read the manpage I believe there's an
option to make it tollerant of missing files, it'll just produce a bunch of
*.rej files containing the bits of patch you haven't got, then you can do
something like find /usr/src/linux/ -name *.rej | xargs rm -f
HTH
Cheers & God bless
SammyTheSnake
--
Sam.Penny @ Ntlworld.com | Looking for a computer related
Linux, Hardware & Juggling specialist :-) | job, if you can help, e-mail me :)
Wheels: bike, 'ickle bike, and unicycle. | /o \/ Working on 5 ball 1/2 shower
Boxen: K6-266@300, dual Celery500 & Nx486 | \__/\ & some 6 / 7 ball exercises
------------------------------
From: [EMAIL PROTECTED] (Yvan Loranger)
Subject: Re: dos partition not writable under linux
Date: 18 May 2001 15:54:00 GMT
Reply-To: [EMAIL PROTECTED] (Yvan Loranger)
Aranwen ([EMAIL PROTECTED]) writes:
> I have RH 7 installed on the same hd as windows and of course i want to be
> able to read/write on my dos partition.
> I added it through linuxconf, type vfat, mount point ok but here's the prob:
> i want the partition to be writable through 3 accounts:root,and say user1
> and user2.If i enter root as the <default user id> then none of the others
> can even read it. So i created a group, say group 1, that consists of these
> 3 accounts, i entered user1 as the default user and group1 as the default
> group id.
Then you should have given the group write permission.
> What happened was that root and user1 could write to the partition but
> user2 was left out with only read/execute persmissions.The strange thing
> was that not all directories where writable by user1 and i had to change
> their rights manually.
HOw did you manage this manual thing?!?!
> Now, this worked a few days ago but now not even user1 can read or write on
> it. The default user-group ids haven't been changed but it just doesn't work.
> One other thing is that i can't give write permission to the <others>
> neither as root nor as the default user. I enter the commands and it just
Now *that* makes sense [is normal]. Use 'mount' with umask=007, along with
uid=1234 and gid=123, for example.
> Also,i tried entering 777 at the default permission field which is the
> umask command but that just made things worse...when user1 could write,
> this command took that right from him.
umask accepts the complement of the desired permission, so for 777 you
enter umask=000
> I tried so many combinations and mounted/dismounted the partitions so many
> times last week that when i started windows i got some boot sector and
> several <insufficient memory> errors that i had to format the partition.
You probably messed up things so they're now worse.
> 1) How will user1 be able to write on the partition again?
> 2) How will user2 be able to write?
> 3) What's going on with the umask thing?Isn't it supposed to work?
> 4) Doesn't the chmod command work on dos partitions??Is there something
> else needed? I use chmod 777 /hda .
isn't supposed to work! chmod 777 /hda ! /hda refers to complete disk, /hda1
refers to partition 1 on that disk.
> 5) Why don't all directories under /hda have the same permissions?
--
Merci........Yvan Pour le plein air: Club Vertige
http://www.ncf.ca/vertige
------------------------------
From: Aranwen <[EMAIL PROTECTED]>
Subject: Re: dos partition not writable under linux
Date: Fri, 18 May 2001 16:30:12 -0000
Now THAT was stupid :)
I knew the default permission field was the umask command and forgot about
the subtraction thingie :)
It's a stupid field name though!Couldn't it say <umask>?Default permission
makes you think..what permissions do i want?Let's enter the value..
Either way it worked.
Thanks again Eric (for the 10th time or something) :)
I was wondering..since the default permission is 666, is there a way to
make it 777 through umask? -111 didn't work of course but i thought that
-(-111) equals to +111 :)
-Lady Aranwen
--
Posted via CNET Help.com
http://www.help.com/
------------------------------
From: Willy Reinhardt <[EMAIL PROTECTED]>
Subject: Microsoft exchange server under Linux ?
Date: Fri, 18 May 2001 18:27:26 +0200
Hi,
Somebody know a compatible Microsoft exchange server for Linux ?
Thanks
--
**********************************************************************
Willy Reinhardt
Switzerland (french)
**********************************************************************
------------------------------
From: Jeff <[EMAIL PROTECTED]>
Subject: Exporting Mail from Outlook
Date: Fri, 18 May 2001 11:33:48 -0500
Alright, this is a tough one.
I want to extract all my saved mails from Outlook 2000 into Pine.
Outlook doesn't make this easy.
Any good ideas?
------------------------------
From: Ronald Haynes <[EMAIL PROTECTED]>
Crossposted-To: comp.lang.fortran
Subject: problem compiling f77 with f2c or gcc on redhat 7.0
Date: Fri, 18 May 2001 08:54:48 -0700
Reply-To: [EMAIL PROTECTED]
Hi, I have a piece of fortran 77 code which compiles find on various
unix machines
that I have access to, Suns, SGI machines etc. I attempted to compile
the code on my linux box, redhat 7.0 with gcc 2.9.6 (I assume it calls
f2c),
I also tried f2c directly. It seems to have some problems understanding
some logical operators. Here it a snip of the error message:
movcol.f: In subroutine `movcl1':
movcol.f:633:
if (phypde.eq..false.) y(m*i) = rwk1(m21+1)
1 2 3
Use .EQV./.NEQV. instead of .EQ./.NE. at (2) for LOGICAL operands at (1)
and (3)
movcol.f:642:
20 if (phypde.eq..true.) then
1 2 3
Use .EQV./.NEQV. instead of .EQ./.NE. at (2) for LOGICAL operands at (1)
and (3)
movcol.f:656:
if (phypde.eq..true.) then
1 2 3
Use .EQV./.NEQV. instead of .EQ./.NE. at (2) for LOGICAL operands at (1)
and (3)
movcol.f:678:
if (phypde.eq..true.) then
1 2 3
Use .EQV./.NEQV. instead of .EQ./.NE. at (2) for LOGICAL operands at (1)
and (3)
There are several more lines of this corresponding to each encounter of
such
logical tests.... is there any compile time option which will allow this
to compile
without having to change the code. This is not my code so even a
marginal rewrite
would cause problems besides the obvious portability issues.
Any help would be greatly appreciated. If you could reply to my email
as well
as the group that would be great.
Thanks,
R Haynes
------------------------------
From: "Chris Coyle" <[EMAIL PROTECTED]>
Subject: Re: Exporting Mail from Outlook
Date: Fri, 18 May 2001 13:29:17 -0400
"Jeff" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> Alright, this is a tough one.
> I want to extract all my saved mails from Outlook 2000 into Pine.
> Outlook doesn't make this easy.
>
> Any good ideas?
Try oe2mbx (http://www.gpl.no/liboe/).
------------------------------
From: RHC <[EMAIL PROTECTED]>
Subject: Changing Screen res in KDE on Suse 7.0
Date: Fri, 18 May 2001 17:30:05 -0000
I am new to KDE... how do I change the screen resolution from 800x600 to
1024 x 800 (or whatever) from within KDE? DO I need to reconfigure my X
server? Any help here would be greatly appreciated.
THANX
RHC
--
Posted via CNET Help.com
http://www.help.com/
------------------------------
Subject: Case badges with your own logo from under $0.50 each
From: SecurisysAgency <[EMAIL PROTECTED]>
Date: Fri, 18 May 2001 17:45:33 GMT
Computer case badges with 3D effect with your own logo. Order securely
Online for FAST delivery:
http://www.securisysagency.com/shop/shop.html
We are offering quality custom PC badges printed your own design or choose
from our range of "off-shelf" labels, tamper-proof warranty labels, domed
labels, Linux, BSD badges and merchandize.
Online ordering. Stock orders are normally despatched within 48-hours to
anywhere in the world.
FREE shipping to anywhere in the world!
www.securisysagency.com
Disclaimer:
This posting is made in understanding that this newsgroup allowes
advertising material.
If you are a moderator of the channel and you believe that posting of this
nature doesn't comply with the one of the channel, please write to:
[EMAIL PROTECTED] and subsequent postings will stop.
------------------------------
From: [EMAIL PROTECTED] (Stephen Patterson)
Subject: Re: bad links
Reply-To: see the .sig
Date: Fri, 18 May 2001 17:45:26 GMT
On Fri, 18 May 2001 01:41:03 -0400, wroot wrote:
>Hi
>
>How can I get ls and tree to highlight bad symbolic links with blinking
>colors? (The way ls is set up on Redhat)
>
>Wroot
Don't know, but there's a program called symlinks on the 2.2 CDs which can
scan for and remove bad links.
--
It's a great big universe and we're all really puny, just tiny little specks
'bout the size of Mickey Rooney -- Animaniacs
-- -- -- -- -- -- -- -- -- --
Stephen Patterson [EMAIL PROTECTED] (Remove SPAMOFF to reply)
http://home.freeuk.net/s.patterson/
------------------------------
From: [EMAIL PROTECTED]
Subject: Re: A CPU cooler for Linux?
Date: Fri, 18 May 2001 17:49:23 GMT
SammyTheSnake <[EMAIL PROTECTED]> wrote:
> In article <MABM6.9603$[EMAIL PROTECTED]>,
> [EMAIL PROTECTED] wrote:
>>KW <[EMAIL PROTECTED]> wrote:
>>> Linux does have code to make the CPU hlt when it is idle... If you've
>>> recompiled, look at the general options of the kernel menu and find the
>>> QPM bios support secion. There should be an item "Make CPU IDLE calls
>>> when idle"
>>
>>> That should do the trick...
>>
>>Is there a way to check this in a config file?
> grep -i idle/usr/src/linux/.config
Running this doesn't seem to do anything?
> if you compiled your kernel yourself, or otherwise less /var/log/dmesg (or
> just dmesg) will show you the bootup sequence (unless, like me, you have had
> your computer running a long time since then, the program dmesg only shows
> you the last bit, the file seems to contain only the first bit, oh well :)
> anyway, you're looking for a line like the following:
> Checking 'hlt' instruction... OK.
It is there. :)
> which indicates that your kernel successfully found and has activated use of
> the hlt instruction.
>>> Of course, you may have more processes running in linux than in windows
>>> that would prevent the cpu from staying idle long. :)
>>
>>I let Linux idled for a few hours :).
> I think he means the multitude of background processes that run on a typical
> linux box, telnetd, inetd, apache (on a surprisingly large number of boxen
> when it's really not needed on most!) and a squillion other little daemons.
> OTOH, even between them they tend to spend most of their time waiting for
> something to do and v. little of it actually doing anything :) for example:
Even if the CPU load is at 0? Hmm... Windows was cooler in idled mode [grin].
--
"Everything tastes better at a picnic...the ants, the sand,
everything." --unknown
--
If you are replying to Ant's news post by e-mail, then please kindly
remove ANT in the e-mail addresses listed below. Note the CaSe!
======================================================================
/\___/\
/ /\ /\ \ E-mail: [EMAIL PROTECTED], [EMAIL PROTECTED],
| |. .| | or [EMAIL PROTECTED]
\ _ / The Ant Farm: http://antfarm.home.dhs.org
( ) ICQ UIN: 2223658. Resume: http://apu.edu/~philpi/resume.html
------------------------------
From: [EMAIL PROTECTED] (Linu X Dummy)
Subject: Is Netbios available under DOSEMU
Date: 18 May 2001 10:51:53 -0700
I have a program that communicates using Netbios (int 5c) which I
would like to run under DOSEMU. Is this support available?
------------------------------
From: Andy Rounds <[EMAIL PROTECTED]>
Subject: Re: sendmail boot problem: help!
Date: Fri, 18 May 2001 18:56:13 -0400
Enrico Costanza wrote:
> Hi all,
It's not stopped, its trying unsuccessfully to do a DNS lookup and failing.
In your /etc/hosts file, make sure you have the IP address/machine name of
your local machine, and the IP address/name of the SMTP relay host that
you talk to.
>
> I have redhat 7.0, installed, and I am using gnome.
>
> I just set up the network connection (succesfully) and changed the x
> server.
> After a couple of reboots the system stops when dufing the boot it
> checks "sendmail". It halts there and doen not start.
>
> What can I do?
> Sorry if I've given not enought detail.
> Please let me know if you need to know something more.
>
> Thanks,
> Enrico
>
>
------------------------------
** 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 by posting to comp.os.linux.misc.
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
******************************