[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Install report (2003-04-30)



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello Petter!

Petter Reinholdtsen wrote:
> [Joe Nahmias]
> > 7) Another thing, after reboot the network was unavailable since the
> > proper module (e100) for eth0 wasn't loaded.  Perhaps the reboot
> > step should get the output of lsmod and append it to
> > /target/etc/modules, before rebooting.  Note hw-detect-full cannot
> > do this (as would be logical) since /target isn't created/mounted at
> > that point.  File a bug?  Against which package?
> 
> I changed hw-detect to call 'apt-install discover'.  This should
> enable automatic HW-detection after reboot.  It will be available in
> v0.26.
OK, but doesn't base-config already do this?  I seem to recall it
installing discover, read-edid, and a few other related pkgs after asking
all its questions.

In any case, I think d-i can do better than that... We already know which
modules are the correct ones since the installer has been using them the
entire time to perform the install.  Why throw away that information and
start from scratch trying to detect the hardware, when we know what works?
I was thinking of something like:

lsmod | cut -f1 -d' ' | tail +2 > /target/etc/modules

would be better since this would even capture modules that the user has
manually loaded.

Hope this helps!

Joe Nahmias, DD wannabe
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+smpuKl23+OYWEqURAovcAKDHrFO5HOjFLb38hE+yzds+y466fwCfRweu
S7SBVNNXV07h8x//J3a4MXs=
=cjew
-----END PGP SIGNATURE-----



Reply to: