DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD Installation and Upgrading

FreeBSD Installation and Upgrading Installing and upgrading FreeBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 26th December 2008
mururoa mururoa is offline
Fdisk Soldier
 
Join Date: May 2008
Posts: 46
Thanked 0 Times in 0 Posts
Default DVD Writer detection

Hi,
I have 1 dvd reader and 1 dvd writer in my case.
The dvd reader is just not detected
The dvd writer is detected but cdrecord or k3b dont see it. However I can mount a dvd on it with mount /cdrom.
The detection is like that :
acd0: DVDR <TSSTcorp CDDVDW SH-S223F/SB00> at ata5-slave UDMA33
This is a SATA dvd writer.
If I try to add /cdrom in k3b it just dont works (could not find).
What can I do ?
Reply With Quote
  #2   (View Single Post)  
Old 26th December 2008
Oko's Avatar
Oko Oko is offline
Fsck Surgeon
 
Join Date: May 2008
Location: Kosovo, Serbia
Posts: 768
Thanked 36 Times in 32 Posts
Default

Quote:
Originally Posted by mururoa View Post
Hi,
I have 1 dvd reader and 1 dvd writer in my case.
The dvd reader is just not detected
Does the BIOS see both drives? It would be vary unusual that BIOS see them and that the kernel doesn't see them. You will have to post more details starting with your hardware set up. How the drives are connected
to the mother board? You said that one is SATA. Is the another SATA or IDE? If it is IDE do you have IDE hard drive on the same IDE controller with HDD and similar things? You should also post dmesg. Also post the position of the pins on the back of your drives. Muster, slave, or cable determined?

Quote:
Originally Posted by mururoa View Post
The dvd writer is detected but cdrecord or k3b dont see it. However I can mount a dvd on it with mount /cdrom.
The detection is like that :
acd0: DVDR <TSSTcorp CDDVDW SH-S223F/SB00> at ata5-slave UDMA33
This is a SATA dvd writer.
If I try to add /cdrom in k3b it just dont works (could not find).
What can I do ?
Why do you believe that you should be able to use K3b? Just because you
installed program it doesn't mean that it is configured. Can you state the configuration steps
which you undertook.

K3b is just idiotic GUI for cdrtools and dvd+rw-tools so I would suggesting
making sure that you can use those tools from the shell before trying to
configre K3b. You should start by reading http://www.freebsd.org/doc/en/books/...ating-cds.html

If you are not familiar with concept of permissions from Unix you should
read about that as well. You should also probably read
man pages for devfs.conf, fstab before having any chance to get it K3b to
work right.

Cheers,
OKO

P.S. K3b uses libmad library to convert MP3s to wav necessary for music
CDs. I am not sure what it uses to prepare mpeg-s for writing on the DVD but if I have to guess it is mplayer, ffmpeg, and DVDauthor. All those tools are far more easier to use from the command line.
If you just want thinks to work maybe you should try PCBSD.

Last edited by Oko; 26th December 2008 at 09:01 PM.
Reply With Quote
  #3   (View Single Post)  
Old 26th December 2008
roddierod's Avatar
roddierod roddierod is offline
Real Name: Rod Person
VPN Cryptographer
 
Join Date: Apr 2008
Location: Pittsburgh, Pa
Posts: 373
Thanked 13 Times in 13 Posts
Default

k3b requires the cd/dvd to be a SCSI device so you need to

As root:
Code:
 kldload atapicam
before k3b or any apps that require SCSI device names.
__________________
"The basic tool for the manipulation of reality is the manipulation of words. If you can control the meaning of words, you can control the people who must use the words." -Philip K. Dick
Reply With Quote
  #4   (View Single Post)  
Old 30th December 2008
mururoa mururoa is offline
Fdisk Soldier
 
Join Date: May 2008
Posts: 46
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by Oko View Post
Does the BIOS see both drives? It would be vary unusual that BIOS see them and that the kernel doesn't see them. You will have to post more details starting with your hardware set up.
The bios see both. The reader is an ATA drive and the writer is a SATA drive.
I guess there is not much hope with 7.0 about the ATA drive since the controller chip is not supposed to be supported (Asus P5Q MB).
Windows see an use both drives so there is no connection issues.
Quote:
Originally Posted by Oko View Post
You should also post dmesg.
acd0: FAILURE - INQUIRY ILLEGAL REQUEST asc=0x24 ascq=0x00
cd0 at ata5 bus 0 target 1 lun 0
cd0: <TSSTcorp CDDVDW SH-S223F SB00> Removable CD-ROM SCSI-0 device
cd0: 33.000MB/s transfers
cd0: Attempt to query device size failed: NOT READY, Medium not present

Quote:
Originally Posted by Oko View Post
Why do you believe that you should be able to use K3b? Just because you
installed program it doesn't mean that it is configured. Can you state the configuration steps which you undertook.
Well both drives were setup correctly on FreeBSD installation so I did nothing special but since that I changed MB + CPU.
Quote:
Originally Posted by Oko View Post
K3b is just idiotic GUI for cdrtools and dvd+rw-tools so I would suggesting
making sure that you can use those tools from the shell before trying to
configre K3b. You should start by reading http://www.freebsd.org/doc/en/books/...ating-cds.html
I guess I have to do that.
cdrecord also dont detect the drive.
Quote:
Originally Posted by Oko View Post
If you just want thinks to work maybe you should try PCBSD.
Already tried. Didnt like it too much but good project.

Edit : just retried a detection with cdrecord and it works. Kinda strange since I did nothing since I kldload atapicam and it detected nothing just after ...
-->
cdrecord -scanbus
Cdrecord-Clone 2.01 (i386-unknown-freebsd7.0) Copyright (C) 1995-2004 J�rg Schilling
Using libscg version 'schily-0.8'.
scsibus6:
6,0,0 600) *
6,1,0 601) 'TSSTcorp' 'CDDVDW SH-S223F ' 'SB00' Removable CD-ROM
6,2,0 602) *
6,3,0 603) *
6,4,0 604) *
6,5,0 605) *
6,6,0 606) *
6,7,0 607) *
[root@mururoa2 ~]# cdrecord dev=6,1,0 -checkdrive
Cdrecord-Clone 2.01 (i386-unknown-freebsd7.0) Copyright (C) 1995-2004 J�rg Schilling
scsidev: '6,1,0'
scsibus: 6 target: 1 lun: 0
Using libscg version 'schily-0.8'.
Device type : Removable CD-ROM
Version : 0
Response Format: 2
Capabilities :
Vendor_info : 'TSSTcorp'
Identifikation : 'CDDVDW SH-S223F '
Revision : 'SB00'
Device seems to be: Generic mmc2 DVD-R/DVD-RW.
cdrecord: This version of cdrecord does not include DVD-R/DVD-RW support code.
cdrecord: If you need DVD-R/DVD-RW support, ask the Author for cdrecord-ProDVD.
cdrecord: Free test versions and free keys for personal use are at ftp://ftp.berlios.de/pub/cdrecord/ProDVD/
Using generic SCSI-3/mmc CD-R/CD-RW driver (mmc_cdr).
Driver flags : MMC-3 SWABAUDIO BURNFREE
Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P RAW/R96R

Last edited by mururoa; 30th December 2008 at 07:51 PM.
Reply With Quote
  #5   (View Single Post)  
Old 30th December 2008
richardpl richardpl is offline
Spam Deminer
 
Join Date: May 2008
Location: Croatia
Posts: 284
Thanked 25 Times in 24 Posts
Default

Quote:
Originally Posted by mururoa View Post
Hi,
I have 1 dvd reader and 1 dvd writer in my case.
The dvd reader is just not detected
Post interesting output of # pciconf -lv
Reply With Quote
  #6   (View Single Post)  
Old 1st January 2009
mururoa mururoa is offline
Fdisk Soldier
 
Join Date: May 2008
Posts: 46
Thanked 0 Times in 0 Posts
Default

Here it is :

# pciconf -lv
hostb0@pci0:0:0:0: class=0x060000 card=0x82d31043 chip=0x2e208086 rev=0x03 hdr=0x00
vendor = 'Intel Corporation'
class = bridge
subclass = HOST-PCI
pcib1@pci0:0:1:0: class=0x060400 card=0x82d31043 chip=0x2e218086 rev=0x03 hdr=0x01
vendor = 'Intel Corporation'
class = bridge
subclass = PCI-PCI
uhci0@pci0:0:26:0: class=0x0c0300 card=0x82d41043 chip=0x3a378086 rev=0x00 hdr=0x00
vendor = 'Intel Corporation'
class = serial bus
subclass = USB
uhci1@pci0:0:26:1: class=0x0c0300 card=0x82d41043 chip=0x3a388086 rev=0x00 hdr=0x00
vendor = 'Intel Corporation'
class = serial bus
subclass = USB
uhci2@pci0:0:26:2: class=0x0c0300 card=0x82d41043 chip=0x3a398086 rev=0x00 hdr=0x00
vendor = 'Intel Corporation'
class = serial bus
subclass = USB
ehci0@pci0:0:26:7: class=0x0c0320 card=0x82d41043 chip=0x3a3c8086 rev=0x00 hdr=0x00
vendor = 'Intel Corporation'
class = serial bus
subclass = USB
pcm0@pci0:0:27:0: class=0x040300 card=0x82fe1043 chip=0x3a3e8086 rev=0x00 hdr=0x00
vendor = 'Intel Corporation'
class = multimedia
pcib2@pci0:0:28:0: class=0x060400 card=0x82d41043 chip=0x3a408086 rev=0x00 hdr=0x01
vendor = 'Intel Corporation'
class = bridge
subclass = PCI-PCI
pcib3@pci0:0:28:4: class=0x060400 card=0x82d41043 chip=0x3a488086 rev=0x00 hdr=0x01
vendor = 'Intel Corporation'
class = bridge
subclass = PCI-PCI
pcib4@pci0:0:28:5: class=0x060400 card=0x82d41043 chip=0x3a4a8086 rev=0x00 hdr=0x01
vendor = 'Intel Corporation'
class = bridge
subclass = PCI-PCI
uhci3@pci0:0:29:0: class=0x0c0300 card=0x82d41043 chip=0x3a348086 rev=0x00 hdr=0x00
vendor = 'Intel Corporation'
class = serial bus
subclass = USB
uhci4@pci0:0:29:1: class=0x0c0300 card=0x82d41043 chip=0x3a358086 rev=0x00 hdr=0x00
vendor = 'Intel Corporation'
class = serial bus
subclass = USB
uhci5@pci0:0:29:2: class=0x0c0300 card=0x82d41043 chip=0x3a368086 rev=0x00 hdr=0x00
vendor = 'Intel Corporation'
class = serial bus
subclass = USB
ehci1@pci0:0:29:7: class=0x0c0320 card=0x82d41043 chip=0x3a3a8086 rev=0x00 hdr=0x00
vendor = 'Intel Corporation'
class = serial bus
subclass = USB
pcib5@pci0:0:30:0: class=0x060401 card=0x82d41043 chip=0x244e8086 rev=0x90 hdr=0x01
vendor = 'Intel Corporation'
device = '82801 Family (ICH2/3/4/4/5/5/6/7/8/9,63xxESB) Hub Interface to PCI Bridge'
class = bridge
subclass = PCI-PCI
isab0@pci0:0:31:0: class=0x060100 card=0x82d41043 chip=0x3a168086 rev=0x00 hdr=0x00
vendor = 'Intel Corporation'
class = bridge
subclass = PCI-ISA
atapci1@pci0:0:31:2: class=0x01018f card=0x82d41043 chip=0x3a208086 rev=0x00 hdr=0x00
vendor = 'Intel Corporation'
class = mass storage
subclass = ATA
none0@pci0:0:31:3: class=0x0c0500 card=0x82d41043 chip=0x3a308086 rev=0x00 hdr=0x00
vendor = 'Intel Corporation'
class = serial bus
subclass = SMBus
atapci2@pci0:0:31:5: class=0x010185 card=0x82d41043 chip=0x3a268086 rev=0x00 hdr=0x00
vendor = 'Intel Corporation'
class = mass storage
subclass = ATA
vgapci0@pci0:1:0:0: class=0x030000 card=0x054510de chip=0x062210de rev=0xa1 hdr=0x00
vendor = 'Nvidia Corp'
class = display
subclass = VGA
atapci0@pci0:3:0:0: class=0x01018f card=0x82e01043 chip=0x612111ab rev=0xb2 hdr=0x00
vendor = 'Marvell Semiconductor (Was: Galileo Technology Ltd)'
device = '6121 SATA2 Controller'
class = mass storage
subclass = ATA
none1@pci0:2:0:0: class=0x020000 card=0x82261043 chip=0x10261969 rev=0xb0 hdr=0x00
vendor = 'Attansic (Now owned by Atheros)'
class = network
subclass = ethernet
xl0@pci0:5:0:0: class=0x020000 card=0x905510b7 chip=0x905510b7 rev=0x30 hdr=0x00
vendor = '3COM Corp, Networking Division'
device = '3C905-TX Fast Etherlink 10/100 PCI TX NIC'
class = network
subclass = ethernet
fwohci0@pci0:5:3:0: class=0x0c0010 card=0x82941043 chip=0x581111c1 rev=0x70 hdr=0x00
vendor = 'Lucent/Agere Systems (Was: AT&T MicroElectronics)'
device = 'FW322 1394A PCI PHY/Link Open Host Ctrlr I/F'
class = serial bus
subclass = FireWire
Reply With Quote
  #7   (View Single Post)  
Old 2nd January 2009
mururoa mururoa is offline
Fdisk Soldier
 
Join Date: May 2008
Posts: 46
Thanked 0 Times in 0 Posts
Default

About the writer I can now see it and I guess use it. Not tried yet.
The problems were :
- atapicam not loaded --> not detected by cdrecord
- bad rights on device files --> not detected by k3b with the non-root user after cdrecord detected it with root
About the reader, guys dont waste your time on that unless you are seriously interested in making it working. I mean the ATA chipset on the P5Q MB is some marvell chipset wich is not supposed to be supported in 7.0. So now that I can use the writer the fact that I can't use the reader is not a priority at all. Lucky me I have no IDE HD.
In the same story the onboard GB lan is not usable too with 7.0 and I had to add a PCI network card.
I guess I had to better triple check the hardware support before choosing the P5Q MB but since it was build around a not so new P45 chipset I assumed all should be working ok. Wrong guess but until 7.1 or 8.0 I can live with the add-on lan card and only the writer.
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

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
K3B not finding writer. maxrussell FreeBSD General 5 7th February 2009 11:41 AM


All times are GMT. The time now is 02:51 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick