Re: [expert] Mandrake Timezone/Date Problems
On Sat, 22 Jun 2002, J. Craig Woods wrote: Yes, Ashley, that kind of solitude would be nice but you must ask yourself one very important question: can this person run a uname -a on his machine, and get the current system time to be in the output? *grin* You'll never let that go, will you? :P drjung -- J. Craig Woods UNIX/NT Network/System Administration http://www.trismegistus.net/resume.html Character is built upon the debris of despair --Emerson Ashley -- Ashley Reynolds [EMAIL PROTECTED] Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] pros and cons of mandrake
It's something you used to have to do on Windows disks. De-Fragment. When you write a lot of small files, then delete some of them, the allocation bitmap for the disk gets to look like a swiss cheese -- lots of little holes. The little holes get used for the next file(s) you write, and those files become fragmented. The net effect is that reading and writing files from a fragmented disk takes longer than from an un-fragmented disk, where the files are mostly contiguous. Sometimes a _lot_ longer for a really badly fragged disk. People used to sell utilities for de-frag'ing windows disks, for lots of money. Nowadays, it's cheaper not to bother... when a disk becomes fragged, you just throw it away and get a newer, bigger, cheaper, one... (;-) Rick um...whats defrag? Mark .. ya know.. it's for taking off the frag. Damian Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] pros and cons of mandrake
On Fri, 21 Jun 2002 03:19:23 -0400 Rick Thomas [EMAIL PROTECTED] wrote: It's something you used to have to do on Windows disks. De-Fragment. When you write a lot of small files, then delete some of them, the allocation bitmap for the disk gets to look like a swiss cheese -- lots of little holes. The little holes get used for the next file(s) you write, and those files become fragmented. The net effect is that reading and writing files from a fragmented disk takes longer than from an un-fragmented disk, where the files are mostly contiguous. Sometimes a _lot_ longer for a really badly fragged disk. People used to sell utilities for de-frag'ing windows disks, for lots of money. Nowadays, it's cheaper not to bother... when a disk becomes fragged, you just throw it away and get a newer, bigger, cheaper, one... (;-) Rick uhmm.. you forgot to explain external frag, that one is only the internal. ;o) Damian Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[expert] Graphical login after kde3 upg
Hallo! I've removed Kde 2.2.2 and installed Mandrake's Kde 3.01 (/usr), but I can no longer get to the graphical login. It's trying to get to it continuosly (screen blinks), and I cannot get to a console using ctrl+alt+f1 (or 2, 3, 4). The only thing I can do is to press ctrl+alt+supr and to enter in safe mode - text only. If I start in maintenance mode, normal boot without X I can then use startx with no problem. I've also removed (with --nodeps) kdebase and reinstalled it. I thought that graphical login was in there... 8-? After reboot I've done the same with gnome-core with no luck. Help is appreciated. Here's my /etc/sysconfig/desktop file: DESKTOP=Gnome I've also tryed the following /etc/sysconfig/desktop content: DISPLAYMANAGER=kdm Thanks! ;) -- Joan Tur. Eivissa-Balears AOL quini2k ICQ 11407395 www.ClubIbosim.org Linux: usuari registrat 190.783 Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Shell script not performing an export
Thanks for the reply. Although I did not understand your last paragraph, I did learn a few things from your example. I did get all of the values and the variables were gone when the script ended. Maybe I have been confused all along. Here is my file: #!/bin/sh PALMTOPCENTERDIR=/opt/Qtopia/qtopiadesktop QTDIR=/usr/local/qt PATH=$PATH:$PALMTOPCENTERDIR/:$PALMTOPCENTERDIR/lib LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$QTDIR/lib:$PALMTOPCENTERDIR/:$PALMTOPCENTERDIR/lib export QTDIR PALMTOPCENTERDIR PATH LD_LIBRARY_PATH I expected the variables to retain the new values when the script ends. So, I open a terminal from KDE desktop, run the script, do some work, and close the terminal. Except that the new values only exist for whatever process runs from that particular shell. The question then is, can this be done? Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Graphical login after kde3 upg
On Sun, 2002-06-23 at 05:25, Joan Tur wrote: Here's my /etc/sysconfig/desktop file: DESKTOP=Gnome This particular file/setting determines which display manager to use, either kdm or gdm. You are obviously set to use the Gnome display manager, gdm. Change it to say KDE and it will use kdm instead. As for your actual problem, I don't really have any advice except to check /var/log/message and to run dmesg, which shows messages from the last time you booted your system. This could help if your system is generating any errors at the hardware/driver level. -- Dave Sherman Do not meddle in the affairs of dragons, MCSE, MCSA, CCNA for you are crunchy, and good with ketchup. lynx -source http://sildara.dyndns.org/davepub.asc | gpg --import signature.asc Description: This is a digitally signed message part
Re: [expert] Shell script not performing an export
On Saturday 22 Jun 2002 22:48, Jesus Arocho wrote: Thanks for the reply. Although I did not understand your last paragraph, I did learn a few things from your example. I did get all of the values and the variables were gone when the script ended. Maybe I have been confused all along. Here is my file: #!/bin/sh PALMTOPCENTERDIR=/opt/Qtopia/qtopiadesktop QTDIR=/usr/local/qt PATH=$PATH:$PALMTOPCENTERDIR/:$PALMTOPCENTERDIR/lib LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$QTDIR/lib:$PALMTOPCENTERDIR/:$PALMTOP CENTERDIR/lib export QTDIR PALMTOPCENTERDIR PATH LD_LIBRARY_PATH I expected the variables to retain the new values when the script ends. So, I open a terminal from KDE desktop, run the script, do some work, and close the terminal. Except that the new values only exist for whatever process runs from that particular shell. The question then is, can this be done? If you want them all the time, add those commands to ~/.bashrc, or if you want all users to access them, add them to /etc/profile. -- Mandrake Linux release 8.2 (Bluebird) for i586 AMD Athlon(tm) XP 1600+ 512MB Kernel: 2.4.18-6mdk-pnr-win4lin KDE: 3.0.1 Qt: 3.0.4 up 11 hours 18 minutes. ~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[expert] Ethernet binding?
Is it possible to install two or more ethernet cards in my server and get Mandrake to use them both on a single IP address in order to improve network throughput? Mark Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Ethernet binding?
You cant do that it would be like having two nics on a network with the same ip's but you can use two nic's and assign seperate ip's to each one. eth0 and eth0:0 If its mor throughput you want try checking to see if your runing full duplex. You can allways upgrade to fiber or gig ethernet On Star Date Sunday 23 June 2002 05:56 am, Mark Lucas sent this sub-space message. Is it possible to install two or more ethernet cards in my server and get Mandrake to use them both on a single IP address in order to improve network throughput? Mark Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[expert] PCMCIA Headaches
Hi All, I'm trying to get my Xircom CardBus RealPort 10/100 Ethernet Adapter working with Mandrake 8.2 on my Toshiba Satellite 2100CDS notebook computer. I am trying to use pcmcia-cs-3.1.31-5mdk.i586.rpm, the default package for Mandrake 8.2. However, after poking around in the BUGS file for the 3.1.34 release, I noticed this listed bug: o Xircom CardBus ethernet cards lock up some Toshiba laptops I now have a bunch of reports of this problem. While the Toshiba CardBus bridges are somewhat quirky, I haven't had a lot of reports of problems with the latest PCMCIA drivers, except for this issue. Now this obviously doesn't help me much at all! I have the PC Card setting in the BIOS set to CardBus/16bit, and have tried the other two settings, PCIC Compatible and Auto Selection, to no avail. cardmgr detects when I insert the PCMCIA card and begins to load the xirc2ps_cs then freezes. So, after playing with this for a while with no luck, I decided that I should try an earlier version, which perhaps was not plagued with this problem. I downloaded pcmcia-cs-3.1.21.tar.gz and after running an 'urpme pcmcia-cs' to get rid of the previous drivers, installed the new ones. Now, for starters, cardmgr is no longer loaded on boot, and I can't work out how to run it as a daemon whilst the system is up. I can however perform the following: modprobe yenta_socket modprobe ds modprobe xirc2ps_cs This seems to work, however, I don't know how to setup the eth0 interface post install to see if the card is working or not. Also, I might add that it works fine with Mandrake 8.1, which uses the kernel pcmcia-cs drivers. I would appreciate it if you could shed some light on the situation, and perhaps help me get my laptop up and running with access to my local network. Thanks in advance. Ashley -- Ashley Reynolds [EMAIL PROTECTED] Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] PCMCIA Headaches
Am Son, 2002-06-23 um 16.10 schrieb Ashley Reynolds: Hi All, I'm trying to get my Xircom CardBus RealPort 10/100 Ethernet Adapter working with Mandrake 8.2 on my Toshiba Satellite 2100CDS notebook computer. I am trying to use pcmcia-cs-3.1.31-5mdk.i586.rpm, the default package for Mandrake 8.2. Hi, i was playing around trying to set up a Netgear CardBus Card on a Toshiba 1700-400 laptop. After half a day I gave up. Luckily I had backed up all my data so I did a full reinstall and the card worked no problem. I know this more the M$-way of doing things, I just couldn't get the PCMCIA stuff configured by hand. Actually I am a little fed up with MDK concering PCMCIA network configuration. cardctl scheme xyz still refusese to work and I couldn't find any other way to cleanly set up different network configuration for different locations. Cheers, Jan Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Ethernet binding?
Bill wrote: You cant do that it would be like having two nics on a network with the same ip's but you can use two nic's and assign seperate ip's to each one. eth0 and eth0:0 Two NICs would give you eth0 and eth1. In Mandrake you can assign two or more data streams (IPs) to the one NIC, which sets them up as eth0:0 and eth0:1, and so on. -- Ron. [Melbourne, Australia] Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Ethernet binding?
On Sun, 23 Jun 2002, Mark Lucas wrote: Is it possible to install two or more ethernet cards in my server and get Mandrake to use them both on a single IP address in order to improve network throughput? There's a method called channel bonding that allows you to setup two nics to almost double your throughput. I don't the specifics, unfortunately but a Google search for Ethernet Channel Bonding returns quite a few hits. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
RE : [expert] PCMCIA Headaches
I got a Xircom on a MDK 8.0, it freezes sometimes. The best solution for me is to plug the card, but after the boot. During the boot it freezes. Francois -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Envoyé : dimanche 23 juin 2002 16:20 À : [EMAIL PROTECTED] Objet : Re: [expert] PCMCIA Headaches Am Son, 2002-06-23 um 16.10 schrieb Ashley Reynolds: Hi All, I'm trying to get my Xircom CardBus RealPort 10/100 Ethernet Adapter working with Mandrake 8.2 on my Toshiba Satellite 2100CDS notebook computer. I am trying to use pcmcia-cs-3.1.31-5mdk.i586.rpm, the default package for Mandrake 8.2. Hi, i was playing around trying to set up a Netgear CardBus Card on a Toshiba 1700-400 laptop. After half a day I gave up. Luckily I had backed up all my data so I did a full reinstall and the card worked no problem. I know this more the M$-way of doing things, I just couldn't get the PCMCIA stuff configured by hand. Actually I am a little fed up with MDK concering PCMCIA network configuration. cardctl scheme xyz still refusese to work and I couldn't find any other way to cleanly set up different network configuration for different locations. Cheers, Jan Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[expert] SSH and FTP logins taking much LONGER
Listmates: Over the past year, FTP and SSH logins are taking much longer. In the past FTP logins would take 2-3 seconds and SSH logins were almost instantaneous. Now both FTP and SSH logins take approximately 20 - 30 seconds. Uptime is 363 days and I haven't restarted either xinetd, FTP or SSH. Is there some kind of login history, or authentication log that could be causing the slowdows? Any other thoughts? -- David C. Rankin, J.D., P.E. RANKIN * BERTIN, PLLC 1329 N. University, Suite D4 Nacogdoches, Texas 75961 (936) 715-9333 (936) 715-9339 fax Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Instability: Athlon, mtrr, XFree86, 8.2, KDE3 - Solved ?
On Friday 21 June 2002 13:30, Tom Badran wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Saturday 22 Jun 2002 6:23 am, Hoyt wrote: Will a newer version of XFree86 help? Is the version in cooker (4.2.0-20-mdk) useable in 8.2? Dont know if it would help, but cooker packages have been recompiled with gcc 3.1 so you will get lots of screw ups if you try to use them with 8.2 which was all compiled with 2.96. Alot of the core libraries are no longer binary compatible so will break a large amount of software if you try to upgrade. I updated the XFree rpms with those from cooker without any apparent problems -- it hasn't crashed yet Now I need to crank up my AGP settings (currently AGP2x in the BIOS and AGP 1x in XF86Config-4) to see how it works. Then maybe I'll remove mem=nopentium. -- Hoyt http://www.maximumhoyt.com Fix it until it breaks. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] SSH and FTP logins taking much LONGER
Am Son, 2002-06-23 um 17.46 schrieb David Rankin: Listmates: Over the past year, FTP and SSH logins are taking much longer. In the past FTP logins would take 2-3 seconds and SSH logins were almost instantaneous. Now both FTP and SSH logins take approximately 20 - 30 seconds. Uptime is 363 days and I haven't restarted either xinetd, FTP or SSH. Is there some kind of login history, or authentication log that could be causing the slowdows? Any other thoughts? Do the logs say anything unusual? What FTP-Server? Maybe it's issue with your PAM-Configuration? Jan Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] GDM doesn't remember default/last desktop
Don't know it this will help but in /etc/syconconfig there is a file called desktop. Make sure that is set to GNOME not KDE. James On 22 Jun 2002 22:45:45 -0500 Dave Sherman [EMAIL PROTECTED] said with temporary authority Here's the situation: I am running Mandrake 8.1, mostly kept up to date through the MandrakeUpdate program. I was using kdm for my login manager, but Gnome for my desktop. The default was KDE, but I always let it use my last session, which was Gnome every time. I recently installed Ximian desktop, and replaced kdm with gdm for my login manager. I have two problems with gdm: 1. It refuses to remember my last session after rebooting (this is a laptop, so I reboot at least twice a day, when travelling from home to the office and back). Therefore if I forget to select Gnome the first time I login, I end up in KDE and must logout and then login again, selecting Gnome in the process. 2. It will not remember the default desktop if I change it to Gnome. After a reboot, it is always reset to default to KDE, which leaves me back at problem #1. Is this a known issue? I have run gdmconf a number of times, and it seems to accept my change to default the desktop to Gnome, but after rebooting it is always back to KDE again. -- Dave Sherman Do not meddle in the affairs of dragons, MCSE, MCSA, CCNA for you are crunchy, and good with ketchup. lynx -source http://sildara.dyndns.org/davepub.asc | gpg --import Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] pros and cons of mandrake
Rick Thomas wrote: It's something you used to have to do on Windows disks. De-Fragment. When you write a lot of small files, then delete some of them, the allocation bitmap for the disk gets to look like a swiss cheese -- lots of little holes. The little holes get used for the next file(s) you write, and those files become fragmented. The net effect is that reading and writing files from a fragmented disk takes longer than from an un-fragmented disk, where the files are mostly contiguous. Sometimes a _lot_ longer for a really badly fragged disk. People used to sell utilities for de-frag'ing windows disks, for lots of money. Nowadays, it's cheaper not to bother... when a disk becomes fragged, you just throw it away and get a newer, bigger, cheaper, one... (;-) Rick Um...yeah. we knew what it was. guess I should have prefaced that last remark with a special comment that let anyone else know that it was a sarcastic tongue-in-cheek question. Mark Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] SSH and FTP logins taking much LONGER
David Rankin wrote on Sun, Jun 23, 2002 at 10:46:43AM -0500 : Over the past year, FTP and SSH logins are taking much longer. In the past FTP logins would take 2-3 seconds and SSH logins were almost instantaneous. Now both FTP and SSH logins take approximately 20 - 30 seconds. Uptime is 363 days and I haven't restarted either xinetd, FTP FTP: is the system under heavy load? Forking ftp instances is not cheap, and if you're getting lots of hits, it will spend much time doing the forks. SSH: ssh is intelligent. If someone (or lots of someone's) are hitting your ssh server trying to guess passwords, or just exploit scripts hitting your box randomly, ssh will take longer to let the negotiation go through. It makes it more difficult to brute force passwords. Both: a 30 second or 60 second timeout is usually indicative of DNS issues. Look through /var/log/messages and see if ssh is spitting out warning messages like: Jun 23 11:33:39 t3cc sshd[11501]: Could not reverse map address xx.xxx.xxx.x. Jun 23 11:33:42 t3cc sshd[11501]: Accepted password for toddl from xx.xxx.xxx.x port 61297 ssh2 Even so, I only had about a 5 second timeout. Depending on the answer that comes back from a DNS server, it can be longer. Blue skies... Todd -- Todd Lyons -- MandrakeSoft, Inc. http://www.mandrakesoft.com/ UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things. -- Doug Gwyn Cooker Version mandrake-release-8.3-0.2mdk Kernel 2.4.18-19mdk msg55579/pgp0.pgp Description: PGP signature
Re: [expert] pros and cons of mandrake
On Fri, 21 Jun 2002 03:19:23 -0400 Rick Thomas [EMAIL PROTECTED] said with temporary authority It's something you used to have to do on Windows disks. De-Fragment. When you write a lot of small files, then delete some of them, the allocation bitmap for the disk gets to look like a swiss cheese -- lots of little holes. The little holes get used for the next file(s) you write, and those files become fragmented. The net effect is that reading and writing files from a fragmented disk takes longer than from an un-fragmented disk, where the files are mostly contiguous. Sometimes a _lot_ longer for a really badly fragged disk. People used to sell utilities for de-frag'ing windows disks, for lots of money. Nowadays, it's cheaper not to bother... when a disk becomes fragged, you just throw it away and get a newer, bigger, cheaper, one... (;-) Rick correct me if I'm wrong... (it happens a lot that I am, trust me I'm married, I know ) but the difference between vfat and ext2 is the way they write back a file. With vfat, say with a 4 gig partition and 2 gigs of data, it attempts to write the file back to the same space that it came from. If the file won't fit it then points to the remaining part written in the first available free space that will hold it. As single file could have 4, 5 or more fragments as it grows larger and larger. (it will maintain the existing fragments and create new ones as needed.) ext2 as I understand it looks at the original spot, determines if it will fit, and if not writes the changed file to a new location that has enough continuous space to hold the entire file. This minimizes fragmentation but does tend to have data all over the place. Aesthetically unpleasing but once a file is found in the map yields a faster read, and less fragments that despite theories to the contrary, do get lost. Now if you have 1.8 gigs of data on a 2 gig drive the ability to find free space is severely reduced. Maybe this is the problem in Alaska. The drive is too full. I don't know, but it is interesting how it happened and worth looking into for sure. James um...whats defrag? Mark .. ya know.. it's for taking off the frag. Damian Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Bug.... maybe maybe not.
daRcmaTTeR wrote on Sun, Jun 23, 2002 at 02:32:04PM -0400 : It's been my personal experience in the past 6 months that devfs is totally and completely the spawn of satan. I don't forsee any true Satan might like you, but I'm his favorite. -- a coworker usefullness coming from this particular part of Mandrake's inner workings other then LOTS of severe user frustration. personally I think IT should be forever scuttled and banned from the landscape of so wonderful an OS never to be seen or heard from againEVER! On a server where things don't change much, yes. On a desktop where external drives are being hotplugged via firewire and USB, it needs to be there or the functionality will not appear on the desktop without manual configuration. Usability is where it's headed folks, and making it usable without being a rocket scientist is what's required for your Grandmother, for you girlfriend's mom, for the kid down the street, etc. Blue skies... Todd (speaking only for himself, not in any official capacity) -- Todd Lyons -- MandrakeSoft, Inc. http://www.mandrakesoft.com/ UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things. -- Doug Gwyn Cooker Version mandrake-release-8.3-0.2mdk Kernel 2.4.18-19mdk msg55581/pgp0.pgp Description: PGP signature
Re: [expert] Bug.... maybe maybe not.
On Sun, 23 Jun 2002 14:32:04 -0400 daRcmaTTeR [EMAIL PROTECTED] wrote: IT should be forever scuttled and banned from the landscape of so wonderful an OS never to be seen or heard from againEVER! (as a result: there's no way they're taking it out now, especially if they read messages from people who don't like it) lol ;-P Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] pros and cons of mandrake
Damian G wrote: On Fri, 21 Jun 2002 03:19:23 -0400 Rick Thomas [EMAIL PROTECTED] wrote: It's something you used to have to do on Windows disks. De-Fragment. When you write a lot of small files, then delete some of them, the allocation bitmap for the disk gets to look like a swiss cheese -- lots of little holes. The little holes get used for the next file(s) you write, and those files become fragmented. The net effect is that reading and writing files from a fragmented disk takes longer than from an un-fragmented disk, where the files are mostly contiguous. Sometimes a _lot_ longer for a really badly fragged disk. People used to sell utilities for de-frag'ing windows disks, for lots of money. Nowadays, it's cheaper not to bother... when a disk becomes fragged, you just throw it away and get a newer, bigger, cheaper, one... (;-) Rick uhmm.. you forgot to explain external frag, that one is only the internal. ;o) Damian O! do tell!! Mark Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] pros and cons of mandrake
O! do tell!! Mark uhm.. [Foo_] let's say this is a harddrive, where: _ : blank space. F, oo : files 1 and 2. that drive would be in perfect state, right? all files stored neatly one after the other and the free space is all together at the end of the disk. now, this: [FFFooFoFooo_] this is called internal fragmentation. after a lot of changes in file sizes, chunks of files get mixed up, making a file read a slower process... file 1 and 2 are fragmented, but the free space is still kept together. a third situation is: [_F___ooo___] this is external fragmentation. here, the files are not fragmented ( no internal fragmentation) however, as a consequence of writing the files at random places on the disk, the free space gets scattered all over. this leads, most of the times to internal fragmentation, too. ( the next time you have to make a file you only have scattered bits of space to write it... ) and at last.. this: [_FoF__ooFoo_F_o__Fo] .this is a typical windows partition that has not beed defragged in a long time. both internal and external fragmentation occurs, both files and free space are a mess. i've also seen defrag tools for the RAM in windows.. ( fragmentation is not limited to harddrives. any modern operating system uses memory paging or segmentation and can suffer internal and external fragmentation in memory pages.. the same little sketches i made would apply, but change the file 1 and file 2 with process 1 and process 2 ) Damian PD: i like making useless explainations ;oP . sorry for a long post. anyhow i think this stuff is useful when you want to learn about and choose filesystems.. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] pros and cons of mandrake
Um...yeah. we knew what it was. guess I should have prefaced that last remark with a special comment that let anyone else know that it was a sarcastic tongue-in-cheek question. Mark too late! i already posted another one of my explainations! hehehe ;o) ...damn i can be irritating when i've got too much free time.. i'm goin for a cup of coffee and some fresh air before i make the honorable expert list hate me. Damian Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] GDM doesn't remember default/last desktop
Yes, I had already made that change in order to be able to use gdm in the first place. I should also point out that kdm works perfectly, remembering my last session, even though the default is still kde. As long as I log into Gnome, then I will get Gnome the next time -- even after a reboot. Also, for what it's worth, I ran into this problem a number of months ago when I did not have Ximian yet. I figured since I was running Gnome I might as well use gdm for my login manager. But after a week of screwing around with it, I gave up and went back to kdm because I knew that kdm *worked*. My only conclusion can be that Mandrake's version of gdm is flawed, and installing Ximian did not overcome the problem. Perhaps it is one of the startup scripts, overwriting any changes that are made to /etc/gdm/gdm.conf or some other file? Dave On Sun, 2002-06-23 at 12:58, James wrote: Don't know it this will help but in /etc/syconconfig there is a file called desktop. Make sure that is set to GNOME not KDE. James On 22 Jun 2002 22:45:45 -0500 Dave Sherman [EMAIL PROTECTED] said with temporary authority Here's the situation: I am running Mandrake 8.1, mostly kept up to date through the MandrakeUpdate program. I was using kdm for my login manager, but Gnome for my desktop. The default was KDE, but I always let it use my last session, which was Gnome every time. I recently installed Ximian desktop, and replaced kdm with gdm for my login manager. I have two problems with gdm: 1. It refuses to remember my last session after rebooting (this is a laptop, so I reboot at least twice a day, when travelling from home to the office and back). Therefore if I forget to select Gnome the first time I login, I end up in KDE and must logout and then login again, selecting Gnome in the process. 2. It will not remember the default desktop if I change it to Gnome. After a reboot, it is always reset to default to KDE, which leaves me back at problem #1. -- Dave Sherman Do not meddle in the affairs of dragons, MCSE, MCSA, CCNA for you are crunchy, and good with ketchup. lynx -source http://sildara.dyndns.org/davepub.asc | gpg --import signature.asc Description: This is a digitally signed message part
Re: [expert] Bug.... maybe maybe not.
James wrote: All, Got an interesting problem here. It concerns everyones favorite subject devfs ... I've done 12 installs so far with 8.2, on 10 of the boxes /dev/video1-4 where created without a problem on two of the boxes not there at all. So just for fun on one I reinstalled 8.2 4 times ( I use the auto-install from a disk so it's not as painful as it sounds.) 3 times it created the devs 1 time it didn't. Has anyone else noted this? Why I noticed is. 1. My companies product uses/looks for /dev/video 2. KDE crashes - in fact total video access is frozen. This seems to be occuring when these devs aren't on the box, and it happens frequently on them. Near as I can tell, when they are gone the box grabs any dev it can to use as the video device. (not sure on this so don't quote me.) The only way to fix it is to create the devices manually after having made sure that lilo has append devfs=nomount and I've booted this way. Is there any way to tell what the box is using instead of /dev/video if it doesn't create it? James James, It's been my personal experience in the past 6 months that devfs is totally and completely the spawn of satan. I don't forsee any true usefullness coming from this particular part of Mandrake's inner workings other then LOTS of severe user frustration. personally I think IT should be forever scuttled and banned from the landscape of so wonderful an OS never to be seen or heard from againEVER! Mark Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Hostname and postfix
J. Craig Woods wrote: civileme wrote: OK, first of all you did not need to touch a wizard. Those are designed for one-time setup which is why we call them wizards. They are not tools to be used for maintenance, and they make a lot of assumptions, as is appropriate for their target audience (NT administrators). Next, _default_ performance in postfix is to gethostname from the system and use that, which indicates that you don't need to do anything with postfix configuration. You need to change your hostname, and that's all. You can do that with MandrakeControlCenter or linuxconf, just remember to restart desktops or there will be problems. There IS a problem with this. Brain-dead anti-spam tools have your IP on a DUL (dial-up-list) and that's one strike. Strike two+three is when they cannot authenticate your transmission name to an IP address, so a lot of mailservers won't relay your mail and some will reject it because it doesn't authenticate. There is a way around that, but it co$t$ money, at least $4/year. That is, since you have the domain name registered, you need the registered name pointed to a DNS server which will resolve to your (current) IP. Your machine can find and transmit its IP to the DNS server with a short script, and can update every 5 minutes in case you have a break in service and your IP address changes with the reconnection. The most reasonable place to have this service (that I have found) is www.whyi.org. He used to offer this service for free (as yi.org) but now he has costs to cover, so $4/year. I just finished a script that does something very similar, it transmits an IP address from a local machine to a remote ftp where the user has write access, like one of the free website places. It was to allow people on the road to reach their home computer through the internet by snatching the current IP address from a stable site and using it to address their own computer at home, through http or ssh or whatever it is running. It should be available to Mandrake Club members shortly. Civileme As I have watched and read this thread over the months that Praedor has been posting it, and re-wording it, I have come to the conclusion that his problem has nothing whatsoever to do with any MTA, be it a sendmail or a postfix setup issue. While you are right, Civ, about how to get the MTA to work, the first *MOST* basic thing that must be done, for most everything you will do with a server (including the ability to send and receive email with your own privately running MTA), is to give your box a FQDN. I know everybody is now shaking their heads, saying no shit doc, this is a no brainer! But read Praedor's mail carefully or go back for his earlier postings. The ability to give his server a FQDN is the *ONE* task he cannot complete. For some unknown reasons, when he attempts to give his box a name, other than the localhost.localdomain, his machine becomes foobarred to the max. Praedor, you need to help us understand why you can not complete the simple task of naming a machine. Maybe you can send us some log file entries that give us specific errors messages... drjung drjung, may he hasn't thought of one that he likes yet. maybe it's something unconcious about the name that screws everthing up. maybe it's something freudian. maybe I just have too much time on my hands and I'm full of shit! ;) Mark a.k.a. daRcmaTTeR Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Error from apache update on 8.1
On Sat Jun 22, 2002 at 02:05:17PM +0800, Bill Kenworthy wrote: This is because it tries to restart apache (via AESctl) with the old mod_perl still installed... you'll notice that after mod_perl gets installed, the error goes away. In short, this is nothing to worry about. I assume that your webserver, after the upgrade was complete, works fine... and that you don't get the error anymore. If you want to do the upgrade without seeing any errors, shutdown apache first, upgrade, then start it up. You won't see this error. However, the error doesn't cause any problems, it just looks ugly. Just installed the apache updates on 8.1 and got the following 3 errors occurred (the web server just has a few simple pages on a local lan and appears to be working): []# rpm -Fvh /home/rpm/cd/updates/* Preparing...### [100%] 1:apache-common ### [ 16%] 2:apache-manual ### [ 33%] 3:apache-modules ### [ 50%] 4:apache ### [ 66%] Shutting down httpd-perl: [ OK ] Shutting down httpd: [ OK ] Checking configuration sanity for httpd: [ OK ] Checking configuration sanity for httpd-perl: Syntax error on line 21 of /etc/httpd/conf/httpd-perl.conf: Cannot load /etc/httpd/modules/mod_log_config.so into server: /etc/httpd/modules/mod_log_config.so: undefined symbol: ap_escape_logitem [FAILED] Starting httpd-perl: Syntax error on line 21 of /etc/httpd/conf/httpd-perl.conf: Cannot load /etc/httpd/modules/mod_log_config.so into server: /etc/httpd/modules/mod_log_config.so: undefined symbol: ap_escape_logitem [FAILED] Starting httpd: [ OK ] Syntax error on line 21 of /etc/httpd/conf/httpd-perl.conf: Cannot load /etc/httpd/modules/mod_log_config.so into server: /etc/httpd/modules/mod_log_config.so: undefined symbol: ap_escape_logitem [FAILED] Syntax error on line 21 of /etc/httpd/conf/httpd-perl.conf: Cannot load /etc/httpd/modules/mod_log_config.so into server: /etc/httpd/modules/mod_log_config.so: undefined symbol: ap_escape_logitem [FAILED] 5:mod_perl-common### [ 83%] 6:apache-mod_perl### [100%] Shutting down httpd: [ OK ] Checking configuration sanity for httpd: [ OK ] Checking configuration sanity for httpd-perl: [ OK ] Starting httpd-perl: [ OK ] Starting httpd: [ OK ] []# Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com -- MandrakeSoft Security; http://www.mandrakesecure.net/ lynx -source http://www.freezer-burn.org/bios/vdanen.gpg | gpg --import 1024D/FE6F2AFD 88D8 0D23 8D4B 3407 5BD7 66F9 2043 D0E5 FE6F 2AFD Current Linux kernel 2.4.18-6.10mdk uptime: 15 days 15 hours 55 minutes. msg55589/pgp0.pgp Description: PGP signature
Re: [expert] Qmail auto-forward?
On Tue Jun 18, 2002 at 12:34:52PM -0400, Barry Michels wrote: Is there a way to get qmail to automatically forward everything it receives? I would like qmail to get the incoming mail and pass it on, unaltered to our Exchange Server. Hopefully without adding all the user accounts to our Linux box. Eventually, I would have qmail filter the mail before passing it on, but first things first... Having qmail filter the mail and then pass it on might be a little problematic (read: not as easy to setup). Simply passing it on is simple. Make sure the domain you want to receive for is in /var/qmail/control/rcpthosts and then make a /var/qmail/control/smtproutes file which contains: domain:destination In other words, if you want all mail to foo.com to go to the IP 10.0.0.28, you would use: foo.com:10.0.0.28 in your smtproutes file. Restart qmail and it should work fine. -- MandrakeSoft Security; http://www.mandrakesecure.net/ lynx -source http://www.freezer-burn.org/bios/vdanen.gpg | gpg --import 1024D/FE6F2AFD 88D8 0D23 8D4B 3407 5BD7 66F9 2043 D0E5 FE6F 2AFD Current Linux kernel 2.4.18-6.10mdk uptime: 15 days 15 hours 58 minutes. msg55590/pgp0.pgp Description: PGP signature
Re: [expert] pros and cons of mandrake
fragmentation in memory pages.. the same little sketches i made would apply, but change the file 1 and file 2 with process 1 and process 2 ) I doubt that's a serious issue. It's kind of silly, really, since any portion of RAM is just as quickly issued as any other. But this is virtual memory (modern OSes) we're discussing. And virtual memory is viewed simplistically as having some memory on some other media (i.e., a swap partition). That is only one aspect of it. In reality, virtual memory means that a process residing at some address N need not really reside at address N on the RAM chips. Realisically, N is only an offset which is maintained by the processor, with the OSes help. One might be able to find out where a process resides physically in the RAM if it starts at address 1 and continues to address 2, but it would be kind of pointless. And, if the process is larger than a page of memory (4K) then one page might be located way away from the others. In fact, in a continually running system, it's practically guaranteed that this is the case. So you end up with something like: .12221 ..1..3...3 ..3.11 . . 3.332...1 .2.22. The 1,2,3 etc. represent processes, of course. As far as the process (is concerned, process 1 occupies continuous virtual addresses starting at 1 for instance. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Hostname and postfix
daRcmaTTeR wrote: J. Craig Woods wrote: Praedor, you need to help us understand why you can not complete the simple task of naming a machine. Maybe you can send us some log file entries that give us specific errors messages... drjung drjung, may he hasn't thought of one that he likes yet. maybe it's something unconcious about the name that screws everthing up. maybe it's something freudian. maybe I just have too much time on my hands and I'm full of shit! ;) Mark a.k.a. daRcmaTTeR Hmmm, yes, Mark, you just might be right about all your suppositions except one: it seems to be a more jungian issue than a freudian issue. I would surmise that his libido is not the source of his problem but it is very possible that there is an enery blockage at a deeper level, most likely at the collective unconcsious level. Now, I ask you, who has too much fucking time on his hands, and it's ticking away... drjung -- J. Craig Woods UNIX/NT Network/System Administration http://www.trismegistus.net/resume.html Character is built upon the debris of despair --Emerson Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Hostname and postfix
On Sun, 23 Jun 2002 15:23:15 -0500 J. Craig Woods [EMAIL PROTECTED] said with temporary authority daRcmaTTeR wrote: J. Craig Woods wrote: Praedor, you need to help us understand why you can not complete the simple task of naming a machine. Maybe you can send us some log file entries that give us specific errors messages... drjung drjung, may he hasn't thought of one that he likes yet. maybe it's something unconcious about the name that screws everthing up. maybe it's something freudian. maybe I just have too much time on my hands and I'm full of shit! ;) Mark a.k.a. daRcmaTTeR Hmmm, yes, Mark, you just might be right about all your suppositions except one: it seems to be a more jungian issue than a freudian issue. I would surmise that his libido is not the source of his problem but it is very possible that there is an enery blockage at a deeper level, most likely at the collective unconcsious level. Now, I ask you, who has too much fucking time on his hands, and it's ticking away... drjung Note to self: go to ebay buy hip waders. James *grin* -- J. Craig Woods UNIX/NT Network/System Administration http://www.trismegistus.net/resume.html Character is built upon the debris of despair --Emerson Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] question recompiling kernel
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] pros and cons of mandrake
Damian G wrote: O! do tell!! Mark uhm.. [Foo_] let's say this is a harddrive, where: _ : blank space. F, oo : files 1 and 2. that drive would be in perfect state, right? all files stored neatly one after the other and the free space is all together at the end of the disk. now, this: [FFFooFoFooo_] this is called internal fragmentation. after a lot of changes in file sizes, chunks of files get mixed up, making a file read a slower process... file 1 and 2 are fragmented, but the free space is still kept together. a third situation is: [_F___ooo___] this is external fragmentation. here, the files are not fragmented ( no internal fragmentation) however, as a consequence of writing the files at random places on the disk, the free space gets scattered all over. this leads, most of the times to internal fragmentation, too. ( the next time you have to make a file you only have scattered bits of space to write it... ) and at last.. this: [_FoF__ooFoo_F_o__Fo] .this is a typical windows partition that has not beed defragged in a long time. both internal and external fragmentation occurs, both files and free space are a mess. i've also seen defrag tools for the RAM in windows.. ( fragmentation is not limited to harddrives. any modern operating system uses memory paging or segmentation and can suffer internal and external fragmentation in memory pages.. the same little sketches i made would apply, but change the file 1 and file 2 with process 1 and process 2 ) Damian PD: i like making useless explainations ;oP . sorry for a long post. anyhow i think this stuff is useful when you want to learn about and choose filesystems.. Damian, That was actually interesting. I hadn't known that before. tanks mang! Mark Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Hostname and postfix
OK, I want to change the name of my laptop from the default localhost.localdomain to lapdog.ravenhome.net. Looking at the manpage for hostname, it mentions: /etc/init.d/boot, /etc/hostname, and /etc/rc.d/rc.inet1 as where/how hostname is set. Uh-uh! Does not does not! There exists no /etc/rc.d/rc.inet1, nor /etc/boot, nor /etc/hostname on my system so either Mandrake has substantially deviated from the norm or the manpage is hopelessly bogus and to be eradicated from the face of the earth. To quote the manpage: The host name is usually set once at system startup in /etc/rc.d/rc.inet1 or /etc/init.d/boot (normally by read ing the contents of a file which contains the host name, e.g. /etc/hostname). What a crock. So, how does the hostname REALLY get set? Not by any of the methods in the manpage for hostname, that's for sure. What config file is to be edited so that when the laptop boots up it identifies itself as lapdog.ravenhome.net and the prompt on my konsole says [praedor@lapdog]# instead of [praedor@localhost]# without dicking up anything running on my system? As I previously wrote, ANY attempt to change my hostname in the past has led to a number of things going tits up such that I always had to go back to the default localhost. Question...since I own ravenhome.net, I AM able to simply and without difficulty name my machines lapdog.ravenhome.net and overlord.ravenhome.net yes? praedor On Sunday 23 June 2002 01:28 pm, daRcmaTTeR wrote: J. Craig Woods wrote: civileme wrote: OK, first of all you did not need to touch a wizard. Those are designed for one-time setup which is why we call them wizards. They are not tools to be used for maintenance, and they make a lot of assumptions, as is appropriate for their target audience (NT administrators). Next, _default_ performance in postfix is to gethostname from the system and use that, which indicates that you don't need to do anything with postfix configuration. You need to change your hostname, and that's all. You can do that with MandrakeControlCenter or linuxconf, just remember to restart desktops or there will be problems. There IS a problem with this. Brain-dead anti-spam tools have your IP on a DUL (dial-up-list) and that's one strike. Strike two+three is when they cannot authenticate your transmission name to an IP address, so a lot of mailservers won't relay your mail and some will reject it because it doesn't authenticate. There is a way around that, but it co$t$ money, at least $4/year. That is, since you have the domain name registered, you need the registered name pointed to a DNS server which will resolve to your (current) IP. Your machine can find and transmit its IP to the DNS server with a short script, and can update every 5 minutes in case you have a break in service and your IP address changes with the reconnection. The most reasonable place to have this service (that I have found) is www.whyi.org. He used to offer this service for free (as yi.org) but now he has costs to cover, so $4/year. I just finished a script that does something very similar, it transmits an IP address from a local machine to a remote ftp where the user has write access, like one of the free website places. It was to allow people on the road to reach their home computer through the internet by snatching the current IP address from a stable site and using it to address their own computer at home, through http or ssh or whatever it is running. It should be available to Mandrake Club members shortly. Civileme As I have watched and read this thread over the months that Praedor has been posting it, and re-wording it, I have come to the conclusion that his problem has nothing whatsoever to do with any MTA, be it a sendmail or a postfix setup issue. While you are right, Civ, about how to get the MTA to work, the first *MOST* basic thing that must be done, for most everything you will do with a server (including the ability to send and receive email with your own privately running MTA), is to give your box a FQDN. I know everybody is now shaking their heads, saying no shit doc, this is a no brainer! But read Praedor's mail carefully or go back for his earlier postings. The ability to give his server a FQDN is the *ONE* task he cannot complete. For some unknown reasons, when he attempts to give his box a name, other than the localhost.localdomain, his machine becomes foobarred to the max. Praedor, you need to help us understand why you can not complete the simple task of naming a machine. Maybe you can send us some log file entries that give us specific errors messages... drjung drjung, may he hasn't thought of one that he likes yet. maybe it's something unconcious about the name that screws everthing up. maybe it's something freudian. maybe I just have too much time on my hands and I'm full of shit! ;)
Re: [expert] Hostname and postfix
James wrote: On Sun, 23 Jun 2002 15:23:15 -0500 J. Craig Woods [EMAIL PROTECTED] said with temporary authority daRcmaTTeR wrote: J. Craig Woods wrote: Praedor, you need to help us understand why you can not complete the simple task of naming a machine. Maybe you can send us some log file entries that give us specific errors messages... drjung drjung, may he hasn't thought of one that he likes yet. maybe it's something unconcious about the name that screws everthing up. maybe it's something freudian. maybe I just have too much time on my hands and I'm full of shit! ;) Mark a.k.a. daRcmaTTeR Hmmm, yes, Mark, you just might be right about all your suppositions except one: it seems to be a more jungian issue than a freudian issue. I would surmise that his libido is not the source of his problem but it is very possible that there is an enery blockage at a deeper level, most likely at the collective unconcsious level. Now, I ask you, who has too much fucking time on his hands, and it's ticking away... drjung Note to self: go to ebay buy hip waders. James *grin* James? isn't that like closing the bard door *after* the cows have all left the barn? Mark Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] question recompiling kernel
jerry wrote on Sun, Jun 23, 2002 at 07:58:10AM -0600 : Also, when recompiling with ALSA (sound) durring which part of kernel compilation do you configure alsa? (ie... between make config and make dep? between make dep and make clean? before any of it... after kernel's done... etc..) I get error messages if i ./configure --with-card=(mycard) before i start the kernel compilation so i'm pretty sure i don't do it first, but not sure then when to use it. If you are recompiling Mandrake kernel sources, you need to do a 'make mrproper' first. The reason for this is the state the kernel sources are left to be packaged and distributed. If you are using a linus kernel, then this doesn't apply to you. My normal compile is: make distclean menuconfig dep clean modules modules_install bzlilo This is equivalent to: make distclean make menuconfig make dep make clean make \ modules make modules_install make bzlilo Blue skies... Todd -- Todd Lyons -- MandrakeSoft, Inc. http://www.mandrakesoft.com/ UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things. -- Doug Gwyn Cooker Version mandrake-release-8.3-0.2mdk Kernel 2.4.18-20mdk msg55598/pgp0.pgp Description: PGP signature
Re: [expert] Hostname and postfix
Praedor Tempus wrote on Sun, Jun 23, 2002 at 04:18:14PM -0500 : OK, I want to change the name of my laptop from the default localhost.localdomain to lapdog.ravenhome.net. Looking at the manpage for hostname, it mentions: /etc/init.d/boot, /etc/hostname, and /etc/rc.d/rc.inet1 as where/how hostname is set. Uh-uh! Does not does not! vi /etc/sysconfig/network HOSTNAME=lapdog.ravenhome.net DOMAINNAME=ravenhome.net Note that you either need to have: 1) a DNS server that returns authoritative info for the ravenhome.net domain, especially the host lapdog. If you are using 192.168.* or 10.* or 172.16/20 IP addresses, then you need to have a nameserver that provides different answers based on where the name query originates from. -OR- 2) Configure it in /etc/hosts of all machines that need to access it directly. Blue skies... Todd -- Todd Lyons -- MandrakeSoft, Inc. http://www.mandrakesoft.com/ UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things. -- Doug Gwyn Cooker Version mandrake-release-8.3-0.2mdk Kernel 2.4.18-20mdk msg55599/pgp0.pgp Description: PGP signature
Re: [expert] question recompiling kernel
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) hope that helps. On Sun, 23 Jun 2002 17:02:26 -0400 ai4a [EMAIL PROTECTED] wrote: 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] Bug.... maybe maybe not.
On Sunday 23 June 2002 04:26 pm, daRcmaTTeR wrote: jerry wrote: On Sun, 23 Jun 2002 14:32:04 -0400 daRcmaTTeR [EMAIL PROTECTED] wrote: IT should be forever scuttled and banned from the landscape of so wonderful an OS never to be seen or heard from againEVER! (as a result: there's no way they're taking it out now, especially if they read messages from people who don't like it) lol ;-P well...to be totally honest I do see its need and usefulness, however I've been so blessed as to have had the privilege to *not* have had a good experience with the little bugger. it doesn't like my Handspring Visor. :( It also doesn't like the winmodem in my laptop (but then, who LIKES winmodems?). I am happily using the winmodem as a linmodem using the ltmodem drivers. Works great. Problem is, it is but a passing thing since installing 8.2. In Mandrake 8.1, I also had the ltmodem driver installed and working - and it was permanent. It worked with every bootup and login. Since installing 8.2, however, I have to manually remove the system's insistent retardation of setting /dev/modem - /dev/ttyS0 -/dev/tts/0. This does not exist on my system yet devfs does it every time. Upon bootup, I have to rm -f /dev/modem and then rerun the ltmodem checkout script to get the symlink to point to /dev/tts/LT0, created for devfs by same script. Unfortunately, the script is interactive so I cannot simply put it in /etc/rc.d or other and have it work every bootup. In a word, devfs SUCKS. Always has, always will. The end. praedor Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Bug.... maybe maybe not.
jerry wrote: On Sun, 23 Jun 2002 14:32:04 -0400 daRcmaTTeR [EMAIL PROTECTED] wrote: IT should be forever scuttled and banned from the landscape of so wonderful an OS never to be seen or heard from againEVER! (as a result: there's no way they're taking it out now, especially if they read messages from people who don't like it) lol ;-P well...to be totally honest I do see its need and usefulness, however I've been so blessed as to have had the privilege to *not* have had a good experience with the little bugger. it doesn't like my Handspring Visor. :( Mark Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Bug.... maybe maybe not.
James wrote on Sun, Jun 23, 2002 at 12:43:38PM -0700 : Where I don't dispute the intent I'm having fits with the results. Oh and for my camera and my usb printer. They haven't changed functionality since I got rid of devfs. Maybe because devfs set them up at first. I'm just getting tired of rebooting Linux. Have you tried just changing to single user mode, then back to your regular mode? Many times changing runlevels will fix some oddities (but not always). You might have to go one step further and remove some modules so that when you switch back to runlevel 3 (text login) or 5 (graphical login), it will load the required modules back. If something is funky with the modules in kernel-space though, you might get the busy error message. The only advice I can offer is remove the modules in opposite order that they are dependent. For example, in the following: sg 30180 0 (autoclean) (unused) st 27316 0 (autoclean) (unused) sr_mod 15160 0 (autoclean) (unused) sd_mod 11644 0 (autoclean) (unused) scsi_mod 92488 4 (autoclean) [sg st sr_mod sd_mod] I won't be able to remove scsi_mod first. I would have to rmmod sg, then st, then sr_mod, then sd_mod. Only then would I be able to remove scsi_mod. Blue skies... Todd -- Todd Lyons -- MandrakeSoft, Inc. http://www.mandrakesoft.com/ UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things. -- Doug Gwyn Cooker Version mandrake-release-8.3-0.2mdk Kernel 2.4.18-20mdk msg55603/pgp0.pgp Description: PGP signature
Re: [expert] Hostname and postfix
Todd Lyons wrote: Praedor Tempus wrote on Sun, Jun 23, 2002 at 04:18:14PM -0500 : OK, I want to change the name of my laptop from the default localhost.localdomain to lapdog.ravenhome.net. Looking at the manpage for hostname, it mentions: /etc/init.d/boot, /etc/hostname, and /etc/rc.d/rc.inet1 as where/how hostname is set. Uh-uh! Does not does not! vi /etc/sysconfig/network HOSTNAME=lapdog.ravenhome.net DOMAINNAME=ravenhome.net Note that you either need to have: 1) a DNS server that returns authoritative info for the ravenhome.net domain, especially the host lapdog. If you are using 192.168.* or 10.* or 172.16/20 IP addresses, then you need to have a nameserver that provides different answers based on where the name query originates from. -OR- 2) Configure it in /etc/hosts of all machines that need to access it directly. I think Praedor has seen all these answers before but I am not sure if he is following all the steps. Try the above again, and do not forget to *add* (not replace) to file /etc/hosts the fqdn. Maybe this time, if it does not work, you can provide us with specific error msgs in your logs. Go get em, tiger drjung -- J. Craig Woods UNIX/NT Network/System Administration http://www.trismegistus.net Art is the illusion of spontaneity Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Bug.... maybe maybe not.
Praedor Tempus wrote on Sun, Jun 23, 2002 at 04:33:49PM -0500 : Since installing 8.2, however, I have to manually remove the system's insistent retardation of setting /dev/modem - /dev/ttyS0 -/dev/tts/0. This does not exist on my system yet devfs does it every time. rm -f /lib/dev-state/modem One of the things that devfsd does when it boots up is that it restores the contents of /lib/dev-state/* to /dev/. Remove that file (symlink actually) and it will quit putting it in /dev. Then when you load the lucent module, it will register with devfs which will then create the LT* device(s) you need. Blue skies... Todd -- Todd Lyons -- MandrakeSoft, Inc. http://www.mandrakesoft.com/ UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things. -- Doug Gwyn Cooker Version mandrake-release-8.3-0.2mdk Kernel 2.4.18-20mdk msg55605/pgp0.pgp Description: PGP signature
Re: [expert] question recompiling kernel
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) hope that helps. On Sun, 23 Jun 2002 17:02:26 -0400 ai4a [EMAIL PROTECTED] wrote: 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 Someone is sure to point out that make mrproper is advisable before any version of make config. To get that ALS4000 to work with the current ALSA drivers, you are going to need some options lines in /etc/modules.conf It is a very very poor support that ALSA offers for that card at the moment (8.1 played it out of the box). Civileme Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Instability: Athlon, mtrr, XFree86, 8.2, KDE3 - Solved ?
On Sunday 23 June 2002 15:52, James wrote: Now I need to crank up my AGP settings (currently AGP2x in the BIOS and AGP 1x in XF86Config-4) to see how it works. Then maybe I'll remove mem=nopentium. Maybe it will solve my troubles too h yep time to fix it till it breaks *grin* James AGP 4x works OK. I also noticed that the XFree86 upgrade replaced the official Matrox drivers with the XFree mga drivers. sigh One more thing to evaluate. -- Hoyt http://www.maximumhoyt.com Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] PCMCIA Headaches
On Sun, 23 Jun 2002, Ashley Reynolds wrote: Hi All, I'm trying to get my Xircom CardBus RealPort 10/100 Ethernet Adapter working with Mandrake 8.2 on my Toshiba Satellite 2100CDS notebook computer. I am trying to use pcmcia-cs-3.1.31-5mdk.i586.rpm, the default package for Mandrake 8.2. However, after poking around in the BUGS file for the 3.1.34 release, I noticed this listed bug: o Xircom CardBus ethernet cards lock up some Toshiba laptops I now have a bunch of reports of this problem. While the Toshiba CardBus bridges are somewhat quirky, I haven't had a lot of reports of problems with the latest PCMCIA drivers, except for this issue. Now this obviously doesn't help me much at all! I have the PC Card setting in the BIOS set to CardBus/16bit, and have tried the other two settings, PCIC Compatible and Auto Selection, to no avail. cardmgr detects when I insert the PCMCIA card and begins to load the xirc2ps_cs then freezes. So, after playing with this for a while with no luck, I decided that I should try an earlier version, which perhaps was not plagued with this problem. I downloaded pcmcia-cs-3.1.21.tar.gz and after running an 'urpme pcmcia-cs' to get rid of the previous drivers, installed the new ones. Now, for starters, cardmgr is no longer loaded on boot, and I can't work out how to run it as a daemon whilst the system is up. I can however perform the following: modprobe yenta_socket modprobe ds modprobe xirc2ps_cs This seems to work, however, I don't know how to setup the eth0 interface post install to see if the card is working or not. Also, I might add that it works fine with Mandrake 8.1, which uses the kernel pcmcia-cs drivers. I would appreciate it if you could shed some light on the situation, and perhaps help me get my laptop up and running with access to my local network. Thanks in advance. I got thinking again. Is there some way to updgrade 8.1 to 8.2 and still retain 8.1's method of handling PCMCIA devices? Or perhaps downgrade the 8.2 kernel to 8.1's, remove pcmcia-cs, and use the kernel drivers? Ashley -- Ashley Reynolds [EMAIL PROTECTED] Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] pros and cons of mandrake
James wrote: On Fri, 21 Jun 2002 03:19:23 -0400 Rick Thomas [EMAIL PROTECTED] said with temporary authority It's something you used to have to do on Windows disks. De-Fragment. When you write a lot of small files, then delete some of them, the allocation bitmap for the disk gets to look like a swiss cheese -- lots of little holes. The little holes get used for the next file(s) you write, and those files become fragmented. The net effect is that reading and writing files from a fragmented disk takes longer than from an un-fragmented disk, where the files are mostly contiguous. Sometimes a _lot_ longer for a really badly fragged disk. People used to sell utilities for de-frag'ing windows disks, for lots of money. Nowadays, it's cheaper not to bother... when a disk becomes fragged, you just throw it away and get a newer, bigger, cheaper, one... (;-) Rick correct me if I'm wrong... (it happens a lot that I am, trust me I'm married, I know ) but the difference between vfat and ext2 is the way they write back a file. With vfat, say with a 4 gig partition and 2 gigs of data, it attempts to write the file back to the same space that it came from. If the file won't fit it then points to the remaining part written in the first available free space that will hold it. As single file could have 4, 5 or more fragments as it grows larger and larger. (it will maintain the existing fragments and create new ones as needed.) ext2 as I understand it looks at the original spot, determines if it will fit, and if not writes the changed file to a new location that has enough continuous space to hold the entire file. This minimizes fragmentation but does tend to have data all over the place. Aesthetically unpleasing but once a file is found in the map yields a faster read, and less fragments that despite theories to the contrary, do get lost. Now if you have 1.8 gigs of data on a 2 gig drive the ability to find free space is severely reduced. Maybe this is the problem in Alaska. The drive is too full. I don't know, but it is interesting how it happened and worth looking into for sure. James um...whats defrag? Mark .. ya know.. it's for taking off the frag. Damian Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Turns out, this fellow never responded. I have reproduced the fragging by deliberately doing a no-no, removing the reserve and then using a modified version of my filesystem exerciser that creates files of random size between 2k and 800K (modified to fill the filesystem 90%) then expands them in place. Now ext2 will automatically fragment large files where a single block cannot contain the whole file, so an older ext2 version without support for sparse superblocks might show some fragmentation on big files first time With the reserved blocks at a healthy setting, the fragmentation doesn't happen in the same way. That's odd. It appears they are fair game for a scratch area. Civileme Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Bug.... maybe maybe not.
On Sun, 23 Jun 2002 11:40:20 -0700 Todd Lyons [EMAIL PROTECTED] said with temporary authority daRcmaTTeR wrote on Sun, Jun 23, 2002 at 02:32:04PM -0400 : It's been my personal experience in the past 6 months that devfs is totally and completely the spawn of satan. I don't forsee any true Satan might like you, but I'm his favorite. -- a coworker usefullness coming from this particular part of Mandrake's inner workings other then LOTS of severe user frustration. personally I think IT should be forever scuttled and banned from the landscape of so wonderful an OS never to be seen or heard from againEVER! On a server where things don't change much, yes. On a desktop where external drives are being hotplugged via firewire and USB, it needs to be there or the functionality will not appear on the desktop without manual configuration. Usability is where it's headed folks, and making it usable without being a rocket scientist is what's required for your Grandmother, for you girlfriend's mom, for the kid down the street, etc. Blue skies... Todd (speaking only for himself, not in any official capacity) Todd, Where I don't dispute the intent I'm having fits with the results. Oh and for my camera and my usb printer. They haven't changed functionality since I got rid of devfs. Maybe because devfs set them up at first. I'm just getting tired of rebooting Linux. James -- Todd Lyons -- MandrakeSoft, Inc. http://www.mandrakesoft.com/ UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things. -- Doug Gwyn Cooker Version mandrake-release-8.3-0.2mdk Kernel 2.4.18-19mdk Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] SSH and FTP logins taking much LONGER
Check your dns ... BillK On Sun, 2002-06-23 at 23:46, David Rankin wrote: Listmates: Over the past year, FTP and SSH logins are taking much longer. In the past FTP logins would take 2-3 seconds and SSH logins were almost instantaneous. Now both FTP and SSH logins take approximately 20 - 30 seconds. Uptime is 363 days and I haven't restarted either xinetd, FTP or SSH. Is there some kind of login history, or authentication log that could be causing the slowdows? Any other thoughts? -- David C. Rankin, J.D., P.E. RANKIN * BERTIN, PLLC 1329 N. University, Suite D4 Nacogdoches, Texas 75961 (936) 715-9333 (936) 715-9339 fax -- Bill Kenworthy [EMAIL PROTECTED] Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] pros and cons of mandrake
On Sun, 23 Jun 2002 12:56:39 -0700 (PDT) [EMAIL PROTECTED] (dfox) wrote: fragmentation in memory pages.. the same little sketches i made would apply, but change the file 1 and file 2 with process 1 and process 2 ) I doubt that's a serious issue. It's kind of silly, really, since any portion of RAM is just as quickly issued as any other. But this is virtual memory (modern OSes) we're discussing. And virtual memory is viewed simplistically as having some memory on some other media (i.e., a swap partition). That is only one aspect of it. In reality, virtual memory means that a process residing at some address N need not really reside at address N on the RAM chips. Realisically, N is only an offset which is maintained by the processor, with the OSes help. One might be able to find out where a process resides physically in the RAM if it starts at address 1 and continues to address 2, but it would be kind of pointless. And, if the process is larger than a page of memory (4K) then one page might be located way away from the others. In fact, in a continually running system, it's practically guaranteed that this is the case. actually, external fragmentation of the memory CAN be a problem. yes, running a fragmented process takes the same time, but it bring other problems as well, to the memory management system. it's been a long time since i've studied the issue, and i can't remember exactly what was the overhead involved, but it had something to do with the operating system's process tables' management. in fact, now that you metion swap, fragmenting the memory space will probably mean fragmentation of the swap space in very short time. both external and internal fragmentation in the swap space can degrade performance seriously, by forcing the HD to change the head's position more often, it can result in slow swapping in and out of memory pages. there are many aspects involved in swap performance, one of them being that swap is an extension of the phisical memory but only as a storage space. no process code can be run from the swap. only blocked or waiting process pages will be swapped out, and when they need to change state to ready, running, they must be loaded into the RAM. and this is when fragmentation begins to be a problem... Damian Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Hostname and postfix
Praedor Tempus wrote: OK, I want to change the name of my laptop from the default localhost.localdomain to lapdog.ravenhome.net. Looking at the manpage for hostname, it mentions: /etc/init.d/boot, /etc/hostname, and /etc/rc.d/rc.inet1 as where/how hostname is set. Uh-uh! Does not does not! There exists no /etc/rc.d/rc.inet1, nor /etc/boot, nor /etc/hostname on my system so either Mandrake has substantially deviated from the norm or the manpage is hopelessly bogus and to be eradicated from the face of the earth. To quote the manpage: The host name is usually set once at system startup in /etc/rc.d/rc.inet1 or /etc/init.d/boot (normally by read ing the contents of a file which contains the host name, e.g. /etc/hostname). What a crock. So, how does the hostname REALLY get set? Not by any of the methods in the manpage for hostname, that's for sure. What config file is to be edited so that when the laptop boots up it identifies itself as lapdog.ravenhome.net and the prompt on my konsole says [praedor@lapdog]# instead of [praedor@localhost]# without dicking up anything running on my system? As I previously wrote, ANY attempt to change my hostname in the past has led to a number of things going tits up such that I always had to go back to the default localhost. Question...since I own ravenhome.net, I AM able to simply and without difficulty name my machines lapdog.ravenhome.net and overlord.ravenhome.net yes? praedor On Sunday 23 June 2002 01:28 pm, daRcmaTTeR wrote: J. Craig Woods wrote: civileme wrote: OK, first of all you did not need to touch a wizard. Those are designed for one-time setup which is why we call them wizards. They are not tools to be used for maintenance, and they make a lot of assumptions, as is appropriate for their target audience (NT administrators). Next, _default_ performance in postfix is to gethostname from the system and use that, which indicates that you don't need to do anything with postfix configuration. You need to change your hostname, and that's all. You can do that with MandrakeControlCenter or linuxconf, just remember to restart desktops or there will be problems. There IS a problem with this. Brain-dead anti-spam tools have your IP on a DUL (dial-up-list) and that's one strike. Strike two+three is when they cannot authenticate your transmission name to an IP address, so a lot of mailservers won't relay your mail and some will reject it because it doesn't authenticate. There is a way around that, but it co$t$ money, at least $4/year. That is, since you have the domain name registered, you need the registered name pointed to a DNS server which will resolve to your (current) IP. Your machine can find and transmit its IP to the DNS server with a short script, and can update every 5 minutes in case you have a break in service and your IP address changes with the reconnection. The most reasonable place to have this service (that I have found) is www.whyi.org. He used to offer this service for free (as yi.org) but now he has costs to cover, so $4/year. I just finished a script that does something very similar, it transmits an IP address from a local machine to a remote ftp where the user has write access, like one of the free website places. It was to allow people on the road to reach their home computer through the internet by snatching the current IP address from a stable site and using it to address their own computer at home, through http or ssh or whatever it is running. It should be available to Mandrake Club members shortly. Civileme As I have watched and read this thread over the months that Praedor has been posting it, and re-wording it, I have come to the conclusion that his problem has nothing whatsoever to do with any MTA, be it a sendmail or a postfix setup issue. While you are right, Civ, about how to get the MTA to work, the first *MOST* basic thing that must be done, for most everything you will do with a server (including the ability to send and receive email with your own privately running MTA), is to give your box a FQDN. I know everybody is now shaking their heads, saying no shit doc, this is a no brainer! But read Praedor's mail carefully or go back for his earlier postings. The ability to give his server a FQDN is the *ONE* task he cannot complete. For some unknown reasons, when he attempts to give his box a name, other than the localhost.localdomain, his machine becomes foobarred to the max. Praedor, you need to help us understand why you can not complete the simple task of naming a machine. Maybe you can send us some log file entries that give us specific errors messages... drjung drjung, may he hasn't thought of one that he likes yet. maybe it's something unconcious about the name that screws everthing up. maybe it's something freudian. maybe I just have too much time on my hands and I'm full of shit! ;) Mark a.k.a. daRcmaTTeR
Re: [expert] Ethernet binding?
I was under the impression that running two nic's with the same ip addresses and differant mac addresses was a no no and would screw your network. On Star Date Sunday 23 June 2002 07:45 am, [EMAIL PROTECTED] sent this sub-space message. On Sun, 23 Jun 2002, Mark Lucas wrote: Is it possible to install two or more ethernet cards in my server and get Mandrake to use them both on a single IP address in order to improve network throughput? There's a method called channel bonding that allows you to setup two nics to almost double your throughput. I don't the specifics, unfortunately but a Google search for Ethernet Channel Bonding returns quite a few hits. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Ethernet binding?
Bill wrote on Sun, Jun 23, 2002 at 03:56:48PM -0700 : I was under the impression that running two nic's with the same ip addresses and differant mac addresses was a no no and would screw your network. Normally you are correct, however there are two modes that you can utilize to gain additional functionality: 1) bonding: where the driver takes both cards and bonds them together. If you have two 100 Mbit cards, bonding yields a theoretical 200 Mbit channel. Whether the PCI bus hardware can actually provide that sort of throughput is an exercise for the reader (ie reading from one or more hard drives for data and then passing it to the kernel modules when then send it out over the two nics) 2) bridging: If you have two seperate physical networks but have a common netmask, you can configure a bridge such that both sides see a common ip address and you can then control access from one side to the other (a firewall of sorts). A common application of this is the wireless access point. If you have a Prism chipset you can use the HostAP software and it will do all of this for you. In the event that you have two or more wired type nics, the kernel also directly supports bridging. For an example of bridging: ifup eth0 ifup eth1 brctl addbr br0 brctl addif br0 eth0 brctl addif br0 eth1 ifconfig br0 192.168.188.1 Now anybody connected to either nic will access the machine as 192.168.188.1. Blue skies... Todd -- Todd Lyons -- MandrakeSoft, Inc. http://www.mandrakesoft.com/ UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things. -- Doug Gwyn Cooker Version mandrake-release-8.3-0.2mdk Kernel 2.4.18-20mdk msg55615/pgp0.pgp Description: PGP signature
Re: [expert] question recompiling kernel
On Sun, 23 Jun 2002 14:22:04 -0800 civileme [EMAIL PROTECTED] wrote: Someone is sure to point out that make mrproper is advisable before any version of make config. To get that ALS4000 to work with the current ALSA drivers, you are going to need some options lines in /etc/modules.conf It is a very very poor support that ALSA offers for that card at the moment (8.1 played it out of the box). Civileme Thanks, Civileme, i probably would have missed the modules.conf. So is the alsa stuff done after the kernel's built then the modules just inserted at boot? Probably a good idea to make a backup copy of modules.conf i suppose, so i have the commands from the current working system. Have restarted, this time doing make mrproper before make config and durring make dep i already see some of the errors gone. (thanks todd). (Crossing fingers) thx again. Jerry. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Bug.... maybe maybe not.
On Sun, 23 Jun 2002 14:59:46 -0700 Todd Lyons [EMAIL PROTECTED] said with temporary authority James wrote on Sun, Jun 23, 2002 at 12:43:38PM -0700 : Where I don't dispute the intent I'm having fits with the results. Oh and for my camera and my usb printer. They haven't changed functionality since I got rid of devfs. Maybe because devfs set them up at first. I'm just getting tired of rebooting Linux. Have you tried just changing to single user mode, then back to your regular mode? Many times changing runlevels will fix some oddities (but not always). You might have to go one step further and remove some modules so that when you switch back to runlevel 3 (text login) or 5(graphical login), it will load the required modules back. If something is funky with the modules in kernel-space though, you might get the busy error message. The only advice I can offer is remove the modules in opposite order that they are dependent. For example, in the following: sg 30180 0 (autoclean) (unused) st 27316 0 (autoclean) (unused) sr_mod 15160 0 (autoclean) (unused) sd_mod 11644 0 (autoclean) (unused) scsi_mod 92488 4 (autoclean) [sg st sr_mod sd_mod] I won't be able to remove scsi_mod first. I would have to rmmod sg, then st, then sr_mod, then sd_mod. Only then would I be able to remove scsi_mod. Blue skies... Todd -- Todd Lyons -- MandrakeSoft, Inc. http://www.mandrakesoft.com/ UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things. -- Doug Gwyn Cooker Version mandrake-release-8.3-0.2mdk Kernel 2.4.18-20mdk Yep first thing I did.. telinit 3 . cannot return to runlevel 5 telinit 1 cannot return to run level 5 .. reboot. James Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Hostname and postfix
On Sun, 23 Jun 2002 17:19:33 -0400 daRcmaTTeR [EMAIL PROTECTED] said with temporary authority James wrote: On Sun, 23 Jun 2002 15:23:15 -0500 J. Craig Woods [EMAIL PROTECTED] said with temporary authority daRcmaTTeR wrote: J. Craig Woods wrote: Praedor, you need to help us understand why you can not complete the simple task of naming a machine. Maybe you can send us some log file entries that give us specific errors messages... drjung drjung, may he hasn't thought of one that he likes yet. maybe it's something unconcious about the name that screws everthing up. maybe it's something freudian. maybe I just have too much time on my hands and I'm full of shit! ;) Mark a.k.a. daRcmaTTeR Hmmm, yes, Mark, you just might be right about all your suppositions except one: it seems to be a more jungian issue than a freudian issue. I would surmise that his libido is not the source of his problem but it is very possible that there is an enery blockage at a deeper level, most likely at the collective unconcsious level. Now, I ask you, who has too much fucking time on his hands, and it's ticking away... drjung Note to self: go to ebay buy hip waders. James *grin* James? isn't that like closing the bard door *after* the cows have all left the barn? True but and history lends me to believe this. we havent' seen the end of this thread yet.. James Mark Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Instability: Athlon, mtrr, XFree86, 8.2, KDE3 - Solved ?
On Sunday 23 June 2002 05:22 pm, Hoyt wrote: On Sunday 23 June 2002 15:52, James wrote: Now I need to crank up my AGP settings (currently AGP2x in the BIOS and AGP 1x in XF86Config-4) to see how it works. Then maybe I'll remove mem=nopentium. Maybe it will solve my troubles too h yep time to fix it till it breaks *grin* James AGP 4x works OK. I also noticed that the XFree86 upgrade replaced the official Matrox drivers with the XFree mga drivers. sigh One more thing to evaluate. Just incase someone at Mandrake is reading I recently moved from SuSE to Mandrake. Mandrake's video setup is superior to SuSEs. My ATI Rage R128 AGP was selected automatically and 3D acceleration was installed. The acceleration works beautifully when I run Tux or fly with FlightGear, etc I have disabled it, however. These are the reasons why, all of which deal with the operation of of the desktop when a 3D program is not being run: 1) Most mouse actions cause Klipper to popup, which gets very aggrivating. 2) Accompanying some mouse actions, like clicking to place the text icon, causes in brief, almost instantaneous, freeze of the desktop. 3) When running MediaPlayer mouse actions cause pausing, skipping and/or popping of the sound. 4) Realplayer play backs exhibt the same skipping and popping with mouse actions. SuSE's 3D acceleration was a lot harder to setup, and envolved adding manual tweeks to the XF86Config file, inserting a couple of load options, but I never had mouse interaction problems while running on the desktop. I think this is because MDK's configuration of the ATI Rage R128 appears to exhibit active acceleration even when not running a 3D app. ??? Anyway, it doesn't matter to me because I rarely use 3D. I just wanted to pass this along in case there was a solution out there or if the MDK folks need to make a tweek somewhere. -- JLK Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Hostname and postfix
On Sun, 23 Jun 2002 14:36:00 -0700 Todd Lyons [EMAIL PROTECTED] said with temporary authority Praedor Tempus wrote on Sun, Jun 23, 2002 at 04:18:14PM -0500 : OK, I want to change the name of my laptop from the default localhost.localdomain to lapdog.ravenhome.net. Looking at the manpage for hostname, it mentions: /etc/init.d/boot, /etc/hostname, and /etc/rc.d/rc.inet1 as where/how hostname is set. Uh-uh! Does not does not! vi /etc/sysconfig/network HOSTNAME=lapdog.ravenhome.net DOMAINNAME=ravenhome.net Note that you either need to have: 1) a DNS server that returns authoritative info for the ravenhome.net domain, especially the host lapdog. If you are using 192.168.* or 10.* or 172.16/20 IP addresses, then you need to have a nameserver that provides different answers based on where the name query originates from. -OR- 2) Configure it in /etc/hosts of all machines that need to access it directly. Blue skies... Todd Praedor... also to make the change work without a reboot type hostname=lapdog.ravenhome.net ... then to verify just type hostname. This will make it work for this session. What Todd suggests will make it permanent and work over a reboot. -- Todd Lyons -- MandrakeSoft, Inc. http://www.mandrakesoft.com/ UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things. -- Doug Gwyn Cooker Version mandrake-release-8.3-0.2mdk Kernel 2.4.18-20mdk Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Hostname and postfix
sinip___ EASY way is (gad, looks like that manpage wasn't written for SysVInit) Civileme sanap_ Civilme I checked it's identical to a FreeBSD2.2.8 box I have access to.. and that's definitely not SysVinit. James Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Ethernet binding?
That makes sense. Thanks for the education. Now I know somethin new. One question though. If you have a 100mb nic and run it in full duplex mode isnt that like running at 200mb? On Star Date Sunday 23 June 2002 04:30 pm, Todd Lyons sent this sub-space message. Bill wrote on Sun, Jun 23, 2002 at 03:56:48PM -0700 : I was under the impression that running two nic's with the same ip addresses and differant mac addresses was a no no and would screw your network. Normally you are correct, however there are two modes that you can utilize to gain additional functionality: 1) bonding: where the driver takes both cards and bonds them together. If you have two 100 Mbit cards, bonding yields a theoretical 200 Mbit channel. Whether the PCI bus hardware can actually provide that sort of throughput is an exercise for the reader (ie reading from one or more hard drives for data and then passing it to the kernel modules when then send it out over the two nics) 2) bridging: If you have two seperate physical networks but have a common netmask, you can configure a bridge such that both sides see a common ip address and you can then control access from one side to the other (a firewall of sorts). A common application of this is the wireless access point. If you have a Prism chipset you can use the HostAP software and it will do all of this for you. In the event that you have two or more wired type nics, the kernel also directly supports bridging. For an example of bridging: ifup eth0 ifup eth1 brctl addbr br0 brctl addif br0 eth0 brctl addif br0 eth1 ifconfig br0 192.168.188.1 Now anybody connected to either nic will access the machine as 192.168.188.1. Blue skies... Todd Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Instability: Athlon, mtrr, XFree86, 8.2, KDE3 - Solved ?
On Sun, 23 Jun 2002 18:22:50 -0400 Hoyt [EMAIL PROTECTED] said with temporary authority On Sunday 23 June 2002 15:52, James wrote: Now I need to crank up my AGP settings (currently AGP2x in the BIOS and AGP 1x in XF86Config-4) to see how it works. Then maybe I'll remove mem=nopentium. Maybe it will solve my troubles too h yep time to fix it till it breaks *grin* James AGP 4x works OK. I also noticed that the XFree86 upgrade replaced the official Matrox drivers with the XFree mga drivers. sigh One more thing to evaluate. -- Hoyt Hoyt- Sounds like before I trash this install and try again (ext3 is not working well. The crashes are really messing with it's head.) I'm heading to my nearest Cooker site and running urpmi! James http://www.maximumhoyt.com Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] pros and cons of mandrake
On Sun, 23 Jun 2002 14:40:34 -0800 civileme [EMAIL PROTECTED] said with temporary authority James wrote: On Fri, 21 Jun 2002 03:19:23 -0400 Rick Thomas [EMAIL PROTECTED] said with temporary authority It's something you used to have to do on Windows disks. De-Fragment. When you write a lot of small files, then delete some of them, the allocation bitmap for the disk gets to look like a swiss cheese -- lots of little holes. The little holes get used for the next file(s) you write, and those files become fragmented. The net effect is that reading and writing files from a fragmented disk takes longer than from an un-fragmented disk, where the files are mostly contiguous. Sometimes a _lot_ longer for a really badly fragged disk. People used to sell utilities for de-frag'ing windows disks, for lots of money. Nowadays, it's cheaper not to bother... when a disk becomes fragged, you just throw it away and get a newer, bigger, cheaper, one... (;-) Rick correct me if I'm wrong... (it happens a lot that I am, trust me I'm married, I know ) but the difference between vfat and ext2 is the way they write back a file. With vfat, say with a 4 gig partition and 2 gigs of data, it attempts to write the file back to the same space that it came from. If the file won't fit it then points to the remaining part written in the first available free space that will hold it. As single file could have 4, 5 or more fragments as it grows larger and larger. (it will maintain the existing fragments and create new ones as needed.) ext2 as I understand it looks at the original spot, determines if it will fit, and if not writes the changed file to a new location that has enough continuous space to hold the entire file. This minimizes fragmentation but does tend to have data all over the place. Aesthetically unpleasing but once a file is found in the map yields a faster read, and less fragments that despite theories to the contrary, do get lost. Now if you have 1.8 gigs of data on a 2 gig drive the ability to find free space is severely reduced. Maybe this is the problem in Alaska. The drive is too full. I don't know, but it is interesting how it happened and worth looking into for sure. James um...whats defrag? Mark .. ya know.. it's for taking off the frag. Damian Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Turns out, this fellow never responded. I have reproduced the fragging by deliberately doing a no-no, removing the reserve and then using a modified version of my filesystem exerciser that creates files of random size between 2k and 800K (modified to fill the filesystem 90%) then expands them in place. Now ext2 will automatically fragment large files where a single block cannot contain the whole file, so an older ext2 version without support for sparse superblocks might show some fragmentation on big files first time With the reserved blocks at a healthy setting, the fragmentation doesn't happen in the same way. That's odd. It appears they are fair game for a scratch area. Civileme Civilme... Since I'm just now starting to get into file systems and how they do/don't work. (AFS xFS Coda HFS etc) I'm curious if you can recommend any reading on this subject. This does interest me. Especially since you can recreate it, deliberately. They are doing some experiments with RLF (Really Large Files) as they call it, 1 terabyte or more. And the more I understand the more intelligently I can listen. James Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Ethernet binding?
Bill wrote on Sun, Jun 23, 2002 at 04:53:42PM -0700 : That makes sense. Thanks for the education. Now I know somethin new. One question though. If you have a 100mb nic and run it in full duplex mode isnt that like running at 200mb? Yes. But that's combining both directions. If we think like that a cop could pull you over for doing 130 in a 60 MPH zone. :) IMHO, throughput is measured by copying from machine A to machine B. It cannot exceed 100 Mb doing that function. In practice, if you get close to 80 Mb, you are doing very good. Blue skies... Todd -- Todd Lyons -- MandrakeSoft, Inc. http://www.mandrakesoft.com/ UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things. -- Doug Gwyn Cooker Version mandrake-release-8.3-0.2mdk Kernel 2.4.18-20mdk msg55625/pgp0.pgp Description: PGP signature
[expert] kernel compile-errors last one .
Below are the error's I got when doing make bzImage I had no support for i2c enabled durring make xconfig... is it telling me it's required for this driver? also.. got an error1 on kallsyms (i'm guessing because it couldn't compile this module?) and error 2 on vmlinuz (couldnt write?/notcomplete?/something else?) last call before error: make[1]: Entering directory `/usr/src/linux' ld -m elf_i386 -T /usr/src/linux/arch/i386/vmlinux.lds -e stext arch/i386/kernel/head.o arch/i386/kernel/init_task.o init/main.o init/version.o --start-group arch/i386/kernel/kernel.o arch/i386/mm/mm.o kernel/kernel.o mm/mm.o fs/fs.o ipc/ipc.o drivers/parport/driver.o drivers/char/char.o drivers/block/block.o drivers/misc/misc.o drivers/net/net.o drivers/media/media.o drivers/char/drm/drm.o drivers/net/fc/fc.o drivers/ide/idedriver.o drivers/cdrom/driver.o drivers/pci/driver.o drivers/video/video.o drivers/usb/usbdrv.o drivers/sensors/sensor.o 3rdparty/3rdparty.o net/network.o /usr/src/linux/arch/i386/lib/lib.a /usr/src/linux/lib/lib.a /usr/src/linux/arch/i386/lib/lib.a --end-group -o vmlinux errors: drivers/usb/usbdrv.o: In function `saa7111_write': drivers/usb/usbdrv.o(.text+0x39b64): undefined reference to `i2c_master_send' drivers/usb/usbdrv.o: In function `saa7111_write_block': drivers/usb/usbdrv.o(.text+0x39bb1): undefined reference to `i2c_master_send' drivers/usb/usbdrv.o: In function `saa7111_read': drivers/usb/usbdrv.o(.text+0x39bf7): undefined reference to `i2c_master_send' drivers/usb/usbdrv.o(.text+0x39c29): undefined reference to `i2c_master_recv' drivers/usb/usbdrv.o: In function `saa7111_attach': drivers/usb/usbdrv.o(.text+0x39d3d): undefined reference to `i2c_attach_client' drivers/usb/usbdrv.o: In function `saa7111_probe': drivers/usb/usbdrv.o(.text+0x39d70): undefined reference to `i2c_probe' drivers/usb/usbdrv.o: In function `saa7111_detach': drivers/usb/usbdrv.o(.text+0x39d8b): undefined reference to `i2c_detach_client' drivers/usb/usbdrv.o: In function `saa7111_init': drivers/usb/usbdrv.o(.text+0x3a136): undefined reference to `i2c_add_driver' drivers/usb/usbdrv.o: In function `i2c_usb_add_bus': drivers/usb/usbdrv.o(.text+0x3a5ca): undefined reference to `i2c_add_adapter' drivers/usb/usbdrv.o: In function `i2c_usb_del_bus': drivers/usb/usbdrv.o(.text+0x3a5e7): undefined reference to `i2c_del_adapter' make[1]: *** [kallsyms] Error 1 make[1]: Leaving directory `/usr/src/linux' make: *** [vmlinux] Error 2 [root@c327911-b linux]# Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] question recompiling kernel
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] Bug.... maybe maybe not.
James wrote on Sun, Jun 23, 2002 at 04:32:14PM -0700 : Yep first thing I did.. telinit 3 . cannot return to runlevel 5 telinit 1 cannot return to run level 5 .. reboot. What do you mean cannot return to runlevel 5? That's an error message I've never seen before. Same thing happens if you just run 'init 5'? Should since it's just a symlink, but just curious. Blue skies... Todd -- Todd Lyons -- MandrakeSoft, Inc. http://www.mandrakesoft.com/ UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things. -- Doug Gwyn Cooker Version mandrake-release-8.3-0.2mdk Kernel 2.4.18-20mdk msg55628/pgp0.pgp Description: PGP signature
Re: [expert] kernel compile-errors last one .
Jerry wrote on Mon, Jun 24, 2002 at 12:24:58AM + : Below are the error's I got when doing make bzImage I had no support for i2c enabled durring make xconfig... is it telling me it's required for this driver? also.. got an error1 on kallsyms (i'm guessing because it couldn't compile this module?) and error 2 on vmlinuz (couldnt write?/notcomplete?/something else?) snip drivers/usb/usbdrv.o: In function `saa7111_write': drivers/usb/usbdrv.o(.text+0x39b64): undefined reference to `i2c_master_send' drivers/usb/usbdrv.o: In function `saa7111_write_block': drivers/usb/usbdrv.o(.text+0x39bb1): undefined reference to `i2c_master_send' Seems like it yes. Blue skies... Todd -- Todd Lyons -- MandrakeSoft, Inc. http://www.mandrakesoft.com/ UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things. -- Doug Gwyn Cooker Version mandrake-release-8.3-0.2mdk Kernel 2.4.18-20mdk msg55629/pgp0.pgp Description: PGP signature
Re: [expert] pros and cons of mandrake
James wrote: On Sun, 23 Jun 2002 14:40:34 -0800 civileme [EMAIL PROTECTED] said with temporary authority James wrote: On Fri, 21 Jun 2002 03:19:23 -0400 Rick Thomas [EMAIL PROTECTED] said with temporary authority It's something you used to have to do on Windows disks. De-Fragment. When you write a lot of small files, then delete some of them, the allocation bitmap for the disk gets to look like a swiss cheese -- lots of little holes. The little holes get used for the next file(s) you write, and those files become fragmented. The net effect is that reading and writing files from a fragmented disk takes longer than from an un-fragmented disk, where the files are mostly contiguous. Sometimes a _lot_ longer for a really badly fragged disk. People used to sell utilities for de-frag'ing windows disks, for lots of money. Nowadays, it's cheaper not to bother... when a disk becomes fragged, you just throw it away and get a newer, bigger, cheaper, one... (;-) Rick correct me if I'm wrong... (it happens a lot that I am, trust me I'm married, I know ) but the difference between vfat and ext2 is the way they write back a file. With vfat, say with a 4 gig partition and 2 gigs of data, it attempts to write the file back to the same space that it came from. If the file won't fit it then points to the remaining part written in the first available free space that will hold it. As single file could have 4, 5 or more fragments as it grows larger and larger. (it will maintain the existing fragments and create new ones as needed.) ext2 as I understand it looks at the original spot, determines if it will fit, and if not writes the changed file to a new location that has enough continuous space to hold the entire file. This minimizes fragmentation but does tend to have data all over the place. Aesthetically unpleasing but once a file is found in the map yields a faster read, and less fragments that despite theories to the contrary, do get lost. Now if you have 1.8 gigs of data on a 2 gig drive the ability to find free space is severely reduced. Maybe this is the problem in Alaska. The drive is too full. I don't know, but it is interesting how it happened and worth looking into for sure. James um...whats defrag? Mark .. ya know.. it's for taking off the frag. Damian Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Turns out, this fellow never responded. I have reproduced the fragging by deliberately doing a no-no, removing the reserve and then using a modified version of my filesystem exerciser that creates files of random size between 2k and 800K (modified to fill the filesystem 90%) then expands them in place. Now ext2 will automatically fragment large files where a single block cannot contain the whole file, so an older ext2 version without support for sparse superblocks might show some fragmentation on big files first time With the reserved blocks at a healthy setting, the fragmentation doesn't happen in the same way. That's odd. It appears they are fair game for a scratch area. Civileme Civilme... Since I'm just now starting to get into file systems and how they do/don't work. (AFS xFS Coda HFS etc) I'm curious if you can recommend any reading on this subject. This does interest me. Especially since you can recreate it, deliberately. They are doing some experiments with RLF (Really Large Files) as they call it, 1 terabyte or more. And the more I understand the more intelligently I can listen. James Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com I cannot beat the info that comes up on a Google search, except find an ancient copy of the series by Knuth for an excellent explanation of B-Trees and B+Trees before trying the Reiser information on the Reiser site. Civileme Yes, the published word in this case is less than the web word, for most of the journey. As always read with a jaundiced eye and test the logic with your own knowledge and experimentation. There's not nearly as much useless and misleading info about computers and filesystems out there as there is about, say, hypnosis, but there is still plenty more than enough. My policy is to IGNORE ALL BENCHMARKS except those I run myself, and take a bicycle ride before benchmarking anything, asking myself if I have covered all cases that are important to me (and giving myself the wrong answers half the time). Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Bug.... maybe maybe not.
Oh the wording is mine... it goes to runlevel 5 supposedly. But X etc cannot start. NO error messages just a hang. Leaving the box alone for an hour results in a box that cannot be ssh'd into and is totally frozen. No error messages. No log records it seems that X and Linux think they are ok just it's not working. X never fails.. nor does it start. At all times I get a message in ps-ax that kdm is trying to start. If I do a killall X or try to kill the start for kdm it can't kill it. I have to go back to runlevel 3 via telinit. StartX from runlevel 3 at that point hangs in a simular manor. I've restarted xfs and it restarts and runs without error. Once I leave runlevel 5 the only way to return to a functional runlevel 5 environment is via a reboot. James On Sun, 23 Jun 2002 17:42:36 -0700 Todd Lyons [EMAIL PROTECTED] said with temporary authority James wrote on Sun, Jun 23, 2002 at 04:32:14PM -0700 : Yep first thing I did.. telinit 3 . cannot return to runlevel 5 telinit 1 cannot return to run level 5 .. reboot. What do you mean cannot return to runlevel 5? That's an error message I've never seen before. Same thing happens if you just run 'init 5'? Should since it's just a symlink, but just curious. Blue skies... Todd -- Todd Lyons -- MandrakeSoft, Inc. http://www.mandrakesoft.com/ UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things. -- Doug Gwyn Cooker Version mandrake-release-8.3-0.2mdk Kernel 2.4.18-20mdk Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Hostname and postfix
Praedor Tempus wrote: OK, I want to change the name of my laptop from the default localhost.localdomain to lapdog.ravenhome.net. Looking at the manpage for hostname, it mentions: /etc/init.d/boot, /etc/hostname, and /etc/rc.d/rc.inet1 as where/how hostname is set. Uh-uh! Does not does not! There exists no /etc/rc.d/rc.inet1, nor /etc/boot, nor /etc/hostname on my system so either Mandrake has substantially deviated from the norm or the manpage is hopelessly bogus and to be eradicated from the face of the earth. To quote the manpage: The host name is usually set once at system startup in /etc/rc.d/rc.inet1 or /etc/init.d/boot (normally by read ing the contents of a file which contains the host name, e.g. /etc/hostname). What a crock. So, how does the hostname REALLY get set? Not by any of the Praedor, It's really quite simple. Open Linuxconf-Networking-Host name and IP Network devices. The first panel you see is where you set the hostname for the machine. On the Adapter1 tab is where you set the IP address, whether or not you want to IP address to set manually, Dhcp, or Bootp. On this tab you can also set some other values. But the point here is _this_ is where you set the hostname for the machine. Mark Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Hostname and postfix
daRcmaTTeR wrote on Sun, Jun 23, 2002 at 09:16:58PM -0400 : It's really quite simple. Open Linuxconf-Networking-Host name and IP I usually recommend not to use linuxconf except as a last resort. It does some things to the system in a not friendly way and has left a bad taste in my mouth. Maybe it's better now, but I'm not going to trust it myself. Use webmin or mcc instead. Blue skies... Todd -- Todd Lyons -- MandrakeSoft, Inc. http://www.mandrakesoft.com/ UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things. -- Doug Gwyn Cooker Version mandrake-release-8.3-0.2mdk Kernel 2.4.18-20mdk msg55633/pgp0.pgp Description: PGP signature
Re: [expert] Bug.... maybe maybe not.
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Todd Lyons wrote: | James wrote on Sun, Jun 23, 2002 at 12:43:38PM -0700 : | | Where I don't dispute the intent I'm having fits with the results. |Oh and for my camera and my usb printer. They haven't changed |functionality since I got rid of devfs. Maybe because devfs set them up |at first. I'm just getting tired of rebooting Linux. | | | Have you tried just changing to single user mode, then back to your | regular mode? Many times changing runlevels will fix some oddities (but | not always). You might have to go one step further and remove some | modules so that when you switch back to runlevel 3 (text login) or 5 | (graphical login), it will load the required modules back. If something | is funky with the modules in kernel-space though, you might get the busy | error message. The only advice I can offer is remove the modules in O yeah...I've been seeing that one alot lately on the one Mandrake client when it tries to umount the samba shares being shared from the server. they're always busy for some reason and don't want to unmount. Linux to Linux Samba shares is not a fun thing I'm finding out. Mark -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQE9FnYEJuZ1geTzHgERAkrbAJ9jAcOWWXuryEhSKm0yiaa6YAtkyACg2p9g PJmD3pHbylmzztERC5brZ+o= =S2qo -END PGP SIGNATURE- Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Bug.... maybe maybe not.
James wrote on Sun, Jun 23, 2002 at 06:04:16PM -0700 : Oh the wording is mine... it goes to runlevel 5 supposedly. But X etc cannot start. NO error messages just a hang. Leaving the box alone for an hour results in a box that cannot be ssh'd into and is totally frozen. No error messages. No log records it seems that X and Linux think they are ok just it's not working. X never fails.. nor does If you run top with a refresh rate of 1 second, do you slowly see the load climbing? If you do ps ax frequently do you see processes with a status of D? Just trying to isolate exactly what it is that is causing the system to come to a crawl. If it's in kernel space, it could be very difficult to determine what it is that's causing it. Do you have a zip drive? If so, delete the /etc/cron.hourly/msec and /etc/cron.daily/msec links and see if the symptoms remain the same. Blue skies... Todd -- Todd Lyons -- MandrakeSoft, Inc. http://www.mandrakesoft.com/ UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things. -- Doug Gwyn Cooker Version mandrake-release-8.3-0.2mdk Kernel 2.4.18-20mdk msg55635/pgp0.pgp Description: PGP signature
Re: [expert] Replacing a MS SQL Server
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tom Badran wrote: | On Saturday 22 Jun 2002 6:29 am, Damian G wrote: | |however, i don't find anywhere ( not in the OpenOffice frontend |nor in Webmin interface to databases ) any info about setting |foreign keys? i'm beginning to wonder do these exist in MySQL? | | | Foreign keys are references, and in postgres are actually done by using the | keyword references, so maybe it is the same in mysql. | | Tom actually, the current stable release of MySQL does not support foriegn keys as yet. They are working on getting this into the 4.0.x release of MySQL. Mark -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQE9FngBJuZ1geTzHgERAowbAJ90NCIBTNwzvDr20GDKSsOlnBQPBACg5w+l Ku5PBLJZyaiIYE3rGTW4VtA= =aG08 -END PGP SIGNATURE- Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Hostname and postfix
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Todd Lyons wrote: | daRcmaTTeR wrote on Sun, Jun 23, 2002 at 09:16:58PM -0400 : | |It's really quite simple. Open Linuxconf-Networking-Host name and IP | | | I usually recommend not to use linuxconf except as a last resort. It | does some things to the system in a not friendly way and has left a bad | taste in my mouth. Maybe it's better now, but I'm not going to trust it | myself. Use webmin or mcc instead. | | Blue skies... Todd well...depending upon your system setup, mine included, you have to be careful at the end of things when you're shutting it down. Linuxconf often wants to update the system status. Most of the time, because of the way I've got my FTP server setup I don't allow it to do anything. However, thats just on the server. the workstations are a different story. Mark -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQE9Fnk/JuZ1geTzHgERAkRhAJ9EDFinrLdR8ax7aTXOEw2VPTFN0gCfVcgR GWtHfmuQ5L+W1NXPUAIV388= =lVpx -END PGP SIGNATURE- Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] note to anyone update apache to 1.3.23-4 with updaterobot
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Robin wrote: | I just updated apache to 1.3.23-4 with update robot. The update went | fine, however, when httpd restarted, apache wasn't accepting any | request. | | If anyone run into the same problem, stop your httpd and run ps -ax | | grep httpd, if you see httpd -DHAVE_PHP4 -DHAVE_PROXY -DHAVE_ACCESS | -DHAVE_A, just kill them and start httpd again. Everything will work | again. | | | Robin My personal experience with this update wasn't so much that apache was feeling strange. rather dhcpd and named didn't want to work for a while. shortly after the update was finished I was working on the workstation and accessing the web server and the internet through the server and all was well. however, the next more I wasn't able to see anything passed my own workstation. it turned out that dhcpd and named were not running. very mysterious. Mark -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQE9FnqHJuZ1geTzHgERAt2DAJsELEHGBTgOsacRLnTLKfUPKz5+QQCfUSvq nz+VyqIdp1CagJw5q9PikIA= =+9+z -END PGP SIGNATURE- Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[expert] what to do when Socket in use?
I'm trying to print to a Windows printer over SAMBA on Mandrake 8.2. When I add the device, the first notable error in the CUPS error_log is LoadDevices: Added device smb... StartListening: NumListeners=3 StartListening: address=7f01 port=631 Unable to bind to socket - Address already in use. Later on, while trying to print something, I get... foomatic-gswrapper: gs '-dBATCH' -dSAFER' etc. etc. etc. Unable to open initial device, quitting. Assuming these two events are related, what can I do about a socket already in use? What do I do to diagnose which socket and what's locking it up? -- j Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Bug.... maybe maybe not.
On Sun, 23 Jun 2002 18:38:41 -0700 Todd Lyons [EMAIL PROTECTED] said with temporary authority James wrote on Sun, Jun 23, 2002 at 06:04:16PM -0700 : Oh the wording is mine... it goes to runlevel 5 supposedly. But X etc cannot start. NO error messages just a hang. Leaving the box alone for an hour results in a box that cannot be ssh'd into and is totally frozen. No error messages. No log records it seems that X and Linux think they are ok just it's not working. X never fails.. nor does If you run top with a refresh rate of 1 second, do you slowly see the load climbing? Haven't tried that will do later tonight and report... right now I've got to finish a web page. *grin* If you do ps ax frequently do you see processes with a status of D? I've looked for D and Z listings. None found. Just trying to isolate exactly what it is that is causing the system to come to a crawl. If it's in kernel space, it could be very difficult to determine what it is that's causing it. Do you have a zip drive? If so, delete the /etc/cron.hourly/msec and /etc/cron.daily/msec links and see if the symptoms remain the same. No Zip but I did remove msec . mostly cause I'm to lazy to make all the hand changes I needed to. *grin* Blue skies... Todd Todd one last thing thanks -- Todd Lyons -- MandrakeSoft, Inc. http://www.mandrakesoft.com/ UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things. -- Doug Gwyn Cooker Version mandrake-release-8.3-0.2mdk Kernel 2.4.18-20mdk Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[expert] Networking resources
so i need a NON COMMERCIAL site that is non-windowcentric to help decide on a hub or switch. what type of either, and maybe some other details down the road. I'd really rather get a website than handholding, but here's what I had in mind if it helps: OK, i'm inheriting an old pentium system (100mhz/96MB/1GB HDD) that i intend to use as a firewall/router. the problem I have is that stuffing it full of NICs will probably not be cost effective considering mostly ISA slots on the mobo. |Desktop DSL | INTERNET-Firewall-----|Notebook | | |Printer |Desktop all clients running mandrake; maybe Gibraltar, SNF or openBSD on the FW. thanks Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Bug.... maybe maybe not.
On Sun, 23 Jun 2002 21:29:42 -0400 daRcmaTTeR [EMAIL PROTECTED] said with temporary authority -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Todd Lyons wrote: | James wrote on Sun, Jun 23, 2002 at 12:43:38PM -0700 : | | Where I don't dispute the intent I'm having fits with the | results. Oh and for my camera and my usb printer. They haven't | changed functionality since I got rid of devfs. Maybe because | devfs set them up at first. I'm just getting tired of rebooting | Linux. | | | Have you tried just changing to single user mode, then back to your | regular mode? Many times changing runlevels will fix some oddities | (but not always). You might have to go one step further and remove | some modules so that when you switch back to runlevel 3 (text login) | or 5(graphical login), it will load the required modules back. If | something is funky with the modules in kernel-space though, you | might get the busy error message. The only advice I can offer is | remove the modules in O yeah...I've been seeing that one alot lately on the one Mandrake client when it tries to umount the samba shares being shared from the server. they're always busy for some reason and don't want to unmount. Linux to Linux Samba shares is not a fun thing I'm finding out. Mark Yep Single user mode is runlevel 1 but it won't go back to runlevel 5 completely. At runlevel one no modules are loaded so then when I telinit 5 ... all get reloaded (without error I might add).Also this happens no matter what window manager I use. If I leave the box on at night ... in the am applications can't start, and the box slowly loses X. The error at this point in XFree86.0.log was somthing like ( I lost this log entry during a hard crash... scrambled var/log.) X session died unexpectedly no other entry or info. James PS for Civilme I don't use WesternDigital... won't either. -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQE9FnYEJuZ1geTzHgERAkrbAJ9jAcOWWXuryEhSKm0yiaa6YAtkyACg2p9g PJmD3pHbylmzztERC5brZ+o= =S2qo -END PGP SIGNATURE- Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Networking resources
Jason Guidry wrote on Sun, Jun 23, 2002 at 10:55:49PM -0500 : so i need a NON COMMERCIAL site that is non-windowcentric to help decide on a hub or switch. what type of either, and maybe some other details No need for a site. Get a switch. Don't even give a hub a portion of the thinking process. Get a switch. Unless you are trying to sniff traffic, in that case, get a managed switch which you can make one of the ports a sniffer port. Either way, either get a switch, or get a very good switch. Blue skies... Todd -- Todd Lyons -- MandrakeSoft, Inc. http://www.mandrakesoft.com/ UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things. -- Doug Gwyn Cooker Version mandrake-release-8.3-0.2mdk Kernel 2.4.18-20mdk msg55643/pgp0.pgp Description: PGP signature
Re: [expert] what to do when Socket in use?
On Sun, 2002-06-23 at 16:54, Jeremy Mereness wrote: I'm trying to print to a Windows printer over SAMBA on Mandrake 8.2. When I add the device, the first notable error in the CUPS error_log is LoadDevices: Added device smb... StartListening: NumListeners=3 StartListening: address=7f01 port=631 Unable to bind to socket - Address already in use. Later on, while trying to print something, I get... foomatic-gswrapper: gs '-dBATCH' -dSAFER' etc. etc. etc. Unable to open initial device, quitting. Assuming these two events are related, what can I do about a socket already in use? What do I do to diagnose which socket and what's locking it up? I just had this recently after an upgrade. It was due to an error in my cupsd.conf file that prevented cups from starting properly. Can you print locally? Or is it just printing over samba that doesn't work? -- /curtis Mandrake Linux 8.3 (cooker) Kernel Version 2.4.18-20mdk Uptime 1 day 10 hours 32 minutes Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Networking resources
Why would anybody use a $40 hub when an $800 switch will do. I use a managed switch, I have 20 devices on the LAN, but I keep a cheap hub handy for times I need to sniff. Jim Tarvid On Monday 24 June 2002 12:06 am, you wrote: Jason Guidry wrote on Sun, Jun 23, 2002 at 10:55:49PM -0500 : so i need a NON COMMERCIAL site that is non-windowcentric to help decide on a hub or switch. what type of either, and maybe some other details No need for a site. Get a switch. Don't even give a hub a portion of the thinking process. Get a switch. Unless you are trying to sniff traffic, in that case, get a managed switch which you can make one of the ports a sniffer port. Either way, either get a switch, or get a very good switch. Blue skies... Todd Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Networking resources
On Mon, 24 Jun 2002 00:34:17 -0400 tarvid [EMAIL PROTECTED] said with temporary authority Why would anybody use a $40 hub when an $800 switch will do. Actually I've got a 5 port D-Link switched hub model DSS-5+ (yes it is switched I've got 1 10mbps box and 2 100mpbs boxes connected all the time and my laptops I have come in are either 10 or 100) It only cost 49.95 it's a year old and haven't had a problem one with it. As for cost effective. Check out the used parts stores. You can pick up 10mbps NE2000 cards for about 5 bucks apiece grab 4 if you need 2 and keep the others as spares These are ISA cards and they are generally very reliable. Even old ISA 3coms can be gotten cheap. One supplier near me (Central Computer) still sells new ISA NIC cards because of the number of people doing just what you are doing with old boxes is great enough it justifies a small store handling them. Since your connection via DSL or Cable rarely exceeds 10mbps . it won't slow you down a bit. Keeps the 100mbps cards for box to box transfers inside the LAN. James I use a managed switch, I have 20 devices on the LAN, but I keep a cheap hub handy for times I need to sniff. Jim Tarvid On Monday 24 June 2002 12:06 am, you wrote: Jason Guidry wrote on Sun, Jun 23, 2002 at 10:55:49PM -0500 : so i need a NON COMMERCIAL site that is non-windowcentric to help decide on a hub or switch. what type of either, and maybe some other details No need for a site. Get a switch. Don't even give a hub a portion of the thinking process. Get a switch. Unless you are trying to sniff traffic, in that case, get a managed switch which you can make one of the ports a sniffer port. Either way, either get a switch, or get a very good switch. Blue skies... Todd Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com