Re: cam/passthrough device question

2004-07-22 Thread peter lageotakes
--- Wojciech Puchar [EMAIL PROTECTED] wrote:
 i'm now running generic 5.2.1 kernel (to narrow list
 of possible sources).
 
 i have:
 atapci0: Intel PIIX4 UDMA33 controller port
 0xf000-0xf00f at device 7.1
 on pci0
 ata0: at 0x1f0 irq 14 on atapci0
 ata0: [MPSAFE]
 ata1: at 0x170 irq 15 on atapci0
 ata1: [MPSAFE]
 
 and
 
 GEOM: create disk ad0 dp=0xc273f560
 ad0: 12419MB ST313032A [25232/16/63] at
 ata0-master UDMA33
 acd0: CDRW RICOH CD-R/RW MP7083A at ata1-master
 PIO4
 
 
 devfs mounted /dev/ contains /dev/xpt0
 
 so it does have xpt interface.
 
 
 camcontrol devlist -v shows:
 -su-2.05b# camcontrol devlist -v
 scbus-1 on xpt0 bus 0:
  at scbus-1 target
 -1 lun -1 (xpt0)
 
 
 CD-RW drive isn't shown and of cource cdrecord
 doesn't see anything too.
 
 what i'm doing wrong?
 ___
 [EMAIL PROTECTED] mailing list

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

www.freebsd.org/handbook
Section 16.6.9
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/creating-cds.html

The following items must be compiled into your kernel:
device atapicam
device scbus
device cd
device pass

FYI: Not all of them are in by default.  Sorry not in
front of my FreeBSD machine right now, otherwise I
would grep through the Generic file.

Hope this helps,
Pete




__
Do you Yahoo!?
Vote for the stars of Yahoo!'s next ad campaign!
http://advision.webevents.yahoo.com/yahoo/votelifeengine/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: cam/passthrough device question

2004-07-22 Thread Joseph Peterson
I have all of these in my kernel config file, but I'm getting the
following in my dmesg;
ata1-master: FAILURE - ATAPI_RESET no interrupt
acd0: CDRW TOSHIBA DVD-ROM SD-R2412 at ata1-master PIO4
cd0 at ata1 bus 0 target 0 lun 0
cd0: TOSHIBA DVD-ROM SD-R2412 1330 Removable CD-ROM SCSI-0 device
cd0: 16.000MB/s transfers
cd0: Attempt to query device size failed: NOT READY, Medium not present

yet when I start xcdroast, it tells me there are no CD burners in the
system, even if I manually tell it to look at /dev/cd0 (which exists)
it tells me it doesnt..
And yes, I'm running xcdroast as root.

any thoughts?
Oh yeah, here is my /boot/loader.conf
hw.ata.atapi=1
#hw.ata.atapi_dma=1

(if that line is uncommented, then the machine takes forever to boot
while trying to init acd0)

-joe

On Wed, 21 Jul 2004 23:13:41 -0700 (PDT), peter lageotakes
[EMAIL PROTECTED] wrote:
 
 
 --- Wojciech Puchar [EMAIL PROTECTED] wrote:
  i'm now running generic 5.2.1 kernel (to narrow list
  of possible sources).
 
  i have:
  atapci0: Intel PIIX4 UDMA33 controller port
  0xf000-0xf00f at device 7.1
  on pci0
  ata0: at 0x1f0 irq 14 on atapci0
  ata0: [MPSAFE]
  ata1: at 0x170 irq 15 on atapci0
  ata1: [MPSAFE]
 
  and
 
  GEOM: create disk ad0 dp=0xc273f560
  ad0: 12419MB ST313032A [25232/16/63] at
  ata0-master UDMA33
  acd0: CDRW RICOH CD-R/RW MP7083A at ata1-master
  PIO4
 
 
  devfs mounted /dev/ contains /dev/xpt0
 
  so it does have xpt interface.
 
 
  camcontrol devlist -v shows:
  -su-2.05b# camcontrol devlist -v
  scbus-1 on xpt0 bus 0:
   at scbus-1 target
  -1 lun -1 (xpt0)
 
 
  CD-RW drive isn't shown and of cource cdrecord
  doesn't see anything too.
 
  what i'm doing wrong?
  ___
  [EMAIL PROTECTED] mailing list
 
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to
  [EMAIL PROTECTED]
 
 
 www.freebsd.org/handbook
 Section 16.6.9
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/creating-cds.html
 
 The following items must be compiled into your kernel:
 device atapicam
 device scbus
 device cd
 device pass
 
 FYI: Not all of them are in by default.  Sorry not in
 front of my FreeBSD machine right now, otherwise I
 would grep through the Generic file.
 
 Hope this helps,
 Pete
 
 
 __
 Do you Yahoo!?
 Vote for the stars of Yahoo!'s next ad campaign!
 http://advision.webevents.yahoo.com/yahoo/votelifeengine/
 
 
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

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


Re: cam/passthrough device question

2004-07-22 Thread Joseph Peterson
Peter,
Been there done that, actually.. sorry I forgot to mention it.
But thanks for the suggestion!

-joe

On Thu, 22 Jul 2004 16:53:29 +0100, Peter Risdon
[EMAIL PROTECTED] wrote:
 Joseph Peterson wrote:
  I have all of these in my kernel config file, but I'm getting the
  following in my dmesg;
  ata1-master: FAILURE - ATAPI_RESET no interrupt
  acd0: CDRW TOSHIBA DVD-ROM SD-R2412 at ata1-master PIO4
  cd0 at ata1 bus 0 target 0 lun 0
  cd0: TOSHIBA DVD-ROM SD-R2412 1330 Removable CD-ROM SCSI-0 device
  cd0: 16.000MB/s transfers
  cd0: Attempt to query device size failed: NOT READY, Medium not present
 
  yet when I start xcdroast, it tells me there are no CD burners in the
  system, even if I manually tell it to look at /dev/cd0 (which exists)
  it tells me it doesnt..
  And yes, I'm running xcdroast as root.
 
 It might be permissions - try
 
 #chmod 0666 /dev/cd0
 
 and if that works, make it persist past a reboot (if you're running 5.x)
 by adding a line to /etc/devfs.conf like:
 
 permcd0 0666
 
 HTH
 
 Peter.

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


Re: cam/passthrough device question

2004-07-22 Thread Peter Risdon
Joseph Peterson wrote:
I have all of these in my kernel config file, but I'm getting the
following in my dmesg;
ata1-master: FAILURE - ATAPI_RESET no interrupt
acd0: CDRW TOSHIBA DVD-ROM SD-R2412 at ata1-master PIO4
cd0 at ata1 bus 0 target 0 lun 0
cd0: TOSHIBA DVD-ROM SD-R2412 1330 Removable CD-ROM SCSI-0 device
cd0: 16.000MB/s transfers
cd0: Attempt to query device size failed: NOT READY, Medium not present
yet when I start xcdroast, it tells me there are no CD burners in the
system, even if I manually tell it to look at /dev/cd0 (which exists)
it tells me it doesnt..
And yes, I'm running xcdroast as root.
It might be permissions - try
#chmod 0666 /dev/cd0
and if that works, make it persist past a reboot (if you're running 5.x) 
by adding a line to /etc/devfs.conf like:

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


cam/passthrough device question

2004-07-21 Thread Wojciech Puchar
i'm now running generic 5.2.1 kernel (to narrow list of possible sources).

i have:
atapci0: Intel PIIX4 UDMA33 controller port 0xf000-0xf00f at device 7.1
on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata0: [MPSAFE]
ata1: at 0x170 irq 15 on atapci0
ata1: [MPSAFE]

and

GEOM: create disk ad0 dp=0xc273f560
ad0: 12419MB ST313032A [25232/16/63] at ata0-master UDMA33
acd0: CDRW RICOH CD-R/RW MP7083A at ata1-master PIO4


devfs mounted /dev/ contains /dev/xpt0

so it does have xpt interface.


camcontrol devlist -v shows:
-su-2.05b# camcontrol devlist -v
scbus-1 on xpt0 bus 0:
 at scbus-1 target -1 lun -1 (xpt0)


CD-RW drive isn't shown and of cource cdrecord doesn't see anything too.

what i'm doing wrong?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: cam/passthrough device question

2004-07-21 Thread Peter Risdon
Wojciech Puchar wrote:
i'm now running generic 5.2.1 kernel (to narrow list of possible sources).
i have:
atapci0: Intel PIIX4 UDMA33 controller port 0xf000-0xf00f at device 7.1
on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata0: [MPSAFE]
ata1: at 0x170 irq 15 on atapci0
ata1: [MPSAFE]
and
GEOM: create disk ad0 dp=0xc273f560
ad0: 12419MB ST313032A [25232/16/63] at ata0-master UDMA33
acd0: CDRW RICOH CD-R/RW MP7083A at ata1-master PIO4
devfs mounted /dev/ contains /dev/xpt0
so it does have xpt interface.
camcontrol devlist -v shows:
-su-2.05b# camcontrol devlist -v
scbus-1 on xpt0 bus 0:
 at scbus-1 target -1 lun -1 (xpt0)
CD-RW drive isn't shown and of cource cdrecord doesn't see anything too.
what i'm doing wrong?
I think you need:
device  atapicam
in the kernel, and it isn't in GENERIC
Peter.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

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


Re: cam/passthrough device question

2004-07-21 Thread Henrik W Lund
Peter Risdon wrote:
Wojciech Puchar wrote:
snip

I think you need:
device  atapicam
You also need
device   scbus # Generic SCSI support
device   pass   # For emulating SCSI devices on ATA hw utilizing CAM
decive   cd  # SCSI coaster readers ;-)
In order to have cdrecord find anything.
Hope this helps!!
-Henrik W Lund
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]