drivin' me nuts: permissions and cdda2wav
With a pre-recorded CD in the drive, the following works fine for me when I'm root: cdda2wav -D 0,0,0 -B My question is: What do I need to do in order to make this work also when executed from a non-root account? Here's what I get when I try to do the above from a non-root account: cdda2wav: Permission denied. Cannot open or use SCSI driver. cdda2wav: For possible targets try 'cdda2wav -scanbus'. Make sure you are root. Probably you did not define your SCSI device. Set the CDDA_DEVICE environment variable or use the -D option. You can also define the default device in the Makefile. For possible transport specifiers try 'cdda2wav dev=help'. Effing hell! I've tried just about everything I can think of off the top of my head to beat this and nothing works. I've tried chmod 0660 /dev/pass* (and yes, the account I'm trying these experiments from _is_ a member of the `operator' group), but that didn't help a bit. And before anybody asks, let me say that yes, I _do_ have: atapicam_load=YES in my /boot/loader.conf file. So how exactly does one adjust the permissions on one of these atamicam pseudo-SCSI devices. Where are they underneath /dev ? Please excuse my ignorance, but I just don't know. gnashing of teeth sound All I really wanted to do is to rip an ECD (enhanced CD) that I own, using abcde. I found out that cdparanoia chokes on the ECD, so I'm trying to figure out how to make abcde work with cdda2wav, but it apparently isn't at all easy. (Any hints or advice welcomed.) Oh! And by the way, this causes a segfault and a core dump: cdda2wav -D /dev/acd0 -B I'll have to send in a PR on that, I guess, but it is rather stunning to me that nobody even tested for that. Regards, rfg ___ 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: drivin' me nuts: permissions and cdda2wav
On 12/06/11 11:22, Ronald F. Guilmette wrote: With a pre-recorded CD in the drive, the following works fine for me when I'm root: cdda2wav -D 0,0,0 -B My question is: What do I need to do in order to make this work also when executed from a non-root account? Here's what I get when I try to do the above from a non-root account: cdda2wav: Permission denied. Cannot open or use SCSI driver. cdda2wav: For possible targets try 'cdda2wav -scanbus'. Make sure you are root. Probably you did not define your SCSI device. Set the CDDA_DEVICE environment variable or use the -D option. You can also define the default device in the Makefile. For possible transport specifiers try 'cdda2wav dev=help'. Effing hell! I've tried just about everything I can think of off the top of my head to beat this and nothing works. I've tried chmod 0660 /dev/pass* (and yes, the account I'm trying these experiments from _is_ a member of the `operator' group), but that didn't help a bit. And before anybody asks, let me say that yes, I _do_ have: atapicam_load=YES in my /boot/loader.conf file. So how exactly does one adjust the permissions on one of these atamicam pseudo-SCSI devices. Where are they underneath /dev ? Please excuse my ignorance, but I just don't know. gnashing of teeth sound I've just been through the same experience getting cdparanoia to work for a non-root user under REL 8.2p4. Note that I have the ahci module loaded so my cd is /dev/cd0. You need write access to /dev/cd0 plus the corresponding /dev/passN (use camcontrol devlist to find out which) *and* /dev/xpt0. From my /etc/devfs.conf own cd0 root:operator permcd0 0660 linkcd0 cdrom permxpt00660 permpass5 0660 This is the relevant part my machine's /dev. I'm in operator group. arthur@fileserver ls -l /dev/{cd,pass,xpt}* crw-rw 1 root operator0, 97 Nov 23 16:24 /dev/cd0 lrwxr-xr-x 1 root wheel3 Dec 2 16:08 /dev/cdrom - cd0 crw--- 1 root operator0, 91 Nov 23 16:24 /dev/pass0 crw--- 1 root operator0, 92 Nov 23 16:24 /dev/pass1 crw--- 1 root operator0, 93 Nov 23 16:24 /dev/pass2 crw--- 1 root operator0, 94 Nov 23 16:24 /dev/pass3 crw--- 1 root operator0, 95 Nov 23 16:24 /dev/pass4 crw-rw 1 root operator0, 96 Nov 23 16:24 /dev/pass5 crw--- 1 root operator0, 113 Nov 23 16:24 /dev/pass6 crw--- 1 root operator0, 115 Nov 23 16:24 /dev/pass7 crw--- 1 root operator0, 116 Nov 23 16:24 /dev/pass8 crw--- 1 root operator0, 118 Nov 23 16:24 /dev/pass9 crw-rw 1 root operator0, 61 Nov 23 16:24 /dev/xpt0 And how to find which /dev/passN corresponds to the cd drive: arthur@fileserver camcontrol devlist | grep cd ASUS DRW-2014S1T 1.00at scbus7 target 0 lun 0 (cd0,pass5) All I really wanted to do is to rip an ECD (enhanced CD) that I own, using abcde. I found out that cdparanoia chokes on the ECD, so I'm trying to figure out how to make abcde work with cdda2wav, but it apparently isn't at all easy. (Any hints or advice welcomed.) Oh! And by the way, this causes a segfault and a core dump: cdda2wav -D /dev/acd0 -B I'll have to send in a PR on that, I guess, but it is rather stunning to me that nobody even tested for that. ___ 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: drivin' me nuts: permissions and cdda2wav
-Original Message- From: owner-freebsd-questi...@freebsd.org [mailto:owner-freebsd- questi...@freebsd.org] On Behalf Of Arthur Chance Sent: Tuesday, December 06, 2011 3:47 AM To: Ronald F. Guilmette Cc: freebsd-questions@freebsd.org Subject: Re: drivin' me nuts: permissions and cdda2wav On 12/06/11 11:22, Ronald F. Guilmette wrote: With a pre-recorded CD in the drive, the following works fine for me when I'm root: cdda2wav -D 0,0,0 -B My question is: What do I need to do in order to make this work also when executed from a non-root account? Here's what I get when I try to do the above from a non-root account: cdda2wav: Permission denied. Cannot open or use SCSI driver. cdda2wav: For possible targets try 'cdda2wav -scanbus'. Make sure you are root. Probably you did not define your SCSI device. Set the CDDA_DEVICE environment variable or use the -D option. You can also define the default device in the Makefile. For possible transport specifiers try 'cdda2wav dev=help'. Effing hell! I've tried just about everything I can think of off the top of my head to beat this and nothing works. I've tried chmod 0660 /dev/pass* (and yes, the account I'm trying these experiments from _is_ a member of the `operator' group), but that didn't help a bit. And before anybody asks, let me say that yes, I _do_ have: atapicam_load=YES in my /boot/loader.conf file. So how exactly does one adjust the permissions on one of these atamicam pseudo-SCSI devices. Where are they underneath /dev ? Please excuse my ignorance, but I just don't know. gnashing of teeth sound I've just been through the same experience getting cdparanoia to work for a non- root user under REL 8.2p4. Note that I have the ahci module loaded so my cd is /dev/cd0. You need write access to /dev/cd0 plus the corresponding /dev/passN (use camcontrol devlist to find out which) *and* /dev/xpt0. From my /etc/devfs.conf own cd0 root:operator permcd0 0660 linkcd0 cdrom permxpt00660 permpass5 0660 An alternative approach would be to create files in /etc/devd For example, creating the configuration file /etc/devd/mydevice.conf with the following contents: notify 100 { match system DEVFS; match subsystem CDEV; match cdev pass[0-9]; match type CREATE; action /bin/chmod 666 /dev/$cdev; }; Will cause the system to execute the associated-action whenever /dev/pass[0-9] is created in realtime by devd. A really cute way to log devfs activity is to create /etc/devd/logger.conf with these contents: notify 100 { action logger DEVD ACTIVITY LOGGER; action logger bus == $bus; action logger cdev == $cdev; action logger cisproduct == $cisproduct; action logger cisvendor == $cisvendor; action logger class == $class; action logger device == $device; action logger devclass == $devclass; action logger device-name == $device-name; action logger endpoints == $endpoints; action logger function == $function; action logger interface == $interface; action logger intclass == $intclass; action logger intprotocol == $intprotocol; action logger intsubclass == $intsubclass; action logger manufacturer == $manufacturer; action logger mode == $mode; action logger notify == $notify; action logger parent == $parent; action logger port == $port; action logger product == $product; action logger release == $release; action logger serial == $serial; action logger slot == $slot; action logger subvendor == $subvendor; action logger subdevice == $subdevice; action logger subsystem == $subsystem; action logger system == $system; action logger type == $type; action logger vendor == $vendor; }; Once the above file is installed, just bounce the devd process and now whenever a device is created or destroyed (for example, when performing camcontrol rescan all or plugging/un-plugging USB devices), /var/log/messages will show you all the criteria that you can match-against for your given device. -- Devin This is the relevant part my machine's /dev. I'm in operator group. arthur@fileserver ls -l /dev/{cd,pass,xpt}* crw-rw 1 root operator0, 97 Nov 23 16:24 /dev/cd0 lrwxr-xr-x 1 root wheel3 Dec 2 16:08 /dev/cdrom - cd0 crw--- 1 root operator0, 91 Nov 23 16:24 /dev/pass0 crw--- 1 root operator0, 92 Nov 23 16:24 /dev/pass1 crw--- 1 root operator0, 93 Nov 23 16:24 /dev/pass2 crw--- 1 root operator0, 94 Nov 23 16:24 /dev/pass3 crw--- 1 root operator0, 95 Nov 23 16:24 /dev/pass4 crw-rw 1 root operator0, 96 Nov 23 16:24 /dev/pass5 crw--- 1 root operator0, 113
Re: AHCI timeout
On Tue, Dec 6, 2011 at 12:25 PM, C. P. Ghost cpgh...@cordula.ws wrote: On Tue, Dec 6, 2011 at 4:41 PM, Julien Cigar jci...@ulb.ac.be wrote: Hello, I'm running 9.0-RC3 on a HP Proliant Microserver (N40L). A disk died in my graid3 array and I replaced it with a new one, and now have tons of: ahcich3: Timeout on slot 5 port 0 ahcich3: is cs ss 3f60 rs 3f60 tfd 40 serr cmd ed17 Check the connectors, both on disk and on the controller. They're usually the culprit. Sometimes it is also a firmware problem, but I'll try to replace the cables first. (...) Those are Seagate disks: jcigar@backup conf % sudo camcontrol devlist VB0250EAVER HPG0 at scbus0 target 0 lun 0 (pass0,ada0) ST31000528AS CC38 at scbus1 target 0 lun 0 (pass1,ada1) ST31000528AS CC38 at scbus2 target 0 lun 0 (pass2,ada2) ST31000333AS CC1H at scbus3 target 0 lun 0 (pass3,ada3) The controller is: ahci0@pci0:0:17:0: class=0x010601 card=0x1609103c chip=0x43911002 rev=0x40 hdr=0x00 vendor = 'ATI Technologies Inc' device = 'SB7x0/SB8x0/SB9x0 SATA Controller [AHCI mode]' class = mass storage subclass = SATA jcigar@backup conf % vmstat -i interrupt total rate irq17: ehci0 ehci1+ 2 0 irq18: ohci0 ohci1+ 30 0 irq256: bge0 31354 4 irq257: ahci0 19012658 2477 irq258: hpet0:t0 4926229 641 irq259: hpet0:t1 4635261 603 Total 28605534 3727 Any idea what could be the cause of this ... ? Thanks, Julien -cpghost. -- Cordula's Web. http://www.cordula.ws/ ___ 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 I've had similar problems with a failing power supply when I used to run a gmirror on 7-STABLE. I was not running with AHCI, so I did not get the same messages; but I did get repeated WRITE_DMA timeouts on my da disks that eventually resulted in one disk being detached from the mirror. Cold booting was an arduous process because 9 boots of 10 the system would start sputtering out on DMA timeouts almost immediately after mounting the filesystems, and take well over 30 minutes just to get through rc. I changed cables, swapped the disks around, checked smartctl over and over to no avail. Eventually I bought a new rig and hooked it up to the original power supply - the problems persisted. I swapped in the new power supply and hey presto! the problems went away. You mentioned hardware failure in the original disk, so it might not be too far of a stretch to consider the power supply might also have suffered a failure. ___ 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
Playing .ASX files via/within Firefox ?
I've been trying to look at California Dept. of Transportation webcams using Firefox on FreeBSD and so far it simply ain't workin'. Somebody please tell me what I'm doing wrong. Yes, I already installed the mozilla-mplayer port. Here's where you can get at the webcams: http://www.dot.ca.gov/dist3/departments/traffic/cameras/ Any help would be appreciated. ___ 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: Playing .ASX files via/within Firefox ?
On Tue, 06 Dec 2011 16:02:24 -0800, Ronald F. Guilmette wrote: I've been trying to look at California Dept. of Transportation webcams using Firefox on FreeBSD and so far it simply ain't workin'. Somebody please tell me what I'm doing wrong. Yes, I already installed the mozilla-mplayer port. Here's where you can get at the webcams: http://www.dot.ca.gov/dist3/departments/traffic/cameras/ Any help would be appreciated. Maybe not what you're searching for, but works: First I arbitrarily choose a cam from the map. A window opens with a go to live camera link. Right click, copy link address. I tried to directly play it with mplayer which should have worked: % mplayer http://video.dot.ca.gov/asx/d3-whitmore-grade-80.asx; Did not work. So I checked the actual ASX file content: % wget http://video.dot.ca.gov/asx/d3-whitmore-grade-80.asx; The file contained some XML: asx version = 3.0 TITLE80 at Whitmore Grade/TITLE entry ref href = http://svdtsmsmedia.dot.ca.gov/d3-whitmore-grade-80/ ref href = http://svdtsmsmedia1.dot.ca.gov/d3-whitmore-grade-80/ ref href = http://svdtsmsmedia2.dot.ca.gov/d3-whitmore-grade-80/ ref href = http://sv04msmedia.dot.ca.gov/d3-whitmore-grade-80/ ref href = http://sv07msmedia.dot.ca.gov/d3-whitmore-grade-80/ /entry /asx I then choose the first reference to test with mplayer: % mplayer http://svdtsmsmedia.dot.ca.gov/d3-whitmore-grade-80; After the cache has been filled, IT WORKED! It can even run in fullscreen (or you can do all the tricks mplayer and mencoder is capable of). I'm not sure how to integrate that with Firefox (as I am an Opera person), sorry. -- 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: Playing .ASX files via/within Firefox ?
On 12/7/11, Polytropon free...@edvax.de wrote: On Tue, 06 Dec 2011 16:02:24 -0800, Ronald F. Guilmette wrote: I've been trying to look at California Dept. of Transportation webcams using Firefox on FreeBSD and so far it simply ain't workin'. Somebody please tell me what I'm doing wrong. Yes, I already installed the mozilla-mplayer port. Here's where you can get at the webcams: http://www.dot.ca.gov/dist3/departments/traffic/cameras/ Any help would be appreciated. Maybe not what you're searching for, but works: First I arbitrarily choose a cam from the map. A window opens with a go to live camera link. Right click, copy link address. I tried to directly play it with mplayer which should have worked: % mplayer http://video.dot.ca.gov/asx/d3-whitmore-grade-80.asx; % mplayer -playlist ... ___ 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: Playing .ASX files via/within Firefox ?
In message 20111207014948.9fb0cb4b.free...@edvax.de, Polytropon free...@edvax.de wrote: On Tue, 06 Dec 2011 16:02:24 -0800, Ronald F. Guilmette wrote: I've been trying to look at California Dept. of Transportation webcams using Firefox on FreeBSD and so far it simply ain't workin'. Somebody please tell me what I'm doing wrong. Yes, I already installed the mozilla-mplayer port. Here's where you can get at the webcams: http://www.dot.ca.gov/dist3/departments/traffic/cameras/ Any help would be appreciated. Maybe not what you're searching for, but works: First I arbitrarily choose a cam from the map. A window opens with a go to live camera link. Right click, copy link address. I tried to directly play it with mplayer which should have worked: % mplayer http://video.dot.ca.gov/asx/d3-whitmore-grade-80.asx; Did not work. So I checked the actual ASX file content: % wget http://video.dot.ca.gov/asx/d3-whitmore-grade-80.asx; The file contained some XML: asx version = 3.0 TITLE80 at Whitmore Grade/TITLE entry ref href = http://svdtsmsmedia.dot.ca.gov/d3-whitmore-grade-80/ ref href = http://svdtsmsmedia1.dot.ca.gov/d3-whitmore-grade-80/ ref href = http://svdtsmsmedia2.dot.ca.gov/d3-whitmore-grade-80/ ref href = http://sv04msmedia.dot.ca.gov/d3-whitmore-grade-80/ ref href = http://sv07msmedia.dot.ca.gov/d3-whitmore-grade-80/ /entry /asx I then choose the first reference to test with mplayer: % mplayer http://svdtsmsmedia.dot.ca.gov/d3-whitmore-grade-80; After the cache has been filled, IT WORKED! Yes! That worked forme too! It can even run in fullscreen (or you can do all the tricks mplayer and mencoder is capable of). I'm not sure how to integrate that with Firefox (as I am an Opera person), sorry. well, if you have an idea of how to make it integrate properly with Opera, then tell me how to do that and maybe from that I can figure out how to make it work from within Firefox too. Thanks! ___ 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: Playing .ASX files via/within Firefox ?
In message CAPYw7P7g=FZDOXc2PGqMHm=C2q5KxgxrvO3=zeirntkzwf9...@mail.gmail.com , Paul B. Mahol one...@gmail.com wrote: On 12/7/11, Polytropon free...@edvax.de wrote: On Tue, 06 Dec 2011 16:02:24 -0800, Ronald F. Guilmette wrote: I've been trying to look at California Dept. of Transportation webcams using Firefox on FreeBSD and so far it simply ain't workin'. Somebody please tell me what I'm doing wrong. Yes, I already installed the mozilla-mplayer port. Here's where you can get at the webcams: http://www.dot.ca.gov/dist3/departments/traffic/cameras/ Any help would be appreciated. Maybe not what you're searching for, but works: First I arbitrarily choose a cam from the map. A window opens with a go to live camera link. Right click, copy link address. I tried to directly play it with mplayer which should have worked: % mplayer http://video.dot.ca.gov/asx/d3-whitmore-grade-80.asx; % mplayer -playlist ... Haha! Yes! Adding the -playlist option does apparenty make it possible to get mplayer to ``play'' the .asx file itself directly. That's swell. But I still have the question: How does one get this to work with Firefox (as it should) ? ___ 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: Playing .ASX files via/within Firefox ?
Ronald F. Guilmette r...@tristatelogic.com wrote: I've been trying to look at California Dept. of Transportation webcams using Firefox on FreeBSD and so far it simply ain't workin'. ... http://www.dot.ca.gov/dist3/departments/traffic/cameras/ Works for me on 8.1-RELEASE with FF 3.5.10 and these packages: ORBit2-2.14.18_1 libXxf86vm-1.1.0 OpenSSH-askpass-1.2.4.1libart_lgpl-2.3.21,1 Tee-3.4libdaemon-0.14 a2ps-letter-4.13b_4libdrm-2.4.12_1 aalib-1.4.r5_5 libexecinfo-1.1_3 atk-1.30.0_1 libffi-3.0.9 augeas-0.7.1_2 libfontenc-1.0.5 avahi-app-0.6.25_3 libgcrypt-1.4.5_1 base64-1.5_1 libgpg-error-1.7_1 bash-4.1.7 libiconv-1.13.1_1 bison-2.4.1_1,1libmikmod-3.1.11_2 bitstream-vera-1.10_4 libmodplug-0.8.8.1 bsdadminscripts-6.1.1 libogg-1.2.0,4 cairo-1.8.10_1,1 libpthread-stubs-0.3_3 cdrtools-2.01_8libutempter-1.1.5_1 chexedit-0.9.7 libvolume_id-0.81.1 comconsole-0.1 libvorbis-1.3.1,3 compat6x-i386-6.4.604000.200810_3 libxcb-1.6 compositeproto-0.4.1 libxml2-2.7.7 consolekit-0.4.1_3 m4-1.4.14_1,1 cups-client-1.4.3 mkfontdir-1.0.5 damageproto-1.2.0 mkfontscale-1.0.7 dbus-1.2.24_1 mtools-4.0.10_1 dbus-glib-0.86_1 nspr-4.8.2 dd_rescue-1.14 open-motif-2.2.3_6 ddrescue-1.11 openoffice.org-2.4.3_2 desktop-file-utils-0.15_2 p5-Algorithm-Diff-1.1902 diskcheckd-20010823_5 p5-Date-Manip-5.56 dmidecode-2.10 p5-FileHandle-Unget-0.1623 dosbox-0.74p5-Mail-Mbox-MessageParser-1.5002_1 dri2proto-2.2 p5-Text-Diff-1.37 eggdbus-0.6_1 p5-TimeDate-1.20,1 en-freebsd-doc-20100625pango-1.28.0_1 encodings-1.0.3,1 pciids-20091229 etcmerge-0.4 pcre-8.02 expat-2.0.1_1 perl-5.10.1_1 facter-1.5.8 physfs-2.0.1 firefox-3.5.10,1 pixman-0.16.6 fixesproto-4.1.1 pkg-config-0.23_1 flac-1.2.1_2 pkg_tree-1.1_2 font-bh-ttf-1.0.1 png-1.4.3 font-misc-ethiopic-1.0.1 policykit-0.9_6 font-misc-meltho-1.0.1 polkit-0.96_2 font-util-1.0.2portmaster-2.32 fontconfig-2.8.0,1 printproto-1.0.4 freetype2-2.3.12 pstree-2.33 fvwm-2.5.30_1 psutils-letter-1.17_2 gamin-0.1.10_4 puppet-2.6.4 gconf2-2.28.1_1python26-2.6.5 gdbm-1.8.3_3 randrproto-1.3.1 gettext-0.18_1 rdate-1.3 ghostscript8-8.71_2renderproto-0.11 ghostview-1.5_2rsync-3.0.7 gio-fam-backend-2.24.1_1 ruby-1.8.7.302,1 glib-2.24.1_1 ruby18-gems-1.3.7 gnome-mime-data-2.18.0_4 ruby18-iconv-1.8.7.302,1 gnome-vfs-2.24.3_1 rubygem-ruby-augeas-0.3.0 gnome_subr-1.0 rxvt-2.6.4_5 gnomehier-2.3_12 samba34-libsmbclient-3.4.8 gnutls-2.8.6_1 screen-4.0.3_7 gobject-introspection-0.6.14 scripts-1.0.1 grepmail-5.3033sdl-1.2.14_1,2 gsfonts-8.11_5 sdl_net-1.2.7 gtk-2.20.1_2 sdl_sound-1.0.3_4 hal-0.5.14_8 shared-mime-info-0.71_1 heirloom-mailx-12.4_3 smartmontools-5.39.1 hicolor-icon-theme-0.12smiley-4.0 ical-2.2_3 smpeg-0.4.4_8 inputproto-2.0 speex-1.2.r1_3,1 jasper-1.900.1_9 sudo-1.7.3 jbigkit-1.6t1lib-5.1.2_1,1 jpeg-8_3 talloc-2.0.1 kbproto-1.0.4 tcl-8.4.19_3,1 lcms-1.19_1,1 tiff-3.9.4 lftp-4.0.9 timidity-0.2i_1 libGL-7.4.4tk-8.4.19_2,2 libGLU-7.4.4 traceroute-991603 libICE-1.0.6,1 tree-1.5.3 libIDL-0.8.14_1unzip-6.0 libSM-1.1.1_1,1unzoo-4.4_2 libX11-1.3.3,1 vim-lite-7.2.411 libXau-1.0.5 wget-1.12_1 libXaw-1.0.7,1 wgetpaste-2.17 libXcomposite-0.4.1,1 wine-1.2,1 libXcursor-1.1.10 xauth-1.0.4 libXdamage-1.1.2 xbitmaps-1.1.0 libXdmcp-1.0.3 xcb-util-0.3.6_1 libXext-1.1.1,1xextproto-7.1.1 libXfixes-4.0.4xf86vidmodeproto-2.3 libXft-2.1.14 xineramaproto-1.2 libXi-1.3,1
FreeBSD 10.0-CURRENT/AMD64 (CLANG): lang/gcc46 fails to build
Hello. On FreeBSD 10.0-CURRENT/amd64 I run into the error shown below when updating the installation of the gcc46 compiler suite. The OS has been compiled via CLANG, binutils 2.22 are installed and has been installed either with the UNAME_r settings and WITH_FBSD10_FIX set in /etc/make.conf. I was wondering whether others would also see this on CURRENT. On all FreeBSD 9.0 boxes gcc46 compiles well. Regards, Oliver Configuring stage 1 in ./gcc clang -O3 -fno-strict-aliasing -pipe -march=native -I/usr/local/include -o fixincl fixincl.o fixtests.o fixfixes.o server.o procopen.o fixlib.o fixopts.o ../libiberty/libiberty.a echo timestamp full-stamp gmake[3]: Leaving directory `/usr/ports/lang/gcc46/work/build/build-x86_64-portbld-freebsd9.9/fixincludes' gmake[3]: Entering directory `/usr/ports/lang/gcc46/work/build/libcpp' clang -I.././../gcc-4.6-20111202/libcpp -I. -I.././../gcc-4.6-20111202/libcpp/../include -I.././../gcc-4.6-20111202/libcpp/include -g -fkeep-inline-functions -W -Wall -Wwrite-strings -Wmissing-format-attribute -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wc++-compat -pedantic -Wno-long-long -I.././../gcc-4.6-20111202/libcpp -I. -I.././../gcc-4.6-20111202/libcpp/../include -I.././../gcc-4.6-20111202/libcpp/include -c -o charset.o -MT charset.o -MMD -MP -MF .deps/charset.Tpo .././../gcc-4.6-20111202/libcpp/charset.c .././../gcc-4.6-20111202/libcpp/charset.c:1371:1: error: conflicting types for 'cpp_interpret_string' cpp_interpret_string (cpp_reader *pfile, const cpp_string *from, size_t count, ^ .././../gcc-4.6-20111202/libcpp/include/cpplib.h:742:13: note: previous declaration is here extern bool cpp_interpret_string (cpp_reader *, ^ .././../gcc-4.6-20111202/libcpp/charset.c:1452:1: error: conflicting types for 'cpp_interpret_string_notranslate' cpp_interpret_string_notranslate (cpp_reader *pfile, const cpp_string *from, ^ .././../gcc-4.6-20111202/libcpp/include/cpplib.h:745:13: note: previous declaration is here extern bool cpp_interpret_string_notranslate (cpp_reader *, ^ 2 errors generated. gmake[3]: *** [charset.o] Error 1 gmake[3]: Leaving directory `/usr/ports/lang/gcc46/work/build/libcpp' gmake[2]: *** [all-stage1-libcpp] Error 2 gmake[2]: *** Waiting for unfinished jobs configure: creating cache ./config.cache checking build system type... x86_64-portbld-freebsd9.9 checking host system type... x86_64-portbld-freebsd9.9 checking target system type... x86_64-portbld-freebsd9.9 checking LIBRARY_PATH variable... ok checking GCC_EXEC_PREFIX variable... ok [...] checking linker *_sol2 emulation support... no checking linker --sysroot support... yes checking __stack_chk_fail in target C library... checking for __stack_chk_fail... yes yes checking dl_iterate_phdr in target C library... unknown Using ggc-page for garbage collection. checking whether to enable maintainer-specific portions of Makefiles... no Links are now set up to build a native compiler for x86_64-portbld-freebsd9.9. checking for exported symbols... yes checking for -rdynamic... yes checking for library containing dlopen... none required checking for -fPIC -shared... yes configure: updating cache ./config.cache configure: creating ./config.status config.status: creating as config.status: creating collect-ld config.status: creating nm config.status: creating Makefile config.status: creating ada/gcc-interface/Makefile config.status: creating ada/Makefile config.status: creating auto-host.h config.status: executing default commands gmake[2]: Leaving directory `/usr/ports/lang/gcc46/work/build' gmake[1]: *** [stage1-bubble] Error 2 gmake[1]: Leaving directory `/usr/ports/lang/gcc46/work/build' gmake: *** [bootstrap-lean] Error 2 *** Error code 1 Stop in /usr/ports/lang/gcc46. *** Error code 1 Stop in /usr/ports/lang/gcc46. === make failed for lang/gcc46 === Aborting update === Update for lang/gcc46 failed === Aborting update === You can restart from the point of failure with this command line: portmaster flags lang/gcc46 signature.asc Description: OpenPGP digital signature
SOLVED: ipfw And ping
I have a fairly restrictive firewall but I wanted to open a hole for ping and traceroute - both outbound from a NATed LAN as well as inbound to the boundary FreeBSD machine. The magic sauce turned out to be: ipfw add allow icmp from any to any icmptypes 0,3,4,8,11,12 The other insight here was that this rule had to occur *after* NAT got setup or internal users on the LAN would not be able to ping. Many thanks especially go to Robert Bonomi and Ian Smith for their help and patience with my foolish questions... Tim ___ 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: FreeBSD 10.0-CURRENT/AMD64 (CLANG): lang/gcc46 fails to build
On Wed, Dec 07, 2011 at 05:56:31AM +0100, O. Hartmann wrote: config.status: creating ada/Makefile config.status: creating auto-host.h config.status: executing default commands gmake[2]: Leaving directory `/usr/ports/lang/gcc46/work/build' gmake[1]: *** [stage1-bubble] Error 2 gmake[1]: Leaving directory `/usr/ports/lang/gcc46/work/build' gmake: *** [bootstrap-lean] Error 2 *** Error code 1 Stop in /usr/ports/lang/gcc46. *** Error code 1 Stop in /usr/ports/lang/gcc46. === make failed for lang/gcc46 === Aborting update See if setting DISABLE_MAKE_JOBSi helps. -- Steve ___ 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: Playing .ASX files via/within Firefox ?
On 12/7/11, Ronald F. Guilmette r...@tristatelogic.com wrote: In message CAPYw7P7g=FZDOXc2PGqMHm=C2q5KxgxrvO3=zeirntkzwf9...@mail.gmail.com , Paul B. Mahol one...@gmail.com wrote: On 12/7/11, Polytropon free...@edvax.de wrote: On Tue, 06 Dec 2011 16:02:24 -0800, Ronald F. Guilmette wrote: I've been trying to look at California Dept. of Transportation webcams using Firefox on FreeBSD and so far it simply ain't workin'. Somebody please tell me what I'm doing wrong. Yes, I already installed the mozilla-mplayer port. Here's where you can get at the webcams: http://www.dot.ca.gov/dist3/departments/traffic/cameras/ Any help would be appreciated. Maybe not what you're searching for, but works: First I arbitrarily choose a cam from the map. A window opens with a go to live camera link. Right click, copy link address. I tried to directly play it with mplayer which should have worked: % mplayer http://video.dot.ca.gov/asx/d3-whitmore-grade-80.asx; % mplayer -playlist ... Haha! Yes! Adding the -playlist option does apparenty make it possible to get mplayer to ``play'' the .asx file itself directly. That's swell. But I still have the question: How does one get this to work with Firefox (as it should) ? Isn't there options window from where it is possible to configure plugin? ___ 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