Linux-Misc Digest #227, Volume #27               Sun, 25 Feb 01 16:13:02 EST

Contents:
  Re: i586 kernel vs i686 kernel ("Chris Coyle")
  Re: please help with setting su password (Michael Heiming)
  Re: svgalib I/O permission ([EMAIL PROTECTED])
  Re: kernel 4.1 upgrade - fail to boot again (Michael Heiming)
  Re: help! new kernel - can't mount cdrom ("Chris Coyle")
  Linux partitioning question ("Gregg Black")
  audio CD's ("David")
  Re: please help with setting su password (richard noel fell)
  Reserve fraction of CPU time on server? (Eugene Grayver)
  Re: MS to Enforce Registration - or Else (Byron A Jeff)
  Re: MS to Enforce Registration - or Else (Byron A Jeff)

----------------------------------------------------------------------------

From: "Chris Coyle" <[EMAIL PROTECTED]>
Subject: Re: i586 kernel vs i686 kernel
Date: Sun, 25 Feb 2001 14:57:07 -0500

Ja,
I don't have an answer for your question, but I noticed that you just did
the same upgrade that I just did. I was wondering, did you have any cd-rom
problems? and do you have a cd-recorder in your system?

I've got a problem with 2.2.17.  I have a plain cd-rom reader and a
cd-recorder.
Both were working fine in 2.2.16, but with 2.2.17 I can't mount my cd-rom
reader.

Chris.

Ja <[EMAIL PROTECTED]> wrote in message
news:y0bm6.3486$[EMAIL PROTECTED]...
> Does anyone know of benefits or pitfalls of using a i686 kernel instead of
a
> i586 kernel?
>
> I've just upgraded my RH6.2 kernel from 2.16-3.i386 to 2.17-14.i586 but I
> have a Cyrix 6x686 CPU and it looks like I'll have to upgrade a bunch of
> packages before upgrading to the i686 kernel.
>
> Thanks.
>
>



------------------------------

Date: Sun, 25 Feb 2001 20:48:27 +0100
From: Michael Heiming <[EMAIL PROTECTED]>
Subject: Re: please help with setting su password

richard noel fell wrote:

> For reasons unbeknownst to me, my system, redhat 7.0, will no longer
> accept the password for su. This prevents many things, such as being
> able to print, etc. How can I reset the password if I can not log on
> as su? I can't imagine that I have to reinstall the software.  My
> purchase of 7.0 comes with a boot diskette. Will this be of any help?
> Thanks to all in advance,
> Dick Fell

Boot from your boot diskette, mount your / device to /mnt

vi /mnt/etc/shadow

root:deleted_your_crypted_passwd:

umount /mnt

Reboot and you should be done, set a new root pwd, as you shouldn't have
one anymore!

Good luck

Michael Heiming


------------------------------

From: [EMAIL PROTECTED]
Subject: Re: svgalib I/O permission
Date: Sun, 25 Feb 2001 20:04:12 GMT

Mladen Gavrilovic <[EMAIL PROTECTED]> writes:
> Never mind, I got my answer: it seems the whole point of SVGAlib is
> that it's fast because of writing directly to the memory buffers of
> the video card, for which you must be root (or setuid root).

That may be what someone might _claim_ if they were ignorant.

The _real_ "whole point" of SVGAlib is that it's small, small, and
small.  

That, in turn means that:
 -> It's not got a whole lot of functionality
 -> There's very little in the way of services that people could misuse
    in ways that would make programs appear slow
 -> Since it's small, it doesn't consume much memory, and so memory is
    left to other things like cacheing disk accesses, thus making
    everything else fast.

Since SVGAlib is so unfeatureful, and provides no ability to
"multiplex" with multiple applications connecting to the screen
simultaneously, nobody ever bothers trying to build ambitious
applications on top of it that could possibly turn out to be slow.

Paul Graham's comparison of C to Lisp is probably relevant:

  In Lisp it is easy to construct software that runs very slowly; in
  C, that is almost impossible.

