Skip to contentSkip to conversation

Need help getting 2.6.5-BK to boot

DISCUSSION Art Haas 2 participants 2 messages Mar 29, 2004

lore
Share & tools
lore

Art Haas

author
#0 lore raw

Hi.

I'm trying to get my 2.6.5-BK kernel to boot, and am having a few problems, most likely self-induced. I've been able to compile the kernel (using the latest Debian GCC-3.3 package), and it boots up, but things don't work correctly. First, I never see anything on my display past the first few lines that get printed out after I select the kernel at the silo prompt. The kernel _does_ boot, but eventually crashes, and I have to 'Stop-A' and 'reset' to get going again.

I'm currently running with a 2.4.26-pre3-smp kernel that I picked up from the 'osinvestor' site. That kernel boots and runs. As that kernel performs nicely, I'm sure that I've made some sort of configuration goof, but I can't see just what I've omitted or unnecessarily added, so I'm turning to the list for a little help.

I apologize now for the size of this e-mail, as I'm going to include my '.config' and some output from both the 2.4 and 2.6 kernel bootups.

My .config:
========================
#
# Automatically generated make config: don't edit
#
CONFIG_MMU=y
CONFIG_UID16=y
CONFIG_HIGHMEM=y
CONFIG_GENERIC_ISA_DMA=y

#
# Code maturity level options
#
CONFIG_EXPERIMENTAL=y
CONFIG_CLEAN_COMPILE=y
CONFIG_STANDALONE=y
CONFIG_BROKEN_ON_SMP=y

#
# General setup
#
CONFIG_SWAP=y
CONFIG_SYSVIPC=y
CONFIG_BSD_PROCESS_ACCT=y
CONFIG_SYSCTL=y
CONFIG_LOG_BUF_SHIFT
# CONFIG_HOTPLUG is not set
# CONFIG_IKCONFIG is not set
# CONFIG_EMBEDDED is not set
CONFIG_KALLSYMS=y
CONFIG_FUTEX=y
CONFIG_EPOLL=y
CONFIG_IOSCHED_NOOP=y
CONFIG_IOSCHED_AS=y
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 is not set
CONFIG_OBSOLETE_MODPARM=y
# CONFIG_MODVERSIONS is not set
CONFIG_KMOD=y

#
# General setup
#
CONFIG_VT=y
CONFIG_VT_CONSOLE=y
CONFIG_HW_CONSOLE=y
# CONFIG_SMP is not set
CONFIG_SPARC32=y
CONFIG_SBUS=y
CONFIG_SBUSCHAR=y
CONFIG_SERIAL_CONSOLE=y
CONFIG_SUN_AUXIO=y
CONFIG_SUN_IO=y
CONFIG_RWSEM_GENERIC_SPINLOCK=y
CONFIG_SUN_PM=y
# CONFIG_SUN4 is not set
# CONFIG_PCI is not set
CONFIG_SUN_OPENPROMFS=m
CONFIG_BINFMT_ELF=y
CONFIG_BINFMT_AOUT=m
CONFIG_BINFMT_MISC=m
CONFIG_SUNOS_EMUL=y

#
# Parallel port support
#
# CONFIG_PARPORT is not set

#
# Generic Driver Options
#
# CONFIG_DEBUG_DRIVER is not set

#
# Graphics support
#
CONFIG_FB=y
# CONFIG_FB_BW2 is not set
# CONFIG_FB_CG3 is not set
CONFIG_FB_CG6=y
CONFIG_FB_SBUS=y
# CONFIG_FB_TCX is not set
# CONFIG_FB_CG14 is not set
# CONFIG_FB_P9100 is not set
# CONFIG_FB_LEO is not set
# CONFIG_FB_VIRTUAL is not set

#
# Console display driver support
#
# CONFIG_MDA_CONSOLE is not set
CONFIG_PROM_CONSOLE=y
CONFIG_DUMMY_CONSOLE=y
CONFIG_FRAMEBUFFER_CONSOLE=m
CONFIG_PCI_CONSOLE=y
# CONFIG_FONTS is not set
CONFIG_FONT_SUN8x16=y
# CONFIG_FONT_SUN12x22 is not set

#
# Logo configuration
#
CONFIG_LOGO=y
CONFIG_LOGO_LINUX_MONO=y
CONFIG_LOGO_LINUX_VGA16=y
CONFIG_LOGO_LINUX_CLUT224=y

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

#
# 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=m
CONFIG_SUN_MOSTEK_RTC=m
# CONFIG_SUN_BPP is not set
# CONFIG_SUN_VIDEOPIX is not set
# CONFIG_SUN_AURORA is not set
# CONFIG_TADPOLE_TS102_UCTRL is not set
# CONFIG_SUN_JSFLASH is not set

#
# Block devices
#
CONFIG_BLK_DEV_FD=m
CONFIG_BLK_DEV_LOOP=m
CONFIG_BLK_DEV_CRYPTOLOOP=m
# CONFIG_BLK_DEV_NBD is not set
CONFIG_BLK_DEV_RAM=m
CONFIG_BLK_DEV_RAM_SIZE@96

#
# ISDN subsystem
#
# CONFIG_ISDN 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 is not set
# CONFIG_CHR_DEV_OSST is not set
CONFIG_BLK_DEV_SR=m
# CONFIG_BLK_DEV_SR_VENDOR is not set
CONFIG_CHR_DEV_SG=m

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

#
# SCSI Transport Attributes
#
# CONFIG_SCSI_SPI_ATTRS is not set
# CONFIG_SCSI_FC_ATTRS 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_QLOGICPTI is not set
# CONFIG_SCSI_DEBUG is not set
CONFIG_SCSI_SUNESP=y

#
# Fibre Channel support
#
# CONFIG_FC4 is not set

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

#
# Networking support
#
CONFIG_NET=y

#
# Networking options
#
CONFIG_PACKET=m
# CONFIG_PACKET_MMAP is not set
# CONFIG_NETLINK_DEV is not set
CONFIG_UNIX=m
CONFIG_NET_KEY=m
CONFIG_INET=y
# CONFIG_IP_MULTICAST is not set
# 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=m
CONFIG_NET_IPGRE=m
# CONFIG_ARPD is not set
# CONFIG_SYN_COOKIES is not set
CONFIG_INET_AH=m
CONFIG_INET_ESP=m
CONFIG_INET_IPCOMP=m
CONFIG_IPV6=m
# CONFIG_IPV6_PRIVACY is not set
CONFIG_INET6_AH=m
CONFIG_INET6_ESP=m
CONFIG_INET6_IPCOMP=m
CONFIG_IPV6_TUNNEL=m
# CONFIG_DECNET is not set
# CONFIG_BRIDGE is not set
# CONFIG_NETFILTER is not set
CONFIG_XFRM=y
CONFIG_XFRM_USER=m

#
# SCTP Configuration (EXPERIMENTAL)
#
# CONFIG_IP_SCTP is not set
# 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=m
CONFIG_NETDEVICES=y
CONFIG_DUMMY=m
# CONFIG_BONDING is not set
# CONFIG_EQUALIZER is not set
CONFIG_TUN=m

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

#
# Ethernet (1000 Mbit)
#
# CONFIG_MYRI_SBUS is not set

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

#
# Wireless LAN (non-hamradio)
#
# CONFIG_NET_RADIO is not set

#
# Token Ring devices
#
# CONFIG_SHAPER is not set
# CONFIG_NETCONSOLE is not set

#
# Wan interfaces
#
# CONFIG_WAN is not set

#
# Amateur Radio support
#
# CONFIG_HAMRADIO is not set

#
# IrDA (infrared) support
#
# CONFIG_IRDA is not set

#
# Bluetooth support
#
# CONFIG_BT is not set
# CONFIG_NETPOLL is not set
# CONFIG_NET_POLL_CONTROLLER is not set

#
# Unix98 PTY support
#
CONFIG_UNIX98_PTYS=y
CONFIG_UNIX98_PTY_COUNT%6

#
# Input device support
#
CONFIG_INPUT=y

#
# Userland interfaces
#
CONFIG_INPUT_MOUSEDEV=y
CONFIG_INPUT_MOUSEDEV_PSAUX=y
CONFIG_INPUT_MOUSEDEV_SCREEN_X24
CONFIG_INPUT_MOUSEDEV_SCREEN_Yv8
# 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 is not set
# CONFIG_SERIO_CT82C710 is not set

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

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

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

#
# 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_XATTR is not set
CONFIG_TMPFS=y
# 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_HFSPLUS_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=m
CONFIG_NFS_V3=y
CONFIG_NFS_V4=y
# CONFIG_NFS_DIRECTIO is not set
CONFIG_NFSD=m
CONFIG_NFSD_V3=y
CONFIG_NFSD_V4=y
# CONFIG_NFSD_TCP is not set
CONFIG_LOCKD=m
CONFIG_LOCKD_V4=y
CONFIG_EXPORTFS=m
CONFIG_SUNRPC=m
CONFIG_SUNRPC_GSS=m
CONFIG_RPCSEC_GSS_KRB5=m
# 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=m
CONFIG_NLS_DEFAULT="iso8859-1"
CONFIG_NLS_CODEPAGE_437=m
# CONFIG_NLS_CODEPAGE_737 is not set
# CONFIG_NLS_CODEPAGE_775 is not set
CONFIG_NLS_CODEPAGE_850=m
# 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=m
# 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=m
# CONFIG_NLS_KOI8_R is not set
# CONFIG_NLS_KOI8_U is not set
CONFIG_NLS_UTF8=m

#
# Sound
#
# CONFIG_SOUND is not set

#
# USB support
#

#
# USB Gadget Support
#
# CONFIG_USB_GADGET is not set

#
# Watchdog Cards
#
# CONFIG_WATCHDOG is not set

#
# Kernel hacking
#
CONFIG_DEBUG_KERNEL=y
# CONFIG_DEBUG_STACK_USAGE is not set
CONFIG_DEBUG_SLAB=y
CONFIG_MAGIC_SYSRQ=y
# CONFIG_DEBUG_SPINLOCK is not set
# CONFIG_DEBUG_HIGHMEM is not set
# CONFIG_DEBUG_SPINLOCK_SLEEP is not set
# CONFIG_DEBUG_BUGVERBOSE is not set

#
# Security options
#
# CONFIG_SECURITY is not set

#
# Cryptographic options
#
CONFIG_CRYPTO=y
CONFIG_CRYPTO_HMAC=y
CONFIG_CRYPTO_NULL=m
CONFIG_CRYPTO_MD4=m
CONFIG_CRYPTO_MD5=m
CONFIG_CRYPTO_SHA1=m
CONFIG_CRYPTO_SHA256=m
CONFIG_CRYPTO_SHA512=m
CONFIG_CRYPTO_DES=m
CONFIG_CRYPTO_BLOWFISH=m
CONFIG_CRYPTO_TWOFISH=m
CONFIG_CRYPTO_SERPENT=m
CONFIG_CRYPTO_AES=m
CONFIG_CRYPTO_CAST5=m
CONFIG_CRYPTO_CAST6=m
CONFIG_CRYPTO_ARC4=m
CONFIG_CRYPTO_DEFLATE=m
CONFIG_CRYPTO_MICHAEL_MIC=m
CONFIG_CRYPTO_TEST=m

#
# Library routines
#
CONFIG_CRC32=m
CONFIG_ZLIB_INFLATE=m
CONFIG_ZLIB_DEFLATE=m
=======================

Here's the trimmed boot log from the BK kernel:
========================

