Unix Technical Forum

SCSI emulation with Slack 10.0

This is a discussion on SCSI emulation with Slack 10.0 within the Slackware Linux Support forums, part of the Unix Operating Systems category; --> Hi, I'm currently trying to follow MikeyD's advice on my previous post and activate SCSI emulation for burning. I've ...


Go Back   Unix Technical Forum > Unix Operating Systems > Slackware Linux Support

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-19-2008, 03:57 PM
Kiki Novak
 
Posts: n/a
Default SCSI emulation with Slack 10.0

Hi,

I'm currently trying to follow MikeyD's advice on my previous post and
activate SCSI emulation for burning. I've googled around, as the subject is
rather new to me, read the various - and often contradictory doc - and
tried to configure the thing. Doesn't seem to work, but I think I'm not
very far from success. Here's what I got.

1) First thing was to correctly identify my DVD writer with dmesg. Here's
the line:

---------
hdc: PIONEER DVD RW DVR-106D, ATAPI CD/DVD-ROM drive
---------

2) I'm using GRUB rather than lilo, so I modified the last line of the
according stanza in /boot/grub/menu.lst, which now reads:

--------
default 0
timeout 30

title Linux Slackware 10.0
root (hd0,1)
kernel=/vmlinuz root=/dev/hda3 hdc=ide-scsi ro
---------

3) I checked /etc/rc.d/rc.modules and found this line already uncommented:

----------
/sbin/modprobe ide-scsi
----------

But still, I must be missing something, since here's what I get at startup:

----------
hda: ST3120022A, ATA DISK drive
hdb: SONY DVD-ROM DDU1612, ATAPI CD/DVD-ROM drive
blk: queue c03b3360, I/O limit 4095Mb (mask 0xffffffff)
hdc: PIONEER DVD RW DVR-106D, ATAPI CD/DVD-ROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: attached ide-disk driver.
hda: host protected area => 1
hda: 234441648 sectors (120034 MB) w/2048KiB Cache, CHS=14593/255/63,
UDMA(100)
hdb: attached ide-cdrom driver.
hdb: ATAPI 40X DVD-ROM drive, 512kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.12
Partition check:
hda: hda1 hda2 hda3 hda4 < hda5 hda6 hda7 hda8 >
SCSI subsystem driver Revision: 1.00
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
------------

Setup seems to vary according to different distros and/or versions.
Unfortunately, I found no HOWTO for SCSI emulation with Slack 10.0.

Any hints about what to do next?

Niki Kovacs
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-19-2008, 03:57 PM
Ivan
 
Posts: n/a
Default Re: SCSI emulation with Slack 10.0

Ono HOWTO for SCSI emulation with Slack 10.0.
>
> Any hints about what to do next?


i'm not using scsi for cd burning any more, but i think that you also need
SCSI generic support (sg modul, from SCSI device support) to make this
work. try '# lsmod' to see what modules are loaded.

i.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-19-2008, 03:58 PM
MikeyD
 
Posts: n/a
Default Re: SCSI emulation with Slack 10.0

Kiki Novak wrote:

> Hi,
>
> I'm currently trying to follow MikeyD's advice on my previous post and
> activate SCSI emulation for burning. I've googled around, as the subject
> is rather new to me, read the various - and often contradictory doc - and
> tried to configure the thing. Doesn't seem to work, but I think I'm not
> very far from success. Here's what I got.
>
> 1) First thing was to correctly identify my DVD writer with dmesg. Here's
> the line:
>
> ---------
> hdc: PIONEER DVD RW DVR-106D, ATAPI CD/DVD-ROM drive
> ---------
>
> 2) I'm using GRUB rather than lilo, so I modified the last line of the
> according stanza in /boot/grub/menu.lst, which now reads:
>
> --------
> default 0
> timeout 30
>
> title Linux Slackware 10.0
> root (hd0,1)
> kernel=/vmlinuz root=/dev/hda3 hdc=ide-scsi ro
> ---------
>
> 3) I checked /etc/rc.d/rc.modules and found this line already uncommented:
>
> ----------
> /sbin/modprobe ide-scsi
> ----------
>
> But still, I must be missing something, since here's what I get at
> startup:
>
> ----------
> hda: ST3120022A, ATA DISK drive
> hdb: SONY DVD-ROM DDU1612, ATAPI CD/DVD-ROM drive
> blk: queue c03b3360, I/O limit 4095Mb (mask 0xffffffff)
> hdc: PIONEER DVD RW DVR-106D, ATAPI CD/DVD-ROM drive
> ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
> ide1 at 0x170-0x177,0x376 on irq 15
> hda: attached ide-disk driver.
> hda: host protected area => 1
> hda: 234441648 sectors (120034 MB) w/2048KiB Cache, CHS=14593/255/63,
> UDMA(100)
> hdb: attached ide-cdrom driver.
> hdb: ATAPI 40X DVD-ROM drive, 512kB Cache, UDMA(33)
> Uniform CD-ROM driver Revision: 3.12
> Partition check:
> hda: hda1 hda2 hda3 hda4 < hda5 hda6 hda7 hda8 >
> SCSI subsystem driver Revision: 1.00
> kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
> kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
> kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
> ------------
>
> Setup seems to vary according to different distros and/or versions.
> Unfortunately, I found no HOWTO for SCSI emulation with Slack 10.0.
>
> Any hints about what to do next?
>

Try uncommenting the scsi related lines in the same file - especially sg and
sr_mod. But IIRC slack doesn't have any scsi modules. So you either have to
install a kernel with scsi support off the cd
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-19-2008, 03:58 PM
Kiki Novak
 
Posts: n/a
Default Re: SCSI emulation with Slack 10.0

MikeyD wrote:

> Try uncommenting the scsi related lines in the same file - especially sg
> and sr_mod. But IIRC slack doesn't have any scsi modules. So you either
> have to install a kernel with scsi support off the cd


I tried this, but you are right. I only have the stock bare.i kernel.

Two questions to that:

1) There are three SCSI kernels on the first Slackware CD, in /kernels.
scsi.s, scsi2.s and scsi3.s. Which one to choose?

2) I don't know how to install any of these without having to reinstall
everything from scratch? Is there a way to do that?

Thanks,

KN


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 02-19-2008, 03:58 PM
nalsing
 
Posts: n/a
Default Re: SCSI emulation with Slack 10.0

Kiki Novak wrote:
> Any hints about what to do next?


Hi,
Slackware 10,

my cdrom is hdb
my grub line has as yours hdb=ide-sci
( kernel (hd0,0)/vmlinuz root=/dev/hda2 hdb=ide-scsi quiet vga=791 )

/etc/modules has ( but I do not think this is critical )

alias scsi_hostadapter ide-scsi
options ide-cd ignore 'hdb'

I also get this message on boot up
SCSI subsystem driver Revision: 1.00

kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2

kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2

kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2


Had these errors in 9.0 as well just ignored it...


my cdrom is linked in /etc/cdrom to /dev/scd0

xcdroast ( from Slackdisk-3 /extra ) works ok for me (let it set up
permissions for you)

Helpfull maybe.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 02-19-2008, 03:58 PM
nalsing
 
Posts: n/a
Default Re: SCSI emulation with Slack 10.0

nalsing wrote:
> Kiki Novak wrote:
>
>> Any hints about what to do next?

>
>
> Hi,
> Slackware 10,
>
> my cdrom is hdb
> my grub line has as yours hdb=ide-sci
> ( kernel (hd0,0)/vmlinuz root=/dev/hda2 hdb=ide-scsi quiet vga=791 )
>
> /etc/modules has ( but I do not think this is critical )
>
> alias scsi_hostadapter ide-scsi
> options ide-cd ignore 'hdb'
>
> I also get this message on boot up
> SCSI subsystem driver Revision: 1.00
> kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
> kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
> kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
>
> Had these errors in 9.0 as well just ignored it...
>
>
> my cdrom is linked in /etc/cdrom to /dev/scd0
>
> xcdroast ( from Slackdisk-3 /extra ) works ok for me (let it set up
> permissions for you)
>
> Helpfull maybe.
>

append....

as root cdrecord -scanbus gives this
---------
scsibus0:
0,0,0 0) 'ATAPI ' 'COMBO48XMAX ' '1.30' Removable CD-ROM
0,1,0 1) *
0,2,0 2) *
0,3,0 3) *
0,4,0 4) *
0,5,0 5) *
0,6,0 6) *
0,7,0 7) *
scsibus1:
1,0,0 100) 'HP ' 'photosmart 7200 ' '1.00' Removable Disk
1,1,0 101) *
1,2,0 102) *
1,3,0 103) *
1,4,0 104) *
1,5,0 105) *
1,6,0 106) *
1,7,0 107) *
----------
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 02-19-2008, 03:58 PM
Rich Grise
 
Posts: n/a
Default Re: SCSI emulation with Slack 10.0

On Wednesday 29 September 2004 09:58 am, Kiki Novak did deign to grace us
with the following:

> MikeyD wrote:
>
>> Try uncommenting the scsi related lines in the same file - especially sg
>> and sr_mod. But IIRC slack doesn't have any scsi modules. So you either
>> have to install a kernel with scsi support off the cd

>
> I tried this, but you are right. I only have the stock bare.i kernel.
>
> Two questions to that:
>
> 1) There are three SCSI kernels on the first Slackware CD, in /kernels.
> scsi.s, scsi2.s and scsi3.s. Which one to choose?
>
> 2) I don't know how to install any of these without having to reinstall
> everything from scratch? Is there a way to do that?
>
> Thanks,


I have essentially the same questions as you, and have only a very vague
idea how to go about burning CD-roms - some of the stuff I've found by
searching sounds ambiguous or something. I'll post the results of my
searching, and it'd be very nice of you to do the same.

Thanks,
Rich

(of course, if someone wants to just jump in, far be it from me to stop
them!) ;-)

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 02-19-2008, 03:58 PM
Rich Grise
 
Posts: n/a
Default Re: SCSI emulation with Slack 10.0

On Wednesday 29 September 2004 11:39 am, nalsing did deign to grace us with
the following:
>
> as root cdrecord -scanbus gives this
> ---------
> scsibus0:
> 0,0,0 0) 'ATAPI ' 'COMBO48XMAX ' '1.30' Removable
> CD-ROM
> 0,1,0 1) *

etc.

Well, I thought I'd check /usr/doc/Linux-HOWTOs/CD-Writing-HOWTO ,
and lo and behold!
--------------
Once you succeed setting up your hardware and the rest of your Linux-
system, the command cdrecord -scanbus shows you a list of devices on
your SCSI busses. The goal of this section is to guide you in setting
up your Linux-system, so that you finally end up seeing something
like:

shell> cdrecord -scanbus
Cdrecord release 1.7a1 Copyright (C) 1995-1998 Jörg Schilling
scsibus0:
0,0,0) 'Quantum ' 'XP34300 ' 'F76D' Disk
0,1,0) 'SEAGATE ' 'ST11200N ' '8334' Disk
0,2,0) *
---------------
So I think I'm gonna continue to RTFM for awhile. ;-)

Cheers!
Rich

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 02-19-2008, 03:58 PM
Kiki Novak
 
Posts: n/a
Default Re: SCSI emulation with Slack 10.0

Rich Grise wrote:

> I have essentially the same questions as you, and have only a very vague
> idea how to go about burning CD-roms - some of the stuff I've found by
> searching sounds ambiguous or something. I'll post the results of my
> searching, and it'd be very nice of you to do the same.


After a whole day of searching and ripping my hair out, I found a few
definite anwers. One of them is: you _have_ to turn on SCSI emulation for
burning frontends like K3B or XCDroast to work correctly.

To do this, I just reinstalled from scratch, chose a "scsi.s" kernel,
appended hdb=ide-scsi hdc=ide-scsi to menu.lst (I use GRUB, but it's
basically the same with LILO).

My drives are no more called hdb and hdc, but scd0 and scd1, and they work
great. Many hiccup problems (kdeeject failures, slow burning) are simply
gone. My writer writes full 30x speed now instead of 0.5x.

My website (http://www.kikinovak.net/linux) contains my basic Slackware
docs. Well, less of a doc and more of a memento of the things I've found
out and/or simply stumbled over. But it's in french.

Cheers,

Niki
>
> Thanks,
> Rich


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 02-19-2008, 03:59 PM
Ayaz Ahmed Khan
 
Posts: n/a
Default Re: SCSI emulation with Slack 10.0

"Kiki Novak" typed:

> title Linux Slackware 10.0
> root (hd0,1)
> kernel=/vmlinuz root=/dev/hda3 hdc=ide-scsi ro


I may be wrong, but shouldn't that be something like

append="hdc=ide-scsi"

--
Ayaz Ahmed Khan, <http://fast-ce.org/linux>
"Besides, I think [Slackware] sounds better than `Microsoft,' don't
you?" -- Patrick Volkerding
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 11:04 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com