LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 03-27-2006, 05:55 PM   #1
Keithj
Member
 
Registered: May 2005
Location: Essex and Norfolk
Distribution: Debian, Fedora 8 and 9, Mandriva 2009, Mepis, Kubuntu, SuSe 10.1, Slackware 12.1 - and Knoppix.
Posts: 155

Rep: Reputation: 30
SCSI DVD not accessible in HD install of Knoppix 5.0


I've just installed Knoppix 5.0 from scratch onto the hard drive of a box with a 600MHz Pentium. I installed using a "borrowed" IDE DVD drive since the SCSI card in the box isn't bootable. However, there is a SCSI DVDROM on there: it was accessible when this was a Windows box but under Knoppix I can't access it, even after the installation is complete.

The core version is 2.6.15

The SCSI card is an old Advansys; the DVDROM drive is a Pioneer DVD-303. There's nothing in FSTAB about this DVDROM.

lspci shows this:
0000:00:00.0 Host bridge: VIA Technologies, Inc. VT82C693A/694x [Apollo PRO133x] (rev c4)
0000:00:01.0 PCI bridge: VIA Technologies, Inc. VT82C598/694x [Apollo MVP3/Pro13 3x AGP]
0000:00:04.0 ISA bridge: VIA Technologies, Inc. VT82C596 ISA [Mobile South] (rev 23)
0000:00:04.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT82 3x/A/C PIPC Bus Master IDE (rev 10)
0000:00:04.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Contr oller (rev 11)
0000:00:04.3 Host bridge: VIA Technologies, Inc. VT82C596 Power Management (rev 30)
0000:00:0b.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C /8139C+ (rev 10)
0000:00:0c.0 SCSI storage controller: Advanced System Products, Inc ABP940-U / A BP960-U (rev 03)
0000:00:0d.0 CardBus bridge: Texas Instruments PCI1225 (rev 01)
0000:00:0d.1 CardBus bridge: Texas Instruments PCI1225 (rev 01)
0000:01:00.0 VGA compatible controller: ATI Technologies Inc Rage 128 RF/SG AGP


dmesg | grep shows these lines in the long bootup sequence:
scsi1 : AdvanSys SCSI 3.3K: PCI Ultra: IO 0xA800-0xA80F, IRQ 0xB
Vendor: PIONEER Model: DVD-ROM DVD-303R Rev: 1.10
Type: CD-ROM ANSI SCSI revision: 02
sr0: scsi3-mmc drive: 0x/0x cd/rw xa/form2 cdda tray
sr 1:0:1:0: Attached scsi CD-ROM sr0

I tried variations on sr0 in fstab but with no success - but as a tyro at Linux that may have been my fault.


The "borrowed" drive (hdd) shows - this is dmesg | grep hd:
Kernel command line: root=/dev/hdb1 ro ramdisk_size=100000 lang=en apm=power-off nomce vga=791
ide0: BM-DMA at 0xb800-0xb807, BIOS settings: hdaMA, hdbMA
ide1: BM-DMA at 0xb808-0xb80f, BIOS settings: hdcMA, hddMA
hda: WDC WD400EB-00JVF0, ATA DISK drive
hdb: IC35L040AVER07-0, ATA DISK drive
hdc: ST32140A, ATA DISK drive
hdd: AOpen 12X DVD-ROM/ASH 01112001, ATAPI CD/DVD-ROM drive
hda: max request size: 128KiB
hda: 78165360 sectors (40020 MB) w/2048KiB Cache, CHS=65535/16/63
hda: cache flushes supported
hda: hda1 hda2 < hda5 >
hdb: max request size: 128KiB
hdb: 66055248 sectors (33820 MB) w/1916KiB Cache, CHS=65531/16/63
hdb: cache flushes not supported
hdb: hdb1
hdc: max request size: 128KiB
hdc: 4127760 sectors (2113 MB) w/128KiB Cache, CHS=4095/16/63
hdc: cache flushes not supported
hdc: hdc1 < hdc5 >
hdd: ATAPI 40X DVD-ROM drive, 512kB Cache
SCSI device sda: 128000 512-byte hdwr sectors (66 MB)
SCSI device sda: 128000 512-byte hdwr sectors (66 MB)

SCSI device sda is a usb pendrive that happens to be plugged in at the moment and which works OK.


Should I abandon the idea of the SCSI drive and keep the IDE one, or am I missing something obvious?
 
Old 03-27-2006, 06:41 PM   #2
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
I had one of those setups years ago, Just when dvds came out. Scsi ROM, RAM, and optical drives will be defined as the first one as /dev/scd0 then /dev/scd1 and so on. See if you have a scd0 in /dev directory. If so a fstab line would look like this.
Code:
/dev/scd0		/mnt/dvdrom             auto    noauto,owner,rw 0 0
See if that helps.
Brian1
 
Old 03-27-2006, 07:30 PM   #3
Keithj
Member
 
Registered: May 2005
Location: Essex and Norfolk
Distribution: Debian, Fedora 8 and 9, Mandriva 2009, Mepis, Kubuntu, SuSe 10.1, Slackware 12.1 - and Knoppix.
Posts: 155

Original Poster
Rep: Reputation: 30
Unfortunately there is no scd0 or anything with scd in /dev. I suspect that's part of the problem, but I don't know how to create one. Straight copying doesn't work!

I think Knoppix/Debian/Linux would create those itself if it recognised what the drive is.

It has to be something very simple, because almost all the bits are there. But no way will the machine accept that there's a DVDROM on the SCSI connector - except that it shows up fine in Kinfocenter under SCSI, as well as in the DMESG extracts above.
 
Old 03-27-2006, 08:08 PM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 26,542

Rep: Reputation: 6225Reputation: 6225Reputation: 6225Reputation: 6225Reputation: 6225Reputation: 6225Reputation: 6225Reputation: 6225Reputation: 6225Reputation: 6225Reputation: 6225
Look at the output of lsmod to see if the SCSI controller module advansys is loading as well as other scsi modules scsi_mod and sr_mod
 
Old 03-28-2006, 05:00 PM   #5
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
I just assumed the list modules were loaded based on the dmesg output. List your modules with the command ' lsmod ' and post here.
If all modules are loaded then there one thing left to try. Been a while since I used it so I need to review my notes before telling you about it.

Brian1
 
Old 03-28-2006, 06:21 PM   #6
Keithj
Member
 
Registered: May 2005
Location: Essex and Norfolk
Distribution: Debian, Fedora 8 and 9, Mandriva 2009, Mepis, Kubuntu, SuSe 10.1, Slackware 12.1 - and Knoppix.
Posts: 155

Original Poster
Rep: Reputation: 30
This is the lsmod - I see advansys there, which I assume is the SCSI driver for the Advansys SCSI card in the machine. There's nothing that I can see which refers to the SCSI DVDROM drive, but then I don't know if there should be.

There is (at the moment, anyway), an IDE DVDROM drive installed - but I can't see that it should in any way affect the SCSI one.

Sound doesn't work either on the machine - the soundcard is there but the machine seems not to approve of it. A different problem, not so important.

Keith


ipv6 249312 70
lp 13576 0
autofs4 19460 1
af_packet 24584 0
dm_mod 50328 0
advansys 79904 0
fuse 35088 0
capability 7176 0
commoncap 9088 1 capability
joydev 11840 0
serio_raw 9476 0
8250_pnp 12416 0
8250 47348 1 8250_pnp
serial_core 20864 1 8250
parport_pc 39108 2
parport 33736 2 lp,parport_pc
via_agp 11520 1
agpgart 31056 1 via_agp
shpchp 43360 0
pci_hotplug 27460 1 shpchp
i2c_viapro 11284 0
i2c_core 20736 1 i2c_viapro
evdev 11392 0
ohci1394 33716 0
ieee1394 288216 1 ohci1394
ohci_hcd 22020 0
pcmcia 34476 4
firmware_class 11776 1 pcmcia
yenta_socket 26764 4
rsrc_nonstatic 14464 1 yenta_socket
pcmcia_core 37528 3 pcmcia,yenta_socket,rsrc_nonstatic
apm 21996 0
ext3 123272 1
jbd 63776 1 ext3
usb_storage 70848 1
usbhid 47584 0
8139too 27008 0
mii 8448 1 8139too
uhci_hcd 32912 0
usbcore 111492 5 ohci_hcd,usb_storage,usbhid,uhci_hcd
processor 26600 0
reiserfs 244336 1
 
Old 03-28-2006, 08:30 PM   #7
michaelk
Moderator
 
Registered: Aug 2002
Posts: 26,542

Rep: Reputation: 6225Reputation: 6225Reputation: 6225Reputation: 6225Reputation: 6225Reputation: 6225Reputation: 6225Reputation: 6225Reputation: 6225Reputation: 6225Reputation: 6225
You need to load the SCSI modules scsi_mod and sr_mod

i.e.
modprobe scsi_mod
modprobe sr_mod
 
Old 03-29-2006, 03:38 AM   #8
Keithj
Member
 
Registered: May 2005
Location: Essex and Norfolk
Distribution: Debian, Fedora 8 and 9, Mandriva 2009, Mepis, Kubuntu, SuSe 10.1, Slackware 12.1 - and Knoppix.
Posts: 155

Original Poster
Rep: Reputation: 30
Thanks - that sounds like the answer. Sadly, I get this:

root@Knoppix5:/home/keithj# modprobe scsi_mod
FATAL: Module scsi_mod not found.
root@Knoppix5:/home/keithj# modprobe sr_mod
FATAL: Module sr_mod not found.
root@Knoppix5:/home/keithj#

It's the same problem I get with the soundcard and soundcore.o - I think Knoppix 5 must be missing some "bits" somewhere. The right modules are "not found" even though Krusader shows them sitting there. I'd edit modules.conf if I dared.
 
Old 03-29-2006, 04:37 PM   #9
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
It is possible those two are compiled into the kernel and are not modules. Hard to say because I do not know how to check to see what a kernel is compiled with.

It seems to see something so one last idea. This is the one I had to review. You need to download sg-utils. Can be found here: http://sg.torque.net/sg/u_index.html . Once installed run the command sg_scan and see what it shows. Then the command sg_map. Then hopefully the /dev/scd0 appears. No gaurantee but this is what I had in my notes on sg-utils.

Brian1
 
Old 03-30-2006, 05:20 AM   #10
Keithj
Member
 
Registered: May 2005
Location: Essex and Norfolk
Distribution: Debian, Fedora 8 and 9, Mandriva 2009, Mepis, Kubuntu, SuSe 10.1, Slackware 12.1 - and Knoppix.
Posts: 155

Original Poster
Rep: Reputation: 30
Thanks for that! sg-utils is now sg3-utils, which I downloaded. It found, but couldn't open the SCSI DVDROM. Following links from it, I found a very nice app called scsiadd which had the same result, and then lsscsi - all of them see the SCSI drive, all agree on its details, and none can make it connect.

Given that I'm having similar problems with soundcards, I went to the Knoppix forum to see if anyone else had meanwhile found the same problems with Knoppix 5, and the advice there was not even to try! Knoppix is essentially only for running from CD/DVD. The recommendation is to install the latest incarnation of Debian Sarge. I'll do that in a week or so. Meanwhile, it's back to Windows on this machine.
 
Old 04-01-2006, 10:53 AM   #11
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
What a weird thing in Knoppix to do. O'well if one distro does not work others can. Done this in the past. Mostly a redhat clone fan but have pieced in other distros code to fine tune it.

Good luck and let us know if the dvd works in Debian.
Brian1
 
  


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
How Do I Install Knoppix 4.0 From Dvd Live Distro TERRY.ver10 Linux - Newbie 1 12-05-2005 12:04 PM
DVD Decrypter (without SCSI emulation) + DVD Shrink mrbass Linux - Software 5 10-25-2005 02:20 PM
Is it possible to install KNOPPIX 4.0 live DVD onto HDD instead of booting from disk? Andrewt84 Linux - Newbie 2 10-11-2005 07:03 AM
Newbie trying to make Knoppix accessible from Windows over network! 26242 Linux - Networking 3 04-10-2005 12:16 PM
have combo CD-RW/DVD, problem with SCSI emulation, can not play DVD stunix Linux - Hardware 3 10-12-2003 09:23 AM

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

All times are GMT -5. The time now is 09:50 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