Re: 8 partitions maximum
On 12/1/10, David Demelier demelier.da...@gmail.com wrote: On 30/11/2010 23:29, Paul B Mahol wrote: On 11/30/10, David DEMELIERdemelier.da...@gmail.com wrote: 2010/11/30 Paul B Maholone...@gmail.com: On 11/30/10, David DEMELIERdemelier.da...@gmail.com wrote: 2010/11/30 Patrick Lamaizierepatf...@davenulle.org: Le Tue, 30 Nov 2010 21:45:03 +0100, David Demelierdemelier.da...@gmail.com a ecrit : Hello, Hello, We all know that we can only have 8 ufs partitions in one freebsd slice. Since OpenBSD and NetBSD can support at most 32 partitions iirc. I wonder why FreeBSD still lacks more ufs partitions in one slice? Is there any plan to grow up max partitions or every work is dedicated to ZFS? hmmm, isn't already done in 8.X ? from what's cooking for FreeBSD 8.0 http://ivoras.sharanet.org/freebsd/freebsd8.html bsdlabel gets extended to 26 partitions Status: Committed to -CURRENT Will appear in 8.0: sure Author: Marcel Moolenaar Web: commit message bsdlabel is (finally!) extended to support more than 8 partitions. The new limit of 26 partitions comes from the number of lower-case letters. To make use of this change, GEOM_PART needs to be used instead of GEOM_BSD (this is default in 8.0 but will not work with older kernels). I don't have GEOM_PART in my kernel, but if you said it's default it should be pulled in. 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 But why : # /dev/md2s1: 8 partitions: #size offsetfstype [fsize bsize bps/cpg] a: 10m 164.2BSD0 0 b: 10m *4.2BSD0 0 d: 10m *4.2BSD0 0 e: 10m *4.2BSD0 0 f: 10m *4.2BSD0 0 g: 10m *4.2BSD0 0 h: 10m *4.2BSD0 0 i: 10m *4.2BSD0 0 j: 10m *4.2BSD0 0 k: 10m *4.2BSD0 0 c: 20479730unused0 0 # raw part, don't edit line 11: partition name out of range a-h: i line 12: partition name out of range a-h: j line 13: partition name out of range a-h: k re-edit the label? [y]: I'm on 8.1-RELEASE. To make use of such feature you need to recreate table with gpart(8). bsdlabel is not going to work. mark...@melon ~ $ sudo dd if=/dev/zero of=myfile.img bs=1m count=100 100+0 records in 100+0 records out 104857600 bytes transferred in 2.095537 secs (50038530 bytes/sec) mark...@melon ~ $ sudo mdconfig -a -f myfile.img -u 2 mark...@melon ~ $ sudo gpart create -s MBR md2 md2 created mark...@melon ~ $ sudo gpart show md2s1 gpart: No such geom: md2s1. mark...@melon ~ $ sudo gpart add -t freebsd md2 md2s1 added mark...@melon ~ $ sudo gpart add -t freebsd-ufs md2s1 gpart: No such geom: md2s1. mark...@melon ~ $ sudo gpart create -s BSD md2s1 gpart create -s BSD -n 26 md2s1 mark...@melon ~ $ sudo gpart create -s BSD -n 26 md0s1 gpart: entries '26': Invalid argument mark...@melon ~ $ sudo gpart create -s BSD -n 8 md0s1 md0s1 created Looks like max number is 20, up to md2s1t. ___ 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: 8 partitions maximum
2010/12/1 Paul B Mahol one...@gmail.com: On 12/1/10, David Demelier demelier.da...@gmail.com wrote: On 30/11/2010 23:29, Paul B Mahol wrote: On 11/30/10, David DEMELIERdemelier.da...@gmail.com wrote: 2010/11/30 Paul B Maholone...@gmail.com: On 11/30/10, David DEMELIERdemelier.da...@gmail.com wrote: 2010/11/30 Patrick Lamaizierepatf...@davenulle.org: Le Tue, 30 Nov 2010 21:45:03 +0100, David Demelierdemelier.da...@gmail.com a ecrit : Hello, Hello, We all know that we can only have 8 ufs partitions in one freebsd slice. Since OpenBSD and NetBSD can support at most 32 partitions iirc. I wonder why FreeBSD still lacks more ufs partitions in one slice? Is there any plan to grow up max partitions or every work is dedicated to ZFS? hmmm, isn't already done in 8.X ? from what's cooking for FreeBSD 8.0 http://ivoras.sharanet.org/freebsd/freebsd8.html bsdlabel gets extended to 26 partitions Status: Committed to -CURRENT Will appear in 8.0: sure Author: Marcel Moolenaar Web: commit message bsdlabel is (finally!) extended to support more than 8 partitions. The new limit of 26 partitions comes from the number of lower-case letters. To make use of this change, GEOM_PART needs to be used instead of GEOM_BSD (this is default in 8.0 but will not work with older kernels). I don't have GEOM_PART in my kernel, but if you said it's default it should be pulled in. 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 But why : # /dev/md2s1: 8 partitions: # size offset fstype [fsize bsize bps/cpg] a: 10m 16 4.2BSD 0 0 b: 10m * 4.2BSD 0 0 d: 10m * 4.2BSD 0 0 e: 10m * 4.2BSD 0 0 f: 10m * 4.2BSD 0 0 g: 10m * 4.2BSD 0 0 h: 10m * 4.2BSD 0 0 i: 10m * 4.2BSD 0 0 j: 10m * 4.2BSD 0 0 k: 10m * 4.2BSD 0 0 c: 2047973 0 unused 0 0 # raw part, don't edit line 11: partition name out of range a-h: i line 12: partition name out of range a-h: j line 13: partition name out of range a-h: k re-edit the label? [y]: I'm on 8.1-RELEASE. To make use of such feature you need to recreate table with gpart(8). bsdlabel is not going to work. mark...@melon ~ $ sudo dd if=/dev/zero of=myfile.img bs=1m count=100 100+0 records in 100+0 records out 104857600 bytes transferred in 2.095537 secs (50038530 bytes/sec) mark...@melon ~ $ sudo mdconfig -a -f myfile.img -u 2 mark...@melon ~ $ sudo gpart create -s MBR md2 md2 created mark...@melon ~ $ sudo gpart show md2s1 gpart: No such geom: md2s1. mark...@melon ~ $ sudo gpart add -t freebsd md2 md2s1 added mark...@melon ~ $ sudo gpart add -t freebsd-ufs md2s1 gpart: No such geom: md2s1. mark...@melon ~ $ sudo gpart create -s BSD md2s1 gpart create -s BSD -n 26 md2s1 mark...@melon ~ $ sudo gpart create -s BSD -n 26 md0s1 gpart: entries '26': Invalid argument mark...@melon ~ $ sudo gpart create -s BSD -n 8 md0s1 md0s1 created Looks like max number is 20, up to md2s1t. Yes I saw that it was only 20 max, so how to get 26 partitions using bsdlabel ? :-) Cheers, -- Demelier David ___ 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: Anfrage von Kundennummer KK-85561
Guten Tag Kundennummer KK-85561, die erste Woche im Dezember steht vor uns. Nehmen Sie sich 1 Minute Zeit um den Traif Ihrer Krankenkasse zu vergleichen. 2011 ändern sich fast alle Tarife und Leistungen. Durch einen Vergleich der privaten Krankenkasse können Sie 190,00 Euro und mehr im Monat(!) sparen. Oft erhalten Sie sogar mehr Leistungen als vorher, und zahlen auch noch weniger dafür. Nutzen Sie unseren Vergleich - es dauert nur 1 Minute. Kostenlos und unverbindlich: http://c.optimal-2011.net/k-504-5574379.htm Wir freuen uns Ihnen zu helfen. Ihre Andrea Müller Sie erhalten dieses E-Mailing, da Sie uns oder einem unserer Partner Ihre Einwilligung dazu gegeben haben. Gerne können Sie Ihre E-Mail Adresse löschen. Klicken Sie dazu einfach hier: http://c.optimal-2011.net/a/?i=7271285e=freebsd-questions%40freebsd.orgc=5574379 ___ 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: 8.1-RELEASE hangs on reboot
On Tuesday, November 30, 2010 8:23:19 pm Ondřej Majerech wrote: Hello, my 8.1-R system has just started hanging on reboot. Specifically after I svn up'd my source and updated from 8.1-R-p1 to -p2. Some kind of hang occurs on every reboot attempt. Usually it hangs at the Rebooting... message, but sometimes the thing just locks up before it even syncs disks. shutdown -p now seems to shutdown the system successfully each time. So I booted into single-user mode, executed reboot and during the Syncing disks I pressed Ctrl-Alt-Escape to break into the debugger. There I single-stepped with the s command until the thing simply stopped doing anything. (Even if I pressed NumLock, the LED on the keyboard wouldn't turn off.) The screen content at the moment of hang is (dutifully typed over as the thing is dead and I don't have a serial cable): [thread pid 12 tid 100017 ] Stopped at sckbdevent+0x5f: call _mtx_unlock_flags db [thread pid 12 tid 100017 ] Stopped at _mtx_unlock_flags: pushq %rbp db [thread pid 12 tid 100017 ] Stopped at _mtx_unlock_flags+0x1: movq %rsp,%rbp db [thread pid 12 tid 100017 ] Stopped at _mtx_unloock_flags+0x4: subq $0x20,%rsp db [thread pid 12 tid 100017 ] Stopped at _mtx_unlock_flags+0x8: movq %rbx,(%rsp) db [thread pid 12 tid 100017 ] Stopped at _mtx_unlock_flags+0xc: movq %r12,0x8(%rsp) db [thread pid 12 pid 100017 ] Stopped at _mtx_unlock_flags+0x11: movq %rdi,%rbx db [thread pid 12 pid 100017 ] Stopped at _mtx_unlock_flags+0x14: movq %r13,0x10(%rsp) db E Including that E at the end. No good ideas here, though I think we just turned off PSL_T by accident so it ran for a while before hanging after this. 'E' must be the start of a message on the console. As I said, it's 8.1-RELEASE-p2; it's on AMD64. I'm using custom kernel which only differs from GENERIC by addition of the debugging options: options INVARIANTS options INVARIANT_SUPPORT options WITNESS options DEBUG_LOCKS options DEBUG_VFS_LOCKS options DIAGNOSTIC I tried rebooting with ACPI disabled, but the thing paniced on boot with panic: Duplicate free of item 0xff00025e from zone 0xff00bfdcc2a0(1024) cpuid = 0 KDB: enter: panic [thread pid 0 tid 10 ] Stopped at kdb_enter+0x3d: movq $0, 0x6b2d20(%rip) db bt Tracing pid 0 tid 10 td 0x80c63fc0 kdb_enter() at kdb_enter+0x3d panic() at panic+0x17b uma_dbg_free() at uma_dbg_free+0x171 uma_zfree_arg() at uma_zfree_arg+0x68 free() at free+0xcd device_set_driver() at device_set_driver+0x7c device_attach() at device_attach+0x19b bus_generic_attach() at bus_generic_attach+0x1a pci_attach() at pci_attach+0xf1 The free() should be the free to free the softc but that implies it had a previous driver and softc. Maybe add some debug info to devclass_set_driver() to print out the previous driver's name (and maybe the value of the pointer) before free'ing the softc. You could use gdb on the kernel.debug and the pointer value to figure out exactly which driver was the previous one and look to see if it's probe routine does something funky with the softc pointer. -- John Baldwin ___ 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: 8 partitions maximum
On 12/1/10, David DEMELIER demelier.da...@gmail.com wrote: 2010/12/1 Paul B Mahol one...@gmail.com: On 12/1/10, David Demelier demelier.da...@gmail.com wrote: On 30/11/2010 23:29, Paul B Mahol wrote: On 11/30/10, David DEMELIERdemelier.da...@gmail.com wrote: 2010/11/30 Paul B Maholone...@gmail.com: On 11/30/10, David DEMELIERdemelier.da...@gmail.com wrote: 2010/11/30 Patrick Lamaizierepatf...@davenulle.org: Le Tue, 30 Nov 2010 21:45:03 +0100, David Demelierdemelier.da...@gmail.com a ecrit : Hello, Hello, We all know that we can only have 8 ufs partitions in one freebsd slice. Since OpenBSD and NetBSD can support at most 32 partitions iirc. I wonder why FreeBSD still lacks more ufs partitions in one slice? Is there any plan to grow up max partitions or every work is dedicated to ZFS? hmmm, isn't already done in 8.X ? from what's cooking for FreeBSD 8.0 http://ivoras.sharanet.org/freebsd/freebsd8.html bsdlabel gets extended to 26 partitions Status: Committed to -CURRENT Will appear in 8.0: sure Author: Marcel Moolenaar Web: commit message bsdlabel is (finally!) extended to support more than 8 partitions. The new limit of 26 partitions comes from the number of lower-case letters. To make use of this change, GEOM_PART needs to be used instead of GEOM_BSD (this is default in 8.0 but will not work with older kernels). I don't have GEOM_PART in my kernel, but if you said it's default it should be pulled in. 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 But why : # /dev/md2s1: 8 partitions: #size offsetfstype [fsize bsize bps/cpg] a: 10m 164.2BSD0 0 b: 10m *4.2BSD0 0 d: 10m *4.2BSD0 0 e: 10m *4.2BSD0 0 f: 10m *4.2BSD0 0 g: 10m *4.2BSD0 0 h: 10m *4.2BSD0 0 i: 10m *4.2BSD0 0 j: 10m *4.2BSD0 0 k: 10m *4.2BSD0 0 c: 20479730unused0 0 # raw part, don't edit line 11: partition name out of range a-h: i line 12: partition name out of range a-h: j line 13: partition name out of range a-h: k re-edit the label? [y]: I'm on 8.1-RELEASE. To make use of such feature you need to recreate table with gpart(8). bsdlabel is not going to work. mark...@melon ~ $ sudo dd if=/dev/zero of=myfile.img bs=1m count=100 100+0 records in 100+0 records out 104857600 bytes transferred in 2.095537 secs (50038530 bytes/sec) mark...@melon ~ $ sudo mdconfig -a -f myfile.img -u 2 mark...@melon ~ $ sudo gpart create -s MBR md2 md2 created mark...@melon ~ $ sudo gpart show md2s1 gpart: No such geom: md2s1. mark...@melon ~ $ sudo gpart add -t freebsd md2 md2s1 added mark...@melon ~ $ sudo gpart add -t freebsd-ufs md2s1 gpart: No such geom: md2s1. mark...@melon ~ $ sudo gpart create -s BSD md2s1 gpart create -s BSD -n 26 md2s1 mark...@melon ~ $ sudo gpart create -s BSD -n 26 md0s1 gpart: entries '26': Invalid argument mark...@melon ~ $ sudo gpart create -s BSD -n 8 md0s1 md0s1 created Looks like max number is 20, up to md2s1t. Yes I saw that it was only 20 max, so how to get 26 partitions using bsdlabel ? :-) It is hardcoded. Not my code. ___ 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
/etc/rc.d/netif em interfaces
I'm having an interesting problem on a fresh 8.1-RELEASE1 install. I'll start by saying this didn't happen on 7.1 on the same exact machine. I've been fighting with this for 2 days now and have come up with no answers on my own, so I'm hoping one of you guys can have some insight here. When I run /etc/rc.d/netif restart (also happens with a stop / start) , I can no longer get to the server over the network. When I do a packet capture on my workstation, it looks like it's MAC address changed somehow. The first two bytes of the address are different. For example, the real MAC is 00:15:17:1b:cf:7a , but I'll see the replies from a MAC of 02:67:17:1b:cf:7a. After each run of /etc/rc.d/netif restart, the first two bytes will change again. I have to reboot the server to get it working again. The em cards in question are: dev.em.0.%desc: Intel(R) PRO/1000 Network Connection 7.0.5 dev.em.0.%pnpinfo: vendor=0x8086 device=0x108c subvendor=0x8086 subdevice=0x348d class=0x02 dev.em.1.%desc: Intel(R) PRO/1000 Legacy Network Connection 1.0.1 dev.em.1.%pnpinfo: vendor=0x8086 device=0x1076 subvendor=0x8086 subdevice=0x348d class=0x02 FWIW, this is on an Intel 1530 series server. Thanks in advance, --Brian -- _-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_ Brian McCann I don't have to take this abuse from you -- I've got hundreds of people waiting to abuse me. -- Bill Murray, Ghostbusters ___ 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: 8 partitions maximum
On Wed, 1 Dec 2010 13:51:48 + Paul B Mahol one...@gmail.com wrote: [snip 9 levels of quoting] It is hardcoded. Not my code. Could you remember to remove excess quotes please? It's getting a bit ridiculous having to scroll past 50 lines to see a one-line reply :) -- Bruce Cran ___ 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: /etc/rc.d/netif em interfaces
On Wed, Dec 1, 2010 at 8:42 AM, Brian McCann bjmcc...@gmail.com wrote: I'm having an interesting problem on a fresh 8.1-RELEASE1 install. I'll start by saying this didn't happen on 7.1 on the same exact machine. I've been fighting with this for 2 days now and have come up with no answers on my own, so I'm hoping one of you guys can have some insight here. When I run /etc/rc.d/netif restart (also happens with a stop / start) , I can no longer get to the server over the network. When I do a packet capture on my workstation, it looks like it's MAC address changed somehow. The first two bytes of the address are different. For example, the real MAC is 00:15:17:1b:cf:7a , but I'll see the replies from a MAC of 02:67:17:1b:cf:7a. After each run of /etc/rc.d/netif restart, the first two bytes will change again. I have to reboot the server to get it working again. The em cards in question are: dev.em.0.%desc: Intel(R) PRO/1000 Network Connection 7.0.5 dev.em.0.%pnpinfo: vendor=0x8086 device=0x108c subvendor=0x8086 subdevice=0x348d class=0x02 dev.em.1.%desc: Intel(R) PRO/1000 Legacy Network Connection 1.0.1 dev.em.1.%pnpinfo: vendor=0x8086 device=0x1076 subvendor=0x8086 subdevice=0x348d class=0x02 FWIW, this is on an Intel 1530 series server. Thanks in advance, --Brian I botched the problem description slightly. In the packet capture on the workstation, the server's MAC is always correct. The response (SYN/ACK packet) from the server is destined to the wrong MAC address. The first two bytes are wrong somehow. The arp table on the server is correct. If I run arp -ad, the problem remains. I've also produced this problem by doing ifconfig em1 down then ifconfig em1 up. To make this problem even stranger, I can make a connection from the server to a workstation without issue. It appears to only be incoming connections. Thanks again, --Brian -- _-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_ Brian McCann I don't have to take this abuse from you -- I've got hundreds of people waiting to abuse me. -- Bill Murray, Ghostbusters ___ 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: /etc/rc.d/netif em interfaces
To make this problem even stranger, I can make a connection from the server to a workstation without issue. It appears to only be incoming We've seen something very similar to this; we assumed it was EEPROM corruption. Is this a Dell PowerEdge by chance? Do you have TSO enabled? (-tso or tso flag in $ifconfig_emX) Does appending up to the end of if $ifconfig_emX solve the problem? ~BAS connections. Thanks again, --Brian ___ 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: /etc/rc.d/netif em interfaces
On Wed, Dec 1, 2010 at 9:29 AM, Brian A. Seklecki (CFI NOC) sekle...@noc.cfi.pgh.pa.us wrote: To make this problem even stranger, I can make a connection from the server to a workstation without issue. It appears to only be incoming We've seen something very similar to this; we assumed it was EEPROM corruption. Is this a Dell PowerEdge by chance? Do you have TSO enabled? (-tso or tso flag in $ifconfig_emX) Does appending up to the end of if $ifconfig_emX solve the problem? ~BAS This isn't a Dell PoweEdge, but at least this is two platforms it's happening on now. Strangely, my VMWare virtual machines that use the em driver do not have this problem. TSO is disabled. I just tried adding up to the $ifconfig_emX lines in rc.conf, and it didn't help. What I discovered (and I'm still playing with a bit), is that it has to do with checksum offloading. If you run ifconfig emX -rxcsum, the interface comes back to life. I just added -rxcsum to the $ifconfig_emX lines in rc.conf, and I can run /etc/rc.d/netif restart now, and the NIC continues to work fine. I tried emailing the folks @ Intel that are mentioned in the man page for the em driver, but the mail bounced... --Brian -- _-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_ Brian McCann I don't have to take this abuse from you -- I've got hundreds of people waiting to abuse me. -- Bill Murray, Ghostbusters ___ 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: 8 partitions maximum
On 1 December 2010 14:13, Bruce Cran br...@cran.org.uk wrote: On Wed, 1 Dec 2010 13:51:48 + Paul B Mahol one...@gmail.com wrote: [snip 9 levels of quoting] It is hardcoded. Not my code. Could you remember to remove excess quotes please? It's getting a bit ridiculous having to scroll past 50 lines to see a one-line reply :) -- Bruce Cran ___ 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 Is this a theoretical exercise as I cant see why you would need that many file systems? Why not just use a EFI layout then you can have 128 file sytems? ___ 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: /etc/rc.d/netif em interfaces
On Wed, Dec 1, 2010 at 10:51 AM, Brian McCann bjmcc...@gmail.com wrote: This isn't a Dell PoweEdge, but at least this is two platforms it's happening on now. Strangely, my VMWare virtual machines that use the em driver do not have this problem. TSO is disabled. I just tried adding up to the $ifconfig_emX lines in rc.conf, and it didn't help. What I discovered (and I'm still playing with a bit), is that it has to do with checksum offloading. If you run ifconfig emX -rxcsum, the interface comes back to life. I just added -rxcsum to the $ifconfig_emX lines in rc.conf, and I can run /etc/rc.d/netif restart now, and the NIC continues to work fine. I tried emailing the folks @ Intel that are mentioned in the man page for the em driver, but the mail bounced... --Brian -- Brian (and everyone else reading the thread), I just found this...the patch was submitted some time ago, but somehow didn't make it into 8.1. http://www.freebsd.org/cgi/query-pr.cgi?pr=141843 . I'm trying it now. I'll keep you posted. --Brian -- _-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_ Brian McCann I don't have to take this abuse from you -- I've got hundreds of people waiting to abuse me. -- Bill Murray, Ghostbusters ___ 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
USB Thumb Drive
I have a need to use a thumb drive on my FBSD8.1/amd64 laptop and when I plugged it in before leaving to make sure I could mount it, I discovered I couldn't. /var/log/messages produced this: Dec 1 11:38:22 blackdragon root: Unknown USB device: vendor 0x0324 product 0xbc06 bus uhub1 Dec 1 11:38:22 blackdragon kernel: ugen1.3: OCZ at usbus1 Dec 1 11:38:22 blackdragon kernel: umass0: OCZ ATV, class 0/0, rev 2.00/11.00, addr 3 on usbus1 Dec 1 11:38:22 blackdragon kernel: umass0: SCSI over Bulk-Only; quirks = 0x Dec 1 11:38:23 blackdragon kernel: umass0:2:0:-1: Attached to scbus2 Dec 1 11:38:23 blackdragon kernel: (probe0:umass-sim0:0:0:0): TEST UNIT READY. CDB: 0 0 0 0 0 0 Dec 1 11:38:23 blackdragon kernel: (probe0:umass-sim0:0:0:0): CAM status: SCSI Status Error Dec 1 11:38:23 blackdragon kernel: (probe0:umass-sim0:0:0:0): SCSI status: Check Condition Dec 1 11:38:23 blackdragon kernel: (probe0:umass-sim0:0:0:0): SCSI sense: UNIT ATTENTION asc:28,0 (Not ready to ready change, medium may have changed) Dec 1 11:38:23 blackdragon kernel: da0 at umass-sim0 bus 0 scbus2 target 0 lun 0 Dec 1 11:38:23 blackdragon kernel: da0: OCZ ATV 1100 Removable Direct Access SCSI-0 device Dec 1 11:38:23 blackdragon kernel: da0: 40.000MB/s transfers Dec 1 11:38:23 blackdragon kernel: da0: 30592MB (62652416 512 byte sectors: 255H 63S/T 3899C) Dec 1 11:38:24 blackdragon kernel: GEOM: da0: partition 1 does not start on a track boundary. Dec 1 11:38:24 blackdragon kernel: GEOM: da0: partition 1 does not end on a track boundary. Dec 1 11:38:24 blackdragon console-kit-daemon[1135]: WARNING: kvm_getenvv failed: cannot open /proc/31126/mem Dec 1 11:38:58 blackdragon kernel: GEOM: da0: partition 1 does not start on a track boundary. Dec 1 11:38:58 blackdragon kernel: GEOM: da0: partition 1 does not end on a track boundary. when I try to mount the device da0 I get [r...@blackdragon [~]# kldload ntfs (just so I can read from the device and copy what I wanted off it) [r...@blackdragon [~]# mount -t ntfs /dev/da0 /mnt/thumb mount_ntfs: /dev/da0: Invalid argument [r...@blackdragon [~]# 'uname -a' FreeBSD blackdragon.xaerolimit.net 8.1-RELEASE-p1 FreeBSD 8.1-RELEASE-p1 #2: Sat Oct 30 02:55:00 EDT 2010 r...@blackdragon.xaerolimit.net:/usr/obj/usr/src/sys/BlackDragon amd64 usbconfig: ugen1.3: ATV OCZ at usbus1, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON did I miss something? -- Did you know... If you play a Windows 2000 CD backwards, you hear satanic messages, but what's worse is when you play it forward ...it installs Windows 2000 -- Alfred Perlstein on chat at freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: USB Thumb Drive
On Wed, 1 Dec 2010 11:47:26 -0500 Chris Brennan xa...@xaerolimit.net wrote: did I miss something? Is it partitioned? Try ls /dev/da0* to see if there's a /dev/da0s1 entry (for example). If so, try and mount that. To see if there's a filesystem on the disk you can run file -s against the device node. e.g. /dev/ada0s3: x86 boot sector, code offset 0x52, OEM-ID NTFS, sectors/cluster 8, reserved sectors 0, Media descriptor 0xf8, heads 255, hidden sectors 440608768, dos 4.0 BootSector (0x80) That tells me /dev/ada0s3 has an NTFS filesystem. -- Bruce Cran ___ 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: USB Thumb Drive
On Wed, 1 Dec 2010 11:47:26 -0500 Chris Brennan xa...@xaerolimit.net wrote: [r...@blackdragon [~]# kldload ntfs (just so I can read from the device and copy what I wanted off it) [r...@blackdragon [~]# mount -t ntfs /dev/da0 /mnt/thumb mount_ntfs: /dev/da0: Invalid argument I think Windows defaults to FAT32 on removable drives, so you might need to use '-t msdosfs' instead. In newer versions of Windows you can also format disks using exFAT which I don't believe is supported in the open source world yet. -- Bruce Cran ___ 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
Problem building netdisco 1.0 from ports on FreeBSD
Working on 7.1 Release. Ports tree up to date, and a portupgrade -a done yesterday was successful. I did the following: # cd /usr/ports/net-mgmt/netdisco # make install It bombs out with the below errors - I think it's an error in libXaw, but can't quite be sure. Any thoughts? Kurt ===Verifying install for /usr/local/libdata/pkgconfig/xaw7.pc in /usr/ports/x11-toolkits/libXaw === Building for libXaw-1.0.7,1 make all-recursive Making all in include Making all in src CC libXaw6_la-Actions.lo Actions.c:38:28: error: X11/IntrinsicP.h: No such file or directory Actions.c:39:28: error: X11/StringDefs.h: No such file or directory Actions.c:40:23: error: X11/CoreP.h: No such file or directory Actions.c:41:28: error: X11/Constraint.h: No such file or directory Actions.c:42:29: error: X11/Xmu/CharSet.h: No such file or directory Actions.c:43:29: error: X11/Xmu/SysUtil.h: No such file or directory In file included from Actions.c:45: Private.h:149: error: expected ')' before '*' token *** Error code 1 Stop in /usr/ports/x11-toolkits/libXaw/work/libXaw-1.0.7/src. *** Error code 1 Stop in /usr/ports/x11-toolkits/libXaw/work/libXaw-1.0.7. *** Error code 1 Stop in /usr/ports/x11-toolkits/libXaw/work/libXaw-1.0.7. *** Error code 1 Stop in /usr/ports/x11-toolkits/libXaw. *** Error code 1 Stop in /usr/ports/graphics/graphviz. *** Error code 1 Stop in /usr/ports/graphics/graphviz. *** Error code 1 Stop in /usr/ports/graphics/p5-GraphViz. *** Error code 1 Stop in /usr/ports/net-mgmt/netdisco. ___ 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: USB Thumb Drive
On Wed, 1 Dec 2010 17:00:00 + Bruce Cran br...@cran.org.uk articulated: On Wed, 1 Dec 2010 11:47:26 -0500 Chris Brennan xa...@xaerolimit.net wrote: [r...@blackdragon [~]# kldload ntfs (just so I can read from the device and copy what I wanted off it) [r...@blackdragon [~]# mount -t ntfs /dev/da0 /mnt/thumb mount_ntfs: /dev/da0: Invalid argument I think Windows defaults to FAT32 on removable drives, so you might need to use '-t msdosfs' instead. In newer versions of Windows you can also format disks using exFAT which I don't believe is supported in the open source world yet. I believe that exFAT is the default in Windows 7. In any case, there is no support for it in FreeBSD; although I believe there is support, rudimentary perhaps, in Linux. Wikipedia (http://en.wikipedia.org/wiki/ExFAT#Licensing) -- Jerry ✌ freebsd.u...@seibercom.net Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header. __ ___ 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: OpenSSL Optimizations
On Nov 30, 2010, at 5:48 PM, Devin Teske wrote: On Tue, 2010-11-30 at 16:00 -0800, Chuck Swiger wrote: On Nov 30, 2010, at 3:19 PM, Devin Teske wrote: I'm trying to determine what -- if any -- compiler optimizations are applied to crytpo libs/engines in FreeBSD, and the following output is not very helpful: The default compiler flags are: cc -O2 -fno-strict-aliasing That's not the type of optimizations I was referring to. Well, I can only respond to what you've written. :-) Rather, I was referring to OpenSSL specific optimizations such as the *_ASM compile- time directives et cetera. When pitting the following (built from source via openssl.org): OpenSSL 0.9.8k 25 Mar 2009 built on: Tue Sep 1 07:48:40 PDT 2009 platform: BSD-x86-elf options: bn(64,32) md2(int) rc4(idx,int) des(ptr,risc1,16,long) idea(int) blowfish(idx) compiler: gcc -fPIC -DOPENSSL_PIC -DOPENSSL_THREADS -pthread -D_THREAD_SAFE -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DL_ENDIAN -DTERMIOS -O3 -fomit-frame-pointer -Wall -DOPENSSL_BN_ASM_PART_WORDS -DSHA1_ASM -DMD5_ASM -DRMD160_ASM -DAES_ASM OPENSSLDIR: /etc/ssl against the default (provided by FreeBSD): OpenSSL 0.9.8k 25 Mar 2009 built on: date not available platform: FreeBSD-i386 options: bn(64,32) md2(int) rc4(idx,int) des(ptr,risc1,16,long) blowfish(idx) compiler: cc OPENSSLDIR: /etc/ssl The baseline FreeBSD version (which reports only cc) is _faster_ than the same exact version of OpenSSL taken from OpenSSL.org compiled with optimizations. I can't possibly believe that the FreeBSD baseline version is _not_ optimized given empirical testing. I also doubt that `-O2' and `-fno- strict-aliasing' are the only optimization flags used (and I can prove that this is not the case). Well, I did a nohup make buildworld using 7-STABLE sources and grep'ed for obvious strings, and I see: [ ... ] cc -O2 -fno-strict-aliasing -pipe -DTERMIOS -DANSI_SOURCE -I/usr/src/secure/usr.bin/openssl/../../../crypto/openssl -I/usr/src/secure/usr.bin/openssl/../../../crypto/openssl/crypto -I/usr/obj/usr/src/secure/usr.bin/openssl -DOPENSSL_THREADS -DDSO_DLFCN -DHAVE_DLFCN_H -DOPENSSL_NO_IDEA -DL_ENDIAN -DMONOLITH -I/usr/src/secure/usr.bin/openssl -DNO_IDEA -c /usr/src/secure/usr.bin/openssl/../../../crypto/openssl/apps/x509.c cc -O2 -fno-strict-aliasing -pipe -DTERMIOS -DANSI_SOURCE -I/usr/src/secure/usr.bin/openssl/../../../crypto/openssl -I/usr/src/secure/usr.bin/openssl/../../../crypto/openssl/crypto -I/usr/obj/usr/src/secure/usr.bin/openssl -DOPENSSL_THREADS -DDSO_DLFCN -DHAVE_DLFCN_H -DOPENSSL_NO_IDEA -DL_ENDIAN -DMONOLITH -I/usr/src/secure/usr.bin/openssl -DNO_IDEA -o openssl app_rand.o apps.o asn1pars.o ca.o ciphers.o cms.o crl.o crl2p7.o dgst.o dh.o dhparam.o dsa.o dsaparam.o ec.o ecparam.o enc.o engine.o errstr.o gendh.o gendsa.o genrsa.o nseq.o ocsp.o openssl.o passwd.o pkcs12.o pkcs7.o pkcs8.o prime.o rand.o req.o rsa.o rsautl.o s_cb.o s_client.o s_server.o s_socket.o s_time.o sess_id.o smime.o speed.o spkac.o verify.o version.o x509.o -lssl -lcrypto I also grep'ed for the _ASM strings you seem to be interested in, and libmd is built with: mkdep -f .depend -a-I/usr/src/lib/libmd -DSHA1_ASM -DELF -DRMD160_ASM -DELF /usr/src/lib/libmd/md2c.c /usr/src/lib/libmd/md4c.c /usr/src/lib/libmd/md5c.c md2hl.c md4hl.c md5hl.c /usr/src/lib/libmd/rmd160c.c rmd160hl.c /usr/src/lib/libmd/sha0c.c sha0hl.c /usr/src/lib/libmd/sha1c.c sha1hl.c /usr/src/lib/libmd/sha256c.c sha256hl.c /usr/src/lib/libmd/i386/sha.S /usr/src/lib/libmd/i386/rmd160.S cc -O2 -fno-strict-aliasing -pipe -I/usr/src/lib/libmd -DSHA1_ASM -DELF -DRMD160_ASM -DELF -c /usr/src/lib/libmd/md2c.c [ ... ] I'm seriously considering the following patch: --- Makefile.inc.orig Wed Aug 7 09:31:48 2002 +++ Makefile.incTue Nov 30 17:45:53 2010 @@ -39,7 +39,7 @@ CLEANDIRS+= openssl buildinf.h: ( echo #ifndef MK1MF_BUILD; \ echo /* auto-generated by crypto/Makefile.ssl for crypto/cversion.c */; \ - echo #define CFLAGS \$(CC)\; \ + echo #define CFLAGS \$(CC) $(CFLAGS)\; \ echo #define PLATFORM \`uname -s`-`uname -m`\; \ echo #define DATE \`LC_ALL=C date`\; \ echo #endif ) ${.TARGET} Although, there surely must be a reason as to why this hasn't been done in the past, No? That seems like a good idea. The version of openssl from ports includes the compiler flags: # /usr/local/bin/openssl version -a OpenSSL 1.0.0b 16 Nov 2010 built on: Wed Nov 17 15:13:42 EST 2010 platform: BSD-x86-elf options: bn(64,32) md2(int) rc4(4x,int) des(ptr,risc1,16,long) idea(int) blowfish(idx) compiler: cc -fPIC -DOPENSSL_PIC -DZLIB_SHARED -DZLIB -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DL_ENDIAN -DTERMIOS -O3 -fomit-frame-pointer -Wall -O2 -fno-strict-aliasing -pipe -DOPENSSL_BN_ASM_PART_WORDS -DOPENSSL_BN_ASM_MONT -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DMD5_ASM -DRMD160_ASM -DAES_ASM
Re: Problem building netdisco 1.0 from ports on FreeBSD
On Wed, Dec 1, 2010 at 11:09 AM, Kurt Buff kurt.b...@gmail.com wrote: Working on 7.1 Release. Ports tree up to date, and a portupgrade -a done yesterday was successful. I did the following: # cd /usr/ports/net-mgmt/netdisco # make install It bombs out with the below errors - I think it's an error in libXaw, but can't quite be sure. Any thoughts? Kurt === Verifying install for /usr/local/libdata/pkgconfig/xaw7.pc in /usr/ports/x11-toolkits/libXaw === Building for libXaw-1.0.7,1 make all-recursive Making all in include Making all in src CC libXaw6_la-Actions.lo Actions.c:38:28: error: X11/IntrinsicP.h: No such file or directory Actions.c:39:28: error: X11/StringDefs.h: No such file or directory Actions.c:40:23: error: X11/CoreP.h: No such file or directory Actions.c:41:28: error: X11/Constraint.h: No such file or directory Actions.c:42:29: error: X11/Xmu/CharSet.h: No such file or directory Actions.c:43:29: error: X11/Xmu/SysUtil.h: No such file or directory In file included from Actions.c:45: Private.h:149: error: expected ')' before '*' token [SNIP] It seems that the header files can't be found. Have you checked /usr/local/include/X11 to verify their existence? If not, perhaps you should (re)install libX11 (I thinks that's where the header files above are found). -Brandon -Brandon ___ 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: USB Thumb Drive
On Wed, Dec 01, 2010 at 01:10:25PM -0500, Jerry wrote: On Wed, 1 Dec 2010 17:00:00 + Bruce Cran br...@cran.org.uk articulated: On Wed, 1 Dec 2010 11:47:26 -0500 Chris Brennan xa...@xaerolimit.net wrote: [r...@blackdragon [~]# kldload ntfs (just so I can read from the device and copy what I wanted off it) [r...@blackdragon [~]# mount -t ntfs /dev/da0 /mnt/thumb mount_ntfs: /dev/da0: Invalid argument I think Windows defaults to FAT32 on removable drives, so you might need to use '-t msdosfs' instead. In newer versions of Windows you can also format disks using exFAT which I don't believe is supported in the open source world yet. Sorry I didn't keep the thread, but, in case it is helpful, here is the line in my /etc/fstab for my USB stick plug-ins. (There are some other USB devices that use up da0 and da1) /dev/da2s1 /stick msdosfs rw,noauto 0 0 I just plug one in, su to root, type 'mount /stick' and then can read it just fine - even from non-root. I do this frequently to suck .jpg files off the cards from my digital camera. (I have an adapter to make them USB plug-in-able). I can write as root, but I haven't messed around figuring out if I can manage to write as non-root. As you see, it is msdosfs or in other words, FAT32. I don't know anything about the exFAT mentioned below. jerry I believe that exFAT is the default in Windows 7. In any case, there is no support for it in FreeBSD; although I believe there is support, rudimentary perhaps, in Linux. Wikipedia (http://en.wikipedia.org/wiki/ExFAT#Licensing) -- Jerry ??? freebsd.u...@seibercom.net Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header. __ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: USB Thumb Drive
On Dec 1, 2010, at 12:10 PM, Jerry wrote: On Wed, 1 Dec 2010 17:00:00 + Bruce Cran br...@cran.org.uk articulated: On Wed, 1 Dec 2010 11:47:26 -0500 Chris Brennan xa...@xaerolimit.net wrote: [r...@blackdragon [~]# kldload ntfs (just so I can read from the device and copy what I wanted off it) [r...@blackdragon [~]# mount -t ntfs /dev/da0 /mnt/thumb mount_ntfs: /dev/da0: Invalid argument I think Windows defaults to FAT32 on removable drives, so you might need to use '-t msdosfs' instead. In newer versions of Windows you can also format disks using exFAT which I don't believe is supported in the open source world yet. I believe that exFAT is the default in Windows 7. In any case, there is no support for it in FreeBSD; although I believe there is support, rudimentary perhaps, in Linux. Wikipedia (http://en.wikipedia.org/wiki/ExFAT#Licensing) As the page says, it's READ ONLY in Linux... kinda pathetic. Thanks, Microsoft, for changing things AGAIN so you cannot be shared safely with others. Any thoughts on when hey might require their users to wear latex gloves when using something other than Windows? -- Ryan___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Can MS Exchange play nice with the mailing lists?
You might also try sending a message from the exchange server to another email account of yours, so you can examine the headers on the outgoing message for anything strange. ___ 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: USB Thumb Drive
Thanks all for the feedback, problem solved, details below. Bruce - /dev/ad0s1 did the trick ... I was in such a hurry, I forgot to actually look further, I was in a hurry and got impatient :P. file -s /dev/DEVICE is a nice little trick, gonna have to tuck this one away for another rainy day when I am stuck. The drive is ntfs, I formatted it that way (I lost nearly 8gb of the 32gb capasity because of fat32). [..] [r...@blackdragon [~]# file -s /dev/da0s1 /dev/da0s1: x86 boot sector, code offset 0x52, OEM-ID NTFS, sectors/cluster 8, reserved sectors 0, Media descriptor 0xf8, heads 255, hidden sectors 2048, dos 4.0 BootSector (0x0) [..] [r...@blackdragon [~]# mount | grep thumb /dev/da0s1 on /mnt/thumb (ntfs, local) [r...@blackdragon [~]# [..] Jerry - I kinda like the idea of exFAT but I don't put much stock in it (yet). It is by far not a tried-and-true filesystem yet. And since M$ has there hands in it, I doubt we'll see legit F/OSS drivers for it anytime soon. Jerry McAllister - your fstab entry is my next step, thanks for the reminder though :D Ryan - As I was saying to Jerry, I don't think we'll see reliable exFAT drivers for the *nix world anytime soon :( It's sad really. M$ might actually get something right in exFAT and it becomes a viable, scalable alternative to NTFS. ___ 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: 8 partitions maximum
2010/12/1 krad kra...@gmail.com: On 1 December 2010 14:13, Bruce Cran br...@cran.org.uk wrote: On Wed, 1 Dec 2010 13:51:48 + Paul B Mahol one...@gmail.com wrote: [snip 9 levels of quoting] It is hardcoded. Not my code. Could you remember to remove excess quotes please? It's getting a bit ridiculous having to scroll past 50 lines to see a one-line reply :) -- Bruce Cran ___ 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 Is this a theoretical exercise as I cant see why you would need that many file systems? Why not just use a EFI layout then you can have 128 file sytems? ___ 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 Yes it is just exercises, I heard bsdlabel was grow up so I wanted to test, now I don't really understand why it's fixed to 20 only. I also wanted to try partitionning a disk using only gpart and not fdisk/bsdlabel at all so to check if what announced is real but it seems not :-). Kind regards, -- Demelier David ___ 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: USB Thumb Drive
On Wed, 1 Dec 2010 12:36:43 -0600 Ryan Coleman ryan.cole...@cwis.biz articulated: As the page says, it's READ ONLY in Linux... kinda pathetic. Thanks, Microsoft, for changing things AGAIN so you cannot be shared safely with others. First of all, exFAT is a major improvement over FAT32 for Flash drives. The fact that it is apparently only READ ONLY in a Linux environment has nothing to do with Microsoft but rather with the FOSS community at large. They could either purchase a license, which of course they won't; or they could reverse engineer a driver for it. There is also this link on the page: http://www.tuxera.com/products/exfat-for-embedded-systems/ Perhaps that might be of assistance. In any case, I find using removable drives far easier on a Microsoft machine anyway ___ 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
Success! (Was Re: pkg_add fail on FreeBSD V8.0)
Thanks Guys. (Jason H, Chuck S and Polytropon.) OK. I managed to get Hiawatha compiled, installed, configured and running! It even works, though I've not yet finished reading up on all it's features etc, so it'll be a while before I let it loose on the public, but so far, it appears to work well. I also managed to duplicate it all on the V8.1 machine I have to play with at work, so I can fiddle during a lunch break, also having SSH access to the V8.0 box here at home too now, from my desk at work. ;-) I'm liking F'BSD more and more, and with multiple SSH terminals open on another PC, it's getting easier to understand. Guess in time I'll look to running X on the thing, and do it that way, but for now, headless via SSH over the LAN works just fine. I've got a lot of other stuff to do now, so the BSD box's will have to look after themselves for a little while, till I catch up on things. I'm sure I'll be back when something else puzzles me. Many thanks again people. Best Regards. Dave 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: Can MS Exchange play nice with the mailing lists?
On Wed, Dec 1, 2010 at 8:09 PM, David Brodbeck g...@gull.us wrote: You might also try sending a message from the exchange server to another email account of yours, so you can examine the headers on the outgoing message for anything strange. ___ 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 installed a mail server recently (dovecot/postfix), that checks for the HELO message. I wasn't able to send any mail from Outlook. The problem beeing that Outlook send its hostname as HELO message... r...@mephibox : tail -f /var/log/mail.log [..] # starting outlook Dec 1 21:34:12 localhost dovecot: imap-login: Login: user=faust, method=PLAIN, rip=my_ip, lip=srv_ip Dec 1 21:34:13 localhost dovecot: IMAP(faust): Disconnected in IDLE Dec 1 21:34:13 localhost dovecot: imap-login: Login: user=faust, method=PLAIN, rip=my_ip, lip=srv_ip Dec 1 21:34:14 localhost dovecot: IMAP(faust): Disconnected in IDLE # sending mail Dec 1 21:34:44 localhost postfix/smtpd[11381]: connect from ma_box[my_ip] Dec 1 21:34:44 localhost postfix/smtpd[11381]: NOQUEUE: reject: RCPT from ma_box[my_ip]: 504 5.5.2 beta: Helo command rejected: need fully-qualified hostname; from=fa...@example.com to=faus...@other.example.com proto=SMTP helo=beta Dec 1 21:34:44 localhost postfix/smtpd[11381]: disconnect from ma_box[my_ip] beta beeing my WinXP client's hostname I tried to change my hostname to beta.example.com, but windows keeps saying I can't put dots in this field... Then, I checked the 'Domain' option (instead of 'Workgroup'), typed my domain name, tryied to connect ... Checking the error details, the main idea was that there wasn't any ldap record in my DNS (which is wrong, there's just no LDAP at that address). It ended up that there's no way I would setup any LDAP server to provide mail services to my VMs. So... back to your problem, first thing to check: are you member of your mail server's domain? Did IT correctly configured your computer/Are you trying from your own laptop? Even if you can send mail to other members of your domain or a large part of mail servers (mostly based on exchange, poorly configured postfix, ...): I won't be surprise if Exchange isn't checking the HELO message... -- Samuel Martín Moro {EPITECH.} tek5 CamTrace S.A.S (+033) 1 41 38 37 60 1 Allée de la Venelle 92150 Suresnes FRANCE /* * If the new process paused because it was * swapped out, set the stack level to the last call * to savu(u_ssav). This means that the return * actually returns from the last routine which did * the savu. * * You are not expected to understand this. */ if(rp-p_flagSSWAP) { rp-p_flag = ~SSWAP; aretu(u.u_ssav); } Unix V6 Kernel ___ 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: Rebuilding perl with threads
Previously, I wrote I'm in a process of installing a new server. I have already built and installed a lot of ports over the past weeks, and now that I'm almost done I discovered that one of the last things I need to install (misc/amanda-server) needs Perl installed with threads support, whereas I have it installed without threads. For this kind of change, is it safe to reinstall just the Perl port, or do I also need to rebuild all ports that depend on Perl? That would be a *lot* of rebuilding. The version I currently have installed is perl-5.12.2_2, lang/perl5.12 seems to currently be at 5.12.4. I can now report that there will be problems if you rebuild just the perl port. I used portmaster to perform this task. Then I discovered that (at least some of the) libraries built against non-threaded Perl refuse to be loaded with threaded Perl. A rather typical error message you'll see is 'Undefined symbolPL_sv_undef'. In order to get amavisd-new running again, I rebuilt the following ports using portmaster: devel/p5-Time-HiRes sysutils/p5-Unix-Syslog security/p5-Crypt-OpenSSL-RSA www/p5-HTML-Parser converters/p5-Convert-UUlib textproc/p5-YAML-Tiny devel/p5-ExtUtils-CBuilder devel/p5-ExtUtils-ParseXS devel/p5-ExtUtils-Install devel/p5-version devel/p5-Module-Build converters/p5-Encode-Detect net/p5-IO-Socket-INET6 net/p5-Socket6 I now have amavisd-new running again, but it is possible that I'll discover more (non-amavisd-related) ports that need rebuilding. -- Toomas Aas ___ 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: Problem building netdisco 1.0 from ports on FreeBSD
On Wed, Dec 1, 2010 at 10:01, Brandon Gooch jamesbrandongo...@gmail.com wrote: On Wed, Dec 1, 2010 at 11:09 AM, Kurt Buff kurt.b...@gmail.com wrote: Working on 7.1 Release. Ports tree up to date, and a portupgrade -a done yesterday was successful. I did the following: # cd /usr/ports/net-mgmt/netdisco # make install It bombs out with the below errors - I think it's an error in libXaw, but can't quite be sure. Any thoughts? Kurt === Verifying install for /usr/local/libdata/pkgconfig/xaw7.pc in /usr/ports/x11-toolkits/libXaw === Building for libXaw-1.0.7,1 make all-recursive Making all in include Making all in src CC libXaw6_la-Actions.lo Actions.c:38:28: error: X11/IntrinsicP.h: No such file or directory Actions.c:39:28: error: X11/StringDefs.h: No such file or directory Actions.c:40:23: error: X11/CoreP.h: No such file or directory Actions.c:41:28: error: X11/Constraint.h: No such file or directory Actions.c:42:29: error: X11/Xmu/CharSet.h: No such file or directory Actions.c:43:29: error: X11/Xmu/SysUtil.h: No such file or directory In file included from Actions.c:45: Private.h:149: error: expected ')' before '*' token [SNIP] It seems that the header files can't be found. Have you checked /usr/local/include/X11 to verify their existence? If not, perhaps you should (re)install libX11 (I thinks that's where the header files above are found). -Brandon Thanks for the help, Brandon. Checked /usr/local/include/X11, and none of the files listed above (IntrinsicP.h, StringDefs.h, etc.) are there. cd'ed to /usr/ports/x11/libX11, did a 'make deinstall', 'make clean', 'make install' - same results. Any other thoughts? Kurt ___ 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: Problem building netdisco 1.0 from ports on FreeBSD
On Wed, 1 Dec 2010 14:27:48 -0800, Kurt Buff kurt.b...@gmail.com wrote: On Wed, Dec 1, 2010 at 10:01, Brandon Gooch jamesbrandongo...@gmail.com wrote: It seems that the header files can't be found. Have you checked /usr/local/include/X11 to verify their existence? If not, perhaps you should (re)install libX11 (I thinks that's where the header files above are found). -Brandon Thanks for the help, Brandon. Checked /usr/local/include/X11, and none of the files listed above (IntrinsicP.h, StringDefs.h, etc.) are there. cd'ed to /usr/ports/x11/libX11, did a 'make deinstall', 'make clean', 'make install' - same results. Any other thoughts? You'll need libXt for that, I think. -- 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: Problem building netdisco 1.0 from ports on FreeBSD
On Wed, Dec 1, 2010 at 14:33, Polytropon free...@edvax.de wrote: On Wed, 1 Dec 2010 14:27:48 -0800, Kurt Buff kurt.b...@gmail.com wrote: On Wed, Dec 1, 2010 at 10:01, Brandon Gooch jamesbrandongo...@gmail.com wrote: It seems that the header files can't be found. Have you checked /usr/local/include/X11 to verify their existence? If not, perhaps you should (re)install libX11 (I thinks that's where the header files above are found). -Brandon Thanks for the help, Brandon. Checked /usr/local/include/X11, and none of the files listed above (IntrinsicP.h, StringDefs.h, etc.) are there. cd'ed to /usr/ports/x11/libX11, did a 'make deinstall', 'make clean', 'make install' - same results. Any other thoughts? You'll need libXt for that, I think. Excellent! That worked well. Still getting an error, but it's clear that libXmu is what I need next. Also, very strange that it's not installing dependencies as expected, but I can deal with that. Thanks, Kurt ___ 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
swap pager:indefinite wait buffer: message out of vm.c
Hi, Would some kind soul please tell me the meaning of a message coming from vm.c (FreeBSD 7.2): swap pager: indefinite wait buffer: bufobj: 0, blkno: 2, size: 4096 This message occurs after a return from an msleep whose last args are PSWP, swread, and HZ*20 . When it occurs, some interactive program is locked up. It recovers sometime later. My best guess is that this is a complaint that swap or paging I/O has been excessively delayed. It is occurring while I am running disk-to-disk transfers that have deep buffering. Think mbuf(1), but it's my own code, testing some algorithms. I speculate that if the disk queuing/head movement optimization doesn't let the heads move off the file system where the file resides (and I only see this with large, single files) then this problem might result. But that is a guess, and speculation. Does anyone know if this can occur under later versions of FreeBSD? Thank you for your help. Mark Terribile materrib...@yahoo.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: CURRENT: Issue with ZFS and 2TB WD HDD (WDC WD20EURS-63Z9B1 80.00A80)
On 11/29/10 19:32, James R. Van Artsdalen wrote: O. Hartmann wrote: Attached to the system are three WD harddrives with ZFS as filesystem on GPT partitioning scheme. Please send the output of camcontrol devlist and zpool status on FreeBSD-8.1. Then export the pool in FreeBSD-8.1, boot FreeBSD-9 with verbose booting and send the output of camcontrol devlist, zpool import BACKUP and the part of /var/log/messages that shows FreeeBSD searching for the pool during the import. Appended, you'll find some of the requested data. There is no valuable dmesg/message output, due to the simple fact, that after yesterday's make world and another import try the BACKUP00 pool was imported. The only thing to report is, that while importing the BACKUP00 pool, which is on devise ada3, I got an message on console like: Nov 29 21:13:36 0.2 thor kernel: ZFS WARNING: Unable to attach to ada1. This strange message always came up when importing the BACKUP00 pool (BACKUP is a typo, sorry for the inconvenience) and when it was about to fail. It might be useful to know what disk controller is being used. = 34 3907029101 ada3 GPT (1.8T) 344062- free - (2.0M) 4096 3907025039 1 freebsd-zfs (1.8T) It is not related to your problem, but how did that unused space wind up before partition 1? Well, my fault. I initiated the partitions with the -b 4096 option set for the first partition. It was so nice and at ease playing around with gpart ... And here comes the data requested: #FreeBSD 8.2-PRE/amd64 -- camcontrol devlist WDC WD5001AALS-00L3B2 01.03B01 at scbus4 target 0 lun 0 (pass0,ada0) WDC WD1001FALS-00J7B0 05.00K05 at scbus5 target 0 lun 0 (pass1,ada1) WDC WD1001FALS-00J7B0 05.00K05 at scbus6 target 0 lun 0 (pass2,ada2) WDC WD20EURS-63Z9B1 80.00A80 at scbus7 target 0 lun 0 (pass3,ada3) HL-DT-ST DVDRAM GH22LS50 TL03at scbus9 target 0 lun 0 (cd0,pass4) #FreeBSD 9.0-CURRENT/amd64 -- camcontrol devlist WDC WD6402AAEX-00Y9A0 01.01V01 at scbus4 target 0 lun 0 (pass0,ada0) WDC WD1001FALS-00J7B0 05.00K05 at scbus5 target 0 lun 0 (pass1,ada1) WDC WD1001FALS-00J7B0 05.00K05 at scbus6 target 0 lun 0 (pass2,ada2) WDC WD20EURS-63Z9B1 80.00A80 at scbus7 target 0 lun 0 (pass3,ada3) WDC WD5001AALS-00L3B2 01.03B01 at scbus8 target 0 lun 0 (pass4,ada4) HL-DT-ST DVDRAM GH22LS50 TL03at scbus9 target 0 lun 0 (cd0,pass5) (needed to swap 1st and 5th drive since FBSD 8 was installed with MBR and no labels and needed device special file for mounting partitions while on FreeBSD 9 I used the first time GPT partitioning scheme with labeling for mounting via /etc/fstab) #FreeBSD 8 zpool status: pool: BACKUP00 state: ONLINE scrub: none requested config: NAMESTATE READ WRITE CKSUM BACKUP00ONLINE 0 0 0 ada3p1ONLINE 0 0 0 errors: No known data errors pool: THOR00 state: ONLINE scrub: none requested config: NAMESTATE READ WRITE CKSUM THOR00 ONLINE 0 0 0 ada1p1ONLINE 0 0 0 ada2p1ONLINE 0 0 0 errors: No known data errors #FreeBSD 8 pciconf -lcv (for the requested controller) ah...@pci0:0:31:2: class=0x010601 card=0x82d41043 chip=0x3a228086 rev=0x00 hdr=0x00 vendor = 'Intel Corporation' device = '6 port SATA AHCI Controller' class = mass storage subclass = SATA cap 05[80] = MSI supports 16 messages enabled with 1 message cap 01[70] = powerspec 3 supports D0 D3 current D0 cap 12[a8] = SATA Index-Data Pair cap 09[b0] = vendor (length 6) Intel cap 2 version 0 In kernel config, I use AHCI driver modell, not the atapi one, but I guess this is obvious due to 'adaXX' ... And by the way, the 2 TB drive in question is sold as a 'PVR/VCR video special device, I mistakenly ordered this one since it promissed low power, high sustain-reliability (it is used for backups), but some web sites claim that the controller of this specific, expensive 2 TB hdd deals different with errornous blocks read or written out - I can not verify this, since I have no technical paper nor do I understand much of HDD electrical engineering ... Regards, 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
How to running air video server on FreeBSD
Enviado desde mi iPad ___ 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
No resopnse on FreeBSD questions
Is the questions site and the test server off line? -- ~Al Plant - Honolulu, Hawaii - Phone: 808-284-2740 + http://hawaiidakine.com + http://freebsdinfo.org + + http://aloha50.net - Supporting - FreeBSD 7.2 - 8.0 - 9* + email: n...@hdk5.net All that's really worth doing is what we do for others.- Lewis Carrol ___ 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: 8.1-RELEASE hangs on reboot
On 1 Dec, Ondřej Majerech wrote: Hello, my 8.1-R system has just started hanging on reboot. Specifically after I svn up'd my source and updated from 8.1-R-p1 to -p2. Some kind of hang occurs on every reboot attempt. Usually it hangs at the Rebooting... message, but sometimes the thing just locks up before it even syncs disks. shutdown -p now seems to shutdown the system successfully each time. One of my systems running 8.1-STABLE started reliably(?) hanging at the Rebooting... step whenever try to reboot it. It's been doing this for the last month or so. I haven't seen the earlier hang. 9.0-CURRENT on the same hardware doesn't experience this problem. I haven't had time to try to debug this, so I've just been using the reset switch when it hangs. ___ 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: USB Thumb Drive
In freebsd-questions Digest, Vol 339, Issue 6, Message: 22 On Wed, 1 Dec 2010 15:59:30 -0500 Jerry freebsd.u...@seibercom.net wrote: On Wed, 1 Dec 2010 12:36:43 -0600 Ryan Coleman ryan.cole...@cwis.biz articulated: As the page says, it's READ ONLY in Linux... kinda pathetic. Thanks, Microsoft, for changing things AGAIN so you cannot be shared safely with others. First of all, exFAT is a major improvement over FAT32 for Flash drives. So is UFS, especially if you use suitable parameters to makefs :) The fact that it is apparently only READ ONLY in a Linux environment has nothing to do with Microsoft but rather with the FOSS community at large. They could either purchase a license, which of course they won't; or they could reverse engineer a driver for it. That's rich, Jerry .. you expect FREE, OPEN SOURCE operating systems to pay Microsoft for a licence to implement a PROPRIETARY, CLOSED SOURCE, PATENT-PENDING filesystem? Or reverse engineer it and risk a lawsuit for patent infringement, should the US Patent Office rubber-stamp it? Ok, benefit of the doubt: how much would a licence to implement exFAT so it can be freely distributed with FreeBSD cost the FreeBSD Foundation? No real clues at: http://www.microsoft.com/about/legal/en/us/IntellectualProperty/IPLicensing/Programs/exFATFileSystem.aspx?pf=true but as an insider you should be able to get us some more solid info? There is also this link on the page: http://www.tuxera.com/products/exfat-for-embedded-systems/ Perhaps that might be of assistance. To the ability to freely distribute exFAT access with FreeBSD? Hardly. In any case, I find using removable drives far easier on a Microsoft machine anyway Unless you were being compensated for such inconvenience, it's amazing that you'd ever consider using anything other than 'Microsoft machines'. 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: CURRENT: Issue with ZFS and 2TB WD HDD (WDC WD20EURS-63Z9B1 80.00A80)
On 12/1/2010 5:36 PM, O. Hartmann wrote: There is no valuable dmesg/message output, due to the simple fact, that after yesterday's make world and another import try the BACKUP00 pool was imported. The only thing to report is, that while importing the BACKUP00 pool, which is on devise ada3, I got an message on console like: Nov 29 21:13:36 0.2 thor kernel: ZFS WARNING: Unable to attach to ada1. Unfortunately until the problem reproduces there's no way to dig into it further. boot-verbose will show what ZFS finds when it scans ada3p1 both for the pool and for the vdev (by GUID). ZFS can't claim ada1 since that's GPT-partitioned. ___ 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