Re: Page fault trap on IBM x336

2011-01-18 Thread Marcos Laufer
Hello Patrick,

Do you think this could work for 4.8?
How could you compile kernel and ramdisk kernel with the old 1.72 pci.c, 
using another box that boots 4.7?

Regards,
Marcos

Patrick Coleman wrote:
 On Wed, Jun 9, 2010 at 10:47 AM, patrick keshishian pkesh...@gmail.com 
 wrote:
   
 you realize obsd4.5 isn't supported any longer since 4.7 was released.
 

 Fair enough. I've managed to get 4.7 working by reverting
 /sys/dev/pci/pci.c to 1.72, as suggested in that thread, so I guess
 I'll try that.

 Cheers,

 Patrick



Re: Page fault trap on IBM x336

2010-06-10 Thread Patrick Coleman
On Wed, Jun 9, 2010 at 10:47 AM, patrick keshishian pkesh...@gmail.com wrote:

 you realize obsd4.5 isn't supported any longer since 4.7 was released.

Fair enough. I've managed to get 4.7 working by reverting
/sys/dev/pci/pci.c to 1.72, as suggested in that thread, so I guess
I'll try that.

Cheers,

Patrick

-- 
http://www.labyrinthdata.net.au - WA Backup, Web and VPS Hosting



Re: Page fault trap on IBM x336

2010-06-08 Thread patrick keshishian
On Sun, May 30, 2010 at 8:53 PM, Patrick Coleman blin...@gmail.com wrote:
 Hi,

 Let me know if I should be posting this elsewhere.

 I'm running OpenBSD 4.5 i386 on an IBM x336 server, as newer versions
 don't work with the Broadcom network interfaces [1]. I installed it
 about a week ago, and everything was working great until I got the
 following on the console (retyped). I ran a trace as per the FAQ:

you realize obsd4.5 isn't supported any longer since 4.7 was released.

regardless you if you are planning on running obsd4.5, you should at
the very lease apply currently published patches under errata4.5:

http://www.openbsd.org/errata45.html

I wonder whether errata 002 is relavent in your case, but I am not sure.

--patrick


 [lots of vlan: lines; probably me adding the interfaces a few days ago]
 vlan80: initialized with non-standard mtu 1496 (parent trunk0)
 vlan85: initialized with non-standard mtu 1496 (parent trunk0)
 vlan61: initialized with non-standard mtu 1496 (parent trunk0)
 vlan1: initialized with non-standard mtu 1496 (parent trunk0)
 uvm_fault(0xd080d9e0, 0x0, 0, 1) - e
 kernel: page fault trap, code=0
 Stopped at arp_rtrequest+0xfb: movb 0x64(%eax),%al
 ddb pckbc_start: command error

 ddb trace
 arp_rtrequest(b,d8382048,de164df0,0) at arp_rtrequest+0xfb
 rtrequest1(b,de164df0,38,de164dec,0,d2ac0400,d0202de9,60) at
rtrequest1+0x1f2
 rtalloc1(d081a508,1,0,d839a68c) at rtalloc1+0xb6
 rtalloc_mpath(d081a504,d869881c,0,d839a68c,0) at rtalloc_mpath+0x2f
 ip_forward(d861fa00,0,de164f10,0,204) at ip_forward+0xd8
 ipv4_input(d861fa00,d2a73640,d08c2b54,d8a312b8) at ipv4_input+0x26e
 ipintr(d0350058,d08c0010,d06f0010,de160010,d8a312b8) at ipintr+0x64
 Bad frame pointer: 0xde164f28
 ddb

 dmesg output is below [2]. Is this a known problem that's fixed in 4.7?

 Cheers,

 Patrick


 1. http://kerneltrap.org/mailarchive/openbsd-misc/2010/3/12/6350403/thread
 2.
 patr...@ceti-a:~[0]$ dmesg
 OpenBSD 4.5 (GENERIC) #1749: Sat Feb 28 14:51:18 MST 2009
dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
[...]



Page fault trap on IBM x336

2010-05-30 Thread Patrick Coleman
Hi,

Let me know if I should be posting this elsewhere.

I'm running OpenBSD 4.5 i386 on an IBM x336 server, as newer versions
don't work with the Broadcom network interfaces [1]. I installed it
about a week ago, and everything was working great until I got the
following on the console (retyped). I ran a trace as per the FAQ:

[lots of vlan: lines; probably me adding the interfaces a few days ago]
vlan80: initialized with non-standard mtu 1496 (parent trunk0)
vlan85: initialized with non-standard mtu 1496 (parent trunk0)
vlan61: initialized with non-standard mtu 1496 (parent trunk0)
vlan1: initialized with non-standard mtu 1496 (parent trunk0)
uvm_fault(0xd080d9e0, 0x0, 0, 1) - e
kernel: page fault trap, code=0
Stopped at arp_rtrequest+0xfb: movb 0x64(%eax),%al
ddb pckbc_start: command error

