Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Oct 2006 14:06:26 -0700 (PDT)
From:      mjacob@freebsd.org
To:        freebsd-current@freebsd.org
Subject:   more geom panics
Message-ID:  <20061019140524.R80128@ns1.feral.com>

next in thread | raw e-mail | index | archive | help

-current as of a couple days ago... Anyone have a clue as to why this 
might have happened?

...I had a virtual san device up and down a lot... (like a *lot*).

The device had truly gone away, as in:

 	(da0:isp0:0:6:0): Invalidating pack
 	...
 	(da0:isp0:0:6:0): removing device entry
 	....

After putting it back up, I had this:

 	...
 	da0 at isp0 bus 0 target 6 lun 0
 	da0: <MendoCno TEST DISK 0001> Fixed Direct Access SCSI-4 device
 	da0: 200.000MB/s transfers, Tagged Queueing Enabled
 	da0: 1024MB (2097152 512 byte sectors: 64H 32S/T 1024C)
 	...

So, I check the label:

 	zorko.in1.lcl > sudo disklabel da0
 	# /dev/da0:
 	8 partitions:
 	#        size   offset    fstype   [fsize bsize bps/cpg]
 	  a:  2097136       16    4.2BSD     2048 16384 28528
 	  c:  2097152        0    unused        0     0         # "raw" part,

 	...

And try to run a test:

 	zorko.in1.lcl > sudo patchk /dev/da0a 512 c
 	/dev/da0a: Device not configured

Huh?

Relabel it:

 	zorko.in1.lcl > sudo -Brw da0 auto

Try again:


 	zorko.in1.lcl > sudo patchk /dev/da0a 512 c
 	/dev/da0a: Device not configured

Decide to wipe the front:

 	zorko.in1.lcl > sudo lmdd of=/dev/da0
 	^C28.95 MB in 1.13 seconds (25.5841 MB/sec)

Try to put a new label on it again:

 	zorko.in1.lcl > sudo disklabel -Brw da0 auto

And...BLAM:

 	Fatal trap 9: general protection fault while in kernel mode
 	cpuid = 0; apic id = 00
 	instruction pointer     = 0x8:0xffffffff80639f36
 	stack pointer           = 0x10:0xffffffffac232b00
 	frame pointer           = 0x10:0xffffffffac232b50
 	code segment            = base 0x0, limit 0xfffff, type 0x1b
 				= DPL 0, pres 1, long 1, def32 0, gran 1
 	processor eflags        = interrupt enabled, resume, IOPL = 0
 	current process         = 2 (g_event)
 	[thread pid 2 tid 100007 ]
 	Stopped at      bcopy+0x16:     repe movsq      (%rsi),%es:(%rdi)
 	db> bt
 	Tracing pid 2 tid 100007 td 0xffffff021ef082b0
 	bcopy() at bcopy+0x16
 	gctl_set_param_err() at gctl_set_param_err+0x1c
 	g_bsd_config() at g_bsd_config+0x97
 	g_ctl_req() at g_ctl_req+0x83
 	g_run_events() at g_run_events+0x203
 	g_event_procbody() at g_event_procbody+0x77
 	fork_exit() at fork_exit+0xaa
 	fork_trampoline() at fork_trampoline+0xe
 	--- trap 0, rip = 0, rsp = 0xffffffffac232d40, rbp = 0 ---
 	db>


Sigh.

-matt




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