RAQCOP = IPCop + Cobalt Raq, Cobalt Raq Firewall Applicance Software, Velociraptor Software Upgrade.
      Home      How To Install      Rom Flash      Download Area      Support Forum     
[SOLVED]Segmentation Fault????
raqcop.com
February 05, 2012, 06:12:11 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: SMF - Just Installed!
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: [SOLVED]Segmentation Fault????  (Read 1283 times)
pirateghost
Newbie
*
Posts: 3


View Profile
« on: December 02, 2008, 08:17:29 PM »

just got my cobalt raq3 from ebay yesterday, restored the raq3 OS on it (so i could actually log into it and have some fun)

today i have attempted to perform the flash to upgrade the rom (i am not exactly sure i need this because i have the option to choose what partition to boot from)

so i telnet in to run the flashtool, but everytime i run the ./flashtool (with ANY options) i get an error spit back at me
Segmentation fault

i have searched HIGH and LOW to try and figure out what this issue is, and i have come up with nada, nothing, nil, zilch

does anyone have any idea as to what this problem could be?

thanks in advance
« Last Edit: December 04, 2008, 10:30:25 PM by pirateghost » Logged
Davesworld
Administrator
Sr. Member
*****
Posts: 282


I'm the same Dave who patches and compiles raqcop.


View Profile WWW
« Reply #1 on: December 03, 2008, 02:06:27 PM »

It's easy enough to tell which rom version you are running. What os did it come with? An older rom will not run an os with an ext3 filesystem  very well if it will even boot, nor can the /boot partition be selected, only the / root partition. Older roms will only run XFS or Ext2 and the kernel has to be located in the / root partition. With the latest roms, there was not enough room for all of them so XFS and EXT3 have their own rom versions now. The newer roms will allow both the /boot partition and the / root partition to be selected separately via serial console, the lcd menu only selects the / root partition, fortunately the /boot defaults at hda1. You can use the system info part of the lcd menu but it flashes the version very quickly and is difficult to read. Also, using a serial console it will show the rom version when it first starts to boot and in the menu via serial console you can get it as well.
Logged

Main Daily Firewall: Cobalt Raq 4i modded to use a low voltage K6-III 1.8v 256k cache 500mhz clocked at 550mhz, VFD display. Raqcop 1.4.21
 
Others: One additional 4i for development left stock and two Symantec Velociraptor 500's with the 550mhz low voltage processor mod. Raq550, Two Raq XTR units

pirateghost
Newbie
*
Posts: 3


View Profile
« Reply #2 on: December 03, 2008, 04:38:21 PM »

Thank you for your quick response.

when i boot with the console connected, my screen looks almost identical to the one posted on the Rom Flash instruction page located here.

Note: this is a snip from the Rom Flash page because i will have to connect my laptop back up to the raq to get a more accurate screen cap, but it looks nearly identical, aside from the serial number and amount of RAM

Code:
The boot with the Intel ROM:

       Cobalt Networks - 'We serve it, you surf it'
                 Firmware version 2.3.0

ROM Build info: Wed Oct 6 15:23:25 PDT 1999 freakshow.cobaltnet.com
System serial number: 3603BM0201162
Memory found: 128 MB
Initializing I2C bus: done
Scanning PCI bus: done
Initializing IDE: done
  IDE 0 master: found
        slave:  not found
  IDE 1 master: not found
        slave:  not found
Initializing SCSI: no SCSI found - failed
Initializing ethernet: failed
Initializing EEPROMs: done
  EEPROM Bank 0: Intel E28F008S5 1MB
  EEPROM Bank 1: not installed.
Mounting rom_fs: done
Initializing RTC: done

i have the option to select hda1/2/3/4 to boot from when i boot the raq using the S button on the front of it, but when i load up the raqcop vm image onto a harddrive and attempt to boot to hda4, i get the kernel panic error.

i am at a loss.  is there another method i should use to do this?  i have a vm of an ipcop install that i could use, but i think it will be the same outcome.
is there something i am missing?  i am currently using a cisco cfe511 with smoothwall, and would love to move to raqcop so the cisco cfe can be better utilized.

please help a cobalt newbie out


EDIT
here are the screen caps:

« Last Edit: December 03, 2008, 07:11:35 PM by pirateghost » Logged
Davesworld
Administrator
Sr. Member
*****
Posts: 282


I'm the same Dave who patches and compiles raqcop.


View Profile WWW
« Reply #3 on: December 04, 2008, 12:27:44 PM »

That is a very old rom image. To use any newer os such as Raqcop, you definitely need to flash. On systems that had no usable OS to flash with and because I haven't been brave enough to flash via serial console, I used a Strongbolt OS installer CD to do it and then backed out after the flash was successful. Trouble is that Strongbolt costs money and the money is really paying for their installer which automatically checks the rom image and asks you if you want to upgrade it via the lcd. Other than that, I hadn't seen the segfault issue on the original os using the flashtool yet but also all my flashroms have been AMD, not Intel. Not sure which you have.
Logged

Main Daily Firewall: Cobalt Raq 4i modded to use a low voltage K6-III 1.8v 256k cache 500mhz clocked at 550mhz, VFD display. Raqcop 1.4.21
 
Others: One additional 4i for development left stock and two Symantec Velociraptor 500's with the 550mhz low voltage processor mod. Raq550, Two Raq XTR units

pirateghost
Newbie
*
Posts: 3


View Profile
« Reply #4 on: December 04, 2008, 07:36:25 PM »

SUCCESS!!!

thank you for pointing me to strongbolt.  i found a couple of links on their forums that fixed me right up

mainly, this one:
http://www.osoffice.co.uk/romupdate.html#Cobalt_ROM_flash

it seems that there is a completely different flash utility for intel roms that worked on the first try

Quote
Using Cobalt OS to update the ROM

If you have a very early ROM (2.3.0) and you still have the Cobalt OS on the hard drive, you can easily update the ROM using the following commands. Do not attempt this with a RaQ550, it will damage it! RaQ550's will update automatically using the Strongbolt install CD

Power up the RaQ and gain ssh access to it.

If the ROM is an AMD/ST do:
wget http://www.osoffice.co.uk/linux/roms/flashtool-amd-st
or if the ROM is an INTEL do:
wget http://www.osoffice.co.uk/linux/roms/flashtool-intel

Which ever type of ROM you have, execute the followings commands:
wget http://www.osoffice.co.uk/linux/roms/cobalt-2.10.3-ext3-1M.rom

Use the following command to become root:
su

(it will prompt you for a password. The password is the same as the admin password).

if the ROM is an AMD or ST do:
chmod +x flashtool-amd-st && ./flashtool-amd-st -w cobalt-2.10.3-ext3-1M.rom

if it is an Intel do:
chmod +x flashtool-intel && ./flashtool-intel -w cobalt-2.10.3-ext3-1M.rom

the reboot using

reboot

now its just time to start playing with my new RAQCOP!! thank you for your efforts in providing this dave.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.4 | SMF © 2006-2007, Simple Machines LLC Valid XHTML 1.0! Valid CSS!