1.3.100 Oops on bootup.

Robert R. Collier (rob@lspace.org)
Fri, 10 May 1996 13:35:35 +0100 (BST)


Hi, I just compiled and attempted to boot linux 1.3.100, however the
kernel failed to boot. Ooopsing in the swapper.

This is a very reproducible bug, the stack and code trace are
identical on each boot.

These details were written down by hand (More information on request):

Console messages:

ide_setup: ide0=cmd640_vlb
Console: 16 point font, 400 scans
Console: colour VGA+ 80x25, 1 virtual console (max 63)
Calibrating delay loop.. ok - 49.77 BogoMIPS
Memory: 15020k/16384k available (540k kernel code, 384k reserved, 440k data)
This processor honours the WP bit even when in supervisor mode. Good.
Swansea University Computer Society NET3.034 for Linux 1.3.77
NET3: Unix domain sockets 0.12 for Linux NET3.033.
Swansea University Computer Society TCP/IP for NET3.034
IP Protocols: ICMP, UDP, TCP
VFS: Diskquotas version dquot_5.6.0 initialized
Checking 386/387 coupling... Ok, fpu using exception 16 error reporting.
Checking 'hlt' instruction... Ok.
Linux version 1.3.100 (root@tanstafl) (gcc version 2.7.2) #42 Fri May 10 11:40:42 BST 1996
Serial driver version 4.12 with no serial options enabled
tty00 at 0x03f8 (irq = 4) is a 16450
tty01 at 0x02f8 (irq = 3) is a 16550A
ide: buggy CMD640B interface on vlb (0x70); serialized, secondary port untouched
hda: Conner Peripherals 1275MB - CFS1275A, 1219MB w/64kB Cache, LBA, CHS=619/64/63
Mode and Timing set to PIO4, Readahead is enabled
hdb: QUANTUM LIGHTNING 540A, 516MB w/96kB Cache, LBA, CHS=560/32/59
Mode and Timing set to PIO3, Readahead is disabled
hdc: CD220E, ATAPI CDROM drive
Mode and Timing set to PIO1, Readahead is enabled
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Unable to handle kernel NULL pointer dereference at virtual address c00000d6
Current->tss.cr3 = 00101000, %cr3 = 00101000
*pde = 00102067
*pte = 00000027
Ooops: 0000
CPU: 0
EIP: 0010: [<001680b1>]
EFLAGS: 00010046
eax: 0000000f ebx: 00000000 ecx: 00000002 edx: 001b47fc
esi: 001b47fc edi: 001b4930 ebp: 001fbf60 esp 001fbf2c
ds: 0018 es: 0018 fs: 002b gs: 0018 ss: 0018
process swapper (pid: 1, processnr: 1, stackpage = 001fb000)
Stack: 001b47fc 00000000 001b4930 001fbf60 0016817e 001b4930 001b47fc 001fbf60
001b4930 001b4a08 00165eb0 00009000 00000216 00000000 00168476 001b4930
00000001 001fbfdc 001a7f3c 0016853a 00000001 001a6b0c 001638b0 001fc018
Call trace: [<0016817e>] [<00165eb0>] [<00168476>] [<0016853a>] [<001638b0>] [<001640ab>] [<00130798>]
[<0010a5e9>] [<0011fa80>] [<0010941a>] [<0010922e>] [<00109235>] [<001093d0>]
Code: 38 83 d6 00 00 00 74 03 89 75 00 5b 5e 5f 5d c3 eb 0d 90 90
Using `/System.map' to map addresses to symbols.
Started kswapd v 1.4.2.2

Ksymoops reports:

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

>>EIP: 1680b1 <save_match+51/70>
Sorry, your objdump -d oops_decode.o can't disassemble--you must upgrade your binutils.

Is this error due to the kernel being compiled as elf?

Here is my autconf.h:

/*
* Automatically generated C config: don't edit
*/

/*
* Code maturity level options
*/
#undef CONFIG_EXPERIMENTAL

/*
* Loadable module support
*/
#define CONFIG_MODULES 1
#undef CONFIG_MODVERSIONS
#define CONFIG_KERNELD 1

/*
* General setup
*/
#undef CONFIG_MATH_EMULATION
#define CONFIG_NET 1
#undef CONFIG_MAX_16M
#undef CONFIG_PCI
#define CONFIG_SYSVIPC 1
#undef CONFIG_BINFMT_AOUT
#define CONFIG_BINFMT_AOUT_MODULE 1
#define CONFIG_BINFMT_ELF 1
#undef CONFIG_BINFMT_JAVA
#define CONFIG_BINFMT_JAVA_MODULE 1
#define CONFIG_KERNEL_ELF 1
#undef CONFIG_M386
#define CONFIG_M486 1
#undef CONFIG_M586
#undef CONFIG_M686

/*
* Floppy, IDE, and other block devices
*/
#undef CONFIG_BLK_DEV_FD
#define CONFIG_BLK_DEV_FD_MODULE 1
#define CONFIG_BLK_DEV_IDE 1

/*
* Please see drivers/block/README.ide for help/info on IDE drives
*/
#undef CONFIG_BLK_DEV_HD_IDE
#define CONFIG_BLK_DEV_IDECD 1
#undef CONFIG_BLK_DEV_IDETAPE
#undef CONFIG_BLK_DEV_IDE_PCMCIA
#define CONFIG_BLK_DEV_CMD640 1
#undef CONFIG_IDE_CHIPSETS
#undef CONFIG_BLK_DEV_RAM
#define CONFIG_BLK_DEV_RAM_MODULE 1
#undef CONFIG_BLK_DEV_LOOP
#define CONFIG_BLK_DEV_LOOP_MODULE 1
#undef CONFIG_BLK_DEV_XD
#undef CONFIG_BLK_DEV_MD

/*
* Networking options
*/
#define CONFIG_FIREWALL 1
#define CONFIG_NET_ALIAS 1
#define CONFIG_INET 1
#define CONFIG_IP_FORWARD 1
#undef CONFIG_IP_MULTICAST
#define CONFIG_IP_FIREWALL 1
#undef CONFIG_IP_ACCT
#undef CONFIG_IP_ROUTER
#undef CONFIG_NET_IPIP
#define CONFIG_NET_IPIP_MODULE 1
#undef CONFIG_IP_FIREWALL_VERBOSE
#define CONFIG_IP_MASQUERADE 1
#undef CONFIG_IP_ALIAS
#define CONFIG_IP_ALIAS_MODULE 1

/*
* (it is safe to leave these untouched)
*/
#undef CONFIG_INET_PCTCP
#undef CONFIG_INET_RARP
#undef CONFIG_NO_PATH_MTU_DISCOVERY
#undef CONFIG_TCP_NAGLE_OFF
#undef CONFIG_IP_NOSR
#undef CONFIG_SKB_LARGE

/*
*
*/
#undef CONFIG_IPX
#undef CONFIG_ATALK
#undef CONFIG_AX25
#undef CONFIG_NETLINK

/*
* SCSI support
*/
#undef CONFIG_SCSI

/*
* Network device support
*/
#define CONFIG_NETDEVICES 1
#undef CONFIG_DUMMY
#undef CONFIG_EQUALIZER
#undef CONFIG_PLIP
#undef CONFIG_PPP
#define CONFIG_PPP_MODULE 1

/*
* CCP compressors for PPP are only built as modules.
*/
#undef CONFIG_SLIP
#define CONFIG_SLIP_MODULE 1
#undef CONFIG_SLIP_COMPRESSED
#undef CONFIG_SLIP_SMART
#undef CONFIG_NET_RADIO
#define CONFIG_NET_ETHERNET 1
#undef CONFIG_NET_VENDOR_3COM
#undef CONFIG_LANCE
#undef CONFIG_NET_VENDOR_SMC
#define CONFIG_NET_ISA 1
#undef CONFIG_E2100
#undef CONFIG_DEPCA
#undef CONFIG_EWRK3
#undef CONFIG_EEXPRESS
#undef CONFIG_HPLAN_PLUS
#undef CONFIG_HPLAN
#undef CONFIG_HP100
#undef CONFIG_NE2000
#define CONFIG_NE2000_MODULE 1
#undef CONFIG_SK_G16
#undef CONFIG_NET_EISA
#undef CONFIG_NET_POCKET
#undef CONFIG_TR
#undef CONFIG_ARCNET

/*
* ISDN subsystem
*/
#undef CONFIG_ISDN

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

/*
* Filesystems
*/
#define CONFIG_QUOTA 1
#undef CONFIG_MINIX_FS
#define CONFIG_MINIX_FS_MODULE 1
#undef CONFIG_EXT_FS
#define CONFIG_EXT_FS_MODULE 1
#define CONFIG_EXT2_FS 1
#undef CONFIG_XIA_FS
#define CONFIG_XIA_FS_MODULE 1
#undef CONFIG_FAT_FS
#define CONFIG_FAT_FS_MODULE 1
#undef CONFIG_MSDOS_FS
#define CONFIG_MSDOS_FS_MODULE 1
#undef CONFIG_VFAT_FS
#define CONFIG_VFAT_FS_MODULE 1
#undef CONFIG_UMSDOS_FS
#define CONFIG_UMSDOS_FS_MODULE 1
#define CONFIG_PROC_FS 1
#undef CONFIG_NFS_FS
#define CONFIG_NFS_FS_MODULE 1
#undef CONFIG_SMB_FS
#define CONFIG_SMB_FS_MODULE 1
#undef CONFIG_ISO9660_FS
#define CONFIG_ISO9660_FS_MODULE 1
#undef CONFIG_HPFS_FS
#define CONFIG_HPFS_FS_MODULE 1
#undef CONFIG_SYSV_FS
#define CONFIG_SYSV_FS_MODULE 1
#undef CONFIG_AFFS_FS
#undef CONFIG_UFS_FS

/*
* Character devices
*/
#define CONFIG_SERIAL 1
#undef CONFIG_DIGI
#undef CONFIG_CYCLADES
#define CONFIG_CYCLADES_MODULE 1
#undef CONFIG_STALDRV
#undef CONFIG_RISCOM8
#undef CONFIG_PRINTER
#define CONFIG_PRINTER_MODULE 1
#undef CONFIG_BUSMOUSE
#undef CONFIG_PSMOUSE
#undef CONFIG_MS_BUSMOUSE
#undef CONFIG_ATIXL_BUSMOUSE
#undef CONFIG_UMISC
#undef CONFIG_QIC02_TAPE
#undef CONFIG_FTAPE
#undef CONFIG_APM
#undef CONFIG_WATCHDOG
#undef CONFIG_RTC

/*
* Sound
*/
#undef CONFIG_SOUND
#define CONFIG_SOUND_MODULE 1
#undef CONFIG_PAS
#undef CONFIG_SB
#undef CONFIG_ADLIB
#define CONFIG_GUS 1
#undef CONFIG_MPU401
#undef CONFIG_UART6850
#undef CONFIG_PSS
#undef CONFIG_GUS16
#undef CONFIG_GUSMAX
#undef CONFIG_MSS
#undef CONFIG_SSCAPE
#undef CONFIG_TRIX
#undef CONFIG_MAD16
#undef CONFIG_CS4232
#undef CONFIG_MAUI
#define CONFIG_AUDIO 1
#define CONFIG_MIDI 1
#undef CONFIG_YM3812
#undef CONFIG_SMWAVE
#define GUS_BASE 0x220
#define GUS_IRQ (7)
#define GUS_DMA (1)
#define GUS_DMA2 (-1)
#define DSP_BUFFSIZE (65536)

/*
* Kernel hacking
*/
#undef CONFIG_PROFILE

-- 
Robert R. Collier | The Terry Pratchett Homepage |   \\\\\    send subject
rob@lspace.org    |    http://www.lspace.org/    |  \\\\\\\__o | "get pgp"
Save the Hedgehog |          <holyhorns>         |__\\\\\\\'/__|  for keys