On Monday 16 October 2006 00:40, Thomas Quinot wrote:
> As I mentioned on the previous thread you quoted, I can't see
> anything abnormal here. Can you provide complete traces with CAM
> debugging options enabled? please include boot -v output.

Well, I'm having problems with that. I built a new kernel with all the 
CAM debugging options enabled (otherwise it's GENERIC), but this one 
would panic as soon as I load the atapicam module if I load it 
manually, or as soon as drive detection starts if the boot loader loads 
it. I've had a look at the dump with kgdb, and it appears that a 
null-dereference happens in line 4205 of sys/cam/cam_xpt.c: path2 is 
NULL.

If it is helpful to you, I can put the kernel and crashdump (74MB) 
online. (Actually, I think I can produce a much smaller crashdump, that 
panic happened with some apps already running.)

Below are the boot -v output as well as a kgdb log.

Cheers
Benjamin

----- START boot -v dmesg -----
Copyright (c) 1992-2006 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 is a registered trademark of The FreeBSD Foundation.
FreeBSD 6.2-PRERELEASE #0: Mon Oct 16 10:26:15 CEST 2006
    [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC_CAMDEBUG
ACPI APIC Table: <A M I  OEMAPIC >
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Core(TM)2 CPU          6600  @ 2.40GHz (2400.01-MHz 
686-class CPU)
  Origin = "GenuineIntel"  Id = 0x6f6  Stepping = 6
  
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=0xe3bd<SSE3,RSVD2,MON,DS_CPL,VMX,EST,TM2,<b9>,CX16,<b14>,<b15>>
  AMD Features=0x20100000<NX,LM>
  AMD Features2=0x1<LAHF>
  Cores per package: 2
real memory  = 1073348608 (1023 MB)
avail memory = 1032966144 (985 MB)
ioapic0 <Version 2.0> irqs 0-23 on motherboard
kbd1 at kbdmux0
ath_hal: 0.9.17.2 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, 
RF5413)
acpi0: <A M I OEMXSDT> on motherboard
acpi_bus_number: can't get _ADR
acpi_bus_number: can't get _ADR
acpi_bus_number: can't get _ADR
acpi_bus_number: can't get _ADR
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
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
pcib1: <ACPI PCI-PCI bridge> irq 16 at device 1.0 on pci0
pci1: <ACPI PCI bus> on pcib1
nvidia0: <GeForce 7600 GT> port 0x9c00-0x9c7f mem 
0xfd000000-0xfdffffff,0xc0000000-0xcfffffff,0xfc000000-0xfcffffff irq 
16 at device 0.0 on pci1
nvidia0: [GIANT-LOCKED]
uhci0: <UHCI (generic) USB controller> port 0xdc00-0xdc1f irq 16 at 
device 26.0 on pci0
uhci0: [GIANT-LOCKED]
usb0: <UHCI (generic) USB controller> on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1: <UHCI (generic) USB controller> port 0xe000-0xe01f irq 17 at 
device 26.1 on pci0
uhci1: [GIANT-LOCKED]
usb1: <UHCI (generic) USB controller> on uhci1
usb1: USB revision 1.0
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
ehci0: <EHCI (generic) USB 2.0 controller> mem 0xfebffc00-0xfebfffff irq 
18 at device 26.7 on pci0
ehci0: [GIANT-LOCKED]
usb2: waiting for BIOS to give up control
usb2: EHCI version 1.0
usb2: companion controllers, 2 ports each: usb0 usb1
usb2: <EHCI (generic) USB 2.0 controller> on ehci0
usb2: USB revision 2.0
uhub2: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub2: 4 ports with 4 removable, self powered
pci0: <multimedia> at device 27.0 (no driver attached)
pcib2: <ACPI PCI-PCI bridge> irq 16 at device 28.0 on pci0
pci3: <ACPI PCI bus> on pcib2
pcib3: <ACPI PCI-PCI bridge> irq 16 at device 28.4 on pci0
pci2: <ACPI PCI bus> on pcib3
atapci0: <JMicron JMB363 SATA300 controller> port 
0xac00-0xac07,0xa880-0xa883,0xa800-0xa807,0xa480-0xa483,0xa400-0xa40f 
mem 0xfe9fe000-0xfe9fffff irq 16 at device 0.0 on pci2
atapci0: AHCI Version 01.00 controller with 2 ports detected
ata2: <ATA channel 0> on atapci0
ata3: <ATA channel 1> on atapci0
ata4: <ATA channel 2> on atapci0
uhci2: <UHCI (generic) USB controller> port 0xd480-0xd49f irq 23 at 
device 29.0 on pci0
uhci2: [GIANT-LOCKED]
usb3: <UHCI (generic) USB controller> on uhci2
usb3: USB revision 1.0
uhub3: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub3: 2 ports with 2 removable, self powered
uhci3: <UHCI (generic) USB controller> port 0xd800-0xd81f irq 19 at 
device 29.1 on pci0
uhci3: [GIANT-LOCKED]
usb4: <UHCI (generic) USB controller> on uhci3
usb4: USB revision 1.0
uhub4: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub4: 2 ports with 2 removable, self powered
uhci4: <UHCI (generic) USB controller> port 0xd880-0xd89f irq 18 at 
device 29.2 on pci0
uhci4: [GIANT-LOCKED]
usb5: <UHCI (generic) USB controller> on uhci4
usb5: USB revision 1.0
uhub5: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub5: 2 ports with 2 removable, self powered
ehci1: <EHCI (generic) USB 2.0 controller> mem 0xfebff800-0xfebffbff irq 
23 at device 29.7 on pci0
ehci1: [GIANT-LOCKED]
usb6: EHCI version 1.0
usb6: companion controllers, 2 ports each: usb3 usb4 usb5
usb6: <EHCI (generic) USB 2.0 controller> on ehci1
usb6: USB revision 2.0
uhub6: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub6: 6 ports with 6 removable, self powered
uhub7: vendor 0x0409 product 0x013e, class 9/0, rev 2.00/0.07, addr 2
uhub7: multiple transaction translators
uhub7: 4 ports with 4 removable, self powered
uhid0: Logitech Logitech RumblePad 2 USB, rev 1.10/1.00, addr 3, iclass 
3/0
pcib4: <ACPI PCI-PCI bridge> at device 30.0 on pci0
pci4: <ACPI PCI bus> on pcib4
pcm0: <Creative EMU10K1> port 0xb880-0xb89f irq 22 at device 1.0 on pci4
pcm0: <SigmaTel STAC9708/11 AC97 Codec>
em0: <Intel(R) PRO/1000 Network Connection Version - 6.1.4> port 
0xb800-0xb83f mem 0xfeae0000-0xfeafffff,0xfeac0000-0xfeadffff irq 23 at 
device 2.0 on pci4
em0: Ethernet address: 00:0e:0c:c0:3c:2a
em0: [FAST]
fwohci0: <Texas Instruments TSB43AB22/A> mem 
0xfea9f800-0xfea9ffff,0xfea98000-0xfea9bfff irq 21 at device 3.0 on 
pci4
fwohci0: OHCI version 1.10 (ROM=1)
fwohci0: No. of Isochronous channels is 4.
fwohci0: EUI64 00:11:d8:00:00:d1:59:59
fwohci0: Phy 1394a available S400, 2 ports.
fwohci0: Link S400, max_rec 2048 bytes.
firewire0: <IEEE1394(FireWire) bus> on fwohci0
fwe0: <Ethernet over FireWire> on firewire0
if_fwe0: Fake Ethernet address: 02:11:d8:d1:59:59
fwe0: Ethernet address: 02:11:d8:d1:59:59
fwe0: if_start running deferred for Giant
sbp0: <SBP-2/SCSI over FireWire> on firewire0
fwohci0: Initiate bus reset
fwohci0: node_id=0xc800ffc0, gen=1, CYCLEMASTER mode
firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me)
firewire0: bus manager 0 (me)
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci1: <Intel ICH8 SATA300 controller> port 
0xec00-0xec07,0xe880-0xe883,0xe800-0xe807,0xe480-0xe483,0xe400-0xe40f,0xe080-0xe08f
 
irq 19 at device 31.2 on pci0
ata5: <ATA channel 0> on atapci1
ata6: <ATA channel 1> on atapci1
pci0: <serial bus, SMBus> at device 31.3 (no driver attached)
atapci2: <Intel ICH8 SATA300 controller> port 
0xd400-0xd407,0xd080-0xd083,0xd000-0xd007,0xcc00-0xcc03,0xc880-0xc88f,0xc800-0xc80f
 
irq 19 at device 31.5 on pci0
ata7: <ATA channel 0> on atapci2
ata8: <ATA channel 1> on atapci2
acpi_button0: <Power Button> on acpi0
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
fdc0: <floppy drive controller (FDE)> port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 
on acpi0
fdc0: [FAST]
atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: model MouseMan+, device ID 0
pmtimer0 on isa0
orm0: <ISA Option ROM> at iomem 0xd1800-0xd27ff on isa0
ata0 at port 0x1f0-0x1f7,0x3f6 irq 14 on isa0
ata1 at port 0x170-0x177,0x376 irq 15 on isa0
ppc0: parallel port not found.
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
Timecounter "TSC" frequency 2400010398 Hz quality 800
Timecounters tick every 1.000 msec
(noperiph:sbp0:0:-1:-1): xpt_compile_path
(noperiph:sbp0:0:-1:-1): xpt_setup_ccb
(noperiph:sbp0:0:-1:-1): xpt_action
(noperiph:sbp0:0:-1:-1): xpt_done
(noperiph:sbp0:0:-1:-1): xpt_release_path
(xpt0:sbp0:0:-1:-1): xpt_compile_path
(xpt0:sbp0:0:-1:-1): xpt_setup_ccb
(xpt0:sbp0:0:-1:-1): xpt_action
(xpt0:sbp0:0:-1:-1): xpt_done
(xpt0:sbp0:0:-1:-1): xpt_finishconfig
(xpt0:sbp0:0:-1:-1): xpt_action
(xpt0:sbp0:0:-1:-1): xpt_scan_bus
(xpt0:sbp0:0:-1:-1): xpt_setup_ccb
(xpt0:sbp0:0:-1:-1): xpt_action
(xpt0:sbp0:0:-1:-1): xpt_done
(xpt0:sbp0:0:0:0): xpt_compile_path
(xpt0:sbp0:0:0:0): xpt_setup_ccb
(xpt0:sbp0:0:0:0): xpt_action
(xpt0:sbp0:0:0:0): xpt_scan_lun
(xpt0:sbp0:0:0:0): xpt_setup_ccb
(xpt0:sbp0:0:0:0): xpt_action
(xpt0:sbp0:0:0:0): xpt_done
(probe0:sbp0:0:0:0): xpt_compile_path
(probe0:sbp0:0:0:0): xpt_setup_ccb
(probe0:sbp0:0:0:0): xpt_action
(probe0:sbp0:0:0:0): xpt_setup_ccb
(probe0:sbp0:0:0:0): xpt_action
(probe0:sbp0:0:0:0): xpt_setup_ccb
(probe0:sbp0:0:0:0): xpt_action
(probe0:sbp0:0:0:0): xpt_done
(probe0:sbp0:0:0:0): xpt_schedule
(probe0:sbp0:0:0:0): xpt_setup_ccb
(probe0:sbp0:0:0:0): probestart
(probe0:sbp0:0:0:0): xpt_action
(probe0:sbp0:0:0:0): INQUIRY. CDB: 12 0 0 0 24 0
(xpt0:sbp0:0:1:0): xpt_compile_path
(xpt0:sbp0:0:1:0): xpt_setup_ccb
(xpt0:sbp0:0:1:0): xpt_action
(xpt0:sbp0:0:1:0): xpt_scan_lun
(xpt0:sbp0:0:1:0): xpt_setup_ccb
(xpt0:sbp0:0:1:0): xpt_action
(xpt0:sbp0:0:1:0): xpt_done
(probe1:sbp0:0:1:0): xpt_compile_path
(probe1:sbp0:0:1:0): xpt_setup_ccb
(probe1:sbp0:0:1:0): xpt_action
(probe1:sbp0:0:1:0): xpt_setup_ccb
(probe1:sbp0:0:1:0): xpt_action
(probe1:sbp0:0:1:0): xpt_setup_ccb
(probe1:sbp0:0:1:0): xpt_action
(probe1:sbp0:0:1:0): xpt_done
(probe1:sbp0:0:1:0): xpt_schedule
(probe1:sbp0:0:1:0): xpt_setup_ccb
(probe1:sbp0:0:1:0): probestart
(probe1:sbp0:0:1:0): xpt_action
(probe1:sbp0:0:1:0): INQUIRY. CDB: 12 0 0 0 24 0
(xpt0:sbp0:0:2:0): xpt_compile_path
(xpt0:sbp0:0:2:0): xpt_setup_ccb
(xpt0:sbp0:0:2:0): xpt_action
(xpt0:sbp0:0:2:0): xpt_scan_lun
(xpt0:sbp0:0:2:0): xpt_setup_ccb
(xpt0:sbp0:0:2:0): xpt_action
(xpt0:sbp0:0:2:0): xpt_done
(probe2:sbp0:0:2:0): xpt_compile_path
(probe2:sbp0:0:2:0): xpt_setup_ccb
(probe2:sbp0:0:2:0): xpt_action
(probe2:sbp0:0:2:0): xpt_setup_ccb
(probe2:sbp0:0:2:0): xpt_action
(probe2:sbp0:0:2:0): xpt_setup_ccb
(probe2:sbp0:0:2:0): xpt_action
(probe2:sbp0:0:2:0): xpt_done
(probe2:sbp0:0:2:0): xpt_schedule
(probe2:sbp0:0:2:0): xpt_setup_ccb
(probe2:sbp0:0:2:0): probestart
(probe2:sbp0:0:2:0): xpt_action
(probe2:sbp0:0:2:0): INQUIRY. CDB: 12 0 0 0 24 0
(xpt0:sbp0:0:3:0): xpt_compile_path
(xpt0:sbp0:0:3:0): xpt_setup_ccb
(xpt0:sbp0:0:3:0): xpt_action
(xpt0:sbp0:0:3:0): xpt_scan_lun
(xpt0:sbp0:0:3:0): xpt_setup_ccb
(xpt0:sbp0:0:3:0): xpt_action
(xpt0:sbp0:0:3:0): xpt_done
(probe3:sbp0:0:3:0): xpt_compile_path
(probe3:sbp0:0:3:0): xpt_setup_ccb
(probe3:sbp0:0:3:0): xpt_action
(probe3:sbp0:0:3:0): xpt_setup_ccb
(probe3:sbp0:0:3:0): xpt_action
(probe3:sbp0:0:3:0): xpt_setup_ccb
(probe3:sbp0:0:3:0): xpt_action
(probe3:sbp0:0:3:0): xpt_done
(probe3:sbp0:0:3:0): xpt_schedule
(probe3:sbp0:0:3:0): xpt_setup_ccb
(probe3:sbp0:0:3:0): probestart
(probe3:sbp0:0:3:0): xpt_action
(probe3:sbp0:0:3:0): INQUIRY. CDB: 12 0 0 0 24 0
(xpt0:sbp0:0:4:0): xpt_compile_path
(xpt0:sbp0:0:4:0): xpt_setup_ccb
(xpt0:sbp0:0:4:0): xpt_action
(xpt0:sbp0:0:4:0): xpt_scan_lun
(xpt0:sbp0:0:4:0): xpt_setup_ccb
(xpt0:sbp0:0:4:0): xpt_action
(xpt0:sbp0:0:4:0): xpt_done
(probe4:sbp0:0:4:0): xpt_compile_path
(probe4:sbp0:0:4:0): xpt_setup_ccb
(probe4:sbp0:0:4:0): xpt_action
(probe4:sbp0:0:4:0): xpt_setup_ccb
(probe4:sbp0:0:4:0): xpt_action
(probe4:sbp0:0:4:0): xpt_setup_ccb
(probe4:sbp0:0:4:0): xpt_action
(probe4:sbp0:0:4:0): xpt_done
(probe4:sbp0:0:4:0): xpt_schedule
(probe4:sbp0:0:4:0): xpt_setup_ccb
(probe4:sbp0:0:4:0): probestart
(probe4:sbp0:0:4:0): xpt_action
(probe4:sbp0:0:4:0): INQUIRY. CDB: 12 0 0 0 24 0
(xpt0:sbp0:0:5:0): xpt_compile_path
(xpt0:sbp0:0:5:0): xpt_setup_ccb
(xpt0:sbp0:0:5:0): xpt_action
(xpt0:sbp0:0:5:0): xpt_scan_lun
(xpt0:sbp0:0:5:0): xpt_setup_ccb
(xpt0:sbp0:0:5:0): xpt_action
(xpt0:sbp0:0:5:0): xpt_done
(probe5:sbp0:0:5:0): xpt_compile_path
(probe5:sbp0:0:5:0): xpt_setup_ccb
(probe5:sbp0:0:5:0): xpt_action
(probe5:sbp0:0:5:0): xpt_setup_ccb
(probe5:sbp0:0:5:0): xpt_action
(probe5:sbp0:0:5:0): xpt_setup_ccb
(probe5:sbp0:0:5:0): xpt_action
(probe5:sbp0:0:5:0): xpt_done
(probe5:sbp0:0:5:0): xpt_schedule
(probe5:sbp0:0:5:0): xpt_setup_ccb
(probe5:sbp0:0:5:0): probestart
(probe5:sbp0:0:5:0): xpt_action
(probe5:sbp0:0:5:0): INQUIRY. CDB: 12 0 0 0 24 0
(xpt0:sbp0:0:6:0): xpt_compile_path
(xpt0:sbp0:0:6:0): xpt_setup_ccb
(xpt0:sbp0:0:6:0): xpt_action
(xpt0:sbp0:0:6:0): xpt_scan_lun
(xpt0:sbp0:0:6:0): xpt_setup_ccb
(xpt0:sbp0:0:6:0): xpt_action
(xpt0:sbp0:0:6:0): xpt_done
(probe6:sbp0:0:6:0): xpt_compile_path
(probe6:sbp0:0:6:0): xpt_setup_ccb
(probe6:sbp0:0:6:0): xpt_action
(probe6:sbp0:0:6:0): xpt_setup_ccb
(probe6:sbp0:0:6:0): xpt_action
(probe6:sbp0:0:6:0): xpt_setup_ccb
(probe6:sbp0:0:6:0): xpt_action
(probe6:sbp0:0:6:0): xpt_done
(probe6:sbp0:0:6:0): xpt_schedule
(probe6:sbp0:0:6:0): xpt_setup_ccb
(probe6:sbp0:0:6:0): probestart
(probe6:sbp0:0:6:0): xpt_action
(probe6:sbp0:0:6:0): INQUIRY. CDB: 12 0 0 0 24 0
acd0: DVDROM <Pioneer DVD-ROM ATAPIModel DVD-106S 0122/E1.22> at 
ata4-master UDMA66
acd1: DVDR <PLEXTOR DVDR PX-708A/1.12> at ata4-slave UDMA33
ad10: 238475MB <WDC WD2500KS-00MJB0 02.01C03> at ata5-master SATA150
(probe1:sbp0:0:1:0): xpt_done
(probe1:sbp0:0:1:0): camisr
(probe1:sbp0:0:1:0): probedone
(xpt0:sbp0:0:1:0): xpt_done
(probe1:sbp0:0:1:0): xpt_free_path
(probe1:sbp0:0:1:0): xpt_release_path
(xpt0:sbp0:0:1:0): camisr
(xpt0:sbp0:0:1:0): xpt_scan_bus
(xpt0:sbp0:0:1:0): xpt_setup_ccb
(xpt0:sbp0:0:1:0): xpt_action
(xpt0:sbp0:0:1:0): xpt_free_path
(xpt0:sbp0:0:1:0): xpt_release_path
(probe4:sbp0:0:4:0): xpt_done
(probe4:sbp0:0:4:0): camisr
(probe4:sbp0:0:4:0): probedone
(xpt0:sbp0:0:4:0): xpt_done
(probe4:sbp0:0:4:0): xpt_free_path
(probe4:sbp0:0:4:0): xpt_release_path
(xpt0:sbp0:0:4:0): camisr
(xpt0:sbp0:0:4:0): xpt_scan_bus
(xpt0:sbp0:0:4:0): xpt_setup_ccb
(xpt0:sbp0:0:4:0): xpt_action
(xpt0:sbp0:0:4:0): xpt_free_path
(xpt0:sbp0:0:4:0): xpt_release_path
(probe0:sbp0:0:0:0): xpt_done
(probe0:sbp0:0:0:0): camisr
(probe0:sbp0:0:0:0): probedone
(xpt0:sbp0:0:0:0): xpt_done
(probe0:sbp0:0:0:0): xpt_free_path
(probe0:sbp0:0:0:0): xpt_release_path
(xpt0:sbp0:0:0:0): camisr
(xpt0:sbp0:0:0:0): xpt_scan_bus
(xpt0:sbp0:0:0:0): xpt_setup_ccb
(xpt0:sbp0:0:0:0): xpt_action
(xpt0:sbp0:0:0:0): xpt_free_path
(xpt0:sbp0:0:0:0): xpt_release_path
(probe2:sbp0:0:2:0): xpt_done
(probe2:sbp0:0:2:0): camisr
(probe2:sbp0:0:2:0): probedone
(xpt0:sbp0:0:2:0): xpt_done
(probe2:sbp0:0:2:0): xpt_free_path
(probe2:sbp0:0:2:0): xpt_release_path
(xpt0:sbp0:0:2:0): camisr
(xpt0:sbp0:0:2:0): xpt_scan_bus
(xpt0:sbp0:0:2:0): xpt_setup_ccb
(xpt0:sbp0:0:2:0): xpt_action
(xpt0:sbp0:0:2:0): xpt_free_path
(xpt0:sbp0:0:2:0): xpt_release_path
(probe3:sbp0:0:3:0): xpt_done
(probe3:sbp0:0:3:0): camisr
(probe3:sbp0:0:3:0): probedone
(xpt0:sbp0:0:3:0): xpt_done
(probe3:sbp0:0:3:0): xpt_free_path
(probe3:sbp0:0:3:0): xpt_release_path
(xpt0:sbp0:0:3:0): camisr
(xpt0:sbp0:0:3:0): xpt_scan_bus
(xpt0:sbp0:0:3:0): xpt_setup_ccb
(xpt0:sbp0:0:3:0): xpt_action
(xpt0:sbp0:0:3:0): xpt_free_path
(xpt0:sbp0:0:3:0): xpt_release_path
(probe5:sbp0:0:5:0): xpt_done
(probe5:sbp0:0:5:0): camisr
(probe5:sbp0:0:5:0): probedone
(xpt0:sbp0:0:5:0): xpt_done
(probe5:sbp0:0:5:0): xpt_free_path
(probe5:sbp0:0:5:0): xpt_release_path
(xpt0:sbp0:0:5:0): camisr
(xpt0:sbp0:0:5:0): xpt_scan_bus
(xpt0:sbp0:0:5:0): xpt_setup_ccb
(xpt0:sbp0:0:5:0): xpt_action
(xpt0:sbp0:0:5:0): xpt_free_path
(xpt0:sbp0:0:5:0): xpt_release_path
(probe6:sbp0:0:6:0): xpt_done
(probe6:sbp0:0:6:0): camisr
(probe6:sbp0:0:6:0): probedone
(xpt0:sbp0:0:6:0): xpt_done
(probe6:sbp0:0:6:0): xpt_free_path
(probe6:sbp0:0:6:0): xpt_release_path
(xpt0:sbp0:0:6:0): camisr
(xpt0:sbp0:0:6:0): xpt_scan_bus
(xpt0:sbp0:0:6:0): xpt_setup_ccb
(xpt0:sbp0:0:6:0): xpt_action
(xpt0:sbp0:0:6:0): xpt_free_path
(xpt0:sbp0:0:6:0): xpt_release_path
(xpt0:sbp0:0:-1:-1): xpt_done
(xpt0:sbp0:0:-1:-1): camisr
(xpt0:sbp0:0:-1:-1): xpt_finishconfig
(xpt0:sbp0:0:-1:-1): xpt_free_path
(xpt0:sbp0:0:-1:-1): xpt_release_path
(noperiph:xpt0:0:-1:-1): xpt_compile_path
(noperiph:xpt0:0:-1:-1): xpt_setup_ccb
(noperiph:xpt0:0:-1:-1): xpt_action
(noperiph:xpt0:0:-1:-1): xpt_free_path
(noperiph:xpt0:0:-1:-1): xpt_release_path
(noperiph:xpt0:0:-1:-1): xpt_compile_path
(noperiph:xpt0:0:-1:-1): xpt_setup_ccb
(noperiph:xpt0:0:-1:-1): xpt_action
(noperiph:xpt0:0:-1:-1): xpt_free_path
(noperiph:xpt0:0:-1:-1): xpt_release_path
(noperiph:xpt0:0:-1:-1): xpt_compile_path
(noperiph:xpt0:0:-1:-1): xpt_setup_ccb
(noperiph:xpt0:0:-1:-1): xpt_action
(noperiph:xpt0:0:-1:-1): xpt_free_path
(noperiph:xpt0:0:-1:-1): xpt_release_path
(noperiph:xpt0:0:-1:-1): xpt_compile_path
(noperiph:xpt0:0:-1:-1): xpt_setup_ccb
(noperiph:xpt0:0:-1:-1): xpt_action
(noperiph:xpt0:0:-1:-1): xpt_free_path
(noperiph:xpt0:0:-1:-1): xpt_release_path
(noperiph:xpt0:0:-1:-1): xpt_compile_path
(noperiph:xpt0:0:-1:-1): xpt_setup_ccb
(noperiph:xpt0:0:-1:-1): xpt_action
(noperiph:xpt0:0:-1:-1): xpt_free_path
(noperiph:xpt0:0:-1:-1): xpt_release_path
(noperiph:xpt0:0:-1:-1): xpt_compile_path
(noperiph:xpt0:0:-1:-1): xpt_setup_ccb
(noperiph:xpt0:0:-1:-1): xpt_action
(noperiph:xpt0:0:-1:-1): xpt_free_path
(noperiph:xpt0:0:-1:-1): xpt_release_path
Trying to mount root from ufs:/dev/ad10s1a
----- END boot -v dmesg -----

