Re: Proliferation of .serverauth.??? files.
On Sun, Jul 6, 2008 at 2:22 AM, Unix Fan [EMAIL PROTECTED] wrote: Greets, In a number of Linux distributions the bug has been fixed, but it remains in OpenBSD... Why? I don't see any difference in the way Fedora 8 handles that. The only difference I see is that most linux distributions enforce the use of a display manager instead of letting the user run startx. Using a display manager has always been the recommended way to start X. (xinit/startx are just helpers for the cases where the display manager can't be used, like during X development or debugging) If you start Xorg using the startx script, and shutdown suddenly, those little buggers multiply. Only if you don't give startx a chance to execute the code that clean them up after the X server exits, when your machine crashes or is powered off whithout a proper shutdown. Normally, even if you run 'shutdown' in an X terminal, startx correctly removes the script. So, how about we make that little block of code on line 107 do something useful? Hop on over to line 141 and replace failure with success: xserverauthfile=$XAUTHORITY No. The .xserverauth.xxx file was introduced a couple of years ago because the X server has no reason to have access to all the cookies in the user's .Xauthority. If you used xdm to start X or shutdown X cleanly, no .xserverauth files are left beyond. -- Matthieu Herrb
Re: ROOTBACKUP=1 no backup done
Yes, looks like this is the problem. I've setup /altroot during installation, and i didn't bother editing fstab. /altroot looks like this: /dev/wd0d /altroot ffs rw 1 2 So i should change ffs to xx, right? -- Gabri Mate [EMAIL PROTECTED] On 22:02 Sat 05 Jul , Denny White wrote: Quoted from Gabri Mate on Sun, Jul 06, 2008 at 02:25:55AM +0200,: Hey There List, I've made an /altroot partition, exactly the same size as my /, and it is also mounted. I've put ROOTBACKUP=1 in root's crontab, but my / partition doesn't get dumped on /altroot at the daily cron's run. I have 4.3 release. Is there something i'm missing? -- Gabri Mate [EMAIL PROTECTED] [demime 1.01d removed an attachment of type application/pgp-signature] Read this portion of /etc/daily: # If ROOTBACKUP is set to 1 in the environment, and # if filesystem named /altroot is type ffs, on /dev/* and mounted xx, # use it as a backup root filesystem to be updated daily. And, if you read fstab(5) you'll see this: If fs_type is specified as ``xx'' the entry is ignored. So, fs_type should be xx in your fstab, right? You didn't include your fstab, but that sounds like what the problem is; i.e., you don't have that in yours and altroot is mounting normally. Denny White -- People who want to share their religious views with you almost never want you to share yours with them. Dave Barry All messages scanned by ClamAssassin http://jameslick.com/clamassassin/ === GnuPG key : 0x1644E79A | http://wwwkeys.nl.pgp.net Fingerprint: D0A9 AD44 1F10 E09E 0E67 EC25 CB44 F2E5 1644 E79A === [demime 1.01d removed an attachment of type application/pgp-signature]
X in 4.4-beta is sluggish on X40
As of 4.4-beta (dmesg below), X has become sluggish on my Thinkpad X40. Switching between tabs in Firefox takes about 2 seconds now. Starting a new xterm takes about a second which before was instant. Switching between desktops in cwm results in a one second delay between drawing the outline of xterms and actually populating with text. Playing audio files with vlc while switching between firefox tabs causes no pauses in the audio stream. xorg.conf hasn't changed since april 13 and I've upgraded to various snapshots weekly times since then. Running top shows that Xorg uses about 10% cpu and firefox around 20%. I don't recall either going that high before. Running X and firefox for a few minutes causes the fan in my X40 to start spinning faster: There's more work being done somewhere. I can reproduce this scenario with no .xsession and with an .xsession that starts cwm. .xsession-errors only contains text related to ssh key agent. Any suggestions on how to troubleshoot this situation? (Short of going back in time and building incremental changes from CVS). OpenBSD 4.4-beta (GENERIC) #968: Thu Jul 3 19:29:46 MDT 2008 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC cpu0: Intel(R) Pentium(R) M processor 1200MHz (GenuineIntel 686-class) 1.20 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,TM,SBF,EST,TM2 real mem = 1600548864 (1526MB) avail mem = 1538400256 (1467MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 12/21/06, BIOS32 rev. 0 @ 0xfd740, SMBIOS rev. 2.33 @ 0xe0010 (56 entries) bios0: vendor IBM version 1UETD3WW (2.08 ) date 12/21/2006 bios0: IBM 23728EG apm0 at bios0: Power Management spec V1.2 apm0: battery life expectancy 100% apm0: AC on, battery charge high acpi at bios0 function 0x0 not configured pcibios0 at bios0: rev 2.1 @ 0xfd6d0/0x930 pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdeb0/256 (14 entries) pcibios0: PCI Interrupt Router at 000:31:0 (Intel 82371FB ISA rev 0x00) pcibios0: PCI bus #3 is the last bus bios0: ROM list: 0xc/0xc800! 0xcc800/0x1000 0xcd800/0x1000 0xdc000/0x4000! 0xe/0x1 cpu0 at mainbus0 cpu0: Enhanced SpeedStep 1200 MHz (1180 mV): speeds: 1200, 1100, 1000, 900, 800, 600 MHz pci0 at mainbus0 bus 0: configuration mode 1 (no bios) pchb0 at pci0 dev 0 function 0 Intel 82855GM Host rev 0x02 Intel 82855GM Memory rev 0x02 at pci0 dev 0 function 1 not configured Intel 82855GM Config rev 0x02 at pci0 dev 0 function 3 not configured vga1 at pci0 dev 2 function 0 Intel 82855GM Video rev 0x02 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) agp0 at vga1: aperture at 0xe000, size 0x800 Intel 82855GM Video rev 0x02 at pci0 dev 2 function 1 not configured uhci0 at pci0 dev 29 function 0 Intel 82801DB USB rev 0x01: irq 11 uhci1 at pci0 dev 29 function 1 Intel 82801DB USB rev 0x01: irq 11 uhci2 at pci0 dev 29 function 2 Intel 82801DB USB rev 0x01: irq 11 ehci0 at pci0 dev 29 function 7 Intel 82801DB USB rev 0x01: irq 11 usb0 at ehci0: USB revision 2.0 uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1 ppb0 at pci0 dev 30 function 0 Intel 82801BAM Hub-to-PCI rev 0x81 pci1 at ppb0 bus 2 cbb0 at pci1 dev 0 function 0 Ricoh 5C476 CardBus rev 0x8d: irq 11 sdhc0 at pci1 dev 0 function 1 Ricoh 5C822 SD/MMC rev 0x13: irq 11 sdmmc0 at sdhc0 em0 at pci1 dev 1 function 0 Intel PRO/1000MT Mobile (82541GI) rev 0x00: irq 11, address 00:0a:e4:2f:1e:ea ath0 at pci1 dev 2 function 0 Atheros AR5212 rev 0x01: irq 11 ath0: AR5213 5.9 phy 4.3 rf2112a 4.6, WOR0W, address 00:0e:9b:98:f6:55 cardslot0 at cbb0 slot 0 flags 0 cardbus0 at cardslot0: bus 3 device 0 cacheline 0x0, lattimer 0xb0 pcmcia0 at cardslot0 ichpcib0 at pci0 dev 31 function 0 Intel 82801DBM LPC rev 0x01: 24-bit timer at 3579545Hz pciide0 at pci0 dev 31 function 1 Intel 82801DBM IDE rev 0x01: DMA, channel 0 configured to compatibility, channel 1 configured to compatibility wd0 at pciide0 channel 0 drive 0: HITACHI_DK13FA-40B wd0: 16-sector PIO, LBA, 38154MB, 78140160 sectors wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5 atapiscsi0 at pciide0 channel 1 drive 0 scsibus0 at atapiscsi0: 2 targets, initiator 7 cd0 at scsibus0 targ 0 lun 0: MATSHITA, UJDA755yDVD/CDRW, 1.70 ATAPI 5/cdrom removable cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2 ichiic0 at pci0 dev 31 function 3 Intel 82801DB SMBus rev 0x01: irq 11 iic0 at ichiic0 spdmem0 at iic0 addr 0x51: 1GB DDR SDRAM non-parity PC2700CL2.5 auich0 at pci0 dev 31 function 5 Intel 82801DB AC97 rev 0x01: irq 11, ICH4 AC97 ac97: codec id 0x41445374 (Analog Devices AD1981B) ac97: codec features headphone, 20 bit DAC, No 3D Stereo audio0 at auich0 Intel 82801DB Modem rev 0x01 at pci0 dev 31 function 6 not configured usb1 at uhci0: USB revision 1.0 uhub1 at usb1 Intel UHCI root hub rev 1.00/1.00 addr 1 usb2 at uhci1: USB revision 1.0 uhub2 at usb2 Intel UHCI root hub rev 1.00/1.00 addr 1 usb3 at uhci2: USB revision
Re: X in 4.4-beta is sluggish on X40
Add the following to xorg.conf in the Device section: Option MigrationHeuristic greedy On 2008-07-06, Alex Holst [EMAIL PROTECTED] wrote: As of 4.4-beta (dmesg below), X has become sluggish on my Thinkpad X40. Switching between tabs in Firefox takes about 2 seconds now. Starting a new xterm takes about a second which before was instant. Switching between desktops in cwm results in a one second delay between drawing the outline of xterms and actually populating with text. Playing audio files with vlc while switching between firefox tabs causes no pauses in the audio stream. xorg.conf hasn't changed since april 13 and I've upgraded to various snapshots weekly times since then. Running top shows that Xorg uses about 10% cpu and firefox around 20%. I don't recall either going that high before. Running X and firefox for a few minutes causes the fan in my X40 to start spinning faster: There's more work being done somewhere. I can reproduce this scenario with no .xsession and with an .xsession that starts cwm. .xsession-errors only contains text related to ssh key agent. Any suggestions on how to troubleshoot this situation? (Short of going back in time and building incremental changes from CVS). OpenBSD 4.4-beta (GENERIC) #968: Thu Jul 3 19:29:46 MDT 2008 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC cpu0: Intel(R) Pentium(R) M processor 1200MHz (GenuineIntel 686-class) 1.20 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,TM,SBF,EST,TM2 real mem = 1600548864 (1526MB) avail mem = 1538400256 (1467MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 12/21/06, BIOS32 rev. 0 @ 0xfd740, SMBIOS rev. 2.33 @ 0xe0010 (56 entries) bios0: vendor IBM version 1UETD3WW (2.08 ) date 12/21/2006 bios0: IBM 23728EG apm0 at bios0: Power Management spec V1.2 apm0: battery life expectancy 100% apm0: AC on, battery charge high acpi at bios0 function 0x0 not configured pcibios0 at bios0: rev 2.1 @ 0xfd6d0/0x930 pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdeb0/256 (14 entries) pcibios0: PCI Interrupt Router at 000:31:0 (Intel 82371FB ISA rev 0x00) pcibios0: PCI bus #3 is the last bus bios0: ROM list: 0xc/0xc800! 0xcc800/0x1000 0xcd800/0x1000 0xdc000/0x4000! 0xe/0x1 cpu0 at mainbus0 cpu0: Enhanced SpeedStep 1200 MHz (1180 mV): speeds: 1200, 1100, 1000, 900, 800, 600 MHz pci0 at mainbus0 bus 0: configuration mode 1 (no bios) pchb0 at pci0 dev 0 function 0 Intel 82855GM Host rev 0x02 Intel 82855GM Memory rev 0x02 at pci0 dev 0 function 1 not configured Intel 82855GM Config rev 0x02 at pci0 dev 0 function 3 not configured vga1 at pci0 dev 2 function 0 Intel 82855GM Video rev 0x02 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) agp0 at vga1: aperture at 0xe000, size 0x800 Intel 82855GM Video rev 0x02 at pci0 dev 2 function 1 not configured uhci0 at pci0 dev 29 function 0 Intel 82801DB USB rev 0x01: irq 11 uhci1 at pci0 dev 29 function 1 Intel 82801DB USB rev 0x01: irq 11 uhci2 at pci0 dev 29 function 2 Intel 82801DB USB rev 0x01: irq 11 ehci0 at pci0 dev 29 function 7 Intel 82801DB USB rev 0x01: irq 11 usb0 at ehci0: USB revision 2.0 uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1 ppb0 at pci0 dev 30 function 0 Intel 82801BAM Hub-to-PCI rev 0x81 pci1 at ppb0 bus 2 cbb0 at pci1 dev 0 function 0 Ricoh 5C476 CardBus rev 0x8d: irq 11 sdhc0 at pci1 dev 0 function 1 Ricoh 5C822 SD/MMC rev 0x13: irq 11 sdmmc0 at sdhc0 em0 at pci1 dev 1 function 0 Intel PRO/1000MT Mobile (82541GI) rev 0x00: irq 11, address 00:0a:e4:2f:1e:ea ath0 at pci1 dev 2 function 0 Atheros AR5212 rev 0x01: irq 11 ath0: AR5213 5.9 phy 4.3 rf2112a 4.6, WOR0W, address 00:0e:9b:98:f6:55 cardslot0 at cbb0 slot 0 flags 0 cardbus0 at cardslot0: bus 3 device 0 cacheline 0x0, lattimer 0xb0 pcmcia0 at cardslot0 ichpcib0 at pci0 dev 31 function 0 Intel 82801DBM LPC rev 0x01: 24-bit timer at 3579545Hz pciide0 at pci0 dev 31 function 1 Intel 82801DBM IDE rev 0x01: DMA, channel 0 configured to compatibility, channel 1 configured to compatibility wd0 at pciide0 channel 0 drive 0: HITACHI_DK13FA-40B wd0: 16-sector PIO, LBA, 38154MB, 78140160 sectors wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5 atapiscsi0 at pciide0 channel 1 drive 0 scsibus0 at atapiscsi0: 2 targets, initiator 7 cd0 at scsibus0 targ 0 lun 0: MATSHITA, UJDA755yDVD/CDRW, 1.70 ATAPI 5/cdrom removable cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2 ichiic0 at pci0 dev 31 function 3 Intel 82801DB SMBus rev 0x01: irq 11 iic0 at ichiic0 spdmem0 at iic0 addr 0x51: 1GB DDR SDRAM non-parity PC2700CL2.5 auich0 at pci0 dev 31 function 5 Intel 82801DB AC97 rev 0x01: irq 11, ICH4 AC97 ac97: codec id 0x41445374 (Analog Devices AD1981B) ac97: codec features headphone, 20 bit DAC, No 3D Stereo audio0 at auich0 Intel 82801DB Modem rev 0x01 at pci0
does SiI3124 sata controller work under openbsd
Hallo! I am choosing (probably from ebay) a sata adapter to connect four newer generation sata disks to little older computer (ibm x200, with 32bit pci slots) to make myself an home-made storage for home use backup. I have not yet decided whether to use for it openbsd or debian. People recommended sil3124 chip based sata controllers for linux which come also with 32bit pci 4 sata port flavors. I checked http://www.openbsd.org/i386.html#hardware and saw there that the following silicon images are supported Silicon Image SiI3112 (including ATI IXP SATA), SiI3512, SiI3114 but to make sure i would like to ask if this sil3124 chip is also working under openbsd now or maybe some near time in the future? Or what model is so to say classic openbsd sata controller which is also sold nowdays? And if somebody shares from their experience how reasonable is to put together PIII generation 32bit pci computer from year of 2002 with new sata controller and new harddisks. And how much it practically makes difference to distribute four disks between one such four port sata controller or two two port sata controllers in terms of performance? At the moment i am thinking of backup solution but if it is performing very well then i expect to use the same solution for nfs file server also, though it needs a second thought how much to separate the two. Best regards Imre PS I intend to use those sata controllers only as sata controllers and use software raid, e.g. not their on-chip raid features.
Re: ROOTBACKUP=1 no backup done
-- Gabri Mate [EMAIL PROTECTED] On 04:19 Sun 06 Jul , Denny White wrote: Quoted from Gabri Mate on Sun, Jul 06, 2008 at 02:25:55AM +0200,: Hey There List, I've made an /altroot partition, exactly the same size as my /, and it is also mounted. I've put ROOTBACKUP=1 in root's crontab, but my / partition doesn't get dumped on /altroot at the daily cron's run. I have 4.3 release. Is there something i'm missing? -- Gabri Mate [EMAIL PROTECTED] [demime 1.01d removed an attachment of type application/pgp-signature] Read this portion of /etc/daily: # If ROOTBACKUP is set to 1 in the environment, and # if filesystem named /altroot is type ffs, on /dev/* and mounted xx, # use it as a backup root filesystem to be updated daily. And, if you read fstab(5) you'll see this: If fs_type is specified as ``xx'' the entry is ignored. So, fs_type should be xx in your fstab, right? You didn't include your fstab, but that sounds like what the problem is; i.e., you don't have that in yours and altroot is mounting normally. Quoted from Gabri Mate on Sun, Jul 06, 2008 at 09:03:28AM +0200,: Yes, looks like this is the problem. I've setup /altroot during installation, and i didn't bother editing fstab. /altroot looks like this: /dev/wd0d /altroot ffs rw 1 2 So i should change ffs to xx, right? No, you need to read the terminologies a little closer on fstab. Anyway, it should look like this: /dev/wd0d /altroot ffs xx 0 0 Mine is on a separate drive. I figure if my main drive craps out, what good will /altroot on that drive do me. My fstab looks like: /dev/wd1a /altroot ffs xx 0 0 Hope that helps. You should've cc'd misc@ too, when you wrote back. Anyway, I don't mind corresponding off list. Also, you'll have to umount the /altroot too. After that, either wait see what happens when daily runs, or run it yourself beforehand, either manually or change roots crontab temporarily. If that doesn't work, you might have to reboot. Never ran into that problem before since I had it set up right from the get go, but that was just luck. I had already read that part specifically somewhere (can't recall right now) and was concerned about backups right from the start. Just for my own curiosity, let me know if you wind up having to reboot for it to take, okay? ttyl Denny White -- Bill Gates is a very rich man today... and do you want to know why? The answer is one word: versions. Dave Barry All messages scanned by ClamAssassin http://jameslick.com/clamassassin/ === GnuPG key : 0x1644E79A | http://wwwkeys.nl.pgp.net Fingerprint: D0A9 AD44 1F10 E09E 0E67 EC25 CB44 F2E5 1644 E79A === Thank You! I'll check it and report back about the need of a reboot. [demime 1.01d removed an attachment of type application/pgp-signature]
Re: does SiI3124 sata controller work under openbsd
On Sun, Jul 06, 2008 at 12:43:39PM +0300, Imre Oolberg wrote: Hallo! I am choosing (probably from ebay) a sata adapter to connect four newer generation sata disks to little older computer (ibm x200, with 32bit pci slots) to make myself an home-made storage for home use backup. I have not yet decided whether to use for it openbsd or debian. People recommended sil3124 chip based sata controllers for linux which come also with 32bit pci 4 sata port flavors. I checked http://www.openbsd.org/i386.html#hardware and saw there that the following silicon images are supported Silicon Image SiI3112 (including ATI IXP SATA), SiI3512, SiI3114 but to make sure i would like to ask if this sil3124 chip is also working under openbsd now or maybe some near time in the future? Or what model is so to say classic openbsd sata controller which is also sold nowdays? And if somebody shares from their experience how reasonable is to put together PIII generation 32bit pci computer from year of 2002 with new sata controller and new harddisks. And how much it practically makes difference to distribute four disks between one such four port sata controller or two two port sata controllers in terms of performance? At the moment i am thinking of backup solution but if it is performing very well then i expect to use the same solution for nfs file server also, though it needs a second thought how much to separate the two. Best regards Imre PS I intend to use those sata controllers only as sata controllers and use software raid, e.g. not their on-chip raid features. Your chipset should be supported by the sili(4) driver: http://www.openbsd.org/cgi-bin/man.cgi?query=siliapropos=0sektion=0manpath=OpenBSD+Currentarch=i386format=html
another pf kernel panic
That last one that got fixed by henning seems to work now, however i hit another one. Scenario-NATing OBSD i386 acting as gw and and redirecting a port 39965 to laptop behind running WinXP. Regular surfing works ok and is stable but if i start ytorrent and 3-4 different torrents this panics instantaniously and 100% reproducible. CVS checkout and build on july 5. [EMAIL PROTECTED]:~$ dmesg OpenBSD 4.4-beta (GENERIC) #0: Sat Jul 5 13:44:44 CEST 2008 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC cpu0: Intel Pentium III (GenuineIntel 686-class, 512KB L2 cache) 552 MHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,S SE real mem = 200830976 (191MB) avail mem = 185876480 (177MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 10/08/99, BIOS32 rev. 0 @ 0xfd78d, SMBIOS rev. 2.2 @ 0xe8010 (57 entries) bios0: vendor Phoenix Technologies Ltd. version HZ.01.05US date 10/08/99 bios0: Hewlett-Packard HP Vectra apm0 at bios0: Power Management spec V1.2 apm0: AC on, battery charge unknown acpi at bios0 function 0x0 not configured pcibios0 at bios0: rev 2.1 @ 0xfd720/0x8e0 pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdf30/160 (8 entries) pcibios0: PCI Interrupt Router at 000:04:0 (Intel 82371FB ISA rev 0x00) pcibios0: PCI bus #1 is the last bus bios0: ROM list: 0xc/0x8000 0xe8000/0x8000! cpu0 at mainbus0 pci0 at mainbus0 bus 0: configuration mode 1 (no bios) pchb0 at pci0 dev 0 function 0 Intel 82443BX AGP rev 0x03 ppb0 at pci0 dev 1 function 0 Intel 82443BX AGP rev 0x03 pci1 at ppb0 bus 1 vga1 at pci1 dev 0 function 0 Matrox MGA G200 AGP rev 0x03 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) agp0 at vga1: aperture at 0xf800, size 0x400 piixpcib0 at pci0 dev 4 function 0 Intel 82371AB PIIX4 ISA rev 0x02 pciide0 at pci0 dev 4 function 1 Intel 82371AB IDE rev 0x01: DMA, channel 0 wired to compatibility, channel 1 wired to compatibility wd0 at pciide0 channel 0 drive 0: ST3500630A wd0: 16-sector PIO, LBA48, 476940MB, 976773168 sectors wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2 pciide0: channel 1 disabled (no drives) uhci0 at pci0 dev 4 function 2 Intel 82371AB USB rev 0x01: irq 9 piixpm0 at pci0 dev 4 function 3 Intel 82371AB Power rev 0x02: SMI iic0 at piixpm0 spdmem0 at iic0 addr 0x50: 128MB SDRAM non-parity PC100CL3 spdmem1 at iic0 addr 0x51: 64MB SDRAM non-parity PC100CL2 spdmem2 at iic0 addr 0x56: no decode method for Rambus memory spdmem3 at iic0 addr 0x57: no decode method for Rambus memory xl0 at pci0 dev 11 function 0 3Com 3c905B 100Base-TX rev 0x30: irq 9, address 00:40:ca:18:59:6a exphy0 at xl0 phy 24: 3Com internal media interface em0 at pci0 dev 16 function 0 Intel PRO/1000GT (82541GI) rev 0x05: irq 9, address 00:1b:21:0c:6b:c3 isa0 at piixpcib0 isadma0 at isa0 com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo 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 pcppi0 at isa0 port 0x61 midi0 at pcppi0: PC speaker spkr0 at pcppi0 lpt0 at isa0 port 0x378/4 irq 7 npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16 usb0 at uhci0: USB revision 1.0 uhub0 at usb0 Intel UHCI root hub rev 1.00/1.00 addr 1 biomask ff65 netmask ff65 ttymask mtrr: Pentium Pro MTRR support softraid0 at root root on wd0a swap on wd0b dump on wd0b WARNING: / was not properly unmounted Typing by hand.. login: panic: pool_do_get(pfstatekeypl): free list modified: magic=300a8c0; page 0xd6bf000; item addr 0xd6b8f948 Stopped at Debugger+0x4:leave RUN AT LEAST blabla ddb trace Debugger(0,0,d6a81a48,d6b8f948,d08012a0) at Debugger+0x4 panic(d06ca9a0,d06c2ec8,300a8c0,d6b8f000,d6b8f000,d6b8f949) at panic+0x55 pool_do_get(d08012a0,100,d4ec007c,d4eda01a,2) at pool_do_get(+0x2ea pool_get(d08012a0,100,d4ec007c,d4eda01a,2) at pool_get+0x1e pf_alloc_state_key(100,d4ec235c,1d9ca5e8,0,0) af_alloc_state_key+0x13 pf_state_key_setup(d6a81ce0,d4ec235c,d6a81c1c,d6a81c20,d6a81c24,d6a81c28,d4ed a0 1a,d4eda01e,1d9c,a5e8,0,d4ebc364) at pf_state_key_setup0x51 pf_get_translation(d6a81ce0,d4ee5700,14,2,d0cb9700,d6a81c18,d6a81c1c,d6a81c20 ,d 6a81c24,d6a81c28,d4eda01a,d4eda01e,1d9c,a5e8,0,d6b7e54c) at pf_get_translation+0x72 pf_test_rule(d6a81c90,d6a81c88,2,d0cb9700,d4ee5700) at pf_test_rule+0x111 pf_test(2,d0cbf04c,d6a81dc4,0) at pf_test+0x8f0 ip_output(d4ee5700,0,d0810ca4,1,0,0,44,1) at ip_output+0x420 ip_forward(d4ee5700,0,d6a81ee0,0,) at ip_forward+0x17d ipv4_input(d4ee5700,d0ca4100,0,d50042b0) at ipv_input+0x26a ipintr(d0690058,10,d6a80010,d08b0010,d50042b0) at ipintr+0x64 Bad frame pointer: 0xd6a81ef8 I hope you guys dont need ps from ddb cause that felt as way to much to type by hand :) Any ideas or more info needed? Thanks!
Re: another pf kernel panic
* Karl Karlsson [EMAIL PROTECTED] [2008-07-06 14:36]: That last one that got fixed by henning seems to work now, however i hit another one. Scenario-NATing OBSD i386 acting as gw and and redirecting a port 39965 to laptop behind running WinXP. Regular surfing works ok and is stable but if i start ytorrent and 3-4 different torrents this panics instantaniously and 100% reproducible. CVS checkout and build on july 5. pls cvs up an recompile, an important fix went in some 16 hours or so ago (pf.c 1.607) -- 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: Something like drbd for OpenBSD
On Sun, 6 Jul 2008, Rildo Cezar wrote: ... if there something like this drbd ... OpenAFS allows volumes to be mirrored, but that's through its own filesystem, not along side another. Or, (just guessing) Maybe something could be cobbled together with ccd and vconfig and a few other parts: http://www.openbsd.org/cgi-bin/man.cgi?query=ccd http://www.openbsd.org/cgi-bin/man.cgi?query=vconfig Regards, -Lars Lars Nooden ([EMAIL PROTECTED]) Ensure access to your data now and in the future http://opendocumentfellowship.com/about_us/contribute
OpenBSD and iSCSI support
Hello, I'm doing some testing with iSCSI and I'd like to know if there is any plan to add iSCSI support to OpenBSD (initiator and/or target) ? Denis
Re: does SiI3124 sata controller work under openbsd
Hi! And yes, it holds again that manual is the ultimate source, thanks! After giving some extra thought it appears that with older computer my main concern should not to be disk performance but network. em0 does there according to the # dd if=/dev/zero .. | nc 1.2.3.4 1010 some poor 16-20 MBait/s while the other side is capable of around 40 MBait/s with some third, generation newer computer. Imre Pierre Riteau wrote: Your chipset should be supported by the sili(4) driver: http://www.openbsd.org/cgi-bin/man.cgi?query=siliapropos=0sektion=0manpath=OpenBSD+Currentarch=i386format=html
using trunk with openbsd
Hallo! I am trying out trunk interface with em and fxp adapters and though trunk seems to work all right i cant figure out how it takes itself mac address. It does switch between the two physical interfaces' addresses, but if someone expresses the alogithm on higher abstraction level than looking up from the source i would be very thankful! Imre I believe it is my erranous hardware but i fiddled with trunk and shuffled under it physical adapters with a sequence like (and switching also between failover and roundrobin trunkprotos) # ifconfig trunk0 -trunkport em0 # ifconfig em0 up # ifconfig trunk0 trunkport em0 # ifconfig trunk0 -trunkport fxp3 # ifconfig fxp3 up and there i came to the ddb prompt, like this ddb show panic the kernel did not panic ddb trace _bus_dmamap_load(d07985e0,41,d65d6000,800,0) at _bus_dmamap_load+0xe fxp_add_rfabuf(d0fd2000,0,d0fd2dfc,0) at fxp_add_rfabuf+0x1b9 fxp_init(d0fd2000,80206910,d95acd60,d04584e6,d0fd2040) at fxp_init+0x5ee fxp_ioctl(d0fd2040,80206910,d95ace78,8943) at fxp_ioctl+0xab ifioctl(d660aee8,80206910,d95ace78,d62ee41c,0) at ifioctl+0x3ae sys_ioctl(d62ee41c,d95acf68,d95acf58,8943,38) at sys_ioctl+0x125 syscall() at syscall+0x24e --- syscall (number 54) --- 0x1c007ced: ddb continue uvm_fault(0xd62ed180, 0x0, 0, 1) - e kernel: page fault trap, code=0 Stopped at _bus_dmamap_load+0xe: cmpl0(%ebx),%esi ddb boot sync Ja tried the same kind on sequence with fxp2 and couldnt get to the ddb. Is it under the circumstances quite probable that it is the hardware? Although under netstrain fxp3 with leads to the ddb works good and netstat -I fxp3 -w 1 shows no errors.
Issues with pf and packet prioritization rules using the hfsc packet scheduler
12345678901234567890123456789012345678901234567890123456789012345678901234 Hello, and greetings I am currently experiencing issues with OpenBSD's hfsc packet scheduler. When I attempt to issue a pass out rule that places various packets in various queues, it seems my rules are being ignored by pf, (confirmed using pftop) and placed in the default queue instead. I have tried several resources, including manpages and google, but I cannot seem to make any progress on this issue. An example: pass out on $int_if from any to $pirate queue pirate Rather than my expected behavior of placing all packets coming from the internet to host pirate in the pirate queue, they are instead placed in the default queue. Another Example: pass out on $ext_if proto { tcp udp } from $laptop port 3456 to any keep \ state queue bt_user1 (In this case, it is a port i have forwarded through OpenBSD to the host) Again, rather than expected behavior, everything coming from host laptop on port 3456 is instead being placed in the default queue I would greatly appreciate any light that could be shed on my issue Thank you for your time My network Topology Pirate Lilith \ / | Switch---| vr1 OpenBSD | / \ | gif0 vr0|INTERNET Laptopgemini | my pf.conf follows: ## ## #pf.conf #martian67 # Interfaces ext_if=vr0 int_if=vr1 #systems gemini=192.168.1.102 user2laptop=192.168.1.100 laptop=192.168.1.101 pirate=192.168.1.106 lilith=192.168.1.104 #local services tcp_services={ 2233 } #local network localnets={ 192.168.1.0/24, 2001:470:1f05:50a::/64 } ##interactive tcp ports tcpint={ 26000 3988 3920 3212 3784 8594 1863 5190 5222 27020:27050 22 \ 6667 7000 } ##interactive udp ports # steam Teamspeak # v--- v udpint={ 1200 27000:27015 8820 } # options set block-policy drop set loginterface $ext_if set skip on lo # scrub scrub in all no-df random-id fragment reassemble scrub on $ext_if all reassemble tcp ##Queues #upload Queues #Shaw Upload = 512Kb/s (queue at 96%) altq on $ext_if bandwidth 491Kb hfsc queue { acku, dnsu, / intctvu, bulku, bt } queue acku bandwidth 70% priority 7 qlimit 500 hfsc (realtime \ 50%) queue dnsu bandwidth 7% priority 6 qlimit 500 hfsc (realtime \ 5%) queue intctvubandwidth 20% priority 5 qlimit 500 hfsc (realtime \ 20%) {int_highu, int_lowu} queue int_highu bandwidth 90% priority 5 qlimit 500 hfsc queue int_lowu bandwidth 10% priority 4 qlimit 500 hfsc queue bulku bandwidth 1% priority 4 qlimit 500 hfsc (realtime \ 5% default) queue bt bandwidth 1% priority 3 qlimit 500 hfsc (upperlimit \ 99%) {bt_user1, bt_user2} queue bt_user1 bandwidth 50% priority 3 qlimit 500 hfsc queue bt_user2 bandwidth 50% priority 3 qlimit 500 hfsc #Download Queues #Shaw Download = 5Mb/s (queue at 98%) altq on $int_if bandwidth 4.95Mb hfsc queue { ackd, user1, user2, bulkd,\ intctvd, dnsd } queue ackd bandwidth 1% priority 7 qlimit 500 hfsc (realtime \ 1%) queue user1 bandwidth 39% priority 4 qlimit 500 hfsc {gemini, \ lilith, laptop} queue geminibandwidth 15% priority 1 qlimit 500 hfsc queue lilithbandwidth 15% priority 2 qlimit 500 hfsc (realtime \ 10%) queue laptopbandwidth 70% priority 3 qlimit 500 hfsc (realtime \ 10%) queue user2 bandwidth 39% priority 4 qlimit 500 hfsc {pirate, \ user2lap} queue piratebandwidth 50% priority 3 qlimit 500 hfsc (realtime \ 10%) queue user2lap bandwidth 50% priority 3 qlimit 500 hfsc (realtime \ 10%) queue bulkd bandwidth 10% priority 2 qlimit 500 hfsc (default) queue intctvdbandwidth 10% priority 5 qlimit 500 hfsc (realtime \ 20%) {int_highd, int_lowd} queue int_highd bandwidth 90% priority 5 qlimit 500 hfsc queue int_lowd bandwidth 10% priority 4 qlimit 500 hfsc queue dnsd bandwidth 1% priority 6 qlimit 500 hfsc (realtime \ 5%) # nat/rdr nat on $ext_if from !($ext_if) - ($ext_if:0) nat-anchor ftp-proxy/* rdr-anchor ftp-proxy/* rdr on $int_if proto tcp from any to any port ftp - 127.0.0.1 port 80 rdr on $ext_if proto tcp from any to any port {3000,21,49152:49256} \ - $gemini rdr on $ext_if proto {tcp,udp} from any to any port 3456 - $laptop rdr on $ext_if proto {tcp,udp} from any to any port 4532 - $pirate ##
Mark messages in /var/log/message
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello to all! This is my first post to the mailing list/newsgroup. I'm user of Debian GNU/Linux and recently I installed OpenBSD 4.3 in a machine AMD K6-II to begin to be acquiring ability in its use, so I hope that with the aid of you it can be solving the doubts that have not been able to solve by myself. Today, after a cut of electrical provision, I wanted to make a comparison of 'messages' log of Debian against the one of OpenBSD to isolate in what moment was the cut but the 'messages' log of OpenBSD doesn't put marks of timestamp and I had understood that to put this marks is the default behavior in all Unix systems. How I can configure it in OpenBSD? Thanks in advance. Regards, Daniel iD8DBQFIcS6GZpa/GxTmHTcRAkqNAJ4sNahvav+v7M9c1rm63+8Za+asTQCgh1Ob /1mL8V8ev6XddIz3FEnIZUY= =KRmU -END PGP SIGNATURE-
Re: Mark messages in /var/log/message
On Sun, Jul 06, 2008 at 05:43:51PM -0300, Daniel Bareiro wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello to all! This is my first post to the mailing list/newsgroup. I'm user of Debian GNU/Linux and recently I installed OpenBSD 4.3 in a machine AMD K6-II to begin to be acquiring ability in its use, so I hope that with the aid of you it can be solving the doubts that have not been able to solve by myself. Today, after a cut of electrical provision, I wanted to make a comparison of 'messages' log of Debian against the one of OpenBSD to isolate in what moment was the cut but the 'messages' log of OpenBSD doesn't put marks of timestamp and I had understood that to put this marks is the default behavior in all Unix systems. How I can configure it in OpenBSD? Check man syslog.conf; mark is a separate facility, you'll need to add mark.info to the appropiate line, e.g.: change kern.debug;syslog,user.info /var/log/messages to kern.debug;syslog,user.info,mark,info /var/log/messages -Otto
Re: Mark messages in /var/log/message
On Sun, Jul 06, 2008 at 10:59:02PM +0200, Otto Moerbeek wrote: On Sun, Jul 06, 2008 at 05:43:51PM -0300, Daniel Bareiro wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello to all! This is my first post to the mailing list/newsgroup. I'm user of Debian GNU/Linux and recently I installed OpenBSD 4.3 in a machine AMD K6-II to begin to be acquiring ability in its use, so I hope that with the aid of you it can be solving the doubts that have not been able to solve by myself. Today, after a cut of electrical provision, I wanted to make a comparison of 'messages' log of Debian against the one of OpenBSD to isolate in what moment was the cut but the 'messages' log of OpenBSD doesn't put marks of timestamp and I had understood that to put this marks is the default behavior in all Unix systems. How I can configure it in OpenBSD? Check man syslog.conf; mark is a separate facility, you'll need to add mark.info to the appropiate line, e.g.: change kern.debug;syslog,user.info /var/log/messages to kern.debug;syslog,user.info,mark,info /var/log/messages err, that should be mark.info -Otto
Re: X in 4.4-beta is sluggish on X40
On Sun, Jul 6, 2008 at 11:59 AM, Alex Holst [EMAIL PROTECTED] wrote: As of 4.4-beta (dmesg below), X has become sluggish on my Thinkpad X40. Switching between tabs in Firefox takes about 2 seconds now. Starting a new xterm takes about a second which before was instant. Switching between desktops in cwm results in a one second delay between drawing the outline of xterms and actually populating with text. Playing audio files with vlc while switching between firefox tabs causes no pauses in the audio stream. xorg.conf hasn't changed since april 13 and I've upgraded to various snapshots weekly times since then. Running top shows that Xorg uses about 10% cpu and firefox around 20%. I don't recall either going that high before. Running X and firefox for a few minutes causes the fan in my X40 to start spinning faster: There's more work being done somewhere. I can reproduce this scenario with no .xsession and with an .xsession that starts cwm. .xsession-errors only contains text related to ssh key agent. Any suggestions on how to troubleshoot this situation? (Short of going back in time and building incremental changes from CVS). Are you using the 'intel' or 'i810' driver? It it's the intel driver, try either Sthen's suggestion or 'Option AccelMethod XAA to go back to XAA acceleration. If you're using the i810 driver, then I've no idea. -- Matthieu Herrb
Re: Sun Fire v440 sparc64 MP support
Michael schrieb: Hi, according to http://www.openbsd.org/sparc64.html#hardware OpenBSD works on this machine, but does anyone know if multiple UltraSPARC IIIi CPUs are also supported? Thanks in advance. Michael from http://www.openbsd.org/sparc64.html#history, last paragraph: OpenBSD 4.0 was the first release to ship with support for the UltraSPARC III based machines; OpenBSD 4.3 first with SMP support, and OpenBSD 4.4 will be the first to support the UltraSPARC-IV, UltraSPARC T1 and SPARC64-V processors. in short: yes -- -=[rpe]=- () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments
Re: Proliferation of .serverauth.??? files.
Unix Fan wrote: (Be a peach, get this into 4.4...) I don't see a patch attached...
Re: Proliferation of .serverauth.??? files.
On 2008-07-06, Edd Barrett [EMAIL PROTECTED] wrote: Unix Fan wrote: (Be a peach, get this into 4.4...) I don't see a patch attached... Would definitely help, since (after I un-kill-filed the OP to see what this was about) the line numbers given were really not very useful.
Re: Proliferation of .serverauth.??? files.
Edd Barrett wrote: I don't see a patch attached... The line numbers were related to the startx script in 4.3... I guess that it's autogenerated? Go to line 207 in revision 1.7 of xenocara/app/xinit/startx.cpp: Are you ready yet? Replace: xserverauthfile=$HOME/.serverauth.$$ With: xserverauthfile=$XAUTHORITY Wow, now that was easy.. :) -Nix Fan.
Re: X in 4.4-beta is sluggish on X40
I run into this problem using latest snapshot/amd64 (x* from june 2). I'm using the intel driver and it seens EXA is the default now. Firefox scrolling was slow and X was using about 50% CPU. I put Option MigrationHeuristic greedy and now it's OK. Any idea why the need to use this? Thanks.
Re: OpenBSD and iSCSI support
Eventually. I started writing the qli driver but have not had time to finish that. I also am planning to do a software initiator/target using softraid however that is further out. *sigh* so much code so little time... On Sun, Jul 06, 2008 at 07:43:09PM +0200, Denis Fondras wrote: Hello, I'm doing some testing with iSCSI and I'd like to know if there is any plan to add iSCSI support to OpenBSD (initiator and/or target) ? Denis
Re: Sun Fire v440 sparc64 MP support
kettenis@ is a machine! It is incredible how quickly he added all that support in such a short period of time. On Mon, Jul 07, 2008 at 12:45:16AM +0200, Robert Peichaer wrote: Michael schrieb: Hi, according to http://www.openbsd.org/sparc64.html#hardware OpenBSD works on this machine, but does anyone know if multiple UltraSPARC IIIi CPUs are also supported? Thanks in advance. Michael from http://www.openbsd.org/sparc64.html#history, last paragraph: OpenBSD 4.0 was the first release to ship with support for the UltraSPARC III based machines; OpenBSD 4.3 first with SMP support, and OpenBSD 4.4 will be the first to support the UltraSPARC-IV, UltraSPARC T1 and SPARC64-V processors. in short: yes -- -=[rpe]=- () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments
vietnamese and unicode text
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I found a program, VietPad, to type Vietnamese with the necessary diacritics. I couldn't get it to work completely until I found out about mlterm's capabilities, so I installed mlterm and now I can enter and properly display the diacritics. Now I'm trying to find out how to print the text files VietPad creates, since its output is unicode. Can someone point me in the right direction for either being able to print it as is, convert it and then print it, or if there's a better way from the get go to type Vietnamese? I've tried x-unikey without much success, and never could compile xvnkb. As things stand, I can print from VietPad, but of course it's a jumble. The printer is an ancient Star 2410 dot-matrix, but it handles the Vietnamese diacritics fine from the one windows box I still have, printed via samba/cups on my OpenBSD box. Also, I failed to mention VietPad is a jar file which runs with 'java -jar VietPad.jar'. Don't know if that makes any difference, but, I thought I should mention it just in case. Thanks for any help I can get on this. It is, in fact, the only reason I still have to have a windows box at all, since it's easy to do there with another program I have. Still trying to break free completely. - -- Denny White All messages scanned by ClamAssassin http://jameslick.com/clamassassin/ === GnuPG key : 0x1644E79A | http://wwwkeys.nl.pgp.net Fingerprint: D0A9 AD44 1F10 E09E 0E67 EC25 CB44 F2E5 1644 E79A === iD8DBQFIcYwty0Ty5RZE55oRAiXzAKDR/DpbERyB1mbun7b7awn+yiq1MACeOWCz GqpIV5Eh9/Jebdg8ApX3KAU= =ra1B -END PGP SIGNATURE-
Re: ATTENTION: anyone using the the X driver for any ati card
Well, building a kernel with DRM and removing option MigrationHeuristic gives some impressive results: GtkEntry - time: 0.26 GtkComboBox - time: 6.69 GtkComboBoxEntry - time: 5.76 GtkSpinButton - time: 0.91 GtkProgressBar - time: 0.38 GtkToggleButton - time: 2.17 GtkCheckButton - time: 1.43 GtkRadioButton - time: 2.52 GtkTextView - Add text - time: 25.27 GtkTextView - Scroll - time: 7.06 GtkDrawingArea - Lines - time: 16.23 GtkDrawingArea - Circles - time: 7.75 GtkDrawingArea - Text - time: 8.15 GtkDrawingArea - Pixbufs - time: 0.89 --- Total time: 85.48 The Render extension is clearly a plus on the Pixbufs bench :-)