Re: Possible to build 9-stable kernel on 8.2?
Dnia wtorek 15 listopad 2011 17:32:09 Jeremy Chadwick pisze: Not to mention, one should always do buildworld first. The absolute correct procedure is outlined in /usr/src/Makefile: And in /usr/src/UPDATING which should be read before updating as it may have some important informations. The same apply to /usr/ports/UPDATING. less +/cross-install /usr/src/UPDATING -- Maciej Milewski ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org
Re: FreeBSD 8.2 and Lenovo X300 WWAN Modem
Dnia środa, 18 maja 2011 o 11:40:36 crsnet.pl napisał(a): Hello. Have here anyone run this modem/GPS under FreeBSD 8.2 ? Modem is recognized, but when i try to run ppp -ddial iplus i get this error : /var/log/messages May 18 11:20:59 x60s ppp[1656]: tun0: Warning: Chat script failed /var/log/ppp May 18 11:20:53 x60s ppp[1656]: tun0: Phase: deflink: opening - dial May 18 11:20:53 x60s ppp[1656]: tun0: Chat: Send: AT^M May 18 11:20:53 x60s ppp[1656]: tun0: Chat: Expect(2): OK May 18 11:20:53 x60s ppp[1656]: tun0: Chat: Received: AT^M^M May 18 11:20:53 x60s ppp[1656]: tun0: Chat: Received: OK^M May 18 11:20:53 x60s ppp[1656]: tun0: Chat: Send: AT+CFUN=1^M May 18 11:20:53 x60s ppp[1656]: tun0: Chat: Expect(2): OK May 18 11:20:53 x60s ppp[1656]: tun0: Chat: Received: AT+CFUN=1^M^M May 18 11:20:53 x60s ppp[1656]: tun0: Chat: Received: ERROR^M For GPS i try to use gpsdrive-2.09_11A GPS navigation system viking-1.0.2Program to manage GPS data (tracks, waypoints, etc) But any of them can use X300 GPS;/ #uname -a FreeBSD x60s 8.2-RELEASE FreeBSD 8.2-RELEASE #0: Fri Feb 18 02:24:46 UTC 2011 r...@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 #dmesg ugen6.3: vendor 0x17ef at usbus6 ugen4.2: Sierra Wireless, Incorporated at usbus4 u3g0: Data Interface on usbus4 u3g0: Found 3 ports. #sudo usbconfig ugen4.2: Sierra Wireless MC5725 Modem Sierra Wireless, Incorporated at usbus4, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON ugen6.4: Wimedia device ManfID at usbus6, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON #ls -la /dev/cuaU* crw-rw 1 uucp dialer0, 123 18 maj 09:39 /dev/cuaU0.0 crw-rw 1 uucp dialer0, 124 18 maj 09:39 /dev/cuaU0.0.init crw-rw 1 uucp dialer0, 125 18 maj 09:39 /dev/cuaU0.0.lock crw-rw 1 uucp dialer0, 129 18 maj 09:39 /dev/cuaU0.1 crw-rw 1 uucp dialer0, 130 18 maj 09:39 /dev/cuaU0.1.init crw-rw 1 uucp dialer0, 131 18 maj 09:39 /dev/cuaU0.1.lock crw-rw 1 uucp dialer0, 135 18 maj 09:39 /dev/cuaU0.2 crw-rw 1 uucp dialer0, 136 18 maj 09:39 /dev/cuaU0.2.init crw-rw 1 uucp dialer0, 137 18 maj 09:39 /dev/cuaU0.2.lock #cat /etc/ppp/ppp.conf iplus: set log Phase Chat LCP IPCP CCP tun command ident user-ppp VERSION (built COMPILATIONDATE) set device /dev/cuaU0.0 set speed 460800 #set speed 115200 set dial ABORT BUSY TIMEOUT 2 \ \\ \ AT OK-AT-OK \ AT+CFUN=1 OK-AT-OK \ AT+CMEE=2 OK-AT-OK \ AT+CSQ OK \ AT+CGDCONT=1,\\\IP\\\,\\\internet\\\ OK \ AT+CGACT? OK-AT-OK \ AT+CGATT? OK \ AT+CGCLASS? OK \ AT+COPS? OK \ ATD*99***1# CONNECT set timeout 180 enable dns set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0 add default HISADDR Regards, Adrian. Do you have a pin defined on sim? -- Maciej ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org
Re: Re: FreeBSD 8.2 and Lenovo X300 WWAN Modem
Wednesday 18 of May 2011 12:22:37 crsnet.pl napisał(a): On Wed, 18 May 2011 12:05:20 +0200, Maciej Milewski m...@dat.pl wrote: Dnia środa, 18 maja 2011 o 11:40:36 crsnet.pl napisał(a): Hello. Have here anyone run this modem/GPS under FreeBSD 8.2 ? Modem is recognized, but when i try to run ppp -ddial iplus i get this error /var/log/messages May 18 11:20:59 x60s ppp[1656]: tun0: Warning: Chat script failed /var/log/ppp May 18 11:20:53 x60s ppp[1656]: tun0: Phase: deflink: opening - dial May 18 11:20:53 x60s ppp[1656]: tun0: Chat: Send: AT^M May 18 11:20:53 x60s ppp[1656]: tun0: Chat: Expect(2): OK May 18 11:20:53 x60s ppp[1656]: tun0: Chat: Received: AT^M^M May 18 11:20:53 x60s ppp[1656]: tun0: Chat: Received: OK^M May 18 11:20:53 x60s ppp[1656]: tun0: Chat: Send: AT+CFUN=1^M May 18 11:20:53 x60s ppp[1656]: tun0: Chat: Expect(2): OK May 18 11:20:53 x60s ppp[1656]: tun0: Chat: Received: AT+CFUN=1^M^M May 18 11:20:53 x60s ppp[1656]: tun0: Chat: Received: ERROR^M For GPS i try to use gpsdrive-2.09_11A GPS navigation system viking-1.0.2Program to manage GPS data (tracks, waypoints, etc) But any of them can use X300 GPS;/ #uname -a FreeBSD x60s 8.2-RELEASE FreeBSD 8.2-RELEASE #0: Fri Feb 18 02:24:46 UTC 2011 r...@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 #dmesg ugen6.3: vendor 0x17ef at usbus6 ugen4.2: Sierra Wireless, Incorporated at usbus4 u3g0: Data Interface on usbus4 u3g0: Found 3 ports. #sudo usbconfig ugen4.2: Sierra Wireless MC5725 Modem Sierra Wireless, Incorporated at usbus4, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON ugen6.4: Wimedia device ManfID at usbus6, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON #ls -la /dev/cuaU* crw-rw 1 uucp dialer0, 123 18 maj 09:39 /dev/cuaU0.0 crw-rw 1 uucp dialer0, 124 18 maj 09:39 /dev/cuaU0.0.init crw-rw 1 uucp dialer0, 125 18 maj 09:39 /dev/cuaU0.0.lock crw-rw 1 uucp dialer0, 129 18 maj 09:39 /dev/cuaU0.1 crw-rw 1 uucp dialer0, 130 18 maj 09:39 /dev/cuaU0.1.init crw-rw 1 uucp dialer0, 131 18 maj 09:39 /dev/cuaU0.1.lock crw-rw 1 uucp dialer0, 135 18 maj 09:39 /dev/cuaU0.2 crw-rw 1 uucp dialer0, 136 18 maj 09:39 /dev/cuaU0.2.init crw-rw 1 uucp dialer0, 137 18 maj 09:39 /dev/cuaU0.2.lock #cat /etc/ppp/ppp.conf iplus: set log Phase Chat LCP IPCP CCP tun command ident user-ppp VERSION (built COMPILATIONDATE) set device /dev/cuaU0.0 set speed 460800 #set speed 115200 set dial ABORT BUSY TIMEOUT 2 \ \\ \ AT OK-AT-OK \ AT+CFUN=1 OK-AT-OK \ AT+CMEE=2 OK-AT-OK \ AT+CSQ OK \ AT+CGDCONT=1,\\\IP\\\,\\\internet\\\ OK \ AT+CGACT? OK-AT-OK \ AT+CGATT? OK \ AT+CGCLASS? OK \ AT+COPS? OK \ ATD*99***1# CONNECT set timeout 180 enable dns set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0 add default HISADDR Regards, Adrian. Do you have a pin defined on sim? No. I check with minicom that AT+CFUN=1 (Turns modem on) give Error but AT+PCSTATE=1 turns it on. Unfortunately when i change it in ppp.conf from AT+CFUN=1 to AT+PCSTATE=1 that give me May 18 12:13:48 x60s ppp[2697]: tun0: Chat: Send: AT+PCSTATE=1^M May 18 12:13:48 x60s ppp[2697]: tun0: Chat: Expect(2): OK May 18 12:13:48 x60s ppp[2697]: tun0: Chat: Received: AT+PCSTATE=1^M^M May 18 12:13:48 x60s ppp[2697]: tun0: Chat: Received: ERROR^M May 18 12:13:50 x60s ppp[2697]: tun0: Chat: Expect timeout http://sierrawireless.custhelp.com/app/answers/detail/a_id/500/~/can-i-use-my- sierra-wireless-modem-on-a-linux-operating-system-%3F-%28-v.1.7.36%29 Sometimest command port is different than data port. Try different cuau0.0, cuau0.1, cuau0.2 also GPS many times has his own subinterface so that may be the point. My working ppp.conf dial definition, with pin enabled: set dial ABORT BUSY ABORT NO\sCARRIER TIMEOUT 5 \ \\ AT OK-AT-OK \ AT OK-AT-OK AT+CPIN= OK-AT-OK\ AT+CGDCONT=1,\\\IP\\\,\\\internet\\\ OK \ AT OK-AT-OK \\dATDT\\T TIMEOUT 40 CONNECT -- Maciej ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org
Re: Re: FreeBSD 8.2 and Lenovo X300 WWAN Modem
Wednesday 18 of May 2011 12:22:37 crsnet.pl napisał(a): On Wed, 18 May 2011 12:05:20 +0200, Maciej Milewski m...@dat.pl wrote: Dnia środa, 18 maja 2011 o 11:40:36 crsnet.pl napisał(a): Hello. Have here anyone run this modem/GPS under FreeBSD 8.2 ? Modem is recognized, but when i try to run ppp -ddial iplus i get this error /var/log/messages May 18 11:20:59 x60s ppp[1656]: tun0: Warning: Chat script failed /var/log/ppp May 18 11:20:53 x60s ppp[1656]: tun0: Phase: deflink: opening - dial May 18 11:20:53 x60s ppp[1656]: tun0: Chat: Send: AT^M May 18 11:20:53 x60s ppp[1656]: tun0: Chat: Expect(2): OK May 18 11:20:53 x60s ppp[1656]: tun0: Chat: Received: AT^M^M May 18 11:20:53 x60s ppp[1656]: tun0: Chat: Received: OK^M May 18 11:20:53 x60s ppp[1656]: tun0: Chat: Send: AT+CFUN=1^M May 18 11:20:53 x60s ppp[1656]: tun0: Chat: Expect(2): OK May 18 11:20:53 x60s ppp[1656]: tun0: Chat: Received: AT+CFUN=1^M^M May 18 11:20:53 x60s ppp[1656]: tun0: Chat: Received: ERROR^M For GPS i try to use gpsdrive-2.09_11A GPS navigation system viking-1.0.2Program to manage GPS data (tracks, waypoints, etc) But any of them can use X300 GPS;/ #uname -a FreeBSD x60s 8.2-RELEASE FreeBSD 8.2-RELEASE #0: Fri Feb 18 02:24:46 UTC 2011 r...@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 #dmesg ugen6.3: vendor 0x17ef at usbus6 ugen4.2: Sierra Wireless, Incorporated at usbus4 u3g0: Data Interface on usbus4 u3g0: Found 3 ports. #sudo usbconfig ugen4.2: Sierra Wireless MC5725 Modem Sierra Wireless, Incorporated at usbus4, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON ugen6.4: Wimedia device ManfID at usbus6, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON #ls -la /dev/cuaU* crw-rw 1 uucp dialer0, 123 18 maj 09:39 /dev/cuaU0.0 crw-rw 1 uucp dialer0, 124 18 maj 09:39 /dev/cuaU0.0.init crw-rw 1 uucp dialer0, 125 18 maj 09:39 /dev/cuaU0.0.lock crw-rw 1 uucp dialer0, 129 18 maj 09:39 /dev/cuaU0.1 crw-rw 1 uucp dialer0, 130 18 maj 09:39 /dev/cuaU0.1.init crw-rw 1 uucp dialer0, 131 18 maj 09:39 /dev/cuaU0.1.lock crw-rw 1 uucp dialer0, 135 18 maj 09:39 /dev/cuaU0.2 crw-rw 1 uucp dialer0, 136 18 maj 09:39 /dev/cuaU0.2.init crw-rw 1 uucp dialer0, 137 18 maj 09:39 /dev/cuaU0.2.lock #cat /etc/ppp/ppp.conf iplus: set log Phase Chat LCP IPCP CCP tun command ident user-ppp VERSION (built COMPILATIONDATE) set device /dev/cuaU0.0 set speed 460800 #set speed 115200 set dial ABORT BUSY TIMEOUT 2 \ \\ \ AT OK-AT-OK \ AT+CFUN=1 OK-AT-OK \ AT+CMEE=2 OK-AT-OK \ AT+CSQ OK \ AT+CGDCONT=1,\\\IP\\\,\\\internet\\\ OK \ AT+CGACT? OK-AT-OK \ AT+CGATT? OK \ AT+CGCLASS? OK \ AT+COPS? OK \ ATD*99***1# CONNECT set timeout 180 enable dns set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0 add default HISADDR Regards, Adrian. Do you have a pin defined on sim? No. I check with minicom that AT+CFUN=1 (Turns modem on) give Error but AT+PCSTATE=1 turns it on. Unfortunately when i change it in ppp.conf from AT+CFUN=1 to AT+PCSTATE=1 that give me May 18 12:13:48 x60s ppp[2697]: tun0: Chat: Send: AT+PCSTATE=1^M May 18 12:13:48 x60s ppp[2697]: tun0: Chat: Expect(2): OK May 18 12:13:48 x60s ppp[2697]: tun0: Chat: Received: AT+PCSTATE=1^M^M May 18 12:13:48 x60s ppp[2697]: tun0: Chat: Received: ERROR^M May 18 12:13:50 x60s ppp[2697]: tun0: Chat: Expect timeout Oh and very important thing: MC5725 is a CDMA EV-DO card. It will not work in GSM/UMTS network AFAIK. https://www.sierrawireless.com/Newsroom/newsreleases/2006/09-18_sierra_wireless_reaches_two_ev- do_revision_a_product_milestones.aspx -- Maciej ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org
Re: Re: Re: FreeBSD 8.2 and Lenovo X300 WWAN Modem
Wednesday 18 of May 2011 14:13:00 crsnet.pl napisał(a): No. I check with minicom that AT+CFUN=1 (Turns modem on) give Error but AT+PCSTATE=1 turns it on. Unfortunately when i change it in ppp.conf from AT+CFUN=1 to AT+PCSTATE=1 that give me May 18 12:13:48 x60s ppp[2697]: tun0: Chat: Send: AT+PCSTATE=1^M May 18 12:13:48 x60s ppp[2697]: tun0: Chat: Expect(2): OK May 18 12:13:48 x60s ppp[2697]: tun0: Chat: Received: AT+PCSTATE=1^M^M May 18 12:13:48 x60s ppp[2697]: tun0: Chat: Received: ERROR^M May 18 12:13:50 x60s ppp[2697]: tun0: Chat: Expect timeout Oh and very important thing: MC5725 is a CDMA EV-DO card. It will not work in GSM/UMTS network AFAIK. https://www.sierrawireless.com/Newsroom/newsreleases/2006/09-18_sierra_wi reless_reaches_two_ev- do_revision_a_product_milestones.aspx :( I must check that is a available CDMA network in Poland. Look on the http://www.bez- kabli.pl/viewtopic.php?t=12788postdays=0postorder=ascstart=15 But if any here know that i can use GPS builded into this Modem i will be gratful. Adrian. http://forum.thinkpads.com/viewtopic.php?f=30t=61164 -- Maciej ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org
Re: NFSv4 - how to set up at FreeBSD 8.1 ?
Monday 03 of January 2011 23:48:16 Marek Salwerowicz napisał(a): /etc/exports: V4: / What am I doing wrong? My aim is to mount home directories from server to client but currently I am unable to mount any share. Maybe it's only incorrect exports file?? In my case (NFSv3) it looks: /data -maproot=root 192.168.0.10 -- Maciej ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org
Re: atheros broadcast/multicast corruption with multiple hostap's
Hi Adrian, I've found the chipsets you were asking - those cards are pretty popular as far as I can see on many wireless forums. I have only 11agb radios though: Which chipsets are they? NL-5354MP + Aries2 It looks that it's miniPCI Atheros 5213, Senao NL-5354MP Plus Aries2 [1] 5004 MP Atheros 4G / CM9 Atheros AR5004 4th generation chipset. AR5213 (MAC+BB) + AR5112 (2.4/5GHz radio) more info [2] What I'd really like to do is write up a set of testing procedures for doing things to the ath driver - in station, hostap and adhoc modes - so I can test my local 11n+refactored HAL against it. If you've got a working setup then I'd like to try and get that documented and reproducable, complete with a set of tests for each to try and ensure that as much stuff works as possible. That would be very nice to have it in one place to follow in case of any suspected problems. I'd also like to make sure that the AR5416 HAL as shipped in FreeBSD behaves the same way as the AR5210,AR5211,AR5212 HALs as well. I only have an AR5213 card here; the rest of mine are 11n (AR5416, AR9160, AR9280.) I don't know if I'm going to be able to get all of this into 9.0-RELEASE but I'd like to try. The atheros 11n chipsets are everywhere now; I'd like to both support the legacy stuff and the new stuff with all the features fully working. :-) Right now I haven't any idea about what works and what doesn't. Thanks, Adrian [1] http://www.seattlewireless.net/ClientAdapters/802.11g [2] http://store.netgate.com/5004-MP-ATHEROS-4G-CM9-80211abg-miniPCI-Card- P125.aspx Greetings, Maciej ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org
Re: How to predict drive number change for 7.3-8.1 upgrade?
Dnia piątek 17 wrzesień 2010 o 16:35:52 Michael Sperber napisał(a): Marat N.Afanasyev ama...@ksu.ru writes: you may try the following commands: sysctl kern.geom.debugflags=16 foreach fs (your-filesystems) glabel label your-$fs-label your-$fs-device end echo geom_label_load=YES /boot/loader.conf reboot and see if the labels appear in /dev/label Is this safe to do? The man page for glabel seems to imply that glabel should be used before newfs, and tunefs after newfs. It's because geom class uses the last sector of the provider to keep his metadata, so if you will overwrite this sector then you lose this metadata(in this case label). So to not lose this metadata you should use geom_label first and then newfs on the /dev/label/... I think that using ufs label should be sufficient, glabel supports them too (under /dev/ufs directory). Maciek ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org
Re: 8.0-RELEASE-p2: boot0cfg yields vnode_pager_getpages: I/O read error
Dnia poniedziałek, 8 marca 2010 o 04:00:02 Brian Conway napisał(a): Greetings. I'm testing NanoBSD images for eventual use in an Alix board and have run into an issue with the boot0cfg lines in the update scripts, in multiple environments. Specifically, any use of boot0cfg yields a successful output[1], followed by: ... Any ideas? Bug or user error? Thanks. Brian Conway Brian, try changing in updatep1 and updatep2 to use gpart not boot0cfg: #boot0cfg -s 1 -v ${NANO_DRIVE} gpart set -a active -i 1 ${NANO_DRIVE} I think is the problem. I was having similar errors as you while I was using boot0cfg. Maciej Milewski ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org
Re: File system corruption
Tuesday 12 May 2009 20:10:57 Pat Wendorf napisał(a): I have a co-lo server I've been maintaining for a few years now running IDE drives on a mostly terrible UPS. A few months ago, when it returned from a power outage (running 6.2-R) I started noticing the following in my daily security email: Checking setuid files and devices: find: /var/db/portsnap/files/2dc95ddff37a8091239e83bf7e3ce5a2c285b027891ced1919d7 6c9947c5b7db.gz: Bad file descriptor find: /var/db/portsnap/files/52abe8c91385b12272f13f4d20896067d9ba70bdec1fa2575025 858bd3e93718.gz: Bad file descriptor find: /var/lost+found/#238237: Bad file descriptor I verified that these files return the same result when trying to do any operation on them (including ls in the directory). I've managed to ignore the problem for a while now, and even upgraded to 7.2, but I'm not sure if it will cause problems later on. So the question is, without access to the console, how would I fix this? I think tere is a need for fsck on this partition. /var is used by many daemons for logging, mailqueue etc., so maybe the first thing to do would be to stop as many daemons as possible and leaving only ssh to get to this system remotely? I really don't know how much dangerous could be unmounting /var on a live system in such case. -- Pozdrawiam, Maciej Milewski ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org