kernel: klogd 1.4.1#13, log source = /proc/kmsg started.
kernel: Inspecting /boot/System.map-2.6.5-rc2
xfs: ignoring font path element /usr/lib/X11/fonts/cyrillic/ (unreadable) 
xfs: ignoring font path element /usr/lib/X11/fonts/CID (unreadable) 
kernel: Loaded 12110 symbols from /boot/System.map-2.6.5-rc2.
kernel: Symbols match kernel version 2.6.5.
kernel: No module symbols loaded - kernel modules not enabled. 
kernel: PROMLIB: Sun Boot Prom Version 3 Revision 2
kernel: Linux version 2.6.5-rc2 (arth@sundebian) (gcc version 3.3.3 (Debian 20040321)) #4 Sun Mar 28 10:58:21 CST 2004
kernel: ARCH: SUN4M
kernel: TYPE: Sun4m SparcStation10/20
kernel: Ethernet address: 8:0:20:78:eb:9e
kernel: Boot time fixup v1.6. 4/Mar/98 Jakub Jelinek ([email protected]). Patching kernel for srmmu[TI Viking/MXCC]/iommu
kernel: 319MB HIGHMEM available.
kernel: On node 0 totalpages: 130417
kernel:   DMA zone: 48674 pages, LIFO batch:11
kernel:   Normal zone: 0 pages, LIFO batch:1
kernel:   HighMem zone: 81743 pages, LIFO batch:16
kernel: Power off control detected.
kernel: Built 1 zonelists
kernel: Kernel command line: root=/dev/sda1 ro
kernel: PID hash table entries: 2048 (order 11: 16384 bytes)
kernel: Console: colour dummy device 80x25
kernel: Memory: 509676k available (1324k kernel code, 312k data, 116k init, 326972k highmem) [f0000000,1ff4f000]
kernel: Calibrating delay loop... 59.80 BogoMIPS
kernel: Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
kernel: Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
kernel: Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
kernel: POSIX conformance testing by UNIFIX
kernel: NET: Registered protocol family 16
kernel: SCSI subsystem initialized
kernel: IOMMU: impl 1 vers 3 table 0xf0d40000[262144 B] map [65536 b]
kernel: sbus0: Clock 25.0 MHz
kernel: dma0: Revision 2 
kernel: dma1: Revision 2 
kernel: ioremap: done with statics, switching to malloc
kernel: cg6: CGsix [TGX+ sparc] at e:20000000
kernel: highmem bounce pool size: 64 pages
kernel: Initializing Cryptographic API
kernel: Console: switching to mono PROM 80x34
kernel: zs2 at 0xfd019004 (irq = 44) is a SunZilog
kernel: zs3 at 0xfd019000 (irq = 44) is a SunZilog
kernel: ttyS0 at MMIO 0x0 (irq = 44) is a SunZilog
kernel: ttyS1 at MMIO 0x0 (irq = 44) is a SunZilog
kernel: esp0: IRQ 36 SCSI ID 7 Clk 40MHz CCYC%000 CCF=8 TOut 167 NCR53C9XF(espfast)
kernel: ESP: Total of 1 ESP hosts found, 1 actually in use.
kernel: scsi0 : Sparc ESP100A-FAST
kernel: Using anticipatory io scheduler
kernel:   Vendor: SEAGATE   Model: ST31200W SUN1.05  Rev: 8724
kernel:   Type:   Direct-Access                      ANSI SCSI revision: 02
kernel:   Vendor: FUJITSU   Model: MAB3045S SUN4.2G  Rev: 1806
kernel:   Type:   Direct-Access                      ANSI SCSI revision: 02
kernel:   Vendor: TOSHIBA   Model: XM-4101TASUNSLCD  Rev: 3424
kernel:   Type:   CD-ROM                             ANSI SCSI revision: 02
kernel: esp0: target 1 [period 100ns offset 15 10.00MHz FAST SCSI-II]
kernel: SCSI device sda: 2061108 512-byte hdwr sectors (1055 MB)
kernel: SCSI device sda: drive cache: write through
kernel:  sda: sda1 sda2 sda3
kernel: Attached scsi disk sda at scsi0, channel 0, id 1, lun 0
kernel: esp0: target 3 [period 100ns offset 15 10.00MHz FAST SCSI-II]
kernel: SCSI device sdb: 8385121 512-byte hdwr sectors (4293 MB)
kernel: SCSI device sdb: drive cache: write through
kernel:  sdb: sdb1
kernel: Attached scsi disk sdb at scsi0, channel 0, id 3, lun 0
kernel: mice: PS/2 mouse device common for all mice
kernel: input: Sun Type 5 keyboard on zs/serio0
kernel: input: Sun Mouse on zs/serio1
kernel: NET: Registered protocol family 2
kernel: IP: routing cache hash table of 1024 buckets, 8Kbytes
kernel: TCP: Hash tables configured (established 16384 bind 32768)
kernel: VFS: Mounted root (ext2 filesystem) readonly.
kernel: Freeing unused kernel memory: 116k freed
kernel: NET: Registered protocol family 1
kernel: Adding 50896k swap on /dev/sda2.  Priority:-1 extents:1
kernel: NET: Registered protocol family 10
kernel: IPv6 over IPv4 tunneling driver
kernel:               \|/ ____ \|/
kernel:               "@'/ ,. \`@"
kernel:               /_| \__/ |_\
kernel:                  \__U_/
kernel: XFree86(293): Kernel bad trap [#1]
kernel: PSR: 40401084 PC: 501a20c8 NPC: 501a20cc Y: 00000000    Not tainted
kernel: PC: <0x501a20c8>
kernel: %%G: 00000000 00000002  00000000 00000fb8  50019000 00000000  ff000000 50015638
kernel: %%O: 501a2094 00023584  000aeb04 000fc5a4  efe80330 00000000  efff9690 501a20a0
kernel: RPC: <0x501a20a0>
kernel: %%L: 40001085 501c5d60  501c5d64 00000040  00000080 f0010a04  00000000 50238c2c
kernel: %%I: 00000000 00000006  efff9758 000fc5a4  efe80330 00000000  efff96f8 000aeb04
kernel: Instruction DUMP: 80a0a000  1280000a  82102002 <91d02010> 0a80000b  01000000  80a23fff  02800006  92027fff 

=======================
Here's the dmesg output from a 2.4.26-pre boot
=======================
PROMLIB: Sun Boot Prom Version 3 Revision 2
Linux version 2.4.26-pre3smp (rradez@notporn) (gcc version 3.3.3 20040125 (prerelease) (Debian)) #1 SMP Sat Mar 13 18:37:52 EST 2004
ARCH: SUN4M
TYPE: Sun4m SparcStation10/20
Ethernet address: 8:0:20:78:eb:9e
Boot time fixup v1.6. 4/Mar/98 Jakub Jelinek ([email protected]). Patching kernel for srmmu[TI Viking/MXCC]/iommu 81743MB HIGHMEM available.
On node 0 totalpages: 130324
zone(0): 49152 pages.
zone(1): 0 pages.
zone(2): 81743 pages.
Found CPU 0 <nodeÿd6f150,mid=8>
Found CPU 1 <nodeÿd6f510,mid>
Found 2 CPU prom device tree node(s).
a
Power off control detected.
Kernel command line: root=/dev/sda1
Console: colour dummy device 80x25
Calibrating delay loop... 59.80 BogoMIPS
Memory: 508956k available (1608k kernel code, 216k data, 148k init, 326972k highmem) [f0000000,1ff4f000] Dentry cache hash table entries: 32768 (order: 6, 262144 bytes)
Inode cache hash table entries: 16384 (order: 5, 131072 bytes)
Mount cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer cache hash table entries: 8192 (order: 3, 32768 bytes)
Page-cache hash table entries: 65536 (order: 6, 262144 bytes)
POSIX conformance testing by UNIFIX
Entering SMP Mode...
Starting CPU 1 at f01d5b08
Calibrating delay loop... 59.80 BogoMIPS
Total of 2 Processors activated (119.60 BogoMIPS).
Waiting on wait_init_idle (map = 0x2)
All processors have done init_idle
IOMMU: impl 1 vers 3 page table at f0f80000 of size 262144 bytes
sbus0: Clock 25.0 MHz
dma0: Revision 2
dma1: Revision 2
Sparc Zilog8530 serial driver version 1.68.2.2
Sun Mouse-Systems mouse driver version 1.00
tty00 at 0xffede004 (irq = 44) is a Zilog8530
tty01 at 0xffede000 (irq = 44) is a Zilog8530
tty02 at 0xffedb004 (irq = 44) is a Zilog8530
tty03 at 0xffedb000 (irq = 44) is a Zilog8530
Sun TYPE 5 keyboard detected without keyclick
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
allocated 32 pages and 32 bhs reserved for the highmem bounces
Journalled Block Device driver loaded
ioremap: done with statics, switching to malloc
Console: switching to colour frame buffer device 128x54
fb0: cgsix at e.20000000 TEC Rev 4 CPU sparc Rev b [TGX+]
pty: 256 Unix98 ptys configured
Floppy drive(s): fd0 is 1.44M
FDC 0 is a National Semiconductor PC87306
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
sunlance.c:v2.01 08/Nov/01 Miguel de Icaza ([email protected])
eth0: LANCE 08:00:20:78:eb:9e
eth0: using auto-carrier-detection.
SCSI subsystem driver Revision: 1.00
esp0: IRQ 36 SCSI ID 7 Clk 40MHz CCYC%000 CCF=8 TOut 167 NCR53C9XF(espfast)
ESP: Total of 1 ESP hosts found, 1 actually in use.
scsi0 : Sparc ESP100A-FAST

  Vendor: SEAGATE   Model: ST31200W SUN1.05  Rev: 8724
  Type:   Direct-Access                      ANSI SCSI revision: 02
  Vendor: FUJITSU   Model: MAB3045S SUN4.2G  Rev: 1806
  Type:   Direct-Access                      ANSI SCSI revision: 02
  Vendor: TOSHIBA   Model: XM-4101TASUNSLCD  Rev: 3424
  Type:   CD-ROM                             ANSI SCSI revision: 02

Attached scsi disk sda at scsi0, channel 0, id 1, lun 0 Attached scsi disk sdb at scsi0, channel 0, id 3, lun 0
esp0: target 1 [period 100ns offset 15 10.00MHz FAST SCSI-II] SCSI device sda: 2061108 512-byte hdwr sectors (1055 MB) Partition check:
sda: sda1 sda2 sda3
esp0: target 3 [period 100ns offset 15 10.00MHz FAST SCSI-II] SCSI device sdb: 8385121 512-byte hdwr sectors (4293 MB)
sdb: sdb1
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
IP: routing cache hash table of 128 buckets, 6Kbytes
TCP: Hash tables configured (established 2048 bind 10922)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
VFS: Mounted root (ext2 filesystem) readonly.
Freeing unused kernel memory: 148k freed
readlink[12]: Unimplemented SPARC system call 188 S02mountvirtfs[11]: Unimplemented SPARC system call 188 touch[13]: Unimplemented SPARC system call 188 mountpoint[14]: Unimplemented SPARC system call 188 mount[15]: Unimplemented SPARC system call 188 grep[16]: Unimplemented SPARC system call 188
Adding Swap: 50896k swap-space (priority -1)
eth0: Carrier Lost, trying TPE
Warning: Remapping obsolete /dev/fb* minor 32 to 1
Warning: Remapping obsolete /dev/fb* minor 64 to 2
Warning: Remapping obsolete /dev/fb* minor 96 to 3
Warning: Remapping obsolete /dev/fb* minor 128 to 4
Warning: Remapping obsolete /dev/fb* minor 160 to 5
Warning: Remapping obsolete /dev/fb* minor 192 to 6
Warning: Remapping obsolete /dev/fb* minor 224 to 7 kjournald starting. Commit interval 5 seconds
EXT3 FS 2.4-0.9.19, 19 August 2002 on sd(8,17), internal journal
EXT3-fs: mounted filesystem with ordered data mode.
==========================
I've since remade my '/dev/fd?' files so that the warning above should go away. One thing I notice is the different output that show up for the ttyS? devices - in the 2.6 kernel the first two are 'zs2' and 'zs3' and then 'ttyS0' and 'ttyS1' appear. In 2.4 there are four 'ttyS?' devices.

Any advice or configuration tips would be greatly welcomed. Thanks in advance.

Art Haas

Signature · 4 lines
Man once surrendering his reason, has no remaining guard against absurdities
the most monstrous, and like a ship without rudder, is the sport of every wind.

-Thomas Jefferson to James Smith, 1822
#1 lore raw
Quoted 10 lines · Art Haas

I'm trying to get my 2.6.5-BK kernel to boot, and am having a few problems, most likely self-induced. I've been able to compile the kernel (using the latest Debian GCC-3.3 package), and it boots up, but things don't work correctly. First, I never see anything on my display past the first few lines that get printed out after

CONFIG_FB=y
# CONFIG_FB_BW2 is not set
# CONFIG_FB_CG3 is not set
CONFIG_FB_CG6=y

You have a framebuffer...

Quoted 4 lines

# CONFIG_MDA_CONSOLE is not set
CONFIG_PROM_CONSOLE=y
CONFIG_DUMMY_CONSOLE=y
CONFIG_FRAMEBUFFER_CONSOLE=m

...but no console. Say Y instead of M here.

Quoted 8 lines

kernel: XFree86(293): Kernel bad trap [#1]
kernel: PSR: 40401084 PC: 501a20c8 NPC: 501a20cc Y: 00000000 Not tainted
kernel: PC: <0x501a20c8>
kernel: %%G: 00000000 00000002 00000000 00000fb8 50019000 00000000 ff000000 50015638
kernel: %%O: 501a2094 00023584 000aeb04 000fc5a4 efe80330 00000000 efff9690 501a20a0
kernel: RPC: <0x501a20a0>
kernel: %%L: 40001085 501c5d60 501c5d64 00000040 00000080 f0010a04 00000000 50238c2c
kernel: %%I: 00000000 00000006 efff9758 000fc5a4 efe80330 00000000 efff96f8 000aeb04

I don't know what to make of this. According to this the trap occurs in userland. Under the circumstances, the process should be killed and life goes on. I suspect the output you're seeing is bogus; kregs never gets filled in by that code path. What do you get with this patch?

=== arch/sparc/kernel/entry.S 1.24 vs edited ==--- 1.24/arch/sparc/kernel/entry.S Sat Mar 27 22:20:04 2004
+++ edited/arch/sparc/kernel/entry.S Mon Mar 29 13:03:23 2004
@@ -288,10 +288,9 @@
wr %l0, PSR_ET, %psr
WRITE_PAUSE

- mov %l7, %o0 ! trap number
- mov %l0, %o1 ! psr
+ add %sp, STACKFRAME_SZ, %o0 ! pt_regs
call do_hw_interrupt
- mov %l1, %o2 ! pc
+ mov %l7, %o1 ! trap number

RESTORE_ALL

=== arch/sparc/kernel/traps.c 1.10 vs edited ==--- 1.10/arch/sparc/kernel/traps.c Sun Feb 22 11:15:54 2004
+++ edited/arch/sparc/kernel/traps.c Mon Mar 29 13:06:04 2004
@@ -131,23 +131,23 @@
do_exit(SIGSEGV);
}

-void do_hw_interrupt(unsigned long type, unsigned long psr, unsigned long pc) +void do_hw_interrupt(struct pt_regs *regs, unsigned long type)
{
siginfo_t info;

if(type < 0x80) {
/* Sun OS's puke from bad traps, Linux survives! */ printk("Unimplemented Sparc TRAP, type = %02lx\n", type);
- die_if_kernel("Whee... Hello Mr. Penguin", current->thread.kregs);
+ die_if_kernel("Whee... Hello Mr. Penguin", regs);
}

- if(psr & PSR_PS)
- die_if_kernel("Kernel bad trap", current->thread.kregs);
+ if(regs->psr & PSR_PS)
+ die_if_kernel("Kernel bad trap", regs);

info.si_signo = SIGILL;
info.si_errno = 0;
info.si_code = ILL_ILLTRP;
- info.si_addr = (void *)pc;
+ info.si_addr = (void *)regs->pc;
info.si_trapno = type - 0x80;
force_sig_info(SIGILL, &info, current);
}

Quoted 4 lines

should go away. One thing I notice is the different output that show up for the ttyS? devices - in the 2.6 kernel the first two are 'zs2' and 'zs3' and then 'ttyS0' and 'ttyS1' appear. In 2.4 there are four 'ttyS?' devices.

Cosmetic change only.

Signature · 1 line
Keith M Wesolowski