[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: INITIO INIC-940/950 SCSI



  どうも、桝田%ちょっと前に話をした人(多分)@阪大です

筒井さん> ちょっと前に話のあった INITIO の PCI SCSI ですが、
筒井さん> 先日中古で INIC-940 の安いのがあったので買ってきて
筒井さん> こちらでも OpenBSD の iha ドライバ持ってきていじってみました。

  いいかげんにやったあと、時間がなくてほったらかしになってました。

筒井さん> まだいろいろちゃんと書き換えないといけないところがあるとか
筒井さん> 同期転送が有効にならない(間違えてるのか default で無効なのか不明)
筒井さん> とか問題はありますがひとまず diff を
筒井さん> http://www.ceres.dti.ne.jp/~tsutsui/netbsd/iha.diff
筒井さん> に置いておきますので試してみて下さい。

  5/26 頃に anoncvs でひっぱってきた 1.5V なところに、上記 diff
を当てて、GENERIC に

iha? at pci? dev ? function ?
scsibus* at iha?

を追加して作ってみたのですが、

	(略, 手書きコピーなので(_o_))
scsibus0: waiting 2 seconds for devices to settle...
probe(iha0:0:4:0): invalid return code from adapter: 3
st0 at scsibus0 target 4 lun 0: <HP, C1533A, 9503> SCSI2 1/sequential removable
st0: st0(iha0:0:4:0): invalid return code from adapter: 3
drive empty
probe(iha0:0:4:1): invalid return code from adapter: 3
st0(iha0:0:4:0): invalid return code from adapter: 3
scsibus1: waiting 2 seconds for devices to settle...

と出たところで刺さりました。
  一応、scsibus1 には、CD-R(ID=5)とCD-ROM(ID=6)が繋がっています
が(本来の認識logはちょっと手元にありません(_o_))、そもそも、st0
の認識レベルでなんか変になって、しかも、LUN=1 を見に行こうとして
いる臭いですよねぇ……。
# adapter: 3 の数字は、xs->error とかの表示っぽいですが、enum だし…。

  ちょっとケーブル外してとかやってる余裕がなかったので、これ以
上はやってませんが。

  取り急ぎ、報告まで。
--
桝田 秀夫@情報科学科.基礎工学部.大阪大学[兼任](h-masuda@ics.es.osaka-u.ac.jp)

ちなみに、1.5S 時代の dmesg はこんな感じ。

NetBSD 1.5S (NAGISA-$Revision: 1.1.1.2 $-$NetBSD: 1.400 $) #6: Sun Mar 18 12:58:19 JST 2001
    h-masuda@nagisa.mangajian.net:/usr/src/sys/arch/i386/compile/NAGISA
cpu0: Intel Pentium III (Coppermine) Celeron (686-class), 699.55 MHz
cpu0: I-cache 16K 32b/line 4-way, D-cache 16K 32b/line 2/4-way
cpu0: L2 cache 128K 32b/line 4-way
cpu0: features 383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR>
cpu0: features 383f9ff<PGE,MCA,CMOV,FGPAT,PSE36,MMX,FXSR,XMM>
total memory = 446 MB
avail memory = 407 MB
using 5741 buffers containing 22964 KB of memory
biostramp installed @ 1000
BIOS32 rev. 0 found at 0xfb000
PCI BIOS rev. 2.1 found at 0xfb030
pcibios: config mechanism [1][x], special cycles [1][x], last bus 2
PCI IRQ Routing Table rev. 1.0 found at 0xfded0, size 176 bytes (9 entries)
PCI Interrupt Router at 000:31:0 (Intel 82371SB PCI-to-ISA Bridge (PIIX3))
PCI Exclusive IRQs: 5 11
mainbus0 (root)
pnpbios0 at mainbus0: code f0000, data f0000, entry ba10, control 0 eventp f0000
pnpbios0: nodes 19, max len 92
PNP0000 (io 20-21 a0-a1, irq 2) at pnpbios0 index 0 ignored
PNP0200 (io 0-f 81-83 87 89-8b 8f-91 c0-df, dma 4) at pnpbios0 index 1 ignored
PNP0100 (io 40-43, irq 0) at pnpbios0 index 2 ignored
PNP0B00 (io 70-71, irq 8) at pnpbios0 index 3 ignored
PNP0303 (io 60 64, irq 1) at pnpbios0 index 4 ignored
PNP0800 (io 61) at pnpbios0 index 5 ignored
PNP0C04 (io f0-ff, irq 13) at pnpbios0 index 6 ignored
INT0800 (mem ffb80000-ffbfffff) at pnpbios0 index 7 ignored
PNP0C01 (mem 0-9ffff ffb00000-ffb7ffff fff00000-ffffffff e0000-effff 100000-1befffff) at pnpbios0 index 8 ignored
PNP0C02 (mem f0000-f3fff f4000-f7fff f8000-fffff d3000-d3fff) at pnpbios0 index 9 ignored
PNP0A03 (io 294-297 4d0-4d1 cf8-cff 480-48f 4000-40f7) at pnpbios0 index 10 ignored
PNP0F13 (irq 12) at pnpbios0 index 11 ignored
PNP0C02 (io 3f0-3f1) at pnpbios0 index 13 ignored
PNP0501 (io 3f8-3ff, irq 4) at pnpbios0 index 14 ignored
PNP0700 (io 3f2-3f5, irq 6, dma 2) at pnpbios0 index 15 ignored
PNP0400 (io 378-37f 778-77b, irq 7) at pnpbios0 index 16 ignored
PNP0501 (io 2f8-2ff, irq 3) at pnpbios0 index 18 ignored
PNPB006 (io 290-291, irq 10) at pnpbios0 index 20 ignored
PNPB02F (io 209-20f 208) at pnpbios0 index 21 ignored
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled
pchb0 at pci0 dev 0 function 0
pchb0: Intel 82815 Hub (rev. 0x02)
pchb0: random number generator enabled, -2663Kb/s
vga1 at pci0 dev 2 function 0: Intel 82815 Graphics (rev. 0x02)
wsdisplay0 at vga1: console (80x25, vt100 emulation)
ppb0 at pci0 dev 30 function 0: Intel 82801BA Hub-to-PCI Bridge (rev. 0x01)
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled
sip0 at pci1 dev 0 function 0: SiS 900 10/100 Ethernet
sip0: interrupting at irq 11
sip0: Ethernet address 00:40:26:97:b8:2e
ukphy0 at sip0 phy 0: Generic IEEE 802.3u media interface
ukphy0: SiS 900 10/100 media interface (OUI 0x000760, model 0x0000), rev. 0
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
de0 at pci1 dev 1 function 0
de0: interrupting at irq 5
de0: 21143 [10-100Mb/s] pass 3.0
de0: address 00:00:c5:50:05:65
ppb1 at pci1 dev 2 function 0: Digital Equipment DECchip 21152 PCI-PCI Bridge (rev. 0x03)
pci2 at ppb1 bus 2
pci2: i/o space, memory space enabled
Initio INIC-950 SCSI (SCSI mass storage, revision 0x02) at pci2 dev 4 function 0 not configured
Initio INIC-950 SCSI (SCSI mass storage, revision 0x02) at pci2 dev 8 function 0 not configured
Texas Instruments TSB12LV22 OHCI IEEE 1394 Host Controller (Firewire serial bus, interface 0x10, revision 0x01) at pci1 dev 3 function 0 not configured
vr0 at pci1 dev 4 function 0: VIA VT3043 (Rhine) 10/100 Ethernet
vr0: interrupting at irq 11
vr0: Ethernet address: 00:30:43:00:1f:06
dmphy0 at vr0 phy 1: DM9101 10/100 media interface, rev. 2
dmphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
pciide0 at pci1 dev 5 function 0: Triones/Highpoint HPT366/370 IDE Controller (rev. 0x01)
pciide0: bus-master DMA support present
pciide0: primary channel wired to native-PCI mode
pciide0: using irq 5 for native-PCI interrupt
pciide1 at pci1 dev 5 function 1: Triones/Highpoint HPT366/370 IDE Controller (rev. 0x01)
pciide1: bus-master DMA support present
pciide1: primary channel wired to native-PCI mode
pciide1: using irq 5 for native-PCI interrupt
pcib0 at pci0 dev 31 function 0
pcib0: Intel 82801BA LPC Interface Bridge (rev. 0x01)
pciide2 at pci0 dev 31 function 1: Intel 82801BA IDE Controller (ICH2) (rev. 0x01)
pciide2: bus-master DMA support present
pciide2: primary channel wired to compatibility mode
wd0 at pciide2 channel 0 drive 0: <IBM-DTTA-351010>
wd0: drive supports 16-sector PIO transfers, LBA addressing
wd0: 9671 MB, 16383 cyl, 16 head, 63 sec, 512 bytes/sect x 19807200 sectors
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)
pciide2: primary channel interrupting at irq 14
wd0(pciide2:0:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA data transfers)
pciide2: secondary channel wired to compatibility mode
pciide2: disabling secondary channel (no drives)
uhci0 at pci0 dev 31 function 2: Intel 82801BA USB Controller (rev. 0x01)
uhci0: interrupting at irq 11
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
Intel 82801BA SMBus Controller (SMBus serial bus, revision 0x01) at pci0 dev 31 function 3 not configured
uhci1 at pci0 dev 31 function 4: Intel 82801BA USB Controller (rev. 0x01)
uhci1: interrupting at irq 11
usb1 at uhci1: USB revision 1.0
uhub1 at usb1
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
auich0 at pci0 dev 31 function 5: i82801BA (ICH2) AC-97 Audio
auich0: interrupting at irq 5
auich0: SigmaTel STAC9708 codec; 18 bit DAC, 18 bit ADC, Rockwell 3D
audio0 at auich0: full duplex, mmap, independent
isa0 at pcib0
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, working fifo
pckbc0 at isa0 port 0x60-0x64
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pmsiprobe: intellimode -> 6
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
lm0 at isa0 port 0x290-0x297: W83627HF
lpt0 at isa0 port 0x378-0x37b irq 7
lptprobe: mask ff data 55 failed
lptprobe: mask ff data 55 failed
seaprobe: board type unknown at address 0xc8000
pcppi0 at isa0 port 0x61
midi0 at pcppi0: PC speaker
spkr0 at pcppi0
sysbeep0 at pcppi0
isapnp0 at isa0 port 0x279: ISA Plug 'n Play device support
npx0 at isa0 port 0xf0-0xff: using exception 16
fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
isapnp0: no ISA Plug 'n Play devices found
apm0 at mainbus0: Power Management spec V1.2 (slowidle)
apm: 0 batteries, global standby, global suspend, rtimer standby, rtimer suspend, internal standby, internal suspend
biomask ef65 netmask ef65 ttymask ffe7
IPsec: Initialized Security Association Processing.
boot device: wd0
root on wd0a dumps on wd0b
mountroot: trying coda...
mountroot: trying msdos...
mountroot: trying cd9660...
mountroot: trying ntfs...
mountroot: trying nfs...
mountroot: trying lfs...
mountroot: trying ext2fs...
mountroot: trying ffs...
root file system type: ffs
init: copying out path `/sbin/init' 11