From owner-freebsd-stable Tue Aug 28 15:14:29 2001 Delivered-To: freebsd-stable@freebsd.org Received: from mail.mayn.de (mail.mayn.de [194.145.150.13]) by hub.freebsd.org (Postfix) with ESMTP id 1F04A37B406 for ; Tue, 28 Aug 2001 15:14:08 -0700 (PDT) (envelope-from treif@mayn.de) Received: from mayn.de (pD4B9E4BB.dip.t-dialin.net [212.185.228.187]) by mail.mayn.de (Postfix) with ESMTP id 2271D7C2A for ; Wed, 29 Aug 2001 00:14:05 +0200 (CEST) Message-ID: <3B8C1815.1399F8ED@mayn.de> Date: Wed, 29 Aug 2001 00:15:50 +0200 From: Tobias Reifenberger X-Mailer: Mozilla 4.78 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-stable@freebsd.org Subject: Panic with 4.4-RC (fxp/miibus) Content-Type: multipart/mixed; boundary="------------2261635FCC56FFFA8C4764B9" Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG This is a multi-part message in MIME format. --------------2261635FCC56FFFA8C4764B9 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi I upgraded my System from an older -stable to 4.4-RC (cvs version from yesterday). With miibus compiled into the kernel and if_fxp loaded as module the system panics when ifconfig is executed. If both, miibus and if_fxp are compiled into the kernel, the system will boot - at least... (The sudden freeze+reboot after starting X is another story) >8| Please ask if you need more info: Here is the backtrace: #0 0xc042e569 in ?? () #1 0xc01602a1 in mii_pollstat (mii=0xc15d1dc0) at /usr/devel/FreeBSD-RELENG4/sys/dev/mii/mii.c:328 #2 0xc0421149 in ?? () #3 0xc01c7bc2 in ifmedia_ioctl (ifp=0xc15c1800, ifr=0xce0a8eac, ifm=0xc15d1dc0, cmd=3223873848) at /usr/devel/FreeBSD-RELENG4/sys/net/if_media.c:281 #4 0xc0421690 in ?? () #5 0xc01c52de in ifioctl (so=0xcd279f00, cmd=3223873848, data=0xce0a8eac "fxp0", p=0xcc3ab440) at /usr/devel/FreeBSD-RELENG4/sys/net/if.c:1120 #6 0xc01948ae in soo_ioctl (fp=0xc15e92c0, cmd=3223873848, data=0xce0a8eac "fxp0", p=0xcc3ab440) at /usr/devel/FreeBSD-RELENG4/sys/kern/sys_socket.c:143 #7 0xc01917ee in ioctl (p=0xcc3ab440, uap=0xce0a8f80) at /usr/devel/FreeBSD-RELENG4/sys/sys/file.h:177 #8 0xc02db615 in syscall2 (frame={tf_fs = 47, tf_es = 47, tf_ds = 47, tf_edi = -1077937884, tf_esi = 134677496, tf_ebp = -1077937884, tf_isp = -838168620, tf_ebx = -1077937924, tf_edx = 0, tf_ecx = -1077937908, tf_eax = 54, tf_trapno = 12, tf_err = #9 0xc02ce9c5 in Xint0x80_syscall () #10 0x8049604 in ?? () #11 0x80487c5 in ?? () #12 0x8048135 in ?? () bye -- Tobias Reifenberger -- treif@mayn.de -- DG1NGT GEE e* dpu s:- a-- C+++ UB+++ L- W+ N+ w--- Y+ tv+ b++ D++ h++ r--- --------------2261635FCC56FFFA8C4764B9 Content-Type: text/plain; charset=us-ascii; name="4-ramstein" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="4-ramstein" # machine i386 #cpu I486_CPU cpu I586_CPU cpu I686_CPU ident RAMSTEIN maxusers 128 makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols options DDB options GDB_REMOTE_CHAT # General options #options MATH_EMULATE #Support for x87 emulation options COMPAT_43 #Compatible with BSD 4.3 [KEEP THIS!] options SCSI_DELAY=3000 #Be pessimistic about Joe SCSI device options P1003_1B options _KPOSIX_PRIORITY_SCHEDULING options _KPOSIX_VERSION=199309L options SYSVSHM #options SHMMAXPGS=2050 #options SHMMAX="(SHMMAXPGS*PAGE_SIZE+1)" options SYSVSEM options SYSVMSG options UCONSOLE #Allow users to grab the console options USER_LDT options USERCONFIG #boot -c editor options KTRACE #kernel tracing ### Network options ### # Layer 2 pseudo-device ether #Generic Ethernet #pseudo-device ef # Multiple ethernet frames support #options ETHER_II # enable Ethernet_II frame #options ETHER_8023 # enable Ethernet_802.3 (Novell) frame # Layer 3 options INET #Internet communications protocols options INET6 #IPv6 communications protocols options IPSEC #IP security options IPSEC_ESP #IP security (crypto; define w/ IPSEC) options IPSEC_DEBUG #debug for IP security #options IPX #IPX/SPX communications protocols #options NCP #NetWare Core protocol options NETSMB #SMB/CIFS requester options NETSMBCRYPTO #encrypted password support for SMB options LIBMCHAIN #mbuf management library options LIBICONV # Internet family options #options MROUTING # Multicast routing #options IPFIREWALL #firewall #options IPFIREWALL_FORWARD #enable transparent proxy support #options IPDIVERT #divert sockets #options IPFILTER #ipfilter support #options IPFILTER_LOG #ipfilter logging #options ICMP_BANDLIM # Misc Network pseudo-devices pseudo-device loop #pseudo-device ppp 1 pseudo-device tun 2 pseudo-device bpf 4 #Berkeley packet filter pseudo-device gif 4 #IPv6 and IPv4 tunneling pseudo-device faith 1 #for IPv6 and IPv4 translation pseudo-device stf 1 #6to4 IPv6 over IPv4 encapsulation # FS options options FFS #Berkeley Fast Filesystem options SOFTUPDATES options NFS #Network Filesystem #options NWFS #NetWare filesystem options MSDOSFS #MSDOS Filesystem options CD9660 #ISO 9660 Filesystem options MFS #Memory Filesystem options PROCFS #Process filesystem # options FFS_ROOT #FFS usable as root device [keep this!] options CD9660_ROOT #CD-ROM usable as root. "CD9660" req'ed options NFS_ROOT #NFS usable as root device, "NFS" req'ed #options MFS_ROOT #MFS usable as root device, "MFS" req'ed # # FS pseudo-devices #pseudo-device ccd 2 #Hardware - General # # Busses device isa device pci # # Keyboard device atkbdc0 at isa? port IO_KBD # Keyboard & PS/2 mouse device atkbd0 at atkbdc? irq 1 device psm0 at atkbdc? irq 12 # # Console device vga0 at isa? device sc0 at isa? pseudo-device pty 16 pseudo-device splash # # MISC device npx0 at nexus? port IO_NPX irq 13 device apm0 at nexus? flags 0x20 # Advanced Power Management #Hardware - Storage # # Floppy device fdc0 at isa? port "IO_FD1" irq 6 drq 2 device fd0 at fdc0 drive 0 device fd1 at fdc0 drive 1 # # SCSI device sym device ahc #device ncr device scbus device da device sa device cd device pass # # ATA device ata device atadisk # ATA disk drives device atapicd # ATAPI CDROM drives #device atapifd # ATAPI floppy drives #device atapist # ATAPI tape drives #Hardware - NIC's device miibus #device fxp # Intel EtherExpress PRO/100B (82557, 82558) #device de device ed0 at isa? port 0x280 irq 12 iomem 0xd8000 #Hardware - Sound (GUS rulez) device pcm device sbc device csa #device gusc0 at isa? port 0x220 irq 5 drq 1 flags 0x13 #Hardware - I/O # Misc #device joy0 at isa? port IO_GAME device joy # Serial port(s) device sio0 at isa? port "IO_COM1" flags 0x90 irq 4 device sio1 at isa? port "IO_COM2" irq 3 #device sio2 at isa? disable port "IO_COM3" tty irq 5 #device sio3 at isa? disable port "IO_COM4" tty irq 9 # Parallel Port Bus device ppc0 at isa? port? irq 7 device ppbus device lpt device plip device ppi #device vpo # System Management Bus device smbus #device intpm # Intel PIIX4 Power Management Unit #device alpm # Acer Aladdin-IV/V/Pro2 Power Management Unit #device ichsmb # Intel ICH SMBus controller chips (82801AA, 82801AB, 82801BA) device smb # standard io # I2C Bus device iicbus #device ic # i2c network interface #device iic # i2c standard io #device iicsmb # smb over i2c bridge device iicbb # generic I2C bit-banging code device lpbb device bktr # USB #controller uhci0 #controller ohci0 #controller usb0 # #device ums0 #device ukbd0 #device ulpt0 #device ucom0 #device umodem0 #device uhid0 #device ugen0 #Hardware - MISC # # PCCARD (PCMCIA) #device card #device pcic0 at card? #device pcic1 at card? #EOF# --------------2261635FCC56FFFA8C4764B9 Content-Type: text/plain; charset=us-ascii; name="dmesg-v" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="dmesg-v" Copyright (c) 1992-2001 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 4.4-RC #1: Tue Aug 28 00:32:48 CEST 2001 root@ramstein.dZone:/usr/devel/FreeBSD-RELENG4/sys/compile/4-ramstein Calibrating clock(s) ... TSC clock: 857638251 Hz, i8254 clock: 1193184 Hz CLK_USE_I8254_CALIBRATION not specified - using default frequency Timecounter "i8254" frequency 1193182 Hz CLK_USE_TSC_CALIBRATION not specified - using old calibration method CPU: AMD Duron(tm) Processor (857.64-MHz 686-class CPU) Origin = "AuthenticAMD" Id = 0x631 Stepping = 1 Features=0x183f9ff AMD Features=0xc0440000<,AMIE,DSP,3DNow!> Data TLB: 24 entries, fully associative Instruction TLB: 16 entries, fully associative L1 data cache: 64 kbytes, 64 bytes/line, 1 lines/tag, 2-way associative L1 instruction cache: 64 kbytes, 64 bytes/line, 1 lines/tag, 2-way associative L2 internal cache: 64 kbytes, 64 bytes/line, 1 lines/tag, 8-way associative real memory = 268353536 (262064K bytes) Physical memory chunk(s): 0x00001000 - 0x0009dfff, 643072 bytes (157 pages) 0x00435000 - 0x0ffe3fff, 263909376 bytes (64431 pages) sio0: gdb debugging port avail memory = 256987136 (250964K bytes) bios32: Found BIOS32 Service Directory header at 0xc00f92a0 bios32: Entry = 0xf0f50 (c00f0f50) Rev = 0 Len = 1 pcibios: PCI BIOS entry at 0x1150 pnpbios: Found PnP BIOS data at 0xc00fc2b0 pnpbios: Entry = f0000:c2e0 Rev = 1.0 pnpbios: OEM ID cd041 Other BIOS signatures found: ACPI: 000f67d0 Preloaded elf kernel "kernel" at 0xc040f000. netsmb_dev: loaded Pentium Pro MTRR support enabled pci_open(1): mode 1 addr port (0x0cf8) is 0x80000060 pci_open(1a): mode1res=0x80000000 (0x80000000) pci_cfgcheck: device 0 [class=060000] [hdr=00] is there (id=03051106) Using $PIR table, 9 entries at 0xc00f1720 pcib-: pcib0 exists, using next available unit number apm0: on motherboard apm: found APM BIOS v1.2, connected at v1.2 npx0: on motherboard npx0: INT 16 interface pcib0: on motherboard found-> vendor=0x1106, dev=0x0305, revid=0x03 class=06-00-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 map[10]: type 1, range 32, base e4000000, size 26 found-> vendor=0x1106, dev=0x8305, revid=0x00 class=06-04-00, hdrtype=0x01, mfdev=0 subordinatebus=1 secondarybus=1 found-> vendor=0x1106, dev=0x0686, revid=0x40 class=06-01-00, hdrtype=0x00, mfdev=1 subordinatebus=0 secondarybus=0 found-> vendor=0x1106, dev=0x0571, revid=0x06 class=01-01-8a, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 map[20]: type 1, range 32, base 0000d800, size 4 found-> vendor=0x1106, dev=0x3038, revid=0x16 class=0c-03-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 intpin=d, irq=9 map[20]: type 1, range 32, base 0000d000, size 5 found-> vendor=0x1106, dev=0x3057, revid=0x40 class=06-00-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 found-> vendor=0x1106, dev=0x3058, revid=0x50 class=04-01-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 intpin=c, irq=5 map[10]: type 1, range 32, base 0000b800, size 8 map[14]: type 1, range 32, base 0000b400, size 2 map[18]: type 1, range 32, base 0000b000, size 2 found-> vendor=0x8086, dev=0x1229, revid=0x08 class=02-00-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 intpin=a, irq=9 map[10]: type 1, range 32, base de800000, size 12 map[14]: type 1, range 32, base 0000a400, size 6 map[18]: type 1, range 32, base de000000, size 20 found-> vendor=0x10ec, dev=0x8029, revid=0x00 class=02-00-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 intpin=a, irq=5 map[10]: type 1, range 32, base 0000a000, size 5 found-> vendor=0x109e, dev=0x036e, revid=0x02 class=04-00-00, hdrtype=0x00, mfdev=1 subordinatebus=0 secondarybus=0 intpin=a, irq=10 map[10]: type 1, range 32, base e1000000, size 12 found-> vendor=0x109e, dev=0x0878, revid=0x02 class=04-80-00, hdrtype=0x00, mfdev=1 subordinatebus=0 secondarybus=0 intpin=a, irq=10 map[10]: type 1, range 32, base e0800000, size 12 found-> vendor=0x105a, dev=0x0d30, revid=0x02 class=01-80-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 intpin=a, irq=10 map[10]: type 1, range 32, base 00009800, size 3 map[14]: type 1, range 32, base 00009400, size 2 map[18]: type 1, range 32, base 00009000, size 3 map[1c]: type 1, range 32, base 00008800, size 2 map[20]: type 1, range 32, base 00008400, size 6 map[24]: type 1, range 32, base dd800000, size 17 pci0: on pcib0 pcib2: at device 1.0 on pci0 found-> vendor=0x102b, dev=0x0525, revid=0x82 class=03-00-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 intpin=a, irq=11 map[10]: type 1, range 32, base e2000000, size 25 map[14]: type 1, range 32, base df800000, size 14 map[18]: type 1, range 32, base df000000, size 23 pci1: on pcib2 pci1: (vendor=0x102b, dev=0x0525) at 0.0 irq 11 isab0: at device 4.0 on pci0 isa0: on isab0 atapci0: port 0xd800-0xd80f at device 4.1 on pci0 ata0: iobase=0x01f0 altiobase=0x03f6 bmaddr=0xd800 ata0: mask=03 status0=50 status1=50 ata0: mask=03 ostat0=50 ostat2=50 ata0-master: ATAPI probe a=00 b=00 ata0-slave: ATAPI probe a=00 b=00 ata0: mask=03 status0=50 status1=50 ata0-master: ATA probe a=01 b=a5 ata0-slave: ATA probe a=01 b=a5 ata0: devices=03 ata0: at 0x1f0 irq 14 on atapci0 ata1: iobase=0x0170 altiobase=0x0376 bmaddr=0xd808 ata1: mask=01 status0=50 status1=ff ata1: mask=01 ostat0=50 ostat2=ff ata1-master: ATAPI probe a=14 b=eb ata1: mask=01 status0=00 status1=ff ata1: devices=04 ata1: at 0x170 irq 15 on atapci0 pci0: (vendor=0x1106, dev=0x3038) at 4.3 irq 9 pcm0: port 0xb000-0xb003,0xb400-0xb403,0xb800-0xb8ff irq 5 at device 4.5 on pci0 pcm0: ac97 codec id 0x49434511 (ICEnsemble ICE1232) pcm0: ac97 codec features headphone, 18 bit DAC, 18 bit ADC, 5 bit master volume, Reserved 27 pcm0: ac97 primary codec extended features variable rate PCM, AMAP pcm: setmap f86b000, 1000; 0xc15d7000 -> f86b000 pcm: setmap f86e000, 1000; 0xc15da000 -> f86e000 fxp0: port 0xa400-0xa43f mem 0xde000000-0xde0fffff,0xde800000-0xde800fff irq 9 at device 9.0 on pci0 fxp0: using memory space register mapping fxp0: Ethernet address 00:d0:b7:90:5c:aa fxp0: PCI IDs: 8086 1229 8086 000c 0008 fxp0: Chip Type: 0 inphy0: on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto bpf: fxp0 attached ed0: port 0xa000-0xa01f irq 5 at device 10.0 on pci0 using shared irq5. bpf: ed0 attached ed0: address 00:e0:7d:85:00:93, type NE2000 (16 bit) bktr0: mem 0xe1000000-0xe1000fff irq 10 at device 11.0 on pci0 iicbb0: on bti2c0 iicbus0: on iicbb0 master-only iicbus: iic devclass not found smbus0: on bti2c0 smb0: on smbus0 brooktree0: PCI bus latency is 32. bktr0: buffer size 3555328, addr 0x5000000 bktr0: GPIO is 0x00ffffdb bktr0: subsystem 0x0070 0x13eb bktr0: Hauppauge Model 61344 D121 bktr0: Detected a MSP3410D-B4 at 0x80 bktr0: Hauppauge WinCast/TV, Philips FR1216 PAL FM tuner, msp3400c stereo, remote control. pci0: (vendor=0x109e, dev=0x0878) at 11.1 irq 10 atapci1: port 0x8400-0x843f,0x8800-0x8803,0x9000-0x9007,0x9400-0x9403,0x9800-0x9807 mem 0xdd800000-0xdd81ffff irq 10 at device 17.0 on pci0 ata-: ata2 exists, using next available unit number ata2: iobase=0x9800 altiobase=0x9402 bmaddr=0x8400 ata2: mask=03 status0=50 status1=00 ata2: mask=03 ostat0=50 ostat2=00 ata2-slave: ATAPI probe a=00 b=00 ata2-master: ATAPI probe a=00 b=00 ata2: mask=03 status0=50 status1=00 ata2-master: ATA probe a=01 b=a5 ata2: devices=01 ata2: at 0x9800 on atapci1 using shared irq10. ata3: iobase=0x9000 altiobase=0x8802 bmaddr=0x8408 ata3: mask=03 status0=7f status1=7f ata3: mask=03 ostat0=7f ostat2=7f ata3-master: ATAPI probe a=7f b=7f ata3-slave: ATAPI probe a=7f b=7f ata3: mask=03 status0=7f status1=7f ata3-master: ATA probe a=25 b=25 ata3-slave: ATA probe a=25 b=25 ata3: devices=00 ata3: at 0x9000 on atapci1 pci-: pci1 exists, using next available unit number pcib1: on motherboard pci2: on pcib1 ed-: ed0 exists, using next available unit number Trying Read_Port at 203 Trying Read_Port at 243 Trying Read_Port at 283 Trying Read_Port at 2c3 Trying Read_Port at 303 Trying Read_Port at 343 Trying Read_Port at 383 Trying Read_Port at 3c3 isa_probe_children: disabling PnP devices isa_probe_children: probing non-PnP devices orm0: