Re: Problem installing 4.6 on Toshiba Libretto 70CT

2009-11-16 Thread Hou Ruoyu
As I upgraded to #377 Nov 15 kernel snapshot, the problem recurred.
OpenBSD 4.6-current (GENERIC) #377: Sun Nov 15 00:38:03 MST 2009
(same as before)
biomask edc5 netmask efc5 ttymask 
vscsi0 at root
scsibus0 at vscsi0:256 targets
softraid0 at root
kernel: integer divide fault trap, code=0
Stopped at   cpu_switchto+0x76   popl %ebx
ddbtrace
cpu_switchto(d0851534,d0c17800,d0a20f18,d03763c9,d0c17800) at
cpu_switchto+0x76

cfdata(d0c17800,0c17800,0,0,d15ca984) at cfdata+0x44e8
config_attach(0,d084a0a4,0,0,d073cf57) at config_attach+0xfd
config_rootfound(d073cfa0,0,d0a20fa0,d0360adf,2) at config_rootfound+0x27
main(0,0,0,0,0) at main+0x4b3

Regards,

On Sun, Nov 15, 2009 at 11:45 PM, Marco Peereboom sl...@peereboom.us wrote:
 I think we fixed that in -current. B Can you try the latest kernel?

 On Sun, Nov 15, 2009 at 01:12:13PM +0800, Hou, Ruoyu wrote:
 Thanks for the reply. Here are return info from trace and ps:
 ddbtrace
 cpu_switchto(d081f394,d0be5000,d09e9f18,d035f36d,d0be5000) at
cpu_switchto+0x76

 cfdata(d0be5000,d0be5000,0,d09e9f20,100) at cfdata+0x4434
 config_attach(0,d0818080,0,0,d0821a38) at config_attach+0xfd
 config_rootfound(d070b6f7,0,d09e9fa0,d0349ad9,2) at config_rootfound+0x27
 main(0,0,0,0,0) at main+0x4af
 ddbps
 B  B PID B  PPID B  PGRP B  UID B S B  B  B  FLAGS B WAIT B  B  B  COMMAND
 B  B  B 8 B  B  B 0 B  B  B 0 B  B  0 B 2 B  B 0x100200 B  B  B  B  B  B 
pfpurge
 B  B  B 7 B  B  B 0 B  B  B 0 B  B  0 B 2 B  B 0x100200 B  B  B  B  B  B 
pcic0,0,1
 B  B  B 6 B  B  B 0 B  B  B 0 B  B  0 B 2 B  B 0x100200 B  B  B  B  B  B 
pcic0,0,0
 B  B  B 5 B  B  B 0 B  B  B 0 B  B  0 B 2 B  B 0x100200 B  B  B  B  B  B 
apm0
 B  B  B 4 B  B  B 0 B  B  B 0 B  B  0 B 2 B  B 0x100200 B  B  B  B  B  B 
syswq
 B  B  B 3 B  B  B 0 B  B  B 0 B  B  0 B 2 B  B 0x100200 B  B  B  B  B  B 
idle0
 B  B  B 2 B  B  B 0 B  B  B 0 B  B  0 B 2 B  B 0x100200 B  B  B  B  B  B 
kmthread
 * B  B 1 B  B  B 0 B  B  B 0 B  B  0 B 7 B  B  B  B  B  0 B  B  B  B  B  B 
swapper
 B  B  B 0 B  B  B 0 B  B  B 0 B  B  0 B 3 B  B  0x80200 B wdccmd B  B 
swapper

 My disk was partioned as follows:
 1120MB as / and set bootable
 80MB as swap
 remaining 340+MB was FAT32 and mounted as /MSDOS.

 Regards,

 Marco Peereboom wrote:
  type trace please
 
  On Sun, Nov 15, 2009 at 11:55:27AM +0800, Hou, Ruoyu wrote:
  I am trying to install OpenBSD 4.6 on a old Libretto 70CT. The
installation was finished without error but stuck at rebooting.
 
  Since no PCMCIA-floppy or PCMCIA-CD-ROM on hand, I booted the boot
cdimage file by Grub4DOS and performed net install. Reboot run into kernel
fault. dmesg as follows:
  OpenBSD 4.6 (GENERIC) #58: Thu Jul 9 21:24:42 MDT 2009
  dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
  cpu0: Intel Pentium/MMX (GenuineIntel 586-class) 121 MHz
  cpu0: FPU,V86,DE,PSE,TSC,MSR,MCE,CX8,MMX
  real mem = 33255424 (31MB)
  avail mem = 21803008 (20MB)
  mainbus0 (root)
  bios0 at mainbus0: AT/286+ BIOS, date 02/10/99
  apm0 at bios0: Power Management spec V1.2
  apm0: battery life expectancy 100%
  apm0: AC on, battery charge high, charging
  pcibios at bios0 function 0x1a not configured
  bios0: ROM list: 0xe4000/0xc000
  cpu0 at mainbus0: (uniprocessor)
  cpu0: F00F bug workaround installed
  isa0 at mainbus0
  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
  pms0 at pckbc0 (aux slot)
  pckbc0: using irq 12 for aux slot
  wsmouse0 at pms0 mux 0
  vga0 at isa0 port 0x3b0/48 iomem 0xa/131072
  wsdisplay0 at vga0 mux 1: console (80x25, vt100 emulation), using
wskbd0
  wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
  wdc0 at isa0 port 0x1f0/8 irq 14
  wd0 at wdc0 channel 0 drive 0: IBM-DDLA-21620
  wd0: 16-sector PIO, LBA, 1551MB, 3177216 sectors
  wd0(wdc0:0:0): using BIOS timings
  sb0 at isa0 port 0x220/24 irq 5 drq 1: dsp v3.01
  midi0 at sb0: SB MIDI UART
  audio0 at sb0
  opl0 at sb0: model OPL3
  midi1 at opl0: SB Yamaha OPL3
  wss0 at isa0 port 0x530/8 irq 10 drq 0: CS4231 or AD1845 (vers 4)
  audio1 at wss0
  pcppi0 at isa0 port 0x61
  midi2 at pcppi0: PC speaker
  spkr0 at pcppi0
  lpt0 at isa0 port 0x378/4 irq 7
  npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
  pcic0 at isa0 port 0x3e0/2 iomem 0xd/65536
  pcic0 controller 0: Intel 82365SL rev 1 has sockets A and B
  pcmcia0 at pcic0 controller 0 socket 0
  ep1 at pcmcia0 function 0 3Com Corporation, 3C589D, TP/BNC LAN Card
Ver. 2a
  port 0x340/16, irq 9: address 00:60:97:cd:e8:e7, utp/aui/bnu (default
utp)
  pcmcia1 at pcic0 controller 0 socket 1
  pcic0: irq 11, polling enabled
  biomask e145 netmask e345 ttymask fbdf
  softraid0 at root
  kernel: integer divide fault trap, code=0
  Stopped at cpu_switchto+0x76: B  B  B popl B  B %ebx
  ddb_
 
  While trying boot /bsd.rd succeeded:
 

Re: How to correctly run a short SMART self test and retrieve results

2009-11-16 Thread Mark Hellewell
On 16/11/2009, at 3:36 AM, Denise H. G. wrote:

 On 2009/11/15 at 13:29, Mark Hellewell mark.hellew...@gmail.com wrote:
 
 Hello,
 Please can anybody tell me how to correctly run a SMART offline test
 using
 atactl? I read through the atactl man page but am not sure how to go
 about
 actually executing the self test and gathering the results. After having
 turned on SMART support for my device using
 
 Hi
 
 How about the smartmontools in the port?

Well when you say it like that you make it sound obvious!

thankyou,
mark

 -- 
 (dhg) darcsis |aT| gmail |DoT| COM



IBM Lenovo AMD Athlon X2 64 Kernel Panic on 4.6 i386

2009-11-16 Thread David S.
Hello there,

unfortunately my newly acquired Lenovo Desktop, Model Number A5790R
will Kernel Panic before during boot. The install of i386 4.6 itself
goes fine. I tried to boot with acpi disabled, to no avail. Also i
played around with various settings in the BIOS pertaining to certain
CPU Features and S-ATA Features, like EHCI, Compatible, Legacy IDE,
etc, all no help.

Please find attached the output of my Serial Console Session which
shows the Kernel Panic output, ps and trace. I could not run trace on
the other CPU, as issuing a machdep 1 hangs the Machine completely.

In case someone can help me out, id be very grateful. Also, please
snip out all the below output in replies so it looks nicer in the
thread :-)

Thanks and best regards,
David S.


--- Boot until Panic ---

puffy'root(~) cu -l /dev/ttyU0
Connected
 OpenBSD/i386 BOOT 3.02
boot
booting hd0a:/bsd: 6580384+1052388 [52+346896+329152]=0x7ec9fc
entry point at 0x200120

[ using 676472 bytes of bsd ELF symbol table ]
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California.  All rights reserved.
Copyright (c) 1995-2009 OpenBSD. All rights reserved.
http://www.OpenBSD.org

OpenBSD 4.6 (GENERIC.MP) #89: Thu Jul  9 21:32:39 MDT 2009
dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP
cpu0: AMD Athlon(tm) 64 X2 Dual Core Processor 5200+
(AuthenticAMD 686-class, 512KB L2 cache) 2.71 GHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
H,MMX,FXSR,SSE,SSE2,HTT,SSE3,CX16

real mem  = 2113236992 (2015MB)
avail mem = 2034524160 (1940MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 04/28/09, BIOS32 rev. 0 @
0xf0010, SMBIOS rev. 2.5 @ 0xfd310 (26 entries)
bios0: vendor LENOVO version 2UKT67AUS date 04/28/2009
bios0: LENOVO YangTianA5790R
acpi0 at bios0: rev 2
acpi0: tables DSDT FACP APIC MCFG CCKC OEMB HPET SSDT
acpi0: wakeup devices PCE2(S4) PCE3(S4) PCE4(S4) PCE5(S4)
PCE6(S4) PCE7(S4) SBAZ(S4) PS2K(S3) PS2M(S3) P0PC(S4) AC97(S4)
MC97(S4) USB1(S4) USB2(S4) USB3(S4) USB4(S4) USB5(S4) EUSB(S4)
PWRB(S3)
acpitimer0 at acpi0: 3579545 Hz, 32 bits
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: apic clock running at 200MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: AMD Athlon(tm) 64 X2 Dual Core Processor 5200+
(AuthenticAMD 686-class, 512KB L2 cache) 2.71 GHz
cpu1:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
H,MMX,FXSR,SSE,SSE2,HTT,SSE3,CX16
ioapic0 at mainbus0: apid 2 pa 0xfec0, version 21, 24 pins
acpihpet0 at acpi0: 14318180 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 1 (P0P1)
acpiprt2 at acpi0: bus -1 (PCE2)
acpiprt3 at acpi0: bus -1 (PCE3)
acpiprt4 at acpi0: bus -1 (PCE4)
acpiprt5 at acpi0: bus -1 (PCE5)
acpiprt6 at acpi0: bus -1 (PCE6)
acpiprt7 at acpi0: bus -1 (PCE7)
acpiprt8 at acpi0: bus 2 (P0PC)
acpicpu0 at acpi0: PSS
acpicpu1 at acpi0: PSS
acpibtn0 at acpi0: PWRB
bios0: ROM list: 0xc/0xd600
cpu0: PowerNow! K8 2701 MHz: speeds: 2700 2600 2400 2200 2000 1800 
1000
MHz
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 ATI RS690 Host rev 0x00
ppb0 at pci0 dev 1 function 0 ATI RS690 PCIE rev 0x00
pci1 at ppb0 bus 1
vga1 at pci1 dev 5 function 0 ATI Radeon X1250 rev 0x00
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
ahci0 at pci0 dev 18 function 0 ATI SB600 SATA rev 0x00: apic 2
int 22 (irq 0), AHCI 1.1
scsibus0 at ahci0: 32 targets
sd0 at scsibus0 targ 0 lun 0: ATA, ST3320418AS, CC65 SCSI3 
0/direct
fixed
sd0: 305245MB, 512 bytes/sec, 625142448 sec total
panic: kernel diagnostic assertion ccb-ccb_xa.state ==
ATA_S_ONCHIP failed: file ../../../../dev/pci/ahci.c, line 1810
Stopped at  Debugger+0x4:   leave
Debugger(0,3f8,d09ee968,d2bb3000,0) at Debugger+0x4
panic(d071a540,d06d82e2,d06ef4a0,d076a49c,712) at panic+0x55
tablefull(d06d82e2,d076a49c,712,d06ef4a0,d084af00) at tablefull
ahci_port_intr(d2baa000,,d09eea18,de195280,d2b9a600) at
ahci_port_intr0x1f2
ahci_poll(d2bb307c,2710,d04e750c,d2bb30ac,28) at ahci_poll+0x33
ahci_ata_cmd(d2bb307c,2,0,d09eea48,d02032a1) at ahci_ata_cmd+0x85
ata_exec(d2b9a500,d2bb307c,6,d2baa038,451) at ata_exec+0x17

Re: IBM Lenovo AMD Athlon X2 64 Kernel Panic on 4.6 i386

2009-11-16 Thread Jonathan Gray
On Mon, Nov 16, 2009 at 08:31:59PM +0800, David S. wrote:
 Hello there,
 
 unfortunately my newly acquired Lenovo Desktop, Model Number A5790R
 will Kernel Panic before during boot. The install of i386 4.6 itself
 goes fine. I tried to boot with acpi disabled, to no avail. Also i
 played around with various settings in the BIOS pertaining to certain
 CPU Features and S-ATA Features, like EHCI, Compatible, Legacy IDE,
 etc, all no help.
 
 Please find attached the output of my Serial Console Session which
 shows the Kernel Panic output, ps and trace. I could not run trace on
 the other CPU, as issuing a machdep 1 hangs the Machine completely.
 
 In case someone can help me out, id be very grateful. Also, please
 snip out all the below output in replies so it looks nicer in the
 thread :-)
 
 Thanks and best regards,
 David S.

There is some kind of problem with SB600 ahci and SATA optical drives.
For now if you can try change the mode of the optical drive from ahci
to ide via the bios or disconnect the optical drive things should work.



Re: IBM Lenovo AMD Athlon X2 64 Kernel Panic on 4.6 i386

2009-11-16 Thread David S.
On Mon, Nov 16, 2009 at 8:49 PM, Jonathan Gray j...@goblin.cx wrote:
 On Mon, Nov 16, 2009 at 08:31:59PM +0800, David S. wrote:
 Hello there,

 unfortunately my newly acquired Lenovo Desktop, Model Number A5790R
 will Kernel Panic before during boot. The install of i386 4.6 itself
 goes fine. I tried to boot with acpi disabled, to no avail. Also i
 played around with various settings in the BIOS pertaining to certain
 CPU Features and S-ATA Features, like EHCI, Compatible, Legacy IDE,
 etc, all no help.

 Please find attached the output of my Serial Console Session which
 shows the Kernel Panic output, ps and trace. I could not run trace on
 the other CPU, as issuing a machdep 1 hangs the Machine completely.

 In case someone can help me out, id be very grateful. Also, please
 snip out all the below output in replies so it looks nicer in the
 thread :-)

 Thanks and best regards,
 David S.

 There is some kind of problem with SB600 ahci and SATA optical drives.
 For now if you can try change the mode of the optical drive from ahci
 to ide via the bios or disconnect the optical drive things should work.


Indeed,after trying many a things disconnecting the S-ATA CD-ROM made
it boot up correctly. *headdesk*

Many thanks and best regards,
David S.



Re: IBM Lenovo AMD Athlon X2 64 Kernel Panic on 4.6 i386

2009-11-16 Thread Vijay Sankar

David S. wrote:

Hello there,

unfortunately my newly acquired Lenovo Desktop, Model Number A5790R
will Kernel Panic before during boot. The install of i386 4.6 itself
goes fine. I tried to boot with acpi disabled, to no avail. Also i
played around with various settings in the BIOS pertaining to certain
CPU Features and S-ATA Features, like EHCI, Compatible, Legacy IDE,
etc, all no help.

Please find attached the output of my Serial Console Session which
shows the Kernel Panic output, ps and trace. I could not run trace on
the other CPU, as issuing a machdep 1 hangs the Machine completely.

In case someone can help me out, id be very grateful. Also, please
snip out all the below output in replies so it looks nicer in the
thread :-)




Hi,

I had a similar issue on the following motherboard

server9# dmesg | grep SATA
ahci0 at pci0 dev 18 function 0 ATI SB600 SATA rev 0x00: apic 2 int 22 
(irq 11), AHCI 1.1


The solution that worked for me was to just leave a data CD in the 
CD-ROM drive. Have not had any problems after that plus this way I was 
able to install 4.4, 4.5, and 4.6 on this box without having to connect 
and disconnect the CD-ROM drive.


In the misc@ archives there are some messages about this as well.

Vijay

--
Vijay Sankar, M.Eng., P.Eng.
ForeTell Technologies Limited
59 Flamingo Avenue, Winnipeg, MB, Canada R3J 0X6
Phone: (204) 885-9535, E-Mail: vsan...@foretell.ca



Re: How to correctly run a short SMART self test and retrieve results

2009-11-16 Thread Marco Peereboom
On Mon, Nov 16, 2009 at 11:41:38PM +1100, Mark Hellewell wrote:
 On 16/11/2009, at 3:13 AM, Marco Peereboom wrote:
 
  # scsi -f /dev/rsd0c -c 03 00 00 00 fc 00 00 -i 0xfc - | hexdump -C
    70 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
 |p...|
  0010  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
 ||
  *
  00f0  00 00 00 00 00 00 00 00  00 00 00 00 ||
  00fc
 
  byte 0  has to be 0x70 or 0x71
  byte 7  has to be = 10
 
 But what if it's 0?

then your drive isn't replying correctly.

 
  byte 12 is 0x5d if you have a smart trip
 
 Do you know if that's the same as running a `atactl sd0c smartstatus`?  That
 simply returns:
 
 No SMART threshold exceeded

look at that! almost useful if it wasn't surrounded by all that other
language that is irrelevant.

 
 on my (hopefully clean) drive - the 12th byte is not 0x5d,  at least.
 
  this drive is clean!
 
  Figuring out the -i format is left as an exercise for the reader.
 
 No worries
 
  Reading the smartlogs is worthles since you have no idea what bad means
  for that drive.  Only the vendors know that.  So if byte 12 is set to
  0x5d toss the damn drive.
 
  krw || dlg, you get a cookie if you add this as a boot time command :-)
 
 
 Is it that reliable an indicator that the drive is about to go south?

No but that wasn't what you asked.

 
 Mark



Re: IBM Lenovo AMD Athlon X2 64 Kernel Panic on 4.6 i386

2009-11-16 Thread Marco Peereboom
These desktops seem very problematic.  I know of people that have
abandoned it altogether.

On Mon, Nov 16, 2009 at 08:31:59PM +0800, David S. wrote:
 Hello there,

 unfortunately my newly acquired Lenovo Desktop, Model Number A5790R
 will Kernel Panic before during boot. The install of i386 4.6 itself
 goes fine. I tried to boot with acpi disabled, to no avail. Also i
 played around with various settings in the BIOS pertaining to certain
 CPU Features and S-ATA Features, like EHCI, Compatible, Legacy IDE,
 etc, all no help.

 Please find attached the output of my Serial Console Session which
 shows the Kernel Panic output, ps and trace. I could not run trace on
 the other CPU, as issuing a machdep 1 hangs the Machine completely.

 In case someone can help me out, id be very grateful. Also, please
 snip out all the below output in replies so it looks nicer in the
 thread :-)

 Thanks and best regards,
 David S.


 --- Boot until Panic ---

 puffy'root(~) cu -l /dev/ttyU0
 Connected
  OpenBSD/i386 BOOT 3.02
 boot
 booting hd0a:/bsd: 6580384+1052388 [52+346896+329152]=0x7ec9fc
 entry point at 0x200120

 [ using 676472 bytes of bsd ELF symbol table ]
 Copyright (c) 1982, 1986, 1989, 1991, 1993
 The Regents of the University of California.  All rights reserved.
   Copyright (c) 1995-2009 OpenBSD. All rights reserved.
 http://www.OpenBSD.org

   OpenBSD 4.6 (GENERIC.MP) #89: Thu Jul  9 21:32:39 MDT 2009
   dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP
   cpu0: AMD Athlon(tm) 64 X2 Dual Core Processor 5200+
 (AuthenticAMD 686-class, 512KB L2 cache) 2.71 GHz
   cpu0:

FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
 H,MMX,FXSR,SSE,SSE2,HTT,SSE3,CX16

   real mem  = 2113236992 (2015MB)
   avail mem = 2034524160 (1940MB)
   mainbus0 at root
   bios0 at mainbus0: AT/286+ BIOS, date 04/28/09, BIOS32 rev. 0 @
 0xf0010, SMBIOS rev. 2.5 @ 0xfd310 (26 entries)
   bios0: vendor LENOVO version 2UKT67AUS date 04/28/2009
   bios0: LENOVO YangTianA5790R
   acpi0 at bios0: rev 2
   acpi0: tables DSDT FACP APIC MCFG CCKC OEMB HPET SSDT
   acpi0: wakeup devices PCE2(S4) PCE3(S4) PCE4(S4) PCE5(S4)
 PCE6(S4) PCE7(S4) SBAZ(S4) PS2K(S3) PS2M(S3) P0PC(S4) AC97(S4)
 MC97(S4) USB1(S4) USB2(S4) USB3(S4) USB4(S4) USB5(S4) EUSB(S4)
 PWRB(S3)
   acpitimer0 at acpi0: 3579545 Hz, 32 bits
   acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
   cpu0 at mainbus0: apid 0 (boot processor)
   cpu0: apic clock running at 200MHz
   cpu1 at mainbus0: apid 1 (application processor)
   cpu1: AMD Athlon(tm) 64 X2 Dual Core Processor 5200+
 (AuthenticAMD 686-class, 512KB L2 cache) 2.71 GHz
   cpu1:

FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
 H,MMX,FXSR,SSE,SSE2,HTT,SSE3,CX16
   ioapic0 at mainbus0: apid 2 pa 0xfec0, version 21, 24 pins
   acpihpet0 at acpi0: 14318180 Hz
   acpiprt0 at acpi0: bus 0 (PCI0)
   acpiprt1 at acpi0: bus 1 (P0P1)
   acpiprt2 at acpi0: bus -1 (PCE2)
   acpiprt3 at acpi0: bus -1 (PCE3)
   acpiprt4 at acpi0: bus -1 (PCE4)
   acpiprt5 at acpi0: bus -1 (PCE5)
   acpiprt6 at acpi0: bus -1 (PCE6)
   acpiprt7 at acpi0: bus -1 (PCE7)
   acpiprt8 at acpi0: bus 2 (P0PC)
   acpicpu0 at acpi0: PSS
   acpicpu1 at acpi0: PSS
   acpibtn0 at acpi0: PWRB
   bios0: ROM list: 0xc/0xd600
   cpu0: PowerNow! K8 2701 MHz: speeds: 2700 2600 2400 2200 2000 1800
1000
 MHz
   pci0 at mainbus0 bus 0: configuration mode 1 (bios)
   pchb0 at pci0 dev 0 function 0 ATI RS690 Host rev 0x00
   ppb0 at pci0 dev 1 function 0 ATI RS690 PCIE rev 0x00
   pci1 at ppb0 bus 1
   vga1 at pci1 dev 5 function 0 ATI Radeon X1250 rev 0x00
   wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
   wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
   ahci0 at pci0 dev 18 function 0 ATI SB600 SATA rev 0x00: apic 2
 int 22 (irq 0), AHCI 1.1
   scsibus0 at ahci0: 32 targets
   sd0 at scsibus0 targ 0 lun 0: ATA, ST3320418AS, CC65 SCSI3 
 0/direct
 fixed
   sd0: 305245MB, 512 bytes/sec, 625142448 sec total
   panic: kernel diagnostic assertion ccb-ccb_xa.state ==
 ATA_S_ONCHIP failed: file ../../../../dev/pci/ahci.c, line 1810
   Stopped at  Debugger+0x4:   leave
   Debugger(0,3f8,d09ee968,d2bb3000,0) at Debugger+0x4
   panic(d071a540,d06d82e2,d06ef4a0,d076a49c,712) at panic+0x55
   tablefull(d06d82e2,d076a49c,712,d06ef4a0,d084af00) at tablefull
   ahci_port_intr(d2baa000,,d09eea18,de195280,d2b9a600) at
 ahci_port_intr0x1f2
   ahci_poll(d2bb307c,2710,d04e750c,d2bb30ac,28) at ahci_poll+0x33
   

Re: IBM Lenovo AMD Athlon X2 64 Kernel Panic on 4.6 i386

2009-11-16 Thread David S.
On Mon, Nov 16, 2009 at 9:45 PM, Marco Peereboom sl...@peereboom.us wrote:
 These desktops seem very problematic.  I know of people that have
 abandoned it altogether.

 On Mon, Nov 16, 2009 at 08:31:59PM +0800, David S. wrote:
 Hello there,

 unfortunately my newly acquired Lenovo Desktop, Model Number A5790R
 will Kernel Panic before during boot. The install of i386 4.6 itself
 goes fine. I tried to boot with acpi disabled, to no avail. Also i
 played around with various settings in the BIOS pertaining to certain
 CPU Features and S-ATA Features, like EHCI, Compatible, Legacy IDE,
 etc, all no help.

 Please find attached the output of my Serial Console Session which
 shows the Kernel Panic output, ps and trace. I could not run trace on
 the other CPU, as issuing a machdep 1 hangs the Machine completely.

 In case someone can help me out, id be very grateful. Also, please
 snip out all the below output in replies so it looks nicer in the
 thread :-)

 Thanks and best regards,
 David S.


 --- Boot until Panic ---
 snip
 --- END of Mail



It seems they really have some issues, but hopefully someone takes
heart and fixes / improves them :-) In the past, i have had great
success with OpenBSD  IBM / Lenovo, especially of course on Laptops
eg. Thinkpads. I have another one of these Desktops, same Brand -
slightly older model, which throws a different error, but also panics
on boot. Will document it tomorrow



Re: IBM Lenovo AMD Athlon X2 64 Kernel Panic on 4.6 i386

2009-11-16 Thread Marco Peereboom
It is all NVIDIA so good luck finding any docs or a person that cares.

Do yourself a favor and send it back and buy something that sucks less.

On Mon, Nov 16, 2009 at 10:13:47PM +0800, David S. wrote:
 On Mon, Nov 16, 2009 at 9:45 PM, Marco Peereboom sl...@peereboom.us wrote:
  These desktops seem very problematic.  I know of people that have
  abandoned it altogether.
 
  On Mon, Nov 16, 2009 at 08:31:59PM +0800, David S. wrote:
  Hello there,
 
  unfortunately my newly acquired Lenovo Desktop, Model Number A5790R
  will Kernel Panic before during boot. The install of i386 4.6 itself
  goes fine. I tried to boot with acpi disabled, to no avail. Also i
  played around with various settings in the BIOS pertaining to certain
  CPU Features and S-ATA Features, like EHCI, Compatible, Legacy IDE,
  etc, all no help.
 
  Please find attached the output of my Serial Console Session which
  shows the Kernel Panic output, ps and trace. I could not run trace on
  the other CPU, as issuing a machdep 1 hangs the Machine completely.
 
  In case someone can help me out, id be very grateful. Also, please
  snip out all the below output in replies so it looks nicer in the
  thread :-)
 
  Thanks and best regards,
  David S.
 
 
  --- Boot until Panic ---
  snip
  --- END of Mail
 
 
 
 It seems they really have some issues, but hopefully someone takes
 heart and fixes / improves them :-) In the past, i have had great
 success with OpenBSD  IBM / Lenovo, especially of course on Laptops
 eg. Thinkpads. I have another one of these Desktops, same Brand -
 slightly older model, which throws a different error, but also panics
 on boot. Will document it tomorrow



Re: Documentation suggestion

2009-11-16 Thread Donald Allen
On Mon, Nov 16, 2009 at 12:21 AM, Donald Allen donaldcal...@gmail.com
wrote:
 I'm running 4.6 stable on 5 systems, 3 of them with multiple
 processors (amd64). On one of the multiprocessor systems,  I just
 noticed (from the output of 'top') that the stable kernel I'd built
 for it was not a multiprocessor kernel.

 The documentation on building a stable kernel on

 http://openbsd.org/stable.html

 says

 To rebuild the default kernel from stable:

# cd /usr/src/sys/arch/i386/conf
# /usr/sbin/config GENERIC
# cd /usr/src/sys/arch/i386/compile/GENERIC
# make clean  make depend  make

 Replace i386 with your architecture, e.g. sparc, alpha, etc. 

 It says nothing about replacing GENERIC with GENERIC.MP, which I just
 learned was necessary with a bit of detective work.

 I'd suggest adding something like and GENERIC with GENERIC.MP to
 build a multiprocessor kernel to the last sentence in the
 documentation above.

 A similar addition is needed in the Rebooting with the new kernel
section.

A private email I received this morning in response to this suggests
that perhaps I wasn't clear enough. I am not suggesting that this
isn't documented *anywhere*. It is. My point is simply that whether
you are building a multiprocessor kernel or not is nearly as
fundamental as the architecture and I think that how to do it ought to
be right up front on the Following -stable page. Furthermore, the
section at issue begins by saying To rebuild the *default* kernel
... (emphasis mine), which on a multiprocessor machine is GENERIC.MP
after installation. If you follow these kernel-building instructions
literally, you do not get the default kernel on a multiprocessor
system. And the fix is pretty cheap -- a few more words.

/Don Allen



OpenBSD.org site man pages off-line

2009-11-16 Thread Scott Vanderbilt
In case no one else has noticed yet, requests to the Manuals link on the 
home page:


   http://www.openbsd.org/cgi-bin/man.cgi

return a 404.



art(4): seeking new and used cards

2009-11-16 Thread Toni Mueller
Hi,

if someone has to sell known-good Accom cards, I'm very much interested
in purchasing some.

Please contact me off-list.

TIA!

-- 
Kind regards,
--Toni++



Why carp interface uses also the physical MAC address?

2009-11-16 Thread Paolo Di Francesco
Dear All,

I am having a doubt about the following scenario. We have two bgp
routers, arp-balanced with carp. Both routers are running bgpd and
everything looks nice. But I see that there is some problem (?) and I
don't know how to solve this.
The problem is that we are obviously balancing the two bgp routers with
carp but if I lock the switch with the virtual MAC address of the carp
interface, it stops working. This is because the router when receives
the traffic, answers to the virtual MAC address BUT when it sends the
traffic it uses the physical MAC address. (or something like that but
the fact is that it uses both MACs)
So I MUST use two MACs on the switch in order to make the system work.
Unfortunately in some scenarios this is not acceptable due to the policy
(one port, one fixed MAC)

So I would like to know if there is any parameter to force the router to
use ALWAYS the virtual MAC address (the carp MAC address).

I am not sure if this is a feature or a bug, but I googled around with
no success in order to make it work as I want.

Any help is appreciated.

Thanks in advance

-- 

Ciao Ciao

_
  -B-   All Recycled Bytes Message ...
~



Re: OpenBSD.org site man pages off-line

2009-11-16 Thread Steve Shockley

On 11/16/2009 11:33 AM, Scott Vanderbilt wrote:

In case no one else has noticed yet, requests to the Manuals link on the
home page:
http://www.openbsd.org/cgi-bin/man.cgi
return a 404.


It appears it may be unscheduled maintenance:
http://marc.info/?t=12583008562



help please, my real memory is disappearing

2009-11-16 Thread MK

Hello,

maybe you still recall about problem with ftpd memory allocation I posted 
here few days before. Since then I tried to do more research and found 
same issue on two different HW boxes both with OpenBSD 4.5 and OpenBSD 4.6.
To summarize it, I found that built-in ftpd server takes too much memory 
while clients are downloading files and this memory is not freed neither 
when downloads are finished nor when I kill ftpd. What's more, top, ps, 
vmstat does not show by which process is memory allocated. All I can see 
during ftp downloads initiated by clients it's just decreasing free memory 
and increasing allocated memory from top command output. After few minutes 
of downloading I lost about 800MB real memory. Allocated memory shown by top 
command is a part of real memory behind the /. This should be something 
like allocated memory which is not currently used if I'm not mistaken.


Although I'm not sure if this could be intentional behavior I have three 
main questions:


1. Is it normal that memory is not freed after I kill ftpd daemon?
2. Is it normal ftpd can take about 800MB of real memory while serving GET 
requests? (only 1 client is able to consume that portion of memory)
3. Is it normal that this memory seems to be lost from the system? It's not 
visible as allocated by some process.


Thank you for your help.
MK 



Whitfield Diffie hearts OpenBSD for security

2009-11-16 Thread Jonathan Thornburg
MIT's Technology Review has an interview with Whitfield Diffie
(the Diffie of Diffie-Hellman key exchange, among many other important
cryptographic discoveries),
  http://www.technologyreview.com/computing/23951/
  http://www.technologyreview.com/computing/23951/page2/

On page 2 of the interview, he's describing near-term measures to improve
the security of cloud computing:
  Much of this would result from care on the part of cloud computing
  providers--choosing more secure operating systems such as Open BSD
  and Solaris--and keeping those systems carefully configured.

ciao,

-- 
-- Jonathan Thornburg [remove -animal to reply] 
jth...@astro.indiana-zebra.edu
   Dept of Astronomy, Indiana University, Bloomington, Indiana, USA
   C++ is to programming as sex is to reproduction. Better ways might
technically exist but they're not nearly as much fun. -- Nikolai Irgens



Spanish language resources for OpenBSD

2009-11-16 Thread Chris Bennett
I am now going to be setting up occasionally but regularly OpenBSD 
machines for people who only speak Spanish.


I have already found the language packs for kde, openoffice, firefox and 
thunderbird.


I just accidentally figured out that that www.openbsd.org has a couple a 
pages in Spanish, but no links to them from site that I could find.


Is there anyone actively maintaining Spanish translations? Most of what 
I found was several releases old or even older.


Is there a particular site that has got it all?


I also saw a while back on ports that scrotwm was adding man pages in 
some additional languages, but I don't see any signs of that. Was that 
just for non-OpenBSD versions?


Thanks,
Chris Bennett

--
A human being should be able to change a diaper, plan an invasion,
butcher a hog, conn a ship, design a building, write a sonnet, balance
accounts, build a wall, set a bone, comfort the dying, take orders,
give orders, cooperate, act alone, solve equations, analyze a new
problem, pitch manure, program a computer, cook a tasty meal, fight
efficiently, die gallantly. Specialization is for insects.
  -- Robert Heinlein



CVS problems OpenBSD 4.5

2009-11-16 Thread Alvaro Mantilla Gimenez
Hi,

 Today I was trying to update my /usr/src files (as usual) and I got
this errors:

 1) with cvsroot=anon...@anga.funkfeuer.at:/cvs

 # cvs -d$CVSROOT up -rOPENBSD_4_5 -Pd
ssh_exchange_identification: Connection closed by remote host
cvs [update aborted]: end of file from server (consult above messages if
any)

 2) with cvsroot=anon...@anoncvs.de.openbsd.org:/cvs

 The authenticity of host 'anoncvs.de.openbsd.org (131.188.40.91)' can't
be established.
RSA key fingerprint is bc:8e:dd:84:2d:6a:ed:6d:33:e7:46:d9:83:00:1b:ff.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'anoncvs.de.openbsd.org,131.188.40.91' (RSA)
to the list of known hosts.
anon...@anoncvs.de.openbsd.org's password:


 Anybody else noticed this?


 Regards,

  Alvaro



question on re via cardbus/pcmcia interface

2009-11-16 Thread spamtester spamtester
question on re via cardbus/pcmcia interface.

On linux a re card combined with a 3com (xl), can route 94mb/s (both ways,
according to iperf).
On openbsd/freebsd the system can only route at 20-40mb/s max (again,
according to iperf).

This was running openbsd 4.6.
The system is a dell inspiron laptop and uses apm.


(03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8169
Gigabit Ethernet (rev 10) , 02:01.0 Ethernet controller: 3Com Corporation
3c905C-TX/TX-M [Tornado] (rev 78) )

Is this expected  behaviour ? ( i would hope that openbsd/freebsd could get
the same speeds as linux on this hardware, although i do acknowledge that
the re card is a considered to not perform well. )


pf config:


##macros
ext_if=re0
int_if=xl0
tcp_services={ 22, 443 }
icmp_types=echoreq
#options
set block-policy drop
set loginterface $ext_if
set skip on lo

match out on $ext_if nat-to ($ext_if)

#filter rules
block in

pass out on $ext_if proto {tcp udp icmp } all modulate state
pass in inet proto icmp all icmp-type $icmp_types keep state
pass in quick on $int_if
# By default, do not permit remote connections to X11
block in on ! lo0 proto tcp to port 6000:6010



Re: help please, my real memory is disappearing

2009-11-16 Thread spamtester spamtester
try vsftpd.



Re: help please, my real memory is disappearing

2009-11-16 Thread richardtoohey
Quoting MK pub...@kubikcz.net:

 Hello,
 
 maybe you still recall about problem with ftpd memory allocation I
 posted 
 here few days before. Since then I tried to do more research and found
 
 same issue on two different HW boxes both with OpenBSD 4.5 and OpenBSD
 4.6.
 To summarize it, I found that built-in ftpd server takes too much memory
 
 while clients are downloading files and this memory is not freed neither
 
 when downloads are finished nor when I kill ftpd. What's more, top, ps,
 
 vmstat does not show by which process is memory allocated. All I can see
 
 during ftp downloads initiated by clients it's just decreasing free
 memory 
 and increasing allocated memory from top command output. After few
 minutes 
 of downloading I lost about 800MB real memory. Allocated memory shown by
 top 
 command is a part of real memory behind the /. This should be
 something 
 like allocated memory which is not currently used if I'm not mistaken.
 
 Although I'm not sure if this could be intentional behavior I have three
 
 main questions:
 
 1. Is it normal that memory is not freed after I kill ftpd daemon?
 2. Is it normal ftpd can take about 800MB of real memory while serving
 GET 
 requests? (only 1 client is able to consume that portion of memory)
 3. Is it normal that this memory seems to be lost from the system? It's
 not 
 visible as allocated by some process.
 
 Thank you for your help.
 MK 
 
  

I cannot reproduce here - artificial tests on a box running as a desktop, so
take the figures with a pinch of salt; but if there was an issue with the stock
ftpd I'd expect to see something?  i386 4.6 with errata patches.

# /usr/libexec/ftpd -D
# ftp localhost

Memory: Real: 272M/661M act/tot  Free: 1338M  Swap: 0K/251M used/tot

Get 459Mb file
1/2 way Memory: Real: 273M/667M act/tot  Free: 1332M  Swap: 0K/251M used/tot
DoneMemory: Real: 273M/659M act/tot  Free: 1340M  Swap: 0K/251M used/tot

150 Opening BINARY mode data connection for '32r2741.iso' (481689600 bytes).
100%
|***|
  459 MB01:08
226 Transfer complete.
200 NOOP command successful.
481689600 bytes received in 68.57 seconds (6.70 MB/s)

Get it again ...

1/2 way Memory: Real: 273M/667M act/tot  Free: 1332M  Swap: 0K/251M used/tot
DoneMemory: Real: 273M/667M act/tot  Free: 1332M  Swap: 0K/251M used/tot

And again ...

70% Memory: Real: 273M/659M act/tot  Free: 1340M  Swap: 0K/251M used/tot
DoneMemory: Real: 273M/663M act/tot  Free: 1336M  Swap: 0K/251M used/tot

And again ...

1/2 way Memory: Real: 273M/667M act/tot  Free: 1332M  Swap: 0K/251M used/tot
DoneMemory: Real: 273M/662M act/tot  Free: 1337M  Swap: 0K/251M used/tot

Fifth time, this time with 2 clients getting the same file ...

Before  Memory: Real: 275M/667M act/tot  Free: 1332M  Swap: 0K/251M used/tot
1/2 way Memory: Real: 274M/666M act/tot  Free: 1333M  Swap: 0K/251M used/tot
70% Memory: Real: 274M/667M act/tot  Free: 1332M  Swap: 0K/251M used/tot
DoneMemory: Real: 273M/662M act/tot  Free: 1337M  Swap: 0K/251M used/tot

