Re: DVD-RW drive

2007-09-10 Thread Wojciech Puchar


I have a very strange problem with my DVD-RW drive. Namely the drive is for 
some reason recognized as read only


acd0: DVDR LITE-ON DVDRW LH-18A1P/GL0C at ata0-slave UDMA66


why readonly? it is recognized fine, like my DVD-RW
acd0: DVDR Slimtype DVDRW SSM-85H5S/FS06 at ata1-master UDMA33



# ATA and ATAPI devices
device  ata
device  atadisk # ATA disk drives
device  ataraid # ATA RAID drives
device  atapicd # ATAPI CDROM drives
device  atapifd # ATAPI floppy drives
device  atapist # ATAPI tape drives


everything OK, just why atapist? do you have IDE streamer?

I also edited my load.conf file with

hw.ata.ata_dma=1
hw.ata.atapi_dma=1


I altered the permissions devfs.conf and fstab file so that I can read and 
write but that is not even important since I can not

write anything even from the command line

I also get

[pedja@ /usr/home/Pedja]$ dvd+rw-mediainfo /dev/acd0
/dev/acd0: unable to open: Inappropriate ioctl for device


use cd0 only


[pedja@ /usr/home/Pedja]$ dvd+rw-mediainfo /dev/cd0
/dev/cd0: unable to open: Inappropriate ioctl for device


please

ls -l /dev/cd0
ls -l /dev/pass*

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: DVD-RW drive

2007-09-10 Thread Predrag Punosevac

Thank Wojciech,
It was fixed 5 minutes after I posted message. I was missing atapicam in 
my kernel so I just added  atapicam_load=YES into loader.conf
In mean time I portupgraded a few ports so K3b is not complaining 
anymore. I am listening some of CD-s I burned today. I am

also using  TeXLive which I cut today.

Thanks for the Help body
Predrag Punosevac

Wojciech Puchar wrote:


I have a very strange problem with my DVD-RW drive. Namely the drive 
is for some reason recognized as read only


acd0: DVDR LITE-ON DVDRW LH-18A1P/GL0C at ata0-slave UDMA66


why readonly? it is recognized fine, like my DVD-RW
acd0: DVDR Slimtype DVDRW SSM-85H5S/FS06 at ata1-master UDMA33



# ATA and ATAPI devices
device  ata
device  atadisk # ATA disk drives
device  ataraid # ATA RAID drives
device  atapicd # ATAPI CDROM drives
device  atapifd # ATAPI floppy drives
device  atapist # ATAPI tape drives


everything OK, just why atapist? do you have IDE streamer?

I also edited my load.conf file with

hw.ata.ata_dma=1
hw.ata.atapi_dma=1


I altered the permissions devfs.conf and fstab file so that I can 
read and write but that is not even important since I can not

write anything even from the command line

I also get

[pedja@ /usr/home/Pedja]$ dvd+rw-mediainfo /dev/acd0
/dev/acd0: unable to open: Inappropriate ioctl for device


use cd0 only


[pedja@ /usr/home/Pedja]$ dvd+rw-mediainfo /dev/cd0
/dev/cd0: unable to open: Inappropriate ioctl for device


please

ls -l /dev/cd0
ls -l /dev/pass*

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


DVD-RW drive

2007-09-09 Thread Predrag Punosevac
I have a very strange problem with my DVD-RW drive. Namely the drive is 
for some reason recognized as read only


acd0: DVDR LITE-ON DVDRW LH-18A1P/GL0C at ata0-slave UDMA66

I am running FreeBSD 6.2 stable with generic kernel (I didn't compile 
nor install my own kernel)

so the following lines are present in my GENERIC

[pedja@ /usr/src/sys/i386/conf]$ more GENERIC

# ATA and ATAPI devices
device  ata
device  atadisk # ATA disk drives
device  ataraid # ATA RAID drives
device  atapicd # ATAPI CDROM drives
device  atapifd # ATAPI floppy drives
device  atapist # ATAPI tape drives
options ATA_STATIC_ID   # Static device numbering
# SCSI peripherals
device  scbus   # SCSI bus (required for SCSI)
device  ch  # SCSI media changers
device  da  # Direct Access (disks)
device  sa  # Sequential Access (tape etc)
device  cd  # CD
device  pass# Passthrough device (direct SCSI access)
device  ses # SCSI Environmental Services (and SAF-TE)


I also edited my load.conf file with

hw.ata.ata_dma=1
hw.ata.atapi_dma=1


I altered the permissions devfs.conf and fstab file so that I can read 
and write but that is not even important since I can not

write anything even from the command line

I also get

[pedja@ /usr/home/Pedja]$ dvd+rw-mediainfo /dev/acd0
/dev/acd0: unable to open: Inappropriate ioctl for device
[pedja@ /usr/home/Pedja]$ dvd+rw-mediainfo /dev/cd0
/dev/cd0: unable to open: Inappropriate ioctl for device

Whole behavior is even more strange since the optical drive was working 
flawlessly on PC-BSD 1.3 which is FreeBSD 6.1 stable.


Any suggestions.

Thank you so much

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: DVD-RW drive

2007-09-09 Thread Martin Tournoij
On Sun 09 Sep 2007 16:09, Predrag Punosevac wrote:
 I have a very strange problem with my DVD-RW drive. Namely the drive is for 
 some reason recognized as read only
 
 acd0: DVDR LITE-ON DVDRW LH-18A1P/GL0C at ata0-slave UDMA66
 
 I am running FreeBSD 6.2 stable with generic kernel (I didn't compile nor 
 install my own kernel)
 so the following lines are present in my GENERIC
 
 [pedja@ /usr/src/sys/i386/conf]$ more GENERIC
 
 # ATA and ATAPI devices
 device  ata
 device  atadisk # ATA disk drives
 device  ataraid # ATA RAID drives
 device  atapicd # ATAPI CDROM drives
 device  atapifd # ATAPI floppy drives
 device  atapist # ATAPI tape drives
 options ATA_STATIC_ID   # Static device numbering
 # SCSI peripherals
 device  scbus   # SCSI bus (required for SCSI)
 device  ch  # SCSI media changers
 device  da  # Direct Access (disks)
 device  sa  # Sequential Access (tape etc)
 device  cd  # CD
 device  pass# Passthrough device (direct SCSI access)
 device  ses # SCSI Environmental Services (and SAF-TE)
 
 
 I also edited my load.conf file with
 
 hw.ata.ata_dma=1
 hw.ata.atapi_dma=1
 
 
 I altered the permissions devfs.conf and fstab file so that I can read and 
 write but that is not even important since I can not
 write anything even from the command line
 
 I also get
 
 [pedja@ /usr/home/Pedja]$ dvd+rw-mediainfo /dev/acd0
 /dev/acd0: unable to open: Inappropriate ioctl for device
 [pedja@ /usr/home/Pedja]$ dvd+rw-mediainfo /dev/cd0
 /dev/cd0: unable to open: Inappropriate ioctl for device
 
 Whole behavior is even more strange since the optical drive was working 
 flawlessly on PC-BSD 1.3 which is FreeBSD 6.1 stable.
 
 Any suggestions.
 
 Thank you so much
You need to use ATAPICAM if you want to use ATA cd-writers, see the
FreeBSD handbook:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/creating-cds.html#ATAPICAM

A small addition to the handbook:
You don't need to reboot your machine, the command:
$ kldload atapicam
Will load the module at runtime.

Use /dev/cd0 instead of /dev/acd0 for all writing purposes.

Maybe PCBSD does this automagiclly? Can't comment on that since I
don't use PCBSD.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: DVD-RW drive

2007-09-09 Thread Predrag Punosevac

I add atapicam_load=YES into loader.conf file

dmesg is still acd0: DVDR LITE-ON DVDRW LH-18A1P/GL0C at ata0-slave UDMA66

However from the command line

[root@ ~]# growisofs -dvd-compat -Z 
/dev/cd0=/usr/home/Pedja/TeXLive/texlive2007-live-20070212.iso


Executing 'builtin_dd 
if=/usr/home/Pedja/TeXLive/texlive2007-live-20070212.iso of=/dev/pass0 
obs=32k seek=0'


Apparently success. Thank you. I read the Handbook so many times but I 
obviously didn't read my kernel properly.



Thanks again!


Martin Tournoij wrote:

On Sun 09 Sep 2007 16:09, Predrag Punosevac wrote:
  

I have a very strange problem with my DVD-RW drive. Namely the drive is for 
some reason recognized as read only

acd0: DVDR LITE-ON DVDRW LH-18A1P/GL0C at ata0-slave UDMA66

I am running FreeBSD 6.2 stable with generic kernel (I didn't compile nor 
install my own kernel)
so the following lines are present in my GENERIC

[pedja@ /usr/src/sys/i386/conf]$ more GENERIC

# ATA and ATAPI devices
device  ata
device  atadisk # ATA disk drives
device  ataraid # ATA RAID drives
device  atapicd # ATAPI CDROM drives
device  atapifd # ATAPI floppy drives
device  atapist # ATAPI tape drives
options ATA_STATIC_ID   # Static device numbering
# SCSI peripherals
device  scbus   # SCSI bus (required for SCSI)
device  ch  # SCSI media changers
device  da  # Direct Access (disks)
device  sa  # Sequential Access (tape etc)
device  cd  # CD
device  pass# Passthrough device (direct SCSI access)
device  ses # SCSI Environmental Services (and SAF-TE)


I also edited my load.conf file with

hw.ata.ata_dma=1
hw.ata.atapi_dma=1


I altered the permissions devfs.conf and fstab file so that I can read and 
write but that is not even important since I can not
write anything even from the command line

I also get

[pedja@ /usr/home/Pedja]$ dvd+rw-mediainfo /dev/acd0
/dev/acd0: unable to open: Inappropriate ioctl for device
[pedja@ /usr/home/Pedja]$ dvd+rw-mediainfo /dev/cd0
/dev/cd0: unable to open: Inappropriate ioctl for device

Whole behavior is even more strange since the optical drive was working 
flawlessly on PC-BSD 1.3 which is FreeBSD 6.1 stable.

Any suggestions.

Thank you so much


You need to use ATAPICAM if you want to use ATA cd-writers, see the
FreeBSD handbook:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/creating-cds.html#ATAPICAM

A small addition to the handbook:
You don't need to reboot your machine, the command:
$ kldload atapicam
Will load the module at runtime.

Use /dev/cd0 instead of /dev/acd0 for all writing purposes.

Maybe PCBSD does this automagiclly? Can't comment on that since I
don't use PCBSD.
  


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: DVD-RW drive

2007-09-09 Thread Predrag Punosevac
Absolute success!!! Media is completely readable. I still cannot get 
Gnome rw tools to behave and K3b is complaining about few outdated 
packages which I am afraid to update since probably the Gnome depends on 
it but who cares. Command line rules!


Thanks a lot body one more time!
Predrag Punosevac

Martin Tournoij wrote:

On Sun 09 Sep 2007 16:09, Predrag Punosevac wrote:
  

I have a very strange problem with my DVD-RW drive. Namely the drive is for 
some reason recognized as read only

acd0: DVDR LITE-ON DVDRW LH-18A1P/GL0C at ata0-slave UDMA66

I am running FreeBSD 6.2 stable with generic kernel (I didn't compile nor 
install my own kernel)
so the following lines are present in my GENERIC

[pedja@ /usr/src/sys/i386/conf]$ more GENERIC

# ATA and ATAPI devices
device  ata
device  atadisk # ATA disk drives
device  ataraid # ATA RAID drives
device  atapicd # ATAPI CDROM drives
device  atapifd # ATAPI floppy drives
device  atapist # ATAPI tape drives
options ATA_STATIC_ID   # Static device numbering
# SCSI peripherals
device  scbus   # SCSI bus (required for SCSI)
device  ch  # SCSI media changers
device  da  # Direct Access (disks)
device  sa  # Sequential Access (tape etc)
device  cd  # CD
device  pass# Passthrough device (direct SCSI access)
device  ses # SCSI Environmental Services (and SAF-TE)


I also edited my load.conf file with

hw.ata.ata_dma=1
hw.ata.atapi_dma=1


I altered the permissions devfs.conf and fstab file so that I can read and 
write but that is not even important since I can not
write anything even from the command line

I also get

[pedja@ /usr/home/Pedja]$ dvd+rw-mediainfo /dev/acd0
/dev/acd0: unable to open: Inappropriate ioctl for device
[pedja@ /usr/home/Pedja]$ dvd+rw-mediainfo /dev/cd0
/dev/cd0: unable to open: Inappropriate ioctl for device

Whole behavior is even more strange since the optical drive was working 
flawlessly on PC-BSD 1.3 which is FreeBSD 6.1 stable.

Any suggestions.

Thank you so much


You need to use ATAPICAM if you want to use ATA cd-writers, see the
FreeBSD handbook:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/creating-cds.html#ATAPICAM

A small addition to the handbook:
You don't need to reboot your machine, the command:
$ kldload atapicam
Will load the module at runtime.

Use /dev/cd0 instead of /dev/acd0 for all writing purposes.

Maybe PCBSD does this automagiclly? Can't comment on that since I
don't use PCBSD.
  


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


SATA DVD-RW drive not recognised by FreeBSD

2007-03-29 Thread Martin Moeller
Hi all,

I have some trouble with my SATA-DVDRW. It's not recognised in the boot
process, although I think all kernel settings are correct. A SATA
harddisk works fine. Is there a general issue with SATA-dvd burners?

**
** MY KERNEL VERSION**
**

FreeBSD medea.exsomnis.de 6.2-STABLE FreeBSD 6.2-STABLE #2: Fri Mar  2
07:16:55 CET 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/KERNEL
amd64

**
** OUTPUT OF dmesg  **
**

attached file (dmesg.txt)

-- 
Mit freundlichen Grüßen
Martin Möller [EMAIL PROTECTED]
Copyright (c) 1992-2007 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 6.2-STABLE #2: Fri Mar  2 07:16:55 CET 2007
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/KERNEL
ACPI APIC Table: Nvidia AWRDACPI
Timecounter i8254 frequency 1193182 Hz quality 0
CPU: AMD Athlon(tm) 64 Processor 3500+ (2211.34-MHz K8-class CPU)
  Origin = AuthenticAMD  Id = 0x20ff2  Stepping = 2
  
Features=0x78bfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2
  Features2=0x1SSE3
  AMD Features=0xe2500800SYSCALL,NX,MMX+,FFXSR,LM,3DNow!+,3DNow!
  AMD Features2=0x1LAHF
real memory  = 1073676288 (1023 MB)
avail memory = 1027543040 (979 MB)
ioapic0 Version 1.1 irqs 0-23 on motherboard
kbd1 at kbdmux0
ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
acpi0: Nvidia AWRDACPI on motherboard
acpi_bus_number: can't get _ADR
acpi_bus_number: can't get _ADR
acpi0: Power Button (fixed)
acpi_bus_number: can't get _ADR
acpi_bus_number: can't get _ADR
acpi_bus_number: can't get _ADR
acpi_bus_number: can't get _ADR
Timecounter ACPI-fast frequency 3579545 Hz quality 1000
acpi_timer0: 24-bit timer at 3.579545MHz port 0x4008-0x400b on acpi0
cpu0: ACPI CPU on acpi0
acpi_button0: Power Button on acpi0
pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0
pci0: ACPI PCI bus on pcib0
pci0: memory at device 0.0 (no driver attached)
isab0: PCI-ISA bridge at device 1.0 on pci0
isa0: ISA bus on isab0
pci0: serial bus, SMBus at device 1.1 (no driver attached)
ohci0: OHCI (generic) USB controller mem 0xcc102000-0xcc102fff at device 2.0 
on pci0
ohci0: [GIANT-LOCKED]
usb0: OHCI version 1.0, legacy support
usb0: SMM does not respond, resetting
usb0: OHCI (generic) USB controller on ohci0
usb0: USB revision 1.0
uhub0: nVidia OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 10 ports with 10 removable, self powered
ehci0: NVIDIA nForce4 USB 2.0 controller mem 0xfeb0-0xfeb000ff at device 
2.1 on pci0
ehci0: [GIANT-LOCKED]
usb1: EHCI version 1.0
usb1: companion controller, 4 ports each: usb0
usb1: NVIDIA nForce4 USB 2.0 controller on ehci0
usb1: USB revision 2.0
uhub1: nVidia EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub1: 10 ports with 10 removable, self powered
umass0: Verbatim Store 'n' Go Pro, rev 2.00/2.00, addr 2
pcm0: nVidia nForce4 port 0xd400-0xd4ff mem 0xcc101000-0xcc101fff irq 20 at 
device 4.0 on pci0
pcm0: Avance Logic ALC850 AC97 Codec
atapci0: nVidia nForce CK804 UDMA133 controller port 
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xf000-0xf00f at device 6.0 on pci0
ata0: ATA channel 0 on atapci0
ata1: ATA channel 1 on atapci0
atapci1: nVidia nForce CK804 SATA300 controller port 
0x9f0-0x9f7,0xbf0-0xbf3,0x970-0x977,0xb70-0xb73,0xd000-0xd00f mem 
0xcc10-0xcc100fff irq 21 at device 7.0 on pci0
ata2: ATA channel 0 on atapci1
ata3: ATA channel 1 on atapci1
pcib1: ACPI PCI-PCI bridge at device 9.0 on pci0
pci5: ACPI PCI bus on pcib1
pci5: multimedia, video at device 7.0 (no driver attached)
pci5: multimedia at device 7.1 (no driver attached)
ath0: Atheros 5212 mem 0xcb00-0xcb00 irq 18 at device 8.0 on pci5
ath0: Ethernet address: 00:0f:3d:ab:91:e2
ath0: mac 5.9 phy 4.3 radio 4.6
atapci2: SiI 3114 SATA150 controller port 
0x9000-0x9007,0x9400-0x9403,0x9800-0x9807,0x9c00-0x9c03,0xa000-0xa00f mem 
0xcb014000-0xcb0143ff irq 19 at device 10.0 on pci5
ata4: ATA channel 0 on atapci2
ata5: ATA channel 1 on atapci2
ata6: ATA channel 2 on atapci2
ata7: ATA channel 3 on atapci2
skc0: Marvell Gigabit Ethernet port 0xa400-0xa4ff mem 0xcb01-0xcb013fff 
irq 17 at device 12.0 on pci5
skc0: Marvell Yukon Lite Gigabit Ethernet rev. (0x9)
sk0: Marvell Semiconductor, Inc. Yukon on skc0
sk0: Ethernet address: 00:17:31:a6:a0:e4
miibus0: MII bus on sk0
e1000phy0: Marvell 88E1000 Gigabit PHY on miibus0
e1000phy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX-FDX, auto
pcib2: ACPI PCI-PCI bridge at device 11.0 on pci0
pci4: ACPI PCI bus on pcib2
pcib3: ACPI PCI-PCI bridge at device 12.0 on pci0
pci3: ACPI PCI bus on pcib3
pcib4: ACPI PCI-PCI bridge at device 13.0 on pci0
pci2: ACPI PCI bus on pcib4
pci2: display, VGA at device 0.0 (no 

Re: SATA DVD-RW drive not recognised by FreeBSD

2007-03-29 Thread Josh Carroll

I have some trouble with my SATA-DVDRW. It's not recognised in the boot
process, although I think all kernel settings are correct. A SATA
harddisk works fine. Is there a general issue with SATA-dvd burners?


At least in 6.x and I assume 6-STABLE (unless support has been MFC'd),
SATA ATAPI devices are not yet supported:

/usr/src/sys/dev/ata/ata-chipset.c:device_printf(ch-dev,
SATA ATAPI devices not supported yet\n);

Josh
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]