Re: [expert] Boot Trouble
Tom Berger wrote: root=/dev/hda5 That's only a start. Plainly, the /etc/fstab will now be incorrect and will have to be altered as well. Best way might be to run the other Linux, mount hda5 and reach in and edit fstab that way. The best way is still to run only from the partition names as installed. He may have to add dummy partitions or re-organise partition order (use only Partition Magic 4.01) to restore things to how they were. -- Ron Stodden
Re: [expert] WinModem question
John Aldrich wrote: Right...that's 2.2.4, According to my read, it was kernel 2.4.x (at least that's how *I* understood it!) 2.3.18 might be released, I'm guessing, around Christmas or My bad, the freeze currently in effect is for 2.4. 2.2.4 was released a long time ago, and 2.3.18 was released sometime in the last week. No winmodems in 2.4. -- Dan Brown, KE6MKS, [EMAIL PROTECTED] "Since all the world is but a story, it were well for thee to buy the more enduring story rather than the story that is less enduring" -- The Judgment of St. Colum Cille
Re: [expert] SMP newbie
On Fri, 17 Sep 1999, you wrote: Hello all! I've taken the plunge and picked up a pair of Celeron 400's and an Abit BP6 board. This is my first foray into the wild yonders of SMP, so forgive my naive questions. I was under the impression that since the kernel and libc libraries natively support SMP, applications would automatically make use of both processors without intervention. I'm wondering whether I was incorrect. As a test, I ripped an audio track from a CD and started 'notlame' (also tested 'bladeenc' with similar results) to encode the wav file. Using top, the encoding process never used more than 50% of CPU time. This makes me think that it's only making use of one processor. Even using 'nice -19 blah' never yielded much more than 50% CPU. Was I naive to think that applications "auto-magically" benefit from SMP? Anyone know of an MP3 encoder that will make use of the second processor? Steve, Were you using Top to see application activity? I think you probably were. When Top shows 50% CPU being used in a dual CPU system, that means that the ripper/encoder were using all of 1 CPU. KPM shows things a little differently. Anyways.. To answer your question. If you want a single application to use both CPUs, it has to be capable of multi-threading. Without that, the program can never use more than 1 CPU at a time. I'm not aware of too many applications that can do that. I know Photoshop when used with NT can use more than 1 CPU. But, there is an advantage.. Take the CD Ripping and Encoding for example. I use Krabber with CD Paranoia and Bladenc. Krabber allows you to start more than 1 encoder at a time. So, I have it start 2. That way, the CD is done ripping in 1/2 the time. Or, I can run Seti@HOME reniced at 20 and still have plenty of horsepower left to do other things so that it gets full use of the other processor. I can also compile apps and still do other things while the app compiles. Darin - -- Cthulhu for President in 2000 - Why settle for the lesser evil
RE: [expert] SMP newbie
It has to do with how many threads the program is able to start. If the program can work with multiple threads in parallel then it will use both CPU's. However, that is generally a function of the scheduler in the kernel to decide where each process (or thread) will run and when. So I would think that compressing would be hard to parallelize. On the other hand you can probably compress and write an image to the CDR at the same time without much problems. Or maybe even runt setiathome and not cause trouble. -Original Message- From: Steve Philp [mailto:[EMAIL PROTECTED]] Sent: Friday, September 17, 1999 12:00 AM To: [EMAIL PROTECTED] Subject: [expert] SMP newbie Hello all! I've taken the plunge and picked up a pair of Celeron 400's and an Abit BP6 board. This is my first foray into the wild yonders of SMP, so forgive my naive questions. I was under the impression that since the kernel and libc libraries natively support SMP, applications would automatically make use of both processors without intervention. I'm wondering whether I was incorrect. As a test, I ripped an audio track from a CD and started 'notlame' (also tested 'bladeenc' with similar results) to encode the wav file. Using top, the encoding process never used more than 50% of CPU time. This makes me think that it's only making use of one processor. Even using 'nice -19 blah' never yielded much more than 50% CPU. Was I naive to think that applications "auto-magically" benefit from SMP? Anyone know of an MP3 encoder that will make use of the second processor? Thanks for any tips and tricks! -- Steve Philp Network Administrator Advance Packaging Corporation [EMAIL PROTECTED]
RE: [expert] SMP newbie
Same direction of precedent answer , if the app is not multithread don't expect more. But as it was told before, you should use many encoders in parallel, or try to multithread your encoder ( it exists a multithread lib for SMP i think ) ex : bladeenc bladeenc .. Warning - compiling a kernel , see the SMP linux page. ( prblm with make depends i think ) -Message d'origine- De: Darin [mailto:[EMAIL PROTECTED]] Date: vendredi 17 septembre 1999 15:38 À: [EMAIL PROTECTED] Objet: Re: [expert] SMP newbie On Fri, 17 Sep 1999, you wrote: Hello all! I've taken the plunge and picked up a pair of Celeron 400's and an Abit BP6 board. This is my first foray into the wild yonders of SMP, so forgive my naive questions. I was under the impression that since the kernel and libc libraries natively support SMP, applications would automatically make use of both processors without intervention. I'm wondering whether I was incorrect. As a test, I ripped an audio track from a CD and started 'notlame' (also tested 'bladeenc' with similar results) to encode the wav file. Using top, the encoding process never used more than 50% of CPU time. This makes me think that it's only making use of one processor. Even using 'nice -19 blah' never yielded much more than 50% CPU. Was I naive to think that applications "auto-magically" benefit from SMP? Anyone know of an MP3 encoder that will make use of the second processor? Steve, Were you using Top to see application activity? I think you probably were. When Top shows 50% CPU being used in a dual CPU system, that means that the ripper/encoder were using all of 1 CPU. KPM shows things a little differently. Anyways.. To answer your question. If you want a single application to use both CPUs, it has to be capable of multi-threading. Without that, the program can never use more than 1 CPU at a time. I'm not aware of too many applications that can do that. I know Photoshop when used with NT can use more than 1 CPU. But, there is an advantage.. Take the CD Ripping and Encoding for example. I use Krabber with CD Paranoia and Bladenc. Krabber allows you to start more than 1 encoder at a time. So, I have it start 2. That way, the CD is done ripping in 1/2 the time. Or, I can run Seti@HOME reniced at 20 and still have plenty of horsepower left to do other things so that it gets full use of the other processor. I can also compile apps and still do other things while the app compiles. Darin - -- Cthulhu for President in 2000 - Why settle for the lesser evil
RE: [expert] SMP newbie 2
Have a look on that URL : Mirror http://www.irisa.fr/prive/dmentre/smp-faq/smp-faq.html or http://www.phy.duke.edu/brahma/smp-faq/ -Message d'origine- De: Darin [mailto:[EMAIL PROTECTED]] Date: vendredi 17 septembre 1999 15:38 À: [EMAIL PROTECTED] Objet: Re: [expert] SMP newbie On Fri, 17 Sep 1999, you wrote: Hello all! I've taken the plunge and picked up a pair of Celeron 400's and an Abit BP6 board. This is my first foray into the wild yonders of SMP, so forgive my naive questions. I was under the impression that since the kernel and libc libraries natively support SMP, applications would automatically make use of both processors without intervention. I'm wondering whether I was incorrect. As a test, I ripped an audio track from a CD and started 'notlame' (also tested 'bladeenc' with similar results) to encode the wav file. Using top, the encoding process never used more than 50% of CPU time. This makes me think that it's only making use of one processor. Even using 'nice -19 blah' never yielded much more than 50% CPU. Was I naive to think that applications "auto-magically" benefit from SMP? Anyone know of an MP3 encoder that will make use of the second processor? Steve, Were you using Top to see application activity? I think you probably were. When Top shows 50% CPU being used in a dual CPU system, that means that the ripper/encoder were using all of 1 CPU. KPM shows things a little differently. Anyways.. To answer your question. If you want a single application to use both CPUs, it has to be capable of multi-threading. Without that, the program can never use more than 1 CPU at a time. I'm not aware of too many applications that can do that. I know Photoshop when used with NT can use more than 1 CPU. But, there is an advantage.. Take the CD Ripping and Encoding for example. I use Krabber with CD Paranoia and Bladenc. Krabber allows you to start more than 1 encoder at a time. So, I have it start 2. That way, the CD is done ripping in 1/2 the time. Or, I can run Seti@HOME reniced at 20 and still have plenty of horsepower left to do other things so that it gets full use of the other processor. I can also compile apps and still do other things while the app compiles. Darin - -- Cthulhu for President in 2000 - Why settle for the lesser evil
Re: [expert] DHCP SMB
I've got it working now. I tried both dhcpcd, and upgrading pump to 0.7. These both seem to work fine, but the fix to my problem finally turned up in HOWTO/unmaintained/mini/Dynamic-IP-Hacks. Thanks, Karl Rasmussen
Re: [expert] valid modprobe aliases?
Tom Berger [EMAIL PROTECTED] writes: Harald Schreiber wrote: Tom Berger [EMAIL PROTECTED] writes: Hi there! I just wondered (again): If you define aliases in /etc/conf.modules how does the system know which device they refer to? An example: If I load alias scsi_hostadapter [module-name] it works. What if I'd type alias my_yummy_scsi_card [module-name] ? Valid kernel-parameters are described in kernel-parameters.txt, but what about valid module-aliases? Obviously I am missing something. May anyone help me? [...] Hi Tom, in the special case of "alias scsi_hostadapter [module-name]" this entry is only needed by the shell script "/sbin/mkinitrd" line 158-165: --88-- if [ -f /etc/conf.modules ]; then scsimodules=`grep scsi_hostadapter /etc/conf.modules | grep -v '^[ ]*#' | sort -u | awk '{ print $3 }'` for n in $scsimodules; do # for now allow scsi modules to come from anywhere. There are some # RAID controllers with drivers in block/ findmodule "" $n done fi --8-8-- If you change the entry in /etc/conf.modules alias scsi_hostadapter [module-name] to alias my_yummy_scsi_card [module-name] your initial ramdisk will not contain the module for your SCSI hostadapter and your machine will not boot if you are booting from a SCSI drive and have your SCSI host adapter support not built in the kernel. Hi Harald, thanks a lot for your explaination but I still don't understand ;-). I see the case with mkinitrd, but what if I don't need any SCSI devices on startup and the card driver is built as a module? If there is now a request *at runtime* (let's say to a SCSI CD burner) modprobe looks into /etc/conf.modules and sees the line alias scsi_hostadapter [module-name] How does it know that the string 'scsi_hostadapter' refers to a SCSI host adapter? Or did I got the wrong way round and modprobe doesn't need to look up conf.modules since the card has been detected during boot? Does modprobe query /proc/scsi first? Does your explaination mean that I don't need this entry at all if I don't need SCSI during init? Sorry if I seem to look exceptionally dim but I really want to understand this correctly. I really hope you take the time to enlighten me about it. [...] Hi Tom, to be honest I didn't think of this case in my previous mail at all and I don't understand it completely too. Obviously my statement that the entry alias scsi_hostadapter [module-name] is only needed by /sbin/mkinitrd is wrong. I have looked at the kernel sources and found this in line 3220-3224 of /usr/src/linux/drivers/scsi/scsi.c (kernel-2.2.29-27mdk) #ifdef CONFIG_KMOD if (scsi_hosts == NULL) request_module("scsi_hostadapter"); #endif So I think if the kernel detects that it needs a driver for a SCSI hostadapter and no one is loaded it requests kmod to load a module "scsi_hostadapter". Then kmod looks up /etc/conf.modules for a line alias scsi_hostadapter [module] and if this line exits kmod loads [module]. If you want to know this precisely you should ask Bjørn Ekwall [EMAIL PROTECTED] who is the expert for this. Regards Harald -- --- Harald Schreiber,Nizzaalle 26,D-52072 Aachen, Germany Phone: +49-241-9108015, Email: [EMAIL PROTECTED] ---
[expert] Error message at boot time
Hello there! When I run lilo, i have the following messages "partition check hdb : set multimode : status=0x51 (Drive ready SeekComplete Error) hdb : set multimode : error=0x04 (drive status error) hdb1, hdb2 (the drive is an ST 34321A, 4.6 Gb w/128kb cache, CHS=523/255/62) I must say that these things already happened when i was under RH5.1 Except for that everything goes well and the partitions are correctly mounted even the vfat ons...quite strange anybody any idea??? Thanx
Re: [expert] CD-Record with 700mb disks.
The last time I personally checked for the cdwrite program it told me to reference the cdrecord application. Due to it's newer and more updated (but that was 2 months ago). Drake Jackson At 03:59 PM 9/16/1999 -0600, you wrote: On Thu, 16 Sep 1999, Drake wrote: Here is what I know. The cdrecord program that comes with the XCDRoast cannot record 80min CD's. Due to it's out of it's capacity. Just like it cannot do multi session cd's on some sony drives. And in order to record cd's in linux you need the cdrecord program (it run's on the console). All xterm cd writer's use it. GCD, XCDRoast and such. Drake Jackson Somebody might want to look into cdwrite for those of you with actual scsi drives. cdrecord does provide an iso size param which i'm sure you would need to overburn. it also provides a check against the size of the cd. My drive is supposedly capable of overburning but i need to get my hands on some 80 minute blanks, to do some playing. -- MandrakeSoft http://www.mandrakesoft.com/ --Axalon
Re: [expert] Couple questions
Get Mandrake's lothar app. at: www.linux-mandrake.com/lothar It will help you with configuring it. Drake Jackson At 09:16 PM 9/16/1999 -0700, you wrote: Axalon Bloodstone wrote: On Thu, 16 Sep 1999, Vincent Danen wrote: Instead of writing a few messages, I figured I'd ask all my questions in this one, so please bear with me. I have a genuine SoundBlaster PRO ISA soundcard and for the life of me I can't get the bloody thing to work under Mandrake (or RedHat) with soundconfig... even lothar didn't set it up right. The only time I got it working was using OSS under SuSE... should I install OSS under Mandrake and use it instead of sndconfig? How is this going to affect the sound daemon, enlightenment's sound, etc if I do? If you want to install it install it it won't break it, but isapnp should really be able to handle it. None that i know of. Time configs. People are using atomic clocks and other time servers to update their own clocks. How do I do this? Do I need a time server in my own timezone? I tried doing this with some tips in Linux Journal (Sept 99 issue) and the NTP servers, but I could never find one in my own timezone (MST7MDT). Is there a way to offset the reported time? Ie. if I pick an NTP server that is GMT0 is there a way I can have a perl script (I'm assuming there is a program to do this also, but I don't know what it is... enlightenment there would help) report it back as my local timezone or give an offset (ie. -7)? xnntp just needs the offset told to it if i remeber correctly, rdate does the timezone conversion automagicly, but even if it didn't time.nist.gov is in your timezone Dang... there was another question, but now I can't remember it... =( The answer is blue. Only if upstairs is round. Bob J.
Re: [expert] CD-Record with 700mb disks.
That would explain it because I still use 6.0 not 6.1 so I was unaware of the update. Drake Jackson At 11:25 PM 9/16/1999 +0200, you wrote: On Thu, 16 Sep 1999, Drake wrote: The cdrecord program that comes with the XCDRoast cannot record 80min CD's. Due to it's out of it's capacity. Just like it cannot do multi session cd's on some sony drives. And in order to record cd's in linux you need the cdrecord program (it run's on the console). You're forgetting about a minor modification I made to the Mandrake xcdroast package (as of 6.1) - it now uses the "normal" cdrecord, so it shouldn't be limited the way other versions are. LLaP bero
[expert] statd vulnerability
Hi, I used SAINT to scan my network and one machine running Mandrake 6.0 showed to have a security problem with statd.. http://www.cert.org/advisories/CA-97.26.statd.html .. is it possible or is it a bad interpretation of another problem? thanks alain
[expert] Update from RH 6.0
Can you upgrade to Mandrake 6.1 directly from RH 6.0? or do I have to do a full install? Matthew R. Singer [EMAIL PROTECTED] Real Time Systems Engineer Voice: 954-924-7052 Florida Atlantic University Fax : 954-924-7007 Seatech Research Center
Re: [expert] Update from RH 6.0
On Fri, 17 Sep 1999, Matthew Singer wrote: Can you upgrade to Mandrake 6.1 directly from RH 6.0? or do I have to do a full install? Matthew R. Singer [EMAIL PROTECTED] Real Time Systems Engineer Voice: 954-924-7052 Florida Atlantic University Fax : 954-924-7007 Seatech Research Center I'm not aware of any major problems, after your upgrade run rpm -qa | grep -v mdk This will tell you anything not upgraded to our packages (with the exception of kdevelop, seems i forgot to set %release to 1mdk sorry i just spoted that, it is Mandrake adapted though..) And of course as always you'll want to inspect the /tmp/upgrade.log -- MandrakeSoft http://www.mandrakesoft.com/ --Axalon
Re: [expert] SMP newbie
BOUCARON Julien CNET/DSE/SOP wrote: Same direction of precedent answer , if the app is not multithread don't expect more. But as it was told before, you should use many encoders in parallel, or try to multithread your encoder ( it exists a multithread lib for SMP i think ) ex : bladeenc bladeenc .. Warning - compiling a kernel , see the SMP linux page. ( prblm with make depends i think ) A big thank you to everyone who answered, it certainly has cleared up the mistakes in my mind. I had -thought- that the multi-threaded nature of glibc _automatically_ made applications SMP-capable. I now see that is incorrect. I'll take the advice on starting multiple encoders to get the job done. Again, thank you! -- Steve Philp Network Administrator Advance Packaging Corporation [EMAIL PROTECTED]
Re: [expert] valid modprobe aliases?
Harald Schreiber wrote: Tom Berger [EMAIL PROTECTED] writes: Harald Schreiber wrote: Tom Berger [EMAIL PROTECTED] writes: [snip] [...] Hi Tom, to be honest I didn't think of this case in my previous mail at all and I don't understand it completely too. Obviously my statement that the entry alias scsi_hostadapter [module-name] is only needed by /sbin/mkinitrd is wrong. I have looked at the kernel sources and found this in line 3220-3224 of /usr/src/linux/drivers/scsi/scsi.c (kernel-2.2.29-27mdk) #ifdef CONFIG_KMOD if (scsi_hosts == NULL) request_module("scsi_hostadapter"); #endif So I think if the kernel detects that it needs a driver for a SCSI hostadapter and no one is loaded it requests kmod to load a module "scsi_hostadapter". Then kmod looks up /etc/conf.modules for a line alias scsi_hostadapter [module] and if this line exits kmod loads [module]. If you want to know this precisely you should ask Bjørn Ekwall [EMAIL PROTECTED] who is the expert for this. Regards Harald Sounds reasonable enough to me ;-) I do find it odd that this isn't documented somewhere, though. Thanks a lot! tom -- --- Harald Schreiber,Nizzaalle 26,D-52072 Aachen, Germany Phone: +49-241-9108015, Email: [EMAIL PROTECTED] --- -- "Never trust a Shoggoth!" Thomas 'tom' Berger, [EMAIL PROTECTED] LSTB - "advancing the community", [EMAIL PROTECTED] UMS: +49-(0)89-1488-208756 fon: +49-(0)30-45809013
Re: [expert] Couple questions
On Fri, 17 Sep 1999, Drake wrote: Get Mandrake's lothar app. at: www.linux-mandrake.com/lothar It will help you with configuring it. Actually, to be quite honest, it made more of a mess of it than using sndconfig did... =( I have a genuine SoundBlaster PRO ISA soundcard and for the life of me I can't get the bloody thing to work under Mandrake (or RedHat) with soundconfig... even lothar didn't set it up right. The only time I got it working was using OSS under SuSE... should I install OSS under Mandrake and use it instead of sndconfig? How is this going to affect the sound daemon, enlightenment's sound, etc if I do? Vincent Danen ([EMAIL PROTECTED]) . ICQ: 16978834 BBBS/LiI . Internet Rex for Linux Beta Stronghold Enterprises/X BBS . http://shx.tzo.net Telnet://shx.tzo.net . Weblogin-http://shx.tzo.net/shx
[expert] upgrading gnome
hi all, i have a problem when try to upgrade gnome-libs. i d/l gnome-libs-1.0.12-1mdk.i586.rpm and install it, and got this error: /dev/dsp: No such device Audio device open for 44.1Khz, stereo, 16bit failed Trying 44.1Khz, 8bit stereo. /dev/dsp: No such device Audio device open for 44.1Khz, stereo, 8bit failed Trying 22.05Khz, 8bit stereo. ... Sound device inadequate for Esound. Fatal. every time i run gnome applications. i don't have this problem before with 1.0.9, next, i tried to compile gnome-libs-1.0.12-1mdk.src.rpm, and install it, which caused same error. it's strange, because i don't have sound card, sound support also turned off from the first time, and gnome-libs-1.0.9 from Mandrake 6.0 cd is worked find. i have to upgrade it because i have to compile glade. appreciate any help. TIA. Best regards, Andy -- chandy a7 indo 607 net 607 id http://gmail.cakraweb.com http://eworld.indoglobal.com/eworld
Re: [expert] Couple questions
On Fri, 17 Sep 1999, Alan Shoemaker wrote: Vincentto set your system clock from pretty much anywhere just type: rdate -sp time.nist.gov Just one more thing, do it when you're connected to your ISP (-: Why? I'm connected 24/7 via cable.. I suppose I could chuck it in rc.local, but I was thinking of a cronjob... any reason why I shouldn't do it once a day via cron? VincentI notice that running Linux all day long compared to running Win98 that with Linux there is a whole lot more time loss than with Win98. I only needed to update the clock about once a month with Win98, but with Linux I notice the time slip in the space of several hours. So if I had a 24/7 connection I'd auto-update the clock at least 4 times a day. Sounds like cronjob material to me!! (-: Hmmm... thanx for the tip, Alan. I haven't really paid that much time to the time in linux since I started running it since I thought it based it all on the hardware clock, not software (which I'm now assuming it does). I'll have to observe the other machine and see what kind of time loss ther is with Mandrake 6.0. Vincent Danen ([EMAIL PROTECTED]) . ICQ: 16978834 BBBS/LiI . Internet Rex for Linux Beta Stronghold Enterprises/X BBS . http://shx.tzo.net Telnet://shx.tzo.net . Weblogin-http://shx.tzo.net/shx
Re: [expert] Couple questions
On Fri, 17 Sep 1999, Jean-Louis Debert wrote: I have a genuine SoundBlaster PRO ISA soundcard and for the life of me I can't get the bloody thing to work under Mandrake (or RedHat) with soundconfig... even lothar didn't set it up right. The only time I got it working was using OSS under SuSE... should I install OSS under Mandrake and use it instead of sndconfig? How is this going to affect the sound daemon, enlightenment's sound, etc if I do? If you want to install it install it it won't break it, but isapnp should really be able to handle it. Sorry, but AFAIK, Soundblaster PRO ISA is _NOT_ a PNP board, it has jumpers for config (I'm sure, I have one, that's a really vintage one, the very first Sounblaster that did support stereo ... albeit limited to 22k). So his question really boils down to: how does one specify parameters to sndconfig and friends, to match the jumper config ??? Yeah, that's pretty much what I figured too... Since the card isn't PNP, I told sndconfig manually what the jumper settings were, and when it played the demo sound files, they sounded just fine... but when I use x11amp or mpg123, the sound comes out absolutely awful... more static than anything else so something is definately not right. I'll fiddle a bit when I reinstall and put 6.1 on here tomorrow, but I have a feeling I might be going with OSS since I know it worked good under SuSE. Vincent Danen ([EMAIL PROTECTED]) . ICQ: 16978834 BBBS/LiI . Internet Rex for Linux Beta Stronghold Enterprises/X BBS . http://shx.tzo.net Telnet://shx.tzo.net . Weblogin-http://shx.tzo.net/shx
[expert] Helios is out
The official announcement is on the main site, theres an ISO on the primary and seconday mirrors! WooHoo! I'm glad I've been using fmirror on my system here for the last few days.. I was wondering why there were no updates today. -- Cthulhu for President in 2000 - Why settle for the lesser evil
Re: [expert] Helios is out
This is great news. One question that is on my mine is: Does this kernel blow up VMWare? If not I'll start the download ASAP! cheers, Sheldon. Darin wrote: The official announcement is on the main site, theres an ISO on the primary and seconday mirrors! WooHoo! I'm glad I've been using fmirror on my system here for the last few days.. I was wondering why there were no updates today. -- Cthulhu for President in 2000 - Why settle for the lesser evil