[Soekris] Segfaults on 4801 when running with ide drive AND cf

Heinrich Rebehn rebehn at ant.uni-bremen.de
Fri Jan 12 08:58:20 UTC 2007


Felix Kronlage wrote:
> On Fri, Jan 12, 2007 at 06:25:21AM +0000, Poul-Henning Kamp wrote:
> 
>> Does the cards come up as master and slave respectively ?  
> 
> I've bounced this question back to our customer, awaiting a reply :)
> 
>> Some
>> CF cards will only run as slave, no matter what settings you
>> have used.  If the harddisk is also slave (they do respect
>> the settings) then you get really funny data...
> 
> thanks for the hint, this indeed does sound like it could be
> the problem. I will report back here, once our client has 
> replied to me :)
> 
> felix

Hi,

I am the above mentioned customer :-)

Below is a log from the soekris trying to boot from the CF.
The "hd1a:/etc/boot.conf: line too long" suggests that the data on the 
CF is already corrupted due to the past crashes.
As Felix already stated, the problem only occurs when *both* disks are 
installed.

---------------------------------------------------------------
comBIOS ver. 1.28  20050529  Copyright (C) 2000-2005 Soekris Engineering.

net4801

0256 Mbyte Memory                        CPU Geode 266 Mhz

Pri Mas  HITACHI_DK23EA-20               LBA Xlt 1024-255-63  19535 Mbyte
Pri Sla  DMA FD                          LBA 1006-16-63  507 Mbyte

Slot   Vend Dev  ClassRev Cmd  Stat CL LT HT  Base1    Base2   Int
-------------------------------------------------------------------
0:00:0 1078 0001 06000000 0107 0280 00 00 00 00000000 00000000
0:06:0 100B 0020 02000000 0107 0290 00 3F 00 0000E101 A0000000 10
0:07:0 100B 0020 02000000 0107 0290 00 3F 00 0000E201 A0001000 10
0:08:0 100B 0020 02000000 0107 0290 00 3F 00 0000E301 A0002000 10
0:18:2 100B 0502 01018001 0005 0280 00 00 00 00000000 00000000
0:19:0 0E11 A0F8 0C031008 0117 0280 08 38 00 A0003000 00000000 11


comBIOS Monitor.   Press ? for help.

 > show

ConSpeed = 19200
ConLock = Enabled
ConMute = Disabled
BIOSentry = Enabled
PCIROMS = Enabled
PXEBoot = Enabled
FLASH = Primary
BootDelay = 5
FastBoot = Disabled
BootPartition = Disabled
BootDrive = 80 81 F0 FF
ShowPCI = Enabled
Reset = Hard

 > boot 81
Using drive 1, partition 3.
Loading...
probing: pc0 com0 com1 pci mem[639K 255M a20=on]
disk: hd0+ hd1+
 >> OpenBSD/i386 BOOT 2.10
hd1a:/etc/boot.conf: line too long
boot> boot -a -s
booting hd1a:/bsd: 5516160+867984 [52+274176+255783]=0x6981e0
entry point at 0x200120

---------------------------------------------------------------------

Update: I simply cycled power on the box and the "line too long" did not 
show up again. However the system crashed with:

...
dkcsum: wd0 matches BIOS drive 0x80
dkcsum: wd1 matches BIOS drive 0x81
root on wd1a
rootdev=0x10 rrootdev=0x310 rawdev=0x312
Automatic boot in progress: starting file system checks.
/dev/rwd1a: file system is clean; not checking
setting tty flags
starting network
DHCPDISCOVER on sis0 to 255.255.255.255 port 67 interval 2
DHCPOFFER from 134.102.176.250
DHCPREQUEST on sis0 to 255.255.255.255 port 67
DHCPACK from 134.102.176.250
bound to 134.102.176.133 -- renewal in 21600 seconds.
panic: ffs_clusteralloc: map mismatch
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>
-----------------------------------------------------------------------

Power consumption of the box is between 6.5 and 9 Watts, depending on HD 
usage (Measured with a "Voltcraft Energy Check 3000")

Regards,

Heinrich Rebehn

University of Bremen
Physics / Electrical and Electronics Engineering
- Department of Telecommunications -

Phone : +49/421/218-4664
Fax   :            -3341


More information about the Soekris-tech mailing list