Re: ISO image size -regarding
On Fri, Jan 08, 2010 at 04:41:24PM -0800, Knight Tiger wrote: Hi, I am trying to create a custom ISO image of FreeBSD 6.4. The only difference between the release ISO and this custom image is a modified driver (amdsmb.ko). I did not create the new driver. I believe it was backported from a later release. I understand that this is not a backport of the driver but a hack but the ISO size surprises me. The steps I had followed (listed below) resulted in an ISO image of around 1 GB while the original ISO image is around 600 MB. The new image work boots fine but I am not sure why it is huge The port sysutils/isomaster can edit ISO images, and add and delete files. Give it a try. Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) pgpKTZ2kZNDnC.pgp Description: PGP signature
Re: port-MESS with apache22
PJ wrote: Upgraded to 8.0 without problem. Reinstalling ports was tedious... but NP for most part. Sommehow the installation of apache22 stumbled over some configuration issues, I think I found that apache was running ok, except... php5 module was not correctly installed... mod_php5 isn't built by default when you install php5. This catches out a very large number of people, and it is particularly astonishing as integrating php into apache is probably the number one reason for installing php. Sounds like you may need to do this: # cd /usr/ports/lang/php5 # make config [ Make sure the option for 'Build Apache Module' is checked ] # portupgrade -f lang/php5 -or- # portmaster --force-config -f lang/php5 It might also be necessary to rebuild all of the php5 modules -- plus any pecl- modules. At the cost of reinstalling pear- modules and PHP apps (which should be fairly cheap, as the port installation process for that sort of port consists almost entirely of copying files into place) you can just do this: # portupgrade -fr lang/php5 -or- # portmaster -fr lang/php5 Also double check httpd.conf once PHP5 is installed with mod_php5 -- the port will automatically add a line to ${PREFIX}/etc/apache22/httpd.conf to cause apache to load the module, which should look like this: LoadModule php5_modulelibexec/apache22/libphp5.so As I recall, PHP5 creates that line as shown, which should work straight away, but some modules add a commented out LoadModule line, so it would be a good idea to eliminate that as a potential problem. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW signature.asc Description: OpenPGP digital signature
Re: mySQL 5.4 server Post installation SNAFUs
jaymax wrote: Post installation SNAFUS [i] support-files/mysql.server are apparently in /usr/local/share/mysql am I correct, all of them? Yes, except that mysql-server is the rc.subr(8) script to start up mysql on boot, and that is to be found in /usr/local/etc/rc.d/mysql-server [ii] mysql_secure_installation is not found in this installation, it is in v. 5.5 however. It's part of a different port. You need to install databases/mysql54-scripts The same applies to mysql55 actually -- you must have somehow already installed databases/mysql55-scripts in that case. [iii] Start restricted to /usr/local/bin/mysqld_safe apparently since mysql_secure_installation is not available [iv] /usr/local/bin/mysqladmin -u root password == ax# /usr/local/bin/mysqladmin -u root password '' /usr/local/bin/mysqladmin: connect to server at 'localhost' failed error: 'Access denied for user 'root'@'localhost' (using password: NO)' ax# /usr/local/bin/mysqladmin -u root -h ax.lall.com password /usr/local/bin/mysqladmin: connect to server at 'ax.lall.com' failed error: 'Access denied for user 'root'@'ax.lall.com' (using password: NO)' HOW can I setup root password ? If you're currently logged into ax.lall.com, then you definitely want to use '-h localhost' (or nothing, as that's the default). If there is already a root password, obviously you need to give it. Conversely, if you've got a password set in /root/.my.cnf or some other my.cnf file but this is a brand new mysql install with no root password yet, then you need to temporarily move that file aside: mysql doesn't let you in if you try and supply a password for a no-password account. I advise using mysql_secure_installation -- but you're still going to have to move aside any pre-existing .my.cnf files. Also, as a general security thing, preferably don't allow root logins to mysql from anywhere other than localhost. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW signature.asc Description: OpenPGP digital signature
chroot a few apps
Hi. What kind of chroot should I use, if I want to make a more secured desktop, running e.g.: pdf reader webbrowser audio player video player openoffice picture viewer mua ooo virtualbox e.g.: if theres a javascript vulnerability in google chrome [I haven't heard a NoScript extension for it :( ] a chroot would be good for stopping it from doing something bad with the whole system. or e.g.: I have to open a .doc file, that I don't trust, or a PDF can contain malicious code :( Any tips/docs/howtos? Thank you! ___ 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 8.0 STABLE sata regression
Hello, My servers are alright with FreeBSD 8.0-RELEASE, but not with -STABLE. FreeBSD NOC.WEArab.Net 8.0-STABLE FreeBSD 8.0-STABLE #0: Fri Jan 8 18:26:13 UTC 2010 ad...@localhost.localdomain:/usr/obj/usr/src/sys/GENERIC amd64 atapci0: Intel ICH7 SATA300 controller port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x20a0-0x20af mem 0x9020-0x902003ff irq 19 at device 31.2 on pci0 ata0: ATA channel 0 on atapci0 ata0: [ITHREAD] ata1: ATA channel 1 on atapci0 ata1: [ITHREAD] when I upgraded to FreeBSD 8.0-STABLE it got many issues. ad2: 381554MB WDC WD4000KD-00NAB0 01.06A01 at ata1-master UDMA100 ^^^ Here is another box. FreeBSD VB.WeArab.Net 8.0-STABLE FreeBSD 8.0-STABLE #0: Fri Jan 8 17:40:17 UTC 2010 arab...@vb.wearab.net:/usr/obj/usr/src/sys/VB amd64 atapci0: Intel ICH7 SATA300 controller port 0xd060-0xd067,0xd050-0xd053,0xd040-0xd047,0xd030-0xd033,0xd020-0xd02f irq 17 at device 31.2 on pci0 atapci0: [ITHREAD] ata2: ATA channel 0 on atapci0 ata2: [ITHREAD] ata3: ATA channel 1 on atapci0 ata3: [ITHREAD] ad4: 238475MB WDC WD2500KS-00MJB0 02.01C03 at ata2-master UDMA100 ad6: 715404MB WDC WD7500AAKS-00RBA0 30.04G30 at ata3-master UDMA100 SMP: AP CPU #1 Launched! GEOM: ad4s1: geometry does not match label (255h,63s != 16h,63s). GEOM: ad6s1: geometry does not match label (255h,63s != 16h,63s). GEOM: ufsid/47547b65269ba92c: geometry does not match label (255h,63s != 16h,63s). Trying to mount root from ufs:/dev/ad4s1a GEOM: ufsid/47547b65269ba92c: geometry does not match label (255h,63s != 16h,63s). Regards, -Abdullah Ibn Hamad Al-Marri Arab Portal http://www.WeArab.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: FreeBSD ipv6 rc.conf settings issue
Gary Kline wrote: This caught my interest this morning so I set up a commented-out trial in /etc/rc.d for my ipv6 entry; the one I had in my database /etc/namedb/* files blew my connection sky-high recently. Does this seem plausible: # ## ipv6 config # # ipv6_enable=YES # ipv6_defaultrouter=2002:d1b4:d5d2:: # ipv6_default_interface=em0 # ipv6_gateway_enable=YES given that my Adress record is 209.180.213.210 ? tia, gents, So you're using 6to4 tunnelling as described in stf(4)? That's a quite different setup to what has been discussed previously in this thread. I think 6to4 is, if not deprecated, certainly not the normal way of getting IPv6 connectivity nowadays. Generally you'ld get an address space allocation from your ISP, or failing that, a tunnel broker like Hurricane Electric[*]. Anyhow, as stf(4) says, you need to encode your IPv4 address as hex in the 6to4 address -- that looks correct: % perl -e 'map { printf %x\n, $_ } split( /\./, shift );' 209.180.213.210 d1 b4 d5 d2 However 2002:d1b4:d5d2:: is *your* network address, and having it as the default router sounds wrong to me. You need to assign addresses from that range to your hosts -- which you can do automatically by enabling rtadvd(8) on your gateway machine and rtsold(8) on your clients. Also, to use 6to4 you need to create a 'stf0' interface and make that the ipv6_default_interface. This is all independent of setting up IPv6 related items in your DNS. Get the IPv6 connectivity working first -- use ping6 and traceroute6 with IPv6 numbers to confirm connectivity, and then worry about DNS settings. Cheers, Matthew [*] Which is pretty crazy given that the prediction is IPv4 space is going to run out around 2012[+]. All of the major ISPs and NSPs really should be providing IPv6 natively by now. [+] Potential for another IT-feeding-frenzy-panic scenario like the run up to Y2K. Make sure IPv6 is on your CV... -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW signature.asc Description: OpenPGP digital signature
Question and support
Hello there how do i install freebsd to my dedicated server is freebsd a easy to use platform I am new to Linux so i am ___ 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: Question and support
On Sat, 9 Jan 2010 11:07:06 +, davidowe...@yahoo.co.uk wrote: Hello there how do i install freebsd to my dedicated server I may politely point you at FreeBSD's excellent online documentation, the handbook and the FAQ, which you'll find here: http://www.freebsd.org/doc/en/books/handbook/ http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/index.html The handbook's chapter 2, Installing FreeBSD, will contain what you need to know: http://www.freebsd.org/doc/en/books/handbook/install.html is freebsd a easy to use platform Definitely YES. This is mainly because of the reason that is, as opposite to many other operating systems, very well documented, and structured well-intendedly itself. You won't have serious problems understanding how things work. -- 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
Inserting PC card NIC, system stops
Hello. I have a problem with a PC card Ethernet interface. When I insert the PC card to my laptop, the system hungs and makes no response. When I eject the card, the system starts again and works fine. (working - insert the card stopping - eject the card working) Of course, I cannot use this card for network interface. (ifconfig command does not show this interface.) Are there some workarounds to work this card correctly? Regards. PC Card Corega CG-LAPCCTXD $ uname -a FreeBSD musca.localdomain 8.0-RELEASE-p2 FreeBSD 8.0-RELEASE-p2 #0 r201741: Fri Jan 8 01:01:18 JST 2010 r...@aries.localdomain:/usr/obj/usr/src/sys/GENERIC i386 insert PC card and eject it $ tail /var/log/messages Jan 9 21:29:12 musca kernel: cbb1: ready never happened, status = 00 Jan 9 21:29:12 musca kernel: ed0: corega K.K. (CG-LAPCCTXD) at port 0x100-0x11f irq 11 function 0 config 32 on pccard1 Jan 9 21:29:12 musca kernel: Novell probe generic 6 Jan 9 21:29:12 musca kernel: device_attach: ed0 attach returned 6 $ dmesg Copyright (c) 1992-2009 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 8.0-RELEASE-p2 #0 r201741: Fri Jan 8 01:01:18 JST 2010 r...@aries.localdomain:/usr/obj/usr/src/sys/GENERIC Timecounter i8254 frequency 1193182 Hz quality 0 CPU: Mobile AMD Duron(tm) Processor (847.43-MHz 686-class CPU) Origin = AuthenticAMD Id = 0x670 Stepping = 0 Features=0x383f9ffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE AMD Features=0xc0440800SYSCALL,b18,MMX+,3DNow!+,3DNow! real memory = 134217728 (128 MB) avail memory = 17936 (95 MB) kbd1 at kbdmux0 acpi0: INSYDE RSDT_000 on motherboard acpi0: [ITHREAD] acpi0: Power Button (fixed) Timecounter ACPI-fast frequency 3579545 Hz quality 1000 acpi_timer0: 24-bit timer at 3.579545MHz port 0x1008-0x100b on acpi0 acpi_ec0: Embedded Controller: GPE 0x5 port 0x62,0x66 on acpi0 acpi_button0: Sleep Button on acpi0 acpi_lid0: Control Method Lid Switch on acpi0 acpi_acad0: AC Adapter on acpi0 battery0: ACPI Control Method Battery on acpi0 pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0 pci_link2: BIOS IRQ 11 for 0.11.INTA is invalid pci0: ACPI PCI bus on pcib0 agp0: VIA 82C8363 (Apollo KT133x/KM133) host to PCI bridge on hostb0 agp0: aperture size is 256M pcib1: ACPI PCI-PCI bridge at device 1.0 on pci0 pci1: ACPI PCI bus on pcib1 vgapci0: VGA-compatible display mem 0xe000-0xe007,0x9000-0x97ff irq 10 at device 0.0 on pci1 cbb0: TI1420 PCI-CardBus Bridge at device 8.0 on pci0 cardbus0: CardBus bus on cbb0 pccard0: 16-bit PCCard bus on cbb0 cbb0: [FILTER] cbb1: TI1420 PCI-CardBus Bridge at device 8.1 on pci0 cardbus1: CardBus bus on cbb1 pccard1: 16-bit PCCard bus on cbb1 cbb1: [FILTER] fwohci0: NEC uPD72871/2 mem 0xf0001000-0xf0001fff irq 5 at device 11.0 on pci0 fwohci0: [ITHREAD] fwohci0: OHCI version 1.0 (ROM=1) fwohci0: No. of Isochronous channels is 4. fwohci0: EUI64 00:40:d0:01:00:01:be:36 fwohci0: Phy 1394a available S400, 2 ports. fwohci0: Link S400, max_rec 1024 bytes. fwohci0: max_rec 1024 - 2048 firewire0: IEEE1394(FireWire) bus on fwohci0 dcons_crom0: dcons configuration ROM on firewire0 dcons_crom0: bus_addr 0x10a4000 fwe0: Ethernet over FireWire on firewire0 if_fwe0: Fake Ethernet address: 02:40:d0:01:be:36 fwe0: Ethernet address: 02:40:d0:01:be:36 fwip0: IP over FireWire on firewire0 fwip0: Firewire address: 00:40:d0:01:00:01:be:36 @ 0xfffe, S400, maxrec 2048 fwohci0: Initiate bus reset fwohci0: fwohci_intr_core: BUS reset fwohci0: fwohci_intr_core: node_id=0x, SelfID Count=1, CYCLEMASTER mode isab0: PCI-ISA bridge at device 17.0 on pci0 isa0: ISA bus on isab0 atapci0: VIA 8231 UDMA100 controller port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x1100-0x110f at device 17.1 on pci0 atapci0: Correcting VIA config for southbridge data corruption bug ata0: ATA channel 0 on atapci0 ata0: [ITHREAD] ata1: ATA channel 1 on atapci0 ata1: [ITHREAD] uhci0: VIA 83C572 USB controller port 0x1200-0x121f irq 10 at device 17.2 on pci0 uhci0: [ITHREAD] uhci0: LegSup = 0x8030 usbus0: VIA 83C572 USB controller on uhci0 uhci1: VIA 83C572 USB controller port 0x1300-0x131f irq 10 at device 17.3 on pci0 uhci1: [ITHREAD] uhci1: LegSup = 0xa030 usbus1: VIA 83C572 USB controller on uhci1 pci0: bridge at device 17.4 (no driver attached) pci0: multimedia, audio at device 17.5 (no driver attached) pci0: simple comms at device 17.6 (no driver attached) vr0: VIA VT6102 Rhine II 10/100BaseTX port 0xe800-0xe8ff mem 0xf000-0xf0ff irq 10 at device 18.0 on pci0 vr0: Quirks: 0x0 vr0: Revision: 0x51 miibus0: MII bus on vr0 smcphy0: SMSC LAN83C183 10/100 media interface PHY 1 on miibus0 smcphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto vr0: Ethernet address: 00:40:d0:1d:3d:83 vr0: [ITHREAD] atkbdc0: Keyboard controller (i8042) port
Re: Upgrading Standing Systems from 6.3 to 8.0
Robert Huff writes: Is it possible to have someone swap the hard disks of those machines? Because not only are you going to have to upgrade the OS twice, you're going to have to re-install all the ports. (OK, you may not _have_ to reinstall - compatibility libraries exist - but it is clearly the path of greatest reliability.) It's just as easy to start with a clean installation, which has other benefits as well. Absolutely true. I pushed for hot-swappable drives back when we ordered these systems which are Dell 2950's, but I didn't get anywhere at all with that campaign. The 2950's have been no trouble to speak of but it makes times like this so much more risky. Martin McCormick ___ 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: Upgrading Standing Systems from 6.3 to 8.0
Martin McCormick writes: Robert Huff writes: Is it possible to have someone swap the hard disks of those machines? I pushed for hot-swappable drives back when we ordered these systems which are Dell 2950's, but I didn't get anywhere at all with that campaign. Hot swap would be great, but I was referring to regular swap: human being with a screwdriver and a clue. Reliable outside contractor, if you absolutely can't send someone in-house. Robert Huff ___ 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: ISO image size -regarding
In freebsd-questions Digest, Vol 292, Issue 14, Message: 12 On Fri, 8 Jan 2010 16:41:24 -0800 Knight Tiger cau...@gmail.com wrote: Hi, I am trying to create a custom ISO image of FreeBSD 6.4. The only difference between the release ISO and this custom image is a modified driver (amdsmb.ko). I did not create the new driver. I believe it was backported from a later release. I understand that this is not a backport of the driver but a hack but the ISO size surprises me. The steps I had followed (listed below) resulted in an ISO image of around 1 GB while the original ISO image is around 600 MB. The new image work boots fine but I am not sure why it is huge Steps: // mount the release ISO # mdconfig -a -t vnode -f 6.4-RELEASE-i386-disc1.iso -u 0 # mount_cd9660 /dev/acd0 /mnt # pwd /usr/home/scott # mkdir custom # cd custom // copy iso files to custom # rsync -a /mnt . Hi Scott, nearly all in /rescue are hardlinks to one big executable, and there are also hardlinks in /bin and /sbin, hence your size difference. rsync(1): Note that -a does not preserve hardlinks, because finding multi- ply-linked files is expensive. You must separately specify -H. Note also that for compatibility, -a currently does not include --flags (see there) to include preserving change file flags (if supported by the OS). # scp sc...@remote:/boot/kernel/amdsmb.ko boot/kernel/. // wrap up in a ISO # cd .. #mkisofs -R -b boot/cdboot -no-emul-boot -o custom.iso custom The ISO file is created successfully but is huge. I mounted it in VirtualBox and boots just fine. I was able to install the OS (although I have not checked the functionality of amdsmb changes yet) I looked up information on creating custom ISO images but they had all involved rebuilding the kernel while I am not sure if I need to do the same Any leads is appreciated. Yes, running make release might be just a tad over the top for this :) cheers, Ian ___ 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: mySQL 5.4 server Post installation SNAFUs
OK Thanks again, still having problems with setting the root password. There is no my.cnf file Matthew Seaman-2 wrote: jaymax wrote: Post installation SNAFUS [iv] /usr/local/bin/mysqladmin -u root password == ax# /usr/local/bin/mysqladmin -u root password '' /usr/local/bin/mysqladmin: connect to server at 'localhost' failed error: 'Access denied for user 'root'@'localhost' (using password: NO)' ax# /usr/local/bin/mysqladmin -u root -h ax.lall.com password /usr/local/bin/mysqladmin: connect to server at 'ax.lall.com' failed error: 'Access denied for user 'root'@'ax.lall.com' (using password: NO)' HOW can I setup root password ? If you're currently logged into ax.lall.com, then you definitely want to use '-h localhost' (or nothing, as that's the default). If there is already a root password, obviously you need to give it. Conversely, if you've got a password set in /root/.my.cnf or some other my.cnf file but this is a brand new mysql install with no root password yet, then you need to temporarily move that file aside: mysql doesn't let you in if you try and supply a password for a no-password account. I advise using mysql_secure_installation -- but you're still going to have to move aside any pre-existing .my.cnf files. Also, as a general security thing, preferably don't allow root logins to mysql from anywhere other than localhost. There was a v 6.2 install attempt but had to be rolled back. All files were removed 'hopefully'. Version 5.5 was downloaded to a src directory but not installed. A find -f /* -name 'my.cnf' -print search found nothing except copies in the src directory of v 5.5 and those in the ports. When the server is started with /usr/local/bin/mysqld_safe I get the same responses as above re: setting the root password attempt /usr/local/bin/mysqladmin -u root -h localhost password /usr/local/bin/mysqladmin: connect to server at 'localhost' failed error: 'Access denied for user 'root'@'localhost' (using password: NO)' When I attempt with a /usr/local/bin/mysql_secure_installation start (after killing the mysql safe start) I get the following == In order to log into MySQL to secure it, we'll need the current password for the root user. If you've just installed MySQL, and you haven't set the root password yet, the password will be blank, so you should just press enter here. Enter current password for root (enter for none): ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) Enter current password for root (enter for none): ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) Enter current password for root (enter for none): So I obviously have the wrong approach, please advise. Thanks! -- View this message in context: http://old.nabble.com/mySQL-5.4-server---Post-installation-SNAFUs-tp27086064p27089065.html Sent from the freebsd-questions mailing list archive at Nabble.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
Re: Inserting PC card NIC, system stops
On 1/9/10, Hashimoto hsm...@gmail.com wrote: Hello. I have a problem with a PC card Ethernet interface. When I insert the PC card to my laptop, the system hungs and makes no response. When I eject the card, the system starts again and works fine. (working - insert the card stopping - eject the card working) Of course, I cannot use this card for network interface. (ifconfig command does not show this interface.) Are there some workarounds to work this card correctly? Regards. PC Card Corega CG-LAPCCTXD $ uname -a FreeBSD musca.localdomain 8.0-RELEASE-p2 FreeBSD 8.0-RELEASE-p2 #0 r201741: Fri Jan 8 01:01:18 JST 2010 r...@aries.localdomain:/usr/obj/usr/src/sys/GENERIC i386 insert PC card and eject it $ tail /var/log/messages Jan 9 21:29:12 musca kernel: cbb1: ready never happened, status = 00 Jan 9 21:29:12 musca kernel: ed0: corega K.K. (CG-LAPCCTXD) at port ed(4) appears to be driver for that card -- Paul B Mahol aaa ___ 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 8.0 STABLE sata regression
Hi. Abdullah Ibn Hamad Al-Marri wrote: My servers are alright with FreeBSD 8.0-RELEASE, but not with -STABLE. FreeBSD NOC.WEArab.Net 8.0-STABLE FreeBSD 8.0-STABLE #0: Fri Jan 8 18:26:13 UTC 2010 ad...@localhost.localdomain:/usr/obj/usr/src/sys/GENERIC amd64 atapci0: Intel ICH7 SATA300 controller port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x20a0-0x20af mem 0x9020-0x902003ff irq 19 at device 31.2 on pci0 ata0: ATA channel 0 on atapci0 ata0: [ITHREAD] ata1: ATA channel 1 on atapci0 ata1: [ITHREAD] when I upgraded to FreeBSD 8.0-STABLE it got many issues. ad2: 381554MB WDC WD4000KD-00NAB0 01.06A01 at ata1-master UDMA100 If UDMA mode reported instead of SATA speed is the only issue, then it is not an issue, but only a cosmetic change. It doesn't mean that your drives will work slower. Thanks for report, I'll plug ICH7 board a bit later to check this. To get more info about the problem, try `atacontrol mode ad2` command. -- Alexander Motin ___ 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: port-MESS with apache22
Thanks for the response, Matthew. Now that I've had somewhat of a night's sleep thinking about the problem. This might help clear things for future generations. :-) Here's some background: Before upgrading from 7.2 RELEASE to 8.0 RELEASE , I had run portsnap on 7.2 but did not update the ports. Is it possible that this may be the source of the problem? PWould it make sense to rebuild the ports database and portsnap now that I'm running 8.0 and then reinstalling either just the problem apps or maybe do another complete reinstall (# portupgrade -af - -batch). It's a PITA but if that fixes things... I seem to recall that there are probably differences in the ports for different os versions? I do recall that when I was updating apache, I did make config and erroneously checked proxy_lconnect SSL support (do not use proxy). This generated a stop in the install and somewhere at this point I noticed that there had been an apache2 directory created. I tried to find the problem but figured that once installed, a deinstall and reinstall would fix thinkg. I think I mucked up something as I had to delete all the files and work directories in the hope they would be regenrated when installing. Well, no such luck. However, I have backups of all installations on another disk and was able to copy the files directory to the port. Anyway, the installation went all the way and on reboot apache was working. But when I tried to access my virtual sites, things were not quite right. Thanks again. On 1/9/2010 4:34 AM, Matthew Seaman wrote: PJ wrote: Upgraded to 8.0 without problem. Reinstalling ports was tedious... but NP for most part. Sommehow the installation of apache22 stumbled over some configuration issues, I think I found that apache was running ok, except... php5 module was not correctly installed... mod_php5 isn't built by default when you install php5. This catches out a very large number of people, and it is particularly astonishing as integrating php into apache is probably the number one reason for installing php. Sounds like you may need to do this: # cd /usr/ports/lang/php5 # make config [ Make sure the option for 'Build Apache Module' is checked ] # portupgrade -f lang/php5 -or- # portmaster --force-config -f lang/php5 It might also be necessary to rebuild all of the php5 modules -- plus any pecl- modules. At the cost of reinstalling pear- modules and PHP apps (which should be fairly cheap, as the port installation process for that sort of port consists almost entirely of copying files into place) you can just do this: # portupgrade -fr lang/php5 -or- # portmaster -fr lang/php5 Also double check httpd.conf once PHP5 is installed with mod_php5 -- the port will automatically add a line to ${PREFIX}/etc/apache22/httpd.conf to cause apache to load the module, which should look like this: LoadModule php5_modulelibexec/apache22/libphp5.so As I recall, PHP5 creates that line as shown, which should work straight away, but some modules add a commented out LoadModule line, so it would be a good idea to eliminate that as a potential problem. Cheers, Matthew ___ 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: port-MESS with apache22
On 1/9/2010 4:34 AM, Matthew Seaman wrote: PJ wrote: Upgraded to 8.0 without problem. Reinstalling ports was tedious... but NP for most part. Sommehow the installation of apache22 stumbled over some configuration issues, I think I found that apache was running ok, except... php5 module was not correctly installed... mod_php5 isn't built by default when you install php5. This catches out a very large number of people, and it is particularly astonishing as integrating php into apache is probably the number one reason for installing php. Sounds like you may need to do this: # cd /usr/ports/lang/php5 # make config [ Make sure the option for 'Build Apache Module' is checked ] # portupgrade -f lang/php5 -or- # portmaster --force-config -f lang/php5 It might also be necessary to rebuild all of the php5 modules -- plus any pecl- modules. At the cost of reinstalling pear- modules and PHP apps (which should be fairly cheap, as the port installation process for that sort of port consists almost entirely of copying files into place) you can just do this: # portupgrade -fr lang/php5 -or- # portmaster -fr lang/php5 Also double check httpd.conf once PHP5 is installed with mod_php5 -- the port will automatically add a line to ${PREFIX}/etc/apache22/httpd.conf to cause apache to load the module, which should look like this: LoadModule php5_modulelibexec/apache22/libphp5.so As I recall, PHP5 creates that line as shown, which should work straight away, but some modules add a commented out LoadModule line, so it would be a good idea to eliminate that as a potential problem. Cheers, Matthew Basically, I have done all that except using the -f parameter. In effect, php5 is trying to add the mod_php5 module, only it is getting the directory name as apache2 and not apache22 and is thus creating apache2 directories... from what I could find in the Makefile or somewhere I don't recall, this directory comes from some PATH type thingy... $LD_LIBRARY_PATH but I don't know or could not find the source of this. PJ ___ 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 ipv6 rc.conf settings issue
I'm having problems with the /etc/rc.conf setup of a ipv6 tunnel on my FreeBSD 7.2-RELEASE-p6 It`s a particular issue on the ipv6_defaultrouter config, it jost does not work... Upon network and routing restart ipv6 is enabled the gif interface are given ip's and everything but the defaultrouter does not. Researching a bit i found some say that gif1 sould work and tried both ipv6_defaultrouter=-interface gif1 and ipv6_defaultrouter=2001:0470:1f0a:d40::1 but no joy... here is the basic comand line config from tunnelbroker.net http://pastebin.ca/1736599 here's the rc.conf defaultrouter=86.122.121.129 gateway_enable=YES hostname=pgn.ro ifconfig_nfe0=inet . [...] ipv6_enable=YES ipv6_network_interfaces=lo0 gif1 ipv6_gateway_enable=YES gif_interfaces=gif1 gifconfig_gif1=86.122.121.171 216.66.80.30 ipv6_ifconfig_gif1=2001:0470:1f0a:d40::2/64 ipv6_defaultrouter=-interface gif1 [...] after that i do a quick network restart http://pastebin.ca/1736601 as ipv6 does not work i use route to add the gateaway : http://pastebin.ca/1736604 Hi Bogdan, This is what I use on FreeBSD 7.2 i386 with HE tunnel: rc.conf: # # IPv6 # ipv6_enable=YES ipv6_gateway_enable=YES cloned_interfaces=gif0 ipv6_network_interfaces=auto ipv6_ifconfig_rl1=2001:470:f8a3:25a::1 prefixlen 64 ipv6_ifconfig_rl2=2001:470:19:25a:3::1 prefixlen 64 ipv6_defaultrouter=2001:470:18:25a::1 ifconfig_gif0=tunnel 219.95.208.53 216.218.221.6 up ipv6_ifconfig_gif0=2001:470:18:25a::2 2001:470:18:25a::1 prefixlen 128 rtadvd_enable=YES rtadvd_interfaces=rl1 rl2 -Darryl ___ 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: Replacing disks in a ZFS pool
2010/1/8 Steve Bertrand st...@ibctech.ca Steve Bertrand wrote: krad wrote: the idea of using this type of label instead of the disk names themselves. I personally haven't run into any bad problems using the full device, but I suppose it could be a problem. (Side note - geom should learn how to parse zfs labels so it could create something like /dev/zfs/uuid for device nodes instead of using other trickery) How should I proceed? I'm assuming something like this: - add the new 1.5TB drives into the existing, running system - GPT label them - use 'zpool replace' to replace one drive at a time, allowing the pool to rebuild after each drive is replaced - once all four drives are complete, shut down the system, remove the four original drives, and connect the four new ones where the old ones were If you have enough ports to bring all eight drives online at once, I would recommend using 'zfs send' rather than the replacement. That way you'll get something like a burn-in on your new drives, and I believe it will probably be faster than the replacement process. Even on an active system, you can use a couple of incremental snapshots and reduce the downtime to a bare minimum. Surely it would be better to attach the drives either individually or as a matching vdev (assuming they can all run at once), then break the mirror after its resilvered. Far less work and far less liekly to miss something. What I have done with my system is label the drives up with a coloured sticker then create a glabel for the device. I then add the glabels to the zpool. Makes it very easy to identify the drives. Ok. Unfortunately, the box only has four SATA ports. Can I: - shut down - replace a single existing drive with a new one (breaking the RAID) - boot back up - gpt label the new disk - import the new gpt labelled disk - rebuild array - rinse, repeat three more times This seems to work ok: # zpool offline storage ad6 # halt replace disk, and start machine # zpool online storage ad6 # zpool replace storage ad6 I don't know enough about gpt/gpart to be able to work that into the mix. I would much prefer to have gpt labels as opposed to disk names, but alas. fwiw, can I label an entire disk (such as ad6) with gpt, without having to install boot blocks etc? I was hoping it would be as easy as: # gpt create -f ad6 # gpt label -l disk1 ad6 ...but it doesn't work. Neither does: # gpart create -s gpt ad6 # gpart add -t freebsd-zfs -l disk1 ad6 I'd like to do this so I don't have to manually specify a size to use. I just want the system to Do The Right Thing, which in this case, would be to just use the entire disk. Steve If so, is there anything I should do prior to the initial drive replacement, or will simulating the drive failure be ok? 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 glabel label red ad6 the device will /dev/label eg from my machine pool: zdump state: ONLINE scrub: scrub completed after 0h31m with 0 errors on Mon Jan 4 01:54:56 2010 config: NAMESTATE READ WRITE CKSUM zdump ONLINE 0 0 0 mirrorONLINE 0 0 0 label/blue ONLINE 0 0 0 label/red ONLINE 0 0 0 ___ 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: anyone using ZFS on a memstick?
2010/1/8 Ishmael F.E. sulfur...@gmail.com Hi list I'd like to know your opinion on formating a portable device with this file system. I have an external 120G HD, and I'd like to use an ENCRYPTED ZFS partition to save files and copy them between different machines (my laptop, at work, etc). ¿Is easy to mount ZFS as it is with ntfs or ext3? Regards -- [] [En muchos lugares, tomar fotos es visto como] [una costumbre vil y reprensible ] [] ___ 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 its fairly easy, just export/import the pool. One thing to make sure is that all you machines are capable of handling zfs. Also make sure they are all on the same zfs baseline. If you update one box and it goes upto zfs v22 say, and you do a zpool upgrade. Your other machines wont be able to access the zpool until they are upgraded ___ 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: chroot a few apps
2010/1/9 Vadkan Jozsef jozsi.avad...@gmail.com Hi. What kind of chroot should I use, if I want to make a more secured desktop, running e.g.: pdf reader webbrowser audio player video player openoffice picture viewer mua ooo virtualbox e.g.: if theres a javascript vulnerability in google chrome [I haven't heard a NoScript extension for it :( ] a chroot would be good for stopping it from doing something bad with the whole system. or e.g.: I have to open a .doc file, that I don't trust, or a PDF can contain malicious code :( Any tips/docs/howtos? Thank you! ___ 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 the best way might be to look at implementing the trusted bsd mac system. It's a bit hairly though and would take a while to get your head around ___ 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 8.0 STABLE sata regression
Hello, - Original Message From: Alexander Motin m...@freebsd.org To: Abdullah Ibn Hamad Al-Marri wearab...@yahoo.ca Cc: FreeBSD STABLE freebsd-sta...@freebsd.org; FreeBSD Questions freebsd-questions@freebsd.org Sent: Sat, January 9, 2010 5:29:46 PM Subject: Re: FreeBSD 8.0 STABLE sata regression Hi. Abdullah Ibn Hamad Al-Marri wrote: My servers are alright with FreeBSD 8.0-RELEASE, but not with -STABLE. FreeBSD NOC.WEArab.Net 8.0-STABLE FreeBSD 8.0-STABLE #0: Fri Jan 8 18:26:13 UTC 2010ad...@localhost.localdomain:/usr/obj/usr/src/sys/GENERIC amd64 atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x20a0-0x20af mem 0x9020-0x902003ff irq 19 at device 31.2 on pci0 ata0: on atapci0 ata0: [ITHREAD] ata1: on atapci0 ata1: [ITHREAD] when I upgraded to FreeBSD 8.0-STABLE it got many issues. ad2: 381554MB at ata1-master UDMA100 If UDMA mode reported instead of SATA speed is the only issue, then it is not an issue, but only a cosmetic change. It doesn't mean that your drives will work slower. Thanks for report, I'll plug ICH7 board a bit later to check this. To get more info about the problem, try `atacontrol mode ad2` command. -- Alexander Motin Here is the result, VB# atacontrol mode ad4 current mode = UDMA100 VB# atacontrol mode ad6 current mode = UDMA100 VB# ___ 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: port-MESS with apache22 update
On 1/9/2010 11:41 AM, PJ wrote: On 1/9/2010 4:34 AM, Matthew Seaman wrote: PJ wrote: Upgraded to 8.0 without problem. Reinstalling ports was tedious... but NP for most part. Sommehow the installation of apache22 stumbled over some configuration issues, I think I found that apache was running ok, except... php5 module was not correctly installed... mod_php5 isn't built by default when you install php5. This catches out a very large number of people, and it is particularly astonishing as integrating php into apache is probably the number one reason for installing php. Sounds like you may need to do this: # cd /usr/ports/lang/php5 # make config [ Make sure the option for 'Build Apache Module' is checked ] # portupgrade -f lang/php5 -or- # portmaster --force-config -f lang/php5 It might also be necessary to rebuild all of the php5 modules -- plus any pecl- modules. At the cost of reinstalling pear- modules and PHP apps (which should be fairly cheap, as the port installation process for that sort of port consists almost entirely of copying files into place) you can just do this: # portupgrade -fr lang/php5 -or- # portmaster -fr lang/php5 Also double check httpd.conf once PHP5 is installed with mod_php5 -- the port will automatically add a line to ${PREFIX}/etc/apache22/httpd.conf to cause apache to load the module, which should look like this: LoadModule php5_modulelibexec/apache22/libphp5.so As I recall, PHP5 creates that line as shown, which should work straight away, but some modules add a commented out LoadModule line, so it would be a good idea to eliminate that as a potential problem. Cheers, Matthew Basically, I have done all that except using the -f parameter. In effect, php5 is trying to add the mod_php5 module, only it is getting the directory name as apache2 and not apache22 and is thus creating apache2 directories... from what I could find in the Makefile or somewhere I don't recall, this directory comes from some PATH type thingy... $LD_LIBRARY_PATH but I don't know or could not find the source of this. PJ ___ 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 So, I delted everything from /usr/ports/ except /distfiles, did csup -L 2 ports-supfile and reinstalled php5 and apache22... now it works... but... there is some confusion here as my httpd.conf file is set for/usr/local as document root. Now, apache seems to have created a data folder under that root - only the document root has always been set to /usr/local/www/apache22/data now who went and changed at that again... was it really necessary? I don't understand this kind of mucking about... in 7.2 and previous releases this never changed... now, all of a sudden, it's different! Now, when accessing apache either remotely or from localhost, the first file is sought at /usr/local/data even when the virtual host is set to /usr/local/www/apache22/data Is there an explanation for this? My settings are identical on all my installations of 7.2 and the new 8.0, yet the results are different. TIA ___ 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 8.0 and AHCI
Hello All I thought I would just give you an update and solution to a problem I was having with the above. Basically the machine would show no hard disks when AHCI driver was loaded, with the following showing up at boot. ahcich0: Poll timeout on slot 0 (aprobe0:ahcich0:0:0:0): SIGNATURE: ahcich1: Poll timeout on slot 0 (aprobe1:ahcich1:0:0:0): SIGNATURE: ahcich2: Poll timeout on slot 0 (aprobe2:ahcich2:0:0:0): SIGNATURE: ahcich3: Poll timeout on slot 0 (aprobe3:ahcich3:0:0:0): SIGNATURE: ahcich4: Poll timeout on slot 0 (aprobe4:ahcich4:0:0:0): SIGNATURE: ahcich5: Poll timeout on slot 0 (aprobe5:ahcich5:0:0:0): SIGNATURE: ahcich0: Timeout on slot 0 ahcich1: Timeout on slot 0 ahcich2: Timeout on slot 0 ahcich3: Timeout on slot 0 ahcich4: Timeout on slot 0 ahcich5: Timeout on slot 0 run_interrupt_driven_hooks: still waiting after 60 seconds for xpt_config ahcich0: Timeout on slot 0 ahcich1: Timeout on slot 0 ahcich2: Timeout on slot 0 ahcich3: Timeout on slot 0 ahcich4: Timeout on slot 0 ahcich5: Timeout on slot 0 Someone suggested that the drives were not in AHCI mode, I was 99% sure that they were as it was the only way I could get all 6 sata ports working, but until today I had not had a chance to confirm this. The drives were already set to AHCI in the bios, and showed up in the AHCI bios util and also at post. I did some googling and it seems this is an issue with AMD SB700 chipsets as someone else had come across the same problem. I gave a snapshot of 9.0 a shot just to see if the problem existed in 9.0 as well as 8.0, it does. Last resort was to do a BIOS update of the mainboard, as it was on the original release F1 and F4 was available. On reboot I noticed the AHCI bios revision had changed 00078 from 00070, I still get a couple of timeout messages on boot, but the drives now detect and work just fine. Regards Graeme ___ 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: pkgtools and xz compressor
I notice FreeBSD 7.2's pkg_add, pkg_create, etc don't have support for the xz compressor, evidently due to lack of support for the xz format in bsdtar. Does bsdtar support xz in FreeBSD 8.0? Failing that, is xz support for the pkgtools something being looked at in future? Yes, we know, we know. :) No, FreeBSD 8.0 does not have support for lzma compression in it's base system libarchive, although there are several ports that support it, and it could be handled by using one of them, as is done with the current USE_ZIP knob. The latest version of libarchive (imported recently into 9-CURRENT, from http://code.google.com/p/libarchive/ ) has support for lzma compression in several formats, as well as other improvements. Unfortunately, the imported version of libarchive still has lzma disabled by default, and no supporting lzma libraries were imported. You would have to ask kientzle@ why this is so. xz's compression ratios tend to be much better than bzip2's, eg. Yes, and with faster decompression, albeit at the cost of more memory and cpu usage. But, unfortunately, portmgr@ does not seem interested in incorporating these improvements. If I recall correctly, there are one or more open PRs suggesting means of adding support, but they have been largely ignored. Some time ago, the maintainer of one widely-used port switched it over to an lzma-compressed tarball, and received a lot of criticism for doing so, including some from key committers who evidently didn't even know what lzma was. Ultimately, he had to revert to a bzip2-compressed tarball. So it may be a while before this is widely used in ports. b. ___ 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: ports/devel/protobuf: Segmentation fault in mmap in some applications
On 01/07/10 19:56, Pieter de Goeje wrote: On Thursday 07 January 2010 10:02:36 O. Hartmann wrote: On 01/07/10 01:41, Pieter de Goeje wrote: On Wednesday 06 January 2010 14:14:28 O. Hartmann wrote: Dear Sirs, We use a software package for scientific imagery processing from USGS, ISIS3 (http://isis.astrogeology.usgs.gov/). The most recent version is 3.1.21 and since this version, the software intensively uses libprotobuf.so. While we can use ISIS 3.1.20 very well under FreeBSD 8.0/amd64, it is impossible to use the software with version no. 3.1.21, which seems to have some issues wih libprotobuf.so. Every client out of this ISIS3 package crashes with a segmentation fault and as far as I can judge the situation, there is a problem with libprotobuf.so, against which all clients out of ISIS 3.1.21 are linked. Perhaps the ISIS package was developed using a different (older?) version of Google's protocol buffers. Compiling protobuf from source is quite easy on FreeBSD. You can find the source here: http://code.google.com/p/protobuf/downloads/list I would start by trying version 2.1.0 and 2.2.0a. I searched for help on the ISIS3-support forum and realised that some Apple OS X guys have had similar problems, but those threads where closed immediately or got relative senseless response. In our case, we compile every necessary library and prerequisite software package (mostly Qt4 libs) from ports. This works great with some tweaks for FreeBSD in make/config.freebsd (which I derived from some linux and/or OS X config files). Now I'm floating like a dead man i the water. Below I provide q gdb output of the qview-client (the same is with all other clients, like photrim etc. for those familiar with the software package). A backtrace ('bt' at the gdb prompt) might contain more useful information. Additionaly, I provide a truss-output, that stops at mmap issues. Well, if someone could provide me with some advance debugging hints I would appreaciate them. I'm pretty sure he problem is located within the libprotobuf library or the way it is treated, but this is a guess of a non-developer. Thanks very much in advance. Please reply also to this email address, since I'm not subscriber of the list I post to. Oliver - Pieter Hello Pieter, ISIS3 utilises the very same revision of libprotobuf as FreeBSD has in the ports repositorium (libprotobuf.so.4.0.0, aka protobuf-2.2.0). The backtrace follows, it is a little bit lengthy ... Ok, I can reproduce this locally. The cause is incorrect compiler flags. Basically one must use `pkg-config --cflags protobuf` to get the correct CFLAGS and `pkg-config --libs protobuf` for the correct libraries. Most likely one or both of the following were missing during the compilation/linking of ISIS: -D_THREAD_SAFE -pthread Regards, Pieter You're right. Thank you very much. After applying the output of pkg-config --libs protobuf to the proper make file, everythng went as expected! Regards and thanks, Oliver ___ 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 8.0 STABLE sata regression
Abdullah Ibn Hamad Al-Marri wrote: Abdullah Ibn Hamad Al-Marri wrote: My servers are alright with FreeBSD 8.0-RELEASE, but not with -STABLE. FreeBSD NOC.WEArab.Net 8.0-STABLE FreeBSD 8.0-STABLE #0: Fri Jan 8 18:26:13 UTC 2010ad...@localhost.localdomain:/usr/obj/usr/src/sys/GENERIC amd64 atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x20a0-0x20af mem 0x9020-0x902003ff irq 19 at device 31.2 on pci0 ata0: on atapci0 ata0: [ITHREAD] ata1: on atapci0 ata1: [ITHREAD] when I upgraded to FreeBSD 8.0-STABLE it got many issues. ad2: 381554MB at ata1-master UDMA100 If UDMA mode reported instead of SATA speed is the only issue, then it is not an issue, but only a cosmetic change. It doesn't mean that your drives will work slower. Thanks for report, I'll plug ICH7 board a bit later to check this. To get more info about the problem, try `atacontrol mode ad2` command. Here is the result, VB# atacontrol mode ad4 current mode = UDMA100 VB# atacontrol mode ad6 current mode = UDMA100 VB# OK. I have attached my ICH7 board and found where is the problem. This chipset doesn't provide access to SATA control registers. As result, driver can't get SATA connection info and so doesn't report it. If you wish, you can restore previous behavior by applying attached patch. Here is what I have with it: %atacontrol mode ad0 current mode = UDMA100 %atacontrol mode ad4 current mode = UDMA100 SATA 1.5Gb/s %atacontrol mode ad5 current mode = UDMA100 SATA 1.5Gb/s %atacontrol mode ad6 current mode = UDMA100 SATA 1.5Gb/s %atacontrol mode ad7 current mode = UDMA100 SATA 1.5Gb/s But as I have said before, it is only a cosmetics. -- Alexander Motin --- ata-pci.c.prev 2010-01-10 01:25:45.0 +0200 +++ ata-pci.c 2010-01-10 01:25:49.0 +0200 @@ -714,9 +714,12 @@ static int ata_pcichannel_getrev(device_t dev, int target) { struct ata_pci_controller *ctlr = device_get_softc(device_get_parent(dev)); + struct ata_channel *ch = device_get_softc(dev); if (ctlr-getrev) return (ctlr-getrev(dev, target)); + else if (ch-flags ATA_SATA) + return (1); else return (0); } ___ 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 questions sure this e-mail for questions
hello sir i am wanyce ashoura from Libya i notice in Libya and Africa there is no community for BSD and i start manged some small group of bsd group so if that not bothering you cause my language english not so good ok and i am new in bsd world and i wasn't use windows xp sure i start with slackware and i notice there are bsd so i say let me test it and i like so much i want understanding this freebsd and openbsd and pcbsd not is distributor as gnu linux yes or not cause there just few os named bsd i know bsd is open source but not free software here i am not talk about free of charging . so my questions is bsd is not free software mean i cant make distributor on bsd is what i do now on my pc not distributor for business just for my own small work like manged my network with me friend's and play costuming every thing as i want so thank you for your time ___ 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: Clean PHP 5.2.12 Build Core Dumping
Ok... well, your idea is a good one, but it seems that the port is broken. I did a port update, which brought in the latest php build info from December, but when I run 'make' (without even editing the Makefile to add my own other modules I need) I get this: X11BASE is now deprecated. Unset X11BASE in make.conf and try again. *** Error code 1 Not even sure where it's getting that error message from, since I can't find any reference to X11BASE in any of the files in the package, or in my env. Any ideas? -Original Message- From: Polytropon [mailto:free...@edvax.de] Sent: Friday, January 08, 2010 10:35 PM To: Don O'Neil Cc: php-gene...@lists.php.net; freebsd-questions@freebsd.org Subject: Re: Clean PHP 5.2.12 Build Core Dumping On Fri, 8 Jan 2010 16:18:11 -0800, Don O'Neil li...@lizardhill.com wrote: Ok... more info on the problem... I started with a clean untarred archive, ad just ran ./configure, make, make test I get a core dump. Maybe this is not a FreeBSD source? I'd suggest using the FreeBSD ports system for installation from source (i. e. tar archives). PHP 5.2.12 seems to be availabe. You can use # cd /usr/ports/lang/php5 # make # make install Make sure - not make sure :-) - that your ports tree is up to date in order to recieve the latest version. After running gdb on the core dump I noticed it was the sqlite stuff that was dumping, so I re-ran configure with --without-sqlite --without-pdo-sqlite --with-mysql=/usr/local/mysql Check the available options that can be set for the php5 port at compile time, either via make config, or enter them manually (e. g. in Makefile.local - I'm not sure if this mechanism is still supported). Now the gdb shows this: Core was generated by `php'. Program terminated with signal 11, Segmentation fault. #0 0x081d50a7 in sqlite3Select (pParse=0xbbc00080, p=0x0, eDest=164102200, iParm=0, pParent=0x24, parentTab=139141440, pParentAgg=0x84c10d8, aff=0x0) at /usr/local/directadmin/customapache/php- 5.2.11/ext/pdo_sqlite/sqlite/src/sel ect.c:3172 3172 for(j=0; jpGroupBy-nExpr; j++){ First off, the compile directory listed is wrong, don't know where it got php-5.2.11 from, that's the last version I built and is installed on this system. Maybe it's pulling that from the system php? Yes, correct. Secondly, even though I've told it not to use sqlite, it still seems to be. It is - by 5.2.11 (or by directadmin). Seems that you've not installed 5.2.12 with your custom options yet. Any help here would be appreciated in moving forward. My whole reason for needing to rebuild php is I need the pdo_mysql module instead of the pdo_sqlite version. As I said, I would suggest to try to achieve this through the ports system. It's easier than fighting ./configure. :-) -- 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: i've questions sure this e-mail for questions
On January 9, 2010 07:28:24 pm libyan linux wrote: hello sir i am wanyce ashoura from Libya i notice in Libya and Africa there is no community for BSD and i start manged some small group of bsd group so if that not bothering you cause my language english not so good ok and i am new in bsd world and i wasn't use windows xp sure i start with slackware and i notice there are bsd so i say let me test it and i like so much i want understanding this freebsd and openbsd and pcbsd not is distributor as gnu linux yes or not cause there just few os named bsd i know bsd is open source but not free software here i am not talk about free of charging . so my questions is bsd is not free software mean i cant make distributor on bsd is what i do now on my pc not distributor for business just for my own small work like manged my network with me friend's and play costuming every thing as i want so thank you for your time ___ 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, OpenBSD and PC-BSD are all free software, and there is nothing I know of to stop you distributing and using them locally. You can find out more from http://en.wikipedia.org/wiki/BSD_licenses and from http://63.249.85.132/fbsd_intro.html Good luck - the software is of very high quality and very reliable. ___ 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: i've questions sure this e-mail for questions
On Sun, 10 Jan 2010 02:28:24 +0200 libyan linux libyan@gmail.com wrote: so my questions is bsd is not free software mean i cant make distributor on bsd is what i do now on my pc not distributor for business just for my own small work like manged my network with me friend's and play costuming every thing as i want so thank you for your time You can do what you like with it - including using it in commercial software. The GPL licence used by Linux is much more restrictive than the BSD licence. ___ 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
Setting root password on mysql 5.4
Does anyone know how to set root password on a new mysql installation from the post? Can it be performed after starting the server with /usr/local/bin/mysqld_safe Or for that matter with /usr/local/bin/mysql_secure_installation Thanks! -- View this message in context: http://old.nabble.com/Setting-root-password-on-mysql-5.4-tp27095130p27095130.html Sent from the freebsd-questions mailing list archive at Nabble.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
Re: Setting root password on mysql 5.4
2010/1/9 jaymax jayma...@gmail.com: Does anyone know how to set root password on a new mysql installation from the post? Can it be performed after starting the server with /usr/local/bin/mysqld_safe Or for that matter with /usr/local/bin/mysql_secure_installation Hi http://www.freebsddiary.org/mysql.php 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
Re: Setting root password on mysql 5.4
jaymax wrote: Does anyone know how to set root password on a new mysql installation from the post? This is the very first thing performed on a brand new fresh install. The canonical procedure (and I haven't had to do it in a while so it is possible it may have changed) looks something like this: As root at a '#' prompt do: mysql --user=root mysql This brings up the mysql prompt: mysqlGRANT ALL PRIVILEGES ON *.* TO 'root'@'localhost'[press return or enter] at the - prompt type in the following command: IDENTIFIED BY '' WITH GRANT OPTION; [press return or enter] The above should exit back the mysql prompt if all went well. This will allow root to login with no password, but only on localhost. If you wish to expand this for the same from any host execute the steps again with the below differences. Otherwise type quit at the mysql prompt to exit. The main reason the second step may be desirable is to admin from a different box using the MySQLAdminGUI for example. Be warned however!: If this box is accessible by anyone from anywhere it is a security hole as root has NOT yet been assigned a password! And this procedure does NOT assign any password, it only sets the access so you can. mysqlGRANT ALL PRIVILEGES ON *.* TO 'root'@'%' [press return or enter] at the - prompt type in the following command: IDENTIFIED BY '' WITH GRANT OPTION; [press return or enter] Next at mysql prompt just type quit to exit. Restart mysql and now root can login with no password. Either use the command line to set the password, or the MySQLAdminGUI in the USERS section. The GUI is simple but I'll leave as an exercise for you to look up the CLI procedure in the MySQL docs should you get this far. You need to follow the above procedure first before you can log in as root in order to change the password. To reiterate: the above does NOT assign a password, it only allows root initial access so he can then set a password. Check out: http://dev.mysql.com/doc/refman/5.1/en/default-privileges.html http://dev.mysql.com/doc/refman/5.1/en/user-account-management.html Can it be performed after starting the server with /usr/local/bin/mysqld_safe Or for that matter with /usr/local/bin/mysql_secure_installation Sorry but these two are not something I'm really familiar with. If the canonical approach doesn't work, maybe you can try to temporarily start it with neither of these in the mix, set the password, then restart it with these two active again. -Mike ___ 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: Clean PHP 5.2.12 Build Core Dumping
Don O'Neil wrote: Ok... well, your idea is a good one, but it seems that the port is broken. I did a port update, which brought in the latest php build info from December, but when I run 'make' (without even editing the Makefile to add my own other modules I need) I get this: If installing with the ports system you shouldn't need to be editing any Makefiles. make config will give you list of options you may select from. Note there is an initial build/install of PHP itself and a second port called php5-extensions which you then install for all the modules. Again, a make config will list all options. No need to mess with Makefiles. X11BASE is now deprecated. Unset X11BASE in make.conf and try again. *** Error code 1 Not even sure where it's getting that error message from, since I can't find any reference to X11BASE in any of the files in the package, or in my env. Any ideas? Try putting WITHOUT_X11=yes into /etc/make.conf. Some PHP modules such as GD try and pull in X dependencies; this will short circuit that. -Original Message- [snip] -Mike ___ 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: Inserting PC card NIC, system stops
Thanks for your reply, Paul. $ uname -a FreeBSD musca.localdomain 8.0-RELEASE-p2 FreeBSD 8.0-RELEASE-p2 #0 r201741: Fri Jan 8 01:01:18 JST 2010 r...@aries.localdomain:/usr/obj/usr/src/sys/GENERIC i386 insert PC card and eject it $ tail /var/log/messages Jan 9 21:29:12 musca kernel: cbb1: ready never happened, status = 00 Jan 9 21:29:12 musca kernel: ed0: corega K.K. (CG-LAPCCTXD) at port ed(4) appears to be driver for that card Sure. I'm using GENERIC kernel, and it includes cbb(4), ed(4) device driver. But the system does not work fine with this PC card. -- 橋本紘希 hsm...@gmail.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
RE: Clean PHP 5.2.12 Build Core Dumping
Well, I hadn't edited the Makefiles, I was planning on it (but won't now that you pointed out the make option), but never got past making the generic port I tried adding WITHOUT_X11=yes to /etc/make.conf as well as X11BASE= and X11BASE=, but I still get the same error. Where to go from here? Do I have and old version of something that is causing this? I get this error _right away_ before anything is even built. Thanks! If installing with the ports system you shouldn't need to be editing any Makefiles. make config will give you list of options you may select from. Note there is an initial build/install of PHP itself and a second port called php5-extensions which you then install for all the modules. Again, a make config will list all options. No need to mess with Makefiles. X11BASE is now deprecated. Unset X11BASE in make.conf and try again. *** Error code 1 Try putting WITHOUT_X11=yes into /etc/make.conf. Some PHP modules such as GD try and pull in X dependencies; this will short circuit 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
Jails - Ethernet data vs IP data
Hi all, I bought a new SiliconDust HDHomeRun device which brings two Digital coaxial tuners to an ethernet network. From what I read and understand about the HDHomeRun (HDHR), is that it does have an IP address assigned to the system, but all packets of video are actually just raw Ethernet packets/data that has it's own payload and protocol. The port MythTV (to which I'm starting to love) maintainer has marked the two pieces of MythTV as conflicting ports (I'll address to the maintainer directly), so I build the frontend (the user interface if you will) on the host, because it needs lots of X11/xorg. The backend runs as a daemon talking with MySQL to manage everything. Since they conflict, the backend goes onto a jail. I have to port-compile the backend every time, the packages have missing dependencies. It takes quite a while. I know the HDHR is online, I can watch the video without MythTV interaction, but the jailed backend isn't seeing it. So I was hoping to see if I can query the group and see if raw ethernet data can be delivered to a jail, or if I'm just fishing in the empty fish bowl trying to get this to work in a jail. Thanks for ANY input in regards to limits the jail system might have. This is on a golden 8.0-RELEASE i386, haven't updated it yet. Thanks loads! --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