Re: [expert] kernel building questions

2002-07-11 Thread ai4a

Darren King wrote:
> 
> I built the kernel, and installed it (make menuconfig, make dep, make
> bzImage, make modules, make modules_install). I updated lilo.conf and
> added a new entry as I kept the new kernel separate from my existing
> kernel.

Did you do a 'make distclean' or a 'make mrproper' before you did 'make
menuconfig' If not you should have. 

HTH Charles



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [expert] Kernel booting issue

2002-07-11 Thread ai4a

Femme wrote:
> 

> As for which installations LILO is in the MBR, I believe the second
> ones, the Test OS Install.  Its the one I'm learning on/screwing up.
> Its the one I installed 2nd, and I (probably stupidly) put the LILO onto
> hda in the MBR, thinking I could just point the other installations
> files to the right directory & such.
> 
> Silly me! ;P
> 
> thx
> Femme
> 

Here is another way to multi boot. Below is a copy of my lilo.conf
(edited) for Mandrake 8.2.

boot=/dev/hda   <--- Mandrake lilo goes to the MBR
map=/boot/map 
install=/boot/boot.b 
default=linux 
keytable=/boot/us.klt 
lba32 
vga=normal 
prompt 
timeout=100 
message=/boot/message 
menu-scheme=wb:bw:wb:bw 
ignore-table 
 
image=/boot/vmlinuz 
label=linux 
root=/dev/hda5 
initrd=/boot/initrd.img append="devfs=mount hdd=ide-scsi" 
vga=791 
read-only 
 
other=/dev/hda8< point to Debian just like windows
label=Debian 


Here is my lilo.conf (located in the Debian partition) for Debian
(edited).


boot=/dev/hda8 <--- NOTE Debian's lilo goes in the
Debian partition
root=/dev/hda8 
install=/boot/boot-menu.b 
map=/boot/map 
timeout=50 
prompt 
vga=normal 

default=Linux 
image=/vmlinuz 
label=Linux 
read-only 
vga=5 

This way you do not have to copy anything from one linux to the /boot
diectory of another linux and you will not run the risk of getting
something mixed up. Everthing stays in its own directory. You can have
as many Operating Systems as you want. You can do all kinds of crazy
things with lilo. Such as linux A points to linux B, which point to
linux C which points to linux D & etc. 

Note: You must change above parameters to match your system.

HTH 
Charles



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [expert] file size limit exceeded error

2002-07-08 Thread ai4a

Darren King wrote:
> 
> I am running 8.2 and using reiserfs.  I use a P2P application for
> (legal) file sharing.
> 
> I am having a problem with my app but it points to the osit happens
> at the same time, all the time.  At the exact same point of trying to
> write a 136 (approx) MB file, I get that error and the app quits.  BTW,
> the app is written in java if that matters.
> 
> [1]+  File size limit exceededjava -jar Furthur.jar
> 
> I tried playin with ulimit but it didn't help.
> 
> any ideas...
> 
> Darren
> 
>   
> Want to buy your Pack or Services from MandrakeSoft?
> Go to http://www.mandrakestore.com

Look in /etc/security/limits.config. Very near is a line limiting file
size. Comment the line out or increase the size.
HTH
Charles



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [expert] question recompiling kernel

2002-06-23 Thread ai4a

jerry wrote:
> 
> OK, using dist Mandrake 8.2 kernel-source-2.4.18-6mdk.i586 (from the rpm on dist cd) 
> AND Athlon thunderbird cpu, ASUS VIA/PROMISE motherboard (2 built-in usb, serial, 
>agp, pci cards, p/s2 mouse, no ISA slots) agp voodoo3 videocard, dlink usb card 
>(bought seperate.. going to remove since it's worth about as much as a good stomach 
>pump) Avance Logic ALS4000 soundcard (needs alsa driver) CNET Ethernet card (driver 
>is either tulip or dmfe.  disk with card has dmfe so i'm not sure if it's using tulip 
>for eth0 or usb but it's used for something...)  canon bjc parallell printer (but not 
>used often so usually not installed)
> 
> steps taken:
> 
> 1)take current kernel tree (/usr/srs/linux) rename it so it doesn't get overwritten. 
>(changed to /usr/src/lin)
> 2)urpmi the kernel-source.
> 3)coompile:  first: make xconfig.
>  using docs from all my hardware and howtos on linux (kernel, sound,
>  HOWTO, etc) enable support / modules keeping undeeded drivers
>  out.
> 4)make dep.
> 5) make clean
> 6) make bzImage
> 7)make modules
> 8)make modules install.
> 9)copy bzImage from /usr/src/linux/arch/... to /boot  (haven't used make bzlilo 
>yet.. does it work?  work better?)
> 10) lilo conf.
> 
> HISTORY:  I've gotten the kernel sucessfully compiled (albeit incorrectly) once but 
>messed up the lilo and hosed a good part of my HD.. reinstalled.  Took a few weeks 
>off to learn lilo specific info.  (the first thing you do with your new penguin is 
>think you can just walk right in and rebuild the kernel?  oh.  ok.  lol)
> 
Jerry:
It appears that you want to use a new kernel source and you want to
change some kernel options. Of course why compile it unless you want to
change something. 

