Subscription

2005-08-15 Thread Vladimir Sharun

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


RELENG_6/i386/SMP NFS locking behavior

2005-08-15 Thread Vladimir Sharun
2 weeks ago we switch our mx'es to 6.0-beta(1/2) and nfs locking
test tool hang in uninterruptbl state: ps axc shows state D.
Without rpcbind/rpc.statd/rpc.lockd tool receives correct errno
45 EOPNOTSUPP Operation not supported.

Tool src (sniffed from @freebsd.org ML's):
==8
#include stdio.h
#include errno.h
#include fcntl.h

int main() {
  int lockfd;
  char* tempfile=/nfs/mount/testfile;

  lockfd=open(tempfile,O_CREAT);
  printf(Open errno:   %d\n,errno);
  if (flock(lockfd, LOCK_SH|LOCK_NB)==-1) {
printf(ERROR shared lock:  %d\n,errno);
  }
  if (flock(lockfd, LOCK_EX|LOCK_NB)==-1) {
printf(ERROR exclusive lock:  %d\n,errno);
  }
   close(lockfd);
}
==8

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


Re: ULE scheduler freezes kernel

2005-08-15 Thread Rene Ladan
On Thu, Mar 17, 2005 at 10:14:50PM +0100, Rene Ladan wrote:
 Hi,
 
 I was trying the ULE scheduler again on my single i686 5.4PRE laptop,
 but it causes the kernel to freeze after some time (=30 minutes): the
 kernel does not even respond to opening/closing the lid when booting
 verbose (normally it displays acpi_lid0: Lid {opened|closed}).
 Having some disk activity (e.g. portupgrade) seems to catalyze this
 behaviour.  Only a full power reset gets the laptop running again.  I do
[...]

This seems to be solved with RELENG_6 :

% uname -v
FreeBSD 6.0-BETA2 #5: Thu Aug 11 16:50:36 CEST 2005 
root@:/usr/obj/usr/src/sys/RENE 

% sysctl kern.sched.name
kern.sched.name: ule

% uptime
 3:35pm  up 3 days,  1:17, 6 users, load averages: 1,00 1,02 1,00

And it even survived an OpenOffice portupgrade. :)

Regards,
Rene
-- 
GPG fingerprint = 5FFA 3959 3377 C697 8428  24D0 BF3E F4A9 AE33 5DCC

It won't fit on the line.
-- me, 2001


pgpx3g0fx4mnm.pgp
Description: PGP signature


firefox, Xorg and crash.

2005-08-15 Thread Yann Golanski
Firefox keeps taking X11 and then the whole machine with it.  It
requires a hard reset as even pinging the machine does not work.  Only
Firefox seems to be doing this.  

Does anyone else have the same problem?  

Anyone knows how to solve/debug this?

; uname -a
FreeBSD rubicon.york.ac.uk 5.4-STABLE FreeBSD 5.4-STABLE #0: Mon Aug  8
16:18:46 BST 2005 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SMP
i386
; pkg_info | grep xorg
xorg-6.8.2  X.Org distribution metaport
; pkg_info | grep firefox
firefox-1.0.6_1,1   Web browser based on the browser portion of Mozilla

-- 
[EMAIL PROTECTED]  -=*=-  www.kierun.org
PGP:   009D 7287 C4A7 FD4F 1680  06E4 F751 7006 9DE2 6318


pgptiJPvlPv2a.pgp
Description: PGP signature


Re: firefox, Xorg and crash.

2005-08-15 Thread Unix

Yann Golanski wrote:


Firefox keeps taking X11 and then the whole machine with it.  It
requires a hard reset as even pinging the machine does not work.  Only
Firefox seems to be doing this.  

Does anyone else have the same problem?  


Anyone knows how to solve/debug this?

; uname -a
FreeBSD rubicon.york.ac.uk 5.4-STABLE FreeBSD 5.4-STABLE #0: Mon Aug  8
16:18:46 BST 2005 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SMP
i386
; pkg_info | grep xorg
xorg-6.8.2  X.Org distribution metaport
; pkg_info | grep firefox
firefox-1.0.6_1,1   Web browser based on the browser portion of Mozilla

 


no running fine and stable on my machine, 5.4-STABLE
$ uname -a
FreeBSD canis.local 5.4-STABLE FreeBSD 5.4-STABLE #0: Fri Aug 12 
19:36:45 CEST 2005 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/CANIS  i386


Firefox 1.0.6_1,1 and xorg6.8.2, both packages and not compiled from source
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


5.4 GEOM taste/gvinum trouble

2005-08-15 Thread Stijn Hoop
Hi,

I have a server set up to boot from a gvinum mirror volume. This was
all working fine, so I then proceeded to load my data on it, safe in
the knowledge that all was well.

However, all was not well after the last reboot: it seems that while
the two ATA disks probe, for some odd reason GEOM does not create
device entries in /dev for one of the disks, while gvinum has gotten
totally confused and thinks that the plex on the disappearing disk is
still up!

See the attached log for lots of details. All of this is on

FreeBSD 5.4-RELEASE #2: Sun May  8 09:56:34 CEST 2005

Can anyone tell me:

- how to force GEOM to 'taste' ad6 and therefore create the /dev entries?
- how to tell gvinum that ad6 is really gone so that it will be forced
  to sync my data on ad6 after the GEOM problem is fixed?
- the clue to how the machine has gotten in such a confused state?

--Stijn

-- 
I really hate this damned machine
I wish that they would sell it.
It never does quite what I want
But only what I tell it.
[EMAIL PROTECTED] ~ dmesg | grep '^ad'
ad4: 76293MB WDC WD800BB-75FRA0/77.07W77 [155009/16/63] at ata2-master UDMA100
ad6: 76293MB WDC WD800BB-75FRA0/77.07W77 [155009/16/63] at ata3-master UDMA100
[EMAIL PROTECTED] ~ sudo geom disk list ad6
Geom name: ad6
Providers:
1. Name: ad6
   Mediasize: 800 (75G)
   Sectorsize: 512
   Mode: r0w0e0
   fwsectors: 63
   fwheads: 16
[EMAIL PROTECTED] ~ sudo gvinum ld
1 drive:
D pain  State: up   /dev/ad4s1e A: 0/76293 MB (0%)
[EMAIL PROTECTED] ~ sudo gvinum lv -r local
V local State: up   Plexes:   1 Size: 66 GB
P local.p0C State: up   Subdisks: 1 Size: 66 GB
S local.p0.s0   State: up   D: pain Size: 66 GB
[EMAIL PROTECTED] ~ sudo gvinum lp -r local.p1
P local.p1C State: up   Subdisks: 0 Size:  0  B
[EMAIL PROTECTED] ~ ls -ld /dev/ad6*
crw-r-  1 root  operator4,  12 Aug 14 16:55 /dev/ad6
[EMAIL PROTECTED] ~ sudo fdisk ad6
*** Working on device /dev/ad6 ***
parameters extracted from in-core disklabel are:
cylinders=155009 heads=16 sectors/track=63 (1008 blks/cyl)

Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=155009 heads=16 sectors/track=63 (1008 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:
sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
start 63, size 156249009 (76293 Meg), flag 81
beg: cyl 0/ head 1/ sector 1;
end: cyl 384/ head 15/ sector 63
The data for partition 2 is:
UNUSED
The data for partition 3 is:
UNUSED
The data for partition 4 is:
UNUSED
[EMAIL PROTECTED] ~ sudo disklabel ad6s1
disklabel: /dev/ad6s1: No such file or directory


pgpLrZJz1ErfJ.pgp
Description: PGP signature


Re: 6.0 BETA1 hangs at boot (ahd(4) broken ??)

2005-08-15 Thread Scot Hetzel
On 8/15/05, Marian Hettwer [EMAIL PROTECTED] wrote:
 Hi All,
 
 Don't know wether problems with 6.0 BETA1 belong to freebsd-current@ or
 freebsd-stable, so if I'm wrong, sorry in advance.
 
 I'm about to test FreeBSD 6.0 BETA1 on my Dell Precision 720
 Workstation. Just thought I'd help with testing :)
 I downloaded the 6.0 BETA1 bootonly iso and tried booting.
 The box worked with only minor problems under RELENG_5.
 The kernel of 6.0BETA1 doesn't boot.
 Since I don't have serial access, I try to transcribe what I can see on
 my screen, so hopefully there ain't to much typo's ...
 
 It's a hard hang, I can't even enable scroll lock to scroll up, so here
 we go with the last lines visible from a boot -v:
 

 Since the SCSI controller (some kind of) worked before, I'd really like
 to know what had happened and why it doesn't work anymore ...
 I can help testing, since this machine is a testing machine only :-)
 
Try 6.0 BETA2 and see if you have similar problems.

-- 
DISCLAIMER:
No electrons were mamed while sending this message. Only slightly bruised.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Create 2.5TB file system on 5.4S?

2005-08-15 Thread Dan Rue
On Sun, Aug 14, 2005 at 02:04:43PM -0700, Brandon Fosdick wrote:
 Now that my shiny new 9500S is installed and not fighting for IRQs, I've 
 created and initialized a ~2.5TB array using the bios utility. So the next 
 step is mounting the new array. 
 I naively tried following the regular handbook instructions for adding a 
 new drive and failed miserably. And after googling a bit I now know why, 
 and realized that I knew why before, but I was being stupid. 
 I've seen a few mentions of using gpt(8) and some vague references to using 
 dedicated mode. But I haven't seen anything that says this is the Right 
 Way to do it. So...what's the proper way to make a large file system? 

Hi Brandon, 

I recently dealt with the same controller, with a 3TB array.  My
solution is tons easier than dealing with gpt or breaking it up.  So
long as you don't need to boot from the raid, and you just want it as
one big disk, forget partitioning it.  newfs the device directly, and
mount it directly.  

[EMAIL PROTECTED]:~$ df -h
...
/dev/da0   2.6T182G2.3T 7%/d

I just did a newfs on /dev/da0 and mounted it.  Works /great/.  No fuss.  

Dan

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


Re: 6.0 BETA1 hangs at boot (ahd(4) broken ??)

2005-08-15 Thread Marian Hettwer

Hej Scot,

Scot Hetzel wrote:

On 8/15/05, Marian Hettwer [EMAIL PROTECTED] wrote:



Since the SCSI controller (some kind of) worked before, I'd really like
to know what had happened and why it doesn't work anymore ...
I can help testing, since this machine is a testing machine only :-)



Try 6.0 BETA2 and see if you have similar problems.


exactly the same problems and the same hard-hang.
Unluckily, the bootonly.iso doesn't seem to support a serial console... 
or does it ?!

I do have a serial nullmodem cable now...

hm... damn hard hang. And I have no clue why. It worked back in 5.4

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


Re: 6.0 BETA1 hangs at boot (ahd(4) broken ??)

2005-08-15 Thread Scot Hetzel
On 8/15/05, Marian Hettwer [EMAIL PROTECTED] wrote:
 Scot Hetzel wrote:
  Try 6.0 BETA2 and see if you have similar problems.
 
 exactly the same problems and the same hard-hang.
 Unluckily, the bootonly.iso doesn't seem to support a serial console...
 or does it ?!
 I do have a serial nullmodem cable now...
 
 hm... damn hard hang. And I have no clue why. It worked back in 5.4
 
The only thing I can think of right now is for you to do a binary
search of the sources between your Jun 7th 6-CURRENT and 6-BETA1 to
find out when this broke the kernel for you.  Make sure to backup the
working kernel, just incase a kernel fails to boot.

NOTE: 6-CURRENT became RELENG_6 on Thu Jun 16 18:16:12 2005 UTC. So
you will need to change the CVS tag to RELENG_6 after this date/time.

-- 
DISCLAIMER:
No electrons were mamed while sending this message. Only slightly bruised.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Create 2.5TB file system on 5.4S?

2005-08-15 Thread Brandon Fosdick
 I recently dealt with the same controller, with a 3TB array.  My
 solution is tons easier than dealing with gpt or breaking it up.  So
 long as you don't need to boot from the raid, and you just want it as
 one big disk, forget partitioning it.  newfs the device directly, and
 mount it directly.

 [EMAIL PROTECTED]:~$ df -h
 ...
 /dev/da0   2.6T182G2.3T 7%/d

 I just did a newfs on /dev/da0 and mounted it.  Works /great/.  No fuss.

Did you just newfs /dev/da0? I think I tried that already without
success, something about a bad superblock. I'll try it again tonight just
to make sure.

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


Re: Create 2.5TB file system on 5.4S?

2005-08-15 Thread Dan Rue
On Mon, Aug 15, 2005 at 10:58:36AM -0700, Brandon Fosdick wrote:
  I recently dealt with the same controller, with a 3TB array.  My
  solution is tons easier than dealing with gpt or breaking it up.  So
  long as you don't need to boot from the raid, and you just want it as
  one big disk, forget partitioning it.  newfs the device directly, and
  mount it directly.
 
  [EMAIL PROTECTED]:~$ df -h
  ...
  /dev/da0   2.6T182G2.3T 7%/d
 
  I just did a newfs on /dev/da0 and mounted it.  Works /great/.  No fuss.
 
 Did you just newfs /dev/da0? I think I tried that already without
 success, something about a bad superblock. I'll try it again tonight just
 to make sure.

Reviewing my notes (actually, my irc logs), i believe i did just do a
newfs /dev/da0.  I found this thread to be useful, and this message in
particular: 

http://lists.freebsd.org/pipermail/freebsd-questions/2005-April/084557.html

Though, I didn't find the dd and disklabel steps necessary.

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


DELL SC430 ahd0: Adaptec 39320A Ultra320 SCSI adapter

2005-08-15 Thread Hutterer Robert
My dell Sc430 Server with Freebsd 5.4 gives soon after a reboot and minimal 
harddisk actions (erase a file or directory) strange messages concerning 
Adaptec SCSI adapter:



ahd0: Recovery Initiated - Card was not paused

Dump Card State Begins 

ahd0: Dumping Card State at program address 0x1c Mode 0x33
INTSTAT[0x0] SELOID[0x0] SELID[0x0] HS_MAILBOX[0x0]
INTCTL[0x80]:(SWTMINTMASK) SEQINTSTAT[0x0] SAVED_MODE[0x11]
DFFSTAT[0x33]:(CURRFIFO_NONE|FIFO0FREE|FIFO1FREE)
SCSISIGI[0x27]:(P_DATAOUT_DT|ACKI|REQI|BSYI) SCSIPHASE[0x0]
SCSIBUS[0xc6] LASTPHASE[0x1]:(P_DATAOUT|P_BUSFREE)
SCSISEQ0[0x40]:(ENSELO) SCSISEQ1[0x12]:(ENAUTOATNP|ENRSELI)
SEQCTL0[0x0] SEQINTCTL[0x0] SEQ_FLAGS[0x0] SEQ_FLAGS2[0x0]
QFREEZE_COUNT[0x2] KERNEL_QFREEZE_COUNT[0x2] MK_MESSAGE_SCB[0xff00]
MK_MESSAGE_SCSIID[0xff] SSTAT0[0x10]:(SELINGO) SSTAT1[0x8]:(BUSFREE)
SSTAT2[0x0] SSTAT3[0x0] PERRDIAG[0x0] 
SIMODE1[0xa4]:(ENSCSIPERR|ENSCSIRST|ENSELTIMO)

LQISTAT0[0x0] LQISTAT1[0x0] LQISTAT2[0x80]:(PACKETIZED)
LQOSTAT0[0x0] LQOSTAT1[0x0] LQOSTAT2[0xc0]





Files with a dmesg -a and all the messages in files includes.

Is there any idea to fix this problem

Thanks Robert

ahd0: Adaptec 39320A Ultra320 SCSI adapter port 0xd400-0xd4ff,0xd000-0xd0ff 
mem 0xef9bc000-0xef9bdfff irq 18 at device 2.0 on pci5




server# dmesg -a
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 5.4-STABLE #0: Sun Aug 14 07:25:04 CEST 2005
   [EMAIL PROTECTED]:/usr/obj/usr/src/sys/DCORE-SMP
ACPI APIC Table: DELL   PESC430
Timecounter i8254 frequency 1193182 Hz quality 0
CPU: Intel(R) Pentium(R) D CPU 3.20GHz (3192.10-MHz 686-class CPU)
 Origin = GenuineIntel  Id = 0xf44  Stepping = 4
 
Features=0xbfebfbffFPU,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,PBE
 Hyperthreading: 2 logical CPUs
