Date: Wed, 11 Aug 2004 00:10:25 GMT From: Vadim Mikhailov <freebsd-bugs@mikhailov.org> To: freebsd-bugs@FreeBSD.org Subject: Re: kern/68351: bge0 watchdog timeout on 5.2.1 and -current, 5.1 is ok Message-ID: <200408110010.i7B0APUL095704@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/68351; it has been noted by GNATS. From: Vadim Mikhailov <freebsd-bugs@mikhailov.org> To: John Baldwin <jhb@FreeBSD.org> Cc: freebsd-gnats-submit@FreeBSD.org Subject: Re: kern/68351: bge0 watchdog timeout on 5.2.1 and -current, 5.1 is ok Date: Tue, 10 Aug 2004 17:04:48 -0700 John Baldwin wrote: >>> It looks like the interrupts are routed just as both ACPI and >>>the MP Table say they should be. Have you tried using cvs to change the >>>sys/dev/bge source back to 5.1 sources with the rest of the kernel being >>>5.2.1 to see if it works ok? >> Yes I did. Unfortunately difference between 5.1 and 5.2.1 is just too >>big: >>http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/bge/if_bge.c.diff?f=h&r1= >>1.41&r2=1.60 With 5.2.1-p9 sources when I replace if_bge.c rev. 1.60 >>(5_2_1_RELEASE) with rev. 1.41 (5_1_0_RELEASE) kernel would not compile at >>all: >> >>/usr/src/sys/dev/bge/if_bge.c:107:24: pci/pcireg.h: No such file or >>directory /usr/src/sys/dev/bge/if_bge.c:108:24: pci/pcivar.h: No such file >>or directory mkdep: compile failed >>*** Error code 1 > > Just change the files to say '#include <dev/pci/pcifoo.h>', that is, add the > 'dev/' to the start of the filename and that should fix that problem. If you > could try with those changes I'd appreciate it. Still no go. As I said before, difference between 5.1 and 5.2.1 is just too big. When I change #includes to <dev/pci/*.h>, I get this on make buildkernel: error /usr/src/sys/dev/bge/if_bge.c /usr/src/sys/dev/bge/if_bge.c: In function `bge_alloc_jumbo_mem': /usr/src/sys/dev/bge/if_bge.c:618: error: structure has no member named `bge_jumbo_buf' /usr/src/sys/dev/bge/if_bge.c:621: error: structure has no member named `bge_jumbo_buf' /usr/src/sys/dev/bge/if_bge.c:633: error: structure has no member named `bge_jumbo_buf' /usr/src/sys/dev/bge/if_bge.c:640: error: structure has no member named `bge_jumbo_buf' /usr/src/sys/dev/bge/if_bge.c:642: error: structure has no member named `bge_jumbo_buf' /usr/src/sys/dev/bge/if_bge.c: In function `bge_free_jumbo_mem': /usr/src/sys/dev/bge/if_bge.c:668: error: structure has no member named `bge_jumbo_buf' /usr/src/sys/dev/bge/if_bge.c: In function `bge_jfree': /usr/src/sys/dev/bge/if_bge.c:715: error: structure has no member named `bge_jumbo_buf' /usr/src/sys/dev/bge/if_bge.c: In function `bge_newbuf_std': /usr/src/sys/dev/bge/if_bge.c:764: error: structure has no member named `bge_rdata' /usr/src/sys/dev/bge/if_bge.c: In function `bge_newbuf_jumbo': /usr/src/sys/dev/bge/if_bge.c:818: error: structure has no member named `bge_rdata' /usr/src/sys/dev/bge/if_bge.c: In function `bge_free_rx_ring_std': /usr/src/sys/dev/bge/if_bge.c:862: error: structure has no member named `bge_rdata' /usr/src/sys/dev/bge/if_bge.c: In function `bge_init_rx_ring_jumbo': /usr/src/sys/dev/bge/if_bge.c:883: error: structure has no member named `bge_rdata' /usr/src/sys/dev/bge/if_bge.c: In function `bge_free_rx_ring_jumbo': /usr/src/sys/dev/bge/if_bge.c:903: error: structure has no member named `bge_rdata' /usr/src/sys/dev/bge/if_bge.c: In function `bge_free_tx_ring': /usr/src/sys/dev/bge/if_bge.c:916: error: structure has no member named `bge_rdata' /usr/src/sys/dev/bge/if_bge.c:924: error: structure has no member named `bge_rdata' /usr/src/sys/dev/bge/if_bge.c: In function `bge_blockinit': /usr/src/sys/dev/bge/if_bge.c:1198: error: structure has no member named `bge_rdata' /usr/src/sys/dev/bge/if_bge.c:1199: error: structure has no member named `bge_rdata' /usr/src/sys/dev/bge/if_bge.c:1199: error: structure has no member named `bge_rdata' /usr/src/sys/dev/bge/if_bge.c:1218: error: structure has no member named `bge_rdata' /usr/src/sys/dev/bge/if_bge.c:1219: error: structure has no member named `bge_rdata' /usr/src/sys/dev/bge/if_bge.c:1219: error: structure has no member named `bge_rdata' /usr/src/sys/dev/bge/if_bge.c:1235: error: structure has no member named `bge_rdata' /usr/src/sys/dev/bge/if_bge.c:1266: error: structure has no member named `bge_rdata' /usr/src/sys/dev/bge/if_bge.c:1266: error: structure has no member named `bge_rdata' /usr/src/sys/dev/bge/if_bge.c:1299: error: structure has no member named `bge_rdata' /usr/src/sys/dev/bge/if_bge.c:1299: error: structure has no member named `bge_rdata' /usr/src/sys/dev/bge/if_bge.c:1360: error: structure has no member named `bge_rdata' /usr/src/sys/dev/bge/if_bge.c:1366: error: structure has no member named `bge_rdata' /usr/src/sys/dev/bge/if_bge.c:1368: error: structure has no member named `bge_rdata' /usr/src/sys/dev/bge/if_bge.c:1369: error: structure has no member named `bge_rdata' /usr/src/sys/dev/bge/if_bge.c: In function `bge_attach': /usr/src/sys/dev/bge/if_bge.c:1608: error: structure has no member named `bge_rdata' /usr/src/sys/dev/bge/if_bge.c:1611: error: structure has no member named `bge_rdata' /usr/src/sys/dev/bge/if_bge.c:1618: error: structure has no member named `bge_rdata' /usr/src/sys/dev/bge/if_bge.c:1639: error: structure has no member named `if_unit' /usr/src/sys/dev/bge/if_bge.c:1640: error: structure has no member named `if_name' /usr/src/sys/dev/bge/if_bge.c:1732: warning: passing arg 1 of `callout_handle_init' from incompatible pointer type /usr/src/sys/dev/bge/if_bge.c: In function `bge_release_resources': /usr/src/sys/dev/bge/if_bge.c:1796: error: structure has no member named `bge_rdata' /usr/src/sys/dev/bge/if_bge.c:1797: error: structure has no member named `bge_rdata' /usr/src/sys/dev/bge/if_bge.c: In function `bge_rxeof': /usr/src/sys/dev/bge/if_bge.c:1906: error: structure has no member named `bge_rdata' /usr/src/sys/dev/bge/if_bge.c:1915: error: structure has no member named `bge_rdata' /usr/src/sys/dev/bge/if_bge.c: In function `bge_txeof': /usr/src/sys/dev/bge/if_bge.c:2021: error: structure has no member named `bge_rdata' /usr/src/sys/dev/bge/if_bge.c:2025: error: structure has no member named `bge_rdata' /usr/src/sys/dev/bge/if_bge.c: In function `bge_intr': /usr/src/sys/dev/bge/if_bge.c:2054: error: structure has no member named `bge_rdata' /usr/src/sys/dev/bge/if_bge.c:2083: error: incompatible type for argument 3 of `untimeout' /usr/src/sys/dev/bge/if_bge.c:2095: error: incompatible type for argument 3 of `untimeout' /usr/src/sys/dev/bge/if_bge.c: In function `bge_tick': /usr/src/sys/dev/bge/if_bge.c:2141: error: incompatible types in assignment /usr/src/sys/dev/bge/if_bge.c: In function `bge_stats_update': /usr/src/sys/dev/bge/if_bge.c:2193: error: structure has no member named `dot3StatsSingleCollisionFrames' /usr/src/sys/dev/bge/if_bge.c:2194: error: structure has no member named `dot3StatsMultipleCollisionFrames' /usr/src/sys/dev/bge/if_bge.c:2195: error: structure has no member named `dot3StatsExcessiveCollisions' /usr/src/sys/dev/bge/if_bge.c:2196: error: structure has no member named `dot3StatsLateCollisions' /usr/src/sys/dev/bge/if_bge.c: In function `bge_encap': /usr/src/sys/dev/bge/if_bge.c:2250: error: structure has no member named `bge_rdata' /usr/src/sys/dev/bge/if_bge.c:2281: error: structure has no member named `bge_rdata' /usr/src/sys/dev/bge/if_bge.c: In function `bge_init': /usr/src/sys/dev/bge/if_bge.c:2452: error: incompatible types in assignment /usr/src/sys/dev/bge/if_bge.c: In function `bge_stop': /usr/src/sys/dev/bge/if_bge.c:2668: error: incompatible type for argument 3 of `untimeout' *** Error code 1 Stop in /usr/obj/usr/src/sys/VORTEX. *** Error code 1 Thanks, Vadim Mikhailov
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200408110010.i7B0APUL095704>