From regmeplease at gmail.com Thu Oct 2 14:48:13 2008 From: regmeplease at gmail.com (Reg Me Please) Date: Thu Oct 2 14:48:20 2008 Subject: FreeBSD on laptops Message-ID: <200810021621.52597.regmeplease@gmail.com> Hi all. I'm considering to move from Linux to FreeBSD on my main laptop. I don't have enough time resources for the "test and try" process I'd like to know from the community what is the status for: 0. Core2 Duo CPUs 1. Support for modern chipsets (ICH8) 2. support for power management (mostly ACPI and CPU clock freq. ) on laptops 3. support for accelerated graphic cards (nVidia GeForce 8600M GT) 4. support for Intel wifi (4965 AGN) 5. support for other hardware like audio, card readers, i-Link, USB And, of course, any advise about FreeBSD on laptops will be highly appreciated. Thanks in advance. From smithi at nimnet.asn.au Thu Oct 2 15:06:52 2008 From: smithi at nimnet.asn.au (Ian Smith) Date: Thu Oct 2 15:06:58 2008 Subject: FreeBSD on laptops In-Reply-To: <200810021621.52597.regmeplease@gmail.com> References: <200810021621.52597.regmeplease@gmail.com> Message-ID: <20081003010322.D49572@sola.nimnet.asn.au> On Thu, 2 Oct 2008, Reg Me Please wrote: > Hi all. > > I'm considering to move from Linux to FreeBSD on my main laptop. > I don't have enough time resources for the "test and try" process > I'd like to know from the community what is the status for: > 0. Core2 Duo CPUs > 1. Support for modern chipsets (ICH8) > 2. support for power management (mostly ACPI and CPU clock freq. ) on laptops > 3. support for accelerated graphic cards (nVidia GeForce 8600M GT) > 4. support for Intel wifi (4965 AGN) > 5. support for other hardware like audio, card readers, i-Link, USB > > And, of course, any advise about FreeBSD on laptops will be highly > appreciated. You really need to tell us what make & model laptop you have, so people with the same or similar machines can comment. Otherwise, 'it depends'. cheers, Ian From stephen at math.missouri.edu Thu Oct 2 15:13:01 2008 From: stephen at math.missouri.edu (Stephen Montgomery-Smith) Date: Thu Oct 2 15:13:08 2008 Subject: FreeBSD on laptops In-Reply-To: <200810021621.52597.regmeplease@gmail.com> References: <200810021621.52597.regmeplease@gmail.com> Message-ID: <48E4E0A3.8000201@math.missouri.edu> Reg Me Please wrote: > Hi all. > > I'm considering to move from Linux to FreeBSD on my main laptop. > I don't have enough time resources for the "test and try" process > I'd like to know from the community what is the status for: > 0. Core2 Duo CPUs > 1. Support for modern chipsets (ICH8) > 2. support for power management (mostly ACPI and CPU clock freq. ) on laptops > 3. support for accelerated graphic cards (nVidia GeForce 8600M GT) My understanding is that hardware acceleration for nVidia video cards is not available for the amd64 versions of FreeBSD. > 4. support for Intel wifi (4965 AGN) Available under CURRENT. I think there are backported patches available for STABLE, but I don't know how reliable they are. > 5. support for other hardware like audio, card readers, i-Link, USB > I have NOT been successful getting audio to work on the Dell Inspiron 1525. So .... > And, of course, any advise about FreeBSD on laptops will be highly > appreciated. ... if you want audio and all the other bells and whistles, don't go with the Dell Inspiron 1525. > > Thanks in advance. > _______________________________________________ > freebsd-mobile@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-mobile > To unsubscribe, send any mail to "freebsd-mobile-unsubscribe@freebsd.org" > > From regmeplease at gmail.com Thu Oct 2 15:17:03 2008 From: regmeplease at gmail.com (Reg Me Please) Date: Thu Oct 2 15:17:10 2008 Subject: FreeBSD on laptops In-Reply-To: <20081003010322.D49572@sola.nimnet.asn.au> References: <200810021621.52597.regmeplease@gmail.com> <20081003010322.D49572@sola.nimnet.asn.au> Message-ID: <200810021716.56061.regmeplease@gmail.com> Il Thursday 02 October 2008 17:06:48 Ian Smith ha scritto: > On Thu, 2 Oct 2008, Reg Me Please wrote: > > Hi all. > > > > I'm considering to move from Linux to FreeBSD on my main laptop. > > I don't have enough time resources for the "test and try" process > > I'd like to know from the community what is the status for: > > 0. Core2 Duo CPUs > > 1. Support for modern chipsets (ICH8) > > 2. support for power management (mostly ACPI and CPU clock freq. ) on > > laptops 3. support for accelerated graphic cards (nVidia GeForce 8600M > > GT) 4. support for Intel wifi (4965 AGN) > > 5. support for other hardware like audio, card readers, i-Link, USB > > > > And, of course, any advise about FreeBSD on laptops will be highly > > appreciated. > > You really need to tell us what make & model laptop you have, so people > with the same or similar machines can comment. Otherwise, 'it depends'. > > cheers, Ian ASUS G1s The (Linux version of) lspci says (sorry for wrapping): 00:00.0 Host bridge: Intel Corporation Mobile PM965/GM965/GL960 Memory Controller Hub (rev 03) 00:01.0 PCI bridge: Intel Corporation Mobile PM965/GM965/GL960 PCI Express Root Port (rev 03) 00:1a.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #4 (rev 03) 00:1a.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #5 (rev 03) 00:1a.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #2 (rev 03) 00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 03) 00:1c.0 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 1 (rev 03) 00:1c.1 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 2 (rev 03) 00:1c.2 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 3 (rev 03) 00:1c.3 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 4 (rev 03) 00:1c.4 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 5 (rev 03) 00:1d.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #1 (rev 03) 00:1d.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #2 (rev 03) 00:1d.2 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #3 (rev 03) 00:1d.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #1 (rev 03) 00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev f3) 00:1f.0 ISA bridge: Intel Corporation 82801HEM (ICH8M) LPC Interface Controller (rev 03) 00:1f.1 IDE interface: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) IDE Controller (rev 03) 00:1f.2 SATA controller: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) SATA AHCI Controller (rev 03) 01:00.0 VGA compatible controller: nVidia Corporation GeForce 8600M GT (rev a1) 02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 01) 03:00.0 Network controller: Intel Corporation PRO/Wireless 4965 AG or AGN Network Connection (rev 61) 07:00.0 SATA controller: JMicron Technologies, Inc. JMicron 20360/20363 AHCI Controller (rev 02) 08:01.0 FireWire (IEEE 1394): Ricoh Co Ltd R5C832 IEEE 1394 Controller (rev 05) 08:01.1 SD Host controller: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 22) 08:01.2 System peripheral: Ricoh Co Ltd R5C592 Memory Stick Bus Host Adapter (rev 12) 08:01.3 System peripheral: Ricoh Co Ltd xD-Picture Card Controller (rev 12) From frank at exit.com Thu Oct 2 17:45:47 2008 From: frank at exit.com (Frank Mayhar) Date: Thu Oct 2 17:45:54 2008 Subject: FreeBSD on laptops In-Reply-To: <200810021621.52597.regmeplease@gmail.com> References: <200810021621.52597.regmeplease@gmail.com> Message-ID: <1222969522.98558.4.camel@jill.exit.com> On Thu, 2008-10-02 at 16:21 +0200, Reg Me Please wrote: > Hi all. > > I'm considering to move from Linux to FreeBSD on my main laptop. > I don't have enough time resources for the "test and try" process > I'd like to know from the community what is the status for: > 0. Core2 Duo CPUs Full support, of course. > 1. Support for modern chipsets (ICH8) Generally good support. > 2. support for power management (mostly ACPI and CPU clock freq. ) on laptops Generally good support, with some exceptions (mostly having to do with buggy ACPI, from what I understand). > 3. support for accelerated graphic cards (nVidia GeForce 8600M GT) Excellent as long as you're using i386 kernels. Amd64 kernels don't yet have the support for the nvidia drivers. > 4. support for Intel wifi (4965 AGN) No idea. I know that my Atheros AGN chipset _isn't_ supported (it's a 9000-series). > 5. support for other hardware like audio, card readers, i-Link, USB USB, good. Audio, generally good, although the new driver in -current has some buggy spots remaining. Card readers, that depends. My cardbus-attached O2Micro device isn't yet supported, although I think I saw a potential driver go by on a list recently. I don't even know what i-Link is. USB support is generally excellent. > And, of course, any advise about FreeBSD on laptops will be highly > appreciated. I never run anything else on my laptop. (Not counting work laptops, which run Linux because that's what work supports.) -- Frank Mayhar frank@exit.com http://www.exit.com/ Exit Consulting http://www.gpsclock.com/ http://www.exit.com/blog/frank/ http://www.zazzle.com/fmayhar* From vbotka at suse.cz Thu Oct 2 17:51:40 2008 From: vbotka at suse.cz (Vladimir Botka) Date: Thu Oct 2 17:51:46 2008 Subject: FreeBSD on laptops In-Reply-To: <200810021621.52597.regmeplease@gmail.com> References: <200810021621.52597.regmeplease@gmail.com> Message-ID: <20081002195137.77c3b6df@vlado.netng.org> On Thu, 2 Oct 2008 16:21:52 +0200 Reg Me Please wrote: > Hi all. > > I'm considering to move from Linux to FreeBSD on my main laptop. > I don't have enough time resources for the "test and try" process > I'd like to know from the community what is the status for: > 0. Core2 Duo CPUs > 1. Support for modern chipsets (ICH8) > 2. support for power management (mostly ACPI and CPU clock freq. ) on > laptops 3. support for accelerated graphic cards (nVidia GeForce > 8600M GT) 4. support for Intel wifi (4965 AGN) > 5. support for other hardware like audio, card readers, i-Link, USB > > And, of course, any advise about FreeBSD on laptops will be highly > appreciated. > > Thanks in advance. > _______________________________________________ > freebsd-mobile@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-mobile > To unsubscribe, send any mail to > "freebsd-mobile-unsubscribe@freebsd.org" > Hi, maybe this link can help you a little bit http://tuxmobil.org/, but as the BSD community is conservative in the good sense as of the stability preference, it is possible that not all the new nice sparkling modern chipsets will work on BSD* either. From my point of view IBM Thinkpad is the best choice for BSD, but openSUSE 11.0 worked "Out of the Box" for me either. Cheers, -- -vlado Vladimir Botka From aragon at phat.za.net Thu Oct 2 17:57:14 2008 From: aragon at phat.za.net (Aragon Gouveia) Date: Thu Oct 2 17:57:20 2008 Subject: FreeBSD on laptops In-Reply-To: <200810021621.52597.regmeplease@gmail.com> References: <200810021621.52597.regmeplease@gmail.com> Message-ID: <20081002173750.GA93255@phat.za.net> | By Reg Me Please | [ 2008-10-02 16:48 +0200 ] > I'd like to know from the community what is the status for: > 0. Core2 Duo CPUs > 1. Support for modern chipsets (ICH8) > 2. support for power management (mostly ACPI and CPU clock freq. ) on laptops Mostly good. Suspending doesn't work on an SMP kernel, but CPU clock speed scaling is supported via powerd. ACPI mostly works for me, but I have to disable some hardware monitoring features to avoid EC related error messages. > 3. support for accelerated graphic cards (nVidia GeForce 8600M GT) Only on i386 without PAE - you'll be limited to 4 gig of RAM, but that's probably fine on a laptop. > 4. support for Intel wifi (4965 AGN) Not quite yet... > 5. support for other hardware like audio, card readers, i-Link, USB I've had no problem with high def audio on my HP Pavilion. Haven't tried my card reader. USB works, but is arguably the least reliable part of FreeBSD right now... look out for USB2. I am answering with experience of running FreeBSD 7.0 on an HP Pavilion dv2600. Regards, Aragon From gpalmer at freebsd.org Thu Oct 2 18:10:59 2008 From: gpalmer at freebsd.org (Gary Palmer) Date: Thu Oct 2 18:11:06 2008 Subject: FreeBSD on laptops In-Reply-To: <1222969522.98558.4.camel@jill.exit.com> References: <200810021621.52597.regmeplease@gmail.com> <1222969522.98558.4.camel@jill.exit.com> Message-ID: <20081002180832.GA7205@in-addr.com> On Thu, Oct 02, 2008 at 10:45:22AM -0700, Frank Mayhar wrote: > USB, good. Audio, generally good, although the new driver in -current > has some buggy spots remaining. Card readers, that depends. My > cardbus-attached O2Micro device isn't yet supported, although I think I > saw a potential driver go by on a list recently. I don't even know what > i-Link is. USB support is generally excellent. I believe i-Link is one of the many names used for firewire. Regards, Gary From ph at desktopbsd.net Thu Oct 2 18:24:04 2008 From: ph at desktopbsd.net (Peter Hofer) Date: Thu Oct 2 18:24:35 2008 Subject: FreeBSD 7.x with Thinkpad X200 Message-ID: <200810021923.44056.ph@desktopbsd.net> Hello everyone, I consider buying a Lenovo IBM Thinkpad X200 (Montevina) and would like to run FreeBSD 7.1/amd64 (or for now, RELENG_7) on it. So far, I have not been able to find any information on running FreeBSD on this particular laptop, only a thread about using it with OpenBSD from the misc@openbsd.org mailing list (with dmesg): http://www.mail-archive.com/misc@openbsd.org/msg66846.html Does anyone have experience with FreeBSD on this laptop? (It seems the X200 and T400 are not so different, so I would appreciate comments from T400 owners as well!) I am particularly interested in the following: 1. Will the on-board 10/100/1000 Ethernet card work with em(4)? According to the openbsd-misc post mentioned earlier, it is an 82567LM chip, which is not listed explicitly in the manual page. Although I would prefer to use em(4), Intel itself also provides a driver binary for FreeBSD 7.x, has anyone tried it? 2. As far as I know, no driver is available for the Intel 5100 and Intel 5300 wireless LAN adapters, but Lenovo also offers another adapter named "ThinkPad 11b/g Wireless LAN Mini PCI Express Adapter III". In the past, similar adapters had an Atheros chip. Should I expect this adapter to be supported by ath(4) or go for an ExpressCard or USB solution instead? 3. Will SpeedStep work with cpufreq/powerd? (According to a follow-up to the openbsd-misc post, a patch is required to make it work on OpenBSD.) Also, will suspend/resume work? 4. This may depend more on xf86-video-intel than on FreeBSD: Can the desktop be easily cloned or extended to an additional display device connected via VGA? This is very important to me since I plan on using the laptop for presentations too. 5. Can I expect the components of the X200 UltraBase docking station to work out of the box, in particular a UltraBay slim optical drive, the USB ports, the DisplayPort and the Ethernet connector? Thank you very much! Best regards, Peter Hofer From raj at csub.edu Thu Oct 2 20:31:58 2008 From: raj at csub.edu (Russell Jackson) Date: Thu Oct 2 20:34:33 2008 Subject: FreeBSD 7.x with Thinkpad X200 In-Reply-To: <200810021923.44056.ph@desktopbsd.net> References: <200810021923.44056.ph@desktopbsd.net> Message-ID: <48E52FB9.7020501@csub.edu> Peter Hofer wrote: > Hello everyone, > > I consider buying a Lenovo IBM Thinkpad X200 (Montevina) and would like to run > FreeBSD 7.1/amd64 (or for now, RELENG_7) on it. > > So far, I have not been able to find any information on running FreeBSD on > this particular laptop, only a thread about using it with OpenBSD from the > misc@openbsd.org mailing list (with dmesg): > http://www.mail-archive.com/misc@openbsd.org/msg66846.html > > Does anyone have experience with FreeBSD on this laptop? > > (It seems the X200 and T400 are not so different, so I would appreciate > comments from T400 owners as well!) > > I am particularly interested in the following: > > 1. Will the on-board 10/100/1000 Ethernet card work with em(4)? According to > the openbsd-misc post mentioned earlier, it is an 82567LM chip, which is not > listed explicitly in the manual page. Although I would prefer to use em(4), > Intel itself also provides a driver binary for FreeBSD 7.x, has anyone tried > it? > > 2. As far as I know, no driver is available for the Intel 5100 and Intel 5300 > wireless LAN adapters, but Lenovo also offers another adapter named "ThinkPad > 11b/g Wireless LAN Mini PCI Express Adapter III". In the past, similar > adapters had an Atheros chip. Should I expect this adapter to be supported by > ath(4) or go for an ExpressCard or USB solution instead? > > 3. Will SpeedStep work with cpufreq/powerd? (According to a follow-up to the > openbsd-misc post, a patch is required to make it work on OpenBSD.) Also, > will suspend/resume work? > > 4. This may depend more on xf86-video-intel than on FreeBSD: Can the desktop > be easily cloned or extended to an additional display device connected via > VGA? This is very important to me since I plan on using the laptop for > presentations too. > > 5. Can I expect the components of the X200 UltraBase docking station to work > out of the box, in particular a UltraBay slim optical drive, the USB ports, > the DisplayPort and the Ethernet connector? > I posted recently about my experience with the t400. 7.0 doesn't boot at all with ACPI enabled which means you might as well forget about it. I had some luck with a 8-CURRENT snapshot from July; it booted, but the installer busted due to tar being broken. There was no August snapshot released for reasons I forget now, but a new September snapshot was released that I have yet to try. Unbuntu Hardy works pretty well[1] on it though which is what I've been running in the interim. [1] there are a few minor problems with xorg video that can be fixed by compiling a more recent xorg-intel driver. -- Russell A. Jackson Network Analyst California State University, Bakersfield Monday is an awful way to spend one seventh of your life. From raj at csub.edu Thu Oct 2 21:39:18 2008 From: raj at csub.edu (Russell Jackson) Date: Thu Oct 2 21:39:24 2008 Subject: FreeBSD 7.x with Thinkpad X200 In-Reply-To: <48E52FB9.7020501@csub.edu> References: <200810021923.44056.ph@desktopbsd.net> <48E52FB9.7020501@csub.edu> Message-ID: <48E53F83.7090006@csub.edu> Russell Jackson wrote: > Peter Hofer wrote: >> Hello everyone, >> >> I consider buying a Lenovo IBM Thinkpad X200 (Montevina) and would like to run >> FreeBSD 7.1/amd64 (or for now, RELENG_7) on it. >> >> So far, I have not been able to find any information on running FreeBSD on >> this particular laptop, only a thread about using it with OpenBSD from the >> misc@openbsd.org mailing list (with dmesg): >> http://www.mail-archive.com/misc@openbsd.org/msg66846.html >> >> Does anyone have experience with FreeBSD on this laptop? >> >> (It seems the X200 and T400 are not so different, so I would appreciate >> comments from T400 owners as well!) >> >> I am particularly interested in the following: I didn't address these points specifically in my first post; so, I'll do that now. >> >> 1. Will the on-board 10/100/1000 Ethernet card work with em(4)? According to >> the openbsd-misc post mentioned earlier, it is an 82567LM chip, which is not >> listed explicitly in the manual page. Although I would prefer to use em(4), >> Intel itself also provides a driver binary for FreeBSD 7.x, has anyone tried >> it? When I booted with a 8-CURRENT snapshot, I was able to get a DHCP lease with the integrated NIC. It showed up as em0; so, it was using the em driver. >> >> 2. As far as I know, no driver is available for the Intel 5100 and Intel 5300 >> wireless LAN adapters, but Lenovo also offers another adapter named "ThinkPad >> 11b/g Wireless LAN Mini PCI Express Adapter III". In the past, similar >> adapters had an Atheros chip. Should I expect this adapter to be supported by >> ath(4) or go for an ExpressCard or USB solution instead? The 11b/g WLAN card on the T400 is an Atheros AR242x a/b/g PCIe card. I think the b/g is a typo. It does in fact have an A radio. The lastest HAL from MadWifi supports it, and works fine. I suspect that the new HAL for the FreeBSD driver will also support it as well. I wasn't able to test this however. As a side note, the integrated bluetooth also works. >> >> 3. Will SpeedStep work with cpufreq/powerd? (According to a follow-up to the >> openbsd-misc post, a patch is required to make it work on OpenBSD.) Also, >> will suspend/resume work? Under Linux --which is all I can vet for at this time--, all the power management stuff works. It does suspend and resume; however, I've had strange problems occasionally that I don't seem to have if I don't suspend/resume. So, I'd say that it's probably not reliable enough to use dependably. My experience has been that suspend/resume support is generally better under Linux. The only laptop I've ever owned that would reliably resume under FreeBSD was an old Toshiba Portege. That said, this is my first ThinkPad. >> >> 4. This may depend more on xf86-video-intel than on FreeBSD: Can the desktop >> be easily cloned or extended to an additional display device connected via >> VGA? This is very important to me since I plan on using the laptop for >> presentations too. The xorg-intel driver works very well with the integrated graphics. I'm able to use XRandR to do all mentioned above. >> >> 5. Can I expect the components of the X200 UltraBase docking station to work >> out of the box, in particular a UltraBay slim optical drive, the USB ports, >> the DisplayPort and the Ethernet connector The dock and bay hot swapping works fine under Linux. Again, I can't say anything about this for FreeBSD. I'll try to find some time to test the September 8-CURRENT snapshot this week and report back to the list. Overall the T400 is the best laptop I've ever owned in terms of functionality under an OSS operating system, power usage, heat dissipation, noise and build quality. It has none of the heat/fan noise problems reported here with the T40/T60 series. Also, if you do get the T400, the 9-cell battery pack comes highly recommended. I'm getting 4+ hours out of it without any tuning to conserve power and running the screen at ~70% brightness. Take note that, with the LED backlit screen, 100% brightness hurts my eyes. -- Russell A. Jackson Network Analyst California State University, Bakersfield Monday is an awful way to spend one seventh of your life. From vova at fbsd.ru Fri Oct 3 07:47:33 2008 From: vova at fbsd.ru (Vladimir Grebenschikov) Date: Fri Oct 3 07:47:39 2008 Subject: FreeBSD on laptops In-Reply-To: <1222969522.98558.4.camel@jill.exit.com> References: <200810021621.52597.regmeplease@gmail.com> <1222969522.98558.4.camel@jill.exit.com> Message-ID: <1223018860.1842.57.camel@localhost> On Thu, 2008-10-02 at 10:45 -0700, Frank Mayhar wrote: > > 5. support for other hardware like audio, card readers, i-Link, USB > > USB, good. Audio, generally good, although the new driver in -current > has some buggy spots remaining. Card readers, that depends. My > cardbus-attached O2Micro device isn't yet supported, although I think > I > saw a potential driver go by on a list recently. I don't even know > what > i-Link is. USB support is generally excellent. I believe i-Link is Sony's name for firewire(4) or IEEE1394. And as far I know it has good freebsd support, including video transfer over it, ethernet over firewire, and even kernel debugger/console over firewire. -- Vladimir B. Grebenschikov vova@fbsd.ru From vova at fbsd.ru Fri Oct 3 08:17:37 2008 From: vova at fbsd.ru (Vladimir Grebenschikov) Date: Fri Oct 3 08:17:43 2008 Subject: FreeBSD on laptops In-Reply-To: <1222969522.98558.4.camel@jill.exit.com> References: <200810021621.52597.regmeplease@gmail.com> <1222969522.98558.4.camel@jill.exit.com> Message-ID: <1223019229.1842.62.camel@localhost> On Thu, 2008-10-02 at 10:45 -0700, Frank Mayhar wrote: > On Thu, 2008-10-02 at 16:21 +0200, Reg Me Please wrote: > > Hi all. > > > > I'm considering to move from Linux to FreeBSD on my main laptop. > > I don't have enough time resources for the "test and try" process > > I'd like to know from the community what is the status for: > > 0. Core2 Duo CPUs > > Full support, of course. .. > > 2. support for power management (mostly ACPI and CPU clock freq. ) on laptops > > Generally good support, with some exceptions (mostly having to do with > buggy ACPI, from what I understand). I believe two items above is badly compatible with each other from suspend/resume point of view. I have T60 ans still can't to resume system after suspend. There was some messages in list about success to resume of SMP IBM's system (like T60, T61) but I've failed to reproduce any of these. Probably somebody dig dipper in that field already ? -- Vladimir B. Grebenschikov vova@fbsd.ru From smithi at nimnet.asn.au Fri Oct 3 16:05:18 2008 From: smithi at nimnet.asn.au (Ian Smith) Date: Fri Oct 3 16:06:56 2008 Subject: FreeBSD on laptops In-Reply-To: <1223019229.1842.62.camel@localhost> References: <200810021621.52597.regmeplease@gmail.com> <1222969522.98558.4.camel@jill.exit.com> <1223019229.1842.62.camel@localhost> Message-ID: <20081004005454.W49572@sola.nimnet.asn.au> On Fri, 3 Oct 2008, Vladimir Grebenschikov wrote: > On Thu, 2008-10-02 at 10:45 -0700, Frank Mayhar wrote: > > On Thu, 2008-10-02 at 16:21 +0200, Reg Me Please wrote: > > > Hi all. > > > > > > I'm considering to move from Linux to FreeBSD on my main laptop. > > > I don't have enough time resources for the "test and try" process > > > I'd like to know from the community what is the status for: > > > 0. Core2 Duo CPUs > > > > Full support, of course. > .. > > > 2. support for power management (mostly ACPI and CPU clock freq. ) on laptops > > > > Generally good support, with some exceptions (mostly having to do with > > buggy ACPI, from what I understand). > > I believe two items above is badly compatible with each other from > suspend/resume point of view. > > I have T60 ans still can't to resume system after suspend. There was > some messages in list about success to resume of SMP IBM's system (like > T60, T61) but I've failed to reproduce any of these. > > Probably somebody dig dipper in that field already ? The original message about SMP suspend/resume support with a patch to 8-CURRENT was on 13 May 08 by Takanori Watanabe in freebsd-acpi, which worked on his ThinkPad X61. See the thread at: http://lists.freebsd.org/pipermail/freebsd-acpi/2008-May/thread.html I don't recall having seen any mention of progress since, despite having felt at the time that it seemed important for FreeBSD ongoing that this should work, especially in light of the general movement to more mobile platforms and the fast increasing predominance of multi-core laptops. That said, my fastest laptop is a Thinkpad T23 that suspends & resumes reliably, so I'm not even in a position to help test the code, let alone suggest that 'somebody should do something about it' :) There was also mention of a GSoC project for suspend-to-disk (hibernate) in -acpi on 03 Apr 08 but I've not heard if anything has come of it. cheers, Ian From knowtree at aloha.com Sat Oct 4 01:09:45 2008 From: knowtree at aloha.com (knowtree@aloha.com) Date: Sat Oct 4 01:09:52 2008 Subject: Installing from USB drive Message-ID: <200810040052.m940qGH5026350@yoda.pixi.com> In general, is it possible to install FreeBSD from CD-ROM using a USB plug-in drive? More specifically, I am thinking about picking up a Fujitsu LifeBook P1620 convertable tablet PC. It does not have a built-in optical drive, but Fujitsu does list two external USB drives, one a Dual-Layer DVD Writer, the other a DVD/CD-RW combo drive. I submitted my question to their tech support and am awaiting an answer, but in the meantime I thought I should ask here, too. Besides the obvious question of whether or not the P1620 will boot from a USB optical drive, I wonder if the FreeBSD boot loader knows how to load the installation kernal from a USB drive. Then there is the issue of making this a dual boot system. By the way, the T1010 has a built-in optical drive, and the T2010 has it in the docking station. This makes the T1010 the best choice in terms of compatibility, but I like the smaller size of the P1620 and rarely use an optical drive. Too bad the P1620 is not like the Apple Air, which can use an optical drive in another computer on the network to install OS X and applications. Gary Dunn Honolulu Open Slate Project http://openslate.net/ mailto:osp@aloha.com From sonic2000gr at gmail.com Sat Oct 4 06:52:54 2008 From: sonic2000gr at gmail.com (Manolis Kiagias) Date: Sat Oct 4 06:53:02 2008 Subject: Installing from USB drive In-Reply-To: <200810040052.m940qGH5026350@yoda.pixi.com> References: <200810040052.m940qGH5026350@yoda.pixi.com> Message-ID: <48E70BCC.3030302@gmail.com> knowtree@aloha.com wrote: > In general, is it possible to install FreeBSD from CD-ROM using a USB > plug-in drive? > > More specifically, I am thinking about picking up a Fujitsu LifeBook P1620 > convertable tablet PC. It does not have a built-in optical drive, but > Fujitsu does list two external USB drives, one a Dual-Layer DVD Writer, the > other a DVD/CD-RW combo drive. I submitted my question to their tech > support and am awaiting an answer, but in the meantime I thought I should > ask here, too. > > Besides the obvious question of whether or not the P1620 will boot from a > USB optical drive, I wonder if the FreeBSD boot loader knows how to load > the installation kernal from a USB drive. Then there is the issue of making > this a dual boot system. > > By the way, the T1010 has a built-in optical drive, and the T2010 has it in > the docking station. This makes the T1010 the best choice in terms of > compatibility, but I like the smaller size of the P1620 and rarely use an > optical drive. Too bad the P1620 is not like the Apple Air, which can use > an optical drive in another computer on the network to install OS X and > applications. > > Gary Dunn > Honolulu > Open Slate Project > http://openslate.net/ > mailto:osp@aloha.com > If your BIOS can boot from a USB CD-ROM, you will be able to install FreeBSD with no problems. All recent BIOS can - and even older ones actually. I have a couple of machines with 865G chipset (not exactly state of the art) and they boot just fine. The eeePC boots and installs fine from a USB CD. Before the kernel (which also holds the drivers) is loaded, everything you need to read from disk / CD has to go through the BIOS at some point. After the kernel executes it will easily locate the CD (it will look like a SCSI CD-ROM in FreeBSD) and install from it. As for making a dual boot system, there are of course various ways. Depends on what the other OS is. If you plan to dual boot with Windows Vista for example, I suggest you do not install the FreeBSD boot loader when asked, but instead to use a clever utility (EasyBCD) on the Windows side: http://neosmart.net/dl.php?id=1 Quick and painless :) From gaijin.k at gmail.com Sat Oct 4 13:10:26 2008 From: gaijin.k at gmail.com (Alexandre "Sunny" Kovalenko) Date: Sat Oct 4 13:10:32 2008 Subject: Installing from USB drive In-Reply-To: <200810040052.m940qGH5026350@yoda.pixi.com> References: <200810040052.m940qGH5026350@yoda.pixi.com> Message-ID: <1223125800.49696.10.camel@RabbitsDen> On Fri, 2008-10-03 at 14:52 +0000, knowtree@aloha.com wrote: > In general, is it possible to install FreeBSD from CD-ROM using a USB > plug-in drive? While it is slightly OT, you should also keep in mind that PXE boot/install option might be there for you as well. I have built (and, on few occasions, rebuilt) my ThinkPad X60 this way and found it fairly convenient. HTH, -- Alexandre "Sunny" Kovalenko (????????? ?????????) From volker at vwsoft.com Sat Oct 4 14:39:02 2008 From: volker at vwsoft.com (Volker) Date: Sat Oct 4 14:39:10 2008 Subject: Installing from USB drive In-Reply-To: <48E70BCC.3030302@gmail.com> References: <200810040052.m940qGH5026350@yoda.pixi.com> <48E70BCC.3030302@gmail.com> Message-ID: <48E77BF8.102@vwsoft.com> On 12/23/-58 20:59, Manolis Kiagias wrote: > knowtree@aloha.com wrote: >> In general, is it possible to install FreeBSD from CD-ROM using a USB >> plug-in drive? >> >> More specifically, I am thinking about picking up a Fujitsu LifeBook >> P1620 >> convertable tablet PC. It does not have a built-in optical drive, but >> Fujitsu does list two external USB drives, one a Dual-Layer DVD >> Writer, the >> other a DVD/CD-RW combo drive. I submitted my question to their tech >> support and am awaiting an answer, but in the meantime I thought I should >> ask here, too. >> >> Besides the obvious question of whether or not the P1620 will boot from a >> USB optical drive, I wonder if the FreeBSD boot loader knows how to load >> the installation kernal from a USB drive. Then there is the issue of >> making >> this a dual boot system. >> >> By the way, the T1010 has a built-in optical drive, and the T2010 has >> it in >> the docking station. This makes the T1010 the best choice in terms of >> compatibility, but I like the smaller size of the P1620 and rarely use an >> optical drive. Too bad the P1620 is not like the Apple Air, which can use >> an optical drive in another computer on the network to install OS X and >> applications. >> >> Gary Dunn >> Honolulu >> Open Slate Project http://openslate.net/ >> mailto:osp@aloha.com >> > > If your BIOS can boot from a USB CD-ROM, you will be able to install > FreeBSD with no problems. That depends! Lately I've investigated a lot of boot problems and was wondering about the USB stuff. Sadly, not every vendor has an understanding about the boot process and not every BIOS does handle booting off USB devices well. What I've found so far, was interesting while one may assume, how a BIOS should boot a system should be well known to the vendors for more than twenty years now. One BIOS refused to load the MBR (not only usb related) while two different slices were (by accident) flagged active in the slice table. The BIOS just claimed it was unable to find a boot device. I expect problems like these to be handled (or claimed about) by the MBR, not by the BIOS. (interestingly this was on an Intel Atom board - Intel should know better) Another BIOS refused to load the MBR off an USB thumb drive, if the thumb drive wasn't the first bootable device in the boot device chain (the first one wasn't bootable). Instead of loading the MBR off the thumb drive or booting off the flagged active slice, the BIOS saw a FAT filesystem and tried to boot that (not marked active). IMO a BIOS should not try to know anything about a filesystem at all. Another BIOS booted off the USB thumb drive (loaded the MBR) but as soon as the MBR has been loaded, the BIOS threw away the legacy device emulation and thus the MBR code was unable to access that device as the MBR code of course does not have any knowledge of USB devices and has to rely on INT13 BIOS support. If the USB device isn't accessible through INT13, you won't go very far. I've seen the last problem on several boards. If you're lucky, there might be an option in the BIOS setup to enable EHCI handoff support. Should you experience problems like the first one, check your slice table. The other ones can probably worked around by either setting the USB device to a high boot device priority or trash your board and blame the BIOS vendor. For the last problem, it may (or may not) help to play with BIOS settings. For an USB cdrom drive, it may fail for the BTX loader. Latest versions should work but YMMV. IMO you should best try to boot off a thumb drive to see if your board has problems booting off USB devices at all. > All recent BIOS can - and even older ones actually. I have a couple of > machines with 865G chipset (not exactly state of the art) and they boot > just fine. My mileage varies here ;) I've experienced the most problems on an 865 board. The board vendor tried to fix some issues on my request but that wasn't a success. I expect the BIOS to provide just basic services to the machine but today's vendors seem to try to get some cleverness into their code which hurts if you don't use a M$ based system. Preparing a thumb drive for testing BIOS behavior is easy: fdisk -BI /dev/daN bsdlabel -wB /dev/daNs1 newfs it mount it cd /usr/src make distrib-dirs distribution installworld installkernel \ DESTDIR=/daNmountpoint unmount it Good luck! Volker From dan at langille.org Sat Oct 4 20:43:33 2008 From: dan at langille.org (Dan Langille) Date: Sat Oct 4 20:43:39 2008 Subject: Installing from USB drive In-Reply-To: <48E70BCC.3030302@gmail.com> References: <200810040052.m940qGH5026350@yoda.pixi.com> <48E70BCC.3030302@gmail.com> Message-ID: <48E7D128.6090609@langille.org> Manolis Kiagias wrote: > knowtree@aloha.com wrote: >> In general, is it possible to install FreeBSD from CD-ROM using a USB >> plug-in drive? >> >> More specifically, I am thinking about picking up a Fujitsu LifeBook >> P1620 >> convertable tablet PC. It does not have a built-in optical drive, but >> Fujitsu does list two external USB drives, one a Dual-Layer DVD >> Writer, the >> other a DVD/CD-RW combo drive. I submitted my question to their tech >> support and am awaiting an answer, but in the meantime I thought I should >> ask here, too. >> >> Besides the obvious question of whether or not the P1620 will boot from a >> USB optical drive, I wonder if the FreeBSD boot loader knows how to load >> the installation kernal from a USB drive. Then there is the issue of >> making >> this a dual boot system. >> >> By the way, the T1010 has a built-in optical drive, and the T2010 has >> it in >> the docking station. This makes the T1010 the best choice in terms of >> compatibility, but I like the smaller size of the P1620 and rarely use an >> optical drive. Too bad the P1620 is not like the Apple Air, which can use >> an optical drive in another computer on the network to install OS X and >> applications. >> >> Gary Dunn >> Honolulu >> Open Slate Project http://openslate.net/ >> mailto:osp@aloha.com >> > > If your BIOS can boot from a USB CD-ROM, you will be able to install > FreeBSD with no problems. Should. I've been able to boot from the USB CD-ROM but failed to install: http://www.freebsddiary.org/thinkpad-x61s.php FreeBSD 6.x and 7.x both failed. Eventually I succeeded with a docking station that contained a CD-ROM drive. From sonic2000gr at gmail.com Sat Oct 4 21:32:11 2008 From: sonic2000gr at gmail.com (Manolis Kiagias) Date: Sat Oct 4 21:32:18 2008 Subject: Installing from USB drive In-Reply-To: <48E7D128.6090609@langille.org> References: <200810040052.m940qGH5026350@yoda.pixi.com> <48E70BCC.3030302@gmail.com> <48E7D128.6090609@langille.org> Message-ID: <48E7E0D5.3090809@gmail.com> Dan Langille wrote: >> >> If your BIOS can boot from a USB CD-ROM, you will be able to install >> FreeBSD with no problems. > > Should. > > I've been able to boot from the USB CD-ROM but failed to install: > > http://www.freebsddiary.org/thinkpad-x61s.php > > FreeBSD 6.x and 7.x both failed. Eventually I succeeded with a > docking station that contained a CD-ROM drive. > > I must have been lucky. All my recent laptops can boot / install FreeBSD from USB CD-ROM. I only need this on the eeePC however. I also have a desktop without an internal CD and regularly use the USB CD to install. I have not been so lucky with USB hard disks though. They will not boot on anything but my most recent machines. From ph at desktopbsd.net Sat Oct 4 22:29:10 2008 From: ph at desktopbsd.net (Peter Hofer) Date: Sat Oct 4 22:29:16 2008 Subject: FreeBSD 7.x with Thinkpad X200 In-Reply-To: <48E53F83.7090006@csub.edu> References: <200810021923.44056.ph@desktopbsd.net> <48E52FB9.7020501@csub.edu> <48E53F83.7090006@csub.edu> Message-ID: <200810050027.16905.ph@desktopbsd.net> Hello Russell, thank you for addressing my questions in such detail. I will give this some thought since I would really like to run FreeBSD on this laptop and would prefer 7.x over CURRENT. Best regards, Peter From dforsyth at FreeBSD.org Sat Oct 4 23:02:52 2008 From: dforsyth at FreeBSD.org (David Forsythe) Date: Sat Oct 4 23:02:58 2008 Subject: FreeBSD 7.x with Thinkpad X200 In-Reply-To: <200810050027.16905.ph@desktopbsd.net> References: <200810021923.44056.ph@desktopbsd.net> <48E52FB9.7020501@csub.edu> <48E53F83.7090006@csub.edu> <200810050027.16905.ph@desktopbsd.net> Message-ID: Just a heads up, I installed CURRENT on my X200 last night, and so far everything aside from Xorg has worked well (atheros wireless). If I can get around to it, I'll try putting 7.x onto it this week. On Sat, Oct 4, 2008 at 6:27 PM, Peter Hofer wrote: > Hello Russell, > > thank you for addressing my questions in such detail. > > I will give this some thought since I would really like to run FreeBSD on this > laptop and would prefer 7.x over CURRENT. > > Best regards, > Peter > _______________________________________________ > freebsd-mobile@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-mobile > To unsubscribe, send any mail to "freebsd-mobile-unsubscribe@freebsd.org" > -- David Forsythe From webmaster at kibab.com Sun Oct 5 10:33:08 2008 From: webmaster at kibab.com (Ilya Bakulin) Date: Sun Oct 5 10:33:15 2008 Subject: FreeBSD on laptops In-Reply-To: <200810021621.52597.regmeplease@gmail.com> References: <200810021621.52597.regmeplease@gmail.com> Message-ID: <20081005143258.fe83e6f7.webmaster@kibab.com> On Thu, 2 Oct 2008 16:21:52 +0200 Reg Me Please wrote: > Hi all. > > I'm considering to move from Linux to FreeBSD on my main laptop. > I don't have enough time resources for the "test and try" process > I'd like to know from the community what is the status for: > 0. Core2 Duo CPUs > 1. Support for modern chipsets (ICH8) > 2. support for power management (mostly ACPI and CPU clock freq. ) on laptops > 3. support for accelerated graphic cards (nVidia GeForce 8600M GT) > 4. support for Intel wifi (4965 AGN) > 5. support for other hardware like audio, card readers, i-Link, USB > > And, of course, any advise about FreeBSD on laptops will be highly > appreciated. > > Thanks in advance. > _______________________________________________ > freebsd-mobile@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-mobile > To unsubscribe, send any mail to "freebsd-mobile-unsubscribe@freebsd.org" I'm running FreeBSD 7-STABLE/i386 on Dell Vostro 1310 laptop. So: * Core2Duo CPU is well supported. powerd is able to adjust clock speed according to current system needs; hardware temperature monitoring (via coretemp(4) ) works pretty good. * ACPI works OK, though sometimes EC starts to behave strangely. It stops responding to battery _BST calls, so I have to descrease debug.acpi.ec.timeout in order to work comfortly... Vostro 1310 also has EXTREMELY buggy ACPI AML (200+ errors when trying to simply recompile ASL). * My GeForce 8400M GS is well supported by proprietary NVIDIA driver. Features like Tvin-View work nice, also driver adjusts GPU speed according to system needs. Hardware accelleration works well. * Audio subsystem works nice with recent snd_hda update, including microphone (Skype runs OK). * My O2Micro card reader is recognized by recent sdhci driver update, but it handles not all cards I have, and this code is neither in -CURRENT nor in -STABLE yet. -- Ilya Bakulin -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-mobile/attachments/20081005/d420c982/attachment.pgp From rainer at ultra-secure.de Sun Oct 5 14:35:06 2008 From: rainer at ultra-secure.de (Rainer Duffner) Date: Sun Oct 5 14:35:13 2008 Subject: FreeBSD on laptops In-Reply-To: <20081005143258.fe83e6f7.webmaster@kibab.com> References: <200810021621.52597.regmeplease@gmail.com> <20081005143258.fe83e6f7.webmaster@kibab.com> Message-ID: <48E8CA53.7000407@ultra-secure.de> Ilya Bakulin wrote: > I'm running FreeBSD 7-STABLE/i386 on Dell Vostro 1310 laptop. > So: > * Core2Duo CPU is well supported. powerd is able to adjust clock speed according to current system needs; hardware temperature monitoring (via coretemp(4) ) works pretty good. > * ACPI works OK, though sometimes EC starts to behave strangely. It stops responding to battery _BST calls, so I have to descrease debug.acpi.ec.timeout in order to work comfortly... Vostro 1310 also has EXTREMELY buggy ACPI AML (200+ errors when trying to simply recompile ASL). > * My GeForce 8400M GS is well supported by proprietary NVIDIA driver. Features like Tvin-View work nice, also driver adjusts GPU speed according to system needs. Hardware accelleration works well. > * Audio subsystem works nice with recent snd_hda update, including microphone (Skype runs OK). > * My O2Micro card reader is recognized by recent sdhci driver update, but it handles not all cards I have, and this code is neither in -CURRENT nor in -STABLE yet. > > Hey, that's good to know - thanks. I assume, sleep/suspend2ram/suspend2disk doesn't really work - or does it? cheers, Rainer From webmaster at kibab.com Sun Oct 5 14:48:53 2008 From: webmaster at kibab.com (Ilya Bakulin) Date: Sun Oct 5 14:49:01 2008 Subject: FreeBSD on laptops In-Reply-To: <48E8CA53.7000407@ultra-secure.de> References: <200810021621.52597.regmeplease@gmail.com> <20081005143258.fe83e6f7.webmaster@kibab.com> <48E8CA53.7000407@ultra-secure.de> Message-ID: <20081005184836.2a8f6cb0.webmaster@kibab.com> On Sun, 05 Oct 2008 16:08:19 +0200 Rainer Duffner wrote: > Hey, that's good to know - thanks. > I assume, sleep/suspend2ram/suspend2disk doesn't really work - or does it? > No, none of power saving modes work on Vostro 1310. hw.acpi.supported_sleep_state contains "S3 S4 S5", no S1 support. With nvidia.ko it says "device suspend failed", without nvidia.ko it enters S3 but never returns back. It's not big problem, though, at least for me :-) With acpi_video.ko it's possible to control LCD brightness, it's good :-) Remember, that there is no S3 support at all on AMD64. My opinion is that FreeBSD/i386 is an optimal choice for laptop, when there is no need for 4+ Gb of RAM. There is also Web camera present, but it's not supported by FreeBSD (it's UVC capable, aand FreeBSD doesn't have UVC support yet). -- Ilya Bakulin -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-mobile/attachments/20081005/75900d23/attachment.pgp From mcdouga9 at egr.msu.edu Mon Oct 6 00:15:00 2008 From: mcdouga9 at egr.msu.edu (Adam McDougall) Date: Mon Oct 6 00:15:07 2008 Subject: RFC: PCI SD host controller driver & mmc/mmcsd modules improvements In-Reply-To: <48DEA4EC.3030300@bluezbox.com> References: <48DEA8E7.2080503@FreeBSD.org> <48DEA4EC.3030300@bluezbox.com> Message-ID: <48E9545A.4080505@egr.msu.edu> Oleksandr Tymoshenko wrote: > 7.1 requires s/kproc/kthread/ but otherwise works fine: > > sdhci0: mem 0xff9fb800-0xff9fb8ff irq 9 at device > 1.2 on pci2 > sdhci0: 1 slot(s) allocated > sdhci0: [ITHREAD] > > mmc0: on sdhci0 > mmc0: SD card: 507379712 bytes > mmcsd0: 483MB (read-only) at mmc0 > mmc0: setting transfer rate to 30.000MHz > mmc0: setting bus width to 4 bits It also works on my Dell Latitude E6500, I read and wrote some files in 7.1: sdhci0: mem 0xf65ff600-0xf65ff6ff irq 18 at device 1.2 on pci3 sdhci0: 1 slot(s) allocated sdhci0: [ITHREAD] mmc0: on sdhci0 mmc0: setting transfer rate to 30.000MHz mmcsd0: 968MB at mmc0 mmc0: setting bus width to 4 bits sdhci0@pci0:3:1:2: class=0x080501 card=0x024f1028 chip=0x08221180 rev=0x21 hdr=0x00 vendor = 'Ricoh Company, Ltd.' device = 'R5C832, R5C843 SDA Standard Compliant SD Host Controller' class = base peripheral Thanks! From imp at bsdimp.com Mon Oct 6 03:24:50 2008 From: imp at bsdimp.com (Warner Losh) Date: Mon Oct 6 03:25:03 2008 Subject: RFC: PCI SD host controller driver & mmc/mmcsd modules improvements In-Reply-To: <48E9545A.4080505@egr.msu.edu> References: <48DEA8E7.2080503@FreeBSD.org> <48DEA4EC.3030300@bluezbox.com> <48E9545A.4080505@egr.msu.edu> Message-ID: <20081005.212259.74716023.imp@bsdimp.com> It fails for me on my HP Pavilion. Warner From zbeeble at gmail.com Mon Oct 6 05:49:28 2008 From: zbeeble at gmail.com (Zaphod Beeblebrox) Date: Mon Oct 6 05:49:34 2008 Subject: RFC: PCI SD host controller driver & mmc/mmcsd modules improvements In-Reply-To: <48DEA8E7.2080503@FreeBSD.org> References: <48DEA8E7.2080503@FreeBSD.org> Message-ID: <5f67a8c40810052226k3070a11ah463a819c677f6307@mail.gmail.com> On Sat, Sep 27, 2008 at 5:43 PM, Alexander Motin wrote: > Hi. > > I would like to present initial revision of my generic PCI SD Host > Controller driver (sdhci). It support PCI devices with class 8 and subclass > 5 according to SD Host Controller Specification. With some limitations it > successfully works on my Acer TM6292 notebook with ENE CB714 card reader. > > Things that are not working yet: > - DMA modes (code is written, but as my controller looks like has broken > DMA I have no ability to debug it), > - card insert/remove detection (need more thinking), you should reload mmc > module to rescan cards, > - SDHC and MMC cards (have no such cards now to debug that code), only > standard capacity SD Memory cards up to 4GB size are supported now, > - high speed (double rate) bus mode (need more thinking and DMA support). Most 4G cards are SDHC that I've seen. The notes on this that I've read talk about the fact that you can have a 4G regular SD card but that many (most) devices don't support it because of the need for a larger FAT to support 4G. I have two laptops with these controllers, but I have only SDHC media (4 and 8 gig cards). From imp at bsdimp.com Mon Oct 6 07:01:22 2008 From: imp at bsdimp.com (Warner Losh) Date: Mon Oct 6 07:01:39 2008 Subject: RFC: PCI SD host controller driver & mmc/mmcsd modules improvements In-Reply-To: <5f67a8c40810052226k3070a11ah463a819c677f6307@mail.gmail.com> References: <48DEA8E7.2080503@FreeBSD.org> <5f67a8c40810052226k3070a11ah463a819c677f6307@mail.gmail.com> Message-ID: <20081006.005828.104066981.imp@bsdimp.com> From: "Zaphod Beeblebrox" Subject: Re: RFC: PCI SD host controller driver & mmc/mmcsd modules improvements Date: Mon, 6 Oct 2008 01:26:19 -0400 > On Sat, Sep 27, 2008 at 5:43 PM, Alexander Motin wrote: > > > Hi. > > > > I would like to present initial revision of my generic PCI SD Host > > Controller driver (sdhci). It support PCI devices with class 8 and subclass > > 5 according to SD Host Controller Specification. With some limitations it > > successfully works on my Acer TM6292 notebook with ENE CB714 card reader. > > > > > > Things that are not working yet: > > - DMA modes (code is written, but as my controller looks like has broken > > DMA I have no ability to debug it), > > - card insert/remove detection (need more thinking), you should reload mmc > > module to rescan cards, > > - SDHC and MMC cards (have no such cards now to debug that code), only > > standard capacity SD Memory cards up to 4GB size are supported now, > > - high speed (double rate) bus mode (need more thinking and DMA support). > > > Most 4G cards are SDHC that I've seen. The notes on this that I've read > talk about the fact that you can have a 4G regular SD card but that many > (most) devices don't support it because of the need for a larger FAT to > support 4G. s/many/a few/g. 4GB SD cards work fine in every device I've tried them in... > I have two laptops with these controllers, but I have only SDHC media (4 and > 8 gig cards). Yes. The SDHC isolation protocol and media decoding stuff isn't written yet. Warner From tom.hurst at clara.net Mon Oct 6 08:20:39 2008 From: tom.hurst at clara.net (Thomas Hurst) Date: Mon Oct 6 08:20:45 2008 Subject: RFC: PCI SD host controller driver & mmc/mmcsd modules improvements In-Reply-To: <48DEA8E7.2080503@FreeBSD.org> References: <48DEA8E7.2080503@FreeBSD.org> Message-ID: <20081006075707.GA76333@voi.aagh.net> * Alexander Motin (mav@FreeBSD.org) wrote: > I would like to present initial revision of my generic PCI SD Host > Controller driver (sdhci). It support PCI devices with class 8 and > subclass 5 according to SD Host Controller Specification. With some > limitations it successfully works on my Acer TM6292 notebook with ENE > CB714 card reader. RELENG_7_0, Sony TX1XP: sdhci0: mem 0xb0107000-0xb01070ff,0xb0106c00-0xb0106cff,0xb0106800-0xb01068ff irq 21 at device 5.4 on pci6 sdhci0: 3 slot(s) allocated none2@pci0:6:5:3: class=0x018000 card=0x81e2104d chip=0x8033104c rev=0x00 hdr=0x00 vendor = 'Texas Instruments (TI)' device = 'PCIxx11/21 Integrated FlashMedia Controller' class = mass storage sdhci0@pci0:6:5:4: class=0x080500 card=0x00000000 chip=0x8034104c rev=0x00 hdr=0x00 vendor = 'Texas Instruments (TI)' device = '10981734 SDA Standard Compliant SD Host Controller' class = base peripheral This is an integrated SD and MemoryStick reader; sadly it doesn't actually attach any usable devices. -- Thomas 'Freaky' Hurst http://hur.st/ From mav at FreeBSD.org Mon Oct 6 09:13:20 2008 From: mav at FreeBSD.org (Alexander Motin) Date: Mon Oct 6 09:13:32 2008 Subject: RFC: PCI SD host controller driver & mmc/mmcsd modules improvements In-Reply-To: <20081006075707.GA76333@voi.aagh.net> References: <48DEA8E7.2080503@FreeBSD.org> <20081006075707.GA76333@voi.aagh.net> Message-ID: <48E9D6AD.8010202@FreeBSD.org> Thomas Hurst wrote: > * Alexander Motin (mav@FreeBSD.org) wrote: > >> I would like to present initial revision of my generic PCI SD Host >> Controller driver (sdhci). It support PCI devices with class 8 and >> subclass 5 according to SD Host Controller Specification. With some >> limitations it successfully works on my Acer TM6292 notebook with ENE >> CB714 card reader. > > RELENG_7_0, Sony TX1XP: > > sdhci0: mem > 0xb0107000-0xb01070ff,0xb0106c00-0xb0106cff,0xb0106800-0xb01068ff irq 21 > at device 5.4 on pci6 > sdhci0: 3 slot(s) allocated > > none2@pci0:6:5:3: class=0x018000 card=0x81e2104d chip=0x8033104c rev=0x00 hdr=0x00 > vendor = 'Texas Instruments (TI)' > device = 'PCIxx11/21 Integrated FlashMedia Controller' > class = mass storage > sdhci0@pci0:6:5:4: class=0x080500 card=0x00000000 chip=0x8034104c rev=0x00 hdr=0x00 > vendor = 'Texas Instruments (TI)' > device = '10981734 SDA Standard Compliant SD Host Controller' > class = base peripheral > > This is an integrated SD and MemoryStick reader; sadly it doesn't > actually attach any usable devices. At this moment driver creates mmc bus only on card insert and destroyes on remove. Have you tried to insert something there? Do you have any reaction on card insert? -- Alexander Motin From tom.hurst at clara.net Mon Oct 6 10:42:48 2008 From: tom.hurst at clara.net (Thomas Hurst) Date: Mon Oct 6 10:43:11 2008 Subject: RFC: PCI SD host controller driver & mmc/mmcsd modules improvements In-Reply-To: <48E9D6AD.8010202@FreeBSD.org> References: <48DEA8E7.2080503@FreeBSD.org> <20081006075707.GA76333@voi.aagh.net> <48E9D6AD.8010202@FreeBSD.org> Message-ID: <20081006104245.GA24462@voi.aagh.net> * Alexander Motin (mav@FreeBSD.org) wrote: > > This is an integrated SD and MemoryStick reader; sadly it doesn't > > actually attach any usable devices. > > At this moment driver creates mmc bus only on card insert and > destroyes on remove. Have you tried to insert something there? Do you > have any reaction on card insert? Yup, I've tried a 1GB and 2GB SD card and a 1GB and 64MB MS with two different adaptors. No combination of inserting, reloading mmc, or sdhci seems to make any usable device nodes. I note it doesn't appear to be allocating any IRQ's according to vmstat -i. Is it supposed to? -- Thomas 'Freaky' Hurst http://hur.st/ From mav at FreeBSD.org Mon Oct 6 10:50:11 2008 From: mav at FreeBSD.org (Alexander Motin) Date: Mon Oct 6 10:50:23 2008 Subject: RFC: PCI SD host controller driver & mmc/mmcsd modules improvements In-Reply-To: <20081006104245.GA24462@voi.aagh.net> References: <48DEA8E7.2080503@FreeBSD.org> <20081006075707.GA76333@voi.aagh.net> <48E9D6AD.8010202@FreeBSD.org> <20081006104245.GA24462@voi.aagh.net> Message-ID: <48E9ED5F.1060102@FreeBSD.org> Thomas Hurst wrote: >>> This is an integrated SD and MemoryStick reader; sadly it doesn't >>> actually attach any usable devices. >> At this moment driver creates mmc bus only on card insert and >> destroyes on remove. Have you tried to insert something there? Do you >> have any reaction on card insert? > > Yup, I've tried a 1GB and 2GB SD card and a 1GB and 64MB MS with two > different adaptors. No combination of inserting, reloading mmc, or > sdhci seems to make any usable device nodes. > > I note it doesn't appear to be allocating any IRQ's according to vmstat > -i. Is it supposed to? SD host should provide one IRQ and 256 bytes memory range per each slot. -- Alexander Motin From ticso at cicely7.cicely.de Tue Oct 7 13:08:20 2008 From: ticso at cicely7.cicely.de (Bernd Walter) Date: Tue Oct 7 13:08:26 2008 Subject: RFC: PCI SD host controller driver & mmc/mmcsd modules improvements In-Reply-To: <20081006.005828.104066981.imp@bsdimp.com> References: <48DEA8E7.2080503@FreeBSD.org> <5f67a8c40810052226k3070a11ah463a819c677f6307@mail.gmail.com> <20081006.005828.104066981.imp@bsdimp.com> Message-ID: <20081007125320.GD25586@cicely7.cicely.de> On Mon, Oct 06, 2008 at 12:58:28AM -0600, Warner Losh wrote: > From: "Zaphod Beeblebrox" > Subject: Re: RFC: PCI SD host controller driver & mmc/mmcsd modules improvements > Date: Mon, 6 Oct 2008 01:26:19 -0400 > > > On Sat, Sep 27, 2008 at 5:43 PM, Alexander Motin wrote: > > > > > Hi. > > > > > > I would like to present initial revision of my generic PCI SD Host > > > Controller driver (sdhci). It support PCI devices with class 8 and subclass > > > 5 according to SD Host Controller Specification. With some limitations it > > > successfully works on my Acer TM6292 notebook with ENE CB714 card reader. > > > > > > > > > > Things that are not working yet: > > > - DMA modes (code is written, but as my controller looks like has broken > > > DMA I have no ability to debug it), > > > - card insert/remove detection (need more thinking), you should reload mmc > > > module to rescan cards, > > > - SDHC and MMC cards (have no such cards now to debug that code), only > > > standard capacity SD Memory cards up to 4GB size are supported now, > > > - high speed (double rate) bus mode (need more thinking and DMA support). > > > > > > Most 4G cards are SDHC that I've seen. The notes on this that I've read > > talk about the fact that you can have a 4G regular SD card but that many > > (most) devices don't support it because of the need for a larger FAT to > > support 4G. > > s/many/a few/g. 4GB SD cards work fine in every device I've tried > them in... You are quite lucky then. 4G-SD are non standard and I have a few devices where they don't work with. Sadly I even own a USB reader, which is still being sold, that doen't work with 2G cards - it just truncates them at 1G - sigh. -- B.Walter http://www.bwct.de Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm. From webmaster at kibab.com Wed Oct 8 07:38:53 2008 From: webmaster at kibab.com (Ilya Bakulin) Date: Wed Oct 8 07:39:00 2008 Subject: RFC: PCI SD host controller driver & mmc/mmcsd modules improvements In-Reply-To: <5f67a8c40810052226k3070a11ah463a819c677f6307@mail.gmail.com> References: <48DEA8E7.2080503@FreeBSD.org> <5f67a8c40810052226k3070a11ah463a819c677f6307@mail.gmail.com> Message-ID: <20081008113848.c9b44354.webmaster@kibab.com> On Mon, 6 Oct 2008 01:26:19 -0400 "Zaphod Beeblebrox" wrote: > Most 4G cards are SDHC that I've seen. The notes on this that I've read > talk about the fact that you can have a 4G regular SD card but that many > (most) devices don't support it because of the need for a larger FAT to > support 4G. > > I have two laptops with these controllers, but I have only SDHC media (4 and > 8 gig cards). I have 4G SD card (not SDHC), this driver works perfectly with it. Card is Transcend 4Gb 150x. Output from dmesg: sdhci0-slot0: Card inserted mmc0: on sdhci0 mmcsd0: 3926MB at mmc0 mmc0: setting transfer rate to 30.000MHz mmc0: setting bus width to 4 bits GEOM_LABEL: Label for provider mmcsd0 is msdosfs/WM_ILYA. I've been able to copy large file (diablo jdk 1.6) to and from this card, with no file corruption. I have another SD card, 2 Gb size, in my camera. It's from Kingston. It doesn't work: sdhci0-slot0: Card inserted mmc0: on sdhci0 sdhci0-slot0: Command error 1 (opcode 2 arg 0 flags 103 dlen 0 dflags 0) mmc0: setting transfer rate to 50.000MHz ... and no new storage devices appear. -- Ilya Bakulin -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-mobile/attachments/20081008/9558c7f5/attachment.pgp From mav at FreeBSD.org Wed Oct 8 07:54:49 2008 From: mav at FreeBSD.org (Alexander Motin) Date: Wed Oct 8 07:54:56 2008 Subject: RFC: PCI SD host controller driver & mmc/mmcsd modules improvements In-Reply-To: <20081008113848.c9b44354.webmaster@kibab.com> References: <48DEA8E7.2080503@FreeBSD.org> <5f67a8c40810052226k3070a11ah463a819c677f6307@mail.gmail.com> <20081008113848.c9b44354.webmaster@kibab.com> Message-ID: <48EC6745.8020404@FreeBSD.org> Ilya Bakulin wrote: > I have another SD card, 2 Gb size, in my camera. It's from Kingston. It doesn't work: > > sdhci0-slot0: Card inserted > mmc0: on sdhci0 > sdhci0-slot0: Command error 1 (opcode 2 arg 0 flags 103 dlen 0 dflags 0) > mmc0: setting transfer rate to 50.000MHz > > ... and no new storage devices appear. Theoretically it may be an SDHC card. They are not responding to incompatible host with alike symptoms. I have already implemented MMC and SDHC support and going to publish it soon. -- Alexander Motin From webmaster at kibab.com Wed Oct 8 08:58:24 2008 From: webmaster at kibab.com (Ilya Bakulin) Date: Wed Oct 8 08:58:36 2008 Subject: RFC: PCI SD host controller driver & mmc/mmcsd modules improvements In-Reply-To: <48EC6745.8020404@FreeBSD.org> References: <48DEA8E7.2080503@FreeBSD.org> <5f67a8c40810052226k3070a11ah463a819c677f6307@mail.gmail.com> <20081008113848.c9b44354.webmaster@kibab.com> <48EC6745.8020404@FreeBSD.org> Message-ID: <20081008125820.64e72352.webmaster@kibab.com> On Wed, 08 Oct 2008 10:54:45 +0300 Alexander Motin wrote: > Theoretically it may be an SDHC card. They are not responding to > incompatible host with alike symptoms. I have already implemented MMC > and SDHC support and going to publish it soon. > > -- > Alexander Motin It's not SDHC, because none of my home card readers understand SDHC, and this card can be read in all of them. Under Windows (installed on the same laptop) this card can be read. If you need any further information about this card - just say what you need :-) I also have micro SDHC card (not mine), it responds exactly as that 2 Gb SD... But it can't be read in all my home equipment either :) -- Ilya Bakulin -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-mobile/attachments/20081008/87855a4d/attachment.pgp From knowtree at aloha.com Wed Oct 8 21:25:59 2008 From: knowtree at aloha.com (knowtree@aloha.com) Date: Wed Oct 8 21:26:06 2008 Subject: Fujitsu LifeBook T1010 Message-ID: <200810082125.m98LPutW009516@yoda.pixi.com> New question: which WiFi chipset is better supported in FreeBSD, Atheros XSPAN or Intel® WiFi Link 5100 AGN? What kind of witch's brew is required to make them work? Thanks for the replies to my question about installing from a USB drive. Sounds like something to avoid for the time being. While considering alternatives I realized that a larger screen would be better suited for this system's primary mission, as a demo and teaching system. I had been looking at a Fujitsu P1620, no optical drive, 8.9 in. screen, 2.2 lbs. Now I am considering the T1010, built-in optical, 13.3 in. screen, 5.3 lbs. This one will not go with me on my bike, but I have a Newton MP2100 for that. More info at Gary Dunn Honolulu Open Slate Project http://openslate.net/ From sam at freebsd.org Wed Oct 8 23:35:56 2008 From: sam at freebsd.org (Sam Leffler) Date: Wed Oct 8 23:36:02 2008 Subject: Fujitsu LifeBook T1010 In-Reply-To: <200810082125.m98LPutW009516@yoda.pixi.com> References: <200810082125.m98LPutW009516@yoda.pixi.com> Message-ID: <48ED43D8.1060906@freebsd.org> knowtree@aloha.com wrote: > New question: which WiFi chipset is better supported in FreeBSD, Atheros > XSPAN or Intel? WiFi Link 5100 AGN? What kind of witch's brew is required > to make them work? HEAD has the iwn driver that supports 4965 parts but not the newer 5000 parts. I've not heard of anyone working to add 5000 support. Atheros XSPAN is a class of parts. HEAD supports 5416 parts in legacy mode. I have experimental code to support 9160 parts (legacy only again) but haven't sent it out yet. I also have code to support 9280 and 9285 parts but no hardware to test against and I am unwilling to put out the code untested. > > Thanks for the replies to my question about installing from a USB drive. > Sounds like something to avoid for the time being. While considering > alternatives I realized that a larger screen would be better suited for > this system's primary mission, as a demo and teaching system. I had been > looking at a Fujitsu P1620, no optical drive, 8.9 in. screen, 2.2 lbs. Now > I am considering the T1010, built-in optical, 13.3 in. screen, 5.3 lbs. > This one will not go with me on my bike, but I have a Newton MP2100 for that. > > More info at > > > Gary Dunn > Honolulu > Open Slate Project > http://openslate.net/ > > > _______________________________________________ > freebsd-mobile@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-mobile > To unsubscribe, send any mail to "freebsd-mobile-unsubscribe@freebsd.org" > > From smithi at nimnet.asn.au Thu Oct 9 06:23:54 2008 From: smithi at nimnet.asn.au (Ian Smith) Date: Thu Oct 9 06:24:02 2008 Subject: Fujitsu LifeBook T1010 In-Reply-To: <200810082125.m98LPutW009516@yoda.pixi.com> References: <200810082125.m98LPutW009516@yoda.pixi.com> Message-ID: <20081009161319.Q16723@sola.nimnet.asn.au> On Wed, 8 Oct 2008, knowtree@aloha.com wrote: > New question: which WiFi chipset is better supported in FreeBSD, Atheros > XSPAN or Intel? WiFi Link 5100 AGN? What kind of witch's brew is required > to make them work? Glad that Sam took that one .. however if you hunt around the various dealers you may find one (of either P1620 or T1010) fitted with one of what Fujitsu were still offering a few months ago; an earlier model Atheros (I can't recall which, but thought it should be supported, being one of those mentioned in ath(4) eg AR52xx), or the Intel 3945abg, which I then understood to be (perhaps) likely to work with Project Evil. > Thanks for the replies to my question about installing from a USB drive. > Sounds like something to avoid for the time being. While considering > alternatives I realized that a larger screen would be better suited for > this system's primary mission, as a demo and teaching system. I had been > looking at a Fujitsu P1620, no optical drive, 8.9 in. screen, 2.2 lbs. Now > I am considering the T1010, built-in optical, 13.3 in. screen, 5.3 lbs. > This one will not go with me on my bike, but I have a Newton MP2100 for that. I did a little research on these about 5 months ago for a friend who was agonising over the same sort of choices, after her older Pioneer tablet got completely fried by a hit through the modem during a thunderstorm. She wound up choosing the P1620, wanting something small and light for backpacking around with, and the 6+hrs from its 6-cell battery option. She already had an external USB DVD/CDRW from the Pioneer. At that stage Fujitsu were still offering 'downgrades' to XP Tablet which she installed after a brief play with Vasta (as she dubbed it :) which might be relevant if you're planning on dual booting. I notice they've removed mention of that from the website, but not P1620 specs. The P1620 is dead cute, and has a really sharp screen despite its size. Luckily my friend has slender hands, or the keyboard would feel cramped. Its 1.8" 4200rpm PATA HDD is kinda slow and comes in smaller sizes than the T1010 (which offers a 120GB 7200rpm option). Also, 2GB RAM max vs 4GB on the T1010, though the spec sheet infers that the extra 2GB is only usable with Vista (?) Anyway, 2GB should be plenty for FreeBSD. I can't comment on installing FreeBSD on it; so far she won't let me :) cheers, Ian > More info at > > > Gary Dunn > Honolulu > Open Slate Project > http://openslate.net/ From torfinn.ingolfsen at broadpark.no Thu Oct 9 20:53:23 2008 From: torfinn.ingolfsen at broadpark.no (Torfinn Ingolfsen) Date: Thu Oct 9 20:53:30 2008 Subject: Acer Aspire AS5672 laptop - teste with FreeBSD 6.4-prerelease and 7.1-prerelease Message-ID: <20081009225320.33be3a93.torfinn.ingolfsen@broadpark.no> Hello, FYI, I have tested my troublesome Acer Aspire AS5672[1] laptop with FreeBSD 6.4-prerelease and 7.1-prerelease tonight. Results in short: acpi still needs to be disabled to get network interfaces (bge and wpi) to work on this laptop - aka no improvement. More info on the FreeBSD page[2]. References: 1) http://tingox.googlepages.com/as5672 2) http://tingox.googlepages.com/aceraspireas5672andfreebsd -- Regards, Torfinn Ingolfsen Norway From edwinlculp at gmail.com Fri Oct 10 00:07:43 2008 From: edwinlculp at gmail.com (Edwin L. Culp W.) Date: Fri Oct 10 00:07:50 2008 Subject: I lost ath0 support on current sometime between Sept 20 and Sept 26. Message-ID: <7affaed60810091639n2714fae1mbd34048bc8be89c3@mail.gmail.com> I started this thread on current but I lost it to Ashish Shukla so I'm going to try here and see if I can explain it better and solve this strange issue. I was happily using Sam's ath_hal-20080528 patch and IIRC the committed ath_hal fixes until Sept 20. I didn't build another new kernel until Sept 26. From that date on I have been unable to get it working. The sept 20 kernel still works great. I'm using it to send this email. I don't have to change anything I just start kernel.old and run it rather than today's kernel that has no problems other than bringing up ath0/wlan0. Some general info for both kernels that I can find no important differences and now really doubt that the problem is hal_ath but something else that has changed and is causing the problem. I have thought of dhcp, ifconfig, ??? The general information for both follows: FreeBSD 8.0-CURRENT #50: Thu Oct 9 05:27:41 CDT 2008 root@ed.local.net.mx:/usr/obj/usr/src/sys/ENCONTACTO rc.conf that doesn't change and works for sept 20 kernel but not todays: wlans_ath0=wlan0 ifconfig_wlan0="DHCP ssid virus wepmode on wepkey 1:0x2373FE9515 weptxkey 1" ifconfig with todays kernel for ath0 and wlan0: ath0: flags=8843 metric 0 mtu 2290 ether 00:1d:d9:27:5c:e5 media: IEEE 802.11 Wireless Ethernet autoselect mode 11g status: associated wlan0: flags=8843 metric 0 mtu 1500 ether 00:1d:d9:27:5c:e5 media: IEEE 802.11 Wireless Ethernet OFDM/48Mbps mode 11g status: associated ssid virus channel 6 (2437 Mhz 11g) bssid 00:1d:7e:51:e1:4d regdomain 101 indoor ecm authmode OPEN privacy ON deftxkey 1 wepkey 1:40-bit txpower 16 bmiss 7 scanvalid 450 bgscan bgscanintvl 300 bgscanidle 250 roam:rssi 7 roam:rate 5 protmode CTS wme burst roaming MANUAL The part of the dmesg that show ath0 and wlan0 with hal ath_hal: 0.10.5.10 (AR5210, AR5211, AR5212, AR5416, RF5111, RF5112, RF2413, RF5413, RF2133, RF2425, RF2417) ath0: mem 0xd0400000-0xd040ffff irq 19 at device 0.0 on pci5 ath0: [ITHREAD] ath0: WARNING: using obsoleted if_watchdog interface ath0: mac 14.2 phy 7.0 radio 10.2 ------------------------------------------------------------------------------------------------ The same information for the Sept 20 kernel. FreeBSD ed.local.net.mx 8.0-CURRENT FreeBSD 8.0-CURRENT #34: Sat Sep 20 05:37:05 CDT 2008 root@ed.local.net.mx:/usr/obj/usr/src/sys/ENCONTACTO i386 rc.conf is the same. If config for Sept 20 kernel: ath0: flags=8843 metric 0 mtu 2290 ether 00:1d:d9:27:5c:e5 media: IEEE 802.11 Wireless Ethernet autoselect mode 11g status: associated wlan0: flags=8843 metric 0 mtu 1500 ether 00:1d:d9:27:5c:e5 inet 172.16.0.7 netmask 0xffffff00 broadcast 172.16.0.255 media: IEEE 802.11 Wireless Ethernet DS/5.5Mbps mode 11g status: associated ssid virus channel 6 (2437 Mhz 11g) bssid 00:1d:7e:51:e1:4d regdomain 101 indoor ecm authmode OPEN privacy ON deftxkey 1 wepkey 1:40-bit txpower 16 bmiss 7 scanvalid 60 bgscan bgscanintvl 300 bgscanidle 250 roam:rssi 7 roam:rate 5 protmode CTS wme burst Same parts of the dmesg form Sept 20 kernel. ath_hal: 0.10.5.10 (AR5210, AR5211, AR5212, AR5416, RF5111, RF5112, RF2413, RF5413, RF2133, RF2425, RF2417) ath0: mem 0xd0400000-0xd040ffff irq 19 at device 0.0 on pci5 ath0: [ITHREAD] ath0: WARNING: using obsoleted if_watchdog interface ath0: mac 14.2 phy 7.0 radio 10.2 Thanks, ed From sam at freebsd.org Fri Oct 10 02:21:16 2008 From: sam at freebsd.org (Sam Leffler) Date: Fri Oct 10 02:21:23 2008 Subject: I lost ath0 support on current sometime between Sept 20 and Sept 26. In-Reply-To: <7affaed60810091639n2714fae1mbd34048bc8be89c3@mail.gmail.com> References: <7affaed60810091639n2714fae1mbd34048bc8be89c3@mail.gmail.com> Message-ID: <48EEBC1B.1040003@freebsd.org> Edwin L. Culp W. wrote: > I started this thread on current but I lost it to Ashish Shukla so I'm > going to try here and see if I can explain it better and solve this > strange issue. > > I was happily using Sam's ath_hal-20080528 patch and IIRC the > committed ath_hal fixes until Sept 20. I didn't build another new > kernel until Sept 26. From that date on I have been unable to get it > working. The sept 20 kernel still works great. I'm using it to send > this email. I don't have to change anything I just start kernel.old > and run it rather than today's kernel that has no problems other than > bringing up ath0/wlan0. > > Some general info for both kernels that I can find no important > differences and now really doubt that the problem is hal_ath but > something else that has changed and is causing the problem. I have > thought of dhcp, ifconfig, ??? The general information for both > follows: > > > FreeBSD 8.0-CURRENT #50: Thu Oct 9 05:27:41 CDT 2008 > root@ed.local.net.mx:/usr/obj/usr/src/sys/ENCONTACTO > > rc.conf that doesn't change and works for sept 20 kernel but not todays: > > wlans_ath0=wlan0 > ifconfig_wlan0="DHCP ssid virus wepmode on wepkey 1:0x2373FE9515 > weptxkey 1" > > ifconfig with todays kernel for ath0 and wlan0: > > > ath0: flags=8843 metric 0 mtu 2290 > ether 00:1d:d9:27:5c:e5 > media: IEEE 802.11 Wireless Ethernet autoselect mode 11g > status: associated > wlan0: flags=8843 metric 0 mtu 1500 > ether 00:1d:d9:27:5c:e5 > media: IEEE 802.11 Wireless Ethernet OFDM/48Mbps mode 11g > status: associated > ssid virus channel 6 (2437 Mhz 11g) bssid 00:1d:7e:51:e1:4d > regdomain 101 indoor ecm authmode OPEN privacy ON deftxkey 1 > wepkey 1:40-bit txpower 16 bmiss 7 scanvalid 450 bgscan > bgscanintvl 300 bgscanidle 250 roam:rssi 7 roam:rate 5 protmode CTS > wme burst roaming MANUAL > > The part of the dmesg that show ath0 and wlan0 with hal > > ath_hal: 0.10.5.10 (AR5210, AR5211, AR5212, AR5416, RF5111, RF5112, > RF2413, RF5413, RF2133, RF2425, RF2417) > > ath0: mem 0xd0400000-0xd040ffff irq 19 at device 0.0 on pci5 > ath0: [ITHREAD] > ath0: WARNING: using obsoleted if_watchdog interface > ath0: mac 14.2 phy 7.0 radio 10.2 > > ------------------------------------------------------------------------------------------------ > > The same information for the Sept 20 kernel. > > FreeBSD ed.local.net.mx 8.0-CURRENT FreeBSD 8.0-CURRENT #34: Sat Sep > 20 05:37:05 CDT 2008 > root@ed.local.net.mx:/usr/obj/usr/src/sys/ENCONTACTO i386 > > rc.conf is the same. > > If config for Sept 20 kernel: > > ath0: flags=8843 metric 0 mtu 2290 > ether 00:1d:d9:27:5c:e5 > media: IEEE 802.11 Wireless Ethernet autoselect mode 11g > status: associated > wlan0: flags=8843 metric 0 mtu 1500 > ether 00:1d:d9:27:5c:e5 > inet 172.16.0.7 netmask 0xffffff00 broadcast 172.16.0.255 > media: IEEE 802.11 Wireless Ethernet DS/5.5Mbps mode 11g > status: associated > ssid virus channel 6 (2437 Mhz 11g) bssid 00:1d:7e:51:e1:4d > regdomain 101 indoor ecm authmode OPEN privacy ON deftxkey 1 > wepkey 1:40-bit txpower 16 bmiss 7 scanvalid 60 bgscan bgscanintvl 300 > bgscanidle 250 roam:rssi 7 roam:rate 5 protmode CTS wme burst > > Same parts of the dmesg form Sept 20 kernel. > > ath_hal: 0.10.5.10 (AR5210, AR5211, AR5212, AR5416, RF5111, RF5112, > RF2413, RF5413, RF2133, RF2425, RF2417) > > ath0: mem 0xd0400000-0xd040ffff irq 19 at device 0.0 on pci5 > ath0: [ITHREAD] > ath0: WARNING: using obsoleted if_watchdog interface > ath0: mac 14.2 phy 7.0 radio 10.2 > Does it work w/o WEP? Do you any crypto errors show up in wlanstats and/or athstats output? Sam From knowtree at aloha.com Fri Oct 10 23:43:49 2008 From: knowtree at aloha.com (knowtree@aloha.com) Date: Fri Oct 10 23:43:56 2008 Subject: Fujitsu LifeBook T1010 Message-ID: <200810102343.m9ANhlTK012818@yoda.pixi.com> > knowtree@aloha.com wrote: > > New question: which WiFi chipset is better supported in FreeBSD, Atheros > > XSPAN or Intel® WiFi Link 5100 AGN? What kind of witch's brew is required > > to make them work? > > HEAD has the iwn driver that supports 4965 parts but not the newer 5000 > parts. I've not heard of anyone working to add 5000 support. > > Atheros XSPAN is a class of parts. HEAD supports 5416 parts in legacy > mode. I have experimental code to support 9160 parts (legacy only > again) but haven't sent it out yet. I also have code to support 9280 > and 9285 parts but no hardware to test against and I am unwilling to put > out the code untested. Thanks Sam, and Ian, for your help. This is just a progress report. 1. I made sure both computers had a PCMCIA slot, so that I can use a well-supported WiFi card until the internal drivers are supported. 2. I called Fujitsu and wound up talking with a very helpful tech support guy. He did not have part numbers but he understood my question and set out to get the answer. I told to mail me the result. Still waiting ... 3. To get get high quality video from the larger T1010 I still need to use the port replicator. The T1010 inself only puts out VGA. The port replicator puts out VGA, DVI, and HDMI. The P1620 alone has an "external monitor" port, let's assume that's VGA. Regrettibly, it's port replicator does nothing more. So for presentation tasks the T1010 with port replicator wins, unless I am willing to be limited to VGA connections, which of course all LCD projectors use. Crazy, isn't it? 4. I just saw on slashdot that Linux 2.6.27 is out, and it includes "... support for the Intel wifi 5000 series and RTL8187B network cards, a new ath9k driver for the Atheros AR5008 and AR9001 chipsets ..." That's good, no? If it is in Linux, it can't be too much longer before it gets to FreeBSD, right? OK, so maybe it isn't as easy as that, but I am clinging to hope here. 5. Here is your dumb-guy question of the day: What is HEAD? Is that the same as running CURRENT? Have a great weekend, everyone! Gary Dunn Honolulu Open Slate Project http://openslate.net/ From kline at thought.org Sat Oct 11 00:02:48 2008 From: kline at thought.org (Gary Kline) Date: Sat Oct 11 00:02:54 2008 Subject: ThinkPad 3GHz [[ alledgedly]] Message-ID: <20081010234314.GA54139@thought.org> Well, for a change I'm not writing dub questions to the main list! This time, just some advice and maybe hand-holding ... with a pat/back and "That's all right; you didn't have any choice." I just bought the last pre-Lenovo [?] IBM ThinkPad. I would have much preferred the computer *without* an OS, but hell will freeze over before that happens. Nutshell, it's got XP on it and I'd like to know if I can scrape it off and either give or sell it. And if so:exactly how. It *is* old-fashioned as some reviewers wrote in '05, but it has Only the trackstick or stictrak to move the pointer. No scratch-and-sniff pad where I'll rest my palm. Built-in wireless and built-in cable jack. So: should I just drop in 7.1-R or Ubuntu-XYZ over the Windows or what? The ONLY use I'd ever have to use W is to play my French CD's. O/wise it's useless. thanks for any insights, gary -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org From smithi at nimnet.asn.au Sat Oct 11 02:09:48 2008 From: smithi at nimnet.asn.au (Ian Smith) Date: Sat Oct 11 02:09:54 2008 Subject: ThinkPad 3GHz [[ alledgedly]] In-Reply-To: <20081010234314.GA54139@thought.org> References: <20081010234314.GA54139@thought.org> Message-ID: <20081011121019.F16723@sola.nimnet.asn.au> On Fri, 10 Oct 2008, Gary Kline wrote: > Well, for a change I'm not writing dub questions to the main > list! This time, just some advice and maybe hand-holding ... > with a pat/back and "That's all right; you didn't have any > choice." > > I just bought the last pre-Lenovo [?] IBM ThinkPad. I would have Gary, what model & type is it? Exactly? Doesn't sound like a T43, they have a touchpad I think, and - we've been here before - I haven't heard of any single-core Thinkpads clocked faster than about 2.2GHz. > much preferred the computer *without* an OS, but hell will freeze > over before that happens. Nutshell, it's got XP on it and I'd > like to know if I can scrape it off and either give or sell it. Scraping it off is as easy as deleting its slice in sysinstall. I doubt you can (legally) sell or even give it away, and who'd want it anyway? > And if so:exactly how. It *is* old-fashioned as some reviewers > wrote in '05, but it has Only the trackstick or stictrak to move > the pointer. No scratch-and-sniff pad where I'll rest my palm. I'm waiting for some guinea pig to try an Adesso Easy Cat external touchpad on one (U$40 or so). I've asked several times, but noone so far admits to having tried one of these on any FreeBSD box. I gather that at a minimum they emulate standard PS/2 or USB mice, with tap, double-tap and drag and possibly right-click-tap, out of the box. > Built-in wireless and built-in cable jack. Before you wipe anything you could boot off disc 1, or -bootonly, and save a dmesg so we can see what all the hardware is, though given the model and type numbers, someone will likely already have [had] one. > So: should I just drop in 7.1-R or Ubuntu-XYZ over the Windows > or what? The ONLY use I'd ever have to use W is to play my > French CD's. O/wise it's useless. If the HD has plenty of room, you could shrink the doze slice down to enough to boot and use it if need be, maybe 4-6GB for XP, using one of the various tools such as Partition Magic. Depending on its model, you may need to boot windows to do the BIOS and Embedded Controller updates, though many more recent(?) models have bootable ISO images available. cheers, Ian From torfinn.ingolfsen at broadpark.no Sat Oct 11 02:38:03 2008 From: torfinn.ingolfsen at broadpark.no (Torfinn Ingolfsen) Date: Sat Oct 11 02:38:10 2008 Subject: ThinkPad T61 - tested with FreeBSD 6.4-prerelease and 7.1-prerelease Message-ID: <20081011043801.b74a0b5c.torfinn.ingolfsen@broadpark.no> FYI, I just tested a ThinkPad T61[1] with FreeBSD 6.4-prerelease and 7.1-prerelease. Results on the FreeBSd page[2]. The iwn[3] driver works nicely in 7.1-prerelease, but does not compile in 6.4-prerelease. Two questions: - will the iwn driver be included in FreeBSD 7.1-release? - will the iwn driver be backported to 6.4? References: 1) http://tingox.googlepages.com/t61 2) http://tingox.googlepages.com/t61_freebsd 3) http://www.clearchain.com/wiki/Iwn -- Regards, Torfinn Ingolfsen From kline at thought.org Sat Oct 11 08:31:42 2008 From: kline at thought.org (Gary Kline) Date: Sat Oct 11 08:31:48 2008 Subject: ThinkPad 3GHz [[ alledgedly]] In-Reply-To: <20081011012703.GE18237@server.vk2pj.dyndns.org> References: <20081010234314.GA54139@thought.org> <20081011012703.GE18237@server.vk2pj.dyndns.org> Message-ID: <20081011083136.GA79660@thought.org> On Sat, Oct 11, 2008 at 12:27:03PM +1100, Peter Jeremy wrote: > On 2008-Oct-10 16:43:17 -0700, Gary Kline wrote: > > I just bought the last pre-Lenovo [?] IBM ThinkPad. I would have > > much preferred the computer *without* an OS, but hell will freeze > > over before that happens. Nutshell, it's got XP on it and I'd > > like to know if I can scrape it off and either give or sell it. > > It should have either been supplied with recovery disks or have > embedded software that will allow you to build recovery disks. This is an old (2005) l'top; used. The place I bought it is in Canada. I aked the dealer if he could remove it. He said: "Write 'No OS wanted' in the comment section." Which I did, naturally. I wrote this guy a polite letter expressing my dissatisfaction. Zip. No reply. --Of course with the global house-of-cards economy what it is, he wasn't going to say *anything*. > Unfortunately, the latter mechanism will require you to complete the > XP install process before you can create the recovery disks. Also, my > understanding (IANAL and TINLA) is that the XP license you have is not > transferrable so you would not be able to legally give/sell it to > someone else and I also believe the license key is linked to the > hardware configuration and may not work on (eg) a whitebox desktop. I > suggest you read the fine print in the EULA before attempting to sell > it. There was nothing but the computer and the cords. Transformer. Zero booklets, zero docs. I can probably find a DOS program to extract the key for this year XP, but if is illegal to sell, well, that how the world turns... . > > > So: should I just drop in 7.1-R or Ubuntu-XYZ over the Windows > > or what? The ONLY use I'd ever have to use W is to play my > > French CD's. O/wise it's useless. > > Your other approach is to shrink the XP partition (Knoppix includes > suitable tools or you can search the Internet) and put FreeBSD (or > Ubuntu - but this is a FreeBSD list) on the rest of the disk. I used > this approach on a HP laptop and managed to shoe-horn XP into 5GB > (though if you actually want to use it, you'd be better off with a > bit more space). thanks for your input.... > > -- > Peter Jeremy > Please excuse any delays as the result of my ISP's inability to implement > an MTA that is either RFC2821-compliant or matches their claimed behaviour. -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org From kline at thought.org Sat Oct 11 09:38:34 2008 From: kline at thought.org (Gary Kline) Date: Sat Oct 11 09:38:40 2008 Subject: ThinkPad 3GHz [[ alledgedly]] In-Reply-To: <20081011121019.F16723@sola.nimnet.asn.au> References: <20081010234314.GA54139@thought.org> <20081011121019.F16723@sola.nimnet.asn.au> Message-ID: <20081011093828.GB79660@thought.org> On Sat, Oct 11, 2008 at 01:09:45PM +1100, Ian Smith wrote: > On Fri, 10 Oct 2008, Gary Kline wrote: > > Well, for a change I'm not writing dub questions to the main > > list! This time, just some advice and maybe hand-holding ... > > with a pat/back and "That's all right; you didn't have any > > choice." > > > > I just bought the last pre-Lenovo [?] IBM ThinkPad. I would have > > Gary, what model & type is it? Exactly? Doesn't sound like a T43, they > have a touchpad I think, and - we've been here before - I haven't heard > of any single-core Thinkpads clocked faster than about 2.2GHz. It's a G41. --if i said t43, my mind was *thinking* "g41"; too often i'll be thinking one thing but my fingers type something else, maybe close, maybe not! (yes, i am way short on sleep again:) (*mumble*) I'll need help it turning the laptop over and getting the full model, type, &c. i Have run the Windows part and used the firefox to go places, but that's about all. haven't done more because I've got to get another CAT5 cable. > > > much preferred the computer *without* an OS, but hell will freeze > > over before that happens. Nutshell, it's got XP on it and I'd > > like to know if I can scrape it off and either give or sell it. > > Scraping it off is as easy as deleting its slice in sysinstall. I doubt > you can (legally) sell or even give it away, and who'd want it anyway? > LOLOL. Nobody is his right mind!! The reason I brought it up was that my 600E that i bought on ebay was sold without any OS. (I was smiling for a month.) Anyway, in case you need some (clearing my throat) "fertilizer", I can send you what i've scraped off. > > And if so:exactly how. It *is* old-fashioned as some reviewers > > wrote in '05, but it has Only the trackstick or stictrak to move > > the pointer. No scratch-and-sniff pad where I'll rest my palm. > > I'm waiting for some guinea pig to try an Adesso Easy Cat external > touchpad on one (U$40 or so). I've asked several times, but noone so > far admits to having tried one of these on any FreeBSD box. I gather > that at a minimum they emulate standard PS/2 or USB mice, with tap, > double-tap and drag and possibly right-click-tap, out of the box. By touchpad I'm assuming you mean that thing you scrape with your fingernails, correct? Or maybe pressed your fingers? I've tried that on my daughter's Macbook and i just don't have the dexterity. A few weeks--nay, a few days-- of cursor-moving that way: man, the guys in white coats would have to haul me away. Exactly why somebody doesn't make a keyboard with a mouse-curse track-stick on it, I don't know. Mose buttons could be beside the space bar. Think of the kilometers of saved travel-time going to from mouse and keyboard. --starting to rant, sorry-- > > > Built-in wireless and built-in cable jack. > > Before you wipe anything you could boot off disc 1, or -bootonly, and > save a dmesg so we can see what all the hardware is, though given the > model and type numbers, someone will likely already have [had] one. I'll poke around on web and on computer. It's heavy for a "portable"; 11 lbs to ship, so 8or 9 probably. Did I mention that I had the guy upgrad to a 120G drive and 2GB of DDR? > > > So: should I just drop in 7.1-R or Ubuntu-XYZ over the Windows > > or what? The ONLY use I'd ever have to use W is to play my > > French CD's. O/wise it's useless. > > If the HD has plenty of room, you could shrink the doze slice down to > enough to boot and use it if need be, maybe 4-6GB for XP, using one of > the various tools such as Partition Magic. Depending on its model, you > may need to boot windows to do the BIOS and Embedded Controller updates, > though many more recent(?) models have bootable ISO images available. Mmm. The more I think about it, the less use I have for anything M$. I mean, there are few people alive as ch--thrifty as I am. But I ain't stoopid enough to waste hours -> days to run an OS to play my French CDs. > > cheers, Ian have a good one, gary -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org From peterjeremy at optushome.com.au Sat Oct 11 09:44:35 2008 From: peterjeremy at optushome.com.au (Peter Jeremy) Date: Sat Oct 11 09:44:41 2008 Subject: ThinkPad 3GHz [[ alledgedly]] In-Reply-To: <20081011083136.GA79660@thought.org> References: <20081010234314.GA54139@thought.org> <20081011012703.GE18237@server.vk2pj.dyndns.org> <20081011083136.GA79660@thought.org> Message-ID: <20081011094431.GH18237@server.vk2pj.dyndns.org> On 2008-Oct-11 01:31:36 -0700, Gary Kline wrote: > This is an old (2005) l'top; used. In which case, it probably shouldn't have come with an OS. > Zero booklets, zero docs. I can probably find a DOS program to > extract the key for this year XP, but if is illegal to sell, > well, that how the world turns... . Normally, there would be a Microsoft sticker on the computer that is both the "proof of license" and gives the license key. -- Peter Jeremy Please excuse any delays as the result of my ISP's inability to implement an MTA that is either RFC2821-compliant or matches their claimed behaviour. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-mobile/attachments/20081011/acef80fe/attachment.pgp From peterjeremy at optushome.com.au Sat Oct 11 14:03:28 2008 From: peterjeremy at optushome.com.au (Peter Jeremy) Date: Sat Oct 11 14:03:34 2008 Subject: ThinkPad 3GHz [[ alledgedly]] In-Reply-To: <20081010234314.GA54139@thought.org> References: <20081010234314.GA54139@thought.org> Message-ID: <20081011012703.GE18237@server.vk2pj.dyndns.org> On 2008-Oct-10 16:43:17 -0700, Gary Kline wrote: > I just bought the last pre-Lenovo [?] IBM ThinkPad. I would have > much preferred the computer *without* an OS, but hell will freeze > over before that happens. Nutshell, it's got XP on it and I'd > like to know if I can scrape it off and either give or sell it. It should have either been supplied with recovery disks or have embedded software that will allow you to build recovery disks. Unfortunately, the latter mechanism will require you to complete the XP install process before you can create the recovery disks. Also, my understanding (IANAL and TINLA) is that the XP license you have is not transferrable so you would not be able to legally give/sell it to someone else and I also believe the license key is linked to the hardware configuration and may not work on (eg) a whitebox desktop. I suggest you read the fine print in the EULA before attempting to sell it. > So: should I just drop in 7.1-R or Ubuntu-XYZ over the Windows > or what? The ONLY use I'd ever have to use W is to play my > French CD's. O/wise it's useless. Your other approach is to shrink the XP partition (Knoppix includes suitable tools or you can search the Internet) and put FreeBSD (or Ubuntu - but this is a FreeBSD list) on the rest of the disk. I used this approach on a HP laptop and managed to shoe-horn XP into 5GB (though if you actually want to use it, you'd be better off with a bit more space). -- Peter Jeremy Please excuse any delays as the result of my ISP's inability to implement an MTA that is either RFC2821-compliant or matches their claimed behaviour. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-mobile/attachments/20081011/2b1897b9/attachment.pgp From mav at FreeBSD.org Sat Oct 11 20:46:03 2008 From: mav at FreeBSD.org (Alexander Motin) Date: Sat Oct 11 20:46:15 2008 Subject: RFC: PCI SD host controller driver & mmc/mmcsd modules improvements In-Reply-To: <48DEA8E7.2080503@FreeBSD.org> References: <48DEA8E7.2080503@FreeBSD.org> Message-ID: <48F11087.20403@FreeBSD.org> Alexander Motin wrote: > I would like to present initial revision of my generic PCI SD Host > Controller driver (sdhci). It support PCI devices with class 8 and > subclass 5 according to SD Host Controller Specification. > > Latest patches against 8-CURRENT (mostly fit 7-STABLE) may be found at: > http://people.freebsd.org/~mav/sdhci/ For those who are not tracking actively, I would like to report that most of original driver's child illnesses are now healed. Driver now supports both PIO and DMA modes. Because of some special tunings DMA works fine even on almost broken ENE chips. I am reaching 15MB/s transfer (maximum for my controller's bus) with only about 1% of CPU load. Implemented 4 bits bus width and high speed timing modes support for high data rates up to 52MHz. Cards hot insertion/removing is now working. Together with in-tree mmc/mmcsd drivers improvements most of card types (SD, SDHC, standard and high capacity MMC) are now supported. -- Alexander Motin From smithi at nimnet.asn.au Sun Oct 12 07:29:09 2008 From: smithi at nimnet.asn.au (Ian Smith) Date: Sun Oct 12 07:29:16 2008 Subject: ThinkPad 3GHz [[ alledgedly]] In-Reply-To: <20081011093828.GB79660@thought.org> References: <20081010234314.GA54139@thought.org> <20081011121019.F16723@sola.nimnet.asn.au> <20081011093828.GB79660@thought.org> Message-ID: <20081012171558.V16723@sola.nimnet.asn.au> On Sat, 11 Oct 2008, Gary Kline wrote: > On Sat, Oct 11, 2008 at 01:09:45PM +1100, Ian Smith wrote: > > On Fri, 10 Oct 2008, Gary Kline wrote: [..] > > > I just bought the last pre-Lenovo [?] IBM ThinkPad. I would have > > > > Gary, what model & type is it? Exactly? Doesn't sound like a T43, they > > have a touchpad I think, and - we've been here before - I haven't heard > > of any single-core Thinkpads clocked faster than about 2.2GHz. > > It's a G41. --if i said t43, my mind was *thinking* "g41"; too > often i'll be thinking one thing but my fingers type something > else, maybe close, maybe not! (yes, i am way short on sleep > again:) (*mumble*) I'll need help it turning the laptop over > and getting the full model, type, &c. Fair enough. Well I'd never even heard of the G-series before, so it's news to me. I see they do sport a Mobile P4 from 3.06 up to 3.46GHz. Best reference I found is: http://www.thinkwiki.org/wiki/Category:G41 > Anyway, in case you need some (clearing my throat) "fertilizer", > I can send you what i've scraped off. Thanks all the same, but we have chooks here for that .. > > > And if so:exactly how. It *is* old-fashioned as some reviewers > > > wrote in '05, but it has Only the trackstick or stictrak to move > > > the pointer. No scratch-and-sniff pad where I'll rest my palm. > > > > I'm waiting for some guinea pig to try an Adesso Easy Cat external > > touchpad on one (U$40 or so). I've asked several times, but noone so > > far admits to having tried one of these on any FreeBSD box. I gather > > that at a minimum they emulate standard PS/2 or USB mice, with tap, > > double-tap and drag and possibly right-click-tap, out of the box. > > By touchpad I'm assuming you mean that thing you scrape with your > fingernails, correct? Or maybe pressed your fingers? I've tried > that on my daughter's Macbook and i just don't have the > dexterity. A few weeks--nay, a few days-- of cursor-moving that > way: man, the guys in white coats would have to haul me away. > Exactly why somebody doesn't make a keyboard with a mouse-curse > track-stick on it, I don't know. Mose buttons could be beside > the space bar. Think of the kilometers of saved travel-time going > to from mouse and keyboard. --starting to rant, sorry-- That's the one. For years I've done most of my day to day work on a '99 Compaq 1500c laptop that refuses to die, though its second keyboard is getting sloppy, but it has the best touchpad I've used including several more recent laptops including MY daughter's Macs. I'm still not ready to move to my T23 for day to day work despite its excellent keyboard, after quite regular attempts at being at least half as productive with its TrackPoint. People keep telling me that I'll get used to it .. Maybe I'll just have to be my own guinea pig, though it's now ~A$100 .. > > > Built-in wireless and built-in cable jack. > > > > Before you wipe anything you could boot off disc 1, or -bootonly, and > > save a dmesg so we can see what all the hardware is, though given the > > model and type numbers, someone will likely already have [had] one. > > I'll poke around on web and on computer. It's heavy for a > "portable"; 11 lbs to ship, so 8or 9 probably. Did I mention that > I had the guy upgrad to a 120G drive and 2GB of DDR? No, but that's good. Yeah it looks pretty chunky, hardly for the lap, still it'll use a lot less power than a desktop and likely last forever. I see options include 3 screens, either Intel or NVidia video, 2 wifi adaptors (both Atheros based, should work) and 2 Broadcomm LAN adaptors. > > > So: should I just drop in 7.1-R or Ubuntu-XYZ over the Windows > > > or what? The ONLY use I'd ever have to use W is to play my > > > French CD's. O/wise it's useless. > > > > If the HD has plenty of room, you could shrink the doze slice down to > > enough to boot and use it if need be, maybe 4-6GB for XP, using one of > > the various tools such as Partition Magic. Depending on its model, you > > may need to boot windows to do the BIOS and Embedded Controller updates, > > though many more recent(?) models have bootable ISO images available. > > Mmm. The more I think about it, the less use I have for anything > M$. I mean, there are few people alive as ch--thrifty as I am. > But I ain't stoopid enough to waste hours -> days to run an OS to > play my French CDs. Well do check the IBM/Lenovo site regarding its BIOS and EC versions, and be sure to install the latest ones, especially regarding ACPI, as you'll probably want to run powerd to keep it running cool when idle. Ah, just downloaded the Hardware Maintenance Manual referenced on that ThinkWiki page to add to my collection .. gotta love IBM manuals .. and see that a) some actually went up to 3.73GHz, whee, and b) it has a floppy drive, which may make BIOS upgrading less tedious, though you may still need to make floppy/s on a 'doze box (eg this one before wiping?) All in all, it looks like a pretty useful sort of machine, if you're not planning to cart it around too much. Can I ask what you paid for it? cheers, Ian From henry.hu.sh at gmail.com Sun Oct 12 11:08:44 2008 From: henry.hu.sh at gmail.com (Henry Hu) Date: Sun Oct 12 11:08:55 2008 Subject: RFC: PCI SD host controller driver & mmc/mmcsd modules improvements In-Reply-To: <48F11087.20403@FreeBSD.org> References: <48DEA8E7.2080503@FreeBSD.org> <48F11087.20403@FreeBSD.org> Message-ID: <53a1e0710810120339g66180c86n239c35bf2abf9467@mail.gmail.com> Hello, I've tried your driver, and it worked fine at my laptop. I have a Samsung R70, with built-in SD card reader(in fact, it can read many cards, and there are 4 unknown devices related to it).The transfer speed with dd bs=512 is almost 800KB/s, which I think is fairly fast. I'm testing it with a transcend 2G mini SD card, with SD-miniSD adapter. I'm using 7-STABLE, so I changed kproc_create to kthread_create to compile the mmcsd module. There are errors, but the transfer completed normally. System log: sdhci0: mem 0xf0401000-0xf04010ff at device 9.1 on pci5 sdhci0: slot 0 uses DMA sdhci0-slot0: ============== REGISTER DUMP ============== sdhci0-slot0: Sys addr: 0x00000000 | Version: 0x00000200 sdhci0-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000000 sdhci0-slot0: Argument: 0x00000000 | Trn mode: 0x00000000 sdhci0-slot0: Present: 0x01f20000 | Host ctl: 0x00000000 sdhci0-slot0: Power: 0x00000000 | Blk gap: 0x00000000 sdhci0-slot0: Wake-up: 0x00000000 | Clock: 0x00000000 sdhci0-slot0: Timeout: 0x00000000 | Int stat: 0x00000000 sdhci0-slot0: Int enab: 0x01ff00fb | Sig enab: 0x01ff00fb sdhci0-slot0: AC12 err: 0x00000000 | Slot int: 0x00000000 sdhci0-slot0: Caps: 0x01c021a1 | Max curr: 0x00000040 sdhci0-slot0: =========================================== sdhci0: 1 slot(s) allocated sdhci0: [ITHREAD] sdhci0-slot0: Card inserted sdhci0-slot0: Card removed sdhci0-slot0: Card inserted mmc0: on sdhci0 sdhci0-slot0: Command error 1 (opcode 8 arg 426 flags 101 dlen 0 dflags 0) sdhci0-slot0: Command error 1 (opcode 8 arg 426 flags 101 dlen 0 dflags 0) link_elf: symbol kproc_create undefined link_elf: symbol kproc_create undefined sdhci0-slot0: Card removed mmc0: detached sdhci0-slot0: Card inserted mmc0: on sdhci0 sdhci0-slot0: Command error 1 (opcode 8 arg 426 flags 101 dlen 0 dflags 0) sdhci0-slot0: Command error 1 (opcode 8 arg 426 flags 101 dlen 0 dflags 0) link_elf: symbol kproc_create undefined sdhci0-slot0: Card removed mmc0: detached sdhci0-slot0: Card inserted mmc0: on sdhci0 sdhci0-slot0: Command error 1 (opcode 8 arg 426 flags 101 dlen 0 dflags 0) sdhci0-slot0: Command error 1 (opcode 8 arg 426 flags 101 dlen 0 dflags 0) sdhci0-slot0: Card removed mmc0: detached link_elf: symbol kproc_create undefined sdhci0-slot0: Card inserted mmc0: on sdhci0 sdhci0-slot0: Command error 1 (opcode 8 arg 426 flags 101 dlen 0 dflags 0) sdhci0-slot0: Command error 1 (opcode 8 arg 426 flags 101 dlen 0 dflags 0) mmcsd0: 1950MB at mmc0 16MHz/4bit GEOM_LABEL: Label for provider mmcsd0 is msdosfs/USBFDD-BOOT. GEOM_LABEL: Label msdosfs/USBFDD-BOOT removed. GEOM_LABEL: Label for provider mmcsd0 is msdosfs/USBFDD-BOOT. sdhci0-slot0: Card removed mmcsd0: detached mmc0: detached GEOM_LABEL: Label msdosfs/USBFDD-BOOT removed. Also thanks to your new UAA driver! Good work! Regards, Henry 2008/10/12 Alexander Motin : > Alexander Motin wrote: >> >> I would like to present initial revision of my generic PCI SD Host >> Controller driver (sdhci). It support PCI devices with class 8 and subclass >> 5 according to SD Host Controller Specification. >> Latest patches against 8-CURRENT (mostly fit 7-STABLE) may be found at: >> http://people.freebsd.org/~mav/sdhci/ > > For those who are not tracking actively, I would like to report that most of > original driver's child illnesses are now healed. > > Driver now supports both PIO and DMA modes. Because of some special tunings > DMA works fine even on almost broken ENE chips. I am reaching 15MB/s > transfer (maximum for my controller's bus) with only about 1% of CPU load. > Implemented 4 bits bus width and high speed timing modes support for high > data rates up to 52MHz. Cards hot insertion/removing is now working. > Together with in-tree mmc/mmcsd drivers improvements most of card types (SD, > SDHC, standard and high capacity MMC) are now supported. > > -- > Alexander Motin > _______________________________________________ > freebsd-mobile@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-mobile > To unsubscribe, send any mail to "freebsd-mobile-unsubscribe@freebsd.org" > From mav at FreeBSD.org Sun Oct 12 11:48:54 2008 From: mav at FreeBSD.org (Alexander Motin) Date: Sun Oct 12 11:49:01 2008 Subject: RFC: PCI SD host controller driver & mmc/mmcsd modules improvements In-Reply-To: <53a1e0710810120339g66180c86n239c35bf2abf9467@mail.gmail.com> References: <48DEA8E7.2080503@FreeBSD.org> <48F11087.20403@FreeBSD.org> <53a1e0710810120339g66180c86n239c35bf2abf9467@mail.gmail.com> Message-ID: <48F1E423.1000606@FreeBSD.org> Henry Hu wrote: > I've tried your driver, and it worked fine at my laptop. > I have a Samsung R70, with built-in SD card reader(in fact, it can > read many cards, and there are 4 unknown devices related to it).The > transfer speed with dd bs=512 is almost 800KB/s, which I think is > fairly fast. bs=512 is a quite ineffective for any modern storage. With bigger bs you should get much bigger performance I think. > I'm testing it with a transcend 2G mini SD card, with SD-miniSD adapter. > I'm using 7-STABLE, so I changed kproc_create to kthread_create to > compile the mmcsd module. > There are errors, but the transfer completed normally. > sdhci0-slot0: Card inserted > mmc0: on sdhci0 > sdhci0-slot0: Command error 1 (opcode 8 arg 426 flags 101 dlen 0 dflags 0) > sdhci0-slot0: Command error 1 (opcode 8 arg 426 flags 101 dlen 0 dflags 0) This is not a problem. It means that your card does not support SDHC CMD8 command as it is not an SDHC actually. > mmcsd0: 1950MB at mmc0 16MHz/4bit It means that top performance of this card on this controller is about 8MB/s. I expect that you may reach it on read operations if your card is not very old. -- Alexander Motin From webmaster at kibab.com Sun Oct 12 13:12:14 2008 From: webmaster at kibab.com (Ilya Bakulin) Date: Sun Oct 12 13:12:32 2008 Subject: RFC: PCI SD host controller driver & mmc/mmcsd modules improvements In-Reply-To: <20081008113848.c9b44354.webmaster@kibab.com> References: <48DEA8E7.2080503@FreeBSD.org> <5f67a8c40810052226k3070a11ah463a819c677f6307@mail.gmail.com> <20081008113848.c9b44354.webmaster@kibab.com> Message-ID: <20081012171201.da4da754.webmaster@kibab.com> Skipped content of type multipart/mixed-------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-mobile/attachments/20081012/a8eca561/attachment.pgp From edwinlculp at gmail.com Sun Oct 12 13:14:14 2008 From: edwinlculp at gmail.com (Edwin L. Culp W.) Date: Sun Oct 12 13:14:21 2008 Subject: I lost ath0 support on current sometime between Sept 20 and Sept 26. In-Reply-To: <7affaed60810100658k354550abs2754a2c1ea1b0958@mail.gmail.com> References: <7affaed60810091639n2714fae1mbd34048bc8be89c3@mail.gmail.com> <48EEBC1B.1040003@freebsd.org> <7affaed60810100658k354550abs2754a2c1ea1b0958@mail.gmail.com> Message-ID: <7affaed60810120614l79670870t7e4914615094056f@mail.gmail.com> On Fri, Oct 10, 2008 at 8:58 AM, Edwin L. Culp W. wrote: > On Thu, Oct 9, 2008 at 9:21 PM, Sam Leffler wrote: >> Edwin L. Culp W. wrote: >>> >>> I started this thread on current but I lost it to Ashish Shukla so I'm >>> going to try here and see if I can explain it better and solve this >>> strange issue. >>> >>> I was happily using Sam's ath_hal-20080528 patch and IIRC the >>> committed ath_hal fixes until Sept 20. I didn't build another new >>> kernel until Sept 26. From that date on I have been unable to get it >>> working. The sept 20 kernel still works great. I'm using it to send >>> this email. I don't have to change anything I just start kernel.old >>> and run it rather than today's kernel that has no problems other than >>> bringing up ath0/wlan0. >>> >>> Some general info for both kernels that I can find no important >>> differences and now really doubt that the problem is hal_ath but >>> something else that has changed and is causing the problem. I have >>> thought of dhcp, ifconfig, ??? The general information for both >>> follows: >>> >>> >>> FreeBSD 8.0-CURRENT #50: Thu Oct 9 05:27:41 CDT 2008 >>> root@ed.local.net.mx:/usr/obj/usr/src/sys/ENCONTACTO >>> >>> rc.conf that doesn't change and works for sept 20 kernel but not todays: >>> >>> wlans_ath0=wlan0 >>> ifconfig_wlan0="DHCP ssid virus wepmode on wepkey 1:0x2373FE9515 >>> weptxkey 1" >>> >>> ifconfig with todays kernel for ath0 and wlan0: >>> >>> >>> ath0: flags=8843 metric 0 mtu 2290 >>> ether 00:1d:d9:27:5c:e5 >>> media: IEEE 802.11 Wireless Ethernet autoselect mode 11g >>> status: associated >>> wlan0: flags=8843 metric 0 mtu >>> 1500 >>> ether 00:1d:d9:27:5c:e5 >>> media: IEEE 802.11 Wireless Ethernet OFDM/48Mbps mode 11g >>> status: associated >>> ssid virus channel 6 (2437 Mhz 11g) bssid 00:1d:7e:51:e1:4d >>> regdomain 101 indoor ecm authmode OPEN privacy ON deftxkey 1 >>> wepkey 1:40-bit txpower 16 bmiss 7 scanvalid 450 bgscan >>> bgscanintvl 300 bgscanidle 250 roam:rssi 7 roam:rate 5 protmode CTS >>> wme burst roaming MANUAL >>> >>> The part of the dmesg that show ath0 and wlan0 with hal >>> >>> ath_hal: 0.10.5.10 (AR5210, AR5211, AR5212, AR5416, RF5111, RF5112, >>> RF2413, RF5413, RF2133, RF2425, RF2417) >>> >>> ath0: mem 0xd0400000-0xd040ffff irq 19 at device 0.0 >>> on pci5 >>> ath0: [ITHREAD] >>> ath0: WARNING: using obsoleted if_watchdog interface >>> ath0: mac 14.2 phy 7.0 radio 10.2 >>> >>> >>> ------------------------------------------------------------------------------------------------ >>> >>> The same information for the Sept 20 kernel. >>> >>> FreeBSD ed.local.net.mx 8.0-CURRENT FreeBSD 8.0-CURRENT #34: Sat Sep >>> 20 05:37:05 CDT 2008 >>> root@ed.local.net.mx:/usr/obj/usr/src/sys/ENCONTACTO i386 >>> >>> rc.conf is the same. >>> >>> If config for Sept 20 kernel: >>> >>> ath0: flags=8843 metric 0 mtu 2290 >>> ether 00:1d:d9:27:5c:e5 >>> media: IEEE 802.11 Wireless Ethernet autoselect mode 11g >>> status: associated >>> wlan0: flags=8843 metric 0 mtu >>> 1500 >>> ether 00:1d:d9:27:5c:e5 >>> inet 172.16.0.7 netmask 0xffffff00 broadcast 172.16.0.255 >>> media: IEEE 802.11 Wireless Ethernet DS/5.5Mbps mode 11g >>> status: associated >>> ssid virus channel 6 (2437 Mhz 11g) bssid 00:1d:7e:51:e1:4d >>> regdomain 101 indoor ecm authmode OPEN privacy ON deftxkey 1 >>> wepkey 1:40-bit txpower 16 bmiss 7 scanvalid 60 bgscan bgscanintvl >>> 300 >>> bgscanidle 250 roam:rssi 7 roam:rate 5 protmode CTS wme burst >>> >>> Same parts of the dmesg form Sept 20 kernel. >>> >>> ath_hal: 0.10.5.10 (AR5210, AR5211, AR5212, AR5416, RF5111, RF5112, >>> RF2413, RF5413, RF2133, RF2425, RF2417) >>> >>> ath0: mem 0xd0400000-0xd040ffff irq 19 at device 0.0 >>> on pci5 >>> ath0: [ITHREAD] >>> ath0: WARNING: using obsoleted if_watchdog interface >>> ath0: mac 14.2 phy 7.0 radio 10.2 >>> >> >> Does it work w/o WEP? Do you any crypto errors show up in wlanstats and/or >> athstats output? >> >> Sam > > I haven't tried it and I should have since I'm pretty sure that it is > something external. I've got travel in a few minutes but I'll do it > tomorrow on my AP at home to not interrupt anyone. Good morning, Sam. I just disabled encryption on my router and changed my rc.conf to ifconfig_wlan0="DHCP ssid virus2" and as you probably knew, it works flawlessly. Now I have to ask, what I can do about wep that works on my Sept 20 and earlier kernels and doesn't work on my recent kernels? Thanks, ed P.S. uname -a ifconfig: wlan0: flags=8843 metric 0 mtu 1500 ether 00:1d:d9:27:5c:e5 inet 192.168.1.65 netmask 0xffffff00 broadcast 192.168.1.255 media: IEEE 802.11 Wireless Ethernet OFDM/48Mbps mode 11g status: associated ssid virus2 channel 6 (2437 Mhz 11g) bssid 00:14:95:ec:95:51 regdomain 101 indoor ecm authmode OPEN privacy OFF txpower 16 bmiss 7 scanvalid 60 bgscan bgscanintvl 300 bgscanidle 250 roam:rssi 7 roam:rate 5 protmode CTS wme burst uname FreeBSD ed.local.net.mx 8.0-CURRENT FreeBSD 8.0-CURRENT #50: Thu Oct 9 05:27:41 CDT 2008 root@ed.local.net.mx:/usr/obj/usr/src/sys/ENCONTACTO i386 Building a new kernel with todays sources now. From henry.hu.sh at gmail.com Sun Oct 12 13:46:16 2008 From: henry.hu.sh at gmail.com (Henry Hu) Date: Sun Oct 12 13:46:27 2008 Subject: RFC: PCI SD host controller driver & mmc/mmcsd modules improvements In-Reply-To: <48F1E423.1000606@FreeBSD.org> References: <48DEA8E7.2080503@FreeBSD.org> <48F11087.20403@FreeBSD.org> <53a1e0710810120339g66180c86n239c35bf2abf9467@mail.gmail.com> <48F1E423.1000606@FreeBSD.org> Message-ID: <53a1e0710810120646g36925f6fjafd3cfe92e485139@mail.gmail.com> Just as you said, increasing bs leads to much better performance. > sudo dd if=/dev/mmcsd0 of=/dev/null bs=64k ^C279+0 records in 279+0 records out 18284544 bytes transferred in 2.315142 secs (7897807 bytes/sec) > sudo dd if=/dev/mmcsd0 of=/dev/null bs=64k ^C465+0 records in 465+0 records out 30474240 bytes transferred in 3.892817 secs (7828326 bytes/sec) > sudo dd if=/dev/mmcsd0 of=/dev/null bs=64k ^C559+0 records in 559+0 records out 36634624 bytes transferred in 4.967053 secs (7375525 bytes/sec) > sudo dd if=/dev/mmcsd0 of=/dev/null bs=128k ^C146+0 records in 146+0 records out 19136512 bytes transferred in 2.332850 secs (8203062 bytes/sec) > sudo dd if=/dev/mmcsd0 of=/dev/null bs=1024k ^C28+0 records in 28+0 records out 29360128 bytes transferred in 3.765376 secs (7797396 bytes/sec) > sudo dd if=/dev/mmcsd0 of=/dev/null bs=512k ^C75+0 records in 75+0 records out 39321600 bytes transferred in 4.945109 secs (7951615 bytes/sec) > sudo dd if=/dev/mmcsd0 of=/dev/null bs=256k ^C179+0 records in 179+0 records out 46923776 bytes transferred in 5.673761 secs (8270313 bytes/sec) > sudo dd if=/dev/mmcsd0 of=/dev/null bs=128k ^C247+0 records in 247+0 records out 32374784 bytes transferred in 4.377884 secs (7395076 bytes/sec) 2008/10/12 Alexander Motin : > Henry Hu wrote: >> >> I've tried your driver, and it worked fine at my laptop. >> I have a Samsung R70, with built-in SD card reader(in fact, it can >> read many cards, and there are 4 unknown devices related to it).The >> transfer speed with dd bs=512 is almost 800KB/s, which I think is >> fairly fast. > > bs=512 is a quite ineffective for any modern storage. With bigger bs you > should get much bigger performance I think. > >> I'm testing it with a transcend 2G mini SD card, with SD-miniSD adapter. >> I'm using 7-STABLE, so I changed kproc_create to kthread_create to >> compile the mmcsd module. >> There are errors, but the transfer completed normally. >> sdhci0-slot0: Card inserted >> mmc0: on sdhci0 >> sdhci0-slot0: Command error 1 (opcode 8 arg 426 flags 101 dlen 0 dflags 0) >> sdhci0-slot0: Command error 1 (opcode 8 arg 426 flags 101 dlen 0 dflags 0) > > This is not a problem. It means that your card does not support SDHC CMD8 > command as it is not an SDHC actually. > >> mmcsd0: 1950MB at mmc0 16MHz/4bit > > It means that top performance of this card on this controller is about > 8MB/s. I expect that you may reach it on read operations if your card is not > very old. > > -- > Alexander Motin > From stupendoussteve at hotmail.com Sun Oct 12 17:42:56 2008 From: stupendoussteve at hotmail.com (Steven Susbauer) Date: Sun Oct 12 17:43:03 2008 Subject: Xircom/cardbus in 7-RELEASE Message-ID: Good day, I posted to questions but did not get any response, I was told to try here. I appear to be experiencing a problem that is similar to http://unix.derkeiler.com/Mailing-Lists/FreeBSD/current/2006-10/msg00226.html - Unfortunately in that thread it doesn't appear to have been resolved. When I am using 6.3-RELEASE, my IBM EtherJet 10/100 cardbus card works fine. On boot I receive: cbb0: mem 0x20821000-0x20821fff at device 2.0 on pci0 cardbus0: on cbb0 pccard0: <16-bit PCCard bus> on cbb0 cbb1: mem 0x20820000-0x20820fff at device 2.1 on pci0 cardbus1: on cbb1 pccard1: <16-bit PCCard bus> on cbb1 cbb: Unable to map IRQ... device_attach: cbb1 attach returned 12 .... dc0: port 0x1000-0x107f mem 0x88000000-0x880007ff,0x88001000-0x880017ff irq 11 at device 0.0 on cardbus0 miibus0: on dc0 tdkphy0: on miibus0 tdkphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto dc0: Ethernet address: 00:06:29:xx:xx:xx On 7-RELEASE the ports are recognized still, but I receive: cardbus0: Unable to allocate resource to read CIS. cardbus0: Unable to allocate resources for CIS dc0: port 0x1000-0x107f mem 0x88000000-0x880007ff, 0x88001000-0x880017ff irq 11 at device 0.0 on cardbus0 dc0: No station address in CIS! device_attach: dc0 attach returned 6 From jhugo at meraka.csir.co.za Sun Oct 12 21:51:17 2008 From: jhugo at meraka.csir.co.za (Johann Hugo) Date: Sun Oct 12 21:51:23 2008 Subject: I lost ath0 support on current sometime between Sept 20 and Sept 26. In-Reply-To: <7affaed60810120614l79670870t7e4914615094056f@mail.gmail.com> References: <7affaed60810091639n2714fae1mbd34048bc8be89c3@mail.gmail.com> <7affaed60810100658k354550abs2754a2c1ea1b0958@mail.gmail.com> <7affaed60810120614l79670870t7e4914615094056f@mail.gmail.com> Message-ID: <200810122351.13564.jhugo@meraka.csir.co.za> On Sunday 12 October 2008, Edwin L. Culp W. wrote: > On Fri, Oct 10, 2008 at 8:58 AM, Edwin L. Culp W. wrote: > > On Thu, Oct 9, 2008 at 9:21 PM, Sam Leffler wrote: > >> Edwin L. Culp W. wrote: > >>> I started this thread on current but I lost it to Ashish Shukla so I'm > >>> going to try here and see if I can explain it better and solve this > >>> strange issue. > >>> > >>> I was happily using Sam's ath_hal-20080528 patch and IIRC the > >>> committed ath_hal fixes until Sept 20. I didn't build another new > >>> kernel until Sept 26. From that date on I have been unable to get it > >>> working. The sept 20 kernel still works great. I'm using it to send > >>> this email. I don't have to change anything I just start kernel.old > >>> and run it rather than today's kernel that has no problems other than > >>> bringing up ath0/wlan0. > >>> > >>> Some general info for both kernels that I can find no important > >>> differences and now really doubt that the problem is hal_ath but > >>> something else that has changed and is causing the problem. I have > >>> thought of dhcp, ifconfig, ??? The general information for both > >>> follows: > >>> > >>> > >>> FreeBSD 8.0-CURRENT #50: Thu Oct 9 05:27:41 CDT 2008 > >>> root@ed.local.net.mx:/usr/obj/usr/src/sys/ENCONTACTO > >>> > >>> rc.conf that doesn't change and works for sept 20 kernel but not > >>> todays: > >>> > >>> wlans_ath0=wlan0 > >>> ifconfig_wlan0="DHCP ssid virus wepmode on wepkey 1:0x2373FE9515 > >>> weptxkey 1" > >>> > >>> ifconfig with todays kernel for ath0 and wlan0: > >>> > >>> > >>> ath0: flags=8843 metric 0 mtu > >>> 2290 ether 00:1d:d9:27:5c:e5 > >>> media: IEEE 802.11 Wireless Ethernet autoselect mode 11g > >>> status: associated > >>> wlan0: flags=8843 metric 0 mtu > >>> 1500 > >>> ether 00:1d:d9:27:5c:e5 > >>> media: IEEE 802.11 Wireless Ethernet OFDM/48Mbps mode 11g > >>> status: associated > >>> ssid virus channel 6 (2437 Mhz 11g) bssid 00:1d:7e:51:e1:4d > >>> regdomain 101 indoor ecm authmode OPEN privacy ON deftxkey 1 > >>> wepkey 1:40-bit txpower 16 bmiss 7 scanvalid 450 bgscan > >>> bgscanintvl 300 bgscanidle 250 roam:rssi 7 roam:rate 5 protmode > >>> CTS wme burst roaming MANUAL > >>> > >>> The part of the dmesg that show ath0 and wlan0 with hal > >>> > >>> ath_hal: 0.10.5.10 (AR5210, AR5211, AR5212, AR5416, RF5111, RF5112, > >>> RF2413, RF5413, RF2133, RF2425, RF2417) > >>> > >>> ath0: mem 0xd0400000-0xd040ffff irq 19 at device > >>> 0.0 on pci5 > >>> ath0: [ITHREAD] > >>> ath0: WARNING: using obsoleted if_watchdog interface > >>> ath0: mac 14.2 phy 7.0 radio 10.2 > >>> > >>> > >>> ----------------------------------------------------------------------- > >>>------------------------- > >>> > >>> The same information for the Sept 20 kernel. > >>> > >>> FreeBSD ed.local.net.mx 8.0-CURRENT FreeBSD 8.0-CURRENT #34: Sat Sep > >>> 20 05:37:05 CDT 2008 > >>> root@ed.local.net.mx:/usr/obj/usr/src/sys/ENCONTACTO i386 > >>> > >>> rc.conf is the same. > >>> > >>> If config for Sept 20 kernel: > >>> > >>> ath0: flags=8843 metric 0 mtu > >>> 2290 ether 00:1d:d9:27:5c:e5 > >>> media: IEEE 802.11 Wireless Ethernet autoselect mode 11g > >>> status: associated > >>> wlan0: flags=8843 metric 0 mtu > >>> 1500 > >>> ether 00:1d:d9:27:5c:e5 > >>> inet 172.16.0.7 netmask 0xffffff00 broadcast 172.16.0.255 > >>> media: IEEE 802.11 Wireless Ethernet DS/5.5Mbps mode 11g > >>> status: associated > >>> ssid virus channel 6 (2437 Mhz 11g) bssid 00:1d:7e:51:e1:4d > >>> regdomain 101 indoor ecm authmode OPEN privacy ON deftxkey 1 > >>> wepkey 1:40-bit txpower 16 bmiss 7 scanvalid 60 bgscan > >>> bgscanintvl 300 > >>> bgscanidle 250 roam:rssi 7 roam:rate 5 protmode CTS wme burst > >>> > >>> Same parts of the dmesg form Sept 20 kernel. > >>> > >>> ath_hal: 0.10.5.10 (AR5210, AR5211, AR5212, AR5416, RF5111, RF5112, > >>> RF2413, RF5413, RF2133, RF2425, RF2417) > >>> > >>> ath0: mem 0xd0400000-0xd040ffff irq 19 at device > >>> 0.0 on pci5 > >>> ath0: [ITHREAD] > >>> ath0: WARNING: using obsoleted if_watchdog interface > >>> ath0: mac 14.2 phy 7.0 radio 10.2 > >> > >> Does it work w/o WEP? Do you any crypto errors show up in wlanstats > >> and/or athstats output? > >> > >> Sam > > > > I haven't tried it and I should have since I'm pretty sure that it is > > something external. I've got travel in a few minutes but I'll do it > > tomorrow on my AP at home to not interrupt anyone. > > Good morning, Sam. I just disabled encryption on my router and > changed my rc.conf to > ifconfig_wlan0="DHCP ssid virus2" > and as you probably knew, it works flawlessly. > > Now I have to ask, what I can do about wep that works on my Sept 20 > and earlier kernels and doesn't work on my recent kernels? > > Thanks, > > ed I don't know it this is related, but something changed with the WEP-key index. On my EeePC I had to change my wpa_supplicant.conf file to use wep_tx_keyidx=0 and wep_key0=mywepkey before I could get it to work. I the past it always worked with wep_tx_keyidx=1 and wep_key1=xxxxx. The funny thing is that ifconfig reports it as deftxkey 1 and wepkey 1 if I use index 0 in wpa_supplicant and ifconfig will report deftxkey 2 and wepkey 2 if I use index 1 in wpa_supplicant.conf Johann From sam at freebsd.org Mon Oct 13 00:07:58 2008 From: sam at freebsd.org (Sam Leffler) Date: Mon Oct 13 00:08:04 2008 Subject: I lost ath0 support on current sometime between Sept 20 and Sept 26. In-Reply-To: <200810122351.13564.jhugo@meraka.csir.co.za> References: <7affaed60810091639n2714fae1mbd34048bc8be89c3@mail.gmail.com> <7affaed60810100658k354550abs2754a2c1ea1b0958@mail.gmail.com> <7affaed60810120614l79670870t7e4914615094056f@mail.gmail.com> <200810122351.13564.jhugo@meraka.csir.co.za> Message-ID: <48F2915B.6090507@freebsd.org> Johann Hugo wrote: > On Sunday 12 October 2008, Edwin L. Culp W. wrote: > >> On Fri, Oct 10, 2008 at 8:58 AM, Edwin L. Culp W. >> > wrote: > >>> On Thu, Oct 9, 2008 at 9:21 PM, Sam Leffler wrote: >>> >>>> Edwin L. Culp W. wrote: >>>> >>>>> I started this thread on current but I lost it to Ashish Shukla so I'm >>>>> going to try here and see if I can explain it better and solve this >>>>> strange issue. >>>>> >>>>> I was happily using Sam's ath_hal-20080528 patch and IIRC the >>>>> committed ath_hal fixes until Sept 20. I didn't build another new >>>>> kernel until Sept 26. From that date on I have been unable to get it >>>>> working. The sept 20 kernel still works great. I'm using it to send >>>>> this email. I don't have to change anything I just start kernel.old >>>>> and run it rather than today's kernel that has no problems other than >>>>> bringing up ath0/wlan0. >>>>> >>>>> Some general info for both kernels that I can find no important >>>>> differences and now really doubt that the problem is hal_ath but >>>>> something else that has changed and is causing the problem. I have >>>>> thought of dhcp, ifconfig, ??? The general information for both >>>>> follows: >>>>> >>>>> >>>>> FreeBSD 8.0-CURRENT #50: Thu Oct 9 05:27:41 CDT 2008 >>>>> root@ed.local.net.mx:/usr/obj/usr/src/sys/ENCONTACTO >>>>> >>>>> rc.conf that doesn't change and works for sept 20 kernel but not >>>>> todays: >>>>> >>>>> wlans_ath0=wlan0 >>>>> ifconfig_wlan0="DHCP ssid virus wepmode on wepkey 1:0x2373FE9515 >>>>> weptxkey 1" >>>>> >>>>> ifconfig with todays kernel for ath0 and wlan0: >>>>> >>>>> >>>>> ath0: flags=8843 metric 0 mtu >>>>> 2290 ether 00:1d:d9:27:5c:e5 >>>>> media: IEEE 802.11 Wireless Ethernet autoselect mode 11g >>>>> status: associated >>>>> wlan0: flags=8843 metric 0 mtu >>>>> 1500 >>>>> ether 00:1d:d9:27:5c:e5 >>>>> media: IEEE 802.11 Wireless Ethernet OFDM/48Mbps mode 11g >>>>> status: associated >>>>> ssid virus channel 6 (2437 Mhz 11g) bssid 00:1d:7e:51:e1:4d >>>>> regdomain 101 indoor ecm authmode OPEN privacy ON deftxkey 1 >>>>> wepkey 1:40-bit txpower 16 bmiss 7 scanvalid 450 bgscan >>>>> bgscanintvl 300 bgscanidle 250 roam:rssi 7 roam:rate 5 protmode >>>>> CTS wme burst roaming MANUAL >>>>> >>>>> The part of the dmesg that show ath0 and wlan0 with hal >>>>> >>>>> ath_hal: 0.10.5.10 (AR5210, AR5211, AR5212, AR5416, RF5111, RF5112, >>>>> RF2413, RF5413, RF2133, RF2425, RF2417) >>>>> >>>>> ath0: mem 0xd0400000-0xd040ffff irq 19 at device >>>>> 0.0 on pci5 >>>>> ath0: [ITHREAD] >>>>> ath0: WARNING: using obsoleted if_watchdog interface >>>>> ath0: mac 14.2 phy 7.0 radio 10.2 >>>>> >>>>> >>>>> ----------------------------------------------------------------------- >>>>> ------------------------- >>>>> >>>>> The same information for the Sept 20 kernel. >>>>> >>>>> FreeBSD ed.local.net.mx 8.0-CURRENT FreeBSD 8.0-CURRENT #34: Sat Sep >>>>> 20 05:37:05 CDT 2008 >>>>> root@ed.local.net.mx:/usr/obj/usr/src/sys/ENCONTACTO i386 >>>>> >>>>> rc.conf is the same. >>>>> >>>>> If config for Sept 20 kernel: >>>>> >>>>> ath0: flags=8843 metric 0 mtu >>>>> 2290 ether 00:1d:d9:27:5c:e5 >>>>> media: IEEE 802.11 Wireless Ethernet autoselect mode 11g >>>>> status: associated >>>>> wlan0: flags=8843 metric 0 mtu >>>>> 1500 >>>>> ether 00:1d:d9:27:5c:e5 >>>>> inet 172.16.0.7 netmask 0xffffff00 broadcast 172.16.0.255 >>>>> media: IEEE 802.11 Wireless Ethernet DS/5.5Mbps mode 11g >>>>> status: associated >>>>> ssid virus channel 6 (2437 Mhz 11g) bssid 00:1d:7e:51:e1:4d >>>>> regdomain 101 indoor ecm authmode OPEN privacy ON deftxkey 1 >>>>> wepkey 1:40-bit txpower 16 bmiss 7 scanvalid 60 bgscan >>>>> bgscanintvl 300 >>>>> bgscanidle 250 roam:rssi 7 roam:rate 5 protmode CTS wme burst >>>>> >>>>> Same parts of the dmesg form Sept 20 kernel. >>>>> >>>>> ath_hal: 0.10.5.10 (AR5210, AR5211, AR5212, AR5416, RF5111, RF5112, >>>>> RF2413, RF5413, RF2133, RF2425, RF2417) >>>>> >>>>> ath0: mem 0xd0400000-0xd040ffff irq 19 at device >>>>> 0.0 on pci5 >>>>> ath0: [ITHREAD] >>>>> ath0: WARNING: using obsoleted if_watchdog interface >>>>> ath0: mac 14.2 phy 7.0 radio 10.2 >>>>> >>>> Does it work w/o WEP? Do you any crypto errors show up in wlanstats >>>> and/or athstats output? >>>> >>>> Sam >>>> >>> I haven't tried it and I should have since I'm pretty sure that it is >>> something external. I've got travel in a few minutes but I'll do it >>> tomorrow on my AP at home to not interrupt anyone. >>> >> Good morning, Sam. I just disabled encryption on my router and >> changed my rc.conf to >> ifconfig_wlan0="DHCP ssid virus2" >> and as you probably knew, it works flawlessly. >> >> Now I have to ask, what I can do about wep that works on my Sept 20 >> and earlier kernels and doesn't work on my recent kernels? >> >> Thanks, >> >> ed >> > > I don't know it this is related, but something changed with the WEP-key index. > On my EeePC I had to change my wpa_supplicant.conf file to use > wep_tx_keyidx=0 and wep_key0=mywepkey before I could get it to work. > I the past it always worked with wep_tx_keyidx=1 and wep_key1=xxxxx. > > The funny thing is that ifconfig reports it as deftxkey 1 and wepkey 1 if I > use index 0 in wpa_supplicant and ifconfig will report deftxkey 2 and wepkey > 2 if I use index 1 in wpa_supplicant.conf > I believe it has always been true that key indices reported by ifconfig are in the rage [1..4] while wpa_supplicant key indices specified in the config file are [0..3]. I don't recall anything changing in that area for a long time but I did make changes to the net80211 crypto code around that time. Sam From edwinlculp at gmail.com Mon Oct 13 03:09:15 2008 From: edwinlculp at gmail.com (Edwin L. Culp W.) Date: Mon Oct 13 03:09:22 2008 Subject: I lost ath0 support on current sometime between Sept 20 and Sept 26. In-Reply-To: <200810122351.13564.jhugo@meraka.csir.co.za> References: <7affaed60810091639n2714fae1mbd34048bc8be89c3@mail.gmail.com> <7affaed60810100658k354550abs2754a2c1ea1b0958@mail.gmail.com> <7affaed60810120614l79670870t7e4914615094056f@mail.gmail.com> <200810122351.13564.jhugo@meraka.csir.co.za> Message-ID: <7affaed60810122009p6fdfec8dl90060fe85e638093@mail.gmail.com> On Sun, Oct 12, 2008 at 4:51 PM, Johann Hugo wrote: > On Sunday 12 October 2008, Edwin L. Culp W. wrote: >> On Fri, Oct 10, 2008 at 8:58 AM, Edwin L. Culp W. > wrote: >> > On Thu, Oct 9, 2008 at 9:21 PM, Sam Leffler wrote: >> >> Edwin L. Culp W. wrote: >> >>> I started this thread on current but I lost it to Ashish Shukla so I'm >> >>> going to try here and see if I can explain it better and solve this >> >>> strange issue. >> >>> >> >>> I was happily using Sam's ath_hal-20080528 patch and IIRC the >> >>> committed ath_hal fixes until Sept 20. I didn't build another new >> >>> kernel until Sept 26. From that date on I have been unable to get it >> >>> working. The sept 20 kernel still works great. I'm using it to send >> >>> this email. I don't have to change anything I just start kernel.old >> >>> and run it rather than today's kernel that has no problems other than >> >>> bringing up ath0/wlan0. >> >>> >> >>> Some general info for both kernels that I can find no important >> >>> differences and now really doubt that the problem is hal_ath but >> >>> something else that has changed and is causing the problem. I have >> >>> thought of dhcp, ifconfig, ??? The general information for both >> >>> follows: >> >>> >> >>> >> >>> FreeBSD 8.0-CURRENT #50: Thu Oct 9 05:27:41 CDT 2008 >> >>> root@ed.local.net.mx:/usr/obj/usr/src/sys/ENCONTACTO >> >>> >> >>> rc.conf that doesn't change and works for sept 20 kernel but not >> >>> todays: >> >>> >> >>> wlans_ath0=wlan0 >> >>> ifconfig_wlan0="DHCP ssid virus wepmode on wepkey 1:0x2373FE9515 >> >>> weptxkey 1" >> >>> >> >>> ifconfig with todays kernel for ath0 and wlan0: >> >>> >> >>> >> >>> ath0: flags=8843 metric 0 mtu >> >>> 2290 ether 00:1d:d9:27:5c:e5 >> >>> media: IEEE 802.11 Wireless Ethernet autoselect mode 11g >> >>> status: associated >> >>> wlan0: flags=8843 metric 0 mtu >> >>> 1500 >> >>> ether 00:1d:d9:27:5c:e5 >> >>> media: IEEE 802.11 Wireless Ethernet OFDM/48Mbps mode 11g >> >>> status: associated >> >>> ssid virus channel 6 (2437 Mhz 11g) bssid 00:1d:7e:51:e1:4d >> >>> regdomain 101 indoor ecm authmode OPEN privacy ON deftxkey 1 >> >>> wepkey 1:40-bit txpower 16 bmiss 7 scanvalid 450 bgscan >> >>> bgscanintvl 300 bgscanidle 250 roam:rssi 7 roam:rate 5 protmode >> >>> CTS wme burst roaming MANUAL >> >>> >> >>> The part of the dmesg that show ath0 and wlan0 with hal >> >>> >> >>> ath_hal: 0.10.5.10 (AR5210, AR5211, AR5212, AR5416, RF5111, RF5112, >> >>> RF2413, RF5413, RF2133, RF2425, RF2417) >> >>> >> >>> ath0: mem 0xd0400000-0xd040ffff irq 19 at device >> >>> 0.0 on pci5 >> >>> ath0: [ITHREAD] >> >>> ath0: WARNING: using obsoleted if_watchdog interface >> >>> ath0: mac 14.2 phy 7.0 radio 10.2 >> >>> >> >>> >> >>> ----------------------------------------------------------------------- >> >>>------------------------- >> >>> >> >>> The same information for the Sept 20 kernel. >> >>> >> >>> FreeBSD ed.local.net.mx 8.0-CURRENT FreeBSD 8.0-CURRENT #34: Sat Sep >> >>> 20 05:37:05 CDT 2008 >> >>> root@ed.local.net.mx:/usr/obj/usr/src/sys/ENCONTACTO i386 >> >>> >> >>> rc.conf is the same. >> >>> >> >>> If config for Sept 20 kernel: >> >>> >> >>> ath0: flags=8843 metric 0 mtu >> >>> 2290 ether 00:1d:d9:27:5c:e5 >> >>> media: IEEE 802.11 Wireless Ethernet autoselect mode 11g >> >>> status: associated >> >>> wlan0: flags=8843 metric 0 mtu >> >>> 1500 >> >>> ether 00:1d:d9:27:5c:e5 >> >>> inet 172.16.0.7 netmask 0xffffff00 broadcast 172.16.0.255 >> >>> media: IEEE 802.11 Wireless Ethernet DS/5.5Mbps mode 11g >> >>> status: associated >> >>> ssid virus channel 6 (2437 Mhz 11g) bssid 00:1d:7e:51:e1:4d >> >>> regdomain 101 indoor ecm authmode OPEN privacy ON deftxkey 1 >> >>> wepkey 1:40-bit txpower 16 bmiss 7 scanvalid 60 bgscan >> >>> bgscanintvl 300 >> >>> bgscanidle 250 roam:rssi 7 roam:rate 5 protmode CTS wme burst >> >>> >> >>> Same parts of the dmesg form Sept 20 kernel. >> >>> >> >>> ath_hal: 0.10.5.10 (AR5210, AR5211, AR5212, AR5416, RF5111, RF5112, >> >>> RF2413, RF5413, RF2133, RF2425, RF2417) >> >>> >> >>> ath0: mem 0xd0400000-0xd040ffff irq 19 at device >> >>> 0.0 on pci5 >> >>> ath0: [ITHREAD] >> >>> ath0: WARNING: using obsoleted if_watchdog interface >> >>> ath0: mac 14.2 phy 7.0 radio 10.2 >> >> >> >> Does it work w/o WEP? Do you any crypto errors show up in wlanstats >> >> and/or athstats output? >> >> >> >> Sam >> > >> > I haven't tried it and I should have since I'm pretty sure that it is >> > something external. I've got travel in a few minutes but I'll do it >> > tomorrow on my AP at home to not interrupt anyone. >> >> Good morning, Sam. I just disabled encryption on my router and >> changed my rc.conf to >> ifconfig_wlan0="DHCP ssid virus2" >> and as you probably knew, it works flawlessly. >> >> Now I have to ask, what I can do about wep that works on my Sept 20 >> and earlier kernels and doesn't work on my recent kernels? >> >> Thanks, >> >> ed > > I don't know it this is related, but something changed with the WEP-key index. > On my EeePC I had to change my wpa_supplicant.conf file to use > wep_tx_keyidx=0 and wep_key0=mywepkey before I could get it to work. > I the past it always worked with wep_tx_keyidx=1 and wep_key1=xxxxx. > > The funny thing is that ifconfig reports it as deftxkey 1 and wepkey 1 if I > use index 0 in wpa_supplicant and ifconfig will report deftxkey 2 and wepkey > 2 if I use index 1 in wpa_supplicant.conf Thanks Johann. I just tried it an it didn't seem to do it but it was certainly worth trying. Thanks again, ed From edwinlculp at gmail.com Mon Oct 13 03:12:23 2008 From: edwinlculp at gmail.com (Edwin L. Culp W.) Date: Mon Oct 13 03:13:21 2008 Subject: I lost ath0 support on current sometime between Sept 20 and Sept 26. In-Reply-To: <48F2915B.6090507@freebsd.org> References: <7affaed60810091639n2714fae1mbd34048bc8be89c3@mail.gmail.com> <7affaed60810100658k354550abs2754a2c1ea1b0958@mail.gmail.com> <7affaed60810120614l79670870t7e4914615094056f@mail.gmail.com> <200810122351.13564.jhugo@meraka.csir.co.za> <48F2915B.6090507@freebsd.org> Message-ID: <7affaed60810122012n526929e1j9d38b977a029251e@mail.gmail.com> On Sun, Oct 12, 2008 at 7:07 PM, Sam Leffler wrote: > Johann Hugo wrote: >> >> On Sunday 12 October 2008, Edwin L. Culp W. wrote: >> >>> >>> On Fri, Oct 10, 2008 at 8:58 AM, Edwin L. Culp W. >>> >> >> wrote: >> >>>> >>>> On Thu, Oct 9, 2008 at 9:21 PM, Sam Leffler wrote: >>>> >>>>> >>>>> Edwin L. Culp W. wrote: >>>>> >>>>>> >>>>>> I started this thread on current but I lost it to Ashish Shukla so I'm >>>>>> going to try here and see if I can explain it better and solve this >>>>>> strange issue. >>>>>> >>>>>> I was happily using Sam's ath_hal-20080528 patch and IIRC the >>>>>> committed ath_hal fixes until Sept 20. I didn't build another new >>>>>> kernel until Sept 26. From that date on I have been unable to get it >>>>>> working. The sept 20 kernel still works great. I'm using it to send >>>>>> this email. I don't have to change anything I just start kernel.old >>>>>> and run it rather than today's kernel that has no problems other than >>>>>> bringing up ath0/wlan0. >>>>>> >>>>>> Some general info for both kernels that I can find no important >>>>>> differences and now really doubt that the problem is hal_ath but >>>>>> something else that has changed and is causing the problem. I have >>>>>> thought of dhcp, ifconfig, ??? The general information for both >>>>>> follows: >>>>>> >>>>>> >>>>>> FreeBSD 8.0-CURRENT #50: Thu Oct 9 05:27:41 CDT 2008 >>>>>> root@ed.local.net.mx:/usr/obj/usr/src/sys/ENCONTACTO >>>>>> >>>>>> rc.conf that doesn't change and works for sept 20 kernel but not >>>>>> todays: >>>>>> >>>>>> wlans_ath0=wlan0 >>>>>> ifconfig_wlan0="DHCP ssid virus wepmode on wepkey 1:0x2373FE9515 >>>>>> weptxkey 1" >>>>>> >>>>>> ifconfig with todays kernel for ath0 and wlan0: >>>>>> >>>>>> >>>>>> ath0: flags=8843 metric 0 mtu >>>>>> 2290 ether 00:1d:d9:27:5c:e5 >>>>>> media: IEEE 802.11 Wireless Ethernet autoselect mode 11g >>>>>> status: associated >>>>>> wlan0: flags=8843 metric 0 mtu >>>>>> 1500 >>>>>> ether 00:1d:d9:27:5c:e5 >>>>>> media: IEEE 802.11 Wireless Ethernet OFDM/48Mbps mode 11g >>>>>> status: associated >>>>>> ssid virus channel 6 (2437 Mhz 11g) bssid 00:1d:7e:51:e1:4d >>>>>> regdomain 101 indoor ecm authmode OPEN privacy ON deftxkey 1 >>>>>> wepkey 1:40-bit txpower 16 bmiss 7 scanvalid 450 bgscan >>>>>> bgscanintvl 300 bgscanidle 250 roam:rssi 7 roam:rate 5 protmode >>>>>> CTS wme burst roaming MANUAL >>>>>> >>>>>> The part of the dmesg that show ath0 and wlan0 with hal >>>>>> >>>>>> ath_hal: 0.10.5.10 (AR5210, AR5211, AR5212, AR5416, RF5111, RF5112, >>>>>> RF2413, RF5413, RF2133, RF2425, RF2417) >>>>>> >>>>>> ath0: mem 0xd0400000-0xd040ffff irq 19 at device >>>>>> 0.0 on pci5 >>>>>> ath0: [ITHREAD] >>>>>> ath0: WARNING: using obsoleted if_watchdog interface >>>>>> ath0: mac 14.2 phy 7.0 radio 10.2 >>>>>> >>>>>> >>>>>> >>>>>> ----------------------------------------------------------------------- >>>>>> ------------------------- >>>>>> >>>>>> The same information for the Sept 20 kernel. >>>>>> >>>>>> FreeBSD ed.local.net.mx 8.0-CURRENT FreeBSD 8.0-CURRENT #34: Sat Sep >>>>>> 20 05:37:05 CDT 2008 >>>>>> root@ed.local.net.mx:/usr/obj/usr/src/sys/ENCONTACTO i386 >>>>>> >>>>>> rc.conf is the same. >>>>>> >>>>>> If config for Sept 20 kernel: >>>>>> >>>>>> ath0: flags=8843 metric 0 mtu >>>>>> 2290 ether 00:1d:d9:27:5c:e5 >>>>>> media: IEEE 802.11 Wireless Ethernet autoselect mode 11g >>>>>> status: associated >>>>>> wlan0: flags=8843 metric 0 mtu >>>>>> 1500 >>>>>> ether 00:1d:d9:27:5c:e5 >>>>>> inet 172.16.0.7 netmask 0xffffff00 broadcast 172.16.0.255 >>>>>> media: IEEE 802.11 Wireless Ethernet DS/5.5Mbps mode 11g >>>>>> status: associated >>>>>> ssid virus channel 6 (2437 Mhz 11g) bssid 00:1d:7e:51:e1:4d >>>>>> regdomain 101 indoor ecm authmode OPEN privacy ON deftxkey 1 >>>>>> wepkey 1:40-bit txpower 16 bmiss 7 scanvalid 60 bgscan >>>>>> bgscanintvl 300 >>>>>> bgscanidle 250 roam:rssi 7 roam:rate 5 protmode CTS wme burst >>>>>> >>>>>> Same parts of the dmesg form Sept 20 kernel. >>>>>> >>>>>> ath_hal: 0.10.5.10 (AR5210, AR5211, AR5212, AR5416, RF5111, RF5112, >>>>>> RF2413, RF5413, RF2133, RF2425, RF2417) >>>>>> >>>>>> ath0: mem 0xd0400000-0xd040ffff irq 19 at device >>>>>> 0.0 on pci5 >>>>>> ath0: [ITHREAD] >>>>>> ath0: WARNING: using obsoleted if_watchdog interface >>>>>> ath0: mac 14.2 phy 7.0 radio 10.2 >>>>>> >>>>> >>>>> Does it work w/o WEP? Do you any crypto errors show up in wlanstats >>>>> and/or athstats output? >>>>> >>>>> Sam >>>>> >>>> >>>> I haven't tried it and I should have since I'm pretty sure that it is >>>> something external. I've got travel in a few minutes but I'll do it >>>> tomorrow on my AP at home to not interrupt anyone. >>>> >>> >>> Good morning, Sam. I just disabled encryption on my router and >>> changed my rc.conf to >>> ifconfig_wlan0="DHCP ssid virus2" >>> and as you probably knew, it works flawlessly. >>> >>> Now I have to ask, what I can do about wep that works on my Sept 20 >>> and earlier kernels and doesn't work on my recent kernels? >>> >>> Thanks, >>> >>> ed >>> >> >> I don't know it this is related, but something changed with the WEP-key >> index. On my EeePC I had to change my wpa_supplicant.conf file to use >> wep_tx_keyidx=0 and wep_key0=mywepkey before I could get it to work. I the >> past it always worked with wep_tx_keyidx=1 and wep_key1=xxxxx. >> >> The funny thing is that ifconfig reports it as deftxkey 1 and wepkey 1 if >> I use index 0 in wpa_supplicant and ifconfig will report deftxkey 2 and >> wepkey 2 if I use index 1 in wpa_supplicant.conf >> > > I believe it has always been true that key indices reported by ifconfig are > in the rage [1..4] while wpa_supplicant key indices specified in the config > file are [0..3]. I don't recall anything changing in that area for a long > time but I did make changes to the net80211 crypto code around that time. > > Sam Thanks, Sam. What worries me is that I seem to be alone with this problem. ed From kline at thought.org Mon Oct 13 05:16:29 2008 From: kline at thought.org (Gary Kline) Date: Mon Oct 13 05:16:36 2008 Subject: ThinkPad 3GHz [[ alledgedly]] In-Reply-To: <20081012171558.V16723@sola.nimnet.asn.au> References: <20081010234314.GA54139@thought.org> <20081011121019.F16723@sola.nimnet.asn.au> <20081011093828.GB79660@thought.org> <20081012171558.V16723@sola.nimnet.asn.au> Message-ID: <20081013051623.GA6708@thought.org> On Sun, Oct 12, 2008 at 06:29:05PM +1100, Ian Smith wrote: > On Sat, 11 Oct 2008, Gary Kline wrote: > > On Sat, Oct 11, 2008 at 01:09:45PM +1100, Ian Smith wrote: > > > On Fri, 10 Oct 2008, Gary Kline wrote: > [..] > > > > I just bought the last pre-Lenovo [?] IBM ThinkPad. I would have > Fair enough. Well I'd never even heard of the G-series before, so it's > news to me. I see they do sport a Mobile P4 from 3.06 up to 3.46GHz. > Best reference I found is: http://www.thinkwiki.org/wiki/Category:G41 > > > Anyway, in case you need some (clearing my throat) "fertilizer", > > I can send you what i've scraped off. > > Thanks all the same, but we have chooks here for that .. > :-) > > That's the one. For years I've done most of my day to day work on a '99 > Compaq 1500c laptop that refuses to die, though its second keyboard is > getting sloppy, but it has the best touchpad I've used including several > more recent laptops including MY daughter's Macs. I'm still not ready > to move to my T23 for day to day work despite its excellent keyboard, > after quite regular attempts at being at least half as productive with > its TrackPoint. People keep telling me that I'll get used to it .. > > Maybe I'll just have to be my own guinea pig, though it's now ~A$100 .. > i Bought some kind of 1980 clicky keyboard: ~$90US. But it's very, very nice. I can hear every key, even tho I watch the keyboad and not the display. [never learned to type]. > > > > I'll poke around on web and on computer. It's heavy for a > > "portable"; 11 lbs to ship, so 8or 9 probably. Did I mention that > > I had the guy upgrad to a 120G drive and 2GB of DDR? > > No, but that's good. Yeah it looks pretty chunky, hardly for the lap, > still it'll use a lot less power than a desktop and likely last forever. LOL, that's the idea. My bare-bones AMD sux up more watts that our old refrigerator.... now that was had to believe until I actually bought a Watt-O-Meter [or whatever]. As soon as I have 7.1 or Ubuntu 8.xx, I can turn off the home-brew and relax knowing that I'm that kmuch greener. > I see options include 3 screens, either Intel or NVidia video, 2 wifi > adaptors (both Atheros based, should work) and 2 Broadcomm LAN adaptors. > I guess it does pay to look on the underside. The DOZE key is there along with several other numbers. Is this the S/N: 99 - A0776 ?? You're right about it not being a brgain l'top. --Well, if you are 6-foot-6... . > > Well do check the IBM/Lenovo site regarding its BIOS and EC versions, > and be sure to install the latest ones, especially regarding ACPI, as > you'll probably want to run powerd to keep it running cool when idle. I'll check this out. Seems like the XP powers down within a few minutes. Maybe I'll try to upgrad the BIOS while I've still got the DOS on there. I've nevver upgraded a BIOS so this will be a new one. --Still waiting to get a new /used 25" CAT5 cable. tHe one from '03 is flakey.-- > > Ah, just downloaded the Hardware Maintenance Manual referenced on that > ThinkWiki page to add to my collection .. gotta love IBM manuals .. and > see that a) some actually went up to 3.73GHz, whee, and b) it has a > floppy drive, which may make BIOS upgrading less tedious, though you may > still need to make floppy/s on a 'doze box (eg this one before wiping?) > No floppy drive with the computer. I did save the one from my 600E. This model runs at 3.06GHz. Should be fast enough since I'll use use part of the memory as a drive. --Floppy/s; have to search around, or beg, borrow, steal! > All in all, it looks like a pretty useful sort of machine, if you're not > planning to cart it around too much. Furthest is over to the branch library. But only if I can find a winch:) > Can I ask what you paid for it? Got it from Quebeck and haven't kept track of the exchange rate. But the original was $600+ $95 for the upgrade. Plus 3-day rush-rush shipping. NO BLOODY IDEA why the shipping had to be so fast.... Anyway around 735Can$. But this one will probably outlive me, so I figure it was a good deal. gary > > cheers, Ian -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org From jhugo at meraka.csir.co.za Mon Oct 13 08:17:16 2008 From: jhugo at meraka.csir.co.za (Johann Hugo) Date: Mon Oct 13 08:17:23 2008 Subject: I lost ath0 support on current sometime between Sept 20 and Sept 26. In-Reply-To: <48F2915B.6090507@freebsd.org> References: <7affaed60810091639n2714fae1mbd34048bc8be89c3@mail.gmail.com> <200810122351.13564.jhugo@meraka.csir.co.za> <48F2915B.6090507@freebsd.org> Message-ID: <200810131017.13166.jhugo@meraka.csir.co.za> On Monday 13 October 2008, Sam Leffler wrote: > Johann Hugo wrote: > > On Sunday 12 October 2008, Edwin L. Culp W. wrote: > >> On Fri, Oct 10, 2008 at 8:58 AM, Edwin L. Culp W. > > > > wrote: > >>> On Thu, Oct 9, 2008 at 9:21 PM, Sam Leffler wrote: > >>>> Edwin L. Culp W. wrote: > >>>>> I started this thread on current but I lost it to Ashish Shukla so > >>>>> I'm going to try here and see if I can explain it better and solve > >>>>> this strange issue. > >>>>> > >>>>> I was happily using Sam's ath_hal-20080528 patch and IIRC the > >>>>> committed ath_hal fixes until Sept 20. I didn't build another new > >>>>> kernel until Sept 26. From that date on I have been unable to get it > >>>>> working. The sept 20 kernel still works great. I'm using it to send > >>>>> this email. I don't have to change anything I just start kernel.old > >>>>> and run it rather than today's kernel that has no problems other than > >>>>> bringing up ath0/wlan0. > >>>>> > >>>>> Some general info for both kernels that I can find no important > >>>>> differences and now really doubt that the problem is hal_ath but > >>>>> something else that has changed and is causing the problem. I have > >>>>> thought of dhcp, ifconfig, ??? The general information for both > >>>>> follows: > >>>>> > >>>>> > >>>>> FreeBSD 8.0-CURRENT #50: Thu Oct 9 05:27:41 CDT 2008 > >>>>> root@ed.local.net.mx:/usr/obj/usr/src/sys/ENCONTACTO > >>>>> > >>>>> rc.conf that doesn't change and works for sept 20 kernel but not > >>>>> todays: > >>>>> > >>>>> wlans_ath0=wlan0 > >>>>> ifconfig_wlan0="DHCP ssid virus wepmode on wepkey 1:0x2373FE9515 > >>>>> weptxkey 1" > >>>>> > >>>>> ifconfig with todays kernel for ath0 and wlan0: > >>>>> > >>>>> > >>>>> ath0: flags=8843 metric 0 mtu > >>>>> 2290 ether 00:1d:d9:27:5c:e5 > >>>>> media: IEEE 802.11 Wireless Ethernet autoselect mode 11g > >>>>> status: associated > >>>>> wlan0: flags=8843 metric 0 > >>>>> mtu 1500 > >>>>> ether 00:1d:d9:27:5c:e5 > >>>>> media: IEEE 802.11 Wireless Ethernet OFDM/48Mbps mode 11g > >>>>> status: associated > >>>>> ssid virus channel 6 (2437 Mhz 11g) bssid 00:1d:7e:51:e1:4d > >>>>> regdomain 101 indoor ecm authmode OPEN privacy ON deftxkey 1 > >>>>> wepkey 1:40-bit txpower 16 bmiss 7 scanvalid 450 bgscan > >>>>> bgscanintvl 300 bgscanidle 250 roam:rssi 7 roam:rate 5 > >>>>> protmode CTS wme burst roaming MANUAL > >>>>> > >>>>> The part of the dmesg that show ath0 and wlan0 with hal > >>>>> > >>>>> ath_hal: 0.10.5.10 (AR5210, AR5211, AR5212, AR5416, RF5111, RF5112, > >>>>> RF2413, RF5413, RF2133, RF2425, RF2417) > >>>>> > >>>>> ath0: mem 0xd0400000-0xd040ffff irq 19 at device > >>>>> 0.0 on pci5 > >>>>> ath0: [ITHREAD] > >>>>> ath0: WARNING: using obsoleted if_watchdog interface > >>>>> ath0: mac 14.2 phy 7.0 radio 10.2 > >>>>> > >>>>> > >>>>> --------------------------------------------------------------------- > >>>>>-- ------------------------- > >>>>> > >>>>> The same information for the Sept 20 kernel. > >>>>> > >>>>> FreeBSD ed.local.net.mx 8.0-CURRENT FreeBSD 8.0-CURRENT #34: Sat Sep > >>>>> 20 05:37:05 CDT 2008 > >>>>> root@ed.local.net.mx:/usr/obj/usr/src/sys/ENCONTACTO i386 > >>>>> > >>>>> rc.conf is the same. > >>>>> > >>>>> If config for Sept 20 kernel: > >>>>> > >>>>> ath0: flags=8843 metric 0 mtu > >>>>> 2290 ether 00:1d:d9:27:5c:e5 > >>>>> media: IEEE 802.11 Wireless Ethernet autoselect mode 11g > >>>>> status: associated > >>>>> wlan0: flags=8843 metric 0 > >>>>> mtu 1500 > >>>>> ether 00:1d:d9:27:5c:e5 > >>>>> inet 172.16.0.7 netmask 0xffffff00 broadcast 172.16.0.255 > >>>>> media: IEEE 802.11 Wireless Ethernet DS/5.5Mbps mode 11g > >>>>> status: associated > >>>>> ssid virus channel 6 (2437 Mhz 11g) bssid 00:1d:7e:51:e1:4d > >>>>> regdomain 101 indoor ecm authmode OPEN privacy ON deftxkey 1 > >>>>> wepkey 1:40-bit txpower 16 bmiss 7 scanvalid 60 bgscan > >>>>> bgscanintvl 300 > >>>>> bgscanidle 250 roam:rssi 7 roam:rate 5 protmode CTS wme burst > >>>>> > >>>>> Same parts of the dmesg form Sept 20 kernel. > >>>>> > >>>>> ath_hal: 0.10.5.10 (AR5210, AR5211, AR5212, AR5416, RF5111, RF5112, > >>>>> RF2413, RF5413, RF2133, RF2425, RF2417) > >>>>> > >>>>> ath0: mem 0xd0400000-0xd040ffff irq 19 at device > >>>>> 0.0 on pci5 > >>>>> ath0: [ITHREAD] > >>>>> ath0: WARNING: using obsoleted if_watchdog interface > >>>>> ath0: mac 14.2 phy 7.0 radio 10.2 > >>>> > >>>> Does it work w/o WEP? Do you any crypto errors show up in wlanstats > >>>> and/or athstats output? > >>>> > >>>> Sam > >>> > >>> I haven't tried it and I should have since I'm pretty sure that it is > >>> something external. I've got travel in a few minutes but I'll do it > >>> tomorrow on my AP at home to not interrupt anyone. > >> > >> Good morning, Sam. I just disabled encryption on my router and > >> changed my rc.conf to > >> ifconfig_wlan0="DHCP ssid virus2" > >> and as you probably knew, it works flawlessly. > >> > >> Now I have to ask, what I can do about wep that works on my Sept 20 > >> and earlier kernels and doesn't work on my recent kernels? > >> > >> Thanks, > >> > >> ed > > > > I don't know it this is related, but something changed with the WEP-key > > index. On my EeePC I had to change my wpa_supplicant.conf file to use > > wep_tx_keyidx=0 and wep_key0=mywepkey before I could get it to work. > > I the past it always worked with wep_tx_keyidx=1 and wep_key1=xxxxx. > > > > The funny thing is that ifconfig reports it as deftxkey 1 and wepkey 1 if > > I use index 0 in wpa_supplicant and ifconfig will report deftxkey 2 and > > wepkey 2 if I use index 1 in wpa_supplicant.conf > > I believe it has always been true that key indices reported by ifconfig > are in the rage [1..4] while wpa_supplicant key indices specified in the > config file are [0..3]. I don't recall anything changing in that area > for a long time but I did make changes to the net80211 crypto code > around that time. > > Sam Your right, I've used an old wpa_supplicant.conf file from another PC with a wrong configuration in it. Johann From patrick.hieber at gmx.net Mon Oct 13 11:34:39 2008 From: patrick.hieber at gmx.net (Patrick Hieber) Date: Mon Oct 13 11:34:46 2008 Subject: Support for HP nx8220 notebook Message-ID: <20081013110756.18610@gmx.net> Hi all, how good is the support in the actual 7.xx for this notebook? Are there any step-by-step installation guide(-s) out there? Are there any improvements since 6.1 relating to this link? http://laptop.bsdgroup.de/freebsd/index.html?action=show_laptop_detail&laptop=1056 thanks a lot! Patrick Hieber -- GMX Kostenlose Spiele: Einfach online spielen und Spa? haben mit Pastry Passion! http://games.entertainment.gmx.net/de/entertainment/games/free/puzzle/6169196 From imp at bsdimp.com Mon Oct 13 17:04:01 2008 From: imp at bsdimp.com (M. Warner Losh) Date: Mon Oct 13 17:04:19 2008 Subject: RFC: PCI SD host controller driver & mmc/mmcsd modules improvements In-Reply-To: <20081012171201.da4da754.webmaster@kibab.com> References: <5f67a8c40810052226k3070a11ah463a819c677f6307@mail.gmail.com> <20081008113848.c9b44354.webmaster@kibab.com> <20081012171201.da4da754.webmaster@kibab.com> Message-ID: <20081013.110310.-1622595361.imp@bsdimp.com> In message: <20081012171201.da4da754.webmaster@kibab.com> Ilya Bakulin writes: : On Wed, 8 Oct 2008 11:38:48 +0400 : Ilya Bakulin wrote: : : > I have another SD card, 2 Gb size, in my camera. It's from Kingston. It doesn't work: : > : > sdhci0-slot0: Card inserted : > mmc0: on sdhci0 : > sdhci0-slot0: Command error 1 (opcode 2 arg 0 flags 103 dlen 0 dflags 0) : > mmc0: setting transfer rate to 50.000MHz : > : > ... and no new storage devices appear. : : Problem was solved by increasing the number of answer read attempts in mmc_send_app_op_cond(). With attached patch (against latest driver version) card is recognized properly on ~ 190th attempt (while in original driver there are only 100 attempts). : : Output from dmesg now: : sdhci0-slot0: Card inserted : mmc0: on sdhci0 : sdhci0-slot0: Command error 1 (opcode 8 arg 426 flags 101 dlen 0 dflags 0) : mmc_send_app_ocond(): cmd completed in 0 iter : sdhci0-slot0: Command error 1 (opcode 8 arg 426 flags 101 dlen 0 dflags 0) : mmc_send_app_ocond(): cmd completed in 195 iter : mmcsd0: 1964MB at mmc0 50MHz/4bit : GEOM_LABEL: Label for provider mmcsd0s1 is msdosfs/KODAK. : : Furthermore, non-mine SDHC card is now also recognized in this cardreader (it doesn't even under Windows). In this case, it takes about 400 attempts to read answer. I think I bumped the number of iterations to 100 when I found that 10 wasn't enough. 25 different cards worked just fine, but I got use of a 16MB SD card at BSDcan that needed like 65. Bumping it from 100 to 1000, however, makes the timeout go from 1s to 10s. That opens up window for insertion races, but that's the only downside I see... Of course, we want to fix those races, but this may expose them a little more.. I can't believe that you had a card that took 4s to become active! Can you confirm the elapsed time is really 4s for that card? Otherwise, this may be pointing out a bug in another area of the code... Warner From CQG00620 at nifty.ne.jp Wed Oct 15 11:43:39 2008 From: CQG00620 at nifty.ne.jp (WATANABE Kazuhiro) Date: Wed Oct 15 11:43:46 2008 Subject: Xircom/cardbus in 7-RELEASE In-Reply-To: References: Message-ID: <20081015112633.99B3C5868F@mail.asahi-net.or.jp> Hello, At Sun, 12 Oct 2008 12:30:51 -0500, Steven Susbauer wrote: > Good day, > > I posted to questions but did not get any response, I was told to try here. > I appear to be experiencing a problem that is similar to > http://unix.derkeiler.com/Mailing-Lists/FreeBSD/current/2006-10/msg00226.html > Unfortunately in that thread it doesn't appear to have been resolved. > > When I am using 6.3-RELEASE, my IBM EtherJet 10/100 cardbus card works > fine. On boot I receive: > > cbb0: mem 0x20821000-0x20821fff at device > 2.0 on pci0 > cardbus0: on cbb0 > pccard0: <16-bit PCCard bus> on cbb0 > cbb1: mem 0x20820000-0x20820fff at device > 2.1 on pci0 > cardbus1: on cbb1 > pccard1: <16-bit PCCard bus> on cbb1 > cbb: Unable to map IRQ... > device_attach: cbb1 attach returned 12 > .... > dc0: port 0x1000-0x107f mem > 0x88000000-0x880007ff,0x88001000-0x880017ff irq 11 at device 0.0 on cardbus0 > miibus0: on dc0 > tdkphy0: on miibus0 > tdkphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto > dc0: Ethernet address: 00:06:29:xx:xx:xx > > > On 7-RELEASE the ports are recognized still, but I receive: > > cardbus0: Unable to allocate resource to read CIS. > cardbus0: Unable to allocate resources for CIS > dc0: port 0x1000-0x107f mem > 0x88000000-0x880007ff, 0x88001000-0x880017ff irq 11 at device 0.0 on > cardbus0 > dc0: No station address in CIS! > device_attach: dc0 attach returned 6 How about a patch described this PR? kern/115623: [cardbus] [patch] Xircom CardBus Ethernet II 10/100 Adapter (CBE2-100) doesn't work [regression] http://www.freebsd.org/cgi/query-pr.cgi?pr=kern%2F115623&cat= --- WATANABE Kazuhiro (CQG00620@nifty.ne.jp) From mguillamet at gmail.com Wed Oct 15 12:55:18 2008 From: mguillamet at gmail.com (Miquel Guillamet) Date: Wed Oct 15 12:55:25 2008 Subject: Can't update system.. very strange! Message-ID: Hello, I'm new to FreeBSD! I was using Arch Linux for long time, which is very nice. Well.. here is the situation, I've installed the 7.0 release (amd64) to my MacBook C2D 3,1 Santa Rosa and everything was going nicely and smoothly but I had to install the ethernet driver the Yukon/Yukon II Ethernet Adapter from Marvell because the system didn't recognize it and here is when the big problem came. I been following all the instructions from the install file: kldload if_myk ifconfig myk0 up dhclient myk0 Then I did some pings to www.google.com and no problem so I wanted to update the system using pkg_add -rv but no way to get connected to the ftp. It says after a 1 minute or so, time out connection. Dns lookups are working but no ssh,ftp,telnet,http.. What is going on? I did a fresh install and I didn't touch anything on rc.conf. ipv6 is off, firewall is off. After googling for a solution I found that the problem could come from the adsl router that hasn't any "Domain name" on the PPPoE settings and FreeBSD seems to take care about this thing (no problem on macosx or linux). Using dhclient command, the output was: Bogus domain search list 15: domain_not_set.invalid. So I changed the settings on my Linksys ADSL2 Gateway (no firewall enabled) but nothing, even with the domain name set, no internet only pings allowed. Then I tried to use static ip but nothing, same problem. I really don't know what to do next or where to look. Any idea? Thanks, Miquel Guillamet -- The world is a book, and those who do not travel read only a page. From mav at FreeBSD.org Wed Oct 15 20:25:14 2008 From: mav at FreeBSD.org (Alexander Motin) Date: Wed Oct 15 20:25:32 2008 Subject: RFC: PCI SD host controller driver & mmc/mmcsd modules improvements In-Reply-To: <20081013.110310.-1622595361.imp@bsdimp.com> References: <5f67a8c40810052226k3070a11ah463a819c677f6307@mail.gmail.com> <20081008113848.c9b44354.webmaster@kibab.com> <20081012171201.da4da754.webmaster@kibab.com> <20081013.110310.-1622595361.imp@bsdimp.com> Message-ID: <48F651A7.3040001@FreeBSD.org> M. Warner Losh wrote: > : Problem was solved by increasing the number of answer read attempts in mmc_send_app_op_cond(). With attached patch (against latest driver version) card is recognized properly on ~ 190th attempt (while in original driver there are only 100 attempts). > : > : Furthermore, non-mine SDHC card is now also recognized in this cardreader (it doesn't even under Windows). In this case, it takes about 400 attempts to read answer. > > I think I bumped the number of iterations to 100 when I found that 10 > wasn't enough. 25 different cards worked just fine, but I got use of > a 16MB SD card at BSDcan that needed like 65. Bumping it from 100 to > 1000, however, makes the timeout go from 1s to 10s. That opens up > window for insertion races, but that's the only downside I see... Of > course, we want to fix those races, but this may expose them a little > more.. > > I can't believe that you had a card that took 4s to become active! > > Can you confirm the elapsed time is really 4s for that card? > Otherwise, this may be pointing out a bug in another area of the > code... Completely fortunate I have noticed that number of iterations depends on my laptop power source. After small investigation I have found that it actually depends on dev.cpu.0.freq value. With default value 2400 I have only several iterations. But every double frequency decrease doubles iteration count. With minimum value 100MHz I have more then 100 iterations. Same time it doesn't looks like this time is a real wall time. It looks like DELAY() used in a loop has some problems with time counting. -- Alexander Motin From kline at thought.org Wed Oct 15 22:05:32 2008 From: kline at thought.org (Gary Kline) Date: Wed Oct 15 22:05:38 2008 Subject: ThinkPad 3GHz [[ alledgedly]] In-Reply-To: <20081010234314.GA54139@thought.org> References: <20081010234314.GA54139@thought.org> Message-ID: <20081015220526.GC88206@thought.org> On Fri, Oct 10, 2008 at 04:43:17PM -0700, Gary Kline wrote: > > I just bought the last pre-Lenovo [?] IBM ThinkPad. I would have > much preferred the computer *without* an OS, but hell will freeze > over before that happens. Nutshell, it's got XP on it and I'd > like to know if I can scrape it off and either give or sell it. > And if so:exactly how. It *is* old-fashioned as some reviewers > wrote in '05, but it has Only the trackstick or stictrak to move > the pointer. No scratch-and-sniff pad where I'll rest my palm. > Built-in wireless and built-in cable jack. > Well, guys, the G41 Thinkpad had a bad cat5 jack, and the "Customer Support" chap at portefix.com had not replied to two (polite) letters. The site has a [Canadian] BBB logo; that's the only reason I risked dealing with them. I've already taken Step #1: writing to the Quebec BBB. See what happens. Meanwhile, beware of buying anything from this tiny (2-person) dealer. (*sigh*) -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org From stas at FreeBSD.org Wed Oct 15 21:07:54 2008 From: stas at FreeBSD.org (Stanislav Sedov) Date: Wed Oct 15 23:26:14 2008 Subject: RFC: PCI SD host controller driver & mmc/mmcsd modules improvements In-Reply-To: <48F651A7.3040001@FreeBSD.org> References: <5f67a8c40810052226k3070a11ah463a819c677f6307@mail.gmail.com> <20081008113848.c9b44354.webmaster@kibab.com> <20081012171201.da4da754.webmaster@kibab.com> <20081013.110310.-1622595361.imp@bsdimp.com> <48F651A7.3040001@FreeBSD.org> Message-ID: <20081016004548.437cba9d.stas@FreeBSD.org> On Wed, 15 Oct 2008 23:25:11 +0300 Alexander Motin mentioned: > > Completely fortunate I have noticed that number of iterations depends on > my laptop power source. After small investigation I have found that it > actually depends on dev.cpu.0.freq value. With default value 2400 I have > only several iterations. But every double frequency decrease doubles > iteration count. With minimum value 100MHz I have more then 100 > iterations. Same time it doesn't looks like this time is a real wall > time. It looks like DELAY() used in a loop has some problems with time > counting. > What do you mean? DELAY(9) on your laptop doesn't correspond to the real time? AFAIK, DELAY(9) relies on current timecounter for time accountiong, so there might be problems with it. Have you tried switching the kern.timecounter.hardware sysctl to see if it will affect results? -- Stanislav Sedov ST4096-RIPE -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-mobile/attachments/20081015/7bb60ce8/attachment.pgp From mav at FreeBSD.org Thu Oct 16 10:06:25 2008 From: mav at FreeBSD.org (Alexander Motin) Date: Thu Oct 16 10:06:43 2008 Subject: RFC: PCI SD host controller driver & mmc/mmcsd modules improvements In-Reply-To: <1224123783.00025735.1224113402@10.7.7.3> References: <1223284984.00022179.1223272802@10.7.7.3> <1223497390.00023332.1223487003@10.7.7.3> <1223832181.00024566.1223819402@10.7.7.3> <1223929384.00025003.1223917802@10.7.7.3> <1224112991.00025726.1224102602@10.7.7.3> <1224123783.00025735.1224113402@10.7.7.3> Message-ID: <48F7121A.2010307@FreeBSD.org> Stanislav Sedov wrote: > On Wed, 15 Oct 2008 23:25:11 +0300 > Alexander Motin mentioned: >> Completely fortunate I have noticed that number of iterations depends on >> my laptop power source. After small investigation I have found that it >> actually depends on dev.cpu.0.freq value. With default value 2400 I have >> only several iterations. But every double frequency decrease doubles >> iteration count. With minimum value 100MHz I have more then 100 >> iterations. Same time it doesn't looks like this time is a real wall >> time. It looks like DELAY() used in a loop has some problems with time >> counting. > > What do you mean? DELAY(9) on your laptop doesn't correspond to the > real time? Yes. It works fine when laptop operates at full frequency, but proportionally reduces time interval when powerd drops frequency down. I have also evidence about the same problem on another laptop with 7.1-PRERELEASE. > AFAIK, DELAY(9) relies on current timecounter for time > accountiong, so there might be problems with it. Have you tried > switching the kern.timecounter.hardware sysctl to see if it will > affect results? It was late and I am not very aware in FreeBSD time counting, so I have not tried to investigate it deeper. -- Alexander Motin From imp at bsdimp.com Thu Oct 16 14:16:37 2008 From: imp at bsdimp.com (M. Warner Losh) Date: Thu Oct 16 14:16:43 2008 Subject: RFC: PCI SD host controller driver & mmc/mmcsd modules improvements In-Reply-To: <48F7121A.2010307@FreeBSD.org> References: <1224112991.00025726.1224102602@10.7.7.3> <1224123783.00025735.1224113402@10.7.7.3> <48F7121A.2010307@FreeBSD.org> Message-ID: <20081016.081628.43009259.imp@bsdimp.com> In message: <48F7121A.2010307@FreeBSD.org> Alexander Motin writes: : Stanislav Sedov wrote: : > On Wed, 15 Oct 2008 23:25:11 +0300 : > Alexander Motin mentioned: : >> Completely fortunate I have noticed that number of iterations depends on : >> my laptop power source. After small investigation I have found that it : >> actually depends on dev.cpu.0.freq value. With default value 2400 I have : >> only several iterations. But every double frequency decrease doubles : >> iteration count. With minimum value 100MHz I have more then 100 : >> iterations. Same time it doesn't looks like this time is a real wall : >> time. It looks like DELAY() used in a loop has some problems with time : >> counting. : > : > What do you mean? DELAY(9) on your laptop doesn't correspond to the : > real time? : : Yes. It works fine when laptop operates at full frequency, but : proportionally reduces time interval when powerd drops frequency down. I : have also evidence about the same problem on another laptop with : 7.1-PRERELEASE. Is the slower clock making DELAY take less/more time? Or is the slower clock fed to the SDHCI part who feeds it to the SD card so less time accumulates on the SD card because the clock line to it is running slower? : > AFAIK, DELAY(9) relies on current timecounter for time : > accountiong, so there might be problems with it. Have you tried : > switching the kern.timecounter.hardware sysctl to see if it will : > affect results? : : It was late and I am not very aware in FreeBSD time counting, so I have : not tried to investigate it deeper. I would have thought that if DELAY(10) went from 10us to 100us because you are battery power, you'd have more cards working rather than fewer.. Warner From imp at bsdimp.com Thu Oct 16 15:28:48 2008 From: imp at bsdimp.com (M. Warner Losh) Date: Thu Oct 16 15:29:05 2008 Subject: RFC: PCI SD host controller driver & mmc/mmcsd modules improvements In-Reply-To: <48F75773.7030100@FreeBSD.org> References: <48F7121A.2010307@FreeBSD.org> <20081016.081628.43009259.imp@bsdimp.com> <48F75773.7030100@FreeBSD.org> Message-ID: <20081016.092844.-1548243521.imp@bsdimp.com> In message: <48F75773.7030100@FreeBSD.org> Alexander Motin writes: : M. Warner Losh wrote: : > In message: <48F7121A.2010307@FreeBSD.org> : > Alexander Motin writes: : > : Stanislav Sedov wrote: : > : > On Wed, 15 Oct 2008 23:25:11 +0300 : > : > Alexander Motin mentioned: : > : >> Completely fortunate I have noticed that number of iterations depends on : > : >> my laptop power source. After small investigation I have found that it : > : >> actually depends on dev.cpu.0.freq value. With default value 2400 I have : > : >> only several iterations. But every double frequency decrease doubles : > : >> iteration count. With minimum value 100MHz I have more then 100 : > : >> iterations. Same time it doesn't looks like this time is a real wall : > : >> time. It looks like DELAY() used in a loop has some problems with time : > : >> counting. : > : > : > : > What do you mean? DELAY(9) on your laptop doesn't correspond to the : > : > real time? : > : : > : Yes. It works fine when laptop operates at full frequency, but : > : proportionally reduces time interval when powerd drops frequency down. I : > : have also evidence about the same problem on another laptop with : > : 7.1-PRERELEASE. : > : > Is the slower clock making DELAY take less/more time? Or is the : > slower clock fed to the SDHCI part who feeds it to the SD card so less : > time accumulates on the SD card because the clock line to it is : > running slower? : > : > : > AFAIK, DELAY(9) relies on current timecounter for time : > : > accountiong, so there might be problems with it. Have you tried : > : > switching the kern.timecounter.hardware sysctl to see if it will : > : > affect results? : > : : > : It was late and I am not very aware in FreeBSD time counting, so I have : > : not tried to investigate it deeper. : > : > I would have thought that if DELAY(10) went from 10us to 100us because : > you are battery power, you'd have more cards working rather than : > fewer.. : : No, it's opposite. With lower frequency I have proportionally smaller : delays (more loop iterations). I don't remember exact numbers now, but : general tendency was like: with 2400MHz - 10 iterations, with 1200MHz - : 20 iterations and with 100MHz - 240 iterations. But neither syslog, nor : my eyes saw any visible delay there. You have more iterations. I'd have expected less. This doesn't say anything at all about DELAY, per se. If you are waiting for 1M cycles at 100MHz, it is only .01s, while at 10MHz it is .1s. Delay is implemented by reading a counter in the 8254 that's been calibrated. So unless the clock that's clocking it is running FASTER, delay won't be the source of additional iterations. Hmmm, looking at the i386 delay code, it looks like it depends on tsc_frequency being right when tsc isn't broken. If that's set bogusly, that could cause DELAY to be slower... : It looks like working on battery power DELAY() code expects timer speed : reduced, while estimating final timer value, but looks like timer itself : runs on full speed. Have you confirmed this with getting timestamps per loop? The delay code doesn't seem to adjust at all. We should likely look at i386/i386/tsc.c and instrument it to see what it is doing to tsc_freq in your case... Warner From mav at FreeBSD.org Thu Oct 16 15:02:15 2008 From: mav at FreeBSD.org (Alexander Motin) Date: Thu Oct 16 16:16:20 2008 Subject: RFC: PCI SD host controller driver & mmc/mmcsd modules improvements In-Reply-To: <20081016.081628.43009259.imp@bsdimp.com> References: <1224112991.00025726.1224102602@10.7.7.3> <1224123783.00025735.1224113402@10.7.7.3> <48F7121A.2010307@FreeBSD.org> <20081016.081628.43009259.imp@bsdimp.com> Message-ID: <48F75773.7030100@FreeBSD.org> M. Warner Losh wrote: > In message: <48F7121A.2010307@FreeBSD.org> > Alexander Motin writes: > : Stanislav Sedov wrote: > : > On Wed, 15 Oct 2008 23:25:11 +0300 > : > Alexander Motin mentioned: > : >> Completely fortunate I have noticed that number of iterations depends on > : >> my laptop power source. After small investigation I have found that it > : >> actually depends on dev.cpu.0.freq value. With default value 2400 I have > : >> only several iterations. But every double frequency decrease doubles > : >> iteration count. With minimum value 100MHz I have more then 100 > : >> iterations. Same time it doesn't looks like this time is a real wall > : >> time. It looks like DELAY() used in a loop has some problems with time > : >> counting. > : > > : > What do you mean? DELAY(9) on your laptop doesn't correspond to the > : > real time? > : > : Yes. It works fine when laptop operates at full frequency, but > : proportionally reduces time interval when powerd drops frequency down. I > : have also evidence about the same problem on another laptop with > : 7.1-PRERELEASE. > > Is the slower clock making DELAY take less/more time? Or is the > slower clock fed to the SDHCI part who feeds it to the SD card so less > time accumulates on the SD card because the clock line to it is > running slower? > > : > AFAIK, DELAY(9) relies on current timecounter for time > : > accountiong, so there might be problems with it. Have you tried > : > switching the kern.timecounter.hardware sysctl to see if it will > : > affect results? > : > : It was late and I am not very aware in FreeBSD time counting, so I have > : not tried to investigate it deeper. > > I would have thought that if DELAY(10) went from 10us to 100us because > you are battery power, you'd have more cards working rather than > fewer.. No, it's opposite. With lower frequency I have proportionally smaller delays (more loop iterations). I don't remember exact numbers now, but general tendency was like: with 2400MHz - 10 iterations, with 1200MHz - 20 iterations and with 100MHz - 240 iterations. But neither syslog, nor my eyes saw any visible delay there. It looks like working on battery power DELAY() code expects timer speed reduced, while estimating final timer value, but looks like timer itself runs on full speed. -- Alexander Motin From taku at tackymt.homeip.net Thu Oct 16 16:39:50 2008 From: taku at tackymt.homeip.net (Taku YAMAMOTO) Date: Thu Oct 16 16:40:07 2008 Subject: RFC: PCI SD host controller driver & mmc/mmcsd modules improvements In-Reply-To: <20081016.092844.-1548243521.imp@bsdimp.com> References: <48F7121A.2010307@FreeBSD.org> <20081016.081628.43009259.imp@bsdimp.com> <48F75773.7030100@FreeBSD.org> <20081016.092844.-1548243521.imp@bsdimp.com> Message-ID: <20081017013946.3534221e.taku@tackymt.homeip.net> On Thu, 16 Oct 2008 09:28:44 -0600 (MDT) "M. Warner Losh" wrote: > In message: <48F75773.7030100@FreeBSD.org> > Alexander Motin writes: > : No, it's opposite. With lower frequency I have proportionally smaller > : delays (more loop iterations). I don't remember exact numbers now, but > : general tendency was like: with 2400MHz - 10 iterations, with 1200MHz - > : 20 iterations and with 100MHz - 240 iterations. But neither syslog, nor > : my eyes saw any visible delay there. > > You have more iterations. I'd have expected less. This doesn't say > anything at all about DELAY, per se. If you are waiting for 1M cycles > at 100MHz, it is only .01s, while at 10MHz it is .1s. Delay is > implemented by reading a counter in the 8254 that's been calibrated. > So unless the clock that's clocking it is running FASTER, delay won't > be the source of additional iterations. > > Hmmm, looking at the i386 delay code, it looks like it depends on > tsc_frequency being right when tsc isn't broken. If that's set > bogusly, that could cause DELAY to be slower... I have a Core 2 Duo whose TSC ticks regardless of how EST is set. In conjunction of tsc_freq_changed() function defined in tsc.c, tsc_freq becomes lower than actual, thus shorter DELAY(). Maybe his machine has the same. -- -|-__ YAMAMOTO, Taku | __ < - A chicken is an egg's way of producing more eggs. - From imp at bsdimp.com Thu Oct 16 16:52:17 2008 From: imp at bsdimp.com (M. Warner Losh) Date: Thu Oct 16 16:52:34 2008 Subject: RFC: PCI SD host controller driver & mmc/mmcsd modules improvements In-Reply-To: <20081017013946.3534221e.taku@tackymt.homeip.net> References: <48F75773.7030100@FreeBSD.org> <20081016.092844.-1548243521.imp@bsdimp.com> <20081017013946.3534221e.taku@tackymt.homeip.net> Message-ID: <20081016.105002.-1975970550.imp@bsdimp.com> In message: <20081017013946.3534221e.taku@tackymt.homeip.net> Taku YAMAMOTO writes: : On Thu, 16 Oct 2008 09:28:44 -0600 (MDT) : "M. Warner Losh" wrote: : : > In message: <48F75773.7030100@FreeBSD.org> : > Alexander Motin writes: : > : No, it's opposite. With lower frequency I have proportionally smaller : > : delays (more loop iterations). I don't remember exact numbers now, but : > : general tendency was like: with 2400MHz - 10 iterations, with 1200MHz - : > : 20 iterations and with 100MHz - 240 iterations. But neither syslog, nor : > : my eyes saw any visible delay there. : > : > You have more iterations. I'd have expected less. This doesn't say : > anything at all about DELAY, per se. If you are waiting for 1M cycles : > at 100MHz, it is only .01s, while at 10MHz it is .1s. Delay is : > implemented by reading a counter in the 8254 that's been calibrated. : > So unless the clock that's clocking it is running FASTER, delay won't : > be the source of additional iterations. : > : > Hmmm, looking at the i386 delay code, it looks like it depends on : > tsc_frequency being right when tsc isn't broken. If that's set : > bogusly, that could cause DELAY to be slower... : : I have a Core 2 Duo whose TSC ticks regardless of how EST is set. : In conjunction of tsc_freq_changed() function defined in tsc.c, : tsc_freq becomes lower than actual, thus shorter DELAY(). : : Maybe his machine has the same. That would cause the problem. If we're bogusly adjusting tsc_freq we should fix that... Warner From mav at FreeBSD.org Thu Oct 16 17:25:38 2008 From: mav at FreeBSD.org (Alexander Motin) Date: Thu Oct 16 17:25:55 2008 Subject: RFC: PCI SD host controller driver & mmc/mmcsd modules improvements In-Reply-To: <20081017013946.3534221e.taku@tackymt.homeip.net> References: <48F7121A.2010307@FreeBSD.org> <20081016.081628.43009259.imp@bsdimp.com> <48F75773.7030100@FreeBSD.org> <20081016.092844.-1548243521.imp@bsdimp.com> <20081017013946.3534221e.taku@tackymt.homeip.net> Message-ID: <48F7790F.5000904@FreeBSD.org> Taku YAMAMOTO wrote: > On Thu, 16 Oct 2008 09:28:44 -0600 (MDT) > "M. Warner Losh" wrote: > >> In message: <48F75773.7030100@FreeBSD.org> >> Alexander Motin writes: >> : No, it's opposite. With lower frequency I have proportionally smaller >> : delays (more loop iterations). I don't remember exact numbers now, but >> : general tendency was like: with 2400MHz - 10 iterations, with 1200MHz - >> : 20 iterations and with 100MHz - 240 iterations. But neither syslog, nor >> : my eyes saw any visible delay there. >> >> You have more iterations. I'd have expected less. This doesn't say >> anything at all about DELAY, per se. If you are waiting for 1M cycles >> at 100MHz, it is only .01s, while at 10MHz it is .1s. Delay is >> implemented by reading a counter in the 8254 that's been calibrated. >> So unless the clock that's clocking it is running FASTER, delay won't >> be the source of additional iterations. >> >> Hmmm, looking at the i386 delay code, it looks like it depends on >> tsc_frequency being right when tsc isn't broken. If that's set >> bogusly, that could cause DELAY to be slower... > > I have a Core 2 Duo whose TSC ticks regardless of how EST is set. > In conjunction of tsc_freq_changed() function defined in tsc.c, > tsc_freq becomes lower than actual, thus shorter DELAY(). > > Maybe his machine has the same. Indeed: CPU: Intel(R) Core(TM)2 Duo CPU T7700 @ 2.40GHz (2394.01-MHz K8-class CPU) Origin = "GenuineIntel" Id = 0x6fb Stepping = 11 Features=0xbfebfbff Features2=0xe3bd AMD Features=0x20100800 AMD Features2=0x1 Cores per package: 2 FreeBSD 8.0-CURRENT amd64. -- Alexander Motin From mguillamet at gmail.com Thu Oct 16 21:24:07 2008 From: mguillamet at gmail.com (Miquel Guillamet) Date: Thu Oct 16 21:24:13 2008 Subject: Can't update system.. very strange! In-Reply-To: <873aiwp7z6.fsf@chateau.d.lf> References: <873aiwp7z6.fsf@chateau.d.lf> Message-ID: Hey, I solved the problem installing FreeBSD 7.1-BETA2 that has added native support for Marvell Yukon 88E8058 Gigabit Ethernet. Thanks! On Thu, Oct 16, 2008 at 9:04 PM, Ashish Shukla ???? ????? wrote: > Miquel Guillamet writes: > > Hello, > > > > I'm new to FreeBSD! I was using Arch Linux for long time, which is very > > nice. Well.. here is the situation, I've installed the 7.0 release > (amd64) > > to my MacBook C2D 3,1 Santa Rosa and everything was going nicely and > > smoothly but I had to install the ethernet driver the Yukon/Yukon II > > Ethernet Adapter from Marvell because the system didn't recognize it and > > here is when the big problem came. I been following all the instructions > > from the install file: > > > kldload if_myk > > ifconfig myk0 up > > dhclient myk0 > > > Then I did some pings to www.google.com and no problem so I wanted to > update > > the system using pkg_add -rv but no way to get connected to the > > ftp. It says after a 1 minute or so, time out connection. Dns lookups are > > working but no ssh,ftp,telnet,http.. What is going on? I did a fresh > install > > and I didn't touch anything on rc.conf. ipv6 is off, firewall is off. > After > > googling for a solution I found that the problem could come from the adsl > > router that hasn't any "Domain name" on the PPPoE settings and FreeBSD > seems > > to take care about this thing (no problem on macosx or linux). Using > > dhclient command, the output was: > > > Bogus domain search list 15: domain_not_set.invalid. > > > So I changed the settings on my Linksys ADSL2 Gateway (no firewall > enabled) > > but nothing, even with the domain name set, no internet only pings > allowed. > > Then I tried to use static ip but nothing, same problem. I really don't > know > > what to do next or where to look. Any idea? > > Can you paste the output of following commands here ? > > % netstat -rn > % cat /etc/resolv.conf > % fetch http://www.freebsd.org/ > > It seems something is messed up with your DNS or default route or maybe > your router's firewall. > > Thanks > Ashish Shukla > -- > () ascii ribbon campaign - against HTML e-mail > /\ www.asciiribbon.org - against proprietary attachments > ?-- ?- ???? ?--- ?- ???- ?- ?--?-? --? -- ?- ?? ?-?? ?-?-?- -?-? --- -- > % dig +short cname cdac.in @::1 > ms.gov.in > -- The world is a book, and those who do not travel read only a page. From stupendoussteve at hotmail.com Thu Oct 16 21:27:24 2008 From: stupendoussteve at hotmail.com (Steven Susbauer) Date: Thu Oct 16 21:27:36 2008 Subject: Xircom/cardbus in 7-RELEASE Message-ID: WATANABE Kazuhiro wrote: >Hello, > >At Sun, 12 Oct 2008 12:30:51 -0500, >Steven Susbauer wrote: >>Good day, >> >>I posted to questions but did not get any response, I was told to try >>here. >>I appear to be experiencing a problem that is similar to >>http://unix.derkeiler.com/Mailing-Lists/FreeBSD/current/2006-10/msg00226.html >>Unfortunately in that thread it doesn't appear to have been resolved. >> >>When I am using 6.3-RELEASE, my IBM EtherJet 10/100 cardbus card works >>fine. On boot I receive: >> >> >> >>On 7-RELEASE the ports are recognized still, but I receive: >> >>cardbus0: Unable to allocate resource to read CIS. >>cardbus0: Unable to allocate resources for CIS >>dc0: port 0x1000-0x107f mem >>0x88000000-0x880007ff, 0x88001000-0x880017ff irq 11 at device 0.0 on >>cardbus0 >>dc0: No station address in CIS! >>device_attach: dc0 attach returned 6 > >How about a patch described this PR? > > kern/115623: [cardbus] [patch] Xircom CardBus Ethernet II 10/100 Adapter >(CBE2-100) doesn't work [regression] > http://www.freebsd.org/cgi/query-pr.cgi?pr=kern%2F115623&cat= > That seems to have fixed it. The patch on the site had a broken layout but it was fine in the original message at http://lists.freebsd.org/pipermail/freebsd-bugs/2007-December/027280.html. Can't wait for this to end up in the actual tree. Thanks for pointing this out, now I know another place to look for issues and fixes as well. -Steve From wahjava.ml at gmail.com Thu Oct 16 21:27:26 2008 From: wahjava.ml at gmail.com (Ashish Shukla =?utf-8?B?4KSG4KS24KWA4KS3IA==?= =?utf-8?B?4KS24KWB4KSV4KWN4KSy?=) Date: Thu Oct 16 21:27:36 2008 Subject: Can't update system.. very strange! In-Reply-To: (Miquel Guillamet's message of "Wed\, 15 Oct 2008 23\:26\:46 +1100") References: Message-ID: <873aiwp7z6.fsf@chateau.d.lf> Miquel Guillamet writes: > Hello, > I'm new to FreeBSD! I was using Arch Linux for long time, which is very > nice. Well.. here is the situation, I've installed the 7.0 release (amd64) > to my MacBook C2D 3,1 Santa Rosa and everything was going nicely and > smoothly but I had to install the ethernet driver the Yukon/Yukon II > Ethernet Adapter from Marvell because the system didn't recognize it and > here is when the big problem came. I been following all the instructions > from the install file: > kldload if_myk > ifconfig myk0 up > dhclient myk0 > Then I did some pings to www.google.com and no problem so I wanted to update > the system using pkg_add -rv but no way to get connected to the > ftp. It says after a 1 minute or so, time out connection. Dns lookups are > working but no ssh,ftp,telnet,http.. What is going on? I did a fresh install > and I didn't touch anything on rc.conf. ipv6 is off, firewall is off. After > googling for a solution I found that the problem could come from the adsl > router that hasn't any "Domain name" on the PPPoE settings and FreeBSD seems > to take care about this thing (no problem on macosx or linux). Using > dhclient command, the output was: > Bogus domain search list 15: domain_not_set.invalid. > So I changed the settings on my Linksys ADSL2 Gateway (no firewall enabled) > but nothing, even with the domain name set, no internet only pings allowed. > Then I tried to use static ip but nothing, same problem. I really don't know > what to do next or where to look. Any idea? Can you paste the output of following commands here ? % netstat -rn % cat /etc/resolv.conf % fetch http://www.freebsd.org/ It seems something is messed up with your DNS or default route or maybe your router's firewall. Thanks Ashish Shukla -- () ascii ribbon campaign - against HTML e-mail /\ www.asciiribbon.org - against proprietary attachments ?-- ?- ???? ?--- ?- ???- ?- ?--?-? --? -- ?- ?? ?-?? ?-?-?- -?-? --- -- % dig +short cname cdac.in @::1 ms.gov.in -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 196 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-mobile/attachments/20081016/acca468e/attachment.pgp From webmaster at kibab.com Fri Oct 17 07:16:52 2008 From: webmaster at kibab.com (Ilya Bakulin) Date: Fri Oct 17 07:17:05 2008 Subject: RFC: PCI SD host controller driver & mmc/mmcsd modules improvements In-Reply-To: <48F7790F.5000904@FreeBSD.org> References: <48F7121A.2010307@FreeBSD.org> <20081016.081628.43009259.imp@bsdimp.com> <48F75773.7030100@FreeBSD.org> <20081016.092844.-1548243521.imp@bsdimp.com> <20081017013946.3534221e.taku@tackymt.homeip.net> <48F7790F.5000904@FreeBSD.org> Message-ID: <20081017111650.a84afa26.webmaster@kibab.com> On Thu, 16 Oct 2008 20:25:35 +0300 Alexander Motin wrote: > Indeed: > CPU: Intel(R) Core(TM)2 Duo CPU T7700 @ 2.40GHz (2394.01-MHz > K8-class CPU) > Origin = "GenuineIntel" Id = 0x6fb Stepping = 11 > Features=0xbfebfbff MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS, > HTT,TM,PBE> > Features2=0xe3bd xTPR,PDCM> > AMD Features=0x20100800 > AMD Features2=0x1 > Cores per package: 2 > > FreeBSD 8.0-CURRENT amd64. > > -- > Alexander Motin Same here: CPU: Intel(R) Core(TM)2 Duo CPU T5870 @ 2.00GHz (1995.01-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x6fd Stepping = 13 Features=0xbfebfbff Features2=0xe39d AMD Features=0x20100000 AMD Features2=0x1 Cores per package: 2 Running FreeBSD 7-STABLE i386. On Mon, 13 Oct 2008 11:03:10 -0600 (MDT) "M. Warner Losh" wrote: > I can't believe that you had a card that took 4s to become active! > > Can you confirm the elapsed time is really 4s for that card? > Otherwise, this may be pointing out a bug in another area of the > code... > > Warner I don't have this card any more. And regarging my SD... I can't do exact measures. What I have done yesterday is: ; Running at full frequency: Oct 16 11:53:50 kibab-nb sudo: kibab : TTY=ttyp3 ; PWD=/home/kibab ; USER=root ; COMMAND=/etc/rc.d/powerd stop Oct 16 11:54:00 kibab-nb sudo: kibab : TTY=ttyp3 ; PWD=/home/kibab ; USER=root ; COMMAND=/usr/sbin/powerd -a max Oct 16 11:54:49 kibab-nb kernel: mmc0: on sdhci 0 Oct 16 11:54:49 kibab-nb kernel: mmc_send_app_ocond(): cmd completed in 0 iter Oct 16 11:54:50 kibab-nb kernel: mmc_send_app_ocond(): cmd completed in 35 iter 35 iterations! ; Running at lowest possible frequency: Oct 16 11:55:27 kibab-nb sudo: kibab : TTY=ttyp3 ; PWD=/home/kibab ; USER=root ; COMMAND=/etc/rc.d/powerd stop Oct 16 11:55:30 kibab-nb sudo: kibab : TTY=ttyp3 ; PWD=/home/kibab ; USER=root ; COMMAND=/usr/sbin/powerd -a min Oct 16 11:55:46 kibab-nb kernel: mmc0: on sdhci0 Oct 16 11:55:46 kibab-nb kernel: mmc_send_app_ocond(): cmd completed in 0 iter Oct 16 11:55:46 kibab-nb kernel: mmc_send_app_ocond(): cmd completed in 185 iter 185 iterations at lowest frequency... Sorry for long answer delay. -- Ilya Bakulin -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-mobile/attachments/20081017/3f9985a3/attachment.pgp From kline at thought.org Sat Oct 18 04:07:44 2008 From: kline at thought.org (Gary Kline) Date: Sat Oct 18 04:07:50 2008 Subject: complex problem with G41. probably Message-ID: <20081018040736.GA13800@thought.org> Folks, Well, here's the story as neatly as I can summarize it. I don't think it has anything to with my software settings on the XP, still installed. Neither do I think the problem is with my hub/switch, a LinkSys that I bought around 5 years ago. What my wife and I discovered and I do not understand is that: when her laptop and my laptop are plugged into my hub simultaneously, her computer does not work. Neither does my ThinkPad work. If my cable is unplugged from the hub/switch, my wife's computer works normally. When her laptop is unplugged from the hub and mine is plugged in, it fails. Same story with my daughter's. As long as mine is plugged in, neither of the other laptops work. My wife thought it might be my hub, so she moved her cable and my cable elsewhere on the hub. This points to my laptop as being faulty. Which was what I thought days ago when I began dealing with this. Are any of you familiar with XP to know if it is something not configured network wise on the M$ side? I have my doubts, but then that's why I'm asking for expert opinions. thanks for any insights! gary -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org From jacques.fourie at gmail.com Sat Oct 18 08:24:20 2008 From: jacques.fourie at gmail.com (Jacques Fourie) Date: Sat Oct 18 08:24:27 2008 Subject: RFC: PCI SD host controller driver & mmc/mmcsd modules improvements In-Reply-To: <48F11087.20403@FreeBSD.org> References: <48DEA8E7.2080503@FreeBSD.org> <48F11087.20403@FreeBSD.org> Message-ID: > Alexander Motin wrote: >> >> I would like to present initial revision of my generic PCI SD Host >> Controller driver (sdhci). It support PCI devices with class 8 and subclass >> 5 according to SD Host Controller Specification. >> Latest patches against 8-CURRENT (mostly fit 7-STABLE) may be found at: >> http://people.freebsd.org/~mav/sdhci/ > > For those who are not tracking actively, I would like to report that most of > original driver's child illnesses are now healed. > > Driver now supports both PIO and DMA modes. Because of some special tunings > DMA works fine even on almost broken ENE chips. I am reaching 15MB/s > transfer (maximum for my controller's bus) with only about 1% of CPU load. > Implemented 4 bits bus width and high speed timing modes support for high > data rates up to 52MHz. Cards hot insertion/removing is now working. > Together with in-tree mmc/mmcsd drivers improvements most of card types (SD, > SDHC, standard and high capacity MMC) are now supported. > > -- > Alexander Motin > _______________________________________________ > freebsd-arm@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" > The device in my HP nw8240 notebook is a Texas Instruments 7621. This device is a multi-function PCI device with a CardBus, firewire, Flash Media and SD controller. The only way that I could get this driver to work for me is to disable SD card detection on the Flash Media controller, which is function 3 : pcitweak -w 02:06:03 -b 0x4c 0x02 Thanks for the great work! From imp at bsdimp.com Sat Oct 18 15:58:42 2008 From: imp at bsdimp.com (M. Warner Losh) Date: Sat Oct 18 15:58:53 2008 Subject: RFC: PCI SD host controller driver & mmc/mmcsd modules improvements In-Reply-To: References: <48DEA8E7.2080503@FreeBSD.org> <48F11087.20403@FreeBSD.org> Message-ID: <20081018.095703.-135512205.imp@bsdimp.com> In message: "Jacques Fourie" writes: : > Alexander Motin wrote: : >> : >> I would like to present initial revision of my generic PCI SD Host : >> Controller driver (sdhci). It support PCI devices with class 8 and subclass : >> 5 according to SD Host Controller Specification. : >> Latest patches against 8-CURRENT (mostly fit 7-STABLE) may be found at: : >> http://people.freebsd.org/~mav/sdhci/ : > : > For those who are not tracking actively, I would like to report that most of : > original driver's child illnesses are now healed. : > : > Driver now supports both PIO and DMA modes. Because of some special tunings : > DMA works fine even on almost broken ENE chips. I am reaching 15MB/s : > transfer (maximum for my controller's bus) with only about 1% of CPU load. : > Implemented 4 bits bus width and high speed timing modes support for high : > data rates up to 52MHz. Cards hot insertion/removing is now working. : > Together with in-tree mmc/mmcsd drivers improvements most of card types (SD, : > SDHC, standard and high capacity MMC) are now supported. : > : > -- : > Alexander Motin : > _______________________________________________ : > freebsd-arm@freebsd.org mailing list : > http://lists.freebsd.org/mailman/listinfo/freebsd-arm : > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" : > : : The device in my HP nw8240 notebook is a Texas Instruments 7621. This : device is a multi-function PCI device with a CardBus, firewire, Flash : Media and SD controller. The only way that I could get this driver to : work for me is to disable SD card detection on the Flash Media : controller, which is function 3 : : : pcitweak -w 02:06:03 -b 0x4c 0x02 I have patches to mav's sdhci driver to do this. However, I can't get the driver to work. It detects the cards are inserted, but then all commands that require a response from the card fail. How many slots does your controller report? Which one is sd? Warner From jacques.fourie at gmail.com Sat Oct 18 17:01:10 2008 From: jacques.fourie at gmail.com (Jacques Fourie) Date: Sat Oct 18 17:01:27 2008 Subject: RFC: PCI SD host controller driver & mmc/mmcsd modules improvements In-Reply-To: <20081018.095703.-135512205.imp@bsdimp.com> References: <48DEA8E7.2080503@FreeBSD.org> <48F11087.20403@FreeBSD.org> <20081018.095703.-135512205.imp@bsdimp.com> Message-ID: > In message: > "Jacques Fourie" writes: > : > Alexander Motin wrote: > : >> > : >> I would like to present initial revision of my generic PCI SD Host > : >> Controller driver (sdhci). It support PCI devices with class 8 and subclass > : >> 5 according to SD Host Controller Specification. > : >> Latest patches against 8-CURRENT (mostly fit 7-STABLE) may be found at: > : >> http://people.freebsd.org/~mav/sdhci/ > : > > : > For those who are not tracking actively, I would like to report that most of > : > original driver's child illnesses are now healed. > : > > : > Driver now supports both PIO and DMA modes. Because of some special tunings > : > DMA works fine even on almost broken ENE chips. I am reaching 15MB/s > : > transfer (maximum for my controller's bus) with only about 1% of CPU load. > : > Implemented 4 bits bus width and high speed timing modes support for high > : > data rates up to 52MHz. Cards hot insertion/removing is now working. > : > Together with in-tree mmc/mmcsd drivers improvements most of card types (SD, > : > SDHC, standard and high capacity MMC) are now supported. > : > > : > -- > : > Alexander Motin > : > _______________________________________________ > : > freebsd-arm@freebsd.org mailing list > : > http://lists.freebsd.org/mailman/listinfo/freebsd-arm > : > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" > : > > : > : The device in my HP nw8240 notebook is a Texas Instruments 7621. This > : device is a multi-function PCI device with a CardBus, firewire, Flash > : Media and SD controller. The only way that I could get this driver to > : work for me is to disable SD card detection on the Flash Media > : controller, which is function 3 : > : > : pcitweak -w 02:06:03 -b 0x4c 0x02 > > I have patches to mav's sdhci driver to do this. However, I can't get > the driver to work. It detects the cards are inserted, but then all > commands that require a response from the card fail. > > How many slots does your controller report? Which one is sd? > > Warner > My controller reports 3 slots, with the third one being sd. Jacques From prabu at hackinthebox.org Sat Oct 18 23:36:29 2008 From: prabu at hackinthebox.org (Praburaajan) Date: Sat Oct 18 23:36:38 2008 Subject: HITBSecConf2008 - Malaysia: Online registration closes on 24th Oct Message-ID: <48FA6CA2.9010702@hackinthebox.org> This is a reminder that online registration for HITBSecConf2008 - Malaysia, the largest network security conference in Asia and the Middle East, closes on the 24th of October - walk in registrations are still accepted thereafter but prices increase to MYR1099. To book your seats online, please register through: http://conference.hitb.org/hitbsecconf2008kl/register/ 27th & 28th October 2008 ======================== TECH TRAINING 1 - Structured Network Threat Analysis and Forensics Trainers: Meling Mudin (spoonfork) and Lee Chin Sheng (geek00l) Seats Left: 3 TECH TRAINING 2 - Bluetooth, RFID & Wireless Hacking - UPDATED COURSE CONTENTS! Trainers: Andrew 'Q' Righter (HacDC) and King Tuna Seats Left: 9 TECH TRAINING 3 - Web Application Security - Advanced Attacks and Defense Trainer: Shreeraj Shah (Director, BlueInfy) Seats Left: CLASS IS FULL TECH TRAINING 4 - The Exploit Laboratory 3.0 - UPDATED COURSE CONTENTS! Trainers: Saumil Shah (Founder/CEO, Net-Square) & SK Chong (Security Consultant, SCAN Associates Bhd.) Seats Left: 6 Keynote Address - 29th & 30th October 2008 ========================================== KEYNOTE 1 - "The Art of Click-Jacking" - Jeremiah Grossman (Founder & Chief Technology Officer, White Hat Security.) KEYNOTE 2 - "Cyberwar is Bullshit" - Marcus Ranum (Chief Security Officer, Tenable Network Security) KEYNOTE 3 - "Welcome to the 0wned World" - Dr. Anton Chuvakin (Chief Research Officer, Log Logic Inc.) KEYNOTE 4 - "Dissolving an Industry as a Hobby" - Peter Sunde [brokep] and Fredrik Neij [TiAMO] (Founders of The Pirate Bay - TPB) FULL CONFERENCE AGENDA: http://conference.hitb.org/hitbsecconf2008kl/agenda.htm From sam at freebsd.org Sun Oct 19 21:37:01 2008 From: sam at freebsd.org (Sam Leffler) Date: Sun Oct 19 21:37:07 2008 Subject: I lost ath0 support on current sometime between Sept 20 and Sept 26. In-Reply-To: <7affaed60810122012n526929e1j9d38b977a029251e@mail.gmail.com> References: <7affaed60810091639n2714fae1mbd34048bc8be89c3@mail.gmail.com> <7affaed60810100658k354550abs2754a2c1ea1b0958@mail.gmail.com> <7affaed60810120614l79670870t7e4914615094056f@mail.gmail.com> <200810122351.13564.jhugo@meraka.csir.co.za> <48F2915B.6090507@freebsd.org> <7affaed60810122012n526929e1j9d38b977a029251e@mail.gmail.com> Message-ID: <48FBA87B.3030404@freebsd.org> Edwin L. Culp W. wrote: > On Sun, Oct 12, 2008 at 7:07 PM, Sam Leffler wrote: > >> Johann Hugo wrote: >> >>> On Sunday 12 October 2008, Edwin L. Culp W. wrote: >>> >>> >>>> On Fri, Oct 10, 2008 at 8:58 AM, Edwin L. Culp W. >>>> >>>> >>> wrote: >>> >>> >>>>> On Thu, Oct 9, 2008 at 9:21 PM, Sam Leffler wrote: >>>>> >>>>> >>>>>> Edwin L. Culp W. wrote: >>>>>> >>>>>> >>>>>>> I started this thread on current but I lost it to Ashish Shukla so I'm >>>>>>> going to try here and see if I can explain it better and solve this >>>>>>> strange issue. >>>>>>> >>>>>>> I was happily using Sam's ath_hal-20080528 patch and IIRC the >>>>>>> committed ath_hal fixes until Sept 20. I didn't build another new >>>>>>> kernel until Sept 26. From that date on I have been unable to get it >>>>>>> working. The sept 20 kernel still works great. I'm using it to send >>>>>>> this email. I don't have to change anything I just start kernel.old >>>>>>> and run it rather than today's kernel that has no problems other than >>>>>>> bringing up ath0/wlan0. >>>>>>> >>>>>>> Some general info for both kernels that I can find no important >>>>>>> differences and now really doubt that the problem is hal_ath but >>>>>>> something else that has changed and is causing the problem. I have >>>>>>> thought of dhcp, ifconfig, ??? The general information for both >>>>>>> follows: >>>>>>> >>>>>>> >>>>>>> FreeBSD 8.0-CURRENT #50: Thu Oct 9 05:27:41 CDT 2008 >>>>>>> root@ed.local.net.mx:/usr/obj/usr/src/sys/ENCONTACTO >>>>>>> >>>>>>> rc.conf that doesn't change and works for sept 20 kernel but not >>>>>>> todays: >>>>>>> >>>>>>> wlans_ath0=wlan0 >>>>>>> ifconfig_wlan0="DHCP ssid virus wepmode on wepkey 1:0x2373FE9515 >>>>>>> weptxkey 1" >>>>>>> >>>>>>> ifconfig with todays kernel for ath0 and wlan0: >>>>>>> >>>>>>> >>>>>>> ath0: flags=8843 metric 0 mtu >>>>>>> 2290 ether 00:1d:d9:27:5c:e5 >>>>>>> media: IEEE 802.11 Wireless Ethernet autoselect mode 11g >>>>>>> status: associated >>>>>>> wlan0: flags=8843 metric 0 mtu >>>>>>> 1500 >>>>>>> ether 00:1d:d9:27:5c:e5 >>>>>>> media: IEEE 802.11 Wireless Ethernet OFDM/48Mbps mode 11g >>>>>>> status: associated >>>>>>> ssid virus channel 6 (2437 Mhz 11g) bssid 00:1d:7e:51:e1:4d >>>>>>> regdomain 101 indoor ecm authmode OPEN privacy ON deftxkey 1 >>>>>>> wepkey 1:40-bit txpower 16 bmiss 7 scanvalid 450 bgscan >>>>>>> bgscanintvl 300 bgscanidle 250 roam:rssi 7 roam:rate 5 protmode >>>>>>> CTS wme burst roaming MANUAL >>>>>>> >>>>>>> The part of the dmesg that show ath0 and wlan0 with hal >>>>>>> >>>>>>> ath_hal: 0.10.5.10 (AR5210, AR5211, AR5212, AR5416, RF5111, RF5112, >>>>>>> RF2413, RF5413, RF2133, RF2425, RF2417) >>>>>>> >>>>>>> ath0: mem 0xd0400000-0xd040ffff irq 19 at device >>>>>>> 0.0 on pci5 >>>>>>> ath0: [ITHREAD] >>>>>>> ath0: WARNING: using obsoleted if_watchdog interface >>>>>>> ath0: mac 14.2 phy 7.0 radio 10.2 >>>>>>> >>>>>>> >>>>>>> >>>>>>> ----------------------------------------------------------------------- >>>>>>> ------------------------- >>>>>>> >>>>>>> The same information for the Sept 20 kernel. >>>>>>> >>>>>>> FreeBSD ed.local.net.mx 8.0-CURRENT FreeBSD 8.0-CURRENT #34: Sat Sep >>>>>>> 20 05:37:05 CDT 2008 >>>>>>> root@ed.local.net.mx:/usr/obj/usr/src/sys/ENCONTACTO i386 >>>>>>> >>>>>>> rc.conf is the same. >>>>>>> >>>>>>> If config for Sept 20 kernel: >>>>>>> >>>>>>> ath0: flags=8843 metric 0 mtu >>>>>>> 2290 ether 00:1d:d9:27:5c:e5 >>>>>>> media: IEEE 802.11 Wireless Ethernet autoselect mode 11g >>>>>>> status: associated >>>>>>> wlan0: flags=8843 metric 0 mtu >>>>>>> 1500 >>>>>>> ether 00:1d:d9:27:5c:e5 >>>>>>> inet 172.16.0.7 netmask 0xffffff00 broadcast 172.16.0.255 >>>>>>> media: IEEE 802.11 Wireless Ethernet DS/5.5Mbps mode 11g >>>>>>> status: associated >>>>>>> ssid virus channel 6 (2437 Mhz 11g) bssid 00:1d:7e:51:e1:4d >>>>>>> regdomain 101 indoor ecm authmode OPEN privacy ON deftxkey 1 >>>>>>> wepkey 1:40-bit txpower 16 bmiss 7 scanvalid 60 bgscan >>>>>>> bgscanintvl 300 >>>>>>> bgscanidle 250 roam:rssi 7 roam:rate 5 protmode CTS wme burst >>>>>>> >>>>>>> Same parts of the dmesg form Sept 20 kernel. >>>>>>> >>>>>>> ath_hal: 0.10.5.10 (AR5210, AR5211, AR5212, AR5416, RF5111, RF5112, >>>>>>> RF2413, RF5413, RF2133, RF2425, RF2417) >>>>>>> >>>>>>> ath0: mem 0xd0400000-0xd040ffff irq 19 at device >>>>>>> 0.0 on pci5 >>>>>>> ath0: [ITHREAD] >>>>>>> ath0: WARNING: using obsoleted if_watchdog interface >>>>>>> ath0: mac 14.2 phy 7.0 radio 10.2 >>>>>>> >>>>>>> >>>>>> Does it work w/o WEP? Do you any crypto errors show up in wlanstats >>>>>> and/or athstats output? >>>>>> >>>>>> Sam >>>>>> >>>>>> >>>>> I haven't tried it and I should have since I'm pretty sure that it is >>>>> something external. I've got travel in a few minutes but I'll do it >>>>> tomorrow on my AP at home to not interrupt anyone. >>>>> >>>>> >>>> Good morning, Sam. I just disabled encryption on my router and >>>> changed my rc.conf to >>>> ifconfig_wlan0="DHCP ssid virus2" >>>> and as you probably knew, it works flawlessly. >>>> >>>> Now I have to ask, what I can do about wep that works on my Sept 20 >>>> and earlier kernels and doesn't work on my recent kernels? >>>> >>>> Thanks, >>>> >>>> ed >>>> >>>> >>> I don't know it this is related, but something changed with the WEP-key >>> index. On my EeePC I had to change my wpa_supplicant.conf file to use >>> wep_tx_keyidx=0 and wep_key0=mywepkey before I could get it to work. I the >>> past it always worked with wep_tx_keyidx=1 and wep_key1=xxxxx. >>> >>> The funny thing is that ifconfig reports it as deftxkey 1 and wepkey 1 if >>> I use index 0 in wpa_supplicant and ifconfig will report deftxkey 2 and >>> wepkey 2 if I use index 1 in wpa_supplicant.conf >>> >>> >> I believe it has always been true that key indices reported by ifconfig are >> in the rage [1..4] while wpa_supplicant key indices specified in the config >> file are [0..3]. I don't recall anything changing in that area for a long >> time but I did make changes to the net80211 crypto code around that time. >> >> Sam >> > > Thanks, Sam. What worries me is that I seem to be alone with this problem. > This should be fixed by r184063. Please let me know if it does not and sorry for taking so long to look at the problem. Sam From eculp at cloudmaster.info Mon Oct 20 21:11:19 2008 From: eculp at cloudmaster.info (eculp@cloudmaster.info) Date: Mon Oct 20 21:11:26 2008 Subject: I lost ath0 support on current sometime between Sept 20 and Sept 26. In-Reply-To: <48FBA87B.3030404@freebsd.org> References: <7affaed60810091639n2714fae1mbd34048bc8be89c3@mail.gmail.com> <7affaed60810100658k354550abs2754a2c1ea1b0958@mail.gmail.com> <7affaed60810120614l79670870t7e4914615094056f@mail.gmail.com> <200810122351.13564.jhugo@meraka.csir.co.za> <48F2915B.6090507@freebsd.org> <7affaed60810122012n526929e1j9d38b977a029251e@mail.gmail.com> <48FBA87B.3030404@freebsd.org> Message-ID: <20081020160046.17qwm4xcsbdws40k4@cloudmail.cloudmaster.info> Quoting Sam Leffler : > Edwin L. Culp W. wrote: >> On Sun, Oct 12, 2008 at 7:07 PM, Sam Leffler wrote: >> >>> Johann Hugo wrote: >>> >>>> On Sunday 12 October 2008, Edwin L. Culp W. wrote: >>>> >>>> >>>>> On Fri, Oct 10, 2008 at 8:58 AM, Edwin L. Culp W. >>>>> >>>>> >>>> wrote: >>>> >>>> >>>>>> On Thu, Oct 9, 2008 at 9:21 PM, Sam Leffler wrote: >>>>>> >>>>>> >>>>>>> Edwin L. Culp W. wrote: >>>>>>> >>>>>>> >>>>>>>> I started this thread on current but I lost it to Ashish Shukla so I'm >>>>>>>> going to try here and see if I can explain it better and solve this >>>>>>>> strange issue. >>>>>>>> >>>>>>>> I was happily using Sam's ath_hal-20080528 patch and IIRC the >>>>>>>> committed ath_hal fixes until Sept 20. I didn't build another new >>>>>>>> kernel until Sept 26. From that date on I have been unable to get it >>>>>>>> working. The sept 20 kernel still works great. I'm using it to send >>>>>>>> this email. I don't have to change anything I just start kernel.old >>>>>>>> and run it rather than today's kernel that has no problems other than >>>>>>>> bringing up ath0/wlan0. >>>>>>>> >>>>>>>> Some general info for both kernels that I can find no important >>>>>>>> differences and now really doubt that the problem is hal_ath but >>>>>>>> something else that has changed and is causing the problem. I have >>>>>>>> thought of dhcp, ifconfig, ??? The general information for both >>>>>>>> follows: >>>>>>>> >>>>>>>> >>>>>>>> FreeBSD 8.0-CURRENT #50: Thu Oct 9 05:27:41 CDT 2008 >>>>>>>> root@ed.local.net.mx:/usr/obj/usr/src/sys/ENCONTACTO >>>>>>>> >>>>>>>> rc.conf that doesn't change and works for sept 20 kernel but not >>>>>>>> todays: >>>>>>>> >>>>>>>> wlans_ath0=wlan0 >>>>>>>> ifconfig_wlan0="DHCP ssid virus wepmode on wepkey 1:0x2373FE9515 >>>>>>>> weptxkey 1" >>>>>>>> >>>>>>>> ifconfig with todays kernel for ath0 and wlan0: >>>>>>>> >>>>>>>> >>>>>>>> ath0: flags=8843 metric 0 mtu >>>>>>>> 2290 ether 00:1d:d9:27:5c:e5 >>>>>>>> media: IEEE 802.11 Wireless Ethernet autoselect mode 11g >>>>>>>> status: associated >>>>>>>> wlan0: flags=8843 metric 0 mtu >>>>>>>> 1500 >>>>>>>> ether 00:1d:d9:27:5c:e5 >>>>>>>> media: IEEE 802.11 Wireless Ethernet OFDM/48Mbps mode 11g >>>>>>>> status: associated >>>>>>>> ssid virus channel 6 (2437 Mhz 11g) bssid 00:1d:7e:51:e1:4d >>>>>>>> regdomain 101 indoor ecm authmode OPEN privacy ON deftxkey 1 >>>>>>>> wepkey 1:40-bit txpower 16 bmiss 7 scanvalid 450 bgscan >>>>>>>> bgscanintvl 300 bgscanidle 250 roam:rssi 7 roam:rate 5 protmode >>>>>>>> CTS wme burst roaming MANUAL >>>>>>>> >>>>>>>> The part of the dmesg that show ath0 and wlan0 with hal >>>>>>>> >>>>>>>> ath_hal: 0.10.5.10 (AR5210, AR5211, AR5212, AR5416, RF5111, RF5112, >>>>>>>> RF2413, RF5413, RF2133, RF2425, RF2417) >>>>>>>> >>>>>>>> ath0: mem 0xd0400000-0xd040ffff irq 19 at device >>>>>>>> 0.0 on pci5 >>>>>>>> ath0: [ITHREAD] >>>>>>>> ath0: WARNING: using obsoleted if_watchdog interface >>>>>>>> ath0: mac 14.2 phy 7.0 radio 10.2 >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> ----------------------------------------------------------------------- >>>>>>>> ------------------------- >>>>>>>> >>>>>>>> The same information for the Sept 20 kernel. >>>>>>>> >>>>>>>> FreeBSD ed.local.net.mx 8.0-CURRENT FreeBSD 8.0-CURRENT #34: Sat Sep >>>>>>>> 20 05:37:05 CDT 2008 >>>>>>>> root@ed.local.net.mx:/usr/obj/usr/src/sys/ENCONTACTO i386 >>>>>>>> >>>>>>>> rc.conf is the same. >>>>>>>> >>>>>>>> If config for Sept 20 kernel: >>>>>>>> >>>>>>>> ath0: flags=8843 metric 0 mtu >>>>>>>> 2290 ether 00:1d:d9:27:5c:e5 >>>>>>>> media: IEEE 802.11 Wireless Ethernet autoselect mode 11g >>>>>>>> status: associated >>>>>>>> wlan0: flags=8843 metric 0 mtu >>>>>>>> 1500 >>>>>>>> ether 00:1d:d9:27:5c:e5 >>>>>>>> inet 172.16.0.7 netmask 0xffffff00 broadcast 172.16.0.255 >>>>>>>> media: IEEE 802.11 Wireless Ethernet DS/5.5Mbps mode 11g >>>>>>>> status: associated >>>>>>>> ssid virus channel 6 (2437 Mhz 11g) bssid 00:1d:7e:51:e1:4d >>>>>>>> regdomain 101 indoor ecm authmode OPEN privacy ON deftxkey 1 >>>>>>>> wepkey 1:40-bit txpower 16 bmiss 7 scanvalid 60 bgscan >>>>>>>> bgscanintvl 300 >>>>>>>> bgscanidle 250 roam:rssi 7 roam:rate 5 protmode CTS wme burst >>>>>>>> >>>>>>>> Same parts of the dmesg form Sept 20 kernel. >>>>>>>> >>>>>>>> ath_hal: 0.10.5.10 (AR5210, AR5211, AR5212, AR5416, RF5111, RF5112, >>>>>>>> RF2413, RF5413, RF2133, RF2425, RF2417) >>>>>>>> >>>>>>>> ath0: mem 0xd0400000-0xd040ffff irq 19 at device >>>>>>>> 0.0 on pci5 >>>>>>>> ath0: [ITHREAD] >>>>>>>> ath0: WARNING: using obsoleted if_watchdog interface >>>>>>>> ath0: mac 14.2 phy 7.0 radio 10.2 >>>>>>>> >>>>>>>> >>>>>>> Does it work w/o WEP? Do you any crypto errors show up in wlanstats >>>>>>> and/or athstats output? >>>>>>> >>>>>>> Sam >>>>>>> >>>>>>> >>>>>> I haven't tried it and I should have since I'm pretty sure that it is >>>>>> something external. I've got travel in a few minutes but I'll do it >>>>>> tomorrow on my AP at home to not interrupt anyone. >>>>>> >>>>>> >>>>> Good morning, Sam. I just disabled encryption on my router and >>>>> changed my rc.conf to >>>>> ifconfig_wlan0="DHCP ssid virus2" >>>>> and as you probably knew, it works flawlessly. >>>>> >>>>> Now I have to ask, what I can do about wep that works on my Sept 20 >>>>> and earlier kernels and doesn't work on my recent kernels? >>>>> >>>>> Thanks, >>>>> >>>>> ed >>>>> >>>>> >>>> I don't know it this is related, but something changed with the WEP-key >>>> index. On my EeePC I had to change my wpa_supplicant.conf file to use >>>> wep_tx_keyidx=0 and wep_key0=mywepkey before I could get it to work. I the >>>> past it always worked with wep_tx_keyidx=1 and wep_key1=xxxxx. >>>> >>>> The funny thing is that ifconfig reports it as deftxkey 1 and wepkey 1 if >>>> I use index 0 in wpa_supplicant and ifconfig will report deftxkey 2 and >>>> wepkey 2 if I use index 1 in wpa_supplicant.conf >>>> >>>> >>> I believe it has always been true that key indices reported by ifconfig are >>> in the rage [1..4] while wpa_supplicant key indices specified in the config >>> file are [0..3]. I don't recall anything changing in that area for a long >>> time but I did make changes to the net80211 crypto code around that time. >>> >>> Sam >>> >> >> Thanks, Sam. What worries me is that I seem to be alone with this problem. >> > > This should be fixed by r184063. Please let me know if it does not > and sorry for taking so long to look at the problem. > > Sam Sam, thanks so much. It works perfectly. I just cvsuped and rebuilt all and rebooted and no problem what so ever with WEP plus it gave me the opportunity to learn more about the new wlan0, WEP and WPA. Thanks, again. ed From m4gicite at gmail.com Tue Oct 21 21:44:35 2008 From: m4gicite at gmail.com (Magicite) Date: Tue Oct 21 21:44:43 2008 Subject: Clevo M860TU Install Issues Message-ID: Hello, I purchased a new Clevo M860TU on the account that it ran linux very well and was hoping it would fair the same on FreeBSD. Not so much, little help? I'm giving you as much information as I know how to get. as I cannot get sysinstall to load I am having to type all these dmesg. The boot process is hanging. This is all with 7.x, I can give 6.x if needed. Hardware: Intel P9500 4gb DDR3-1066 Nvidia 9800M GT Atheros AR242x I can give linux equivilant commands when I am done installing that. Any input? Much appreciated. FreeBSD 7.1-BETA2 These snippets of dmesg happen around the end where it hangs. 1. Default ... cpu0: on acpi0 ACPI Error (dsopcode-0350): No pointer back to NS node in buffer obj 0xc6a02d40 [20070320] ACPI Exception (dswexec-0556): AE_AML_INTERNAL, While resolving operands for [OpcodeName unavailable] [20070320] ACPI Error (psparse-0626): Method parse/execution failed [\_PR_.CPU0._OSC] (Node 0xc68556e0), AE_AML_INTERNAL est0: on cpu0 p4tcc0: on cpu0 cpu1: on acpi0 ACPI Error (dsopcode-0350): No pointer back to NS node in buffer obj 0xc6a0e300 [20070320] ACPI Exception (dswexec-0556): AE_AML_INTERNAL, While resolving operands for [OpcodeName unavailable] [20070320] ACPI Error (psparse-0626): Method parse/execution failed [\_PR_.CPU1._OSC] (Node 0xc685560), AE_AML_INTERNAL est1: on cpu1 p4tcc1: on cpu1 ... cpu0: Cx states changed cpu1: Cx states changed unknown: timeout waiting for read DRQ unknown: timeout waiting for read DRQ acd0: DVDR at ata3-master UDMA33 GEOM_LABEL: Label for provider acd0 is iso9660/FreeBSD_Install run_interrupt_driven_hooks: still waiting after 60 seconds for xpt_config run_interrupt_driven_hooks: still waiting after 120 seconds for xpt_config run_interrupt_driven_hooks: still waiting after 180 seconds for xpt_config run_interrupt_driven_hooks: still waiting after 240 seconds for xpt_config run_interrupt_driven_hooks: still waiting after 300 seconds for xpt_config Then just stalls 2. No ACPI ... unknown: timeout waiting for read DRQ unknown: timeout waiting for read DRQ acd0: DVDR at ata3-master UDMA33 GEOM_LABEL: Label for provider acd0 is iso9660/FreeBSD_Install run_interrupt_driven_hooks: still waiting after 60 seconds for xpt_config run_interrupt_driven_hooks: still waiting after 120 seconds for xpt_config run_interrupt_driven_hooks: still waiting after 180 seconds for xpt_config run_interrupt_driven_hooks: still waiting after 240 seconds for xpt_config run_interrupt_driven_hooks: still waiting after 300 seconds for xpt_config Then just stalls 3. Safe Mode I can only tell you a little because console is spammed. It is the same as no ACPI, but with an interrupt storm. ... unknown: timeout waiting for read DRQ unknown: timeout waiting for read DRQ acd0: DVDR at ata3-master UDMA33 GEOM_LABEL: Label for provider acd0 is iso9660/FreeBSD_Install run_interrupt_driven_hooks: still waiting after 60 seconds for xpt_config run_interrupt_driven_hooks: still waiting after 120 seconds for xpt_config run_interrupt_driven_hooks: still waiting after 180 seconds for xpt_config run_interrupt_driven_hooks: still waiting after 240 seconds for xpt_config run_interrupt_driven_hooks: still waiting after 300 seconds for xpt_config When it gets to the unknowns, this is spammed. interrupt storm detected on "irq10:"; throttling interrupt source Other than the interupt storm spam, it is halted like the others. 4. Single User Mode Same as 1, Default 5. Verbose All I can tell you is what is spammed at the end. acpi: bad write to port 0x080 (32), val hex Where hex is ever increasing and loops when it hits 0xff01. I can also see run_interrupt_driven_hooks message in all the spam. Using some googling if you add the sysctl before boot debug.acpi.block_bad_io=1 it might be of some help. This just leads to a never ending loop of acpi errors - the scroll very fast and difficult to record might I add! ... acpi: bad write to port 0x080 (32), val hex ACPI Exception (evregion-0529): AE_BAD_PARAMETER, Returned by handler for [SystemIO] [20070320] ACPI Error (psparse-0626): Method parse/execution failed [\P8XH] (Node 0xc6850a60), AE_BAD_PARAMETER ACPI Error (psparse-0626): Method parse/execution failed [\_GPE._L01] [20070320] ACPI Exception (evgpe-0687): AE_BAD_PARAMETER, while evauating GPE method [_L01] [20070320] --repeat-- ... FreeBSD 7.0-REL 7.0 is a little different than 7.1. Messages are somewhat the same but they happen near the beginning of dmesg instead of around the end. The run_interrupt_driven_hooks issue is nonexistant as well, but it still hangs. I'm guessing that's a debug tool more than an error. 1. Default ... cpu0: on acpi0 ACPI Error (dsopcode-0350): No pointer back to NS node in buffer obj 0xc6862580 [20070320] ACPI Exception (dswexec-0556): AE_AML_INTERNAL, While resolving operands for [OpcodeName unavailable] [20070320] ACPI Error (psparse-0626): Method parse/execution failed [\_PR_.CPU0._OSC] (Node 0xc682d580), AE_AML_INTERNAL est0: on cpu0 p4tcc0: on cpu0 cpu1: on acpi0 ACPI Error (dsopcode-0350): No pointer back to NS node in buffer obj 0xc6861100 [20070320] ACPI Exception (dswexec-0556): AE_AML_INTERNAL, While resolving operands for [OpcodeName unavailable] [20070320] ACPI Error (psparse-0626): Method parse/execution failed [\_PR_.CPU1._OSC] (Node 0xc682d4a0), AE_AML_INTERNAL est1: on cpu1 p4tcc1: on cpu1 ... cpu0: Cx states changed cpu1: Cx states changed unknown: timeout waiting for read DRQ unknown: timeout waiting for read DRQ acd0: DVDR at ata3-master UDMA33 GEOM_LABEL: Label for provider acd0 is iso9660/FreeBSD_Install Hangs. 2. No ACPI .. unknown: timeout waiting for read DRQ unknown: timeout waiting for read DRQ .. Hangs. 3. Safe Mode Same interrupt storm as 7.1-BETA2. ... interrupt storm detected on "irq10:"; throttling interrupt source --repeat-- 4. Single User Mode Same as 1. Default. 5. Verbose Hang like normal, cannot see the ACPI errors since they fly off the scroll lock buffer. ... cpu0: Cx states changed cpu1: Cx states changed ... unknown: timeout waiting for read DRQ unknown: timeout waiting for read DRQ ... Thanks again. From gamato at users.sf.net Tue Oct 21 22:05:04 2008 From: gamato at users.sf.net (martinko) Date: Tue Oct 21 22:05:53 2008 Subject: Laptop suggestions? In-Reply-To: References: <1216910072.2251.8.camel@jill.exit.com> Message-ID: Matt Olander wrote: > On Jul 25, 2008, at 3:23 PM, Jeremy Messenger wrote: > >> On Thu, 24 Jul 2008 09:34:32 -0500, Frank Mayhar wrote: >> >>> My old Dell Inspiron 5160 has developed problems that I can't fix, sigh, >>> so it's time to replace it. I'm hoping for some good suggestions from >>> this list (cc'd to hackers for the exposure, I know everyone doesn't >>> read -mobile). >>> >>> My criteria: >>> * 3D acceleration. >>> * MiniPCI wireless (don't care which card, I'll replace it >>> anyway). >>> * At least 15" screen. >>> * Decent power consumption. >>> * Plays well with FreeBSD 7-stable. >>> >>> Nice to have: >>> * Dual core. >>> * >4GB memory. >>> * Working suspend/hibernate mode (and no, I'm not holding my >>> breath). >>> >>> So, suggestions? BTW, if I get a decent response I'll summarize it for >>> the list, along with the one I chose and my experience after >>> ordering/installing it. >> >> Maybe you can wait for this: >> >> http://www.ixsystems.com/products/bsd-laptop.html > > Hi everyone! I actually had our prototype of this laptop up at the OSCON > show in Portland and it was pretty well received. > Everything works for the most part although we're still tweaking some > things for ACPI. > > I'll have one at the FreeBSD booth at LinuxWorld in San Francisco next > week, August 5-7. We'll announce as soon as this thing is 100% and we're > comfortable bringing the product line up as an item that we're > comfortable supporting long term. Most likely, available to the general > public in September. > > best, > -matt > Hi, I have always thought that Fn key in left most bottom corner of the keyboard is, especially for programmers, a very bad idea. :-( Otherwise it looks very promising although DVI or HDMI video output would be very welcome these days as would be built-in Bluetooth. (Btw thanks for RS232!:)) Cheers, Martin From gamato at users.sf.net Tue Oct 21 22:12:26 2008 From: gamato at users.sf.net (martinko) Date: Tue Oct 21 22:12:32 2008 Subject: WPA/TKIP preferred to WPA2/AES ? Message-ID: Hallo, My wireless router has a configuration option to support both WPA / WPA2 at the same time, so when a wireless client cannot talk modern WPA2 it can use old WPA instead. Now it works naturally in Windows and apparently in Symbian too but unfortunately FreeBSD (6.4) picks up WPA and less secure TKIP instead of AES. Would it be possible to amend this behaviour and use better and newer protocols/algorithms/ciphers when available please ? (that is AES preferred to TKIP and WPA2 instead of WPA etc.) Thanks, Martin From sam at freebsd.org Tue Oct 21 23:47:21 2008 From: sam at freebsd.org (Sam Leffler) Date: Tue Oct 21 23:47:28 2008 Subject: WPA/TKIP preferred to WPA2/AES ? In-Reply-To: References: Message-ID: <48FE6A07.7000507@freebsd.org> martinko wrote: > Hallo, > > My wireless router has a configuration option to support both WPA / > WPA2 at the same time, so when a wireless client cannot talk modern > WPA2 it can use old WPA instead. > Now it works naturally in Windows and apparently in Symbian too but > unfortunately FreeBSD (6.4) picks up WPA and less secure TKIP instead > of AES. Would it be possible to amend this behaviour and use better > and newer protocols/algorithms/ciphers when available please ? (that > is AES preferred to TKIP and WPA2 instead of WPA etc.) > man wpa_supplicant.conf From des at des.no Wed Oct 22 11:24:30 2008 From: des at des.no (=?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?=) Date: Wed Oct 22 11:24:36 2008 Subject: Laptop suggestions? In-Reply-To: (martinko's message of "Tue, 21 Oct 2008 23:49:09 +0200") References: <1216910072.2251.8.camel@jill.exit.com> Message-ID: <86fxmox51m.fsf@ds4.des.no> martinko writes: > I have always thought that Fn key in left most bottom corner of the > keyboard is, especially for programmers, a very bad idea. :-( Seconded. Worse still, on my Lenovo T60, if the Fn key is held down longer than a fraction of a second, it generates an input event which just happens to correspond to Gnome's default key binding for the "next track" function in media players... DES -- Dag-Erling Sm?rgrav - des@des.no From kline at thought.org Wed Oct 22 17:36:51 2008 From: kline at thought.org (Gary Kline) Date: Wed Oct 22 17:36:56 2008 Subject: Laptop suggestions? In-Reply-To: <86fxmox51m.fsf@ds4.des.no> References: <1216910072.2251.8.camel@jill.exit.com> <86fxmox51m.fsf@ds4.des.no> Message-ID: <20081022173634.GA57706@thought.org> On Wed, Oct 22, 2008 at 01:06:29PM +0200, Dag-Erling Sm?rgrav wrote: > martinko writes: > > I have always thought that Fn key in left most bottom corner of the > > keyboard is, especially for programmers, a very bad idea. :-( > > Seconded. Worse still, on my Lenovo T60, if the Fn key is held down > longer than a fraction of a second, it generates an input event which > just happens to correspond to Gnome's default key binding for the "next > track" function in media players... > I've seen that Fn key, but don't know what it is for. What? you press it, then follow with the integers [ 1, 2, 3 ... ]? At any rate, maybe you can remap the key with ~/.xmodmaprc. -g > DES > -- > Dag-Erling Sm?rgrav - des@des.no > _______________________________________________ > freebsd-mobile@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-mobile > To unsubscribe, send any mail to "freebsd-mobile-unsubscribe@freebsd.org" -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org From gamato at users.sf.net Wed Oct 22 20:04:57 2008 From: gamato at users.sf.net (martinko) Date: Wed Oct 22 20:05:04 2008 Subject: WPA/TKIP preferred to WPA2/AES ? In-Reply-To: <48FE6A07.7000507@freebsd.org> References: <48FE6A07.7000507@freebsd.org> Message-ID: Sam Leffler wrote: > martinko wrote: >> Hallo, >> >> My wireless router has a configuration option to support both WPA / >> WPA2 at the same time, so when a wireless client cannot talk modern >> WPA2 it can use old WPA instead. >> Now it works naturally in Windows and apparently in Symbian too but >> unfortunately FreeBSD (6.4) picks up WPA and less secure TKIP instead >> of AES. Would it be possible to amend this behaviour and use better >> and newer protocols/algorithms/ciphers when available please ? (that >> is AES preferred to TKIP and WPA2 instead of WPA etc.) >> > > man wpa_supplicant.conf Yeah, I could use proto="RSN WPA" but I was wondering whether it wouldn't be better if the system autoselected the best available protocol/cipher (if not specified otherwise) which in this case would be WPA2/CCMP instead of WPA/TKIP. Or is it not desirable for some reasons? Cheers, Martin From neldredge at math.ucsd.edu Wed Oct 22 20:18:35 2008 From: neldredge at math.ucsd.edu (Nate Eldredge) Date: Wed Oct 22 20:18:57 2008 Subject: Laptop suggestions? In-Reply-To: <20081022173634.GA57706@thought.org> References: <1216910072.2251.8.camel@jill.exit.com> <86fxmox51m.fsf@ds4.des.no> <20081022173634.GA57706@thought.org> Message-ID: On Wed, 22 Oct 2008, Gary Kline wrote: > On Wed, Oct 22, 2008 at 01:06:29PM +0200, Dag-Erling Sm?rgrav wrote: >> martinko writes: >>> I have always thought that Fn key in left most bottom corner of the >>> keyboard is, especially for programmers, a very bad idea. :-( >> >> Seconded. Worse still, on my Lenovo T60, if the Fn key is held down >> longer than a fraction of a second, it generates an input event which >> just happens to correspond to Gnome's default key binding for the "next >> track" function in media players... >> > > > I've seen that Fn key, but don't know what it is for. What? you press > it, then follow with the integers [ 1, 2, 3 ... ]? At any rate, maybe > you can remap the key with ~/.xmodmaprc. Fn is usually used on laptop keyboards to allow two logical keys to share a single physical key. For example, see the keyboard pictured at http://www.notebookreview.com/assets/3415.jpg . On the extreme lower right is a key with "->" in white and "End" in blue. Pressing it by itself sends the keycode corresponding to an ordinary keyboard's "->" key. Holding Fn and pressing that key sends the keycode corresponding to an ordinary keyboard's "End" key. On many keyboards, pressing Fn by itself sends no keycode at all, so it cannot be remapped. It is also sometimes used to control hardware features which on a desktop machine might have a different interface. For instance, on the laptop pictured, holding Fn and pressing F6 would increase the screen brightness, probably without sending a keycode. A desktop machine would probably have a button on the monitor itself to do this. -- Nate Eldredge neldredge@math.ucsd.edu From koitsu at FreeBSD.org Wed Oct 22 20:47:47 2008 From: koitsu at FreeBSD.org (Jeremy Chadwick) Date: Wed Oct 22 20:47:53 2008 Subject: Laptop suggestions? In-Reply-To: References: <1216910072.2251.8.camel@jill.exit.com> <86fxmox51m.fsf@ds4.des.no> <20081022173634.GA57706@thought.org> Message-ID: <20081022203143.GA67740@icarus.home.lan> On Wed, Oct 22, 2008 at 01:06:20PM -0700, Nate Eldredge wrote: > On Wed, 22 Oct 2008, Gary Kline wrote: > >> On Wed, Oct 22, 2008 at 01:06:29PM +0200, Dag-Erling Sm?rgrav wrote: >>> martinko writes: >>>> I have always thought that Fn key in left most bottom corner of the >>>> keyboard is, especially for programmers, a very bad idea. :-( >>> >>> Seconded. Worse still, on my Lenovo T60, if the Fn key is held down >>> longer than a fraction of a second, it generates an input event which >>> just happens to correspond to Gnome's default key binding for the "next >>> track" function in media players... >> >> I've seen that Fn key, but don't know what it is for. What? you press >> it, then follow with the integers [ 1, 2, 3 ... ]? At any rate, maybe >> you can remap the key with ~/.xmodmaprc. > > Fn is usually used on laptop keyboards to allow two logical keys to share > a single physical key. For example, see the keyboard pictured at > http://www.notebookreview.com/assets/3415.jpg . On the extreme lower > right is a key with "->" in white and "End" in blue. Pressing it by > itself sends the keycode corresponding to an ordinary keyboard's "->" > key. Holding Fn and pressing that key sends the keycode corresponding to > an ordinary keyboard's "End" key. On many keyboards, pressing Fn by > itself sends no keycode at all, so it cannot be remapped. > > It is also sometimes used to control hardware features which on a desktop > machine might have a different interface. For instance, on the laptop > pictured, holding Fn and pressing F6 would increase the screen > brightness, probably without sending a keycode. A desktop machine would > probably have a button on the monitor itself to do this. I always figured "Fn" was a good name for the key, given that it resembles the expletive that comes forth from my mouth when intending to hit Control. http://www.notebookreview.com/assets/9328.jpg ;-) -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB | From kline at thought.org Wed Oct 22 22:59:51 2008 From: kline at thought.org (Gary Kline) Date: Wed Oct 22 23:00:04 2008 Subject: Laptop suggestions? In-Reply-To: <20081022203143.GA67740@icarus.home.lan> References: <1216910072.2251.8.camel@jill.exit.com> <86fxmox51m.fsf@ds4.des.no> <20081022173634.GA57706@thought.org> <20081022203143.GA67740@icarus.home.lan> Message-ID: <1224716380.58305.44.camel@tao.thought.org> On Wed, 2008-10-22 at 13:31 -0700, Jeremy Chadwick wrote: > On Wed, Oct 22, 2008 at 01:06:20PM -0700, Nate Eldredge wrote: > > On Wed, 22 Oct 2008, Gary Kline wrote: > > > >> On Wed, Oct 22, 2008 at 01:06:29PM +0200, Dag-Erling Sm?rgrav wrote: > >>> martinko writes: > >>>> I have always thought that Fn key in left most bottom corner of the > >>>> keyboard is, especially for programmers, a very bad idea. :-( > >>> > >>> Seconded. Worse still, on my Lenovo T60, if the Fn key is held down > >>> longer than a fraction of a second, it generates an input event which > >>> just happens to correspond to Gnome's default key binding for the "next > >>> track" function in media players... > >> > >> I've seen that Fn key, but don't know what it is for. What? you press > >> it, then follow with the integers [ 1, 2, 3 ... ]? At any rate, maybe > >> you can remap the key with ~/.xmodmaprc. > > > > Fn is usually used on laptop keyboards to allow two logical keys to share > > a single physical key. For example, see the keyboard pictured at > > http://www.notebookreview.com/assets/3415.jpg . On the extreme lower > > right is a key with "->" in white and "End" in blue. Pressing it by > > itself sends the keycode corresponding to an ordinary keyboard's "->" > > key. Holding Fn and pressing that key sends the keycode corresponding to > > an ordinary keyboard's "End" key. On many keyboards, pressing Fn by > > itself sends no keycode at all, so it cannot be remapped. > > > > It is also sometimes used to control hardware features which on a desktop > > machine might have a different interface. For instance, on the laptop > > pictured, holding Fn and pressing F6 would increase the screen > > brightness, probably without sending a keycode. A desktop machine would > > probably have a button on the monitor itself to do this. Thanks for clearing up a back-of-mind mystery since I bought my 600E in 2003; I kept hitting the "Fn" for the ^ key, and *nothing happened* so I had to re-type the control sequence. It is an ill-planned layout and I'm sure that 'BM has heard about it from us hacker types. --Why this is the best list in the (known) universe. Seriously. > > I always figured "Fn" was a good name for the key, given that it > resembles the expletive that comes forth from my mouth when intending to > hit Control. That ain't that much of a joke, Jeremy. unless I'm at my desk with wrist-rest I can barely reach the back keys. [shoulder problems]. So far I've invented around 7--maybe 8--new profanities. BTW, if that jpeg is a Lenovo, is that a scratch-and-sniff pad below the mouse buttons? (The TPad's *did* need a redesign, but for me, the trakmouse/trakstick/<> was perfect. My left paw went right there.) ...FWIW, I just bought a G41 (3.06GHz) pre-Lenovo. gary > > http://www.notebookreview.com/assets/9328.jpg > > ;-) > From des at des.no Thu Oct 23 11:41:36 2008 From: des at des.no (=?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?=) Date: Thu Oct 23 11:41:43 2008 Subject: Laptop suggestions? In-Reply-To: <20081022173634.GA57706@thought.org> (Gary Kline's message of "Wed, 22 Oct 2008 10:36:34 -0700") References: <1216910072.2251.8.camel@jill.exit.com> <86fxmox51m.fsf@ds4.des.no> <20081022173634.GA57706@thought.org> Message-ID: <86fxmn35e9.fsf@ds4.des.no> Gary Kline writes: > I've seen that Fn key, but don't know what it is for. What? you press > it, then follow with the integers [ 1, 2, 3 ... ]? At any rate, maybe > you can remap the key with ~/.xmodmaprc. They're used to access keys which won't physically fit on a laptop keyboard, such as the numeric keypad, NumLock, ScrollLock etc., and (along with function keys) to control hardware-specific functions like switching between internal and external display, turning bluetooth and wlan on and off, adjusting the backlight brightness, etc. DES -- Dag-Erling Sm?rgrav - des@des.no From smithi at nimnet.asn.au Thu Oct 23 13:09:09 2008 From: smithi at nimnet.asn.au (Ian Smith) Date: Thu Oct 23 13:09:16 2008 Subject: Laptop suggestions? In-Reply-To: <86fxmn35e9.fsf@ds4.des.no> References: <1216910072.2251.8.camel@jill.exit.com> <86fxmox51m.fsf@ds4.des.no> <20081022173634.GA57706@thought.org> <86fxmn35e9.fsf@ds4.des.no> Message-ID: <20081023235822.I4254@sola.nimnet.asn.au> On Thu, 23 Oct 2008, Dag-Erling Sm?rgrav wrote: > Gary Kline writes: > > I've seen that Fn key, but don't know what it is for. What? you press > > it, then follow with the integers [ 1, 2, 3 ... ]? At any rate, maybe > > you can remap the key with ~/.xmodmaprc. > > They're used to access keys which won't physically fit on a laptop > keyboard, such as the numeric keypad, NumLock, ScrollLock etc., and > (along with function keys) to control hardware-specific functions like > switching between internal and external display, turning bluetooth and > wlan on and off, adjusting the backlight brightness, etc. Not to mention the wonderful thinklight .. Re your original issue, can you get any mileage out of using acpi_ibm, devd and this post and/or the other one it references: http://lists.freebsd.org/mailman/htdig/freebsd-mobile/2006-August/008959.html Seems strange a 'naked' Fn key doing something while running, though pressing Fn alone (or lifting the lid) wakes my T23 from its slumber. cheers, Ian From des at des.no Thu Oct 23 13:23:36 2008 From: des at des.no (=?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?=) Date: Thu Oct 23 13:23:43 2008 Subject: Laptop suggestions? In-Reply-To: <20081023235822.I4254@sola.nimnet.asn.au> (Ian Smith's message of "Fri, 24 Oct 2008 00:08:59 +1100 (EST)") References: <1216910072.2251.8.camel@jill.exit.com> <86fxmox51m.fsf@ds4.des.no> <20081022173634.GA57706@thought.org> <86fxmn35e9.fsf@ds4.des.no> <20081023235822.I4254@sola.nimnet.asn.au> Message-ID: <86od1b1m3s.fsf@ds4.des.no> Ian Smith writes: > Re your original issue, can you get any mileage out of using acpi_ibm, > devd and this post and/or the other one it references: The laptop in question does not run FreeBSD. I gave up running FreeBSD on any sort of desktop or laptop computer years ago. DES -- Dag-Erling Sm?rgrav - des@des.no From jorgen.asmussen at gmail.com Sun Oct 26 19:52:47 2008 From: jorgen.asmussen at gmail.com (Jok) Date: Sun Oct 26 19:52:54 2008 Subject: Beacon stuck on ath0 Message-ID: Oct 26 20:18:21 right kernel: ath0: stuck beacon; resetting (bmiss count 4) I got a lot of those messages in dmesg and the only way to reset the card is to turn off the server and turn it back on, which isn't very practical since it is my gateway. FreeBSD right.frequency.dk 7.1-PRERELEASE-p1 FreeBSD 7.1-PRERELEASE-p1 #0: Sun Oct 5 09:53:37 UTC 2008 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 FreeBSD 7.0 was even worse with a lot of stuck beacon and rx FIFO overrun. Anything I can do to help debug it? From gamato at users.sf.net Mon Oct 27 00:13:49 2008 From: gamato at users.sf.net (martinko) Date: Mon Oct 27 00:13:56 2008 Subject: WPA/TKIP preferred to WPA2/AES ? In-Reply-To: References: <48FE6A07.7000507@freebsd.org> Message-ID: martinko wrote: > Sam Leffler wrote: >> martinko wrote: >>> Hallo, >>> >>> My wireless router has a configuration option to support both WPA / >>> WPA2 at the same time, so when a wireless client cannot talk modern >>> WPA2 it can use old WPA instead. >>> Now it works naturally in Windows and apparently in Symbian too but >>> unfortunately FreeBSD (6.4) picks up WPA and less secure TKIP instead >>> of AES. Would it be possible to amend this behaviour and use better >>> and newer protocols/algorithms/ciphers when available please ? (that >>> is AES preferred to TKIP and WPA2 instead of WPA etc.) >>> >> >> man wpa_supplicant.conf > > Yeah, I could use proto="RSN WPA" but I was wondering whether it > wouldn't be better if the system autoselected the best available > protocol/cipher (if not specified otherwise) which in this case would be > WPA2/CCMP instead of WPA/TKIP. Or is it not desirable for some reasons? > I've checked it with 7.0 and 7.1 and there's an improvement -- both of them autoselected WPA2 but cipher was still TKIP -- it's better than in 6.x yet still not ideal (which would be WPA2/AES-CCM in this case). M. From dlangille at afilias.info Mon Oct 27 03:10:48 2008 From: dlangille at afilias.info (Dan Langille) Date: Mon Oct 27 03:10:55 2008 Subject: ThinkPad X61s - mic? Message-ID: <49052AD1.4070208@afilias.info> Hi, I'm working on getting Skype working. This URL helped me get the sound going on my ThinkPad X61s running FreeBSD 7.0-STABLE: http://const-cast.blogspot.com/2008/05/installing-skype-on-freebsd.html I cannot get my microphone working. On my Skype test call I can hear them, they cannot hear me. $ mixer Mixer vol is currently set to 100:100 Mixer pcm is currently set to 81:81 Mixer speaker is currently set to 81:81 Mixer mic is currently set to 40:40 Mixer rec is currently set to 80:80 Recording source: mic $ cat /dev/sndstat FreeBSD Audio Driver (newpcm: 64bit 2007061600/amd64) Installed devices: pcm0: at memory 0xf8220000 irq 17 kld snd_hda [20071129_0050] [MPSAFE] (1p:2v/1r:1v channels duplex default) Ideas please? From onemda at gmail.com Mon Oct 27 07:30:20 2008 From: onemda at gmail.com (Paul B. Mahol) Date: Mon Oct 27 07:30:27 2008 Subject: ThinkPad X61s - mic? In-Reply-To: <49052AD1.4070208@afilias.info> References: <49052AD1.4070208@afilias.info> Message-ID: <3a142e750810270030j1669e832sa1c8bbe2a68222a7@mail.gmail.com> On 10/27/08, Dan Langille wrote: > Hi, > > I'm working on getting Skype working. This URL helped me get the sound > going on my ThinkPad X61s running FreeBSD 7.0-STABLE: > > http://const-cast.blogspot.com/2008/05/installing-skype-on-freebsd.html > > I cannot get my microphone working. On my Skype test call I can hear > them, they cannot hear me. Does recording works in native applications? > $ mixer > Mixer vol is currently set to 100:100 > Mixer pcm is currently set to 81:81 > Mixer speaker is currently set to 81:81 > Mixer mic is currently set to 40:40 > Mixer rec is currently set to 80:80 > Recording source: mic > > $ cat /dev/sndstat > FreeBSD Audio Driver (newpcm: 64bit 2007061600/amd64) > Installed devices: > pcm0: at memory > 0xf8220000 irq 17 kld snd_hda [20071129_0050] [MPSAFE] (1p:2v/1r:1v > channels duplex default) > > Ideas please? > _______________________________________________ > freebsd-mobile@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-mobile > To unsubscribe, send any mail to "freebsd-mobile-unsubscribe@freebsd.org" > From mav at mavhome.dp.ua Mon Oct 27 10:49:32 2008 From: mav at mavhome.dp.ua (Alexander Motin) Date: Mon Oct 27 10:49:38 2008 Subject: ThinkPad X61s - mic? In-Reply-To: <1225088583.00029458.1225077602@10.7.7.3> References: <1225088583.00029458.1225077602@10.7.7.3> Message-ID: <49058EA9.3080406@mavhome.dp.ua> Dan Langille wrote: > I cannot get my microphone working. On my Skype test call I can hear > them, they cannot hear me. > > Ideas please? Take the latest 20081024_0114 snd_hda driver from -CURRENT. -- Alexander Motin From dan at langille.org Mon Oct 27 15:09:46 2008 From: dan at langille.org (Dan Langille) Date: Mon Oct 27 15:09:57 2008 Subject: ThinkPad X61s - mic? In-Reply-To: <3a142e750810270030j1669e832sa1c8bbe2a68222a7@mail.gmail.com> References: <49052AD1.4070208@afilias.info> <3a142e750810270030j1669e832sa1c8bbe2a68222a7@mail.gmail.com> Message-ID: <774FBEB1-6CB1-4884-9A51-644CEA8EC293@langille.org> On Oct 27, 2008, at 3:30 AM, Paul B. Mahol wrote: > On 10/27/08, Dan Langille wrote: >> Hi, >> >> I'm working on getting Skype working. This URL helped me get the >> sound >> going on my ThinkPad X61s running FreeBSD 7.0-STABLE: >> >> http://const-cast.blogspot.com/2008/05/installing-skype-on-freebsd.html >> >> I cannot get my microphone working. On my Skype test call I can hear >> them, they cannot hear me. > > Does recording works in native applications? I do not know. What native applications can I try and how? FWIW, I discovered last night that if I plug in my headset (mic + headphones) then everything works. > >> $ mixer >> Mixer vol is currently set to 100:100 >> Mixer pcm is currently set to 81:81 >> Mixer speaker is currently set to 81:81 >> Mixer mic is currently set to 40:40 >> Mixer rec is currently set to 80:80 >> Recording source: mic >> >> $ cat /dev/sndstat >> FreeBSD Audio Driver (newpcm: 64bit 2007061600/amd64) >> Installed devices: >> pcm0: at memory >> 0xf8220000 irq 17 kld snd_hda [20071129_0050] [MPSAFE] (1p:2v/1r:1v >> channels duplex default) >> >> Ideas please? -- Dan Langille http://langille.org/ From onemda at gmail.com Mon Oct 27 19:11:27 2008 From: onemda at gmail.com (Paul B. Mahol) Date: Mon Oct 27 19:11:33 2008 Subject: ThinkPad X61s - mic? In-Reply-To: <774FBEB1-6CB1-4884-9A51-644CEA8EC293@langille.org> References: <49052AD1.4070208@afilias.info> <3a142e750810270030j1669e832sa1c8bbe2a68222a7@mail.gmail.com> <774FBEB1-6CB1-4884-9A51-644CEA8EC293@langille.org> Message-ID: <3a142e750810271211y3774fc23j5adc078869d2a3ca@mail.gmail.com> On 10/27/08, Dan Langille wrote: > > On Oct 27, 2008, at 3:30 AM, Paul B. Mahol wrote: > >> On 10/27/08, Dan Langille wrote: >>> Hi, >>> >>> I'm working on getting Skype working. This URL helped me get the >>> sound >>> going on my ThinkPad X61s running FreeBSD 7.0-STABLE: >>> >>> http://const-cast.blogspot.com/2008/05/installing-skype-on-freebsd.html >>> >>> I cannot get my microphone working. On my Skype test call I can hear >>> them, they cannot hear me. >> >> Does recording works in native applications? > > I do not know. What native applications can I try and how? > > FWIW, I discovered last night that if I plug in my headset (mic + > headphones) > then everything works. > As was already pointed new hda code from CURRENT should fix this issue. Speaking about native recording examples, try audio/listener, audio/audacity, net/ekiga and others ... >> >>> $ mixer >>> Mixer vol is currently set to 100:100 >>> Mixer pcm is currently set to 81:81 >>> Mixer speaker is currently set to 81:81 >>> Mixer mic is currently set to 40:40 >>> Mixer rec is currently set to 80:80 >>> Recording source: mic >>> >>> $ cat /dev/sndstat >>> FreeBSD Audio Driver (newpcm: 64bit 2007061600/amd64) >>> Installed devices: >>> pcm0: at memory >>> 0xf8220000 irq 17 kld snd_hda [20071129_0050] [MPSAFE] (1p:2v/1r:1v >>> channels duplex default) >>> >>> Ideas please? > > -- > Dan Langille > http://langille.org/ > > > > > From gaijin.k at gmail.com Mon Oct 27 21:49:18 2008 From: gaijin.k at gmail.com (Alexandre "Sunny" Kovalenko) Date: Mon Oct 27 21:49:25 2008 Subject: RFC: PCI SD host controller driver & mmc/mmcsd modules improvements In-Reply-To: <48F11087.20403@FreeBSD.org> References: <48DEA8E7.2080503@FreeBSD.org> <48F11087.20403@FreeBSD.org> Message-ID: <1225144135.1052.18.camel@RabbitsDen> On Sat, 2008-10-11 at 23:45 +0300, Alexander Motin wrote: > Alexander Motin wrote: > > I would like to present initial revision of my generic PCI SD Host > > Controller driver (sdhci). It support PCI devices with class 8 and > > subclass 5 according to SD Host Controller Specification. > > > > Latest patches against 8-CURRENT (mostly fit 7-STABLE) may be found at: > > http://people.freebsd.org/~mav/sdhci/ > > For those who are not tracking actively, I would like to report that > most of original driver's child illnesses are now healed. > > Driver now supports both PIO and DMA modes. Because of some special > tunings DMA works fine even on almost broken ENE chips. I am reaching > 15MB/s transfer (maximum for my controller's bus) with only about 1% of > CPU load. Implemented 4 bits bus width and high speed timing modes > support for high data rates up to 52MHz. Cards hot insertion/removing is > now working. Together with in-tree mmc/mmcsd drivers improvements most > of card types (SD, SDHC, standard and high capacity MMC) are now supported. > This works well on my ThinkPad X60 (1709-73U) with RELENG_7 circa October 23rd (s/kproc/kthread/, thanks to Oleksandr Tymoshenko): sdhci0: mem 0xe4301800-0xe43018ff irq 18 at device 0.2 on pci21 sdhci0: 1 slot(s) allocated sdhci0: [ITHREAD] Tested with 1GB, 2GB and 4GB (SDHC) cards. The side note: write-lock switch on the card was also correctly detected and reported. Thank you very much for your work! -- Alexandre "Sunny" Kovalenko (????????? ?????????) From guru at unixarea.de Wed Oct 29 09:37:24 2008 From: guru at unixarea.de (Matthias Apitz) Date: Wed Oct 29 09:37:31 2008 Subject: tangoGPS && FreeBSD 7.0 Message-ID: <20081029092516.GA3095@rebelion.Sisis.de> Hello, Is anybody aware of a port of tangoGPS http://www.tangogps.org/gps/cat/About to FreeBSD 7.0? It runs it in my Linux based cellphone Openmoko FreeRunner and it would be nice to have it as well in my eeePC (just for having better capacity for cached maps of OpenStreetMap and a bigger display). What kind of USB based GPS devices could be used in this eeePC with FreeBSD 7.0? Thx matthias -- Matthias Apitz Manager Technical Support - OCLC GmbH Gruenwalder Weg 28g - 82041 Oberhaching - Germany t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.oclc.org/ http://www.UnixArea.de/ b http://gurucubano.blogspot.com/ A computer is like an air conditioner, it stops working when you open Windows Una computadora es como aire acondicionado, deja de funcionar si abres Windows From rpaulo at fnop.net Wed Oct 29 12:23:54 2008 From: rpaulo at fnop.net (Rui Paulo) Date: Wed Oct 29 12:24:00 2008 Subject: tangoGPS && FreeBSD 7.0 In-Reply-To: <20081029092516.GA3095@rebelion.Sisis.de> References: <20081029092516.GA3095@rebelion.Sisis.de> Message-ID: On 29 Oct 2008, at 09:25, Matthias Apitz wrote: > > Hello, > > Is anybody aware of a port of tangoGPS http://www.tangogps.org/gps/cat/About > to FreeBSD 7.0? It runs it in my Linux based cellphone Openmoko > FreeRunner and it would be nice to have it as well in my eeePC (just > for > having better capacity for cached maps of OpenStreetMap and a bigger > display). What kind of USB based GPS devices could be used in this > eeePC with FreeBSD 7.0? Googling shows http://www.deluoelectronics.com/customer/product.php?productid=60&cat=0&page as a possible option. I don't have it, but people have been using it with FreeBSD, as far as I can tell. Regards, -- Rui Paulo From mickey242 at gmx.net Wed Oct 29 14:55:02 2008 From: mickey242 at gmx.net (Andreas Wetzel) Date: Wed Oct 29 14:55:10 2008 Subject: tangoGPS && FreeBSD 7.0 In-Reply-To: <20081029092516.GA3095@rebelion.Sisis.de> References: <20081029092516.GA3095@rebelion.Sisis.de> Message-ID: <490872FF.8020001@gmx.net> Hi Matthias Apitz wrote: > Is anybody aware of a port of tangoGPS http://www.tangogps.org/gps/cat/About > to FreeBSD 7.0? It runs it in my Linux based cellphone Openmoko > FreeRunner and it would be nice to have it as well in my eeePC (just for > having better capacity for cached maps of OpenStreetMap and a bigger > display). What kind of USB based GPS devices could be used in this > eeePC with FreeBSD 7.0? I think every GPS receiver that outputs messages in generic NMEA 0183 format should do. A small problem could be the serial to USB converter chipset used in the device, as most manufacturers do not mention the chip type anywhere in their specs. I have successfully been using a GPS-M Pro USB receiver with MTK chipset with navit (http://www.navit-project.org/) and gpsd (astro/gpsd). In order to get it to work, i had to get the uslcom driver from 7-stable though, which is not contained in 7.0-RELEASE. Maybe you want to take a look at gpsd (http://gpsd.berlios.de/), which supports a wide variety of GPS devices and provides the data to gpsd aware applications. Kind regards -- Keep it icy man. I don't want to end up a corpse before my time because you were daydreaming. From eculp at cloudmaster.info Fri Oct 31 17:29:12 2008 From: eculp at cloudmaster.info (eculp@cloudmaster.info) Date: Fri Oct 31 17:29:20 2008 Subject: Any success with the Acer Crystal Eye Webcam? Message-ID: <20081031192820.17qwm4xcso80osgg8@intranet.cloudmaster.info> Mine class="incorrect">incorrect" class="class="incorrect">incorrect">class="class="incorrect">incorrect">is class="incorrect">incorrect" class="class="incorrect">incorrect">class="class="incorrect">incorrect">in a class="incorrect">incorrect" class="class="incorrect">incorrect">class="class="incorrect">incorrect">Acer Aspire class="incorrect">incorrect" class="class="incorrect">incorrect">class="class="incorrect">incorrect">running class="incorrect">incorrect" class="class="incorrect">incorrect">class="class="incorrect">incorrect">today's class="incorrect">incorrect" class="class="incorrect">incorrect">class="class="incorrect">incorrect">current. # class="incorrect">incorrect" class="class="incorrect">incorrect">class="class="incorrect">incorrect">uname -s class="incorrect">incorrect" class="class="incorrect">incorrect">class="class="incorrect">incorrect">FreeBSD ed.local.net.mx 8.0-class="incorrect">incorrect" class="class="incorrect">incorrect">class="class="incorrect">incorrect">CURRENT class="incorrect">incorrect" class="class="incorrect">incorrect">class="class="incorrect">incorrect">FreeBSD 8.0-class="incorrect">incorrect" class="class="incorrect">incorrect">class="class="incorrect">incorrect">CURRENT #69: class="incorrect">incorrect" class="class="incorrect">incorrect">class="class="incorrect">incorrect">Fri Oct 31 05:52:19 class="incorrect">incorrect" class="class="incorrect">incorrect">class="class="incorrect">incorrect">CST 2008 class="incorrect">incorrect" class="class="incorrect">incorrect">class="class="incorrect">incorrect">root@ed.local.net.mx:/usr/obj/usr/src/sys/ENCONTACTO i386 class="incorrect">incorrect" class="class="incorrect">incorrect">class="class="incorrect">incorrect">Ports class="incorrect">incorrect" class="class="incorrect">incorrect">class="class="incorrect">incorrect">up class="incorrect">incorrect" class="class="incorrect">incorrect">class="class="incorrect">incorrect">to date, etc. class="incorrect">incorrect" class="class="incorrect">incorrect">class="class="incorrect">incorrect">The class="incorrect">incorrect" class="class="incorrect">incorrect">class="class="incorrect">incorrect">dmesg class="incorrect">incorrect" class="class="incorrect">incorrect">class="class="incorrect">incorrect">is: usb1: class="incorrect">incorrect" class="class="incorrect">incorrect">class="class="incorrect">incorrect">EHCI class="incorrect">incorrect" class="class="incorrect">incorrect">class="class="incorrect">incorrect">version 1.0 usb1: class="incorrect">incorrect" class="class="incorrect">incorrect">class="class="incorrect">incorrect">companion class="incorrect">incorrect" class="class="incorrect">incorrect">class="class="incorrect">incorrect">controller, 12 class="incorrect">incorrect" class="class="incorrect">incorrect">class="class="incorrect">incorrect">ports class="incorrect">incorrect" class="class="incorrect">incorrect">class="class="incorrect">incorrect">each: usb0 usb1: incorrect" class="class="incorrect">incorrect">class="class="incorrect">incorrect">EHCI (class="incorrect">incorrect" class="class="incorrect">incorrect">class="class="incorrect">incorrect">generic) class="incorrect">incorrect" class="class="incorrect">incorrect">class="class="incorrect">incorrect">USB 2.0 class="incorrect">incorrect" class="class="incorrect">incorrect">class="class="incorrect">incorrect">controller> class="incorrect">incorrect" class="class="incorrect">incorrect">class="class="incorrect">incorrect">on ehci0 usb1: class="incorrect">incorrect" class="class="incorrect">incorrect">class="class="incorrect">incorrect">USB class="incorrect">incorrect" class="class="incorrect">incorrect">class="class="incorrect">incorrect">revision 2.0 uhub1: incorrect" class="class="incorrect">incorrect">class="class="incorrect">incorrect">nVidia class="incorrect">incorrect" class="class="incorrect">incorrect">class="class="incorrect">incorrect">EHCI class="incorrect">incorrect" class="class="incorrect">incorrect">class="class="incorrect">incorrect">root class="incorrect">incorrect" class="class="incorrect">incorrect">class="class="incorrect">incorrect">hub, class="incorrect">incorrect" class="class="incorrect">incorrect">class 9/0, rev 2.00/1.00, addr 1> class="incorrect">incorrect" class="class="incorrect">incorrect">class="class="incorrect">incorrect">on usb1 uhub1: 5 class="incorrect">incorrect" class="class="incorrect">incorrect">class="class="incorrect">incorrect">ports with 5 removable, self powered ugen0: incorrect" class="class="incorrect">incorrect">class="class="incorrect">incorrect">Acer CrystalEye webcam, class="incorrect">incorrect" class="class="incorrect">incorrect">class 239/2, rev 2.00/1.00, addr 2> class="incorrect">incorrect" class="class="incorrect">incorrect">class="class="incorrect">incorrect">on uhub1 ohci1: incorrect" class="class="incorrect">incorrect">class="class="incorrect">incorrect">generic) class="incorrect">incorrect" class="class="incorrect">incorrect">class="class="incorrect">incorrect">USB class="incorrect">incorrect" class="class="incorrect">incorrect">class="class="incorrect">incorrect">controller> mem 0xd0887000-0xd0887fff irq 23 at device 4.0 class="incorrect">incorrect" class="class="incorrect">incorrect">class="class="incorrect">incorrect">on pci0 ohci1: [GIANT-LOCKED] ohci1: [ITHREAD] Any information or suggestions appreciated. ed From eculp at cloudmaster.info Fri Oct 31 18:11:27 2008 From: eculp at cloudmaster.info (eculp@cloudmaster.info) Date: Fri Oct 31 18:11:34 2008 Subject: Has anyone had success with the Acer Crystal Eye Webcam? Message-ID: <20081031201035.17qwm4xcsoask8s4k@intranet.cloudmaster.info> The previous email had class errors generated from my spell checker, sorry. I've disabled it. Hopefully this onw will be ok. The Crystal Eye webcam is on an Acer aspire laptop running today's current with all up to date. uname -a FreeBSD casasponti.net 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #339: Thu Oct 30 10:14:17 CST 2008 root@casasponti.net:/usr/obj/usr/src/sys/ENCONTACTO i386 standard dmesg: usb1: EHCI version 1.0 usb1: companion controller, 12 ports each: usb0 usb1: on ehci0 usb1: USB revision 2.0 uhub1: on usb1 uhub1: 5 ports with 5 removable, self powered ugen0: on uhub1 ohci1: mem 0xd0887000-0xd0887fff irq 23 at device 4.0 on pci0 ohci1: [GIANT-LOCKED] ohci1: [ITHREAD] Any ideas would be appreciated, ed