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: Error in /usr/src/Makefile.inc1 (Doug White)
2. Re: [REVIEW] move tty lock/initial up in the stack
(Poul-Henning Kamp)
3. Re: Problems installing FreeBSD with 3ware 9500S-4LP (Doug White)
4. re: Error in /usr/src/Makefile.inc1 (Eugene)
5. -current build failure -not seen on the list (Kim Culhan)
6. Re: Realtek RT8139 (onboard) - failed to receive packet in
loopback mode (Andreas Braukmann)
7. Re: Realtek RT8139 (onboard) - failed to receive packet in
loopback mode (Sven Petai)
8. Re: [current tinderbox] failure on i386/i386 (David O'Brien)
9. Re: Bogus signal handler causes kernel panic (5.2.1-p8/i386)
(Simon Barner)
10. Re: [REVIEW] move tty lock/initial up in the stack
(M. Warner Losh)
11. 5.2.1 boot question (Darin)
12. bad linker appears to be related to TARGET_SYSTEM_ROOT
(Sean McNeil)
13. Re: ppp with dynamic IPs and ipfw "me" (Don Lewis)
14. filesystem deadlocks (Gerrit Nagelhout)
15. Re: Lost buffers with mounted ext2fs (Tai-hwa Liang)
16. Re: dlclose problem (Tim Robbins)
17. Re: bad linker appears to be related to TARGET_SYSTEM_ROOT
(David O'Brien)
18. Re: ld problem (David O'Brien)
19. bge0 coming up too late?? (Tom Parquette)
20. -lthr vs. -pthread (Cyrille Lefevre)
21. Re: -lthr vs. -pthread (David Xu)
22. Re: Lost buffers with mounted ext2fs (Don Lewis)
23. dell usb keyboard not attached to console by default on
P4C800-E (leon breedt)
24. Re: dell usb keyboard not attached to console by default on
P4C800-E (files attached) (leon breedt)
----------------------------------------------------------------------
Message: 1
Date: Sat, 19 Jun 2004 11:17:37 -0700 (PDT)
From: Doug White <dwhite@gumbysoft.com>
Subject: Re: Error in /usr/src/Makefile.inc1
To: Mike Jakubik <mikej@rogers.com>
Cc: freebsd-current@freebsd.org
Message-ID: <20040619111658.Q48022@carver.gumbysoft.com>
Content-Type: TEXT/PLAIN; charset=US-ASCII
On Thu, 17 Jun 2004, Mike Jakubik wrote:
> Cvsuped at Thu Jun 17 01:02:37 EDT 2004
>
> ---
>
> root@lappy:/usr/src# make buildworld
> "Makefile.inc1", line 65: Malformed conditional (${TARGET_ARCH} == "alpha")
> "Makefile.inc1", line 65: Need an operator
> "Makefile.inc1", line 67: if-less endif
> "Makefile.inc1", line 67: Need an operator
> make: fatal errors encountered -- cannot continue
> *** Error code 1
You usually get this if you have a severly outdated make. Check the
system time for accuracy, then try "make ALWAYS_CHECK_MAKE=yes
buildworld".
--
Doug White | FreeBSD: The Power to Serve
dwhite@gumbysoft.com | www.FreeBSD.org
------------------------------
Message: 2
Date: Sat, 19 Jun 2004 20:21:49 +0200
From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
Subject: Re: [REVIEW] move tty lock/initial up in the stack
To: Bruce Evans <bde@zeta.org.au>
Cc: current@freebsd.org
Message-ID: <70381.1087669309@critter.freebsd.dk>
In message <20040619193901.W770@gamplex.bde.org>, Bruce Evans writes:
>On Sat, 19 Jun 2004, Poul-Henning Kamp wrote:
>
>> This patch moves the "lock/initial" facility known from sio(4) up
>> to the generic tty layer.
>
>Just moving them is OK. Unfortunately, the patch does less than move
>them ...
>
>... starting here. Control devices in general must be separate so that
>they can have different ownership and permissions, and can be opened
>without side effects. For sio devices, the non-control devices can't
>even be opened if the complementary non-control device is open.
I'm not keen on adding four control devices for all ttys in the system,
and therefore I decided to collapse the states for both directions and
use inband signalling for the changes. I could be persuaded to have
a single control-device per tty.
>This is missing moving the lock state handling, which comprises about half
>of the code that can be moved.
This is only the first step of the journey.
>The new cases don't belong in this case statement anyway, since the new
>ioctls don't involve modification of the active part of the tty struct.
I'm not sure I agree, but I don't care much either way.
I want to get rid of this duplication of the switch anyway, and use
a function call to do the background check and add that functioncall
where each ioctl is implemented.
--
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: 3
Date: Sat, 19 Jun 2004 11:27:34 -0700 (PDT)
From: Doug White <dwhite@gumbysoft.com>
Subject: Re: Problems installing FreeBSD with 3ware 9500S-4LP
To: Patrick Hurrelmann <outi@bytephobia.de>
Cc: freebsd-current@freebsd.org
Message-ID: <20040619112104.D48022@carver.gumbysoft.com>
Content-Type: TEXT/PLAIN; charset=US-ASCII
well you replied to yourself and made this a mess, I'll see what I can do
to trim it down :)
On Fri, 18 Jun 2004, Patrick Hurrelmann wrote:
> > > Whats the RAID config?
> >
> > I forgot to include that. Shame on me.
> > 4x 120GB, 7200rpm, 8mb chache WesternDigital Disks are configured as one R
aid 5 array.
>
> Disk details: WDC WD1200JB-75GBB0
So 1 4-disk raid5. ok.
> > > > 5.1-Release
> > > > w ACPI: Loading twa.ko (binary distribution of 3ware.com for 5.2) in
sysinstall failes.
> > > > w/o ACPI: same as w ACPI.
> > >
> > > I wouldn't expect this to work.
> >
> > I tried that, as download page on 3ware says (FreeBSD 5.1, but i
> > excpect that this is an error)
Yeah, I don't think thats right; Vinod said its been qualified on 5.2.
The kernel ABI's changed since 5.1.
> > > > 5.2-Release
> > > > w ACPI: loaded twa.ko in sysinstall.
> > > > install went ok, on next reboot it just halts after BTX-Loader.
> > > > I cannot load twa.ko in loader.
> > > > w/o ACPI: same as w ACPI.
> > >
> > > Hm, sounds like the loader is getting corrupted. Try booting the install
> > > CD, breaking out of the loader countdown and run these commands
> > > (untested):
> > >
> > > unload
> > > set rootdev=disk1s1a (or whatever disk you put freebsd on)
> > > boot /boot/kernel/kernel
> >
> > No, i think i didn't make it clearly enough. It halt on BTX-Loader.
> > I don't to the "real" loader. I don't see what modules it loads, etc.
> > I'll reboot an post the exact message i see.
I was asking if you can boot off a different media here. Since you can
boot off the CDROM okay, I wanted you to use the CD's loader to boot the
on-disk system. If that worked then the loader binary on disk was
probably corrupted.
> > twa.ko from 3ware dowload-site included new firmware. The controller
> > has been updated automatically.
> >
> twa firmware is 2.02.00.011
> twa bios is 2.02.01.037
Ah, they split it into runtime firmware and BIOS. I was curious if there
was a new BIOS available, but it appears its a part of the driver package
now. Thats annoying; if you can't boot due to a BIOS problem, you can't
boot to upload a new BIOS. Nice chicken-&-egg problem.
> > I have second ide-disk with a some day old current. I can mount the partit
ions created during install. All seems to be ok.
> >
> > I tried a install with twa.ko of current, but it panics with an
> > page-fault everytime i load the module through sysinstall.
Sounds like the module and kernel are mismatched here.
I'd suggest contacting 3ware at this point, since there is obviously a bug
in the 3ware BIOS.
--
Doug White | FreeBSD: The Power to Serve
dwhite@gumbysoft.com | www.FreeBSD.org
------------------------------
Message: 4
Date: Sat, 19 Jun 2004 20:46:47 +0200
From: Eugene <eugene3@web.de>
Subject: re: Error in /usr/src/Makefile.inc1
To: freebsd-current@freebsd.org
Message-ID: <40D48A17.8010908@web.de>
Content-Type: text/plain; charset=us-ascii; format=flowed
> Date: Thu, 17 Jun 2004 01:05:27 -0400 (EDT)
> From: "Mike Jakubik" <mikej@rogers.com>
> Subject: Error in /usr/src/Makefile.inc1
> To: freebsd-current@freebsd.org
> Message-ID: <59753.192.168.0.195.1087448727.squirrel@192.168.0.195>
> Content-Type: text/plain;charset=iso-8859-1
>
> Cvsuped at Thu Jun 17 01:02:37 EDT 2004
>
> ---
>
> root@lappy:/usr/src# make buildworld
> "Makefile.inc1", line 65: Malformed conditional (${TARGET_ARCH} ==
> "alpha")
> "Makefile.inc1", line 65: Need an operator
> "Makefile.inc1", line 67: if-less endif
> "Makefile.inc1", line 67: Need an operator
> make: fatal errors encountered -- cannot continue
> *** Error code 1
>
> Stop in /usr/src.
quick workaround which worked for me:
just edit /usr/src/Makefile.inc1
remove or comment_out the 3 lines... if ... "alpha" ... endif
then cvsup again
Eugene
------------------------------
Message: 5
Date: Sat, 19 Jun 2004 12:08:14 -0700 (PDT)
From: Kim Culhan <w8hdkim@yahoo.com>
Subject: -current build failure -not seen on the list
To: FreeBSD-current@FreeBSD.org
Message-ID: <20040619190814.96149.qmail@web50706.mail.yahoo.com>
Content-Type: text/plain; charset=us-ascii
Is anyone seeing this:
contrib/altq -I../../../contrib/ipfilter -I../../../contrib/pf
-I../../../contrib/dev/ath -I../../../contrib/dev/ath/freebsd
-I../../../contrib/ngatm -D_KERNEL -include opt_global.h -fno-common
-finline-limit=8000 -mno-align-long-strings
-mpreferred-stack-boundary=2 -ffreestanding -Werror
./../../netinet/in_proto.c
In file included from ../../../netinet/in_proto.c:91:
./../../contrib/pf/net/pfvar.h:55: error: redefinition of `union
sockaddr_union'
*** Error code 1
Is my build environment hosed ?
-kim
__________________________________
Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!
http://promotions.yahoo.com/new_mail
------------------------------
Message: 6
Date: Sat, 19 Jun 2004 21:31:21 +0200
From: Andreas Braukmann <braukmann@tse-online.de>
Subject: Re: Realtek RT8139 (onboard) - failed to receive packet in
loopback mode
To: Bill Paul <wpaul@FreeBSD.ORG>
Cc: freebsd-current@freebsd.org
Message-ID: <247940000.1087673481@cage.int.unixxinu.de>
Content-Type: text/plain; charset=us-ascii
On 06/18/04 17:32:04 +0000 Bill Paul wrote:
>> On 06/18/04 01:51:17 +0000 Bill Paul wrote:
>> > Please try the code located at:
>> >
>> > http://www.freebsd.org/~wpaul/re
[...]
> Heh. You were able to trivally patch if_re.c but not if_rlreg.h? :)
I refuse any further comments on this ;-)
> I uploaded a new copy and diff of if_rlreg.h to the same URL. Please
> try again.
thanks. The module compiles fine now and probes the nics successfully:
gate# kldload ./if_re.ko
re0: <RealTek 8139C+ 10/100BaseTX> port 0xdc00-0xdcff mem 0xe3400000-0xe34000f
f irq 11 at device 9.0 on pci0
re0: Ethernet address: 00:90:fb:04:1b:31
re0: [GIANT-LOCKED]
[... re1, re2, re3, re4 ...]
The appendant PHY:
miibus0: <MII bus> on re0
rlphy0: <RealTek internal media interface> on miibus0
rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
ifconfig still gives no info about the media types:
gate# ifconfig re0
re0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING>
ether 00:90:fb:04:1b:31
media: Ethernet autoselect (none)
The original driver v 1.24 with the (deactivated) old diagnostic
code works quite ok (despite of teh misleading / missing ifconfig
output for the media). The patched driver from your driver doesn't
work anymore; all attempts to send or receive packets fail.
Currently I can't tell you anything about the concrete link state
of the interface. The box and the (unmanaged) switch are 36 km away
from here.
It's possible, that I get there tomorrow or on monday at the latest.
If you need any further information beforehand, just tell me ...
-Andreas
------------------------------
Message: 7
Date: Sat, 19 Jun 2004 23:11:46 +0300
From: Sven Petai <hadara@bsd.ee>
Subject: Re: Realtek RT8139 (onboard) - failed to receive packet in
loopback mode
To: wpaul@FreeBSD.ORG (Bill Paul), braukmann@tse-online.de (Andreas
Braukmann)
Cc: freebsd-current@freebsd.org
Message-ID: <200406192311.47535.hadara@bsd.ee>
Content-Type: text/plain; charset="iso-8859-1"
On Friday 18 June 2004 20:32, Bill Paul wrote:
> > On 06/18/04 01:51:17 +0000 Bill Paul wrote:
> > > Please try the code located at:
> > >
> > > http://www.freebsd.org/~wpaul/re
> >
> > thanks. The patched if_re.c doesn't compile. You added a
> > member rl_link to the struct rl_softc in pci/if_rlreg.h,
> > didn't you?
> >
> > I'd appreciate getting the appropriate patch for if_rlreg.h.
>
> Heh. You were able to trivally patch if_re.c but not if_rlreg.h? :)
>
> I uploaded a new copy and diff of if_rlreg.h to the same URL. Please
> try again.
Even though I didn't have the problem that this thread is about, I decided to
try the patch anyway since I have 8139C+ too.
The patched version of re seems to be broken in some strange ways...
first I noticed that even though the re0 was recognized the boot hanged for a
very long time when starting up dhclient and evevntually it wasn't able to
get address.. so I gave it address by hand, it worked but network was
unusable... pinging my gateway seems to delay packets until it has ~5-10 of
them and then send it in one burst -
output of ping & ifconfig is available @
http://bsd.ee/~hadara/debug/re/ping.txt
pciconf -lv:
http://bsd.ee/~hadara/debug/re/pciconf.txt
boot -v:
http://bsd.ee/~hadara/debug/re/bootv.txt
kernel config:
http://bsd.ee/~hadara/debug/re/IKALDUS
btw. are you aware of the re's timeout problems other re users have complained
about for a long time ?
for example threads like:
http://groups.google.com/groups?q=freebsd+watchdog+timeout
+re0&hl=en&lr=&ie=UTF-8&safe=off&selm=brimcd%241nfh%241%
40FreeBSD.csie.NCTU.edu.tw&rnum=1
http://www.FreeBSD.org/cgi/getmsg.cgi?fetch=477380+479767+/usr/local/www/db/
text/2004/freebsd-current/20040516.freebsd-current
basically re gets watchdog timeouts every now and then, but it seems to be
dependant on many factors... it's usually easily reproducible with cvsup - in
most cases I get first timeouts within a minute, but it depends on a link
speed to cvsup server, at home where I have about 1Mbit/s link to server I
can reproduce timeouts far faster than I can at work where I have ~50Mbit/s
link to the server. Having some CPU load seems to help too, so I would
suggest using 2 cvsup files with different cvsup dates and doing something
like
while 1
cvsup cvsupfile1
cvsup cvsupfile2
end
and
while 1
make buildkernel
end
in the other window.
Strangely I haven't been able to reproduce timeouts with any other kind of
network load, so cvsup must be doing something special.
I got around it on my box by setting watchdog timer to 5 in txeof() before
rescheduling another interrupt, and it has worked without any problems since
then, but this is of course only a workaround not a real fix, since it
effectivelly disables watchdog timer alltogether.
I also tried setting the timer to 5 in txeof() only when some work has been
done and there still are frames left for later, which seems to me as a right
thing to do - because why shouldn't I give it more time when it has made some
progress and we remove only one frame per entry to txeof() anyway...
this made timeouts harder to get (from ~5-10 seconds of cvsup for unpatched
version to 5-6 cvsups with the patched one) but eventually they start
appearing and once you get the first one you are quaranteed to get more of
them in periodic intervals until you kill cvsup.
So any ideas on how to debug this one would be most welcome too.
Sven Petai
------------------------------
Message: 8
Date: Sat, 19 Jun 2004 13:31:08 -0700
From: "David O'Brien" <obrien@freebsd.org>
Subject: Re: [current tinderbox] failure on i386/i386
To: Szilveszter Adam <sziszi@bsd.hu>, current@freebsd.org
Message-ID: <20040619203108.GE37620@dragon.nuxi.com>
Content-Type: text/plain; charset=us-ascii
On Sat, Jun 19, 2004 at 06:17:22PM +0200, Szilveszter Adam wrote:
> Yes, I am seeing this as well. It was caused by the change to
> src/contrib/gcc/config/i386/i386.c recently. If you back that out, it
> should work again.
Grrrr. I'm not sure why my tests of this on my i386 system worked.
I'll make it conditional for AMD64.
--
-- David (obrien@FreeBSD.org)
------------------------------
Message: 9
Date: Sat, 19 Jun 2004 22:06:24 +0200
From: Simon Barner <barner@in.tum.de>
Subject: Re: Bogus signal handler causes kernel panic (5.2.1-p8/i386)
To: Bruce Evans <bde@zeta.org.au>
Cc: current@freebsd.org
Message-ID: <20040619200624.GA815@zi025.glhnet.mhn.de>
Content-Type: text/plain; charset="us-ascii"
Hi,
> Another try:
[...]
> I will let you test it before I commit it.
I used this patch together with your commit to machdep.c, and it works!
:-)
No panic, no core dump, the test program just runs forever (as
exspected).
Regards,
Simon
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: Digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20040619/
4f1268f4/attachment-0001.bin
------------------------------
Message: 10
Date: Sat, 19 Jun 2004 14:57:36 -0600 (MDT)
From: "M. Warner Losh" <imp@bsdimp.com>
Subject: Re: [REVIEW] move tty lock/initial up in the stack
To: phk@phk.freebsd.dk
Cc: current@freebsd.org
Message-ID: <20040619.145736.91276883.imp@bsdimp.com>
Content-Type: Text/Plain; charset=us-ascii
In message: <61609.1087632958@critter.freebsd.dk>
Poul-Henning Kamp <phk@phk.freebsd.dk> writes:
: This patch moves the "lock/initial" facility known from sio(4) up
: to the generic tty layer.
:
: It adds two new flags to stty(1): -i and -l to manipulate the initial
: and lock states and eliminates the tty[il]d# and cua[il]a# devices.
I like this idea a *LOT*.
: Subsequently I would like to move the tty/cua split up as well.
How would this look to the various drivers?
Warner
------------------------------
Message: 11
Date: Sat, 19 Jun 2004 17:26:01 -0400
From: "Darin" <derwood@naebunny.net>
Subject: 5.2.1 boot question
To: <freebsd-current@freebsd.org>
Message-ID: <20040619212552.7910E2AD09@bsd.naebunny.net>
Content-Type: text/plain; charset="US-ASCII"
I've been working on getting a system ready for my daughter to use, and have
run into a problem.
The system is running 5.2.1-RELEASE-p8 that was cvsuped yesterday.
The problem was caused by the Kuser app that I installed as part of the KDE3
port. For some reason it set all of the accounts on the system to expired,
including root. I was able to fix the problem by rebuilding spwd.db and
pwd.db with pwd_mkdb. So, I can log on again and su to root to finish up
any ports that I need to compile in.
However, when the machine boots, I get the following on the screen and in
/var/log/messages:
Jun 19 14:17:41 dell1 syslogd: kernel boot file is /boot/kernel/kernel
Jun 19 14:17:41 dell1 kernel: term R *Handler Int
Jun 19 14:17:41 dell1 kernel: 14 posix2_fort_dev R *Handler Int
Jun 19 14:17:41 dell1 kernel: 15 posix2_fort_run R *Handler Int
Jun 19 14:17:41 dell1 kernel: 16 posix2_localedef R *Handler Int
Jun 19 14:17:41 dell1 kernel: 17 posix2_sw_dev R *Handler Int
Jun 19 14:17:41 dell1 kernel: 18 posix2_upe R *Handler Int
Jun 19 14:17:41 dell1 kernel: 19 stream_max R *Handler Int
Jun 19 14:17:41 dell1 kernel: 20 tzname_max R *Handler Int
Jun 19 14:17:41 dell1 kernel: 9 p1003_1b RW Node
Jun 19 14:17:41 dell1 kernel: 1 asynchronous_io R *Handler Int
Jun 19 14:17:41 dell1 kernel: 2 mapped_files R *Handler Int
Jun 19 14:17:41 dell1 kernel: 3 memlock R *Handler Int
Jun 19 14:17:41 dell1 kernel: 4 memlock_range R *Handler Int
Jun 19 14:17:41 dell1 kernel: 5 memory_protection R *Handler Int
Jun 19 14:17:41 dell1 kernel: 6 message_passing R *Handler Int
Jun 19 14:17:41 dell1 kernel: 7 prioritized_io R *Handler Int
Jun 19 14:17:41 dell1 kernel: 8 priority_scheduling R *Handler Int
This is only a small part of what I get. It goes on for pages and pages.
I'm only slightly concerned because the system seems to run fine after
completing the boot process. I'm just not certain what it all means.
Any ideas on whats causing this and how I can make it go away? Or is it
just completely harmless and nothing to worry about..
I tried searching listserve archives, the handbook and google, and didn't
find anything.. Any ideas on whats causing this and how I can make it go
away? Or is it just completely harmless and nothing to worry about..
Darin -
------------------------------
Message: 12
Date: Sat, 19 Jun 2004 14:29:08 -0700
From: Sean McNeil <sean@mcneil.com>
Subject: bad linker appears to be related to TARGET_SYSTEM_ROOT
To: freebsd-current@freebsd.org
Message-ID: <1087680548.10880.3.camel@server.mcneil.com>
Content-Type: text/plain
If I am reading this correctly...
I captured my make buildworld and I see something very odd. It looks
like the first and second build of ld has the TARGET_SYSTEM_ROOT
backwards. For the first compile, it is "" and the second it is
"/usr/obj/usr/src/amd64".
Cheers,
Sean
------------------------------
Message: 13
Date: Sat, 19 Jun 2004 15:26:09 -0700 (PDT)
From: Don Lewis <truckman@FreeBSD.org>
Subject: Re: ppp with dynamic IPs and ipfw "me"
To: brad.knowles@skynet.be
Cc: freebsd-current@FreeBSD.org
Message-ID: <200406192226.i5JMQ953044438@gw.catspoiler.org>
Content-Type: TEXT/plain; charset=us-ascii
On 17 Jun, Brad Knowles wrote:
> At 11:36 AM +0200 2004-06-17, Oliver Fromme wrote:
>
>> I'm not sure if this is related to your problem, but you
>> have to kill and restart ntpd every time you get a new IP.
>> That's because ntpd binds to every IP address it finds upon
>> startup explicitely, not just to "*".
>
> BIND does the same thing. If you're using UDP communications,
> you almost always need to make sure that you send the response packet
> on the same interface that you got the query from, and it's not
> possible to tell which interface a packet comes in on if you just
> listen to INADDR_ANY.
We should encourage the the appropriate parties to use the
IP_SENDSRCADDR feature (see ip(4)) in the FreeBSD ports of their
software.
------------------------------
Message: 14
Date: Sat, 19 Jun 2004 18:26:19 -0400
From: Gerrit Nagelhout <gnagelhout@sandvine.com>
Subject: filesystem deadlocks
To: freebsd-current@freebsd.org
Message-ID:
<FE045D4D9F7AED4CBFF1B3B813C85337054EC49F@mail.sandvine.com>
Content-Type: text/plain; charset="iso-8859-1"
I am currently running a stress test where I have about 30 postgres
processes running on a dual Xeon with an adaptec raid controller.
I am trying to reproduce some kernel lockups, but in the process
keep getting into a state where no more io activity occurs, and all
the postgres processes seem to be stuck in a sleep for a mutex
(not making any progress). Some of the time, ufs_fsck is running
because of an improper shutdown. The code is based on CURRENT
from a couple of weeks ago. After enabling witnes, the
following messages appear:
Jun 19 18:00:51 TPC-D7-23 lock order reversal
Jun 19 18:00:51 TPC-D7-23 1st 0xcab85294 vm object (vm object) @
/.amd_mnt/gnagelhout-pc3.sandvine.com/host/gerrit_bsd_5
_main/fw-bsd/src/sys/vm/swap_pager.c:1313
Jun 19 18:00:51 TPC-D7-23 2nd 0xc0780ba0 swap_pager swhash (swap_pager
swhash) @ /.amd_mnt/gnagelhout-pc3.sandvine.com/h
ost/gerrit_bsd_5_main/fw-bsd/src/sys/vm/swap_pager.c:1799
Jun 19 18:00:51 TPC-D7-23 3rd 0xca966108 vm object (vm object) @
/.amd_mnt/gnagelhout-pc3.sandvine.com/host/gerrit_bsd_5
_main/fw-bsd/src/sys/vm/uma_core.c:886
Jun 19 18:00:51 TPC-D7-23 Stack backtrace:
Jun 19 18:00:51 TPC-D7-23
backtrace(c06de7a0,ca966108,c06ef9dd,c06ef9dd,c06f05b8) at backtrace+0x17
Jun 19 18:00:51 TPC-D7-23
witness_checkorder(ca966108,9,c06f05b8,376,ca924e00) at
witness_checkorder+0x5f3
Jun 19 18:00:51 TPC-D7-23 _mtx_lock_flags(ca966108,0,c06f05b8,376,ca924e14)
at _mtx_lock_flags+0x32
Jun 19 18:00:51 TPC-D7-23 obj_alloc(ca924e00,1000,e6897a1b,101,e6897a30) at
obj_alloc+0x3f
Jun 19 18:00:51 TPC-D7-23 slab_zalloc(ca924e00,1,ca924e14,8,c06f05b8) at
slab_zalloc+0xb3
Jun 19 18:00:51 TPC-D7-23 uma_zone_slab(ca924e00,1,c06f05b8,68f,ca924eb0) at
uma_zone_slab+0xda
Jun 19 18:00:51 TPC-D7-23 uma_zalloc_internal(ca924e00,0,1,5c4,1) at
uma_zalloc_internal+0x3e
Jun 19 18:00:51 TPC-D7-23 uma_zalloc_arg(ca924e00,0,1,707,2) at
uma_zalloc_arg+0x283
Jun 19 18:00:51 TPC-D7-23 swp_pager_meta_build(cab85294,5,0,2,0) at
swp_pager_meta_build+0x12e
Jun 19 18:00:51 TPC-D7-23
swap_pager_putpages(cab85294,e6897be0,1,0,e6897b50) at
swap_pager_putpages+0x306
Jun 19 18:00:51 TPC-D7-23
default_pager_putpages(cab85294,e6897be0,1,0,e6897b50) at
default_pager_putpages+0x2e
Jun 19 18:00:51 TPC-D7-23 vm_pageout_flush(e6897be0,1,0,116,c073bda0) at
vm_pageout_flush+0xdb
Jun 19 18:00:51 TPC-D7-23 vm_pageout_clean(c436cb30,0,c06f03a0,33b,0) at
vm_pageout_clean+0x2a3
Jun 19 18:00:51 TPC-D7-23 vm_pageout_scan(0,0,c06f03a0,5b7,30d4) at
vm_pageout_scan+0x5d5
Jun 19 18:00:51 TPC-D7-23 vm_pageout(0,e6897d48,c06d9172,328,0) at
vm_pageout+0x31d
Jun 19 18:00:51 TPC-D7-23 fork_exit(c064ad69,0,e6897d48) at fork_exit+0x77
Jun 19 18:00:51 TPC-D7-23 fork_trampoline() at fork_trampoline+0x8
Jun 19 18:00:51 TPC-D7-23 --- trap 0x1, eip = 0, esp = 0xe6897d7c, ebp = 0
---
What else can I do to further debug this problem?
A second problem I have noticed (with similar symptoms, ie no more
IO, everything is blocked), all of my postgres processes are in the wddrain
state. The code that is supposed to wake them up (runningbufwakeup)
still gets called on occassion, but runningbufspace never becomes greater
than lorunningspace, and thus will not call wakeup. I don't know if this
is due to a slow leak (of runningbufspace), or some deadlock condition.
Any ideas?
Thanks,
Gerrit Nagelhout
------------------------------
Message: 15
Date: Sun, 20 Jun 2004 09:23:44 +0800 (CST)
From: Tai-hwa Liang <avatar@mmlab.cse.yzu.edu.tw>
Subject: Re: Lost buffers with mounted ext2fs
To: Stefan Ehmann <shoesoft@gmx.net>
Cc: freebsd-current@freebsd.org
Message-ID: <0406200917439.18135@www.mmlab.cse.yzu.edu.tw>
Content-Type: TEXT/PLAIN; charset=US-ASCII
On Sat, 19 Jun 2004, Stefan Ehmann wrote:
> On Fri, 2004-06-18 at 20:38, Michael Nottebrock wrote:
> > IIRC this is a known bug (always 1 buffer left on reboot if any ext2
> > filesystems are mounted (rw?, didn't check if ro also triggers it) at
> > reboot/shutdown time, causing _all_ filesystems which were mounted rw to b
e
> > left dirty).
> >
> > Does anybody have a fix yet? I'm currently using
> > http://people.freebsd.org/~lofi/rc.shutdown.diff as a workaround...
>
> Yes, this is a bug that was introduced sometime last year:
> http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/56675
>
> This also happens if the ext2fs is mounted ro.
>
> AFAIK there is no fix available. I'd appreciate it very much though.
Sometimes I run into this behaviour even on a -CURRENT box without
ext2fs.ko loaded. Though it's fairly hard to reproduce this lost buffer
scenario, I'm wondering about whether this bug is not limited to ext2fs,
but also UFS2 and smbfs?
------------------------------
Message: 16
Date: Sun, 20 Jun 2004 11:27:20 +1000
From: Tim Robbins <tjr@freebsd.org>
Subject: Re: dlclose problem
To: Michael Nottebrock <michaelnottebrock@gmx.net>
Cc: Frerich Raabe <raabe@kde.org>
Message-ID: <20040620012720.GA67470@cat.robbins.dropbear.id.au>
Content-Type: text/plain; charset=us-ascii
On Sat, Jun 19, 2004 at 06:20:26PM +0200, Michael Nottebrock wrote:
> Attached is a small testcase made by Frerich Raabe (cc'd) which segfaults on
> -STABLE and 5.2.1-R but not on -CURRENT as of June 17th - I can't find what'
s
> changed in libc that prevents the segfault though. Any clues?
See PR 59552.
Tim
------------------------------
Message: 17
Date: Sat, 19 Jun 2004 18:51:53 -0700
From: "David O'Brien" <obrien@freebsd.org>
Subject: Re: bad linker appears to be related to TARGET_SYSTEM_ROOT
To: Sean McNeil <sean@mcneil.com>
Cc: freebsd-current@freebsd.org
Message-ID: <20040620015153.GA3636@dragon.nuxi.com>
Content-Type: text/plain; charset=us-ascii
I think I've gotten this fixed. Please CVSup and see if a stock /usr/src
works OK for you.
thanks,
--
-- David (obrien@FreeBSD.org)
------------------------------
Message: 18
Date: Sat, 19 Jun 2004 18:52:28 -0700
From: "David O'Brien" <obrien@freebsd.org>
Subject: Re: ld problem
To: freebsd-current@freebsd.org
Message-ID: <20040620015228.GB3636@dragon.nuxi.com>
Content-Type: text/plain; charset=us-ascii
On Sat, Jun 19, 2004 at 11:41:50PM +0800, leafy wrote:
> /usr/bin/ld: warning: libexpat.so.5, needed by
> /usr/X11R6/lib/libfontconfig.so, not found (try using -rpath or
> -rpath-link)
>
> I get this when trying to upgrade gconf2 port.
>
> ldd /usr/X11R6/lib/libfontconfig.so
> /usr/X11R6/lib/libfontconfig.so:
> libfreetype.so.9 => /usr/local/lib/libfreetype.so.9 (0x28180000)
> libz.so.2 => /lib/libz.so.2 (0x281e7000)
> libexpat.so.5 => /usr/local/lib/libexpat.so.5 (0x281f4000)
>
> ls -l /usr/local/lib/libexpat.so.5
> -rwxr-xr-x 1 root wheel 157509 5 30 16:01
> /usr/local/lib/libexpat.so.5*
>
> Is there something I can do to rectify this?
CVSup, 'make world' and please let me know if you still have trouble.
--
-- David (obrien@FreeBSD.org)
------------------------------
Message: 19
Date: Sat, 19 Jun 2004 22:02:41 -0400
From: Tom Parquette <BCSFD204@twcny.rr.com>
Subject: bge0 coming up too late??
To: current@freebsd.org
Message-ID: <40D4F041.1040202@twcny.rr.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
I've been trying to figure this out for a couple of weeks now with
little luck.
I'm attempting to use gigabit ethernet for the first time.
The card is a 3Com 3C996B-T (copper media) connected to a Netgear GS108
gigabit switch. The lights that come on seem to indicate the card is
finding the switch at 1000BaseT.
This is a -CURRENT box built to sources from the last 24-36 hours or so.
uname -a is: FreeBSD Stargate.Tom.Parquette.lan 5.2-CURRENT FreeBSD
5.2-CURRENT #0: Fri Jun 18 00:21:19 EDT 2004
tom@P3R-272.Tom.Parquette.lan:/usr/obj/usr/src/sys/STARGATE i386
I have bge and miibus compiled into the kernel.
I'm attaching an extract of all.log for the last attempt.
This attempt has DHCP coded in rc.conf for bge0.
If I change rc.conf to include a static address and netmask, I get what
appear to be the same results.
With some playing I have determined that the bge0 gigabit link up
message will only be issued, and the card seem to come alive, if I logon
to the machine issue an ifconfig or ifconfig bge0 command. It does not
appear to matter if ifconfig is issued by root or a non-uid 0 user.
Once the card comes alive, I can use ifconfig to get some things to work
but most of the network definitons are all messed up. I believe this is
because the card does note "light up" in time for boot processing to
correctly set up the network. By doing some manual work with ifconfig,
I'm reasonably sure I do not have a hardware/wiring problem.
Searching the mailing lists and google, I could not find anything that
seemed to address this problem. I found a couple of things that were
similar (but not quite my symptoms) but the threads were not complete.
Has anybody seen a bge card not come up until you "hit it over the head"
with an ifconfig command?
If so, do you have any suggestions on fixing the problem?
TIA. I'm stuck...
From all.log:
Jun 19 21:27:04 Stargate kernel: Copyright (c) 1992-2004 The FreeBSD
Project.
Jun 19 21:27:04 Stargate kernel: Copyright (c) 1979, 1980, 1983, 1986,
1988, 1989, 1991, 1992, 1993, 1994
Jun 19 21:27:04 Stargate kernel: The Regents of the University of
California. All rights reserved.
Jun 19 21:27:04 Stargate kernel: FreeBSD 5.2-CURRENT #0: Fri Jun 18
00:21:19 EDT 2004
Jun 19 21:27:04 Stargate kernel:
tom@P3R-272.Tom.Parquette.lan:/usr/obj/usr/src/sys/STARGATE
Jun 19 21:27:04 Stargate kernel: Preloaded elf kernel
"/boot/kernel/kernel" at 0xc0882000.
Jun 19 21:27:04 Stargate kernel: Preloaded elf module
"/boot/kernel/acpi.ko" at 0xc0882294.
Jun 19 21:27:04 Stargate kernel: acpi_alloc_wakeup_handler: can't alloc
wake memory
Jun 19 21:27:04 Stargate kernel: ACPI APIC Table: <PTLTD APIC >
Jun 19 21:27:04 Stargate kernel: Timecounter "i8254" frequency 1193182
Hz quality 0
Jun 19 21:27:04 Stargate kernel: CPU: AMD Athlon(tm) Processor
(2133.42-MHz 686-class CPU)
Jun 19 21:27:04 Stargate kernel: Origin = "AuthenticAMD" Id = 0x681
Stepping = 1
Jun 19 21:27:04 Stargate kernel:
Features=0x383fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CM
OV,PAT,PSE36,MMX,FXSR,SSE>
Jun 19 21:27:04 Stargate kernel: AMD Features=0xc0480000<MP,AMIE,DSP,3DNow!>
Jun 19 21:27:04 Stargate kernel: real memory = 267911168 (255 MB)
Jun 19 21:27:04 Stargate kernel: avail memory = 251748352 (240 MB)
Jun 19 21:27:04 Stargate kernel: FreeBSD/SMP: Multiprocessor System
Detected: 2 CPUs
Jun 19 21:27:04 Stargate kernel: cpu0 (BSP): APIC ID: 1
Jun 19 21:27:04 Stargate kernel: cpu1 (AP): APIC ID: 0
Jun 19 21:27:04 Stargate kernel: MADT: Forcing active-low polarity and
level trigger for SCI
Jun 19 21:27:04 Stargate kernel: ioapic0 <Version 1.1> irqs 0-23 on
motherboard
Jun 19 21:27:04 Stargate kernel: random: <entropy source, Software, Yarrow>
Jun 19 21:27:04 Stargate kernel: Pentium Pro MTRR support enabled
Jun 19 21:27:04 Stargate kernel: npx0: [FAST]
Jun 19 21:27:04 Stargate kernel: npx0: <math processor> on motherboard
Jun 19 21:27:04 Stargate kernel: npx0: INT 16 interface
Jun 19 21:27:04 Stargate kernel: acpi0: <PTLTD RSDT> on motherboard
Jun 19 21:27:04 Stargate kernel: acpi0: [GIANT-LOCKED]
Jun 19 21:27:04 Stargate kernel: pcibios: BIOS version 2.10
Jun 19 21:27:04 Stargate kernel: acpi0: Power Button (fixed)
Jun 19 21:27:04 Stargate kernel: acpi0: Sleep Button (fixed)
Jun 19 21:27:04 Stargate kernel: Timecounter "ACPI-fast" frequency
3579545 Hz quality 1000
Jun 19 21:27:04 Stargate kernel: acpi_timer0: <24-bit timer at
3.579545MHz> port 0x8008-0x800b on acpi0
Jun 19 21:27:04 Stargate kernel: cpu0: <ACPI CPU> port 0x530-0x537 on acpi0
Jun 19 21:27:04 Stargate kernel: cpu1: <ACPI CPU> port 0x530-0x537 on acpi0
Jun 19 21:27:04 Stargate kernel: acpi_button0: <Power Button> on acpi0
Jun 19 21:27:04 Stargate kernel: pcib0: <ACPI Host-PCI bridge> port
0x8080-0x80ff,0x8000-0x807f,0xcf8-0xcff iomem 0xd8000-0xdbfff on acpi0
Jun 19 21:27:04 Stargate kernel: pci0: <ACPI PCI bus> on pcib0
Jun 19 21:27:04 Stargate kernel: agp0: <AMD 762 host to AGP bridge> port
0x1010-0x1013 mem 0xf4100000-0xf4100fff,0xf8000000-0xfbffffff at device
0.0 on pci0
Jun 19 21:27:04 Stargate kernel: pcib1: <ACPI PCI-PCI bridge> at device
1.0 on pci0
Jun 19 21:27:04 Stargate kernel: pci1: <ACPI PCI bus> on pcib1
Jun 19 21:27:04 Stargate kernel: pci1: <display, VGA> at device 5.0 (no
driver attached)
Jun 19 21:27:04 Stargate kernel: isab0: <PCI-ISA bridge> at device 7.0
on pci0
Jun 19 21:27:04 Stargate kernel: isa0: <ISA bus> on isab0
Jun 19 21:27:04 Stargate kernel: atapci0: <AMD 768 UDMA100 controller>
port 0xf000-0xf00f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 7.1 on pci0
Jun 19 21:27:04 Stargate kernel: ata0: at 0x1f0 irq 14 on atapci0
Jun 19 21:27:04 Stargate kernel: ata1: at 0x170 irq 15 on atapci0
Jun 19 21:27:04 Stargate kernel: pci0: <bridge, PCI-unknown> at device
7.3 (no driver attached)
Jun 19 21:27:04 Stargate kernel: bge0: <Broadcom BCM5701 Gigabit
Ethernet, ASIC rev. 0x105> mem 0xf0000000-0xf000ffff irq 20 at device
8.0 on pci0
Jun 19 21:27:04 Stargate kernel: miibus0: <MII bus> on bge0
Jun 19 21:27:04 Stargate kernel: brgphy0: <BCM5701 10/100/1000baseTX
PHY> on miibus0
Jun 19 21:27:04 Stargate kernel: brgphy0: 10baseT, 10baseT-FDX,
100baseTX, 100baseTX-FDX, 1000baseTX, 1000baseTX-FDX, auto
Jun 19 21:27:04 Stargate kernel: bge0: Ethernet address: 00:30:6e:2b:1c:3f
Jun 19 21:27:04 Stargate kernel: bge0: [GIANT-LOCKED]
Jun 19 21:27:04 Stargate kernel: pcib2: <ACPI PCI-PCI bridge> at device
16.0 on pci0
Jun 19 21:27:04 Stargate kernel: pci2: <ACPI PCI bus> on pcib2
Jun 19 21:27:04 Stargate kernel: ohci0: <OHCI (generic) USB controller>
mem 0xf4004000-0xf4004fff irq 19 at device 0.0 on pci2
Jun 19 21:27:04 Stargate kernel: ohci0: [GIANT-LOCKED]
Jun 19 21:27:04 Stargate kernel: usb0: OHCI version 1.0, legacy support
Jun 19 21:27:04 Stargate kernel: usb0: SMM does not respond, resetting
Jun 19 21:27:04 Stargate kernel: usb0: <OHCI (generic) USB controller>
on ohci0
Jun 19 21:27:04 Stargate kernel: usb0: USB revision 1.0
Jun 19 21:27:04 Stargate kernel: uhub0: AMD OHCI root hub, class 9/0,
rev 1.00/1.00, addr 1
Jun 19 21:27:04 Stargate kernel: uhub0: 4 ports with 4 removable, self
powered
Jun 19 21:27:04 Stargate kernel: pcm0: <Creative Audigy 2 (EMU10K2)>
port 0x3080-0x30bf irq 17 at device 5.0 on pci2
Jun 19 21:27:04 Stargate kernel: pcm0: <SigmaTel STAC9721/23 AC97 Codec>
Jun 19 21:27:04 Stargate kernel: fwohci0: vendor=1102, dev=4001
Jun 19 21:27:04 Stargate kernel: fwohci0: <1394 Open Host Controller
Interface> mem 0xf4000000-0xf4003fff,0xf4005000-0xf40057ff irq 18 at
device 5.2 on pci2
Jun 19 21:27:04 Stargate kernel: fwohci0: [GIANT-LOCKED]
Jun 19 21:27:04 Stargate kernel: fwohci0: OHCI version 1.10 (ROM=0)
Jun 19 21:27:04 Stargate kernel: fwohci0: No. of Isochronous channels is 4.
Jun 19 21:27:04 Stargate kernel: fwohci0: EUI64 00:02:3c:00:91:06:71:8d
Jun 19 21:27:04 Stargate kernel: fwohci0: Phy 1394a available S400, 2 ports.
Jun 19 21:27:04 Stargate kernel: fwohci0: Link S400, max_rec 2048 bytes.
Jun 19 21:27:04 Stargate kernel: firewire0: <IEEE1394(FireWire) bus> on
fwohci0
Jun 19 21:27:04 Stargate kernel: sbp0: <SBP-2/SCSI over FireWire> on
firewire0
Jun 19 21:27:04 Stargate kernel: fwe0: <Ethernet over FireWire> on firewire0
Jun 19 21:27:04 Stargate kernel: if_fwe0: Fake Ethernet address:
02:02:3c:06:71:8d
Jun 19 21:27:04 Stargate kernel: fwe0: Ethernet address: 02:02:3c:06:71:8d
Jun 19 21:27:04 Stargate kernel: fwohci0: Initiate bus reset
Jun 19 21:27:04 Stargate kernel: fwohci0: node_id=0xc800ffc0, gen=1,
CYCLEMASTER mode
Jun 19 21:27:04 Stargate kernel: firewire0: 1 nodes, maxhop <= 0, cable
IRM = 0 (me)
Jun 19 21:27:04 Stargate kernel: firewire0: bus manager 0 (me)
Jun 19 21:27:04 Stargate kernel: atapci1: <CMD 649 UDMA100 controller>
port
0x30c0-0x30cf,0x30d8-0x30db,0x30e0-0x30e7,0x30dc-0x30df,0x30e8-0x30ef
irq 19 at device 7.0 on pci2
Jun 19 21:27:04 Stargate kernel: ata2: at 0x30e8 on atapci1
Jun 19 21:27:04 Stargate kernel: ata3: at 0x30e0 on atapci1
Jun 19 21:27:04 Stargate kernel: xl0: <3Com 3c905C-TX Fast Etherlink XL>
port 0x3000-0x307f mem 0xf4005800-0xf400587f irq 19 at device 8.0 on pci2
Jun 19 21:27:04 Stargate kernel: miibus1: <MII bus> on xl0
Jun 19 21:27:04 Stargate kernel: ukphy0: <Generic IEEE 802.3u media
interface> on miibus1
Jun 19 21:27:04 Stargate kernel: ukphy0: 10baseT, 10baseT-FDX,
100baseTX, 100baseTX-FDX, auto
Jun 19 21:27:04 Stargate kernel: xl0: Ethernet address: 00:e0:81:24:e7:8d
Jun 19 21:27:04 Stargate kernel: xl0: [GIANT-LOCKED]
Jun 19 21:27:04 Stargate kernel: atkbdc0: <Keyboard controller (i8042)>
port 0x64,0x60 irq 1 on acpi0
Jun 19 21:27:04 Stargate kernel: atkbd0: <AT Keyboard> irq 1 on atkbdc0
Jun 19 21:27:04 Stargate kernel: kbd0 at atkbd0
Jun 19 21:27:04 Stargate kernel: atkbd0: [GIANT-LOCKED]
Jun 19 21:27:04 Stargate kernel: psm0: <PS/2 Mouse> irq 12 on atkbdc0
Jun 19 21:27:04 Stargate kernel: psm0: [GIANT-LOCKED]
Jun 19 21:27:04 Stargate kernel: psm0: model Generic PS/2 mouse, device ID 0
Jun 19 21:27:04 Stargate kernel: sio0 port 0x3f8-0x3ff irq 4 on acpi0
Jun 19 21:27:04 Stargate kernel: sio0: type 16550A
Jun 19 21:27:04 Stargate kernel: sio1 port 0x2f8-0x2ff irq 3 on acpi0
Jun 19 21:27:04 Stargate kernel: sio1: type 16550A
Jun 19 21:27:04 Stargate kernel: ppc0 port 0x778-0x77f,0x378-0x37f irq 7
drq 3 on acpi0
Jun 19 21:27:04 Stargate kernel: ppc0: SMC-like chipset
(ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
Jun 19 21:27:04 Stargate kernel: ppc0: FIFO with 16/16/9 bytes threshold
Jun 19 21:27:04 Stargate kernel: ppbus0: <Parallel port bus> on ppc0
Jun 19 21:27:04 Stargate kernel: plip0: <PLIP network interface> on ppbus0
Jun 19 21:27:04 Stargate kernel: lpt0: <Printer> on ppbus0
Jun 19 21:27:04 Stargate kernel: lpt0: Interrupt-driven port
Jun 19 21:27:04 Stargate kernel: ppi0: <Parallel I/O> on ppbus0
Jun 19 21:27:04 Stargate kernel: fdc0: <Enhanced floppy controller
(i82077, NE72065 or clone)> port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0
Jun 19 21:27:04 Stargate kernel: fdc0: FIFO enabled, 8 bytes threshold
Jun 19 21:27:04 Stargate kernel: fd0: <1440-KB 3.5" drive> on fdc0 drive 0
Jun 19 21:27:04 Stargate kernel: orm0: <Option ROMs> at iomem
0xe0000-0xe3fff,0xca800-0xcbfff,0xca000-0xca7ff,0xc0000-0xc9fff on isa0
Jun 19 21:27:04 Stargate kernel: pmtimer0 on isa0
Jun 19 21:27:04 Stargate kernel: sc0: <System console> at flags 0x100 on
isa0
Jun 19 21:27:04 Stargate kernel: sc0: VGA <16 virtual consoles, flags=0x300>
Jun 19 21:27:04 Stargate kernel: vga0: <Generic ISA VGA> at port
0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
Jun 19 21:27:04 Stargate kernel: Timecounters tick every 10.000 msec
Jun 19 21:27:04 Stargate kernel: IPv6 packet filtering initialized,
logging limited to 5 packets/entry
Jun 19 21:27:04 Stargate kernel: ipfw2 initialized, divert enabled,
rule-based forwarding enabled, default to deny, logging limited to 5
packets/entry by default
Jun 19 21:27:04 Stargate kernel: ad0: 29325MB <Maxtor 6E030L0>
[59582/16/63] at ata0-master UDMA100
Jun 19 21:27:04 Stargate kernel: ad1: 29325MB <Maxtor 6E030L0>
[59582/16/63] at ata0-slave UDMA100
Jun 19 21:27:04 Stargate kernel: acd0: CDRW <Hewlett-Packard CD-Writer
Plus 9100> at ata2-master PIO4
Jun 19 21:27:04 Stargate kernel: SMP: AP CPU #1 Launched!
Jun 19 21:27:04 Stargate kernel: cd0 at ata2 bus 0 target 0 lun 0
Jun 19 21:27:04 Stargate kernel: cd0: <HP CD-Writer+ 9100 1.0c>
Removable CD-ROM SCSI-0 device
Jun 19 21:27:04 Stargate kernel: cd0: 16.000MB/s transfers
Jun 19 21:27:04 Stargate kernel: cd0: Attempt to query device size
failed: NOT READY, Medium not present
Jun 19 21:27:04 Stargate kernel: Mounting root from ufs:/dev/ad0s1a
Jun 19 21:27:04 Stargate kernel: Pre-seeding PRNG:
Jun 19 21:27:04 Stargate kernel: kickstart
Jun 19 21:27:04 Stargate kernel: .
Jun 19 21:27:04 Stargate kernel: Loading configuration files.
Jun 19 21:27:04 Stargate kernel: Entropy harvesting:
Jun 19 21:27:04 Stargate kernel: interrupts
Jun 19 21:27:04 Stargate kernel: ethernet
Jun 19 21:27:04 Stargate kernel: point_to_point
Jun 19 21:27:04 Stargate kernel: kickstart
Jun 19 21:27:04 Stargate kernel: .
Jun 19 21:27:04 Stargate kernel: swapon: adding /dev/ad0s1b as swap device
Jun 19 21:27:04 Stargate kernel: swapon: adding /dev/ad1s1b as swap device
Jun 19 21:27:04 Stargate kernel: Starting file system checks:
Jun 19 21:27:04 Stargate kernel: /dev/ad0s1a: FILE SYSTEM CLEAN;
SKIPPING CHECKS
Jun 19 21:27:04 Stargate kernel: /dev/ad0s1a: clean, 90008 free (1744
frags, 11033 blocks, 1.4% fragmentation)
Jun 19 21:27:04 Stargate kernel: /dev/ad1s1d: FILE SYSTEM CLEAN;
SKIPPING CHECKS
Jun 19 21:27:04 Stargate kernel: /dev/ad1s1d: clean, 12305767 free (55
frags, 1538214 blocks, 0.0% fragmentation)
Jun 19 21:27:04 Stargate kernel: /dev/ad0s1f: FILE SYSTEM CLEAN;
SKIPPING CHECKS
Jun 19 21:27:04 Stargate kernel: /dev/ad0s1f: clean, 4804172 free (50132
frags, 594255 blocks, 0.8% fragmentation)
Jun 19 21:27:04 Stargate kernel: /dev/ad0s1e: FILE SYSTEM CLEAN;
SKIPPING CHECKS
Jun 19 21:27:04 Stargate kernel: /dev/ad0s1e: clean, 5033334 free (654
frags, 629085 blocks, 0.0% fragmentation)
Jun 19 21:27:04 Stargate kernel: vfs.usermount:
Jun 19 21:27:04 Stargate kernel: 0
Jun 19 21:27:04 Stargate kernel: ->
Jun 19 21:27:04 Stargate kernel: 1
Jun 19 21:27:04 Stargate kernel:
Jun 19 21:27:04 Stargate kernel: Setting hostname:
Stargate.Tom.Parquette.lan.
Jun 19 21:27:04 Stargate kernel: lo0:
flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
Jun 19 21:27:04 Stargate kernel: inet 127.0.0.1 netmask 0xff000000
Jun 19 21:27:04 Stargate kernel: inet6 ::1 prefixlen 128
Jun 19 21:27:04 Stargate kernel: inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5
Jun 19 21:27:04 Stargate kernel: Firewall rules loaded, starting divert
daemons:
Jun 19 21:27:04 Stargate kernel: .
Jun 19 21:27:04 Stargate kernel: net.inet.ip.fw.enable:
Jun 19 21:27:04 Stargate kernel: 1
Jun 19 21:27:04 Stargate kernel: ->
Jun 19 21:27:04 Stargate kernel: 1
Jun 19 21:27:04 Stargate kernel:
Jun 19 21:27:04 Stargate kernel: Starting dhclient.
Jun 19 21:27:04 Stargate kernel: bge0: gigabit link up
Jun 19 21:27:04 Stargate kernel: bge0:
flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
Jun 19 21:27:04 Stargate kernel:
options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING>
Jun 19 21:27:04 Stargate kernel: inet6 fe80::230:6eff:fe2b:1c3f%bge0
prefixlen 64 scopeid 0x1
Jun 19 21:27:04 Stargate kernel: inet 0.0.0.0 netmask 0xff000000
broadcast 255.255.255.255
Jun 19 21:27:04 Stargate kernel: ether 00:30:6e:2b:1c:3f
Jun 19 21:27:04 Stargate kernel: media: Ethernet autoselect (1000baseTX
<full-duplex>)
Jun 19 21:27:04 Stargate kernel: status: active
Jun 19 21:27:04 Stargate kernel: Additional routing options:
Jun 19 21:27:04 Stargate kernel: .
Jun 19 21:27:04 Stargate kernel: IPv6 Firewall rules loaded.
Jun 19 21:27:04 Stargate kernel: net.inet6.ip6.fw.enable:
Jun 19 21:27:04 Stargate kernel: 1
Jun 19 21:27:04 Stargate kernel: ->
Jun 19 21:27:04 Stargate kernel: 1
Jun 19 21:27:04 Stargate kernel:
Jun 19 21:27:04 Stargate kernel: hw.bus.devctl_disable:
Jun 19 21:27:04 Stargate kernel: 0
Jun 19 21:27:04 Stargate kernel: ->
Jun 19 21:27:04 Stargate kernel: 1
Jun 19 21:27:04 Stargate kernel:
Jun 19 21:27:04 Stargate kernel: Mounting NFS file systems:
Jun 19 21:27:04 Stargate kernel: [udp] 192.168.0.20:/home: RPCPROG_NFS:
RPC: Port mapper failure - RPC: Unable to send
Jun 19 21:27:04 Stargate kernel: nfs:
Jun 19 21:27:04 Stargate kernel: Cannot immediately mount
192.168.0.20:/home, backgrounding
Jun 19 21:27:04 Stargate kernel:
Jun 19 21:27:04 Stargate kernel: .
Jun 19 21:27:04 Stargate kernel: Starting syslogd.
Jun 19 21:27:04 Stargate kernel: Jun 19 21:27:04 Stargate syslogd:
kernel boot file is /boot/kernel/kernel
Jun 19 21:27:04 Stargate kernel: Setting date via ntp.
Jun 19 21:27:04 Stargate kernel: 19 Jun 21:27:04
Jun 19 21:27:04 Stargate kernel: ntpdate[345]: sendto(192.168.0.1):
Network is unreachable
Jun 19 21:27:05 Stargate kernel: 19 Jun 21:27:05
Jun 19 21:27:05 Stargate kernel: ntpdate[345]: sendto(192.168.0.1):
Network is unreachable
Jun 19 21:27:06 Stargate kernel: 19 Jun 21:27:06
Jun 19 21:27:06 Stargate kernel: ntpdate[345]: sendto(192.168.0.1):
Network is unreachable
Jun 19 21:27:07 Stargate kernel: 19 Jun 21:27:07
Jun 19 21:27:07 Stargate kernel: ntpdate[345]: sendto(192.168.0.1):
Network is unreachable
Jun 19 21:27:08 Stargate kernel: 19 Jun 21:27:08
Jun 19 21:27:08 Stargate kernel: ntpdate[345]: no server suitable for
synchronization found
Jun 19 21:27:08 Stargate kernel: Starting rpcbind.
Jun 19 21:27:09 Stargate kernel: NFS access cache time=2
Jun 19 21:27:09 Stargate kernel: rpc.umntall:
Jun 19 21:27:09 Stargate kernel: 192.168.0.20: RPCPROG_MNT: RPC: Port
mapper failure - RPC: Unable to send
Jun 19 21:27:09 Stargate kernel:
Jun 19 21:27:09 Stargate kernel: Starting amd.
Jun 19 21:27:09 Stargate amd[376]: switched to logfile "syslog"
Jun 19 21:27:09 Stargate amd[376]: AM-UTILS VERSION INFORMATION:
Jun 19 21:27:09 Stargate amd[376]: Copyright (c) 1997-2003 Erez Zadok
Jun 19 21:27:09 Stargate amd[376]: Copyright (c) 1990 Jan-Simon Pendry
Jun 19 21:27:09 Stargate amd[376]: Copyright (c) 1990 Imperial College
of Science, Technology & Medicine
Jun 19 21:27:09 Stargate amd[376]: Copyright (c) 1990 The Regents of the
University of California.
Jun 19 21:27:09 Stargate amd[376]: am-utils version 6.0-20030828 (build
502118).
Jun 19 21:27:09 Stargate amd[376]: Built by
root@P3R-272.Tom.Parquette.lan on date Thu Jun 17 21:48:30 EDT 2004.
Jun 19 21:27:09 Stargate amd[376]: cpu=i386 (little-endian), arch=i386,
karch=i386.
Jun 19 21:27:09 Stargate amd[376]: full_os=freebsd5.2, os=freebsd5,
osver=5.2, vendor=unknown.
Jun 19 21:27:09 Stargate amd[376]: Map support for: root, passwd,
hesiod, union, nis, ndbm, file, error.
Jun 19 21:27:09 Stargate amd[376]: AMFS: nfs, link, nfsx, nfsl, host,
linkx, program, union, inherit, ufs,
Jun 19 21:27:09 Stargate amd[376]: cdfs, pcfs, auto, direct,
toplvl, error.
Jun 19 21:27:09 Stargate amd[376]: FS: cd9660, nfs, nfs3, msdosfs, ufs,
unionfs.
Jun 19 21:27:09 Stargate amd[376]: Network: wire="0.0.0.0" (netnumber=0).
Jun 19 21:27:09 Stargate amd[376]: My ip addr is 127.0.0.1
Jun 19 21:27:09 Stargate amd[382]: released controlling tty using setsid()
Jun 19 21:27:09 Stargate amd[382]: file server localhost, type local,
state starts up
Jun 19 21:27:09 Stargate amd[383]: /host: disabling nfs congestion window
Jun 19 21:27:09 Stargate amd[384]: /net: disabling nfs congestion window
Jun 19 21:27:09 Stargate amd[382]: first time load of map /etc/amd.map
succeeded
Jun 19 21:27:09 Stargate amd[382]: /etc/amd.map mounted fstype toplvl on
/host
Jun 19 21:27:09 Stargate amd[382]: /etc/amd.map mounted fstype toplvl on
/net
Jun 19 21:27:09 Stargate kernel: ELF ldconfig path: /lib /usr/lib
/usr/lib/compat /usr/X11R6/lib /usr/local/lib
Jun 19 21:27:09 Stargate kernel: a.out ldconfig path: /usr/lib/aout
/usr/lib/compat/aout /usr/X11R6/lib/aout
Jun 19 21:27:09 Stargate kernel: Starting mountd.
Jun 19 21:27:09 Stargate mountd[430]: -alldirs requested but /cdrom is
not a filesystem mountpoint
Jun 19 21:27:09 Stargate kernel: Jun 19 21:27:09 Stargate mountd[430]:
-alldirs requested but /cdrom is not a filesystem mountpoint
Jun 19 21:27:09 Stargate mountd[430]: bad exports list line /cdrom -alldirs
Jun 19 21:27:09 Stargate kernel: Jun 19 21:27:09 Stargate mountd[430]:
bad exports list line /cdrom -alldirs
Jun 19 21:27:09 Stargate kernel: NFS on reserved port only=YES
Jun 19 21:27:09 Stargate kernel: Starting nfsd.
Jun 19 21:27:09 Stargate kernel: Starting usbd.
Jun 19 21:27:09 Stargate kernel: Starting local daemons:
Jun 19 21:27:09 Stargate kernel: .
Jun 19 21:27:09 Stargate kernel: Starting lpd.
Jun 19 21:27:09 Stargate lpd[490]: lpd startup: logging=0
Jun 19 21:27:09 Stargate kernel: Updating motd
Jun 19 21:27:10 Stargate kernel: .
Jun 19 21:27:10 Stargate kernel: Configuring syscons:
Jun 19 21:27:10 Stargate kernel: blanktime
Jun 19 21:27:10 Stargate kernel: .
Jun 19 21:27:10 Stargate kernel: Starting sshd.
Jun 19 21:27:10 Stargate sshd[520]: Server listening on :: port 22.
Jun 19 21:27:10 Stargate sshd[520]: Server listening on 0.0.0.0 port 22.
Jun 19 21:27:10 Stargate sm-mta[526]: starting daemon (8.12.11):
SMTP+queueing@00:30:00
Jun 19 21:27:10 Stargate sm-queue[530]: starting daemon (8.12.11):
queueing@00:30:00
Jun 19 21:27:10 Stargate sm-msp-queue[533]: starting daemon (8.12.11):
queueing@00:30:00
Jun 19 21:27:11 Stargate kernel: Initial i386 initialization:
Jun 19 21:27:11 Stargate kernel: .
Jun 19 21:27:11 Stargate kernel: Additional ABI support:
Jun 19 21:27:11 Stargate kernel: linux
Jun 19 21:27:12 Stargate kernel: .
Jun 19 21:27:12 Stargate kernel: Starting cron.
Jun 19 21:27:12 Stargate kernel: Local package initialization:
Jun 19 21:27:12 Stargate kernel: [1] 583
Jun 19 21:27:12 Stargate kernel: SETI@home
Jun 19 21:27:12 Stargate kernel: .
Jun 19 21:27:13 Stargate kernel: Additional TCP options:
Jun 19 21:27:13 Stargate kernel: .
Jun 19 21:27:13 Stargate kernel: Starting moused:
Jun 19 21:27:13 Stargate kernel: .
Jun 19 21:27:13 Stargate kernel: Starting inetd.
Jun 19 21:27:13 Stargate kernel: Another processes is already using the
shared memory.
Jun 19 21:27:13 Stargate kernel: gethostbyname: Connection refused
Jun 19 21:27:13 Stargate kernel: Starting background file system checks
in 60 seconds.
Jun 19 21:27:13 Stargate kernel:
Jun 19 21:27:13 Stargate kernel: Sat Jun 19 21:27:13 EDT 2004
Jun 19 21:27:27 Stargate login: login on ttyv0 as root
Jun 19 21:27:27 Stargate login: ROOT LOGIN (root) ON ttyv0
Jun 19 21:27:27 Stargate kernel: Jun 19 21:27:27 Stargate login: ROOT
LOGIN (root) ON ttyv0
------------------------------
Message: 20
Date: Sun, 20 Jun 2004 04:14:53 +0200
From: "Cyrille Lefevre" <clefevre-lists@9online.fr>
Subject: -lthr vs. -pthread
To: <current@freebsd.org>
Cc: hackers@freebsd.org
Message-ID: <008901c4566c$610d1300$7890a8c0@dyndns.org>
Content-Type: text/plain; charset="iso-8859-1"
Hi,
I'm currently working on enhancements to ps w/ "Garance A Drosehn".
I've just added some thread related stuffs and to see them, I'm
using the following program :
#define _REENTRANT
#include <pthread.h>
#define NUM_THREADS 5
#define SLEEP_TIME 10
void *sleeping(void *);
pthread_t tid[NUM_THREADS];
int
main(int argc, char *argv[])
{
int i;
for (i = 0; i < NUM_THREADS; i++)
pthread_create(&tid[i], NULL, sleeping, (void *)SLEEP_TIME);
for (i = 0; i < NUM_THREADS; i++)
pthread_join(tid[i], NULL);
printf("main() reporting that all %d threads have terminated\n", i);
return (0);
}
void *
sleeping(void *arg)
{
int sleep_time = (int)arg;
printf("thread %d sleeping %d seconds ...\n", thr_self(), sleep_time);
sleep(sleep_time);
printf("\nthread %d awakening\n", thr_self());
return (NULL);
}
then, I compile this one in 2 way :
# cc -o thread thread.c -lthr
and
# cc -pthread -o pthread thread.c
here is some of the "new ps" outputs :
"lwp" is the thread id and "nlwp" the the number of threads.
-q switch in posix mode (aka SystemV) and -C select processes
by name (a la pgrep).
# ./thread& sleep 1; ps -H -O lwp,nlwp -qC thread
(thread, using -H)
PID LWP NLWP TTY TIME COMMAND
85146 100005 6 ttyp0 00:00:00 thread
85146 100004 6 ttyp0 00:00:00 thread
85146 100003 6 ttyp0 00:00:00 thread
85146 100002 6 ttyp0 00:00:00 thread
85146 100001 6 ttyp0 00:00:00 thread
85146 85146 6 ttyp0 00:00:00 thread
# ./pthread& sleep 1; ps -H -O lwp,nlwp -qC thread
(pthread, using -H)
PID LWP NLWP TTY TIME COMMAND
96689 100002 2 ttyp0 00:00:00 pthread
96689 96689 2 ttyp0 00:00:00 pthread
is it normal that -pthread only forks only 1 thread where
-lthr forks 5 of them ?
# ./thread& sleep 1; ps -O lwp,nlwp -qC thread
(thread ot pthread, not using -H)
PID LWP NLWP TTY TIME COMMAND
73718 100005 6 ttyp0 00:00:00 thread
is it normal that the selected process is the last forked thread and
not the thread owner (father) ?
PS : using -lc_r, there is no thread at all, but I suppose this is an
expected behaviour.
CC -current and -hackers
Cyrille Lefevre.
--
mailto:clefevre-lists@9online.fr
------------------------------
Message: 21
Date: Sun, 20 Jun 2004 10:35:21 +0800
From: David Xu <davidxu@freebsd.org>
Subject: Re: -lthr vs. -pthread
To: Cyrille Lefevre <clefevre-lists@9online.fr>
Cc: hackers@freebsd.org
Message-ID: <40D4F7E9.60908@freebsd.org>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
libpthread default is M:N threading model, kernel thread
entity is allocated on demand, things like sleep() only block
thread in userland, no kernel thread will be allocated, so
in your example, you won't see 5 kernel threads, only two
threads are showed here, the extra thread is a signal thread,
there is only one signal thread in process live cycle.
libthr is 1:1, when you allocate a thread in userland, it creates
a kernel thread too.
David Xu
Cyrille Lefevre wrote:
>Hi,
>
>I'm currently working on enhancements to ps w/ "Garance A Drosehn".
>I've just added some thread related stuffs and to see them, I'm
>using the following program :
>
>#define _REENTRANT
>#include <pthread.h>
>
>#define NUM_THREADS 5
>#define SLEEP_TIME 10
>
>void *sleeping(void *);
>pthread_t tid[NUM_THREADS];
>
>int
>main(int argc, char *argv[])
>{
> int i;
>
> for (i = 0; i < NUM_THREADS; i++)
> pthread_create(&tid[i], NULL, sleeping, (void
>*)SLEEP_TIME);
> for (i = 0; i < NUM_THREADS; i++)
> pthread_join(tid[i], NULL);
> printf("main() reporting that all %d threads have terminated\n",
>i);
> return (0);
>}
>
>void *
>sleeping(void *arg)
>{
> int sleep_time = (int)arg;
> printf("thread %d sleeping %d seconds ...\n", thr_self(),
>sleep_time);
> sleep(sleep_time);
> printf("\nthread %d awakening\n", thr_self());
> return (NULL);
>}
>
>then, I compile this one in 2 way :
>
># cc -o thread thread.c -lthr
>and
># cc -pthread -o pthread thread.c
>
>here is some of the "new ps" outputs :
>
>"lwp" is the thread id and "nlwp" the the number of threads.
>-q switch in posix mode (aka SystemV) and -C select processes
>by name (a la pgrep).
>
># ./thread& sleep 1; ps -H -O lwp,nlwp -qC thread
>(thread, using -H)
> PID LWP NLWP TTY TIME COMMAND
>85146 100005 6 ttyp0 00:00:00 thread
>85146 100004 6 ttyp0 00:00:00 thread
>85146 100003 6 ttyp0 00:00:00 thread
>85146 100002 6 ttyp0 00:00:00 thread
>85146 100001 6 ttyp0 00:00:00 thread
>85146 85146 6 ttyp0 00:00:00 thread
># ./pthread& sleep 1; ps -H -O lwp,nlwp -qC thread
>(pthread, using -H)
> PID LWP NLWP TTY TIME COMMAND
>96689 100002 2 ttyp0 00:00:00 pthread
>96689 96689 2 ttyp0 00:00:00 pthread
>
>is it normal that -pthread only forks only 1 thread where
>-lthr forks 5 of them ?
>
># ./thread& sleep 1; ps -O lwp,nlwp -qC thread
>(thread ot pthread, not using -H)
> PID LWP NLWP TTY TIME COMMAND
>73718 100005 6 ttyp0 00:00:00 thread
>
>
>is it normal that the selected process is the last forked thread and
>not the thread owner (father) ?
>
>PS : using -lc_r, there is no thread at all, but I suppose this is an
>expected behaviour.
>
>CC -current and -hackers
>
>Cyrille Lefevre.
>
>
------------------------------
Message: 22
Date: Sat, 19 Jun 2004 23:36:35 -0700 (PDT)
From: Don Lewis <truckman@FreeBSD.org>
Subject: Re: Lost buffers with mounted ext2fs
To: avatar@mmlab.cse.yzu.edu.tw
Cc: freebsd-current@FreeBSD.org
Message-ID: <200406200636.i5K6aZDX045033@gw.catspoiler.org>
Content-Type: TEXT/plain; charset=us-ascii
On 20 Jun, Tai-hwa Liang wrote:
> On Sat, 19 Jun 2004, Stefan Ehmann wrote:
>> On Fri, 2004-06-18 at 20:38, Michael Nottebrock wrote:
>> > IIRC this is a known bug (always 1 buffer left on reboot if any ext2
>> > filesystems are mounted (rw?, didn't check if ro also triggers it) at
>> > reboot/shutdown time, causing _all_ filesystems which were mounted rw to
be
>> > left dirty).
>> >
>> > Does anybody have a fix yet? I'm currently using
>> > http://people.freebsd.org/~lofi/rc.shutdown.diff as a workaround...
>>
>> Yes, this is a bug that was introduced sometime last year:
>> http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/56675
>>
>> This also happens if the ext2fs is mounted ro.
>>
>> AFAIK there is no fix available. I'd appreciate it very much though.
>
> Sometimes I run into this behaviour even on a -CURRENT box without
> ext2fs.ko loaded. Though it's fairly hard to reproduce this lost buffer
> scenario, I'm wondering about whether this bug is not limited to ext2fs,
> but also UFS2 and smbfs?
I typically see this when I reboot immediately after running
mergemaster. To avoid the problem, I use the old incantation of
sync'ing three times and waiting a bit before the reboot.
I'm pretty sure the problem is that the filesystem syncer is getting
shut down too early, while there are still items in the soft updates
work queue. When the shutdown code tries to do the final sync, there
are a number of buffers that can't be written because of unsatisfied
dependencies, so the file system is left in an unclean state. I believe
that when portupgrade deletes the temproot tree, it generates a large
enough work list to trigger the problem.
I believe that the proper fix would be to speed up the syncer at
shutdown time and wait until it empties the work queue before
terminating. Fixing this problem has been on my TODO list for ages.
------------------------------
Message: 23
Date: Sun, 20 Jun 2004 08:11:37 +0100
From: leon breedt <freebsd-current@lists.xeraph.org>
Subject: dell usb keyboard not attached to console by default on
P4C800-E
To: current@freebsd.org
Message-ID: <20040620071137.GA25504@echelon.xeraph.org>
Content-Type: text/plain; charset=us-ascii
hi,
i have a Dell USB keyboard that's stopped working correctly in -CURRENT
(synced today (Jun 20)).
the symptoms are that i am unable to type anything in. however, if i
attach a PS/2 keyboard, and do:
# kbdcontrol -k /dev/ukbd0
the USB keyboard starts working. my workaround for now has been to
add
keyboard="/dev/ukbd0"
to /etc/rc.conf. i didn't need this in 5.2.1-R though, is this a
regression, or expected behaviour?
i've attached the verbose dmesg output, and my kernel configuration.
thanks,
leon
------------------------------
Message: 24
Date: Sun, 20 Jun 2004 08:12:42 +0100
From: leon breedt <freebsd-current@lists.xeraph.org>
Subject: Re: dell usb keyboard not attached to console by default on
P4C800-E (files attached)
To: current@freebsd.org
Message-ID: <20040620071242.GB25504@echelon.xeraph.org>
Content-Type: text/plain; charset="us-ascii"
files are really attached now, sorry.
-------------- next part --------------
machine i386
cpu I686_CPU
ident INGSOC
options SCHED_4BSD #4BSD scheduler
options INET #InterNETworking
options FFS #Berkeley Fast Filesystem
options SOFTUPDATES #Enable FFS soft updates support
options UFS_ACL #Support for access control lists
options UFS_DIRHASH #Improve performance on big directories
options MD_ROOT #MD is a potential root device
options NFSCLIENT #Network Filesystem Client
options NFSSERVER #Network Filesystem Server
options NFS_ROOT #NFS usable as /, requires NFSCLIENT
options MSDOSFS #MSDOS Filesystem
options CD9660 #ISO 9660 Filesystem
options EXT2FS #Ext2 Filesystem
options PROCFS #Process filesystem (requires PSEUDOFS)
options PSEUDOFS #Pseudo-filesystem framework
options COMPAT_43 #Compatible with BSD 4.3 [KEEP THIS!]
options COMPAT_FREEBSD4 #Compatible with FreeBSD4
options SCSI_DELAY=15000 #Delay (in ms) before probing SCSI
options KTRACE #ktrace(1) support
options SYSVSHM #SYSV-style shared memory
options SYSVMSG #SYSV-style message queues
options SYSVSEM #SYSV-style semaphores
options _KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions
options KBD_INSTALL_CDEV # install a CDEV entry in /dev
options PFIL_HOOKS # pfil(9) framework
options SMP # Symmetric MultiProcessor Kernel
device apic # I/O APIC
device isa
device eisa
device pci
# Floppy drives
device fdc
# ATA and ATAPI devices
device ata
device atadisk # ATA disk drives
device ataraid # ATA RAID drives
device atapicd # ATAPI CDROM drives
device atapifd # ATAPI floppy drives
options ATA_STATIC_ID #Static device numbering
# SCSI peripherals
device scbus # SCSI bus (required for SCSI)
device da # Direct Access (disks)
device cd # CD
device pass # Passthrough device (direct SCSI access)
device ses # SCSI Environmental Services (and SAF-TE)
# atkbdc0 controls both the keyboard and the PS/2 mouse
device atkbdc # AT keyboard controller
device atkbd # AT keyboard
device psm # PS/2 mouse
device vga # VGA video card driver
device splash # Splash screen and screen saver support
# syscons is the default console driver, resembling an SCO console
device sc
device agp # support several AGP chipsets
# Floating point support - do not disable.
device npx
device pmtimer
# PCI Ethernet NICs.
device em # Intel PRO/1000 adapter Gigabit Ethernet Card
# Pseudo devices - the number indicates how many units to allocate.
device random # Entropy device
device loop # Network loopback
device ether # Ethernet support
device ppp # Kernel PPP
device tun # Packet tunnel.
device pty # Pseudo-ttys (telnet etc)
device md # Memory "disks"
device gif # IPv6 and IPv4 tunneling
# The `bpf' device enables the Berkeley Packet Filter.
# Be aware of the administrative consequences of enabling this!
device bpf # Berkeley packet filter
# USB support
device uhci # UHCI PCI->USB interface
device ohci # OHCI PCI->USB interface
device usb # USB Bus (required)
#device udbp # USB Double Bulk Pipe devices
device ugen # Generic
device uhid # "Human Interface Devices"
device ukbd # Keyboard
device umass # Disks/Mass storage - Requires scbus and da
device ums # Mouse
device pcm
options IPFIREWALL
options IPFIREWALL_VERBOSE
options IPFIREWALL_VERBOSE_LIMIT=100
options IPFIREWALL_DEFAULT_TO_ACCEPT
options IPDIVERT
options DUMMYNET
options COMPAT_LINUX
options LINPROCFS
-------------- next part --------------
Location Bus Device Pin Link IRQs
embedded 3 8 A 0x68 3 4 5 6 7 10 11 12 14 15
embedded 0 31 A 0x62 3 4 5 6 7 10 11 12 14 15
embedded 0 31 B 0x61 3 4 5 6 7 10 11 12 14 15
embedded 0 29 A 0x60 3 4 5 6 7 10 11 12 14 15
embedded 0 29 B 0x63 3 4 5 6 7 10 11 12 14 15
embedded 0 29 C 0x62 3 4 5 6 7 10 11 12 14 15
embedded 0 29 D 0x6b 3 4 5 6 7 10 11 12 14 15
embedded 0 1 A 0x60 3 4 5 6 7 10 11 12 14 15
embedded 0 1 B 0x61 3 4 5 6 7 10 11 12 14 15
slot 1 3 9 A 0x69 3 4 5 6 7 10 11 12 14 15
slot 1 3 9 B 0x6a 3 4 5 6 7 10 11 12 14 15
slot 1 3 9 C 0x6b 3 4 5 6 7 10 11 12 14 15
slot 1 3 9 D 0x68 3 4 5 6 7 10 11 12 14 15
slot 2 3 10 A 0x6a 3 4 5 6 7 10 11 12 14 15
slot 2 3 10 B 0x6b 3 4 5 6 7 10 11 12 14 15
slot 2 3 10 C 0x68 3 4 5 6 7 10 11 12 14 15
slot 2 3 10 D 0x69 3 4 5 6 7 10 11 12 14 15
slot 3 3 11 A 0x6b 3 4 5 6 7 10 11 12 14 15
slot 3 3 11 B 0x68 3 4 5 6 7 10 11 12 14 15
slot 3 3 11 C 0x69 3 4 5 6 7 10 11 12 14 15
slot 3 3 11 D 0x6a 3 4 5 6 7 10 11 12 14 15
embedded 2 1 A 0x62 3 4 5 6 7 10 11 12 14 15
slot 4 3 12 A 0x68 3 4 5 6 7 10 11 12 14 15
slot 4 3 12 B 0x69 3 4 5 6 7 10 11 12 14 15
slot 4 3 12 C 0x6a 3 4 5 6 7 10 11 12 14 15
slot 4 3 12 D 0x6b 3 4 5 6 7 10 11 12 14 15
slot 5 3 13 A 0x69 3 4 5 6 7 10 11 12 14 15
slot 5 3 13 B 0x6a 3 4 5 6 7 10 11 12 14 15
slot 5 3 13 C 0x6b 3 4 5 6 7 10 11 12 14 15
slot 5 3 13 D 0x68 3 4 5 6 7 10 11 12 14 15
embedded 3 3 A 0x68 3 4 5 6 7 10 11 12 14 15
embedded 3 4 A 0x6b 3 4 5 6 7 10 11 12 14 15
AcpiOsDerivePciId: bus 0 dev 31 func 1
AcpiOsDerivePciId: bus 0 dev 31 func 2
AcpiOsDerivePciId: bus 0 dev 31 func 0
acpi0: Power Button (fixed)
ACPI timer looks GOOD min = 3, max = 3, width = 0
ACPI timer looks GOOD min = 3, max = 3, width = 0
ACPI timer looks GOOD min = 3, max = 3, width = 0
ACPI timer looks GOOD min = 3, max = 3, width = 0
ACPI timer looks GOOD min = 3, max = 3, width = 0
ACPI timer looks GOOD min = 3, max = 3, width = 0
ACPI timer looks GOOD min = 3, max = 3, width = 0
ACPI timer looks GOOD min = 3, max = 3, width = 0
ACPI timer looks GOOD min = 3, max = 3, width = 0
ACPI timer looks GOOD min = 3, max = 3, width = 0
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
ioapic0: Request to change trigger for pin 10 to level ignored
ioapic0: Request to change polarity for pin 10 to low ignored
ioapic0: Request to change trigger for pin 10 to level ignored
ioapic0: Request to change polarity for pin 10 to low ignored
ioapic0: Request to change trigger for pin 5 to level ignored
ioapic0: Request to change polarity for pin 5 to low ignored
ioapic0: Request to change trigger for pin 3 to level ignored
ioapic0: Request to change polarity for pin 3 to low ignored
ioapic0: Request to change trigger for pin 7 to level ignored
ioapic0: Request to change polarity for pin 7 to low ignored
ioapic0: Request to change trigger for pin 5 to level ignored
ioapic0: Request to change polarity for pin 5 to low ignored
ioapic0: Request to change trigger for pin 4 to level ignored
ioapic0: Request to change polarity for pin 4 to low ignored
ioapic0: Request to change trigger for pin 11 to level ignored
ioapic0: Request to change polarity for pin 11 to low ignored
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0
unknown: not probed (disabled)
mss_probe: no address given, try 0x530
mss_detect, busy still set (0xff)
cpu0: <ACPI CPU> port 0x530-0x537 on acpi0
mss_probe: no address given, try 0x530
mss_detect, busy still set (0xff)
cpu1: <ACPI CPU> port 0x530-0x537 on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
ACPI PCI link initial configuration:
ACPI PCI link before setting link priority:
ACPI PCI link before fixup for boot-disabled links:
ACPI PCI link after fixup for boot-disabled links:
ACPI PCI link arbitrated configuration:
pci0: <ACPI PCI bus> on pcib0
pci0: physical bus=0
map[10]: type 3, range 32, base f4000000, size 26, enabled
found-> vendor=0x8086, dev=0x2578, revid=0x02
bus=0, slot=0, func=0
class=06-00-00, hdrtype=0x00, mfdev=0
cmdreg=0x0106, statreg=0x2090, cachelnsz=0 (dwords)
lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
found-> vendor=0x8086, dev=0x2579, revid=0x02
bus=0, slot=1, func=0
class=06-04-00, hdrtype=0x01, mfdev=0
cmdreg=0x0107, statreg=0x00a0, cachelnsz=0 (dwords)
lattimer=0x40 (1920 ns), mingnt=0x08 (2000 ns), maxlat=0x00 (0 ns)
found-> vendor=0x8086, dev=0x257b, revid=0x02
bus=0, slot=3, func=0
class=06-04-00, hdrtype=0x01, mfdev=0
cmdreg=0x0107, statreg=0x00a0, cachelnsz=0 (dwords)
lattimer=0x40 (1920 ns), mingnt=0x02 (500 ns), maxlat=0x00 (0 ns)
map[20]: type 4, range 32, base 0000ef00, size 5, enabled
pcib0: matched entry for 0.29.INTA (src )
pcib0: device is hardwired to IRQ 16
found-> vendor=0x8086, dev=0x24d2, revid=0x02
bus=0, slot=29, func=0
class=0c-03-00, hdrtype=0x00, mfdev=1
cmdreg=0x0005, statreg=0x0280, cachelnsz=0 (dwords)
lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
intpin=a, irq=16
map[20]: type 4, range 32, base 0000ef20, size 5, enabled
pcib0: matched entry for 0.29.INTB (src )
pcib0: device is hardwired to IRQ 19
found-> vendor=0x8086, dev=0x24d4, revid=0x02
bus=0, slot=29, func=1
class=0c-03-00, hdrtype=0x00, mfdev=0
cmdreg=0x0005, statreg=0x0280, cachelnsz=0 (dwords)
lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
intpin=b, irq=19
map[20]: type 4, range 32, base 0000ef40, size 5, enabled
pcib0: matched entry for 0.29.INTC (src )
pcib0: device is hardwired to IRQ 18
found-> vendor=0x8086, dev=0x24d7, revid=0x02
bus=0, slot=29, func=2
class=0c-03-00, hdrtype=0x00, mfdev=0
cmdreg=0x0005, statreg=0x0280, cachelnsz=0 (dwords)
lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
intpin=c, irq=18
map[20]: type 4, range 32, base 0000ef80, size 5, enabled
pcib0: matched entry for 0.29.INTA (src )
pcib0: device is hardwired to IRQ 16
found-> vendor=0x8086, dev=0x24de, revid=0x02
bus=0, slot=29, func=3
class=0c-03-00, hdrtype=0x00, mfdev=0
cmdreg=0x0005, statreg=0x0280, cachelnsz=0 (dwords)
lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
intpin=a, irq=16
map[10]: type 1, range 32, base febff800, size 10, enabled
pcib0: matched entry for 0.29.INTD (src )
pcib0: device is hardwired to IRQ 23
found-> vendor=0x8086, dev=0x24dd, revid=0x02
bus=0, slot=29, func=7
class=0c-03-20, hdrtype=0x00, mfdev=0
cmdreg=0x0106, statreg=0x0290, cachelnsz=0 (dwords)
lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
intpin=d, irq=23
powerspec 2 supports D0 D3 current D0
found-> vendor=0x8086, dev=0x244e, revid=0xc2
bus=0, slot=30, func=0
class=06-04-00, hdrtype=0x01, mfdev=0
cmdreg=0x0107, statreg=0x0080, cachelnsz=0 (dwords)
lattimer=0x00 (0 ns), mingnt=0x02 (500 ns), maxlat=0x00 (0 ns)
found-> vendor=0x8086, dev=0x24d0, revid=0x02
bus=0, slot=31, func=0
class=06-01-00, hdrtype=0x00, mfdev=1
cmdreg=0x000f, statreg=0x0280, cachelnsz=0 (dwords)
lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
map[20]: type 4, range 32, base 0000fc00, size 4, enabled
found-> vendor=0x8086, dev=0x24db, revid=0x02
bus=0, slot=31, func=1
class=01-01-8a, hdrtype=0x00, mfdev=0
cmdreg=0x0005, statreg=0x0280, cachelnsz=0 (dwords)
lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
intpin=a, irq=255
map[10]: type 4, range 32, base 0000efe0, size 3, enabled
map[14]: type 4, range 32, base 0000efac, size 2, enabled
map[18]: type 4, range 32, base 0000efa0, size 3, enabled
map[1c]: type 4, range 32, base 0000efa8, size 2, enabled
map[20]: type 4, range 32, base 0000ef60, size 4, enabled
pcib0: matched entry for 0.31.INTA (src )
pcib0: device is hardwired to IRQ 18
found-> vendor=0x8086, dev=0x24d1, revid=0x02
bus=0, slot=31, func=2
class=01-01-8f, hdrtype=0x00, mfdev=0
cmdreg=0x0005, statreg=0x02a0, cachelnsz=0 (dwords)
lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
intpin=a, irq=18
map[20]: type 4, range 32, base 00000400, size 5, enabled
pcib0: matched entry for 0.31.INTB (src )
pcib0: device is hardwired to IRQ 17
found-> vendor=0x8086, dev=0x24d3, revid=0x02
bus=0, slot=31, func=3
class=0c-05-00, hdrtype=0x00, mfdev=0
cmdreg=0x0001, statreg=0x0280, cachelnsz=0 (dwords)
lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
intpin=b, irq=17
agp0: <Intel 82875P host to AGP bridge> mem 0xf4000000-0xf7ffffff at device 0.
0 on pci0
agp0: Reserved 0x4000000 bytes for rid 0x10 type 3 at 0xf4000000
agp0: allocating GATT for aperture of size 64M
pcib1: <ACPI PCI-PCI bridge> at device 1.0 on pci0
pcib1: secondary bus 1
pcib1: subordinate bus 1
pcib1: I/O decode 0xb000-0xbfff
pcib1: memory decode 0xfe000000-0xfe0fffff
pcib1: prefetched decode 0xaff00000-0xefefffff
pcib1: could not get PCI interrupt routing table for \\_SB_.PCI0.P0P1 - AE_NOT
_FOUND
pci1: <ACPI PCI bus> on pcib1
pci1: physical bus=1
map[10]: type 3, range 32, base d0000000, size 28, enabled
pcib1: device (null) requested decoded memory range 0xd0000000-0xdfffffff
map[14]: type 4, range 32, base 0000b000, size 8, enabled
pcib1: device (null) requested decoded I/O range 0xb000-0xb0ff
map[18]: type 1, range 32, base fe0f0000, size 16, enabled
pcib1: device (null) requested decoded memory range 0xfe0f0000-0xfe0fffff
pcib0: matched entry for 0.1.INTA (src )
pcib0: device is hardwired to IRQ 16
pcib1: slot 0 INTA is routed to irq 16
found-> vendor=0x1002, dev=0x4152, revid=0x00
bus=1, slot=0, func=0
class=03-00-00, hdrtype=0x00, mfdev=1
cmdreg=0x0107, statreg=0x02b0, cachelnsz=4 (dwords)
lattimer=0x40 (1920 ns), mingnt=0x08 (2000 ns), maxlat=0x00 (0 ns)
intpin=a, irq=16
powerspec 2 supports D0 D1 D2 D3 current D0
map[10]: type 3, range 32, base c0000000, size 28, enabled
pcib1: device (null) requested decoded memory range 0xc0000000-0xcfffffff
map[14]: type 1, range 32, base fe0e0000, size 16, enabled
pcib1: device (null) requested decoded memory range 0xfe0e0000-0xfe0effff
found-> vendor=0x1002, dev=0x4172, revid=0x00
bus=1, slot=0, func=1
class=03-80-00, hdrtype=0x00, mfdev=0
cmdreg=0x0007, statreg=0x02b0, cachelnsz=4 (dwords)
lattimer=0x40 (1920 ns), mingnt=0x08 (2000 ns), maxlat=0x00 (0 ns)
powerspec 2 supports D0 D1 D2 D3 current D0
pci1: <display, VGA> at device 0.0 (no driver attached)
pci1: <display> at device 0.1 (no driver attached)
pcib2: <ACPI PCI-PCI bridge> at device 3.0 on pci0
pcib2: secondary bus 2
pcib2: subordinate bus 2
pcib2: I/O decode 0xc000-0xcfff
pcib2: memory decode 0xfe100000-0xfe1fffff
pcib2: prefetched decode 0xfff00000-0xfffff
ACPI PCI link initial configuration:
ACPI PCI link before setting link priority:
ACPI PCI link before fixup for boot-disabled links:
ACPI PCI link after fixup for boot-disabled links:
ACPI PCI link arbitrated configuration:
pci2: <ACPI PCI bus> on pcib2
pci2: physical bus=2
map[10]: type 1, range 32, base fe1e0000, size 17, enabled
pcib2: device (null) requested decoded memory range 0xfe1e0000-0xfe1fffff
map[18]: type 4, range 32, base 0000cf80, size 5, enabled
pcib2: device (null) requested decoded I/O range 0xcf80-0xcf9f
pcib2: matched entry for 2.1.INTA (src )
pcib2: device is hardwired to IRQ 18
found-> vendor=0x8086, dev=0x1019, revid=0x00
bus=2, slot=1, func=0
class=02-00-00, hdrtype=0x00, mfdev=0
cmdreg=0x0007, statreg=0x0238, cachelnsz=4 (dwords)
lattimer=0x00 (0 ns), mingnt=0xff (63750 ns), maxlat=0x00 (0 ns)
intpin=a, irq=18
powerspec 2 supports D0 D3 current D0
em0: <Intel(R) PRO/1000 Network Connection, Version - 1.7.25> port 0xcf80-0xcf
9f mem 0xfe1e0000-0xfe1fffff irq 18 at device 1.0 on pci2
em0: Reserved 0x20000 bytes for rid 0x10 type 3 at 0xfe1e0000
em0: Reserved 0x20 bytes for rid 0x18 type 4 at 0xcf80
em0: [GIANT-LOCKED]
em0: bpf attached
em0: Ethernet address: 00:0e:a6:69:ab:dc
em0: Speed:N/A Duplex:N/A
uhci0: <Intel 82801EB (ICH5) USB controller USB-A> port 0xef00-0xef1f irq 16 a
t device 29.0 on pci0
uhci0: Reserved 0x20 bytes for rid 0x20 type 4 at 0xef00
uhci0: [GIANT-LOCKED]
usb0: <Intel 82801EB (ICH5) USB controller USB-A> on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhub1: Dell Dell USB Keyboard Hub, class 9/0, rev 1.10/2.00, addr 2
uhub1: 3 ports with 2 removable, bus powered
ukbd0: Dell Dell USB Keyboard Hub, rev 1.10/2.00, addr 3, iclass 3/1
kbd: new array size 4
kbd1 at ukbd0
kbd1: ukbd0, generic (0), config:0x0, flags:0x1d0000
uhid0: Dell Dell USB Keyboard Hub, rev 1.10/2.00, addr 3, iclass 3/0
uhci1: <Intel 82801EB (ICH5) USB controller USB-B> port 0xef20-0xef3f irq 19 a
t device 29.1 on pci0
uhci1: Reserved 0x20 bytes for rid 0x20 type 4 at 0xef20
uhci1: [GIANT-LOCKED]
usb1: <Intel 82801EB (ICH5) USB controller USB-B> on uhci1
usb1: USB revision 1.0
uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
ums0: Microsoft Microsoft 5-Button Mouse with IntelliEye(TM), rev 1.10/3.00, a
ddr 2, iclass 3/1
ums0: 5 buttons and Z dir.
uhci2: <Intel 82801EB (ICH5) USB controller USB-C> port 0xef40-0xef5f irq 18 a
t device 29.2 on pci0
uhci2: Reserved 0x20 bytes for rid 0x20 type 4 at 0xef40
uhci2: [GIANT-LOCKED]
usb2: <Intel 82801EB (ICH5) USB controller USB-C> on uhci2
usb2: USB revision 1.0
uhub3: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub3: 2 ports with 2 removable, self powered
uhci3: <Intel 82801EB (ICH5) USB controller USB-D> port 0xef80-0xef9f irq 16 a
t device 29.3 on pci0
uhci3: Reserved 0x20 bytes for rid 0x20 type 4 at 0xef80
uhci3: [GIANT-LOCKED]
usb3: <Intel 82801EB (ICH5) USB controller USB-D> on uhci3
usb3: USB revision 1.0
uhub4: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub4: 2 ports with 2 removable, self powered
pci0: <serial bus, USB> at device 29.7 (no driver attached)
pcib3: <ACPI PCI-PCI bridge> at device 30.0 on pci0
pcib3: secondary bus 3
pcib3: subordinate bus 3
pcib3: I/O decode 0xd000-0xdfff
pcib3: memory decode 0xfe200000-0xfeafffff
pcib3: prefetched decode 0xfff00000-0xfffff
pcib3: Subtractively decoded bridge.
ACPI PCI link initial configuration:
ACPI PCI link before setting link priority:
ACPI PCI link before fixup for boot-disabled links:
ACPI PCI link after fixup for boot-disabled links:
ACPI PCI link arbitrated configuration:
pci3: <ACPI PCI bus> on pcib3
pci3: physical bus=3
map[10]: type 1, range 32, base fe400000, size 22, enabled
pcib3: device (null) requested decoded memory range 0xfe400000-0xfe7fffff
pcib3: matched entry for 3.12.INTA (src )
pcib3: device is hardwired to IRQ 20
found-> vendor=0x8086, dev=0x1040, revid=0x00
bus=3, slot=12, func=0
class=07-80-00, hdrtype=0x00, mfdev=0
cmdreg=0x0117, statreg=0x0290, cachelnsz=4 (dwords)
lattimer=0x40 (1920 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
intpin=a, irq=20
powerspec 2 supports D0 D2 D3 current D0
map[10]: type 4, range 32, base 0000df00, size 6, enabled
pcib3: device (null) requested decoded I/O range 0xdf00-0xdf3f
pcib3: matched entry for 3.13.INTA (src )
pcib3: device is hardwired to IRQ 21
found-> vendor=0x1102, dev=0x0004, revid=0x04
bus=3, slot=13, func=0
class=04-01-00, hdrtype=0x00, mfdev=1
cmdreg=0x0105, statreg=0x0290, cachelnsz=0 (dwords)
lattimer=0x40 (1920 ns), mingnt=0x02 (500 ns), maxlat=0x14 (5000 ns)
intpin=a, irq=21
powerspec 2 supports D0 D1 D2 D3 current D0
map[10]: type 4, range 32, base 0000dfe0, size 3, enabled
pcib3: device (null) requested decoded I/O range 0xdfe0-0xdfe7
found-> vendor=0x1102, dev=0x7003, revid=0x04
bus=3, slot=13, func=1
class=09-80-00, hdrtype=0x00, mfdev=1
cmdreg=0x0105, statreg=0x0290, cachelnsz=0 (dwords)
lattimer=0x40 (1920 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
powerspec 2 supports D0 D1 D2 D3 current D0
map[10]: type 1, range 32, base feaff000, size 11, enabled
pcib3: device (null) requested decoded memory range 0xfeaff000-0xfeaff7ff
map[14]: type 1, range 32, base feaf8000, size 14, enabled
pcib3: device (null) requested decoded memory range 0xfeaf8000-0xfeafbfff
pcib3: matched entry for 3.13.INTB (src )
pcib3: device is hardwired to IRQ 22
found-> vendor=0x1102, dev=0x4001, revid=0x04
bus=3, slot=13, func=2
class=0c-00-10, hdrtype=0x00, mfdev=1
cmdreg=0x0116, statreg=0x0210, cachelnsz=4 (dwords)
lattimer=0x40 (1920 ns), mingnt=0x02 (500 ns), maxlat=0x04 (1000 ns)
intpin=b, irq=22
powerspec 2 supports D0 D1 D2 D3 current D0
pci3: <simple comms> at device 12.0 (no driver attached)
pcm0: <Creative Audigy 2 (EMU10K2)> port 0xdf00-0xdf3f irq 21 at device 13.0 o
n pci3
pcm0: Reserved 0x40 bytes for rid 0x10 type 4 at 0xdf00
emu: setmap (2e4000, 800), nseg=1, error=0
emu: setmap (28d000, 1000), nseg=1, error=0
pcm0: <SigmaTel STAC9721/23 AC97 Codec (id = 0x83847609)>
pcm0: Codec features 18 bit DAC, 18 bit ADC, 5 bit master volume, SigmaTel 3D
Enhancement
pcm0: Primary codec extended features AMAP
pcm0: [MPSAFE]
emu: setmap (304000, 1000), nseg=1, error=0
emu: setmap (282000, 1000), nseg=1, error=0
emu: setmap (320000, 1000), nseg=1, error=0
emu: setmap (2fe000, 1000), nseg=1, error=0
emu: setmap (2fc000, 1000), nseg=1, error=0
emu: setmap (2da000, 1000), nseg=1, error=0
emu: setmap (2f8000, 1000), nseg=1, error=0
emu: setmap (2f7000, 1000), nseg=1, error=0
pcm0: sndbuf_setmap 294000, 1000; 0xc23c0000 -> 294000
pcm0: sndbuf_setmap 2f2000, 1000; 0xc23be000 -> 2f2000
pci3: <serial bus, FireWire> at device 13.2 (no driver attached)
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel ICH5 UDMA100 controller> port 0xfc00-0xfc0f,0x376,0x170-0x177,
0x3f6,0x1f0-0x1f7 at device 31.1 on pci0
atapci0: Reserved 0x10 bytes for rid 0x20 type 4 at 0xfc00
atapci0: Reserved 0x8 bytes for rid 0x10 type 4 at 0x1f0
atapci0: Reserved 0x1 bytes for rid 0x14 type 4 at 0x3f6
ata0: reset tp1 mask=03 ostat0=50 ostat1=00
ata0-master: stat=0x50 err=0x01 lsb=0x00 msb=0x00
ata0-slave: stat=0x00 err=0x01 lsb=0x00 msb=0x00
ata0: reset tp2 stat0=50 stat1=00 devices=0x1<ATA_MASTER>
ata0: at 0x1f0 irq 14 on atapci0
ata0: [MPSAFE]
atapci0: Reserved 0x8 bytes for rid 0x18 type 4 at 0x170
atapci0: Reserved 0x1 bytes for rid 0x1c type 4 at 0x376
ata1: reset tp1 mask=03 ostat0=50 ostat1=50
ata1-master: stat=0x80 err=0x80 lsb=0x80 msb=0x80
ata1-master: stat=0x80 err=0x80 lsb=0x80 msb=0x80
ata1-master: stat=0x00 err=0x01 lsb=0x14 msb=0xeb
ata1-slave: stat=0x00 err=0x01 lsb=0x14 msb=0xeb
ata1: reset tp2 stat0=00 stat1=00 devices=0xc<ATAPI_SLAVE,ATAPI_MASTER>
ata1: at 0x170 irq 15 on atapci0
ata1: [MPSAFE]
atapci1: <Intel ICH5 SATA150 controller> port 0xef60-0xef6f,0xefa8-0xefab,0xef
a0-0xefa7,0xefac-0xefaf,0xefe0-0xefe7 irq 18 at device 31.2 on pci0
atapci1: Reserved 0x10 bytes for rid 0x20 type 4 at 0xef60
atapci1: [MPSAFE]
atapci1: Reserved 0x8 bytes for rid 0x10 type 4 at 0xefe0
atapci1: Reserved 0x4 bytes for rid 0x14 type 4 at 0xefac
ata2: reset tp1 mask=03 ostat0=80 ostat1=80
ata2-master: stat=0x50 err=0x01 lsb=0x00 msb=0x00
ata2-slave: stat=0x00 err=0x01 lsb=0x00 msb=0x00
ata2: reset tp2 stat0=50 stat1=00 devices=0x1<ATA_MASTER>
ata2: at 0xefe0 on atapci1
ata2: [MPSAFE]
atapci1: Reserved 0x8 bytes for rid 0x18 type 4 at 0xefa0
atapci1: Reserved 0x4 bytes for rid 0x1c type 4 at 0xefa8
ata3: reset tp1 mask=03 ostat0=7f ostat1=7f
ata3-master: stat=0x7f err=0xff lsb=0xff msb=0xff
ata3-master: stat=0x7f err=0xff lsb=0xff msb=0xff
ata3-master: stat=0x7f err=0xff lsb=0xff msb=0xff
ata3-master: stat=0x7f err=0xff lsb=0xff msb=0xff
ata3-master: stat=0x7f err=0xff lsb=0xff msb=0xff
ata3-master: stat=0x7f err=0xff lsb=0xff msb=0xff
ata3-master: stat=0x7f err=0xff lsb=0xff msb=0xff
ata3-master: stat=0x7f err=0xff lsb=0xff msb=0xff
ata3-slave: stat=0x7f err=0xff lsb=0xff msb=0xff
ata3: reset tp2 stat0=ff stat1=ff devices=0x0
ata3: at 0xefa0 on atapci1
ata3: [MPSAFE]
pci0: <serial bus, SMBus> at device 31.3 (no driver attached)
acpi_button0: <Power Button> on acpi0
mss_probe: no address given, try 0x530
mss_detect, busy still set (0xff)
mss_probe: no address given, try 0x530
mss_detect, busy still set (0xff)
mss_probe: no address given, try 0x530
mss_detect, busy still set (0xff)
mss_probe: no address given, try 0x530
mss_detect, busy still set (0xff)
mss_probe: no address given, try 0x530
mss_detect, busy still set (0xff)
mss_probe: no address given, try 0x530
mss_detect, busy still set (0xff)
mss_probe: no address given, try 0x530
mss_detect, busy still set (0xff)
mss_probe: no address given, try 0x530
mss_detect, busy still set (0xff)
mss_probe: no address given, try 0x530
mss_detect, busy still set (0xff)
mss_probe: no address given, try 0x530
mss_detect, busy still set (0xff)
mss_probe: no address given, try 0x530
mss_detect, busy still set (0xff)
mss_probe: no address given, try 0x530
mss_detect, busy still set (0xff)
mss_probe: no address given, try 0x530
mss_detect, busy still set (0xff)
mss_probe: no address given, try 0x530
mss_detect, busy still set (0xff)
atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
kbd0: atkbd0, generic (0), config:0x0, flags:0x3f0000
atkbd0: [GIANT-LOCKED]
psm0: unable to allocate IRQ
unknown: not probed (disabled)
unknown: not probed (disabled)
unknown: not probed (disabled)
fdc0: <Enhanced floppy controller (i82077, NE72065 or clone)> port 0x3f7,0x3f0
-0x3f5 irq 6 drq 2 on acpi0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
unknown: not probed (disabled)
unknown: not probed (disabled)
unknown: not probed (disabled)
mss_probe: no address given, try 0x530
mss_detect, busy still set (0xff)
mss_probe: no address given, try 0x530
mss_detect, busy still set (0xff)
mss_probe: no address given, try 0x530
mss_detect, busy still set (0xff)
mss_probe: no address given, try 0x530
mss_detect, busy still set (0xff)
mss_probe: no address given, try 0x530
mss_detect, busy still set (0xff)
unknown: not probed (disabled)
mss_detect, busy still set (0xff)
mss_detect, busy still set (0xff)
mss_detect, busy still set (0xff)
mss_detect, busy still set (0xff)
mss_detect, busy still set (0xff)
mss_detect, busy still set (0xff)
mss_detect, busy still set (0xff)
mss_detect, busy still set (0xff)
mss_detect, busy still set (0xff)
mss_detect, busy still set (0xff)
mss_detect, busy still set (0xff)
mss_detect, busy still set (0xff)
mss_detect, busy still set (0xff)
mss_detect, busy still set (0xff)
unknown: not probed (disabled)
unknown: not probed (disabled)
unknown: not probed (disabled)
unknown: not probed (disabled)
unknown: not probed (disabled)
unknown: not probed (disabled)
mss_detect, busy still set (0xff)
mss_detect, busy still set (0xff)
mss_detect, busy still set (0xff)
mss_detect, busy still set (0xff)
mss_detect, busy still set (0xff)
ata: ata0 already exists; skipping it
ata: ata1 already exists; skipping it
atkbdc: atkbdc0 already exists; skipping it
fdc: fdc0 already exists; skipping it
Trying Read_Port at 203
Trying Read_Port at 243
Trying Read_Port at 283
Trying Read_Port at 2c3
Trying Read_Port at 303
Trying Read_Port at 343
Trying Read_Port at 383
Trying Read_Port at 3c3
sc: sc0 already exists; skipping it
vga: vga0 already exists; skipping it
isa_probe_children: disabling PnP devices
isa_probe_children: probing non-PnP devices
orm0: <Option ROM> at iomem 0xc0000-0xccfff on isa0
pmtimer0 on isa0
adv0: not probed (disabled)
aha0: not probed (disabled)
aic0: not probed (disabled)
bt0: not probed (disabled)
cs0: not probed (disabled)
ed0: not probed (disabled)
fe0: not probed (disabled)
ie0: not probed (disabled)
lnc0: not probed (disabled)
pcic0 failed to probe at port 0x3e0 iomem 0xd0000 on isa0
pcic1: not probed (disabled)
ppc0 failed to probe at irq 7 on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sc0: fb0, kbd0, terminal emulator: sc (syscons terminal)
sio0 failed to probe at port 0x3f8 irq 4 flags 0x10 on isa0
sio1 failed to probe at port 0x2f8 irq 3 on isa0
sio2: not probed (disabled)
sio3: not probed (disabled)
sn0: not probed (disabled)
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
fb0: vga0, vga, type:VGA (5), flags:0x7007f
fb0: port:0x3c0-0x3df, crtc:0x3d4, mem:0xa0000 0x20000
fb0: init mode:24, bios mode:3, current mode:24
fb0: window:0xc00b8000 size:32k gran:32k, buf:0 size:32k
vga0: vga: WARNING: video mode switching is not fully supported on this adapte
r
VGA parameters upon power-up
50 18 10 00 00 00 03 00 02 27 7e 4f 4f 82 55 03
b8 1f 00 4f 0d 0e 00 00 07 80 90 03 8f 28 1f 8f
b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c
3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff
VGA parameters in BIOS for mode 24
50 18 10 00 10 00 03 00 02 67 5f 4f 50 82 55 81
bf 1f 00 4f 0d 0e 00 00 00 00 9c 8e 8f 28 1f 96
b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c
3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff
EGA/VGA parameters to be used for mode 24
50 18 10 00 00 00 03 00 02 27 7e 4f 4f 82 55 03
b8 1f 00 4f 0d 0e 00 00 07 80 90 03 8f 28 1f 8f
b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c
3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff
vt0: not probed (disabled)
isa_probe_children: probing PnP devices
Device configuration finished.
procfs registered
linprocfs registered
Timecounter "TSC" frequency 2998575600 Hz quality -100
Timecounters tick every 10.000 msec
ipfw2 initialized, divert enabled, rule-based forwarding enabled, default to a
ccept, logging limited to 100 packets/entry by default
DUMMYNET initialized (011031)
Linux ELF exec handler installed
lo0: bpf attached
ata0-master: pio=0x0c wdma=0x22 udma=0x45 cable=80pin
ata0-master: setting PIO4 on Intel ICH5 chip
ata0-master: setting UDMA100 on Intel ICH5 chip
ad0: <IC35L080AVVA07-0/VA4OA52A> ATA-5 disk at ata0-master
ad0: 78533MB (160836480 sectors), 170197 C, 15 H, 63 S, 512 B
ad0: 16 secs/int, 1 depth queue, UDMA100
GEOM: new disk ad0
ar: FreeBSD check1 failed
ata1-slave: pio=0x0c wdma=0x22 udma=0x42 cable=40pin
ata1-master: pio=0x0c wdma=0x22 udma=0x44 cable=80pin
ata1-master: setting PIO4 on Intel ICH5 chip
[0] f:00 typ:12 s(CHS):0/1/1 e(CHS):1023/15/63 s:63 l:98558712
[1] f:80 typ:165 s(CHS):1023/15/63 e(CHS):1023/15/63 s:98558775 l:29318625
[2] f:00 typ:131 s(CHS):1023/15/63 e(CHS):1023/15/63 s:127877400 l:32949315
[3] f:00 typ:0 s(CHS):0/0/0 e(CHS):0/0/0 s:0 l:0
GEOM: Configure ad0s1, start 32256 length 50462060544 end 50462092799
GEOM: Configure ad0s2, start 50462092800 length 15011136000 end 65473228799
GEOM: Configure ad0s3, start 65473228800 length 16870049280 end 82343278079
GEOM: Configure ad0s2c, start 0 length 15011136000 end 15011135999
GEOM: Configure ad0s2d, start 0 length 15011136000 end 15011135999
ata1-slave: FAILURE - SETFEATURES SET TRANSFER MODE no interrupt
ata1-slave: FAILURE setting PIO4 on Intel ICH5 chip
acd0: <Pioneer DVD-ROM ATAPIModel DVD-106S 0122/E1.22> DVDROM drive at ata1 as
master
acd0: read 6894KB/s (6894KB/s), 256KB buffer, PIO4
acd0: Reads: CDR, CDRW, CDDA stream, DVDROM, DVDR, packet
acd0: Writes:
acd0: Audio: play, 256 volume levels
acd0: Mechanism: ejectable tray, unlocked
acd0: Medium: CD-ROM 120mm data disc
acd1: <LITE-ON LTR-52246S/6S02> CDRW drive at ata1 as slave
acd1: read 43828KB/s (8937KB/s) write 172KB/s (8937KB/s), 2048KB buffer, BIOSP
IO
acd1: Reads: CDR, CDRW, CDDA stream, packet
acd1: Writes: CDR, CDRW, test write, burnproof
acd1: Audio: play, 255 volume levels
acd1: Mechanism: ejectable tray, unlocked
acd1: Medium: no/blank disc
em0: Link is up 100 Mbps Full Duplex
ata2-master: pio=0x0c wdma=0x22 udma=0x45 cable=80pin
ad4: <WDC WD1200JD-00GBB0/02.05D02> ATA-6 disk at ata2-master
ad4: 114473MB (234441648 sectors), 232581 C, 16 H, 63 S, 512 B
ad4: 16 secs/int, 1 depth queue, UDMA100
ar: FreeBSD check1 failed
SMP: AP CPU #1 Launched!
cpu1 AP:
ID: 0x01000000 VER: 0x00050014 LDR: 0x02000000 DFR: 0x0fffffff
lint0: 0x00010700 lint1: 0x00010400 TPR: 0x00000000 SVR: 0x000001ff
ioapic0: routing intpin 1 (IRQ 1) to cluster 0
ioapic0: routing intpin 6 (IRQ 6) to cluster 0
ioapic0: routing intpin 8 (IRQ 8) to cluster 0
ioapic0: routing intpin 9 (IRQ 9) to cluster 0
ioapic0: routing intpin 13 (IRQ 13) to cluster 0
ioapic0: routing intpin 14 (IRQ 14) to cluster 0
ioapic0: routing intpin 15 (IRQ 15) to cluster 0
ioapic0: routing intpin 16 (IRQ 16) to cluster 0
ioapic0: routing intpin 18 (IRQ 18) to cluster 0
ioapic0: routing intpin 19 (IRQ 19) to cluster 0
ioapic0: routing intpin 21 (IRQ 21) to cluster 0
GEOM: new disk ad4
[0] f:00 typ:7 s(CHS):0/1/1 e(CHS):1023/254/63 s:63 l:78140097
[1] f:80 typ:165 s(CHS):1023/255/63 e(CHS):1023/254/63 s:78140160 l:58605120
[2] f:00 typ:131 s(CHS):1023/255/63 e(CHS):1023/254/63 s:136745280 l:58605120
[3] f:00 typ:5 s(CHS):1023/255/63 e(CHS):1023/254/63 s:195350400 l:39086145
GEOM: Configure ad4s1, start 32256 length 40007729664 end 40007761919
GEOM: Configure ad4s2, start 40007761920 length 30005821440 end 70013583359
GEOM: Configure ad4s3, start 70013583360 length 30005821440 end 100019404799
GEOM: Configure ad4s4, start 100019404800 length 20012106240 end 120031511039
GEOM: Configure ad4s2a, start 0 length 1048576000 end 1048575999
GEOM: Configure ad4s2b, start 1048576000 length 2097152000 end 3145727999
GEOM: Configure ad4s2c, start 0 length 30005821440 end 30005821439
GEOM: Configure ad4s2d, start 3145728000 length 1048576000 end 4194303999
GEOM: Configure ad4s2e, start 4194304000 length 25811517440 end 30005821439
MBREXT Slice 5 on ad4s4:
[0] f:00 typ:131 s(CHS):1023/254/63 e(CHS):1023/254/63 s:63 l:208782
[1] f:00 typ:5 s(CHS):1023/254/63 e(CHS):1023/254/63 s:208845 l:3919860
GEOM: Configure ad4s5, start 32256 length 106896384 end 106928639
MBREXT Slice 6 on ad4s4:
[0] f:00 typ:130 s(CHS):1023/254/63 e(CHS):1023/254/63 s:63 l:3919797
[1] f:00 typ:5 s(CHS):1023/254/63 e(CHS):1023/254/63 s:4128705 l:34957440
GEOM: Configure ad4s6, start 106960896 length 2006936064 end 2113896959
MBREXT Slice 7 on ad4s4:
[0] f:00 typ:131 s(CHS):1023/254/63 e(CHS):1023/254/63 s:63 l:34957377
[1] f:00 typ:0 s(CHS):0/0/0 e(CHS):0/0/0 s:0 l:0
GEOM: Configure ad4s7, start 2113929216 length 17898177024 end 20012106239
Mounting root from ufs:/dev/ad4s2a
start_init: trying /sbin/init
em0: Link is up 100 Mbps Full Duplex
------------------------------
_______________________________________________
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 65, Issue 22
***********************************************
--
[35mEvariste Galois[m:
[33m�����呛��樱������蔷������,����直前......[m
[m[32m�� ��源:������� bbs.ustc.edu.cn [FROM: 210.45.72.234][m