On Mon, Jul 25, 2005 at 01:28:25PM +0800, Xin LI wrote:
> Dear folks,
> 
> Here is a preliminary patch that brings em(4) in RELENG_5 in sync
> with RELENG_6 and HEAD (minus the softc changes):
> 
>       http://people.freebsd.org/~delphij/MFC-RELENG_5/patch-em

Hi,

I've just been experiencing problems on a amd64 FreeBSD 5.4-R box. It's a Dell
PowerEdge 1850 box with an Intel Xeon 3.2GHz CPU, EM64T, 1GB of RAM and Intel
Gigabit NICs (em driver). The last two nights it has crashed with a kernel
panic at almost exactly the same time, right after starting a big bacula
backup job. Attached to this email there's a kernel backtrace. The box has
been running fine for about two months, and the only change I've made to it
right before it started crashing was moving one of the NICs (em0) to a gigabit
switch and adding a rather large client to bacula. I've also attached the last
dmesg output.

Do you think this patch to the em driver would help my problem? From the
backtrace I can see a reference to "em_igp_cable_length_table", and from the
patch I can see you are making changes to "em_igp_cable_length", so I'm hoping
this problem has been addressed before.

with regards,

-- 
Morten A. Middelthon

Vheech is vurse-a: ignurunce-a oor epethy?  Vhu knoos?  Vhu ceres?
This .sig has been encheferized - http://flipp.net/bork/
kepler:/sys/amd64/compile/kepler# kgdb -q kernel.debug /var/crash/vmcore.0
[GDB will not be able to debug user-mode threads: /usr/lib/libthread_db.so:
Undefined symbol "ps_pglobal_lookup"]
#0  0xffffffff8021d30d in doadump ()
(kgdb) bt
#0  0xffffffff8021d30d in doadump ()
#1  0xffffffff8021d334 in doadump ()
#2  0x0000000000000000 in ?? ()
#3  0xffffffff8021d907 in boot ()
#4  0x0000000000000000 in ?? ()
#5  0xffffffff803aa5df in em_igp_cable_length_table ()
#6  0x0000000000000031 in ?? ()
#7  0x000000002f40570a in ?? ()
#8  0xffffff003da4f780 in ?? ()
#9  0xffffff003da4f780 in ?? ()
#10 0x0000000000000104 in ?? ()
#11 0x0000000000000001 in ?? ()
#12 0xffffff003da4f780 in ?? ()
#13 0xffffff003177a000 in ?? ()
#14 0xffffff003177a000 in ?? ()
#15 0xffffffff8021e13f in panic ()
#16 0x0000003000000010 in ?? ()
#17 0xffffffffa5398850 in ?? ()
#18 0xffffffffa5398780 in ?? ()
#19 0xffffffffa5398850 in ?? ()
#20 0xffffffffa5398790 in ?? ()
#21 0xffffffff803c61b2 in __func__.1 ()
#22 0x000000000000000c in ?? ()
#23 0x000000000007fe00 in ?? ()
#24 0xffffffffa5398770 in ?? ()
#25 0x000000000000000a in ?? ()
#26 0xffffffffa5398770 in ?? ()
#27 0x000000000000000a in ?? ()
#28 0x0000003000000010 in ?? ()
#29 0xffffffffa53988a0 in ?? ()
#30 0xffffffffa53987e0 in ?? ()
#31 0x0000000000007a6c in ?? ()
#32 0x00007fffffe89ac8 in ?? ()
#33 0x000000000000000c in ?? ()
#34 0xffffff003da4f701 in ?? ()
#35 0x000000000000000c in ?? ()
#36 0x0000000000000058 in ?? ()
#37 0x0000000000000001 in ?? ()
#38 0x000000000058b604 in ?? ()
#39 0x0000000000000005 in ?? ()
#40 0x0000000000008010 in ?? ()
#41 0x0000000000575038 in ?? ()
#42 0x0000000000000010 in ?? ()
#43 0xffffff003da4f780 in ?? ()
#44 0x000000000000000c in ?? ()
#45 0xffffffff8035a85a in trap_fatal ()
#46 0x0000000000000000 in ?? ()
#47 0x00000000000fffff in ?? ()
#48 0x000000000000059b in ?? ()
#49 0x00007fffffe89ac8 in ?? ()
#50 0x000000000000000c in ?? ()
#51 0xffffff003da4f780 in ?? ()
#52 0x0000000000000000 in ?? ()
#53 0x0000000000000000 in ?? ()
#54 0x0000000000000000 in ?? ()
#55 0xffffffff8035ad52 in trap ()
#56 0x0000000000000000 in ?? ()
#57 0xffffff003da4f780 in ?? ()
#58 0x0000000000000000 in ?? ()
#59 0xffffff00145e2c80 in ?? ()
#60 0xffffff002d173c80 in ?? ()
#61 0x0000000000000000 in ?? ()
#62 0x0000000000000004 in ?? ()
#63 0xffffffff80348e3b in calltrap ()
#64 0x00000000000000b4 in ?? ()
#65 0xffffff00145e2c80 in ?? ()
#66 0xffffff003da4f780 in ?? ()
#67 0xffffffff803ba93b in pfacts ()
#68 0x0000000000000058 in ?? ()
#69 0xffffff002d173c80 in ?? ()
#70 0x0000000000000001 in ?? ()
#71 0xffffff003da4f780 in ?? ()
#72 0x0000000000000000 in ?? ()
#73 0x0000000000000000 in ?? ()
#74 0x0000000000000001 in ?? ()
#75 0xffffff00145e2c80 in ?? ()
#76 0xffffff002d173c80 in ?? ()
#77 0x0000000000000000 in ?? ()
#78 0x0000000000000004 in ?? ()
#79 0x000000000000000c in ?? ()
#80 0x0000000000000048 in ?? ()
#81 0x0000000000000004 in ?? ()
#82 0x0000000000000000 in ?? ()
#83 0xffffffff802441c3 in turnstile_wait ()
#84 0x0000000000000008 in ?? ()
#85 0x0000000000010093 in ?? ()
#86 0xffffffffa53989a0 in ?? ()
#87 0x0000000000000010 in ?? ()
#88 0x0000005800000246 in ?? ()
#89 0xffffffff8052faa8 in tcbinfo ()
#90 0xffffff00145e2c82 in ?? ()
#91 0xffffff003da4f780 in ?? ()
#92 0x0000000000000004 in ?? ()
#93 0xffffffff804f6490 in inetsw ()
#94 0xffffffffa5398b00 in ?? ()
#95 0xffffffff80213adf in _mtx_lock_sleep ()
#96 0x0000000000000000 in ?? ()
#97 0xffffff002e198678 in ?? ()
#98 0xffffff002e198678 in ?? ()
#99 0x0000000000000004 in ?? ()
#100 0xffffffff804f91c0 in tcp_sendspace ()
#101 0xffffffff802bfc77 in tcp_usr_rcvd ()
#102 0x0000000000000004 in ?? ()
#103 0xffffff002e198678 in ?? ()
#104 0x0000000000000000 in ?? ()
#105 0xffffffff8025f7cb in soreceive ()
#106 0x0000477f00000006 in ?? ()
#107 0x0000000000000001 in ?? ()
#108 0xffffffff804f6490 in inetsw ()
#109 0x000000008022a047 in ?? ()
#110 0x0000000000000000 in ?? ()
#111 0x0000000000000000 in ?? ()
#112 0x0000000000000000 in ?? ()
#113 0x0000000000000000 in ?? ()
#114 0x0000000000000000 in ?? ()
#115 0x0000000000000004 in ?? ()
#116 0xffffff003177a000 in ?? ()
#117 0xffffff002e198678 in ?? ()
#118 0xffffffffa5398b00 in ?? ()
#119 0x000000000000477f in ?? ()
#120 0xffffff003da4f780 in ?? ()
#121 0x0000000000000000 in ?? ()
#122 0xffffffffa5398b00 in ?? ()
#123 0xffffffff8024bec7 in soo_read ()
#124 0xffffff0037451000 in ?? ()
#125 0xffffffffa5398bc0 in ?? ()
#126 0xffffffff80244bf3 in dofileread ()
#127 0xffffffffa5398b20 in ?? ()
#128 0x0000000580228316 in ?? ()
#129 0x0000000000588e6c in ?? ()
#130 0x00000000000041d7 in ?? ()
#131 0xffffffffa5398af0 in ?? ()
#132 0xffffffff00000001 in ?? ()
#133 0x00000000000005a7 in ?? ()
#134 0x00000000000041d7 in ?? ()
#135 0x0000000000000000 in ?? ()
#136 0xffffff003da4f780 in ?? ()
#137 0x0000000000000000 in ?? ()
#138 0x0000000000000000 in ?? ()
#139 0xffffffffa5398bc0 in ?? ()
#140 0xffffff003da4f780 in ?? ()
#141 0xffffffff804e0f90 in sysent ()
#142 0x0000000000000003 in ?? ()
#143 0x0000000000000000 in ?? ()
#144 0xffffffff80244da7 in read ()
#145 0x0000000000000000 in ?? ()
#146 0xffffff0037451000 in ?? ()
#147 0xffffff003177a000 in ?? ()
#148 0xffffff003177a000 in ?? ()
#149 0xffffff003da4f780 in ?? ()
#150 0xffffffff8035b67c in syscall ()
#151 0x0000000000000006 in ?? ()
#152 0x0000000000000206 in ?? ()
#153 0x0000000300000000 in ?? ()
#154 0x00007fffffe89ad0 in ?? ()
#155 0x0000000000000005 in ?? ()
#156 0x00000000005888c4 in ?? ()
#157 0x000000000000477f in ?? ()
#158 0x000000000057a460 in ?? ()
#159 0x00000000000052cf in ?? ()
#160 0x00007fffffe89ac8 in ?? ()
#161 0xffffff003da4f780 in ?? ()
#162 0xffffffff8035aefc in trap ()
#163 0x000000003177a000 in ?? ()
#164 0x000000000000477f in ?? ()
#165 0x000000000057a400 in ?? ()
#166 0x00000000005888c4 in ?? ()
#167 0x0000000000000005 in ?? ()
#168 0x000000000000800b in ?? ()
#169 0x0000000000575038 in ?? ()
#170 0xffffffff80348f78 in Xfast_syscall ()
#171 0x0000000000000005 in ?? ()
#172 0x00000000005888c4 in ?? ()
#173 0x000000000000477f in ?? ()
#174 0x000000000057a460 in ?? ()
#175 0x00000000000052cf in ?? ()
#176 0x00007fffffe89ac8 in ?? ()
#177 0x0000000000000003 in ?? ()
#178 0x000000000000477f in ?? ()
#179 0x000000000057a400 in ?? ()
#180 0x0000000000000000 in ?? ()
#181 0x0000000000000000 in ?? ()
#182 0x00000000005888c4 in ?? ()
#183 0x0000000000000005 in ?? ()
#184 0x000000000000800b in ?? ()
#185 0x0000000000575038 in ?? ()
#186 0x0000000000000016 in ?? ()
#187 0x0000000000000000 in ?? ()
#188 0x000000000000012c in ?? ()
#189 0x0000000000000002 in ?? ()
#190 0x0000000800e346b8 in ?? ()
#191 0x000000000000002b in ?? ()
#192 0x0000000000000206 in ?? ()
#193 0x00007fffffe89ac8 in ?? ()
#194 0x0000000000000023 in ?? ()
#195 0x00007fffffffed08 in ?? ()
#196 0x0000000000000023 in ?? ()
#197 0x0000000000000000 in ?? ()
#198 0x0000000000000000 in ?? ()
#199 0x0000000000000000 in ?? ()
#200 0x0000000000000000 in ?? ()
#201 0x0000000000000000 in ?? ()
#202 0x0000000000000000 in ?? ()
#203 0x0000000000000000 in ?? ()
#204 0x0000000000000000 in ?? ()
#205 0x000000003da84000 in ?? ()
#206 0xffffff002e198790 in ?? ()
#207 0xffffff002e198730 in ?? ()
#208 0xffffff003da2d2a0 in ?? ()
#209 0xffffff0032d61730 in ?? ()
#210 0xffffff0032d61500 in ?? ()
#211 0xffffffffa5398938 in ?? ()
#212 0xffffff003da4f780 in ?? ()
#213 0xffffffff802323bc in sched_switch ()
#214 0x0000000000000002 in ?? ()
#215 0x0000000000561400 in ?? ()
#216 0x0000000000000000 in ?? ()
#217 0x0000002300000023 in ?? ()
#218 0x0000002300000023 in ?? ()
#219 0x0000000000000000 in ?? ()
#220 0x0000000000000000 in ?? ()
#221 0x0000000000000000 in ?? ()
#222 0x0000000000000000 in ?? ()
#223 0x0000000000000000 in ?? ()
#224 0x0000000000000000 in ?? ()
#225 0x000000000000037f in ?? ()
#226 0x0000000000000000 in ?? ()
#227 0x0000000000000000 in ?? ()
#228 0x0000ffff00001f80 in ?? ()
#229 0x0000000000000000 in ?? ()
#230 0x0000000000000000 in ?? ()
#231 0x0000000000000000 in ?? ()
#232 0x0000000000000000 in ?? ()
#233 0x0000000000000000 in ?? ()
#234 0x0000000000000000 in ?? ()
#235 0x0000000000000000 in ?? ()
#236 0x0000000000000000 in ?? ()
#237 0x0000000000000000 in ?? ()
#238 0x0000000000000000 in ?? ()
#239 0x0000000000000000 in ?? ()
#240 0x0000000000000000 in ?? ()
#241 0x0000000000000000 in ?? ()
#242 0x0000000000000000 in ?? ()
#243 0x0000000000000000 in ?? ()
#244 0x0000000000000000 in ?? ()
#245 0x0000000000000000 in ?? ()
#246 0x0000000000000000 in ?? ()
#247 0x0000000000000000 in ?? ()
#248 0x0000000000000000 in ?? ()
#249 0x0000000000000000 in ?? ()
#250 0x0000000000000000 in ?? ()
#251 0x0000000000000000 in ?? ()
#252 0x0000000000000000 in ?? ()
#253 0x0000000000000000 in ?? ()
#254 0x0000000000000000 in ?? ()
#255 0x0000000000000000 in ?? ()
#256 0x0000000000000000 in ?? ()
#257 0x0000000000000000 in ?? ()
#258 0x0000000000000000 in ?? ()
#259 0x0000000000000000 in ?? ()
#260 0x0000000000000000 in ?? ()
#261 0x0000000000000000 in ?? ()
#262 0x0000000000000000 in ?? ()
#263 0x0000000000000000 in ?? ()
#264 0x0000000000000000 in ?? ()
#265 0x0000000000000000 in ?? ()
#266 0x0000000000000000 in ?? ()
#267 0x0000000000000000 in ?? ()
#268 0x0000000000000000 in ?? ()
#269 0x0000000000000000 in ?? ()
#270 0x0000000000000000 in ?? ()
#271 0x0000000000000000 in ?? ()
#272 0x0000000000000000 in ?? ()
#273 0x0000000000000000 in ?? ()
#274 0x0000000000000000 in ?? ()
#275 0x0000000000000000 in ?? ()
#276 0x0000000000000000 in ?? ()
#277 0x0000000000000000 in ?? ()
#278 0x0000000000000000 in ?? ()
#279 0x0000000000000000 in ?? ()
#280 0x0000000000000000 in ?? ()
#281 0x0000000000000000 in ?? ()
#282 0x0000000000000000 in ?? ()
#283 0x0000000000000000 in ?? ()
#284 0x0000000000000000 in ?? ()
#285 0x0000000000000000 in ?? ()
#286 0x0000000000000000 in ?? ()
#287 0x0000000000000000 in ?? ()
#288 0x0000000000000000 in ?? ()
#289 0x0000000000000008 in ?? ()
#290 0x0000000000000000 in ?? ()
Cannot access memory at address 0xffffffffa5399000

Copyright (c) 1992-2005 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
        The Regents of the University of California. All rights reserved.
FreeBSD 5.4-RELEASE #2: Fri Jun 17 16:41:08 CEST 2005
    [EMAIL PROTECTED]:/usr/src/sys/amd64/compile/kepler
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Xeon(TM) CPU 3.00GHz (2992.51-MHz K8-class CPU)
  Origin = "GenuineIntel"  Id = 0xf41  Stepping = 1
  
Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
  Features2=0x641d<SSE3,RSVD2>,MON,DS_CPL,CNTX-ID,CX16,<b14>>
  AMD Features=0x20100800<SYSCALL,NX,LM>
  Hyperthreading: 2 logical CPUs
real memory  = 1073479680 (1023 MB)
avail memory = 1027616768 (980 MB)
ACPI APIC Table: <DELL   PE BKC  >
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
ioapic0: Changing APIC ID to 2
ioapic1: Changing APIC ID to 3
ioapic1: WARNING: intbase 32 != expected base 24
ioapic2: Changing APIC ID to 4
ioapic2: WARNING: intbase 64 != expected base 56
ioapic0 <Version 2.0> irqs 0-23 on motherboard
ioapic1 <Version 2.0> irqs 32-55 on motherboard
ioapic2 <Version 2.0> irqs 64-87 on motherboard
acpi0: <DELL PE BKC> on motherboard
acpi0: Power Button (fixed)
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0
cpu0: <ACPI CPU> on acpi0
cpu1: <ACPI CPU> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
pcib1: <ACPI PCI-PCI bridge> at device 2.0 on pci0
pci1: <ACPI PCI bus> on pcib1
pcib2: <ACPI PCI-PCI bridge> at device 0.0 on pci1
pci2: <ACPI PCI bus> on pcib2
amr0: <LSILogic MegaRAID 1.51> mem 0xd80f0000-0xd80fffff irq 39 at device 12.0 
on pci2
amr0: <LSILogic PERC 4/DC> Firmware 350O, BIOS 1.09, 128MB RAM
amr1: <LSILogic MegaRAID 1.51> mem 0xdfde0000-0xdfdfffff,0xd80e0000-0xd80effff 
irq 46 at device 14.0 on pci2
amr1: <LSILogic PERC 4e/Si> Firmware 516A, BIOS H418, 256MB RAM
pcib3: <ACPI PCI-PCI bridge> at device 0.2 on pci1
pci3: <ACPI PCI bus> on pcib3
pcib4: <ACPI PCI-PCI bridge> at device 4.0 on pci0
pci4: <ACPI PCI bus> on pcib4
pcib5: <ACPI PCI-PCI bridge> at device 5.0 on pci0
pci5: <ACPI PCI bus> on pcib5
pcib6: <ACPI PCI-PCI bridge> at device 0.0 on pci5
pci6: <ACPI PCI bus> on pcib6
em0: <Intel(R) PRO/1000 Network Connection, Version - 1.7.35> port 
0xecc0-0xecff mem 0xdfae0000-0xdfafffff irq 64 at device 7.0 on pci6
em0: Ethernet address: 00:11:43:dd:bc:b1
em0:  Speed:N/A  Duplex:N/A
pcib7: <ACPI PCI-PCI bridge> at device 0.2 on pci5
pci7: <ACPI PCI bus> on pcib7
em1: <Intel(R) PRO/1000 Network Connection, Version - 1.7.35> port 
0xdcc0-0xdcff mem 0xdf8e0000-0xdf8fffff irq 65 at device 8.0 on pci7
em1: Ethernet address: 00:11:43:dd:bc:b2
em1:  Speed:N/A  Duplex:N/A
pcib8: <ACPI PCI-PCI bridge> at device 6.0 on pci0
pci8: <ACPI PCI bus> on pcib8
pci0: <serial bus, USB> at device 29.0 (no driver attached)
pci0: <serial bus, USB> at device 29.1 (no driver attached)
pci0: <serial bus, USB> at device 29.2 (no driver attached)
pci0: <serial bus, USB> at device 29.7 (no driver attached)
pcib9: <ACPI PCI-PCI bridge> at device 30.0 on pci0
pci9: <ACPI PCI bus> on pcib9
pci9: <display, VGA> at device 13.0 (no driver attached)
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel ICH5 UDMA100 controller> port 
0xfc00-0xfc0f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 31.1 on pci0
ata0: channel #0 on atapci0
ata1: channel #1 on atapci0
atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model IntelliMouse Explorer, device ID 4
sio0: configured irq 4 not in bitmap of probed irqs 0
sio0: port may not be enabled
sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
sio0: type 16550A
orm0: <ISA Option ROMs> at iomem 0xec000-0xeffff,0xc0000-0xcafff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
Timecounters tick every 1.000 msec
IP Filter: v3.4.35 initialized.  Default = pass all, Logging = disabled
acd0: CDROM <HL-DT-ST GCR-8240N/1.06> at ata0-master PIO4
amrd0: <LSILogic MegaRAID logical drive> on amr0
amrd0: 1430505MB (2929674240 sectors) RAID 5 (optimal)
amrd1: <LSILogic MegaRAID logical drive> on amr1
amrd1: 69880MB (143114240 sectors) RAID 1 (optimal)
sa0 at amr0 bus 1 target 6 lun 0
sa0: <IBM ULTRIUM-TD2 3AYD> Removable Sequential Access SCSI-3 device 
ses0 at amr0 bus 0 target 6 lun 0
ses0: <DELL PV22XS E.17> Fixed Processor SCSI-3 device 
ses0: SAF-TE Compliant Device
ses1 at amr1 bus 0 target 6 lun 0
ses1: <PE/PV 1x2 SCSI BP 1.0> Fixed Processor SCSI-2 device 
ses1: SAF-TE Compliant Device
SMP: AP CPU #1 Launched!
Mounting root from ufs:/dev/amrd1s2a
WARNING: / was not properly dismounted
ch0 at amr0 bus 1 target 5 lun 0
ch0: <DELL PV-122T K17r> Removable Changer SCSI-2 device 
ch0: 8 slots, 1 drive, 1 picker, 0 portals
WARNING: /usr was not properly dismounted
WARNING: /var was not properly dismounted
WARNING: /usr/home/backup was not properly dismounted
ipfw2 initialized, divert disabled, rule-based forwarding disabled, default to 
deny, logging disabled
em1: Link is up 100 Mbps Full Duplex
em0: Link is up 1000 Mbps Full Duplex

Attachment: pgpQr5imsf2UP.pgp
Description: PGP signature

Reply via email to