[gentoo-user] problems after using xcdroast
Hi Group, after burnnig a CD using xcdroast I get the following message while booting: hdc: ATAPI reset complete ide-scsi: (IO,CoD) != (0,1) while issuing a packet command This message shows up several times and then I can proceed. Searching in the net I found some stuff but I did not get the point. What can I do about this? Something wrong with the .xcdroast file? I have kernel-verion 2.6.14 running and the CD-RW/DVD is an ATAPI (0,0,0) Thank you! Telefonieren Sie ohne weitere Kosten mit Ihren Freunden von PC zu PC!Jetzt Yahoo! Messenger installieren!
[gentoo-user] Re: Sound... a known method to track down problems
Alexander Puchmayr [EMAIL PROTECTED] writes: Hi Harry! Did you load the alsa-modules before launching kde? I have now after following ChistophE's suggestions. I still get nothing when attempting to play something. But warnings and erros that is. I have an XMMS player on my kde menu. It just doesn't work but quietly no warning etc. (Also it is so tiny I can hardly see it.. and seems no way to enlarge it -- I use a large desktop resolution) Try /etc/init.d/alsasound start as root and then have a look what dmesg is telling you and whether /proc/asound/cards contains anything different from a empty string. cat /proc/asound/cards 0 [V8237 ]: VIA8237 - VIA 8237 VIA 8237 with AD1980 at 0xc800, irq 201 Second, your should configure your kde to use alsa. Go into the control panel, audio settings (SoundMultimedia), Sound-System, select the hardware-tab and make sure that audio hardware is set to alsa and not oss. It was set to autodetect .. I changed it to alsa, but shouldn't that select alsa anyway? Soon as I changed it, I immediately got this waning dialog box: Sound Server informational message Error while initializing the sound driver device: default can't be opened for playback (No such device) The sound server will continue using teh null output device. Christoph Eckert [EMAIL PROTECTED] writes: you've ALSA installed but it's not configured yet? Try editing /etc/modules.d/alsa manually or install alsa-utils and run alsaconf as root. After that add ALSA to your preferred runlevel. I did install alsa-utils and ran alsaconf. /etc/modules.d/alsa looks like this: alias /dev/mixer snd-mixer-oss alias /dev/dsp snd-pcm-oss alias /dev/midi snd-seq-oss # Set this to the correct number of cards. # --- BEGIN: Generated by ALSACONF, do not edit. --- # --- ALSACONF version 1.0.11rc2 --- alias snd-card-0 snd-via82xx alias sound-slot-0 snd-via82xx # --- END: Generated by ALSACONF, do not edit. --- Should the oss stuff be there? I've put alsasound into run level 3 and rebooted. On starting kde I still get a dialog message about the sound server being unavailable. No play tools work. (lsmod output at the end) Running the command line util `play' on a wav file shows this: reader play WestMemphisBlues_SonnyBoyWilliamson2.wav ALSA lib confmisc.c:672:(snd_func_card_driver) cannot find card '0' ALSA lib conf.c:3491:(_snd_config_evaluate) function snd_func_card_driver returned error: No such device ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings ALSA lib conf.c:3491:(_snd_config_evaluate) function snd_func_concat returned error: No such device ALSA lib confmisc.c:1072:(snd_func_refer) error evaluating name ALSA lib conf.c:3491:(_snd_config_evaluate) function snd_func_refer returned error: No such device ALSA lib conf.c:3960:(snd_config_expand) Evaluate error: No such device ALSA lib pcm.c:2107:(snd_pcm_open_noupdate) Unknown PCM default sox: Failed writing default: cannot open audio device lismod output: root # lsmod|grep snd_ snd_pcm_oss48160 0 snd_mixer_oss 17664 1 snd_pcm_oss snd_seq_dummy 4740 0 snd_seq_oss32256 0 snd_seq_midi_event 8064 1 snd_seq_oss snd_seq50448 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event snd_via82xx27544 0 gameport 16264 1 snd_via82xx snd_ac97_codec 84256 1 snd_via82xx snd_ac97_bus3328 1 snd_ac97_codec snd_pcm82052 3 snd_pcm_oss,snd_via82xx,snd_ac97_codec snd_timer 24196 2 snd_seq,snd_pcm snd_page_alloc 11528 2 snd_via82xx,snd_pcm snd_mpu401_uart 8320 1 snd_via82xx snd_rawmidi24736 1 snd_mpu401_uart snd_seq_device 9484 4 snd_seq_dummy,snd_seq_oss,snd_seq,snd_rawmidi snd53604 11 snd_pcm_oss,snd_mixer_oss,snd_seq_oss,snd_seq,snd_via82xx,snd_ac97_codec,snd_pcm,snd_timer,snd_mpu401_uart,snd_rawmidi,snd_seq_device -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Re: Help with backup script
On Wednesday 01 Mar 2006 22:54, Harry Putnam wrote: snip One way would be to mount the disk locally using cifs. See `man mount.cifs' for details but the syntax looks like this: From /etc/fstab (This is all one line in fstab) //harvey/harvey-c /mnt/harvey-c cifs noauto,username=reader,\ credentials=/etc/samba/CifsCredentials Those are `UNC' paths like you would use with smbclient. (But not Kanqueror). A command line might look like: mount -t cifs -o user=reader%XXPASSWDXX //harvey/harvey-c /mnt/harvey-c The directory /mnt/harvey-c has to be created ahead of time. The user reader needs to have an account on that windows machine. You'll need a windows user account username and password. If you don't use passwords for windows shares I think you can just leave out the %SECRET_PASS, but I'm not sure exactly. Once the device is mounted locally you can read/write to/from it in scripting, then umount it at the end of the script. Thanks for the reply, I think I didn't make the problem clear enough. I have a usb server running on my network with 2 external disks connected to it. I can read and write to them using smb://lkg5f.homenet.com/DISK 2/ with no problems. I need to mount these drives so that I can run a backup script to backup all of my gentoo system. I have tried smbmount and mount -t smbfs but even after reading man mount and smbmount I am still unclear as to the correct format. paul -- This message has been sent using kmail with gentoo linux -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Re: Sound... a known method to track down problems
On 3/2/06, Harry Putnam [EMAIL PROTECTED] wrote: Alexander Puchmayr [EMAIL PROTECTED] writes: Hi Harry! Did you load the alsa-modules before launching kde? I have now after following ChistophE's suggestions. I still get nothing when attempting to play something. But warnings and erros that is. I have an XMMS player on my kde menu. It just doesn't work but quietly no warning etc. (Also it is so tiny I can hardly see it.. and seems no way to enlarge it -- I use a large desktop resolution) Try /etc/init.d/alsasound start as root and then have a look what dmesg is telling you and whether /proc/asound/cards contains anything different from a empty string. cat /proc/asound/cards 0 [V8237 ]: VIA8237 - VIA 8237 VIA 8237 with AD1980 at 0xc800, irq 201 Second, your should configure your kde to use alsa. Go into the control panel, audio settings (SoundMultimedia), Sound-System, select the hardware-tab and make sure that audio hardware is set to alsa and not oss. It was set to autodetect .. I changed it to alsa, but shouldn't that select alsa anyway? Soon as I changed it, I immediately got this waning dialog box: Sound Server informational message Error while initializing the sound driver device: default can't be opened for playback (No such device) The sound server will continue using teh null output device. Christoph Eckert [EMAIL PROTECTED] writes: you've ALSA installed but it's not configured yet? Try editing /etc/modules.d/alsa manually or install alsa-utils and run alsaconf as root. After that add ALSA to your preferred runlevel. I did install alsa-utils and ran alsaconf. /etc/modules.d/alsa looks like this: alias /dev/mixer snd-mixer-oss alias /dev/dsp snd-pcm-oss alias /dev/midi snd-seq-oss # Set this to the correct number of cards. # --- BEGIN: Generated by ALSACONF, do not edit. --- # --- ALSACONF version 1.0.11rc2 --- alias snd-card-0 snd-via82xx alias sound-slot-0 snd-via82xx # --- END: Generated by ALSACONF, do not edit. --- Should the oss stuff be there? I've put alsasound into run level 3 and rebooted. On starting kde I still get a dialog message about the sound server being unavailable. No play tools work. (lsmod output at the end) Running the command line util `play' on a wav file shows this: reader play WestMemphisBlues_SonnyBoyWilliamson2.wav ALSA lib confmisc.c:672:(snd_func_card_driver) cannot find card '0' ALSA lib conf.c:3491:(_snd_config_evaluate) function snd_func_card_driver returned error: No such device ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings ALSA lib conf.c:3491:(_snd_config_evaluate) function snd_func_concat returned error: No such device ALSA lib confmisc.c:1072:(snd_func_refer) error evaluating name ALSA lib conf.c:3491:(_snd_config_evaluate) function snd_func_refer returned error: No such device ALSA lib conf.c:3960:(snd_config_expand) Evaluate error: No such device ALSA lib pcm.c:2107:(snd_pcm_open_noupdate) Unknown PCM default sox: Failed writing default: cannot open audio device lismod output: root # lsmod|grep snd_ snd_pcm_oss48160 0 snd_mixer_oss 17664 1 snd_pcm_oss snd_seq_dummy 4740 0 snd_seq_oss32256 0 snd_seq_midi_event 8064 1 snd_seq_oss snd_seq50448 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event snd_via82xx27544 0 gameport 16264 1 snd_via82xx snd_ac97_codec 84256 1 snd_via82xx snd_ac97_bus3328 1 snd_ac97_codec snd_pcm82052 3 snd_pcm_oss,snd_via82xx,snd_ac97_codec snd_timer 24196 2 snd_seq,snd_pcm snd_page_alloc 11528 2 snd_via82xx,snd_pcm snd_mpu401_uart 8320 1 snd_via82xx snd_rawmidi24736 1 snd_mpu401_uart snd_seq_device 9484 4 snd_seq_dummy,snd_seq_oss,snd_seq,snd_rawmidi snd53604 11 snd_pcm_oss,snd_mixer_oss,snd_seq_oss,snd_seq,snd_via82xx,snd_ac97_codec,snd_pcm,snd_timer,snd_mpu401_uart,snd_rawmidi,snd_seq_device -- gentoo-user@gentoo.org mailing list You should check the ALSA Guide from the Gentoo Docs and see if you performed all steps, specially your kernel config. I have this same MOBO, so I can assure you, it works... Just follow the guide. I had KDE working with ALSA, but strangely, the Test button at KDE config don't work, all other apps does using arts. -- Daniel da Veiga Computer Operator - RS - Brazil -BEGIN GEEK CODE BLOCK- Version: 3.1 GCM/IT/P/O d-? s:- a? C++$ UBLA++ P+ L++ E--- W+++$ N o+ K- w O M- V- PS PE Y PGP- t+ 5 X+++ R+* tv b+ DI+++ D+ G+ e h+ r+ y++ --END GEEK CODE BLOCK-- -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Re: Sound... a known method to track down problems
Harry Putnam schreef: cat /proc/asound/cards 0 [V8237 ]: VIA8237 - VIA 8237 VIA 8237 with AD1980 at 0xc800, irq 201 I did install alsa-utils and ran alsaconf. /etc/modules.d/alsa looks like this: alias /dev/mixer snd-mixer-oss alias /dev/dsp snd-pcm-oss alias /dev/midi snd-seq-oss # Set this to the correct number of cards. # --- BEGIN: Generated by ALSACONF, do not edit. --- # --- ALSACONF version 1.0.11rc2 --- alias snd-card-0 snd-via82xx alias sound-slot-0 snd-via82xx # --- END: Generated by ALSACONF, do not edit. --- Should the oss stuff be there? Yes, it should (imo); many apps use ALSA's OSS emulation to play sounds. So it's wise to have it unless you want to investigate every sound app you use to make sure it's ALSA-capable. I've put alsasound into run level 3 and rebooted. On starting kde I still get a dialog message about the sound server being unavailable. No play tools work. (lsmod output at the end) Running the command line util `play' on a wav file shows this: reader play WestMemphisBlues_SonnyBoyWilliamson2.wav ALSA lib confmisc.c:672:(snd_func_card_driver) cannot find card '0' snip ALSA lib conf.c:3960:(snd_config_expand) Evaluate error: No such device ALSA lib pcm.c:2107:(snd_pcm_open_noupdate) Unknown PCM default sox: Failed writing default: cannot open audio device OK, here's the thing. Forgive me if I'm going too far back to basics, but The VIA 8237 is an onboard sound chip. I have one myself. As such, it's controlled by the BIOS. Since you have previously not used sound on this machine, it's within the realm of possibility (imo) that you disabled the sound chip in the BIOS, which -- if that was the case-- would possibly explain why the card is not being found when you actually try to use it. Have you checked, or would you check your BIOS and confirm that the onboard sound is enabled there? Holly -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Re: Help with backup script
mount -t cifs -o user=reader%XXPASSWDXX //harvey/harvey-c /mnt/ harvey-c The directory /mnt/harvey-c has to be created ahead of time. The user reader needs to have an account on that windows machine. You'll need a windows user account username and password. If you don't use passwords for windows shares I think you can just leave out the %SECRET_PASS, but I'm not sure exactly. Once the device is mounted locally you can read/write to/from it in scripting, then umount it at the end of the script. Thanks for the reply, I think I didn't make the problem clear enough. I have a usb server running on my network with 2 external disks connected to it. I can read and write to them using smb://lkg5f.homenet.com/ DISK 2/ with no problems. I need to mount these drives so that I can run a backup script to backup all of my gentoo system. I have tried smbmount and mount -t smbfs but even after reading man mount and smbmount I am still unclear as to the correct format. mount -t smbfs //lkg5f.homenet.com/DISK 2 /mnt/someplace if the share is password protected, after the smbfs, add -o username=whatever,password=whatever only root will be able to do this. You might want to try to avoid spaces in your share names in the future...just makes things easier on the unix side. paul -- This message has been sent using kmail with gentoo linux -- gentoo-user@gentoo.org mailing list -- gentoo-user@gentoo.org mailing list
[gentoo-user] Re: Help with backup script
Paul [EMAIL PROTECTED] writes: I need to mount these drives so that I can run a backup script to backup all of my gentoo system. I have tried smbmount and mount -t smbfs but even after reading man mount and smbmount I am still unclear as to the correct format. So are you saying the cifs commands posted don't work? -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] opengl (?) weirdness in wine
Robert Persson schreef: I am finding that with one particular windows application running under wine the graphics are incredibly slow. My question is: Is this something to do with wine that I just have to live with, or could it be connected to other things on my system, such as the xserver? snip The problems are: 1. Typed text gets to the screen pretty slowly - 200 characters per second or so. However pasted text appears more or less instantly. 2. Windows are drawn very slowly - which is pretty annoying because scribe opens and shuts a lot of windows. 3. when scribe starts, a considerable part of the screen (both inside and outside the application windows) ends up covered in black rectangles. These disappear when something is dragged over them or a button underneath them is clicked. 4. There is a slowdown in opengl which persists even when scribe and all wine-related processes have terminated. Before starting scribe glxgears will clock around 960 fps, whereas afterwards it will only clock up 750 fps or so. I am using the following versions of things: x11-base/xorg-x11-6.8.99.15-r4 app-emulation/wine-0.9.8-r1 x11-drivers/ati-drivers-8.22.5 Robert, I'm sorry to have to tell you this, but there's a high chance that you have just run into one of the reasons that people say the ATI drivers suck. I am also an ATI user, and to be flatly honest, there are some things (effects, usually bad ones) that you *will* get when using an ATI card under Wine or Cedega that you *won't* get while using another brand of video card (not even specifically nVidia, but really just any other brand with decent drivers). I have several programs that I run under Wine/Cedega that behave oddly or run significantly slower than reports of that same program running with nVidia cards. Because the drivers really are not good, and don't do what they are supposed to/expected to in many respects, for one, and because the driver team has not yet reached the point where they're optimizing for speed (they're trying to get the drivers stable first), for another. So if you have another brand of video card available to you, I would suggest you give it a whirl and see if the problem persists. It may not. That said, I suspect you do have an issue with your X server as well... the 6.8.99-blahblahblah series is buggy and unmaintained. I tried it myself and had even more problems than I did with 6.8.2-r6, which I reverted to. So the xserver version you're using may well be excaberating the problems the drivers already have. I am (at this very moment, actually) upgrading to Xorg 7.0, after which I'm going to enable the r300 drivers (I have a 9800SE), and if those don't help, I'm going to see if the fglrx drivers work better under 7.0 than under 6.8.2. If not, I'm buying an nVidia card (my birthday is coming, and I am just sick of this after nearly two years; I've had enough of the does not work with ATI cards list on the Cedega Release notes). It's an option to take under serious consideration (upgrading to 7.0 and switching to the open source drivers). I'll keep you posted on my progress -- meaning, if Wine seems to work better under these conditions. Also consider that Wine is doing a lot of work as they close in on 1.0 (which might be as soon as April if the release schedule holds up), and the devs are specifically working on ATI issues (I lurk on wine-dev, and some of the devs working on wine3d and direct x do have ATI cards). Now I'm sure that scribe doesn't use d3d or OGL (though it might, for all I know), but surely any work on the directx backend will have some effect on things like draw speed and rendering. So there's hope from that end as well. In any case, hope this helps to some extent. Holly -- gentoo-user@gentoo.org mailing list
[gentoo-user] Re: Sound... a known method to track down problems
Holly Bostick [EMAIL PROTECTED] writes: The VIA 8237 is an onboard sound chip. I have one myself. As such, it's controlled by the BIOS. Since you have previously not used sound on this machine, it's within the realm of possibility (imo) that you disabled the sound chip in the BIOS, which -- if that was the case-- would possibly explain why the card is not being found when you actually try to use it. Have you checked, or would you check your BIOS and confirm that the onboard sound is enabled there? Have not, but will on next reboot. However the chances are slim to none. This box only began its career as a gentoo box a few weeks ago when my existing box gave up the chase ... a disk controller problem I was to dumb to solve and scrapped the whole thing. This box (athlon64 +3200) was previously an winxp video crunching (Edit and transpose) box. And had sound working all the time. I've made no changes bios wise. But will report what I find later. -- gentoo-user@gentoo.org mailing list
[gentoo-user] [OT] Terminal formatting and colors escape sequences
I know this is very off topic, but I have no idea how to find a place where it actually is on topic.. so I'm posting it here. I wish to be able to run a program (eix-sync/diff-eix) in cron that prints colors (with use of --force-color) and then send that colored output as a mail. In order to get colors in a mail a have to use html. If there exist a program that is capable of converting escape sequences used for formatting and coloring an xterm to html I would love to know about it. Otherwise I'll make it myself (with a very limited range of supported escape sequences). My problem is that I am unable to locate a reference that defines the escape sequences. Guessing by testing with xterm isn't really a optimal way to find out... -- Bo Andresen -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] mysterious segfaults
[EMAIL PROTECTED] schreef: Recently, programs on my computer have been victims of abrupt segfaults. snip The weird thing is, after waiting a while (say two or three hours), the problem went away---everything just started working. This sounds awfully like a heat problem, especially if the problem goes away after waiting a significant amount of time (the system cools down), or only appears after a long time of use (the system heats up). I did have a similar problem (but I knew it was heat, because I have the gkrellm temp monitors displayed), and it was so bad that I could not even run the computer without an external fan pointing into the box (the sides have been off all the time). If I turned the fan off, I got immediate segfaults, and I was unable to even boot the machine. Even with the fan, it was running *extremely* hot (I'm talking about 70 to over 100 degrees Celsius). Finally, I realized that I was insane to even attempt to run like that, and took the machine apart, to discover that the CPU fan was absolutely clogged with dust and stuff (I have a cat, and her hair gets into *everything*. A LOT of hair). Cleaned out the CPU fan, and suddenly the box was running at like 48 degrees C. Without the external fan. It could be some kind of intermittent hardware issue in your case, but heat is easy enough to check, and very well might be the problem. HTH, Holly -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] [OT] Terminal formatting and colors escape sequences
Just in case somebody wonders what I'm talking about here is an example (^[ is an escape character): ^[[32;01m*^[[0m Running emerge --sync ... ^[[A^[[73G ^[[34;01m[ ^[[32;01mok^[[34;01m ]^[[0m ^[[32;01m*^[[0m Running update-eix ... ^[[A^[[73G ^[[34;01m[ ^[[32;01mok^[[34;01m ]^[[0m ^[[32;01m = green ^[[0m = black ^[[73G = right justify ^[[34;01m = blue ^[[A = ? -- Bo Andresen -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] [OT] Terminal formatting and colors escape sequences
On Thursday 02 March 2006 22:49, Bo Andresen wrote: My problem is that I am unable to locate a reference that defines the escape sequences. Google for xterm escape sequences yields many results. s/xterm/ansi/ for even more. -- Jason Stubbs -- gentoo-user@gentoo.org mailing list
RE: [gentoo-user] mysterious segfaults
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 02 March 2006 13:29 To: gentoo-user Subject: [gentoo-user] mysterious segfaults Recently, programs on my computer have been victims of abrupt segfaults. [snip...] Anyone else ever experience anything like this? Anyone have any thoughts as to what the problem might be? The random nature of your segfaults probably points to an overheating problem. I am saying that because if you waited for a while before the segfaulting disappeared, the particular device (CPU, hard drive, memory) cooled down and was able to function again. Easy to test this hypothesis with a domestic comfort cooling fan blowing towards an open case. More difficult to find out what particular device overheats. A problematic cooling fan (CPU, PSU, case) would usually become noisier as its bearings are drying out (a drop of oil will provide an instant fix). So would a hard drive. If the application of a domestic cooling fan does not relieve the problem, then it could well be faulty memory module(s), or a faulty power supply. -- Regards, Mick -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Re: Sound... a known method to track down problems
On 02 March 2006 13:44, Harry Putnam wrote: Alexander Puchmayr [EMAIL PROTECTED] writes: Hi Harry! Did you load the alsa-modules before launching kde? I have now after following ChistophE's suggestions. I still get nothing when attempting to play something. But warnings and erros that is. Go to KDE's Control Center - Sound Multimedia - Sound - Sound System - Hardware. Tfhen play with the Select audio device setting. Uwe -- Why do consumers keep buying products they will live to curse? -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Re: Help with backup script
On Thursday 02 Mar 2006 12:49, John Jolet wrote: snip mount -t smbfs //lkg5f.homenet.com/DISK 2 /mnt/someplace if the share is password protected, after the smbfs, add -o username=whatever,password=whatever only root will be able to do this. You might want to try to avoid spaces in your share names in the future...just makes things easier on the unix side. I hace tried the above commands with and without username and password but all I get is the usage message, no indication of an error. Usage: mount -V : print version mount -h : print this help mount: list mounted filesystems mount -l : idem, including volume labels So far the informational part. Next the mounting. The command is `mount [-t fstype] something somewhere'. Details found in /etc/fstab may be omitted. mount -a [-t|-O] ... : mount all stuff from /etc/fstab mount device : mount device at the known place mount directory : mount known device here mount -t type dev dir: ordinary mount command Note that one does not really mount a device, one mounts a filesystem (of the given type) found on the device. One can also mount an already visible directory tree elsewhere: mount --bind olddir newdir or move a subtree: mount --move olddir newdir A device can be given by name, say /dev/hda1 or /dev/cdrom, or by label, using -L label or by uuid, using -U uuid . Other options: [-nfFrsvw] [-o options] [-p passwdfd]. For many more details, say man 8 mount . I was going to try Harry Putnam's solution of using cifs but it seems to me that the commands are exactly the same except for the file system. Any other ideas please Paul -- This message has been sent using kmail with gentoo linux -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Re: Help with backup script
On Mar 2, 2006, at 8:23 AM, Paul wrote: On Thursday 02 Mar 2006 12:49, John Jolet wrote: snip mount -t smbfs //lkg5f.homenet.com/DISK 2 /mnt/someplace if the share is password protected, after the smbfs, add -o username=whatever,password=whatever only root will be able to do this. You might want to try to avoid spaces in your share names in the future...just makes things easier on the unix side. I hace tried the above commands with and without username and password but all I get is the usage message, no indication of an error. that message indicates you did not type it as shown. they probably are the same, but I'm an old guy and this was before cifs... :) if you NEED a password but don't pass it, you'll get a permission denied error. if you get usage, you mucked the syntax. try it exactly as I had it above, but replacing the mountpoint at the end..and if it fails, cut and paste EXACTLY what you typed. I was going to try Harry Putnam's solution of using cifs but it seems to me that the commands are exactly the same except for the file system. Any other ideas please Paul -- This message has been sent using kmail with gentoo linux -- gentoo-user@gentoo.org mailing list -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] [OT] Terminal formatting and colors escape sequences
Hi, On Thu, 2 Mar 2006 14:49:49 +0100 Bo Andresen [EMAIL PROTECTED] wrote: I wish to be able to run a program (eix-sync/diff-eix) in cron that prints colors (with use of --force-color) and then send that colored output as a mail. In order to get colors in a mail a have to use html. If there exist a program that is capable of converting escape sequences used for formatting and coloring an xterm to html I would love to know about it. I'd say, the Perl module HTML::FromANSI should do what you want (available from cpan). It brings a script, ansi2html, that provides access from the command line. Note that you might have to play with the TERM environment variable. -hwh -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Re: Help with backup script
On Thursday 02 Mar 2006 14:37, John Jolet wrote: On Mar 2, 2006, at 8:23 AM, Paul wrote: On Thursday 02 Mar 2006 12:49, John Jolet wrote: snip mount -t smbfs //lkg5f.homenet.com/DISK 2 /mnt/someplace Thanks for all your help -- I now have it working, it appears that the line didn't like the space between DISK and 2. I created another share (with no spaces and it worked) Thanks again Paul gentoo-user@gentoo.org mailing list -- This message has been sent using kmail with gentoo linux -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Re: Help with backup script
On Mar 2, 2006, at 8:58 AM, Paul wrote: On Thursday 02 Mar 2006 14:37, John Jolet wrote: On Mar 2, 2006, at 8:23 AM, Paul wrote: On Thursday 02 Mar 2006 12:49, John Jolet wrote: snip mount -t smbfs //lkg5f.homenet.com/DISK 2 /mnt/someplace Thanks for all your help -- I now have it working, it appears that the line didn't like the space between DISK and 2. I created another share (with no spaces and it worked) yes, i'm not surprised...which is why I added the comment about avoiding spaces. if you can't avoid the space in the future, sometimes you can escape it (for instance, you'd do // lkg5f.homenet.com/DISK\ 2). Not sure if smbmount will let you do that but if you can't change the share name, it's worth a try. Thanks again Paul gentoo-user@gentoo.org mailing list -- This message has been sent using kmail with gentoo linux -- gentoo-user@gentoo.org mailing list -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Re: Help with backup script
Hi, On Thu, 2 Mar 2006 14:58:33 + Paul [EMAIL PROTECTED] wrote: On Thursday 02 Mar 2006 14:37, John Jolet wrote: On Mar 2, 2006, at 8:23 AM, Paul wrote: On Thursday 02 Mar 2006 12:49, John Jolet wrote: snip Thanks for all your help -- I now have it working, it appears that the line didn't like the space between DISK and 2. I created another share (with no spaces and it worked) I didn't notice this thread and the last answers earlier, therefore I didn't react, but of course, spaces on command line must be escaped if not meant to separate arguments. i.e., both of the following should have worked, too: mount -t smbfs //lkg5f.homenet.com/DISK\ 2 /mnt/someplace mount -t smbfs //lkg5f.homenet.com/DISK 2 /mnt/someplace (of course, you can use ' - single apostrophe - instead of here.) -hwh -- gentoo-user@gentoo.org mailing list
[gentoo-user] Re: [OT] Terminal formatting and colors escape sequences
Bo Andresen wrote: My problem is that I am unable to locate a reference that defines the escape sequences. Guessing by testing with xterm isn't really a optimal way to find out... man console_codes HTH. -- Remy Remove underscore and suffix in reply address for a timely response. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] [OT] Terminal formatting and colors escape sequences
On Thursday 02 March 2006 15:56, Hans-Werner Hilse wrote: I'd say, the Perl module HTML::FromANSI should do what you want (available from cpan). It brings a script, ansi2html, that provides access from the command line. Note that you might have to play with the TERM environment variable. Sounds interesting. Unfortunately I don't know Perl but I think I'll have a look at it anyway... Thanks. -- Bo Andresen -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] mysterious segfaults
On Thu, Mar 02, 2006 at 02:23:17PM -, Michael Kintzios wrote: If the application of a domestic cooling fan does not relieve the problem, then it could well be faulty memory module(s), or a faulty power supply. I'm afraid it's a random hardware failure. I've been running cpuburn for the last couple hours. According to sensors, my cpu has reached a max temp of 57 degress C. No segfaults thus far. It's been several months ago, but I did run about eight hours of memtest86 on the memory. Is it unusual for memory to work fine for a while and *then* go bad? I might try a new power supply anyway. For what it's worth, mysterious problems on this box have come and gone for probably a year now. Every time something comes up, it's so random that I don't even know where to start looking. I'm this - - close to building a whole new PC :) Thanks again, Matt -- Matt Garman email at: http://raw-sewage.net/index.php?file=email -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] opengl (?) weirdness in wine
First off, I'm fairly certain that this application doesn't use OpenGL, so that will not be of any concern, however it seems that if you have an ATI card, you'd want to use the proprietary drivers from the ATI website to increase your performance. This would increase your 2D performance as well. I haven't heard about any specific slowness related to ATI cards running 2D applications, so it might be a bug in Wine itself. Please visit the WineHQ.org website and submit a bugzilla report to see what they can come up with. Even if they don't know right away, the problem is noted and they can work on it in the future.Thanks!JBDubbs On 3/2/06, Holly Bostick [EMAIL PROTECTED] wrote: Robert Persson schreef: I am finding that with one particular windows application running under wine the graphics are incredibly slow. My question is: Is this something to do with wine that I just have to live with, or could it be connected to other things on my system, such as the xserver?snip The problems are: 1. Typed text gets to the screen pretty slowly - 200 characters per second or so. However pasted text appears more or less instantly. 2. Windows are drawn very slowly - which is pretty annoying because scribe opens and shuts a lot of windows. 3. when scribe starts, a considerable part of the screen (both inside and outside the application windows) ends up covered in black rectangles. These disappear when something is dragged over them or a button underneath them is clicked. 4. There is a slowdown in opengl which persists even when scribe and all wine-related processes have terminated. Before starting scribe glxgears will clock around 960 fps, whereas afterwards it will only clock up 750 fps or so. I am using the following versions of things: x11-base/xorg-x11-6.8.99.15-r4 app-emulation/wine-0.9.8-r1 x11-drivers/ati-drivers-8.22.5 Robert, I'm sorry to have to tell you this, but there's a high chancethat you have just run into one of the reasons that people say the ATI drivers suck.I am also an ATI user, and to be flatly honest, there are some things(effects, usually bad ones) that you *will* get when using an ATI cardunder Wine or Cedega that you *won't* get while using another brand of video card (not even specifically nVidia, but really just any otherbrand with decent drivers). I have several programs that I run underWine/Cedega that behave oddly or run significantly slower than reports of that same program running with nVidia cards. Because the driversreally are not good, and don't do what they are supposed to/expected toin many respects, for one, and because the driver team has not yetreached the point where they're optimizing for speed (they're trying to get the drivers stable first), for another.So if you have another brand of video card available to you, I wouldsuggest you give it a whirl and see if the problem persists. It may not.That said, I suspect you do have an issue with your X server as well... the 6.8.99-blahblahblah series is buggy and unmaintained. I tried itmyself and had even more problems than I did with 6.8.2-r6, which Ireverted to. So the xserver version you're using may well beexcaberating the problems the drivers already have. I am (at this very moment, actually) upgrading to Xorg 7.0, after whichI'm going to enable the r300 drivers (I have a 9800SE), and if thosedon't help, I'm going to see if the fglrx drivers work better under 7.0than under 6.8.2. If not, I'm buying an nVidia card (my birthday iscoming, and I am just sick of this after nearly two years; I've hadenough of the does not work with ATI cards list on the Cedega Release notes).It's an option to take under serious consideration (upgrading to 7.0 andswitching to the open source drivers). I'll keep you posted on myprogress -- meaning, if Wine seems to work better under these conditions. Also consider that Wine is doing a lot of work as they close in on 1.0(which might be as soon as April if the release schedule holds up), andthe devs are specifically working on ATI issues (I lurk on wine-dev, and some of the devs working on wine3d and direct x do have ATI cards). NowI'm sure that scribe doesn't use d3d or OGL (though it might, for all Iknow), but surely any work on the directx backend will have some effect on things like draw speed and rendering. So there's hope from that endas well.In any case, hope this helps to some extent.Holly--gentoo-user@gentoo.org mailing list-- Jason Weisberger[EMAIL PROTECTED]
Re: [gentoo-user] Re: Help with backup script
On Thursday 02 Mar 2006 15:14, Hans-Werner Hilse wrote: Hi, On Thu, 2 Mar 2006 14:58:33 + Paul [EMAIL PROTECTED] wrote: On Thursday 02 Mar 2006 14:37, John Jolet wrote: On Mar 2, 2006, at 8:23 AM, Paul wrote: On Thursday 02 Mar 2006 12:49, John Jolet wrote: snip Thanks for all your help -- I now have it working, it appears that the line didn't like the space between DISK and 2. I created another share (with no spaces and it worked) I didn't notice this thread and the last answers earlier, therefore I didn't react, but of course, spaces on command line must be escaped if not meant to separate arguments. i.e., both of the following should have worked, too: mount -t smbfs //lkg5f.homenet.com/DISK\ 2 /mnt/someplace mount -t smbfs //lkg5f.homenet.com/DISK 2 /mnt/someplace (of course, you can use ' - single apostrophe - instead of here.) Thanks for the info, I did try the \ but it didn't work. I have just tried the and it mounted just fine. Thanks Paul -- This message has been sent using kmail with gentoo linux -- gentoo-user@gentoo.org mailing list
[gentoo-user] eth0 does not exist
Hi Folks, Very new to Gentoo, although not to Linux. I'm trying it out in QEMU, and have just completed the installation. Only problem is I can't seem to connect to the internet. QEMU is basically meant to provide an emulated network card to the OS it's hosting. Works fine for the install CD. Anyway, seeing as I was very new to the whole thing, I went with the genkernel option. As I say, everything seems to boot fine, except that I get this message: Starting eth0 Bringing up eth0 dhcp eth0 does not exist ERROR: problem starting needed services. netmount was not started I've tried /etc/init.d/net.eth0 start and /etc/init.d/netmount start and they both complain that eth0 doesn't exist. But if I do lspci I see my emulated network card right there: 00:03.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8029(AS) Can anyone help out? Am I just missing a kernel module? Tom Haddon mailto:[EMAIL PROTECTED] You are only young once, but you can stay immature indefinitely. - Random quotes courtesy of fortune. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] eth0 does not exist
On 3/2/06, Tom Haddon [EMAIL PROTECTED] wrote: Hi Folks, Very new to Gentoo, although not to Linux. I'm trying it out in QEMU, and have just completed the installation. Only problem is I can't seem to connect to the internet. QEMU is basically meant to provide an emulated network card to the OS it's hosting. Works fine for the install CD. Anyway, seeing as I was very new to the whole thing, I went with the genkernel option. As I say, everything seems to boot fine, except that I get this message: Starting eth0 Bringing up eth0 dhcp eth0 does not exist ERROR: problem starting needed services. netmount was not started I've tried /etc/init.d/net.eth0 start and /etc/init.d/netmount start and they both complain that eth0 doesn't exist. But if I do lspci I see my emulated network card right there: 00:03.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8029(AS) Can anyone help out? Am I just missing a kernel module? Probably, yes. Tom Haddon mailto:[EMAIL PROTECTED] You are only young once, but you can stay immature indefinitely. - Random quotes courtesy of fortune. -- gentoo-user@gentoo.org mailing list -- Daniel da Veiga Computer Operator - RS - Brazil -BEGIN GEEK CODE BLOCK- Version: 3.1 GCM/IT/P/O d-? s:- a? C++$ UBLA++ P+ L++ E--- W+++$ N o+ K- w O M- V- PS PE Y PGP- t+ 5 X+++ R+* tv b+ DI+++ D+ G+ e h+ r+ y++ --END GEEK CODE BLOCK-- -- gentoo-user@gentoo.org mailing list
[gentoo-user] RAID 1+0 question
Hi! Thank you all for the fast replies, you helped me a lot. Unfortunately we cannot afford a HW RAID card, so I have to make it with software RAID. Now I have the idea to use RAID5 and if I get the picure rigth I need let's say a ~100MB /boot in RAID1, 512MB swap not in RAID on every disk, and I can build a RAID5 from the rest of the storage space, and will be able to use 750GB-(/boot*4)-(swap*4) and the 4th HD will store the so-called parity information. Marton Gabor [EMAIL PROTECTED],ICQ UIN: 169394884,T: +36 30 447-2042 VE-MIK VeHoK informatikai megbizott informatika-l adminisztrator informatika-lev adminisztrator bsc-info adminisztrator gazdinfo adminisztrator -- gentoo-user@gentoo.org mailing list
RE: [gentoo-user] eth0 does not exist
Hi This is certainly because you haven't loaded your network card driver at boot time. Be sure you have entered your driver name ( I am not sure maybe it's 8029too) at file /etc/modules.autoload.d/kernel-2.6. You can use nano text editor to edit the file... Cheers cApTaiN_FaNtAsTiK From: Tom Haddon [EMAIL PROTECTED] Reply-To: gentoo-user@lists.gentoo.org To: gentoo-user@lists.gentoo.org Subject: [gentoo-user] eth0 does not exist Date: Thu, 02 Mar 2006 16:27:48 + Hi Folks, Very new to Gentoo, although not to Linux. I'm trying it out in QEMU, and have just completed the installation. Only problem is I can't seem to connect to the internet. QEMU is basically meant to provide an emulated network card to the OS it's hosting. Works fine for the install CD. Anyway, seeing as I was very new to the whole thing, I went with the genkernel option. As I say, everything seems to boot fine, except that I get this message: Starting eth0 Bringing up eth0 dhcp eth0 does not exist ERROR: problem starting needed services. netmount was not started I've tried /etc/init.d/net.eth0 start and /etc/init.d/netmount start and they both complain that eth0 doesn't exist. But if I do lspci I see my emulated network card right there: 00:03.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8029(AS) Can anyone help out? Am I just missing a kernel module? Tom Haddon mailto:[EMAIL PROTECTED] You are only young once, but you can stay immature indefinitely. - Random quotes courtesy of fortune. -- gentoo-user@gentoo.org mailing list _ Envoyer des courriels créatifs est aussi amusant que den recevoir. Utilisez de la papeterie, des polices et des couleurs spéciales http://join.msn.com/?pgmarket=fr-capage=features/richmail Commencez dès maintenant à profiter de tous les avantages de MSN Premium et obtenez les deux premiers mois GRATUITS*. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] RAID 1+0 question
On 3/2/06, Marton Gabor [EMAIL PROTECTED] wrote: Hi! Thank you all for the fast replies, you helped me a lot. Unfortunately we cannot afford a HW RAID card, so I have to make it with software RAID. Now I have the idea to use RAID5 and if I get the picure rigth I need let's say a ~100MB /boot in RAID1, 512MB swap not in RAID on every disk, and I can build a RAID5 from the rest of the storage space, and will be able to use 750GB-(/boot*4)-(swap*4) and the 4th HD will store the so-called parity information. FYI, RAID5 will spread the parity information across all disks. You should also consider what kind of IO throughput you require from this system. RAID5 will require an IO to every drive for each write operation. Additionally, reads can only be satisfied by a single drive. This means your write performance will max out at around 33MB/s, and reads will max out at the speed of the disks (70MB/s typical today) However writes to a RAID 0+1 array will only require writing to 2 disks, so your maximum bandwidth should be around 66MB/s when writing. Reads really benefit here however, since they can be satisfied by either RAID1 set, so you should easily be able to saturate the bus bandwidth at 132MB/s. Of course, if you really need IO bandwidth, hardware RAID is best... -Richard -- gentoo-user@gentoo.org mailing list
RE: [gentoo-user] eth0 does not exist
Thanks, much appreciated. Turns out it was ne2k-pci. Added that to the file you mentioned and it was all good. Thanks, Tom On Thu, 2006-03-02 at 11:56 -0500, sHadoW MaN wrote: Hi This is certainly because you haven't loaded your network card driver at boot time. Be sure you have entered your driver name ( I am not sure maybe it's 8029too) at file /etc/modules.autoload.d/kernel-2.6. You can use nano text editor to edit the file... Cheers cApTaiN_FaNtAsTiK From: Tom Haddon [EMAIL PROTECTED] Reply-To: gentoo-user@lists.gentoo.org To: gentoo-user@lists.gentoo.org Subject: [gentoo-user] eth0 does not exist Date: Thu, 02 Mar 2006 16:27:48 + Hi Folks, Very new to Gentoo, although not to Linux. I'm trying it out in QEMU, and have just completed the installation. Only problem is I can't seem to connect to the internet. QEMU is basically meant to provide an emulated network card to the OS it's hosting. Works fine for the install CD. Anyway, seeing as I was very new to the whole thing, I went with the genkernel option. As I say, everything seems to boot fine, except that I get this message: Starting eth0 Bringing up eth0 dhcp eth0 does not exist ERROR: problem starting needed services. netmount was not started I've tried /etc/init.d/net.eth0 start and /etc/init.d/netmount start and they both complain that eth0 doesn't exist. But if I do lspci I see my emulated network card right there: 00:03.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8029(AS) Can anyone help out? Am I just missing a kernel module? Tom Haddon mailto:[EMAIL PROTECTED] You are only young once, but you can stay immature indefinitely. - Random quotes courtesy of fortune. -- gentoo-user@gentoo.org mailing list _ Envoyer des courriels créatifs est aussi amusant que d’en recevoir. Utilisez de la papeterie, des polices et des couleurs spéciales http://join.msn.com/?pgmarket=fr-capage=features/richmail Commencez dès maintenant à profiter de tous les avantages de MSN Premium et obtenez les deux premiers mois GRATUITS*. Tom Haddon mailto:[EMAIL PROTECTED] It is easy to find fault, if one has that disposition. There was once a man who, not being able to find any other fault with his coal, complained that there were too many prehistoric toads in it. -- Mark Twain, Pudd'nhead Wilson's Calendar - Random quotes courtesy of fortune. -- gentoo-user@gentoo.org mailing list
[gentoo-user] Import SSL Certificate Authority
Hi all, I use fetchmail to retrieve mail from my university's IMAP server with SSL enabled. After an upgrade to the latest stable version, whenever I run fetchmail, I get the following output: [12:12 PM]wwong ~ $ fetchmail fetchmail: Server certificate verification error: unable to get local issuer certificate fetchmail: Server certificate verification error: certificate not trusted fetchmail: Server certificate verification error: unable to verify the first certificate But since I didn't request fetcmail to strictly match certificates, the mail still downloads fine. Now, the server certificate from the university mail server is signed by the university's computing staff, and I know that if I use webmail or other resources, I can download the certificate and, when a dialog pops up asking if I want to trust the CA, I can set it so that firefox won't ask anymore in the future. My question is, how do I import a certificate authority so that fetchmail would recognize it? From the man page it says --sslcertck (Keyword: sslcertck) Causes fetchmail to strictly check the server certificate against a set of local trusted certificates (see the sslcertpath option). If the server certificate is not signed by one of the trusted ones (directly or indirectly), the SSL connection will fail. This checking should prevent man-in- the-middle attacks against the SSL connection. Note that CRLs are seemingly not currently supported by OpenSSL in certificate verification! Your system clock should be reasonably accurate when using this option! --sslcertpath directory (Keyword: sslcertpath) Sets the directory fetchmail uses to look up local certificates. The default is your OpenSSL default one. The directory must be hashed as OpenSSL expects it - every time you add or modify a certificate in the directory, you need to use the c_rehash tool (which comes with OpenSSL in the tools/ subdirectory). so I guess my question is how to import a certificate into OpenSSL? Thanks, Willie -- Bakers trade bread recipes on a knead to know basis. Sortir en Pantoufles: up 110 days, 9:37 -- gentoo-user@gentoo.org mailing list
[gentoo-user] Re: Sound... a known method to track down problems
Harry Putnam [EMAIL PROTECTED] writes: . . . . . . . . . . . . . ... I'm in need of sound on my unix box and kind of quickly. I never even configure sound or want it as a rule but now I need it to test some recording equipment on a second winxp computer with m-audio delta-66 installed. This was solved by going thru the Alsa Guide. But I got a sneaking suspiciion that my main trouble was not understanding that play stuff would only work for root. So naturally anything in KDE desktop would be my user. I never thought to try playing as root. So now all fixed and added my user to audio group as stipulated in ALSA Guide. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] [OT] Terminal formatting and colors escape sequences
Does anyone know of I way in which to force emerge to show colors when piping the output to a file? I really could use a tip. -- Bo Andresen -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] mysterious segfaults
It's been several months ago, but I did run about eight hours of memtest86 on the memory. Is it unusual for memory to work fine for a while and *then* go bad? Mmm. No. Mine did exactly so. I might try a new power supply anyway. A faulty PS would give you odd hw-related (mostly cd-related) errors in logs, random freezes and random shutdowns... I think it's unlikely to give segfaults. however... For what it's worth, mysterious problems on this box have come and gone for probably a year now. Every time something comes up, it's so random that I don't even know where to start looking. I bet it's a faulty mobo... m. -- gentoo-user@gentoo.org mailing list
RE: [gentoo-user] mysterious segfaults
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 02 March 2006 15:54 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] mysterious segfaults On Thu, Mar 02, 2006 at 02:23:17PM -, Michael Kintzios wrote: If the application of a domestic cooling fan does not relieve the problem, then it could well be faulty memory module(s), or a faulty power supply. I'm afraid it's a random hardware failure. I've been running cpuburn for the last couple hours. According to sensors, my cpu has reached a max temp of 57 degress C. No segfaults thus far. It's been several months ago, but I did run about eight hours of memtest86 on the memory. Is it unusual for memory to work fine for a while and *then* go bad? I might try a new power supply anyway. For what it's worth, mysterious problems on this box have come and gone for probably a year now. Every time something comes up, it's so random that I don't even know where to start looking. I'm this - - close to building a whole new PC :) No two PC's/MoBos are the same, but FWIW here's a bed time story: I had three incompatible memory sticks on mine which kept failing at random. MEMTEST86+ did not show any errors. Occasionally, a simple emerge --sync was enough to crash the machine and needless to say all these repeated crashes had started to corrupt my fs. Running out of ideas I decided to start removing memory sticks until I discovered that the best result (in terms of stability) could only be arrived at if I left only one 256M stick of branded memory in the box. That was despite the fact that the MoBo manual said you could mix 'n match memory modules without any adverse effect on performance... :p In case you're suffering from the same problem, check whether a crash is more likely if them machine is about to switch to the next bank of memory/swap. Mine invariably crashed most times it was getting ready to swap data to the hard drive, or in any case as soon as it had used all the memory on the first stick. What drove me insane with this fault was that it would only crash once and thereafter it was often good until the next reboot. Also, if the transition from the first memory stick to the second or swap space, was caused by an application engaging in aggressive resource usage (e.g. Opera loading font files when it hits a website with Chinese characters) a crash was guaranteed. Slowly building up to it during a large emerge session would not cause any crashes. I hope this helps. -- Regards, Mick -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] RAID 1+0 question
Richard Fish wrote: On 3/2/06, Marton Gabor [EMAIL PROTECTED] wrote: let's say a ~100MB /boot in RAID1, 512MB swap not in RAID on every disk, Actually, if you make 512MB non-raid swap on each disk with equal priority, its like having swap on raid0 (it will be stripped over swap-partitions on all disks). But disadvantage is, that if swap is used and some of your disks fails, your system probably crushes and will have to be restarted. If stability is your concern, you could maybe think about swap on raid1. In such a case you would survive disk failure even if swap had been already used (because it is be mirrored too). You should also consider what kind of IO throughput you require from this system. RAID5 will require an IO to every drive for each write operation. Additionally, reads can only be satisfied by a single drive. This means your write performance will max out at around 33MB/s, and reads will max out at the speed of the disks (70MB/s typical today) Frankly, I dont understand this. Why should the write speed be so degraded? If you have 4 disks in raid5, and you want to write 1.5 GB of data, you actually write 500MB on disk1, 500MB on disk2, 500MB on disk3 and 500MB on disk4 (1.5 GB data + 0.5 GB parity). And because they are sata-disks, they do not share i/o channel, as 2 pata-disks on one cable. In other words, write operations are parallel. There is of course some overhead caused by parity calculation and synchronisation, but with today's cpu it is not problem. I'm sure with 4 todays equal sata disks read/write speed of raid5-array would be much higher... either RAID1 set, so you should easily be able to saturate the bus bandwidth at 132MB/s. Nope. Today disks controllers are not attached to southbridge through pci, but rather through a few pci-express lines - 2, 4, or even more, depending on mobo configuration. For example nForce4 has 20 pci-express flexible lines, it means mobo-producers can use them as they want, but most cheap boards have 2pci-express lines assigned to sata disk controller). FYI, peak transfer rates: pci-express x1 = ~500MB/s unencoded data rate (1st gen. 250MB/s), 33MHz pci = 133 MB/s And moreover unlike pci, pci-express is bi-directional, at the same time data can be read/written... But the other (and rather sad) thing is pci-express and sata-II/NCQ support in linux... :-( Jarry -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Import SSL Certificate Authority [SOLVED]
On Thu, Mar 02, 2006 at 12:19:58PM -0500, Penguin Lover Willie Wong squawked: [12:12 PM]wwong ~ $ fetchmail fetchmail: Server certificate verification error: unable to get local issuer certificate fetchmail: Server certificate verification error: certificate not trusted fetchmail: Server certificate verification error: unable to verify the first certificate --sslcertpath directory (Keyword: sslcertpath) Sets the directory fetchmail uses to look up local certificates. The default is your OpenSSL default one. The directory must be hashed as OpenSSL expects it - every time you add or modify a certificate in the directory, you need to use the c_rehash tool (which comes with OpenSSL in the tools/ subdirectory). so I guess my question is how to import a certificate into OpenSSL? Nevermind, solved. First, download the certificate [say, university.crt] Second, [the step I was missing, from 'man x509'], openssl x509 -in university.crt -addtrust emailProtection -out uni.pem Third, put the file uni.pem into a directory, say ~/.my_trusted_certs Fourth, run c_rehash ~/.my_trusted_certs Fifth, edit the .fetchmailrc to append 'sslcertpath $HOME/.my_trusted_certs' to the university's line. Now it works without the error. W -- All of this is on the web, so other people know it too. ~DeathMech, S. Sondhi. P-town PHY 205 Sortir en Pantoufles: up 110 days, 10:35 -- gentoo-user@gentoo.org mailing list
[gentoo-user] install windows after gentoo on two different physical drives
Hi list, i have a machine with two SATA hard disk. I would like to know if there are some possibilties to install windows (XP in particular) on the second hard drive AFTER gentoo has been installed on the first one, and, if yes, how to perform this task. Best regards, MC -- gentoo-user@gentoo.org mailing list
[gentoo-user] USB, udev, and SCSI emulation
I've been researching getting my camera to work and I have a few questions. I'm running udev and kernel 2.6.15.1. 1) For USB mass storage to work do I still need SCSI emulation or does udev remove that requirement? 2) If so do I still need to pass the kernel parameter hdc=ide-scsi? 3) Should SCSI emulation be automatic with udev, or might I need to write a rule for it? 4) If SCSI emulation is working will I alway see a line in dmesg about a new SCSI device? Most howto's seem to suggest this but I want to be sure. 5) Any other things I ought to be looking at? Thanks! -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] USB, udev, and SCSI emulation
Hi, I don't require scsi emulation for use with my USB camera/storage devices. I don't use ide-scsi (its not in my kernel). You might like this: http://www.abdn.ac.uk/~fac075/howto/udev.txt Which is a simple udev howto I did. Thanks Mark On 02/03/06, Wes Gray [EMAIL PROTECTED] wrote: I've been researching getting my camera to work and I have a few questions. I'm running udev and kernel 2.6.15.1. 1) For USB mass storage to work do I still need SCSI emulation or does udev remove that requirement? 2) If so do I still need to pass the kernel parameter hdc=ide-scsi? 3) Should SCSI emulation be automatic with udev, or might I need to write a rule for it? 4) If SCSI emulation is working will I alway see a line in dmesg about a new SCSI device? Most howto's seem to suggest this but I want to be sure. 5) Any other things I ought to be looking at? Thanks! -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] USB, udev, and SCSI emulation
On Thu, Mar 02, 2006 at 10:44:10AM -0800, Penguin Lover Wes Gray squawked: I've been researching getting my camera to work and I have a few questions. I'm running udev and kernel 2.6.15.1. 1) For USB mass storage to work do I still need SCSI emulation or does udev remove that requirement? no. (deliberately ambiguous here to a either/or question) 2) If so do I still need to pass the kernel parameter hdc=ide-scsi? no. that's only for scsi emulation of IDE devices, like DVD/CDR drives for example. And to my knowledge it is no longer used nowadays as cdrecord et al started supporting ATAPI... 3) Should SCSI emulation be automatic with udev, or might I need to write a rule for it? first. 4) If SCSI emulation is working will I alway see a line in dmesg about a new SCSI device? Most howto's seem to suggest this but I want to be sure. generally, no. You should see a line (or many lines, actually), after plugging in your camera, about a mass storage device found. 5) Any other things I ought to be looking at? http://gentoo-wiki.com/HOWTO_USB_Mass_Storage_Device W -- Pintsize: The Borg were hot. Sortir en Pantoufles: up 110 days, 11:44 -- gentoo-user@gentoo.org mailing list
[gentoo-user] Re: install windows after gentoo on two different physical drives
Marco Calviani [EMAIL PROTECTED] writes: i have a machine with two SATA hard disk. I would like to know if there are some possibilties to install windows (XP in particular) on the second hard drive AFTER gentoo has been installed on the first one, and, if yes, how to perform this task. IIRC Windows likes (or used) to be installed on the first drive *only*. I would take no chances and physically *remove* your Linux disc, make your windows-to-be disk the first drive, install Windows, put your linux disk back in, install Grub and correct /etc/fstab if required. -- Simon Kellett,| Gentoo Linux, Fvwm, Firefox Darmstadt, Germany| Xemacs, Vm, Gnus -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] RAID 1+0 question
On 3/2/06, Jarry [EMAIL PROTECTED] wrote: Frankly, I dont understand this. Why should the write speed be so degraded? If you have 4 disks in raid5, and you want to write 1.5 GB of data, you actually write 500MB on disk1, 500MB on disk2, 500MB on disk3 and 500MB on disk4 (1.5 GB data + 0.5 GB parity). If you are writing raw data to an array, you are correct. But if you are using a filesystem, it is the filesystem that determines where each file block is located, while it is the RAID layer tat determines which parity block goes with which data block. So the 500MB of data written to disk1 is almost certainly going to be written to a different set of blocks than the 500MB written to disk2, which will differ from disk3, etc. To calculate the parity, the RAID layer will need to know the data of the other 3 disks, so for any blocks not in buffer cache (those that were written should be in the cache), it will need to issue a read for those blocks. I may have underestimated things by using the pathalogical case where every write requires 2 reads (for the data not in cache) and 2 writes (for the updated data and the parity), but it isn't hard to imagine that the pathalogical case becomes the norm for a moderately fragmented filesystem. But the _worst_ (and best) case for RAID 0+1 is two writes. And because they are sata-disks, they do not share i/o channel, as 2 pata-disks on one cable. ytIn other words, write operations are parallel. There is of course some overhead caused by parity calculation and synchronisation, but with today's cpu it is not problem. I'm sure with 4 todays equal sata disks read/write speed of raid5-array would be much higher... It is PCI (or PCIe) bandwidth that will be the limiting factor... either RAID1 set, so you should easily be able to saturate the bus bandwidth at 132MB/s. Nope. Today disks controllers are not attached to southbridge through pci, but rather through a few pci-express lines - 2, 4, or even more, depending on mobo configuration. For example nForce4 has 20 pci-express flexible lines, it means mobo-producers can use them as they want, but most cheap boards have 2pci-express lines assigned to sata disk controller). My 4mo old nforce4 motherboard with a SATA chipset and RAID0 array maxes out at 128MB/s throughput. I am quite certain that only a single PCIe lane is being used for the SATA controller there, as each disk runs at ~80MB/s. I've seen some reports of 160MB/s to SATA disks, but that was using a hardware RAID controller, in RAID0, and 1rpm drives. What MB are you using that allows you to get 500MB/s throughput to your disks? -Richard -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Re: install windows after gentoo on two different physical drives
Marco Calviani [EMAIL PROTECTED] writes: i have a machine with two SATA hard disk. I would like to know if there are some possibilties to install windows (XP in particular) on the second hard drive AFTER gentoo has been installed on the first one, and, if yes, how to perform this task. You can do it. Although I have not tried it, i think you can install windows XP as usual on the second drive, then edit the menu.lst file and add the following entry.. title=Windows XP rootnoverify (hd1,0) makeactive chainloader +1 Again i have not tried this, if I'm wrong please point it out.. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Re: install windows after gentoo on two different physical drives
Simon Kellett wrote: Marco Calviani [EMAIL PROTECTED] writes: i have a machine with two SATA hard disk. I would like to know if there are some possibilties to install windows (XP in particular) on the second hard drive AFTER gentoo has been installed on the first one, and, if yes, how to perform this task. IIRC Windows likes (or used) to be installed on the first drive *only*. I would take no chances and physically *remove* your Linux disc, make your windows-to-be disk the first drive, install Windows, put your linux disk back in, install Grub and correct /etc/fstab if required. I can confirm that you will have a much better time if you indeed physically remove your linux drive... Cheers Antoine ps. I am going to try to expand C: this weekend and put linux on another disk so have a challenging time ahead... I thought 10gig would be all I would ever need for doze - then came along .net2... and no, there is not choice, I have either that or vb6 so I choose .net2... -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] opengl (?) weirdness in wine
On Thursday 02 March 2006 08:08 Jason Weisberger was like: First off, I'm fairly certain that this application doesn't use OpenGL, so that will not be of any concern, however it seems that if you have an ATI card, you'd want to use the proprietary drivers from the ATI website to increase your performance. This would increase your 2D performance as well. I haven't heard about any specific slowness related to ATI cards running 2D applications, so it might be a bug in Wine itself. Please visit the WineHQ.org website and submit a bugzilla report to see what they can come up with. Even if they don't know right away, the problem is noted and they can work on it in the future. I am actually using the ati driver. Overall it has been an improvement on the x.org radeon driver, but, as Holly said, it still sucks a lot of the time. The x.org driver may be slow and hopeless at 3D, but it is reliable in other ways. I may try messing about with my x.org versions again. It worked before when another wine application was playing up in a similar way. That was what prompted me to upgrade to my current version. Robert -- Robert Persson Conspiracy Bears: Once upon a time there were lots of conspiracy bears... -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] add a disclaimer to Q-Mail
El Nino wrote: We are using Q-Mail. now we would like to add a disclaimer at the end to every outgoing message. Is there someone who knows any way to add this ? Yes. Don't do it. Don't send out such garbage. -- Your separator is wrong, it's missing a final space. (Or is the mailing list stripping trailing spaces?) The future lies ahead. Nah, it lies behind you, as you can't see what is coming. Have you mooed today? No. But I've thrown snowballs. Will that do? Benno -- gentoo-user@gentoo.org mailing list
[gentoo-user] E-mail server not working ???
I followed the instruction here: http://www.gentoo.org/doc/en/virt-mail-howto.xml but whenever another server (ie. the gentoo mailing list server) tries to send it an e-mail I get this in the postfix logs: - /var/log/mail/current Mar 2 22:20:15 [postfix/smtpd] initializing the server-side TLS engine Mar 2 22:20:15 [postfix/smtpd] warning: cannot get private key from file /etc/postfix/newreq.pem Mar 2 22:20:15 [postfix/smtpd] warning: TLS library problem: 11358:error:0906D06C:PEM routines:PEM_read_bio:no start line:pem_lib.c:642:Expecting: ANY PRIVATE KEY: Mar 2 22:20:15 [postfix/smtpd] warning: TLS library problem: 11358:error:140B0009:SSL routines:SSL_CTX_use_PrivateKey_file:PEM lib:ssl_rsa.c:709: Mar 2 22:20:15 [postfix/smtpd] cannot load RSA certificate and key data - EOF and the remote server cancels the mail delivery :-( I've tried creating new certs using the original instructions but that hasn't had any effect :-( Any help is appreciated. -- gentoo-user@gentoo.org mailing list
[gentoo-user] Easy dhcpd question
How do you setup dhcpd to default start on eth1 vs eth0? This message contains information from SourceLink - Madison which may be confidential and privileged. If you are not an intended recipient, please refrain from any disclosure, copying, distribution, or use of this information and note that such actions are prohibited. If you have received this transmission in error, please notify by email[EMAIL PROTECTED].
Re: [gentoo-user] cups and parallel printing
On Thursday 02 March 2006 18:19, Glenn Enright wrote: Scratch that. got it working finally! seems there was something not quite right with the esp driver, and now a new kernel build along with a foomatic driver did the trick! Yay!!! -- Al Gore resembled a Vulcan desperately in need of a blow job. -- Bobcat Goldthwait -- gentoo-user@gentoo.org mailing list
RE: [gentoo-user] Easy dhcpd question
Doesn't that only set it for picking up dhcp servers? Being dhcpCd not dhcpd? I have eth0 which needs to pull a dhcp address then I have eth1 on a different network which needs to be a dhcp server. When you rc-update add default dhcpd it automatically runs on eth0 not eth1 so I'm having to start it with /usr/sbin/dhcpd eth1 -Original Message- From: Roy Wright [mailto:[EMAIL PROTECTED] Sent: Thursday, March 02, 2006 5:13 PM To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Easy dhcpd question /etc/conf.d/net: config_eth1=( dhcp ) HTH, Roy CR Little wrote: How do you setup dhcpd to default start on eth1 vs eth0? This message contains information from SourceLink - Madison which may be confidential and privileged. If you are not an intended recipient, please refrain from any disclosure, copying, distribution, or use of this information and note that such actions are prohibited. If you have received this transmission in error, please notify by email [EMAIL PROTECTED] -- gentoo-user@gentoo.org mailing list This message contains information from SourceLink - Madison which may be confidential and privileged. If you are not an intended recipient, please refrain from any disclosure, copying, distribution, or use of this information and note that such actions are prohibited. If you have received this transmission in error, please notify by email [EMAIL PROTECTED] -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Easy dhcpd question
On 3/2/06, CR Little [EMAIL PROTECTED] wrote: When you rc-update add default dhcpd it automatically runs on eth0 not eth1 so I'm having to start it with /usr/sbin/dhcpd eth1 /etc/conf.d/dhcp: # Configure which interface or interfaces to for dhcp to listen on # list all interfaces space separated. If this is not specified then # we listen on all interfaces. #IFACE= -Richard -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Easy dhcpd question
CR Little wrote: Doesn't that only set it for picking up dhcp servers? Being dhcpCd not dhcpd? I have eth0 which needs to pull a dhcp address then I have eth1 on a different network which needs to be a dhcp server. When you rc-update add default dhcpd it automatically runs on eth0 not eth1 so I'm having to start it with /usr/sbin/dhcpd eth1 -Original Message- From: Roy Wright [mailto:[EMAIL PROTECTED] Sent: Thursday, March 02, 2006 5:13 PM To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Easy dhcpd question /etc/conf.d/net: config_eth1=( dhcp ) HTH, Roy CR Little wrote: How do you setup dhcpd to default start on eth1 vs eth0? Oops, my mistake. I was getting SEGV with dhcpcd 2.0.2 today so masked it. I still had client on my mind instead of server. Sorry. Richard posted the right answer. Have fun, Roy -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] install windows after gentoo on two different physical drives
On 3/2/06, Marco Calviani [EMAIL PROTECTED] wrote: Hi list, i have a machine with two SATA hard disk. I would like to know if there are some possibilties to install windows (XP in particular) on the second hard drive AFTER gentoo has been installed on the first one, and, if yes, how to perform this task. I would use the most secure option, fisically remove the Linux drive, install Windows, put the Linux drive back and edit grub/lilo. Windows has a history of fixing Linux partitions, destroying data and disabling boot from their unknown partition type. Best regards, MC -- gentoo-user@gentoo.org mailing list -- Daniel da Veiga Computer Operator - RS - Brazil -BEGIN GEEK CODE BLOCK- Version: 3.1 GCM/IT/P/O d-? s:- a? C++$ UBLA++ P+ L++ E--- W+++$ N o+ K- w O M- V- PS PE Y PGP- t+ 5 X+++ R+* tv b+ DI+++ D+ G+ e h+ r+ y++ --END GEEK CODE BLOCK-- -- gentoo-user@gentoo.org mailing list
[gentoo-user] Which profile for EM64T setup?
I currently have a generic i686 setup on my P4 with HT and EM64T. I've come to realize that I could be doing better so I've started considering switching over to use EM64T (nocona). I figure that I'll be switching my CHOST to x86_64-pc-linux-gnu and my march variable in CFLAGS to nocona (from the i686 it's set to now), rebootstrap and then do a full system/world rebuild but I haven't been able to find any documentation regarding which profile I should be using. I'm currently using default-linux/x86/2006.0 but which one might be best if I'm intending to use a multilib setup (since I'll be wanting to avoid breaking anything)? Aside from that, does anyone have any information/suggestions relating to the use of EM64T in the Gentoo environment or in general? Thanks. signature.asc Description: This is a digitally signed message part
[gentoo-user] login error message
Since doing whatever that command is that gets ati opengl working I have been getting the following error message when I do a console login, either as a user or as root: -bash: export: -m: invalid option export: usage: export [-nf] [name[=value] ...] or export -p -bash: export: -i: invalid option export: usage: export [-nf] [name[=value] ...] or export -p -bash: export: -o: invalid option export: usage: export [-nf] [name[=value] ...] or export -p -bash: export: -m: invalid option export: usage: export [-nf] [name[=value] ...] or export -p -bash: export: -m: invalid option export: usage: export [-nf] [name[=value] ...] or export -p -bash: export: -m: invalid option export: usage: export [-nf] [name[=value] ...] or export -p -bash: export: -m: invalid option export: usage: export [-nf] [name[=value] ...] or export -p -bash: export: -m: invalid option export: usage: export [-nf] [name[=value] ...] or export -p -bash: export: -m: invalid option export: usage: export [-nf] [name[=value] ...] or export -p -bash: export: -m: invalid option export: usage: export [-nf] [name[=value] ...] or export -p -bash: export: -m: invalid option export: usage: export [-nf] [name[=value] ...] or export -p -bash: export: -m: invalid option export: usage: export [-nf] [name[=value] ...] or export -p How do I stop this? Many thanks Robert -- Robert Persson Conspiracy Bears: Once upon a time there were lots of conspiracy bears... -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Which profile for EM64T setup?
On Friday 03 March 2006 06:13, Statux wrote: I currently have a generic i686 setup on my P4 with HT and EM64T. I've come to realize that I could be doing better so I've started considering switching over to use EM64T (nocona). I figure that I'll be switching my CHOST to x86_64-pc-linux-gnu and my march variable in CFLAGS to nocona (from the i686 it's set to now), rebootstrap and then do a full system/world rebuild but I haven't been able to find any documentation regarding which profile I should be using. I'm currently using default-linux/x86/2006.0 but which one might be best if I'm intending to use a multilib setup (since I'll be wanting to avoid breaking anything)? Aside from that, does anyone have any information/suggestions relating to the use of EM64T in the Gentoo environment or in general? Thanks. Hi, Lacking any experience with EM64T, but just checked and there's a profile for ia64 (think it's the same). Check (look at) /usr/portage/profiles/default-linux/ia64 for a 'profile'. PS:there's also a minimal-install-CD.2006.0 stages for ia64. HTH.Rumen pgp0FJp7aWWHJ.pgp Description: PGP signature