2002-12-30 18:13:25

by Robert P. J. Day

[permalink] [raw]
Subject: my observations about 2.4.21-pre2


since my list is not all that lengthy, i figured i'd
just post my observations here.

based on building a 2.4.21-pre2 kernel on a stock
red hat 8.0 system:


General setup -> Power management support
Disabling Power management support still leaves the *suboptions*
under APM BIOS support active, even thought the option
for APM BIOS support itself is grayed out. is this meaningful?
there seems to some weird dysfunctional relationship between
the options for general power management support, and the
specific ACPI and APM support options.


Under Parallel port support, there are duplicated entries for
"Support for PCMCIA management for PC-style ports", with the
first entry being grayed out, although i'm sure many folks
have already noticed this.


Why can't I deactivate all gigabit ethernet settings in one click,
like I can with 10/100 Mbit settings? as the choices for
gigabit ethernet grow, that list is going to get inconveniently
long. a single top option to deselect all of them would be nice.


If i deselect "Joysticks" completely under "Input core", there are
still a number of available features i can pick under "Joysticks".
granted, some of them appear to be more than just simple joystick
options, but perhaps these screens could be better arranged?
what does it mean to deselect joysticks, only to be able to
still pick some of them later?


finally, firewire compilation error(had to deselect firewire to build):

make -C ieee1394 modules
make[2]: Entering directory `/usr/src/linux-2.4.21-pre2/drivers/ieee1394'
ld -m elf_i386 -e stext -r -o ieee1394.o ieee1394_core.o ieee1394_transactions.o hosts.o highlevel.o csr.o nodemgr.o
gcc -D__KERNEL__ -I/usr/src/linux-2.4.21-pre2/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 -DMODULE -DMODVERSIONS -include /usr/src/linux-2.4.21-pre2/include/linux/modversions.h -nostdinc -iwithprefix include -DKBUILD_BASENAME=sbp2 -c -o sbp2.o sbp2.c
sbp2.c:1515: conflicting types for `sbp2_handle_physdma_write'
sbp2.h:508: previous declaration of `sbp2_handle_physdma_write'
sbp2.c:1531: conflicting types for `sbp2_handle_physdma_read'
sbp2.h:510: previous declaration of `sbp2_handle_physdma_read'
make[2]: *** [sbp2.o] Error 1
make[2]: Leaving directory `/usr/src/linux-2.4.21-pre2/drivers/ieee1394'
make[1]: *** [_modsubdir_ieee1394] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.21-pre2/drivers'
make: *** [_mod_drivers] Error 2


someone else emailed me that he could get firewire to build by
replacing the stock gcc-3.2-7 that came with red hat with
gcc-3.2.1, but i just deselected firewire for the time being.

anyway, that's my contribution, for what it's worth.

rday


2002-12-30 19:20:48

by Alan

[permalink] [raw]
Subject: Re: my observations about 2.4.21-pre2

On Mon, 2002-12-30 at 18:18, Robert P. J. Day wrote:
> Why can't I deactivate all gigabit ethernet settings in one click,
> like I can with 10/100 Mbit settings? as the choices for
> gigabit ethernet grow, that list is going to get inconveniently
> long. a single top option to deselect all of them would be nice.

Follow the example for 10/100 and fix it then send a patch


2002-12-30 19:36:44

by John Bradford

[permalink] [raw]
Subject: Re: my observations about 2.4.21-pre2

> Under Parallel port support, there are duplicated entries for
> "Support for PCMCIA management for PC-style ports", with the
> first entry being grayed out, although i'm sure many folks
> have already noticed this.

A patch to fix this was posted to LKML about 3 months ago.

John.

2002-12-30 19:56:41

by Robert P. J. Day

[permalink] [raw]
Subject: Re: my observations about 2.4.21-pre2

On 30 Dec 2002, Alan Cox wrote:

> On Mon, 2002-12-30 at 18:18, Robert P. J. Day wrote:
> > Why can't I deactivate all gigabit ethernet settings in one click,
> > like I can with 10/100 Mbit settings? as the choices for
> > gigabit ethernet grow, that list is going to get inconveniently
> > long. a single top option to deselect all of them would be nice.
>
> Follow the example for 10/100 and fix it then send a patch

asking someone who's never created a kernel patch to send one in?
boy, you *do* have a lot of faith in your fellow man. ok,
i'll give it a shot.

rday

2002-12-31 07:17:39

by Tomas Szepe

[permalink] [raw]
Subject: Re: my observations about 2.4.21-pre2

> Robert P. J. Day wrote:
>
> > Why can't I deactivate all gigabit ethernet settings in one click,
> > like I can with 10/100 Mbit settings? as the choices for
> > gigabit ethernet grow, that list is going to get inconveniently
> > long. a single top option to deselect all of them would be nice.
>
> [[email protected]]
> Follow the example for 10/100 and fix it then send a patch

diff -urN linux-2.4.21-pre2/drivers/net/Config.in linux-2.4.21-pre2.x/drivers/net/Config.in
--- linux-2.4.21-pre2/drivers/net/Config.in 2002-12-31 08:16:11.000000000 +0100
+++ linux-2.4.21-pre2.x/drivers/net/Config.in 2002-12-31 08:13:24.000000000 +0100
@@ -237,21 +237,22 @@

mainmenu_option next_comment
comment 'Ethernet (1000 Mbit)'
-
-dep_tristate 'Alteon AceNIC/3Com 3C985/NetGear GA620 Gigabit support' CONFIG_ACENIC $CONFIG_PCI
-if [ "$CONFIG_ACENIC" != "n" ]; then
- bool ' Omit support for old Tigon I based AceNICs' CONFIG_ACENIC_OMIT_TIGON_I
-fi
-dep_tristate 'D-Link DL2000-based Gigabit Ethernet support' CONFIG_DL2K $CONFIG_PCI
-dep_tristate 'Intel(R) PRO/1000 Gigabit Ethernet support' CONFIG_E1000 $CONFIG_PCI
-dep_tristate 'MyriCOM Gigabit Ethernet support' CONFIG_MYRI_SBUS $CONFIG_SBUS
-dep_tristate 'National Semiconductor DP83820 support' CONFIG_NS83820 $CONFIG_PCI
-dep_tristate 'Packet Engines Hamachi GNIC-II support' CONFIG_HAMACHI $CONFIG_PCI
-dep_tristate 'Packet Engines Yellowfin Gigabit-NIC support (EXPERIMENTAL)' CONFIG_YELLOWFIN $CONFIG_PCI $CONFIG_EXPERIMENTAL
-dep_tristate 'Realtek 8169 Gigabit Ethernet support' CONFIG_R8169 $CONFIG_PCI
-dep_tristate 'SysKonnect SK-98xx support' CONFIG_SK98LIN $CONFIG_PCI
-dep_tristate 'Broadcom Tigon3 support' CONFIG_TIGON3 $CONFIG_PCI
-
+bool 'Ethernet (1000 Mbit)' CONFIG_NET_GIGABIT_ETH
+if [ "$CONFIG_NET_GIGABIT_ETH" = "y" ]; then
+ dep_tristate 'Alteon AceNIC/3Com 3C985/NetGear GA620 Gigabit support' CONFIG_ACENIC $CONFIG_PCI
+ if [ "$CONFIG_ACENIC" != "n" ]; then
+ bool ' Omit support for old Tigon I based AceNICs' CONFIG_ACENIC_OMIT_TIGON_I
+ fi
+ dep_tristate 'D-Link DL2000-based Gigabit Ethernet support' CONFIG_DL2K $CONFIG_PCI
+ dep_tristate 'Intel(R) PRO/1000 Gigabit Ethernet support' CONFIG_E1000 $CONFIG_PCI
+ dep_tristate 'MyriCOM Gigabit Ethernet support' CONFIG_MYRI_SBUS $CONFIG_SBUS
+ dep_tristate 'National Semiconductor DP83820 support' CONFIG_NS83820 $CONFIG_PCI
+ dep_tristate 'Packet Engines Hamachi GNIC-II support' CONFIG_HAMACHI $CONFIG_PCI
+ dep_tristate 'Packet Engines Yellowfin Gigabit-NIC support (EXPERIMENTAL)' CONFIG_YELLOWFIN $CONFIG_PCI $CONFIG_EXPERIMENTAL
+ dep_tristate 'Realtek 8169 Gigabit Ethernet support' CONFIG_R8169 $CONFIG_PCI
+ dep_tristate 'SysKonnect SK-98xx support' CONFIG_SK98LIN $CONFIG_PCI
+ dep_tristate 'Broadcom Tigon3 support' CONFIG_TIGON3 $CONFIG_PCI
+fi
endmenu

if [ "$CONFIG_PPC_ISERIES" = "y" ]; then