Gentoo Archives: gentoo-releng

From: Chris Gianelloni <wolf31o2@g.o>
To: zhen@g.o
Cc: roger55@g.o, gentoo-releng@l.g.o
Subject: Re: [gentoo-releng] 2.6.X configs
Date: Fri, 14 May 2004 14:50:51
Message-Id: 1084546434.23941.118.camel@localhost
In Reply to: Re: [gentoo-releng] 2.6.X configs by John Davis
1 On Fri, 2004-05-14 at 08:09, John Davis wrote:
2 > We could try it, but I would really rather use roger55's for the generic
3 > LiveCDs because it has been more or less hand tailored for that purpose.
4
5 That's fine by me. Where should I post comments about the config? Here?
6
7 Power management: Should we be turning on all of the power management
8 for everything? I only ask this because the Gentoo LiveCD is more of a
9 build/rescue environment than a live demo. For example, I can see the
10 reasoning for turning on ACPI, but not ACPI sleep. The same can be said
11 for CPUfreq (which you have disabled).
12
13 Block devices: CONFIG_CISS_SCSI_TAPE? Tape drives? Why? For rescue
14 purposes? Should we not then include any number of tape software? I
15 can see reasons for it, but I tend to think that it just is another set
16 of modules to compile/store on the CD that will rarely if ever be used.
17 At the very least make it a module. You definitely want the DAC960
18 module (CONFIG_BLK_DEV_DAC960) to support Mylex RAID controllers, which
19 are quite common.
20
21 IDE: Turn on the CONFIG_IDE_TASK_IOCTL, at least. This is invaluable if
22 Gentoo LiveCD's are to be used as rescue discs. Also, should we include
23 the chipset drivers which require special kernel parameters? I'm not
24 opposed to it, just asking.
25
26 SCSI: CONFIG_BLK_DEV_SD should be a module, since it isn't required to
27 boot the livecd. The same can be done for CONFIG_BLK_DEV_SR, since none
28 of the SCSI drivers are compiled in statically, and doscsi is required
29 to load them all anyway. Is there a reason why you chose to enable
30 attributes (CONFIG_SCSI_SPI_ATTRS)? Why not CONFIG_SCSI_AACRAID or
31 CONFIG_SCSI_MEGARAID? How about CONFIG_SCSI_GENERIC_NCR5380,
32 CONFIG_SCSI_IPS, CONFIG_SCSI_INIA100, CONFIG_SCSI_PPA,
33 CONFIG_SCSI_QLOGIC_1280, CONFIG_SCSI_QLA21XX, CONFIG_SCSI_QLA22XX,
34 CONFIG_SCSI_QLA2300, CONFIG_SCSI_QLA2322, CONFIG_SCSI_QLA6312,
35 CONFIG_SCSI_QLA6322, CONFIG_SCSI_SYM53C41, or CONFIG_SCSI_DC395x?
36
37 Networking: There's no need for CONFIG_NETFILTER on the LiveCD.
38 CONFIG_IPX? I can't see a reason for this IPX. CONFIG_TUN either.
39
40 Input: CONFIG_INPUT_TSDEV_SCREEN_X and CONFIG_INPUT_TSDEV_SCREEN_Y
41 should probably be 1024 and 768 since the defaults are to use a 1024x768
42 framebuffer. Also, turn on CONFIG_INPUT_JOYDEV, since you turn on the
43 game port below. I would also leave all of the game port modules,
44 simply due to some really strange input devices out there which can use
45 the game port. That and if we get together, we can make a single kernel
46 for both LiveCD and GameCD, which would make bug fixing easier.
47
48 Joystick: Turn on CONFIG_INPUT_JOYSTICK and set everything else as
49 modules. Be sure to turn on the IFORCE support, too.
50
51 Serial: CONFIG_LEGACY_PTYS is not needed, as CONFIG_UNIX98_PTYS support
52 is already enabled. It won't hurt anything, it is just redundant.
53
54 IPMI: Necessary on a LiveCD?
55
56 Watchdog: Necessary on a LiveCD?
57
58 Character: You want CONFIG_RTC if you have CONFIG_SMP.
59
60 AGP: Set it all as modules. I use it on the GameCD, and it allows for
61 a much nicer X on any X CD that we may produce. The same for DRM.
62
63 I2C: Necessary on a LiveCD?
64
65 Sound: Definitely compile this as modules. If you want an exact list
66 of what to do, I'll provide one. The scripts that I have for the
67 LiveCD's already work great with ALSA, so I would enable that. You will
68 need to leave CONFIG_SND_MIXART unset, or at least I could never get a
69 kernel to compile with it enabled.
70
71 USB: CONFIG_USB_HIDDEV should be enabled only because it is the
72 "generic" interface to USB and is needed for some USB monitors. I don't
73 think there's a need for CONFIG_USB_MDC800, CONFIG_USB_MICROTEK, or
74 CONFIG_USB_HPUSBSCSI on a LiveCD. I also nee no need for
75 CONFIG_USB_DABUSB. I think you only need CONFIG_USB_SERIAL=m and
76 CONFIG_USB_SERIAL_GENERIC=y under the USB Serial. Everything else is
77 related to hardware devices which we will not have software available
78 for on the LiveCD.
79
80 File systems: Don't enable CONFIG_NTFS_RW as it is completely useless.
81 Don't enable CONFIG_DEVFS_MOUNT as the init scripts take care of it in a
82 much cleaner (for Gentoo) manner. You should enable CONFIG_SMB_FS, so
83 people can read files from Windows machines.
84
85 CryptoAPI: CONFIG_CRYPTO_AES must be set for encrypted loopback.
86
87 > I am no expert either, but I think that it has something to do with APIC
88 > and SMP not playing nicely with all drivers. I am sure roger or livewire
89 > could comment more.
90
91 I haven't run across one yet, but I'm not going to discount the
92 possibility.
93
94 --
95 Chris Gianelloni
96 Developer, Gentoo Linux
97 Games Team
98
99 Is your power animal a penguin?

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-releng] 2.6.X configs John Davis <zhen@g.o>
Re: [gentoo-releng] 2.6.X configs Donnie Berkholz <spyderous@g.o>