Send freebsd-current mailing list submissions to
freebsd-current@freebsd.org
To subscribe or unsubscribe via the World Wide Web, visit
http://lists.freebsd.org/mailman/listinfo/freebsd-current
or, via email, send a message with subject or body 'help' to
freebsd-current-request@freebsd.org
You can reach the person managing the list at
freebsd-current-owner@freebsd.org
When replying, please edit your Subject line so it is more specific
than "Re: Contents of freebsd-current digest..."
Today's Topics:
1. Re: Rewrite cvsup & portupgrade in C (cpghost)
2. Dell Latitude D400 ndis Dell TrueMobile 1400 (Trond Davidsen)
3. RFC: Sorting in top -m io (Giorgos Keramidas)
4. Problems updating KDE off ports (Jayson)
5. Re: Native preemption is the culprit [was Re: today's CURRENT
lockups] (Taku YAMAMOTO)
6. Re: Rewrite cvsup & portupgrade in C (Kirk Strauser)
7. Re: Rewrite cvsup & portupgrade in C (Brad Knowles)
8. Alpha problems (though maybe not just Alpha...) (Ken Smith)
9. NFS over IPv6 (Jun Kuriyama)
10. Re: Problems updating KDE off ports (Andy Fawcett)
11. Re: Problems updating KDE off ports (Andy Fawcett)
12. Re: Native preemption is the culprit [was Re: today's CURRENT
lockups] (Thorsten Greiner)
13. NDISulator (ndiscvt) bus errors (Eric Anderson)
14. [current tinderbox] failure on ia64/ia64 (FreeBSD Tinderbox)
15. [current tinderbox] failure on powerpc/powerpc (FreeBSD Tinderbox)
16. where did the gdb "-k" option go? (Robert Wagner)
17. Re: losing serial console (Bjoern A. Zeeb)
18. Re: where did the gdb "-k" option go? (Scott Long)
19. Re: Alpha problems (though maybe not just Alpha...)
(Andrew Gallatin)
20. [current tinderbox] failure on sparc64/sparc64 (FreeBSD Tinderbox)
21. Re: losing serial console (Poul-Henning Kamp)
22. Re: Current broken on my laptop (Toshiba Libretto 110CT)
(John Baldwin)
23. Re: Rewrite cvsup & portupgrade in C (Steve O'Hara-Smith)
24. Re: losing serial console (Bjoern A. Zeeb)
25. Re: where did the gdb "-k" option go? (Marcel Moolenaar)
26. Re: today's CURRENT lockups (Robert Watson)
27. Re: NFS over IPv6 (Robert Watson)
28. Re: losing serial console (Robert Watson)
29. Re: RFC: Sorting in top -m io (Alfred Perlstein)
30. Re: losing serial console (Bjoern A. Zeeb)
31. Re: Rewrite cvsup & portupgrade in C (David O'Brien)
----------------------------------------------------------------------
Message: 1
Date: Thu, 8 Jul 2004 14:38:23 +0200 (CEST)
From: cpghost <cpghost@cordula.ws>
Subject: Re: Rewrite cvsup & portupgrade in C
To: harald@skogtun.org
Cc: freebsd-current@freebsd.org
Message-ID: <20040708123823.01F534AC29@fw.farid-hajji.net>
> >> I'm confused. Once these applications are in binary form, what
> >> difference does it make what language they were written in?
> >
> > HUGE! Well maybe not HUGE, but huge. Languages such as Ada and Modula-3
> > actually do bounds checking on arrays, for instance. The safety and
> > correctness of an application running depends on the language it is
> > written in. We should have a LOT less buffer overflows if an application
> > language were used for web servers, mail servers, and other network
> > daemons.
>
> This has always puzzled me. If, as the supporters of Ada, Modula, Oberon
> and so on claim, that the language an application is written in matters
> that much, why don't we see a mail server or other network daemons
> written in those languages? Aren't the people who know those languages
> interested in contributing to a secure system?
Performance perhaps? Features such as array bounds checking (available
in C++ as well, for example in the at() member of the vector<> class
template) always take additional CPU cycles and incur a performance hit.
This may not be very important for small loads, but it doesn't scale well
in high performance environments. This problem is independant of the CPU
horsepower, by the way.
I'm not even referring to compiled vs. (byte-code) interpreted languages
(that would be unfair). Even with compiled languages like Ada and Modula-3,
bounds checking does slow things down (a bit). It is always good to have a
way to turn it off, after you've squashed off-by-one errors etc.
Actually, there are some network daemons written in Perl, Python, Java, ...
probably also in Ada or Modula-3. They are great for their intended use,
but they are generally not used in production environments with high
requirements.
Oh, of course, it's easier to find C/C++ programmers to maintain a C or
C++ program. Using more exotic languages may be a good academic exercise,
but for IT management, it's a pain in the neck in the long run.
> Hilsen Harald.
-cpghost.
--
Cordula's Web. http://www.cordula.ws/
------------------------------
Message: 2
Date: Thu, 08 Jul 2004 14:41:28 +0000
From: Trond Davidsen <Trond@Davidsen.no>
Subject: Dell Latitude D400 ndis Dell TrueMobile 1400
To: freebsd-current@freebsd.org
Message-ID: <40ED5D18.7000507@Davidsen.no>
Content-Type: text/plain; charset=us-ascii; format=flowed
Hi,
I have a bit trouble getting a Dell TrueMobile 1400 wireless card
working with 5.2-current and the ndisulator on a Dell latitude D400, I
get the following error:
ndis0: <Dell TrueMobile 1400 Dual Band WLAN Mini-PCI Card> mem
0xfcfec000-0xfcfedfff irq 11 at device 3.0 on pci1
ndis0: [GIANT-LOCKED]
ndis0: NDIS API version: 5.0
ndis0: NDIS ERROR: c000138d (unknown error)
ndis0: NDIS NUMERRORS: 1
ndis0: argptr: 0x103
ndis0: init handler failed
device_attach: ndis0 attach returned 6
have anybody got a setup like this to work?
dmesg:
http://www.davidsen.no/~juncie/ndis/dmesg.txt
uname -a:
http://www.davidsen.no/~juncie/ndis/uname.txt
bcmwl5.inf
http://www.davidsen.no/~juncie/ndis/bcmwl5.inf
bcmwl5.sys
http://www.davidsen.no/~juncie/ndis/bcmwl5.sys
ndis_driver_data.h
http://www.davidsen.no/~juncie/ndis/ndis_driver_data.h
-- Trond
------------------------------
Message: 3
Date: Wed, 7 Jul 2004 15:47:51 +0300
From: Giorgos Keramidas <keramida@freebsd.org>
Subject: RFC: Sorting in top -m io
To: Alfred Perlstein <alfred@freebsd.org>
Cc: current@freebsd.org
Message-ID: <20040707124751.GA66588@orion.daedalusnetworks.priv>
Content-Type: text/plain; charset=us-ascii
Hi all...
The new -m io option of top is cool, but sorting is broken when the 'io'
mode is enabled. The following patch adds sorting capabilities to the 'io'
mode too and makes sure that hitting 'h' for help prints the right list of
sorting keywords :)
The only thing I didn't add a sorting capability for is "percent", because
I'm not sure I know all it takes to do this.
What do you all think of this patch to top(1)?
%%
Index: contrib/top/commands.c
===================================================================
RCS file: /home/ncvs/src/contrib/top/commands.c,v
retrieving revision 1.6
diff -u -r1.6 commands.c
--- contrib/top/commands.c 17 Jul 2003 23:56:40 -0000 1.6
+++ contrib/top/commands.c 7 Jul 2004 12:40:42 -0000
@@ -76,8 +76,12 @@
k - kill processes; send a signal to a list of processes\n\
n or # - change number of processes to display\n", stdout);
#ifdef ORDER
- fputs("\
+ if (displaymode == DISP_CPU)
+ fputs("\
o - specify sort order (pri, size, res, cpu, time)\n", stdout);
+ else
+ fputs("\
+o - specify sort order (read, write, fault, total)\n", stdout);
#endif
fputs("\
r - renice a process\n\
Index: contrib/top/top.c
===================================================================
RCS file: /home/ncvs/src/contrib/top/top.c,v
retrieving revision 1.12
diff -u -r1.12 top.c
--- contrib/top/top.c 5 Jul 2004 12:19:53 -0000 1.12
+++ contrib/top/top.c 7 Jul 2004 12:11:01 -0000
@@ -96,10 +96,11 @@
#ifdef ORDER
extern int (*proc_compares[])();
+extern int (*io_compares[])();
#else
extern int proc_compare();
-#endif
extern int io_compare();
+#endif
time_t time();
caddr_t get_process_info();
@@ -567,15 +568,17 @@
/* get the current stats */
get_system_info(&system_info);
- if (displaymode == DISP_CPU) {
#ifdef ORDER
+ if (displaymode == DISP_CPU)
compare = proc_compares[order_index];
+ else
+ compare = io_compares[order_index];
#else
+ if (displaymode == DISP_CPU)
compare = proc_compare;
-#endif
- } else {
+ else
compare = io_compare;
- }
+#endif
/* get the current set of processes */
processes =
Index: usr.bin/top/machine.c
===================================================================
RCS file: /home/ncvs/src/usr.bin/top/machine.c,v
retrieving revision 1.63
diff -u -r1.63 machine.c
--- usr.bin/top/machine.c 5 Jul 2004 14:55:58 -0000 1.63
+++ usr.bin/top/machine.c 7 Jul 2004 12:37:42 -0000
@@ -205,10 +205,16 @@
long percentages();
#ifdef ORDER
-/* sorting orders. first is default */
-char *ordernames[] = {
+/*
+ * Sorting orders. One vector per display mode.
+ * The first element is the default for each mode.
+ */
+char *proc_ordernames[] = {
"cpu", "size", "res", "time", "pri", NULL
};
+char *io_ordernames[] = {
+ "total", "read", "write", "fault", NULL
+};
#endif
int
@@ -265,7 +271,15 @@
statics->memory_names = memorynames;
statics->swap_names = swapnames;
#ifdef ORDER
- statics->order_names = ordernames;
+ switch (displaymode) {
+ case DISP_IO:
+ statics->order_names = io_ordernames;
+ break;
+ case DISP_CPU:
+ default:
+ statics->order_names = proc_ordernames;
+ break;
+ }
#endif
/* all done! */
@@ -917,14 +931,74 @@
}
#endif
+/* compare_io - the comparison function for sorting by total io */
+
int
+#ifdef ORDER
+compare_iototal(void *arg1, void *arg2)
+#else
io_compare(void *arg1, void *arg2)
+#endif
{
struct kinfo_proc *p1 = *(struct kinfo_proc **)arg1;
struct kinfo_proc *p2 = *(struct kinfo_proc **)arg2;
return (get_io_total(p2) - get_io_total(p1));
}
+
+#ifdef ORDER
+/* io compare routines */
+int compare_ioread(), compare_iowrite(), compare_iofault();
+
+int (*io_compares[])() = {
+ compare_iototal,
+ compare_ioread,
+ compare_iowrite,
+ compare_iofault,
+ NULL
+};
+
+int
+compare_ioread(void *arg1, void *arg2)
+{
+ struct kinfo_proc *p1 = *(struct kinfo_proc **)arg1;
+ struct kinfo_proc *p2 = *(struct kinfo_proc **)arg2;
+ long dummy, inp1, inp2;
+
+ (void) get_io_stats(p1, &inp1, &dummy, &dummy);
+ (void) get_io_stats(p2, &inp2, &dummy, &dummy);
+
+ return (inp2 - inp1);
+}
+
+int
+compare_iowrite(void *arg1, void *arg2)
+{
+ struct kinfo_proc *p1 = *(struct kinfo_proc **)arg1;
+ struct kinfo_proc *p2 = *(struct kinfo_proc **)arg2;
+ long dummy, oup1, oup2;
+
+ (void) get_io_stats(p1, &dummy, &oup1, &dummy);
+ (void) get_io_stats(p2, &dummy, &oup2, &dummy);
+
+ return (oup2 - oup1);
+}
+
+int
+compare_iofault(void *arg1, void *arg2)
+{
+ struct kinfo_proc *p1 = *(struct kinfo_proc **)arg1;
+ struct kinfo_proc *p2 = *(struct kinfo_proc **)arg2;
+ long dummy, flp1, flp2;
+
+ (void) get_io_stats(p1, &dummy, &dummy, &flp1);
+ (void) get_io_stats(p2, &dummy, &dummy, &flp2);
+
+ return (flp2 - flp1);
+}
+
+#endif /* ORDER */
+
/*
* proc_owner(pid) - returns the uid that owns process "pid", or -1 if
* the process does not exist.
%%
------------------------------
Message: 4
Date: Thu, 8 Jul 2004 23:07:56 +1000
From: "Jayson" <Jayson-H@iiNet.net.au>
Subject: Problems updating KDE off ports
To: <current@freebsd.org>
Message-ID: <000501c464ec$971b1350$0600a8c0@lappy>
Content-Type: text/plain; charset="us-ascii"
Hi there
Currently running FreeBSD 5.2-CURRENT #0: Mon Jun 28 19:04:23 EST 2004
I'm having problems when trying to update KDE via ports
Attached is a dmesg output as well as a copy of the error messages
Any help or advice is greatly appreciated :-)
-------------- next part --------------
Copyright (c) 1992-2004 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD 5.2-CURRENT #0: Mon Jun 28 19:04:23 EST 2004
root@server.skynet.no-ip.org:/usr/obj/usr/src/sys/SKYNET
Preloaded elf kernel "/boot/kernel/kernel" at 0xc0771000.
Preloaded elf module "/boot/kernel/acpi.ko" at 0xc07711f4.
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Pentium(R) 4 CPU 1500MHz (1500.06-MHz 686-class CPU)
Origin = "GenuineIntel" Id = 0xf07 Stepping = 7
Features=0x3febf9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV
,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM>
real memory = 536805376 (511 MB)
avail memory = 519913472 (495 MB)
random: <entropy source, Software, Yarrow>
Pentium Pro MTRR support enabled
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <VIAP4X AWRDACPI> on motherboard
acpi0: [GIANT-LOCKED]
pcibios: BIOS version 2.10
acpi0: Power Button (fixed)
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0
cpu0: <ACPI CPU (3 Cx states)> on acpi0
acpi_button0: <Power Button> on acpi0
acpi_button1: <Sleep Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0x500-0x50f,0x400-0x47f,0xcf8-0xcff on acpi
0
pci0: <ACPI PCI bus> on pcib0
pcib0: slot 11 INTA is routed to irq 5
pcib0: slot 17 INTC is routed to irq 11
agp0: <VIA Generic host to PCI bridge> mem 0xe0000000-0xe3ffffff at device 0.0
on pci0
pcib1: <PCI-PCI bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pcib0: slot 1 INTA is routed to irq 11
pcib1: slot 0 INTA is routed to irq 11
pci1: <display, VGA> at device 0.0 (no driver attached)
xl0: <3Com 3c905C-TX Fast Etherlink XL> port 0xd000-0xd07f mem 0xef000000-0xef
00007f irq 5 at device 11.0 on pci0
miibus0: <MII bus> on xl0
ukphy0: <Generic IEEE 802.3u media interface> on miibus0
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
xl0: Ethernet address: 00:04:75:de:bb:94
xl0: [GIANT-LOCKED]
isab0: <PCI-ISA bridge> at device 17.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <VIA 8233 UDMA100 controller> port 0xd400-0xd40f,0x376,0x170-0x177,0x
3f6,0x1f0-0x1f7 at device 17.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
pci0: <multimedia, audio> at device 17.5 (no driver attached)
fdc0: <Enhanced floppy controller (i82077, NE72065 or clone)> port 0x3f7,0x3f0
-0x3f5 irq 6 drq 2 on acpi0
sio0 port 0x3f8-0x3ff irq 4 on acpi0
sio0: type 16550A
sio1 port 0x2f8-0x2ff irq 3 on acpi0
sio1: type 16550A
ppc0 port 0x778-0x77b,0x378-0x37f irq 7 drq 3 on acpi0
ppc0: Generic chipset (ECP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/16 bytes threshold
ppbus0: <Parallel port bus> on ppc0
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: model IntelliMouse, device ID 3
orm0: <Option ROM> at iomem 0xcc000-0xcc7ff on isa0
pmtimer0 on isa0
sc0: <System console> on isa0
sc0: VGA <16 virtual consoles, flags=0x0>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
Timecounter "TSC" frequency 1500062584 Hz quality 800
Timecounters tick every 10.000 msec
acpi_cpu: throttling enabled, 2 steps (100% to 50.0%), currently 100.0%
ad0: 114473MB <WDC WD1200JB-00EVA0> [232581/16/63] at ata0-master UDMA100
acd0: DVDROM <JLMS XJ-HD166S> at ata1-slave PIO4
Mounting root from ufs:/dev/ad0s1a
pid 34593 (kdeinit), uid 1001: exited on signal 11 (core dumped)
pid 34598 (kdeinit), uid 1001: exited on signal 11 (core dumped)
pid 34601 (kdeinit), uid 1001: exited on signal 11 (core dumped)
pid 34684 (kdeinit), uid 1001: exited on signal 11 (core dumped)
pid 35899 (kdeinit), uid 1001: exited on signal 11 (core dumped)
pid 45562 (artsshell), uid 1001: exited on signal 6 (core dumped)
pid 28008 (kdeinit), uid 1001: exited on signal 11 (core dumped)
pid 28013 (kdeinit), uid 1001: exited on signal 11 (core dumped)
pid 28016 (kdeinit), uid 1001: exited on signal 11 (core dumped)
pid 28037 (artsshell), uid 1001: exited on signal 6 (core dumped)
pid 28097 (kdeinit), uid 0: exited on signal 11 (core dumped)
pid 28102 (kdeinit), uid 0: exited on signal 11 (core dumped)
pid 28105 (kdeinit), uid 0: exited on signal 11 (core dumped)
pid 60509 (artsshell), uid 0: exited on signal 6 (core dumped)
pid 16563 (dcopidl), uid 0: exited on signal 6 (core dumped)
pid 72319 (dcopidl), uid 0: exited on signal 6 (core dumped)
pid 21182 (conftest), uid 0: exited on signal 12 (core dumped)
pid 69241 (dcopidl), uid 0: exited on signal 6 (core dumped)
pid 68794 (dcopidl), uid 0: exited on signal 6 (core dumped)
pid 11634 (kdeinit), uid 0: exited on signal 11 (core dumped)
pid 11639 (kdeinit), uid 0: exited on signal 11 (core dumped)
pid 11642 (kdeinit), uid 0: exited on signal 11 (core dumped)
pid 12377 (artsshell), uid 0: exited on signal 6 (core dumped)
-------------- next part --------------
Fatal error 'Spinlock called when not threaded.' at line 83 in file /usr/src/l
ib
/libpthread/thread/thr_spinlock.c (errno = 0)
Abort trap (core dumped)
gmake[3]: *** [ksycoca.kidl] Error 1
gmake[3]: Leaving directory `/usr/ports/x11/kdelibs3/work/kdelibs-3.2.3/kdecor
e'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/usr/ports/x11/kdelibs3/work/kdelibs-3.2.3/kdecor
e'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/x11/kdelibs3/work/kdelibs-3.2.3'
gmake: *** [all] Error 2
*** Error code 2
Stop in /usr/ports/x11/kdelibs3.
*** Error code 1
Stop in /usr/ports/x11/kde3.
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade13368.0 m
ak
e
** Fix the problem and try again.
** Listing the failed packages (*:skipped / !:failed)
! x11/kde3 (kde-3.1.4) (new compiler error)
---> Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed
------------------------------
Message: 5
Date: Thu, 8 Jul 2004 22:21:43 +0900
From: Taku YAMAMOTO <taku@tackymt.homeip.net>
Subject: Re: Native preemption is the culprit [was Re: today's CURRENT
lockups]
To: freebsd-current@freebsd.org
Message-ID: <20040708222143.0f24c076.taku@tackymt.homeip.net>
Content-Type: text/plain; charset=US-ASCII
greetings,
A quick glance showed me that there are some interesting code paths in
sched_ule.c that can be problematic in SMP case.
1. sched_choose() => kseq_idled() => sched_add()
2. sched_choose() => kseq_assign() => sched_add()
3. sched_runnable() => kseq_assign() => sched_add()
Here is the patch that re-enables preemption except for the above three
cases.
--- sched_ule.c.orig Tue Jul 6 14:57:29 2004
+++ sched_ule.c Thu Jul 8 06:37:30 2004
@@ -286,6 +286,7 @@
static void sched_balance_groups(void);
static void sched_balance_group(struct kseq_group *ksg);
static void sched_balance_pair(struct kseq *high, struct kseq *low);
+static void sched_add_internal(struct thread *td, int preemptive);
static void kseq_move(struct kseq *from, int cpu);
static int kseq_idled(struct kseq *kseq);
static void kseq_notify(struct kse *ke, int cpu);
@@ -616,7 +617,7 @@
kseq_runq_rem(steal, ke);
kseq_load_rem(steal, ke);
ke->ke_cpu = PCPU_GET(cpuid);
- sched_add(ke->ke_thread);
+ sched_add_internal(ke->ke_thread, 0);
return (0);
}
}
@@ -644,7 +645,7 @@
for (; ke != NULL; ke = nke) {
nke = ke->ke_assign;
ke->ke_flags &= ~KEF_ASSIGNED;
- sched_add(ke->ke_thread);
+ sched_add_internal(ke->ke_thread, 0);
}
}
@@ -1542,6 +1543,14 @@
void
sched_add(struct thread *td)
{
+#ifdef SMP
+ sched_add_internal(td, 1);
+}
+
+static void
+sched_add_internal(struct thread *td, int preemptive)
+{
+#endif /* SMP */
struct kseq *kseq;
struct ksegrp *kg;
struct kse *ke;
@@ -1623,17 +1632,21 @@
if (td->td_priority < curthread->td_priority)
curthread->td_flags |= TDF_NEEDRESCHED;
-#if 0
#ifdef SMP
/*
* Only try to preempt if the thread is unpinned or pinned to the
* current CPU.
+ * XXX - avoid preemption if called from sched_ule.c internally.
+ * there're a few code pathes that may be problematic:
+ * sched_choose() => kseq_idled() => sched_add
+ * sched_choose() => kseq_assign() => sched_add
+ * sched_runnable() => kseq_assign() => sched_add
*/
- if (KSE_CAN_MIGRATE(ke, class) || ke->ke_cpu == PCPU_GET(cpuid))
+ if (preemptive &&
+ (KSE_CAN_MIGRATE(ke, class) || ke->ke_cpu == PCPU_GET(cpuid)))
#endif
if (maybe_preempt(td))
return;
-#endif
ke->ke_ksegrp->kg_runq_kses++;
ke->ke_state = KES_ONRUNQ;
This patch is tested on P4@2.8GHz HTT-enabled machine.
It has been running for several hours without a hang, although I have to
admit that this machine is too idle, far from being stressed.
On Tue, 6 Jul 2004 00:14:21 -0400 (EDT)
Robert Watson <rwatson@freebsd.org> wrote:
>
> (This time to more people)
>
> The patch below appears to (brute force) eliminate the crash/hang I'm
> experiencing with SCHED_ULE in the post-preemption universe. However, I
> was experiencing it only in the SMP case, not UP, so it could be I'm just
> not triggering it timing-wise. This would be a temporary fix until jhb is
> online again post-USENIX to take a look, assuming this works around the
> problem for people other than me.
>
> Note that this is probably damaging to interrupt processing latency.
>
> Robert N M Watson FreeBSD Core Team, TrustedBSD Projects
> robert@fledge.watson.org Principal Research Scientist, McAfee Research
(snip)
> _______________________________________________
> freebsd-current@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
--
-|-__ YAMAMOTO, Taku
| __ < <taku@tackymt.homeip.net>
Post Scriptum to the people who know me as taku@cent.saitama-u.ac.jp:
My email address has been changed since April,
because I've left the university.
------------------------------
Message: 6
Date: Thu, 8 Jul 2004 08:32:16 -0500
From: Kirk Strauser <kirk@strauser.com>
Subject: Re: Rewrite cvsup & portupgrade in C
To: freebsd-current@freebsd.org
Message-ID: <200407080832.16508.kirk@strauser.com>
Content-Type: text/plain; charset="iso-8859-1"
On Thursday 2004-07-08 07:38 am, cpghost wrote:
> Actually, there are some network daemons written in Perl, Python, Java,
> ... probably also in Ada or Modula-3. They are great for their intended
> use, but they are generally not used in production environments with high
> requirements.
I used Python to write a bridge adapter between my company's Unix servers
and Windows databases and it's been running uninterrupted for several
months in a rather demanding environment. Of course, the plural of
"anecdote" isn't "data", so take that with a grain of salt.
I do almost all new development in Python. Frankly, I don't trust my own
abilities to catch every single stupid error that I'm likely to make when
writing in C, and my personal throughput is much higher in Python than C.
Having said that, one of the things that attracted me to Python is that
it's trivially easy to write specific functions in other languages
(including C) where appropriate, so you can use a nice, high-level language
for the parts where performance isn't critical, but some tightly optimized
C for the essential components.
Freenet is written in Java, although that's not a shining example of a sleek
application. The BitTorrent tracker and most common client apps are
written in Python. The maintainer of Leafnode has discussed writing the
new version in Python. There's not a huge groundswell yet, but servers in
high-level languages are starting to trickle in.
--
Kirk Strauser
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 155 bytes
Desc: signature
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20040708/
aca98e87/attachment-0001.bin
------------------------------
Message: 7
Date: Thu, 8 Jul 2004 15:49:44 +0200
From: Brad Knowles <brad.knowles@skynet.be>
Subject: Re: Rewrite cvsup & portupgrade in C
To: Kirk Strauser <kirk@strauser.com>
Cc: freebsd-current@freebsd.org
Message-ID: <p06002065bd13014bb45c@[10.0.1.3]>
Content-Type: text/plain; charset="us-ascii" ; format="flowed"
At 8:32 AM -0500 2004-07-08, Kirk Strauser wrote:
> There's not a huge groundswell yet, but servers in
> high-level languages are starting to trickle in.
Of course, Mailman is also written in Python.
--
Brad Knowles, <brad.knowles@skynet.be>
"Those who would give up essential Liberty, to purchase a little
temporary Safety, deserve neither Liberty nor Safety."
-- Benjamin Franklin (1706-1790), reply of the Pennsylvania
Assembly to the Governor, November 11, 1755
SAGE member since 1995. See <http://www.sage.org/> for more info.
------------------------------
Message: 8
Date: Thu, 8 Jul 2004 09:54:41 -0400
From: Ken Smith <kensmith@cse.Buffalo.EDU>
Subject: Alpha problems (though maybe not just Alpha...)
To: freebsd-current@freebsd.org, freebsd-alpha@freebsd.org
Message-ID: <20040708135441.GD15096@electra.cse.Buffalo.EDU>
Content-Type: text/plain; charset=us-ascii
FYI, the Alpha reference machine in the cluster has had problems the
past few days when anything significant (e.g. 'make buildworld'...)
gets run on it. It usually locks up solid right after printing
this on the console:
panic() at panic+0x200
_mtx_assert() at _mtx_assert+0xb4
vrele() at vr 16 32 48 64 80
fatal kernel trap:
trap entry = 0x2 (memory management fault)
cpuid = 0
faulting va = 0x0
type = access violation
cause = instruction fetch
pc = 0x0
ra = 0x0
sp = 0xfffffe00317bfc70
curthread = 0xfffffc007d772000
pid = 23, comm = intr: ahc1
spin lock sched lock held by 0xfffffc007d772000 for > 5 seconds
A kernel built July 2nd doesn't seem to have this issue. I haven't
had time to play the 'find-which-commit-breaks-it' game yet. My
guess is that this is not Alpha specific but that's just a guess,
the amd64 ref machine in the cluster has been pretty fragile the
past few days as well though it usually just locks up solid with
nothing useful on the console. Both are dual processor machines.
I had built a kernel for Alpha last night to test something for
someone so Robert's commit yesterday backing off some aspects
of the scheduler doesn't appear to have been the problem causing
this.
--
Ken Smith
- From there to here, from here to | kensmith@cse.buffalo.edu
there, funny things are everywhere. |
- Theodore Geisel |
------------------------------
Message: 9
Date: Thu, 08 Jul 2004 22:58:03 +0900
From: Jun Kuriyama <kuriyama@imgsrc.co.jp>
Subject: NFS over IPv6
To: Current <freebsd-current@FreeBSD.org>
Message-ID: <7mk6xey51w.wl@black3.imgsrc.co.jp>
Content-Type: text/plain; charset=US-ASCII
With today's kernel, I see strange behavior with NFS over IPv6. My
userland is two days older. I'll check with sync'ed kernel/userland
tomorrow.
# NFS server is 5.2.1R, client is current.
When I did some write operation, it may wait too long. I can
sometimes write without problem, but sometimes not. I took tcpdump -vvv:
22:48:25.128338 2001:218:422:2::XXXX > 2001:218:422:2::YYYY: frag (0xdf59d78f:
0|1448) 2001:218:422:2::XXXX.1516376639 > 2001:218:422:2::YYYY.2049: 1440 writ
e fh 1034,59016/16299072 4586 bytes @ 0xc000 <unstable> [flowlabel 0x56097] (l
en 1456, hlim 64)
22:48:25.128371 2001:218:422:2::XXXX > 2001:218:422:2::YYYY: frag (0xdf59d78f:
1448|1448) [flowlabel 0x56097] (len 1456, hlim 64)
22:48:25.128405 2001:218:422:2::XXXX > 2001:218:422:2::YYYY: frag (0xdf59d78f:
2896|1448) [flowlabel 0x56097] (len 1456, hlim 64)
22:48:25.128430 2001:218:422:2::XXXX > 2001:218:422:2::YYYY: frag (0xdf59d78f:
4344|400) [flowlabel 0x56097] (len 408, hlim 64)
22:48:25.129335 2001:218:422:2::YYYY.2049 > 2001:218:422:2::XXXX.1516376639: r
eply ok 160 write PRE: sz 0xd1ea mtime 1089294496.000000 ctime 1089294496.0000
00 POST: REG 664 ids 1000/1000 sz 0xd1ea nlink 1 rdev 199/65077248 fsid 0x420
fileid 0xf8b440 a/m/ctime 1089287695.000000 1089294502.000000 1089294502.00000
0 4586 bytes <unstable> (len 168, hlim 64)
22:48:25.129489 2001:218:422:2::XXXX > 2001:218:422:2::YYYY: [icmp6 sum ok] ic
mp6: 2001:218:422:2::XXXX udp port 829 unreachable (len 216, hlim 64)
I don't know why client side replied as port unreachable. With IPv4,
there is no problem.
--
Jun Kuriyama <kuriyama@imgsrc.co.jp> // IMG SRC, Inc.
<kuriyama@FreeBSD.org> // FreeBSD Project
------------------------------
Message: 10
Date: Thu, 8 Jul 2004 17:04:23 +0300
From: Andy Fawcett <andy@athame.co.uk>
Subject: Re: Problems updating KDE off ports
To: freebsd-current@freebsd.org, Jayson-H@iiNet.net.au
Cc: current@freebsd.org
Message-ID: <200407081704.23732.andy@athame.co.uk>
Content-Type: text/plain; charset="iso-8859-1"
On Thursday 08 July 2004 16:07, Jayson wrote:
> Hi there
> Currently running FreeBSD 5.2-CURRENT #0: Mon Jun 28 19:04:23 EST
> 2004
>
> I'm having problems when trying to update KDE via ports
>
> Attached is a dmesg output as well as a copy of the error messages
>
> Any help or advice is greatly appreciated :-)
Mixed threading libs, see /usr/src/UPDATING, search for libmap.conf.
A.
--
Andy Fawcett | andy@athame.co.uk
| tap@kde.org
"In an open world without walls and fences, | tap@lspace.org
we wouldn't need Windows and Gates." -- anon | tap@fruitsalad.org
------------------------------
Message: 11
Date: Thu, 8 Jul 2004 17:04:23 +0300
From: Andy Fawcett <andy@athame.co.uk>
Subject: Re: Problems updating KDE off ports
To: freebsd-current@freebsd.org, Jayson-H@iiNet.net.au
Cc: current@freebsd.org
Message-ID: <200407081704.23732.andy@athame.co.uk>
Content-Type: text/plain; charset="iso-8859-1"
On Thursday 08 July 2004 16:07, Jayson wrote:
> Hi there
> Currently running FreeBSD 5.2-CURRENT #0: Mon Jun 28 19:04:23 EST
> 2004
>
> I'm having problems when trying to update KDE via ports
>
> Attached is a dmesg output as well as a copy of the error messages
>
> Any help or advice is greatly appreciated :-)
Mixed threading libs, see /usr/src/UPDATING, search for libmap.conf.
A.
--
Andy Fawcett | andy@athame.co.uk
| tap@kde.org
"In an open world without walls and fences, | tap@lspace.org
we wouldn't need Windows and Gates." -- anon | tap@fruitsalad.org
------------------------------
Message: 12
Date: Thu, 8 Jul 2004 16:10:21 +0200
From: Thorsten Greiner <thorsten@tgreiner.net>
Subject: Re: Native preemption is the culprit [was Re: today's CURRENT
lockups]
To: Taku YAMAMOTO <taku@tackymt.homeip.net>
Cc: freebsd-current@freebsd.org
Message-ID: <20040708141020.GA839@tybalt.nev.psi.de>
Content-Type: text/plain; charset="us-ascii"
* Taku YAMAMOTO <taku@tackymt.homeip.net> [2004-07-08 15:31]:
> This patch is tested on P4@2.8GHz HTT-enabled machine.
>
> It has been running for several hours without a hang, although I have to
> admit that this machine is too idle, far from being stressed.
On my box I get these warnings:
Jul 8 15:56:46 tybalt kernel: ad0: WARNING - WRITE_DMA interrupt
was seen but timeout fired LBA=4063551
Jul 8 15:57:03 tybalt kernel: ad0: WARNING - READ_DMA interrupt was
seen but timeout fired LBA=19449983
Jul 8 15:57:30 tybalt kernel: ad0: WARNING - READ_DMA interrupt was
seen but timeout fired LBA=19981629
Jul 8 15:57:50 tybalt kernel: ad0: WARNING - READ_DMA interrupt was
seen but timeout fired LBA=11457711
Jul 8 15:58:22 tybalt kernel: ad0: WARNING - READ_DMA interrupt was
seen but timeout fired LBA=24073775
Jul 8 15:58:25 tybalt kernel: ad0: WARNING - WRITE_DMA interrupt
was seen but timeout fired LBA=25168335
This is while performing a background fsck. In this state the system
seems to hang, probably waiting for some disk i/o to finish.
Regards
-Thorsten
--
Unix is user friendly, it's just particular about the friends it chooses.
This message is digitally signed. To verify its integrity, download a copy
of GnuPG for your operating system from http://www.gnupg.org .
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20040708/
920d5531/attachment-0001.bin
------------------------------
Message: 13
Date: Thu, 08 Jul 2004 09:12:27 -0500
From: Eric Anderson <anderson@centtech.com>
Subject: NDISulator (ndiscvt) bus errors
To: current@freebsd.org
Message-ID: <40ED564B.8020801@centtech.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Hey everyone, I'm playing with the NDISulator and am having some
problems with the ndiscvt tool. I get a bus error when trying to build
the .h file. I'm trying to get a PCCARD GPRS modem working (Sierra 750).
Here's what I'm doing:
# cd /sys/modules/ndis/
# make
# make install
# cd ../if_ndis/
# cp /tmp/ndis/WinNT/acgprs.sys ./
# cp /tmp/ndis/WinNT/mdmacgprs.inf ./
# cp /tmp/ndis/WinNT/oemsetup.inf ./
# ndiscvt -i mdmacgprs.inf -s acgprs.sys -o ndis_driver_data.h
Bus error
# ndiscvt -i oemsetup.inf -s acgprs.sys -o ndis_driver_data.h
ndiscvt: line 25: "Jazz-Internal Bus": syntax error.
# ndiscvt -i mdmacgprs.inf -s acgprs.sys -o ndis_driver_data.h
Bus error
# ls -al
total 194
drwxr-xr-x 2 root wheel 512 Jul 8 08:15 .
drwxr-xr-x 257 root wheel 4096 May 13 09:43 ..
-rw-r--r-- 1 root wheel 263 Mar 8 10:14 Makefile
-rw-r--r-- 1 root wheel 146992 Jul 8 08:14 acgprs.sys
-rw-r--r-- 1 root wheel 3136 Jul 8 08:14 mdmacgprs.inf
-rw-r--r-- 1 root wheel 0 Jul 8 08:15 ndis_driver_data.h
-rw-r--r-- 1 root wheel 37247 Jul 8 08:15 oemsetup.inf
A tarball of this directory is here:
http://users.centtech.com/~anderson/sierra750_ndis.tar.gz
uname -a:
FreeBSD hostname 5.2-CURRENT FreeBSD 5.2-CURRENT #3: Thu May 13 16:07:53
CDT 2004
cvsup'ing my src now and will rebuild and try again when done, but in
the mean time, what else can I do to help figure this out?
Thanks in advance..
Eric
--
------------------------------------------------------------------
Eric Anderson Sr. Systems Administrator Centaur Technology
Talk sense to a fool and he calls you foolish.
------------------------------------------------------------------
------------------------------
Message: 14
Date: Thu, 8 Jul 2004 10:22:34 -0400 (EDT)
From: FreeBSD Tinderbox <tinderbox@freebsd.org>
Subject: [current tinderbox] failure on ia64/ia64
To: FreeBSD Tinderbox <tinderbox@freebsd.org>, <current@freebsd.org>,
<ia64@freebsd.org>
Message-ID: <20040708142234.A49477303F@freebsd-current.sentex.ca>
TB --- 2004-07-08 14:09:38 - tinderbox 2.3 running on freebsd-current.sentex.c
a
TB --- 2004-07-08 14:09:38 - starting CURRENT tinderbox run for ia64/ia64
TB --- 2004-07-08 14:09:38 - checking out the source tree
TB --- 2004-07-08 14:09:38 - cd /home/tinderbox/sandbox/CURRENT/ia64/ia64
TB --- 2004-07-08 14:09:38 - /usr/bin/cvs -f -R -q -d/home/ncvs update -Pd -A
src
TB --- 2004-07-08 14:14:18 - building world (CFLAGS=-O2 -pipe)
TB --- 2004-07-08 14:14:18 - cd /home/tinderbox/sandbox/CURRENT/ia64/ia64/src
TB --- 2004-07-08 14:14:18 - /usr/bin/make -B buildworld
>>> Rebuilding the temporary build tree
>>> stage 1.1: legacy release compatibility shims
>>> stage 1.2: bootstrap tools
>>> stage 2.1: cleaning up the object tree
>>> stage 2.2: rebuilding the object tree
>>> stage 2.3: build tools
>>> stage 3: cross tools
>>> stage 4.1: building includes
>>> stage 4.2: building libraries
[...]
cc -fpic -DPIC -O2 -pipe -I/tinderbox/CURRENT/ia64/ia64/src/kerberos5/lib/lib
asn1/../../../crypto/heimdal/lib/asn1 -I/tinderbox/CURRENT/ia64/ia64/src/kerbe
ros5/lib/libasn1/../../../crypto/heimdal/lib/roken -I. -DHAVE_CONFIG_H -I/tind
erbox/CURRENT/ia64/ia64/src/kerberos5/lib/libasn1/../../include -DINET6 -c as
n1_Ticket.c -o asn1_Ticket.So
cc -fpic -DPIC -O2 -pipe -I/tinderbox/CURRENT/ia64/ia64/src/kerberos5/lib/lib
asn1/../../../crypto/heimdal/lib/asn1 -I/tinderbox/CURRENT/ia64/ia64/src/kerbe
ros5/lib/libasn1/../../../crypto/heimdal/lib/roken -I. -DHAVE_CONFIG_H -I/tind
erbox/CURRENT/ia64/ia64/src/kerberos5/lib/libasn1/../../include -DINET6 -c as
n1_TicketFlags.c -o asn1_TicketFlags.So
cc -fpic -DPIC -O2 -pipe -I/tinderbox/CURRENT/ia64/ia64/src/kerberos5/lib/lib
asn1/../../../crypto/heimdal/lib/asn1 -I/tinderbox/CURRENT/ia64/ia64/src/kerbe
ros5/lib/libasn1/../../../crypto/heimdal/lib/roken -I. -DHAVE_CONFIG_H -I/tind
erbox/CURRENT/ia64/ia64/src/kerberos5/lib/libasn1/../../include -DINET6 -c as
n1_TransitedEncoding.c -o asn1_TransitedEncoding.So
cc -fpic -DPIC -O2 -pipe -I/tinderbox/CURRENT/ia64/ia64/src/kerberos5/lib/lib
asn1/../../../crypto/heimdal/lib/asn1 -I/tinderbox/CURRENT/ia64/ia64/src/kerbe
ros5/lib/libasn1/../../../crypto/heimdal/lib/roken -I. -DHAVE_CONFIG_H -I/tind
erbox/CURRENT/ia64/ia64/src/kerberos5/lib/libasn1/../../include -DINET6 -c as
n1_UNSIGNED.c -o asn1_UNSIGNED.So
building shared library libasn1.so.7
cc: Internal error: Bus error (program ld)
Please submit a full bug report.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
*** Error code 1
Stop in /tinderbox/CURRENT/ia64/ia64/src/kerberos5/lib/libasn1.
*** Error code 1
Stop in /tinderbox/CURRENT/ia64/ia64/src.
*** Error code 1
Stop in /tinderbox/CURRENT/ia64/ia64/src.
*** Error code 1
Stop in /tinderbox/CURRENT/ia64/ia64/src.
*** Error code 1
Stop in /tinderbox/CURRENT/ia64/ia64/src.
TB --- 2004-07-08 14:22:34 - WARNING: /usr/bin/make returned exit code 1
TB --- 2004-07-08 14:22:34 - ERROR: failed to build world
TB --- 2004-07-08 14:22:34 - tinderbox aborted
------------------------------
Message: 15
Date: Thu, 8 Jul 2004 10:28:21 -0400 (EDT)
From: FreeBSD Tinderbox <tinderbox@freebsd.org>
Subject: [current tinderbox] failure on powerpc/powerpc
To: FreeBSD Tinderbox <tinderbox@freebsd.org>, <current@freebsd.org>,
<powerpc@freebsd.org>
Message-ID: <20040708142821.9871D7303F@freebsd-current.sentex.ca>
TB --- 2004-07-08 14:22:34 - tinderbox 2.3 running on freebsd-current.sentex.c
a
TB --- 2004-07-08 14:22:34 - starting CURRENT tinderbox run for powerpc/powerp
c
TB --- 2004-07-08 14:22:34 - checking out the source tree
TB --- 2004-07-08 14:22:34 - cd /home/tinderbox/sandbox/CURRENT/powerpc/powerp
c
TB --- 2004-07-08 14:22:34 - /usr/bin/cvs -f -R -q -d/home/ncvs update -Pd -A
src
TB --- 2004-07-08 14:26:03 - building world (CFLAGS=-O2 -pipe)
TB --- 2004-07-08 14:26:03 - cd /home/tinderbox/sandbox/CURRENT/powerpc/powerp
c/src
TB --- 2004-07-08 14:26:03 - /usr/bin/make -B buildworld
>>> Rebuilding the temporary build tree
>>> stage 1.1: legacy release compatibility shims
>>> stage 1.2: bootstrap tools
>>> stage 2.1: cleaning up the object tree
>>> stage 2.2: rebuilding the object tree
>>> stage 2.3: build tools
>>> stage 3: cross tools
[...]
/tinderbox/CURRENT/powerpc/powerpc/src/contrib/binutils/bfd/cpu-powerpc.c:285:
error: initializer element is not constant
/tinderbox/CURRENT/powerpc/powerpc/src/contrib/binutils/bfd/cpu-powerpc.c:285:
error: (near initialization for `bfd_powerpc_archs[13]')
/tinderbox/CURRENT/powerpc/powerpc/src/contrib/binutils/bfd/cpu-powerpc.c:295:
error: `FALSE' undeclared here (not in a function)
/tinderbox/CURRENT/powerpc/powerpc/src/contrib/binutils/bfd/cpu-powerpc.c:295:
error: initializer element is not constant
/tinderbox/CURRENT/powerpc/powerpc/src/contrib/binutils/bfd/cpu-powerpc.c:295:
error: (near initialization for `bfd_powerpc_archs[14].the_default')
/tinderbox/CURRENT/powerpc/powerpc/src/contrib/binutils/bfd/cpu-powerpc.c:297:
warning: initialization from incompatible pointer type
/tinderbox/CURRENT/powerpc/powerpc/src/contrib/binutils/bfd/cpu-powerpc.c:299:
error: initializer element is not constant
/tinderbox/CURRENT/powerpc/powerpc/src/contrib/binutils/bfd/cpu-powerpc.c:299:
error: (near initialization for `bfd_powerpc_archs[14]')
*** Error code 1
Stop in /tinderbox/CURRENT/powerpc/powerpc/src/gnu/usr.bin/binutils/libbfd.
*** Error code 1
Stop in /tinderbox/CURRENT/powerpc/powerpc/src/gnu/usr.bin/binutils.
*** Error code 1
Stop in /tinderbox/CURRENT/powerpc/powerpc/src.
*** Error code 1
Stop in /tinderbox/CURRENT/powerpc/powerpc/src.
*** Error code 1
Stop in /tinderbox/CURRENT/powerpc/powerpc/src.
TB --- 2004-07-08 14:28:21 - WARNING: /usr/bin/make returned exit code 1
TB --- 2004-07-08 14:28:21 - ERROR: failed to build world
TB --- 2004-07-08 14:28:21 - tinderbox aborted
------------------------------
Message: 16
Date: Thu, 8 Jul 2004 07:33:00 -0700
From: "Robert Wagner" <robert.wagner@qlogic.com>
Subject: where did the gdb "-k" option go?
To: <freebsd-current@freebsd.org>
Message-ID:
<B179AE41C1147041AA1121F44614F0B0C01171@AVEXCH02.qlogic.org>
Content-Type: text/plain; charset="iso-8859-1"
I cvsuped to 5.2-CURRENT and rebuilt world.
gdb -v shows
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i386-marcel-freebsd".
gdb -help shows
This is the GNU debugger. Usage:
gdb [options] [executable-file [core-file or process-id]]
gdb [options] --args executable-file [inferior-arguments ...]
Options:
--args Arguments after executable-file are passed to inferior
--[no]async Enable (disable) asynchronous version of CLI
-b BAUDRATE Set serial port baud rate used for remote debugging.
--batch Exit after processing options.
--cd=DIR Change current directory to DIR.
--command=FILE Execute GDB commands from FILE.
--core=COREFILE Analyze the core dump COREFILE.
--pid=PID Attach to running process PID.
--dbx DBX compatibility mode.
--directory=DIR Search for source files in DIR.
--epoch Output information used by epoch emacs-GDB interface.
--exec=EXECFILE Use EXECFILE as the executable.
--fullname Output information used by emacs-GDB interface.
--help Print this message.
--interpreter=INTERP
Select a specific interpreter / user interface
--mapped Use mapped symbol files if supported on this system.
--nw Do not use a window interface.
--nx Do not read .gdbinit file.
--quiet Do not print version number on startup.
--readnow Fully read symbol files on first access.
--se=FILE Use FILE as symbol file and executable file.
--symbols=SYMFILE Read symbols from SYMFILE.
--tty=TTY Use TTY for input/output by the program being debugged.
--tui Use a terminal user interface.
--version Print version information and then exit.
-w Use a window interface.
--write Set writing into executable and core files.
--xdb XDB compatibility mode.
For more information, type "help" from within GDB, or consult the
GDB manual (available as on-line info or a printed manual).
Report bugs to "bug-gdb@gnu.org".
So,
Does anyone know where the -k option went for kernel debugging. I am trying
to remote debug another machine with this one.
Thanks,
Bob Wagner
------------------------------
Message: 17
Date: Thu, 8 Jul 2004 14:34:14 +0000 (UTC)
From: "Bjoern A. Zeeb" <bzeeb-lists@lists.zabbadoz.net>
Subject: Re: losing serial console
To: FreeBSD current mailing list <current@freebsd.org>
Message-ID:
<Pine.BSF.4.53.0407081418030.59767@e0-0.zab2.int.zabbadoz.net>
Content-Type: TEXT/PLAIN; charset=US-ASCII
On Thu, 8 Jul 2004, Bjoern A. Zeeb wrote:
> had a kernel yesterday with SCHED_4BSD where boot -h and serial
> console worked fine. Then I had built a kernel (same sources with
> SCHED_ULE and with updated sources somewhen this night).
>
> After console=comconsole pxeboot prints things on serial console - so
> this works; but after boot (-h) nothing is printed with both ULE
> kernels.
>
> checked sio0 and sio1 for output - just in case. also checked the screen
> but neither with boot -h nor with boot anything appears there either.
>
> anyone any ideas ?
ok I further tested things and cannot get serial console with either
4BSD or ULE with sources from around 20040707-2120 UTC so it's not a
problem of the scheduler.
I'd really like to know why the thing is rebooting somewhen later but
it's some kind of problem w/o console.
Could it be a problem with pxeboot ? (I also had tried older ones I
had lying around but no change).
I tested with and without the following in make.conf:
BOOT_COMCONSOLE_PORT= 0x3F8
BOOT_COMCONSOLE_SPEED= 9600
here's what a show gives before booting:
--- cut ---
LINES=24
boot.netif.gateway=...
boot.netif.hwaddr=...
boot.netif.ip=...
boot.netif.netmask=...
boot.nfsroot.nfshandle=X000000000000000000000000000000000000000000000000000000
0000000000X
boot.nfsroot.path=/pxeroot
boot.nfsroot.server=...
boot_verbose=1
console=comconsole
currdev=pxe0:
interpret=OK
kernelname=/boot/kernel/kernel
loaddev=pxe0:
module_path=/boot/kernel;/boot/modules
vfs.root.mountfrom=ufs:/dev/md0c
--- cut ---
Anyone ?
--
Bjoern A. Zeeb bzeeb at Zabbadoz dot NeT
------------------------------
Message: 18
Date: Thu, 8 Jul 2004 08:46:48 -0600 (MDT)
From: Scott Long <scottl@freebsd.org>
Subject: Re: where did the gdb "-k" option go?
To: Robert Wagner <robert.wagner@qlogic.com>
Cc: freebsd-current@freebsd.org
Message-ID: <20040708084422.C97786@pooker.samsco.org>
Content-Type: TEXT/PLAIN; charset=US-ASCII
On Thu, 8 Jul 2004, Robert Wagner wrote:
> I cvsuped to 5.2-CURRENT and rebuilt world.
>
> gdb -v shows
>
> GNU gdb 6.1.1 [FreeBSD]
The GDB 6.1.1 update does not include kernel debugging support yet. It is
in progress and will be done for 5.3. Until then, you can use the gdb53
or gdb6 ports in order to get kernel support. The kernel support in these
works but is different architecturaly from what will evently get into the
base system.
Scott
------------------------------
Message: 19
Date: Thu, 8 Jul 2004 10:54:03 -0400 (EDT)
From: Andrew Gallatin <gallatin@cs.duke.edu>
Subject: Re: Alpha problems (though maybe not just Alpha...)
To: Ken Smith <kensmith@cse.Buffalo.EDU>
Cc: freebsd-current@freebsd.org
Message-ID: <16621.24587.229940.823746@grasshopper.cs.duke.edu>
Content-Type: text/plain; charset=us-ascii
Ken Smith writes:
>
> FYI, the Alpha reference machine in the cluster has had problems the
> past few days when anything significant (e.g. 'make buildworld'...)
> gets run on it. It usually locks up solid right after printing
> this on the console:
>
> panic() at panic+0x200
> _mtx_assert() at _mtx_assert+0xb4
> vrele() at vr 16 32 48 64 80
A mutex assert failed in vrele(). The first one that comes to mind is
the GIANT_REQUIRED; right at the top. Its really too bad that we
don't have the rest of the stack.
The remainder of the output is quite strange.. It almost looks like
it has stopped printing the stack trace and started taking a dump, and
then panic'ed taking the dump (ahc intr might support that):
> fatal kernel trap:
>
> trap entry = 0x2 (memory management fault)
> cpuid = 0
> faulting va = 0x0
> type = access violation
> cause = instruction fetch
> pc = 0x0
> ra = 0x0
> sp = 0xfffffe00317bfc70
> curthread = 0xfffffc007d772000
> pid = 23, comm = intr: ahc1
>
> spin lock sched lock held by 0xfffffc007d772000 for > 5 seconds
A va and ra of 0 means that it followed a null function pointer,
or the stack got corrupted and it tried to return to the wrong
place...
Can you try disabling dumps, and disabling kern.sync_on_panic
and see if you can get a decent stack trace?
Thanks,
Drew
------------------------------
Message: 20
Date: Thu, 8 Jul 2004 11:12:36 -0400 (EDT)
From: FreeBSD Tinderbox <tinderbox@freebsd.org>
Subject: [current tinderbox] failure on sparc64/sparc64
To: FreeBSD Tinderbox <tinderbox@freebsd.org>, <current@freebsd.org>,
<sparc64@freebsd.org>
Message-ID: <20040708151236.1DCCF7303F@freebsd-current.sentex.ca>
TB --- 2004-07-08 14:28:21 - tinderbox 2.3 running on freebsd-current.sentex.c
a
TB --- 2004-07-08 14:28:21 - starting CURRENT tinderbox run for sparc64/sparc6
4
TB --- 2004-07-08 14:28:21 - checking out the source tree
TB --- 2004-07-08 14:28:21 - cd /home/tinderbox/sandbox/CURRENT/sparc64/sparc6
4
TB --- 2004-07-08 14:28:21 - /usr/bin/cvs -f -R -q -d/home/ncvs update -Pd -A
src
TB --- 2004-07-08 14:30:18 - building world (CFLAGS=-O2 -pipe)
TB --- 2004-07-08 14:30:18 - cd /home/tinderbox/sandbox/CURRENT/sparc64/sparc6
4/src
TB --- 2004-07-08 14:30:18 - /usr/bin/make -B buildworld
>>> Rebuilding the temporary build tree
>>> stage 1.1: legacy release compatibility shims
>>> stage 1.2: bootstrap tools
>>> stage 2.1: cleaning up the object tree
>>> stage 2.2: rebuilding the object tree
>>> stage 2.3: build tools
>>> stage 3: cross tools
>>> stage 4.1: building includes
>>> stage 4.2: building libraries
>>> stage 4.3: make dependencies
>>> stage 4.4: building everything
[...]
cc -O2 -pipe -DHAVE_CONFIG_H -I/tinderbox/CURRENT/sparc64/sparc64/src/gnu/usr
.bin/tar -I/tinderbox/CURRENT/sparc64/sparc64/src/gnu/usr.bin/tar/../../../con
trib/tar/lib -I/tinderbox/CURRENT/sparc64/sparc64/src/gnu/usr.bin/tar/../../..
/contrib/tar/src -c /tinderbox/CURRENT/sparc64/sparc64/src/contrib/tar/lib/ex
clude.c
cc -O2 -pipe -DHAVE_CONFIG_H -I/tinderbox/CURRENT/sparc64/sparc64/src/gnu/usr
.bin/tar -I/tinderbox/CURRENT/sparc64/sparc64/src/gnu/usr.bin/tar/../../../con
trib/tar/lib -I/tinderbox/CURRENT/sparc64/sparc64/src/gnu/usr.bin/tar/../../..
/contrib/tar/src -c /tinderbox/CURRENT/sparc64/sparc64/src/contrib/tar/lib/fu
ll-write.c
cc -O2 -pipe -DHAVE_CONFIG_H -I/tinderbox/CURRENT/sparc64/sparc64/src/gnu/usr
.bin/tar -I/tinderbox/CURRENT/sparc64/sparc64/src/gnu/usr.bin/tar/../../../con
trib/tar/lib -I/tinderbox/CURRENT/sparc64/sparc64/src/gnu/usr.bin/tar/../../..
/contrib/tar/src -c /tinderbox/CURRENT/sparc64/sparc64/src/contrib/tar/lib/ge
tdate.c
cc -O2 -pipe -DHAVE_CONFIG_H -I/tinderbox/CURRENT/sparc64/sparc64/src/gnu/usr
.bin/tar -I/tinderbox/CURRENT/sparc64/sparc64/src/gnu/usr.bin/tar/../../../con
trib/tar/lib -I/tinderbox/CURRENT/sparc64/sparc64/src/gnu/usr.bin/tar/../../..
/contrib/tar/src -c /tinderbox/CURRENT/sparc64/sparc64/src/contrib/tar/lib/ge
tline.c
cc -O2 -pipe -DHAVE_CONFIG_H -I/tinderbox/CURRENT/sparc64/sparc64/src/gnu/usr
.bin/tar -I/tinderbox/CURRENT/sparc64/sparc64/src/gnu/usr.bin/tar/../../../con
trib/tar/lib -I/tinderbox/CURRENT/sparc64/sparc64/src/gnu/usr.bin/tar/../../..
/contrib/tar/src -c /tinderbox/CURRENT/sparc64/sparc64/src/contrib/tar/lib/ge
tstr.c
cc -O2 -pipe -DHAVE_CONFIG_H -I/tinderbox/CURRENT/sparc64/sparc64/src/gnu/usr
.bin/tar -I/tinderbox/CURRENT/sparc64/sparc64/src/gnu/usr.bin/tar/../../../con
trib/tar/lib -I/tinderbox/CURRENT/sparc64/sparc64/src/gnu/usr.bin/tar/../../..
/contrib/tar/src -c /tinderbox/CURRENT/sparc64/sparc64/src/contrib/tar/lib/ha
sh.c
{standard input}: Assembler messages:
{standard input}:1283: Error: Illegal operands
*** Error code 1
Stop in /tinderbox/CURRENT/sparc64/sparc64/src/gnu/usr.bin/tar.
*** Error code 1
Stop in /tinderbox/CURRENT/sparc64/sparc64/src/gnu/usr.bin.
*** Error code 1
Stop in /tinderbox/CURRENT/sparc64/sparc64/src/gnu.
*** Error code 1
Stop in /tinderbox/CURRENT/sparc64/sparc64/src.
*** Error code 1
Stop in /tinderbox/CURRENT/sparc64/sparc64/src.
*** Error code 1
Stop in /tinderbox/CURRENT/sparc64/sparc64/src.
TB --- 2004-07-08 15:12:36 - WARNING: /usr/bin/make returned exit code 1
TB --- 2004-07-08 15:12:36 - ERROR: failed to build world
TB --- 2004-07-08 15:12:36 - tinderbox aborted
------------------------------
Message: 21
Date: Thu, 08 Jul 2004 17:19:11 +0200
From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
Subject: Re: losing serial console
To: "Bjoern A. Zeeb" <bzeeb-lists@lists.zabbadoz.net>
Cc: FreeBSD current mailing list <current@freebsd.org>
Message-ID: <1684.1089299951@critter.freebsd.dk>
In message <Pine.BSF.4.53.0407081418030.59767@e0-0.zab2.int.zabbadoz.net>, "Bj
o
ern A. Zeeb" writes:
>ok I further tested things and cannot get serial console with either
>4BSD or ULE with sources from around 20040707-2120 UTC so it's not a
>problem of the scheduler.
I'm running serial console on my netbooted testbox on -current from
less than an hour ago.
--
Poul-Henning Kamp | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG | TCP/IP since RFC 956
FreeBSD committer | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.
------------------------------
Message: 22
Date: Thu, 8 Jul 2004 11:32:09 -0400
From: John Baldwin <jhb@FreeBSD.org>
Subject: Re: Current broken on my laptop (Toshiba Libretto 110CT)
To: Nate Lawson <nate@root.org>
Cc: current@FreeBSD.org
Message-ID: <200407081132.09562.jhb@FreeBSD.org>
Content-Type: text/plain; charset="iso-8859-1"
On Wednesday 07 July 2004 02:48 pm, Nate Lawson wrote:
> Mark Murray wrote:
> > I've been hoping this was temporary instability, but it appears to
> > be here to stay.
> >
> > My Toshiba Libretto (ToPIC97 chipset) hangs hard on boot at a random
> > time with recent currents. Ie the hang can happen while the probes
> > are still happening or it can happen while the rc scripts are
> > running. I never get as far as being able to log in. This happens
> > with a range of BIOS options, and also with ACPI disabled. I have
> > the latest BIOS for my laptop (8.10). I have tried it with no cards
> > in the PCMCIA/CardBus slots to no avail.
> >
> > The hang symptom is a hard hang with no keyboard response; I need
> > to hit reset or do a power-down.
> >
> > Enclosed is output from dmesg. Any suggestions?
>
> These parts of the dmesg look sketchy:
> > psm0: unable to allocate IRQ
> > atpic: No ELCR to configure IRQ12 as edge/high
> > psmcpnp0 irq 12 on acpi0
> > psm0: current command byte:0047
> > psm0: <PS/2 Mouse> irq 12 on atkbdc0
> >
> > sio0: irq maps: 0x1 0x11 0x11 0x11
> > sio0 port 0x3f8-0x3ff irq 4 on acpi0
> > sio0: type 16550A
> > atpic: No ELCR to configure IRQ4 as edge/high
> >
> > atpic: Ignoring invalid level/low configuration for IRQ13
>
> I'm guessing it's the atpic changes that are causing this.
Well, it's basically telling you that there is no ELCR to dink with to try and
do any changes, so it's not making any changes at all. Using level/low for
IRQ 13 does seem very broken since IRQ 13 is used by npx0 and should be
edge/hi. One thing to look at is to see if Linux thinks this box as an ELCR.
--
John Baldwin <jhb@FreeBSD.org> <>< http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve" = http://www.FreeBSD.org
------------------------------
Message: 23
Date: Thu, 8 Jul 2004 16:53:10 +0100
From: Steve O'Hara-Smith <steve@sohara.org>
Subject: Re: Rewrite cvsup & portupgrade in C
To: noackjr@alumni.rice.edu
Cc: freebsd-current@freebsd.org
Message-ID: <20040708165310.6e238a77.steve@sohara.org>
Content-Type: text/plain; charset=US-ASCII
On Thu, 08 Jul 2004 01:24:55 -0500
Jon Noack <noackjr@alumni.rice.edu> wrote:
> I think you misunderstand: He was questioning why *cvs* is in the base
> system and is built with every make world when many users opt for the
> more advanced cvsup
Erm, cvsup is *not* a more advanced version of cvs, cvsup could
be described as a more advanced version of rsync. One is a version control
system, the other is a tool for transferring updates efficiently.
--
C:>WIN | Solar Thermal Systems
The computer obeys and wins. | http://www.soleire.com/
You lose and Bill collects. | Directable Mirror Arrays
| http://www.sohara.org/
------------------------------
Message: 24
Date: Thu, 8 Jul 2004 15:53:53 +0000 (UTC)
From: "Bjoern A. Zeeb" <bzeeb-lists@lists.zabbadoz.net>
Subject: Re: losing serial console
To: Poul-Henning Kamp <phk@phk.freebsd.dk>
Cc: FreeBSD current mailing list <current@freebsd.org>
Message-ID:
<Pine.BSF.4.53.0407081522370.59767@e0-0.zab2.int.zabbadoz.net>
Content-Type: TEXT/PLAIN; charset=US-ASCII
On Thu, 8 Jul 2004, Poul-Henning Kamp wrote:
> In message <Pine.BSF.4.53.0407081418030.59767@e0-0.zab2.int.zabbadoz.net>, "
Bjo
> ern A. Zeeb" writes:
>
> >ok I further tested things and cannot get serial console with either
> >4BSD or ULE with sources from around 20040707-2120 UTC so it's not a
> >problem of the scheduler.
>
> I'm running serial console on my netbooted testbox on -current from
> less than an hour ago.
I will cvsup and build again but I cannot remember any changes lately
that would make any differences.
any ideas what and where it could happen that after pxeboot serial
console gets lost so that I cannot see the Copyright messages -
neither on any of the two consoles (nor on the screen) ?
--
Bjoern A. Zeeb bzeeb at Zabbadoz dot NeT
------------------------------
Message: 25
Date: Thu, 8 Jul 2004 08:59:28 -0700
From: Marcel Moolenaar <marcel@xcllnt.net>
Subject: Re: where did the gdb "-k" option go?
To: Robert Wagner <robert.wagner@qlogic.com>
Cc: freebsd-current@freebsd.org
Message-ID: <20040708155928.GA72811@dhcp50.pn.xcllnt.net>
Content-Type: text/plain; charset=us-ascii
On Thu, Jul 08, 2004 at 07:33:00AM -0700, Robert Wagner wrote:
>
> So,
> Does anyone know where the -k option went for kernel debugging. I am tryin
g to remote debug another machine with this one.
>
You don't need -k to debug remotely.
--
Marcel Moolenaar USPA: A-39004 marcel@xcllnt.net
------------------------------
Message: 26
Date: Thu, 8 Jul 2004 12:12:48 -0400 (EDT)
From: Robert Watson <rwatson@FreeBSD.org>
Subject: Re: today's CURRENT lockups
To: Don Lewis <truckman@FreeBSD.org>
Cc: mich@FreeBSD.org
Message-ID:
<Pine.NEB.3.96L.1040708121213.81252B-100000@fledge.watson.org>
Content-Type: TEXT/PLAIN; charset=US-ASCII
On Thu, 8 Jul 2004, Don Lewis wrote:
> I got bit by this problem when I tried to do some browsing on my
> Thinkpad R40 after my primary (4.10-STABLE) machine lost a disk.
>
> It's a July 5th kernel with SCHED_ULE, DDB, INVARIANTS, WITNESS, and
> ACPI.
>
> I couldn't switch to a serial console because the other end of the
> serial cable connects to the dead machine.
If you're using sched_ule between July 3 and July 6, you need to update to
sched_ule.c:1.113, or you may experience hangs.
Robert N M Watson FreeBSD Core Team, TrustedBSD Projects
robert@fledge.watson.org Principal Research Scientist, McAfee Research
------------------------------
Message: 27
Date: Thu, 8 Jul 2004 12:15:49 -0400 (EDT)
From: Robert Watson <rwatson@FreeBSD.org>
Subject: Re: NFS over IPv6
To: Jun Kuriyama <kuriyama@imgsrc.co.jp>
Cc: Current <freebsd-current@FreeBSD.org>
Message-ID:
<Pine.NEB.3.96L.1040708121504.81252C-100000@fledge.watson.org>
Content-Type: TEXT/PLAIN; charset=US-ASCII
On Thu, 8 Jul 2004, Jun Kuriyama wrote:
> With today's kernel, I see strange behavior with NFS over IPv6. My
> userland is two days older. I'll check with sync'ed kernel/userland
> tomorrow.
Is there any chance you can track down a threshold date for the problem
appearing? I did recently make some changes to NFS, but I wouldn't think
those would be related to the problem you're experiencing. It looks like
you are seeing IPv6 fragmentation, however -- maybe we're looking at a
problem with IPv6 fragment handling?
Robert N M Watson FreeBSD Core Team, TrustedBSD Projects
robert@fledge.watson.org Principal Research Scientist, McAfee Research
>
> # NFS server is 5.2.1R, client is current.
>
> When I did some write operation, it may wait too long. I can
> sometimes write without problem, but sometimes not. I took tcpdump -vvv:
>
> 22:48:25.128338 2001:218:422:2::XXXX > 2001:218:422:2::YYYY: frag (0xdf59d78
f:0|1448) 2001:218:422:2::XXXX.1516376639 > 2001:218:422:2::YYYY.2049: 1440 wr
ite fh 1034,59016/16299072 4586 bytes @ 0xc000 <unstable> [flowlabel 0x56097]
(len 1456, hlim 64)
> 22:48:25.128371 2001:218:422:2::XXXX > 2001:218:422:2::YYYY: frag (0xdf59d78
f:1448|1448) [flowlabel 0x56097] (len 1456, hlim 64)
> 22:48:25.128405 2001:218:422:2::XXXX > 2001:218:422:2::YYYY: frag (0xdf59d78
f:2896|1448) [flowlabel 0x56097] (len 1456, hlim 64)
> 22:48:25.128430 2001:218:422:2::XXXX > 2001:218:422:2::YYYY: frag (0xdf59d78
f:4344|400) [flowlabel 0x56097] (len 408, hlim 64)
> 22:48:25.129335 2001:218:422:2::YYYY.2049 > 2001:218:422:2::XXXX.1516376639:
reply ok 160 write PRE: sz 0xd1ea mtime 1089294496.000000 ctime 1089294496.00
0000 POST: REG 664 ids 1000/1000 sz 0xd1ea nlink 1 rdev 199/65077248 fsid 0x42
0 fileid 0xf8b440 a/m/ctime 1089287695.000000 1089294502.000000 1089294502.000
000 4586 bytes <unstable> (len 168, hlim 64)
> 22:48:25.129489 2001:218:422:2::XXXX > 2001:218:422:2::YYYY: [icmp6 sum ok]
icmp6: 2001:218:422:2::XXXX udp port 829 unreachable (len 216, hlim 64)
>
> I don't know why client side replied as port unreachable. With IPv4,
> there is no problem.
>
>
> --
> Jun Kuriyama <kuriyama@imgsrc.co.jp> // IMG SRC, Inc.
> <kuriyama@FreeBSD.org> // FreeBSD Project
> _______________________________________________
> freebsd-current@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
>
------------------------------
Message: 28
Date: Thu, 8 Jul 2004 12:18:55 -0400 (EDT)
From: Robert Watson <rwatson@freebsd.org>
Subject: Re: losing serial console
To: "Bjoern A. Zeeb" <bzeeb-lists@lists.zabbadoz.net>
Cc: FreeBSD current mailing list <current@freebsd.org>
Message-ID:
<Pine.NEB.3.96L.1040708121710.81252D-100000@fledge.watson.org>
Content-Type: TEXT/PLAIN; charset=US-ASCII
On Thu, 8 Jul 2004, Bjoern A. Zeeb wrote:
> ok I further tested things and cannot get serial console with either
> 4BSD or ULE with sources from around 20040707-2120 UTC so it's not a
> problem of the scheduler.
If you back out to before July 2, 2004, does life get any better? That's
the day John committed the preemption changes.
> I'd really like to know why the thing is rebooting somewhen later but
> it's some kind of problem w/o console.
>
> Could it be a problem with pxeboot ? (I also had tried older ones I had
> lying around but no change).
>
> I tested with and without the following in make.conf:
> BOOT_COMCONSOLE_PORT= 0x3F8
> BOOT_COMCONSOLE_SPEED= 9600
>
>
> here's what a show gives before booting:
<snip>
> Anyone ?
All your settings looke reasonable to me. Has anything changed WRT ACPI
use on your system in the last week? Nate committed the ACPI blacklist
stuff, and I have several boxes that fail to properly use serial ports
when not using ACPI. If ACPI suddenly turned off, that could have
triggered the problem?
Robert N M Watson FreeBSD Core Team, TrustedBSD Projects
robert@fledge.watson.org Principal Research Scientist, McAfee Research
------------------------------
Message: 29
Date: Thu, 8 Jul 2004 09:37:51 -0700
From: Alfred Perlstein <alfred@freebsd.org>
Subject: Re: RFC: Sorting in top -m io
To: Giorgos Keramidas <keramida@freebsd.org>
Cc: current@freebsd.org
Message-ID: <20040708163751.GN95729@elvis.mu.org>
Content-Type: text/plain; charset=us-ascii
* Giorgos Keramidas <keramida@freebsd.org> [040708 05:45] wrote:
> Hi all...
>
> The new -m io option of top is cool, but sorting is broken when the 'io'
> mode is enabled. The following patch adds sorting capabilities to the 'io'
> mode too and makes sure that hitting 'h' for help prints the right list of
> sorting keywords :)
>
> The only thing I didn't add a sorting capability for is "percent", because
> I'm not sure I know all it takes to do this.
>
> What do you all think of this patch to top(1)?
I think it's awesome. Go for it.
-Alfred
------------------------------
Message: 30
Date: Thu, 8 Jul 2004 16:45:07 +0000 (UTC)
From: "Bjoern A. Zeeb" <bzeeb-lists@lists.zabbadoz.net>
Subject: Re: losing serial console
To: Robert Watson <rwatson@freebsd.org>
Cc: FreeBSD current mailing list <current@freebsd.org>
Message-ID:
<Pine.BSF.4.53.0407081627150.59767@e0-0.zab2.int.zabbadoz.net>
Content-Type: TEXT/PLAIN; charset=US-ASCII
On Thu, 8 Jul 2004, Robert Watson wrote:
Hi,
> On Thu, 8 Jul 2004, Bjoern A. Zeeb wrote:
>
> > ok I further tested things and cannot get serial console with either
> > 4BSD or ULE with sources from around 20040707-2120 UTC so it's not a
> > problem of the scheduler.
>
> If you back out to before July 2, 2004, does life get any better? That's
> the day John committed the preemption changes.
ok, will do that before updating to latest sources from about now.
> > Anyone ?
>
> All your settings looke reasonable to me. Has anything changed WRT ACPI
> use on your system in the last week? Nate committed the ACPI blacklist
actually I am testing on two hosts that had been running 4-STABLE
before or nothing at all. P133/P200 class which is far enough for some
DSL and firewalling.
> stuff, and I have several boxes that fail to properly use serial ports
> when not using ACPI. If ACPI suddenly turned off, that could have
> triggered the problem?
no ACPI at all here ; going to preload the module now and I will see
what will happen. If this really is the problem this should be fixed
soon. No ACPI at home too on my router... should not update I guess...
*ARGL* someone (most likely me) must have turned the machine off
before leaving the office to save it a night of endless boot cycles.
Will test tomorrow morning.
PS: the (funny) thing is that serial console used to work two days
ago but the kernel paniced. I then updated srces and serial console
stopped working but the kernels now boot but panic somewhere later
forcing a reboot but I cannot see that - must be around if_tx gets
used for pppoe (I guess) :(
Going to build a pre-20040702 and latest HEAD over night and will
see what happens tomorrow morning.
Thanks for today.
--
Bjoern A. Zeeb bzeeb at Zabbadoz dot NeT
------------------------------
Message: 31
Date: Thu, 8 Jul 2004 10:02:08 -0700
From: "David O'Brien" <obrien@freebsd.org>
Subject: Re: Rewrite cvsup & portupgrade in C
To: Steve Kargl <sgk@troutmask.apl.washington.edu>
Cc: freebsd-current@freebsd.org
Message-ID: <20040708170208.GA3793@dragon.nuxi.com>
Content-Type: text/plain; charset=us-ascii
On Wed, Jul 07, 2004 at 08:26:39PM -0700, Steve Kargl wrote:
> > >My initial argument does not invlove the language. I don't
> > >care about the language. My argument is that neither cvsup
> > >nor csup belong in the base system. Both utilities can be
> > >installed from ports. If you're going to import csup, then
> > >I hope csup goes through a security audit and you define a
> > >NO_CSUP make.conf variable.
> >
> > Does "csup" belong in the tree more, or less than cvs?
>
> csup does not belong in the base system. cvs belongs in
> the base syste
A CVS sup'ing program does belong in the base system -- it is the best
way for tracking security updates (via the RELENG_X_Y branch). Think of
it as FreeBSD's "MS-Windows Update" functionality. To date, CVSup was
too difficult to easily integrate w/in /usr/src. A new CVS sup'ing
program writting in a language supported by the toolchain in the base
system (FORTRAN would be fine, for example) should be overly welcomed
into the tree. Don't worry guys, it would only add 1 minute to your
build world times.
--
-- David (obrien@FreeBSD.org)
------------------------------
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
End of freebsd-current Digest, Vol 68, Issue 12
***********************************************
--
[35mEvariste Galois[m:
[33m�����呛��樱������蔷������,����直前......[m
[m[34m�� ��源:������� bbs.ustc.edu.cn [FROM: 210.45.72.234][m