> On Wednesday 12 November 2003 04:44, Olivier Blin wrote:

Hi,


> > -CONFIG_BLK_DEV_RAM=y
> > +CONFIG_BLK_DEV_RAM=m
> 
> should it be builtin for initrd to work? If not there is no reason to have
> it 
> builtin.

IIRC yes, it has to be built in

> >  CONFIG_BLK_DEV_RAM_SIZE=4096
> >  CONFIG_BLK_DEV_INITRD=y
> > --
> > -CONFIG_IDE=y
> > -CONFIG_BLK_DEV_IDE=y
> > +CONFIG_IDE=m
> > +CONFIG_BLK_DEV_IDE=m
> >
> > --
> > -CONFIG_BLK_DEV_IDEDISK=y
> > +CONFIG_BLK_DEV_HD_IDE=y
> > +CONFIG_BLK_DEV_IDEDISK=m
> >  CONFIG_IDEDISK_MULTI_MODE=y
> 
> nope, module does not work. Even if it possible to fix all missing
> exported 
> symbols, IDE layer does not provide for any sort of module reference
> counting 
> (for chipset drivers)  meaning it is simply unsafe. Which implies kernel
> must 
> include all IDE drivers :(

IIRC debian use it for ages
( and they are far no that experimental as mandrake is)
and the kernel becomes really small

with Os --  bzImage ~ 1400kb
with Os + modular ide -- ~ 11xx kb

it should work, we only need to hack mkinitrd 
& may be harddrake/ drakx
+++ include the debian patch

and if we go hacking mkinitrd, we make also add suport for cramfs
 
i'll upload it shortly to the usual place :-)

> > --
> > -CONFIG_SCSI=y
> > +CONFIG_SCSI=m
> 
> module, please!
> 
> >  CONFIG_SCSI_PROC_FS=y
> >
> > --
> > -CONFIG_BLK_DEV_MD=y
> > +CONFIG_BLK_DEV_MD=m
> 
> same.
> 
> >  CONFIG_MD_LINEAR=m
> >  CONFIG_MD_RAID0=m
> > --

------------------------------------------
arent the following pretty important,
and alwasys needed ?

> > -CONFIG_PACKET=y
> > +CONFIG_PACKET=m
> 
> module
> 
> >  CONFIG_PACKET_MMAP=y
> >  CONFIG_NETLINK_DEV=m
> > -CONFIG_UNIX=y
> > +CONFIG_UNIX=m
> 
> module
------------------------------------------
and what about ipv4


> 
> >  CONFIG_NET_KEY=m
> >  CONFIG_INET=y
> > --
> > -CONFIG_ATM=y
> > -CONFIG_ATM_CLIP=y
> > -# CONFIG_ATM_CLIP_NO_ICMP is not set
> > +CONFIG_ATM=m
> > +CONFIG_ATM_CLIP=m
> 
> come on really, should everyone have ATM?
> 

and if only could tell me where it is ?-)

> > --
> > -CONFIG_INPUT_MOUSEDEV=y
> > +CONFIG_INPUT_MOUSEDEV=m
> >  CONFIG_INPUT_MOUSEDEV_PSAUX=y
> >  CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024
> > --
> > -CONFIG_SERIO=y
> > -CONFIG_SERIO_I8042=y
> > +CONFIG_SERIO=m
> > +CONFIG_SERIO_I8042=m
> >  CONFIG_SERIO_SERPORT=m
> > --
> > -CONFIG_KEYBOARD_ATKBD=y
> > +CONFIG_KEYBOARD_ATKBD=m
> >  CONFIG_KEYBOARD_SUNKBD=m
> >  CONFIG_KEYBOARD_XTKBD=m
> > --
> > -CONFIG_MOUSE_PS2=y
> > +CONFIG_MOUSE_PS2=m
> >  CONFIG_MOUSE_PS2_SYNAPTICS=y
> >  CONFIG_MOUSE_SERIAL=m
> 
> that is bad. Apparently to have your mouse (and keyboard) autodetected you
> 
> have 
> to build it in. OTOH some drivers are still left as module. Meaning -
> there 
> should be some manual configuration. In which case why not configure
> others 
> as well?
> 
> There is no problem loading them out of initrd. Of course it needs
> harddrake 
> support finally.
> 
> WDYT?

do really want to put  mouse & co in initrd,
IMO it could be loaded if/when root is mounted
 
> > --
> > -CONFIG_SERIAL_8250=y
> > -CONFIG_SERIAL_8250_CONSOLE=y
> > +CONFIG_SERIAL_8250=m
> 
> it needs to be builtin only to have console support ... not sure actually
> how 
> widely it is used. those needing it to debug are likely to know how to 
> recompile kernel.

you are probably right ;-)

> 
> >  CONFIG_SERIAL_8250_CS=m
> >  CONFIG_SERIAL_8250_ACPI=y
> > --
> > -CONFIG_SERIAL_CORE=y
> > -CONFIG_SERIAL_CORE_CONSOLE=y
> > +CONFIG_SERIAL_CORE=m
> 
> see above
> 
> >  CONFIG_UNIX98_PTYS=y
> >  CONFIG_UNIX98_PTY_COUNT=256
> > --
> > -CONFIG_AGP=y
> > -CONFIG_AGP_ALI=y
> > +CONFIG_AGP=m
> > +CONFIG_AGP_ALI=m
> >  CONFIG_AGP_ATI=m
> > -CONFIG_AGP_AMD=y
> > +CONFIG_AGP_AMD=m
> >  CONFIG_AGP_AMD64=m
> > -CONFIG_AGP_INTEL=y
> > +CONFIG_AGP_INTEL=m
> >  CONFIG_AGP_NVIDIA=m
> > -CONFIG_AGP_SIS=y
> > -CONFIG_AGP_SWORKS=y
> > -CONFIG_AGP_VIA=y
> > +CONFIG_AGP_SIS=m
> > +CONFIG_AGP_SWORKS=m
> > +CONFIG_AGP_VIA=m
> 
> any reason to have this builtin? I think it works just fine as module?
> 
> > --
> > -CONFIG_EXT2_FS=y
> > +CONFIG_EXT2_FS=m
> 
> if we switch to initramfs format even this can be module :)
> 
> >  CONFIG_EXT2_FS_XATTR=y
> >  CONFIG_EXT2_FS_POSIX_ACL=y
> > --
> > -CONFIG_FS_MBCACHE=y
> 
> why do you need it in kernel?
> 
> > +CONFIG_JBD_DEBUG=y
> > +CONFIG_FS_MBCACHE=m
> >  CONFIG_REISERFS_FS=m
> > --
> > -CONFIG_QFMT_V2=y
> 
> why?
> 
> > +CONFIG_QFMT_V2=m
> >  CONFIG_QUOTACTL=y
> >  CONFIG_AUTOFS_FS=m
> > --
> > -CONFIG_NFS_FS=y
> 
> why? OK diskless stations ... that is the only application that may
> require 
> it. this is rather special case for generic kernel?
> 
> > +CONFIG_NFS_FS=m
> >  CONFIG_NFS_V3=y
> >  CONFIG_NFS_V4=y
> > --
> > -CONFIG_NFSD=y
> 
> why?
> 
> > +CONFIG_NFSD=m
> >  CONFIG_NFSD_V3=y
> >  CONFIG_NFSD_V4=y
> > --
> > -CONFIG_LOCKD=y
> 
> why (unless it is forced by NFS)?
> 
> > +CONFIG_LOCKD=m
> >  CONFIG_LOCKD_V4=y
> > -CONFIG_EXPORTFS=y
> > -CONFIG_SUNRPC=y
> 
> why?
> 
> > +CONFIG_EXPORTFS=m
> > +CONFIG_SUNRPC=m
> >  CONFIG_SUNRPC_GSS=m
> 
> 

-- 
NEU FÜR ALLE - GMX MediaCenter - für Fotos, Musik, Dateien...
Fotoalbum, File Sharing, MMS, Multimedia-Gruß, GMX FotoService

Jetzt kostenlos anmelden unter http://www.gmx.net

+++ GMX - die erste Adresse für Mail, Message, More! +++


Reply via email to