Re: [Cooker] network.img install broken

2003-08-14 Thread Guillaume Cottenceau
Leon Brooks [EMAIL PROTECTED] writes:

 On Tue, 5 Aug 2003 20:08, Guillaume Cottenceau wrote:
  Leon Brooks [EMAIL PROTECTED] writes:
  IIRC, the limit for 9.1 was 68MB, which is really, really annoying
  if your machine has just 64MB.
 
  I can't make miracles! 68MB is a real limit, not a bug.. sorry
  about that but that's for real..
 
 You can't run stuff in pieces, modularise libraries a bit more and only 
 load pieces as you need them, discarding as soon as you can?

We could maybe win a bit but it's not worth the trouble.
 
 Are things like the advertisement screens / progress messages included 
 in that, and if so can we have the option of not loading them?

No they're not included.
 
 Is it possible to trim down the interpreter you're using any further? 
 Break up libraries and only fetch the ones you need? Turn some (more) 
 interpreted stuff into compiled? Rip the functions you don't use out of 
 awk/busybox? Borrow disk space and/or swap as soon as it's available?

It's much work, I think.

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



Re: [Cooker] network.img install broken

2003-08-14 Thread Buchan Milne
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Thomas Backlund wrote:

 The pcnet32 driver in kernel.org 2.4.21 final was semi-broken,
 as it works for some, and not for others...
 It got fixed in one of the 2.4.22-pre updates, but I don't recall
 wich...

 An easy solution is grab the pcnet32 from the latest pre, and merge it
 into current mdk kernel...


Note that (IIRC) this problem was resolved by the original poster
starting the FTP server on the machine he was installing from ...

Regards,
Buchan

- --
|--Another happy Mandrake Club member--|
Buchan MilneMechanical Engineer, Network Manager
Cellphone * Work+27 82 472 2231 * +27 21 8828820x202
Stellenbosch Automotive Engineering http://www.cae.co.za
GPG Key   http://ranger.dnsalias.com/bgmilne.asc
1024D/60D204A7 2919 E232 5610 A038 87B1 72D6 AC92 BA50 60D2 04A7
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE/MU7urJK6UGDSBKcRAqBGAJ0TXH+fazEEVqftbLpYDHpckKPaLACgpWcb
p/Ma5oDMASbhJVcsjhTekxM=
=/mvL
-END PGP SIGNATURE-

**
Please click on http://www.cae.co.za/disclaimer.htm to read our
e-mail disclaimer or send an e-mail to [EMAIL PROTECTED] for a copy.
**



Re: [Cooker] network.img install broken

2003-08-14 Thread Mark Watts
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


 On Tue, 5 Aug 2003 05:58, Robert Fox wrote:
  Just tried a new install over my local network to a Rsync'd local
  copy of Cooker.
 
  After the DHCP of the network card - I enter the IP and logon info
  for the other host - but when I hit OK - it fails with:
 
  Error: failed to connect to remote host
 
  in the log console on F3:
  * FTP: trying to connect to 192.168.10.100
  * FTP: error connect -6
  * unsetting automatic

 While we're fixing this, could we please make sure that a network (HTTP
 or FTP) install works in 60MB of RAM or less? The reason for the choice
 of RAM size is 64MB less 4MB for a built-in video card. IIRC, the limit
 for 9.1 was 68MB, which is really, really annoying if your machine has
 just 64MB.

 Cheers; Leon

Why _do_ we have a limit at all?

Mark.

- -- 
Mark Watts
Senior Systems Engineer
QinetiQ TIM
St Andrews Road, Malvern
GPG Public Key ID: 455420ED

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE/L59cBn4EFUVUIO0RApwKAKDZ3fqYfycmoCnilupn77Hnrmf6+wCgknP8
znDNhr5MqvtbKocOXdb7ufQ=
=I3ta
-END PGP SIGNATURE-




Re: [Cooker] network.img install broken

2003-08-14 Thread Leon Brooks
On Wed, 6 Aug 2003 00:50, Guillaume Cottenceau wrote:
 It's much work, I think.

How about opening all R/O files from the RAMdisk memory-mapped, so only 
wasting the memory once?

Cheers; Leon




Re: [Cooker] network.img install broken

2003-08-14 Thread Guillaume Cottenceau
Leon Brooks [EMAIL PROTECTED] writes:

 While we're fixing this, could we please make sure that a network (HTTP 
 or FTP) install works in 60MB of RAM or less? The reason for the choice 

It doesn't.

 of RAM size is 64MB less 4MB for a built-in video card. IIRC, the limit 
 for 9.1 was 68MB, which is really, really annoying if your machine has 
 just 64MB.

I can't make miracles! 68MB is a real limit, not a bug.. sorry
about that but that's for real..

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



Re: [Cooker] network.img install broken

2003-08-14 Thread Todd Lyons
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Robert Fox wanted us to know:

It appears to have loaded the network card module (pcnet32) and
successfully performed the DHCP request - because I can see the DHCP
dialog and an IP address on the card.  

I know this is under VMWare so a lot of things are provided by vmware's
drivers, but I would think this probably ties in with the old problem of
apic doing weird things to a couple of NIC cards (though usually it's
the rtl8139).  Check to see if the IRQ it's getting is 16 or higher.  If
so, pass noapic to the install kernel at boottime and see if it makes a
difference.
- -- 
Blue skies...   ToddPublic key: http://www.mrball.net/todd.asc
SELECT * FROM users WHERE clue  0
0 rows returned--Steve BOFH B.
Linux kernel 2.4.19-24mdk   4 users,  load average: 0.01, 0.02, 0.00
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.2 (GNU/Linux)
Comment: http://www.mrball.net/todd.asc

iD8DBQE/MAW4IBT1264ScBURAoRdAJ9Ix00zitHTCH9QZ9Yga+r8RQUjrwCgpqgx
Q2jICg7mAFAm/RwKjvEXHPQ=
=Howp
-END PGP SIGNATURE-



Re: [Cooker] network.img install broken

2003-08-14 Thread Guillaume Cottenceau
Robert Fox [EMAIL PROTECTED] writes:

 On Tue, 2003-08-05 at 15:12, Guillaume Cottenceau wrote:
   Something has changed on the boot disk image since then!
  
  Yes we now use 2.4.21-6mdkBOOT, we used the 9.1 one for ages
  (think Ron Stodden's concerns). It probably kind of broke the
  pcnet32 driver then :/.
 
 Does that mean that someone is working on a fix?  I like the way you

Not necessarily :).

For us to fix a kernel driver, we first need to consider it's
real important compared to all the other much important things we
need to do in the kernel. Second, we need to reproduce it here.
Third, we need to fix it but each kernel area needs some sort
of special knowledge I guess, and I'm not sure juan is
super-expert for every possible drivers out there :).

 phrase that It probably kind of broke . .

Thanks :). I like when my work is appreciated :).
 
 Can I use an older network.img with the new installer?

No you can't (because of modules.cz-$KERNEL_VERSION).
 
 I'd really like to get a normal install so I can continue
 testing!

Understood.

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



Re: [Cooker] network.img install broken

2003-08-14 Thread Thomas Backlund
From: Buchan Milne [EMAIL PROTECTED]
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Thomas Backlund wrote:
 
  The pcnet32 driver in kernel.org 2.4.21 final was semi-broken,
  as it works for some, and not for others...
  It got fixed in one of the 2.4.22-pre updates, but I don't recall
  wich...
 
  An easy solution is grab the pcnet32 from the latest pre, and merge it
  into current mdk kernel...
 
 
 Note that (IIRC) this problem was resolved by the original poster
 starting the FTP server on the machine he was installing from ...
 
 Regards,
 Buchan
 
Ouch...
I missed that part of the thread...
but other than that ...
my point vas valid... ;-)


Thomas




Re: [Cooker] network.img install broken

2003-08-14 Thread Todd Lyons
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Leon Brooks wanted us to know:

Yah, but by that time you know what disk space is available and can use 
that, no? Besides which, you're already finished with a big chunk of 
the installer, partitioning code and the like. Why not optionally defer 
loading the last half of the installer and all of the tools it requires 
until you have disk (and swap) space to work in?

Good ideas.  Lots of work to implement.  Maybe some day.
- -- 
Are there any plans to allow different levels of protection in the
firewall?  Right now the iptables rules are too strict to function
properly on a windows network without manually adjusting the rules.
   --Cooker ML Oct 2002
Linux kernel 2.4.19-24mdk   4 users,  load average: 0.13, 0.03, 0.01
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.2 (GNU/Linux)
Comment: http://www.mrball.net/todd.asc

iD8DBQE/MAUAIBT1264ScBURAl6+AKCbraM28Kzcchyax35DvuwUogpqiwCgz3cD
umJTqkd0Fk7im+o1ml85v2k=
=Oyq2
-END PGP SIGNATURE-



Re: [Cooker] network.img install broken

2003-08-14 Thread Guillaume Cottenceau
Robert Fox [EMAIL PROTECTED] writes:


[...]

 It appears to have loaded the network card module (pcnet32) and
 successfully performed the DHCP request - because I can see the DHCP
 dialog and an IP address on the card.  

There are sometimes problems of the like with buggy network
drivers.

As of my test machine, I can start the stage2 with current
(1.813) build, FTP install (DHCP, hostname, directory,
user/pass).

 I'm trying this under VMware WS4 - but this shouldn't make a difference
 because I performed a full Cooker install just 3 days ago using the same
 method.
 
 Something has changed on the boot disk image since then!

Yes we now use 2.4.21-6mdkBOOT, we used the 9.1 one for ages
(think Ron Stodden's concerns). It probably kind of broke the
pcnet32 driver then :/.

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



Re: [Cooker] network.img install broken

2003-08-14 Thread Leon Brooks
On Tue, 5 Aug 2003 20:08, Guillaume Cottenceau wrote:
 Leon Brooks [EMAIL PROTECTED] writes:
 IIRC, the limit for 9.1 was 68MB, which is really, really annoying
 if your machine has just 64MB.

 I can't make miracles! 68MB is a real limit, not a bug.. sorry
 about that but that's for real..

You can't run stuff in pieces, modularise libraries a bit more and only 
load pieces as you need them, discarding as soon as you can?

Are things like the advertisement screens / progress messages included 
in that, and if so can we have the option of not loading them?

Is it possible to trim down the interpreter you're using any further? 
Break up libraries and only fetch the ones you need? Turn some (more) 
interpreted stuff into compiled? Rip the functions you don't use out of 
awk/busybox? Borrow disk space and/or swap as soon as it's available?

Cheers; Leon




Re: [Cooker] network.img install broken

2003-08-10 Thread Robert Fox
On Tue, 2003-08-05 at 15:12, Guillaume Cottenceau wrote:
  Something has changed on the boot disk image since then!
 
 Yes we now use 2.4.21-6mdkBOOT, we used the 9.1 one for ages
 (think Ron Stodden's concerns). It probably kind of broke the
 pcnet32 driver then :/.

Does that mean that someone is working on a fix?  I like the way you
phrase that It probably kind of broke . .

Can I use an older network.img with the new installer?

I'd really like to get a normal install so I can continue testing!

Thanks,
R.Fox




Re: [Cooker] network.img install broken

2003-08-09 Thread Guillaume Cottenceau
Mark Watts [EMAIL PROTECTED] writes:

 Why _do_ we have a limit at all?

Because we're downloading program to ramdisk memory then we
execute it. We need memory for ramdisk and memory for executing
it. We don't have swap yet, may I add.

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



Re: [Cooker] network.img install broken

2003-08-07 Thread Leon Brooks
On Tue, 5 Aug 2003 23:16, Todd Lyons wrote:
 So you ask, why not just run it directly off the CD?  Well that could
 be done but then you would not be able to install anything from disk
 2 or 3 because you would not be able to eject disk 1 because it's
 running from it.

Yah, but by that time you know what disk space is available and can use 
that, no? Besides which, you're already finished with a big chunk of 
the installer, partitioning code and the like. Why not optionally defer 
loading the last half of the installer and all of the tools it requires 
until you have disk (and swap) space to work in?

Cheers; Leon




Re: [Cooker] network.img install broken

2003-08-06 Thread Robert Fox
On Tue, 2003-08-05 at 12:06, Guillaume Cottenceau wrote:
 Robert Fox [EMAIL PROTECTED] writes:
 
  Just tried a new install over my local network to a Rsync'd local copy
  of Cooker.
  
  After the DHCP of the network card - I enter the IP and logon info for
  the other host - but when I hit OK - it fails with:
  
  Error: failed to connect to remote host
  
  in the log console on F3:
  * FTP: trying to connect to 192.168.10.100
  * FTP: error connect -6
 
 It couldn't connect to the remote host.. can't add much more than
 that. Means a socket() or connect() syscall failed.

It appears to have loaded the network card module (pcnet32) and
successfully performed the DHCP request - because I can see the DHCP
dialog and an IP address on the card.  

I'm trying this under VMware WS4 - but this shouldn't make a difference
because I performed a full Cooker install just 3 days ago using the same
method.

Something has changed on the boot disk image since then!

Thx,
R.Fox




Re: [Cooker] network.img install broken

2003-08-06 Thread Guillaume Cottenceau
Leon Brooks [EMAIL PROTECTED] writes:

 On Wed, 6 Aug 2003 00:50, Guillaume Cottenceau wrote:
  It's much work, I think.
 
 How about opening all R/O files from the RAMdisk memory-mapped, so only 
 wasting the memory once?

All significant files are opened from within perl. It's possible
than perl already uses mmap when possible since it's kinda
efficient.

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



Re: [Cooker] network.img install broken

2003-08-06 Thread Leon Brooks
On Tue, 5 Aug 2003 05:58, Robert Fox wrote:
 Just tried a new install over my local network to a Rsync'd local
 copy of Cooker.

 After the DHCP of the network card - I enter the IP and logon info
 for the other host - but when I hit OK - it fails with:

 Error: failed to connect to remote host

 in the log console on F3:
 * FTP: trying to connect to 192.168.10.100
 * FTP: error connect -6
 * unsetting automatic

While we're fixing this, could we please make sure that a network (HTTP 
or FTP) install works in 60MB of RAM or less? The reason for the choice 
of RAM size is 64MB less 4MB for a built-in video card. IIRC, the limit 
for 9.1 was 68MB, which is really, really annoying if your machine has 
just 64MB.

Cheers; Leon




Re: [Cooker] network.img install broken

2003-08-06 Thread Thomas Backlund
From: Guillaume Cottenceau [EMAIL PROTECTED]
 Robert Fox [EMAIL PROTECTED] writes:

  On Tue, 2003-08-05 at 15:12, Guillaume Cottenceau wrote:
Something has changed on the boot disk image since then!
  
   Yes we now use 2.4.21-6mdkBOOT, we used the 9.1 one for ages
   (think Ron Stodden's concerns). It probably kind of broke the
   pcnet32 driver then :/.
 
  Does that mean that someone is working on a fix?  I like the way you

 Not necessarily :).

 For us to fix a kernel driver, we first need to consider it's
 real important compared to all the other much important things we
 need to do in the kernel. Second, we need to reproduce it here.
 Third, we need to fix it but each kernel area needs some sort
 of special knowledge I guess, and I'm not sure juan is
 super-expert for every possible drivers out there :).

[...]
The pcnet32 driver in kernel.org 2.4.21 final was semi-broken,
as it works for some, and not for others...
It got fixed in one of the 2.4.22-pre updates, but I don't recall
wich...

An easy solution is grab the pcnet32 from the latest pre, and merge it
into current mdk kernel...

It's a funny thing about 2 network cards, one is the pcnet32, and the other
is via-rhine...
They get broken every once in a while or have a lot of trouble, often due to
poor hw implementation, or because of that the code for them is not in good
shape due to different reasons... :-(
I know... I have had them both...
Now I only have a pcnet32, wich isn't that great under hevy load...

Regards

Thomas





Re: [Cooker] network.img install broken

2003-08-05 Thread Guillaume Cottenceau
Robert Fox [EMAIL PROTECTED] writes:

 Just tried a new install over my local network to a Rsync'd local copy
 of Cooker.
 
 After the DHCP of the network card - I enter the IP and logon info for
 the other host - but when I hit OK - it fails with:
 
 Error: failed to connect to remote host
 
 in the log console on F3:
 * FTP: trying to connect to 192.168.10.100
 * FTP: error connect -6

It couldn't connect to the remote host.. can't add much more than
that. Means a socket() or connect() syscall failed.

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



Re: [Cooker] network.img install broken

2003-08-05 Thread Todd Lyons
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Mark Watts wanted us to know:

Why _do_ we have a limit at all?

At this stage of the install (ie very early, the kernel just booted),
there is no idea of how the user will want to set up the disk or disks.
The installer needs to load tons of stuff but there's nowhere to
temporarily store it, so it creates a ramdisk and uncompresses it all
into that ramdisk.  When it's expanded, it takes up a lot of RAM.

So you ask, why not just run it directly off the CD?  Well that could be
done but then you would not be able to install anything from disk 2 or 3
because you would not be able to eject disk 1 because it's running from
it.
- -- 
Blue skies...   Todd
| Get a bigger hammer!   | What does IIRC mean?   |
| http://www.mrball.net  |   --OpenLDAP Mailing List  |
| http://faq.mrball.net  ||
Linux kernel 2.4.19-24mdk   4 users,  load average: 0.00, 0.00, 0.00
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.2 (GNU/Linux)
Comment: http://www.mrball.net/todd.asc

iD8DBQE/L8pOIBT1264ScBURAo94AKCEs/SowHCSgNR+KHBSZzbb0BnW5gCeIqfl
k8AkZ+BFTXMjed1yl1Ra/IA=
=B6DM
-END PGP SIGNATURE-



Re: [Cooker] network.img install broken

2003-08-05 Thread Guillaume Cottenceau
Robert Fox [EMAIL PROTECTED] writes:


[...]

 It appears to have loaded the network card module (pcnet32) and
 successfully performed the DHCP request - because I can see the DHCP
 dialog and an IP address on the card.  

There are sometimes problems of the like with buggy network
drivers.

As of my test machine, I can start the stage2 with current
(1.813) build, FTP install (DHCP, hostname, directory,
user/pass).

 I'm trying this under VMware WS4 - but this shouldn't make a difference
 because I performed a full Cooker install just 3 days ago using the same
 method.
 
 Something has changed on the boot disk image since then!

Yes we now use 2.4.21-6mdkBOOT, we used the 9.1 one for ages
(think Ron Stodden's concerns). It probably kind of broke the
pcnet32 driver then :/.

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