Re: VM Options

2008-01-23 Thread Robert Eckardt
On Wed, 23 Jan 2008 14:23:16 -0500, Bill Moran wrote
 In response to Jack Barnett [EMAIL PROTECTED]:
  
  Are there any good VM Options for FreeBSD?
  
  There is VMWare in ports; which I really like - but it's a few years old 
  and still stuck on version 3 the last time I tried it.

It depends on what you want to do.
Do you want to run another OS (even a different FreeBSD release)?
Is it sufficient to prevent processes seeing each other? 

 VMWare on FreeBSD is a no-op.  Someone should really remove that port.

That's nonsense.
The current (very old) port is quite out-dated and it took me some time 
to get it running right e.g. with VMware 3 on FreeBSD 6.2. But it works!
In most (though not all) cases Xen is a useful alternative to VMware.
Of course Xen is driven by the Linux hype. All majors OS vendors support 
Xen.
When virtualization solutions find their way into next generation's CPUs 
Xen might take over VMware. Xen is still weak on the management side.

About a year ago rsync.net's 2007 code bounty called for a newer VMware 
port, but it's still in the state currently in progress (for half a 
year now).

 jail is your best option.  See the handbook for details and install the
 ezjail port to make it more manageable.  The drawback is that jail 
 can only run other FreeBSD instances in the VM.

Although jails are available far longer than zones in Solaris they have 
fallen behind. They lack a lot of features, e.g. no ressource management.
Even things that work in native FreeBSD don't work in jails. (ulimit)

 Next up would be qemu.  I use it a lot and it works a lot like 
 VMWare. The disadvantage to qemu is that it's really slow.

VMware burns quite a lot of CPU. QEMU is much worse.

 Down the list are a number of technologies in various stages of
 development, such as Xen.  I don't recommend any of them at this time
 unless you want to help with development.

It really depends on what you want to achieve.

Regards,
Robert

PS: People say, I sometimes tend to see things to negative.

--
Dr. Robert Eckardt---[EMAIL PROTECTED]

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


Re: Did I take the wrong bus with FreeBSD 6 to VMware?

2007-03-15 Thread Robert Eckardt
On Wed, 14 Mar 2007 21:17:21 -0800, Ted Mittelstaedt wrote
 Robert,
 
   You have device driver conflicts with the hardware.  Most likely 
 it is the ata driver and the rocket raid card.  The rocket raids are 
 nice cards but I have had them blow up too.  In my case I simply 
 moved the rocket raid card to a different system where it was rock 
 solid, and put in a promise card that was blowing up in yet a third 
 system.  I have a whole collection of hardware to play with. 
  Unfortunately that is what happens when you work with operating 
 systems that wern't preloaded on the hardware you bought.

Ted,

I would like to do so, but the RAID-controller is on the motherboard.
(That was the main reason for choosing this mobo, since everything I
need (and obviously something more) is already on-board.) All I could 
do was do disable SATA is in BIOS.
Is there a way to control the ressources to avoid the conflict?

Robert

 
 Ted
 
 - Original Message - 
 From: Robert Eckardt [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Wednesday, March 14, 2007 3:27 PM
 Subject: Did I take the wrong bus with FreeBSD 6 to VMware?
 
  Hi,
 
  for some time I'm trying to get FreeBSD 6 running on my server
  as a host for VMware and several other functions.
 
  I'm using a 1.7GHz Pentium M 735 on an AOpen i855GMEm-LFS mobo
  w/ USB, VGA, 2xGbit/s, 2xPATA channels etc. on board.
  I used to run FBSD-5.2.1 with vmware3 on an Epox mobo w/ a 2GHz
  Celeron without problems.
  After changing HW (mobo, CPU, HDD) and OS (FBSD6.0) I found the
  system to freeze upon accessing an USB device when vmware was
  running.
  So my first investigations led to its driver, but in some cases
  heavy disk I/O was sufficient to cause a freeze.
 
  Since the situation got worse with FreeBSD 6.2 I started to work
  on it more systematically and found the following (actually I was
  on the verge to switch to Linux CentOS 4.4 or OpenSUSE 10.2 with
  VMware Server running nicely, but the HD and network performance
  were disappointing):
 
  1)**ACPI off, Assign USB IRQ disabled in BIOS, vmware3 started:
  vmware3 runs fine, but no USB devices.
 
  2)**ACPI off, Assign USB IRQ enabled in BIOS, vmware3 started:
  system freezes with network connections breaking, endless
  messages
  ad2: WARNING: - SETFEATURES SET TRANSFER MODE taskqueue timeout -
 completing
  request directly
  ad2: WARNING: - SETFEATURES SET TRANSFER MODE taskqueue timeout -
 completing
  request directly
  ad2: WARNING: - SETFEATURES ENABLE RCACHE taskqueue timeout - completing
  request directly
  ad2: WARNING: - SETFEATURES ENABLE WCACHE taskqueue timeout - completing
  request directly
  ad2: WARNING: - SET_MULTI taskq.
  ad2: FAILURE [or TIMEOUT] - WRITE:DMA timed out [or retrying] LBA=
  g_vs_done():ad2s1e[WRITE(offset=, length=)]error = 5
  typing reboot will finally reboot the system after several hours,
  nothing in the logs though.
 
  3)**ACPI off, Assign USB IRQ enabled in BIOS, additional PCI-VGA
  card installed, using either PCI-VGA *or* on-board VGA, vmware3
  started:
  vmware3 runs fine, also when accessing the USB device.
 
  4)**ACPI on, Assign USB IRQ enabled in BIOS, additional PCI-VGA card
  installed, using on-board VGA, vmware3 started:
  system freezes with messages above.
 
  So, what's the relation between the scenarios?
  Where can I tweak the system to get it stable?
 
  Since I spend already several man-days on getting VMware running
  on my machine, I would like to help further debugging by making
  additional tests, but I don't know where to start.
 
  I can live without ACPI (for the time being) -- the old system
  consumes 125W while the Pentium M machine stays at 42W with ACPI
  taking about another 8W in idle-state.
  For me it seems essential why enabling/disabling USB in the BIOS
  or adding an additional PCI-VGA card stabilizes the system and
  why the unstable system behaves the same way like with enabling
  ACPI.
 
  I put some boot_verbose-logs on http://www.robert-eckardt.de/ghost/
 
  Regards,
  Robert
 
  --
  Dr. Robert Eckardt---[EMAIL PROTECTED]
 
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to
 [EMAIL PROTECTED]
 
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]


--
Dr. Robert Eckardt---[EMAIL PROTECTED]

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


Did I take the wrong bus with FreeBSD 6 to VMware?

2007-03-14 Thread Robert Eckardt
Hi,

for some time I'm trying to get FreeBSD 6 running on my server 
as a host for VMware and several other functions.

I'm using a 1.7GHz Pentium M 735 on an AOpen i855GMEm-LFS mobo 
w/ USB, VGA, 2xGbit/s, 2xPATA channels etc. on board.
I used to run FBSD-5.2.1 with vmware3 on an Epox mobo w/ a 2GHz 
Celeron without problems.
After changing HW (mobo, CPU, HDD) and OS (FBSD6.0) I found the 
system to freeze upon accessing an USB device when vmware was 
running. 
So my first investigations led to its driver, but in some cases 
heavy disk I/O was sufficient to cause a freeze.

Since the situation got worse with FreeBSD 6.2 I started to work 
on it more systematically and found the following (actually I was 
on the verge to switch to Linux CentOS 4.4 or OpenSUSE 10.2 with 
VMware Server running nicely, but the HD and network performance 
were disappointing):

1)**ACPI off, Assign USB IRQ disabled in BIOS, vmware3 started:
vmware3 runs fine, but no USB devices.

2)**ACPI off, Assign USB IRQ enabled in BIOS, vmware3 started:
system freezes with network connections breaking, endless 
messages
ad2: WARNING: - SETFEATURES SET TRANSFER MODE taskqueue timeout - completing
request directly
ad2: WARNING: - SETFEATURES SET TRANSFER MODE taskqueue timeout - completing
request directly
ad2: WARNING: - SETFEATURES ENABLE RCACHE taskqueue timeout - completing
request directly
ad2: WARNING: - SETFEATURES ENABLE WCACHE taskqueue timeout - completing
request directly
ad2: WARNING: - SET_MULTI taskq.
ad2: FAILURE [or TIMEOUT] - WRITE:DMA timed out [or retrying] LBA=
g_vs_done():ad2s1e[WRITE(offset=, length=)]error = 5
typing reboot will finally reboot the system after several hours,
nothing in the logs though.

3)**ACPI off, Assign USB IRQ enabled in BIOS, additional PCI-VGA 
card installed, using either PCI-VGA *or* on-board VGA, vmware3 
started:
vmware3 runs fine, also when accessing the USB device.

4)**ACPI on, Assign USB IRQ enabled in BIOS, additional PCI-VGA card 
installed, using on-board VGA, vmware3 started:
system freezes with messages above.

So, what's the relation between the scenarios?
Where can I tweak the system to get it stable?

Since I spend already several man-days on getting VMware running 
on my machine, I would like to help further debugging by making 
additional tests, but I don't know where to start.

I can live without ACPI (for the time being) -- the old system 
consumes 125W while the Pentium M machine stays at 42W with ACPI 
taking about another 8W in idle-state.
For me it seems essential why enabling/disabling USB in the BIOS 
or adding an additional PCI-VGA card stabilizes the system and 
why the unstable system behaves the same way like with enabling 
ACPI.

I put some boot_verbose-logs on http://www.robert-eckardt.de/ghost/

Regards,
Robert

--
Dr. Robert Eckardt---[EMAIL PROTECTED]

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


Re: PHP not working

2006-05-14 Thread Robert Eckardt
On Sun, 14 May 2006 09:42:22 +0200, Maan Jee wrote
 Hello,
 
 I have installed Apache HTTP Server 2.20 and PHP 5. But when I want 
 to open index.php file in the browser instead of getting the Output 
 Html page, I get SAVE index.php file popup.
 
 What is the wrong, I have added these lines in httpd.conf
 AddType application/x- httpd-php . php
 AddType application/x- httpd-php-source . phps

There must not be a space in your application type .../x-httpd-...

Robert

--
Dr. Robert Eckardt---[EMAIL PROTECTED]

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


Why doesn't burn cdrdao BIN/CUE on 6.0-R ?

2006-02-26 Thread Robert Eckardt
)= 1 (0x1)

write(2,0xbfbfe6b8,1)= 1 (0x1)
Check http://cdrdao.sourceforge.net/drives.html#dt for current driver
tables.write(2,0xbfbfe1f0,77)  = 77 (0x4d)

write(2,0xbfbfe6b8,1)= 1 (0x1)

write(2,0xbfbfe6b8,1)= 1 (0x1)
open(Video1.cue,0x0,0666)  = 3 (0x3)
open(Video1.cue,0x0,0666)  = 4 (0x4)
break(0x80d3000) = 0 (0x0)
fstat(4,0xbfbfdd30)  = 0 (0x0)
break(0x80d4000) = 0 (0x0)
read(0x4,0x80d3000,0x1000)   = 113 (0x71)
break(0x80d5000) = 0 (0x0)
read(0x4,0x80d3000,0x1000)   = 0 (0x0)
break(0x80d6000) = 0 (0x0)
break(0x80d7000) = 0 (0x0)
break(0x80d8000) = 0 (0x0)
break(0x80d9000) = 0 (0x0)
close(3) = 0 (0x0)
stat(Video1.bin,0xbfbfe720)= 0 (0x0)
__getcwd(0xbfbfe320,0x400)   = 0 (0x0)
sigprocmask(0x1,0x280cc820,0xbfbfe6f0)   = 0 (0x0)
sigprocmask(0x3,0x280cc830,0x0)  = 0 (0x0)
sigprocmask(0x1,0x280cc820,0xbfbfe6f0)   = 0 (0x0)
munmap(0x282ef000,0x3000)= 0 (0x0)
sigprocmask(0x3,0x280cc830,0x0)  = 0 (0x0)
exit(0x1)
process exit, rval = 256


--
Dr. Robert Eckardt---[EMAIL PROTECTED]

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


Re: Why doesn't burn cdrdao BIN/CUE on 6.0-R ?

2006-02-26 Thread Robert Eckardt
On Sun, 26 Feb 2006 20:12:05 +0100, Fabian Keil wrote
 Robert Eckardt [EMAIL PROTECTED] wrote:
 
  after trying for some hours now to burn a videocd with cdrdao
  under 6.0-R, I reverted to nero on XP. :-(
 
  18:45 gluon: roberte/CD-Stuff/tmp 0%# cdrdao write --device 0,1,0
  --driver generic-mmc-raw --speed 16 Video1.cue
 
 Did the same command work before?

I did not try it on 6.0, but it used to work on 4.5.

 It doesn't answer your question, but cdrecord has basic cue
 sheet support, too. You could give it a try.

Yes, it worked well. Thank you for this hint. I didn't find it
in cdrecord(1) on the first sight.

Things like this, however (I had planned to fix just some small details
on my new server this weekend, but got lost in not-working packages/ports)
let me doubt, whether using FreeBSD is still preferrable.

Regards,
Robert

--
Dr. Robert Eckardt---[EMAIL PROTECTED]

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


Re: I need a better way to loop in the shell...

2005-12-13 Thread Robert Eckardt
On Tue, 13 Dec 2005 23:44:42 -0500 (EST), user wrote
 I always do loops in /bin/sh like this:
 
 for f in `cat file` ; do rm -rf $f ; done

Hi,

try instead:
cat file | while read f ; do rm -f $f ; done

In your command `file' is presented as 
10,000 Maniacs MTV Unplugged - 01 - These Are Days.mp3 10,000 Maniacs MTV
Unplugged - 02 - Eat For Two.mp3 10,000 Maniacs MTV Unplugged - 03 - Candy
Everybody Wants.mp3 ...
while the for-loop cuts the arguments at spaces.
read reads the rest of the line in its last (and only -- in this case)
argument into a single variable.

Regards,
Robert
 
 Easy.  I like doing it like this.
 
 The problem is, when I am dealing with an input list that has 
 multiple words per line, this chops it up and treats every word as a 
 new line...
 
 For instance, lets say I have a file full of filenames, like this:
 
 # cat file
 
 10,000 Maniacs MTV Unplugged - 01 - These Are Days.mp3
 10,000 Maniacs MTV Unplugged - 02 - Eat For Two.mp3
 10,000 Maniacs MTV Unplugged - 03 - Candy Everybody Wants.mp3
 
 and I try to use the above loop on it, it thinks that every word is 
 a line ... the above loop will attempt to delete the following files:
 
 10,000
 Maniacs
 MTV
 Unplugged
 -
 01
 -
 These
 
 (and so on)
 
 Even if I quote the variable $f, like:
 
 for f in `cat file` ; do rm -rf $f ; done
 
 it still does the same thing.
 
 -
 
 So my question is, what is a nice simple way to loop in the shell, as
 close to what I am doing above as possible, that does not have this
 problem ?  Should I just be using something other than `cat` ?  Or 
 what ?
 
 THanks.
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]


--
Dr. Robert Eckardt---[EMAIL PROTECTED]

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


Re: Fuser equivalent

2005-07-04 Thread Robert Eckardt
On Mon, 4 Jul 2005 18:03:43 +0800, Crucis wrote
 Hi,
 Is there a BSD equivalent of the Linux fuser command?
 fuser is used to identify processes using files/sockets.
 Thanks in advance

try `lsof' (list open files) from the ports.

Robert


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


Re: named[353]: sysquery: no addrs found for root NS ..........

2004-09-07 Thread Robert Eckardt
On Tue, 7 Sep 2004 13:07:05 +0300, Ion-Mihai Tetcu wrote
 On Tue, 7 Sep 2004 13:00:47 +0300
 Ion-Mihai Tetcu [EMAIL PROTECTED] wrote:
 
  Hi,
  
  
  From time to time I get this:
  
  Sep  7 12:57:44 it named[353]: sysquery: no addrs found for root NS
(d.root-servers.net)
  Sep  7 12:57:44 it named[353]: sysquery: no addrs found for root NS
(a.root-servers.net)
  Sep  7 12:57:44 it named[353]: sysquery: no addrs found for root NS
(c.root-servers.net)

Hi,

I had the same problem a while ago.
I had configured my ISP's name-server (actually several of them) to
forward requests to. It happened that one of them became unreachable.
From (just quickly) looking at the source, I found that named ends in
this very loop as it does not try to actually request adresses for the 
root name-servers but rather writes out error messages.
The funny thing was that the forwarders are managed in the same list
as the root servers.
After removing any forwarders from my named-config and relying
completely on the root servers I never had the problem again.
(Before this it happend after a few hours up to several weeks of
named's run-time.)

Regards,
Robert


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


Re: SmartCtl and Array Disks, BSD 4.10

2004-06-26 Thread Robert Eckardt
On Sat, 26 Jun 2004 10:32:30 +0200, Alberto De Boni wrote
 Hi,
 just a little question. I've installed BSD 4.10 on a motherboard 
 with Highpoint array Raid 0-1controller. I've used two 80Gb Maxtor 
 HDD configured as mirror. All works very fine, atacontrol let me to 
 add a spare disk as i need, the O.s. works without any problem and 
 performaneces are very good. Now, i would like to add S.M.A.R.T 
 control on my disks and here we are with the problems:
 
 BSD let me se only a combined device called ar0 (and of course this 
 is right). The problem is that  smartcontrol cannot check smart data 
 on ar0 device. Is there a way to see the two real device ad4/ad6 and 
 check for smart datas?


Hi,

Can't speak for 4.10, but 5.2.1 sees the devices.

Robert


11:48 quasar:/root 0#% cat /var/run/dmesg.boot | egrep 'a[dr][0-9 ]|atap'
FreeBSD 5.2.1-RELEASE #3: Sun Mar 14 14:32:01 CET 2004
Preloaded elf module /boot/kernel/snd_ad1816.ko at 0xc0b321ac.
atapci0: HighPoint HPT372 UDMA133 controller port
0xb000-0xb0ff,0xac00-0xac03,0xa800-0xa807,0xa400-0xa403,0xa000-0xa007 irq 10
at device 0.0 on pci1
atapci0: [MPSAFE]
ata2: at 0xa000 on atapci0
ata3: at 0xa800 on atapci0
atapci1: Intel ICH4 UDMA100 controller port
0xf000-0xf00f,0-0x3,0-0x7,0-0x3,0-0x7 at device 31.1 on pci0
ata0: at 0x1f0 irq 14 on atapci1
ata1: at 0x170 irq 15 on atapci1
GEOM: create disk ad4 dp=0xc47f2660
ad4: 78533MB HDS722580VLAT20 [159560/16/63] at ata2-master UDMA100
GEOM: create disk ad5 dp=0xc47f2460
ad5: 117246MB Maxtor 6Y120P0 [238216/16/63] at ata2-slave UDMA133
GEOM: create disk ad6 dp=0xc47f2560
ad6: 78533MB HDS722580VLAT20 [159560/16/63] at ata3-master UDMA100
GEOM: create disk ad7 dp=0xc48e9460
ad7: 117246MB Maxtor 6Y120P0 [238216/16/63] at ata3-slave UDMA133
GEOM: create disk ar0 dp=0xc48e35e0
ar0: 78533MB ATA RAID1 array [10011/255/63] status: READY subdisks:
 disk0 READY on ad4 at ata2-master
 disk1 READY on ad6 at ata3-master
GEOM: create disk ar1 dp=0xc48e31e0
ar1: 117246MB ATA RAID1 array [14946/255/63] status: READY subdisks:
 disk0 READY on ad5 at ata2-slave
 disk1 READY on ad7 at ata3-slave
Mounting root from ufs:/dev/ar1s1a
11:49 quasar:/root 0#% atacontrol status ar1
ar1: ATA RAID1 subdisks: ad5 ad7 status: READY
11:49 quasar:/root 0#% atacontrol status ar0
ar0: ATA RAID1 subdisks: ad4 ad6 status: READY
11:49 quasar:/root 0#% atacontrol list
ATA channel 0:
Master: acd0 CD-RW CDR-6S52/6SG1 ATA/ATAPI rev 0
Slave:   no device present
ATA channel 1:
Master:  no device present
Slave:   no device present
ATA channel 2:
Master:  ad4 HDS722580VLAT20/V32OA60A ATA/ATAPI rev 6
Slave:   ad5 Maxtor 6Y120P0/YAR41BW0 ATA/ATAPI rev 7
ATA channel 3:
Master:  ad6 HDS722580VLAT20/V32OA60A ATA/ATAPI rev 6
Slave:   ad7 Maxtor 6Y120P0/YAR41BW0 ATA/ATAPI rev 7
11:49 quasar:/root 0#% atacontrol cap 2 1
ATA channel 2, Slave, device ad5:

ATA/ATAPI revision7
device model  Maxtor 6Y120P0
serial number Y333551E
firmware revision YAR41BW0
cylinders 16383
heads 16
sectors/track 63
lba supported 240121728 sectors
lba48 not supported 
dma supported
overlap not supported

Feature  Support  EnableValue   Vendor
write cacheyes  yes
read ahead yes  yes
dma queued no   no  0/0x00
SMART  yes  yes
microcode download yes  yes
security   yes  no
power management   yes  yes
advanced power management  yes  no  0/0x00
automatic acoustic management  yes  yes 254/0xFE192/0xC0


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


HTTPtunnel hangs with proxy

2004-06-10 Thread Robert Eckardt
Hello,

has someone got an idea, what I'm doing wrong?

I'm trying to get httptunnel to work via a proxy.
I have observed the following behaviour under FBSD-4.5R as well as
under 5.2.1R, with apache-2.0.48_1 as well as with apache-1.3.22_7
and with httptunnel-3.3 as well as with httptunnel-3.0.5.

Finally, I reduced it to the following setting:
(I tried different options for proxy-buffer size und -timeout without
any effect):

telnet 127.0.0.1 2023
   |
   htc -F 2023 -P 127.0.0.1:80 127.0.0.1:8080
  ||
  httpd (as the proxy and at least my Netscape is happy)
 ||
 hts -F 127.0.0.1:23 8080
|
telnetd

After the connect to htc I get no further reaction from telnet.
I can send a CR to htc, where it simply sits around. All connections
are in state ESTABLISHED, only the one to telnetd does not exist at
that time.

htc waits in a read for reply from the proxy, while hts at the same
time also waits for data from the proxy on the first of two connections.
The proxy has two connections open to either htc and hts, but in
the Log of hts there is only the first of them noted. (htc sent a POST
and a GET and waits now for the reply to the GET. The proxy, however,
sent the GET to hts on the second connection, whereas hts waits
in a read in the first one.)

Only after killing htc the proxy sends its data to hts, which then
in turn opens the connection to telnetd and (after stopping hts)
closes it again.


Has someone out there successfully got such a setting (httptunnel
via a proxy) working?

How do I get httptunnel to get the proxy to forward the data
(POST-request) immediately?

Does anyone now of an alternative to httptunnel?
(I tried htun-0.9.5 but gave up as it's too hard Linux-style.)


Unneccessary to note, but without proxy the connection works fine.


Regards and thanks,
Robert
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


solution for ad/ar geometry problem sought

2004-02-16 Thread Robert Eckardt
Hi,

has someone a solution for the following geometry problem with
IDE disks on a raid controller?

When activating the raid (RAID1) the system sees a different geometry
on ar1 than it saw on ad5 and thus finds no filesystems.

System is FBSD5.2R, EPoX 4GEA+, HPT372N, 2*77GB HDS + 2*114GB Maxtor.

I install the system on one of the maxtors on device /dev/ad5.
(ad4+ad6=ar0 carries the old 5.0 system, which accesses the raid
 via HighPoint's driver as da1
 da1 at hpt37x20 bus 0 target 0 lun 0
 da1: HPT Inc. HPT37x2   RAID 1 1.05 Fixed Direct Access SCSI-2 device
 da1: 78533MB (160836480 512 byte sectors: 255H 63S/T 10011C)
 da2 at hpt37x20 bus 0 target 1 lun 0
 da2: Maxtor 6 Y120P0 YAR4 Fixed Direct Access SCSI-2 device
 da2: 117246MB (240121728 512 byte sectors: 255H 63S/T 14946C)
 da3 at hpt37x20 bus 0 target 2 lun 0
 da3: Maxtor 6 Y120P0 YAR4 Fixed Direct Access SCSI-2 device
 da3: 117246MB (240121728 512 byte sectors: 255H 63S/T 14946C)
)
Sysinstall complains about the geometry 238216/16/63 and claims to
use 14946/255/62 instead.
I tried the wizard mode, only to learn that setting the geometry to
any value (e.g. to 29777/128/63 which is the same size as initially
without rounding errors) it gets reset to 238216/16/63 when I write
the new geometry to disk. So I installed anyway. I don't argue with
my computer.
On reboot after installation the disk is recognized as 238216/16/63
and everything works fine.

Then I create the mirror using atacontrol RAID1 ad5 ad7 and
after checking the raid status for READY and adjusting fstab I reboot.
The kernel is loaded and ar1 has 14946/255/62 while ad5 still has
238216/16/63. Thus, the kernel cannot find the superblock of the
root-FS and stops. I can continue by specifying ufs:ad5s1a as a new
root but then fstab only contains references to ar1.

Now, why is it good to access the disk with and without raid?
It happened to me that ad6 broke.
After replacing ad6 I started the resync ... until 6% were done.
Then the system ran on a uncorrectable read error on ad4 (the original)
No data was touched but resyncing didn't work.
So I broke the mirror, used dump|restore on the raid-less disks and
replaced ad4 too.
Finally the resync worked.
HighPoint's driver presented the disks and raid arrays to me always
with the same geometry.

So, where can I tweak the system to see the same geometries on ad5/ad7
and on ar1 ???


Any help appreciated!


Thanks in advance,

Robert


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


Re: FreeBSD/FDisk geometry problems - SOLVED!

2004-01-24 Thread Robert Eckardt
Hi,

thank you for this analysis.
I ran into the same problem in that FreeBSD (fdisk) did not accept
the values the BIOS uses. I was able to complete the installation,
but when turning on my raid-1 FreeBSD recognized on next reboot all
of a sudden the BIOS values and was therefore unable to find the
filesystems.
Switching between two geometries depending on whether the raid is
on or off is unacceptable as in case of repair you want to atleast
find your data.

Besides, my MB is an EPoX 4GEA+ w/ HighPoint raid chip 372N and two
Maxtor 120G disks w/ geometries 14946/255/63 (ar1, BIOS) and
238216/16/63 (ad5,ad7).

I will try your workaround.
But I second the recommendation that a developer should have a look
into this problem -- atleast by allowing fdisk to accept manually
provided values.

Bye,
Robert

On Fri, 23 Jan 2004 22:26:59 -0800, Keith Kelly wrote
...
 My motherboard (MSI KT4 Ultra) BIOS calculates 19618/16/255 
 (80041440 total sectors).  FreeBSD's FDisk calculates 4982/255/63 
 (80035830 total sectors).  You'll notice that the total sector 
 count is not the same, and you may wonder why.  It's because of 
 rounding error and the fact that the calculations were done in 
 reverse.  In theory, either set of CHS values should work fine, 
 but the problem is that my BIOS picks one set and FDisk chooses 
 another set -- and FDisk refuses to accept and use the set my BIOS
 calculated.
...
 So, the problem is that FDisk makes *different* assumptions than my 
 BIOS does about what the sectors and heads values should be.  I ran 
...
 In the meantime, the workaround for anyone experiencing this problem 
 is to go into their BIOS and set the hard drive to User mode, and 
 manually enter the same C/H/S settings that FDisk calculated for the 
 drive.  Unfortunately, I think this means that if you have to 
 repartition and reformat the entire drive, since the BIOS will now 
 be addressing the drive using different C/H/S settings and will be 
 unable to read any partitions that were formatting using different 
 C/H/S addressing.  So while there is a workaround, it is far from an 
 ideal user experience.
 
 - Keith F. Kelly


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


DOS of named

2003-12-16 Thread Robert Eckardt
Hi,

what measures can I take against this irregular appearing Denial-Of-Service
attacks of named which is filling my logfiles (messages, daemon, all.log)
with messages like sysquery: no addrs found for root NS for minutes at
a rate of 4000 lines/sec?

I'm using named 8.3.3-REL on FBSD-5.0R.

There is no indication that ipfw is blocking anything as denied packets
are logged by default. (Well, at least not from any name servers.)

This phenomenon happens irregularly after a few days/weeks/months.
This last event, for example, happend after 4 days uptime, the one before
after over 42 days.
Searching in the archives pointed me to 
a) some issue with the named.cache file which I updated weeks ago and 
   which is still up-to-date
b) the firewall blocking the answer from a root-server (see above)
c) and of course the arrogance of a developer suggesting to use a larger
   filesystem for logs as nothing is wrong with an application logging
   every error.

Thus, nothing to solve the problem or to find the true cause.

An nslookup 198.41.0.4 a.root-servers.net. produces
Authoritative answers can be found from:
198.in-addr.arpanameserver = chia.ARIN.NET
198.in-addr.arpanameserver = dill.ARIN.NET
198.in-addr.arpanameserver = henna.ARIN.NET
198.in-addr.arpanameserver = indigo.ARIN.NET
198.in-addr.arpanameserver = epazote.ARIN.NET
198.in-addr.arpanameserver = figwort.ARIN.NET
198.in-addr.arpanameserver = ginseng.ARIN.NET
*** Can't find server name for address 198.41.0.4: No information
*** Default servers are not available

Tcpdump shows the following transfer, nothing more:
tcpdump: listening on tun0
20:47:47.288874 80.128.176.76.63384  198.41.0.4.domain:  18833+ PTR? 
4.0.41.198.in-addr.arpa. (41)
0x   4500 0045 9dbf  4011 15ef 5080 b04c[EMAIL PROTECTED]
0x0010   c629 0004 f798 0035 0031 0b4a 4991 0100.).5.1.JI...
0x0020   0001    0134 0130 0234 3103.4.0.41.
0x0030   3139 3807 696e 2d61 6464 7204 6172 7061198.in-addr.arpa
0x0040    0c00 01   .
20:47:47.443400 198.41.0.4.domain  80.128.176.76.63384:  18833- 0/7/0 (194) 
(DF)
0x   4500 00de  4000 3411 7f15 c629 0004[EMAIL PROTECTED])..
0x0010   5080 b04c 0035 f798 00ca 7663 4991 8100P..L.5vcI...
0x0020   0001  0007  0134 0130 0234 3103.4.0.41.
0x0030   3139 3807 696e 2d61 6464 7204 6172 7061198.in-addr.arpa
0x0040    0c00 01c0 1300 0200 0100 0151 8000.Q..
0x0050   0f04 6368 6961 0441 5249 4e03 4e45 5400..chia.ARIN.NET.
0x0060   c013 0002 0001 0001 5180 0007 0464 696cQdil
0x0070   6cc0 3ac0 1300 0200 0100 0151 8000 0805l.:Q
0x0080   6865 6e6e 61c0 3ac0 1300 0200 0100 0151henna.:Q
0x0090   8000 0906 696e 6469 676f c03a c013 0002indigo.:
0x00a0   0001 0001 5180 000a 0765 7061 7a6f 7465Qepazote
0x00b0   c03a c013 0002 0001 0001 5180 000a 0766.:Qf
0x00c0   6967 776f 7274 c03a c013 0002 0001 0001igwort.:
0x00d0   5180 000a 0767 696e 7365 6e67 c03a Qginseng.:
^C


Thanks in advance,
Robert

PS: BTW, is there a search engine on freebsd.org for the archives or
do I have to stay with google, which becomes less usable each day?)

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


Installing FBSD5.0-R/4.7-R on EPoX 4GEA+

2003-02-24 Thread Robert Eckardt
Hi,

installing FreeBSD 5.0- or 4.7-RELEASE on my new hardware turns out to be
quite impossible.

The system consists of an EPoX EP-4GEA+ mainboard with Intel Celeron 2GHz
(which is recognized as a Pentium 4 with HTT ???) and 512MB DDR266-RAM.
2 IBM DTLA-307075 are controlled by a HighPoint 372 onboard RAID controller
as a RAID-1-array on IDE channel 3 and 4.
Besides the on-board RealTek 8139B for DSL (later :-) a 3Com 905B is used
for 100MBit-LAN.

The BIOS settings were left on safe defaults, except for disabling the
on-board 1394 and SATA interfaces.

The system boots from floppy (the SCSI-controller and CD-ROM are still in
the productive server) and mounts the server via NFS.

I chose the following partitions on a dedicated disk ar0 in this order:
a:  / 250MB
b:  swap  500MB
d:  /var  200MB
e:  /usr3GB
f:  /src7GB
g:  /big 60.5GB

After walking through the menus for custom installation it starts making
filesystems.
5.0 issues a message which I cannot read as it is quickly overwritten
(nothing on VT2 though).

During installation of the distributions (X-Developer) the system freezes
(never at the same point) with the HDD light on (no audible disk activity).

Any ideas what I'm doing wrong or what I can do to make the system work???

Thanks,
Robert

--
Dr. Robert Eckardt---[EMAIL PROTECTED]


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