Re: [gentoo-user] xf86-video-intel, compiz, mplayer -fs file.avi freeze
I cannot solve your problem because I know little of X and nothing about compiz (which I consider futile), but for this kind of problem, you may want to know about the magic SysRq key. It allows you to at least reboot your system cleanly when the system seems locked, and some times can even help you kill the bad program an resume work. http://www.kernel.org/doc/Documentation/sysrq.txt Thanks. I solved problem by recompiling whole Xorg to version same as in ubuntu. This is part from portage.keywords: =x11-drivers/xf86-video-intel-2.4.2-r3 =x11-base/xorg-x11-7.3 =x11-base/xorg-server-1.5.2 =x11-libs/libpciaccess-0.10.3 =x11-proto/xproto-7.0.13 =x11-apps/xauth-1.0.3 =x11-libs/libXrender-0.9.4 =x11-proto/renderproto-0.9.3 =x11-proto/xextproto-7.0.3 =x11-libs/libXau-1.0.4 =x11-libs/libXext-1.0.4 =x11-proto/inputproto-1.4.4 =x11-apps/rgb-1.0.3 =x11-libs/libX11-1.1.5 =x11-apps/xinit-1.0.8-r3 =x11-proto/xf86driproto-2.0.4 =x11-libs/libXxf86vm-1.0.2 =x11-proto/randrproto-1.2.2 =x11-libs/libXfont-1.3.3 =x11-drivers/xf86-video-v4l-0.2.0 =x11-drivers/xf86-video-fbdev-0.4.0 =x11-drivers/xf86-input-keyboard-1.3.1 =x11-drivers/xf86-input-evdev-2.0.6 =x11-drivers/xf86-input-synaptics-0.15.2-r2 =x11-drivers/xf86-input-mouse-1.3.0 =x11-libs/xtrans-1.2.2 =media-libs/mesa-7.2 =x11-proto/printproto-1.0.4 =x11-libs/libdrm-2.3.1 =x11-libs/pixman-0.12.0 =x11-misc/xkeyboard-config-1.3
Re: [gentoo-user] iptraf vs iptables (mangle access)
On 3/1/07, Boyd Stephen Smith Jr. [EMAIL PROTECTED] wrote: That would be correct, since every forwarded packet passes though both the pre-routing and post-routing chains, so you are counting every packet (at least those that are not dropped in the FORWARD chain) twice. I don't fully understand how is that possible that my rules count packet twice, could you explain it more briefly? I specified -i eth0 in PREROUTING and -o eth0 in POSTROUTING. Isn't this correct way to count packets only once? ...and I'm getting values only from chain 'stat', which is called only from PREROUTING and POSTROUTING with specified network interface respectively to direction (-i/-o eth0). So in my opinion a packet traveling through the router to my network passes only once through 'stats' as it is accepted only in PREROUTING with -i eth0, and not in POSTROUTING with -o eth0, as it goes out from eth1. Am I correct?
Re: [gentoo-user] iptraf vs iptables (mangle access)
On 3/2/07, Daniel Iliev [EMAIL PROTECTED] wrote: CapSel wrote: On 3/1/07, *Boyd Stephen Smith Jr.* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: That would be correct, since every forwarded packet passes though both the pre-routing and post-routing chains, so you are counting every packet (at least those that are not dropped in the FORWARD chain) twice. I don't fully understand how is that possible that my rules count packet twice, could you explain it more briefly? I specified -i eth0 in PREROUTING and -o eth0 in POSTROUTING. Isn't this correct way to count packets only once? ...and I'm getting values only from chain 'stat', which is called only from PREROUTING and POSTROUTING with specified network interface respectively to direction (-i/-o eth0). So in my opinion a packet traveling through the router to my network passes only once through 'stats' as it is accepted only in PREROUTING with -i eth0, and not in POSTROUTING with -o eth0, as it goes out from eth1. Am I correct? Perhaps this packet travel diagram will help: http://www.linuxnetmag.com/share/issue9/iptables3.jpg To be totally sure - when packet arrives from internet to eth0 it passes through PREROUTING as packet that comes from eth0, then it travels across FORWARD as packet that comes from eth0 toward eth1, and finally it goes to POSTROUTING as packet that wants to come out through eth1? And if I have rules: -t mangle -A PREROUTING -i eth0 -j stats -t mangle -A POSTROUTING -o eth0 -j stats (there are no other rules that jumps to stats, and these are only rules in mangle table) how many times the packet would pass through 'stats'? From witch places on this diagram iptraf takes values?
[gentoo-user] iptraf vs iptables (mangle access)
I'm trying to count bandwidth and number of packets on my router with rules like: iptables -t mangle -A PREROUTING -i eth0 -j stats iptables -t mangle -A POSTROUTING -o eth0 -j stats iptables -t mangle -A stats -p tcp -s $ip -j ACCEPT iptables -t mangle -A stats -p udp -s $ip -j ACCEPT iptables -t mangle -A stats -p icmp -s $ip -j ACCEPT iptables -t mangle -A stats -p tcp -d $ip -j ACCEPT iptables -t mangle -A stats -p udp -d $ip -j ACCEPT iptables -t mangle -A stats -p icmp -d $ip -j ACCEPT Chain stats has policy set to ACCEPT. My script reads these values every minute and sets them to zero. The problem is that numbers of packets are more than twice greater than iptraf shows, but bandwidth seems to be correct. Of course I divide those numbers by 60 to get value per second. Why this difference is so big, what could I done wrong?
[gentoo-user] Re: iptraf vs iptables (mangle access)
Values taken from ifconfig shows same values as my firewall :) Why On 3/1/07, CapSel [EMAIL PROTECTED] wrote: I'm trying to count bandwidth and number of packets on my router with rules like: iptables -t mangle -A PREROUTING -i eth0 -j stats iptables -t mangle -A POSTROUTING -o eth0 -j stats iptables -t mangle -A stats -p tcp -s $ip -j ACCEPT iptables -t mangle -A stats -p udp -s $ip -j ACCEPT iptables -t mangle -A stats -p icmp -s $ip -j ACCEPT iptables -t mangle -A stats -p tcp -d $ip -j ACCEPT iptables -t mangle -A stats -p udp -d $ip -j ACCEPT iptables -t mangle -A stats -p icmp -d $ip -j ACCEPT Chain stats has policy set to ACCEPT. My script reads these values every minute and sets them to zero. The problem is that numbers of packets are more than twice greater than iptraf shows, but bandwidth seems to be correct. Of course I divide those numbers by 60 to get value per second. Why this difference is so big, what could I done wrong?
Re: [gentoo-user] wine compilation errors
If it isn't luck it seems that some part of portage coused this error. I untared wine tarball from distfiles and I've done everything according to README inside. It compiled successfully. How can I check what part of portage couse this? On 1/9/07, CapSel [EMAIL PROTECTED] wrote: I added en to LINGUAS and I emerged all autoconf and automake ports, m4, bison, binutils, flex, gawk, sed and I get this: ../../tools/winegcc/winegcc -B../../tools/winebuild -shared ./dpnet.specaddr ess.o client.o dpnet_main.o peer.o regsvr.o server.oversion.res -o dpnet.d ll.so -lole32 -luser32 -ladvapi32 -lkernel32 -ldxguid -luuid ../../libs/port/l ibwine_port.a make[2]: Leaving directory `/var/tmp/portage/wine-0.9.22/work/wine-0.9.22/dlls/dpnet' make[2]: Entering directory `/var/tmp/portage/wine-0.9.22/work/wine-0.9.22/dlls/dpnhpast' Makefile:460: warning: NUL character seen; rest of line ignored Makefile:473: warning: NUL character seen; rest of line ignored make[2]: *** No rule to make target `../../include/w', needed by `main.o'. Stop. make[2]: Leaving directory `/var/tmp/portage/wine-0.9.22/work/wine-0.9.22/dlls/dpnhpast' make[1]: *** [dpnhpast] Error 2 make[1]: Leaving directory `/var/tmp/portage/wine-0.9.22/work/wine-0.9.22/dlls' make: *** [dlls] Error 2 !!! ERROR: app-emulation/wine-0.9.22 failed. Call stack: ebuild.sh, line 1546: Called dyn_compile ebuild.sh, line 937: Called src_compile wine-0.9.22.ebuild, line 111: Called die !!! all !!! If you need support, post the topmost build error, and the call stack if relevant. It looks like this is error in random Makefile, there are series of dots on black background when I look at mcedit and less shows [EMAIL PROTECTED] What else can couse these errors? On 1/8/07, Richard Fish [EMAIL PROTECTED] wrote: On 1/7/07, CapSel [EMAIL PROTECTED] wrote: ... what else can I do? I don't see anything obviously wrong. It looks like the problem appears when autoconf/automake are run to generate the Makefiles. Searching bugzilla for similar things leads me to believe that the nls USE flag and non-english language settings could have an effect here. Another similar bug was traced to the version of sed being used, but that was quite old. However, all of the relevant bugs seem quite old. Still, you might try: LINGUAS=en en_US emerge wine If it is still broke, take a look at (and/or post) /var/tmp/portage/wine-0.9.22/work/wine-0.9.22/dlls/oleaut32/Makefile -Richard -- gentoo-user@gentoo.org mailing list -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] wine compilation errors
I added en to LINGUAS and I emerged all autoconf and automake ports, m4, bison, binutils, flex, gawk, sed and I get this: ../../tools/winegcc/winegcc -B../../tools/winebuild -shared ./dpnet.specaddr ess.o client.o dpnet_main.o peer.o regsvr.o server.oversion.res -o dpnet.d ll.so -lole32 -luser32 -ladvapi32 -lkernel32 -ldxguid -luuid ../../libs/port/l ibwine_port.a make[2]: Leaving directory `/var/tmp/portage/wine-0.9.22/work/wine-0.9.22/dlls/dpnet' make[2]: Entering directory `/var/tmp/portage/wine-0.9.22/work/wine-0.9.22/dlls/dpnhpast' Makefile:460: warning: NUL character seen; rest of line ignored Makefile:473: warning: NUL character seen; rest of line ignored make[2]: *** No rule to make target `../../include/w', needed by `main.o'. Stop. make[2]: Leaving directory `/var/tmp/portage/wine-0.9.22/work/wine-0.9.22/dlls/dpnhpast' make[1]: *** [dpnhpast] Error 2 make[1]: Leaving directory `/var/tmp/portage/wine-0.9.22/work/wine-0.9.22/dlls' make: *** [dlls] Error 2 !!! ERROR: app-emulation/wine-0.9.22 failed. Call stack: ebuild.sh, line 1546: Called dyn_compile ebuild.sh, line 937: Called src_compile wine-0.9.22.ebuild, line 111: Called die !!! all !!! If you need support, post the topmost build error, and the call stack if relevant. It looks like this is error in random Makefile, there are series of dots on black background when I look at mcedit and less shows [EMAIL PROTECTED] What else can couse these errors? On 1/8/07, Richard Fish [EMAIL PROTECTED] wrote: On 1/7/07, CapSel [EMAIL PROTECTED] wrote: ... what else can I do? I don't see anything obviously wrong. It looks like the problem appears when autoconf/automake are run to generate the Makefiles. Searching bugzilla for similar things leads me to believe that the nls USE flag and non-english language settings could have an effect here. Another similar bug was traced to the version of sed being used, but that was quite old. However, all of the relevant bugs seem quite old. Still, you might try: LINGUAS=en en_US emerge wine If it is still broke, take a look at (and/or post) /var/tmp/portage/wine-0.9.22/work/wine-0.9.22/dlls/oleaut32/Makefile -Richard -- gentoo-user@gentoo.org mailing list -- gentoo-user@gentoo.org mailing list
[gentoo-user] wine compilation errors
What is going on? How can I compile wine and solve this problem? I'm running out of ideas. Whenever I try to emerge wine for my laptop I get error similar to this: make[2]: Leaving directory `/var/tmp/portage/wine-0.9.22/work/wine-0.9.22/dlls/oleacc' make[2]: Entering directory `/var/tmp/portage/wine-0.9.22/work/wine-0.9.22/dlls/oleaut32' Makefile:490: warning: NUL character seen; rest of line ignored Makefile:495: warning: NUL character seen; rest of line ignored Makefile:496: warning: NUL character seen; rest of line ignored Makefile:497: *** missing separator. Stop. make[2]: Leaving directory `/var/tmp/portage/wine-0.9.22/work/wine-0.9.22/dlls/oleaut32' make[1]: *** [oleaut32] Error 2 make[1]: Leaving directory `/var/tmp/portage/wine-0.9.22/work/wine-0.9.22/dlls' make: *** [dlls] Error 2 !!! ERROR: app-emulation/wine-0.9.22 failed. Call stack: ebuild.sh, line 1546: Called dyn_compile ebuild.sh, line 937: Called src_compile wine-0.9.22.ebuild, line 111: Called die !!! all !!! If you need support, post the topmost build error, and the call stack if relevant. I thought this is because I have -Os in CFLAGS, but on my server I'm getting same error. I downloaded stage3 for i686 of 2006.1, copied my make.conf, changed -Os to -O2 and... It didn't help. On laptop and server I have CHOST i686, and I haven't changed it ever. I deleted tarball and downloaded it few times but it didn't helped, either. FSCK does not show anything I don't know what do do next, please help. I attached make.conf from my laptop and there is still -Os, and this is only change in make.conf in comparison to one from chroot on my server. make.conf Description: Binary data
[gentoo-user] wine compilation errors
What is going on? How can I compile wine and solve this problem? I'm running out of ideas. Whenever I try to emerge wine for my laptop I get error similar to this: make[2]: Leaving directory `/var/tmp/portage/wine-0.9.22/work/wine-0.9.22/dlls/oleacc' make[2]: Entering directory `/var/tmp/portage/wine-0.9.22/work/wine-0.9.22/dlls/oleaut32' Makefile:490: warning: NUL character seen; rest of line ignored Makefile:495: warning: NUL character seen; rest of line ignored Makefile:496: warning: NUL character seen; rest of line ignored Makefile:497: *** missing separator. Stop. make[2]: Leaving directory `/var/tmp/portage/wine-0.9.22/work/wine-0.9.22/dlls/oleaut32' make[1]: *** [oleaut32] Error 2 make[1]: Leaving directory `/var/tmp/portage/wine-0.9.22/work/wine-0.9.22/dlls' make: *** [dlls] Error 2 !!! ERROR: app-emulation/wine-0.9.22 failed. Call stack: ebuild.sh, line 1546: Called dyn_compile ebuild.sh, line 937: Called src_compile wine-0.9.22.ebuild, line 111: Called die !!! all !!! If you need support, post the topmost build error, and the call stack if relevant. I thought this is because I have -Os in CFLAGS, but on my server I'm getting same error. I downloaded stage3 for i686 of 2006.1, copied my make.conf, changed -Os to -O2 and... It didn't help. On laptop and server I have CHOST i686, and I haven't changed it ever. I deleted tarball and downloaded it few times but it didn't helped, either. FSCK does not show anything I don't know what do do next, please help. I attached make.conf from my laptop and there is still -Os, and this is only change in make.conf in comparison to one from chroot on my server. make.conf Description: Binary data
Re: [gentoo-user] wine compilation errors
I attached output of emerge --info - plik. # emerge -pv wine These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild N] app-emulation/wine-0.9.22 USE=X alsa cups ncurses opengl oss -arts -dbus -esd -gif -glut -hal -jack -jpeg -lcms -ldap -nas -scanner -xml 0 kB Total size of downloads: 0 kB # ... what else can I do? On 1/7/07, Richard Fish [EMAIL PROTECTED] wrote: On 1/7/07, CapSel [EMAIL PROTECTED] wrote: What is going on? How can I compile wine and solve this problem? I'm running out of ideas. It just compiled fine on my system. Post your emerge --info and output of emerge -pv wine please. -Richard -- gentoo-user@gentoo.org mailing list plik Description: Binary data
[gentoo-user] Makefile+wine problem
I'm getting this kind of error with wine 0.9.25 and 0.9.27. On .25 it is on same directory, and on .27 on different. My friend _compiled_ wine with same USE flags, but he has pre 4.1 gcc. I can't find on google similar bug with wine, but there were same errors in other projects but soloved by re-uncompressing. My error can't be solved by uncompresing one more time, by re-wget'ing file. My file system is XFS but full fsck shows that it is clean, on another computer (with rsynced system) on ext3 I get same errors. Can sombody help me?? make[2]: Leaving directory `/var/tmp/portage/wine-0.9.27/work/wine-0.9.27/dlls/ole32' make[2]: Entering directory `/var/tmp/portage/wine-0.9.27/work/wine-0.9.27/dlls/oleacc' make[2]: *** No rule to make target `../../inc', needed by `main.o'. Stop. make[2]: Leaving directory `/var/tmp/portage/wine-0.9.27/work/wine-0.9.27/dlls/oleacc' make[1]: *** [oleacc] Error 2 make[1]: Leaving directory `/var/tmp/portage/wine-0.9.27/work/wine-0.9.27/dlls' make: *** [dlls] Error 2 !!! ERROR: app-emulation/wine-0.9.27 failed. Call stack: ebuild.sh, line 1546: Called dyn_compile ebuild.sh, line 937: Called src_compile wine-0.9.27.ebuild, line 113: Called die !!! all !!! If you need support, post the topmost build error, and the call stack if relevant. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] BIG reiserfs problem
I use reiserfs (version 3.x, if correctly recall 3.6), haven't even touched reiser4(resierfs 4.X).On 10/28/06, Hemmann, Volker Armin [EMAIL PROTECTED] wrote:On Saturday 28 October 2006 19:16, CapSel wrote: I wrote five because I started to count 5 times ago. My RAM is in good condition :) Problem with reiserfs (reiser4 is used across the net to specify version 4.X IMHO)so you are using reiser4? You know that is not even in a stable kernel and still regarded as testing?--gentoo-user@gentoo.org mailing list
[gentoo-user] Oops on heavy load
My server crashed twice with same Oops info. It runs apache,mysql,nfs (client only), it has more than 2GB swap partition (does not use it very much), 2GB ram, disk is Raptor on SATA... I have two clones of this machine (computers with same parts, system is copied by RSYNC) and only one of them has these Oopses. I made copies of gentoo like this: 1 - 2 - 3 ...and that one which crashed is 2, so if there was any error durring rsync from 1-2 it should be repeted on 3, but 3 and 1 works all the time without any crashes. When it crushes some process' just stops - for example ps ax stopped in the middle of list, ctrl+c did not helped, w (/bin/w) did not showed anything, but dmesg worked and I could login thourgh ssh to try another command. The server must work all the time... Does anybody have an idea what coused this Oops?? Below I added text from dmesg after this Oops. Thanks in advance for any help. BUG: unable to handle kernel NULL pointer dereference at virtual address 0044 printing eip: c02c4887 *pde = Oops: 0002 [#1] SMP Modules linked in: nfs lockd nfs_acl sunrpc floppy intel_agp agpgart e100 CPU:0 EIP:0060:[c02c4887]Not tainted VLI EFLAGS: 00010202 (2.6.17-gentoo-r4 #1) EIP is at _spin_lock+0x0/0xf eax: 0044 ebx: f5064090 ecx: f5064c68 edx: f5064184 esi: f5064184 edi: ebp: 0001 esp: c2273ec8 ds: 007b es: 007b ss: 0068 Process kswapd0 (pid: 162, threadinfo=c2272000 task=c2201a50) Stack: c014d48c f5064090 f5064098 002f c01604fb 002f 0080 c5e52248 c446cab8 7080 0081 c20fe520 c01605ce c01394db 001c2000 7080 0003 0007172e 00d0 Call Trace: c014d48c remove_inode_buffers+0x28/0x5b c01604fb prune_icache+0xb8/0x177 c01605ce shrink_icache_memory+0x14/0x2b c01394db shrink_slab+0x13c/0x194 c013a651 balance_pgdat+0x219/0x335 c013a859 kswapd+0xec/0xee c0128712 autoremove_wake_function+0x0/0x2d c0128712 autoremove_wake_function+0x0/0x2d c013a76d kswapd+0x0/0xee c0100e01 kernel_thread_helper+0x5/0xb Code: 81 28 00 00 00 01 74 05 e8 3f e8 ff ff c3 ba 00 e0 ff ff 21 e2 81 42 14 00 01 00 00 f0 81 28 00 00 00 01 74 05 e8 22 e8 ff ff c3 f0 fe 08 79 09 f3 90 80 38 00 7e f9 eb f2 c3 f0 81 28 00 00 00 EIP: [c02c4887] _spin_lock+0x0/0xf SS:ESP 0068:c2273ec8 -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] does anyone here speak japanese? please help in translaton
On 6/19/06, fei huang [EMAIL PROTECTED] wrote: This mail is written in Chinese, yes, I'm sure, for I am a Chinese.. besides, please click the report spam button to get rid of it. regards daniel On 6/18/06, CapSel [EMAIL PROTECTED] wrote: I don't speak japanese at all :) -- Forwarded message -- From: 深圳物资集团有限公司 [EMAIL PROTECTED] Date: Jun 18, 2006 12:48 AM Subject: 深圳物资集团有限公司 To: [EMAIL PROTECTED] 致贵公司财务经理收: 本公司为广东省深圳物资集团有限公司.本着为双方公司利益的出发点,可向外代开(增值税发票) (普通商品销售发票)(服务发票)(运输专用发票),代开手续费请来电与我公司负责人详谈。 贵公司在进出项或做帐上相关的问题可来电咨讯。欢迎诚意的合作。 如这封邮件对贵公司造成打扰深表歉意,并请删除。 顺祝商祺 ! 说明: (本公司软件设置定时发送本邮件) 联 系 人:陆小姐 手 机:013631559992 -- gentoo-user@gentoo.org mailing list Thank you very much. -- gentoo-user@gentoo.org mailing list
[gentoo-user] does anyone here speak japanese? please help in translaton
I don't speak japanese at all :) -- Forwarded message -- From: 深圳物资集团有限公司 [EMAIL PROTECTED] Date: Jun 18, 2006 12:48 AM Subject: 深圳物资集团有限公司 To: [EMAIL PROTECTED] 致贵公司财务经理收: 本公司为广东省深圳物资集团有限公司.本着为双方公司利益的出发点,可向外代开(增值税发票) (普通商品销售发票)(服务发票)(运输专用发票),代开手续费请来电与我公司负责人详谈。 贵公司在进出项或做帐上相关的问题可来电咨讯。欢迎诚意的合作。 如这封邮件对贵公司造成打扰深表歉意,并请删除。 顺祝商祺 ! 说明: (本公司软件设置定时发送本邮件) 联 系 人:陆小姐 手 机:013631559992 -- gentoo-user@gentoo.org mailing list
[gentoo-user] Scrolling page with floating flash animation in firefox 1.5.0.3
I've found that I can scroll down page with floating flash animation beyond page's end. For example on http://serwisy.gazeta.pl/nauka/0,0.html If a yellow one starts moving then scroll down :) Is it a bug? Can this be dangerous for firefox? -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] SATA raptor failure - why?
On 5/25/06, Ryan Tandy [EMAIL PROTECTED] wrote: Make a backup. Now. When you start seeing 'end_request: I/O error', it's always (in my experience) been a sign of a disk getting ready to pack it in. Double check physical connections, make sure no wires are loose; if S.M.A.R.T. is available, check its status - but I highly doubt a software issue here. -- gentoo-user@gentoo.org mailing list Unfortunately smartmontools does not support SATA disks. Is there any other tool to check S.M.A.R.T. on this kind of disks? -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] SATA raptor failure - why?
On 5/25/06, Jarry [EMAIL PROTECTED] wrote: Unfortunately smartmontools does not support SATA disks. More exactly: Smartmontools should work correctly with SATA drives under both Linux 2.4 and 2.6 kernels, if you use the standard IDE drivers in drivers/ide. If you use the new libata drivers, it won't work correctly because libata doesn't yet support the needed ATA-passthrough ioctl() calls. (smartmontools.sourceforge.net) Jarry -- gentoo-user@gentoo.org mailing list How to set up a SATA disk to be seen as IDE disk to the kernel? Can this be done by adding something to kernel command line in grub? I used genkernel to compile kernel. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] SATA raptor failure - why?
On 5/25/06, Raymond Lewis Rebbeck [EMAIL PROTECTED] wrote: smartmontools does in fact support SATA disks starting with kernel 2.6.15. Use the '-d ata' argument with SATA disks and it will work fine. For example: # smartmontools -d ata -a /dev/sda -- Raymond Lewis Rebbeck -- gentoo-user@gentoo.org mailing list Thank you very much :D -- gentoo-user@gentoo.org mailing list
[gentoo-user] SATA raptor failure - why?
Hi all, I have sata disk sda connected to ICH7 (ata_piix). Everything worked fine until I saw these error messages: May 24 23:31:43 foo ata1: command 0x35 timeout, stat 0xd1 host_stat 0x21 May 24 23:31:43 foo ata1: translated ATA stat/err 0xd1/00 to SCSI SK/ASC/ASCQ 0xb/47/00 May 24 23:31:43 foo ata1: status=0xd1 { Busy } May 24 23:31:43 foo sd 0:0:0:0: SCSI error: return code = 0x802 May 24 23:31:43 foo sda: Current: sense key=0xb May 24 23:31:43 foo ASC=0x47 ASCQ=0x0 May 24 23:31:43 foo end_request: I/O error, dev sda, sector 17059167 May 24 23:31:43 foo ATA: abnormal status 0xD1 on port 0xB807 May 24 23:31:43 foo ATA: abnormal status 0xD1 on port 0xB807 May 24 23:31:43 foo ATA: abnormal status 0xD1 on port 0xB807 ...and it began to show in dmesg every about 5 seconds and FS on it stopped responding. Is this disk error, controler error? Every time I reboot it I get these messages: May 24 23:31:43 foo ata1: command 0x35 timeout, stat 0xd1 host_stat 0x21 May 24 23:31:43 foo ata1: translated ATA stat/err 0xd1/00 to SCSI SK/ASC/ASCQ 0xb/47/00 May 24 23:31:43 foo ata1: status=0xd1 { Busy } May 24 23:31:43 foo sd 0:0:0:0: SCSI error: return code = 0x802 May 24 23:31:43 foo sda: Current: sense key=0xb May 24 23:31:43 foo ASC=0x47 ASCQ=0x0 May 24 23:31:43 foo end_request: I/O error, dev sda, sector 17059167 May 24 23:31:43 foo ATA: abnormal status 0xD1 on port 0xB807 May 24 23:31:43 foo ATA: abnormal status 0xD1 on port 0xB807 May 24 23:31:43 foo ATA: abnormal status 0xD1 on port 0xB807 This disk is heavely loaded by mysql. ...so what does these messages mean, how to avoid them and the failure? Thank you in advance for any help. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] mozilla adding/removing lines in text
On 4/6/06, Richard Fish [EMAIL PROTECTED] wrote: On 4/6/06, CapSel [EMAIL PROTECTED] wrote: ...and it's happening again... I inserrted DisplaySize in Monitor section with size in milimeters as it was in man xorg.conf. The one other thing i can think of to try is to use the command line option to force 75x75 dpi. If you are using kdm, edit /usr/kde/3.*/share/config/kdm/kdmrc. There you will find a ServerCmd setting like this: ServerCmd=/usr/bin/X -br Try changing this to: ServerCmd=/usr/bin/X -dpi 75 -br If you use another dm, you'll have to figure out how to change it, or ask here... -Richard -- gentoo-user@gentoo.org mailing list I added to ~/.xserverrc: /usr/bin/X -dpi 75 and after day of testing it seems it solved the problem. Thank you very much :) -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] mozilla adding/removing lines in text
On 4/3/06, Richard Fish [EMAIL PROTECTED] wrote: On 4/3/06, CapSel [EMAIL PROTECTED] wrote: Yes, I tried... but it's not a solution. :( Can anyone tell me how to check what is causing this? I've seen this beforebut I also can't remember how I solved it. My first guess is something in your ~/.gtkrc-2.0 file. Mine contains: include /usr/share/themes/Industrial/gtk-2.0/gtkrc style user-font { font_name=Sans Serif 11 } widget_class * style user-font gtk-theme-name=Industrial gtk-font-name=Sans Serif 11 If that doesn't help, can you tell us more about your system? What graphics chip and driver? -Richard -- gentoo-user@gentoo.org mailing list I don't know how it is possible but when I connected a monitor to my laptop, after restart, every font was about 2px bigger and the problem was visible. When I disconected It (the monitor) and restarted my laptop everything came back to normal state... Some time ago I had a stationary computer connected to this monitor and there was same situation. I don't know how this is possible, but it's true. Is there a way to track down what is happening between laptop and monitor and stop it? (without disconnecting monitor of course). Can someone explain how to do it? -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] mozilla adding/removing lines in text
On 4/6/06, Richard Fish [EMAIL PROTECTED] wrote: On 4/6/06, CapSel [EMAIL PROTECTED] wrote: I don't know how it is possible but when I connected a monitor to my laptop, after restart, every font was about 2px bigger and the problem was visible. Ahhh...sounds like X is detecting your display size and adjusting your DPI to match. Try setting a fixed DisplaySize in /etc/X11/xorg.conf. You should find the good value in /var/log/Xorg.0.log. Or if you use the nvidia driver, set 'Option UseEdidDpi Off'. -Richard -- gentoo-user@gentoo.org mailing list It's solved I think... at least for now, thanks :D -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] mozilla adding/removing lines in text
On 4/6/06, CapSel [EMAIL PROTECTED] wrote: On 4/6/06, Richard Fish [EMAIL PROTECTED] wrote: On 4/6/06, CapSel [EMAIL PROTECTED] wrote: I don't know how it is possible but when I connected a monitor to my laptop, after restart, every font was about 2px bigger and the problem was visible. Ahhh...sounds like X is detecting your display size and adjusting your DPI to match. Try setting a fixed DisplaySize in /etc/X11/xorg.conf. You should find the good value in /var/log/Xorg.0.log. Or if you use the nvidia driver, set 'Option UseEdidDpi Off'. -Richard -- gentoo-user@gentoo.org mailing list It's solved I think... at least for now, thanks :D ...and it's happening again... I inserrted DisplaySize in Monitor section with size in milimeters as it was in man xorg.conf. -- gentoo-user@gentoo.org mailing list
[gentoo-user] firefox and svg
I wanted to make some animations not using flash so I founded svg, but firefox 1.0.7 does not support it. I emerged adobesvg and: 1. firefox 1.0.7 (-bin) after changeing from page with svg to other crashes all open windows. After right-click I can see menu of adobesvg; without adobesvg it prompts for file download. 2. firefox 1.5.0.1 (~x86)(-bin) does not show animations - only first phase, before animations. After right-click I can see only firefox menu. On about:plugins it shows that svg handled by adobesvg; after deinstalling adobesvg about:plugins there is no diffrence - image is not animated and the menu is the same (firefox's). 3. mozilla (-bin) (suite) shows animations (with adobesvg) and does not crash... 4. Opera shows all animations without adobesvg :) ...and I wanted to use firefox... Can someone help me? -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] firefox and svg
On 4/4/06, Christoph Eckert [EMAIL PROTECTED] wrote: Can someone help me? AFAIR Firefox 1.5 supports SVG, but only a subset of the complete specification. I thinks that's why animations do not appear. I also created some simple static SVGs, but Firefoy does not display hatches in objects nor does it render text objects properly. So I converted the text to paths and now it gets displayed correctly, but it would be great if text could stay as text. So if you want to display SVG animations in current browsers, I guess you're too early. Best regards ce -- gentoo-user@gentoo.org mailing list :( so... is there a way to force FF1.5.0.1 to use adobesvg or to stop crashing FF1.0.7? or I switch to Opera which is not OpenSource ;) -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] mozilla adding/removing lines in text
On 4/3/06, Rafael Bugajewski [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am 02.04.2006 um 00:09 schrieb CapSel: When I open a page and scroll it I see something like someone cuted or added one row of pixels. I noticed it right after upgrading gtk+ froem 2.8.8 to 2.8.12, but I don't know if it is gtk problem. There are no any errors/warnings. Any idea of how to fix it? Hi, I really don't know how to fix it, but I have the same issues on my boxes (amd64 and ppc). Hopefully there is a way to solve this problem. Have you tried to select the ugly text? If I select the misplaced text in my Firefox then everything seems to be O.K. again. Greets, Rafael -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2.2 (Darwin) iD8DBQFEMRb954MLbyoQXM4RAhacAKCLkuvJQLeo4ZfU24Hbi1CaJyi3QgCfVJvs EW3F0MvC2EzX52IqFdt2FAo= =BjZ6 -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list Yes, I tried... but it's not a solution. :( Can anyone tell me how to check what is causing this? -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] InkScape trouble
On 3/26/06, Christoph Eckert [EMAIL PROTECTED] wrote: solfire:/home/mccramerinkscape Emergency save activated! Emergency save completed. Inkscape will close now. If you can reproduce this crash, please file a bug at www.inkscape.org with a detailed description of the steps leading to the crash, so we can fix it. zsh: abort solfire:/home/mccramer Script done on Sun Mar 26 15:11:14 2006 But I fear this say as much as my emotional post previously unfortunately you're right :( . Best regards ce -- gentoo-user@gentoo.org mailing list I've got almost same problem. After removing ~/.inkscape/ error says: [EMAIL PROTECTED] ~ $ inkscape Emergency save activated! *** glibc detected *** free(): invalid pointer: 0x08958250 *** Przerwane (afaik przerwane = segmentation fault) After this I have ~/.inkscape/ with file preferences.xml, and the next error is: [EMAIL PROTECTED] ~ $ inkscape /home/capsel/.inkscape/preferences.xml:2: parser error : Start tag expected, '' not found ^ Emergency save activated! Emergency save completed. Inkscape will close now. If you can reproduce this crash, please file a bug at www.inkscape.org with a detailed description of the steps leading to the crash, so we can fix it. Przerwane (...) I tried to recompile librsvg (mozilla-firefox-bin does not show svg files), glib, gtk+... as I noticed strange display behaviour (cuting or adding pixel lines when scrolling pages). Yesterday I upgraded portage (glibc) but all those errors wasn't fixed. I don't think it is my fault (use flags/cflags) as it all happend after emerge -uDN world, but I can't say exactly when and what was upgraded... Some time ago, 3 months maybe, I had same problem with GTK (don't know about inkscape) on my second machine but 2 weeks I sold it. I had same use flags and cflags as on this machine. Can any one help? -- gentoo-user@gentoo.org mailing list
[gentoo-user] mozilla adding/removing lines in text
When I open a page and scroll it I see something like someone cuted or added one row of pixels. I noticed it right after upgrading gtk+ froem 2.8.8 to 2.8.12, but I don't know if it is gtk problem. There are no any errors/warnings. Any idea of how to fix it? -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Re: Problems with GRUB in the installation of Gentoo
On 2/13/06, Holly Bostick [EMAIL PROTECTED] wrote: John Jolet schreef: Ummm... isn't there supposed to be a system.map for the kernel as well? I myself don't manually copy my kernels after compiling it; I use make install to do so, and I have the following files in /boot for all my kernels: I've never done anything with a system.map. I manually copy it myself to allow me to name them whatever I want. Well, that's my point, sort of... what exactly do you copy, and has that file been copied to Gilberto's /boot folder? From my /boot listing previously, you can see that even SUSE creates a system.map in the /boot folder, and that's a precompiled kernel (so it's not like it's copying manually or via make install). So I kinda suspect that it's a needed file across all distros, whatever it may be called and, looking in /usr/src/linux, it is a separate file from the bzImage file, which is the actual compiled kernel. The fact that the make install command also finds it necessary to copy this file from /usr/src/linux to /boot is not to be sneezed at either, imo. Holly -- gentoo-user@gentoo.org mailing list OT?? AFAIK system.map is not needed for lilo and not for grub. I don't have it and all works without any errors or warnings about it. -- gentoo-user@gentoo.org mailing list
Re: Re[2]: [gentoo-user] SMBBrowser for automount
On 2/10/06, Robert Cernansky [EMAIL PROTECTED] wrote: In my case I see (I have mounted it in /mnt/smb): $ ls /mnt/smb/ WORKGROUP $ ls /mnt/smb/WORKGROUP PC1 PC2 PC3 ... It is also possible omit WORGROUP, for example: $ ls /mnt/smb/PC1 share1 share2 ... I did not force it in any way. Did you specify your workgorup/domain in config file? [EMAIL PROTECTED] ~ $ smbnetfs ./smb SMBNetFs-0.3.3 [EMAIL PROTECTED] ~ $ cd smb [EMAIL PROTECTED] ~/smb $ ls Maybe I missed something but there is no option in smbnetfs.conf to specify workgroup, it's only specified in smb.conf which I linked from /etc/samba. -- gentoo-user@gentoo.org mailing list
Re: Re[4]: [gentoo-user] SMBBrowser for automount
On 2/11/06, Robert Cernansky [EMAIL PROTECTED] wrote: Strange. It is corect to specify workgroup in ~/.smb/smb.conf (or copy it from /etc/samba) so your configs are probably OK. Do you have fuse module loaded or compiled into kernel? Yes, I do have it. smbnetfs works at least when I 'cd' to computer name from my LAN, but when I 'cd ..' from it there is still nothing. I noticed that when I 'cd' to my workgroup it stays but inside there is only my router with smbd running and no other computers even after hour of testing (restarting computers, smbd on my router...). So it somekind of works, like windows :) Thanks for help -- gentoo-user@gentoo.org mailing list
[gentoo-user] SMBBrowser for automount
This is my script that scans configured subnetwork for guest shares, makes entries for automount and restarts it. Is this script helpful to someone? Is it worth to continue making it, or is there a better way to allow normal programs to browse smb network. I don't have a inet page yet, but on next week... :D smbbrowser Description: Binary data
Re: [gentoo-user] SMBBrowser for automount
Thank you very much Robert, I'll try it right away. On 2/10/06, Robert Cernansky [EMAIL PROTECTED] wrote: On Fri, 10 Feb 2006 11:49:32 +0100 CapSel [EMAIL PROTECTED] wrote: C This is my script that scans configured subnetwork for guest shares, C makes entries for automount and restarts it. C C Is this script helpful to someone? Is it worth to continue making it, C or is there a better way to allow normal programs to browse smb C network. In the past I've also used similar script to mount smb shares. But recently I've discovered SMBNetFS (http://smbnetfs.airm.net/) and I'm happy. Robert -- Robert Cernansky E-mail: [EMAIL PROTECTED] Jabber: [EMAIL PROTECTED] -- gentoo-user@gentoo.org mailing list -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Re: Yipes I lost the ability to smb:// browse
I've made a little script in perl that scans some ip's and makes entries for automount in /var/smb and than this script makes dirs like 192.168.0.3... and in them makes links to ghosted dirs in /var/smb. Any one intrested in it? This scripts scans only guest accessible shares. It helped me solve problem with mplayer, until this I had to copy entire film and then watch it, or by hand mounting it... I don't use kde/gnome and xfce's smb browser doesn't work for me. Any one intrested in it? -- gentoo-user@gentoo.org mailing list
[gentoo-user] hotplug remove action problem
I wanted to make automation script that would add correct line tu automount config file for usb devices. I made add script and remove script, but remove script is not started even after reinserting any usb storage device. I added the line: echo $REMOVER /var/log/udev-log to usb.agent just after place where remove) is, and the line env /var/log/udev-log I noticed that there are only /var/run/usb/ lines made by echo (there is no correct $REMOVER value) and env. It does not work for any usb storage device that I have. Is it a bug?? How can this be fixed? -- gentoo-user@gentoo.org mailing list
[gentoo-user] nautilus and autofs timeout problem
Hi all, I've set up autofs to mount floppy, cdrom and other devices, and some smb shares on /mnt/auto/*. When I enter to one of those dirs device is mounted but, as I set up timeout of 2 secends, nautilus changes dir to ~/ or just closes window after timeout. Is there a way to force nautilus to chdir and not just to ls it? I need timeout of 2 seconds so setting it to higher values is not a solution. Thank you in advance for any help. -- gentoo-user@gentoo.org mailing list
[gentoo-user] grub,sata,savedefault and error 27
Hi group I tryed to make config file for grub to migrate from centos to gentoo, and even once it booted with saved I think. Some how it booted fith entry in config file... centos doesn't have grub-set-default so I ran grub, loaded configfile and gave command savedefault 4... I don't remember what else I have done but grub booted gentoo :D after I added: default saved fallback 0 and to new, the only 'title' title gentoo root (hd0,0) kernel /bzImage root=/dev/sdb2 savedefault fallback and it doesn't boot. I haven't got remote console so technicans had to do something. They booted kernel from grub prompt. Then I ran grub from bash configfile (hd0,0)/grub/grub.conf and I tryed to boot my kernel. GRUB showed savedefault fallback Error 27: Unrecognized command ...or something like that :) Is it related to SATA or is it a bug in GRUB? Now after deleting all entrys related to save it does not boot either. SATA chipset is ICH7 what can I do? Will LILO handle SATA disk? Offcourse (hd0,0) is /dev/sda1 and /boot. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] grub,sata,savedefault and error 27
2005/12/27, Richard Fish [EMAIL PROTECTED]: On 12/27/05, capsel [EMAIL PROTECTED] wrote: title gentoo root (hd0,0) kernel /bzImage root=/dev/sdb2 savedefault fallback Can you post the full contents of your grub.conf/menu.lst. That might help... and it doesn't boot. I haven't got remote console so technicans had to do something. They booted kernel from grub prompt. Then I ran grub from bash configfile (hd0,0)/grub/grub.conf and I tryed to boot my kernel. GRUB showed savedefault fallback Error 27: Unrecognized command ...or something like that :) I don't understand...are you saying that after the system booted, you logged in, ran the grub program, and tried to boot your system?? If so, that won't work, because there is a difference between the configuration/setup program grub, and the bootloader that it installs. The booloader that it installs understands the menu.lst/grub.conf commands, the program does not. I'm using this /sbin/grub program as a tester of my config file... and it does not recognize savedefault command but auto complete this command. /sbin/grub does not boot anything but exits (I would have much more problems if it could load another kernel and reboot). Is it related to SATA or is it a bug in GRUB? Now after deleting all entrys related to save it does not boot either. Not related to SATA. All bootloaders work through the BIOS interfaces, so any drives that the BIOS can see can be accessed by the bootloader. Will LILO handle SATA disk? Yes. See previous answer. -Richard -- gentoo-user@gentoo.org mailing list I've found that not having symbolic link on /boot named boot and pointing to . (dot) can cause not reading of my config file by grub - that's my mistake, centos does not have it and it boots. But I still don't know if the behaviour of /sbin/grub with savedefault is normal. It worked with 0.95 GRUB on centos (or GRUB ignored this command). -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] grub,sata,savedefault and error 27
2005/12/27, Glenn Enright [EMAIL PROTECTED]: On Wednesday 28 December 2005 08:13, capsel wrote: 2005/12/27, Richard Fish [EMAIL PROTECTED]: On 12/27/05, capsel [EMAIL PROTECTED] wrote: title gentoo root (hd0,0) kernel /bzImage root=/dev/sdb2 savedefault fallback that last line does nothing in the configuration file. fall back is meant to be used as a top level config command with a entry number coresponding to your menu entry of choice. eg fallback 2 when your second entry is for memcheck or windows, etc. savedefault is meant to be used at the grub command line, not in the config file. enter grub and type 'help savedefault' for more info. Have you read info grub ?? fallback should be on top and it is, savedefault fallback can be in title section and means that I want to save as a default fallback which in my case is 0. I think it should be EOT for now... I've checked if savedefault works from command line of /sbin/grub on different machine (@home) and it doesn't, but it works in config file. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] data base program
2005/12/21, Ryan [EMAIL PROTECTED]: Here is a little trick you can use on google when looking for converters.. Put the file extension of the file you want to convert in front of the number 2. Like this: mdb2, and if you know the file extension of the target, add that AFTER the 2. Like this: mdb2mysql or mdb2sql. This is not always going to work, but try it anyways and look at the 1st result in google. These will both bring up hits for what you are lookin for, but try mdb2mysql first as it's more descriptive. Most GPL'd converters will use this type of format (rpm2tgz comes to mine hehe). But there are some commercial apps that have caught on and named their apps in that same naming convention. http://www.enobis.com/sw/mdb2mysql/ Thank you very much. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Corel Draw for Gentoo linux
2005/12/21, Iulian [EMAIL PROTECTED]: Felipe Ribeiro wrote: Where have you downloaded corel draw for linux? I've always looked for it! :-) On 12/21/05, Iulian [EMAIL PROTECTED] wrote: Hi there, Corel Draw 9 for linux works on Gentoo? Iulian -- gentoo-user@gentoo.org mailing list http://downloads.planetmirror.com/pub/corel/photopaint/CorelPHOTOPAINT9Lnx.tar.gz Best regards, Iulian -- gentoo-user@gentoo.org mailing list As I can see this is PHOTOPAINT, not DRAW. Is there any difference? -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] data base program
OpenBase is part of OpenOffice... and is really slow on my laptop. Whole OpenOffice is slow... So I'll try that GUIs for mysql. Do you know any replacement of OpenOffice for my laptop ? :) BTW. Is there a tool to convert mysql (and possible other) databases to and from ms-access *.mdb's ? -- gentoo-user@gentoo.org mailing list
[gentoo-user] data base program
Is there any program for makeing data bases as fast as ms access (works fast, small) and free as openbase? On OpenBase process of opening a wizard for form took more than 8 minutes!! I've got only 128 MB of ram. -- gentoo-user@gentoo.org mailing list
[gentoo-user] readcd -clone and iso9660 ?
I made a copy of 6 cdroms with readcd -clone f=iso -noerror retries=1 and only two of them I can mount -t udf,iso9660 ./iso /mnt/cdrom -o loop These two are a copy of a protected game CD and others are images of solaris CDs. I can mount solaris' CDs with mount -t iso9660 /dev/cdrom /mnt/cdrom but I can't mount images of them. Is there any way to bypass problem with solaris CDs or is there any tool to convert images made by readcd -clone to iso image? -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] readcd -clone and iso9660 ?
2005/12/14, Neil Bothwick [EMAIL PROTECTED]: On Wed, 14 Dec 2005 16:13:59 +0100, capsel wrote: Is there any way to bypass problem with solaris CDs or is there any tool to convert images made by readcd -clone to iso image? Have you tried creating the images directly, instead of using readcd cat /dev/cdrom image.iso Yes, it works, cp /dev/cdrom image.iso too. But some CDs have errors (scratches) that cp/cat can't handle. Why readcd makes once iso and once not iso compatible image files? -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] readcd -clone and iso9660 ?
2005/12/14, Michael Kjorling [EMAIL PROTECTED]: On 2005-12-14 17:45 +0100, [EMAIL PROTECTED] wrote: Yes, it works, cp /dev/cdrom image.iso too. But some CDs have errors (scratches) that cp/cat can't handle. Tried dd with `conv=noerror'? Not yet, but I just noticed that without -clone option image is iso compatible (at least for solaris cd1) so maybe dd conv=noerror would work. And I still wish to mount cloned image like with daemon-tools on windows... Is there any solution to this? (except not mounting them) -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Using tar to backup my system
Or maybe bind / to a subdir and tar from it. It's like --one-filesystem but it works always (for me). 2005/11/4, Neil Bothwick [EMAIL PROTECTED]: On Fri, 4 Nov 2005 14:29:17 +0100, Hemmann, Volker Armin wrote: you need to --exclude /proc, or you'll run into problems. You should exclude /sys, /dev/, /tmp and /var/run And /sys and much of /mnt or /media. It's probably best to use the --one-filesystem option and specify the directories you do want tar --one-filesystem -czf /backup/name.tar.gz / /home /any/other/partition/ -- Neil Bothwick I'm Not Sure If I'm Homosexual, Said Tom, Half In Earnest. -- gentoo-user@gentoo.org mailing list
[gentoo-user] BUG in glibc????
Hi all, I am writing some program... simple program and I've got some code: j=strcmp( log, *(lines+i) ); printf( ble\n ); if( strcmp( log, *(lines+i) ) == 0 ) { printf( ble2\n ); it is in for loop. ble and ble2 are some texts for debuging purposes :) So... when I run my program I can see three times ble and only two times ble2... after last ble there is: *** glibc detected *** free(): invalid next size (normal): 0x0804c208 *** Przerwane is it a bug in glibc or in my code? I added file with that loop. Przerwane means interrupted/broken/stopped, it is polish locale (LC=pl_PL) #include stdio.h #include string.h #include config.h int config_parse() { int i,j; char** lines = NULL; char *eqch,*tmp; unsigned int linesc = 0; if( ( config_content == NULL ) || ( config_content==0 ) ) { fprintf( logi, = Nie moge przetwarzaæ nie istniej±cej tre¶ci pliku konfiguracyjnego\n ); return 0; } lines = (char**) malloc( sizeof( char* ) ); if( lines == NULL ) { fprintf( logi, = B³±d alokacji pamiêci na vector linii\n ); return 0; } *(lines) = config_content; for( i = 0; i config_contentl; i++ ) { if( *(config_content+i) == '\n' ) { lines = (char**) realloc( lines, sizeof( char** )*(linesc+1) ); if( lines == NULL ) { fprintf( logi, = B³±d alokacji\n ); return 0; } linesc++; *(lines+linesc) = (config_content+i+1); *(config_content+i) = '\0'; printf( - linesc++\n ); } } fprintf( stdout, - linesc = %u\n, linesc ); for( i = 0; i linesc; i++ ) { if( *(*(lines+i)) == '#' ) { continue; } /* j = strlen( *(lines+i) ); if( (i != linesc-1) (*(lines+i+1) != *(lines+i) +j +1) ) { fprintf( logi, = Znak 0 wykryty w pliku konfiguracyjnym\n ); fprintf( logi,w miejscu numer %i\n,i ); free( lines ); return 0; } */ eqch = strchr( *(lines+i), '=' ); if( eqch == NULL ) { fprintf( logi, = Brak znaku = w linni %i\n,i ); free( lines ); return 0; } *eqch = '\0'; tmp = strtok( *(lines+i), \t ); if( ( tmp == NULL ) ( eqch == *(lines+i) ) ) { fprintf( logi, = B³êdna opcja w pliku konfiguracyjnym w linni %i\n,i ); free(lines); return 0; } j=strcmp( log, *(lines+i) ); printf( ble\n ); if( strcmp( log, *(lines+i) ) == 0 ) { config_configpathl = strlen( eqch+1 ); config_configpath = (char*) malloc( config_configpathl ); if( config_configpath == NULL ) { fprintf( logi, = B³±d alokacji pamiêci na nazwe pliku loga dla linii %i\n,i ); free( lines ); return 0; } strcpy( config_configpath, eqch+1 ); fprintf( stdout, - log = `%s'\n, eqch+1 ); continue; } if( strcmp( sysctl, *(lines+i) ) == 0 ) { if( ! config_addsysctl( eqch+1 ) ) { fprintf( logi,B³±d dodawania opcji sysctl do listy w linni %i\n,i ); free( lines ); return 0; } fprintf( stdout, - sysctl = `%s'\n, eqch+1 ); continue; } if( strcmp( ip, *(lines+i) ) == 0 ) { if( ! config_addip( eqch+1 ) ) { fprintf( logi,B³±d dodawania opcji ip do listy w linni %i\n,i ); free( lines ); return 0; } fprintf( stdout, - ip = `%s'\n, eqch+1 ); continue; } fprintf( logi, = Nieznana opcja w pliku konfiguracyjnym w linni %i\n,i ); return 0; } }
Re: [gentoo-user] network questions
thank you very much :) -- gentoo-user@gentoo.org mailing list
[gentoo-user] network questions
1. I have 2 computers, first is directly connected to lan with IP 10.0.0.3 and gateway 10.0.0.1 and has second NIC with IP 10.0.0.4 connected to second computer with IP 10.0.0.5 {LAN}--[10.0.0.3|GENTOO|10.0.0.4]---[10.0.0.5] Is it possible to set up routing from .5 to 10.0.0.0/24 (lan)? If so than how to set routing tables? Can I change .4 ip to .3? Where can I find more info about this? 2. Can I have two network cards connected to the same lan with same network mask? Can I set same IP for them? Thank you in advance for any answers. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] /usr and /home to another partition
I tryed to do links to directories on other partition on my experimental server with SELinux. It had some problems with labeling filesystem. Is it possible to solve this issue? 2005/10/7, Neil Bothwick [EMAIL PROTECTED]: On Fri, 07 Oct 2005 09:07:41 +0800, W.Kenworthy wrote: If you want to move directories, avoid wholesale symlinking like this as it always ends in tears ... If you want two directories on the same partition, I prefer to mount them with --bind. I do this to have /usr, /var and /opt on a single partition, separate from/. /usr is mounted on the partition itself, which contains var and opt directories, which are mounted with the following fstab lines. /usr/var/varautobind0 0 /usr/opt/optautobind0 0 -- Neil Bothwick Headline: Explosion At Sperm Bank, Nurses Overcome -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Get those strange questions ready...
I'm not sure but if it shouldn't be Genux - Gentoo and Fedora - Redhat. Note directions of arrows :) 2005/10/4, Frank Schafer [EMAIL PROTECTED]: This will be the Gentoo - Genux equivalent to the Fedora - Redhat ? Sounds impressive. On Mon, 2005-10-03 at 14:44 -0400, Dave Nebinger wrote: Because gen-ux is temporarily offering free Gentoo support (thanks slashdot for the heads-up). http://www.gen-ux.com/node/16 -- gentoo-user@gentoo.org mailing list -- gentoo-user@gentoo.org mailing list
[gentoo-user] usb bluetooth hotplug script
Where should I put my own script which is started after I hotplug my usb bluetooth so that /etc/init.d/bluetooth is started after that? and how to name it or how to findout the name? -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Re: disappearing hdc
I hope it is not hardware failure... I'm checking dmesg on every reboot since failure of one of my server :) I've found that I changed configuration of my kernel - cdrom driver is loaded as module and must be loaded on boot (before hotplug/coldplug ?) for hdc to be created. Somehow parport_pc is loaded automaticly. What can I do to force hotplug/coldplug to load ide-cd and so to force udev to create hdc? I added ide-cd to /etc/modules.autoload.d/kernel-2.6. 2005/9/18, Bob Sanders [EMAIL PROTECTED]: On Sat, 17 Sep 2005 20:01:41 +0200 capsel [EMAIL PROTECTED] wrote: So the problem is : When RC_DEVICE_TARBALL=no there is no lp0 and sometimes hdc, it doesn't depend on cd/dvd disc inside my dvd, or on if my printer is set to on/off On a properly operating system, /dev/lp0 will be created if the printer is on at boot - parallel port or usb, or when the printer is turned on - usb. Parallel port will not always create a printer if it's turned on after the system. Not seeing the CDrom/DVD drive every boot indicates some faulty hardware - bad cable, bad connector, dieing southbridge. Given that the printer is also a southbridge device, I'd suggest having recent backups of your hard drive and be prepared for hardware replacement. I haven't ever touched any udev rules and my system (gentoo) worked for more than year (till about two days ago). It is not new or exotic hardware, and I think this is not fault of hardware at all. So AFAIK the error does not depend on RC_DEVICE_TARBALL, hardware, kernel (gentoo-sources, vanilla-sources)... It's sounding like hardware to me. It would benefit you to check dmesg on every boot to see what is discovered during boot up. If the hardware isn't discovered, then udev won't create a node for it. Bob - -- gentoo-user@gentoo.org mailing list -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Re: disappearing hdc
2005/9/18, Holly Bostick [EMAIL PROTECTED]: Well, that should work, but the 'better' way is simply to recompile the kernel so that ide-cd is statically compiled (* or Y, rather than M), and then it would be automatically loaded by the kernel when the device is discovered (which would also tell you if you have a hardware issue, because the device wasn't discovered during the normal hardware scan the kernel makes at boot). Cd is always detected at boot - when scanning ide's - no matter if I compile ide-cd as module or compile it in. It is not about hardware :) What runlevel is hotplug set to run in (rc-update show)? If boot, then the problem with having the module in /etc/modules.autoload.d is that the service (hotplug) is running before the module load, whereas if hotplug is set to run at 'default', it runs *after* the modules in /etc/modules.autoload.d/kernel-2.6 are loaded, or at least that is my experience. coldplug is in boot runlevel but is started after loading modules and hotplug is dead and buried and... does not do much. But since you aren't likely to be hotplugging your CD device anyway (unless this is a laptop with an external drive), it just makes more sense to compile the driver (Device Drivers= ATA/ATAPI/MFM/RLL support= Include IDE/ATAPI CDROM support) statically (which I thought was the default kernel config setting anyway) and just let coldplug handle it. HTH, Holly CD-rom is built into laptop... I wanted to load my system faster than with everything compiled into core. :) Loading files from hard disk after linux boot is faster than before (grub/lilo). Is there a way to set this to load magicaly at system boot? I thought that coldplug/holdplug should take care of this. Thanks for help :D -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] openvpn
AFAIK: packets can not reach destinations in other subnet (except 0.0.0.0) than the subnet of your IP. You must have assigned an IP address from same subnet as destination host. so client can ping all 10 and two sides of server Please check if you can ping other IP from 192.168.0.0 subnet. My advice is to fix routing tables... or to set up NAT, or set everywhere same subnet :) 2005/9/18, Oliver Friedrich [EMAIL PROTECTED]: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Allan Spagnol Comar wrote: Hi all, I having some strange problem on my VPN :( I had configured openvpn as tunnel server-client; had a tun interface . I started the open vpn using 10.8.0.0 network and has my private net at 192.168.0.0 and the open vpn is running at 192.168.0.230 I started one client; the client sync receive an IP 10.8.0.5 and the route to 192.168.0.0 network; Until now everything looks ok, but here is the strange sinc, I can ping 10.8.0.1 and I can ping 192.168.0.230 but when I try to ping 192.168.0.1 it got connection time out There is the Problem, the 10.8.0.0 Network is only for the connection, your client is on 192.168.0.0 and your server is on 192.168.0.0 too... so as long as the tunnel exists, your server has two 192.168.0.230, one localy and one on the other side of the tunnel... client and server must not be in same subnet, since then the tunnel can cause IP conflicts. Sorry for my bad english Oliver Beowulf Friedrich -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFDLd4ecZpid1GuHxcRArn5AKDGMdtppI8iDI2KLccWnBax5Gc33gCg0Eix Ta4t0uJ1UMWLhyLm/SaX1rM= =CDSa -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list -- gentoo-user@gentoo.org mailing list
[gentoo-user] Re: disappearing hdc
On 9/16/05, Dave Nebinger [EMAIL PROTECTED] wrote: I did something like that: -I set up RC_DEVICE_TARBALL=no -rebooted, all hdcX disappeard, and hdc appeard -I set up RC_DEVICE_TARBALL=yes -rebooted -there is no hdc* what else can I do? Go to the udev migration thing in the gentoo wiki. There is a command that you have to run to actually rebuild the tarball. Just flipping to no, rebooting, and flipping to yes does not force the tarball recreation. The command in the wiki will tell you how to build the tarball. Reboot with the flag as 'no' to get your devices right, then run the command, then you can flip back to 'yes'. -- gentoo-user@gentoo.org mailing list I've found that devices.tar.bz2 is created on every reboot, but I also tryed to make my own devices.tar.bz2 with my devices and put it to /lib/udev-state... So for example lp* stays (it's another one that disappears), all hdc? stays, but hdc still is not there. File devices.tar.bz2 is updated by system and it has not hdc. What else can I do? -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Re: disappearing hdc
2005/9/17, Dave Nebinger [EMAIL PROTECTED]: So for example lp* stays (it's another one that disappears), all hdc? stays, but hdc still is not there. File devices.tar.bz2 is updated by system and it has not hdc. What else can I do? Not use the tarball option? I mean, seriously, are you really seeing it's saving you anything at boot? I couldn't tell any noticeable difference, so I've been running w/o tarball for months... -- gentoo-user@gentoo.org mailing list With RC_DEVICE_TARBALL=yes lp* and all hdc? except hdc stays, and I can see saving device nodes not at boot but when shutting down/reboot. With RC_DEVICE_TARBALL=no hdc is created, and lp*, hdc? does not exist. I'll try to emerge sync now... It is really strange. I haven't ever had such symptoms, even when I switched from 2.4/devfsd to 2.6/udev. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Re: disappearing hdc
As I can see you did not read whole message :) So the problem is : When RC_DEVICE_TARBALL=no there is no lp0 and sometimes hdc, it doesn't depend on cd/dvd disc inside my dvd, or on if my printer is set to on/off When RC_DEVICE_TARBALL=yes lp0, hdc1..20 are in /dev but hdc is only on first reboot after recreating it by hand (mknod) or with MAKEDEV. I made my own devices.tar.bz2 but there was same result. I noticed it yesterday when I wanted to watch film on dvd one more time. Today my brother wanted to print something but cups showed that printer is not connected so I checked why - there was no lp0 in /dev. I haven't ever touched any udev rules and my system (gentoo) worked for more than year (till about two days ago). It is not new or exotic hardware, and I think this is not fault of hardware at all. So AFAIK the error does not depend on RC_DEVICE_TARBALL, hardware, kernel (gentoo-sources, vanilla-sources)... 2005/9/17, Rumen Yotov [EMAIL PROTECTED]: capsel wrote: 2005/9/17, Dave Nebinger [EMAIL PROTECTED]: So for example lp* stays (it's another one that disappears), all hdc? stays, but hdc still is not there. File devices.tar.bz2 is updated by system and it has not hdc. What else can I do? Not use the tarball option? I mean, seriously, are you really seeing it's saving you anything at boot? I couldn't tell any noticeable difference, so I've been running w/o tarball for months... -- gentoo-user@gentoo.org mailing list With RC_DEVICE_TARBALL=yes lp* and all hdc? except hdc stays, and I can see saving device nodes not at boot but when shutting down/reboot. With RC_DEVICE_TARBALL=no hdc is created, and lp*, hdc? does not exist. I'll try to emerge sync now... It is really strange. I haven't ever had such symptoms, even when I switched from 2.4/devfsd to 2.6/udev. Hi, i put RC_DEVICE_TARBALL=no(permanently) a long time ago, had no problems. Now checked and currently it's set to yes but this is due to the fact i had do a complete reinstall a week ago (dying hard on it's way). IIRC when it is set to no udev creates all necessary nodes, you only have to put your own rules to support new/exotic hardware. Now will cp the tarball somewhere for backup and change to 'no'. HTH. Rumen -- gentoo-user@gentoo.org mailing list -- gentoo-user@gentoo.org mailing list
[gentoo-user] disappearing hdc
As in subject - on every restart hdc, cdrom (link), dvd (link) disappear from /dev I'm using udev. I haven't found anything about hdc in /etc/udev. I don't know when exactly it stoped work, it worked after last emerge -uDN world. When I create /dev/hdc it stays for one reboot. These values I've got in /etc/conf.d/rc: RC_DEVICES=udev RC_DEVICE_TARBALL=yes hdc is a cdrom on my laptop. What can cause this? -- gentoo-user@gentoo.org mailing list
[gentoo-user] Re: disappearing hdc
On 9/16/05, Dave Nebinger [EMAIL PROTECTED] wrote: When I create /dev/hdc it stays for one reboot. These values I've got in /etc/conf.d/rc: RC_DEVICES=udev RC_DEVICE_TARBALL=yes hdc is a cdrom on my laptop. What can cause this? Turn off the tarball option, or create /dev/hdc and recreate your tarball. What's happening is upon startup the tarball is used to create the initial /dev contents. I'm willing to bet the tarball does not have the /dev/hdc link, therefore it is not being created. I know that when I did the udev migration it had some steps to build the tarball, but as I remember I too was missing the /dev/hd{c,d} links. By setting tarball to no, udev manually recreates the /dev directory based upon the devices themselves so it will be there. Dave -- gentoo-user@gentoo.org mailing list I did something like that: -I set up RC_DEVICE_TARBALL=no -rebooted, all hdcX disappeard, and hdc appeard -I set up RC_DEVICE_TARBALL=yes -rebooted -there is no hdc* what else can I do? -- gentoo-user@gentoo.org mailing list
[gentoo-user] Re: HELP! grub stops, only hard reset helps
I solved this problem. Guilty was gcc-2.3.5.* (don't remember version). Last night I upgraded all system and I removed hardened flag. Before this I tryed to compile older versions of grub but configure script failed with error saying something about 0200 address and compiler. Now everything works fine, thanks for help :) Should I post a bug with solved status or not? On 9/9/05, Mariusz Pękala [EMAIL PROTECTED] wrote: On 2005-09-09 11:30:55 +0200 (Fri, Sep), capsel wrote: grub hangs while booting and there are no errors when I install it on mbr (BIOS supports only mbr booting). Excuse me, but could you describe what EXACTLY you can see on screen before GRUB hangs? -- No virus found in this outgoing message. Checked by 'grep -i virus $MESSAGE' Trust me. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] HELP! grub stops, only hard reset helps
Ok, now we're talking. When you enter Grub this way it doesn't care about an existing configuration - so IMHO no problem there. Here's what I would do: 1. Check if top shows reasonable results - if not step 3 2. Re-emerge grub - if that doesn't help - step 3 3. memtest86 for a day I don't know what are not reasonable results in top - haven't ever seen such results. IMHO it shows correct values about memory, processes, buffers and cpu load. I tryed grub 0.96, 0.97 with same results, reemerging them didn't helped. If you use grub what CFLAGS do you have? I've got -march=i586 -mcpu=pentium3 -O -pipe. If it is memory failure what other effects would I see on my system? My friend had broken RAM and linux was very unstable, he had random compilation errors and other strange effects. Is it possible that grub wants to have RAM in first memory slot and I have it in second one? I'll leave memtest for a night. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] HELP! grub stops, only hard reset helps
Re-emerge and re-install Grub. If Grub hangs when you try to install it, which I assume is what is happening, then you can try starting as: # grub --no-floppy, to see if it works. Grub hanging basically implies that there's a hardware hick up of some sort. If Lilo works fine regardless and re-emerging/re-installing Grub does not resolve the problem, could you please show us your Lilo config file to see if we can draw some parallels between the two boot loaders. grub hangs while booting and there are no errors when I install it on mbr (BIOS supports only mbr booting). -- gentoo-user@gentoo.org mailing list
[gentoo-user] HELP! grub stops, only hard reset helps
It is second time i'm posting about this problem on this group, maybe I did it wrong last time... so the problem is GRUB it doesn't matter what partitions I have or how do I install it (always successfull) it still shows no memory at all (run grub from bash, delete grub, put zeros where amount of memory is, and you will see same text I do), no menu or command prompt. I've read man grub and info grub and I'm sure that it is not problem of devices (hdX,Y) or menu file (menu.lst, grub.conf). HELP PLEASE! -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] HELP! grub stops, only hard reset helps
current: hda1 swap hda2 reiserfs / ---previous1--- hda1 ext2 /boot hda2 reiserfs / hda3 swap ---previous2--- hda1 swap hda2 ext2 /boot hda3 reiserfs / swap is 258MB, /boot is about 24MB, / is rest of disk which is 10GB Should I post output of echo -ne p\nq\n | fdisk /dev/hda? device map: (fd0) /dev/fd0 (hd0) /dev/hda grub.conf: --- # # Sample boot menu configuration file # #root (hd0,1) # Boot automatically after 30 secs. timeout 30 # By default, boot the first entry. default 0 # Fallback to the second entry. #fallback 1 # For booting GNU/Linux title Gentoo root (hd0,1) kernel /boot/bzImage root=/dev/hda2 #initrd /initrd.img It doesn't matter which partition layout it is or grub.conf exist it still doesn't work. When you start grub from command line as root it shows how much memory it detected. In my case it shows only zeros like this: GNU GRUB version 0.96 (0K lower / 0K upper memory) [ Minimal BASH-like line editing is supported. For the first word, TAB lists possible command completions. Anywhere else TAB lists the possible completions of a device/filename. ] - After this it halts and only reset works. I can't type anything or reset by ALT+CTRL+DEL. - Lilo works just fine so I can tar my filesystem to disk on USB and change partition scheme. - No option on BIOS about memory. - Laptop (hp pavilion n3390) And again - what am I doing wrong? -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] cpu flags / USE flags / compiler flags
please check it this is a flash animations proble. if it is then set XLIB_SKIP_ARGB_VISUALS=yes -- gentoo-user@gentoo.org mailing list
[gentoo-user] grub freezing
I have /boot with ext2 on hda1 / with reiserfs hda2 swap on hda3 some time ago grub worked fine (maybe with different configuration of devices) through last year I was using lilo (everywhere, on my servers too) today I tryed to install grub on mbr: root (hd0,0) setup (hd0) quit it installed itself correctly but it freezes after displaying that text about memory and bash-like... no command prompt, alt+ctrl+del doesn't work, and no memory detected 0 on left side of / and on right same thing after grub-install /dev/hda does anybody know how to solve it? -- gentoo-user@gentoo.org mailing list
[gentoo-user] grub freezes
I have /boot with ext2 on hda1 / with reiserfs hda2 swap on hda3 some time ago grub worked fine (maybe with different configuration of devices) through last year I was using lilo (everywhere, on my servers too) today I tryed to install grub on mbr: root (hd0,0) setup (hd0) quit it installed itself correctly but it freezes after displaying that text about memory and bash-like... no command prompt, alt+ctrl+del doesn't work, and no memory detected 0 on left side of / and on right same thing after grub-install /dev/hda does anybody know how to solve it? -- gentoo-user@gentoo.org mailing list