Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Apr 2002 00:30:02 -0400
From:      <freebsd-current@tcpipbitch.net>
To:        "Freebsd Current" <current@FreeBSD.ORG>
Subject:   Machine panics when mount_smb fs is run
Message-ID:  <000501c1e4ff$6112cce0$0300000a@desktop>

next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.

------=_NextPart_000_0006_01C1E4DD.DA012CE0
Content-Type: text/plain;
	charset="US-ASCII"
Content-Transfer-Encoding: 7bit

Trying to mount a cdrom from my XP box using
	mount_smbfs //jason@desktop/cdrom /cdrom
Causes my machine to panic and die. Below is hopefully some info that
will help resolve the problem
Included as an attachment in plain text format the boot sequence showing
my hardware.  The motherboard itself is
An Asus CUV4X

I will keep the core file itself for a few days under the name
smbfs.smp-kernel.core (I seem to generate a boatload
Of core files, and even on a 40 gig drive I'm running outa space fast)
if anyone needs more info.



grim# gdb -k /boot/kernel/kernel.debug
af4e67719bcbc259bfe24101757d16e8.core
GNU gdb 4.18
Copyright 1998 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-unknown-freebsd"...
IdlePTD at phsyical address 0x0043a000
initial pcb at physical address 0x00343ca0
panicstr: bremfree: bp 0xc85c52d8 not locked
panic messages:
---
Fatal trap 12: page fault while in kernel mode
cpuid = 1; lapic.id = 00000000
fault virtual address   = 0x0
fault code              = supervisor write, page not present
instruction pointer     = 0x8:0xc01d2b00
stack pointer           = 0x10:0xcfe82bbc
frame pointer           = 0x10:0xcfe82bc4
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         = 280 (smbiod0)
trap number             = 12
panic: page fault
cpuid = 1; lapic.id = 00000000
boot() called on cpu#1

syncing disks... panic: bremfree: bp 0xc85c52d8 not locked
cpuid = 1; lapic.id = 00000000
boot() called on cpu#1
Uptime: 1m22s
Dumping 287 MB
ata0: resetting devices .. done
 16 32 48 64 80 96 112 128 144 160 176 192 208 224 240 256 272
---
#0  doadump () at /usr/src/sys/kern/kern_shutdown.c:213
213             dumping++;

(kgdb) where
#0  doadump () at /usr/src/sys/kern/kern_shutdown.c:213
#1  0xc01b9088 in boot (howto=260) at
/usr/src/sys/kern/kern_shutdown.c:346
#2  0xc01b9299 in panic (fmt=0xc02d9e9d "bremfree: bp %p not locked") at
/usr/src/sys/kern/kern_shutdown.c:490
#3  0xc01e8fa1 in bremfree (bp=0xc85c52d8) at
/usr/src/sys/kern/vfs_bio.c:619
#4  0xc01ea697 in vfs_bio_awrite (bp=0xc85c52d8) at
/usr/src/sys/kern/vfs_bio.c:1593
#5  0xc0195198 in spec_fsync (ap=0xcfe82a70) at
/usr/src/sys/fs/specfs/spec_vnops.c:403
#6  0xc0194d85 in spec_vnoperate (ap=0xcfe82a70) at
/usr/src/sys/fs/specfs/spec_vnops.c:121
#7  0xc0253c2d in ffs_sync (mp=0xcf2c6200, waitfor=2, cred=0xc8571300,
td=0xc0309220) at vnode_if.h:441
#8  0xc01f7257 in sync (td=0xc0309220, uap=0x0) at
/usr/src/sys/kern/vfs_syscalls.c:1217
#9  0xc01b8cda in boot (howto=256) at
/usr/src/sys/kern/kern_shutdown.c:254
#10 0xc01b9299 in panic (fmt=0xc02f413e "%s") at
/usr/src/sys/kern/kern_shutdown.c:490
#11 0xc02a4b83 in trap_fatal (frame=0xcfe82b7c, eva=0) at
/usr/src/sys/i386/i386/trap.c:841
#12 0xc02a48a1 in trap_pfault (frame=0xcfe82b7c, usermode=0, eva=0) at
/usr/src/sys/i386/i386/trap.c:755
#13 0xc02a442b in trap (frame={tf_fs = -806485992, tf_es = -806879216,
tf_ds = -1071972336, tf_edi = 0, 
      tf_esi = -806910956, tf_ebp = -806868028, tf_isp = -806868056,
tf_ebx = -806466332, tf_edx = 1, 
      tf_ecx = -1070532736, tf_eax = 0, tf_trapno = 12, tf_err = 2,
tf_eip = -1071830272, tf_cs = 8, 
      tf_eflags = 66118, tf_esp = -806466432, tf_ss = 1}) at
/usr/src/sys/i386/i386/trap.c:426
#14 0xc01d2b00 in selrecord (selector=0xcfe78414, sip=0xcfee4ce4) at
/usr/src/sys/kern/sys_generic.c:1173
#15 0xc01e347b in sopoll (so=0xcfee4c80, events=1, cred=0x0,
td=0xcfe78414) at /usr/src/sys/kern/uipc_socket.c:1562
#16 0xd01c8d55 in ?? ()
#17 0xd01c919a in ?? ()
#18 0xd01c9773 in ?? ()
#19 0xd01ccc1f in ?? ()
#20 0xd01cd9dd in ?? ()
#21 0xc01aab0c in fork_exit (callout=0xd01cd934, arg=0xcfe09b00,
frame=0xcfe82d48) at /usr/src/sys/kern/kern_fork.c:808

------=_NextPart_000_0006_01C1E4DD.DA012CE0
Content-Type: text/plain;
	name="dmesg.txt.txt"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
	filename="dmesg.txt.txt"

Copyright (c) 1992-2002 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.0-CURRENT #16: Mon Apr 15 02:25:55 EDT 2002
    root@grim.tcpipbitch.net:/usr/obj/usr/src/sys/GRIM
Preloaded elf kernel "/boot/kernel/kernel" at 0xc041b000.
Preloaded elf module "/boot/kernel/acpi.ko" at 0xc041b0a8.
Timecounter "i8254"  frequency 1193182 Hz
CPU: Pentium III/Pentium III Xeon/Celeron (870.58-MHz 686-class CPU)
  Origin =3D "GenuineIntel"  Id =3D 0x686  Stepping =3D 6
  =
Features=3D0x387fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE=
,MCA,CMOV,PAT,PSE36,PN,MMX,FXSR,SSE>
real memory  =3D 301973504 (294896K bytes)
avail memory =3D 288686080 (281920K bytes)
Programming 24 pins in IOAPIC #0
IOAPIC #0 intpin 2 -> irq 0
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
 cpu0 (BSP): apic id:  3, version: 0x00040011, at 0xfee00000
 cpu1 (AP):  apic id:  0, version: 0x00040011, at 0xfee00000
 io0 (APIC): apic id:  2, version: 0x00178011, at 0xfec00000
Pentium Pro MTRR support enabled
Using $PIR table, 7 entries at 0xc00f1270
npx0: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <ASUS   CUV4X-D > on motherboard
acpi0: power button is handled as a fixed feature programming model.
Timecounter "ACPI-fast"  frequency 3579545 Hz
acpi_timer0: <24-bit timer at 3.579545MHz> port 0xe408-0xe40b on acpi0
acpi_cpu0: <CPU> on acpi0
acpi_button0: <Power Button> on acpi0
acpi_pcib0: <Host-PCI bridge> port 0xcf8-0xcff on acpi0
IOAPIC #0 intpin 18 -> irq 2
IOAPIC #0 intpin 17 -> irq 5
IOAPIC #0 intpin 16 -> irq 6
IOAPIC #0 intpin 19 -> irq 10
pci0: <PCI bus> on acpi_pcib0
pcib1: <PCI-PCI bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
isab0: <PCI-ISA bridge> at device 4.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <VIA 82C686 ATA100 controller> port 0xd800-0xd80f at device 4.1 =
on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
uhci0: <VIA 83C572 USB controller> port 0xd400-0xd41f irq 2 at device =
4.2 on pci0
usb0: <VIA 83C572 USB controller> on uhci0
usb0: USB revision 1.0
uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1: <VIA 83C572 USB controller> port 0xd000-0xd01f irq 2 at device =
4.3 on pci0
usb1: <VIA 83C572 USB controller> on uhci1
usb1: USB revision 1.0
uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
wi0: <Linksys WMP11 PCI Prism2.5> mem 0xfb800000-0xfb800fff irq 2 at =
device 10.0 on pci0
wi0: 802.11 address: 00:05:5d:da:5f:47
wi0: using RF:PRISM2.5 MAC:ISL3874A(Mini-PCI)
wi0: Intersil Firmware: Primary 1.00.07, Station 1.03.05
rl0: <Accton MPX 5030/5038 10/100BaseTX> port 0xb800-0xb8ff mem =
0xfa800000-0xfa8000ff irq 5 at device 11.0 on pci0
rl0: Realtek 8139B detected. Warning, this may be unstable in autoselect =
mode
rl0: Ethernet address: 00:10:b5:5c:55:41
miibus0: <MII bus> on rl0
rlphy0: <RealTek internal media interface> on miibus0
rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
pci0: <display, VGA> at device 12.0 (no driver attached)
pci0: <multimedia, audio> at device 13.0 (no driver attached)
ppc0 port 0x778-0x77b,0x378-0x37f irq 7 drq 3 on acpi0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/8 bytes threshold
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
sio0 port 0x3f8-0x3ff irq 4 on acpi0
sio0: type 16550A
sio1 port 0x2f8-0x2ff irq 3 on acpi0
sio1: type 16550A
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 MouseMan+, device ID 0
orm0: <Option ROM> at iomem 0xc0000-0xc7fff on isa0
sc0: <System console> on isa0
sc0: VGA <16 virtual consoles, flags=3D0x200>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on =
isa0
APIC_IO: Testing 8254 interrupt delivery
APIC_IO: routing 8254 via IOAPIC #0 intpin 2
IP Filter: v3.4.25 initialized.  Default =3D pass all, Logging =3D =
enabled
acpi_cpu: CPU throttling enabled, 16 steps from 100% to 6.2%
ad0: 28629MB <WDC WD300AB-00BVA0> [58168/16/63] at ata0-master UDMA100
Mounting root from ufs:/dev/ad0s1a
SMP: AP CPU #1 Launched!
------=_NextPart_000_0006_01C1E4DD.DA012CE0--


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000501c1e4ff$6112cce0$0300000a>