mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Martin J. Bligh" <mbligh@aracnet.com>
To: linux-kernel <linux-kernel@vger.kernel.org>
Subject: [Bug 466] New: SBP2 driver doesn't appear to register a block device?
Date: Mon, 17 Mar 2003 21:16:42 -0800	[thread overview]
Message-ID: <46120000.1047964602@[10.10.2.4]> (raw)

http://bugme.osdl.org/show_bug.cgi?id=466

           Summary: SBP2 driver doesn't appear to register a block device?
    Kernel Version: 2.5.65
            Status: NEW
          Severity: normal
             Owner: bcollins@debian.org
         Submitter: thoffman@arnor.net


Distribution: Red Hat 8.0
Hardware Environment: Single Processor Pentium III, details below
Software Environment: 
Problem Description: Loading ieee1394 SBP2 driver doesn't result in a usable
block device appearing.

Steps to reproduce: 
Attach firewire drive. 
Boot 2.5.65, load ieee1394, ohci1394, sbp2 modules.

The firewire to IDE bridge is correctly detected, as is the actual hard drive
attached to the bridge.  Everything seems to be fine, but the drive does not
show up in /proc/partitions, and I can't mount /dev/sda1.

(Under a 2.4.x kernel, /dev/sda and /dev/sda1 would show up at this point)

Here is more information: ieee1394 and SCSI settings from .config:

CONFIG_SCSI=m
CONFIG_BLK_DEV_SD=m
CONFIG_BLK_DEV_SR=m
CONFIG_CHR_DEV_SG=m

CONFIG_IEEE1394=m
CONFIG_IEEE1394_OHCI1394=m
CONFIG_IEEE1394_SBP2=m

dmesg after loading the modules has:

ohci1394_0: Unexpected PCI resource length of 1000!
ohci1394_0: OHCI-1394 1.0 (PCI): IRQ=[9]  MMIO=[e9000000-e90007ff]  Max
Packet=[2048]
ieee1394: Node added: ID:BUS[00:1023]  GUID[0004830000002cb3]  [Unknown] (Oxford  )
ieee1394: Host added: ID:BUS[01:1023]  GUID[0030dd8000505e29]  [Unknown] (Linux
OHCI-1394)

SCSI subsystem initialized
scsi0 : SCSI emulation for for IEEE-1394 Storage Devices
ieee1394: sbp2: Logged into SBP-2 device
ieee1394: sbp2: Node[00:1023]: Max speed [S400] - Max payload [2048]
  Vendor: WDC WD12  Model: 00JB-00CRA1       Rev:
  Type:   Direct-Access                      ANSI SCSI revision: 06

- - -
thoffman@rohan linux-2.5.65]$ cat /proc/partitions
major minor  #blocks  name

   3     0   60030432 hda
   3     1    1052226 hda1
   3     2    5245222 hda2
   3     3    1052257 hda3
   3     4          1 hda4
   3     5     522081 hda5
   3     6     522081 hda6
   3     7   51632878 hda7

cat /proc/bus/ieee1394/devices
Node[00:1023]  GUID[0004830000002cb3]:
  Vendor ID   : `Unknown' [0x000483]
  Vendor text : `Oxford  '
  Capabilities: 0x0083c0
  Tlabel stats:
    Free  : 64
    Total : 66
    Mask  : 0000000000000000
  Bus Options :
    IRMC(0) CMC(0) ISC(0) BMC(0) PMC(0) GEN(0)
    LSPD(0) MAX_REC(64) CYC_CLK_ACC(255)
  Unit Directory 0:
    Vendor/Model ID  : Oxford   [000483] / 911D [000001]
    Software Spec ID : 00609e
    Software Version : 010483
    Driver           : SBP2 Driver
    Length (in quads): 8
Node[01:1023]  GUID[0030dd8000505e29]:
  Vendor ID   : `Unknown' [0x000000]
  Vendor text : `Linux OHCI-1394'
  Capabilities: 0x0083c0
  Tlabel stats:
    Free  : 64
    Total : 23
    Mask  : 0000000000000000
  Bus Options :
    IRMC(1) CMC(1) ISC(1) BMC(0) PMC(0) GEN(0)
    LSPD(2) MAX_REC(2048) CYC_CLK_ACC(0)
  Host Node Status:
    Host Driver     : ohci1394
    Nodes connected : 2
    Nodes active    : 2
    SelfIDs received: 2
    Irm ID          : [01:1023]
    BusMgr ID       : [63:1023]
    In Bus Reset    : no
    Root            : yes
    Cycle Master    : yes
    IRM             : yes
    Bus Manager     : no

cat scsi/sbp2/0
Host scsi0             : SBP-2 IEEE-1394 (ohci1394)
Driver version         : $Rev: 797 $ James Goodwin <jamesg@filanet.com>

Module options         :
  sbp2_max_speed       : S400
  sbp2_max_sectors     : 255
  sbp2_serialize_io    : no
  sbp2_exclusive_login : yes

Attached devices       :
  [Channel: 00, Id: 00, Lun: 00]  Direct-Access     WDC WD12 00JB-00CRA1

- - - - -
$ cat /proc/scsi/scsi

Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
  Vendor: WDC WD12 Model: 00JB-00CRA1      Rev:
  Type:   Direct-Access                    ANSI SCSI revision: 06

- - - - -
$ cat /proc/devices
[cut char devices]
Block devices:
  1 ramdisk
  3 ide0
  7 loop
 22 ide1



             reply	other threads:[~2003-03-18  5:05 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-18  5:16 Martin J. Bligh [this message]
     [not found] <200303180430.h2I4UMW20016@bugme.osdl.org>
2003-05-07  6:11 ` Torrey Hoffman
2003-05-07  5:49   ` Ben Collins

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='46120000.1047964602@[10.10.2.4]' \
    --to=mbligh@aracnet.com \
    --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

all inboxes | Powered by JetHome®