Panic In mi_switch+0x7e

From: Cy Schubert <Cy.Schubert_at_komquats.com>
Date: Wed, 08 Feb 2006 07:34:24 -0800
I issue the reboot command and the system panics and drops into DDB.


Rebooting...
/boot/kernel/kernel text=0x2e7b04 data=0x39924+0x2ef28 
syms=[0x4+0x44260+0x4+0x560a3]
no such file or directory
\
Hit [Enter] to boot immediately, or any other key for command prompt.
Booting [/boot/kernel/kernel] in 52 seconds...

Type '?' for a list of commands, 'help' for more detailed help.
OK include /boot/cwtest/current
|

cwtest/current loader file selected
unload complete
currdev set to disk2s1a:
/boot/kernel/kernel text=0x4e5698 data=0x84cc0+0xa02ac 
syms=[0x4+0x68770+0x4+0x7fd36]
new kernel has been loaded

OK boot -d
GDB: no debug ports present
KDB: debugger backends: ddb
KDB: current backend: ddb
KDB: enter: Boot flags requested debugger
[thread pid 0 tid 0 ]
Stopped at      kdb_enter+0x2b: nop
db> c
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 7.0-CURRENT #0: Tue Feb  7 19:56:45 PST 2006
    root_at_cwsys:/export/obj/opt/src/cvs-current/src/sys/GENERIC
WARNING: WITNESS option enabled, expect reduced performance.
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Pentium/P54C (119.75-MHz 586-class CPU)
  Origin = "GenuineIntel"  Id = 0x52c  Stepping = 12
  Features=0x1bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8>
real memory  = 83886080 (80 MB)
avail memory = 72331264 (68 MB)
Intel Pentium detected, installing workaround for F00F bug
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
cpu0 on motherboard
pcib0: <Host to PCI bridge> pcibus 0 on motherboard
pci0: <PCI bus> on pcib0
isab0: <PCI-ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel PIIX3 WDMA2 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0
x376,0xf000-0xf00f at device 7.1 on pci0
ata0: <ATA channel 0> on atapci0
ata1: <ATA channel 1> on atapci0
xl0: <3Com 3c905B-TX Fast Etherlink XL> port 0x6000-0x607f mem 
0xe1001000-0xe100107f irq 5 at device 18.0 on pci0
miibus0: <MII bus> on xl0
xlphy0: <3Com internal media interface> on miibus0
xlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
xl0: Ethernet address: 00:50:da:80:28:96
ahc0: <Adaptec 2940 SCSI adapter> port 0x6100-0x61ff mem 
0xe1000000-0xe1000fff irq 5 at device 19.0 on pci0
ahc0: [GIANT-LOCKED]
aic7870: Single Channel A, SCSI Id=7, 16/253 SCBs
vgapci0: <VGA-compatible display> port 0x6200-0x62ff mem 
0xe0000000-0xe0ffffff,0xe1002000-0xe1002fff irq 9 at device 20.0 on pci0
pmtimer0 on isa0
orm0: <ISA Option ROMs> at iomem 0xc0000-0xc7fff,0xc8000-0xca7ff,0xdc000-0xd
ffff pnpid ORM0000 on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
ed0 at port 0x280-0x29f iomem 0xd8000 irq 10 on isa0
ed0: Ethernet address: 00:40:05:55:fe:74
ed0: type NE2000 (16 bit)
fdc0: <Enhanced floppy controller> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on 
isa0fdc0: [FAST]
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
ppbus0: <Parallel port bus> on ppc0
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A, console
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
aha1 at port 0x330-0x333 irq 11 drq 5 on isa0
aha1: AHA-1542CF FW Rev. C.0 (ID=45) SCSI Host Adapter, SCSI ID 7, 16 CCBs
aha1: [GIANT-LOCKED]
unknown: <PNP0303> can't assign resources (port)
unknown: <PNP0c01> can't assign resources (memory)
unknown: <PNP0501> can't assign resources (port)
unknown: <PNP0700> can't assign resources (port)
unknown: <PNP0400> can't assign resources (port)
unknown: <PNP0501> can't assign resources (port)
Timecounter "TSC" frequency 119753276 Hz quality 800
Timecounters tick every 10.000 msec
Waiting 5 seconds for SCSI devices to settle
ad0: 408MB <Seagate ST3491A 07.07.01> at ata0-master WDMA1
ad2: 76351MB <SAMSUNG SP0802N TK100-24> at ata1-master WDMA2
acd0: CDROM <MATSHITA CR-588/LS13> at ata1-slave PIO4
da0 at ahc0 bus 0 target 0 lun 0
da0: <CONNER CFP1080S 4649> Fixed Direct Access SCSI-2 device
da0: 10.000MB/s transfers (10.000MHz, offset 15), Tagged Queueing Enabled
da0: 1030MB (2110812 512 byte sectors: 64H 32S/T 1030C)
da1 at ahc0 bus 0 target 2 lun 0
da1: <QUANTUM TRB850S 043C> Fixed Direct Access SCSI-2 device
da1: 10.000MB/s transfers (10.000MHz, offset 8)
da1: 810MB (1660299 512 byte sectors: 64H 32S/T 810C)
Trying to mount root from ufs:/dev/ad2s1a
Loading configuration files.
/dev/ad0s1b is smaller than physical memory
Entropy harvesting: interrupts ethernet point_to_point kickstart.
swapon: adding /dev/ad0s1b as swap device
swapon: /dev/da0s1b: No such file or directory
swapon: adding /dev/da1s1b as swap device
swapon: adding /dev/ad2s1b as swap device
Starting file system checks:
/dev/ad2s1a: FILE SYSTEM CLEAN; SKIPPING CHECKS
/dev/ad2s1a: clean, 181318 free (782 frags, 22567 blocks, 0.2% 
fragmentation)
/dev/da1s1a: FILE SYSTEM CLEAN; SKIPPING CHECKS
/dev/da1s1a: clean, 507827 free (5611 frags, 62777 blocks, 0.8% 
fragmentation)
/dev/ad0s1a: FILE SYSTEM CLEAN; SKIPPING CHECKS
/dev/ad0s1a: clean, 262049 free (1097 frags, 32619 blocks, 0.3% 
fragmentation)
/dev/ad2s1e: FILE SYSTEM CLEAN; SKIPPING CHECKS
/dev/ad2s1e: clean, 2533185 free (6633 frags, 315819 blocks, 0.2% 
fragmentation)/dev/da0s1a: FILE SYSTEM CLEAN; SKIPPING CHECKS
/dev/da0s1a: clean, 230364 free (3012 frags, 28419 blocks, 0.6% 
fragmentation)
/dev/ad2s1g: FILE SYSTEM CLEAN; SKIPPING CHECKS
/dev/ad2s1g: clean, 27765390 free (91046 frags, 3459293 blocks, 0.1% 
fragmentation)
/dev/da0s1e: FILE SYSTEM CLEAN; SKIPPING CHECKS
/dev/da0s1e: clean, 177150 free (5022 frags, 21516 blocks, 1.1% 
fragmentation)
mount option <dev> is unknown
mount_mfs: mount exited with error code 1
Setting hostname: cwtest.
vfs.nfsrv.async: 0 -> 1
xl0: link state changed to UP
ed0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet6 fe80::240:5ff:fe55:fe74%ed0 prefixlen 64 tentative scopeid 0x2
        inet 10.1.1.2 netmask 0xffffff00 broadcast 10.1.1.255
        ether 00:40:05:55:fe:74
xl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=9<RXCSUM,VLAN_MTU>
        inet6 fe80::250:daff:fe80:2896%xl0 prefixlen 64 tentative scopeid 
0x1
        inet 10.1.2.2 netmask 0xffffff00 broadcast 10.1.2.255
        ether 00:50:da:80:28:96
        media: Ethernet autoselect (10baseT/UTP)
        status: active
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
        inet6 ::1 prefixlen 128
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4
        inet 127.0.0.1 netmask 0xff000000
