Re: Can't access a music CD (or any other media now)

2011-11-16 Thread Conrad J. Sabatier
On Sun, 13 Nov 2011 07:41:27 -0500
Jerry je...@seibercom.net wrote:
 On Sun, 13 Nov 2011 04:44:56 -0600
 Conrad J. Sabatier articulated:
 
  
  Ah-ha!  After plowing through a ton of ports and docs tonight, I
  finally had a Eureka! moment.
  
  It seems that it's quite possible to fashion a poor man's CD
  player app (script) out of the following cdda2wav command options
  (got this example from the man page):
  
  cdda2wav -q -e -t4 -d0 -N
  
  In this case, -t4 means to play track 4.  Using -B instead,
  would play the whole disc.
  
  The command simply sends the data to the soundcard (/dev/dsp) as
  it's being ripped.  In combination with a few other cdda2wav
  options to obtain the CDDB info for the disc, one could fairly
  easily whip up a little CD player script.
  
  I'm a man on a mission now!  :-)  I *will* be rolling up my
  sleeves and hacking together some shell code in the days to come.
  May even wind up submitting the finished product as a new port for
  the benefit of other folks out there still struggling to play their
  CDs since the CD infrastructure changed not too long ago.
  
  Light!  I see light at the end of the tunnel!  :-)
 
 
 I applaud your enthusiasm. I actually tend to try and reinvent the
 wheel from time to time myself. Not so much because I feel the wheel
 has an inherent flaw but rather because I just like a good challenge.
 While such endeavors might prove useful from strictly a theoretical
 research point of view, in practice they can seriously reduce
 productivity.

I totally agree.  I'm the same when it comes to enjoying a good
challenge.  Call me masochistic if you will :-), but I do enjoy
programming very much.  Sometimes just to see if can actually do it.
Learning new stuff, that sort of thing.

 I often wonder what happened to the premise that computers should make
 man's life easier, not harder. Why should users be force to go to
 these extremes to just play an audio CD when other OSs all ready have
 that capability sans ruminating for such a simple task.

Again, totally agree.  I really miss the /dev/acd0t${n} method of
accessing audio tracks.  That was truly a handy feature.

 Again, good luck. I won't be partaking of your research since I have
 other PCs near me that are fully capable of preforming the relatively
 simple task of playing an audio CD. However, if you do get some free
 time perhaps you could invest it in some really socially advantageous
 work such as find a cure for cancer. Now that would be something that
 all could appreciate.

Well, if I had the skills, I'd try and fix the current problems
associated with audio CD access.  But I'm afraid that's just a bit
beyond my abilities.  I've looked at some source code, but wouldn't
have the first clue where to begin.

Now, as for curing cancer...I'll leave that to the experts as well.  :-)

Above all else, though (on a more serious note), I *will* resist the
temptation I've sometimes given into in the past, and will *not* resort
to taking up residence in the land of the penguin.  Would much prefer
to stick around here and see how things develop.

-- 
Conrad J. Sabatier
conr...@cox.net
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Can't access a music CD (or any other media now)

2011-11-13 Thread Conrad J. Sabatier
On Sun, 23 Oct 2011 19:25:15 -0500
Conrad J. Sabatier conr...@cox.net wrote:

 On Sun, 23 Oct 2011 15:38:29 -0500
 Conrad J. Sabatier conr...@cox.net wrote:
  
  No, it seems that there's a severe level of brokenness that has
  been introduced into the source tree with regards to CD devices.
  I've been exploring this issue on my own system the last couple of
  days, and am no closer to arriving at a solution than when I first
  started.
  
  None of the CD-related apps I have installed are working.  cdcontrol
  will read an audio CD OK, it seems, but playback is useless, since,
  like most newer machines, I have no direct connection between the CD
  drive and the audio device.
  
  Apps such as kscd, xmcd, etc. report no disc or no device found.
  grip (using cdparanoia) will detect an audio disc and even fetch the
  correct cddb info, but ripping fails completely.  xmms reports no
  appropriate ioctl for device.
  
  This is progress?
 
 OK, I've made a little headway here.  At least, I've managed to get
 cdrtools to work once again, after rebuilding/installing the port and
 setting the default device to the SCSI address (1,0,0) of cd0 instead
 of the device name.  Grip is now working with cdda2wav.
 Hallelujah!  :-)
 
 Still can't seem to get plain old audio CD playback working with
 anything, though.  :-(
 

Ah-ha!  After plowing through a ton of ports and docs tonight, I
finally had a Eureka! moment.

It seems that it's quite possible to fashion a poor man's CD player
app (script) out of the following cdda2wav command options (got this
example from the man page):

cdda2wav -q -e -t4 -d0 -N

In this case, -t4 means to play track 4.  Using -B instead, would
play the whole disc.

The command simply sends the data to the soundcard (/dev/dsp) as it's
being ripped.  In combination with a few other cdda2wav options to
obtain the CDDB info for the disc, one could fairly easily whip up a
little CD player script.

I'm a man on a mission now!  :-)  I *will* be rolling up my sleeves
and hacking together some shell code in the days to come.  May even
wind up submitting the finished product as a new port for the benefit
of other folks out there still struggling to play their CDs since the
CD infrastructure changed not too long ago.

Light!  I see light at the end of the tunnel!  :-)

-- 
Conrad J. Sabatier
conr...@cox.net
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Can't access a music CD (or any other media now)

2011-11-13 Thread Jerry
On Sun, 13 Nov 2011 04:44:56 -0600
Conrad J. Sabatier articulated:

 On Sun, 23 Oct 2011 19:25:15 -0500
 Conrad J. Sabatier conr...@cox.net wrote:
 
  On Sun, 23 Oct 2011 15:38:29 -0500
  Conrad J. Sabatier conr...@cox.net wrote:
   
   No, it seems that there's a severe level of brokenness that has
   been introduced into the source tree with regards to CD devices.
   I've been exploring this issue on my own system the last couple of
   days, and am no closer to arriving at a solution than when I first
   started.
   
   None of the CD-related apps I have installed are working.
   cdcontrol will read an audio CD OK, it seems, but playback is
   useless, since, like most newer machines, I have no direct
   connection between the CD drive and the audio device.
   
   Apps such as kscd, xmcd, etc. report no disc or no device found.
   grip (using cdparanoia) will detect an audio disc and even fetch
   the correct cddb info, but ripping fails completely.  xmms
   reports no appropriate ioctl for device.
   
   This is progress?
  
  OK, I've made a little headway here.  At least, I've managed to get
  cdrtools to work once again, after rebuilding/installing the port
  and setting the default device to the SCSI address (1,0,0) of cd0
  instead of the device name.  Grip is now working with cdda2wav.
  Hallelujah!  :-)
  
  Still can't seem to get plain old audio CD playback working with
  anything, though.  :-(
  
 
 Ah-ha!  After plowing through a ton of ports and docs tonight, I
 finally had a Eureka! moment.
 
 It seems that it's quite possible to fashion a poor man's CD player
 app (script) out of the following cdda2wav command options (got this
 example from the man page):
 
 cdda2wav -q -e -t4 -d0 -N
 
 In this case, -t4 means to play track 4.  Using -B instead, would
 play the whole disc.
 
 The command simply sends the data to the soundcard (/dev/dsp) as it's
 being ripped.  In combination with a few other cdda2wav options to
 obtain the CDDB info for the disc, one could fairly easily whip up a
 little CD player script.
 
 I'm a man on a mission now!  :-)  I *will* be rolling up my sleeves
 and hacking together some shell code in the days to come.  May even
 wind up submitting the finished product as a new port for the benefit
 of other folks out there still struggling to play their CDs since the
 CD infrastructure changed not too long ago.
 
 Light!  I see light at the end of the tunnel!  :-)


I applaud your enthusiasm. I actually tend to try and reinvent the wheel
from time to time myself. Not so much because I feel the wheel has an
inherent flaw but rather because I just like a good challenge. While
such endeavors might prove useful from strictly a theoretical research
point of view, in practice they can seriously reduce productivity.

I often wonder what happened to the premise that computers should make
man's life easier, not harder. Why should users be force to go to these
extremes to just play an audio CD when other OSs all ready have that
capability sans ruminating for such a simple task.

Again, good luck. I won't be partaking of your research since I have
other PCs near me that are fully capable of preforming the relatively
simple task of playing an audio CD. However, if you do get some free
time perhaps you could invest it in some really socially advantageous
work such as find a cure for cancer. Now that would be something that
all could appreciate.

-- 
Jerry ✌
jerry+f...@seibercom.net

Disclaimer: off-list followups get on-list replies or ignored.
Do not CC this poster. Please do not ignore the Reply-To header.

http://www.catb.org/~esr/faqs/smart-questions.html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Can't access a music CD (or any other media now)

2011-11-13 Thread Peter Vereshagin
Hello.

2011/11/13 07:41:27 -0500 Jerry je...@seibercom.net = To FreeBSD :
J I often wonder what happened to the premise that computers should make
J man's life easier, not harder. Why should users be force to go to these

But probably it's easier to plug the wire from cd drive to a sound card?
That way one should get a mixer's separate CD volume regulator at no cost...

But sure this makes impossible the any processing like this:

cdda2wav args | tee /some/file  /dev/dsp

Either way has its advantages and drawbacks.

--
Peter Vereshagin pe...@vereshagin.org (http://vereshagin.org) pgp: A0E26627 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Can't access a music CD (or any other media now)

2011-11-13 Thread Paul B. Mahol
On 10/25/11, Michael D. Norwick mnorw...@centurytel.net wrote:
 Setting these environment variables had no effect on my machine.
 $cdcontrol play 1 still produces drive activity but no sound.  The
 graphical apps I am trying such as Abraca, or MPlayer, still do not seem
 to recognize an audio CD.  Gnome Audio CD Extractor - Sound Juicer -
 still errors with 'No CD-ROM drives found' even though Metallica is in
 the drive.

mplayer needs to be compiled with libcdio to support playing cdda://  cddb://

Then you only need to give -cdrom-device argument to mplayer. But you
do not need that,
something like this will work just fine (from mplayer manual page):

mplayer [cdda|cddb]://track[-endtrack][:speed][/device] [options]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Can't access a music CD (or any other media now)

2011-10-24 Thread Conrad J. Sabatier
On Sun, 23 Oct 2011 18:21:14 -0400
Jerry je...@seibercom.net wrote:

 On Sun, 23 Oct 2011 15:38:29 -0500
 Conrad J. Sabatier articulated:
 
  On Thu, 20 Oct 2011 05:19:02 +0200
  Polytropon free...@edvax.de wrote:
   
   What if you use Gnome's CD playing application, or something
   like XMMS with the CD audio plugin? I think your permissions
   are okay so you could make the drive play from your (non-root)
   user account.
  
  No, it seems that there's a severe level of brokenness that has
  been introduced into the source tree with regards to CD devices.
  I've been exploring this issue on my own system the last couple of
  days, and am no closer to arriving at a solution than when I first
  started.
  
  None of the CD-related apps I have installed are working.  cdcontrol
  will read an audio CD OK, it seems, but playback is useless, since,
  like most newer machines, I have no direct connection between the CD
  drive and the audio device.
  
  Apps such as kscd, xmcd, etc. report no disc or no device found.
  grip (using cdparanoia) will detect an audio disc and even fetch the
  correct cddb info, but ripping fails completely.  xmms reports no
  appropriate ioctl for device.
  
  This is progress?
 
 I tried raising this issue over a year ago; however, it never got any
 traction.
 

Well, as I mentioned in an earlier followup, it's not *quite* as bad as
my first impression led me to believe.  After rebuilding a few ports
and adjusting the naming of my CD device for some of them from the
/dev/cd0 device name to the SCSI address instead, they're working once
again.

The problem remains, though, with all of the audio CD playing apps I've
tried.  Either they don't detect the drive, don't detect the disc, or
fail to read it properly.  Grrr!

It's definitely not a hardware issue per se, as I had Ubuntu running on
this box a while back and all the audio apps were working just fine.

If there have been some changes made in the kernel sources that
necessitate patching each and every audio CD-related port, then there's
something seriously wrong here, and it's time to take a step back and
look at what's going on.

-- 
Conrad J. Sabatier
conr...@cox.net
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Can't access a music CD (or any other media now)

2011-10-24 Thread Polytropon
On Mon, 24 Oct 2011 19:03:26 -0500, Michael D. Norwick wrote:
 On 10/24/11 13:24, Conrad J. Sabatier wrote:
  Try using:
 
  export CDDA_DEVICE=1,0,0
  export CDR_DEVICE=1,0,0
 
  And see if your cdrtools at least work.  Audio CD playing apps still
  have problems, though, unfortunately.
 
 Thank You,
 
 Setting these environment variables had no effect on my machine.  

Those variables are used by cdrecord, see man cdrecord for
details.



 $cdcontrol play 1 still produces drive activity but no sound. 

The corresponding cdcontrol variable is $CDROM. If you've
got only one drive, you won't need it. If I remember
correctly, the first drive that's being detected will
be the default when -f device is omitted. See man cdcontrol
for details.



 The 
 graphical apps I am trying such as Abraca, or MPlayer, still do not seem 
 to recognize an audio CD.  Gnome Audio CD Extractor - Sound Juicer - 
 still errors with 'No CD-ROM drives found' even though Metallica is in 
 the drive.

Even though? Maybe Because! :-)

I'm not sure which device those programs will address.
In some cases, it helped to do cdcontrol info before
launching the program.

However, it's possible that some programs rely on the
presence of track device files /dev/acdXtYY which is
a mechanism _not_ provided by the /dev/cdX SCSI device.





-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Can't access a music CD (or any other media now)

2011-10-23 Thread Conrad J. Sabatier
On Thu, 20 Oct 2011 05:19:02 +0200
Polytropon free...@edvax.de wrote:
 
 What if you use Gnome's CD playing application, or something
 like XMMS with the CD audio plugin? I think your permissions
 are okay so you could make the drive play from your (non-root)
 user account.

No, it seems that there's a severe level of brokenness that has been
introduced into the source tree with regards to CD devices.  I've been
exploring this issue on my own system the last couple of days, and am
no closer to arriving at a solution than when I first started.

None of the CD-related apps I have installed are working.  cdcontrol
will read an audio CD OK, it seems, but playback is useless, since,
like most newer machines, I have no direct connection between the CD
drive and the audio device.

Apps such as kscd, xmcd, etc. report no disc or no device found.  grip
(using cdparanoia) will detect an audio disc and even fetch the correct
cddb info, but ripping fails completely.  xmms reports no appropriate
ioctl for device.

This is progress?

-- 
Conrad J. Sabatier
conr...@cox.net
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Can't access a music CD (or any other media now)

2011-10-23 Thread Jerry
On Sun, 23 Oct 2011 15:38:29 -0500
Conrad J. Sabatier articulated:

 On Thu, 20 Oct 2011 05:19:02 +0200
 Polytropon free...@edvax.de wrote:
  
  What if you use Gnome's CD playing application, or something
  like XMMS with the CD audio plugin? I think your permissions
  are okay so you could make the drive play from your (non-root)
  user account.
 
 No, it seems that there's a severe level of brokenness that has been
 introduced into the source tree with regards to CD devices.  I've been
 exploring this issue on my own system the last couple of days, and am
 no closer to arriving at a solution than when I first started.
 
 None of the CD-related apps I have installed are working.  cdcontrol
 will read an audio CD OK, it seems, but playback is useless, since,
 like most newer machines, I have no direct connection between the CD
 drive and the audio device.
 
 Apps such as kscd, xmcd, etc. report no disc or no device found.  grip
 (using cdparanoia) will detect an audio disc and even fetch the
 correct cddb info, but ripping fails completely.  xmms reports no
 appropriate ioctl for device.
 
 This is progress?

I tried raising this issue over a year ago; however, it never got any
traction.

-- 
Jerry ✌
jerry+f...@seibercom.net

Disclaimer: off-list followups get on-list replies or ignored.
Do not CC this poster. Please do not ignore the Reply-To header.

http://www.catb.org/~esr/faqs/smart-questions.html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Can't access a music CD (or any other media now)

2011-10-23 Thread Conrad J. Sabatier
On Sun, 23 Oct 2011 15:38:29 -0500
Conrad J. Sabatier conr...@cox.net wrote:
 
 No, it seems that there's a severe level of brokenness that has been
 introduced into the source tree with regards to CD devices.  I've been
 exploring this issue on my own system the last couple of days, and am
 no closer to arriving at a solution than when I first started.
 
 None of the CD-related apps I have installed are working.  cdcontrol
 will read an audio CD OK, it seems, but playback is useless, since,
 like most newer machines, I have no direct connection between the CD
 drive and the audio device.
 
 Apps such as kscd, xmcd, etc. report no disc or no device found.  grip
 (using cdparanoia) will detect an audio disc and even fetch the
 correct cddb info, but ripping fails completely.  xmms reports no
 appropriate ioctl for device.
 
 This is progress?

OK, I've made a little headway here.  At least, I've managed to get
cdrtools to work once again, after rebuilding/installing the port and
setting the default device to the SCSI address (1,0,0) of cd0 instead
of the device name.  Grip is now working with cdda2wav.
Hallelujah!  :-)

Still can't seem to get plain old audio CD playback working with
anything, though.  :-(

-- 
Conrad J. Sabatier
conr...@cox.net
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Can't access a music CD (or any other media now)

2011-10-23 Thread Michael D. Norwick

On 10/23/11 19:25, Conrad J. Sabatier wrote:

On Sun, 23 Oct 2011 15:38:29 -0500
Conrad J. Sabatierconr...@cox.net  wrote:

No, it seems that there's a severe level of brokenness that has been
introduced into the source tree with regards to CD devices.

 snip 

Good Day;

Ditto on this thread.  No amount of deinstall/reinstall, recompiling 
kernels and world, or config file tweaking have granted me success.  As 
I have posted; I am on


$uname -a

FreeBSD ...net 9.0-RC1 FreeBSD 9.0-RC1 #0: Sun Oct 23 12:32:55 
CDT 2011 root@..net:/usr/obj/usr/src/sys/KERNEL_102311  amd64


on a Dell Latitude D630.

$dmesg

Copyright (c) 1992-2011 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 9.0-RC1 #0: Sun Oct 23 12:32:55 CDT 2011
root@..net:/usr/obj/usr/src/sys/KERNEL_102311 amd64
can't re-use a leaf (if_tun_debug)!
module_register: module if_tun already exists!
Module if_tun failed to register: 17
CPU: Intel(R) Core(TM)2 Duo CPU T7250  @ 2.00GHz (1994.48-MHz 
K8-class CPU)

  Origin = GenuineIntel  Id = 0x6fd  Family = 6  Model = f  Stepping = 13
Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE
  Features2=0xe3bdSSE3,DTES64,MON,DS_CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM
  AMD Features=0x20100800SYSCALL,NX,LM
  AMD Features2=0x1LAHF
  TSC: P-state invariant, performance statistics
real memory  = 1073741824 (1024 MB)
avail memory = 1002573824 (956 MB)
Event timer LAPIC quality 400
ACPI APIC Table: DELL   M08 
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
FreeBSD/SMP: 1 package(s) x 2 core(s)
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
ioapic0: Changing APIC ID to 2
ioapic0 Version 2.0 irqs 0-23 on motherboard
kbd1 at kbdmux0
acpi0: DELL M08  on motherboard
Timecounter HPET frequency 14318180 Hz quality 950
Event timer HPET frequency 14318180 Hz quality 450
Event timer HPET1 frequency 14318180 Hz quality 440
Event timer HPET2 frequency 14318180 Hz quality 440
acpi0: reservation of 0, 9f000 (3) failed
acpi0: reservation of 10, 3f55b800 (3) failed
Timecounter ACPI-fast frequency 3579545 Hz quality 900
acpi_timer0: 24-bit timer at 3.579545MHz port 0x1008-0x100b on acpi0
cpu0: ACPI CPU on acpi0
cpu1: ACPI CPU on acpi0
pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0
pci0: ACPI PCI bus on pcib0
vgapci0: VGA-compatible display port 0xeff8-0xefff mem 
0xfea0-0xfeaf,0xe000-0xefff irq 16 at device 2.0 on pci0

agp0: Intel GM965 SVGA controller on vgapci0
agp0: aperture size is 256M, detected 7676k stolen memory
vgapci1: VGA-compatible display mem 0xfeb0-0xfebf at device 
2.1 on pci--More--(byte 2278)
uhci0: Intel 82801H (ICH8) USB controller USB-D port 0x6f20-0x6f3f irq 
20 at device 26.0 on pci0

uhci0: LegSup = 0x2f00
usbus0: Intel 82801H (ICH8) USB controller USB-D on uhci0
uhci1: Intel 82801H (ICH8) USB controller USB-E port 0x6f00-0x6f1f irq 
21 at device 26.1 on pci0

uhci1: LegSup = 0x2f00
usbus1: Intel 82801H (ICH8) USB controller USB-E on uhci1
ehci0: Intel 82801H (ICH8) USB 2.0 controller USB2-B mem 
0xfed1c400-0xfed1c7ff irq 22 at device 26.7 on pci0

usbus2: EHCI version 1.0
usbus2: Intel 82801H (ICH8) USB 2.0 controller USB2-B on ehci0
hdac0: Intel 82801H High Definition Audio Controller mem 
0xfe9fc000-0xfe9f irq 21 at device 27.0 on pci0

pcib1: ACPI PCI-PCI bridge at device 28.0 on pci0
pci11: ACPI PCI bus on pcib1
pcib2: ACPI PCI-PCI bridge at device 28.1 on pci0
pci12: ACPI PCI bus on pcib2
wpi0: Intel(R) PRO/Wireless 3945ABG mem 0xfe8ff000-0xfe8f irq 17 
at device 0.0 on pci12

pcib3: ACPI PCI-PCI bridge at device 28.5 on pci0
pci9: ACPI PCI bus on pcib3
bge0: CHIP ID 0xa002; ASIC REV 0x0a; CHIP REV 0xa0; PCI-E
miibus0: MII bus on bge0
brgphy0: BCM5755 1000BASE-T media interface PHY 1 on miibus0
brgphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 
1000baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, auto, auto-flow

bge0: Ethernet address: 00:21:70:91:6a:a5
uhci2: Intel 82801H (ICH8) USB controller USB-A port 0x6f80-0x6f9f irq 
20 at device 29.0 on pci0

uhci2: LegSup = 0x2f00
usbus3: Intel 82801H (ICH8) USB controller USB-A on uhci2
uhci3: Intel 82801H (ICH8) USB controller USB-B port 0x6f60-0x6f7f irq 
21 at device 29.1 on pci0

uhci3: LegSup = 0x2f00
usbus4: Intel 82801H (ICH8) USB controller USB-B on uhci3
uhci4: Intel 82801H (ICH8) USB controller USB-C port 0x6f40-0x6f5f irq 
22 at device 29.2 on pci0

uhci4: LegSup = 0x2f00
usbus5: Intel 82801H (ICH8) USB controller USB-C on uhci4
ehci1: Intel 82801H (ICH8) USB 2.0 controller USB2-A mem 
0xfed1c000-0xfed1c3ff irq 20 at device 29.7 on pci0

usbus6: EHCI version 1.0
usbus6: Intel 82801H (ICH8) USB 2.0 controller USB2-A on ehci1
pcib4: ACPI PCI-PCI bridge at device 30.0 on 

Re: Can't access a music CD (or any other media now)

2011-10-20 Thread Bernt Hansson

2011-10-20 03:25, Michael D. Norwick skrev:


with a data CD in the drive during reboot.
Trying to manually mount the drive results in;

$ sudo mount_cd9660 /dev/cd0 /media/dvdrom
mount_cd9660: /dev/cd0: Invalid argument


You have a typo in your mount command. The correct one would be;
mount_-t cd9660 /dev/cd0 /media/dvdrom


Thank You,
Michael

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


Re: Can't access a music CD (or any other media now)

2011-10-19 Thread Michael D. Norwick

On 10/18/11 14:57, Alexander Best wrote:

On Thu Oct 13 11, Lowell Gilbert wrote:

Alexander Bestarun...@freebsd.org  writes:


 snip 

Good Day;

It seems that I still cannot figure this out.  No amount of searching 
the docs or mailing lists has gotten me closer to a solution.  I csup'd 
the source tree again last night and built another kernel and world for;


*default release=cvs tag=RELENG_9
*default delete use-rel-suffix

/usr/src/sys/amd64/conf/KERNEL_101811 contains (among other things);

# ATA controllers
deviceahci# AHCI-compatible SATA controllers
deviceata# Legacy ATA/SATA controllers
options ATA_CAM# Handle legacy controllers with CAM
options ATA_STATIC_ID# Static device numbering
devicemvs# Marvell 88SX50XX/88SX60XX/88SX70XX/SoC SATA
devicesiis# SiliconImage SiI3124/SiI3132/SiI3531 SATA

# SCSI Controllers

# ATA/SCSI peripherals
devicescbus# SCSI bus (required for ATA/SCSI)
devicech# SCSI media changers
deviceda# Direct Access (disks)
devicesa# Sequential Access (tape etc)
devicecd# CD
devicepass# Passthrough device (direct ATA/SCSI access)
deviceses# SCSI Environmental Services (and SAF-TE)

/usr/src/UPDATING and /usr/src/sys/amd64/conf/NOTES did not seem to 
contain anything applicable to this issue.


The buildkernel KERNCONF=KERNEL_101811 step resulted in;
$uname -a

FreeBSD ..net 9.0-RC1 FreeBSD 9.0-RC1 #1: Wed Oct 19 05:37:43 
CDT 2011 michael@..net:/usr/obj/usr/src/sys/KERNEL_101811  amd64


and the following cd devices in /dev;

$ ls -l cd*
crw-rw-rw-  1 root  operator0, 105 Oct 19 19:08 cd0
lrwxr-xr-x  1 root  wheel8 Oct 19 19:08 cdrom - /dev/cd0

No /dev/acd* devices but I would think that there are not supposed to be.

/etc/devfs.conf contains;

# Commonly used by many ports
#linkacd0cdrom
link/dev/cd0 cdrom
perm/dev/cd0 0660

# Allow a user in the wheel group to query the smb0 device
perm/dev/smb0  0660

# Allow members of group operator to cat things to the speaker
#ownspeakerroot:operator
#permspeaker0660

perm/dev/pass0  0660
perm/dev/xpt0   0660
perm/dev/pass1  0660
perm/dev/mdctl  0660
perm/dev/md0  0660

perm/dev/bpf00660
perm/dev/bpf10660
perm/dev/bpf20660
perm/dev/bpf30660
perm/dev/bpf40660

link/tmpshm

$ cat /boot/loader.conf
atapicam_load=YES
hw.ata.atapi_dma=0
linux_load=YES
snd_hda_load=YES

$ cat /etc/rc.conf
hostname=..net
keymap=us.iso.kbd
ifconfig_bge0= inet 192.168.1.22 netmask 255.255.255.0
defaultrouter=192.168.1.1
hald_enable=YES
dbus_enable=YES
gdm_enable=YES
sshd_enable=YES
linux_enable=YES
abi_enable=YES
sysctl_enable=YES
ntpd_enable=YES
powerd_enable=YES

$dmesg (snipped somewhat)

cd0 at ata0 bus 0 scbus1 target 0 lun 0
cd0: TSSTcorp DVD+-RW TS-L632H D300 Removable CD-ROM SCSI-0 device
cd0: 33.300MB/s transfers (UDMA2, ATAPI 12bytes, PIO 65534bytes)
cd0: cd present [26466 x 2048 byte records]

(cd0:ata0:0:0:0): READ(10). CDB: 28 0 0 0 67 61 0 0 1 0
(cd0:ata0:0:0:0): CAM status: SCSI Status Error
(cd0:ata0:0:0:0): SCSI status: Check Condition
(cd0:ata0:0:0:0): SCSI sense: HARDWARE FAILURE asc:3e,2 (Timeout on 
logical unit)

(cd0:ata0:0:0:0): READ(10). CDB: 28 0 0 0 67 61 0 0 1 0
(cd0:ata0:0:0:0): CAM status: SCSI Status Error
(cd0:ata0:0:0:0): SCSI status: Check Condition
(cd0:ata0:0:0:0): SCSI sense: HARDWARE FAILURE asc:3e,2 (Timeout on 
logical unit)

(cd0:ata0:0:0:0): READ(10). CDB: 28 0 0 0 67 61 0 0 1 0
(cd0:ata0:0:0:0): CAM status: SCSI Status Error
(cd0:ata0:0:0:0): SCSI status: Check Condition
(cd0:ata0:0:0:0): SCSI sense: HARDWARE FAILURE asc:3e,2 (Timeout on 
logical unit)

(cd0:ata0:0:0:0): READ(10). CDB: 28 0 0 0 67 61 0 0 1 0
(cd0:ata0:0:0:0): CAM status: SCSI Status Error
(cd0:ata0:0:0:0): SCSI status: Check Condition
(cd0:ata0:0:0:0): SCSI sense: HARDWARE FAILURE asc:3e,2 (Timeout on 
logical unit)

(cd0:ata0:0:0:0): READ(10). CDB: 28 0 0 0 67 61 0 0 1 0
(cd0:ata0:0:0:0): CAM status: SCSI Status Error
(cd0:ata0:0:0:0): SCSI status: Check Condition
(cd0:ata0:0:0:0): SCSI sense: HARDWARE FAILURE asc:3e,2 (Timeout on 
logical unit)

(cd0:ata0:0:0:0): cddone: got error 0x5 back

with a data CD in the drive during reboot.
Trying to manually mount the drive results in;

$ sudo mount_cd9660 /dev/cd0 /media/dvdrom
mount_cd9660: /dev/cd0: Invalid argument

$ cat /etc/fstab
# DeviceMountpointFStypeOptionsDumpPass#
proc/procprocfsrw00
/dev/ada0p2/ufsrw11
/dev/ada0p3noneswapsw00
/dev/ada0p4/varufsrw22
/dev/ada0p5/usrufsrw22
/dev/ada0p6/homeufsrw22
linproc   /compat/linux/proclinprocfsrw   00
/dev/cd0/media/dvdromcd9660  rw,noauto