[WARNING] RELENG_6 is broken

2005-11-26 Thread Gleb Smirnoff
  Colleagues,

  I'm very sorry but at this moment RELENG_6 is broken a bit. If you
are using DHCP (client or server) please do not upgrade until I
reply here that it is fixed.

-- 
Totus tuus, Glebius.
GLEBIUS-RIPN GLEB-RIPE
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: [WARNING] RELENG_6 is broken

2005-11-26 Thread Gleb Smirnoff
On Sat, Nov 26, 2005 at 01:28:05PM +0300, Gleb Smirnoff wrote:
T   I'm very sorry but at this moment RELENG_6 is broken a bit. If you
T are using DHCP (client or server) please do not upgrade until I
T reply here that it is fixed.

  The ARP problem in RELENG_6 is fixed in revision 1.137.2.6 of if_ether.c.

The problem was introduced in revision 1.137.2.5. Make sure that you have
revision 1.137.2.4 or revision 1.137.2.6, before you build new kernel.

P.S. Important note is that problem is not related to DHCP, it affects
 any Ethernet user.

-- 
Totus tuus, Glebius.
GLEBIUS-RIPN GLEB-RIPE
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Upgrading Question

2005-11-26 Thread Yousef Raffah
Hello Everyone,

I just thought of upgrading from FreeBSD 6 BETA5 to 6-STABLE so I
followed the http://www.freebsd.org/doc/handbook/makeworld.html manual
page.
I reached to a point where I had to reboot into single user mode to
continue with make installworld and mergemaster but I wasn't able to
boot into single user mode. The machine was hanging saying:

Trying to mount root from ufs:/dev/ad0s2a

I tried and tried and kept on trying with no luck, I disable some
modules during kernel bootup and unset some variables but no luck!

Anyhow, one of the guys on IRC told me to build a GENERIC kernel to at
least boot so I built it but it panicked!

My only way to boot my system now is going to the loader prompt and
boot /boot/kernel.old/kernel

No here comes my question, by booting this way, can I still create a new
GENERIC kernel in order to upgrade my system? I would really appreciate
your advice


signature.asc
Description: This is a digitally signed message part


Re: Upgrading Question

2005-11-26 Thread Joseph Koshy
 Trying to mount root from ufs:/dev/ad0s2a

 I tried and tried and kept on trying with no luck, I
 disable some modules during kernel bootup and unset some
 variables but no luck!

 Anyhow, one of the guys on IRC told me to build a GENERIC
 kernel to at least boot so I built it but it panicked!

There isn't any information in your bug report that we
could use to help you out:

 - what kind of hardware does your machine have (the
   output of dmesg would be a good start)?
 - how did you checkout your source tree (which CVS tag
   did you use?
 - what is the panic message from the GENERIC kernel?
 - do you have any third-party kernel modules that you
   load in the kernel?

--
FreeBSD Volunteer, http://people.freebsd.org/~jkoshy
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Upgrading Question

2005-11-26 Thread Yousef Raffah
On Sat, 2005-11-26 at 19:17 +0530, Joseph Koshy wrote:
  Trying to mount root from ufs:/dev/ad0s2a
 
  I tried and tried and kept on trying with no luck, I
  disable some modules during kernel bootup and unset some
  variables but no luck!
 
  Anyhow, one of the guys on IRC told me to build a GENERIC
  kernel to at least boot so I built it but it panicked!
 
 There isn't any information in your bug report that we
 could use to help you out:
 
Sorry for not providing that but please find below the required
information.

  - what kind of hardware does your machine have (the
output of dmesg would be a good start)?
This is the output of dmesg with my boot /boot/kernel.old/kernel:

Copyright (c) 1992-2005 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights
reserved.
FreeBSD 6.0-BETA5 #9: Thu Oct 20 21:36:39 AST 2005
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/MYKERNEL
module firewire already present!
Timecounter i8254 frequency 1193182 Hz quality 0
CPU: Intel(R) Pentium(R) M processor 1.86GHz (1862.01-MHz 686-class CPU)
  Origin = GenuineIntel  Id = 0x6d8  Stepping = 8

Features=0xafe9f9ffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,TM,PBE
  Features2=0x180EST,TM2
real memory  = 1073606656 (1023 MB)
avail memory = 1041719296 (993 MB)
npx0: [FAST]
npx0: math processor on motherboard
npx0: INT 16 interface
cpu0 on motherboard
est0: Enhanced SpeedStep Frequency Control on cpu0
est: CPU supports Enhanced Speedstep, but is not recognized.
est: Please update driver or contact the maintainer.
est: cpu_vendor GenuineIntel, msr 6120e2606000e26, bus_clk, 64
device_attach: est0 attach returned 6
p4tcc0: CPU Frequency Thermal Control on cpu0
pcib0: Host to PCI bridge pcibus 0 on motherboard
pir0: PCI Interrupt Routing Table: 12 Entries on motherboard
pci0: PCI bus on pcib0
pcib1: PCIBIOS PCI-PCI bridge irq 11 at device 1.0 on pci0
pci1: PCI bus on pcib1
drm0: ATI Radeon X300 port 0xc000-0xc0ff mem
0x9000-0x97ff,0xc000-0xc000 irq 11 at device 0.0 on pci1
info: [drm] Initialized radeon 1.16.0 20050311 on minor 0
pcib2: PCIBIOS PCI-PCI bridge irq 10 at device 28.0 on pci0
pci2: PCI bus on pcib2
pci2: network, ethernet at device 0.0 (no driver attached)
pcib3: PCIBIOS PCI-PCI bridge irq 11 at device 28.1 on pci0
pci3: PCI bus on pcib3
uhci0: Intel 82801FB/FR/FW/FRW (ICH6) USB controller USB-A port
0x1200-0x121f irq 11 at device 29.0 on pci0
uhci0: [GIANT-LOCKED]
usb0: Intel 82801FB/FR/FW/FRW (ICH6) USB controller USB-A on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1: Intel 82801FB/FR/FW/FRW (ICH6) USB controller USB-B port
0x1220-0x123f irq 11 at device 29.1 on pci0
uhci1: [GIANT-LOCKED]
usb1: Intel 82801FB/FR/FW/FRW (ICH6) USB controller USB-B on uhci1
usb1: USB revision 1.0
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2: Intel 82801FB/FR/FW/FRW (ICH6) USB controller USB-C port
0x1240-0x125f irq 11 at device 29.2 on pci0
uhci2: [GIANT-LOCKED]
usb2: Intel 82801FB/FR/FW/FRW (ICH6) USB controller USB-C on uhci2
usb2: USB revision 1.0
uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
uhci3: Intel 82801FB/FR/FW/FRW (ICH6) USB controller USB-D port
0x1260-0x127f irq 11 at device 29.3 on pci0
uhci3: [GIANT-LOCKED]
usb3: Intel 82801FB/FR/FW/FRW (ICH6) USB controller USB-D on uhci3
usb3: USB revision 1.0
uhub3: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub3: 2 ports with 2 removable, self powered
ehci0: EHCI (generic) USB 2.0 controller mem 0xf400-0xf40003ff irq
11 at device 29.7 on pci0
ehci0: [GIANT-LOCKED]
usb4: EHCI version 1.0
usb4: companion controllers, 2 ports each: usb0 usb1 usb2 usb3
usb4: EHCI (generic) USB 2.0 controller on ehci0
usb4: USB revision 2.0
uhub4: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub4: 8 ports with 8 removable, self powered
pcib4: PCIBIOS PCI-PCI bridge at device 30.0 on pci0
pci6: PCI bus on pcib4
iwi0: Intel(R) PRO/Wireless 2200BG mem 0xb000b000-0xb000bfff irq 11 at
device 4.0 on pci6
iwi0: Ethernet address: 00:12:f0:63:ae:ca
cbb0: PCI-CardBus Bridge mem 0x1300-0x13000fff at device 6.0 on
pci6
cardbus0: CardBus bus on cbb0
pccard0: 16-bit PCCard bus on cbb0
cbb0: bad Vcc request. ctrl=0xfff8508, status=0x
cbb_power: 0V
fwohci0: 1394 Open Host Controller Interface mem
0xb000-0xb7ff,0xb0004000-0xb0007fff irq 11 at device 6.2 on pci6
fwohci0: OHCI version 1.10 (ROM=0)
fwohci0: No. of Isochronous channels is 4.
fwohci0: EUI64 00:08:0d:a0:d1:bf:aa:e1
fwohci0: Phy 1394a available S400, 2 ports.
fwohci0: Link S400, max_rec 2048 bytes.
firewire0: IEEE1394(FireWire) bus on fwohci0
fwe0: Ethernet over FireWire on firewire0
if_fwe0: Fake Ethernet address: 

Re: Upgrading Question

2005-11-26 Thread Joseph Koshy
yr This is the output of dmesg with my boot
yr /boot/kernel.old/kernel:

You use a number of devices in your machine that I'm
unfamiliar with.  So, YMMV with the advice below :).

yr FreeBSD 6.0-BETA5 #9: Thu Oct 20 21:36:39 AST 2005
yr [EMAIL PROTECTED]:/usr/obj/usr/src/sys/MYKERNEL

yr module firewire already present!

I don't know why this message should appear here, early
in the kernel boot process.  You might want to
check your config file.

yr est0: Enhanced SpeedStep Frequency Control on cpu0
yr est: CPU supports Enhanced Speedstep, but is not recognized.
yr est: Please update driver or contact the maintainer.

We lack a manual page for this driver.  Grr.

gr iwi0: Intel(R) PRO/Wireless 2200BG mem \
yr 0xb000b000-0xb000bfff irq 11 at device 4.0 on pci6
yr iwi0: Ethernet address: 00:12:f0:63:ae:ca

This driver had a very recent MFC done to it.

yr That is my /boot/loader.conf:
yr autoboot_delay=3
yr if_iwi_load=YES
yr wlan_wep_load=YES

I would suggest trying a RELENG_6_0_0_RELEASE GENERIC
kernel with all modules disabled, and then enable stuff
in steps.  You may want to check if your
ports/net/iwi-firmware installation is upto-date too.

--
FreeBSD Volunteer, http://people.freebsd.org/~jkoshy
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Upgrading Question

2005-11-26 Thread Yousef Raffah
On Sat, 2005-11-26 at 16:56 +0300, Yousef Raffah wrote:
 On Sat, 2005-11-26 at 19:17 +0530, Joseph Koshy wrote:
   Trying to mount root from ufs:/dev/ad0s2a
  
   I tried and tried and kept on trying with no luck, I
   disable some modules during kernel bootup and unset some
   variables but no luck!
  
   Anyhow, one of the guys on IRC told me to build a GENERIC
   kernel to at least boot so I built it but it panicked!
  
  There isn't any information in your bug report that we
  could use to help you out:
  
 Sorry for not providing that but please find below the required
 information.
 
   - what kind of hardware does your machine have (the
 output of dmesg would be a good start)?
 This is the output of dmesg with my boot /boot/kernel.old/kernel:
OK I was able to boot up using my new GENERIC kernel after unload all
the drivers in the loader prompt
here is my dmesg: (sorry it is so long)

Copyright (c) 1992-2005 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights
reserved.
FreeBSD 6.0-STABLE #2: Sat Nov 26 16:49:02 AST 2005
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC
Preloaded elf kernel /boot/kernel/kernel at 0xc0a36000.
Calibrating clock(s) ... i8254 clock: 1193173 Hz
CLK_USE_I8254_CALIBRATION not specified - using default frequency
Timecounter i8254 frequency 1193182 Hz quality 0
Calibrating TSC clock ... TSC clock: 1862014843 Hz
CPU: Intel(R) Pentium(R) M processor 1.86GHz (1862.01-MHz 686-class CPU)
  Origin = GenuineIntel  Id = 0x6d8  Stepping = 8

Features=0xafe9f9ffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,TM,PBE
  Features2=0x180EST,TM2
real memory  = 1073606656 (1023 MB)
Physical memory chunk(s):
0x1000 - 0x0009efff, 647168 bytes (158 pages)
0x0010 - 0x003f, 3145728 bytes (768 pages)
0x00c25000 - 0x3eda6fff, 1041768448 bytes (254338 pages)
avail memory = 1041686528 (993 MB)
bios32: Found BIOS32 Service Directory header at 0xc00e6050
bios32: Entry = 0xea8e0 (c00ea8e0)  Rev = 0  Len = 1
pcibios: PCI BIOS entry at 0xe6000+0x48f4
pnpbios: Found PnP BIOS data at 0xc00ff020
pnpbios: Entry = eb000:3d78  Rev = 1.0
pnpbios: Event flag at eb01e
pnpbios: OEM ID 8224744e
Other BIOS signatures found:
wlan: 802.11 Link Layer
null: null device, zero device
random: entropy source, Software, Yarrow
nfslock: pseudo-device
io: I/O
mem: memory
Pentium Pro MTRR support enabled
npx0: [FAST]
npx0: math processor on motherboard
npx0: INT 16 interface
cpu0 on motherboard
pci_open(1):mode 1 addr port (0x0cf8) is 0x80010014
pci_open(1a):   mode1res=0x8000 (0x8000)
pci_cfgcheck:   device 0 [class=06] [hdr=00] is there (id=25908086)
pcibios: BIOS version 2.10
Found $PIR table, 12 entries at 0xc00fe840
PCI-Only Interrupts: none
Location  Bus Device Pin  Link  IRQs
embedded01A   0x60  5 9 10 11
embedded0   28A   0x61  5 9 10 11
embedded0   28B   0x60  5 9 10 11
embedded0   28C   0x62  5 9 10 11
embedded0   28D   0x63  5 9 10 11
embedded0   29A   0x6b  5 9 10 11
embedded0   29B   0x63  5 9 10 11
embedded0   29C   0x62  5 9 10 11
embedded0   29D   0x60  5 9 10 11
embedded0   30A   0x61  5 9 10 11
embedded0   30B   0x68  5 9 10 11
embedded0   31A   0x62  5 9 10 11
embedded0   31B   0x63  5 9 10 11
embedded0   31D   0x60  5 9 10 11
embedded10A   0x60  5 9 10 11
embedded10B   0x61  5 9 10 11
embedded10C   0x62  5 9 10 11
embedded10D   0x63  5 9 10 11
embedded20A   0x60  5 9 10 11
embedded20B   0x61  5 9 10 11
embedded20C   0x62  5 9 10 11
embedded20D   0x63  5 9 10 11
embedded30A   0x61  5 9 10 11
embedded30B   0x62  5 9 10 11
embedded30C   0x63  5 9 10 11
embedded30D   0x60  5 9 10 11
embedded40A   0x62  5 9 10 11
embedded40B   0x63  5 9 10 11
embedded40C   0x60  5 9 10 11
embedded40D   0x61  5 9 10 11
embedded50A   0x63  5 9 10 11
embedded50B   0x60  5 9 10 11
embedded50C   0x61  5 9 10 11
embedded50D   0x62  5 9 10 11
embedded64A   0x60  5 9 10 11
embedded64B   0x61  5 9 10 11
embedded66A   0x62  5 9 10 11
embedded66B   0x63  5 9 10 11
embedded66C   0x6a  5 9 10 11
embedded66D   0x68  5 9 10 11
pcib0: Host to PCI bridge pcibus 0 on motherboard
pir0: PCI Interrupt Routing Table: 12 Entries on motherboard
$PIR: Links after initial probe:
Link  IRQ  Rtd  Ref  IRQs
0x60  255   N10  5 9 10 11
0x61  255   N 8  5 9 10 11
0x62  255   N 9  5 9 10 11
0x63  255   N 9  5 9 10 11
0x6b  255   N 1  5 9 10 11
0x68  255   N 2  5 9 10 11
0x6a  255   N 

6-STABLE + Intel ICH6 SATA Timeouts

2005-11-26 Thread Volcane
hello,

I installed FreeBSD-6 RELEASE on a Intel based server, updated world
to this mornings -STABLE.

The machine has a Intel ICH6 SATA controller in it and 2 drives:

=== dmesg
atapci0: Intel ICH6 SATA150 controller port
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x3090-0x309f at device 31.2 on
pci0
atapci0: failed to enable memory mapping!
ata0: ATA channel 0 on atapci0
ata1: ATA channel 1 on atapci0
ad0: 157066MB HDS722516VLSA80 V34OA6MA at ata0-master SATA150
ad1: 157066MB HDS722516VLSA80 V34OA6MA at ata0-slave SATA150
===

The problem is I'm getting read timeouts all over:

ad1: TIMEOUT - READ_DMA retrying (1 retry left) LBA=191
ad0: TIMEOUT - READ_DMA retrying (1 retry left) LBA=10055263
ad1: TIMEOUT - READ_DMA retrying (1 retry left) LBA=12095
ad1: TIMEOUT - READ_DMA retrying (1 retry left) LBA=764891
ad0: TIMEOUT - READ_DMA48 retrying (1 retry left) LBA=282913823
ad0: TIMEOUT - READ_DMA48 retrying (0 retries left) LBA=282913823
ad0: FAILURE - READ_DMA48 status=51READY,DSC,ERROR error=4ABORTED
LBA=282913823
g_vfs_done():ad0s1f[READ(offset=138958848000, length=10752)]error = 5
vnode_pager_getpages: I/O read error
ad0: TIMEOUT - WRITE_DMA retrying (1 retry left) LBA=11521823
ad0: TIMEOUT - WRITE_DMA48 retrying (1 retry left) LBA=283051135
ad0: TIMEOUT - WRITE_DMA48 retrying (0 retries left) LBA=283051135
ad0: FAILURE - WRITE_DMA48 status=51READY,DSC,ERROR error=4ABORTED
LBA=283051135
g_vfs_done():ad0s1f[WRITE(offset=139029151744, length=4096)]error = 5
ad0: TIMEOUT - READ_DMA retrying (1 retry left) LBA=12703

I've tried booting without ACPI that didn't help, other than that I'm
out of ideas, has anyone had success with this card?  I searched
through the archives and on google and I've come across many posts
concluding this is a crap card, unfortunately I have extremely limited
options for changing cards as the machine is hosted at a ISP and its
their hardware.

Any help would be appreciated.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD unstable on Dell 1750 using SMP?

2005-11-26 Thread Gino Ruopolo


Both the servers where I changed the nic to an old intel 10/100 reached a 
week of uptime!

I'm seriously thinking about a problem with the em ethernet card driver.

later,
gino



From: Kris Kennaway [EMAIL PROTECTED]
To: Rutger Bevaart [EMAIL PROTECTED]
CC: Kris Kennaway [EMAIL PROTECTED], freebsd-stable@freebsd.org,Gino 
Ruopolo [EMAIL PROTECTED]

Subject: Re: FreeBSD unstable on Dell 1750 using SMP?
Date: Fri, 25 Nov 2005 14:09:19 -0500

On Fri, Nov 25, 2005 at 01:22:01PM +0100, Rutger Bevaart wrote:
 Hello Kris ( list),

 Thanks for helping the 1750 and 2850 owners on this list. Unfortunately 
I
 cannot find any references to the leak or the fix you are referring to 
in

 the Release errata (http://www.freebsd.org/releases/5.4R/errata.html).

It was in the 5.3 errata, sorry.  I don't think it was fixed until
after 5.4 though.

 We are trying really hard to resolve the stability issues with our Dell
 servers and would be very happy to know when the fix for what was
 committed.

As I said twice already, the stats leak is ***HARMLESS***.  It only
gives the wrong value to counters that are unused for anything except
reporting to the user.

 No way we'll be upgrading to 6.0 without knowing exactly what
 is going on (remembering broken 4.10 - 5.3 systems) ...

5.4 - 6.0 is really a very minor jump.  But if you're not willing to
even test it out on one machine to see whether it resolves your
problems, you'll likely just have to get used to the instability until
someone can identify your problem and then fix it.

Kris




 attach3 


_
Parla con i tuoi amici che hanno MSN Hotmail in tempo reale! E' gratis. 
http://www.imagine-msn.com/messenger/default.aspx?locale=it-IT


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


Re: Upgrading Question

2005-11-26 Thread Ronald Klop
On Sat, 26 Nov 2005 15:44:46 +0100, Yousef Raffah [EMAIL PROTECTED]  
wrote:



On Sat, 2005-11-26 at 16:56 +0300, Yousef Raffah wrote:

On Sat, 2005-11-26 at 19:17 +0530, Joseph Koshy wrote:
  Trying to mount root from ufs:/dev/ad0s2a

  I tried and tried and kept on trying with no luck, I
  disable some modules during kernel bootup and unset some
  variables but no luck!

  Anyhow, one of the guys on IRC told me to build a GENERIC
  kernel to at least boot so I built it but it panicked!

 There isn't any information in your bug report that we
 could use to help you out:

Sorry for not providing that but please find below the required
information.

  - what kind of hardware does your machine have (the
output of dmesg would be a good start)?
This is the output of dmesg with my boot /boot/kernel.old/kernel:

OK I was able to boot up using my new GENERIC kernel after unload all
the drivers in the loader prompt
here is my dmesg: (sorry it is so long)

So what am I advised to do now?


Re-enable the modules 1 by 1, so you will discover what gives you your  
troubles.
Maybe the problem is in a combination of modules or you are loading  
modules, which are also compiled in the kernel.


Ronald.

--
 Ronald Klop
 Amsterdam, The Netherlands
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: [WARNING] RELENG_6 is broken

2005-11-26 Thread Frank Mayhar
On Sat, 2005-11-26 at 13:58 +0300, Gleb Smirnoff wrote:
   The ARP problem in RELENG_6 is fixed in revision 1.137.2.6 of if_ether.c.

Does this problem cause an arp storm?  If so, I ran into it last night
and am very glad to see that it's fixed.  (It was a new system and I
just figured it was due to pilot error or bad hardware.)
-- 
Frank Mayhar [EMAIL PROTECTED] http://www.exit.com/
Exit Consulting http://www.gpsclock.com/
http://www.exit.com/blog/frank/
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: [WARNING] RELENG_6 is broken

2005-11-26 Thread Gleb Smirnoff
On Sat, Nov 26, 2005 at 10:51:22AM -0800, Frank Mayhar wrote:
F On Sat, 2005-11-26 at 13:58 +0300, Gleb Smirnoff wrote:
FThe ARP problem in RELENG_6 is fixed in revision 1.137.2.6 of if_ether.c.
F 
F Does this problem cause an arp storm?  If so, I ran into it last night
F and am very glad to see that it's fixed.  (It was a new system and I
F just figured it was due to pilot error or bad hardware.)

Yes, it does. I'm sorry to waste your time. :|

-- 
Totus tuus, Glebius.
GLEBIUS-RIPN GLEB-RIPE
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD 6.0 cron is running on GMT

2005-11-26 Thread Brett Glass
At 07:20 PM 11/25/2005, Jon Dama wrote:
 
Uh, the problem would be that kernel does not know that the CMOS clock is
set to the local time.  Standard practice is that the CMOS clock should be
set to UTC.

We've never set the CMOS clock to UTC/GMT on any previous version of
FreeBSD, and yet have never seen this behavior.

By the way, the date command does report the correct time. It's cron
that seems to be getting the time wrong.

--Brett Glass

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


Re: FreeBSD 6.0 cron is running on GMT

2005-11-26 Thread Brett Glass
At 09:08 PM 11/25/2005, Joseph Koshy wrote:
 
 Just created a server using FreeBSD 6.0, and it's quite
 stable and fast. One glitch, though: Jobs scheduled to
 run at midnight via /etc/crontab are running at 6 PM
 (midnight GMT). I've double checked, and the CMOS clock
 is set to local time and the time zone is specified as
 Mountain Standard Time. What could be going on? Is this
 a known problem?

Is there a file /etc/wall_cmos_clock on this system?

There's a zero length file by that name. Ownership
and permissions are root:wheel, a=r.

--Brett

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


6.0 ethernet problem with 4GB ram

2005-11-26 Thread Erik Stian Tefre
Hi list!

I'm seeing a strange network problem on a couple of athlon 64 X2 boxes
with 4 GB ram. The ethernet interfaces (em in one box and vge in the
other) stops working if I enable more than 2 GB of ram. The interfaces
continue to receive incoming broadcast packets (verified with tcpdump)
but nothing else seems to work (the local arp table stays empty).  

The ethernet interfaces work OK on:
-6.0 i386 GENERIC (without PAE) 
-6.0 amd64 GENERIC with hw.physmem=2g set in loader

They don't work on:
-6.0 i386 PAE
-6.0 amd64 GENERIC

I have tested this on 6.0 release. Upgrading to RELENG_6 (cvsuped today)
seems to make no difference. Compiling the kernel with or without SMP
also makes no difference.

Anyone have any ideas or workarounds other than limiting the memory to
2GB?

--
Erik Stian Tefre

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


Strange Kernel Panic with Gnome and Evolution

2005-11-26 Thread Ricardo A. Reis
Hi all,

 A strange kernel panic when i use my workstation with gnome
2.12.1 i don't have idea if this is caused by threads or is  another
problem


Dump header from device /dev/ad2s1b
  Architecture: i386
  Architecture Version: 2
  Dump Length: 200867840B (191 MB)
  Blocksize: 512
  Dumptime: Sat Nov 26 17:32:05 2005
  Hostname: myfreebsd.homeunix.org
  Magic: FreeBSD Kernel Dump
  Version String: FreeBSD 6.0-STABLE #1: Sat Nov 26 12:02:28 BRST 2005
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC
  Panic String: page fault
  Dump Parity: 193487664
  Bounds: 5
  Dump Status: good

kgdb---
 # sudo kgdb kernel.debug /usr/crash/vmcore.5  
[GDB will not be able to debug user-mode
threads: /usr/lib/libthread_db.so: Undefined symbol ps_pglobal_lookup]
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you
are
welcome to change it and/or distribute copies of it under certain
conditions.
Type show copying to see the conditions.
There is absolutely no warranty for GDB.  Type show warranty for
details.
This GDB was configured as i386-marcel-freebsd.

 #0  doadump () at pcpu.h:165
165 __asm __volatile(movl %%fs:0,%0 : =r (td));
(kgdb) 
(kgdb)  bt full
#0  doadump () at pcpu.h:165
No locals.
#1  0xc067ee30 in boot (howto=260)
at /usr/src/sys/kern/kern_shutdown.c:399
first_buf_printf = 1
#2  0xc067f116 in panic (fmt=0xc08a856b %s)
at /usr/src/sys/kern/kern_shutdown.c:555
td = (struct thread *) 0xc141c480
bootopt = 260
newpanic = 0
ap = 0xc141c480 0¸AÁ åÁ
buf = page fault, '\0' repeats 245 times
#3  0xc085f851 in trap_fatal (frame=0xca6a5b34, eva=0)
at /usr/src/sys/i386/i386/trap.c:831
code = 40
type = 12
ss = 40
esp = 0
softseg = {ssd_base = 0, ssd_limit = 1048575, ssd_type = 27,
ssd_dpl = 0, ssd_p = 1, ssd_xx = 8, ssd_xx1 = 3, ssd_def32 = 1, ssd_gran
= 1}
#4  0xc085f5ae in trap_pfault (frame=0xca6a5b34, usermode=0, eva=0)
at /usr/src/sys/i386/i386/trap.c:742
va = 0
vm = (struct vmspace *) 0x0
map = 0xc097dba0
rv = 1
ftype = 1 '\001'
td = (struct thread *) 0xc141c480
p = (struct proc *) 0xc141b830
#5  0xc085f1ed in trap (frame=
  {tf_fs = 8, tf_es = 40, tf_ds = 40, tf_edi = -1063751200, tf_esi =
-1063751200, tf_ebp = -898999428, tf_isp = -898999456, tf_ebx =
-1049361712, tf_edx = 0, tf_ecx = -1051141984, tf_eax = 0, tf_trapno =
12, tf_err = 2, tf_eip = -1066297054, tf_cs = 32, tf_eflags = 66118,
tf_esp = -1044063812, tf_ss = -1049361712})
at /usr/src/sys/i386/i386/trap.c:432
td = (struct thread *) 0xc141c480
p = (struct proc *) 0xc141b830
sticks = 3250903542
i = 0
ucode = 0
type = 12
code = 2
eva = 0
#6  0xc084dc7a in calltrap () at /usr/src/sys/i386/i386/exception.s:139
No locals.
#7  0x0008 in ?? ()
No symbol table info available.
#8  0x0028 in ?? ()
No symbol table info available.
#9  0x0028 in ?? ()
No symbol table info available.
#10 0xc09871e0 in tcb ()
No symbol table info available.
#11 0xc09871e0 in tcb ()
No symbol table info available.
#12 0xca6a5b7c in ?? ()
No symbol table info available.
#13 0xca6a5b60 in ?? ()
No symbol table info available.
#14 0xc17402d0 in ?? ()
No symbol table info available.
#15 0x in ?? ()
No symbol table info available.
#16 0xc158d8a0 in ?? ()
No symbol table info available.
#17 0x in ?? ()
No symbol table info available.
#18 0x000c in ?? ()
No symbol table info available.
#19 0x0002 in ?? ()
No symbol table info available.
#20 0xc0719922 in in_pcbremlists (inp=0xc17402d0)
at /usr/src/sys/netinet/in_pcb.c:1180
phd = (struct inpcbport *) 0x0
pcbinfo = (struct inpcbinfo *) 0xc09871e0
#21 0xc0718d93 in in_pcbdetach (inp=0xc17402d0)
at /usr/src/sys/netinet/in_pcb.c:723
so = (struct socket *) 0xc1c4d9bc
ipi = (struct inpcbinfo *) 0xc09871e0
#22 0xc0728bb3 in tcp_close (tp=0x0)
at /usr/src/sys/netinet/tcp_subr.c:779
inp = (struct inpcb *) 0xc17402d0
---Type return to continue, or q return to quit--- 
so = (struct socket *) 0xc1c4d9bc
#23 0xc07254e0 in tcp_input (m=0xc1555600, off0=20)
at /usr/src/sys/netinet/tcp_input.c:2198
th = (struct tcphdr *) 0xc1555648
ip = (struct ip *) 0xc1555634
ipov = (struct ipovly *) 0xc1555634
inp = (struct inpcb *) 0xc17402d0
optp = (u_char *) 0xc155565c \001\001\b\n
optlen = 12
len = 4
tlen = 0
off = 32
drop_hdrlen = 52
tp = (struct tcpcb *) 0xc16f5000
thflags = 16
so = (struct socket *) 0xc1c4d9bc
todrop = 4
acked = 4
ourfinisacked = 1
needoutput = 1
tiwin = 65219
to = {to_flags = 1, to_tsval = 222419, to_tsecr = 13045187,
to_mss = 0, to_requested_s_scale = 0 '\0', to_nsacks = 0 '\0', 

Re: FreeBSD 6.0 cron is running on GMT

2005-11-26 Thread Jon Dama
What is the output of

date vs date -u

on your system?

What's the value of machdep.adjkerntz ?

Is /etc/localtime intact?

Does anything change if you rerun tzsetup?





On Sat, 26 Nov 2005, Brett Glass wrote:

 At 07:20 PM 11/25/2005, Jon Dama wrote:

 Uh, the problem would be that kernel does not know that the CMOS clock is
 set to the local time.  Standard practice is that the CMOS clock should be
 set to UTC.

 We've never set the CMOS clock to UTC/GMT on any previous version of
 FreeBSD, and yet have never seen this behavior.

 By the way, the date command does report the correct time. It's cron
 that seems to be getting the time wrong.

 --Brett Glass

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


Re: FreeBSD 6.0 cron is running on GMT

2005-11-26 Thread Brett Glass
At 05:40 PM 11/26/2005, Jon Dama wrote:
 
What is the output of

date vs date -u

on your system?

What's the value of machdep.adjkerntz ?

www# date
Sat Nov 26 17:53:20 MST 2005
www# date -u
Sun Nov 27 00:53:22 UTC 2005
www# sysctl -a | grep kerntz
machdep.adjkerntz: 25200

Is /etc/localtime intact?

I can't tell, because it's a binary file; running cat or
more on it produces gibberish. But it's there.

Does anything change if you rerun tzsetup?

Already reran it.

--Brett

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


Dell SC600 fileserver and 6.0 Release

2005-11-26 Thread Tim Hawkins

Has anybody had any joy in getting 6.0 to install on a Dell 
SC600 server. 

The system runs fine under 5.3 and 5.4, but hangs just after attempting to 
init the atapi intefaces on 6.0. 

The only unusal thing I can see is that the system has 3 IDE channels.  There 
are HD's on both master and slave of channel 0, nothing on channel 1 
and a cd rom on the master of channel 2. 

Here is a dump of the dmesg, uname and pciconf for the 5.3 boot. 

uname -a

FreeBSD bsd02.contentspace.priv 5.3-RELEASE FreeBSD 5.3-RELEASE #0: Fri Nov  5 
04:19:18 UTC 2004 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386

dmessg

Copyright (c) 1992-2004 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD 5.3-RELEASE #0: Fri Nov  5 04:19:18 UTC 2004
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC
Timecounter i8254 frequency 1193182 Hz quality 0
CPU: Intel(R) Celeron(R) CPU 1.80GHz (1799.81-MHz 686-class CPU)
  Origin = GenuineIntel  Id = 0xf13  Stepping = 3
  
Features=0x3febfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM
real memory  = 805240832 (767 MB)
avail memory = 778231808 (742 MB)
ACPI APIC Table: DELL   PE600SC 
ioapic0: Changing APIC ID to 1
ioapic1: Changing APIC ID to 2
ioapic2: Changing APIC ID to 3
MADT: Forcing active-low polarity and level trigger for SCI
ioapic0 Version 1.1 irqs 0-15 on motherboard
ioapic1 Version 1.1 irqs 16-31 on motherboard
ioapic2 Version 1.1 irqs 32-47 on motherboard
npx0: [FAST]
npx0: math processor on motherboard
npx0: INT 16 interface
acpi0: DELL PE600SC on motherboard
acpi0: Power Button (fixed)
acpi0: reservation of 800, 1a (4) failed
acpi_timer0: couldn't allocate resource (port 0x808)
cpu0: ACPI CPU on acpi0
pcib0: ACPI Host-PCI bridge on acpi0
pci0: ACPI PCI bus on pcib0
em0: Intel(R) PRO/1000 Network Connection, Version - 1.7.35 port 
0xecc0-0xecff mem 0xfe10-0xfe11 irq 17 at device 2.0 on pci0
em0: Ethernet address: 00:c0:9f:23:ac:d9
em0:  Speed:N/A  Duplex:N/A
pci0: display, VGA at device 8.0 (no driver attached)
atapci0: ServerWorks CSB6 UDMA66 controller port 
0x900-0x90f,0x36c-0x36f,0x168-0x16f,0x3ec-0x3ef,0x1e8-0x1ef irq 11 at device 
14.0 on pci0
ata2: channel #0 on atapci0
ata3: channel #1 on atapci0
atapci1: ServerWorks CSB6 UDMA100 controller port 
0x8b0-0x8bf,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 15.1 on pci0
ata0: channel #0 on atapci1
ata1: channel #1 on atapci1
ohci0: OHCI (generic) USB controller mem 0xfe12-0xfe120fff irq 5 at 
device 15.2 on pci0
ohci0: [GIANT-LOCKED]
usb0: OHCI version 1.0, legacy support
usb0: SMM does not respond, resetting
usb0: OHCI (generic) USB controller on ohci0
usb0: USB revision 1.0
uhub0: (0x1166) OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
isab0: PCI-ISA bridge at device 15.3 on pci0
isa0: ISA bus on isab0
fdc0: floppy drive controller port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0
fdc0: [FAST]
fd0: 1440-KB 3.5 drive on fdc0 drive 0
atkbdc0: Keyboard controller (i8042) port 0x64,0x60 irq 1 on acpi0
atkbd0: AT Keyboard irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
psm0: PS/2 Mouse irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: model IntelliMouse Explorer, device ID 4
sio0: 16550A-compatible COM port port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
sio0: type 16550A
ppc0: ECP parallel printer port port 0x778-0x77f,0x378-0x37f irq 7 drq 1 on 
acpi0
ppc0: Generic chipset (ECP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/8 bytes threshold
ppbus0: Parallel port bus on ppc0
plip0: PLIP network interface on ppbus0
lpt0: Printer on ppbus0
lpt0: Interrupt-driven port
ppi0: Parallel I/O on ppbus0
acpi_timer0: couldn't allocate resource (port 0x808)
orm0: ISA Option ROMs at iomem 0xec000-0xe,0xc-0xc7fff on isa0
pmtimer0 on isa0
sc0: System console at flags 0x100 on isa0
sc0: VGA 16 virtual consoles, flags=0x300
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
vga0: Generic ISA VGA at port 0x3c0-0x3df iomem 0xa-0xb on isa0
Timecounter TSC frequency 1799807212 Hz quality 800
Timecounters tick every 10.000 msec
ad0: 38146MB IC35L040AVVA07-0/VA2OA56A [77504/16/63] at ata0-master UDMA100
ad1: 114498MB SAMSUNG SP1203N/TL100-24 [232632/16/63] at ata0-slave UDMA100
Interrupt storm detected on irq11: atapci0; throttling interrupt source
acd0: CDROM SAMSUNG CD-ROM SC-148C/B105 at ata2-master UDMA33
Mounting root from ufs:/dev/ad0s1a
em0: Link is up 100 Mbps Full Duplex

pciconf -l -v 

[EMAIL PROTECTED]:0:0:  class=0x06 card=0x chip=0x00171166 rev=0x32 
hdr=0x00
vendor   = 'ServerWorks (Was: Reliance Computer Corp)'
device   = 'CMIC-SL'
class= bridge
subclass = HOST-PCI
[EMAIL PROTECTED]:0:1:  class=0x06 card=0x chip=0x00171166 rev=0x00 
hdr=0x00
vendor   = 'ServerWorks (Was: 

Re: ACPI problems with Dell laptops

2005-11-26 Thread Eric Anderson

Greg 'groggy' Lehey wrote:

On Tuesday, 22 November 2005 at 17:12:46 -0800, Graham North wrote:


Am currently trying to choose between a couple of laptops, the luck
winner of which will have Freebsd loaded alongside WinXP.

Dell Latitude d600 with Radeon 9000? video, intel pro wireless
or
IBM R51 - Intel Extreme2, intel pro wireless.
The main differences will likely be the video and maybe bios, acpi...?
Can someone suggest to me whether these are both safe choices?
Am I better off installing 5.4 or 6.0?



I've had both Dell and ThinkPad (no longer IBM).  I prefer Dell,
despite their attempts to convince me otherwise.

However, we currently seem to have significant ACPI problems with Dell
laptops.  I'm writing this on an Inspiron 6000 running 7-CURRENT, but
the same problems occur with 6.0: if I enable ACPI, timing goes to
hell, and some things just time out.  There was a similar message a
couple of days ago from an owner of (I think) the latest Latitude
machine, which sounded even worse.  My requests for feedback about how
to solve the problem have so far not been resolved.  If you're
otherwise tending towards Dell, I'd suggest you watch this space until
there's some indication that the problems will be resolved.

Nothing of this says that ThinkPads will do better, of course.  I
don't know what the situation is there.


Which scheduler are you using?  Also, have you tried disabling apic?  I 
had these same troubles, and worked around them, but I can't recall the 
exact trick - I seem to recall disabling apic and/or using 4BSD scheduler.


Eric




--

Eric AndersonSr. Systems AdministratorCentaur Technology
Anything that works is better than anything that doesn't.

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


Re: NFS network load on 5.4-STABLE

2005-11-26 Thread Chuck Swiger

Mike Eubanks wrote:

As soon as I mount my NFS file systems, the network load increases to a
constant 80%-90% of network bandwidth, even when the file systems are
not in use.  NFS stats on the client machine (nfsstat -c) produce the
following:

[ ... ]

Fsstat and Requests are increasing very rapidly.  Both the client and
server are i386 5.4-STABLE machines.  Is this behaviour normal?


Sort of.  Some fancy parts of X like file-manager/exporer applications tend to 
call fstat() a lot, but it's probably tunable, and if you enable NFS attribute 
caching that will help a lot.  ls /afs, if available, is a wonderful test of 
whether a program/file-manager is being polite.


Anyway, top -mio is likely to be informative.

--
-Chuck

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


Re: FreeBSD 6.0 cron is running on GMT

2005-11-26 Thread Peter Jeremy
On Sat, 2005-Nov-26 15:07:26 -0700, Brett Glass wrote:
By the way, the date command does report the correct time. It's cron
that seems to be getting the time wrong.

You haven't accidently created a line that looks like 'TZ=' in the
crontab have you?

Is this affecting all users or just one?

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


Re: ACPI problems with Dell laptops

2005-11-26 Thread Graham North

Hi Eric, Groggy and all who replied to this my initial enquiry:

Thank you for the tips.   I tend to favour the Dells also, but the the 
ACPI does sound like a concern.

Will watch this space.
Thanks again to all.
Cheers,  Graham/


Eric Anderson wrote:


Greg 'groggy' Lehey wrote:


On Tuesday, 22 November 2005 at 17:12:46 -0800, Graham North wrote:


Am currently trying to choose between a couple of laptops, the luck
winner of which will have Freebsd loaded alongside WinXP.

Dell Latitude d600 with Radeon 9000? video, intel pro wireless
or
IBM R51 - Intel Extreme2, intel pro wireless.
The main differences will likely be the video and maybe bios, acpi...?
Can someone suggest to me whether these are both safe choices?
Am I better off installing 5.4 or 6.0?




I've had both Dell and ThinkPad (no longer IBM).  I prefer Dell,
despite their attempts to convince me otherwise.

However, we currently seem to have significant ACPI problems with Dell
laptops.  I'm writing this on an Inspiron 6000 running 7-CURRENT, but
the same problems occur with 6.0: if I enable ACPI, timing goes to
hell, and some things just time out.  There was a similar message a
couple of days ago from an owner of (I think) the latest Latitude
machine, which sounded even worse.  My requests for feedback about how
to solve the problem have so far not been resolved.  If you're
otherwise tending towards Dell, I'd suggest you watch this space until
there's some indication that the problems will be resolved.

Nothing of this says that ThinkPads will do better, of course.  I
don't know what the situation is there.



Which scheduler are you using?  Also, have you tried disabling apic?  
I had these same troubles, and worked around them, but I can't recall 
the exact trick - I seem to recall disabling apic and/or using 4BSD 
scheduler.


Eric






--
Kindness can be infectious - try it.

Graham North
Vancouver, BC
www.soleado.ca


No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.362 / Virus Database: 267.13.8/183 - Release Date: 11/25/2005
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: FreeBSD 6.0 cron is running on GMT

2005-11-26 Thread Brett Glass
At 09:14 PM 11/26/2005, Peter Jeremy wrote:
 
On Sat, 2005-Nov-26 15:07:26 -0700, Brett Glass wrote:
By the way, the date command does report the correct time. It's cron
that seems to be getting the time wrong.

You haven't accidently created a line that looks like 'TZ=' in the
crontab have you?

Nope.

Is this affecting all users or just one?

All.

I am wondering if I shouldn't just redo everything in the system that
has to do with time zones and time keeping (deleting files and re-creating
them if need be), reboot, and see what happens. I've never seen a good
explanation of all of the sysctl variables, environment variables, files,
etc. that control it, especially since (as I understand it) the responsibility
has been shifted from the kernel to libraries. Is there a summary out there?

--Brett Glass 

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


Re: FreeBSD 6.0 cron is running on GMT

2005-11-26 Thread John-Mark Gurney
Brett Glass wrote this message on Sat, Nov 26, 2005 at 22:27 -0700:
 At 09:14 PM 11/26/2005, Peter Jeremy wrote:
  
 On Sat, 2005-Nov-26 15:07:26 -0700, Brett Glass wrote:
 By the way, the date command does report the correct time. It's cron
 that seems to be getting the time wrong.
 
 You haven't accidently created a line that looks like 'TZ=' in the
 crontab have you?
 
 Nope.
 
 Is this affecting all users or just one?
 
 All.
 
 I am wondering if I shouldn't just redo everything in the system that
 has to do with time zones and time keeping (deleting files and re-creating
 them if need be), reboot, and see what happens. I've never seen a good
 explanation of all of the sysctl variables, environment variables, files,
 etc. that control it, especially since (as I understand it) the responsibility
 has been shifted from the kernel to libraries. Is there a summary out there?

/etc/localtime contains the timezone that is the default when TZ isn't
set...  if /etc/wall_cmos_clock exists then the RTC of the machine
matches that of /etc/localtime, if it doesn't exist, the RTC is in
GMT...  adjkerntz(8) contains pointers to these files...

as far as I know there are no sysctl's that deal with timezone...

-- 
  John-Mark Gurney  Voice: +1 415 225 5579

 All that I will do, has been done, All that I have, has not.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD 6.0 cron is running on GMT

2005-11-26 Thread Peter Jeremy
On Sat, 2005-Nov-26 22:27:49 -0700, Brett Glass wrote:
I am wondering if I shouldn't just redo everything in the system that
has to do with time zones and time keeping (deleting files and re-creating
them if need be), reboot, and see what happens.

That's as good as idea as any other.  I know cron on my 6.0 system
behaves correctly so I suspect it's something odd on your system.

Last suggestions/guesses:
- If you run /sbin/rcorder -s nostart /etc/rc.d/*, does /etc/rc.d/cron
  come after /etc/rc.d/adjkerntz?
- If /etc/localtime is a symlink, is the filesystem it points to mounted
  when cron starts?  (Look thru the rcorder above to check).
- Do at jobs run at local or UTC time?
- If you run date and date -u as a cron job, what do they report?

 I've never seen a good
explanation of all of the sysctl variables, environment variables, files,
etc. that control it, especially since (as I understand it) the responsibility
has been shifted from the kernel to libraries. Is there a summary out there?

The timezone has always been the responsibility of userland in FreeBSD.
The kernel provides a UTC timestamp to the ctime(3) functions, which
are solely responsible to mapping UTC to local time based on $TZ or
/etc/localtime.

adjkerntz(8) is responsible for handling the RTC's offset between UTC
and localtime.  If /etc/wall_cmos_clock exists, it means that CMOS clock
keeps local time.  If that file does not exist, it means that the CMOS
clock keeps UTC time.  adjkerntz sets machdep.wall_cmos_clock.

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