kern/106801: Kernel panic when configuring rl(4) device

V. Hari thisemailaddress at gmail.com
Fri Dec 15 20:00:22 PST 2006


>Number:         106801
>Category:       kern
>Synopsis:       Kernel panic when configuring rl(4) device
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Dec 16 04:00:17 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     V. Hari
>Release:        -CURRENT
>Organization:
N/A
>Environment:
FreeBSD razor.lan.tun0.net 7.0-CURRENT FreeBSD 7.0-CURRENT #1: Wed Dec 13 21:11:15 CST 2006     root at razor.lan.tun0.net:/usr/obj/usr/src/sys/RAZOR  sparc64
>Description:
Using ifconfig or dhclient to configure the rl device on FreeBSD 7.0 current sparc64 causes the following kernel panic. 

The system had no problems with the FreeBSD 6.1 release. So, the hardware is stable. Additionally, there are no problems using other network devices such as ath and gem (both of which are also present). 

I reproduced this problem with the default GENERIC kernel as well as my custom kernel (which is just a GENERIC + pf* + ALTQ).

I'm not sure if the following debug  information is useful; however, here it is:

# dhclient rl0
panic: trap: memory address not aligned
cpuid = 0
KDB: enter: panic
[thread pid 1322 tid 100077]
Stopped at      kdb_enter+0x68: ta          %xcc,1
db> x
kdb_enter+0x68: 91d03001
db> trace
-- memory address not aligned at sfar=0xfffff800008c5b23 sfsr=0x40029 %o7=0x03f1a3c --
rl_init_locked() at rl_init_locked+0xc0
rl_ioctl() at rl_ioctl+0xb8
ifhwioctl() + ifhwioctl+0x4c0
ifioctl() + ifioctl+0x15c
soo_ioctl() at soo_ioctl+0x3b0
kern_ioctl() at kern_ioctl+0x41c
ioctl() at ioctl+0x18c
syscall() at syscall+0x2f0
-- syscall (54, FreeBSD ELF64, ioctl) %o7=0x03f1a3c --
userland at 0x405584e8
pc 0x405584e8, sp 0x7fdffffdac1
pc 0x103578, sp 0x7fdffffdb81
pc 0x101c58, sp 0x7fdffffe451
pc 0x4021dcb4, sp 0x7fdffffe511
done
db> show registers
g0          0xe008cbb0
g1          0xc066ce90  buf.1
g2          0xc066cc00  pmc_sx+0x28
g3          0xfffff8000040ff8
g4                 0xa
g5              0x16d8  fpu_fault_size+0x1524
g6          0xe008d980
g7          0xc07316f8  pcpu0+0x1a98
i0                0x12
i1          0xc05c2550
i2          0xe008cae0
i3                 0xa
i4          0xe008cbb0
i5                0x20
i6          0xe008c261
i7          0xc028d560  kdb_enter+0x60
tnpc        0xc028d56c  kdb_enter+0x6c
tstate      0xc028d568  kdb_enter+0x68
kdb_enter+0x68: ta              %xcc, 1
db> show buffer 0xc066ce90
buf at 0xc066ce90
b_flags = 0x0
b_error = 0, b_bufsize = 0, b_bcount = 7885647337108890724, b_resid = 0
b_bufobj = (0x747261703a206d65), bdata = 0x20616c69676e6564, b_blkno = 0
db> reboot

If I can be of any assistance let me know. However, for the sake of utilizing the RealTek cards, I may switch back to 6.1 in a few days.
>How-To-Repeat:
Attempt to configure the NIC -- ifconfig or dhclient.
>Fix:
N/A
>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list