----- START kgdb log -----
$ kgdb kernel.debug /usr/crash/vmcore.0
kgdb: kvm_nlist(_stopped_cpus):
kgdb: kvm_nlist(_stoppcbs):
[GDB will not be able to debug user-mode 
threads: /usr/lib/libthread_db.so: Undefined 
symbol "ps_pglobal_lookup"]
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you 
are
welcome to change it and/or distribute copies of it under certain 
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for 
details.
This GDB was configured as "i386-marcel-freebsd".

Unread portion of the kernel message buffer:
(noperiph:ata0:0:-1:-1): xpt_compile_path
(noperiph:ata0:0:-1:-1): xpt_setup_ccb
(noperiph:ata0:0:-1:-1): xpt_action
(noperiph:ata0:0:-1:-1): xpt_done
(noperiph:ata0:0:-1:-1): xpt_async
(noperiph:ata0:0:-1:-1): xpt_release_path
(noperiph:ata0:0:-1:-1): xpt_compile_path
(noperiph:ata0:0:-1:-1): Registered SIM for ata0
(noperiph:ata0:0:-1:-1): xpt_setup_ccb
(noperiph:ata0:0:-1:-1): xpt_action
(xpt0:ata0:0:-1:-1): xpt_compile_path


Fatal trap 12: page fault while in kernel mode
fault virtual address   = 0x4
fault code              = supervisor read, page not present
instruction pointer     = 0x20:0xc045aa72
stack pointer           = 0x28:0xe9c57ad0
frame pointer           = 0x28:0xe9c57ad4
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         = 908 (kldload)
trap number             = 12
panic: page fault
Uptime: 6m35s
Dumping 1023 MB (2 chunks)
  chunk 0: 1MB (159 pages) ... ok
  chunk 1: 1023MB (261792 pages) 1007 991 975 959 943 927 911 895 879 
863 847 831 815 799 783 767 751 735 719 703 687 671 655 639 623 607 591 
575 559 543 527 511 495 479 463 447 431 415 399 383 367 351 335 319 303 
287 271 255 239 223 207 191 175 159 143 127 111 95 79 63 47 31 15

#0  doadump () at pcpu.h:165
165             __asm __volatile("movl %%fs:0,%0" : "=r" (td));
(kgdb) backtrace
#0  doadump () at pcpu.h:165
#1  0xc06f3b4c in boot (howto=260) 
at /usr/src/sys/kern/kern_shutdown.c:409
#2  0xc06f3e99 in panic (fmt=0xc09c7ef5 "%s") 
at /usr/src/sys/kern/kern_shutdown.c:565
#3  0xc096e09c in trap_fatal (frame=0xe9c57a90, eva=0) 
at /usr/src/sys/i386/i386/trap.c:837
#4  0xc096dd72 in trap_pfault (frame=0xe9c57a90, usermode=0, eva=4) 
at /usr/src/sys/i386/i386/trap.c:745
#5  0xc096d90d in trap (frame=
      {tf_fs = -1069219832, tf_es = -1063649240, tf_ds = -983826392, 
tf_edi = 1, tf_esi = -985134080, tf_ebp = -372933932, tf_isp 
= -372933956, tf_ebx = -983897248, tf_edx = 0, tf_ecx = 0, tf_eax 
= -986095616, tf_trapno = 12, tf_err = 0, tf_eip = -1069176206, tf_cs = 
32, tf_eflags = 590470, tf_esp = -985140224, tf_ss = -372933896})
    at /usr/src/sys/i386/i386/trap.c:435
#6  0xc0958e9a in calltrap () at /usr/src/sys/i386/i386/exception.s:139
#7  0xc045aa72 in xpt_path_comp (path1=0xc55aeb60, path2=0x0) 
at /usr/src/sys/cam/cam_xpt.c:4205
#8  0xc5e0577b in ?? ()
#9  0xc55aeb60 in ?? ()
#10 0x00000000 in ?? ()
#11 0x00000001 in ?? ()
#12 0xffffffff in ?? ()
#13 0xffffffff in ?? ()
#14 0xc55c2c10 in ?? ()
#15 0x00000001 in ?? ()
#16 0xe9c57b24 in ?? ()
#17 0xc5e04295 in ?? ()
#18 0xc5d8c5c0 in ?? ()
#19 0xc0a55fc0 in M_DEVBUF_uninit_sys_uninit ()
#20 0xc5e05d12 in ?? ()
#21 0x0000012e in ?? ()
#22 0xc55c2bf0 in ?? ()
#23 0x00000001 in ?? ()
#24 0xc5480c00 in ?? ()
#25 0xc5d8c5c0 in ?? ()
#26 0x0000000c in ?? ()
#27 0xe9c57b60 in ?? ()
#28 0xc5e04009 in ?? ()
#29 0xc5480c00 in ?? ()
#30 0x00000001 in ?? ()
#31 0x00000001 in ?? ()
#32 0xffffffff in ?? ()
#33 0xffffffff in ?? ()
#34 0x00000001 in ?? ()
#35 0x00000001 in ?? ()
#36 0xc5d93ac0 in ?? ()
#37 0x00000000 in ?? ()
#38 0xc55c2ae0 in ?? ()
#39 0xc5c6ba00 in ?? ()
#40 0xc5c6ba00 in ?? ()
#41 0x00000000 in ?? ()
#42 0xe9c57b80 in ?? ()
#43 0xc070e18a in device_attach (dev=0xc547f400) at device_if.h:177
Previous frame inner to this frame (corrupt stack?)
(kgdb) list *0xc045aa72
0xc045aa72 is in xpt_path_comp (/usr/src/sys/cam/cam_xpt.c:4205).
4200    {
4201            GIANT_REQUIRED;
4202
4203            int retval = 0;
4204
4205            if (path1->bus != path2->bus) {
4206                    if (path1->bus->path_id == CAM_BUS_WILDCARD)
4207                            retval = 1;
4208                    else if (path2->bus->path_id == 
CAM_BUS_WILDCARD)
4209                            retval = 2;
(kgdb) up 7
#7  0xc045aa72 in xpt_path_comp (path1=0xc55aeb60, path2=0x0) 
at /usr/src/sys/cam/cam_xpt.c:4205
4205            if (path1->bus != path2->bus) {
(kgdb) print path1
$1 = (struct cam_path *) 0xc55aeb60
(kgdb) print path2
$2 = (struct cam_path *) 0x0
(kgdb) quit
----- END kgdb log -----

Attachment: pgpmrs2bqAejD.pgp
Description: PGP signature

Reply via email to