From barney at databus.com Wed Jun 3 22:17:15 2009 From: barney at databus.com (Barney Wolff) Date: Wed Jun 3 22:17:22 2009 Subject: slow tick when idle Message-ID: <20090603220632.GA79172@pit.databus.com> I have an odd problem with wait timing. When the system is quite busy, for example doing multiple port builds, waits in select() or sleep() work fine. But when the system is otherwise mostly idle, waits run at least 2.5% slow. This happens on both a 6-stable from 12/08 and 7-stable from 5/28/09, and whether I use ACPI-fast or HPET. Time of day is not affected, only waits. My machine is a Dell XPS410 with Intel Core2 2.13GHz, 2 cores. The problem does not occur on an older single-cpu Athlon XP with 7.2-rel. Perhaps some artifact of cpu state under light load? Is this a known problem with a known workaround? Has anyone else seen it? If there is no existing PR, I'll file one. Here's a test program: (must be run on an idle machine to show the problem) xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx /* tstselect sleepsecs=1 nbusy Check accuracy of select & sleep wait times, on idle or busy system. On my Dell XPS410 the wait is at least 2.5% too long when idle, accurate when busy, on both 6-stable and 7-stable. Barney Wolff 6/1/2009 */ #include #include #include #include #include #include struct timeval strt,nd,wait; int main(int argc, char *argv[]) { if (argc > 1) wait.tv_sec = atoi(argv[1]); else wait.tv_sec = 1; wait.tv_usec = 0; if (argc > 2 && fork() == 0) { /* busy up */ int nfork = atoi(argv[2]); if (nfork < 0 || nfork > 10) nfork = 1; while (--nfork >= 0) if (fork() == 0) while(1) ; exit(0); } (void)gettimeofday(&strt,NULL); (void)select(0,NULL,NULL,NULL,&wait); (void)gettimeofday(&nd,NULL); printf("select of %d secs waited %d usecs\n",wait.tv_sec, 1000000*(nd.tv_sec-strt.tv_sec)+(nd.tv_usec-strt.tv_usec)); (void)gettimeofday(&strt,NULL); (void)sleep((unsigned)wait.tv_sec); (void)gettimeofday(&nd,NULL); printf(" sleep of %d secs waited %d usecs\n",wait.tv_sec, 1000000*(nd.tv_sec-strt.tv_sec)+(nd.tv_usec-strt.tv_usec)); kill(0,SIGTERM); exit(0); } xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx uname -a FreeBSD pit.databus.com 7.2-STABLE FreeBSD 7.2-STABLE #0: Thu May 28 23:58:51 EDT 2009 toor@pit.databus.com:/usr/obj/usr/src/sys/PIT i386 dmesg.boot is at: https://bns.databus.com/pics/dmesg.boot kernel conf is at: https://bns.databus.com/pics/PIT Thanks for any insights, Barney -- Barney Wolff I never met a computer I didn't like. From reply at moneybookers.com Thu Jun 4 00:58:29 2009 From: reply at moneybookers.com (www.moneybookers.com) Date: Thu Jun 4 00:58:35 2009 Subject: Update Account. Message-ID: <20090604003426.1DBE12EB186B@h1603454.stratoserver.net> ********************************************************************** ******************** THIS IS AN AUTOMATED EMAIL - . ********************************************************************** ******************** Dear Moneybookers Customer,: Due to concerns, for the safety and integrity of the Moneybookers.com account we have issued this warning message. It has come to our attention that your Moneybookers.com account information needs to be updated as part of our continuing commitment to protect your account and to reduce the instance of fraud on our website. If you could please take 5-10 minutes out of your online experience and update your personal records you will not run into any future problems with the online service. Once you have updated your account records your Moneybookers.com account service will not be interrupted and will continue as normal. To update your Moneybookers.com records click on the following link: [1]http://Moneybookers.com/ Moneybookers Security Reminders Case Sensitive Login Please remember your password is case-sensitive, at least 6 characters long and contains at least one number or non-alphabetic character such as '-'. ******************************* Moneybookers Ltd., London, Registered in England and Wales no 4260907. Registered office: Welken House, 10-11 Charterhouse Square, London, EC1M 6EH, United Kingdom. Authorised and regulated by the Financial Services Authority of the United Kingdom (FSA). References 1. http://www.protocolinfogate.com/moneybookers/directory.php?app=login.pl From brde at optusnet.com.au Thu Jun 4 09:35:02 2009 From: brde at optusnet.com.au (Bruce Evans) Date: Thu Jun 4 09:35:09 2009 Subject: slow tick when idle In-Reply-To: <20090603220632.GA79172@pit.databus.com> References: <20090603220632.GA79172@pit.databus.com> Message-ID: <20090604172829.D14759@delplex.bde.org> On Wed, 3 Jun 2009, Barney Wolff wrote: > I have an odd problem with wait timing. When the system is quite busy, > for example doing multiple port builds, waits in select() or sleep() > work fine. But when the system is otherwise mostly idle, waits run > at least 2.5% slow. This happens on both a 6-stable from 12/08 and > 7-stable from 5/28/09, and whether I use ACPI-fast or HPET. Time of > day is not affected, only waits. Timeouts are implemented using hardclock() interrupts, so they would take longer than expected if some of these interrupts are missed. nanosleep() shouldn't notice the effect of small errors in the hardclock() interrupt frequency (which will become large absolute errors for long waits), but it is misimplemented. (The worst-case error with a working i386 i8254 timer and HZ = 1000 is about 0.1% or 3.6 seconds per hour.) nansleep() should wake up about 0.1% early to handle the case where the clock runs slow. (If the clock runs fast then it already wakes up early. It already knows to go back to sleep then, so it only needs a small change to avoid late wakeups.) To handle your clock, it would have to wake up 2.5% early. > My machine is a Dell XPS410 with Intel Core2 2.13GHz, 2 cores. The > problem does not occur on an older single-cpu Athlon XP with 7.2-rel. > > Perhaps some artifact of cpu state under light load? Your hardclock timer is probably the lapic. This has more delicate interactions with sleep states than the i8254 (I think that since the i8254 is old and often used for timeouts, hardware designers know not to stop it for low sleep states.) Normally when there is this problem, the lapic timer stops completely and waits would be infinite, except other interrupt activity (like dancing on the keyboard) wakes up the system enough for some lapic interrupts to get through, and timeouts are only delayed for several thousand percent. I don't know of any bugs that result in only 2.5% of lapic interrupts not getting through. Bruce From kochetkov.andrew at gmail.com Thu Jun 4 12:12:48 2009 From: kochetkov.andrew at gmail.com (Andrew Kochetkov) Date: Thu Jun 4 12:12:56 2009 Subject: Intel DP45SG motherboard problem (amd64) Message-ID: <4A27B4A5.2060302@gmail.com> Hello all. I have a problem with Intel LGA775 DP45SG Intel P45/ICH10R motherboard on FreeBSD/amd64. Any devices (keyboard, sata, net) don't work after kernel loading. It works for i386 (expect for keyboard: first pressed key "sticks"). FreeBSD versions that i tried are: 7.0-RELEASE, 7.2-RELEASE, 8.0-CURRENT There was no difference with/without ACPI. I connect serial console, boot -v and I'm seeing FreeBSD complaining about inability to allocate interrupts for devices, like the log below: OK boot -v -h SMAP type=01 base=0000000000000000 len=000000000009fc00 SMAP type=02 base=000000000009fc00 len=0000000000000400 SMAP type=02 base=00000000000e0000 len=0000000000020000 SMAP type=01 base=0000000000100000 len=00000000bf9e3000 SMAP type=04 base=00000000bfae3000 len=0000000000023000 SMAP type=02 base=00000000bfb06000 len=0000000000245000 SMAP type=04 base=00000000bfd4b000 len=0000000000001000 SMAP type=01 base=00000000bfd4c000 len=0000000000002000 SMAP type=04 base=00000000bfd4e000 len=0000000000007000 SMAP type=01 base=00000000bfd55000 len=0000000000002000 SMAP type=04 base=00000000bfd57000 len=0000000000005000 SMAP type=02 base=00000000bfd5c000 len=0000000000001000 SMAP type=04 base=00000000bfd5d000 len=0000000000001000 SMAP type=03 base=00000000bfd5e000 len=0000000000007000 SMAP type=04 base=00000000bfd65000 len=000000000000a000 SMAP type=02 base=00000000bfd6f000 len=000000000001f000 SMAP type=04 base=00000000bfd8e000 len=0000000000006000 SMAP type=01 base=00000000bfd94000 len=000000000016c000 SMAP type=01 base=0000000100000000 len=0000000040000000 SMAP type=02 base=00000000fed1c000 len=0000000000004000 SMAP type=02 base=00000000ff000000 len=0000000001000000 Copyright (c) 1992-2009 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 is a registered trademark of The FreeBSD Foundation. FreeBSD 7.2-RELEASE #0: Fri May 1 07:18:07 UTC 2009 root@driscoll.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC Preloaded elf kernel "/boot/kernel/kernel" at 0xffffffff80cd4000. Calibrating clock(s) ... i8254 clock: 1193205 Hz CLK_USE_I8254_CALIBRATION not specified - using default frequency Timecounter "i8254" frequency 1193182 Hz quality 0 Calibrating TSC clock ... TSC clock: 2999971323 Hz CPU: Intel(R) Core(TM)2 Quad CPU Q9650 @ 3.00GHz (2999.97-MHz K8-class CPU) Origin = "GenuineIntel" Id = 0x1067a Stepping = 10 Features=0xbfebfbff Features2=0x408e3fd,XSAVE> AMD Features=0x20100800 AMD Features2=0x1 Cores per package: 4 usable memory = 4278108160 (4079 MB) Physical memory chunk(s): 0x0000000000001000 - 0x000000000009bfff, 634880 bytes (155 pages) 0x0000000000d02000 - 0x00000000b6462fff, 3044413440 bytes (743265 pages) 0x00000000bfd4c000 - 0x00000000bfd4dfff, 8192 bytes (2 pages) 0x00000000bfd55000 - 0x00000000bfd56fff, 8192 bytes (2 pages) 0x00000000bfd94000 - 0x00000000bfefffff, 1490944 bytes (364 pages) 0x0000000100000000 - 0x000000013ffeffff, 1073676288 bytes (262128 pages) avail memory = 4097732608 (3907 MB) ULE: setup cpu group 0 ULE: setup cpu 0 ULE: adding cpu 0 to group 0: cpus 1 mask 0x1 wlan_amrr: wlan: <802.11 Link Layer> null: random: nfslock: pseudo-device kbd: new array size 4 kbd1 at kbdmux0 mem: io: hptrr: RocketRAID 17xx/2xxx SATA controller driver v1.2 (May 1 2009 07:16:51) ACPI: RSDP @ 0x0xf03c0/0x0024 (v 2 INTEL) ACPI: XSDT @ 0x0xbfd63e18/0x004C (v 1 INTEL DP45SG 0x00000088 MSFT 0x00010013) ACPI Warning (tbutils-0243): Incorrect checksum in table [XSDT] - A0, should be 56 [20070320] ACPI: FACP @ 0x0xbfd62d98/0x00F4 (v 4 INTEL DP45SG 0x00000088 MSFT 0x00010013) ACPI: DSDT @ 0x0xbfd5e018/0x3D76 (v 1 INTEL DP45SG 0x00000088 INTL 0x20051117) ACPI: FACS @ 0x0xbfd6ce40/0x0040 ACPI: APIC @ 0x0xbfd62f18/0x006C (v 2 INTEL DP45SG 0x00000088 MSFT 0x00010013) ACPI: MCFG @ 0x0xbfd6dd98/0x003C (v 1 INTEL DP45SG 0x00000088 MSFT 0x00000097) ACPI: HPET @ 0x0xbfd6dd18/0x0038 (v 1 INTEL DP45SG 0x00000088 AMI. 0x00000003) ACPI: ASPT @ 0x0xbfd6da98/0x002C (v 1 INTEL PerfTune 0x00000088 AMI 0x00000003) acpi0: on motherboard acpi0: could not allocate interrupt ACPI Exception (evevent-0257): AE_ALREADY_EXISTS, Unable to install System Control Interrupt handler [20070320] acpi0: Could not enable ACPI: AE_ALREADY_EXISTS device_attach: acpi0 attach returned 6 pcib0: pcibus 0 on motherboard pci0: on pcib0 pci0: domain=0, physical bus=0 found-> vendor=0x8086, dev=0x2e20, revid=0x02 domain=0, bus=0, slot=0, func=0 class=06-00-00, hdrtype=0x00, mfdev=0 cmdreg=0x0006, statreg=0x2090, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) found-> vendor=0x8086, dev=0x2e21, revid=0x02 domain=0, bus=0, slot=1, func=0 class=06-04-00, hdrtype=0x01, mfdev=0 cmdreg=0x0007, statreg=0x0010, cachelnsz=16 (dwords) lattimer=0x00 (0 ns), mingnt=0x08 (2000 ns), maxlat=0x00 (0 ns) intpin=a, irq=11 powerspec 3 supports D0 D3 current D0 MSI supports 1 message found-> vendor=0x8086, dev=0x10cd, revid=0x00 domain=0, bus=0, slot=25, func=0 class=02-00-00, hdrtype=0x00, mfdev=0 cmdreg=0x0007, statreg=0x0010, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) intpin=a, irq=10 powerspec 2 supports D0 D3 current D0 MSI supports 1 message, 64 bit map[10]: type Memory, range 32, base 0xd3200000, size 17, enabled map[14]: type Memory, range 32, base 0xd3224000, size 12, enabled map[18]: type I/O Port, range 32, base 0xf0e0, size 5, enabled found-> vendor=0x8086, dev=0x3a37, revid=0x00 domain=0, bus=0, slot=26, func=0 class=0c-03-00, hdrtype=0x00, mfdev=1 cmdreg=0x0005, statreg=0x0290, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) intpin=a, irq=11 map[20]: type I/O Port, range 32, base 0xf0c0, size 5, enabled found-> vendor=0x8086, dev=0x3a38, revid=0x00 domain=0, bus=0, slot=26, func=1 class=0c-03-00, hdrtype=0x00, mfdev=0 cmdreg=0x0005, statreg=0x0290, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) intpin=b, irq=5 map[20]: type I/O Port, range 32, base 0xf0a0, size 5, enabled found-> vendor=0x8086, dev=0x3a39, revid=0x00 domain=0, bus=0, slot=26, func=2 class=0c-03-00, hdrtype=0x00, mfdev=0 cmdreg=0x0005, statreg=0x0290, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) intpin=c, irq=3 map[20]: type I/O Port, range 32, base 0xf080, size 5, enabled found-> vendor=0x8086, dev=0x3a3c, revid=0x00 domain=0, bus=0, slot=26, func=7 class=0c-03-20, hdrtype=0x00, mfdev=0 cmdreg=0x0006, statreg=0x0290, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) intpin=c, irq=3 powerspec 2 supports D0 D3 current D0 map[10]: type Memory, range 32, base 0xd3225400, size 10, enabled found-> vendor=0x8086, dev=0x3a3e, revid=0x00 domain=0, bus=0, slot=27, func=0 class=04-03-00, hdrtype=0x00, mfdev=0 cmdreg=0x0006, statreg=0x0010, cachelnsz=16 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) intpin=a, irq=7 powerspec 2 supports D0 D3 current D0 MSI supports 1 message, 64 bit map[10]: type Memory, range 64, base 0xd3220000, size 14, enabled found-> vendor=0x8086, dev=0x3a34, revid=0x00 domain=0, bus=0, slot=29, func=0 class=0c-03-00, hdrtype=0x00, mfdev=1 cmdreg=0x0005, statreg=0x0290, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) intpin=a, irq=11 map[20]: type I/O Port, range 32, base 0xf060, size 5, enabled found-> vendor=0x8086, dev=0x3a35, revid=0x00 domain=0, bus=0, slot=29, func=1 class=0c-03-00, hdrtype=0x00, mfdev=0 cmdreg=0x0005, statreg=0x0290, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) intpin=b, irq=10 map[20]: type I/O Port, range 32, base 0xf040, size 5, enabled found-> vendor=0x8086, dev=0x3a36, revid=0x00 domain=0, bus=0, slot=29, func=2 class=0c-03-00, hdrtype=0x00, mfdev=0 cmdreg=0x0005, statreg=0x0290, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) intpin=c, irq=3 map[20]: type I/O Port, range 32, base 0xf020, size 5, enabled found-> vendor=0x8086, dev=0x3a3a, revid=0x00 domain=0, bus=0, slot=29, func=7 class=0c-03-20, hdrtype=0x00, mfdev=0 cmdreg=0x0006, statreg=0x0290, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) intpin=a, irq=11 powerspec 2 supports D0 D3 current D0 map[10]: type Memory, range 32, base 0xd3225000, size 10, enabled found-> vendor=0x8086, dev=0x244e, revid=0x90 domain=0, bus=0, slot=30, func=0 class=06-04-01, hdrtype=0x01, mfdev=0 cmdreg=0x0007, statreg=0x0010, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) found-> vendor=0x8086, dev=0x3a16, revid=0x00 domain=0, bus=0, slot=31, func=0 class=06-01-00, hdrtype=0x00, mfdev=1 cmdreg=0x0007, statreg=0x0210, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) found-> vendor=0x8086, dev=0x3a20, revid=0x00 domain=0, bus=0, slot=31, func=2 class=01-01-8a, hdrtype=0x00, mfdev=0 cmdreg=0x0007, statreg=0x02b0, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) intpin=b, irq=10 powerspec 3 supports D0 D3 current D0 map[20]: type I/O Port, range 32, base 0xf170, size 4, enabled map[24]: type I/O Port, range 32, base 0xf160, size 4, enabled found-> vendor=0x8086, dev=0x3a30, revid=0x00 domain=0, bus=0, slot=31, func=3 class=0c-05-00, hdrtype=0x00, mfdev=0 cmdreg=0x0003, statreg=0x0280, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) intpin=c, irq=3 map[10]: type Memory, range 64, base 0xd3225800, size 8, enabled map[20]: type I/O Port, range 32, base 0xf000, size 5, enabled found-> vendor=0x8086, dev=0x3a26, revid=0x00 domain=0, bus=0, slot=31, func=5 class=01-01-85, hdrtype=0x00, mfdev=0 cmdreg=0x0007, statreg=0x02b0, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) intpin=b, irq=10 powerspec 3 supports D0 D3 current D0 map[10]: type I/O Port, range 32, base 0xf150, size 3, enabled map[14]: type I/O Port, range 32, base 0xf140, size 2, enabled map[18]: type I/O Port, range 32, base 0xf130, size 3, enabled map[1c]: type I/O Port, range 32, base 0xf120, size 2, enabled map[20]: type I/O Port, range 32, base 0xf110, size 4, enabled map[24]: type I/O Port, range 32, base 0xf100, size 4, enabled pcib1: irq 11 at device 1.0 on pci0 pcib1: domain 0 pcib1: secondary bus 1 pcib1: subordinate bus 1 pcib1: I/O decode 0xe000-0xefff pcib1: memory decode 0xc0000000-0xd30fffff pcib1: no prefetched decode pci1: on pcib1 pci1: domain=0, physical bus=1 found-> vendor=0x10de, dev=0x0422, revid=0xa1 domain=0, bus=1, slot=0, func=0 class=03-00-00, hdrtype=0x00, mfdev=0 cmdreg=0x0007, statreg=0x0010, cachelnsz=16 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) intpin=a, irq=11 powerspec 2 supports D0 D3 current D0 MSI supports 1 message, 64 bit map[10]: type Memory, range 32, base 0xd2000000, size 24, enabled pcib1: requested memory range 0xd2000000-0xd2ffffff: good map[14]: type Prefetchable Memory, range 64, base 0xc0000000, size 28, enabled pcib1: requested memory range 0xc0000000-0xcfffffff: good map[1c]: type Memory, range 64, base 0xd0000000, size 25, enabled pcib1: requested memory range 0xd0000000-0xd1ffffff: good map[24]: type I/O Port, range 32, base 0xe000, size 7, enabled pcib1: requested I/O range 0xe000-0xe07f: in range vgapci0: port 0xe000-0xe07f mem 0xd2000000-0xd2ffffff,0xc0000000-0xcfffffff,0xd0000000-0xd1ffffff irq 11 at device 0.0 on pci1 em0: port 0xf0e0-0xf0ff mem 0xd3200000-0xd321ffff,0xd3224000-0xd3224fff irq 10 at device 25.0 on pci0 em0: Reserved 0x20000 bytes for rid 0x10 type 3 at 0xd3200000 em0: attempting to allocate 1 MSI vectors (1 supported) em0: Reserved 0x1000 bytes for rid 0x14 type 3 at 0xd3224000 em0: Unable to allocate bus resource: interrupt device_attach: em0 attach returned 6 uhci0: port 0xf0c0-0xf0df irq 11 at device 26.0 on pci0 uhci0: Reserved 0x20 bytes for rid 0x20 type 4 at 0xf0c0 uhci0: Could not allocate irq device_attach: uhci0 attach returned 6 uhci1: port 0xf0a0-0xf0bf irq 5 at device 26.1 on pci0 uhci1: Reserved 0x20 bytes for rid 0x20 type 4 at 0xf0a0 uhci1: Could not allocate irq device_attach: uhci1 attach returned 6 uhci2: port 0xf080-0xf09f irq 3 at device 26.2 on pci0 uhci2: Reserved 0x20 bytes for rid 0x20 type 4 at 0xf080 uhci2: Could not allocate irq device_attach: uhci2 attach returned 6 ehci0: mem 0xd3225400-0xd32257ff irq 3 at device 26.7 on pci0 ehci0: Reserved 0x400 bytes for rid 0x10 type 3 at 0xd3225400 ehci0: Could not allocate irq device_attach: ehci0 attach returned 6 pci0: at device 27.0 (no driver attached) uhci3: port 0xf060-0xf07f irq 11 at device 29.0 on pci0 uhci3: Reserved 0x20 bytes for rid 0x20 type 4 at 0xf060 uhci3: Could not allocate irq device_attach: uhci3 attach returned 6 uhci4: port 0xf040-0xf05f irq 10 at device 29.1 on pci0 uhci4: Reserved 0x20 bytes for rid 0x20 type 4 at 0xf040 uhci4: Could not allocate irq device_attach: uhci4 attach returned 6 uhci5: port 0xf020-0xf03f irq 3 at device 29.2 on pci0 uhci5: Reserved 0x20 bytes for rid 0x20 type 4 at 0xf020 uhci5: Could not allocate irq device_attach: uhci5 attach returned 6 ehci1: mem 0xd3225000-0xd32253ff irq 11 at device 29.7 on pci0 ehci1: Reserved 0x400 bytes for rid 0x10 type 3 at 0xd3225000 ehci1: Could not allocate irq device_attach: ehci1 attach returned 6 pcib2: at device 30.0 on pci0 pcib2: domain 0 pcib2: secondary bus 2 pcib2: subordinate bus 2 pcib2: I/O decode 0xf000-0xfff pcib2: memory decode 0xd3100000-0xd31fffff pcib2: no prefetched decode pcib2: Subtractively decoded bridge. pci2: on pcib2 pci2: domain=0, physical bus=2 found-> vendor=0x11c1, dev=0x5811, revid=0x70 domain=0, bus=2, slot=0, func=0 class=0c-00-10, hdrtype=0x00, mfdev=0 cmdreg=0x0006, statreg=0x0290, cachelnsz=16 (dwords) lattimer=0x20 (960 ns), mingnt=0x0c (3000 ns), maxlat=0x18 (6000 ns) intpin=a, irq=10 powerspec 2 supports D0 D1 D2 D3 current D0 map[10]: type Memory, range 32, base 0xd3100000, size 12, enabled pcib2: requested memory range 0xd3100000-0xd3100fff: good fwohci0: mem 0xd3100000-0xd3100fff irq 10 at device 0.0 on pci2 fwohci0: Reserved 0x1000 bytes for rid 0x10 type 3 at 0xd3100000 fwohci0: Could not allocate irq device_attach: fwohci0 attach returned 6 isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xf170-0xf17f,0xf160-0xf16f irq 10 at device 31.2 on pci0 atapci0: Reserved 0x10 bytes for rid 0x20 type 4 at 0xf170 atapci0: Reserved 0x10 bytes for rid 0x24 type 4 at 0xf160 ata0: on atapci0 atapci0: Reserved 0x8 bytes for rid 0x10 type 4 at 0x1f0 atapci0: Reserved 0x1 bytes for rid 0x14 type 4 at 0x3f6 ata0: reset tp1 mask=03 ostat0=7f ostat1=7f ata0: stat0=0x7f err=0xff lsb=0xff msb=0xff ata0: stat0=0x7f err=0xff lsb=0xff msb=0xff ata0: stat0=0x7f err=0xff lsb=0xff msb=0xff ata0: stat0=0x7f err=0xff lsb=0xff msb=0xff ata0: stat0=0x7f err=0xff lsb=0xff msb=0xff ata0: stat0=0x7f err=0xff lsb=0xff msb=0xff ata0: stat0=0x7f err=0xff lsb=0xff msb=0xff ata0: stat0=0x7f err=0xff lsb=0xff msb=0xff ata0: stat0=0x7f err=0xff lsb=0xff msb=0xff ata0: stat0=0x7f err=0xff lsb=0xff msb=0xff ata0: stat0=0x7f err=0xff lsb=0xff msb=0xff ata0: stat0=0x7f err=0xff lsb=0xff msb=0xff ata0: stat0=0x7f err=0xff lsb=0xff msb=0xff ata0: stat0=0x7f err=0xff lsb=0xff msb=0xff ata0: stat0=0x7f err=0xff lsb=0xff msb=0xff ata0: stat0=0x7f err=0xff lsb=0xff msb=0xff ata0: stat0=0x7f err=0xff lsb=0xff msb=0xff ata0: stat0=0x7f err=0xff lsb=0xff msb=0xff ata0: stat0=0x7f err=0xff lsb=0xff msb=0xff ata0: stat0=0x7f err=0xff lsb=0xff msb=0xff ata0: stat0=0x7f err=0xff lsb=0xff msb=0xff ata0: stat0=0x7f err=0xff lsb=0xff msb=0xff ata0: stat1=0x7f err=0xff lsb=0xff msb=0xff ata0: reset tp2 stat0=ff stat1=ff devices=0x0 ata0: unable to allocate interrupt device_attach: ata0 attach returned 6 ata1: on atapci0 atapci0: Reserved 0x8 bytes for rid 0x18 type 4 at 0x170 atapci0: Reserved 0x1 bytes for rid 0x1c type 4 at 0x376 ata1: reset tp1 mask=03 ostat0=50 ostat1=00 ata1: stat0=0x50 err=0x01 lsb=0x00 msb=0x00 ata1: stat1=0x00 err=0x01 lsb=0x00 msb=0x00 ata1: reset tp2 stat0=50 stat1=00 devices=0x1 ata1: unable to allocate interrupt device_attach: ata1 attach returned 6 pci0: at device 31.3 (no driver attached) atapci1: port 0xf150-0xf157,0xf140-0xf143,0xf130-0xf137,0xf120-0xf123,0xf110-0xf11f,0xf100-0xf10f irq 10 at device 31.5 on pci0 atapci1: Reserved 0x10 bytes for rid 0x20 type 4 at 0xf110 atapci1: unable to map interrupt device_attach: atapci1 attach returned 6 cpu0 on motherboard est0: on cpu0 est: CPU supports Enhanced Speedstep, but is not recognized. est: cpu_vendor GenuineIntel, msr 616092206000922 device_attach: est0 attach returned 6 p4tcc0: on cpu0 ex_isa_identify() sc: sc0 already exists; skipping it vga: vga0 already exists; skipping it isa_probe_children: disabling PnP devices isa_probe_children: probing non-PnP devices orm0: at iomem 0xc0000-0xccfff,0xcd000-0xcdfff on isa0 atkbdc0: at port 0x60,0x64 on isa0 atkbd0: unable to allocate IRQ psm0: unable to allocate IRQ fdc0: cannot reserve interrupt line fdc0 failed to probe at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0 ppc0: cannot reserve I/O port range ppc0: failed to probe at irq 7 on isa0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> sc0: fb0, kbd1, terminal emulator: sc (syscons terminal) sio0: configured irq 4 not in bitmap of probed irqs 0 sio0: port may not be enabled sio0: irq maps: 0 0 0 0 sio0: configured irq 4 not in bitmap of probed irqs 0 sio0: port may not be enabled sio0: irq maps: 0 0 0 0 sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 16550A, console sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled sio1: irq maps: 0 0 0 0 sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled sio1: irq maps: 0 0 0 0 sio1 at port 0x2f8-0x2ff irq 3 on isa0 sio1: type 16550A sio2: not probed (disabled) sio3: not probed (disabled) vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 isa_probe_children: probing PnP devices Device configuration finished. Reducing kern.maxvnodes 257643 -> 100000 procfs registered Timecounter "TSC" frequency 2999971323 Hz quality 800 Timecounters tick every 1.000 msec lo0: bpf attached hptrr: no controller detected. ATA PseudoRAID loaded Trying to mount root from ufs:/dev/ad4s1a Manual root filesystem specification: : Mount using filesystem eg. ufs:da0s1a ? List valid disk boot devices Abort manual input mountroot> ? List of GEOM managed disk devices: Manual root filesystem specification: : Mount using filesystem eg. ufs:da0s1a ? List valid disk boot devices Abort manual input From agh at coolrhaug.com Thu Jun 4 15:23:18 2009 From: agh at coolrhaug.com (Alastair Hogge) Date: Thu Jun 4 15:24:05 2009 Subject: Intel DP45SG motherboard problem (amd64) In-Reply-To: <4A27B4A5.2060302@gmail.com> References: <4A27B4A5.2060302@gmail.com> Message-ID: <200906042257.20815.agh@coolrhaug.com> On Thu June 4 2009 19:48:53 Andrew Kochetkov wrote: > Hello all. Hey, > I have a problem with Intel LGA775 DP45SG Intel P45/ICH10R motherboard > on FreeBSD/amd64. I have the same MB, with the same problem. > Any devices (keyboard, sata, net) don't work after > kernel loading. It works for i386 (expect for keyboard: first pressed > key "sticks"). > FreeBSD versions that i tried are: 7.0-RELEASE, 7.2-RELEASE, 8.0-CURRENT > There was no difference with/without ACPI. > I connect serial console, boot -v and I'm seeing FreeBSD complaining > about inability to allocate interrupts for devices, like the log below: Yep. I couldn't get 7.1-RELEASE or above to install at all. I went over this (many months ago) with a few people on freenode.net, the conclusion at the time - FreeBSD amd64 port doesn't recognize the AHCI bus native or legacy - however, i386 is ok. Now sometime before, I did have maybe a 6.x or 7.x system running OK. It just broke one day after an update (was a big update - months in between). I never got around to installing 6.x to investigate further. I have 2 machines very close to identical with the DP45SG, If you're curious NetBSD-5 amd64 boots without problems. -alastair [dmesg removed] From agh at coolrhaug.com Thu Jun 4 15:23:18 2009 From: agh at coolrhaug.com (Alastair Hogge) Date: Thu Jun 4 15:24:05 2009 Subject: Intel DP45SG motherboard problem (amd64) In-Reply-To: <4A27B4A5.2060302@gmail.com> References: <4A27B4A5.2060302@gmail.com> Message-ID: <200906042257.20815.agh@coolrhaug.com> On Thu June 4 2009 19:48:53 Andrew Kochetkov wrote: > Hello all. Hey, > I have a problem with Intel LGA775 DP45SG Intel P45/ICH10R motherboard > on FreeBSD/amd64. I have the same MB, with the same problem. > Any devices (keyboard, sata, net) don't work after > kernel loading. It works for i386 (expect for keyboard: first pressed > key "sticks"). > FreeBSD versions that i tried are: 7.0-RELEASE, 7.2-RELEASE, 8.0-CURRENT > There was no difference with/without ACPI. > I connect serial console, boot -v and I'm seeing FreeBSD complaining > about inability to allocate interrupts for devices, like the log below: Yep. I couldn't get 7.1-RELEASE or above to install at all. I went over this (many months ago) with a few people on freenode.net, the conclusion at the time - FreeBSD amd64 port doesn't recognize the AHCI bus native or legacy - however, i386 is ok. Now sometime before, I did have maybe a 6.x or 7.x system running OK. It just broke one day after an update (was a big update - months in between). I never got around to installing 6.x to investigate further. I have 2 machines very close to identical with the DP45SG, If you're curious NetBSD-5 amd64 boots without problems. -alastair [dmesg removed] From jhb at freebsd.org Fri Jun 5 13:55:08 2009 From: jhb at freebsd.org (John Baldwin) Date: Fri Jun 5 13:55:25 2009 Subject: Intel DP45SG motherboard problem (amd64) In-Reply-To: <4A27B4A5.2060302@gmail.com> References: <4A27B4A5.2060302@gmail.com> Message-ID: <200906050838.40750.jhb@freebsd.org> On Thursday 04 June 2009 7:48:53 am Andrew Kochetkov wrote: > Hello all. > I have a problem with Intel LGA775 DP45SG Intel P45/ICH10R motherboard > on FreeBSD/amd64. Any devices (keyboard, sata, net) don't work after > kernel loading. It works for i386 (expect for keyboard: first pressed > key "sticks"). > FreeBSD versions that i tried are: 7.0-RELEASE, 7.2-RELEASE, 8.0-CURRENT > There was no difference with/without ACPI. > I connect serial console, boot -v and I'm seeing FreeBSD complaining > about inability to allocate interrupts for devices, like the log below: Try 'device mptable'. Also, do you have an i386 dmesg? -- John Baldwin From jhb at freebsd.org Fri Jun 5 13:55:08 2009 From: jhb at freebsd.org (John Baldwin) Date: Fri Jun 5 13:55:26 2009 Subject: Intel DP45SG motherboard problem (amd64) In-Reply-To: <4A27B4A5.2060302@gmail.com> References: <4A27B4A5.2060302@gmail.com> Message-ID: <200906050838.40750.jhb@freebsd.org> On Thursday 04 June 2009 7:48:53 am Andrew Kochetkov wrote: > Hello all. > I have a problem with Intel LGA775 DP45SG Intel P45/ICH10R motherboard > on FreeBSD/amd64. Any devices (keyboard, sata, net) don't work after > kernel loading. It works for i386 (expect for keyboard: first pressed > key "sticks"). > FreeBSD versions that i tried are: 7.0-RELEASE, 7.2-RELEASE, 8.0-CURRENT > There was no difference with/without ACPI. > I connect serial console, boot -v and I'm seeing FreeBSD complaining > about inability to allocate interrupts for devices, like the log below: Try 'device mptable'. Also, do you have an i386 dmesg? -- John Baldwin From mlstarling31 at hotmail.com Fri Jun 5 14:40:50 2009 From: mlstarling31 at hotmail.com (Michael Starling) Date: Fri Jun 5 14:40:59 2009 Subject: Monitor Hardware RAID Message-ID: I just installed FreeBSD 7.2 on a Dell T100 PowerEdge server with 2 500GB SATA drives. The server has the Dell sas6ir RAID controller card. The output from dmesg shows RAID 1 enabled and both disk are healthy. My question is this...How can I be sure that the RAID is functioning properly and/or how can I monitor the RAID device for failures etc..? I'm new to FreeBSD so forgive me if this is a simple question. Thanks dmesg|grep mpt mpt0: port 0xec00-0xecff mem 0xdfdec000-0xdfdeffff,0xdfdf0000-0xdfdfffff irq 16 at device 0.0 on pci1 mpt0: [ITHREAD] mpt0: MPI Version=1.5.18.0 mpt0: Capabilities: ( RAID-0 RAID-1E RAID-1 ) mpt0: 1 Active Volume (2 Max) mpt0: 2 Hidden Drive Members (14 Max) mpt0:vol0(mpt0:0:0): Settings ( Member-WCE Hot-Plug-Spares High-Priority-ReSync ) mpt0:vol0(mpt0:0:0): Using Spare Pool: 0 mpt0:vol0(mpt0:0:0): 2 Members: (mpt0:1:8:0): Primary Online (mpt0:1:1:0): Secondary Online mpt0:vol0(mpt0:0:0): RAID-1 - Optimal mpt0:vol0(mpt0:0:0): Status ( Enabled ) (mpt0:vol0:1): Physical (mpt0:0:1:0), Pass-thru (mpt0:1:0:0) (mpt0:vol0:1): Online (mpt0:vol0:0): Physical (mpt0:0:8:0), Pass-thru (mpt0:1:1:0) (mpt0:vol0:0): Online da0 at mpt0 bus 0 target 0 lun _________________________________________________________________ Windows Live? SkyDrive?: Get 25 GB of free online storage. http://windowslive.com/online/skydrive?ocid=TXT_TAGLM_WL_SD_25GB_062009 From scuppers at gmail.com Sat Jun 6 00:26:35 2009 From: scuppers at gmail.com (Scott Spare) Date: Sat Jun 6 00:26:41 2009 Subject: /dev/speaker missing. (kldstat confirms that speaker.ko is loaded.) Message-ID: I'm having a unique (?) problem on a machine running 7.2 STABLE. It looks like /dev/speaker decided to go away, and yet ^G still produces a beep, and the hardware's there. Any advice on how to replace a missing device node under devfs / devd? I understand mknod is deprecated now, and I'm having trouble following how to recreate the device node. I've confirmed that the speaker.ko module is loaded (via kldstat). I rebuilt the kernel and world recently. Any ideas? Thanks kindly, Scott http://www.scottspare.com/bsdfun From exemys at exemys.com Sun Jun 7 09:53:55 2009 From: exemys at exemys.com (Exemys) Date: Sun Jun 7 09:54:03 2009 Subject: Modbus I/O Module - Cost Effective Message-ID: <87a576ba580e1d693f9d0bfe6e43795b@www.hostmailing.com> This is a message in multipart MIME format. Your mail client should not be displaying this. Consider upgrading your mail client to view this message correctly. From jhb at freebsd.org Mon Jun 8 15:33:49 2009 From: jhb at freebsd.org (John Baldwin) Date: Mon Jun 8 15:34:04 2009 Subject: Monitor Hardware RAID In-Reply-To: References: Message-ID: <200906081029.15840.jhb@freebsd.org> On Friday 05 June 2009 10:28:49 am Michael Starling wrote: > > I just installed FreeBSD 7.2 on a Dell T100 PowerEdge server with 2 > 500GB SATA drives. The server has the Dell sas6ir RAID controller card. The output from dmesg shows RAID 1 enabled and both disk are healthy. My question is this...How can I be sure that the RAID is > functioning properly and/or how can I monitor the RAID device for failures etc..? I'm new > to FreeBSD so forgive me if this is a simple question. Thanks You can use mptutil and mptd from the //depot/user/jhb/raid/... branch in FreeBSD p4. -- John Baldwin From bjb at darco.dk Wed Jun 10 19:10:01 2009 From: bjb at darco.dk (Bjarne) Date: Wed Jun 10 19:10:08 2009 Subject: flooded with "ath0: stuck beacon; resetting (bmiss count 4)" after upgrade to 7.2-stable Message-ID: <4A2FFF5F.5010608@darco.dk> After upgrading from FreeBSD 7.1-RELEASE to FreeBSD 7.2-STABLE I Get a gazillion of these : kernel: ath0: stuck beacon; resetting (bmiss count 4) in /var/log/messages Mostly when all workstations are turned off. The messagestorm slows down after the first workstation has connected, but there are still a LOT of messages The Hardware is exactly the same as before the upgrade. No change whatsoever. I am uing the atheros card as a host AP and I have tried different settings with ifconfig like -bgscan to no avail. So please : how to stop these emssages ? v8 # ifconfig ath0 ath0: flags=8943 metric 0 mtu 2290 ether 00:18:4d:ec:7d:07 inet 192.168.1.103 netmask 0xffffff00 broadcast 192.168.1.255 media: IEEE 802.11 Wireless Ethernet autoselect mode 11g status: associated ssid XXXXXX channel 1 (2412 Mhz 11g) bssid 00:18:4d:ec:7d:07 authmode WPA1+WPA2/802.11i privacy MIXED deftxkey 2 TKIP 2:128-bit TKIP 3:128-bit txpower 31.5 scanvalid 1000 protmode CTS burst hidessid dtimperiod 1 Current dmesg from 7.2 stable : ================================================= Copyright (c) 1992-2009 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 is a registered trademark of The FreeBSD Foundation. FreeBSD 7.2-STABLE #2: Sun Jun 7 17:14:11 CEST 2009 toor@v8.YYYYY.dk:/usr/obj/usr/src/sys/V8 Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: AMD Athlon(tm) XP 1600+ (1401.72-MHz 686-class CPU) Origin = "AuthenticAMD" Id = 0x662 Stepping = 2 Features=0x383f9ff AMD Features=0xc0480800 real memory = 805240832 (767 MB) avail memory = 773959680 (738 MB) kbd1 at kbdmux0 acpi0: <761686 AWRDACPI> on motherboard acpi0: [ITHREAD] acpi0: Power Button (fixed) acpi0: reservation of 0, a0000 (3) failed acpi0: reservation of 100000, 2fef0000 (3) failed Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x4008-0x400b on acpi0 acpi_button0: on acpi0 acpi_button1: on acpi0 pcib0: port 0xcf8-0xcff,0x4000-0x407f,0x4080-0x40ff,0x5000-0x500f,0x6000-0x607f on acpi0 pci0: on pcib0 agp0: on hostb0 pcib1: at device 1.0 on pci0 pci1: on pcib1 isab0: at device 7.0 on pci0 isa0: on isab0 atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xc400-0xc40f at device 7.1 on pci0 ata0: on atapci0 ata0: [ITHREAD] ata1: on atapci0 ata1: [ITHREAD] uhci0: port 0xc800-0xc81f irq 5 at device 7.2 on pci0 uhci0: [GIANT-LOCKED] uhci0: [ITHREAD] usb0: on uhci0 usb0: USB revision 1.0 uhub0: on usb0 uhub0: 2 ports with 2 removable, self powered uhci1: port 0xcc00-0xcc1f irq 5 at device 7.3 on pci0 uhci1: [GIANT-LOCKED] uhci1: [ITHREAD] usb1: on uhci1 usb1: USB revision 1.0 uhub1: on usb1 uhub1: 2 ports with 2 removable, self powered pci0: at device 7.4 (no driver attached) vgapci0: mem 0xf0000000-0xf0003fff,0xf1000000-0xf17fffff irq 5 at device 11.0 on pci0 xl0: <3Com 3c905-TX Fast Etherlink XL> port 0xd000-0xd03f irq 12 at device 15.0 on pci0 miibus0: on xl0 nsphy0: PHY 24 on miibus0 nsphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto xl0: Ethernet address: 00:60:08:57:5a:bf xl0: [ITHREAD] ath0: mem 0xf3000000-0xf300ffff irq 10 at device 17.0 on pci0 ath0: [ITHREAD] ath0: WARNING: using obsoleted if_watchdog interface ath0: Ethernet address: 00:18:4d:ec:7d:07 ath0: mac 7.9 phy 4.5 radio 5.6 atapci1: port 0xd400-0xd407,0xd800-0xd803,0xdc00-0xdc07,0xe000-0xe003,0xe400-0xe4ff irq 11 at device 19.0 on pci0 atapci1: [ITHREAD] ata2: on atapci1 ata2: [ITHREAD] ata3: on atapci1 ata3: [ITHREAD] fdc0: port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0 fdc0: [FILTER] fd0: <1440-KB 3.5" drive> on fdc0 drive 0 sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 sio0: type 16550A sio0: [FILTER] sio1: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 on acpi0 sio1: type 16550A sio1: [FILTER] atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] atkbd0: [ITHREAD] cpu0: on acpi0 acpi_throttle0: on cpu0 pmtimer0 on isa0 orm0: at iomem 0xc0000-0xc7fff pnpid ORM0000 on isa0 ppc0: at port 0x378-0x37f irq 7 on isa0 ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode ppbus0: on ppc0 ppbus0: [ITHREAD] plip0: on ppbus0 plip0: WARNING: using obsoleted IFF_NEEDSGIANT flag lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 ppc0: [GIANT-LOCKED] ppc0: [ITHREAD] sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 Timecounter "TSC" frequency 1401715949 Hz quality 800 Timecounters tick every 1.000 msec ad0: 152627MB at ata0-master UDMA100 acd0: DVDROM at ata1-master UDMA66 ad4: 152627MB at ata2-master UDMA100 ad6: 152627MB at ata3-master UDMA100 GEOM_MIRROR: Device mirror/gm0s1 launched (1/1). GEOM_MIRROR: Device gm0s1: provider ad6s1 marked as inactive, skipping. GEOM_LABEL: Label for provider ad4s1a is ufsid/43764dd0e4c68fd0. GEOM_LABEL: Label for provider ad4s1d is ufsid/43764dd570a98422. GEOM_LABEL: Label for provider ad4s1e is ufsid/43764dd8ec27faff. GEOM_LABEL: Label for provider ad4s1f is ufsid/43764ddc8f945f3f. Trying to mount root from ufs:/dev/mirror/gm0s1a bridge0: Ethernet address: 42:87:0c:b1:1e:f6 ath0: ath_chan_set: unable to reset channel 6 (2437 Mhz, flags 0x490 hal flags 0x150), hal status 12 ath0: stuck beacon; resetting (bmiss count 4) ath0: stuck beacon; resetting (bmiss count 4) ath0: stuck beacon; resetting (bmiss count 4) ============================== dmesg from 7.1-release : (same hardware - with no problems) ============================== Copyright (c) 1992-2009 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 is a registered trademark of The FreeBSD Foundation. FreeBSD 7.1-RELEASE-p4 #0: Sun Apr 5 20:22:16 CEST 2009 toor@v8.YYYYY.dk:/usr/obj/usr/src/sys/GENERIC Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: AMD Athlon(tm) XP 1600+ (1401.72-MHz 686-class CPU) Origin = "AuthenticAMD" Id = 0x662 Stepping = 2 Features=0x383f9ff AMD Features=0xc0480800 real memory = 805240832 (767 MB) avail memory = 773980160 (738 MB) kbd1 at kbdmux0 ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413) acpi0: <761686 AWRDACPI> on motherboard acpi0: [ITHREAD] acpi0: Power Button (fixed) acpi0: reservation of 0, a0000 (3) failed acpi0: reservation of 100000, 2fef0000 (3) failed Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x4008-0x400b on acpi0 acpi_button0: on acpi0 acpi_button1: on acpi0 pcib0: port 0xcf8-0xcff,0x4000-0x407f,0x4080-0x40ff,0x5000-0x500f,0x6000-0x607f on acpi0 pci0: on pcib0 agp0: on hostb0 pcib1: at device 1.0 on pci0 pci1: on pcib1 isab0: at device 7.0 on pci0 isa0: on isab0 atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xc400-0xc40f at device 7.1 on pci0 ata0: on atapci0 ata0: [ITHREAD] ata1: on atapci0 ata1: [ITHREAD] uhci0: port 0xc800-0xc81f irq 5 at device 7.2 on pci0 uhci0: [GIANT-LOCKED] uhci0: [ITHREAD] usb0: on uhci0 usb0: USB revision 1.0 uhub0: on usb0 uhub0: 2 ports with 2 removable, self powered uhci1: port 0xcc00-0xcc1f irq 5 at device 7.3 on pci0 uhci1: [GIANT-LOCKED] uhci1: [ITHREAD] usb1: on uhci1 usb1: USB revision 1.0 uhub1: on usb1 uhub1: 2 ports with 2 removable, self powered pci0: at device 7.4 (no driver attached) vgapci0: mem 0xf0000000-0xf0003fff,0xf1000000-0xf17fffff irq 5 at device 11.0 on pci0 xl0: <3Com 3c905-TX Fast Etherlink XL> port 0xd000-0xd03f irq 12 at device 15.0 on pci0 miibus0: on xl0 nsphy0: PHY 24 on miibus0 nsphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto xl0: Ethernet address: 00:60:08:57:5a:bf xl0: [ITHREAD] ath0: mem 0xf3000000-0xf300ffff irq 10 at device 17.0 on pci0 ath0: [ITHREAD] ath0: WARNING: using obsoleted if_watchdog interface ath0: Ethernet address: 00:18:4d:ec:7d:07 ath0: mac 7.9 phy 4.5 radio 5.6 atapci1: port 0xd400-0xd407,0xd800-0xd803,0xdc00-0xdc07,0xe000-0xe003,0xe400-0xe4ff irq 11 at device 19.0 on pci0 atapci1: [ITHREAD] ata2: on atapci1 ata2: [ITHREAD] ata3: on atapci1 ata3: [ITHREAD] fdc0: port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0 fdc0: [FILTER] fd0: <1440-KB 3.5" drive> on fdc0 drive 0 sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 sio0: type 16550A sio0: [FILTER] sio1: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 on acpi0 sio1: type 16550A sio1: [FILTER] atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] atkbd0: [ITHREAD] cpu0: on acpi0 acpi_throttle0: on cpu0 pmtimer0 on isa0 orm0: at iomem 0xc0000-0xc7fff pnpid ORM0000 on isa0 ppc0: at port 0x378-0x37f irq 7 on isa0 ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode ppbus0: on ppc0 ppbus0: [ITHREAD] plip0: on ppbus0 plip0: WARNING: using obsoleted IFF_NEEDSGIANT flag lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 ppc0: [GIANT-LOCKED] ppc0: [ITHREAD] sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 Timecounter "TSC" frequency 1401715696 Hz quality 800 Timecounters tick every 1.000 msec ad0: 152627MB at ata0-master UDMA100 acd0: DVDROM at ata1-master UDMA66 ad4: 152627MB at ata2-master UDMA100 ad6: 152627MB at ata3-master UDMA100 GEOM_MIRROR: Device gm0s1: provider ad4s1 marked as inactive, skipping. Root mount waiting for: GMIRROR Root mount waiting for: GMIRROR Root mount waiting for: GMIRROR Root mount waiting for: GMIRROR GEOM_MIRROR: Force device gm0s1 start due to timeout. GEOM_MIRROR: Device mirror/gm0s1 launched (2/3). Trying to mount root from ufs:/dev/mirror/gm0s1a bridge0: Ethernet address: 9e:0e:a9:07:08:01 ath0: ath_chan_set: unable to reset channel 6 (2437 Mhz, flags 0x490 hal flags 0x150), hal status 12 From jhelfman at e-e.com Thu Jun 11 17:40:57 2009 From: jhelfman at e-e.com (Jason) Date: Thu Jun 11 17:41:04 2009 Subject: Adaptec RAID 5405 issues Message-ID: <20090611165454.GA31466@eggman.experts-exchange.com> Hi, I am running FreeBSD 7.1-RELEASE #0 and am receiving fatal errors that hang the system. aacu0: COMMAND xxx TIMEOUT AFTER xxx SECONDS After seeing this error with the GENERIC kernel I re-compiled, per the aac man page, the kernel with debugging and received these errors. g_vfs_done():aacdu0s1d[WRITE(offset=xxx, length=xxx)]error = 5 The machine(s) at this point in not accessible in any sense. Is anyone else receiving errors like this? I opened a ticket with Adaptec, but they are interested in having a "Support Archive" attached to our ticket, however I have no idea how to get this on FreeBSD. Are there any Adaptec utilities that would get this information? I don't know if the aacconf utility would do this or not. Thanks, Jason From ray at dlink.ua Fri Jun 12 08:35:21 2009 From: ray at dlink.ua (Alexandr Rybalko) Date: Fri Jun 12 08:35:28 2009 Subject: CFI Message-ID: <20090612110932.22f2dfa6.ray@dlink.ua> Good day! Writing to you Warner because you made cfi driver. I found what Spansion S29AL032D90TFII03 and S29GL064A90TFI03 detect in byte mode on addresses shifted by 1, and in chip manual I found what, in byte mode we read on shifted address (like 0x20 for 'Q'), in word mode we read on non shifted address (like 0x10 for 'Q') So if we wont to use same driver for any CFI chips, we need to test on shifted addresses. Temporary I change val = bus_space_read_1(sc->sc_tag, sc->sc_handle, ofs); to val = bus_space_read_1(sc->sc_tag, sc->sc_handle, ofs<<1); And chip detect correctly. Thunks. -- Alexandr Rybalko From bsdwiz at gmail.com Fri Jun 12 04:40:31 2009 From: bsdwiz at gmail.com (bsdwiz@gmail.com) Date: Fri Jun 12 11:18:09 2009 Subject: intel atom support? Message-ID: hello, does freebsd 7.x support the intel atom processors? i'm looking to install freebsd on my new dell mini 12. thanks, phil From exemys at exemys.com Sat Jun 13 14:00:40 2009 From: exemys at exemys.com (Exemys) Date: Sat Jun 13 14:00:48 2009 Subject: I/O Serial Tunnel over Ethernet - Cellular - WiFi Message-ID: <0abe5674215b5f2d59e7642754bcf06c@www.hostmailing.com> This is a message in multipart MIME format. Your mail client should not be displaying this. Consider upgrading your mail client to view this message correctly. From dean at fragfest.com.au Sat Jun 13 16:34:09 2009 From: dean at fragfest.com.au (Dean Hamstead) Date: Sat Jun 13 16:34:17 2009 Subject: intel atom support? In-Reply-To: References: Message-ID: <4A33B5D2.2030500@fragfest.com.au> give the i386 port a whirl, see how it goes. Dean bsdwiz@gmail.com wrote: > hello, > > does freebsd 7.x support the intel atom processors? i'm looking to install > freebsd on my new dell mini 12. > > thanks, > > phil > _______________________________________________ > freebsd-hardware@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hardware > To unsubscribe, send any mail to "freebsd-hardware-unsubscribe@freebsd.org" > From bo.coopci at gmail.com Mon Jun 15 10:05:37 2009 From: bo.coopci at gmail.com (cooper) Date: Mon Jun 15 10:05:42 2009 Subject: how to know WWN of SAS devices Message-ID: <4A361576.4060504@gmail.com> Hi, folks. How to know WWN of the SAS devices attached to the system? This may be insanely easy, but I have spent hours to find the way and failed. From ivoras at freebsd.org Mon Jun 15 18:19:48 2009 From: ivoras at freebsd.org (Ivan Voras) Date: Mon Jun 15 18:19:53 2009 Subject: intel atom support? In-Reply-To: References: Message-ID: bsdwiz@gmail.com wrote: > hello, > > does freebsd 7.x support the intel atom processors? i'm looking to install Yes, but you need a recent version (7.2 or 7-STABLE) for recent drivers. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 258 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-hardware/attachments/20090615/69fbd678/signature.pgp From realliukai at gmail.com Mon Jun 22 03:39:14 2009 From: realliukai at gmail.com (=?GB2312?B?wfW/rQ==?=) Date: Mon Jun 22 04:01:46 2009 Subject: Wireless,Atheros AR5008-based PCI adapter,mode 11n Message-ID: <7237120a0906212006w7b387229qbe352c25a383eaf5@mail.gmail.com> Hi All, Recently I've got 802.11b/g adapter TL-WN353GD from TP-Link, based on Atheros AR5008 chip.It's a 802.11n NIC. I can make it work in mode 11g in stead of 11n with the FreeBSD 8.0 current. So,I have a question that whether there is support for 802.11n in FreeBSD 8.0 current yet. And if It support 802.11n, how can I config the parameters to make it work in mode 11n. Thanks, -- Kevin From exemys at exemys.com Mon Jun 22 20:13:29 2009 From: exemys at exemys.com (Exemys) Date: Mon Jun 22 20:14:16 2009 Subject: Analog Inputs over Ethernet-WiFi-Cellular Message-ID: <5b3cc1bc1d0d5251e4286d54bcb2b069@www.hostmailing.com> This is a message in multipart MIME format. Your mail client should not be displaying this. Consider upgrading your mail client to view this message correctly. From exemys at exemys.com Sun Jun 28 03:04:15 2009 From: exemys at exemys.com (Exemys) Date: Sun Jun 28 03:04:22 2009 Subject: Serial to WiFi - Wireless Serial Server Message-ID: This is a message in multipart MIME format. Your mail client should not be displaying this. Consider upgrading your mail client to view this message correctly. From dalibor.kollar at gmail.com Mon Jun 29 13:58:11 2009 From: dalibor.kollar at gmail.com (dalibor kollar) Date: Mon Jun 29 13:58:43 2009 Subject: ata only getting 33 instead of 133 Message-ID: <712fe3890906290626k2054be8p1c46acf9be16cbc4@mail.gmail.com> Hello, I'm using PC-BSD 7.1 based on FreeBSD 7.2-PRERELEASE #12 dvd burner: ASUS DRW-1814BL - http://www.asus.com/product.aspx?P_ID=0S8SJw9jibmKbMn5 MB: ASUS K8V-X SE - http://www.asus.com/product.aspx?P_ID=lzDXlbBVHkdckHVr dmesg says: acd0: DMA limited to UDMA33, device found non-ATA66 cable acd0: DVDR at ata1-master UDMA33 acd0: FAILURE - INQUIRY ILLEGAL REQUEST asc=0x24 ascq=0x00 cd0 at ata1 bus 0 target 0 lun 0 cd0: Removable CD-ROM SCSI-0 device cd0: 33.000MB/s transfers my chipset (VIA K8T800) is not amongst chipsets listed in manpage of ata controller driver. It says when chipset is not supported, UDMA is set automatically to UDMA33. I'm using 80 pin cable. 100%. "atacontrol mode acd0 UDMA6" returns: "current mode = UDMA33" "atacontrol mode acd0 PIO4" - mouse becomes extremly jumpy and there is no significant performance gain. disabling 80pin cable check in loader.conf through "hw.ata.ata_dma_check_80pin="0" gives me UDMA66 after reboot. The question: how do I enable full speed of UDMA133? Is it possible at all? ----------- dalibor