LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 11-28-2002, 08:02 PM   #1
RWild
Member
 
Registered: Nov 2002
Location: Cary, NC
Distribution: Red Hat
Posts: 76

Rep: Reputation: 15
Firewire DVD burner - what device to mount?


This is _really_ stupid but ...

I cannot figure out what device I should use to mount a firewire DVD burner. All the IEEE1394 drivers load and the DVD is recognized and attached to the IEEE bus. gscanbus shows it and the controller. Among the things I have tried are:

mount /dev/sbpcd /dev/dvd
mount /dev/srx /dev/dvd (x = 1 .. 3)
mount /dev/sbc /dev/dvd
mount /dev/sbc1 /dev/dvd

I get messages that either the device is not a valid block device or that it does not exist. This is driving me NUTS!! I know it is something stupid. Please, please, go ahead and embrass me by telling me.

Ralph
 
Old 11-29-2002, 02:12 AM   #2
born4linux
Senior Member
 
Registered: Sep 2002
Location: Philippines
Distribution: Slackware, RHEL&variants, AIX, SuSE
Posts: 1,127

Rep: Reputation: 49
files to check

/var/log/dmesg
/var/log/messages

this would most likely reflect what block device to use.
 
Old 11-29-2002, 11:03 AM   #3
RWild
Member
 
Registered: Nov 2002
Location: Cary, NC
Distribution: Red Hat
Posts: 76

Original Poster
Rep: Reputation: 15
You would think so but I don't see anything that looks like a device name for the DVD in either file.

Are there specific device names associated with the IEEE1394 SBP-2 module?

In /proc/ide, I can see /hdc and /hdd, the interrnal ide optical drives. The optical drives are also listed by model in /proc/scsi/scsi but there is no entry for the DVD.
There is no /proc/ieee1394 or /proc/sbp2 but there is a /proc/scsi/sbp2. What it contains appears to relate to the ieee controller and not the device that is attached to it.

/var/log/dmesg does contain several lines from the ieee sbp2 module indicating that it "logged into" the DVD but doesn't show anything like a /dev name.
 
Old 11-30-2002, 01:51 PM   #4
RWild
Member
 
Registered: Nov 2002
Location: Cary, NC
Distribution: Red Hat
Posts: 76

Original Poster
Rep: Reputation: 15
Finally figured this out.

My problem was that the device was not "registered." I could't get the rescan-scsi-bus.sh script to run. Regardless of who owns the file, I got permission problems but I was able to do

echo "scsi add-single-device 1 0 0 0" > /proc/scsi/scsi

(The ieee1394 controller is scsi1). This makes the DVD burner the third scsi cd so mount /dev/scd2 /mnt/dvd does the trick.

Ralph
 
Old 01-21-2003, 09:53 AM   #5
mheerling
LQ Newbie
 
Registered: Jan 2003
Location: Ludwigsburg, Germany
Distribution: SuSE-8.1, SuSE-7.1, SuSE-6.4, Knoppix-3.1
Posts: 5

Rep: Reputation: 0
Hi,
I'm also stuck with my external IEEE1394 HP DVD200e.

Doing an "modprobe ohci1394", /var/log/messages gives:
an 21 16:45:32 oshi kernel: ohci1394: $Rev: 530 $ Ben Collins <bcollins@debian.org>
Jan 21 16:45:32 oshi kernel: PCI: Found IRQ 11 for device 02:01.2
Jan 21 16:45:32 oshi kernel: PCI: Sharing IRQ 11 with 02:01.0
Jan 21 16:45:32 oshi kernel: PCI: Sharing IRQ 11 with 02:01.1
Jan 21 16:45:32 oshi kernel: ohci1394_0: OHCI-1394 1.0 (PCI): IRQ=[11] MMIO=[f8fff000-f8fff800] Max Packet=[2048]
Jan 21 16:45:33 oshi kernel: ieee1394: Host added: Node[00:1023] GUID[484fc0001e78c010] [Linux OHCI-1394]
Jan 21 16:45:33 oshi kernel: ieee1394: Device added: Node[01:1023] GUID[0060b00005020b98] [HP ]
Jan 21 16:45:33 oshi kernel: ieee1394: sbp2: Logged into SBP-2 device
Jan 21 16:45:33 oshi kernel: ieee1394: sbp2: Node[01:1023]: Max speed [S400] - Max payload [2048]
Jan 21 16:45:33 oshi kernel: scsi1 : IEEE-1394 SBP-2 protocol driver (host: ohci1394)
Jan 21 16:45:33 oshi kernel: $Rev: 530 $ James Goodwin <jamesg@filanet.com>
Jan 21 16:45:33 oshi kernel: SBP-2 module load options:
Jan 21 16:45:33 oshi kernel: - Max speed supported: S400
Jan 21 16:45:33 oshi kernel: - Max sectors per I/O supported: 255
Jan 21 16:45:33 oshi kernel: - Max outstanding commands supported: 8
Jan 21 16:45:33 oshi kernel: - Max outstanding commands per lun supported: 1
Jan 21 16:45:33 oshi kernel: - Serialized I/O (debug): no
Jan 21 16:45:33 oshi kernel: - Exclusive login: yes
Jan 21 16:45:33 oshi kernel: scsi: unknown type 31
Jan 21 16:45:33 oshi kernel: Vendor: Model: @ Rev:
Jan 21 16:45:33 oshi kernel: Type: Unknown ANSI SCSI revision: 07
Jan 21 16:45:33 oshi kernel: sg: find_free_slot ...<7>sg: ... found 15:01
Jan 21 16:45:33 oshi kernel: sg_attach: dev1=(21:1)
Jan 21 16:45:33 oshi kernel: Attached scsi generic sg1 at scsi1, channel 0, id 0, lun 0, type 31
Jan 21 16:45:33 oshi kernel: sd_attach()
Jan 21 16:45:33 oshi kernel: resize_dma_pool: unknown device type 31
Jan 21 16:45:33 oshi insmod: Using /lib/modules/2.4.19-4GB/kernel/drivers/ieee1394/sbp2.o
Jan 21 16:45:33 oshi insmod: Symbol version prefix ''

I ran rescan-scsi-bus.sh:
Jan 21 16:44:14 oshi kernel: scsi singledevice 0 0 1 0
Jan 21 16:44:14 oshi kernel: scsi singledevice 0 0 2 0
Jan 21 16:44:14 oshi kernel: scsi singledevice 0 0 3 0
Jan 21 16:44:14 oshi kernel: scsi singledevice 0 0 4 0
Jan 21 16:44:14 oshi kernel: scsi singledevice 0 0 5 0
Jan 21 16:44:15 oshi kernel: scsi singledevice 0 0 6 0
Jan 21 16:44:15 oshi kernel: scsi singledevice 0 0 7 0
Jan 21 16:44:15 oshi kernel: scsi singledevice 1 0 1 0
Jan 21 16:44:15 oshi kernel: scsi singledevice 1 0 2 0
Jan 21 16:44:15 oshi kernel: scsi singledevice 1 0 3 0
Jan 21 16:44:15 oshi kernel: scsi singledevice 1 0 4 0
Jan 21 16:44:15 oshi kernel: scsi singledevice 1 0 5 0
Jan 21 16:44:15 oshi kernel: scsi singledevice 1 0 6 0
Jan 21 16:44:15 oshi kernel: scsi singledevice 1 0 7 0

But I don't know what device to mount:

oshi:/tmp # mount /dev/sr1 /mnt/cdrom
mount: /dev/sr1: unknown device
oshi:/tmp # mount /dev/sg1 /mnt/cdrom
mount: /dev/sg1 is not a block device
oshi:/tmp # mount /dev/scd1 /mnt/cdrom
mount: /dev/scd1: unknown device
oshi:/tmp # mount /dev/scd2 /mnt/cdrom
mount: /dev/scd2: unknown device

Does the "scsi: unknown type 31" mean what I think it does?

Thanks for any hints!
SuSE-8,1, 2.4.19 (SuSE Kernel), HP DVD200e (external IEEE1394/USB2 CD/DVD+RW burner). USB is fine but only 1.1 since my Notebook - Dell Latitude C840 has only USB-1.1.

Marv
 
Old 01-21-2003, 10:04 AM   #6
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
At this point I'd check cdrecord -scanbus to see if it's registering up there.
 
Old 01-21-2003, 10:12 AM   #7
mheerling
LQ Newbie
 
Registered: Jan 2003
Location: Ludwigsburg, Germany
Distribution: SuSE-8.1, SuSE-7.1, SuSE-6.4, Knoppix-3.1
Posts: 5

Rep: Reputation: 0
Thanks for your quick reply.

oshi:~ # cdrecord -scanbus
Cdrecord 1.11a28 (i686-suse-linux) Copyright (C) 1995-2002 Jörg Schilling
Linux sg driver version: 3.2.0
Using libscg version 'schily-0.6'
scsibus0:
0,0,0 0) 'HL-DT-ST' 'RW/DVD GCC-4240N' 'D110' 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) '' '' '' Removable vendor specific 7 unknown/no device
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) *

What gives?
Thx again!

Marv
 
Old 01-21-2003, 10:21 AM   #8
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
echo "scsi add-single-device 1 0 0 0" > /proc/scsi/scsi

Did you try that line? I have no idea where they got that from, but it seemed to be what fixed it for them

Then try the cdrecord -scanbus again, and with any luck mount it up with /dev/scd2

Cool
 
Old 01-21-2003, 10:48 AM   #9
mheerling
LQ Newbie
 
Registered: Jan 2003
Location: Ludwigsburg, Germany
Distribution: SuSE-8.1, SuSE-7.1, SuSE-6.4, Knoppix-3.1
Posts: 5

Rep: Reputation: 0
Yes, I done that.
kernel log says:
Jan 21 17:47:21 oshi kernel: scsi singledevice 1 0 0 0

oshi:/tmp # echo "scsi add-single-device 1 0 0 0" > /proc/scsi/scsi
oshi:/tmp # cdrecord -scanbus
Cdrecord 1.11a28 (i686-suse-linux) Copyright (C) 1995-2002 Jörg Schilling
Linux sg driver version: 3.2.0
Using libscg version 'schily-0.6'
scsibus0:
0,0,0 0) 'HL-DT-ST' 'RW/DVD GCC-4240N' 'D110' 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) '' '' '' Removable vendor specific 7 unknown/no device
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) *
oshi:/tmp # mount /dev/scd2 /mnt/cdrom
mount: /dev/scd2: unknown device

:-((

Thank you.

Marv
 
Old 01-21-2003, 11:08 AM   #10
mheerling
LQ Newbie
 
Registered: Jan 2003
Location: Ludwigsburg, Germany
Distribution: SuSE-8.1, SuSE-7.1, SuSE-6.4, Knoppix-3.1
Posts: 5

Rep: Reputation: 0
By loading "modprobe raw1394" I can start gscanbus.
Selecting the "S400 HP" device, I get:

SelfID Info
-----------
Physical ID: 1
Link active: Yes
Gap Count: 63
PHY Speed: S400
PHY Delay: <=144ns
IRM Capable: No
Power Class: -1W
Port 0: Not connected
Port 1: Connected to child node
Init. reset: No

CSR ROM Info
------------
GUID: 0x0060B00005020B98
Node Capabilities: 0x000083C0
Vendor ID: 0x000060B0
Unit Spec ID: 0x0000609E
Unit SW Version: 0x00010483
Model ID: 0x00000340
Nr. Textual Leafes: 2

Vendor: HEWLETT-PACKARD CO.
Textual Leafes:
HP
REV1

AV/C Subunits
-------------
N/A

Marv
 
Old 01-21-2003, 11:17 AM   #11
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
Hmmm, well I'm not quite sure what's going on and wish I could help a bit more. Have you checked out:
http://www.linux1394.org/

Hopefully you can find what you need there, sorry I can't figure out the problem.
 
Old 01-21-2003, 12:53 PM   #12
abacad
LQ Newbie
 
Registered: Nov 2002
Location: Derbyshire UK
Distribution: Xandros
Posts: 29

Rep: Reputation: 15
When installing my Firewire Hard Drive, I had to add the following to the /etc/devices/drivers file:

50 ieee1394
51 ohci1394
52 sbp2

Save, rescan and restart.

Your DVD should then show up under /dev/cdroms with a mount point /mnt/cdrom1 or similar. Then add to your /etc/fstab file.
I think the raw1394 module is only required for digital cameras.

Jim
 
Old 01-21-2003, 05:42 PM   #13
mheerling
LQ Newbie
 
Registered: Jan 2003
Location: Ludwigsburg, Germany
Distribution: SuSE-8.1, SuSE-7.1, SuSE-6.4, Knoppix-3.1
Posts: 5

Rep: Reputation: 0
Sorry, my SuSE-8.1 box does not have this file nor that directory.
Thanks anyway.

Marv
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
mount as a device: mount dvd-iso file in /dev/dvd sadarax Linux - General 21 02-02-2011 11:59 PM
how can I mount my dvd burner using SCSI emulation? Xavius Linux - Hardware 14 04-17-2005 11:38 PM
can't mount a dvd on a cd burner/dvd rom drive dr_zayus69 Linux - Hardware 7 12-09-2004 08:56 AM
unable to mount DVD burner, Slackware 9.1 kernel 2.4.22 apaterra Linux - Hardware 5 12-04-2004 08:43 AM
Unable to mount dvd device on Fedora corpus_delicti Linux - Hardware 8 02-03-2004 09:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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