xidle, xlock with awesome window manager
I'm using awesome window manager and trying to configure xlock so my system gets locked after x seconds if I don't touch the keyboard or mouse. But nothing seems to be happening after x seconds. I tried to put the following in my .Xdefaults XIdle.timeout: 5 XLock.mode: random XLock.mousemotion: on XLock.nice: 19 XLock.program: /usr/games/fortune -a XLock.random.modelist: maze bat biof pyro drift eyes lisa marquee matrix molecule nose pacman petri space swarm tetris worm I then commented the above from .Xdefaults and added the following line at the end of .xinitrc file xidle -delay 3 -sw -program /usr/X11R6/bin/xlock -mode bat -timeout 5 Could anyone please tell me what I'm doing wrong?
Re: NTFS-3G Stable Read/Write Driver ready to merge on cvs obsd ?
Neko wrote: this is the future. people use multiple os on their machine That's actually the past... multibooting seemed way more popular ten years ago than now. I'm going to go out on a limb here, and say that most people - even if their machine is set up to boot multiple systems - really just use one OS per computer. On the other hand, CIFS/NFS network storage devices are cheap, and people can use them whether they dual boot, or simply have multiple machines on their network. Then too, a lot of people just use boring old thumb drives to store data that all their systems can use. -- Matthew Weigel hacker unique idempot.ent
Re: NTFS-3G Stable Read/Write Driver ready to merge on cvs obsd ?
On Sun, Oct 26, 2008 at 9:10 AM, Matthew Weigel [EMAIL PROTECTED] wrote: Neko wrote: this is the future. people use multiple os on their machine That's actually the past... multibooting seemed way more popular ten years ago than now. I'm going to go out on a limb here, and say that most people - even if their machine is set up to boot multiple systems - really just use one OS per computer. have you done any analysis of statistical data in order to say so? otherwise all those way more popular, most people it is a big IYHO. On the other hand, CIFS/NFS network storage devices are cheap, and people can use them whether they dual boot, or simply have multiple machines on their network. Then too, a lot of people just use boring old thumb drives to store data that all their systems can use. well with NFS i'd agree, in case there is a robust free NFS implementation for MS Windows (haven't looked for that myself, as I don't seem to have NFS storage in my home LAN). WRT thumb drives, well they still need some FS to be on them, and fat32 would be a winner (for actual primitiveness thus being supported by anyone), but there is a serious (these days it is) limitation like limited maximal size of a file like 2G (must be 2^31-1 perhaps). actually NTFS seems the *only* sufficiently capable FS within the Microsoft products these days... -- Matthew Weigel hacker unique idempot.ent
mfs memory exaustion
We have an OpenBSD 4.3-stable server that uses mfs for the /tmp partition (to increase speed with little temporary files). After a lot of days of usage (currently 43) it results that the mfs partition is used for a large part, but there are almost no files there! Here it is the df output: Filesystem 1K-blocks Used Avail Capacity Mounted on /dev/wd0a30958980 4446936 2496409615%/ /dev/wd0e 261194190 3267932 244866550 1%/var mfs:4603 96750340105951806944%/tmp And here it is the ls -lR /tmp/ output: total 4 drwxrwxrwt 2 root wheel 512 Sep 12 10:35 .ICE-unix/ drwxrwxrwt 2 root wheel 512 Sep 12 10:35 .X11-unix/ -rw--- 1 mail wheel0 Oct 25 06:19 .spamassassin18545wccAsYtmp drwxr-xr-x 2 root wheel 512 Oct 26 02:17 clamdb/ -rw-r--r-- 1 root wheel 17 Oct 26 09:05 mailstat-localhost.old /tmp/.ICE-unix: /tmp/.X11-unix: /tmp/clamdb: total 8 -rw-r--r-- 1 root wheel 396 Oct 26 08:17 MSRBL-IMAGES-UpdateSession.log -rw-r--r-- 1 root wheel 399 Oct 26 08:17 MSRBL-SPAM-UpdateSession.log -rw-r--r-- 1 root wheel 2092 Oct 26 08:17 PHISH-UpdateSession.log -rw-r--r-- 1 root wheel 2239 Oct 26 08:17 SCAM-UpdateSession.log -rw-r--r-- 1 root wheel 0 Oct 26 08:17 test.file As you can see, there aren't 400MB of files in the /tmp partition! Is this a bug or a known problem of the mfs driver? Thanks. -- ___ __ |- [EMAIL PROTECTED] |ederico Giannici http://www.neomedia.it ___
Re: mfs memory exaustion
Federico Giannici wrote: As you can see, there aren't 400MB of files in the /tmp partition! Is this a bug or a known problem of the mfs driver? Thanks. Try to use fstat to find any descriptors to files in /tmp, the method of keeping a filedescriptor on a deleted file is common which will reflect on your filesystem but not the files in it. -p
Re: mfs memory exaustion
Hi, On Sun Oct 26, 2008 at 10:14:39 +0100, Federico Giannici wrote: We have an OpenBSD 4.3-stable server that uses mfs for the /tmp partition (to increase speed with little temporary files). After a lot of days of usage (currently 43) it results that the mfs partition is used for a large part, but there are almost no files there! You may have running processes holding files open that have since been unlinked from /tmp or its children. df(1) will highlight this utilisation, but not tools like ls(1) or du(1). The latter can only report what they see in your file system directories. Try an fstat -f /tmp. Cheers, Saj
Re: mfs memory exaustion
Peter J. Philipp wrote: Federico Giannici wrote: As you can see, there aren't 400MB of files in the /tmp partition! Is this a bug or a known problem of the mfs driver? Thanks. Try to use fstat to find any descriptors to files in /tmp, the method of keeping a filedescriptor on a deleted file is common which will reflect on your filesystem but not the files in it. It worked: there was a stucked program that somehow had deleted files that used all that memory! Thanks. -- ___ __ |- [EMAIL PROTECTED] |ederico Giannici http://www.neomedia.it ___
Re: NTFS-3G Stable Read/Write Driver ready to merge on cvs obsd ?
Jonathan Schleifer js-openbsd-misc at webkeks.org writes: Not only that it is GPL, it also needs fuse. AFAIK, there is no fuse for OpenBSD yet. And it's not running in the kernel space anyway, so why the hell merge it? -- Jonathan Anyone looking at/working on porting the NetBSD putter/puffs/librefuse code to OpenBSD? That seems the quickest path to fuse/ntfs-3g in openbsd.
Weird: Cant open xterms if network is inconsistent
Hi guys, This is just plain odd. I thought it was something I was doing wrong, but now several people I have shown also agree this is strange (you guys are all CC'd in). $ sudo /sbin/ifconfig ral0 nwid b0rk $ sudo /sbin/ifconfig ral0 ral0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 lladdr 00:12:0e:61:5b:74 groups: wlan egress media: IEEE802.11 autoselect status: no network ieee80211: nwid b0rk 100dBm inet6 fe80::212:eff:fe61:5b74%ral0 prefixlen 64 scopeid 0x2 inet 192.168.84.91 netmask 0xff00 broadcast 192.168.84.255 Now we are in a state where the wireless network can't work, there is no such network as 'b0rk' Now xterms will not run. BUT... If I switch from xfce to cwm, I do not observe this behavior. Here is a ktrace: 19446 ktrace RET ktrace 0 19446 ktrace CALL execve(0xcfbec0c0,0xcfbec618,0xcfbec620) 19446 ktrace NAMI /bin/xterm 19446 ktrace RET execve -1 errno 2 No such file or directory 19446 ktrace CALL execve(0xcfbec0c0,0xcfbec618,0xcfbec620) 19446 ktrace NAMI /usr/bin/xterm 19446 ktrace RET execve -1 errno 2 No such file or directory 19446 ktrace CALL execve(0xcfbec0c0,0xcfbec618,0xcfbec620) 19446 ktrace NAMI /usr/local/bin/xterm 19446 ktrace RET execve -1 errno 2 No such file or directory 19446 ktrace CALL execve(0xcfbec0c0,0xcfbec618,0xcfbec620) 19446 ktrace NAMI /usr/X11R6/bin/xterm What we see here is the shell (ksh) looking for the xterm binary, finding it, but never executing it. Oga@ suggested I build a debug libc and get a backtrace. Here this is: (gdb) bt #0 0x04a01f1d in read () from /usr/lib/libc.so.49.0 #1 0x083711b0 in _IceTransSocketRead () from /usr/X11R6/lib/libICE.so.8.1 #2 0x08371f85 in _IceTransRead () from /usr/X11R6/lib/libICE.so.8.1 #3 0x08373df6 in _IceRead () from /usr/X11R6/lib/libICE.so.8.1 #4 0x083743a8 in IceProcessMessages () from /usr/X11R6/lib/libICE.so.8.1 #5 0x0afe5a23 in SmcOpenConnection () from /usr/X11R6/lib/libSM.so.8.0 #6 0x0a29b7e0 in JoinSession () from /usr/X11R6/lib/libXt.so.10.0 #7 0x0a298617 in SessionInitialize () from /usr/X11R6/lib/libXt.so.10.0 #8 0x0a27cd01 in CallInitialize () from /usr/X11R6/lib/libXt.so.10.0 #9 0x0a27d218 in xtCreate () from /usr/X11R6/lib/libXt.so.10.0 #10 0x0a27db08 in _XtAppCreateShell () from /usr/X11R6/lib/libXt.so.10.0 #11 0x0a27dbcd in XtAppCreateShell () from /usr/X11R6/lib/libXt.so.10.0 #12 0x0a288027 in XtOpenApplication () from /usr/X11R6/lib/libXt.so.10.0 #13 0x1c01d397 in ?? () #14 0x3c0167a0 in environ () #15 0x3c007d24 in ?? () #16 0x3c00dfc0 in __progname () #17 0x008e in ?? () #18 0xcfbc4354 in ?? () #19 0x89d86020 in ?? () #20 0x3c00df80 in __progname () #21 0x2a271a20 in sessionResources () from /usr/X11R6/lib/libXt.so.10.0 #22 0x in ?? () If I then fix/take down the network interface, within 10 seconds the process will unblock and the xterms will appear. Further, if you start xfce in an inconsistent state, it wont start. As soon as you fix or take down the wifi, it starts. I used to think this only happened on ral, but come to think of it my wi did this too. My question is why is this happening? OpenBSD 4.4-current (GENERIC) #1113: Mon Oct 20 17:51:31 MDT 2008 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC cpu0: Intel(R) Pentium(R) M processor 1700MHz (GenuineIntel 686-class) 600 MHz cpu0: FPU,V86,DE,PSE,TSC,MSR,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,TM,SBF,EST,TM2 real mem = 1072656384 (1022MB) avail mem = 1028677632 (981MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 09/22/05, BIOS32 rev. 0 @ 0xfd750, SMBIOS rev. 2.33 @ 0xe0010 (57 entries) bios0: vendor IBM version 1QET97WW (3.02 ) date 09/22/2005 bios0: IBM 2673W7Z apm0 at bios0: Power Management spec V1.2 apm0: battery life expectancy 85% apm0: AC off, battery charge high, estimated 2:30 hours acpi at bios0 function 0x0 not configured pcibios0 at bios0: rev 2.1 @ 0xfd6e0/0x920 pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdea0/272 (15 entries) pcibios0: PCI Interrupt Router at 000:31:0 (Intel 82371FB ISA rev 0x00) pcibios0: PCI bus #6 is the last bus bios0: ROM list: 0xc/0x1 0xd/0x1000 0xd1000/0x1000 0xdc000/0x4000! 0xe/0x1 cpu0 at mainbus0: (uniprocessor) cpu0: Enhanced SpeedStep 600 MHz (956 mV): speeds: 1700, 1400, 1200, 1000, 800, 600 MHz pci0 at mainbus0 bus 0: configuration mode 1 (bios) pchb0 at pci0 dev 0 function 0 Intel 82855PM Host rev 0x03 ppb0 at pci0 dev 1 function 0 Intel 82855PM AGP rev 0x03 pci1 at ppb0 bus 1 vga1 at pci1 dev 0 function 0 ATI Radeon Mobility M6 LY rev 0x00 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) agp0 at vga1: aperture at 0xd000, size 0x1000 radeondrm0 at vga1: ATI Radeon LY RV100 Mobility M6(0), 1.29.0 20080613 uhci0 at pci0 dev 29 function 0 Intel 82801DB USB rev 0x01: irq 11 uhci1 at pci0 dev 29 function 1
Re: Openbgpd: IPv6 and unsupported capability
* Francois Deppierraz [EMAIL PROTECTED] [2008-10-26 00:38]: Oct 25 23:16:05 router bgpd[31122]: neighbor 2001: (Peer1): received notification: error in OPEN message, unsupported capability Oct 25 23:16:05 router bgpd[31122]: neighbor 2001: (Peer1): received unsupported capability notification without data part, disabling capability announcements altogether the peer (quagga?) sens us said notification without including the capability it doesn't like, and then we have to disable all caabilities - one of them is v6. unfortunately there is no config button to disable specific capabilities... you could try to play with the defaults in alloc_peer() in parse.y -- Henning Brauer, [EMAIL PROTECTED], [EMAIL PROTECTED] BS Web Services, http://bsws.de Full-Service ISP - Secure Hosting, Mail and DNS Services Dedicated Servers, Rootservers, Application Hosting - Hamburg Amsterdam
Re: NTFS-3G Stable Read/Write Driver ready to merge on cvs obsd ?
On Sun, Oct 26, 2008 at 09:57:04AM +0200, Denis Doroshenko wrote: On Sun, Oct 26, 2008 at 9:10 AM, Matthew Weigel [EMAIL PROTECTED] wrote: Neko wrote: this is the future. people use multiple os on their machine That's actually the past... multibooting seemed way more popular ten years ago than now. I'm going to go out on a limb here, and say that most people - even if their machine is set up to boot multiple systems - really just use one OS per computer. have you done any analysis of statistical data in order to say so? otherwise all those way more popular, most people it is a big IYHO. Yes, and English speakers typically announce this with words like seemed and I'm going to go out on a limb here.
Re: xidle, xlock with awesome window manager
On Sun, Oct 26, 2008 at 05:33:34PM +1100, Chris wrote: xidle -delay 3 -sw -program /usr/X11R6/bin/xlock -mode bat -timeout 5 Could anyone please tell me what I'm doing wrong? Do you have the above line starting in the background (with ) before invoking awesome? I haven't been using xidle but xautolock, which has worked fine for me for many years. Here's a .xinitrc from one machine: xautolock -time 5 -locker xlock -mode blank -lockdelay 15 ion3# my wm. yours would be awesome -- Darrin Chandler| Phoenix BSD User Group | MetaBUG [EMAIL PROTECTED] | http://phxbug.org/ | http://metabug.org/ http://www.stilyagin.com/ | Daemons in the Desert | Global BUG Federation [demime 1.01d removed an attachment of type application/pgp-signature]
Re: NTFS-3G Stable Read/Write Driver ready to merge on cvs obsd ?
On Sun, Oct 26, 2008 at 3:57 AM, Denis Doroshenko [EMAIL PROTECTED] wrote: by anyone), but there is a serious (these days it is) limitation like limited maximal size of a file like 2G (must be 2^31-1 perhaps). actually NTFS seems the *only* sufficiently capable FS within the Microsoft products these days... Microsoft is actually trying to popularize fatx (the same file system used in xboxes). That's probably going to be the new fat32. -- http://www.glumbert.com/media/shift http://www.youtube.com/watch?v=tGvHNNOLnCk This officer's men seem to follow him merely out of idle curiosity. -- Sandhurst officer cadet evaluation. Securing an environment of Windows platforms from abuse - external or internal - is akin to trying to install sprinklers in a fireworks factory where smoking on the job is permitted. -- Gene Spafford learn french: http://www.youtube.com/watch?v=j1G-3laJJP0feature=related
Re: NTFS-3G Stable Read/Write Driver ready to merge on cvs obsd ?
On 26 October 2008 c. 17:34:07 bofh wrote: On Sun, Oct 26, 2008 at 3:57 AM, Denis Doroshenko [EMAIL PROTECTED] wrote: by anyone), but there is a serious (these days it is) limitation like limited maximal size of a file like 2G (must be 2^31-1 perhaps). actually NTFS seems the *only* sufficiently capable FS within the Microsoft products these days... Microsoft is actually trying to popularize fatx (the same file system used in xboxes). That's probably going to be the new fat32. It lacks some information in header that is present in FAT32, so unlikely it'll replace FAT32. It's good for simle, I ever say dump, devices only. http://www.xbox-linux.org/wiki/Differences_between_Xbox_FATX_and_MS-DOS_FAT -- Best wishes, Vadim Zhukov
hp compaq 6510b acpitz/fan/ac problem
Hello. My machine (hp compaq 6510b) has some strange problem related with acpi/thermalzone/ac. When I power it on with ac plugged-in, all seems to work fine. But when I unplug ac following things happens: 1. About every 10 second below message shows up: acpitz2: TZ5_: failed to read _TMP acpitz2: TZ5_: failed to read temp 2. CPU temperature start to rise slowly, even if CPU is 100% idle. 3. When temperature gets to about 50 degC, fan speed up and acpitz message stops showing up. 4. When fan cools down CPU to 45 degC, acpitz message again shows up on console, CPU temperature start to rise, fan cools cpu, etc... 5. If I plug in ac, it doesn't help. 6. If reboot it in that state then there's a difference in acpitz kernel message while booting (dmsg included), but above loop still ocurs. 7. Only powering off and on with ac connected solve the problem. dmesg (ac connected, powering on) OpenBSD 4.4-current (GENERIC.MP) #46: Sat Oct 25 17:43:05 CEST 2008 [EMAIL PROTECTED]:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 1051684864 (1002MB) avail mem = 1020854272 (973MB) mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xf2a9f (25 entries) bios0: vendor Hewlett-Packard version 68DDU Ver. F.13 date 08/18/2008 bios0: Hewlett-Packard HP Compaq 6510b (GB866EA#AKD) acpi0 at bios0: rev 2 acpi0: tables DSDT FACP SLIC HPET APIC MCFG TCPA SSDT SSDT SSDT SSDT SSDT SSDT acpi0: wakeup devices C0B0(S5) C108(S3) C10F(S3) C110(S3) C111(S3) C119(S3) C11A(S3) C11B(S3) C131(S5) C2A1(S5) C132(S0) C137(S0) C134(S5) C2A2(S5) C23D(S5) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpihpet0 at acpi0: 14318179 Hz acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: Intel(R) Core(TM)2 Duo CPU T7100 @ 1.80GHz, 1795.74 MHz cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,CX16,xTPR,NXE,LONG cpu0: 2MB 64b/line 8-way L2 cache cpu0: apic clock running at 199MHz cpu1 at mainbus0: apid 1 (application processor) cpu1: Intel(R) Core(TM)2 Duo CPU T7100 @ 1.80GHz, 1795.50 MHz cpu1: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,CX16,xTPR,NXE,LONG cpu1: 2MB 64b/line 8-way L2 cache ioapic0 at mainbus0 apid 1 pa 0xfec0, version 20, 24 pins ioapic0: misconfigured as apic 0, remapped to apid 1 acpiprt0 at acpi0: bus 2 (C0B0) acpiprt1 at acpi0: bus 8 (C11D) acpiprt2 at acpi0: bus 16 (C131) acpiprt3 at acpi0: bus 24 (C132) acpiprt4 at acpi0: bus 40 (C134) acpiprt5 at acpi0: bus 0 (C003) acpiec0 at acpi0 acpicpu0 at acpi0 acpicpu1 at acpi0 acpitz0 at acpi0: critical temperature 105 degC acpitz1 at acpi0: critical temperature 108 degC acpitz2 at acpi0: critical temperature 110 degC acpitz3 at acpi0: critical temperature 256 degC acpitz4 at acpi0: critical temperature 108 degC acpibat0 at acpi0: C23B model Primary serial 43469 2007/04/27 type LIon oem Hewlett-Packard acpibat1 at acpi0: C23A not present acpiac0 at acpi0: AC unit online acpibtn0 at acpi0: C2BF acpibtn1 at acpi0: C153 acpivideo at acpi0 not configured cpu0: unknown Enhanced SpeedStep CPU, msr 0x0617092506000925 cpu0: using only highest and lowest power states cpu0: Enhanced SpeedStep 1800 MHz (1292 mV): speeds: 1800, 1200 MHz pci0 at mainbus0 bus 0: configuration mode 1 pchb0 at pci0 dev 0 function 0 Intel GM965 Host rev 0x0c vga1 at pci0 dev 2 function 0 Intel GM965 Video rev 0x0c wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) agp0 at vga1: aperture at 0xd000, size 0x1000 inteldrm0 at vga1 Intel GM965 Video rev 0x0c at pci0 dev 2 function 1 not configured uhci0 at pci0 dev 26 function 0 Intel 82801H USB rev 0x03: apic 1 int 16 (irq 10) uhci1 at pci0 dev 26 function 1 Intel 82801H USB rev 0x03: apic 1 int 17 (irq 10) ehci0 at pci0 dev 26 function 7 Intel 82801H USB rev 0x03: apic 1 int 18 (irq 11) usb0 at ehci0: USB revision 2.0 uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1 azalia0 at pci0 dev 27 function 0 Intel 82801H HD Audio rev 0x03: apic 1 int 16 (irq 10) azalia0: codec[s]: Analog Devices/0x1981, ATT/Lucent/0x1040, using Analog Devices/0x1981 audio0 at azalia0 ppb0 at pci0 dev 28 function 0 Intel 82801H PCIE rev 0x03 pci1 at ppb0 bus 8 ppb1 at pci0 dev 28 function 1 Intel 82801H PCIE rev 0x03: apic 1 int 17 (irq 10) pci2 at ppb1 bus 16 wpi0 at pci2 dev 0 function 0 Intel PRO/Wireless 3945ABG rev 0x02: apic 1 int 17 (irq 10), MoW2, address 00:1b:77:16:56:9a ppb2 at pci0 dev 28 function 2 Intel 82801H PCIE rev 0x03: apic 1 int 18 (irq 11) pci3 at ppb2 bus 24 bge0 at pci3 dev 0 function 0 Broadcom BCM5787M rev 0x02, BCM5754/5787 A2 (0xb002): apic 1 int 18 (irq 11), address 00:17:a4:e8:2a:06 brgphy0 at bge0 phy 1: BCM5787 10/100/1000baseT PHY, rev. 0 ppb3 at pci0 dev 28 function 4 Intel 82801H PCIE rev 0x03:
Re: NTFS-3G Stable Read/Write Driver ready to merge on cvs obsd ?
If you need to write to ntfs, you're doing it wrong. On Oct 25, 2008, at 9:12 PM, Neko [EMAIL PROTECTED] wrote: so there can be an end to this retard cant write on the file system bs http://www.ntfs-3g.org/ so will it be merged in the next obsd release ? this is the future. people use multiple os on their machine, not just vm , they will local install too, so action should be taken to have a filesystem stream that can be viewed by anyone, neko
Re: Dell XPS M1330 Ethernet support?
On Sat, Oct 25, 2008 at 09:20:14PM +0900, Jordi Beltran Creix wrote: I recently acquired a Dell opensource laptop and am trying to install OpenBSD on it. But I am having a problem with the Ethernet. The device is detected as a Broadcom chipset and is managed by the bge driver. This is all from a i386 4.3 CD but I had the same problem with an old 4.4 snapshot. bge0 at pci4 dev 0 function 0 Broadcom BCM5906NP rev 0x02, BCM5906A2(0xc002): irq 10, address ... If I ifconfig from the (s)hell I can set up everything but it complains that status: no carrier. And indeed there is no light whatsoever in the socket. The device works in Ubuntu with the Tigon3 driver, so I suspected it could need some sort of firmware, but this is not the Intel wireless and everything else is supposed to be more or less open. The laptop is listed as working(minus ACPI) as of 4.2 in /i386-laptop.html although its dmesg doesn't quite agree: Broadcom BCM5906M rev 0x02 at pci4 dev 0 function 0 not configured Has anyone managed to get 1330 Ethernet to work? Thank you Works in Oct 15th -current. bge0 at pci4 dev 0 function 0 Broadcom BCM5906M rev 0x02, BCM5906 A2 (0xc002): apic 2 int 17 (irq 10), address 00:1d:09:39:50:49 brgphy0 at bge0 phy 1: BCM5906 10/100baseTX PHY, rev. 0
cadastro novo agosto 2008, celulares e muitos outros .
Cadastro com dados completo. Empresas e Pessoas Fmsicas para todo Brasil. Separados por estados. Base de Banda Larga, Celular, Fmsico e Jurmdico. Entre em contato e tire suas dzvidas. = Telefone: 0XX+51+3741.4617 E-mail: [EMAIL PROTECTED] =
Re: NTFS-3G Stable Read/Write Driver ready to merge on cvs obsd ?
Denis Doroshenko wrote: have you done any analysis of statistical data in order to say so? otherwise all those way more popular, most people it is a big IYHO. William Boshuck has the measure of my response to that. On Sun, Oct 26, 2008 at 9:10 AM, Matthew Weigel [EMAIL PROTECTED] wrote: On the other hand, CIFS/NFS network storage devices are cheap, and people can use them whether they dual boot, or simply have multiple machines on their network. Then too, a lot of people just use boring old thumb drives to store data that all their systems can use. well with NFS i'd agree, in case there is a robust free NFS implementation for MS Windows (haven't looked for that myself, as I don't seem to have NFS storage in my home LAN). I'm not sure exactly what you're saying here... I'm talking about NAS devices that export their filesystem via CIFS and NFS, so that virtually every modern operating system can use it. See, for example, this device: http://www.newegg.com/Product/Product.aspx?Item=N82E16822111012 WRT thumb drives, well they still need some FS to be on them, and fat32 would be a winner (for actual primitiveness thus being supported by anyone), but there is a serious (these days it is) limitation like limited maximal size of a file like 2G (must be 2^31-1 perhaps). Actually, (2^32)-1, or 4GB, is the max size per file (http://support.microsoft.com/kb/314463). I can see that being a problem if you're trying to run a database off of your thumb drive, but otherwise... can you give examples of files that you (or anyone you know) would like to access in Windows and OpenBSD that exceed this limit? -- Matthew Weigel hacker unique idempot.ent
Re: NTFS-3G Stable Read/Write Driver ready to merge on cvs obsd ?
On Sun, Oct 26, 2008 at 11:41 AM, Matthew Weigel [EMAIL PROTECTED] wrote: Actually, (2^32)-1, or 4GB, is the max size per file (http://support.microsoft.com/kb/314463). I can see that being a problem if you're trying to run a database off of your thumb drive, but otherwise... can you give examples of files that you (or anyone you know) would like to access in Windows and OpenBSD that exceed this limit? dvd images are often 4.2G -- GDB has a 'break' feature; why doesn't it have 'fix' too?
Re: NTFS-3G Stable Read/Write Driver ready to merge on cvs obsd ?
On Sun, Oct 26, 2008 at 12:01:40PM -0700, Chris Kuethe wrote: | On Sun, Oct 26, 2008 at 11:41 AM, Matthew Weigel [EMAIL PROTECTED] wrote: | Actually, (2^32)-1, or 4GB, is the max size per file | (http://support.microsoft.com/kb/314463). I can see that being a problem if | you're trying to run a database off of your thumb drive, but otherwise... can | you give examples of files that you (or anyone you know) would like to access | in Windows and OpenBSD that exceed this limit? | | dvd images are often 4.2G I agree with Chris here .. the only time I've wanted to transport large files between windows and basically !windows (macosx, linux and *bsd) they were ISO's of either regular CD's (works) or DVD's (doesn't fit in fat32). Happened to me on a couple of occassions that I wanted to do this and had to resort to network transfers (non-optimal in those circumstances). Paul 'WEiRD' de Weerd -- [++-]+++.+++[---].+++[+ +++-].++[-]+.--.[-] http://www.weirdnet.nl/
Re: NTFS-3G Stable Read/Write Driver ready to merge on cvs obsd ?
Matthew Weigel [EMAIL PROTECTED] wrote: Actually, (2^32)-1, or 4GB, is the max size per file (http://support.microsoft.com/kb/314463). I can see that being a problem if you're trying to run a database off of your thumb drive, but otherwise... can you give examples of files that you (or anyone you know) would like to access in Windows and OpenBSD that exceed this limit? 2^31 - 1. Seems to be signed. At least, the orignal implementation from Microsoft has this limit. -- Jonathan [demime 1.01d removed an attachment of type application/pgp-signature which had a name of signature.asc]
Re: NTFS-3G Stable Read/Write Driver ready to merge on cvs obsd ?
Paul de Weerd wrote: On Sun, Oct 26, 2008 at 12:01:40PM -0700, Chris Kuethe wrote: | On Sun, Oct 26, 2008 at 11:41 AM, Matthew Weigel [EMAIL PROTECTED] wrote: | Actually, (2^32)-1, or 4GB, is the max size per file | (http://support.microsoft.com/kb/314463). I can see that being a problem if | you're trying to run a database off of your thumb drive, but otherwise... can | you give examples of files that you (or anyone you know) would like to access | in Windows and OpenBSD that exceed this limit? | | dvd images are often 4.2G I agree with Chris here .. the only time I've wanted to transport large files between windows and basically !windows (macosx, linux and *bsd) they were ISO's of either regular CD's (works) or DVD's (doesn't fit in fat32). Happened to me on a couple of occassions that I wanted to do this and had to resort to network transfers (non-optimal in those circumstances). Come on guys. I believe OpenBSD can do read/write on ext2. No? And there is the http://www.fs-driver.org/ - also free and do read/write on ext2 for Windows. Alexey
Re: NTFS-3G Stable Read/Write Driver ready to merge on cvs obsd ?
Alexey Suslikov [EMAIL PROTECTED] wrote: And there is the http://www.fs-driver.org/ - also free and do read/write on ext2 for Windows. Crashed my ext2 data partition more than once, but I could always recover it with e2fsck, but the files in / all lost their names then. However, the stuff in sub directories still had names. So /foo/bar was /lost+found/$inode_no/bar after e2fsck. -- Jonathan [demime 1.01d removed an attachment of type application/pgp-signature which had a name of signature.asc]
Re: NTFS-3G Stable Read/Write Driver ready to merge on cvs obsd ?
On Sun, Oct 26, 2008 at 09:51:38PM +0200, Alexey Suslikov wrote: | Paul de Weerd wrote: | | On Sun, Oct 26, 2008 at 12:01:40PM -0700, Chris Kuethe wrote: | | On Sun, Oct 26, 2008 at 11:41 AM, Matthew Weigel [EMAIL PROTECTED] wrote: | | Actually, (2^32)-1, or 4GB, is the max size per file | | (http://support.microsoft.com/kb/314463). I can see that being a problem if | | you're trying to run a database off of your thumb drive, but otherwise... can | | you give examples of files that you (or anyone you know) would like to access | | in Windows and OpenBSD that exceed this limit? | | | | dvd images are often 4.2G | | I agree with Chris here .. the only time I've wanted to transport | large files between windows and basically !windows (macosx, linux and | *bsd) they were ISO's of either regular CD's (works) or DVD's (doesn't | fit in fat32). | | Happened to me on a couple of occassions that I wanted to do this and | had to resort to network transfers (non-optimal in those | circumstances). | | Come on guys. | | I believe OpenBSD can do read/write on ext2. No? | | And there is the http://www.fs-driver.org/ - also free | and do read/write on ext2 for Windows. True, but it's an external add-on that you may not always be able to install on the windows machine (which in my case usually isn't mine). OpenBSD, FreeBSD, NetBSD, Linux, Mac OSX .. they all have 'native' support for FAT32. Granted, I don't see an easy solution for this issue (because in essence it would mean that all others need proper ntfs support). Cheers, Paul 'WEiRD' de Weerd -- [++-]+++.+++[---].+++[+ +++-].++[-]+.--.[-] http://www.weirdnet.nl/
Re: NTFS-3G Stable Read/Write Driver ready to merge on cvs obsd ?
On Sun, Oct 26, 2008 at 10:11 PM, Jonathan Schleifer [EMAIL PROTECTED] wrote: Alexey Suslikov [EMAIL PROTECTED] wrote: And there is the http://www.fs-driver.org/ - also free and do read/write on ext2 for Windows. Crashed my ext2 data partition more than once, but I could always recover it with e2fsck, but the files in / all lost their names then. However, the stuff in sub directories still had names. So /foo/bar was /lost+found/$inode_no/bar after e2fsck. So? I crashed many FAT32 partitions. NTFS is kinda complex to crash but, as discussed above, it is hard to access in full-blown read/write mode from non-Windows. Don't want to use ext2? You have more choices. Go http://ffsdrv.sourceforge.net/index.php and help this guy to add write support to FFS driver for Windows. Alexey
Re: NTFS-3G Stable Read/Write Driver ready to merge on cvs obsd ?
Alexey Suslikov [EMAIL PROTECTED] wrote: I crashed many FAT32 partitions. NTFS is kinda complex to crash but, as discussed above, it is hard to access in full-blown read/write mode from non-Windows. Did you crash yoru FAT32 partitions on a regular basis? The ext2 crashed every 2 - 4 weeks. -- Jonathan [demime 1.01d removed an attachment of type application/pgp-signature which had a name of signature.asc]
Re: NTFS-3G Stable Read/Write Driver ready to merge on cvs obsd ?
On Sun, Oct 26, 2008 at 10:18 PM, Paul de Weerd [EMAIL PROTECTED] wrote: On Sun, Oct 26, 2008 at 09:51:38PM +0200, Alexey Suslikov wrote: | Paul de Weerd wrote: | | On Sun, Oct 26, 2008 at 12:01:40PM -0700, Chris Kuethe wrote: | | On Sun, Oct 26, 2008 at 11:41 AM, Matthew Weigel [EMAIL PROTECTED] wrote: | | Actually, (2^32)-1, or 4GB, is the max size per file | | (http://support.microsoft.com/kb/314463). I can see that being a problem if | | you're trying to run a database off of your thumb drive, but otherwise... can | | you give examples of files that you (or anyone you know) would like to access | | in Windows and OpenBSD that exceed this limit? | | | | dvd images are often 4.2G | | I agree with Chris here .. the only time I've wanted to transport | large files between windows and basically !windows (macosx, linux and | *bsd) they were ISO's of either regular CD's (works) or DVD's (doesn't | fit in fat32). | | Happened to me on a couple of occassions that I wanted to do this and | had to resort to network transfers (non-optimal in those | circumstances). | | Come on guys. | | I believe OpenBSD can do read/write on ext2. No? | | And there is the http://www.fs-driver.org/ - also free | and do read/write on ext2 for Windows. True, but it's an external add-on that you may not always be able to install on the windows machine (which in my case usually isn't mine). OpenBSD, FreeBSD, NetBSD, Linux, Mac OSX .. they all have 'native' support for FAT32. Nope. Create a small FAT32 partition on this drive and put a driver on it. How small, it is your choice. It can be 32Gb (a recommended maximum for FAT32) on these modern 1TB USB drives. I believe if you google enough you'll find an Ext2 driver for MacOS. Alexey
Re: NTFS-3G Stable Read/Write Driver ready to merge on cvs obsd ?
On Sun, Oct 26, 2008 at 10:22 PM, Jonathan Schleifer [EMAIL PROTECTED] wrote: Alexey Suslikov [EMAIL PROTECTED] wrote: I crashed many FAT32 partitions. NTFS is kinda complex to crash but, as discussed above, it is hard to access in full-blown read/write mode from non-Windows. Did you crash yoru FAT32 partitions on a regular basis? The ext2 crashed every 2 - 4 weeks. So you have no choice but cry. Alexey
Re: ftp-proxy and IP alias
On Wed, Oct 22, 2008 at 11:52 PM, Chris Smith [EMAIL PROTECTED] wrote: Was finally able to test the reboot scenario and two instances of ftp-proxy do not get started from rc.conf.local. Needed to run the second instance from rc.local. Just wondering whether or not it's more proper to start the second instance of ftp-proxy in rc.local (which I'm doing now) or to start it in rc.securelevel ? Thank you, Chris
Re: NTFS-3G Stable Read/Write Driver ready to merge on cvs obsd ?
On Sunday 26 October 2008, Paul de Weerd wrote: On Sun, Oct 26, 2008 at 09:51:38PM +0200, Alexey Suslikov wrote: | Paul de Weerd wrote: | On Sun, Oct 26, 2008 at 12:01:40PM -0700, Chris Kuethe wrote: | | On Sun, Oct 26, 2008 at 11:41 AM, Matthew Weigel [EMAIL PROTECTED] wrote: | | Actually, (2^32)-1, or 4GB, is the max size per file | | (http://support.microsoft.com/kb/314463). I can see that | | being a problem if you're trying to run a database off of | | your thumb drive, but otherwise... can you give examples of | | files that you (or anyone you know) would like to access in | | Windows and OpenBSD that exceed this limit? | | | | dvd images are often 4.2G | | I agree with Chris here .. the only time I've wanted to transport | large files between windows and basically !windows (macosx, linux | and *bsd) they were ISO's of either regular CD's (works) or DVD's | (doesn't fit in fat32). | | Happened to me on a couple of occassions that I wanted to do this | and had to resort to network transfers (non-optimal in those | circumstances). | | Come on guys. | | I believe OpenBSD can do read/write on ext2. No? | | And there is the http://www.fs-driver.org/ - also free | and do read/write on ext2 for Windows. True, but it's an external add-on that you may not always be able to install on the windows machine (which in my case usually isn't mine). OpenBSD, FreeBSD, NetBSD, Linux, Mac OSX .. they all have 'native' support for FAT32. Granted, I don't see an easy solution for this issue (because in essence it would mean that all others need proper ntfs support). Hi Paul, It seems you and others are missing the obvious; If Microsoft actually wanted other operating system vendors to read and write NTFS, they would have provided the specifications. Trying to build and maintain compatibility with a vendor which specifically doesn't want you to build or maintain compatibility is an exercise in futility. There is no easy solution because Microsoft does not want an easy solution to exist. If anyone does create an easy solution, Microsoft will undoubtedly, once again, change things so they remain incompatible. --Oh and don't forget MS FAT/FAT32 is patent encumbered so the only reason why you still have native support for it is because Microsoft has not pushed the issue in the courts or taking the time to write a new incompatible version of FAT32. If you consider an ever changing, undocumented, closed source file system to be a problem, the best thing you can do is migrate to using something else. OpenBSD does provide read access to NTFS for the sake of faster migration, but even this is fairly unnecessary since one could transfer the data over a network connection. There's no reason to bloat the OpenBSD kernel with a feature designed as a fast solution to a temporary problem, namely migration. The answer is not fighting for NTFS support, instead, the answer is migrating away from NTFS. If someone absolutely insists on running something intentionally incompatible, the only viable answer is to leave them out in the cold until they change their mind. Kind Regards, Jon
Re: NTFS-3G Stable Read/Write Driver ready to merge on cvs obsd ?
way to be openminded. keep using what we feed you, effortlessly. somhow here , most people i know use 4 os, dos/ms/lin/bsd oddly enough freebsd / osx have compatibility by default. but they wouldnt know would they. neko i considered your mail as troll --- On Sun, 10/26/08, Matthew Weigel [EMAIL PROTECTED] wrote: From: Matthew Weigel [EMAIL PROTECTED] Subject: Re: NTFS-3G Stable Read/Write Driver ready to merge on cvs obsd ? To: OpenBSD misc@openbsd.org Date: Sunday, October 26, 2008, 3:10 AM Neko wrote: this is the future. people use multiple os on their machine That's actually the past... multibooting seemed way more popular ten years ago than now. I'm going to go out on a limb here, and say that most people - even if their machine is set up to boot multiple systems - really just use one OS per computer. On the other hand, CIFS/NFS network storage devices are cheap, and people can use them whether they dual boot, or simply have multiple machines on their network. Then too, a lot of people just use boring old thumb drives to store data that all their systems can use. -- Matthew Weigel hacker unique idempot.ent
Re: NTFS-3G Stable Read/Write Driver ready to merge on cvs obsd ?
its shows that some poor trolls here dont own ultraportables with no external drives, and use more than one os alternative. i pass data from bsd to fat 32 so in m$ its then copy onto ntfs, i have 1 disk - 8 os, nothing is being done , but more and more ultraportables sells, yes it could be resolv into using an ext2 partition instead, but that is not resolving a problem its going around it covering eyes and ears. my stuff works, its just a pain , and ffs driver in windooz cant read more than one disklabel. bsd suggest using more than one partition, in that problem , one is the solution, next time i wont RTFM, and do as i see fit because their more opinions than guidlines. now as for backwards bsd. why does freebsd write to ntfs? why does osx write to ntfs.. seems to me that is more some obstination done not to support it. shure im doing it wrong , because nothing is being done. but shure a color-ls.pkg is more important if you ask me, SARCASTIC neko --- On Sun, 10/26/08, Ted Unangst [EMAIL PROTECTED] wrote: From: Ted Unangst [EMAIL PROTECTED] Subject: Re: NTFS-3G Stable Read/Write Driver ready to merge on cvs obsd ? To: [EMAIL PROTECTED] [EMAIL PROTECTED] Cc: misc@openbsd.org misc@openbsd.org Date: Sunday, October 26, 2008, 1:02 PM If you need to write to ntfs, you're doing it wrong. On Oct 25, 2008, at 9:12 PM, Neko [EMAIL PROTECTED] wrote: so there can be an end to this retard cant write on the file system bs http://www.ntfs-3g.org/ so will it be merged in the next obsd release ? this is the future. people use multiple os on their machine, not just vm , they will local install too, so action should be taken to have a filesystem stream that can be viewed by anyone, neko
ntfs never ever ffs land obsd ?
im trying to report the issue of the ffs driver you sent me to its developper, yes it can access disk labels. yes it sees other disk labels, but if you have /home on disk label d it wont work my disklabel is kinda like so bsd wd0a / wd0b -swap- wd0c -disk- wd0d /home exotic wd0i /dos wd0j /xp wd0k /ntfs plus there is an ext2 and plan 9 partition. linux does it all, plan9 is self capsuled, but still accessible from linux, xp reads all even the swap of linux, i but bsd, ... i have to pass all from ffs fat32 ntfs or ntfs fat32 ffs and its not even a virtual volume in windows, its a phisical extended partition. i know its a warzone in the partitions fields when it come to multiple os i have being dealing with this since bsd 3.7. now i use bsd from 2.7 to 3.7 enjoying no microsolft products at all, not even linux, then i had to because of work /contract requirements, now its 4.4 about 8y later, and nothing is done, since my system grew from bsd, its on bsd, not ext2, ext3 or reiser, shure its readable in hex and security sucks, but thats the point , readability. but its odd, nothing reads it properly. neko --- On Sun, 10/26/08, Alexey Suslikov [EMAIL PROTECTED] wrote: From: Alexey Suslikov [EMAIL PROTECTED] Subject: Re: NTFS-3G Stable Read/Write Driver ready to merge on cvs obsd ? To: Jonathan Schleifer [EMAIL PROTECTED] Cc: misc@openbsd.org Date: Sunday, October 26, 2008, 4:19 PM On Sun, Oct 26, 2008 at 10:11 PM, Jonathan Schleifer [EMAIL PROTECTED] wrote: Alexey Suslikov [EMAIL PROTECTED] wrote: And there is the http://www.fs-driver.org/ - also free and do read/write on ext2 for Windows. Crashed my ext2 data partition more than once, but I could always recover it with e2fsck, but the files in / all lost their names then. However, the stuff in sub directories still had names. So /foo/bar was /lost+found/$inode_no/bar after e2fsck. So? I crashed many FAT32 partitions. NTFS is kinda complex to crash but, as discussed above, it is hard to access in full-blown read/write mode from non-Windows. Don't want to use ext2? You have more choices. Go http://ffsdrv.sourceforge.net/index.php and help this guy to add write support to FFS driver for Windows. Alexey
Re: NTFS-3G Stable Read/Write Driver ready to merge on cvs obsd ?
Neko wrote: somhow here , most people i know use 4 os, dos/ms/lin/bsd OK, I'm genuinely curious: why do you run DOS on a machine that you also run Windows on? Why do you run Linux and OpenBSD on the same machine? oddly enough freebsd / osx have compatibility by default. but they wouldnt know would they. So... run FreeBSD or OS X as your fourth operating system instead of OpenBSD? I'm not sure if you noticed, but the whole REASON FreeBSD/NetBSD/OpenBSD/Linux are different projects run by different people is that they have differences of opinion on what's important, and what the right way to do something is. If you're having a problem sharing files, there are solutions far more effective than complaining on [EMAIL PROTECTED] If your goal is to solve your problem, you can solve it. -- Matthew Weigel hacker unique idempot.ent
Re: NTFS-3G Stable Read/Write Driver ready to merge on cvs obsd ?
On Sun, Oct 26, 2008 at 8:00 PM, Neko [EMAIL PROTECTED] wrote: shure im doing it wrong , because nothing is being done. but shure a color-ls.pkg is more important if you ask me, SARCASTIC So, what I'm seeing is that you're now being sarcastic because you want something that is not currently provided, and you feel that the best way to get the developers to see things your way is to bitch and moan? -- http://www.glumbert.com/media/shift http://www.youtube.com/watch?v=tGvHNNOLnCk This officer's men seem to follow him merely out of idle curiosity. -- Sandhurst officer cadet evaluation. Securing an environment of Windows platforms from abuse - external or internal - is akin to trying to install sprinklers in a fireworks factory where smoking on the job is permitted. -- Gene Spafford learn french: http://www.youtube.com/watch?v=j1G-3laJJP0feature=related
Copying large files between machines - was: NTFS-3G Stable Read/Write Driver blah-blah
Various people wrote: Transfering 2Gb files using a thumb drive is too hard ... There's always split/cat It may be inconvienient or unfeasable for very big files, but is simple enough to do. molly:/molly1 du -sh bigfile1 4.3Gbigfile1 molly:/molly1 split -b 1000m bigfile1 molly:/molly1 cp xaa bigfile2 molly:/molly1 cat xab bigfile2 molly:/molly1 cat xac bigfile2 molly:/molly1 cat xad bigfile2 molly:/molly1 cat xae bigfile2 molly:/molly1 cmp bigfile[12] molly:/molly1 sha1 bigfile[12] SHA1 (bigfile1) = 895a25403c13b9f5ba64e2460ff898f3593a72e0 SHA1 (bigfile2) = 895a25403c13b9f5ba64e2460ff898f3593a72e0 Finding a windows 'split' utility is an exercise for the reader. paulm
Re: relayd - tcp_write: connect timed out
For instance can you ensure that you can connect to the web server from the redirector(the machine running relayd) by using netcat? Run this on the web server. $ nc -l 1234 and from the relayd machine try $ nc 192.168.4.78 1234 Well this worked out : # nc 192.168.4.78 80 GET / htmlbodyh1It works! web01 /h1/body/html # nc 192.168.4.76 80 GET / htmlbodyh1It works! web02 /h1/body/html For instance have you ensured that the web server and the clients are in separate networks connected/routed by the relayd machine? My nodes have the relayd machine as default gateway. Is that sufficient ? There are certain unwritten ground rules to be followed for rdr to work. For instance if your reverse path does not match the forward path between the client and the server, then rdr will fail and the TCP handshake will not go through. Okay, as a client we have a firewall that serves as our default gateway for our laptops which 192.168.4.254. The relayd server has that as a default gateway as well. But the nodes have the relayd server as their default gateway so the forward/return should be identical in my configuration if I'm not mistaken. Basically rdr should get a chance to see the packets in both directions to function properly. Thanks for your kind attention to my problem, I'm still confused though, I'll go ahead and tcpdump this and see where it takes me. I would appreciate greater understanding of this. Sincerely, Uday
Re: relayd - tcp_write: connect timed out
I think I'm on to something here, when I change the check instructions from 'http / get 200' to 'icmp' I get no errors and the relaying works like a charm (you should've seen my face). The issue is to get relayd to check http correctly. I'll continue this and post my results for the others after me. uday
ciss hotspare
I've got a Compaq DL380 with a Smart Array 5300 (ciss), with four drives set up as a RAID 5 with hot spare. The array was configured using the card's BIOS utility. It appears one of the drives has failed, but the array hasn't rebuilt using the hot spare. Any ideas if this is an OpenBSD issue or a Compaq issue? sysctl hw.sensors: hw.sensors.ciss0.drive0=online (sd0), OK bioctl -i ciss0 Volume Status Size Device ciss0 0 Online72829501440 sd0 RAID5 0 Online36419584000 0:0.0 noencl COMPAQ BD03685A24 1 Online36419584000 0:1.0 noencl COMPAQ BD03685A24 2 Failed 0 0:2.0 noencl 3 Hot spare 36419584000 0:3.0 noencl COMPAQ BD03688272 dmesg: OpenBSD 4.2 (GENERIC.MP) #252: Tue Aug 28 10:53:04 MDT 2007 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC.MP cpu0: Intel Pentium III (GenuineIntel 686-class) 931 MHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE real mem = 804859904 (767MB) avail mem = 770043904 (734MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 12/31/99, BIOS32 rev. 0 @ 0xf, SMBIOS rev. 2.3 @ 0xf206c (25 entries) bios0: vendor Compaq version P17 date 12/18/2002 bios0: Compaq ProLiant DL380 pcibios0 at bios0: rev 2.1 @ 0xf/0x2000 pcibios0: PCI BIOS has 7 Interrupt Routing table entries pcibios0: PCI Interrupt Router at 000:15:0 (ServerWorks OSB4 rev 0x00) pcibios0: PCI bus #1 is the last bus bios0: ROM list: 0xc/0x8000 0xc8000/0x4000 0xe8000/0x6000 0xee000/0x2000! acpi at mainbus0 not configured mainbus0: Intel MP Specification (Version 1.4) cpu0 at mainbus0: apid 1 (boot processor) cpu0: apic clock running at 132 MHz cpu1 at mainbus0: apid 0 (application processor) cpu1: Intel Pentium III (GenuineIntel 686-class) 931 MHz cpu1: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE mainbus0: bus 0 is type PCI mainbus0: bus 3 is type PCI mainbus0: bus 9 is type ISA ioapic0 at mainbus0: apid 8 pa 0xfec0, version 11, 35 pins ioapic0: misconfigured as apic 0, remapped to apid 8 pci0 at mainbus0 bus 0: configuration mode 1 (no bios) pchb0 at pci0 dev 0 function 0 ServerWorks CNB20LE Host rev 0x05 pchb1 at pci0 dev 0 function 1 ServerWorks CNB20LE Host rev 0x05 pci1 at pchb1 bus 3 ciss0 at pci1 dev 4 function 0 Compaq Smart Array 5300 rev.2 rev 0x02: apic 8 int 11 (irq 11) ciss0: 1 LD, HW rev 0, FW 3.54/3.54 scsibus0 at ciss0: 1 targets sd0 at scsibus0 targ 0 lun 0: COMPAQ, LOGICAL VOLUME, 3.54 SCSI0 0/direct fixed sd0: 69455MB, 8854 cyl, 255 head, 63 sec, 512 bytes/sec, 142245120 sec total fxp0 at pci1 dev 5 function 0 Intel 8255x rev 0x0d, i82550: apic 8 int 15 (irq 15), address 00:02:b3:8f:14:2c inphy0 at fxp0 phy 1: i82555 10/100 PHY, rev. 4 siop0 at pci0 dev 1 function 0 Symbios Logic 53c1510D rev 0x02: apic 8 int 5 (irq 5), using 4K of on-board RAM scsibus1 at siop0: 16 targets siop1 at pci0 dev 1 function 1 Symbios Logic 53c1510D rev 0x02: apic 8 int 11 (irq 11), using 4K of on-board RAM scsibus2 at siop1: 16 targets st0 at scsibus2 targ 6 lun 0: COMPAQ, SDT-1, 1.12 SCSI2 1/sequential removable fxp1 at pci0 dev 2 function 0 Intel 8255x rev 0x08, i82559: apic 8 int 10 (irq 10), address 00:02:a5:28:55:62 inphy1 at fxp1 phy 1: i82555 10/100 PHY, rev. 4 ATI Mach64 GV rev 0x7a at pci0 dev 3 function 0 not configured Compaq Netelligent ASMC rev 0x00 at pci0 dev 4 function 0 not configured ppb0 at pci0 dev 5 function 0 Intel S21152BB PCI-PCI rev 0x00 pci2 at ppb0 bus 1 vga1 at pci2 dev 0 function 0 ATI Rage XL rev 0x27 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) Compaq Netelligent ASMC rev 0x00 at pci2 dev 1 function 0 not configured vendor Compaq, unknown product 0x005a (class memory subclass miscellaneous, rev 0x00) at pci2 dev 2 function 0 not configured vendor Compaq, unknown product 0x00b1 (class memory subclass miscellaneous, rev 0x01) at pci2 dev 4 function 0 not configured piixpm0 at pci0 dev 15 function 0 ServerWorks OSB4 rev 0x4f: SMBus disabled pciide0 at pci0 dev 15 function 1 ServerWorks OSB4 IDE rev 0x00: DMA atapiscsi0 at pciide0 channel 0 drive 0 scsibus3 at atapiscsi0: 2 targets cd0 at scsibus3 targ 0 lun 0: COMPAQ, CD-224E, 9.0B SCSI0 5/cdrom removable cd0(pciide0:0:0): using PIO mode 4, DMA mode 2 pciide0: no compatibility interrupt for use by channel 1 isa0 at mainbus0 isadma0 at isa0 pckbc0 at isa0 port 0x60/5 pckbd0 at pckbc0 (kbd slot) pckbc0: using irq 1 for kbd slot wskbd0 at pckbd0: console keyboard, using wsdisplay0 pms0 at pckbc0 (aux slot) pckbc0: using irq 12 for aux slot wsmouse0 at pms0 mux 0 pcppi0 at isa0 port 0x61 midi0 at pcppi0: PC speaker spkr0 at pcppi0 npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16 pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo pccom1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo pctr:
Re: relayd - tcp_write: connect timed out
On Sun, Oct 26, 2008 at 6:41 PM, uday [EMAIL PROTECTED] wrote: ... Well this worked out : # nc 192.168.4.78 80 GET / htmlbodyh1It works! web01 /h1/body/html # nc 192.168.4.76 80 GET / htmlbodyh1It works! web02 /h1/body/html Ick: those are pre-HTTP-1.0 requests, as they lack a protocol and version identifier. What relayd actually sends is a HEAD request with protocol HTTP/1.0. You don't specify a hostname in your config, so it doesn't send a Host: header field. Try those again using something like: printf HEAD / HTTP/1.0\r\n\r\n | nc 192.168.4.76 80 to better emulate the test made by relayd. Philip Guenther
Re: ciss hotspare
On Sun, Oct 26, 2008 at 11:32 PM, Steve Shockley [EMAIL PROTECTED] wrote: I've got a Compaq DL380 with a Smart Array 5300 (ciss), with four drives set up as a RAID 5 with hot spare. The array was configured using the card's BIOS utility. In my experience, with some of the smart arrays, you have to reboot and rebuild the arrays before booting into the OS again. YMMV and all that. -- http://www.glumbert.com/media/shift http://www.youtube.com/watch?v=tGvHNNOLnCk This officer's men seem to follow him merely out of idle curiosity. -- Sandhurst officer cadet evaluation. Securing an environment of Windows platforms from abuse - external or internal - is akin to trying to install sprinklers in a fireworks factory where smoking on the job is permitted. -- Gene Spafford learn french: http://www.youtube.com/watch?v=j1G-3laJJP0feature=related
amd64 -current -- weird behavior of tpb in non-MP kernel
Hello misc@, Experiencing weird behavior that happens in GENERIC, but doesn't happen in GENERIC.MP. It's a Thinkpad T61 machine. I'm running sysutils/tpb to see nice visual feedback regarding brightness change and other niceties for thinkpads. Whenever I run it on GENERIC.MP its behaviour is as expected. On the other hand, running it on GENERIC generates weird events. Take a look here: $ tpb -v Home button pressed Search button pressed Mail button pressed Home button pressed Search button pressed Mail button pressed Power management mode AC changed: PM AC unknown Power management mode battery changed: PM battery unknown Power management mode AC changed: PM AC high Power management mode battery changed: PM battery auto Volume changed: Level 0 Volume changed: Level 50 Zoom is on Zoom is off Zoom is on Zoom is off Brightness changed: Level 0 Brightness changed: Level 100 Volume changed: Level 0 Volume changed: Level 50 Zoom is on Zoom is off Home button pressed Search button pressed Mail button pressed Home button pressed Search button pressed Mail button pressed Zoom is on Zoom is off Brightness changed: Level 0 Brightness changed: Level 100 Display changed: PM battery auto HV Expansion is off Display changed: LCD on, CRT off HV Expansion is on None of these events are real. Notice, this laptop doesn't have home/search/mail/zoom buttons, so it's obviously strange. Again, none of this happens on GENERIC.MP. Also notice, if I press brightness up / brightness down buttons, the actual brightness _does_ change, and proper event is generated. acpidump(8) is available at http://www.x96.org/acpidump.txt.gz OpenBSD 4.4-current (GENERIC) #0: Sun Oct 26 21:09:29 PDT 2008 [EMAIL PROTECTED]:/usr/src/sys/arch/amd64/compile/GENERIC real mem = 2090835968 (1993MB) avail mem = 2030034944 (1935MB) mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xe0010 (73 entries) bios0: vendor LENOVO version 7LETB9WW (2.19 ) date 06/06/2008 bios0: LENOVO 7658CTO acpi0 at bios0: rev 2 acpi0: tables DSDT FACP SSDT ECDT TCPA APIC MCFG HPET SLIC BOOT ASF! SSDT SSDT SSDT SSDT acpi0: wakeup devices LID_(S3) SLPB(S3) LURT(S3) DURT(S3) IGBE(S4) EXP0(S4) EXP1(S4) EXP2(S4) EXP3(S4) EXP4(S4) PCI1(S4) USB0(S3) USB1(S3) USB2(S3) USB3(S3) USB4(S3) EHC0(S3) EHC1(S3) HDEF(S4) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpihpet0 at acpi0: 14318179 Hz acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus -1 (AGP_) acpiprt2 at acpi0: bus 2 (EXP0) acpiprt3 at acpi0: bus 3 (EXP1) acpiprt4 at acpi0: bus 4 (EXP2) acpiprt5 at acpi0: bus 5 (EXP3) acpiprt6 at acpi0: bus 13 (EXP4) acpiprt7 at acpi0: bus 21 (PCI1) acpiec0 at acpi0 acpicpu0 at acpi0: C3, C2 acpitz0 at acpi0: critical temperature 127 degC acpitz1 at acpi0: critical temperature 100 degC acpibtn0 at acpi0: LID_ acpibtn1 at acpi0: SLPB acpibat0 at acpi0: BAT0 model 42T4530 serial 483 type LION oem SANYO acpibat1 at acpi0: BAT1 not present acpiac0 at acpi0: AC unit online acpithinkpad0 at acpi0 acpidock at acpi0 not configured acpivideo at acpi0 not configured acpivideo at acpi0 not configured cpu0 at mainbus0: (uniprocessor) cpu0: Intel(R) Core(TM)2 Duo CPU T8300 @ 2.40GHz, 2394.39 MHz cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,CX16,xTPR,NXE,LONG cpu0: 3MB 64b/line 8-way L2 cache cpu0: unknown i686 model 7, can't get bus clockcpu0: EST: unknown system bus clock pci0 at mainbus0 bus 0: configuration mode 1 pchb0 at pci0 dev 0 function 0 Intel GM965 Host rev 0x0c vga1 at pci0 dev 2 function 0 Intel GM965 Video rev 0x0c wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) agp0 at vga1: aperture at 0xe000, size 0x1000 inteldrm0 at vga1 Intel GM965 Video rev 0x0c at pci0 dev 2 function 1 not configured em0 at pci0 dev 25 function 0 Intel ICH8 IGP M AMT rev 0x03: irq 11, address 00:1c:25:76:fa:ea uhci0 at pci0 dev 26 function 0 Intel 82801H USB rev 0x03: irq 11 uhci1 at pci0 dev 26 function 1 Intel 82801H USB rev 0x03: irq 11 ehci0 at pci0 dev 26 function 7 Intel 82801H USB rev 0x03: irq 11 usb0 at ehci0: USB revision 2.0 uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1 azalia0 at pci0 dev 27 function 0 Intel 82801H HD Audio rev 0x03: irq 11 azalia0: RIRB time out azalia0: RIRB time out azalia0: RIRB time out azalia0: codec[s]: Analog Devices AD1984, Conexant/0x2bfa, using Analog Devices AD1984 audio0 at azalia0 ppb0 at pci0 dev 28 function 0 Intel 82801H PCIE rev 0x03: irq 11 pci1 at ppb0 bus 2 ppb1 at pci0 dev 28 function 1 Intel 82801H PCIE rev 0x03: irq 11 pci2 at ppb1 bus 3 iwn0 at pci2 dev 0 function 0 Intel Wireless WiFi Link 4965AGN rev 0x61: irq 11, MIMO 2T3R, MoW1, address 00:1f:3b:03:b1:59 ppb2 at pci0 dev 28 function 2 Intel 82801H PCIE rev 0x03: irq 11 pci3 at ppb2 bus 4 ppb3 at pci0 dev 28 function 3 Intel 82801H PCIE rev 0x03: irq 11 pci4 at ppb3 bus 5 ppb4 at pci0 dev 28 function 4 Intel