Re: [kbuild-devel] Re: Remaining undocumented Configure.help symbols

2001-06-01 Thread Jim Freeman


On Thu, May 31, 2001 at 07:10:55PM -0400, Eric S. Raymond wrote:
> Jim Freeman <[EMAIL PROTECTED]>:
> > The verbiage in these entries seems 'make config' / text-interaction
> > -centric.  Granted, that's likely the context most kernel builders will
> > use, but it would seem fair to at least consider a broader audience
> > who may be using more gui-ish tools wrapped around extant content.
> 
> This is a general problem with almost all the existing entries, and
> will have to await a future editing pass for solution.  For now I think
> it's more important to have consistent cues that users can recognize,
> even if they're not literally appropriate.

Agreed - in the meantime, just wanted to have the issue acknowledged
and put on the roadmap.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



Re: [kbuild-devel] Re: Remaining undocumented Configure.help symbols

2001-06-01 Thread Jim Freeman


On Thu, May 31, 2001 at 07:10:55PM -0400, Eric S. Raymond wrote:
 Jim Freeman [EMAIL PROTECTED]:
  The verbiage in these entries seems 'make config' / text-interaction
  -centric.  Granted, that's likely the context most kernel builders will
  use, but it would seem fair to at least consider a broader audience
  who may be using more gui-ish tools wrapped around extant content.
 
 This is a general problem with almost all the existing entries, and
 will have to await a future editing pass for solution.  For now I think
 it's more important to have consistent cues that users can recognize,
 even if they're not literally appropriate.

Agreed - in the meantime, just wanted to have the issue acknowledged
and put on the roadmap.
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



iproute2, ETH_P_ECHO, linux/if_ether.h

2001-05-03 Thread Jim Freeman

iproute2 compiles against 2.4.4 die.


Documentation/Changes sez:

Ip-route2 
-
o  


But iproute2's lib/ll_proto.c  tries to use ETH_P_ECHO from
linux/if_ether.h, and that manifest constant has (recently ?)
been yanked?


--- linux-2.4.2/include/linux/if_ether.hFri Oct 27 12:03:14 2000
+++ linux-2.4.4/include/linux/if_ether.hThu Apr 19 09:38:50 2001
@@ -37,12 +37,14 @@
  */
 
 #define ETH_P_LOOP 0x0060  /* Ethernet Loopback packet */
-#define ETH_P_ECHO 0x0200  /* Ethernet Echo packet */
-#define ETH_P_PUP  0x0400  /* Xerox PUP packet */
+#define ETH_P_PUP  0x0200  /* Xerox PUP packet */
+#define ETH_P_PUPAT0x0201  /* Xerox PUP Addr Trans packet  */
 #define ETH_P_IP   0x0800  /* Internet Protocol packet */
...
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



iproute2, ETH_P_ECHO, linux/if_ether.h

2001-05-03 Thread Jim Freeman

iproute2 compiles against 2.4.4 die.


Documentation/Changes sez:

Ip-route2 
-
o  ftp://ftp.inr.ac.ru/ip-routing/iproute2-2.2.4-now-ss991023.tar.gz


But iproute2's lib/ll_proto.c  tries to use ETH_P_ECHO from
linux/if_ether.h, and that manifest constant has (recently ?)
been yanked?


--- linux-2.4.2/include/linux/if_ether.hFri Oct 27 12:03:14 2000
+++ linux-2.4.4/include/linux/if_ether.hThu Apr 19 09:38:50 2001
@@ -37,12 +37,14 @@
  */
 
 #define ETH_P_LOOP 0x0060  /* Ethernet Loopback packet */
-#define ETH_P_ECHO 0x0200  /* Ethernet Echo packet */
-#define ETH_P_PUP  0x0400  /* Xerox PUP packet */
+#define ETH_P_PUP  0x0200  /* Xerox PUP packet */
+#define ETH_P_PUPAT0x0201  /* Xerox PUP Addr Trans packet  */
 #define ETH_P_IP   0x0800  /* Internet Protocol packet */
