Re: Can FreeBSD 5.3R support the RAID card MegaRAID SCSI 320-2E card?

2005-03-06 Thread Aristedes Maniatis
On 05/03/2005, at 7:00 PM, Doug White wrote:
The amr(4) manpage in -CURRENT lists the 320 variants, the -2E
specifically (is that a PCI Express version?).  We have a amr(4)  
driver
update coming in shortly to -CURRENT and then RELENG_5; keep an eye out
for that and test it if you can.
* will that update make it into 5.4?
* what is the nature of the update? Is it primarily for bug fixes or 
performance improvements? Is it an important update for someone running 
a production machine with amr (like us) on 5.3?

Cheers
Ari

--
ish group pty ltd
http://www.ish.com.au
7 Darghan St Glebe 2037 Australia
phone +61 2 9660 1400   fax +61 2 9660 7400
PGP fingerprint 08 57 20 4B 80 69 59 E2  A9 BF 2D 48 C2 20 0C C8
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


CPUTYPE=pentium-m

2005-03-06 Thread Eugenio
i have read that were some problems compiling the kernel and the loader 
with pentium-m in CPUTYPE. are they fixed now? or, if not yet, is it 
safe to compile the world with that switch on (and downgrade to 
something else - pentium3? - for kernelloader) ?
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Need really cheap IDE mirroring PCI controlled for FreebBSD 4.10

2005-03-06 Thread Emanuel Strobl
Am Samstag, 5. März 2005 02:06 schrieb David Magda:
 On Mar 3, 2005, at 19:20, Emanuel Strobl wrote:
  If you consider upgrading to 5.4 you can use any onboard chipset or
  cheap
  controller card with some geomclasses, namely g_mirror. It's fantastic
  and
  the only stateful mirror solution I know. And you can mirror only
  parts of
  your disk, or mirror across 3 drives aso. The power of geom :)

 This can be done with 4.x. From atacontrol(8):

   create   Create a type ATA RAID.  The type can be RAID0 (stripe),
 RAID1

This is not stateful! Nor does it allow to mirror parts of the disk 
(labels/GPT partitions). Also I can't imagen how to mirror across more then 
two disks.
You can't compare those and there are several cases where ata-builtin RAID 
support fails on different controllers.
Also you don't have the atacontrol addspare command on 4.x which makes its 
RAID1 function useless on anything but the promise controllers! And he was 
looking for cheap controllers which disqualifies the promise.

(mirror), RAID0+1 or SPAN (JBOD).  In case the RAID has a
 RAID0
[...]

 Vinum(8) is also available on 4.x.

But vinum isn't statful too. And vinum doesn't provide g_gate for example.

-Harry


pgpfAlrW8ji6P.pgp
Description: PGP signature


zebra 0.94 crash on amd64

2005-03-06 Thread Dmitry Morozovsky
Dear colleagues,

trying to set up new router I had stumbled with zebra (port built with standard 
options except CPUTYPE=athlon64) strange crashes:

zebra.conf:
-
hostname gwhx-zebra
password password
enable password password
log syslog
service password-encryption

-

after statring zebra, telnetting to its port, enabling and trying to show 
currect config zebra crashes:



(gdb) bt
#0  0x in ?? ()
#1  0x0021 in ?? ()
#2  0x004191f3 in config_write_terminal (self=0x535bb0, vty=0x546c00, 
argc=-6848, argv=0x800b88c38) at command.c:2434
#3  0x004186b6 in cmd_execute_command (vline=0x561ca0, vty=0x546c00, 
cmd=0x0) at command.c:1915
#4  0x004122af in vty_command (vty=0x546c00, buf=0x535bb0 \004) at 
vty.c:377
#5  0x00413781 in vty_execute (vty=0x546c00) at vty.c:1216
#6  0x00413bb1 in vty_read (thread=0x535bb0) at vty.c:1434
#7  0x0041cc6f in thread_call (thread=0x7fffe9d0) at thread.c:627
#8  0x004055f4 in main (argc=1, argv=0x7fffeb18) at main.c:312
(gdb) up 2
#2  0x004191f3 in config_write_terminal (self=0x535bb0, vty=0x546c00, 
argc=-6848, argv=0x800b88c38) at command.c:2434
2434if ((*node-func) (vty))
(gdb) l
2429  vty_out (vty, !%s, VTY_NEWLINE);
2430
2431  for (i = 0; i  vector_max (cmdvec); i++)
2432if ((node = vector_slot (cmdvec, i))  node-func)
2433  {
2434if ((*node-func) (vty))
2435  vty_out (vty, !%s, VTY_NEWLINE);
2436  }
2437  vty_out (vty, end%s,VTY_NEWLINE);
2438}

(gdb) p node
$1 = (struct cmd_node *) 0x1
(gdb) p node-func
Cannot access memory at address 0x19
(gdb) p i
$2 = 5532672
(gdb) p cmdvec
$3 = 0x543040
(gdb) p *cmdvec
$4 = {max = 35, alloced = 64, index = 0x546200}


I had tried to dig through the sources, but was a bit frightened ;-)

Any hints?

Sincerely,
D.Marck [DM5020, MCK-RIPE, DM3-RIPN]

*** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- [EMAIL PROTECTED] ***

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


fdc init fail with ACPI enabled

2005-03-06 Thread Igor Pokrovsky
Hi,

When building kernel with both acpica and fdc at boot time I'm getting:
fdc0: cannot reserve I/O port range
Without acpica compiled into kernel fdc detects perfectly fine.

fdc is defined in kernel config as follows (same as in GENERIC):
device  fdc0at isa? port IO_FD1 irq 6 drq 2
device  fd0 at fdc0 drive 0

Probably I should specify different port range for fdc...
In this case what range? Any ideas?

P.S. 4.11-STABLE i386 FreeBSD built on Sun Mar 6 18:38:35 MSK 2005.

-ip

-- 
After all is said and done, a hell of a lot more is said
than done
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: CPUTYPE=pentium-m

2005-03-06 Thread Bartosz Fabianowski
i have read that were some problems compiling the kernel and the
loader with pentium-m in CPUTYPE. are they fixed now?
I'm the one who filed the original bug report:
http://www.freebsd.org/cgi/query-pr.cgi?pr=75898
Since it hasn't been touched yet by anybody, my guess is that the problems 
persist. If you want to try for yourself, just recompile your kernel with 
CPUTYPE=pentium-m and see whether it boots or panics.
is it safe to compile the world with that switch on (and downgrade to
something else - pentium3? - for kernelloader) ?
I'd assume the answer to this one is yes - it's safe. Personally, I compile 
world and kernel as pentium3, but that's just out of laziness. As you can read 
in the bug report, the problem is that SSE2 instructions get used by the kernel 
and loader before they are enabled. Once the boot gets to the first userland 
programs, SSE2 is enabled so any world programs should run just fine when 
compiled as pentium-m.
- Bartosz
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


AMD64 Issue with russian symbols on FAT32

2005-03-06 Thread Seva Fwd
Hi, all

I have installed FreeBSD/amd64 from February 2005
snapshot (5.3-STABLE-SNAP001-amd64-miniinst.iso) and
have issues with Russian symbols support on FAT32
partitions.
I am using options -Lru_RU.KOI8-R,-Wkoi2dos in
/etc/fstab to turn support of Russian file names on.
If I mount partition without these options everithing
works well except Russian names are unavailable.
However, if I mount partition with these options it
does not help with Russian names, and even more
english names becomes abracadabra.
I think it is issue of amd64 (i.e. 64/32
incompatibility). I suspect iconv.
I am sure partitions itself are correct due to same
partitions (I mean same hdd and usd disks) are
operating well on i386 arch. And even a (Frenzy) Live
CD that is i386 arch works well on the same computer.

Here is outpu of dmesg
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.3-STABLE-SNAP001 #0: Sun Jan 30 03:45:41 UTC
2005
   
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC
ACPI APIC Table: A M I  OEMAPIC 
Timecounter i8254 frequency 1193182 Hz quality 0
CPU: AMD Athlon(tm) 64 Processor 3500+ (2202.83-MHz
K8-class CPU)
  Origin = AuthenticAMD  Id = 0x10ff0  Stepping = 0
 
Features=0x78bfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2
  AMD
Features=0xe2500800SYSCALL,NX,MMX+,b25,LM,3DNow+,3DNow
real memory  = 1073414144 (1023 MB)
avail memory = 1024745472 (977 MB)
MADT: Forcing active-low polarity and level trigger
for SCI
ioapic0 Version 0.3 irqs 0-23 on motherboard
acpi0: A M I OEMRSDT 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
pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on
acpi0
pci0: ACPI PCI bus on pcib0
pcib1: ACPI PCI-PCI bridge at device 1.0 on pci0
pci1: ACPI PCI bus on pcib1
pci1: display, VGA at device 0.0 (no driver
attached)
pci1: display at device 0.1 (no driver attached)
fwohci0: VIA Fire II (VT6306) port 0x8400-0x847f mem
0xfb30-0xfb3007ff irq 16 at device 7.0 on pci0
fwohci0: OHCI version 1.0 (ROM=1)
fwohci0: No. of Isochronous channels is 4.
fwohci0: EUI64 00:e0:18:00:00:bf:7c:39
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: 02:e0:18:bf:7c:39
fwe0: Ethernet address: 02:e0:18:bf:7c:39
fwe0: if_start running deferred for Giant
sbp0: SBP-2/SCSI over FireWire on firewire0
fwohci0: Initiate bus reset
fwohci0: node_id=0xc800ffc0, gen=1, CYCLEMASTER mode
firewire0: 1 nodes, maxhop = 0, cable IRM = 0 (me)
firewire0: bus manager 0 (me)
atapci0: Promise PDC20378 SATA150 controller port
0x8800-0x887f,0x9000-0x900f,0x9400-0x943f mem
0xfb40-0xfb41,0xfb50-0xfb500fff irq 18 at
device 8.0 on pci0
atapci0: failed: rid 0x20 is memory, requested 4
ata2: channel #0 on atapci0
ata3: channel #1 on atapci0
ata4: channel #2 on atapci0
skc0: Marvell Gigabit Ethernet port 0x9800-0x98ff
mem 0xfb70-0xfb703fff irq 17 at device 10.0 on
pci0
skc0: Yukon Gigabit Ethernet 10/100/1000Base-T Adapter
sk0: Marvell Semiconductor, Inc. Yukon on skc0
sk0: Ethernet address: 00:11:d8:1b:f1:7a
miibus0: MII bus on sk0
e1000phy0: Marvell 88E1000 Gigabit PHY on miibus0
e1000phy0:  10baseT, 10baseT-FDX, 100baseTX,
100baseTX-FDX, 1000baseTX-FDX, auto
rl0: RealTek 8139 10/100BaseTX port 0xa000-0xa0ff
mem 0xfb90-0xfb9000ff irq 18 at device 13.0 on
pci0
miibus1: MII bus on rl0
rlphy0: RealTek internal media interface on miibus1
rlphy0:  10baseT, 10baseT-FDX, 100baseTX,
100baseTX-FDX, auto
rl0: Ethernet address: 00:00:1c:d7:54:e8
pci0: network at device 14.0 (no driver attached)
atapci1: VIA 6420 SATA150 controller port
0xa400-0xa4ff,0xa800-0xa80f,0xb000-0xb003,0xb400-0xb407,0xb800-0xb803,0xc000-0xc007
irq 20 at device 15.0 on pci0
ata5: channel #0 on atapci1
ata6: channel #1 on atapci1
atapci2: VIA 8237 UDMA133 controller port
0xfc00-0xfc0f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at
device 15.1 on pci0
ata0: channel #0 on atapci2
ata1: channel #1 on atapci2
uhci0: VIA 83C572 USB controller port 0xc400-0xc41f
irq 21 at device 16.0 on pci0
uhci0: [GIANT-LOCKED]
usb0: VIA 83C572 USB controller on uhci0
usb0: USB revision 1.0
uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00,
addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1: VIA 83C572 USB controller port 0xc800-0xc81f
irq 21 at device 16.1 on pci0
uhci1: [GIANT-LOCKED]
usb1: VIA 83C572 USB controller on uhci1
usb1: USB revision 1.0
uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00,
addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2: VIA 83C572 USB controller port 0xd000-0xd01f
irq 21 at device 16.2 on pci0
uhci2: [GIANT-LOCKED]
usb2: VIA 83C572 USB controller on uhci2

Re: zebra 0.94 crash on amd64

2005-03-06 Thread Dag-Erling Smørgrav
Dmitry Morozovsky [EMAIL PROTECTED] writes:
 trying to set up new router I had stumbled with zebra (port built
 with standard options except CPUTYPE=athlon64) strange crashes:

Switch to net/quagga, which is nearly 100% drop-in compatible but much
better maintained.

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


Caution - possible system instability on attempted fix for WRITE_ERROR problem (see enclosed)

2005-03-06 Thread Karl Denninger
Hi folks;

This may be the wrong place, given what I did, but I wanted to give a heads
up here given the impending release of 5.4-RELEASE

This refers to http://www.freebsd.org/cgi/query-pr.cgi?pr=77643

In an attempt to mitigate this, I saw the following commit in the CVS logs:


mdodd   2005-03-02 04:01:37 UTC 

  FreeBSD src repository

  Modified files:
sys/dev/ata  ata-queue.c
  Log:
  When resubmitting a timed out request, reset donecount.
  
  Submitted by: Nate Lawson nate AT root.org
  
  Revision  ChangesPath
  1.42  +1 -0  src/sys/dev/ata/ata-queue.c

Is this change supposed to be safe against a 5.4-PRERELEASE kernel from
today (CVSupped about 1700 CST)?

If it is supposed to be, its NOT!

It DOES fix the failure to requeue timed out requests, but it also provokes
radical destabilization of the interrupt system in the kernel (e.g. receive
serial interrupts disappear, etc) leading evenutally to a panic.

BTW, it DOES appear to fix the requeue problem with disks, and wth this in
a disk that takes a timeout (but is actually working) does not disconnect
from a GEOM mirror; the retried write succeeds.

However, for obvious reasons the kernel instability that results from the
retried write is not acceptable :)

Don't know if this is germane to what is about to show up in 5.4-RELEASE,
but if it is, this urgently needs to be looked at.

Needless to say I've backed this one out.

Will also put this against the PR to dissuade others from trying the same
thing...

--
-- 
Karl Denninger ([EMAIL PROTECTED]) Internet Consultant  Kids Rights Activist
http://www.denninger.netMy home on the net - links to everything I do!
http://scubaforum.org   Your UNCENSORED place to talk about DIVING!
http://www.spamcuda.net SPAM FREE mailboxes - FREE FOR A LIMITED TIME!
http://genesis3.blogspot.comMusings Of A Sentient Mind


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


Re: I can not surf on Flash powered sites.

2005-03-06 Thread Don Lewis
On  4 Mar, Bartosz Fabianowski wrote:
 /usr/ports/www/linuxpluginwrapper/pkg-message says:
 
   Firefox has a double free problem wih Flash7.  So I don't
   support it.  Please don't send me a report about firefox.
   Of course, I always welcome to recieve fixed problems report.
 
 That's kept me away from trying it.
 
 Yes, Flash 7 doesn't seem to work. But Flash 6 does. And that should be 
 enough for almost all websites and cute animations.

Flash 6 sometimes works for me, but sometimes it segfaults.

Program received signal SIGSEGV, Segmentation fault.
0x2930cc52 in nsHTMLDocument::RegisterNamedItems ()
   from /usr/X11R6/lib/firefox/components/libgklayout.so
(gdb) where
#0  0x2930cc52 in nsHTMLDocument::RegisterNamedItems ()
   from /usr/X11R6/lib/firefox/components/libgklayout.so
#1  0x2930cdbb in nsHTMLDocument::RegisterNamedItems ()
   from /usr/X11R6/lib/firefox/components/libgklayout.so
#2  0x2930cdbb in nsHTMLDocument::RegisterNamedItems ()
   from /usr/X11R6/lib/firefox/components/libgklayout.so
#3  0x2930cdbb in nsHTMLDocument::RegisterNamedItems ()
   from /usr/X11R6/lib/firefox/components/libgklayout.so
#4  0x2930cdbb in nsHTMLDocument::RegisterNamedItems ()
   from /usr/X11R6/lib/firefox/components/libgklayout.so
#5  0x2930cebd in nsHTMLDocument::ResolveName ()
   from /usr/X11R6/lib/firefox/components/libgklayout.so
#6  0x293f33c7 in nsHTMLDocumentSH::ResolveImpl ()
   from /usr/X11R6/lib/firefox/components/libgklayout.so
#7  0x293f464c in nsHTMLDocumentSH::NewResolve ()
   from /usr/X11R6/lib/firefox/components/libgklayout.so
#8  0x28bca1ca in xpc_MarkForValidWrapper ()
   from /usr/X11R6/lib/firefox/components/libxpconnect.so
#9  0x280c8f44 in js_LookupPropertyWithFlags ()
   from /usr/X11R6/lib/firefox/libmozjs.so
#10 0x280c91e8 in js_LookupProperty () from /usr/X11R6/lib/firefox/libmozjs.so
#11 0x280c95cf in js_GetProperty () from /usr/X11R6/lib/firefox/libmozjs.so
#12 0x280bdc25 in js_Interpret () from /usr/X11R6/lib/firefox/libmozjs.so
#13 0x280b7bcf in js_Execute () from /usr/X11R6/lib/firefox/libmozjs.so
#14 0x28097284 in JS_EvaluateUCScriptForPrincipals ()
   from /usr/X11R6/lib/firefox/libmozjs.so
#15 0x293c2cc6 in nsJSContext::EvaluateString ()
   from /usr/X11R6/lib/firefox/components/libgklayout.so
#16 0x2926c37d in nsScriptLoader::EvaluateScript ()
   from /usr/X11R6/lib/firefox/components/libgklayout.so
#17 0x2926bf62 in nsScriptLoader::ProcessRequest ()
   from /usr/X11R6/lib/firefox/components/libgklayout.so
#18 0x2926d012 in nsScriptLoader::OnStreamComplete ()
   from /usr/X11R6/lib/firefox/components/libgklayout.so
#19 0x28c5c7e8 in nsStreamLoader::OnStopRequest ()
   from /usr/X11R6/lib/firefox/components/libnecko.so
#20 0x28cc51b9 in nsHttpChannel::OnStopRequest ()
   from /usr/X11R6/lib/firefox/components/libnecko.so
#21 0x28c46a1c in nsInputStreamPump::OnStateStop ()
   from /usr/X11R6/lib/firefox/components/libnecko.so
#22 0x28c46709 in nsInputStreamPump::OnInputStreamReady ()
   from /usr/X11R6/lib/firefox/components/libnecko.so
#23 0x281699ae in nsInputStreamReadyEvent::EventHandler ()
   from /usr/X11R6/lib/firefox/libxpcom.so
#24 0x28181149 in PL_HandleEvent () from /usr/X11R6/lib/firefox/libxpcom.so
#25 0x2818106d in PL_ProcessPendingEvents ()
   from /usr/X11R6/lib/firefox/libxpcom.so
#26 0x28182b5b in nsEventQueueImpl::ProcessPendingEvents ()
   from /usr/X11R6/lib/firefox/libxpcom.so
#27 0x28b01d6f in nsIProperties::GetIID ()
   from /usr/X11R6/lib/firefox/components/libwidget_gtk2.so
#28 0x288840ae in g_io_unix_dispatch (source=0x836f200, 
callback=0x28b01d44 nsIProperties::GetIID(void)+28, user_data=0x80cf800)
at giounix.c:161
#29 0x288615cb in g_main_dispatch (context=0x8090c80) at gmain.c:1942
#30 0x28862408 in g_main_context_dispatch (context=0x8090c80) at gmain.c:2492
#31 0x28862802 in g_main_context_iterate (context=0x8090c80, block=1, 
dispatch=1, self=0x80bece0) at gmain.c:2573
#32 0x28862e3c in g_main_loop_run (loop=0x8203170) at gmain.c:2777
#33 0x283e1edf in gtk_main () from /usr/X11R6/lib/libgtk-x11-2.0.so.400
#34 0x28b02088 in nsAppShell::Run ()
   from /usr/X11R6/lib/firefox/components/libwidget_gtk2.so
#35 0x28a42082 in nsAppShellService::Run ()
   from /usr/X11R6/lib/firefox/components/libnsappshell.so
#36 0x80522ba in xre_main ()
#37 0x804d128 in main ()
#38 0x804d056 in _start ()



firefox-1.0.1_1,1
linux-flashplugin-6.0r79_2
linuxpluginwrapper-20050119_1
linux_base-8-8.0_6


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