[prev in list] [next in list] [prev in thread] [next in thread]
List: linux1394-user
Subject: External DVD writer with SBP2 aborts/resets
From: Nicolas Will <nico () rdo ! homelinux ! org>
Date: 2003-12-12 4:58:14
[Download RAW message or body]
Hi,
I have trouble seting up my external DVD writer on my personnal home server.
It apparently looks much like the same problem as this gentleman:
http://sourceforge.net/mailarchive/forum.php?thread_id=2979479&forum_id=5387
Following is as much info I though would be needed to help.
Nico
nico@rdo.homelinux.org
http://rdo.homelinux.org
Hi Ben Collins ! I'm the same Nico as on the debian-sparc ML :o)
SYSTEM INFO
===========
Web/mail server (apache, mysql, php4, exim, courier-imap)
Motherboard: VIA M 10000
CPU: Via C3-2 (Nehemiah core)
Memory: 256 MB
IEEE1394 controller: VIA VT6307S IEEE 1394 Firewire
kernel 2.4.23 - stock kernel.org with VIA Random Generator patch (bigger
fetches)
Debian GNU/Linux 3.0 woody (stable, not backports)
Cdrecord 1.10
Sony DVD-+R/RW IDE DVD Writer in external IEEE1394 enclosure that would
be used for server backups on DVD+RW
KERNEL CONF (detailed .config can be provided if needed)
==========
generic SCSI and SCSI CDROM built hard in kernel, no low-level-driver
ide-scsi used for built-in cd-R/RW
will@derasa:/boot$ egrep "SCSI|IEEE|_SR"
/boot/config-2.4.23-fast-nehemiah-rng | grep -v "^#"
CONFIG_BLK_DEV_IDESCSI=y
CONFIG_SCSI=y
CONFIG_BLK_DEV_SR=y
CONFIG_SR_EXTRA_DEVS=2
CONFIG_SCSI_DEBUG_QUEUES=y
CONFIG_SCSI_MULTI_LUN=y
CONFIG_IEEE1394=m
CONFIG_IEEE1394_OHCI1394=m
CONFIG_IEEE1394_VIDEO1394=m
CONFIG_IEEE1394_SBP2=m
CONFIG_IEEE1394_ETH1394=m
CONFIG_IEEE1394_DV1394=m
CONFIG_IEEE1394_RAWIO=m
INSERTING MODULES
================
will@derasa:~$ sudo modprobe ieee1394
will@derasa:~$ sudo modprobe ohci1394
will@derasa:~$ sudo modprobe sbp2
in dmesg
ohci1394: $Rev: 1045 $ Ben Collins <bcollins@debian.org>
ohci1394_0: OHCI-1394 1.0 (PCI): IRQ=[12] MMIO=[e6400000-e64007ff] Max
Packet=[2048]
ieee1394: Host added: ID:BUS[0-00:1023] GUID[004063f000000426]
ieee1394: Node added: ID:BUS[0-01:1023] GUID[0001a30050050c94]
ieee1394: The root node is not cycle master capable; selecting a new
root node and resetting...
ieee1394: Node changed: 0-01:1023 -> 0-00:1023
ieee1394: Node changed: 0-00:1023 -> 0-01:1023
sbp2: $Rev: 1074 $ Ben Collins <bcollins@debian.org>
scsi1 : SCSI emulation for IEEE-1394 SBP-2 Devices
ieee1394: sbp2: Logged into SBP-2 device
ieee1394: sbp2: Node 0-00:1023: Max speed [S400] - Max payload [2048]
will@derasa:~$ sudo lsmod
Module Size Used by Not tainted
via82cxxx_audio 18272 0 (unused)
sbp2 15872 0
ohci1394 22336 0 (unused)
ieee1394 38976 0 [sbp2 ohci1394]
cpia_usb 4388 0 (autoclean) (unused)
parport_pc 13860 1 (autoclean)
cpia_pp 3396 1 (autoclean)
parport 21888 1 (autoclean) [parport_pc cpia_pp]
cpia 28800 1 [cpia_usb cpia_pp]
keybdev 1728 0 (unused)
usbkbd 2944 0 (unused)
input 3104 0 [keybdev usbkbd]
usb-uhci 21252 0 (unused)
ADDING DEVICE
============
will@derasa:~$ sudo sh ./rescan-scsi-bus.sh
Host adapter 0 (ide-scsi) found.
Host adapter 1 (sbp2_0) found.
Scanning for device 0 0 0 0 ...
OLD: Host: scsi0 Channel: 00 Id: 00 Lun: 00
Vendor: HP Model: CD-Writer+ 8100 Rev: 1.0g
Type: CD-ROM ANSI SCSI revision: 02
Scanning for device 1 0 0 0 ...
NEW: Host: scsi1 Channel: 00 Id: 00 Lun: 00
Vendor: SONY Model: DVD RW DRU-500A Rev: 2.0g
Type: CD-ROM ANSI SCSI revision: 02
1 new device(s) found.
0 device(s) removed.
in dmesg:
scsi singledevice 1 0 0 0
Vendor: SONY Model: DVD RW DRU-500A Rev: 2.0g
Type: CD-ROM ANSI SCSI revision: 02
Attached scsi CD-ROM sr1 at scsi1, channel 0, id 0, lun 0
sr1: scsi3-mmc drive: 18x/18x writer cd/rw xa/form2 cdda tray
SCANNING BUS
===========
will@derasa:~$ cdrecord -scanbus
Cdrecord 1.10 (i686-pc-linux-gnu) Copyright (C) 1995-2001 Jörg Schilling
Linux sg driver version: 3.1.25
Using libscg version 'schily-0.5'
scsibus0:
0,0,0 0) 'HP ' 'CD-Writer+ 8100 ' '1.0g' Removable CD-ROM
0,1,0 1) *
0,2,0 2) *
0,3,0 3) *
0,4,0 4) *
0,5,0 5) *
0,6,0 6) *
0,7,0 7) *
scsibus1:
cdrecord: Warning: controller creates hard SCSI failure when retrieving
CD capabilities page.
1,0,0 100) 'SONY ' 'DVD RW DRU-500A ' '2.0g' Removable CD-ROM
1,1,0 101) *
1,2,0 102) *
1,3,0 103) *
1,4,0 104) *
1,5,0 105) *
1,6,0 106) *
1,7,0 107) *
in dmesg:
ieee1394: sbp2: aborting sbp2 command
0x5a 00 2a 00 00 00 00 00 02 00
ieee1394: sbp2: Reconnected to SBP-2 device
ieee1394: sbp2: Node 0-00:1023: Max speed [S400] - Max payload [2048]
ieee1394: sbp2: reset requested
ieee1394: sbp2: Generating sbp2 fetch agent reset
sometimes it even goes that bad, and cdrecord -scanbus doesn;t see
anything...
ieee1394: sbp2: aborting sbp2 command
0x5a 00 2a 00 00 00 00 00 02 00
scsi: device set offline - not ready or command retry failed after bus
reset: host 1 channel 0 id 0 lun 0
ieee1394: sbp2: Reconnected to SBP-2 device
ieee1394: sbp2: Node 0-00:1023: Max speed [S400] - Max payload [2048]
CAT /PROC
=========
will@derasa:~$ cat /proc/bus/ieee1394/devices
Node[0-01:1023] GUID[004063f000000426]:
Vendor ID: `Linux OHCI-1394' [0x004063]
Capabilities: 0x0083c0
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 : [0-01:1023]
BusMgr ID : [0-63:1023]
In Bus Reset : no
Root : yes
Cycle Master : yes
IRM : yes
Bus Manager : no
Node[0-00:1023] GUID[0001a30050050c94]:
Vendor ID: `Genesys Logic' [0x0001a3]
Capabilities: 0x0083c0
Bus Options:
IRMC(0) CMC(0) ISC(0) BMC(0) PMC(0) GEN(0)
LSPD(2) MAX_REC(64) CYC_CLK_ACC(255)
Unit Directory 0:
Vendor/Model ID: Genesys Logic [0001a3] / 1394 Storage Device [008034]
Software Specifier ID: 00609e
Software Version: 010483
Driver: SBP2 Driver
Length (in quads): 5
will@derasa:~$ cat /proc/scsi/sbp2_0/1
Host scsi1 : SBP-2 IEEE-1394 (ohci1394)
Module options :
max_speed : S800
max_sectors : 255
serialize_io : no
exclusive_login : yes
Attached devices :
[Channel: 00, Id: 00, Lun: 00] CD-ROM SONY DVD RW DRU-500A
LSPCI
=====
will@derasa:~$ lspci
00:00.0 Host bridge: VIA Technologies, Inc.: Unknown device 3123
00:01.0 PCI bridge: VIA Technologies, Inc. VT8633 [Apollo Pro266 AGP]
00:0d.0 FireWire (IEEE 1394): VIA Technologies, Inc. OHCI Compliant IEEE
1394 Host Controller (rev 80)
00:10.0 USB Controller: VIA Technologies, Inc. UHCI USB (rev 80)
00:10.1 USB Controller: VIA Technologies, Inc. UHCI USB (rev 80)
00:10.2 USB Controller: VIA Technologies, Inc. UHCI USB (rev 80)
00:10.3 USB Controller: VIA Technologies, Inc.: Unknown device 3104 (rev 82)
00:11.0 ISA bridge: VIA Technologies, Inc.: Unknown device 3177
00:11.1 IDE interface: VIA Technologies, Inc. Bus Master IDE (rev 06)
00:11.5 Multimedia audio controller: VIA Technologies, Inc. AC97 Audio
Controller (rev 50)
00:12.0 Ethernet controller: VIA Technologies, Inc. Ethernet Controller
(rev 74)
01:00.0 VGA compatible controller: VIA Technologies, Inc.: Unknown
device 3122 (rev 03)
-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills. Sign up for IBM's
Free Linux Tutorials. Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id78&alloc_id371&opĚk
_______________________________________________
mailing list Linux1394-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux1394-user
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic