SATA RAID Problems

2008-01-06 Thread Stefan Aeschbacher
Hi

I just bought a new Server (a Fujitsu Siemens PRIMERGY Econel 100)
with 2 x 160GB disks (ad4 and ad6) and added a 1TB disk (ad8).
Configuring the two 160GB disks ar a RAID1 in the LSI MegaRAID utility
works without problems, but when I boot FreeBSD (FreeSBIE 2.0.1 or a
bootable 7.0 RC1), the RAID consist of ad4 and ad8 (see dmesg below).
I tried to delete the RAID configuration from the disks (I never
configured the 1TB disk into the RAID in the first place) via LSI
utility, atacontrol delte and dd'ing the head of the disk from
/dev/zero but nothing worked. When I unplug ad8, the RAID is displayed
as consisting of ad4 and ad6 as expected.
When I change the SATA Controller from RAID to Native, atacontrol
displays the correct drives (ad4 and ad6) to belong to ar0.

Furthermore, the througput rate of the disks is very meager, ad4 and
ad6 make around 5MB/s, ad8 only 0.5MB/s.

any ideas?


thanks

Stefan



dmesg from FreeSBIE with all 3 disks attached.

Copyright (c) 1992-2007 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 is a registered trademark of The FreeBSD Foundation.
FreeBSD 6.2-RELEASE #11: Wed Feb  7 16:52:42 UTC 2007
[EMAIL PROTECTED]:/usr/obj.gmv-i386/usr/src/sys/FREESBIE
ACPI APIC Table: FSCAPIC  
Timecounter i8254 frequency 1193182 Hz quality 0
CPU: Intel(R) Pentium(R) D CPU 3.40GHz (3400.15-MHz 686-class CPU)
  Origin = GenuineIntel  Id = 0xf65  Stepping = 5
  
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
  Features2=0xe49dSSE3,RSVD2,MON,DS_CPL,EST,CNTX-ID,CX16,b14,b15
  AMD Features=0x2010NX,LM
  AMD Features2=0x1LAHF
  Cores per package: 2
real memory  = 1072562176 (1022 MB)
avail memory = 1040560128 (992 MB)
ioapic0 Version 2.0 irqs 0-23 on motherboard
kbd1 at kbdmux0
ath_hal: 0.9.17.2 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
acpi0: PTLTDXSDT on motherboard
acpi_bus_number: can't get _ADR
acpi_bus_number: can't get _ADR
acpi0: Power Button (fixed)
acpi_bus_number: can't get _ADR
acpi_bus_number: can't get _ADR
acpi_bus_number: can't get _ADR
acpi_bus_number: can't get _ADR
Timecounter ACPI-fast frequency 3579545 Hz quality 1000
acpi_timer0: 24-bit timer at 3.579545MHz port 0xf008-0xf00b on acpi0
cpu0: 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 17 at device 28.0 on pci0
pci4: ACPI PCI bus on pcib1
pcib2: ACPI PCI-PCI bridge irq 17 at device 28.4 on pci0
pci7: ACPI PCI bus on pcib2
bge0: Broadcom BCM5750 A1, ASIC rev. 0x4001 mem
0xfc10-0xfc10 irq 16 at device 0.0 on pci7
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:19:99:1b:02:e7
pcib3: ACPI PCI-PCI bridge irq 16 at device 28.5 on pci0
pci8: ACPI PCI bus on pcib3
uhci0: UHCI (generic) USB controller port 0x2000-0x201f irq 23 at
device 29.0 on pci0
uhci0: [GIANT-LOCKED]
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 0x2400-0x241f irq 22 at
device 29.1 on pci0
uhci1: [GIANT-LOCKED]
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 0x2800-0x281f irq 21 at
device 29.2 on pci0
uhci2: [GIANT-LOCKED]
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 0x2c00-0x2c1f irq 20 at
device 29.3 on pci0
uhci3: [GIANT-LOCKED]
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
ehci0: Intel 82801GB/R (ICH7) USB 2.0 controller mem
0xfc00-0xfc0003ff irq 23 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: Intel 82801GB/R (ICH7) 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: ACPI PCI-PCI bridge at device 30.0 on pci0
pci11: ACPI PCI bus on pcib4
pci11: display, VGA at device 3.0 (no driver attached)
isab0: PCI-ISA bridge at device 31.0 on pci0
isa0: ISA bus on isab0
atapci0: Intel ICH7 UDMA100 controller port
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x3420-0x342f at device 31.1 on
pci0
ata0: ATA channel 0 on 

Re: 2 interfaces on one machine

2000-11-17 Thread Stefan Aeschbacher

Hi
the problem is, that you have the same subnet (indicated by the netmask)
on two interfaces. The best solution to the problem is taking two 
different subnets, e.g. 192.168.0.0 netmask 255.255.255.0 on lo0 
and 192.168.1.0 netmask 255.255.255.0 on fxp0. It is also possible
to use the 192.168.0 net for both interfaces but the you have to
set up something like this: 192.168.0.0 netmask 255.255.255.128
on lo0 and 192.168.0.128 netmask 255.255.255.128 on fxp0 (so you have
ip 192.168.0.0-127 on lo0 and 192.168.128-255 on fxp0)

Stefan

Kaltashkin Eugene wrote:
 
 Hello.
 
 i have 2 interface netcard on one computer.
 This card have ip numbers from one net , eq 192.168.0.1 and 192.168.0.2
 i see in log files message
 arp 192.168.0.2 is on lo0 but got reply from xx:xx:xx:xx on fxp0 ?
 
 what is it ?
 
 Best Regards.
 Zhecka.
 --
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with "unsubscribe freebsd-hackers" in the body of the message


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



Re: 2 interfaces on one machine

2000-11-17 Thread Stefan Aeschbacher

i don't know if i understand exactly what you want but the following
setup could work:

lo0 has ip-address 192.168.0.1 and netmask 255.255.255.128
the computers connected to this interface can have the ip-addresses:
192.168.0.2-192.168.0.126 
(broadcast ip for this subnet is 192.168.0.127)

fxp0 has ip-address 192.168.0.129 and netmask 255.255.255.128
the computers connected to this interface can have the ip-addresses:
192.168.0.130-192.168.0.255
(broadcast ip for this subnet is 192.168.0.256)

Kaltashkin Eugene wrote:

[snip] 
 hm
 I want to divide(share) transfer of the information into 2 interfaces.
 some adresses i can place as alias for lo0 but i want use 2 real adresses on
 one network in 2 interfaces.
 I have only one net and cannot use Ip address from other nets :(
 
 Best Regards.
 Zhecka.
 
 --


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



hardware problem?

2000-11-07 Thread Stefan Aeschbacher

Hi
I have a machine which behaves very weird. It runs 4.0-stable built
in June. Recently i made a cvsupdate followed by a buildworld.
Both worked. Due to lack of time (and access to the machine for
installing in single user mode), I did not install anything.
Today I tried to compile something and the compiler crashes
with the following message:

cc: Internal compiler error: program ld got fatal signal 11

this error happens during each compilation but it does not 
happen at the same location in the source code each run.
furthermore, some daemons tend to segfault extremely often.

I had the same problems some time ago and thought it is
caused by kernel and world being out of sinc (I was not
very careful when updating at this time) but this should
not be the case now.
Any propositions on how to debug this thing?
Could it be a hardware problem?

Stefan Aeschbacher


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



jail network problems

2000-10-29 Thread Stefan Aeschbacher

Hi
I am running 4.1-stable updated ca 22.10.00.
I set up a jail, started it but I have no network at all.
I made an alias for the used IP address, I ran /etc/rc
with the following output:
Skipping disk checks ...
dmesg: short read
dmesg: kvm_read: 
Doing initial network setup:.
Additional routing options: tcp extensions=NOsysctl:
net.inet.tcp.rfc1323: Operation not permitted
 TCP keepalive=YESsysctl: net.inet.tcp.always_keepalive: Operation not
permitted
.
routing daemons:.
additional daemons: syslogdsyslogd: child pid 25355 exited with return
code 1
.
Doing additional network setup:.
Starting final network daemons:.
setting ELF ldconfig path: /usr/lib /usr/lib/compat
setting a.out ldconfig path: /usr/lib/aout /usr/lib/compat/aout
starting standard daemons: inetd cron sendmail.
Initial rc.i386 initialization:.
rc.i386 configuring syscons: blank_time/etc/rc.i386: cannot open
/dev/ttyv0: no such file
.
additional ABI support:.
Local package initialization:.
Additional TCP options:.
Sun Oct 29 14:05:55 GMT 2000

resulting in the following ps aux:

USER   PID %CPU %MEM   VSZ  RSS  TT  STAT STARTED  TIME COMMAND
root 24510  0.0  1.5  1332  908 #C1  SJ1:54PM   0:00.28 /bin/tcsh
root 25226  0.0  1.0   912  608  ??  IsJ   2:02PM   0:00.02 syslogd -s
root 25245  0.0  1.2  1032  760  ??  IsJ   2:02PM   0:00.04 inetd -wW
root 25247  0.0  1.1   952  696  ??  IsJ   2:02PM   0:00.02 cron
root 25250  0.0  2.2  1536 1356  ??  IsJ   2:02PM   0:00.02 sendmail:
accepting
root 25280  0.0  0.4   392  240 #C1  R+J   2:02PM   0:00.00 ps aux

ping doesnt work from within the jail (I assume this is normal)
jail# telnet localhost - doesnt work
jail# telnet some address - doesnt work
some host# telnet jail - doesnt work
some host# ping jail - doesnt work (should it?)

any hint?

Stefan Aeschbacher


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