From owner-freebsd-current Sun Feb 14 01:03:39 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id BAA05026 for freebsd-current-outgoing; Sun, 14 Feb 1999 01:03:39 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from k6n1.znh.org ([207.109.235.52]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id BAA05020 for ; Sun, 14 Feb 1999 01:03:21 -0800 (PST) (envelope-from zach@uffdaonline.net) Received: (from zach@localhost) by k6n1.znh.org (8.9.2/8.9.1) id JAA04412; Sun, 14 Feb 1999 09:00:44 GMT (envelope-from zach) Message-ID: <19990214030044.B3920@znh.org> Date: Sun, 14 Feb 1999 03:00:44 -0600 From: Zach Heilig To: Leif Neland Cc: current@FreeBSD.ORG Subject: Re: sysinstall & rc.conf References: <49138.918968783@zippy.cdrom.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.2i In-Reply-To: ; from Leif Neland on Sun, Feb 14, 1999 at 07:14:26AM +0100 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, Feb 14, 1999 at 07:14:26AM +0100, Leif Neland wrote: > On Sat, 13 Feb 1999, Jordan K. Hubbard wrote: > > > until I realized that /etc/rc.conf was empty. It's the anti-POLA! ;) > > That's "POMA" :) > Could somebody tell me the meaning of those acronyms? POLA -> Policy? Of Least Astonishment POMA -> " " Most " (seems jkh just made this one up :-) anyway, the intent should be clear now. -- Zach Heilig / Zach Heilig "Americans are sensitive about their money, and since this was the first major change in the greenback in nearly 70 years, a radical redesign might have been too much for consumers to comprehend" -- John Iddings [COINage, Feb. 1999]. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Feb 14 01:34:41 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id BAA07075 for freebsd-current-outgoing; Sun, 14 Feb 1999 01:34:41 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from reliam.teaser.fr (reliam.teaser.fr [194.51.80.12]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id BAA07070 for ; Sun, 14 Feb 1999 01:34:39 -0800 (PST) (envelope-from son@teaser.fr) Received: from teaser.fr (ppp1087-ft.teaser.fr [194.206.156.40]) by reliam.teaser.fr (8.9.1a/8.9.1a) with ESMTP id KAA13159; Sun, 14 Feb 1999 10:34:31 +0100 (MET) Received: (from son@localhost) by teaser.fr (8.9.2/8.9.1) id KAA00589; Sun, 14 Feb 1999 10:02:12 +0100 (CET) (envelope-from son) Message-ID: <19990214100211.16017@breizh.prism.uvsq.fr> Date: Sun, 14 Feb 1999 10:02:11 +0100 From: Nicolas Souchu To: Chuck Robey Cc: freebsd-current@FreeBSD.ORG Subject: Re: New print interface References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.81e In-Reply-To: ; from Chuck Robey on Sat, Feb 13, 1999 at 10:03:41PM -0500 X-Operating-System: FreeBSD breizh 4.0-CURRENT FreeBSD 4.0-CURRENT Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sat, Feb 13, 1999 at 10:03:41PM -0500, Chuck Robey wrote: > >I have to add an addendum here, to my previous question about the new >config file setup for a simple printer. I was looking forward to seeing >the probing come back to my dmesg, when I finally got it right, but >seeing this: > >Feb 13 14:02:01 picnic /kernel: ppc0 at 0x378 irq 7 on isa >Feb 13 14:02:01 picnic /kernel: ppc0: SMC FDC37C665GT chipset >(EPP/PS2/NIBBLE) in COMPATIBLE mode >Feb 13 14:02:01 picnic /kernel: ppb0: IEEE1284 device found /NIBBLE/ECP >Feb 13 14:02:01 picnic /kernel: Probing for PnP devices on ppbus0: >Feb 13 14:02:01 picnic /kernel: ppbus0: >MLC,PCL,PML >Feb 13 14:02:01 picnic /kernel: nlpt0: on ppbus 0 >Feb 13 14:02:01 picnic /kernel: nlpt0: Interrupt-driven port > >I *never* expected to see the PNP functions actually pick up the name of >my printer. I was economically bushwacked by the Windows corps into >buying the 693C (the version with the Windows software floppies tacked >on) so I was actually pleased that it ID'd the printer as the more >generic 690C (sans the Windows extortia). > >Very nice. The mistake I'd made earlier was in not knowing that the >config needed all 3 lines, not just some subset of 2 of them as I'd >guessed. > >Great job, Nicolas! Not finished. ECP is not supported yet. I'm glad to see the 690C is ECP compliant. I bougth an HP6L, thinking it was :( But there's at least FIFO+DMA support in the nlpt driver. Try 'lptcontrol -e' with you BIOS configured to ECP. Recompile with the appropriate drq on the 'device ppc at isa?...' line. > >----------------------------+----------------------------------------------- >Chuck Robey | Interests include any kind of voice or data >chuckr@glue.umd.edu | communications topic, C programming, and Unix. >213 Lakeside Drive Apt T-1 | >Greenbelt, MD 20770 | I run picnic (FreeBSD-current) >(301) 220-2114 | and jaunt (Solaris7). >----------------------------+----------------------------------------------- > > > > > -- nsouch@teaser.fr / nsouch@freebsd.org FreeBSD - Turning PCs into workstations - http://www.FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Feb 14 01:34:49 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id BAA07294 for freebsd-current-outgoing; Sun, 14 Feb 1999 01:34:49 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from reliam.teaser.fr (reliam.teaser.fr [194.51.80.12]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id BAA07100 for ; Sun, 14 Feb 1999 01:34:44 -0800 (PST) (envelope-from son@teaser.fr) Received: from teaser.fr (ppp1087-ft.teaser.fr [194.206.156.40]) by reliam.teaser.fr (8.9.1a/8.9.1a) with ESMTP id KAA01923; Sun, 14 Feb 1999 10:34:34 +0100 (MET) Received: (from son@localhost) by teaser.fr (8.9.2/8.9.1) id JAA00567; Sun, 14 Feb 1999 09:54:05 +0100 (CET) (envelope-from son) Message-ID: <19990214095405.25147@breizh.prism.uvsq.fr> Date: Sun, 14 Feb 1999 09:54:05 +0100 From: Nicolas Souchu To: Dag-Erling Smorgrav Cc: Chuck Robey , freebsd-current@FreeBSD.ORG Subject: Re: lpt0 References: <19990213191714.53383@breizh.prism.uvsq.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.81e In-Reply-To: ; from Dag-Erling Smorgrav on Sat, Feb 13, 1999 at 08:04:12PM +0100 X-Operating-System: FreeBSD breizh 4.0-CURRENT FreeBSD 4.0-CURRENT Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sat, Feb 13, 1999 at 08:04:12PM +0100, Dag-Erling Smorgrav wrote: > >Nicolas Souchu writes: >> controller ppbus0 # The ppbus system >> device nlpt0 at ppbus? # The printer driver > >OBTW, when are you planning to rename nlpt0 to lpt0? Today. > >DES >-- >Dag-Erling Smorgrav - des@flood.ping.uio.no > -- nsouch@teaser.fr / nsouch@freebsd.org FreeBSD - Turning PCs into workstations - http://www.FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Feb 14 01:35:09 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id BAA07372 for freebsd-current-outgoing; Sun, 14 Feb 1999 01:35:09 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from reliam.teaser.fr (reliam.teaser.fr [194.51.80.12]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id BAA07367; Sun, 14 Feb 1999 01:35:07 -0800 (PST) (envelope-from son@teaser.fr) Received: from teaser.fr (ppp1087-ft.teaser.fr [194.206.156.40]) by reliam.teaser.fr (8.9.1a/8.9.1a) with ESMTP id KAA00939; Sun, 14 Feb 1999 10:34:52 +0100 (MET) Received: (from son@localhost) by teaser.fr (8.9.2/8.9.1) id JAA00576; Sun, 14 Feb 1999 09:58:45 +0100 (CET) (envelope-from son) Message-ID: <19990214095845.56909@breizh.prism.uvsq.fr> Date: Sun, 14 Feb 1999 09:58:45 +0100 From: Nicolas Souchu To: Brian Feldman Cc: hardware@FreeBSD.ORG, current@FreeBSD.ORG Subject: Re: Aladdin chipset SMBus support available! References: <19990213190131.10349@breizh.prism.uvsq.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.81e In-Reply-To: ; from Brian Feldman on Sat, Feb 13, 1999 at 05:22:00PM -0500 X-Operating-System: FreeBSD breizh 4.0-CURRENT FreeBSD 4.0-CURRENT Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sat, Feb 13, 1999 at 05:22:00PM -0500, Brian Feldman wrote: > >On Sat, 13 Feb 1999, Nicolas Souchu wrote: > >> Hi folks, >> >> I've just committed the alpm(4) driver to -current: the Aladdin SMBus >> driver. > >Great, my newest mobo is an AcerLabs. > >> >> With an onboard system management chip (lm7x or w87381), >> it offers monitoring capabilities to recent Acer based motherboards like >> the ASUS P5AB. > >I'm using a matsonic. > >> >> Example program to fetch temperature or voltages is available at >> http://www.planet.sci.kobe-u.ac.jp/~takawata/smbus/examples/ >> There's also an example program to fetch SDRAM info over the smbus. I attach you the detect.c program. It's very simple and may help us in knowing what I2C hardware you have on your mobo. > >I tried them, and there's the problem: all the ioctl()s they perform return >EINTR! Has this driver been tested on many motherboards? Why should I expect >an EINTR? Just wondering :) EINTR is odd. It just mean that the device at the address requested on the I2C bus do not respond. I have to translate SMBus errors to the appropriate unix ones. > > >> >> You may also want to know what smbus(4) is: >> http://www.freebsd.org/~nsouch/iicbus.html >> >> Feedbacks are wellcome. >> >> Nicholas. >> >> PS: A driver is also available for the Intel PIIX4, see intpm(4). >> >> -- >> nsouch@teaser.fr / nsouch@freebsd.org >> FreeBSD - Turning PCs into workstations - http://www.FreeBSD.org >> >> To Unsubscribe: send mail to majordomo@FreeBSD.org >> with "unsubscribe freebsd-current" in the body of the message >> > > Brian Feldman _ __ ___ ___ ___ > green@unixhelp.org _ __ ___ | _ ) __| \ > http://www.freebsd.org/ _ __ ___ ____ | _ \__ \ |) | > FreeBSD: The Power to Serve! _ __ ___ ____ _____ |___/___/___/ > > -- nsouch@teaser.fr / nsouch@freebsd.org FreeBSD - Turning PCs into workstations - http://www.FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Feb 14 01:56:32 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id BAA08415 for freebsd-current-outgoing; Sun, 14 Feb 1999 01:56:32 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from chmls11.mediaone.net (chmls11.mediaone.net [24.128.1.112]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id BAA08410 for ; Sun, 14 Feb 1999 01:56:30 -0800 (PST) (envelope-from erikf@visi.com) Received: from zeus (h-182-230.mn.mediaone.net [209.32.182.230]) by chmls11.mediaone.net (8.8.7/8.8.7) with SMTP id EAA01691 for ; Sun, 14 Feb 1999 04:56:27 -0500 (EST) Message-ID: <000701be5801$1d70dce0$0200a8c0@zeus> From: "Erik Funkenbusch" To: Subject: Disk locks and weird things Date: Sun, 14 Feb 1999 04:02:20 -0600 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2013.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2013.1300 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Recently I've been trying to upgrade an early januarrry -current to current -current. I've rebuilt the kernel several times over the last few days (with new cvsup's) so i've eliminated any freak check-in mismatches. During a make world (usually about 10-20 minutes in on my P100) everything just comes to a grinding halt. No disk activity, but the screen saver will kick in (despite the shell being in the middle of said make world). If I switch to any alternate consoles and try to do anything, even an ls, it accesses the disk for a brief second, then hangs as well. Other tasks that don't need to access the disk keep running (such as natd and obviously the screen saver). After waiting about a half hour, I hit the reset and get lots of UNREF FILE's and SUMMARY INFORMATION BAD and BLK(S) MISSING IN BIT MAPS. They all say slavaged or cleared. It doesn't appear to be a problem with the actual disk, since rebooting works fine until I try and build again. Even building the kernel works fine. but doing a make world does not (I don't know if anything else causes this). It never fails in the same place twice either, but it's always the same effect. Additionally, i've been getting No such user 'tty', service ignored messages from ntalk and comsat. I'm sure these services were updated to make use of some tty user or something, but i'd like to know what exactly I should do here. I'm also getting messages from de0 and lo0 that say: de0 XXX: driver didn't set ifq_maxlen Finally, if I try and run top i get: top: cannot read swaplist: kvm_read: Bad address kvm_open: proc size mismatch (11392 total, 680 chunks) top: Out of memory. I assume this is from a newer kernel with older support files (such as top) but since I can't get world to build, I'm kinda stuck.. One more thing. I figured I might try a complete reinstallation so I tried to download the 4.0-snap of 2-11 and was able to successfully create a kern.flp but when I tried to create mfsroot.flp it seems to sit in a loop forever just moving the disk head back and forth. I tried it with several floppies (including the one I was able to successfully create kern.flp on) with the same results. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Feb 14 02:57:58 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id CAA12819 for freebsd-current-outgoing; Sun, 14 Feb 1999 02:57:58 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from herring.nlsystems.com (nlsys.demon.co.uk [158.152.125.33]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id CAA12810 for ; Sun, 14 Feb 1999 02:57:55 -0800 (PST) (envelope-from dfr@nlsystems.com) Received: from localhost (dfr@localhost) by herring.nlsystems.com (8.9.2/8.8.8) with ESMTP id KAA48065; Sun, 14 Feb 1999 10:56:00 GMT (envelope-from dfr@nlsystems.com) Date: Sun, 14 Feb 1999 10:56:00 +0000 (GMT) From: Doug Rabson To: Thomas Dean cc: freebsd-current@FreeBSD.ORG Subject: Re: lpt0 Not Found In-Reply-To: <199902140125.RAA00376@ix.netcom.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sat, 13 Feb 1999, Thomas Dean wrote: > I changed to the new nlpt. No luck. > > It appears that the parallel port is not found. > > I am running SMP-current, as of this afternoon. From uname -a: > ... FreeBSD 4.0-CURRENT #0: Sat Feb 13 16:11:56 PST 1999 > > In my config, I changed to include ppbus0, nlpt0, and ppc0, exactly as > in LINT: > > > # Parallel-Port Bus > # nlpt Parallel Printer > controller ppbus0 > # device lpt0 at isa? port? tty irq 7 vector lptintr > controller ppc0 at isa? disable port ? tty irq 7 > device nlpt0 at ppbus? > Take out the 'disable' from the ppc0 line. Thats got me a few times too :-). -- Doug Rabson Mail: dfr@nlsystems.com Nonlinear Systems Ltd. Phone: +44 181 442 9037 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Feb 14 03:49:33 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id DAA19101 for freebsd-current-outgoing; Sun, 14 Feb 1999 03:49:33 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from postbak.webnet.nl (postbak.webnet.nl [194.229.51.30]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id DAA19095 for ; Sun, 14 Feb 1999 03:49:29 -0800 (PST) (envelope-from alexlh@funk.org) Received: from funk.org (node1484.a2000.nl [62.108.20.132]) by postbak.webnet.nl (Post.Office MTA v3.5 release 215 ID# 0-53760U1000L100S0V35) with ESMTP id nl; Sun, 14 Feb 1999 12:45:21 +0100 Message-ID: <36C6B861.49337607@funk.org> Date: Sun, 14 Feb 1999 12:49:53 +0100 From: Alex Le Heux X-Mailer: Mozilla 4.5 [en] (X11; U; FreeBSD 4.0-CURRENT i386) X-Accept-Language: en MIME-Version: 1.0 To: Erik Funkenbusch CC: freebsd-current@FreeBSD.ORG Subject: Re: Disk locks and weird things References: <000701be5801$1d70dce0$0200a8c0@zeus> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I'm getting something similar. I thought it was my mainboard, as the one I currently have has some other problems (doesn't take the Nvidia TNT card) During heavy disk i/o the system freezes up for about 10 seconds or so, and then things continue. I'm getting these messages: wd0: interrupt timeout (status 50 error 1) wd0: wdtimeout() DMA status 1 wd0: interrupt timeout (status 50 error 1) wd0: wdtimeout() DMA status 1 wd0: Last time I say: interrupt timeout. Probably a portable PC. (status 50 error 1) wd0: wdtimeout() DMA status 1 This is what gets probed: Feb 11 08:18:34 p /kernel: wdc0 at 0x1f0-0x1f7 irq 14 flags 0xa0ffa0ff on isa Feb 11 08:18:34 p /kernel: wdc0: unit 0 (wd0): , DMA, 32-bit, multi-block-16 Feb 11 08:18:34 p /kernel: wd0: 4134MB (8467200 sectors), 8960 cyls, 15 heads, 63 S/T, 512 B/S Feb 11 08:18:34 p /kernel: wdc0: unit 1 (wd1): , DMA, 32-bit, multi-block-16 Feb 11 08:18:34 p /kernel: wd1: 4110MB (8418816 sectors), 14848 cyls, 9 heads, 63 S/T, 512 B/S Feb 11 08:18:34 p /kernel: wdc1 at 0x170-0x177 irq 15 flags 0xa0ffa0ff on isa Feb 11 08:18:34 p /kernel: wdc1: unit 0 (atapi): , removable, intr, iordis Feb 11 08:18:34 p /kernel: wfd0: medium type unknown (no disk) Feb 11 08:18:34 p /kernel: wfd0: buggy Zip drive, 64-block transfer limit set Feb 11 08:18:34 p /kernel: wdc1: unit 1 (atapi): , removable, intr, dma, iordis Alex Erik Funkenbusch wrote: > > Recently I've been trying to upgrade an early januarrry -current to > current -current. I've rebuilt the kernel several times over the last few > days (with new cvsup's) so i've eliminated any freak check-in mismatches. > > During a make world (usually about 10-20 minutes in on my P100) everything > just comes to a grinding halt. No disk activity, but the screen saver will > kick in (despite the shell being in the middle of said make world). > > If I switch to any alternate consoles and try to do anything, even an ls, it > accesses the disk for a brief second, then hangs as well. Other tasks that > don't need to access the disk keep running (such as natd and obviously the > screen saver). > > After waiting about a half hour, I hit the reset and get lots of UNREF > FILE's and SUMMARY INFORMATION BAD and BLK(S) MISSING IN BIT MAPS. They all > say slavaged or cleared. > > It doesn't appear to be a problem with the actual disk, since rebooting > works fine until I try and build again. Even building the kernel works > fine. but doing a make world does not (I don't know if anything else causes > this). It never fails in the same place twice either, but it's always the > same effect. > > Additionally, i've been getting No such user 'tty', service ignored messages > from ntalk and comsat. I'm sure these services were updated to make use of > some tty user or something, but i'd like to know what exactly I should do > here. > > I'm also getting messages from de0 and lo0 that say: > > de0 XXX: driver didn't set ifq_maxlen > > Finally, if I try and run top i get: > > top: cannot read swaplist: kvm_read: Bad address > kvm_open: proc size mismatch (11392 total, 680 chunks) > top: Out of memory. > > I assume this is from a newer kernel with older support files (such as top) > but since I can't get world to build, I'm kinda stuck.. > > One more thing. I figured I might try a complete reinstallation so I tried > to download the 4.0-snap of 2-11 and was able to successfully create a > kern.flp but when I tried to create mfsroot.flp it seems to sit in a loop > forever just moving the disk head back and forth. I tried it with several > floppies (including the one I was able to successfully create kern.flp on) > with the same results. > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message -- "Ik zit op m'n kromme, akelige broertje te wachten. Die heeft zich opgesloten in de server ruimte, en die weigert eruit te komen." - Bart To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Feb 14 04:26:11 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id EAA23797 for freebsd-current-outgoing; Sun, 14 Feb 1999 04:26:11 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from goliath.camtech.net.au (goliath.camtech.net.au [203.5.73.2]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id EAA23791; Sun, 14 Feb 1999 04:26:05 -0800 (PST) (envelope-from matt@camtech.com.au) Received: from dialup-ad-12-65.camtech.net.au (dialup-ad-12-65.camtech.net.au [203.55.242.65]) by goliath.camtech.net.au (8.8.5/8.8.2) with ESMTP id WAA27819; Sun, 14 Feb 1999 22:54:21 +1030 (CST) Date: Sun, 14 Feb 1999 22:56:04 +1030 (CST) From: Matthew Thyer X-Sender: matt@localhost Reply-To: thyerm@camtech.com.au To: Nicolas Souchu cc: Brian Feldman , hardware@FreeBSD.ORG, current@FreeBSD.ORG, takawata@shidahara1.planet.sci.kobe-u.ac.jp Subject: Re: Aladdin chipset SMBus support available! In-Reply-To: <19990214095845.56909@breizh.prism.uvsq.fr> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I had the same problem with a non Aladin system. I believe the problem is that Takanori's examples no longer work since changes were made to pcisupport.c. Why do I say this ? Because Takanori said so in email to me. I dont understand how it all works but if I show you Takanori's comments maybe you guys will. START Takanori's comments =========================================== Commited code on pcisupport.c from 1.88 to 1.89 will break it. If "intpm.h" is not included,chipset probe code is used instead of the driver probe code. P.S I have forgotten to enclose unused variable in #undef ENABLE_ALART with #ifdef ENABLE_ALART - #endif ,so the variable may deleted when it was commited. And currently ENABLE_ALART code will not work properly. END Takanori's comments ============================================== On Sun, 14 Feb 1999, Nicolas Souchu wrote: > On Sat, Feb 13, 1999 at 05:22:00PM -0500, Brian Feldman wrote: > > > >On Sat, 13 Feb 1999, Nicolas Souchu wrote: > > > >> Hi folks, > >> > >> I've just committed the alpm(4) driver to -current: the Aladdin SMBus > >> driver. > > > >Great, my newest mobo is an AcerLabs. > > > >> > >> With an onboard system management chip (lm7x or w87381), > >> it offers monitoring capabilities to recent Acer based motherboards like > >> the ASUS P5AB. > > > >I'm using a matsonic. > > > >> > >> Example program to fetch temperature or voltages is available at > >> http://www.planet.sci.kobe-u.ac.jp/~takawata/smbus/examples/ > >> There's also an example program to fetch SDRAM info over the smbus. > > I attach you the detect.c program. It's very simple and may help us > in knowing what I2C hardware you have on your mobo. > > > > >I tried them, and there's the problem: all the ioctl()s they perform return > >EINTR! Has this driver been tested on many motherboards? Why should I expect > >an EINTR? Just wondering :) > > EINTR is odd. It just mean that the device at the address requested on the > I2C bus do not respond. I have to translate SMBus errors to the appropriate > unix ones. > > > > > > >> > >> You may also want to know what smbus(4) is: > >> http://www.freebsd.org/~nsouch/iicbus.html > >> > >> Feedbacks are wellcome. > >> > >> Nicholas. > >> > >> PS: A driver is also available for the Intel PIIX4, see intpm(4). > >> > >> -- > >> nsouch@teaser.fr / nsouch@freebsd.org > >> FreeBSD - Turning PCs into workstations - http://www.FreeBSD.org > >> > >> To Unsubscribe: send mail to majordomo@FreeBSD.org > >> with "unsubscribe freebsd-current" in the body of the message > >> > > > > Brian Feldman _ __ ___ ___ ___ > > green@unixhelp.org _ __ ___ | _ ) __| \ > > http://www.freebsd.org/ _ __ ___ ____ | _ \__ \ |) | > > FreeBSD: The Power to Serve! _ __ ___ ____ _____ |___/___/___/ > > > > > > -- > nsouch@teaser.fr / nsouch@freebsd.org > FreeBSD - Turning PCs into workstations - http://www.FreeBSD.org > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message > > /=====================================================================\ |Work: Matthew.Thyer@dsto.defence.gov.au | Home: thyerm@camtech.net.au| \=====================================================================/ "If it is true that our Universe has a zero net value for all conserved quantities, then it may simply be a fluctuation of the vacuum of some larger space in which our Universe is imbedded. In answer to the question of why it happened, I offer the modest proposal that our Universe is simply one of those things which happen from time to time." E. P. Tryon from "Nature" Vol.246 Dec.14, 1973 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Feb 14 05:31:19 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id FAA27846 for freebsd-current-outgoing; Sun, 14 Feb 1999 05:31:19 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: (from jmb@localhost) by hub.freebsd.org (8.8.8/8.8.8) id FAA27832; Sun, 14 Feb 1999 05:31:08 -0800 (PST) (envelope-from jmb) Date: Sun, 14 Feb 1999 05:31:08 -0800 (PST) Message-Id: <199902141331.FAA27832@hub.freebsd.org> From: "Jonathan M. Bresler" To: nsouch@teaser.fr CC: chuckr@mat.net, freebsd-current@FreeBSD.ORG, imp@village.org In-reply-to: <19990213191714.53383@breizh.prism.uvsq.fr> (message from Nicolas Souchu on Sat, 13 Feb 1999 19:17:14 +0100) Subject: Re: lpt0 References: <19990213191714.53383@breizh.prism.uvsq.fr> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > Date: Sat, 13 Feb 1999 19:17:14 +0100 > From: Nicolas Souchu > > You need: > > controller ppbus0 # The ppbus system > device nlpt0 at ppbus? # The printer driver > > And finally the parallel port chipset interface, > > controller ppc0 at isa? port? tty irq 7 drq 3 > > See ppbus(4) and/or http://www.freebsd.org/~nsouch/ppbus.html for more info > about the ppbus architecture. how much information about this should be included in /usr/src/UPDATING? the entry there talks about the change but does not provide enough information to successfully upgrade (ppc0 is not mentioned, nor does it provide a pointer to where to go for more information.) ;( jmb To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Feb 14 05:40:17 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id FAA28568 for freebsd-current-outgoing; Sun, 14 Feb 1999 05:40:17 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from janus.syracuse.net (janus.syracuse.net [205.232.47.15]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id FAA28559; Sun, 14 Feb 1999 05:40:13 -0800 (PST) (envelope-from green@unixhelp.org) Received: from localhost (green@localhost) by janus.syracuse.net (8.8.8/8.8.7) with ESMTP id IAA03734; Sun, 14 Feb 1999 08:40:11 -0500 (EST) Date: Sun, 14 Feb 1999 08:40:11 -0500 (EST) From: Brian Feldman X-Sender: green@janus.syracuse.net To: Nicolas Souchu cc: hardware@FreeBSD.ORG, current@FreeBSD.ORG Subject: Re: Aladdin chipset SMBus support available! In-Reply-To: <19990214095845.56909@breizh.prism.uvsq.fr> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, 14 Feb 1999, Nicolas Souchu wrote: > On Sat, Feb 13, 1999 at 05:22:00PM -0500, Brian Feldman wrote: > > > >On Sat, 13 Feb 1999, Nicolas Souchu wrote: > > > >> Example program to fetch temperature or voltages is available at > >> http://www.planet.sci.kobe-u.ac.jp/~takawata/smbus/examples/ > >> There's also an example program to fetch SDRAM info over the smbus. > > I attach you the detect.c program. It's very simple and may help us > in knowing what I2C hardware you have on your mobo. Where's my detect.c? I think you forgot to attach it :) > >I tried them, and there's the problem: all the ioctl()s they perform return > >EINTR! Has this driver been tested on many motherboards? Why should I expect > >an EINTR? Just wondering :) > > EINTR is odd. It just mean that the device at the address requested on the > I2C bus do not respond. I have to translate SMBus errors to the appropriate > unix ones. Hmm... wouldn't the appropriate error for something not responding be an ENXIO or ETIMEDOUT? EINTR seems more than a little wrong for this purpouse. > > -- > nsouch@teaser.fr / nsouch@freebsd.org > FreeBSD - Turning PCs into workstations - http://www.FreeBSD.org > Brian Feldman _ __ ___ ___ ___ green@unixhelp.org _ __ ___ | _ ) __| \ http://www.freebsd.org/ _ __ ___ ____ | _ \__ \ |) | FreeBSD: The Power to Serve! _ __ ___ ____ _____ |___/___/___/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Feb 14 05:53:31 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id FAA29511 for freebsd-current-outgoing; Sun, 14 Feb 1999 05:53:31 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from goliath.camtech.net.au (goliath.camtech.net.au [203.5.73.2]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id FAA29503 for ; Sun, 14 Feb 1999 05:53:29 -0800 (PST) (envelope-from matt@camtech.com.au) Received: from dialup-ad-12-65.camtech.net.au (dialup-ad-12-65.camtech.net.au [203.55.242.65]) by goliath.camtech.net.au (8.8.5/8.8.2) with ESMTP id AAA08327; Mon, 15 Feb 1999 00:22:14 +1030 (CST) Date: Mon, 15 Feb 1999 00:23:58 +1030 (CST) From: Matthew Thyer X-Sender: matt@localhost Reply-To: thyerm@camtech.com.au To: Erik Funkenbusch cc: freebsd-current@FreeBSD.ORG Subject: Re: Disk locks and weird things In-Reply-To: <000701be5801$1d70dce0$0200a8c0@zeus> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Shouldn't a make world take about 10 hours on a P100 ?? -depends on the speed of your disks. You should probably remove all the junk in /usr/obj from previous make worlds, then run "make cleandir" in /usr/src and then try a make world again. The messages about no such user 'tty' indicate your /etc files are out of date. Use the "mergemaster" port to keep your /etc files up to date but you'll need to be carefull when adding the new users to /etc/passwd (hint: run vipw after editing /etc/passwd so the password databases are re-created). One last hint: READ THE CURRENT AND CVS-ALL MAILING LISTS IF YOU'RE GOING TO RUN CURRENT! - if you cant be botherred spending the time to do this dont run CURRENT! P.S. If your existing CURRENT system is too old, you may need to try installing a snapshot first.... you may have to try a few different snapshots before you find one that works... there were some problems a while back with boot disks I think. On Sun, 14 Feb 1999, Erik Funkenbusch wrote: > Recently I've been trying to upgrade an early januarrry -current to > current -current. I've rebuilt the kernel several times over the last few > days (with new cvsup's) so i've eliminated any freak check-in mismatches. > > During a make world (usually about 10-20 minutes in on my P100) everything > just comes to a grinding halt. No disk activity, but the screen saver will > kick in (despite the shell being in the middle of said make world). > > If I switch to any alternate consoles and try to do anything, even an ls, it > accesses the disk for a brief second, then hangs as well. Other tasks that > don't need to access the disk keep running (such as natd and obviously the > screen saver). > > After waiting about a half hour, I hit the reset and get lots of UNREF > FILE's and SUMMARY INFORMATION BAD and BLK(S) MISSING IN BIT MAPS. They all > say slavaged or cleared. > > It doesn't appear to be a problem with the actual disk, since rebooting > works fine until I try and build again. Even building the kernel works > fine. but doing a make world does not (I don't know if anything else causes > this). It never fails in the same place twice either, but it's always the > same effect. > > Additionally, i've been getting No such user 'tty', service ignored messages > from ntalk and comsat. I'm sure these services were updated to make use of > some tty user or something, but i'd like to know what exactly I should do > here. > > I'm also getting messages from de0 and lo0 that say: > > de0 XXX: driver didn't set ifq_maxlen > > Finally, if I try and run top i get: > > top: cannot read swaplist: kvm_read: Bad address > kvm_open: proc size mismatch (11392 total, 680 chunks) > top: Out of memory. > > I assume this is from a newer kernel with older support files (such as top) > but since I can't get world to build, I'm kinda stuck.. > > One more thing. I figured I might try a complete reinstallation so I tried > to download the 4.0-snap of 2-11 and was able to successfully create a > kern.flp but when I tried to create mfsroot.flp it seems to sit in a loop > forever just moving the disk head back and forth. I tried it with several > floppies (including the one I was able to successfully create kern.flp on) > with the same results. > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message > > /=====================================================================\ |Work: Matthew.Thyer@dsto.defence.gov.au | Home: thyerm@camtech.net.au| \=====================================================================/ "If it is true that our Universe has a zero net value for all conserved quantities, then it may simply be a fluctuation of the vacuum of some larger space in which our Universe is imbedded. In answer to the question of why it happened, I offer the modest proposal that our Universe is simply one of those things which happen from time to time." E. P. Tryon from "Nature" Vol.246 Dec.14, 1973 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Feb 14 05:58:41 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id FAA00106 for freebsd-current-outgoing; Sun, 14 Feb 1999 05:58:41 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from janus.syracuse.net (janus.syracuse.net [205.232.47.15]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id FAA29999 for ; Sun, 14 Feb 1999 05:58:39 -0800 (PST) (envelope-from green@unixhelp.org) Received: from localhost (green@localhost) by janus.syracuse.net (8.8.8/8.8.7) with ESMTP id IAA04448; Sun, 14 Feb 1999 08:58:29 -0500 (EST) Date: Sun, 14 Feb 1999 08:58:29 -0500 (EST) From: Brian Feldman X-Sender: green@janus.syracuse.net To: Erik Funkenbusch cc: freebsd-current@FreeBSD.ORG Subject: Re: Disk locks and weird things In-Reply-To: <000701be5801$1d70dce0$0200a8c0@zeus> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, 14 Feb 1999, Erik Funkenbusch wrote: > Recently I've been trying to upgrade an early januarrry -current to > current -current. I've rebuilt the kernel several times over the last few > days (with new cvsup's) so i've eliminated any freak check-in mismatches. > > During a make world (usually about 10-20 minutes in on my P100) everything > just comes to a grinding halt. No disk activity, but the screen saver will > kick in (despite the shell being in the middle of said make world). > > If I switch to any alternate consoles and try to do anything, even an ls, it > accesses the disk for a brief second, then hangs as well. Other tasks that > don't need to access the disk keep running (such as natd and obviously the > screen saver). > > After waiting about a half hour, I hit the reset and get lots of UNREF > FILE's and SUMMARY INFORMATION BAD and BLK(S) MISSING IN BIT MAPS. They all > say slavaged or cleared. But you didn't look in /var/log/messages? For shame! > > It doesn't appear to be a problem with the actual disk, since rebooting > works fine until I try and build again. Even building the kernel works > fine. but doing a make world does not (I don't know if anything else causes > this). It never fails in the same place twice either, but it's always the > same effect. What you should have said is "It doesn't appear to be a problem with the actual disk, since rebooting with a different brand disk of the same capabilities doesn't work." or vice versa. > > Additionally, i've been getting No such user 'tty', service ignored messages > from ntalk and comsat. I'm sure these services were updated to make use of > some tty user or something, but i'd like to know what exactly I should do > here. Look in src/etc/master.passwd. vipw and add the lines for users you don't have. > > I'm also getting messages from de0 and lo0 that say: > > de0 XXX: driver didn't set ifq_maxlen That's mostly harmless. It's a warning to driver maintainers that was just put in recently; the driver hasn't ever set ifq_maxlen, no doubt. > > Finally, if I try and run top i get: > > top: cannot read swaplist: kvm_read: Bad address > kvm_open: proc size mismatch (11392 total, 680 chunks) > top: Out of memory. > > I assume this is from a newer kernel with older support files (such as top) > but since I can't get world to build, I'm kinda stuck.. Yes it is, but the proper order is to make th world and then make the kernel. > > One more thing. I figured I might try a complete reinstallation so I tried > to download the 4.0-snap of 2-11 and was able to successfully create a > kern.flp but when I tried to create mfsroot.flp it seems to sit in a loop > forever just moving the disk head back and forth. I tried it with several > floppies (including the one I was able to successfully create kern.flp on) > with the same results. > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message > Brian Feldman _ __ ___ ___ ___ green@unixhelp.org _ __ ___ | _ ) __| \ http://www.freebsd.org/ _ __ ___ ____ | _ \__ \ |) | FreeBSD: The Power to Serve! _ __ ___ ____ _____ |___/___/___/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Feb 14 07:52:38 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id HAA07300 for freebsd-current-outgoing; Sun, 14 Feb 1999 07:52:38 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from germanium.xtalwind.net (germanium.xtalwind.net [205.160.242.5]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id HAA07293 for ; Sun, 14 Feb 1999 07:52:35 -0800 (PST) (envelope-from jack@germanium.xtalwind.net) Received: from localhost (jack@localhost) by germanium.xtalwind.net (8.9.2/8.9.2) with ESMTP id KAA98706 for ; Sun, 14 Feb 1999 10:52:32 -0500 (EST) Date: Sun, 14 Feb 1999 10:52:31 -0500 (EST) From: jack To: freebsd-current@FreeBSD.ORG Subject: Is ppb a device or controller? Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG $Id: LINT,v 1.555 1999/02/14 12:00:00 nsouch Exp $ controller ppc0 at isa? port? tty irq 7 $Id: GENERIC,v 1.149 1999/02/14 12:00:00 nsouch Exp $ device ppc0 at isa? port? tty irq 7 Are the lables device and controller interchangeable? -------------------------------------------------------------------------- Jack O'Neill Systems Administrator / Systems Analyst jack@germanium.xtalwind.net Crystal Wind Communications, Inc. Finger jack@germanium.xtalwind.net for my PGP key. PGP Key fingerprint = F6 C4 E6 D4 2F 15 A7 67 FD 09 E9 3C 5F CC EB CD enriched, vcard, HTML messages > /dev/null -------------------------------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Feb 14 08:08:00 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA08598 for freebsd-current-outgoing; Sun, 14 Feb 1999 08:08:00 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from reliam.teaser.fr (reliam.teaser.fr [194.51.80.12]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id IAA08590; Sun, 14 Feb 1999 08:07:56 -0800 (PST) (envelope-from son@teaser.fr) Received: from teaser.fr (ppp1087-ft.teaser.fr [194.206.156.40]) by reliam.teaser.fr (8.9.1a/8.9.1a) with ESMTP id RAA18833; Sun, 14 Feb 1999 17:07:41 +0100 (MET) Received: (from son@localhost) by teaser.fr (8.9.2/8.9.1) id QAA03111; Sun, 14 Feb 1999 16:37:41 +0100 (CET) (envelope-from son) Message-ID: <19990214163740.21928@breizh.prism.uvsq.fr> Date: Sun, 14 Feb 1999 16:37:40 +0100 From: Nicolas Souchu To: "Jonathan M. Bresler" Cc: chuckr@mat.net, freebsd-current@FreeBSD.ORG, imp@village.org Subject: Re: lpt0 References: <19990213191714.53383@breizh.prism.uvsq.fr> <199902141331.FAA27832@hub.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.81e In-Reply-To: <199902141331.FAA27832@hub.freebsd.org>; from Jonathan M. Bresler on Sun, Feb 14, 1999 at 05:31:08AM -0800 X-Operating-System: FreeBSD breizh 4.0-CURRENT FreeBSD 4.0-CURRENT Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, Feb 14, 1999 at 05:31:08AM -0800, Jonathan M. Bresler wrote: > >> Date: Sat, 13 Feb 1999 19:17:14 +0100 >> From: Nicolas Souchu >> >> You need: >> >> controller ppbus0 # The ppbus system >> device nlpt0 at ppbus? # The printer driver >> >> And finally the parallel port chipset interface, >> >> controller ppc0 at isa? port? tty irq 7 drq 3 >> >> See ppbus(4) and/or http://www.freebsd.org/~nsouch/ppbus.html for more info >> about the ppbus architecture. > > how much information about this should be included in > /usr/src/UPDATING? the entry there talks about the change but does > not provide enough information to successfully upgrade (ppc0 is not > mentioned, nor does it provide a pointer to where to go for more > information.) ;( Sorry, your efforts are lost. I've just renamed nlpt to lpt. But I've properly updated lpt.4, I think. You may just add, the minimal configuration and point to the manpage for further details. Something like: >>> Now the lpt driver, previously named nlpt in the ppbus system not to collide with the original isa/lpt.c functions, shall be declared with: controller ppbus0 device lpt0 at ppbus? controller ppc0 at isa? port "IO_LPT1" tty irq 7 The ppc(4) driver is the ISA parallel port interface driver. The ppbus(4) controller stands for the whole ppbus system code. And finally, you have lpt(4). <<< > >jmb > -- nsouch@teaser.fr / nsouch@freebsd.org FreeBSD - Turning PCs into workstations - http://www.FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Feb 14 08:08:05 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA08646 for freebsd-current-outgoing; Sun, 14 Feb 1999 08:08:05 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from reliam.teaser.fr (reliam.teaser.fr [194.51.80.12]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id IAA08603; Sun, 14 Feb 1999 08:08:00 -0800 (PST) (envelope-from son@teaser.fr) Received: from teaser.fr (ppp1087-ft.teaser.fr [194.206.156.40]) by reliam.teaser.fr (8.9.1a/8.9.1a) with ESMTP id RAA16800; Sun, 14 Feb 1999 17:07:51 +0100 (MET) Received: (from son@localhost) by teaser.fr (8.9.2/8.9.1) id PAA02961; Sun, 14 Feb 1999 15:52:32 +0100 (CET) (envelope-from son) Message-ID: <19990214155232.61732@breizh.prism.uvsq.fr> Date: Sun, 14 Feb 1999 15:52:32 +0100 From: Nicolas Souchu To: Brian Feldman Cc: hardware@FreeBSD.ORG, current@FreeBSD.ORG Subject: Re: Aladdin chipset SMBus support available! References: <19990214095845.56909@breizh.prism.uvsq.fr> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="Mm9M+Fa2AknHoGS/" X-Mailer: Mutt 0.81e In-Reply-To: ; from Brian Feldman on Sun, Feb 14, 1999 at 08:40:11AM -0500 X-Operating-System: FreeBSD breizh 4.0-CURRENT FreeBSD 4.0-CURRENT Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG --Mm9M+Fa2AknHoGS/ Content-Type: text/plain; charset=us-ascii On Sun, Feb 14, 1999 at 08:40:11AM -0500, Brian Feldman wrote: > >On Sun, 14 Feb 1999, Nicolas Souchu wrote: > >> On Sat, Feb 13, 1999 at 05:22:00PM -0500, Brian Feldman wrote: >> > >> >On Sat, 13 Feb 1999, Nicolas Souchu wrote: >> > >> >> Example program to fetch temperature or voltages is available at >> >> http://www.planet.sci.kobe-u.ac.jp/~takawata/smbus/examples/ >> >> There's also an example program to fetch SDRAM info over the smbus. >> >> I attach you the detect.c program. It's very simple and may help us >> in knowing what I2C hardware you have on your mobo. > >Where's my detect.c? I think you forgot to attach it :) :) here it is! > >> >I tried them, and there's the problem: all the ioctl()s they perform return >> >EINTR! Has this driver been tested on many motherboards? Why should I expect >> >an EINTR? Just wondering :) >> >> EINTR is odd. It just mean that the device at the address requested on the >> I2C bus do not respond. I have to translate SMBus errors to the appropriate >> unix ones. > >Hmm... wouldn't the appropriate error for something not responding be an >ENXIO or ETIMEDOUT? EINTR seems more than a little wrong for this purpouse. Fix committed. BTW, as outlined by -pkh all this is just a first step in a huge monitoring adventure where all still need to be _defined_ (architecture and interfaces) and implemented. Any proposition for doing the job is wellcome, since I just have enough time to do the hardware SMBus support. Nicholas -- nsouch@teaser.fr / nsouch@freebsd.org FreeBSD - Turning PCs into workstations - http://www.FreeBSD.org --Mm9M+Fa2AknHoGS/ Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="detect.c" /*- * Copyright (c) 1999 Nicolas Souchu * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * * [id for your version control system, if any] */ /*This program is prototype version. I'll write better one*/ #include #include #include const double vfactor[]={1,1,1,1.67,4,-4,-1.67}; const char *Inpname[]={ "Vcore","Vit","VIO","+5V","+12V","-12V","-5V" }; int doioctl(int alias, int cmd, caddr_t param) { int error = 1; int retry = 3; while (error && retry--) { usleep(200); error = ioctl(alias, cmd, param); } return (error); } int main (int argc,char argv[]) { int alias, i; unsigned char byte=0; struct smbcmd cmd; bzero(&cmd, sizeof(cmd)); cmd.data.byte_ptr = &byte; alias = open("/dev/smb0", O_RDWR); for (i=2; i<254; i+=2) { cmd.slave=(u_char)i; if(doioctl(alias, SMB_RECVB, (caddr_t)&cmd)!=-1){ printf("%x found.\n",i); } } close(alias); return 0; } --Mm9M+Fa2AknHoGS/-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Feb 14 08:08:08 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA08659 for freebsd-current-outgoing; Sun, 14 Feb 1999 08:08:08 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from reliam.teaser.fr (reliam.teaser.fr [194.51.80.12]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id IAA08635 for ; Sun, 14 Feb 1999 08:08:02 -0800 (PST) (envelope-from son@teaser.fr) Received: from teaser.fr (ppp1087-ft.teaser.fr [194.206.156.40]) by reliam.teaser.fr (8.9.1a/8.9.1a) with ESMTP id RAA30118; Sun, 14 Feb 1999 17:07:53 +0100 (MET) Received: (from son@localhost) by teaser.fr (8.9.2/8.9.1) id MAA02252; Sun, 14 Feb 1999 12:41:33 +0100 (CET) (envelope-from son) Message-ID: <19990214124132.00308@breizh.prism.uvsq.fr> Date: Sun, 14 Feb 1999 12:41:32 +0100 From: Nicolas Souchu To: Chuck Robey Cc: freebsd-current@FreeBSD.ORG Subject: Re: New print interface References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.81e In-Reply-To: ; from Chuck Robey on Sat, Feb 13, 1999 at 10:03:41PM -0500 X-Operating-System: FreeBSD breizh 4.0-CURRENT FreeBSD 4.0-CURRENT Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sat, Feb 13, 1999 at 10:03:41PM -0500, Chuck Robey wrote: > >I have to add an addendum here, to my previous question about the new >config file setup for a simple printer. I was looking forward to seeing >the probing come back to my dmesg, when I finally got it right, but >seeing this: > >Feb 13 14:02:01 picnic /kernel: ppc0 at 0x378 irq 7 on isa >Feb 13 14:02:01 picnic /kernel: ppc0: SMC FDC37C665GT chipset >(EPP/PS2/NIBBLE) in COMPATIBLE mode >Feb 13 14:02:01 picnic /kernel: ppb0: IEEE1284 device found /NIBBLE/ECP >Feb 13 14:02:01 picnic /kernel: Probing for PnP devices on ppbus0: >Feb 13 14:02:01 picnic /kernel: ppbus0: >MLC,PCL,PML >Feb 13 14:02:01 picnic /kernel: nlpt0: on ppbus 0 >Feb 13 14:02:01 picnic /kernel: nlpt0: Interrupt-driven port > >I *never* expected to see the PNP functions actually pick up the name of >my printer. I was economically bushwacked by the Windows corps into >buying the 693C (the version with the Windows software floppies tacked >on) so I was actually pleased that it ID'd the printer as the more >generic 690C (sans the Windows extortia). > >Very nice. The mistake I'd made earlier was in not knowing that the >config needed all 3 lines, not just some subset of 2 of them as I'd >guessed. > >Great job, Nicolas! BTW, try 'cat /dev/lpt0' ;) -- nsouch@teaser.fr / nsouch@freebsd.org FreeBSD - Turning PCs into workstations - http://www.FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Feb 14 08:36:25 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA11734 for freebsd-current-outgoing; Sun, 14 Feb 1999 08:36:25 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from feral.com (feral.com [192.67.166.1]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id IAA11729 for ; Sun, 14 Feb 1999 08:36:23 -0800 (PST) (envelope-from mjacob@feral.com) Received: from localhost (mjacob@localhost) by feral.com (8.8.7/8.8.7) with ESMTP id IAA26560 for ; Sun, 14 Feb 1999 08:36:13 -0800 Date: Sun, 14 Feb 1999 08:36:13 -0800 (PST) From: Matthew Jacob X-Sender: mjacob@feral-gw Reply-To: mjacob@feral.com To: freebsd-current@FreeBSD.ORG Subject: incomplete integration? Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG ===> pccardc cc -O -pipe -I/usr/src/usr.sbin/pccard/pccardc/../pccardd -Wall -g -static -c /usr/src/usr.sbin/pccard/pccardc/beep.c /usr/src/usr.sbin/pccard/pccardc/beep.c: In function `beep_main': /usr/src/usr.sbin/pccard/pccardc/beep.c:74: `PIOCSBEEP' undeclared (first use this function) /usr/src/usr.sbin/pccard/pccardc/beep.c:74: (Each undeclared identifier is reported only once /usr/src/usr.sbin/pccard/pccardc/beep.c:74: for eac To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Feb 14 08:53:25 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA13088 for freebsd-current-outgoing; Sun, 14 Feb 1999 08:53:25 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from picnic.mat.net (b133.mat.net [206.246.122.133] (may be forged)) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id IAA13079 for ; Sun, 14 Feb 1999 08:53:20 -0800 (PST) (envelope-from chuckr@mat.net) Received: from localhost (chuckr@localhost) by picnic.mat.net (8.9.3/8.8.5) with ESMTP id LAA47466; Sun, 14 Feb 1999 11:52:05 -0500 (EST) Date: Sun, 14 Feb 1999 11:52:04 -0500 (EST) From: Chuck Robey To: Nicolas Souchu cc: freebsd-current@FreeBSD.ORG Subject: Re: New print interface In-Reply-To: <19990214124132.00308@breizh.prism.uvsq.fr> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, 14 Feb 1999, Nicolas Souchu wrote: > >I *never* expected to see the PNP functions actually pick up the name of > >my printer. I was economically bushwacked by the Windows corps into > >buying the 693C (the version with the Windows software floppies tacked > >on) so I was actually pleased that it ID'd the printer as the more > >generic 690C (sans the Windows extortia). > > > >Very nice. The mistake I'd made earlier was in not knowing that the > >config needed all 3 lines, not just some subset of 2 of them as I'd > >guessed. > > > >Great job, Nicolas! > > BTW, try 'cat /dev/lpt0' ;) OK, I just cvsupped, I will quickly. There's a reference to setting a drq for lpt, which isn't something I'd had to do before ... I guess there's dma capability since I last looked at it, but how do I tell what dma channel has been chosen for it? Will my bios set it for me, or is it going to be probed somehow? How do I set it? I saw an example with it set to 3, is that a default value (shall I experiment?) ----------------------------+----------------------------------------------- Chuck Robey | Interests include any kind of voice or data chuckr@glue.umd.edu | communications topic, C programming, and Unix. 213 Lakeside Drive Apt T-1 | Greenbelt, MD 20770 | I run picnic (FreeBSD-current) (301) 220-2114 | and jaunt (Solaris7). ----------------------------+----------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Feb 14 09:11:13 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA14780 for freebsd-current-outgoing; Sun, 14 Feb 1999 09:11:13 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from janus.syracuse.net (janus.syracuse.net [205.232.47.15]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA14772; Sun, 14 Feb 1999 09:11:10 -0800 (PST) (envelope-from green@unixhelp.org) Received: from localhost (green@localhost) by janus.syracuse.net (8.8.8/8.8.7) with ESMTP id MAA14227; Sun, 14 Feb 1999 12:11:09 -0500 (EST) Date: Sun, 14 Feb 1999 12:11:09 -0500 (EST) From: Brian Feldman X-Sender: green@janus.syracuse.net To: Nicolas Souchu cc: hardware@FreeBSD.ORG, current@FreeBSD.ORG Subject: Re: Aladdin chipset SMBus support available! In-Reply-To: <19990214155232.61732@breizh.prism.uvsq.fr> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, 14 Feb 1999, Nicolas Souchu wrote: > On Sun, Feb 14, 1999 at 08:40:11AM -0500, Brian Feldman wrote: > > > >On Sun, 14 Feb 1999, Nicolas Souchu wrote: > > > >> On Sat, Feb 13, 1999 at 05:22:00PM -0500, Brian Feldman wrote: > >> > > >> >On Sat, 13 Feb 1999, Nicolas Souchu wrote: > >> > > >> >> Example program to fetch temperature or voltages is available at > >> >> http://www.planet.sci.kobe-u.ac.jp/~takawata/smbus/examples/ > >> >> There's also an example program to fetch SDRAM info over the smbus. > >> > >> I attach you the detect.c program. It's very simple and may help us > >> in knowing what I2C hardware you have on your mobo. > > > >Where's my detect.c? I think you forgot to attach it :) > > :) here it is! alpm0: rev 0x00 on pci0.3.0 alsmb0: smbus0: on alsmb0 smb0: on smbus0 {"/home/green/examples"}$ ./detect a2 found. d2 found. > > > > >> >I tried them, and there's the problem: all the ioctl()s they perform return > >> >EINTR! Has this driver been tested on many motherboards? Why should I expect > >> >an EINTR? Just wondering :) > >> > >> EINTR is odd. It just mean that the device at the address requested on the > >> I2C bus do not respond. I have to translate SMBus errors to the appropriate > >> unix ones. > > > >Hmm... wouldn't the appropriate error for something not responding be an > >ENXIO or ETIMEDOUT? EINTR seems more than a little wrong for this purpouse. > > Fix committed. > > BTW, as outlined by -pkh all this is just a first step in a huge monitoring > adventure where all still need to be _defined_ (architecture and interfaces) > and implemented. Any proposition for doing the job is wellcome, > since I just have enough time to do the hardware SMBus support. Sounds like fun.... > > Nicholas > > -- > nsouch@teaser.fr / nsouch@freebsd.org > FreeBSD - Turning PCs into workstations - http://www.FreeBSD.org > Brian Feldman _ __ ___ ___ ___ green@unixhelp.org _ __ ___ | _ ) __| \ http://www.freebsd.org/ _ __ ___ ____ | _ \__ \ |) | FreeBSD: The Power to Serve! _ __ ___ ____ _____ |___/___/___/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message From owner-freebsd-current Sun Feb 14 09:19:15 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA15533 for freebsd-current-outgoing; Sun, 14 Feb 1999 09:19:15 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from zippy.dyn.ml.org (pm3-30.ppp.wenet.net [206.15.85.30]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA15524 for ; Sun, 14 Feb 1999 09:19:11 -0800 (PST) (envelope-from garbanzo@hooked.net) Received: from localhost (garbanzo@localhost [127.0.0.1]) by zippy.dyn.ml.org (8.9.2/8.9.1) with ESMTP id JAA00748; Sun, 14 Feb 1999 09:14:12 -0800 (PST) (envelope-from garbanzo@hooked.net) Date: Sun, 14 Feb 1999 09:14:12 -0800 (PST) From: Alex Zepeda To: "Daniel C. Sobral" cc: Alexander Leidinger , jose@we.lc.ehu.es, thyerm@camtech.com.au, current@FreeBSD.ORG, hosokawa@jp.FreeBSD.org Subject: Re: How to power off an ATX power supply machine on shutdown ? In-Reply-To: <36C468A5.C1672572@newsguy.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sat, 13 Feb 1999, Daniel C. Sobral wrote: > > Do you use the "Power up at