[Cooker] Re: [CHRPM] kernel-2.4.0-11mdk
> * Sat Jan 27 2001 Jeff Garzik <[EMAIL PROTECTED]> 2.4.0-11mdk > > - Update alpha config Thanks Jeff, it looks good, but it's not compiling on my box: http://d10179.upc-d.chello.nl/build/cooker/alpha/problem/kernel-2.4.0-11mdk.src.rpm.txt gcc -D__KERNEL__ -I/users/cooker/RPM/BUILD/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -mno-fp-regs -ffixed-8 -mcpu=ev5 -Wa,-mev6-c -o ipconfig.o ipconfig.c ipconfig.c: In function `ic_rarp_recv': ipconfig.c:364: Internal error: Segmentation fault. Please submit a full bug report. See https://qa.mandrakesoft.com/> for instructions. make[3]: *** [ipconfig.o] Error 2 make[3]: Leaving directory `/users/cooker/RPM/BUILD/linux/net/ipv4' make[2]: *** [first_rule] Error 2 make[2]: Leaving directory `/users/cooker/RPM/BUILD/linux/net/ipv4' make[1]: *** [_subdir_ipv4] Error 2 make[1]: Leaving directory `/users/cooker/RPM/BUILD/linux/net' make: *** [_dir_net] Error 2 Bad exit status from /users/cooker/tmp/rpm-tmp.66826 (%build) I've been seeing segmentation faults by gcc more often lately. Packages like samba that used to compile fine have been failing lately (the past 2-3 weeks)... Here are the versions of gcc / glibc I'm running: [stefan@alpha cooker]$ rpm -qa |sort | grep gcc gcc-2.96-0.33mdk gcc-c++-2.96-0.33mdk gcc-colorgcc-2.96-0.33mdk gcc-cpp-2.96-0.33mdk gcc-g77-2.96-0.33mdk gcc-java-2.96-0.33mdk gcc-objc-2.96-0.33mdk [stefan@alpha cooker]$ rpm -qa |sort | grep glibc glibc-2.2.1-4mdk glibc-devel-2.2.1-4mdk glibc-profile-2.2.1-4mdk HDF-4.1r4-2mdk.src.rpm.txt:vshow.c:333: Internal error: Segmentation fault. HDF-4.1r4-2mdk.src.rpm.txt:tvset.c:991: Internal error: Segmentation fault. dhcp-2.0pl5-2mdk.src.rpm.txt:convert.c:56: Internal error: Segmentation fault. eshell-2.3.2-4mdk.src.rpm.txt:make: *** [eshell-auto.el] Segmentation fault freeciv-1.11.4-4mdk.src.rpm.txt:packets.c:525: Internal error: Segmentation fault. gdb-5.0-7mdk.src.rpm.txt:findvar.c:262: Internal error: Segmentation fault. gnome-objc-1.0.40-7mdk.src.rpm.txt:obgnome-hello-canvas.m:197: Internal error: Segmentation fault. gnumeric-0.61-1mdk.src.rpm.txt:gutils.c:163: Internal error: Segmentation fault. kernel-2.4.0-11mdk.src.rpm.txt:ipconfig.c:364: Internal error: Segmentation fault. net-tools-1.57-5mdk.src.rpm.txt:ifconfig.c:727: Internal error: Segmentation fault. php-4.0.4pl1-3mdk.src.rpm.txt:pack.c:744: Internal error: Segmentation fault. python-2.0-2mdk.src.rpm.txt:./structmodule.c:457: Internal error: Segmentation fault. ruby-1.6.2.2-1mdk.src.rpm.txt:pack.c:1386: Internal error: Segmentation fault. samba-2.0.7-20mdk.src.rpm.txt:nmbd/nmbd_winsproxy.c:48: Internal error: Segmentation fault. xchat-1.6.2-1mdk.src.rpm.txt:server.c:885: Internal error: Segmentation fault. xpilot-4.2.0-8mdk.src.rpm.txt:socklib.c:2160: Internal error: Segmentation fault. yudit-2.2-1mdk.src.rpm.txt:SString.cpp:92: Internal error: Segmentation fault. Any idea what could cause these segmentation faults? Stefan
Re: [Cooker] Sucessful istallation and runtime with Mandrake 7.3 Cooker and linux 2.4.0-9
currently things have been running fine, no problems what so ever here. -Original Message- From: guran <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] <[EMAIL PROTECTED]> Date: Saturday, January 27, 2001 11:51 PM Subject: [Cooker] 395 - second time >Hi > >I do create oddities. > >During installation, when almost done, just reboot left - I chose to >make another bootdisk by clicking at the star. > >The whole shit locked up and I had to cold start it. This meant that no >passwds were loaded and I had to make a new installation. > >Both hd.img and hdreiser.img refuses to reboot and shutdown gracefully. > >regards >guran > >
[Cooker] Question about Aurora
How do we get around the Aurora bootup screen if we need to, say, run fsck manually?
[Cooker] 395 - second time
Hi I do create oddities. During installation, when almost done, just reboot left - I chose to make another bootdisk by clicking at the star. The whole shit locked up and I had to cold start it. This meant that no passwds were loaded and I had to make a new installation. Both hd.img and hdreiser.img refuses to reboot and shutdown gracefully. regards guran
Re: [Cooker] fstab for reiser?
This is my writing in TurboLinux Server. >8 8< === /dev/hda2/ reiserfs defaults 1 1 /dev/hda6/home/cvsroot reiserfs defaults 1 2 /dev/hda9/home/download ext2defaults1 2 /dev/hda7/home/ftp reiserfs defaults 1 2 /dev/hda8/mnt/export reiserfs defaults 1 2 /dev/hda3/usrreiserfs defaults 1 2 /dev/hda5/varreiserfs defaults 1 2 /dev/hda1swapswapdefaults0 0 /dev/fd0 /mnt/floppy ext2noauto 0 0 /dev/cdrom /mnt/cdrom iso9660 noauto,ro 0 0 proc /proc procdefaults0 0 none /dev/ptsdevpts mode=0622 0 0 >8 8< === Hope it could help you some. :) Mendel L Chan Jan 28, 2001 On Sun, 28 Jan 2001, guran wrote: > Hi > > This may be too fundamental but that's my level. > > If I have formatted a partition for reiserfs, and succesfully installed > on it. How do I write the line into fstab, within another Linux > installation, so that I may mount that wonderful shit? > > regards > guran >
[Cooker] install hd.img for BusLogic?
I noticed the boot images do not include the buslogic driver anymore. Is this expected to change? Does anyone have a BusLogic.o I might use for installing cooker, one that works with the cooker install kernel? Thanks, Brian Hayward
Re: [Cooker] Latest progress of text-based-Mandrake update
[EMAIL PROTECTED] (Prana) writes: > Attached file: drakupdatetxt.tar.bz2 > > To try: > - tar xvfI drakupdatetxt.tar.bz2 > - make > - ./drakupdatetxt > > Note: This is still day 1 with alpha quality :-) > I will copy more functions from MandrakeUpdate GUI and grpmi .. please, next time, give an url, no attachement. -- dam's
Re: [Cooker] 2.4.0 and Supermount
I'm not sure it has anything to do with Mandrake: I think supermount is broken in 2.4.0. I built it from a tar.gz source, and when you attempt to cd to a supermounted filesystem, a message is logged complaining about supermount not being supported in the kernel. --Doug Chris Cable wrote: > Matthew > > It seems to blow away all traces of supermount after a recompile and setup > of 2.4.0. > > Could be a kernel module that was left out during config. > > Chris > > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of Matthew Pitts > Sent: Saturday, January 27, 2001 7:42 PM > To: [EMAIL PROTECTED]; [EMAIL PROTECTED] > Subject: Re: [Cooker] 2.4.0 and Supermount > > > On Sat, 27 Jan 2001 17:04:59 -0700 > Doug Roberts <[EMAIL PROTECTED]> wrote: > >> Yes, it does not work in 2.4.0. >> >> --Doug >> >> Chris Cable wrote: >> >>> Has anyone had any problems with supermount after >> >> installing the 2.4.0 >> >>> kernel? >> > > Doug and Chris, > > Can you be more specific? Does it compile and simply not > mount properly? I can check it on my system, (after I > recompile 2.4.0). > > Matthew > [EMAIL PROTECTED] > > > _ > Do You Yahoo!? > Get your free @yahoo.com address at http://mail.yahoo.com > > > > >
[Cooker] Latest progress of text-based-Mandrake update
Attached file: drakupdatetxt.tar.bz2 To try: - tar xvfI drakupdatetxt.tar.bz2 - make - ./drakupdatetxt Note: This is still day 1 with alpha quality :-) I will copy more functions from MandrakeUpdate GUI and grpmi .. see you, Prana -- Prana <[EMAIL PROTECTED]> http://www.cyest.org My GnuPG Key ID: 0x33343FD3 (2000-07-21) Key fingerprint = F1FB 1F76 8866 0F40 A801 D9DA 6BED 6641 3334 3FD3 http://blackhole.pca.dfn.de:11371/pks/lookup?op=get&search=0x33343FD3 drakupdatetxt.tar.bz2
RE: [Cooker] 2.4.0 and Supermount
Matthew It seems to blow away all traces of supermount after a recompile and setup of 2.4.0. Could be a kernel module that was left out during config. Chris -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Matthew Pitts Sent: Saturday, January 27, 2001 7:42 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: [Cooker] 2.4.0 and Supermount On Sat, 27 Jan 2001 17:04:59 -0700 Doug Roberts <[EMAIL PROTECTED]> wrote: > Yes, it does not work in 2.4.0. > > --Doug > > Chris Cable wrote: > > > Has anyone had any problems with supermount after > installing the 2.4.0 > > kernel? Doug and Chris, Can you be more specific? Does it compile and simply not mount properly? I can check it on my system, (after I recompile 2.4.0). Matthew [EMAIL PROTECTED] _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com
Re: [[Cooker] fstab for reiser?]
Quel Qun wrote: > Did you try reiserfs? No - I did read man fstab and man fs and didn't find any clue. but I will try that. thanks guran
Re: [Cooker] 395 - installation
Geoffrey Lee wrote: > > On Sun, Jan 28, 2001 at 04:33:40AM +0100, guran wrote: > > Geoffrey Lee wrote: > > > > My fault, I thought that when I used GRUB, the possibility to reach other parts of my system was enabled through /boot/grub/ thanks guran
Re: [[Cooker] fstab for reiser?]
guran <[EMAIL PROTECTED]> wrote: > Hi > > This may be too fundamental but that's my level. > > If I have formatted a partition for reiserfs, and succesfully installed > on it. How do I write the line into fstab, within another Linux > installation, so that I may mount that wonderful shit? > > regards > guran Did you try reiserfs? =-= kk1 Get free email and a permanent address at http://www.netaddress.com/?N=1
Re: [Cooker] 2.4.0 and Supermount
On Sat, 27 Jan 2001 17:04:59 -0700 Doug Roberts <[EMAIL PROTECTED]> wrote: > Yes, it does not work in 2.4.0. > > --Doug > > Chris Cable wrote: > > > Has anyone had any problems with supermount after > installing the 2.4.0 > > kernel? Doug and Chris, Can you be more specific? Does it compile and simply not mount properly? I can check it on my system, (after I recompile 2.4.0). Matthew [EMAIL PROTECTED]
Re: [Cooker] 2.4.0 and Supermount
On Sat, 27 Jan 2001 17:04:59 -0700 Doug Roberts <[EMAIL PROTECTED]> wrote: > Yes, it does not work in 2.4.0. > > --Doug > > Chris Cable wrote: > > > Has anyone had any problems with supermount after > installing the 2.4.0 > > kernel? Doug and Chris, Can you be more specific? Does it compile and simply not mount properly? I can check it on my system, (after I recompile 2.4.0).
Re: [Cooker] 395 - installation
On Sun, Jan 28, 2001 at 04:33:40AM +0100, guran wrote: > Geoffrey Lee wrote: > > My fault, I was not explicit in my description. > > I have one production installation mdk7.2 with boot partition and all > the nicities. But when I am trying to play with cooker, and constantly > being up on the net, I dont want these testing installations to have any > connection what so ever to my mdk7.2. So I only boot them with a boot > disk. If the boot disk that I do during installation does not function > how am I to enter that fine new installation? > Why don't you on a cooker install, install grub onto the MBR, and define it so that you can boot to both cooker and mdk 7.2? Next boot to cooker and use mkbootdisk. I don't realy see the problem here? -- Geoffrey Lee <[EMAIL PROTECTED]> §õªø· http://www.mandrakesoft.com/~snailtalk ftp://devel.mandrakesoft.com/pub/people/snailtalk $/usr/games/fortune Anything that can go wrong will go Segmentation fault (core dumped) $
Re: [Cooker] 395 - installation
Geoffrey Lee wrote: My fault, I was not explicit in my description. I have one production installation mdk7.2 with boot partition and all the nicities. But when I am trying to play with cooker, and constantly being up on the net, I dont want these testing installations to have any connection what so ever to my mdk7.2. So I only boot them with a boot disk. If the boot disk that I do during installation does not function how am I to enter that fine new installation? regards guran
[Cooker] fstab for reiser?
Hi This may be too fundamental but that's my level. If I have formatted a partition for reiserfs, and succesfully installed on it. How do I write the line into fstab, within another Linux installation, so that I may mount that wonderful shit? regards guran
Re: [Cooker] 395 - installation
On Sun, Jan 28, 2001 at 04:11:13AM +0100, guran wrote: > Hi > > I wonder how I shall do to get the floppy disk to function as a boot > disk, when there is no way to choose the floppy as a medium during > installation? > Why don't you do it after install and use mkbootdisk? > I currently try my / partition, hda9, but this only gets me a GRUB, and > the fine shit hangs. > > I only have Linux on my machine, different versions, but I want to keep > them totally separated. > You may get a hang but that has nothing to do with dual-booting. You can specify multiple boots in grub / lilo which was one of the points of a boot loader anyway. -- Geoffrey Lee <[EMAIL PROTECTED]> §õªø· http://www.mandrakesoft.com/~snailtalk ftp://devel.mandrakesoft.com/pub/people/snailtalk $/usr/games/fortune Anything that can go wrong will go Segmentation fault (core dumped) $
[Cooker] 395 - installation
Hi I wonder how I shall do to get the floppy disk to function as a boot disk, when there is no way to choose the floppy as a medium during installation? I currently try my / partition, hda9, but this only gets me a GRUB, and the fine shit hangs. I only have Linux on my machine, different versions, but I want to keep them totally separated. regards guran
Re: [Cooker] Text-version of MandrakeUpdate v0.0.0.1
[EMAIL PROTECTED] (Prana) writes: > "Brian J. Murrell" wrote: > > You don't understand "OpenSource" do you? As long as you do not claim > > the work you leverage off of as your own work it is not > > "plagiarizing". Copycatting (good code) is a good thing in software > > development not a bad thing. > It's not that don't understand Open Source. FYI, I'm a member of Gnome > Foundation too, and I've published some of my software too, from > Assembly, Pascal, C, to C++, and they're open-source. It's just my old > habbit not to copycat. > > However, I think you and damien are right. At the first time I thought > I want to do everything from scratch. Hrhm.. but you're right, I'll have > to develop this pretty quickly before 7.3/8.0 is out. I'll have to reuse > some of the function in MandrakeUpdate. Point well taken :) > > Starting from tomorrow, it will be available from > http://www.cyest.org/drakupdatetxt goood :) I'll take some looks, time to time. -- dam's
Re: [Cooker] 2.4.0 and Supermount
Yes, it does not work in 2.4.0. --Doug Chris Cable wrote: > Has anyone had any problems with supermount after installing the 2.4.0 > kernel? > > Chris > > > _ > Do You Yahoo!? > Get your free @yahoo.com address at http://mail.yahoo.com > > > > >
Re: [Cooker] Text-version of MandrakeUpdate v0.0.0.1
"Brian J. Murrell" wrote: > You don't understand "OpenSource" do you? As long as you do not claim > the work you leverage off of as your own work it is not > "plagiarizing". Copycatting (good code) is a good thing in software > development not a bad thing. It's not that don't understand Open Source. FYI, I'm a member of Gnome Foundation too, and I've published some of my software too, from Assembly, Pascal, C, to C++, and they're open-source. It's just my old habbit not to copycat. However, I think you and damien are right. At the first time I thought I want to do everything from scratch. Hrhm.. but you're right, I'll have to develop this pretty quickly before 7.3/8.0 is out. I'll have to reuse some of the function in MandrakeUpdate. Point well taken :) Starting from tomorrow, it will be available from http://www.cyest.org/drakupdatetxt Prana > But why do extra work that has already been done before? Don't > re-invent the wheel. It's already perfect. There is nothing more > than can be done to it to make it better. Use it and make something > more useful with it. -- Prana <[EMAIL PROTECTED]> http://www.cyest.org My GnuPG Key ID: 0x33343FD3 (2000-07-21) Key fingerprint = F1FB 1F76 8866 0F40 A801 D9DA 6BED 6641 3334 3FD3 http://blackhole.pca.dfn.de:11371/pks/lookup?op=get&search=0x33343FD3
Re: [Cooker] Text-version of MandrakeUpdate v0.0.0.1
On Sat, Jan 27, 2001 at 04:46:31PM -0700, Prana wrote: > Good idea, however I'm not used to copycatting/plagiarizing other > people's code. You don't understand "OpenSource" do you? As long as you do not claim the work you leverage off of as your own work it is not "plagiarizing". Copycatting (good code) is a good thing in software development not a bad thing. > I myself haven't taken a look at it. It'll be okay. But why do extra work that has already been done before? Don't re-invent the wheel. It's already perfect. There is nothing more than can be done to it to make it better. Use it and make something more useful with it. ~sigh~ b. -- Brian J. Murrell
Re: [Cooker] Text-version of MandrakeUpdate v0.0.0.1
[EMAIL PROTECTED] (Prana) writes: > Good idea, however I'm not used to copycatting/plagiarizing other > people's code. I myself haven't taken a look at it. It'll be okay. you know, free software are made to be reused. So you can save time, use and improve code. But it's up to you, do as you like it. -- dam's
Re: [Cooker] Text-version of MandrakeUpdate v0.0.0.1
Good idea, however I'm not used to copycatting/plagiarizing other people's code. I myself haven't taken a look at it. It'll be okay. Prana "Brian J. Murrell" wrote: > > Are you leveraging off of the code in MandrakeUpdate? They already > have the heuristics for version comparison etc. worked out. You > really should be using a common code base with MandrakeUpdate for this > sort of stuff. > > > b. > > -- > Brian J. Murrell -- Prana <[EMAIL PROTECTED]> http://www.cyest.org My GnuPG Key ID: 0x33343FD3 (2000-07-21) Key fingerprint = F1FB 1F76 8866 0F40 A801 D9DA 6BED 6641 3334 3FD3 http://blackhole.pca.dfn.de:11371/pks/lookup?op=get&search=0x33343FD3
[Cooker] 2.4.0 and Supermount
Has anyone had any problems with supermount after installing the 2.4.0 kernel? Chris _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com
Re: [Cooker] Text-version of MandrakeUpdate v0.0.0.1
On Sat, Jan 27, 2001 at 01:48:03PM -0700, Prana wrote: > I've just started working on the text version of MandrakeUpdate a few > hours ago, in C++, using libcurl + librpm... it's still very alpha > quality and still not very usable. Are you leveraging off of the code in MandrakeUpdate? They already have the heuristics for version comparison etc. worked out. You really should be using a common code base with MandrakeUpdate for this sort of stuff. > b. -- Brian J. Murrell
Re: [Cooker] vmware and kernel 2.4
It works with 7.2. I built 2.4.0 from source, then re-ran vmware-install.pl, no problems. --Doug Bryan Opfer wrote: > I have not been able to get it to work either. I have the source > installed and I get the following: > > > Building the vmmon module. > > make: Entering directory `/tmp/vmware-config1/vmmon-only' > make[1]: Entering directory `/tmp/vmware-config1/vmmon-only' > make[2]: Entering directory > `/tmp/vmware-config1/vmmon-only/driver-2.4.0-3mdksmp' > In file included from ../linux/driver-config.h:35, > from .././linux/driver.c:11: > /usr/src/linux/include/linux/modversions.h:1:2: #error Modules should > never use kernel-headers system headers, > /usr/src/linux/include/linux/modversions.h:2:2: #error but headers from > an appropriate kernel-source > make[2]: *** [driver.d] Error 1 > make[2]: Leaving directory > `/tmp/vmware-config1/vmmon-only/driver-2.4.0-3mdksmp' > make[1]: *** [deps] Error 2 > make[1]: Leaving directory `/tmp/vmware-config1/vmmon-only' > make: *** [auto-build] Error 2 > make: Leaving directory `/tmp/vmware-config1/vmmon-only' > Unable to build the vmmon module. > - > > -Bryan Opfer > >> You need the kernel source installed. >
[Cooker] Text-version of MandrakeUpdate v0.0.0.1
I've just started working on the text version of MandrakeUpdate a few hours ago, in C++, using libcurl + librpm... it's still very alpha quality and still not very usable. What it can do right now: download the mirror list, visit the FTP sites and check the description of updates, list which package available for updates.. Source code listing is attached in simple.cpp TODO: - Check the RPM if it's installed - Compare the rpm version of installed and the updates - Auto dependency - Put the entry in /etc/cron.weekly after it's done - Much more -- Prana <[EMAIL PROTECTED]> http://www.cyest.org My GnuPG Key ID: 0x33343FD3 (2000-07-21) Key fingerprint = F1FB 1F76 8866 0F40 A801 D9DA 6BED 6641 3334 3FD3 http://blackhole.pca.dfn.de:11371/pks/lookup?op=get&search=0x33343FD3 #include #include #include #include #include #include #include #include #include #include #include #include using namespace std; #define mirror_list "http://www.linux-mandrake.com/mirrorsfull.list" #define mirror_list_saved "/etc/urpmi/mirrorsfull.list" #define temp_updatelist_file "/etc/urpmi/tempdownload.update" #define version_file "/etc/mandrake-release" #define DEBUG enum either_file_or_directory { is_a_file, is_a_directory }; void open_mirror_ftp_sites() { } // bool download_file(const char *url_file, const char *tofile, either_file_or_directory filetype) { CURL *curl; CURLcode res; FILE *contentfile; bool return_value = false; contentfile = fopen(tofile, "w"); curl = curl_easy_init(); if (curl) { /* what call to write: */ curl_easy_setopt(curl, CURLOPT_URL, url_file); curl_easy_setopt(curl, CURLOPT_FILE, contentfile); curl_easy_setopt(curl, CURLOPT_NOPROGRESS); if (filetype == is_a_directory) curl_easy_setopt(curl, CURLOPT_FTPLISTONLY); res = curl_easy_perform(curl); /* always cleanup */ curl_easy_cleanup(curl); return_value = true; } fclose (contentfile); return return_value; } // bool download_mirror(vector *mirrors, string *version, string *machine) // Download the mirror { ifstream *saved_mirror; string *ftp_site = new string; int colon_location; // Download the lists first from Mandrake's website download_file(mirror_list, mirror_list_saved, is_a_file); // Then open it.. saved_mirror = new ifstream(mirror_list_saved); *saved_mirror >> *ftp_site; while (!saved_mirror->eof()) { // Process colon_location = ftp_site->find(":"); if (ftp_site->substr(0,colon_location) == *machine) // Is it the right update? { #ifdef HARD_DEBUG cerr << ftp_site->substr(0,colon_location) << ftp_site->substr(colon_location+1, ftp_site->length()) << endl; #endif mirrors->push_back(new string( ftp_site->substr(colon_location+1, ftp_site->length()) )); } // Read again *saved_mirror >> *ftp_site; } saved_mirror->close(); } // bool visit_ftp_site(int retry, string *ftp_site, string *version, string *machine) { bool get_description_okay; #ifdef DEBUG cerr << "visit_ftp_site(...)" << endl; #endif string *temp = new string(*ftp_site); *temp += "/" + *version; *temp += "/descriptions"; /* if (download_file(temp->c_str(),"description_file", is_a_file)) { cout << "OKAY" << endl; }*/ *temp = *ftp_site; *temp += "/" + *version; *temp += "/RPMS/"; #ifdef DEBUG cerr << "Listing directory " << *temp << endl; #endif if (download_file(temp->c_str(),temp_updatelist_file, is_a_directory)) { cout << "Downloaded list" << endl; } delete temp; return true; } // bool process_mirrors_and_do_updates(vector *mirrors_vector, string *version, string *machine) { bool return_value = false; int ftp_site; for (ftp_site = 0; return_value==false && ftp_site < mirrors_vector->size(); ftp_site++) { return_value = visit_ftp_site( ftp_site, (*mirrors_vector)[ftp_site] , version, machine); } return return_value; } // bool getversion_and_machine(string *version, string *machine) // Get version from /etc/mandrake-release { ifstream *mandrake_release; bool machine_found = false; bool return_value = false; bool cooker = false; int position = 0; // Read string s from file mandrake_release = new ifstream(version_file); if (mandrake_release) { for (position = 0; position < 4; position++) { *mandrake_release >> *version; if (version->find("Cooker") != -1) { cooker = true; // Handler Cooker-spa
Re: [Cooker] vmware and kernel 2.4
I have not been able to get it to work either. I have the source installed and I get the following: Building the vmmon module. make: Entering directory `/tmp/vmware-config1/vmmon-only' make[1]: Entering directory `/tmp/vmware-config1/vmmon-only' make[2]: Entering directory `/tmp/vmware-config1/vmmon-only/driver-2.4.0-3mdksmp' In file included from ../linux/driver-config.h:35, from .././linux/driver.c:11: /usr/src/linux/include/linux/modversions.h:1:2: #error Modules should never use kernel-headers system headers, /usr/src/linux/include/linux/modversions.h:2:2: #error but headers from an appropriate kernel-source make[2]: *** [driver.d] Error 1 make[2]: Leaving directory `/tmp/vmware-config1/vmmon-only/driver-2.4.0-3mdksmp' make[1]: *** [deps] Error 2 make[1]: Leaving directory `/tmp/vmware-config1/vmmon-only' make: *** [auto-build] Error 2 make: Leaving directory `/tmp/vmware-config1/vmmon-only' Unable to build the vmmon module. - -Bryan Opfer > You need the kernel source installed.
Re: [Re: [Cooker] initscripts pbs]
Chmouel Boudjnah <[EMAIL PROTECTED]> wrote: > Quel Qun <[EMAIL PROTECTED]> writes: > > > 2. ypbind can't start because the domain name is not set properly. As a quick > > fix, I had to take the domain name setting out of the linuxconf profile test > > loop in rc.sysinit. > > does it works if you change the line 264: > > action "Setting hostname %s: " "${HOSTNAME}" hostname ${HOSTNAME} > > into : > > action "Setting hostname ${HOSTNAME}: " hostname ${HOSTNAME} > Hmmm... the hostname is set properly, I don't think this would change anything. The problem is that the domain name is never set to $NISDOMAIN (line 675 is not executed). With a blank domain name, ypbind cannot start. =-= kk1 Get free email and a permanent address at http://www.netaddress.com/?N=1
[Cooker] Kernal panic !
Hello, Every now and then when I boot it get as far as half a dozen dots after the LILO prompt has disappeared then the boot locks and has to be 'd to recover. The message produced is 'LBDA too big' !!! What the LBDA does that mean ? I am using kernel-2.4.0-9mdk. Owen
Re: [Cooker] vmware and kernel 2.4
Alexander Skwar <[EMAIL PROTECTED]> writes: > Hello! > > Did some get VMware workstation 2.0.3 to install on a system running > kernel-2.4.0-9mdk? I don't seem to be able to do so. vmware-config.pl asks > me, where my linux source tree is. So I accepted the default choice of > "/usr/src/linux/include", but the config tool wasn't happy with this - it is > looking for version.h, which is in /usr/include/linux. So I typed this in - > now it complains that there is not "one of these directories "linux", "asm", > "net"" under /usr/include/linux. > > How to go on? you need the kernel-source installed and try also to do in /usr/src/linux : make mrproper make oldconfig make dep and rerun the vmware script. -- MandrakeSoft Inc http://www.chmouel.org --Chmouel
Re: [Cooker] make-kpkg for Mandrake ?
Michael Stucki <[EMAIL PROTECTED]> writes: > So what do you think ??? > Possible ? Sure. sure possible i did it something like this a while ago but not tested a lot : #!/usr/bin/perl -w use strict; unless ( -f 'arch/i386/boot/bzImage' or -f './System.map' ) { print "You should run this script from the linux build tree\n"; print "Sound like i can't find a compiled bzImage or System.map\n"; exit(1); } my $version = get_version_from_dot_h(); (my $rpm_version = $version) =~ s|-.*||; (my $rpm_release = $version) =~ s|.*-||; my $pwd = $ENV{PWD}; my $spec = "$pwd/build-rpm/buildkernelrpm.spec"; my $rpmrc = "$pwd/rpmrc"; `rm -rf build-rpm`; mkdir 'build-rpm'; mkdir 'build-rpm/boot'; copy_files(); generate_spec(); `rpm -bb $spec`; sub copy_files { `cp arch/i386/boot/bzImage build-rpm/boot/vmlinuz-$version`; `cp System.map build-rpm/boot/System.map-$version`; `make modules_install INSTALL_MOD_PATH=$pwd/build-rpm`; } sub generate_spec { local *F; open F, ">$spec"; print F << "EOF"; %define name kernel %define version $rpm_version %define release $rpm_release %define __spec_install_post /usr/lib/rpm/brp-compress || : Summary: The Linux kernel (the core of the Linux operating system). Name: %{name} Version: %{version} Release: %{release} Copyright: GPL Group: System/Kernel and hardware BuildRoot: $pwd/build-rpm/ Prefix: %{_prefix} %description The kernel package contains the Linux kernel (vmlinuz), the core of your Linux Mandrake operating system. The kernel handles the basic functions of the operating system: memory allocation, process allocation, device input and output, etc. %prep %files %defattr(-,root,root) /lib/modules/* /boot/* %post cd /boot ln -sf vmlinuz-$version vmlinuz if [ -x /sbin/installkernel ];then /sbin/installkernel -a -c $version fi depmod -a -m /boot/System.map-$version $version %preun /sbin/modprobe loop 2> /dev/null > /dev/null rm -f /lib/modules/$version/modules.* exit 0 %changelog # end of file EOF close F; } sub get_version_from_dot_h { `make include/linux/version.h`; local *F; open F, "include/linux/version.h"; while () { return $1 if /^#define UTS_RELEASE "(.*)"$/ }; close F; } -- MandrakeSoft Inc http://www.chmouel.org --Chmouel
Re: [Cooker] modversion.h error solved.
Quel Qun <[EMAIL PROTECTED]> writes: > I am so glad I have my aureal built with the 2.4 kernel that I think someone > should YELL that if you get that modversion.h error, you just have to install > the kernel-source package, change to /usr/src/linux and run make xconfig with > the /usr/src/config/whatever config file. Cool! > > Chmou, would you please mind confirm that? yup, i have to make this information more widely knows. -- MandrakeSoft Inc http://www.chmouel.org --Chmouel
Re: [Cooker] Installing kernel 2.4 in my Mandrake 7.2
Claudio <[EMAIL PROTECTED]> writes: > I'm running with LM-7.2, RPM 4.0, gcc-2.96, glibc-2.2.1, kernel-2.4.0-5mdk > Those have been my steps: > ALL FROM SOURCES (.src.rpm) it should not be needed all of this to upgrade to 2.4 the kernel package himself should be fine (!!! not tested !!!) -- MandrakeSoft Inc http://www.chmouel.org --Chmouel
Re: [Cooker] initscripts pbs
Quel Qun <[EMAIL PROTECTED]> writes: > 1. The init script is looking for fsck.reiserfs, which doesn't exist. it should be a problem with the reiserfs-utils package which i have to fix it. > 2. ypbind can't start because the domain name is not set properly. As a quick > fix, I had to take the domain name setting out of the linuxconf profile test > loop in rc.sysinit. does it works if you change the line 264: action "Setting hostname %s: " "${HOSTNAME}" hostname ${HOSTNAME} into : action "Setting hostname ${HOSTNAME}: " hostname ${HOSTNAME} > 3. The /etc/sysconfig/desktop line has been changed to DESKTOP=GNOME, but > startx doesn't like that and starts KDE (default, I guess). this should be a bug with mandrake_desk, i Cc: to the maintainner. > Aurora looks nicer, but IMO, it's harder to catch what is happening. Comment go to egil@ -- MandrakeSoft Inc http://www.chmouel.org --Chmouel
Re: [Cooker] what hardware internal modem to buy for my mandrake ?
in answer to the question i personally have 2 Creative Labs 56k flash 2 modems on my system. The Big Hook is whatever modem you get it MUST say Controller Based Modem (most of the time they in isa version have actual jumpers on the card [the ones that use Dip Shunts]). I think CL makes a PCI version of the same card. Robert L Martin Who to this day can't use Harddrake to setup my cards since it chokes on the modems and my sound card.
Re: [Cooker] problem with jed-B0.99.12-2mdk
On Wed, Jan 24, 2001 at 05:56:34PM +0100, COTINEAU Sylvain wrote: > jed-common-B0.99.12-2mdk.i586.rpm and jed-B0.99.12-2mdk.i586.rpm are the same [..] i will look at it yves -- Yves Duret [EMAIL PROTECTED] ()Campagne du ruban ASCII - Contre les mails en HTML /\ Contre les pièces jointes
Re: [Cooker] vmware and kernel 2.4
Alexander Skwar wrote: > > Hello! > > Did some get VMware workstation 2.0.3 to install on a system running > kernel-2.4.0-9mdk? I don't seem to be able to do so. vmware-config.pl asks > me, where my linux source tree is. So I accepted the default choice of > "/usr/src/linux/include", but the config tool wasn't happy with this - it is > looking for version.h, which is in /usr/include/linux. So I typed this in - > now it complains that there is not "one of these directories "linux", "asm", > "net"" under /usr/include/linux. > > How to go on? > > Alexander Skwar > -- > How to quote: http://learn.to/quote (german) http://quote.6x.to (english) > Homepage: http://www.digitalprojects.com | http://www.iso-top.de >iso-top.de - Die guenstige Art an Linux Distributionen zu kommen > Uptime: 6 hours 39 minutes You need the kernel source installed.
[Cooker] ipchains --> iptables
Hi, I'm trying to get ABNAMRO (the dutch bank) Homenet software (windoze based, really dumb --> I wish they would switch to something web-based) to work with iptables (2.4 kernel) in my masqed network. It was working fine with ipchains. The only thing I needed to do there was insmod ip_masq_ftp ports=21,42,63 (since the software needs some weird ftp ports to communicate). How do i do a "insmod ip_masq_ftp ports=21,42,63" with the modules that come with iptables? The new module is named "ip_nat_ftp" but it doesn't accept the ports=21,42,63 Am i doing something wrong or do I need a patch to get it going? TIA, Stefan van der Eijk
[Cooker] Re: [CHRPM] cups-1.1.6-1mdk
On Saturday 27 January 2001 06:45, Till Kamppeter wrote: > --=-=-= > Name: cups Relocations: (not relocateable) > Version : 1.1.6 Vendor: MandrakeSoft > Release : 1mdk Build Date: Fri Jan 26 21:50:02 > * Fri Jan 26 2001 Till Kamppeter <[EMAIL PROTECTED]> 1.1.6-1mdk > > - Updated to CUPS 1.1.6. I reported this bug earlier, and it's still present in this version. Please ensure that this is on your todo list. cups will disable itself from being automatically started on install. So, if cups is set to automatically start before you do an upgrade, then after the upgrade it's disabled. Here's the log: [root@linux1 cooker]# chkconfig cups --list cups0:off 1:off 2:off 3:on4:on5:on6:off [root@linux1 cooker]# rpm -Uvh cups-1.1.6-1mdk.i586.rpm --replacepkgs cups## [root@linux1 cooker]# chkconfig cups --list cups0:off 1:off 2:off 3:off 4:off 5:off 6:off [root@linux1 cooker]# chkconfig cups on [root@linux1 cooker]# chkconfig cups --list cups0:off 1:off 2:off 3:on4:on5:on6:off -- Ed Wilts, Mounds View, MN, USA mailto:[EMAIL PROTECTED]
Re: [Cooker] what hardware internal modem to buy for my mandrake ?
On Saturday 27 January 2001 04:32, Syed Irfan wrote: > hello > > any suggessions for a good hardware internal modem > (manufacturer/brand/56k v90) which works on linux > distros and LM ? i need to buy one urgently. This is not a Cooker question. Go to http://www.linuxdoc.org and read the modem howto. .../Ed -- Ed Wilts, Mounds View, MN, USA mailto:[EMAIL PROTECTED]
Re: [Cooker] Cooker packages...
On Friday 26 January 2001 22:52, Robin Cook wrote: > Is there a list somewhere that has what packages you should not > install together like wu-ftp and proftp, and of the those packages > the recommended package? I've never seen such a list, but I have seen a discussion on recommended packages. Check out http://securityportal.com. Back in July, 2000, they had a 2-part series entitled "Why do vendors ship us junk they wouldn't use?". Among the discussions included wu-ftpd, telnet, sendmail, named, and inn. A lot of it is personal choice. Some of the packages are certainly personal choice - you can run sendmail and wu-ftpd security but you MUST be current on patches - and some are just bad security decisions in some situations (like telnet). Cheers, .../Ed -- Ed Wilts, Mounds View, MN, USA mailto:[EMAIL PROTECTED]
[Cooker] Trying to download mail from a server running postfix
I've setup postfix on a mdk 7.2 server but I'm having problems downloading mails from it, when I try to download via fetchmail I get: [number1@liquid number1]$ fetchmail -p POP3 -u number1 borg.deltacomputers.no Enter password for [EMAIL PROTECTED]: 1 message for number1 at borg.deltacomputers.no (768 octets). reading message 1 of 1 (768 octets) fetchmail: SMTP connect to localhost failed fetchmail: SMTP transaction error while fetching from borg.deltacomputers.no fetchmail: Query status=10 (SMTP) Anybody got a clue what might be wrong or what logs I should look at to find it out ? Do I have to setup something in the postfix configs to allow downloading of mail? -- \ Christian A Strømmen / \ Number1/NumeroUno @ Undernet - Email: [EMAIL PROTECTED] / \ Web: www.realityx.net - Cell: +47 911 43 948 / Live your life by your dreams, not by the limits of reality...
[Cooker] what hardware internal modem to buy for my mandrake ?
hello any suggessions for a good hardware internal modem (manufacturer/brand/56k v90) which works on linux distros and LM ? i need to buy one urgently. thanks very much = = CrazyCrusoe Hackerd00d http://members.linuxstart.com/openweb = __ Do You Yahoo!? Yahoo! Auctions - Buy the things you want at great prices. http://auctions.yahoo.com/
RE: [Cooker] I'd _wish_ to compile a kernel
On 27-Jan-01 Quel Qun wrote: > Does not go: > ># make xconfig > wish -f scripts/kconfig.tk > make: wish: Command not found > make: *** [xconfig] Error 127 You're missing /usr/bin/wish, which is in the package tk. > BTW, do I need egcs or is gcc enough to compile the current 2.4 kernel? gcc should be enough. I believe 2.95.2 is recommended, and i haven't tried it with the Cooker 2.96. -- Marcel Pol [EMAIL PROTECTED]