ENCLOSURE

Need Power Supply like this :

     _
   .   .
  .  |  .
    . .

INTERFACE

IDE to USB Adapter http://www.hargaruntuh.com/# 55MRY

Bus 001 Device 000: ID 05e3:0702 Genesys Logic, Inc. USB 2.0 IDE Adapter [GL811E]
Oct  8 09:28:44 nrv kernel: [234952.408590] usb 1-2: device descriptor read/64, error -110
Oct  8 09:28:29 nrv kernel: [234937.232215] usb 1-2: reset full speed USB device using ohci_hcd and address 7
Oct  8 09:28:07 nrv kernel: [234915.358004] scsi6 : usb-storage 1-2:1.0
Oct  8 09:28:07 nrv kernel: [234915.357854] usb-storage 1-2:1.0: Quirks match for vid 05e3 pid 0702: 420
Oct  8 09:28:07 nrv kernel: [234915.346315] usb 1-2: Product: USB TO IDE
Oct  8 09:28:07 nrv kernel: [234915.346305] usb 1-2: New USB device strings: Mfr=0, Product=1, SerialNumber=0
Oct  8 09:28:07 nrv kernel: [234915.346285] usb 1-2: New USB device found, idVendor=05e3, idProduct=0702
Oct  8 09:28:07 nrv kernel: [234915.136371] usb 1-2: new full speed USB device using ohci_hcd and address 7

This works fine on lower left usb port of LenovO g470 , not upper one .. weird ?

USB : DVDW

Bus 001 Device 005: ID 04b4:6830 Cypress Semiconductor Corp. USB-2.0 IDE Adapter

[[Linux]] [[Kernel]] 2.6 : [[IDE]] OpticalDiskDrive [[CDRom]] : [[HP]] [[CD-Writer+ 9100b]] R*32 W*8

modprobe -r -v ide_scsi ; dmesg
rmmod /lib/modules/2.6.11-1-k7/kernel/drivers/scsi/ide-scsi.ko
cat /proc/ide/hdc/model
# Hewlett-Packard CD-Writer Plus 9100b
file:///usr/share/doc/cdrecord/README.ATAPI.setup
cdrecord dev=ATA: -scanbus
cat /etc/default/cdrecord
cdrecord -prcap

http://www.andesi.org/index.php?node=61#A8

cdrecord dev=ATA: -scanbus
Cdrecord-Clone 2.01.01a01 (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jörg Schilling
...
scsidev: 'ATA:'
devname: 'ATA'
scsibus: -1 target: -1 lun: -1
Warning: Using badly designed ATAPI via /dev/hd* interface.
Linux sg driver version: 3.5.27
Using libscg version 'schily-0.8'.
scsibus1:
      1,0,0   100) 'HP      ' 'CD-Writer+ 9100b' '1.07' Removable CD-ROM
