Mounting a cf card in a pcmcia adapter

2009-07-06 Thread Tobias Roth
Hi

This used to work quite some time ago, when there still was pccardd. How
does it work these days (with 7.x)? I didn't find any documentation on this.

I get as far as

cbb0: 16-bit card inserted, but no pccard bus.
pccard0: <16-bit PCCard bus> on cbb0
pccard0:  (manufacturer=0x0045, product=0x0401,
function_type=4) at function 0
pccard0:CIS info: SanDisk, SDP, 5/3 0.6

But then no mountable device shows up. Am I missing a module? I have
umass, cbb and pccard loaded, and also tried wuth cardbus instead of pccard.

This very system and adapter worked back in the pccardd times.

Thanks,
t.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


ad0: FAILURE - READ_DMA g_eli_read_done(

2009-05-07 Thread Tobias Roth
Hi

I got these log messages:


May  7 15:41:32 default kernel: ad0: FAILURE - READ_DMA
status=51 error=40 LBA=31833792
May  7 15:41:32 default kernel: GEOM_ELI: g_eli_read_done() failed
ad0s2d.eli[READ(offset=1806532608, length=65536)]
May  7 15:41:32 default kernel:
g_vfs_done():ad0s2d.eli[READ(offset=1806532608, length=65536)]error = 5
May  7 15:41:36 default kernel: ad0: FAILURE - READ_DMA
status=51 error=40 LBA=31833792
May  7 15:41:36 default kernel: GEOM_ELI: g_eli_read_done() failed
ad0s2d.eli[READ(offset=1806532608, length=16384)]
May  7 15:41:36 default kernel:
g_vfs_done():ad0s2d.eli[READ(offset=1806532608, length=16384)]error = 5

Should I be worried? I my disk dying? I know which file causes the error
when read, and it's not an important one. Can I just delete it and go
on, or will this haunt me in the near future?

Thanks,
Tobias

-- 
Tobias Roth   ||   http://fsck.ch   ||   PGP: 0xCE599B4D
| The "c" in "rap" is silent.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: portsnap from cron

2007-07-29 Thread Tobias Roth
Garrett Cooper wrote:

> That's not going to change until portversion changes. The problem is
> most likely that portsnap touches the file and portversion finds it
> necessary to update the portsdb. Processing the text from portversion
> will yield the info you want.
> Cheers,
> -Garrett

Ohh, now at least I have an idea why it is suddenly happening, and how
to fix it. I'll either run portsdb between portsnap and portversion, or
try to grep out the unneeded stuff.

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


portsnap from cron

2007-07-29 Thread Tobias Roth
Hi

I run a daily portsnap from cron, using the following line:

/usr/sbin/portsnap cron update > /dev/null 2>&1 ;
/usr/local/sbin/portversion -vL=


Until recently, I only received a mail when there were ports to upgrade.
However, now I get this every day, even when there are no new ports:

[Updating the portsdb  in /usr/ports ... - 17465 port
entries found
.1000.2000.3000.4000.5000.6000.7000.8000.9000.1.11000.12000.13000.14000.15000.16000.17000
. done]


Any idea how to get rid of it?

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


Re: Ipod Nano doesn't connect

2007-03-14 Thread Tobias Roth
Tobias Roth wrote:
> Hi
> 
> I tried connecting my Ipod Nano 8GB via USB to my -STABLE box. No umass
> or ugen device shows up, nothing happens when I connect it. All the USB
> stuff is in the kernel, other usb mass devices (cameras, usb sticks)
> work like a charm. I tried with GENERIC as well, nothing. Is there a
> trick, some setting on the Ipod maybe, to make it act like a disk drive?

I figured it out after I connected the Ipod to a windows system, where
it previously had worked. The same nothingness. So it had to be the
Ipod, not FreeBSD.
A reset on the Ipod solved the problem. The reset is done by
simultaneously pressing the menu and the select (the middle) button and
holding them for a few seconds. The same technique also saved me when
the Ipod hung completely one time.

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


Ipod Nano doesn't connect

2007-03-14 Thread Tobias Roth
Hi

I tried connecting my Ipod Nano 8GB via USB to my -STABLE box. No umass
or ugen device shows up, nothing happens when I connect it. All the USB
stuff is in the kernel, other usb mass devices (cameras, usb sticks)
work like a charm. I tried with GENERIC as well, nothing. Is there a
trick, some setting on the Ipod maybe, to make it act like a disk drive?

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


Re: compress films

2006-08-26 Thread Tobias Roth
On Fri, Aug 25, 2006 at 10:47:33AM -0400, Tsu-Fan Cheng wrote:
> Hi BSDers,
>   I am running freebsd 6.1/amd64. I sometimes download films and they are
> quite large, like 1.4GB or something. I want to make it smaller by using
> mencoder, the script I use is as such:
> >mencoder ddd.avi -ovc lavc -lavcopts vcodec=mpeg4 -vf scale=352:240 -oac
> lavc -lavcopts acodec=mp3:abitrate=48 -o ggg.avi
> 
> But sometimes the ggg.avi can still be a little larger than 700mB, is there
> any more optimization I can do, or use other app to do this better??
> 
> many thanks!!

I use avidemux2 to compress videos. It has many options, one of
which is to restrict the maximum size of the output video.

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


Re: adding root cert to openssl

2006-04-16 Thread Tobias Roth
On Sun, Apr 16, 2006 at 10:03:03AM -0400, Robert Huff wrote:
> 
> Tobias Roth writes:
> 
> >  I'd like to add a certificate to OpenSSL. The OpenSSL HOWTO mentions
> >  OPENSSLDIR, which is /etc/ssl on FreeBSD (for OpenSSL from base). To
> >  have OpenSSL recognize a new certificate, it has to be put into
> >  OPENSSLDIR/certs/, but this does not exist on FreeBSD. The
> >  only certs/ dir I could find is /usr/src/crypto/openssl/certs/.
> >  
> >  So my question: How to add a certificate to OpenSSL on FreeBSD?
> 
>   Have you encountered any reason you can't just create the
> directory yourself?

It seems creating the dir, copying the cert file into there, and
creating a hash symlink, as advised in the OpenSSL Howto, has no
effect.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


adding root cert to openssl

2006-04-16 Thread Tobias Roth
Hi

I'd like to add a certificate to OpenSSL. The OpenSSL HOWTO mentions
OPENSSLDIR, which is /etc/ssl on FreeBSD (for OpenSSL from base). To
have OpenSSL recognize a new certificate, it has to be put into
OPENSSLDIR/certs/, but this does not exist on FreeBSD. The
only certs/ dir I could find is /usr/src/crypto/openssl/certs/.

So my question: How to add a certificate to OpenSSL on FreeBSD?

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


Re: Contributing to FreeBSD

2006-02-22 Thread Tobias Roth
On Wed, Feb 22, 2006 at 02:19:27PM +0530, Ananth.G wrote:
> hi all,
>   I'm  a developer who has atleast 3-4 hrs of spare time daily and would
> like to contribute it in woking on FreeBSD, the OS i love. Im really
> interested in working on some part of freebsd kernel. It would be great
> if someone comes up with a good part in kernel to start with. It will
> greatly help if someone guides me and act as a mentor. I think the
> following info will help.
> 
> Im a C,C++/unix developer with 1 yr exp.
> I work on P4 , celeron x86 hardware (on FreeBSD 6.0 -RELEASE).

Hi

See
  http://www.freebsd.org/projects/ideas/
and
  http://www.freebsd.org/doc/en_US.ISO8859-1/articles/contributing/index.html
for a lot of ideas where to start.

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


Re: Downgrade a port

2005-12-11 Thread Tobias Roth
On Sun, Dec 11, 2005 at 12:18:05PM -0800, Michael C. Shultz wrote:
> 
> Here is how you can bring all ports back to a prior day:

Or even simpler, if you want to only downgrade one port at a time:

sysutils/portdowngrade

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


Looking for a GFX Card Dual DVI

2005-12-11 Thread Tobias Roth
Hi

I am looking for a supported graphics card that offers dual-head
1600x1200 with dvi, passively cooled if possible. 3D support
must be present, but it doesn't need to be the latest and fastest.

I came across the Matrox P650, but unlike models of G550 and
below, these seem not directly supported by xorg anymore.

Any good advice on what to buy?

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


How to remove bootloader from a slice

2005-07-24 Thread Tobias Roth
Hi

I am trying to remove a bootloader accidentally installed on ad0s3.
I tried overwriting it with fdisk -B -b /boot/boot0 -3 but that didn't
have any effect. And anyway, I'd rather see it gone than
replaced with the FreeBSD bootloader.
boot0cfg doesn't seem to be able to act on slices alone. That leaves
dd, but as I am not sure how to do it correctly, I thought I'd rather
ask first.

thanks, t.


-- 
Tobias Roth|Berne, Switzerland|http://fsck.ch
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Using FreeBSD disconnected on a notebook

2004-05-03 Thread Tobias Roth
On Mon, May 03, 2004 at 04:04:53PM -0400, Stephen Moriarty wrote:
> I'm trying to configure FreeBSD on my notebook such that when it's 
> docked at the office, I'm able to take advantage of networked resources 
> - NIS, amd, NFS. When I'm away, I want to selectively, and preferably 
> automatically, take advantage of the more limited network resources, 
> which usually includes none of the previous examples. Surely, someone 
> else has already solved this. The only reference I found were relative 
> to email.

http://lists.freebsd.org/pipermail/freebsd-mobile/2003-November/002284.html

this patch might help. it enables support for multiple network profiles
(eg home, work, home-wlan) that get detected automatically whenever the
laptop is started or woken from suspend. everything below /etc can be
configured per location, and hooks for non- /etc stuff are present.

it does not apply cleanly to -current but that can easily be fixed.

i don't have time right now to add the missing parts (acpi support,
clean restart in case the laptop crashes, for whatever reason not related
to my patch, fully working suspend/resume support), but i will fix
things next month or so.

i have used it without suspend/resume functionality for months and it is
stable.

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


looking for usb printer/scanner combo

2004-03-16 Thread Tobias Roth
hi

i am looking for a color inkjet printer/scanner/copier combo.

it should be cheap, supported under 5.2.1, rather small, have separate,
cheaply available ink cartridges. it doesn't need to be fast or have any
fancy features. price comes first, then quality.

can someone recommend a model that won't give me any trouble?

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


Re: dmesg showing wrong frequency (IBM T30)

2003-07-19 Thread Tobias Roth
On Fri, Jul 18, 2003 at 09:48:59PM +0100, Bruce Cran wrote:
> On Fri, Jul 18, 2003 at 07:24:20PM +0200, Tobias Roth wrote:
> > On Fri, Jul 18, 2003 at 06:22:27PM +0200, Poul-Henning Kamp wrote:
> > > What's "wrong" here is that the BIOS/ACPI firmware in your laptop
> > > runs your CPU at a reduced rate in order to make the battery last
> > > longer.
> > 
> > it should NOT do this. I set the bios to disable speedstep and to
> > 'max performance' while on AC. also, i run apm and not acpi.
> > 
> 
> That's probably the problem.   For some reason, certainly on my Dell, disabling
> SpeedStep throttles the CPU down to 1.2GHz on bootup, from its full 2.0GHz.
> Nothing the OS can do will change it.  Enabling SpeedStep means that FreeBSD
> sees the full 2.0GHz.   I've also heard about someone whose Dell had a broken
> BIOS, which meant that the CPU could never run at full speed, but was always
> running at 60%.   Upgrading the BIOS was the solution in that case.

