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: How to enable HTT under 5-CURRENT ... ? (Pertti Kosunen)
2. Pioneer DVDR 105 issues (Grover Lines)
3. Re: How much of a risk is 5.x ... ? (Marc G. Fournier)
4. Recent tty changes and snp (Dan Nelson)
5. More growfs & Inode problems (Alex Hoff)
6. Re: retiring tty mode "EXTPROC" (Andrey Chernov)
7. Re: lockups (Stijn Hoop)
8. seedless kernel (Randy Bush)
9. (Randy Bush)
10. Re: seedless kernel (Randy Bush)
11. Re: seedless kernel (Randy Bush)
12. Re: lockups (Arno J. Klaassen)
13. Re: retiring tty mode "EXTPROC" (Louis A. Mamakos)
14. lock order reversal (j.e.drews@att.net)
15. Re: devd and usb (M. Warner Losh)
16. Re: retiring tty mode "EXTPROC" (Matthew N. Dodd)
17. [current tinderbox] failure on i386/pc98 (FreeBSD Tinderbox)
18. Re: Today's -current panics (Jon Noack)
19. Re: USB patch for better bus_dma and detachment support
(Julian Elischer)
20. Re: Recent tty changes and snp (Poul-Henning Kamp)
21. Serial console - how to reboot? (Eirik Oeverby)
22. kernel compile error, 5.2.1-RELEASE (Aragon Gouveia)
23. 5.1-RELEASE can't find SIL 0680 IDE controller (John Shopov)
24. Possible Weirdness with new DRI import? (Jeffrey Katcher)
----------------------------------------------------------------------
Message: 1
Date: Fri, 11 Jun 2004 21:56:41 +0300
From: "Pertti Kosunen" <pertti.kosunen@kolumbus.fi>
Subject: Re: How to enable HTT under 5-CURRENT ... ?
To: <freebsd-current@freebsd.org>
Message-ID: <04ff01c44fe5$d5092d30$0b00000a@osbsd>
Content-Type: text/plain; charset="iso-8859-1"
From: "Marc G. Fournier" <scrappy@hub.org>
> My CPU comes up as supporting HTT:
OT: Many tests says that system is faster when HTT is disabled.
------------------------------
Message: 2
Date: Fri, 11 Jun 2004 12:15:10 -0700
From: "Grover Lines" <grover@ceribus.net>
Subject: Pioneer DVDR 105 issues
To: <current@FreeBSD.org>
Message-ID: <20040611191535.8165D43D2D@mx1.FreeBSD.org>
Content-Type: text/plain; charset="us-ascii"
The only way I can get the system to boot up fully is by closing the drive
door to prevent a ata timeout hang.
Motherboard is a via p4x266
Heres my dmesg. If theres more debugging info you need let me know.
Im also having to boot with ACPI disabled and USB disabled in my bios
otherwise im getting all kinds of problems with USB the onboard sound and
DVD-RAM.
FreeBSD 5.2-CURRENT #0: Fri Jun 11 00:55:05 PDT 2004
root@xxx.xxx:/usr/obj/usr/src/sys/FREEDOM
Preloaded elf kernel "/boot/kernel/kernel" at 0xc0745000.
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Pentium(R) 4 CPU 1.50GHz (1514.93-MHz 686-class CPU)
Origin = "GenuineIntel" Id = 0xf12 Stepping = 2
Features=0x3febf9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV
,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM>
real memory = 536870912 (512 MB)
avail memory = 519876608 (495 MB)
random: <entropy source, Software, Yarrow>
Pentium Pro MTRR support enabled
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcibios: BIOS version 2.10
pcib0: <Host to PCI bridge> at pcibus 0 on motherboard
pir0: <PCI Interrupt Routing Table: 9 Entries> on motherboard
pci0: <PCI bus> on pcib0
$PIR: 0:7 INTA routed to irq 12
$PIR: 0:17 INTD routed to irq 12
$PIR: 0:17 INTD routed to irq 12
$PIR: 0:17 INTD routed to irq 12
$PIR: 0:17 INTC routed to irq 5
agp0: <VIA Generic host to PCI bridge> mem 0xd0000000-0xd7ffffff at device
0.0 on pci0
pcib1: <PCI-PCI bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
$PIR: ROUTE_INTERRUPT failed.
pci1: <display, VGA> at device 0.0 (no driver attached)
rl0: <RealTek 8139 10/100BaseTX> port 0xa000-0xa0ff mem
0xe2000000-0xe20000ff irq 12 at device 7.0 on pci0
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:ba:42:d9:4d
rl0: [GIANT-LOCKED]
isab0: <PCI-ISA bridge> at device 17.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <VIA 8233 UDMA100 controller> port
0xa400-0xa40f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 17.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
uhci0: <VIA 83C572 USB controller> port 0xa800-0xa81f irq 12 at device 17.2
on pci0
uhci0: [GIANT-LOCKED]
usb0: <VIA 83C572 USB controller> on uhci0
usb0: USB revision 1.0
uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
ums0: Microsoft Microsoft IntelliMouse\M-. Optical, rev 1.10/1.21, addr 2,
iclass 3/1
ums0: 5 buttons and Z dir.
ukbd0: Logitech Logitech USB Keyboard, rev 1.10/12.10, addr 3, iclass 3/1
kbd0 at ukbd0
uhid0: Logitech Logitech USB Keyboard, rev 1.10/12.10, addr 3, iclass 3/0
uhci1: <VIA 83C572 USB controller> port 0xac00-0xac1f irq 12 at device 17.3
on pci0
uhci1: [GIANT-LOCKED]
usb1: <VIA 83C572 USB controller> on uhci1
usb1: USB revision 1.0
uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2: <VIA 83C572 USB controller> port 0xb000-0xb01f irq 12 at device 17.4
on pci0
uhci2: [GIANT-LOCKED]
usb2: <VIA 83C572 USB controller> on uhci2
usb2: USB revision 1.0
uhub2: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
pcm0: <VIA VT8233> port 0xb400-0xb4ff irq 5 at device 17.5 on pci0
pcm0: [GIANT-LOCKED]
pcm0: <Avance Logic ALC200 AC97 Codec>
cpu0 on motherboard
orm0: <Option ROM> at iomem 0xd0000-0xd7fff on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x64,0x60 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
unknown: <PNP0303> can't assign resources (port)
unknown: <PNP0c02> can't assign resources (memory)
Timecounter "TSC" frequency 1514928620 Hz quality 800
Timecounters tick every 10.000 msec
ad0: 38166MB <WDC WD400BB-00AUA1> [77545/16/63] at ata0-master UDMA100
acd0: WARNING - MODE_SENSE_BIG read data overrun 34>0
acd0: DVDR <PIONEER DVD-RW DVR-105> at ata1-master PIO4
Mounting root from ufs:/dev/ad0s3a
------------------------------
Message: 3
Date: Fri, 11 Jun 2004 16:26:13 -0300 (ADT)
From: "Marc G. Fournier" <scrappy@hub.org>
Subject: Re: How much of a risk is 5.x ... ?
To: Robert Watson <rwatson@freebsd.org>
Cc: freebsd-current@freebsd.org
Message-ID: <20040611162246.B909@ganymede.hub.org>
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
On Fri, 11 Jun 2004, Robert Watson wrote:
>
> On Fri, 11 Jun 2004, Marc G. Fournier wrote:
>
>> So, I think the question more or less comes down to whether or not 5.x
>> is to the point where I could be as confident with it as I am with
>> 4-STABLE? Like, I believe that most of the fixes that David and Tor put
>> into 4.x for the unionfs stuff were migrated up to 5.x (or vice versa),
>> but I also know that there are several things I can't do with it under
>> 4.x, nor expect to be able to under 5.x ... but should I expect 5.x's
>> unionfs to be in about the same stable as 4.x? Or in a worse state?
>
> I can't speak specifically to unionfs, but I can speak generally to 5.x.
> It's not yet "-STABLE" -- many people are using it in production, but
> they're using it (hopefully) with the knowledge that we're still actively
> working in areas that produce intermittent instability and disruption.
> We're also actively working on performance: in some areas, the performance
> of 5.x is still substantially more poor that 4.x (in others, it's a lot
> faster). For at least the next month or two, I would expect to users for
> 5.x (as opposed to 5.2.1) to be aware that they will want to read
> freebsd-current carefully to avoid disruption, and expect nits (that we'll
> work to sort out as quickly as we can). Not everyone will have problems,
> and if you're careful to pick update dates carefully, you might well find
> it runs very well for you. However, it is -CURRENT still!
To the above ... that, to the grief of some around me, has never been a
big issue ... even with 4-STABLE, I've always expected those "periods of
instability and disruption" that have happened. But, based on the above,
especially the comment about performance, I think I'll hold off the bit
longer, and make it 'the next server' to give that a bit longer to sort
itself out ...
Thanks ...
----
Marc G. Fournier Hub.Org Networking Services (http://www.hub.org)
Email: scrappy@hub.org Yahoo!: yscrappy ICQ: 7615664
------------------------------
Message: 4
Date: Fri, 11 Jun 2004 14:48:09 -0500
From: Dan Nelson <dnelson@allantgroup.com>
Subject: Recent tty changes and snp
To: current@freebsd.org, phk@freebsd.org
Message-ID: <20040611194808.GA55868@dan.emsphone.com>
Content-Type: text/plain; charset=us-ascii
I think the snp device got left out of the recent struct tty changes; I
get the following panic when running "watch -W /dev/sometty" and typing
a character. Read-only watching a tty also causes a panic when I start
typing on the real tty.
Fatal trap 12: page fault while in kernel mode
cpuid = 1; apic id = 00
fault virtual address = 0xc
fault code = supervisor read, page not present
instruction pointer = 0x8:0xc05bd22f
stack pointer = 0x10:0xdec1fb44
frame pointer = 0x10:0xdec1fb54
code segment = base 0x0, limit 0xfffff, type 0x1b
= DPL 0, pres 1, def32 1, gran 1
processor eflags = interrupt enabled, resume, IOPL = 0
current process = 1477 (getty)
trap number = 12
panic: page fault
cpuid = 1;
---
#0 doadump () at ../../../kern/kern_shutdown.c:237
#1 0xc0586198 in boot (howto=260) at ../../../kern/kern_shutdown.c:370
#2 0xc0586821 in panic (fmt=0xc07437b7 "%s") at ../../../kern/kern_shutdown.c
:548
#3 0xc070ab90 in trap_fatal (frame=0xdec1fb04, eva=0) at ../../../i386/i386/t
rap.c:815
#4 0xc070a89a in trap_pfault (frame=0xdec1fb04, usermode=0, eva=12) at ../../
./i386/i386/trap.c:733
#5 0xc070a4b5 in trap (frame={tf_fs = 24, tf_es = -1065549808, tf_ds = 16, tf
_edi = -1065569536, tf_esi = -1036449536, tf_ebp = -557712556, tf_isp = -55771
2592, tf_ebx = -1036449536, tf_edx = 0, tf_ecx = -1036278784, tf_eax = -557712
256, tf_trapno = 12, tf_err = 0, tf_eip = -1067724241, tf_cs = 8, tf_eflags =
66182, tf_esp = -1036278784, tf_ss = -557712256}) at ../../../i386/i386/trap.c
:420
#6 0xc06f6b0a in calltrap () at {standard input}:95
#7 0xc0546f33 in spec_write (ap=0xdec1fbe4) at ../../../fs/specfs/spec_vnops.
c:317
#8 0xc0546678 in spec_vnoperate (ap=0x0) at ../../../fs/specfs/spec_vnops.c:1
18
#9 0xc05ee07b in vn_write (fp=0xc2af1aa0, uio=0xdec1fc80, active_cred=0xc225b
600, flags=0, td=0xc2b56540) at vnode_if.h:432
#10 0xc05adaec in dofilewrite (td=0xc281030c, fp=0xc2af1aa0, fd=0, buf=0x0, nb
yte=2, offset=0, flags=0) at ../../../sys/file.h:245
#11 0xc05ad92d in write (td=0xc281030c, uap=0x0) at ../../../kern/sys_generic.
c:337
#12 0xc070ae64 in syscall (frame={tf_fs = 47, tf_es = 47, tf_ds = 47, tf_edi =
1, tf_esi = -1077940375, tf_ebp = -1077940680, tf_isp = -557712012, tf_ebx =
-1, tf_edx = 1, tf_ecx = 1, tf_eax = 4, tf_trapno = 22, tf_err = 2, tf_eip = 6
71910259, tf_cs = 31, tf_eflags = 514, tf_esp = -1077940708, tf_ss = 47}) at .
/../../i386/i386/trap.c:1004
#13 0xc06f6b5f in Xint0x80_syscall () at {standard input}:137
Here's the panic/trace when typing on a watched vty:
Fatal trap 12: page fault while in kernel mode
cpuid = 1; apic id = 00
fault virtual address = 0x14
fault code = supervisor read, page not present
instruction pointer = 0x8:0xc06e5217
stack pointer = 0x10:0xd9d53c88
frame pointer = 0x10:0xd9d53ca4
code segment = base 0x0, limit 0xfffff, type 0x1b
= DPL 0, pres 1, def32 1, gran 1
processor eflags = interrupt enabled, resume, IOPL = 0
current process = 13 (irq1: atkbd0)
trap number = 12
---
#0 doadump () at ../../../kern/kern_shutdown.c:237
237 dumpsys(&dumper);
#0 doadump () at ../../../kern/kern_shutdown.c:237
#1 0xc0586198 in boot (howto=260) at ../../../kern/kern_shutdown.c:370
#2 0xc0586821 in panic (fmt=0xc07437b7 "%s") at ../../../kern/kern_shutdown.c
:548
#3 0xc070ab90 in trap_fatal (frame=0xd9d53c48, eva=0) at ../../../i386/i386/t
rap.c:815
#4 0xc070a89a in trap_pfault (frame=0xd9d53c48, usermode=0, eva=20) at ../../
./i386/i386/trap.c:733
#5 0xc070a4b5 in trap (frame={tf_fs = -640352232, tf_es = 16, tf_ds = 16, tf_
edi = -1036627968, tf_esi = 97, tf_ebp = -640336732, tf_isp = -640336780, tf_e
bx = -1036278784, tf_edx = 0, tf_ecx = -1033830912, tf_eax = 97, tf_trapno = 1
2, tf_err = 0, tf_eip = -1066511849, tf_cs = 8, tf_eflags = 66050, tf_esp = 97
, tf_ss = -1036278784}) at ../../../i386/i386/trap.c:420
#6 0xc06f6b0a in calltrap () at {standard input}:95
#7 0xc06d735f in atkbd_intr (kbd=0x61, arg=0x0) at ../../../dev/kbd/atkbd.c:4
61
#8 0xc071960f in atkbd_isa_intr (arg=0x0) at ../../../isa/atkbd_isa.c:177
#9 0xc056f5fc in ithread_loop (arg=0xc225b500) at ../../../kern/kern_intr.c:5
57
#10 0xc056e513 in fork_exit (callout=0xc056f3b0 <ithread_loop>, arg=0x0, frame
=0x0) at ../../../kern/kern_fork.c:816
--
Dan Nelson
dnelson@allantgroup.com
------------------------------
Message: 5
Date: Fri, 11 Jun 2004 16:13:51 -0400
From: Alex Hoff <ahoff@sandvine.com>
Subject: More growfs & Inode problems
To: "'freebsd-current@freebsd.org'" <freebsd-current@freebsd.org>
Message-ID:
<FE045D4D9F7AED4CBFF1B3B813C8533703FFC272@mail.sandvine.com>
Content-Type: text/plain; charset="iso-8859-1"
Previously I posted an error that growfs was having problems with ginode.
Well I have tried to reproduce that, but now its getting stuck before it
reaches the "1" inode.
Right now I am getting this error from growfs (with debug info turned on)
fsck -b .......
Calling updcsloc...
~ oscg read
~ frag_adjust [7]+=-1
~ frag_adjust [[7]]+=-1
~ frag_adjust [7]+=1
~ frag_adjust [[7]]+=1
~ scg block check loop d=1696
~ seek range: dl=40, du=1680, dm=103480
~ range cont: csmin=1680, csmax=1704
~ scg (212->0) block relocated
~ scg doing cg (0)
...
~ scg checking inode (12847 in 0)
~ ~~scg direct blocks checked
growfs: rdfs: read error: 1031614724: Input/output error
now I stopped growfs with gdb at this point and examined this inode. No
surprise that it was severely corrupt.
6 = {di_mode = 19796, di_nlink = 19536, di_uid = 1380012127,
di_gid = 1279347028, di_blksize = 1146244959, di_size =
7287679819702096453,
di_blocks = 7310479134913291374, di_atime = 4332574392055525485,
di_mtime = 4710519415481920611, di_ctime = 7955901479799188588,
di_birthtime = 8029744551905093996, di_mtimensec = 1886330988,
di_atimensec = 1952543333, di_ctimensec = 1027437167,
di_birthnsec = 1852793640, di_gen = 1679848563, di_kernflags = 1735746149,
di_flags = 1819042143, di_extsize = 1597793135, di_extb = {
3181298783575895105, 2314885530818453514}, di_db = {2314885530818453536,
2314885530818453536, 7306000180026699619, 8028911401162995042,
7165064744378776675, 2314861732405257790, 8367809545530271090,
723528173046035826, 6854591218520058147, 5644495083095216991,
5572183428906439747, 5283938703287209040}, di_ib = {5928219604812778561,
8386103211268076554, 8319100054832685157}, di_spare = {
4495559364509261600, 2334393380931266826, 7309464380271193954}}
block numbers in the gazillions (??) are definatley not right.
This is the syntax I use to reproduce the problem (with 100% consistency)
# newfs -s 426630180 aacd1s1a
# fsck aacd1s1a
** /dev/aacd1s1a
** Last Mounted on
** Phase 1 - Check Blocks and Sizes
** Phase 2 - Check Pathnames
** Phase 3 - Check Connectivity
** Phase 4 - Check Reference Counts
** Phase 5 - Check Cyl groups
2 files, 2 used, 103300854 free (22 frags, 12912604 blocks, 0.0%
fragmentation)
# growfs -y -s 1126630180 aacd1s1a
(the error show above)
And just for more info
# fdisk aacd1s1
******* Working on device /dev/aacd1s1 *******
parameters extracted from in-core disklabel are:
cylinders=231972 heads=255 sectors/track=63 (16065 blks/cyl)
Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=231972 heads=255 sectors/track=63 (16065 blks/cyl)
Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
start 0, size 3726630180 (1819643 Meg), flag 0
beg: cyl 0/ head 0/ sector 1;
end: cyl 547/ head 254/ sector 63
newfs -s 426630180 aacd1s1a
growfs -y -s 1126630180 aacd1s1a
(I use smaller numbers for growfs and newfs since growfs is painfully slow)
So my questions are, where could this inode be getting corrupted from? Would
it be the growfs? (which I doubt since it is only trying to do reads at this
point (IIRC)) is there a bug in newfs maybe? Any ideas or input would be
great. Thanks.
Alex Hoff
------------------------------
Message: 6
Date: Sat, 12 Jun 2004 00:42:08 +0400
From: Andrey Chernov <ache@nagual.pp.ru>
Subject: Re: retiring tty mode "EXTPROC"
To: Poul-Henning Kamp <phk@phk.freebsd.dk>
Cc: current@FreeBSD.ORG
Message-ID: <20040611204207.GA6358@nagual.pp.ru>
Content-Type: text/plain; charset=us-ascii
On Fri, Jun 11, 2004 at 05:41:50PM +0200, Poul-Henning Kamp wrote:
>
> The following patch retires the EXTPROC mode from our tty code.
Are you absolutely sure that it is needed for X25 only? Here is opposite
example:
http://mail-index.netbsd.org/tech-kern/2000/07/24/0001.html
(used to notify master).
--
Andrey Chernov | http://ache.pp.ru/
------------------------------
Message: 7
Date: Sat, 12 Jun 2004 00:29:51 +0200
From: Stijn Hoop <stijn@win.tue.nl>
Subject: Re: lockups
To: Bruce Evans <bde@zeta.org.au>
Cc: freebsd-current@freebsd.org
Message-ID: <20040611222951.GA45873@pcwin002.win.tue.nl>
Content-Type: text/plain; charset="us-ascii"
Hi,
On Thu, May 27, 2004 at 09:08:58PM +1000, Bruce Evans wrote:
> Interesting. It seems that the problems handling nForce2 APICs are mainly
> in FreeBSD. My A7N8X-E system behaves similarly, except I fixed the
> interrupt storm detection in -current so that the system is almost
> usable.
While installing FreeBSD on my new & shiny A7N8X-Deluxe I also ran into
this problem. Enabling the APIC triggers an interrupt storm on IRQ's > 16.
While -CURRENT at least boots (an older -CURRENT that I first tried to
install hung after determining the TSC), it still is unusable over the
network because the built-in xl0 keeps getting watchdog timeout's (it's
at irq20).
Disabling the APIC in the BIOS works around the problem (ACPI still enabled),
but unfortunately Windows won't boot in that case :/
Boot logs, kernel config, mptable, vmstat at
http://sandcat.nl/~stijn/freebsd/a7n8x-apic/
I fear for the worst considering the last line of mptable output, but I
figured it would be wise to at least provide a data point. And as sos's
signature so eloquently puts it, 'it works in windows!' :) :)
Unfortunately the verbose boot logs got truncated at the top due to the
"small" kernel ring buffer, and I don't have a serial cable handy. Maybe
tomorrow, if it's needed. Just let me know if I can provide anything else
also.
--Stijn
--
I really hate this damned machine
I wish that they would sell it.
It never does quite what I want
But only what I tell it.
-------------- 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/20040612/
c103e673/attachment-0001.bin
------------------------------
Message: 8
Date: Fri, 11 Jun 2004 16:00:43 -0700
From: Randy Bush <randy@psg.com>
Subject: seedless kernel
To: FreeBSD Current <freebsd-current@freebsd.org>
Message-ID: <16586.14747.356672.542876@ran.psg.com>
Content-Type: text/plain; charset=us-ascii
very recent current, about two hours since cvsup
thinkpad t40p
even single-user i get a panic with the cd-rom inserted.
remove the cd-rom and she boots su. i have a picture
of the traceback, but need to get past problem two to
get the pic off my camera and onto the net.
did installworld and the usual arcane rituals such as
mergemonster. went fine.
boot heading for multiuser. gets the "ad0:" for the
hard drive. displays "Pre-seeding PRNG:" and locks
up. google for "Pre-seeding PRNG:" produces two
entries with no help.
i imagine i can boot single abuser,
echo foo > /dev/random
and then go multi.
but, in the meantwixt, send clues to the needy.
thanks.
randy
------------------------------
Message: 9
Date: Fri, 11 Jun 2004 16:06:39 -0700
From: Randy Bush <randy@psg.com>
To: FreeBSD Current <freebsd-current@freebsd.org>
Message-ID: <16586.15103.274874.510434@ran.psg.com>
Content-Type: text/plain; charset=us-ascii
Subject: Re: seedless kernel
References: <16586.14888.563266.352026@ran.psg.com>
> boot heading for multiuser. gets the "ad0:" for the
> hard drive. displays "Pre-seeding PRNG:" and locks
^ says "Mounting root ..."
> up. google for "Pre-seeding PRNG:" produces two
> entries with no help.
>
> i imagine i can boot single abuser,
> echo foo > /dev/random
> and then go multi.
well, that seemed like a good idea. but it did
not work. i can boot su, echo > /dev/random, and
mount -a. but can not go multi.
randy
------------------------------
Message: 10
Date: Fri, 11 Jun 2004 16:06:56 -0700
From: Randy Bush <randy@psg.com>
Subject: Re: seedless kernel
To: FreeBSD Current <freebsd-current@freebsd.org>
Message-ID: <16586.15120.797113.933705@ran.psg.com>
Content-Type: text/plain; charset=us-ascii
> boot heading for multiuser. gets the "ad0:" for the
> hard drive. displays "Pre-seeding PRNG:" and locks
^ says "Mounting root ..."
> up. google for "Pre-seeding PRNG:" produces two
> entries with no help.
>
> i imagine i can boot single abuser,
> echo foo > /dev/random
> and then go multi.
well, that seemed like a good idea. but it did
not work. i can boot su, echo > /dev/random, and
mount -a. but can not go multi.
randy
------------------------------
Message: 11
Date: Fri, 11 Jun 2004 16:11:04 -0700
From: Randy Bush <randy@psg.com>
Subject: Re: seedless kernel
To: FreeBSD Current <freebsd-current@freebsd.org>
Message-ID: <16586.15368.880229.460994@ran.psg.com>
Content-Type: text/plain; charset=us-ascii
i broke down the cruft in seedrandom. if i boot single
user, echo foo > /dev/random, mount -a, start bash, stir
come chicken entrails, .. and the issue
sysctl -a
it hangs
randy
------------------------------
Message: 12
Date: 12 Jun 2004 01:25:28 +0200
From: "Arno J. Klaassen" <arno@heho.snv.jussieu.fr>
Subject: Re: lockups
To: Stijn Hoop <stijn@win.tue.nl>
Cc: freebsd-current@freebsd.org
Message-ID: <wp1xklhe3b.fsf@heho.snv.jussieu.fr>
Content-Type: text/plain; charset=us-ascii
Hoi,
> Hi,
>
> On Thu, May 27, 2004 at 09:08:58PM +1000, Bruce Evans wrote:
> > Interesting. It seems that the problems handling nForce2 APICs are mainly
> > in FreeBSD. My A7N8X-E system behaves similarly, except I fixed the
> > interrupt storm detection in -current so that the system is almost
> > usable.
>
> While installing FreeBSD on my new & shiny A7N8X-Deluxe I also ran into
> this problem. Enabling the APIC triggers an interrupt storm on IRQ's > 16.
> While -CURRENT at least boots (an older -CURRENT that I first tried to
> install hung after determining the TSC), it still is unusable over the
> network because the built-in xl0 keeps getting watchdog timeout's (it's
> at irq20).
I worked around this problem by assiging a free irq in the BIOS
(MB A7N266, not a A7N8, dunno if the A7N8 BIOS gives you
this possibility)
> Disabling the APIC in the BIOS works around the problem (ACPI still enabled)
,
> but unfortunately Windows won't boot in that case :/
xl0 is rock-solid since with APIC and ACPI enabled
YMMV, Arno
NB, I still get the interrupt storm on irq7 when attaching a
scratch P200 notebook by plip ...
NB-II, for Windows I use Samba and whatever I find a PC thrown on the street;
but then, I dont like computer games ...
------------------------------
Message: 13
Date: Fri, 11 Jun 2004 20:03:39 -0400
From: "Louis A. Mamakos" <louie@TransSys.COM>
Subject: Re: retiring tty mode "EXTPROC"
To: Andrey Chernov <ache@nagual.pp.ru>
Cc: Poul-Henning Kamp <phk@phk.freebsd.dk>
Message-ID: <20040612000339.D0F6020FB7@whizzo.transsys.com>
Content-Type: text/plain; charset=us-ascii
The telnet LINEMODE option (which is apparently implemented using
EXTPROC in the tty driver) is used for more than X.25 emulation. For
random (usually old) hosts that do not perform remote-echo of keystrokes,
telnet linemode make interaction much more pleasent over long-delay
paths. It used to be that even logging into a UNIX box could use
the LINEMODE option when the remote tty was in cooked mode.
louie
------------------------------
Message: 14
Date: Sat, 12 Jun 2004 00:16:47 +0000
From: j.e.drews@att.net
Subject: lock order reversal
To: freebsd-current@freebsd.org
Message-ID:
<061220040016.10333.40CA4B6E000C29180000285D21604666489C990A9D0BD20AD206@att.
net>
FreeBSD 5.2-CURRENT #1: Fri Jun 11 16:40:42 CDT 2004
Platform: i386:
Hi:
After a portupgrade -arRF igot this message. I have my kernel compiled with d
ebugging
enabled. Is this a harmless warning?
lock order reversal
1st 0xc1d8239c vm object (vm object) @ /usr/src/sys/vm/swap_pager.c:1313
2nd 0xc09148a0 swap_pager swhash (swap_pager swhash) @ /usr/src/sys/vm/swap_p
ag
er.c:1799
3rd 0xc103fce4 vm object (vm object) @ /usr/src/sys/vm/uma_core.c:923
Stack backtrace:
backtrace(0,1,c08e2c28,c08e4000,c0871edc) at backtrace+0x12
witness_checkorder(c103fce4,9,c081534c,39b) at witness_checkorder+0x53b
_mtx_lock_flags(c103fce4,0,c081534c,39b,c1cd2328) at _mtx_lock_flags+0x57
obj_alloc(c1cfa000,1000,d427fa3b,101,d427fa48) at obj_alloc+0x31
slab_zalloc(c1cfa000,1,c1cfa000,c1cfa000,c1cd2320) at slab_zalloc+0x87
uma_zone_slab(c1cfa000,1,c1cd2328,0,c081534c,78e) at uma_zone_slab+0xb0
uma_zalloc_internal(c1cfa000,0,1,c1cd2328,0) at uma_zalloc_internal+0x29
uma_zalloc_arg(c1cfa000,0,1) at uma_zalloc_arg+0x2a2
swp_pager_meta_build(c1d8239c,5,0,2,0) at swp_pager_meta_build+0x108
swap_pager_putpages(c1d8239c,d427fc00,1,0,d427fb70) at swap_pager_putpages+0x2
a8
default_pager_putpages(c1d8239c,d427fc00,1,0,d427fb70) at default_pager_putpag
es
+0x18
vm_pageout_flush(d427fc00,1,0,c07838c6,c08b5680) at vm_pageout_flush+0x112
vm_pageout_clean(c16e2430) at vm_pageout_clean+0x2a5
vm_pageout_scan(0) at vm_pageout_scan+0x543
vm_pageout(0,d427fd48,0,c0759188,0) at vm_pageout+0x2d2
fork_exit(c0759188,0,d427fd48) at fork_exit+0x98
fork_trampoline() at fork_trampoline+0x8
--- trap 0x1, eip = 0, esp = 0xd427fd7c, ebp = 0 ---
Kind regards,
Jonathan
------------------------------
Message: 15
Date: Fri, 11 Jun 2004 19:45:17 -0600 (MDT)
From: "M. Warner Losh" <imp@bsdimp.com>
Subject: Re: devd and usb
To: ticso@cicely.de, ticso@cicely12.cicely.de
Cc: freebsd-current@freebsd.org
Message-ID: <20040611.194517.98076435.imp@bsdimp.com>
Content-Type: Text/Plain; charset=us-ascii
In message: <20040611175738.GR51677@cicely12.cicely.de>
Bernd Walter <ticso@cicely12.cicely.de> writes:
: On Fri, Jun 11, 2004 at 08:44:52AM -0700, Jacob S. Barrett wrote:
: > Should the vendor and product codes be accessable in devd. I have seen
: > examples while searching Google that suggest that they should be, but th..
: > don't appear to be. The problem is that I have two devices that get
: > recognized as ucom devices, my Visor and my cell phone. Obviously the
: > actions I want to purform when they are detected are very different. I ..
: > matching based on vendor and product codes, but that doesn't work. The ..
: > are not available when devd processes the attach event.
:
: devd support for usb devices currently don't supply this informations.
: I have a patch to add them plus serial numbers, but it's not in
: commitable shape yet.
: See http://www.bwct.de/usb-devd.patch
I have this on my list of things I'd like to get done before 5.3.
Warner
------------------------------
Message: 16
Date: Fri, 11 Jun 2004 21:58:05 -0400 (EDT)
From: "Matthew N. Dodd" <mdodd@FreeBSD.ORG>
Subject: Re: retiring tty mode "EXTPROC"
To: Poul-Henning Kamp <phk@phk.freebsd.dk>
Cc: current@FreeBSD.ORG
Message-ID: <20040611215614.R43457@sasami.jurai.net>
Content-Type: TEXT/PLAIN; charset=US-ASCII
On Fri, 11 Jun 2004, Poul-Henning Kamp wrote:
> The following patch retires the EXTPROC mode from our tty code.
I'd rather not see this capability go away as linemode is useful for
dealing with high latency links with asymmetric bit-rates.
--
10 40 80 C0 00 FF FF FF FF C0 00 00 00 00 10 AA AA 03 00 00 00 08 00
------------------------------
Message: 17
Date: Fri, 11 Jun 2004 23:53:56 -0400 (EDT)
From: FreeBSD Tinderbox <tinderbox@freebsd.org>
Subject: [current tinderbox] failure on i386/pc98
To: FreeBSD Tinderbox <tinderbox@freebsd.org>, <current@freebsd.org>,
<i386@freebsd.org>
Message-ID: <20040612035356.9984D7303F@freebsd-current.sentex.ca>
------------------------------
Message: 18
Date: Sat, 12 Jun 2004 01:54:19 -0500
From: Jon Noack <noackjr@alumni.rice.edu>
Subject: Re: Today's -current panics
To: Bosko Milekic <bmilekic@FreeBSD.org>
Cc: freebsd-current@FreeBSD.org
Message-ID: <40CAA89B.8050807@alumni.rice.edu>
Content-Type: text/plain; charset=us-ascii; format=flowed
On 06/11/04 13:20, Bosko Milekic wrote:
> Actually, the mbuf leak is my fault. I'm sorry guys, please
> sup to most recent -current or grab the latest change to
> src/sys/kern/uipc_mbuf.c
At the same time this leak was introduced I was testing polling on
several machines with em adapters. Needless to say, my first impression
of polling was not one of stability ;-). The leak is fixed on my
machines, so I'll give polling another shot...
Thanks,
Jon Noack
------------------------------
Message: 19
Date: Sat, 12 Jun 2004 00:14:47 -0700
From: Julian Elischer <julian@elischer.org>
Subject: Re: USB patch for better bus_dma and detachment support
To: Barry Bouwsma <freebsd-misuser@NOSPAM.dyndns.dk>
Cc: current@freebsd.org
Message-ID: <40CAAD67.9050103@elischer.org>
Content-Type: text/plain; charset=us-ascii; format=flowed
Barry Bouwsma wrote:
> [drop the above ipv6-only address that only sometimes works from the
> recipients and I'll catch up later from the archives, thanks]
>
>
>
>> http://people.freebsd.org/~iedowse/usb.diff
>>that attempts to begin addressing a number of problems with our
>>current USB code:
>>
>> o All data buffers were allocated using bus_dma as physically
>> contiguous memory. All transfers involve a memory copy to/from
>> these contiguous buffers, and the contiguous memory is never
>> freed. Use of these buffers is also inefficient, so low-memory
>> systems tend to quickly run out of usable physical memory.
>
Are there plans to pass these patches back to the netbsd guys?
We don't have enough mass ourselves with USB so we rely on keeping
at least "close" to their code..
Are there plans to commit them?
>
> Apologies for the lateness of this reply, but if you're interested,
> I've had great success with this patch, apparently helping a few
> annoying problems I've had.
>
> I've massaged this patch to work against my -stable (with select
> source files derived from -current), and so far I no longer see
> the problems that had occurred regularly:
> :-) With my uhci controller, if I waited to mount and use a umass
> device until other programs had snarfed all the system memory,
> I'd get BBB timeouts when trying to access the device from
> which I could never recover.
> :-( My ehci controller, with certain devices, gave a `need data
> toggle' kernel message during access which either slowed
> access to a crawl, or inhibited any disk access, or could
> result in a panic. This problem still does occur within
> hours of use if it occurs, but superficially it seems to
> be better than before.
> The first problem has failed to recur in limited testing after
> applying your patch, so it's a significant improvement for me.
> So far, I appear to have stable operation of my USB storage
> devices with my hardware for a change, though time will tell
> if I just haven't yet triggered the above problems.
>
>
> thanks, and sorry for the delay in this feedback. if this
> patch has not yet been written to apply against 4.x (only
> a few trivial changes appear needed) during the time I've
> been offline, I could be strong-armed into posting needed
> changes to make it work with selected source.
>
> barry bouwsma
>
> _______________________________________________
> 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"
>
--
+------------------------------------+ ______ _ __
| __--_|\ Julian Elischer | \ U \/ / hard at work in
| / \ julian@elischer.org +------>x USA \ a very strange
| ( OZ ) \___ ___ | country !
+- X_.---._/ presently in San Francisco \_/ \\
v
------------------------------
Message: 20
Date: Sat, 12 Jun 2004 09:14:42 +0200
From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
Subject: Re: Recent tty changes and snp
To: Dan Nelson <dnelson@allantgroup.com>
Cc: current@freebsd.org
Message-ID: <77506.1087024482@critter.freebsd.dk>
In message <20040611194808.GA55868@dan.emsphone.com>, Dan Nelson writes:
>
>I think the snp device got left out of the recent struct tty changes; I
>get the following panic when running "watch -W /dev/sometty" and typing
>a character. Read-only watching a tty also causes a panic when I start
>typing on the real tty.
This is not intentional breakage, but it may be unavoidable breakage :-(
Snoop(4) is great functionality and I would have killed to have it
several times along my career, unfortunately its implementation is
a POS.
I'm currently pondering using bpf(4) for the task instead, but the
uneven layering of the tty layer has not offered me a clearcut place
to stick the code yet.
--
Poul-Henning Kamp | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG | TCP/IP since RFC 956
FreeBSD committer | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.
------------------------------
Message: 21
Date: Sat, 12 Jun 2004 12:08:52 +0200
From: Eirik Oeverby <ltning@anduin.net>
Subject: Serial console - how to reboot?
To: current@freebsd.org
Message-ID: <40CAD634.8060808@anduin.net>
Content-Type: text/plain; charset=us-ascii; format=flowed
Hi all,
I have recently been getting the following messages on my console:
swap_pager: indefinite wait buffer: device: #amrd/0x20001, blkno: 1072,
size: 4096
swap_pager: indefinite wait buffer: device: #amrd/0x20001, blkno: 832,
size: 4096
swap_pager: indefinite wait buffer: device: #amrd/0x20001, blkno: 512,
size: 4096
swap_pager: indefinite wait buffer: device: #amrd/0x20001, blkno: 576,
size: 4096
swap_pager: indefinite wait buffer: device: #amrd/0x20001, blkno: 584,
size: 4096
I am aware that this usually indicates a bad drive or something, but
given that it's a RAID volume hanging on an AMI MegaRAID controller
(SCSI), and none of the drives in the array are degraded, that can't
really be the case. I'm suspecting a bug in the driver (though freebsd
4.10 should be stable, right?) or a faulty cable or such.
What would mitigate the problem for now though would be to have a way to
reboot the system. I'm about 1000 miles away from the box, so I can't go
there, but I do have access via serial console (which is where I'm
getting these messages). I'm using minicom, but could use any other
serial comms package on FreeBSD. Not sure if C-A-D would help, but as I
don't know how to push that keycombo through minicom anyway, I'm kinda
stuck.
The box is replying to pings but no other services are available. The
console is also 'dead', i.e. i can't get any command prompts or login
prompt. Only these messages who keep showing up, about 1 per second.
Entering the kernel debugger might help, though I'm actually not sure if
it's compiled into the running kernel. But if it is, how can I get to it
via serial?
Anyone?
Thanks,
/Eirik
------------------------------
Message: 22
Date: Fri, 11 Jun 2004 17:22:23 +0200
From: Aragon Gouveia <aragon@phat.za.net>
Subject: kernel compile error, 5.2.1-RELEASE
To: current@freebsd.org
Message-ID: <20040611152223.GA81299@phat.za.net>
Content-Type: text/plain; charset=us-ascii
Hi,
Just trying to get a kernel built on a 5.2.1-RELEASE box. Am encountering
this error:
cc -c -O -pipe -march=pentiumpro -Wall -Wredundant-decls -Wnested-externs -Wst
rict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -f
format-extensions -std=c99 -nostdinc -I- -I. -I/usr/src/sys -I/usr/src/sys/c
ontrib/dev/acpica -I/usr/src/sys/contrib/ipfilter -I/usr/src/sys/contrib/dev/a
th -I/usr/src/sys/contrib/dev/ath/freebsd -I/usr/src/sys/contrib/ngatm -D_KERN
EL -include opt_global.h -fno-common -finline-limit=15000 -fno-strict-aliasing
-mno-align-long-strings -mpreferred-stack-boundary=2 -ffreestanding -Werror
/usr/src/sys/dev/fb/vga.c
/usr/src/sys/dev/fb/vga.c:1346: warning: `filll_io' defined but not used
/usr/src/sys/dev/fb/vga.c:1336: warning: `fill' defined but not used
*** Error code 1
Stop in /usr/obj/usr/src/sys/ADMIN.
*** Error code 1
Stop in /usr/src.
*** Error code 1
Stop in /usr/src.
I've experienced and worked around this manually before on other 5.x systems,
but never reported it hoping someone else would notice it and make the
effort. :) Can't seem to find anything in the archives either. Is this a
bug or something I'm doing wrong?
Thanks,
Aragon
------------------------------
Message: 23
Date: Sat, 12 Jun 2004 02:45:24 +1000
From: "John Shopov" <shopov@optusnet.com.au>
Subject: 5.1-RELEASE can't find SIL 0680 IDE controller
To: <freebsd-current@freebsd.org>
Message-ID: <200406111645.i5BGjPw28441@mail013.syd.optusnet.com.au>
Content-Type: text/plain; charset="us-ascii"
G'day David,
Just wondering if you worked out how to get your PCI
ide card, to work with Linux. If so, how? I've got the exact same problem
and would really appreciate some help too.
Sincerely
JohnS
------------------------------
Message: 24
Date: Fri, 11 Jun 2004 16:37:32 -0700 (PDT)
From: Jeffrey Katcher <jmkatcher@yahoo.com>
Subject: Possible Weirdness with new DRI import?
To: freebsd-current@FreeBSD.org
Message-ID: <20040611233732.97365.qmail@web41113.mail.yahoo.com>
Content-Type: text/plain; charset=us-ascii
I just cvsup'ed -current and (sorry for the other variable) XFree as well. It
all works, but glxgears performance has dropped from >600fps to ~250fps.
Platform is IBM Thinkpad T40 with Radeon 9000/32MB.
Jeff Katcher
__________________________________
Do you Yahoo!?
Friends. Fun. Try the all-new Yahoo! Messenger.
http://messenger.yahoo.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 64, Issue 18
***********************************************
--
[35mEvariste Galois[m:
[33m�����呛��樱������蔷������,����直前......[m
[31m�� ��源:������� bbs.ustc.edu.cn [FROM: 210.45.72.234][m