Subject: replace request from ieee1394(4) to firewire(4)
To: None <itojun@NetBSD.org, fvdl@NetBSD.org, lukem@NetBSD.org,>
From: magician <magician@bc.iij4u.or.jp>
List: port-alpha
Date: 09/16/2004 01:17:46
----Next_Part(Thu_Sep_16_01:17:46_2004_031)--
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Dear itojun, Frank, Luke, Christos,
and all people.


I have dissatisfaction in ieee1394(4). It is because it is not maintained
at all. However, firewire(4) of FreeBSD is operating. I decided to use
firewire(4) by NetBSD.

  http://www.kk.iij4u.or.jp/~kiyohara/firewire/

  http://www.kk.iij4u.or.jp/~kiyohara/firewire/00README   <-- see


The following can already be used now.

  HDD		  ... sbp(4)
  Fake Ethernet   ... fwe(4)
  DV capture


The following are testing.

  fwmem(4)        ...         : I am not detailed about kvm(4).
  Ethernet        ... fwip(4) : can't use TCP


It checked. port is as follows.

  i386			... OK
  macppc		... OK
  alpha			... OK
  cobalt		... OK
  sgipms		... don't work
  evbppc (OpenBlockS266)... don't work


A problem is as follows.

  1. It cannot mount as root disk now.
  2. A unit number cannot be specified statically configuration.
  3. It is commit waiting of the DMA relation of FreeBSD
  4. There is too much '#if' and it is hard to see. ;-)

  etc...


I request the replacement to firewire(4) from ieee1394(4).
Is there any problem ?

# If possible, please give me commitment authority. ;-)
# I maintain.
--
kiyohara


----Next_Part(Thu_Sep_16_01:17:46_2004_031)--
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Disposition: inline; filename="i386.boot"

NetBSD 2.0G (HIGHPRIESTESS) #0: Mon Sep 13 11:06:22 JST 2004
	lance@highpriestess.fool:/sys/arch/i386/compile/HIGHPRIESTESS
