Message-ID: <4DKG07$CS1@bbs.ustc.edu.cn>
Subject: freebsd-current Digest, Vol 69, Issue 10
Date: Thu, 22 Jul 2004 05:26:31 +0000
From: Galoisz.bbs@bbs.ustc.edu.cn (���博士)
Path: 74.82.202.154!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-cn.bbs.comp.unix.mbox.zip!g2news1.google.com!news2.google.com!newsfeed.media.kyoto-u.ac.jp!news.neu.edu.cn!news2.happynet.org!netnews.sdu.edu.cn!USTC
Newsgroups: cn.bbs.comp.unix
Organization: 嫺�����
X-Filename: Unix/M.1090473991.A
Lines: 1803
Xref: 74.82.202.154 cn.bbs.comp.unix:1373
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: panic: mb_init_pack(): Can't deal with failure yet.
(Greg Skafte)
2. Re: Any idea why timespec* is _KERNEL stuff only? (Charles Swiger)
3. Re: [current tinderbox] failure on sparc64/sparc64
(Garance A Drosihn)
4. Re: Any idea why timespec* is _KERNEL stuff only?
(Poul-Henning Kamp)
5. GIANT question (Bernd Walter)
6. Re: I/O or Threading Suffer (jesk)
7. Re: Obtaining a kernel dump is not possible (Julian Elischer)
8. Re: GIANT question (Scott Long)
9. Re: vmnet.ko missing - but it's there! - vmware and crashes
(Ben Paley)
10. Re: fetch hangs, part 2 (Don Lewis)
11. Re: GIANT question (Bernd Walter)
12. RE: fetch hangs, part 2 (Matt White)
13. Re: I/O or Threading Suffer (Bob Willcox)
14. Re: Excellent job on the firewire support! (Shizuka Kudo)
15. device_attach: fdc0 attach returned 6 (Edwin Culp)
16. Re: FreeBSD embedded: TinyBSD (cpghost)
17. Re: Erros in: make -j 16 buildword (Doug White)
18. RE: fetch hangs, part 2 (Doug White)
19. RE: fetch hangs, part 2 (Darren Pilgrim)
20. Re: panic: mb_init_pack(): Can't deal with failure yet.
(Brian Fundakowski Feldman)
21. RE: fetch hangs, part 2 (Matt White)
22. Re: NEW TAR (Daniel Lang)
23. Re: panic: mb_init_pack(): Can't deal with failure yet.
(Greg Skafte)
24. laptop for -current (Kim Culhan)
25. Re: laptop for -current (Poul-Henning Kamp)
26. Re: laptop for -current (Joseph Peterson)
27. Re: laptop for -current (Lukas Ertl)
28. Re: laptop for -current (Eric Anderson)
29. Re: FreeBSD embedded: TinyBSD (Jean Milanez Melo)
30. Re: FreeBSD embedded: TinyBSD (Jean Milanez Melo)
31. LORs with PF (Wiktor Niesiobedzki)
32. Re: Excellent job on the firewire support! (Hidetoshi Shimokawa)
33. Re: nanosleep returning early (John Birrell)
34. Re: laptop for -current (John Birrell)
35. Re: laptop for -current (Pierre Weis)
36. Re: laptop for -current (Martin)
37. Re: laptop for -current (Drew Broadley)
38. Re: laptop for -current (Daniel O'Connor)
----------------------------------------------------------------------
Message: 1
Date: Wed, 21 Jul 2004 10:40:48 -0600
From: Greg Skafte <skafte+freebsd-current@trollkarl.net>
Subject: Re: panic: mb_init_pack(): Can't deal with failure yet.
To: freebsd-current@freebsd.org
Message-ID: <20040721164048.GC4506@trollkarl.skafte.org>
Content-Type: text/plain; charset=us-ascii
<sorry for following up to myself>
Is this maybe related to my panic back here?
http://docs.freebsd.org/cgi/getmsg.cgi?fetch=1806225+0+archive/2004/freebsd-cu
rrent/20040627.freebsd-current
Quoting Greg Skafte (skafte+freebsd-current@trollkarl.net)
On Subject: panic: mb_init_pack(): Can't deal with failure yet.
Date: Wed, Jul 21, 2004 at 10:04:34AM -0600
> panic: mb_init_pack(): Can't deal with failure yet.
> panic messages:
> ---
> panic: mb_init_pack(): Can't deal with failure yet.
> cpuid = 0;
> boot() called on cpu#0
>
> syncing disks, buffers remaining... kernel trap 12 with interrupts disabled
>
>
> Fatal trap 12: page fault while in kernel mode
> cpuid = 0; apic id = 00
> fault virtual address = 0x24
> fault code = supervisor read, page not present
> instruction pointer = 0x8:0xc0659e39
> stack pointer = 0x10:0xe18b6c10
> frame pointer = 0x10:0xe18b6c30
> code segment = base 0x0, limit 0xfffff, type 0x1b
> = DPL 0, pres 1, def32 1, gran 1
> processor eflags = resume, IOPL = 0
> current process = 62 (swi8: tty:sio clock)
> trap number = 12
> panic: page fault
> cpuid = 0;
> boot() called on cpu#0
> Uptime: 4d23h53m11s
>
>
> backtrace
> #0 doadump () at /usr/src/sys/kern/kern_shutdown.c:236
> 236 dumping++;
> (kgdb) bt
> #0 doadump () at /usr/src/sys/kern/kern_shutdown.c:236
> #1 0xc063621b in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:370
> #2 0xc06369e8 in panic (fmt=0xc0830807 "%s") at /usr/src/sys/kern/kern_shut
down.c:548
> #3 0xc07e8cc7 in trap_fatal (frame=0xe18b6bd0, eva=0) at /usr/src/sys/i386/
i386/trap.c:815
> #4 0xc07e87aa in trap (frame=
> {tf_fs = -983236584, tf_es = 16, tf_ds = 16, tf_edi = 0, tf_esi = -984
090208, tf_ebp = -510956496, tf_isp = -510956548, tf_ebx = -984470080, tf_edx
= -983145932, tf_ecx = -984090208, tf_eax = 36, tf_trapno = 12, tf_err = 0, tf
_eip = -1067082183, tf_cs = 8, tf_eflags = 65683, tf_esp = 1, tf_ss = 2}) at /
usr/src/sys/i386/i386/trap.c:250
> #5 0xc0659e39 in propagate_priority (td=0xc5522dc0) at /usr/src/sys/kern/su
br_turnstile.c:212
> #6 0xc065a58e in turnstile_wait (ts=0xc5d207c0, lock=0xc5666234, owner=0xc5
522dc0)
> at /usr/src/sys/kern/subr_turnstile.c:505
> #7 0xc062bd8e in _mtx_lock_sleep (m=0xc5666234, opts=0, file=0x0, line=0)
> at /usr/src/sys/kern/kern_mutex.c:541
> #8 0xc05296a6 in fxp_tick (xsc=0xc5666000) at /usr/src/sys/dev/fxp/if_fxp.c
:1807
> #9 0xc0644709 in softclock (dummy=0x0) at /usr/src/sys/kern/kern_timeout.c:
255
> #10 0xc061d974 in ithread_loop (arg=0xc55aa880) at /usr/src/sys/kern/kern_in
tr.c:557
> #11 0xc061c670 in fork_exit (callout=0xc061d752 <ithread_loop>, arg=0x0, fra
me=0x0)
> at /usr/src/sys/kern/kern_fork.c:816
>
>
> KERNEL Supdate date=2004.06.25.01.00.00
>
> Quad Xeon, 4Gig Ram, HTT disabled, ADAPTIVE_MUTEXES
>
> I'm getting this about every 4 days....
>
>
> --
> Email: skafte@trollkarl.net ICQ: 93234105
> -- --
> When things can't get any worse, they simplify themselves by getting a
> whole lot worse then complicated. A complete and utter disaster is the
> simplest thing in the world; it's preventing one that's complex.
> (Janet Morris)
> _______________________________________________
> 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"
>
--
Email: skafte@trollkarl.net ICQ: 93234105
-- --
When things can't get any worse, they simplify themselves by getting a
whole lot worse then complicated. A complete and utter disaster is the
simplest thing in the world; it's preventing one that's complex.
(Janet Morris)
------------------------------
Message: 2
Date: Wed, 21 Jul 2004 12:44:47 -0400
From: Charles Swiger <cswiger@mac.com>
Subject: Re: Any idea why timespec* is _KERNEL stuff only?
To: Poul-Henning Kamp <phk@phk.freebsd.dk>
Cc: current@freebsd.org
Message-ID: <4691F91E-DB35-11D8-BD53-003065ABFD92@mac.com>
Content-Type: text/plain; charset=US-ASCII; format=flowed
On Jul 21, 2004, at 12:32 PM, Poul-Henning Kamp wrote:
>> The timespec struct is POSIX standard. POSIX has the correct number
>> of
>> functions for operating on timespec structs (none).
>
> I am not in agreement [h]ere. As much as I hate timespec, we'll have
> to live with it, and rather than have people make their own mistakes
> I'd prefer to expose some functions/macros that do it right.
Doesn't Paul Vixie's eventlib expose (struct timespec)s anyway, as well
as providing conversion functions to and from (struct timeval)s?
--
-Chuck
------------------------------
Message: 3
Date: Wed, 21 Jul 2004 12:46:05 -0400
From: Garance A Drosihn <drosih@rpi.edu>
Subject: Re: [current tinderbox] failure on sparc64/sparc64
To: Ollivier Robert <roberto@keltia.freenix.fr>, current@freebsd.org,
sparc64@freebsd.org
Message-ID: <p06110421bd244d4666fd@[128.113.24.47]>
Content-Type: text/plain; charset="us-ascii" ; format="flowed"
At 12:02 AM +0200 7/21/04, Ollivier Robert wrote:
>According to FreeBSD Tinderbox:
>> ===> usr.sbin/ntp
>> ===> usr.sbin/ntp/libntp
>> make: don't know how to make authencrypt.c. Stop
>> *** Error code 2
>>
>> Stop in /tinderbox/CURRENT/sparc64/sparc64/src/usr.sbin/ntp.
>> *** Error code 1
>
>I can't reproduce on panther.freebsd.org :( Has anyone an idea
>of what's going on? authencrypt.c doesn't even exist on 4.2.0.
>Stale .depend?
I do not know what problem there is for the tinderbox, but I
have been able to buildworld/buildkernel/installkernel on my
own sparc64 box.
--
Garance Alistair Drosehn = gad@gilead.netel.rpi.edu
Senior Systems Programmer or gad@freebsd.org
Rensselaer Polytechnic Institute or drosih@rpi.edu
------------------------------
Message: 4
Date: Wed, 21 Jul 2004 18:47:31 +0200
From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
Subject: Re: Any idea why timespec* is _KERNEL stuff only?
To: Charles Swiger <cswiger@mac.com>
Cc: current@freebsd.org
Message-ID: <85714.1090428451@critter.freebsd.dk>
In message <4691F91E-DB35-11D8-BD53-003065ABFD92@mac.com>, Charles Swiger writ
e
s:
>> I am not in agreement [h]ere. As much as I hate timespec, we'll have
>> to live with it, and rather than have people make their own mistakes
>> I'd prefer to expose some functions/macros that do it right.
>
>Doesn't Paul Vixie's eventlib expose (struct timespec)s anyway, as well
>as providing conversion functions to and from (struct timeval)s?
Yes, a rather convenient interface btw.
--
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: 5
Date: Wed, 21 Jul 2004 19:05:36 +0200
From: Bernd Walter <ticso@cicely12.cicely.de>
Subject: GIANT question
To: current@freebsd.org
Message-ID: <20040721170534.GF70663@cicely12.cicely.de>
Content-Type: text/plain; charset=us-ascii
Say I have a driver that could run without needing GIANT, but
makes use of a subsystem that requires GIANT.
Removing D_NEEDGIANT in cdevsw seems to be enough to get called
from userland without GIANT held.
Now I need to aquire GIANT bevor calling the subsystem and release
it on return.
What I've found so far is DROP_GIANT/PICKUP_GIANT, which has to be
paired the other way.
What is the prefered way to get/release GIANT in that case?
--
B.Walter BWCT http://www.bwct.de
bernd@bwct.de info@bwct.de
------------------------------
Message: 6
Date: Wed, 21 Jul 2004 19:07:00 +0200
From: "jesk" <jesk@killall.org>
Subject: Re: I/O or Threading Suffer
To: "Dan Nelson" <dnelson@allantgroup.com>
Cc: freebsd-current@freebsd.org
Message-ID: <01f201c46f45$231aec10$45fea8c0@turbofresse>
Content-Type: text/plain; charset="iso-8859-1"
> Ah. now that's a different story. You're out of the control of the
> process scheduler and into the disk. I don't suppose you're using an
> IDE/ATA disk with no tagged queueing? :) Run "dmesg | grep depth.queue"
> to see how many requests can be queued up on your disk at once.
>
> That dd is stuffing lots of dirty data into the disk cache, and all the
> other processes have to wait in line to get their I/Os done. You'll
> see much better results from a SCSI disk (with usual queue depths
> between 32 and 64), and even better results from a multi-disk hardware
> RAID array (which will have a large write cache).
>
> --
> Dan Nelson
> dnelson@allantgroup.com
> _______________________________________________
> 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"
>
>
when system doesnt response any more in cause of high write operations
on the disk then the reason for this is not looked up in the device device
configuration or in non-scsi hardware ;)
------------------------------
Message: 7
Date: Wed, 21 Jul 2004 10:11:35 -0700
From: Julian Elischer <julian@elischer.org>
Subject: Re: Obtaining a kernel dump is not possible
To: Thomas Quinot <thomas@freebsd.org>
Cc: "Oliver B. Fischer" <plexus@snafu.de>
Message-ID: <40FEA3C7.7060706@elischer.org>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Thomas Quinot wrote:
>* Oliver B. Fischer, 2004-07-20 :
>
>
>
>>Well, unfortunately my thinkpas doesn't have an serial port... :(
>>
does it have afirewire port?
>>
>>
>
>Hmmm, OK. One kludgy solution I already saw used in such a case involves
>a digital camera and taking a snap of the backtrace...
>
>
>
------------------------------
Message: 8
Date: Wed, 21 Jul 2004 11:12:50 -0600
From: Scott Long <scottl@freebsd.org>
Subject: Re: GIANT question
To: ticso@cicely.de
Cc: current@freebsd.org
Message-ID: <40FEA412.3050900@freebsd.org>
Content-Type: text/plain; charset=us-ascii; format=flowed
Bernd Walter wrote:
> Say I have a driver that could run without needing GIANT, but
> makes use of a subsystem that requires GIANT.
> Removing D_NEEDGIANT in cdevsw seems to be enough to get called
> from userland without GIANT held.
> Now I need to aquire GIANT bevor calling the subsystem and release
> it on return.
> What I've found so far is DROP_GIANT/PICKUP_GIANT, which has to be
> paired the other way.
> What is the prefered way to get/release GIANT in that case?
>
mtx_lock(&Giant);
call_code_needing_giant();
mtx_unlock(&Giant);
Note that you must not be holding any locks when you go to aquire Giant.
Scott
------------------------------
Message: 9
Date: Wed, 21 Jul 2004 18:12:29 +0100
From: Ben Paley <ben@spooty.net>
Subject: Re: vmnet.ko missing - but it's there! - vmware and crashes
To: Robert Watson <rwatson@freebsd.org>
Cc: "freebsd -current@" <freebsd-current@freebsd.org>
Message-ID: <200407211812.29934.ben@spooty.net>
Content-Type: text/plain; charset="iso-8859-1"
On Wednesday 21 July 2004 17:01, Robert Watson wrote:
> On Wed, 21 Jul 2004, Scott Long wrote:
> > > Additional ABI support: linux.
> > > Starting cron.
> > > Local package initialization:link_elf: symbol
> > > linux_ioctl_register_handler undefined
> > > kldload: can't load /usr/local/lib/vmware/modules/vmnet.ko: No such
> > > file or directory
> >
> > Is your linux.ko module out of date? You have a mis-match somewhere
> > here.
>
> Or, alternatively, the symbols exported by the Linux emulation module have
> changed, and the VMware port hasn't caught up (or the local copy needs
> updating). Something is definitely out of sync, needless to say, but it
> could be that the VMware module needs updating in the pseudo-vendor.
So it looks like I need to update everything (world, kernel, vmware and linux
base) before trying any harder on this... bummer. One of the reasons I
haven't done that since mid June is that my system was all in sync then (so I
thought) and I wanted to get this sorted before I started messing it all
around again...
Oh well, thanks a lot for your help. I'll get back in touch after I've found
the time to do that and it _still_ doesn't work!
Thanks a lot,
Ben
------------------------------
Message: 10
Date: Wed, 21 Jul 2004 10:20:24 -0700 (PDT)
From: Don Lewis <truckman@FreeBSD.org>
Subject: Re: fetch hangs, part 2
To: dmp@bitfreak.org
Cc: matt+list.sw.freebsd.current@publicly.neglect.us
Message-ID: <200407211720.i6LHKOxE045205@gw.catspoiler.org>
Content-Type: TEXT/plain; charset=us-ascii
On 21 Jul, Darren Pilgrim wrote:
>> From: Robert Watson [mailto:rwatson@freebsd.org]
>>
>>
>> On Tue, 20 Jul 2004, Darren Pilgrim wrote:
>>
>> > I've been having the same (or a similar problem). Fetching the distfile
>> > for a port will hang. I poked some more at this and found that all the
>> > sites fetch is hanging on successfully negotiate the TCP connection then
>> > go dead without closing the connection. My workaround has been to edit
>> > the Makefile and remove the offending site from MASTER_SITES or manually
>> > fetch from ftp.freebsd.org.
>>
>> Could you try disabling TCP SACK
>
> Set net.inet.tcp.delayed_ack=0?
>
>> and see if things "get better"? It's one
>> of the things that has changed in the TCP code recently. This could well
>> be a user space fetch issue, but it would be worth trying it to see, if
>> only to rule it out.
>
> It didn't change. The connections still hung.
Smells somewhat like a broken path MTU discovery problem. There might
be a hop in the path with a smaller than expected MTU and something
between there and the server that is filtering ICMP.
An interesting experiment would be to see what happens if a smaller than
normal MSS is requested. This would probably be easiest for someone
with a PPP connection.
------------------------------
Message: 11
Date: Wed, 21 Jul 2004 19:37:43 +0200
From: Bernd Walter <ticso@cicely12.cicely.de>
Subject: Re: GIANT question
To: Scott Long <scottl@freebsd.org>
Cc: ticso@cicely.de
Message-ID: <20040721173742.GG70663@cicely12.cicely.de>
Content-Type: text/plain; charset=us-ascii
On Wed, Jul 21, 2004 at 11:12:50AM -0600, Scott Long wrote:
> Bernd Walter wrote:
>
> >Say I have a driver that could run without needing GIANT, but
> >makes use of a subsystem that requires GIANT.
> >Removing D_NEEDGIANT in cdevsw seems to be enough to get called
> >from userland without GIANT held.
> >Now I need to aquire GIANT bevor calling the subsystem and release
> >it on return.
> >What I've found so far is DROP_GIANT/PICKUP_GIANT, which has to be
> >paired the other way.
> >What is the prefered way to get/release GIANT in that case?
> >
>
> mtx_lock(&Giant);
> call_code_needing_giant();
> mtx_unlock(&Giant);
Ah - now I got it - the DROP/PICKUP are just macros to handle
recurision level.
> Note that you must not be holding any locks when you go to aquire Giant.
That's clear.
--
B.Walter BWCT http://www.bwct.de
bernd@bwct.de info@bwct.de
------------------------------
Message: 12
Date: Wed, 21 Jul 2004 10:43:20 -0700
From: Matt White <matt+list.sw.freebsd.current@publicly.neglect.us>
Subject: RE: fetch hangs, part 2
To: freebsd-current@freebsd.org
Message-ID: <3270557515.1090406600@[192.168.20.34]>
Content-Type: text/plain; charset=us-ascii; format=flowed
In my case, I tracked this down to either my netscreen5 or the cable into
it going south. It's a bit strange because other software wasn't having an
issue, so I'll probably look at this more in the next few days. But for
now, removing that box from my network has made fetch happy again, which in
turn has made me happy again.
-Matt
--On Wednesday, July 21, 2004 3:54 AM -0700 Darren Pilgrim
<dmp@bitfreak.org> wrote:
>> From: Robert Watson [mailto:rwatson@freebsd.org]
>>
>>
>> On Tue, 20 Jul 2004, Darren Pilgrim wrote:
>>
>> > I've been having the same (or a similar problem). Fetching the
>> > distfile for a port will hang. I poked some more at this and found
>> > that all the sites fetch is hanging on successfully negotiate the TCP
>> > connection then go dead without closing the connection. My workaround
>> > has been to edit the Makefile and remove the offending site from
>> > MASTER_SITES or manually fetch from ftp.freebsd.org.
>>
>> Could you try disabling TCP SACK
>
> Set net.inet.tcp.delayed_ack=0?
>
>> and see if things "get better"? It's one
>> of the things that has changed in the TCP code recently. This could well
>> be a user space fetch issue, but it would be worth trying it to see, if
>> only to rule it out.
>
> It didn't change. The connections still hung.
>
>
------------------------------
Message: 13
Date: Wed, 21 Jul 2004 12:49:50 -0500
From: Bob Willcox <bob@immure.com>
Subject: Re: I/O or Threading Suffer
To: jesk <jesk@killall.org>
Cc: freebsd-current@freebsd.org
Message-ID: <20040721174950.GE89322@luke.immure.com>
Content-Type: text/plain; charset=us-ascii
On Wed, Jul 21, 2004 at 07:07:00PM +0200, jesk wrote:
> > Ah. now that's a different story. You're out of the control of the
> > process scheduler and into the disk. I don't suppose you're using an
> > IDE/ATA disk with no tagged queueing? :) Run "dmesg | grep depth.queue"
> > to see how many requests can be queued up on your disk at once.
> >
> > That dd is stuffing lots of dirty data into the disk cache, and all the
> > other processes have to wait in line to get their I/Os done. You'll
> > see much better results from a SCSI disk (with usual queue depths
> > between 32 and 64), and even better results from a multi-disk hardware
> > RAID array (which will have a large write cache).
> >
> > --
> > Dan Nelson
> > dnelson@allantgroup.com
> > _______________________________________________
> > 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"
> >
> >
> when system doesnt response any more in cause of high write operations
> on the disk then the reason for this is not looked up in the device device
> configuration or in non-scsi hardware ;)
I have to agree with Dan here. I tried the simple dd test on one of my
5-current systems here that has both IDE disks and an LSI 320-2 SCSI
RAID controller with 256 MB of writeback cache. When running the dd to
one of the IDE drives the delay was _very_ noticable when attempting
simultaneous commands that did I/O to that same disk (often the command
didn't seem to even run till the dd completed). However, when doing this
same thing to a filesystem on the LSI array their was no decernable
delay (though the command did take abit longer to run).
So, in my case anyway, I was seeing what I'm convinced was I/O
starvation on the IDE disk but not on the hardware RAID controller
attached disk.
Bob
--
Bob Willcox Serocki's Stricture:
bob@immure.com Marriage is always a bachelor's last option.
Austin, TX
------------------------------
Message: 14
Date: Wed, 21 Jul 2004 11:08:11 -0700 (PDT)
From: Shizuka Kudo <shizukakudo_99@yahoo.com>
Subject: Re: Excellent job on the firewire support!
To: Hidetoshi Shimokawa <simokawa@sat.t.u-tokyo.ac.jp>
Cc: simokawa@freebsd.org
Message-ID: <20040721180811.89160.qmail@web11408.mail.yahoo.com>
Content-Type: text/plain; charset=us-ascii
--- Hidetoshi Shimokawa <simokawa@sat.t.u-tokyo.ac.jp> wrote:
> At Mon, 19 Jul 2004 19:37:04 +0100,
> Doug Rabson wrote:
> >
> > On Monday 19 July 2004 17:19, Shizuka Kudo wrote:
> > > Hi,
> > >
> > > Anyone has experience with the newly added IP over 1394 support, i.e.
> > > fwip?
> > >
> > > I compiled it in with the latest kernel at 17 July, but the box
> > > cannot ping with a M$ & linux box.
> >
> > I have that fixed locally but I want to fix some other problems with the
> > firewire driver - mainly that my freebsd boxes often go haywire when I
> > plug a windows box into the bus. I also want to finish writing the code
> > for freebsd to be a fully functional isochronous bus manager.
>
> Try this patch for temporary fix.
>
> --- //depot/vendor/freebsd/src/sys/dev/firewire/if_fwip.c 2004/06/14 09:36:0
1
> +++ //depot/user/simokawa/firewire/sys/dev/firewire/if_fwip.c 2004/07/11 06:
47:39
> @@ -91,7 +91,7 @@
> static void fwip_unicast_input(struct fw_xfer *);
>
> static int fwipdebug = 0;
> -static int broadcast_channel = 31; /* XXX */
> +static int broadcast_channel = 0xc0 | 0x1f; /* tag | channel(XXX) */
> static int tx_speed = 2;
> static int rx_queue_len = FWMAXQUEUE;
>
>
Thanks. It works. I could now setup static IP address in M$ box and ping to my
-current. Now, yes,
it still hang after a few hours.
Once again, thank you for all of you on the effort to develop fireware support
. Excellent work!
> /\ Hidetoshi Shimokawa
> \/ simokawa@sat.t.u-tokyo.ac.jp
> PGP public key: http://www.sat.t.u-tokyo.ac.jp/~simokawa/pgp.html
>
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!
http://promotions.yahoo.com/new_mail
------------------------------
Message: 15
Date: Wed, 21 Jul 2004 13:19:24 -0500
From: Edwin Culp <eculp@encontacto.net>
Subject: device_attach: fdc0 attach returned 6
To: current@freebsd.org
Message-ID: <20040721131924.pk4k0skg0gkckwso@mail.encontacto.net>
Content-Type: text/plain; charset="UTF-8"
Could this be a problem in current or could it be my cheapy AMD
2200+ mk40v/vn Shuttle motherboard that works great in every
other respect except the floppy.
fdc0: <floppy drive controller> port
0x3f7,0x3f4-0x3f5,0x3f2-0x3f3 irq 6 drq 2 on acpi0
fdc0: I/O to control range incorrect
device_attach: fdc0 attach returned 6
I'm running everything in sync from yesterday's cvsup and build.
Thanks,
ed
------------------------------
Message: 16
Date: Wed, 21 Jul 2004 20:37:14 +0200
From: cpghost <cpghost@cordula.ws>
Subject: Re: FreeBSD embedded: TinyBSD
To: pablo.morales@abitab.com.uy
Cc: Patrick Gardella <patrick@intothewind.cx>
Message-ID: <40FEB7DA.4040601@cordula.ws>
Content-Type: text/plain; charset=us-ascii; format=flowed
pablo.morales@abitab.com.uy wrote:
>I'm working with Some GEODE stuff, using linux, I'm using the terminals
>just like that, remote PXE booting with nfs-root.
>
>
I'm using nanobsd on Soekris net4801 boards (GEODE CPU):
/usr/src/tools/tools/nanobsd (5.X only)
It's bigger than tinybsd, but you can customize it
further by removing stuff you don't need in a
configure script, just before it creates the
flash image.
Don't forget the CPU_GEODE kernel option.
Good luck!
-cpghost.
--
Cordula's Web. http://www.cordula.ws/
------------------------------
Message: 17
Date: Wed, 21 Jul 2004 11:49:03 -0700 (PDT)
From: Doug White <dwhite@gumbysoft.com>
Subject: Re: Erros in: make -j 16 buildword
To: Willem Jan Withagen <wjw@withagen.nl>
Cc: current@FreeBSD.ORG
Message-ID: <20040721114745.X81889@carver.gumbysoft.com>
Content-Type: TEXT/PLAIN; charset=US-ASCII
On Tue, 20 Jul 2004, Willem Jan Withagen wrote:
> Hi,
>
> One way or another it seems that I can no longer buildworld with -j16.
> -j8 works perfectly, but -j16 fails consistently at:
[...]
>
> Unless anybody has suggestions of which programs generate these tearse
> messages???
> Or a way to get make to be more informative???
You need to capture the entire output since the error is buried in there.
Make doesn't abort -j builds until all the subprocesses are finished, and
they can run for a long time...
--
Doug White | FreeBSD: The Power to Serve
dwhite@gumbysoft.com | www.FreeBSD.org
------------------------------
Message: 18
Date: Wed, 21 Jul 2004 11:51:33 -0700 (PDT)
From: Doug White <dwhite@gumbysoft.com>
Subject: RE: fetch hangs, part 2
To: Matt White <matt+list.sw.freebsd.current@publicly.neglect.us>
Cc: freebsd-current@freebsd.org
Message-ID: <20040721115021.J81889@carver.gumbysoft.com>
Content-Type: TEXT/PLAIN; charset=US-ASCII
On Wed, 21 Jul 2004, Matt White wrote:
> In my case, I tracked this down to either my netscreen5 or the cable into
> it going south. It's a bit strange because other software wasn't having an
> issue, so I'll probably look at this more in the next few days. But for
> now, removing that box from my network has made fetch happy again, which in
> turn has made me happy again.
It might have been breaking passive-mode FTP. I've noticed this problem
coming from certain places. Thankfully not from my workplace or home :)
Some older inspective firewalls don't understand passive mode and drop the
connection.
--
Doug White | FreeBSD: The Power to Serve
dwhite@gumbysoft.com | www.FreeBSD.org
------------------------------
Message: 19
Date: Wed, 21 Jul 2004 12:47:19 -0700
From: "Darren Pilgrim" <dmp@bitfreak.org>
Subject: RE: fetch hangs, part 2
To: "'Andre Oppermann'" <andre@freebsd.org>
Cc: 'Matt White' <matt+list.sw.freebsd.current@publicly.neglect.us>
Message-ID: <000001c46f5b$88eff1f0$132a15ac@spud>
Content-Type: text/plain; charset="us-ascii"
> From: Andre Oppermann [mailto:andre@freebsd.org]
>
> Darren sent me a list with sites where he experiences the
> problem and I
> have tested them with FreeBSD 5-CURRENT (yesterday's), 4.10-STABLE and
> Windows 2kSP4. None worked. For FreeBSD fetch waited for
> the connection
> timeout and went to the second site to fetch the tarball
> (successfully).
>
> Maybe he was just not patient enough to wait for fetch to move on.
Probably not. :)
On the machine in question, 1-2 minutes is longer than the time from extract
to package for most ports. I've since set FETCH_CMD=/usr/bin/fetch -ARrT 10
in /etc/make.conf to cycle through sites more quickly.
------------------------------
Message: 20
Date: Wed, 21 Jul 2004 16:05:24 -0400
From: Brian Fundakowski Feldman <green@freebsd.org>
Subject: Re: panic: mb_init_pack(): Can't deal with failure yet.
To: Greg Skafte <skafte+freebsd-current@trollkarl.net>
Cc: freebsd-current@freebsd.org
Message-ID: <20040721200524.GK1009@green.homeunix.org>
Content-Type: text/plain; charset=us-ascii
On Wed, Jul 21, 2004 at 10:04:34AM -0600, Greg Skafte wrote:
> panic: mb_init_pack(): Can't deal with failure yet.
> panic messages:
> ---
> panic: mb_init_pack(): Can't deal with failure yet.
> cpuid = 0;
> boot() called on cpu#0
This is a known problem awaiting more testing before the solution can be
committed. Please test this patch and let me know if there's something
wrong still; if you can stress-test it hard, that would be great :)
<http://green.homeunix.org/~green/uma_error_checking.4.patch>
--
Brian Fundakowski Feldman \'[ FreeBSD ]''''''''''\
<> green@FreeBSD.org \ The Power to Serve! \
Opinions expressed are my own. \,,,,,,,,,,,,,,,,,,,,,,\
------------------------------
Message: 21
Date: Wed, 21 Jul 2004 13:10:12 -0700
From: Matt White <matt+list.sw.freebsd.current@publicly.neglect.us>
Subject: RE: fetch hangs, part 2
To: freebsd-current@freebsd.org
Message-ID: <3279369656.1090415412@[192.168.20.34]>
Content-Type: text/plain; charset=us-ascii; format=flowed
I don't think so in this case since I was using this same netscreen with a
FreeBSD 5.1 box without incident. I'm actually suspicious of the cabling
at the moment, but I have higher priorities than to figure that out at the
moment.
-Matt
--On Wednesday, July 21, 2004 11:51 AM -0700 Doug White
<dwhite@gumbysoft.com> wrote:
> On Wed, 21 Jul 2004, Matt White wrote:
>
>> In my case, I tracked this down to either my netscreen5 or the cable into
>> it going south. It's a bit strange because other software wasn't having
>> an issue, so I'll probably look at this more in the next few days. But
>> for now, removing that box from my network has made fetch happy again,
>> which in turn has made me happy again.
>
> It might have been breaking passive-mode FTP. I've noticed this problem
> coming from certain places. Thankfully not from my workplace or home :)
>
> Some older inspective firewalls don't understand passive mode and drop the
> connection.
>
> --
> Doug White | FreeBSD: The Power to Serve
> dwhite@gumbysoft.com | www.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"
------------------------------
Message: 22
Date: Wed, 21 Jul 2004 22:31:05 +0200
From: Daniel Lang <dl@leo.org>
Subject: Re: NEW TAR
To: Brooks Davis <brooks@one-eyed-alien.net>, harti@freebsd.org,
Garrett Wollman <wollman@khavrinen.lcs.mit.edu>
Cc: current@freebsd.org
Message-ID: <20040721203105.GA55687@atrbg11.informatik.tu-muenchen.de>
Content-Type: text/plain; charset=us-ascii
Hi,
Brooks Davis wrote on Wed, Jul 21, 2004 at 09:27:06AM -0700:
[..]
> Since sparse files over commit the disk, they should only be created
> deliberatly. Otherwise you can easily get in trouble if you try to use
> reserved space later since it won't actually be reserved. Consider the
> case of a file system image created with "dd if=/dev/zero ...; newfw
> ...". If your archiver decides to be "smart" and restore a copy of that
> file sparce and then you use up the availble blocks on your disk you're
> going to be in a world of hurt. I wouldn't be suprised it that resulted
> in a panic.
[Garret writes:]
> You've never run out of disk space as a result of a sparse file
> becoming non-sparse?
That was not my point. I agree, that it should be done deliberately.
There should be a non-default command-line switch to enable sparse
files or not (as it is common practice now anyway). But if someone
chooses to use sparse files upon archive extraction (I believe this
is the more important part), it does not matter how the original
file layout was in terms of blocks of allocated zeroes and unallocated
blocks.
To Harti:
I admit I don't know for sure, but to my understanding the handling
of the sparse file is done in the filesystem layer and not in the
application, right? Then all possible performance benefit on reading
a sparse file should be gained anyway. Regardless if the application
(the archiver) knows about the locations of the gaps or not....
Best regards,
Daniel
--
IRCnet: Mr-Spock - All your .sigs are belong to us -
Daniel Lang * dl@leo.org * +49 89 289 18532 * http://www.leo.org/~dl/
------------------------------
Message: 23
Date: Wed, 21 Jul 2004 14:34:54 -0600
From: Greg Skafte <skafte+freebsd-current@trollkarl.net>
Subject: Re: panic: mb_init_pack(): Can't deal with failure yet.
To: freebsd-current@freebsd.org
Message-ID: <20040721203453.GA4615@trollkarl.skafte.org>
Content-Type: text/plain; charset=us-ascii
should I also be brining my machine upto "latest" stuff, or is my
2004.06.15.01.00.00
Quoting Brian Fundakowski Feldman (green@freebsd.org)
On Subject: Re: panic: mb_init_pack(): Can't deal with failure yet.
Date: Wed, Jul 21, 2004 at 04:05:24PM -0400
> On Wed, Jul 21, 2004 at 10:04:34AM -0600, Greg Skafte wrote:
> > panic: mb_init_pack(): Can't deal with failure yet.
> > panic messages:
> > ---
> > panic: mb_init_pack(): Can't deal with failure yet.
> > cpuid = 0;
> > boot() called on cpu#0
>
> This is a known problem awaiting more testing before the solution can be
> committed. Please test this patch and let me know if there's something
> wrong still; if you can stress-test it hard, that would be great :)
> <http://green.homeunix.org/~green/uma_error_checking.4.patch>
>
> --
> Brian Fundakowski Feldman \'[ FreeBSD ]''''''''''\
> <> green@FreeBSD.org \ The Power to Serve!
\
> Opinions expressed are my own. \,,,,,,,,,,,,,,,,,,,,,
,\
>
--
Email: skafte@trollkarl.net ICQ: 93234105
-- --
When things can't get any worse, they simplify themselves by getting a
whole lot worse then complicated. A complete and utter disaster is the
simplest thing in the world; it's preventing one that's complex.
(Janet Morris)
------------------------------
Message: 24
Date: Wed, 21 Jul 2004 13:36:20 -0700 (PDT)
From: Kim Culhan <w8hdkim@yahoo.com>
Subject: laptop for -current
To: freebsd-current@FreeBSD.org
Message-ID: <20040721203620.72466.qmail@web50707.mail.yahoo.com>
Content-Type: text/plain; charset=us-ascii
Anyone know a laptop they think is good for FreeBSd-current?
With all the differences in hardware, trying to find
one which is mostly compatible is not straightforward.
The manufacturers don't make it easier..
tnc
-kim
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!
http://promotions.yahoo.com/new_mail
------------------------------
Message: 25
Date: Wed, 21 Jul 2004 22:39:01 +0200
From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
Subject: Re: laptop for -current
To: Kim Culhan <w8hdkim@yahoo.com>
Cc: freebsd-current@freebsd.org
Message-ID: <92761.1090442341@critter.freebsd.dk>
In message <20040721203620.72466.qmail@web50707.mail.yahoo.com>, Kim Culhan wr
i
tes:
>Anyone know a laptop they think is good for FreeBSd-current?
I bought a IBM T41p with the IBM wireless (== atheros) and it works
great.
As long as the CD drive is in the machine ACPI works flawlessly.
--
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: 26
Date: Wed, 21 Jul 2004 15:51:57 -0500
From: Joseph Peterson <joseph.peterson@gmail.com>
Subject: Re: laptop for -current
To: freebsd-current@freebsd.org
Message-ID: <38a23c3604072113512ee32bcd@mail.gmail.com>
Content-Type: text/plain; charset=US-ASCII
I use a Toshiba A25-S279 and it works great, wireless (Atheros) works,
CD has some minor issues that I imagine is just a configuration...
burncd locks up and the only solution is to power cycle the machine,
probably a dma or similar issue, otherwise everything is great! --
sound works, video is 1024x768
On Wed, 21 Jul 2004 22:39:01 +0200, Poul-Henning Kamp
<phk@phk.freebsd.dk> wrote:
> In message <20040721203620.72466.qmail@web50707.mail.yahoo.com>, Kim Culhan
wri
> tes:
>
> >Anyone know a laptop they think is good for FreeBSd-current?
>
> I bought a IBM T41p with the IBM wireless (== atheros) and it works
> great.
>
> As long as the CD drive is in the machine ACPI works flawlessly.
>
> --
> 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.
>
>
> _______________________________________________
> 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: 27
Date: Wed, 21 Jul 2004 23:18:48 +0200 (CEST)
From: Lukas Ertl <le@FreeBSD.org>
Subject: Re: laptop for -current
To: Poul-Henning Kamp <phk@phk.freebsd.dk>
Cc: Kim Culhan <w8hdkim@yahoo.com>
Message-ID: <20040721231723.A601@korben.in.tern>
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
On Wed, 21 Jul 2004, Poul-Henning Kamp wrote:
> In message <20040721203620.72466.qmail@web50707.mail.yahoo.com>, Kim Culhan
wri
> tes:
>
>> Anyone know a laptop they think is good for FreeBSd-current?
>
> I bought a IBM T41p with the IBM wireless (== atheros) and it works
> great.
I can only second that. I have a T40 and FreeBSD support is really great:
ACPI makes no problems, and with the ndisulator I can use the built-in
wireless card.
cheers,
le
--
Lukas Ertl http://homepage.univie.ac.at/l.ertl/
le@FreeBSD.org http://people.freebsd.org/~le/
------------------------------
Message: 28
Date: Wed, 21 Jul 2004 16:20:09 -0500
From: Eric Anderson <anderson@centtech.com>
Subject: Re: laptop for -current
To: Lukas Ertl <le@freebsd.org>
Cc: Poul-Henning Kamp <phk@phk.freebsd.dk>
Message-ID: <40FEDE09.1040100@centtech.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Lukas Ertl wrote:
> On Wed, 21 Jul 2004, Poul-Henning Kamp wrote:
>
>> In message <20040721203620.72466.qmail@web50707.mail.yahoo.com>, Kim
>> Culhan wri
>> tes:
>>
>>> Anyone know a laptop they think is good for FreeBSd-current?
>>
>>
>> I bought a IBM T41p with the IBM wireless (== atheros) and it works
>> great.
>
>
> I can only second that. I have a T40 and FreeBSD support is really
> great: ACPI makes no problems, and with the ndisulator I can use the
> built-in wireless card.
I'm using a Dell D600, and it's excellent..
Eric
--
------------------------------------------------------------------
Eric Anderson Sr. Systems Administrator Centaur Technology
Talk sense to a fool and he calls you foolish.
------------------------------------------------------------------
------------------------------
Message: 29
Date: Wed, 21 Jul 2004 18:34:43 -0300
From: Jean Milanez Melo <jmelo-lists@freebsdbrasil.com.br>
Subject: Re: FreeBSD embedded: TinyBSD
To: pablo.morales@abitab.com.uy
Cc: Patrick Gardella <patrick@intothewind.cx>
Message-ID: <1090445683.665.28.camel@offset.freebsdbrasil.com.br>
Content-Type: text/plain
Hi,
Yes, it refers to the image size according to the space of the
destination device.
You can create a image with GEODE, put GODE cpu options in TINYBSD
kernel file and then test your environment.
- Jean
On Wed, 2004-07-21 at 12:32, pablo.morales@abitab.com.uy wrote:
> HI there boys.
> I'm writing to Uruguay
> I'm interested in TinyBSD, I'd like to know if the term ebeded refers
> only to the *size* or if you have been tweking the kernel code.
>
> I'm working with Some GEODE stuff, using linux, I'm using the terminals
> just like that, remote PXE booting with nfs-root.
>
> I'd like to have access to your project to give it a try with this
> enviroment.
>
> Thanx.
>
>
>
>
>
>
> On 21/7/2004, "Jean Milanez Melo" <jmelo-lists@freebsdbrasil.com.br>
> wrote:
>
> >On Wed, 2004-07-21 at 08:58, Patrick Gardella wrote:
> >> Is there a web page for TinyBSD?
> >>
> >> patrick
> >
> >
> >Not yet, but we're going to make one if people like the project and it
> > gets well accepted by the community. We're definatelly putting up a
> >lot
> > of documentation on that page, though. We haven't done so yet because
> > currently it's way too simple, as you can run it knowing only the
> > information regarding the target device.
> >
> > For example, assuming a 32MB flash memory, one could use the following
> > parameters to create an embedded system:
> >
> > ./tinybsd.sh 62592 4 32
> >
> > Or optionally the name of the output image you want:
> >
> > ./tinybsd.sh 62592 4 32 myimage.bin
> >
> >- Jean Milanez Melo
> >
> >>
> >> On Jul 20, 2004, at 11:48 AM, Jean Milanez Melo wrote:
> >>
> >> > Hello current,
> >> >
> >> > Please allow me to introduce myself, I'm one of the coordinators of
> >> > the Brazilian FreeBSD Users group, coordinator of the official
> >> > FreeBSD documentation's translation group and have been working with
> >> > embedded FreeBSD systems since year 2000.
> >> >
> >> > I've been studying NanoBSD ever since Poul-Henning posted about it
> >> > on one of
> >> > the mailling lists, and I have been following this project closely.
> >> > It
> >> > really is a great project.
> >> >
> >> > However, I think it sometimes creates unnecessary partitions, takes
> >> > too long to build the system due to make world and it copies lots of
> >> > unneeded binaries, taking a lot of precious space.
> >> >
> >> > So me and Patrick Tracanelli (another active member of the Brazilian
> >> > FreeBSD community) decided to write a new set of scripts to build
> >> > embedded systems. We've named it TinyBSD, and its goal is to be
> >> > faster
> >> > at building-time, occupy less space on the target device and to ease
> >> > customization like PicoBSD does.
> >> >
> >> > Untar/gzip the tinybsd.tgz file under /usr/src/release.
> >> >
> >> > # ls
> >> > TINYBSD TODO tinybsd.basefiles tinybsd.sh
> >> >
> >> > We first take the file TINYBSD, which like in PicoBSD we can use to
> >> > define or remove all kernel options to the new system.
> >> >
> >> > Then we have tinybsd.basefiles, where we define all binaries
> >> > necessary
> >> > to get the system running and anyone can edit it as they will.
> >> >
> >> > Finally we have the script itself, tinybsd.sh. It's a simple script,
> >> > yet functional. We based it on NanoBSD's and its idea is to create a
> >> > temporary work directory where the new system's directory tree will
> >> > be
> >> > created. Then it'll copy all files listed on tinybsd.basefiles to
> >> > this
> >> > tree. This copying process is essential to the speed of the building
> >> > process, as we eliminate the recompiling phase. The reason for this
> >> > is
> >> > FreeBSD 5.1' dynamically-linked base system, which take much less
> >> > space than the old statically-linked ones. This way we can also do
> >> > the
> >> > copying without affecting the production system in any way.
> >> >
> >> > After all this, we compile the kernel using the TINYBSD file and then
> >> > we install the necessary libs using the dependencies' output from the
> >> > binaries. We populate the /etc directory on the temp work directory
> >> > and put in a few important default settings in /etc/rc.conf, like:
> >> >
> >> > hostname="tinybsd.freebsd.org"
> >> > sendmail_enable="NONE"
> >> > sshd_enable="YES"
> >> > usbd_enable="NO"
> >> > inetd_enable="NO"
> >> > portmap_enable="NO"
> >> > update_motd="NO"
> >> > varsize="8192"
> >> > diskless_mount="/etc/rc.d/diskless"
> >> >
> >> > Lastly, we create the empty image according to the specifications for
> >> > the device passed in as a parameter and copy the entire temp
> >> > directory
> >> > to the new image. After that, the user can use dd to write the final
> >> > image to the target device.
> >> >
> >> > Booting the system works as embedded systems do, mounting /var and
> >> > /tmp as MFS filesystems.
> >> >
> >> > The most interesting point is the space used by default, only 19MB.
> >> >
> >> > As you can see, it's pretty simple. But since PicoBSD is practically
> >> > unusable with the 5.x series, TinyBSD could be an interesting
> >> > alternative along with NanoBSD to be put on the base system in future
> >> > versions.
> >> >
> >> > Patrick and I have been thinking of enhancing the script and adding
> >> > end-user helping tools such dialog-based menus and the likes, for
> >> > more
> >> > details see our TODO file. In case the FreeBSD project has any
> >> > interest
> >> > in our project, we can perfectly maintain TinyBSD as an embedded
> >> > option
> >> > for FreeBSD users.
> >> >
> >> > We would like that the interested parties make tests and then
> >> > report bug, sends sugestions to improve the TinyBSD.
> >> >
> >> > Thank you for your attention
> >> > Jean Milanez Melo
> >> > <tinybsd.tgz>_______________________________________________
> >> > 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"
> >>
> >>
> >
> >_______________________________________________
> >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: 30
Date: Wed, 21 Jul 2004 18:34:45 -0300
From: Jean Milanez Melo <jmelo-lists@freebsdbrasil.com.br>
Subject: Re: FreeBSD embedded: TinyBSD
To: cpghost <cpghost@cordula.ws>
Cc: pablo.morales@abitab.com.uy
Message-ID: <1090445685.665.30.camel@offset.freebsdbrasil.com.br>
Content-Type: text/plain
On Wed, 2004-07-21 at 15:37, cpghost wrote:
> pablo.morales@abitab.com.uy wrote:
>
> >I'm working with Some GEODE stuff, using linux, I'm using the terminals
> >just like that, remote PXE booting with nfs-root.
> >
> >
> I'm using nanobsd on Soekris net4801 boards (GEODE CPU):
> /usr/src/tools/tools/nanobsd (5.X only)
>
> It's bigger than tinybsd, but you can customize it
> further by removing stuff you don't need in a
> configure script, just before it creates the
> flash image.
>
Really, TinyBSD is smaller than NanoBSD. In TinyBSD's current dir,
remove what you dont need in tinybsd.basefiles. So, run again tinybsd.sh
and recreate your image, it's quicker and simpler.
Please test TinyBSD and send you sugestions to me.
Thanks
Jean
------------------------------
Message: 31
Date: Wed, 21 Jul 2004 23:37:12 +0200
From: Wiktor Niesiobedzki <bsd@w.evip.pl>
Subject: LORs with PF
To: current@freebsd.org
Message-ID: <20040721213712.GL8753@mail.evip.pl>
Content-Type: text/plain; charset=us-ascii
Hi,
I don't think, it was reported yet, but here it goes:
lock order reversal
1st 0xc0632c80 pf task mtx (pf task mtx) @ /usr/src/sys/contrib/pf/net/pf.c:5
822
2nd 0xc066638c tcp (tcp) @ /usr/src/sys/contrib/pf/net/pf.c:2420
KDB: stack backtrace:
kdb_backtrace(c05f529a,c066638c,c05f4e21,c05f4e21,c05e7e3f) at kdb_backtrace+0
x2e
witness_checkorder(c066638c,9,c05e7e3f,974,104) at witness_checkorder+0x672
_mtx_lock_flags(c066638c,0,c05e7e3f,974,c1893230) at _mtx_lock_flags+0x80
pf_socket_lookup(cb9659b4,cb9659b8,2,cb965a70,c14fad00) at pf_socket_lookup+0x
b4
pf_test_tcp(cb965a20,cb965a18,2,c14fad00,c1475100) at pf_test_tcp+0x529
pf_test(2,c10d8014,cb965b00,c15276a0,c0665ee0) at pf_test+0x4a3
pf_check_out(0,cb965b00,c10d8014,2,c1475100) at pf_check_out+0x5b
pfil_run_hooks(c0665ee0,cb965bc0,c10d8014,2,c04e8a70) at pfil_run_hooks+0xca
ip_output(c1475100,0,0,1,0) at ip_output+0x66d
ip_forward(c1475100,0,0,1,0) at ip_forward+0x37d
ip_input(c1475100,0,c05fad20,96,c0665598) at ip_input+0x65d
netisr_processqueue(c0665598,0,c05fad20,fe,c10d62c0) at netisr_processqueue+0x
8e
swi_net(0,0,c05ef737,263,c063ae60) at swi_net+0xa3
ithread_loop(c10dd400,cb965d48,c05ef52e,328,c10dd400) at ithread_loop+0x172
fork_exit(c04ad4c0,c10dd400,cb965d48) at fork_exit+0xc2
fork_trampoline() at fork_trampoline+0x8
--- trap 0x1, eip = 0, esp = 0xcb965d7c, ebp = 0 ---
Is there anything I can do, to investigate it further?
Cheers,
Wiktor Niesiobedzki
------------------------------
Message: 32
Date: Thu, 22 Jul 2004 06:53:09 +0900
From: Hidetoshi Shimokawa <simokawa@sat.t.u-tokyo.ac.jp>
Subject: Re: Excellent job on the firewire support!
To: Doug Rabson <dfr@nlsystems.com>
Cc: simokawa@freebsd.org
Message-ID: <87u0w1ni2i.wl@tora.nunu.org>
Content-Type: text/plain; charset=US-ASCII
At Wed, 21 Jul 2004 15:59:01 +0100,
Doug Rabson wrote:
> > If no, assuming I had a Windows or Linux box on the firewire bus, would it
be
> > possible to access physical memory from a different OS?
>
> Windows XP has some kind of firewire debug driver that you might have to
> load (I haven't read the docs on that). I don't think the linux driver
> enables physical access by default but it would be easy to hack it in
> (just write all ones to the right fwohci register).
The physical access is usually used for SBP-2 initiator mode.
Without physical access, the performance of SBP-2 should be
poorer and we see more load on CPU.
The physical access can be restricted by two way. You can
restrict it per node-id and by physical memory range(upper bound).
As far as I have tried, WindowsXP seems not to allow physical access
of usual nodes. But I think you can easily cheat it by a node with
sbp target mode(use sbp_targ(4) ;-).
In my opinion, it's hard to ensure security with current OHCI
specification.
https://www.netsecurity.ne.jp/article/2/6202.html
This page describes this problem in Japanese. It says that
information source is "iDEFENSE Intelligence Operations, June 18,
2002" but I cannot find the original source (in English).
/\ Hidetoshi Shimokawa
\/ simokawa@sat.t.u-tokyo.ac.jp
PGP public key: http://www.sat.t.u-tokyo.ac.jp/~simokawa/pgp.html
------------------------------
Message: 33
Date: Thu, 22 Jul 2004 07:59:40 +1000
From: John Birrell <jb@cimlogic.com.au>
Subject: Re: nanosleep returning early
To: Bruce Evans <bde@zeta.org.au>
Cc: current@freebsd.org
Message-ID: <20040721215940.GK22160@freebsd3.cimlogic.com.au>
Content-Type: text/plain; charset=us-ascii
On Wed, Jul 21, 2004 at 11:01:20PM +1000, Bruce Evans wrote:
> On Wed, 21 Jul 2004, Brian Fundakowski Feldman wrote:
> > On Wed, Jul 21, 2004 at 06:13:10PM +1000, John Birrell wrote:
> > >
> > > Today I increased HZ in a current kernel to 1000 when adding dummynet.
> > > Now I find that nanosleep regularly comes back a little early.
> > > Can anyone explain why?
>
> The most obvious bug is that nanosleep() uses the low-accuracy interface
> getnanouptime(). I can't see why the the problem is more obvious with
> large HZ or why it affects short sleeps. From kern_time.c 1.170:
>
> % static int
> % nanosleep1(struct thread *td, struct timespec *rqt, struct timespec *rmt)
> % {
> % struct timespec ts, ts2, ts3;
> % struct timeval tv;
> % int error;
> %
> % if (rqt->tv_nsec < 0 || rqt->tv_nsec >= 1000000000)
> % return (EINVAL);
> % if (rqt->tv_sec < 0 || (rqt->tv_sec == 0 && rqt->tv_nsec == 0))
> % return (0);
> % getnanouptime(&ts);
>
> This may lag the actual (up)time by 1/HZ seconds.
For any NTP clock adjustment to have an effect, it must happen between
the time when my (crude) test gets the time and when the kernel calls
getnanouptime to fill ts. All the rest of the code in nanosleep1()
refers back to the value of ts. Any errors involved in the tv and hz
conversions would just cause the code to go around the loop and tsleep
more than once.
So, does increasing HZ expose the lower accuracy of getnanouptime() and is
that what I'm seeing?
If so, shouldn't the time interface provided by the kernel to userland
at least be consistently inaccurate? Or put another way, why should
nanosleep be any less accurate than gettimeofday?
Bruce, have you seen this document: <http://www.dragonflybsd.org/docs/nanoslee
p/>?
I'm not looking for a critique here. The document talks about the sleep
overruns in various operatingg systems. There is a patch that was applied
to DragonFly which aplies to the FreeBSD code base too.
--
John Birrell
------------------------------
Message: 34
Date: Thu, 22 Jul 2004 08:02:45 +1000
From: John Birrell <jb@cimlogic.com.au>
Subject: Re: laptop for -current
To: Kim Culhan <w8hdkim@yahoo.com>
Cc: freebsd-current@freebsd.org
Message-ID: <20040721220245.GL22160@freebsd3.cimlogic.com.au>
Content-Type: text/plain; charset=us-ascii
On Wed, Jul 21, 2004 at 04:20:09PM -0500, Eric Anderson wrote:
> Lukas Ertl wrote:
> I'm using a Dell D600, and it's excellent..
I have a Dell Inspiron 1150 which works nicely too.
--
John Birrell
------------------------------
Message: 35
Date: Thu, 22 Jul 2004 00:19:43 +0200 (MET DST)
From: Pierre Weis <pierre.weis@inria.fr>
Subject: Re: laptop for -current
To: anderson@centtech.com (Eric Anderson)
Cc: phk@phk.freebsd.dk
Message-ID: <200407212219.AAA18393@pauillac.inria.fr>
Content-Type: text/plain; charset=US-ASCII
[...]
> I'm using a Dell D600, and it's excellent..
>
> Eric
>
> --
> ------------------------------------------------------------------
> Eric Anderson Sr. Systems Administrator Centaur Technology
> Talk sense to a fool and he calls you foolish.
> ------------------------------------------------------------------
I'm also running -current on a Dell laptop (a Precision M60 with the
large (1920x1200 pixels) screen). It works pretty well, although not
perfectly: I have not managed to have ACPI working properly and I have
problems with the Nvidia driver (I had to revert to the XFree nv
driver to get X running). Also, the FireFox port can be compiled and
installed but the resulting program core dumps too often to be
usable. This may be because I'm using a cutting edge X-server from XFree86
(version 4.4.99.9); anyway, I am now obliged to use Netscape which is
not my browser of choice :(
On the other hand, the OS is rock solid and all the sub-systems work
perfectly: USB1, USB2, FireWire, PC-cards, CD/RW/DVD reader,
Bluetooth, the Broadcom NICs (either the 10/100/1000 Mb/s wired
ethernet, or the 802.11 a/b/g wireless card)!
To my knowledge, this OS is the best fit for this machine :)
Also, the machine itself is excellent: it runs fast, has a silent and
fast hard disk and the screen is a dream. This laptop is just a bit
heavy to carry and it pumps the battery way too quickly (in my case, 2
hours and a half is enough to dry it up).
In conclusion: a very good OS/machine combination, that would be
excellent if only the ACPI system could slow down the processor and
put the machine asleep...
Hope this helps,
Pierre Weis
INRIA, Projet Cristal, Pierre.Weis@inria.fr, http://pauillac.inria.fr/~weis/
------------------------------
Message: 36
Date: Thu, 22 Jul 2004 00:31:50 +0200
From: Martin <nakal@web.de>
Subject: Re: laptop for -current
To: Kim Culhan <w8hdkim@yahoo.com>
Cc: FreeBSD Current <freebsd-current@freebsd.org>
Message-ID: <1090449108.72182.31.camel@klotz.local>
Content-Type: text/plain
Am Mi, den 21.07.2004 schrieb Kim Culhan um 22:36:
> Anyone know a laptop they think is good for FreeBSd-current?
My Thinkpad R40 works quite well, too.
- ACPI is fine
- wireless lan with ndis drivers (for Win XP)
- sound ok
- graphics ok (without glx or X won't start properly)
- LAN is ok
- I don't know how to make the internal MC'97 56k work :(
Additional hint:
options CPU_ENABLE_TCC
should be enabled. I measured lower power consumption
after compiling kernel with this option.
Martin
------------------------------
Message: 37
Date: Thu, 22 Jul 2004 10:54:33 +1200
From: Drew Broadley <drew@corrupt.co.nz>
Subject: Re: laptop for -current
To: Kim Culhan <w8hdkim@yahoo.com>
Cc: freebsd-current@FreeBSD.org
Message-ID: <40FEF429.4060408@corrupt.co.nz>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Kim Culhan wrote:
>Anyone know a laptop they think is good for FreeBSd-current?
>
>
I have a Compaq Evo n800v.
Pros:
CPU Stepping works fine
XFree86 works fine with the monitor 15": 1400x1050@75 and the aux
s-video output.
Cons:
The CD-RW burns blanks though with 'cdrecord' and 'burncd'.
XFree86 doesn't like coming back up when I close the lid and open it
Suspend and Resume do not work.
Any help is appreciated for the following cons
- Drew
------------------------------
Message: 38
Date: Thu, 22 Jul 2004 10:20:18 +0930
From: "Daniel O'Connor" <doconnor@gsoft.com.au>
Subject: Re: laptop for -current
To: freebsd-current@freebsd.org
Cc: Kim Culhan <w8hdkim@yahoo.com>
Message-ID: <200407221020.18967.doconnor@gsoft.com.au>
Content-Type: Text/Plain; charset="iso-8859-1"
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Thu, 22 Jul 2004 06:06, Kim Culhan wrote:
> Anyone know a laptop they think is good for FreeBSd-current?
I have a Dell Inspiron 8600 which works very well.
It has nVidia Fx5200 Go in it and I use the binary drivers (which means libc_r
for me)
The modem doesn't work. The wireless is Intel Pro 2100 which works with
if_ndis.
It doesn't suspend below S1 either.
- --
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
-- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)
iD8DBQFA/w9K5ZPcIHs/zowRAp5qAJ4qk8JR7XnH5mZ3bp6YpY4Rv90Z3ACfd8f0
Z5FnT4BxGKolLzqFqdua6CA=
=G4j2
-----END PGP SIGNATURE-----
------------------------------
_______________________________________________
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 69, Issue 10
***********************************************
--
[35mEvariste Galois[m:
[33m�����呛��樱������蔷������,����直前......[m
[m[34m�� ��源:������� bbs.ustc.edu.cn [FROM: 210.45.72.234][m