...
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



radio-miropcm20.c compile barf [2.2.18pre15 / CONFIG_RADIO_MIROPCM20]

2000-10-14 Thread Jim Freeman

Because CONFIG_RADIO_MIROPCM20 requires CONFIG_ACI_MIXER to
successfully compile, I propose the attached patch.


If CONFIG_ACI_MIXER is not set, the compile barfs with:

cc -D__KERNEL__ -I/tmp/linux/include -Wall -Wstrict-prototypes -O2 
-fomit-frame-pointer -fno-strict-aliasing -pipe -fno-strength-reduce -m386 -DCPU=386   
-c -o radio-miropcm20.o radio-miropcm20.c
In file included from radio-miropcm20.c:13:
../sound/lowlevel/miroaci.h:9: #error Compiling a driver that needs the ACI-mixer but 
without ACI-mixer support


Plus the comment at the top of drivers/char/radio-miropcm20.c states:

* This driver relies on the aci mixer (drivers/sound/lowlevel/aci.c)

...jfree


--- linux/drivers/char/Config.in2000/10/15 02:34:00 1.1
+++ linux/drivers/char/Config.in2000/10/15 02:53:00
@@ -139,7 +139,7 @@
 hex '  Aztech/Packard Bell I/O port (0x350 or 0x358)' CONFIG_RADIO_AZTECH_PORT 350
   fi
   dep_tristate 'ADS Cadet AM/FM Tuner' CONFIG_RADIO_CADET $CONFIG_VIDEO_DEV
-  dep_tristate 'Miro PCM20 Radio' CONFIG_RADIO_MIROPCM20 $CONFIG_VIDEO_DEV
+  dep_tristate 'Miro PCM20 Radio' CONFIG_RADIO_MIROPCM20 $CONFIG_VIDEO_DEV 
+$CONFIG_ACI_MIXER
   dep_tristate 'GemTek Radio Card support' CONFIG_RADIO_GEMTEK $CONFIG_VIDEO_DEV
   if [ "$CONFIG_RADIO_GEMTEK" = "y" ]; then
 hex '  GemTek i/o port (0x20c, 0x24c, 0x248, 0x30c, or 0x34c)' 
CONFIG_RADIO_GEMTEK_PORT 34c



hfmodem compile deaths [2.2.18pre15 / CONFIG_HFMODEM]

2000-10-14 Thread Jim Freeman

FYI

Dunno how to fix, but using the attached minimal .config,
2.2.18pre15 compiles die when CONFIG_HFMODEM=y.

The deaths differ depending on the compiler used.


Using gcc version 2.95.2:
=
make[3]: Entering directory `/tmp/linux/drivers/char/hfmodem'
cc -D__KERNEL__ -I/tmp/linux/include -Wall -Wstrict-prototypes -O2 
-fomit-frame-pointer -fno-strict-aliasing -pipe -fno-strength-reduce -m486 
-malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=686   -c -o refclock.o 
refclock.c
refclock.c: In function `hfmodem_refclock_current':
refclock.c:136: Invalid `asm' statement:
V
refclock.c:136: fixed or forbidden register 0 (ax) was spilled for class AREG.
make[3]: *** [refclock.o] Error 1
make[3]: Leaving directory `/tmp/linux/drivers/char/hfmodem'
make[2]: *** [_subdir_hfmodem] Error 2
make[2]: Leaving directory `/tmp/linux/drivers/char'
make[1]: *** [_subdir_char] Error 2
make[1]: Leaving directory `/tmp/linux/drivers'
make: *** [_dir_drivers] Error 2



Using egcs-2.91.66:
===
make[1]: Leaving directory `/autobuild/tmp/linux/arch/i386/lib'
cc -D__KERNEL__ -I/autobuild/tmp/linux/include -E -C -P -I/autobuild/tmp/linux/include 
-imacros /autobuild/tmp/linux/include/asm-i386/page_offset.h -Ui386 
arch/i386/vmlinux.lds.S >arch/i386/vmlinux.lds
ld -m elf_i386 -T /autobuild/tmp/linux/arch/i386/vmlinux.lds -e stext 
arch/i386/kernel/head.o arch/i386/kernel/init_task.o init/main.o init/version.o \
--start-group \
arch/i386/kernel/kernel.o arch/i386/mm/mm.o kernel/kernel.o mm/mm.o fs/fs.o 
ipc/ipc.o \
fs/filesystems.a \
net/network.a \
drivers/block/block.a drivers/char/char.o drivers/misc/misc.a 
drivers/net/net.a drivers/net/hamradio/hamradio.a \
/autobuild/tmp/linux/arch/i386/lib/lib.a /autobuild/tmp/linux/lib/lib.a 
/autobuild/tmp/linux/arch/i386/lib/lib.a \
--end-group \
-o vmlinux
drivers/char/char.o: In function `hfmodem_setup':
   
drivers/char/char.o(.text.init+0x880): undefined reference to 
`hfmodem_refclock_setscale'
make: *** [vmlinux] Error 1


[ and indeed, hfmodem_refclock_setscale is nowhere defined in the source ]


#
# Automatically generated make config: don't edit
#

#
# Code maturity level options
#
# CONFIG_EXPERIMENTAL is not set

#
# Processor type and features
#
# CONFIG_M386 is not set
# CONFIG_M486 is not set
# CONFIG_M586 is not set
# CONFIG_M586TSC is not set
CONFIG_M686=y
CONFIG_X86_WP_WORKS_OK=y
CONFIG_X86_INVLPG=y
CONFIG_X86_BSWAP=y
CONFIG_X86_POPAD_OK=y
CONFIG_X86_TSC=y
CONFIG_X86_GOOD_APIC=y
# CONFIG_MICROCODE is not set
# CONFIG_X86_MSR is not set
# CONFIG_X86_CPUID is not set
CONFIG_1GB=y
# CONFIG_2GB is not set
# CONFIG_MATH_EMULATION is not set
# CONFIG_MTRR is not set
# CONFIG_SMP is not set

#
# Loadable module support
#
# CONFIG_MODULES is not set

#
# General setup
#
# CONFIG_NET is not set
# CONFIG_PCI is not set
# CONFIG_MCA is not set
# CONFIG_VISWS is not set
# CONFIG_SYSVIPC is not set
# CONFIG_BSD_PROCESS_ACCT is not set
# CONFIG_SYSCTL is not set
# CONFIG_BINFMT_AOUT is not set
# CONFIG_BINFMT_ELF is not set
# CONFIG_BINFMT_MISC is not set
CONFIG_PARPORT=y
# CONFIG_PARPORT_PC is not set
# CONFIG_APM is not set
# CONFIG_TOSHIBA is not set

#
# Plug and Play support
#
# CONFIG_PNP is not set

#
# Block devices
#
# CONFIG_BLK_DEV_FD is not set
# CONFIG_BLK_DEV_IDE is not set

#
# Please see Documentation/ide.txt for help/info on IDE drives
#
# CONFIG_BLK_DEV_HD_ONLY is not set

#
# Additional Block Devices
#
# CONFIG_BLK_DEV_LOOP is not set
# CONFIG_BLK_DEV_MD is not set
# CONFIG_BLK_DEV_RAM is not set
# CONFIG_BLK_DEV_XD is not set
CONFIG_PARIDE_PARPORT=y
# CONFIG_PARIDE is not set
# CONFIG_BLK_DEV_HD is not set

#
# Telephony Support
#
# CONFIG_PHONE is not set
# CONFIG_PHONE_IXJ is not set

#
# SCSI support
#
# CONFIG_SCSI is not set

#
# I2O device support
#
# CONFIG_I2O is not set
# CONFIG_I2O_PCI is not set
# CONFIG_I2O_BLOCK is not set
# CONFIG_I2O_SCSI is not set

#
# Amateur Radio support
#
CONFIG_HAMRADIO=y

#
# Misc. hamradio protocols
#
CONFIG_HFMODEM=y
# CONFIG_HFMODEM_SBC is not set
# CONFIG_HFMODEM_WSS is not set

#
# ISDN subsystem
#

#
# Old CD-ROM drivers (not SCSI, not IDE)
#
# CONFIG_CD_NO_IDESCSI is not set

#
# Character devices
#
# CONFIG_VT is not set
# CONFIG_SERIAL is not set
# CONFIG_SERIAL_EXTENDED is not set
# CONFIG_SERIAL_NONSTANDARD is not set
# CONFIG_UNIX98_PTYS is not set
# CONFIG_PRINTER is not set
# CONFIG_MOUSE is not set

#
# Joysticks
#
# CONFIG_JOYSTICK is not set
# CONFIG_QIC02_TAPE is not set
# CONFIG_WATCHDOG is not set
# CONFIG_NVRAM is not set
# CONFIG_RTC is not set

#
# Video For Linux
#
# CONFIG_VIDEO_DEV is not set
# CONFIG_DTLK is not set

#
# Ftape, the floppy tape device driver
#
# CONFIG_FTAPE is not set

#
# USB support
#
# CONFIG_USB is not set

#
# 

hfmodem compile deaths [2.2.18pre15 / CONFIG_HFMODEM]

2000-10-14 Thread Jim Freeman

FYI

Dunno how to fix, but using the attached minimal .config,
2.2.18pre15 compiles die when CONFIG_HFMODEM=y.

The deaths differ depending on the compiler used.


Using gcc version 2.95.2:
=
make[3]: Entering directory `/tmp/linux/drivers/char/hfmodem'
cc -D__KERNEL__ -I/tmp/linux/include -Wall -Wstrict-prototypes -O2 
-fomit-frame-pointer -fno-strict-aliasing -pipe -fno-strength-reduce -m486 
-malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=686   -c -o refclock.o 
refclock.c
refclock.c: In function `hfmodem_refclock_current':
refclock.c:136: Invalid `asm' statement:
V
refclock.c:136: fixed or forbidden register 0 (ax) was spilled for class AREG.
make[3]: *** [refclock.o] Error 1
make[3]: Leaving directory `/tmp/linux/drivers/char/hfmodem'
make[2]: *** [_subdir_hfmodem] Error 2
make[2]: Leaving directory `/tmp/linux/drivers/char'
make[1]: *** [_subdir_char] Error 2
make[1]: Leaving directory `/tmp/linux/drivers'
make: *** [_dir_drivers] Error 2



Using egcs-2.91.66:
===
make[1]: Leaving directory `/autobuild/tmp/linux/arch/i386/lib'
cc -D__KERNEL__ -I/autobuild/tmp/linux/include -E -C -P -I/autobuild/tmp/linux/include 
-imacros /autobuild/tmp/linux/include/asm-i386/page_offset.h -Ui386 
arch/i386/vmlinux.lds.S arch/i386/vmlinux.lds
ld -m elf_i386 -T /autobuild/tmp/linux/arch/i386/vmlinux.lds -e stext 
arch/i386/kernel/head.o arch/i386/kernel/init_task.o init/main.o init/version.o \
--start-group \
arch/i386/kernel/kernel.o arch/i386/mm/mm.o kernel/kernel.o mm/mm.o fs/fs.o 
ipc/ipc.o \
fs/filesystems.a \
net/network.a \
drivers/block/block.a drivers/char/char.o drivers/misc/misc.a 
drivers/net/net.a drivers/net/hamradio/hamradio.a \
/autobuild/tmp/linux/arch/i386/lib/lib.a /autobuild/tmp/linux/lib/lib.a 
/autobuild/tmp/linux/arch/i386/lib/lib.a \
--end-group \
-o vmlinux
drivers/char/char.o: In function `hfmodem_setup':
   
drivers/char/char.o(.text.init+0x880): undefined reference to 
`hfmodem_refclock_setscale'
make: *** [vmlinux] Error 1


[ and indeed, hfmodem_refclock_setscale is nowhere defined in the source ]


#
# Automatically generated make config: don't edit
#

#
# Code maturity level options
#
# CONFIG_EXPERIMENTAL is not set

#
# Processor type and features
#
# CONFIG_M386 is not set
# CONFIG_M486 is not set
# CONFIG_M586 is not set
# CONFIG_M586TSC is not set
CONFIG_M686=y
CONFIG_X86_WP_WORKS_OK=y
CONFIG_X86_INVLPG=y
CONFIG_X86_BSWAP=y
CONFIG_X86_POPAD_OK=y
CONFIG_X86_TSC=y
CONFIG_X86_GOOD_APIC=y
# CONFIG_MICROCODE is not set
# CONFIG_X86_MSR is not set
# CONFIG_X86_CPUID is not set
CONFIG_1GB=y
# CONFIG_2GB is not set
# CONFIG_MATH_EMULATION is not set
# CONFIG_MTRR is not set
# CONFIG_SMP is not set

#
# Loadable module support
#
# CONFIG_MODULES is not set

#
# General setup
#
# CONFIG_NET is not set
# CONFIG_PCI is not set
# CONFIG_MCA is not set
# CONFIG_VISWS is not set
# CONFIG_SYSVIPC is not set
# CONFIG_BSD_PROCESS_ACCT is not set
# CONFIG_SYSCTL is not set
# CONFIG_BINFMT_AOUT is not set
# CONFIG_BINFMT_ELF is not set
# CONFIG_BINFMT_MISC is not set
CONFIG_PARPORT=y
# CONFIG_PARPORT_PC is not set
# CONFIG_APM is not set
# CONFIG_TOSHIBA is not set

#
# Plug and Play support
#
# CONFIG_PNP is not set

#
# Block devices
#
# CONFIG_BLK_DEV_FD is not set
# CONFIG_BLK_DEV_IDE is not set

#
# Please see Documentation/ide.txt for help/info on IDE drives
#
# CONFIG_BLK_DEV_HD_ONLY is not set

#
# Additional Block Devices
#
# CONFIG_BLK_DEV_LOOP is not set
# CONFIG_BLK_DEV_MD is not set
# CONFIG_BLK_DEV_RAM is not set
# CONFIG_BLK_DEV_XD is not set
CONFIG_PARIDE_PARPORT=y
# CONFIG_PARIDE is not set
# CONFIG_BLK_DEV_HD is not set

#
# Telephony Support
#
# CONFIG_PHONE is not set
# CONFIG_PHONE_IXJ is not set

#
# SCSI support
#
# CONFIG_SCSI is not set

#
# I2O device support
#
# CONFIG_I2O is not set
# CONFIG_I2O_PCI is not set
# CONFIG_I2O_BLOCK is not set
# CONFIG_I2O_SCSI is not set

#
# Amateur Radio support
#
CONFIG_HAMRADIO=y

#
# Misc. hamradio protocols
#
CONFIG_HFMODEM=y
# CONFIG_HFMODEM_SBC is not set
# CONFIG_HFMODEM_WSS is not set

#
# ISDN subsystem
#

#
# Old CD-ROM drivers (not SCSI, not IDE)
#
# CONFIG_CD_NO_IDESCSI is not set

#
# Character devices
#
# CONFIG_VT is not set
# CONFIG_SERIAL is not set
# CONFIG_SERIAL_EXTENDED is not set
# CONFIG_SERIAL_NONSTANDARD is not set
# CONFIG_UNIX98_PTYS is not set
# CONFIG_PRINTER is not set
# CONFIG_MOUSE is not set

#
# Joysticks
#
# CONFIG_JOYSTICK is not set
# CONFIG_QIC02_TAPE is not set
# CONFIG_WATCHDOG is not set
# CONFIG_NVRAM is not set
# CONFIG_RTC is not set

#
# Video For Linux
#
# CONFIG_VIDEO_DEV is not set
# CONFIG_DTLK is not set

#
# Ftape, the floppy tape device driver
#
# CONFIG_FTAPE is not set

#
# USB support
#
# CONFIG_USB is not set

#
#