[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Initio IOI-9x00
どうも、桝田@阪大です。
>> で、これ(Initio を NetBSD で動かしてみている)って誰かがやって
>> たりするとか、やっても無駄とか、そういうふうな情報はないでしょう
>> か?
tsutsui> 最近になって OpenBSD に iha ドライバとして入ったようです。
> http://www.openbsd.org/cgi-bin/cvsweb/src/sys/dev/ic/iha.c
> http://www.openbsd.org/cgi-bin/cvsweb/src/sys/dev/ic/iha.h
> http://www.openbsd.org/cgi-bin/cvsweb/src/sys/dev/pci/iha_pci.c
おお。
tsutsui> ぱっとみたところ結構まともに書き直してある感じで、
tsutsui> bus_dma も bus_space も使うようになっているので
tsutsui> scsipi まわりと bus_dmamap_sync まわりだけ NetBSD 用に
tsutsui> 書き換えたら結構簡単に動かせるんじゃないかという気がします。
timeout_{set,add,del} まわりとかでちょっとつまずきつつ、
とりあえず compile だけ通るようにしてみたところ、なんとな
く認識はされましたが、SCSI TAPE や SCSI CD-ROM が全部 sd
になってしまうので、まだまだ修行が足りないようです。
tsutsui> #やるなら thorpej-scsipi が merge される前に ;-)
もうちょっと頑張ってみますです。
# もっと他のところもきちんと読み下さないと。
# とりあえず、siop.c あたりを参考にしてますが、もっといい参考コード
があれば教えて下さい。
--
桝田 秀夫@情報科学科.基礎工学部.大阪大学[兼任](h-masuda@ics.es.osaka-u.ac.jp)
NetBSD 1.5S (GENERIC-$Revision: 1.2 $-$NetBSD: 1.400 $) #3: Mon Apr 2 21:52:24 JST 2001
h-masuda@moe.ootani.nagata.kobe.jp:/usr/src/sys/arch/i386/compile/MOE
cpu0: Intel Pentium III (Coppermine) Celeron (686-class), 699.54 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 = 190 MB
avail memory = 170 MB
using 2464 buffers containing 9856 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-befffff) 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, -3990Kb/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
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
iha0 at pci2 dev 4 function 0: irq 11
scsibus0 at iha0 channel 0: 17 targets, 8 luns per target
iha1 at pci2 dev 8 function 0: irq 11
scsibus1 at iha1 channel 0: 17 targets, 8 luns per target
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
scsibus0: waiting 2 seconds for devices to settle...
sd0 at scsibus0 target 4 lun 0: <, , > SCSI0 0/direct fixed
sd0: drive offline
de0: enabling 10baseT port
scsibus1: waiting 2 seconds for devices to settle...
sd1 at scsibus1 target 5 lun 0: <, , > SCSI0 0/direct fixed
sd1: drive offline
sd2 at scsibus1 target 6 lun 0: <, , > SCSI0 0/direct fixed
sd2: drive offline
raidattach: Asked for 4 units
Kernelized RAIDframe activated
Searching for raid components...
IPsec: Initialized Security Association Processing.
findroot: can't open dev sd0a (19)
findroot: can't open dev sd1a (19)
findroot: can't open dev sd2a (19)
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 flags `-s' 3
init: copying out path `/sbin/init' 11