cdrecord -prcap
Cdrecord-Clone 2.01.01a01 (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jörg Schilling
NOTE: this version of cdrecord is an inofficial (modified) release of cdrecord
    and thus may have bugs that are not present in the original version.
    Please send bug reports and support requests to <cdrtools@packages.debian.org>.
    The original author should not be bothered with problems of this version.
cdrecord: Warning: Running on Linux-2.6.11-1-k7
cdrecord: There are unsettled issues with Linux-2.5 and newer.
cdrecord: If you have unexpected problems, please try Linux-2.4 or Solaris.
scsidev: 'ATA:1,0,0'
devname: 'ATA'
scsibus: 1 target: 0 lun: 0
Warning: Using badly designed ATAPI via /dev/hd* interface.
Linux sg driver version: 3.5.27
Using libscg version 'schily-0.8'.
Device type    : Removable CD-ROM
Version        : 0
Response Format: 1
Vendor_info    : 'HP      '
Identifikation : 'CD-Writer+ 9100b'
Revision       : '1.07'
Device seems to be: Generic mmc CD-RW.
Drive capabilities, per MMC page 2A:
Does read CD-R media
Does write CD-R media
Does read CD-RW media
Does write CD-RW media
Does not read DVD-ROM media
Does not read DVD-R media
Does not write DVD-R media
Does not read DVD-RAM media
Does not write DVD-RAM media
Does support test writing
Does read Mode 2 Form 1 blocks
Does read Mode 2 Form 2 blocks
Does read digital audio blocks
Does restart non-streamed digital audio reads accurately
Does not support Buffer-Underrun-Free recording
Does read multi-session CDs
Does read fixed-packet CD media using Method 2
Does not read CD bar code
Does read R-W subcode information
Does not return R-W subcode de-interleaved and error-corrected
Does read raw P-W subcode data from lead in
Does return CD media catalog number
Does return CD ISRC information
Does support C2 error pointers
Does not deliver composite A/V data
Does play audio CDs
Number of volume control levels: 255
Does support individual volume control setting for each channel
Does support independent mute setting for each channel
Does not support digital output on port 1
Does support digital output on port 2
Does not send digital data LSB-first
Does set LRCK high for left-channel data
Does have valid data on falling edge of clock
Length of data in BCLKs: 32
Loading mechanism type: tray
Does support ejection of CD via START/STOP command
Does not lock media on power up via prevent jumper
Does allow media to be locked in the drive via PREVENT/ALLOW command
Is not currently in a media-locked state
Does not support changing side of disk
Does not have load-empty-slot-in-changer feature
Does not support Individual Disk Present feature
Maximum read  speed:  5645 kB/s (CD  32x, DVD  4x)
Current read  speed:   706 kB/s (CD   4x, DVD  0x)
Maximum write speed:  1411 kB/s (CD   8x, DVD  1x)
Current write speed:  1411 kB/s (CD   8x, DVD  1x)
Buffer size in KB: 2048
cdrecord -dao  womp.iso
...
Device seems to be: Generic mmc CD-RW.
Using generic SCSI-3/mmc   CD-R/CD-RW driver (mmc_cdr).
Driver flags   : MMC SWABAUDIO
Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P RAW/R96R
Starting to write CD/DVD at speed 2 in real SAO mode for single session.
Last chance to quit, starting real write    0 seconds. Operation starts.
cdrecord: WARNING: Drive returns wrong startsec (0) using -150
Track 01: Total bytes read/written: 735674368/735674368 (359216 sectors).

http://cdrdao.sourceforge.net/driveinfo.html#hp_cd_writer_8100

[[SCSI]] [[Kernel]] [[Driver]] Module : [[BUG]] with udev and hotplug

lsmod | grep scsi
hpusbscsi               7808  0
usbcore               119352  73 xpad,whiteheat,wacom,w9968cf,visor,vicam,uss720,usbtest,usbmouse,usblp,usbled,usblcd,usbkbd,usbhid,usb_storage,usb_midi,ultracam,touchkitusb,stv680,speedtch,usb_atm,sn9c102,sl811_hcd,se401,safe_serial,rtl8150,rio500,powermate,pl2303,phidgetservo,phidgetkit,pegasus,ov511,omninet,mtouchusb,microtek,mdc800,mct_u232,legousbtower,konicawc,kobil_sct,kl5kusb105,keyspan_pda,kbtab,kaweth,ir_usb,ipw,ipaq,io_ti,io_edgeport,ibmcam,usbvideo,hpusbscsi,ftdi_sio,empeg,ehci_hcd,dsbr100,digi_acceleport,cytherm,cypress_m8,cyberjack,cdc_acm,catc,belkin_sa,usbserial,auerswald,audio,ati_remote,aiptek,usbnet,ohci_hcd,uhci_hcd
ide_scsi               16132  0
scsi_mod              136712  6 usb_storage,microtek,hpusbscsi,sg,sr_mod,ide_scsi
ide_core              129424  30  usb_storage,ide_cd,ide_scsi,ide_disk,ide_generic,via82cxxx,trm290,triflex,slc90e66,sis5513,siimage,serverworks,sc1200,rz1000,piix,pdc202xx_old,opti621,ns87415,hpt366,hpt34x,generic,cy82c693,cs5530,cs5520,cmd64x,atiixp,amd74xx,alim15x3,aec62xx,pdc202xx_new
modprobe -r -v ide_scsi ; dmesg
rmmod /lib/modules/2.6.11-1-k7/kernel/drivers/scsi/ide-scsi.ko
DMA write timed out
Unable to handle kernel NULL pointer dereference at virtual address 0000023c
printing eip:
d0bca53c
*pde = 00000000
Oops: 0000 [[#1]]
PREEMPT
...
rmmod sr_mod
root@1[[root]]# lsof | grep scsi
scsi_eh_0 1164       root  cwd       DIR        3,7      4096          2 /
scsi_eh_0 1164       root  rtd       DIR        3,7      4096          2 /
scsi_eh_0 1164       root  txt   unknown                                 /proc/1164/exe
root@1[[root]]# ps aux | grep scsi
root      1164  0.0  0.0     0    0 ?        S    20:10   0:00 [[scsi_eh_0]]
root      3412  0.0  0.2  3672  524 pts/1    R+   20:14   0:00 grep scsi
root@1[[root]]# kill -9 1164
root@1[[root]]# kill -9 1164
root@1[[root]]# kill -9 1164
[[ToDo]]

I suppose this is a bug in hotplug + udev ? After apt-get remove hotplug it worked again , weird ?

[[Misc]]

MORE

ide.txt · Last modified: 2024/05/27 15:20 by rzr
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki