List Info

Thread: modules on cdrom image 3.0.2




modules on cdrom image 3.0.2
user name
2007-04-24 13:17:46
Hi there.  I've been upgrading from 2.4.2 to 3.0.2 and ran
into
something a bit odd.  (Actually a few things, but I will
post them
separate, as I think that'll make for cleaner responses.)

The ISO image for CD for 2.4.2 had a complete unpacked tree
of modules
available.  This allowed me to edit /etc/modules and use
syntax like
this:

### local customizations

### Ethernet drivers
crc32
! mount iso9660 /dev/cdrom

! dir /lib/modules/2.4.32/kernel/drivers/net
sis900
3c59x

### QoS
! dir /lib/modules/2.4.32/kernel/net/sched
cls_fw
cls_route
cls_rsvp
cls_rsvp6
cls_tcindex
cls_u32
sch_cbq
sch_csz
sch_dsmark
sch_gred
sch_hfsc
sch_htb
sch_ingress
sch_netem
sch_prio
sch_red
sch_sfq
sch_tbf
sch_teql

! umount

The nice thing about this is that the cdrom loads more
quickly.  It
also strikes me as more secure, given the read only nature
of the
cdrom.  (The floppy can be write protected, but obviously
someone
could modify it more easily.)

With 3.0.2 I could only find a gzipped tarfile of the
modules.  I have
to unpack this somewhere, copy the modules to /lib/modules,
and then
back up the modules to floppy to create moddb.lrp.  As you
might
imagine, with my long list of modules above, that file is
becoming
quite large and takes a while to load.

Any thoughts?  Alternate approaches I'm missing?

Would it be possible to put the complete unpacked modules
distribution
on 3.1.0?  (I guess while I'm at it, any updates on when a
production
3.1.0 might come out?)

-- Bob

------------------------------------------------------------
-------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and
take
control of your XML. No limits. Just data. Click to get it
now.
http://sourcefor
ge.net/powerbar/db2/
------------------------------------------------------------
------------
leaf-user mailing list: leaf-userlists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-user

Support Request -- http://leaf-project.org/


Re: modules on cdrom image 3.0.2
country flaguser name
Germany
2007-04-24 13:38:24
On Tuesday 24 April 2007 20:17:46 Bob Ramstad wrote:
> Hi there.  I've been upgrading from 2.4.2 to 3.0.2 and
ran into
> something a bit odd.  (Actually a few things, but I
will post them
> separate, as I think that'll make for cleaner
responses.)
>
> The ISO image for CD for 2.4.2 had a complete unpacked
tree of modules
> available.  This allowed me to edit /etc/modules and
use syntax like
> this:
>
> ### local customizations
>
> ### Ethernet drivers
> crc32
> ! mount iso9660 /dev/cdrom
>
> ! dir /lib/modules/2.4.32/kernel/drivers/net
> sis900
> 3c59x
>
> ### QoS
> ! dir /lib/modules/2.4.32/kernel/net/sched
> cls_fw
> cls_route
> cls_rsvp
> cls_rsvp6
> cls_tcindex
> cls_u32
> sch_cbq
> sch_csz
> sch_dsmark
> sch_gred
> sch_hfsc
> sch_htb
> sch_ingress
> sch_netem
> sch_prio
> sch_red
> sch_sfq
> sch_tbf
> sch_teql
>
> ! umount
>
> The nice thing about this is that the cdrom loads more
quickly.  It
> also strikes me as more secure, given the read only
nature of the
> cdrom.  (The floppy can be write protected, but
obviously someone
> could modify it more easily.)
>
> With 3.0.2 I could only find a gzipped tarfile of the
modules.  I have
> to unpack this somewhere, copy the modules to
/lib/modules, and then
> back up the modules to floppy to create moddb.lrp.  As
you might
> imagine, with my long list of modules above, that file
is becoming
> quite large and takes a while to load.

If speed is an issue you better run it from a CF disk or you
build your own 
modules file and add it to a customized ISO image.

> Any thoughts?  Alternate approaches I'm missing?

Adding modules is easy with:
/usr/sbin/build-modules 

But then you'd have to save it on the floppy as you said.

> Would it be possible to put the complete unpacked
modules distribution
> on 3.1.0?  
I'm sorry but the logic to load modules has changed and the
previous syntax in 
the modules isn't supported any longer. In fact it was only
useful - or at 
least used, in the case of ISO images - and in your case, so
this aren't the 
news you are waiting for. 

> (I guess while I'm at it, any updates on when a
production 
> 3.1.0 might come out?)

The beta seems to be rather stable - I believe we can build
a 3.1 the next 
month with only a few changes.


kp

------------------------------------------------------------
-------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and
take
control of your XML. No limits. Just data. Click to get it
now.
http://sourcefor
ge.net/powerbar/db2/
------------------------------------------------------------
------------
leaf-user mailing list: leaf-userlists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-user

Support Request -- http://leaf-project.org/


Re: modules on cdrom image 3.0.2
country flaguser name
Switzerland
2007-04-24 13:45:16
KP

KP Kirchdoerfer schrieb:
> On Tuesday 24 April 2007 20:17:46 Bob Ramstad wrote:
..

> I'm sorry but the logic to load modules has changed and
the previous syntax in 
> the modules isn't supported any longer. In fact it was
only useful - or at 
> least used, in the case of ISO images - and in your
case, so this aren't the 
> news you are waiting for. 
> 

If you recall, I had the same issue a few weeks ago. The
unpacked module
tree would not put a heavy load on the ISO file, but is very
handy at
times, having a build_modules script notwithstanding. Maybe
the users
are using the distribution in other ways than the developers
think they
do :-(

cheers

Erich



------------------------------------------------------------
-------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and
take
control of your XML. No limits. Just data. Click to get it
now.
http://sourcefor
ge.net/powerbar/db2/
------------------------------------------------------------
------------
leaf-user mailing list: leaf-userlists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-user

Support Request -- http://leaf-project.org/


[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )