Re: [Cooker] pasting into mc edit

2002-07-13 Thread Christian Gennerat

With this line in .Xdefaults
XTerm*VT100*translations:#override \
ShiftKeyF1:string(\033[25~) \n\

ShiftKeyF8:string(\033[34~) \n\
ShiftKeyF12:insert-selection(PRIMARY,CUT_BUFFER0) \n\
ShiftKeyUp:string(\033OA) \n\

I paste with Shift-F12

Oden Eriksson wrote:

Hi.

It's impossible to paste into mc:s internal editor running in a X console, 
what's wrong?







Re: [Cooker] unzip-2.3-7mdk and big archives

2002-03-20 Thread Christian Gennerat

Guillaume Cottenceau a écrit :

 can you try with latest

 0f060eab1a68d1d5b927a15965e425d1  RPMS/i586/unzip-5.42-2mdk.i586.rpm


No problem today, the cache has been cleaned.

Encore mieux!
And better than pkzip25 (shareware) !

hlr#zipinfo big-Archive3
Archive:  big-Archive3.zip   4735435 bytes   3 files
-rw-r--r--  2.3 unx 1626341376 bx defX 15-Mar-02 18:08 UN-GIGA-CINQ
-rw-r--r--  2.3 unx 1626341376 bx defX 15-Mar-02 18:08 UN-GIGA-CINQ-1.bin
-rw-r--r--  2.3 unx 1626341376 bx defX 15-Mar-02 18:08 UN-GIGA-CINQ-2.bin
3 files, 4879024128 bytes uncompressed, 4734987 bytes compressed:  99.9%

And with a real archive:
-rw-r--r--  2.1 unx38740 bx defN 11-Jan-02 11:59 SH27/0111/SRCD27_A1
-rw-r--r--  2.1 unx 1468007168 bx defN 11-Jan-02 11:54 SH27/0111/SRCD27_A1.04
-rw-r--r--  2.1 unx 209715968 bx defN 11-Jan-02 11:59 SH27/0111/SRCD27_A1.24
-rw-r--r--  2.1 unx38740 bx defN 11-Jan-02 12:37 SH27/0111/SRCD27_A2
-rw-r--r--  2.1 unx 1468007168 tx defN 11-Jan-02 12:32 SH27/0111/SRCD27_A2.48
-rw-r--r--  2.1 unx 209715968 bx defN 11-Jan-02 12:37 SH27/0111/SRCD27_A2.49
-rw-r--r--  2.1 unx  1573632 bx defN 11-Jan-02 12:37 SH27/0111/SRCD27_A2.50
100 files, 6354859856 bytes uncompressed, 217279546 bytes compressed:  96.6%






Re: [Cooker] unzip-2.3-7mdk and big archives

2002-03-19 Thread Christian Gennerat

sorry for the title; it should be unzip-5.42-1mdk

Guillaume Cottenceau a écrit :

 Can you test package from:

 http://people.mandrakesoft.com/~gc/pkgs/

 c9f62c38c24b057c1c3d25e7e9866380  RPMS/i586/unzip-5.42-2mdk.i586.rpm

 and tell me if it fixes your problem.


md5sum unzip-5_42-2mdk_i586.rpm
fdec31b562e469a5d9f26386ea351d67  unzip-5_42-2mdk_i586.rpm

hlr#/usr/bin/zipinfo big-Archive3.zip
Archive:  big-Archive3.zip   4735435 bytes   3 files
-rw-r--r--  2.3 unx 1626341376 bx defX 15-Mar-02 18:08 UN-GIGA-CINQ
-rw-r--r--  2.3 unx 1626341376 bx defX 15-Mar-02 18:08 UN-GIGA-CINQ-1.bin
-rw-r--r--  2.3 unx 1626341376 bx defX 15-Mar-02 18:08 UN-GIGA-CINQ-2.bin
3 files, 584056832 bytes uncompressed, 4734987 bytes compressed:  99.2%
hlr#ls -l /usr/bin/zipinfo
-rwxr-xr-x1 root root97464 mar 18 16:18 /usr/bin/zipinfo

Exactly the same truncation:
3 * 1626341376 = 2 **32 + 584056832






Re: [Cooker] unzip-2.3-7mdk and big archives

2002-03-19 Thread Christian Gennerat

Guillaume Cottenceau a écrit :


 Can you retry?

 32db600f1547cdb63e1486c1dc243933  RPMS/i586/unzip-5.42-2mdk.i586.rpm


No, I can't
http://people.mandrakesoft.com/~gc/pkgs/
is not updated since 19-Mar-2002 04:49   236k






Re: [Cooker] unzip-2.3-7mdk and big archives

2002-03-19 Thread Christian Gennerat

Guillaume Cottenceau a écrit :

 Christian Gennerat [EMAIL PROTECTED] writes:

  Guillaume Cottenceau a écrit :
 
  
   Can you retry?
  
   32db600f1547cdb63e1486c1dc243933  RPMS/i586/unzip-5.42-2mdk.i586.rpm
  
 
  No, I can't
  http://people.mandrakesoft.com/~gc/pkgs/
  is not updated since 19-Mar-2002 04:49   236k

 Can't you just download the file, check the md5sum and try the
 package?

 It's the correct one.


No,it's the last one:
md5sum unzip-5_42-2mdk_i586.rpm
fdec31b562e469a5d9f26386ea351d67  unzip-5_42-2mdk_i586.rpm
and same result.





Re: [Cooker] unzip-2.3-7mdk and big archives

2002-03-19 Thread Christian Gennerat

Guillaume Cottenceau a écrit :

 Can you retry?

 32db600f1547cdb63e1486c1dc243933  RPMS/i586/unzip-5.42-2mdk.i586.rpm


I have downloaded via a Perl script, and I got the good rpm
I have tested after, one more time with Netscape, and I got the old rpm.
I think it is a cache problem.

Archive:  big-Archive3.zip   4735435 bytes   3 files
-rw-r--r--  2.3 unx 1626341376 bx defX 15-Mar-02 18:08 UN-GIGA-CINQ
-rw-r--r--  2.3 unx 1626341376 bx defX 15-Mar-02 18:08 UN-GIGA-CINQ-1.bin
-rw-r--r--  2.3 unx 1626341376 bx defX 15-Mar-02 18:08 UN-GIGA-CINQ-2.bin
3 files, 4879024128 bytes uncompressed, 4734987 bytes compressed:  99.2%
hlr#zipinfo big-Archive4.zip
Archive:  big-Archive4.zip   6313910 bytes   4 files
-rw-r--r--  2.3 unx 1626341376 bx defX 15-Mar-02 18:08 UN-GIGA-CINQ
-rw-r--r--  2.3 unx 1626341376 bx defX 15-Mar-02 18:08 UN-GIGA-CINQ-1.bin
-rw-r--r--  2.3 unx 1626341376 bx defX 15-Mar-02 18:08 UN-GIGA-CINQ-2.bin
-rw-r--r--  2.3 unx 1626341376 bx defX 15-Mar-02 18:08 UN-GIGA-CINQ-3.bin
4 files, 6505365504 bytes uncompressed, 6313316 bytes compressed:  99.7%

Great!
(for bytes uncompressed)
but the ratio is computed with the truncated value and is less than the real ratio 
99,9 or 100%

When will  the SRPM be put in cooker ?





[Cooker] zip-2.3-7mdk and big archives

2002-03-18 Thread Christian Gennerat

The Total bytes uncompressed is computed with a 32 bits integer,
and cannot go over 4 Gb

hlr#zipinfo big-Archive.zip
Archive:  big-Archive.zip   3156960 bytes   2 files
-rw-r--r--  2.3 unx 1626341376 bx defX 15-Mar-02 18:08 UN-GIGA-CINQ
-rw-r--r--  2.3 unx 1626341376 bx defX 15-Mar-02 18:08 UN-GIGA-CINQ-1.bin
2 files, 3252682752 bytes uncompressed, 3156658 bytes compressed:  99.9%
hlr#zipinfo big-Archive3.zip
Archive:  big-Archive3.zip   4735435 bytes   3 files
-rw-r--r--  2.3 unx 1626341376 bx defX 15-Mar-02 18:08 UN-GIGA-CINQ
-rw-r--r--  2.3 unx 1626341376 bx defX 15-Mar-02 18:08 UN-GIGA-CINQ-1.bin
-rw-r--r--  2.3 unx 1626341376 bx defX 15-Mar-02 18:08 UN-GIGA-CINQ-2.bin
3 files, 584056832 bytes uncompressed, 4734987 bytes compressed:  99.2%
hlr#zipinfo big-Archive4.zip
Archive:  big-Archive4.zip   6313910 bytes   4 files
-rw-r--r--  2.3 unx 1626341376 bx defX 15-Mar-02 18:08 UN-GIGA-CINQ
-rw-r--r--  2.3 unx 1626341376 bx defX 15-Mar-02 18:08 UN-GIGA-CINQ-1.bin
-rw-r--r--  2.3 unx 1626341376 bx defX 15-Mar-02 18:08 UN-GIGA-CINQ-2.bin
-rw-r--r--  2.3 unx 1626341376 bx defX 15-Mar-02 18:08 UN-GIGA-CINQ-3.bin
4 files, 2210398208 bytes uncompressed, 6313316 bytes compressed:  99.7%






Re: [Cooker] 2GB Limit - Ext2?

2002-03-18 Thread Christian Gennerat

Guillaume Cottenceau a écrit :

 Have a look at:

 http://people.mandrakesoft.com/~gc/html/proftpd_largefiles.html


The problem is wider because all programs are concerned by size  limits.
2Gb is the max value of a long variable.
4 Gb can be reached with a unsigned_long.
But after

Now:
tftp-0_17-6mdk_src.rpm is limited to 32 Mb (patch forgotten, take tftp-hpa-0.29)
zip-2.3-7mdk truncates the Total bytes uncompressed printed value
and if we look for, we can find many other limits

No limitation will be in Mandrake 9 ?






Re: [Cooker] Re: Severe X hang

2002-03-14 Thread Christian Gennerat

Gary Walsh a écrit :


 With me it is not random.  I can easily reproduce it.  It always occurs
 when I have a file selection box and I am scrolling down with either
 the mouse or the keyboard.  For instance if I am running XMMS and am
 scrolling down a list of files to add to the playlist.  It happens every
 time, but not if I select a file without scrolling.


When it occurs, can you do:
Ctrl-Alt-F1
init 3
and after restart X with init 5

I had a similar problem, and for 50%, I could go on without rebooting






[Cooker] TFTPD and 32Mb limit

2002-03-13 Thread Christian Gennerat

Ignacio Goyret a écrit :

 TFTP has no such limitation. I dare anybody to point anywhere in RFC 783
 where *any* file size limitation is set forth.


 A while back, I submitted a patch for netkit-tftp to remove that limitation.
 I thought it had been included in the latest release. You may want to check
 the latest patch level.


The patch (a RedHat patch ?) has been applied in Mandrake 8.0
tftp-0.17-4mdk.i586.rpm
but lost in Mandrake 8.1 and Mandrake 8.2
because the RedHat patch included 2 patches:
- the syslog option (-l)
- the 32Mb bug
and the new features added in tftp-0_17-6mdk_src.rpm
- the Verbose option (-v)
- the regexep
may be not compatible with syslog option.

But the 32Mb bug is coming back ...

--- tftp-hpa-0.20/tftpd/tftpd.c.origFri Aug  3 03:17:57 2001
+++ tftp-hpa-0.20/tftpd/tftpd.c Fri Mar  8 15:34:02 2002
 -782,7 +782,7  sendfile(struct formats *pf, struct tftp
 {
   struct tftphdr *dp;
   struct tftphdr *ap;  /* ack packet */
-  static int block = 1;/* Static to avoid longjmp funnies */
+  static u_short block = 1;/* Static to avoid longjmp funnies */
   int size, n;
   
   ap = (struct tftphdr *)ackbuf;
 -892,7 +892,8  recvfile(struct formats *pf, struct tftp
   int n, size;
   /* These are static to avoid longjmp funnies */
   static struct tftphdr *ap;/* ack buffer */
-  static int block = 0, acksize;
+  static u_short block = 0;
+  int acksize;
   
   dp = w_init();
   do {




Re: [Cooker] Dead PCMCIA image - no net device found

2001-09-25 Thread Christian Gennerat

Guillaume Cottenceau a écrit :

 Vincent Meyer [EMAIL PROTECTED] writes:

  Subject just about says it all - the PCMCIA image with today's date
  recognises the PCMCIA CD-ROM, but says the network card unrecognised.
  Says on console 3 unrecognised card in slot 1. is a Linksys etherfast
  10/100.  Help!

 Works perfectly here. Check the md5sum of your floppy.

 --
 Guillaume Cottenceau - http://people.mandrakesoft.com/~gc/

I would like to know what modules are in pcmcia.img.
How can I list or expand the file modules.mar inluded in it ?







Re: [Cooker] Dead PCMCIA image - no net device found

2001-09-25 Thread Christian Gennerat

Guillaume Cottenceau a écrit :

  How can I list or expand the file modules.mar inluded in it ?

 mar binary.

 http://people.mandrakesoft.com/~gc/mar


mar means Mandrake ARchive ?
and will mar be included in the distribution ?
in what rpm package ?





Re: [Cooker] Kernel Panic

2001-03-30 Thread Christian Gennerat

"Duguay, Joey (Innovatia)" a crit :

  Now, my problem at hand is that I get a Kernel Panic. Here is the error message 
when trying to boot up after the install is completed without problems.VFS : Cannot 
open root device "2107" or 21:07please append a correct "root=" boot optionKernel
 panic VFS : unable to mount root fs on 21:07


21:07 is hde7
brw-rw1 root disk  33,   7 sep 27  2000 hde7
what have you in lilo.conf ?






Re: [Cooker] Before you release 8.0 - RPM very huge bug!!!

2001-03-22 Thread Christian Gennerat

Prana a crit :

 Hello guys,
 Just wanna let you know that there's this bug since v7.1 and not fixed
 yet until 8.0 Beta 1. Mandrake 7.2 doesn't provide any fix for this
 either. If I update an RPM package (with MandrakeUpdate or just urpmi)
 that has /etc/rc.d/init.d entry that I _Have_ turned OFF, why does it
 ***always forces me to turn on the services again*** ???


I agree: if the service is turned off, you should not update the rpm package.
the only thing you may do is "rpm -e ..."





Re: [Cooker] mc and the fine fonts

2001-03-20 Thread Christian Gennerat

guran a crit :

 In xterm mc can be used. When I installed FlightGear from contrib within mc,
 it just blinked and bailed out from installation. When using Ctrl-o to read
 what had happened, the fine part of the window was completely black, and only
 the new line in bash was readable.


Put theese lines in /etc/X11/Xresources
or in $HOME/.Xdefaults

! False for mc.subshell
XTerm.VT100.titeInhibit:  false
! Number of lines of scrollback to save
XTerm*saveLines: 1500






Re: [Cooker] Masquerading with 2.4

2001-03-14 Thread Christian Gennerat

Guillaume Cottenceau a crit :

 Christian Gennerat [EMAIL PROTECTED] writes:

  The program to do masquerading is called ipnatctl
  
http://www.telematik.informatik.uni-karlsruhe.de/lehre/seminare/LinuxSem/downloads/netfilter/ipnatctl-HOWTO-6.html
  It is included in netfilter tarball.
  When in Cooker ?
  When in Mandrake ?

 iptables is in cooker..

iptables, yes.
But the howto-masquerading-with-iptables, is not in cooker
ipnatctl which was written to make masquerading easier, is not in cooker





Re: [Cooker] how to make a weekly cron task run before a daily crontask ?

2001-03-09 Thread Christian Gennerat

"R.I.P. Deaddog" a crit :

 How about modifying webaliser to check for the previous log instead
 of the current log?

 Abel Cheung

 On Wed, 7 Mar 2001, Guillaume Rousse wrote:

  Webaliser (apache log to HTML) runs weekly, but logrotate runs daily just
  before, as current Mandrake /etc/crontab is :
  22 4 * * * daily tasks
  42 4 * * 0 weekly tasks
  So webaliser always runs after logrotates swaps logs, and returns "no valid
  record found'. Is there any workaround, other than changing /etc/crontab ?
 

After logrotate, the previous log is gzipped...





[Cooker] kernel-source-2.4.2-8mdk

2001-03-09 Thread Christian Gennerat

What is this new problem ?
How many rpm's must I install before compiling a kernel?

# rpm -Uvh kernel-headers-2.4.2-8mdk.i586.rpm kernel-source-2.4.2-8mdk.i586.rpm
error: failed dependencies:
libdb-3.1.so is needed by kernel-source-2.4.2-8mdk
#






[Cooker] Re: /etc/X11/xinit.d/msec (was: binfmt-0000 ?)

2001-03-09 Thread Christian Gennerat

Sebastian Dransfeld a crit :

 On Thu, 8 Mar 2001, Christian Gennerat wrote:

  #Mar  7 21:40:56 bcv66vbb kernel: execmod:/etc/X11/xinit.d/msec
  #Mar  7 21:40:56 bcv66vbb modprobe: modprobe: Can't locate module binfmt-

 What is the purpose of /etc/X11/xinit.d/msec? It doesn't belong to any
 package.


In the file  /usr/share/msec/lib.sh
from the package msec-0.15-14mdk (the last one, since oct 13)

This file is created, remains empty if security_level  2

if [[ -f /etc/X11/xinit.d/msec ]]; then
 CleanRules /etc/X11/xinit.d/msec
else
 touch /etc/X11/xinit.d/msec
 chmod 755 /etc/X11/xinit.d/msec
fi
And it is used during 'init 5'






Re: [Cooker] Desktops and PCMCIA [OT]

2001-03-09 Thread Christian Gennerat

OS a crit :

 Hello,
 I am about to install a PCMCIA card into a Linix desktop.

I have no idea. So I have forwarded you question on
https://sourceforge.net/forum/forum.php?thread_id=83086forum_id=7049





Re: [Cooker] how to make a weekly cron task run before a daily cron task ?

2001-03-08 Thread Christian Gennerat

Guillaume Rousse a crit :

 Webaliser (apache log to HTML) runs weekly, but logrotate runs daily just
 before, as current Mandrake /etc/crontab is :
 22 4 * * * daily tasks
 42 4 * * 0 weekly tasks
 So webaliser always runs after logrotates swaps logs, and returns "no valid
 record found'. Is there any workaround, other than changing /etc/crontab ?
 --

No problem, change your crontab, and suggest Mandrake to do
the same in Apache post-install scripts.
42 4 * * * daily tasks
22 4 * * 0 weekly tasks
If the daily tasks take less than 20 mn, it is good.






Re: [Cooker] help! modprobe can't locate binfmt-0000 ?

2001-03-08 Thread Christian Gennerat

Daniel Woods a crit :

I loaded the latest from sunsite.uio.no about 6:00 PM CST, then
  tried to reboot.  I get the following message about 6 times, then
  Aurora tries to start, then I get it like 4 more times, then the system
  locks up.  The message :
 
  modprobe:  modprobe:  Can't locate module binfmt-
 
  What does this mean, and more important - how can I fix it?
  Vinny

 You most likely have a binary program corrupted or file size 0.

 I had this problem with /sbin/ipchains somehow set to file size 0.
 Re-installing the proper RPM fixed the problem for me.


With the foolowing patch, I have identified the weird file:

diff -Bbu /src/linux/fs/exec.c.orig /src/linux/fs/exec.c
--- exec.c.orig Wed Mar  7 21:47:33 2001
+++ exec.c Wed Mar  7 21:47:20 2001
@@ -826,6 +826,7 @@
printable(bprm-buf[2]) 
printable(bprm-buf[3]))
 break; /* -ENOEXEC */
+printk("execmod:%s\n",bprm-filename);
sprintf(modname, "binfmt-%04x", *(unsigned short *)(bprm-buf[2]));
request_module(modname);
 #endif

And I got:
#Mar  7 21:40:56 bcv66vbb kernel: execmod:/etc/X11/xinit.d/msec
#Mar  7 21:40:56 bcv66vbb modprobe: modprobe: Can't locate module binfmt-

Could this patch, or a better one, testing the result of request_module
be included in the kernel source. modprobe message have not enough information





Re: [Cooker] Fwd: [CHRPM] kernel-2.4.1-13mdk

2001-02-16 Thread Christian Gennerat

On many (or all) mirrors it is only 17 Mb long.
it should be 23 or 24 Mb
Where is the end of the rpm ?

Salane King a crit :

 bad rpm kernel-source-2.4.1-13mdk.i586.rpm
 rpm from ftp.sunset.se mirror cannot be installed

 --  Forwarded Message  --
 Subject: [CHRPM] kernel-2.4.1-13mdk
 Date: Thu, 15 Feb 2001 11:30:01 +0100 (CET)
 From: Juan Quintela [EMAIL PROTECTED]
 To: Changelog List [EMAIL PROTECTED]

 --=-=-=
 Name: kernel   Relocations: (not relocateable)
 Version : 2.4.1 Vendor: MandrakeSoft
 Release : 13mdk Build Date: Thu Feb 15 00:35:56
  2001 Install date: (not installed)   Build Host:
  bi.mandrakesoft.com Group   : System/Kernel and hardwareSource RPM:
  (none)
 Size: 24996886 License: GPL
 Packager: Juan Quintela [EMAIL PROTECTED]
 Summary : The Linux kernel (the core of the Linux operating system).
 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.

 --=-=-=

 * Wed Feb 14 2001 Juan Quintela [EMAIL PROTECTED] 2.4.1-13mdk

 - Removes ksymoops from the kernel package
 - Comment wvlan patch as we are not using kernel pcmcia
 - Fix modutils version check

 --
 http://www.linux-mandrake.com/en/cookerdevel.php3

 ---

--
The falsely dramatic drives out the truly dull.






Re: [Cooker] Fwd: [CHRPM] kernel-2.4.1-13mdk

2001-02-16 Thread Christian Gennerat

Chmouel Boudjnah a crit :

 Christian Gennerat [EMAIL PROTECTED] writes:

  On many (or all) mirrors it is only 17 Mb long.
  it should be 23 or 24 Mb
  Where is the end of the rpm ?

 -Kvv say ?

 --

ls -l said:
-rw-r--r--1 gennera1 xg   17660128 fv 16 10:39 
kernel-source-2.4.1-13mdk.i586.rpm

I have deleted the file.
During download, I have:
# rpm -Kvv kernel-source-2.4.1-13mdk.i586.rpm
D: New Header signature
D: Signature size: 149
D: Signature pad : 3
D: sigsize : 152
D: Header + Archive: 392968
D: expected size   : 23263179
kernel-source-2.4.1-13mdk.i586.rpm: rpmReadSignature failed

and the FTP listing says 17247k






Re: [Cooker] Fwd: [CHRPM] kernel-2.4.1-13mdk

2001-02-16 Thread Christian Gennerat

Thanks, but user name and password are required!

Chmouel Boudjnah a crit :

 Christian Gennerat [EMAIL PROTECTED] writes:

  Chmouel Boudjnah a crit :
 
   Christian Gennerat [EMAIL PROTECTED] writes:
  
On many (or all) mirrors it is only 17 Mb long.
it should be 23 or 24 Mb
Where is the end of the rpm ?
  
   -Kvv say ?
  
   --
 
  ls -l said:
  -rw-r--r--1 gennera1 xg   17660128 fv 16 10:39 
kernel-source-2.4.1-13mdk.i586.rpm
 
  I have deleted the file.
  During download, I have:
  # rpm -Kvv kernel-source-2.4.1-13mdk.i586.rpm
  D: New Header signature
  D: Signature size: 149
  D: Signature pad : 3
  D: sigsize : 152
  D: Header + Archive: 392968
  D: expected size   : 23263179
  kernel-source-2.4.1-13mdk.i586.rpm: rpmReadSignature failed
 
  and the FTP listing says 17247k

 the only reason i see, is a mirror problems

 i put if you want the packages on :

 https://kenobi.mandrakesoft.com/~chmou/kernel24/

 --
 MandrakeSoft Inc http://www.chmouel.org
   --Chmouel

--
The falsely dramatic drives out the truly dull.






[Cooker] wine install failed

2001-02-06 Thread Christian Gennerat

After executing wine-config, I got a /etc/wine.conf with a null size.
I have theese lines in /etc/fstab

#/mnt/cdrom /mnt/cdrom supermount fs=iso9660,dev=/dev/cdrom,--,ro,exec,gid=503 0 0
/dev/hdc /mnt/cdrom iso9660 ro,--,gid=503 0 0

1) bad regexp: comment lines are not ignored. Suggested update:

-CDPATH=$(egrep iso9660 /etc/fstab|awk '{ print $2 }'|sed -e 's/\//\\\//g')
+CDPATH=$(egrep '^[^#].* iso9660' /etc/fstab|awk '{ print $2 }'|sed -e 's/\//\\\//g')

2) However, if the machine has several CD (for instance an IDE + a SCSI or a
loop), the replace sed command is invalid because of a "\n", and the
temp file is empty, and the wine.conf is scratched.

3) for floppy, the regexp is not better!
a mount point or a host name can be interpreted as a floppy. Example:
azt65fd0:/home /mnt/azt  nfs noauto,ro,rsize=1024,wsize=1024 0 0


--
The falsely dramatic drives out the truly dull.






Re: [Cooker] Starting PCMCIA before network. (Was: laptop users)

2001-02-05 Thread Christian Gennerat

Pixel a crit :

 Vincent Meyer [EMAIL PROTECTED] writes:

  oh - one more thing - for laptops, PCMCIA has to be started WAY earlier.
  Is this something that should be considered for the next release?  A
  lot of laptop problems with cards happen because the card is started
  after the service that needs the card, for example eth0.

 pb with pcmcia is that it does its stuff on its own, like calling ifcfg ethx
 when a new ethernet card is plugger. I think there is a cons for having pcmcia
 too early, but i can't remember it :-/

I agree with Vincent.
It is no use to start network without network card.
When the network parameters (network id, IP address) depend on the card,
IPchain is started with a wrong address, and all services must be re-configured
after PCMCIA starting. This imply that there are 2 sets of configuration scripts:
1) the standard set, runned during the machine initialization, and often not 
maintained up-to-date
2) the PCMCIA set, with its specific syntax and launching mode.

However the PCMCIA scripts are used more often, since they are called
before sleeping and after awking.





[Cooker] [contrib] Toshiba LCD utilities

2001-01-26 Thread Christian Gennerat

New contrib posted yesterday in
# ftp://ftp.mandrakesoft.com/incoming/tosh_lcd-1.0.1-1mdk.i586.rpm
--




[Cooker] How-To Contrib

2001-01-19 Thread Christian Gennerat

Is there somewhere a How-To
to transform a source.tar.gz
into a binary-mdk.rpm included in the next release ?

--
The falsely dramatic drives out the truly dull.






Re: [Cooker] install bugs, no pcmcia service

2001-01-17 Thread Christian Gennerat

"[EMAIL PROTECTED]" a crit :

 
  Do you have a /var/run/stab file and what does it contains, check that a
  cardmgr program is running and a /etc/sysconfig/pcmcia file is present with
  a PCIC=i82365 or PCIC=tcic
 
  Franois.

 =

  Look in /var/log/messages "cannot find module" ?
 
  With the kernel 2.4 the default (compiled) module is yenta_socket.
  you must update your config:
 
  # cat /etc/sysconfig/pcmcia
  PCMCIA=yes
  PCIC=i82365
  PCIC=yenta_socket
  #PCIC_OPTS=pci=biosirq
  #CORE_OPTS=unreset_limit=120
  #

 OK, /etc/sysconfig/pcmcia had only PCMCIA=no
 it now has:
 PCMCIA=yes
 PCIC=i82365[tried PCIC=tcic also]
 PCIC=yenta_socket

 there is no file named /var/run/stab, the closest thing is
 /var/run/pcmcia-scheme which is an empty text file.

 Still no action...but the system now says the pcmcia service is running.


What is exactly your kernel version?
With 2.2 and No cardbus support, comment the line with yenta_socket
Have you all the modules ?
`depmod -av | grep 82365`
`depmod -av | grep yenta`






Re: [Cooker] install bugs, no pcmcia service

2001-01-16 Thread Christian Gennerat

"[EMAIL PROTECTED]" a crit :

 Grettings,

 I just did a cooker hd.img install [files from 1-12-00] and have a few issues
 to report.  Hardware is sagernotebook PIII 700, 256 ram, ATI rage 128 video,
 Maestro 2E, Linksys model EC2T combo ethernet card which has worked with all
 other versions of ML since 7.0.

 Important:
 All hardware detected properly except...Linksys pcmcia ethernet card [EC2T]

 No pcmcia service is running that I can tell.  Boot message says pcmcia is
 started and OK but I do not believe it.  The card worked perfectly in 7.0,
 7.1, 7.2 and several cooker versions inbetween.  I do not think the pcmcia
 service is actually starting though since ther are no errors or beeps or
 anything.  --

Look in /var/log/messages "cannot find module" ?

With the kernel 2.4 the default (compiled) module is yenta_socket.
you must update your config:

# cat /etc/sysconfig/pcmcia
PCMCIA=yes
PCIC=i82365
PCIC=yenta_socket
#PCIC_OPTS=pci=biosirq
#CORE_OPTS=unreset_limit=120
#





[Cooker] kernel-source-2.4.0-2mdk Unresolved symbols

2001-01-11 Thread Christian Gennerat

depmod: *** Unresolved symbols in /lib/modules/2.4.0-2mdk/kernel/drivers/sound/ad1848.o
depmod: isa_dma_bridge_buggy
depmod: *** Unresolved symbols in /lib/modules/2.4.0-2mdk/kernel/drivers/sound/sound.o
depmod: isa_dma_bridge_buggy

With unchanged config. I have no problem with kernel-source-2.4.0-0.15mdk






Re: [Cooker] No PPP support in kernel 2.4 rpm

2001-01-11 Thread Christian Gennerat

Franco Silvestro a crit :

 On Wednesday 10 January 2001 16:52, Craig Brown wrote:
 ...
  I have just installed kernel-2.4.0-2mdk.rpm from Cooker and cannot connect
  to the Internet through Linux. I have discovered that the cause according
  to pppd is that PPP support is not included in the kernel or as a module.
 ...
 Have you tried :
 modprobe -v ppp_generic
 modprobe -v ppp_async
 modprobe -v ppp_deflate

What is new with kernel-2.4.0-2mdk is /dev/ppp

mknod --mode=0666 /dev/ppp c 108 0
echo "alias char-major-108ppp_generic"  /etc/modules.conf






Re: [Cooker] rpm-3.05 Upgrading or not

2001-01-11 Thread Christian Gennerat

Olivier Dugeon a crit :

 My pb. come that i would install the new 2.4.0 kernel on top of an
 Mandrake 7.1. In this version, rpm is 3.0.4 and doesn't read rpm 4
 format. First of all, i need to upgrade rpm to rpm-3.0.5 before
 upgraging to rpm-4.0.


I had also this problem. And I have seen that rpm needs glibc and db,
who needs ... , who needs ... , who needs ...

Now, my main computer have mdk 7.1
and cannot read rpm-3. But I have another PC with a fresh
mdk 7.2 installed, this one can read rpm-4 and then transfer
the kernel tree on my main PC via nfs





[Cooker] Samba default configuration

2001-01-02 Thread Christian Gennerat

Samba default configuration file is bad,
because it suggests to enable SMB on all interfaces.
That is bad for ppp* : your Internet provider do not care of Samba
That is bad for irda : (maybe a bug) it breaks IrLAP connection.

So, suggest lo (mandatory) and eth0 (used by most people)
;   interfaces = lo eth0
;   bind interfaces only = True
or
;   interfaces = lo eth*
;   bind interfaces only = True






[Cooker] [Fwd: Announce: modutils 2.3.23 is available]

2000-12-18 Thread Christian Gennerat

Keith Owens a écrit :

 ftp://ftp.country.kernel.org/pub/linux/utils/kernel/modutils/v2.3


 Changelog extract

 * Include latest Redhat alias list.  Bill Nottingham.

Are the RedHat aliases also good for ManDrake ?





Re: [Cooker] Kernel 2.4, NFS, samba and eth0...

2000-12-07 Thread Christian Gennerat

Geoffrey Lee a écrit :

 On Wed, Dec 06, 2000 at 10:57:56PM +, OS wrote:
  Could someone tell me how to get NFS, Samba and eth0 working on the new
  kernel please !
 
  I thought I would try the new kernel-2.4.0-0.7mdk (at work not home). It was
  exactly as I had found before. I am starting to beleive that there is some
  extra configuration required for the above to work with 2.4 kernels. After
  all, such rudimentary things must work by now, since this kernel is due for
  final release soon isn't it ?
 

 Yep, 2.4 is going gold soon.

  As well as the above kernel I am currently using the latest (6/Dec/2000)
  netcfg, nettools and nfsutils.
 
  /etc/rc.d/init.d/network restart (with a few  /dev/null's removed !) reports
  eth0 startup failed. Cannot find module eth0
 
 

 cat /etc/modules.conf please?



What is the mdk-preffered /etc/modules.conf ?

This is my /etc/modules.conf and it work with both 2.2 and 2.4
__

#depfile=/lib/modules/`uname -r`/modules.dep

 2.4.0 
path[boot]=/lib/modules/boot
path[fs]=/lib/modules/`uname -r`/kernel/fs
path[net]=/lib/modules/`uname -r`/kernel/drivers/net
path[char]=/lib/modules/`uname -r`/kernel/drivers/char
path[scsi]=/lib/modules/`uname -r`/kernel/drivers/scsi
path[block]=/lib/modules/`uname -r`/kernel/drivers/block
path[cdrom]=/lib/modules/`uname -r`/kernel/drivers/cdrom
path[ipv4]=/lib/modules/`uname -r`/kernel/net/ipv4
#path[ipv6]=/lib/modules/`uname -r`/kernel/net/ipv6
path[irda]=/lib/modules/`uname -r`/kernel/net/irda
path[irda]=/lib/modules/$(uname -r)/kernel/net/irda
path[sound]=/lib/modules/`uname -r`/kernel/drivers/sound
#path[fc4]=/lib/modules/`uname -r`/fc4
#path[video]=/lib/modules/`uname -r`/video
path[misc]=/lib/modules/`uname -r`/kernel/drivers/misc
path[parport]=/lib/modules/`uname -r`/kernel/drivers/parport
path[pcmcia]=/lib/modules/`uname -r`/kernel/drivers/pcmcia
#path[alsa]=/lib/modules/`uname -r`/kernel/drivers/alsa
#path[atm]=/lib/modules/`uname -r`/atm
#path[usb]=/lib/modules/`uname -r`/kernel/drivers/usb
path[ide]=/lib/modules/`uname -r`/kernel/drivers/ide


## 2.2 #
path[fs]=/lib/modules/`uname -r`/fs
path[net]=/lib/modules/`uname -r`/net
path[scsi]=/lib/modules/`uname -r`/scsi
path[ipv4]=/lib/modules/`uname -r`/ipv4
path[block]=/lib/modules/`uname -r`/block
path[cdrom]=/lib/modules/`uname -r`/cdrom
path[irda]=/lib/modules/`uname -r`/irda
path[sound]=/lib/modules/`uname -r`/misc
path[misc]=/lib/modules/`uname -r`/misc
path[parport]=/lib/modules/`uname -r`/misc
path[pcmcia]=/lib/modules/`uname -r`/pcmcia


### Zip Iomega, plip
alias parport_lowlevel parport_pc
add below parport_pc parport
add below scsi_syms scsi_mod
add below ppa scsi_mod parport_pc
pre-install plip modprobe parport ; echo 7  /proc/parport/0/irq

### pcmcia, scsi
add below aha152x_cs scsi_mod
pre-install pcmcia_core /etc/rc.d/init.d/pcmcia start
alias ide_cs ide-cs
add below floppy_cs floppy

### sound
add below ad1848 soundcore sound
add below opl3   soundcore sound
options ad1848 io=0x530 irq=7 dma=1
options opl3   io=0x388
##options opl3sa io=0x388 irq=7 dma=0

### irda
#alias irda0 toshoboe
#
alias irda0 donauboe
alias irlan0 irlan
alias tty-ldisc-11  irtty
alias char-major-161ircomm-tty
#options toshoboe max_baud=9600
options irlan access=2

### irnet + ppp
alias char-major-10-181 toshiba
alias char-major-10-187irnet
#alias char-major-108serial_cs
alias char-major-108ppp_generic
alias ppp-compress-21   ppp_deflate

### réseau non configuré
alias net-pf-0 off
#alias net-pf-3 off
#alias net-pf-4 off
#alias net-pf-5 off








Re: [Cooker] kernel

2000-12-06 Thread Christian Gennerat

Chmouel Boudjnah a écrit :

 Christian Gennerat [EMAIL PROTECTED] writes:

  Seems good. Compile, starts (with irda and pcmcia)
  and make known oops!

 no or know ?


(well) known. They have been announced on mail lists.

The easiest to make is this one:


Objet:
  [Linux-IrDA]Re: [IrDA]Oops while shutting down irattach
 Date:
  Tue, 5 Dec 2000 08:28:35 GMT
   De:
  Dag Brattli [EMAIL PROTECTED]
 Copies à:
  [EMAIL PROTECTED]




Thanks,

Yes, I get this one myself, and I have no idea how to fix it. I think the
bug startet between -test10 and -test11, so I need to check which
changes they made to kmod.c. It might be a bug in irtty which haven't
appeared before now, or it might be a bug in kmod.c or somewhere
else. I''ve tried to find it, but I'm still clueless at the prompt.

**
If somebody is capable of finding  this bug then please help out nailing it
**





Re: [Cooker] kernel

2000-12-05 Thread Christian Gennerat

Chmouel Boudjnah a écrit :

 new kernel-2.4 for testing :

 https://kenobi.mandrakesoft.com/~chmou/kernel24/

 - Really add pcmcia includes.
 - Remove /home/chmou references.
 - test12-pre3.
 - Add supermount.
 - Really remove devfsd depends.


Seems good. Compile, starts (with irda and pcmcia)
and make known oops!





[Cooker] I don't want a /home/chmou on my machine

2000-11-28 Thread Christian Gennerat

I have downloaded
https://kenobi.mandrakesoft.com/~chmou/kernel24/kernel-source-2.4.0-0.5mdk.i586.rpm
and try to compile it.
1) no include/pcmcia
I have to copy include/pcmcia from linux-2.4.0-test10
2) After compiling the kernel, compile the pcmcia utils and debug-tools
run configure, make all, and make install.
this create a /home/chmou directory .
this is because the source in the rpm is not clean:
there are 3 files that should be deleted:
.config.mk
.config.out
include/config.h
once the PREFIX has been initialised, configure keeps it.

3) I have seen another /home/chmou in alsa config.

--
The falsely dramatic drives out the truly dull.






[Cooker] unarj extfs for mc

2000-11-23 Thread Christian Gennerat

This patch should be included in the Mandrake binary package
unarj-2.43-xxmdk, since it is needed for exploring arj archives
and extracting files with the virtual fs facility in mc
(Midnight Commander)

simply run makearj shell.
 patch-mc.tar.gz


[Cooker] kernel-2.4-toolkit

2000-11-22 Thread Christian Gennerat

kernel-2.4-toolkit
Some features have changed between k-2.2 and k-2.4
It would be useful to make a package with configuration
examples, and documentation about what have changed

modules.conf should be is one chapter of this.


--
The falsely dramatic drives out the truly dull.



depfile=/lib/modules/$(uname -r)/modules.dep

 2.4.0 
path[boot]=/lib/modules/boot
path[fs]=/lib/modules/$(uname -r)/kernel/fs
path[net]=/lib/modules/$(uname -r)/kernel/drivers/net
path[char]=/lib/modules/$(uname -r)/kernel/drivers/char
path[scsi]=/lib/modules/$(uname -r)/kernel/drivers/scsi
path[block]=/lib/modules/$(uname -r)/kernel/drivers/block
path[cdrom]=/lib/modules/$(uname -r)/kernel/drivers/cdrom
path[ipv4]=/lib/modules/$(uname -r)/kernel/net/ipv4
#path[ipv6]=/lib/modules/$(uname -r)/kernel/net/ipv6
path[irda]=/lib/modules/$(uname -r)/kernel/net/irda
path[sound]=/lib/modules/$(uname -r)/kernel/drivers/sound
#path[fc4]=/lib/modules/$(uname -r)/fc4
#path[video]=/lib/modules/$(uname -r)/video
path[misc]=/lib/modules/$(uname -r)/kernel/drivers/misc
path[parport]=/lib/modules/$(uname -r)/kernel/drivers/parport
path[pcmcia]=/lib/modules/$(uname -r)/kernel/drivers/pcmcia
#path[alsa]=/lib/modules/$(uname -r)/kernel/drivers/alsa
#path[atm]=/lib/modules/$(uname -r)/atm
#path[usb]=/lib/modules/$(uname -r)/kernel/drivers/usb
path[ide]=/lib/modules/$(uname -r)/kernel/drivers/ide


## 2.2 # 
path[fs]=/lib/modules/$(uname -r)/fs
path[net]=/lib/modules/$(uname -r)/net
path[scsi]=/lib/modules/$(uname -r)/scsi
path[ipv4]=/lib/modules/$(uname -r)/ipv4
path[block]=/lib/modules/$(uname -r)/block
path[cdrom]=/lib/modules/$(uname -r)/cdrom
path[irda]=/lib/modules/$(uname -r)/irda
path[sound]=/lib/modules/$(uname -r)/misc
path[misc]=/lib/modules/$(uname -r)/misc
path[parport]=/lib/modules/$(uname -r)/misc
path[pcmcia]=/lib/modules/$(uname -r)/pcmcia
path[usb]=/lib/modules/$(uname -r)/usb


### Zip Iomega, plip
alias parport_lowlevel parport_pc
add below parport_pc parport
add below scsi_syms scsi_mod
add below ppa scsi_mod parport_pc
pre-install plip modprobe parport ; echo 7  /proc/parport/0/irq

### pcmcia, scsi, ide
add below aha152x_cs scsi_mod 
pre-install pcmcia_core /etc/rc.d/init.d/pcmcia start
#alias ide_cs ide-cs
add below floppy_cs floppy

### sound
add below ad1848 soundcore sound
add below opl3   soundcore sound
options ad1848 io=0x530 irq=7 dma=1
options opl3   io=0x388
##options opl3sa io=0x388 irq=7 dma=0

### irda
alias irda0 irda
alias irlan0 irlan
alias tty-ldisc-11  irtty
alias char-major-161ircomm-tty
#options toshoboe max_baud=9600
options irlan access=2

### irnet + ppp
alias char-major-10-181 toshiba
alias char-major-10-187 irnet
#alias char-major-108   serial_cs
alias char-major-108ppp_generic
alias ppp-compress-21   ppp_deflate

### réseau non configuré
alias net-pf-0 off
#alias net-pf-3 off
#alias net-pf-4 off
#alias net-pf-5 off




Re: [Cooker] Re: [CHRPM] modutils-2.3.20-1mdk

2000-11-22 Thread Christian Gennerat

Chmouel Boudjnah a écrit :

 i have no idea what's happen here, but gonna to look at this.

The problem is in modules.conf
Most users do not use "depfile" and "path" commands
So they have not seen this problem.
Other have not read the man.
As I have tested the new 2.4 kernel, and I wanted to be able
to load and run modules, I have a big modules.conf using
theese commands.

The man for modules.conf says:

DEFAULT CONFIGURATION
 depfile=/lib/modules/`uname -r`/modules.dep
 pcimapfile=/lib/modules/`uname -r`/modules.pcimap
 isapnpmapfile=/lib/modules/`uname -r`/modules.isapnpmap
 usbmapfile=/lib/modules/`uname -r`/modules.usbmap

 path[boot]=/lib/modules/boot
 path[toplevel]=/lib/modules/`uname -r`
 path[toplevel]=/lib/modules/`kernelversion`
 path[toplevel]=/lib/modules/default

This was true for modutils-2.3.19, and older versions.
With modutils-2.3.20 the syntax have changed.
Anything in ChangeLog?
`uname -r` has to be changed in $(uname -r)







Re: [Cooker] Re: [CHRPM] modutils-2.3.20-1mdk

2000-11-21 Thread Christian Gennerat

Chmouel Boudjnah a écrit :

 Vincent Danen [EMAIL PROTECTED] writes:

  I honestly can't say what your problem is... perhaps Chmouel will have
  an idea, but modutils works just fine for me here.  On my corporate

 what the commands :

 uname -r

 ls /lib/modules/$(uname -r)/

 depmod -av

 gives ?


new#ls mo*
modutils-2.3.19-1mdk.i586.rpm  modutils-2.3.20-1.1mdk.i586.rpm  
modutils-2.3.20-1mdk.i586.rpm
new#rpm -Uvh modutils-2.3.20-1.1mdk.i586.rpm
modutils##
new#date
mar nov 21 09:49:27 CET 2000
new#depmod -av
new#uname -r
2.4.0-test11
new#ls -l /lib/modules/$(uname -r)/
total 36
lrwxrwxrwx1 root root   10 nov 13 14:07 build - /src/linux
drwxr-xr-x6 root root 4096 nov 14 10:56 kernel
-rw-r--r--1 root root10486 nov 21 09:48 modules.dep
-rw-r--r--1 root root   81 nov 21 09:48 modules.isapnpmap
-rw-r--r--1 root root 5195 nov 21 09:48 modules.pcimap
-rw-r--r--1 root root  177 nov 21 09:48 modules.usbmap
drwxr-xr-x2 root root 4096 nov 14 10:56 pcmcia
new#rpm -Uvh --force  modutils-2.3.19-1mdk.i586.rpm
modutils##
new#depmod -av depmod.log
new#

And with the original Mandrake kernel:


new#rpm -Uvh  modutils-2.3.20-1.1mdk.i586.rpm
modutils##
new#date
mar nov 21 10:01:47 CET 2000
new#depmod -av
new#depmod -a x
depmod: /lib/modules/`uname -r`/modules.dep does not exist
new#uname -r
2.2.17-21mdk
new#ls -l /lib/modules/$(uname -r)/
total 96
drwxr-xr-x2 root root 4096 nov 10 15:00 alsa
drwxr-xr-x2 root root 4096 nov 10 14:37 block
drwxr-xr-x2 root root 4096 nov 10 14:37 cdrom
drwxr-xr-x2 root root 4096 nov 10 14:37 fs
drwxr-xr-x2 root root 4096 nov 10 14:37 ipv4
drwxr-xr-x2 root root 8192 nov 10 14:37 misc
-rw-r--r--1 root root39060 nov 21 10:00 modules.dep
-rw-r--r--1 root root   81 nov 21 10:00 modules.isapnpmap
-rw-r--r--1 root root   99 nov 21 10:00 modules.pcimap
-rw-r--r--1 root root  177 nov 21 10:00 modules.usbmap
drwxr-xr-x2 root root 4096 nov 10 14:37 net
drwxr-xr-x2 root root 4096 nov 10 14:37 pcmcia
drwxr-xr-x2 root root 4096 nov 10 14:37 scsi
drwxr-xr-x2 root root 4096 nov 10 14:37 usb
new#rpm -Uvh  --force modutils-2.3.19-1mdk.i586.rpm
modutils##
new#depmod -a x
depmod: Can't open /lib/modules/x/modules.dep for writing
new#depmod -av depmod2.log
depmod: *** Unresolved symbols in /lib/modules/2.2.17-21mdk/misc/cpia_usb.o

Note the error message with a parameter in depmod command,
correct with 19,
stange with 20.







[Cooker] kernel-2.4.0 - two different source?

2000-11-20 Thread Christian Gennerat

What is the difference between
https://kenobi.mandrakesoft.com/~chmou/kernel24/kernel-2.4.0-0.3mdk.src.rpm
and:
https://kenobi.mandrakesoft.com/~chmou/kernel24/kernel-source-2.4.0-0.3mdk.i586.rpm

--
The falsely dramatic drives out the truly dull.






Re: [Cooker] Re: [CHRPM] modutils-2.3.20-1mdk

2000-11-20 Thread Christian Gennerat

Vincent Danen a écrit :

 On Fri Nov 17, 2000 at 03:11:27PM +0100, Christian Gennerat wrote:

  Chmouel Boudjnah a écrit :
 
   Name: modutils Relocations: (not relocateable)
   Version : 2.3.20Vendor: MandrakeSoft
   Release : 1mdk  Build Date: Thu Nov 16 16:17:24 2000
   Install date: (not installed)   Build Host: no.mandrakesoft.com
   Group   : System/Kernel and hardwareSource RPM: (none)
   Size: 191481   License: GPL
   Packager: Chmouel Boudjnah [EMAIL PROTECTED]
   Summary : The kernel daemon (kerneld) and kernel module utilities.
 
  I have upgraded with it in my PC running mdk7.2 Odissey
  Then I have rebooted.
  I cannot access the modules any more.
  depmod -av replies only "\n"
 
  no modules - no drivers - no cd, no network
  I think I must re-install all.

In fact, I have a small partition (100 Mo) with a reduced Mandrake 7.0
on the same machine, which can access to cdrom or nfs



 Why did you install the cooker modutils?  There is an official update
 for 7.2 that works fine...

I have tested  modutils-2.3.20-1.1mdk.i586.rpm from
ftp.tu-clausthal.demodutils-2.3.20-1.1mdk.i586.rpm  
/pub/linux/mandrake/updates/7.2/RPMS/
and I have exactly the same:
depmod -av
does not output anything.

Have you tested this version?

 On both 7.1 and 7.2, /sbin/depmod -a runs
 fine and generates the new modules.* files without a problem.  I think
 because of the different compilers used, you blew your system using a
 cooker modutils instead of the 7.2 modutils MandrakeUpdate provides.

I have re-installed modutils-2.3.1.19.1 (downloaded from cooker on Oct 31),
and it works fine again.






Re: [Cooker] kernel-2.4.0 - two different source?

2000-11-20 Thread Christian Gennerat

Chmouel Boudjnah a écrit :

 Christian Gennerat [EMAIL PROTECTED] writes:

  What is the difference between
  https://kenobi.mandrakesoft.com/~chmou/kernel24/kernel-2.4.0-0.3mdk.src.rpm

 the src of rpm.

The src used to make the binary rpm, I think



  and:
  https://kenobi.mandrakesoft.com/~chmou/kernel24/kernel-source-2.4.0-0.3mdk.i586.rpm

 --=-=-=
 The kernel-source package contains the source code files for the Linux
 kernel. These source files are needed to build most C programs, since
 they depend on the constants defined in the source code. The source
 files can also be used to build a custom kernel that is better tuned to
 your particular hardware, if you are so inclined (and you know what you're
 doing).
 --=-=-=

It looks like a source tree. But I cannot compile a kernel with it,
because include/pcmcia is missing, as I said for hackkernel.


And the kernel headers have only 2 directories, the same as the
include/asm and include/linux of the kernel source.
So I do not need kernel-headers.







[Cooker] Re: [Contrib-Rpm] fan-3.0-4mdk

2000-11-20 Thread Christian Gennerat

David BAUDENS a écrit :

 [Contrib-RPM]

 --=-=-=
 Name: fan  Relocations: (not relocateable)
 Version : 3.0   Vendor: MandrakeSoft
 Release : 4mdk  Build Date: Mon Nov 20 15:13:23 2000
 Install date: (not installed)   Build Host: ke.mandrakesoft.com
 Group   : System/Configuration/Hardware   Source RPM: (none)
 Size: 15944License: GPL
 Packager: Linux-Mandrake Team [EMAIL PROTECTED]
 URL : http://www2.prestel.co.uk/hex/toshiba.html
 Summary : Fan allows you to turn the internal fan of a Toshiba laptop on or off

URL address is obsolete. change to:
http://www.buzzard.org.uk/toshiba/fan.html





[Cooker] Xfree-4 and Libretto 100

2000-11-17 Thread Christian Gennerat

Mandrake 7.2 Odissey
Upgraded with cooker: XFree86-4.0.1-28mdk.i586.rpm
Do not work.
Upgraded with ftp://devel.mandrakesoft.com/pub/people/flepied/XFree86-test/

Now, (with 4.01E), I can start the X server, but not with 800x480
(II) NEOMAGIC(0): Clock range:  11.00 to  90.00 MHz
(II) NEOMAGIC(0): Removing mode (800x480) that won't display properly on LCD
(WW) NEOMAGIC(0): Mode "800x480" deleted (unknown reason)

This worked with Xfree-3
ModeLine "800x480" 35.26  800 856 1040 1056  480 480 486 488 +hsync +vsync

More, when I upgraded with 4.01e, I had to restore the files
on /usr/X11R6/lib/X11/xkb from a previous installation,
because the directory is empty in this version.

See attached config file and xdm errors

Section "ServerLayout"
Identifier "XFree86 Configured"
Screen  0  "Screen0" 0 0
InputDevice"Mouse0" "CorePointer"
InputDevice"Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
RgbPath  "/usr/X11R6/lib/X11/rgb"
ModulePath   "/usr/X11R6/lib/modules"
FontPath "/usr/X11R6/lib/X11/fonts/misc/:unscaled"
FontPath "unix/:-1"
EndSection

Section "Module"
#   Load  "GLcore"
#   Load  "dbe"
#   Load  "dri"
#   Load  "extmod"
#   Load  "glx"
#   Load  "pex5"
#   Load  "record"
#   Load  "xie"
EndSection

Section "InputDevice"
Identifier  "Keyboard0"
Driver  "keyboard"
EndSection

Section "InputDevice"
Identifier  "Mouse0"
Driver  "mouse"
Option  "Protocol" "PS/2"
Option  "Device" "/dev/mouse"
EndSection

Section "Monitor"
Identifier   "Monitor0"
VendorName   "TOS"
ModelName"5084"
Usemodes   "NM2000"
EndSection

Section "Modes"
Identifier "NM2000"

# 800x480 @ 70 Hz, 31.5 kHz hsync
ModeLine "800x480" 35.26  800 856 1040 1056  480 480 486 488 +hsync +vsync

EndSection

Section "Device"
### Available Driver options are:-
#Option "NoAccel"
Option "SWcursor"
#Option "noMMIO"
#Option "internDisp"
#Option "externDisp"
#Option "LcdCenter"
#Option "NoStretch"
#Option "ShadowFB"
#Option "pciBurst"
#Option "Rotate"
#Option "progLcdModeRegs"
#Option "progLcdModeStretch"
#Option "overrideValidateMode"
Identifier  "Card0"
Driver  "neomagic"
VendorName  "Neomagic"
BoardName   "NM2160"
BusID   "PCI:0:4:0"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor"Monitor0"
DefaultColorDepth 16
Subsection "Display"
Depth   24
Modes   "800x480"
ViewPort0 0
Virtual 800 600
EndSubsection
Subsection "Display"
Depth   16
Modes   "800x480"
ViewPort0 0
Virtual 1024 768
ViewPort0 0
EndSubsection
EndSection

Section "DRI"
EndSection





This is a pre-release version of XFree86, and is not supported in any
way.  Bugs may be reported to [EMAIL PROTECTED] and patches submitted
to [EMAIL PROTECTED]  Before reporting bugs in pre-release versions,
please check the latest version in the XFree86 CVS repository
(http://www.XFree86.Org/cvs)

XFree86 Version 4.0.1e / X Window System
(protocol Version 11, revision 0, vendor release 6400)
Release Date: 6 November 2000
If the server is older than 6-12 months, or if your card is
newer than the above date, look for a newer version before
reporting problems.  (See http://www.XFree86.Org/FAQ)
Operating System: Linux 2.2.17-21mdksmp i686 [ELF] 
Module Loader present
(==) Log file: "/var/log/XFree86.0.log", Time: Tue Nov 14 15:36:35 2000
(==) Using config file: "/etc/X11/XF86Config-4"
Markers: (--) probed, (**) from config file, (==) default setting,
 (++) from command line, (!!) notice, (II) informational,
 (WW) warning, (EE) error, (??) unknown.
(==) ServerLayout "XFree86 Configured"
(**) |--Screen "Screen0" (0)
(**) |   |--Monitor "Monitor0"
(**) |   |--Device "Card0"
(**) |--Input Device "Mouse0"
(**) |--Input Device "Keyboard0"
(**) FontPath set to "/usr/X11R6/lib/X11/fonts/misc/:unscaled,unix/:-1"
(**) RgbPath set to "/usr/X11R6/lib/X11/rgb"
(**) ModulePath set to "/usr/X11R6/lib/modules"
(--) using VT number 4

(II) Loading /usr/X11R6/lib/modules/fonts/libbitmap.a
(II) Module bitmap: vendor="The XFree86 Project"
compiled for 4.0.1e, module version = 1.0.0
(II) Loading /usr/X11R6/lib/modules/libpcidata.a
(II) Module pcidata: vendor="The XFree86 Project"
compiled for 4.0.1e, module version = 0.1.0
(II) Loading /usr/X11R6/lib/modules/libscanpci.a
(II) Module scanpci: vendor="The XFree86 Project"
compiled for 4.0.1e, module version = 0.1.0
(II) Unloading /usr/X11R6/lib/modules/libscanpci.a
(--) PCI:*(0:4:0) Neomagic NM2160 rev 

[Cooker] Re: [CHRPM] irda-utils-0.9.10-2mdk

2000-11-17 Thread Christian Gennerat

David BAUDENS a écrit :

 --=-=-=
 Name: irda-utils   Relocations: (not relocateable)
 Version : 0.9.10Vendor: MandrakeSoft
 Release : 2mdk  Build Date: Thu Nov 16 16:07:27 2000
 Install date: (not installed)   Build Host: ke.mandrakesoft.com
 Group   : System/ServersSource RPM: (none)
 Size: 82161License: GPL
 Packager: Linux-Mandrake Team [EMAIL PROTECTED]
 URL : http://www.cs.uit.no/linux-irda/
 Summary : Utilities for infrared communication between devices

Why this package requires rpmlib ?
is it the only difference with irda-utils-0.9.10-1mdk ?





[Cooker] Re: [CHRPM] modutils-2.3.20-1mdk

2000-11-17 Thread Christian Gennerat

Chmouel Boudjnah a écrit :

 --=-=-=
 Name: modutils Relocations: (not relocateable)
 Version : 2.3.20Vendor: MandrakeSoft
 Release : 1mdk  Build Date: Thu Nov 16 16:17:24 2000
 Install date: (not installed)   Build Host: no.mandrakesoft.com
 Group   : System/Kernel and hardwareSource RPM: (none)
 Size: 191481   License: GPL
 Packager: Chmouel Boudjnah [EMAIL PROTECTED]
 Summary : The kernel daemon (kerneld) and kernel module utilities.

I have upgraded with it in my PC running mdk7.2 Odissey
Then I have rebooted.
I cannot access the modules any more.
depmod -av replies only "\n"

no modules - no drivers - no cd, no network
I think I must re-install all.







Re: [Cooker] Perl locale

2000-11-17 Thread Christian Gennerat

Patrick Poncet a écrit :

 perl: warning: Setting locale failed.

 So what am I missing???

After you have upgraded the glibc, you must run:
localedef -f ISO-8859-1 -i fr_FR fr -u mnemonic.ds

probably you will get an error.
then make a symbolic link from
/usr/lib/locale
to
/usr/share/locale
and do again.






Re: [Cooker] PCMCIA thinks ttyS2 is the CD-ROM !!!

2000-11-15 Thread Christian Gennerat

OS a écrit :

  It appears that kernel-pcmcia-cs-2.2.17-25mdk thinks that the device
 on ttyS2 is the CD !!!

 When the system shuts down it performs
 /etc/pcmcia/serial check ttyS2
 this causes the CD to click and the following output appears at the console:

 hdc: packet command error: status=0x51 {DriveReady SeekComplete Error}

 Something wrong ? I do hope so, or my system has a strange configuration ! :-)


What pcmcia cards are inserted in your sysem?
Have you a modem?
Have you update your /etc/pcmcia/serial.opts and /etc/pcmcia/ide.opts






[Cooker] kernel-2.4.0 or hackkernel

2000-11-15 Thread Christian Gennerat

Chmouel Boudjnah a écrit :

 To be ready to the upcoming kernel-2.4.0 i'll begin the switch soon,
 there is a lot of issue who need to be resolved, i have beginned some
 package if you want to test them you can download from :

 https://kenobi.mandrakesoft.com/~chmou/kernel24/

 it based on test11-pre4 (yes i know pre5 is out), let me know if you
 have problems.


Does it replaces the  hackkernel rpms yet available on cooker?





Re: [Cooker] kernel-2.4.0

2000-11-15 Thread Christian Gennerat

Chmouel Boudjnah a écrit :

 To be ready to the upcoming kernel-2.4.0 i'll begin the switch soon,
 there is a lot of issue who need to be resolved, i have beginned some
 package if you want to test them you can download from :

 https://kenobi.mandrakesoft.com/~chmou/kernel24/

 it based on test11-pre4 (yes i know pre5 is out), let me know if you
 have problems.


I have compiled and started it on two Toshiba Libretto 100.
The first one has mdk 7.1 installed, and when pcmcia starts,
I have 2 oops in yenta driver
and if I start sound drivers, I have and endingless oops.
The second has an earlier mdk 7.2 (Odissey)
and pcmcia starts ok
Why?





Re: [Cooker] kernel-2.4.0

2000-11-15 Thread Christian Gennerat

Chmouel Boudjnah a écrit :

 Christian Gennerat [EMAIL PROTECTED] writes:

  I have compiled and started it on two Toshiba Libretto 100.
  The first one has mdk 7.1 installed, and when pcmcia starts,
  I have 2 oops in yenta driver
  and if I start sound drivers, I have and endingless oops.
  The second has an earlier mdk 7.2 (Odissey)
  and pcmcia starts ok
  Why?

 do you use the rpm or a compiled one by your own ? this look like the
 pcmcia in the kernel has some problems that the reason i use the
 pcmcia-cs from the user-space-tools.


It is a tarball, and the diff file pre4 downloaded from kernel.org
The stand-alone pcmcia-cs package include drivers only for ISA config.
For PCI config, you must use the kernel-inside package
said David Hinds.
If you are interested in, I can send my config file and my oops.






Re: [Cooker] logrotate-3.3-9mdk BIG problem

2000-11-07 Thread Christian Gennerat

Thierry SAURA a écrit :

I have a problem with lograte and two rules :
 /var/log/mail/* {
 rotate 5
 weekly
 postrotate
 /usr/bin/killall -HUP syslogd
 endscript
 }

 /var/log/news/* {
 rotate 5
 weekly
 postrotate
 /usr/bin/killall -HUP syslogd
 endscript
 }

 For exemple, in mail directory, you have before the rotation :
 mail.err  mail.info  mail.warn

 after the first rotation :
 mail.err  mail.info  mail.warn
 mail.err.1.gz  mail.info.1.gz  mail.warn.1.gz

 after the seconf rotation :
 mail.err  mail.info  mail.warn
 mail.err.1.gz  mail.info.1.gz  mail.warn.1.gz
 mail.err.2.gz  mail.info.2.gz  mail.warn.2.gz
 mail.err.1.gz.1.gz  mail.info.1.gz.1.gz  mail.warn.1.gz.1.gz

 I let you imagine how many files are created after several rotations.
 I rewrite rules to not have the problem ...

 somebody has an idea about where the problem comes from ? bad rules ?
 logrotate bug ?

 Before discovering the problem, slocate and logrotate need time to process
 (more than 120 000 file in /var/log/news and /var/log/mail) and i loose
 400 Mo of disk space.


Not new. The problem exists in 7.1 with logrotate-3.3-5mdk

Change the rules with
/var/log/mail/mail.err {
rotate 5
weekly
postrotate
/usr/bin/killall -HUP syslogd
endscript
}

/var/log/mail/mail.info {
rotate 5
weekly
postrotate
/usr/bin/killall -HUP syslogd
endscript
}

/var/log/mail/mail.warn {
rotate 5
weekly
postrotate
/usr/bin/killall -HUP syslogd
endscript
}

/var/log/news/news.crit {
rotate 5
weekly
postrotate
/usr/bin/killall -HUP syslogd
endscript
}

/var/log/news/news.notice {
rotate 5
weekly
postrotate
/usr/bin/killall -HUP syslogd
endscript
}

/var/log/news/news.err {
rotate 5
weekly
postrotate
/usr/bin/killall -HUP syslogd
endscript
}









[Linux-IrDA]IrNet: Success and Panic

2000-11-06 Thread Christian Gennerat

I have made telnet and played FreeCiv over irnet
between a Toshiba Libretto 110 (PCI, toshoboe)
and a Toshiba Libretto 50 (ISA, irtty).
with hackkernel-source-2.4.0-0.35mdk.i586.rpm
and the irda and irnet pathches.
Great!
Thanks Dag.
Thanks Jean.

I have added this in my Configuration:
(some are listed in docs or mails, but not all)
 echo "alias tty-ldisc-11  irtty"   /etc/modules.conf
 echo "alias char-major-161ircomm-tty"  /etc/modules.conf
 echo "alias char-major-10-187 irnet"   /etc/modules.conf
 echo "#options toshoboe max_baud=19200"  /etc/modules.conf
 echo "alias char-major-108ppp_generic" /etc/modules.conf
 echo "alias ppp-compress-21   ppp_deflate" /etc/modules.conf
 mknod --mode=0666 /dev/irnet   c 10  187
 mknod --mode=0666 /dev/ppp c 108 0
 mknod --mode=0666 /dev/ircomm  c 161 0
 mknod --mode=0666 /dev/ircomm1 c 161 1
 mknod --mode=0666 /dev/irlpt0  c 161 16
 mknod --mode=0666 /dev/irlpt1  c 161 17

But, I have frequent panics, on the PCI side.
not at the same address.
The last one is in:
irlap_recv_discovery_xid_cmd [irlap_frame.c]
  discovery-hints.byte[0] = discovery_info[0];
  where the pointer discovery_info is Null.


 panic.tar.gz


[Cooker] Where is rpmlib?

2000-11-06 Thread Christian Gennerat


Upgrading "/src/kernel/rpm4/rpm-4.0-3mdk.i586.rpm"
error: failed dependencies:
glibc = 2.1.92 is needed by rpm-4.0-3mdk
rpmlib(PayloadFilesHavePrefix) = 4.0-1 is needed by rpm-4.0-3mdk
libbz2.so.1 is needed by rpm-4.0-3mdk
libc.so.6(GLIBC_2.2) is needed by rpm-4.0-3mdk
rpmlib(CompressedFileNames) = 3.0.4-1 is needed by rpm-4.0-3mdk
menu  2.1.5-29mdk conflicts with rpm-4.0-3mdk

Upgrading bzip2 
error: failed dependencies:
rpmlib(PayloadFilesHavePrefix) = 4.0-1 is needed by bzip2-1.0.1-6mdk
rpmlib(CompressedFileNames) = 3.0.4-1 is needed by bzip2-1.0.1-6mdk

Upgrading "/src/kernel/rpm4/glibc-2.1.95-3mdk.i586.rpm"
error: failed dependencies:
rpmlib(PayloadFilesHavePrefix) = 4.0-1 is needed by glibc-2.1.95-3mdk
rpmlib(CompressedFileNames) = 3.0.4-1 is needed by glibc-2.1.95-3mdk
libdb.so.2 is needed by rpm-3.0.4-0.12mdk
libdb.so.2 is needed by menu-2.1.5-19mdk

Where is the rpmlib?
What the correct sequence for upgrade?




Re: [Cooker] Suggestion: Mdk 7.2 installation and 32M RAM

2000-11-02 Thread Christian Gennerat

Guillaume Cottenceau a écrit :

 People with enough bandwidth to do an FTP install can either burn an ISO
 or download to do an ISO or HD install..

No, an FTP install can be done with another PC on the same desk as server,
only because the PC to be installed don't have CD.
In this case, NFS is perhaps better.





[Cooker] Wish: what's new on cooker's ftp

2000-10-31 Thread Christian Gennerat

It would be interesting to have day-by-day
the list of the new files written on the cooker ftp site and its mirrors
Only one message per day, it is not much!







Re: [Cooker] Mdk 7.2 installation and 32M RAM

2000-10-31 Thread Christian Gennerat

Guillaume Cottenceau a écrit :

 L Splutter!? Over 32MB for an _installer_? )-: Just how much RAM does a ``normal''
  CD or hd install need?

 Try it with Redhat you'll have the same problem. Graphical installers eat
 memory. (much). sorry. So do higher-level language installers such as Perl
 or Python-based.

  My gateway (running mdk 7.1 with kernel recompiled for no FPU) only has 12MB all
  up (and 250MB HDD). It would be nice if there was a boot-up or selectable option
  to use a /tmp-to-be partition or similar as a temporary install disk in
  ``low''-RAM situations.

 Being pentium-optimised do not target us to very low-end machines
 anymore..

My 486 with 12 Mo RAM runs with RedHat 5.2,
with no X-server. But it can export an xterm on an external XWindows server
(WinNT with exceed or Solaris or Linux)
why should I upgrade it?
Mandrake 7 is good for faster and bigger machines.





Re: [Cooker] RC problems - scsi_mod and ide-scsi

2000-10-26 Thread Christian Gennerat

"Eduaardo M. A. M. Mendes" a écrit :

 Hello
 I am having all sorts of problems with RC that I didn't have with
 Ulysses-3 (This means that I am using exactly the same procedure for
 both beta versions).
 I want my ide-cdrom as scsi device and to do that I modified rc.local
 to include
 the following modules:

 modprobe ppa
 echo "---"echo "UDF system"
 modprobe udf
 #echo "---"echo "SCSI EMULATION"
 modprobe scsi_mod
 #modprobe sg
 modprobe sr_mod
 modprobe ide-scsi

 All modules related to SCSI emulation are not there.  What happened to
 them?

I wanted to load ppa with only "modprobe ppa", and I added theese lines to
/etc/modules.conf

### Zip Iomega, plip
alias parport_lowlevel parport_pc
add below parport_pc parport
add below scsi_syms scsi_mod
add below ppa scsi_mod parport_pc
pre-install plip modprobe parport ; echo 7  /proc/parport/0/irq

### pcmcia, scsi
add below aha152x_cs scsi_mod
pre-install pcmcia_core /etc/rc.d/init.d/pcmcia start

alias ide_cs ide-cs
alias char-major-10-181 toshiba






[Cooker] hackkernel-2.4.0-0.35 include/pcmcia ?

2000-10-24 Thread Christian Gennerat

where are the include/pcmcia ?
the include/pcmcia of the afficial pcmcia package
(pcmcia-cs-3_1_20.tar.gz or pcmcia-cs-3_1_21.tar.gz) do not fit,
because a new symbol should be defined:
--- cs.c.orig Tue Sep 19 00:11:51 2000
+++ cs.c Sun Oct 22 05:56:15 2000
@@ -519,7 +519,7 @@
  if (val  SS_DETECT) {
   DEBUG(1, "cs: setup_socket(%p): applying power\n", s);
   s-state |= SOCKET_PRESENT;
-  s-socket.flags = SS_DEBOUNCED;
+  s-socket.flags = 0;
   if (val  SS_3VCARD)
   s-socket.Vcc = s-socket.Vpp = 33;
   else if (!(val  SS_XVCARD))
---
and so on !

--
The falsely dramatic drives out the truly dull.






[Cooker] first steps with 2.4.0-0.35mdk

2000-10-23 Thread Christian Gennerat


1) dev86 is required before installing hackkernel-source-2.4.0-0.35mdk.i586.rpm
as86 is currently installed withbin86-0.4-12mdk
Why this change?

2) hackkernel-headers-2.4.0-0.35mdk.i586.rpm does not provide include/pcmcia
   I used the includes provided by pcmcia-cs-3_1_20.tar.gz
   but one symbil is undefined

3) hackkernel-doc-2.4.0-0.35mdk.i586.rpm does not point at the differences
   between kernel 2.2 and kernel 2.4
   A typical "modules.conf" with all the paths to access all modules
   should be very useful

4) I am happy that the driver toshiba.c has been included in the kernel.
   It works fine.

--
The falsely dramatic drives out the truly dull.