DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD Installation and Upgrading

OpenBSD Installation and Upgrading Installing and upgrading OpenBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 13th December 2008
revzalot's Avatar
revzalot revzalot is offline
Shell Scout
 
Join Date: May 2008
Posts: 123
Default soekris help

Awhile back I bought a soekris off ebay and installed OBSD in a compact flash using bowlfish. I'm getting a ddb error unknown to me. I really hope it's not the box and just the CF.

Code:
comBIOS ver. 1.27  20041122  Copyright (C) 2000-2004 Soekris Engineering.

net45xx

0064 Mbyte Memory                        CPU 80486 133 Mhz 

Pri Mas  LEXAR ATA FLASH                 LBA 993-16-63  500 Mbyte

Slot   Vend Dev  ClassRev Cmd  Stat CL LT HT  Base1    Base2   Int 
-------------------------------------------------------------------
0:00:0 1022 3000 06000000 0006 2280 00 00 00 00000000 00000000 
0:17:0 104C AC51 06070000 0107 0210 10 3F 82 A0000000 020000A0 10
0:17:1 104C AC51 06070000 0107 0210 10 3F 82 A0001000 020000A0 10
0:18:0 100B 0020 02000000 0107 0290 00 3F 00 0000E101 A0002000 11
0:19:0 100B 0020 02000000 0107 0290 00 3F 00 0000E201 A0003000 05

 1 Seconds to automatic boot.   Press Ctrl-P for entering Monitor.
Using drive 0, partition 3.
Loading...
probing: pc0 com0 com1 mem[639K 63M a20=on] 
disk: hd0+
>> OpenBSD/i386 BOOT 3.01
switching console to com0                                                       
>> OpenBSD/i386 BOOT 3.01                                                       
com0: changing speed to 19200 baud in 5 seconds, change your terminal to match! 
                                                                                
com0: 19200 baud                                                                
boot>                                                                           
booting hd0a:/bsd: 1833484+365768 [52+105808+97045]=0x24a8e4                    
entry point at 0x200120                                                         
                                                                                
[ using 203280 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-2008 OpenBSD. All rights reserved.  http://www.OpenBSD.org   
                                                                                
OpenBSD 4.3 (NET45xx) #0: Fri Mar 21 12:39:33 PDT 2008                          
    anton@hpv.my.domain:/usr/src/sys/arch/i386/compile/NET45xx                  
cpu0: AMD Am486DX4 W/B or Am5x86 W/B 150 ("AuthenticAMD" 486-class)             
cpu0: FPU                                                                       
real mem  = 66678784 (63MB)                                                     
avail mem = 60432384 (57MB)                                                     
mainbus0 at root                                                                
bios0 at mainbus0: AT/286+ BIOS, date 20/41/22, BIOS32 rev. 0 @ 0xf7840         
pcibios0 at bios0: rev 2.0 @ 0xf0000/0x10000                                    
pcibios0: pcibios_get_intr_routing - function not supported                     
pcibios0: PCI IRQ Routing information unavailable.                              
pcibios0: PCI bus #2 is the last bus                                            
bios0: ROM list: 0xc8000/0x9000                                                 
cpu0 at mainbus0                                                                
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)                          
elansc0 at pci0 dev 0 function 0 "AMD ElanSC520 PCI" rev 0x00: product 0 steppi>
gpio0 at elansc0: 32 pins                                                       
cbb0 at pci0 dev 17 function 0 "TI PCI1420 CardBus" rev 0x00: irq 10            
cbb1 at pci0 dev 17 function 1 "TI PCI1420 CardBus" rev 0x00: irq 10            
sis0 at pci0 dev 18 function 0 "NS DP83815 10/100" rev 0x00, DP83816A: irq 11, 8
nsphyter0 at sis0 phy 0: DP83815 10/100 PHY, rev. 1                             
sis1 at pci0 dev 19 function 0 "NS DP83815 10/100" rev 0x00, DP83816A: irq 5, a9
nsphyter1 at sis1 phy 0: DP83815 10/100 PHY, rev. 1                             
cardslot0 at cbb0 slot 0 flags 0                                                
cardbus0 at cardslot0: bus 1 device 0 cacheline 0x10, lattimer 0x3f             
pcmcia0 at cardslot0                                                            
cardslot1 at cbb1 slot 1 flags 0                                                
cardbus1 at cardslot1: bus 2 device 0 cacheline 0x10, lattimer 0x3f             
pcmcia1 at cardslot1                                                            
isa0 at mainbus0                                                                
isadma0 at isa0                                                                 
wdc0 at isa0 port 0x1f0/8 irq 14                                                
wd0 at wdc0 channel 0 drive 0: <LEXAR ATA FLASH>                                
wd0: 16-sector PIO, LBA, 488MB, 1000944 sectors                                 
wd0(wdc0:0:0): using BIOS timings                                               
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16                
pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo                       
pccom0: console                                                                 
pccom1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo                       
biomask f7c7 netmask ffe7 ttymask ffe7                                          
root on wd0a swap on wd0b dump on wd0b                                          
filesystem type 8 not known.. assuming ffs                                      
warning: /dev/console error 22                                                  
exec /sbin/init: error 22                                                       
exec /sbin/oinit: error 22                                                      
exec /sbin/init.bak: error 22                                                   
init: not found                                                                 
panic: no init                                                                  
Stopped at      Debugger+0x4:   leave                                           
RUN AT LEAST 'trace' AND 'ps' AND INCLUDE OUTPUT WHEN REPORTING THIS PANIC!     
DO NOT EVEN BOTHER REPORTING THIS WITHOUT INCLUDING THAT INFORMATION!           
ddb>
Reply With Quote
  #2   (View Single Post)  
Old 13th December 2008
revzalot's Avatar
revzalot revzalot is offline
Shell Scout
 
Join Date: May 2008
Posts: 123
Default

Here's the 'trace':

Code:
ddb> trace                                                                      
Debugger(d03b7b10,d3530008,d353af1c,cfbfdff1,0) at Debugger+0x4                 
panic(d037bffa,d037bfba,16,0,0) at panic+0x55                                   
start_init(d27be000) at start_init+0x16d                                        
Bad frame pointer: 0xd044ced8                                                   
ddb>
Here's the ps:

Code:
ddb> ps                                                                         
   PID   PPID   PGRP    UID  S       FLAGS  WAIT          COMMAND               
    13      0      0      0  3    0x100200  bored         crypto                
    12      0      0      0  3    0x100200  aiodoned      aiodoned              
    11      0      0      0  3    0x100200  syncer        update                
    10      0      0      0  2    0x100200                cleaner               
     9      0      0      0  3    0x100200  reaper        reaper                
     8      0      0      0  3    0x100200  pgdaemon      pagedaemon            
     7      0      0      0  3    0x100200  pftm          pfpurge               
     6      0      0      0  3    0x100200  cardslotev    cardslot1             
     5      0      0      0  3    0x100200  cardslotev    cardslot0             
     4      0      0      0  3    0x100200  bored         syswq                 
     3      0      0      0  3    0x100200                idle0                 
     2      0      0      0  3    0x100200  kmalloc       kmthread              
*    1      0      0      0  7           0                swapper               
     0     -1      0      0  3     0x80200  scheduler     swapper               
ddb>
Reply With Quote
  #3   (View Single Post)  
Old 13th December 2008
BSDfan666 BSDfan666 is offline
Real Name: N/A, this is the interweb.
Banned
 
Join Date: Apr 2008
Location: Ontario, Canada
Posts: 2,223
Default

The error is kind of obvious.. read it.. process it...
Code:
filesystem type 8 not known.. assuming ffs                                      
warning: /dev/console error 22                                                  
exec /sbin/init: error 22                                                       
exec /sbin/oinit: error 22                                                      
exec /sbin/init.bak: error 22                                                   
init: not found                                                                 
panic: no init                                                                  
Stopped at      Debugger+0x4:   leave                                           
RUN AT LEAST 'trace' AND 'ps' AND INCLUDE OUTPUT WHEN REPORTING THIS PANIC!     
DO NOT EVEN BOTHER REPORTING THIS WITHOUT INCLUDING THAT INFORMATION!           
ddb>
Your root file system is... corrupt.. or.. empty.. it can't find important system files.

Take this as an opportunity to install 4.4, a fresh installation is always fun.
Reply With Quote
  #4   (View Single Post)  
Old 13th December 2008
J65nko J65nko is offline
Administrator
 
Join Date: May 2008
Location: Budel - the Netherlands
Posts: 4,125
Default

There are no OpenBSD developers here who could diagnose the dbd output that. you provided. But even then it would be difficult because you using a custom kernel

I would suggest to get a bigger >512 CF card. That way you can do a normal install.
Installing using a 'bsd.rd' installation kernel would now be the easiest way. At least if the filesystem isn't too corrupted
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump
Reply With Quote
  #5   (View Single Post)  
Old 13th December 2008
revzalot's Avatar
revzalot revzalot is offline
Shell Scout
 
Join Date: May 2008
Posts: 123
Default

I'll do a manual install this time with the latest. Thanks.
Reply With Quote
  #6   (View Single Post)  
Old 13th December 2008
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,975
Default

That particular panic happens whenever the kernel can be located by the bootloader, but the kernel cannot locate /sbin/init for any reason, such as a missing "a" partition.

To recreate, delete your "a" partition from your disklabel, reboot, and give the bootloader the location of a kernel residing on another partition. The kernel will look for the "a" partition, not find it, and panic.
Reply With Quote
  #7   (View Single Post)  
Old 17th December 2008
Loki Loki is offline
Port Guard
 
Join Date: Nov 2008
Location: Sydney
Posts: 11
Default

Quote:
Originally Posted by J65nko View Post
There are no OpenBSD developers here who could diagnose the dbd output that. you provided. But even then it would be difficult because you using a custom kernel

I would suggest to get a bigger >512 CF card. That way you can do a normal install.
Installing using a 'bsd.rd' installation kernel would now be the easiest way. At least if the filesystem isn't too corrupted
You don't need a big CF to do a proper install of OpenBSD. I have a stack of Soekris 4801s in the field with as little as 256MB CFs.

Here is a 512 layout:
Filesystem Size Used Avail Capacity Mounted on
/dev/wd0a 97.8M 28.1M 64.9M 30% /
/dev/wd0d 23.7M 2.0K 22.5M 0% /tmp
/dev/wd0e 195M 151M 33.6M 82% /usr
/dev/wd0f 98.3M 6.3M 87.1M 7% /var

You do not need swap or X or games or compilers but I ALWAYS leave the manpages on.
In any case look at how little space is actually used. This was not optomised because there was plenty to spare once 256MB cards became scarcer and the newer bigger ones are faster and have more wear levelling space.

We now use 2GB cards and have miles of spare space...
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Soekris experiences Carpetsmoker General Hardware 42 21st August 2009 01:52 PM
Soekris Help revzalot General Hardware 2 27th August 2008 01:35 PM


All times are GMT. The time now is 03:47 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick