From: Bob Gill <gillb4@telusplanet.net>
To: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: drivers/ieee1394/sbp2.c:734: error: `host' undeclared (first use in this function) 2.6.3-bk3
Date: Sun, 22 Feb 2004 00:18:03 -0700 [thread overview]
Message-ID: <1077434283.4023.15.camel@localhost.localdomain> (raw)
Ok. I rebuilt the kernel 3 times. I built it twice with the following
change in sbp2.c:727
#ifdef CONFIG_IEEE1394_SBP2_PHYS_DMA
/* Handle data movement if physical dma is not
* enabled/supportedon host controller */
hpsb_register_addrspace(&sbp2_highlevel,
hi->host, &sbp2_physdma_ops,
0x0ULL, 0xfffffffcULL);
#endif
(twice to confirm that the kernel builds without throwing any errors).
It builds sbp2. I then removed the patch and built with my build script
set as:
# CONFIG_IEEE1394_SBP2_PHYS_DMA is not set
----------------------------------------------
both build all of the 1394 modules. Unfortunately, neither change gives
me devices in /proc/scsi/scsi (or /proc/partitions) with 2.6,3-bk3.
/var/log/messages doesn't show much about what is going on, but dmesg
shows:
kudzu: numerical sysctl 1 23 is obsolete.
SCSI subsystem initialized
ohci1394: $Rev: 1131 $ Ben Collins <bcollins@debian.org>
ohci1394: fw-host0: OHCI-1394 1.0 (PCI): IRQ=[9]
MMIO=[eb005000-eb0057ff] Max
Packet=[2048]
kudzu: numerical sysctl 1 49 is obsolete.
ip_conntrack version 2.1 (8191 buckets, 65528 max) - 296 bytes per
conntrack
ieee1394: Node added: ID:BUS[0-00:1023] GUID[080046010203ab38]
ieee1394: Node added: ID:BUS[0-01:1023] GUID[0030e000e0000b39]
ieee1394: Node added: ID:BUS[0-02:1023] GUID[0030e000e0000ae3]
ieee1394: Host added: ID:BUS[0-03:1023] GUID[001106001a250051]
eth0: Media Link On 10mbps half-duplex
raw1394: /dev/raw1394 device initialized
video1394: Installed video1394 module
------------a cut and paste of what I get---------------
[root@localhost root]# cat /proc/scsi/scsi
Attached devices:
[root@localhost root]#
[root@localhost root]# lsmod | grep ieee
ieee1394 88628 4 video1394,dv1394,raw1394,ohci1394
[root@localhost root]#
[root@localhost root]# cat /proc/partitions
major minor #blocks name
3 0 20010312 hda
3 1 30208 hda1
3 2 1050840 hda2
3 3 18922680 hda3
3 64 80043264 hdb
3 65 80035798 hdb1
[root@localhost root]#
[root@localhost udev]# ls /udev/sd*
/udev/sda /udev/sda1 /udev/sdb /udev/sdb1 /udev/sdc /udev/sdc1
[root@localhost udev]#
[root@localhost udev]# od /udev/sda
od: /udev/sda: No such device or address
[root@localhost udev]#
[root@localhost devices]# ls /sys/bus/ieee1394/devices
001106001a250051 0030e000e0000b39 080046010203ab38-0
0030e000e0000ae3 080046010203ab38 fw-host0
[root@localhost devices]#
[root@localhost fw-host0]# cat
/sys/bus/ieee1394/devices/fw-host0/node_count
4
[root@localhost fw-host0]#
[root@localhost fw-host0]# cat
/sys/bus/ieee1394/devices/fw-host0/nodes_active
4
[root@localhost fw-host0]#
[root@localhost fw-host0]# cat
/sys/bus/ieee1394/devices/fw-host0/is_root
1
[root@localhost fw-host0]#
[root@localhost fw-host0]# cat
/sys/bus/ieee1394/devices/fw-host0/is_busmgr
0
[root@localhost fw-host0]#
[root@localhost fw-host0]# cat
/sys/bus/ieee1394/devices/fw-host0/in_bus_reset
0
[root@localhost fw-host0]#
Both of the changes allow the kernel to build, but neither gives me
devices. 2.6.3-bk2 gives me:
[bob@localhost bob]$ cat /proc/partitions
major minor #blocks name
3 0 20010312 hda
3 1 30208 hda1
3 2 1050840 hda2
3 3 18922680 hda3
3 64 80043264 hdb
3 65 80035798 hdb1
8 0 134217727 sda
8 1 134215011 sda1
8 16 134217727 sdb
8 17 134215011 sdb1
[bob@localhost bob]$
Thanks for your replies.
Please email me off the list if you need more information or need me to
do any testing. Also, my PCI hardware is:
00:0d.0 FireWire (IEEE 1394): VIA Technologies, Inc. IEEE 1394 Host
Controller (rev 43)
(and the controller in the devices are Oxford Semi FW900's.)
Thanks,
Bob
next reply other threads:[~2004-02-22 7:15 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-02-22 7:18 Bob Gill [this message]
-- strict thread matches above, loose matches on Subject: below --
2004-02-27 20:57 drivers/ieee1394/sbp2.c:734: error: `host' undeclared (first use in this function) 2.6.3-bk3 Bob Gill
2004-02-27 15:07 Brad Davidson
2004-02-27 16:21 ` Dave Jones
2004-02-21 21:36 Bob Gill
2004-02-22 0:21 ` Ben Collins
2004-02-22 1:04 ` Dave Jones
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1077434283.4023.15.camel@localhost.localdomain \
--to=gillb4@telusplanet.net \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox