Re: OOPS on reboot with 2.1.20

Stefanita Valeriu Vilcu (vsv@logicnet.ro)
Wed, 8 Jan 1997 09:26:04 +0200


I have the same problem with the 2.1.20 on an 486dx2-66, it looks like the
problem is in the hard_reset_now function, but I am not able to fix it.

Regards,

Stefanita Vilcu

---
Network Administrator, Logic Telecom S.A., Romania
E-mail: vsv@logicnet.ro, phone: +40-1-3213635, fax: +40-1-3213730

luana~# reboot -f Segmentation fault

luana~# dmesg Unable to handle kernel NULL pointer dereference at virtual address 00000472 current->tss.cr3 = 00bec000, %cr3 = 00bec000 *pde = 00000000 Oops: 0002 CPU: 0 EIP: 0010:[<c0109855>] EFLAGS: 00010246 eax: c0530000 ebx: 00000000 ecx: 28121969 edx: 01234567 esi: 00000003 edi: 08048e60 ebp: bffff888 esp: c0b49fa4 ds: 0018 es: 0018 ss: 0018 Process reboot (pid: 267, process nr: 45, stackpage=c0b49000) Stack: 00000000 00000003 08048e60 bffff888 c0e9ee18 c0114181 c0535810 c010a898 fee1dead 28121969 01234567 00000003 08048e60 bffff888 00000058 0000002b 0000002b 00000058 4005cf84 00000023 00000282 bffff884 0000002b Call Trace: [<c0114181>] [<c010a898>] Code: 66 a3 72 04 00 00 bd bc a7 00 00 8b 15 98 dc 1a c0 89 e8 f7 luana~# dmesg | ksymoops /System.map Using `/System.map' to map addresses to symbols.

>>EIP: c0109855 <hard_reset_now+25/120> Trace: c0114181 <sys_reboot+81/120> Trace: c010a898 <system_call+38/40>

Code: c0109855 <hard_reset_now+25/120> movw %ax,0x472 Code: c010985b <hard_reset_now+2b/120> movl $0xa7bc,%ebp Code: c0109860 <hard_reset_now+30/120> movl 0xc01adc98,%edx Code: c0109866 <hard_reset_now+36/120> movl %ebp,%eax

luana~# cat /proc/version Linux version 2.1.20 (root@luana.logictl.com) (gcc version 2.7.2) #5 Sat Jan 4 20:45:50 EET 1997

My /usr/src/linux/.config is:

# # Automatically generated make config: 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 is not set # CONFIG_MCA is not set CONFIG_SYSVIPC=y CONFIG_BINFMT_AOUT=m CONFIG_BINFMT_ELF=y # CONFIG_M386 is not set CONFIG_M486=y # CONFIG_M586 is not set # CONFIG_M686 is not set CONFIG_VIDEO_SELECT=y

# # Floppy, IDE, and other block devices # CONFIG_BLK_DEV_FD=y CONFIG_BLK_DEV_IDE=y

# # Please see Documentation/ide.txt for help/info on IDE drives # # CONFIG_BLK_DEV_HD_IDE is not set CONFIG_BLK_DEV_IDEDISK=y # CONFIG_BLK_DEV_IDECD is not set # CONFIG_BLK_DEV_IDETAPE is not set CONFIG_BLK_DEV_IDEFLOPPY=y # CONFIG_BLK_DEV_IDESCSI is not set CONFIG_BLK_DEV_CMD640=y # CONFIG_BLK_DEV_CMD640_ENHANCED is not set # CONFIG_IDE_CHIPSETS 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_BLK_DEV_EZ is not set # CONFIG_BLK_DEV_HD is not set

# # Networking options # # CONFIG_NETLINK is not set # CONFIG_FIREWALL is not set CONFIG_NET_ALIAS=y CONFIG_INET=y # CONFIG_IP_FORWARD is not set CONFIG_IP_MULTICAST=y # CONFIG_IP_ACCT is not set CONFIG_IP_ALIAS=y

# # (it is safe to leave these untouched) # # CONFIG_INET_PCTCP is not set # CONFIG_INET_RARP is not set CONFIG_PATH_MTU_DISCOVERY=y CONFIG_IP_NOSR=y CONFIG_SKB_LARGE=y

# # # # CONFIG_IPX is not set # CONFIG_ATALK is not set # CONFIG_AX25 is not set

# # SCSI support # # CONFIG_SCSI is not set

# # Network device support # CONFIG_NETDEVICES=y # CONFIG_ARCNET is not set CONFIG_DUMMY=m # CONFIG_EQUALIZER is not set CONFIG_NET_ETHERNET=y # CONFIG_NET_VENDOR_3COM is not set # CONFIG_LANCE is not set # CONFIG_NET_VENDOR_SMC is not set CONFIG_NET_ISA=y # CONFIG_E2100 is not set # CONFIG_DEPCA is not set # CONFIG_EWRK3 is not set # CONFIG_EEXPRESS is not set # CONFIG_HPLAN_PLUS is not set # CONFIG_HPLAN is not set # CONFIG_HP100 is not set CONFIG_NE2000=y # CONFIG_NI52 is not set # CONFIG_NI65 is not set # CONFIG_SK_G16 is not set # CONFIG_NET_EISA is not set # CONFIG_NET_POCKET is not set # CONFIG_FDDI is not set # CONFIG_DLCI is not set # CONFIG_PLIP is not set # CONFIG_PPP is not set # CONFIG_NET_RADIO is not set # CONFIG_LAPBETHER is not set # CONFIG_SLIP is not set # CONFIG_TR 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_MINIX_FS=m # 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 is not set # CONFIG_HPFS_FS is not set # CONFIG_SYSV_FS is not set # CONFIG_AFFS_FS is not set # CONFIG_UFS_FS is not set

# # Character devices # CONFIG_SERIAL=m # CONFIG_DIGI is not set # CONFIG_CYCLADES is not set # CONFIG_STALDRV is not set # CONFIG_RISCOM8 is not set # CONFIG_ESPSERIAL is not set CONFIG_PRINTER=m CONFIG_MOUSE=y # CONFIG_ATIXL_BUSMOUSE is not set # CONFIG_BUSMOUSE is not set # CONFIG_MS_BUSMOUSE is not set CONFIG_PSMOUSE=y # CONFIG_82C710_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 is not set

# # Kernel hacking # # CONFIG_PROFILE is not set

Best Regards,

Stefanita Vilcu

---
Network Administrator, Logic Telecom S.A., Romania
E-mail: vsv@logicnet.ro, phone: +40-1-3213635, fax: +40-1-3213730