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: calcru: negative time ... followed by freeze
(j.e.drews@att.net)
2. Re: calcru: negative time ... followed by freeze (Julian Elischer)
3. Re: calcru: negative time ... followed by freeze (Bjoern A. Zeeb)
4. top in jails.. (Eirik Oeverby)
5. Re: top in jails.. (Eirik Oeverby)
6. Re: calcru: negative time ... followed by freeze (Julian Elischer)
7. problems with cvsup (Grover Lines)
8. New preview patch for ipfw to pfil_hooks conversion
(Andre Oppermann)
9. cvs-src summary for June 14-21 (Mark Johnston)
10. Re: read vs. mmap (or io vs. page faults) (Dan Nelson)
11. Re: hang after "Shutting down ACPI" (Don Lewis)
12. Re: read vs. mmap (or io vs. page faults) (Matthew Dillon)
13. Re: problems with cvsup (Robert Watson)
14. _<service> users [Was: startup error for pflogd] (Max Laier)
15. Re: 5.2.1 boot question (Doug White)
16. Re: dell usb keyboard not attached to console by default on
P4C800-E (Doug White)
17. Re: read vs. mmap (or io vs. page faults) (Matthew Dillon)
18. Re: _<service> users [Was: startup error for pflogd]
(Michael Reifenberger)
----------------------------------------------------------------------
Message: 1
Date: Mon, 21 Jun 2004 19:57:34 +0000
From: j.e.drews@att.net
Subject: Re: calcru: negative time ... followed by freeze
To: Robert Watson <rwatson@FreeBSD.org>
Cc: current@freebsd.org
Message-ID:
<062120041957.288.40D73DAE00021BC50000012021602813029C990A9D0BD20AD206@att.ne
t>
FreeBSD CURRENT from 21 Jun 2004
Compiled with -O -pipe
Hey:
I get this calcru also when running top. Within 30 seconds it will print a me
ssage to the effect that calcru has negative time. It happened when I was buil
ding ports simultaneously. I ignored it because I thought my clock had slowed
down.
-------------- Original message from Robert Watson : --------------
>
> I've now seen the following scenario happen several times in the last few
> days while doing testing and benchmarking: I run a multi-threaded test,
> such as super-smack, that causes a moderately high system load. I then
> hit Ctrl-T
> Has anyone else seen this?
------------------------------
Message: 2
Date: Mon, 21 Jun 2004 13:09:30 -0700 (PDT)
From: Julian Elischer <julian@elischer.org>
Subject: Re: calcru: negative time ... followed by freeze
To: Don Lewis <truckman@FreeBSD.org>
Cc: threads@FreeBSD.org
Message-ID:
<Pine.BSF.4.21.0406211309030.39567-100000@InterJet.elischer.org>
Content-Type: TEXT/PLAIN; charset=US-ASCII
On Mon, 21 Jun 2004, Don Lewis wrote:
> On 21 Jun, Bruce Evans wrote:
> > On Mon, 21 Jun 2004, Don Lewis wrote:
>
> >> It also looks like a bug that a zombie remains in the [running] state
> >> and thus looks interesting to ttyinfo().
> >
> > I think it isn't really running. ttyinfo() should pick it if it is the
> > only process the terminal. ttyinfo() does pick it for the zombie in the
> > test program in the PR, and reports that it is running, but ps reports
> > it correctly as a zomble.
>
> ttyinfo() prints "[running]" if TD_IS_RUNNING(td) is true. I think the
> problem is that thread_exit() doesn't set td_state to TDS_INACTIVE if
> the process only has one thread.
thanks.. I'll fix that...
julian
> _______________________________________________
> 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: 3
Date: Mon, 21 Jun 2004 20:09:30 +0000 (UTC)
From: "Bjoern A. Zeeb" <bzeeb-lists@lists.zabbadoz.net>
Subject: Re: calcru: negative time ... followed by freeze
To: FreeBSD current mailing list <current@freebsd.org>
Message-ID:
<Pine.BSF.4.53.0406212007470.57669@e0-0.zab2.int.zabbadoz.net>
Content-Type: TEXT/PLAIN; charset=US-ASCII
On Mon, 21 Jun 2004, Bruce Evans wrote:
> The bug seems to be unrelated to KSE. It is related to SMP. RELENG_4 has
> the bug, and pre-KSE versions have a proc state that indicates if we have
> a running process which can't be handled right.
I just wonder if for RELENG_4 it is the follwoing problem
(other error message) ?
http://www.freebsd.org/cgi/query-pr.cgi?pr=43491
--
Bjoern A. Zeeb bzeeb at Zabbadoz dot NeT
------------------------------
Message: 4
Date: Mon, 21 Jun 2004 22:32:13 +0200
From: Eirik Oeverby <ltning@anduin.net>
Subject: top in jails..
To: current@freebsd.org
Message-ID: <40D745CD.1030106@anduin.net>
Content-Type: text/plain; charset=us-ascii; format=flowed
Hi,
I remember top used to work at some point (not sure which, though), but
now it hasn't for a while. Updated to 4.10 today, and still no go.
Anyone know if this is a big deal to fix/enable, and if it'll ever be
done on 4.x?
Thanks,
/Eirik
------------------------------
Message: 5
Date: Mon, 21 Jun 2004 22:37:55 +0200
From: Eirik Oeverby <ltning@anduin.net>
Subject: Re: top in jails..
To: current@freebsd.org
Message-ID: <40D74723.8000304@anduin.net>
Content-Type: text/plain; charset=us-ascii; format=flowed
Dang, posted to wrong list. Sorry.
/Eirik
Eirik Oeverby wrote:
> Hi,
>
> I remember top used to work at some point (not sure which, though), but
> now it hasn't for a while. Updated to 4.10 today, and still no go.
>
> Anyone know if this is a big deal to fix/enable, and if it'll ever be
> done on 4.x?
>
> Thanks,
> /Eirik
>
> _______________________________________________
> 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: 6
Date: Mon, 21 Jun 2004 13:44:36 -0700 (PDT)
From: Julian Elischer <julian@elischer.org>
Subject: Re: calcru: negative time ... followed by freeze
To: Don Lewis <truckman@FreeBSD.org>
Cc: threads@FreeBSD.org
Message-ID:
<Pine.BSF.4.21.0406211344150.39567-100000@InterJet.elischer.org>
Content-Type: TEXT/PLAIN; charset=US-ASCII
On Mon, 21 Jun 2004, Don Lewis wrote:
> On 21 Jun, Bruce Evans wrote:
> > On Mon, 21 Jun 2004, Don Lewis wrote:
>
> >> It also looks like a bug that a zombie remains in the [running] state
> >> and thus looks interesting to ttyinfo().
> >
> > I think it isn't really running. ttyinfo() should pick it if it is the
> > only process the terminal. ttyinfo() does pick it for the zombie in the
> > test program in the PR, and reports that it is running, but ps reports
> > it correctly as a zomble.
>
> ttyinfo() prints "[running]" if TD_IS_RUNNING(td) is true. I think the
> problem is that thread_exit() doesn't set td_state to TDS_INACTIVE if
> the process only has one thread.
fixed..
thanks
------------------------------
Message: 7
Date: Mon, 21 Jun 2004 14:07:56 -0700
From: "Grover Lines" <grover@ceribus.net>
Subject: problems with cvsup
To: <freebsd-current@freebsd.org>
Message-ID: <20040621210756.EB5E543D4C@mx1.FreeBSD.org>
Content-Type: text/plain; charset="us-ascii"
TreeList failed: Network write failure: Connection closed
I still continue to get these errors when using cvsup in CURRENT, so I
formatted my system and installed 4.7RC2 (was the nearest full distro laying
around) Cvsup worked fine with it.
I've tried using different nic cards, new cables, different ports on the hub
or router, different sup servers, ran Memtest86+, about 15 cpu burns going
at one time, installed it from packages, used a different hard drive, ran
fsck many times, using latest bios, installed it from ports with no compile
flags, system isn't overclocked, tried it in safe mode, on and on.
So after saying all that I'm wondering what the best way to debug the
process would be for a semi knowledgeable person, so I can find out if its
some freak compatability issue with my motherboard or whatever. I know it
isn't the network or network cards. I'm just frustrated and determined and I
don't know how to find where the corruption is occurring.
hellhound# cvsup -g -L 2 main-supfile
Parsing supfile "main-supfile"
Connecting to cvsup1.FreeBSD.org
Connected to cvsup1.FreeBSD.org
Server software version: SNAP_16_1e
Negotiating file attribute support
Exchanging collection information
Establishing multiplexed-mode data connection
Running
Updating collection src-all/cvs
TreeList failed: Network write failure: Connection closed
Any help would be much appreciated
hellhound# netstat -s
tcp:
841 packets sent
570 data packets (339537 bytes)
0 data packets (0 bytes) retransmitted
0 data packets unnecessarily retransmitted
0 resends initiated by MTU discovery
211 ack-only packets (122 delayed)
0 URG only packets
0 window probe packets
8 window update packets
52 control packets
914 packets received
528 acks (for 314456 bytes)
12 duplicate acks
0 acks for unsent data
637 packets (168860 bytes) received in-sequence
0 completely duplicate packets (0 bytes)
0 old duplicate packets
0 packets with some dup. data (0 bytes duped)
6 out-of-order packets (4280 bytes)
0 packets (0 bytes) of data after window
0 window probes
4 window update packets
0 packets received after close
0 discarded for bad checksums
0 discarded for bad header offset fields
0 discarded because packet too short
20 connection requests
27 connection accepts
0 bad connection attempts
0 listen queue overflows
0 ignored RSTs in the windows
46 connections established (including accepts)
52 connections closed (including 32 drops)
14 connections updated cached RTT on close
14 connections updated cached RTT variance on close
0 connections updated cached ssthresh on close
0 embryonic connections dropped
495 segments updated rtt (of 505 attempts)
0 retransmit timeouts
0 connections dropped by rexmit timeout
0 persist timeouts
0 connections dropped by persist timeout
0 keepalive timeouts
0 keepalive probes sent
0 connections dropped by keepalive
9 correct ACK header predictions
256 correct data packet header predictions
27 syncache entries added
0 retransmitted
0 dupsyn
0 dropped
27 completed
0 bucket overflow
0 cache overflow
0 reset
0 stale
0 aborted
0 badack
0 unreach
0 zone failures
0 cookies sent
0 cookies received
udp:
1093 datagrams received
0 with incomplete header
0 with bad data length field
0 with bad checksum
0 with no checksum
4 dropped due to no socket
0 broadcast/multicast datagrams dropped due to no socket
0 dropped due to full socket buffers
0 not for hashed pcb
1089 delivered
1105 datagrams output
ip:
2056 total packets received
0 bad header checksums
0 with size smaller than minimum
0 with data size < data length
0 with ip length > max ip packet size
0 with header length < data size
0 with data length < header length
0 with bad options
0 with incorrect version number
0 fragments received
0 fragments dropped (dup or out of space)
0 fragments dropped after timeout
0 packets reassembled ok
2045 packets for this host
11 packets for unknown/unsupported protocol
0 packets forwarded (0 packets fast forwarded)
0 packets not forwardable
0 packets received for unknown multicast group
0 redirects sent
2015 packets sent from this host
0 packets sent with fabricated ip header
0 output packets dropped due to no bufs, etc.
0 output packets discarded due to no route
0 output datagrams fragmented
0 fragments created
0 datagrams that can't be fragmented
0 tunneling packets that can't find gif
0 datagrams with bad address in header
icmp:
4 calls to icmp_error
0 errors not generated in response to an icmp message
Output histogram:
destination unreachable: 4
0 messages with bad code fields
0 messages < minimum length
0 bad checksums
0 messages with bad length
0 multicast echo requests ignored
0 multicast timestamp requests ignored
Input histogram:
destination unreachable: 11
0 message responses generated
0 invalid return addresses
0 no return routes
ICMP address mask responses are disabled
igmp:
0 messages received
0 messages received with too few bytes
0 messages received with bad checksum
0 membership queries received
0 membership queries received with invalid field(s)
0 membership reports received
0 membership reports received with invalid field(s)
0 membership reports received for groups to which we belong
0 membership reports sent
hellhound# vmstat
procs memory page disks faults cpu
r b w avm fre flt re pi po fr sr ad0 ad1 in sy cs us sy
id
1 9 0 198332 335164 85 0 0 0 62 0 0 0 340 184 288 2 2
97
hellhound# vmstat -i
interrupt total rate
irq0: clk 141678 99
irq1: atkbd0 2 0
irq8: rtc 181339 127
irq10: sis0 3651 2
irq13: npx0 1 0
irq14: ata0 12064 8
irq15: ata1 73 0
Total 338808 238
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: Sun Jun 20 09:40:31 PDT 2004
root@xxxxxxxxxxx:/usr/obj/usr/src/sys/DOMINATION
Preloaded elf kernel "/boot/kernel/kernel" at 0xc0679000.
Preloaded elf module "/boot/kernel/acpi.ko" at 0xc067926c.
Calibrating clock(s) ... i8254 clock: 1193249 Hz
CLK_USE_I8254_CALIBRATION not specified - using default frequency
Timecounter "i8254" frequency 1193182 Hz quality 0
Calibrating TSC clock ... TSC clock: 1194922399 Hz
CPU: AMD Duron(tm) Processor (1194.92-MHz 686-class CPU)
Origin = "AuthenticAMD" Id = 0x671 Stepping = 1
Features=0x383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,
PAT,PSE36,MMX,FXSR,SSE>
AMD Features=0xc0480000<MP,AMIE,DSP,3DNow!>
Data TLB: 32 entries, fully associative
Instruction TLB: 16 entries, fully associative
L1 data cache: 64 kbytes, 64 bytes/line, 1 lines/tag, 2-way associative
L1 instruction cache: 64 kbytes, 64 bytes/line, 1 lines/tag, 2-way
associative
L2 internal cache: 64 kbytes, 64 bytes/line, 1 lines/tag, 8-way associative
real memory = 536805376 (511 MB)
Physical memory chunk(s):
0x0000000000001000 - 0x000000000009efff, 647168 bytes (158 pages)
0x0000000000100000 - 0x00000000003fffff, 3145728 bytes (768 pages)
0x0000000000826000 - 0x000000001f6bffff, 518627328 bytes (126618 pages)
avail memory = 519802880 (495 MB)
bios32: Found BIOS32 Service Directory header at 0xc00fdad0
bios32: Entry = 0xfdae0 (c00fdae0) Rev = 0 Len = 1
pcibios: PCI BIOS entry at 0xf0000+0xdb01
pnpbios: Found PnP BIOS data at 0xc00f7350
pnpbios: Entry = f0000:5e07 Rev = 1.0
Other BIOS signatures found:
random: <entropy source, Software, Yarrow>
mem: <memory & I/O>
Pentium Pro MTRR support enabled
null: <null device, zero device>
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <AMIINT SiS735XX> on motherboard
acpi0: [GIANT-LOCKED]
pci_open(1): mode 1 addr port (0x0cf8) is 0x80001044
pci_open(1a): mode1res=0x80000000 (0x80000000)
pci_cfgcheck: device 0 [class=060000] [hdr=80] is there (id=07351039)
pcibios: BIOS version 2.10
Found $PIR table, 8 entries at 0xc00f7950
PCI-Only Interrupts: none
Location Bus Device Pin Link IRQs
embedded 0 1 A 0x41 3 4 5 7 10 11 12 14 15
embedded 0 1 B 0x42 3 4 5 7 10 11 12 14 15
embedded 0 1 C 0x43 3 4 5 7 10 11 12 14 15
embedded 0 1 D 0x44 3 4 5 7 10 11 12 14 15
embedded 0 2 A 0x63 3 4 5 7 10 11 12 14 15
embedded 0 2 B 0x42 3 4 5 7 10 11 12 14 15
embedded 0 2 C 0x43 3 4 5 7 10 11 12 14 15
embedded 0 2 D 0x44 3 4 5 7 10 11 12 14 15
embedded 0 3 A 0x62 3 4 5 7 10 11 12 14 15
slot 1 0 9 A 0x41 3 4 5 7 10 11 12 14 15
slot 1 0 9 B 0x42 3 4 5 7 10 11 12 14 15
slot 1 0 9 C 0x43 3 4 5 7 10 11 12 14 15
slot 1 0 9 D 0x44 3 4 5 7 10 11 12 14 15
slot 2 0 11 A 0x42 3 4 5 7 10 11 12 14 15
slot 2 0 11 B 0x43 3 4 5 7 10 11 12 14 15
slot 2 0 11 C 0x44 3 4 5 7 10 11 12 14 15
slot 2 0 11 D 0x41 3 4 5 7 10 11 12 14 15
slot 3 0 13 A 0x43 3 4 5 7 10 11 12 14 15
slot 3 0 13 B 0x44 3 4 5 7 10 11 12 14 15
slot 3 0 13 C 0x41 3 4 5 7 10 11 12 14 15
slot 3 0 13 D 0x42 3 4 5 7 10 11 12 14 15
slot 4 0 15 A 0x44 3 4 5 7 10 11 12 14 15
slot 4 0 15 B 0x41 3 4 5 7 10 11 12 14 15
slot 4 0 15 C 0x42 3 4 5 7 10 11 12 14 15
slot 4 0 15 D 0x43 3 4 5 7 10 11 12 14 15
slot 5 0 17 A 0x42 3 4 5 7 10 11 12 14 15
slot 5 0 17 B 0x43 3 4 5 7 10 11 12 14 15
slot 5 0 17 C 0x44 3 4 5 7 10 11 12 14 15
slot 5 0 17 D 0x41 3 4 5 7 10 11 12 14 15
AcpiOsDerivePciId: bus 0 dev 2 func 0
AcpiOsDerivePciId: bus 0 dev 2 func 0
acpi0: Power Button (fixed)
atpic: Programming IRQ9 as level/low
ACPI timer looks GOOD min = 1, max = 2, width = 1
Jun 21 13:24:50 hellhound last message repeated 9 times
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
AcpiOsDerivePciId: bus 0 dev 0 func 0
atpic: Ignoring invalid level/low configuration for IRQ0
Jun 21 13:24:50 hellhound last message repeated 5 times
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0
unknown: not probed (disabled)
unknown: not probed (disabled)
cpu0: <ACPI CPU (3 Cx states)> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
ACPI PCI link initial configuration:
\_SB_.LNKA irq 0: [ 3 4 5 7 10 11 12 14 15] 0.1.0
\_SB_.LNKB irq 11: [ 3 4 5 7 10 11 12 14 15] 0.1.1
\_SB_.LNKC irq 0: [ 3 4 5 7 10 11 12 14 15] 0.1.2
\_SB_.LNKD irq 0: [ 3 4 5 7 10 11 12 14 15] 0.1.3
\_SB_.LNKH irq 0: [ 3 4 5 7 10 11 12 14 15] 0.2.0
\_SB_.LNKB irq 11: [ 3 4 5 7 10 11 12 14 15] 0.2.1
\_SB_.LNKC irq 0: [ 3 4 5 7 10 11 12 14 15] 0.2.2
\_SB_.LNKD irq 0: [ 3 4 5 7 10 11 12 14 15] 0.2.3
\_SB_.LNKG irq 10: [ 3 4 5 7 10 11 12 14 15] 0.3.0
\_SB_.LNKA irq 0: [ 3 4 5 7 10 11 12 14 15] 0.9.0
\_SB_.LNKB irq 11: [ 3 4 5 7 10 11 12 14 15] 0.9.1
\_SB_.LNKC irq 0: [ 3 4 5 7 10 11 12 14 15] 0.9.2
\_SB_.LNKD irq 0: [ 3 4 5 7 10 11 12 14 15] 0.9.3
\_SB_.LNKB irq 11: [ 3 4 5 7 10 11 12 14 15] 0.11.0
\_SB_.LNKC irq 0: [ 3 4 5 7 10 11 12 14 15] 0.11.1
\_SB_.LNKD irq 0: [ 3 4 5 7 10 11 12 14 15] 0.11.2
\_SB_.LNKA irq 0: [ 3 4 5 7 10 11 12 14 15] 0.11.3
\_SB_.LNKC irq 0: [ 3 4 5 7 10 11 12 14 15] 0.13.0
\_SB_.LNKD irq 0: [ 3 4 5 7 10 11 12 14 15] 0.13.1
\_SB_.LNKA irq 0: [ 3 4 5 7 10 11 12 14 15] 0.13.2
\_SB_.LNKB irq 11: [ 3 4 5 7 10 11 12 14 15] 0.13.3
\_SB_.LNKD irq 0: [ 3 4 5 7 10 11 12 14 15] 0.15.0
\_SB_.LNKA irq 0: [ 3 4 5 7 10 11 12 14 15] 0.15.1
\_SB_.LNKB irq 11: [ 3 4 5 7 10 11 12 14 15] 0.15.2
\_SB_.LNKC irq 0: [ 3 4 5 7 10 11 12 14 15] 0.15.3
\_SB_.LNKB irq 11: [ 3 4 5 7 10 11 12 14 15] 0.17.0
\_SB_.LNKC irq 0: [ 3 4 5 7 10 11 12 14 15] 0.17.1
\_SB_.LNKD irq 0: [ 3 4 5 7 10 11 12 14 15] 0.17.2
\_SB_.LNKA irq 0: [ 3 4 5 7 10 11 12 14 15] 0.17.3
ACPI PCI link before setting link priority:
\_SB_.LNKA:
interrupts: 3 4 5 7 10 11 12 14 15
penalty: 1210 1210 210 1210 310 910 1210 10210 10210
references: 6
priority: 0
\_SB_.LNKC:
interrupts: 3 4 5 7 10 11 12 14 15
penalty: 1210 1210 210 1210 310 910 1210 10210 10210
references: 7
priority: 0
\_SB_.LNKD:
interrupts: 3 4 5 7 10 11 12 14 15
penalty: 1210 1210 210 1210 310 910 1210 10210 10210
references: 7
priority: 0
\_SB_.LNKH:
interrupts: 3 4 5 7 10 11 12 14 15
penalty: 1210 1210 210 1210 310 910 1210 10210 10210
references: 1
priority: 0
ACPI PCI link before fixup for boot-disabled links:
\_SB_.LNKC:
interrupts: 3 4 5 7 10 11 12 14 15
penalty: 1210 1210 210 1210 310 910 1210 10210 10210
references: 7
priority: 20758
\_SB_.LNKD:
interrupts: 3 4 5 7 10 11 12 14 15
penalty: 1210 1210 210 1210 310 910 1210 10210 10210
references: 7
priority: 20758
\_SB_.LNKA:
interrupts: 3 4 5 7 10 11 12 14 15
penalty: 1210 1210 210 1210 310 910 1210 10210 10210
references: 6
priority: 17793
\_SB_.LNKH:
interrupts: 3 4 5 7 10 11 12 14 15
penalty: 1210 1210 210 1210 310 910 1210 10210 10210
references: 1
priority: 2965
ACPI PCI link after fixup for boot-disabled links:
\_SB_.LNKC:
interrupts: 5 10 11 12 7 4 3 15 14
penalty: 210 310 910 1210 1210 1210 1210 10210 10210
references: 7
priority: 20758
\_SB_.LNKD:
interrupts: 5 10 11 12 7 4 3 15 14
penalty: 210 310 910 1210 1210 1210 1210 10210 10210
references: 7
priority: 20758
\_SB_.LNKA:
interrupts: 5 10 11 12 7 4 3 15 14
penalty: 210 310 910 1210 1210 1210 1210 10210 10210
references: 6
priority: 17793
\_SB_.LNKH:
interrupts: 5 10 11 12 7 4 3 15 14
penalty: 210 310 910 1210 1210 1210 1210 10210 10210
references: 1
priority: 2965
ACPI PCI link arbitrated configuration:
\_SB_.LNKA irq 0: [ 3 4 5 7 10 11 12 14 15] 0.1.0
\_SB_.LNKB irq 11: [ 3 4 5 7 10 11 12 14 15] 0.1.1
\_SB_.LNKC irq 0: [ 3 4 5 7 10 11 12 14 15] 0.1.2
\_SB_.LNKD irq 0: [ 3 4 5 7 10 11 12 14 15] 0.1.3
\_SB_.LNKH irq 0: [ 3 4 5 7 10 11 12 14 15] 0.2.0
\_SB_.LNKB irq 11: [ 3 4 5 7 10 11 12 14 15] 0.2.1
\_SB_.LNKC irq 0: [ 3 4 5 7 10 11 12 14 15] 0.2.2
\_SB_.LNKD irq 0: [ 3 4 5 7 10 11 12 14 15] 0.2.3
\_SB_.LNKG irq 10: [ 3 4 5 7 10 11 12 14 15] 0.3.0
\_SB_.LNKA irq 0: [ 3 4 5 7 10 11 12 14 15] 0.9.0
\_SB_.LNKB irq 11: [ 3 4 5 7 10 11 12 14 15] 0.9.1
\_SB_.LNKC irq 0: [ 3 4 5 7 10 11 12 14 15] 0.9.2
\_SB_.LNKD irq 0: [ 3 4 5 7 10 11 12 14 15] 0.9.3
\_SB_.LNKB irq 11: [ 3 4 5 7 10 11 12 14 15] 0.11.0
\_SB_.LNKC irq 0: [ 3 4 5 7 10 11 12 14 15] 0.11.1
\_SB_.LNKD irq 0: [ 3 4 5 7 10 11 12 14 15] 0.11.2
\_SB_.LNKA irq 0: [ 3 4 5 7 10 11 12 14 15] 0.11.3
\_SB_.LNKC irq 0: [ 3 4 5 7 10 11 12 14 15] 0.13.0
\_SB_.LNKD irq 0: [ 3 4 5 7 10 11 12 14 15] 0.13.1
\_SB_.LNKA irq 0: [ 3 4 5 7 10 11 12 14 15] 0.13.2
\_SB_.LNKB irq 11: [ 3 4 5 7 10 11 12 14 15] 0.13.3
\_SB_.LNKD irq 0: [ 3 4 5 7 10 11 12 14 15] 0.15.0
\_SB_.LNKA irq 0: [ 3 4 5 7 10 11 12 14 15] 0.15.1
\_SB_.LNKB irq 11: [ 3 4 5 7 10 11 12 14 15] 0.15.2
\_SB_.LNKC irq 0: [ 3 4 5 7 10 11 12 14 15] 0.15.3
\_SB_.LNKB irq 11: [ 3 4 5 7 10 11 12 14 15] 0.17.0
\_SB_.LNKC irq 0: [ 3 4 5 7 10 11 12 14 15] 0.17.1
\_SB_.LNKD irq 0: [ 3 4 5 7 10 11 12 14 15] 0.17.2
\_SB_.LNKA irq 0: [ 3 4 5 7 10 11 12 14 15] 0.17.3
pci0: <ACPI PCI bus> on pcib0
pci0: physical bus=0
map[10]: type 1, range 32, base d0000000, size 22, enabled
found-> vendor=0x1039, dev=0x0735, revid=0x01
bus=0, slot=0, func=0
class=06-00-00, hdrtype=0x00, mfdev=1
cmdreg=0x0007, statreg=0x2210, cachelnsz=0 (dwords)
lattimer=0x20 (960 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
found-> vendor=0x1039, dev=0x0001, revid=0x00
bus=0, slot=1, func=0
class=06-04-00, hdrtype=0x01, mfdev=0
cmdreg=0x0106, statreg=0x0000, cachelnsz=0 (dwords)
lattimer=0x40 (1920 ns), mingnt=0x02 (500 ns), maxlat=0x00 (0 ns)
found-> vendor=0x1039, dev=0x0008, revid=0x00
bus=0, slot=2, func=0
class=06-01-00, hdrtype=0x00, mfdev=1
cmdreg=0x000f, statreg=0x0200, cachelnsz=0 (dwords)
lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
map[20]: type 4, range 32, base 0000ff00, size 4, enabled
found-> vendor=0x1039, dev=0x5513, revid=0xd0
bus=0, slot=2, func=5
class=01-01-80, hdrtype=0x00, mfdev=1
cmdreg=0x0005, statreg=0x0000, cachelnsz=0 (dwords)
lattimer=0x80 (3840 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
map[10]: type 4, range 32, base 0000dc00, size 8, enabled
map[14]: type 1, range 32, base cfddd000, size 12, enabled
pcib0: matched entry for 0.3.INTA (src \_SB_.LNKG)
pcib0: slot 3 INTA is routed to irq 10
found-> vendor=0x1039, dev=0x0900, revid=0x90
bus=0, slot=3, func=0
class=02-00-00, hdrtype=0x00, mfdev=0
cmdreg=0x0107, statreg=0x0290, cachelnsz=0 (dwords)
lattimer=0x40 (1920 ns), mingnt=0x34 (13000 ns), maxlat=0x0b (2750 ns)
intpin=a, irq=10
powerspec 2 supports D0 D1 D2 D3 current D0
map[10]: type 1, range 32, base cfe00000, size 21, enabled
map[14]: type 1, range 32, base cfdf0000, size 16, enabled
pcib0: matched entry for 0.11.INTA (src \_SB_.LNKB)
pcib0: slot 11 INTA is routed to irq 11
found-> vendor=0x1023, dev=0x9440, revid=0xe3
bus=0, slot=11, func=0
class=03-00-00, hdrtype=0x00, mfdev=0
cmdreg=0x0003, statreg=0x0280, cachelnsz=0 (dwords)
lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
intpin=a, irq=11
pcib1: <PCI-PCI bridge> at device 1.0 on pci0
pcib1: secondary bus 1
pcib1: subordinate bus 1
pcib1: I/O decode 0x0-0x0
pcib1: memory decode 0xcda00000-0xcdafffff
pcib1: prefetched decode 0xcd800000-0xcd8fffff
pci1: <PCI bus> on pcib1
pci1: physical bus=1
isab0: <PCI-ISA bridge> at device 2.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <SiS 735 UDMA100 controller> port
0xff00-0xff0f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 2.5 on pci0
atapci0: Reserved 0x10 bytes for rid 0x20 type 4 at 0xff00
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=0x50 err=0x01 lsb=0x00 msb=0x00
ata1-slave: stat=0x50 err=0x01 lsb=0x00 msb=0x00
ata1: reset tp2 stat0=50 stat1=50 devices=0x3<ATA_SLAVE,ATA_MASTER>
ata1: at 0x170 irq 15 on atapci0
ata1: [MPSAFE]
sis0: <SiS 900 10/100BaseTX> port 0xdc00-0xdcff mem 0xcfddd000-0xcfdddfff
irq 10 at device 3.0 on pci0
sis0: Reserved 0x100 bytes for rid 0x10 type 4 at 0xdc00
miibus0: <MII bus> on sis0
rlphy0: <RTL8201L 10/100 media interface> on miibus0
rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
sis0: Ethernet address: 00:07:95:eb:33:bc
sis0: [GIANT-LOCKED]
pci0: <display, VGA> at device 11.0 (no driver attached)
acpi_button0: <Sleep Button> on acpi0
unknown: not probed (disabled)
unknown: not probed (disabled)
atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
atkbd: the current kbd controller command byte 0065
atkbd: keyboard ID 0x41ab (2)
kbd0 at atkbd0
kbd0: atkbd0, AT 101/102 (2), config:0x0, flags:0x3d0000
atkbd0: [GIANT-LOCKED]
unknown: not probed (disabled)
Jun 21 13:24:50 hellhound last message repeated 19 times
ata: ata0 already exists; skipping it
ata: ata1 already exists; skipping it
atkbdc: atkbdc0 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 ROMs> at iomem 0xc8000-0xcffff,0xc0000-0xc7fff 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)
fdc0 failed to probe at port 0x3f0 irq 6 drq 2 on isa0
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
VGA parameters upon power-up
50 18 10 00 00 00 03 00 02 67 5f 4f 50 82 55 81
bf 1f 00 4f 0d 0e 00 00 07 80 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
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 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
vt0: not probed (disabled)
isa_probe_children: probing PnP devices
Device configuration finished.
Timecounter "TSC" frequency 1194922399 Hz quality 800
Timecounters tick every 10.000 msec
ata0-master: pio=0x0c wdma=0x22 udma=0x44 cable=80pin
ata0-master: setting PIO4 on SiS 735 chip
ata0-master: setting UDMA66 on SiS 735 chip
ad0: <SAMSUNG SV1022D/MK100-40> ATA-4 disk at ata0-master
ad0: 9732MB (19931184 sectors), 19773 C, 16 H, 63 S, 512 B
ad0: 16 secs/int, 1 depth queue, UDMA66
GEOM: new disk ad0
ata1-slave: pio=0x0c wdma=0x22 udma=0x45 cable=80pin
ata1-master: pio=0x0c wdma=0x22 udma=0x45 cable=80pin
[0] f:80 typ:165 s(CHS):0/1/1 e(CHS):1023/15/63 s:63 l:19931121
[1] f:00 typ:0 s(CHS):0/0/0 e(CHS):0/0/0 s:0 l:0
[2] f:00 typ:0 s(CHS):0/0/0 e(CHS):0/0/0 s:0 l:0
[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 10204733952 end 10204766207
ata1-master: setting PIO4 on SiS 735 chip
ata1-master: setting UDMA100 on SiS 735 chip
ata1-slave: setting PIO4 on SiS 735 chip
ata1-slave: setting UDMA100 on SiS 735 chip
ad1: <IC35L120AVVA07-0/VA6OA52A> ATA-5 disk at ata1-master
ad1: 117800MB (241254720 sectors), 239340 C, 16 H, 63 S, 512 B
ad1: 16 secs/int, 1 depth queue, UDMA100
ad2: <IC35L120AVVA07-0/VA6OA52A> ATA-5 disk at ata1-slave
ad2: 117800MB (241254720 sectors), 239340 C, 16 H, 63 S, 512 B
ad2: 16 secs/int, 1 depth queue, UDMA100
GEOM: Configure ad0s1a, start 0 length 1073741824 end 1073741823
GEOM: Configure ad0s1b, start 1073741824 length 1073741824 end 2147483647
GEOM: Configure ad0s1c, start 0 length 10204733952 end 10204733951
GEOM: Configure ad0s1d, start 2147483648 length 1073741824 end 3221225471
GEOM: Configure ad0s1e, start 3221225472 length 268435456 end 3489660927
GEOM: Configure ad0s1f, start 3489660928 length 6715073024 end 10204733951
GEOM: new disk ad1
GEOM: new disk ad2
[0] f:80 typ:165 s(CHS):0/1/1 e(CHS):1023/6/63 s:63 l:241248042
[1] f:00 typ:0 s(CHS):0/0/0 e(CHS):0/0/0 s:0 l:0
[2] f:00 typ:0 s(CHS):0/0/0 e(CHS):0/0/0 s:0 l:0
[3] f:00 typ:0 s(CHS):0/0/0 e(CHS):0/0/0 s:0 l:0
GEOM: Configure ad1s1, start 32256 length 123518997504 end 123519029759
GEOM: Configure ad1c, start 0 length 123522416640 end 123522416639
[0] f:80 typ:165 s(CHS):0/1/1 e(CHS):1023/6/63 s:63 l:241248042
[1] f:00 typ:0 s(CHS):0/0/0 e(CHS):0/0/0 s:0 l:0
[2] f:00 typ:0 s(CHS):0/0/0 e(CHS):0/0/0 s:0 l:0
[3] f:00 typ:0 s(CHS):0/0/0 e(CHS):0/0/0 s:0 l:0
GEOM: Configure ad2s1, start 32256 length 123518997504 end 123519029759
GEOM: Configure ad2c, start 0 length 123522416640 end 123522416639
GEOM: Configure ad1s1b, start 0 length 1073741824 end 1073741823
GEOM: Configure ad1s1c, start 0 length 123518997504 end 123518997503
GEOM: Configure ad1s1d, start 1073741824 length 122445255680 end
123518997503
GEOM: Configure ad2s1b, start 0 length 1073741824 end 1073741823
GEOM: Configure ad2s1c, start 0 length 123518997504 end 123518997503
GEOM: Configure ad2s1d, start 1073741824 length 122445255680 end
123518997503
Mounting root from ufs:/dev/ad0s1a
start_init: trying /sbin/init
--
Grover Lines
------------------------------
Message: 8
Date: Mon, 21 Jun 2004 23:36:21 +0200
From: Andre Oppermann <andre@freebsd.org>
Subject: New preview patch for ipfw to pfil_hooks conversion
To: freebsd-current@freebsd.org
Cc: freebsd-net@freebsd.org
Message-ID: <40D754D5.1070805@freebsd.org>
Content-Type: text/plain; charset=us-ascii; format=flowed
Here is the next preview patch for the ipfw to pfil_hooks conversion:
http://www.nrg4u.com/freebsd/ipfw-pfilhooks-and-more-20040621.diff
This patch significantly cleans up ip_input.c and ip_output.c.
The following is included in this patch:
o Remove all ipfw related cruft from ip_input() and ip_output()
o New ip_fw_pfil.c file which contains all ipfw/pfil_hooks logic
o ipfw firewalling, divert and dummynet works fine
o ipfw forward is not yet implemented again (comes next)
o ipfw layer2 is not yet implemented again (comes next)
o ip_reass() is a self-contained function now (external code only relocated)
o All IP Options related functions of ip_input/ip_output are moved into thei
r
own ip_options.[ch] file to have them together in one place
o Some other small work in progress
Consider this a FYI. It is very much a WIP at the moment. I want to get this
into the tree in before 5.3 code freeze.
--
Andre
------------------------------
Message: 9
Date: Mon, 21 Jun 2004 16:47:48 -0500
From: Mark Johnston <mjohnston@skyweb.ca>
Subject: cvs-src summary for June 14-21
To: current@freebsd.org
Message-ID: <200406211647.48884.mjohnston@skyweb.ca>
Content-Type: text/plain; charset="us-ascii"
As I warned last week, I'm trying a new format for the discussion section,
cribbing large chunks of text from the actual posts. I'm not sure whether
this is easier to follow or not; all the paraphrasing was starting to feel a
bit goofy, but this might be a little too verbose, and I stand a better
chance of accidentally misrepresenting people. Anyway, please let me know if
you love it or hate it.
Mark
FreeBSD cvs-src summary for 14/06/04 to 21/06/04
++++++++++++++++++++++++++++++++++++++++++++++++
This is a regular weekly summary of FreeBSD's cutting-edge development.
It is intended to help the FreeBSD community keep up with the fast-paced
work going on in FreeBSD-CURRENT by distilling the deluge of data from
the CVS mailing list into a (hopefully) easy-to-read newsletter. This
newsletter is marked up in reStructuredText_, so any odd punctuation
that you see is likely intended for the reST parser.
. _reStructuredText: http://docutils.sourceforge.net/rst.html
You can get old summaries, and an HTML version of this one, at
http://www.xl0.org/FreeBSD/. Please send any comments to Mark Johnston
(mark at xl0.org).
For Lukasz Dudek and Szymon Roczniak's Polish translations of these
summaries, which may lag the English ones slightly, please see
http://mocart.pinco.pl/FreeBSD/.
. contents::
============
New features
============
GNU Binutils updated to 2.15
----------------------------
David O'Brien (obrien) updated GNU Binutils, which includes libraries like
bfd (For low-level manipulation of binaries) and tools like gas (the GNU
assembler) and ld (the linker).
http://www.freebsd.org/cgi/mid.cgi?200406160546.i5G5kM6W004541
GDB updated to 6.1.1
--------------------
Marcel Moolenaar (marcel) updated GDB, the GNU Debugger, to version 6.1.1.
The old version was 5.2.1, so this is a significant upgrade.
http://www.freebsd.org/cgi/mid.cgi?200406201826.i5KIQVnA023392
OpenBSD PF updated to 3.5
-------------------------
Max Laier (mlaier) updated PF, the OpenBSD packet filter, to version
3.5. This new version adds atomic changes to rulesets, improvements to
interface handling, and more efficient storage of state table entries,
among other enhancements. Max later imported a couple of extra fixes from
the OpenBSD stable branch.
http://www.freebsd.org/cgi/mid.cgi?200406162324.i5GNO2ab075292
http://www.freebsd.org/cgi/mid.cgi?200406171659.i5HGxl4Y037575
SCSI passthrough support added to CISS
--------------------------------------
Scott Long (scottl) added support for SCSI passthrough to devices that are
on a CISS bus. This allows CISS devices to be made available as normal
SCSI devices. This work was sponsored by Tape Laboratories, Inc. and
helped out by Paul Saab (ps).
http://www.freebsd.org/cgi/mid.cgi?200406212018.i5LKIeoN012306
More network-related locking
----------------------------
Robert Watson (rwatson) again made a large number of commits adding
locking to various network-related subsystems.
(many)
Intel PRO/10GbE driver MFC'ed
-----------------------------
Tony Ackerman (tackerman) merged the ixgb driver, for Intel PRO/10GbE 10
gigabit Ethernet cards, to 4.x. The driver was introduced to -CURRENT at
the end of May.
http://www.freebsd.org/cgi/mid.cgi?200406171807.i5HI7fqG055274
ipfw lookup tables MFC'ed
-------------------------
Ruslan Ermilov (ru) merged to 4.x the code he committed last week, adding
lookup table support to ipfw. Please see `last week's summary`_ for
more details on the lookup table code.
. _`last week's summary`:
http://excel.xl0.org/FreeBSD/14-06-04.html#ipfw-gains-lookup-table-support
http://www.freebsd.org/cgi/mid.cgi?200406160657.i5G6vo7d022447
===============
Notable changes
===============
Semaphore changes require recompile of modules
----------------------------------------------
John Polstra (jdp) made some changes to the semamphore code, making the
error reporting more flexible. These changes mean that the ips module,
and any third-party modules calling sema_timedwait, must be recompiled.
http://www.freebsd.org/cgi/mid.cgi?200406141819.i5EIJ5xe075369
dev_t type changed to struct cdev \*, udev_t changed to dev_t
-------------------------------------------------------------
Poul-Henning Kamp (phk) made a giant commit to change mentions of "dev_t"
to "struct cdev \*" within the kernel, then replacing "udev_t" with
"dev_t". This change resolves the confusing situation of the "dev_t" type
being an integer in userland, but a pointer to a structure (struct cdev \*)
in the kernel code, with "udev_t" representing the userland-style integer
dev_t in the kernel. Now dev_t is an integer in both places, with no
special name for the struct cdev pointer used for devices in the kernel.
http://www.freebsd.org/cgi/mid.cgi?200406160947.i5G9lQBG071627
http://www.freebsd.org/cgi/mid.cgi?200406171716.i5HHGsSp043479
=================
Discussion topics
=================
User-visible changes to -STABLE
-------------------------------
Max Khon (fjoe) added display of sfbufs (sendfile buffers) to netstat -m,
which normally displays mbufs (memory buffers), in 4.x.
Alfred Perlstein (alfred) responded that "MFC'ing a change to netstat -m's
output is not acceptable", and asked Max to "back out the netstat change."
Max responded "No problems, but can you tell me which scripts or programs
has become broken after this change?"
Ken Smith (kensmith) replied "The scripts that are now potentially broken
don't necessarily need to be in the base system," clarifying, "Once a
branch goes into -STABLE status we try to not make 'user-visible' changes
to it unless they are bugfixes or do not alter the way something had
worked."
Max responded, saying that since the script only adds lines to the output,
"Frankly speaking I can't imagine a script that could correctly parse
netstat -m output before, but now is broken."
Alfred answered "Then you don't understand the idea of 'compatibility' and
should not be committing to releng4. Ever."
Ken also replied, offering an example of student programmers: "[I]n cases
where the user is interested in 'most of' the output of something they
will often take the approach of removing things they don't want instead of
selecting things they do want."
Mike Silbersack (silby) joined the discussion, saying "sfbufs are used
almost exclusively in conjunction with mbufs, and users who are interested
in mbuf usage will certainly be interested in sfbuf usage." He also
replied to the script concern, saying "I understand the script breakage
argument, but I don't think it's particularly potent. [...] [t]here was NO
previous way to see sfbuf statistics; we're adding new _and_ relevant data
to 'netstat -m'."
Alfred disagreed, "You are cluttering useful stats on the system with
something that users don't need to see. The data is not relevant. You
are breaking the expected output from the tool."
Ken did too, saying, "This is where we disagree and I don't think either
of us will change our minds. My take on it is that this breaks an API in
a -stable branch and is adding new functionality so it *should* be added
as a new flag."
Mike replied, "My opinion is based on the fact that software in contrib/
and in ports/ can change greatly from version to version", giving examples of
bind, sendmail, openssh, binutils, gcc, tar, tcpdump, and some local utilities
converted from Perl to C.
M. Warner Losh (imp) answered, "Something else changed, therefore all
change is fair game is not logical. You are arguing to be right, rather
than arguing for what's right for the project."
Scott Long (scottl) followed up to Warner's post, elaborating "Stability
in 4-STABLE has been pretty fast and loose over the years. [...] I plan to
start enforcing kernel and userland API and ABI stability once 5-STABLE
happens."
Max later backed out the commit.
http://www.freebsd.org/cgi/mid.cgi?200406170008.i5H08NDt085108
http://www.freebsd.org/cgi/mid.cgi?200406180852.i5I8q3vN073481
===================
Important bug fixes
===================
Various ATA improvements
------------------------
Soeren Schmidt (sos) committed a number of improvements and bugfixes to
the ATA code, which should result in generally better compatibility. For
instance, David Xu (davidxu) reports that the changes fixed a problem on
his Tyan 2507T motherboard with a VIA686B south bridge.
http://www.freebsd.org/cgi/mid.cgi?200406151102.i5FB29Wm025585
contigmalloc improvements
-------------------------
Brian Feldman (green) improved contigmalloc, which is used by drivers
to allocate contiguous pieces of memory, to be more reliable. The old
code had a race condition that resulted in deadlocks when connecting new
hardware to a heavily loaded system.
http://www.freebsd.org/cgi/mid.cgi?200406150102.i5F12O0XG078301
frstor panic vulnerability on older machines fixed
--------------------------------------------------
Bruce Evans (bde) fixed a bug that allowed users to crash the system by
using the recently-discovered `Linux crash exploit`_. This vulnerability
existed only in 5.x, and only on machines without SSE support (Pentium II
and earlier.) The issue was reported by Florian Klemenz in `PR 68058`_.
. _`Linux crash exploit`:
http://linuxreviews.org/news/2004-06-11_kernel_crash/
. _`PR 68058`: http://www.freebsd.org/cgi/query-pr.cgi?pr=68058
http://www.freebsd.org/cgi/mid.cgi?200406180210.i5I2AtW1074263
===============
Other bug fixes
===============
Bruce M. Simpson (bms) fixed talk, used for text-based communication
between users, so that it will work when the talkd server is bound to the
local loopback address.
http://www.freebsd.org/cgi/mid.cgi?200406142234.i5EMYEk0040179
Brian Somers (brian) fixed tftpd, the TFTP server, to work with
pxelinux.bin from the syslinux package. This was accomplished by
eliminating excess slashes and dots in filenames.
http://www.freebsd.org/cgi/mid.cgi?200406210801.i5L81ImG029547
Diomidis Spinellis (dds) merged an enhancement to the PPP code that
reduces per-packet overhead by 38%.
http://www.freebsd.org/cgi/mid.cgi?200406151425.i5FEPMPt077922
Paul Saab (ps) fixed a bug in the CISS SCSI driver that resulted in a
panic when removing a disk from a RAID 0 volume. The fix was also MFC'ed.
http://www.freebsd.org/cgi/mid.cgi?200406151940.i5FJelEC051978
Robert Drehmel (robert) fixed a bug that caused the pw utility not to
update all values given to it when the -d option, to specify a home
directory, was given and was the same as the old value. The bug was
spotted by Richard Caley.
http://www.freebsd.org/cgi/mid.cgi?200406171029.i5HATDpN040004
David O'Brien merged a patch from the FSF to GCC, fixing bad code
generation when building Firefox on amd64.
http://www.freebsd.org/cgi/mid.cgi?200406190729.i5J7T5Ki00061
------------------------------
Message: 10
Date: Mon, 21 Jun 2004 17:26:32 -0500
From: Dan Nelson <dnelson@allantgroup.com>
Subject: Re: read vs. mmap (or io vs. page faults)
To: Mikhail Teterin <Mikhail.Teterin@Murex.com>
Cc: questions@freebsd.org
Message-ID: <20040621222631.GC86471@dan.emsphone.com>
Content-Type: text/plain; charset=us-ascii
In the last episode (Jun 21), Mikhail Teterin said:
> > Both read and mmap have a read-ahead heuristic. The heuristic
> > works. In fact, the mmap heuristic is so smart it can read-behind
> > as well as read-ahead if it detects a backwards scan.
>
> Evidently, read's heuristics are better. At least, for this task.
> I'm, actually, surprised, they are _different_ at all.
[...]
> That other OSes have similar shortcomings simply gives us some
> breathing room from an advocacy point of view. I hope, my rhetoric
> will burn an itch in someone capable of addressing it technically :-)
>
> > The heuristic does not try to read megabytes and megabytes ahead,
> > however...
>
> Neither does the read-handling.
I think part of the problem is that it's just clustering reads instead
of making sure the next N blocks of data are prefetched. So you may
ask for 8k, but the system will fetch the next 64k of data. Problem is
the system does nothing until you read the next 8k past the 64k
alreqady read in, then it jumps up and grabs the next 64k. You're
still waiting on I/O every 8th read. Ideally it would do an async
fetch of a 8k block (64k ahead of the current read) every time you read
a block. It should be a lot easier for read to do this, since the
kernel is getting a steady stream of syscalls. Once a 64k chunk of
mmapped address space is pulled in, the system isn't notified until the
next page fault. (or am I misunderstanding how readahead is
implemented on mmapped data?)
--
Dan Nelson
dnelson@allantgroup.com
------------------------------
Message: 11
Date: Mon, 21 Jun 2004 15:32:42 -0700 (PDT)
From: Don Lewis <truckman@FreeBSD.org>
Subject: Re: hang after "Shutting down ACPI"
To: nakal@web.de
Cc: freebsd-current@FreeBSD.org
Message-ID: <200406212232.i5LMWgTj049584@gw.catspoiler.org>
Content-Type: TEXT/plain; charset=us-ascii
On 10 Jun, Don Lewis wrote:
> On 8 Jun, Martin wrote:
>> Am Tue, den 08.06.2004 schrieb Don Lewis um 0:54:
>>> I just upgraded my Thinkpad R40 to a few hour old version of -CURRENT
>>> from something a few weeks older. Now when I reboot, the machine hangs
>>> after printing "Shutting down ACPI" and I have to resort to the power
>>> button. In an interesting twist, "shutdown -p" works properly.
>>
>> On my R40 I've had CURRENT from June 3rd and shutdown -p and reboot didn't
>> work properly.
>>
>> I wanted to confirm your bug report here, but after cvsup (a few hours ago)
>> everything seems to be OK again.
>
> I just cvsup'ed and I'm still having the same problem. I tossed in a
> bunch of debugging printf's and tracked it down to this
> bus_teardown_intr() call in AcpiOsRemoveInterruptHandler():
>
> bus_teardown_intr(sc->acpi_dev, sc->acpi_irq, sc->acpi_irq_handle);
I updated to the latest -CURRENT over the weekend and this problem
appears to be fixed now.
------------------------------
Message: 12
Date: Mon, 21 Jun 2004 15:59:33 -0700 (PDT)
From: Matthew Dillon <dillon@apollo.backplane.com>
Subject: Re: read vs. mmap (or io vs. page faults)
To: Dan Nelson <dnelson@allantgroup.com>
Cc: Mikhail Teterin <Mikhail.Teterin@Murex.com>
Message-ID: <200406212259.i5LMxX1l036547@apollo.backplane.com>
:
:ask for 8k, but the system will fetch the next 64k of data. Problem is
:the system does nothing until you read the next 8k past the 64k
:alreqady read in, then it jumps up and grabs the next 64k. You're
:still waiting on I/O every 8th read. Ideally it would do an async
:..
:--
: Dan Nelson
: dnelson@allantgroup.com
No, this isn't true. The system places a marker 8K or 16K before the
last read block and initiates the next read-ahead before you exhaust the
first one.
For mapped data the system intentionally does not map the page table entry
for a page or two before the end of the read ahead in order to force a
page fault so it can initiate the next read ahead.
For read data the system marks a buffer near the end of the read ahead
so when read encounters it the system knows to queue then next read-ahead.
Also, for that matter, remember that the hard drives themselves generally
cache whole tracks and do their own read-ahead. This is why dd'ing a
large file usually results in the maximum transfer rate the hard drive
can do.
-Matt
Matthew Dillon
<dillon@backplane.com>
------------------------------
Message: 13
Date: Mon, 21 Jun 2004 19:13:41 -0400 (EDT)
From: Robert Watson <rwatson@freebsd.org>
Subject: Re: problems with cvsup
To: Grover Lines <grover@ceribus.net>
Cc: freebsd-current@freebsd.org
Message-ID:
<Pine.NEB.3.96L.1040621191253.40360A-100000@fledge.watson.org>
Content-Type: TEXT/PLAIN; charset=US-ASCII
On Mon, 21 Jun 2004, Grover Lines wrote:
> TreeList failed: Network write failure: Connection closed
>
> I still continue to get these errors when using cvsup in CURRENT, so I
> formatted my system and installed 4.7RC2 (was the nearest full distro
> laying around) Cvsup worked fine with it.
>
> I've tried using different nic cards, new cables, different ports on the
> hub or router, different sup servers, ran Memtest86+, about 15 cpu burns
> going at one time, installed it from packages, used a different hard
> drive, ran fsck many times, using latest bios, installed it from ports
> with no compile flags, system isn't overclocked, tried it in safe mode,
> on and on.
>
> So after saying all that I'm wondering what the best way to debug the
> process would be for a semi knowledgeable person, so I can find out if
> its some freak compatability issue with my motherboard or whatever. I
> know it isn't the network or network cards. I'm just frustrated and
> determined and I don't know how to find where the corruption is
> occurring.
Did you see my e-mail to you about turning on the socket buffer debugging
kernel option? This would help identify potentially incorrect use of
socket buffers in the kernel that could have the symptom you're reporting.
Robert N M Watson FreeBSD Core Team, TrustedBSD Projects
robert@fledge.watson.org Senior Research Scientist, McAfee Research
>
>
> hellhound# cvsup -g -L 2 main-supfile
> Parsing supfile "main-supfile"
> Connecting to cvsup1.FreeBSD.org
> Connected to cvsup1.FreeBSD.org
> Server software version: SNAP_16_1e
> Negotiating file attribute support
> Exchanging collection information
> Establishing multiplexed-mode data connection
> Running
> Updating collection src-all/cvs
> TreeList failed: Network write failure: Connection closed
>
> Any help would be much appreciated
>
> hellhound# netstat -s
> tcp:
> 841 packets sent
> 570 data packets (339537 bytes)
> 0 data packets (0 bytes) retransmitted
> 0 data packets unnecessarily retransmitted
> 0 resends initiated by MTU discovery
> 211 ack-only packets (122 delayed)
> 0 URG only packets
> 0 window probe packets
> 8 window update packets
> 52 control packets
> 914 packets received
> 528 acks (for 314456 bytes)
> 12 duplicate acks
> 0 acks for unsent data
> 637 packets (168860 bytes) received in-sequence
> 0 completely duplicate packets (0 bytes)
> 0 old duplicate packets
> 0 packets with some dup. data (0 bytes duped)
> 6 out-of-order packets (4280 bytes)
> 0 packets (0 bytes) of data after window
> 0 window probes
> 4 window update packets
> 0 packets received after close
> 0 discarded for bad checksums
> 0 discarded for bad header offset fields
> 0 discarded because packet too short
> 20 connection requests
> 27 connection accepts
> 0 bad connection attempts
> 0 listen queue overflows
> 0 ignored RSTs in the windows
> 46 connections established (including accepts)
> 52 connections closed (including 32 drops)
> 14 connections updated cached RTT on close
> 14 connections updated cached RTT variance on close
> 0 connections updated cached ssthresh on close
> 0 embryonic connections dropped
> 495 segments updated rtt (of 505 attempts)
> 0 retransmit timeouts
> 0 connections dropped by rexmit timeout
> 0 persist timeouts
> 0 connections dropped by persist timeout
> 0 keepalive timeouts
> 0 keepalive probes sent
> 0 connections dropped by keepalive
> 9 correct ACK header predictions
> 256 correct data packet header predictions
> 27 syncache entries added
> 0 retransmitted
> 0 dupsyn
> 0 dropped
> 27 completed
> 0 bucket overflow
> 0 cache overflow
> 0 reset
> 0 stale
> 0 aborted
> 0 badack
> 0 unreach
> 0 zone failures
> 0 cookies sent
> 0 cookies received
> udp:
> 1093 datagrams received
> 0 with incomplete header
> 0 with bad data length field
> 0 with bad checksum
> 0 with no checksum
> 4 dropped due to no socket
> 0 broadcast/multicast datagrams dropped due to no socket
> 0 dropped due to full socket buffers
> 0 not for hashed pcb
> 1089 delivered
> 1105 datagrams output
> ip:
> 2056 total packets received
> 0 bad header checksums
> 0 with size smaller than minimum
> 0 with data size < data length
> 0 with ip length > max ip packet size
> 0 with header length < data size
> 0 with data length < header length
> 0 with bad options
> 0 with incorrect version number
> 0 fragments received
> 0 fragments dropped (dup or out of space)
> 0 fragments dropped after timeout
> 0 packets reassembled ok
> 2045 packets for this host
> 11 packets for unknown/unsupported protocol
> 0 packets forwarded (0 packets fast forwarded)
> 0 packets not forwardable
> 0 packets received for unknown multicast group
> 0 redirects sent
> 2015 packets sent from this host
> 0 packets sent with fabricated ip header
> 0 output packets dropped due to no bufs, etc.
> 0 output packets discarded due to no route
> 0 output datagrams fragmented
> 0 fragments created
> 0 datagrams that can't be fragmented
> 0 tunneling packets that can't find gif
> 0 datagrams with bad address in header
> icmp:
> 4 calls to icmp_error
> 0 errors not generated in response to an icmp message
> Output histogram:
> destination unreachable: 4
> 0 messages with bad code fields
> 0 messages < minimum length
> 0 bad checksums
> 0 messages with bad length
> 0 multicast echo requests ignored
> 0 multicast timestamp requests ignored
> Input histogram:
> destination unreachable: 11
> 0 message responses generated
> 0 invalid return addresses
> 0 no return routes
> ICMP address mask responses are disabled
> igmp:
> 0 messages received
> 0 messages received with too few bytes
> 0 messages received with bad checksum
> 0 membership queries received
> 0 membership queries received with invalid field(s)
> 0 membership reports received
> 0 membership reports received with invalid field(s)
> 0 membership reports received for groups to which we belong
> 0 membership reports sent
>
> hellhound# vmstat
> procs memory page disks faults cpu
> r b w avm fre flt re pi po fr sr ad0 ad1 in sy cs us sy
> id
> 1 9 0 198332 335164 85 0 0 0 62 0 0 0 340 184 288 2 2
> 97
>
> hellhound# vmstat -i
> interrupt total rate
> irq0: clk 141678 99
> irq1: atkbd0 2 0
> irq8: rtc 181339 127
> irq10: sis0 3651 2
> irq13: npx0 1 0
> irq14: ata0 12064 8
> irq15: ata1 73 0
> Total 338808 238
>
> 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: Sun Jun 20 09:40:31 PDT 2004
> root@xxxxxxxxxxx:/usr/obj/usr/src/sys/DOMINATION
> Preloaded elf kernel "/boot/kernel/kernel" at 0xc0679000.
> Preloaded elf module "/boot/kernel/acpi.ko" at 0xc067926c.
> Calibrating clock(s) ... i8254 clock: 1193249 Hz
> CLK_USE_I8254_CALIBRATION not specified - using default frequency
> Timecounter "i8254" frequency 1193182 Hz quality 0
> Calibrating TSC clock ... TSC clock: 1194922399 Hz
> CPU: AMD Duron(tm) Processor (1194.92-MHz 686-class CPU)
> Origin = "AuthenticAMD" Id = 0x671 Stepping = 1
> Features=0x383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,
> PAT,PSE36,MMX,FXSR,SSE>
> AMD Features=0xc0480000<MP,AMIE,DSP,3DNow!>
> Data TLB: 32 entries, fully associative
> Instruction TLB: 16 entries, fully associative
> L1 data cache: 64 kbytes, 64 bytes/line, 1 lines/tag, 2-way associative
> L1 instruction cache: 64 kbytes, 64 bytes/line, 1 lines/tag, 2-way
> associative
> L2 internal cache: 64 kbytes, 64 bytes/line, 1 lines/tag, 8-way associative
> real memory = 536805376 (511 MB)
> Physical memory chunk(s):
> 0x0000000000001000 - 0x000000000009efff, 647168 bytes (158 pages)
> 0x0000000000100000 - 0x00000000003fffff, 3145728 bytes (768 pages)
> 0x0000000000826000 - 0x000000001f6bffff, 518627328 bytes (126618 pages)
> avail memory = 519802880 (495 MB)
> bios32: Found BIOS32 Service Directory header at 0xc00fdad0
> bios32: Entry = 0xfdae0 (c00fdae0) Rev = 0 Len = 1
> pcibios: PCI BIOS entry at 0xf0000+0xdb01
> pnpbios: Found PnP BIOS data at 0xc00f7350
> pnpbios: Entry = f0000:5e07 Rev = 1.0
> Other BIOS signatures found:
> random: <entropy source, Software, Yarrow>
> mem: <memory & I/O>
> Pentium Pro MTRR support enabled
> null: <null device, zero device>
> npx0: [FAST]
> npx0: <math processor> on motherboard
> npx0: INT 16 interface
> acpi0: <AMIINT SiS735XX> on motherboard
> acpi0: [GIANT-LOCKED]
> pci_open(1): mode 1 addr port (0x0cf8) is 0x80001044
> pci_open(1a): mode1res=0x80000000 (0x80000000)
> pci_cfgcheck: device 0 [class=060000] [hdr=80] is there (id=07351039)
> pcibios: BIOS version 2.10
> Found $PIR table, 8 entries at 0xc00f7950
> PCI-Only Interrupts: none
> Location Bus Device Pin Link IRQs
> embedded 0 1 A 0x41 3 4 5 7 10 11 12 14 15
> embedded 0 1 B 0x42 3 4 5 7 10 11 12 14 15
> embedded 0 1 C 0x43 3 4 5 7 10 11 12 14 15
> embedded 0 1 D 0x44 3 4 5 7 10 11 12 14 15
> embedded 0 2 A 0x63 3 4 5 7 10 11 12 14 15
> embedded 0 2 B 0x42 3 4 5 7 10 11 12 14 15
> embedded 0 2 C 0x43 3 4 5 7 10 11 12 14 15
> embedded 0 2 D 0x44 3 4 5 7 10 11 12 14 15
> embedded 0 3 A 0x62 3 4 5 7 10 11 12 14 15
> slot 1 0 9 A 0x41 3 4 5 7 10 11 12 14 15
> slot 1 0 9 B 0x42 3 4 5 7 10 11 12 14 15
> slot 1 0 9 C 0x43 3 4 5 7 10 11 12 14 15
> slot 1 0 9 D 0x44 3 4 5 7 10 11 12 14 15
> slot 2 0 11 A 0x42 3 4 5 7 10 11 12 14 15
> slot 2 0 11 B 0x43 3 4 5 7 10 11 12 14 15
> slot 2 0 11 C 0x44 3 4 5 7 10 11 12 14 15
> slot 2 0 11 D 0x41 3 4 5 7 10 11 12 14 15
> slot 3 0 13 A 0x43 3 4 5 7 10 11 12 14 15
> slot 3 0 13 B 0x44 3 4 5 7 10 11 12 14 15
> slot 3 0 13 C 0x41 3 4 5 7 10 11 12 14 15
> slot 3 0 13 D 0x42 3 4 5 7 10 11 12 14 15
> slot 4 0 15 A 0x44 3 4 5 7 10 11 12 14 15
> slot 4 0 15 B 0x41 3 4 5 7 10 11 12 14 15
> slot 4 0 15 C 0x42 3 4 5 7 10 11 12 14 15
> slot 4 0 15 D 0x43 3 4 5 7 10 11 12 14 15
> slot 5 0 17 A 0x42 3 4 5 7 10 11 12 14 15
> slot 5 0 17 B 0x43 3 4 5 7 10 11 12 14 15
> slot 5 0 17 C 0x44 3 4 5 7 10 11 12 14 15
> slot 5 0 17 D 0x41 3 4 5 7 10 11 12 14 15
> AcpiOsDerivePciId: bus 0 dev 2 func 0
> AcpiOsDerivePciId: bus 0 dev 2 func 0
> acpi0: Power Button (fixed)
> atpic: Programming IRQ9 as level/low
> ACPI timer looks GOOD min = 1, max = 2, width = 1
> Jun 21 13:24:50 hellhound last message repeated 9 times
> Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
> AcpiOsDerivePciId: bus 0 dev 0 func 0
> atpic: Ignoring invalid level/low configuration for IRQ0
> Jun 21 13:24:50 hellhound last message repeated 5 times
> acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0
> unknown: not probed (disabled)
> unknown: not probed (disabled)
> cpu0: <ACPI CPU (3 Cx states)> on acpi0
> pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
> ACPI PCI link initial configuration:
> \_SB_.LNKA irq 0: [ 3 4 5 7 10 11 12 14 15] 0.1.0
> \_SB_.LNKB irq 11: [ 3 4 5 7 10 11 12 14 15] 0.1.1
> \_SB_.LNKC irq 0: [ 3 4 5 7 10 11 12 14 15] 0.1.2
> \_SB_.LNKD irq 0: [ 3 4 5 7 10 11 12 14 15] 0.1.3
> \_SB_.LNKH irq 0: [ 3 4 5 7 10 11 12 14 15] 0.2.0
> \_SB_.LNKB irq 11: [ 3 4 5 7 10 11 12 14 15] 0.2.1
> \_SB_.LNKC irq 0: [ 3 4 5 7 10 11 12 14 15] 0.2.2
> \_SB_.LNKD irq 0: [ 3 4 5 7 10 11 12 14 15] 0.2.3
> \_SB_.LNKG irq 10: [ 3 4 5 7 10 11 12 14 15] 0.3.0
> \_SB_.LNKA irq 0: [ 3 4 5 7 10 11 12 14 15] 0.9.0
> \_SB_.LNKB irq 11: [ 3 4 5 7 10 11 12 14 15] 0.9.1
> \_SB_.LNKC irq 0: [ 3 4 5 7 10 11 12 14 15] 0.9.2
> \_SB_.LNKD irq 0: [ 3 4 5 7 10 11 12 14 15] 0.9.3
> \_SB_.LNKB irq 11: [ 3 4 5 7 10 11 12 14 15] 0.11.0
> \_SB_.LNKC irq 0: [ 3 4 5 7 10 11 12 14 15] 0.11.1
> \_SB_.LNKD irq 0: [ 3 4 5 7 10 11 12 14 15] 0.11.2
> \_SB_.LNKA irq 0: [ 3 4 5 7 10 11 12 14 15] 0.11.3
> \_SB_.LNKC irq 0: [ 3 4 5 7 10 11 12 14 15] 0.13.0
> \_SB_.LNKD irq 0: [ 3 4 5 7 10 11 12 14 15] 0.13.1
> \_SB_.LNKA irq 0: [ 3 4 5 7 10 11 12 14 15] 0.13.2
> \_SB_.LNKB irq 11: [ 3 4 5 7 10 11 12 14 15] 0.13.3
> \_SB_.LNKD irq 0: [ 3 4 5 7 10 11 12 14 15] 0.15.0
> \_SB_.LNKA irq 0: [ 3 4 5 7 10 11 12 14 15] 0.15.1
> \_SB_.LNKB irq 11: [ 3 4 5 7 10 11 12 14 15] 0.15.2
> \_SB_.LNKC irq 0: [ 3 4 5 7 10 11 12 14 15] 0.15.3
> \_SB_.LNKB irq 11: [ 3 4 5 7 10 11 12 14 15] 0.17.0
> \_SB_.LNKC irq 0: [ 3 4 5 7 10 11 12 14 15] 0.17.1
> \_SB_.LNKD irq 0: [ 3 4 5 7 10 11 12 14 15] 0.17.2
> \_SB_.LNKA irq 0: [ 3 4 5 7 10 11 12 14 15] 0.17.3
> ACPI PCI link before setting link priority:
> \_SB_.LNKA:
> interrupts: 3 4 5 7 10 11 12 14 15
> penalty: 1210 1210 210 1210 310 910 1210 10210 10210
> references: 6
> priority: 0
> \_SB_.LNKC:
> interrupts: 3 4 5 7 10 11 12 14 15
> penalty: 1210 1210 210 1210 310 910 1210 10210 10210
> references: 7
> priority: 0
> \_SB_.LNKD:
> interrupts: 3 4 5 7 10 11 12 14 15
> penalty: 1210 1210 210 1210 310 910 1210 10210 10210
> references: 7
> priority: 0
> \_SB_.LNKH:
> interrupts: 3 4 5 7 10 11 12 14 15
> penalty: 1210 1210 210 1210 310 910 1210 10210 10210
> references: 1
> priority: 0
> ACPI PCI link before fixup for boot-disabled links:
> \_SB_.LNKC:
> interrupts: 3 4 5 7 10 11 12 14 15
> penalty: 1210 1210 210 1210 310 910 1210 10210 10210
> references: 7
> priority: 20758
> \_SB_.LNKD:
> interrupts: 3 4 5 7 10 11 12 14 15
> penalty: 1210 1210 210 1210 310 910 1210 10210 10210
> references: 7
> priority: 20758
> \_SB_.LNKA:
> interrupts: 3 4 5 7 10 11 12 14 15
> penalty: 1210 1210 210 1210 310 910 1210 10210 10210
> references: 6
> priority: 17793
> \_SB_.LNKH:
> interrupts: 3 4 5 7 10 11 12 14 15
> penalty: 1210 1210 210 1210 310 910 1210 10210 10210
> references: 1
> priority: 2965
> ACPI PCI link after fixup for boot-disabled links:
> \_SB_.LNKC:
> interrupts: 5 10 11 12 7 4 3 15 14
> penalty: 210 310 910 1210 1210 1210 1210 10210 10210
> references: 7
> priority: 20758
> \_SB_.LNKD:
> interrupts: 5 10 11 12 7 4 3 15 14
> penalty: 210 310 910 1210 1210 1210 1210 10210 10210
> references: 7
> priority: 20758
> \_SB_.LNKA:
> interrupts: 5 10 11 12 7 4 3 15 14
> penalty: 210 310 910 1210 1210 1210 1210 10210 10210
> references: 6
> priority: 17793
> \_SB_.LNKH:
> interrupts: 5 10 11 12 7 4 3 15 14
> penalty: 210 310 910 1210 1210 1210 1210 10210 10210
> references: 1
> priority: 2965
> ACPI PCI link arbitrated configuration:
> \_SB_.LNKA irq 0: [ 3 4 5 7 10 11 12 14 15] 0.1.0
> \_SB_.LNKB irq 11: [ 3 4 5 7 10 11 12 14 15] 0.1.1
> \_SB_.LNKC irq 0: [ 3 4 5 7 10 11 12 14 15] 0.1.2
> \_SB_.LNKD irq 0: [ 3 4 5 7 10 11 12 14 15] 0.1.3
> \_SB_.LNKH irq 0: [ 3 4 5 7 10 11 12 14 15] 0.2.0
> \_SB_.LNKB irq 11: [ 3 4 5 7 10 11 12 14 15] 0.2.1
> \_SB_.LNKC irq 0: [ 3 4 5 7 10 11 12 14 15] 0.2.2
> \_SB_.LNKD irq 0: [ 3 4 5 7 10 11 12 14 15] 0.2.3
> \_SB_.LNKG irq 10: [ 3 4 5 7 10 11 12 14 15] 0.3.0
> \_SB_.LNKA irq 0: [ 3 4 5 7 10 11 12 14 15] 0.9.0
> \_SB_.LNKB irq 11: [ 3 4 5 7 10 11 12 14 15] 0.9.1
> \_SB_.LNKC irq 0: [ 3 4 5 7 10 11 12 14 15] 0.9.2
> \_SB_.LNKD irq 0: [ 3 4 5 7 10 11 12 14 15] 0.9.3
> \_SB_.LNKB irq 11: [ 3 4 5 7 10 11 12 14 15] 0.11.0
> \_SB_.LNKC irq 0: [ 3 4 5 7 10 11 12 14 15] 0.11.1
> \_SB_.LNKD irq 0: [ 3 4 5 7 10 11 12 14 15] 0.11.2
> \_SB_.LNKA irq 0: [ 3 4 5 7 10 11 12 14 15] 0.11.3
> \_SB_.LNKC irq 0: [ 3 4 5 7 10 11 12 14 15] 0.13.0
> \_SB_.LNKD irq 0: [ 3 4 5 7 10 11 12 14 15] 0.13.1
> \_SB_.LNKA irq 0: [ 3 4 5 7 10 11 12 14 15] 0.13.2
> \_SB_.LNKB irq 11: [ 3 4 5 7 10 11 12 14 15] 0.13.3
> \_SB_.LNKD irq 0: [ 3 4 5 7 10 11 12 14 15] 0.15.0
> \_SB_.LNKA irq 0: [ 3 4 5 7 10 11 12 14 15] 0.15.1
> \_SB_.LNKB irq 11: [ 3 4 5 7 10 11 12 14 15] 0.15.2
> \_SB_.LNKC irq 0: [ 3 4 5 7 10 11 12 14 15] 0.15.3
> \_SB_.LNKB irq 11: [ 3 4 5 7 10 11 12 14 15] 0.17.0
> \_SB_.LNKC irq 0: [ 3 4 5 7 10 11 12 14 15] 0.17.1
> \_SB_.LNKD irq 0: [ 3 4 5 7 10 11 12 14 15] 0.17.2
> \_SB_.LNKA irq 0: [ 3 4 5 7 10 11 12 14 15] 0.17.3
> pci0: <ACPI PCI bus> on pcib0
> pci0: physical bus=0
> map[10]: type 1, range 32, base d0000000, size 22, enabled
> found-> vendor=0x1039, dev=0x0735, revid=0x01
> bus=0, slot=0, func=0
> class=06-00-00, hdrtype=0x00, mfdev=1
> cmdreg=0x0007, statreg=0x2210, cachelnsz=0 (dwords)
> lattimer=0x20 (960 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
> found-> vendor=0x1039, dev=0x0001, revid=0x00
> bus=0, slot=1, func=0
> class=06-04-00, hdrtype=0x01, mfdev=0
> cmdreg=0x0106, statreg=0x0000, cachelnsz=0 (dwords)
> lattimer=0x40 (1920 ns), mingnt=0x02 (500 ns), maxlat=0x00 (0 ns)
> found-> vendor=0x1039, dev=0x0008, revid=0x00
> bus=0, slot=2, func=0
> class=06-01-00, hdrtype=0x00, mfdev=1
> cmdreg=0x000f, statreg=0x0200, cachelnsz=0 (dwords)
> lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
> map[20]: type 4, range 32, base 0000ff00, size 4, enabled
> found-> vendor=0x1039, dev=0x5513, revid=0xd0
> bus=0, slot=2, func=5
> class=01-01-80, hdrtype=0x00, mfdev=1
> cmdreg=0x0005, statreg=0x0000, cachelnsz=0 (dwords)
> lattimer=0x80 (3840 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
> map[10]: type 4, range 32, base 0000dc00, size 8, enabled
> map[14]: type 1, range 32, base cfddd000, size 12, enabled
> pcib0: matched entry for 0.3.INTA (src \_SB_.LNKG)
> pcib0: slot 3 INTA is routed to irq 10
> found-> vendor=0x1039, dev=0x0900, revid=0x90
> bus=0, slot=3, func=0
> class=02-00-00, hdrtype=0x00, mfdev=0
> cmdreg=0x0107, statreg=0x0290, cachelnsz=0 (dwords)
> lattimer=0x40 (1920 ns), mingnt=0x34 (13000 ns), maxlat=0x0b (2750 ns)
> intpin=a, irq=10
> powerspec 2 supports D0 D1 D2 D3 current D0
> map[10]: type 1, range 32, base cfe00000, size 21, enabled
> map[14]: type 1, range 32, base cfdf0000, size 16, enabled
> pcib0: matched entry for 0.11.INTA (src \_SB_.LNKB)
> pcib0: slot 11 INTA is routed to irq 11
> found-> vendor=0x1023, dev=0x9440, revid=0xe3
> bus=0, slot=11, func=0
> class=03-00-00, hdrtype=0x00, mfdev=0
> cmdreg=0x0003, statreg=0x0280, cachelnsz=0 (dwords)
> lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
> intpin=a, irq=11
> pcib1: <PCI-PCI bridge> at device 1.0 on pci0
> pcib1: secondary bus 1
> pcib1: subordinate bus 1
> pcib1: I/O decode 0x0-0x0
> pcib1: memory decode 0xcda00000-0xcdafffff
> pcib1: prefetched decode 0xcd800000-0xcd8fffff
> pci1: <PCI bus> on pcib1
> pci1: physical bus=1
> isab0: <PCI-ISA bridge> at device 2.0 on pci0
> isa0: <ISA bus> on isab0
> atapci0: <SiS 735 UDMA100 controller> port
> 0xff00-0xff0f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 2.5 on pci0
> atapci0: Reserved 0x10 bytes for rid 0x20 type 4 at 0xff00
> 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=0x50 err=0x01 lsb=0x00 msb=0x00
> ata1-slave: stat=0x50 err=0x01 lsb=0x00 msb=0x00
> ata1: reset tp2 stat0=50 stat1=50 devices=0x3<ATA_SLAVE,ATA_MASTER>
> ata1: at 0x170 irq 15 on atapci0
> ata1: [MPSAFE]
> sis0: <SiS 900 10/100BaseTX> port 0xdc00-0xdcff mem 0xcfddd000-0xcfdddfff
> irq 10 at device 3.0 on pci0
> sis0: Reserved 0x100 bytes for rid 0x10 type 4 at 0xdc00
> miibus0: <MII bus> on sis0
> rlphy0: <RTL8201L 10/100 media interface> on miibus0
> rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
> sis0: Ethernet address: 00:07:95:eb:33:bc
> sis0: [GIANT-LOCKED]
> pci0: <display, VGA> at device 11.0 (no driver attached)
> acpi_button0: <Sleep Button> on acpi0
> unknown: not probed (disabled)
> unknown: not probed (disabled)
> atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
> atkbd0: <AT Keyboard> irq 1 on atkbdc0
> atkbd: the current kbd controller command byte 0065
> atkbd: keyboard ID 0x41ab (2)
> kbd0 at atkbd0
> kbd0: atkbd0, AT 101/102 (2), config:0x0, flags:0x3d0000
> atkbd0: [GIANT-LOCKED]
> unknown: not probed (disabled)
> Jun 21 13:24:50 hellhound last message repeated 19 times
> ata: ata0 already exists; skipping it
> ata: ata1 already exists; skipping it
> atkbdc: atkbdc0 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 ROMs> at iomem 0xc8000-0xcffff,0xc0000-0xc7fff 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)
> fdc0 failed to probe at port 0x3f0 irq 6 drq 2 on isa0
> 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
> VGA parameters upon power-up
> 50 18 10 00 00 00 03 00 02 67 5f 4f 50 82 55 81
> bf 1f 00 4f 0d 0e 00 00 07 80 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
> 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 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
> vt0: not probed (disabled)
> isa_probe_children: probing PnP devices
> Device configuration finished.
> Timecounter "TSC" frequency 1194922399 Hz quality 800
> Timecounters tick every 10.000 msec
> ata0-master: pio=0x0c wdma=0x22 udma=0x44 cable=80pin
> ata0-master: setting PIO4 on SiS 735 chip
> ata0-master: setting UDMA66 on SiS 735 chip
> ad0: <SAMSUNG SV1022D/MK100-40> ATA-4 disk at ata0-master
> ad0: 9732MB (19931184 sectors), 19773 C, 16 H, 63 S, 512 B
> ad0: 16 secs/int, 1 depth queue, UDMA66
> GEOM: new disk ad0
> ata1-slave: pio=0x0c wdma=0x22 udma=0x45 cable=80pin
> ata1-master: pio=0x0c wdma=0x22 udma=0x45 cable=80pin
> [0] f:80 typ:165 s(CHS):0/1/1 e(CHS):1023/15/63 s:63 l:19931121
> [1] f:00 typ:0 s(CHS):0/0/0 e(CHS):0/0/0 s:0 l:0
> [2] f:00 typ:0 s(CHS):0/0/0 e(CHS):0/0/0 s:0 l:0
> [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 10204733952 end 10204766207
> ata1-master: setting PIO4 on SiS 735 chip
> ata1-master: setting UDMA100 on SiS 735 chip
> ata1-slave: setting PIO4 on SiS 735 chip
> ata1-slave: setting UDMA100 on SiS 735 chip
> ad1: <IC35L120AVVA07-0/VA6OA52A> ATA-5 disk at ata1-master
> ad1: 117800MB (241254720 sectors), 239340 C, 16 H, 63 S, 512 B
> ad1: 16 secs/int, 1 depth queue, UDMA100
> ad2: <IC35L120AVVA07-0/VA6OA52A> ATA-5 disk at ata1-slave
> ad2: 117800MB (241254720 sectors), 239340 C, 16 H, 63 S, 512 B
> ad2: 16 secs/int, 1 depth queue, UDMA100
> GEOM: Configure ad0s1a, start 0 length 1073741824 end 1073741823
> GEOM: Configure ad0s1b, start 1073741824 length 1073741824 end 2147483647
> GEOM: Configure ad0s1c, start 0 length 10204733952 end 10204733951
> GEOM: Configure ad0s1d, start 2147483648 length 1073741824 end 3221225471
> GEOM: Configure ad0s1e, start 3221225472 length 268435456 end 3489660927
> GEOM: Configure ad0s1f, start 3489660928 length 6715073024 end 10204733951
> GEOM: new disk ad1
> GEOM: new disk ad2
> [0] f:80 typ:165 s(CHS):0/1/1 e(CHS):1023/6/63 s:63 l:241248042
> [1] f:00 typ:0 s(CHS):0/0/0 e(CHS):0/0/0 s:0 l:0
> [2] f:00 typ:0 s(CHS):0/0/0 e(CHS):0/0/0 s:0 l:0
> [3] f:00 typ:0 s(CHS):0/0/0 e(CHS):0/0/0 s:0 l:0
> GEOM: Configure ad1s1, start 32256 length 123518997504 end 123519029759
> GEOM: Configure ad1c, start 0 length 123522416640 end 123522416639
> [0] f:80 typ:165 s(CHS):0/1/1 e(CHS):1023/6/63 s:63 l:241248042
> [1] f:00 typ:0 s(CHS):0/0/0 e(CHS):0/0/0 s:0 l:0
> [2] f:00 typ:0 s(CHS):0/0/0 e(CHS):0/0/0 s:0 l:0
> [3] f:00 typ:0 s(CHS):0/0/0 e(CHS):0/0/0 s:0 l:0
> GEOM: Configure ad2s1, start 32256 length 123518997504 end 123519029759
> GEOM: Configure ad2c, start 0 length 123522416640 end 123522416639
> GEOM: Configure ad1s1b, start 0 length 1073741824 end 1073741823
> GEOM: Configure ad1s1c, start 0 length 123518997504 end 123518997503
> GEOM: Configure ad1s1d, start 1073741824 length 122445255680 end
> 123518997503
> GEOM: Configure ad2s1b, start 0 length 1073741824 end 1073741823
> GEOM: Configure ad2s1c, start 0 length 123518997504 end 123518997503
> GEOM: Configure ad2s1d, start 1073741824 length 122445255680 end
> 123518997503
> Mounting root from ufs:/dev/ad0s1a
> start_init: trying /sbin/init
>
> --
> Grover Lines
>
> _______________________________________________
> 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: 14
Date: Tue, 22 Jun 2004 01:56:56 +0200
From: Max Laier <max@love2party.net>
Subject: _<service> users [Was: startup error for pflogd]
To: freebsd-current@freebsd.org
Cc: Michael Reifenberger <mike@Reifenberger.com>
Message-ID: <200406220157.02776.max@love2party.net>
Content-Type: text/plain; charset="iso-8859-1"
On Monday 21 June 2004 18:46, David O'Brien wrote:
> On Mon, Jun 21, 2004 at 04:39:10PM +0200, Max Laier wrote:
> > This might seem like OpenBSD/paranoia, but my opinion on it is: It's done
> > so why not port it over? It also helps to keep the diff down (which means
> > less work).
> >
> > If there is no resistance against "yet another user", I will add _pflogd.
>
> I would prefer just 'pflogd' until it is discussed if we want to follow
> the _<service> way.
Okay, let's talk about this then: Any strong optionions one way or the other?
I think this is a bikeshed. There is no technical argument (to my knowledge)
that suggests either. My vote is for "_<service>" to keep the diff down, but
that is not an argument of course. Others have said that it:
- helps to recognize system processes
- helps to see "bad things" happening (1000 _pflogd is not a good sign)
- resolves possible namespace problems
I can't think of a propper contra, but maybe "It looks ugly" qualifies ;) Tell
me if I overlook something. Thanks.
--
Best regards, | mlaier@freebsd.org
Max Laier | ICQ #67774661
http://pf4freebsd.love2party.net/ | mlaier@EFnet
-------------- 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/20040622/
ac27107e/attachment-0001.bin
------------------------------
Message: 15
Date: Mon, 21 Jun 2004 17:08:26 -0700 (PDT)
From: Doug White <dwhite@gumbysoft.com>
Subject: Re: 5.2.1 boot question
To: Darin <derwood@naebunny.net>
Cc: freebsd-current@freebsd.org
Message-ID: <20040621170728.E70461@carver.gumbysoft.com>
Content-Type: TEXT/PLAIN; charset=US-ASCII
On Sat, 19 Jun 2004, Darin wrote:
> 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.
This was a known bug with that package build, sadly. Any recent build
has a fix.
> 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
Somewhere you have 'sysctl sysctl' running, which is probably in
/etc/sysctl.conf. Make sure they're just name=value pairs and not full
sysctl commands.
--
Doug White | FreeBSD: The Power to Serve
dwhite@gumbysoft.com | www.FreeBSD.org
------------------------------
Message: 16
Date: Mon, 21 Jun 2004 17:14:27 -0700 (PDT)
From: Doug White <dwhite@gumbysoft.com>
Subject: Re: dell usb keyboard not attached to console by default on
P4C800-E
To: leon breedt <freebsd-current@lists.xeraph.org>
Cc: current@freebsd.org
Message-ID: <20040621171202.G70461@carver.gumbysoft.com>
Content-Type: TEXT/PLAIN; charset=US-ASCII
On Sun, 20 Jun 2004, leon breedt wrote:
> 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?
This is a behavior change to make ps/2 keyboards work on dells, according
to alfred. You'll need to change this line in your hints file:
hint.atkbd.0.flags="0"
Make it ="1" and you should work again.
--
Doug White | FreeBSD: The Power to Serve
dwhite@gumbysoft.com | www.FreeBSD.org
------------------------------
Message: 17
Date: Mon, 21 Jun 2004 17:15:09 -0700 (PDT)
From: Matthew Dillon <dillon@apollo.backplane.com>
Subject: Re: read vs. mmap (or io vs. page faults)
To: Mikhail Teterin <Mikhail.Teterin@Murex.com>
Cc: questions@freebsd.org
Message-ID: <200406220015.i5M0F9br036789@apollo.backplane.com>
:The mmap interface is supposed to be more efficient -- theoreticly --
:because it requires one less buffer-copying, and because it (together
:with the possible madvise()) provides the kernel with more information
:thus enabling it to make better (at least -- no worse) decisions.
Well, I think you forgot my earlier explanation regarding buffer copying.
Buffer copying is a very cheap operation if it occurs within the L1 or
L2 cache, and that is precisely what is happening when you read() into
a fixed buffer in a loop in a C program... your buffer is fixed in
memory and is almost guarenteed to be in the L1/L2 cache, which means
that the extra copy operation is very fast on a modern processor. It's
something like 12-16 GBytes/sec to the L1 cache on an Athlon 64, for
example, and 3 GBytes/sec uncached to main memory.
Consider the cpu time cost, then, of the local copy on a 2GB file...
the cpu time cost on an AMD64 is about 2/12 of one second. This is
the number mmap would have to beat.
As you can see by your timing results, even on your fastest box,
processing a file around that size is only going to incur 1-2 seconds
of real time overhead to do the extra buffer copy. 2 seconds is a hard
number to beat.
This is something you can calculate yourself. Time a dd from /dev/zero
to /dev/null.
crater# dd if=/dev/zero of=/dev/null bs=32k count=8192
268435456 bytes transferred in 0.244561 secs (1097620804 bytes/sec)
amd64# dd if=/dev/zero of=/dev/null bs=32k count=8192
268435456 bytes transferred in 0.066994 secs (4006846790 bytes/sec)
amd64# dd if=/dev/zero of=/dev/null bs=16m count=32
536870912 bytes transferred in 0.431774 secs (1243407512 bytes/sec)
Try it for different buffer sizes (16K through 16MB) and you will get
a feel for how the L1 and L2 caches effect copying bandwidth. These
numbers are reasonably close to the raw memory bandwidth available to
the cpu (and will be different depending on whether the buffer fits in
the L1 or L2 caches, or doesn't fit at all).
The mmap interface is not supposed to be more efficient, per say. Why
would it be? There are overheads involved with mapping the page table
entries and taking faults to map more. Even if you pre-mapped everything,
there are still overheads involved in populating the page table and
performing invlpg operations on the TLB to reload the entry, and for
large data sets there is overhead involved with removing page table
entries and invalidating the pte. On a modern cpu, where an L1 cache
copy is a two cycle streaming operation, the several hundred (or more)
cycles it takes to process a page fault or even just populate the
page table is equivalent to a lot of copied bytes.
This immediately puts mmap() at a disadvantage on a modern cpu, but of
course it also depends on what the data processing loop itself is
doing. If the data processing loop is sensitive to the L1 cache then
processing larger chunks of data is going to be make it more efficient,
and mmap() can certainly provide that where read() might require buffers
too large to fit comfortably in the L1/L2 cache. On the otherhand, if
the processing loop is relatively insensitive to the L1 cache (i.e. its
small), then you can afford to process the data in smaller chunks, like
16K, without any significant penalty.
mmap() is not designed to streamline large demand-page reads of data
sets much larger then main memory. mmap() works best for data that
is already cached in the kernel, and even then it still has a fairly
large hurdle to overcome vs a streaming read(). This is a HARDWARE
limitation. Drastic action would have to be taken in software to get
rid of this overhead (we'd have to use 4MB page table entries, which
come with their own problems).
The overhead required to manage a large mmap'd data set can skyrocket.
FreeBSD (and DragonFly) have heuristics that attempt to detect
sequential operations like this with mmap'd data and to depress the
page priority behind the read (so: read-ahead and depress-behind), and
this works, but it only mitigates the additional overhead some, it
doesn't get rid of it.
For linear processing of large data sets you almost universally want
to use a read() loop. There's no good reason to use mmap().
:=: read: 10.619u 23.814s 1:17.67 44.3% 62+274k 11255+0io 0pf+0w
:=
:Well, now we are venturing into the domain of humans' subjective
:perception... I'd say, 12% is plenty, actually. This is what some people
:achieve by rewriting stuff in assembler -- and are proud, when it works
::-)
Nobody is going to stare at their screen for one minute and 17 seconds
and really care that something might take one minute and 27 seconds instea
d
of one minute and 17 seconds. That's subjective truth.
The type of test you want to do is this:
[start timing]
[read all data into memory]
[stop timing] -> print timing results
[start timing]
[process all data]
[stop timing] -> print timing results
Now you have something practical you can look at... you can look at the
I/O bandwidth required to bring the data into memory without the
complications of whatever processing you are doing on the data being
mixed in. *THEN* you can say something more definitive about the
kernel overhead required to get the data into memory first, because
you can definitely say what the 'bandwidth', or data rate, has been
achieved in getting the data from the disk or kernel caches into
your program's memory space (faulted in and everything, ready to access).
You could then compare that to the times required to do it in a mixed
environment (read-processing loop). If *THOSE* numbers are hugely
different then you can say something definitive about the relative
efficiency of the mixed mode processing verses just doing pure I/O,
for both read() and mmap() independantly.
:...
:Put it into perspective -- 10-15% is usually the difference between
:the latest processor and the previous one. People are willing to pay
:hundreds of dollars premium...
15% is nothing anyone cares about except perhaps gamers. I certainly
couldn't care less about 15%. 50%, on the otherhand, is something
that I would care about. But upgrading isn't just a function of raw
cpu speed, it's also a function of general improvements in hardware
and hardware interfaces... usb, usb2, firewire, sata, and so forth.
:...
:Besides, the differences can be higher. Here is from md5-ing a
:2097272832-bytes file over NFS (on a Gigabit network, no jumbo frames).
:The machine runs a FreeBSD-current on a single P4 2GHz:
:
: mmap1: 17.115u 16.106s 2:20.84 23.5% 5+166k 0+0io 253421pf+0w
: read1: 19.468u 12.179s 1:27.80 36.0% 4+163k 0+0io 0pf+0w
: mmap2: 17.214u 13.265s 2:13.75 22.7% 5+165k 1+0io 204842pf+0w
: read2: 19.142u 11.576s 1:20.22 38.2% 4+162k 0+0io 4pf+0w
:
:mmap is 87% slower (or read is 38% faster)! According to `systat -if',
:mmap was reading at about 13Mb/s, while read was consistently above
:20Mb/s.
:
:If this mmap-associated penalty is removed, the applications can save
:some memory by not using the BUFSIZ (or bigger) buffers, and the
:systems can save the time and effort of shuffling the memory from
:kernel buffers into user space (and flushing the instruction and data
:caches). The difference can be big -- on a CPU bound machine the sum
:of user time and system time is much smaller with mmap. For example,
:on this Solaris box running on Sparc-900MHz md5-ing a 16061698048-byte
:file (FreeBSD behaves similarly on the P2 400MHz reported earlier):
:
: mmap: 215.290u 48.990s 7:18.81 60.2% 0+0k 0+0io 0pf+0w
: read: 184.240u 142.350s 5:46.31 94.3% 0+0k 0+0io 0pf+0w
: (264.28 vs. 326.59 CPU seconds)
:
:but read manages to saturate the CPU better -- 94% vs. 60% -- and win
:the "wall clock" race repeatedly...
:
:Yours,
:
: -mi
I think this points to inefficiencies in NFS's getpages() interface over
its read() interface. The read() interface (for NFS) definitely has bette
r
read-ahead characteristics. The NFS getpages() interface in FreeBSD
is about as primitive as it is possible to make it and still work, and
its only marginally better in DragonFly (we get rid of some KVM allocation
s
and deallocations). In fact, I don't even think the NFS getpages interfac
e
uses the IOD's like the read interface does. I think it might actually be
a synchronous interface.
It would be nice if someone were to improve the NFS getpages interface.
I might do it myself, if I can find the time down the road.
-Matt
Matthew Dillon
<dillon@backplane.com>
------------------------------
Message: 18
Date: Tue, 22 Jun 2004 02:41:36 +0200 (CEST)
From: Michael Reifenberger <mike@Reifenberger.com>
Subject: Re: _<service> users [Was: startup error for pflogd]
To: Max Laier <max@love2party.net>
Cc: freebsd-current@freebsd.org
Message-ID: <20040622023829.G11925@fw.reifenberger.com>
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
On Tue, 22 Jun 2004, Max Laier wrote:
..
> Okay, let's talk about this then: Any strong optionions one way or the other
?
>
> I think this is a bikeshed. There is no technical argument (to my knowledge)
> that suggests either. My vote is for "_<service>" to keep the diff down, but
> that is not an argument of course. Others have said that it:
> - helps to recognize system processes
> - helps to see "bad things" happening (1000 _pflogd is not a good sign)
> - resolves possible namespace problems
>
One technical argument could be that _<service> users would look like
RFC2782 DNS-SRV entries.
Bye/2
---
Michael Reifenberger, Business Development Manager SAP-Basis, Plaut Consulting
Comp: Michael.Reifenberger@plaut.de | Priv: Michael@Reifenberger.com
http://www.plaut.de | http://www.Reifenberger.com
------------------------------
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
End of freebsd-current Digest, Vol 66, Issue 4
**********************************************
--
[35mEvariste Galois[m:
[33m�����呛��樱������蔷������,����直前......[m
[m[35m�� ��源:������� bbs.ustc.edu.cn [FROM: 210.45.72.234][m