May I suggest that you compile the kernel as a learning experience and
then after you are comfortable compiling the kernel then make your
changes.

You can compile your kernel again without destorying the current kernel.
In the original /usr/src/linux edit file "Makefile" and change the line
(4th line down) that reads 'EXTRAVERSION = -6mdk' to 'EXTRAVERSION =
-jerry1' This will create a kernel with the suffix '-jerry1' and leave
your current kernel just the way it was.

Now do:
make distclean (or make mrproper) [distclean cleans a few more files.
Either of these two will also delete
   /usr/src/linux/.config*. So if you
have something in it that you wish to 
   save, copy it to .Config. But
deleting .config is no problem.
The   orginal config file is
still in /usr/src/linux directory tree and
'make menuconfig' will copy it back
to .config. Use this config file as
itwill have the orginal
configuration from mandrake and the kernel
should compile and run correctly.

make menuconfigMake no changes. Just press the right
arrow key to exit and save the
   configuration file   

make dep
make clean 
make bzImage
make modules
make modules_installYou must be root starting here   
make install

The last step (make install) will create a new entry in lilo.conf
pointing to the new kernel(the one with -jerry1 on the end). It will
also change the symbolic link 'vmlinuz' so it now points to the new
kernel. So you can boot linux with the OLD kernel (in case the new one
does not work), change the symbolic link back to pointing to the OLD
kernel. Use the commands:

rm vmlinuz
ln -s vmlinux-2.4.18-6mdk vmlinuz

Check lilo.conf and make sure it looks OK. and then execute lilo. This
step is very important as the system may not boot if you don't do it.

Now shut down the system and reboot it. Select the new kernel and hope
for the best. If it fails, just boot from the old kernel.

After you are comfortable compiling the kernel then try making your
changes.

Good luck
Charles



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [expert] question recompiling kernel

2002-06-23 Thread ai4a

jerry wrote:
> 
> for compatibility issues / changing hardware / removable usb devices etc... when 
>recompiling the kernel, is it better to have the versions on modules symbols set or 
>not?  I've yet to successfully recompile one 

Jerry;
What release of Mandrake are you running? Also, please list the exact
steps you are using to compile the kernel. Perhaps you are not doing all
of the steps!
Charles



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [expert] What would cause system to just stop?

2002-03-20 Thread ai4a

David Guntner wrote:
> 
> Tom Brinkman grabbed a keyboard and wrote:
> >
> > Type 'sensors' in a term.  You should see somethin like
> > SYS Temp:  +28.8°C  (limit =  +60°C, hysteresis =  +50°C)
> > CPU Temp:  +44.0°C  (limit =  +60°C, hysteresis =  +50°C)
> > SBr Temp:  +23.2°C  (limit =  +60°C, hysteresis =  +50°C)
> > There maybe numbers associated, eg, temp 1, temp2, etc.  In my
> > example cpu temp is number 2.
> 
> I think whatever this program needs is not available with the motherboard
> that I'm using.  I typed "sensors," and then when I ran it a second time
> after I did a "modprobe i2c-proc" in response to the first attempt's
> complaining about it (oops :), it reported "No sensors found!"  So,
> whatever it's expecting to be on my motherboard for that program to
> interface with, doesn't seem to be there.
> 

Do you need to run 'sensors -s' before you run sensors?  I am very new
at sensors, but I think that is what I had to do!
HTH
Charles



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [expert] Would you pay $5 to rescue Mandrake

2002-03-13 Thread ai4a

Wolfgang Bornath wrote:
> 
> On Wed, Mar 13, 2002 at 09:25 -0600, Larry Blodgett wrote:
> > >I subscribed yesterday and I received an email this morning
> > >containing my username/password.
> >
> > I received mine also.  Mine did not work.  I signed on and the site
> > seemed to have me signed on but all the selections acted as if I had
> > not signed on.  I emailed the webmaster and I have not heard from it
> > yet, probably because of the time difference.  The only thing I can
> > assume is that my account was not set up properly.  I am glad it
> > works for someone.
> 
> Sorry for that, but the webmaster, Denis, is at the CeBIT Computer Show
> until Mar 20, so there may be a bit of delay.
> 
> wobo
> --
> Registered Linux User 228909  Powered By Mandrake Linux 8.1
> -
> 
> 
>   
> Want to buy your Pack or Services from MandrakeSoft?
> Go to http://www.mandrakestore.com

I had the same problem. It seems the site will not work with certain
browers?? I forgot the details. I used konqueror and it worked.

HTH
Charles



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [expert] Kernel IP virtual server?

2002-02-24 Thread ai4a

Randall Jonasz wrote:
> 
> Hey everyone,
> 
> I just compiled kernel 2.4.17 on mandrake 8.1;  everything boots up nicely
> except for a module required by ipvsadm.  For the life of me I can't find
> anything in the kernel config for ip virtual server.  Does anyone know
> where it is located?  I've disabled ipvsadm with chkconfig as, after
> reading the man pages, I don't think I need it.  But I'm curious to know
> what module it's looking for so I can compile it into the kernel?
> 
> Thanks for your help,
> 
> Randy
> 
>   
> Want to buy your Pack or Services from MandrakeSoft?
> Go to http://www.mandrakestore.com

Using make menuconfig
 Under Networking options...>
   under IP: Virtual Server Configration...>
 
Maybe this is what you are looking for??
Charles



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [expert] i586 or i686 rpms

2002-02-21 Thread ai4a

Joseph Braddock wrote:
> 
> K62 chips are i586.
> 
> On Wed, 20 Feb 2002 19:32:37 -0800
> Harold Hartley <[EMAIL PROTECTED]> wrote:
> 
> > I have been trying to figure out  and looking up info, but does anyone
> > know if a K6-2 550 mhz is equal to a i686 or a i586. I just want to know
> > so I can download any i686 rpms if possible to take advantage of the cpu.
> >
> > Harold
> >
> >
> >
> >
> 
>   
> Want to buy your Pack or Services from MandrakeSoft?
> Go to http://www.mandrakestore.com

I recompiled the kernel using k6-2 processor type and the system shows
an i586 processor type on a vc terminal. 
Charles



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [expert] mkbootdisk problems

2002-02-02 Thread ai4a

Michael Leone wrote:
> 
> I'm having some problems creating a bootdisk. I routinely use a initrd
> image. However, no matter what options I try, the rebooting with that
> diskette fails with a "Cannot find initrd.img" message.
> 
> What exactly is the command to create a bootdisk? I've tried:
> 
> mkbootdisk 2.4.17
> mkbootdisk --mkinitrdargs initrd.img 2.4.17 2.4.17
> (initrd.img and 2.4.17 are the parameters to pass to mkinitrd)
> mkbootdisk --mkinitrdargs /dev/fd0/initrd.img 2.4.17 2.4.17
> 
> and other variations. No luck. All fail in the same way.
> 
> Ordinarily, I use an initrd image named "initrd-2.4.17.img" (this is
> what the file in /boot is named).
> 
> Anybody see what I'm doing wrong?
> 
> --
> 
> --
> Michael J. Leone  Registered Linux user #201348
> ICQ: 50453890 AIM: MikeLeone
> 
> PGP Fingerprint: 0AA8 DC47 CB63 AE3F C739 6BF9 9AB4 1EF6 5AA5 BCDF
> PGP public key:
> 
> 
> "Sometimes your lack of sympathy gets hard to explain,
>  So on your mask of make-up you just paint a little parody of pain"
>  "When you were young", Del Amitri
> 
>   
> Want to buy your Pack or Services from MandrakeSoft?
> Go to http://www.mandrakestore.com

Check the file size of initrd.img in /boot. If it is zero you must make
an initrd.img file with the 'mkinitrd'. See man mkinitrd. an example:
mkinitrd initrd-2.4.17.img Try searching the archives. This has been
answered many times. HTH
Charles



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [expert] Moved Display in Linux and in Windows

2001-02-19 Thread ai4a

"Altoine B." wrote:

> Joseph Red wrote:
> >
> > > Kuldeep Shah wrote:
> > >
> > > I am having dual operating system on my computer. I am having Windows
> > > Me and Linux Mandrake 7.2. On my linux i have installed X server
> > > 3.3.6. In both the operating system i am using the same display
> > > resolution (1024 by 768). In compare to windows. Linux 7.2 is
> > > displaying desktop around 1 c.m. right side. So every time on using
> > > linux after windows or on using windows after linux, i have to set
> > > monitor to display desktop in center. This was not happening with
> > > Linux Mandrake 7.1. Is it possible to sove this problem ?
> > >
> > > Thanking You.
> > >
> > > - Kuldeep
> > > [EMAIL PROTECTED]
> > >
> >
> > I suspect your problem is that you are using different refresh rates
> > between the 2 OS.  Make them the same & that should fix your problem.
> > --
> >
> > Joseph Red
> > [EMAIL PROTECTED]
> > www.cautioninc.com
> >
>
> I second that Joseph! I used to have the same problems until I did what
> you suggested.
>
> --
>
>
>   .--. `
>   |__| .---.   Altoine Barker
>   |=.| |.-.|   Maximum Time, Inc
>   |--| ||$SEND||   Chicago Based Enterprise
>   |  | |'-'|   http://www.maximumtime.com
>   |__|~')_('

The xvidtune command will let you move the window around. After you get it
where you want it, record the settings and edit the xf86config file using the
new values. See man xvidtune. If you need more detail info let me know.

Charles






Re: [expert] linux equivalent of Partition Magic?

2000-12-04 Thread ai4a

Tom Berkley wrote:

> gnu parted is supposed to do the same as pm but i haven't
> used it yet so i can't yet say first hand. suspect its time
> to mess with it next time i get ready to try yet another
> distro 8-)
>
> tom berkley
>
>   
> Keep in touch with http://mandrakeforum.com:
> Subscribe the "[EMAIL PROTECTED]" mailing list.

Parted worked for me.
Charles





Keep in touch with http://mandrakeforum.com: 
Subscribe the "[EMAIL PROTECTED]" mailing list.