LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 12-13-2003, 06:15 AM   #1
www.rzr.free.fr
Member
 
Registered: Sep 2003
Location: france
Distribution: debian / knoppix
Posts: 31

Rep: Reputation: 0
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
 
Old 12-13-2003, 10:50 AM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,336

Rep: Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548
"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

Last edited by jailbait; 12-13-2003 at 10:51 AM.
 
Old 12-13-2003, 01:14 PM   #3
hyp_spec
LQ Newbie
 
Registered: Aug 2003
Posts: 16

Rep: Reputation: 0
scsi burning is no longer needed in 2.6, it can natively burn IDE now!
 
Old 12-13-2003, 04:14 PM   #4
tbranham
LQ Newbie
 
Registered: Dec 2003
Location: Baltimore, MD
Distribution: Slackware 9.1
Posts: 22

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

Hope that helps!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
IBM Server + IDE CDROM + SCSI HD WEIRDNESS? kemplej Slackware 2 01-21-2005 02:36 PM
cdrom not shown with ide-scsi emulation RestInPieces Linux - General 4 08-30-2004 12:55 PM
cant use cd burner to burn AND read? either one or other, ide-scsi dmx9595 Linux - Hardware 3 05-12-2004 08:33 PM
howto burn cd's withought ide-scsi emulation in the 2.6-test1 kernel qanopus Linux - General 1 08-13-2003 07:26 AM
IDE/SCSI, CDROM+CDburner christoph Linux - General 0 12-11-2001 08:34 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 05:01 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration