APIC on UP motherboard, Kernel trap

2002-07-06 Thread Johan Granlund

Hi,

I have a ASUS A7V333 motherboard. Thats a UP motherboard vith a VIA KT333
chipset and a AMD XP Processor.

There is a setting in BIOS where you can select Interrupt Mode between
APIC an PIC, default APIC.

What happends if i set options APIC_IO in the kernel config on a UP
system with APIC set in BIOS?


The rest is APIC/ACPI/KSE related if anyone is interested.

I upgraded today (as of 30 min ago) to a current kernel from pre-KSE.
When trying to boot with APIC set in BIOS i get:
acpi0:  ASUS A7V333  on motherboard

Fatal trap 12: page fault while in kernel mode
fault virtual address   = 0x16
fault code  = supervisor read, page not present


When setting PIC in Bios and doing a boot -v i get the following from
ACPI:

Jul  6 23:54:14 waraxe kernel: Origin = AuthenticAMD  Id = 0x662  Stepping = 2
Jul  6 23:54:14 waraxe kernel:
Features=0x383fbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE
Jul  6 23:54:14 waraxe kernel: AMD
Features=0xc040AMIE,DSP,3DNow!
Jul  6 23:54:14 waraxe kernel: real memory  = 536854528 (524272K bytes)
Jul  6 23:54:14 waraxe kernel: avail memory = 515620864 (503536K bytes)
Jul  6 23:54:14 waraxe kernel: pnpbios: Bad PnP BIOS data checksum
Jul  6 23:54:14 waraxe kernel: Pentium Pro MTRR support enabled
Jul  6 23:54:14 waraxe kernel: Using $PIR table, 11 entries at 0xc00f2050
Jul  6 23:54:14 waraxe kernel: ACPI-0222: *** Warning: Invalid table
signature found: [TC0FF^_]
Jul  6 23:54:14 waraxe kernel: ACPI-0193: *** Error: AcpiLoadTables: Error
getting required tables (DSDT/FADT/FACS): AE_BAD_SIGNATURE
Jul  6 23:54:14 waraxe kernel: ACPI-0215: *** Error: AcpiLoadTables: Could
not load tables: AE_BAD_SIGNATURE
Jul  6 23:54:14 waraxe kernel: ACPI: table load failed: AE_BAD_SIGNATURE
Jul  6 23:54:14 waraxe kernel: npx0: math processor on motherboard
Jul  6 23:54:14 waraxe kernel: npx0: INT 16 interface


In pre-KSE i could boot with APIC set in BIOS, but got hangs in shutdown
after the stopping vnlru(?) message, _IF_ i had started X between boot
and shutdown. If X was unused i got a clean shutdown.

With PIC set ACPI wouldn't start but i had no problems with restarting.


If anyone want's more information i will gladly help, but keep in mind
that i'm not used to running the debugger and actually should't run
Current :)


 /Johan



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Error in truss (Was: Re: error in ncurses in 'make buildworld')

2002-06-24 Thread Johan Granlund

Hi

I'ts probably not related, but i have problems :)

I have tried a couple of days to compile world, with CFLAGS=-O -pipe, with
a system from Jun 16 and it stops at the same place every time. I have
tried to clean out /usr/src and obj and resup. Recompiled awk and sh if
something happened to them but no change.

Any ideas as what happened ?

The error is:

=== usr.bin/truncate
rm -f .depend
mkdep -f .depend -a  /usr/src/usr.bin/truncate/truncate.c
echo truncate: /usr/obj/usr/src/i386/usr/lib/libc.a   .depend
=== usr.bin/truss
cp /usr/src/usr.bin/truss/../../sys/kern/syscalls.master syscalls.master
/bin/sh /usr/src/usr.bin/truss/../../sys/kern/makesyscalls.sh
syscalls.master  /
usr/src/usr.bin/truss/i386.conf
syscalls.master: line 55: syscall number out of sync at 7
line is:
struct rusage  * rusage ) ;  }  wait4
wait_args int
*** Error code 1

Stop in /usr/src/usr.bin/truss.
*** Error code 1


Regards

/Johan


On Mon, 24 Jun 2002, Claus Guttesen wrote:

 Hi.

  What -O level did you compile libc with?
  Optimisation levels = 2 damage
  __vfprintf() with the in-tree gcc, causing these
  same symptoms.
 
  The fix is to remove any optimisation options above
  -O, go into
  /usr/src/lib/libc, rebuild and install the static
  libc.a, build and install a
  static linked awk binary, then rebuild world +
  kernel as usual.
 

 With this advise my 'make world' and 'make kernel'
 completed without any errors. Thank you.

 Regards
 Claus


 _
 Følg VM i fodbold på tæt hold fra Yahoo!s officielle VM-side
 www.yahoo.dk/vm2002

 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-current in the body of the message




To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: Error in truss (Was: Re: error in ncurses in 'make buildworld')

2002-06-24 Thread Johan Granlund

Worked.

Thanks a million for the _very_ fast answer.

/Johan

On Mon, 24 Jun 2002, Robert Watson wrote:

 Compile and install a fresh sed.

 Robert N M Watson FreeBSD Core Team, TrustedBSD Projects
 [EMAIL PROTECTED]  Network Associates Laboratories

 On Mon, 24 Jun 2002, Johan Granlund wrote:

  Hi
 
  I'ts probably not related, but i have problems :)
 
  I have tried a couple of days to compile world, with CFLAGS=-O -pipe, with
  a system from Jun 16 and it stops at the same place every time. I have
  tried to clean out /usr/src and obj and resup. Recompiled awk and sh if
  something happened to them but no change.
 
  Any ideas as what happened ?
 
  The error is:
 
  === usr.bin/truncate
  rm -f .depend
  mkdep -f .depend -a  /usr/src/usr.bin/truncate/truncate.c
  echo truncate: /usr/obj/usr/src/i386/usr/lib/libc.a   .depend
  === usr.bin/truss
  cp /usr/src/usr.bin/truss/../../sys/kern/syscalls.master syscalls.master
  /bin/sh /usr/src/usr.bin/truss/../../sys/kern/makesyscalls.sh
  syscalls.master  /
  usr/src/usr.bin/truss/i386.conf
  syscalls.master: line 55: syscall number out of sync at 7
  line is:
  struct rusage  * rusage ) ;  }  wait4
  wait_args int
  *** Error code 1
 
  Stop in /usr/src/usr.bin/truss.
  *** Error code 1
 
 
  Regards
 
  /Johan
 
 
  On Mon, 24 Jun 2002, Claus Guttesen wrote:
 
   Hi.
  
What -O level did you compile libc with?
Optimisation levels = 2 damage
__vfprintf() with the in-tree gcc, causing these
same symptoms.
   
The fix is to remove any optimisation options above
-O, go into
/usr/src/lib/libc, rebuild and install the static
libc.a, build and install a
static linked awk binary, then rebuild world +
kernel as usual.
   
  
   With this advise my 'make world' and 'make kernel'
   completed without any errors. Thank you.
  
   Regards
   Claus
  
  
   _
   Følg VM i fodbold på tæt hold fra Yahoo!s officielle VM-side
   www.yahoo.dk/vm2002
  
   To Unsubscribe: send mail to [EMAIL PROTECTED]
   with unsubscribe freebsd-current in the body of the message
  
  
 
 
  To Unsubscribe: send mail to [EMAIL PROTECTED]
  with unsubscribe freebsd-current in the body of the message
 






To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: gcc3.x issues

2002-02-07 Thread Johan Granlund



On 7 Feb 2002, Nat Lanza wrote:


 Surely you see the difference between That's an interesting idea; can
 you generate some patches so we can take a look and see how it works
 out? and WhereTF is your patch to do this?.

 One provides an opportunity for users to contribute, and the other is a
 snarling, rude dismissal that really doesn't do very much to encourage
 people to stick around and help out.

I humbly have to agree that was the way it sounded to me. Im hoping that
it was not meant that way, but that was howe it sounded.

/Johan



 --nat


 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-current in the body of the message




To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: I18N Progress, Plans, and Proposals

2000-10-19 Thread Johan Granlund



On Thu, 19 Oct 2000, Michael C . Wu wrote:

 At the BSDCon I18N BOF, we discussed several things that could/should
 happen with the future of I18N(internationalization) in FreeBSD.
 We would like some inputs and comments regarding the following:

SNIP
 
 2. Needing a graphics console to display various character sets.
There should be a kernel or loader option to start
a graphics console by default.
 

The magic word is option :)
We have to be careful to not loose the ability to boot a bare-bone system
if / when having problems.

I _still_ like VAX/VMS ability to be "talked" up thru the boot process.

/Johan

 
 I am willing to coordinate these things, but I would like
 some help. ;)
 
 Thanks,
 
 Michael
 
 --
 +--+
 | [EMAIL PROTECTED] | [EMAIL PROTECTED] |
 | http://peorth.iteration.net/~keichii | Yes, BSD is a conspiracy. |
 +--+
 
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with "unsubscribe freebsd-current" in the body of the message
 
 



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: HEADS UP: sendmail updated from 8.9.3 to 8.11.0 in -current

2000-08-13 Thread Johan Granlund



On Sun, 13 Aug 2000, Kurt D. Zeilenga wrote:

 At 01:49 PM 8/13/00 +0200, Johan Granlund wrote:
 I think we have to support rfc2554 autenthication (With MECH LOGIN for
 Outlook) out of the box if we are serius about mailserver and security.
 
 If you're serious about security, you shouldn't support LOGIN (or PLAIN)
 unless adequate privacy protections are in place.  If you're serious
 about standards, you won't support LOGIN.

Tell that to Microsoft! They only support LOGIN and the users (god bless
them) won't change to another client.

 
 Given that OpenSSL is in the base system, there is little reason not
 to support BOTH StartTLS and SASL "out of the box".  I would suggest
 the authentication defaults be relative secure, as in "noplain,noanonymous".
 This will force use of StartTLS to allow use of PLAIN/LOGIN mechanisms.

Works for me. I _have_ to keep OE5 working somehow until they start
supporting a better mechanism, _Then_ i can ditch LOGIN.

 
 A make.conf knob to use a userinstalled library may create problems with
 different versions of Cysus-SASL. I had some problems with that when
 uppgrading my mailservers to Sendmail 8.10.
 
 I'd recommend bringing Cyrus-SASL into the base system eventually
 under the same rational used to bring OpenSSL in.

I agree.

/Johan
 
 Kurt
 
 
 



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: HEADS UP: sendmail updated from 8.9.3 to 8.11.0 in -current

2000-08-13 Thread Johan Granlund



On Mon, 14 Aug 2000, Hajimu UMEMOTO wrote:

  On Sun, 13 Aug 2000 09:20:05 -0700
  "Kurt D. Zeilenga" [EMAIL PROTECTED] said:
 
 Kurt At 01:49 PM 8/13/00 +0200, Johan Granlund wrote:
 I think we have to support rfc2554 autenthication (With MECH LOGIN for
 Outlook) out of the box if we are serius about mailserver and security.
 
 Kurt If you're serious about security, you shouldn't support LOGIN (or PLAIN)
 Kurt unless adequate privacy protections are in place.  If you're serious
 Kurt about standards, you won't support LOGIN.
 
 I think so.
 Further worse, once PLAIN is activated by sendmail, netscape try to
 use AUTH, in anyway.  If the user isn't registered in SASL db, the
 user cannot send mail anymore.  That is, once you decide to use PLAIN,
 you must register all of your users in SASL db.

I agree that PLAIN/LOGIN should not be enabled by default as it is
inherently insecure and should not be encouraged. It can easyly be enabled
in a custom .mc file, if wanted, with 
define(`confAUTH_MECHANISMS', `')dnl
define(`confTRUST_AUTH_MECH', `')dnl 
The snag is that is has to be enabled in the build of the SASL library.
The same with KerberosIV and GSSAPI depending of what is installed.

N.B This is for 8.10. I havent looked if it has changed for 8.11.

If autentication is enabled with SASL, support should be added to
adduser/rmuser, or we will have a supportbomb when locally defined user
cant send mail remotely.


 
 --
 Hajimu UMEMOTO @ Internet Mutual Aid Society Yokohama, Japan
 [EMAIL PROTECTED]  [EMAIL PROTECTED]  [EMAIL PROTECTED]
 http://www.imasy.org/~ume/
 
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with "unsubscribe freebsd-current" in the body of the message
 
 




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: etc/rc.d things...

2000-07-10 Thread Johan Granlund

Please Please Please _Dont_!!!

I dont know if someone is yoking, my english is not up to that :(

I tried to secure a Solaris machine and hated the whole setup. I't have
some good things but i take the simple rc.conf mechanism every time!

/Johan

On Mon, 10 Jul 2000, Mikel wrote:

 
 
 Kelly Yancey wrote:
 
  On Sat, 8 Jul 2000, Mike Meyer wrote:
 
By all means, use start/stop args, but hard link the .sh files into seperate
directories or something so that the order can be tweaked..
  
   If all you want is to make sure that shutdown happens in the reverse
   order of startup, that can be done by reversing the list in
   rc.shutdown. But how about going a step further, and starting towards
   a user-friendly configuration process?
  
   Instead of being globbed at init time, etc/rc.d is a repository for
   things that take start/stop arguments. They are symlinked to
   /etc/init.d with numeric prefixes to control order at initialization
   time. Likewise, they can be symlinked to /etc/down.d (or shutdown.d)
   with numeric prefixes to control order at shutdown time.
  
 
How about rather then separate directories, you prefix the symlink names
  with 'S' for startup scripts and 'K' (for "kill") for shutdown scripts. Then,
  you rename rc.d to rc3.d...
 
 I like it. It's clean and simple, almost to the point of being elegant. But why
 bother adding rc?.d if you are going to right it to handle s or k then the present
 home should be fine, no?
 
 
 
 
Ducks and runs,
 
Kelly
 
  --
  Kelly Yancey  -  [EMAIL PROTECTED]  -  Belmont, CA
  System Administrator, eGroups.com  http://www.egroups.com/
  Maintainer, BSD Driver Database   http://www.posi.net/freebsd/drivers/
  Coordinator, Team FreeBSDhttp://www.posi.net/freebsd/Team-FreeBSD/
 
  To Unsubscribe: send mail to [EMAIL PROTECTED]
  with "unsubscribe freebsd-current" in the body of the message
 
 --
 Cheers,
 Mikel
 +~+
 | Optimized Computer Solutions, Inchttp://www.ocsny.com
 | 39 W14th Street, Suite 203   212 727 2238  x132
 | New York, NY 10011
 +~+
 
 



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Netgraph Was:(Re: traceroute patch)

1999-05-03 Thread Johan Granlund


On Mon, 3 May 1999, Archie Cobbs wrote:

 I have this patch for traceroute that adds the ability to send
[snip]

How is it going with netgraph?
I have looked at the -net archives on and off and it's very quit.
Is it still going to be committed?

/Johan
 
 -Archie
 
 ___
 Archie Cobbs   *   Whistle Communications, Inc.  *   http://www.whistle.com
 
 
 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: Netgraph Was:(Re: traceroute patch)

1999-05-03 Thread Johan Granlund


On Mon, 3 May 1999, Archie Cobbs wrote:

 Johan Granlund writes:
  How is it going with netgraph?
  I have looked at the -net archives on and off and it's very quit.
  Is it still going to be committed?
 
 Netgraph is doing well.. several people have tried it and/or are using it.
 One guy in Finland has reimplemented the whole concept in Java for an
 industrial process automation system :-)
 

Sounds like what i'm proposing at work only it's access control in my
case.
I'we got another programmer that's into alarm systems to reschool himself
from windows to Unix programming. Hopefully something will become of
this

/Johan

 
 -Archie
 
 ___
 Archie Cobbs   *   Whistle Communications, Inc.  *   http://www.whistle.com
 
 



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-30 Thread Johan Granlund


On Wed, 28 Apr 1999, Chuck Robey wrote:

 On Wed, 28 Apr 1999, Matthew Dillon wrote:
 
  
  :Matthew Dillon dil...@apollo.backplane.com writes:
 
 I can't quite figure why they stuck the word open in there, because it
 couldn't possibly be more open than RIP.

Probably beqause they stuck OPEN on _everything_ for a while. It drowe
me nuts:)

/Johan

 
  
  OSPF has been around for a long time.
 
 But RIP is older, and was the first routing scheme.
 
  
  -Matt
  Matthew Dillon 
  dil...@backplane.com
  
  
  
  To Unsubscribe: send mail to majord...@freebsd.org
  with unsubscribe freebsd-current in the body of the message
  
 
 +---
 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
 
 



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