Re: Looking for a AMD64 nForce3 volunteer.

2003-12-25 Thread Q
Thanks, I have known about this for a while, and after speaking with the
author, have taken his suggestion to hang off porting this one for a
little bit until they have sorted out a few issues.

I plan to revisit this again over the next couple of weeks as I am
currently on leave, but getting the Linux binary version working on the
AMD64 nForce3 boards should be trivial as it varies very little from the
i386 version, so I would like to get that working first.

Seeya...Q

On Thu, 2003-12-25 at 15:22, Matthew Dillon wrote:

 I just found a linux written, GPL'd, reverse engineered nforce2
 ethernet driver in source form:
 
 http://linux.derkeiler.com/Mailing-Lists/Kernel/2003-10/6502.html
 
 It might help.
 
   -Matt
   Matthew Dillon 
   [EMAIL PROTECTED]
 
 
 :Hi,
 :  
 :NVIDIA have just released their AMD64 version of the nForce drivers, and
 :I am keen to add support for the onboard ethernet (MCP3) of this
 :hardware to my existing nforce MCP driver (net/nvnet in ports). As I
 :don't have access to one of these boards it's a bit hard to do right
 :now. And Santa won't be bringing me one for christmas because he's an
 :Intel man. ;)
 :
 :So I need a kind soul to volunteer some time and/or remote access to
 :such a box, so I can modify my driver to work on this hardware. Very
 :little is different between the i386 and AMD64 versions of the drivers
 :so I (should) just need to sort out any 64bit related issues, get it to
 :build and make sure that it works. Any and all assistance would be much
 :appreciated.
 :
 :-- 
 :Seeya...Q
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to [EMAIL PROTECTED]


Unprobed PCI bus on VXPro II chipset

2003-12-25 Thread Sean Welch
As I'm not quite sure where I should be asking for help with this I figured
I'd try shooting the info over to freebsd-hackers (as it seemed the closest
match).

I've got an oldish machine (EDO RAM and such) running a VXPro II chipset.
I have successfully configured FreeBSD from 2.2.8 up to 5-CURRENT to run
on this thing but I've never managed to get it to probe and attach anything
on the PCI bus.  Here's what I've found and what I've tried.

I believe the motherboard was sold as PCChips kit.  Looking up the stats
I find that it was a rebrand of Hint Co. hardware.  The PCI IDs are actually
listed in /usr/share/misc/pci_vendors and look like this:

3388Hint Corp.
0020HB6 UNIVERSAL PCI-PCI BRIDGE
0021HB1-SE33 PCI-to-PCI Bridge
8011VXPro II Chipset CPU to PCI Bridge
8012VXPro II Chipset PCI to ISA Bridge
8013VXPro II Chipset EIDE Controller

I found a commit notice online to the linux kernel that contained these 
same IDs so it looks like the complete string should be 33880020, 
33880021, etc.  I also managed to find this message from *long* 
ago:

http://groups.google.com/groups?hl=enlr=ie=UTF-8oe=UTF-8threadm=Pine.BSF.3.96.990120135600.28221A-10_gate1.ilhadamagia.com.br%40ns.sol.netrnum=5prev=/groups%3Fhl%3Den%26lr%3D%26ie%3DUTF-8%26oe%3DUTF-8%26q%3Dfreebsd%2Bvxpro%26btnG%3DGoogle%2BSearch

I'm currently running 4.9-RELEASE.  The uname -a output is:

FreeBSD  4.9-RELEASE FreeBSD 4.9-RELEASE #5: Tue Oct 14 11:51:28 CDT 2003
root@:/usr/src/sys/compile/WARPPHYS  i386

Poking around I discovered that pcibus.c no longer contains the code
referenced in the above message (but that didn't stop me).  I found
it instead in pci_cfgreg.c and tried adding the explicit set of oldval1 to
zero but no joy.  I ended up adding the PCI IDs to both
/usr/src/sys/i386/isa/pcibus.c and also /usr/src/sys/pci/pcisupport.c
in the effort to get the chipset recognized.  No go.

When I boot verbose this is all I can get about the PCI bus:

pci_open(1):mode 1 addr port (0x0cf8) is 0xff00
pci_open(1a):   mode1res=0x (0x8000)
pci_open(1b):   mode1res=0x7020 (0xff01)
pci_open(2):mode 2 enable port (0x0cf8) is 0xff

Infuriatingly, the BIOS sees everything on the bus and labels the devices
with reasonable categories.  Likewise, scanpci (comes with XFree86)
identifies the chipsets and the devices without any trouble at all -- that
at least explains why I've never had any trouble using the PCI video card
under X.  The output of scanpci identifies the last three chipsets from
that snipet I put above (from pci_vendors) with the last being labeled as
IDE rather than EIDE (which is correct).

Based on this digging around I'm convinced that there must be some
ugly hack that is posible to get FreeBSD to probe and attach the bus
and devices on it.  I've only got this desktop and while I've been able
to live without the PCI USB card, I need to test out a PCI WinTV card.
The whole machine is old enough that isn't feasible to just try swapping
out the motherboard (the case isn't even ATX compatible) and I've not
got the money to just buy something else.

Would anyone be willing to help me get this sorted out?  I'm out of
my depth here but to my inexperienced eyes this doesn't look to be
an insurmountable issue.

Sean




___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Looking for a AMD64 nForce3 volunteer.

2003-12-25 Thread Matthew Dillon
I just found a linux written, GPL'd, reverse engineered nforce2
ethernet driver in source form:

http://linux.derkeiler.com/Mailing-Lists/Kernel/2003-10/6502.html

It might help.

-Matt
Matthew Dillon 
[EMAIL PROTECTED]


:Hi,
:  
:NVIDIA have just released their AMD64 version of the nForce drivers, and
:I am keen to add support for the onboard ethernet (MCP3) of this
:hardware to my existing nforce MCP driver (net/nvnet in ports). As I
:don't have access to one of these boards it's a bit hard to do right
:now. And Santa won't be bringing me one for christmas because he's an
:Intel man. ;)
:
:So I need a kind soul to volunteer some time and/or remote access to
:such a box, so I can modify my driver to work on this hardware. Very
:little is different between the i386 and AMD64 versions of the drivers
:so I (should) just need to sort out any 64bit related issues, get it to
:build and make sure that it works. Any and all assistance would be much
:appreciated.
:
:-- 
:Seeya...Q
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to [EMAIL PROTECTED]


SIGPIPE in popper

2003-12-25 Thread Varshavchick Alexander
Hi everyone and Merry Christmas!

I have the following problem: after moving cucipop popper daemon to
FreeBSD 4.9 from 4.5, the popper often terminates with a SIGPIPE, even if
the client resides on the same server. It never occured on FreeBSD 4.5. It
seems as though the tcp connection breaks unexpectedly due to some reason
at random times. Can you give me any hints how to solve this?

Thanks a lot



Alexander Varshavchick, Metrocom Joint Stock Company
Phone: (812)118-3322, 118-3115(fax)
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to [EMAIL PROTECTED]


tr command in DDB

2003-12-25 Thread Zhihui Zhang
Hi,

I always like the command db tr 123 in DDB.  Is there an equivalent
command in gdb?  Thanks.

-Zhihui

-- 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to [EMAIL PROTECTED]


(mtx|sx)_init zeroed memory requirement plans?

2003-12-25 Thread Stephan Uphoff

Currently both mtx_init() and sx_init() make assumptions about the
lock memory passed in.  ( KASSERT((lock-lo_flags  LO_INITIALIZED) == 0))

To fulfill this requirement current code that works with dynamically 
allocated memory routinely zeroes the lock memory space before
calling the lock initialization function.
( Or allocates zeroed memory)

Is this (undocumented?) behavior just a temporary debugging aid - or
will it stay around ?

If it is not going away anytime soon I would suggest adding 
MTX_PREPARE and SX_PREPARE macros instead of zeroing the lock memory.

This would make it easier to remove or optimize lock memory preparation
later on.


Stephan


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to [EMAIL PROTECTED]


Power consumption in desktop computers

2003-12-25 Thread Martin Cracauer
Hi,

those who followed might have noticed I was shopping for a notebook to
replace some of my desktop system.  To make it short, the notebook
vendors all pissed me off so good that I'm not going to get a notebook
(details on request) so I am going for other options.

Here is what my powermeter thinks my desktops are using with various
options:

System 1 (wavehh, FreeBSD-4-stable):
- 1300 MHz Celeron
- Asus P2B board
- 3x 256 MB ECC modules
- 2x Intel 82855 fxp cards
- 3.5 Floppy 
- Promise PCI IDE controller
- Matrox G-400 (G-450?) 32 MB dual-head
- 35772MB IBM-DPTA-353750 
- 76345MB MAXTOR 6L080J4
- DVD-ROM JLMS XJ-HD165H
- CD-RW 32X10 at ata1-master WDMA2

Base power consumption with all drives: 99 watts
- No drives connected: 82 watts
- CD-Writer and DVD each take 1 watt when idle
- Maxtor disk takes 8-10 watts
- IBM disk takes 6-8 watts
- replacing the G-400 with some random plain S3 saves 4 watts
- forgot to measure what the fxp cards draw, but they get pretty hot,
  I assume it is not neglectable


System 2: libber, Linux-2.6.0 and Win2K (yes, that's supposed to
become my FreeBSD-current system when I figure out why the CD-writer
broke on my move):
- Asus A7V600 Via KT600
- AMD Athlon XP 2500+ 1.83GHz
- 1x 512 MB non-ECC module
- ATI Radeon 7500 LE 128 MB incl ventilator
- Maxtor 6Y060P0 60 GB drive
- TOSHIBA DVD-ROM SD-R5112 (DVD-R writer)
- Adaptec 2940 with 3 SCSI CD-ROMS, picked up for $1 each on MIT
  swapfest
- TV card (model escapes me right now)
- 8139 Ethernet (doesn't get as hot as the fxp cards)

NOTE: this is the new Athlon core, this CPU takes less power than
e.g. the 2600+ and 2400+ which are based on the old core.

Base system with all drives:148 watts
- DVD writer idle:2 watts
- 3x SCSI CD:20 watts (ups...)
- harddrive   5 watts
- no video card:-23 watts
  (not sure the system goes into proper startup with no video)
- replace ATI card with G-400   -15 watts
  (16 MB card, not the save card as above)
- TV card out-6 watts
- SCSI card out  -1 watt
- Realtek 8139 out   -1 watt

Harddisk activity: find / -name laksjfla:adds 1 watt

When Linux is driven with make CPU halt calls when idle the 148
watts go down to 136 when the system is idle, and up from that by 25
watts on drystone munching.

Remarks:

I assume that you can build a pretty nice powersaving box if you use
one of the Intel chipsets with 852/855 GM onboard video.

I am surprised the harddrives take so few power, but the numbers are
clear.  I was near replacing them with notebook drives, glad I
measured.

Don't pick up 10 year old hardware on flea markets if you want to save
power :-)

My old 20 Hitachi superscan Elite 751 takes more than twice the power
than the new el-cheapo MAG 19.

For some reason the AMD box draws about 5 watts when turned off.
Power supply change may be a good idea.


-- 
%%%
Martin Cracauer [EMAIL PROTECTED]   http://www.cons.org/cracauer/
 No warranty.This email is probably produced by one of my cats 
 stepping on the keys. No, I don't have an infinite number of cats.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Power consumption in desktop computers

2003-12-25 Thread Anton Alin-Adrian
Martin Cracauer wrote:

Hi,

those who followed might have noticed I was shopping for a notebook to
replace some of my desktop system.  To make it short, the notebook
vendors all pissed me off so good that I'm not going to get a notebook
(details on request) so I am going for other options.
Here is what my powermeter thinks my desktops are using with various
options:
System 1 (wavehh, FreeBSD-4-stable):
- 1300 MHz Celeron
- Asus P2B board
- 3x 256 MB ECC modules
- 2x Intel 82855 fxp cards
- 3.5 Floppy 
- Promise PCI IDE controller
- Matrox G-400 (G-450?) 32 MB dual-head
- 35772MB IBM-DPTA-353750 
- 76345MB MAXTOR 6L080J4
- DVD-ROM JLMS XJ-HD165H
- CD-RW 32X10 at ata1-master WDMA2

Base power consumption with all drives: 99 watts
- No drives connected: 82 watts
- CD-Writer and DVD each take 1 watt when idle
- Maxtor disk takes 8-10 watts
- IBM disk takes 6-8 watts
- replacing the G-400 with some random plain S3 saves 4 watts
- forgot to measure what the fxp cards draw, but they get pretty hot,
 I assume it is not neglectable
System 2: libber, Linux-2.6.0 and Win2K (yes, that's supposed to
become my FreeBSD-current system when I figure out why the CD-writer
broke on my move):
- Asus A7V600 Via KT600
- AMD Athlon XP 2500+ 1.83GHz
- 1x 512 MB non-ECC module
- ATI Radeon 7500 LE 128 MB incl ventilator
- Maxtor 6Y060P0 60 GB drive
- TOSHIBA DVD-ROM SD-R5112 (DVD-R writer)
- Adaptec 2940 with 3 SCSI CD-ROMS, picked up for $1 each on MIT
 swapfest
- TV card (model escapes me right now)
- 8139 Ethernet (doesn't get as hot as the fxp cards)
NOTE: this is the new Athlon core, this CPU takes less power than
e.g. the 2600+ and 2400+ which are based on the old core.
Base system with all drives:148 watts
- DVD writer idle:2 watts
- 3x SCSI CD:20 watts (ups...)
- harddrive   5 watts
- no video card:-23 watts
 (not sure the system goes into proper startup with no video)
- replace ATI card with G-400   -15 watts
 (16 MB card, not the save card as above)
- TV card out-6 watts
- SCSI card out  -1 watt
- Realtek 8139 out   -1 watt
Harddisk activity: find / -name laksjfla:		 adds 1 watt

When Linux is driven with make CPU halt calls when idle the 148
watts go down to 136 when the system is idle, and up from that by 25
watts on drystone munching.
Remarks:

I assume that you can build a pretty nice powersaving box if you use
one of the Intel chipsets with 852/855 GM onboard video.
I am surprised the harddrives take so few power, but the numbers are
clear.  I was near replacing them with notebook drives, glad I
measured.
Don't pick up 10 year old hardware on flea markets if you want to save
power :-)
My old 20 Hitachi superscan Elite 751 takes more than twice the power
than the new el-cheapo MAG 19.
For some reason the AMD box draws about 5 watts when turned off.
Power supply change may be a good idea.
 

Transmeta processors and transmeta-based systems are famous for their 
blinding low-power consumption.

Alin.

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to [EMAIL PROTECTED]