Linux-Setup Digest #711, Volume #20              Mon, 26 Feb 01 13:13:09 EST

Contents:
  Re: Kernel-HOWTO - order of make ("Peter T. Breuer")
  Re: Dual Boot wiped out by Win98 (Rod Smith)
  Re: kernel 4.1 upgrade - fail to boot again ("Scot Mc Pherson")
  Re: How to install multiple distros ("Mark L. Kahnt")
  Re: "unable to mount root fs" seems common prob.... ("Rake@Q3")
  Re: Partition Scheme for Storm/Debian Linux ("Mark L. Kahnt")
  Digi printing (Deepan Patel)
  Re: How to setup SNMP on linux to count network traffic ? (Giovanni Meneghetti)
  Re: kernel 4.1 upgrade - fail to boot again ("Peter T. Breuer")
  Re: pls! help!  3c509b pnp and sound blaster 16 isa card conflicts! ("Corey Wirun")
  red-carpet & Debian ("Ahmad Al-rasheedan")
  Re: Sound Blaster 16 only works as root ("Ahmad Al-rasheedan")
  ntfs and linux-2.4.0 (Serge Eric Thiam Nkuiguieng)

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

From: "Peter T. Breuer" <[EMAIL PROTECTED]>
Subject: Re: Kernel-HOWTO - order of make
Date: Mon, 26 Feb 2001 15:52:33 +0100

Steve Martin <[EMAIL PROTECTED]> wrote:
> "Paul F. Becker" wrote:
>> 
>> Can someone explain to me why the Kernel HOWTO states the order of make
>> as such
>> 
>> make dep
>> make bzImage
>> make bzlilo
>> make modules
>> make modules_install
>> 
>> When, obviously, either make modules or make modules_install modifies
>> the System.map which is read by lilo. Building a kernel in this order

SYSTEM.MAP is NOT read by lilo. Get that out of your head. Where does
this rumour come from???? Is it impossible to exterminate?

>> always, without fail, generates boot errors.

Nonsense (well, I have no idea what make bzlilo does, but you should
never use it anyway! It will overwrite/reuse an image entry in your
lilo.conf, when what you want to do is add a new entry).


> As far as reading System.map, I don't think LILO reads System.map
> at all. I did some checking in some docs, and after some RTFM'ing,
> I can't find any reference to the System.map file either in the

Just so.

> LILO Users Guide or the Technical Reference. Where did you read
> that System.map was used in this way?

> I am no expert, but since the kernel has the module directory
> wired in, based on the kernel release, I don't think there will
> be a problem. However, if you're installing a 2.4 kernel, I'd

There isn't any problem.

> advise that you run "make modules_install" after everything else.
> The top-level Makefile runs depmod after installing the modules,
> and it explicitly runs it against the newly-created System.map
> file. The 2.2.14 kernel (and I assume other 2.2-series kernels)
> does not run depmod after modules_install.

Just so, except that you can run depmod yourself whenever you like.

Peter

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

From: [EMAIL PROTECTED] (Rod Smith)
Subject: Re: Dual Boot wiped out by Win98
Date: Mon, 26 Feb 2001 15:19:50 -0000
Reply-To: [EMAIL PROTECTED]

In article <cSmm6.3913$[EMAIL PROTECTED]>,
        "ERix" <[EMAIL PROTECTED]> writes:
>> Randy Park wrote:
>>
>> > This worked fine until I was forced to reinstall
>> > Win98 due to Win98 problems. 
...
> install W98 first, then linux--always this order

Apparently you missed this point -- the original poster *DID* install
Windows first, but (as is far too common with Windows) had to RE-install
it. In point of fact, there are ways to recover from this situation. In
fact, it's something of a FAQ. It's basically just necessary to boot
with an emergency floppy and re-run LILO or GRUB (whichever you use).
The real problem is this:

>> > I tried
>> > using the drakeboot (or is that bootdrake?) utility
>> > but it fails with a message something like 'cylinder
>> > is too large'.

Personally, I'm not familiar with the Mandrake GUI front-end for LILO or
GRUB; I always manually edit /etc/lilo.conf and run the lilo program
manually. It sounds like the kernel is above the 1024-cylinder mark.
This SHOULDN'T be a problem for GRUB or for recent versions of LILO, but
with LILO, I believe an "lba32" line should be present in the
/etc/lilo.conf file. Somebody else who's more familiar with the GUI
front-ends might be able to provide more help, though; or you could try
doing it with command lines and report the errors those tools produce.

-- 
Rod Smith, [EMAIL PROTECTED]
http://www.rodsbooks.com
Author of books on Linux & multi-OS configuration

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

From: "Scot Mc Pherson" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.misc
Subject: Re: kernel 4.1 upgrade - fail to boot again
Date: Mon, 26 Feb 2001 15:39:32 GMT

Sorry for the silly question, but why are you using a development revision
that is older than the latest stable release??

You should be using 2.4.2, yes?

--
Scot Mc Pherson
http://www.behomet.net
N27� 19' 56"
W82� 30' 39"



"bart" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> 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 ?
>
> 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: "Mark L. Kahnt" <[EMAIL PROTECTED]>
Crossposted-To: linux.debian.user
Subject: Re: How to install multiple distros
Date: Mon, 26 Feb 2001 10:48:29 -0500
Reply-To: [EMAIL PROTECTED]

Anita Lewis wrote:
> 
> On Mon, 26 Feb 2001 02:59:59 GMT, Peter wrote:
> >I currently have Mandrake installed but would like to test some other
> >flavors, i.e. Slack, Debian/Storm, and SuSE.  What is the proper way
> >to do this so that everthing gets along o.k?.   I currently have swap,
> >root (/), and /home setup and figure they could all share swap and
> >/home.  Can I have multiple root (/) partitions?
> >
> >Thanks in advance...
> 
> I've done quite a few of these.  Yes, they can share swap and usually they
> can share /home.  I usually run them on the /home on the / partition until I
> am sure that they won't write any files that overwrite what I already have
> in /home.  (like config files for Gnome or KDE and such)  Slack uses 1000
> for the default uid for the first user; so in order to use /home and user
> made with something that uses 500 for uid, you have to read the man page on
> how to do useradd and make the uid 500.  So check out the uid when you make
> your user so that you can make that change if needed later when you start
> using your /home partition.
> 
> Yes, you can have multiple / partitions.  Just make a new partition and
> install.  I never write over my mbr with LILO when I install.  Or maybe you
> have grub in there.  I copy the new kernel into my main install's /boot and
> edit lilo.conf and rerun lilo in order to include the new distro in LILO in
> the mbr.  I'm sure there is a way to add the new distro with grub too.  Just
> be sure you have a working boot floppy in case the new distro overwrites the
> mbr even though you try not to.  When you boot, only the / partition for the
> distro you choose will be mounted; so there will be no confusion even if you
> have many other / partitions sitting there.  You will be able to set up
> /etc/fstab so that /home will be mounted too, but like I said, it's best not
> to do that right away until you get a feel for the new distro and what it
> wants in /home.  With some of them, I have found it best to just mount /home
> under /mnt/<something> and make links to my mail directory and news
> directory.  I forget which distros I've had trouble with.
> 
> Anita

I'd offer another bit of consideration, in case they are on separate
partitions as well: /var and /usr probably should be distinct for each
distribution, although /var/spool may well work between distributions.
/var/log, IMHO, should be distinct if only because it makes it easier
tracking down problems with a particular package that is in both
distributions but is slightly different in each.

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

From: "Rake@Q3" <[EMAIL PROTECTED]>
Subject: Re: "unable to mount root fs" seems common prob....
Date: Mon, 26 Feb 2001 15:53:42 GMT

Hi,
  The PS2 mouse options are an easy thing to break in X, and what's worse,
once they're broken, you can't fix them from within X, because unless you're
a Pro, you can't navigate through the windows in X without a mouse.
  It's best to read the documentation on X, XFree86, gpm, and assorted
others.
The reason for this, is that Linux treats the mouse different depending on
whether you are in a 'console' or running X-Windows.  A hint on where the
X-Config file is (this is where the x-windows finds configuration for most
basic things such as input, output, libraries, etc, which is similiar to the
win.ini and system.ini files in ms-windows), is /etc/X11/XFConfig or
/etc/X11/XFConfig-4.  Always backup these files prior to changing anything,
that way, if you mess things up, you can 'mv' the backup files to overwrite
the changes you made.
  Last, if your mouse is working, leave it alone until you get more
experience.  You should read the documentation on it anyway, because to get
'third' button functionality out of your two button mouse, linux uses the
'push both buttons' at once, and magic, you get third button action for
cut&paste stuff!

  One thing we need to know to help you, if you can't make heads or tails
from the documentation is :

type of mouse:  serial, bus, or PS-2 connector
Name of Mouse if available:  MS, Mouseman, Belkin, etc
XFree86 distribution:  3.3.6 or 4.01 (mandrake has a control center that can
tell you this information I think)
  With this info, if someone has the exact same hardware, they can usually
post a quick fix from their config files.  This works most of the time,
except for video timing settings concerning video cards and monitors.

  I know this didn't really answer your pertinent question, but gives a
little insight of how things work.
    Dylan sends


