All of lore.kernel.org
 help / color / mirror / Atom feed
* oops in sched_init() on E3000
@ 2004-02-22  4:34 William Lee Irwin III
  2004-02-22  4:42 ` William Lee Irwin III
                   ` (24 more replies)
  0 siblings, 25 replies; 26+ messages in thread
From: William Lee Irwin III @ 2004-02-22  4:34 UTC (permalink / raw)
  To: sparclinux

PROMLIB: Sun IEEE Boot Prom 3.2.30 2002/10/25 14:03
Remapping the kernel... done.
Booting Linux...
Linux version 2.6.3 (wli@monad) (gcc version 3.2.3 20030422 (Gentoo Linux 1.4 @PV@)) #2 SMP Sat Feb 21 20:26:41 PST 2004
ARCH: SUN4U
Ethernet address: 08:00:20:89:ed:b7
On node 0 totalpages: 490251
  DMA zone: 490251 pages, LIFO batch:8
  Normal zone: 0 pages, LIFO batch:1
  HighMem zone: 0 pages, LIFO batch:1
CENTRAL: Detected 4 slot Enterprise system. cfreg[a8] cver[fc]
FHC(board 1): Version[1] PartID[fa0] Manuf[3e] (CENTRAL)
FHC(board 3): Version[1] PartID[fa0] Manuf[3e] (JTAG Master)
   FHC(board 5): Version[1] PartID[fa0] Manuf[3e] 
FHC(board 7): Version[1] PartID[fa0] Manuf[3e] 
FHC(board 1): Version[1] PartID[fa0] Manuf[3e] 
Built 1 zonelists\b
 Kernel command line: nfsroot=/mnt/f/e3k/gentoo ip=:::::eth0:dhcp profile=1
kernel profiling enabled
PID hash table entries: 4096 (order 12: 65536 bytes)
Unable to handle kernel NULL pointer dereference
tsk->{mm,active_mm}->context = 0000000000000000
tsk->{mm,active_mm}->pgd = fffff8000000ec00
              \|/ ____ \|/
              "@'/ .. \`@"
              /_| \__/ |_\
                 \__U_/
swapper(0): Oops [#1]
TSTATE: 0000009980f01603 TPC: 000000000043ff9c TNPC: 000000000043ffa0 Y: 00000000    Not tainted
TPC: <wake_up_forked_process+0x1dc/0x280>
g0: 000000000071c000 g1: 0000000000000002 g2: fffffffffffffffb g3: 0000000000989680
g4: 000000000067e6c0 g5: 0000000000000006 g6: 000000000067a6c0 g7: 0000000000000000
o0: 00000000000007f0 o1: 000000000067e6f8 o2: 000000000067e6f8 o3: 0000000000000000
o4: 0000000000000000 o5: 0000000000000008 sp: 000000000067dba1 ret_pc: 000000000043ff18
RPC: <wake_up_forked_process+0x158/0x280>
l0: 00000000006f91a0 l1: 000000000071c000 l2: 000000000071c000 l3: 0000000000687de0
l4: 0000000000077e8b l5: 0000000000000003 l6: 0000000000000003 l7: 0000000000000000
i0: 000000000067e6c0 i1: 000000000067a6c0 i2: 0000000000000006 i3: 00000000006f91a0
i4: 0000000000000000 i5: fffff80002cd3680 i6: 000000000067dc71 i7: 00000000006e4290
I7: <sched_init+0x130/0x1a0>
Instruction DUMP: 9a032008  90030008  90022020 <d25a2008> d0762038  d4722008  d4724000  d272a008  92102001 
Kernel panic: Attempted to kill the idle task!
In idle task - not syncing
 <0>Press L1-A to return to the boot prom
[detached]
The mail in /var/spool/mail/wli has been read.
$ 

Script done on Sat Feb 21 20:30:38 2004

^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: oops in sched_init() on E3000
  2004-02-22  4:34 oops in sched_init() on E3000 William Lee Irwin III
@ 2004-02-22  4:42 ` William Lee Irwin III
  2004-02-22  7:25 ` David S. Miller
                   ` (23 subsequent siblings)
  24 siblings, 0 replies; 26+ messages in thread
From: William Lee Irwin III @ 2004-02-22  4:42 UTC (permalink / raw)
  To: sparclinux

[-- Attachment #1: Type: text/plain, Size: 684 bytes --]

On Sat, Feb 21, 2004 at 08:34:48PM -0800, William Lee Irwin III wrote:
> PROMLIB: Sun IEEE Boot Prom 3.2.30 2002/10/25 14:03
> Remapping the kernel... done.
> Booting Linux...
> Linux version 2.6.3 (wli@monad) (gcc version 3.2.3 20030422 (Gentoo Linux 1.4 @PV@)) #2 SMP Sat Feb 21 20:26:41 PST 2004
> ARCH: SUN4U
> Ethernet address: 08:00:20:89:ed:b7

Woops, .config and Solaris system info attached. Solaris boots & runs
on all processors, of course. From OBP:

4-slot Sun Enterprise 3000, No Keyboard
OpenBoot 3.2.30, 3840 MB memory installed, Serial #9039287.
Copyright 2002 Sun Microsystems, Inc.  All rights reserved
Ethernet address 8:0:20:89:ed:b7, Host ID: 8089edb7.


-- wli

[-- Attachment #2: config-e3k --]
[-- Type: text/plain, Size: 14496 bytes --]

#
# Automatically generated make config: don't edit
#
CONFIG_64BIT=y
CONFIG_MMU=y

#
# Code maturity level options
#
CONFIG_EXPERIMENTAL=y
# CONFIG_CLEAN_COMPILE is not set
# CONFIG_STANDALONE is not set
CONFIG_BROKEN=y
CONFIG_BROKEN_ON_SMP=y

#
# General setup
#
CONFIG_SWAP=y
CONFIG_SYSVIPC=y
# CONFIG_BSD_PROCESS_ACCT is not set
CONFIG_SYSCTL=y
CONFIG_LOG_BUF_SHIFT=15
CONFIG_HOTPLUG=y
CONFIG_IKCONFIG=y
CONFIG_IKCONFIG_PROC=y
CONFIG_EMBEDDED=y
CONFIG_KALLSYMS=y
CONFIG_FUTEX=y
CONFIG_EPOLL=y
# CONFIG_IOSCHED_NOOP is not set
# CONFIG_IOSCHED_AS is not set
CONFIG_IOSCHED_DEADLINE=y
# CONFIG_CC_OPTIMIZE_FOR_SIZE is not set

#
# Loadable module support
#
CONFIG_MODULES=y
CONFIG_MODULE_UNLOAD=y
CONFIG_MODULE_FORCE_UNLOAD=y
CONFIG_OBSOLETE_MODPARM=y
CONFIG_MODVERSIONS=y
CONFIG_KMOD=y

#
# General setup
#
CONFIG_VT=y
# CONFIG_VT_CONSOLE is not set
CONFIG_HW_CONSOLE=y
CONFIG_SMP=y
# CONFIG_PREEMPT is not set
CONFIG_NR_CPUS=6
# CONFIG_CPU_FREQ is not set
CONFIG_SPARC64=y
CONFIG_RWSEM_XCHGADD_ALGORITHM=y
CONFIG_GENERIC_ISA_DMA=y
CONFIG_SBUS=y
CONFIG_SBUSCHAR=y
CONFIG_SUN_AUXIO=y
CONFIG_SUN_IO=y
# CONFIG_PCI is not set
# CONFIG_PCI_DOMAINS is not set
CONFIG_SUN_OPENPROMFS=y
CONFIG_SPARC32_COMPAT=y
CONFIG_COMPAT=y
CONFIG_UID16=y
CONFIG_BINFMT_ELF32=y
# CONFIG_BINFMT_AOUT32 is not set
CONFIG_BINFMT_ELF=y
CONFIG_BINFMT_MISC=y
# CONFIG_SUNOS_EMUL is not set
# CONFIG_SOLARIS_EMUL is not set

#
# Parallel port support
#
CONFIG_PARPORT=m
# CONFIG_PARPORT_SUNBPP is not set
# CONFIG_PARPORT_OTHER is not set
CONFIG_PARPORT_1284=y
# CONFIG_PRINTER is not set
# CONFIG_CMDLINE_BOOL is not set

#
# Generic Driver Options
#
CONFIG_FW_LOADER=y

#
# Graphics support
#
# CONFIG_FB is not set

#
# Console display driver support
#
# CONFIG_MDA_CONSOLE is not set
CONFIG_PROM_CONSOLE=y
CONFIG_DUMMY_CONSOLE=y

#
# Serial drivers
#
# CONFIG_SERIAL_8250 is not set

#
# Non-8250 serial port support
#
CONFIG_SERIAL_SUNCORE=y
CONFIG_SERIAL_SUNZILOG=y
CONFIG_SERIAL_SUNZILOG_CONSOLE=y
CONFIG_SERIAL_CORE=y
CONFIG_SERIAL_CORE_CONSOLE=y

#
# Misc Linux/SPARC drivers
#
CONFIG_SUN_OPENPROMIO=y
CONFIG_SUN_MOSTEK_RTC=y
CONFIG_OBP_FLASH=y
# CONFIG_SUN_BPP is not set
# CONFIG_SUN_VIDEOPIX is not set
# CONFIG_SUN_AURORA is not set

#
# Memory Technology Devices (MTD)
#
# CONFIG_MTD is not set

#
# Block devices
#
# CONFIG_BLK_DEV_FD is not set
# CONFIG_PARIDE is not set
CONFIG_BLK_DEV_LOOP=y
# CONFIG_BLK_DEV_CRYPTOLOOP is not set
CONFIG_BLK_DEV_NBD=y
# CONFIG_BLK_DEV_RAM is not set
# CONFIG_BLK_DEV_INITRD is not set

#
# ATA/ATAPI/MFM/RLL support
#
# CONFIG_IDE is not set

#
# SCSI device support
#
CONFIG_SCSI=y
CONFIG_SCSI_PROC_FS=y

#
# SCSI support type (disk, tape, CD-ROM)
#
CONFIG_BLK_DEV_SD=y
CONFIG_CHR_DEV_ST=y
# CONFIG_CHR_DEV_OSST is not set
CONFIG_BLK_DEV_SR=y
CONFIG_BLK_DEV_SR_VENDOR=y
CONFIG_CHR_DEV_SG=y

#
# Some SCSI devices (e.g. CD jukebox) support multiple LUNs
#
CONFIG_SCSI_MULTI_LUN=y
CONFIG_SCSI_REPORT_LUNS=y
CONFIG_SCSI_CONSTANTS=y
# CONFIG_SCSI_LOGGING is not set

#
# SCSI low-level drivers
#
# CONFIG_SCSI_AIC7XXX_OLD is not set
# CONFIG_SCSI_SATA is not set
# CONFIG_SCSI_EATA_PIO is not set
# CONFIG_SCSI_PPA is not set
# CONFIG_SCSI_IMM is not set
# CONFIG_SCSI_QLOGICPTI is not set
# CONFIG_SCSI_DEBUG is not set
# CONFIG_SCSI_SUNESP is not set

#
# Fibre Channel support
#
# CONFIG_FC4 is not set

#
# Multi-device support (RAID and LVM)
#
# CONFIG_MD is not set

#
# IEEE 1394 (FireWire) support (EXPERIMENTAL)
#
# CONFIG_IEEE1394 is not set

#
# Networking support
#
CONFIG_NET=y

#
# Networking options
#
CONFIG_PACKET=y
CONFIG_PACKET_MMAP=y
CONFIG_NETLINK_DEV=y
CONFIG_UNIX=y
CONFIG_NET_KEY=y
CONFIG_INET=y
CONFIG_IP_MULTICAST=y
# CONFIG_IP_ADVANCED_ROUTER is not set
CONFIG_IP_PNP=y
CONFIG_IP_PNP_DHCP=y
# CONFIG_IP_PNP_BOOTP is not set
# CONFIG_IP_PNP_RARP is not set
# CONFIG_NET_IPIP is not set
# CONFIG_NET_IPGRE is not set
# CONFIG_IP_MROUTE is not set
# CONFIG_ARPD is not set
# CONFIG_INET_ECN is not set
# CONFIG_SYN_COOKIES is not set
# CONFIG_INET_AH is not set
# CONFIG_INET_ESP is not set
# CONFIG_INET_IPCOMP is not set

#
# IP: Virtual Server Configuration
#
# CONFIG_IP_VS is not set
# CONFIG_IPV6 is not set
# CONFIG_DECNET is not set
# CONFIG_BRIDGE is not set
CONFIG_NETFILTER=y
# CONFIG_NETFILTER_DEBUG is not set

#
# IP: Netfilter Configuration
#
CONFIG_IP_NF_CONNTRACK=m
CONFIG_IP_NF_FTP=m
CONFIG_IP_NF_IRC=m
CONFIG_IP_NF_TFTP=m
CONFIG_IP_NF_AMANDA=m
CONFIG_IP_NF_QUEUE=m
CONFIG_IP_NF_IPTABLES=m
CONFIG_IP_NF_MATCH_LIMIT=m
CONFIG_IP_NF_MATCH_IPRANGE=m
CONFIG_IP_NF_MATCH_MAC=m
CONFIG_IP_NF_MATCH_PKTTYPE=m
CONFIG_IP_NF_MATCH_MARK=m
CONFIG_IP_NF_MATCH_MULTIPORT=m
CONFIG_IP_NF_MATCH_TOS=m
CONFIG_IP_NF_MATCH_RECENT=m
CONFIG_IP_NF_MATCH_ECN=m
CONFIG_IP_NF_MATCH_DSCP=m
CONFIG_IP_NF_MATCH_AH_ESP=m
CONFIG_IP_NF_MATCH_LENGTH=m
CONFIG_IP_NF_MATCH_TTL=m
CONFIG_IP_NF_MATCH_TCPMSS=m
CONFIG_IP_NF_MATCH_HELPER=m
CONFIG_IP_NF_MATCH_STATE=m
CONFIG_IP_NF_MATCH_CONNTRACK=m
CONFIG_IP_NF_MATCH_OWNER=m
CONFIG_IP_NF_FILTER=m
CONFIG_IP_NF_TARGET_REJECT=m
CONFIG_IP_NF_NAT=m
CONFIG_IP_NF_NAT_NEEDED=y
CONFIG_IP_NF_TARGET_MASQUERADE=m
CONFIG_IP_NF_TARGET_REDIRECT=m
CONFIG_IP_NF_TARGET_NETMAP=m
CONFIG_IP_NF_TARGET_SAME=m
CONFIG_IP_NF_NAT_LOCAL=y
CONFIG_IP_NF_NAT_SNMP_BASIC=m
CONFIG_IP_NF_NAT_IRC=m
CONFIG_IP_NF_NAT_FTP=m
CONFIG_IP_NF_NAT_TFTP=m
CONFIG_IP_NF_NAT_AMANDA=m
CONFIG_IP_NF_MANGLE=m
CONFIG_IP_NF_TARGET_TOS=m
CONFIG_IP_NF_TARGET_ECN=m
CONFIG_IP_NF_TARGET_DSCP=m
CONFIG_IP_NF_TARGET_MARK=m
CONFIG_IP_NF_TARGET_CLASSIFY=m
CONFIG_IP_NF_TARGET_LOG=m
CONFIG_IP_NF_TARGET_ULOG=m
CONFIG_IP_NF_TARGET_TCPMSS=m
CONFIG_IP_NF_ARPTABLES=m
CONFIG_IP_NF_ARPFILTER=m
CONFIG_IP_NF_ARP_MANGLE=m
CONFIG_IP_NF_COMPAT_IPCHAINS=m
CONFIG_IP_NF_COMPAT_IPFWADM=m
CONFIG_XFRM=y
# CONFIG_XFRM_USER is not set

#
# SCTP Configuration (EXPERIMENTAL)
#
CONFIG_IPV6_SCTP__=y
CONFIG_IP_SCTP=m
# CONFIG_SCTP_DBG_MSG is not set
# CONFIG_SCTP_DBG_OBJCNT is not set
# CONFIG_SCTP_HMAC_NONE is not set
# CONFIG_SCTP_HMAC_SHA1 is not set
CONFIG_SCTP_HMAC_MD5=y
# CONFIG_ATM is not set
# CONFIG_VLAN_8021Q is not set
# CONFIG_LLC2 is not set
# CONFIG_IPX is not set
# CONFIG_ATALK is not set
# CONFIG_X25 is not set
# CONFIG_LAPB is not set
# CONFIG_NET_DIVERT is not set
# CONFIG_ECONET is not set
# CONFIG_WAN_ROUTER is not set
# CONFIG_NET_FASTROUTE is not set
# CONFIG_NET_HW_FLOWCONTROL is not set

#
# QoS and/or fair queueing
#
# CONFIG_NET_SCHED is not set

#
# Network testing
#
# CONFIG_NET_PKTGEN is not set
CONFIG_NETDEVICES=y
# CONFIG_DUMMY is not set
# CONFIG_BONDING is not set
# CONFIG_EQUALIZER is not set
# CONFIG_TUN is not set
# CONFIG_ETHERTAP is not set

#
# Ethernet (10 or 100Mbit)
#
CONFIG_NET_ETHERNET=y
CONFIG_MII=m
CONFIG_SUNLANCE=y
CONFIG_HAPPYMEAL=y
CONFIG_SUNBMAC=m
CONFIG_SUNQE=m

#
# Ethernet (1000 Mbit)
#
CONFIG_MYRI_SBUS=m

#
# Ethernet (10000 Mbit)
#
# CONFIG_PLIP is not set
# CONFIG_PPP is not set
# CONFIG_SLIP is not set

#
# Wireless LAN (non-hamradio)
#
CONFIG_NET_RADIO=y

#
# Obsolete Wireless cards support (pre-802.11)
#
# CONFIG_STRIP is not set
CONFIG_ATMEL=m

#
# Token Ring devices
#
# CONFIG_SHAPER is not set

#
# Wan interfaces
#
# CONFIG_WAN is not set

#
# Amateur Radio support
#
CONFIG_HAMRADIO=y

#
# Packet Radio protocols
#
CONFIG_AX25=m
CONFIG_AX25_DAMA_SLAVE=y
CONFIG_NETROM=m
CONFIG_ROSE=m

#
# AX.25 network device drivers
#
# CONFIG_MKISS is not set
# CONFIG_6PACK is not set
# CONFIG_BPQETHER is not set
# CONFIG_BAYCOM_SER_FDX is not set
# CONFIG_BAYCOM_SER_HDX is not set
# CONFIG_BAYCOM_PAR is not set
# CONFIG_YAM is not set

#
# IrDA (infrared) support
#
CONFIG_IRDA=m

#
# IrDA protocols
#
CONFIG_IRLAN=m
CONFIG_IRCOMM=m
CONFIG_IRDA_ULTRA=y

#
# IrDA options
#
CONFIG_IRDA_CACHE_LAST_LSAP=y
CONFIG_IRDA_FAST_RR=y
# CONFIG_IRDA_DEBUG is not set

#
# Infrared-port device drivers
#

#
# SIR device drivers
#
# CONFIG_IRTTY_SIR is not set

#
# Dongle support
#

#
# Old SIR device drivers
#
# CONFIG_IRPORT_SIR is not set

#
# Old Serial dongle support
#

#
# FIR device drivers
#
# CONFIG_TOSHIBA_FIR is not set

#
# Bluetooth support
#
CONFIG_BT=m
CONFIG_BT_L2CAP=m
CONFIG_BT_SCO=m
CONFIG_BT_RFCOMM=m
CONFIG_BT_RFCOMM_TTY=y
CONFIG_BT_BNEP=m
CONFIG_BT_BNEP_MC_FILTER=y
CONFIG_BT_BNEP_PROTO_FILTER=y

#
# Bluetooth device drivers
#
CONFIG_BT_HCIUART=m
CONFIG_BT_HCIUART_H4=y
CONFIG_BT_HCIUART_BCSP=y
CONFIG_BT_HCIUART_BCSP_TXCRC=y
CONFIG_BT_HCIVHCI=m

#
# ISDN subsystem
#
# CONFIG_ISDN is not set

#
# Telephony Support
#
# CONFIG_PHONE is not set

#
# Unix98 PTY support
#
CONFIG_UNIX98_PTYS=y
CONFIG_UNIX98_PTY_COUNT=2048

#
# XFree86 DRI support
#
# CONFIG_DRM is not set

#
# Input device support
#
CONFIG_INPUT=y

#
# Userland interfaces
#
CONFIG_INPUT_MOUSEDEV=y
CONFIG_INPUT_MOUSEDEV_PSAUX=y
CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024
CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768
# CONFIG_INPUT_JOYDEV is not set
# CONFIG_INPUT_TSDEV is not set
# CONFIG_INPUT_EVDEV is not set
# CONFIG_INPUT_EVBUG is not set

#
# Input I/O drivers
#
# CONFIG_GAMEPORT is not set
CONFIG_SOUND_GAMEPORT=y
CONFIG_SERIO=y
# CONFIG_SERIO_I8042 is not set
CONFIG_SERIO_SERPORT=y
# CONFIG_SERIO_CT82C710 is not set
# CONFIG_SERIO_PARKBD is not set

#
# Input Device Drivers
#
CONFIG_INPUT_KEYBOARD=y
CONFIG_KEYBOARD_ATKBD=y
# CONFIG_KEYBOARD_SUNKBD is not set
# CONFIG_KEYBOARD_XTKBD is not set
# CONFIG_KEYBOARD_NEWTON is not set
CONFIG_INPUT_MOUSE=y
CONFIG_MOUSE_PS2=y
# CONFIG_MOUSE_SERIAL is not set
# CONFIG_INPUT_JOYSTICK is not set
# CONFIG_INPUT_TOUCHSCREEN is not set
# CONFIG_INPUT_MISC is not set

#
# I2C support
#
# CONFIG_I2C is not set

#
# File systems
#
CONFIG_EXT2_FS=y
CONFIG_EXT2_FS_XATTR=y
# CONFIG_EXT2_FS_POSIX_ACL is not set
# CONFIG_EXT2_FS_SECURITY is not set
CONFIG_EXT3_FS=y
CONFIG_EXT3_FS_XATTR=y
# CONFIG_EXT3_FS_POSIX_ACL is not set
# CONFIG_EXT3_FS_SECURITY is not set
CONFIG_JBD=y
# CONFIG_JBD_DEBUG is not set
CONFIG_FS_MBCACHE=y
# CONFIG_REISERFS_FS is not set
# CONFIG_JFS_FS is not set
# CONFIG_XFS_FS is not set
CONFIG_MINIX_FS=y
# CONFIG_ROMFS_FS is not set
# CONFIG_QUOTA is not set
# CONFIG_AUTOFS_FS is not set
# CONFIG_AUTOFS4_FS is not set

#
# CD-ROM/DVD Filesystems
#
CONFIG_ISO9660_FS=y
CONFIG_JOLIET=y
# CONFIG_ZISOFS is not set
CONFIG_UDF_FS=y

#
# DOS/FAT/NT Filesystems
#
# CONFIG_FAT_FS is not set
# CONFIG_NTFS_FS is not set

#
# Pseudo filesystems
#
CONFIG_PROC_FS=y
CONFIG_PROC_KCORE=y
# CONFIG_DEVFS_FS is not set
CONFIG_DEVPTS_FS=y
CONFIG_DEVPTS_FS_XATTR=y
# CONFIG_DEVPTS_FS_SECURITY is not set
# CONFIG_TMPFS is not set
# CONFIG_HUGETLBFS is not set
# CONFIG_HUGETLB_PAGE is not set
CONFIG_RAMFS=y

#
# Miscellaneous filesystems
#
# CONFIG_ADFS_FS is not set
# CONFIG_AFFS_FS is not set
# CONFIG_HFS_FS is not set
# CONFIG_BEFS_FS is not set
# CONFIG_BFS_FS is not set
# CONFIG_EFS_FS is not set
# CONFIG_CRAMFS is not set
# CONFIG_VXFS_FS is not set
# CONFIG_HPFS_FS is not set
# CONFIG_QNX4FS_FS is not set
# CONFIG_SYSV_FS is not set
# CONFIG_UFS_FS is not set

#
# Network File Systems
#
CONFIG_NFS_FS=y
CONFIG_NFS_V3=y
CONFIG_NFS_V4=y
CONFIG_NFS_DIRECTIO=y
# CONFIG_NFSD is not set
CONFIG_ROOT_NFS=y
CONFIG_LOCKD=y
CONFIG_LOCKD_V4=y
# CONFIG_EXPORTFS is not set
CONFIG_SUNRPC=y
# CONFIG_SUNRPC_GSS is not set
# CONFIG_SMB_FS is not set
# CONFIG_CIFS is not set
# CONFIG_NCP_FS is not set
# CONFIG_CODA_FS is not set
# CONFIG_INTERMEZZO_FS is not set
# CONFIG_AFS_FS is not set

#
# Partition Types
#
CONFIG_PARTITION_ADVANCED=y
# CONFIG_ACORN_PARTITION is not set
# CONFIG_OSF_PARTITION is not set
# CONFIG_AMIGA_PARTITION is not set
# CONFIG_ATARI_PARTITION is not set
# CONFIG_MAC_PARTITION is not set
# CONFIG_MSDOS_PARTITION is not set
# CONFIG_LDM_PARTITION is not set
# CONFIG_NEC98_PARTITION is not set
# CONFIG_SGI_PARTITION is not set
# CONFIG_ULTRIX_PARTITION is not set
CONFIG_SUN_PARTITION=y
# CONFIG_EFI_PARTITION is not set

#
# Native Language Support
#
CONFIG_NLS=y
CONFIG_NLS_DEFAULT="iso8859-1"
# CONFIG_NLS_CODEPAGE_437 is not set
# CONFIG_NLS_CODEPAGE_737 is not set
# CONFIG_NLS_CODEPAGE_775 is not set
# CONFIG_NLS_CODEPAGE_850 is not set
# CONFIG_NLS_CODEPAGE_852 is not set
# CONFIG_NLS_CODEPAGE_855 is not set
# CONFIG_NLS_CODEPAGE_857 is not set
# CONFIG_NLS_CODEPAGE_860 is not set
# CONFIG_NLS_CODEPAGE_861 is not set
# CONFIG_NLS_CODEPAGE_862 is not set
# CONFIG_NLS_CODEPAGE_863 is not set
# CONFIG_NLS_CODEPAGE_864 is not set
# CONFIG_NLS_CODEPAGE_865 is not set
# CONFIG_NLS_CODEPAGE_866 is not set
# CONFIG_NLS_CODEPAGE_869 is not set
# CONFIG_NLS_CODEPAGE_936 is not set
# CONFIG_NLS_CODEPAGE_950 is not set
# CONFIG_NLS_CODEPAGE_932 is not set
# CONFIG_NLS_CODEPAGE_949 is not set
# CONFIG_NLS_CODEPAGE_874 is not set
# CONFIG_NLS_ISO8859_8 is not set
# CONFIG_NLS_CODEPAGE_1250 is not set
# CONFIG_NLS_CODEPAGE_1251 is not set
# CONFIG_NLS_ISO8859_1 is not set
# CONFIG_NLS_ISO8859_2 is not set
# CONFIG_NLS_ISO8859_3 is not set
# CONFIG_NLS_ISO8859_4 is not set
# CONFIG_NLS_ISO8859_5 is not set
# CONFIG_NLS_ISO8859_6 is not set
# CONFIG_NLS_ISO8859_7 is not set
# CONFIG_NLS_ISO8859_9 is not set
# CONFIG_NLS_ISO8859_13 is not set
# CONFIG_NLS_ISO8859_14 is not set
# CONFIG_NLS_ISO8859_15 is not set
# CONFIG_NLS_KOI8_R is not set
# CONFIG_NLS_KOI8_U is not set
# CONFIG_NLS_UTF8 is not set

#
# Multimedia devices
#
# CONFIG_VIDEO_DEV is not set

#
# Digital Video Broadcasting Devices
#
# CONFIG_DVB is not set

#
# Sound
#
# CONFIG_SOUND is not set

#
# USB support
#

#
# USB Gadget Support
#
# CONFIG_USB_GADGET is not set

#
# Watchdog Cards
#
# CONFIG_WATCHDOG is not set

#
# Profiling support
#
# CONFIG_PROFILING is not set

#
# Kernel hacking
#
CONFIG_DEBUG_KERNEL=y
# CONFIG_DEBUG_SLAB is not set
CONFIG_MAGIC_SYSRQ=y
# CONFIG_DEBUG_SPINLOCK is not set
# CONFIG_DEBUG_SPINLOCK_SLEEP is not set
# CONFIG_DEBUG_BUGVERBOSE is not set
# CONFIG_DEBUG_DCFLUSH is not set
# CONFIG_DEBUG_INFO is not set
# CONFIG_STACK_DEBUG is not set
# CONFIG_DEBUG_BOOTMEM is not set
CONFIG_HAVE_DEC_LOCK=y

#
# Security options
#
# CONFIG_SECURITY is not set

#
# Cryptographic options
#
CONFIG_CRYPTO=y
CONFIG_CRYPTO_HMAC=y
# CONFIG_CRYPTO_NULL is not set
# CONFIG_CRYPTO_MD4 is not set
CONFIG_CRYPTO_MD5=y
# CONFIG_CRYPTO_SHA1 is not set
# CONFIG_CRYPTO_SHA256 is not set
# CONFIG_CRYPTO_SHA512 is not set
# CONFIG_CRYPTO_DES is not set
# CONFIG_CRYPTO_BLOWFISH is not set
# CONFIG_CRYPTO_TWOFISH is not set
# CONFIG_CRYPTO_SERPENT is not set
# CONFIG_CRYPTO_AES is not set
# CONFIG_CRYPTO_CAST5 is not set
# CONFIG_CRYPTO_CAST6 is not set
# CONFIG_CRYPTO_DEFLATE is not set
# CONFIG_CRYPTO_TEST is not set

#
# Library routines
#
CONFIG_CRC32=y

[-- Attachment #3: e3k.log.4 --]
[-- Type: text/plain, Size: 2817 bytes --]

Script started on Sat Feb 21 20:39:02 2004
$ screen -x
Kernel panic: Attempted to kill the idle task!
In idle task - not syncing 
<0>Press L1-A to return to the boot prom
Button XIR
Software Power ON
Clock board TOD does not match TOD on any IO board.
serial not found.
serial not found.
Clock board TOD does not match TOD on any IO board.

4-slot Sun Enterprise 3000, No Keyboard
OpenBoot 3.2.30, 3840 MB memory installed, Serial #9039287.
Copyright 2002 Sun Microsystems, Inc.  All rights reserved
Ethernet address 8:0:20:89:ed:b7, Host ID: 8089edb7.
{6} ok boot disk
Boot device: /sbus@3,0/SUNW,fas@3,8800000/sd@0,0  File and args:
SunOS Release 5.8 Version Generic_108528-13 64-bit
Copyright 1983-2001 Sun Microsystems, Inc.  All rights reserved.
\\bconfiguring IPv4 interfaces: hme0.
configuring IPv6 interfaces: hme0.
starting DHCP on primary interface hme0
Hostname: analyticity
The system is coming up.  Please wait.
Starting IPv6 neighbor discovery.
Setting default IPv6 interface for multicast: add net ff00::/8: gateway fe80::a00:20ff:fe89:edb7
starting rpc services: rpcbind done.
Setting default IPv4 interface for multicast: add net 224.0/4: gateway 192.168.1.16
syslog service starting.
Print services started.
volume management starting.
The system is ready.

analyticity console login: root
Password: 
Feb 21 20:55:34 analyticity login: ROOT LOGIN /dev/console
Last login: Sat Feb 21 20:30:08 on console
Sun Microsystems Inc.   SunOS 5.8       Generic Patch   October 2001
# psrinfo -v
Status of processor 6 as of: 02/21/04 20:55:36
  Processor has been on-line since 02/21/04 20:54:42.
  The sparcv9 processor operates at 336 MHz,
        and has a sparcv9 floating point processor.
Status of processor 7 as of: 02/21/04 20:55:36
  Processor has been on-line since 02/21/04 20:54:46.
  The sparcv9 processor operates at 336 MHz,
        and has a sparcv9 floating point processor.
Status of processor 10 as of: 02/21/04 20:55:36
  Processor has been on-line since 02/21/04 20:54:46.
  The sparcv9 processor operates at 336 MHz,
        and has a sparcv9 floating point processor.
Status of processor 11 as of: 02/21/04 20:55:36
  Processor has been on-line since 02/21/04 20:54:46.
  The sparcv9 processor operates at 336 MHz,
        and has a sparcv9 floating point processor.
Status of processor 14 as of: 02/21/04 20:55:36
  Processor has been on-line since 02/21/04 20:54:46.
  The sparcv9 processor operates at 336 MHz,
        and has a sparcv9 floating point processor.
Status of processor 15 as of: 02/21/04 20:55:36
  Processor has been on-line since 02/21/04 20:54:46.
  The sparcv9 processor operates at 336 MHz,
        and has a sparcv9 floating point processor.
[detached]
$ 

Script done on Sat Feb 21 20:40:06 2004

^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: oops in sched_init() on E3000
  2004-02-22  4:34 oops in sched_init() on E3000 William Lee Irwin III
  2004-02-22  4:42 ` William Lee Irwin III
@ 2004-02-22  7:25 ` David S. Miller
  2004-02-22  9:11 ` William Lee Irwin III
                   ` (22 subsequent siblings)
  24 siblings, 0 replies; 26+ messages in thread
From: David S. Miller @ 2004-02-22  7:25 UTC (permalink / raw)
  To: sparclinux


So, Will, did you test out the test kernel image I emailed to you the other
day or did your spam filter eat it?

I want to figure out whether you have tool or kernel config issues before
I even attempt to look at any of your crash traces.

^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: oops in sched_init() on E3000
  2004-02-22  4:34 oops in sched_init() on E3000 William Lee Irwin III
  2004-02-22  4:42 ` William Lee Irwin III
  2004-02-22  7:25 ` David S. Miller
@ 2004-02-22  9:11 ` William Lee Irwin III
  2004-02-22  9:57 ` William Lee Irwin III
                   ` (21 subsequent siblings)
  24 siblings, 0 replies; 26+ messages in thread
From: William Lee Irwin III @ 2004-02-22  9:11 UTC (permalink / raw)
  To: sparclinux

On Sat, Feb 21, 2004 at 11:25:33PM -0800, David S. Miller wrote:
> So, Will, did you test out the test kernel image I emailed to you the
> other day or did your spam filter eat it?

Unfortunately I never saw a test kernel image, so the spamfiltering bit
looks likely.


On Sat, Feb 21, 2004 at 11:25:33PM -0800, David S. Miller wrote:
> I want to figure out whether you have tool or kernel config issues
> before I even attempt to look at any of your crash traces.

I'll use any gcc or distro image I can drop in an nfsroot. I'm actually
trying to keep things set up to have fully disposable userspace, apart
from preserving a Solaris installation image as a hardware testing method.
(i.e. these boxen are intended as dedicated kernel hacking targets)


-- wli

^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: oops in sched_init() on E3000
  2004-02-22  4:34 oops in sched_init() on E3000 William Lee Irwin III
                   ` (2 preceding siblings ...)
  2004-02-22  9:11 ` William Lee Irwin III
@ 2004-02-22  9:57 ` William Lee Irwin III
  2004-02-22 18:03 ` David S. Miller
                   ` (20 subsequent siblings)
  24 siblings, 0 replies; 26+ messages in thread
From: William Lee Irwin III @ 2004-02-22  9:57 UTC (permalink / raw)
  To: sparclinux

n Sat, Feb 21, 2004 at 11:25:33PM -0800, David S. Miller wrote:
>> So, Will, did you test out the test kernel image I emailed to you the
>> other day or did your spam filter eat it?

On Sun, Feb 22, 2004 at 01:11:50AM -0800, William Lee Irwin III wrote:
> Unfortunately I never saw a test kernel image, so the spamfiltering bit
> looks likely.

Make that "certain":

# zgrep -n davem /var/log/exim/mainlog.* |grep rejected
/var/log/exim/mainlog.2.gz:1757:2004-02-18 16:14:59 rejected MAIL FROM:<davem@redhat.com> H=mx1.redhat.com [66.187.233.31]: message too large: size 23034 max\x1048576

I turned down the max message size when I heard about spam attempting
to taint ppl with bloze source code going around. =(


-- wli

^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: oops in sched_init() on E3000
  2004-02-22  4:34 oops in sched_init() on E3000 William Lee Irwin III
                   ` (3 preceding siblings ...)
  2004-02-22  9:57 ` William Lee Irwin III
@ 2004-02-22 18:03 ` David S. Miller
  2004-02-22 21:51 ` William Lee Irwin III
                   ` (19 subsequent siblings)
  24 siblings, 0 replies; 26+ messages in thread
From: David S. Miller @ 2004-02-22 18:03 UTC (permalink / raw)
  To: sparclinux

On Sun, 22 Feb 2004 01:57:55 -0800
William Lee Irwin III <wli@holomorphy.com> wrote:

> n Sat, Feb 21, 2004 at 11:25:33PM -0800, David S. Miller wrote:
> >> So, Will, did you test out the test kernel image I emailed to you the
> >> other day or did your spam filter eat it?
> 
> On Sun, Feb 22, 2004 at 01:11:50AM -0800, William Lee Irwin III wrote:
> > Unfortunately I never saw a test kernel image, so the spamfiltering bit
> > looks likely.
> 
> Make that "certain":

I put one up here instead:

ftp://ftp.kernel.org/pub/linux/kernel/people/davem/for_wli/

It may take a few minutes to propagate, but there'll be this there when it's
done:

-rw-r--r--    1 davem    ftpadmin   874502 Feb 22 10:02 System.map-2.6.3
-rwxr-xr-x    1 davem    ftpadmin  3615392 Feb 22 09:53 vmlinux-263

Let me know how it goes.

^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: oops in sched_init() on E3000
  2004-02-22  4:34 oops in sched_init() on E3000 William Lee Irwin III
                   ` (4 preceding siblings ...)
  2004-02-22 18:03 ` David S. Miller
@ 2004-02-22 21:51 ` William Lee Irwin III
  2004-02-22 21:57 ` David S. Miller
                   ` (18 subsequent siblings)
  24 siblings, 0 replies; 26+ messages in thread
From: William Lee Irwin III @ 2004-02-22 21:51 UTC (permalink / raw)
  To: sparclinux

[-- Attachment #1: Type: text/plain, Size: 2343 bytes --]

On Sun, Feb 22, 2004 at 01:11:50AM -0800, William Lee Irwin III wrote:
>>> Unfortunately I never saw a test kernel image, so the spamfiltering bit
>>> looks likely.

On Sun, 22 Feb 2004 01:57:55 -0800 William Lee Irwin III <wli@holomorphy.com> wrote:
>> Make that "certain":

On Sun, Feb 22, 2004 at 10:03:34AM -0800, David S. Miller wrote:
> I put one up here instead:
> ftp://ftp.kernel.org/pub/linux/kernel/people/davem/for_wli/
> It may take a few minutes to propagate, but there'll be this there when it's
> done:
> -rw-r--r--    1 davem    ftpadmin   874502 Feb 22 10:02 System.map-2.6.3
> -rwxr-xr-x    1 davem    ftpadmin  3615392 Feb 22 09:53 vmlinux-263
> Let me know how it goes.

I had to run elftoaout myself to prep the thing for tftpboot; I'm not
sure how likely that is to fail/etc. I did get the following warning:

$ elftoaout vmlinux-263 
PT 0 Entry: Loadable to 0x400000[0x3ba110] from 0x0[0x370d58] align 0x100000
PT 1 Entry: unknown

I'm not sure how to pick apart the a.out stuff to see if it did
something wrong with the STACK bits in the phdr. 2.4 doesn't have
a STACK phdr so I suspect I may be getting hit here, among many
other places.

I ran it on the E3K for this run; I can run it on the U2 too if it's
more interesting.

It hanged early (I can photograph the front LED's and make them
webabble if need be). Bootlog included as a MIME attachment. The
"Button XIR" is me typing in the reset string (less traumatic than
cutting the power via APC MasterSwitch). The way I captured the
output as early as I did before was with this patch:


===== init/main.c 1.122 vs edited =====
--- 1.122/init/main.c	Wed Feb 18 22:54:06 2004
+++ edited/init/main.c	Sat Feb 21 20:26:20 2004
@@ -39,6 +39,7 @@
 #include <linux/writeback.h>
 #include <linux/cpu.h>
 #include <linux/efi.h>
+#include <linux/console.h>
 
 #include <asm/io.h>
 #include <asm/bugs.h>
@@ -389,6 +390,17 @@
  	cpu_idle();
 } 
 
+static void hack_write(struct console *c, const char *s, unsigned n)
+{
+	int k;
+
+	(void)c;
+	for (k = 0; k < n; ++k)
+		prom_putchar(s[k]);
+}
+
+static struct console hack_console = { .write = hack_write };
+
 /*
  *	Activate the first processor.
  */
@@ -403,6 +415,7 @@
  * enable them
  */
 	lock_kernel();
+	register_console(&hack_console);
 	printk(linux_banner);
 	setup_arch(&command_line);
 	setup_per_cpu_areas();

[-- Attachment #2: e3k.log.8 --]
[-- Type: text/plain, Size: 894 bytes --]

Script started on Sun Feb 22 13:01:55 2004
$ screen -x
Kernel panic: Attempted to kill the idle task!
In idle task - not syncing 
<0>Press L1-A to return to the boot prom
Button XIR
Software Power ON
Clock board TOD does not match TOD on any IO board.
serial not found.
serial not found.
Clock board TOD does not match TOD on any IO board.

4-slot Sun Enterprise 3000, No Keyboard
OpenBoot 3.2.30, 3840 MB memory installed, Serial #9039287.
Copyright 2002 Sun Microsystems, Inc.  All rights reserved
Ethernet address 8:0:20:89:ed:b7, Host ID: 8089edb7.
{6} ok boot net:dhcp nfsroot=/mnt/f/e3k/gentoo ip=:::::eth0:dhcp profile=1
Boot device: /sbus@3,0/SUNW,hme@3,8c00000:dhcp  File and args: nfsroot=/mnt/f/e3k/gentoo ip=:::::eth0:dhcp profile=1
Remapping the kernel... done.
Booting Linux...
Bell in window 10
Button XIR
Software Power ON
[detached]
$ 

Script done on Sun Feb 22 13:04:14 2004

^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: oops in sched_init() on E3000
  2004-02-22  4:34 oops in sched_init() on E3000 William Lee Irwin III
                   ` (5 preceding siblings ...)
  2004-02-22 21:51 ` William Lee Irwin III
@ 2004-02-22 21:57 ` David S. Miller
  2004-02-22 22:00 ` David S. Miller
                   ` (17 subsequent siblings)
  24 siblings, 0 replies; 26+ messages in thread
From: David S. Miller @ 2004-02-22 21:57 UTC (permalink / raw)
  To: sparclinux

On Sun, 22 Feb 2004 13:51:16 -0800
William Lee Irwin III <wli@holomorphy.com> wrote:

> The way I captured the
> output as early as I did before was with this patch:

Try '-d' on the kernel command line instead, you're not the only person who has
needed this. :-)

^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: oops in sched_init() on E3000
  2004-02-22  4:34 oops in sched_init() on E3000 William Lee Irwin III
                   ` (6 preceding siblings ...)
  2004-02-22 21:57 ` David S. Miller
@ 2004-02-22 22:00 ` David S. Miller
  2004-02-22 22:01 ` David S. Miller
                   ` (16 subsequent siblings)
  24 siblings, 0 replies; 26+ messages in thread
From: David S. Miller @ 2004-02-22 22:00 UTC (permalink / raw)
  To: sparclinux

On Sun, 22 Feb 2004 13:51:16 -0800
William Lee Irwin III <wli@holomorphy.com> wrote:

> I had to run elftoaout myself to prep the thing for tftpboot; I'm not
> sure how likely that is to fail/etc. I did get the following warning:
> 
> $ elftoaout vmlinux-263 
> PT 0 Entry: Loadable to 0x400000[0x3ba110] from 0x0[0x370d58] align 0x100000
> PT 1 Entry: unknown
> 
> I'm not sure how to pick apart the a.out stuff to see if it did
> something wrong with the STACK bits in the phdr. 2.4 doesn't have
> a STACK phdr so I suspect I may be getting hit here, among many
> other places.

Oh man, not another fucking variable to debug in this thing.

Is it absolutely impossible for you to get a basic debian woody install on
this thing so you can boot kernels off the partition instead of purely net
booting? :(

Ben Collins and I may have messed up net booting when we added SILO+kernel
support for larger images, but it could also be this STACK phdr thing too.

^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: oops in sched_init() on E3000
  2004-02-22  4:34 oops in sched_init() on E3000 William Lee Irwin III
                   ` (7 preceding siblings ...)
  2004-02-22 22:00 ` David S. Miller
@ 2004-02-22 22:01 ` David S. Miller
  2004-02-22 22:06 ` William Lee Irwin III
                   ` (15 subsequent siblings)
  24 siblings, 0 replies; 26+ messages in thread
From: David S. Miller @ 2004-02-22 22:01 UTC (permalink / raw)
  To: sparclinux

On Sun, 22 Feb 2004 13:57:52 -0800
"David S. Miller" <davem@redhat.com> wrote:

> Try '-d' on the kernel command line instead, you're not the only person who has
> needed this. :-)

Sorry, I meant "-p" of course.

^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: oops in sched_init() on E3000
  2004-02-22  4:34 oops in sched_init() on E3000 William Lee Irwin III
                   ` (8 preceding siblings ...)
  2004-02-22 22:01 ` David S. Miller
@ 2004-02-22 22:06 ` William Lee Irwin III
  2004-02-22 22:10 ` William Lee Irwin III
                   ` (14 subsequent siblings)
  24 siblings, 0 replies; 26+ messages in thread
From: William Lee Irwin III @ 2004-02-22 22:06 UTC (permalink / raw)
  To: sparclinux

On Sun, 22 Feb 2004 13:51:16 -0800 William Lee Irwin III <wli@holomorphy.com> wrote:
>> I had to run elftoaout myself to prep the thing for tftpboot; I'm not
>> sure how likely that is to fail/etc. I did get the following warning:
>> $ elftoaout vmlinux-263 
>> PT 0 Entry: Loadable to 0x400000[0x3ba110] from 0x0[0x370d58] align 0x100000
>> PT 1 Entry: unknown
>> I'm not sure how to pick apart the a.out stuff to see if it did
>> something wrong with the STACK bits in the phdr. 2.4 doesn't have
>> a STACK phdr so I suspect I may be getting hit here, among many
>> other places.

On Sun, Feb 22, 2004 at 02:00:04PM -0800, David S. Miller wrote:
> Oh man, not another fucking variable to debug in this thing.
> Is it absolutely impossible for you to get a basic debian woody install on
> this thing so you can boot kernels off the partition instead of purely net
> booting? :(
> Ben Collins and I may have messed up net booting when we added SILO+kernel
> support for larger images, but it could also be this STACK phdr thing too.

It's got 10 disks, so I'll hunt down one the Solaris install isn't using
and/or grab tilo from somewhere so an unadulterated ELF image can be used.

-- wli

^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: oops in sched_init() on E3000
  2004-02-22  4:34 oops in sched_init() on E3000 William Lee Irwin III
                   ` (9 preceding siblings ...)
  2004-02-22 22:06 ` William Lee Irwin III
@ 2004-02-22 22:10 ` William Lee Irwin III
  2004-02-22 23:17 ` David S. Miller
                   ` (13 subsequent siblings)
  24 siblings, 0 replies; 26+ messages in thread
From: William Lee Irwin III @ 2004-02-22 22:10 UTC (permalink / raw)
  To: sparclinux

On Sun, Feb 22, 2004 at 01:51:16PM -0800, William Lee Irwin III wrote:
> It hanged early (I can photograph the front LED's and make them
> webabble if need be). Bootlog included as a MIME attachment. The
> "Button XIR" is me typing in the reset string (less traumatic than
> cutting the power via APC MasterSwitch). The way I captured the
> output as early as I did before was with this patch:

I get the same tftpbooting your vmlinux run through elftoaout, this
time with -p. Does elftoaout look like the culprit?


Script started on Sun Feb 22 13:54:23 2004
$ screen -x
Ethernet address 8:0:20:89:ed:b7, Host ID: 8089edb7.
{6} ok eject cdrom
{6} ok close cdrom
close ?
{6} ok eject cdrom
{6} ok help eject
gog- Resume execution of OS
bootg- Boot the default OS
boot <device-name>g- Boot from the specified disk
printenvg- Display all configuration variables
setenv <name> <value>g- Set a configuration variable
devaliasg- Display all device aliases
devalias <name> <value>  - Create or change a device alias
show-devsg- Display the names of all devices

Many other commands are available.
{6} ok eject ?
Don't know how to eject ?
{6} ok uneject cdrom
uneject ?
{6} ok boot net:dhcp -p nfsroot=/mnt/f/e3k/gentoo ip=:::::eth0:dhcp profile=1
Boot device: /sbus@3,0/SUNW,hme@3,8c00000:dhcp  File and args: -p nfsroot=/mnt/f/e3k/gentoo ip=:::::eth0:dhcp profile=1
PROMLIB: Sun IEEE Boot Prom 3.2.30 2002/10/25 14:03
Linux version 2.6.3 (davem@nuts) (gcc version 3.3.3 (Debian)) #2 SMP Sat Feb 21 16:37:21 PST 2004
ARCH: SUN4U
Remapping the kernel... done.
Booting Linux...
Ethernet address: 08:00:20:89:ed:b7
On node 0 totalpages: 490189
  DMA zone: 490189 pages, LIFO batch:8
  Normal zone: 0 pages, LIFO batch:1
  HighMem zone: 0 pages, LIFO batch:1
CENTRAL: Detected 4 slot Enterprise system. cfreg[a8] cver[fc]
FHC(board 1): Version[1] PartID[fa0] Manuf[3e] (CENTRAL)
FHC(board 3): Version[1] PartID[fa0] Manuf[3e] (JTAG Master)
FHC(board 5): Version[1] PartID[fa0] Manuf[3e] 
FHC(board 7): Version[1] PartID[fa0] Manuf[3e] 
FHC(board 1): Version[1] PartID[fa0] Manuf[3e] 
Built 1 zonelists
Kernel command line: -p nfsroot=/mnt/f/e3k/gentoo ip=:::::eth0:dhcp profile=1
kernel profiling enabled
PID hash table entries: 4096 (order 12: 65536 bytes)
Unable to handle kernel NULL pointer dereference
tsk->{mm,active_mm}->context = 0000000000000000
tsk->{mm,active_mm}->pgd = fffff8000000f000
              \|/ ____ \|/
              "@'/ .. \`@"
              /_| \__/ |_\
                 \__U_/
swapper(0): Oops [#1]
TSTATE: 0000009980f01603 TPC: 000000000044af64 TNPC: 000000000044af68 Y: 00000000    Not tainted
TPC: <wake_up_forked_process+0x1e4/0x280>
g0: 0000000000791400 g1: 00000000000007f0 g2: 0000000000000000 g3: 00000000006b6cb8
g4: 00000000006b6c80 g5: 0000000000000000 g6: 00000000006b2c80 g7: 0000000000000000
o0: 000000000000007d o1: 0000000000010000 o2: fffff80002d75c40 o3: 0000000000772000
o4: 00000000006b6a18 o5: 0000000000000008 sp: 00000000006b6161 ret_pc: 000000000044aedc
RPC: <wake_up_forked_process+0x15c/0x280>
l0: 000000000076d1a0 l1: 0000000000791400 l2: 0000000000791400 l3: 00000000006c04a0
l4: 0000000000077e8b l5: 0000000000000003 l6: 0000000000000000 l7: 00000000006c0400
i0: 00000000006b6c80 i1: 0000000000000002 i2: 000000000076d1a0 i3: fffff80002d3f678
i4: 0000000000000001 i5: fffff80002d3f680 i6: 00000000006b6231 i7: 000000000075458c
I7: <sched_init+0x12c/0x1a0>
Instruction DUMP: 9a01e008  82006020  c2762038 <c4586008> c6706008  82102001  c6708000  c470e008  ca06202c 
Kernel panic: Attempted to kill the idle task!
In idle task - not syncing
 <0>Press L1-A to return to the boot prom
[detached]
$

Script done on Sun Feb 22 13:56:05 2004

^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: oops in sched_init() on E3000
  2004-02-22  4:34 oops in sched_init() on E3000 William Lee Irwin III
                   ` (10 preceding siblings ...)
  2004-02-22 22:10 ` William Lee Irwin III
@ 2004-02-22 23:17 ` David S. Miller
  2004-02-22 23:57 ` Ben Collins
                   ` (12 subsequent siblings)
  24 siblings, 0 replies; 26+ messages in thread
From: David S. Miller @ 2004-02-22 23:17 UTC (permalink / raw)
  To: sparclinux

On Sun, 22 Feb 2004 14:10:41 -0800
William Lee Irwin III <wli@holomorphy.com> wrote:

> On Sun, Feb 22, 2004 at 01:51:16PM -0800, William Lee Irwin III wrote:
> > It hanged early (I can photograph the front LED's and make them
> > webabble if need be). Bootlog included as a MIME attachment. The
> > "Button XIR" is me typing in the reset string (less traumatic than
> > cutting the power via APC MasterSwitch). The way I captured the
> > output as early as I did before was with this patch:
> 
> I get the same tftpbooting your vmlinux run through elftoaout, this
> time with -p. Does elftoaout look like the culprit?

It very well might be, let me tool around with this and study your
logs over the next day or so, I have some other things I really want
to finish first.

Meanwhile you can pick one of your 10 disks to install on :)

Thanks Will.

^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: oops in sched_init() on E3000
  2004-02-22  4:34 oops in sched_init() on E3000 William Lee Irwin III
                   ` (11 preceding siblings ...)
  2004-02-22 23:17 ` David S. Miller
@ 2004-02-22 23:57 ` Ben Collins
  2004-02-23  0:34 ` William Lee Irwin III
                   ` (11 subsequent siblings)
  24 siblings, 0 replies; 26+ messages in thread
From: Ben Collins @ 2004-02-22 23:57 UTC (permalink / raw)
  To: sparclinux

> Ben Collins and I may have messed up net booting when we added SILO+kernel
> support for larger images, but it could also be this STACK phdr thing too.

My big kernel testing worked with net booting, but I didn't use
elftoaout, I booted the elf image directly.

-- 
Debian     - http://www.debian.org/
Linux 1394 - http://www.linux1394.org/
Subversion - http://subversion.tigris.org/
WatchGuard - http://www.watchguard.com/

^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: oops in sched_init() on E3000
  2004-02-22  4:34 oops in sched_init() on E3000 William Lee Irwin III
                   ` (12 preceding siblings ...)
  2004-02-22 23:57 ` Ben Collins
@ 2004-02-23  0:34 ` William Lee Irwin III
  2004-02-23  5:41 ` David S. Miller
                   ` (10 subsequent siblings)
  24 siblings, 0 replies; 26+ messages in thread
From: William Lee Irwin III @ 2004-02-23  0:34 UTC (permalink / raw)
  To: sparclinux

At some point in the past, davem wrote:
>> Ben Collins and I may have messed up net booting when we added SILO+kernel
>> support for larger images, but it could also be this STACK phdr thing too.

On Sun, Feb 22, 2004 at 06:57:12PM -0500, Ben Collins wrote:
> My big kernel testing worked with net booting, but I didn't use
> elftoaout, I booted the elf image directly.

OpenBoot 3.2.30 doesn't seem to netboot ELF directly; how did you do it?


-- wli

^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: oops in sched_init() on E3000
  2004-02-22  4:34 oops in sched_init() on E3000 William Lee Irwin III
                   ` (13 preceding siblings ...)
  2004-02-23  0:34 ` William Lee Irwin III
@ 2004-02-23  5:41 ` David S. Miller
  2004-02-23 10:02 ` William Lee Irwin III
                   ` (9 subsequent siblings)
  24 siblings, 0 replies; 26+ messages in thread
From: David S. Miller @ 2004-02-23  5:41 UTC (permalink / raw)
  To: sparclinux

On Sun, 22 Feb 2004 18:57:12 -0500
Ben Collins <bcollins@debian.org> wrote:

> > Ben Collins and I may have messed up net booting when we added SILO+kernel
> > support for larger images, but it could also be this STACK phdr thing too.
> 
> My big kernel testing worked with net booting, but I didn't use
> elftoaout, I booted the elf image directly.

Please play with this if you get a chance Ben, we'll need it for tftpboot.img
stuff in the end.

^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: oops in sched_init() on E3000
  2004-02-22  4:34 oops in sched_init() on E3000 William Lee Irwin III
                   ` (14 preceding siblings ...)
  2004-02-23  5:41 ` David S. Miller
@ 2004-02-23 10:02 ` William Lee Irwin III
  2004-02-23 12:04 ` Ben Collins
                   ` (8 subsequent siblings)
  24 siblings, 0 replies; 26+ messages in thread
From: William Lee Irwin III @ 2004-02-23 10:02 UTC (permalink / raw)
  To: sparclinux

[-- Attachment #1: Type: text/plain, Size: 1107 bytes --]

On Sun, 22 Feb 2004 14:10:41 -0800 William Lee Irwin III <wli@holomorphy.com> wrote:
>> I get the same tftpbooting your vmlinux run through elftoaout, this
>> time with -p. Does elftoaout look like the culprit?

On Sun, Feb 22, 2004 at 03:17:39PM -0800, David S. Miller wrote:
> It very well might be, let me tool around with this and study your
> logs over the next day or so, I have some other things I really want
> to finish first.
> Meanwhile you can pick one of your 10 disks to install on :)
> Thanks Will.

CONFIG_NR_CPUS=6 is the culprit; things get pretty far in the attached
log which basically did nothing but change CONFIG_NR_CPUS to 32 in
current bk. I think elftoaout, gcc (well, this is 3.3.3), and so on can
all be ruled out simultaneously for this.

Solaris can talk bidirectionally over the same wire, dhcp config, NIC,
etc. but ethereal and tcpdump see limited outbound traffic and no
upper-level protocol acks etc. out of Linux. There could be something
going on with the hme driver. I'm investigating tricks to get the PROM
to somehow recognize the CD's I cut in the meantime.

-- wli

[-- Attachment #2: e3k.log.28 --]
[-- Type: text/plain, Size: 9732 bytes --]

Script started on Mon Feb 23 00:32:48 2004
$ s\bscreen -x
1049h^[[r^[[H7h1;4;6l^[[4l1h^[=^[(B^[[1;24r^[[H^[[H.DHCP: Sending message type 1
.DHCP: Sending message type 1.
timed out!
IP-Config: Downing eth0
IP-Config: Retrying forever (NFS root)...
IP-Config: eth0 UP (able=1, xid=f1135bbb)
Sending DHCP requests .DHCP: Sending message type 1
eth0: Link is up using internal transceiver at 100Mb/s, Full Duplex.
.DHCP: Sending message type 1
.DHCP: Sending message type 1
.DHCP: Sending message type 1
.DHCP: Sending message type 1
Button XIR
Software Power ON
4-slot Sun Enterprise 3000, No Keyboard
OpenBoot 3.2.30, 3840 MB memory installed, Serial #9039287.
Copyright 2002 Sun Microsystems, Inc.  All rights reserved
Ethernet address 8:0:20:89:ed:b7, Host ID: 8089edb7.^[[4B{6} ok boot net:dhcp root=/dev/nfs nfsroot=192.168.1.1:/mnt/f/e3k/gentoo,port=2049 ip=192.168.1.16:192.168.1.1:192.168.1.1:analyticity:off debug initcall_debug profile=1
Boot device: /sbus@3,0/SUNW,hme@3,8c00000:dhcp  File and args: root=/dev/nfs nfsroot=192.168.1.1:/mnt/f/e3k/gentoo,port=2049 ip=192.168.1.16:192.168.1.1:192.168.1.1:analyticity:off debug initcall_debug profile=1
Remapping the kernel... done.
Booting Linux...
Linux version 2.6.3 (wli@monad) (gcc version 3.3.3) #1 SMP Mon Feb 23 00:00:42 PST 2004
ARCH: SUN4U
Ethernet address: 08:00:20:89:ed:b7
On node 0 totalpages: 490243
  DMA zone: 490243 pages, LIFO batch:8
  Normal zone: 0 pages, LIFO batch:1
  HighMem zone: 0 pages, LIFO batch:1
CENTRAL: Detected 4 slot Enterprise system. cfreg[a8] cver[fc]
FHC(board 1): Version[1] PartID[fa0] Manuf[3e] (CENTRAL)
FHC(board 3): Version[1] PartID[fa0] Manuf[3e] (JTAG Master)
FHC(board 5): Version[1] PartID[fa0] Manuf[3e] 
FHC(board 7): Version[1] PartID[fa0] Manuf[3e] 
FHC(board 1): Version[1] PartID[fa0] Manuf[3e] 
Built 1 zonelists
Kernel command line: root=/dev/nfs nfsroot=192.168.1.1:/mnt/f/e3k/gentoo,port=2049 ip=192.168.1.16:192.168.1.1:192.168.1.1:analyticity:off debug initcall_debug profile=1
IP-Config: Parameter #0: `192.168.1.16'
IP-Config: Parameter #1: `192.168.1.1'
IP-Config: Parameter #2: `192.168.1.1'
IP-Config: Parameter #3: `analyticity'
IP-Config: Parameter #4: `off'
kernel profiling enabled
PID hash table entries: 4096 (order 12: 65536 bytes)
Console: colour dummy device 80x25
Memory: 3873472k available (2288k kernel code, 664k data, 128k init) [fffff80000000000,00000000efd18000]
Calibrating delay loop... 670.10 BogoMIPS
Dentry cache hash table entries: 524288 (order: 9, 4194304 bytes)
Inode-cache hash table entries: 262144 (order: 8, 2097152 bytes)
Mount-cache hash table entries: 512 (order: 0, 8192 bytes)
POSIX conformance testing by UNIFIX
Calibrating delay loop... 670.10 BogoMIPS
CPU 7: synchronized TICK with master CPU (last diff -10 cycles,maxerr 668 cycles)\b
 \bCalibrating delay loop... 670.10 BogoMIPS
CPU 10: synchronized TICK with master CPU (last diff -14 cycles,maxerr 696 cycles)
  Calibrating delay loop... 670.10 BogoMIPS
CPU 11: synchronized TICK with master CPU (last diff -14 cycles,maxerr 686 cycles)
  Calibrating delay loop... 670.10 BogoMIPS
CPU 14: synchronized TICK with master CPU (last diff -16 cycles,maxerr 693 cycles)
  Calibrating delay loop... 670.10 BogoMIPS
CPU 15: synchronized TICK with master CPU (last diff -15 cycles,maxerr 688 cycles)
  Brought up 5 CPUs
Total of 6 processors activated (4020.63 BogoMIPS).
SMP: Calibrating ecache flush... Using heuristic of 1195596 cycles, 1 ticks.
calling initcall 0x00000000006fe9c0
NET: Registered protocol family 16
calling initcall 0x00000000006f7be0
calling initcall 0x00000000006eee60
calling initcall 0x00000000006f4720
calling initcall 0x00000000006f8320
calling initcall 0x00000000006f9d80
calling initcall 0x00000000006f9dc0
calling initcall 0x00000000006fc760
SCSI subsystem initialized
calling initcall 0x00000000006fd6e0
SYSIO: UPA portID 2, at 000001c400000000
sbus0: Clock 25.0 MHz
SYSIO: UPA portID 3, at 000001c600000000
sbus1: Clock 25.0 MHz
dma0: HME DVMA gate array 
calling initcall 0x00000000006fdfe0
calling initcall 0x00000000006fe760
calling initcall 0x00000000006f7920
calling initcall 0x00000000006f0620
calling initcall 0x00000000006f0e80
calling initcall 0x00000000006f20e0
calling initcall 0x00000000006f2660
calling initcall 0x00000000006f2820
calling initcall 0x00000000006f2b80
calling initcall 0x00000000006f2c40
calling initcall 0x00000000006f2ca0
calling initcall 0x000000000045cda0
calling initcall 0x00000000006f2ce0
calling initcall 0x00000000006f2d20
ikconfig 0.7 with /proc/config*
calling initcall 0x00000000006f3ec0
calling initcall 0x00000000006f4020
calling initcall 0x00000000006f42a0
calling initcall 0x00000000006f4360
calling initcall 0x00000000006f4420
calling initcall 0x00000000006f4500
calling initcall 0x00000000006f4900
calling initcall 0x00000000006f4960
calling initcall 0x00000000006f49c0
calling initcall 0x00000000006f4e60
calling initcall 0x00000000006f5120
calling initcall 0x00000000006f51c0
calling initcall 0x00000000006f52e0
calling initcall 0x00000000006f5360
calling initcall 0x00000000006f53c0
calling initcall 0x00000000006f53e0
calling initcall 0x00000000006f5400
calling initcall 0x00000000006f5960
calling initcall 0x00000000006f5a00
calling initcall 0x00000000006f5c20
calling initcall 0x00000000006f5c60
calling initcall 0x00000000006f5d80
calling initcall 0x00000000006f5dc0
calling initcall 0x00000000006f5e20
calling initcall 0x00000000006f5e80
calling initcall 0x00000000006f6760
calling initcall 0x00000000006f67a0
udf: registering filesystem
calling initcall 0x00000000006f6ca0
calling initcall 0x00000000006f6d40
calling initcall 0x00000000006f6f60
Initializing Cryptographic API
calling initcall 0x00000000006f6fe0
calling initcall 0x00000000006f7000
calling initcall 0x00000000006f7020
calling initcall 0x00000000006f7080
calling initcall 0x00000000006f7a80
calling initcall 0x00000000006f7c20
Console: switching to mono PROM 80x34
calling initcall 0x00000000006f7e80
pty: 2048 Unix98 ptys configured
calling initcall 0x00000000006f8c00
calling initcall 0x00000000006f9960
SunZilog: 2 chips.
zs2 at 0x000001fff8904004 (irq = 12,b9) is a SunZilog
zs3 at 0x000001fff8904000 (irq = 12,b9) is a SunZilog
ttyS0 at MMIO 0x0 (irq = 7398880) is a SunZilog
ttyS1 at MMIO 0x0 (irq = 7398880) is a SunZilog
Console: ttyS0 (SunZilog zs0)
calling initcall 0x00000000006f9bc0
calling initcall 0x000000000057caa0
calling initcall 0x00000000006f9e20
loop: loaded (max 8 devices)
calling initcall 0x00000000006fa160
Using deadline io scheduler
nbd: registered device at major 43
calling initcall 0x00000000006fad80
sunhme.c:v2.02 24/Aug/2003 David S. Miller (davem@redhat.com)
eth0: HAPPY MEAL (SBUS) 10/100baseT Ethernet 08:00:20:89:ed:b7 
calling initcall 0x00000000006fb320
calling initcall 0x00000000006fbe20
calling initcall 0x00000000006fc460
calling initcall 0x00000000006fc6a0
calling initcall 0x00000000006fcce0
st: Version 20040122, fixed bufsize 32768, s/g segs 256
calling initcall 0x00000000006fcda0
calling initcall 0x00000000006fce00
calling initcall 0x00000000006fce40
calling initcall 0x00000000006fcf20
calling initcall 0x00000000006fdcc0
calling initcall 0x00000000006fde00
calling initcall 0x00000000006fdea0
calling initcall 0x00000000006fe080
mice: PS/2 mouse device common for all mice
calling initcall 0x00000000006fe160
calling initcall 0x00000000006fe180
calling initcall 0x00000000006fe240
calling initcall 0x00000000006fe2a0
calling initcall 0x00000000006fe460
calling initcall 0x00000000006fea20
calling initcall 0x00000000006ff8e0
NET: Registered protocol family 2
IP: routing cache hash table of 8192 buckets, 128Kbytes
TCP: Hash tables configured (established 8192 bind 8192)
calling initcall 0x00000000006ffe80
calling initcall 0x00000000006fff00
calling initcall 0x00000000006fff80
calling initcall 0x0000000000702200
calling initcall 0x0000000000702420
NET: Registered protocol family 1
calling initcall 0x00000000007024c0
NET: Registered protocol family 17
calling initcall 0x0000000000702520
NET: Registered protocol family 15
calling initcall 0x0000000000702580
calling initcall 0x00000000007025a0
calling initcall 0x0000000000702620
calling initcall 0x0000000000701b20
IP-Config: Entered.
IP-Config: eth0 UP (able=3, xid=07196018)
IP-Config: Unable to set interface netmask (-22).
Looking up port of RPC 100005/1 on 192.168.1.1
eth0: Link is up using internal transceiver at 100Mb/s, Full Duplex.
portmap: server 192.168.1.1 not responding, timed out
Root-NFS: Unable to get mountd port number from server, using default
NETDEV WATCHDOG: eth0: transmit timed out
eth0: transmit timed out, resetting
eth0: Happy Status 03010000 TX[000003ff:00000301]
eth0: Link is up using internal transceiver at 100Mb/s, Full Duplex.
mount: server 192.168.1.1 not responding, timed out
Root-NFS: Server returned error -5 while mounting /mnt/f/e3k/gentoo
VFS: Unable to mount root fs via NFS, trying floppy.
VFS: Cannot open root device "nfs" or unknown-block(2,0)
Please append a correct "root=" boot option
Kernel panic: VFS: Unable to mount root fs on unknown-block(2,0)
 <0>Press L1-A to return to the boot prom
Bell in window 8  \b\b                  Bell in window 9  \b\b                  Bell in window 9  \b\b                  Bell in window 8  \b\b                  Bell in window 8  \b\b                  Bell in window 8  \b\b                  Bell in window 9  \b\b                  Bell in window 8  \b\b                  Bell in window 10  \b\b                   1l^[>^[[24;1H
1049l[detached]
$ 

Script done on Mon Feb 23 01:56:22 2004

^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: oops in sched_init() on E3000
  2004-02-22  4:34 oops in sched_init() on E3000 William Lee Irwin III
                   ` (15 preceding siblings ...)
  2004-02-23 10:02 ` William Lee Irwin III
@ 2004-02-23 12:04 ` Ben Collins
  2004-02-23 12:11 ` Ben Collins
                   ` (7 subsequent siblings)
  24 siblings, 0 replies; 26+ messages in thread
From: Ben Collins @ 2004-02-23 12:04 UTC (permalink / raw)
  To: sparclinux

On Sun, Feb 22, 2004 at 04:34:50PM -0800, William Lee Irwin III wrote:
> At some point in the past, davem wrote:
> >> Ben Collins and I may have messed up net booting when we added SILO+kernel
> >> support for larger images, but it could also be this STACK phdr thing too.
> 
> On Sun, Feb 22, 2004 at 06:57:12PM -0500, Ben Collins wrote:
> > My big kernel testing worked with net booting, but I didn't use
> > elftoaout, I booted the elf image directly.
> 
> OpenBoot 3.2.30 doesn't seem to netboot ELF directly; how did you do it?

I didn't say I did it on an e3000 :) Just noting that netboot should
still work.

-- 
Debian     - http://www.debian.org/
Linux 1394 - http://www.linux1394.org/
Subversion - http://subversion.tigris.org/
WatchGuard - http://www.watchguard.com/

^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: oops in sched_init() on E3000
  2004-02-22  4:34 oops in sched_init() on E3000 William Lee Irwin III
                   ` (16 preceding siblings ...)
  2004-02-23 12:04 ` Ben Collins
@ 2004-02-23 12:11 ` Ben Collins
  2004-02-23 12:27 ` William Lee Irwin III
                   ` (6 subsequent siblings)
  24 siblings, 0 replies; 26+ messages in thread
From: Ben Collins @ 2004-02-23 12:11 UTC (permalink / raw)
  To: sparclinux

On Mon, Feb 23, 2004 at 04:27:31AM -0800, William Lee Irwin III wrote:
> On Sun, Feb 22, 2004 at 04:34:50PM -0800, William Lee Irwin III wrote:
> >> OpenBoot 3.2.30 doesn't seem to netboot ELF directly; how did you do it?
> 
> On Mon, Feb 23, 2004 at 07:04:55AM -0500, Ben Collins wrote:
> > I didn't say I did it on an e3000 :) Just noting that netboot should
> > still work.
> 
> Yeah, it turned out to be a config problem (CONFIG_NR_CPUS = 6 is bad
> with sparse MID's). I'm chasing down a sunhme.c issue how it appears.
> Bootlog (with some instrumentation) attached.

Nope, now you're chasing the same problem I am on e3000. Somehow the
IRQ's aren't getting setup properly. For me, esp scsi gets initialized
first, and the machine locks up waiting for the esp to get it's first
interrupt.

-- 
Debian     - http://www.debian.org/
Linux 1394 - http://www.linux1394.org/
Subversion - http://subversion.tigris.org/
WatchGuard - http://www.watchguard.com/

^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: oops in sched_init() on E3000
  2004-02-22  4:34 oops in sched_init() on E3000 William Lee Irwin III
                   ` (17 preceding siblings ...)
  2004-02-23 12:11 ` Ben Collins
@ 2004-02-23 12:27 ` William Lee Irwin III
  2004-02-24  7:37 ` William Lee Irwin III
                   ` (5 subsequent siblings)
  24 siblings, 0 replies; 26+ messages in thread
From: William Lee Irwin III @ 2004-02-23 12:27 UTC (permalink / raw)
  To: sparclinux

[-- Attachment #1: Type: text/plain, Size: 491 bytes --]

On Sun, Feb 22, 2004 at 04:34:50PM -0800, William Lee Irwin III wrote:
>> OpenBoot 3.2.30 doesn't seem to netboot ELF directly; how did you do it?

On Mon, Feb 23, 2004 at 07:04:55AM -0500, Ben Collins wrote:
> I didn't say I did it on an e3000 :) Just noting that netboot should
> still work.

Yeah, it turned out to be a config problem (CONFIG_NR_CPUS == 6 is bad
with sparse MID's). I'm chasing down a sunhme.c issue how it appears.
Bootlog (with some instrumentation) attached.


-- wli

[-- Attachment #2: e3k.log.32 --]
[-- Type: text/plain, Size: 10618 bytes --]

Script started on Mon Feb 23 04:16:30 2004
$ s\bscreen -x
1049h^[[r^[[H7h1;4;6l^[[4l1h^[=^[(B^[[1;24r^[[H^[[H0000000], tx old[00000100] and rx [00000a00] ON!
IP-Config: eth0 UP (able=1, xid=07196018)
IP-Config: Complete:^[[4;7Hdevice=eth0, addr=192.168.1.16, mask=255.255.255.0, gw=192.168.1.1,^[[5;6Hhost=analyticity, domain=, nis-domain=(none),^[[6;6Hbootserver=192.168.1.1, rootserver=192.168.1.1, rootpath=
eth0: Link is up using internal transceiver at 100Mb/s, Full Duplex.
mount: server 192.168.1.1 not responding, timed out
Root-NFS: Server returned error -5 while mounting /mnt/f/e3k/gentoo
VFS: Unable to mount root fs via NFS, trying floppy.
VFS: Cannot open root device "nfs" or unknown-block(2,0)
Please append a correct "root=" boot option
Kernel panic: VFS: Unable to mount root fs on unknown-block(2,0)K
<0>Press L1-A to return to the boot prom
Button XIR
Software Power ON
4-slot Sun Enterprise 3000, No Keyboard
OpenBoot 3.2.30, 3840 MB memory installed, Serial #9039287.
Copyright 2002 Sun Microsystems, Inc.  All rights reserved
Ethernet address 8:0:20:89:ed:b7, Host ID: 8089edb7.^[[4B{6} ok boot net:dhcp root=/dev/nfs nfsroot=192.168.1.1:/mnt/f/e3k/gentoo,port=2049,mount_port=771 ip=192.168.1.16:192.168.1.1:192.168.1.1:255.255.255.0:analyticity:eth0:dhcp debug initcall_debug profile=1
Boot device: /sbus@3,0/SUNW,hme@3,8c00000:dhcp  File and args: root=/dev/nfs nfsroot=192.168.1.1:/mnt/f/e3k/gentoo,port=2049,mount_port=771 ip=192.168.1.16:192.168.1.1:192.168.1.1:255.255.255.0:analyticity:eth0:dhcp debug initcall_debug profile=1
Remapping the kernel... done.
Booting Linux...
Linux version 2.6.3 (wli@monad) (gcc version 3.3.3) #6 SMP Mon Feb 23 04:15:23 PST 2004
ARCH: SUN4U
Ethernet address: 08:00:20:89:ed:b7
On node 0 totalpages: 490243
  DMA zone: 490243 pages, LIFO batch:8
  Normal zone: 0 pages, LIFO batch:1
  HighMem zone: 0 pages, LIFO batch:1
CENTRAL: Detected 4 slot Enterprise system. cfreg[a8] cver[fc]
FHC(board 1): Version[1] PartID[fa0] Manuf[3e] (CENTRAL)
FHC(board 3): Version[1] PartID[fa0] Manuf[3e] (JTAG Master)
FHC(board 5): Version[1] PartID[fa0] Manuf[3e] 
FHC(board 7): Version[1] PartID[fa0] Manuf[3e] 
FHC(board 1): Version[1] PartID[fa0] Manuf[3e] 
Built 1 zonelists
Kernel command line: root=/dev/nfs nfsroot=192.168.1.1:/mnt/f/e3k/gentoo,port=2049,mount_port=771 ip=192.168.1.16:192.168.1.1:192.168.1.1:255.255.255.0:analyticity:eth0:dhcp debug initcall_debug profile=1
IP-Config: Parameter #0: `192.168.1.16'
IP-Config: Parameter #1: `192.168.1.1'
IP-Config: Parameter #2: `192.168.1.1'
IP-Config: Parameter #3: `255.255.255.0'
IP-Config: Parameter #4: `analyticity'
IP-Config: Parameter #5: `eth0'
IP-Config: Parameter #6: `dhcp'
kernel profiling enabled
PID hash table entries: 4096 (order 12: 65536 bytes)
Console: colour dummy device 80x25
Memory: 3873472k available (2280k kernel code, 664k data, 128k init) [fffff80000000000,00000000efd18000]
Calibrating delay loop... 670.10 BogoMIPS
Dentry cache hash table entries: 524288 (order: 9, 4194304 bytes)
Inode-cache hash table entries: 262144 (order: 8, 2097152 bytes)
Mount-cache hash table entries: 512 (order: 0, 8192 bytes)
POSIX conformance testing by UNIFIX
Calibrating delay loop... 670.10 BogoMIPS
CPU 7: synchronized TICK with master CPU (last diff -3 cycles,maxerr 651 cycles)
Calibrating delay loop... 670.10 BogoMIPS
CPU 10: synchronized TICK with master CPU (last diff 2 cycles,maxerr 661 cycles)
Calibrating delay loop... 670.10 BogoMIPS
CPU 11: synchronized TICK with master CPU (last diff -12 cycles,maxerr 686 cycles)
  Calibrating delay loop... 670.10 BogoMIPS
CPU 14: synchronized TICK with master CPU (last diff -16 cycles,maxerr 694 cycles)
  Calibrating delay loop... 670.10 BogoMIPS
CPU 15: synchronized TICK with master CPU (last diff -3 cycles,maxerr 668 cycles)\b
 \bBrought up 5 CPUs
Total of 6 processors activated (4020.63 BogoMIPS).
SMP: Calibrating ecache flush... Using heuristic of 1196100 cycles, 1 ticks.
calling initcall 0x00000000006fe900
NET: Registered protocol family 16
calling initcall 0x00000000006f7c00
calling initcall 0x00000000006eee60
calling initcall 0x00000000006f4720
calling initcall 0x00000000006f8340
calling initcall 0x00000000006f9da0
calling initcall 0x00000000006f9de0
calling initcall 0x00000000006fc780
SCSI subsystem initialized
calling initcall 0x00000000006fd700
SYSIO: UPA portID 2, at 000001c400000000
sbus0: Clock 25.0 MHz
SYSIO: UPA portID 3, at 000001c600000000
sbus1: Clock 25.0 MHz
dma0: HME DVMA gate array 
calling initcall 0x00000000006fe000
calling initcall 0x00000000006fe6a0
calling initcall 0x00000000006f7940
calling initcall 0x00000000006f0620
calling initcall 0x00000000006f0e80
calling initcall 0x00000000006f20e0
calling initcall 0x00000000006f2660
calling initcall 0x00000000006f2820
calling initcall 0x00000000006f2b80
calling initcall 0x00000000006f2c40
calling initcall 0x00000000006f2ca0
calling initcall 0x000000000045cda0
calling initcall 0x00000000006f2ce0
calling initcall 0x00000000006f2d20
ikconfig 0.7 with /proc/config*
calling initcall 0x00000000006f3ec0
calling initcall 0x00000000006f4020
calling initcall 0x00000000006f42a0
calling initcall 0x00000000006f4360
calling initcall 0x00000000006f4420
calling initcall 0x00000000006f4500
calling initcall 0x00000000006f4900
calling initcall 0x00000000006f4960
calling initcall 0x00000000006f49c0
calling initcall 0x00000000006f4e60
calling initcall 0x00000000006f5120
calling initcall 0x00000000006f51c0
calling initcall 0x00000000006f52e0
calling initcall 0x00000000006f5360
calling initcall 0x00000000006f53c0
calling initcall 0x00000000006f53e0
calling initcall 0x00000000006f5400
calling initcall 0x00000000006f5960
calling initcall 0x00000000006f5a00
calling initcall 0x00000000006f5c20
calling initcall 0x00000000006f5c60
calling initcall 0x00000000006f5d80
calling initcall 0x00000000006f5dc0
calling initcall 0x00000000006f5e20
calling initcall 0x00000000006f5e80
calling initcall 0x00000000006f6780
calling initcall 0x00000000006f67c0
udf: registering filesystem
calling initcall 0x00000000006f6cc0
calling initcall 0x00000000006f6d60
calling initcall 0x00000000006f6f80
Initializing Cryptographic API
calling initcall 0x00000000006f7000
calling initcall 0x00000000006f7020
calling initcall 0x00000000006f7040
calling initcall 0x00000000006f70a0
calling initcall 0x00000000006f7aa0
calling initcall 0x00000000006f7c40
Console: switching to mono PROM 80x34
calling initcall 0x00000000006f7ea0
pty: 2048 Unix98 ptys configured
calling initcall 0x00000000006f8c20
calling initcall 0x00000000006f9980
SunZilog: 2 chips.
zs2 at 0x000001fff8904004 (irq = 12,b9) is a SunZilog
zs3 at 0x000001fff8904000 (irq = 12,b9) is a SunZilog
handler_irq(12, fffff800efcaf6c0)
ttyS0 at MMIO 0x0 (irq = 7398880) is a SunZilog
ttyS1 at MMIO 0x0 (irq = 7398880) is a SunZilog
Console: ttyS0 (SunZilog zs0)
calling initcall 0x00000000006f9be0
calling initcall 0x000000000057caa0
calling initcall 0x00000000006f9e40
loop: loaded (max 8 devices)
calling initcall 0x00000000006fa180
Using deadline io scheduler
nbd: registered device at major 43
calling initcall 0x00000000006fada0
sunhme.c:v2.02 24/Aug/2003 David S. Miller (davem@redhat.com)
happy_meal_stop: reset, done
eth0: HAPPY MEAL (SBUS) 10/100baseT Ethernet 08:00:20:89:ed:b7 
calling initcall 0x00000000006fb340
calling initcall 0x00000000006fbe40
calling initcall 0x00000000006fc480
calling initcall 0x00000000006fc6c0
calling initcall 0x00000000006fcd00
st: Version 20040122, fixed bufsize 32768, s/g segs 256
calling initcall 0x00000000006fcdc0
calling initcall 0x00000000006fce20
calling initcall 0x00000000006fce60
calling initcall 0x00000000006fcf40
calling initcall 0x00000000006fdce0
calling initcall 0x00000000006fde20
calling initcall 0x00000000006fdec0
calling initcall 0x00000000006fe0a0
calling initcall 0x00000000006fe0c0
calling initcall 0x00000000006fe180
calling initcall 0x00000000006fe1e0
calling initcall 0x00000000006fe3a0
calling initcall 0x00000000006fe960
calling initcall 0x00000000006ff820
NET: Registered protocol family 2
IP: routing cache hash table of 8192 buckets, 128Kbytes
TCP: Hash tables configured (established 8192 bind 8192)
calling initcall 0x00000000006ffdc0
calling initcall 0x00000000006ffe40
calling initcall 0x00000000006ffec0
calling initcall 0x0000000000702140
calling initcall 0x0000000000702360
NET: Registered protocol family 1
calling initcall 0x0000000000702400
NET: Registered protocol family 17
calling initcall 0x0000000000702460
NET: Registered protocol family 15
calling initcall 0x00000000007024c0
calling initcall 0x00000000007024e0
calling initcall 0x0000000000702560
calling initcall 0x0000000000701a60
IP-Config: Entered.
happy_meal_open: to happy_meal_init
happy_meal_init: happy_flags[00000186] set HFLAG_INIT, to happy_meal_poll_stop
not polling, return
happy_meal_init: to happy_meal_stop
happy_meal_stop: reset, done
happy_meal_init: to happy_meal_init_rings
happy_meal_init_rings: counters to zero, clean, init rxring, init txring, done
happy_meal_init: Disable all MIF irqs (old[0000ffff]), use frame old[00000100], to happy_meal_transceiver_check
happy_meal_init: internal, using MII, tx/rx reset, happy_meal_tx_reset: reset, done
   happy_meal_rx_reset: reset, done
jsize/ipg1/ipg2, rseed/macaddr, htable, ring ptrs rxr[c7ffe000] txr[c7ffe800]
happy_meal_init: old[00000000] bursts<64>, enable global interrupts, tx rsize=32 oreg[0000000f], tx dma enable old[000003fe], erx regs bug old[00000000]
happy_meal_init: enable hash rx_cfg_old[00000101], BIGMAC init, XIF config old[00000000], tx old[00000100] and rx [00000a00] ON!
IP-Config: eth0 UP (able=1, xid=07196018)
IP-Config: Complete:
      device=eth0, addr=192.168.1.16, mask=255.255.255.0, gw=192.168.1.1,
     host=analyticity, domain=, nis-domain=(none),
     bootserver=192.168.1.1, rootserver=192.168.1.1, rootpath=
handler_irq(5, fffff800efcaed90)
eth0: Link is up using internal transceiver at 100Mb/s, Full Duplex.
mount: server 192.168.1.1 not responding, timed out
Root-NFS: Server returned error -5 while mounting /mnt/f/e3k/gentoo
VFS: Unable to mount root fs via NFS, trying floppy.
VFS: Cannot open root device "nfs" or unknown-block(2,0)
Please append a correct "root=" boot option
Kernel panic: VFS: Unable to mount root fs on unknown-block(2,0)
 <0>Press L1-A to return to the boot prom
1l^[>^[[24;1H
1049l[detached]
$ 

Script done on Mon Feb 23 04:22:48 2004

^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: oops in sched_init() on E3000
  2004-02-22  4:34 oops in sched_init() on E3000 William Lee Irwin III
                   ` (18 preceding siblings ...)
  2004-02-23 12:27 ` William Lee Irwin III
@ 2004-02-24  7:37 ` William Lee Irwin III
  2004-02-24 15:13 ` Ben Collins
                   ` (4 subsequent siblings)
  24 siblings, 0 replies; 26+ messages in thread
From: William Lee Irwin III @ 2004-02-24  7:37 UTC (permalink / raw)
  To: sparclinux

[-- Attachment #1: Type: text/plain, Size: 741 bytes --]

On Sun, Feb 22, 2004 at 04:34:50PM -0800, William Lee Irwin III wrote:
>>> OpenBoot 3.2.30 doesn't seem to netboot ELF directly; how did you do it?

On Mon, Feb 23, 2004 at 07:04:55AM -0500, Ben Collins wrote:
>> I didn't say I did it on an e3000 :) Just noting that netboot should
>> still work.

On Mon, Feb 23, 2004 at 04:27:31AM -0800, William Lee Irwin III wrote:
> Yeah, it turned out to be a config problem (CONFIG_NR_CPUS == 6 is bad
> with sparse MID's). I'm chasing down a sunhme.c issue how it appears.
> Bootlog (with some instrumentation) attached.

I found what I was looking for. 2.5.75 makes it to luserspace okay,
so I think I broke whatever 2.6.3 is seeing when cpumask_t got merged.

Bootlog attached (as usual).


-- wli

[-- Attachment #2: e3k.log.47 --]
[-- Type: text/plain, Size: 10315 bytes --]

Script started on Mon Feb 23 23:11:57 2004
$ screen -x
/sbin/rc: line 797: syntax error: unexpected end of file
/sbin/rc: line 797: syntax error: unexpected end of file
INIT: Entering runlevel: 3
/sbin/rc: line 797: syntax error: unexpected end of file


This is analyticity.holomorphy.com (Linux sparc64 2.5.75) 07:21:53

analyticity login: root
FATAL: cannot change permissions of TTY: Read-only file system

This is analyticity.holomorphy.com (Linux sparc64 2.5.75) 07:23:18

analyticity login:

This is analyticity.holomorphy.com (Linux sparc64 2.5.75) 07:27:21

analyticity login:

This is analyticity.holomorphy.com (Linux sparc64 2.5.75) 07:27:22

analyticity login: ~Button XIR
Software Power ON
4-slot Sun Enterprise 3000, No Keyboard
OpenBoot 3.2.30, 3840 MB memory installed, Serial #9039287.
Copyright 2002 Sun Microsystems, Inc.  All rights reserved
Ethernet address 8:0:20:89:ed:b7, Host ID: 8089edb7.



{6} ok boot net:dhcp root=/dev/nfs nfsroot=/mnt/f/e3k/gentoo ip=dhcp debug initcall_debug profile=1 gentoo=nodevfs
Boot device: /sbus@3,0/SUNW,hme@3,8c00000:dhcp  File and args: root=/dev/nfs nfsroot=/mnt/f/e3k/gentoo ip=dhcp debug initcall_debug profile=1 gentoo=nodevfs
Remapping the kernel... done.
Booting Linux...
calling initcall 0x00000000006e3220
calling initcall 0x00000000006da780
calling initcall 0x00000000006dffc0
BIO: pool of 256 setup, 24Kb (96 bytes/bio)
biovec pool[0]:   1 bvecs: 256 entries (16 bytes)
biovec pool[1]:   4 bvecs: 256 entries (64 bytes)
biovec pool[2]:  16 bvecs: 256 entries (256 bytes)
biovec pool[3]:  64 bvecs: 256 entries (1024 bytes)
biovec pool[4]: 128 bvecs: 256 entries (2048 bytes)
biovec pool[5]: 256 bvecs: 256 entries (4096 bytes)
calling initcall 0x00000000006e5460
calling initcall 0x00000000006e54a0
calling initcall 0x00000000006e5500
calling initcall 0x00000000006e7d20
SCSI subsystem initialized
calling initcall 0x00000000006e8ba0
SYSIO: UPA portID 2, at 000001c400000000
sbus0: Clock 25.0 MHz
SYSIO: UPA portID 3, at 000001c600000000
sbus1: Clock 25.0 MHz
dma0: HME DVMA gate array
calling initcall 0x00000000006e93c0
calling initcall 0x00000000006e9a20
calling initcall 0x00000000006e3140
calling initcall 0x00000000006da780
calling initcall 0x00000000006dffc0
BIO: pool of 256 setup, 24Kb (96 bytes/bio)
biovec pool[0]:   1 bvecs: 256 entries (16 bytes)
biovec pool[1]:   4 bvecs: 256 entries (64 bytes)
biovec pool[2]:  16 bvecs: 256 entries (256 bytes)
biovec pool[3]:  64 bvecs: 256 entries (1024 bytes)
biovec pool[4]: 128 bvecs: 256 entries (2048 bytes)
biovec pool[5]: 256 bvecs: 256 entries (4096 bytes)
calling initcall 0x00000000006e5460
calling initcall 0x00000000006e54a0
calling initcall 0x00000000006e5500
calling initcall 0x00000000006e7d20
SCSI subsystem initialized
calling initcall 0x00000000006e8ba0
SYSIO: UPA portID 2, at 000001c400000000
sbus0: Clock 25.0 MHz
SYSIO: UPA portID 3, at 000001c600000000
sbus1: Clock 25.0 MHz
dma0: HME DVMA gate array
calling initcall 0x00000000006e93c0
calling initcall 0x00000000006e9a20
calling initcall 0x00000000006e3140
calling initcall 0x000000000045d0c0
calling initcall 0x00000000006de560
calling initcall 0x00000000006df840
calling initcall 0x00000000006dfac0
calling initcall 0x00000000006dfb60
calling initcall 0x00000000006dfba0
calling initcall 0x00000000006dfc60
calling initcall 0x00000000006dfd40
calling initcall 0x00000000006e01c0
calling initcall 0x00000000006e0240
calling initcall 0x00000000006e02a0
calling initcall 0x00000000006e0680
calling initcall 0x00000000006e0940
calling initcall 0x00000000006e09e0
calling initcall 0x00000000006e0b00
ioctl translation 548 bad
calling initcall 0x00000000006e0ba0
calling initcall 0x00000000006e0c00
calling initcall 0x00000000006e0c20
calling initcall 0x00000000006e0c40
calling initcall 0x00000000006e11a0
calling initcall 0x00000000006e1240
calling initcall 0x00000000006e1460
Journalled Block Device driver loaded
calling initcall 0x00000000006e14a0
calling initcall 0x00000000006e15c0
calling initcall 0x00000000006e1600
calling initcall 0x00000000006e1660
calling initcall 0x00000000006e16c0
calling initcall 0x00000000006e1fe0
udf: registering filesystem
calling initcall 0x00000000006e24e0
calling initcall 0x00000000006e2780
Initializing Cryptographic API
calling initcall 0x00000000006e2800
calling initcall 0x00000000006e2820
calling initcall 0x00000000006e2840
calling initcall 0x00000000006e28a0
calling initcall 0x00000000006e42c0
calling initcall 0x00000000006e5020
SunZilog: 2 chips
zs2 at 0x000001fff8904004 (irq = 12,b9) is a SunZilog
zs3 at 0x000001fff8904000 (irq = 12,b9) is a SunZilog
ttyS0 at MMIO 0x0 (irq = 7317152) is a SunZilog
ttyS1 at MMIO 0x0 (irq = 7317152) is a SunZilog
calling initcall 0x00000000006e5260
calling initcall 0x00000000005738a0
calling initcall 0x00000000006e5560
loop: loaded (max 8 devices)
calling initcall 0x00000000006e5800
anticipatory scheduling elevator
calling initcall 0x00000000006e63c0
sunhme.c:v2.01 26/Mar/2002 David S. Miller (davem@redhat.com)
eth0: HAPPY MEAL (SBUS) 10/100baseT Ethernet  08:00:20:89:ed:b7
calling initcall 0x00000000006e6960
calling initcall 0x00000000006e7440
calling initcall 0x00000000006e7a40
calling initcall 0x00000000006e8200
st: Version 20030622, fixed bufsize 32768, s/g segs 256
calling initcall 0x00000000006e82c0
calling initcall 0x00000000006e8320
calling initcall 0x00000000006e8360
calling initcall 0x00000000006e83e0
calling initcall 0x00000000006e9180
calling initcall 0x00000000006e92c0
calling initcall 0x00000000006e9360
calling initcall 0x00000000006e9520
calling initcall 0x00000000006e95e0
calling initcall 0x00000000005b0280
calling initcall 0x00000000006e9600
calling initcall 0x00000000006e97c0
calling initcall 0x00000000006e9e00
calling initcall 0x00000000006eac80
NET4: Linux TCP/IP 1.0 for NET4.0
IP: routing cache hash table of 32768 buckets, 512Kbytes
TCP: Hash tables configured (established 524288 bind 65536)
calling initcall 0x00000000006eb220
calling initcall 0x00000000006eb2a0
calling initcall 0x00000000006eb320
calling initcall 0x00000000006ecc60
Sending DHCP requests . fix old protocol handler ic_bootp_recv+0x0/0x440!
eth0: Link is up using internal transceiver at 100Mb/s, Full Duplex.
fix old protocol handler ic_bootp_recv+0x0/0x440!
 OK
IP-Config: Got DHCP answer from 192.168.1.1,  \b \bm\bmy address is 192.168.1.16
IP-Config: Complete:
      device=eth0, addr=192.168.1.16, mask=255.255.255.0, gw=192.168.1.1,
     host=analyticity, domain=holomorphy.com, nis-domain=(none),
     bootserver=192.168.1.1, rootserver=192.168.1.1, rootpath=/mnt/f/e3k/gentoo
calling initcall 0x00000000006ed360
calling initcall 0x00000000006ed520
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
calling initcall 0x00000000006ed5c0
calling initcall 0x00000000006ed620
calling initcall 0x00000000006ed680
calling initcall 0x00000000006ed6a0
calling initcall 0x00000000006ed720
Looking up port of RPC 100003/2 on 192.168.1.1
Looking up port of RPC 100005/1 on 192.168.1.1
VFS: Mounted root (nfs filesystem) readonly.
INIT: version 2.84 booting
Gentoo Linux;  \bh\bLINKIFYGHcIEDGeDFeHdabcCGcfAfefEDeAHdbbfcabaeec
 Copyright 2001-2003 Gentoo Technologies, Inc.; Distributed under the GPL
 
* Mounting proc at /proc...  ok
* Activating (possible) swap... ok
* Remounting root filesystem read-only (if necessary)... ok
* Checking root filesystem... fsck: fsck.nfs: not found
fsck: Error 2 while executing fsck.nfs for 192.168.1.1:/mnt/f/e3k/gentoo ok
* Remounting root filesystem read/write...  ok 
* Setting hostname to analyticity...  ok
* Calculating module dependencies...  ok
* Missing /etc/modules.autoload.d/kernel-2.5
modprobe:  Can't open dependencies file /lib/modules/2.5.75/modules.dep (No such file or directory)
* Checking all filesystems...  ok
* Mounting local filesystems... 
mount: mount point /dev/shm does not exist
* Some local filesystem failed to mount !!!
* Activating (possibly) more swap...  ok
* Caching service dependencies...
* Can't find service 'portmap' needed by 'netmount';  continuing..
* Setting system clock to hardware clock [UTC]...  ok
* Configuring kernel parameters... ok
* Updating environment... ok
* Cleaning /var/lock, /var/run...  ok
* Cleaning /tmp directory...  ok
* Setting user font... 
putfont: PIO_FONT: Function not implemented
putfont: PIO_FONT: Function not implemented
putfont: PIO_FONT: Function not implemented
putfont: PIO_FONT: Function not implemented
putfont: PIO_FONT: Function not implemented
putfont: PIO_FONT: Function not implemented
putfont: PIO_FONT: Function not implemented
putfont: PIO_FONT: Function not implemented
putfont: PIO_FONT: Function not implemented
putfont: PIO_FONT: Function not implemented
* Failed to set user font !!!
* Loading key mappings... ok
* Bringing lo up... ok
* Initializing random number generator... ok
INIT:  Entering runlevel: 3
* ERROR:  Some services needed are missing.  Run
* './netmount broken' for a list of those 
* services.  "netmount" was not started.
* Starting local... ok

This is analyticity.holomorphy.com (Linux sparc64 2.5.75) 07:31:20

analyticity login: root
Password: 
\bl\blogin(pam_unix)[897]: session opened for user root by LOGIN(uid=0) \b \bl\b
\bm\banalyticity root # vi /etc/profile
-bash: vi: command not found
analyticity root # emerge nvi
!!! No profile directory; system mode unavailable.
analyticity root # typeset -x PS1='$ '
$ set -o vi
$ typeset -x PS1='$ '
$ typeset -x PS1='# '
# cat /proc/cpuinfo
cpu: TI UltraSparc II  (BlackBird)
fpu: UltraSparc II integrated FPU
promlib : Version 3 Revision 2
prom: 3.2.30
type: sun4u
ncpus probed: 6
ncpus active: 6
Cpu6Bogo: 670.10
Cpu6ClkTck: 000000001406f400
Cpu7Bogo: 670.10
Cpu7ClkTck: 000000001406f400
Cpu10Bogo: 670.10
Cpu10ClkTck: 000000001406f400
Cpu11Bogo: 670.10
Cpu11ClkTck: 000000001406f400
Cpu14Bogo: 670.10
Cpu14ClkTck: 000000001406f400
Cpu15Bogo: 670.10
Cpu15ClkTck: 000000001406f400
MMU Type: Spitfire
State:
CPU6:   online
CPU7:   online
CPU10:  online
CPU11:  online
CPU14:  online
CPU15:  online
# vi /etc/profile^C
#
[detached]
$ 

Script done on Mon Feb 23 23:16:37 2004

^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: oops in sched_init() on E3000
  2004-02-22  4:34 oops in sched_init() on E3000 William Lee Irwin III
                   ` (19 preceding siblings ...)
  2004-02-24  7:37 ` William Lee Irwin III
@ 2004-02-24 15:13 ` Ben Collins
  2004-02-24 18:29 ` Ben Collins
                   ` (3 subsequent siblings)
  24 siblings, 0 replies; 26+ messages in thread
From: Ben Collins @ 2004-02-24 15:13 UTC (permalink / raw)
  To: sparclinux

On Mon, Feb 23, 2004 at 11:37:19PM -0800, William Lee Irwin III wrote:
> On Sun, Feb 22, 2004 at 04:34:50PM -0800, William Lee Irwin III wrote:
> >>> OpenBoot 3.2.30 doesn't seem to netboot ELF directly; how did you do it?
> 
> On Mon, Feb 23, 2004 at 07:04:55AM -0500, Ben Collins wrote:
> >> I didn't say I did it on an e3000 :) Just noting that netboot should
> >> still work.
> 
> On Mon, Feb 23, 2004 at 04:27:31AM -0800, William Lee Irwin III wrote:
> > Yeah, it turned out to be a config problem (CONFIG_NR_CPUS = 6 is bad
> > with sparse MID's). I'm chasing down a sunhme.c issue how it appears.
> > Bootlog (with some instrumentation) attached.

Yeah, I found that out the hardway myself aswell.

> I found what I was looking for. 2.5.75 makes it to luserspace okay,
> so I think I broke whatever 2.6.3 is seeing when cpumask_t got merged.
> 
> Bootlog attached (as usual).

I wonder if the IRQ's aren't getting masked to the CPU's correctly.

-- 
Debian     - http://www.debian.org/
Linux 1394 - http://www.linux1394.org/
Subversion - http://subversion.tigris.org/
WatchGuard - http://www.watchguard.com/

^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: oops in sched_init() on E3000
  2004-02-22  4:34 oops in sched_init() on E3000 William Lee Irwin III
                   ` (20 preceding siblings ...)
  2004-02-24 15:13 ` Ben Collins
@ 2004-02-24 18:29 ` Ben Collins
  2004-02-25  3:09 ` Ben Collins
                   ` (2 subsequent siblings)
  24 siblings, 0 replies; 26+ messages in thread
From: Ben Collins @ 2004-02-24 18:29 UTC (permalink / raw)
  To: sparclinux

On Mon, Feb 23, 2004 at 02:02:42AM -0800, William Lee Irwin III wrote:
> On Sun, 22 Feb 2004 14:10:41 -0800 William Lee Irwin III <wli@holomorphy.com> wrote:
> >> I get the same tftpbooting your vmlinux run through elftoaout, this
> >> time with -p. Does elftoaout look like the culprit?
> 
> On Sun, Feb 22, 2004 at 03:17:39PM -0800, David S. Miller wrote:
> > It very well might be, let me tool around with this and study your
> > logs over the next day or so, I have some other things I really want
> > to finish first.
> > Meanwhile you can pick one of your 10 disks to install on :)
> > Thanks Will.

Well, I started trying to get back to looking at this, and my current
setup on my e3000 doesn't even get to the same point anymore (esp
timeouts). Now I'm getting this:

data_access_exception: SFSR[0000000000801009] SFAR[000002903ffdd378], going.
              \|/ ____ \|/
              "@'/ .. \`@"
              /_| \__/ |_\
                 \__U_/
swapper(1): Dax [#1]
TSTATE: 0000004480009605 TPC: 00000000004452bc TNPC: 00000000004452c0 Y: 00000000    Not tainted
TPC: <copy_process+0x95c/0xaa0>
g0: 00000000005f1c00 g1: 00000000005e3e60 g2: 0000000000000001 g3: 0000000000000012
g4: fffff8003ffd1700 g5: 0000000000000003 g6: fffff8003ff94000 g7: 0000000000000003
o0: 0000000000000004 o1: fffff8003ffe28e8 o2: 0000000000000007 o3: 0000000000000000
o4: 0000000000000020 o5: 00ff00ff00ff00ff sp: fffff8003ff96e01 ret_pc: 00000000004452a8
RPC: <copy_process+0x948/0xaa0>
l0: fffff8003ffe2898 l1: 0000000000800100 l2: 004452903ffdd378 l3: 00000000005e3e40
l4: fffff8003ffc7848 l5: 000000000066c000 l6: 00000000005e3e48 l7: 000000000000232e
i0: fffff8003ffc7720 i1: fffff8003ff97211 i2: fffff8003ff97970 i3: 0000000000000000
i4: fffff8003ffc4850 i5: fffff8003ff979e0 i6: fffff8003ff96ef1 i7: 0000000000445424
I7: <do_fork+0x24/0x200>
Caller[0000000000445424]: do_fork+0x24/0x200
Caller[0000000000416fc4]: sparc_do_fork+0x44/0x60
Caller[0000000000410cb4]: linux_sparc_syscall+0x34/0x44
Caller[000000000045aaec]: kthread_create+0xec/0x120
Caller[000000000063d570]: smp_boot_one_cpu+0x10/0x160
Caller[000000000063dbac]: __cpu_up+0xc/0xc0
Caller[000000000063fff0]: cpu_up+0x90/0x120
Caller[0000000000638674]: smp_init+0x154/0x180
Caller[0000000000414144]: init+0x44/0x1e0
Caller[00000000004171d0]: kernel_thread+0x30/0x60
Caller[0000000000414030]: rest_init+0x10/0x60
Instruction DUMP: e45ce030  02c48009  e0772048 <c2048000> 80a06000  02400043  110016fa  90102001  4002b25

I'm not sure if this is because I now have 6gigs of ram as opposed to
when I only had 4gigs, but I tried doing mem\x1024M and that didn't help.
I'm going to pull two boards and see if booting with 2gigs of phys ram
and only 2 cpu's will help any.

-- 
Debian     - http://www.debian.org/
Linux 1394 - http://www.linux1394.org/
Subversion - http://subversion.tigris.org/
WatchGuard - http://www.watchguard.com/

^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: oops in sched_init() on E3000
  2004-02-22  4:34 oops in sched_init() on E3000 William Lee Irwin III
                   ` (21 preceding siblings ...)
  2004-02-24 18:29 ` Ben Collins
@ 2004-02-25  3:09 ` Ben Collins
  2004-02-25  5:08 ` William Lee Irwin III
  2004-02-25  6:59 ` David S. Miller
  24 siblings, 0 replies; 26+ messages in thread
From: Ben Collins @ 2004-02-25  3:09 UTC (permalink / raw)
  To: sparclinux

I had a feeling this whole problem with the IRQ's was another
smp_processor_id() issue.

Dave, the first time that init_irqwork_curcpu() gets called from head.S
for the boot cpu, smp_processor_id() is returning 0, so the __irq_work
isn't getting setup properly. Hopefully this is the last issue with
this.

The attached patch fixes it. It's in my repo, so you can pull it along
with the debug rwlock fix I sent you earlier.



diff -Nru a/arch/sparc64/kernel/irq.c b/arch/sparc64/kernel/irq.c
--- a/arch/sparc64/kernel/irq.c	Tue Feb 24 22:07:06 2004
+++ b/arch/sparc64/kernel/irq.c	Tue Feb 24 22:07:06 2004
@@ -1104,8 +1104,9 @@
 {
 	register struct irq_work_struct *workp asm("o2");
 	unsigned long tmp;
+	int cpu = hard_smp_processor_id();
 
-	memset(__irq_work + smp_processor_id(), 0, sizeof(*workp));
+	memset(__irq_work + cpu, 0, sizeof(*workp));
 
 	/* Make sure we are called with PSTATE_IE disabled.  */
 	__asm__ __volatile__("rdpr	%%pstate, %0\n\t"
@@ -1120,7 +1121,7 @@
 	}
 
 	/* Set interrupt globals.  */
-	workp = &__irq_work[smp_processor_id()];
+	workp = &__irq_work[cpu];
 	__asm__ __volatile__(
 	"rdpr	%%pstate, %0\n\t"
 	"wrpr	%0, %1, %%pstate\n\t"

-- 
Debian     - http://www.debian.org/
Linux 1394 - http://www.linux1394.org/
Subversion - http://subversion.tigris.org/
WatchGuard - http://www.watchguard.com/

^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: oops in sched_init() on E3000
  2004-02-22  4:34 oops in sched_init() on E3000 William Lee Irwin III
                   ` (22 preceding siblings ...)
  2004-02-25  3:09 ` Ben Collins
@ 2004-02-25  5:08 ` William Lee Irwin III
  2004-02-25  6:59 ` David S. Miller
  24 siblings, 0 replies; 26+ messages in thread
From: William Lee Irwin III @ 2004-02-25  5:08 UTC (permalink / raw)
  To: sparclinux

On Tue, Feb 24, 2004 at 10:09:13PM -0500, Ben Collins wrote:
> I had a feeling this whole problem with the IRQ's was another
> smp_processor_id() issue.
> Dave, the first time that init_irqwork_curcpu() gets called from head.S
> for the boot cpu, smp_processor_id() is returning 0, so the __irq_work
> isn't getting setup properly. Hopefully this is the last issue with
> this.
> The attached patch fixes it. It's in my repo, so you can pull it along
> with the debug rwlock fix I sent you earlier.

This gets 2.6.x-bk-CURRENT booting and running with flying colors here.

Thanks!


-- wli

^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: oops in sched_init() on E3000
  2004-02-22  4:34 oops in sched_init() on E3000 William Lee Irwin III
                   ` (23 preceding siblings ...)
  2004-02-25  5:08 ` William Lee Irwin III
@ 2004-02-25  6:59 ` David S. Miller
  24 siblings, 0 replies; 26+ messages in thread
From: David S. Miller @ 2004-02-25  6:59 UTC (permalink / raw)
  To: sparclinux

On Tue, 24 Feb 2004 21:08:11 -0800
William Lee Irwin III <wli@holomorphy.com> wrote:

> On Tue, Feb 24, 2004 at 10:09:13PM -0500, Ben Collins wrote:
> > The attached patch fixes it. It's in my repo, so you can pull it along
> > with the debug rwlock fix I sent you earlier.
> 
> This gets 2.6.x-bk-CURRENT booting and running with flying colors here.

Ben you are the master :-)

I'll pull this fix in, thanks a lot.

^ permalink raw reply	[flat|nested] 26+ messages in thread

end of thread, other threads:[~2004-02-25  6:59 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-02-22  4:34 oops in sched_init() on E3000 William Lee Irwin III
2004-02-22  4:42 ` William Lee Irwin III
2004-02-22  7:25 ` David S. Miller
2004-02-22  9:11 ` William Lee Irwin III
2004-02-22  9:57 ` William Lee Irwin III
2004-02-22 18:03 ` David S. Miller
2004-02-22 21:51 ` William Lee Irwin III
2004-02-22 21:57 ` David S. Miller
2004-02-22 22:00 ` David S. Miller
2004-02-22 22:01 ` David S. Miller
2004-02-22 22:06 ` William Lee Irwin III
2004-02-22 22:10 ` William Lee Irwin III
2004-02-22 23:17 ` David S. Miller
2004-02-22 23:57 ` Ben Collins
2004-02-23  0:34 ` William Lee Irwin III
2004-02-23  5:41 ` David S. Miller
2004-02-23 10:02 ` William Lee Irwin III
2004-02-23 12:04 ` Ben Collins
2004-02-23 12:11 ` Ben Collins
2004-02-23 12:27 ` William Lee Irwin III
2004-02-24  7:37 ` William Lee Irwin III
2004-02-24 15:13 ` Ben Collins
2004-02-24 18:29 ` Ben Collins
2004-02-25  3:09 ` Ben Collins
2004-02-25  5:08 ` William Lee Irwin III
2004-02-25  6:59 ` David S. Miller

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.