Message-ID: <4DTFAk$CG6@bbs.ustc.edu.cn>
Subject: freebsd-current Digest, Vol 71, Issue 3
Date: Mon, 02 Aug 2004 17:25:34 +0000
From: Galoisz.bbs@bbs.ustc.edu.cn (���博士)
Path: 74.82.202.154!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-cn.bbs.comp.unix.mbox.zip!g2news1.google.com!news2.google.com!newsfeed2.dallas1.level3.net!news.level3.com!zeus.visi.com!news-out.visi.com!green.octanews.net!news-out.octanews.net!news.glorb.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!feed2.newsreader.com!newsreader.com!maily.cic.tsinghua.edu.cn!netnews.sdu.edu.cn!USTC
Newsgroups: cn.bbs.comp.unix
Organization: 嫺�����
X-Filename: Unix/M.1091467534.A
Lines: 1756
Xref: 74.82.202.154 cn.bbs.comp.unix:1414
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. Watchdog timeouts with ACPI (Bill Moran)
2. linksys WMP54GS with project evil (toy@jtoy.net)
3. Re: /dev/null doesn't get created (Mark Murray)
4. Re: memory corruption/panic solved ("FAILURE - ATAPI_IDENTIFY
no interrupt") (Nate Lawson)
5. Re: make zh-xsim ports failed (Vanilla I. Shu)
6. Re: LPT interruptstorm (Ian FREISLICH)
7. upgrade of file(1) to 4.10 (including FreeBSD elf(5) fixes)
(Oliver Eikemeier)
8. Re: Upgrading to net/openldap22-sasl-server giving fits
(Oliver Eikemeier)
9. No new snapshot of 5-CURRENT anymore? (Rostislav Krasny)
10. Re: upgrade of file(1) to 4.10 (including FreeBSD elf(5)
fixes) (Jon Noack)
11. Re: nvidia binary drivers no longer work (Daniel Eischen)
12. Re: nvidia binary drivers no longer work (Daniel Eischen)
13. Re: Buildkernel+ALTQ error (Dan Cojocar)
14. Re: LPT interruptstorm (Antony T Curtis)
15. Re: No new snapshot of 5-CURRENT anymore? (Will Andrews)
16. Re: Buildkernel+ALTQ error (Max Laier)
17. Re: nvidia binary drivers no longer work (Doug Rabson)
18. Re: nvidia binary drivers no longer work (Doug Rabson)
19. Re: nvidia binary drivers no longer work (Doug Rabson)
20. Re: nvidia binary drivers no longer work (Doug Rabson)
21. Re: upgrade of file(1) to 4.10 (including FreeBSD elf(5)
fixes) (Oliver Eikemeier)
22. Re: upgrade of file(1) to 4.10 (including FreeBSD elf(5)
fixes) (Jon Noack)
23. Re: No new snapshot of 5-CURRENT anymore? (Rostislav Krasny)
24. [current tinderbox] failure on ia64/ia64 (FreeBSD Tinderbox)
25. Re: Unable to build new kernel with old gcc (WAS: RE:
Buildkernel+ALTQ error) (Alexander Kabaev)
26. kernel panic when accessing digi serial multi io.
(Klaus Robert Suetterlin)
27. [current tinderbox] failure on powerpc/powerpc (FreeBSD Tinderbox)
28. Re: Buildkernel+ALTQ error (Dan Cojocar)
29. Re: No new snapshot of 5-CURRENT anymore? (Will Andrews)
30. Re: Vinum status (Paul Mather)
31. Laptop Optical CD drive-Laptop 5.2.1 install (Tony Montana)
32. ATA driver races with interrupts (Ville-Pertti Keinonen)
33. Re: nvidia binary drivers no longer work (Thomas Quinot)
34. Repeatable Trap 12 on 07-29 kernel (Dan Nelson)
35. Re: Vinum status (Lukas Ertl)
----------------------------------------------------------------------
Message: 1
Date: Sun, 1 Aug 2004 10:12:16 -0400
From: Bill Moran <wmoran@potentialtech.com>
Subject: Watchdog timeouts with ACPI
To: current@freebsd.org
Message-ID: <20040801101216.3e70610f.wmoran@potentialtech.com>
Content-Type: text/plain; charset=US-ASCII
Just cvsupped current and rebuilt everything last night (July 31) and I
get watchdog timeouts on my NIC when ACPI is enabled. All seems to work
well with ACPI turned off.
dmesg is attached. Email me if there's any more information I can collect
to help get this working better. I'm not subscribed to current@, so
send it direct.
dmesg - with ACPI enabled:
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: Sat Jul 31 23:44:47 EDT 2004
root@paul.potentialtech.com:/usr/obj/usr/src/sys/GENERIC
WARNING: WITNESS option enabled, expect reduced performance.
mptable_probe: MP Config Table has bad signature: \^O8\^O
ACPI APIC Table: <Nvidia AWRDACPI>
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: AMD Athlon(tm) XP 2000+ (1664.16-MHz 686-class CPU)
Origin = "AuthenticAMD" Id = 0x662 Stepping = 2
Features=0x383fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
AMD Features=0xc0400000<AMIE,DSP,3DNow!>
real memory = 268369920 (255 MB)
avail memory = 252952576 (241 MB)
ioapic0 <Version 1.1> irqs 0-23 on motherboard
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <Nvidia AWRDACPI> on motherboard
acpi0: [GIANT-LOCKED]
acpi0: Power Button (fixed)
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x4008-0x400b on acpi0
cpu0: <ACPI CPU> on acpi0
acpi_button0: <Power Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
agp0: <NVIDIA nForce2 AGP Controller> mem 0xd0000000-0xd3ffffff at device 0.0 on pci0
pci0: <memory, RAM> at device 0.1 (no driver attached)
pci0: <memory, RAM> at device 0.2 (no driver attached)
pci0: <memory, RAM> at device 0.3 (no driver attached)
pci0: <memory, RAM> at device 0.4 (no driver attached)
pci0: <memory, RAM> at device 0.5 (no driver attached)
isab0: <PCI-ISA bridge> at device 1.0 on pci0
isa0: <ISA bus> on isab0
pci0: <serial bus, SMBus> at device 1.1 (no driver attached)
ohci0: <OHCI (generic) USB controller> mem 0xe0002000-0xe0002fff irq 22 at device 2.0 on pci0
ohci0: [GIANT-LOCKED]
usb0: OHCI version 1.0, legacy support
usb0: <OHCI (generic) USB controller> on ohci0
usb0: USB revision 1.0
uhub0: nVidia OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 3 ports with 3 removable, self powered
ohci1: <OHCI (generic) USB controller> mem 0xe0003000-0xe0003fff irq 21 at device 2.1 on pci0
ohci1: [GIANT-LOCKED]
usb1: OHCI version 1.0, legacy support
usb1: <OHCI (generic) USB controller> on ohci1
usb1: USB revision 1.0
uhub1: nVidia OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 3 ports with 3 removable, self powered
pci0: <serial bus, USB> at device 2.2 (no driver attached)
pci0: <multimedia, audio> at device 6.0 (no driver attached)
pcib1: <ACPI PCI-PCI bridge> at device 8.0 on pci0
pci1: <ACPI PCI bus> on pcib1
rl0: <RealTek 8139 10/100BaseTX> port 0x9000-0x90ff mem 0xdf000000-0xdf0000ff irq 19 at device 7.0 on pci1
miibus0: <MII bus> on rl0
rlphy0: <RealTek internal media interface> on miibus0
rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
rl0: Ethernet address: 00:50:bf:74:75:b8
rl0: [GIANT-LOCKED]
pci1: <network> at device 8.0 (no driver attached)
atapci0: <nVidia nForce2 UDMA133 controller> port 0xf000-0xf00f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 9.0 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
pcib2: <ACPI PCI-PCI bridge> at device 30.0 on pci0
pci2: <ACPI PCI bus> on pcib2
pci2: <display, VGA> at device 0.0 (no driver attached)
pci2: <display> at device 0.1 (no driver attached)
fdc0: <floppy drive controller> port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
sio0 port 0x3f8-0x3ff irq 4 on acpi0
sio0: type 16550A
sio1 port 0x2f8-0x2ff irq 3 on acpi0
sio1: type 16550A
ppc0 port 0x778-0x77b,0x378-0x37f irq 7 drq 3 on acpi0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/16 bytes threshold
ppbus0: <Parallel port bus> on ppc0
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: model IntelliMouse Explorer, device ID 4
orm0: <ISA Option ROM> at iomem 0xc0000-0xccfff on isa0
pmtimer0 on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
Timecounter "TSC" frequency 1664157139 Hz quality 800
Timecounters tick every 10.000 msec
ad0: 28629MB <WDC WD300BB-32CCB0> [58168/16/63] at ata0-master UDMA100
ATAPI_RESET time = 1620us
ata1-master: FAILURE - SETFEATURES SET TRANSFER MODE no interrupt
acd0: CDRW <LITE-ON LTR-48125W> at ata1-master BIOSPIO
Mounting root from ufs:/dev/ad0s2a
rl0: watchdog timeout
rl0: watchdog timeout
rl0: watchdog timeout
rl0: watchdog timeout
rl0: watchdog timeout
dmesg - with ACPI disabled
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: Sat Jul 31 23:44:47 EDT 2004
root@paul.potentialtech.com:/usr/obj/usr/src/sys/GENERIC
WARNING: WITNESS option enabled, expect reduced performance.
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: AMD Athlon(tm) XP 2000+ (1664.16-MHz 686-class CPU)
Origin = "AuthenticAMD" Id = 0x662 Stepping = 2
Features=0x383fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
AMD Features=0xc0400000<AMIE,DSP,3DNow!>
real memory = 268369920 (255 MB)
avail memory = 252964864 (241 MB)
mptable_probe: MP Config Table has bad signature: \^O8\^O
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Host to PCI bridge> at pcibus 0 on motherboard
pir0: <PCI Interrupt Routing Table: 11 Entries> on motherboard
pci0: <PCI bus> on pcib0
$PIR: No matching entry for 0.1.INTA
$PIR: No matching entry for 0.2.INTA
$PIR: No matching entry for 0.2.INTB
$PIR: No matching entry for 0.2.INTC
$PIR: No matching entry for 0.6.INTA
agp0: <NVIDIA nForce2 AGP Controller> mem 0xd0000000-0xd3ffffff at device 0.0 on pci0
pci0: <memory, RAM> at device 0.1 (no driver attached)
pci0: <memory, RAM> at device 0.2 (no driver attached)
pci0: <memory, RAM> at device 0.3 (no driver attached)
pci0: <memory, RAM> at device 0.4 (no driver attached)
pci0: <memory, RAM> at device 0.5 (no driver attached)
isab0: <PCI-ISA bridge> at device 1.0 on pci0
isa0: <ISA bus> on isab0
pci0: <serial bus, SMBus> at device 1.1 (no driver attached)
ohci0: <OHCI (generic) USB controller> mem 0xe0002000-0xe0002fff irq 5 at device 2.0 on pci0
ohci0: [GIANT-LOCKED]
usb0: OHCI version 1.0, legacy support
usb0: <OHCI (generic) USB controller> on ohci0
usb0: USB revision 1.0
uhub0: nVidia OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 3 ports with 3 removable, self powered
ohci1: <OHCI (generic) USB controller> mem 0xe0003000-0xe0003fff irq 11 at device 2.1 on pci0
ohci1: [GIANT-LOCKED]
usb1: OHCI version 1.0, legacy support
usb1: <OHCI (generic) USB controller> on ohci1
usb1: USB revision 1.0
uhub1: nVidia OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 3 ports with 3 removable, self powered
pci0: <serial bus, USB> at device 2.2 (no driver attached)
pci0: <multimedia, audio> at device 6.0 (no driver attached)
pcib1: <PCIBIOS PCI-PCI bridge> at device 8.0 on pci0
pci1: <PCI bus> on pcib1
rl0: <RealTek 8139 10/100BaseTX> port 0x9000-0x90ff mem 0xdf000000-0xdf0000ff irq 11 at device 7.0 on pci1
miibus0: <MII bus> on rl0
rlphy0: <RealTek internal media interface> on miibus0
rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
rl0: Ethernet address: 00:50:bf:74:75:b8
rl0: [GIANT-LOCKED]
pci1: <network> at device 8.0 (no driver attached)
atapci0: <nVidia nForce2 UDMA133 controller> port 0xf000-0xf00f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 9.0 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
pcib2: <PCI-PCI bridge> at device 30.0 on pci0
pci2: <PCI bus> on pcib2
pci2: <display, VGA> at device 0.0 (no driver attached)
pci2: <display> at device 0.1 (no driver attached)
cpu0 on motherboard
orm0: <ISA Option ROM> at iomem 0xc0000-0xccfff on isa0
pmtimer0 on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x64,0x60 on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: model IntelliMouse Explorer, device ID 4
fdc0: <Enhanced floppy controller (i82077, NE72065 or clone)> at port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/16 bytes threshold
ppbus0: <Parallel port bus> on ppc0
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
unknown: <PNP0303> can't assign resources (port)
unknown: <PNP0f13> can't assign resources (irq)
unknown: <PNP0501> can't assign resources (port)
unknown: <PNP0700> can't assign resources (port)
unknown: <PNP0401> can't assign resources (port)
unknown: <PNP0501> can't assign resources (port)
Timecounter "TSC" frequency 1664155573 Hz quality 800
Timecounters tick every 10.000 msec
ad0: 28629MB <WDC WD300BB-32CCB0> [58168/16/63] at ata0-master UDMA100
ATAPI_RESET time = 1630us
ata1-master: FAILURE - SETFEATURES SET TRANSFER MODE no interrupt
acd0: CDRW <LITE-ON LTR-48125W> at ata1-master BIOSPIO
Mounting root from ufs:/dev/ad0s2a
------------------------------
Message: 2
Date: Sun, 1 Aug 2004 12:37:04 -0400
From: toy@jtoy.net
Subject: linksys WMP54GS with project evil
To: freebsd-current@freebsd.org
Message-ID: <05409DCE-E3D9-11D8-8852-000393A80666@jtoy.net>
Content-Type: text/plain; charset=US-ASCII; format=flowed
has anyone got a linksys 54g card model WMP54GS to work on freebsd
5.2.1 with project evil, i got everything to compile, but when i set
ifconfig ndis0 192.168.0.22/25 ssid belkin54g it never connects to that
router and status is no carrier. I am close enough to the router and I
checked the settings like turning wep off to make sure they were the
same as my router, and they are, so I think it might be some driver
problem or something. Does anyone else have any other information?
thanks
Sincerely,
Jason
------------------------------
Message: 3
Date: Sun, 01 Aug 2004 19:25:34 +0100
From: Mark Murray <mark@grondar.org>
Subject: Re: /dev/null doesn't get created
To: dlt@mebtel.net
Cc: current@FreeBSD.ORG
Message-ID: <200408011825.i71IPZgG018406@grimreaper.grondar.org>
Derek Tattersall writes:
> CURRENT as of this morning dint'create /dev/null. My previous
> CURRENT, from July 25 created it fine so all was well.Can anybody
> offer me a clue as to what this is all about? I tried to figure out
> what causes /dev/null to get created, but was unsuccessful.
BOOBOO of mine. Please always check src/UPDATING for clues :-)
M
--
Mark Murray
iumop ap!sdn w,I idlaH
------------------------------
Message: 4
Date: Sun, 01 Aug 2004 17:05:19 -0700
From: Nate Lawson <nate@cryptography.com>
Subject: Re: memory corruption/panic solved ("FAILURE - ATAPI_IDENTIFY
no interrupt")
To: Brian Fundakowski Feldman <green@freebsd.org>
Cc: current@freebsd.org
Message-ID: <410D853F.6080704@cryptography.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Brian Fundakowski Feldman wrote:
> On Fri, Jul 30, 2004 at 03:48:52PM -0700, Nate Lawson wrote:
>>I've tracked down the source of the memory corruption in -current that
>>results when booting with various CD and DVD drives (especially the ones
>>that come with Thinkpads including T23, R32, T41, etc.) The panic is
>>obvious when running with INVARIANTS ("memory modified after free") but
>>not so obvious in other configurations. For instance, without
>>INVARIANTS, part of the rt_info structure is corrupted on my wireless
>>card, resulting in a panic during ifconfig on boot. This is likely the
>>source of other problems, including phk's ACPI panic (again, only
>>triggered when booting with the CD drive in the bay.)
>>
>>The root problem is that ata_timeout() fires and calls ata_pio_read()
>>which overwrites 512 bytes random memory. There are actually two bugs
>>here that overwrite memory. The code path is as follows:
>
> Good job identifying it more exactly. I decided it should just fundamentally
> be using GEOM primitives everywhere to move the solutions to all these
> side cases into where they're already handled generically... still think
> that's probably the right solution, but I'm glad to see this specific
> problem fixed.
I'm not sure if this is a troll or not but I'll answer it seriously.
GEOM and other upper layers are never the right place to handle error
recovery for transactions initiated at the lower layers (like this
device scan).
In every system I've seen, error recovery is the hardest part of storage
code to get right and is seldom well-tested. It's a very difficult
problem that involves a lot of careful fault injection/testing.
Divergence in hardware fault handling behavior only complicates things.
-Nate
------------------------------
Message: 5
Date: Mon, 2 Aug 2004 18:18:28 +0800
From: "Vanilla I. Shu" <vanilla@fatpipi.cirx.org>
Subject: Re: make zh-xsim ports failed
To: wsk <wsk@gddsn.org.cn>
Cc: current@freebsd.org
Message-ID: <20040802101828.GA6742@fatpipi.cirx.org>
Content-Type: text/plain; charset=big5
On Fri, Jul 30, 2004 at 05:47:38PM +0800, wsk wrote:
> hi,list:
> make xsim failled,it maybe related gcc imported???and any ideas?
how about upgrade your ports tree, and build it again?
I committed a patch yesterday.
--
vanilla@FreeBSD.org
------------------------------
Message: 6
Date: Mon, 02 Aug 2004 14:10:29 +0200
From: Ian FREISLICH <if@hetzner.co.za>
Subject: Re: LPT interruptstorm
To: "Willem Jan Withagen" <wjw@withagen.nl>
Cc: current@FreeBSD.ORG
Message-ID: <E1Brbe9-000Lok-00@hetzner.co.za>
"Willem Jan Withagen" wrote:
> From: "Ian FREISLICH" <if@hetzner.co.za>
> > "Willem Jan Withagen" wrote:
> > > Hi,
> > >
> > > Must be a FAQ, but I did not find anything ...
> > >
> > > When wanting to print thru /dev/lpt0 the kernel now starts to
> > > complain about interruptstorms. Something I can imagine, since
> > > printing can generate > 1000 ints/sec. Problem is that the
> > > current document (500k) is now printed at 100 interrupts/sec.
> > >
> > > That's going to take some time....
> > > How do I prevent this from happening?
> >
> > /etc/sysctl.conf: hw.intr_storm_threshold=2000
> >
> > OR
> >
> > /boot/device.hints: hint.ppc.0.flags="0x8"
> >
> > Make sure your bios is set to ecp/epp for the printer port, or the
> > second option will fail. A couple of people around here have also
> > suggested 'lptcontrol -e', but every time I've tried that (even with
> > lpd stopped) I get 'lptcontrol: open: Device busy'. I'm not sure
> > what keeps the printer port open other than lpd.
>
> Setting the sysctl worked. But now watching it with sysstat, I see
> that the interrupts go up as high as 65.000 ????
Yes, I was seeing ~43000/second on my PII. If you set the hint, I
think it will use DMA to do the transfer with periodic interrupts
to fill the buffer.
Ian
--
Ian Freislich
------------------------------
Message: 7
Date: Mon, 2 Aug 2004 14:15:59 +0200
From: Oliver Eikemeier <eikemeier@fillmore-labs.com>
Subject: upgrade of file(1) to 4.10 (including FreeBSD elf(5) fixes)
To: current@freebsd.org
Cc: Edwin Groothuis <edwin@mavetju.org>
Message-ID: <B6D45422-E47D-11D8-9C56-00039312D914@fillmore-labs.com>
Content-Type: text/plain; charset=US-ASCII; format=flowed
I've prepared an upgrade to file-4.10 at:
<http://people.freebsd.org/~eik/patches/fileup.shar>
This fixes
PR bin/63830: [patch] file(1) doesn't recognize FreeBSD 5.x
executables properly
and an MFC will fix the problems of FreeBSD 4.10 being identified as
4.9.1. I'll do some more testing (GCC 3.4) and think we should commit
this before the 5.3 src freeze, especially since it has been discussed
over a month ago:
<http://lists.freebsd.org/pipermail/freebsd-
current/2004-June/thread.html#30172>
-Oliver
------------------------------
Message: 8
Date: Mon, 2 Aug 2004 14:50:36 +0200
From: Oliver Eikemeier <eikemeier@fillmore-labs.com>
Subject: Re: Upgrading to net/openldap22-sasl-server giving fits
To: Kirk Strauser <kirk@strauser.com>
Cc: freebsd-current@freebsd.org
Message-ID: <8C9CBFBF-E482-11D8-9C56-00039312D914@fillmore-labs.com>
Content-Type: text/plain; charset=US-ASCII; format=flowed
Kirk Strauser wrote:
> On Thursday 29 July 2004 13:21, Doug White wrote:
>
>> It would not suprise me if you need to dump + reload your database to
>> update to a new bdb schema in openldap2.2.
>
> <whine>But I don't WANT to reload my database!</whine>
Sorry, internal structures have changed. You *have to* use
slapcat/slapadd. That is why OpenLDAP 2.1 is still around, upgrading the
client part is pretty painless...
> Is there a generalized way to upgrade Berkeley databases? I tried to
> RTFDocs, but they seem to be aimed at BDB programmers ("Simply call the
> DB->transmogrify method...") instead of command-line users.
You can update the underlying Berkeley database, but this doesn't mean
OpenLDAP can still work with it. You can even use slapd-bdb(5) instead
of slapd-ldbm(5) when you use OpenLDAP 2.2 + BerkelyDB 4.2, but they are
not binary compatible.
I'll add an entry to ports/UPGRADING, since this seems to be a FAQ.
-Oliver
------------------------------
Message: 9
Date: Mon, 2 Aug 2004 05:55:35 -0700 (PDT)
From: Rostislav Krasny <rosti_bsd@yahoo.com>
Subject: No new snapshot of 5-CURRENT anymore?
To: freebsd-current@freebsd.org
Message-ID: <20040802125535.15901.qmail@web14825.mail.yahoo.com>
Content-Type: text/plain; charset=us-ascii
Hello there.
Sometimes I'm trying new snapshots of 5-CURRENT from
ftp://current.freebsd.org/pub/FreeBSD/snapshots/i386/ on my box. The
latest snapshot of 5-CURRENT there is 5.2-CURRENT-20040710-JPSNAP now;
i.e. there was no new snapshot for about a month. May it be some
problem of the building machine? According to the build logs from
ftp://current.freebsd.org/pub/FreeBSD/snapshots/i386/log/ there always
was the same problem until today:
cc -O -pipe -I. -DIN_GCC -DHAVE_CONFIG_H -DPREFIX=\"/usr\"
-I/usr/obj/usr/src/gnu/usr.bin/cc/cc_tools/../cc_tools
-I/usr/src/gnu/usr.bin/cc/cc_tools/../cc_tools
-I/usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc
-I/usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/config
-DGENERATOR_FILE -I/usr/obj/usr/src/i386/legacy/usr/include
-L/usr/obj/usr/src/i386/legacy/usr/lib -o genattrtab genattrtab.o rtl.o
print-rtl.o bitmap.o gensupport.o ggc-none.o read-rtl.o
insn-conditions.o genautomata.o varray.o min-insn-modes.o libiberty.a
-lm
/usr/lib/libm.so: undefined reference to `__isnanl'
collect2: ld returned 1 exit status
Does somebody know when building of the snapshots will be
reconditioned?
Thanks
P.S. I've heard about code freeze in about 2 weeks. It would be a good
thing to have new snapshots before the code freeze.
_______________________________
Do you Yahoo!?
Express yourself with Y! Messenger! Free. Download now.
http://messenger.yahoo.com
------------------------------
Message: 10
Date: Mon, 02 Aug 2004 07:59:14 -0500
From: Jon Noack <noackjr@alumni.rice.edu>
Subject: Re: upgrade of file(1) to 4.10 (including FreeBSD elf(5)
fixes)
To: Oliver Eikemeier <eikemeier@fillmore-labs.com>
Cc: Edwin Groothuis <edwin@mavetju.org>
Message-ID: <410E3AA2.4030800@alumni.rice.edu>
Content-Type: text/plain; charset=us-ascii; format=flowed
On 08/02/04 07:15, Oliver Eikemeier wrote:
> I've prepared an upgrade to file-4.10 at:
>
> <http://people.freebsd.org/~eik/patches/fileup.shar>
>
> This fixes
>
> PR bin/63830: [patch] file(1) doesn't recognize FreeBSD 5.x
> executables properly
>
> and an MFC will fix the problems of FreeBSD 4.10 being identified as
> 4.9.1. I'll do some more testing (GCC 3.4) and think we should commit
> this before the 5.3 src freeze, especially since it has been discussed
> over a month ago:
> <http://lists.freebsd.org/pipermail/freebsd-current/2004-June/thread.html#30172>
*sigh* Why does Christos Zoulas ignore me? He keeps telling me he'll
include my patch and then includes someone else's that doesn't fix the
problems. In any case, my patch (against file 4.09) to fix the versioning:
http://www.noacks.org/freebsd/readelf.c.diff
I made a test program to compare the output. Here's the way things
would look with file 4.10:
http://www.noacks.org/freebsd/output-4.10.txt
Note that 5.x is hardcoded as -CURRENT. This is asking to be fixed in a
few months when 5.x goes -STABLE and 6.x appears. Better not to print
branch names at all (for dev branches I just print the whole version
value in parentheses). There are other minor nits like 5.0.4 and 4.15.30...
Here's the output of my patch:
http://www.noacks.org/freebsd/output.txt
My version is highly accurate for every version we've had so far and
I've even checked with re@ to ensure it'll be accurate in the future.
It won't need to be fixed in a few months.
Here's to resubmitting for file 4.11...
Jon
------------------------------
Message: 11
Date: Mon, 2 Aug 2004 08:59:52 -0400 (EDT)
From: Daniel Eischen <eischen@vigrid.com>
Subject: Re: nvidia binary drivers no longer work
To: Doug Rabson <dfr@nlsystems.com>
Cc: freebsd-current@freebsd.org
Message-ID:
<Pine.GSO.4.10.10408020859210.10887-100000@pcnet5.pcnet.com>
Content-Type: TEXT/PLAIN; charset=US-ASCII
On Mon, 2 Aug 2004, Doug Rabson wrote:
> On Sunday 01 August 2004 19:45, Stefan Ehmann wrote:
> > After today's cvsup the system freezes when I try to start X using
> > the nvidia binary driver. The nv driver still works.
> >
> > ~1 week old kernel doesn't have this problem.
>
> If you can be patient, there will be a new release of the nvidia binary
> driver fairly soon (which also supports libpthread and libthr).
With TLS support? :-)
--
Dan Eischen
------------------------------
Message: 12
Date: Mon, 2 Aug 2004 08:59:52 -0400 (EDT)
From: Daniel Eischen <eischen@vigrid.com>
Subject: Re: nvidia binary drivers no longer work
To: Doug Rabson <dfr@nlsystems.com>
Cc: freebsd-current@freebsd.org
Message-ID:
<Pine.GSO.4.10.10408020859210.10887-100000@pcnet5.pcnet.com>
Content-Type: TEXT/PLAIN; charset=US-ASCII
On Mon, 2 Aug 2004, Doug Rabson wrote:
> On Sunday 01 August 2004 19:45, Stefan Ehmann wrote:
> > After today's cvsup the system freezes when I try to start X using
> > the nvidia binary driver. The nv driver still works.
> >
> > ~1 week old kernel doesn't have this problem.
>
> If you can be patient, there will be a new release of the nvidia binary
> driver fairly soon (which also supports libpthread and libthr).
With TLS support? :-)
--
Dan Eischen
------------------------------
Message: 13
Date: Mon, 2 Aug 2004 16:00:35 +0300
From: Dan Cojocar <dan.cojocar@gmail.com>
Subject: Re: Buildkernel+ALTQ error
To: Max Laier <max@love2party.net>
Cc: freebsd-current@freebsd.org
Message-ID: <b37cb097040802060066889cad@mail.gmail.com>
Content-Type: text/plain; charset=US-ASCII
> Uhm, well ... attached diff should fix this, but I still think that your build
> environment is somehow defective as the required headers would be pulled in
> via the following - certainly discussable - include chain:
> net/if.h -> _KERNEL => net/if_var.h -> altq/if_altq.h -> sys/lock.h & mutex.h
>
> I have to clean that up and add lock headers where needed. Can you meanwhile
> check out if that helps and/or if a #make installincludes helps? Thanks.
I just did a cvsup; make clean twice; make buildworld; make
installincludes; make buildkernel and got the same error :(
then installed you patch and make a build kernel and i got the same error :(
What else could i try?
Thanks,
Dan
------------------------------
Message: 14
Date: Mon, 02 Aug 2004 14:05:38 +0100
From: Antony T Curtis <antony.t.curtis@ntlworld.com>
Subject: Re: LPT interruptstorm
To: freebsd-current@freebsd.org
Message-ID: <1091451938.53960.13.camel@pcgem.rdg.cyberkinetica.com>
Content-Type: text/plain
On Mon, 2004-08-02 at 13:10, Ian FREISLICH wrote:
> "Willem Jan Withagen" wrote:
> > From: "Ian FREISLICH" <if@hetzner.co.za>
> > > "Willem Jan Withagen" wrote:
> > > > Hi,
> > > >
> > > > Must be a FAQ, but I did not find anything ...
> > > >
> > > > When wanting to print thru /dev/lpt0 the kernel now starts to
> > > > complain about interruptstorms. Something I can imagine, since
> > > > printing can generate > 1000 ints/sec. Problem is that the
> > > > current document (500k) is now printed at 100 interrupts/sec.
> > > >
> > > > That's going to take some time....
> > > > How do I prevent this from happening?
> > >
> > > /etc/sysctl.conf: hw.intr_storm_threshold=2000
> > >
> > > OR
> > >
> > > /boot/device.hints: hint.ppc.0.flags="0x8"
> > >
> > > Make sure your bios is set to ecp/epp for the printer port, or the
> > > second option will fail. A couple of people around here have also
> > > suggested 'lptcontrol -e', but every time I've tried that (even with
> > > lpd stopped) I get 'lptcontrol: open: Device busy'. I'm not sure
> > > what keeps the printer port open other than lpd.
> >
> > Setting the sysctl worked. But now watching it with sysstat, I see
> > that the interrupts go up as high as 65.000 ????
>
> Yes, I was seeing ~43000/second on my PII. If you set the hint, I
> think it will use DMA to do the transfer with periodic interrupts
> to fill the buffer.
For ECP, I think you would have to set a hint for DMA for it to work -
this is often configurable in the BIOS or may default to DMA 3
IIRC, EPP mode does have a 16 byte FIFO available which would also help
for those who cannot get ECP working.
I think within the next year or so, the venerable parallel port may go
away - replaced by USB. Long live the parallel port.
--
Antony T Curtis, BSc. UNIX, Linux, *BSD, Networking
antony.t.curtis@ntlworld.com C++, J2EE, Perl, MySQL, Apache
IT Consultancy.
------------------------------
Message: 15
Date: Mon, 2 Aug 2004 08:05:55 -0500
From: Will Andrews <will@csociety.org>
Subject: Re: No new snapshot of 5-CURRENT anymore?
To: Rostislav Krasny <rosti_bsd@yahoo.com>
Cc: freebsd-current@freebsd.org
Message-ID: <20040802130555.GA35864@sirius.firepipe.net>
Content-Type: text/plain; charset="us-ascii"
On Mon, Aug 02, 2004 at 05:55:35AM -0700, Rostislav Krasny wrote:
> Sometimes I'm trying new snapshots of 5-CURRENT from
> ftp://current.freebsd.org/pub/FreeBSD/snapshots/i386/ on my box. The
> latest snapshot of 5-CURRENT there is 5.2-CURRENT-20040710-JPSNAP now;
> i.e. there was no new snapshot for about a month. May it be some
> problem of the building machine? According to the build logs from
> ftp://current.freebsd.org/pub/FreeBSD/snapshots/i386/log/ there always
> was the same problem until today:
Try here instead: http://snapshots.se.freebsd.org/
Regards,
--
wca
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20040802/1c8d60df/attachment-0001.bin
------------------------------
Message: 16
Date: Mon, 2 Aug 2004 15:08:36 +0200
From: Max Laier <max@love2party.net>
Subject: Re: Buildkernel+ALTQ error
To: freebsd-current@freebsd.org
Cc: Dan Cojocar <dan.cojocar@gmail.com>
Message-ID: <200408021508.43112.max@love2party.net>
Content-Type: text/plain; charset="iso-8859-1"
On Monday 02 August 2004 15:00, Dan Cojocar wrote:
> > Uhm, well ... attached diff should fix this, but I still think that your
> > build environment is somehow defective as the required headers would be
> > pulled in via the following - certainly discussable - include chain:
> > net/if.h -> _KERNEL => net/if_var.h -> altq/if_altq.h -> sys/lock.h &
> > mutex.h
> >
> > I have to clean that up and add lock headers where needed. Can you
> > meanwhile check out if that helps and/or if a #make installincludes
> > helps? Thanks.
>
> I just did a cvsup; make clean twice; make buildworld; make
> installincludes; make buildkernel and got the same error :(
> then installed you patch and make a build kernel and i got the same error
> :(
>
> What else could i try?
Okay :( ... if you got the *exact* same error, I am out of ideas. If, however,
you get the same error on another file (e.g. altq_hfsc.c) than it's
understood and I have work to do ... please cross-check and sorry for the
noise. I am still wondering why I can't reproduce it and why none of the
tinderboxes is catching it.
--
/"\ Best regards, | mlaier@freebsd.org
\ / Max Laier | ICQ #67774661
X http://pf4freebsd.love2party.net/ | mlaier@EFnet
/ \ ASCII Ribbon Campaign | Against HTML Mail and News
-------------- 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/20040802/0a931cc9/attachment-0001.bin
------------------------------
Message: 17
Date: Mon, 02 Aug 2004 14:12:58 +0100
From: Doug Rabson <dfr@nlsystems.com>
Subject: Re: nvidia binary drivers no longer work
To: Daniel Eischen <eischen@vigrid.com>
Cc: freebsd-current@freebsd.org
Message-ID: <1091452377.1381.4.camel@builder02.qubesoft.com>
Content-Type: text/plain
On Mon, 2004-08-02 at 13:59, Daniel Eischen wrote:
> On Mon, 2 Aug 2004, Doug Rabson wrote:
>
> > On Sunday 01 August 2004 19:45, Stefan Ehmann wrote:
> > > After today's cvsup the system freezes when I try to start X using
> > > the nvidia binary driver. The nv driver still works.
> > >
> > > ~1 week old kernel doesn't have this problem.
> >
> > If you can be patient, there will be a new release of the nvidia binary
> > driver fairly soon (which also supports libpthread and libthr).
>
> With TLS support? :-)
Oh yes :-)
I'm going to be merging the TLS code into current over the next few days
in fact.
------------------------------
Message: 18
Date: Mon, 02 Aug 2004 14:12:58 +0100
From: Doug Rabson <dfr@nlsystems.com>
Subject: Re: nvidia binary drivers no longer work
To: Daniel Eischen <eischen@vigrid.com>
Cc: freebsd-current@freebsd.org
Message-ID: <1091452377.1381.4.camel@builder02.qubesoft.com>
Content-Type: text/plain
On Mon, 2004-08-02 at 13:59, Daniel Eischen wrote:
> On Mon, 2 Aug 2004, Doug Rabson wrote:
>
> > On Sunday 01 August 2004 19:45, Stefan Ehmann wrote:
> > > After today's cvsup the system freezes when I try to start X using
> > > the nvidia binary driver. The nv driver still works.
> > >
> > > ~1 week old kernel doesn't have this problem.
> >
> > If you can be patient, there will be a new release of the nvidia binary
> > driver fairly soon (which also supports libpthread and libthr).
>
> With TLS support? :-)
Oh yes :-)
I'm going to be merging the TLS code into current over the next few days
in fact.
------------------------------
Message: 19
Date: Mon, 02 Aug 2004 14:14:56 +0100
From: Doug Rabson <dfr@nlsystems.com>
Subject: Re: nvidia binary drivers no longer work
To: Daniel Eischen <eischen@vigrid.com>
Cc: freebsd-current@freebsd.org
Message-ID: <1091452496.1381.6.camel@builder02.qubesoft.com>
Content-Type: text/plain
On Mon, 2004-08-02 at 14:12, Doug Rabson wrote:
> On Mon, 2004-08-02 at 13:59, Daniel Eischen wrote:
> > On Mon, 2 Aug 2004, Doug Rabson wrote:
> >
> > > On Sunday 01 August 2004 19:45, Stefan Ehmann wrote:
> > > > After today's cvsup the system freezes when I try to start X using
> > > > the nvidia binary driver. The nv driver still works.
> > > >
> > > > ~1 week old kernel doesn't have this problem.
> > >
> > > If you can be patient, there will be a new release of the nvidia binary
> > > driver fairly soon (which also supports libpthread and libthr).
> >
> > With TLS support? :-)
>
> Oh yes :-)
>
> I'm going to be merging the TLS code into current over the next few days
> in fact.
Oh, and it also runs ut2004 without crashing :-)
------------------------------
Message: 20
Date: Mon, 02 Aug 2004 14:14:56 +0100
From: Doug Rabson <dfr@nlsystems.com>
Subject: Re: nvidia binary drivers no longer work
To: Daniel Eischen <eischen@vigrid.com>
Cc: freebsd-current@freebsd.org
Message-ID: <1091452496.1381.6.camel@builder02.qubesoft.com>
Content-Type: text/plain
On Mon, 2004-08-02 at 14:12, Doug Rabson wrote:
> On Mon, 2004-08-02 at 13:59, Daniel Eischen wrote:
> > On Mon, 2 Aug 2004, Doug Rabson wrote:
> >
> > > On Sunday 01 August 2004 19:45, Stefan Ehmann wrote:
> > > > After today's cvsup the system freezes when I try to start X using
> > > > the nvidia binary driver. The nv driver still works.
> > > >
> > > > ~1 week old kernel doesn't have this problem.
> > >
> > > If you can be patient, there will be a new release of the nvidia binary
> > > driver fairly soon (which also supports libpthread and libthr).
> >
> > With TLS support? :-)
>
> Oh yes :-)
>
> I'm going to be merging the TLS code into current over the next few days
> in fact.
Oh, and it also runs ut2004 without crashing :-)
------------------------------
Message: 21
Date: Mon, 2 Aug 2004 15:20:27 +0200
From: Oliver Eikemeier <eikemeier@fillmore-labs.com>
Subject: Re: upgrade of file(1) to 4.10 (including FreeBSD elf(5)
fixes)
To: Jon Noack <noackjr@alumni.rice.edu>
Cc: Edwin Groothuis <edwin@mavetju.org>
Message-ID: <B87C9CC5-E486-11D8-9C56-00039312D914@fillmore-labs.com>
Content-Type: text/plain; charset=US-ASCII; format=flowed
Jon Noack wrote:
> [...]
> Note that 5.x is hardcoded as -CURRENT. This is asking to be fixed in
> a few months when 5.x goes -STABLE and 6.x appears. Better not to
> print branch names at all (for dev branches I just print the whole
> version value in parentheses). There are other minor nits like 5.0.4
> and 4.15.30...
Yes, you are right. At the time I've submitted the patch the point where
FreeBSD would go -STABLE wasn't known, and the branch names are inspired
by the output of uname(1). Anyway, this is a virgin import, and we
shouldn't patch the sources. I'm sure the 4.11 upgrade will be trivial
when we've done the 4.10 upgrade, and usually Christos is pretty
responsive. We can do an follow-up patch to 4.10 that we can discuss
here before submitting it upstream.
-Oliver
------------------------------
Message: 22
Date: Mon, 02 Aug 2004 08:34:55 -0500
From: Jon Noack <noackjr@alumni.rice.edu>
Subject: Re: upgrade of file(1) to 4.10 (including FreeBSD elf(5)
fixes)
To: Oliver Eikemeier <eikemeier@fillmore-labs.com>
Cc: Edwin Groothuis <edwin@mavetju.org>
Message-ID: <410E42FF.7030102@alumni.rice.edu>
Content-Type: text/plain; charset=us-ascii; format=flowed
On 08/02/04 08:20, Oliver Eikemeier wrote:
> Jon Noack wrote:
>> [...]
>> Note that 5.x is hardcoded as -CURRENT. This is asking to be fixed in
>> a few months when 5.x goes -STABLE and 6.x appears. Better not to
>> print branch names at all (for dev branches I just print the whole
>> version value in parentheses). There are other minor nits like 5.0.4
>> and 4.15.30...
>
> Yes, you are right. At the time I've submitted the patch the point where
> FreeBSD would go -STABLE wasn't known, and the branch names are inspired
> by the output of uname(1). Anyway, this is a virgin import, and we
> shouldn't patch the sources. I'm sure the 4.11 upgrade will be trivial
> when we've done the 4.10 upgrade, and usually Christos is pretty
> responsive. We can do an follow-up patch to 4.10 that we can discuss
> here before submitting it upstream.
Before I read this email I updated my patch (against 4.10) and
resubmitted for file 4.11:
http://www.noacks.org/freebsd/readelf.c.diff
Would anyone prefer different output? If not, it would be great if
someone could put in a good word for me with Christos... ;-)
For the time being, I say we go ahead and import file 4.10. As you say,
future updates should be trivial and getting the hard work out of the
way now makes it easier to get things done in the future (a 4.10->4.11
update is a lot easier to justify in a src freeze than 3.41->4.11 should
the timing come to that). I want proper version detection in 5.x-STABLE.
Jon
------------------------------
Message: 23
Date: Mon, 2 Aug 2004 06:37:09 -0700 (PDT)
From: Rostislav Krasny <rosti_bsd@yahoo.com>
Subject: Re: No new snapshot of 5-CURRENT anymore?
To: Will Andrews <will@csociety.org>
Cc: freebsd-current@freebsd.org
Message-ID: <20040802133709.61269.qmail@web14827.mail.yahoo.com>
Content-Type: text/plain; charset=us-ascii
--- Will Andrews <will@csociety.org> wrote:
> On Mon, Aug 02, 2004 at 05:55:35AM -0700, Rostislav Krasny wrote:
> > Sometimes I'm trying new snapshots of 5-CURRENT from
> > ftp://current.freebsd.org/pub/FreeBSD/snapshots/i386/ on my box.
> The
> > latest snapshot of 5-CURRENT there is 5.2-CURRENT-20040710-JPSNAP
> now;
> > i.e. there was no new snapshot for about a month. May it be some
> > problem of the building machine? According to the build logs from
> > ftp://current.freebsd.org/pub/FreeBSD/snapshots/i386/log/ there
> always
> > was the same problem until today:
>
> Try here instead: http://snapshots.se.freebsd.org/
Thank you very much!
Could you please tell more about how are they different from the JP
snapshots, except the building time? IMHO the
ftp://ftp.freebsd.org/pub/FreeBSD/snapshots/README.TXT should mention
your FTP server too. Or, are your snapshts not official?
__________________________________
Do you Yahoo!?
Yahoo! Mail is new and improved - Check it out!
http://promotions.yahoo.com/new_mail
------------------------------
Message: 24
Date: Mon, 2 Aug 2004 10:16:47 -0400 (EDT)
From: FreeBSD Tinderbox <tinderbox@freebsd.org>
Subject: [current tinderbox] failure on ia64/ia64
To: FreeBSD Tinderbox <tinderbox@freebsd.org>, <current@freebsd.org>,
<ia64@freebsd.org>
Message-ID: <20040802141647.E2AB77303F@freebsd-current.sentex.ca>
TB --- 2004-08-02 13:02:37 - tinderbox 2.3 running on freebsd-current.sentex.ca
TB --- 2004-08-02 13:02:37 - starting CURRENT tinderbox run for ia64/ia64
TB --- 2004-08-02 13:02:37 - cleaning the sandbox
TB --- 2004-08-02 13:03:54 - checking out the source tree
TB --- 2004-08-02 13:03:54 - cd /home/tinderbox/sandbox/CURRENT/ia64/ia64
TB --- 2004-08-02 13:03:54 - /usr/bin/cvs -f -R -Q -d/home/ncvs checkout -P -A src
TB --- 2004-08-02 13:11:42 - WARNING: /home/tinderbox/sandbox/ia64.diff does not exist
TB --- 2004-08-02 13:11:42 - building world (CFLAGS=-O -pipe)
TB --- 2004-08-02 13:11:42 - cd /home/tinderbox/sandbox/CURRENT/ia64/ia64/src
TB --- 2004-08-02 13:11:42 - /usr/bin/make -B buildworld
>>> Rebuilding the temporary build tree
>>> stage 1.1: legacy release compatibility shims
>>> stage 1.2: bootstrap tools
>>> stage 2.1: cleaning up the object tree
>>> stage 2.2: rebuilding the object tree
>>> stage 2.3: build tools
>>> stage 3: cross tools
>>> stage 4.1: building includes
>>> stage 4.2: building libraries
>>> stage 4.3: make dependencies
>>> stage 4.4: building everything
TB --- 2004-08-02 14:10:20 - building generic kernel (COPTFLAGS=-O -pipe)
TB --- 2004-08-02 14:10:20 - cd /home/tinderbox/sandbox/CURRENT/ia64/ia64/src
TB --- 2004-08-02 14:10:20 - /usr/bin/make buildkernel KERNCONF=GENERIC
>>> Kernel build for GENERIC started on Mon Aug 2 14:10:21 UTC 2004
>>> stage 1: configuring the kernel
>>> stage 2.1: cleaning up the object tree
>>> stage 2.2: rebuilding the object tree
>>> stage 2.3: build tools
>>> stage 3.1: making dependencies
>>> stage 3.2: building everything
[...]
/tinderbox/CURRENT/ia64/ia64/src/sys/ia64/ia64/mem.c:151: error: syntax error before "cdev"
/tinderbox/CURRENT/ia64/ia64/src/sys/ia64/ia64/mem.c: In function `memmmap':
/tinderbox/CURRENT/ia64/ia64/src/sys/ia64/ia64/mem.c:152: error: number of arguments doesn't match prototype
/machine/memdev.h:36: error: prototype declaration
/tinderbox/CURRENT/ia64/ia64/src/sys/ia64/ia64/mem.c:159: error: `dev' undeclared (first use in this function)
/tinderbox/CURRENT/ia64/ia64/src/sys/ia64/ia64/mem.c:165: error: `prot' undeclared (first use in this function)
/tinderbox/CURRENT/ia64/ia64/src/sys/ia64/ia64/mem.c:165: error: `offset' undeclared (first use in this function)
/tinderbox/CURRENT/ia64/ia64/src/sys/ia64/ia64/mem.c:167: error: `paddr' undeclared (first use in this function)
*** Error code 1
Stop in /tinderbox/CURRENT/ia64/ia64/obj/ia64/tinderbox/CURRENT/ia64/ia64/src/sys/GENERIC.
*** Error code 1
Stop in /tinderbox/CURRENT/ia64/ia64/src.
*** Error code 1
Stop in /tinderbox/CURRENT/ia64/ia64/src.
TB --- 2004-08-02 14:16:47 - WARNING: /usr/bin/make returned exit code 1
TB --- 2004-08-02 14:16:47 - ERROR: failed to build generic kernel
TB --- 2004-08-02 14:16:47 - tinderbox aborted
------------------------------
Message: 25
Date: Mon, 2 Aug 2004 14:18:08 +0000
From: Alexander Kabaev <kan@freebsd.org>
Subject: Re: Unable to build new kernel with old gcc (WAS: RE:
Buildkernel+ALTQ error)
To: Yuriy Tsibizov <Yuriy.Tsibizov@gfk.ru>
Cc: freebsd-current@freebsd.org
Message-ID: <20040802141808.GA46180@freefall.freebsd.org>
Content-Type: text/plain; charset=us-ascii
On Mon, Aug 02, 2004 at 11:45:04AM +0400, Yuriy Tsibizov wrote:
> You are building new kernel with old (Gcc 3.3.3) gcc that does not support this flags.
>
> You have to go back to rev. 1.54 of sys/conf/kern.pre.mk to build your kernel with gcc 3.3.3.
>
Building newer kernels with old GCC versions was never supported and no
effort was ever made to keep this path working. So the advice here is -
if it hurts, do not do that. Consider using make buildkernel/installkernel
you you need to compile a new kernel without installing whole new world
on your machine.
--
Alexander Kabaev
------------------------------
Message: 26
Date: Mon, 02 Aug 2004 16:27:54 +0200
From: Klaus Robert Suetterlin <robert@mpe.mpg.de>
Subject: kernel panic when accessing digi serial multi io.
To: freebsd-current@freebsd.org
Message-ID: <200408021427.i72ERsg6056692@robert2.mpe-garching.mpg.de>
Dear all,
I use a Digi Xem (16 serial ports) with FreeBSD Current.
geclab2# kldload digi
digi0 mem 0xb0800000-0xb0bfffff irq 30 at device 4.0 on pci0
digi0: Digiboard PCI PC/Xem ASIC, 16 ports found
This worked ok until I updated last week.
geclab2# uname -a
FreeBSD geclab2.cips.mpg.de 5.2-CURRENT FreeBSD 5.2-CURRENT #0: Thu Jul 29 17:14:49 CEST 2004 krs@geclab2.cips.mpg.de:/usr/obj/usr/src/sys/GECLAB2 i386
Now every time I access any serial port on the digi I get a kernel
panic. My normal (sio0, sio1) serial ports work ok. It's not
always the same panic but always about mutexes or Giant etc. Here
is one as an example:
geclab2# cu -l /dev/ttyD0.2
panicpanic: process 530(cu):2 holds Giant but isn't blocked on a lock
KDB: enter: panic
[thread 100006]
Stopped at kdb_enter+0x2b: nop
db> where
kdb_enter(c0632982) at kdb_enter+0x2b
panic(c063567d,212,c20be83c,2,c0642312) at panic+0xbb
propagate_priority(c1de3840,c068cc70,c0688aa0,c1de3840,c1dd8340) at propagate_pr
iority+0x142
turnstile_wait(c1dd8340,c0688aa0,c20bd2c0,c0688aa0,2,c0631d0e,212) at turnstile_
wait+0x2de
_mtx_lock_sleep(c0688aa0,0,c06302e4,21f) at _mtx_lock_sleep+0x11b
_mtx_lock_flags(c0688aa0,0,c06302e4,21f) at _mtx_lock_flags+0x83
ithread_loop(c1de0b80,d8f6bd48,c1de0b80,c04ae198,0) at ithread_loop+0x11c
fork_exit(c04ae198,c1de0b80,d8f6bd48) at fork_exit+0xa4
fork_trampoline() at fork_trampoline+0x8
--- trap 0x1, eip = 0, esp = 0xd8f6bd7c, ebp = 0 ---
I'm glad for any directions.
-- Robert S. <robert@mpe.mpg.de>
------------------------------
Message: 27
Date: Mon, 2 Aug 2004 10:33:50 -0400 (EDT)
From: FreeBSD Tinderbox <tinderbox@freebsd.org>
Subject: [current tinderbox] failure on powerpc/powerpc
To: FreeBSD Tinderbox <tinderbox@freebsd.org>, <current@freebsd.org>,
<powerpc@freebsd.org>
Message-ID: <20040802143350.D27B77303F@freebsd-current.sentex.ca>
TB --- 2004-08-02 14:16:48 - tinderbox 2.3 running on freebsd-current.sentex.ca
TB --- 2004-08-02 14:16:48 - starting CURRENT tinderbox run for powerpc/powerpc
TB --- 2004-08-02 14:16:48 - cleaning the sandbox
TB --- 2004-08-02 14:18:00 - checking out the source tree
TB --- 2004-08-02 14:18:00 - cd /home/tinderbox/sandbox/CURRENT/powerpc/powerpc
TB --- 2004-08-02 14:18:00 - /usr/bin/cvs -f -R -Q -d/home/ncvs checkout -P -A src
TB --- 2004-08-02 14:25:54 - WARNING: /home/tinderbox/sandbox/powerpc.diff does not exist
TB --- 2004-08-02 14:25:54 - building world (CFLAGS=-O -pipe)
TB --- 2004-08-02 14:25:54 - cd /home/tinderbox/sandbox/CURRENT/powerpc/powerpc/src
TB --- 2004-08-02 14:25:54 - /usr/bin/make -B buildworld
>>> Rebuilding the temporary build tree
>>> stage 1.1: legacy release compatibility shims
>>> stage 1.2: bootstrap tools
>>> stage 2.1: cleaning up the object tree
>>> stage 2.2: rebuilding the object tree
>>> stage 2.3: build tools
>>> stage 3: cross tools
>>> stage 4.1: building includes
>>> stage 4.2: building libraries
[...]
cc -fpic -DPIC -O -pipe -I/tinderbox/CURRENT/powerpc/powerpc/src/kerberos5/lib/libasn1/../../../crypto/heimdal/lib/asn1 -I/tinderbox/CURRENT/powerpc/powerpc/src/kerberos5/lib/libasn1/../../../crypto/heimdal/lib/roken -I. -DHAVE_CONFIG_H -I/tinderbox/CURRENT/powerpc/powerpc/src/kerberos5/lib/libasn1/../../include -DINET6 -c asn1_TGS_REP.c -o asn1_TGS_REP.So
cc -fpic -DPIC -O -pipe -I/tinderbox/CURRENT/powerpc/powerpc/src/kerberos5/lib/libasn1/../../../crypto/heimdal/lib/asn1 -I/tinderbox/CURRENT/powerpc/powerpc/src/kerberos5/lib/libasn1/../../../crypto/heimdal/lib/roken -I. -DHAVE_CONFIG_H -I/tinderbox/CURRENT/powerpc/powerpc/src/kerberos5/lib/libasn1/../../include -DINET6 -c asn1_TGS_REQ.c -o asn1_TGS_REQ.So
cc -fpic -DPIC -O -pipe -I/tinderbox/CURRENT/powerpc/powerpc/src/kerberos5/lib/libasn1/../../../crypto/heimdal/lib/asn1 -I/tinderbox/CURRENT/powerpc/powerpc/src/kerberos5/lib/libasn1/../../../crypto/heimdal/lib/roken -I. -DHAVE_CONFIG_H -I/tinderbox/CURRENT/powerpc/powerpc/src/kerberos5/lib/libasn1/../../include -DINET6 -c asn1_Ticket.c -o asn1_Ticket.So
cc -fpic -DPIC -O -pipe -I/tinderbox/CURRENT/powerpc/powerpc/src/kerberos5/lib/libasn1/../../../crypto/heimdal/lib/asn1 -I/tinderbox/CURRENT/powerpc/powerpc/src/kerberos5/lib/libasn1/../../../crypto/heimdal/lib/roken -I. -DHAVE_CONFIG_H -I/tinderbox/CURRENT/powerpc/powerpc/src/kerberos5/lib/libasn1/../../include -DINET6 -c asn1_TicketFlags.c -o asn1_TicketFlags.So
cc -fpic -DPIC -O -pipe -I/tinderbox/CURRENT/powerpc/powerpc/src/kerberos5/lib/libasn1/../../../crypto/heimdal/lib/asn1 -I/tinderbox/CURRENT/powerpc/powerpc/src/kerberos5/lib/libasn1/../../../crypto/heimdal/lib/roken -I. -DHAVE_CONFIG_H -I/tinderbox/CURRENT/powerpc/powerpc/src/kerberos5/lib/libasn1/../../include -DINET6 -c asn1_TransitedEncoding.c -o asn1_TransitedEncoding.So
cc -fpic -DPIC -O -pipe -I/tinderbox/CURRENT/powerpc/powerpc/src/kerberos5/lib/libasn1/../../../crypto/heimdal/lib/asn1 -I/tinderbox/CURRENT/powerpc/powerpc/src/kerberos5/lib/libasn1/../../../crypto/heimdal/lib/roken -I. -DHAVE_CONFIG_H -I/tinderbox/CURRENT/powerpc/powerpc/src/kerberos5/lib/libasn1/../../include -DINET6 -c asn1_UNSIGNED.c -o asn1_UNSIGNED.So
building shared library libasn1.so.7
Abort trap (core dumped)
*** Error code 134
Stop in /tinderbox/CURRENT/powerpc/powerpc/src/kerberos5/lib/libasn1.
*** Error code 1
Stop in /tinderbox/CURRENT/powerpc/powerpc/src.
*** Error code 1
Stop in /tinderbox/CURRENT/powerpc/powerpc/src.
*** Error code 1
Stop in /tinderbox/CURRENT/powerpc/powerpc/src.
*** Error code 1
Stop in /tinderbox/CURRENT/powerpc/powerpc/src.
TB --- 2004-08-02 14:33:50 - WARNING: /usr/bin/make returned exit code 1
TB --- 2004-08-02 14:33:50 - ERROR: failed to build world
TB --- 2004-08-02 14:33:50 - tinderbox aborted
------------------------------
Message: 28
Date: Mon, 2 Aug 2004 17:48:07 +0300
From: Dan Cojocar <dan.cojocar@gmail.com>
Subject: Re: Buildkernel+ALTQ error
To: Max Laier <max@love2party.net>
Cc: freebsd-current@freebsd.org
Message-ID: <b37cb09704080207482434d529@mail.gmail.com>
Content-Type: text/plain; charset=US-ASCII
On Mon, 2 Aug 2004 15:08:36 +0200, Max Laier <max@love2party.net> wrote:
>
>
> On Monday 02 August 2004 15:00, Dan Cojocar wrote:
> > > Uhm, well ... attached diff should fix this, but I still think that your
> > > build environment is somehow defective as the required headers would be
> > > pulled in via the following - certainly discussable - include chain:
> > > net/if.h -> _KERNEL => net/if_var.h -> altq/if_altq.h -> sys/lock.h &
> > > mutex.h
> > >
> > > I have to clean that up and add lock headers where needed. Can you
> > > meanwhile check out if that helps and/or if a #make installincludes
> > > helps? Thanks.
> >
> > I just did a cvsup; make clean twice; make buildworld; make
> > installincludes; make buildkernel and got the same error :(
> > then installed you patch and make a build kernel and i got the same error
> > :(
> >
> > What else could i try?
>
> Okay :( ... if you got the *exact* same error, I am out of ideas. If, however,
> you get the same error on another file (e.g. altq_hfsc.c) than it's
> understood and I have work to do ... please cross-check and sorry for the
> noise. I am still wondering why I can't reproduce it and why none of the
> tinderboxes is catching it.
>
I decided to build a kernel without altq, i removed altq from my
config, did a rm -fR /usr/obj; buildworld, and on buildkernel i got
this error:
cc -c -O -pipe -march=athlon-xp -Wall -Wredundant-decls
-Wnested-externs -Wstrict-prototypes -Wmissing-prototypes
-Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -g
-nostdinc -I- -I. -I/usr/src/sys -I/usr/src/sys/contrib/dev/acpica
-I/usr/src/sys/contrib/altq -I/usr/src/sys/contrib/ipfilter
-I/usr/src/sys/contrib/pf -I/usr/src/sys/contrib/dev/ath
-I/usr/src/sys/contrib/dev/ath/freebsd -I/usr/src/sys/contrib/ngatm
-D_KERNEL -include opt_global.h -fno-common -finline-limit=8000
--param inline-unit-growth=100 --param large-function-growth=1000
-mno-align-long-strings -mpreferred-stack-boundary=2 -ffreestanding
-Werror /usr/src/sys/dev/ata/ata-all.c
/usr/src/sys/dev/ata/ata-all.c: In function `ata_ioctl':
/usr/src/sys/dev/ata/ata-all.c:536: warning: implicit declaration of
function `_mtx_assert'
/usr/src/sys/dev/ata/ata-all.c:536: warning: nested extern declaration
of `_mtx_assert'
/usr/src/sys/dev/ata/ata-all.c:536: error: `MA_NOTOWNED' undeclared
(first use in this function)
/usr/src/sys/dev/ata/ata-all.c:536: error: (Each undeclared identifier
is reported only once
/usr/src/sys/dev/ata/ata-all.c:536: error: for each function it appears in.)
*** Error code 1
Now i think that is something wrong with my config, but i don't
understant what :(, i'm using the same configuration for some time now
and i didn't have errors like this. I will try make a clean cvsup in
another dir maybe i will notice the differences.
Thanks,
Dan
------------------------------
Message: 29
Date: Mon, 2 Aug 2004 09:58:39 -0500
From: Will Andrews <will@csociety.org>
Subject: Re: No new snapshot of 5-CURRENT anymore?
To: Rostislav Krasny <rosti_bsd@yahoo.com>
Cc: freebsd-current@freebsd.org
Message-ID: <20040802145839.GC35864@sirius.firepipe.net>
Content-Type: text/plain; charset="us-ascii"
On Mon, Aug 02, 2004 at 06:37:09AM -0700, Rostislav Krasny wrote:
> Could you please tell more about how are they different from the JP
> snapshots, except the building time? IMHO the
> ftp://ftp.freebsd.org/pub/FreeBSD/snapshots/README.TXT should mention
> your FTP server too. Or, are your snapshts not official?
*shrug* Not many people use the site yet & no one has approached
me about making them "official". The scripts are based on the JP
ones but have some modifications to improve them. I should point
out that although they build at a different time, the code (for
each day) is the same, since they're checked out from the
repository as of 00:00 on the day they are run.
Regards,
--
wca
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20040802/02337e0b/attachment-0001.bin
------------------------------
Message: 30
Date: Mon, 02 Aug 2004 11:35:47 -0400
From: Paul Mather <paul@gromit.dlib.vt.edu>
Subject: Re: Vinum status
To: Lukas Ertl <le@FreeBSD.org>
Cc: freebsd-current@FreeBSD.org
Message-ID: <1091460946.46029.22.camel@zappa.Chelsea-Ct.Org>
Content-Type: text/plain
On Thu, 2004-07-29 at 15:57, Lukas Ertl wrote:
> On Thu, 29 Jul 2004, Paul Mather wrote:
>
> > Does this imply that root-on-gvinum is working now? Last time I tried
> > it (shortly after gvinum was committed to the tree), it worked except
> > that only half of the drives, plexes, and volumes in my Vinum RAID 1
> > mirror were detected when the gvinum module read the configuration from
> > the drives during boot.
>
> I still didn't have a chance to build a root-on-gvinum setup, but I'd be
> happy if you could test it. It's quite likely that the errors were
> related.
I rebuilt my kernel+world as part of the GCC 3.4.2 import, and
re-attached my two root-on-vinum test drives. I dumped over the current
system to the vinum volumes and edited /etc/fstab for an all-vinum
setup.
I'm happy to report that the current geom_vinum kernel module
successfully detects all plexes during boot when loaded from
/boot/loader.conf. So, I now have a working root-on-gvinum setup
running (including swap-on-gvinum). Thanks!!
My only question is that although writes go to both disks in my mirrored
setup, reads are only done from one disk of the mirror. In my case, all
reads are always to drive ad2 of my ad0+ad2 mirror. This implies to me
a default "readpol prefer <someplex>" on my defined volumes rather than
the "readpol round" that appears to be the default under vinum. (At
least on my 4.10-STABLE system, both drives are used for reads, implying
a "readpol round" default behaviour.)
Does gvinum support "readpol round" or is it just that its default
differs from the old vinum? If the latter, is there a way to change the
read policy on a volume without deleting the old volume or otherwise
destroying its contents? The vinum configuration I'm using is an exact
duplicate of a 5.1-RELEASE system I created. That system (since
upgraded to 5.2.1-RELEASE-p9) also sends reads to both drives using
vinum.
Again, great job on the gvinum work! (Will you link the kernel module
into the normal kernel build? I forgot it wasn't the first time I built
my kernel, and had to go back and build manually the geom_vinum module
when I couldn't find it to load when at the boot loader prompt. Ditto
for including gvinum in the regular userland build process.)
Cheers,
Paul.
--
e-mail: paul@gromit.dlib.vt.edu
"Without music to decorate it, time is just a bunch of boring production
deadlines or dates by which bills must be paid."
--- Frank Vincent Zappa
------------------------------
Message: 31
Date: Mon, 2 Aug 2004 08:43:07 -0700 (PDT)
From: Tony Montana <tonymontanadea@yahoo.com>
Subject: Laptop Optical CD drive-Laptop 5.2.1 install
To: freebsd-current@freebsd.org
Message-ID: <20040802154307.73721.qmail@web20225.mail.yahoo.com>
Content-Type: text/plain; charset=us-ascii
Installtion cannot find CD/DVD media....after booting
from very same cd/dvd drive.
Tee drive is on a media base that connects over
firewire
Works fine in 4.x at every stage of the install and
use.
Do i need to enable something in the kernel before the
drive will work? What to do-thanks
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!
http://promotions.yahoo.com/new_mail
------------------------------
Message: 32
Date: Mon, 02 Aug 2004 19:15:09 +0300
From: Ville-Pertti Keinonen <will+freebsd-current@will.iki.fi>
Subject: ATA driver races with interrupts
To: freebsd-current@freebsd.org,S?ren Schmidt<sos@DeepCore.dk>
Message-ID: <410E688D.7020709@will.iki.fi>
Content-Type: text/plain; charset="iso-8859-1"
I've finally had time to track down a long-standing, easily repeatable
(on my system, anyhow) lockup.
When accessing two SATA disks on different channels of the same
controller simultaneously (both channels sharing the same interrupt), an
interrupt on one channel could retire the request on the other channel
if the interrupt occurred during ata_generic_transaction (after
ch->running is set, before the actual transaction begins), leaving the
device stuck (with ch->dma->flags set as ATA_DMA_ACTIVE but ch->running
== NULL), often with a message of "already active DMA on this device".
Attached is a patch against -current as of a couple of days ago (before
the #if 0 of PREEMPTION). I'm not sure whether this is the right way to
fix this (e.g. disabling interrupts altogether might be safer), but it
seems to work for me.
-------------- next part --------------
Index: ata-all.h
===================================================================
RCS file: /data/freebsd/src/sys/dev/ata/ata-all.h,v
retrieving revision 1.79
diff -u -r1.79 ata-all.h
--- ata-all.h 30 Apr 2004 16:21:34 -0000 1.79
+++ ata-all.h 2 Aug 2004 15:54:50 -0000
@@ -339,6 +339,7 @@
#define ATA_48BIT_ACTIVE 0x10
#define ATA_IMMEDIATE_MODE 0x20
#define ATA_HWGONE 0x40
+#define ATA_EXPECT_INTR 0x80
struct ata_device device[2]; /* devices on this channel */
#define MASTER 0x00
Index: ata-lowlevel.c
===================================================================
RCS file: /data/freebsd/src/sys/dev/ata/ata-lowlevel.c,v
retrieving revision 1.40
diff -u -r1.40 ata-lowlevel.c
--- ata-lowlevel.c 24 Jul 2004 19:03:28 -0000 1.40
+++ ata-lowlevel.c 2 Aug 2004 16:11:23 -0000
@@ -81,6 +81,7 @@
}
/* record the request as running */
+ ch->flags &= ~ATA_EXPECT_INTR;
ch->running = request;
ATA_DEBUG_RQ(request, "transaction");
@@ -140,6 +141,7 @@
}
/* return and wait for interrupt */
+ ch->flags |= ATA_EXPECT_INTR;
return ATA_OP_CONTINUES;
/* ATA DMA data transfer commands */
@@ -169,6 +171,7 @@
}
/* return and wait for interrupt */
+ ch->flags |= ATA_EXPECT_INTR;
return ATA_OP_CONTINUES;
/* ATAPI PIO commands */
@@ -225,6 +228,7 @@
ATA_PROTO_ATAPI_12 ? 6 : 8);
/* return and wait for interrupt */
+ ch->flags |= ATA_EXPECT_INTR;
return ATA_OP_CONTINUES;
case ATA_R_ATAPI|ATA_R_DMA:
@@ -290,6 +294,7 @@
}
/* return and wait for interrupt */
+ ch->flags |= ATA_EXPECT_INTR;
return ATA_OP_CONTINUES;
}
@@ -308,7 +313,7 @@
int length;
/* ignore this interrupt if there is no running request */
- if (!request)
+ if (!request || !(ch->flags & ATA_EXPECT_INTR))
return;
ATA_DEBUG_RQ(request, "interrupt");
------------------------------
Message: 33
Date: Mon, 2 Aug 2004 18:31:34 +0200
From: Thomas Quinot <thomas@FreeBSD.ORG>
Subject: Re: nvidia binary drivers no longer work
To: Stefan Ehmann <shoesoft@gmx.net>
Cc: current@freebsd.org
Message-ID: <20040802163134.GC17435@melusine.cuivre.fr.eu.org>
Content-Type: text/plain; charset=us-ascii
* Stefan Ehmann, 2004-08-01 :
> After today's cvsup the system freezes when I try to start X using the
> nvidia binary driver. The nv driver still works.
Here (Dell Latitude D800) everything is going amazingly well with
today's world & kernel
FreeBSD malevil 5.2-CURRENT FreeBSD 5.2-CURRENT #1: Mon Aug 2 16:09:18 CEST 2004
nvidia0: <GeForce FX Go5650>
And the NDISulator works great with the Intel Pro Wireless 2200
MiniPCI adapter :-)
Thomas.
--
Thomas.Quinot@Cuivre.FR.EU.ORG
------------------------------
Message: 34
Date: Mon, 2 Aug 2004 11:33:45 -0500
From: Dan Nelson <dnelson@allantgroup.com>
Subject: Repeatable Trap 12 on 07-29 kernel
To: freebsd-current@freebsd.org
Message-ID: <20040802163343.GB8552@dan.emsphone.com>
Content-Type: text/plain; charset=us-ascii
I usually run java under libc_r, but if I point java-1.4.2 to libpthreads.so
via libmap.conf, within 5 minutes or so I get a kernel panic:
Fatal trap 12: page fault while in kernel mode
cpuid = 1; apic id = 00
fault virtual address = 0x54
fault code = supervisor write, page not present
instruction pointer = 0x8:0xc0565e78
stack pointer = 0x10:0xdee22b28
frame pointer = 0x10:0xdee22b48
code segment = base 0x0, limit 0xfffff, type 0x1b
= DPL 0, pres 1, def32 1, gran 1
processor eflags = resume, IOPL = 0
current process = 753 (java)
The system locks hard here (can't break into ddb via serial console), so I
don't have a coredump. addr2line says:
$ addr2line -f -e kernel.debug 0xc0565e78
setrunqueue
./../../kern/kern_switch.c:402
401 td2 = TAILQ_FIRST(&kg->kg_runq);
402 KASSERT((td2->td_kse == NULL),
403 ("unexpected ke present"));
This is with PREEMPTION enabled.
--
Dan Nelson
dnelson@allantgroup.com
------------------------------
Message: 35
Date: Mon, 2 Aug 2004 18:35:30 +0200 (CEST)
From: Lukas Ertl <le@FreeBSD.org>
Subject: Re: Vinum status
To: Paul Mather <paul@gromit.dlib.vt.edu>
Cc: freebsd-current@FreeBSD.org
Message-ID: <20040802183350.H643@korben.in.tern>
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
On Mon, 2 Aug 2004, Paul Mather wrote:
> I'm happy to report that the current geom_vinum kernel module
> successfully detects all plexes during boot when loaded from
> /boot/loader.conf. So, I now have a working root-on-gvinum setup
> running (including swap-on-gvinum). Thanks!!
Now that's very good news! Thanks for testing it!
> My only question is that although writes go to both disks in my mirrored
> setup, reads are only done from one disk of the mirror. In my case, all
> reads are always to drive ad2 of my ad0+ad2 mirror. This implies to me
> a default "readpol prefer <someplex>" on my defined volumes rather than
> the "readpol round" that appears to be the default under vinum. (At
> least on my 4.10-STABLE system, both drives are used for reads, implying
> a "readpol round" default behaviour.)
Yes, I still need to implement some details. Round-robin reads is one of
them.
> Does gvinum support "readpol round" or is it just that its default
> differs from the old vinum? If the latter, is there a way to change the
> read policy on a volume without deleting the old volume or otherwise
> destroying its contents? The vinum configuration I'm using is an exact
> duplicate of a 5.1-RELEASE system I created. That system (since
> upgraded to 5.2.1-RELEASE-p9) also sends reads to both drives using
> vinum.
Yes, I'll make these config changes possible without dumping and
restoring. :-)
> (Will you link the kernel module into the normal kernel build? I forgot
> it wasn't the first time I built my kernel, and had to go back and build
> manually the geom_vinum module when I couldn't find it to load when at
> the boot loader prompt. Ditto for including gvinum in the regular
> userland build process.)
Yes, it's about time to hook them up. :-)
thanks,
le
--
Lukas Ertl http://homepage.univie.ac.at/l.ertl/
le@FreeBSD.org http://people.freebsd.org/~le/
------------------------------
_______________________________________________
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 71, Issue 3
**********************************************
--
[35mEvariste Galois[m:
[33m�����呛��樱������蔷������,����直前......[m
[m[35m�� ��源:������� bbs.ustc.edu.cn [FROM: 210.45.72.234][m