Re: system/6558: ntpd dns resolution failed

2011-02-14 Thread Stuart Henderson
You'll need ktrace -i, there are multiple processes



Re: kernel/6539: panic: pool_do_get(mcl2k): free list modified

2011-02-14 Thread Mark Kettenis
Does the diff below help?

Index: if_sis.c
===
RCS file: /cvs/src/sys/dev/pci/if_sis.c,v
retrieving revision 1.101
diff -u -p -r1.101 if_sis.c
--- if_sis.c31 Aug 2010 17:13:44 -  1.101
+++ if_sis.c14 Feb 2011 12:30:32 -
@@ -1272,6 +1272,11 @@ sis_newbuf(struct sis_softc *sc, struct 
 
c->sis_mbuf = m_new;
c->sis_ptr = htole32(c->map->dm_segs[0].ds_addr);
+
+   bus_dmamap_sync(sc->sc_dmat, sc->sc_listmap,
+   ((caddr_t)c - sc->sc_listkva), sizeof(struct sis_desc),
+   BUS_DMASYNC_PREWRITE);
+
c->sis_ctl = htole32(ETHER_MAX_DIX_LEN);
 
bus_dmamap_sync(sc->sc_dmat, sc->sc_listmap,



Re: kernel/6539: panic: pool_do_get(mcl2k): free list modified

2011-02-14 Thread Mark Kettenis
The following reply was made to PR kernel/6539; it has been noted by GNATS.

From: Mark Kettenis 
To: j...@openbsd.org
Cc: gn...@cvs.openbsd.org, b...@cvs.openbsd.org
Subject: Re: kernel/6539: panic: pool_do_get(mcl2k): free list modified
Date: Mon, 14 Feb 2011 13:33:42 +0100 (CET)

 Does the diff below help?
 
 Index: if_sis.c
 ===
 RCS file: /cvs/src/sys/dev/pci/if_sis.c,v
 retrieving revision 1.101
 diff -u -p -r1.101 if_sis.c
 --- if_sis.c   31 Aug 2010 17:13:44 -  1.101
 +++ if_sis.c   14 Feb 2011 12:30:32 -
 @@ -1272,6 +1272,11 @@ sis_newbuf(struct sis_softc *sc, struct 
  
c->sis_mbuf = m_new;
c->sis_ptr = htole32(c->map->dm_segs[0].ds_addr);
 +
 +  bus_dmamap_sync(sc->sc_dmat, sc->sc_listmap,
 +  ((caddr_t)c - sc->sc_listkva), sizeof(struct sis_desc),
 +  BUS_DMASYNC_PREWRITE);
 +
c->sis_ctl = htole32(ETHER_MAX_DIX_LEN);
  
bus_dmamap_sync(sc->sc_dmat, sc->sc_listmap,



Re: system/6562

2011-02-14 Thread tedu
Synopsis: mbuf leak in rt_senddesync (src/sys/net/rtsock.c)

State-Changed-From-To: open->closed
State-Changed-By: tedu
State-Changed-When: Mon Feb 14 05:53:58 MST 2011
State-Changed-Why: 
fixed.  thanks for detailed report.



Re: system/6558: ntpd dns resolution failed

2011-02-14 Thread Laurent LAVAUD
Hello,

ok with the "ktrace -i", i have found the problem:

  1474 ntpd NAMI  "/etc/resolv.conf"
  1474 ntpd RET   open -1 errno 13 Permission denied

(root@ns2) root#ls
-l /etc/resolv.conf 
   
-rw---  1 root  wheel  42 Feb  8 11:14 /etc/resolv.conf

it is better with a 644 !
thanks for your help.


-- 

Laurent LAVAUD - Newsweb
Administrateur SystC(mes et RC)seaux
laurent.lav...@newsweb.fr
9, Place Marie-Jeanne Bassot
92300 LEVALLOIS-PERRET
Fixe: +33 1 41 34 93 97



Le lundi 14 fC)vrier 2011 C  11:29 +, Stuart Henderson a C)crit :

> You'll need ktrace -i, there are multiple processes



Re: system/6558

2011-02-14 Thread otto
Synopsis: ntpd dns resolution failed

State-Changed-From-To: open->closed
State-Changed-By: otto
State-Changed-When: Mon Feb 14 06:17:24 MST 2011
State-Changed-Why: 
user problem



Re: kernel/6556

2011-02-14 Thread Axel Rau

Am 12.02.2011 um 10:38 schrieb Axel Rau:


Am 12.02.2011 um 06:17 schrieb dera...@cvs.openbsd.org:


Synopsis: Memory corruption in ipv6 code with ipv6 traffic via ipsec
tunnel

State-Changed-From-To: open->closed
State-Changed-By: deraadt
State-Changed-When: Fri Feb 11 22:16:33 MST 2011
State-Changed-Why:
user is using a heavily tuned kernel and refuses to listen to advice
about de-tuning all those things; as a result, noone can help him.

Did you read this:
gmane.os.openbsd.bugs/16684

Sorry, I mean:
http://article.gmane.org/gmane.os.openbsd.bugs/16684

? This is a GENERIC kernel.


Axel
---
axel@chaos1.de  PGP-Key:29E99DD6  +49 151 2300 9283  computing @
chaos claudius



Re: kernel/6539: panic: pool_do_get(mcl2k): free list modified

2011-02-14 Thread joshua stein
The following reply was made to PR kernel/6539; it has been noted by GNATS.

From: joshua stein 
To: Mark Kettenis 
Cc: gn...@cvs.openbsd.org
Subject: Re: kernel/6539: panic: pool_do_get(mcl2k): free list modified
Date: Mon, 14 Feb 2011 13:09:22 -0600

 > Does the diff below help?
 
 i haven't been able to reproduce a panic with it so far.  i'll keep
 stressing it for a day before i can tell for sure.
 
 > Index: if_sis.c
 > ===
 > RCS file: /cvs/src/sys/dev/pci/if_sis.c,v
 > retrieving revision 1.101
 > diff -u -p -r1.101 if_sis.c
 > --- if_sis.c 31 Aug 2010 17:13:44 -  1.101
 > +++ if_sis.c 14 Feb 2011 12:30:32 -
 > @@ -1272,6 +1272,11 @@ sis_newbuf(struct sis_softc *sc, struct 
 >  
 >  c->sis_mbuf = m_new;
 >  c->sis_ptr = htole32(c->map->dm_segs[0].ds_addr);
 > +
 > +bus_dmamap_sync(sc->sc_dmat, sc->sc_listmap,
 > +((caddr_t)c - sc->sc_listkva), sizeof(struct sis_desc),
 > +BUS_DMASYNC_PREWRITE);
 > +
 >  c->sis_ctl = htole32(ETHER_MAX_DIX_LEN);
 >  
 >  bus_dmamap_sync(sc->sc_dmat, sc->sc_listmap,



alpha/6563: cc internal compiler error on alpha

2011-02-14 Thread janjaap
>Number: 6563
>Category:   alpha
>Synopsis:   cc internal compiler error.
>Confidential:   yes
>Severity:   serious
>Priority:   medium
>Responsible:bugs
>State:  open
>Quarter:
>Keywords:   
>Date-Required:
>Class:  sw-bug
>Submitter-Id:   unknown
>Arrival-Date:   Mon Feb 14 20:40:01 GMT 2011
>Closed-Date:
>Last-Modified:
>Originator: 
>Release:
>Organization:
>Environment:
System  : OpenBSD 4.9
Details : OpenBSD 4.9-beta (GENERIC) #7: Thu Feb 10 23:46:58 CET 
2011
 
janjaap@alf:/forest/trees/src/sys/arch/alpha/compile/GENERIC

Architecture: OpenBSD.alpha
Machine : alpha
>Description:
Compiling some ports generate an internal compiler error.
These ports have incommin that they ocerride the standard -O2
with a -O. (one example is print/psutils).
the offending file fails with:
epsffit.c:43: warning: return type of `main' is not `int'
epsffit.c: In function `main':
epsffit.c:189: error: push_frame_in_operand
(insn 264 263 265 28 0x168195918 (set (reg:DI 18 $18)
(reg/f:DI 63 FP)) 228 {*movdi_er_nofix} (nil)
(nil))
epsffit.c:189: internal compiler error: in push_frame_in_operand, at 
protector.c:2565
Please submit a full bug report,
with preprocessed source if appropriate.
See http://gcc.gnu.org/bugs.html> for instructions.

Reducing the offendig file to its bare minimum while still
producing errors (see How-To-Repeat) makes cc error out with: 

test.c: In function `main':
test.c:13: error: push_frame_in_operand
(insn 16 15 17 0 0x1616baf20 (set (reg:DI 18 $18)
(reg/f:DI 63 FP)) 228 {*movdi_er_nofix} (nil)
(nil))
test.c:13: internal compiler error: in push_frame_in_operand, at 
protector.c:2565
Please submit a full bug report,
with preprocessed source if appropriate.
See http://gcc.gnu.org/bugs.html> for instructions.

>How-To-Repeat:
$ #either do
$ cd /usr/ports/print/psutils
$ make

$ #or to see the effect from a minimal c file:
$ cat > test.c <

int
main(int argc, char **argv)
{
char buf[128];
float a, b;

sscanf(buf, "%f %f", &a, &b);

return 0;
}
EOF
$ cc -O test.c
test.c: In function `main':
test.c:13: error: push_frame_in_operand
(insn 16 15 17 0 0x1616baf20 (set (reg:DI 18 $18)
(reg/f:DI 63 FP)) 228 {*movdi_er_nofix} (nil)
(nil))
test.c:13: internal compiler error: in push_frame_in_operand, at 
protector.c:2565
Please submit a full bug report,
with preprocessed source if appropriate.
See http://gcc.gnu.org/bugs.html> for instructions.
$

>Fix:
Unknown.
Actually compiling with -O2 does not cause this errror.



dmesg:
OpenBSD 4.9-beta (GENERIC) #7: Thu Feb 10 23:46:58 CET 2011
janjaap@alf:/forest/trees/src/sys/arch/alpha/compile/GENERIC
Digital AlphaPC 164SX 533 MHz
8192 byte page size, 1 processor.
real mem = 536870912 (512MB)
rsvd mem = 1966080 (1MB)
avail mem = 517660672 (493MB)
mainbus0 at root
cpu0 at mainbus0: ID 0 (primary), PCA56-2 (unknown minor type 2)
cpu0: architecture extensions: 1
cia0 at mainbus0: DECchip 2117x Core Logic Chipset (Pyxis), pass 1
cia0: extended capabilities: 1
cia0: using BWX for PCI config and bus access
pci0 at cia0 bus 0
uhci0 at pci0 dev 5 function 0 "VIA VT83C572 USB" rev 0x61: eb164 irq 9
uhci1 at pci0 dev 5 function 1 "VIA VT83C572 USB" rev 0x61: eb164 irq 13
ehci0 at pci0 dev 5 function 2 "VIA VT6202 USB" rev 0x63: eb164 irq 17
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "VIA EHCI root hub" rev 2.00/1.00 addr 1
em0 at pci0 dev 7 function 0 "Intel PRO/1000MT (82541GI)" rev 0x00: eb164 irq 
10, address 00:0e:0c:51:3d:a0
sio0 at pci0 dev 8 function 0 "Contaq Microsystems CY82C693U ISA" rev 0x00
pciide0 at pci0 dev 8 function 1 "Contaq Microsystems CY82C693U ISA" rev 0x00: 
DMA, channel 0 wired to compatibility
wd0 at pciide0 channel 0 drive 0: 
wd0: 32-sector PIO, LBA, 6204MB, 12706470 sectors
wd0(pciide0:0:0): using PIO mode 4, DMA mode 2
pciide1 at pci0 dev 8 function 2 "Contaq Microsystems CY82C693U ISA" rev 0x00: 
no DMA, channel 0 wired to compatibility
wd1 at pciide1 channel 0 drive 0: 
wd1: 16-sector PIO, LBA48, 156334MB, 320173056 sectors
wd2 at pciide1 channel 0 drive 1: 
wd2: 16-sector PIO, LBA, 76319MB, 156301488 sectors
wd1(pciide1:0:0): using PIO mode 4
wd2(pciide1:0:1): using PIO mode 4
ohci0 at pci0 dev 8 function 3 "Contaq Microsystems CY82C693U ISA" rev 0x00: 
couldn't map interrupt
vga0 at pci0 dev 9 function 0 "Matrox MGA G200 PCI" rev 0x01
wsdisplay0 at vga0 mux 1
wsdisplay0: screen 0-5 added (80x25, vt100 emulation)
usb1 at uhci0: USB revision 1.0
uhub1 at usb1 "VIA UHCI root hub" rev 1.00/1.00 addr 1
usb2 at uhci1: USB revision 1.0
uhub2 at usb2 "VIA UHCI root hub" rev 1.00/1.00 addr 1
isa0 at sio0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
com0: console
com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
pckbc0 at isa0 port 0x60/5
pckbd

OpenBSD 4.8 softraid stripe on mirrors broken

2011-02-14 Thread Steven R. Gerber
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Setup: 4 identical disks

I can easily create 2 mirrors and they survive reboot.
I can create stripe on those mirrors (works -- can create files), but it
does not survive reboot.
Message is device not configured.

***
# bioctl -iv softraid0
# fdisk -iy sd1
Writing MBR at offset 0.
fdisk -iy sd2
fdisk -iy sd3
fdisk -iy sd4
# fdisk -iy sd2
Writing MBR at offset 0.
fdisk -iy sd3
fdisk -iy sd4

# fdisk -iy sd3
Writing MBR at offset 0.
# fdisk -iy sd4
Writing MBR at offset 0.
#
# printf "a\n\n\n\nRAID\nw\nq\n\n" | disklabel -E sd1
Label editor (enter '?' for help at any prompt)
No space left, you need to shrink a partition
Resize only implemented for auto allocated labels
> > > > > > > No label changes.
printf "a\n\n\n\nRAID\nw\nq\n\n" | disklabel -E sd2
# printf "a\n\n\n\nRAID\nw\nq\n\n" | disklabel -E sd2
Label editor (enter '?' for help at any prompt)
No space left, you need to shrink a partition
Resize only implemented for auto allocated labels
> > > > > > > No label changes.
printf "a\n\n\n\nRAID\nw\nq\n\n" | disklabel -E sd3
# printf "a\n\n\n\nRAID\nw\nq\n\n" | disklabel -E sd3
Label editor (enter '?' for help at any prompt)
No space left, you need to shrink a partition
Resize only implemented for auto allocated labels
> > > > > > > No label changes.
printf "a\n\n\n\nRAID\nw\nq\n\n" | disklabel -E sd4
# printf "a\n\n\n\nRAID\nw\nq\n\n" | disklabel -E sd4
Label editor (enter '?' for help at any prompt)
No space left, you need to shrink a partition
Resize only implemented for auto allocated labels
> > > > > > > No label changes.

#
# bioctl -c 1 -l /dev/sd1a,/dev/sd2a softraid0
# bioctl -c 1 -l /dev/sd3a,/dev/sd4a softraid0
# bioctl -iv softraid0
Volume  Status   Size Device
softraid0 0 Online  2000396018176 sd9 RAID1
  0 Online  2000396018176 0:0.0   noencl 
 'unknown serial'
  1 Online  2000396018176 0:1.0   noencl 
 'unknown serial'
softraid0 1 Online  2000396018176 sd10RAID1
  0 Online  2000396018176 1:0.0   noencl 
 'unknown serial'
  1 Online  2000396018176 1:1.0   noencl 
 'unknown serial'
#
# dd if=/dev/zero of=/dev/rsd9c bs=1m count=1
dd if=/dev/zero of=/dev/rsd10c bs=1m count=1
1+0 records in
1+0 records out
1048576 bytes transferred in 0.008 secs (128344676 bytes/sec)
# dd if=/dev/zero of=/dev/rsd10c bs=1m count=1

1+0 records in
1+0 records out
1048576 bytes transferred in 0.008 secs (125307839 bytes/sec)
#
# fdisk -iy sd9
Writing MBR at offset 0.
fdisk -iy sd10
# fdisk -iy sd10

Writing MBR at offset 0.
#
# printf "a\n\n\n\nRAID\nw\nq\n\n" | disklabel -E sd9
Label editor (enter '?' for help at any prompt)
> partition: [a] offset: [64] size: [3907007936] FS type: [4.2BSD] > >
No label changes.
# printf "a\n\n\n\nRAID\nw\nq\n\n" | disklabel -E sd10
Label editor (enter '?' for help at any prompt)
> partition: [a] offset: [64] size: [3907007936] FS type: [4.2BSD] > >
No label changes.
#
# bioctl -c 0 -l /dev/sd9a,/dev/sd10a softraid0
bioctl -iv softraid0

# bioctl -iv softraid0
Volume  Status   Size Device
softraid0 0 Online  2000396018176 sd9 RAID1
  0 Online  2000396018176 0:0.0   noencl 
 'unknown serial'
  1 Online  2000396018176 0:1.0   noencl 
 'unknown serial'
softraid0 1 Online  2000396018176 sd10RAID1
  0 Online  2000396018176 1:0.0   noencl 
 'unknown serial'
  1 Online  2000396018176 1:1.0   noencl 
 'unknown serial'
softraid0 2 Online  4000775536640 sd11RAID0
  0 Online  2000387792896 2:0.0   noencl 
 'unknown serial'
  1 Online  2000387792896 2:1.0   noencl 
 'unknown serial'
#
# dd if=/dev/zero of=/dev/rsd11c bs=1m count=1

1+0 records in
1+0 records out
1048576 bytes transferred in 0.007 secs (140183957 bytes/sec)
#
# disklabel -E sd11
Label editor (enter '?' for help at any prompt)
> p
OpenBSD area: 0-7814014721; size: 7814014721; free: 7814014721
#size   offset  fstype [fsize bsize  cpg]
  c:   78140147210  unused
> a
partition: [a]
offset: [0]
size: [7814014721]
FS type: [4.2BSD]
> w
> q
No label changes.
# newfs -O 2 /dev/rsd11a

/dev/rsd11a: 3815436.9MB in 7814014720 sectors of 512 bytes
1168 cylinder groups of 3266.88MB, 52270 blocks, 104704 inodes each
super-block backups (for fsck -b #) at:
 256, 6690816, 13381376, 20071936, 26762496, 33453056, 40143616, 46834176,
 53524736, 60215296, 66905856, 73596416, 8028697

【検索上位の決定版】1000サイトからの被リンクで1万円!

2011-02-14 Thread keinet登録代行
Web$B$4C4Evhttp://kei.net/) 
$B$O!"(BSEO$BBP:v$HCW$7$^$7$F(B1000$B%5%$%H0J>eB??t(BIP$BJ,;6$NEPO?Be9T$rCW$7$F$*$j$^$9!#(B

$B"((BSEO$BBP:v6H%j%s%/$G1?1D$7$F$$$^$9$N$G(BYahoo!$B$d(BGoogle$B$J$I$N8!:w%(%s%8%s$h$jHo%j%s%/$NG'<1$,\:Y$O@'Hs(B keinet(http://kei.net/)$B$r$4MwD:$1$?$i9,?S$G$9!#(B
$B$*Ld9g$;$K$D$-$^$7$F$O!"J@%5%$%H$N!V(BSEO$B30ItBP:v$K$D$$$F!W!V(BQ&A($B$h$/$"$k$4e!"$h$m$7$/$*4j$$?=$7>e$2$^$9!#(B
$B%(%U%(%L%(%9(B
keinet$BEPO?Be9T(B
$BH/9Thttp://kei.net/

$B"(L$>5G'9-9p%a!<%kG[?.Dd;_$r$44uK>$NJ}$O!"$*l9g$,8f:B$$$^$9$N$G!"M=$a$4N;>54j$$$^$9!#(B