lkml.org 
[lkml]   [1997]   [Jul]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectlinux kernel

Hi,
I am having strange and frustrating problems with my linux kernel.

It started with the installation of a sound card. I re-made the kernel
and it worked fine. But i set the IRQ wrong, and had some problems.
That was 3 days ago, and since then i have been trying to re-make a
kernel with a different IRQ (or even without a soundcard at all).
But i can no longer compile ANY KERNEL WHATSOEVER.

I am running linux 2.0.0, slackware 96. I have a SCSI card (which works)
and PPP compiled into my kernel.

Here is the .config file

#
# Automatically generated by make menuconfig: don't edit
#

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

#
# Loadable module support
#
CONFIG_MODULES=y
# CONFIG_MODVERSIONS is not set
# CONFIG_KERNELD is not set

#
# General setup
#
# CONFIG_MATH_EMULATION is not set
CONFIG_NET=y
# CONFIG_MAX_16M is not set
CONFIG_PCI=y
CONFIG_SYSVIPC=y
CONFIG_BINFMT_AOUT=y
CONFIG_BINFMT_ELF=y
CONFIG_KERNEL_ELF=y
CONFIG_M586=y

#
# Floppy, IDE, and other block devices
#
CONFIG_BLK_DEV_FD=y
CONFIG_BLK_DEV_IDE=y
# CONFIG_BLK_DEV_HD_IDE is not set
CONFIG_BLK_DEV_IDECD=y
# CONFIG_BLK_DEV_IDETAPE is not set
# CONFIG_BLK_DEV_IDE_PCMCIA is not set
CONFIG_BLK_DEV_CMD640=y
# CONFIG_BLK_DEV_TRITON is not set
CONFIG_BLK_DEV_RZ1000=y
# CONFIG_IDE_CHIPSETS is not set
# 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

#
# Networking options
#
# CONFIG_FIREWALL is not set
# CONFIG_NET_ALIAS 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_INET_PCTCP is not set
# CONFIG_INET_RARP is not set
# CONFIG_NO_PATH_MTU_DISCOVERY 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
# CONFIG_BLK_DEV_SD is not set
# CONFIG_CHR_DEV_ST is not set
# CONFIG_BLK_DEV_SR is not set
# CONFIG_CHR_DEV_SG is not set
# CONFIG_SCSI_MULTI_LUN is not set
# CONFIG_SCSI_CONSTANTS is not set

#
# SCSI low-level drivers
#
# CONFIG_SCSI_7000FASST is not set
# CONFIG_SCSI_AHA152X is not set
# CONFIG_SCSI_AHA1542 is not set
# CONFIG_SCSI_AHA1740 is not set
# CONFIG_SCSI_AIC7XXX is not set
# CONFIG_SCSI_ADVANSYS is not set
# CONFIG_SCSI_IN2000 is not set
# CONFIG_SCSI_AM53C974 is not set
# CONFIG_SCSI_BUSLOGIC is not set
# CONFIG_SCSI_DTC3280 is not set
# CONFIG_SCSI_EATA is not set
# CONFIG_SCSI_EATA_DMA is not set
# CONFIG_SCSI_EATA_PIO is not set
CONFIG_SCSI_FUTURE_DOMAIN=y
# CONFIG_SCSI_GENERIC_NCR5380 is not set
# CONFIG_SCSI_NCR53C406A is not set
# CONFIG_SCSI_NCR53C7xx is not set
# CONFIG_SCSI_PPA is not set
# CONFIG_SCSI_PAS16 is not set
# CONFIG_SCSI_QLOGIC_FAS is not set
# CONFIG_SCSI_SEAGATE is not set
# CONFIG_SCSI_T128 is not set
# CONFIG_SCSI_U14_34F is not set
# CONFIG_SCSI_ULTRASTOR is not set

#
# Network device support
#
CONFIG_NETDEVICES=y
CONFIG_DUMMY=m
# CONFIG_EQUALIZER is not set
# CONFIG_PLIP is not set
CONFIG_PPP=y
# CONFIG_SLIP is not set
# CONFIG_NET_RADIO is not set
# CONFIG_NET_ETHERNET is not set
# CONFIG_TR is not set
# CONFIG_ARCNET is not set

#
# ISDN subsystem
#
# CONFIG_ISDN is not set

#
# CD-ROM drivers (not for SCSI or IDE/ATAPI drives)
#
# CONFIG_CD_NO_IDESCSI is not set

#
# Filesystems
#
# CONFIG_QUOTA is not set
# CONFIG_LOCK_MANDATORY is not set
CONFIG_MINIX_FS=y
# CONFIG_EXT_FS is not set
CONFIG_EXT2_FS=y
# CONFIG_XIA_FS is not set
CONFIG_FAT_FS=y
CONFIG_MSDOS_FS=y
# CONFIG_VFAT_FS is not set
# CONFIG_UMSDOS_FS is not set
CONFIG_PROC_FS=y
CONFIG_NFS_FS=y
# CONFIG_ROOT_NFS is not set
# CONFIG_SMB_FS is not set
CONFIG_ISO9660_FS=y
# CONFIG_HPFS_FS is not set
# CONFIG_SYSV_FS is not set
# CONFIG_UFS_FS is not set

#
# Character devices
#
CONFIG_SERIAL=y
# CONFIG_DIGI is not set
# CONFIG_CYCLADES is not set
# CONFIG_STALDRV is not set
# CONFIG_RISCOM8 is not set
# CONFIG_PRINTER is not set
# CONFIG_MOUSE is not set
# CONFIG_UMISC is not set
# CONFIG_QIC02_TAPE is not set
# CONFIG_FTAPE is not set
# CONFIG_APM is not set
# CONFIG_WATCHDOG is not set
# CONFIG_RTC is not set

#
# Sound
#
CONFIG_SOUND=y

#
# Kernel hacking
#
# CONFIG_PROFILE is not set

When i try make dep; make clean; make zlilo, i get alot of things compiling,
then at the point of compiling file_table, it crashes, with

general protection: 0000
CPU: 0
EIP: 0010:[<00121e20>]
EFLAGS: 00010202
eax: 00000303 ebx: 63455894 ecx: 0158fee4 edx: 00002ef9
esi: 001d9434 edi: 00000000 ebp: 001ea3d0 esp: 0158feac
ds: 0018 es: 0018 fs: 002b gs: 002b ss: 0018
Process cpp (pid: 1126, process nr: 31, stackpage=0158f000)
Stack: 01317b70 015d9015 00000005 015d900f 001541f5 00154210 001ea3d0 00002ef9
00000001 01317b70 015d9015 0158ff34 00000005 01317b70 00002ef9 00129e12
01317b70 015d900f 00000005 0158ff34 015d900f 015d9015 0158ff64 0158ff68
Call Trace: [<001541f5>] [<00154210>] [<00129e12>] [<00129f31>] [<0012a162>] [<001209b0>] [<00120ad6>]
[<0010a452>]
Code: 66 39 03 75 0d 8b 4c 24 1c 39 4b 04 0f 84 ee 00 00 00 8b 5b

I rand that through the program ksymoops.cc and get

Using `/System.map' to map addresses to symbols.

>>EIP: 121e20 <__iget+3c/1e8>
Trace: 1541f5 <ext2_lookup+61/138>
Trace: 154210 <ext2_lookup+7c/138>
Trace: 129e12 <lookup+da/f4>
Trace: 129f31 <dir_namei+95/128>
Trace: 12a162 <open_namei+52/3cc>
Trace: 1209b0 <do_open+74/168>
Trace: 120ad6 <sys_open+32/58>
Trace: 10a452 <system_call+52/80>

Code: 121e20 <__iget+3c/1e8> cmpw %ax,(%ebx)
Code: 121e23 <__iget+3f/1e8> jne 121e32 <__iget+4e/1e8>
Code: 121e25 <__iget+41/1e8> movl 0x1c(%esp,1),%ecx
Code: 121e29 <__iget+45/1e8> cmpl %ecx,0x4(%ebx)
Code: 121e2c <__iget+48/1e8> je 121f20 <__iget+13c/1e8>
Code: 121e32 <__iget+4e/1e8> movl 0x0(%ebx),%ebx
Code: 121e35 <__iget+51/1e8> nop
Code: 121e36 <__iget+52/1e8> nop
Code: 121e37 <__iget+53/1e8> nop


I have already re-installed the kernel source and the gcc compiler from the CD-ROM.
I don't know what to do next. I don't know if you are the person to write
to, but i am desperate. if i can't make a kernel, then i
am at a dead end.

Please Help !!!

Steve Eichblatt

eichblatt@fnal.gov


\
 
 \ /
  Last update: 2005-03-22 13:40    [W:0.384 / U:0.276 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site