From owner-freebsd-sparc64@FreeBSD.ORG Mon Dec 1 07:11:51 2003 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C56D016A4CE for ; Mon, 1 Dec 2003 07:11:51 -0800 (PST) Received: from ahmler2.mail.eds.com (ahmler2.mail.eds.com [192.85.154.72]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7FE7643FE3 for ; Mon, 1 Dec 2003 07:11:44 -0800 (PST) (envelope-from jim.small@eds.com) Received: from ahmlir4.mail.eds.com (ahmlir4-2.mail.eds.com [192.85.154.134]) by ahmler2.mail.eds.com (8.12.10/8.12.9) with ESMTP id hB1FBhGj011603 for ; Mon, 1 Dec 2003 10:11:44 -0500 Received: from ahmlir4.mail.eds.com (localhost [127.0.0.1]) by ahmlir4.mail.eds.com (8.11.6p3/8.11.6) with ESMTP id hB1FBhL31358 for ; Mon, 1 Dec 2003 10:11:43 -0500 Received: from usahm102.exmi01.exch.eds.com (usahm102.exmi01.exch.eds.com [207.37.138.190]) by ahmlir4.mail.eds.com (8.11.6p3/8.11.6) with ESMTP id hB1FBhf31352 for ; Mon, 1 Dec 2003 10:11:43 -0500 Received: by usahm102.exmi01.exch.eds.com with Internet Mail Service (5.5.2657.72) id ; Mon, 1 Dec 2003 10:11:44 -0500 Message-ID: <8AA870658244D4119AF600508BDF0A361BCECABF@usahm014.exmi01.exch.eds.com> From: "Small, Jim" To: freebsd-sparc64@freebsd.org Date: Mon, 1 Dec 2003 10:11:37 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: text/plain Subject: Panic with FreeBSD 5.1 on Ultra 60 with hme, qfe, and bridging en abled X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Dec 2003 15:11:51 -0000 Hello, I have loaded FreeBSD 5.1 on an Ultra 60. The Ultra 60 has the standard builtin hme network interface as well as a PCI QFE card. BTW--It's sweet to be able to load FreeBSD on an UltraSPARC--Thanks! I would like to use bridging on this Ultra 60. I followed: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-bridging.h tml to enable briding. The only special option I have in my kernel configuration file is the option to enable briding: test60# diff KERNEL1 GENERIC 202,204d201 < < # Additional options < options BRIDGE The custom kernel to enable bridging is installed and appears to work fine unless I try to bridge interfaces. Whenever I bridge interfaces, I get a panic: test60# test60# sysctl net.link.ether.bridge=1 net.link.ether.bridge: 0 -> 1 test60# sysctl net.link.ether.bridge_cfg=hme0,hme1 net.link.ether.bridge_cfg: -> hme0,hme1 test60# Dec 1 09:57:03 test60 kernel: hme0: promiscuous mode enabled Dec 1 09:57:03 test60 kernel: hme1: promiscuous mode enabled test60# panic: trap: memory address not aligned cpuid = 0; syncing disks, buffers remaining... 206 206 206 206 206 206 206 206 206 206 206 206 206 206 206 206 206 206 206 206 giving up on 179 buffers Uptime: 15m22s Automatic reboot in 15 seconds - press a key on the console to abort The panic is consistent. I always get it within about 30 seconds of enabling bridging between multiple interfaces. The sysctl net.link.ether.bridge=1 doesn't seem to cause any problems. It's only when I do a sysctl net.link.ether.bridge_cfg=hme0,hme1 that I get the panic. Incidentally, the bridging appears to work for until the machine panics. I would be willing to debug if someone will help me. Any suggestions or volunteers to help me debug? Thanks, <> Jim PS: Here are the bootup messages for the machine (in case it helps): Sun Ultra 60 UPA/PCI (UltraSPARC-II 360MHz), No Keyboard OpenBoot 3.11, 2048 MB memory installed, Serial #10151570. Ethernet address 8:0:20:9a:e6:92, Host ID: 809ae692. Rebooting with command: boot /pci@1f,4000/scsi@3/disk@1,0:a Boot device: /pci@1f,4000/scsi@3/disk@1,0:a File and args: >> FreeBSD/sparc64 boot block Boot path: /pci@1f,4000/scsi@3/disk@1,0:a Boot loader: /boot/loader Console: OpenFirmware console FreeBSD/sparc64 bootstrap loader, Revision 1.0 (root@sparkle.attlabs.net, Thu Jun 5 00:18:44 GMT 2003) bootpath="/pci@1f,4000/scsi@3/disk@1,0:a" Loading /boot/defaults/loader.conf /boot/kernel/kernel data=0x34c208+0x4bd18 syms=[0x8+0x537f0+0x8+0x404f1] Hit [Enter] to boot immediately, or any other key for command prompt. Booting [/boot/kernel/kernel]... nothing to autoload yet. jumping to kernel entry at 0xc0040000. msgbuf stray vector interrupt 2029 cksum mismatch (read 82a44, calc 83e93) Copyright (c) 1992-2003 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 5.1-RELEASE #2: Wed Nov 26 19:08:45 EST 2003 root@test60.mitry.us.eds.com:/usr/obj/usr/src/sys/MYKERNEL Preloaded elf kernel "/boot/kernel/kernel" at 0xc042e000. Timecounter "tick" frequency 360000625 Hz real memory = 2121293824 (2023 MB) avail memory = 2048688128 (1953 MB) cpu0: Sun Microsystems UltraSparc-II Processor (360.00 MHz CPU) nexus0: pcib0: on nexus0 pcib0: Psycho, impl 0, version 4, ign 0x7c0, bus B initialializing counter-timer Timecounter "counter-timer" frequency 1000000 Hz DVMA map: 0xfc000000 to 0xffffffff pci0: on pcib0 ebus0: revision 0x01 ebus0: mem 0x71000000-0x717fffff,0x70000000-0x70ffffff at device 1.0 on pci0 ebus0: addr 0x140072f000-0x140072f003,0x140072c000-0x140072c003,0x140072a000-0x140072a00 3,0x1400728000-0x1400728003,0x1400726000-0x1400726003 (no driver attached) ebus0: addr 0x1400724000-0x1400724003 (no driver attached) ebus0: addr 0x1400504000-0x1400504002 (no driver attached) ebus0: addr 0x1400500000-0x1400500007 (no driver attached) sab0: addr 0x1400400000-0x140040007f irq 43 on ebus0 sabtty0: on sab0 sabtty0: console 9600,8,n,1,- sabtty1: on sab0 ebus0: addr 0x14003083f8-0x14003083ff irq 41 (no driver attached) ebus0: addr 0x14003062f8-0x14003062ff irq 42 (no driver attached) ebus0: addr 0x1400700000-0x140070000f,0x1400300398-0x1400300399,0x14003043bc-0x14003043c b irq 34 (no driver attached) ebus0: addr 0x1400720000-0x1400720003,0x1400706000-0x140070600f,0x14003023f0-0x14003023f 7 irq 39 (no driver attached) eeprom0: addr 0x1400000000-0x1400001fff on ebus0 eeprom0: model mk48t59 eeprom0: hostid 809ae692 ebus0: addr 0x1000000000-0x10000fffff (no driver attached) ebus0: addr 0x1400722000-0x1400722003,0x1400704000-0x140070400f,0x1400702000-0x140070200 f,0x1400200000-0x14002000ff irq 36,35 (no driver attached) hme0: mem 0x8900000-0x8907fff irq 33 at device 1.1 on pci0 hme0: Ethernet address: 08:00:20:9a:e6:92 miibus0: on hme0 qsphy0: on miibus0 qsphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto sym0: <875> port 0x1000-0x10ff mem 0x8909000-0x8909fff,0x8908000-0x89080ff irq 32 at device 3.0 on pci0 sym0: No NVRAM, ID 7, Fast-20, SE, parity checking sym1: <875> port 0x1400-0x14ff mem 0x890b000-0x890bfff,0x890a000-0x890a0ff irq 38 at device 3.1 on pci0 sym1: No NVRAM, ID 7, Fast-20, SE, parity checking pcib1: at device 5.0 on pci0 pci1: on pcib1 pci1: at device 0.0 (no driver attached) hme1: mem 0x2800000-0x2807fff irq 29 at device 0.1 on pci1 hme1: Ethernet address: 08:00:20:9a:e6:92 miibus1: on hme1 qsphy1: on miibus1 qsphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto pci1: at device 1.0 (no driver attached) hme2: mem 0x4800000-0x4807fff irq 30 at device 1.1 on pci1 hme2: Ethernet address: 08:00:20:9a:e6:92 miibus2: on hme2 qsphy2: on miibus2 qsphy2: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto pci1: at device 2.0 (no driver attached) hme3: mem 0x6800000-0x6807fff irq 31 at device 2.1 on pci1 hme3: Ethernet address: 08:00:20:9a:e6:92 miibus3: on hme3 qsphy3: on miibus3 qsphy3: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto pci1: at device 3.0 (no driver attached) hme4: mem 0x8800000-0x8807fff irq 28 at device 3.1 on pci1 hme4: Ethernet address: 08:00:20:9a:e6:92 miibus4: on hme4 qsphy4: on miibus4 qsphy4: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto pcib2: on nexus0 pcib2: Psycho, impl 0, version 4, ign 0x7c0, bus A pci2: on pcib2 nexus0: , type display (no driver attached) Timecounters tick every 10.000 msec BRIDGE 020214 loaded Waiting 15 seconds for SCSI devices to settle da0 at sym0 bus 0 target 0 lun 0 da0: Fixed Direct Access SCSI-2 device da0: 40.000MB/s transfers (20.000MHz, offset 16, 16bit), Tagged Queueing Enabled da0: 8637MB (17689267 512 byte sectors: 255H 63S/T 1101C) cd0 at sym0 bus 0 target 6 lun 0 cd0: Removable CD-ROM SCSI-2 device cd0: 10.000MB/s transfers (10.000MHz, offset 8) cd0: Attempt to query device size failed: NOT READY, Medium not present da1 at sym0 bus 0 target 1 lun 0 da1: Fixed Direct Access SCSI-2 device da1: 40.000MB/s transfers (20.000MHz, offset 15, 16bit), Tagged Queueing Enabled da1: 4094MB (8385121 512 byte sectors: 255H 63S/T 521C) Mounting root from ufs:/dev/da1a WARNING: / was not properly dismounted Loading configuration files. Entropy harvesting: interrupts ethernet point_to_point. swapon: adding /dev/da1b as swap device Starting file system checks: /dev/da1a: 811 files, 33464 used, 93523 free (763 frags, 11595 blocks, 0.6% fragmentation) /dev/da1e: DEFER FOR BACKGROUND CHECKING /dev/da1f: DEFER FOR BACKGROUND CHECKING /dev/da1d: DEFER FOR BACKGROUND CHECKING WARNING: /tmp was not properly dismounted WARNING: /usr was not properly dismounted WARNING: /var was not properly dismounted Setting hostname: test60.mitry.us.eds.com. hme0: flags=8843 mtu 1500 inet 130.175.158.208 netmask 0xffffff00 broadcast 130.175.158.255 inet6 fe80::a00:20ff:fe9a:e692%hme0 prefixlen 64 tentative scopeid 0x1 ether 08:00:20:9a:e6:92 media: Ethernet autoselect (100baseTX) status: active lo0: flags=8049 mtu 16384 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x6 inet 127.0.0.1 netmask 0xff000000 add net default: gateway 130.175.158.1 Additional routing options:. hw.bus.devctl_disable: 0 -> 1 Mounting NFS file systems:. Starting syslogd. Dec 1 09:59:50 test60 syslogd: kernel boot file is /boot/kernel/kernel ELF ldconfig path: /usr/lib /usr/lib/compat /usr/local/lib Starting local daemons:. Updating motd. Starting sshd. Starting sendmail. Initial sparc64 initialization:. Additional ABI support:. Starting cron. Local package initialization:. Additional TCP options:. Starting background file system checks in 60 seconds. Mon Dec 1 09:59:56 EST 2003 FreeBSD/sparc64 (test60.mydom.dom.com) (ttya) login: