Subject: IEEE 1394 status on amd64 ?
To: NetBSD amd64 <port-amd64@netbsd.org>
From: Nicolas Joly <njoly@pasteur.fr>
List: port-amd64
Date: 03/17/2004 17:12:05
Hi,
I just got a new amd64 workstation (Tyan S2885 motherboard with two
246 Opterons CPUs ...), and noticed that this machine has onboard
firewire controller.
I added ieee1394 kernel support with the following lines (borrowed
from i386 GENERIC kernel) :
# PCI IEEE1394 controllers
fwohci* at pci? dev ? function ? # IEEE1394 Open Host Controller
fw* at fwbus? # IP over 1394
# IEEE1394 nodes
fwnode* at fwbus? idhi ? idlo ?
sbpscsi* at fwnode?
scsibus* at sbpscsi?
The controller seems to be correctly detected :
fwohci0 at pci1 dev 12 function 0: Texas Instruments TSB43AA22/A OHCI IEEE 1394 Host Controller (rev. 0x00)
fwohci0: interrupting at ioapic0 pin 19 (irq 9)
fwohci0: OHCI 1.1, 00:e0:81:00:00:30:12:13, 400Mb/s, 2048 max_rec, 4 ir_ctx, 8 it_ctx
When i plug/unplug a small firewire camera :
fwnode0 at fwohci0 Node 0: UID 00:0a:27:00:04:02:1b:87
fwnode0 detached
But problem arise with mass storage devices (iPod, CD-Writer) :
fwnode0 at fwohci0 Node 1: UID 00:0a:27:00:02:04:bb:5e
fwnode0: Link Speed: 400Mb/s, max_rec: 2048 bytes
uvm_fault(0xffffffff808dec80, 0x900000000, 0, 2) -> e
kernel: page fault trap, code=0
Stopped in pid 10.1 (fwohci0) at netbsd:sbp2_abort+0x1c:
db{0}> bt
sbp2_abort() at netbsd:sbp2_abort+0x1c
sbp2_free() at netbsd:sbp2_free+0x41
sbpscsi_match() at netbsd:sbpscsi_match+0x79
mapply() at netbsd:mapply+0x29
config_search() at netbsd:config_search+0x93
config_found_sm() at netbsd:config_found_sm+0x2b
p1212_match_units() at netbsd:p1212_match_units+0x71
fwnode_configrom_input() at netbsd:fwnode_configrom_input+0x217
fwohci_read_resp() at netbsd:fwohci_read_resp+0x134
fwohci_arrs_input() at netbsd:fwohci_arrs_input+0x86
fwohci_event_thread() at netbsd:fwohci_event_thread+0x2bc
fwohci_thread_init() at netbsd:fwohci_thread_init+0x219
And the question is ... What is the ieee1394 status under NetBSD
-current, and especially for amd64 ?
--
Nicolas Joly
Biological Software and Databanks.
Institut Pasteur, Paris.