Date: Sun, 30 Mar 2008 15:20:02 GMT From: Peter Much <pmc@citylink.dinoex.sub.org> To: freebsd-bugs@FreeBSD.org Subject: Re: kern/122126: [ed] [panic] panic when using WD-8013 with ed(4) Message-ID: <200803301520.m2UFK2T3054016@freefall.freebsd.org>
index | next in thread | raw e-mail
The following reply was made to PR kern/122126; it has been noted by GNATS.
From: Peter Much <pmc@citylink.dinoex.sub.org>
To: bug-followup@FreeBSD.org
Cc:
Subject: Re: kern/122126: [ed] [panic] panic when using WD-8013 with ed(4)
Date: Sun, 30 Mar 2008 16:41:41 +0200
! please show us the panic and a backtrace. Also please include the
kernel
! config modifications you're using (a diff would be fine).
Here is the panic and backtrace:
>Fatal trap 12: page fault while in kernel mode
>fault virtual address = 0x30c00008
>fault code = supervisor read, page not present
>instruction pointer = 0x20:0xc052f98c
>stack pointer = 0x28:0xcbfe1cf8
>frame pointer = 0x28:0xcbfe1d0c
>code segment = base 0x0, limit 0xfffff, type 0x1b
> = DPL 0, pres 1, def32 1, gran 1
>processor eflags = interrupt enabled, resume, IOPL = 0
>current process = 30 (irq11: ed0)
>trap number = 12
>panic: page fault
>Uptime: 4m31s
>Cannot dump. No dump device defined.
>Automatic reboot in 3600 seconds - press a key on the console to
abort
>KDB: enter: manual escape to debugger
>[thread pid 30 tid 100035]
>Stopped at kdb_enter+0x2c: leave
>db> bt
>Tracing pid 30 tid 100035 td 0xc2180480
>kdb_enter(c0780f9a,28,28,1,c0828880,...) at kdb_enter+0x2c
>scgetc(c0815780,1,c07fd760,4,c2146ac0,...) at scgetc+0x302
>sccngetch(c07c57c0,8c84,cbfe1bdc,c0546e48,186a0,...) at
sccngetch+0xae
>cncheckc(186a0,c2167000,cbfe1c14,c05469ae,0,...) at cncheckc+0x37
>shutdown_panic(0,104,c217628c,c216700c,c23e938c,...) at
shutdown_panic+0x3c
>boot(104,0,cbfe1cb8,c,cbfe1c5c,...) at boot+0x316
>panic(c074f3cc,c07844e5,30c00008,0,fffff,...) at panic+0xb8
>trap_fatal(c2180480,c07f63e0,30c00000,0,cbfe1cb8,...) at
trap_fatal+0x225
>trap_pfault(30c00008) at trap_pfault+0x197
>trap(c2180008,28,78310028,4,c2176780,...) at trap+0x329
>calltrap() at calltrap+0x5
>--- trap 0xc, eip = 0xc052f98c, esp = 0xcbfe1cf8, ebp = 0xcbfe1d0c
---
>ithread_loop(c22bf500,cbfe1d38,c22bf500,c052f874,...) at
ithread_loop+0x118
>fork_exit(c052f874,c22bf500,cbfe1d38) at fork_exit + 0x4f
>fork_trampoline() at fork_trampoline + 0x8
>--- trap 0x1, eip = 0, esp = 0xcbfe1d6c, ebp = 0 ---
Now for a config diff, the problem is that my config is inherited
(since RELEASE_2.1.0 - as the whole machine is just growing and
never full replaced) - it isn't similar in sequence to today's
GENERIC.
And as I mentioned, I have tried to boot GENERIC and there the panic
does happen equally.
I didn't send the PR from GENERIC, because I essentially consider
it harmful to boot GENERIC to anywhere beyond singleuser; and anyway
it is impossible to get debugging information from GENERIC since
in case of a panic it overfills the screen and then just freezes
and waits for a hard powercycle.
This is what remains on the screen in that case:
>frame pointer = 0x28:0xcbfe2cec
>code segment = base 0x0, limit 0xfffff, type 0x1b
> = DPL 0, pres 1, def32 1, gran 1
>processor eflags = interrupt enabled, resume, IOPL = 0
>current process = 30 (irq11: ed0)
>trap number = 12
>panic: page fault
>Uptime: 8m15s
>kernel trap 12 with interrupts disabled
>
>
>Fatal trap 12: page fault while in kernel mode
>fault virtual address = 0x7010
>fault code = supervisor read, page not present
>instruction pointer = 0x20:0xc06b15ed
>stack pointer = 0x28:0xcbfe27d0
>frame pointer = 0x28:0xcbfe27d8
>code segment = base 0x0, limit 0xfffff, type 0x1b
> = DPL 0, pres 1, def32 1, gran 1
>processor eflags = resume, IOPL = 0
>current process = 30 (irq11: ed0)
>trap number = 12
>panic: page fault
>Uptime: 8m16s
Anyway, here is some sorted diff between GENERIC and my custom
kernel:
--- GENERIC 2008-03-30 04:35:06.000000000 +0200
+++ E1R63V1 2008-03-30 04:35:16.000000000 +0200
-cpu I486_CPU
-cpu I586_CPU
-device aac # Adaptec FSA RAID
-device aacp # SCSI passthrough for aac (requires CAM)
-device adv # Advansys SCSI adapters
-device adw # Advansys wide SCSI adapters
+device "i4b" # Layer 4
+device "i4bctl" # Userland control
+device "i4bing" # netgraph interface
+device "i4bipr" # IP over raw HDLC
+device "i4bq921" # Layer 2
+device "i4bq931" # Layer 3
+device "i4brbch" # raw ChB access
+device "i4btel" # telephony
+device "i4btrc" # Userland tracing
+device adv # Advansys
-device aha # Adaptec 154x SCSI adapters
-device ahb # EISA AHA1742 family
-device ahc # AHA2940 and onboard AIC7xxx devices
-device ahd # AHA39320/29320 and onboard AIC79xx devices
-device aic # Adaptec 15[012]x SCSI adapters, AIC-6[23]60.
-device amd # AMD 53C974 (Tekram DC-390(T))
-device amr # AMI MegaRAID
-device an # Aironet 4500/4800 802.11 wireless NICs.
-device apic # I/O APIC
-device arcmsr # Areca SATA II RAID
-device asr # DPT SmartRAID V, VI and Adaptec SCSI RAID
+device apic # I/O APIC
-device atapifd # ATAPI floppy drives
-device atapist # ATAPI tape drives
-device ataraid # ATA RAID drives
-device ath # Atheros pci/cardbus NIC's
-device ath_hal # Atheros HAL (Hardware Access Layer)
-device ath_rate_sample # SampleRate tx rate control for ath
-device aue # ADMtek USB Ethernet
-device awi # BayStack 660 and others
-device axe # ASIX Electronics USB Ethernet
-device bce # Broadcom BCM5706/BCM5708 Gigabit Ethernet
-device bfe # Broadcom BCM440x 10/100 Ethernet
-device bge # Broadcom BCM570xx Gigabit Ethernet
-device bt # Buslogic/Mylex MultiMaster SCSI adapters
-device cardbus # CardBus (32-bit) bus
-device cbb # cardbus (yenta) bridge
-device cdce # Generic USB over Ethernet
-device ciss # Compaq Smart RAID 5*
-device cs # Crystal Semiconductor CS89x0 NIC
-device cue # CATC USB Ethernet
-device dc # DEC/Intel 21143 and various workalikes
-device dpt # DPT Smartcache III, IV - See NOTES for options
-device eisa
-device em # Intel PRO/1000 adapter Gigabit Ethernet Card
-device ep # Etherlink III based cards
-device ex # Intel EtherExpress Pro/10 and Pro/10+
-device fe # Fujitsu MB8696x based cards
-device firewire # FireWire bus code
-device fwe # Ethernet over FireWire (non-standard!)
-device fxp # Intel EtherExpress PRO/100B (82557, 82558)
+device fxp # Compaq dual NC3134
-device hptmv # Highpoint RocketRAID 182x
-device hptrr # Highpoint RocketRAID 17xx, 22xx, 23xx, 25xx
-device ida # Compaq Smart RAID
-device ie # EtherExpress 8/16, 3C507, StarLAN 10 etc.
-device iir # Intel Integrated RAID
-device ips # IBM (Adaptec) ServeRAID
+device io # I/O device
+device isa
+device isic # Chipset
-device ixgb # Intel PRO/10GbE Ethernet Card
-device kbdmux # keyboard multiplexer
-device kue # Kawasaki LSI USB Ethernet
-device lge # Level 1 LXT1001 gigabit Ethernet
-device lnc # NE2100, NE32-VL Lance Ethernet cards
-device mfi # LSI MegaRAID SAS
+device mem # Memory and kernel memory devices
-device mlx # Mylex DAC960 family
-device mly # Mylex AcceleRAID/eXtremeRAID
-device mpt # LSI-Logic MPT-Fusion
-device msk # Marvell/SysKonnect Yukon II Gigabit Ethernet
-device ncv # NCR 53C500
-device nge # NatSemi DP83820 gigabit Ethernet
-device nsp # Workbit Ninja SCSI-3
-device nve # nVidia nForce MCP on-board Ethernet Networking
+device nmdm # null modem pair
+device npx
-device pccard # PC Card (16-bit) bus
-device pcn # AMD Am79C97x PCI 10/100(precedence over 'lnc')
-device psm # PS/2 mouse
-device pst # Promise Supertrak SX6000
-device ral # Ralink Technology RT2500 wireless NICs.
-device re # RealTek 8139C+/8169/8169S/8110S
-device rr232x # Highpoint RocketRAID 232x
-device rue # RealTek RTL8150 USB Ethernet
-device sbp # SCSI over FireWire (Requires scbus and da)
-device sf # Adaptec AIC-6915 (``Starfire'')
-device sis # Silicon Integrated Systems SiS 900/SiS 7016
-device sk # SysKonnect SK-984x & SK-982x gigabit Ethernet
-device sn # SMC's 9000 series of Ethernet chips
-device splash # Splash screen and screen saver support
-device ste # Sundance ST201 (D-Link DFE-550TX)
-device stg # TMC 18C30/18C50
-device stge # Sundance/Tamarack TC9021 gigabit Ethernet
-device ti # Alteon Networks Tigon I/II gigabit Ethernet
-device tl # Texas Instruments ThunderLAN
-device trm # Tekram DC395U/UW/F DC315U adapters
-device twa # 3ware 9000 series PATA/SATA RAID
-device twe # 3ware ATA RAID
-device tx # SMC EtherPower II (83c170 ``EPIC'')
-device txp # 3Com 3cR990 (``Typhoon'')
+device ucom # prereq fuer uplcom
-device ural # Ralink Technology RT2500USB wireless NICs
+device uplcom # Digitus/Prolific USB-to-serial-adapt.
-device vge # VIA VT612x gigabit Ethernet
-device vr # VIA Rhine, Rhine II
-device vx # 3Com 3c590, 3c595 (``Vortex'')
-device wb # Winbond W89C840F
-device wi # WaveLAN/Intersil/Symbol 802.11 wireless NICs.
-device wlan # 802.11 support
-device wlan_ccmp # 802.11 CCMP support
-device wlan_tkip # 802.11 TKIP support
-device wlan_wep # 802.11 WEP support
-device xe # Xircom pccard Ethernet
-ident GENERIC
+ident E1R63V1
-makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols
+options ACCEPT_FILTER_DATA
+options ACCEPT_FILTER_HTTP
-options ADAPTIVE_GIANT # Giant mutex is adaptive.
-options AHC_REG_PRETTY_PRINT # Print register bitfields in debug
-options AHD_REG_PRETTY_PRINT # Print register bitfields in debug
-options ATA_STATIC_ID # Static device numbering
+options AUTO_EOI_1
+options COMPAT_AOUT
+options COMPAT_LINUX
+options DDB
+options DUMMYNET
+options INCLUDE_CONFIG_FILE
+options IPDIVERT
+options IPFIREWALL
+options IPFIREWALL_FORWARD
+options IPR_LOG=32
+options IPR_VJ
+options IPSEC
+options IPSEC_ESP
+options KDB
+options KDB_UNATTENDED
+options LINPROCFS
+options LINSYSFS
-options MD_ROOT # MD is a potential root device
+options MSGBUF_SIZE=61440 # viele gvinum und ipfw Zeilen!
+options NETGRAPH
+options NETGRAPH_ETHER
+options NETGRAPH_PPPOE
+options NETGRAPH_SOCKET
+options NI4BING=2
+options NI4BIPR=2
+options NI4BRBCH=2
+options NI4BTEL=2
+options NI4BTRC=2
-options NFS_ROOT # NFS usable as /, requires NFSCLIENT
+options NULLFS # NULL filesystem
+options PANIC_REBOOT_WAIT_TIME=3600
-options PREEMPTION # Enable kernel thread preemption
+options PREEMPTION
-options SCSI_DELAY=5000 # Delay (in ms) before probing SCSI
+options SCSI_DELAY=2000 # Delay (in ms) before probing SCSI
+options SW_WATCHDOG
+options TEL_S0_16_3
Further, here are the modifications in /boot:
/boot/loader.conf:
>loader_logo="beastie"
>geom_vinum_load="YES"
/boot/devices_hints:
>hint.ed.0.at="isa"
>hint.ed.0.disabled="0"
>hint.ed.0.port="0x300"
>hint.ed.0.irq="11"
>hint.ed.0.maddr="0xcc000"
>hint.isic.0.at="isa"
>hint.isic.0.port="0xd80"
>hint.isic.0.irq="12"
>hint.isic.0.flags="3"
I should also mention that I already have done these steps:
- reboot the old OS version and check if it still works there,
to rule out a sudden hw failure.
- try "minimal config": remove all add-on hardware except the
failing part.
The board itself is an ASUS P2B, and the bootlog can be sent to
interested investigators, but will not be published, for security
reasons.
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200803301520.m2UFK2T3054016>
