Re: kernel page fault on initial login (OpenBSD 3.7 Release)

2005-08-20 Thread Dave Wickberg
On 8/19/05, Nick Holland <[EMAIL PROTECTED]> wrote:
> Dave Wickberg wrote:
> > Hi,
> >
> > I've just recently installed OpenBSD 3.7 (Release) on a Celeron 466 w/
> > 256MB of RAM.
> >
> > I created a boot floppy and from there the install went flawlessly.
> > However, after booting the systems for first time I am getting a
> > kernel page fault error as soon as I try to type in a userid.
> >
> > This is what I'm seeing after waiting for the login prompt and hitting one 
> > key:
> > ---
> > OpenBSD/i386 (wormy.starbase) (ttyC0)
> >
> > login: kernel: page fault trap, code = 0
> > Stopped atpckbc_enqueue_cmd+0x7d: sbbb  0(%eax),%al
> > ddb> kernel: page fault trap, code = 0
> > Faulted in DDB; continuing...
> > ddb>
> > ---
> do you happen to see a message about including a "ps" and "trace" with
> your problem report?
> 

Actually no, just what I have above - I guess that would have come
after the "Faulted in DDB; continuing..." line? Here's the output from
ps and trace respectively:

   PID   PPID   PGRPUID  SFLAGS   WAITCOMMAND
  17210   6950  17210  0  3   0x4086   ttyin   csh
  8950   2863   6950  0  3   0x4084   select  sshd
  28407  1  28407  0  3   0x4086   ttyin   getty
  11599  1  11599  0  3   0x4086   ttyin   getty
  2024  1   2024  0  3   0x4086   ttyin   getty
  3200  1   3200  0  3   0x4086   ttyin   getty
  20666  1  20666  0  3   0x4086   ttyin   getty
  14322  1  14322  0  3 0x84   select  cron
  18567  1  18567  0  3  0x40184   select  sendmail
  2863  1   2863  0  3 0x84   select  sshd
  19286  1  19286  0  30x184   select  inetd
  6021  1   6021  0  3 0x84   pollntpd
  21199  1  13058 83  30x186   pollntpd
  3268  31864  31864 73  30x184   pollsyslogd
  31864  1  31864  0  3 0x84   netio   syslogd
  16126  1  16126 77  30x184   polldhclient
  2558  1  13058  0  3 0x86   polldhclient
11  0  0  0  3 0x100204   crypto_wa   crypto
10  0  0  0  3 0x100204   aiodonedaiodoned 
 9  0  0  0  3 0x100204   syncer  update
 8  0  0  0  3 0x100204   cleaner cleaner
 7  0  0  0  3 0x100204   reaper  reaper
 6  0  0  0  3 0x100204   pagedaemon  pagedaemon
 5  0  0  0  3 0x100204   usbtask usbtask
 4  0  0  0  3 0x100204   usbevt  usb0
 3  0  0  0  3 0x100204   apmev   amp0
 2  0  0  0  3 0x100204   kmalloc kmthread
 1  0  0  0  3   0x4084   waitinit
 0  0  0  0  3  0x80204   scheduler   swapper


pckbc_enqueue_cmd(d05aad20,0,d06d3d86,2,0) at pckbc_enqueue_cmd+0x7d
pckbd_set_leds(d0b5dd00,f10e,f103,80) at pckbd_set_leds+0x3c
wskbd_translate(d05aa480,2,1d,1d) at wskbd_translate+0x101
wskbd_input(d0b5fe00,2,1d,1) at wskbd_input+0x3e
pckbd_input(d0b5dd00,1d,80dd,16) at pckbd_input+0x53
pckbcintr(d0b5dd80) at pckbcintr+0x9f
Xrecurse_legacy1() at Xrecurse_legacy1+0x86
--- interrupt ---
idle_loop(d065ed80,28,0,0,8000) at idle_loop+0x21
bpendtsleep(d05b2260,4,d04f5931,0,0,,d04afc2c,0) at bpendsleep
uvm_scheduler(d05b2258,3,0,d04afc2c,fff) at uvm_scheduler+0x6b
check_console(0,0,0,0,0) at check_console


> you have a few "extra" things in there -- I'd remove them.  The ISA NIC,
> the audio card (if possible, disable in BIOS if not possible to
> physically remove), see if the thing settles down.
> 
> The ISA NIC has got my attention.  I'm not certain how that would mess
> it up in this way, but it's the best idea I have at the moment.

Makes sense. I first took out the ISA NIC and then disabled the
on-board sound checking each time to see if there was any change - in
each case the problem still occurred. New dmesg is:

OpenBSD 3.7 (GENERIC) #50: Sun Mar 20 00:01:57 MST 2005
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel Celeron ("GenuineIntel" 686-class, 128KB L2 cache) 468 MHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR
real mem  = 267952128 (261672K)
avail mem = 237731840 (232160K)
using 3296 buffers containing 13500416 bytes (13184K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(c7) BIOS, date 04/23/99, BIOS32 rev. 0 @ 0xfb100
apm0 at bios0: Power Management spec V1.2
apm0: AC on, battery charge unknown
pcibios0 at bios0: rev 2.1 @ 0xf/0xb57c
pcibios0: PC

kernel page fault on initial login (OpenBSD 3.7 Release)

2005-08-18 Thread Dave Wickberg
Hi,

I've just recently installed OpenBSD 3.7 (Release) on a Celeron 466 w/
256MB of RAM.

I created a boot floppy and from there the install went flawlessly.
However, after booting the systems for first time I am getting a
kernel page fault error as soon as I try to type in a userid.

This is what I'm seeing after waiting for the login prompt and hitting one key:
---
OpenBSD/i386 (wormy.starbase) (ttyC0)

login: kernel: page fault trap, code = 0
Stopped atpckbc_enqueue_cmd+0x7d: sbbb  0(%eax),%al
ddb> kernel: page fault trap, code = 0
Faulted in DDB; continuing...
ddb>
---

I'm left at a debugger prompt that seems functional so I may be able
to pull some more info if required.

I can log into the machine via ssh normally (as long as I don't touch
the local keyboard and trigger the error). Any idea what might be
going on?

Thanks,
Dave

P.S. dmesg below:

OpenBSD 3.7 (GENERIC) #50: Sun Mar 20 00:01:57 MST 2005
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel Celeron ("GenuineIntel" 686-class, 128KB L2 cache) 468 MHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR
real mem  = 267952128 (261672K)
avail mem = 237731840 (232160K)
using 3296 buffers containing 13500416 bytes (13184K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(c7) BIOS, date 04/23/99, BIOS32 rev. 0 @ 0xfb100
apm0 at bios0: Power Management spec V1.2
apm0: AC on, battery charge unknown
pcibios0 at bios0: rev 2.1 @ 0xf/0xb57c
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdb20/160 (8 entries)
pcibios0: PCI Exclusive IRQs: 9 10 11
pcibios0: PCI Interrupt Router at 000:07:0 ("VIA VT82C596A ISA" rev 0x00)
pcibios0: PCI bus #1 is the last bus
bios0: ROM list: 0xc/0xa800
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "VIA VT82C691 PCI" rev 0x02
ppb0 at pci0 dev 1 function 0 "VIA VT82C598 AGP" rev 0x00
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 "Nvidia Vanta" rev 0x15
wsdisplay0 at vga1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
pcib0 at pci0 dev 7 function 0 "VIA VT82C596A ISA" rev 0x06
pciide0 at pci0 dev 7 function 1 "VIA VT82C571 IDE" rev 0x06: ATA33,
channel 0 configured to compatibility, channel 1 configured to
compatibility
wd0 at pciide0 channel 0 drive 0: 
wd0: 32-sector PIO, LBA, 1039MB, 2128536 sectors
wd0(pciide0:0:0): using PIO mode 4, DMA mode 2
atapiscsi0 at pciide0 channel 1 drive 1
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0:  SCSI0 5/cdrom removable
cd0(pciide0:1:1): using PIO mode 4, Ultra-DMA mode 2
uhci0 at pci0 dev 7 function 2 "VIA VT83C572 USB" rev 0x02: irq 10
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
"VIA VT82C596 Power Mgmt" rev 0x00 at pci0 dev 7 function 3 not configured
rl0 at pci0 dev 10 function 0 "Realtek 8139" rev 0x10: irq 9 address
00:10:b5:0f:0a:45
rlphy0 at rl0 phy 0: RTL internal phy
cmpci0 at pci0 dev 13 function 0 "C-Media Electronics CMI8338A Audio"
rev 0x10: irq 9
audio0 at cmpci0
isa0 at pcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0 (mux 1 ignored for console): console keyboard, using wsdisplay0
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
ne0: irq 9 already in use
pcppi0 at isa0 port 0x61
midi0 at pcppi0: 
sysbeep0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
npx0 at isa0 port 0xf0/16: using exception 16
pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
pccom1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
biomask ed65 netmask ef65 ttymask ffe7
pctr: 686-class user-level performance counters enabled
mtrr: Pentium Pro MTRR support
dkcsum: wd0 matched BIOS disk 80
root on wd0a
rootdev=0x0 rrootdev=0x300 rawdev=0x302
WARNING: / was not properly unmounted