I have been happily running various verions of lrp for many years. most recently, LEAF Bering-uClibc 2.3 uClibc 0.9.20 Rev 3 on a headless Soekris net 4801 box. This has been running for five years are so with no problems.
I want to upgrade to 3.1.1, but can't get the boot process to quite complete, gets hung with "Starting periodic command scheduler: cron. can't open /dev/tty1: No such d LEAF Bering-uClibc 3.1.1 Rev 6 uClibc 0.9.28 firewall ttyS0 can't open /dev/tty1: No such device can't open /dev/tty2: No such device ..." To simplify things, I took the floppy image and copied the files to a compact flash card that already had syslinux (albeit an older version - does that matter?), and made the following changes: 0. did not overwrite ldlinux.sys from syslinux. 1. edited leaf.cfg to change to: PKGPATH="/dev/hda1:msdos" 2. edited syslinux.cfg in same way to use /dev/hda1, and also add support for serial port (only way to see what's happening on a Soekris) 3. copied initrd_ide_cd.lrp to initrd.lrp 4. Edited inittab in etc.lrp to add a getty line for serial port. I haven't added the natsemi.o module yet, but that shouldn't prevent boot process from completing (I would think). I just want to get to a login prompt, then I think I can get the rest of the way. There's no problem with the old setup, I just would like to get current. Also, there's a broken link to the usb image: http://prdownloads.sourceforge.net/leaf/Bering-uClibc_3.1.1- beta3_usb_bering-uclibc-iso.bin.img.gz?download This link gives the models file by mistake. Is the USB image someplace? Any advice would be appreciated. There is a lot on the web for leaf/soekris, but it's all older than my old setup. Is there something else I have to do to set up the serial port? Thanks, Tim Here's what I get through the serial port, with a little bit snipped: DMI not present. Kernel command line: reboot=bios console=ttyS0,19200n8, nodma=hda ide=nodma BOOT_IMAGE=linux initrd=initrd.lrp init=/linuxrc rw root=/dev/ram0 LEAFCFG=/dev/hda1:msdos Initializing CPU#0 Detected 266.661 MHz processor. Calibrating delay loop... 532.48 BogoMIPS Memory: 127244k/131072k available (865k kernel code, 3440k reserved, 97k data, 60k init, 0k highmem) Checking if this processor honours the WP bit even in supervisor mode... Ok. Dentry cache hash table entries: 16384 (order: 5, 131072 bytes) Inode cache hash table entries: 8192 (order: 4, 65536 bytes) Mount cache hash table entries: 512 (order: 0, 4096 bytes) Buffer cache hash table entries: 8192 (order: 3, 32768 bytes) Page-cache hash table entries: 32768 (order: 5, 131072 bytes) CPU: NSC Unknown stepping 01 Checking 'hlt' instruction... OK. POSIX conformance testing by UNIFIX PCI: PCI BIOS revision 2.01 entry at 0xf7861, last bus=0 PCI: Using configuration type 1 PCI: Probing PCI hardware PCI: Probing PCI hardware (bus 00) Linux NET4.0 for Linux 2.4 Based upon Swansea University Computer Society NET3.039 Initializing RT netlink socket Starting kswapd pty: 256 Unix98 ptys configured keyboard: Timeout - AT keyboard not present?(ed) keyboard: Timeout - AT keyboard not present?(f4) Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ DETECT_IRQ SERIAL_PCI enabled ÿttyS00 at 0x03f8 (irq = 4) is a 16550A ttyS01 at 0x02f8 (irq = 3) is a 16550A Real Time Clock Driver v1.10f floppy0: no floppy controllers found RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize Initializing Cryptographic API NET4: Linux TCP/IP 1.0 for NET4.0 IP Protocols: ICMP, UDP, TCP, IGMP IP: routing cache hash table of 1024 buckets, 8Kbytes TCP: Hash tables configured (established 8192 bind 16384) ip_tables: (C) 2000-2002 Netfilter core team arp_tables: (C) 2002 David S. Miller NET4: Unix domain sockets 1.0/SMP for Linux NET4.0. RAMDISK: Compressed image found at block 0 Freeing initrd memory: 402k freed VFS: Mounted root (minix filesystem). Freeing unused kernel memory: 60k freed LINUXRC: Bering - Initrd - 3.1.1 Rev 6 uClibc 0.9.28 Uniform Multi-Platform E-IDE driver Revision: 7.00beta4-2.4 ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx hda: Hitachi XX.V.4.2.0.0, CFA DISK drive ide0 at 0x1f0-0x1f7,0x3f6 on irq 14 hda: attached ide-disk driver. hda: 62592 sectors (32 MB) w/1KiB Cache, CHS=489/4/32 Partition check: hda: hda1 hda: hda1 hda: hda1 LINUXRC: Mounting a 6M TMPFS filesystem... hda: hda1 hda: hda1 LINUXRC: Installing - root: /dev/hda1 config: /dev/hda1 etc: /dev/hda1 modules: /dev/hda1 iptables: /dev/hda1 dhcpcd: /dev/hda1 keyboard: /dev/hda1 shorwall: /dev/hda1 ulogd: /dev/hda1 dnsmasq: /dev/hda1 dropbear: /dev/hda1 mhttpd: /dev/hda1 openntpd: /dev/hda1 webconf: /dev/hda1 configdb: configdb(nf!) moddb: /dev/hda1 - Finished. sh: argument expected LINUXRC: Loaded Packages Loading keymap: us.maploadkmap: can't open console . Loading modules: ip_conntrack version 2.1 (1024 buckets, 8192 max) - 312 bytes per conntrack IPP2P v0.8.2 loading Software Watchdog Timer: 0.05, timer margin: 60 sec Setting kernel variables ... net.ipv4.conf.default.rp_filter = 1 net.ipv4.conf.all.rp_filter = 1 done. Mounting local file systems... Initializing random number generator... done. Starting system log daemon: syslogd. Starting kernel log daemon: klogd. Configuring network interfaces: SIOCGIFFLAGS: No such device Cannot find device "eth1" SIOCGIFFLAGS: No such device done. Will output 1024 bit rsa secret key to '/etc/dropbear/dropbear_rsa_host_key' Generating key, this may take a while... [snip] Starting Dropbear Secure Shell server: dropbear. Starting software watchdog... done. Starting caching dns forwarder: dnsmasq. Starting ulogd: ulogd. Starting "Shorewall firewall": Compiling... Initializing... Determining Zones... IPv4 Zones: net loc Firewall Zone: fw Validating interfaces file... Validating hosts file... Pre-processing Actions... Pre-processing /usr/share/shorewall/action.Drop... Pre-processing /usr/share/shorewall/action.Reject... Validating Policy file... Determining Hosts in Zones... net Zone: eth0:0.0.0.0/0 loc Zone: eth1:0.0.0.0/0 Deleting user chains... Compiling /etc/shorewall/routestopped ... Creating Interface Chains... Compiling Common Rules Adding rules for DHCP Enabling RFC1918 Filtering Compiling Kernel Route Filtering... Compiling IP Forwarding... Compiling /etc/shorewall/rules... Compiling Actions... Compiling /usr/share/shorewall/action.Drop for Chain Drop... Compiling /usr/share/shorewall/action.Reject for Chain Reject... Compiling /etc/shorewall/policy... Compiling Masquerading/SNAT Compiling Traffic Control Rules... Compiling Rule Activation... Shorewall configuration compiled to /var/lib/shorewall/.start Processing /etc/shorewall/params ... Starting Shorewall.... Initializing... Processing /etc/shorewall/init ... Clearing Traffic Control/QOS Deleting user chains... Processing /etc/shorewall/continue ... Enabling Loopback and DNS Lookups Creating Interface Chains... Setting up SMURF control... Processing /etc/shorewall/initdone ... Setting up Black List... Setting up rules for DHCP... Setting up RFC1918 Filtering... Setting up ARP filtering... Setting up Route Filtering... WARNING: Cannot set route filtering on eth0 Setting up Accept Source Routing... IP Forwarding Enabled Setting up SYN Flood Protection... Setting up Rules... Setting up Actions... Creating action chain Drop Creating action chain Reject Creating action chain dropBcast Creating action chain dropInvalid Creating action chain dropNotSyn Applying Policies... Setting up Masquerading/SNAT... ERROR: Unable to determine the routes through interface "eth1" Processing /etc/shorewall/stop ... IP Forwarding Enabled Processing /etc/shorewall/stopped ... Terminated Starting internet superserver: inetd. Starting openntpd: openntpd. Starting mini httpd:. Loading Webconf Plugins: LWP is undefined - using LRP package list; hda: hda1 hda: hda1 initrd(nf) root(nf) config(nf) etc(nf) modules(nf) iptables(nf) dhcpcd(nf) keyboard shorwall(nf) ulogd(nf) dnsmasq dropbear mhttpd(nf) openntpd webconf moddb(nf) - finished. Starting periodic command scheduler: cron. can't open /dev/tty1: No such d LEAF Bering-uClibc 3.1.1 Rev 6 uClibc 0.9.28 firewall ttyS0 can't open /dev/tty1: No such device can't open /dev/tty2: No such device [repeats] ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first ------------------------------------------------------------------------ leaf-user mailing list: [email protected] https://lists.sourceforge.net/lists/listinfo/leaf-user Support Request -- http://leaf-project.org/