total memory = 510 MB
avail memory = 496 MB
BIOS32 rev. 0 found at 0xf0bf0
mainbus0 (root)
cpu0 at mainbus0: (uniprocessor)
cpu0: Intel Pentium III (686-class), 1005.07 MHz, id 0x686
cpu0: features 383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR>
cpu0: features 383f9ff<PGE,MCA,CMOV,PAT,PSE36,MMX>
cpu0: features 383f9ff<FXSR,SSE>
cpu0: I-cache 16 KB 32B/line 4-way, D-cache 16 KB 32B/line 4-way
cpu0: L2 cache 256 KB 32B/line 8-way
cpu0: ITLB 32 4 KB entries 4-way, 2 4 MB entries fully associative
cpu0: DTLB 64 4 KB entries 4-way, 8 4 MB entries 4-way
cpu0: 8 page colors
pnpbios0 at mainbus0: nodes 17, max len 126
com0 at pnpbios0 index 2 (PNP0501)
com0: io 3f8-3ff, irq 4
com0: ns16550a, working fifo
com1 at pnpbios0 index 3 (PNP0501)
com1: io 2f8-2ff, irq 3
com1: ns16550a, working fifo
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
pchb0 at pci0 dev 0 function 0
pchb0: Intel 82815 Hub (rev. 0x02)
pchb0: random number generator enabled
agp0 at pchb0: aperture at 0xf8000000, size 0x4000000
vga0 at pci0 dev 2 function 0: Intel 82815 Graphics (rev. 0x02)
wsdisplay0 at vga0 kbdmux 1: console (80x25, vt100 emulation)
wsmux1: connecting to wsdisplay0
ppb0 at pci0 dev 30 function 0: Intel 82801BA Hub-PCI Bridge (rev. 0x01)
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled
cmdide0 at pci1 dev 9 function 0
cmdide0: Silicon Image 0680 (rev. 0x01)
cmdide0: bus-master DMA support present
cmdide0: primary channel configured to native-PCI mode
cmdide0: using irq 9 for native-PCI interrupt
atabus0 at cmdide0 channel 0
cmdide0: secondary channel configured to native-PCI mode
atabus1 at cmdide0 channel 1
bktr0 at pci1 dev 11 function 0
bktr0: interrupting at irq 9
bktr0: Pinnacle/Miro TV, Temic NTSC tuner.
Brooktree Bt878 Video Capture (Audio Section) (miscellaneous multimedia, revision 0x11) at pci1 dev 11 function 1 not configured
eap0 at pci1 dev 12 function 0: Ensoniq AudioPCI (rev. 0x01)
eap0: interrupting at irq 9
audio0 at eap0: full duplex, mmap, independent
midi0 at eap0: AudioPCI MIDI UART
fwohci0 at pci1 dev 13 function 0: VIA Technologies VT3606 IEEE 1394 Host Controller (rev. 0x43)
fwohci0: interrupting at irq 9
fwohci0: OHCI version 1.0 (ROM=1)
fwohci0: No. of Isochronous channels is 8.
fwohci0: EUI64 0c:10:11:00:00:00:04:6d
fwohci0: Phy 1394a available S400, 3 ports.
fwohci0: Link S100, max_rec 2 bytes.
fwohci0: max_rec 2 -> 2048
firewire0 at fwohci0: IEEE1394(FireWire) bus
sbp0 at firewire0: SBP-2/SCSI over FireWire
fwip0 at firewire0: IP over FireWire
fwohci0: Initiate bus reset
ex0 at pci1 dev 14 function 0: 3Com 3c905-TX 10/100 Ethernet (rev. 0x0)
ex0: interrupting at irq 5
ex0: MAC address 00:60:97:21:23:b4
nsphy0 at ex0 phy 24: DP83840 10/100 media interface, rev. 0
nsphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
pcib0 at pci0 dev 31 function 0
pcib0: Intel 82801BA LPC Interface Bridge (rev. 0x01)
piixide0 at pci0 dev 31 function 1
piixide0: Intel 82801BA IDE Controller (ICH2) (rev. 0x01)
piixide0: bus-master DMA support present
piixide0: primary channel wired to compatibility mode
piixide0: primary channel interrupting at irq 14
atabus2 at piixide0 channel 0
piixide0: secondary channel wired to compatibility mode
piixide0: secondary channel interrupting at irq 15
atabus3 at piixide0 channel 1
uhci0 at pci0 dev 31 function 2: Intel 82801BA USB Controller (rev. 0x01)
uhci0: interrupting at irq 9
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 9
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
isa0 at pcib0
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
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
pcppi0 at isa0 port 0x61
midi1 at pcppi0: PC speaker
sysbeep0 at pcppi0
npx0 at isa0 port 0xf0-0xff: using exception 16
fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
apm0 at mainbus0: Power Management spec V1.2
fwohci0: node_id=0xc800ffc0, gen=1, CYCLEMASTER mode
firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me)
firewire0: bus manager 0 (me)
fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
uhub2 at uhub1 port 2
uhub2: ALCOR Generic USB Hub, class 9/0, rev 1.10/1.00, addr 2
uhub2: 4 ports with 4 removable, self powered
wd0 at atabus0 drive 0: <IC35L120AVV207-0>
wd0: drive supports 16-sector PIO transfers, LBA48 addressing
wd0: 115 GB, 239340 cyl, 16 head, 63 sec, 512 bytes/sect x 241254720 sectors
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
wd0(cmdide0:0:0): using PIO mode 4, Ultra-DMA mode 5 (Ultra/100) (using DMA data transfers)
wd1 at atabus1 drive 0: <IC35L120AVV207-0>
wd1: drive supports 16-sector PIO transfers, LBA48 addressing
wd1: 115 GB, 239340 cyl, 16 head, 63 sec, 512 bytes/sect x 241254720 sectors
wd1: 32-bit data port
wd1: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
wd1(cmdide0:1:0): using PIO mode 4, Ultra-DMA mode 5 (Ultra/100) (using DMA data transfers)
wd2 at atabus2 drive 0: <QUANTUM FIREBALLP KA9.1>
wd2: drive supports 16-sector PIO transfers, LBA addressing
wd2: 8809 MB, 17898 cyl, 16 head, 63 sec, 512 bytes/sect x 18041184 sectors
wd2: 32-bit data port
wd2: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 4 (Ultra/66)
wd2(piixide0:0:0): using PIO mode 4, Ultra-DMA mode 4 (Ultra/66) (using DMA data transfers)
atapibus0 at atabus3: 2 targets
cd0 at atapibus0 drive 0: <TOSHIBA DVD-ROM SD-R5002, 53RD704080, 1M31> cdrom removable
cd0: 32-bit data port
cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)
sd0 at atapibus0 drive 1: <IOMEGA  ZIP 100       ATAPI       Flopp, , 14.A> disk removable
sd0: drive offline
sd0: 32-bit data port
cd0(piixide0:1:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA data transfers)
sd0(piixide0:1:1): using PIO mode 3
sd0(piixide0:1:1): not ready, data = 00 00 00 00 3a 00 00 00 00 00 ff fe 01 00 00 00 00 00
sd0(piixide0:1:1): not ready, data = 00 00 00 00 3a 00 00 00 00 00 ff fe 01 00 00 00 00 00
boot device: wd2
root on wd2a dumps on wd2b
root file system type: ffs
wsdisplay0: screen 1 added (80x25, vt100 emulation)
wsdisplay0: screen 2 added (80x25, vt100 emulation)
wsdisplay0: screen 3 added (80x25, vt100 emulation)
wsdisplay0: screen 4 added (80x25, vt100 emulation)
fwohci0: BUS reset
fwohci0: node_id=0x8800ffc0, gen=2, non CYCLEMASTER mode
firewire0: 2 nodes, maxhop <= 1, cable IRM = 0 (me)
firewire0: root node is not cycle master capable
firewire0: bus manager 0 (me)
fwohci0: BUS reset
fwohci0: node_id=0xc800ffc1, gen=3, CYCLEMASTER mode
firewire0: 2 nodes, maxhop <= 1, cable IRM = 1 (me)
firewire0: bus manager 1 (me)
firewire0: New S400 device ID:00d04b0100010148
scsibus0 at sbp0 channel 0: 1 target, 1 lun per target
sd1 at scsibus0 target 0 lun 0: <NOVAC CO, IDE Device LUN 0, 0137> simplified direct fixed
sd1: 29314 MB, 29314 cyl, 64 head, 32 sec, 512 bytes/sect x 60036480 sectors

----Next_Part(Thu_Sep_16_01:17:46_2004_031)--
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Disposition: inline; filename="macppc.boot"

NetBSD 2.0G (HIEROPHANT) #0: Sun Aug 29 02:41:03 JST 2004
	lance@highpriestess.fool:/usr/src/sys/arch/macppc/compile/HIEROPHANT
total memory = 448 MB
avail memory = 429 MB
mainbus0 (root)
cpu0 at mainbus0: 7400 (Revision 2.9), ID 0 (primary)
cpu0: HID0 8094c0a4<EMCP,DOZE,DPM,EIEC,ICE,DCE,SGE,BTIC,BHT>
cpu0: 400.00 MHz, no-parity 1MB WB L2 cache (PB SRAM) at 2:1 ratio
uninorth0 at mainbus0
pci0 at uninorth0 bus 0
pci0: i/o space, memory space enabled
pchb0 at pci0 dev 11 function 0
pchb0: Apple Computer UniNorth AGP Interface (rev. 0x00)
ofb0 at pci0 dev 16 function 0: ATI Technologies Rage Fury MAXX AGP 4x (TMDS)
ofb0: 640 x 480, 8bpp
wsdisplay0 at ofb0 kbdmux 1: console (std, vt100 emulation)
wsmux1: connecting to wsdisplay0
uninorth1 at mainbus0
pci1 at uninorth1 bus 0
pci1: i/o space, memory space enabled
pchb1 at pci1 dev 11 function 0
pchb1: Apple Computer UniNorth Host-PCI Bridge (rev. 0x00)
ppb0 at pci1 dev 13 function 0: Digital Equipment DC21154 PCI-PCI Bridge (rev. 0x05)
pci2 at ppb0 bus 1
pci2: i/o space, memory space enabled
bktr0 at pci2 dev 2 function 0
bktr0: interrupting at irq 52
bktr0: IMS TV Turbo, Philips FR1236 NTSC FM tuner.
radio0 at bktr0
obio0 at pci2 dev 7 function 0: addr 0x80000000
zsc0 at obio0 offset 0x13000: irq 22,50
zstty0 at zsc0 channel 0
zstty1 at zsc0 channel 1
awacs0 at obio0 offset 0x14000: irq 24,9,10
audio0 at awacs0: full duplex
adb0 at obio0 offset 0x16000 irq 47: pm_adb_op: timeout. command = 0x0
0 targets
aed0 at adb0 addr 0: ADB Event device
apm0 at adb0: battery flags 0x9, 0% charged
wdc0 at obio0 offset 0x1f000 irq 19: DMA transfer
atabus0 at wdc0 channel 0
wdc1 at obio0 offset 0x20000 irq 20: DMA transfer
atabus1 at wdc1 channel 0
wdc2 at obio0 offset 0x21000 irq 21: DMA transfer
atabus2 at wdc2 channel 0
ohci0 at pci2 dev 8 function 0: Apple Computer KeyLargo USB Controller (rev. 0x00)
ohci0: interrupting at irq 27
ohci0: OHCI version 1.0
usb0 at ohci0: USB revision 1.0
uhub0 at usb0
uhub0: Apple Computer OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
ohci1 at pci2 dev 9 function 0: Apple Computer KeyLargo USB Controller (rev. 0x00)
ohci1: interrupting at irq 28
ohci1: OHCI version 1.0
usb1 at ohci1: USB revision 1.0
uhub1 at usb1
uhub1: Apple Computer OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
fwohci0 at pci2 dev 10 function 0: Texas Instruments TSB12LV23 IEEE 1394 Host Controller (rev. 0x00)
fwohci0: interrupting at irq 63
fwohci0: OHCI version 1.0 (ROM=0)
fwohci0: No. of Isochronous channels is 4.
fwohci0: EUI64 00:30:65:ff:fe:7a:94:76
fwohci0: Phy 1394a available S400, 3 ports.
fwohci0: Link S400, max_rec 2048 bytes.
firewire0 at fwohci0: IEEE1394(FireWire) bus
sbp0 at firewire0: SBP-2/SCSI over FireWire
fwip0 at firewire0: IP over FireWire
fwohci0: Initiate bus reset
uninorth2 at mainbus0
pci3 at uninorth2 bus 0
pci3: i/o space, memory space enabled
pchb2 at pci3 dev 11 function 0
pchb2: Apple Computer UniNorth Host-PCI Bridge (rev. 0x00)
gem0 at pci3 dev 15 function 0: Apple Computer GMAC Ethernet (rev. 0x01)
gem0: interrupting at irq 41
gem0: Ethernet address 00:30:65:7a:94:76, 10KB RX fifo, 4KB TX fifo
bmtphy0 at gem0 phy 0: BCM5201 10/100 media interface, rev. 2
bmtphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fwohci0: node_id=0xc800ffc1, gen=1, CYCLEMASTER mode
firewire0: 2 nodes, maxhop <= 1, cable IRM = 1 (me)
firewire0: bus manager 1 (me)
firewire0: New S400 device ID:0040260312011169
uhub2 at uhub1 port 1
uhub2: Mitsumi Electric Hub in Apple USB Keyboard, class 9/0, rev 1.10/2.11, addr 2
uhub2: 3 ports with 2 removable, bus powered
scsibus0 at sbp0 channel 0: 1 target, 1 lun per target
cd0 at scsibus0 target 0 lun 0: <GENERIC, CRD-BP1700P, 1.01> cdrom removable
uhidev0 at uhub2 port 1 configuration 1 interface 0
uhidev0: Mitsumi Electric Apple USB Keyboard, rev 1.00/1.03, addr 3, iclass 3/1
ukbd0 at uhidev0
wskbd1 at ukbd0: console keyboard, using wsdisplay0
wd0 at atabus0 drive 0: <IBM-DTTA-351010>
wd0: drive supports 16-sector PIO transfers, LBA addressing
wd0: 9671 MB, 19650 cyl, 16 head, 63 sec, 512 bytes/sect x 19807200 sectors
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)
wd0(wdc0:0:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33) (using DMA data transfers)
atapibus0 at atabus1: 2 targets
cd1 at atapibus0 drive 0: <MATSHITADVD-ROM SR-8585, , 1A30> cdrom removable
cd1: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)
cd1(wdc1:0:0): using PIO mode 4, DMA mode 2 (using DMA data transfers)
uhidev1 at uhub2 port 2 configuration 1 interface 0
uhidev1: Mitsumi Apple USB Mouse, rev 1.00/5.05, addr 4, iclass 3/1
ums0 at uhidev1: 1 button
wsmouse1 at ums0 mux 0
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs

----Next_Part(Thu_Sep_16_01:17:46_2004_031)----