Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Mar 1995 18:03:21 -0700
From:      Steve Passe <fbsd@clem.systemsix.com>
To:        hackers@FreeBSD.org
Cc:        moto@cs.cmu.edu
Subject:   Re: kernel traps when restore 
Message-ID:  <199503120103.SAA13628@clem.systemsix.com>
In-Reply-To: Your message of "Sat, 11 Mar 1995 18:27:33 EST." <11439.794964453@GS81.SP.CS.CMU.EDU> 

next in thread | previous in thread | raw e-mail | index | archive | help
hello,

	this originated in "questions", am posting to hackers as it
seems more appropriate:

> When I try to to use 'restore', the kernel immediately panics with the
> message "fatal trap 12". This problem never happened when I was using
> FreeBSD 1.X. There is no problem with read/write using tar.

	
	i also have this problem, since there seems to be much
scsi work going on since 950210-SNAP I was going to wait for the next
SNAP but since it is being discussed, here are some more clues:

i'm using:

  Kernel:	FreeBSD 2.0 950210-SNAP (GENERIC or LOCAL)
  CPU:		486DX2-66MHz (AMI Baby Voyager)
  SCSI:		AHA-1542B
  Tape:		HP 1355A 4mm DAT
  Other Devices:	Micropolis 2217 (1.7G)
			SMC ??? Ethernet Card

my dmesg:

FreeBSD 2.1.0-Development #0: Fri Mar 10 21:53:04 MST 1995
    smp@rick.systemsix.com:/usr/src/sys/compile/LOCAL
CPU: i486DX (486-class CPU)  Id = 0x435  Origin = "GenuineIntel"
real memory  = 16384000 (4000 pages)
avail memory = 14999552 (3662 pages)
Probing for devices on the ISA bus:
sc0 at 0x60-0x6f irq 1 on motherboard
sc0: VGA color <16 virtual consoles, flags=0x0>
ed0 at 0x280-0x29f irq 5 maddr 0xd8000 msize 16384 on isa
ed0: address 00:00:c0:e6:59:48, type WD8013EPC (16 bit) 
bpf: ed0 attached
ed1 not probed due to maddr conflict with ed0 at 0xd8000
sio0 at 0x3f8-0x3ff irq 4 on isa
sio0: type 16450
sio1 at 0x2f8-0x2ff irq 3 on isa
sio1: type 16450
lpt0 at 0x378-0x37f irq 7 on isa
lpt0: Interrupt-driven port
lp0: TCP/IP capable interface
lpt1 not found at 0xffffffff
lpt2 not found at 0xffffffff
fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
fdc0: (NEC 72065B) [0: fd0: 1.44MB 3.5in] [1: fd1: 1.2MB 5.25in]
bt0 not found at 0x330
aha0: reading board settings, dma=5 int=11  (bus speed defaulted)
aha0 at 0x330-0x333 irq 11 drq 5 on isa
aha0 targ 0 lun 0: type 0(direct) fixed SCSI2
aha0 targ 0 lun 0: <MICROP  2217-15MQ1001901HQ30>
sd0: 1685MB (3450902 total sec), 2372 cyl, 15 head, 96 sec, bytes/sec 512
aha0 targ 6 lun 0: type 1(sequential) removable SCSI2
aha0 targ 6 lun 0: <HP      C1533A          9401>
st0: density code 0x13, variable blocks, write-protected
scd0 not found at 0x230
npx0 on motherboard
npx0: INT 16 interface
bpf: lo0 attached
bpf: ppp0 attached
bpf: sl0 attached


---------------------------------------------------------------------
the panic:

# ktrace restore isf 1 /dev/rst0
st0(aha0:6:0):

Fatal trap 12: page fault while in kernel mode
fault virtual address   = 0xc00
fault code              = supervisor read, page not present
instruction pointer     = 0x8:0xf0116e43
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         = Idle
interrupt mask          = bio
kernel: type 12 trap, code=0
Stopped at      0xf0116e43:     cmpb    $0,0(%ebx)

Other clues:

	this happens with dump tapes made on both 1.1.5.1 & 2.0

	trying to "restore isf 1 /dev/rst0" on 1.1.5.1 with a
	tape made on 2.0 fails with message about "can't find Root
	directory"

	there is no problem if i substitute an archive 2150S
	SCSI QIC drive for the HP 4mm DAT drive.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199503120103.SAA13628>