backspace shows ^? in serial communication
hello all, i have problem with backspace in freebsd 8.2. when i run a serial program to communicate via a serial port to the other system, backspace shows ^? in opened terminal. i use termios and fcntl to open, read, write and close serial port. i set erase and erase2 for ttyu2(my serial port) but backspace shows ^? yet. any body knows what i'm doing wrong? just erase and erase2 should be set to backspace works correctly or any other options should be set? any hints or comments are really appreciated. nada ___ 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: SAS Driver Support
Dear Devin I have got some questions in my mind Brother. 1 MAX HDD Support in FreeBSD 2 MAX HDD Size Support in FreeBSD Kindly guide me. Regard's Junaid From: Teske, Devin [devin.te...@fisglobal.com] Sent: Thursday, February 21, 2013 9:45 PM To: Muhammad Junaid; freebsd-questions@FreeBSD.org Cc: Teske, Devin Subject: RE: SAS Driver Support I did a write-up on hardware integration procedures some time back. Might help... http://lists.freebsd.org/pipermail/freebsd-questions/2012-June/241956.html In addition, I'll add that you don't necessarily have to boot FreeBSD... what I'll often do is boot DruidBSD and run the "Hardware Detection Tool" or "HDT" by Ewan Velu: http://sourceforge.net/projects/druidbsd/files/Druid-0.0.iso/download That will allow me to get the vendor/device hex values that identify the card you want to support. Once you have the 4-digit hex values for "vendor id" and "device id" then it's just a matter of grep'ing the FreeBSD source code to find out which module(s) work with that hardware. -- Devin From: owner-freebsd-questi...@freebsd.org [owner-freebsd-questi...@freebsd.org] on behalf of Muhammad Junaid [muhammad.jun...@cubexsweatherly.com] Sent: Wednesday, February 20, 2013 9:14 PM To: freebsd-questions@FreeBSD.org Subject: SAS Driver Support Dear Team FreeBSD can support HP D2600 disk enclosure or not? FreeBSD can support SAS controller card (P800\P812) driver or not? Regard's Muhammad Junaid ___ 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 information contained in this message is proprietary and/or confidential. If you are not the intended recipient, please: (i) delete the message and all copies; (ii) do not disclose, distribute or use the message in any manner; and (iii) notify the sender immediately. In addition, please be aware that any message addressed to our domain is subject to archiving and review by persons other than the intended recipient. 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"
Re: SPAM: Re: ZFS root, error 2 when mounting root
On 02/26/2013 04:31 PM, Chad M Stewart wrote: I've been down this road recently with 9.1-release. I ended up adding these lines to end of my script ## The next two are "hacks" in my book, without the last line, on reboot ## it gets stuck trying to find zfs:zroot/ROOT, but somehow the -f or reboot "fixes" # this quirk zpool export zroot zpool import -f zroot reboot Without the altroot it replaces the live CD mounts, and basically renders the system pointless, except that it works on reboot. :) I tried all sorts of other ways to make it work, mounting zroot and specifying a cache file, then cp the file over, etc., nothing I did worked except the above. There is probably a cleaner/better way but I was not able to find it. I seem to remember trying that too, forced import, but after an unsuccessful reboot, not at the end of the script. It didn't work for me. Anyway, thanks for the answers, it's a bit more clear now. ___ 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: Jail question
Bernt Hansson wrote: I would like to install an old version of freebsd let's say 4.6 in a jail. Is that possible. Host is 8.3-stable amd64 Things like ps won't run, but you can copy static binaries from host:/rescue to jail:/{bin,sbin} as appropriate and that helps a lot. I just installed a 5.4-RELEASE/i386 jail on a 9.1-STABLE/amd64 system. Mysqld would not run (dumped core), so I relocated that to a separate jail running 9.1-STABLE/amd64 One gotcha I found is that while you can run an old i386 system in a jail on an amd64 host, you can't build an amd64 kernel with COMPAT_AOUT, so if you have an a.out binary from days of old, you need an i386 kernel. Devin Teske wrote: Yes, this is possible. When I get into work, I'll share with you the recipe (I have a script called "update4.sh" which I run after building [or rsync'ing] a 4.x box to an 8.x box to become a vimage; note that I didn't say "jail" -- 4.x runs better as a VNET jail than a regular jail). We've not had much luck in running 4.x as a non-vnet jail under 8.x whereas vnet-jail works wonders (with a couple binaries replaced, like netstat, ifconfig, ps, and top for example). Devin, Please share your script with us all (especially me :-) ) Thanks, Danny ___ 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"
JBoss on FBSD
Hi, Does anyone have good or bad experiences running JBoss on Diablo and FBSD ?? The JBoss version we are looking to run on FBSD (on jails) is: JBoss EAP 5.1 Many thanks! -- Alejandro Imass ___ 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"
Hang on reboot with ZIL on SSD
Hi, I have a quite big server that I am tuning with FreeNAS running on It. It is based on an Intel Server and uses an Adaptec Controler ASR-6805 for a potential 12 disks pool (only 6 deployed for the moment). I have two more SSD disks intended for the ZIL cache. Connected directly on the mother board. It comes equipped with 32Gb of memory ECC. The system is installed on a specific dongle on the mother board (4Gb SLC dongle). The system is happy (= reboots without stopping at the real end of the reboot) as long as there is no SSD involved for the ZIL. As soon as the SSD are running, system freezes (or at least can't proceed with the reboot). It really freezes at the real end of the reboot after : > Syncing disks, vnodes remaining…*0 0 0 0 done > All buffers synced. > Uptime: 3d4h12min I have to manually Power-Cycle the unit for It to complete the reboot. Here is the output of the dmesg : > [root@freenas] ~# dmesg > Copyright (c) 1992-2012 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.3-RELEASE-p5 #2 r244158M: Wed Dec 12 10:04:42 PST 2012 > > r...@build.ixsystems.com:/home/jpaetzel/8.3.0/os-base/amd64/usr/home/jpaetzel/8.3.0/FreeBSD/src/sys/FREENAS.amd64 > amd64 > Timecounter "i8254" frequency 1193182 Hz quality 0 > CPU: Intel(R) Xeon(R) CPU E5-2609 0 @ 2.40GHz (2394.25-MHz K8-class CPU) > Origin = "GenuineIntel" Id = 0x206d7 Family = 6 Model = 2d Stepping = 7 > > Features=0xbfebfbff > > Features2=0x17bee3ff > AMD Features=0x2c100800 > AMD Features2=0x1 > TSC: P-state invariant > real memory = 34359738368 (32768 MB) > avail memory = 33071357952 (31539 MB) > ACPI APIC Table: > FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs > FreeBSD/SMP: 1 package(s) x 4 core(s) > cpu0 (BSP): APIC ID: 0 > cpu1 (AP): APIC ID: 2 > cpu2 (AP): APIC ID: 4 > cpu3 (AP): APIC ID: 6 > WARNING: VIMAGE (virtualized network stack) is a highly experimental feature. > ACPI Warning: Invalid length for Pm1aControlBlock: 32, using default 16 > (20101013/tbfadt-707) > ioapic0 irqs 0-23 on motherboard > ioapic1 irqs 24-47 on motherboard > kbd1 at kbdmux0 > hpt27xx: RocketRAID 27xx controller driver v1.0 (Dec 12 2012 10:04:31) > cryptosoft0: on motherboard > aesni0: on motherboard > acpi0: on motherboard > acpi0: [ITHREAD] > acpi0: Power Button (fixed) > acpi0: reservation of 0, 9d000 (3) failed > Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 > acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0 > cpu0: on acpi0 > cpu1: on acpi0 > cpu2: on acpi0 > cpu3: on acpi0 > pcib0: port 0xcf8-0xcff on acpi0 > pci0: on pcib0 > pcib1: irq 47 at device 1.0 on pci0 > pci1: on pcib1 > pcib2: irq 47 at device 1.1 on pci0 > pci2: on pcib2 > igb0: port > 0x1060-0x107f mem 0xd216-0xd217,0xd21b-0xd21b3fff irq 27 at > device 0.0 on pci2 > igb0: Using MSIX interrupts with 5 vectors > igb0: Ethernet address: 00:1e:67:54:9f:cd > igb0: [ITHREAD] > igb0: [ITHREAD] > igb0: [ITHREAD] > igb0: [ITHREAD] > igb0: [ITHREAD] > igb1: port > 0x1040-0x105f mem 0xd214-0xd215,0xd21a-0xd21a3fff irq 30 at > device 0.1 on pci2 > igb1: Using MSIX interrupts with 5 vectors > igb1: Ethernet address: 00:1e:67:54:9f:ce > igb1: [ITHREAD] > igb1: [ITHREAD] > igb1: [ITHREAD] > igb1: [ITHREAD] > igb1: [ITHREAD] > igb2: port > 0x1020-0x103f mem 0xd212-0xd213,0xd219-0xd2193fff irq 28 at > device 0.2 on pci2 > igb2: Using MSIX interrupts with 5 vectors > igb2: Ethernet address: 00:1e:67:54:9f:cf > igb2: [ITHREAD] > igb2: [ITHREAD] > igb2: [ITHREAD] > igb2: [ITHREAD] > igb2: [ITHREAD] > igb3: port > 0x1000-0x101f mem 0xd210-0xd211,0xd218-0xd2183fff irq 29 at > device 0.3 on pci2 > igb3: Using MSIX interrupts with 5 vectors > igb3: Ethernet address: 00:1e:67:54:9f:d0 > igb3: [ITHREAD] > igb3: [ITHREAD] > igb3: [ITHREAD] > igb3: [ITHREAD] > igb3: [ITHREAD] > pcib3: irq 47 at device 2.0 on pci0 > pci4: on pcib3 > pcib4: irq 47 at device 2.2 on pci0 > pci5: on pcib4 > pcib5: irq 16 at device 3.0 on pci0 > pci6: on pcib5 > aacu0: mem > 0xd1c0-0xd1ff,0xd205-0xd20507ff,0xd204-0xd20400ff irq 40 at > device 0.0 on pci6 > aacu0: Enable Raw I/O > aacu0: Enable 64-bit array > aacu0: New comm. interface type1 enabled > aacu0: [ITHREAD] > aacu0: Adaptec 6805, aac driver 3.1.2-30035 > aacp0: on aacu0 > aacp1: on aacu0 > aacp2: on aacu0 > aacp3: on aacu0 > pcib6: irq 16 at device 3.2 on pci0 > pci7: on pcib6 > pci0: at device 4.0 (no driver attached) > pci0: at device 4.1 (no driver attached) > pci0: at device 4.2 (no driver attached) > pci0: at device 4.3 (no driver attached) > pci0: at device 4.4 (no driver attached) > pci0: at device 4.5 (no driver attached) > pci0: at device 4.6 (no driver attached) > p
Re: dvd+rw-tools/cdrtools write only 4GB to BluRay
On Tue, Feb 26, 2013 at 3:28 PM, Tomek CEDRO wrote: > On Tue, Feb 26, 2013 at 3:16 PM, Bernt Hansson wrote: >> 2013-02-26 15:07, Tomek CEDRO skrev: >>> I have noticed that growisofs writes only 4GB of data to BluRay disks >>> - this happended to 2x BD-R and 1x BD-RE - what is the problem? >> It's all in the handbook, and is very good reading. > > Hello Bernt :-) Thank you, but 4GB filesize limit of ISO9660 this is > not quite my problem (although some years ago I have proposed solution > that you have mentioned because cdrtools was in alpha stage and > FreeBSD did use cdrtools from 2004 for very long time and so it was > missing the -udf -iso-level 3 switches etc etc) :-) > > My problem is that whole data stored on the BluRay disk has 4GB. Wow! It seems that ISO itself also needs -iso-level 3 to burn more than 4GB on BluRay disks properly. When you create an ISO image without -iso-level 3 it only gets 4GB! Also -udf switch is necessary as BluRay use UDF by default. :-) I guess its time to update Handbook again :-) Best regards :-) Tomek -- CeDeROM, SQ7MHZ, http://www.tomek.cedro.info ___ 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: SPAM: Re: ZFS root, error 2 when mounting root
I've been down this road recently with 9.1-release. I ended up adding these lines to end of my script ## The next two are "hacks" in my book, without the last line, on reboot ## it gets stuck trying to find zfs:zroot/ROOT, but somehow the -f or reboot "fixes" # this quirk zpool export zroot zpool import -f zroot reboot Without the altroot it replaces the live CD mounts, and basically renders the system pointless, except that it works on reboot. :) I tried all sorts of other ways to make it work, mounting zroot and specifying a cache file, then cp the file over, etc., nothing I did worked except the above. There is probably a cleaner/better way but I was not able to find it. -Chad ___ 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: dvd+rw-tools/cdrtools write only 4GB to BluRay
On Tue, Feb 26, 2013 at 3:16 PM, Bernt Hansson wrote: > 2013-02-26 15:07, Tomek CEDRO skrev: >> I have noticed that growisofs writes only 4GB of data to BluRay disks >> - this happended to 2x BD-R and 1x BD-RE - what is the problem? > It's all in the handbook, and is very good reading. Hello Bernt :-) Thank you, but 4GB filesize limit of ISO9660 this is not quite my problem (although some years ago I have proposed solution that you have mentioned because cdrtools was in alpha stage and FreeBSD did use cdrtools from 2004 for very long time and so it was missing the -udf -iso-level 3 switches etc etc) :-) My problem is that whole data stored on the BluRay disk has 4GB. growisofs recognise bluray disk and formats it to 25GB but still it only records 4GB of image... Maybe someone had this problem too? Does anyone use growisofs to burn BluRay disks? Best regards :-) Tomek -- CeDeROM, SQ7MHZ, http://www.tomek.cedro.info ___ 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: Jail question
Yes, this is possible. When I get into work, I'll share with you the recipe (I have a script called "update4.sh" which I run after building [or rsync'ing] a 4.x box to an 8.x box to become a vimage; note that I didn't say "jail" -- 4.x runs better as a VNET jail than a regular jail). We've not had much luck in running 4.x as a non-vnet jail under 8.x whereas vnet-jail works wonders (with a couple binaries replaced, like netstat, ifconfig, ps, and top for example). -- Devin From: owner-freebsd-questi...@freebsd.org [owner-freebsd-questi...@freebsd.org] on behalf of Bernt Hansson [b...@bananmonarki.se] Sent: Tuesday, February 26, 2013 5:23 AM To: questions FreeBSD Subject: Jail question Hello list! I would like to install an old version of freebsd let's say 4.6 in a jail. Is that possible. Host is 8.3-stable amd64 ___ 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 information contained in this message is proprietary and/or confidential. If you are not the intended recipient, please: (i) delete the message and all copies; (ii) do not disclose, distribute or use the message in any manner; and (iii) notify the sender immediately. In addition, please be aware that any message addressed to our domain is subject to archiving and review by persons other than the intended recipient. 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"
Re: dvd+rw-tools/cdrtools write only 4GB to BluRay
2013-02-26 15:07, Tomek CEDRO skrev: Hey, I have noticed that growisofs writes only 4GB of data to BluRay disks - this happended to 2x BD-R and 1x BD-RE - what is the problem? I am using both cdrtools and dvd+rw-tools from fresh port tree... Any hints appreciated :-) Tomek It's all in the handbook, and is very good reading. Note: In order to support working files larger than 4.38GB, an UDF/ISO-9660 hybrid filesystem must be created by passing -udf -iso-level 3 to mkisofs(8) and all related programs, such as growisofs(1). This is required only when creating an ISO image file or when writing files directly to a disk. Since a disk created this way must be mounted as an UDF filesystem with mount_udf(8), it will be usable only on an UDF aware operating system. Otherwise it will look as if it contains corrupted files. To create this type of ISO file: % mkisofs -R -J -udf -iso-level 3 -o imagefile.iso /path/to/data To burn files directly to a disk: # growisofs -dvd-compat -udf -iso-level 3 -Z /dev/cd0 -J -R /path/to/data When an ISO image already contains large files, no additional options are required for growisofs(1) to burn that image on a disk. Be sure to use an up-to-date version of sysutils/cdrtools, which contains mkisofs(8), as an older version may not contain large files support. If the latest version does not work, install sysutils/cdrtools-devel and read its mkisofs(8). ___ 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"
dvd+rw-tools/cdrtools write only 4GB to BluRay
Hey, I have noticed that growisofs writes only 4GB of data to BluRay disks - this happended to 2x BD-R and 1x BD-RE - what is the problem? I am using both cdrtools and dvd+rw-tools from fresh port tree... Any hints appreciated :-) Tomek % growisofs --help * growisofs by , version 7.1, % mkisofs -v Setting input-charset to 'UTF-8' from locale. 3.00 (amd64-unknown-freebsd9.1) pkg_info -x cdrtools dvd+rw-tools Information for cdrtools-3.00_2: Comment: CD/DVD/BluRay and ISO-9660 image creation and extraction tools Required by: dvd+rw-tools-7.1 Description: The cdrtools software includes tools to create and/or extract ISO-9660 filesystems, verify their integrity, and write them to disc. This package contains the following programs: - btcflash (a firmware flash utility for BTC DRW1008 DVD+/-RW recorder) - cdda2wav (a digital CD audio extraction program) - cdrecord (a CD/DVD/BluRay recording program) - devdump (dump a device or file in hex) - isodebug (show debug info contained in an ISO-9660 image) - isodump (dump a device or file based on ISO-9660) - isoinfo (analyze or list an ISO-9660 image) - isovfy (verify an ISO-9660 image) - mkisofs (an ISO-9660 filesystem image creator) - mkhybrid (an ISO-9660/HFS filesystem image creator) Link to mkisofs. - readcd (a data CD reading and recording program) May be used to write to DVD-RAM and to copy Solaris boot CD's. - scgcheck (checks and validates the ABI of libscg) - rscsi (daemon providing access to local SCSI-devices over the network) WWW: http://cdrecord.berlios.de/old/private/cdrecord.html Information for dvd+rw-tools-7.1: Comment: DVD burning software Description: DVD+RW Tools by Andy Polyakov. This software allows one to perform DVD recording using a DVD burner, primarily via the "growisofs" utility. growisofs was originally designed as a frontend to mkisofs to facilitate appending of data to ISO9660 volumes residing on random-access media such as DVD+RW, DVD-RAM, plain files, hard disk partitions. In the course of development general purpose DVD recording support was implemented, and as of now growisofs supports not only random-access media, but even mastering of multi-session DVD media such as DVD+R and DVD-R/-RW. In addition growisofs supports first-/single-session recording of arbitrary pre-mastered image (formatted as UDF, ISO9660 or any other file system, if formatted at all) to all supported DVD media types. WWW: http://fy.chalmers.se/~appro/linux/DVD+RW/ -- CeDeROM, SQ7MHZ, http://www.tomek.cedro.info ___ 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"
Jail question
Hello list! I would like to install an old version of freebsd let's say 4.6 in a jail. Is that possible. Host is 8.3-stable amd64 ___ 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"