Scsi cd-rom support in arjanv's 2.6 test series kernel ?
Hello all, Has anyone out there had any problems with their scsi cdrom when running arjanv's 2.6 test series kernels ? The problem I am having with it is, the kernel detects my cdrom on startup giving me a message like Vendor: YAMAHA Model: CRW2100S Rev: 1.0N Type: CD-ROM ANSI SCSI revision: 02 but when i try to mount /dev/sdc0 -t iso9660 -r /mnt/cdrom/ i get the message mount: special device /dev/sdc0 does not exist i double checked to see if the sr_mod (scsi cdrom module) was loaded and it wasn't so i did a modprobe sr_mod and it loaded successfully, but the mount command still produces the same output as it did before. Also when I do an ls /dev/scd0 it shows /dev/scd0 in yellow writing with a black background, which i have no idea what that means. Just to exclude some things my scsi host controller and hard disk are working fine, and I can also use my ide cdrom drive. Any thoughts on this would be much appreciated, Thanks, Adam Bowns -- ++ | Adam Bowns | | Email: [EMAIL PROTECTED] | | http://www.bowns.co.uk | ++ -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
Executing commands on startup and shutdown
Hello everyone, I have been trying to execute a command on startup, then a different command on shutdown. So far I have had success with executing the command on startup, but for some reason, via the exact same method I cannot execute the command on shutdown. Here's what im doing: - I have the a file names dns-client in my /etc/rc.d/init.d/ directory containing the following. - #!/bin/sh . /etc/rc.d/init.d/functions case $1 in start) echo -n Starting dns-client: /usr/bin/dns-client-up echo ;; stop) echo -n Shutting down ddclient: /usr/bin/dns-client-down echo ;; *) echo Usage: dns-client {start|stop} exit 1 esac exit 0 - then i have symlinks to this file in my rcX.d dirs, with S's where i want the start part of the case statement to execute, and K's where i want the stop part of the case statement to execute, here is an example of my rc5.d symlink S96dns-client - ../init.d/dns-client The starting of the client is working fine so there is no need to bother with that, but this is what i have in my rc6.d directory K02dns-client - ../init.d/dns-client and my rc0.d directory K02dns-client - ../init.d/dns-client As far as I can tell this should execute the stop part of the case statement when the system enters runlevel 6 or 0... but its not, its as if nothing happens, no errors, nothing... the system just shuts down as normal. btw, all file permissions are the the same as the other files in those dirs. Have I got it all wrong or should this setup work ? Thanks in advance, Adam Bowns http://www.bowns.co.uk -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
RE: Executing commands on startup and shutdown
Thanks Hugh, I tried that and Its working as expected now. Regards, Adam Bowns On Tue, 2003-09-02 at 04:15, Hugh E Cruickshank wrote: Hi Adam: That one got me too. Try this suggestion that Brian Ashe gave me last year: Try this... (It's just a WAG) Add a line... touch /var/lock/subsys/fapsrv to the start portion of your script. and of course it's counterpart... rm -f /var/lock/subsys/fapsrv to the stop portion. IIRC, RHL needs to see that the thing was started in order to execute the stop. It does this by checking for the existence of a file in /var/lock/subsys/ that matches the name of the script being called (after the K?? part). HTH Regards, Hugh -- Hugh E Cruickshank, Forward Software, www.forward-software.com From: Adam Bowns Sent: Monday, September 01, 2003 16:10 To: [EMAIL PROTECTED] Subject: Executing commands on startup and shutdown Hello everyone, I have been trying to execute a command on startup, then a different command on shutdown. So far I have had success with executing the command on startup, but for some reason, via the exact same method I cannot execute the command on shutdown. Here's what im doing: - I have the a file names dns-client in my /etc/rc.d/init.d/ directory containing the following. - #!/bin/sh . /etc/rc.d/init.d/functions case $1 in start) echo -n Starting dns-client: /usr/bin/dns-client-up echo ;; stop) echo -n Shutting down ddclient: /usr/bin/dns-client-down echo ;; *) echo Usage: dns-client {start|stop} exit 1 esac exit 0 - then i have symlinks to this file in my rcX.d dirs, with S's where i want the start part of the case statement to execute, and K's where i want the stop part of the case statement to execute, here is an example of my rc5.d symlink S96dns-client - ../init.d/dns-client The starting of the client is working fine so there is no need to bother with that, but this is what i have in my rc6.d directory K02dns-client - ../init.d/dns-client and my rc0.d directory K02dns-client - ../init.d/dns-client As far as I can tell this should execute the stop part of the case statement when the system enters runlevel 6 or 0... but its not, its as if nothing happens, no errors, nothing... the system just shuts down as normal. btw, all file permissions are the the same as the other files in those dirs. Have I got it all wrong or should this setup work ? Thanks in advance, Adam Bowns http://www.bowns.co.uk -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.515 / Virus Database: 313 - Release Date: 03/09/01 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.515 / Virus Database: 313 - Release Date: 03/09/01 -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
Strange goings on in sendmail logs
Hello all, Looking through my mail log I noticed some strange flagged entries. These were. sendmail[6056]: h7MB8Ucu006055: forward /root/.forward.Unimatrix0: Permission denied sendmail[6056]: h7MB8Ucu006055: forward /root/.forward: Permission denied from what I have read about on the subject I understand that a .forward file is used to forward mail to another host, what is puzzling me is that I have never created a root/.forward file, nor have I requested for any mail to be forwarded by any other means. I was wondering if anyone out there knew the sort of thing that could cause this, as I don't know if its a malicious attempt to forward my mail or if i have simply mis-configured something. Thanks in advance, Adam Bowns -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
Re: Strange goings on in sendmail logs
On Fri, 2003-08-22 at 18:50, Gerry Doris wrote: Hello all, Looking through my mail log I noticed some strange flagged entries. These were. sendmail[6056]: h7MB8Ucu006055: forward /root/.forward.Unimatrix0: Permission denied sendmail[6056]: h7MB8Ucu006055: forward /root/.forward: Permission denied from what I have read about on the subject I understand that a .forward file is used to forward mail to another host, what is puzzling me is that I have never created a root/.forward file, nor have I requested for any mail to be forwarded by any other means. I was wondering if anyone out there knew the sort of thing that could cause this, as I don't know if its a malicious attempt to forward my mail or if i have simply mis-configured something. Thanks in advance, Adam Bowns Are you really sure you haven't created a .forward file in /root? Perhaps you used a vacation program at some point? The first thing I'd do is disconnect your box from the internet. Next open the .forward file and see what's in it. Hopefully, that will jog your memory. If it still doesn't look like something you've done then you have to assume your system has been broken into. You might want to run chkrootkit on your system. It will do a pretty thorough job of checking for rootkits that may have been installed. However, once someone has gotten in the only proper alternative is to reload you box. What version of OS are you running? Have you been keeping up with all the security patches? Gerry I have checked again but the .forward file doesn't exist in my /root/ directory. This error is confusing me because I would expect it to give a No such file or directory error instead of a permission denied. The only thing that I have thought of was that it could be apache trying to send email as root, and its getting a permission denied on the /root/ directory, not the .forward file itself... but thats just a stab in the dark. As for the system, its on redhat 9, and fully up to date with all security patches. Thanks for the reply, Adam Bowns -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
To grep, or not to grep, that is the question :-)
Hello all, What I am trying to do is run a command and take a very specific part of a line of its output and save it to a file. Here's the route i've been going down so far... with no success might I add. the program im running is called sensors (lm_sensors) and run on its own gives output of the temperatures of a handful of devices... I've narrowed the output down to just the line im interested in with the command sensors |grep CPU: |cat cpu which gives me a file called cpu with contents: - CPU: +53.4?C (limit = +120?C, hysteresis = +100?C) the problem im having is that i need the file to just contain: - 53.4 or whatever the value was when sensors was run. i've tried variations of this command like: - sensors |grep CPU: |grep -o +##.#? |cat cpu but i just cant find a way to get it to do what i want. If any of you know the command that will give me the output I'm looking for, or know a different way of doing it, that would be fantastic. Thanks in advance, Adam Bowns -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
Re: To grep, or not to grep, that is the question :-)
Thanks for all your responses, you've all been a great help. Thanks again, Adam Bowns -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
Re: Help! Monitor won't wake up from monitor sleep mode. AnythingI can do?
Have you tried ctl+alt+backspace to restart the x server, it shouldn't interfere with your other servers you have running. On Fri, 2003-06-27 at 23:58, Doug Lerner wrote: On 6/27/03 10:59 PM, Reuben D. Budiardja [EMAIL PROTECTED] wrote: I had a similar problem twice before (in the last year) with Redhat 7.3. It's weird. I tried everything that I could think of, but the monitor just didn't wake up. In the other case, it's showing No signal thing. The only I could do is reboot the machine, then everything is fine. I just press CTRL-ALT-DEL to reboot it. Those happens when the machine already had an uptime over a month (I *hate* to loose those uptimes). In one day, it was OK, and the next day I came into my office, it's like that. So, sorry I can't help, but can't you try rebooting with CTRL+ALT+DEL as a last resort ? Yes. That will be my last resort. The reason I am hesitant is that I am running a forums server on this machine and unless I can manually restart it after Linux starts up again people won't be able to connect. I was worried that this was a graphics card problem. If the graphics card is dead then I can't access do backups, start up different things that are not in rc.local yet, etc. So I was hoping there was some other way of tweaking the video signal to respond before resorting to that. doug -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
Sendmail, mail spooling
I have set up sendmail, and it is sending and recieving mail fine. I am completely new to this program so i am a bit confused about something and I was wondering if anyone could explain what i'm doing wrong. Recieved mail is going to a file called /var/mail/username I am using evolution to read that file as a standard unix mbox spoll This works fine until i have more than one message. I have to delete the first message until the second message will show up, or more to the point, I can only ever see 1 message at a time. Is it possible to have all my emails show up at once ? Any help would be great. Adam -- +---+ | Adam Bowns | | [EMAIL PROTECTED] | | http://homepage.ntlworld.com/adam-bowns/ | +---+ -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
Re: Sendmail, mail spooling
I seem to have solved it now. I think its a bug with evolution. If i do a send/recieve no new mail shows up. But if i click about in the mail window for a while the new mail shows up. This is still not an ideal solution though and if anyone else has had this problem and fixed it could they let me know. Thanks, Adam On Tue, 2003-03-04 at 12:16, Adam Bowns wrote: I have set up sendmail, and it is sending and recieving mail fine. I am completely new to this program so i am a bit confused about something and I was wondering if anyone could explain what i'm doing wrong. Recieved mail is going to a file called /var/mail/username I am using evolution to read that file as a standard unix mbox spoll This works fine until i have more than one message. I have to delete the first message until the second message will show up, or more to the point, I can only ever see 1 message at a time. Is it possible to have all my emails show up at once ? Any help would be great. Adam -- +---+ | Adam Bowns | | [EMAIL PROTECTED] | | http://homepage.ntlworld.com/adam-bowns/ | +---+ -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list -- +---+ | Adam Bowns | | [EMAIL PROTECTED] | | http://homepage.ntlworld.com/adam-bowns/ | +---+ -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
Samba printer sharing problem
I'm having some problems sharing my printer with samba. The printer works fine locally, but whenever I try to connect to it from a windows machine i get the error message Access denied, unable to connect the parts of my /etc/smb.conf concerned with printing look like this printcap name = /etc/printcap load printers = yes printing = lprng [printers] comment = All Printers path = /var/spool/samba printer = raw browseable = yes guest ok = yes writable = no printable = yes And my /etc/printcap looks like this Print:\ :ml#0:\ :mx#0:\ :sd=/var/spool/lpd/Print:\ :af=/var/spool/lpd/Print/Print.acct:\ :sh:\ :lp=/dev/usb/lp0:\ :lpd_bounce=true:\ :if=/usr/share/printconf/util/mf_wrapper: Seen as its an access denied error i though it could be to do with the permissions of /var/spool/samba but they are set drwxrwxrwt which as far as i know is correct. The ip of the server is 192.168.0.2. and from the windows machine I am trying to connect by typing \\192.168.0.2\printers I am new to the world of samba so if I'm betting i've made an obvious mistake somewhere along the line. Thanks in advance, Adam -- +---+ | Adam Bowns | | [EMAIL PROTECTED] | | http://homepage.ntlworld.com/adam-bowns/ | +---+ -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list
Re: Samba printer sharing problem
On Wed, 2003-02-05 at 18:25, Raymundo M. Vega wrote: Are you running iptables? what about killing it and test? I had similar problem, i have an external firewall so there was no risk if i tun off iptables. Thanks for you advice, i gave it a go but still no luck :-( I might be wrong but i dont think its because of my firewall because the windows computers have no problem connection to the shared folders. I think it's something to do with the command i am using to connect. what command do you guys use to connect to the printer ? \\hostname\printers ? thanks for your help though. -- +---+ | Adam Bowns | | [EMAIL PROTECTED] | | http://homepage.ntlworld.com/adam-bowns/ | +---+ -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list
Re: up2date
Yes you can still use up2date. The only limitation is that you can only manage 1 machine per account. Alternately you can purchase a redhat network subscription (not very expensive I think) and you can manage multiple machines from the one account and you will get priority over the non paying users when downloading updates, Which is particularly useful at times like now when their server is swamped with people downloading the latest kernel fix. Hope this helped. Adam On Tue, 2003-02-04 at 21:27, Ze Ji Li wrote: Hi, If I don't have the activation code, can I still use up2date? For example, I just get the images without actually buying the CD set and install it on my computer. Will I able to use up2date? Thank you in advance. Ze -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list -- +---+ | Adam Bowns | | [EMAIL PROTECTED] | | http://homepage.ntlworld.com/adam-bowns/ | +---+ -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list
Re: Rebuilding .src.rpm's for performance
On Wed, 2002-11-20 at 14:22, Kent Borg wrote: Do you (or could you) compile Linux kernels very often? Then go for it, kernel compiles seem to saturate the CPU pretty well. It sounds like you have a nice fast machine. Making it faster would be fun. (And don't listen to those who say you should not have such fun!) Yes, i've been running custom kernels ever since i realized how massive the redhat stock kernels are (not that this is a bad thing, i appreciate that they have to do it for default wide spread compatibility, but its just not for me). I haven't dared venture into the dev tree yet though because i like to have a pretty stable system also. but the second 2.6 is on the mirrors its mine :-) After reading all your submissions I/you... we :-) have solved the problem i was having. creating the /etc/rpmrc with : - optflags: athlon -O3 -march=athlon-xp end and starting the rebuild process with the command:- rpmbuild --rebuild --target athlon-linux-gnu this is compiling everything i have tested it on so far using the -o3 flag and the -march=athlon-xp flag. its producing light speed binaries for me, but the downside is its taking ages to compile. but i can cope with that :-) Thanks for all your help guys you've been great, Adam PS, I have another question similar to this about compiling the kernel sources using the -O3 and -march=athlon-xp flags, but i will post it in its own thread so it is clear for everyone, thanks again. -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list
Compiling kernel sources with optimization.
When compiling my custom kernel's, by the look of it, it seems to be using the -march=athlon and -O2 flags by default. I think its got the -march=athlon flag from when i selected processor type in the configuration process. My question is:- Is it possible to override these values and instead use say -march=athlon-xp and -O3 I've looked trough the Makefile but I couldn't see an obvious way of doing it from there, so if it is possible to do, how would i go about doing it ? Thanks in advance, Adam -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list
Mozilla java plugin
hello, I have just rebuild mozilla 1.1 and installed it. it works fine apart from its refusing to recognise my java plugin. I symlinked libjavaplugin to the mozilla plugings directory but it refuses to recognise its there at all. I double checked the symlink and it is pointing to the right place. also, other plugins i have added to the plugin dir are working fine, like shockwave and flash. This has worked for me with all versions of mozilla apart from this troublesome 1.1 release. If any of you out there have upgraded to 1.1 and have this problem please let me know how you fixed it. thanks, Adam -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list
RE: Mozilla java plugin
I have the symlink in already. But mozilla is refusing to recognise it. On Thu, 2002-11-21 at 17:38, Carter, Shaun G wrote: % ln -s /usr/local/j2re1.4.1/plugin/i386/mozilla/javaplugin_oji.so ~/mozilla-1.0/plugins/ or % su # become root % ln -s /usr/local/j2re1.4.1/plugin/i386/mozilla/javaplugin_oji.so /usr/lib/mozilla/plugins/ Try both (replacing directories with yours of course). Works great for me. Shaun -Original Message- From: Adam Bowns [mailto:[EMAIL PROTECTED]] Sent: Thursday, November 21, 2002 12:15 PM To: redhat Mailing List Subject: Mozilla java plugin hello, I have just rebuild mozilla 1.1 and installed it. it works fine apart from its refusing to recognise my java plugin. I symlinked libjavaplugin to the mozilla plugings directory but it refuses to recognise its there at all. I double checked the symlink and it is pointing to the right place. also, other plugins i have added to the plugin dir are working fine, like shockwave and flash. This has worked for me with all versions of mozilla apart from this troublesome 1.1 release. If any of you out there have upgraded to 1.1 and have this problem please let me know how you fixed it. thanks, Adam -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list
Re: checking the dial-up speed
This might not be the kind of thing your looking for but over at http://bandwidthplace.com/speedtest/ there is a nice little online utility that will give you lots of stats about the speed of your net connection. Also if i remember correctly, if you are using either rp3 or kpp to connect, it used to state the connection speed somewhere in its little window. Might not be there anymore though, i haven't used either of them in some time. Regards, Adam On Wed, 2002-11-20 at 08:01, RA wrote: Hello Is there a command to show the current dial up connection's speed ? Thanks for replies. -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list
Re: horrible fonts in Redhat 7.3
I have written a short how-to on this subject, its no masterpiece but it should sort out the fonts in mozilla at least, its over at http://homepage.ntlworld.com/adam-bowns/fonts.html If your machine can cope with redhat 8.0 i would really recommend that. the font support in most applications is far better than in 7.3 (in my experience anyway) but i still found that mozilla needed what i'm suggesting to make web-browsing more comfortable. Regards, Adam On Wed, 2002-11-20 at 15:36, Reuben D. Budiardja wrote: Hi, I just did a fresh installed to Redhat 7.3. Starting mozilla in KDE, I found that the fonts are really horrible, and very hard to read. It's like all the fonts are squezzed horizontally. I tried abiword and konqueror, KMail, and the same thing happens. Anyone had experience with this? I've installed Redhat 7.3 to many different machines before and everything usually looks good. Thanks for any help. Reuben D. Budiardja -- - /\ ASCII Ribbon Campaign against HTML \ / email and proprietary format X attachments. / \ - Have you been used by Microsoft today? Choose your life. Choose freedom. Choose LINUX. - -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list
Re: Create Shortcut on RH8 desktop or menu bar
To get it in the panel right lick on the panel and choose add to panel and, launcher. then just type /usr/lib/ICAClient/wfica (or whatever the program you want to run) in the command box. My favorite way to get shortcuts onto my desktop is to put symlinks to them in the /home/username/.gnome-desktop/ directory. If you dont know how to create symlinks then here's the command you will need ln -s /usr/lib/ICAClient/wfica /home/username/.gnome-desktop/ That should sort it for you, Regards, Adam On Wed, 2002-11-20 at 15:54, Ferguson, Michael wrote: Hi All, I am running RedHat 8.0. How do I go about creating a short-cut icon on the desktop, or the menu bar for /usr/lib/ICAClient/wfica? I want to set it so that users do not have to go to a terminal window and type the command. Thanks -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list
Re: Hardware help needed...
Not really too sure about the 1st 3 problems you are having, but to get full 3d acceleration with the GF4 u will want the NVIDIA drivers available from www.nvidia.com (there is a pretty comprehensive guide about instalation available too) the nv driver is the open source version of the driver, it ships with redhat, but if you have a slightly out of the ordinary set up the redhat installer will default to the vesa drivers. I would still recomend getting the propriety NVIDIA drivers though, they give far better results, allowing you to play nice games like quake 3, RTCW, UT2003. Some ppl say there are less stable, but i have been useing them since their arrival and i've never had a problem. Regards, Adam On Wed, 2002-11-20 at 16:36, Christopher Yoder wrote: All, Hello! I've installed RedHat 8.0 on my Dell Inspiron 8200 and have found a few problems. 1. My NetGear MA401 wireless adapter does not work. I've configured it as I have in Windows XP. Channel, Speed, and Pass Phrase. (No option for 64bit encryption, but that is what my router is setup to use.) 2. While there appears to be a Pilot/Handspring utility. I can not get the RH8 to recognize the Handspring at all. I've tried to reboot with the cradle attached as well as with the configuration utility. One thing I've noticed is there is no device for the handspring. Neither a /dev/pilot or /dev/visor. 3. When I run hwbrowser, thinking it might help me move forward. It simply disappears after showing an empty window (the GUI looks ok, but the info is not filled in.) I can attach the error if need be. 4. The NVidia GForce 4 video card does not allow for hardware acceleration, while I've not found any hardware compatibility specs for the model of laptop I have, the 8100 states that you should not turn it on. By what is the nv driver? Nvidia? The install set mine to vesa. That's about it... Any help, pointers, suggestions would be greatly appreciated. Thanks, Christopher -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list
Re: Rebuilding .src.rpm's for performance
Thanks for the advice. I dont seem to have a /etc/rpmrc file so i modified the /usr/lib/rpm/rpmrc to make it use -O3 optimization when compiling for the athlon optflags: athlon -O3 -march=athlon i've tested this on a few packages using the command you suggested, rpmbuild --rebuild --target athlon-linux-gnu packagename.src.rpm and from the screen output it looks like its doing as its told, it is using the -march=athlon and -O3 flag's. And boy !!! do the binaries it produces run fast ! My goal would be to rebuild all rpms installed on the system. I have both the redhat source cd's available, but rather than simply rebuilding everything there is, i would like to just rebuild the packages i am using. If anyone out there has an idea for a scrip/command that would accomplish this i would be very greatful if you would post it, and/or and suggestions that would help me in writing the script myself (my scripting skills are quite poor :-( Thanks for all the help you have given me so far guys, Adam On Tue, 2002-11-19 at 22:23, Rick Johnson wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 And to reply to myself - I've discovered that if you use the following command: rpm --rebuild --target arch-redhat-linux-gnu rpmname.src.rpm or rpm --rebuild --target arch-linux-gnu rpmname.src.rpm (they're synonimous since one symlinks to the other in /usr/lib/rpm) so entering your directory of latest SRPMS and running: rpm --rebuild --target athlon-redhat-linux-gnu *.src.rpm could do the trick - rebuilding all packages for an athlon system, placing all rpms within /usr/src/redhat/RPMS/athlon. In a test rebuild for the latest gnupg package, it did use the march=athlon flag. I'm sure, however, that the arch needs to be within the rpmrc file. If you want to create one that does athlon-xp it could work. However, it appears you'd need to add macros, and plenty of other fun stuff within /usr/lib/rpm. Unless you think your apps would benefit from the difference between athlon and athlon-xp (SSE), it's probably not worth the extra effort. Valid arch's by default are for x86 systems: i386-redhat-linux-gnu i486-redhat-linux-gnu i586-redhat-linux-gnu i686-redhat-linux-gnu athlon-redhat-linux-gnu noarch-redhat-linux-gnu (which points to i386) It's tempting to try this on an older system to see if there's a noticable performance increase. If anyone else does/has - post the performance increases to the list - many of us would like to know if it's worth the effort. Hope this helps, - -Rick - -- Rick Johnson, RHCE - [EMAIL PROTECTED] Linux/WAN Administrator - Medata, Inc. PGP Public Key: https://mail.medata.com/pgp/rjohnson.asc Rick Johnson wrote: | Adam Bowns wrote: | | I am considering rebuilding all the rpm's in use on my system so they | | are optimised for my processor, but I have a few questions I would | | really like to know the answer to before i start :-) | | | | Funny - I was just pondering doing the same exact thing. Only reason I went | about some of them is that I wanted to use some newer (Rawhite/Red Hat 8.0) | packages on some 7.3 machines, so I needed to recompile them w/ GCC 2.9.6. | | | 1.Will it increase performance significantly ? | | I've watch the rebuild compile and the compilier does receive the mcpu=i686 | flag at times. However, the resuilting RPM is still .i386.rpm because it's | i386 compatible. Unless you can figure out the speicfic rpmrc flags to make | it compile with athlon-xp specific code, it may not help a whole lot. | | | 2.Is rpmbuild fully linked into gcc ? Can i use all the flags mentioned | | in | | | | | http://gcc.gnu.org/onlinedocs/gcc-3.2/gcc/i386-and-x86-64-Options.html#i386%20and%20x86-64%20Options | | | | | ~From what I can tell in the rpmrc's wihtin /usr/lib/rpm - if you're | running | an i686, the flags will be included if appropriate. From what I can tell - | they're not specific unless you tell it otherwise. | | However - by default - all others are translated to i386 with the following | lines: | | buildarchtranslate: athlon: i386 | buildarchtranslate: i686: i386 | buildarchtranslate: i586: i386 | buildarchtranslate: i486: i386 | buildarchtranslate: i386: i386 | | The i386 optflags line has the following: | | optflags: i386 -O2 -march=i386 -mcpu=i686 | | Therefore the packages would be built for i386, but with i686 optimizations | by default. | | I think you could probably customize this within /etc/rpmrc or ~/.rpmrc to | override this for athlons and add any flags you desire. | | Dig around the rpmrc file for more info. | | | 3.Also, any experiences you have with rebuilding rpm's for athlon-xp | | architecture would be of interest to me. | | Beyond contemplation, I haven't done much w/ this. Given that the | default is | to include -mcpu=i686 -march=i386 - you're getting 386 code with 686 | optimizations (if I'm reading the man pages correctly). For most
Re: Building kernels consistantly.
Do you already have the config file ? If so make mrproper make xconfig (or whatever your fav configurator is) then choose load config from file, and type in the file name when prompted. (the config file can be anywhere doesn't have to be in the kernel dir) Save and exit now your make dep and the rest of the build process should work. Regards, Adam On Wed, 2002-11-20 at 21:33, Michael Tiernan wrote: Okay, I have to ask this I feel stupid but I've not seen the answer yet. (No doubt as soon as I send this I'll figure it out.) If I take the kernel sources (/usr/src/linux*) and do a make mrproper to clean them up/out, I end up with a blank slate. This works fine. Now, if I copy a config from the configs directory to be .config (or if I used a config file from another build) what's the *next* step to be done? Using 'make dep' fails. Doing a 'make config' doesn't do as I'd expect. Also, doing a 'make oldconfig' doesn't seem to take use the '.config' file as gospel and makes changes to it. So what's the deal, does a '.config' file represent ALL the needed switches/options to create a new kernel? I guess some of what I'm looking for here is reproducability. Anyone got any thoughts on this? (Or a manual for me to RTFM?) Thanks for your time. -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list
Re: RPM Error: Missing buildmeister
I don't know this for sure but i *think* i had a problem like this when i was trying to rebuild the old NVIDIA src.rpm's (compiled for gcc-2-x) on my redhat 8.0 machine (gcc-3-x) check the NVIDIA site for the latest version of the packages, if you already have the latest ones, then i don't know what it could be. Regards, Adam On Wed, 2002-11-20 at 06:45, MET wrote: As I just updated the kernel I now need to rebuild the source rpm's for my NVIDIA video card. So i do this: rpmbuild --rebuild NVIDIA_kernelversionsrc.rpm And it begins to build until this error gets spit out at me. RPM build errors: user buildmeister does not exist - using root group buildmeister does not exist - using root user buildmeister does not exist - using root group buildmeister does not exist - using root Bad exit status from /var/tmp/rpm-tmp.28850 (%install) Any ideas? I have a feeling i'm missing a package, but I don't know which. ~ Matthew -- advTHANKSance, Matthew Metnetsky [EMAIL PROTECTED] -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list
Rebuilding .src.rpm's for performance
I am considering rebuilding all the rpm's in use on my system so they are optimised for my processor, but I have a few questions I would really like to know the answer to before i start :-) 1.Will it increase performance significantly ? 2.Is rpmbuild fully linked into gcc ? Can i use all the flags mentioned in http://gcc.gnu.org/onlinedocs/gcc-3.2/gcc/i386-and-x86-64-Options.html#i386%20and%20x86-64%20Options 3.Also, any experiences you have with rebuilding rpm's for athlon-xp architecture would be of interest to me. Thanks for your time guys, Adam -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list
Rebuilding .src.rpm's for performance
I am considering rebuilding all the rpm's in use on my system so they are optimised for my processor, but I have a few questions I would really like to know the answer to before i start :-) 1.Will it increase performance significantly ? 2.Is rpmbuild fully linked into gcc ? Can i use all the flags mentioned in http://gcc.gnu.org/onlinedocs/gcc-3.2/gcc/i386-and-x86-64-Options.html#i386%20and%20x86-64%20Options 3.Also, any experiences you have with rebuilding rpm's for athlon-xp architecture would be of interest to me. Thanks for your time guys, Adam -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list
Re: RHN Having Issues
To get your rhn applet back you can just run it from the console by typing rhn-applet-gui then when you shut down or log off tick the save current set up box, it *should* be there next, and everytime you log in. As for the rhn window never popping up, i have had similar problems with the redhat-config tools. on my desktop system the Display tool in system settings does a disappearing act just like you described, but i put that down to the NVIDIA drivers and the custom modelines i am running confusing the poor tool :-) Also on my laptop system the Date and Time tool in system settings also does the same trick, but i have no idea on what could be causing that, and i have been to busy to fix it. oh well, *i* know to knock an hour off what it tells me in order to get the right time :-) Regards, Adam On Tue, 2002-11-19 at 22:55, MET wrote: Not sure when this occured, but for the past few days I have not noticed the little RHN circle icon informing me that my system is up2date or needed newer versions. Its completely missing and I'd like to get it back. Any ideas? Also, whenever I go to 'Red Hat Network' inside of 'System Tools' menu it asks me for my root password which I enter, but nothing ever pops up (the up2date app again). This started happening around the same time that the RHN logo stopped appearing. When I do 'ps ax | grep up2date' it appears to be running as well as RHN. rhnsd --interval 120 But I don't see either of them. Any ideas? ~ Matthew -- advTHANKSance, Matthew Metnetsky [EMAIL PROTECTED] -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list
Re: Rebuilding .src.rpm's for performance
I don't have a performance issue, or at least i don't think i've got one :-) How do I go about testing this ? Its a desktop machine (Athlon-XP 2200, 1GB pc2700, Asus A7v333(VIA KT333) U160 SCSI HDD) thats used for normal everyday tasks with a bit of java and C development thrown in. The main applications i run are X, mozilla, evolution, jbuilder, openoffice and a few misc others. All these load up and run at a reasonable pace. But i'm one of those people for whom fast is never fast enough :-) What really got me started on thinking about this was reading about gentoo everywhere, i decided against gentoo though, so i though that this would give similar performance gains (After all, every gentoo user you see will tell you how fast their system is :-) Regards, Adam On Wed, 2002-11-20 at 01:43, Ed Wilts wrote: On Tue, Nov 19, 2002 at 06:06:05PM +, Adam Bowns wrote: I am considering rebuilding all the rpm's in use on my system so they are optimised for my processor, but I have a few questions I would really like to know the answer to before i start :-) 1.Will it increase performance significantly ? Probably not. Before you go through such a massive undertaking (and take into account that you'll have to repeat this every time a package is updated), why don't you determine if you have a performance issue? If you're I/O bound, rebuilding won't help you a bit. Most systems these days are I/O bound - rarely is an Athlon going to be saturated. What applications do you run that are consuming all your cpu? Is this a desktop or a server? .../Ed -- Ed Wilts, Mounds View, MN, USA mailto:[EMAIL PROTECTED] Member #1, Red Hat Community Ambassador Program -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list
regenerating rc.sysinit
Am I right in thinking rc.sysinit is generated at instalation ? If so is it possible to regenerate it against a running system ? My reason for wanting to do this is that when i install my custom kernel, rc.systinit still wants to call modprobe to load lots of modules that are no longer needed because i have them compiled into the kernel (such as usb keyboard/mouse) I know that I could just edit the rc.sysinit script myself but my scripting skills aren't up to the task. Any help on this would be great, thanks in advance, Adam. -- redhat-list mailing list unsubscribe mailto:redhat-list-request;redhat.com?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list
Re: MPEG playback
A personal favorite of mine is mplayer, also available from www.freshrpms.net regards, Adam On Thu, 2002-11-14 at 21:01, Joshua Jones wrote: Redhat 8 OK. So I hvae figured out getting my MP3's to work. But I guess all good multimedia support was taken out? Anyhow, I can't seem to get MPEG video to play either (check out some game trailers). Any thoughts. I have exhausted my research capabilities and have seen few posts on this. I thought at first it was KDE but I have no luck under GNOME either. Thanks My Konqueror Stack trace. no debugging symbols found)...[New Thread 8192 (LWP 3876)] 0x420ae169 in wait4 () from /lib/i686/libc.so.6 #0 0x420ae169 in wait4 () from /lib/i686/libc.so.6 #1 0x4212a2d0 in __DTOR_END__ () from /lib/i686/libc.so.6 #2 0x40e22c63 in waitpid () from /lib/i686/libpthread.so.0 #3 0x406331a5 in KCrash::defaultCrashHandler(int) () from /usr/lib/libkdecore.so.4 #4 signal handler called #5 0x408f4d67 in QObject::connect(QObject const*, char const*, QObject const*, char const*) () from /usr/lib/qt3-gcc3.2/lib/libqt-mt.so.3 #6 0x406492f3 in KLibrary::slotObjectCreated(QObject*) () from /usr/lib/libkdecore.so.4 #7 0x4064ada6 in KLibrary::qt_invoke(int, QUObject*) () from /usr/lib/libkdecore.so.4 #8 0x408f5d6b in QObject::activate_signal(QConnectionList*, QUObject*) () from /usr/lib/qt3-gcc3.2/lib/libqt-mt.so.3 #9 0x4064b272 in KLibFactory::objectCreated(QObject*) () from /usr/lib/libkdecore.so.4 #10 0x40088941 in KParts::Factory::createPart(QWidget*, char const*, QObject*, char const*, char const*, QStringList const) () from /usr/lib/libkparts.so.2 #11 0x41719343 in KonqViewFactory::create(QWidget*, char const*, QObject*, char const*) () from /usr/lib/konqueror.so #12 0x4170e32f in KonqFrame::attach(KonqViewFactory const) () from /usr/lib/konqueror.so #13 0x41701af7 in KonqView::switchView(KonqViewFactory) () from /usr/lib/konqueror.so #14 0x41701fd0 in KonqView::changeViewMode(QString const, QString const) () from /usr/lib/konqueror.so #15 0x416f52e9 in KonqMainWindow::slotOpenEmbeddedDoIt() () from /usr/lib/konqueror.so #16 0x416f9e2f in KonqMainWindow::qt_invoke(int, QUObject*) () from /usr/lib/konqueror.so #17 0x408f5d6b in QObject::activate_signal(QConnectionList*, QUObject*) () from /usr/lib/qt3-gcc3.2/lib/libqt-mt.so.3 #18 0x40bbc9f2 in QSignal::signal(QVariant const) () from /usr/lib/qt3-gcc3.2/lib/libqt-mt.so.3 #19 0x4090f298 in QSignal::activate() () from /usr/lib/qt3-gcc3.2/lib/libqt-mt.so.3 #20 0x40916933 in QSingleShotTimer::event(QEvent*) () from /usr/lib/qt3-gcc3.2/lib/libqt-mt.so.3 #21 0x408a1c49 in QApplication::internalNotify(QObject*, QEvent*) () from /usr/lib/qt3-gcc3.2/lib/libqt-mt.so.3 #22 0x408a14f1 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/qt3-gcc3.2/lib/libqt-mt.so.3 #23 0x405c79a6 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdecore.so.4 #24 0x40844a88 in qt_activate_timers() () from /usr/lib/qt3-gcc3.2/lib/libqt-mt.so.3 #25 0x40842330 in QApplication::processNextEvent(bool) () from /usr/lib/qt3-gcc3.2/lib/libqt-mt.so.3 #26 0x408a3280 in QApplication::enter_loop() () from /usr/lib/qt3-gcc3.2/lib/libqt-mt.so.3 #27 0x4084202d in QApplication::exec() () from /usr/lib/qt3-gcc3.2/lib/libqt-mt.so.3 #28 0x416d95e7 in main () from /usr/lib/konqueror.so #29 0x0804cb9f in strcpy () #30 0x0804d8bb in strcpy () #31 0x0804ddd4 in strcpy () #32 0x0804eb40 in strcpy () #33 0x420158d4 in __libc_start_main () from /lib/i686/libc.so.6 __ Do you Yahoo!? Yahoo! Web Hosting - Let the expert host your site http://webhosting.yahoo.com -- redhat-list mailing list unsubscribe mailto:redhat-list-request;redhat.com?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list -- redhat-list mailing list unsubscribe mailto:redhat-list-request;redhat.com?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list