At the half-way mark ...

  PID USERNAME PRI NICE  SIZE   RES STATE WAIT  TIMECPU COMMAND

23507   -50  620K  972K sleep biowait   0:09  0.93% ftpd
15892 root   20 1244K  848K sleep netio 0:06  0.63% ftp
23158    20 1236K  828K sleep netio 0:00  0.49% ftp
23359  -140  620K  944K sleep inode 0:00  0.44% ftpd

Quit both ftp clients ...

Memory: Real: 273M/662M act/tot  Free: 1337M  Swap: 0K/251M used/tot

# ps waux | grep ftpd
root  6424  0.0  0.0   568   836 ??  Is 3:49PM0:00.00
/usr/libexec/ftpd -D
root  4008  0.0  0.0   444   804 p1  S+ 4:04PM0:00.00 grep ftpd

# kill 6424

# ps waux | grep ftpd
root 32390  0.0  0.0   484 4 p1  R+ 4:05PM0:00.00 grep ftpd 
(ksh)

Memory: Real: 271M/662M act/tot  Free: 1337M  Swap: 0K/251M used/tot

HTH.



hardware

2009-11-16 Thread igor denisov

Hello there,

I always have problems with zywall p1, and decided to install openbsd OS 
to it, and have no idea how, for now this is not the case. I would like 
to know if the OS runs on the following hardware:



Platform  Frequency
Intel IXP422 @266 MHz

Flash
8MB (Intel TE28F640)

RAM
32MB (2 x Winbond W981216DH-75)
--
igor denisov.



Re: hardware

2009-11-16 Thread Aaron Mason
On Tue, Nov 17, 2009 at 2:21 PM, igor denisov
denisovigor1...@rambler.ru wrote:
 Hello there,

 I always have problems with zywall p1, and decided to install openbsd OS to
 it, and have no idea how, for now this is not the case. I would like to know
 if the OS runs on the following hardware:


 Platform  Frequency
 Intel IXP422 @266 MHz

 Flash
 8MB (Intel TE28F640)

 RAM
 32MB (2 x Winbond W981216DH-75)
 --
 igor denisov.



It could be possible, since the processor is based on the ARM
architecture.  You might have some trouble fitting OpenBSD into 8mb of
flash, though.

My $0.02.

-- 
Aaron Mason - Programmer, open source addict
I've taken my software vows - for beta or for worse



money

2009-11-16 Thread kate
Watch this video

Money and Tough Times



Re: hardware

2009-11-16 Thread James Records
kinda along the same lines, but I was wondering if anyone had ever got
armish to boot in qemu-system-arm?

google hasn't turned up anything useful as of yet.

J

On Mon, Nov 16, 2009 at 8:25 PM, Aaron Mason simplersolut...@gmail.comwrote:

 On Tue, Nov 17, 2009 at 2:21 PM, igor denisov
 denisovigor1...@rambler.ru wrote:
  Hello there,
 
  I always have problems with zywall p1, and decided to install openbsd OS
 to
  it, and have no idea how, for now this is not the case. I would like to
 know
  if the OS runs on the following hardware:
 
 
  Platform  Frequency
  Intel IXP422 @266 MHz
 
  Flash
  8MB (Intel TE28F640)
 
  RAM
  32MB (2 x Winbond W981216DH-75)
  --
  igor denisov.
 
 

 It could be possible, since the processor is based on the ARM
 architecture.  You might have some trouble fitting OpenBSD into 8mb of
 flash, though.

 My $0.02.

 --
 Aaron Mason - Programmer, open source addict
 I've taken my software vows - for beta or for worse



Мы выведем Ваш сайт в ТОП - 10 поисковых систем

2009-11-16 Thread ERIKA Judy
o;?P-QQP5P:QP8P2P=PP5 P?PP8QP:PP2PP5 P?QPP4P2P8P6P5P=P8P5 PP0QP5P3P 
QP0P9QP0 P2 Google.com.ua



PPP=QQ - Yandex.ua!







PQ P2QP2P5P4P5P PP0Q QP0P9Q P2 PPP - 10 P?PP8QP:PP2QQ 
QP8QQP5P







PPP8QP:PP2PP5 P?QPP4P2P8P6P5P=P8P5 QP0QP:QQQP:P0 QP0P9QP0 - Q
QP P:PPP?P;P5P:Q PP5Q P4P;Q P?PP4P=QQP8Q P?PP7P8QP8P9 QP0P9QP0 
P2 QP5P7QP;QQP0QP0Q P2QP4P0QP8 P?PP8QP:PP2QQ QP8QQP5P P?P 
PP?QP5P4P5P;P5P=P=QP P7P0P?QPQP0P P?PP;QP7PP2P0QP5P;P5P9.







P'P5P P2QQP5 P?PP7P8QP8Q QP0P9QP0 P2 QP5P7QP;QQP0QP0Q 
P?PP8QP:P0, QP5P P1PP;QQP5 P7P0P8P=QP5QP5QPP2P0P=P=QQ 
P?PQP5QP8QP5P;P5P9!







B P?QPQP5QQP5 QP0P1PQQ PQ P?QPP2PP4P8P:



- QPQQP0P2P;P5P=P8Q QP?P8QP:P0 P?PP8QP:PP2QQ P7P0P?QPQPP2 
QP5PP0P=QP8QP5QP:PP3P QP4QP0



- PP?QP8PP8P7P0QP8Q QP0P9QP0



- QP5P3P8QQQP0QP8Q P2 P:P0QP0P;PP3P0Q



- P7P0P:QP?P:P0 P8 QP0P7PP5Q  P5P=P8P5 QQQP;PP:







www.uptop.com.ua  

_

Bing brings you maps, menus, and reviews organized in one place.

http://www.bing.com/search?q=restaurantsform=MFESRPpubl=WLHMTAGcrea=TEXT_MFESRP_Local_MapsMenu_Resturants_1x1