Re: Libretto 70CT

2014-10-24 Thread Riccardo Mottola

Hi,

Nick Holland wrote:

Really, that's about when 16M became Just Too Little, it has been a long
time.  And...you know, I'm not going to apologize for that. :)

2.7 worked pretty well on 16M RAM, iirc.  By 3.4, I'm pretty sure you
were swapping before you completed a login.

As a labor of love, you could strip a lot of stuff out of the kernel and
see if you could make something that worked, but it really isn't worth it.

Stripping the kernel helps quite a bit.

Granted, I have 32MB of ram on my little OmniBook, but I can almost tare 
to run X11+xterm after I slimmed down the kernel to about half of its size.


http://multixden.blogspot.it/2014/02/tailoring-openbsd-for-old-strange.html

Riccardo



Re: Libretto 70CT

2014-10-24 Thread Sebastian Reitenbach
On Thursday, October 23, 2014 22:59 CEST, Fred open...@crowsons.com wrote: 
 
 Hi Sebastian,
 
 I've just installed -current on my Libretto 70CT - as you can see from 
 the output below it stoped with:
 
 kernel: integer divide fault trap, code=0
 
 Rebooted it and disable it, schsio and softraid and it has now made it 
 to the end of boot - but it has not yet made it to a login prompt.
 
 Last time I tried this I left it running for about a week - and still 
 did not make it to a login prompt.

As I wrote on ports@, my Libretto 60 with 32 MB RAM, and disabled
it and schsio works, slow but, flawlessly. However no X, since ISA cards
are not supported by xorg anymore.

Sebastian
 
 hth
 
 Fred
 
 PS I've CC misc@ for the archives rather than clog up ports@
 
 Script started on Thu Oct 23 21:10:34 2014
 port:fred ~ cu -l /dev/cuaU0
 Connected to /dev/cuaU0 (speed 9600)
   OpenBSD/i386 BOOT 3.26
 boot
 \|/-\|/booting hd0a:/bsd: 
 -\|/-9699132\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\+1067500
  
 [72+403280|/-\|/-\|/-\|/-\|/-\|/-\+397651|/-\|/-\|/-\|/-\|/-\|/-\|]=0xb083b0
 entry point at 0x200120
 
 [ using 801416 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-2014 OpenBSD. All rights reserved. 
 http://www.OpenBSD.org
 
 OpenBSD 5.6-current (GENERIC) #415: Wed Oct 22 11:33:32 MDT 2014
  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  = 16412672 (15MB)
 avail mem = 3915776 (3MB)
 mpath0 at root
 scsibus0 at mpath0: 256 targets
 mainbus0 at root
 bios0 at mainbus0: AT/286+ BIOS, date 11/11/97
 apm0 at bios0: Power Management spec V1.2
 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
 com0: console
 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
 opl at sb0 not configured
 wss0 at isa0 port 0x530/8 irq 10 drq 0: CS4231 or AD1845 (vers 4)
 audio1 at wss0
 pcppi0 at isa0 port 0x61
 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
 xe0 at pcmcia0 function 0 Xircom, CreditCard 10Base-T, PS-CE2-10 port 
 0x340/16, irq 9: address 00:80:c7:42:37:d9
 pcmcia1 at pcic0 controller 0 socket 1
 pcic0: irq 11, polling enabled
 vscsi0 at root
 scsibus1 at vscsi0: 256 targets
 softraid0 at root
 scsibus2 at softraid0: 256 targets
 kernel: integer divide fault trap, code=0
 Stopped at  cpu_switchto+0x64:  popl%ebx
 ddb ps
 PID   PPID   PGRPUID  S   FLAGS  WAIT  COMMAND
   13605  0  0  0  2 0x14200crypto
   21232  0  0  0  2 0x14200pfpurge
   18646  0  0  0  2 0x14200pcic0,0,1
   14390  0  0  0  2 0x14200pcic0,0,0
   28330  0  0  0  2 0x14200apm0
1636  0  0  0  2 0x14200systqmp
   12593  0  0  0  2 0x14200systq
9503  0  0  0  2 0x14200syswq
   25602  0  0  0  1 0x14200idle0
2351  0  0  0  2 0x14200kmthread
 *1  0  0  0  7   0swapper
   0 -1  0  0  3 0x10200  wdccmd

Re: Libretto 70CT

2014-10-24 Thread Mike Larkin
On Thu, Oct 23, 2014 at 10:08:31PM -0400, Nick Holland wrote:
 On 10/23/14 19:17, Fred wrote:
  On 10/23/14 23:30, Mike Larkin wrote:
  On Thu, Oct 23, 2014 at 09:59:04PM +0100, Fred wrote:
  Hi Sebastian,
 
  I've just installed -current on my Libretto 70CT - as you can see
  from the output below it stoped with:
 
  kernel: integer divide fault trap, code=0
 
  Rebooted it and disable it, schsio and softraid and it has now made
  it to the end of boot - but it has not yet made it to a login
  prompt.
 
  Last time I tried this I left it running for about a week - and
  still did not make it to a login prompt.
 
  hth
 
  Fred
 
  PS I've CC misc@ for the archives rather than clog up ports@
 
  Script started on Thu Oct 23 21:10:34 2014
  port:fred ~ cu -l /dev/cuaU0
  Connected to /dev/cuaU0 (speed 9600)
  OpenBSD/i386 BOOT 3.26
  boot
  \|/-\|/booting hd0a:/bsd: 
  -\|/-9699132\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\+1067500
   
  [72+403280|/-\|/-\|/-\|/-\|/-\|/-\+397651|/-\|/-\|/-\|/-\|/-\|/-\|]=0xb083b0
  entry point at 0x200120
 
  [ using 801416 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-2014 OpenBSD. All rights reserved.
  http://www.OpenBSD.org
 
  OpenBSD 5.6-current (GENERIC) #415: Wed Oct 22 11:33:32 MDT 2014
   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  = 16412672 (15MB)
  avail mem = 3915776 (3MB)
 
  For what it's worth, 16MB doesn't appear to be enough anymore.
  qemu with 16MB hangs at the same place as you're reporting, but
  configuring it for 20MB RAM seems to boot ok. It's pretty slow
  but it does work.
 
  -ml
 
  
  Memory is definately an issue on my Libretto 70CT - but I think there 
  might be more to it especially when you go back to 4.4 when if first 
  displayed this issue...
  
  I might consign it to OpenBSD 4.3 :~)
 
 Really, that's about when 16M became Just Too Little, it has been a long
 time.  And...you know, I'm not going to apologize for that. :)
 
 2.7 worked pretty well on 16M RAM, iirc.  By 3.4, I'm pretty sure you
 were swapping before you completed a login.
 
 As a labor of love, you could strip a lot of stuff out of the kernel and
 see if you could make something that worked, but it really isn't worth it.
 
 Nick.
 

It isn't. We will all laugh at you if you change GENERIC/GENERIC.MP and then
post a bug.



Libretto 70CT

2014-10-23 Thread Fred

Hi Sebastian,

I've just installed -current on my Libretto 70CT - as you can see from 
the output below it stoped with:


kernel: integer divide fault trap, code=0

Rebooted it and disable it, schsio and softraid and it has now made it 
to the end of boot - but it has not yet made it to a login prompt.


Last time I tried this I left it running for about a week - and still 
did not make it to a login prompt.


hth

Fred

PS I've CC misc@ for the archives rather than clog up ports@

Script started on Thu Oct 23 21:10:34 2014
port:fred ~ cu -l /dev/cuaU0
Connected to /dev/cuaU0 (speed 9600)
 OpenBSD/i386 BOOT 3.26
boot
\|/-\|/booting hd0a:/bsd: 
-\|/-9699132\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\+1067500 
[72+403280|/-\|/-\|/-\|/-\|/-\|/-\+397651|/-\|/-\|/-\|/-\|/-\|/-\|]=0xb083b0

entry point at 0x200120

[ using 801416 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-2014 OpenBSD. All rights reserved. 
http://www.OpenBSD.org


OpenBSD 5.6-current (GENERIC) #415: Wed Oct 22 11:33:32 MDT 2014
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  = 16412672 (15MB)
avail mem = 3915776 (3MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 11/11/97
apm0 at bios0: Power Management spec V1.2
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
com0: console
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
opl at sb0 not configured
wss0 at isa0 port 0x530/8 irq 10 drq 0: CS4231 or AD1845 (vers 4)
audio1 at wss0
pcppi0 at isa0 port 0x61
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
xe0 at pcmcia0 function 0 Xircom, CreditCard 10Base-T, PS-CE2-10 port 
0x340/16, irq 9: address 00:80:c7:42:37:d9

pcmcia1 at pcic0 controller 0 socket 1
pcic0: irq 11, polling enabled
vscsi0 at root
scsibus1 at vscsi0: 256 targets
softraid0 at root
scsibus2 at softraid0: 256 targets
kernel: integer divide fault trap, code=0
Stopped at  cpu_switchto+0x64:  popl%ebx
ddb ps
   PID   PPID   PGRPUID  S   FLAGS  WAIT  COMMAND
 13605  0  0  0  2 0x14200crypto
 21232  0  0  0  2 0x14200pfpurge
 18646  0  0  0  2 0x14200pcic0,0,1
 14390  0  0  0  2 0x14200pcic0,0,0
 28330  0  0  0  2 0x14200apm0
  1636  0  0  0  2 0x14200systqmp
 12593  0  0  0  2 0x14200systq
  9503  0  0  0  2 0x14200syswq
 25602  0  0  0  1 0x14200idle0
  2351  0  0  0  2 0x14200kmthread
*1  0  0  0  7   0swapper
 0 -1  0  0  3 0x10200  wdccmdswapper
ddb trace
cpu_switchto(d0e91014,d0e91000,d0d0af18,d03bc36c,0) at cpu_switchto+0x64
(null)(102,0,0,0,0) at 0xcdb22063
ddb machine
sysregs acpi
ddb machine sysregs
idtr:   0xf0621fc8/07ff
gdtr:   0xd037f060c000/
ldtr:   0x0018
tr: 0x0070
cr0:0x8001003b
cr2:0x
cr3:0x00faa000
cr4:0x
ddb machie e ne acpi
disasm  showval

Re: Libretto 70CT

2014-10-23 Thread Mike Larkin
On Thu, Oct 23, 2014 at 09:59:04PM +0100, Fred wrote:
 Hi Sebastian,
 
 I've just installed -current on my Libretto 70CT - as you can see
 from the output below it stoped with:
 
 kernel: integer divide fault trap, code=0
 
 Rebooted it and disable it, schsio and softraid and it has now made
 it to the end of boot - but it has not yet made it to a login
 prompt.
 
 Last time I tried this I left it running for about a week - and
 still did not make it to a login prompt.
 
 hth
 
 Fred
 
 PS I've CC misc@ for the archives rather than clog up ports@
 
 Script started on Thu Oct 23 21:10:34 2014
 port:fred ~ cu -l /dev/cuaU0
 Connected to /dev/cuaU0 (speed 9600)
  OpenBSD/i386 BOOT 3.26
 boot
 \|/-\|/booting hd0a:/bsd: 
 -\|/-9699132\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\+1067500
  [72+403280|/-\|/-\|/-\|/-\|/-\|/-\+397651|/-\|/-\|/-\|/-\|/-\|/-\|]=0xb083b0
 entry point at 0x200120
 
 [ using 801416 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-2014 OpenBSD. All rights reserved.
 http://www.OpenBSD.org
 
 OpenBSD 5.6-current (GENERIC) #415: Wed Oct 22 11:33:32 MDT 2014
 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  = 16412672 (15MB)
 avail mem = 3915776 (3MB)

For what it's worth, 16MB doesn't appear to be enough anymore.
qemu with 16MB hangs at the same place as you're reporting, but
configuring it for 20MB RAM seems to boot ok. It's pretty slow
but it does work.

-ml

 mpath0 at root
 scsibus0 at mpath0: 256 targets
 mainbus0 at root
 bios0 at mainbus0: AT/286+ BIOS, date 11/11/97
 apm0 at bios0: Power Management spec V1.2
 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
 com0: console
 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
 opl at sb0 not configured
 wss0 at isa0 port 0x530/8 irq 10 drq 0: CS4231 or AD1845 (vers 4)
 audio1 at wss0
 pcppi0 at isa0 port 0x61
 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
 xe0 at pcmcia0 function 0 Xircom, CreditCard 10Base-T, PS-CE2-10
 port 0x340/16, irq 9: address 00:80:c7:42:37:d9
 pcmcia1 at pcic0 controller 0 socket 1
 pcic0: irq 11, polling enabled
 vscsi0 at root
 scsibus1 at vscsi0: 256 targets
 softraid0 at root
 scsibus2 at softraid0: 256 targets
 kernel: integer divide fault trap, code=0
 Stopped at  cpu_switchto+0x64:  popl%ebx
 ddb ps
PID   PPID   PGRPUID  S   FLAGS  WAIT  COMMAND
  13605  0  0  0  2 0x14200crypto
  21232  0  0  0  2 0x14200pfpurge
  18646  0  0  0  2 0x14200pcic0,0,1
  14390  0  0  0  2 0x14200pcic0,0,0
  28330  0  0  0  2 0x14200apm0
   1636  0  0  0  2 0x14200systqmp
  12593  0  0  0  2 0x14200systq
   9503  0  0  0  2 0x14200syswq
  25602  0  0  0  1 0x14200idle0
   2351  0  0  0  2 0x14200kmthread
 *1  0  0  0  7   0swapper
  0 -1  0  0  3 0x10200  wdccmdswapper
 ddb trace

Re: Libretto 70CT

2014-10-23 Thread Fred

On 10/23/14 23:30, Mike Larkin wrote:

On Thu, Oct 23, 2014 at 09:59:04PM +0100, Fred wrote:

Hi Sebastian,

I've just installed -current on my Libretto 70CT - as you can see
from the output below it stoped with:

kernel: integer divide fault trap, code=0

Rebooted it and disable it, schsio and softraid and it has now made
it to the end of boot - but it has not yet made it to a login
prompt.

Last time I tried this I left it running for about a week - and
still did not make it to a login prompt.

hth

Fred

PS I've CC misc@ for the archives rather than clog up ports@

Script started on Thu Oct 23 21:10:34 2014
port:fred ~ cu -l /dev/cuaU0
Connected to /dev/cuaU0 (speed 9600)

OpenBSD/i386 BOOT 3.26

boot
\|/-\|/booting hd0a:/bsd: 
-\|/-9699132\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\+1067500
 [72+403280|/-\|/-\|/-\|/-\|/-\|/-\+397651|/-\|/-\|/-\|/-\|/-\|/-\|]=0xb083b0
entry point at 0x200120

[ using 801416 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-2014 OpenBSD. All rights reserved.
http://www.OpenBSD.org

OpenBSD 5.6-current (GENERIC) #415: Wed Oct 22 11:33:32 MDT 2014
 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  = 16412672 (15MB)
avail mem = 3915776 (3MB)


For what it's worth, 16MB doesn't appear to be enough anymore.
qemu with 16MB hangs at the same place as you're reporting, but
configuring it for 20MB RAM seems to boot ok. It's pretty slow
but it does work.

-ml



Memory is definately an issue on my Libretto 70CT - but I think there 
might be more to it especially when you go back to 4.4 when if first 
displayed this issue...


I might consign it to OpenBSD 4.3 :~)

Cheers

Fred



Re: Libretto 70CT

2014-10-23 Thread Nick Holland
On 10/23/14 19:17, Fred wrote:
 On 10/23/14 23:30, Mike Larkin wrote:
 On Thu, Oct 23, 2014 at 09:59:04PM +0100, Fred wrote:
 Hi Sebastian,

 I've just installed -current on my Libretto 70CT - as you can see
 from the output below it stoped with:

 kernel: integer divide fault trap, code=0

 Rebooted it and disable it, schsio and softraid and it has now made
 it to the end of boot - but it has not yet made it to a login
 prompt.

 Last time I tried this I left it running for about a week - and
 still did not make it to a login prompt.

 hth

 Fred

 PS I've CC misc@ for the archives rather than clog up ports@

 Script started on Thu Oct 23 21:10:34 2014
 port:fred ~ cu -l /dev/cuaU0
 Connected to /dev/cuaU0 (speed 9600)
 OpenBSD/i386 BOOT 3.26
 boot
 \|/-\|/booting hd0a:/bsd: 
 -\|/-9699132\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\+1067500
  
 [72+403280|/-\|/-\|/-\|/-\|/-\|/-\+397651|/-\|/-\|/-\|/-\|/-\|/-\|]=0xb083b0
 entry point at 0x200120

 [ using 801416 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-2014 OpenBSD. All rights reserved.
 http://www.OpenBSD.org

 OpenBSD 5.6-current (GENERIC) #415: Wed Oct 22 11:33:32 MDT 2014
  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  = 16412672 (15MB)
 avail mem = 3915776 (3MB)

 For what it's worth, 16MB doesn't appear to be enough anymore.
 qemu with 16MB hangs at the same place as you're reporting, but
 configuring it for 20MB RAM seems to boot ok. It's pretty slow
 but it does work.

 -ml

 
 Memory is definately an issue on my Libretto 70CT - but I think there 
 might be more to it especially when you go back to 4.4 when if first 
 displayed this issue...
 
 I might consign it to OpenBSD 4.3 :~)

Really, that's about when 16M became Just Too Little, it has been a long
time.  And...you know, I'm not going to apologize for that. :)

2.7 worked pretty well on 16M RAM, iirc.  By 3.4, I'm pretty sure you
were swapping before you completed a login.

As a labor of love, you could strip a lot of stuff out of the kernel and
see if you could make something that worked, but it really isn't worth it.

Nick.



Re: Libretto 70CT Debugging

2011-02-19 Thread Sebastian Reitenbach
Hi,

with all this libretto thread, I backed out my old Libretto 60, but I
can only confirm that it also has the same problem:

booting hd0a:/bsd: 8254588+118 [61+372400+358030]=0x99e480
entry point at 0x200120

[ using 730908 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-2011 OpenBSD. All rights reserved. 
http://www.OpenBSD.org

OpenBSD 4.9 (GENERIC) #660: Wed Feb 16 13:39:36 MST 2011
t...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel Pentium (P54C) (GenuineIntel 586-class) 100 MHz
cpu0: FPU,V86,DE,PSE,TSC,MSR,MCE,CX8
real mem  = 33255424 (31MB)
avail mem = 22691840 (21MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 06/09/97
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
com0: console
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: HITACHI_DK23AA-60
wd0: 16-sector PIO, LBA, 5729MB, 11733120 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
opl at sb0 not configured
wss0 at isa0 port 0x530/8 irq 10 drq 0: CS4231 or AD1845 (vers 4)
audio1 at wss0
pcppi0 at isa0 port 0x61
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
pcmcia1 at pcic0 controller 0 socket 1
pcic0: irq 9, polling enabled
biomask e945 netmask e945 ttymask fbdf
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
ddb ps
   PID   PPID   PGRPUID  S   FLAGS  WAIT  COMMAND
 9  0  0  0  20x100200crypto
 8  0  0  0  20x100200pfpurge
 7  0  0  0  20x100200pcic0,0,1
 6  0  0  0  20x100200pcic0,0,0
 5  0  0  0  20x100200apm0
 4  0  0  0  20x100200syswq
 3  0  0  0  20x100200idle0
 2  0  0  0  20x100200kmthread
*1  0  0  0  7   0swapper
 0 -1  0  0  3 0x80200  wdccmdswapper
ddb trace
cpu_switchto(d09bda74,d0daa800,d0ba0f08,d03e4890,d0daa800) at
cpu_switchto+0x76


Fred wrote:
 Hi Misc,

 I'm stumped (again) my Toshiba Libretto 70CT has not been
 able to boot a kernel since 4.3, this is know issue [1],

 I have just compiled a kernel with option DEBUG and option
 WDCDEBUG to see if I can track down the issue.

 I disabled softraid at the UKC prompt (due to a hint from [2])

 The kernel integer divide fault trap occurred again, but there was some 
 additional debug info which I have not seen before:

 root device softraid not configured
 dkcsum: bootdev=0xa000
 dkcsum: BIOS drive 0x80 bsd_dev=0xa200 checksum=0xc31f9477
 kernel: integer divide fault trap, code=0
 Stopped at  cpu_switchto+0x76:  popl%ebx

 Not sure if this sheds any further light on the problem?

 Is there any other debugging information I can get?

 The dmesg, trace and ps are at the end of this email.

 Any clues appreciated, and as a side note the bsd.rd  kernels boot
 fine (with the exception of the 4.8 bsd.rd that had the memory 
 clobber to lidt inline asm issue [3]).

 Thanks

 Fred

 [1] http://cvs.openbsd.org/cgi-bin/query-pr-wrapper?full=yesnumbers=6052

 [2] http://marc.info/?t=12786677461r=1w=2

 [3] http://marc.info/?l=openbsd-cvsm=128224641425290

 dmesg, trace, ps and second trace and ps following: 

 Script started on Mon Feb 14 23:19:43 2011
 x41:fred ~ cu -l /dev/cuaU0 -s9600
 Connected
   
 OpenBSD/i386 BOOT 3.01
   
 boot bsd.lib -c
 booting hd0a:bsd.lib: 
 /-\|/8299772

Libretto 70CT Debugging

2011-02-14 Thread Fred
Hi Misc,

I'm stumped (again) my Toshiba Libretto 70CT has not been
able to boot a kernel since 4.3, this is know issue [1],

I have just compiled a kernel with option DEBUG and option
WDCDEBUG to see if I can track down the issue.

I disabled softraid at the UKC prompt (due to a hint from [2])

The kernel integer divide fault trap occurred again, but there was some 
additional debug info which I have not seen before:

root device softraid not configured
dkcsum: bootdev=0xa000
dkcsum: BIOS drive 0x80 bsd_dev=0xa200 checksum=0xc31f9477
kernel: integer divide fault trap, code=0
Stopped at  cpu_switchto+0x76:  popl%ebx

Not sure if this sheds any further light on the problem?

Is there any other debugging information I can get?

The dmesg, trace and ps are at the end of this email.

Any clues appreciated, and as a side note the bsd.rd  kernels boot
fine (with the exception of the 4.8 bsd.rd that had the memory 
clobber to lidt inline asm issue [3]).

Thanks

Fred

[1] http://cvs.openbsd.org/cgi-bin/query-pr-wrapper?full=yesnumbers=6052

[2] http://marc.info/?t=12786677461r=1w=2

[3] http://marc.info/?l=openbsd-cvsm=128224641425290

dmesg, trace, ps and second trace and ps following: 

Script started on Mon Feb 14 23:19:43 2011
x41:fred ~ cu -l /dev/cuaU0 -s9600
Connected
 OpenBSD/i386 BOOT 3.01
boot bsd.lib -c
booting hd0a:bsd.lib: 
/-\|/8299772-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|+1100136/
 [61+373232-\|/-\|/-\|/-\|/-\|/-\|+358603/-\|/-\|/-\|/-\|/-\|/-]=0x9a9afc
entry point at 0x200120

memmap: 0-9fc00 10-102: 101c000
physload:  100-200 (16M) 8-9f (16M) bb1-1000 (16M) 1000-101c
[ using 732312 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-2011 OpenBSD. All rights reserved.  http://www.OpenBSD.org

OpenBSD 4.9-beta (libretto) #2: Sun Feb 13 22:05:13 GMT 2011
f...@x41.crowsons.com:/usr/src/sys/arch/i386/compile/libretto
cpu0: Intel Pentium/MMX (GenuineIntel 586-class) 121 MHz
cpu0: FPU,V86,DE,PSE,TSC,MSR,MCE,CX8,MMX
real mem  = 16478208 (15MB)
avail mem = 6156288 (5MB)
User Kernel Config
UKC disable softraid
  8 softraid0 disabled
UKC quit
Continuing...
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 11/11/97
apminfo: 20102, code f[]/f[], data f[], ept 6270
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
pci_mode_detect: mode 1 enable failed ()
isa0 at mainbus0
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: trying table 3
pckbd: table set of 3 failed
pckbd: trying table 2
pckbd: settling on table 2
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
pms0: protocol type 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
opl at sb0 not configured
wss0 at isa0 port 0x530/8 irq 10 drq 0: CS4231 or AD1845 (vers 4)
audio1 at wss0
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
lpt_isa_probe: mask ff data 55 failed
lpt_isa_probe: mask ff data 55 failed
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
xe0 at pcmcia0 function 0 Xircom, CreditCard 10Base-T, PS-CE2-10 port 
0x340/16, irq 9: address 00:80:c7:42:37:d9
pcmcia1 at pcic0 controller 0 socket 1
pcic0: irq 11, polling enabled
biomask e145 netmask e345 ttymask fbdf
Timecounters tick every 10.000 msec
vscsi0 at root
scsibus0 at vscsi0: 256 targets
root device softraid not configured
dkcsum: bootdev=0xa000
dkcsum: BIOS drive 0x80 bsd_dev=0xa200 checksum=0xc31f9477
kernel: integer

Re: Problem installing 4.6 on Toshiba Libretto 70CT

2009-11-30 Thread Fred Crowson
On 11/29/09, Stuart Henderson s...@spacehopper.org wrote:
 Here is the set of files involved with this commit;
 http://anoncvs.estpak.ee/cgi-bin/cgit/openbsd-src/commit/?id=7ca5b93e36fc8d27fe992c1deb942debc710aeea

 Note that you will also need to revert the change to the kernel
 configuration file.

 (Thanks Rivo for the useful things you run on your anoncvs mirror :-)

Hi Stuart,

Thanks for the link - I spent the weekend building kernels - but I've
not got it past 4.3-current as of 3 Apr 08 :~(

Hopefully this weekend coming I'll get round to get the libretto to
boot a new kernel.

Fred



Re: Problem installing 4.6 on Toshiba Libretto 70CT

2009-11-29 Thread Stuart Henderson
On 2009-11-28, Fred Crowson fred.crow...@googlemail.com wrote:
 Hi Misc@

 Well the Libretto successfully boots with a kernel from the 3 April
 2008 and crashes with a kernel built from 4 April 2008.

 Using:

 cvs up -D3 Apr 2008 and cvs up -D4 Apr 2008

 to update my source tree.

 The list of files that changed between the two days are:

 P arch/amd64/conf/GENERIC
 P arch/i386/conf/GENERIC
 P arch/sparc64/dev/ebus_mainbus.c
 P dev/isa/it.c
 P dev/isa/itvar.h
 P dev/pci/if_bge.c
 P dev/pci/if_bgereg.h
 P dev/pci/if_lii.c
 P dev/pci/if_txp.c

 I'm guessing the changes to dev/isa/it.c or  dev/isa/itvar.h are
 responsible but I've no idea how to debug this any further.

 I'm guessing I need to somehow back out the changes to 1.28 of it.c
 and 1.8 of itvar.h in the current versions of the file and see if that
 allows the Libretto to boot - but my brain cannot cope with that
 tonight :~(

Here is the set of files involved with this commit;
http://anoncvs.estpak.ee/cgi-bin/cgit/openbsd-src/commit/?id=7ca5b93e36fc8d27fe992c1deb942debc710aeea

Note that you will also need to revert the change to the kernel
configuration file.

(Thanks Rivo for the useful things you run on your anoncvs mirror :-)



Re: Problem installing 4.6 on Toshiba Libretto 70CT

2009-11-28 Thread Fred Crowson
Hi Misc@

Well the Libretto successfully boots with a kernel from the 3 April
2008 and crashes with a kernel built from 4 April 2008.

Using:

cvs up -D3 Apr 2008 and cvs up -D4 Apr 2008

to update my source tree.

The list of files that changed between the two days are:

P arch/amd64/conf/GENERIC
P arch/i386/conf/GENERIC
P arch/sparc64/dev/ebus_mainbus.c
P dev/isa/it.c
P dev/isa/itvar.h
P dev/pci/if_bge.c
P dev/pci/if_bgereg.h
P dev/pci/if_lii.c
P dev/pci/if_txp.c

I'm guessing the changes to dev/isa/it.c or  dev/isa/itvar.h are
responsible but I've no idea how to debug this any further.

I'm guessing I need to somehow back out the changes to 1.28 of it.c
and 1.8 of itvar.h in the current versions of the file and see if that
allows the Libretto to boot - but my brain cannot cope with that
tonight :~(

I'll report back  if it works :~)

Fred



Re: Problem installing 4.6 on Toshiba Libretto 70CT

2009-11-23 Thread Fred Crowson
On 11/18/09, Hou, Ruoyu phoenix...@gmail.com wrote:
 All tests ended with
 kernel: integer divide fault trap, code=0
 Stopped atcpu_switchto+0x76:  popl%ebx

 When softraid disabled
 ddbtrace
 cpu_switchto(d073cfa0,a26000,d0a20f18,d0a20ef8,d0202f41) at
 cpu_switchto+0x76
 (null)(d020241,0,d0a20f18,d037cab8,d0854018) at 0
 end(d0746c60,d073cfa0,0,d073cf57,0) at 0xd0a20ef8
 config_rootfound(d073cfa0,0,d0a20fa0,d0360adf,2) at config_rootfound+0x3c
 main(0,0,0,0,0) at main+0x4b8

 When acpi disabled/apm disabled/apm  acpi disabled
 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

Hi misc@,

I tried this again with 23 Nov 09 snapshot, but it is still crashing
with an integer divide fault trap, as per PR 6052 [1].

The verbose output of dmesg and the ps and trace are included below [2].

The Libretto 70CT works fine with OpenBSD 4.3.  This is not a major
issue, I'm just fond of my Libretto 70CT and want it running the
latest and greatest OS with 4.6 :~)  I am happy to continue debugging
this issue but would be keen to have any pointers in the right
direction.

Thanks,

Fred

[1] http://cvs.openbsd.org/cgi-bin/query-pr-wrapper?full=yesnumbers=6052
[2]The verbose output is shown below:

Script started on Mon Nov 23 23:11:23 2009
x41:fred ~ cu -l /dev/cuaU0 -s19200
Connected
 OpenBSD/i386 BOOT 3.02
boot bsd -c
booting hd0a:bsd:
/-\|/6774012-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-
\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\
|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|
/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/
-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-
\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\+1054568
[52+352880|/-\|/-\|/-\|/-\|/-\|/+335902-\|/-\|/-\|/-\|/-\|/]=0x81f89c
entry point at 0x200120

[ using 689208 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-current (GENERIC) #391: Mon Nov 23 05:29:52 MST 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  = 16478208 (15MB)
avail mem = 7233536 (6MB)
User Kernel Config
UKC verbose
autoconf verbose enabled
UKC quit
Continuing...
 probing for mainbus0
 mainbus probe returned 1
mainbus0 at root
 probing for pci*
 pci probe returned 0
 probing for amdmsr0
 amdmsr probe returned 0
 probing for isa0
 isa probe returned 0
 probing for eisa0
 eisa probe returned 0
 probing for bios0
 bios probe returned 1
 probing for cpu0
 cpu probe returned 0
 probing for ioapic*
 ioapic probe returned 0
 probing for esm0
 esm probe returned 0
 bios probe won
bios0 at mainbus0: AT/286+ BIOS, date 11/11/97
 probing for apm0
 apm probe returned 1
 probing for mpbios0
 mpbios probe returned 0
 probing for pcibios0
 pcibios probe returned 0
 probing for acpi0
 acpi probe returned 0
 apm probe won
apm0 at bios0: Power Management spec V1.2
apm0: battery life expectancy 1%
apm0: AC on, battery charge low, charging
 probing for mpbios0
 mpbios probe returned 0
 probing for pcibios0
 pcibios probe returned 0
 probing for acpi0
 acpi probe returned 0
 no winning probe
pcibios at bios0 function 0x1a not configured
bios0: ROM list: 0xe4000/0xc000
 probing for pci*
 pci probe returned 0
 probing for amdmsr0
 amdmsr probe returned 0
 probing for isa0
 isa probe returned 0
 probing for eisa0
 eisa probe returned 0
 probing for cpu0
 cpu probe returned 1
 probing for ioapic*
 ioapic probe returned 0
 probing for esm0
 esm probe returned 0
 cpu probe won
cpu0 at mainbus0: (uniprocessor)
cpu0: F00F bug workaround installed
 probing for pci*
 pci probe returned 0
 probing for amdmsr0
 amdmsr probe returned 0
 probing for isa0
 isa probe returned 1
 probing for eisa0
 eisa probe returned 0
 probing for ioapic*
 ioapic probe returned 0
 probing for esm0
 esm probe returned 0
 isa probe won
isa0 at mainbus0
 probing for isadma0
 probing for isadma0 succeeded
isadma0 at isa0
 probing for ast0
 probing for ast0 failed
 probing for com0
 probing for com0 succeeded
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
com0: console
 probing for com1
 probing for com1 succeeded
com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
 probing for com2
 probing for com2 failed
 probing for cy0
 probing for cy0 failed
 probing for pckbc0
 probing for pckbc0 succeeded
pckbc0 at isa0 port 0x60/5
 probing for pckbd*
 pckbd probe returned 2
 probing for pms*
 pms probe

Re: Problem installing 4.6 on Toshiba Libretto 70CT

2009-11-17 Thread Hou, Ruoyu
All tests ended with 
kernel: integer divide fault trap, code=0
Stopped at  cpu_switchto+0x76:  popl%ebx

When softraid disabled 
ddbtrace
cpu_switchto(d073cfa0,a26000,d0a20f18,d0a20ef8,d0202f41) at cpu_switchto+0x76
(null)(d020241,0,d0a20f18,d037cab8,d0854018) at 0
end(d0746c60,d073cfa0,0,d073cf57,0) at 0xd0a20ef8
config_rootfound(d073cfa0,0,d0a20fa0,d0360adf,2) at config_rootfound+0x3c
main(0,0,0,0,0) at main+0x4b8

When acpi disabled/apm disabled/apm  acpi disabled
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,

Marco Peereboom wrote:
 Nothing pops out at me.  Can you try booting with several things
 disabled:
 * disable softraid
 * disable acpi
 * disable apm
 * disable apm  acpi
 
 so those are 4 different tests.
 
 Thanks,
 /marco
 
 On Mon, Nov 16, 2009 at 06:34:46PM +0800, Hou Ruoyu wrote:
 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. ??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
 ?? ??PID ?? PPID ?? PGRP ?? UID ??S ?? ?? ?? FLAGS ??WAIT ?? ?? ?? COMMAND
 ?? ?? ??8 ?? ?? ??0 ?? ?? ??0 ?? ?? 0 ??2 ?? ??0x100200 ?? ?? ?? ?? ?? ?? 
 pfpurge
 ?? ?? ??7 ?? ?? ??0 ?? ?? ??0 ?? ?? 0 ??2 ?? ??0x100200 ?? ?? ?? ?? ?? ?? 
 pcic0,0,1
 ?? ?? ??6 ?? ?? ??0 ?? ?? ??0 ?? ?? 0 ??2 ?? ??0x100200 ?? ?? ?? ?? ?? ?? 
 pcic0,0,0
 ?? ?? ??5 ?? ?? ??0 ?? ?? ??0 ?? ?? 0 ??2 ?? ??0x100200 ?? ?? ?? ?? ?? ?? 
 apm0
 ?? ?? ??4 ?? ?? ??0 ?? ?? ??0 ?? ?? 0 ??2 ?? ??0x100200 ?? ?? ?? ?? ?? ?? 
 syswq
 ?? ?? ??3 ?? ?? ??0 ?? ?? ??0 ?? ?? 0 ??2 ?? ??0x100200 ?? ?? ?? ?? ?? ?? 
 idle0
 ?? ?? ??2 ?? ?? ??0 ?? ?? ??0 ?? ?? 0 ??2 ?? ??0x100200 ?? ?? ?? ?? ?? ?? 
 kmthread
 * ?? ??1 ?? ?? ??0 ?? ?? ??0 ?? ?? 0 ??7 ?? ?? ?? ?? ?? 0 ?? ?? ?? ?? ?? 
 ?? swapper
 ?? ?? ??0 ?? ?? ??0 ?? ?? ??0 ?? ?? 0 ??3 ?? ?? 0x80200 ??wdccmd ?? ?? 
 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

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

Problem installing 4.6 on Toshiba Libretto 70CT

2009-11-14 Thread Hou, Ruoyu
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:  popl%ebx
ddb_

While trying boot /bsd.rd succeeded:
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
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 5, polling enabled
biomask fdc5 netmask ffc5 ttymask 
softraid0 at root
root on rd0a swap on rd0b dump on rd0b
erase ^?, werase ^W, kill^U, intr ^C, status ^T

Welcome to the OpenBSD/i386 4.6 installation program
(I)nstall, (U)pgrade or (S)hell?_

Seems boot /bsd.rd skipped sound system  LPT, then assign pcic0 to irq 5 which 
was occupied by sound card. Then I tried disabling sound system  LPT, 
additionally softraid0, both in CMOS and boot_config, followed by manually 
assign pcic0 to irq 5. The kernel fault remained unchanged. Also, 
reinstallation did'nt help. I don't know what the problem is and what I could 
do.

From what I've searched on internet, a similar piece of 70CT run as late as 
4.0 with half of RAM(16MB) and a different

Re: Problem installing 4.6 on Toshiba Libretto 70CT

2009-11-14 Thread Hou Ruoyu
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
   PID   PPID   PGRP   UID  S   FLAGS  WAIT   COMMAND
 8  0  0 0  20x100200 pfpurge
 7  0  0 0  20x100200 pcic0,0,1
 6  0  0 0  20x100200 pcic0,0,0
 5  0  0 0  20x100200 apm0
 4  0  0 0  20x100200 syswq
 3  0  0 0  20x100200 idle0
 2  0  0 0  20x100200 kmthread
*1  0  0 0  7   0 swapper
 0 -1  0 0  3 0x80200  wdccmd 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,

2009/11/15 Hou, Ruoyu phoenix...@gmail.com:
 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 B  B  B cpu_switchto+0x76: B  B  B popl B  B %ebx
 ddb_

 While trying boot /bsd.rd succeeded:
 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

Re: Libretto 70CT crash on cpu_switch

2009-01-11 Thread Fred Crowson
On Sun, Jan 11, 2009 at 12:44 PM, Stuart Henderson s...@spacehopper.org wrote:

 please try a newer snap, if it still fails and nobody else picks it up
 from your list post, use sendbug to open a PR with this information (some
 developers don't read misc@)

 cheers,
 Stuart

Hi Misc,

Following Stuart's advice I've just upgraded my Libretto 70CT to the
latest snapshot but the kernel is still giving me the following error:

kernel: integer divide fault trap, code=0

Following is the dmesg and the output of ps and trace.

I'll submit a PR tomorrow if the combined genius of misc@ cannot
suggest an alternative approach to solving this issue.

Thanks

Fred

Script started on Sun Jan 11 23:59:45 2009
x41:fred ~ cu -l /dev/cuaU0 -s9600
can't open log file /var/log/aculog.
Connected
 OpenBSD/i386 BOOT 3.02
boot
booting hd0a:/bsd:
/-\|/6018908-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/+1058856
[52+334096-\|/-\|/-\|/-\|/-\|/+316668-\|/-\|/-\|/-\|/-\|/]=0x75ef38
entry point at 0x200120

[ using 651188 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.4-current (GENERIC) #1648: Fri Jan  9 10:26:32 MST 2009
t...@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
cpu0: F00F bug workaround installed
real mem  = 16478208 (15MB)
avail mem = 5857280 (5MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 11/11/97
apm0 at bios0: Power Management spec V1.2
apm0: battery life expectancy 51%
apm0: AC on, battery charge high, charging
pcibios at bios0 function 0x1a not configured
bios0: ROM list: 0xe4000/0xc000
cpu0 at mainbus0: (uniprocessor)
isa0 at mainbus0
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
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
xe0 at pcmcia0 function 0 Xircom, CreditCard 10Base-T, PS-CE2-10
port 0x340/16, irq 9: address 00:80:c7:42:37:d9
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+0x90:  popl%ebx
ddb ps
   PID   PPID   PGRPUID  S   FLAGS  WAIT  COMMAND
 8  0  0  0  20x100200pfpurge
 7  0  0  0  20x100200pcic0,0,1
 6  0  0  0  20x100200pcic0,0,0
 5  0  0  0  20x100200apm0
 4  0  0  0  20x100200syswq
 3  0  0  0  20x100200idle0
 2  0  0  0  20x100200kmthread
*1  0  0  0  7   0swapper
 0 -1  0  0  3 0x80200  wdccmdswapper
ddb trace
cpu_switchto(d07a1194,d0b22000,d0961f18,d036048d,d0b22000) at cpu_switchto+0x90

cfdata(d0b22000,d0b22000,0,d0961f20,100) at cfdata+0x41d0
config_attach(0,d0799020,0,0,d07a37f8) at config_attach+0xfd
config_rootfound(d06e4a57,0,d0961fa0,d034bd85,2) at config_rootfound+0x27
main(0,0,0,0,0) at main+0x4af
ddb boot power off
Symbol not found
ddb boot poweroff

Attempting to power down...
~
[EOT]
x41:fred ~ exit

Script done on Mon Jan 12 00:02:41 2009