[1299] in linux-net channel archive
Re: Problem PCMCIA and network initialization
daemon@ATHENA.MIT.EDU (Theodore Ts'o)
Tue Oct 31 22:11:39 1995
Date: Tue, 31 Oct 1995 16:39:16 -0500
From: "Theodore Ts'o" <tytso@mit.edu>
To: "Matti E. Aarnio [OH1MQK]" <mea@mea.cc.utu.fi>
Cc: linux-kernel@vger.rutgers.edu, linux-net@vger.rutgers.edu
In-Reply-To: mea@mea.cc.utu.fi's message of Tue, 31 Oct 1995 20:36:46 +0200 (EET),
<95Oct31.203654+0200eet_dst.63244-4+1@mea.utu.fi>
From: "Matti E. Aarnio [OH1MQK]" <mea@mea.cc.utu.fi>
Date: Tue, 31 Oct 1995 20:36:46 +0200 (EET)
Please send me your current kernel's .config, if I could
reproduce the phenomena with it.
OK, here's all you need to reproduce the problem which I reported.
- Ted
Script started on Tue Oct 31 16:34:02 1995
<tytso.root@rsts-11> {/home/tytso}, level 3
500# cat /proc/version
Linux version 1.3.37 (tytso@rsts-11) (gcc version 2.6.3) #2 Tue Oct 31 00:56:24 EST 1995
<tytso.root@rsts-11> {/home/tytso}, level 3
501# cat /usr/src/linux/.config
#
# Automatically generated make config: don't edit
#
#
# General setup
#
# CONFIG_MATH_EMULATION is not set
CONFIG_NET=y
# CONFIG_MAX_16M is not set
CONFIG_PCI=y
CONFIG_PCI_OPTIMIZE=y
CONFIG_SYSVIPC=y
CONFIG_BINFMT_ELF=y
# CONFIG_KERNEL_ELF is not set
CONFIG_M486=y
# CONFIG_SMP is not set
#
# Loadable module support
#
CONFIG_MODVERSIONS=y
#
# block devices
#
CONFIG_BLK_DEV_FD=y
CONFIG_ST506=y
#
# Please see drivers/block/README.ide for help/info on IDE drives
#
# CONFIG_BLK_DEV_HD is not set
CONFIG_BLK_DEV_IDE=y
# CONFIG_BLK_DEV_TRITON is not set
CONFIG_BLK_DEV_IDECD=y
# CONFIG_BLK_DEV_XD is not set
#
# Networking options
#
# CONFIG_FIREWALL is not set
CONFIG_INET=y
# CONFIG_IP_FORWARD is not set
# CONFIG_IP_MULTICAST is not set
# CONFIG_IP_ACCT is not set
# CONFIG_NET_IPIP is not set
#
# (it is safe to leave these untouched)
#
# CONFIG_INET_PCTCP is not set
# CONFIG_INET_RARP is not set
CONFIG_INET_SNARL=y
# CONFIG_TCP_NAGLE_OFF is not set
CONFIG_IP_NOSR=y
CONFIG_SKB_LARGE=y
# CONFIG_IPX is not set
# CONFIG_ATALK is not set
# CONFIG_AX25 is not set
# CONFIG_NETLINK is not set
#
# SCSI support
#
CONFIG_SCSI=y
#
# SCSI support type (disk, tape, CDrom)
#
# CONFIG_BLK_DEV_SD is not set
CONFIG_CHR_DEV_ST=y
CONFIG_BLK_DEV_SR=y
CONFIG_CHR_DEV_SG=y
#
# Some SCSI devices (e.g. CD jukebox) support multiple LUNs
#
# CONFIG_SCSI_MULTI_LUN is not set
# CONFIG_SCSI_CONSTANTS is not set
#
# SCSI low-level drivers
#
CONFIG_SCSI_AHA152X=m
# CONFIG_SCSI_AHA1542 is not set
# CONFIG_SCSI_AHA1740 is not set
# CONFIG_SCSI_AIC7XXX is not set
# CONFIG_SCSI_BUSLOGIC is not set
# CONFIG_SCSI_EATA_DMA is not set
# CONFIG_SCSI_EATA_PIO is not set
# CONFIG_SCSI_U14_34F is not set
# CONFIG_SCSI_FUTURE_DOMAIN is not set
# CONFIG_SCSI_GENERIC_NCR5380 is not set
# CONFIG_SCSI_NCR53C7xx is not set
# CONFIG_SCSI_IN2000 is not set
# CONFIG_SCSI_PAS16 is not set
# CONFIG_SCSI_QLOGIC is not set
# CONFIG_SCSI_SEAGATE is not set
# CONFIG_SCSI_T128 is not set
# CONFIG_SCSI_ULTRASTOR is not set
# CONFIG_SCSI_7000FASST is not set
# CONFIG_SCSI_EATA is not set
# CONFIG_SCSI_NCR53C406A is not set
#
# Network device support
#
CONFIG_NETDEVICES=y
CONFIG_DUMMY=m
CONFIG_SLIP=y
# CONFIG_SLIP_COMPRESSED is not set
CONFIG_PPP=y
#
# CCP compressors for PPP are only built as modules.
#
# CONFIG_SCC is not set
# CONFIG_PLIP is not set
# CONFIG_EQUALIZER is not set
# CONFIG_NET_ALPHA is not set
# CONFIG_NET_VENDOR_SMC is not set
# CONFIG_LANCE is not set
# CONFIG_NET_VENDOR_3COM is not set
# CONFIG_NET_ISA is not set
# CONFIG_NET_EISA is not set
CONFIG_NET_POCKET=y
# CONFIG_ATP is not set
# CONFIG_DE600 is not set
# CONFIG_DE620 is not set
# CONFIG_TR is not set
# CONFIG_ARCNET is not set
#
# CD-ROM drivers (not for SCSI or IDE/ATAPI drives)
#
# CONFIG_CD_NO_IDESCSI is not set
#
# Filesystems
#
# CONFIG_MINIX_FS is not set
# CONFIG_EXT_FS is not set
CONFIG_EXT2_FS=y
# CONFIG_XIA_FS is not set
CONFIG_MSDOS_FS=y
# CONFIG_UMSDOS_FS is not set
CONFIG_PROC_FS=y
CONFIG_NFS_FS=y
CONFIG_ISO9660_FS=y
# CONFIG_HPFS_FS is not set
# CONFIG_SYSV_FS is not set
# CONFIG_SMB_FS is not set
#
# character devices
#
# CONFIG_CYCLADES is not set
# CONFIG_STALDRV is not set
CONFIG_PRINTER=y
# CONFIG_BUSMOUSE is not set
CONFIG_PSMOUSE=y
# CONFIG_82C710_MOUSE is not set
# CONFIG_MS_BUSMOUSE is not set
# CONFIG_ATIXL_BUSMOUSE is not set
# CONFIG_QIC02_TAPE is not set
#
# Sound
#
# CONFIG_SOUND is not set
#
# Kernel hacking
#
# CONFIG_PROFILE is not set
<tytso.root@rsts-11> {/home/tytso}, level 3
502# ifconfig
<tytso.root@rsts-11> {/home/tytso}, level 3
503# cat /proc/dev/ne net/dev
Inter-| Receive | Transmit
face |packets errs drop fifo frame|packets errs drop fifo colls carrier
lo: 0 0 0 0 0 0 0 0 0 0 0
slip_proto: No statistics available.
eth0: No statistics available.
eth1: No statistics available.
eth2: No statistics available.
eth3: No statistics available.
<tytso.root@rsts-11> {/home/tytso}, level 3
504# ifconfig eth0 18.172.1.2 netmask 255.255.0.0 broadcast 18.172.0.0
<tytso.root@rsts-11> {/home/tytso}, level 3
505# /sbin/route add 18.172.0.0 netmask 255.255.0.0
route: netmask doesn't make sense with host route
<tytso.root@rsts-11> {/home/tytso}, level 3
506# /sbin/route add- -net 18.172.0.0 netmask 255.255.0.0
<tytso.root@rsts-11> {/home/tytso}, level 3
507# ping 18.172.0.1
PING 18.172.0.1 (18.172.0.1): 56 data bytes
Segmentation fault
<tytso.root@rsts-11> {/home/tytso}, level 3
508# /usr/src/linux/scripts/ksymoops /System.map
Using `/System.map' to map addresses to symbols.
general protection: 0000
CPU: 0
EIP: 0010:00000004
EFLAGS: 00010202
eax: 00000001 ebx: 001be07c ecx: 001be07c edx: 00000000
esi: 00091a60 edi: 001be07c ebp: 00000000 esp: 013f9d84
ds: 0018 es: 0018 fs: 002b gs: 002b ss: 0018
Process ping (pid: 91, process nr: 20, stackpage=013f9000)
Stack: 0013a83a 000919f0 001be07c 0100ac12 00091a60 00091a04 001be07c 001be07c
00091a60 001425b6 000051a8 00142633 00091a60 001be07c 00000001 01559c00
00000000 000051a8 00000000 013f9f14 00000000 00000001 00000003 001cca94
Call Trace: 0013a83a 001425b6 00142633 0201ac12 00143073 00142e08 0014d1ab
001381a2 0011b410 0011b9c6 0011aeef 00138a7b 0010a7c9
Code: 0a a0 00 f0 c3 e2 00 f0 0a a0 00 f0 0a a0 00 f0 54 ff 00 f0
Segmentation fault
Trace: 13a83a <_dev_queue_xmit+62/220>
Trace: 1425b6 <_ip_build_xmit+b3e/c50>
Trace: 142633 <_ip_build_xmit+bbb/c50>
Trace: 201ac12
Trace: 143073 <_raw_sendto+17b/190>
Trace: 142e08 <_raw_getfrag>
Trace: 14d1ab <_inet_sendto+ab/d0>
Trace: 1381a2 <_sys_sendto+10a/130>
Trace: 11b410 <_share_page+e8/170>
Trace: 11b9c6 <_do_no_page+2ce/3e0>
Trace: 11aeef <_verify_area+27/180>
Trace: 138a7b <_sys_socketcall+203/330>
Trace: 10a7c9 <_system_call+59/a0>
Code: orb 0xe2c3f000(%eax),%ah
Code: addb %dh,%al
Code: orb 0xa00af000(%eax),%ah
Code: addb %dh,%al
Code: pushl %esp
Code: incl (%eax)
<tytso.root@rsts-11> {/home/tytso}, level 3
509#
Script done on Tue Oct 31 16:35:42 1995