The point being that any of the things you can do with C are likely to
run quickly, because the primitives are necessarily pretty quick.  The
problem is that with C, you're likely to need to connect together a
whopping _lot_ of primitives in order to accomplish anything useful.
With Lisp, you likely don't need as many primitives...

In like fashion, SVGAlib may be quicker, at toy applications, than X.
But you're unlikely to see anything more than toy applications running
on SVGAlib.
-- 
(reverse (concatenate 'string "gro.gultn@" "enworbbc"))
http://vip.hex.net/~cbbrowne/xbloat.html
Found in a TOPS-10 MCO:
    Quotation for the day: "a counter that doesn't exist can't get messed up."
    "Once in a blue moon" is defined as the creation of a new SFD or the
renaming of an old one.

------------------------------

Date: Sun, 25 Feb 2001 21:05:28 +0100
From: Michael Heiming <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup
Subject: Re: kernel 4.1 upgrade - fail to boot again

bart wrote:

> Hello linus lovers,
>
> I recently upgraded my 2.2.14 kernel to 2.4.1 ... everything worked all
> right but when I try to boot with the new
> kernel it complains that it can't mount the root filesystem ...  !
> Compiled using make zBimage
> I just copied the lilo entry for the 2.2.14 kernel ... where the root
> should be exactly the same as before, activated this
> by invoking lilo ... but it doesn't work.   Linux boots but fails with a
> panic since it can't mount the root filesystem.
> Did I forget something ?

Perhaps, did you read Documentation/Changes, I remember there were among
others, some filesystem
tools you have to update?

Michael Heiming

>
>
> lilo.conf
> -------
> boot=/dev/hda5
> map=/boot/map
> install=/boot/boot.b
> prompt
> timeout=50
> linear
> default=2.14
>
> image=/boot/vmlinuz-2.2.14-5.0
>  label=2.14
>  read-only
>  root=/dev/hda5
>
> image=/boot/vmlinuz-2.4.1
>  label=2.4.1
>  read-only
>  root=/dev/hda5




------------------------------

From: "Chris Coyle" <[EMAIL PROTECTED]>
Subject: Re: help! new kernel - can't mount cdrom
Date: Sun, 25 Feb 2001 15:13:30 -0500

Glitch,
A. Yes on my system it is /dev/cdrom0, because yes I do have another cdrom
drive ( /dev/cdrom1 ), and yes I know they are both links to the "real"
devices, because I created those links myself (cdrom0 -> hdc, cdrom1 ->
hdd).
B. No its not /dev/cdrom, because I removed that link.

As I said, 2.2.16 works OK, specifically including "mount /dev/cdrom0"
so the device link is not the problem.

I think it has something to do with the 2.2.17 ide-scsi module.
I think its aggressively "taking over" both cdroms, whereas with 2.2.16
it just uses hdd like I told it to.

Thanks anyway.

Glitch <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]...
> Chris Coyle wrote:
>
> > Help! anybody please
> > I'm using RH6.2
> > I just installed kernel 2.2.17-14 from the rpms from RH
(RHSA2001:013-05)
> > and now I can't mount my cdrom!
> > The messages I'm getting are:
> >
> >
> >> mount /dev/cdrom0
> >
> > mount: wrong fs type, bad option, bad superblock on /dev/cdrom0,
> >         or too many mounted filesystems
> >
> > Although I fairly newbie I don't think I really screwed up the install
> > because:
> > (a) everything else seems to be OK - I just can't mount my cdrom
> > (b) I did this before, installing 2.2.16 a few weeks ago. I had no
problems
> > at all, and that one's still working fine.
> >
> > How do I begin to find the problem? Are there more details about the
failure
> > being logged somewhere?  Do I need to check the kernel configuration?
>
>
> /dev/cdrom0 isn't a device.
> You are confusing device naming conventions with just things to help
> make a user's life easier. Let me explain:
>
> /dev/cdrom I presume is what you are wanting, however this isn't really
> a device. It's a *link* to the real device which may be /dev/hdb (2nd
> drive on your primary IDE controller).
>
> So if u are using the cdrom link it has no number after it. It's just
> /dev/cdrom.
>
> You *could*make another or new link called cdrom0 but there would be no
> point unless you had 2 or more cdroms.
>
> If however you wanted to use the device that the /dev/cdrom link points
> to then you would use hdb or hdc most likely.
>
> assuming /cdrom exists, try 'mount /cdrom'
>
> if that doesn't work (b/c not enough info in /etc/fstab) just try
> mount -t iso9660 /dev/cdrom /cdrom
>
>
> one of those should work.
>



------------------------------

From: "Gregg Black" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup,comp.os.linux.hardware
Subject: Linux partitioning question
Date: Sun, 25 Feb 2001 12:32:56 -0800

I'm reading up on setting up linux, and it states that many will setup
separate partitions for /usr and /home besides ones swap space.  I would
like to ask you how you usually setup your partitioning.  I was a little bit
confused on it, for you at least need a mounting point of root.  This is how
I did it, but I'm not sure if it's how it should be done.  I set one
partition for about 3/4 of the drive as '/'.  I thought that would cover my
separate partition for /usr as well as the mount point.  My second partition
and about 1/4 of the drive (not all, as the last is for swap) I set as mount
point /home.  Then of course the remaining 256 megs I set for swap.

At first I was going to create a 7 meg partition just for mounting root,
then the larger 3/4 approx for /usr, and then the last primary for /home but
I thought it just made more sense to make just a / and /home partition.
Maybe I'm just not thinking about this correctly.  Any suggestions would be
appreciated!

I'm running Mandrake 7.2



------------------------------

From: "David" <[EMAIL PROTECTED]>
Subject: audio CD's
Date: Sun, 25 Feb 2001 20:22:10 GMT

The answer may be more complex that anyone can figure out, but hope someone
can.

Tried Mandrake 7.2 and RedHat 7, but no sound.
Used sndconfig and says found cs4232 card and that didn't work. I knew I
used Soundblaster in Dos so tried that. Worked, but read on.

By the way, my sound card chipset is CS4236/37/38 according to SiSoftSandra
and the MIDI is Crystal FM Synthesis and the Auxiliary Devices I/O is CS4232
Codec. On the Motherboard.

In /etc/modules.conf reads.

options cs4232 io=0x534 irq=5 dma=1 dma2=0 mpuio=0x300 mpuirq=11
alias sound-slot-0 sb
options sound dmabuf=1
alias midi op13
options op13 io=0x388
options sb io=0x220 irq=5 dma=1 mpu_io=0x330

1) Sound worked in sndconfig, Midi didn't. Went out and sound didn't work.
Removed the mpu_io=0x330 from 'sb options' and sound works. Had to do this
in both Mandrake and RedHat.

2) Is is possible that since the cs4232 doesn't have an alias is why it
doesn't work?

3) Tried a couple times removing this or that and that didn't work. Might
just not have hit the right combo or maybe something is missing.

4) I am sticking with the RedHat 7 now. Mandrake after several installations
would write my fstab file all wrong and had to reconfigure it.
    So if someone knows how to fix in RedHat 7 that is what I am using.

Tried playing several audio CD's and they don't work, says it is playing
them, but no sound. Sound is enabled and looks like everything is installed.
Sound for events works fine now that I got the 'sb' in, but that is all that
works for sound.

Help Pretty Please.







------------------------------

From: richard noel fell <[EMAIL PROTECTED]>
Subject: Re: please help with setting su password
Date: Sun, 25 Feb 2001 16:36:46 -0500


==============EF6BF53BDDFF5C53537416C8
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Thank  you, Michael, for your reply. I booted from the boot diskette,
entering linux rescue, as instructed. However, all that happened was the
beginning of the installation procedure. I did the same from the cd - linux
rescue at the prompt and again, the installation procedure started.
Perhaps, one cannot enter rescue mode from either the boot diskette or the
cd? Is this trur?
Dick Fell

Michael Heiming wrote:

