cvs commit: src/sys/dev/netif/sk if_sk.c

Pawel Biernacki kaktus at chaos.dragonflybsd.pl
Sun May 29 15:22:40 PDT 2005


> joerg       2005/05/28 14:02:04 PDT
>
> DragonFly src repository
>
>   Modified files:
>     sys/dev/netif/sk     if_sk.c 
>   Log:
>   Use ether_crc32_le and ether_crc32_be.
>   
>   Obtained-from: FreeBSD

after this commit i've get a nice kernel panic's while executing 
/etc/rc.d/netif start

skc0: <Marvell Gigabit Ethernet> port 0xc400-0xc4ff mem
0xfdf00000-0xfdf03fff irq 10 at device 10.0 on pci0
installed MI handler for int 10
skc0: Yukon Gigabit Ethernet 10/100/1000Base-T Adapter
sk0: <Marvell Semiconductor, Inc. Yukon> on skc0
miibus0: <MII bus> on sk0
e1000phy0: <Marvell Semiconductor 88E1000* gigabit PHY> on miibus0
e1000phy0:  1000baseTX-FDX, 100baseTX-FDX, 100baseTX, 10baseTX-FDX,
10baseTX, auto
sk0: MAC address: 00:11:2f:ce:eb:e8


# /etc/rc.d/netif start

Fatal trap 12: page fault while in kernel mode
fault virtual address   = 0xfc00000
fault code              = supervisor read, page not present
instructoin pointer     = 0x8:0xc0242784
stack pointer           = 0x10:0xd2c8d8dc
frame pointer           = 0x10:0xd2c8d8fc
code segment            = base 0x0, limit 0xfffff, type 0x16
                        = DPL 0, pres 1, def32 1, gran 1
processor eflags        = interrupt enabled, resume, IOPL = 0
current process         = 10 (ifconfig)
current thread          = pri 6
interrupt mask          = net
kernel: type 12 trap, code=0
Stopped at      sk_newbufx0x74: movl    PTmap(,%eax,4),%esi
db> trace
sk_newbuf(ccc79000,ccc7a9e8,0,ccc791e8,d0ec0000) at sk_newbuf+0x74
sk_init_rx_ring(ccc79000,624,0,d0ec0000,d0ec4000) at sk_init_rx_ring+0xc2
sk_init(ccc79000,c80282a8,c1835ea0,8020690c,ccc79000) at sk_init+0x475
ether_ioctl(ccc79000,8020690c,d1247d08,d2c8d9fc,660420) at ether_ioctl+0x64
sk_ioctl(ccc79000,8020690c,d124708,0,d1247dac) at sk_ioctl+0x57
in_ifinit(ccc79000,d1247d08,d2c8db50,0,d2c8da90) at in_ifinit+0xbc
in_control(d15e0ee0,8040691a,d2c8db40,ccc79000,c16dcf00) at in_control+0xa51
ifioctl(d15e0ee0,8040691a,d2c8db40,c16dcf00,c027cb37) at ifioctl+0x136
mapped_ioctl(3,8040691a,8091ea0,0,d2c8dd40) at mapped_ioctl+0x26e
ioctl(d2c8dc24,d2c8dd10,c,ccdcb0083) at ioctl+0x33
syscall2(2f,2f,2f,0,bfbffd7c) at syscall2+0x12f
Xint0x80_syscall() at Xint0x80_syscall()+0x2a
db>

-- 






More information about the Bugs mailing list