real memory  = 2145959936 (2046 MB)
avail memory = 2094522368 (1997 MB)
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
cpu0 (BSP): APIC ID:  0
cpu1 (AP): APIC ID:  1
ioapic0: Changing APIC ID to 8
ioapic0 Version 2.0 irqs 0-23 on motherboard
lapic0: Forcing LINT1 to edge trigger
npx0: math processor on motherboard
npx0: INT 16 interface
acpi0: DELL PESC430 on motherboard
acpi0: Power Button (fixed)
Timecounter ACPI-fast frequency 3579545 Hz quality 1000
acpi_timer0: 24-bit timer at 3.579545MHz port 0x808-0x80b on acpi0
cpu0: ACPI CPU on acpi0
cpu1: ACPI CPU on acpi0
acpi_button0: Power Button on acpi0
pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0
pci0: ACPI PCI bus on pcib0
pcib1: ACPI PCI-PCI bridge irq 16 at device 1.0 on pci0
pci1: ACPI PCI bus on pcib1
pcib2: ACPI PCI-PCI bridge irq 16 at device 28.0 on pci0
pci2: ACPI PCI bus on pcib2
pcib3: ACPI PCI-PCI bridge irq 16 at device 28.4 on pci0
pci3: ACPI PCI bus on pcib3
bge0: Broadcom BCM5721 Gigabit Ethernet, ASIC rev. 0x4101 mem 
0xefcf-0xefcf irq 16 at device 0.0 on pci3
miibus0: MII bus on bge0
brgphy0: BCM5750 10/100/1000baseTX PHY on miibus0
brgphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, 
1000baseTX-FDX, auto
bge0: Ethernet address: 00:10:18:0a:fc:c0
pcib4: ACPI PCI-PCI bridge irq 17 at device 28.5 on pci0
pci4: ACPI PCI bus on pcib4
bge1: Broadcom BCM5751 Gigabit Ethernet, ASIC rev. 0x4001 mem 
0xefbf-0xefbf irq 17 at device 0.0 on pci4
miibus1: MII bus on bge1
brgphy1: BCM5750 10/100/1000baseTX PHY on miibus1
brgphy1:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, 
1000baseTX-FDX, auto
bge1: Ethernet address: 00:12:3f:73:59:f5
uhci0: UHCI (generic) USB controller port 0xff80-0xff9f irq 21 at device 29.0 
on pci0
usb0: UHCI (generic) USB controller 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: UHCI (generic) USB controller port 0xff60-0xff7f irq 22 at device 29.1 
on pci0
usb1: UHCI (generic) USB controller 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: UHCI (generic) USB controller port 0xff40-0xff5f irq 18 at device 29.2 
on pci0
usb2: UHCI (generic) USB controller 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: UHCI (generic) USB controller port 0xff20-0xff3f irq 23 at device 29.3 
on pci0
usb3: UHCI (generic) USB controller 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
pci0: serial bus, USB at device 29.7 (no driver attached)
pcib5: ACPI PCI-PCI bridge at device 30.0 on pci0
pci5: ACPI PCI bus on pcib5
ahd0: Adaptec 39320A Ultra320 SCSI adapter port 0xd400-0xd4ff,0xd000-0xd0ff 
mem 0xef9bc000-0xef9bdfff irq 18 at device 2.0 on pci5
aic7902: Ultra320 Wide 

Re: Memory requirements between releases

2005-08-15 Thread Chris

Chris wrote:
Thanks for all replies and suggestions. sounds like I can give 6 a try. 
I can move the hd to a bigger machine for installing and compiling.




...except that pcic and card have been removed from -current :( so it's 
back to 5.4R


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


6.0, installworld: libcom_err_p.a: No such file or directory

2005-08-15 Thread Boris Samorodov
Hi!


Just a couple of hours cvsupped 6.0-CURRENT (from end of july 2005) to
RELENG_6. Makeworld, kernel was fine, but at the beginning of
installworld i've got:

-
=== lib/csu/i386-elf (install)
install -C -o root -g wheel  -m 444 crt1.o crti.o crtn.o gcrt1.o /usr/lib
=== lib/libcom_err (install)
install -C -C -o root -g wheel -m 444   libcom_err.a /usr/lib
install -C -C -o root -g wheel -m 444   libcom_err_p.a /usr/lib
install: libcom_err_p.a: No such file or directory
*** Error code 71

Stop in /usr/src/lib/libcom_err.
*** Error code 1
-

Any ideas?


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


Re: Create 2.5TB file system on 5.4S?

2005-08-15 Thread Mark Linimon
On Mon, Aug 15, 2005 at 11:13:29AM -0700, dpk wrote:
 The most recent general data available appears to be at:
 
 http://www.freebsd.org/projects/bigdisk/

With my bugmeister hat on, I will note that I have tried to flag PRs
about this issue with the tag '[2T]' and I would encourage anyone filing
PRs about this issue to follow suit.

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


Re: 6.0, installworld: libcom_err_p.a: No such file or directory

2005-08-15 Thread Kris Kennaway
On Tue, Aug 16, 2005 at 12:32:02AM +0400, Boris Samorodov wrote:
 Hi!
 
 
 Just a couple of hours cvsupped 6.0-CURRENT (from end of july 2005) to
 RELENG_6. Makeworld, kernel was fine, but at the beginning of
 installworld i've got:
 
 -
 === lib/csu/i386-elf (install)
 install -C -o root -g wheel  -m 444 crt1.o crti.o crtn.o gcrt1.o /usr/lib
 === lib/libcom_err (install)
 install -C -C -o root -g wheel -m 444   libcom_err.a /usr/lib
 install -C -C -o root -g wheel -m 444   libcom_err_p.a /usr/lib
 install: libcom_err_p.a: No such file or directory
 *** Error code 71
 
 Stop in /usr/src/lib/libcom_err.
 *** Error code 1
 -
 
 Any ideas?

Did you make buildworld with different settings than your
installworld?  e.g. with NO_PROFILE=foo in your /etc/make.conf and
then removed it before installworld?

kris



pgpAR7mnqInH2.pgp
Description: PGP signature


Re: 6.0, installworld: libcom_err_p.a: No such file or directory

2005-08-15 Thread Boris Samorodov
On Mon, 15 Aug 2005 16:40:39 -0400 Kris Kennaway wrote:

 On Tue, Aug 16, 2005 at 12:32:02AM +0400, Boris Samorodov wrote:
  Hi!
  
  
  Just a couple of hours cvsupped 6.0-CURRENT (from end of july 2005) to
  RELENG_6. Makeworld, kernel was fine, but at the beginning of
  installworld i've got:
  
  -
  === lib/csu/i386-elf (install)
  install -C -o root -g wheel  -m 444 crt1.o crti.o crtn.o gcrt1.o /usr/lib
  === lib/libcom_err (install)
  install -C -C -o root -g wheel -m 444   libcom_err.a /usr/lib
  install -C -C -o root -g wheel -m 444   libcom_err_p.a /usr/lib
  install: libcom_err_p.a: No such file or directory
  *** Error code 71
  
  Stop in /usr/src/lib/libcom_err.
  *** Error code 1
  -
  
  Any ideas?

 Did you make buildworld with different settings than your
 installworld?  e.g. with NO_PROFILE=foo in your /etc/make.conf and
 then removed it before installworld?

Seems, no. Because I didn't touch make.conf since June:

# ls -l /etc/make.conf 
-rw-r--r--  1 root  wheel  13755 11 jun 22:20 /etc/make.conf

...and used buildworld and installworld without any parameters.

Thank you,
 kris


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


Re: 6.0, installworld: libcom_err_p.a: No such file or directory

2005-08-15 Thread Boris Samorodov
On Mon, 15 Aug 2005 16:40:39 -0400 Kris Kennaway wrote:

 On Tue, Aug 16, 2005 at 12:32:02AM +0400, Boris Samorodov wrote:
  Hi!
  
  
  Just a couple of hours cvsupped 6.0-CURRENT (from end of july 2005) to
  RELENG_6. Makeworld, kernel was fine, but at the beginning of
  installworld i've got:
  
  -
  === lib/csu/i386-elf (install)
  install -C -o root -g wheel  -m 444 crt1.o crti.o crtn.o gcrt1.o /usr/lib
  === lib/libcom_err (install)
  install -C -C -o root -g wheel -m 444   libcom_err.a /usr/lib
  install -C -C -o root -g wheel -m 444   libcom_err_p.a /usr/lib
  install: libcom_err_p.a: No such file or directory
  *** Error code 71
  
  Stop in /usr/src/lib/libcom_err.
  *** Error code 1
  -
  
  Any ideas?

 Did you make buildworld with different settings than your
 installworld?  e.g. with NO_PROFILE=foo in your /etc/make.conf and
 then removed it before installworld?

Gr-r-r! Sorry, make _buildworld_ ended WITH errors, I looked at the
wrong file-log. Here is the error log:
-
=== sys/modules/procfs (depend)
@ - /usr/src/sys
machine - /usr/src/sys/i386/include
awk -f @/tools/vnode_if.awk @/kern/vnode_if.src -p
awk -f @/tools/vnode_if.awk @/kern/vnode_if.src -q
awk -f @/tools/vnode_if.awk @/kern/vnode_if.src -h
rm -f .depend
mkdep -f .depend -a   -nostdinc -D_KERNEL -DKLD_MODULE -I- -I. -I@ 
-I@/contrib/altq -I@/../include -I/usr/obj/usr/src/tmp/usr/include 
/usr/src/sys/modules/procfs/../../fs/procfs/procfs_ctl.c 
/usr/src/sys/modules/procfs/../../fs/procfs/procfs_dbregs.c 
/usr/src/sys/modules/procfs/../../fs/procfs/procfs_fpregs.c 
/usr/src/sys/modules/procfs/../../fs/procfs/procfs_ioctl.c 
/usr/src/sys/modules/procfs/../../fs/procfs/procfs_map.c 
/usr/src/sys/modules/procfs/../../fs/procfs/procfs_mem.c 
/usr/src/sys/modules/procfs/../../fs/procfs/procfs_note.c 
/usr/src/sys/modules/procfs/../../fs/procfs/procfs_regs.c 
/usr/src/sys/modules/procfs/../../fs/procfs/procfs_rlimit.c 
/usr/src/sys/modules/procfs/../../fs/procfs/procfs_status.c 
/usr/src/sys/modules/procfs/../../fs/procfs/procfs_type.c 
/usr/src/sys/modules/procfs/../../fs/procfs/procfs.c
/usr/src/sys/modules/procfs/../../fs/procfs/procfs_dbregs.c:46:24: 
opt_compat.h: No such file or directory
/usr/src/sys/modules/procfs/../../fs/procfs/procfs_fpregs.c:40:24: 
opt_compat.h: No such file or directory
/usr/src/sys/modules/procfs/../../fs/procfs/procfs_ioctl.c:31:24: opt_compat.h: 
No such file or directory
/usr/src/sys/modules/procfs/../../fs/procfs/procfs_map.c:38:24: opt_compat.h: 
No such file or directory
/usr/src/sys/modules/procfs/../../fs/procfs/procfs_regs.c:40:24: opt_compat.h: 
No such file or directory
mkdep: compile failed
*** Error code 1

Stop in /usr/src/sys/modules/procfs.
*** Error code 1
-

 kris


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


Re: Create 2.5TB file system on 5.4S?

2005-08-15 Thread Brandon Fosdick

Mikael Krantz wrote:

I had the same problem with 8x400 disk on a areca hardware sata card in
fbsd 5.4-stable. Soo I just did newfs -m 2 -U -O 2 -i 262144 /dev/da0
with those options as I needed as much space as possible.


Ok, so that appears to have worked. Is there any benefit to doing this? Or 
using gpt? Any downsides? Which method will produce the fewest problems long 
term?
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Create 2.5TB file system on 5.4S?

2005-08-15 Thread Brandon Fosdick

dpk wrote:

Whatever you end up doing (we used auto-carving here, had to
unfortunately) be sure to test the partitions fully before proceeding.


Any suggestions? Are there specialized raid test suites or should I just write 
a script that writes/deletes a lot of files?
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Create 2.5TB file system on 5.4S?

2005-08-15 Thread dpk
On Mon, 15 Aug 2005, Brandon Fosdick wrote:

 Any suggestions? Are there specialized raid test suites or should I just
 write a script that writes/deletes a lot of files?

That's what I did -- lots of dds running with high block sizes, filling
the partition, then forcing an unclean flag (umount, run 'fsck /dev/da0',
^C it before it's done) and rebooting. Roughly trying to reproduce what
the array would go through under normal circumstances (while not having
the clean flag is not normal, it would be pretty awful to lose
significant data because of a panic or power loss).

I still don't entirely trust the system after seeing what I saw in PR
i386/84589 (I have not yet seen the UFS2 problems I alluded to in that PR)
but we're at about 38% full on the two carved partitions (3 months of
data, doh! :)) and it hasn't crashed yet.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: firefox, Xorg and crash.

2005-08-15 Thread Pete Slagle

Firefox keeps taking X11 and then the whole machine with it.  It
requires a hard reset as even pinging the machine does not work.  Only
Firefox seems to be doing this. 
Does anyone else have the same problem? 
Anyone knows how to solve/debug this?


In my case the problem was solved by uninstalling all of Firefox'x
extensions.  Firefox, by itself, hasn't caused any trouble.  I don't
miss the extensions much, so I haven't gone back to figure out which one 
was the culprit.


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


Re: firefox, Xorg and crash.

2005-08-15 Thread Brandon Fosdick

Firefox keeps taking X11 and then the whole machine with it.  It
requires a hard reset as even pinging the machine does not work.  Only
Firefox seems to be doing this.

Does anyone else have the same problem?

Anyone knows how to solve/debug this?


I've been having this problem for about a month now. The machine doesn't
always lock up completely. The times when I can login remotely top shows
Xorg using the 97-98% cpu time. Killing Xorg drops to the console, but its
still unresponsive and I have to reboot. Once or twice this has happened
without firefox running so I'm thinking it might be an Xorg problem.

I've also noticed that sometimes shortly before the lock up fonts start
being replaced with red boxes when a window is refreshed. I've tried
new/more RAM but that didn't seem to help.

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


Re: Create 2.5TB file system on 5.4S?

2005-08-15 Thread Chuck Swiger

Brandon Fosdick wrote:

Erik Stian Tefre wrote:
You can avoid the problem by splitting the array up in partitions 
smaller than
2TB each. (I know this does not answer your question, but it 
simplifies things,

and it works for me(TM)... :-)


:) Thanks, but I thought of that already. This is going to be a big 
database server and I don't want to have to deal with splitting the 
database across two partitions.


If it's going to be a big database server, why aren't you using all of those 
drive spindles to help break up the I/O load?  :-)


Ask almost any Oracle or Sybase DB guru, and they'll ask for at least six disks 
as three RAID-1 mirrors as a basic configuration, and would prefer 8 or 10 to 
also hold the OS and the rollback logs on additional volumes.  Blah, I tried to 
point to some Oracle docs, but they're behind a registration-required section.


At the very least, you want to have your tablespace and your logs on seperate 
spindles, ie, for a minimal config beyond just a single disk, you'd put the 
boot volume and logs together, and have a second disk or RAID volume for your 
main tablespace.


About the worst thing you could do to a database is put all of your disks into 
one single RAID-5 volume.  (Unless your database will be read-only.)


--
-Chuck

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


Re: Create 2.5TB file system on 5.4S?

2005-08-15 Thread Brandon Fosdick

Chuck Swiger wrote:
If it's going to be a big database server, why aren't you using all of 
those drive spindles to help break up the I/O load?  :-)


I have other drives for other things, but I still end up with a single large 
volume. Thanks for the suggestion.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: firefox, Xorg and crash.

2005-08-15 Thread Vladimir Botka
It seems like a HW problem. I would run a memory test, check the 
temperature, slowdown bios memory timing. Cheers, Vladimir.


On Mon, 15 Aug 2005, Brandon Fosdick wrote:


Firefox keeps taking X11 and then the whole machine with it.  It
requires a hard reset as even pinging the machine does not work.  Only
Firefox seems to be doing this.

Does anyone else have the same problem?

Anyone knows how to solve/debug this?


I've been having this problem for about a month now. The machine doesn't
always lock up completely. The times when I can login remotely top shows
Xorg using the 97-98% cpu time. Killing Xorg drops to the console, but its
still unresponsive and I have to reboot. Once or twice this has happened
without firefox running so I'm thinking it might be an Xorg problem.

I've also noticed that sometimes shortly before the lock up fonts start
being replaced with red boxes when a window is refreshed. I've tried
new/more RAM but that didn't seem to help.

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



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