<[EMAIL PROTECTED]> wrote in message news:94n9qr$kpp$[EMAIL PROTECTED]...
> Here is Mandrakesoft's response to my problem --  paste--->>>
> > Hello,
> >
> > Here is your file number : 5944
> > This number has to appear in every mail
> concerning
> > THIS TROUBLESHOOTING.
> >
> > You have to start Lnx4Win from Windows only.
> >
> > Best regards
> >
> > Mandrakesoft Support Team
> <<<<<----end paste----
>
>
> Well, duh, I had already figured that out!  I ran it last night when I
> found linux.exe [or something like that] in the lnx4win directory... A
> virtual drive is created and the root fs mounts!
>
> New problem: linux thinks I have a PS2 mouse, but I have a standard
> generic 2-button serial mouse.  I tried to change the mouse type in the
> KDE desktop with root priviliges, but the change does not stick.  Is
> there another way to change my mouse type without reinstalling for the
> 4th time?
>
> (I sent that via email to Mandrakesoft in response to their first slow
> and limited response, and this is what I got back   ---paste---->
> Hi, Gene
>
> Please use web interface for all contacts with
> our support
>
> thx
> Denis
> <<<-----end paste----
>
> Thanks *loads*, Denis....    Mike is a million times better than you...
>
>
> In article <[EMAIL PROTECTED]>,
>   [EMAIL PROTECTED] wrote:
> > [EMAIL PROTECTED] wrote:
> > >
> > > OK, i will try a real install on a partition.  Did you ever hear of
> > > FIPS to partition a drive without losing data?  Do you recommend
> using
> > > it?
> > >
> >
> > Yes I heard of it, but I've never used it.
> > It will be non-destructive(Your data should be safe).
> > You must defrag the disc first though.
> >
> > Anything you do to a partitiontable is in principle dangerous though.
> > Backup if you want to be sure.
> >
> > If you have the money to spare, you can consider buying partition
> magic.
> > It's an easier to use tool, and in my expierience very reliable.
> >
> > Eric
> >
>
>
> Sent via Deja.com
> http://www.deja.com/



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

From: "Mark L. Kahnt" <[EMAIL PROTECTED]>
Crossposted-To: linux.debian.user
Subject: Re: Partition Scheme for Storm/Debian Linux
Date: Mon, 26 Feb 2001 11:18:08 -0500
Reply-To: [EMAIL PROTECTED]

Duane Healing wrote:
> 
> Depending on what you're doing, 400MB for swap is probably overkill in
> your case. Unless you're doing things that are particularly memory
> intensive or running a big server, having a total of RAM+swap > 500MB is
> probably not needed. Since you've got 384MB of RAM, that would mean a swap
> partition along the lines of 116-120 MB is probably sufficient and you may
> never need that much.
> 
> Assuming you're planning on running X and a typical complement of apps,
> 400MB won't be enough for / if you don't split off other directories from
> it. Separating out /var and /usr are pretty common practices, but I prefer
> to have them all together for flexibility's sake. My machine isn't exposed
> to the internet or I'd more seriously consider separating /var to avoid
> root filesystem overruns in case of DOS attacks. My total usage for /
> which includes everything on that system except /home and /boot is 1.7GB,
> little of which is fat, but does have the full documentation installations
> and other things that could be trimmed if necessary.
> 
> The size of /home is entirely dependant on what you're using the system
> for. Is it multi-user? Is it a single-user system with little data being
> stored? Too variable to make a call.
> 
> I hope this helps some.
> --
> -Duane
> -DNAware SoftLabs
> 
> In article <[EMAIL PROTECTED]>, "Lacky" <[EMAIL PROTECTED]>
> wrote:
> 
> > I have settled on Storm/Debian as my distro of choice and will be
> > building my new development box on Monday AM.  What I need to figure out
> > is a proper partioning scheme for this new box.  Obvioulsy I will want a
> > swap file, /, and /home.  What about /usr, /usr/local, /var,
> > /tmp?  Do these need their ownpartitions?  Are there other directories
> > that need their own paritions?
> >
> > What about size?  How much should I allocate for swap, /, /home, etc.
> > The box being built is a Duron 650 with 384MB of RAM, 15GB HD, CD-ROM,
> > SCSI CD-RW and ZIP.  I was thinking the following:
> >
> > Swap: 400mb
> > /: 400mb
> > /home: 3GB
> >
> > I will be using other sections of the HD for storage.
> >
> > Thanks!

A quick heads-up - just a couple days ago, I went a bit wild with
GNapster, and after grabbing 100 MP3s (of course, none of them were
items not explicitly released to MP3 distribution ;), and learned that
it tied up 1/2 GB of RAM and swap - apparently it uses a byte of memory
for each byte downloaded, and doesn't release them until the program
exits. Maybe a future version will handle that better, but the fact is
that not all programs are perfectly behaved, and a good sized swap makes
for a good buffer. On my 256 MB RAM system, I've still pushed the
machine to 90% of a 512 MB swap in use, when working with a word
processor, IDE package, RealPlayer, Mozilla and Netscape 4.76, and a
couple of Java applications on one account, and on a separate X session,
KDE and KOffice, a few instances of Konqueror and The GIMP. YMMV, and
not everybody is going to push a system like that.

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

From: Deepan Patel <[EMAIL PROTECTED]>
Subject: Digi printing
Date: Mon, 26 Feb 2001 16:30:09 -0000

How do I setup serial printing using DIGI board?

--
Posted via CNET Help.com
http://www.help.com/

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

From: Giovanni Meneghetti <[EMAIL PROTECTED]>
Crossposted-To: 
alt.os.linux.redhat,comp.os.linux.networking,comp.os.linux.questions,linux.redhat.misc
Subject: Re: How to setup SNMP on linux to count network traffic ?
Date: Mon, 26 Feb 2001 17:34:38 +0100

You have to configure your snmp agent. File name is snmpd.conf, should be in
/etc/snmp/snmpd.conf

Here's the lines you may want to insert. Please, note I think you'd have to
comment your old lines.
It's an open environment. This may implie some security risk.
What'r the risks for having an open SNMP like this ?
You should at least change public with a name of your own.

I'm using these lines in my intermal network, and I'm using firewall to prevent
external connections,
so I don't care about this public configuration.
May this be somehow critical for security?

Bye
Giovanni

Again, here's the lines:
com2sec mynetwork 10.16.160.0/24      public
group MyROGroup  v1        mynetwork
view all    included  .1                               80
access MyROGroup ""      any       noauth    exact      all    none   none



oli wrote:

> Hello !
>
> I am trying to setup SNMP on my linuxbox, so that I can see the number of
> bytes going in&out on each adapter. So I started snmpd, and ran a "snmpwalk
> localhost public". But this doesn't give any information about the
> adapters...
>
> Where should I make some changes to see these particular statistics ??
>
> Thanks a LOT !!! :-)))
>
> Oli


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

From: "Peter T. Breuer" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.misc
Subject: Re: kernel 4.1 upgrade - fail to boot again
Date: Mon, 26 Feb 2001 17:49:08 +0100

In comp.os.linux.misc Scot Mc Pherson <[EMAIL PROTECTED]> wrote:
> Sorry for the silly question, but why are you using a development revision
> that is older than the latest stable release??

Possibly for stability

> You should be using 2.4.2, yes?

No? What makes you think newer = better? Maybe it doesn't fix his bugs
and gives him some new ones. Maybe it fixes his bugs. It's all maybe.
The balance of probabilities is about 50/50.

> "bart" <[EMAIL PROTECTED]> wrote in message
>> right but when I try to boot with the new
>> kernel it complains that it can't mount the root filesystem ...  !

Some nitwit/he didn't compile support for the root filesystem or device
into the kernel. What's so surprising? 

>> Compiled using make zBimage

Wahoo.

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

No, it looks like he didn't think, not didn't remember.

Peter

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

From: "Corey Wirun" <[EMAIL PROTECTED]>
Subject: Re: pls! help!  3c509b pnp and sound blaster 16 isa card conflicts!
Date: Mon, 26 Feb 2001 10:26:31 -0700

I have a similar setup, except I have two 3c509's (note these are ISA cards)
and one was conflicting with an Adaptec SCSI card.  If you know which IRQ is
conflicting, then you have the change the IRQ setting of the card itself.
There's non-volatile memory on the '509 that allows you to save the IRQ, i/o
setting, etc..

Get the 3com driver disks.  Boot DOS.  Run the 3c509cfg.exe (sp?) setup
utility for the '509, and change/save the setting to the card.  That's what
I did and then linux was a lot happier.

Good Luck.
Corey.

"����ȣ" <[EMAIL PROTECTED]> wrote in message
news:q_km6.283$[EMAIL PROTECTED]...
> please help me!
> i compiled linux kernel 2.4.2 with pnp support, embedded 3c509 device
driver
> and sound blaster as a module(no pnp sound card), then i upgraded linux
> kernel to 2.4.2. i found that 3c509b pnp was configured as same irq and io
> port with the sound card.
> how can i fix this problem.
> i want kernel pnp service to avoid certain interrupt and ioport
> or to use specific interrupt and ioport.
> is there any way to do this?
>
> any advice will be appreciated.
>
>
>



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

From: "Ahmad Al-rasheedan" <[EMAIL PROTECTED]>
Subject: red-carpet & Debian
Date: Mon, 26 Feb 2001 19:49:17 +0300

Every time I fire up red-carpet on my Progeny Debian, I get :

/u1/red-carpet/bin/red-carpet 

libredcarpet-ERROR **: I can't figure out what distribution you're on!

aborting...
Aborted


Any clue on how to fix the above?

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

From: "Ahmad Al-rasheedan" <[EMAIL PROTECTED]>
Subject: Re: Sound Blaster 16 only works as root
Date: Mon, 26 Feb 2001 19:51:27 +0300

In article <977tu3$h8s$[EMAIL PROTECTED]>, "Eric Ho"
<[EMAIL PROTECTED]> wrote:

> Hi, I have just reinstalled Slackware 7.1, everything is mostly ok, but
> my sound blaster 16 card only works as root. There must be some simple
> way to fix it ..... please help guys. I am using 2.2.18 kernel.
> 
> Thanks very much.
> 
> Best Regards, Eric Ho
> 
> 

Check permissions of /dev/dsp, /dev/audio, etc.

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

From: Serge Eric Thiam Nkuiguieng <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.help
Subject: ntfs and linux-2.4.0
Date: Mon, 26 Feb 2001 18:51:18 +0100

Hello, 

After compiling and installing the kernel-2.4.0 it's impossible to list
the files on an ntfs(win2k) filesystem. The ntfs module is compiled in
the kernel, it mounts the partition without any errors, but when I go to
the mount-point and do an "ls", there is not list of the files in that
directory. What am I missing? Under 2.2.17, it workd fine without a
problem. 

mount command: mount -t ntfs /dev/sda1 /win2k -o ro
under:   Linux mandrake 7.2
kernel-2.4.0 + upgraded modutils, binutils,... etc.

Thanks for your help 
--
Serge.

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


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

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

Reply via email to