kern/121962: Kernel panics with device polling and
snd_emu10k1.ko enabled and network load
Volker
volker at vwsoft.com
Sun May 25 20:50:03 UTC 2008
The following reply was made to PR kern/121962; it has been noted by GNATS.
From: Volker <volker at vwsoft.com>
To: Dmitry Demidov <dima_bsd at inbox.lv>
Cc: freebsd-gnats-submit at freebsd.org
Subject: Re: kern/121962: Kernel panics with device polling and snd_emu10k1.ko
enabled and network load
Date: Sun, 25 May 2008 22:12:38 +0200
Dmitry,
On 05/25/08 09:58, Dmitry Demidov wrote:
>> Dmitry,
>>
>> I've just seen, you've enabled DEVICE_POLLING in kernel config. Can you
>> please try to remove that option and instead use `ifconfig em0 polling'?
>>
>> The use of 'option DEVICE_POLLING' is deprecated.
ouch... did I really write something that stupid? I took notice while
reading your reply.
Of course, you need to have DEVICE_POLLING in kernel, but the use of
sysctl kern.polling.enable is deprecated.
>
> Sorry, it did not works at all. Then option DEVICE_POLLING is removed from the
> kernel, I'm unabled to start polling mode.
>
> # ifconfig em0
> em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
> options=9b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM>
> ether 00:20:ed:11:11:11
> inet 7.8.2.5 netmask 0xffffe000 broadcast 255.255.255.255
> media: Ethernet autoselect (100baseTX <full-duplex>)
> status: active
>
> # ifconfig em0 polling
>
> # ifconfig em0
> em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
> options=9b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM>
> ether 00:20:ed:11:11:11
> inet 7.8.2.5 netmask 0xffffe000 broadcast 255.255.255.255
> media: Ethernet autoselect (100baseTX <full-duplex>)
> status: active
>
> # sysctl -a | grep pol
> kern.dcons.poll_hz: 100
> kern.sched.topology: 0
> debug.acpi.ec.polled: 0
>
Clearly because of my wrong hint. Please try the following:
include DEVICE_POLLING in your kernel config
make sure, you don't use kern.polling.enable
enable polling for your em0 device by using `ifconfig em0 polling'.
Can you please try that?
Sorry for my misinformation. Working on too much things in parallel.
Volker
More information about the freebsd-bugs
mailing list