> richard noel fell wrote:
>
> > For reasons unbeknownst to me, my system, redhat 7.0, will no longer
> > accept the password for su. This prevents many things, such as being
> > able to print, etc. How can I reset the password if I can not log on
> > as su? I can't imagine that I have to reinstall the software.  My
> > purchase of 7.0 comes with a boot diskette. Will this be of any help?
> > Thanks to all in advance,
> > Dick Fell
>
> Boot from your boot diskette, mount your / device to /mnt
>
> vi /mnt/etc/shadow
>
> root:deleted_your_crypted_passwd:
>
> umount /mnt
>
> Reboot and you should be done, set a new root pwd, as you shouldn't have
> one anymore!
>
> Good luck
>
> Michael Heiming

--
Please note new email address:
[EMAIL PROTECTED]

Richard Fell
13 Davida Road
Burlington, Ma 01803
(781)273-2126



==============EF6BF53BDDFF5C53537416C8
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
Thank&nbsp; you, Michael, for your reply. I booted from the boot diskette,
entering linux rescue, as instructed. However, all that happened was the
beginning of the installation procedure. I&nbsp;did the same from the cd
- linux rescue at the prompt and again, the installation procedure started.
Perhaps, one cannot enter rescue mode from either the boot diskette or
the cd? Is this trur?
<br>Dick Fell
<p>Michael Heiming wrote:
<blockquote TYPE=CITE>richard noel fell wrote:
<p>> For reasons unbeknownst to me, my system, redhat 7.0, will no longer
<br>> accept the password for su. This prevents many things, such as being
<br>> able to print, etc. How can I reset the password if I can not log
on
<br>> as su? I can't imagine that I have to reinstall the software.&nbsp;
My
<br>> purchase of 7.0 comes with a boot diskette. Will this be of any help?
<br>> Thanks to all in advance,
<br>> Dick Fell
<p>Boot from your boot diskette, mount your / device to /mnt
<p>vi /mnt/etc/shadow
<p>root:deleted_your_crypted_passwd:
<p>umount /mnt
<p>Reboot and you should be done, set a new root pwd, as you shouldn't
have
<br>one anymore!
<p>Good luck
<p>Michael Heiming</blockquote>

<pre>--&nbsp;
Please note new email address:
[EMAIL PROTECTED]


Richard Fell
13 Davida Road
Burlington, Ma 01803
(781)273-2126</pre>
&nbsp;</html>

==============EF6BF53BDDFF5C53537416C8==


------------------------------

From: Eugene Grayver <[EMAIL PROTECTED]>
Subject: Reserve fraction of CPU time on server?
Date: Sun, 25 Feb 2001 13:01:04 -0800

Hello,
I have a 2 CPU P3-1GHz Linux RH 7 (2.4.0) server.  The server is used as
a file server (SAMBA) but users can also run scientific simulations on
it (MATLAB/C).  The problem is that when there are more than 2
simulations jobs running at once, both CPUs are used and the file
service becomes sluggish.  How can I reserver a certain amount of CPU
time for the kernel/samba?

Please reply by e-mail.

Thanks,
Eugene Grayver.
-- 
_____________________________
InnovICs Corp.
Eugene Grayver 
Sr. Design Engineer
233 Wilshire Blvd, Suite 300
Santa Monica, CA 90401
Tel: (310) 395-9559 x 109
_____________________________

------------------------------

From: [EMAIL PROTECTED] (Byron A Jeff)
Crossposted-To: comp.os.linux.advocacy
Subject: Re: MS to Enforce Registration - or Else
Date: 25 Feb 2001 15:47:03 -0500

In article <[EMAIL PROTECTED]>,
Aaron Kulkis  <[EMAIL PROTECTED]> wrote:
-
-
-Byron A Jeff wrote:
-> 
-> In article <[EMAIL PROTECTED]>,
-> Aaron Kulkis  <[EMAIL PROTECTED]> wrote:
-> >
-> >
-> >Donovan Rebbechi wrote:
-> >>
-> >> On Tue, 20 Feb 2001 23:58:52 -0500, Aaron Kulkis wrote:
-> >>
-Thank you for conceding my point.
-
-
-
-So is the price of bread in the store.
-
-Here's the rule:
-
-If you are productive, you get to buy more.
-
-
-> 
-> If you proffered a progressive sales tax, I might bite:
-> 
-> 1) All sales tax on the first X dollars spent exempted.
-> 2) Sales tax becomes steeper as you spend more total dollars.
-> 3) Luxury taxes on items over a certain amount.
-> 4) No income or capital gains taxes.
-
-
-Fuck that.  Once again, you're penalizing those who work for the
-benefit of those who mooch.
-
-
-> >Do you have some particular problem with tax-relief being proportional
-> >to how much taxes a person pays?
-> 
-> Yes. You knew that was coming.
-> 
-> Like many Democrats, I do believe in income redistribution.
-                                       ^^^^^^^^^^^^^^^^^^^^^^
-
- You misspelled Government-sponsered THEFT.
-
->                                  I believe in it because income and net worth
-> acquistion isn't fair.
-
-Says who?
-
-If you want to make more money, you are free to seek a whatever
-form of work pays a higher income.
-
-
->                         I know you believe that if you work hard, you'll become
-> rich, or at least comfortable. Those who do not or are incapable of raising
-> their standard of living you have labeled as lazy or stupid in the past. But
-
-Other than the disabled, do you disagree?
-
-
-> we are not all born into the same circumstance. We don't all have the
-
-So what?
-Life's not fair.  And it never will be.
-Deal with it.
-
-
-
-Let me work and KEEP MY MONEY, free to INVEST IT UNTAXED...and TAX
-***ONLY*** that which I take from society (i.e. what I use up => sales tax).
-
-QUIT TAXING ME FOR WHAT I ***CONTRIBUTE**** TO SOCIETY.
-
-> 
-> So yes I do believe that taxation according to disposable income, or net worth
-> should in fact be a bit unfair. so as to provide benefit to the maximum number
-> of people, instead of benefitting a select few, who in fact need the benefit
-> the least.
-> 
-> So I do have a problem with any equal taxation (flat rate). Through exemption,
-> 
-> It's about disposable income Aaron. Those who have it should give. Those
-> who don't should get help. It ain't fair in your world view. But life isn't
-> fair. Which is exactly my point.
-
-The only fair tax is every able-bodied adult pays the EXACT SAME AMOUNT.

Well I started a point by point rebuttal, but my editor locked up. So here's
the short version:

Those who have more should pay more. It's not fair, but neither is how
those who have more got it, no matter how you try to deny it.

That's my proposal to "deal with it." as you state above.

BAJ

------------------------------

From: [EMAIL PROTECTED] (Byron A Jeff)
Crossposted-To: comp.os.linux.advocacy
Subject: Re: MS to Enforce Registration - or Else
Date: 25 Feb 2001 15:51:16 -0500

In article <[EMAIL PROTECTED]>,
Aaron Kulkis  <[EMAIL PROTECTED]> wrote:
-
-
-Peter Hayes wrote:
-> 
-> On Sat, 24 Feb 2001 03:20:43 -0500, Aaron Kulkis <[EMAIL PROTECTED]> wrote:
-> 
-> > Byron A Jeff wrote:
-> >
-> > > It's about disposable income Aaron. Those who have it should give. Those
-> > > who don't should get help. It ain't fair in your world view. But life isn't
-> > > fair. Which is exactly my point.
-> >
-> > The only fair tax is every able-bodied adult pays the EXACT SAME AMOUNT.
-> 
-> But some are more able-bodied than others.
-
-Does your grocery store change they charge for food on the basis
-of how much you earn?

No but the govt. subsidizes the poor with food stamps and the Earned Income
credit.

The govt isn't in it for a profit, but for the benefit of their constituents.
They need not be fair about their practices when their practice has a higher
overall benefit for all their constituents.

But as I said from the jump, we agree to disagree, so this is my last post on
the subject.

BAJ
-
-

------------------------------


** 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
******************************

Reply via email to