On Wed, Apr 19, 2000 at 12:44:22PM +0200, Christoph Kukulies wrote:
> 
> With a kernel built Apr 18th (and also today, Apr 19th) I'm getting
> panics when starting up in multiuser mode but also strange things
> happen when trying to boot /kernel -s
> 
> In the latter case I was dropped into ddb after being prompted with
> something like mountroot>
>  
> I'm running i4b (isdnd) and the old PCI shims (ncr), FWIW.
>  
> Also I don't know if it is now a bug or a feature: I compiled DDB into
> the kernel this morning after getting the panics (which were in strcmp()
> or strcpy() in the kernel, process was 'sh' in the panic log. After booting
> this DDB kernel first time the kernel didn't panic apparently but it
> was 'shutdown' smoothly (bufdaemon was stopped and kernel was halted).
>  
> (looked like a feature but I couldn't see any benefit since I don't know
> whether it really panick'ed and if, where it did).
>  
> All in all strange things are happening at the moment. Also ftpd
> tells me some module could not be loaded (auth_pam).
> 
> I was hardly able to get up . Only with heavily hitting ^C through the daemon
> starup phase I got the kernel running. Maybe some daemon is the
> culprit (Mysqld, squid, sshd)?
> 
> 
> Will supply dmesg and CONFIG later - in a hurry at the moment...

OK, here goes:
Copyright (c) 1992-2000 The FreeBSD Project.
Copyright (c) 1982, 1986, 1989, 1991, 1993
        The Regents of the University of California. All rights reserved.
FreeBSD 5.0-CURRENT #1: Wed Apr 19 12:13:34 CEST 2000
    [EMAIL PROTECTED]:/usr/src/sys/compile/MONKAVMIFB
Timecounter "i8254"  frequency 1193182 Hz
Timecounter "TSC"  frequency 499946900 Hz
CPU: Pentium III/Pentium III Xeon (499.95-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x673  Stepping = 3
  
Features=0x387f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,PN,MMX,FXSR,XMM>
real memory  = 134152192 (131008K bytes)
avail memory = 126861312 (123888K bytes)
Preloaded elf kernel "kernel" at 0xc037f000.
Pentium Pro MTRR support enabled
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Intel 82443BX (440 BX) host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
pcib1: <Intel 82443BX (440 BX) PCI-PCI (AGP) bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pci1: <NVidia Riva Ultra Vanta TNT2 graphics accelerator> at 0.0 irq 11
isab0: <Intel 82371AB PCI to ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel PIIX4 ATA33 controller> port 0xf000-0xf00f at device 7.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
pci0: <Intel 82371AB/EB (PIIX4) USB controller> at 7.2 irq 10
chip1: <Intel 82371AB Power management controller> port 0x5000-0x500f at device 7.3 on 
pci0
pcm0: <AudioPCI ES1371> port 0xe400-0xe43f irq 12 at device 10.0 on pci0
xl0: <3Com 3c905B-TX Fast Etherlink XL> port 0xe800-0xe87f mem 0xe9000000-0xe900007f 
irq 10 at device 11.0 on pci0
xl0: Ethernet address: 00:50:04:52:4f:73
miibus0: <MII bus> on xl0
xlphy0: <3Com internal media interface> on miibus0
xlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
ncr0: <ncr 53c810a fast10 scsi> port 0xec00-0xecff mem 0xe9001000-0xe90010ff irq 11 at 
device 12.0 on pci0
ncr0: driver is using old-style compatability shims
fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> on isa0
sc0: VGA <16 virtual consoles, flags=0x200>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1 at port 0x2f8-0x2ff irq 3 flags 0x10 on isa0
sio1: type 16550A
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode
ppbus0: IEEE1284 device found 
Probing for PnP devices on ppbus0:
ppi0: <Parallel I/O> on ppbus0
ppi0: can't allocate irq
device_probe_and_attach: ppi0 attach returned 12
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
plip0: <PLIP network interface> on ppbus0
isic0 at port 
0x1b40-0x1b5f,0x1720-0x173f,0x720-0x73f,0xf20-0xf3f,0x1340-0x135f,0x340-0x35f,0xb40-0xb5f
 irq 5 flags 0x4 on isa0
isic0: AVM A1 or Fritz!Card Classic
unknown: <PNP0000> can't assign resources
unknown0: <PNP0200> at port 0-0xf,0x81-0x83,0x87,0x89-0x8b,0x8f-0x91,0xc0-0xdf drq 4 
on isa0
unknown1: <PNP0100> at port 0x40-0x43 irq 0 on isa0
unknown2: <PNP0b00> at port 0x70-0x71 irq 8 on isa0
unknown: <PNP0303> can't assign resources
pca0: <AT-style speaker sound> at port 0x61 on isa0
unknown3: <PNP0c04> at port 0xf0-0xff irq 13 on isa0
unknown4: <PNP0c01> at iomem 0-0x9ffff,0xfffe0000-0xffffffff,0x100000-0x7ffffff on isa0
unknown5: <PNP0c02> at iomem 
0xf0000-0xf3fff,0xf4000-0xf7fff,0xf8000-0xfffff,0xd0000-0xd3fff on isa0
unknown6: <PNP0a03> at port 
0x294-0x297,0x4d0-0x4d1,0xcf8-0xcff,0x480-0x48f,0x4000-0x403f,0x5000-0x501f on isa0
unknown: <PNP0501> can't assign resources
unknown: <PNP0700> can't assign resources
unknown: <PNP0400> can't assign resources
unknown: <PNP0501> can't assign resources
IP packet filtering initialized, divert enabled, rule-based forwarding disabled, 
default to deny, unlimited logging
i4b: ISDN call control device attached
i4bisppp: 4 ISDN SyncPPP device(s) attached
i4bctl: ISDN system control port attached
i4bipr: 4 IP over raw HDLC ISDN device(s) attached (VJ header compression)
i4btel: 2 ISDN telephony interface device(s) attached
i4brbch: 4 raw B channel access device(s) attached
i4btrc: 4 ISDN trace device(s) attached
ad0: 19574MB <IBM-DPTA-372050> [39770/16/63] at ata0-master using UDMA33
acd0: CDROM <FX400_02> at ata1-master using PIO3
acd1: CDROM <ATAPI 48X CDROM> at ata1-slave using PIO4
Waiting 10 seconds for SCSI devices to settle
Mounting root from ufs:/dev/da0s2a
da0 at ncr0 bus 0 target 0 lun 0
da0: <QUANTUM FIREBALL1080S 1Q09> Fixed Direct Access SCSI-2 device 
da0: 10.000MB/s transfers (10.000MHz, offset 8)
da0: 1042MB (2134305 512 byte sectors: 255H 63S/T 132C)
da1 at ncr0 bus 0 target 1 lun 0
da1: <QUANTUM FIREBALL_TM3200S 300N> Fixed Direct Access SCSI-2 device 
da1: 10.000MB/s transfers (10.000MHz, offset 8), Tagged Queueing Enabled
da1: 3067MB (6281856 512 byte sectors: 255H 63S/T 391C)
WARNING: / was not properly dismounted
WARNING: run /dev/MAKEDEV before 2000-06-01 to get rid of block devices
i4b: unit 0, assigned TEI = 101 = 0x65

>  

CONFIG file:

#
# GENERIC -- Generic machine with WD/AHx/NCR/BTx family disks
#
# For more information read the handbook part System Administration -> 
# Configuring the FreeBSD Kernel -> The Configuration File. 
# The handbook is available in /usr/share/doc/handbook or online as
# latest version from the FreeBSD World Wide Web server 
# <URL:http://www.FreeBSD.ORG/>
#
# An exhaustive list of options and more detailed explanations of the 
# device lines is present in the ./LINT configuration file. If you are 
# in doubt as to the purpose or necessity of a line, check first in LINT.
#
#       $Id: GENERIC,v 1.77.2.22 1998/03/24 01:20:14 jkh Exp $

machine         "i386"
cpu             "I686_CPU"
ident           MONKAVMIFB
maxusers        64

options         MATH_EMULATE            #Support for x87 emulation
options         INET                    #InterNETworking
options         FFS                     #Berkeley Fast Filesystem
options         NFS                     #Network Filesystem
options MROUTING
options NMBCLUSTERS=1024
options         MSDOSFS                 #MSDOS Filesystem
options         CD9660          #ISO 9660 Filesystem
options         PROCFS                  #Process filesystem
options         "COMPAT_43"             #Compatible with BSD 4.3 [KEEP THIS!]
options         SCSI_DELAY=10000                
options         UCONSOLE                #Allow users to grab the console
options         USERCONFIG              #boot -c editor
options         VISUAL_USERCONFIG       #visual boot -c editor

options DDB

options         COMPAT_OLDPCI   #Use PCI shims and glue for old drivers



options         SYSVSHM
options         SHMMAXPGS=4096
options         SHMMAX=(SHMMAXPGS*PAGE_SIZE+1)

options IPDIVERT
options IPFIREWALL
options IPFIREWALL_VERBOSE


#device pnp0

device  isa0
device  pci0

device          fdc0    at isa? port IO_FD1 irq 6 drq 2
device          fd0     at fdc0 drive 0

device          ata
device          atadisk         # ATA disk drives
device          atapicd         # ATAPI CDROM drives
device          atapifd         # ATAPI floppy drives
device          atapist         # ATAPI tape drives


# A single entry for any of these controllers (ncr, ahb, ahc, amd) is
# sufficient for any number of installed devices.
#
# Note: The dpt driver is present in this release but was left disabled
# due to its relatively late entry (it's almost certainly benign to enable
# it but we didn't want to risk any chance of destabilizing 2.2.6).  To
# enable DPT support, uncomment the dpt0 controller entry and the two
# options DPTOPT and DPT_MEASURE_PERFORMANCE entries below.

device          miibus0

device  ncr0
device  scbus0

device          da0

device          sa0

device          pass0

device          cd0     #Only need one of these, the code dynamically grows


# The keyboard controller; it controls the keyboard and the PS/2 mouse.
device          atkbdc0 at isa? port IO_KBD

# The AT keyboard
device          atkbd0  at atkbdc? irq 1

device          vga0    at isa? port ? 

# syscons is the default console driver, resembling an SCO console
device          sc0     at isa?
# Enable this and PCVT_FREEBSD for pcvt vt220 compatible console driver
#device         vt0     at isa? port "IO_KBD" tty irq 1 vector pcrint
#options                XSERVER                 # support for X server
#options                FAT_CURSOR              # start with block cursor
# If you have a ThinkPAD, uncomment this along with the rest of the PCVT lines
#options                PCVT_SCANSET=2          # IBM keyboards are non-std

# Mandatory, don't remove
device          npx0    at nexus? port IO_NPX flags 0x0 irq 13

device          sio0    at isa? port IO_COM1 flags 0x10 irq 4
device          sio1    at isa? port IO_COM2 flags 0x10 irq 3

# Parallel port
device  ppbus0
device          ppc0    at isa? irq 7
device          lpt0    at ppbus?
device          plip0   at ppbus?
device          ppi0    at ppbus?

#device         fxp0
device          xl0

# Controls all "VOXWARE" driver sound devices.  See Luigi's driver
# below for an alternate which may work better for some cards.
# 
#options                NOGUSPNP
#device      snd0
#device gus0 at isa? port 0x220 irq 12 drq 1 flags 0x3


# Luigi's snd code (use INSTEAD of snd0 and all VOXWARE drivers!).
# You may also wish to enable the pnp controller with this, for pnp
# sound cards.
#


#device         pcm0 at isa? irq 12 drq 1 flags 0x13
device          pcm0 

# Not controlled by `snd'
# Controls all "VOXWARE" driver sound devices.  See Luigi's driver
# below for an alternate which may work better for some cards.
#
#device snd0
#device pas0     at isa? port 0x388 irq 10 drq 6
#device sb0      at isa? port 0x220 irq 5 drq 1
#device sbxvi0   at isa? drq 5
#device sbmidi0  at isa? port 0x330
#device awe0     at isa? port 0x620
#device gus0 at isa? port 0x220 irq 12 drq 1
##device gus0 at isa? port 0x220 irq 12 drq 1 flags 0x3
#device mss0 at isa? port 0x530 irq 10 drq 1
#device css0    at isa? port 0x534 irq 5 drq 1 flags 0x08
#device sscape0  at isa? port 0x330 irq 9 drq 0
#device trix0    at isa? port 0x330 irq 6 drq 0
#device sscape_mss0  at isa? port 0x534 irq 5 drq 1
#device opl0     at isa? port 0x388
#device mpu0     at isa? port 0x330 irq 6 drq 0
#device uart0 at isa? port 0x330 irq 5



# Order is important here due to intrusive probes, do *not* alphabetize
# this list of network interfaces until the probes have been fixed.
# Right now it appears that the ie0 must be probed before ep0. See
# revision 1.20 of this file.
#device le0 at isa? port 0x200 net irq 10 iomem 0xd0000 vector le_intr

# ISDN4BSD section

# i4b passive ISDN cards support (isic - I4b Siemens Isdn Chipset driver)
# note that the ``options'' and ``device'' lines must BOTH be defined !
#
# Non-PnP Cards:
# --------------
#
# Teles S0/8 or Niccy 1008
#options "TEL_S0_8"
#device isic0 at isa? iomem 0xd0000 net irq 5 flags 1
#
# Teles S0/16 or Creatix ISDN-S0 or Niccy 1016
#options "TEL_S0_16"
#device isic0 at isa? port 0xd80 iomem 0xd0000 net irq 5 flags 2
#
# Teles S0/16.3 
#options "TEL_S0_16_3"
#device isic0 at isa? port 0xd80 net irq 5 flags 3
#
# AVM A1 or AVM Fritz!Card
options "AVM_A1"
#device         isic0 at isa? port 0x340 net irq 5 flags 4
device          isic0 at isa? port 0x340 irq 5 flags 4
#
# ITK ix1 Micro
#options "ITKIX1"
#device isic0 at isa? port 0x398 net irq 10 flags 18
#
# PnP-Cards:
# ----------
#
# Teles S0/16.3 PnP
#options "TEL_S0_16_3_P"
#device isic0 at isa? port ? net irq ?
#
# Creatix ISDN-S0 P&P
#options "CRTX_S0_P"
#device isic0 at isa? port ? net irq ?
#
# Dr. Neuhaus Niccy Go@
#options "DRN_NGO"
#device isic0 at isa? port ? net irq ?
#
# Sedlbauer Win Speed
#options "SEDLBAUER"
#device isic0 at isa? port ? net irq ?
#
# Dynalink IS64PH
#options "DYNALINK"
#device isic0 at isa? port ? net irq ?
#
# ELSA QuickStep 1000pro ISA
#options "ELSA_QS1ISA"
#device isic0 at isa? port ? net irq ?
#
# PCI-Cards:
# ----------
#
# ELSA QuickStep 1000pro PCI
#options "ELSA_QS1PCI"
#device  isic0
#
# PCMCIA-Cards:
# -------------
#
# AVM PCMCIA Fritz!Card
#options "AVM_A1_PCMCIA"
#device isic0 at isa? port 0x340 net irq 5 flags 10
#
# Active Cards:
# -------------
#
# Stollmann Tina-dd control device
#device tina0 at isa? port 0x260 net irq 10
#
# ISDN Protocol Stack
# -------------------
# 
# Q.921 / layer 2 - i4b passive cards D channel handling
pseudo-device   "i4bq921"
#
# Q.931 / layer 3 - i4b passive cards D channel handling
pseudo-device   "i4bq931"
#
# layer 4 - i4b common passive and active card handling
pseudo-device   "i4b"
#
# ISDN devices
# ------------
#
# userland driver to do ISDN tracing (for passive cards only)
pseudo-device   "i4btrc"        4
#
# userland driver to control the whole thing
pseudo-device   "i4bctl"
#
# userland driver for access to raw B channel
pseudo-device   "i4brbch"       4
#
# userland driver for telephony
pseudo-device   "i4btel"        2
#
# network driver for IP over raw HDLC ISDN
pseudo-device   "i4bipr"        4
# enable VJ header compression detection for ipr i/f
options         IPR_VJ
#
# network driver for sync PPP over ISDN
pseudo-device   "i4bisppp"      4
pseudo-device   sppp            4

pseudo-device   loop
pseudo-device   ether
pseudo-device   bpf 4
pseudo-device   sl      1
pseudo-device   ppp     1
pseudo-device   vn      4
pseudo-device   tun     1
pseudo-device   pty     16
pseudo-device   gzip            # Exec gzipped a.out's
pseudo-device   speaker
pseudo-device   pca


# KTRACE enables the system-call tracing facility ktrace(2).
# This adds 4 KB bloat to your kernel, and slightly increases
# the costs of each syscall.
options         KTRACE          #kernel tracing

# This provides support for System V shared memory.
#
options         SYSVSHM

-- 
Chris Christoph P. U. Kukulies [EMAIL PROTECTED]


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to