C1010

Support section for FREESCO v0.3.x

C1010

Postby ocmux » Wed Dec 08, 2010 9:09 pm

Hello all you Fantasitc Freesco people !!!


Have been using Freesco for many years now with GREAT sucess ..!!

Have now got hold of six Nortel Contivity C1010 boxes. (original 'OS' is bios password
protected, but it boots DOS/Liux.. OK)

The C1010 is basically a Pentium 300MHz with 128Mb ram and CF as disk, no vdu output, only RS232.
Must be just perfect for running Freesco... ?

Have tried to figure how to do this, but with limited success so far...


What I have done:

1# Made serial cable and connected to console output
-RESULT- OK... shows POST messages.

2# Formatted CF with DOS 6.22 and added: 'ctty com1' to autoexec.bat
-RESULT- OK... able to do 'dir'++ (console hardwired to COM1,9600n8)

3# Installed Freesco 0.3.8 (my favorite so far) on CF card (DOS) from floppy on my
oldest Pentium machine, put CF in the C1010
-RESULT- boot hangs (from console)

4# Made one new .bat file:
c:\router\loadlin c:\router\kernel initrd=c:\router\ramdisk ramdisk_size=16384 BOOTDEV=hda1
root=/dev/ram0 vga=0 BOOTMOD=shell panic=15 console=cua0
-RESULT- able to log in (must do it twice..??) no startup messages, but stable...
able to edit and save files on CF.

5# Made another .bat file:
c:\router\loadlin c:\router\kernel initrd=c:\router\ramdisk ramdisk_size=16384 BOOTDEV=hda1
root=/dev/ram0 vga=0 panic=15 console=cua0
-RESULT- boot hangs, no startup messages..

6# Installed Slackware from:
http://phreakmonkey.com/projects/Slackware-c1010/
-RESULT- OK... everything works, but it is not Freesco.......


This seems to be the culpis: (cut n pasted from http://phreakmonkey.com)
-----------------------------------------------------------------
System board info:

* APIC: None
* APM/ACPI: None
* IDE: Intel piix- soldered-on Compact Flash (CF) card interface. NO DMA! Tested up to 4GB.
* Serial: 2x 16550 RS232 ports. 1 RJ45 "Nortel" console port. Other unwired(?)
* Ethernet: 2x Intel Pro/100 "E100" ports* (See E100 notes below!)

On-board Intel Pro/100 "E100" Notes:

The on-board Ethernet ports have some idiosyncrasies:

Intel Pro/100 Problem
Solution:
Mismapped Interrupts Must use "irqpoll" on Linux Kernel command line
Proprietary EEPROMs Must use "eeprom_bad_csum_allow=1" when loading e100 module LAN1
eth1 has no HW mac address (Shows up as FF:FF:FF:FF:FF:FF)
Must assign MAC address manually upon boot
eg: ifconfig eth0 hw ether 00:11:22:33:44:55

Other oddities:

* Motherboard "Cold Boot" function hangs forever.
Use "reboot=k,w" on Kernel command line to force "warm boots" or reboot won't work

* IDE CF interface doesn't support DMA.
Use "ide-core.nodma=0.0" on Kernel command line, or disable IDE DMA in Kernel config.

* No APM/ACPI support. Leave it out of the Kernel.


My final Linux Kernel 'append=' line from my lilo.conf file looks like this:

append="ide-core.nodma=0.0 ide-core.nodma=0.1 console=ttyS0,9600n8 vt.default_utf8=0 irqpoll reboot=k,w"
-----------------------------------------------------------------------

Pleeease help.... theese small boxes would be so perfect for Freesco........

Sincirely
OC from Norway




Enclosed report.txt:
FREESCO v0.3.8 System Report.
Generated - Sat Jan 5 02:51:26 1980


----- clock -----
Sat Jan 5 02:51:27 1980


----- cat /etc/system.cfg -----
# [System]
ROUTER=ethernet # dialup/leased/ethernet/bridge
HOSTNAME=bua-router #611 Router name
DOMAIN=bua #612 Local domain
ENAMSQ=y #11 NAT/firewall
STLTH= #111 Stealth or Reject
NPNG=y #112 ICMP responses
NBRG=n #12 Bridging mode
BIGMEM=y #13 Command line history
RMDRV=n #19 Enable ram disk
RSRM=n #191 Manual ramdisk control
RMSZ= #192 Ramdisk size in MB
SVRS=10,0 #14 Blank screen,hdd. 0 = off
SSVR=0,tclock,12 #14 Screen saver,Name,options. 0 = off
SWPSZ=0 #15 Swap size. 0 = off
LGSZ=30000,5000,30000 #16 System,Logins,Info log sizes
SVLG=n #163 Save system logs
NBP=n #17 beeps
NBPT=0000,2400 #171,172 start,stop sounds
NMN=n #20 flashing leds
NLGGR=y #201 Network monitor
NTOP= #202 top monitor
NCON= #203 ISP connect time
DCON= #204 RAS connect time
LLED= #205 Link LED
CLRS=y #21 console colors
NPNP=n #22 ISA PnP
DFSP= # Default dialup ISP
RDNLY=n #10 Run in ram
EDIT=/sbin/edt #e Default editor
NMLCK= #e Enable NUM lock
# [Log/Debug]
LGDHCP=n #18 DHCP server
DHCPLG=n #180 DHCP client
LGDNS=y #181 DNS
LOGHTTP= #182 HTTP/control
LGCHT=n #183 chat
LGDLD=n #184 diald
LGDLP= #185 dialup
LGNT=1 #186 Netmeeting [0-4]
LGPPPD=s #187 pppd
LGDNT=s #188 ident
LGFTP=s #189 FTP
LGLP=s #18a Printer
LGFR=s #18b firewall

# [Services]
NDNS=s #41 DNS Server
DNSCCH=600 #411 Cache. 0 = disable
NCRN=n #42 Cron daemon
NDHCP=n #431 DHCP server
WINSADDR= #432 WINS address
LZTM=604800,604800 #433 lease-time,max-lease-time
ENAWWW=n #441 HTTP Server
WWWPORT=80 #442 port
USRWWW=n #443 User web pages
RESWWW=n #444 Bandwidth
RESVAL= #445 Bps
ENAWWA=s #451 Control via HTTP
WWAPORT=82 #452 port
CPW=25 #e c left width %
CPH=15 #e c bottom height %
TIMADDR=pool.ntp.org #453 NTP URL, empty = disable
TIMZONE=-0000 #454 Offset to UTC
ENALPD=n #46 Print Server
LPPORT0=515 #46 Server port
LPFQ0=feed0 #460 Feed queue
LPRQ0=raw0 #460 Raw queue
LPDEV0=lp1 #460 Device port
NSSHD=y #47 SSH/SFTP server
SSHP=22 #471 port
SSHCMD="" #472 Extra command line options
NPFWD= #48 port forwarding
ENADYNDNS=n #49 dynamic name client
NDNP=y #491 dyndns local URL
NID=n #50 ident server
NFTP=n #51 FTP Server
NRS=n #52 dialin
SRS= #521 Silent modem
ENASMTP=n #53 Email client
SVRMN="" #54 Server monitor
SVRTM=10 #541 check time
PKGDOMAIN=http://www.FREESCOsoft.com/home/0.3.x/ # package URL
HOMEURL=http://www.freesco.org/ # patch URL
PKGDR=/www/packages # package save dir
# [Security]
TRSTN0=y #251 Trust net0
TRSTN1=y #251 Trust net1
TRSTMD=n #252 Trust dial IN
RNGS=2,10 #230 Rings login,nologin time
MonTM="" #231 Nologin times
TueTM=""
WedTM=""
ThuTM=""
FriTM=""
SatTM=""
SunTM=""
MDI= #262 Load icq
MDD= #263 Load raudio
MDV= #264 Load vdolive
MDQ= #265 Load quake
MDR= #266 Load irc
MDF= #267 Load ftp
MDN= #268 Load netmeeting
XTRAPTS="" #27 stealthed ports
SHPR=n #28 Bandwidth control
# [Hardware COM Ports]
# [Modems]
# [ diald ]
# [ethernet/leased/printer/ras router]
GATEWAY= #62 631 gateway
DNSDDR= #414 Primary DNS
DNSDDR1= #415 Second
DNSDDR2= #415 Third
DNSDDR3= #415 Fourth
PROXY="" #914 HTTP proxy addr[:port]

# [Ethernet hardware]

# [Network 0]
SDHCP=y #627 DHCP client
DHCPDNS=y #628 DNS via DHCP
INTNAME0=dummy #620 Interface
IPADDR0=192.168.1.116 #621 IP address
NETMASK0=255.255.255.0 #622 Netmask
NETWORK0=192.168.1.0 #623 Network address
BRDCAST0=192.168.1.255 #624 Broadcast address
IPRANGE0="" #625 DHCP server dynamic IP range
# [Network 1]
INTNAME1=dummy #620 Interface
IPADDR1=192.168.2.200 #621 IP address
NETMASK1=255.255.255.0 #622 Netmask
NETWORK1=192.168.2.0 #623 Network address
BRDCAST1=192.168.2.255 #624 Broadcast address
IPRANGE1="192.168.2.100 192.168.2.120" #625 DHCP server dynamic IP range


----- cat /etc/live.cfg -----
BOOTMOD=shell
VERSION=0.3.8
BOOTDEV=hda1
BOOTIME="Sat Jan 5 02:50:40 1980"


----- cat /etc/dhcpc/dhcpcd-dummy.info -----


----- cat /etc/portfw.cfg | sed s/\#.*//g -----



----- cat /etc/restrict.cfg | sed s/\#.*//g -----


----- sed -n 1,/Secret/P /etc/chat.pwd -----


----- lsmod -----
Module Pages Used by


----- ls -l /boot/drv/ -----
-rw-r--r-- 1 root root 6132 Jul 28 2007 eepro.gz
-rw-r--r-- 1 root root 11011 Jul 28 2007 eepro100.gz
-rw-r--r-- 1 root root 5937 Jul 28 2007 eexpress.gz
-rw-r--r-- 1 root root 2641 Jul 28 2007 pci-scan.gz


----- dmesg | sed -n /eth/P -----


----- ifconfig -----
lo Link encap:Local Loopback
inet addr:127.0.0.1 Bcast:127.255.255.255 Mask:255.0.0.0
UP BROADCAST LOOPBACK RUNNING MTU:3584 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0


----- cat /proc/interrupts -----
0: 5946 timer
1: 8 keyboard
2: 0 cascade
4: 262 + serial
8: 1 + rtc
13: 1 math error
14: 384 + ide0


----- cat /proc/ioports -----
0000-001f : dma1
0020-003f : pic1
0040-005f : timer
0060-006f : keyboard
0070-007f : rtc
0080-009f : dma page reg
00a0-00bf : pic2
00c0-00df : dma2
00f0-00ff : npu
01f0-01f7 : ide0
02f8-02ff : serial(auto)
03d4-03d5 : cga
03f0-03f5 : floppy
03f6-03f6 : ide0
03f7-03f7 : floppy DIR
03f8-03ff : serial(auto)


----- route -n -----
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo


----- cat /etc/dhcpd.leases | sed s/#.*//g -----


----- uptime -----
2:51am up 1 min, load average: 1.05, 0.26, 0.08


----- free -----
total: used: free: shared: buffers: cached:
Mem: 129929216 7876608 122052608 4579328 3543040 864256
Swap: 0 0 0
MemTotal: 126884 kB
MemFree: 119192 kB
MemShared: 4472 kB
Buffers: 3460 kB
Cached: 844 kB
SwapTotal: 0 kB
SwapFree: 0 kB
Mounted FS:
/dev/root / ext2 rw 0 0
/proc /proc proc rw 0 0
/dev/hda1 /mnt/bootdev umsdos rw 0 0
Filesystem 1k-blocks Used Available Use% Mounted on
/dev/ram0 3096 2169 927 70% /
/dev/hda1 249552 1972 247580 1% /mnt/bootdev


----- ps -----
Pid Stat Parent Line Name Command
1 S 0 init init
2 S 1 kflushd
3 S 1 kswapd
272 S 1 syslogd syslogd-r-h-m0
274 S 1 klogd klogd-c3
445 S 1 daemon sh/sbin/daemon-agetty -L 9600 cua0
447 S 1 daemon sh/sbin/daemon-agetty -L 9600 cua0 vt100
451 S 1 daemon sh/sbin/daemon-agetty -L 9600 cua0
463 S 445 cua0 ile ile
467 R 451 cua0 ile ile
468 R 447 cua0 ile ile
493 S 1 logrotate logrotatehda130000500030000nn
501 S 1 agetty /sbin/agetty9600/dev/tty1
502 S 1 agetty /sbin/agetty9600tty2
615 S 468 cua0 sh sh
645 S 467 cua0 sh sh
675 S 463 cua0 sh sh
676 S 675 cua0 report sh/bin/report
681 S 676 cua0 report sh/bin/report
682 S 676 cua0 sed seds/$/
/g
766 S 681 cua0 report sh/bin/report
767 S 681 cua0 sed sed/^$/d
768 R 766 cua0 ps sh/bin/ps


----- cat /etc/ppp/opt* -----
asyncmap 0


----- setserial -bg /dev/cua? -----
/dev/cua0 at 0x03f8 (irq = 4) is a 16550A
/dev/cua1 at 0x02f8 (irq = 3) is a 16550A


----- ls -C /pkg/db -----


----- cat /etc/isapnp.cfg |sed 's/#.*//g' -----


----- hardinfo -----

processor : 0
model : Celeron (Mendocino)
vendor_id : GenuineIntel
bogomips : 299.83

MemTotal: 126884 kB

Ethernet controller: Intel Unknown device (rev 9).
Ethernet controller: Intel Unknown device (rev 9).


/dev/cua0 at 0x03f8 (irq = 4) is a 16550A
/dev/cua1 at 0x02f8 (irq = 3) is a 16550A
ocmux
Newbie
 
Posts: 1
Joined: Sun Jun 13, 2010 9:24 am

Re: C1010

Postby Peppe/Sweden » Thu Dec 09, 2010 11:12 am

My best guess is that your motherboard is missing a floppy controller .
Try changing the kernel withjout floppy support and see if thath solves the problem .

Regards
[COLOR=blue] You mean that I don?t fly airplanes , I don?t have a grilfriend and don?t have a dog ? Buuh , I grow up to be a real loser! (The Kid , walt disney) [COLOR=blue]
User avatar
Peppe/Sweden
Junior Advanced Member
 
Posts: 161
Joined: Wed Feb 05, 2003 4:41 pm

Re: C1010

Postby Lightning » Fri Dec 10, 2010 9:02 pm

Unfortunately I have never played with a serial console in FREESCO so I am not going to be much help with that, at least for the moment as I may try and find one to play with. But you may need to include the full PATH such as "console=/dev/cua0". Also in 0.3.7 and 0.3.8 the primary "init" binary has been changed and at least theoretically you may not need to add any extra lines in the rc_user script because the newer init is supposed to read and detect the console from the command line when specified. Which could be why you are having to login twice.

As stated above if the board does not have a floppy controller then a stock kernel will in a lot of cases just hang. So the "no_floppy" kernels are the only solution to that specific issue.
If you are afraid that you might make a mistake. The chances are high that you will never learn anything.
User avatar
Lightning
FREESCO GOD !!
 
Posts: 12079
Joined: Wed Nov 14, 2001 6:50 am
Location: Oregon, USA


Return to FREESCO Support for v0.3.x

Who is online

Users browsing this forum: No registered users and 8 guests

cron