[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Problem mit SCSI-Emulation fuer DVD-Brenner



Aloha!


Kurz: Der IDE DVD-Brenner Toshiba SD-R5002 laesst sich erst nach _sehr_
langer Zeit per SCSI-Emulation ansprechen.

Lang: Der Computer beherbergte bislang erfolgreich SCSI-Platten, CD-ROM,
CD-R und eine IDE-Platte (Primary Master). Nun sollte der IDE-Brenner dazu
kommen (Secondary Master) und per IDE-SCSI Emulation zum brennen gebracht
werden. Kernel ist ein selbstgebackener 2.4.17, (natuerlich) mit Support
fuer SCSI-Generic, SCSI-CD, SCSI-Emulation und _ohne_ Support fuer
IDE-CDROM. Bootlog unten, hier die einzelnen Schritte.

Beim Reboot wird der Toshiba als IDE Geraet erkannt:

hdc: TOSHIBA DVD-ROM SD-R5002, ATAPI CD/DVD-ROM drive

und gemaess dem Bootparameter "hdc=scsi" der SCSI-Emulation zugewiesen.
Nach dem "echten" SCSI Hostadapter wird die Einrichtung der Emulation
gemeldet:

scsi1 : SCSI host adapter emulation for IDE ATAPI devices

und sogleich versucht, das Toshiba anzubinden:

scsi : aborting command due to timeout : pid 15, scsi1, channel 0, id 0,
lun 0 Inquiry 00 00 00 ff 00
hdc: lost interrupt
hdc: lost interrupt
   Vendor: TOSHIBA   Model: DVD-ROM SD-R5002  Rev: 1031
   Type:   CD-ROM                             ANSI SCSI revision:     02

was irgendwie auch geschafft wird:

Attached scsi CD-ROM sr1 at scsi1, channel 0, id 0, lun 0

Leider folgen ab dort diverse Fehler folgender Form:

Uniform CD-ROM driver Revision: 3.12
scsi : aborting command due to timeout : pid 27, scsi1, channel 0, id 0,
lun 0 Mode Sense 00 2a 00 80 00
hdc: lost interrupt
scsi : aborting command due to timeout : pid 28, scsi1, channel 0, id 0,
lun 0 Request Sense 00 00 00 40 00
SCSI host 1 abort (pid 28) timed out - resetting
SCSI bus is being reset for host 1 channel 0.
hdc: lost interrupt
hdc: lost interrupt

Die Request Senses wechseln sich ab, bis mit folgender Meldung
fortgefahren wird:

   scsi : aborting command due to timeout : pid 32, scsi1, channel 0, id
0, lun 0 Prevent/Allow Medium Removal 00 00 00 01 00
   hdc: lost interrupt
   sr1: scsi3-mmc drive: 40x/40x writer cd/rw xa/form2 cdda tray

Wenn nun nach fertigem Hochfahren versucht wird, den Bus scsi1 zu scannen,
bekomme ich eine _ziemliche_ Weile nichts (schatzungsweise mehr als 10
Minuten, dachte schon, der Treiber haette sich aufgehaengt).
Interessanterweise bekommt cdrecord nach der Wartezeit doch noch etwas heraus:

lava:~# cdrecord -scanbus
Cdrecord 2.0 (i686-pc-linux-gnu) Copyright (C) 1995-2002 Jörg Schilling
Linux sg driver version: 3.1.22
Using libscg version 'schily-0.7'
scsibus0:
         0,0,0     0) 'IBM     ' 'DDRS-39130D     ' 'DC1B' Disk
         0,1,0     1) 'PLEXTOR ' 'CD-ROM PX-40TS  ' '1.00' Removable CD-ROM
         0,2,0     2) 'FUJITSU ' 'MCF3064SS       ' '0040' Removable
Optical Storage
         0,3,0     3) *
<schnipp>
scsibus1:
         1,0,0   100) 'TOSHIBA ' 'DVD-ROM SD-R5002' '1031' Removable CD-ROM
         1,1,0   101) *
<schnipp>

Wenn der Knoten platzt, wird folgendes im Syslog verzeichnet:

Mar 17 14:38:11 lava kernel: scsi : aborting command due to timeout : pid
16200, scsi1, channel 0, id 0, lun 0 Request Sense 00 00 00 40 00
Mar 17 14:38:11 lava kernel: SCSI host 1 abort (pid 16200) timed out -
resetting
Mar 17 14:38:11 lava kernel: SCSI bus is being reset for host 1 channel 0.
Mar 17 14:38:11 lava kernel: hdc: lost interrupt

Nach aequivalenter Wartezeit bekommt auch xcdroast den Toshiba zu sehen.
Aber das kann es ja nun wirklich nicht sein, oder? Was nun? Tips?


Gruss,
     Rene

----schnipp---
Linux version 2.4.17 (root@lava) (gcc version 2.95.4 20011002 (Debian
prerelease)) #38 SMP Mon Mär 17 13:37:56 CET 2003

<schnipp>

Intel MultiProcessor Specification v1.1
     Virtual Wire compatibility mode.
