Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Feb 1997 11:34:35 -0500
From:      Richard Hwang <rhwang@bigpanda.com>
To:        hackers@freebsd.org
Subject:   [Q]: multiple lun probe not working on aic7880
Message-ID:  <199702271634.LAA08156@lonewolf.hostworld.com>

next in thread | raw e-mail | index | archive | help
I am trying to get FreeBSD to probe for multiple luns on a aic7880
controller on a Dell PowerEdge 4100 server connected to a CMD Daytona
RAIDarray (SCSI ID 0), but it only ever finds the 2G partition on lun 0,
and can't find the 10G partition on lun1.  FreeBSD seems to ignore
the fact that lun 1 exists.

When I boot the machine, the controller bios correctly reports the
existance of lun 0 and lun 1.  (I have multiple lun support turned on)

I remapped the 10G partition as lun 0, and the 2G partition as lun 1,
and it finds the 10G partition successfully but doesn't pick up the
2G partition.

I compiled a kernel where I specifically stated that there was something
on lun 1, but that didn't seem to help.

I turned on SCSIDEBUG; here are the bootup messages:

FreeBSD 2.1.7-RELEASE #0: Tue Feb 25 19:44:02 EST 1997
    root@foo.bar.com:/usr/src/sys/compile/FOO
CPU: 199-MHz unknown  (Pentium-class CPU)
  Origin = "GenuineIntel"  Id = 0x619  Stepping=9
  Features=0xfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,<b11>,MTRR,PGE,MCA,CMOV>
real memory  = 134217728 (131072K bytes)
avail memory = 127934464 (124936K bytes)
eisa0: <DEL58 (System Board)>
Probing for devices on the EISA bus
Probing for devices on PCI bus 0:
chip0 <Intel 82440FX (Natoma) PCI and memory controller> rev 2 on pci0:0
chip1 <generic PCI bridge (vendor=%04x device=%04x subclass=%1.2d)> rev 1 on pci0:13
chip2 <Intel 82375EB PCI-EISA bridge> rev 21 on pci0:15:0
vga0 <VGA-compatible display device> rev 64 on pci0:20
Probing for devices on PCI bus 1:
ahc0 <Adaptec aic7880 Ultra SCSI host adapter> rev 0 int a irq 14 on pci1:10
ahc0: aic7880 Wide Channel, SCSI Id=7, 16 SCBs
ahc0 waiting for scsi devices to settle
(ahc0:0:0): "CMD TECH DAYTONA A4-2" type 0 fixed SCSI 2
sd0(ahc0:0:0): Direct-Access 1999MB (4095936 512 byte sectors)
probe0(ahc0:9:0): scsi_cmd
probe0(ahc0:9:0): ahc_scsi_cmd
probe0(ahc0:9:0): ahc_done
probe0(ahc0:9:0): scsi_done
(ahc0:9:0): command: 0,0,0,0,0,0-[0 bytes]
probe0(ahc0:9:0): scsi_cmd
probe0(ahc0:9:0): ahc_scsi_cmd
probe0(ahc0:9:0): ahc_done
probe0(ahc0:9:0): scsi_done
(ahc0:9:0): command: 12,0,0,0,2c,0-[44 bytes]
------------------------------
000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
016: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
032: 00 00 00 00 00 00 00 00 00 00 00 00 
------------------------------
ahc1 <Adaptec aic7860 SCSI host adapter> rev 1 int a irq 14 on pci1:11
ahc1: aic7860 Single Channel, SCSI Id=7, 3 SCBs
ahc1 waiting for scsi devices to settle
(ahc1:5:0): "NEC CD-ROM DRIVE:462 1.14" type 5 removable SCSI 2
cd0(ahc1:5:0): CD-ROM 
cd0(ahc1:5:0): NOT READY asc:3a,0 Medium not present
can't get the size

fxp0 <Intel EtherExpress Pro/100B Fast Ethernet> rev 1 int a irq 15 on pci1:13
pci_map_mem failed: device's memrange 0xfbffe000-0xfbffefff is incompatible with its bridge's memrange 0xfde00000-0xfdffffff
fxp0: Ethernet address 00:a0:c9:2e:5e:ab
Probing for devices on the ISA bus:
sc0 at 0x60-0x6f irq 1 on motherboard
sc0: VGA color <16 virtual consoles, flags=0x0>
sio0 at 0x3f8-0x3ff irq 4 on isa
sio0: type 16550A
sio1 at 0x2f8-0x2ff irq 3 on isa
sio1: type 16550A
sio2: disabled, not probed.
sio3: disabled, not probed.
lpt0 at 0x378-0x37f irq 7 on isa
lpt0: Interrupt-driven port
lp0: TCP/IP capable interface
psm0 not found at 0x60
fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
fdc0: NEC 72065B
fd0: 1.44MB 3.5in
npx0 on motherboard
npx0: INT 16 interface
changing root device to sd0a

Here is the kernel configuration file:

machine		"i386"
#cpu		"I386_CPU"
#cpu		"I486_CPU"
cpu		"I586_CPU"
ident		FOO
maxusers	64

#options		MATH_EMULATE		#Support for x87 emulation
options		INET			#InterNETworking
options		FFS			#Berkeley Fast Filesystem
options		NFS			#Network Filesystem
options		MSDOSFS			#MSDOS Filesystem
options		"CD9660"		#ISO 9660 Filesystem
options		PROCFS			#Process filesystem
options		"COMPAT_43"		#Compatible with BSD 4.3
options		"SCSI_DELAY=15"		#Be pessimistic about Joe SCSI device
options		BOUNCE_BUFFERS		#include support for DMA bounce buffers
options		UCONSOLE		#Allow users to grab the console
options		MAXMEM="131072"		#we have more than 64M
options		SCSIDEBUG

options		USERCONFIG              #boot -c editor
options		VISUAL_USERCONFIG       #visual boot -c editor

options		SYSVSHM
options		SYSVSEM
options		SYSVMSG

config		kernel	root on wd0 

controller	isa0
controller	eisa0
controller	pci0

controller	fdc0	at isa? port "IO_FD1" bio irq 6 drq 2 vector fdintr
disk		fd0	at fdc0 drive 0
#disk		fd1	at fdc0 drive 1
#tape		ft0	at fdc0 drive 2

#controller	wdc0	at isa? port "IO_WD1" bio irq 14 vector wdintr
#disk		wd0	at wdc0 drive 0
#disk		wd1	at wdc0 drive 1

#controller	wdc1	at isa? port "IO_WD2" bio irq 15 vector wdintr
#disk		wd2	at wdc1 drive 0
#disk		wd3	at wdc1 drive 1

#options         ATAPI   #Enable ATAPI support for IDE bus
#device          wcd0    #IDE CD-ROM

#controller	ncr0
#controller	ahb0
controller	ahc0
controller	ahc1

#controller	bt0	at isa? port "IO_BT0" bio irq ? vector bt_isa_intr
#controller	uha0	at isa? port "IO_UHA0" bio irq ? drq 5 vector uhaintr
#controller	aha0	at isa? port "IO_AHA0" bio irq ? drq 5 vector ahaintr
#controller	aic0    at isa? port 0x340 bio irq 11 vector aicintr
#controller	nca0	at isa? port 0x1f88 bio irq 10 vector ncaintr
#controller	nca1	at isa? port 0x350 bio irq 5 vector ncaintr
#controller	sea0	at isa? bio irq 5 iomem 0xc8000 iosiz 0x2000 vector seaintr

controller	scbus0 at ahc0
controller	scbus1 at ahc1

device		sd0
device		st0
device		cd0	#Only need one of these, the code dynamically grows

disk		sd0 at scbus0 target 0 unit 0
disk		sd1 at scbus0 target 0 unit 1

#device		wt0	at isa? port 0x300 bio irq 5 drq 1 vector wtintr
#device		mcd0	at isa? port 0x300 bio irq 10 vector mcdintr
#controller	matcd0	at isa? port 0x230 bio
#device		scd0	at isa? port 0x230 bio

# syscons is the default console driver, resembling an SCO console
device		sc0	at isa? port "IO_KBD" tty irq 1 vector scintr
# Enable this and PCVT_FREEBSD for pcvt vt220 compatible console driver
#device		vt0	at isa? port "IO_KBD" tty irq 1 vector pcrint
#options		"PCVT_FREEBSD=210"	# pcvt running on FreeBSD 2.1
#options		XSERVER			# include code for XFree86
# If you have a ThinkPAD, uncomment this along with the rest of the PCVT lines
#options		PCVT_SCANSET=2		# IBM keyboards are non-std

# Mandatory, don't remove
device		npx0	at isa? port "IO_NPX" irq 13 vector npxintr

#
# Laptop support (see LINT for more options)
#
#device		apm0    at isa?		# Advanced Power Management
#options		APM_BROKEN_STATCLOCK	# Workaround some buggy APM BIOS

device		sio0	at isa? port "IO_COM1" tty irq 4 vector siointr
device		sio1	at isa? port "IO_COM2" tty irq 3 vector siointr
device		sio2	at isa? disable port "IO_COM3" tty irq 5 vector siointr
device		sio3	at isa? disable port "IO_COM4" tty irq 9 vector siointr

device		lpt0	at isa? port? tty irq 7 vector lptintr
#device		lpt1	at isa? port? tty
#device		mse0	at isa? port 0x23c tty irq 5 vector mseintr
device		psm0	at isa? port "IO_KBD" conflicts tty irq 12 vector psmintr

# Order is important here due to intrusive probes, do *not* alphabetize
# this list of network interfaces until the probes have been fixed.
# Right now it appears that the ie0 must be probed before ep0. See
# revision 1.20 of this file.
#device de0
device fxp0
#device vx0
#device ed0 at isa? port 0x280 net irq  5 iomem 0xd8000 vector edintr
#device ed1 at isa? port 0x300 net irq  5 iomem 0xd8000 vector edintr
#device ie0 at isa? port 0x360 net irq  7 iomem 0xd0000 vector ieintr
#device ep0 at isa? port 0x300 net irq 10 vector epintr
#device ix0 at isa? port 0x300 net irq 10 iomem 0xd0000 iosiz 32768 vector ixintr
#device le0 at isa? port 0x300 net irq 5 iomem 0xd0000 vector le_intr
#device lnc0 at isa? port 0x280 net irq 10 drq 0 vector lncintr
#device ze0 at isa? port 0x300 net irq 5 iomem 0xd8000 vector zeintr
#device zp0 at isa? port 0x300 net irq 10 iomem 0xd8000 vector zpintr

pseudo-device	loop
pseudo-device	ether
pseudo-device	log
pseudo-device	sl	1
# ijppp uses tun instead of ppp device
#pseudo-device	ppp	1
pseudo-device	tun	1
pseudo-device	pty	64
pseudo-device	gzip		# Exec gzipped a.out's

---
Richard Hwang                                             rhwang@bigpanda.com
Big Panda House                                       http://www.bigpanda.com



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