[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: sparc/1034: sun4c kernel unusable after build
- To: bugs@cvs.openbsd.org
- Subject: Re: sparc/1034: sun4c kernel unusable after build
- From: Chris Cappuccio <chris@dqc.org>
- Date: Wed, 29 Dec 1999 19:20:02 -0700 (MST)
The following reply was made to PR sparc/1034; it has been noted by GNATS.
From: Chris Cappuccio <chris@dqc.org>
To: roman@xpert.com
Cc: gnats@openbsd.org
Subject: Re: sparc/1034: sun4c kernel unusable after build
Date: Wed, 29 Dec 1999 18:15:13 -0800 (PST)
Sounds like you didn't use option KMEMSTATS
You should test the GENERIC kernel before sending in bug reports.
On Wed, 29 Dec 1999 roman@xpert.com wrote:
|
| >Number: 1034
| >Category: sparc
| >Synopsis: sun4c kernel is misconfigured
| >Confidential: no
| >Severity: serious
| >Priority: high
| >Responsible: bugs
| >State: open
| >Class: sw-bug
| >Submitter-Id: net
| >Arrival-Date: Wed Dec 29 08:20:02 MST 1999
| >Last-Modified:
| >Originator: Charlie Root
| >Organization:
| none
| >Release: 2.6
| >Environment:
| System : OpenBSD 2.6
| Architecture: OpenBSD.sparc
| Machine : sparc
| >Description:
| The kernel built from SUN4C with irrelevant hardware removed
| and softupdates added i unusable:
| It fails to add /dev/ksyms driver. Thus, cat /dev/ksyms
| gives "Device unconfigured". When adding ksyms driver explicitly,
| it says: "Bad address". Then ps shows everything in brackets, without
| argv, and the machine hung once (I suspect that either this or the
| hardware was the problem)
| Perhaps I'm missing some very important option...
| I can send the dmesg from the GENERIC if you need it.
| The machine is sparc2
| >How-To-Repeat:
| use SUN4C or my config:
| # FIRE roman@xpert.com
| # $OpenBSD: SUN4C,v 1.28 1999/10/29 14:14:28 art Exp $
| # $NetBSD: GENERIC,v 1.19 1995/10/08 11:45:39 pk Exp $
|
| machine sparc
| option SUN4C
|
| # obsolete timezone spec
| option TIMEZONE=0, DST=0
| option NTP
|
| option SWAPPAGER
| option DEVPAGER
|
| # Standard system options
| #option DEBUG, DIAGNOSTIC # extra kernel debugging
| option KTRACE # system call tracing support
| #option KGDB # support for kernel gdb
| #option KGDBDEV=0xc01, KGDBRATE=38400 # device & baud rate
| option RASTERCONSOLE # fast rasterop console
| option SYSVMSG,SYSVSEM,SYSVSHM
|
| option UVM # use the UVM virtual memory system
|
| # Filesystem options
| option FFS
| option FFS_SOFTUPDATES
| #option NFSSERVER # Sun NFS-compatible filesystem
| option NFSCLIENT # Sun NFS-compatible filesystem
| option KERNFS # kernel data-structure filesystem
| option FIFO # POSIX fifo support (in all filesystems)
| option QUOTA # fast filesystem with user and group quotas
| option MFS # memory-based filesystem
| option LOFS # Loop-back filesystem
| option FDESC # user file descriptor filesystem
| option NULLFS # null fs, required by umapfs
| option UMAPFS # uid/gid remapping filesystem
| #option PORTAL # portal filesystem (still experimental)
| option PROCFS # /proc
| option CD9660 # ISO 9660 + Rock Ridge file system
| #option UNION # union file system
|
| # Networking options
| option INET
| #option TCP_COMPAT_42 # compatibility with 4.2BSD TCP/IP
| #option GATEWAY # IP packet forwarding
| #option ISO # OSI networking
| #option TPIP
| #option EON
| option COMPAT_43
|
| option LKM
|
| # Options for SPARCstation hardware
| option COMPAT_SUNOS # compatibility with SunOS binaries
| option COMPAT_SVR4 # compatibility with SVR4 binaries
|
| maxusers 16 # estimated number of users
|
| config bsd swap generic
|
| mainbus0 at root
| cpu0 at mainbus0
|
| sbus0 at mainbus0
| #obio0 at mainbus0
| #vmes0 at mainbus0
| #vmel0 at mainbus0
|
| audioamd0 at mainbus0
| audio* at audioamd?
|
| auxreg0 at mainbus0
|
| clock0 at mainbus0
| #clock0 at obio0 addr 0xf2000000
| #oclock0 at obio0 addr 0xf3000000
| #oclock0 at obio0 addr 0x03000000 # 4/100
| memreg0 at mainbus0
| #memreg0 at obio0 addr 0xf4000000
| #memreg0 at obio0 addr 0x04000000 # 4/100
| timer0 at mainbus0
| #timer0 at obio0 addr 0xef000000
| #eeprom0 at obio0 addr 0xf2000000
| #eeprom0 at obio0 addr 0x02000000 # 4/100
|
| zs0 at mainbus0
| #zs0 at obio0 addr 0xf1000000 level 12 flags 0x103
| #zs0 at obio0 addr 0x01000000 level 12 flags 0x103 # 4/100
| zs1 at mainbus0
| #zs1 at obio0 addr 0xf0000000 level 12 flags 0x103
| #zs1 at obio0 addr 0x00000000 level 12 flags 0x103 # 4/100
| #zs2 at obio0 addr 0xe0000000 level 12 flags 0x103
|
| # Magma serial/parallel port devices
| #magma* at sbus? slot ? offset ? # magma serial cards
| #mtty* at magma?
| #mbpp* at magma?
|
| # SUNW,spif serial/parallel port devices
| #spif* at sbus? slot ? offset ? # spif serial cards
| #stty* at spif?
| #sbpp* at spif?
|
| # SUNW,xbox SBus Expansion Subsystem
| #xbox* at sbus? slot ? offset ? # SBus Expansion box
| #sbus* at xbox?
|
| # FSBE/S or sun4m
| #espdma0 at sbus0 slot ? offset ?
| #espdma* at sbus0 slot ? offset ?
| #esp0 at espdma? slot ? offset ?
| #esp* at espdma? slot ? offset ?
|
| # old sun4c SCSI
| dma0 at sbus0 slot ? offset ?
| dma* at sbus0 slot ? offset ?
| #dma0 at obio0 addr 0xfa001000 level 4
| esp0 at sbus0 slot ? offset ?
| esp* at sbus0 slot ? offset ?
| #esp0 at obio0 addr 0xfa000000 level 4
|
| # old sun4c
| le0 at sbus? slot ? offset ?
| le* at sbus? slot ? offset ?
| #le0 at obio0 addr 0xf9000000 level 6
|
| # HappyMeal ethernet
| #hme* at sbus? slot ? offset ?
| # Media Independent Interface (mii) drivers (required by hme)
| #nsphy* at mii? phy ? # NS and compatible PHYs
| #qsphy* at mii? phy ? # Quality Semi QS6612 PHYs
|
| # Quad-ethernet glue device, and sub-devices
| #qec* at sbus? slot ? offset ?
| #qe* at qec?
| #be* at qec?
|
| #ie0 at obio0 addr 0xf6000000 level 6
| #ie0 at obio0 addr 0x06000000 level 6 # 4/100
| #ie1 at vmes0 addr 0xffe88000 level 5 vect 0x75
| #ie2 at vmes0 addr 0xff31ff02 level 5 vect 0x76
| #ie3 at vmes0 addr 0xff35ff02 level 5 vect 0x77
| #ie4 at vmes0 addr 0xff2dff02 level 5 vect 0x7c
|
| #xdc0 at vmel0 addr 0xffffee80 level 3 vect 0x44
| #xdc1 at vmel0 addr 0xffffee90 level 3 vect 0x45
| #xdc2 at vmel0 addr 0xffffeea0 level 3 vect 0x46
| #xdc3 at vmel0 addr 0xffffeeb0 level 3 vect 0x47
| #xd* at xdc? drive ?
|
| #xyc0 at vmes0 addr 0xffffee40 level 3 vect 0x48
| #xyc1 at vmes0 addr 0xffffee48 level 3 vect 0x49
| #xy* at xyc? drive ?
|
| #si0 at vmes0 addr 0xff200000 level 2 vect 0x40
| #si1 at vmes0 addr 0xff204000 level 2 vect 0x41
| #sw0 at obio0 addr 0x0a000000 level 2
|
| #bwtwo0 at sbus? slot ? offset ?
| #bwtwo* at sbus? slot ? offset ?
| #bwtwo0 at obio0 addr 0xfd000000 level 4 # 4/260
| #bwtwo0 at obio0 addr 0xfb300000 level 4 # 4/{300/400} ??
| #cgtwo0 at vmes0 addr 0xff400000 level 4 vect 0xa8
| #cgnine0 at vmel0 addr 0x08000000 level 4
| cgthree0 at sbus? slot ? offset ?
| cgthree* at sbus? slot ? offset ?
| #cgsix0 at sbus? slot ? offset ?
| #cgsix* at sbus? slot ? offset ?
|
| #pfour0 at obio0 addr 0xfb000000
| #pfour0 at obio0 addr 0x0b000000 # 4/100
| #bwtwo0 at pfour0
| #cgfour0 at pfour0
| #cgeight0 at pfour0
| #cgsix0 at pfour0
|
| scsibus* at esp?
| #scsibus* at si?
| #scsibus* at sw?
|
| sd* at scsibus? target ? lun ?
| st* at scsibus? target ? lun ?
| cd* at scsibus? target ? lun ?
| #ch* at scsibus? target ? lun ? # SCSI changer devices
| #ss* at scsibus? target ? lun ? # SCSI scanners
| #uk* at scsibus? target ? lun ? # unknown SCSI devices
|
| fdc0 at mainbus0
| fd* at fdc0
|
| pseudo-device loop 2
| pseudo-device pty 64
| pseudo-device kbd
| pseudo-device vnd 3
| pseudo-device bpfilter 8
| pseudo-device ksyms 1
| pseudo-device rd 2
|
| option BOOT_CONFIG # add support for boot -c
| >Fix:
| I don't know. I took the GENERIC and added FFS_SOFTUPDATES.
| Because I've tried multiple setups I *suspect* that it's UVM
|
| >Audit-Trail:
| >Unformatted:
|
---
Gates' Law: Every 18 months, the speed of software halves.