kldload problem with 4.8-RELEASE-p7 on HP DL380

Peter Jeremy peter.jeremy at alcatel.com.au
Thu Sep 18 23:46:10 PDT 2003


I have a HP DL380 with a DigiBoard Xem that I'm trying to use with
FreeBSD 4.x.  I've back-ported the digi device from -CURRENT as a
kld but when I try to load it, the system wedges.  Running exactly
the same kernel on an older Compaq P1850 works.  If I don't try to
load digi.ko the system runs perfectly.

Any ideas?  If I can't get this fixed quickly, it'll be running
RedHat instead of FreeBSD.

I managed to get some crashdumps and they show the system idle:

(kgdb) where
#0  dumpsys () at /mnt/rpc/src/sys/kern/kern_shutdown.c:487
#1  0xc0169ae0 in boot (howto=256) at /mnt/rpc/src/sys/kern/kern_shutdown.c:316
#2  0xc0169f2d in panic (fmt=0xc024e2e4 "from debugger")
    at /mnt/rpc/src/sys/kern/kern_shutdown.c:595
#3  0xc0128989 in db_panic (addr=-1071486651, have_addr=0, count=-1, 
    modif=0xc02862e0 "") at /mnt/rpc/src/sys/ddb/db_command.c:435
#4  0xc0128927 in db_command (last_cmdp=0xc02895c4, cmd_table=0xc0289404, 
    aux_cmd_tablep=0xc02a5738) at /mnt/rpc/src/sys/ddb/db_command.c:333
#5  0xc01289ee in db_command_loop () at /mnt/rpc/src/sys/ddb/db_command.c:457
#6  0xc012abaf in db_trap (type=3, code=0) at /mnt/rpc/src/sys/ddb/db_trap.c:71
#7  0xc02266e6 in kdb_trap (type=3, code=0, regs=0xc02863e8)
    at /mnt/rpc/src/sys/i386/i386/db_interface.c:158
#8  0xc0234474 in trap (frame={tf_fs = -1056636912, tf_es = 16, tf_ds = 16, 
      tf_edi = 0, tf_esi = -1070891904, tf_ebp = -1071094736, 
      tf_isp = -1071094764, tf_ebx = 134, tf_edx = 4194304, tf_ecx = 32, 
      tf_eax = 38, tf_trapno = 3, tf_err = 0, tf_eip = -1071486651, tf_cs = 8, 
      tf_eflags = 582, tf_esp = -1071139777, tf_ss = -1071152439})
    at /mnt/rpc/src/sys/i386/i386/trap.c:592
#9  0xc0226945 in Debugger (msg=0xc02782c9 "manual escape to debugger")
    at machine/cpufunc.h:67
#10 0xc022350a in scgetc (sc=0xc02bd8a0, flags=2)
    at /mnt/rpc/src/sys/dev/syscons/syscons.c:3164
#11 0xc022022d in sckbdevent (thiskbd=0xc02b6380, event=0, arg=0xc02bd8a0)
    at /mnt/rpc/src/sys/dev/syscons/syscons.c:617
#12 0xc0216fd7 in atkbd_intr (kbd=0xc02b6380, arg=0x0)
    at /mnt/rpc/src/sys/dev/kbd/atkbd.c:462
#13 0xc023f424 in atkbd_isa_intr (arg=0xc02b6380)
    at /mnt/rpc/src/sys/isa/atkbd_isa.c:140
#14 0xc0236769 in getit () at /mnt/rpc/src/sys/i386/isa/clock.c:417
#15 0xc0236801 in DELAY (n=100) at /mnt/rpc/src/sys/i386/isa/clock.c:486
#16 0xc012be71 in ata_intr (data=0xc1c72200)
    at /mnt/rpc/src/sys/dev/ata/ata-all.c:591
#17 0xc0239f27 in intr_mux (arg=0xc104b840)
    at /mnt/rpc/src/sys/i386/isa/intr_machdep.c:582
#18 0xc015d797 in statclock (frame=0xc02865a4)
    at /mnt/rpc/src/sys/kern/kern_clock.c:431
#19 0xc02366c1 in rtcintr (frame={cf_vec = 0, cf_ppl = 4194304, 
      cf_fs = 4194320, cf_es = -1071120368, cf_ds = 4194320, cf_edi = 4194304, 
      cf_esi = -1071507188, cf_ebp = -1071094260, -1071094312, 
      cf_ebx = -1070868320, cf_edx = 4227072, cf_ecx = 15, cf_eax = 4194304, 
      0, 0, cf_eip = -1071478122, cf_cs = 8, cf_eflags = 647, 
      cf_esp = -1071406021, cf_ss = -1072236050})
    at /mnt/rpc/src/sys/i386/isa/clock.c:385
#20 0xc0228a96 in vec15 ()
#21 0xc0228993 in doreti_swi ()
(kgdb) ls

Dmesg is:

Copyright (c) 1992-2003 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 4.8-RELEASE-p7 #6: Fri Sep 19 14:14:55 EST 2003
    root at aalp03.alcatel.com.au:/mnt/obj/mnt/rpc/src/sys/rpc
Timecounter "i8254"  frequency 1193182 Hz
Timecounter "TSC"  frequency 2388773052 Hz
CPU: Intel(R) Xeon(TM) CPU 2.40GHz (2388.77-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0xf29  Stepping = 9
  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>
  Hyperthreading: 2 logical CPUs
real memory  = 536846336 (524264K bytes)
avail memory = 519188480 (507020K bytes)
Preloaded elf kernel "kernel" at 0xc031f000.
VESA: v2.0, 8128k memory, flags:0x0, mode table:0xc02c4c22 (1000022)
VESA: ATI MACH64
Pentium Pro MTRR support enabled
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
pci0: <ATI Mach64-GR graphics accelerator> at 3.0
pci0: <unknown card> (vendor=0x0e11, dev=0xb203) at 4.0 irq 3
pci0: <unknown card> (vendor=0x0e11, dev=0xb204) at 4.2 irq 5
isab0: <PCI to ISA bridge (vendor=1166 device=0201)> at device 15.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <ServerWorks CSB5 ATA100 controller> port 0x2000-0x200f,0x374-0x377,0x170-0x177,0x3f4-0x3f7,0x1f0-0x1f7 at device 15.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
pci0: <OHCI USB controller> at 15.2 irq 7
pcib1: <Host to PCI bridge> on motherboard
pci1: <PCI bus> on pcib1
ciss0: <Compaq Smart Array 5i> port 0x3000-0x30ff mem 0xf75f0000-0xf75f3fff,0xf76c0000-0xf76fffff irq 10 at device 3.0 on pci1
ciss0: using 256 of 1024 available commands
ciss0:   1 logical drive configured
ciss0:   firmware 2.36
ciss0:   2 SCSI channels
ciss0:   signature 'CISS'
ciss0:   valence 1
ciss0:   supported I/O methods 0xe<simple,performant,MEMQ>
ciss0:   active I/O method 0x3<simple>
ciss0:   4G page base 0x00000000
ciss0:   interrupt coalesce delay 1000us
ciss0:   interrupt coalesce count 16
ciss0:   max outstanding commands 1024
ciss0:   bus types 0x2<ultra3>
ciss0:   server name ''
ciss0:   heartbeat 0x3000003b
ciss0: 1 logical drive
ciss0: logical drive 1: RAID 0, 69120MB online
pcib2: <Host to PCI bridge> on motherboard
pci2: <PCI bus> on pcib2
bge0: <Broadcom BCM5703X Gigabit Ethernet, ASIC rev. 0x1002> mem 0xf77f0000-0xf77fffff irq 11 at device 1.0 on pci2
bge0: Ethernet address: 00:0b:cd:d3:51:51
miibus0: <MII bus> on bge0
brgphy0: <BCM5703 10/100/1000baseTX PHY> on miibus0
brgphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, 1000baseTX-FDX, auto
bge1: <Broadcom BCM5703X Gigabit Ethernet, ASIC rev. 0x1002> mem 0xf77e0000-0xf77effff irq 15 at device 2.0 on pci2
bge1: Ethernet address: 00:0b:cd:d3:51:50
miibus1: <MII bus> on bge1
brgphy1: <BCM5703 10/100/1000baseTX PHY> on miibus1
brgphy1:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, 1000baseTX-FDX, auto
pcib3: <Host to PCI bridge> on motherboard
pci3: <PCI bus> on pcib3
pci3: <unknown card> (vendor=0x114f, dev=0x0004) at 1.0 irq 15
pcib4: <ServerWorks host to PCI bridge(unknown chipset)> on motherboard
pci4: <PCI bus> on pcib4
pcib6: <ServerWorks host to PCI bridge(unknown chipset)> on motherboard
pci6: <PCI bus> on pcib6
pci6: <unknown card> (vendor=0x0e11, dev=0xa0f7) at 30.0 irq 11
pcib5: <ServerWorks host to PCI bridge(unknown chipset)> on motherboard
pci5: <PCI bus> on pcib5
pcib7: <ServerWorks host to PCI bridge(unknown chipset)> on motherboard
pci7: <PCI bus> on pcib7
orm0: <Option ROMs> at iomem 0xc0000-0xc7fff,0xc8000-0xcbfff,0xee000-0xeffff on isa0
sc0: <System console> on isa0
sc0: VGA <12 virtual consoles, flags=0x200>
fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model Generic PS/2 mouse, device ID 0
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sio0 at port 0x3f8-0x3ff irq 4 on isa0
sio0: type 16550A
ciss0: *** Cache enabled
DUMMYNET initialized (011031)
IP packet filtering initialized, divert enabled, rule-based forwarding enabled, default to deny, logging limited to 100 packets/entry by default
ata0-slave: ATA identify retries exceeded
acd0: CDROM <COMPAQ CD-ROM SN-124> at ata0-master PIO4
Mounting root from ufs:/dev/da0s4a
da0 at ciss0 bus 0 target 0 lun 0
da0: <COMPAQ RAID 0  VOLUME OK> Fixed Direct Access SCSI-0 device 
da0: 135.168MB/s transfers
da0: 69459MB (142253280 512 byte sectors: 255H 32S/T 17433C)
-- 
Peter Jeremy


More information about the freebsd-stable mailing list