From owner-freebsd-mobile@FreeBSD.ORG Sun Oct 12 07:29:09 2008 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5452F1065686 for ; Sun, 12 Oct 2008 07:29:09 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from sola.nimnet.asn.au (paqi.nimnet.asn.au [220.233.188.227]) by mx1.freebsd.org (Postfix) with ESMTP id AE44D8FC13 for ; Sun, 12 Oct 2008 07:29:08 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from localhost (localhost [127.0.0.1]) by sola.nimnet.asn.au (8.14.2/8.14.2) with ESMTP id m9C7T6v7085905; Sun, 12 Oct 2008 18:29:06 +1100 (EST) (envelope-from smithi@nimnet.asn.au) Date: Sun, 12 Oct 2008 18:29:05 +1100 (EST) From: Ian Smith To: Gary Kline In-Reply-To: <20081011093828.GB79660@thought.org> Message-ID: <20081012171558.V16723@sola.nimnet.asn.au> References: <20081010234314.GA54139@thought.org> <20081011121019.F16723@sola.nimnet.asn.au> <20081011093828.GB79660@thought.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: FreeBSD Mobile Mailing List Subject: Re: ThinkPad 3GHz [[ alledgedly]] X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Oct 2008 07:29:09 -0000 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 owner-freebsd-mobile@FreeBSD.ORG Sun Oct 12 11:08:44 2008 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0E53B106571A for ; Sun, 12 Oct 2008 11:08:44 +0000 (UTC) (envelope-from henry.hu.sh@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.157]) by mx1.freebsd.org (Postfix) with ESMTP id 889A18FC15 for ; Sun, 12 Oct 2008 11:08:43 +0000 (UTC) (envelope-from henry.hu.sh@gmail.com) Received: by fg-out-1718.google.com with SMTP id l26so875940fgb.35 for ; Sun, 12 Oct 2008 04:08:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=vtgdh00wyJ4Fdfb67AREHcC36Uq5+xhxOuVvex/Ag1A=; b=qT/wiEoCWWK2NvDQ5BjVu18Xzgp94qeLnDZiD47ZLUPQrEzYV81UjHY4irHMespUXH ivQ1E8CY17Ol7Ne7tImPcSI/YG4ls9bXGQEh1PzZdxZGPGnkpsPzbwkrg6j17L7oXvaB daECNKgQZtuS/FTQXLT6UW0jmiR3zBVW64cs4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=UT8rvMSdcTVhWxqfs7CXN11xdCS2QGPRJUStos4OBTaJTUCVJe6cHiWjtRCjDP9QM2 IFleDwfpgy33Z3b3U0hHDLFEnngnrKq/VutvvaEkWSxTVyul+n21tWVF3ooUaTOeXpRZ i3+bfpVWFKyAik8Po5bzIAz+cyxUwDtEtePJU= Received: by 10.86.82.6 with SMTP id f6mr3749674fgb.78.1223807949531; Sun, 12 Oct 2008 03:39:09 -0700 (PDT) Received: by 10.86.28.5 with HTTP; Sun, 12 Oct 2008 03:39:09 -0700 (PDT) Message-ID: <53a1e0710810120339g66180c86n239c35bf2abf9467@mail.gmail.com> Date: Sun, 12 Oct 2008 18:39:09 +0800 From: "Henry Hu" To: "Alexander Motin" In-Reply-To: <48F11087.20403@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <48DEA8E7.2080503@FreeBSD.org> <48F11087.20403@FreeBSD.org> Cc: freebsd-mobile@freebsd.org Subject: Re: RFC: PCI SD host controller driver & mmc/mmcsd modules improvements X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Oct 2008 11:08:44 -0000 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 owner-freebsd-mobile@FreeBSD.ORG Sun Oct 12 11:48:54 2008 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0AC2C106569D for ; Sun, 12 Oct 2008 11:48:54 +0000 (UTC) (envelope-from mav@FreeBSD.org) Received: from cmail.optima.ua (cmail.optima.ua [195.248.191.121]) by mx1.freebsd.org (Postfix) with ESMTP id 0DC8C8FC16 for ; Sun, 12 Oct 2008 11:48:52 +0000 (UTC) (envelope-from mav@FreeBSD.org) X-Spam-Flag: SKIP X-Spam-Yversion: Spamooborona-2.1.0 Received: from [212.86.226.226] (account mav@alkar.net HELO [192.168.3.2]) by cmail.optima.ua (CommuniGate Pro SMTP 5.1.14) with ESMTPA id 224603844; Sun, 12 Oct 2008 14:48:51 +0300 Message-ID: <48F1E423.1000606@FreeBSD.org> Date: Sun, 12 Oct 2008 14:48:51 +0300 From: Alexander Motin User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: Henry Hu References: <48DEA8E7.2080503@FreeBSD.org> <48F11087.20403@FreeBSD.org> <53a1e0710810120339g66180c86n239c35bf2abf9467@mail.gmail.com> In-Reply-To: <53a1e0710810120339g66180c86n239c35bf2abf9467@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-mobile@freebsd.org Subject: Re: RFC: PCI SD host controller driver & mmc/mmcsd modules improvements X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Oct 2008 11:48:54 -0000 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 owner-freebsd-mobile@FreeBSD.ORG Sun Oct 12 13:12:14 2008 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 115D81065697; Sun, 12 Oct 2008 13:12:14 +0000 (UTC) (envelope-from webmaster@kibab.com) Received: from smtp.ht-systems.ru (mr0.ht-systems.ru [78.110.50.55]) by mx1.freebsd.org (Postfix) with ESMTP id E1FF78FC08; Sun, 12 Oct 2008 13:12:12 +0000 (UTC) (envelope-from webmaster@kibab.com) Received: from [83.237.171.239] (helo=kibab-nb) by smtp.ht-systems.ru with esmtpa (Exim 4.62) (envelope-from ) id 1Kp0jy-0006zC-Ev; Sun, 12 Oct 2008 17:12:10 +0400 Date: Sun, 12 Oct 2008 17:12:01 +0400 From: Ilya Bakulin To: Ilya Bakulin Message-Id: <20081012171201.da4da754.webmaster@kibab.com> In-Reply-To: <20081008113848.c9b44354.webmaster@kibab.com> References: <48DEA8E7.2080503@FreeBSD.org> <5f67a8c40810052226k3070a11ah463a819c677f6307@mail.gmail.com> <20081008113848.c9b44354.webmaster@kibab.com> Organization: HT-Systems X-Mailer: Sylpheed 2.5.0 (GTK+ 2.12.11; i386-portbld-freebsd7.1) Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="PGP-SHA1"; boundary="Signature=_Sun__12_Oct_2008_17_12_01_+0400_0_zhgMgXDi6X6+dB" Cc: Alexander Motin , freebsd-mobile@freebsd.org, freebsd-arm@freebsd.org, freebsd-current@freebsd.org, Zaphod Beeblebrox , imp@freebsd.org Subject: Re: RFC: PCI SD host controller driver & mmc/mmcsd modules improvements X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Oct 2008 13:12:14 -0000 --Signature=_Sun__12_Oct_2008_17_12_01_+0400_0_zhgMgXDi6X6+dB Content-Type: multipart/mixed; boundary="Multipart=_Sun__12_Oct_2008_17_12_01_+0400_e1mHiLotC0w.aU4r" --Multipart=_Sun__12_Oct_2008_17_12_01_+0400_e1mHiLotC0w.aU4r Content-Type: text/plain; charset=US-ASCII Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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 d= oesn't work: >=20 > 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 >=20 > ... 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) car= d 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 t= o read answer. --=20 Ilya Bakulin --Multipart=_Sun__12_Oct_2008_17_12_01_+0400_e1mHiLotC0w.aU4r Content-Type: text/x-diff; name="mmc_c_inc_attempts.diff" Content-Disposition: attachment; filename="mmc_c_inc_attempts.diff" Content-Transfer-Encoding: quoted-printable --- mmc.c~ 2008-10-11 21:30:40.000000000 +0400 +++ mmc.c 2008-10-12 13:34:32.000000000 +0400 @@ -428,7 +428,7 @@ cmd.flags =3D MMC_RSP_R3 | MMC_CMD_BCR; cmd.data =3D NULL; =20 - for (i =3D 0; i < 100; i++) { + for (i =3D 0; i < 1000; i++) { err =3D mmc_wait_for_app_cmd(sc, 0, &cmd, CMD_RETRIES); if (err !=3D MMC_ERR_NONE) break; @@ -438,8 +438,9 @@ err =3D MMC_ERR_TIMEOUT; mmc_ms_delay(10); } + printf("mmc_send_app_ocond(): cmd completed in %d iter\n", i); if (rocr && err =3D=3D MMC_ERR_NONE) - *rocr =3D cmd.resp[0]; + *rocr =3D cmd.resp[0]; return (err); } =20 --Multipart=_Sun__12_Oct_2008_17_12_01_+0400_e1mHiLotC0w.aU4r-- --Signature=_Sun__12_Oct_2008_17_12_01_+0400_0_zhgMgXDi6X6+dB Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkjx96kACgkQo9vlj1oadwjF5gCgnVPkD6m95Cc+DsnlE934e7eL dSgAoNXvcx8U33ZXrTVrTlDqrqqynBUg =RaPu -----END PGP SIGNATURE----- --Signature=_Sun__12_Oct_2008_17_12_01_+0400_0_zhgMgXDi6X6+dB-- From owner-freebsd-mobile@FreeBSD.ORG Sun Oct 12 13:14:14 2008 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A77701065691 for ; Sun, 12 Oct 2008 13:14:14 +0000 (UTC) (envelope-from edwinlculp@gmail.com) Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.26]) by mx1.freebsd.org (Postfix) with ESMTP id 5AE438FC08 for ; Sun, 12 Oct 2008 13:14:14 +0000 (UTC) (envelope-from edwinlculp@gmail.com) Received: by qw-out-2122.google.com with SMTP id 9so373231qwb.7 for ; Sun, 12 Oct 2008 06:14:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=gFz2k0GMdGI0ImoUNgsSLXMbo14tOjjEXu7584ntBFg=; b=x6HKWhJx9su3v64EPbyWkPpntnLlyCB4pKOnQCTn+0BirBejK2oXmyBwPjw/ehv7a3 aaGWPqishiOJ8I8P6ydAb2LZHD/NSf0G4Bajguw7ybaHFhYPoJoUVWrAM6By959fY+SQ AJX8D4Qb70boQoeqUcBDpBq7bJxqGPP03DDFQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=OeRfQjhPEboKyg7QgCLg0cX8zXXcVMK1I14g32sL7TzMviwutnfDwH/BPLimfZeAER LEq3Z+sdXbnAxmj9b3wXx0dxmZub8PExj6Auv3xIer03945IIWHNU4HslYONUXZevzgN JrswbqSa05XL/LJFjbG7GqcUXBrUrAyqIhfGE= Received: by 10.215.41.6 with SMTP id t6mr3735819qaj.2.1223817253371; Sun, 12 Oct 2008 06:14:13 -0700 (PDT) Received: by 10.214.11.12 with HTTP; Sun, 12 Oct 2008 06:14:13 -0700 (PDT) Message-ID: <7affaed60810120614l79670870t7e4914615094056f@mail.gmail.com> Date: Sun, 12 Oct 2008 08:14:13 -0500 From: "Edwin L. Culp W." To: "Sam Leffler" In-Reply-To: <7affaed60810100658k354550abs2754a2c1ea1b0958@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <7affaed60810091639n2714fae1mbd34048bc8be89c3@mail.gmail.com> <48EEBC1B.1040003@freebsd.org> <7affaed60810100658k354550abs2754a2c1ea1b0958@mail.gmail.com> Cc: freebsd-mobile@freebsd.org Subject: Re: I lost ath0 support on current sometime between Sept 20 and Sept 26. X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Oct 2008 13:14:14 -0000 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 owner-freebsd-mobile@FreeBSD.ORG Sun Oct 12 13:46:16 2008 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 626D5106569C for ; Sun, 12 Oct 2008 13:46:16 +0000 (UTC) (envelope-from henry.hu.sh@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.159]) by mx1.freebsd.org (Postfix) with ESMTP id E0B558FC19 for ; Sun, 12 Oct 2008 13:46:15 +0000 (UTC) (envelope-from henry.hu.sh@gmail.com) Received: by fg-out-1718.google.com with SMTP id l26so908296fgb.35 for ; Sun, 12 Oct 2008 06:46:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=j8/6mHhAf3q3XlLakBu9Y91u/JJDeouiJu+aEf92HQA=; b=sWXKZqhGMpxXlyHgorrU0CJYiTabXE7Xw0Nx/XY2H3LIr7umo+dyaqKog+87ORsQLQ J7b6/ADk+k1/BkP/oHvChaMDXSQXUa6frHp4vhmbjRaVKn6Zs21MXBC1K6LXUf7GMv6l KwGQLQFY2Wp3isHA3b7KOSRHJZFMdsSrr0FAI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=i5GiKyUgsUVnnsaPYoMdqd7VqH/r0PrQqLM5p/jvuOiSNwYpCiRXdwvj5sqGj5bpoH CLCf0nHxqoxSC3EtmDYPmu+7eiuZ62T0YfcouZXuOj1XjvI5B+AtFCJnj6dPl6cVX4Nv wOD2V/qQsgjJ3S+hV6ur1R1Lln95hZnTMp9y4= Received: by 10.86.36.11 with SMTP id j11mr3961046fgj.7.1223819174610; Sun, 12 Oct 2008 06:46:14 -0700 (PDT) Received: by 10.86.28.5 with HTTP; Sun, 12 Oct 2008 06:46:14 -0700 (PDT) Message-ID: <53a1e0710810120646g36925f6fjafd3cfe92e485139@mail.gmail.com> Date: Sun, 12 Oct 2008 21:46:14 +0800 From: "Henry Hu" To: "Alexander Motin" In-Reply-To: <48F1E423.1000606@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <48DEA8E7.2080503@FreeBSD.org> <48F11087.20403@FreeBSD.org> <53a1e0710810120339g66180c86n239c35bf2abf9467@mail.gmail.com> <48F1E423.1000606@FreeBSD.org> Cc: freebsd-mobile@freebsd.org Subject: Re: RFC: PCI SD host controller driver & mmc/mmcsd modules improvements X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Oct 2008 13:46:16 -0000 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 owner-freebsd-mobile@FreeBSD.ORG Sun Oct 12 17:42:56 2008 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 62D7E106569A for ; Sun, 12 Oct 2008 17:42:56 +0000 (UTC) (envelope-from stupendoussteve@hotmail.com) Received: from bay0-omc3-s1.bay0.hotmail.com (bay0-omc3-s1.bay0.hotmail.com [65.54.246.201]) by mx1.freebsd.org (Postfix) with ESMTP id 4C9958FC13 for ; Sun, 12 Oct 2008 17:42:56 +0000 (UTC) (envelope-from stupendoussteve@hotmail.com) Received: from hotmail.com ([207.46.10.243]) by bay0-omc3-s1.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959); Sun, 12 Oct 2008 10:30:55 -0700 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Sun, 12 Oct 2008 10:30:55 -0700 Message-ID: Received: from 207.46.10.254 by by122fd.bay122.hotmail.msn.com with HTTP; Sun, 12 Oct 2008 17:30:51 GMT X-Originating-IP: [68.225.143.90] X-Originating-Email: [stupendoussteve@hotmail.com] X-Sender: stupendoussteve@hotmail.com From: "Steven Susbauer" To: freebsd-mobile@freebsd.org Date: Sun, 12 Oct 2008 12:30:51 -0500 Mime-Version: 1.0 Content-Type: text/plain; format=flowed X-OriginalArrivalTime: 12 Oct 2008 17:30:55.0242 (UTC) FILETIME=[480BDEA0:01C92C90] Subject: Xircom/cardbus in 7-RELEASE X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Oct 2008 17:42:56 -0000 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 owner-freebsd-mobile@FreeBSD.ORG Sun Oct 12 21:51:16 2008 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E9237106568B for ; Sun, 12 Oct 2008 21:51:16 +0000 (UTC) (envelope-from jhugo@meraka.csir.co.za) Received: from marge.meraka.csir.co.za (marge.meraka.csir.co.za [IPv6:2001:4200:7000:3::1]) by mx1.freebsd.org (Postfix) with ESMTP id B46EB8FC17 for ; Sun, 12 Oct 2008 21:51:15 +0000 (UTC) (envelope-from jhugo@meraka.csir.co.za) Received: from jeep.meraka.csir.co.za (jeep.meraka.csir.co.za [IPv6:2001:4200:7000:3:211:43ff:feba:aff1]) by marge.meraka.csir.co.za (Postfix) with ESMTP id 1699078C4D for ; Sun, 12 Oct 2008 23:51:14 +0200 (SAST) From: Johann Hugo Organization: CSIR To: freebsd-mobile@freebsd.org Date: Sun, 12 Oct 2008 23:51:13 +0200 User-Agent: KMail/1.9.7 References: <7affaed60810091639n2714fae1mbd34048bc8be89c3@mail.gmail.com> <7affaed60810100658k354550abs2754a2c1ea1b0958@mail.gmail.com> <7affaed60810120614l79670870t7e4914615094056f@mail.gmail.com> In-Reply-To: <7affaed60810120614l79670870t7e4914615094056f@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200810122351.13564.jhugo@meraka.csir.co.za> Subject: Re: I lost ath0 support on current sometime between Sept 20 and Sept 26. X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Oct 2008 21:51:17 -0000 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 owner-freebsd-mobile@FreeBSD.ORG Mon Oct 13 00:07:58 2008 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4023B1065697 for ; Mon, 13 Oct 2008 00:07:58 +0000 (UTC) (envelope-from sam@freebsd.org) Received: from ebb.errno.com (ebb.errno.com [69.12.149.25]) by mx1.freebsd.org (Postfix) with ESMTP id 091F48FC15 for ; Mon, 13 Oct 2008 00:07:57 +0000 (UTC) (envelope-from sam@freebsd.org) Received: from trouble.errno.com (trouble.errno.com [10.0.0.248]) (authenticated bits=0) by ebb.errno.com (8.13.6/8.12.6) with ESMTP id m9D07tbI016752 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 12 Oct 2008 17:07:57 -0700 (PDT) (envelope-from sam@freebsd.org) Message-ID: <48F2915B.6090507@freebsd.org> Date: Sun, 12 Oct 2008 17:07:55 -0700 From: Sam Leffler Organization: FreeBSD Project User-Agent: Thunderbird 2.0.0.9 (X11/20071125) MIME-Version: 1.0 To: Johann Hugo References: <7affaed60810091639n2714fae1mbd34048bc8be89c3@mail.gmail.com> <7affaed60810100658k354550abs2754a2c1ea1b0958@mail.gmail.com> <7affaed60810120614l79670870t7e4914615094056f@mail.gmail.com> <200810122351.13564.jhugo@meraka.csir.co.za> In-Reply-To: <200810122351.13564.jhugo@meraka.csir.co.za> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-DCC-sonic.net-Metrics: ebb.errno.com; whitelist Cc: freebsd-mobile@freebsd.org Subject: Re: I lost ath0 support on current sometime between Sept 20 and Sept 26. X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Oct 2008 00:07:58 -0000 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 owner-freebsd-mobile@FreeBSD.ORG Mon Oct 13 03:09:15 2008 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BB577106564A for ; Mon, 13 Oct 2008 03:09:15 +0000 (UTC) (envelope-from edwinlculp@gmail.com) Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.26]) by mx1.freebsd.org (Postfix) with ESMTP id 6D7508FC13 for ; Mon, 13 Oct 2008 03:09:15 +0000 (UTC) (envelope-from edwinlculp@gmail.com) Received: by qw-out-2122.google.com with SMTP id 9so421451qwb.7 for ; Sun, 12 Oct 2008 20:09:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=/pZGqxAZrFJKIzwqlh7Z8av/BtHRMij/aHuIoo4cUEo=; b=Vv30hSKIrc10/dbrqMjnExXm0A48OIC9Ny3HTE8G7sIa+q3WpZas6CAummuDYCorGC SuRbBEi1/5h5o1Wobe6R9ZCS5AB7snYR1qT6pjf21y6D6MYQgZQCbjjfowDRhtfC2Txv o9elKwJ9JkWJecVH1eGpl9pAD1/vyzxVbQGfI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=Puk5OrqWPd+A88Kgu6kY62OaJ4Yx+MMM/AqamXyIDK0hxTJhvtUBZi6mUv5EXL/S4X /b5+4Yw995zVHoUoSBWmQ8DcTnV87PhGN8Ti5BVHjEDba1VP6YAoBgoVodSnosfdJTGo WXERdeZkaGkYVELJjjpT9FPb0glZiKgAiURMk= Received: by 10.215.67.3 with SMTP id u3mr4090124qak.92.1223867354077; Sun, 12 Oct 2008 20:09:14 -0700 (PDT) Received: by 10.214.11.12 with HTTP; Sun, 12 Oct 2008 20:09:14 -0700 (PDT) Message-ID: <7affaed60810122009p6fdfec8dl90060fe85e638093@mail.gmail.com> Date: Sun, 12 Oct 2008 22:09:14 -0500 From: "Edwin L. Culp W." To: "Johann Hugo" In-Reply-To: <200810122351.13564.jhugo@meraka.csir.co.za> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <7affaed60810091639n2714fae1mbd34048bc8be89c3@mail.gmail.com> <7affaed60810100658k354550abs2754a2c1ea1b0958@mail.gmail.com> <7affaed60810120614l79670870t7e4914615094056f@mail.gmail.com> <200810122351.13564.jhugo@meraka.csir.co.za> Cc: freebsd-mobile@freebsd.org Subject: Re: I lost ath0 support on current sometime between Sept 20 and Sept 26. X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Oct 2008 03:09:15 -0000 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 owner-freebsd-mobile@FreeBSD.ORG Mon Oct 13 03:12:23 2008 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 99DCE106568C for ; Mon, 13 Oct 2008 03:12:23 +0000 (UTC) (envelope-from edwinlculp@gmail.com) Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.24]) by mx1.freebsd.org (Postfix) with ESMTP id 4B68A8FC0C for ; Mon, 13 Oct 2008 03:12:23 +0000 (UTC) (envelope-from edwinlculp@gmail.com) Received: by qw-out-2122.google.com with SMTP id 9so421617qwb.7 for ; Sun, 12 Oct 2008 20:12:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=Dxk8wyddRieC8D0YobbsmQbLcU0hCiI7iyhzSAaDSY4=; b=Q5VZdJ/uyLtGzLplAuFq/DqP5Yyky594JZ2oS5frNGscp5c1NU69CztUEc3jMozhFD HhLXoS8ZGkcGBxjmXwoley8GdjsRn1yy+6G+9FrBs49h+OpZShz06jqBZ9aHsgBmoTsA Qy4D8/5EOpEogtFtdxSjNQI+Emu6Q/NKs0APc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=uv5MHI9UXAcXaXOsQzWVUOWIMn/TcZxMQTElY64kV9J0ZcViD6JiMtNsKPRc1YHMYR gONO61pZktcSQH0I7tB0+j5zr5CMGYbxCCZbK0N+jB9zjSamDy3Z62AHAxxEbO5nDdNg 9dgoKNKUdx1ZVBcT0gFbyJuFLPy5idGbkGens= Received: by 10.214.12.19 with SMTP id 19mr4150115qal.43.1223867530675; Sun, 12 Oct 2008 20:12:10 -0700 (PDT) Received: by 10.214.11.12 with HTTP; Sun, 12 Oct 2008 20:12:10 -0700 (PDT) Message-ID: <7affaed60810122012n526929e1j9d38b977a029251e@mail.gmail.com> Date: Sun, 12 Oct 2008 22:12:10 -0500 From: "Edwin L. Culp W." To: "Sam Leffler" In-Reply-To: <48F2915B.6090507@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <7affaed60810091639n2714fae1mbd34048bc8be89c3@mail.gmail.com> <7affaed60810100658k354550abs2754a2c1ea1b0958@mail.gmail.com> <7affaed60810120614l79670870t7e4914615094056f@mail.gmail.com> <200810122351.13564.jhugo@meraka.csir.co.za> <48F2915B.6090507@freebsd.org> Cc: Johann Hugo , freebsd-mobile@freebsd.org Subject: Re: I lost ath0 support on current sometime between Sept 20 and Sept 26. X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Oct 2008 03:12:23 -0000 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 owner-freebsd-mobile@FreeBSD.ORG Mon Oct 13 05:16:29 2008 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B72EC106568A for ; Mon, 13 Oct 2008 05:16:29 +0000 (UTC) (envelope-from kline@thought.org) Received: from aristotle.thought.org (ns1.thought.org [209.180.213.210]) by mx1.freebsd.org (Postfix) with ESMTP id 6701F8FC16 for ; Mon, 13 Oct 2008 05:16:29 +0000 (UTC) (envelope-from kline@thought.org) Received: from thought.org (tao.thought.org [10.47.0.250]) (authenticated bits=0) by aristotle.thought.org (8.14.2/8.14.2) with ESMTP id m9D5Gfb1028347; Sun, 12 Oct 2008 22:16:41 -0700 (PDT) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1002 kline@thought.org; Sun, 12 Oct 2008 22:16:23 -0700 (PDT) Date: Sun, 12 Oct 2008 22:16:23 -0700 From: Gary Kline To: Ian Smith Message-ID: <20081013051623.GA6708@thought.org> References: <20081010234314.GA54139@thought.org> <20081011121019.F16723@sola.nimnet.asn.au> <20081011093828.GB79660@thought.org> <20081012171558.V16723@sola.nimnet.asn.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20081012171558.V16723@sola.nimnet.asn.au> User-Agent: Mutt/1.4.2.3i X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 22 years of service to the Unix community. X-Spam-Status: No, score=-4.4 required=3.6 tests=ALL_TRUSTED,AWL,BAYES_00, DNS_FROM_SECURITYSAGE autolearn=no version=3.2.3 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on aristotle.thought.org Cc: FreeBSD Mobile Mailing List Subject: Re: ThinkPad 3GHz [[ alledgedly]] X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Oct 2008 05:16:29 -0000 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 owner-freebsd-mobile@FreeBSD.ORG Mon Oct 13 08:17:16 2008 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A08D11065686 for ; Mon, 13 Oct 2008 08:17:16 +0000 (UTC) (envelope-from jhugo@meraka.csir.co.za) Received: from marge.meraka.csir.co.za (marge.meraka.csir.co.za [IPv6:2001:4200:7000:3::1]) by mx1.freebsd.org (Postfix) with ESMTP id 2D5568FC1B for ; Mon, 13 Oct 2008 08:17:15 +0000 (UTC) (envelope-from jhugo@meraka.csir.co.za) Received: from jeep.meraka.csir.co.za (jeep.meraka.csir.co.za [IPv6:2001:4200:7000:3:211:43ff:feba:aff1]) by marge.meraka.csir.co.za (Postfix) with ESMTP id EFF4478C4D for ; Mon, 13 Oct 2008 10:17:13 +0200 (SAST) From: Johann Hugo Organization: CSIR To: freebsd-mobile@freebsd.org Date: Mon, 13 Oct 2008 10:17:12 +0200 User-Agent: KMail/1.9.7 References: <7affaed60810091639n2714fae1mbd34048bc8be89c3@mail.gmail.com> <200810122351.13564.jhugo@meraka.csir.co.za> <48F2915B.6090507@freebsd.org> In-Reply-To: <48F2915B.6090507@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200810131017.13166.jhugo@meraka.csir.co.za> Subject: Re: I lost ath0 support on current sometime between Sept 20 and Sept 26. X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Oct 2008 08:17:16 -0000 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 owner-freebsd-mobile@FreeBSD.ORG Mon Oct 13 11:34:39 2008 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3CA0B10656B0 for ; Mon, 13 Oct 2008 11:34:39 +0000 (UTC) (envelope-from patrick.hieber@gmx.net) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.freebsd.org (Postfix) with SMTP id 8054C8FC08 for ; Mon, 13 Oct 2008 11:34:38 +0000 (UTC) (envelope-from patrick.hieber@gmx.net) Received: (qmail 30125 invoked by uid 0); 13 Oct 2008 11:07:56 -0000 Received: from 141.18.44.102 by www109.gmx.net with HTTP; Mon, 13 Oct 2008 13:07:56 +0200 (CEST) Content-Type: text/plain; charset="iso-8859-1" Date: Mon, 13 Oct 2008 13:07:56 +0200 From: "Patrick Hieber" Message-ID: <20081013110756.18610@gmx.net> MIME-Version: 1.0 To: freebsd-mobile@freebsd.org X-Authenticated: #27511550 X-Flags: 0001 X-Mailer: WWW-Mail 6100 (Global Message Exchange) X-Priority: 3 X-Provags-ID: V01U2FsdGVkX18nwd5DWxwnUbmi/Gm3sqEMxNk2Sed7aeYo2N6xAT UeYym9oQrgAavolPPWR7L1jFmcgwB25ITRQg== Content-Transfer-Encoding: 8bit X-GMX-UID: NB7AfC9OX1V6cMqnz2ByqAN/SDc4NMzr X-FuHaFi: 0.76 Subject: Support for HP nx8220 notebook X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Oct 2008 11:34:39 -0000 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 owner-freebsd-mobile@FreeBSD.ORG Mon Oct 13 17:04:00 2008 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BF63510656A2; Mon, 13 Oct 2008 17:04:00 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (bsdimp.com [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id 5EF4C8FC19; Mon, 13 Oct 2008 17:04:00 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.14.2/8.14.1) with ESMTP id m9DH29jV043173; Mon, 13 Oct 2008 11:02:10 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Mon, 13 Oct 2008 11:03:10 -0600 (MDT) Message-Id: <20081013.110310.-1622595361.imp@bsdimp.com> To: webmaster@kibab.com From: "M. Warner Losh" In-Reply-To: <20081012171201.da4da754.webmaster@kibab.com> References: <5f67a8c40810052226k3070a11ah463a819c677f6307@mail.gmail.com> <20081008113848.c9b44354.webmaster@kibab.com> <20081012171201.da4da754.webmaster@kibab.com> X-Mailer: Mew version 5.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: zbeeble@gmail.com, mav@freebsd.org, freebsd-current@freebsd.org, freebsd-arm@freebsd.org, freebsd-mobile@freebsd.org Subject: Re: RFC: PCI SD host controller driver & mmc/mmcsd modules improvements X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Oct 2008 17:04:01 -0000 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 owner-freebsd-mobile@FreeBSD.ORG Wed Oct 15 11:43:39 2008 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4D09C10656A3 for ; Wed, 15 Oct 2008 11:43:39 +0000 (UTC) (envelope-from CQG00620@nifty.ne.jp) Received: from mail.asahi-net.or.jp (mail2.asahi-net.or.jp [202.224.39.198]) by mx1.freebsd.org (Postfix) with ESMTP id 1B4AE8FC31 for ; Wed, 15 Oct 2008 11:43:38 +0000 (UTC) (envelope-from CQG00620@nifty.ne.jp) Received: from asahi-net.jp (l205089.dynamic.ppp.asahi-net.or.jp [218.219.205.89]) by mail.asahi-net.or.jp (Postfix) with ESMTP id 99B3C5868F; Wed, 15 Oct 2008 20:26:33 +0900 (JST) Date: Wed, 15 Oct 2008 20:26:33 +0900 From: WATANABE Kazuhiro To: freebsd-mobile In-Reply-To: References: User-Agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (=?ISO-8859-4?Q?Shij=F2?=) APEL/10.7 Emacs/21.3 (i386--freebsd) MULE/5.0 (SAKAKI) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Message-Id: <20081015112633.99B3C5868F@mail.asahi-net.or.jp> Cc: Steven Susbauer Subject: Re: Xircom/cardbus in 7-RELEASE X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Oct 2008 11:43:39 -0000 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 owner-freebsd-mobile@FreeBSD.ORG Wed Oct 15 12:55:18 2008 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D1910106569B for ; Wed, 15 Oct 2008 12:55:18 +0000 (UTC) (envelope-from mguillamet@gmail.com) Received: from fk-out-0910.google.com (fk-out-0910.google.com [209.85.128.191]) by mx1.freebsd.org (Postfix) with ESMTP id 55E778FC15 for ; Wed, 15 Oct 2008 12:55:18 +0000 (UTC) (envelope-from mguillamet@gmail.com) Received: by fk-out-0910.google.com with SMTP id k31so2848307fkk.11 for ; Wed, 15 Oct 2008 05:55:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type; bh=ns5t11cr4QI21DKLlaF10yXSUNZdvP4tjZxYR0uAjPM=; b=Vbe+5/tglmqXXO5dyMyT4Uas8eLiXzxPBqoIv3Zf+ZMjRP2ot1A8LoSSGakTXZBz8d Oa+j2CoAQ+KfdyPFgeENqhacBf1WAvpYa8npK8UQPfB5hp4S4kUCyT0pHYWT9gGuKvpx CONn3EiCr2CyWVcXYkWiSdPoU/6+LMMbrydAY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=WEnFTe1h/BTSNhMmW8jTQzUcQjqCowEhTL2eN6FL9B9WyF6RWRcigqRTp6ElSML4cm HiBQXtYRXiUrXsQBBlpHgO8+EPZuWXWbXNVoPeVJ7iEwFZbivBDLGUELjjnn0XnebXz3 pRew+o41TULFwVNsm+SdCDPu7diRm4klaLaIE= Received: by 10.181.5.1 with SMTP id h1mr515963bki.56.1224073606507; Wed, 15 Oct 2008 05:26:46 -0700 (PDT) Received: by 10.180.239.15 with HTTP; Wed, 15 Oct 2008 05:26:46 -0700 (PDT) Message-ID: Date: Wed, 15 Oct 2008 23:26:46 +1100 From: "Miquel Guillamet" To: freebsd-mobile@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Can't update system.. very strange! X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Oct 2008 12:55:18 -0000 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 owner-freebsd-mobile@FreeBSD.ORG Wed Oct 15 20:25:14 2008 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 729831065690; Wed, 15 Oct 2008 20:25:14 +0000 (UTC) (envelope-from mav@FreeBSD.org) Received: from cmail.optima.ua (cmail.optima.ua [195.248.191.121]) by mx1.freebsd.org (Postfix) with ESMTP id 6B06C8FC14; Wed, 15 Oct 2008 20:25:13 +0000 (UTC) (envelope-from mav@FreeBSD.org) X-Spam-Flag: SKIP X-Spam-Yversion: Spamooborona-2.1.0 Received: from [212.86.226.226] (account mav@alkar.net HELO mavbook.mavhome.dp.ua) by cmail.optima.ua (CommuniGate Pro SMTP 5.1.14) with ESMTPSA id 225133346; Wed, 15 Oct 2008 23:25:12 +0300 Message-ID: <48F651A7.3040001@FreeBSD.org> Date: Wed, 15 Oct 2008 23:25:11 +0300 From: Alexander Motin User-Agent: Thunderbird 2.0.0.16 (X11/20080726) MIME-Version: 1.0 To: "M. Warner Losh" References: <5f67a8c40810052226k3070a11ah463a819c677f6307@mail.gmail.com> <20081008113848.c9b44354.webmaster@kibab.com> <20081012171201.da4da754.webmaster@kibab.com> <20081013.110310.-1622595361.imp@bsdimp.com> In-Reply-To: <20081013.110310.-1622595361.imp@bsdimp.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: webmaster@kibab.com, freebsd-arm@freebsd.org, freebsd-current@freebsd.org, zbeeble@gmail.com, freebsd-mobile@freebsd.org Subject: Re: RFC: PCI SD host controller driver & mmc/mmcsd modules improvements X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Oct 2008 20:25:14 -0000 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 owner-freebsd-mobile@FreeBSD.ORG Wed Oct 15 22:05:32 2008 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 48A51106568E for ; Wed, 15 Oct 2008 22:05:32 +0000 (UTC) (envelope-from kline@thought.org) Received: from aristotle.thought.org (ns1.thought.org [209.180.213.210]) by mx1.freebsd.org (Postfix) with ESMTP id 035A08FC19 for ; Wed, 15 Oct 2008 22:05:31 +0000 (UTC) (envelope-from kline@thought.org) Received: from thought.org (tao.thought.org [10.47.0.250]) (authenticated bits=0) by aristotle.thought.org (8.14.2/8.14.2) with ESMTP id m9FM5kq5094841 for ; Wed, 15 Oct 2008 15:05:46 -0700 (PDT) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1002 kline@thought.org; Wed, 15 Oct 2008 15:05:27 -0700 (PDT) Date: Wed, 15 Oct 2008 15:05:26 -0700 From: Gary Kline To: FreeBSD Mobile Mailing List Message-ID: <20081015220526.GC88206@thought.org> References: <20081010234314.GA54139@thought.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20081010234314.GA54139@thought.org> User-Agent: Mutt/1.4.2.3i X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 22 years of service to the Unix community. X-Spam-Status: No, score=-4.4 required=3.6 tests=ALL_TRUSTED,BAYES_00, DNS_FROM_SECURITYSAGE autolearn=no version=3.2.3 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on aristotle.thought.org Subject: Re: ThinkPad 3GHz [[ alledgedly]] X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Oct 2008 22:05:32 -0000 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 owner-freebsd-mobile@FreeBSD.ORG Wed Oct 15 21:07:54 2008 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4C6201065689; Wed, 15 Oct 2008 21:07:54 +0000 (UTC) (envelope-from stas@FreeBSD.org) Received: from smtp.ht-systems.ru (mr0.ht-systems.ru [78.110.50.55]) by mx1.freebsd.org (Postfix) with ESMTP id B60E88FC25; Wed, 15 Oct 2008 21:07:53 +0000 (UTC) (envelope-from stas@FreeBSD.org) Received: from [85.21.245.235] (helo=orion.SpringDaemons.com) by smtp.ht-systems.ru with esmtpa (Exim 4.62) (envelope-from ) id 1KqDF4-0001Jc-Sf; Thu, 16 Oct 2008 00:45:14 +0400 Received: from orion (localhost [127.0.0.1]) by orion.SpringDaemons.com (Postfix) with SMTP id 3410E398F1; Thu, 16 Oct 2008 00:45:53 +0400 (MSD) Date: Thu, 16 Oct 2008 00:45:48 +0400 From: Stanislav Sedov To: Alexander Motin Message-Id: <20081016004548.437cba9d.stas@FreeBSD.org> 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> Organization: The FreeBSD Project X-XMPP: ssedov@jabber.ru X-Voice: +7 916 849 20 23 X-PGP-Fingerprint: F21E D6CC 5626 9609 6CE2 A385 2BF5 5993 EB26 9581 X-Mailer: carrier-pigeon Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="PGP-SHA1"; boundary="Signature=_Thu__16_Oct_2008_00_45_48_+0400_gpvxnSXKe9UYcK1e" X-Mailman-Approved-At: Wed, 15 Oct 2008 23:26:13 +0000 Cc: zbeeble@gmail.com, freebsd-arm@freebsd.org, freebsd-current@freebsd.org, freebsd-mobile@freebsd.org Subject: Re: RFC: PCI SD host controller driver & mmc/mmcsd modules improvements X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Oct 2008 21:07:54 -0000 --Signature=_Thu__16_Oct_2008_00_45_48_+0400_gpvxnSXKe9UYcK1e Content-Type: text/plain; charset=US-ASCII Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, 15 Oct 2008 23:25:11 +0300 Alexander Motin mentioned: >=20 > Completely fortunate I have noticed that number of iterations depends on= =20 > my laptop power source. After small investigation I have found that it=20 > actually depends on dev.cpu.0.freq value. With default value 2400 I have= =20 > only several iterations. But every double frequency decrease doubles=20 > iteration count. With minimum value 100MHz I have more then 100=20 > iterations. Same time it doesn't looks like this time is a real wall=20 > time. It looks like DELAY() used in a loop has some problems with time=20 > counting. >=20 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? --=20 Stanislav Sedov ST4096-RIPE --Signature=_Thu__16_Oct_2008_00_45_48_+0400_gpvxnSXKe9UYcK1e Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkj2VoEACgkQK/VZk+smlYHA5wCeIgg4IPiIQihQ3sVJ5IzawUaK nGgAnid2uyjyJbK0jty1Tp3zl+gXNRn7 =WF8Y -----END PGP SIGNATURE----- --Signature=_Thu__16_Oct_2008_00_45_48_+0400_gpvxnSXKe9UYcK1e-- From owner-freebsd-mobile@FreeBSD.ORG Thu Oct 16 10:06:25 2008 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0F8761065687; Thu, 16 Oct 2008 10:06:25 +0000 (UTC) (envelope-from mav@FreeBSD.org) Received: from cmail.optima.ua (cmail.optima.ua [195.248.191.121]) by mx1.freebsd.org (Postfix) with ESMTP id 0FBE28FC1F; Thu, 16 Oct 2008 10:06:23 +0000 (UTC) (envelope-from mav@FreeBSD.org) X-Spam-Flag: SKIP X-Spam-Yversion: Spamooborona-2.1.0 Received: from orphanage.alkar.net (account mav@alkar.net [212.86.226.11] verified) by cmail.optima.ua (CommuniGate Pro SMTP 5.1.14) with ESMTPA id 225200459; Thu, 16 Oct 2008 13:06:19 +0300 Message-ID: <48F7121A.2010307@FreeBSD.org> Date: Thu, 16 Oct 2008 13:06:18 +0300 From: Alexander Motin User-Agent: Thunderbird 2.0.0.14 (X11/20080612) MIME-Version: 1.0 To: Stanislav Sedov 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> In-Reply-To: <1224123783.00025735.1224113402@10.7.7.3> X-Enigmail-Version: 0.95.0 Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 7bit Cc: freebsd-arm@freebsd.org, zbeeble@gmail.com, freebsd-mobile@freebsd.org, freebsd-current@freebsd.org Subject: Re: RFC: PCI SD host controller driver & mmc/mmcsd modules improvements X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Oct 2008 10:06:25 -0000 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 owner-freebsd-mobile@FreeBSD.ORG Thu Oct 16 14:16:37 2008 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B2C7F1065686; Thu, 16 Oct 2008 14:16:37 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (bsdimp.com [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id 6D7DF8FC18; Thu, 16 Oct 2008 14:16:37 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.14.2/8.14.1) with ESMTP id m9GEFQ2B012588; Thu, 16 Oct 2008 08:15:26 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Thu, 16 Oct 2008 08:16:28 -0600 (MDT) Message-Id: <20081016.081628.43009259.imp@bsdimp.com> To: mav@freebsd.org From: "M. Warner Losh" 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> X-Mailer: Mew version 5.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: stas@freebsd.org, freebsd-arm@freebsd.org, zbeeble@gmail.com, freebsd-current@freebsd.org, freebsd-mobile@freebsd.org Subject: Re: RFC: PCI SD host controller driver & mmc/mmcsd modules improvements X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Oct 2008 14:16:37 -0000 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 owner-freebsd-mobile@FreeBSD.ORG Thu Oct 16 15:28:48 2008 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5A6711065686; Thu, 16 Oct 2008 15:28:48 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (bsdimp.com [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id 00FD18FC26; Thu, 16 Oct 2008 15:28:47 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.14.2/8.14.1) with ESMTP id m9GFRhZK013918; Thu, 16 Oct 2008 09:27:43 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Thu, 16 Oct 2008 09:28:44 -0600 (MDT) Message-Id: <20081016.092844.-1548243521.imp@bsdimp.com> To: mav@freebsd.org From: "M. Warner Losh" In-Reply-To: <48F75773.7030100@FreeBSD.org> References: <48F7121A.2010307@FreeBSD.org> <20081016.081628.43009259.imp@bsdimp.com> <48F75773.7030100@FreeBSD.org> X-Mailer: Mew version 5.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: stas@freebsd.org, freebsd-arm@freebsd.org, zbeeble@gmail.com, freebsd-current@freebsd.org, freebsd-mobile@freebsd.org Subject: Re: RFC: PCI SD host controller driver & mmc/mmcsd modules improvements X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Oct 2008 15:28:48 -0000 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 owner-freebsd-mobile@FreeBSD.ORG Thu Oct 16 15:02:15 2008 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B2ED11065689; Thu, 16 Oct 2008 15:02:15 +0000 (UTC) (envelope-from mav@FreeBSD.org) Received: from cmail.optima.ua (cmail.optima.ua [195.248.191.121]) by mx1.freebsd.org (Postfix) with ESMTP id 6C5FF8FC33; Thu, 16 Oct 2008 15:02:13 +0000 (UTC) (envelope-from mav@FreeBSD.org) X-Spam-Flag: SKIP X-Spam-Yversion: Spamooborona-2.1.0 Received: from orphanage.alkar.net (account mav@alkar.net [212.86.226.11] verified) by cmail.optima.ua (CommuniGate Pro SMTP 5.1.14) with ESMTPA id 225231106; Thu, 16 Oct 2008 18:02:12 +0300 Message-ID: <48F75773.7030100@FreeBSD.org> Date: Thu, 16 Oct 2008 18:02:11 +0300 From: Alexander Motin User-Agent: Thunderbird 2.0.0.14 (X11/20080612) MIME-Version: 1.0 To: "M. Warner Losh" 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> In-Reply-To: <20081016.081628.43009259.imp@bsdimp.com> X-Enigmail-Version: 0.95.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Thu, 16 Oct 2008 16:16:19 +0000 Cc: stas@freebsd.org, freebsd-arm@freebsd.org, zbeeble@gmail.com, freebsd-current@freebsd.org, freebsd-mobile@freebsd.org Subject: Re: RFC: PCI SD host controller driver & mmc/mmcsd modules improvements X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Oct 2008 15:02:15 -0000 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 owner-freebsd-mobile@FreeBSD.ORG Thu Oct 16 16:39:50 2008 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8E0D81065690; Thu, 16 Oct 2008 16:39:50 +0000 (UTC) (envelope-from taku@tackymt.homeip.net) Received: from basalt.tackymt.homeip.net (unknown [IPv6:2001:3e0:577:0:20d:61ff:fecc:2253]) by mx1.freebsd.org (Postfix) with ESMTP id 2D63E8FC0C; Thu, 16 Oct 2008 16:39:49 +0000 (UTC) (envelope-from taku@tackymt.homeip.net) Received: from localhost (localhost [127.0.0.1]) by basalt.tackymt.homeip.net (Postfix) with ESMTP id F12331075B; Fri, 17 Oct 2008 01:39:48 +0900 (JST) X-Virus-Scanned: amavisd-new at tackymt.homeip.net Received: from localhost ([127.0.0.1]) by localhost (basalt.tackymt.homeip.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id cMmGxc1yeZd7; Fri, 17 Oct 2008 01:39:46 +0900 (JST) Received: from basalt.tackymt.homeip.net (basalt.tackymt.homeip.net [IPv6:2001:3e0:577:0:20d:61ff:fecc:2253]) by basalt.tackymt.homeip.net (Postfix) with ESMTP; Fri, 17 Oct 2008 01:39:46 +0900 (JST) Date: Fri, 17 Oct 2008 01:39:46 +0900 From: Taku YAMAMOTO To: "M. Warner Losh" Message-Id: <20081017013946.3534221e.taku@tackymt.homeip.net> 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> X-Mailer: Sylpheed 2.4.8 (GTK+ 2.12.9; i386-portbld-freebsd8.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: mav@freebsd.org, freebsd-mobile@freebsd.org, stas@freebsd.org, freebsd-arm@freebsd.org, freebsd-current@freebsd.org, zbeeble@gmail.com Subject: Re: RFC: PCI SD host controller driver & mmc/mmcsd modules improvements X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Oct 2008 16:39:50 -0000 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 owner-freebsd-mobile@FreeBSD.ORG Thu Oct 16 16:52:17 2008 Return-Path: Delivered-To: freebsd-mobile@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 446C910656AB; Thu, 16 Oct 2008 16:52:17 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (bsdimp.com [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id ED8C38FC1A; Thu, 16 Oct 2008 16:52:16 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.14.2/8.14.1) with ESMTP id m9GGn1r8014970; Thu, 16 Oct 2008 10:49:01 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Thu, 16 Oct 2008 10:50:02 -0600 (MDT) Message-Id: <20081016.105002.-1975970550.imp@bsdimp.com> To: taku@tackymt.homeip.net From: "M. Warner Losh" 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> X-Mailer: Mew version 5.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: mav@FreeBSD.org, freebsd-mobile@FreeBSD.org, stas@FreeBSD.org, freebsd-arm@FreeBSD.org, freebsd-current@FreeBSD.org, zbeeble@gmail.com Subject: Re: RFC: PCI SD host controller driver & mmc/mmcsd modules improvements X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Oct 2008 16:52:17 -0000 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 owner-freebsd-mobile@FreeBSD.ORG Thu Oct 16 17:25:38 2008 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0CAF3106569A; Thu, 16 Oct 2008 17:25:38 +0000 (UTC) (envelope-from mav@FreeBSD.org) Received: from cmail.optima.ua (cmail.optima.ua [195.248.191.121]) by mx1.freebsd.org (Postfix) with ESMTP id D02A28FC16; Thu, 16 Oct 2008 17:25:36 +0000 (UTC) (envelope-from mav@FreeBSD.org) X-Spam-Flag: SKIP X-Spam-Yversion: Spamooborona-2.1.0 Received: from [212.86.226.226] (account mav@alkar.net HELO mavbook.mavhome.dp.ua) by cmail.optima.ua (CommuniGate Pro SMTP 5.1.14) with ESMTPSA id 225242339; Thu, 16 Oct 2008 20:25:35 +0300 Message-ID: <48F7790F.5000904@FreeBSD.org> Date: Thu, 16 Oct 2008 20:25:35 +0300 From: Alexander Motin User-Agent: Thunderbird 2.0.0.16 (X11/20080726) MIME-Version: 1.0 To: Taku YAMAMOTO 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> In-Reply-To: <20081017013946.3534221e.taku@tackymt.homeip.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-mobile@freebsd.org, stas@freebsd.org, freebsd-arm@freebsd.org, freebsd-current@freebsd.org, zbeeble@gmail.com Subject: Re: RFC: PCI SD host controller driver & mmc/mmcsd modules improvements X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Oct 2008 17:25:38 -0000 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 owner-freebsd-mobile@FreeBSD.ORG Thu Oct 16 21:24:07 2008 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DE68F106568E for ; Thu, 16 Oct 2008 21:24:06 +0000 (UTC) (envelope-from mguillamet@gmail.com) Received: from fk-out-0910.google.com (fk-out-0910.google.com [209.85.128.189]) by mx1.freebsd.org (Postfix) with ESMTP id 5ADD28FC08 for ; Thu, 16 Oct 2008 21:24:05 +0000 (UTC) (envelope-from mguillamet@gmail.com) Received: by fk-out-0910.google.com with SMTP id k31so213183fkk.11 for ; Thu, 16 Oct 2008 14:24:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type:references; bh=+qwnSIgLi2QM1V3i4M7DpUynhz3iYmzIRTZw44oqV48=; b=qu2rWsDp7AeRk3uX3l3MN1hGUpAhgelHcAaTZ8rl0RQGxjXG57cA+4yvDOJkvKffG0 jdrcHpYAcn/UiZmoTfcHJnNQHwWzcX1MIxr60s+sBXK8xfg6vEqFEHWa7r+1We45p6s9 eBYJy6lKDdV+RgHr4A1gpOE7o0NGOECvoXWPU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:references; b=Q7Fec5PEm9yPlxPa8ah94Biobd9Ky/xxMwOuHCW1xON7wVgWNl8qP8b4i6CJ8OsNwq qmBw+ecZzlmo3g6l6A0XG5oxveD+8jPNsawBV7FhDVskMGNR2abB8t1EMXNqITN3pEuP MSKQaLep6pO3RvXLjwq0p2B/z/+2Ki7BT0W6M= Received: by 10.181.137.13 with SMTP id p13mr808202bkn.54.1224192243846; Thu, 16 Oct 2008 14:24:03 -0700 (PDT) Received: by 10.180.239.15 with HTTP; Thu, 16 Oct 2008 14:24:03 -0700 (PDT) Message-ID: Date: Thu, 16 Oct 2008 21:24:03 +0000 From: "Miquel Guillamet" To: freebsd-mobile@freebsd.org In-Reply-To: <873aiwp7z6.fsf@chateau.d.lf> MIME-Version: 1.0 References: <873aiwp7z6.fsf@chateau.d.lf> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: base64 Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: Can't update system.. very strange! X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Oct 2008 21:24:07 -0000 SGV5LAoKSSBzb2x2ZWQgdGhlIHByb2JsZW0gaW5zdGFsbGluZyBGcmVlQlNEIDcuMS1CRVRBMiB0 aGF0IGhhcyBhZGRlZCBuYXRpdmUKc3VwcG9ydCBmb3IgTWFydmVsbCBZdWtvbiA4OEU4MDU4IEdp Z2FiaXQgRXRoZXJuZXQuCgoKClRoYW5rcyEKCk9uIFRodSwgT2N0IDE2LCAyMDA4IGF0IDk6MDQg UE0sIEFzaGlzaCBTaHVrbGEg4KSG4KS24KWA4KS3IOCktuClgeCkleCljeCksiA8d2FoamF2YS5t bEAKZ21haWwuY29tPiB3cm90ZToKCj4gTWlxdWVsIEd1aWxsYW1ldCB3cml0ZXM6Cj4gPiBIZWxs bywKPgo+Cj4gPiBJJ20gbmV3IHRvIEZyZWVCU0QhIEkgd2FzIHVzaW5nIEFyY2ggTGludXggZm9y IGxvbmcgdGltZSwgd2hpY2ggaXMgdmVyeQo+ID4gbmljZS4gV2VsbC4uIGhlcmUgaXMgdGhlIHNp dHVhdGlvbiwgSSd2ZSBpbnN0YWxsZWQgdGhlIDcuMCByZWxlYXNlCj4gKGFtZDY0KQo+ID4gdG8g bXkgTWFjQm9vayBDMkQgMywxIFNhbnRhIFJvc2EgYW5kIGV2ZXJ5dGhpbmcgd2FzIGdvaW5nIG5p Y2VseSBhbmQKPiA+IHNtb290aGx5IGJ1dCBJIGhhZCB0byBpbnN0YWxsIHRoZSBldGhlcm5ldCBk cml2ZXIgdGhlIFl1a29uL1l1a29uIElJCj4gPiBFdGhlcm5ldCBBZGFwdGVyIGZyb20gTWFydmVs bCBiZWNhdXNlIHRoZSBzeXN0ZW0gZGlkbid0IHJlY29nbml6ZSBpdCBhbmQKPiA+IGhlcmUgaXMg d2hlbiB0aGUgYmlnIHByb2JsZW0gY2FtZS4gSSBiZWVuIGZvbGxvd2luZyBhbGwgdGhlIGluc3Ry dWN0aW9ucwo+ID4gZnJvbSB0aGUgaW5zdGFsbCBmaWxlOgo+Cj4gPiBrbGRsb2FkIGlmX215awo+ ID4gaWZjb25maWcgbXlrMCB1cAo+ID4gZGhjbGllbnQgbXlrMAo+Cj4gPiBUaGVuIEkgZGlkIHNv bWUgcGluZ3MgdG8gd3d3Lmdvb2dsZS5jb20gYW5kIG5vIHByb2JsZW0gc28gSSB3YW50ZWQgdG8K PiB1cGRhdGUKPiA+IHRoZSBzeXN0ZW0gdXNpbmcgcGtnX2FkZCAtcnYgPHBhY2tldD4gYnV0IG5v IHdheSB0byBnZXQgY29ubmVjdGVkIHRvIHRoZQo+ID4gZnRwLiBJdCBzYXlzIGFmdGVyIGEgMSBt aW51dGUgb3Igc28sIHRpbWUgb3V0IGNvbm5lY3Rpb24uIERucyBsb29rdXBzIGFyZQo+ID4gd29y a2luZyBidXQgbm8gc3NoLGZ0cCx0ZWxuZXQsaHR0cC4uIFdoYXQgaXMgZ29pbmcgb24/IEkgZGlk IGEgZnJlc2gKPiBpbnN0YWxsCj4gPiBhbmQgSSBkaWRuJ3QgdG91Y2ggYW55dGhpbmcgb24gcmMu Y29uZi4gaXB2NiBpcyBvZmYsIGZpcmV3YWxsIGlzIG9mZi4KPiBBZnRlcgo+ID4gZ29vZ2xpbmcg Zm9yIGEgc29sdXRpb24gSSBmb3VuZCB0aGF0IHRoZSBwcm9ibGVtIGNvdWxkIGNvbWUgZnJvbSB0 aGUgYWRzbAo+ID4gcm91dGVyIHRoYXQgaGFzbid0IGFueSAiRG9tYWluIG5hbWUiIG9uIHRoZSBQ UFBvRSBzZXR0aW5ncyBhbmQgRnJlZUJTRAo+IHNlZW1zCj4gPiB0byB0YWtlIGNhcmUgYWJvdXQg dGhpcyB0aGluZyAobm8gcHJvYmxlbSBvbiBtYWNvc3ggb3IgbGludXgpLiBVc2luZwo+ID4gZGhj bGllbnQgY29tbWFuZCwgdGhlIG91dHB1dCB3YXM6Cj4KPiA+IEJvZ3VzIGRvbWFpbiBzZWFyY2gg bGlzdCAxNTogZG9tYWluX25vdF9zZXQuaW52YWxpZC4KPgo+ID4gU28gSSBjaGFuZ2VkIHRoZSBz ZXR0aW5ncyBvbiBteSBMaW5rc3lzIEFEU0wyIEdhdGV3YXkgKG5vIGZpcmV3YWxsCj4gZW5hYmxl ZCkKPiA+IGJ1dCBub3RoaW5nLCBldmVuIHdpdGggdGhlIGRvbWFpbiBuYW1lIHNldCwgbm8gaW50 ZXJuZXQgb25seSBwaW5ncwo+IGFsbG93ZWQuCj4gPiBUaGVuIEkgdHJpZWQgdG8gdXNlIHN0YXRp YyBpcCBidXQgbm90aGluZywgc2FtZSBwcm9ibGVtLiBJIHJlYWxseSBkb24ndAo+IGtub3cKPiA+ IHdoYXQgdG8gZG8gbmV4dCBvciB3aGVyZSB0byBsb29rLiBBbnkgaWRlYT8KPgo+IENhbiB5b3Ug cGFzdGUgdGhlIG91dHB1dCBvZiBmb2xsb3dpbmcgY29tbWFuZHMgaGVyZSA/Cj4KPiAlIG5ldHN0 YXQgLXJuCj4gJSBjYXQgL2V0Yy9yZXNvbHYuY29uZgo+ICUgZmV0Y2ggaHR0cDovL3d3dy5mcmVl YnNkLm9yZy8KPgo+IEl0IHNlZW1zIHNvbWV0aGluZyBpcyBtZXNzZWQgdXAgd2l0aCB5b3VyIERO UyBvciBkZWZhdWx0IHJvdXRlIG9yIG1heWJlCj4geW91ciByb3V0ZXIncyBmaXJld2FsbC4KPgo+ IFRoYW5rcwo+IEFzaGlzaCBTaHVrbGEKPiAtLQo+ICgpICBhc2NpaSByaWJib24gY2FtcGFpZ24g LSBhZ2FpbnN0IEhUTUwgZS1tYWlsCj4gL1wgIHd3dy5hc2NpaXJpYmJvbi5vcmcgICAtIGFnYWlu c3QgcHJvcHJpZXRhcnkgYXR0YWNobWVudHMKPiDCty0tIMK3LSDCt8K3wrfCtyDCty0tLSDCty0g wrfCt8K3LSDCty0gwrctLcK3LcK3IC0twrcgLS0gwrctIMK3wrcgwrctwrfCtyDCty3Cty3Cty0g LcK3LcK3IC0tLSAtLQo+ICUgZGlnICtzaG9ydCBjbmFtZSBjZGFjLmluIEA6OjEKPiBtcy5nb3Yu aW4KPgoKCgotLSAKVGhlIHdvcmxkIGlzIGEgYm9vaywgYW5kIHRob3NlIHdobyBkbyBub3QgdHJh dmVsIHJlYWQgb25seSBhIHBhZ2UuCg== From owner-freebsd-mobile@FreeBSD.ORG Thu Oct 16 21:27:23 2008 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EB426106569D for ; Thu, 16 Oct 2008 21:27:23 +0000 (UTC) (envelope-from stupendoussteve@hotmail.com) Received: from bay0-omc3-s22.bay0.hotmail.com (bay0-omc3-s22.bay0.hotmail.com [65.54.246.222]) by mx1.freebsd.org (Postfix) with ESMTP id 9A7788FC15 for ; Thu, 16 Oct 2008 21:27:23 +0000 (UTC) (envelope-from stupendoussteve@hotmail.com) Received: from hotmail.com ([207.46.10.246]) by bay0-omc3-s22.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959); Thu, 16 Oct 2008 14:25:40 -0700 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Thu, 16 Oct 2008 14:25:40 -0700 Message-ID: Received: from 207.46.10.254 by by122fd.bay122.hotmail.msn.com with HTTP; Thu, 16 Oct 2008 21:25:39 GMT X-Originating-IP: [68.225.143.90] X-Originating-Email: [stupendoussteve@hotmail.com] X-Sender: stupendoussteve@hotmail.com From: "Steven Susbauer" To: CQG00620@nifty.ne.jp Date: Thu, 16 Oct 2008 16:25:39 -0500 Mime-Version: 1.0 Content-Type: text/plain; format=flowed X-OriginalArrivalTime: 16 Oct 2008 21:25:40.0596 (UTC) FILETIME=[BD395340:01C92FD5] Cc: freebsd-mobile@freebsd.org Subject: Re: Xircom/cardbus in 7-RELEASE X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Oct 2008 21:27:24 -0000 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 owner-freebsd-mobile@FreeBSD.ORG Thu Oct 16 21:27:26 2008 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 178151065686 for ; Thu, 16 Oct 2008 21:27:26 +0000 (UTC) (envelope-from wahjava@gmail.com) Received: from ti-out-0910.google.com (ti-out-0910.google.com [209.85.142.184]) by mx1.freebsd.org (Postfix) with ESMTP id 6F23D8FC0A for ; Thu, 16 Oct 2008 21:27:25 +0000 (UTC) (envelope-from wahjava@gmail.com) Received: by ti-out-0910.google.com with SMTP id d27so82916tid.3 for ; Thu, 16 Oct 2008 14:27:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:to:cc:subject:x-face :references:x-uptime:x-url:x-openpgp-id:x-openpgp-fingerprint:x-os :x-mailer:x-mail-morse:x-attribution:organization:from:date :in-reply-to:message-id:user-agent:face:mime-version:content-type :sender; bh=jsijItHMpA9CHzEZA9SfX2zoIl3gk/w2Oihd7ITYoOo=; b=u1FB95GY/3eKAjQZEVsP4enKauSDhsleCHyW5JDYj0ogi1T6CREyE30mtXw4qUQdiV K84/J5wbCIG+2CV86M69b+hkBqQQbyTcNdfIBlHAGV1FWsznvR0b9rsACdrk4DTlAp4v zcu6ABUfHxRhVjy6llff/+W3o69uEKiwO/bHQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=to:cc:subject:x-face:references:x-uptime:x-url:x-openpgp-id :x-openpgp-fingerprint:x-os:x-mailer:x-mail-morse:x-attribution :organization:from:date:in-reply-to:message-id:user-agent:face :mime-version:content-type:sender; b=oHLPEfLqHYIJmgZ4VylfeOX/xcs38ePky7w92ljXg684V+ACFNWB/t6KvjWhnpM7pi ppwEoGxZj8XA7ONDhwucujkaQIRZ/JKFVTkZiZus1FX85OTxkUDsFizJGPIs1NPI7nmZ m1Kq435LdBicgtj4zrk6uPN13/Fi1Jggbm1ws= Received: by 10.110.90.9 with SMTP id n9mr2401854tib.22.1224191036150; Thu, 16 Oct 2008 14:03:56 -0700 (PDT) Received: from chateau.d.lf ([122.163.146.27]) by mx.google.com with ESMTPS id d1sm3187588tid.13.2008.10.16.14.03.51 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 16 Oct 2008 14:03:54 -0700 (PDT) To: "Miquel Guillamet" X-Face: )vGQ9yK7Y$Flebu1C>(B\gYBm)[$zfKM+p&TT[[JWl6:]S>cc$%-z7-`46Zf0B*syL.C]oCq[upTG~zuS0.$"_%)|Q@$hA=9{3l{%u^h3jJ^Zl; t7 References: X-Uptime: 02:30:46 up 4:29, 2 users, load average: 0.03, 0.25, 0.25 X-URL: http://wahjava.wordpress.com/ X-OpenPGP-ID: 762E5E74 X-OpenPGP-Fingerprint: 1E00 4679 77E4 F8EE 2E4B 56F2 1F2F 8410 762E 5E74 X-OS: GNU/Linux on Linux 2.6.25-gentoo-r7 kernel on x86_64 architecture X-Mailer: Gnus/5.11 (Oort 5.11) Emacs/22.3.1 (x86_64-pc-linux-gnu) X-Mail-Morse: .-- .- .... .--- .- ...- .- .--.-. --. -- .- .. .-.. .-.-.- -.-. --- -- X-Attribution: =?utf-8?B?4KSG4KS24KWA4KS3?= Organization: alt.religion.emacs From: wahjava.ml@gmail.com (Ashish Shukla =?utf-8?B?4KSG4KS24KWA4KS3IA==?= =?utf-8?B?4KS24KWB4KSV4KWN4KSy?=) Date: Fri, 17 Oct 2008 02:34:29 +0530 In-Reply-To: (Miquel Guillamet's message of "Wed\, 15 Oct 2008 23\:26\:46 +1100") Message-ID: <873aiwp7z6.fsf@chateau.d.lf> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (gnu/linux) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAJ1BMVEWpqal/f39tbW1jY2Md HR2goKCenp6UlJROTk7////9/f35+fnT09ORJdieAAACVklEQVQ4jXXUP2vbQBQA8AvUTkgz5OzY Z0iGWhpS6BSrkECn0mvx0MEJ6AjtYrfoBCVDlD8naJYmNlRfwZq8+mkKlIZaGpJSYmP7Q/XkJDrJ Td8i/H68u3vHPaPufwLdf32AMA4A6GcAgvAamY1pOJiDIFqicTwLswDhfr3uxfFtkAY/GFHPMwzD 8zpnACmIOnE6js7rQb+v4NJrG9od0C+QgpHMy5jBewV+UDSMWiw1Y4fWfyV7+NGFzDsYa3pth9LJ Q4XvXxFHcJRvHOmygn5NAEabnDcQQguarnfoiwSCJ99jmKKcphsZONmWsDK9Ro7cvZOCtQdg8nje egLhc2LNlkLmsezzTFUUy5w18ocox/f0LaLgJy0zO75zk+9pp85GAj36xjqhdI0y3tq2m4dqqcWX zQWBTz8L1irvolXV4J+3q7eCDgVnttjNq6X8H+9KOZsuNk1uCzx8pSp+E9HImfJOTLdcGqo+YKnG EIovizkEn48V7BO+ch2DXcD4ENSpWiU+q8hjjbgTBZCXnZtyj0Ws4Q1Q0B2WXFtYZo65Bbyeeldw RS6qFueM80LlLA29YlVwGRYvFD+kwI/0O+A2PlpOP9GwslUVciHuYGechuBTp922YiDZCrghTknm XSyOM+D3aoRZlo0Jb42zY7DN4p2x4AeZ+QAYutx1sHwTHzMT5cMNduQ9yW3GczN4KZ86kb0c9O8T yXDeFqpl2fryPEAYGXIlezAPXYh2NgVr/gvdoHIuDwuPwOhcWE8f8mmICq41eATkn8x0kuRTIKcB wE9+/QUtiiAnYcaN7wAAAABJRU5ErkJggg== MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Sender: =?UTF-8?B?4KSG4KS24KWA4KS3IOCktuClgeCkleCljeCksiBBc2hpc2ggU2h1a2xh?= Cc: freebsd-mobile@freebsd.org Subject: Re: Can't update system.. very strange! X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Oct 2008 21:27:26 -0000 --=-=-= Content-Type: text/plain; charset=utf-8 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 --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEARECAAYFAkj3rGAACgkQHy+EEHYuXnTy8ACePnD7DOj78G7OCH8KzzU7OG67 954AoMPLDDBS5MDTxPlf3YFhWlp7rygy =C+As -----END PGP SIGNATURE----- --=-=-=-- From owner-freebsd-mobile@FreeBSD.ORG Fri Oct 17 07:16:52 2008 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 442F2106568A; Fri, 17 Oct 2008 07:16:52 +0000 (UTC) (envelope-from webmaster@kibab.com) Received: from smtp.ht-systems.ru (mr0.ht-systems.ru [78.110.50.55]) by mx1.freebsd.org (Postfix) with ESMTP id 1086F8FC4F; Fri, 17 Oct 2008 07:16:51 +0000 (UTC) (envelope-from webmaster@kibab.com) Received: from [83.237.169.185] (helo=kibab-nb) by smtp.ht-systems.ru with esmtpa (Exim 4.62) (envelope-from ) id 1KqjZm-0001QL-Ub; Fri, 17 Oct 2008 11:16:47 +0400 Date: Fri, 17 Oct 2008 11:16:50 +0400 From: Ilya Bakulin To: Alexander Motin Message-Id: <20081017111650.a84afa26.webmaster@kibab.com> 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> Organization: HT-Systems X-Mailer: Sylpheed 2.5.0 (GTK+ 2.12.11; i386-portbld-freebsd7.1) Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="PGP-SHA1"; boundary="Signature=_Fri__17_Oct_2008_11_16_50_+0400_rnekfZlu8fHMD.yt" Cc: freebsd-arm@freebsd.org, freebsd-mobile@freebsd.org, stas@freebsd.org, Taku YAMAMOTO , freebsd-current@freebsd.org, zbeeble@gmail.com Subject: Re: RFC: PCI SD host controller driver & mmc/mmcsd modules improvements X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Oct 2008 07:16:52 -0000 --Signature=_Fri__17_Oct_2008_11_16_50_+0400_rnekfZlu8fHMD.yt Content-Type: text/plain; charset=US-ASCII Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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=20 > K8-class CPU) > Origin =3D "GenuineIntel" Id =3D 0x6fb Stepping =3D 11 > Features=3D0xbfebfbff MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS, > HTT,TM,PBE> > Features2=3D0xe3bd xTPR,PDCM> > AMD Features=3D0x20100800 > AMD Features2=3D0x1 > Cores per package: 2 >=20 > FreeBSD 8.0-CURRENT amd64. >=20 > --=20 > Alexander Motin Same here:=20 CPU: Intel(R) Core(TM)2 Duo CPU T5870 @ 2.00GHz (1995.01-MHz 686-class= CPU) Origin =3D "GenuineIntel" Id =3D 0x6fd Stepping =3D 13 Features=3D0xbfebfbff Features2=3D0xe39d AMD Features=3D0x20100000 AMD Features2=3D0x1 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! >=20 > 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... >=20 > Warner I don't have this card any more. And regarging my SD... I can't do exact me= asures. What I have done yesterday is: ; Running at full frequency: Oct 16 11:53:50 kibab-nb sudo: kibab : TTY=3Dttyp3 ; PWD=3D/home/kibab ; US= ER=3Droot ; COMMAND=3D/etc/rc.d/powerd stop Oct 16 11:54:00 kibab-nb sudo: = kibab : TTY=3Dttyp3 ; PWD=3D/home/kibab ; USER=3Droot ; COMMAND=3D/usr/sbin= /powerd -a max=20 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=20 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=3Dttyp3 ; PWD=3D/home/kibab ; US= ER=3Droot ; COMMAND=3D/etc/rc.d/powerd stop Oct 16 11:55:30 kibab-nb sudo: = kibab : TTY=3Dttyp3 ; PWD=3D/home/kibab ; USER=3Droot ; COMMAND=3D/usr/sbin= /powerd -a min=20 Oct 16 11:55:46 kibab-nb kernel: mmc0: on sdhci0=20 Oct 16 11:55:46 kibab-nb kernel: mmc_send_app_ocond(): cmd completed in 0 i= ter=20 Oct 16 11:55:46 kibab-nb kernel: mmc_send_app_ocond(): cmd completed in 185= iter=20 185 iterations at lowest frequency... Sorry for long answer delay. --=20 Ilya Bakulin --Signature=_Fri__17_Oct_2008_11_16_50_+0400_rnekfZlu8fHMD.yt Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkj4O+UACgkQo9vlj1oadwiOCACfTenAz/ehFZVm55MLwCDnCY1F 4uYAn3uJ4c9NwCnnPTgR00skTv99IPrB =xqme -----END PGP SIGNATURE----- --Signature=_Fri__17_Oct_2008_11_16_50_+0400_rnekfZlu8fHMD.yt-- From owner-freebsd-mobile@FreeBSD.ORG Sat Oct 18 04:07:44 2008 Return-Path: Delivered-To: freebsd-mobile@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2A2791065687 for ; Sat, 18 Oct 2008 04:07:44 +0000 (UTC) (envelope-from kline@thought.org) Received: from aristotle.thought.org (aristotle.thought.org [209.180.213.210]) by mx1.freebsd.org (Postfix) with ESMTP id D4D5E8FC12 for ; Sat, 18 Oct 2008 04:07:43 +0000 (UTC) (envelope-from kline@thought.org) Received: from thought.org (tao.thought.org [10.47.0.250]) (authenticated bits=0) by aristotle.thought.org (8.14.2/8.14.2) with ESMTP id m9I47wn1002291 for ; Fri, 17 Oct 2008 21:07:59 -0700 (PDT) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1002 kline@thought.org; Fri, 17 Oct 2008 21:07:39 -0700 (PDT) Date: Fri, 17 Oct 2008 21:07:39 -0700 From: Gary Kline To: FreeBSD Mobile Mailing List Message-ID: <20081018040736.GA13800@thought.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 22 years of service to the Unix community. X-Spam-Status: No, score=-4.4 required=3.6 tests=ALL_TRUSTED,AWL,BAYES_00, DNS_FROM_SECURITYSAGE autolearn=no version=3.2.3 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on aristotle.thought.org Cc: Subject: complex problem with G41. probably X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 18 Oct 2008 04:07:44 -0000 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 owner-freebsd-mobile@FreeBSD.ORG Sat Oct 18 08:24:20 2008 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AB15C106569D for ; Sat, 18 Oct 2008 08:24:20 +0000 (UTC) (envelope-from jacques.fourie@gmail.com) Received: from mu-out-0910.google.com (mu-out-0910.google.com [209.85.134.191]) by mx1.freebsd.org (Postfix) with ESMTP id 31DD68FC08 for ; Sat, 18 Oct 2008 08:24:19 +0000 (UTC) (envelope-from jacques.fourie@gmail.com) Received: by mu-out-0910.google.com with SMTP id i2so887798mue.3 for ; Sat, 18 Oct 2008 01:24:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=TtrH16rzGDkWQH4agGhl4wA4hF8dAWRbZwGSAkKC9/s=; b=m0ZuCSHIAkhsmovmjSoX+9A/3FoxrOxXIALNUXlk0mEKHwSnkKcpPt5df1w+lxZh5F 7UNL6NObH9aNJDgMhfHxHUEkUySOEw1ZMJeY5veksfOJfUgiZtmXAXKuHPK40LR2+b4o 2H+SyxmRuY/JX3pI8kzi4VvdiC1eGQnwZxGdE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=ZAfBBIORIqcm06PmkJT+iQAS9zGlJGpxZhbfCnChRoYtgnfc+cbdfiUW4Wo5QpV6Dr 9fksO2cmjQTxjp6nSyQDZ5MzyE/OBr+UYkWj6uDztAq809dvLdu2+pJU67Dr8CuTMUuP 1E6djpiVLsdn0yr2/sdwBd8QpHc4CNTWOVa5g= Received: by 10.102.228.10 with SMTP id a10mr2681625muh.109.1224316998115; Sat, 18 Oct 2008 01:03:18 -0700 (PDT) Received: by 10.103.17.17 with HTTP; Sat, 18 Oct 2008 01:03:17 -0700 (PDT) Message-ID: Date: Sat, 18 Oct 2008 10:03:17 +0200 From: "Jacques Fourie" To: "Alexander Motin" In-Reply-To: <48F11087.20403@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <48DEA8E7.2080503@FreeBSD.org> <48F11087.20403@FreeBSD.org> Cc: freebsd-arm@freebsd.org, freebsd-current@freebsd.org, freebsd-mobile@freebsd.org Subject: Re: RFC: PCI SD host controller driver & mmc/mmcsd modules improvements X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 18 Oct 2008 08:24:20 -0000 > 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 owner-freebsd-mobile@FreeBSD.ORG Sat Oct 18 15:58:42 2008 Return-Path: Delivered-To: freebsd-mobile@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 12F9910656A2; Sat, 18 Oct 2008 15:58:42 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (bsdimp.com [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id A62BD8FC0A; Sat, 18 Oct 2008 15:58:41 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.14.2/8.14.1) with ESMTP id m9IFu1o7064732; Sat, 18 Oct 2008 09:56:01 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Sat, 18 Oct 2008 09:57:03 -0600 (MDT) Message-Id: <20081018.095703.-135512205.imp@bsdimp.com> To: jacques.fourie@gmail.com From: "M. Warner Losh" In-Reply-To: References: <48DEA8E7.2080503@FreeBSD.org> <48F11087.20403@FreeBSD.org> X-Mailer: Mew version 5.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: mav@FreeBSD.org, freebsd-current@FreeBSD.org, freebsd-arm@FreeBSD.org, freebsd-mobile@FreeBSD.org Subject: Re: RFC: PCI SD host controller driver & mmc/mmcsd modules improvements X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 18 Oct 2008 15:58:42 -0000 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 owner-freebsd-mobile@FreeBSD.ORG Sat Oct 18 17:01:10 2008 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7597D10656A2 for ; Sat, 18 Oct 2008 17:01:10 +0000 (UTC) (envelope-from jacques.fourie@gmail.com) Received: from ey-out-2122.google.com (ey-out-2122.google.com [74.125.78.24]) by mx1.freebsd.org (Postfix) with ESMTP id EA8188FC22 for ; Sat, 18 Oct 2008 17:01:09 +0000 (UTC) (envelope-from jacques.fourie@gmail.com) Received: by ey-out-2122.google.com with SMTP id 6so348107eyi.7 for ; Sat, 18 Oct 2008 10:01:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=DXE3bYnLuUQZ0UaaOgF3ZiIGuT6k+QW9fO/kcKgM4I0=; b=A78AWWsPhP3JXvcIshwp6SGc3zPrqHHnsUAK1kpOHg8oHjkCgfxY2aMOjJBKafXWAQ 6F8/Hl4bDMdjZLC4/rv7bnF76oGDBJDtQjlcs4zMO9uZ3TkTdlrWbictjC19HPrE2CIG D/jEzIcBcEUeo8Ts9PvBcy0Xuo4AmZfK+OdIg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=RY54QQJFA/PZTk5mxe8imSUlSs+qmZppdu4K7Pdc90blyQwxDBVP3OaRXnbZNLOri/ cQReSrn8jm6VW7VezkkJN8KBMhfMb++LzWcXAqq0APqTkIw/YIuLAUbuLj57dLnrSqbv +oOVAO9eUHqe0O2hZgFX/048eR6djlwg0iyZg= Received: by 10.103.169.1 with SMTP id w1mr350118muo.41.1224349268150; Sat, 18 Oct 2008 10:01:08 -0700 (PDT) Received: by 10.103.17.17 with HTTP; Sat, 18 Oct 2008 10:01:07 -0700 (PDT) Message-ID: Date: Sat, 18 Oct 2008 19:01:07 +0200 From: "Jacques Fourie" To: "M. Warner Losh" In-Reply-To: <20081018.095703.-135512205.imp@bsdimp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <48DEA8E7.2080503@FreeBSD.org> <48F11087.20403@FreeBSD.org> <20081018.095703.-135512205.imp@bsdimp.com> Cc: mav@freebsd.org, freebsd-current@freebsd.org, freebsd-arm@freebsd.org, freebsd-mobile@freebsd.org Subject: Re: RFC: PCI SD host controller driver & mmc/mmcsd modules improvements X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 18 Oct 2008 17:01:10 -0000 > 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 owner-freebsd-mobile@FreeBSD.ORG Sat Oct 18 23:36:29 2008 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3FFC71065693 for ; Sat, 18 Oct 2008 23:36:29 +0000 (UTC) (envelope-from prabu@hackinthebox.org) Received: from prometheus.interunix.net (prometheus.interunix.net [202.190.74.58]) by mx1.freebsd.org (Postfix) with SMTP id 7A9DE8FC0A for ; Sat, 18 Oct 2008 23:36:28 +0000 (UTC) (envelope-from prabu@hackinthebox.org) Received: (qmail 25974 invoked by uid 1012); 18 Oct 2008 23:10:43 -0000 Received: from 202.190.74.58 by prometheus.interunix.net (envelope-from , uid 1010) with qmail-scanner-1.25-st-qms (clamdscan: 0.87/3227. spamassassin: 3.1.8. perlscan: 1.25-st-qms. Clear:RC:0(202.190.74.58):SA:0(-4.4/5.0):. Processed in 0.360547 secs); 18 Oct 2008 23:10:43 -0000 X-Spam-Status: No, hits=-4.4 required=5.0 X-Spam-Report: SA TESTS -1.8 ALL_TRUSTED Passed through trusted hosts only via SMTP -2.6 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] X-Antivirus-INTERUNIX-Mail-From: prabu@hackinthebox.org via prometheus.interunix.net X-Antivirus-INTERUNIX: 1.25-st-qms (Clear:RC:0(202.190.74.58):SA:0(-4.4/5.0):. Processed in 0.360547 secs Process 25966) Received: from unknown (HELO ?192.168.1.33?) (prabu@hackinthebox.org@202.190.74.58) by prometheus.interunix.net with SMTP; 18 Oct 2008 23:10:42 -0000 Message-ID: <48FA6CA2.9010702@hackinthebox.org> Date: Sun, 19 Oct 2008 07:09:22 +0800 From: Praburaajan User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: isn@infosecnews.org, apops@apops.net, system-admins@research.att.com, freebsd-mobile@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: HITBSecConf2008 - Malaysia: Online registration closes on 24th Oct X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 18 Oct 2008 23:36:29 -0000 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