From root@generations.stdio.com  Thu Jul  4 16:40:26 1996
Received: from generations.stdio.com (generations.stdio.com [204.152.114.70])
          by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id QAA18627
          for <FreeBSD-gnats-submit@freebsd.org>; Thu, 4 Jul 1996 16:40:20 -0700 (PDT)
Received: (from root@localhost) by generations.stdio.com (8.7.5/8.7.3) id HAA00421; Fri, 5 Jul 1996 07:39:42 GMT
Message-Id: <199607050739.HAA00421@generations.stdio.com>
Date: Fri, 5 Jul 1996 07:39:42 GMT
From: Charlie Root <root@generations.stdio.com>
Reply-To: root@generations.stdio.com
To: FreeBSD-gnats-submit@freebsd.org
Subject: reprobe a device that does not exist = panic
X-Send-Pr-Version: 3.2

>Number:         1367
>Category:       i386
>Synopsis:       reprobe a device that does not exist = panic
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jul  4 16:50:01 PDT 1996
>Closed-Date:    Tue Mar 25 13:32:19 PST 1997
>Last-Modified:  Tue Mar 25 13:33:12 PST 1997
>Originator:     Charlie &
>Release:        FreeBSD 2.1-STABLE i386
>Organization:
Open World
>Environment:

	Two scsi chains, NCR 53x810 PCI and AIC 6360 ISA.
	One device on the AIC that has one scsi ID with more
	than one lun (ID 2 lun 0 is a disk, ID 2 lun 1 is another disk)

	The "/kernel" file, the config file "sys/i386/conf/xxx" and the
	panic message are at
	"ftp://www.stdio.com/pub/FreeBSD-bugs/reprobe.tar.gz"

	ASUS PCI Intel pentium 100mhz, NO IDE disks.

FreeBSD 2.1-960627-SNAP #1: Mon Jul  1 15:12:23  1996
CPU: 99-MHz Pentium 735\\90 or 815\\100 (Pentium-class CPU)
  Origin = "GenuineIntel"  Id = 0x525  Stepping=5
  Features=0x1bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8>
real memory  = 33554432 (32768K bytes)
avail memory = 30744576 (30024K bytes)
Probing for devices on PCI bus 0:
chip0 <Intel 82437 PCI cache memory controller> rev 2 on pci0:0
chip1 <Intel 82371 PCI-ISA bridge> rev 2 on pci0:7:0
chip2 <Intel 82371 Bus-master IDE controller> rev 2 on pci0:7:1
vga0 <VGA-compatible display device> rev 0 int a irq 9 on pci0:11
ncr0 <ncr 53c810 scsi> rev 1 int a irq 12 on pci0:12
ncr0 waiting for scsi devices to settle
(ncr0:0:0): "CDC 94181-15 0297" type 0 fixed SCSI 1
sd0(ncr0:0:0): Direct-Access 315MB (645300 512 byte sectors)
(ncr0:1:0): "MAXTOR XT-8760S B6B" type 0 fixed SCSI 1
sd1(ncr0:1:0): Direct-Access 639MB (1309735 512 byte sectors)
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 0x300-0x31f irq 10 on isa
ed0: address 00:40:33:21:09:ba, type NE2000 (16 bit) 
sio0 at 0x3f8-0x3ff irq 4 on isa
sio0: type 16550A
sio1 at 0x2f8-0x2ff irq 3 on isa
sio1: type 16550A
lpt0 at 0x3bc-0x3c3 irq 7 on isa
lpt0: Interrupt-driven port
lp0: TCP/IP capable interface
fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
fdc0: NEC 72065B
fd0: 1.44MB 3.5in
wdc0 not found at 0x1f0
aic0 at 0x340-0x35f irq 11 on isa
aic0 waiting for scsi devices to settle
(aic0:0:0): "SONY CD-ROM CDU-8002 1.8g" type 5 removable SCSI 1
cd0(aic0:0:0): CD-ROM cd present.[201408 x 2048 byte records]
(aic0:1:0): "PINNACLE RCD-1000 1.32" type 4 removable SCSI 2
uk0(aic0:1:0): Unknown 
(aic0:1:1): ILLEGAL REQUEST asc:25,0 Logical unit not supported
(aic0:1:2): ILLEGAL REQUEST asc:25,0 Logical unit not supported
(aic0:1:3): ILLEGAL REQUEST asc:25,0 Logical unit not supported
(aic0:1:4): ILLEGAL REQUEST asc:25,0 Logical unit not supported
(aic0:1:5): ILLEGAL REQUEST asc:25,0 Logical unit not supported
(aic0:1:6): ILLEGAL REQUEST asc:25,0 Logical unit not supported
(aic0:1:7): ILLEGAL REQUEST asc:25,0 Logical unit not supported
(aic0:2:0): "unknown unknown ????" type 0 fixed SCSI 0
sd2(aic0:2:0): Direct-Access 321MB (658154 512 byte sectors)
nca0 not found at 0x240
sea0 not found
npx0 on motherboard
npx0: INT 16 interface
>Description:

Ok, now I did a "scsi -f /dev/rsd2.ctl -r -b 1 -t 2 -l 1" to see:
(aic0:2:1): "unknown unknown ????" type 0 fixed SCSI 0
sd3(aic0:2:1): Direct-Access 
sd3(aic0:2:1): timed out
0MB (1 512 byte sectors)
Fatal trap 12: page fault while in kernel mode
fault virtual address	= 0x6fbfff7c
fault code		= supervisor write, page not present
instruction pointer	= 0x8:0xf01b1004
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		= 
panic: page fault

syncing disks... 2 2


>How-To-Repeat:

Pretty much I can do a reprobe and reproduce.

>Fix:
	I dunno.
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: scrappy 
State-Changed-When: Tue Oct 22 21:26:07 PDT 1996 
State-Changed-Why:  

Confirm Status 
State-Changed-From-To: feedback->closed 
State-Changed-By: mpp 
State-Changed-When: Tue Mar 25 13:32:19 PST 1997 
State-Changed-Why:  
All mail to the originator bounces, and I can't seem 
to be able to reproduce the problem with the example command 
given in the PR, or any other variations on it. 
>Unformatted:
