Re: suspend mode broken since one week ago

1999-04-27 Thread Alex Zepeda
On Fri, 23 Apr 1999, Warner Losh wrote:

 In message 87so9r3x44@muon.xs4all.nl Peter Mutsaers writes:
 : Is this a bug that I should report through send-pr, is it already
 : known as a bug or is this an intentional change in behaviour?
 
 This is a known bug.  I thought I kludged around it in apm.c in the
 timeframe that you mentioned.  Do you have
   $Id: apm.c,v 1.80 1999/04/21 07:57:55 imp Exp $
 or newer?

Yup.

 *  $Id: apm.c,v 1.80 1999/04/21 07:57:55 imp Exp $

and zzz (and apm -z) don't do much.  If we had ACPI support, I'd try
hitting the power button

- alex





To Unsubscribe: send mail to majord...@freebsd.org
with unsubscribe freebsd-current in the body of the message



RE: Fatal Trap 12

1999-04-27 Thread Greg Shaffer
Warner,

Thanks for the pointer! The only card I have that specifies a memory address
is ed0 at 0xd8000. I removed the memory address in my config file, rebuilt
the kernel and everything seems to works fine now. This is a older NE2000
clone card with jumpers for irq and memory address. I have been using this
card for years without a problem or complaint. Why would it cause problems
now?

Thanks again.
Greg Shaffer

 -Original Message-
 From: Warner Losh [mailto:i...@harmony.village.org]
 Sent: Monday, April 26, 1999 12:34 AM
 To: Greg Shaffer
 Subject: Re: Fatal Trap 12


 In message 000101be8f95$45256410$024ab...@aegis.leaky.com Greg
 Shaffer writes:
 : At trace in ddb provides the following:
 : kvtop(0) at kvtop+0x2d
 : isa_compat_probe(...) at isa_compat_probe+0x297
 : DEVICE_PROBE(...) at DEVICE_PROBE+0x25

 Hmmm.  Looks like somebody is trying to use location zero...  I've
 seen this when I had a bogus mem address for a card.

 Warner




To Unsubscribe: send mail to majord...@freebsd.org
with unsubscribe freebsd-current in the body of the message



Our routed - Vern says it's old and buggy.

1999-04-27 Thread Jordan K. Hubbard
Do we have any plans to update it to his latest offering?  I believe
NetBSD's already done so and would be a good source for the bits if we
need them.

- Jordan


To Unsubscribe: send mail to majord...@freebsd.org
with unsubscribe freebsd-current in the body of the message



Re: Fatal Trap 12

1999-04-27 Thread Peter Wemm
Greg Shaffer wrote:
 Warner,
 
 Thanks for the pointer! The only card I have that specifies a memory address
 is ed0 at 0xd8000. I removed the memory address in my config file, rebuilt
 the kernel and everything seems to works fine now. This is a older NE2000
 clone card with jumpers for irq and memory address. I have been using this
 card for years without a problem or complaint. Why would it cause problems
 now?

I've hopefully fixed this mistake now..  The problem was a side effect of
the card being given a memory address and the driver turning it off because
there isn't memory (ie: an ne2000).  Removing the specification entirely
would fix it, or updating to the latest isa_compat.c should also fix it.

Why now?  If you'd been reading the commit messages, you'd know the
configuration system has had major changes committed...

 Thanks again.
 Greg Shaffer
 
  -Original Message-
  From: Warner Losh [mailto:i...@harmony.village.org]
  Sent: Monday, April 26, 1999 12:34 AM
  To: Greg Shaffer
  Subject: Re: Fatal Trap 12
 
 
  In message 000101be8f95$45256410$024ab...@aegis.leaky.com Greg
  Shaffer writes:
  : At trace in ddb provides the following:
  : kvtop(0) at kvtop+0x2d
  : isa_compat_probe(...) at isa_compat_probe+0x297
  : DEVICE_PROBE(...) at DEVICE_PROBE+0x25
 
  Hmmm.  Looks like somebody is trying to use location zero...  I've
  seen this when I had a bogus mem address for a card.
 
  Warner

Cheers,
-Peter




To Unsubscribe: send mail to majord...@freebsd.org
with unsubscribe freebsd-current in the body of the message



Re: suspend mode broken since one week ago

1999-04-27 Thread Doug Rabson
On Mon, 26 Apr 1999, Alex Zepeda wrote:

 On Fri, 23 Apr 1999, Warner Losh wrote:
 
  In message 87so9r3x44@muon.xs4all.nl Peter Mutsaers writes:
  : Is this a bug that I should report through send-pr, is it already
  : known as a bug or is this an intentional change in behaviour?
  
  This is a known bug.  I thought I kludged around it in apm.c in the
  timeframe that you mentioned.  Do you have
  $Id: apm.c,v 1.80 1999/04/21 07:57:55 imp Exp $
  or newer?
 
 Yup.
 
  *  $Id: apm.c,v 1.80 1999/04/21 07:57:55 imp Exp $
 
 and zzz (and apm -z) don't do much.  If we had ACPI support, I'd try
 hitting the power button

I have the ACPI spec and I'm starting to get to grips with it. Initially,
I will be trying to use the static device configuration tables but power
management, docking and all that other good stuff should come eventually.


--
Doug Rabson Mail:  d...@nlsystems.com
Nonlinear Systems Ltd.  Phone: +44 181 442 9037




To Unsubscribe: send mail to majord...@freebsd.org
with unsubscribe freebsd-current in the body of the message



Re: suspend mode broken since one week ago

1999-04-27 Thread Takanori Watanabe
In message pine.bsf.4.05.9904270858150.36113-100...@herring.nlsystems.com, Do
ug Rabson wrote:
I have the ACPI spec and I'm starting to get to grips with it. Initially,
I will be trying to use the static device configuration tables but power
management, docking and all that other good stuff should come eventually.

Don't you try my code?
I put it at
http://www.planet.sci.kobe-u.ac.jp/~takawata/acpi/acpi-19990427.tar.gz
.
Currentry what it can do is  not so different from my previous code,
but I'll write a code to show ACPI name space tree in a few days.

Takanori Watanabe
a href=http://www.planet.sci.kobe-u.ac.jp/~takawata/key.html;
Public Key/a
Key fingerprint =  2C 51 E2 78 2C E1 C5 2D  0F F1 20 A3 11 3A 62 2A 


To Unsubscribe: send mail to majord...@freebsd.org
with unsubscribe freebsd-current in the body of the message



Re: suspend mode broken since one week ago

1999-04-27 Thread Doug Rabson
On Tue, 27 Apr 1999, Takanori Watanabe wrote:

 In message pine.bsf.4.05.9904270858150.36113-100...@herring.nlsystems.com, 
 Do
 ug Rabson wrote:
 I have the ACPI spec and I'm starting to get to grips with it. Initially,
 I will be trying to use the static device configuration tables but power
 management, docking and all that other good stuff should come eventually.
 
 Don't you try my code?
 I put it at
 http://www.planet.sci.kobe-u.ac.jp/~takawata/acpi/acpi-19990427.tar.gz
 .
 Currentry what it can do is  not so different from my previous code,
 but I'll write a code to show ACPI name space tree in a few days.

I'll take a look, thanks!  My test program currently manages to display
most of the ASL code for my Toshiba laptop. We should compare notes; I'll
put my test program up on freefall this evening after I have played with
it some more.

--
Doug Rabson Mail:  d...@nlsystems.com
Nonlinear Systems Ltd.  Phone: +44 181 442 9037




To Unsubscribe: send mail to majord...@freebsd.org
with unsubscribe freebsd-current in the body of the message



Attention: Coupon fraud alert!

1999-04-27 Thread rhaas
Please forward this article.

Texas Textbooks Coupon Fraud On or Off the Drag 

by Richard Haas

Texas Textbooks, Inc. may have conspired to commit coupon fraud against 
7-UP/Dr. Pepper.  Sources claim that the President of Texas
Textbooks, Inc., Morris Woods, instructed managers to have his employees 
separate coupons and candies from Buy Back Promotional
Packages, that were put together by Market Source, Inc., and www.taponline.com. 
  Within the Buy Back Promotional Packages were various
candies, gum, and a coupon for a free 20 oz. 7-UP, as well as other 
advertisements and promotions from various companies, such as Chevy,
University Subscription Service, Citibank, American Airlines, TIME magazine, 
Student Financial Services, BMG Music Service, and Sprint. 
According to sources, the 7-UP coupons and candied were separated and put into 
boxes, while the rest of the packages were thrown into the
dumpster behind Texas Textbooks.  These Buy Back Promotional Packages were 
supposed to have been given to students during the Fall Buy
Back season during finals week in December, 1998.  The marketing company behind 
the packages, Market Source, Inc. was notified about the
problem in early January, 1999, but refused to do anything about it.  Woods, 
when telephone regarding the alleged coupon fraud against
7-UP/Dr.Pepper, denied having any knowledge of the incident, and hung up the 
the telephone on a reporter.  Several former employees claimed
that they were threatened with being fired when they refused to participate in 
the separation of the items. Committing a possible felony is not
worth five dollars an hour, said a former employee.  Seven Up/Dr. Pepper, 
University Subscription Service, Sprint, Chevrolet Motor
Company, and the Coupon Information Center (CIC) have also been notified of 
these activities.  Fraud is a crime punishable under both state
and federal laws.   Under Federal Law, a person convicted of mail fraud can be 
sentenced up to five years in prison and a fine of up to
$250,000 for each count of the indictment.  In cases where the proceeds of the 
fraud are not reported for Federal Income Tax purposes,
conviction of tax evasion is punishable by up to 20 years imprisonment and up 
to a million dollar fine for each count.

Photos available at:

  http://www.geocities.com/ResearchTriangle/Node/8879/fraud.htm


If you would like to express your concern about 
this, please contact:   

Morris Woods

 President, Texas Textbooks, Inc.

1514 Parker Ln
 Austin, TX 78741-2563

(512) 462-2149

gsdes...@studybreaks.com

   Texas Textbooks
2410B E. Riverside Drive
   Austin, TX 78741
(512) 443-1257


   Texas Textbooks
2338 Guadalupe
   Austin, TX 78705
(512) 478-9833


   Bonnie O'Neill-Totin   
bone...@marketsource.com



To Unsubscribe: send mail to majord...@freebsd.org
with unsubscribe freebsd-current in the body of the message



Sound doesn't work after recent upgrade

1999-04-27 Thread Vallo Kallaste
Hello !

Something changed between Apr.21 and Apr.27 so that my onboard 
Vibra16X get probed but I doesn't get sound.  No error messages, 
nothing, different players show that all is okay and play 
silently.  Catting something to /dev/audio or /dev/dsp(W) causes 
noise for about 1 second then silence.  My soundcard worked well 
after initial new-bus changes.  The motherboard is Tyan Thunder 100 
DLUAN with onboard sound. Sound is not essential but it's annoying.

Copyright (c) 1992-1999 The FreeBSD Project.
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California. All rights reserved.
FreeBSD 4.0-CURRENT #0: Tue Apr 27 13:15:18 EEST 1999
r...@myhakas.matti.ee:/usr/src/sys/compile/Myhakas_SMP
Timecounter i8254  frequency 1193061 Hz
CPU: Pentium II/Xeon/Celeron (686-class CPU)
  Origin = GenuineIntel  Id = 0x652  Stepping=2
  
Features=0x183fbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR
real memory  = 134217728 (131072K bytes)
config q
avail memory = 127279104 (124296K bytes)
Programming 24 pins in IOAPIC #0
FreeBSD/SMP: Multiprocessor motherboard
 cpu0 (BSP): apic id:  0, version: 0x00040011, at 0xfee0
 cpu1 (AP):  apic id:  1, version: 0x00040011, at 0xfee0
 io0 (APIC): apic id:  2, version: 0x00170011, at 0xfec0
Preloaded elf kernel kernel at 0xc031d000.
Preloaded userconfig_script /boot/kernel.conf at 0xc031d09c.
Pentium Pro MTRR support enabled, default memory type is uncacheable
Probing for PnP devices:
CSN 1 Vendor ID: CTL00f0 [0xf0008c0e] Serial 0x Comp ID: PNPb02f 
[0x2fb0d041]
pcm1 (SB16pnp Vibra16X sn 0x) at 0x220-0x22f irq 5 drq 1 flags 0x13 
on isa
npx0: math processor on motherboard
npx0: INT 16 interface
pcib0: PCI host bus adapter on motherboard
pci0: PCI bus on pcib0
chip0: Intel 82443GX host to PCI bridge at device 0.0 on pci0
chip1: Intel 82443GX host to AGP bridge at device 1.0 on pci0
isab0: Intel 82371AB PCI to ISA bridge at device 7.0 on pci0
ata-pci0: Intel PIIX4 IDE controller at device 7.1 on pci0
ata-pci0: Busmastering DMA supported
ata0 at 0x01f0 irq 14 on ata-pci0
uhci0: Intel 82371AB/EB (PIIX4) USB Host Controller at device 7.2 on pci0
uhci0: could not map ports
device_probe_and_attach: uhci0 attach returned 6
chip2: Intel 82371AB Power management controller at device 7.3 on pci0
pcib1: PCI to PCI bridge (vendor=1011 device=0024) at device 16.0 on pci0
pci2: PCI bus on pcib1
fxp0: Intel EtherExpress Pro 10/100B Ethernet at device 17.0 on pci0
fxp0: interrupting at irq 19
fxp0: Ethernet address 00:e0:81:10:18:e0
ahc0: Adaptec aic7895 Ultra SCSI adapter at device 18.0 on pci0
ahc0: aic7895 Wide Channel A, SCSI Id=7, 16/255 SCBs
ahc0: interrupting at irq 16
ahc1: Adaptec aic7895 Ultra SCSI adapter at device 18.1 on pci0
ahc1: aic7895 Wide Channel B, SCSI Id=7, 16/255 SCBs
ahc1: interrupting at irq 16
ncr0: ncr 53c875 fast20 wide scsi at device 19.0 on pci0
ncr0: interrupting at irq 16
fxp1: Intel EtherExpress Pro 10/100B Ethernet at device 20.0 on pci0
fxp1: interrupting at irq 17
fxp1: Ethernet address 00:90:27:45:26:03
isa0: ISA bus on motherboard
atkbdc0: keyboard controller (i8042) at port 0x60 on isa0
atkbd0: AT Keyboard on atkbdc0
atkbd0: interrupting at irq 1
psm0: PS/2 Mouse on atkbdc0
psm0: model Generic PS/2 mouse, device ID 0
psm0: interrupting at irq 12
vga0: Generic ISA VGA on isa0
sc0: System console on isa0
sc0: VGA color 8 virtual consoles, flags=0x0
fdc0: interrupting at irq 6
fdc0: NEC 72065B or clone at port 0x3f0-0x3f7 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: 1440-KB 3.5 drive at fdc0 drive 0
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio0: interrupting at irq 4
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
sio1: interrupting at irq 3
APIC_IO: Testing 8254 interrupt delivery
APIC_IO: routing 8254 via pin 2
BRIDGE 981214, have 3 interfaces
-- index 1 fxp0 type 6 phy 0 addrl 6 addr 00.e0.81.10.18.e0
-- index 2 fxp1 type 6 phy 0 addrl 6 addr 00.90.27.45.26.03
SMP: AP CPU #1 Launched!
ata0: master: settting up UDMA2 mode on PIIX4 chip OK
ad0: QUANTUM FIREBALL EL2.5A/A08.1100 ATA-4 disk at ata0 as master
ad0: 2445MB (5008500 sectors), 5300 cyls, 15 heads, 63 S/T, 512 B/S
ad0: piomode=4, dmamode=2, udmamode=2
ad0: 16 secs/int, 0 depth queue, DMA mode
Waiting 4 seconds for SCSI devices to settle
changing root device to da0s1a
da0 at ahc0 bus 0 target 6 lun 0
da0: QUANTUM VIKING II 4.5WSE 5520 Fixed Direct Access SCSI-2 device 
da0: 40.000MB/s transfers (20.000MHz, offset 8, 16bit), Tagged Queueing Enabled
da0: 4350MB (8910423 512 byte sectors: 255H 63S/T 554C)
da1 at ahc1 bus 0 target 6 lun 0
da1: QUANTUM VIKING II 4.5WSE 5520 Fixed Direct Access SCSI-2 device 
da1: 40.000MB/s transfers (20.000MHz, offset 8, 16bit), Tagged Queueing Enabled
da1: 4350MB (8910423 512 byte sectors: 255H 63S/T 554C)
cd0 at ncr0 bus 0 target 0 lun 0
cd0: TOSHIBA CD-ROM XM-6201TA 1030 Removable CD-ROM SCSI-2 device 
cd0: 

Re: file disappeared?

1999-04-27 Thread David Coder
And next time you have a big file you want to get rid of, cp /dev/null foo,
then rm foo.  

dc
--
David Coder
NOC Op
Erols Internet Service/RCN


On Tue, 27 Apr 1999, Mark Newton wrote:

:Date: Tue, 27 Apr 1999 09:37:42 +0930 (CST)
:From: Mark Newton new...@internode.com.au
:To: Alex a...@ukc.ac.uk
:Cc: doo...@anet-stl.com, dwh...@resnet.uoregon.edu,
:freebsd-current@FreeBSD.ORG
:Subject: Re: file disappeared?
:
:Alex wrote:
:
:  The question is how badly did I screw things up by running fsck?
:  (I think with -p it doesn't actually salvage anything, just checks the
:  disk).
:  Worth a reboot?
:
:Definitely:  -p *does* salvage things.  Boot to single user and run
:fsck manually to make sure everything's ok.
:
:- mark
:
:
:Mark Newton   Email:  new...@internode.com.au (W)
:Network Engineer  Email:  new...@atdot.dotat.org  (H)
:Internode Systems Pty Ltd Desk:   +61-8-82232999
:Network Man - Anagram of Mark Newton  Mobile: +61-416-202-223
:
:
:To Unsubscribe: send mail to majord...@freebsd.org
:with unsubscribe freebsd-current in the body of the message
:



To Unsubscribe: send mail to majord...@freebsd.org
with unsubscribe freebsd-current in the body of the message



Re: suspend mode broken since one week ago

1999-04-27 Thread Warner Losh
In message pine.bsf.4.05.9904270858150.36113-100...@herring.nlsystems.com 
Doug Rabson writes:
: I have the ACPI spec and I'm starting to get to grips with it. Initially,
: I will be trying to use the static device configuration tables but power
: management, docking and all that other good stuff should come eventually.

One problem that I've had in trying to use the acpi spec to implement
something is that the acpi tables on my laptop get overwritten early
in the boot process on my Vaio.  The driver would have to copy the
tables.

By early I mean before the login prompt.

Warner


To Unsubscribe: send mail to majord...@freebsd.org
with unsubscribe freebsd-current in the body of the message



Re: suspend mode broken since one week ago

1999-04-27 Thread Warner Losh
In message pine.bsf.4.05.9904241836190.292-100...@zippy.dyn.ml.org Alex 
Zepeda writes:
: and zzz (and apm -z) don't do much.  If we had ACPI support, I'd try
: hitting the power button

I've been suspending my machine fairly well with this patch.

Warner


To Unsubscribe: send mail to majord...@freebsd.org
with unsubscribe freebsd-current in the body of the message



Re: suspend mode broken since one week ago

