amd64/153609: kernel: Fatal trap 12: page fault while in kernel mode
Igor
igor.polovykh at gmail.com
Sat Jan 1 22:20:13 UTC 2011
>Number: 153609
>Category: amd64
>Synopsis: kernel: Fatal trap 12: page fault while in kernel mode
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-amd64
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Sat Jan 01 22:20:13 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator: Igor
>Release: FreeBSD 8.2-PRERELEASE #9: Fri Dec 31
>Organization:
home
>Environment:
FreeBSD bvgm.org 8.2-PRERELEASE FreeBSD 8.2-PRERELEASE #9: Fri Dec 31 17:18:52 MSK 2010 root at bvgm.org:/usr/src/sys/amd64/compile/BVGM amd64
>Description:
/etc/rc.conf
..
wlans_zyd0="wlan0"
ifconfig_wlan0="inet 172.16.0.1 netmask 255.255.255.0 metric 0"
..
kernel config
..
# Wireless NIC cards
device wlan # 802.11 support
options IEEE80211_DEBUG # enable debug msgs
options IEEE80211_AMPDU_AGE # age frames in AMPDU reorder q's
options IEEE80211_SUPPORT_MESH # enable 802.11s draft support
device wlan_wep # 802.11 WEP support
device wlan_ccmp # 802.11 CCMP support
device wlan_tkip # 802.11 TKIP support
device wlan_amrr # AMRR transmit rate control algorithm
...
device usb # USB Bus (required)
device uhci # UHCI PCI->USB interface
device ohci # OHCI PCI->USB interface
device ehci # EHCI PCI->USB interface (USB 2.0)
...
While booting:
Jan 2 00:21:51 bvgm kernel: wlan0: Ethernet address: 00:02:72:52:2a:47
Jan 2 00:21:51 bvgm kernel: zyd0: HMAC ZD1211B, FW 47.25, RF AL2230 S0, PA0 LED 0 BE0 NP1 Gain1 F0
Jan 2 00:21:51 bvgm kernel:
Jan 2 00:21:51 bvgm kernel:
Jan 2 00:21:51 bvgm kernel: Fatal trap 12: page fault while in kernel mode
Jan 2 00:21:51 bvgm kernel: cpuid = 0; apic id = 00
Jan 2 00:21:51 bvgm kernel: fault virtual address = 0x0
Jan 2 00:21:51 bvgm kernel: fault code = supervisor read data, page not present
Jan 2 00:21:51 bvgm kernel: instruction pointer = 0x20:0xffffffff80475798
Jan 2 00:21:51 bvgm kernel: stack pointer = 0x28:0xffffff8120cb8a80
Jan 2 00:21:51 bvgm kernel: frame pointer = 0x28:0xffffff8120cb8ac0
Jan 2 00:21:51 bvgm kernel: code segment = base 0x0, limit 0xfffff, type 0x1b
Jan 2 00:21:51 bvgm kernel: = DPL 0, pres 1, long 1, def32 0, gran 1
Jan 2 00:21:51 bvgm kernel: processor eflags = interrupt enabled, resume, IOPL = 0
Jan 2 00:21:51 bvgm kernel: current process = 15 (usbus4)
>How-To-Repeat:
1. Get somewhere ZyDAS USB2.0 WLAN, rev 2.00/48.10, addr 2
2. put folowwing text in the rc.conf
/etc/rc.conf
..
wlans_zyd0="wlan0"
ifconfig_wlan0="inet 172.16.0.1 netmask 255.255.255.0 metric 0"
..
2. Insert device in the usb port.
3. We have crashed OS
4. If i try to reboot
Jan 2 00:55:22 bvgm kernel: ugen4.2: <ZyDAS> at usbus4
Jan 2 00:55:22 bvgm kernel: zyd0: <ZyDAS USB2.0 WLAN, rev 2.00/48.10, addr 2> on usbus4
Jan 2 00:55:22 bvgm kernel: wlan0: Ethernet address: 00:02:72:52:2a:47
Jan 2 00:55:22 bvgm kernel: zyd0: HMAC ZD1211B, FW 47.25, RF AL2230 S0, PA0 LED 0 BE0 NP1 Gain1 F0
Jan 2 00:57:25 bvgm syslogd: kernel boot file is /boot/kernel/kernel
Jan 2 00:57:25 bvgm kernel:
Jan 2 00:57:25 bvgm kernel:
Jan 2 00:57:25 bvgm kernel: Fatal trap 12: page fault while in kernel mode
Jan 2 00:57:25 bvgm kernel: cpuid = 0; apic id = 00
Jan 2 00:57:25 bvgm kernel: fault virtual address = 0x0
Jan 2 00:57:25 bvgm kernel: fault code = supervisor read data, page not present
Jan 2 00:57:25 bvgm kernel: instruction pointer = 0x20:0xffffffff80475798
Jan 2 00:57:25 bvgm kernel: stack pointer = 0x28:0xffffff8120cb8a80
Jan 2 00:57:25 bvgm kernel: frame pointer = 0x28:0xffffff8120cb8ac0
Jan 2 00:57:25 bvgm kernel: code segment = base 0x0, limit 0xfffff, type 0x1b
Jan 2 00:57:25 bvgm kernel: = DPL 0, pres 1, long 1, def32 0, gran 1
Jan 2 00:57:25 bvgm kernel: processor eflags = interrupt enabled, resume, IOPL = 0
Jan 2 00:57:25 bvgm kernel: current process = 15 (usbus4)
J
If i remove string [wlans_zyd0="wlan0"] from rc.conf system boots properly but device is not work at all.
>Fix:
driver for zyd0 somewhere works improperly. Null ref error
I know that Zyxel devices are ^%$&^*&%$$#$#!!!
Thank you very much if you really fix this bug!
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-amd64
mailing list