scsi-emulation für ide-brenner, wofür!?

2005-03-18 Thread Joerg Stadler
Hi,

kann mir Jemand sagen wofür ich die scsi-emulation zum Betreiben eines IDE 
(ATAPI) - Brenners benötige oder wie bisher benötigt habe!? Dachte immer man
kann nur so einen Brenner unter Linux ansteuern, hab nur jetzt festgestellt 
das es wohl auch mit den normalen IDE/ATAPI CDROM-Support  geht!  Im Beispiel
habe ich so eine Audio-CD mit K3B gebrannt. Etwas stuzig macht mich allerdings
das cdrecord -scanbus mir kein Device mehr anzeigt und ich mir nicht sicher
bin ob das alles richtig funktionieren kann!

Gruss

Joerg


_
Joerg Stadler 

Nettetal



Re: scsi-emulation für ide-brenner, wofür!?

2005-03-18 Thread Rainer Bendig aka Ny
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Moin Moin Joerg Stadler, *,

Joerg Stadler wrote on Mar 18, 2005 at 01:14PM +0100:
 Hi,
 
 kann mir Jemand sagen wofr ich die scsi-emulation zum Betreiben eines IDE 
 (ATAPI) - Brenners bentige oder wie bisher bentigt habe!? Dachte immer man
google haette geholfen: die scsi-emulation ist seit dem 2.6er Kernel
nicht mehr noetig
- -- 
- -
Rainer Bendig aka Ny |  http://www.moins.de  | GnuPG-Key 0x41D44F10
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.9.16-cvs (GNU/Linux)

iD4DBQFCOsv8WmkXC0TkjEgRAnHWAJoDh1AlFAsj6KpU4+Dpk1AyJOxKlQCY22Y4
KzZauH6eoBXw3KGi1lzS9A==
=EFNr
-END PGP SIGNATURE-


-- 
Haeufig gestellte Fragen und Antworten (FAQ): 
http://www.de.debian.org/debian-user-german-FAQ/

Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)



Re: scsi-emulation für ide-brenner, wofür!?

2005-03-18 Thread Andreas Pakulat
On 18.Mär 2005 - 13:14:52, Joerg Stadler wrote:
 Hi,
 
 kann mir Jemand sagen wofür ich die scsi-emulation zum Betreiben eines IDE 
 (ATAPI) - Brenners benötige oder wie bisher benötigt habe!? Dachte immer man
 kann nur so einen Brenner unter Linux ansteuern, hab nur jetzt festgestellt 
 das es wohl auch mit den normalen IDE/ATAPI CDROM-Support  geht!  Im Beispiel
 habe ich so eine Audio-CD mit K3B gebrannt. Etwas stuzig macht mich allerdings
 das cdrecord -scanbus mir kein Device mehr anzeigt und ich mir nicht sicher
 bin ob das alles richtig funktionieren kann!

Und google liefert zu dem Thema nicht ausreichend Info? Kann ich mir
ja bald nicht vorstellen. Kurz und Knapp:

In 2.4er Kerneln gab es einfach keinen ATAPI-Support, CD-Roms wurden
wie read-only IDE-Geraete gehandelt und CD-Brenner mussten ueber den
SCSI-IDE-Layer gehen.

In 2.6er Kernel hat man ein entsprechendes ATAPI Interface eingebaut
(genau genommen sogar 2).

cdrecord -scanbus sucht nur nach SCSI-Geraeten, probiere

cdrecord dev=ATA -scanbus
bzw.
cdrecord dev=ATAPI -scanbus

Andreas

-- 
You teach best what you most need to learn.


-- 
Haeufig gestellte Fragen und Antworten (FAQ): 
http://www.de.debian.org/debian-user-german-FAQ/

Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)



Re: scsi-emulation für ide-brenner, wofür!?

2005-03-18 Thread Gernot Sadlo
Am Fri, 18 Mar 2005 13:20:11 +0100 schrieb Joerg Stadler:

Hi,
 
 habe ich so eine Audio-CD mit K3B gebrannt. Etwas stuzig macht mich allerdings
 das cdrecord -scanbus mir kein Device mehr anzeigt und ich mir nicht sicher
 bin ob das alles richtig funktionieren kann!

cdrecord -dev=ATAPI: -scanbus

-- 
gernot


-- 
Haeufig gestellte Fragen und Antworten (FAQ): 
http://www.de.debian.org/debian-user-german-FAQ/

Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)



Re: scsi-emulation für ide-brenner, wofür!?

2005-03-18 Thread Thomas Kosch
On Day 4 of Discord 3171, Rainer Bendig aka Ny wrote:

 google haette geholfen: die scsi-emulation ist seit dem 2.6er Kernel
 nicht mehr noetig

Doch, die kann sehr wohl nötig sein.
http://marc.theaimsgroup.com/?l=linux-kernelm=108827602322464w=2
ist immer noch aktuell.

ttyl8er, t.k.

-- 
Fifth Law of Procrastination:
Procrastination avoids boredom; one never has the feeling that
there is nothing important to do.



Re: scsi-emulation für ide-brenner, wofür!?

2005-03-18 Thread Rainer Bendig aka Ny
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Moin Moin Thomas Kosch, *,

Thomas Kosch wrote on Mar 18, 2005 at 03:42PM +0100:
 http://marc.theaimsgroup.com/?l=linux-kernelm=108827602322464w=2
 ist immer noch aktuell.
Wobei der OP von CD's sprach...
- -- 
- -
Rainer Bendig aka Ny |  http://www.moins.de  | GnuPG-Key 0x41D44F10
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.9.16-cvs (GNU/Linux)

iD8DBQFCOvajWmkXC0TkjEgRAlcIAJ4lCXXqeOnm1/6NR6LCIUV7R6f9UQCfdMRX
kQOGHK3OBQfEK1/1A1uH1tU=
=WBNt
-END PGP SIGNATURE-


-- 
Haeufig gestellte Fragen und Antworten (FAQ): 
http://www.de.debian.org/debian-user-german-FAQ/

Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)



Re: scsi-emulation für ide-brenner, wofür!?

2005-03-18 Thread Thomas Kosch
On Day 4 of Discord 3171, Rainer Bendig aka Ny wrote:

 Moin Moin Thomas Kosch, *,

 Thomas Kosch wrote on Mar 18, 2005 at 03:42PM +0100:
 http://marc.theaimsgroup.com/?l=linux-kernelm=108827602322464w=2
 ist immer noch aktuell.
 Wobei der OP von CD's sprach...

Oops, etwas zu schnell gelesen. Wobei trotzdem bestehen bleibt, das die
Aussage ide-scsi ist beim 2.6er Kernel grundsätzlich überflüssig nicht
ganz korrekt ist.

ttyl8er, t.k.

-- 
Only wimps use tape backup: _real_ men just upload their important stuff
on ftp, and let the rest of the world mirror it ;) - Linus



Re: scsi-emulation fr ide-brenner, wofr!?

2005-03-18 Thread Joerg Stadler
On Friday 18 March 2005 13:39, Rainer Bendig aka Ny wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Moin Moin Joerg Stadler, *,
 
 Joerg Stadler wrote on Mar 18, 2005 at 01:14PM +0100:
  Hi,
  
  kann mir Jemand sagen wofür ich die scsi-emulation zum Betreiben eines 
IDE 
  (ATAPI) - Brenners benötige oder wie bisher benötigt habe!? Dachte immer 
man
 google haette geholfen: die scsi-emulation ist seit dem 2.6er Kernel
 nicht mehr noetig

Jep,  Google ist dein Freund!
 - -- 
 - -
 Rainer Bendig aka Ny |  http://www.moins.de  | GnuPG-Key 0x41D44F10
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.9.16-cvs (GNU/Linux)
 
 iD4DBQFCOsv8WmkXC0TkjEgRAnHWAJoDh1AlFAsj6KpU4+Dpk1AyJOxKlQCY22Y4
 KzZauH6eoBXw3KGi1lzS9A==
 =EFNr
 -END PGP SIGNATURE-
 
 
 -- 
 Haeufig gestellte Fragen und Antworten (FAQ): 
 http://www.de.debian.org/debian-user-german-FAQ/
 
 Zum AUSTRAGEN schicken Sie eine Mail an 
[EMAIL PROTECTED]
 mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] 
(engl)
 
 

-- 
Gruss

Joerg


_
Joerg Stadler 

Nettetal



Re: scsi-emulation fr ide-brenner, wofr!?

2005-03-18 Thread Joerg Stadler
On Friday 18 March 2005 13:50, Gernot Sadlo wrote:
 Am Fri, 18 Mar 2005 13:20:11 +0100 schrieb Joerg Stadler:
 
 Hi,
  
  habe ich so eine Audio-CD mit K3B gebrannt. Etwas stuzig macht mich 
allerdings
  das cdrecord -scanbus mir kein Device mehr anzeigt und ich mir nicht 
sicher
  bin ob das alles richtig funktionieren kann!
 
 cdrecord -dev=ATAPI: -scanbus

Ah jetzt, das ich in der Device-Option ATAPI setzen kann habe ich aus der 
Man-Page nicht gelesen,

Danke!

Gruss 

Joerg
 
 -- 
 gernot
 
 
 -- 
 Haeufig gestellte Fragen und Antworten (FAQ): 
 http://www.de.debian.org/debian-user-german-FAQ/
 
 Zum AUSTRAGEN schicken Sie eine Mail an 
[EMAIL PROTECTED]
 mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] 
(engl)
 
 


_
Joerg Stadler 

Nettetal


-- 
Haeufig gestellte Fragen und Antworten (FAQ): 
http://www.de.debian.org/debian-user-german-FAQ/

Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)



Re: scsi-emulation für ide-brenner, wofür!?

2005-03-18 Thread Heino Tiedemann
Joerg Stadler [EMAIL PROTECTED] wrote:

 kann mir Jemand sagen wofür ich die scsi-emulation zum Betreiben eines IDE 
 (ATAPI) - Brenners benötige oder wie bisher benötigt habe!? Dachte immer man
 kann nur so einen Brenner unter Linux ansteuern, hab nur jetzt festgestellt 
 das es wohl auch mit den normalen IDE/ATAPI CDROM-Support  geht! 

Ja, ab 2.6 geht es.

 Im Beispiel
 habe ich so eine Audio-CD mit K3B gebrannt. Etwas stuzig macht mich allerdings
 das cdrecord -scanbus mir kein Device mehr anzeigt

cdrecord dev=ATA -scanbus

 und ich mir nicht sicher
 bin ob das alles richtig funktionieren kann!


,[ http://groups.google.de/groups?selm=36YJc-3tU-11%40gated-at.bofh.it ]
| - for 2.4, use ide-scsi
| - for 2.6, use ATA
`



HTH


-- 
Haeufig gestellte Fragen und Antworten (FAQ): 
http://www.de.debian.org/debian-user-german-FAQ/

Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)



Re: scsi-emulation fr ide-brenner, wofr!?

2005-03-18 Thread Heino Tiedemann
Joerg Stadler [EMAIL PROTECTED] wrote:

 On Friday 18 March 2005 13:50, Gernot Sadlo wrote:
 Am Fri, 18 Mar 2005 13:20:11 +0100 schrieb Joerg Stadler:
 
 Hi,
  
  habe ich so eine Audio-CD mit K3B gebrannt. Etwas stuzig macht mich 
 allerdings
  das cdrecord -scanbus mir kein Device mehr anzeigt und ich mir nicht 
 sicher
  bin ob das alles richtig funktionieren kann!
 
 cdrecord -dev=ATAPI: -scanbus

 Ah jetzt, das ich in der Device-Option ATAPI setzen kann habe ich aus der 
 Man-Page nicht gelesen,

 Danke!

unter 2.6 nimmt man weigentlich ATA. ATAPI is Obsolete hab ich aben
irgendwo gelesen. ich findas aber gerade nicht wieder.

Heino


-- 
Haeufig gestellte Fragen und Antworten (FAQ): 
http://www.de.debian.org/debian-user-german-FAQ/

Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)



RE: SCSI emulation for IDE CD-writer

2002-12-31 Thread Narins, Josh
Speaking of this...

I had a kernel which was just missing the SCSI emulation modules.

Was there a way I could have _just_ built the modules I needed, and not
needed to rebuild the whole kernel?

Are there any modules that can work like that?

--thanks

SAP

-Original Message-
From: Steve Doerr [mailto:[EMAIL PROTECTED]] 
Sent: Monday, December 30, 2002 7:42 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: SCSI emulation for IDE CD-writer


Thanks for the info, Bob!

I overlooked the SCSI cd support when I built my kernel.

It's working perfectly now.

Steve


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact
[EMAIL PROTECTED]


--
This message is intended only for the personal and confidential use of the designated 
recipient(s) named above.  If you are not the intended recipient of this message you 
are hereby notified that any review, dissemination, distribution or copying of this 
message is strictly prohibited.  This communication is for information purposes only 
and should not be regarded as an offer to sell or as a solicitation of an offer to buy 
any financial product, an official confirmation of any transaction, or as an official 
statement of Lehman Brothers.  Email transmission cannot be guaranteed to be secure or 
error-free.  Therefore, we do not represent that this information is complete or 
accurate and it should not be relied upon as such.  All information is subject to 
change without notice.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: SCSI emulation for IDE CD-writer

2002-12-31 Thread Martin McCormick
Steve Doerr  wrote
I overlooked the SCSI cd support when I built my kernel.

It's working perfectly now.

I did almost the same thing on a system at work except I
forgot the Generic SCSI support.  I had a system that looked like
it should work if you did the  cat /proc/scsi/scsi tests, and
everything else looked good, but you sure couldn't write a CD.
It complained that the device was missing /dev/sg0

cdrecord -scanbus told me to run cdrecord -scanbus, etc.
I really felt stupid after discovering what I had done.  After I
built a new kernel with the Generic support, it burns CD's like a
fire bug.

Martin McCormick WB5AGZ  Stillwater, OK 
OSU Center for Computing and Information Services Network Operations Group


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: SCSI emulation for IDE CD-writer

2002-12-30 Thread Steve Doerr
Thanks for the info, Bob!

I overlooked the SCSI cd support when I built my kernel.

It's working perfectly now.

Steve


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: SCSI emulation for IDE CD-writer

2002-12-29 Thread Rob Weir
On Sat, Dec 28, 2002 at 11:33:10AM -0800, Bill Moseley wrote:
 On Sat, 28 Dec 2002, Bob Proulx wrote:
  In /etc/lilo.conf place the following:
  
append=hdc=ide-scsi hdd=ide-scsi
 
 Now this confuses me.  I assumed that if the ide-scsi was built as a
 module you would use options in the /etc/modutils setup to pass in the
 options when loading the module.  I thought the append= line in lilo.conf
 was to pass in settings to compiled in code.  Is that a wrong assumption?

Otherwise the ide-cd system will grab the drives.  If it's compiled in,
there's no way to get your CD drive back without a reboot.

 Another question:  I have everything compiled into the kernel instead of
 as modules.  I have two IDE drives and I'm *not* using the append line,
 yet the drives are still setup correctly as SCSI.
 
 Why don't I need the append= line?

AIUI, if you have ide-cd and ide-scsi (and sr_mod) compiled into the
kernel, ide-scsi will win and take everything.  I compile all the
ide-scsi (and scsi) stuff as modules, because it's possible to play with
them without a reboot.

-rob



msg21441/pgp0.pgp
Description: PGP signature


Re: SCSI emulation for IDE CD-writer

2002-12-29 Thread Bill Moseley
On Mon, 30 Dec 2002, Rob Weir wrote:

 On Sat, Dec 28, 2002 at 11:33:10AM -0800, Bill Moseley wrote:
  Another question:  I have everything compiled into the kernel instead of
  as modules.  I have two IDE drives and I'm *not* using the append line,
  yet the drives are still setup correctly as SCSI.
  
  Why don't I need the append= line?
 
 AIUI, if you have ide-cd and ide-scsi (and sr_mod) compiled into the
 kernel, ide-scsi will win and take everything.  I compile all the
 ide-scsi (and scsi) stuff as modules, because it's possible to play with
 them without a reboot.

Ah, I see.

My assumption was wrong then.  I thought that the append= in lilo was to
pass things into compiled-in code, where modules loaded with insmod could
be passed in settings when they were being loaded.

But does that mean that if you only want one drive to be ide-scsi that you
need to use modules?






-- 
Bill Moseley [EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: SCSI emulation for IDE CD-writer

2002-12-29 Thread Shawn Lamson
On Sun, 29 Dec 2002 11:27:38 -0800 (PST)
Bill Moseley [EMAIL PROTECTED] wrote:

 On Mon, 30 Dec 2002, Rob Weir wrote:
 
  On Sat, Dec 28, 2002 at 11:33:10AM -0800, Bill Moseley wrote:
   Another question:  I have everything compiled into the kernel
   instead of as modules.  I have two IDE drives and I'm *not* using
   the append line, yet the drives are still setup correctly as SCSI.
   
   Why don't I need the append= line?
  
  AIUI, if you have ide-cd and ide-scsi (and sr_mod) compiled into the
  kernel, ide-scsi will win and take everything.  I compile all the
  ide-scsi (and scsi) stuff as modules, because it's possible to play
  with them without a reboot.
 
 Ah, I see.
 
 My assumption was wrong then.  I thought that the append= in lilo was
 to pass things into compiled-in code, where modules loaded with insmod
 could be passed in settings when they were being loaded.
 
 But does that mean that if you only want one drive to be ide-scsi that
 you need to use modules?
Well thankfully we both have working cdwriters , I too have everything
compiled into the kernel... I also use the append line as so:
kernel = /boot/vmlinuz-2.4.20 noapic nosmp root=/dev/hda12 hdc=ide-scsi
pci=biosirq vga=normal

but I have heard that people had problems with scsi grabbing normal
(cd?) drives and having to add :ide-cd ignore=hdx

presumably b/c the ide-cd will grab before the scsi - which is actually
the opposite of what Mr. Weir said.  I don't really know which is true.
I got so tired of configuring modules that I gave up and just put all in
the kernel - even though I think I could get more control of things
with modules (ie. my soundblaster live! 5.1)...

Shawn

 
 
 
 
 
 
 -- 
 Bill Moseley [EMAIL PROTECTED]
 
 
 -- 
 To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
 with a subject of unsubscribe. Trouble? Contact
 [EMAIL PROTECTED]
 


-- 
Shawn Lamson
[EMAIL PROTECTED]
Debian GNU/Linux 3.0


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: SCSI emulation for IDE CD-writer

2002-12-29 Thread Shawn Lamson
On Sun, 29 Dec 2002 20:12:48 -0500
Shawn Lamson [EMAIL PROTECTED] wrote:

 On Sun, 29 Dec 2002 11:27:38 -0800 (PST)
 Bill Moseley [EMAIL PROTECTED] wrote:
 
  On Mon, 30 Dec 2002, Rob Weir wrote:
  
   On Sat, Dec 28, 2002 at 11:33:10AM -0800, Bill Moseley wrote:
Another question:  I have everything compiled into the kernel
instead of as modules.  I have two IDE drives and I'm *not*
using the append line, yet the drives are still setup correctly
as SCSI.

Why don't I need the append= line?
   
   AIUI, if you have ide-cd and ide-scsi (and sr_mod) compiled into
   the kernel, ide-scsi will win and take everything.  I compile all
   the ide-scsi (and scsi) stuff as modules, because it's possible to
   play with them without a reboot.
  
  Ah, I see.
  
  My assumption was wrong then.  I thought that the append= in lilo
  was to pass things into compiled-in code, where modules loaded with
  insmod could be passed in settings when they were being loaded.
  
  But does that mean that if you only want one drive to be ide-scsi
  that you need to use modules?
 Well thankfully we both have working cdwriters , I too have everything
 compiled into the kernel... I also use the append line as so:
 kernel = /boot/vmlinuz-2.4.20 noapic nosmp root=/dev/hda12
 hdc=ide-scsi pci=biosirq vga=normal
 
 but I have heard that people had problems with scsi grabbing normal
 (cd?) drives and having to add :ide-cd ignore=hdx
 
 presumably b/c the ide-cd will grab before the scsi - which is
 actually the opposite of what Mr. Weir said.  I don't really know
 which is true.

P.S. I forgot to mention I have: 
CONFIG_BLK_DEV_IDECD=y
# Old CD-ROM drivers (not SCSI, not IDE)
# CONFIG_CD_NO_IDESCSI is not set

in my kernel... it takes signifigantly longer for my machine to mount
and seek (for example changing songs on an audio disk - obviously
unmounted) when using the scsi mode as opposed to just idecd on the same
drive.  I don't know if anyone can account for this or offer a solution.

 I got so tired of configuring modules that I gave up and just put all
 in the kernel - even though I think I could get more control of
 things with modules (ie. my soundblaster live! 5.1)...
 
 Shawn
 
  
  
  
  
  
  
  -- 
  Bill Moseley [EMAIL PROTECTED]
  
  
  -- 
  To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
  with a subject of unsubscribe. Trouble? Contact
  [EMAIL PROTECTED]
  
 
 
 -- 
 Shawn Lamson
 [EMAIL PROTECTED]
 Debian GNU/Linux 3.0
 
 
 -- 
 To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
 with a subject of unsubscribe. Trouble? Contact
 [EMAIL PROTECTED]
 


-- 
Shawn Lamson
[EMAIL PROTECTED]
Debian GNU/Linux 3.0


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: SCSI emulation for IDE CD-writer

2002-12-29 Thread Hanasaki JiJi
I used to compile ide-scsi as modules and had problems with the 
CD-RW-Drive locking closed ie: no way to eject with software or the 
button.

Since compiling the modules into the kernel, there have been no lock 
problems.

Shawn Lamson wrote:
On Sun, 29 Dec 2002 20:12:48 -0500
Shawn Lamson [EMAIL PROTECTED] wrote:



On Sun, 29 Dec 2002 11:27:38 -0800 (PST)
Bill Moseley [EMAIL PROTECTED] wrote:



On Mon, 30 Dec 2002, Rob Weir wrote:



On Sat, Dec 28, 2002 at 11:33:10AM -0800, Bill Moseley wrote:


Another question:  I have everything compiled into the kernel
instead of as modules.  I have two IDE drives and I'm *not*
using the append line, yet the drives are still setup correctly
as SCSI.

Why don't I need the append= line?


AIUI, if you have ide-cd and ide-scsi (and sr_mod) compiled into
the kernel, ide-scsi will win and take everything.  I compile all
the ide-scsi (and scsi) stuff as modules, because it's possible to
play with them without a reboot.


Ah, I see.

My assumption was wrong then.  I thought that the append= in lilo
was to pass things into compiled-in code, where modules loaded with
insmod could be passed in settings when they were being loaded.

But does that mean that if you only want one drive to be ide-scsi
that you need to use modules?


Well thankfully we both have working cdwriters , I too have everything
compiled into the kernel... I also use the append line as so:
kernel = /boot/vmlinuz-2.4.20 noapic nosmp root=/dev/hda12
hdc=ide-scsi pci=biosirq vga=normal

but I have heard that people had problems with scsi grabbing normal
(cd?) drives and having to add :ide-cd ignore=hdx

presumably b/c the ide-cd will grab before the scsi - which is
actually the opposite of what Mr. Weir said.  I don't really know
which is true.



P.S. I forgot to mention I have: 
CONFIG_BLK_DEV_IDECD=y
# Old CD-ROM drivers (not SCSI, not IDE)
# CONFIG_CD_NO_IDESCSI is not set

in my kernel... it takes signifigantly longer for my machine to mount
and seek (for example changing songs on an audio disk - obviously
unmounted) when using the scsi mode as opposed to just idecd on the same
drive.  I don't know if anyone can account for this or offer a solution.


I got so tired of configuring modules that I gave up and just put all
in the kernel - even though I think I could get more control of
things with modules (ie. my soundblaster live! 5.1)...

Shawn








--
Bill Moseley [EMAIL PROTECTED]


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact
[EMAIL PROTECTED]



--
Shawn Lamson
[EMAIL PROTECTED]
Debian GNU/Linux 3.0


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact
[EMAIL PROTECTED]






--
=
= Management is doing things right; leadership is doing the =
=   right things.- Peter Drucker=
=___=
= http://www.sun.com/service/sunps/jdc/javacenter.pdf   =
=  www.sun.com | www.javasoft.com | http://wwws.sun.com/sunone  =
=


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: SCSI emulation for IDE CD-writer

2002-12-29 Thread Mark L. Kahnt
On Sun, 2002-12-29 at 13:18, Rob Weir wrote:
 On Sat, Dec 28, 2002 at 11:33:10AM -0800, Bill Moseley wrote:
  On Sat, 28 Dec 2002, Bob Proulx wrote:
   In /etc/lilo.conf place the following:
   
 append=hdc=ide-scsi hdd=ide-scsi
  
  Now this confuses me.  I assumed that if the ide-scsi was built as a
  module you would use options in the /etc/modutils setup to pass in the
  options when loading the module.  I thought the append= line in lilo.conf
  was to pass in settings to compiled in code.  Is that a wrong assumption?
 
 Otherwise the ide-cd system will grab the drives.  If it's compiled in,
 there's no way to get your CD drive back without a reboot.
 
  Another question:  I have everything compiled into the kernel instead of
  as modules.  I have two IDE drives and I'm *not* using the append line,
  yet the drives are still setup correctly as SCSI.
  
  Why don't I need the append= line?
 
 AIUI, if you have ide-cd and ide-scsi (and sr_mod) compiled into the
 kernel, ide-scsi will win and take everything.  I compile all the
 ide-scsi (and scsi) stuff as modules, because it's possible to play with
 them without a reboot.
 
 -rob

I have two CDs on this machine on my secondary ide bus (CD-RW, and
CD-ROM), with both ide-cd and ide-scsi compiled into the kernel, and
ide-scsi doesn't pick up anything unless I specifically tell it to at
boot time. Other than a few interesting vfs drivers I stumble across at
SourceForge, I tend to stick to compiling into the kernel unless I know
I may want to disable something (like my cheap camera that wants V4L for
GnomeMeeting, but libusb access for GPhoto2,) but that is just my silly
habits since I first got custom boot disks confused between two machines
and got a spew of missing module messages and a kernel panic.
-- 
Mark L. Kahnt, FLMI/M, ALHC, HIA, AIAA, ACS, MHP
ML Kahnt New Markets Consulting
Tel: (613) 531-8684 / (613) 539-0935
Email: [EMAIL PROTECTED]



signature.asc
Description: This is a digitally signed message part


SCSI emulation for IDE CD-writer

2002-12-28 Thread Steve Doerr
I just installed and burned a cd per the cd writing howto, but now I 
can't find what to mount to read it.

It's not at scd0 or scsi0 and I'm not sure how to find it.

Does anyone know how to find it or see anything wrong with how I set 
this up?

Thanks for any input,
Steve

relevant info:

kern.log (ver 2.4.17)
Dec 28 12:42:04 debian kernel: ide: Assuming 33MHz system bus speed for 
PIO modes; override with idebus=xx
Dec 28 12:42:04 debian kernel: VP_IDE: IDE controller on PCI bus 00 dev 39
Dec 28 12:42:04 debian kernel: VP_IDE: chipset revision 16
Dec 28 12:42:04 debian kernel: VP_IDE: not 100%% native mode: will probe 
irqs later
Dec 28 12:42:04 debian kernel: ide0: BM-DMA at 0xa000-0xa007, BIOS 
settings: hda:DMA, hdb:DMA
Dec 28 12:42:04 debian kernel: ide1: BM-DMA at 0xa008-0xa00f, BIOS 
settings: hdc:DMA, hdd:DMA
Dec 28 12:42:04 debian kernel: hda: Maxtor 51536H2, ATA DISK drive
Dec 28 12:42:04 debian kernel: hdb: LITE-ON LTR-48246S, ATAPI CD/DVD-ROM 
drive
Dec 28 12:42:04 debian kernel: hdc: MAXTOR 6L080J4, ATA DISK drive
Dec 28 12:42:04 debian kernel: hdd: CD-ROM Drive/F5A, ATAPI CD/DVD-ROM drive
Dec 28 12:42:04 debian kernel: ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Dec 28 12:42:04 debian kernel: ide1 at 0x170-0x177,0x376 on irq 15
Dec 28 12:42:04 debian kernel: hda: 30015216 sectors (15368 MB) 
w/2048KiB Cache, CHS=1868/255/63
Dec 28 12:42:04 debian kernel: hdc: 156355584 sectors (80054 MB) 
w/1819KiB Cache, CHS=155114/16/63
Dec 28 12:42:04 debian kernel: Partition check:
Dec 28 12:42:04 debian kernel:  hda: hda1 hda2 hda3
Dec 28 12:42:04 debian kernel:  hdc: hdc1 hdc2 hdc3
cut
Dec 28 12:42:04 debian kernel: SCSI subsystem driver Revision: 1.00
Dec 28 12:42:04 debian kernel: scsi0 : SCSI host adapter emulation for 
IDE ATAPI devices
Dec 28 12:42:04 debian kernel:   Vendor: LITE-ON   Model: LTR-48246S 
Rev: SS06
Dec 28 12:42:04 debian kernel:   Type:   CD-ROM 
ANSI SCSI revision: 02
Dec 28 12:42:04 debian kernel:   Vendor: CD-ROMModel: Drive/F5A 
Rev: B1.4
Dec 28 12:42:04 debian kernel:   Type:   CD-ROM 
ANSI SCSI revision: 02

lilo.conf
append=hdb=ide-scsi hdd=ide-scsi

modules.conf
### update-modules: start processing /etc/modutils/cdr
options ide-cd ignore='hdb hdd'
pre-install sg modprobe ide-scsi
### update-modules: end processing /etc/modutils/cdr


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: SCSI emulation for IDE CD-writer

2002-12-28 Thread Bob Proulx
Steve Doerr [EMAIL PROTECTED] [2002-12-28 14:27:14 -0600]:
 I just installed and burned a cd per the cd writing howto, but now I
 can't find what to mount to read it.

 It's not at scd0 or scsi0 and I'm not sure how to find it.

Run

  cdrecord -scanbus

And post the output of that command.

 append=hdb=ide-scsi hdd=ide-scsi   

Since you had this in your lilo.conf it would seem to me that your cd
would either be at /dev/scd1 or /dev/scd3 and could not be elsewhere.
Since you tried /dev/scd1 try /dev/scd3 next.

 Does anyone know how to find it or see anything wrong with how I set
 this up?

Here are my instructions for setting up a CD-RW drive on Debian.
Perhaps they will help.  This sets up a very particular configuration.
You will have to adapt it for your installation.

Bob


Setting up a CD-RW drive

I am going to assume that the CD-ROM is on a master IDE device and
that the CD-RW is a slave IDE device on the same cable since that is a
typical configuration.  In order to use the CD writer it must appear
as a SCSI device.  In that case you might as well treat both of the
devices as SCSI for consistency.

First you need the kernel to load the ide-scsi module at boot
time.  Put the name of that driver in /etc/modules.

In /etc/modules place the following:

  ide-scsi

The ide-scsi module can only adapt an IDE device to a SCSI if it has
not already been grabbed by the normal IDE layer.  Therefore the
kernel must be instructed to load the ide-scsi driver for these
devices at boot time such that the ide-scsi driver will be loaded
first.

In /etc/lilo.conf place the following:

  append=hdc=ide-scsi hdd=ide-scsi

The hdc device is your master device which I am assuming will be your
CD-ROM device.  The hdd device is your slave device which I am
assuming will be your CD-RW device.

Test your configuration using cdrecord -scanbus.  It should be able to
see your CD devices.

  cdrecord -scanbus

At this point things are configured for the kernel to handle the
devices correctly as SCSI devices.  Now we set up the rest of the
system to know about these.  Typically on Linux systems the device is
aliased as a symlink in /dev.  Remove any previous aliases.  Create
new aliases for the new devices.

  rm -f /dev/cdrom
  ln -s /dev/scd0 /dev/cdrom
  rm -f /dev/cdrw
  ln -s /dev/scd1 /dev/cdrw

Create mount points for these devices.  These could go anywhere on
your filesystem.  Typically they will be mounted in / as /cdrom and
/cdrw.  However another common convention is to mount these under /mnt
as /mnt/cdrom and /mnt/cdrw.  For now I will go with the Debian
default and show them in /cdrom and /cdrw.

  mkdir -p /cdrom /cdrw

Configure those device nodes and mount points in your filesystem table
so that they can be easily mounted.  The configuration shown here
allows any user to mount and unmount these devices as themself and
root capability is not needed.

In /etc/fstab place the following:

  /dev/cdrom /cdrom iso9660 ro,user,noauto 0 0
  /dev/cdrw  /cdrw  iso9660 ro,user,noauto 0 0

All done!



msg21317/pgp0.pgp
Description: PGP signature


Re: SCSI emulation for IDE CD-writer

2002-12-28 Thread Bill Moseley
On Sat, 28 Dec 2002, Bob Proulx wrote:

 First you need the kernel to load the ide-scsi module at boot
 time.  Put the name of that driver in /etc/modules.
 
 In /etc/modules place the following:
 
   ide-scsi
 
 The ide-scsi module can only adapt an IDE device to a SCSI if it has
 not already been grabbed by the normal IDE layer.  Therefore the
 kernel must be instructed to load the ide-scsi driver for these
 devices at boot time such that the ide-scsi driver will be loaded
 first.
 
 In /etc/lilo.conf place the following:
 
   append=hdc=ide-scsi hdd=ide-scsi

Now this confuses me.  I assumed that if the ide-scsi was built as a
module you would use options in the /etc/modutils setup to pass in the
options when loading the module.  I thought the append= line in lilo.conf
was to pass in settings to compiled in code.  Is that a wrong assumption?

Another question:  I have everything compiled into the kernel instead of
as modules.  I have two IDE drives and I'm *not* using the append line,
yet the drives are still setup correctly as SCSI.

Why don't I need the append= line?


-- 
Bill Moseley [EMAIL PROTECTED]



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




SCSI Emulation for IDE ???

1998-05-22 Thread Kevin Traas
Someone once mentioned to me that there was a package available that would
configure an IDE device (i.e. CDROM) to appear as a SCSI device to the
kernel - or at least any running applications

If you know what this is, or where I can find more info on it, I would much
appreciate it.

Regards,
Kevin Traas


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


SCSI Emulation for IDE???

1998-05-22 Thread XRDLAB

I too had faced this problem when I wanted to burn a cd on my ide cd-rw
(hp7100i). One of the suggestions was to use a kernel later than 2.1.74.
Since I could not compile the kernel 2.1.94 on my bo system, I compiled
the 2.0.32 kernel with scsi emulation enabled. If you are planning to burn
the cd's, you have to get cdrecord and apply the patch given therein.

Hope this helps,

Bye,

sridhar 



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


Re: SCSI Emulation for IDE ???

1998-05-22 Thread Greg Norris
One of the kernel options (for 2.0.33 at least) is SCSI-emulation
support, and the help description sounds like it might be what you want.
Look under Floppy, IDE, and other block devices when you generate your
new kernel-configuration.

I've not used it myself, so I can't really say how reliable it is...

On Thu, May 21, 1998 at 05:04:16PM -0700, Kevin Traas wrote:
 Someone once mentioned to me that there was a package available that would
 configure an IDE device (i.e. CDROM) to appear as a SCSI device to the
 kernel - or at least any running applications


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]