LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   cdrom / burn / ide-scsi + kernel 2.6.0-test11 , how to make it work ? (https://www.linuxquestions.org/questions/linux-hardware-18/cdrom-burn-ide-scsi-kernel-2-6-0-test11-how-to-make-it-work-125455/)

www.rzr.free.fr 12-13-2003 06:15 AM

cdrom / burn / ide-scsi + kernel 2.6.0-test11 , how to make it work ?
 
see : http://who.is.free.fr/wiki/index.php?Hardware

I need help to use it on 2.6 , it is ok on 2.4

CDROM Hewlett-Packard CD-Writer Plus 9100b

It works fine on 2.4 kernel (under scsi emulation)

root@teuz:~# uname -a
Linux teuz 2.4.22-amiloa #21 mer déc 10 17:51:40 CET 2003 i686 GNU/Linux

root@teuz:~# hdparm -i /dev/hdc
Model=Hewlett-Packard CD-Writer Plus 9100b, FwRev?=1.07, SerialNo?=
Config={ Fixed Removeable DTR<=5Mbs DTR>10Mbs nonMagnetic }
RawCHS=0/0/0, TrkSize?=0, SectSize?=0, ECCbytes=0
BuffType?=unknown, BuffSize?=0kB, MaxMultSect?=0
(maybe): CurCHS=0/0/0, CurSects?=0, LBA=yes, LBAsects=0
IORDY=on/off, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120}
PIO modes: pio0 pio1 pio2 pio3 pio4
DMA modes: sdma0 sdma1 sdma2 mdma0 mdma1 *mdma2
AdvancedPM=no

root@teuz:~# dmesg
SCSI subsystem driver Revision: 1.00
ide-cd: passing drive hdc to ide-scsi emulation.
hdc: attached ide-scsi driver.
scsi0 : SCSI host adapter emulation for IDE ATAPI devices
Vendor: HP Model: CD-Writer+ 9100b Rev: 1.07
Type: CD-ROM ANSI SCSI revision: 02
Attached scsi CD-ROM sr0 at scsi0, channel 0, id 0, lun 0
sr0: scsi3-mmc drive: 32x/32x writer cd/rw xa/form2 cdda tray
Uniform CD-ROM driver Revision: 3.12

root@teuz:~# /usr/sbin/cdrecord -scanbus
Cdrecord-Clone 2.01a19 (i686-pc-linux-gnu) Copyright (C) 1995-2003 Jörg Schilling
Linux sg driver version: 3.1.25
Using libscg version 'schily-0.7'
scsibus0:
0,0,0 0) 'HP ' 'CD-Writer+ 9100b' '1.07' Removable CD-ROM

root@teuz:~# lsmod
scsi_mod 56328 3 (autoclean) sr_mod ide-scsi sg?

root@teuz:~# cat /etc/lilo/conf
append="hdc=ide-scsi"

Please help to make it usable under 2.6 (under scsi emu to keep lilo compatibibilty w/ 2.4 )

root@teuz:~# uname -a
Linux teuz 2.6.0-test11 #5 SMP Wed Dec 10 20:28:45 CET 2003 i686 GNU/Linux

root@teuz:~# hdparm -i /dev/hdc

root@teuz:~# modprobe ide-scsi

root@teuz:~# dmesg
SCSI subsystem initialized
ide-scsi is deprecated for cd burning! Use ide-cd and give dev=/dev/hdX as device
scsi0 : SCSI host adapter emulation for IDE ATAPI devices
Vendor: HP Model: CD-Writer+ 9100b Rev: 1.07
Type: CD-ROM ANSI SCSI revision: 02

root@teuz:~# dmesg|grep -i cd
hdc: Hewlett-Packard CD-Writer Plus 9100b, ATAPI CD/DVD-ROM drive
ide-cd: passing drive hdc to ide-scsi emulation.
ide-scsi is deprecated for cd burning! Use ide-cd and give dev=/dev/hdX as device
Vendor: HP Model: CD-Writer+ 9100b Rev: 1.07
Type: CD-ROM ANSI SCSI revision: 02
sr0: scsi3-mmc drive: 32x/32x writer cd/rw xa/form2 cdda tray
Uniform CD-ROM driver Revision: 3.12
Attached scsi CD-ROM sr0 at scsi0, channel 0, id 0, lun 0

root@teuz:~# cdrecord -scanbus
Cdrecord-Clone 2.01a19 (i686-pc-linux-gnu) Copyright (C) 1995-2003 Jörg Schilling
cdrecord.mmap: No such file or directory. Cannot open '/dev/pg*'. Cannot open SCSI driver.
cdrecord.mmap: For possible targets try 'cdrecord -scanbus'. Make sure you are root.
cdrecord.mmap: For possible transport specifiers try 'cdrecord dev=help'.
cdrecord.mmap: Also make sure that you have loaded the sg driver and the driver for
cdrecord.mmap: SCSI hardware, eg. ide-scsi if you run IDE/ATAPI drives over
cdrecord.mmap: ide-scsi emulation. Read /usr/share/doc/cdrecord/README.ATAPI.setup!

root@teuz:/usr/local/src/linux-2.6.0-test11# cat .config
# SCSI support type (disk, tape, CD-ROM)
CONFIG_BLK_DEV_SD=m
CONFIG_CHR_DEV_ST=m
CONFIG_CHR_DEV_OSST=m
CONFIG_BLK_DEV_SR=m
CONFIG_BLK_DEV_SR_VENDOR=y
CONFIG_CHR_DEV_SG=m

see : http://who.is.free.fr/wiki/index.php?Hardware

jailbait 12-13-2003 10:50 AM

"I need help to use it on 2.6 , it is ok on 2.4"

You may need the latest kernel version, 2.6.0-test11. There is a patch for ide-scsi. Search the changelog for ide-scsi:

http://www.kernel.org/pub/linux/kern.../testing/cset/

"Please help to make it usable under 2.6 (under scsi emu to keep lilo compatibibilty w/ 2.4 )"
You could have two image sections in lilo, one for 2.4 and one for 2.6.

___________________________________
Be prepared. Create a LifeBoat CD.
http://users.rcn.com/srstites/LifeBo...home.page.html

Steve Stites

hyp_spec 12-13-2003 01:14 PM

scsi burning is no longer needed in 2.6, it can natively burn IDE now!

tbranham 12-13-2003 04:14 PM

This site:
http://kerneltrap.org/node/view/879
got me up and running.

Hope that helps!


All times are GMT -5. The time now is 12:57 PM.