interesting. i have cycled through all the different bios options, but it
is always the same 1.2 GHz. i recently upgraded to the latest bios, so i
probably will have to wait to try a new bios.

meanwhile, the laptop is going back to ibm anyway because of its overheating
problem and the broken second ram slot. i will tell them to check out the
cpu/bios as well.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: UNIONFS Stability

2003-07-19 Thread Tobias Roth
On Fri, Jul 18, 2003 at 11:30:15PM -0700, Rus Foster wrote:
> Hi All,
> How stable is unionfs? Reading the man page for mount_unionfs its says
> that its not. Is that still true or is it better on 5.x? ATM I'm running
> 4.8

mount -o union is very stable for me. note that this is not quite the same
as mount_unionfs. i am using it on 5.1.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: dmesg showing wrong frequency (IBM T30)

2003-07-18 Thread Tobias Roth
On Fri, Jul 18, 2003 at 09:01:51AM -0700, Kevin Oberman wrote:
> > i was on AC all the time. i tried all combinations in the bios
> > (speedstep on/off, max performance setting, ...), always the same.
> 
> I watch my CPU speed with the gkx86info plug-in for gkrellm. At this
> time the plug-in in ports is for gnome1.4, but there is a gnome2
> release available that I built and use on FreeBSD. (I really should
> turn it into a port and submit it.)

gkx86info also shows those 1.2GHz, no matter what i do! AC, apm, 'max
performance' bios setting, speedstep disabled. i do never get above those
1.2GHz.

btw, i will submit a port for the gkrellm2 version of gkx86info sometime
next week, this think looks very nice.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: dmesg showing wrong frequency (IBM T30)

2003-07-18 Thread Tobias Roth
On Fri, Jul 18, 2003 at 06:22:27PM +0200, Poul-Henning Kamp wrote:
> What's "wrong" here is that the BIOS/ACPI firmware in your laptop
> runs your CPU at a reduced rate in order to make the battery last
> longer.

it should NOT do this. I set the bios to disable speedstep and to
'max performance' while on AC. also, i run apm and not acpi.

> It can also be that the case that the "cooling solution" (ie: fans,
> fins etc) does not work well enough and the ACPI code has slowed
> down the CPU in order to not melt anything [*].

that was also one of my suspicions. the fan is brand new, ibm replaced
it after i sent the unit in because of heat problems.

could it be that the design of this laptop is bad, when it comes to
heat conduction?

shouldn't i get the full 1.8GHz when running on AC, and be able to
do a buildworld without any sig11 on a hot summer day (~28 deg c room
temp). those sig11 are just another thing that may be connected to my
low cpu freq...

> [*] Known in certain circles as a "Warnering your laptop" :-)

haha, i saw those pics, looked scary!
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: make depend is failing

2003-07-18 Thread Tobias Roth
On Fri, Jul 18, 2003 at 09:58:17AM -0700, Chad Lauterbach wrote:
> I'm receiving the following error when trying to do a make depend on my 
> new kernel.  I'm running FreeBSD 4.8-RELEASE and I installed the kernel 
> source from the same cd I installed from.
> 
> ../../dev/fxp/if_fxp.c:81: miibus_if.h: No such file or directory
> ../../dev/fxp/if_aue.c:96: miibus_if.h: No such file or directory
> mkdep: compile failed
> *** Error code 1

you forgot to include miibus in your kernel config. it is required for
fxp.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: dmesg showing wrong frequency (IBM T30)

2003-07-18 Thread Tobias Roth
On Fri, Jul 18, 2003 at 08:07:56AM -0700, Kevin Oberman wrote:
> Were you on AC or battery when you booted? 
> 
> It seems that the T30 (and many other laptops from multiple vendors)
> does not change the CPU speed when APM/ACPI from FreeBSD tells it
> to. If I boot on battery, my system stays at 1.2 GHz and if I boot on
> AC power, the system runs 1.8 GHz. Changes to the power source made
> after it is up seem to have no effect.

i was on AC all the time. i tried all combinations in the bios
(speedstep on/off, max performance setting, ...), always the same.

how do you detect what clockspeed your system runs at? did your dmesg
ever show something close to 1.8GHz?

also, windows is always detecting those 1.2GHz, which indicates for me
that the problem is not within the freebsd apm/acpi implementation.
i am compiling -current at the moment to see what acpi is reporting.

but then, the system is going back to ibm anyway because the second ram
slot dies (a known problem). this will possibly force them to switch
the mainboard, and i will then see whether the new cpu gets detected
differently (and maybe even my ovberheating problems will be solved).
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: dmesg showing wrong frequency (IBM T30)

2003-07-18 Thread Tobias Roth
On Fri, Jul 18, 2003 at 05:17:20PM +0300, Vitali Djatsuk wrote:
> Nothing is wrong. This is a thermal protection mode that use P 4 Molbile
> processors, this means that when there is nothing to do the processor
> works at 1,2Ghz according to your cpu, try to do some workout for youer
> system, then check your processor frequency

how would I check the current cpu frequency? i already tried this with
these various windows apps, they all never showed a current cpu freq
higher than 1.2GHz.

also, i have the possibility in bios to disable intel speedstep, and to
set the system to run at max performance while on ac. no matter how i set
these, dmesg always shows the same.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


dmesg showing wrong frequency (IBM T30)

2003-07-18 Thread Tobias Roth
Hi

On my IBM T30 1.8GHz, dmesg (with both 4.8 and 5.1) shows me this line:

CPU: Intel(R) Pentium(R) 4 Mobile CPU 1.8GHz (1196.13-MHz 686-class CPU)

Various windows utilities also claim that the cpu identification string
marks my cpu as 1.8 GHz unit, while the maximum frequency always gets
detected as something just below 1.2GHz.

What is wrong here? To other IBM T30 users: Is your CPU identification
correct?

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


getting arp cache entry reliably

2003-07-15 Thread Tobias Roth
Hi

i have the following task to do:

i need to get the mac adress of my first upstream router (i.e my default
router). there are a number of constraints, however:

1) detection has to be as fast as possible, but 100% reliable
2) i can only use tools from /bin and /sbin, nothing from under /usr.
3) it has to be done from a shell script without any external c hacks.
4) all information i have at this point is the fixed IP adress of the
router.

right know i am doing this:

i configure my interface with an arbitrary ip (any IP from within the
RFC 1918 adress space, notably NOT within the same subnet as the router).
i cannot just use an ip within the same subnet as the router is because i
do not want to disturb the network.
next i set my default route to my interface
then i ping the router
after that, i have an entry in my arp cache which i read with the route
command and parse with the sh builtin expr.

this looks at follows (my router is 192.168.1.1):

ifconfig fxp0 10.11.12.13
ifconfig fxp0 up
route add default -interface fxp0
ping -c 5 -t 5 -m 1 -n -q 192.168.1.1
route=` route -n -v get 192.168.1.1 `
macaddr=`expr "//${route}" : ".* 192.168.1.1 \(.*\) fxp0.*10.11.12.13$" `

my problem with the above sequence is: sometimes i get an arp cache entry,
sometimes i don't. i've tried varying the -c and -t flags of ping with
little success.

as there a better way of doing this, or are some other flags to ping more
promising?

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


Re: gkrellm-xkb doesnt work

2003-07-02 Thread Tobias Roth
> > I just installed gkrellm-xkb from the ports (1.00 on 5.1 release with
> > Xfree86-4.3.0,1 and gkrellm2). I can enable it in gkrellm config, but
> > there is no menu entry to configure it. The gkrellm install log says
> > it installed just fine. The krell where the flags should be just shows
> > a question mark.

i figured it out. Besides removing the options in XF86Config, I also
had to remove the file
  /usr/X11R6/lib/X11/xkb/X0-config.keyboard
that was generated by xf86cfg.

> > Is there normally an entry under Configuration/Plugins where I can
> > adjust settings?
> 
> This plugin have no configuration dialog, that's intended.

hehe, I somehow expected to be able to change the keyboard layout with
a click. but the plugin does not intend that. looks like someone (me?)
will have to implement another plugin that has this capability.

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


gkrellm-xkb doesnt work

2003-07-02 Thread Tobias Roth
Hi

I just installed gkrellm-xkb from the ports (1.00 on 5.1 release with
Xfree86-4.3.0,1 and gkrellm2). I can enable it in gkrellm config, but
there is no menu entry to configure it. The gkrellm install log says
it installed just fine. The krell where the flags should be just shows
a question mark.

Is there normally an entry under Configuration/Plugins where I can
adjust settings?
Is my Xfree86Config wrong?

Section "InputDevice"
Identifier  "Inspiron Keyboard"
Driver  "keyboard"
Option  "XkbRules" "xfree86"
Option  "XkbModel" "inspiron"
Option  "XkbLayout" "us"
EndSection

Is there anything else I might have missed? Who has got this thing
working?

Oh, and the checksums seem wrong. I had them overridden, maybe there
lies the problem?

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


boot0 or boot1 broken, how to fix?

2003-06-19 Thread Tobias Roth
Hi

I somehow destroyed some of my boot files, as it seems. The bootmanager
seems to work: The F1-FN selection appears and works for a different
install on the same disk. But if I chose the broken one, all that
appears is a / and the machine hangs. I fscked and successfully mounted
that partition with help of the fixit floppy. So my questions:

1) what's the problem here and how can I fix it?
2) if it actually would be a broken mbr, how would I fix that?
   i looked for boot0cfg on the fixit floppy, but as boot0cfg is
   linked to libc, I guess it didn't fit onto there. is it on the
   fixit cd rom at least?

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


dualboot, first fbsd, then xp

2003-06-16 Thread Tobias Roth
Hi

Is it save to install WinXP after FreeBSD? My IBM recovery cd goofed
up my WinXP and I'd like to reinstall XP only and keep my existing
FreeBSD slices intact. Same goes for the MBR, of course.

And yes, I will back up my data in any case, but I'd still hate it if
I had to set up my whole system again.

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


Re: ramdisk howto???

2003-06-09 Thread Tobias Roth
On Mon, Jun 09, 2003 at 11:14:21AM -0400, [EMAIL PROTECTED] wrote:
> I want to to know how to create a ram file system for /var and /tmp so
> that i can boot from flash memory and mount those two file systems on
> ramfs. I've looked for howto's online but haven't found anything. any
> suggestions

have a look at http://neon1.net

the minibsd part is what you are looking for.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Ghost images?

2003-06-09 Thread Tobias Roth
On Sun, Jun 08, 2003 at 11:14:53PM -0700, Remington L. wrote:
> I am looking for software that has the capabilities of Norton Ghost for
> FreeBSD. I am having problems finding such an application. Does one exist?

I do not exactly know what Norton Ghost is capable of, but I think
dump(8) or dd(1) will probably do what you want. Be careful with dd
though, you can easily delete all your data.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Startup files

2003-06-08 Thread Tobias Roth
On Sun, Jun 08, 2003 at 03:10:13PM -0600, Ken Thompson wrote:
> Where do I put things to load during boot, things like loading modules and 
> starting kdm?? Poked about some and am working my way through the complete 
> bsd #3 as well as the "book" which I downloaded, but I haven't found 
> reference to the above, yet..
> Thanks to all in advance.

things you install from the ports or through packages get started from
/usr/local/etc/rc.d/ . Things in the base system get configured to start
in /etc/rc.conf and ge tstarted by scripts in /etc/rc.d (for 5.0 and later).
kdm gets started through /etc/ttys (I think... maybe there is also a
different method). Modules can be loaded from /boot/loader.conf.

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


racoon problem with transport mode

2003-06-08 Thread Tobias Roth
Hi

I want to set up an ipsec transport connection between two freebsd
hosts, 192.168.0.1 (host A) and 192.168.0.66 (host B). It seems like
the connection is set up correctly in only one direction:

B# ping -c 1 192.168.0.1

A# setkey -lD
No SAD entries. [a couple of those]
0300 esp L 09d18b19 ???/??? #255 192.168.0.66 -> #255 192.168.0.1
0301 esp L 09d18b19 ???/??? #255 192.168.0.66 -> #255 192.168.0.1
3302eesp L 09d18119 ???/??? #255 192.168.0.66 -> #255 192.168.0.1
0303 esp L 09d18b19 ???/??? #255 192.168.0.66 -> #255 192.168.0.1
0304 esp L 09d18b19 ???/??? #255 1921168.0.66 -> #255 192.168.0.1
No SAD entries. [from now on, only those]

B# setkey -lD
No SAD entries. [again a couple of those]
0255 esp L 051798e8 ???/??? #255 192.168.0.1 -> #255 192.168.0.66
0256 esp L 051798e8 ???/??? #255 192.168.0.1 -> #255 192.168.0.66
0257 esp M 09d18b19   0/big #255 192.168.0.66 -> #255 192.168.0.1
0257 esp M 051798e8   0/big #255 192.168.0.1 -> #255 192.168.0.66
[from now on, the last two lines get repeated]

A# cat racoon.log [only interesting parts]
INFO: isakmp.c:1358:isakmp_open(): 192.168.0.1[500] used as isakmp
  port (fd=5)
INFO: isakmp.c:894:isakmp_ph1begin_r(): respond new phase 1
  negotiation: 192.168.0.1[500]<=>192.168.0.66[500]
INFO: isakmp.c:899:isakmp_ph1begin_r(): begin Aggressive mode.
NOTIFY: oakley.c:2040:oakley_skeyid(): couldn't find the proper
pskey, try to get one by the peer's address.
INFO: isakmp.c:2412:log_ph1established(): ISAKMP-SA established
  192.168.0.1[500]-192.168.0.66[500] spi:591b8a7c82d7c22f:
  2146f0ef2fc89438
INFO: isakmp.c:1049:isakmp_ph2begin_r(): respond new phase 2
  negotiation: 192.168.0.1[0]<=>192.168.0.66[0]
ERROR: pfkey.c:210:pfkey_handler(): pfkey UPDATE failed:
   Invalid argument
ERROR: pfkey.c:210:pfkey_handler(): pfkey ADD failed:
   Invalid argument
ERROR: pfkey.c:741:pfkey_timeover(): 192.168.0.66 give up to get
   IPsec-SA due to time up to wait.

B# cat racoon.log
INFO: isakmp.c:1358:isakmp_open(): 192.168.0.66[500] used as isakmp
  port (fd=5)
INFO: isakmp.c:1684:isakmp_post_acquire(): IPsec-SA request for
  192.168.0.1 queued due to no phase1 found.
INFO: isakmp.c:798:isakmp_ph1begin_i(): initiate new phase 1
  negotiation: 192.168.0.66[500]<=>192.168.0.1[500]
INFO: isakmp.c:803:isakmp_ph1begin_i(): begin Aggressive mode.
INFO: vendorid.c:128:check_vendorid(): received Vendor ID:KAME/racoon
NOTIFY: oakley.c:2040:oakley_skeyid(): couldn't find the proper
pskey, try to get one by the peer's address.
INFO: isakmp.c:2412:log_ph1established(): ISAKMP-SA established
  192.168.0.66[500]-192.168.0.1[500] spi:591b8a7c82d7c22f:
  2146f0ef2fc89438
INFO: isakmp.c:942:isakmp_ph2begin_i(): initiate new phase 2
  negotiation: 192.168.0.66[0]<=>192.168.0.1[0]
INFO: pfkey.c:1110:pk_recvupdate(): IPsec-SA established:
  ESP/Transport 192.168.0.1->192.168.0.66 spi=85432552(0x51798e8)
INFO: pfkey.c:1322:pk_recvadd(): IPsec-SA established:
  ESP/Transport 192.168.0.66->192.168.0.1 spi=164727577(0x9d18b19)


When I flush the SPD, pinging from both sides works. Though when I ping
from A to B instead from B to A as above (with the SPs set), I get a
.ping: sendto: No such file or directory.

My racoon.conf files look correct to me:

A# cat racoon.conf [heavily snipped]
path pre_shared_key "/usr/local/etc/psk.txt"
listen
{
isakmp 192.168.0.1 [500];
}
remote anonymous
{
[snip]
}
sainfo anonymous
{
[snip]
}

and on B the same except the listen part. The stuff I snipped is also
identical on both hosts, it has been taken from Dru Lavignes onlamp
tutorial (great work, btw!).

psk.txt has correct privileges and looks like this on both hosts:

192.168.0.66 secretkey
192.168.0.1  secretkey

A# setkey -DP [snipped a bit]
192.168.0.66[any] 192.168.0.1[any] any
in ipsec
esp/transport/192.168.0.66-192.168.0.1/require
192.168.0.1[any] 192.168.0.66[any] any
out ipsec
esp/transport/192.168.0.1-192.168.0.66/require


Ok, I think that's all information that is important. I don't really
know where to look for the problem, is it a problem at phase 2, or is
phase 1 briefly established and then somehow collapses, and therefor
the problem is at phase 1? Can I rule out a routing problem, due to
the fact that with a flushed SPD, pinging works? The firewall is set
to let everything pass, btw. Is it a problem that both hosts are on
the same subnet?

Any help is apreciated, and please tell me if you need more information.

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


vnconfig and chflags

2002-09-18 Thread Tobias Roth

Hi

When I create a file with a filesystem on it, then mount it with vnconfig, then 
chflags schg the file, I can still write to the mounted dir. Is this meant to be like 
that?

thanks

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



vnconfig and VNIOCATTACH

2002-09-18 Thread Tobias Roth

Hi

I use the following commands to create a plain file, make a filesystem on it and mount 
it:
   vnconfig -T -S 128m -Z -s labels -c vn0 /usr/plainfile
   chmod 600 /usr/plainfile
   disklabel -r -w vn0 auto
   disklabel -e vn0
   newfs /dev/vn0c
   mount /dev/vn0c /mnt/targetdir

For mounting the device (for instance after a reboot):
   vnconfig -e -s labels vn0 /usr/plainfile mountro=/mnt/targetdir

And for disabling:
   vnconfig -d vn0c /usr/plainfile mount=/mnt/targetdir

1) do I use these commands correctly? I basically just copied stuff from the manpages
2) after disabling, when I am trying to re-enable the device, I get
   vnconfig: VNIOCATTACH: Device busy
What am I doing wrong?

thanks in advance

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