1999-04-27 Thread Takanori Watanabe
In message 199904271352.haa17...@harmony.village.org, Warner Losh 
$B$5$s$$$o$/(B:
In message pine.bsf.4.05.9904270858150.36113-100...@herring.nlsystems.com Do
ug Rabson writes:
: I have the ACPI spec and I'm starting to get to grips with it. Initially,
: I will be trying to use the static device configuration tables but power
: management, docking and all that other good stuff should come eventually.

One problem that I've had in trying to use the acpi spec to implement
something is that the acpi tables on my laptop get overwritten early
in the boot process on my Vaio.  The driver would have to copy the
tables.
Use 
options VM86
.

vm86.c:initial_bioscalls() imprements ACPI Spec section 15.

Mr. Jonathan, your code works in my machine now.
 Now it use Int15h:E820H call.

Takanori Watanabe
a href=http://www.planet.sci.kobe-u.ac.jp/~takawata/key.html;
Public Key/a
Key fingerprint =  2C 51 E2 78 2C E1 C5 2D  0F F1 20 A3 11 3A 62 2A 



To Unsubscribe: send mail to majord...@freebsd.org
with unsubscribe freebsd-current in the body of the message



Re: suspend mode broken since one week ago

1999-04-27 Thread Warner Losh
In message 199904271356.waa15...@shidahara1.planet.sci.kobe-u.ac.jp Takanori 
Watanabe writes:
: options VM86
: vm86.c:initial_bioscalls() imprements ACPI Spec section 15.

Yea!!!

The acpi info program that was posted here (or at least talked about
here) recently now works!  Yippie!

Warner


To Unsubscribe: send mail to majord...@freebsd.org
with unsubscribe freebsd-current in the body of the message



Re: Floppies and laptops

1999-04-27 Thread Warner Losh
In message 4.1.19990426221303.00924...@216.67.14.69 Forrest Aldrich writes:
: mfsroot that would be more apt to find your PCMCIA card?   Would be a really
: handy tool/option to have.

More generally, it would be nice to have support for pccards on the
boot disk.  There is work in progress to make this happen.

Warner


To Unsubscribe: send mail to majord...@freebsd.org
with unsubscribe freebsd-current in the body of the message



Re: Sound doesn't work after recent upgrade

1999-04-27 Thread Alexander Leidinger
On 27 Apr, Vallo Kallaste wrote:

 Something changed between Apr.21 and Apr.27 so that my onboard
 Vibra16X get probed but I doesn't get sound.  No error messages,
 nothing, different players show that all is okay and play
 silently.  Catting something to /dev/audio or /dev/dsp(W) causes
 noise for about 1 second then silence.  My soundcard worked well

Me too for my Vibra16?-Card. But only for pcm. The in-kernel Voxware
driver works.

Bye,
Alexander.

-- 
http://netchild.home.pages.de A.Leidinger @ wurzelausix.cs.uni-sb.de



To Unsubscribe: send mail to majord...@freebsd.org
with unsubscribe freebsd-current in the body of the message



Re: Sound doesn't work after recent upgrade

1999-04-27 Thread Vallo Kallaste
On Tue, Apr 27, 1999 at 04:30:52PM +0200, Alexander Leidinger 
netch...@wurzelausix.cs.uni-sb.de wrote:

  silently.  Catting something to /dev/audio or /dev/dsp(W) causes
  noise for about 1 second then silence.  My soundcard worked well
 
 Me too for my Vibra16?-Card. But only for pcm. The in-kernel Voxware
 driver works.

Uh.. I forgot to mention that I use Luigi's pcm driver. Sorry.
-- 

Vallo Kallaste
va...@matti.ee


To Unsubscribe: send mail to majord...@freebsd.org
with unsubscribe freebsd-current in the body of the message



Confusing location of md5 program

1999-04-27 Thread Maxim Sobolev
Does anybody can explain why md5 located in /sbin directory? As far as I
know in /sbin only program which intended for super-user (like mount(8))
or have some features only for super-user (like ping(8)) are located.
md5 in my opinion doesn't fall into any of this categories.
Furthermore,? corresponding man page (md5(1)) states FreeBSD General
Commands Manual...

Sincerely,

Maxim
?
?




To Unsubscribe: send mail to majord...@freebsd.org
with unsubscribe freebsd-current in the body of the message



Our routed - Vern says it's old and buggy.

1999-04-27 Thread Garrett Wollman
On Mon, 26 Apr 1999 23:55:03 -0700, Jordan K. Hubbard 
j...@zippy.cdrom.com said:

 Do we have any plans to update it to his latest offering?  I believe
 NetBSD's already done so and would be a good source for the bits if we
 need them.

I have asked someone to do so several times in the past when Vern has
mailed me about new versions, but nobody has stood up to the plate.
My environment here is all OSPF now, so I can't properly test it.

-GAWollman

--
Garrett A. Wollman   | O Siem / We are all family / O Siem / We're all the same
woll...@lcs.mit.edu  | O Siem / The fires of freedom 
Opinions not those of| Dance in the burning flame
MIT, LCS, CRS, or NSA| - Susan Aglukark and Chad Irschick


To Unsubscribe: send mail to majord...@freebsd.org
with unsubscribe freebsd-current in the body of the message



Re: suspend mode broken since one week ago

1999-04-27 Thread Alfred Perlstein
On Tue, 27 Apr 1999, Warner Losh wrote:

 In message pine.bsf.4.05.9904270858150.36113-100...@herring.nlsystems.com 
 Doug Rabson writes:
 : I have the ACPI spec and I'm starting to get to grips with it. Initially,
 : I will be trying to use the static device configuration tables but power
 : management, docking and all that other good stuff should come eventually.
 
 One problem that I've had in trying to use the acpi spec to implement
 something is that the acpi tables on my laptop get overwritten early
 in the boot process on my Vaio.  The driver would have to copy the
 tables.
 
 By early I mean before the login prompt.

Small nit with APM type stuff, when i close the laptop pccardd seems
to deallocate my netcard.  Is this really nessesary?  It comes back
sometimes when i open it again, but not always...

-Alfred



To Unsubscribe: send mail to majord...@freebsd.org
with unsubscribe freebsd-current in the body of the message



Re: suspend mode broken since one week ago

1999-04-27 Thread Warner Losh
In message pine.bsf.3.96.990427103903.2095i-100...@cygnus.rush.net Alfred 
Perlstein writes:
: Small nit with APM type stuff, when i close the laptop pccardd seems
: to deallocate my netcard.  Is this really nessesary?  It comes back
: sometimes when i open it again, but not always...

Hmmm.  In theory if the lid closing is shutting down the laptop into
one of its less power used states, then the pcmcia cards are
deactivated (sometimes by the bios itself).  In theory, if that
happens, it should reactivate them when it comes back...

Warner




To Unsubscribe: send mail to majord...@freebsd.org
with unsubscribe freebsd-current in the body of the message



Re: Confusing location of md5 program

1999-04-27 Thread Poul-Henning Kamp
In message 3725d38c.2153f...@altavista.net, Maxim Sobolev writes:

Does anybody can explain why md5 located in /sbin directory? As far as I
know in /sbin only program which intended for super-user (like mount(8))
or have some features only for super-user (like ping(8)) are located.

It's there so that you have it if you're trying to figure out what
binaries an intruder has messed with.

This may be a bad argument.

--
Poul-Henning Kamp FreeBSD coreteam member
p...@freebsd.org   Real hackers run -current on their laptop.
FreeBSD -- It will take a long time before progress goes too far!


To Unsubscribe: send mail to majord...@freebsd.org
with unsubscribe freebsd-current in the body of the message



Re: Confusing location of md5 program

1999-04-27 Thread Warner Losh
In message 3725d38c.2153f...@altavista.net Maxim Sobolev writes:
: Does anybody can explain why md5 located in /sbin directory? As far as I
: know in /sbin only program which intended for super-user (like mount(8))
: or have some features only for super-user (like ping(8)) are located.
: md5 in my opinion doesn't fall into any of this categories.
: Furthermore,  corresponding man page (md5(1)) states FreeBSD General
: Commands Manual...

At a guess, it is there to ensure that when you boot single user, and
have only /, you can still verify the integrety of other files...

Warner


To Unsubscribe: send mail to majord...@freebsd.org
with unsubscribe freebsd-current in the body of the message



Re: suspend mode broken since one week ago

1999-04-27 Thread Nate Williams
 Small nit with APM type stuff, when i close the laptop pccardd seems
 to deallocate my netcard.  Is this really nessesary?

Yes, it is.  This is what Win95 does as well, and because of lots of
weird problems (not the least of which being certain cards that don't restore
their settings when resumed), suspend/resume requires that we 'emulate'
a removal and re-insertion.

 It comes back sometimes when i open it again, but not always...

The above is related to a bug in pccardd that doesn't properly 'free'
resources, or recognize that the card being 're-inserted' is the same
one that it knew about before. :(


Nate


To Unsubscribe: send mail to majord...@freebsd.org
with unsubscribe freebsd-current in the body of the message



Re: Confusing location of md5 program

1999-04-27 Thread Maxim Sobolev
 At a guess, it is there to ensure that when you boot single user, and
 have only /, you can still verify the integrety of other files...

Why not to put it in /bin?
?

Max



To Unsubscribe: send mail to majord...@freebsd.org
with unsubscribe freebsd-current in the body of the message



Re: Confusing location of md5 program

1999-04-27 Thread Steve O'Hara-Smith

On 27-Apr-99 Maxim Sobolev wrote:
 At a guess, it is there to ensure that when you boot single user,
 and
 have only /, you can still verify the integrety of other files...
 
 Why not to put it in /bin?

I had always understood that sbin meant static binaries (ie:
those that could be used even when /lib is hosed) and should contain
the vital binaries for such situations. I have just failed to locate
the documentation that has left me believing this so could somebody
confirm (or deny) ?



To Unsubscribe: send mail to majord...@freebsd.org
with unsubscribe freebsd-current in the body of the message



Re: Confusing location of md5 program

1999-04-27 Thread mi
Steve O'Hara-Smith once wrote:

 On 27-Apr-99 Maxim Sobolev wrote:
  At a guess, it  is there to ensure that when  you boot single user,
  and  have only  /,  you can  still verify  the  integrety of  other
  files...
  
  Why not to put it in /bin?
 
 I had always  understood that sbin meant  static binaries (ie:
 those that could  be used even when /lib is  hosed) and should contain
 the vital binaries  for such situations. I have just  failed to locate
 the documentation  that has left  me believing this so  could somebody
 confirm (or deny) ?

There is no /lib on FreeBSD and none of the /bin/* (except for rmail) is
dynamicly linked. Both of this things are quite easy to find out without
any documentation, BTW :-)

-mi


To Unsubscribe: send mail to majord...@freebsd.org
with unsubscribe freebsd-current in the body of the message



Re: Confusing location of md5 program

1999-04-27 Thread Warner Losh
In message xfmail.990427164753.ste...@iol.ie Steve O'Hara-Smith writes:
: I had always understood that sbin meant static binaries (ie:
: those that could be used even when /lib is hosed) and should contain
: the vital binaries for such situations. I have just failed to locate
: the documentation that has left me believing this so could somebody
: confirm (or deny) ?

/sbin is for System binaries, which are traditionally linked static.
since both system and static begin with 's' there has been much
confusion over what, exactly, sbin means.  The first part of this is
in hier(7).

Don't know why md5 is in /sbin vs /bin or /usr/sbin, to be honest.

Warner


To Unsubscribe: send mail to majord...@freebsd.org
with unsubscribe freebsd-current in the body of the message



Re: Confusing location of md5 program

1999-04-27 Thread Steve O'Hara-Smith

On 27-Apr-99 m...@aldan.algebra.com wrote:
 Steve O'Hara-Smith once wrote:
 
 On 27-Apr-99 Maxim Sobolev wrote:
 There is no /lib on FreeBSD and none of the /bin/* (except for rmail)
 is

My typo for /lib read /usr/lib, however Warner has shown that
(at least for FreeBSD) sbin means System Binaries and is not related to
static/dynamic.

--
E-Mail: Steve O'Hara-Smith ste...@iol.ie
Date: 27-Apr-99
Time: 17:20:14

This message was sent by XFMail
--


To Unsubscribe: send mail to majord...@freebsd.org
with unsubscribe freebsd-current in the body of the message



Re: Confusing location of md5 program

1999-04-27 Thread Chris Costello
On Tue, Apr 27, 1999, Warner Losh wrote:
 In message xfmail.990427164753.ste...@iol.ie Steve O'Hara-Smith writes:
 : I had always understood that sbin meant static binaries (ie:
 : those that could be used even when /lib is hosed) and should contain
 : the vital binaries for such situations. I have just failed to locate
 : the documentation that has left me believing this so could somebody
 : confirm (or deny) ?
 
 /sbin is for System binaries, which are traditionally linked static.
 since both system and static begin with 's' there has been much
 confusion over what, exactly, sbin means.  The first part of this is
 in hier(7).

   My god, that man page is horrible!  I'll fix it up.

 
 Don't know why md5 is in /sbin vs /bin or /usr/sbin, to be honest.
 
 Warner
 
 
 To Unsubscribe: send mail to majord...@freebsd.org
 with unsubscribe freebsd-current in the body of the message
 

-- 
Chris Costelloch...@calldei.com
How was Thomas J. Watson buried?  9 edge down.


pgpA1chQY2p6G.pgp
Description: PGP signature


Re: Floppies and laptops

1999-04-27 Thread John Polstra
In article 199904271419.iaa17...@harmony.village.org,
Warner Losh  i...@harmony.village.org wrote:
 
 More generally, it would be nice to have support for pccards on the
 boot disk.  There is work in progress to make this happen.

Yes!  We need this.

John
-- 
  John Polstra   j...@polstra.com
  John D. Polstra  Co., Inc.Seattle, Washington USA
  Self-interest is the aphrodisiac of belief.   -- James V. DeLong


To Unsubscribe: send mail to majord...@freebsd.org
with unsubscribe freebsd-current in the body of the message



XFree86 and egcs

1999-04-27 Thread Steve Jorgensen
I cvsup'ed and installed yesterday morning it's the third
cvsup I've done since egcs went in, so I know it's working
ok.  Anyway, I decided to update my XFree86 installation,
and found that the port no longer works.  As it compiles
all binaries created report tons of missing symbols
from the various X library.  The wierd thing is that it
still installs most of the X binaries anyway, and they work
fine, but it dies when it gets to installing the X server
itself.

I'm running a P-233 MMX with 64meg, a Adaptec 2940, scsi
disks and cd, and a 4meg ATI mach64 graphics card.

Any ideas what the problem is?  Have I missed something?

Steve
--
---
Steven Jorgensen  st...@khoral.com  st...@haunt.com
--+
Khoral Research Inc.  | PHONE: (505) 837-6500
6200 Uptown Blvd, Suite 200   | FAX:   (505) 881-3842
Albuquerque, NM 87110 | URL: http://www.khoral.com/
---


To Unsubscribe: send mail to majord...@freebsd.org
with unsubscribe freebsd-current in the body of the message



NFS Patch #8 for current available - new TCP fixes

1999-04-27 Thread Matthew Dillon
(fanfair!)

NFS Patch #8 for -current is now available.  This patch fixes serious bugs
w/ NFS/TCP.  Probably not *all* the failure conditions, but hopefully
most of them.

http://www.backplane.com/FreeBSD4/

NFS attempts to realign packet buffers and trods all over the underlying
mbufs.  For TCP connections, several RPC's may be present in an mbuf 
chain.  The realignment of one of them may destroy the others.  This does
not occur with UDP because each UDP packet contains only a single rpc.

Packet buffers may be unaligned for a number of reasons.  The main reason
is due to the 14 byte MAC header on the ethernet frame.  This causes the
remainder of the packet - the ip payload - to NOT be 4-byte aligned.

Many ethernet drivers fudge the packet buffer in order to cause the
IP payload to be aligned.  Some do not.  The ones that do not
cause the NFS code to realign the packet and it is the nfs_realign() 
procedure that is broken.  So the combination of having the wrong ethernet
card in the server and trying to use NFS/TCP would cause some people to
have lots of problems while other people might not have any problems.

Neither the 'de' nor the 'xl' ethernet drivers align the packet.  The 'xl'
driver conditionally aligns it for the alpha.  Part of the patch fixes
the 'xl' driver to unconditionally align the packet buffer in order to
improve NFS performance.  I could not do the same for the 'de' driver
because I am unsure if the dec chipset can handle an unaligned start
address.

The patch also fixes the nfs_realign() code so it will work properly with
unaligned packets.  The patch has also been updated to patch against
the latest -current.

As usual, any and all feedback will be appreciated.  There are still NFS
issues to be resolved, including a number related to 
AMD ( automountdaemon).  Depending on how my testing works, further TCP
patches may be in the wings.

-Matt
Matthew Dillon 
dil...@backplane.com



To Unsubscribe: send mail to majord...@freebsd.org
with unsubscribe freebsd-current in the body of the message



-current's routing code...

1999-04-27 Thread Jos Backus
I really don't want to whine or anything (apologies in advance), but maybe
somebody would be so kind as to apply Luoqi's patch to fix the SYSINIT(?)
order so ``route add default'' works again?

Thank You :-)

Jos
-- 
Jos Backus  _/ _/_/_/  Reliability means never
   _/ _/   _/   having to say you're sorry.
  _/ _/_/_/ -- D. J. Bernstein
 _/  _/ _/_/
jos.bac...@nl.origin-it.com  _/_/  _/_/_/  use Std::Disclaimer;


To Unsubscribe: send mail to majord...@freebsd.org
with unsubscribe freebsd-current in the body of the message



Re: Our routed - Vern says it's old and buggy.

1999-04-27 Thread Chuck Robey
On Tue, 27 Apr 1999, Garrett Wollman wrote:

 On Mon, 26 Apr 1999 23:55:03 -0700, Jordan K. Hubbard 
 j...@zippy.cdrom.com said:
 
  Do we have any plans to update it to his latest offering?  I believe
  NetBSD's already done so and would be a good source for the bits if we
  need them.
 
 I have asked someone to do so several times in the past when Vern has
 mailed me about new versions, but nobody has stood up to the plate.
 My environment here is all OSPF now, so I can't properly test it.

Finally learned enough about routing to understand this.  Which router
program does OSPF?  Gated?

Since OSPF seems to have a lot of good features, and it's hardly new,
why isn't a router using OSPF installed with FreeBSD?


+---
Chuck Robey | Interests include any kind of voice or data 
chu...@picnic.mat.net   | 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 majord...@freebsd.org
with unsubscribe freebsd-current in the body of the message



Re: Our routed - Vern says it's old and buggy.

1999-04-27 Thread David Wolfskill
Date: Tue, 27 Apr 1999 17:39:39 -0400 (EDT)
From: Chuck Robey chu...@picnic.mat.net

Finally learned enough about routing to understand this.  Which router
program does OSPF?  Gated?

As I recall from about '93 or so, yes.

Since OSPF seems to have a lot of good features, and it's hardly new,
why isn't a router using OSPF installed with FreeBSD?

Sorry; that's in the realms of psychology, sociology, and/or
metaphysics, and as such, is outside any areas where I'm qualified to
comment.  :-)

Cheers,
david
-- 
David Wolfskill UNIX System Administrator
d...@whistle.comvoice: (650) 577-7158   pager: (650) 371-4621


To Unsubscribe: send mail to majord...@freebsd.org
with unsubscribe freebsd-current in the body of the message



Re: Our routed - Vern says it's old and buggy.

1999-04-27 Thread sthaug
 Finally learned enough about routing to understand this.  Which router
 program does OSPF?  Gated?

Yes.

 Since OSPF seems to have a lot of good features, and it's hardly new,
 why isn't a router using OSPF installed with FreeBSD?

Probably because:

- OSPF *is* more complex, and you need to learn more to configure it
properly.

- OSPF is arguably overkill for small networks.

- OSPF can't be used in 'listen-only' mode like 'routed -q'.

Steinar Haug, Nethelp consulting, sth...@nethelp.no


To Unsubscribe: send mail to majord...@freebsd.org
with unsubscribe freebsd-current in the body of the message



RE: XFree86 and egcs

1999-04-27 Thread Christian Sung
I'm seeing the same problem on two different machines, one running -current and
the other 2.2.8-STABLE!

-christian


On 27-Apr-99 Steve Jorgensen wrote:
   I cvsup'ed and installed yesterday morning it's the third
   cvsup I've done since egcs went in, so I know it's working
   ok.  Anyway, I decided to update my XFree86 installation,
   and found that the port no longer works.  As it compiles
   all binaries created report tons of missing symbols
   from the various X library.  The wierd thing is that it
   still installs most of the X binaries anyway, and they work
   fine, but it dies when it gets to installing the X server
   itself.
 
   I'm running a P-233 MMX with 64meg, a Adaptec 2940, scsi
   disks and cd, and a 4meg ATI mach64 graphics card.
 
   Any ideas what the problem is?  Have I missed something?
 
   Steve
 --
 ---
 Steven Jorgensen  st...@khoral.comst...@haunt.com
 --+
 Khoral Research Inc.  | PHONE: (505) 837-6500
 6200 Uptown Blvd, Suite 200   | FAX:   (505) 881-3842
 Albuquerque, NM 87110 | URL: http://www.khoral.com/
 ---
 
 
 To Unsubscribe: send mail to majord...@freebsd.org
 with unsubscribe freebsd-current in the body of the message

---

Christian W. Sung_ __ ___ ___ ___ 
cws...@sung.org _ __ ___ | _ ) __|   \ 
http://www.Sung.org_ __ ___  | _ \__ \ |) | 
FreeBSD: The Power to Serve! _ __ ___  _ |___/___/___/ 

===
PGP Key Fingerprint:
F6E2 0372 F765 28B6 6D34  7DF4 A928 A7AF 59A0 04CD
===



To Unsubscribe: send mail to majord...@freebsd.org
with unsubscribe freebsd-current in the body of the message



Re: Our routed - Vern says it's old and buggy.

1999-04-27 Thread Garrett Wollman
On Tue, 27 Apr 1999 23:50:08 +0200, sth...@nethelp.no said:

 Finally learned enough about routing to understand this.  Which router
 program does OSPF?  Gated?

 Yes.

 Since OSPF seems to have a lot of good features, and it's hardly new,
 why isn't a router using OSPF installed with FreeBSD?

 Probably because:

[three good reasons deleted]

Most importantly:

- Recent values of GateD are distributed under a very unfriendly
license.

-GAWollman

--
Garrett A. Wollman   | O Siem / We are all family / O Siem / We're all the same
woll...@lcs.mit.edu  | O Siem / The fires of freedom 
Opinions not those of| Dance in the burning flame
MIT, LCS, CRS, or NSA| - Susan Aglukark and Chad Irschick


To Unsubscribe: send mail to majord...@freebsd.org
with unsubscribe freebsd-current in the body of the message



Re: suspend mode broken since one week ago

1999-04-27 Thread Doug Rabson
On Tue, 27 Apr 1999, Warner Losh wrote:

 In message pine.bsf.4.05.9904270858150.36113-100...@herring.nlsystems.com 
 Doug Rabson writes:
 : I have the ACPI spec and I'm starting to get to grips with it. Initially,
 : I will be trying to use the static device configuration tables but power
 : management, docking and all that other good stuff should come eventually.
 
 One problem that I've had in trying to use the acpi spec to implement
 something is that the acpi tables on my laptop get overwritten early
 in the boot process on my Vaio.  The driver would have to copy the
 tables.
 
 By early I mean before the login prompt.

I had a problem with that. I had to tweak machdep.c to believe the bios
version of extmem so that the ACPI area wasn't overwritten.

--
Doug Rabson Mail:  d...@nlsystems.com
Nonlinear Systems Ltd.  Phone: +44 181 442 9037




To Unsubscribe: send mail to majord...@freebsd.org
with unsubscribe freebsd-current in the body of the message



Re: XFree86 and egcs

1999-04-27 Thread John Polstra
In article 199904271932.naa01...@zen.alb.khoral.com,
Steve Jorgensen  st...@khoral.com wrote:
   I cvsup'ed and installed yesterday morning it's the third
   cvsup I've done since egcs went in, so I know it's working
   ok.  Anyway, I decided to update my XFree86 installation,
   and found that the port no longer works.  As it compiles
   all binaries created report tons of missing symbols
   from the various X library.  The wierd thing is that it
   still installs most of the X binaries anyway, and they work
   fine, but it dies when it gets to installing the X server
   itself.

Thanks for the report, but saying that it gets tons of missing
symbols and that it dies when installing the server really isn't
helpful to those who might be able to fix the problem.  Which symbols?
Let's see the error messages.  How does it die?  Let's see the error
messages.  Nobody can help without that.

John
-- 
  John Polstra   j...@polstra.com
  John D. Polstra  Co., Inc.Seattle, Washington USA
  Self-interest is the aphrodisiac of belief.   -- James V. DeLong


To Unsubscribe: send mail to majord...@freebsd.org
with unsubscribe freebsd-current in the body of the message



Re: Heads up! config(8) changes..

1999-04-27 Thread Bill Fenner

  - complain if a device is specified twice (eg: 2 x psm0)

Does this work for pseudo-devices also (i.e. can bin/9931 get closed)?

  Bill


To Unsubscribe: send mail to majord...@freebsd.org
with unsubscribe freebsd-current in the body of the message



Re: suspend mode broken since one week ago

1999-04-27 Thread Nate Williams
  : I have the ACPI spec and I'm starting to get to grips with it. Initially,
  : I will be trying to use the static device configuration tables but power
  : management, docking and all that other good stuff should come eventually.
  
  One problem that I've had in trying to use the acpi spec to implement
  something is that the acpi tables on my laptop get overwritten early
  in the boot process on my Vaio.  The driver would have to copy the
  tables.
  
  By early I mean before the login prompt.
 
 I had a problem with that. I had to tweak machdep.c to believe the bios
 version of extmem so that the ACPI area wasn't overwritten.

Ahh, this is a very common problem on many new laptops.  Most notably,
the entire IBM ThinkPad line has this problem.

Someone submitted a patch that checked to see if the BIOS returned a
value  64M, and if so to 'accept' it's value for the memory, since it's
more likely to be correct.  I'd like to apply it to -current, but I'm
not sure of the political ramifications


Nate


To Unsubscribe: send mail to majord...@freebsd.org
with unsubscribe freebsd-current in the body of the message



Re: Our routed - Vern says it's old and buggy.

1999-04-27 Thread Chuck Robey
On Tue, 27 Apr 1999, Garrett Wollman wrote:

 On Tue, 27 Apr 1999 23:50:08 +0200, sth...@nethelp.no said:
 
  Finally learned enough about routing to understand this.  Which router
  program does OSPF?  Gated?
 
  Yes.
 
  Since OSPF seems to have a lot of good features, and it's hardly new,
  why isn't a router using OSPF installed with FreeBSD?
 
  Probably because:
 
 [three good reasons deleted]
 
 Most importantly:
 
 - Recent values of GateD are distributed under a very unfriendly
 license.

Must be more to it, then.  The basic idea of what the OSPF router
program should do, it doesn't sound like a huge problem to do, and the
actual specs are pretty well laid out and public, right?

+---
Chuck Robey | Interests include any kind of voice or data 
chu...@picnic.mat.net   | 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 majord...@freebsd.org
with unsubscribe freebsd-current in the body of the message



Re: Our routed - Vern says it's old and buggy.

1999-04-27 Thread Matthew Dillon
: 
: - Recent values of GateD are distributed under a very unfriendly
: license.
:
:Must be more to it, then.  The basic idea of what the OSPF router
:program should do, it doesn't sound like a huge problem to do, and the
:actual specs are pretty well laid out and public, right?
:
:+---
:Chuck Robey | Interests include any kind of voice or data 

Given the choice between OSPF and RIP1/2, OSPF is far superior even on
'simple' networks.  It is effectively an open protocol, like BGP.

GateD is *very* unfriendly.  It is user-unfriendly and it is
OSS-unfriendly.  It is not something I would like to see in the
base distribution ( nor something I think we could put in the base 
distribution ).  Also, the older, more OSS friendly versions of gated
have too many bugs to be useable as a base.  The OSPF implementation 
in it wasn't really fixed until late last year.

For a knowledgeable programmer, building an OSPF router is not too hard to
do, especially on modern UNIX systems like FreeBSD and Linux which
have route monitoring sockets and fine control over the kernel routing
tables.  It would be a very cool thing to add.  About a man-month worth of
programming  debugging.

-Matt
Matthew Dillon 
dil...@backplane.com



To Unsubscribe: send mail to majord...@freebsd.org
with unsubscribe freebsd-current in the body of the message



HEADS UP! to commit SMP vmspace sharing patches

1999-04-27 Thread Luoqi Chen
I'm about to commit the SMP vmspace sharing patch (the %fs approach). All
kernel modules will need to be recompiled. Recompilation is not neccessary
for user land applications including ps, libkvm and friends.

In this %fs approach, per-processor private pages are no longer mapped at
identical virtual address for each cpu, instead a new segment descriptor (%fs)
is setup to access per-cpu global variables like curproc. As a result the %fs
register needs to be saved and restored at the kernel boundary, this would
impose a small penalty (cpu model dependent) for each syscall and interrupt.
UP kernel will also be affected as efforts were made to ensure portability of
kernel modules between UP and SMP architectures.

Fast vfork is now possible for SMP and is turned on as default. We're also
able to get rid of vmspace juggling kludges in aio code, aio should now work
correctly on SMP.

-lq


To Unsubscribe: send mail to majord...@freebsd.org
with unsubscribe freebsd-current in the body of the message



Re: Our routed - Vern says it's old and buggy.

1999-04-27 Thread Kris Kennaway
On Tue, 27 Apr 1999, Garrett Wollman wrote:

 Most importantly:
 
 - Recent values of GateD are distributed under a very unfriendly
 license.

There's also zebra, in ports (as someone pointed out on -net the other day),
which seems to be GPL'ed. I haven't tried either of the two except to poke
around briefly in the code..

Kris

-
The Feynman problem-solving algorithm: 1. Write down the problem
   2. Think real hard
   3. Write down the solution



To Unsubscribe: send mail to majord...@freebsd.org
with unsubscribe freebsd-current in the body of the message



New kernels won't boot

1999-04-27 Thread Stephen Hocking-Senior Programmer PGS Tensor Perth

 On my machine, a kernel newer than one built on the 22nd will not complete 
booting, panicing about not being able to mount root. Another machine with a 
very similar config is fine. The main difference is that the faulty machine 
has its FreeBSD partition in an odd spot on the disk. Below is the dmesg 
output, the fdisk output and the config file.


Copyright (c) 1992-1999 The FreeBSD Project.
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California. All rights reserved.
FreeBSD 4.0-CURRENT #0: Thu Apr 22 00:37:32 WST 1999
t...@bloop.craftncomp.com:/usr/src/sys/compile/bleep
Timecounter i8254  frequency 1193182 Hz
CPU: AMD Enhanced Am486DX4 Write-Through (486-class CPU)
  Origin = AuthenticAMD  Id = 0x484  Stepping=4
  Features=0x1FPU
real memory  = 16777216 (16384K bytes)
avail memory = 13750272 (13428K bytes)
Preloaded elf kernel kernel.good at 0xc02c4000.
Probing for PnP devices:
npx0: math processor on motherboard
npx0: INT 16 interface
pcib0: PCI host bus adapter on motherboard
pci0: PCI bus on pcib0
chip0: Host to PCI bridge (vendor=10b9 device=1445) at device 0.0 on pci0
de0: Digital 21140 Fast Ethernet at device 4.0 on pci0
de0: interrupting at irq 11
de0: SMC 9332DST 21140 [10-100Mb/s] pass 1.2
de0: address 00:00:c0:a6:59:dc
de0: enabling 10baseT port
isa0: ISA bus on motherboard
atkbdc0: keyboard controller (i8042) at port 0x60 on isa0
atkbd0: AT Keyboard on atkbdc0
atkbd0: interrupting at irq 1
vga0: Generic ISA VGA on isa0
sc0: System console on isa0
sc0: VGA color 16 virtual consoles, flags=0x0
ata1 at irq 14 on isa0
ata1: interrupting at irq 14
fdc0: interrupting at irq 6
fdc0: NEC 765 or clone at port 0x3f0-0x3f7 irq 6 drq 2 on isa0
fd0: 1440-KB 3.5 drive at fdc0 drive 0
mse0 at port 0x23c irq 5 on isa0
mse0: interrupting at irq 5
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio0: interrupting at irq 4
sio1 at port 0x2f8-0x2ff irq 3 flags 0x10 on isa0
sio1: type 16550A
sio1: interrupting at irq 3
ed0 at port 0x280-0x29f iomem 0xd8000-0xdbfff irq 10 on isa0
ed0: address 00:00:c0:d2:b2:72, type SMC8216T (16 bit) 
ed0: interrupting at irq 10
ppc0 at port 0x378 irq 7 on isa0
ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
plip0: PLIP network interface on ppbus 0
lpt0: generic printer on ppbus 0
lpt0: Interrupt-driven port
ppi0: generic parallel i/o on ppbus 0
lppps0: Pulse per second Timing Interface on ppbus 0
ppc0: interrupting at irq 7
IP packet filtering initialized, divert enabled, rule-based forwarding 
enabled, default to accept, logging disabled
ds0 XXX: driver didn't set ifq_maxlen
ad0: ST34321A/3.11 ATA-4 disk at ata0 as master
ad0: 4103MB (8404830 sectors), 8894 cyls, 15 heads, 63 S/T, 512 B/S
ad0: piomode=4, dmamode=2, udmamode=2
ad0: 16 secs/int, 0 depth queue, PIO mode
changing root device to wd0s4a
ffs_mountfs: superblock updated for soft updates
ffs_mountfs: superblock updated for soft updates
ffs_mountfs: superblock updated for soft updates
ffs_mountfs: superblock updated for soft updates



*** Working on device /dev/rwd0 ***
parameters extracted from in-core disklabel are:
cylinders=1042 heads=128 sectors/track=63 (8064 blks/cyl)

Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=1042 heads=128 sectors/track=63 (8064 blks/cyl)

Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
UNUSED
The data for partition 2 is:
UNUSED
The data for partition 3 is:
UNUSED
The data for partition 4 is:
sysid 165,(FreeBSD/NetBSD/386BSD)
start 201600, size 7999488 (3906 Meg), flag 80 (active)
beg: cyl 25/ sector 1/ head 0;
end: cyl 1016/ sector 63/ head 127



machine i386
ident   BLEEP
maxusers10
options INCLUDE_CONFIG_FILE # Include this file in kernel
config  kernel  root on ad0 dumps on ad0
cpu I486_CPU
cpu I586_CPU  # aka Pentium(tm)
cpu I686_CPU  # aka Pentium Pro(tm)
options COMPAT_43
options USER_LDT#allow user-level control of i386 ldt
options SYSVSHM
options SYSVSEM
options SYSVMSG
options VM86
options DDB
options KTRACE  #kernel tracing
options UCONSOLE
options USERCONFIG  #boot -c editor
options INET#Internet communications protocols
pseudo-device   ether   #Generic Ethernet
pseudo-device   loop#Network loopback device
pseudo-device   bpfilter 4  #Berkeley packet filter
pseudo-device   disc#Discard device
pseudo-device   tun 2   #Tunnel driver (ppp(8), nos-tun(8))
options TCP_COMPAT_42 #emulate 4.2BSD TCP bugs
options MROUTING# Multicast routing

Re: does login.conf limitations work ?

1999-04-27 Thread Nathan Dorfman
On Sat, Apr 24, 1999 at 04:39:20PM +0200, Andrzej Bialecki wrote:
 On Sat, 24 Apr 1999, Stephane Legrand wrote:
 
That's also my impression. I glipmsed the whole source tree and I 
  couldn't
find any place where the limits are enforced. BTW. what entity should
enforce login time limits? Kernel? Some user-space daemon?

  
  To report a login.conf success, i've used on a 2.2.8 system the
  cputime ressource limit. I set it to zero and that worked very
  well. So may be only some limits are implemented ?

cputime is just a plain old process rlimit. Implementing it should be
as easy as calling setrlimit(). On the other hand, login time is a
different story. Generally I've found that most of the stuff in login.conf,
at least that which does things like setting rlimits, environment, and
modifying some login behavior (motd, nologin, mail check, etc.) works.

-- 
Nathan Dorfman nat...@rtfm.net The statements and opinions in my
Unix Admin @ Frontline Communicationspublic posts are mine, not FCC's.
The light at the end of the tunnel is the headlight of an approaching
train. --/usr/games/fortune


To Unsubscribe: send mail to majord...@freebsd.org
with unsubscribe freebsd-current in the body of the message



Re: Our routed - Vern says it's old and buggy.

1999-04-27 Thread Joe Abley
On Wed, Apr 28, 1999 at 09:36:09AM +0930, Kris Kennaway wrote:
 On Tue, 27 Apr 1999, Garrett Wollman wrote:
 
  Most importantly:
  
  - Recent values of GateD are distributed under a very unfriendly
  license.

And the last free version is hideous in the extreme.

 There's also zebra, in ports (as someone pointed out on -net the other day),
 which seems to be GPL'ed. I haven't tried either of the two except to poke
 around briefly in the code..

It's also probably worth mentioning that Zebra is being developed
in an extremely active and proactive fashion, and the principal developers
are extremely open to contributed feedback and code.

Zebra's BGP seems pretty good and stable right now; the OSPF work has
apparently received a lot of attention recently, although I haven't tried it.

One of the nice things about zebra is the way that each routing protocol
is neatly compartmentalised into a separate daemon. This makes it simple and
easy to maintain individual protocols (or add new ones) without jeopardising
others.


Joe



To Unsubscribe: send mail to majord...@freebsd.org
with unsubscribe freebsd-current in the body of the message



Re: Our routed - Vern says it's old and buggy.

1999-04-27 Thread Christopher Masto
On Wed, Apr 28, 1999 at 02:45:50PM +1200, Joe Abley wrote:
 It's also probably worth mentioning that Zebra is being developed
 in an extremely active and proactive fashion, and the principal developers
 are extremely open to contributed feedback and code.

And it says right on their information page,

 Currently we are developing zebra under: 
 
   GNU/Linux 2.0.X 
   GNU/Linux 2.2.X 
   FreeBSD 2.2.8 
   FreeBSD 3.X 
   FreeBSD 4.X 
 
[...]
 
 IPv6 support is for. 
 
   FreeBSD with INRIA 
   FreeBSD with KAME 
   GNU/Linux with IPv6 
   GNU/Hurd with pfinet6 (under development) 

This seems like a very good thing.  I have not tried Zebra, but unless
there is something horribly wrong with it, I think it makes more sense
to help them than to fall prey to Not Invented Here and do our own
OSPF.

Hopefully nobody will start a fight over the license.
-- 
Christopher Masto Senior Network Monkey  NetMonger Communications
ch...@netmonger.neti...@netmonger.nethttp://www.netmonger.net

Free yourself, free your machine, free the daemon -- http://www.freebsd.org/


To Unsubscribe: send mail to majord...@freebsd.org
with unsubscribe freebsd-current in the body of the message



psm stopped working

1999-04-27 Thread Anthony Kimball
Somewhere between April 12 and April 24 my PS/2 mouse stopped being
detected by newer kernels.
  773   Apr 24 23:38:03 avalon /kernel: psm0 at 0x60-0x64 irq 12 on motherboard
  774   Apr 24 23:38:03 avalon /kernel: psm0: model Generic PS/2 mouse, device 
ID 0


To Unsubscribe: send mail to majord...@freebsd.org
with unsubscribe freebsd-current in the body of the message



Re: suspend mode broken since one week ago

1999-04-27 Thread Warner Losh
In message 199904272310.raa06...@mt.sri.com Nate Williams writes:
: Someone submitted a patch that checked to see if the BIOS returned a
: value  64M, and if so to 'accept' it's value for the memory, since it's
: more likely to be correct.  I'd like to apply it to -current, but I'm
: not sure of the political ramifications

I think that it would be OK to do this, especially if you were able to
sanity check the numbers against something else...  If it isn't
possible to do a sanity check, then I'd still be tempted to commit it,
making it an option if it causes problems for a significant number (
1%) of people.

Warner


To Unsubscribe: send mail to majord...@freebsd.org
with unsubscribe freebsd-current in the body of the message



Re: Floppies and laptops

1999-04-27 Thread Warner Losh
In message 199904271921.maa05...@vashon.polstra.com John Polstra writes:
: Yes!  We need this.

I have the sysinstall patches from the PAO people.  Plus I've started
working on an all kernel design for what pccardd is now doing.  This
should obviate the need for pccardd on the floppies.  There may be
more hacking to sysinstall needed to get it to rescan devices, since
it would be nice to be able to plug in devices at anytime, just just
right after you booted the floppy.  However, this is long term stuff.
The short term plans I have are getting the pcic stuff working in the
newbus framework, as well as including the initial patches from PAO to
pccardd and sysinstall to at least give the snaps something that is
easier to install on laptops.  I had to jump through too many to get
my machine up and running.

Once I get the pccard stuff working, I may go after cardbus.

Geeze, all of this so I can get the pccard support working in Soren's
new driver so I can read/write compact flash cards on my FreeBSD
machine so I can put them into a WinCE palmtop I have

Warner


To Unsubscribe: send mail to majord...@freebsd.org
with unsubscribe freebsd-current in the body of the message



Re: psm stopped working

1999-04-27 Thread Warner Losh
In message 14118.35262.346147.472...@avalon.east Anthony Kimball writes:
: Somewhere between April 12 and April 24 my PS/2 mouse stopped being
: detected by newer kernels.
:   773 Apr 24 23:38:03 avalon /kernel: psm0 at 0x60-0x64 irq 12 on motherboard
:   774 Apr 24 23:38:03 avalon /kernel: psm0: model Generic PS/2 mouse, device 
ID 0

Read UPDATING :-).  To be more helpful, you need to connect the psm
device to the atkbdc controller.  See the new GENERIC file for
details.  There is anti foot shooting code for the keyboard, but not
the mouse.

Warner


To Unsubscribe: send mail to majord...@freebsd.org
with unsubscribe freebsd-current in the body of the message



Re: HEADS UP! to commit SMP vmspace sharing patches

1999-04-27 Thread Poul-Henning Kamp
In message 199904272349.taa28...@lor.watermarkgroup.com, Luoqi Chen writes:
I'm about to commit the SMP vmspace sharing patch (the %fs approach). All
kernel modules will need to be recompiled. Recompilation is not neccessary
for user land applications including ps, libkvm and friends.

In this %fs approach, per-processor private pages are no longer mapped at
identical virtual address for each cpu, instead a new segment descriptor (%fs)
is setup to access per-cpu global variables like curproc. 

How is this accessed from C sources ?

--
Poul-Henning Kamp FreeBSD coreteam member
p...@freebsd.org   Real hackers run -current on their laptop.
FreeBSD -- It will take a long time before progress goes too far!


To Unsubscribe: send mail to majord...@freebsd.org
with unsubscribe freebsd-current in the body of the message



Re: Our routed - Vern says it's old and buggy.

1999-04-27 Thread Jordan K. Hubbard
Um, can we get back to the subject at hand PLEASE?  Who among you is
going to import the new routed?  Garrett doesn't have testing
facilities for RIP, so it has to be someone else.  Since Chuck also
appears to have boundless energy for this topic, might he be willing? :-)

- Jordan


To Unsubscribe: send mail to majord...@freebsd.org
with unsubscribe freebsd-current in the body of the message