ddb trace
arp_rtrequest(b,d8382048,de164df0,0) at arp_rtrequest+0xfb
rtrequest1(b,de164df0,38,de164dec,0,d2ac0400,d0202de9,60) at rtrequest1+0x1f2
rtalloc1(d081a508,1,0,d839a68c) at rtalloc1+0xb6
rtalloc_mpath(d081a504,d869881c,0,d839a68c,0) at rtalloc_mpath+0x2f
ip_forward(d861fa00,0,de164f10,0,204) at ip_forward+0xd8
ipv4_input(d861fa00,d2a73640,d08c2b54,d8a312b8) at ipv4_input+0x26e
ipintr(d0350058,d08c0010,d06f0010,de160010,d8a312b8) at ipintr+0x64
Bad frame pointer: 0xde164f28
ddb

dmesg output is below [2]. Is this a known problem that's fixed in 4.7?

Cheers,

Patrick


1. http://kerneltrap.org/mailarchive/openbsd-misc/2010/3/12/6350403/thread
2.
patr...@ceti-a:~[0]$ dmesg
OpenBSD 4.5 (GENERIC) #1749: Sat Feb 28 14:51:18 MST 2009
dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Xeon(TM) CPU 3.20GHz (GenuineIntel 686-class) 3.21 GHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,CNXT-ID,CX16,xTPR
real mem  = 2146832384 (2047MB)
avail mem = 2067619840 (1971MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 07/19/05, BIOS32 rev. 0 @
0xfd711, SMBIOS rev. 2.3 @ 0xf5faa (50 entries)
bios0: vendor IBM version -[APE128AUS-1.11]- date 07/19/2005
bios0: IBM eserver xSeries 336 -[883725M]-
acpi0 at bios0: rev 2
acpi0: tables DSDT FACP APIC MCFG
acpi0: wakeup devices PCI0(S5)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: apic clock running at 200MHz
cpu at mainbus0: not configured
ioapic0 at mainbus0: apid 14 pa 0xfec0, version 20, 24 pins
ioapic1 at mainbus0: apid 13 pa 0xfec82000, version 20, 24 pins
ioapic2 at mainbus0: apid 12 pa 0xfec82400, version 20, 24 pins
acpiprt0 at acpi0: bus 4 (PCI2)
acpiprt1 at acpi0: bus 5 (PCI3)
acpiprt2 at acpi0: bus 1 (PCIS)
acpiprt3 at acpi0: bus 0 (PCI0)
acpicpu0 at acpi0
bios0: ROM list: 0xc/0xb000 0xcb000/0x4000
ipmi at mainbus0 not configured
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 Intel E7520 Host rev 0x0c
Intel E7520 Error Reporting rev 0x0c at pci0 dev 0 function 1 not configured
ppb0 at pci0 dev 2 function 0 Intel E7520 PCIE rev 0x0c
pci1 at ppb0 bus 2
ppb1 at pci0 dev 4 function 0 Intel E7520 PCIE rev 0x0c
pci2 at ppb1 bus 3
ppb2 at pci2 dev 0 function 0 Intel PCIE-PCIE rev 0x09
pci3 at ppb2 bus 4
mpi0 at pci3 dev 1 function 0 Symbios Logic 53c1030 rev 0x08: apic
13 int 4 (irq 11)
scsibus0 at mpi0: 16 targets, initiator 7
sd0 at scsibus0 targ 0 lun 0: LSILOGIC, 1030 IM IM, 1000 SCSI2 0/direct fixed
sd0: 139898MB, 512 bytes/sec, 286511104 sec total
safte0 at scsibus0 targ 8 lun 0: IBM, 25P3495a S320 1, 1 SCSI2
3/processor fixed
mpi0: phys disk 0 Sync at 160MHz width 16bit offset 127 QAS 0 DT 1 IU 1
mpi0: phys disk 1 Sync at 160MHz width 16bit offset 80 QAS 0 DT 1 IU 1
ppb3 at pci2 dev 0 function 2 Intel PCIE-PCIE rev 0x09
pci4 at ppb3 bus 5
ppb4 at pci0 dev 6 function 0 Intel E7520 PCIE rev 0x0c
pci5 at ppb4 bus 6
bge0 at pci5 dev 0 function 0 Broadcom BCM5721 rev 0x11, BCM5750 B1
(0x4101): apic 14 int 16 (irq 11), address 00:14:5e:32:98:fa
brgphy0 at bge0 phy 1: BCM5750 10/100/1000baseT PHY, rev. 0
ppb5 at pci0 dev 7 function 0 Intel E7520 PCIE rev 0x0c
pci6 at ppb5 bus 7
bge1 at pci6 dev 0 function 0 Broadcom BCM5721 rev 0x11, BCM5750 B1
(0x4101): apic 14 int 16 (irq 11), address 00:14:5e:32:98:fb
brgphy1 at bge1 phy 1: BCM5750 10/100/1000baseT PHY, rev. 0
Intel E7520 Config rev 0x0c at pci0 dev 8 function 0 not configured
uhci0 at pci0 dev 29 function 0 Intel 82801EB/ER USB rev 0x02: apic
14 int 16 (irq 11)
uhci1 at pci0 dev 29 function 1 Intel 82801EB/ER USB rev 0x02: apic
14 int 19 (irq 3)
ehci0 at pci0 dev 29 function 7 Intel 82801EB/ER USB2 rev 0x02: apic
14 int 23 (irq 5)
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1
ppb6 at pci0 dev 30 function 0 Intel 82801BA Hub-to-PCI rev 0xc2
pci7 at ppb6 bus 1
vga1 at pci7 dev 1 function 0 ATI Radeon VE rev 0x00
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100