Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 12:41 28 Nov 2024 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : RetroBSD for Maximite

     Page 2 of 2    
Author Message
phiber
Newbie

Joined: 19/09/2013
Location: United States
Posts: 8
Posted: 12:14pm 23 Sep 2013
Copy link to clipboard 
Print this post

Everything's working great, including building the dist from scratch. Awesome stuff. I've been using 2.11BSD for years on pdp11's, and I never thought I'd see the OS on embedded controllers. The small memory model makes a lot of sense. Very clever.

-Mark

  Serge.V said   Yes, of cause: all the changes have been checked in as r891. You can see the kernel configuration file here: https://code.google.com/p/retrobsd/source/browse/current/sys /pic32/maximite-color/MAXCOLOR

--Serge
 
phiber
Newbie

Joined: 19/09/2013
Location: United States
Posts: 8
Posted: 02:41pm 23 Sep 2013
Copy link to clipboard 
Print this post

Incidentally, I was just wondering if you'd considered attempting SLIP over one of the serial ports to provide networking. Would there be enough memory for the IP stack?

-Mark
 
paceman
Guru

Joined: 07/10/2011
Location: Australia
Posts: 1329
Posted: 02:55pm 23 Sep 2013
Copy link to clipboard 
Print this post

Serge,
I was just checking Geoff's website again Geoff Graham and realised a link to your BSD Unix work is there in his "Downloads - Other" section. Many thanks for making it available.

GregEdited by paceman 2013-09-25
 
phiber
Newbie

Joined: 19/09/2013
Location: United States
Posts: 8
Posted: 04:26pm 23 Sep 2013
Copy link to clipboard 
Print this post

I hit a problem. I was just playing rogue, and barely into level 2 when it bombed with a bus error and left the console in an unusable state. Now on a cold restart, I get the following, and the system won't boot at all:


2.11 BSD Unix for PIC32, revision 891M build 1:
Compiled 2013-09-22 by root@ubuntu:
/usr/local/src/retrobsd-current/sys/pic32/maximite-color
cpu: 795F512L 80 MHz, bus 80 MHz
oscillator: HS crystal, PLL div 1:2 mult x20
console: ttyUSB0 (5,0)
sd0: port SPI4, select pin A1
sd0: type II, size 1931264 kbytes, speed 13 Mbit/sec
phys mem = 128 kbytes
user mem = 96 kbytes
root dev = rd0a (0,1)
root size = 102400 kbytes
swap dev = rd0b (0,2)
swap size = 2048 kbytes
temp0: allocated 30 blocks
/dev/rd0a: 573 files, 9310 used, 92689 free
temp0: released allocation
temp0: allocated 30 blocks
/dev/rd0c: 7 files, 26 used, 101973 free
temp0: released allocation
************************************
*******STACK DUMP START*************
frame = 80007e9c
stack data
0 80007400 0 80007400
80007478 80000fd4 80008000 0
9d000008 ffffffff 0 0
0 0 0 0
80000ec0 0 10000000 6
fffffffe 9d0258b8 9d0258b4 0
0 80000000 80007f20 ffffffff
9d00d168 8 ffffffe8 10000002
9d0055f0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0
*******STACK DUMP END***************
************************************

*** 0x9d0055f0: exception 'Bus load/store'
t0 = 0 s0 = 0 t8 = 0 lo = 8
at = 0 t1 = 9d000008 s1 = 80000ec0 t9 = 0 hi = ffffffe8
v0 = 80007400 t2 = ffffffff s2 = 0 status = 10000002
v1 = 0 t3 = 0 s3 = 10000000 cause = 4080041c
a0 = 80007400 t4 = 0 s4 = 6 gp = 80000000 epc = 9d0055f0
a1 = 80007478 t5 = 0 s5 = fffffffe sp = 80007f20
a2 = 80000fd4 t6 = 0 s6 = 9d0258b8 fp = ffffffff
a3 = 80008000 t7 = 0 s7 = 9d0258b4 ra = 9d00d168
panic: unexpected exception
syncing disks... ************************************
*******STACK DUMP START*************
frame = 80007cac
stack data
0 80000000 1 9d00f29c
10000003 0 0 0
9d000008 ffffffff 0 0
0 0 0 0
10000003 0 9d00f29c 6
fffffffe 9d0258b8 9d0258b4 0
0 80000000 80007d30 ffffffff
9d006b98 0 9 10000002
9d0082d8 20 0 9d00630c
0 9d00630c 0 0
0 10000000 9d006b98 9d01328c
0 9d0063cc 0 0
0 48 9d02627d 0
48 48 9d0052bc 80007d98
0 0 0 0
10000000 20 0 5
0 0 0 9d000008
ffffffff 0 0 0
0 0 48 48
0 10000000 6 fffffffe
9d0258b8 9d0258b4 0 0
80000000 80007e1c ffffffff 9d00f298
0 9 10000003 9d00f29c
9d02626c 48 1 0
48 80000ec0 0 10000000
6 9d013ec4 9d0268d4 9d02537c
0 0 9d0254f0 9d006aac
0 0 0 0
0 0 0 0
0 0 80000ec0 9d0052bc
80007e9c 0 0 0
0 80007400 0 80007400
80007478 80000fd4 80008000 0
9d000008 ffffffff 0 0
0 0 0 0
80000ec0 0 10000000 6
fffffffe 9d0258b8 9d0258b4 0
0 80000000 80007f20 ffffffff
9d00d168 8 ffffffe8 10000002
9d0055f0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0
*******STACK DUMP END***************
************************************

*** 0x9d0082d8: exception 'Bus load/store'
t0 = 0 s0 = 0 t8 = 0 lo = 0
at = 0 t1 = 9d000008 s1 = 10000003 t9 = 0 hi = 9
v0 = 80000000 t2 = ffffffff s2 = 0 status = 10000002
v1 = 1 t3 = 0 s3 = 9d00f29c cause = 5080041c
a0 = 9d00f29c t4 = 0 s4 = 6 gp = 80000000 epc = 9d0082d8
a1 = 10000003 t5 = 0 s5 = fffffffe sp = 80007d30
a2 = 0 t6 = 0 s6 = 9d0258b8 fp = ffffffff
a3 = 0 t7 = 0 s7 = 9d0258b4 ra = 9d006b98
panic: unexpected exception
halted
 
phiber
Newbie

Joined: 19/09/2013
Location: United States
Posts: 8
Posted: 04:27pm 24 Sep 2013
Copy link to clipboard 
Print this post

I can break out of /etc/rc before my system panics and get to a shell. Apparently it's the "fsck -p" in /etc/rc which is causing the panic, right after it checks my /dev/rd0c filesystem. If I fsck /dev/rd0c manually, it works fine. Not sure why this is.
I'd move this thread over to retrobsd.org, but it seems my posts get delayed by moderator approval which will seriously slow down the back-and-forth.

Regards
Mark
 
     Page 2 of 2    
Print this page


To reply to this topic, you need to log in.

© JAQ Software 2024