From stu at spacehopper.org Fri Feb 8 12:30:30 2008 From: stu at spacehopper.org (Stuart Henderson) Date: Fri, 8 Feb 2008 01:30:30 +0000 Subject: [flashboot] diffs (ttyflags in rc.initial, libpthread bump, root.hint move) Message-ID: <20080208013030.GH30393@bootes.spacehopper.org> the flashboot rc script doesn't set tty flags, the binary is already in the file lists so this diff just starts it in rc.initial after the files are copied from flash. also two changes for list.largekernel; libpthread was bumped and root.hint moved. would anyone like to commit these? Index: rc.initial =================================================================== RCS file: /cvs/flashboot/initial-conf/rc.initial,v retrieving revision 1.38 diff -u -p -r1.38 rc.initial --- rc.initial 19 Sep 2007 14:40:06 -0000 1.38 +++ rc.initial 8 Feb 2008 01:09:44 -0000 @@ -99,6 +99,9 @@ else echo "ERROR: No flash device found, using default config" fi +echo 'setting tty flags' +ttyflags -a + if [ -f /etc/rc.init ] ; then echo "********* executing /etc/rc.init" . /etc/rc.init Index: list.largekernel =================================================================== RCS file: /cvs/flashboot/list.largekernel,v retrieving revision 1.9 diff -u -p -r1.9 list.largekernel --- list.largekernel 19 Dec 2007 09:39:47 -0000 1.9 +++ list.largekernel 8 Feb 2008 01:20:43 -0000 @@ -6,7 +6,7 @@ COPY ${DESTDIR}/var/named/etc/named.conf COPY ${DESTDIR}/var/named/standard/localhost var/named/standard/localhost COPY ${DESTDIR}/var/named/standard/loopback var/named/standard/loopback COPY ${DESTDIR}/var/named/standard/loopback6.arpa var/named/standard/loopback6.arpa -COPY ${DESTDIR}/var/named/standard/root.hint var/named/standard/root.hint +COPY ${DESTDIR}/var/named/etc/root.hint var/named/etc/root.hint COPY ${DESTDIR}/usr/sbin/named usr/sbin/named COPY ${DESTDIR}/usr/sbin/rndc usr/sbin/rndc @@ -25,7 +25,7 @@ COPY ${DESTDIR}/sbin/kbd sbin/kbd COPY ${DESTDIR}/usr/lib/libssl.so.11.0 usr/lib/libssl.so.11.0 COPY ${DESTDIR}/usr/lib/libkvm.so.9.0 usr/lib/libkvm.so.9.0 COPY ${DESTDIR}/usr/lib/libwrap.so.4.0 usr/lib/libwrap.so.4.0 -COPY ${DESTDIR}/usr/lib/libpthread.so.8.0 usr/lib/libpthread.so.8.0 +COPY ${DESTDIR}/usr/lib/libpthread.so.9.0 usr/lib/libpthread.so.9.0 # Create mountpoint for cdrom SPECIAL mkdir ./cd From jakob at rfc.se Fri Feb 8 18:34:51 2008 From: jakob at rfc.se (Jakob Schlyter) Date: Fri, 8 Feb 2008 08:34:51 +0100 Subject: [flashboot] diffs (ttyflags in rc.initial, libpthread bump, root.hint move) In-Reply-To: <20080208013030.GH30393@bootes.spacehopper.org> References: <20080208013030.GH30393@bootes.spacehopper.org> Message-ID: <1AB244A5-BF0C-43FF-AD48-EA94F3A8F2E7@rfc.se> fixed. jakob From massimo at cedoc.mo.it Fri Feb 22 20:50:50 2008 From: massimo at cedoc.mo.it (Massimo Lusetti) Date: Fri, 22 Feb 2008 10:50:50 +0100 Subject: [flashboot] sshd Bad file descriptor on 4.2-current Message-ID: <20080222105050.47fb9522.massimo@cedoc.mo.it> Hi all, I'm testing and upgrade for our main firewall to 4.2-current, just one day before it become 4.3-beta and i got this error when i login through ssh: sshd[21291]: error: getsockname failed: Bad file descriptor The kernel is the one for the LE564 with pcibios disabled to get it run on LE565 boards. Plus i got this error at the end of kernel booting when it tries to mount the flash card. wd0(pciide1:1:1): timeout type: ata c_bcount: 512 c_skip: 0 pciide1:1:1: bus-master DMA error: missing interrupt, status=0x41 wd0c: device timeout reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0), retrying wd0(pciide1:1:1): timeout type: ata c_bcount: 512 c_skip: 0 pciide1:1:1: bus-master DMA error: missing interrupt, status=0x41 wd0: transfer error, downgrading to PIO mode 4 wd0(pciide1:1:1): using PIO mode 4 wd0c: device timeout reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0), retrying wd0: soft error (corrected) root on rd0a swap on rd0b dump on rd0b Does anyone have any clue?! Thanks! -- Massimo Don't believe everything you hear or anything you say.