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. -current BRIDGE and PF (Toxa)
2. Lost buffers with mounted ext2fs (Michael Nottebrock)
3. Re: importing gcc 3.4? (Craig Rodrigues)
4. Transfer mode of my ad0 no longer recognized correctly
(Radek Kozlowski)
5. Re: Problems installing FreeBSD with 3ware 9500S-4LP
(Patrick Hurrelmann)
6. Re: Possible Threading problem with -CURRENT / MySQL? (Jon Noack)
7. Re: Stack backtrace (Robert Watson)
8. USB2 weirdness (continued) (AK)
9. Re: USB2 weirdness (continued) (Julian Elischer)
10. Re: Transfer mode of my ad0 no longer recognized correctly
(Radek Kozlowski)
11. Re: USB2 weirdness (continued) (Luke)
12. GEOM panic in today's -current (Steve Kargl)
13. Re: USB2 weirdness (continued) (AK)
14. Re: GEOM panic in today's -current (Steve Kargl)
15. Re: Stack backtrace (Grover Lines)
----------------------------------------------------------------------
Message: 1
Date: Fri, 18 Jun 2004 22:23:02 +0400
From: Toxa <postfix@sendmail.ru>
Subject: -current BRIDGE and PF
To: current@FreeBSD.org
Message-ID: <308572066.20040618222302@sendmail.ru>
Content-Type: text/plain; charset=us-ascii
Due to the fact that pf and altq are in the base system in -current,
I have decided to move my bridged router back from openbsd to freebsd (well, i
t's
not heavy-loaded bridge, so possible -current odds is acceptable, and
it's a good chance to test -current in production environment). But
as I can see, it's still unable to use pf on bridged router. There's
no sysctl value for enabling pf in bridge, bridge working but packets
doesn't goes through pf, all counters (pfctl -vsr) are zeros,
everything passed throuth gateway like there's no firewall on it at
all.
Am I right? Is pf still unable to work on bridge?
------------------------------
Message: 2
Date: Fri, 18 Jun 2004 20:38:30 +0200
From: Michael Nottebrock <michaelnottebrock@gmx.net>
Subject: Lost buffers with mounted ext2fs
To: freebsd-current@freebsd.org
Message-ID: <200406182038.34203.michaelnottebrock@gmx.net>
Content-Type: text/plain; charset="us-ascii"
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...
--
,_, | Michael Nottebrock | lofi@freebsd.org
(/^ ^\) | FreeBSD - The Power to Serve | http://www.freebsd.org
\u/ | K Desktop Environment on FreeBSD | http://freebsd.kde.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: signature
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20040618/
271324b5/attachment-0001.bin
------------------------------
Message: 3
Date: Fri, 18 Jun 2004 14:45:30 -0400
From: Craig Rodrigues <rodrigc@crodrigues.org>
Subject: Re: importing gcc 3.4?
To: Sean McNeil <sean@mcneil.com>
Cc: freebsd-current@freebsd.org
Message-ID: <20040618184530.GA7094@crodrigues.org>
Content-Type: text/plain; charset=us-ascii
On Fri, Jun 18, 2004 at 11:21:12AM -0700, Sean McNeil wrote:
> Is this going to happen sometime soon? There are fixes for amd64
> support that I'd very much like to have in 3.4.
The GCC 3.4 import is in progress. kan@freebsd.org, who is working on it,
is on vacation right now. He works right beside me in my day job, so
I know. :)
By the way, any FreeBSD developers who are looking for work, and
are in the Massachusetts area, take a look at:
http://lists.freebsd.org/pipermail/freebsd-jobs/2004-May/000114.html
That's my group, and we are hiring!
--
Craig Rodrigues
http://crodrigues.org
rodrigc@crodrigues.org
------------------------------
Message: 4
Date: Fri, 18 Jun 2004 20:45:44 +0200
From: Radek Kozlowski <radek@raadradd.com>
Subject: Transfer mode of my ad0 no longer recognized correctly
To: current@freebsd.org
Message-ID: <40D33858.50300@raadradd.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Hi,
when using a freshly built -CURRENT kernel (acpi enabled) the transfer
mode of my hard disk is set to PIO4 during system init (ad0: 38154MB
<IC25N040ATMR04-0> [77520/16/63] at ata0-master PIO4), whereas with a
kernel from 28th of May (acpi enabled) it is recognized corretly and set
to UDMA100 (ad0: 38154MB <IC25N040ATMR04-0> [77520/16/63] at ata0-master
UDMA100). My system's performance is very poor when the disk works in
PIO mode, so I'm using my older kernel for now.
My ata controller:
atapci0@pci0:16:0: class=0x0101b0 card=0x0024103c chip=0x522910b9
rev=0xc4 hdr=0x00
vendor = 'Acer Labs Incorporated (ALi)'
device = 'M1543 Southbridge EIDE Controller'
class = mass storage
subclass = ATA
I haven't changed anything in my kernel config file since this last
working kernel. Also, when I boot my recent kernel with acpi disabled,
the transfer rate is being correctly set to UDMA100.
When I boot with acpi enabled and try to change the transfer mode manually:
# atacontrol mode 0 udma100 xxx
Master = UDMA100
Slave = BIOSPIO
the transfer mode is changed, but I get a kernel panic (fatal trap 12)
immediately after that. I wanted to capture a core dump to later on use
it with gdb, but I'm unable to produce one. I did everything according
to developer's handbook but it's not working:
# grep dump /etc/rc.conf
dumpdev="/dev/ad0s1b"
dumpdir="/usr/crash"
# swapctl -l
Device: 1024-blocks Used:
/dev/ad0s1b 1048576 0
# sysctl kern | grep dump
kern.sugid_coredump: 0
kern.coredump: 1
One interesting thing is that there's no such oid as kern.dumpdev
(sysctl: unknown oid 'kern.dumpdev') and according to man sysctl there
should be one.
I'll probably take a photo of the output of the trace command in ddb
when I get home if I can't get a crash dump.
Should I provide more info about my system?
Thanks for any help.
-Radek
------------------------------
Message: 5
Date: Fri, 18 Jun 2004 20:49:00 +0200
From: Patrick Hurrelmann <outi@bytephobia.de>
Subject: Re: Problems installing FreeBSD with 3ware 9500S-4LP
To: outi@bytephobia.de
Cc: freebsd-current@freebsd.org
Message-ID: <20040618204900.6657e62b@duality.bytephobia.de>
Content-Type: text/plain; charset=US-ASCII
On Fri, 18 Jun 2004 20:12:53 +0200
Patrick Hurrelmann <outi@bytephobia.de> wrote:
> On Fri, 18 Jun 2004 10:27:47 -0700 (PDT)
> Doug White <dwhite@gumbysoft.com> wrote:
>
> > Please don't crosspost -questions and other lists. I've removed it from
> > the cc:.
>
> ok, noticed that.
>
> > > finally i received my new raid-controller, bu i have problems installing
> > > FreeBSD on it :/
> > >
> > > I tried different releases and current snapshots...
> >
> > The twa driver is still very new. It just came out a few weeks ago, I
> > think. I haven't seen one of those cards yet and we have a lot of 3ware
> > here.
> >
> > Whats the RAID config?
>
> I forgot to include that. Shame on me.
> 4x 120GB, 7200rpm, 8mb chache WesternDigital Disks are configured as one Rai
d 5 array.
Disk details: WDC WD1200JB-75GBB0
> > > 5.1-Release
> > > w ACPI: Loading twa.ko (binary distribution of 3ware.com for 5.2) in s
ysinstall 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 tha
t this is an error)
>
> > > 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.
>
message is:
BTX loader 1.00 BTX version is 1.01
Console: internal video/keyboard
BIOS: 636kb/523136kb available memory
nothing more. it doesn't get the bios-drives?
> > >
> > > 5.2.1-Release
> > > identical to 5.2 Release.
> > >
> > > 5.2-CURRENT-20040420
> > > w ACPI: install went ok, on next reboot the following message scrolls
the screen and it reboots:
> > > "Console internal keyboard/video" (or sth. like that)
> > > w/o ACPI: same as w ACPI.
> > >
> > > 5.2-CURRENT-20040504
> > > identical to 5.2-CURRENT-20040420
> > >
> > > 5.2-CURRENT-20040617
> > > identical to 5.2-CURRENT-20040420
> > >
> > > I attached a normal and a verbose-dmesg.
> >
> > I'm suspecting two problems:
> >
> > 1. Volume was not created correctly so the loader binary is corrupted
> > 2. The twa Int13 handler doesn't like how boot2 is loading the loader
> > binary, which shouldn't happen.
> >
> > I'd check for a twa firmware update; these sound like firmware or
> > firmware/BIOS issues.
>
> twa.ko from 3ware dowload-site included new firmware. The controller has bee
n updated automatically.
>
twa firmware is 2.02.00.011
twa bios is 2.02.01.037
asus a7m266-d bios is 1010 (the latest official)
> I have second ide-disk with a some day old current. I can mount the partitio
ns created during install. All seems to be ok.
>
> I tried a install with twa.ko of current, but it panics with an page-fault e
verytime i load the module through sysinstall.
>
--
===========================================================================
Patrick Hurrelmann | "Programming today is a race between software
Mannheim, Germany | engineers striving to build bigger and better
| idiot-proof programs, and the Universe trying
outi at bytephobia.de | to produce bigger and better idiots. So far,
www.bytephobia.de | the Universe is winning." - Rich Cook
------------------------------
Message: 6
Date: Thu, 17 Jun 2004 01:35:34 -0500
From: Jon Noack <noackjr@alumni.rice.edu>
Subject: Re: Possible Threading problem with -CURRENT / MySQL?
To: Brad Knowles <brad.knowles@skynet.be>
Cc: mike <mike@mike2k.com>
Message-ID: <40D13BB6.3020709@alumni.rice.edu>
Content-Type: text/plain; charset=us-ascii; format=flowed
On 06/17/04 01:07, Brad Knowles wrote:
> At 1:31 AM -0400 2004-06-17, Robert Watson wrote:
>> - Removing Giant from UNIX domain sockets
>
> Out of curiosity, is this something that could be relatively safely
> done in general? Any ideas on what the plan is for doing this as the
> default on -CURRENT?
Wasn't this already done? See this commit:
http://lists.freebsd.org/pipermail/cvs-src/2004-June/025082.html
>> - Disabling HTT - Using ADAPTIVE_MUTEXES
>
> These both sound like typical improvements, based on what I've seen
> on this list. Any ideas on when they might become the default?
ADAPTIVE_MUTEXES was already enabled by default on amd64. See this
commit (read thread for discussion):
http://lists.freebsd.org/pipermail/cvs-src/2004-June/025234.html
It appears no comprehensive testing has been done to check whether it
really does improve performance. Many signs do point that way, though.
>> - Running with SCHED_4BSD instead of SCHED_ULE
>
> This is the only one that really concerns me. This shows that we
> clearly need more work on ULE. Is there one particular thing that we
> seem to be tripping up on, or is it a multitude of things?
I think I'll switch to 4BSD until I see more work being done on ULE (I
read cvs-src as a hobby already so I'll know when to switch back). I
noticed a performance drop from 5.2.1-p8 (with 4BSD) to -CURRENT (with
ULE) when I upgraded, but I attributed it to other things. However, the
system still feels slower than before despite having since disabled
INVARIANTS, WITNESS, and userspace malloc debugging flags.
Jon Noack
_______________________________________________
freebsd-threads@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-threads
To unsubscribe, send any mail to "freebsd-threads-unsubscribe@freebsd.org"
------------------------------
Message: 7
Date: Fri, 18 Jun 2004 15:38:59 -0400 (EDT)
From: Robert Watson <rwatson@freebsd.org>
Subject: Re: Stack backtrace
To: Grover Lines <grover@ceribus.net>
Cc: freebsd-current@freebsd.org
Message-ID:
<Pine.NEB.3.96L.1040618153745.74811A-100000@fledge.watson.org>
Content-Type: TEXT/PLAIN; charset=US-ASCII
On Fri, 18 Jun 2004, Grover Lines wrote:
> I've been having some problems with cvsup corruption and haven't been
> able to trace it to the source so I decided to recompile my kernel with
> all GENERIC options and debugging to see if it was something that I had
> changed that caused the problem. I'm not sure what this means but it
> popped up during the build of cvsup.
>
> Is this a possible source of my problem or is this something not to
> worry about?
This is unlikely to be the cause of the problem you're experiencing, but
it's also not something to be ignored. Basically, we're grabbing the
inpcb lock over a potentially blocking memory allocation, which is a Bad
Thing (tm). However, it's a non-trivial fix because it requires some code
plumbing. I'll work up a patch and see what I can do, but it sounds like
you need to keep looking to find the problem that's actually causing it.
Robert N M Watson FreeBSD Core Team, TrustedBSD Projects
robert@fledge.watson.org Senior Research Scientist, McAfee Research
>
> malloc(M_WAITOK) of "Mbuf", forcing M_NOWAIT with the following
> non-sleepable locks held:
> exclusive sleep mutex inp (tcpinp) r = 0 (0xc1d17bd0) locked @
> /usr/src/sys/netinet/tcp_usrreq.c:1037
> Stack backtrace:
> witness_warn(5,0,c08db91d,c08c1095,c08c5805) at witness_warn+0x194
> uma_zalloc_arg(c1021b00,d6b19c0c,2,c066635e,0) at uma_zalloc_arg+0x50
> ip_ctloutput(c284213c,d6b19cb8,c08ce5cb,40e,c1d17bd0) at ip_ctloutput+0x9b
> tcp_ctloutput(c284213c,d6b19cb8,0,0,0) at tcp_ctloutput+0xad
> sosetopt(c284213c,d6b19cb8,d6b19cb4,0,c284213c) at sosetopt+0x48
> setsockopt(c1d4ddc0,d6b19d14,14,d6b19d48,5) at setsockopt+0xd4
> syscall(2f,2f,2f,281a6920,3) at syscall+0x12f
> Xint0x80_syscall() at Xint0x80_syscall+0x1f
> --- syscall (105), eip = 0x28108fef, esp = 0xbfbfe91c, ebp = 0xbfbfe948 ---
>
> _______________________________________________
> freebsd-current@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
>
------------------------------
Message: 8
Date: Sat, 19 Jun 2004 00:12:05 +0400
From: AK <lesha@intercaf.ru>
Subject: USB2 weirdness (continued)
To: freebsd-current@freebsd.org
Message-ID: <200406190012.06095.lesha@intercaf.ru>
Content-Type: text/plain; charset="us-ascii"
Hello, -currenters!
Today I have decided to give EHCI another try.
This time with SONY "MicroVault" USB mass storage device.
Well, guess what - it is also not working ;-(
uhci0: <Intel 82801DB (ICH4) USB controller USB-A> port 0xdf20-0xdf3f irq 11
at device 29.0 on pci0
uhci0: [GIANT-LOCKED]
usb0: <Intel 82801DB (ICH4) 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
[ 2 more identical entries skipped ]
usb3: EHCI version 1.0
usb3: companion controllers, 2 ports each: usb0 usb1 usb2
usb3: <EHCI (generic) USB 2.0 controller> on ehci0
usb3: USB revision 2.0
uhub3: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub3: 6 ports with 6 removable, self powered
uhub4: Sony USB Embedded Hub, class 9/0, rev 2.00/0.01, addr 2
uhub4: 1 port with 0 removable, self powered
uhub4: cannot open interrupt pipe
device_attach: uhub4 attach returned 6
Cheers,
AL
------------------------------
Message: 9
Date: Fri, 18 Jun 2004 13:42:54 -0700 (PDT)
From: Julian Elischer <julian@elischer.org>
Subject: Re: USB2 weirdness (continued)
To: AK <lesha@intercaf.ru>
Cc: freebsd-current@freebsd.org
Message-ID:
<Pine.BSF.4.21.0406181342230.77179-100000@InterJet.elischer.org>
Content-Type: TEXT/PLAIN; charset=US-ASCII
2.0 hubs are not yet supported.. (they are tricky)
it looks like your device ahs a hub in it...
On Sat, 19 Jun 2004, AK wrote:
> Hello, -currenters!
>
>
> Today I have decided to give EHCI another try.
> This time with SONY "MicroVault" USB mass storage device.
> Well, guess what - it is also not working ;-(
>
>
> uhci0: <Intel 82801DB (ICH4) USB controller USB-A> port 0xdf20-0xdf3f irq 11
> at device 29.0 on pci0
> uhci0: [GIANT-LOCKED]
> usb0: <Intel 82801DB (ICH4) 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
>
> [ 2 more identical entries skipped ]
>
> usb3: EHCI version 1.0
> usb3: companion controllers, 2 ports each: usb0 usb1 usb2
> usb3: <EHCI (generic) USB 2.0 controller> on ehci0
> usb3: USB revision 2.0
> uhub3: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
> uhub3: 6 ports with 6 removable, self powered
>
> uhub4: Sony USB Embedded Hub, class 9/0, rev 2.00/0.01, addr 2
> uhub4: 1 port with 0 removable, self powered
> uhub4: cannot open interrupt pipe
> device_attach: uhub4 attach returned 6
>
> Cheers,
> AL
> _______________________________________________
> freebsd-current@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
>
------------------------------
Message: 10
Date: Fri, 18 Jun 2004 22:54:28 +0200
From: Radek Kozlowski <radek@raadradd.com>
Subject: Re: Transfer mode of my ad0 no longer recognized correctly
To: current@freebsd.org
Message-ID: <40D35684.1030901@raadradd.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
On 2004.06.18 20:45, Radek Kozlowski wrote:
> Hi,
>
> when using a freshly built -CURRENT kernel (acpi enabled) the transfer
> mode of my hard disk is set to PIO4 during system init (ad0: 38154MB
> <IC25N040ATMR04-0> [77520/16/63] at ata0-master PIO4), whereas with a
> kernel from 28th of May (acpi enabled) it is recognized corretly and set
> to UDMA100 (ad0: 38154MB <IC25N040ATMR04-0> [77520/16/63] at ata0-master
> UDMA100). My system's performance is very poor when the disk works in
> PIO mode, so I'm using my older kernel for now.
>
> My ata controller:
>
> atapci0@pci0:16:0: class=0x0101b0 card=0x0024103c chip=0x522910b9
> rev=0xc4 hdr=0x00
> vendor = 'Acer Labs Incorporated (ALi)'
> device = 'M1543 Southbridge EIDE Controller'
> class = mass storage
> subclass = ATA
>
> I haven't changed anything in my kernel config file since this last
> working kernel. Also, when I boot my recent kernel with acpi disabled,
> the transfer rate is being correctly set to UDMA100.
>
> When I boot with acpi enabled and try to change the transfer mode manually:
>
> # atacontrol mode 0 udma100 xxx
> Master = UDMA100
> Slave = BIOSPIO
>
> the transfer mode is changed, but I get a kernel panic (fatal trap 12)
> immediately after that. I wanted to capture a core dump to later on use
> it with gdb, but I'm unable to produce one. I did everything according
> to developer's handbook but it's not working:
>
> # grep dump /etc/rc.conf
> dumpdev="/dev/ad0s1b"
> dumpdir="/usr/crash"
>
> # swapctl -l
> Device: 1024-blocks Used:
> /dev/ad0s1b 1048576 0
>
> # sysctl kern | grep dump
> kern.sugid_coredump: 0
> kern.coredump: 1
>
> One interesting thing is that there's no such oid as kern.dumpdev
> (sysctl: unknown oid 'kern.dumpdev') and according to man sysctl there
> should be one.
>
> I'll probably take a photo of the output of the trace command in ddb
> when I get home if I can't get a crash dump.
Here's a photo and also a dmesg:
http://spekt.net/~raadradd/panic.jpg
http://spekt.net/~raadradd/dmesg
-Radek
------------------------------
Message: 11
Date: Fri, 18 Jun 2004 13:56:31 -0700 (PDT)
From: Luke <luked@pobox.com>
Subject: Re: USB2 weirdness (continued)
To: AK <lesha@intercaf.ru>
Cc: freebsd-current@freebsd.org
Message-ID: <Pine.NEB.4.60.0406181350040.25899@mx.freeshell.org>
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
> Today I have decided to give EHCI another try.
> This time with SONY "MicroVault" USB mass storage device.
> Well, guess what - it is also not working ;-(
>
[snip]
> uhub4: cannot open interrupt pipe
I'm certainly no authority on this, but I have been fighting with my own
ehci problems for about a month now and I've dug around in the code a lot.
The current ehci driver does not yet have an interrupt pipe. It's on the
"to do" list. (See /sys/dev/usb/ehci.c)
It looks like this device isn't going to work with ehci until somebody
builds an interrupt pipe into the ehci driver.
------------------------------
Message: 12
Date: Fri, 18 Jun 2004 14:38:43 -0700
From: Steve Kargl <sgk@troutmask.apl.washington.edu>
Subject: GEOM panic in today's -current
To: freebsd-current@freebsd.org
Message-ID: <20040618213843.GA77071@troutmask.apl.washington.edu>
Content-Type: text/plain; charset=us-ascii
I'll get whatever info someone wants or needs.
Here, a handwritten trace of the boot-time panic
db> trace
free()
g_slice_free
g_slice_spoiled()
g_bsd_taste()
g_new_provider_event()
one_event()
g_run_events()
g_event_procbody()
fork_exit()
fork_trampoline
db> call doadump
Dumping 511 MB
Dump failed. Partition too small.
The dump partition is 1 GB in size, but it is attached
to the ATA controller. The panic occurs during the
the probing of the acd0. See dmesg from previous
kernel below.
--
Steve
Copyright (c) 1992-2004 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD 5.2-CURRENT #0: Tue Apr 20 12:04:35 PDT 2004
root@dhcp-78-74.apl.washington.edu:/usr/obj/usr/src/sys/MOBILE
Preloaded elf kernel "/boot/kernel.old/kernel" at 0xc07d8000.
Preloaded elf module "/boot/kernel.old/vesa.ko" at 0xc07d81d0.
Preloaded elf module "/boot/kernel.old/snd_pcm.ko" at 0xc07d8280.
Preloaded elf module "/boot/kernel.old/snd_ich.ko" at 0xc07d8330.
Preloaded elf module "/boot/kernel.old/agp.ko" at 0xc07d83e0.
Preloaded elf module "/boot/kernel.old/radeon.ko" at 0xc07d848c.
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Mobile Intel(R) Pentium(R) 4 - M CPU 2.00GHz (1994.12-MHz 686-class CPU)
Origin = "GenuineIntel" Id = 0xf27 Stepping = 7
Features=0xbfebf9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV
,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
real memory = 536748032 (511 MB)
avail memory = 519688192 (495 MB)
random: <entropy source, Software, Yarrow>
Pentium Pro MTRR support enabled
VESA: v2.0, 16384k memory, flags:0x1, mode table:0xc0780a22 (1000022)
VESA: ATI MOBILITY RADEON 7500
acpi0: <DELL CPi R > on motherboard
acpi0: [GIANT-LOCKED]
pcibios: BIOS version 2.10
Found $PIR table, 11 entries at 0xc00fbb90
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0
acpi_cpu0: <CPU> on acpi0
acpi_tz0: <Thermal Zone> on acpi0
acpi_acad0: <AC Adapter> on acpi0
acpi_cmbat0: <Control Method Battery> on acpi0
acpi_cmbat1: <Control Method Battery> on acpi0
acpi_lid0: <Control Method Lid Switch> on acpi0
acpi_button0: <Power Button> on acpi0
acpi_button1: <Sleep Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
pcib0: slot 29 INTA is routed to irq 11
pcib0: slot 31 INTB is routed to irq 11
pcib0: slot 31 INTB is routed to irq 11
agp0: <Intel 82845 host to AGP bridge> mem 0xe8000000-0xebffffff at device 0.0
on pci0
agp0: Reserved 0x4000000 bytes for rid 0x10 type 3 at 0xe8000000
pcib1: <ACPI PCI-PCI bridge> at device 1.0 on pci0
pci1: <ACPI PCI bus> on pcib1
pcib1: slot 0 INTA is routed to irq 11
drm0: <ATI Radeon LW Mobility 7500 M7> port 0xc000-0xc0ff mem 0xfcff0000-0xfcf
fffff,0xe0000000-0xe7ffffff irq 11 at device 0.0 on pci1
info: [drm] AGP at 0xe8000000 64MB
info: [drm] Initialized radeon 1.10.0 20020828 on minor 0
uhci0: <Intel 82801CA/CAM (ICH3) USB controller USB-A> port 0xbf80-0xbf9f irq
11 at device 29.0 on pci0
uhci0: Reserved 0x20 bytes for rid 0x20 type 4 at 0xbf80
uhci0: [GIANT-LOCKED]
usb0: <Intel 82801CA/CAM (ICH3) 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
pcib2: <ACPI PCI-PCI bridge> at device 30.0 on pci0
pci2: <ACPI PCI bus> on pcib2
pcib2: slot 0 INTA is routed to irq 11
xl0: <3Com 3c905C-TX Fast Etherlink XL> port 0xec80-0xecff mem 0xf8fffc00-0xf8
fffc7f irq 11 at device 0.0 on pci2
xl0: Reserved 0x80 bytes for rid 0x14 type 3 at 0xf8fffc00
miibus0: <MII bus> on xl0
ukphy0: <Generic IEEE 802.3u media interface> on miibus0
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
xl0: Ethernet address: 00:08:74:99:7c:c5
xl0: [GIANT-LOCKED]
cbb0: <TI1420 PCI-CardBus Bridge> at device 1.0 on pci2
cbb0: Lazy allocation of 0x1000 bytes rid 0x10 type 3 at 0xf4000000
cardbus0: <CardBus bus> on cbb0
pccard0: <16-bit PCCard bus> on cbb0
pcib2: slot 1 INTA is routed to irq 11
cbb1: <TI1420 PCI-CardBus Bridge> at device 1.1 on pci2
cbb1: Lazy allocation of 0x1000 bytes rid 0x10 type 3 at 0xf4001000
cardbus1: <CardBus bus> on cbb1
pccard1: <16-bit PCCard bus> on cbb1
pcib2: slot 1 INTA is routed to irq 11
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel ICH3 UDMA100 controller> port 0xbfa0-0xbfaf,0x374-0x377,0x170-
0x177,0x3f4-0x3f7,0x1f0-0x1f7 at device 31.1 on pci0
atapci0: Reserved 0x10 bytes for rid 0x20 type 4 at 0xbfa0
atapci0: Reserved 0x8 bytes for rid 0x10 type 4 at 0x1f0
atapci0: Reserved 0x4 bytes for rid 0x14 type 4 at 0x3f4
ata0: at 0x1f0 irq 14 on atapci0
atapci0: Reserved 0x8 bytes for rid 0x18 type 4 at 0x170
atapci0: Reserved 0x4 bytes for rid 0x1c type 4 at 0x374
ata1: at 0x170 irq 15 on atapci0
pcm0: <Intel ICH3 (82801CA)> port 0xdc80-0xdcbf,0xd800-0xd8ff irq 11 at device
31.5 on pci0
pcm0: Reserved 0x100 bytes for rid 0x10 type 4 at 0xd800
pcm0: Reserved 0x40 bytes for rid 0x14 type 4 at 0xdc80
pcm0: [GIANT-LOCKED]
pcm0: <Cirrus Logic CS4205 AC97 Codec>
pci0: <simple comms> at device 31.6 (no driver attached)
atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: model Generic PS/2 mouse, device ID 0
fdc0: cannot reserve I/O port range (1 ports)
sio0 port 0x3f8-0x3ff irq 4 on acpi0
sio0: type 16550A
ppc0 port 0x778-0x77b,0x378-0x37f irq 7 drq 3 on acpi0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/8 bytes threshold
ppbus0: <Parallel port bus> on ppc0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
fdc0: cannot reserve I/O port range (1 ports)
cpu0 on motherboard
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
pmtimer0 on isa0
orm0: <Option ROMs> at iomem 0xcf800-0xcffff,0xcf000-0xcf7ff,0xc0000-0xcefff o
n isa0
sc0: <System console> on isa0
sc0: VGA <8 virtual consoles, flags=0x200>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
fdc0: cannot reserve I/O port range (6 ports)
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
Timecounter "TSC" frequency 1994122768 Hz quality 800
Timecounters tick every 10.000 msec
acpi_cpu: throttling enabled, 8 steps (100% to 12.5%), currently 100.0%
ad0: 38154MB <IC25N040ATCS05-0> [77520/16/63] at ata0-master UDMA100
The panic occurs at this point.
ata1-slave: FAILURE - ATAPI_IDENTIFY no interrupt
ata1-slave: FAILURE - ATAPI_IDENTIFY no interrupt
acd0: DVDROM <HL-DT-STDVD-ROM GDR8081N> at ata1-master WDMA2
Mounting root from ufs:/dev/ad0s3a
------------------------------
Message: 13
Date: Sat, 19 Jun 2004 01:49:22 +0400
From: AK <lesha@intercaf.ru>
Subject: Re: USB2 weirdness (continued)
To: freebsd-current@freebsd.org
Cc: Julian Elischer <julian@elischer.org>
Message-ID: <200406190149.22881.lesha@intercaf.ru>
Content-Type: text/plain; charset="iso-8859-1"
Well, support for USB 2.0 hubs is not my main problem with EHCI
So far I have not made any success in connecting any 2.0 devices
at all. Here are kernel messages with all USB debug stuff enabled.
Here I try to connect USB 2.0 external HDD enclosure (Agrosy brand)
I wonder where the problem could be.
Cheers,
AL.
ehci_pcd: change=0x02
uhub_explore: status change hub=1 port=1
ehci after reset, status=0x00001005
ehci port 1 reset, status = 0x00001005
usbd_new_device bus=0xc1a4c800 port=1 depth=1 speed=3
usbd_new_device: adding unit addr=2, rev=200, class=0, subclass=0, protocol=0,
maxpacket=64, len=18, speed=3
ehci_timeout: exfer=0xc1a27700
ehci_timeout_task: xfer=0xc1a27700
ehci_abort_xfer: xfer=0xc1a27700 pipe=0xc2240b80
ehci_intr1: door bell
ehci_idone: aborted xfer=0xc1a27700
ehci_timeout: exfer=0xc1a27700
ehci_timeout_task: xfer=0xc1a27700
ehci_abort_xfer: xfer=0xc1a27700 pipe=0xc2240b80
ehci_intr1: door bell
usbd_new_device: new dev (addr 2), dev=0xc2240c80, parent=0xc1a2b000
usbd_probe_and_attach: trying device specific drivers
usbd_probe_and_attach: no device specific driver found
usbd_probe_and_attach: looping over 1 configurations
ehci_timeout: exfer=0xc1a27700
ehci_timeout_task: xfer=0xc1a27700
ehci_abort_xfer: xfer=0xc1a27700 pipe=0xc2240b80
ehci_intr1: door bell
ehci_idone: aborted xfer=0xc1a27700
uhub3: port 1, set config at addr 2 failed, error=TIMEOUT
usbd_remove_device: 0xc2240c80
ehci_device_ctrl_close: pipe=0xc2240b80
ehci_intr1: door bell
uhub_explore: usb_new_device failed, error=TIMEOUT
uhub3: device problem, disabling port 1
------------------------------
Message: 14
Date: Fri, 18 Jun 2004 14:54:53 -0700
From: Steve Kargl <sgk@troutmask.apl.washington.edu>
Subject: Re: GEOM panic in today's -current
To: freebsd-current@freebsd.org
Message-ID: <20040618215453.GA77157@troutmask.apl.washington.edu>
Content-Type: text/plain; charset=us-ascii
On Fri, Jun 18, 2004 at 02:38:43PM -0700, Steve Kargl wrote:
> I'll get whatever info someone wants or needs.
> Here, a handwritten trace of the boot-time panic
>
> db> trace
> free()
> g_slice_free
> g_slice_spoiled()
> g_bsd_taste()
> g_new_provider_event()
> one_event()
> g_run_events()
> g_event_procbody()
> fork_exit()
> fork_trampoline
>
More info. If I set hint.acpi.0.disabled="1", then the
new kernel boots. So, the problem may actually lie in
ACPI.
> acpi_cpu: throttling enabled, 8 steps (100% to 12.5%), currently 100.0%
> ad0: 38154MB <IC25N040ATCS05-0> [77520/16/63] at ata0-master UDMA100
> ata1-slave: FAILURE - ATAPI_IDENTIFY no interrupt
> ata1-slave: FAILURE - ATAPI_IDENTIFY no interrupt
> acd0: DVDROM <HL-DT-STDVD-ROM GDR8081N> at ata1-master WDMA2
Also, the panic occurs here, as I had it in my previous email.
> Mounting root from ufs:/dev/ad0s3a
--
Steve
------------------------------
Message: 15
Date: Fri, 18 Jun 2004 15:12:36 -0700
From: "Grover Lines" <grover@ceribus.net>
Subject: Re: Stack backtrace
To: <freebsd-current@freebsd.org>
Cc: robert@fledge.watson.org
Message-ID: <20040618221256.09E1343D48@mx1.FreeBSD.org>
Content-Type: text/plain; charset="us-ascii"
I was reinstalling cvsup when the backtraces occurred. It caused a few but
it seems it keeps doing them after it was done installing. Iv'e attached my
Verbose dmesg and a part of my message log with the errors.
Sorry it took so long to get back to you
> On Fri, 18 Jun 2004, Grover Lines wrote:
>
> > I've been having some problems with cvsup corruption and haven't
> > been able to trace it to the source so I decided to recompile my
> > kernel with all GENERIC options and debugging to see if it was
> > something that I had changed that caused the problem. I'm not sure
> > what this means but it popped up during the build of cvsup.
> >
> > Is this a possible source of my problem or is this something not to
> > worry about?
>
> This is unlikely to be the cause of the problem you're experiencing,
> but it's also not something to be ignored. Basically, we're grabbing
> the inpcb lock over a potentially blocking memory allocation, which is
> a Bad Thing (tm). However, it's a non-trivial fix because it requires
> some code plumbing. I'll work up a patch and see what I can do, but
> it sounds like you need to keep looking to find the problem that's
> actually causing it.
Also, do you have any idea what application it was you used that triggered
this message?
>
> Robert N M Watson FreeBSD Core Team, TrustedBSD Projects
> robert@fledge.watson.org Senior Research Scientist, McAfee Research
>
>
> >
> > malloc(M_WAITOK) of "Mbuf", forcing M_NOWAIT with the following
> > non-sleepable locks held:
> > exclusive sleep mutex inp (tcpinp) r = 0 (0xc1d17bd0) locked @
> > /usr/src/sys/netinet/tcp_usrreq.c:1037
> > Stack backtrace:
> > witness_warn(5,0,c08db91d,c08c1095,c08c5805) at witness_warn+0x194
> > uma_zalloc_arg(c1021b00,d6b19c0c,2,c066635e,0) at
> > uma_zalloc_arg+0x50
> > ip_ctloutput(c284213c,d6b19cb8,c08ce5cb,40e,c1d17bd0) at
> > ip_ctloutput+0x9b
> > tcp_ctloutput(c284213c,d6b19cb8,0,0,0) at tcp_ctloutput+0xad
> > sosetopt(c284213c,d6b19cb8,d6b19cb4,0,c284213c) at sosetopt+0x48
> > setsockopt(c1d4ddc0,d6b19d14,14,d6b19d48,5) at setsockopt+0xd4
> > syscall(2f,2f,2f,281a6920,3) at syscall+0x12f
> > Xint0x80_syscall() at Xint0x80_syscall+0x1f
> > --- syscall (105), eip = 0x28108fef, esp = 0xbfbfe91c, ebp =
> > 0xbfbfe948 ---
-------------- next part --------------
A non-text attachment was scrubbed...
Name: messages
Type: application/octet-stream
Size: 36949 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20040618/
42f1d09f/messages.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: verbose
Type: application/octet-stream
Size: 36707 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20040618/
42f1d09f/verbose.obj
------------------------------
_______________________________________________
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 19
***********************************************
--
[35mEvariste Galois[m:
[33m�����呛��樱������蔷������,����直前......[m
[m[32m�� ��源:������� bbs.ustc.edu.cn��[FROM: 210.45.72.234][m