OEM ID: OEM00000 Product ID: PROD00000000 APIC at: 0xFEE00000
Processor #1 Pentium(tm) Pro APIC version 17
Processor #0 Pentium(tm) Pro APIC version 17
I/O APIC #2 Version 17 at 0xFEC00000.
Processors: 2
Kernel command line: auto BOOT_IMAGE=Linux ro root=801 hdc=scsi
ide_setup: hdc=scsi

<schnipp>

Waiting on wait_init_idle (map = 0x2)
All processors have done init_idle
PCI: PCI BIOS revision 2.10 entry at 0xf0730, last bus=1
PCI: Using configuration type 1
PCI: Probing PCI hardware
Unknown bridge resource 0: assuming transparent
PCI: Using IRQ router PIIX [8086/7110] at 00:04.0
Limiting direct PCI/PCI transfers.
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
devfs: v1.7 (20011216) Richard Gooch (rgooch@atnf.csiro.au)
devfs: boot_options: 0x0
vesafb: framebuffer at 0xd8000000, mapped to 0xf080d000, size 32768k
vesafb: mode is 1280x1024x8, linelength=1280, pages=2
vesafb: protected mode interface info at c000:b139
vesafb: scrolling: redraw
Console: switching to colour frame buffer device 160x64
fb0: VESA VGA frame buffer device
pty: 256 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ
SERIAL_PCI ISAPNP enabled
ttyS00 at 0x03f8 (irq = 4) is a 16550A
ttyS01 at 0x02f8 (irq = 3) is a 16550A
ttyS02 at 0x03e8 (irq = 4) is a 16550A
Real Time Clock Driver v1.10e
block: 128 slots per queue, batch=32
Uniform Multi-Platform E-IDE driver Revision: 6.31
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
PIIX4: IDE controller on PCI bus 00 dev 21
PIIX4: chipset revision 1
PIIX4: not 100% native mode: will probe irqs later
     ide0: BM-DMA at 0xd800-0xd807, BIOS settings: hda:DMA, hdb:pio
     ide1: BM-DMA at 0xd808-0xd80f, BIOS settings: hdc:DMA, hdd:pio
hda: SAMSUNG SV6004H, ATA DISK drive
hdc: TOSHIBA DVD-ROM SD-R5002, ATAPI CD/DVD-ROM drive
ide2: ports already in use, skipping probe
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: 117306000 sectors (60061 MB) w/468KiB Cache, CHS=7301/255/63, UDMA(33)
Partition check:
  /dev/ide/host0/bus0/target0/lun0: p1 p2 p3
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
loop: loaded (max 8 devices)
3c59x: Donald Becker and others. www.scyld.com/network/vortex.html
00:09.0: 3Com PCI 3c905B Cyclone 10/100/BNC at 0xd000. Vers LK1.1.16
Linux agpgart interface v0.99 (c) Jeff Hartmann
agpgart: Maximum main memory to use for agp memory: 690M
agpgart: Detected Intel 440BX chipset
agpgart: AGP aperture is 64M @ 0xe4000000
SCSI subsystem driver Revision: 1.00
scsi0 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 6.2.4
         <Adaptec 2940 Ultra2 SCSI adapter>
         aic7890/91: Ultra2 Wide Channel A, SCSI Id=7, 32/253 SCBs

   Vendor: IBM       Model: DDRS-39130D       Rev: DC1B
   Type:   Direct-Access                      ANSI SCSI revision: 02
   Vendor: PLEXTOR   Model: CD-ROM PX-40TS    Rev: 1.00
   Type:   CD-ROM                             ANSI SCSI revision: 02
   Vendor: FUJITSU   Model: MCF3064SS         Rev: 0040
   Type:   Optical Device                     ANSI SCSI revision: 02
scsi0:A:0:0: Tagged Queuing enabled.  Depth 253
scsi1 : SCSI host adapter emulation for IDE ATAPI devices
scsi : aborting command due to timeout : pid 15, scsi1, channel 0, id 0,
lun 0 Inquiry 00 00 00 ff 00
hdc: lost interrupt
hdc: lost interrupt
   Vendor: TOSHIBA   Model: DVD-ROM SD-R5002  Rev: 1031
   Type:   CD-ROM                             ANSI SCSI revision: 02
Attached scsi disk sda at scsi0, channel 0, id 0, lun 0
Attached scsi removable disk sdb at scsi0, channel 0, id 2, lun 0
(scsi0:A:0): 80.000MB/s transfers (40.000MHz, offset 15, 16bit)
SCSI device sda: 17850000 512-byte hdwr sectors (9139 MB)
  /dev/scsi/host0/bus0/target0/lun0: p1 p2 p3 p4
(scsi0:A:2): 20.000MB/s transfers (20.000MHz, offset 15)
SCSI device sdb: 310352 2048-byte hdwr sectors (636 MB)
sdb: Write Protect is off
  /dev/scsi/host0/bus0/target2/lun0: unknown partition table
Attached scsi CD-ROM sr0 at scsi0, channel 0, id 1, lun 0
Attached scsi CD-ROM sr1 at scsi1, channel 0, id 0, lun 0
(scsi0:A:1): 20.000MB/s transfers (20.000MHz, offset 15)
sr0: scsi-1 drive
Uniform CD-ROM driver Revision: 3.12
scsi : aborting command due to timeout : pid 27, scsi1, channel 0, id 0,
lun 0 Mode Sense 00 2a 00 80 00
hdc: lost interrupt
scsi : aborting command due to timeout : pid 28, scsi1, channel 0, id 0,
lun 0 Request Sense 00 00 00 40 00
SCSI host 1 abort (pid 28) timed out - resetting
SCSI bus is being reset for host 1 channel 0.
hdc: lost interrupt
hdc: lost interrupt
scsi : aborting command due to timeout : pid 29, scsi1, channel 0, id 0,
lun 0 Mode Sense 00 2a 00 80 00
SCSI host 1 abort (pid 29) timed out - resetting
SCSI bus is being reset for host 1 channel 0.
hdc: lost interrupt
scsi : aborting command due to timeout : pid 30, scsi1, channel 0, id 0,
lun 0 Request Sense 00 00 00 40 00
SCSI host 1 abort (pid 30) timed out - resetting
SCSI bus is being reset for host 1 channel 0.
hdc: lost interrupt
hdc: lost interrupt
scsi : aborting command due to timeout : pid 31, scsi1, channel 0, id 0,
lun 0 Mode Sense 00 2a 00 80 00
SCSI host 1 abort (pid 31) timed out - resetting
SCSI bus is being reset for host 1 channel 0.
hdc: lost interrupt
hdc: lost interrupt
scsi : aborting command due to timeout : pid 32, scsi1, channel 0, id 0,
lun 0 Prevent/Allow Medium Removal 00 00 00 01 00
hdc: lost interrupt
sr1: scsi3-mmc drive: 40x/40x writer cd/rw xa/form2 cdda tray
es1371: version v0.30 time 21:57:05 Mar 10 2003
es1371: found chip, vendor id 0x1274 device id 0x1371 revision 0x06
es1371: found es1371 rev 6 at io 0xb800 irq 5
es1371: features: joystick 0x0
ac97_codec: AC97  codec, id: 0x5452:0x4123 (TriTech TR A5)
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
IP: routing cache hash table of 8192 buckets, 64Kbytes
TCP: Hash tables configured (established 262144 bind 65536)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
VFS: Mounted root (ext2 filesystem) readonly.
Freeing unused kernel memory: 236k freed
Adding Swap: 522104k swap-space (priority -1)
ne.c:v1.10 9/23/94 Donald Becker (becker@scyld.com)
Last modified Nov 1, 2000 by Paul Gortmaker
NE*000 ethercard probe at 0x380: unable to get IRQ 15 (errno=-16).
ne.c: No NE*000 card found at i/o = 0x380
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
usb.c: registered new driver serial
usbserial.c: USB Serial support registered for Generic
usbserial.c: USB Serial Driver core v1.4
usbserial.c: USB Serial support registered for Handspring Visor
usbserial.c: USB Serial support registered for Palm 4.0
usbserial.c: USB Serial support registered for Sony Clié 3.5
usbserial.c: USB Serial support registered for Sony Clié 4.0
visor.c: USB HandSpring Visor, Palm m50x, Sony Clié driver v1.5
usb-uhci.c: $Revision: 1.268 $ time 18:06:02 Mar  4 2002
usb-uhci.c: High bandwidth mode enabled
usb-uhci.c: USB UHCI at I/O 0xd400, IRQ 9
usb-uhci.c: Detected 2 ports
usb.c: new USB bus registered, assigned bus number 1
usb.c: kmalloc IF c1c9fa80, numif 1
usb.c: new device strings: Mfr=0, Product=2, SerialNumber=1
usb.c: USB device number 1 default language ID 0x0
Product: USB UHCI Root Hub
SerialNumber: d400
hub.c: USB hub found
hub.c: 2 ports detected
hub.c: standalone hub
hub.c: ganged power switching
hub.c: global over-current protection
hub.c: Port indicators are not supported
hub.c: power on to power good time: 2ms
hub.c: hub controller current requirement: 0mA
hub.c: port removable status: RR
hub.c: local power source is good
hub.c: no over-current condition exists
hub.c: enabling power on all ports
usb.c: hub driver claimed interface c1c9fa80
usb.c: kusbd: /sbin/hotplug add 1
usb.c: kusbd policy returned 0xfffffffe
usb-uhci.c: v1.268:USB Universal Host Controller Interface driver
nvidia: loading NVIDIA NVdriver Kernel Module  1.0-2960  Tue May 14
07:41:42 PDT 2002
NVRM: AGPGART: Intel 440BX chipset
NVRM: AGPGART: aperture: 64M @ 0xe4000000
NVRM: AGPGART: aperture mapped from 0xe4000000 to 0xf39d1000
NVRM: AGPGART: mode 2x
NVRM: AGPGART: allocated 16 pages

----schnapp---

-- 
Dipl.-Inform. René Tschirley              http://www.cs.tu-berlin.de/~pooh
TU Berlin, Computer Graphics and Computer Assisted Medicine research group

Attachment: pgpShUF37WoE1.pgp
Description: PGP signature


Reply to: