Re: pf in 4.0 not honoring nat rule with table for vlan tagged interface
On Wed, Jun 20, 2007 at 01:27:22AM -0400, Brian A. Seklecki wrote: > Very bizarre. The only advice I can offer is that maybe it's getting > confused on "-> $nat_if" instead of the more-pragmatic "-> ($nat-if)". The above worked! Doesn't make sense though. According to pf.conf(5): nat-rule = [ "no" ] "nat" [ "pass" [ "log" [ "(" logopts ")" ] ] ] [ "on" ifspec ] [ af ] [ protospec ] hosts [ "tag" string ] [ "tagged" string ] [ "->" ( redirhost | "{" redirhost-list "}" ) [ portspec ] [ pooltype ] [ "static-port" ] ] redirhost = address [ "/" mask-bits ] address= ( interface-name | "(" interface-name ")" | hostname | ipv4-dotted-quad | ipv6-coloned-hex ) So, "-> $nat_if" and "-> ($nat_if)" seem equally-valid. > Perhaps the parse code is trying too hard to resolve $nat_if in the > former, and thus finding the underlying interface instead of the logical > upper layer vlan interface? > > Give it a shot. If not, we'll turn up debugging and log > > ~BAS > > On Tue, 19 Jun 2007, Albert Chin wrote: > > >I have a perfectly-working 4.0 firewall and decided to move one of the > >physical interfaces to a new vlan tagged interface. I changed the > >interface name in pf.conf and noticed that NAT wasn't working. The NAT > >rule is: > > nat_if = "vlan109" > > table const { 192.168.1.0/24, 192.168.4.0/24, 10.191.57.0/24 } > > nat pass log on $nat_if from to any -> $nat_if > > > >If nat_if is a physical interface, like fxp0, the above nat rule > >works. I can get the nat rule to work if I omit the use of the table: > > nat pass log on $nat_if from { 192.168.1.0/24, \ > >192.168.4.0/24, \ > >10.191.57.0/24 } to any -> $nat_if > > > >So: > > 1. If the only change I make to pf.conf is a global search/replace > >from "fxp0" to "vlan109", why doesn't pf behave as if using > >a physical interface? > > 2. Why the workaround above to get pf working with the vlan tagged > >interface? Bug in pf? > > > >-- > >albert chin ([EMAIL PROTECTED]) > > > > > > l8* > -lava (Brian A. Seklecki - Pittsburgh, PA, USA) > http://www.spiritual-machines.org/ > > "Guilty? Yeah. But he knows it. I mean, you're guilty. > You just don't know it. So who's really in jail?" > ~Maynard James Keenan > > > -- albert chin ([EMAIL PROTECTED])
Re: pf in 4.0 not honoring nat rule with table for vlan tagged interface
Very bizarre. The only advice I can offer is that maybe it's getting confused on "-> $nat_if" instead of the more-pragmatic "-> ($nat-if)". Perhaps the parse code is trying too hard to resolve $nat_if in the former, and thus finding the underlying interface instead of the logical upper layer vlan interface? Give it a shot. If not, we'll turn up debugging and log ~BAS On Tue, 19 Jun 2007, Albert Chin wrote: I have a perfectly-working 4.0 firewall and decided to move one of the physical interfaces to a new vlan tagged interface. I changed the interface name in pf.conf and noticed that NAT wasn't working. The NAT rule is: nat_if = "vlan109" table const { 192.168.1.0/24, 192.168.4.0/24, 10.191.57.0/24 } nat pass log on $nat_if from to any -> $nat_if If nat_if is a physical interface, like fxp0, the above nat rule works. I can get the nat rule to work if I omit the use of the table: nat pass log on $nat_if from { 192.168.1.0/24, \ 192.168.4.0/24, \ 10.191.57.0/24 } to any -> $nat_if So: 1. If the only change I make to pf.conf is a global search/replace from "fxp0" to "vlan109", why doesn't pf behave as if using a physical interface? 2. Why the workaround above to get pf working with the vlan tagged interface? Bug in pf? -- albert chin ([EMAIL PROTECTED]) l8* -lava (Brian A. Seklecki - Pittsburgh, PA, USA) http://www.spiritual-machines.org/ "Guilty? Yeah. But he knows it. I mean, you're guilty. You just don't know it. So who's really in jail?" ~Maynard James Keenan
pf in 4.0 not honoring nat rule with table for vlan tagged interface
I have a perfectly-working 4.0 firewall and decided to move one of the physical interfaces to a new vlan tagged interface. I changed the interface name in pf.conf and noticed that NAT wasn't working. The NAT rule is: nat_if = "vlan109" table const { 192.168.1.0/24, 192.168.4.0/24, 10.191.57.0/24 } nat pass log on $nat_if from to any -> $nat_if If nat_if is a physical interface, like fxp0, the above nat rule works. I can get the nat rule to work if I omit the use of the table: nat pass log on $nat_if from { 192.168.1.0/24, \ 192.168.4.0/24, \ 10.191.57.0/24 } to any -> $nat_if So: 1. If the only change I make to pf.conf is a global search/replace from "fxp0" to "vlan109", why doesn't pf behave as if using a physical interface? 2. Why the workaround above to get pf working with the vlan tagged interface? Bug in pf? -- albert chin ([EMAIL PROTECTED])
ral problem
hi list, i thought i would set up a small machine that would manage the adsl link and also would be a wireless accesspoint. i bought a via epia board for that that has one pci slot, one on board ethernet interface (vr) and one pcmci slot. a searched for a pcmcia card that is supported and found one: gigabyte air crouser g (gn-wmkg). after i inserted that card the kernel noted me it has new device attached (ral0). if i remove the card then i got a "ral0 detached" message but if i reinsert it there is no any message and the interface is still gone. if i don't remove the card after a fresh boot i just start getting the "ral0: device timeout" messages and after like ten minutes with no any activity at all on that machine the epia boots itself. my question would be how to produce some more information to be able to find out what the problem is with the ral driver. here i attach the dmesg of the 4.1-release when ral was inserted at boottime: OpenBSD 4.1 (GENERIC) #1435: Sat Mar 10 19:07:45 MST 2007 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC cpu0: VIA Samuel 2 ("CentaurHauls" 686-class) 600 MHz cpu0: FPU,DE,TSC,MSR,MTRR,PGE,MMX real mem = 502824960 (491040K) avail mem = 451014656 (440444K) using 4278 buffers containing 25264128 bytes (24672K) of memory mainbus0 (root) bios0 at mainbus0: AT/286+ BIOS, date 01/06/04, BIOS32 rev. 0 @ 0xfb280, SMBIOS rev. 2.2 @ 0xf0800 (26 entries) bios0: VIA Technologies, Inc. CLE266-8235 apm0 at bios0: Power Management spec V1.2 apm0: AC on, battery charge unknown apm0: flags 70102 dobusy 1 doidle 1 pcibios0 at bios0: rev 2.1 @ 0xf/0xdf44 pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfded0/112 (5 entries) pcibios0: PCI Exclusive IRQs: 5 9 12 pcibios0: PCI Interrupt Router at 000:17:0 ("VIA VT82C596A ISA" rev 0x00) pcibios0: PCI bus #3 is the last bus bios0: ROM list: 0xc/0xe000 0xd/0x8000! acpi at mainbus0 not configured cpu0 at mainbus0 pci0 at mainbus0 bus 0: configuration mode 1 (no bios) pchb0 at pci0 dev 0 function 0 "VIA VT8623 PCI" rev 0x00 ppb0 at pci0 dev 1 function 0 "VIA VT8633 AGP" rev 0x00 pci1 at ppb0 bus 1 vga1 at pci1 dev 0 function 0 "VIA CLE266" rev 0x03: aperture at 0xd800, size 0x1000 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) cbb0 at pci0 dev 10 function 0 "Ricoh 5C476 CardBus" rev 0x80: irq 12 cbb1 at pci0 dev 10 function 1 "Ricoh 5C476 CardBus" rev 0x80: irq 9 "VIA VT6306 FireWire" rev 0x80 at pci0 dev 13 function 0 not configured uhci0 at pci0 dev 16 function 0 "VIA VT83C572 USB" rev 0x80: irq 12 usb0 at uhci0: USB revision 1.0 uhub0 at usb0 uhub0: VIA UHCI root hub, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhci1 at pci0 dev 16 function 1 "VIA VT83C572 USB" rev 0x80: irq 9 usb1 at uhci1: USB revision 1.0 uhub1 at usb1 uhub1: VIA UHCI root hub, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered uhci2 at pci0 dev 16 function 2 "VIA VT83C572 USB" rev 0x80: irq 5 usb2 at uhci2: USB revision 1.0 uhub2 at usb2 uhub2: VIA UHCI root hub, rev 1.00/1.00, addr 1 uhub2: 2 ports with 2 removable, self powered ehci0 at pci0 dev 16 function 3 "VIA VT6202 USB" rev 0x82: irq 12 usb3 at ehci0: USB revision 2.0 uhub3 at usb3 uhub3: VIA EHCI root hub, rev 2.00/1.00, addr 1 uhub3: 6 ports with 6 removable, self powered viapm0 at pci0 dev 17 function 0 "VIA VT8235 ISA" rev 0x00 iic0 at viapm0 pciide0 at pci0 dev 17 function 1 "VIA VT82C571 IDE" rev 0x06: ATA133, channel 0 configured to compatibility, channel 1 configured to compatibility wd0 at pciide0 channel 0 drive 0: wd0: 16-sector PIO, LBA48, 381554MB, 781422768 sectors wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5 pciide0: channel 1 disabled (no drives) auvia0 at pci0 dev 17 function 5 "VIA VT8233 AC97" rev 0x50: irq 5 ac97: codec id 0x49434552 (ICEnsemble VIA VT1616i) ac97: codec features headphone, 18 bit DAC, 18 bit ADC, KS Waves 3D audio0 at auvia0 vr0 at pci0 dev 18 function 0 "VIA RhineII-2" rev 0x74: irq 12, address 00:40:63:da:fb:4a ukphy0 at vr0 phy 1: Generic IEEE 802.3u media interface, rev. 8: OUI 0x004063, model 0x0032 cardslot0 at cbb0 slot 0 flags 0 cardbus0 at cardslot0: bus 2 device 0 cacheline 0x0, lattimer 0x20 pcmcia0 at cardslot0 cardslot1 at cbb1 slot 1 flags 0 cardbus1 at cardslot1: bus 3 device 0 cacheline 0x0, lattimer 0x20 pcmcia1 at cardslot1 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 pcppi0 at isa0 port 0x61 midi0 at pcppi0: spkr0 at pcppi0 lpt0 at isa0 port 0x378/4 irq 7 viasio0 at isa0 port 0x2e/2: VT1211 rev 0x02: HM WDG: not activated 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 biomask ff65 netmask ff65 ttymask ffe7 pctr: user-level cycle cou
Re: Random crash
This is part of the strong psuedo-random number generator: $ grep -ir enqueue_randomness /usr/src/sys/* /usr/src/sys/dev/rnd.c:enqueue_randomness(state, val) /usr/src/sys/dev/rndvar.h:#define add_true_randomness(d) enqueue_randomness(RND_SRC_TRUE, (int)(d)) /usr/src/sys/dev/rndvar.h:#define add_timer_randomness(d) enqueue_randomness(RND_SRC_TIMER, (int)(d)) /usr/src/sys/dev/rndvar.h:#define add_mouse_randomness(d) enqueue_randomness(RND_SRC_MOUSE, (int)(d)) /usr/src/sys/dev/rndvar.h:#define add_tty_randomness(d) enqueue_randomness(RND_SRC_TTY, (int)(d)) /usr/src/sys/dev/rndvar.h:#define add_disk_randomness(d) enqueue_randomness(RND_SRC_DISK, (int)(d)) /usr/src/sys/dev/rndvar.h:#define add_net_randomness(d) enqueue_randomness(RND_SRC_NET, (int)(d)) /usr/src/sys/dev/rndvar.h:#define add_audio_randomness(d) enqueue_randomness(RND_SRC_AUDIO, (int)(d)) /usr/src/sys/dev/rndvar.h:#define add_video_randomness(d) enqueue_randomness(RND_SRC_VIDEO, (int)(d)) /usr/src/sys/dev/rndvar.h:void enqueue_randomness(int, int); Are you doing something strong with Cryptography? ~~BAS On Tue, 19 Jun 2007, Jacob Yocom-Piatt wrote: Luca Losio wrote: Hi all, I'm having a lot of crashes with my 4.1 since I updated from 4.0 ...the console output is: page fault trap code=0 stopped at enqueue_randomness+0xc5addb%al,0(%eax) ddb> I tried checking the RAM (Memtest runned 20 hours withour any error and I used this box with another ram stick) and I get the same result..a crash every 10-15 hours. Any suggestion? read http://openbsd.org/report.html . it contains the following wisdom "*This is essential whenever possible. Panic reports without panic message, traceback and ps output are useless."* cheers, jake l8* -lava (Brian A. Seklecki - Pittsburgh, PA, USA) http://www.spiritual-machines.org/ "Guilty? Yeah. But he knows it. I mean, you're guilty. You just don't know it. So who's really in jail?" ~Maynard James Keenan
landisk
Hello, I try to install OpenBSD on a PX-EH 160Gb. I have found a cable for the serial console port, but I do not know how to connect it. The bard has the 4 holes as described: It seems I need to some soldering... I was wondering if it is possible to install everything from an other computer and then migrate the disk... and then connect the box by ssh. I move the disk to a usb HD-box connect to a soekris. I ftp a snapshot version of OpenBSD for landisk. I uncompress it in /install to get boot, mbr, xxboot, etc. The drive show up as sd0 (usb on the soekris) > fdisk -f /install/usr/mdec/mbr sd0 I fdisk it with the landisk mbr make a "a" partition of 2Gb to have enough room make a "b" swap of 512 Mb. > newfs sd0a > mount /dev/sd0a /mnt > cd /mnt > tar zxpf /install/base41.tgz > tar zxpf /install/etc41.tgz > tar zxpf /install/man41.tgz > tar zxpf /install/misc41.tgz > tar zxpf /install/comp41.tgz I would like to go further but I did not find how to install the xxboot and boot stuff. I try to start with miniroot41.fs hoping I can growfs it. But the geom of the disk get me some headhake. > fdisk -i sd0 fdisk: sysctl(machdep.bios.diskinfo): Device not configured - -- ATTENTION - UPDATING MASTER BOOT RECORD -- - Do you wish to write new MBR and partition table? [n] y > fdisk sd0 fdisk: sysctl(machdep.bios.diskinfo): Device not configured Disk: sd0 geometry: 152627/64/32 [312581809 Sectors] Offset: 0 Signature: 0xAA55 Starting Ending LBA Info: #: idC H S -C H S [ start: size ] 0: 000 0 0 -0 0 0 [ 0: 0 ] unused 1: 000 0 0 -0 0 0 [ 0: 0 ] unused 2: 000 0 0 -0 0 0 [ 0: 0 ] unused *3: A60 1 1 - 152626 63 32 [ 32: 312580064 ] OpenBSD > dd if=/var/miniroot41.fs of=/dev/rsd0c 5120+0 records in 5120+0 records out 2621440 bytes transferred in 30.730 secs (85304 bytes/sec) > fdisk sd0 fdisk: sysctl(machdep.bios.diskinfo): Device not configured Disk: sd0 geometry: 152627/64/32 [312581809 Sectors] Offset: 0 Signature: 0xAA55 Starting Ending LBA Info: #: idC H S -C H S [ start: size ] 0: 000 0 0 -0 0 0 [ 0: 0 ] unused 1: 000 0 0 -0 0 0 [ 0: 0 ] unused 2: 000 0 0 -0 0 0 [ 0: 0 ] unused *3: A60 0 17 -2 31 32 [ 16:5104 ] OpenBSD Any help is welcomed Cordialement, Jean-Girard Pailloncy
Re: Random crash
Luca Losio wrote: Hi all, I'm having a lot of crashes with my 4.1 since I updated from 4.0 ...the console output is: page fault trap code=0 stopped at enqueue_randomness+0xc5addb%al,0(%eax) ddb> I tried checking the RAM (Memtest runned 20 hours withour any error and I used this box with another ram stick) and I get the same result..a crash every 10-15 hours. Any suggestion? Someone more knowledgeable than me might be able to help diagnose this issue if you can post the output of ps and trace from ddb. The other thing to try might be a different PSU. HTH Fred -- http://www.crowsons.com/puters/x41.htm
Re: Random crash
Funny, my GENERIC kernel gives me: OpenBSD 4.1 (GENERIC) #1435: Sat Mar 10 19:07:45 MST 2007 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC Try downloading bsd from ftp.openbsd.org/pub/OpenBSD/4.1/i386 and replace the one you have and see what happens On 6/19/07, Luca Losio <[EMAIL PROTECTED]> wrote: Hi all, I'm having a lot of crashes with my 4.1 since I updated from 4.0 ...the console output is: page fault trap code=0 stopped at enqueue_randomness+0xc5addb%al,0(%eax) ddb> I tried checking the RAM (Memtest runned 20 hours withour any error and I used this box with another ram stick) and I get the same result..a crash every 10-15 hours. Any suggestion? OpenBSD 4.1 (GENERIC) #6: Sun May 6 22:37:50 CEST 2007 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC cpu0: AMD-K6(tm) 3D processor ("AuthenticAMD" 586-class) 500 MHz cpu0: FPU,V86,DE,PSE,TSC,MSR,MCE,CX8,PGE,MMX real mem = 536440832 (523868K) avail mem = 481771520 (470480K) using 4278 buffers containing 26947584 bytes (26316K) of memory mainbus0 (root) bios0 at mainbus0: AT/286+ BIOS, date 12/27/99, BIOS32 rev. 0 @ 0xfd9a0, SMBIOS rev. 2.3 @ 0xf04f0 (23 entries) bios0: American Megatrends Inc. Uknown apm0 at bios0: Power Management spec V1.2 apm0: AC on, battery charge unknown apm0: flags 30102 dobusy 0 doidle 1 pcibios0 at bios0: rev 2.1 @ 0xf/0x1 pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf7630/144 (7 entries) pcibios0: PCI Interrupt Router at 000:07:0 ("Acer Labs M1533 ISA" rev 0x00) pcibios0: PCI bus #1 is the last bus bios0: ROM list: 0xc/0x1 0xd/0x800 acpi at mainbus0 not configured cpu0 at mainbus0 pci0 at mainbus0 bus 0: configuration mode 1 (no bios) pchb0 at pci0 dev 0 function 0 "Acer Labs M1541 PCI" rev 0x04 ppb0 at pci0 dev 1 function 0 "Acer Labs M5243 AGP/PCI-PCI" rev 0x04 pci1 at ppb0 bus 1 vga1 at pci1 dev 0 function 0 "NVIDIA Vanta" rev 0x15 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) pcib0 at pci0 dev 7 function 0 "Acer Labs M1533 ISA" rev 0xc3 pciide0 at pci0 dev 15 function 0 "Acer Labs M5229 UDMA IDE" rev 0xc1: DMA, channel 0 configured to compatibility, channel 1 configured to compatibility wd0 at pciide0 channel 0 drive 0: wd0: 16-sector PIO, LBA, 58644MB, 120103200 sectors wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2 atapiscsi0 at pciide0 channel 1 drive 0 scsibus0 at atapiscsi0: 2 targets cd0 at scsibus0 targ 0 lun 0: SCSI0 5/cdrom removable cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2 xl0 at pci0 dev 16 function 0 "3Com 3c905 100Base-TX" rev 0x00: irq 11, address 00:60:97:ad:10:76 nsphy0 at xl0 phy 24: DP83840 10/100 PHY, rev. 1 xl1 at pci0 dev 18 function 0 "3Com 3c905C 100Base-TX" rev 0x74: irq 9, address 00:01:02:b9:48:2c bmtphy0 at xl1 phy 24: Broadcom 3C905C internal PHY, rev. 6 ohci0 at pci0 dev 20 function 0 "Opti 82C861" rev 0x10: irq 10, version 1.0, legacy support usb0 at ohci0: USB revision 1.0 uhub0 at usb0 uhub0: Opti OHCI root hub, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered isa0 at pcib0 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 pcppi0 at isa0 port 0x61 midi0 at pcppi0: spkr0 at pcppi0 lpt0 at isa0 port 0x378/4 irq 7 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 fdc0 at isa0 port 0x3f0/6 irq 6 drq 2 fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec isapnp0 at isa0 port 0x279: read port 0x203 sb1 at isapnp0 "Creative SB16 PnP, CTL0031, , Audio" port 0x220/16,0x330/2,0x388/4 irq 5 drq 1,5: dsp v4.13 midi1 at sb1: audio0 at sb1 opl0 at sb1: model OPL3 midi2 at opl0: wdc2 at isapnp0 "Creative SB16 PnP, CTL2011, PNP0600, IDE" port 0x100/8,0x300/2 irq 15 "Creative SB16 PnP, PNP, , Reserved" at isapnp0 port 0x108/1 not configured joy0 at isapnp0 "Creative SB16 PnP, CTL7001, PNPB02F, Game" port 0x200/8 biomask f545 netmask ff45 ttymask ffc7 pctr: user-level cycle counter enabled mtrr: K6-family MTRR support (2 registers) umass0 at uhub0 port 2 configuration 1 interface 0 umass0: Generic Flash Disk, rev 2.00/1.00, addr 2 umass0: using SCSI over Bulk-Only scsibus1 at umass0: 2 targets sd0 at scsibus1 targ 1 lun 0: SCSI2 0/direct removable sd0: 508MB, 508 cyl, 64 head, 32 sec, 512 bytes/sec, 1040384 sec total dkcsum: wd0 matches BIOS drive 0x80 root on wd0a rootdev=0x0 rrootdev=0x300 rawdev=0x302 wd0a: DMA error reading fsbn 128 of 128-0 (wd0 bn 191; cn 0 tn 3 sn 2), retrying wd0: soft error (corrected) WARNING: / was not properly unmounted wd0: transfer error, downgrading to Ultra-DMA mode 1 wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 1 wd0a: DMA error reading fsbn 4832 of 4832-0 (wd0 bn 4895; cn 5 tn 2 sn 44), retrying wd0: soft error (corrected)
Re: Random crash
I think your hard disk is not showing good messages ;) Cables? HD dying? Luca Losio wrote: Hi all, I'm having a lot of crashes with my 4.1 since I updated from 4.0 ...the console output is: page fault trap code=0 stopped at enqueue_randomness+0xc5addb%al,0(%eax) ddb> I tried checking the RAM (Memtest runned 20 hours withour any error and I used this box with another ram stick) and I get the same result..a crash every 10-15 hours. Any suggestion? OpenBSD 4.1 (GENERIC) #6: Sun May 6 22:37:50 CEST 2007 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC cpu0: AMD-K6(tm) 3D processor ("AuthenticAMD" 586-class) 500 MHz cpu0: FPU,V86,DE,PSE,TSC,MSR,MCE,CX8,PGE,MMX real mem = 536440832 (523868K) avail mem = 481771520 (470480K) using 4278 buffers containing 26947584 bytes (26316K) of memory mainbus0 (root) bios0 at mainbus0: AT/286+ BIOS, date 12/27/99, BIOS32 rev. 0 @ 0xfd9a0, SMBIOS rev. 2.3 @ 0xf04f0 (23 entries) bios0: American Megatrends Inc. Uknown apm0 at bios0: Power Management spec V1.2 apm0: AC on, battery charge unknown apm0: flags 30102 dobusy 0 doidle 1 pcibios0 at bios0: rev 2.1 @ 0xf/0x1 pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf7630/144 (7 entries) pcibios0: PCI Interrupt Router at 000:07:0 ("Acer Labs M1533 ISA" rev 0x00) pcibios0: PCI bus #1 is the last bus bios0: ROM list: 0xc/0x1 0xd/0x800 acpi at mainbus0 not configured cpu0 at mainbus0 pci0 at mainbus0 bus 0: configuration mode 1 (no bios) pchb0 at pci0 dev 0 function 0 "Acer Labs M1541 PCI" rev 0x04 ppb0 at pci0 dev 1 function 0 "Acer Labs M5243 AGP/PCI-PCI" rev 0x04 pci1 at ppb0 bus 1 vga1 at pci1 dev 0 function 0 "NVIDIA Vanta" rev 0x15 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) pcib0 at pci0 dev 7 function 0 "Acer Labs M1533 ISA" rev 0xc3 pciide0 at pci0 dev 15 function 0 "Acer Labs M5229 UDMA IDE" rev 0xc1: DMA, channel 0 configured to compatibility, channel 1 configured to compatibility wd0 at pciide0 channel 0 drive 0: wd0: 16-sector PIO, LBA, 58644MB, 120103200 sectors wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2 atapiscsi0 at pciide0 channel 1 drive 0 scsibus0 at atapiscsi0: 2 targets cd0 at scsibus0 targ 0 lun 0: SCSI0 5/cdrom removable cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2 xl0 at pci0 dev 16 function 0 "3Com 3c905 100Base-TX" rev 0x00: irq 11, address 00:60:97:ad:10:76 nsphy0 at xl0 phy 24: DP83840 10/100 PHY, rev. 1 xl1 at pci0 dev 18 function 0 "3Com 3c905C 100Base-TX" rev 0x74: irq 9, address 00:01:02:b9:48:2c bmtphy0 at xl1 phy 24: Broadcom 3C905C internal PHY, rev. 6 ohci0 at pci0 dev 20 function 0 "Opti 82C861" rev 0x10: irq 10, version 1.0, legacy support usb0 at ohci0: USB revision 1.0 uhub0 at usb0 uhub0: Opti OHCI root hub, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered isa0 at pcib0 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 pcppi0 at isa0 port 0x61 midi0 at pcppi0: spkr0 at pcppi0 lpt0 at isa0 port 0x378/4 irq 7 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 fdc0 at isa0 port 0x3f0/6 irq 6 drq 2 fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec isapnp0 at isa0 port 0x279: read port 0x203 sb1 at isapnp0 "Creative SB16 PnP, CTL0031, , Audio" port 0x220/16,0x330/2,0x388/4 irq 5 drq 1,5: dsp v4.13 midi1 at sb1: audio0 at sb1 opl0 at sb1: model OPL3 midi2 at opl0: wdc2 at isapnp0 "Creative SB16 PnP, CTL2011, PNP0600, IDE" port 0x100/8,0x300/2 irq 15 "Creative SB16 PnP, PNP, , Reserved" at isapnp0 port 0x108/1 not configured joy0 at isapnp0 "Creative SB16 PnP, CTL7001, PNPB02F, Game" port 0x200/8 biomask f545 netmask ff45 ttymask ffc7 pctr: user-level cycle counter enabled mtrr: K6-family MTRR support (2 registers) umass0 at uhub0 port 2 configuration 1 interface 0 umass0: Generic Flash Disk, rev 2.00/1.00, addr 2 umass0: using SCSI over Bulk-Only scsibus1 at umass0: 2 targets sd0 at scsibus1 targ 1 lun 0: SCSI2 0/direct removable sd0: 508MB, 508 cyl, 64 head, 32 sec, 512 bytes/sec, 1040384 sec total dkcsum: wd0 matches BIOS drive 0x80 root on wd0a rootdev=0x0 rrootdev=0x300 rawdev=0x302 wd0a: DMA error reading fsbn 128 of 128-0 (wd0 bn 191; cn 0 tn 3 sn 2), retrying wd0: soft error (corrected) WARNING: / was not properly unmounted wd0: transfer error, downgrading to Ultra-DMA mode 1 wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 1 wd0a: DMA error reading fsbn 4832 of 4832-0 (wd0 bn 4895; cn 5 tn 2 sn 44), retrying wd0: soft error (corrected)
Re: Random crash
Luca Losio wrote: Hi all, I'm having a lot of crashes with my 4.1 since I updated from 4.0 ...the console output is: page fault trap code=0 stopped at enqueue_randomness+0xc5addb%al,0(%eax) ddb> I tried checking the RAM (Memtest runned 20 hours withour any error and I used this box with another ram stick) and I get the same result..a crash every 10-15 hours. Any suggestion? read http://openbsd.org/report.html . it contains the following wisdom "*This is essential whenever possible. Panic reports without panic message, traceback and ps output are useless."* cheers, jake
Re: 4.1 install issue
After the install, everything working now. Summary disks: wd0 300GB sata wd1 40GB pata wd2 30GB pata wd2 is boot disk as wd0 is reserved for virtual tape drives and will be erased frequently. The bios on this Dell Dimension 2400 is stupid, so I just avoided it by installing GAG boot manager http://gag.sourceforge.net/ and configuring it to boot with no delay from wd2. $ dmesg OpenBSD 4.1 (GENERIC) #1435: Sat Mar 10 19:07:45 MST 2007 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC cpu0: Intel(R) Pentium(R) 4 CPU 2.80GHz ("GenuineIntel" 686-class) 2.80 GHz cpu0: FPU,V86,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,CNXT-ID,xTPR real mem = 1071693824 (1046576K) avail mem = 970477568 (947732K) using 4278 buffers containing 53706752 bytes (52448K) of memory mainbus0 (root) bios0 at mainbus0: AT/286+ BIOS, date 12/02/03, BIOS32 rev. 0 @ 0xffe90, SMBIOS rev. 2.3 @ 0xf0450 (60 entries) bios0: Dell Computer Corporation Dimension 2400 apm0 at bios0: Power Management spec V1.2 apm0: AC on, battery charge unknown apm0: flags 30102 dobusy 0 doidle 1 pcibios0 at bios0: rev 2.1 @ 0xf/0x1 pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfeae0/144 (7 entries) pcibios0: PCI Interrupt Router at 000:31:0 ("Intel 82801DB LPC" rev 0x00) pcibios0: PCI bus #1 is the last bus bios0: ROM list: 0xc/0xb800 0xcb800/0x4800 0xd/0x1800! 0xd1800/0x2800 acpi at mainbus0 not configured cpu0 at mainbus0 pci0 at mainbus0 bus 0: configuration mode 1 (no bios) pchb0 at pci0 dev 0 function 0 "Intel 82845G/GL" rev 0x01 vga1 at pci0 dev 2 function 0 "Intel 82845G/GL Video" rev 0x01: aperture at 0xe800, size 0x800 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) uhci0 at pci0 dev 29 function 0 "Intel 82801DB USB" rev 0x01: irq 11 usb0 at uhci0: USB revision 1.0 uhub0 at usb0 uhub0: Intel UHCI root hub, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhci1 at pci0 dev 29 function 1 "Intel 82801DB USB" rev 0x01: irq 10 usb1 at uhci1: USB revision 1.0 uhub1 at usb1 uhub1: Intel UHCI root hub, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered uhci2 at pci0 dev 29 function 2 "Intel 82801DB USB" rev 0x01: irq 9 usb2 at uhci2: USB revision 1.0 uhub2 at usb2 uhub2: Intel UHCI root hub, rev 1.00/1.00, addr 1 uhub2: 2 ports with 2 removable, self powered ehci0 at pci0 dev 29 function 7 "Intel 82801DB USB" rev 0x01: irq 5 usb3 at ehci0: USB revision 2.0 uhub3 at usb3 uhub3: Intel EHCI root hub, rev 2.00/1.00, addr 1 uhub3: 6 ports with 6 removable, self powered ppb0 at pci0 dev 30 function 0 "Intel 82801BA AGP" rev 0x81 pci1 at ppb0 bus 1 pciide0 at pci1 dev 6 function 0 "CMD Technology SiI3512 SATA" rev 0x01: DMA pciide0: using irq 9 for native-PCI interrupt pciide0: port 1: device present, speed: 1.5Gb/s wd0 at pciide0 channel 1 drive 0: wd0: 16-sector PIO, LBA48, 305245MB, 625142448 sectors wd0(pciide0:1:0): using BIOS timings, Ultra-DMA mode 6 bce0 at pci1 dev 9 function 0 "Broadcom BCM4401" rev 0x01: irq 3, address 00:0f:1f:58:03:2b bmtphy0 at bce0 phy 1: BCM4401 10/100baseTX PHY, rev. 0 ichpcib0 at pci0 dev 31 function 0 "Intel 82801DB LPC" rev 0x01 pciide1 at pci0 dev 31 function 1 "Intel 82801DB IDE" rev 0x01: DMA, channel 0 configured to compatibility, channel 1 configured to compatibility wd1 at pciide1 channel 0 drive 0: wd1: 16-sector PIO, LBA, 38146MB, 78125000 sectors wd1(pciide1:0:0): using PIO mode 4, Ultra-DMA mode 5 atapiscsi0 at pciide1 channel 1 drive 0 scsibus0 at atapiscsi0: 2 targets cd0 at scsibus0 targ 0 lun 0: SCSI0 5/cdrom removable wd2 at pciide1 channel 1 drive 1: wd2: 16-sector PIO, LBA, 28610MB, 58593750 sectors cd0(pciide1:1:0): using PIO mode 4, Ultra-DMA mode 2 wd2(pciide1:1:1): using PIO mode 4, Ultra-DMA mode 2 ichiic0 at pci0 dev 31 function 3 "Intel 82801DB SMBus" rev 0x01: irq 3 iic0 at ichiic0 auich0 at pci0 dev 31 function 5 "Intel 82801DB AC97" rev 0x01: irq 3, ICH4 AC97 ac97: codec id 0x41445374 (Analog Devices AD1981B) ac97: codec features headphone, 20 bit DAC, No 3D Stereo audio0 at auich0 isa0 at ichpcib0 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 pmsi0 at pckbc0 (aux slot) pckbc0: using irq 12 for aux slot wsmouse0 at pmsi0 mux 0 pcppi0 at isa0 port 0x61 midi0 at pcppi0: spkr0 at pcppi0 lpt0 at isa0 port 0x378/4 irq 7 npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16 pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo fdc0 at isa0 port 0x3f0/6 irq 6 drq 2 biomask ef6d netmask ef6d ttymask ffef pctr: user-level cycle counter enabled dkcsum: wd0 matches BIOS drive 0x82 dkcsum: wd1 matches BIOS drive 0x80 dkcsum: wd2 matches BIOS drive 0x81 root on wd2a rootdev=0x20 rrootdev=0x320 rawdev=0x322 On 6/18/07, bofh <[EMAIL PROTECTED]> wrote: Don't forget to mess with your bios set
Random crash
Hi all, I'm having a lot of crashes with my 4.1 since I updated from 4.0 ...the console output is: page fault trap code=0 stopped at enqueue_randomness+0xc5addb%al,0(%eax) ddb> I tried checking the RAM (Memtest runned 20 hours withour any error and I used this box with another ram stick) and I get the same result..a crash every 10-15 hours. Any suggestion? OpenBSD 4.1 (GENERIC) #6: Sun May 6 22:37:50 CEST 2007 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC cpu0: AMD-K6(tm) 3D processor ("AuthenticAMD" 586-class) 500 MHz cpu0: FPU,V86,DE,PSE,TSC,MSR,MCE,CX8,PGE,MMX real mem = 536440832 (523868K) avail mem = 481771520 (470480K) using 4278 buffers containing 26947584 bytes (26316K) of memory mainbus0 (root) bios0 at mainbus0: AT/286+ BIOS, date 12/27/99, BIOS32 rev. 0 @ 0xfd9a0, SMBIOS rev. 2.3 @ 0xf04f0 (23 entries) bios0: American Megatrends Inc. Uknown apm0 at bios0: Power Management spec V1.2 apm0: AC on, battery charge unknown apm0: flags 30102 dobusy 0 doidle 1 pcibios0 at bios0: rev 2.1 @ 0xf/0x1 pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf7630/144 (7 entries) pcibios0: PCI Interrupt Router at 000:07:0 ("Acer Labs M1533 ISA" rev 0x00) pcibios0: PCI bus #1 is the last bus bios0: ROM list: 0xc/0x1 0xd/0x800 acpi at mainbus0 not configured cpu0 at mainbus0 pci0 at mainbus0 bus 0: configuration mode 1 (no bios) pchb0 at pci0 dev 0 function 0 "Acer Labs M1541 PCI" rev 0x04 ppb0 at pci0 dev 1 function 0 "Acer Labs M5243 AGP/PCI-PCI" rev 0x04 pci1 at ppb0 bus 1 vga1 at pci1 dev 0 function 0 "NVIDIA Vanta" rev 0x15 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) pcib0 at pci0 dev 7 function 0 "Acer Labs M1533 ISA" rev 0xc3 pciide0 at pci0 dev 15 function 0 "Acer Labs M5229 UDMA IDE" rev 0xc1: DMA, channel 0 configured to compatibility, channel 1 configured to compatibility wd0 at pciide0 channel 0 drive 0: wd0: 16-sector PIO, LBA, 58644MB, 120103200 sectors wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2 atapiscsi0 at pciide0 channel 1 drive 0 scsibus0 at atapiscsi0: 2 targets cd0 at scsibus0 targ 0 lun 0: SCSI0 5/cdrom removable cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2 xl0 at pci0 dev 16 function 0 "3Com 3c905 100Base-TX" rev 0x00: irq 11, address 00:60:97:ad:10:76 nsphy0 at xl0 phy 24: DP83840 10/100 PHY, rev. 1 xl1 at pci0 dev 18 function 0 "3Com 3c905C 100Base-TX" rev 0x74: irq 9, address 00:01:02:b9:48:2c bmtphy0 at xl1 phy 24: Broadcom 3C905C internal PHY, rev. 6 ohci0 at pci0 dev 20 function 0 "Opti 82C861" rev 0x10: irq 10, version 1.0, legacy support usb0 at ohci0: USB revision 1.0 uhub0 at usb0 uhub0: Opti OHCI root hub, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered isa0 at pcib0 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 pcppi0 at isa0 port 0x61 midi0 at pcppi0: spkr0 at pcppi0 lpt0 at isa0 port 0x378/4 irq 7 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 fdc0 at isa0 port 0x3f0/6 irq 6 drq 2 fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec isapnp0 at isa0 port 0x279: read port 0x203 sb1 at isapnp0 "Creative SB16 PnP, CTL0031, , Audio" port 0x220/16,0x330/2,0x388/4 irq 5 drq 1,5: dsp v4.13 midi1 at sb1: audio0 at sb1 opl0 at sb1: model OPL3 midi2 at opl0: wdc2 at isapnp0 "Creative SB16 PnP, CTL2011, PNP0600, IDE" port 0x100/8,0x300/2 irq 15 "Creative SB16 PnP, PNP, , Reserved" at isapnp0 port 0x108/1 not configured joy0 at isapnp0 "Creative SB16 PnP, CTL7001, PNPB02F, Game" port 0x200/8 biomask f545 netmask ff45 ttymask ffc7 pctr: user-level cycle counter enabled mtrr: K6-family MTRR support (2 registers) umass0 at uhub0 port 2 configuration 1 interface 0 umass0: Generic Flash Disk, rev 2.00/1.00, addr 2 umass0: using SCSI over Bulk-Only scsibus1 at umass0: 2 targets sd0 at scsibus1 targ 1 lun 0: SCSI2 0/direct removable sd0: 508MB, 508 cyl, 64 head, 32 sec, 512 bytes/sec, 1040384 sec total dkcsum: wd0 matches BIOS drive 0x80 root on wd0a rootdev=0x0 rrootdev=0x300 rawdev=0x302 wd0a: DMA error reading fsbn 128 of 128-0 (wd0 bn 191; cn 0 tn 3 sn 2), retrying wd0: soft error (corrected) WARNING: / was not properly unmounted wd0: transfer error, downgrading to Ultra-DMA mode 1 wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 1 wd0a: DMA error reading fsbn 4832 of 4832-0 (wd0 bn 4895; cn 5 tn 2 sn 44), retrying wd0: soft error (corrected)
linker scripts
Having a linux background (and a limited NetBSD experience), i expected to find linker scripts in the kernel source code. However, this is simply not true for most architectures. What is the logic behind the lack of linker scripts? Thanks, Constantine
Re: Bug in OpenBSD 4.1 amd vr driver
work good with single core (boot bsd), i send the error because i think the error is MP(boot bsd.mp) thanks On 6/19/07, Miod Vallat <[EMAIL PROTECTED]> wrote: > > > Hi > > When OpenBSD 4.1 running in MP(bsd.mp) mode and I make "wget -m" loses > the > > connection of the network card vr0. > ^^^ > > Have you considered buying a network card for your machine? > > Miod
Re: Bug in OpenBSD 4.1 amd vr driver
> Hi > When OpenBSD 4.1 running in MP(bsd.mp) mode and I make "wget -m" loses the > connection of the network card vr0. ^^^ Have you considered buying a network card for your machine? Miod
Bug in OpenBSD 4.1 amd vr driver
Hi When OpenBSD 4.1 running in MP(bsd.mp) mode and I make "wget -m" loses the connection of the network card vr0. Reviewing /var/log/messages it indicates the following error: Jun 15 22:16:31 prueba /bsd: dkcsum: wd0 matches BIOS drive 0x80 Jun 15 22:16:31 prueba /bsd: root on wd0a Jun 15 22:16:31 prueba /bsd: rootdev=0x0 rrootdev=0x300 rawdev=0x302 Jun 15 22:16:31 prueba /bsd: WARNING: / was not properly unmounted Jun 15 22:16:31 prueba savecore: no core dump Jun 16 00:00:01 prueba syslogd: restart Jun 16 01:23:22 prueba /bsd: vr0: watchdog timeout Jun 16 01:23:37 prueba last message repeated 2 times Jun 16 01:26:10 prueba last message repeated 3 times Jun 16 01:35:04 prueba last message repeated 24 times Jun 16 01:46:02 prueba last message repeated 10 times Jun 16 01:47:05 prueba /bsd: vr0: watchdog timeout dmesg penBSD 4.1 (GENERIC) #874: Sat Mar 10 19:09:51 MST 2007 [EMAIL PROTECTED] :/usr/src/sys/arch/amd64/compile/GENERIC real mem = 938012672 (916028K) avail mem = 790179840 (771660K) using 22937 buffers containing 94007296 bytes (91804K) of memory mainbus0 (root) bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xf (36 entries) bios0: MICRO-STAR INTERNATIONAL CO., LTD MS-7253 acpi at mainbus0 not configured cpu0 at mainbus0: (uniprocessor) cpu0: AMD Athlon(tm) 64 X2 Dual Core Processor 3600+, 1900.27 MHz cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,CX16,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB 64b/line 16-way L2 cache cpu0: ITLB 32 4KB entries fully associative, 8 4MB entries fully associative cpu0: DTLB 32 4KB entries fully associative, 8 4MB entries fully associative pci0 at mainbus0 bus 0: configuration mode 1 pchb0 at pci0 dev 0 function 0 "VIA K8M890 Host" rev 0x00 pchb1 at pci0 dev 0 function 1 "VIA K8M890 Host" rev 0x00 pchb2 at pci0 dev 0 function 2 "VIA K8M890 Host" rev 0x00 pchb3 at pci0 dev 0 function 3 "VIA K8M890 Host" rev 0x00 pchb4 at pci0 dev 0 function 4 "VIA K8M890 Host" rev 0x00 "VIA K8M890 IOAPIC" rev 0x00 at pci0 dev 0 function 5 not configured pchb5 at pci0 dev 0 function 7 "VIA K8M890 Host" rev 0x00 ppb0 at pci0 dev 1 function 0 "VIA K8HTB AGP" rev 0x00 pci1 at ppb0 bus 1 vga1 at pci1 dev 0 function 0 "VIA DeltaChrome Video" rev 0x11 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) ppb1 at pci0 dev 2 function 0 "VIA K8T890 PCI-PCI" rev 0x00 pci2 at ppb1 bus 2 ppb2 at pci0 dev 3 function 0 "VIA K8T890 PCI-PCI" rev 0x00 pci3 at ppb2 bus 3 pciide0 at pci0 dev 15 function 0 "VIA VT8237A SATA" rev 0x80: DMA pciide0: using irq 11 for native-PCI interrupt pciide1 at pci0 dev 15 function 1 "VIA VT82C571 IDE" rev 0x07: DMA, channel 0 configured to compatibility, channel 1 configured to compatibility pciide1: channel 0 disabled (no drives) wd0 at pciide1 channel 1 drive 0: wd0: 16-sector PIO, LBA48, 78533MB, 160836480 sectors wd0(pciide1:1:0): using PIO mode 4, DMA mode 2 uhci0 at pci0 dev 16 function 0 "VIA VT83C572 USB" rev 0xa0: irq 10 usb0 at uhci0: USB revision 1.0 uhub0 at usb0 uhub0: VIA UHCI root hub, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhci1 at pci0 dev 16 function 1 "VIA VT83C572 USB" rev 0xa0: irq 11 usb1 at uhci1: USB revision 1.0 uhub1 at usb1 uhub1: VIA UHCI root hub, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered uhci2 at pci0 dev 16 function 2 "VIA VT83C572 USB" rev 0xa0: irq 11 usb2 at uhci2: USB revision 1.0 uhub2 at usb2 uhub2: VIA UHCI root hub, rev 1.00/1.00, addr 1 uhub2: 2 ports with 2 removable, self powered uhci3 at pci0 dev 16 function 3 "VIA VT83C572 USB" rev 0xa0: irq 10 usb3 at uhci3: USB revision 1.0 uhub3 at usb3 uhub3: VIA UHCI root hub, rev 1.00/1.00, addr 1 uhub3: 2 ports with 2 removable, self powered ehci0 at pci0 dev 16 function 4 "VIA VT6202 USB" rev 0x86: irq 11 usb4 at ehci0: USB revision 2.0 uhub4 at usb4 uhub4: VIA EHCI root hub, rev 2.00/1.00, addr 1 uhub4: 8 ports with 8 removable, self powered pcib0 at pci0 dev 17 function 0 "VIA VT8237A ISA" rev 0x00 pchb6 at pci0 dev 17 function 7 "VIA VT8251 VLINK" rev 0x00 vr0 at pci0 dev 18 function 0 "VIA RhineII-2" rev 0x7c: irq 10, address 00:19:db:75:55:ba rlphy0 at vr0 phy 1: RTL8201L 10/100 PHY, rev. 1 pchb7 at pci0 dev 19 function 0 "VIA VT8237A PCI-PCI" rev 0x00 ppb3 at pci0 dev 19 function 1 "VIA VT8237A PCI-PCI" rev 0x00 pci4 at ppb3 bus 4 pchb8 at pci0 dev 24 function 0 "AMD AMD64 HyperTransport" rev 0x00 pchb9 at pci0 dev 24 function 1 "AMD AMD64 Address Map" rev 0x00 pchb10 at pci0 dev 24 function 2 "AMD AMD64 DRAM Cfg" rev 0x00 pchb11 at pci0 dev 24 function 3 "AMD AMD64 Misc Cfg" rev 0x00 isa0 at pcib0 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,
Re: will openbsd run on this system?
You should be able to find a better system than this.. I bought a Shuttle SN25P that runs OpenBSD very nicely. There are only a few issues. The on-board sound (some Via Envy24 chipset) doesn't work. It doesn't really matter because I use a M-Audio MobilePre (for tracking guitar stuff) that is connected via USB. Firewire doesn't work, but that is to be expected. Also, the nfe0 interface times out every now and again, but I've been porting some fixes from NetBSD and I think the issue is fixed, I am just going to play around more with it to make sure the driver is in fact not timing out anymore. On 6/18/07, Juan Miscaro <[EMAIL PROTECTED]> wrote: I would like to buy this system but I am unsure whether OpenBSD (4.1) will recognize all the components. The chipset in particular. Comments welcome on an alternative. I am looking for at least 2 hard drives and the ability to have 2 network cards (ideally one being wireless). http://us.shuttle.com/T3100_3.aspx Thank you very much, Juan Be smarter than spam. See how smart SpamGuard is at giving junk email the boot with the All-new Yahoo! Mail at http://mrd.mail.yahoo.com/try_beta?.intl=ca
Re: Security of the keyboard
Karel Kulhavy <[EMAIL PROTECTED]> writes: > A friend who is happening to write his own operating system just pointed out > to me that a keyboard driver cannot use > > - lookup tables, because timing accessing these lookup tables would yield > information what key was pressed when entering a root password > - tests and jumps, because the same would be possible with the BTB (branch > target buffer). > > He said he had to write the whole driver using logical operation > masking. Does OpenBSD also have this trick? How is the keyboard > security designed in OpenBSD to prevent these covert channels > leaking the information to an unprivileged process? Your friend needs to get a life. If the environment is so hostile that someone will actually try to extract such data from so much noise without actually visting the admin and convincing him to give access to the machine with money/pain, you shouldn't really allow hostile users on such a machine. //art
Re: wireless support with OpenBSD vmware guest
On 6/18/07, Juan Miscaro <[EMAIL PROTECTED]> wrote: Hi gang, I would like to run VMware on Linux and use OpenBSD as a VM to act as my Internet gateway (pf, postfix, spamfilter). I will have another Linux VM or two that will act as fileserver and lan services. I would like to provide internet access to my lan using wireless protocols. Is this possible? That is, will I be able to use a wireless network card with an OpenBSD VM? Juan As long as you only use USB Wireless cards, I see no reason why you couldn't do this, as you can hand off USB devices directly to vmware (I've used USB stuff in VMware all the time). However, I DON'T think you should set up your network this way, as you've basically ruined any real security. But, it should be possible. Jason
Re: cannot enable executable stack...
OK, I have some question about the ktrace. The first notable call is the following: > 20188 MathKernel CALL mprotect(0xcfbc1000,0x1000,0x107) > 20188 MathKernel RET mprotect -1 errno 22 Invalid argument In OpenBSD, the only legal values for the third argument of mprotect are the bitwise sums of #define PROT_NONE 0x00/* no permissions */ #define PROT_READ 0x01/* pages can be read */ #define PROT_WRITE 0x02/* pages can be written */ #define PROT_EXEC 0x04/* pages can be executed */ But in Linux, bitwise sums of #define PROT_SEM0x8 /* page may be used for atomic ops */ #define PROT_GROWSDOWN 0x0100 /* mprotect flag: extend change to start of growsdown vma */ #define PROT_GROWSUP0x0200 /* mprotect flag: extend change to end of growsup vma */ are also allowed, in addition to those allowed by OpenBSD. So, at this point in the ktrace, a Linux-specific call to mprotect is being made. Namely, PROT_READ + PROT_WRITE + PROT_EXEC + PROT_GROWSDOWN. Is this the source of the error? If so, could OpenBSD's compat_linux be patched? But then it appears that OpenBSD recovers from the error and strips off the offending bit that corresponds to PROT_GROWSDOWN: > 20188 MathKernel CALL mprotect(0xcfbba000,0x8000,0x7) > 20188 MathKernel RET mprotect 0 But this appears to be unsuccessful, too. Why? Tens of thousands of unsuccessful calls to mprotect are made at various memory addresses, until finally an error is returned: > 20188 MathKernel CALL mprotect(0x4d092000,0x8000,0x7) > 20188 MathKernel RET mprotect 0 > 20188 MathKernel CALL mprotect(0x4d08a000,0x8000,0x7) > 20188 MathKernel RET mprotect -1 errno 13 Permission denied What is the significance of this error? Is it caused by OpenBSD's ProPolice stack protection?
Re: wireless support with OpenBSD vmware guest
2007/6/18, Juan Miscaro <[EMAIL PROTECTED]>: Hi gang, I would like to run VMware on Linux and use OpenBSD as a VM to act as my Internet gateway (pf, postfix, spamfilter). I will have another Linux VM or two that will act as fileserver and lan services. I would like to provide internet access to my lan using wireless protocols. Is this possible? That is, will I be able to use a wireless network card with an OpenBSD VM? No.
Re: PF overload table
Hi 2007/6/19, Alberich de megres <[EMAIL PROTECTED]>: Thanks that helps me. which is better ( less cpu overwelm )? pfctl -x misc or loud? Taking a look at pflog, i see something like: match rule 6 block in em0 How can i see which rule is rule 6? man pfctl pfctl -vvsr
Re: PF overload table
Thanks that helps me. which is better ( less cpu overwelm )? pfctl -x misc or loud? Taking a look at pflog, i see something like: match rule 6 block in em0 How can i see which rule is rule 6? Thanks! On 6/18/07, Brian A. Seklecki <[EMAIL PROTECTED]> wrote: > > see the "-x" argument to pfctl(8); try turning up the debugging level to > various settings and watch syslog ~BAS > > On Mon, 2007-06-18 at 13:46 +0200, Alberich de megres wrote: > > I'm wandering if there is some way to log when an ip is inserted in a > > table? > -- > Brian A. Seklecki <[EMAIL PROTECTED]> > Collaborative Fusion, Inc. > > > > > IMPORTANT: This message contains confidential information and is intended > only for the individual named. If the reader of this message is not an > intended recipient (or the individual responsible for the delivery of this > message to an intended recipient), please be advised that any re-use, > dissemination, distribution or copying of this message is > prohibited. Please notify the sender immediately by e-mail if you have > received this e-mail by mistake and delete this e-mail from your system.
Re: Wifi setup on Thinkpad T60
atstake atstake wrote: On 6/18/07, Fred Crowson <[EMAIL PROTECTED]> wrote: What you want is: dhcp none none none nwid "my_SSID" nwkey P789J497CA Thanks. but leaving out 0x fails to receive an IP address on the wpi0 interface. This is what it says - DHCPREQUEST on wpi0 to 255.255.255.255 DHCPREQUEST on wpi0 to 255.255.255.255 DHCPREQUEST on wpi0 to 255.255.255.255 DHCPREQUEST on wpi0 to 255.255.255.255 DHCPDISCOVER on wpi0 to 255.255.255.255 interval 1 DHCPDISCOVER on wpi0 to 255.255.255.255 interval 2 DHCPDISCOVER on wpi0 to 255.255.255.255 interval 3 DHCPDISCOVER on wpi0 to 255.255.255.255 interval 7 DHCPDISCOVER on wpi0 to 255.255.255.255 interval 14 DHCPDISCOVER on wpi0 to 255.255.255.255 interval 13 DHCPDISCOVER on wpi0 to 255.255.255.255 interval 15 No DHCP Offers received. On my router, the WEP encryption is 64 bit 10 hex digits & here is one of the keys - D67D06CEA5. Any further help would be much appreciated. What's the output of ifconfig -M wpi0 ? Sounds like either the keys or the SSID are not matching. If wpi0 gets a lease the request router statement in the dhclient.conf should rewrite the route table. HTH Fred -- OpenBSD on the Zaurus C3200 http://www.crowsons.com/puters/zaurus.htm
Re: Wifi setup on Thinkpad T60
"atstake atstake" <[EMAIL PROTECTED]> writes: > It seems like the problem is with the routing table. During boot up, > the ethernet card - em(4) - gets DHCP offer before wpi0 and so default > route is set on em0 and _not_ on wpi0. Is there any way to set the > default route on both the interfaces? how about trunking them together? if you will be using both interfaces and the machine is not supposed to be gatewaying between the two, that sounds like one useful thing to do. -- Peter N. M. Hansteen, member of the first RFC 1149 implementation team http://www.blug.linux.no/rfc1149/ http://www.datadok.no/ http://www.nuug.no/ "First, we kill all the spammers" The Usenet Bard, "Twice-forwarded tales" delilah spamd[29949]: 85.152.224.147: disconnected after 42673 seconds.
Security of the keyboard
A friend who is happening to write his own operating system just pointed out to me that a keyboard driver cannot use - lookup tables, because timing accessing these lookup tables would yield information what key was pressed when entering a root password - tests and jumps, because the same would be possible with the BTB (branch target buffer). He said he had to write the whole driver using logical operation masking. Does OpenBSD also have this trick? How is the keyboard security designed in OpenBSD to prevent these covert channels leaking the information to an unprivileged process? CL<
Re: Wifi setup on Thinkpad T60
On 6/19/07, atstake atstake <[EMAIL PROTECTED]> wrote: On 6/18/07, Fred Crowson <[EMAIL PROTECTED]> wrote: > What you want is: > dhcp none none none nwid "my_SSID" nwkey P789J497CA It seems like the problem is with the routing table. During boot up, the ethernet card - em(4) - gets DHCP offer before wpi0 and so default route is set on em0 and _not_ on wpi0. Is there any way to set the default route on both the interfaces? Thanks.
Re: Wifi setup on Thinkpad T60
On 6/18/07, Fred Crowson <[EMAIL PROTECTED]> wrote: What you want is: dhcp none none none nwid "my_SSID" nwkey P789J497CA Thanks. but leaving out 0x fails to receive an IP address on the wpi0 interface. This is what it says - DHCPREQUEST on wpi0 to 255.255.255.255 DHCPREQUEST on wpi0 to 255.255.255.255 DHCPREQUEST on wpi0 to 255.255.255.255 DHCPREQUEST on wpi0 to 255.255.255.255 DHCPDISCOVER on wpi0 to 255.255.255.255 interval 1 DHCPDISCOVER on wpi0 to 255.255.255.255 interval 2 DHCPDISCOVER on wpi0 to 255.255.255.255 interval 3 DHCPDISCOVER on wpi0 to 255.255.255.255 interval 7 DHCPDISCOVER on wpi0 to 255.255.255.255 interval 14 DHCPDISCOVER on wpi0 to 255.255.255.255 interval 13 DHCPDISCOVER on wpi0 to 255.255.255.255 interval 15 No DHCP Offers received. On my router, the WEP encryption is 64 bit 10 hex digits & here is one of the keys - D67D06CEA5. Any further help would be much appreciated.
Re: Openbsd as a paravirtualized Xen domU
last time i checked the only port of obsd to xen was foo (far from production ready). On 6/19/07, David Greenberg <[EMAIL PROTECTED]> wrote: Where can I find this project, or more specifically a working kernel source/binary image or an entire Xen domU image? Thanks! David -- almir