smtpd: IPv6 subnets in accept rule
Hi, If I use something like this in smtpd.conf: accept from fd07:8085:b92f:2::/64 for domain maroufi.net alias aliases deliver to mbox I get this error: smtpd: inet_net_pton: Address family not supported by protocol family Has smtpd problems with IPv6? Cheers Rene Maroufi -- Reni Maroufi i...@maroufi.net
OpenBSD Apache with IPv6 VirtualHost
Hi, I try to configure the OpenBSD Apache to use IPv6 with Name based VirtualHosts. But it doesn't work. apachectl configtest says: [Sun Jul 17 18:12:53 2011] [error] Cannot resolve host fd07:8085:b92f:1::1:1 port 80 --- ignoring! [Sun Jul 17 18:12:53 2011] [error] Cannot resolve host fd07:8085:b92f:1::1:1 port 80 --- ignoring! [Sun Jul 17 18:12:53 2011] [error] Cannot resolve host fd07:8085:b92f:1::1:1 port 80 --- ignoring! [Sun Jul 17 18:12:53 2011] [error] Cannot resolve host fd07:8085:b92f:1::1:1 port 80 --- ignoring! [Sun Jul 17 18:12:53 2011] [error] Cannot resolve host fd07:8085:b92f:1::1:1 port 80 --- ignoring! Syntax OK My Requests go to the main host, not the virtual Host. Config is like this: Listen 192.168.0.11:80 Listen 192.168.0.11:81 Listen fd07:8085:b92f:1::1:1 80 Listen fd07:8085:b92f:1::1:1 81 NameVirtualHost 192.168.0.11:80 NameVirtualHost fd07:8085:b92f:1::1:1 80 VirtualHost 192.168.0.11:80 [fd07:8085:b92f:1::1:1]:80 ... Both addresses have DNS Entrys (and Reverse DNS Entrys). Whats wrong with this config? Cheers Rene Maroufi -- Reni Maroufi i...@maroufi.net
Re: OpenBSD Apache with IPv6 VirtualHost
On Sun, Jul 17, 2011 at 12:30:45PM -0500, joshua stein wrote: you need -U in httpd_flags in /etc/rc.conf.local Thank you. It works with -U! Cheers Rene -- Reni Maroufi i...@maroufi.net
USB CD not working in 4.8
Hi, I have a USB DVD-Burner, but OpenBSD 4.8 (Release) can't use the drive. OpenBSD attach the uk driver instead the cd driver with the drive. dmesg: umass0 at uhub0 port 3 configuration 1 interface 0 TS8XDVDR Transcend rev 2.00/1.66 addr 2 umass0: using ATAPI over Bulk-Only scsibus1 at umass0: 2 targets, initiator 0 uk0 at scsibus1 targ 1 lun 0: TS8XDVDR, Transcend, 1.66 ATAPI 5/cdrom fixed usbdevs -v: port 3 addr 2: high speed, self powered, config 1, Transcend(0x1640), TS8XDVDR(0x13fd), rev 1.66, iSerialNumber 30314435363738394B4C With Linux the drive is working as /dev/sr0 device. Can I hardwire the device to the cd driver with a custom Kernel? Or is this a bug? Cheers Reni full dmesg: OpenBSD 4.8 (GENERIC) #136: Mon Aug 16 09:06:23 MDT 2010 dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC cpu0: Intel(R) Pentium(R) M processor 1400MHz (GenuineIntel 686-class) 1.40 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,TM,SBF,EST,TM2 real mem = 535785472 (510MB) avail mem = 517062656 (493MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 02/13/04, BIOS32 rev. 0 @ 0xfd750, SMBIOS rev. 2.33 @ 0xe0010 (57 entries) bios0: vendor IBM version 1QET73WW (2.11 ) date 02/13/2004 bios0: IBM 2672PG9 apm0 at bios0: Power Management spec V1.2 apm0: battery life expectancy 100% apm0: AC on, battery charge high, charging acpi at bios0 function 0x0 not configured pcibios0 at bios0: rev 2.1 @ 0xfd6e0/0x920 pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdea0/272 (15 entries) pcibios0: PCI Interrupt Router at 000:31:0 (Intel 82371FB ISA rev 0x00) pcibios0: PCI bus #6 is the last bus bios0: ROM list: 0xc/0x1 0xd/0x1000 0xd1000/0x1000 0xdc000/0x4000! 0xe/0x1 cpu0 at mainbus0: (uniprocessor) cpu0: Enhanced SpeedStep 1399 MHz: speeds: 1400, 1200, 1000, 800, 600 MHz pci0 at mainbus0 bus 0: configuration mode 1 (bios) io address conflict 0x5800/0x8 io address conflict 0x5808/0x4 io address conflict 0x5810/0x8 io address conflict 0x580c/0x4 pchb0 at pci0 dev 0 function 0 Intel 82855PM Host rev 0x03 intelagp0 at pchb0 agp0 at intelagp0: aperture at 0xd000, size 0x1000 ppb0 at pci0 dev 1 function 0 Intel 82855PM AGP rev 0x03 pci1 at ppb0 bus 1 vga1 at pci1 dev 0 function 0 ATI Radeon Mobility M6 rev 0x00 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) radeondrm0 at vga1: irq 11 drm0 at radeondrm0 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 ppb1 at pci0 dev 30 function 0 Intel 82801BAM Hub-to-PCI rev 0x81 pci2 at ppb1 bus 2 mem address conflict 0xb000/0x1000 mem address conflict 0xb100/0x1000 cbb0 at pci2 dev 0 function 0 Ricoh 5C476 CardBus rev 0xaa: irq 11 cbb1 at pci2 dev 0 function 1 Ricoh 5C476 CardBus rev 0xaa: irq 11 Ricoh 5C552 Firewire rev 0x02 at pci2 dev 0 function 2 not configured iwi0 at pci2 dev 2 function 0 Intel PRO/Wireless 2200BG rev 0x05: irq 11, address 00:16:6f:b7:5c:94 fxp0 at pci2 dev 8 function 0 Intel PRO/100 VE rev 0x81, i82562: irq 11, address 00:0d:60:8f:34:18 inphy0 at fxp0 phy 1: i82562ET 10/100 PHY, rev. 0 cardslot0 at cbb0 slot 0 flags 0 cardbus0 at cardslot0: bus 3 device 0 cacheline 0x0, lattimer 0xb0 pcmcia0 at cardslot0 cardslot1 at cbb1 slot 1 flags 0 cardbus1 at cardslot1: bus 6 device 0 cacheline 0x0, lattimer 0xb0 pcmcia1 at cardslot1 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: SAMSUNG HM080GC wd0: 16-sector PIO, LBA48, 76319MB, 156301488 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 cd0 at scsibus0 targ 0 lun 0: MATSHITA, DVD-ROM SR-8177, NB21 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 0x50: 512MB DDR SDRAM non-parity PC2100CL2.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 1.0 uhub3 at usb3 Intel UHCI root hub rev 1.00/1.00 addr
Snapshot: misc48.tgz missing
Hi, the latest snapshot has no misc48.tgz file. Is this file no longer in the releaseset or what is wrong? Cheers Rene -- Reni Maroufi i...@maroufi.net
Re: 4.7 pf: quick and rdr-to/nat-to
On Mon, May 24, 2010 at 01:24:26AM +0400, Vadim Jukov wrote: Then maybe, you'll show us output of: 1. cat /etc/pf.conf 2. pfctl -f /etc/pf.conf pfctl -sr 3. pfctl -o none -f /etc/pf.conf pfctl -sr Today it works without the quick. I don't know why, but it works now. Sorry for the noise. Cheers Rene -- Reni Maroufi i...@maroufi.net
4.7 pf: quick and rdr-to/nat-to
Hi, i update my firewall to 4.7 and changed my rdr and nat rules. But there is one thing i don't understand: I use a transparent proxy (Squid) on the same machine and in pf.conf this rdr-rule: pass in quick on $ifklan proto tcp from $klan to ! allintern port 80 rdr-to 127.0.0.1 port 3128 This works fine. If I comment this rule out, traffic is blocked. Thats OK. If i remove only the quick word, traffic is passed through the firewall without being proxied. But there is no other rule after this rule to let traffic through the firewall. If there was a other rule, comment this rule out, can't stop the traffic. I don't understand this behaviour. Cheers Rene -- Reni Maroufi i...@maroufi.net
Re: 4.7 pf: quick and rdr-to/nat-to
On Sun, May 23, 2010 at 08:07:38PM +0200, Henning Brauer wrote: * Rene Maroufi i...@maroufi.net [2010-05-23 14:04]: Hi, i update my firewall to 4.7 and changed my rdr and nat rules. But there is one thing i don't understand: I use a transparent proxy (Squid) on the same machine and in pf.conf this rdr-rule: pass in quick on $ifklan proto tcp from $klan to ! allintern port 80 rdr-to 127.0.0.1 port 3128 This works fine. If I comment this rule out, traffic is blocked. Thats OK. If i remove only the quick word, traffic is passed through the firewall without being proxied. But there is no other rule after this rule to let traffic through the firewall. If there was a other rule, comment this rule out, can't stop the traffic. I don't understand this behaviour. well, there HAS to be another rule that matches later, or this would not happen. If thats the case: Why the traffic is blocked if i comment the rule out? Its blocked if i comment the rule out, but its passed without redirect if i remove the quick. That makes no sense! Cheers Rene -- Reni Maroufi i...@maroufi.net
man 4 dc missing
Hi, the manpage for the dc Ethernetcard isn't on my system and in the online manpages. I have 4.6 stable installed und man 4 dc isn't found. The website shows only the manpage for man 1 dc (desktop calculator) and not man 4 dc. But the list on this site shows a dc manpage for section 4: http://www.openbsd.org/cgi-bin/man.cgi?query=(4)sektion=apropos=1manpath=OpenBSD+Currenttitle=Section Maybe a documentation bug (missing manpage)? Cheers Rene -- Reni Maroufi i...@maroufi.net
Re: man 4 dc missing
On Sun, May 02, 2010 at 08:51:05PM +0200, Otto Moerbeek wrote: I don't know what you did to your system, but I've checked a 4.6 system and a current system, and both have the dc(4) man page. OK, sorry, after a sh /etc/weekly the manpage is shown. It was on my system, but makewhatis was not up to date. Thats my desktop system and i switch it off at night and it doesn't run /etc/weekly. Cheers Reni -- Reni Maroufi i...@maroufi.net
smtpd Feature Request: max_message_size
Hi, i use OpenSMTPD in a small homelan with a smarthost configuration: All mail is sent trough a second external mailserver. The other mailserver only accepts mails with a maximum size of 20 MB. Sometimes my users sent to big mails. OpemSMTPD accepts these mails, but the external mailserver doesnt accept these mails and the mails wait in the smtpd queue until i remove them manually. A feature like in Postfix the message_size_limit would be nice (and also a feature like mailbox_size_limit). Maybe something like: accept from $trustnet for all relay via mail.server.tld sizelimit 20m and if its over sizelimit it would be rejected, with a understandable error message. And a second question: How long does smtpd wait until it sends a Mailerdaemon for a undeliverable mail? It would be nice if this time is configurable. Cheers Reni -- Reni Maroufi i...@maroufi.net
Re: smtpd.conf: syntax error with from local
On Sun, Apr 11, 2010 at 10:56:03PM +0200, Gilles Chehade wrote: As far as I remember, local is not a supported keyword for the from clause OK, then thats a docuumentation bug. The manpage says: from local The rule matches only locally originating connections. This is the default, and may be omitted. Then this must be ommited and not may. Cheers Rene -- Reni Maroufi i...@maroufi.net
smtpd: Aliases only work with for local alias aliases
Hello, In my smtpd.conf i have this: map aliases { source db /etc/mail/aliases.db } and: accept from all for local deliver to maildir If i send a mail to an alias smtpd rejected the mail. The Log says: 530 Recipient rejected: postmas...@lofn.maroufi I tried something and finally this works: accept from all for local alias aliases deliver to maildir But the Manpage doesn't say something about for local alias aliases And a second error in the Manpage: The Manpage says: map map { [type maptype] source mapsource } And the maptype must be db. But if i write: map aliases { type db source /etc/mail/aliases.db } Than smtpd -n says its an syntax error. Actually map only works without maptype and aliases works only with a alias mapname statement in the accept rule. Thats different from the manpage. Cheers Reni -- Reni Maroufi i...@maroufi.net
smtpd.conf: syntax error with from local
Hi, i tried smtpd on a snapshot from March (GENERIC#556). If i use: accept from local for all relay I get with smtpd -n: /etc/mail/smtpd.conf:11: syntax error If i remove from local, everything is OK. Whats wrong with from local? The manpage says from local is correct (but the default, so it isn't needed). Cheers Rene -- Reni Maroufi i...@maroufi.net
spamlogd and authenticated synchronisation of spamd
Hi, I read man spamd and man spamlogd about synchronisation. In man spamlogd i miss a point: If i use the authentication of spamd synchronisation messages with a /etc/mail/spamd.key file, what happens with the sync messages of spamlogd? The manpage of spamlogd doesn't tell me anything about authentication? Cheers Rene -- Reni Maroufi i...@maroufi.net
pf FAQ error
Hi, Cite from http://www.openbsd.org/faq/pf/logging.html Note that PF can only log packets that it's blocking or passing; you cannot specify a rule that only logs packets. But this is wrong for 4.6 and later. 4.6 has the match Rule. It is possible to log with: match log in on $extif all or something like this. Is this a documentation bug? Cheers Reni -- Reni Maroufi i...@maroufi.net
Docu-bug: man login.conf/meaning of tc=
Hello, maybe i found a documentation bug: In login.conf sometimes the parameter tc is used (for example in the default entry for staff: :tc=default:), but in man login.conf there is no parameter tc explained. I found a explanation of tc in a NetBSD manpage: http://www.daemon-systems.org/man/login.conf.5.html Cheers Reni -- Reni Maroufi i...@maroufi.net
umass0: Sometimes on ehci and sometimes on uhci
Hi, i have a IBM Thinkpad T41 running OpenBSD 4.6 stable. The Thinkpad has 2 USB Ports and supports USB 2.0 (ehci). If i plug in a umass device, sometimes i get USB 2 speed, sometimes not. In my dmesg I can see that uhub0 is on usb0 thats on ehci, but uhub1 - uhub3 are uhci devices. My USB harddrive sometimes plugs in on uhub0, but sometimes not. Is there a way to always attach a USB 2 device to an ehci port? Or maybe can I configure the kernel to bound umass devices only to uhub0? dmesg: OpenBSD 4.6 (GENERIC) #3: Thu Oct 29 11:12:11 CET 2009 r...@freya.maroufi:/usr/src/sys/arch/i386/compile/GENERIC cpu0: Intel(R) Pentium(R) M processor 1700MHz (GenuineIntel 686-class) 1.70 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,TM,SBF,EST,TM2 real mem = 1072656384 (1022MB) avail mem = 1028411392 (980MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 06/18/04, BIOS32 rev. 0 @ 0xfd750, SMBIOS rev. 2.33 @ 0xe0010 (61 entries) bios0: vendor IBM version 1RETCDWW (3.06f) date 06/18/2004 bios0: IBM 2373TG5 apm0 at bios0: Power Management spec V1.2 apm0: battery life expectancy 95% apm0: AC on, battery charge high, charging acpi at bios0 function 0x0 not configured pcibios0 at bios0: rev 2.1 @ 0xfd6e0/0x920 pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdea0/272 (15 entries) pcibios0: PCI Interrupt Router at 000:31:0 (Intel 82371FB ISA rev 0x00) pcibios0: PCI bus #6 is the last bus bios0: ROM list: 0xc/0x1 0xd/0x1000 0xd1000/0x1000 0xdc000/0x4000! 0xe/0x1 cpu0 at mainbus0: (uniprocessor) cpu0: Enhanced SpeedStep 1695 MHz: speeds: 1700, 1400, 1200, 1000, 800, 600 MHz pci0 at mainbus0 bus 0: configuration mode 1 (bios) io address conflict 0x5800/0x8 io address conflict 0x5808/0x4 io address conflict 0x5810/0x8 io address conflict 0x580c/0x4 pchb0 at pci0 dev 0 function 0 Intel 82855PM Host rev 0x03 intelagp0 at pchb0 agp0 at intelagp0: aperture at 0xd000, size 0x1000 ppb0 at pci0 dev 1 function 0 Intel 82855PM AGP rev 0x03 pci1 at ppb0 bus 1 vga1 at pci1 dev 0 function 0 ATI Radeon Mobility M9 rev 0x02 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) radeondrm0 at vga1: irq 11 drm0 at radeondrm0 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 ppb1 at pci0 dev 30 function 0 Intel 82801BAM Hub-to-PCI rev 0x81 pci2 at ppb1 bus 2 mem address conflict 0xb000/0x1000 mem address conflict 0xb100/0x1000 cbb0 at pci2 dev 0 function 0 TI PCI4520 CardBus rev 0x01: irq 11 cbb1 at pci2 dev 0 function 1 TI PCI4520 CardBus rev 0x01: irq 11 em0 at pci2 dev 1 function 0 Intel PRO/1000MT (82540EP) rev 0x03: irq 11, address 00:0d:60:7b:15:dd ath0 at pci2 dev 2 function 0 Atheros AR5212 (IBM MiniPCI) rev 0x01: irq 11 ath0: AR5213 5.6 phy 4.1 rf5111 1.7 rf2111 2.3, WOR1W, address 00:05:4e:4c:0e:93 cardslot0 at cbb0 slot 0 flags 0 cardbus0 at cardslot0: bus 3 device 0 cacheline 0x8, lattimer 0xb0 pcmcia0 at cardslot0 cardslot1 at cbb1 slot 1 flags 0 cardbus1 at cardslot1: bus 6 device 0 cacheline 0x8, lattimer 0xb0 pcmcia1 at cardslot1 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: SAMSUNG HM160HC wd0: 16-sector PIO, LBA48, 152627MB, 312581808 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 cd0 at scsibus0 targ 0 lun 0: MATSHITA, UJDA755yDVD/CDRW, 1.72 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 0x50: 512MB DDR SDRAM non-parity PC2700CL2.5 spdmem1 at iic0 addr 0x51: 512MB 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 1.0 uhub3 at usb3 Intel UHCI root hub rev 1.00/1.00 addr 1 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 pms0 at pckbc0 (aux slot)
Re: powering off with shutdown -hp?
On Tue, Oct 27, 2009 at 10:22:59PM -0700, Fred Snurd wrote: From the dmesg (below), this appears to be an old APM-based motherboard. The shutdown(8) manpage states that not all hardware supports automatic power down. That's fine if this hardware doesn't support it, but given the Attempting to power down... message, I am curious if it might be possible. apm0 at bios0: Power Management spec V1.2 apm0: AC on, battery charge unknown acpi at bios0 function 0x0 not configured Your dmesg show that your machine can do apm and acpi. OpenBSD uses always apm if both is possible. Sometimes these old machines can poweroff only with acpi, but not with apm. You can try to disable apm in the kernel config. OpenBSD then uses acpi. Maybe this works for poweroff. I have a old machine that can't poweroff with apm, but can do it with acpi. Regards Rene -- Reni Maroufi i...@maroufi.net
Re: ldpctl and ldpd
On Tue, Oct 27, 2009 at 02:56:16PM +0300, Aleksandr Gurbo wrote: Hello, Where is I can found man pages for ldpd and ldpdctl? http://www.openbsd.org/cgi-bin/man.cgi?query=ldpdapropos=0sektion=0manpath=OpenBSD+4.6arch=i386format=html There is no ldpd or ldpdctl program in OpenBSD. Maybe you mean ldp and lpc? Regards Reni -- Reni Maroufi i...@maroufi.net
igmp packets in pflog
Hi, I have a (bridging) Firewall with OpenBSD 4.6 stable. In /var/log/pflog I can see many igmp-packets. But I have no log statement for these types of connections in my pf.conf. I have only a log statement for some other hosts (with a different IP). Are igmp packets always logged? Regards Reni -- Reni Maroufi i...@maroufi.net
Re: Secure way to delete data in hard disc
On Tue, Oct 27, 2009 at 04:12:54PM +0100, Jordi Espasa Clofent wrote: Hi all, The subject is auto-descriptive ;) After reading a while about wiping [1] I think there's not a unique way to do it. Finally I've chosen a simple double-step method: First, $ dd if=/dev/urandom of=disk_to_delete and next $ dd if=/deb/zero of=disk_to_delete ?Do you think is it safe enough? I mean ?is it enough against the common recovery low-level data tools? Last year, I talked with a employee of a data recovery company about this. My question to him was: Is it enough to overwrite a partition or harddisk only once, or must i do this many times. His answer was: On all modern harddisk its enough to do it once (modern means all harddrives newer than 10 years!). Only one dd if=/dev/zero of=disk_to_delete is enough, but the real problem is a other: All harddrives have replacement blocks (to compensate failures). Old data can be in blocks that dd can't reach because they are marked as corrupt. The use of alternative blocks in a harddrive is manged by the drive itself. The OS can't reach these blocks. Simple forensic tools can't reach these blocks, too, but if you need really high security you must destroy your harddrive in a secure way (for example with a degausser). Regards Reni -- Reni Maroufi i...@maroufi.net
Re: igmp packets in pflog
On Tue, Oct 27, 2009 at 02:25:03PM +0100, Rene Maroufi wrote: Hi, I have a (bridging) Firewall with OpenBSD 4.6 stable. In /var/log/pflog I can see many igmp-packets. But I have no log statement for these types of connections in my pf.conf. I have only a log statement for some other hosts (with a different IP). Are igmp packets always logged? Addition: my only rule with log is following: # grep log /etc/pf.conf match in log on $iffilter proto tcp from any os windows to any tcpdump -ttt -n -r /var/log/pflog shows lines like: Oct 27 17:19:09.543501 192.168.3.204 224.0.0.22: igmp-2 [v2] (DF) [tos 0xc0] [ttl 1] Oct 27 17:19:09.543525 192.168.3.204 224.0.0.22: igmp-2 [v2] (DF) [tos 0xc0] [ttl 1] But igmp is not tcp and the host with 192.168.3.204 is a linux host. Regards Rene -- Reni Maroufi i...@maroufi.net
Re: smtpd: feature like the transport table in postfix
On Sun, Oct 25, 2009 at 08:30:59PM +0100, Denis Fondras wrote: Hi Rene, Perhaps I didn't understand correctly your problem but can't you just use : accept from $mynetwork for domain example.net relay ? and let smtpd resolve example.net MX ? Yes, of course, this was a loop in my brain. Look at my other post in this thread. Regards Reni -- Reni Maroufi i...@maroufi.net
mailq: unsupported mode with smtpd
Hi, The daily script on my Server with running smtpd shows me this error: mailq: unsupported mode In my /etc/mailer.conf mailq is mapped to smtpctl: mailq /usr/sbin/smtpctl Doesn't work the smtpctl command as mailq? The Server is running 4.6 stable (with the 4.6 stable smtpd). Regards Reni -- Reni Maroufi i...@maroufi.net
Re: mailq: unsupported mode with smtpd
On Mon, Oct 26, 2009 at 01:52:24PM +0100, Gilles Chehade wrote: try: maulq /usr/sbin/smtpctl show queue and by maulq i mean mailq ;-) Doesn't work: /etc/mailer.conf: mailq /usr/sbin/smtpctl show queue # mailq mailq: unsupported mode Regards Rene -- Reni Maroufi i...@maroufi.net
smtpd: format for certificates
Hi, I try out the new smtpd in 4.6 stable. I want to use tls, but i don't know in which format the certificate file must be. I have a private key, and a public key in 2 files, but opensmtpd wants a certificate in one file. I tried to concatenate both in one file, but smtpd -n says: /etc/mail/smtpd.conf:9: cannot load certificate: fxp0 What is the correct format for the certificate? Regards Reni -- Reni Maroufi i...@maroufi.net
Re: smtpd: format for certificates
On Sun, Oct 25, 2009 at 03:41:22PM +0100, Gilles Chehade wrote: you should read man starttls, it provides the exact description of how you setup ssl/tls in smtpd Not really. I tried the procedure in man starttls and ended with 2 file, too. If I use the mycert.pem from the steps in man starttls (as file fxp0.crt) i get the same error with smtpd -n: /etc/mail/smtpd.conf:9: cannot load certificate: fxp0 Regards Rene -- Reni Maroufi i...@maroufi.net
Re: smtpd: format for certificates
On Sun, Oct 25, 2009 at 04:17:46PM +0001, Jason McIntyre wrote: smtpd.conf(5) currently has a simple example for using an rsa certificate (which we should probably change). you can use the info in that page and starttls(8) to do the same using a dsa certificate. Thanks, this example from the new (current) manpage works. In the 4.6 Release manpage for smtpd.conf wasn't a example like this. Regards Reni -- Reni Maroufi i...@maroufi.net
smtpd: feature like the transport table in postfix
Hi, OpenSMTPD is great. Really simple configuration syntax. But I missed one thing from postfix: Would it be possible to do MX lookups in a relay via statement? I mean: Postfix have the transport table feature. I use this feature to relay some maildomains to their really mailhub instead of my smarthost. 90 % of my mails go to the smarthost, but i have some exceptions. In smtpd.conf I try this: accept from $mynetwork for example.org relay via mail.example.org accept from $mynetwork for all relay via $smarthost tls enable auth But a transport table entry in postfix can do mx lookups: example.org smtp:example.org example.net smtp:[mail.example.net] first entry is with MX lookup, second without. Would it be possible to implement a switch for the relay statement for with/without MX lookup, for example: accept from $mynetwork for domain example.org relay via mail.example.org accept from $mynetwork for domain example.net relay via mx:example.net First form for without MX lookup, second with MX lookup. Regards Rene -- Reni Maroufi i...@maroufi.net
Re: smtpd: feature like the transport table in postfix
On Sun, Oct 25, 2009 at 09:00:51PM +0100, Gilles Chehade wrote: Hi, Isn't the following what you're trying to do ? accept from $mynetwork for domain example.org relay via mail.example.org accept from $mynetwork for domain example.net relay Oh, yes, sometimes I'm blind. You are right of course. Maybe my brain is postfix conditioned to think to complex. OpenSMTPD has a really simple configuration syntax, maybe to simple for me :-) Regards Rene -- Reni Maroufi i...@maroufi.net
output of daily script and man afterboot
Hello, I don't want the output of the daily script mailed. In man afterboot (section crontab) is a example to write the output in /var/log/daily.out, but this example doesn't work in 4.6. I used this always and it was no problem in 4.5, but in 4.6 I get always mails. Is this a documentation bug in man afterboot or a bug of the daily script and how can i turn the mails off? Beside this: 4.6 is great. I like tmux and i will try smtpd in the next days. Regards Reni -- Reni Maroufi i...@maroufi.net
Re: output of daily script and man afterboot
On Thu, Oct 22, 2009 at 12:10:06PM +0200, Ingo Schwarze wrote: or a bug of the daily script and how can i turn the mails off? Very probably, setting VERBOSESTATUS=0 in /etc/daily.local is all you want, see daily(8) for details. Thanks for the hint. I tested the daily script with VERBOSESTATUS=0 and get no mail. This is a better way than before, I will update my site46.tgz containing a /etc/daily.local. Yours Reni -- Reni Maroufi i...@maroufi.net
Patch file for 4.6 isn't on the ftp server
Hi, the link on this site: http://www.openbsd.org/errata46.html for the .tar.gz file with all patches (001 and 002) isn't on the ftp server. Link directs to: ftp://ftp.openbsd.org/pub/OpenBSD/patches/4.6.tar.gz I get 550 No such file or directory. Regards Reni -- Reni Maroufi i...@maroufi.net
Re: image editor
On Thu, Oct 08, 2009 at 11:48:32AM +1300, Paul M wrote: All editors that I've seen will re-encode a jpeg whenever any change is made. Whenever that happens, you'll lose information. (Actually, lossless jpeg encoding is possible but I've never seen a publicly available app or library that impliments it.) jpegtran is losless. Its part of the jpeg-Package. Regards Reni -- Reni Maroufi i...@maroufi.net
serial console with boot floppy
Hi, since some Releases I use for a i386 machine without monitor a floppy with serial console support. I made it from floppyXX.fs and added on the floppy the etc-directory and a boot.conf file in this directory with this content: set tty com0 But: This doesn't work with the newest Snapshot. I tested the floppy on a other machine with monitor an boot showed me this error message: non-secure fd0a:/etc/boot.conf; will not proceed Is there a other way to become serial console on installation media? Cheers Reni -- Reni Maroufi i...@maroufi.net
Re: serial console with boot floppy
On Mon, Jun 08, 2009 at 12:12:24PM +0200, Rene Maroufi wrote: non-secure fd0a:/etc/boot.conf; will not proceed Sorry, my error! boot.conf wasn't owned by root. Fixed this, and it works. Cheers Rene -- Reni Maroufi i...@maroufi.net
Re: Script checking PERMIT_ values of all lib/run depends
On Sun, Jun 07, 2009 at 04:47:14AM +0300, Cem Kayali wrote: port=multimedia/k3b Why not $1 instead of $port? It's more flexible, if it isn't hardcoded. Cheers Rene -- Reni Maroufi i...@maroufi.net
Re: problem with some graphical apps in 4.5 on some machines
Sorry, sorry for this mail, forgot it. On Mon, Apr 27, 2009 at 10:51:43PM +0200, Rene Maroufi wrote: The application package itself can't be damaged, because the same packages work on the third machine. I was wrong. I installed the working machine from a cd, the others from my internal ftp server. The gtk+2 package from the ftp server have a different md5 sum then the package on the cd! I reinstalled gtk+2 from the cd and all apps works well! Cheers Reni -- Reni Maroufi i...@maroufi.net
problem with some graphical apps in 4.5 on some machines
Hi, i update 3 machines from 4.4 to 4.5. On 2 of these machines I have a very strange problem: Some graphical apps can't display graphical icons or any image. For example: Pidgin: Shows no icons (red cross instead of the icons). Audacious: Unusable, shows no application window GQview: Unusable as a image viewer, shows no images xpad: missing icons (red cross instead of the icons) Other apps works with all icons: Abiword, Inkscape, OpenOffice.org and Gimp (but image preview doesn't work). I use icewm as window manager. I reinstalled the apps and some dependencieas (with pkg_add -r -F update -F installed) like gtk+2, glitz, cairo, png and jpeg, but nothing changes. One of my machines have the same applications installed but they work normal! The 2 not working machines have Intel graphic cards, the other a Ati Radeon. I tryed the vesa driver for x11 on one of the Intel machines but nothing changed (however one of the Intel machines need the Option AccelMethod XAA Workaround in xorg.conf). If i start audacious from a xterm i have many messages like this: (audacious:12838): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_width: assertion `GDK_IS_PIXBUF (pixbuf)' failed (audacious:12838): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_height: assertion `GDK_IS_PIXBUF (pixbuf)' failed The application package itself can't be damaged, because the same packages work on the third machine. dmesg of one of the two machines (the other is a Asus Eee PC 701): OpenBSD 4.5 (GENERIC) #1: Mon Apr 20 20:24:12 CEST 2009 r...@freya.maroufi:/usr/src/sys/arch/i386/compile/GENERIC cpu0: Intel(R) Pentium(R) 4 CPU 2.00GHz (GenuineIntel 686-class) 2 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 real mem = 1063809024 (1014MB) avail mem = 1020354560 (973MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 09/24/02, BIOS32 rev. 0 @ 0xfd760, SMBIOS rev. 2.31 @ 0xf0420 (76 entries) bios0: vendor FUJITSU SIEMENS // Phoenix Technologies Ltd. version 4.06 Rev. 1.04.1387 date 09/24/2002 bios0: FUJITSU SIEMENS SCENIC L acpi0 at bios0: rev 0 acpi0: tables DSDT FACP APIC BOOT acpi0: wakeup devices PCI0(S4) AGPB(S4) PCIH(S4) USB1(S4) USB2(S4) USB3(S4) USB4(S4) AC97(S4) MC97(S4) KEYB(S4) PS2M(S4) COM1(S1) COM2(S1) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: apic clock running at 99MHz ioapic0 at mainbus0: apid 1 pa 0xfec0, version 20, 24 pins acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus -1 (AGPB) acpiprt2 at acpi0: bus 2 (PCIH) acpicpu0 at acpi0 acpibtn0 at acpi0: PWRB bios0: ROM list: 0xc/0xb000! 0xcb000/0x1800 0xdc000/0x4000! pci0 at mainbus0 bus 0: configuration mode 1 (bios) pchb0 at pci0 dev 0 function 0 Intel 82845G Host rev 0x01 vga1 at pci0 dev 2 function 0 Intel 82845G Video rev 0x01 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) intagp0 at vga1 agp0 at intagp0: aperture at 0xd800, size 0x800 inteldrm0 at vga1: apic 1 int 16 (irq 9) drm0 at inteldrm0 uhci0 at pci0 dev 29 function 0 Intel 82801DB USB rev 0x01: apic 1 int 16 (irq 9) uhci1 at pci0 dev 29 function 1 Intel 82801DB USB rev 0x01: apic 1 int 19 (irq 11) uhci2 at pci0 dev 29 function 2 Intel 82801DB USB rev 0x01: apic 1 int 18 (irq 10) ehci0 at pci0 dev 29 function 7 Intel 82801DB USB rev 0x01: apic 1 int 23 (irq 9) 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 82801BA Hub-to-PCI rev 0x81 pci1 at ppb0 bus 2 ohci0 at pci1 dev 5 function 0 NEC USB rev 0x43: apic 1 int 17 (irq 5), version 1.0 ohci1 at pci1 dev 5 function 1 NEC USB rev 0x43: apic 1 int 18 (irq 10), version 1.0 ehci1 at pci1 dev 5 function 2 NEC USB rev 0x04: apic 1 int 19 (irq 11) usb1 at ehci1: USB revision 2.0 uhub1 at usb1 NEC EHCI root hub rev 2.00/1.00 addr 1 fxp0 at pci1 dev 8 function 0 Intel PRO/100 VM rev 0x81, i82562: apic 1 int 20 (irq 11), address 00:30:05:32:9a:0a inphy0 at fxp0 phy 1: i82562EM 10/100 PHY, rev. 0 puc0 at pci1 dev 9 function 0 Sunix 40XX rev 0x01: ports: 2 com com3 at puc0 port 0 apic 1 int 19 (irq 11): ti16750, 64 byte fifo com3: probed fifo depth: 32 bytes com4 at puc0 port 1 apic 1 int 19 (irq 11): ti16750, 64 byte fifo com4: probed fifo depth: 32 bytes usb2 at ohci0: USB revision 1.0 uhub2 at usb2 NEC OHCI root hub rev 1.00/1.00 addr 1 usb3 at ohci1: USB revision 1.0 uhub3 at usb3 NEC OHCI root hub rev 1.00/1.00 addr 1 ichpcib0 at pci0 dev 31 function 0 Intel 82801DB LPC rev 0x01 pciide0 at pci0 dev 31 function 1 Intel 82801DB IDE rev 0x01: DMA, channel 0 configured to compatibility, channel 1 configured to compatibility wd0 at pciide0 channel 0 drive 0: MAXTOR STM3802110A wd0: 16-sector PIO, LBA48, 76319MB, 156301488 sectors wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5 atapiscsi0 at pciide0 channel 1 drive 0 scsibus0 at
Re: European orders
On Mon, Mar 30, 2009 at 05:10:23PM +0200, Artur Grabowski wrote: the old distributor proved to fall behind on payments, the other side hasn't said anything. Please, enlighten us about further details since The other side has said something here: http://accounting.kd85.com/ Cheers Reni -- Reni Maroufi i...@maroufi.net
Re: chroot browser
On Thu, Mar 26, 2009 at 01:58:45AM -0400, punoseva...@gmail.com wrote: Hi misc, I was wondering if you could give me some input about the following security matter. It seems to me that using a web-browser, an email client, and a chat client (if permitted at all) are the un-safest forms of interaction of a typical desktop user with his/hers computer. Apart of standard protective techniques as using a web-proxy is there are any benefit in running web-browser in chroot environment per user? It looks to me no, especially in a light of the fact that application must have the access to X server. Could anybody elaborate on what would be a typical desktop application, if any, which would be a good candidate for chroot. I'm using Systrace for my Firefox. Cheers Reni -- Reni Maroufi i...@maroufi.net
Re: European orders
Sorry, I want CC the list, but forgot it. I send this mail to Theo de Raadt: - Forwarded message from Rene Maroufi i...@maroufi.net - Date: Wed, 25 Mar 2009 12:09:49 +0100 From: Rene Maroufi i...@maroufi.net To: Theo de Raadt dera...@cvs.openbsd.org Subject: Re: European orders In-Reply-To: 200903242337.n2onbghn015...@cvs.openbsd.org User-Agent: Mutt/1.4.2.3i X-Operating-System: OpenBSD On Tue, Mar 24, 2009 at 05:37:42PM -0600, Theo de Raadt wrote: i guess this also means that you dont know about a replacement company that would take up the gauntlet.. Maybe one will show up. Vacuums tend to do that. I can do this for germany (and maybe austria). I'm a selfemployed Linux- and OpenBSD-trainer and offer Linux- and OpenBSD service for small companys. I can do the shipping for germany. Cheers Reni -- Reni Maroufi http://www.maruweb.de - End forwarded message -
Re: network manager
On Wed, Dec 31, 2008 at 01:58:29AM -0800, lordfabri wrote: Hi Nick and thanks for the answer. I have installed openbsd on my laptop and everything works fine,gnome too. What i haven't uderstand is: 1)I have a Digicom usb wifi with Zydas chipset and i 'vre read it's just supported...but i don't know to activate (command not found with lsusb and lspci) lspci and lsusb are not part of OpenBSD, you can use usbdevs (instead of lsusb). Read: http://www.openbsd.org/faq/faq6.html#Setup and http://www.openbsd.org/faq/faq6.html#Wireless how to configure network. For permanent configuration use /etc/hostname.if (change if with your interface name), for temporary configuration you can use ifconfig and/or dhclient. 3)The audio. What do i need to initialize it? Read: http://www.openbsd.org/faq/faq13.html#confaudio Check the output of mixerctl, maybe your soundcard is automatically configured but mixersettings are mute. Cheers Reni -- Reni Maroufi i...@maroufi.net
Re: Any Dev interested in SIS Ethernet/SATA driver development?
On Fri, Dec 26, 2008 at 10:10:04PM -0500, bofh wrote: On Fri, Dec 26, 2008 at 5:10 PM, Rene Maroufi i...@maroufi.net wrote: On Fri, Dec 26, 2008 at 03:32:50PM -0600, Marco Peereboom wrote: I'll comment by saying that developing a storage driver remotely is a total pain in the ass bordering impossible. Not, if there are 2 hard drives, both connected different (separate Controllers). My OpenBSD System (amd64, 4.4 stable) runs from the IDE drive. The SATA drive isn't in use any more. I think Marco's point was that if there are crashes, lockups, etc, it is a pain in the ass not to have console access, or to be able to unplug the power and reboot into a working config/kernel, etc etc. Even without any development experience I can see that as a pain. OK, I understand, but I can provide a serial console from a neighbour machine and a SSH account on the neighbour machine, too. Is it possible with a serial console? Cheers Reni -- Reni Maroufi i...@maroufi.net
Re: Any Dev interested in SIS Ethernet/SATA driver development?
On Fri, Dec 26, 2008 at 03:16:26PM -0600, Todd T. Fries wrote: You should try current. I have these very chipsets on a board I have, and the IDE support works great for PATA drives, haven't plugged in any SATA drives I will admit, mind showing a dmesg so we can get an idea of how old a kernel you are running/ I tried the latest snapshot and DMA doesn't working: pciide1 at pci0 dev 8 function 0 vendor SiS, unknown product 0x0183 rev 0x01: DMA (unsupported), channel 0 wired to native-PCI, channel 1 wired to native-PCI My full dmesg with the latest snapshot: OpenBSD 4.4-current (GENERIC) #1971: Wed Dec 24 01:45:08 MST 2008 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC real mem = 1026732032 (979MB) avail mem = 996515840 (950MB) mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.3 @ 0xfc7b0 (45 entries) bios0: vendor American Megatrends Inc. version 080012 date 08/13/2007 acpi0 at bios0: rev 0 acpi0: tables DSDT FACP APIC MCFG OEMB acpi0: wakeup devices PS2K(S4) PS2M(S4) UAR1(S4) UAR2(S4) PCI0(S4) EUSB(S4) USB_(S4) USB2(S4) USB3(S4) AC97(S4) MC97(S4) MAC_(S4) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: AMD Athlon(tm) 64 Processor 3200+, 2200.35 MHz cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,SSE3,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 cpu0: AMD erratum 89 present, BIOS upgrade may be required cpu0: apic clock running at 200MHz ioapic0 at mainbus0 apid 1 pa 0xfec0, version 14, 24 pins acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 2 (P0P6) acpiprt2 at acpi0: bus 3 (P0P7) acpicpu0 at acpi0: PSS acpibtn0 at acpi0: PWRB cpu0: Cool'n'Quiet K8 2200 MHz: speeds: 2200 2000 1800 1000 MHz pci0 at mainbus0 bus 0: configuration mode 1 pchb0 at pci0 dev 0 function 0 SiS 761 PCI rev 0x02 agp at pchb0 not configured ppb0 at pci0 dev 1 function 0 SiS 86C202 VGA rev 0x00 pci1 at ppb0 bus 1 vga1 at pci1 dev 0 function 0 SiS 6330 VGA rev 0x03 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) pcib0 at pci0 dev 2 function 0 SiS 965 ISA rev 0x48 pciide0 at pci0 dev 2 function 5 SiS 5513 EIDE rev 0x01: 965: DMA, channel 0 configured to compatibility, channel 1 configured to compatibility atapiscsi0 at pciide0 channel 0 drive 1 scsibus0 at atapiscsi0: 2 targets, initiator 7 cd0 at scsibus0 targ 0 lun 0: ATAPI, iHDP118 4, GL03 ATAPI 5/cdrom removable cd0(pciide0:0:1): using PIO mode 4, Ultra-DMA mode 2 wd0 at pciide0 channel 1 drive 0: ST380020A wd0: 16-sector PIO, LBA, 76319MB, 156301488 sectors wd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2 auich0 at pci0 dev 2 function 7 SiS 7012 AC97 rev 0xa0: apic 1 int 18 (irq 11), SiS7012 AC97 ac97: codec id 0x41445368 (Analog Devices AD1888) ac97: codec features headphone, 20 bit DAC, No 3D Stereo audio0 at auich0 ohci0 at pci0 dev 3 function 0 SiS 5597/5598 USB rev 0x0f: apic 1 int 20 (irq 5), version 1.0, legacy support ohci1 at pci0 dev 3 function 1 SiS 5597/5598 USB rev 0x0f: apic 1 int 21 (irq 3), version 1.0, legacy support ohci2 at pci0 dev 3 function 2 SiS 5597/5598 USB rev 0x0f: apic 1 int 22 (irq 5), version 1.0, legacy support ehci0 at pci0 dev 3 function 3 SiS 7002 USB rev 0x00: apic 1 int 23 (irq 5) usb0 at ehci0: USB revision 2.0 uhub0 at usb0 SiS EHCI root hub rev 2.00/1.00 addr 1 SiS 190 rev 0x00 at pci0 dev 4 function 0 not configured ppb1 at pci0 dev 6 function 0 SiS PCI-PCI rev 0x00 pci2 at ppb1 bus 2 ppb2 at pci0 dev 7 function 0 SiS PCI-PCI rev 0x00 pci3 at ppb2 bus 3 pciide1 at pci0 dev 8 function 0 vendor SiS, unknown product 0x0183 rev 0x01: DMA (unsupported), channel 0 wired to native-PCI, channel 1 wired to native-PCI pciide1: using apic 1 int 17 (irq 5) for native-PCI interrupt wd1 at pciide1 channel 0 drive 0: ExcelStor Technology J8160S wd1: 16-sector PIO, LBA48, 152627MB, 312581808 sectors pciide1: channel 1 ignored (not responding; disabled or no drives?) rl0 at pci0 dev 9 function 0 Accton MPX 5030/5038 rev 0x10: apic 1 int 17 (irq 5), address 00:e0:29:6a:8e:10 rlphy0 at rl0 phy 0: RTL internal PHY pchb1 at pci0 dev 24 function 0 AMD AMD64 0Fh HyperTransport rev 0x00 pchb2 at pci0 dev 24 function 1 AMD AMD64 0Fh Address Map rev 0x00 pchb3 at pci0 dev 24 function 2 AMD AMD64 0Fh DRAM Cfg rev 0x00 kate0 at pci0 dev 24 function 3 AMD AMD64 0Fh Misc Cfg rev 0x00 ppb3 at pci0 dev 31 function 0 SiS PCI-PCI rev 0x00 pci4 at ppb3 bus 4 isa0 at pcib0 isadma0 at isa0 com0 at isa0 port 0x3f8/8 irq 4: 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
Any Dev interested in SIS Ethernet/SATA driver development?
Hi, I have a new PC with an Athlon 64 CPU, and SiS Chipsets. The SiS SATA Chip, and the SiS Onboard Ethernet Controller doesn't work on OpenBSD. The SATA-HDD works without DMA. I plugged in a PCI-Ethernet Card and an IDE HDD, but if any developer have interest to develop a driver for the SiS 190 Ethernet Controller, or the SiS 183 SATA Chip, I can provide SSH access to the machine for developing (including sudo-root access of course). Full dmesg (after plugging in the extra ethernet card, but before using the IDE-HDD): http://www.maroufi.net/dmesg_gawain A FreeBSD driver for the SiS 190 ethernet card exists here: http://www.nabble.com/SiS-190-NIC-driver-td14260735.html Cheers Reni -- Reni Maroufi i...@maroufi.net
Re: Any Dev interested in SIS Ethernet/SATA driver development?
On Fri, Dec 26, 2008 at 03:32:50PM -0600, Marco Peereboom wrote: I'll comment by saying that developing a storage driver remotely is a total pain in the ass bordering impossible. Not, if there are 2 hard drives, both connected different (separate Controllers). My OpenBSD System (amd64, 4.4 stable) runs from the IDE drive. The SATA drive isn't in use any more. Cheers Rene -- Reni Maroufi i...@maroufi.net