Re: restore(8) to UFS on USB key: terrible slow
El día Thursday, December 08, 2011 a las 10:10:36AM +0100, Hans Petter Selasky escribió: > > # fdisk -I da0 > > # fdisk -B da0 > > # bsdlabel -w da0s1 auto > > # bsdlabel -B da0s1 > > # bsdlabel -e da0s1 > > # newfs /dev/da0s1a > > # mount /dev/da0s1a /mnt > > > > When I now bulk write a big file to the file system, the write > > performance is reasonable fast, even with blocks of 512 bytes, > > it gives 2 MByte / sec: > > > > # dd if=usb.dmp of=/mnt/byte > > 10926520+0 records in > > 10926520+0 records out > > 5594378240 bytes transferred in 2538.942585 secs (2203428 bytes/sec) > > > > Hello! > > The default block size of dd is 512 bytes. Try setting bs=65536 :-) Hello Hans, I know (as I said) that dd(1) per default writes in blocks of 512 bytes; but this is not the problem; the problem is the poor performance of restore(8); the dd(1) was just to see if the USB key performs fast enough in general; please read my post again :-) Thanks matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.unixarea.de/ UNIX since V7 on PDP-11 | UNIX on mainframe since ESER 1055 (IBM /370) UNIX on x86 since SVR4.2 UnixWare 2.1.2 | FreeBSD since 2.2.5 ___ 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: restore(8) to UFS on USB key: terrible slow
On Thursday 08 December 2011 07:37:12 Matthias Apitz wrote: > Hello, > > I encounter the following problem with UFS file systems on USB keys, > i.e. the problem is not only with one key, but with all I have; the key > in question here is: > > Dec 7 22:17:47 tinyCurrent kernel: umass0: 0/0, rev 2.00/1.02, addr 3> on usbus4 Dec 7 22:17:47 tinyCurrent kernel: > umass0: SCSI over Bulk-Only; quirks = 0x4101 Dec 7 22:17:47 tinyCurrent > root: Unknown USB device: vendor 0x058f product 0x6387 bus uhub4 Dec 7 > 22:17:48 tinyCurrent kernel: umass0:0:0:-1: Attached to scbus0 Dec 7 > 22:17:48 tinyCurrent kernel: da0 at umass-sim0 bus 0 scbus0 target 0 lun 0 > Dec 7 22:17:48 tinyCurrent kernel: da0: > Removable Direct Access SCSI-2 device Dec 7 22:17:48 tinyCurrent kernel: > da0: 40.000MB/s transfers > Dec 7 22:17:48 tinyCurrent kernel: da0: 7650MB (15667200 512 byte sectors: > 255H 63S/T 975C) > > and the system is: > > $ uname -a > FreeBSD tinyCurrent 9.0-CURRENT FreeBSD 9.0-CURRENT #1 r21: Thu Oct 28 > 10:56:32 CEST 2010 > > The key was formatted the usual way for receiving a complete FreeBSD > system for installation purpose: > > # fdisk -I da0 > # fdisk -B da0 > # bsdlabel -w da0s1 auto > # bsdlabel -B da0s1 > # bsdlabel -e da0s1 > # newfs /dev/da0s1a > # mount /dev/da0s1a /mnt > > When I now bulk write a big file to the file system, the write > performance is reasonable fast, even with blocks of 512 bytes, > it gives 2 MByte / sec: > > # dd if=usb.dmp of=/mnt/byte > 10926520+0 records in > 10926520+0 records out > 5594378240 bytes transferred in 2538.942585 secs (2203428 bytes/sec) > Hello! The default block size of dd is 512 bytes. Try setting bs=65536 :-) --HPS ___ 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: restore(8) to UFS on USB key: terrible slow
On Thursday 08 December 2011 10:19:43 Matthias Apitz wrote: > El día Thursday, December 08, 2011 a las 10:10:36AM +0100, Hans Petter Selasky escribió: > > > # fdisk -I da0 > > > # fdisk -B da0 > > > # bsdlabel -w da0s1 auto > > > # bsdlabel -B da0s1 > > > # bsdlabel -e da0s1 > > > # newfs /dev/da0s1a > > > # mount /dev/da0s1a /mnt > > > > > > When I now bulk write a big file to the file system, the write > > > performance is reasonable fast, even with blocks of 512 bytes, > > > it gives 2 MByte / sec: > > > > > > # dd if=usb.dmp of=/mnt/byte > > > 10926520+0 records in > > > 10926520+0 records out > > > 5594378240 bytes transferred in 2538.942585 secs (2203428 bytes/sec) > > > > Hello! > > > > The default block size of dd is 512 bytes. Try setting bs=65536 :-) > > Hello Hans, > > I know (as I said) that dd(1) per default writes in blocks of 512 bytes; > but this is not the problem; the problem is the poor performance of > restore(8); the dd(1) was just to see if the USB key performs fast > enough in general; please read my post again :-) Hi, The "restore" utility also has a -b option for blocksize. Did you try that? --HPS ___ 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: AHCI timeout
On 12/06/2011 19:25, C. P. Ghost wrote: On Tue, Dec 6, 2011 at 4:41 PM, Julien Cigar 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. I tried with two different connectors but the problem persists. However, I noticed that the problem only appear at high I/O rates (during a graid3 resync for example): the machine runs Bacula and the backup job completed successfully this night, but it was a remote machine so the I/O writes didn't go above 2 MB/s ... Do you think the problem could be the firmware of the disk? (...) Those are Seagate disks: jcigar@backup conf % sudo camcontrol devlist at scbus0 target 0 lun 0 (pass0,ada0) at scbus1 target 0 lun 0 (pass1,ada1) at scbus2 target 0 lun 0 (pass2,ada2) 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 4926229641 irq259: hpet0:t1 4635261603 Total 28605534 3727 Any idea what could be the cause of this ... ? Thanks, Julien -cpghost. -- No trees were killed in the creation of this message. However, many electrons were terribly inconvenienced. ___ 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: restore(8) to UFS on USB key: terrible slow
El día Thursday, December 08, 2011 a las 11:47:46AM +0100, Hans Petter Selasky escribió: > > I know (as I said) that dd(1) per default writes in blocks of 512 bytes; > > but this is not the problem; the problem is the poor performance of > > restore(8); the dd(1) was just to see if the USB key performs fast > > enough in general; please read my post again :-) > > Hi, > > The "restore" utility also has a -b option for blocksize. Did you try that? Hi, I know, but I think this does not make any diff, because at the moment restore(8) is only creating (empty) dirs and not storing files to the disk; if one watches the restore(8) with truss(1) it looks like this: # truss -p 2123 write(1,"Make node ./home/guru/myThings/F"...,80) = 80 (0x50) lseek(4,0x0,SEEK_CUR)= 4517312 (0x44edc0) lseek(4,0x44ec98,SEEK_SET) = 4517016 (0x44ec98) read(4,"7t\^W\0\f\0\^D\^A.\0\0\0(t\^W\0"...,1024) = 1024 (0x400) lseek(4,0x0,SEEK_CUR)= 4518040 (0x44f098) mkdir("./home/guru/myThings/FreeBSD/9-CURRENT/src/secure/libexec/sftp-server/.svn",0777) = 0 (0x0) write(1,"Make node ./home/guru/myThings/F"...,85) = 85 (0x55) lseek(4,0x0,SEEK_CUR)= 4518040 (0x44f098) lseek(4,0x44ece0,SEEK_SET) = 4517088 (0x44ece0) read(4,"8t\^W\0\f\0\^D\^A.\0\0\0007t\^W"...,1024) = 1024 (0x400) lseek(4,0x0,SEEK_CUR)= 4518112 (0x44f0e0) i.e. it goes through the DUMP and makes the directories; and any mkdir(2) takes seconds!!! one can even see this with: # truss -d mkdir /mnt/foo ... 0.012703011 sigprocmask(SIG_SETMASK,0x0,0x0) = 0 (0x0) 9.774846524 mkdir("/mnt/foo",0777) = 0 (0x0) 9.775744404 sigprocmask(SIG_BLOCK,SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2,0x0) = 0 (0x0) it takes so long to do mkdir(2) until now there are no files below /mnt, only dirs; matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.unixarea.de/ UNIX since V7 on PDP-11 | UNIX on mainframe since ESER 1055 (IBM /370) UNIX on x86 since SVR4.2 UnixWare 2.1.2 | FreeBSD since 2.2.5 ___ 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"
Today Sales (Clearance Sales Today) APPLE iPHONE 4G/32GB = $310 - BLACKBERRY Torch = $340 USD
Season Offer/Bonus!!! We are offering BRAND NEW APPLE/BLACKBERRY SMARTPHONES AND TABLETS,Factory Sealed Boxes,complete Accessories and 1 year Manufacturers Warranty,Also Guaranteed to work with all GSM Carrier/Network Worldwide. APPLE iPHONE 4G/32GB = $310 APPLE iPAD2 64GB/3G with WiFi = $610 ULTRA THIN APPLE MACBOOK AIR 13" LAPTOP = $610 BLACKBERRY PlayBook 7" 64GB Tablet = $370 http://us.blackberry.com/playbook-tablet/ BLACKBERRY Torch = $340 USD BLACKBERRY Storm = $320 USD BLACKBERRY Bold 9780/9650 = $300 USD BLACKBERRY Curve = $270 USD MINIMUM ORDER IS 10 UNITS BUY 10 GET 5 FREE UNITS AND FREE SHIPPING WORLDWIDE BUY 20 GET 10 FREE UNITS AND FREE SHIPPING WORLDWIDE BUY 30 GET 15 FREE UNITS AND FREE SHIPPING WORLDWIDE PAYMENT MODE: SECURE BANK TRANSFER DELIVERY MODE: 4/5 DAYS via DHL TO YOUR SHIPPING COORDINATES FOR MORE INFO CONTACT US ONLY VIA E-MAIL ADDRESS LISTED BELOW FOR A FAST RESPONSE BUDGET SUPPLIES INC, 2 Western Avenue Business Park, Mansfield Road, London W3 0BZ E-mail : budgetsuppli...@w.cn www.budgetsupplies.co.uk (under-construction) ___ 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: restore(8) to UFS on USB key: terrible slow
On Thursday 08 December 2011 12:24:18 Matthias Apitz wrote: > El día Thursday, December 08, 2011 a las 11:47:46AM +0100, Hans Petter Selasky escribió: > > > I know (as I said) that dd(1) per default writes in blocks of 512 > > > bytes; but this is not the problem; the problem is the poor > > > performance of restore(8); the dd(1) was just to see if the USB key > > > performs fast enough in general; please read my post again :-) > > > > Hi, > > > > The "restore" utility also has a -b option for blocksize. Did you try > > that? > > Hi, > > I know, but I think this does not make any diff, because at the moment > restore(8) is only creating (empty) dirs and not storing files to the > disk; if one watches the restore(8) with truss(1) it looks like this: > > # truss -p 2123 > write(1,"Make node ./home/guru/myThings/F"...,80) = 80 (0x50) > lseek(4,0x0,SEEK_CUR)= 4517312 (0x44edc0) > lseek(4,0x44ec98,SEEK_SET) = 4517016 (0x44ec98) > read(4,"7t\^W\0\f\0\^D\^A.\0\0\0(t\^W\0"...,1024) = 1024 (0x400) > lseek(4,0x0,SEEK_CUR)= 4518040 (0x44f098) > mkdir("./home/guru/myThings/FreeBSD/9-CURRENT/src/secure/libexec/sftp-serve > r/.svn",0777) = 0 (0x0) > write(1,"Make node ./home/guru/myThings/F"...,85) = 85 (0x55) > lseek(4,0x0,SEEK_CUR)= 4518040 (0x44f098) > lseek(4,0x44ece0,SEEK_SET) = 4517088 (0x44ece0) > read(4,"8t\^W\0\f\0\^D\^A.\0\0\0007t\^W"...,1024) = 1024 (0x400) > lseek(4,0x0,SEEK_CUR)= 4518112 (0x44f0e0) > > i.e. it goes through the DUMP and makes the directories; and any > mkdir(2) takes seconds!!! > > one can even see this with: > Hi, If it is a umass problem you will see USB timeouts. Else it is not a USB problem. Try setting hw.usb.ehci.lostintrbug=1 in /boot/loader.conf. --HPS ___ 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: restore(8) to UFS on USB key: terrible slow
BTW: Check USB traffic with "usbdump" utility. --HPS ___ 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: restore(8) to UFS on USB key: terrible slow
El día Thursday, December 08, 2011 a las 03:40:06PM +0100, Hans Petter Selasky escribió: > BTW: > > Check USB traffic with "usbdump" utility. I don't see this 'usbdump', neither in the system nor in ports; BTW: I've checked the dump, it contains 50.000 dirs and 200.000 files (because of complete /usr/src and /usr/obl files incl. .svn dirs); Is this (50.000 x mkdir(2)) to much for USB? matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.unixarea.de/ UNIX since V7 on PDP-11 | UNIX on mainframe since ESER 1055 (IBM /370) UNIX on x86 since SVR4.2 UnixWare 2.1.2 | FreeBSD since 2.2.5 ___ 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: restore(8) to UFS on USB key: terrible slow
On Thursday 08 December 2011 15:52:04 Matthias Apitz wrote: > El día Thursday, December 08, 2011 a las 03:40:06PM +0100, Hans Petter Selasky escribió: > > BTW: > > > > Check USB traffic with "usbdump" utility. > > I don't see this 'usbdump', neither in the system nor in ports; > > BTW: I've checked the dump, it contains 50.000 dirs and 200.000 files > (because of complete /usr/src and /usr/obl files incl. .svn dirs); > Is this (50.000 x mkdir(2)) to much for USB? Hi, USB can at maximum do 8000/3 512byte R/W READ_10 or WRITE_10. Usbdump is available in 8-stable and 9-stable. --HPS ___ 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: restore(8) to UFS on USB key: terrible slow
On Thursday 08 December 2011 15:58:42 Hans Petter Selasky wrote: > On Thursday 08 December 2011 15:52:04 Matthias Apitz wrote: > > El día Thursday, December 08, 2011 a las 03:40:06PM +0100, Hans Petter > > Selasky escribió: > > > BTW: > > > > > > Check USB traffic with "usbdump" utility. > > > > I don't see this 'usbdump', neither in the system nor in ports; > > > > BTW: I've checked the dump, it contains 50.000 dirs and 200.000 files > > (because of complete /usr/src and /usr/obl files incl. .svn dirs); > > Is this (50.000 x mkdir(2)) to much for USB? > > Hi, > > USB can at maximum do 8000/3 512byte R/W READ_10 or WRITE_10. Per second. > > Usbdump is available in 8-stable and 9-stable. > --HPS ___ 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"
Which Lenovo Laptop?
Hi, so which current 14" Lenovo laptop is the best for FreeBSD compatibility right now? Is it the T420 with the Nvidia card (Nvidia card forced in the BIOS)? Sleep modes work with the T420, right? And I guess Intel Wi-Fi cards are the most supported ones, right? 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: restore(8) to UFS on USB key: terrible slow
In the last episode (Dec 08), Matthias Apitz said: > I encounter the following problem with UFS file systems on USB keys, i.e. > the problem is not only with one key, but with all I have; the key in > question here is: > > Dec 7 22:17:47 tinyCurrent kernel: umass0: rev 2.00/1.02, addr 3> on usbus4 > Dec 7 22:17:47 tinyCurrent kernel: umass0: SCSI over Bulk-Only; quirks = > 0x4101 > Dec 7 22:17:47 tinyCurrent root: Unknown USB device: vendor 0x058f product > 0x6387 bus uhub4 > Dec 7 22:17:48 tinyCurrent kernel: umass0:0:0:-1: Attached to scbus0 > Dec 7 22:17:48 tinyCurrent kernel: da0 at umass-sim0 bus 0 scbus0 target 0 > lun 0 > Dec 7 22:17:48 tinyCurrent kernel: da0: Removable > Direct Access SCSI-2 device > Dec 7 22:17:48 tinyCurrent kernel: da0: 40.000MB/s transfers > Dec 7 22:17:48 tinyCurrent kernel: da0: 7650MB (15667200 512 byte sectors: > 255H 63S/T 975C) [...] > after a while it get stuck and only does create the dirs with > a frequence of one per second; also the used space is growing very > slow: > > # df -kh /mnt > Filesystem SizeUsed Avail Capacity Mounted on > /dev/da0s1a7.2G 42M6.6G 1%/mnt > > this is after an hour or so: only 42 MBytes are written now; > > Any idea, what is broken with this? Cheap USB thumb drives aren't really optimized for small random-I/O writes. Can you try mounting the filesystem async? that might help a little. A workaround would be to use mdconfig to create a block device (backed by either swap or a file on your hard drive) the same size as your flash drive, newfs and restore to that, then umount the filesystem and dd the raw image directly to your flash drive. -- Dan Nelson dnel...@allantgroup.com ___ 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"
OCR Form tools
I have thousands of forms equivalent to invoices that I'd like to put into a database. I'm thinking I would like to have some OCR app/tool scan these forms, and then generate a CSV with each field. Does anyone have recommendations on software for this? -- Adam Vande More ___ 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: OCR Form tools
I don't know about the second half, you might have to write something up in Perl for that but I am using tesseract (graphics/tesseract) to do some old document converting for my father… works pretty slick. On Dec 8, 2011, at 10:10 AM, Adam Vande More wrote: > I have thousands of forms equivalent to invoices that I'd like to put into > a database. I'm thinking I would like to have some OCR app/tool scan these > forms, and then generate a CSV with each field. Does anyone have > recommendations on software for this? > > -- > Adam Vande More > ___ > 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" ___ 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"
CUPS and IPP/JD/LPD
I have a printer that doesn't support IPP. The leasing agency wants to charge me $1400 to "install" the Postcript driver on it but I'm looking at another solution, if possible: CUPS. I have a MacBook and we have a number of iOS devices around the office here that people would love to be able to print from… but AirPrint requires an IPP-compatible printer. Is there a way to convert or translate IPP to either LPD or JetDirect? -- Ryan ___ 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: Which Lenovo Laptop?
On 08/12/2011 15:01, Pierre-Luc Drouin wrote: so which current 14" Lenovo laptop is the best for FreeBSD compatibility right now? Is it the T420 with the Nvidia card (Nvidia card forced in the BIOS)? Sleep modes work with the T420, right? And I guess Intel Wi-Fi cards are the most supported ones, right? Hi: I got an E520 and tried to install 90RC2 on it, ACPI problems with thermal zone 0 (-273). I got the system installed awkardly: the installer was useless as the console would fill with acpi error messages. Tried to boot live and run sysinstall on a different console but wouldn't install. Eventually I did everything manually. But then trying buildworld got the system hanging without any error message probably due to overheating. So, the final resort was to install linux .. that suck. :( I don't know the other series. Good luck and let me know. BR, Erik -- M: +34 666 334 818 T: +34 915 211 157 ___ 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"
PAM confusion
Hi, I'm attempting to hook security/pam_ssh_agent_auth into sudo, and have learned that PAM doesn't work the way I thought it did. I'm running FreeBSD-9/i386, with sudo 1.7.2.6. My goal is that sudo pass all auth requests back to the users' SSH agent. Sudo should never use passwords for authentication. If the user doesn't have an SSH agent, or if the SSH agent breaks somehow, the sudo request is denied. With my current config, sudo requests are accepted without a password even if the users' environment has no $SSH_AUTH_SOCK. I'm obviously doing something wrong. Here's my pam.d/sudo. I removed password settings and required the pam_ssh_agent_auth library. --- #auth include system authrequired/usr/local/lib/pam_ssh_agent_auth.so file=~/.ssh/authorized\ _keys # account account include system # session # XXX: pam_lastlog (used in system) causes users to appear as though # they are no longer logged in in system logs. session requiredpam_permit.so # password #password include system --- Any suggestions what I'm doing wrong? Thanks, ==ml -- Michael W. Lucas http://www.MichaelWLucas.com/, http://blather.MichaelWLucas.com/ Latest book: Network Flow Analysis http://www.networkflowanalysis.com/ mwlu...@blackhelicopters.org, Twitter @mwlauthor ___ 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: Which Lenovo Laptop?
On Thu, Dec 8, 2011 at 11:44 AM, Erik Nørgaard wrote: > On 08/12/2011 15:01, Pierre-Luc Drouin wrote: > >> so which current 14" Lenovo laptop is the best for FreeBSD >> compatibility right now? Is it the T420 with the Nvidia card (Nvidia >> card forced in the BIOS)? Sleep modes work with the T420, right? And I >> guess Intel Wi-Fi cards are the most supported ones, right? > > > Hi: I got an E520 and tried to install 90RC2 on it, ACPI problems with > thermal zone 0 (-273). I got the system installed awkardly: the installer > was useless as the console would fill with acpi error messages. Tried to > boot live and run sysinstall on a different console but wouldn't install. > Eventually I did everything manually. > > But then trying buildworld got the system hanging without any error message > probably due to overheating. > > So, the final resort was to install linux .. that suck. :( > > I don't know the other series. Good luck and let me know. > > BR, Erik > -- > >From what I read in the past I think the T series has more support than the other series, but maybe I am wrong. After the options that are offered to me, it seems that the T series model I could get with a Nvidia chipset would be the T520 with the i7 2630QM CPU and the Intel 5205 wireless card. From what I have read, the wireless card should work fine on FreeBSD, but I have read that some people had problems in October with the BIOS and GPT. I assume these problems do not apply with the MBR? WHat about the sleep modes with the T520? Does suspend to RAM and suspend to disk works? 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: CUPS and IPP/JD/LPD
I keep getting garbage text when I connect to my Lanier here at work… an LD520C. I used to be able to print to it but never in color… not the end of the world but I want to be able to print to it again. On Dec 8, 2011, at 10:59 AM, Patrick Mahan wrote: >> -Original Message- >> From: owner-freebsd-questi...@freebsd.org [mailto:owner-freebsd- >> questi...@freebsd.org] On Behalf Of Ryan Coleman >> Sent: Thursday, December 08, 2011 8:41 AM >> To: FreeBSD Questions >> Subject: CUPS and IPP/JD/LPD >> >> I have a printer that doesn't support IPP. The leasing agency wants to >> charge me $1400 to "install" the Postcript driver on it but I'm looking at >> another solution, if possible: CUPS. >> >> I have a MacBook and we have a number of iOS devices around the office here >> that people would love to be able to print from... but AirPrint requires an >> IPP-compatible printer. >> >> Is there a way to convert or translate IPP to either LPD or JetDirect? >> >> -- >> Ryan >> > > Ryan, > > I use JetDirect with my Apple devices. I print to a HP OfficeJet 7310 > all-in-one > with no problems. > > I had and older HP Color inkjet (930?) that was hooked up for a while to a > Fedora > Core box that was using LPD that worked as well. > > Patrick > > Patrick Mahan > Lead Technical Kernel Engineer > Adara Networks > Disclaimer: The opinions expressed here are solely the responsibility of the > author and are not to be > construed as an official opinion of Adara Networks. ___ 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: CUPS and IPP/JD/LPD
>-Original Message- >From: owner-freebsd-questi...@freebsd.org [mailto:owner-freebsd- >questi...@freebsd.org] On Behalf Of Ryan Coleman >Sent: Thursday, December 08, 2011 8:41 AM >To: FreeBSD Questions >Subject: CUPS and IPP/JD/LPD > >I have a printer that doesn't support IPP. The leasing agency wants to >charge me $1400 to "install" the Postcript driver on it but I'm looking at >another solution, if possible: CUPS. > >I have a MacBook and we have a number of iOS devices around the office here >that people would love to be able to print from... but AirPrint requires an >IPP-compatible printer. > >Is there a way to convert or translate IPP to either LPD or JetDirect? > >-- >Ryan > Ryan, I use JetDirect with my Apple devices. I print to a HP OfficeJet 7310 all-in-one with no problems. I had and older HP Color inkjet (930?) that was hooked up for a while to a Fedora Core box that was using LPD that worked as well. Patrick Patrick Mahan Lead Technical Kernel Engineer Adara Networks Disclaimer: The opinions expressed here are solely the responsibility of the author and are not to be construed as an official opinion of Adara Networks. ___ 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: CUPS and IPP/JD/LPD
Definitely Postscript. On Dec 8, 2011, at 10:59 AM, Patrick Mahan wrote: >> -Original Message- >> From: owner-freebsd-questi...@freebsd.org [mailto:owner-freebsd- >> questi...@freebsd.org] On Behalf Of Ryan Coleman >> Sent: Thursday, December 08, 2011 8:41 AM >> To: FreeBSD Questions >> Subject: CUPS and IPP/JD/LPD >> >> I have a printer that doesn't support IPP. The leasing agency wants to >> charge me $1400 to "install" the Postcript driver on it but I'm looking at >> another solution, if possible: CUPS. >> >> I have a MacBook and we have a number of iOS devices around the office here >> that people would love to be able to print from... but AirPrint requires an >> IPP-compatible printer. >> >> Is there a way to convert or translate IPP to either LPD or JetDirect? >> >> -- >> Ryan >> > > Ryan, > > I use JetDirect with my Apple devices. I print to a HP OfficeJet 7310 > all-in-one > with no problems. > > I had and older HP Color inkjet (930?) that was hooked up for a while to a > Fedora > Core box that was using LPD that worked as well. > > Patrick > > Patrick Mahan > Lead Technical Kernel Engineer > Adara Networks > Disclaimer: The opinions expressed here are solely the responsibility of the > author and are not to be > construed as an official opinion of Adara Networks. > ___ > 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" ___ 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: CUPS and IPP/JD/LPD
>-Original Message- >From: Ryan Coleman [mailto:edi...@d3photography.com] >Sent: Thursday, December 08, 2011 9:03 AM >To: Patrick Mahan >Cc: FreeBSD Questions >Subject: Re: CUPS and IPP/JD/LPD > >I keep getting garbage text when I connect to my Lanier here at work... an >LD520C. > >I used to be able to print to it but never in color... not the end of the >world but I want to be able to print to it again. > >On Dec 8, 2011, at 10:59 AM, Patrick Mahan wrote: > >>> -Original Message- >>> From: owner-freebsd-questi...@freebsd.org [mailto:owner-freebsd- >>> questi...@freebsd.org] On Behalf Of Ryan Coleman >>> Sent: Thursday, December 08, 2011 8:41 AM >>> To: FreeBSD Questions >>> Subject: CUPS and IPP/JD/LPD >>> >>> I have a printer that doesn't support IPP. The leasing agency wants to >>> charge me $1400 to "install" the Postcript driver on it but I'm looking >at >>> another solution, if possible: CUPS. >>> >>> I have a MacBook and we have a number of iOS devices around the office >here >>> that people would love to be able to print from... but AirPrint requires >an >>> IPP-compatible printer. >>> >>> Is there a way to convert or translate IPP to either LPD or JetDirect? >>> >>> -- >>> Ryan >>> >> >> Ryan, >> >> I use JetDirect with my Apple devices. I print to a HP OfficeJet 7310 >all-in-one >> with no problems. >> >> I had and older HP Color inkjet (930?) that was hooked up for a while to a >Fedora >> Core box that was using LPD that worked as well. >> Ryan, What does the garbage text look like? PCL? or Postscript? I'm not familiar with the Lanier printers. Patrick Patrick Mahan Lead Technical Kernel Engineer Adara Networks Disclaimer: The opinions expressed here are solely the responsibility of the author and are not to be construed as an official opinion of Adara Networks. ___ 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: BIND and LDAP support
Hello, thanks for replying. Regarding building BIND, are you sure the setting should go in make.conf and not src.conf - here is the relevant text from the src.conf man page: "WITHOUT_BIND Setting this variable will prevent any part of BIND from being built. When set, it also enforces the following options: WITHOUT_BIND_DNSSEC WITHOUT_BIND_ETC WITHOUT_BIND_LIBS_LWRES WITHOUT_BIND_MTREE WITHOUT_BIND_NAMED WITHOUT_BIND_UTILS" Thankyou for the web link for the DLZ driver however I had already seen it; my confusion is what is the difference between BIND built with the DLZ LDAP driver and BIND built with the 'sdb' (simplified database interface) option as specified in http://bind9-ldap.bayour.com/ and as built in the dns/bind97-sdb port? If these are two different ways for BIND to use LDAP, which one should I choose? Thanks. On 7 December 2011 20:04, Damien Fleuriot wrote: > On 12/7/11 8:15 PM, Kernel Panic wrote: >> Apologies if this is not the appropriate list but I can't seem to find >> one pertaining to the installation and configuration of BIND. I posted >> the following message on the FreeBSD forums a few weeks back but have >> had no replies, so I thought I'd try here on the lists: >> >> System: FreeBSD 8.2-RELEASE 64-bit >> >> Hello, I'm going to attempt to install the latest BIND port >> (dns/bind98) and have a couple of questions about the available >> install options: >> >> WITH_REPLACE_BASE=true >> >> Does this delete the base BIND version and if so would I need to edit >> src.conf to tell the compiler not to reinstall base BIND when I do a >> buildworld cycle? >> >> WITH_DLZ_LDAP=true >> >> Does this actually enable LDAP backend support or is it something >> else? The reason I ask is because there seems to be a separate port >> for BIND LDAP support but it's for an older version of BIND >> (dns/bind97-sdb) >> >> Thanks for any assistance. > > > Hi, > > > Regarding WITH_REPLACE_BASE, yes, this will make "make install" install > the files in place of the base system's ones, as opposed to in /usr/local/ . > > > If you do this, you will indeed want to add the following to your > /etc/make.conf : > NO_BIND= true > > > Regarding your LDAP question, I'm still at work and it's 9PM so I'm a > bit in a rush, but a quick google search turned up the following: > http://bind-dlz.sourceforge.net/ldap_driver.html > > > Regards, > ___ > 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" ___ 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: Problems with keyboard on the loader menu
>-Original Message- >From: owner-freebsd-questi...@freebsd.org [mailto:owner-freebsd- >questi...@freebsd.org] On Behalf Of Airton Arantes >Sent: Wednesday, December 07, 2011 5:46 PM >To: freebsd-questions@freebsd.org >Subject: Problems with keyboard on the loader menu > >I'm having troubles with my keyboard when the bootstrapping reach the >loader menu. My Keyboard simply doesn't works, but before and after the >loader menu my keyboard works very well. I have seen BIOS settings like USB >keyboard and nothing is helping. I didn't no one kernel tuning, I'm using >GENERIC. The Server is a HP Proliant DL120 G6. Does anyone here can help me? > >-- >Airton Arantes Coelho Filho > I have found that I have to do the following on some of our Proliant G5's - # cd / # echo "-P" > boot.conf Also, are you using the VGA or the serial console? We enable both (our serial consoles are connected to terminal servers for remote access and VGA is used for the physical access). Our keyboards are USB. This is with FreeBSD 8.0 AMD64 Patrick Patrick Mahan Lead Technical Kernel Engineer Adara Networks Disclaimer: The opinions expressed here are solely the responsibility of the author and are not to be construed as an official opinion of Adara Networks. ___ 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: CUPS and IPP/JD/LPD
>-Original Message- >From: Ryan Coleman [mailto:edi...@d3photography.com] >Sent: Thursday, December 08, 2011 9:24 AM >To: Patrick Mahan >Cc: FreeBSD Questions >Subject: Re: CUPS and IPP/JD/LPD > >Definitely Postscript. > With CUPS, I'm don't remember off the top of my head, but I believe there is a way to create a "text only" queue. You might want to setup a box with CUPS and use that to act as an "intermediary" for the iOS devices. Patrick Patrick Mahan Lead Technical Kernel Engineer Adara Networks Disclaimer: The opinions expressed here are solely the responsibility of the author and are not to be construed as an official opinion of Adara Networks. >On Dec 8, 2011, at 10:59 AM, Patrick Mahan wrote: > >>> -Original Message- >>> From: owner-freebsd-questi...@freebsd.org [mailto:owner-freebsd- >>> questi...@freebsd.org] On Behalf Of Ryan Coleman >>> Sent: Thursday, December 08, 2011 8:41 AM >>> To: FreeBSD Questions >>> Subject: CUPS and IPP/JD/LPD >>> >>> I have a printer that doesn't support IPP. The leasing agency wants to >>> charge me $1400 to "install" the Postcript driver on it but I'm looking >at >>> another solution, if possible: CUPS. >>> >>> I have a MacBook and we have a number of iOS devices around the office >here >>> that people would love to be able to print from... but AirPrint requires >an >>> IPP-compatible printer. >>> >>> Is there a way to convert or translate IPP to either LPD or JetDirect? >>> >>> -- >>> Ryan >>> >> >> Ryan, >> >> I use JetDirect with my Apple devices. I print to a HP OfficeJet 7310 >all-in-one >> with no problems. >> >> I had and older HP Color inkjet (930?) that was hooked up for a while to a >Fedora >> Core box that was using LPD that worked as well. >> >> Patrick >> >> Patrick Mahan >> Lead Technical Kernel Engineer >> Adara Networks >> Disclaimer: The opinions expressed here are solely the responsibility of >the author and are not to be >> construed as an official opinion of Adara Networks. >> ___ >> 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" ___ 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: CUPS and IPP/JD/LPD
Em Qui, 2011-12-08 às 10:40 -0600, Ryan Coleman escreveu: > I have a printer that doesn't support IPP. The leasing agency wants to charge > me $1400 to "install" the Postcript driver on it but I'm looking at another > solution, if possible: CUPS. > > I have a MacBook and we have a number of iOS devices around the office here > that people would love to be able to print from… but AirPrint requires an > IPP-compatible printer. > > Is there a way to convert or translate IPP to either LPD or JetDirect? > > -- > Ryan > I used to install a freebsd machine in the network than install cups, and install a PPD file for that printer (in the attach) configure & run cups. pint *PPD-Adobe: "4.3" *% *% For information on using this, and to obtain the required backend *% script, consult http://www.openprinting.org/ *% *% This file is published under the GNU General Public License *% *% PPD-O-MATIC (4.0.0 or newer) generated this PPD file. It is for use with *% all programs and environments which use PPD files for dealing with *% printer capability information. The printer must be configured with the *% "foomatic-rip" backend filter script of Foomatic 4.0.0 or newer. This *% file and "foomatic-rip" work together to support PPD-controlled printer *% driver option access with all supported printer drivers and printing *% spoolers. *% *% To save this file on your disk, wait until the download has completed *% (the animation of the browser logo must stop) and then use the *% "Save as..." command in the "File" menu of your browser or in the *% pop-up manu when you click on this document with the right mouse button. *% DO NOT cut and paste this file into an editor with your mouse. This can *% introduce additional line breaks which lead to unexpected results. *% *% You may save this file as 'Generic-PCL_6_PCL_XL_Printer-pxlcolor.ppd' *% *% *FormatVersion: "4.3" *FileVersion: "1.1" *LanguageVersion: English *LanguageEncoding: ISOLatin1 *PCFileName:"PXLCOLOR.PPD" *Manufacturer: "Generic" *Product: "(PCL 6/PCL XL Printer)" *cupsVersion: 1.0 *cupsManualCopies: True *cupsModelNumber: 2 *cupsFilter:"application/vnd.cups-postscript 100 foomatic-rip" *cupsFilter:"application/vnd.cups-pdf 0 foomatic-rip" *%pprRIP:foomatic-rip other *ModelName: "Generic PCL 6/PCL XL Printer" *ShortNickName: "Gener. PCL 6/PCL XL P. pxlcolor" *NickName: "Generic PCL 6/PCL XL Printer Foomatic/pxlcolor (recommended)" *PSVersion: "(3010.000) 550" *PSVersion: "(3010.000) 651" *PSVersion: "(3010.000) 652" *PSVersion: "(3010.000) 653" *PSVersion: "(3010.000) 704" *PSVersion: "(3010.000) 705" *PSVersion: "(3010.000) 800" *PSVersion: "(3010.000) 815" *PSVersion: "(3010.000) 850" *PSVersion: "(3010.000) 860" *PSVersion: "(3010.000) 861" *PSVersion: "(3010.000) 862" *PSVersion: "(3010.000) 863" *PSVersion: "(3010.000) 864" *PSVersion: "(3010.000) 870" *LanguageLevel: "3" *ColorDevice: True *DefaultColorSpace: RGB *FileSystem:False *Throughput:"1" *LandscapeOrientation: Plus90 *TTRasterizer: Type42 *1284DeviceID: "DRV:Dpxlcolor,R1,M0,F1,P0,TG;" *driverName pxlcolor: "" *driverType G/Ghostscript built-in: "" *driverUrl: "http://www.ghostscript.com/"; *driverObsolete: False *driverManufacturerSupplied: False *driverFreeSoftware: True *DefaultResolution: 1200dpi *HWMargins: 18 36 18 36 *VariablePaperSize: True *MaxMediaWidth: 10 *MaxMediaHeight: 10 *NonUIOrderDependency: 100 AnySetup *CustomPageSize *CustomPageSize True: "pop pop pop pop pop %% FoomaticRIPOptionSetting: PageSize=Custom" *End *FoomaticRIPOptionSetting PageSize=Custom: " -dDEVICEWIDTHPOINTS=0 -dD&& EVICEHEIGHTPOINTS=0" *End *ParamCustomPageSize Width: 1 points 36 10 *ParamCustomPageSize Height: 2 points 36 10 *ParamCustomPageSize Orientation: 3 int 0 0 *ParamCustomPageSize WidthOffset: 4 points 0 0 *ParamCustomPageSize HeightOffset: 5 points 0 0 *FoomaticIDs: Generic-PCL_6_PCL_XL_Printer pxlcolor *FoomaticRIPCommandLine: "gs -q -dBATCH -dPARANOIDSAFER -dNOPAUSE -dNO&& INTERPOLATE%B%A%Z -sOutputFile=- -" *End *OpenGroup: General/General *OpenUI *PrintoutMode/Print Quality: PickOne *FoomaticRIPOption PrintoutMode: enum Composite A *OrderDependency: 10 AnySetup *PrintoutMode *DefaultPrintoutMode: Normal.Gray *PrintoutMode Draft/Draft: "%% FoomaticRIPOptionSetting: PrintoutMode=Draft" *FoomaticRIPOptionSetting PrintoutMode=Draft: "PrinterResolution=600x6&& 00dpi ColorModel=Color" *End *PrintoutMode Draft.Gray/Draft Grayscale: "%% FoomaticRIPOptionSetting: PrintoutMode=Draft.Gray" *FoomaticRIPOptionSetting PrintoutMode=Draft.Gray: "PrinterResolution=&& 600x600dpi ColorModel=Grayscale" *End *PrintoutMode Normal/Normal: "%% FoomaticRIPOptionSetting: PrintoutMode=Normal" *FoomaticRIPOptionSetting PrintoutMode=Normal: "PrinterResolution=600x&& 600dpi ColorModel=Color" *End *PrintoutMode Normal.Gray/Normal Grayscale: "%% FoomaticRIPOptionSetting: PrintoutMode=Norma
Re: Nuxeo install in FreeBSD
On Tue, 06 Dec 2011 20:50:06 +0100, Peter Ulrich Kruppa wrote: Hello Bruno, On 05.12.2011 21:47, Bruno Gruel wrote: Hello, I just want to know if someone already try to install NUXEO on a FreeBSD. I try some month later without sucess. I will try to install it on FreeBSD82 to day. For the fun of it I just tried the nuxeo-dm-5.4.2-tomcat package on my FreeBSD 9.0-RC1 (which in this case shouldn't make a difference to your 8.2) with jdk-1.6.0_03-p4. I unzipped the thing in /usr/local and tried to execute the ./bin/nuxeoctl start command, which failed. Having a look at the first line of this file I found #!/bin/bash But my bash is installed in # which bash /usr/local/bin/bash So I changed the first line of nuxeoctl into #!/usr/local/bin/bash and now I can start and run Nuxeo. I hope that helps Peter. Hello, Sorry for the delay i can't do the test before. So i installed a 32 bits FreeBSD 82. Install JDK16 (who take a long time to compil) Install LibreOffice Install PDFtoHML Install postgresql unzip nuxeo-dm-5.4.2-tomcat in /usr/local Configure nuxeo via the web interface NB: after the configuration nuxeo may do a self reload but it's never do it so after 10mins (have you got the same behavior ) i restart the nuxeo server When i do a ./nuxeoctl start i got this Nuxeo# ./nuxeoctl start Launcher command: /usr/local/bin/javavm -Dlauncher.java.opts=-server -Xms512m -Xmx1024m -XX:MaxPermSize=512m -Dsun.rmi.dgc.client.gcInterval=360 -Dsun.rmi.dgc.server.gcInterval=360 -Dfile.encoding=UTF-8 -Djava.net.preferIPv4Stack=true -Djava.awt.headless=true -Dnuxeo.home=/usr/local/nuxeo-dm-5.4.2-tomcat -Dnuxeo.conf=/usr/local/nuxeo-dm-5.4.2-tomcat/bin/nuxeo.conf -Dnuxeo.log.dir=/usr/local/nuxeo-dm-5.4.2-tomcat/log -jar /usr/local/nuxeo-dm-5.4.2-tomcat/bin/nuxeo-launcher.jar start javavm: warning: The use of 'javavm' as a synonym for 'java' is deprecated Nuxeo home: /usr/local/nuxeo-dm-5.4.2-tomcat Nuxeo configuration: /usr/local/nuxeo-dm-5.4.2-tomcat/bin/nuxeo.conf Include template: /usr/local/nuxeo-dm-5.4.2-tomcat/templates/common Include template: /usr/local/nuxeo-dm-5.4.2-tomcat/templates/default Include template: /usr/local/nuxeo-dm-5.4.2-tomcat/templates/postgresql Detected Tomcat server. Configuration files generation (nuxeo.force.generation=true)... Configuration files generated. Sent server start command but could not get process ID. == = Nuxeo EP Started == = Component Loading Status: Pending: 0 / Unstarted: 0 / Total: 453 == Started in 0min28s When i try to connect myself to ip:8080 i got this tomcat error: HTTP Status 404 - type Status report message description The requested resource () is not available. Apache Tomcat/6.0.20 So what is my mistake ?? did you do something else ?? Thank's. Bruno -- Sallanches Data Network (SDN) Pour l'Internet des internautes ___ 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 <4ee03877.643serzmrkxlotg4%per...@pluto.rain.com>, you wrote: >"Ronald F. Guilmette" wrote: > >> At least this gives me confidence that it can be done. I am still >> somewhat at a loss to know exactly _how_ it can be done however. > >For me, it "just works". I installed 8.1-RELEASE (not all that >long after it was released), installed FF and some other ports >(using packages), and haven't done anything that I remember to >"get FF to work". > >However, as Chris Hill pointed out, I am only seeing the still >image. I don't even see the link for a video stream. Some but not all of the different hiway cams have live video streams, and you can tell which ones just by clicking on the various camera icons. The ones with live video streams provide a link for the live viedo at the top of the little box that pops up when you click on the little camera icon for that particular camera. The ones nead Sacramento, and on up 80 and 50 into the Sierras generally seem to have the video links, but a lot of the others don't seem to have that. Anyway, I'm running 8.2-RELEASE, and I'm still not shure why the video doesn't work for me. Bad luck I guess. Somewhere there is an evil bitGod who doesn't like me. :-) ___ 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"
[Fwd: FreeBSD 9.0-RC3 Available...]
Original Message Subject: FreeBSD 9.0-RC3 Available... Date: Thu, 08 Dec 2011 20:57:18 -0500 From: Ken Smith Organization: U. Buffalo To: freebsd-curr...@freebsd.org, freebsd-stable The third and what should be final Release Candidate build for the 9.0-RELEASE release cycle is now available. Since this is the beginning of a brand new branch (stable/9) I cross-post the announcements to both -current and -stable. But just so you know most of the developers active in head and stable/9 pay more attention to the -current mailing list. If you notice problems you can report them through the normal Gnats PR system or on the -current mailing list. This should be the last of the test builds. We hope to begin the final release builds in about a week. The 9.0-RELEASE cycle will be tracked here: http://wiki.freebsd.org/Releng/9.0TODO The location of the FTP install tree and ISOs is the same as it has been for BETA2/BETA3/RC1/RC2. The layout to a large degree is being dictated by the new build infrastructure and installer. But it's not particularly well suited to humans so I've added a shorter pathway to the ISOs. Unless there are lots of complaints about the layout we'll stick with this for the release. ISO images for amd64, i386, ia64, powerpc, powerpc64, and sparc64 are available here: ftp://ftp.freebsd.org/pub/FreeBSD/releases/ISO-IMAGES/9.0/ That directory is a set of symbolic links to the ISO images for all of the supported architectures, and checksum files (for example there is a symlink named CHECKSUM.MD5-amd64 that points to the CHECKSUM.MD5 file for the amd64 architecture). MD5/SHA256 checksums are tacked on below. If you would like to use csup/cvsup mechanisms to access the source tree the branch tag to use is now "RELENG_9_0", if you use "." (head) you will get 10-CURRENT. If you would like to access the source tree via SVN it is "svn://svn.freebsd.org/base/releng/9.0/". We still have the nit that the creation of a new SVN branch winds up causing what looks like a check-in of the entire tree in CVS (a side-effect of the svn2cvs exporter) so "mergemaster -F" is your friend if you are using csup/cvsup. FreeBSD Update -- The freebsd-update(8) utility supports binary upgrades of i386 and amd64 systems running earlier FreeBSD releases. Systems running 7.[34]-RELEASE, 8.[12]-RELEASE, 9.0-BETA[123], or 9.0-RC[1,2] can upgrade as follows: First, a minor change must be made to the freebsd-update code in order for it to accept file names appearing in FreeBSD 9.0 which contain the '%' and '@' characters; without this change, freebsd-update will error out with the message "The update metadata is correctly signed, but failed an integrity check". # sed -i '' -e 's/=_/=%@_/' /usr/sbin/freebsd-update Now freebsd-update can fetch bits belonging to 9.0-RC3. During this process freebsd-update will ask for help in merging configuration files. # freebsd-update upgrade -r 9.0-RC3 Due to changes in the way that FreeBSD is packaged on the release media, two complications may arise in this process if upgrading from FreeBSD 7.x or 8.x: 1. The FreeBSD kernel, which previously could appear in either /boot/kernel or /boot/GENERIC, now only appears as /boot/kernel. As a result, any kernel appearing in /boot/GENERIC will be deleted. Please carefully read the output printed by freebsd-update and confirm that an updated kernel will be placed into /boot/kernel before proceeding beyond this point. 2. The FreeBSD source tree in /usr/src (if present) will be deleted. (Normally freebsd-update will update a source tree, but in this case the changes in release packaging result in freebsd-update not recognizing that the source tree from the old release and the source tree from the new release correspond to the same part of FreeBSD.) # freebsd-update install The system must now be rebooted with the newly installed kernel before the non-kernel components are updated. # shutdown -r now After rebooting, freebsd-update needs to be run again to install the new userland components: # freebsd-update install At this point, users of systems being upgraded from FreeBSD 8.2-RELEASE or earlier will be prompted by freebsd-update to rebuild all third-party applications (e.g., ports installed from the ports tree) due to updates in system libraries. After updating installed third-party applications (and again, only if freebsd-update printed a message indicating that this was necessary), run freebsd-update again so that it can delete the old (no longer used) system libraries: # freebsd-update install Finally, reboot into 9.0-RC3: Checksums: MD5 (FreeBSD-9.0-RC3-amd64-bootonly.iso) = 53f2bc5a3d18124769bfb066e921559a MD5 (FreeBSD-9.0-RC3-amd64-disc1.iso) = b88eca54341523713712b184c6a7fc9a MD5 (FreeBSD-9.0-RC3-amd64-memstick.img) = a9b58348736d4a7a179941e818d33986 MD5 (FreeBSD-9.0-RC3-i386-bootonly.iso) = 86f0410ffb1c55fcb8faf33814e6e95b MD5 (FreeBSD-9.0-RC3-i386-disc1.iso)
Re: restore(8) to UFS on USB key: terrible slow
El día Thursday, December 08, 2011 a las 09:57:13AM -0600, Dan Nelson escribió: > Cheap USB thumb drives aren't really optimized for small random-I/O writes. > Can you try mounting the filesystem async? that might help a little. A > workaround would be to use mdconfig to create a block device (backed by > either swap or a file on your hard drive) the same size as your flash drive, > newfs and restore to that, then umount the filesystem and dd the raw image > directly to your flash drive. Hello Dan, Thanks for your hints. I tend to add that those USB thum drives aren't good for anything. I have a certain number of them containing each a complete bootable FreeBSD (including 'src', 'obj' and binary packages) to install my laptops and netbooks from them; after some time these USB keys tend to loose data: files are corrupt a bit, dirs are missing and so on; that's why I wanted to make dump(8) nackups of them, to restore them from time to time; I will drop the idea and will just make dd(1) backups of the full /dev/da0; thanks matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.unixarea.de/ UNIX since V7 on PDP-11 | UNIX on mainframe since ESER 1055 (IBM /370) UNIX on x86 since SVR4.2 UnixWare 2.1.2 | FreeBSD since 2.2.5 ___ 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: Which Lenovo Laptop?
Hi, I am typing this message on a W520 running 9.0 stable, which should be similar enough to the T520. - MBR boot works fine, but GPT seems to be impossible (Lenovo appears to have messed up again). - The NVidia driver is working almost perfectly once you enforce it in BIOS, but occasionally (3 times in last 2.5 months) the screen starts displaying a strange block pattern after some time and renders the display unusable until I restart X (logging in via SSH works, as does the power button == ACPI shutdown). Haven't been able track the cause down yet. - Suspend seems to be unreliable, so I stopped trying (back on BETA2). - acpi_ibm.ko works once you patch sys/dev/acpi_support/acpi_ibm.c, line 338, and replace "IBM0068" with "LEN0068", which makes most of the multimedia keys usable. - Wireless is working (iwn), but I'm not using it that frequently so YMMV. - I cannot comment on bluetooth, camera or SD card reader, since I never use those. But there is one annoying problem I did not manage to fix yet: The screen brightness control does not work at all, i.e. it's always at maximum (hw.acpi.video sysctls seem to have no effect). All in all, this laptop is a nice desktop replacement, just don't expect the battery to last too long. Best regards ___ 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"