add net default: gateway 10.1.2.254
Additional routing options:.
Starting devd.
Mounting NFS file systems:.
Creating and/or trimming log files:.
Starting syslogd.
Checking for core dump on /dev/ad0s1b...
savecore: no dumps found
Starting rpcbind.
Setting NIS domain: cwsent.com.
Starting ypxfrd.
Starting ypserv.
Starting ypbind.
NFS access cache time=0
Starting amd.
Clearing /tmp.
ELF ldconfig path: /lib /usr/lib /usr/lib/compat /usr/X11R6/lib 
/usr/local/lib /usr/local/krb5/lib /usr/local/libdata/ldconfig/mysql
a.out ldconfig path: /usr/lib/aout /usr/lib/compat/aout /usr/X11R6/lib/aout 
/usr/local/lib/aout /usr/local/krb5/lib/aout
ldconfig: /usr/lib/aout: No such file or directory
Starting mountd.
Feb  8 07:23:38 cwtest mountd[405]: bad exports list line /dsk02
Feb  8 07:23:39 cwtest mountd[405]: -alldirs requested but /foobar is not a 
filesystem mountpoint
Feb  8 07:23:39 cwtest mountd[405]: bad exports list line /foobar           
   -alldirs -maproot
Starting nfsd.
Starting timed.
Starting local daemons:removing old files: /var/preserve /tmp /var/tmp.
loading kernel modules: aout.
starting local daemons:.
.
Starting lpd.
Updating motd.
Configuring syscons: keyrate blanktime screensaver.
Starting sshd.
Starting sendmail.
Initial i386 initialization:.
Additional ABI support: linux.
Starting cron.
Local package initialization:.
Additional TCP options:.
/etc/rc.d/sysctl: WARNING: sysctl debug.watchdog.timeout does not exist.
Starting inetd.
Starting background file system checks in 60 seconds.

Wed Feb  8 07:24:08 PST 2006
Access to, or unauthorized use of data on this computer by any person other
than authorized person(s) or owner(s) of an account is strictly prohibited
and may result in legal action against such person.


FreeBSD/i386 (cwtest) (console)
login: Feb  8 07:24:37 cwtest reboot: rebooted by root
FFFFFWaiting (max 60 seconds) for system process `vnlru' to stop...done
Waiting (max 60 seconds) for system process `bufdaemon' to stop...done
Waiting (max 60 seconds) for system process `syncer' to stop...
Syncing disks, vnodes remaining...1 0 1 0 0 done
All buffers synced.
Uptime: 2m26s
(da1:ahc0:0:2:0): SYNCHRONIZE CACHE. CDB: 35 0 0 0 0 0 0 0 0 0
(da1:ahc0:0:2:0): Sense Error Code 0x80 at block no. 2097152 (decimal)
kernel trap 12 with interrupts disabled


Fatal trap 12: page fault while in kernel mode
cpuid = 0; apic id = 00
fault virtual address   = 0x0
fault code              = supervisor write, page not present
instruction pointer     = 0x20:0xc067a1fe
stack pointer           = 0x28:0xc6ee19fc
frame pointer           = 0x28:0xc6ee1a44
code segment            = base 0x0, limit 0xfffff, type 0x1b
                        = DPL 0, pres 1, def32 1, gran 1
processor eflags        = resume, IOPL = 0
current process         = 594 (reboot)
[thread pid 594 tid 100071 ]
Stopped at      mi_switch+0x7e: addl    %eax,0(%eax)
db> trace
Tracing pid 594 tid 100071 td 0xc18b91a0
mi_switch(0,0,0,1,c6ee0e6c) at mi_switch+0x7e
db> show registers
cs                0x20
ds                0x28
es                0x28
fs                 0x8
ss                0x28
eax                  0
ecx         0xc18b91a0
edx         0xc6ee1d90
ebx         0x1745c0b8
esp         0xc6ee19fc
ebp         0xc6ee1a44
esi         0xc19c82ec
edi         0xc18b91a0
eip         0xc067a1fe  mi_switch+0x7e
efl            0x90086
dr0                  0
dr1                  0
dr2                  0
dr3                  0
dr4         0xffff0ff0
dr5              0x400
dr6         0xffff0ff0
dr7              0x400
mi_switch+0x7e: addl    %eax,0(%eax)
db>



Cheers,
Cy Schubert <Cy.Schubert_at_komquats.com>
Web:  http://www.komquats.com and http://www.bcbodybuilder.com
FreeBSD UNIX:  <cy_at_FreeBSD.org>   Web:  http://www.FreeBSD.org
BC Government:  <Cy.Schubert_at_gov.bc.ca>

    "Lift long enough and I believe arrogance is replaced by
    humility and fear by courage and selfishness by generosity
    and rudeness by compassion and caring."
        -- Dave Draper
Received on Wed Feb 08 2006 - 14:34:28 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:52 UTC