Problems with updatep2(nanobsd) on soekris 4801
jkv
jkv at unixcluster.dk
Fri Oct 17 11:34:50 UTC 2008
Hi,
Im currently experiencing some unexpected problems on my nanobsd(freebsd
7.0-release) running on a soekris 4801.
The system have been running good for some time, but yesterday i decided
to update the system with a few more packages.
As described in the documentations i made a new image(using the same
nanobsd conf file as i used at the initial setup) and tried to update
partition 2 with the updatep2 script, but for some reason this causes my
system to crash.
Any ideas?
Regards,
Johnny
(10.0.0.45 is the freebsd which i use for compiling the images)
nanobsd# nc 10.0.0.45 5555 | sh updatep2
<around 10-25 pause here>
ad1: FAILURE - device detached
ad1: detached
g_vfs_done():ad1s1a[READ(offset=376012800, length=11776)]error = 6
vnode_pager_getpages: I/O read error
Fatal trap 12: page fault while in kernel mode
fault virtual address = 0xc0
fault code = supervisor read, page not present
instruction pointer = 0x20:0xc04cedb1
stack pointer = 0x28:0xc8008a80
frame pointer = 0x28:0xc8008a80
code segment = base 0x0, limit 0xfffff, type 0x1b
= DPL 0, pres 1, def32 1, gran 1
processor eflags = interrupt enabled, resume, IOPL = 0
current process = 1046 (cron)
trap number = 12
panic: page fault
Uptime: 4m51s
Cannot dump. No dump device defined.
Automatic reboot in 15 seconds - press a key on the console to abort
Some additional information:
# fdisk /dev/ad1
******* Working on device /dev/ad1 *******
parameters extracted from in-core disklabel are:
cylinders=3933 heads=16 sectors/track=63 (1008 blks/cyl)
Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=3933 heads=16 sectors/track=63 (1008 blks/cyl)
Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
start 63, size 1826433 (891 Meg), flag 80 (active)
beg: cyl 0/ head 1/ sector 1;
end: cyl 787/ head 15/ sector 63
The data for partition 2 is:
sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
start 1826559, size 1826433 (891 Meg), flag 0
beg: cyl 788/ head 1/ sector 1;
end: cyl 551/ head 15/ sector 63
The data for partition 3 is:
sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
start 3652992, size 11088 (5 Meg), flag 0
beg: cyl 552/ head 0/ sector 1;
end: cyl 562/ head 15/ sector 63
The data for partition 4 is:
sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
start 3664080, size 300384 (146 Meg), flag 0
beg: cyl 563/ head 0/ sector 1;
end: cyl 860/ head 15/ sector 63
#
# mount
/dev/ad1s1a on / (ufs, local, read-only)
devfs on /dev (devfs, local)
/dev/md0 on /etc (ufs, local)
/dev/md1 on /var (ufs, local)
More information about the freebsd-embedded
mailing list