Breakage happens with revision 1.258 (the MSI one), rev 1.257 and
earlier work fine. Thanks to all who helped.

Chris

On Sun, Jul 3, 2011 at 8:41 PM, Theo de Raadt <dera...@cvs.openbsd.org>
wrote:
>> Between a working kernel and a non-working kernel these two commits to
>> the em driver were made:
>
> Then tell us which it is. B You've got the hardware.
>
>> ================================
>> CVSROOT: B  B  B /cvs
>> Module name: B src
>> Changes by: B  kette...@cvs.openbsd.org B  B  B  B 2011/06/03 07:06:06
>>
>> Modified files:
>> B  B  B  sys/dev/pci B  B : if_em.c
>>
>> Log message:
>> Fix em_write_pci_cfg() and em_read_pci_cfg() to avoid unaligned access,
and
>> make em_write_pci_cfg() do a proper read/modify/write cycle, to avoid
changing
>> the neighbouring 16 bits. B Also remove the comment in em_pci_set_mwi()
and
>> em_pci_clear_mwi(); writting 0 to the status bits in the command/status
word
>> is the right thing to do. B Fixes a panic on sparc64 and other strict
alignment
>> architectures.
>>
>> ok deraadt@
>> ================================
>> CVSROOT: B  B  B /cvs
>> Module name: B src
>> Changes by: B  kette...@cvs.openbsd.org B  B  B  B 2011/06/16 07:21:00
>>
>> Modified files:
>> B  B  B  sys/dev/pci B  B : if_em.c
>>
>> Log message:
>> Enable MSI on newish PCIe hardware, essentially everything handled by the
Linux
>> e1000e driver (which enables MSI as well), leaving everything handled by
the
>> old Linux e1000 driver (which doesn't enable MSI) use legacy interrupts.
>>
>> tested by many; ok jsg@
>> ================================
>>
>> Have no idea if it is a driver issue but if it is this info. might assist.
>>
>> Thanks,
>>
>> Chris
>>
>> On Sun, Jul 3, 2011 at 5:08 PM, Chris Smith <obsd_m...@chrissmith.org>
wrote:
>> > System is hanging and I'm getting these errors after upgrading to
-current:
>> > ==========================
>> > em0: watchdog timeout -- resetting
>> > em0: watchdog timeout -- resetting
>> > ==========================
>> >
>> > I can still boot and run with the old kernel but the new one is not
working.
>> >
>> > From dmesg:
>> > ==========================
>> > bios0 at mainbus0: AT/286+ BIOS, date 06/27/03, BIOS32 rev. 0 @
>> > 0xf0010, SMBIOS rev. 2.3 @ 0xfc940 (62 entries)
>> > bios0: vendor Intel Corp. version "LY84510A.86A.0043.P17.0306270645"
>> > date 06/27/2003
>> > bios0: Intel Corporation D845GLAD
>> > acpi0 at bios0: rev 0
>> > acpi0: sleep states S0 S1 S4 S5
>> > acpi0: tables DSDT FACP APIC ASF!
>> > acpi0: wakeup devices P0P1(S4) UAR1(S4) USB0(S4) USB1(S4) USB2(S4)
>> > USB3(S4) AC97(S4) SLPB(S4)
>> > acpitimer0 at acpi0: 3579545 Hz, 24 bits
>> > acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
>> > cpu0 at mainbus0: apid 0 (boot processor)
>> > cpu0: apic clock running at 99MHz
>> > ioapic0 at mainbus0: apid 1 pa 0xfec00000, version 20, 24 pins
>> > acpiprt0 at acpi0: bus 0 (PCI0)
>> > acpiprt1 at acpi0: bus 1 (P0P1)
>> > acpicpu0 at acpi0
>> > acpipwrres0 at acpi0: URP1
>> > acpipwrres1 at acpi0: URP2
>> > acpipwrres2 at acpi0: FDDP
>> > acpipwrres3 at acpi0: LPTP
>> > acpibtn0 at acpi0: SLPB
>> > <snip>
>> > em0 at pci1 dev 2 function 0 "Intel PRO/1000MT (82540EM)" rev 0x02:
>> > apic 1 int 18, address 00:07:e9:01:67:1b
>> > ==========================

Reply via email to