Panic with FreeBSD 5.1 on Ultra 60 with hme, qfe, and bridging en abled

Small, Jim jim.small at eds.com
Mon Dec 1 07:11:51 PST 2003


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 at 1f,4000/scsi at 3/disk at 1,0:a           
Boot device: /pci at 1f,4000/scsi at 3/disk at 1,0:a  File and args: 
 
>> FreeBSD/sparc64 boot block
   Boot path:   /pci at 1f,4000/scsi at 3/disk at 1,0:a
   Boot loader: /boot/loader
Console: OpenFirmware console

FreeBSD/sparc64 bootstrap loader, Revision 1.0
(root at sparkle.attlabs.net, Thu Jun  5 00:18:44 GMT 2003)
bootpath="/pci at 1f,4000/scsi at 3/disk at 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 at 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: <OpenFirmware Nexus device>
pcib0: <U2P UPA-PCI bridge> 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: <PCI bus> on pcib0
ebus0: revision 0x01
ebus0: <PCI-EBus2 bridge> mem 0x71000000-0x717fffff,0x70000000-0x70ffffff at
device 1.0 on pci0
ebus0: <auxio> addr
0x140072f000-0x140072f003,0x140072c000-0x140072c003,0x140072a000-0x140072a00
3,0x1400728000-0x1400728003,0x1400726000-0x1400726003 (no driver attached)
ebus0: <power> addr 0x1400724000-0x1400724003 (no driver attached)
ebus0: <SUNW,pll> addr 0x1400504000-0x1400504002 (no driver attached)
ebus0: <sc> addr 0x1400500000-0x1400500007 (no driver attached)
sab0: <Siemens SAB 82532 v3.2> addr 0x1400400000-0x140040007f irq 43 on
ebus0
sabtty0: <ttya> on sab0
sabtty0: console 9600,8,n,1,-
sabtty1: <ttyb> on sab0
ebus0: <su> addr 0x14003083f8-0x14003083ff irq 41 (no driver attached)
ebus0: <su> addr 0x14003062f8-0x14003062ff irq 42 (no driver attached)
ebus0: <ecpp> addr
0x1400700000-0x140070000f,0x1400300398-0x1400300399,0x14003043bc-0x14003043c
b irq 34 (no driver attached)
ebus0: <fdthree> addr
0x1400720000-0x1400720003,0x1400706000-0x140070600f,0x14003023f0-0x14003023f
7 irq 39 (no driver attached)
eeprom0: <EBus EEPROM/clock> addr 0x1400000000-0x1400001fff on ebus0
eeprom0: model mk48t59
eeprom0: hostid 809ae692
ebus0: <flashprom> addr 0x1000000000-0x10000fffff (no driver attached)
ebus0: <SUNW,CS4231> addr
0x1400722000-0x1400722003,0x1400704000-0x140070400f,0x1400702000-0x140070200
f,0x1400200000-0x14002000ff irq 36,35 (no driver attached)
hme0: <Sun HME 10/100 Ethernet> mem 0x8900000-0x8907fff irq 33 at device 1.1
on pci0
hme0: Ethernet address: 08:00:20:9a:e6:92
miibus0: <MII bus> on hme0
qsphy0: <QS6612 10/100 media interface> 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: <PCI-PCI bridge> at device 5.0 on pci0
pci1: <PCI bus> on pcib1
pci1: <bridge, PCI-unknown> at device 0.0 (no driver attached)
hme1: <Sun HME 10/100 Ethernet> mem 0x2800000-0x2807fff irq 29 at device 0.1
on pci1
hme1: Ethernet address: 08:00:20:9a:e6:92
miibus1: <MII bus> on hme1
qsphy1: <QS6612 10/100 media interface> on miibus1
qsphy1:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
pci1: <bridge, PCI-unknown> at device 1.0 (no driver attached)
hme2: <Sun HME 10/100 Ethernet> mem 0x4800000-0x4807fff irq 30 at device 1.1
on pci1
hme2: Ethernet address: 08:00:20:9a:e6:92
miibus2: <MII bus> on hme2
qsphy2: <QS6612 10/100 media interface> on miibus2
qsphy2:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
pci1: <bridge, PCI-unknown> at device 2.0 (no driver attached)
hme3: <Sun HME 10/100 Ethernet> mem 0x6800000-0x6807fff irq 31 at device 2.1
on pci1
hme3: Ethernet address: 08:00:20:9a:e6:92
miibus3: <MII bus> on hme3
qsphy3: <QS6612 10/100 media interface> on miibus3
qsphy3:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
pci1: <bridge, PCI-unknown> at device 3.0 (no driver attached)
hme4: <Sun HME 10/100 Ethernet> mem 0x8800000-0x8807fff irq 28 at device 3.1
on pci1
hme4: Ethernet address: 08:00:20:9a:e6:92
miibus4: <MII bus> on hme4
qsphy4: <QS6612 10/100 media interface> on miibus4
qsphy4:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
pcib2: <U2P UPA-PCI bridge> on nexus0
pcib2: Psycho, impl 0, version 4, ign 0x7c0, bus A
pci2: <PCI bus> on pcib2
nexus0: <SUNW,afb>, 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: <FUJITSU MAB3091S SUN9.0G 1705> 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: <TOSHIBA XM5701TASUN12XCD 2395> 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: <IBM DDRS34560SUN4.2G S98E> 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<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> 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<UP,LOOPBACK,RUNNING,MULTICAST> 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:


More information about the freebsd-sparc64 mailing list