Mistery resolved. making linux behave as multitask, multiusermachine.
short answer: overheat explanation: the computer would work very stable for days, without any problem. but would locked if i try to rip a dvd. Reason: transcode use almost 100% cpu. using 100% of CPU in a so demanding task would make the cpu temperature to raise. Solution: I opened the machine, put a big domestic fun in front of the board. and started the rip. Today morning the job was done and the system working. LONG LIVE LINUX!!! -- Meir Michanie [EMAIL PROTECTED] = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
[rms@gnu.org: Re: Translating Hebrew to English]
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 FSF needs volunteers for translation Hebrew to English. Any volunteer please contact the CCed in gnu.org: [EMAIL PROTECTED] or [EMAIL PROTECTED] . Ehud. - --- Start of forwarded message --- From: Richard Stallman [EMAIL PROTECTED] To: [EMAIL PROTECTED] CC: [EMAIL PROTECTED] cc: [EMAIL PROTECTED], [EMAIL PROTECTED] In-reply-to: [EMAIL PROTECTED] ([EMAIL PROTECTED]) Subject: Re: Translating Hebrew to English Reply-to: [EMAIL PROTECTED] Date: Thu, 10 Jul 2003 23:51:27 -0400 If it is work for the FSF, I can ask for volunteer among the Israeli GNU/Linux mailing list members. Please do that. I have cc'd the two FSF people who can supply the documents that need translation. - --- End of forwarded message --- -BEGIN PGP SIGNATURE- Comment: use http://www.keyserver.net/ to get my key (and others) iD8DBQE/DpIvLFvTvpjqOY0RAmczAJ0dRt5YxiuX9WGRQpM3sUaBVg0lQQCdExCf mAXZwW1JoCWJP1spbcS4OEE= =K/TI -END PGP SIGNATURE- = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Re: fork exec from a threaded application
On 11 Jul 2003, Alex Shnitman wrote: Hi, #include pthread.h #include sys/types.h #include unistd.h #include stdio.h void *thread(void* arg) { while(1) sleep(1); Am I wrong or does sleep() halts the entire process (all the threads)? Maybe that's the bug here. I don't remember what is the multi-threaded alternative. Maybe pthread_cond_timed_wait? Regards, Shlomi Fish return NULL; } int main() { pthread_t tid; int rv; if(rv = pthread_create(tid, NULL, thread, NULL)) { printf(Can't create thread: %d\n, rv); exit(1); } switch(fork()) { case -1: perror(fork); exit(1); break; case 0: printf(Sweet child in time: %d\n, getpid()); execlp(echo, echo, you'll see the light, NULL); perror(execlp); exit(1); break; default: printf(Father\n); pause(); break; } return 0; } -- Alex Shnitman [EMAIL PROTECTED] http://www.hectic.net/ UIN 188956 PGP 0xEC5D619D / E1 F2 7B 6C A0 31 80 2863 B8 02 BA 65 C7 8B BA = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED] -- Shlomi Fish[EMAIL PROTECTED] Home Page: http://t2.technion.ac.il/~shlomif/ There's no point in keeping an idea to yourself since there's a 10 to 1 chance that somebody already has it and will share it before you. = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Re: [rms@gnu.org: Re: Translating Hebrew to English]
On Fri, 11 Jul 2003, Ehud Karni wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 FSF needs volunteers for translation Hebrew to English. Is it translating from Hebrew to English or from English to Hebrew? In both cases, what has to be translated? In any case, I may be able to help here. Regards, Shlomi Fish -- Shlomi Fish[EMAIL PROTECTED] Home Page: http://t2.technion.ac.il/~shlomif/ There's no point in keeping an idea to yourself since there's a 10 to 1 chance that somebody already has it and will share it before you. = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
MDK 9.1 and VIA Chipset Blues
Hello fellow Penguins, I thought it would be idea to switch to MDK 9.1, after using the 8.2 version since it came out... I tried installing. It was absolute hell ! After installing, the computer ran fast and a lot better than ever before (hardware specifics follow) but after 15-30 minutes or so (random) the comp froze completely and after reseting the machine with the dreaded reset button, half my / FS had been wiped out, due to repair errors. I had to redo the entire system *8 (!!!)* times. Two of them with full re-partitioning of the entire HD (due to the Ext3 errors). Frustration was unbelievably familiar... I decided to move back to MDK 8.2. Now my comp works perfectly for the last two weeks. Here comes the sequence of events, so maybe you guys and gals can make any sense of it and help me move to MDK 9.1: First, the hardware (source: HardDrake 0.9.3) Motherboard: MSI 6309MS with VIA chipsets: VT82C686 (ACPI) VT82C586 (IDE) VT82C586B (USB) Bridges: VT82C691 (Apollo PRO) VT82C598 (Apollo MVP3 AGP) VT82C686 (Apollo Super) Intel Celleron 850 MHz CPU 256 MB RAM nVidia Ultra TNT2 M64 Video Card 1 Quantum Fireball LP LM15 (15 Gb) HDD 1 Quantum Fireball LP AS20.5 (20Gb) HDD 1 Seagate ST310220A (10Gb) HDD 1 LG DVD-ROM DRD-81610B 1 3Com 3c590 10BaseT Vortex Ethernet Card 1 Brooktree BT878 TV Capture Card (AverMedia TV Capture98 w/ VCR) 1 Ensoniq 5880 PCI Sound Chip (OnBoard, AC97 compat.) The software: What I had is irrelevant because I wiped the HD completely. I was trying to Install MDK 9.1 with Kernel 2.4-21. I don't have the versions of all software components. My comp wouldn't stay up long enough to research it, but it can be plucked from the net. I am running Kernel 2.4.19-33mdk now, with GCC 2.96-0.76. If you need more info to figure this up - please let me know. Thanks, Amichai. = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Re: [rms@gnu.org: Re: Translating Hebrew to English]
Shlomi Fish [EMAIL PROTECTED]: FSF needs volunteers for translation Hebrew to English. Is it translating from Hebrew to English or from English to Hebrew? In both cases, what has to be translated? I already translated the main page into hebrew but they always tell me to go to this Dov dude which is not responding. Anyway I will be glad to help translating... = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Re: fork exec from a threaded application
On 11 Jul 2003, Alex Shnitman wrote: Hi, I have a problem executing a fork() and exec() from a threaded application. I'm including a minimal test case below that demonstrates the problem. I must be missing something. If I don't create the thread before forking, the exec works fine. IfI do create the thread, the exec doesn't exec, and it doesn't return with an error either -- simply nothing happens. Trying to debug this with gdb by attaching to the child process before the exec (I put a while loop there so that I can catch it) doesn't work -- GDB gives internal errors. Also, an interesting thing is that if I do the exec from the father process instead of the child, it does work. But then of course I lose the thread that I started. Any idea whatsoever? Thanks in advance. Here's the output from the program on my machine: Father Sweet child in time: 8826 you'll see the light It seems the exec is happening. I'm using kernel 2.4.21-0.18mdk with glibc-2.3.1-10mdk on a Mandrake 9.1 system running on a P3 Machine. Regards, Shlomi Fish Below is the code. #include pthread.h #include sys/types.h #include unistd.h #include stdio.h void *thread(void* arg) { while(1) sleep(1); return NULL; } int main() { pthread_t tid; int rv; if(rv = pthread_create(tid, NULL, thread, NULL)) { printf(Can't create thread: %d\n, rv); exit(1); } switch(fork()) { case -1: perror(fork); exit(1); break; case 0: printf(Sweet child in time: %d\n, getpid()); execlp(echo, echo, you'll see the light, NULL); perror(execlp); exit(1); break; default: printf(Father\n); pause(); break; } return 0; } -- Alex Shnitman [EMAIL PROTECTED] http://www.hectic.net/ UIN 188956 PGP 0xEC5D619D / E1 F2 7B 6C A0 31 80 2863 B8 02 BA 65 C7 8B BA = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED] -- Shlomi Fish[EMAIL PROTECTED] Home Page: http://t2.technion.ac.il/~shlomif/ There's no point in keeping an idea to yourself since there's a 10 to 1 chance that somebody already has it and will share it before you. = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
What is ARP? [ Was Re: A 2 hosts Ethernet network with a 255.255.255.254 netmask. ]
On Thu, Jul 10, 2003 at 02:39:15PM +0300, Amir Sela wrote: An ARP request? What for? Is it to find the MAC of the default gateway? ARP maps the MACs into IPs, doesn't it? An ARP request would send the MAC address and expects to get in reply the IP that correspond that MAC, isn't it? Wrong. it's the other way around. When you ping x.x.x.x, the computer knows the IP already. You just typed it, didn't you? What it doesn't know is the MAC address of the computer with this IP, so proper one-to-one communication can't be established. So, an ARP request is sent to request that the computer with the pertaining IP reply its MAC address. You are right that when I ping x.x.x.x I do know the IP address. Yet according to the DSL-HOWTO/appendix.html ARP Address Resolution Protocol. Converts MAC addresses to IP addresses. The way I read this is that an ARP request would send the MAC and expect the IP in return. That is, what is known is the MAC and what is looked after is the IP. If my understanding is correct then what both of us are missing is how this integrates into Ethernet communication. -- Shaul Karl, [EMAIL PROTECTED] e t = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
IDE PCI controller supported in Linux?
Is there any chance for buying Linux supported IDE controller for less than 250 NIS? = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Re: What is ARP? [ Was Re: A 2 hosts Ethernet network with a255.255.255.254 netmask. ]
You are right that when I ping x.x.x.x I do know the IP address. Yet according to the DSL-HOWTO/appendix.html ARP Address Resolution Protocol. Converts MAC addresses to IP addresses. The way I read this is that an ARP request would send the MAC and expect the IP in return. That is, what is known is the MAC and what is looked after is the IP. If my understanding is correct then what both of us are missing is how this integrates into Ethernet communication. There is no Conversion. You ping a host, your machine doesn't know the MAC address(unless it's in cache). Your machine sends a packet to the destination IP, with a MAC address destination of 0x. All machines process this at the data-link layer, but only the machine with the pertinent destination IP replys, with it's MAC address. Then, proper TCP handshaking or whatever can occur. This is of course an example when the destination machine is on the LAN. This information is available on the web. Please be so kind as to read it. It's extremely basic networking information. Amir. = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Re: accessing physical mem
Erez Doron wrote: well, /dev/mem let me only access real memory, not the adress space of the pci cards I positive that you CAN in fact access pci card address space via /dev/mem, because this is how XFree86 does it when it's running in non accelerated cards. in the end, i used ltsp to boot from network ( i didn't go that smoothly ... ) and I wrote a small kernel driver that looks for the pci card, and makes a '/dev/mem'-like char device that lets me access the pci card's memory. Oh well, the kernel module approach is much cleaner anyway. Gilad :-) = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Re: What is ARP? [ Was Re: A 2 hosts Ethernet network with a255.255.255.254 netmask. ]
On Fri, Jul 11, 2003 at 07:57:35PM +0300, Shaul Karl wrote: On Thu, Jul 10, 2003 at 02:39:15PM +0300, Amir Sela wrote: An ARP request? What for? Is it to find the MAC of the default gateway? ARP maps the MACs into IPs, doesn't it? An ARP request would send the MAC address and expects to get in reply the IP that correspond that MAC, isn't it? Wrong. it's the other way around. When you ping x.x.x.x, the computer knows the IP already. You just typed it, didn't you? What it doesn't know is the MAC address of the computer with this IP, so proper one-to-one communication can't be established. So, an ARP request is sent to request that the computer with the pertaining IP reply its MAC address. You are right that when I ping x.x.x.x I do know the IP address. Yet according to the DSL-HOWTO/appendix.html ARP Address Resolution Protocol. Converts MAC addresses to IP addresses. Nope. ARP resolves an IP address to a MAC address. You typically know the IP address you want to send a packet to, but not the MAC address. -- Tzafrir Cohen +---+ http://www.technion.ac.il/~tzafrir/ |vim is a mutt's best friend| mailto:[EMAIL PROTECTED] +---+ = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Re: IDE PCI controller supported in Linux?
On Fri, 11 Jul 2003, Tim Tsahayev wrote: Is there any chance for buying Linux supported IDE controller for less than 250 NIS? Is there an IDE controller which is not Linux supported? :) I would like to hear about that one. And how critic the speed which is supported? You can buy SATA ones with RAID support as well (assuming you have the money, but for that money I would buy a whole new motherboard). You can get a HighPoint UDMA 133MHz PCI controller for 150NIS approximately, but if you want a better (or more known) company, you can buy Promise UDMA 133MHz PCI controller for 320NIS and a Promise UDMA 100MHz PCI controller for 250NIS approximately (if you have got a HD which is running at 100MHz only, that's the best choice in my opinion). I know that Promise cards are supported for sure, but I believe that any IDE PCI card would fit (it's not OS dependant). Here's one link: http://www.exlmarket.co.il/exlmarket2/product-info2/6.13.html Best regards, Adir. = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Re: accessing physical mem
On ?, 2003-07-11 at 20:19, Gilad Ben-Yossef wrote: Erez Doron wrote: well, /dev/mem let me only access real memory, not the adress space of the pci cards I positive that you CAN in fact access pci card address space via /dev/mem, because this is how XFree86 does it when it's running in non accelerated cards. http://hmuller.home.cern.ch/hmuller/FLIC/samplecode.c Seems like this affirms Gilad's reply. Amir. = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Re: A 2 hosts Ethernet network with a 255.255.255.254 netmask.
On Tue, 2003-07-08 at 21:09, Beni Cherniavsky wrote: Shaul Karl wrote on 2003-07-08: I still don't get something. Quoting section 7 of the IP Sub-Networking Mini-Howto: For the sake of this example, let us assume that you have decided to subnetwork you C class IP network number 192.168.1.0 into 4 subnets (each of 62 usable interface/host IP numbers). However, two of these subnets are being combined into a larger single network, giving three physical networks. These are :- __ Network Broadcast Netmask Hosts 192.168.1.0 192.168.1.63255.255.255.192 62 192.168.1.64192.168.1.127 255.255.255.192 62 192.168.1.128 192.168.1.255 255.255.255.128 124 (see note) __ Note: the reason the last network has only 124 usable network addresses (not 126 as would be expected from the network mask) is that it is really a 'super net' of two subnetworks. Hosts on the other two networks will interpret 192.168.1.192 as the network address of the 'non-existent' subnetwork. Similarly, they will interpret 192.168.1.191 as the broadcast address of the 'non-existent' subnetwork. So, if you use 192.168.1.191 or 192 as host addresses on the third network, then machines on the two smaller networks will not be able to communicate with them. \begin{interruptRequest} How does the 2 smaller networks know that 192.168.1.191 and 192 were initially a broadcast and network addresses? Would they treat any one of 192.168.*.19[12] in the same way? \end{interruptRequest} As far as I understand, they assume that sub-networking is uniform: they know the full network mask and know it is subnetted with a given subnet mask. They assume it doesn't only apply to their own subnet but to each subnet of the network. No, they wouldn't treat 192.168.*.* in this way, the full network mask seems to be 255.255.255.0 so they only assume things about sibling subnets i.e. 192.168.1.*. -- Actually, I am not quite sure this is correct. The smaller networks do not do any assumptions regarding other networks. The routing decision is done at the router, while the transmitting node is totally unaware of the subnet mask implemented at the destination network. If you really want the guts, it depends on the routing protocol implemented on the router and whether it supports propagating VLSM masks and whether classless routing is implemented. As long as routing is done by classless routing protocol, all-zeros and all-ones subnets become available for use. As the abbriviation of VLSM applies (Variable Length Subnet Mask), in this case you have the benefit of not loosing bits for what would look like a broadcast or network address, which does not really exists. In the above axample, with VLSM implemented, the node does the following: 1) The destination address is not in node's network, so it will be transmitted to default gateway. 2) ARP broadcast to get the MAC address of the default gateway. 3) The node sends the packet to DG 4) DG (the router) performs a lookup in it's routing table and notices that 192.168.1.191 is in 192.168.1.128/25 network which is directly attached to the router. 5) The router queries for the subnet mask associated with the interface and sees 255.255.255.128 5) The packet will be sent through the interface attached to 192.168.1.128/25 (this is not a broadcast !!!) 6) ARP broadcast to get the destination MAC 7) Packet gets to it's destination. As you can see, this is a normal unicast address when using VLSM. References: 1) Routing TCP/IP. Volume 1 by Jeff Doyle, Cisco Press 2) Cisco CCNA Exam 640-607 Certification Guide by Wendell Odom, Cisco Press Guy = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Re: IDE PCI controller supported in Linux?
I'm using Promise controllers (NON Raid) for most of my older machines (All running RedHat 7.3/8/9) without a problem. However, some IDE cards are not supported... especially Raid cards. As long as you are going for normal ATA100/133 cards, it should be fine. Gilboa On Fri, 2003-07-11 at 20:47, Adir Abraham wrote: On Fri, 11 Jul 2003, Tim Tsahayev wrote: Is there any chance for buying Linux supported IDE controller for less than 250 NIS? Is there an IDE controller which is not Linux supported? :) I would like to hear about that one. And how critic the speed which is supported? You can buy SATA ones with RAID support as well (assuming you have the money, but for that money I would buy a whole new motherboard). You can get a HighPoint UDMA 133MHz PCI controller for 150NIS approximately, but if you want a better (or more known) company, you can buy Promise UDMA 133MHz PCI controller for 320NIS and a Promise UDMA 100MHz PCI controller for 250NIS approximately (if you have got a HD which is running at 100MHz only, that's the best choice in my opinion). I know that Promise cards are supported for sure, but I believe that any IDE PCI card would fit (it's not OS dependant). Here's one link: http://www.exlmarket.co.il/exlmarket2/product-info2/6.13.html Best regards, Adir. = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED] = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Re: MDK 9.1 and VIA Chipset Blues
On Friday 11 July 2003 15:12, Amichai Rotman wrote: I tried installing. It was absolute hell ! After installing, the computer ran fast and a lot better than ever before (hardware specifics follow) but after 15-30 minutes or so (random) the comp froze completely and after reseting the machine with the dreaded reset button, half my / FS had been wiped out, due to repair errors. I have a similar setup and didn't have any problems with MDK. while the 2.4.21 pre-release kernel in MDK91 is less then perfect, it shouldn't be that bad. have you tried using FS other then ext3 (I have very good experience with reiser) ? did you load the modules for the TV card when that happened or did it also happened w/o the modules loaded ? -- Oded = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Re: What is ARP? [ Was Re: A 2 hosts Ethernet network with a 255.255.255.254 netmask. ]
On Fri, Jul 11, 2003 at 07:57:35PM +0300, Shaul Karl wrote: You are right that when I ping x.x.x.x I do know the IP address. Yet according to the DSL-HOWTO/appendix.html ARP Address Resolution Protocol. Converts MAC addresses to IP addresses. The way I read this is that an ARP request would send the MAC and expect the IP in return. That is, what is known is the MAC and what is looked after is the IP. If my understanding is correct then what both of us are missing is how this integrates into Ethernet communication. The way I read this is that the quoted document is in error. Either they were reffering to RARP (reverse ARP, used to be used for things like what DHCP does today, in combination with bootp) or they just mixed IP and MAC. Maybe you want to write the author about this. Cheers, --Amos = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]