Auto Mounting USB Sticks and CD's

2008-03-28 Thread Sam Fourman Jr.
Hello,

I have a FreeBSD 7.0 install, and I am running the Gnome Desktop (2.22)
I was hoping that someone had a nice HOWTO or could paste their config files.
I want my usb sticks to auto mount when I insert them like they do on PC-BSD

I know that if I put gnome_enable in my /etc/rc.conf then it all works
BUT, I would prefer not to use gdm on bootup


I also am having trouble trying to get k3b to burn CD''s without being root

Thank you for any help

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


Re: Auto Mounting USB Sticks and CD's

2008-03-28 Thread Kevin Downey
On Thu, Mar 27, 2008 at 11:22 PM, Sam Fourman Jr. [EMAIL PROTECTED] wrote:
 Hello,

  I have a FreeBSD 7.0 install, and I am running the Gnome Desktop (2.22)
  I was hoping that someone had a nice HOWTO or could paste their config files.
  I want my usb sticks to auto mount when I insert them like they do on PC-BSD

  I know that if I put gnome_enable in my /etc/rc.conf then it all works
  BUT, I would prefer not to use gdm on bootup


  I also am having trouble trying to get k3b to burn CD''s without being root

  Thank you for any help

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

you can put gdm_enable=NO after gnome_enable=YES


-- 
The Mafia way is that we pursue larger goals under the guise of
personal relationships.
 Fisheye
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Card readers - Does anyone know where to get help for this?

2008-03-28 Thread Da Rock
I must be the only one who has this... Can anyone redirect me to a list,
resource, whatever that my give me some clue to this problem?

Cheers


On Sat, 2008-03-22 at 10:42 +1000, Da Rock wrote:
 I have mentioned this before in other threads, but it appears it
 requires a thread of its own.
 
 I have a laptop with a card reader built in which I have never been able
 to get to work. Everything I have looked up regarding these has to do
 with usb versions, and other than the laptops my card readers are usb so
 this shouldn't be a problem.
 
 In the laptops I have a texas instruments PCI card reader though, which
 gives me a real headache. I can't seem to get them to operate at all, so
 I'm left wondering about drivers and such. These are the specs:
 
 Mass storage controller: Texas Instruments PCIxx21 Integrated FlashMedia
 Controller
 02:09.4 SD Host controller: Texas Instruments
 PCI6411/6421/6611/6621/7411/7421/7611/7621 Secure Digital Controller
 
 I'm currently running Fedora (which seems to work), but I'd like to move
 over to FreeBSD as soon as I can get all the features needed on these. I
 seem to be making headway on most of these, so here's hoping.
 
 The card reader is capable of reading nearly all format cards, including
 xD which is a main reason why I'd like to get it to work.
 
 Any links and info would be very appreciated.
 
 ___
 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]


Reconditioned Laptop advice

2008-03-28 Thread dhaneshk k


People   : I want to bu a laptop , for the time being I can't go for a high end 
machine like hp8510b or like those 

But I found in internet , about IBM  Thinkpad T40   Reconditioned :

So I want  people's valuable advice on Reconditioned machine ;is it safe to 
have this machine , I want to use FreeBSD on this machine , what about the 
reliability of Reconditioned machines ?: your advices may help me to take a 
good decision on my purchase.

thanks in advance
dhanesh


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

_
Video: Get a glimpse of the latest in Cricket, Bollywood, News and Fashion. 
Only on MSN videos.
http://video.msn.com/?mkt=en-in___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Auto Mounting USB Sticks and CD's

2008-03-28 Thread Norberto Meijome
On Fri, 28 Mar 2008 01:22:55 -0500
Sam Fourman Jr. [EMAIL PROTECTED] wrote:

 Hello,
 
 I have a FreeBSD 7.0 install, and I am running the Gnome Desktop (2.22)
 I was hoping that someone had a nice HOWTO or could paste their config files.
 I want my usb sticks to auto mount when I insert them like they do on PC-BSD

not sure how Gnome does it, but I would imagine it uses hald for it. u may have 
it installed already ( man pkg_info if u don't know ;) ).

u need to add this to your rc.conf to have it all running on startup

hald_enable=YES
polkitd_enable=YES
dbus_enable=YES

 
 I know that if I put gnome_enable in my /etc/rc.conf then it all works
 BUT, I would prefer not to use gdm on bootup

Kevin replied to this. I would just add, if you want some other login manager 
to run, (xdm, wdm), you'd have to install them and enable them in rc.conf

If you follow Kevin's email by the letter, you'll have to log in to the text 
console and launch your X session manually.

 
 I also am having trouble trying to get k3b to burn CD''s without being root

man devfs.conf

_
{Beto|Norberto|Numard} Meijome

Everything should be made as simple as possible, but not simpler.
  Albert Einstein

I speak for myself, not my employer. Contents may be hot. Slippery when wet. 
Reading disclaimers makes you go blind. Writing them is worse. You have been 
Warned.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Reconditioned Laptop advice

2008-03-28 Thread Predrag Punosevac

dhaneshk k wrote:


People   : I want to bu a laptop , for the time being I can't go for a 
high end machine like hp8510b or like those


But I found in internet , about IBM  Thinkpad T40   Reconditioned :

ThinkPads are the highest quality machines. I honestly thing that there 
is nothing on the market which matches their
quality including Apple laptops.  I have ThingPad 390E PII which is 
seven years old and work like Swiss watch.

I bought it on an auction five years ago for $220.
The so called power sellers on Ebay are actually IBM or Lenovo proxy 
sellers. They sell machines which are back from

the business lease without charging customers taxes. ThinkPads love FreeBSD.

Best,
Predrag


So I want  people's valuable advice on Reconditioned machine ;is it 
safe to have this machine , I want to use FreeBSD on this machine , 
what about the reliability of Reconditioned machines ?: your advices 
may help me to take a good decision on my purchase.


thanks in advance
dhanesh


 
 ___

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



Planning marriage in 2008! Join Shaadi.com matrimony FREE! Try it now! 
http://ss1.richmedia.in/recurl.asp?pid=429


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


Re: Auto Mounting USB Sticks and CD's

2008-03-28 Thread Predrag Punosevac

Norberto Meijome wrote:

On Fri, 28 Mar 2008 01:22:55 -0500
Sam Fourman Jr. [EMAIL PROTECTED] wrote:

  

Hello,

I have a FreeBSD 7.0 install, and I am running the Gnome Desktop (2.22)
I was hoping that someone had a nice HOWTO or could paste their config files.
I want my usb sticks to auto mount when I insert them like they do on PC-BSD



not sure how Gnome does it, but I would imagine it uses hald for it. u may have 
it installed already ( man pkg_info if u don't know ;) ).

u need to add this to your rc.conf to have it all running on startup

hald_enable=YES
polkitd_enable=YES
dbus_enable=YES

  



The HALD needs to be started in the specific order as

# enable HALd
dbus_enable=YES
polkitd_enable=YES
hald_enable=YES


/etc/fstab needs to be edited

/dev/cd0 /usr/home/Pedja/mnt/cdrom cd9660   rw, noauto  0   0
/dev/acd0/usr/home/Pedja/mnt/cdrom cd9660   rw, noauto  0   0
/dev/fd0 /usr/home/Pedja/mnt/floppy msdosfs rw, noauto  0   0
/dev/ugen0 /usr/home/Pedja/mnt/camera msdosfs rw, noauto  0   0


/etc/devfs.conf neets to be edited

# Allow all users to mount the floppy disk.
own   /dev/fd0root:operator
perm  /dev/fd00666

# Allow members of the group operator to mount CD-ROMs.

perm  /dev/acd0   0666
perm  /dev/cd00666

# Commonly used by many ports  
link  cd0 cdrom

link  cd0  dvd
link  cd0  rdvd

link  acd0 cdrom
link  acd0 dvd
link  acd0 rdvd


# Misc other devices

permcdrom   0666
permdvd 0666
permrdvd0666
permcd0 0666
permata 0666
permxpt00666
permpass0   0666
perm/dev/uscanner0 0666
permusb*  0666
permulpt* 0666
permlpt00666 
permugen*   0666


also you have to add in /etc/sysctl.conf

vfs.usermount=1



For USB stick also /etc/usbd.conf needs to be edited. I mount USB stick 
manually so figure out yourself.


Either read documentation or copy important files from PC-BSD.


I know that if I put gnome_enable in my /etc/rc.conf then it all works
BUT, I would prefer not to use gdm on bootup



Kevin replied to this. I would just add, if you want some other login manager 
to run, (xdm, wdm), you'd have to install them and enable them in rc.conf

If you follow Kevin's email by the letter, you'll have to log in to the text 
console and launch your X session manually.

  

I also am having trouble trying to get k3b to burn CD''s without being root



man devfs.conf

_
{Beto|Norberto|Numard} Meijome

Everything should be made as simple as possible, but not simpler.
  Albert Einstein

I speak for myself, not my employer. Contents may be hot. Slippery when wet. 
Reading disclaimers makes you go blind. Writing them is worse. You have been 
Warned.
___
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]


Re: Reconditioned Laptop advice

2008-03-28 Thread Wojciech Puchar


So I want  people's valuable advice on Reconditioned machine ;is it safe to 
have this machine , I want to use FreeBSD on this machine , what about the 
reliability of Reconditioned machines ?: your advices may help me to take a 
good decision on my purchase.


actually better than new. everything that had to fail, already failed;)


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


Re: hplip setup problems

2008-03-28 Thread Isaac Mushinsky
On Thursday 27 March 2008 10:37:48 you wrote:
 On Thursday 27 March 2008, Isaac Mushinsky wrote:
  Anish Mistry (the port maintainer) has answered below. It seems
  that this is a printer defect after all then. I'll try to patch the
  code to fill in the missing serial id with some fake string, and
  shall report if I get the thing to work.
 
  Is the hp backend the only entry point to libusb, or should I have
  to patch libusb? e.g. cups or sane apps, can they call libusb
  directly, or only through hpaio backend? I would rather have a
  patch to hplip distribution only, because libusb correctly throws
  an error code for the missing serial id. But if some apps query the
  device directly, the missing serial id may be a problem, they will
  all have to all be patched separately.

 See what you can get to work, and then we can decide on what the
 proper fix entails.

It looks like there is some problem with the C42XX printers that
   is causing the serial numbers to no be reported.  I got a similar
   report about a HP Photosmart C4200 series a couple weeks ago.
   Unfortunately I'm VERY busy right now.  It will be a couple of
   week before I can dive into the issue.  If you do happen to find
   a solution, please let me know so I can integrate it into the
   port and notify others. Thanks,
--
   Anish Mistry
   [EMAIL PROTECTED]
   AM Productions http://am-productions.biz/


I tried to load hplip into debugger, but if I try to trace the problem, it 
works! Serial number is read correctly. It also seems to work with a non-SMP 
kernel (at least the race does not show). The printer has the serial number 
after all.

There appears to be some sort of race condition when calling usb_control_msg 
for product id and then serial id strings in rapid succession in musb.c. I am 
not sure how to deal with that yet, but pausing in between the calls is a 
workaround for now. What can be done in between  the calls other than close 
and reopen the device? 

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


Install FreeBSD on P5N-MX, NF-610i problem

2008-03-28 Thread Victor M. Blood
Hi, All.

Then FreeBSD boot from cdrom, at stage runing kernel computer reboots.
I can see, that bsd wrote me kernel head, but it's dies before any
device information are listed.

machine: Pentuim E2180 on Asus P5N-MX, chip: NF-610i
rel: 8.0 TODAY SNAP ! i386/GENERIC

-- 
With all regards, Victor M. Blood. mailto: [EMAIL PROTECTED]
FTN: 2:5024/[EMAIL PROTECTED], ICQ#3567656




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


Re: Auto Mounting USB Sticks and CD's

2008-03-28 Thread Mike Clarke
On Friday 28 March 2008, Sam Fourman Jr. wrote:

 I also am having trouble trying to get k3b to burn CD''s without
 being root

The install-message for k3b explains how to do this...

pkg_info -Dx k3b

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


Re: Auto Mounting USB Sticks and CD's

2008-03-28 Thread Dominic Fandrey

Wojciech Puchar wrote:


/etc/fstab needs to be edited

/dev/cd0 /usr/home/Pedja/mnt/cdrom cd9660   rw, noauto  0   0


rw for cdrom?


Good point! I'll change this. It seems to be working anyway, though.

But unfortunately I have not found any devd event that gets triggered on CDROM 
changes. So CDs only show up when they were present on boot. Post-boot the 
labels for CDs are not updated by the kernel and CDs will always appear with 
the label of the CD that has been present during boot.

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


Re: Auto Mounting USB Sticks and CD's

2008-03-28 Thread Wojciech Puchar


/etc/fstab needs to be edited

/dev/cd0 /usr/home/Pedja/mnt/cdrom cd9660   rw, noauto  0   0


rw for cdrom?


/dev/acd0/usr/home/Pedja/mnt/cdrom cd9660   rw, noauto  0   0
/dev/fd0 /usr/home/Pedja/mnt/floppy msdosfs rw, noauto  0   0
/dev/ugen0 /usr/home/Pedja/mnt/camera msdosfs rw, noauto  0   0


/etc/devfs.conf neets to be edited

# Allow all users to mount the floppy disk.
own   /dev/fd0root:operator
perm  /dev/fd00666

# Allow members of the group operator to mount CD-ROMs.

perm  /dev/acd0   0666
perm  /dev/cd00666

# Commonly used by many ports  link  cd0 cdrom
link  cd0  dvd
link  cd0  rdvd

link  acd0 cdrom
link  acd0 dvd
link  acd0 rdvd


# Misc other devices

permcdrom   0666
permdvd 0666
permrdvd0666
permcd0 0666
permata 0666
permxpt00666
permpass0   0666
perm/dev/uscanner0 0666
permusb*  0666
permulpt* 0666
permlpt00666 permugen*   0666

also you have to add in /etc/sysctl.conf

vfs.usermount=1



For USB stick also /etc/usbd.conf needs to be edited. I mount USB stick 
manually so figure out yourself.


Either read documentation or copy important files from PC-BSD.


I know that if I put gnome_enable in my /etc/rc.conf then it all works
BUT, I would prefer not to use gdm on bootup



Kevin replied to this. I would just add, if you want some other login 
manager to run, (xdm, wdm), you'd have to install them and enable them in 
rc.conf


If you follow Kevin's email by the letter, you'll have to log in to the 
text console and launch your X session manually.



I also am having trouble trying to get k3b to burn CD''s without being 
root




man devfs.conf

_
{Beto|Norberto|Numard} Meijome

Everything should be made as simple as possible, but not simpler.
  Albert Einstein

I speak for myself, not my employer. Contents may be hot. Slippery when 
wet. Reading disclaimers makes you go blind. Writing them is worse. You 
have been Warned.

___
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]



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


Re: Auto Mounting USB Sticks and CD's

2008-03-28 Thread Dominic Fandrey

Wojciech Puchar wrote:


/etc/fstab needs to be edited

/dev/cd0 /usr/home/Pedja/mnt/cdrom cd9660   rw, noauto  0   0


rw for cdrom?


Sorry about the strange answer everyone, I mistook this for my auto-mounting 
thread on ports@: http://docs.freebsd.org/cgi/mid.cgi?47EAE43E.4040600

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


Re: problems with i386 jail on amd64 install 7.0 Release

2008-03-28 Thread Kris Kennaway

Mark Moellering wrote:
I have been trying to install an i386 jail on an amd64 install.  I added 
Target=i386 to the command line in the make buildworld and installworld 
commands.  I keep getting the following (or similar) error


'Target' does nothing, there is no such variable.  If you meant 
'TARGET', that is a real variable but not the one you want.  You need to 
add 'TARGET_ARCH=i386' to your build/installworld to successfully 
cross-compile.


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


Re: Install FreeBSD on P5N-MX, NF-610i problem

2008-03-28 Thread Victor M. Blood
On 28.03.2008, Victor M. Blood wrote:
 Hi, All.

 Then FreeBSD boot from cdrom, at stage runing kernel computer reboots.
 I can see, that bsd wrote me kernel head, but it's dies before any
 device information are listed.

 machine: Pentuim E2180 on Asus P5N-MX, chip: NF-610i
 rel: 8.0 TODAY SNAP ! i386/GENERIC

all releases that been tested: 6.0, 6.3, 7.0, 8.0-current cann't boot!
but WinXP work fine, what is it!? Please, help me.


-- 
With all regards, Victor M. Blood.   mailto: [EMAIL PROTECTED]
FTN: 2:5024/[EMAIL PROTECTED], ICQ#3567656





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


Re: problems with i386 jail on amd64 install 7.0 Release

2008-03-28 Thread Mark Moellering
On Friday 28 March 2008 06:23:49 am Kris Kennaway wrote:
 Mark Moellering wrote:
  I have been trying to install an i386 jail on an amd64 install.  I added
  Target=i386 to the command line in the make buildworld and installworld
  commands.  I keep getting the following (or similar) error

 'Target' does nothing, there is no such variable.  If you meant
 'TARGET', that is a real variable but not the one you want.  You need to
 add 'TARGET_ARCH=i386' to your build/installworld to successfully
 cross-compile.

 Kris

Kris, 
Thanks for the reply.
I aplogize, I should have been more explicit.

I tried TARGET=i386 ; TARGET_ARCH=i386; and both together, all gave the same 
error.

(/libexec/ld-elf.so.1: Shared object libedit.so.6 not found, required 
by sh)

Have you or has anyone else on the list successfuly done this?

Thanks Again

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


Re: fault tolerance with FreeBSD for old DOS app

2008-03-28 Thread B. Bonev
- Original Message - 
From: Brian A. Seklecki [EMAIL PROTECTED]

To: B. Bonev [EMAIL PROTECTED]
Cc: freebsd-questions@freebsd.org
Sent: Tuesday, March 25, 2008 12:12 AM
Subject: Re: fault tolerance with FreeBSD for old DOS app




On Mon, 2008-03-24 at 19:36 +0200, B. Bonev wrote:

I want advice for old DOS app on Windows PC, that I need to make on 2
PC-s
fault tolerant. Any advice for working solution on FreeBSD?


Yep...rewrite the database in SQL with a PHP front end.  Import the data
from the old system.  Use a Radware/F5 Load Balancer for the web and
Slony-I for the database replication.

Welcome to 2008.

It is a accounting program, and will be too much efford for nothing. And I'm
not a programmer.
I 'm thinking for something like heartbeat, or realtime replication server -
2 identical machines,
and when one of them break, staff to continue their work, without too much
trouble... 



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


Re: tinybsd doesn't have /etc/rc.d/ ?

2008-03-28 Thread Ashant Chalasani
Still no go on getting sshd to start.  A few things have gotten better though..

Both /etc/rc and /etc/defaults/rc.conf were missing.  Copying these
from host to tinybsd_ap helped.

init right now looks like:

--
Timecounters tick every 1.000 msec
Elan-mmcr driver: MMCR at 0xc5ad7000. PPS support.
Elan-mmcr Soekris net45xx comBIOS ver. 1.23a 20040211 Copyright (C) 2000-2003
ipfw2 initialized, divert enabled, rule-based forwarding disabled,
default to accept, logging disabled
ad0: 124MB ZOOMCF 128MB CF040520 at ata0-master PIO4
Trying to mount root from ufs:/dev/ad0a
WARNING: /mnt was not properly dismounted
Invalid time in clock: check and reset the date!
Loading configuration files.
WARNING: / was not properly dismounted
mtree: line 6: unknown group wheel
cp: /var/log/lastlog: No such file or directory
chmod: /var/log/lastlog: No such file or directory
cp: /var/log/wtmp: No such file or directory
chmod: /var/log/wtmp: No such file or directory
eval: cannot create /var/run/dmesg.boot: No such file or directory
eval: cannot create /var/run/syslogd.sockets: No such file or directory
Starting syslogd.
syslogd: cannot open pid file: No such file or directory
Mar 28 08:52:31  syslogd: cannot create /var/run/log: No such file or directory
syslogd: child pid 83 exited with return code 1
Flushed all rules.
00100 allow ip from any to any via lo0
00200 deny ip from any to 127.0.0.0/8
00300 deny ip from 127.0.0.0/8 to any
Firewall rules loaded.
net.inet.ip.fw.enable: 1 - 1
lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST metric 0 mtu 16384
inet 127.0.0.1 netmask 0xff00
Additional routing options:.
Additional IP options:.
Starting sshd.
Missing privilege separation directory: /var/empty
bridge0: Ethernet address: ca:03:78:21:3c:50
bridge0
ath0: promiscuous mode enabled
sis0: promiscuous mode enabled
Starting cron.
cron: can't open or create /var/run/cron.pid: No such file or directory

Fri M1sis0: Applying short cable fix (reg=f5)
sis0: link state changed to UP
-

/var/log/ and /var/run/ directory contents are:

[EMAIL PROTECTED] /var/log]# l
total 4
drwxr-xr-x  24 root  0  512 Mar 25 19:37 ..
-rw-r--r--   1 root  00 Mar 27 14:00 lastlog
-rw-r--r--   1 root  00 Mar 27 14:00 wtmp
drwxr-xr-x   2 root  0  512 Mar 27 14:01 .

[EMAIL PROTECTED] /var/run]# l
total 20
drwxr-xr-x   2 bind  53   512 Mar 25 17:02 named
drwxrwx---   2 root  69   512 Mar 25 17:02 ppp
drwxr-xr-x  24 root  0512 Mar 25 19:37 ..
-rw-r--r--   1 root  0  0 Mar 28 09:36 utmp
-rw-r--r--   1 root  0  0 Mar 28 09:36 syslogd.sockets
-rw-r--r--   1 root  0   8879 Mar 28 09:36 dmesg.boot
-rw-r--r--   1 root  0  0 Mar 28 09:36 clean_var
drwxr-xr-x   4 root  0512 Mar 28 09:36 .
-rw---   1 root  0  4 Mar 28 09:36 cron.pid

Can anyone see why the /var/log and /var/run errors are occuring
inspite of files existing and writable?

Thanks
Ashant





On Thu, Mar 27, 2008 at 2:01 PM, Ashant Chalasani [EMAIL PROTECTED] wrote:
 The whole of /etc/rc.d/ directory is missing on TinyBSD 0.9.  Is this
  by design?  I'm hoping someone can throw light on it.

  I copied the sshd script manually from my 7.0-REL host onto the flash
  image, as also a simple initialization script that I wrote for setting
  up the network.  But it looks like lot more startup scripts from
  /etc/rc.d/ are required to initialize the system.  I can ping the
  device on the network port, which means my network script ran.  But
  sshd on port 22 isn't available, so I guess /etc/rc.d/sshd failed.

  I prefer to copy only the necessary scripts into my target's
  /etc/rc.d/ from the host, and not the whole directory.  There are 143
  scripts in rc.d.  Is there a minimal subset of scripts to setup the
  system, networking + basic services (dhclient, sshd etc)?

  Thanks
  Ashant

  --
  http://code.google.com/p/tinybsdap/




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


Re: Auto Mounting USB Sticks and CD's

2008-03-28 Thread Raphael Becker
On Fri, Mar 28, 2008 at 12:15:13AM -0700, Predrag Punosevac wrote:
 u need to add this to your rc.conf to have it all running on startup
 
 hald_enable=YES
 polkitd_enable=YES
 dbus_enable=YES
 The HALD needs to be started in the specific order as
 
 # enable HALd
 dbus_enable=YES
 polkitd_enable=YES
 hald_enable=YES

In /etc/rc.conf are just defined variables. Every rc-script sources this
rc.conf, not rc.conf is executing something. The order of these lines is
irrelevant. In general the processing order of rc-scripts is arranged by 
rcorder(8), read the man page. 

Regards
Rapael

-- 
Raphael Becker  [EMAIL PROTECTED]  http://rabe.uugrn.org/
GnuPG:E7B2 1D66 3AF2 EDC7 9828  6D7A 9CDA 3E7B 10CA 9F2D
.|.|.|.|.|.|.|..


pgpsaBLbc14bY.pgp
Description: PGP signature


Re: mouse movement repaint

2008-03-28 Thread Frank Jahnke
The mouse issue seems to be caused by a very recent upgrade to
xorg-server.  It can be fixed temporarily by disabling moused and using
xorg to control mouse movements (use psm0 instead of sysmouse).  There
is an active discussion on the X11 list to diagnose and solve the
problem.

I've seem the other symptoms you describe as well, but so far they have
not been mentioned.  I'd suggest following up with a post to that list.

Frank

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


Re: Reconditioned Laptop advice

2008-03-28 Thread Robert Huff

Predrag Punosevac writes:

  ThinkPads are the highest quality machines. I honestly thing that
  there is nothing on the market which matches their quality
  including Apple laptops.

/Caveat emptor/.  I'm hearing reports from those who deal with
laptops much more that I do that quality has dropped substantially
since Lenovo took over.


Robert Huff


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


Re: Reconditioned Laptop advice

2008-03-28 Thread DAve

Robert Huff wrote:

Predrag Punosevac writes:


 ThinkPads are the highest quality machines. I honestly thing that
 there is nothing on the market which matches their quality
 including Apple laptops.


/Caveat emptor/.  I'm hearing reports from those who deal with
laptops much more that I do that quality has dropped substantially
since Lenovo took over.


I am on my second Thinkpad/Lenovo, first a G40, now a R61i. I only 
replaced my G40 because it wouldn't hold enough ram to run VMWare 
player. I do not think the quality has suffered at all. I cannot say it 
runs FreeBSD well, though any FreeBSD live CD ran without error and 
everything functioned on the G40. I run FreeBSD in VMWare on the R61i.


Fantastic keyboards, long battery life, great screens. They hold up very 
well as I am hard on equipment. These things are tanks.


DAve


--
In 50 years, our descendants will look back on the early years
of the internet, and much like we now look back on men with
rockets on their back and feathers glued to their arms, marvel
that we had the intelligence to wipe the drool from our chins.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


You freebsd-questions@freebsd.org are not member (eastasia-debate ML)

2008-03-28 Thread eastasia-debate-admin
You are not a member of this mailing list [EMAIL PROTECTED].

If you know the general guide of this list, please send mail with
the mail body 

guide

to the address

[EMAIL PROTECTED]

where guide is equal to GUIDE for case insensitive.


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


Re: tinybsd doesn't have /etc/rc.d/ ?

2008-03-28 Thread Ashant Chalasani
Finally got the box to boot, with sshd.  I can connect on port 22, and
login prompt appears.  Very messy though, as this was possible only by
copying over /etc from host.

Can't figure out when I'm having to do all this, and why TinyBSD 0.9
doesn't work out-of-the-make.  Or am I on a total tangent?  Jean?
Patrick?  Anybody there?


On Fri, Mar 28, 2008 at 12:34 PM, Ashant Chalasani [EMAIL PROTECTED] wrote:
 Still no go on getting sshd to start.  A few things have gotten better 
 though..

  Both /etc/rc and /etc/defaults/rc.conf were missing.  Copying these
  from host to tinybsd_ap helped.

  init right now looks like:

  --
  Timecounters tick every 1.000 msec
  Elan-mmcr driver: MMCR at 0xc5ad7000. PPS support.
  Elan-mmcr Soekris net45xx comBIOS ver. 1.23a 20040211 Copyright (C) 2000-2003
  ipfw2 initialized, divert enabled, rule-based forwarding disabled,
  default to accept, logging disabled
  ad0: 124MB ZOOMCF 128MB CF040520 at ata0-master PIO4
  Trying to mount root from ufs:/dev/ad0a
  WARNING: /mnt was not properly dismounted
  Invalid time in clock: check and reset the date!
  Loading configuration files.
  WARNING: / was not properly dismounted
  mtree: line 6: unknown group wheel
  cp: /var/log/lastlog: No such file or directory
  chmod: /var/log/lastlog: No such file or directory
  cp: /var/log/wtmp: No such file or directory
  chmod: /var/log/wtmp: No such file or directory
  eval: cannot create /var/run/dmesg.boot: No such file or directory
  eval: cannot create /var/run/syslogd.sockets: No such file or directory
  Starting syslogd.
  syslogd: cannot open pid file: No such file or directory
  Mar 28 08:52:31  syslogd: cannot create /var/run/log: No such file or 
 directory
  syslogd: child pid 83 exited with return code 1
  Flushed all rules.
  00100 allow ip from any to any via lo0
  00200 deny ip from any to 127.0.0.0/8
  00300 deny ip from 127.0.0.0/8 to any
  Firewall rules loaded.
  net.inet.ip.fw.enable: 1 - 1
  lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST metric 0 mtu 16384
 inet 127.0.0.1 netmask 0xff00
  Additional routing options:.
  Additional IP options:.
  Starting sshd.
  Missing privilege separation directory: /var/empty
  bridge0: Ethernet address: ca:03:78:21:3c:50
  bridge0
  ath0: promiscuous mode enabled
  sis0: promiscuous mode enabled
  Starting cron.
  cron: can't open or create /var/run/cron.pid: No such file or directory

  Fri M1sis0: Applying short cable fix (reg=f5)
  sis0: link state changed to UP
  -

  /var/log/ and /var/run/ directory contents are:

  [EMAIL PROTECTED] /var/log]# l
  total 4
  drwxr-xr-x  24 root  0  512 Mar 25 19:37 ..
  -rw-r--r--   1 root  00 Mar 27 14:00 lastlog
  -rw-r--r--   1 root  00 Mar 27 14:00 wtmp
  drwxr-xr-x   2 root  0  512 Mar 27 14:01 .

  [EMAIL PROTECTED] /var/run]# l
  total 20
  drwxr-xr-x   2 bind  53   512 Mar 25 17:02 named
  drwxrwx---   2 root  69   512 Mar 25 17:02 ppp
  drwxr-xr-x  24 root  0512 Mar 25 19:37 ..
  -rw-r--r--   1 root  0  0 Mar 28 09:36 utmp
  -rw-r--r--   1 root  0  0 Mar 28 09:36 syslogd.sockets
  -rw-r--r--   1 root  0   8879 Mar 28 09:36 dmesg.boot
  -rw-r--r--   1 root  0  0 Mar 28 09:36 clean_var
  drwxr-xr-x   4 root  0512 Mar 28 09:36 .
  -rw---   1 root  0  4 Mar 28 09:36 cron.pid

  Can anyone see why the /var/log and /var/run errors are occuring
  inspite of files existing and writable?

  Thanks
  Ashant







  On Thu, Mar 27, 2008 at 2:01 PM, Ashant Chalasani [EMAIL PROTECTED] wrote:
   The whole of /etc/rc.d/ directory is missing on TinyBSD 0.9.  Is this
by design?  I'm hoping someone can throw light on it.
  
I copied the sshd script manually from my 7.0-REL host onto the flash
image, as also a simple initialization script that I wrote for setting
up the network.  But it looks like lot more startup scripts from
/etc/rc.d/ are required to initialize the system.  I can ping the
device on the network port, which means my network script ran.  But
sshd on port 22 isn't available, so I guess /etc/rc.d/sshd failed.
  
I prefer to copy only the necessary scripts into my target's
/etc/rc.d/ from the host, and not the whole directory.  There are 143
scripts in rc.d.  Is there a minimal subset of scripts to setup the
system, networking + basic services (dhclient, sshd etc)?
  
Thanks
Ashant
  
--
http://code.google.com/p/tinybsdap/
  



  --
  http://code.google.com/p/tinybsdap/




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


Re: FreeBSD for Linux VPS?

2008-03-28 Thread Vince Hoffman
Dan Riordan wrote:
 Hello,
 
 Just wondering if FreeBSD is usable on Linux VPS servers? I run VPS services
 and a client is asking if we could support it. It would be good if we could.
 If you could let me know as soon as you can, that would be super.
 
 Thank you,
 Dan
 
It depends how you do your VPS's If you fully virtualise them with
vmware then yes, otherwise no as FreeBSD is a completely different
operating system than Linux and wont work with things like
openvz/virtuozzo and its Xen support is still experimental.

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


Permission to publish article

2008-03-28 Thread Stacy
To Whom It May Concern:

 

I am executive assistant to Mr. Alan Hess, author of the copyrighted article
If Airlines Sold Paint originally published in Travel Weekly in October of
1998.  Since that time, the Paint satire has been widely circulated on the
Internet, without any citation of authorship.  Mr. Hess is flattered that
you like his work well enough to include it on your website.  

 

When he has been asked for permission to print it in various publications,
including university text books, Mr. Hess has freely given that permission.
If you wish to continue to use the article, please include the following
citation:  

 

Printed with permission.  C Alan H. Hess, 1998.  All rights reserved.

 

Thank you,

 

Stacy Hoeksel

Assistant to Alan H. Hess

[EMAIL PROTECTED]

 

 

 

The correct text of the satire is as follows:

 

If airlines sold paint

 

Buying paint from a hardware store

Customer: Hi, how much is your paint?

Clerk: We have regular quality for $12 a gallon and
premium for $18.  How many gallons would you like?

Customer: Five gallons of regular quality, please.

Clerk: Great.  That will be $60 plus tax.

 

 

Buying paint from an airline

Customer: Hi, how much is your paint?

Clerk: Well, sir, that all depends.

Customer  Depends on what?

Clerk: Well, actually a lot of things.

Customer: How about just giving me an average price?

Clerk: Wow, that's just too hard a question.  The lowest
price is $9 a gallon, and we have 150 prices up to about $200 a gallon.

Customer: What's the difference in the paint?

Clerk: Oh, there isn't any difference; it's all the same
paint.

Customer: Well then, I'd like some of that $9 paint.

Clerk: Well, first I need to ask you a few questions.
When do you intend to use it?

Customer: I want to paint tomorrow on my day off.

Clerk: Sir, the paint for tomorrow is the $200 paint.

Customer: What?  When would I have to paint in order to get the
$9 version?

Clerk: That would be in three weeks, but you will also
have to agree to start painting before Friday of that week and continue
painting until at least Sunday.  

Customer: You've got to be kidding!

Clerk: Sir, we don't kid around here.  Of course, I'll
have to check to see if we have any of that paint available before I can
sell it to you.

Customer: What do you mean check to see if you can sell it to
me? You have shelves full of the stuff; I can see it right there.  

Clerk: Just because you can see it doesn't mean that we
have it.  It may be the same paint, but we only sell a certain number of
gallons on any given weekend.  Oh, and by the way, the price just went to
$12.

Customer: What!  You mean the price just went up while we were
talking!

Clerk: Yes sir.  You see, we change prices and rules
thousands of times a day, and since you haven't actually walked out the
store with your paint yet, we just decided to change.  Unless you want the
same thing to happen again, I would suggest that you get on with your
purchase.  How many gallons do you want?

Customer: I don't know exactly.  Maybe five gallons.  Maybe I
should buy six gallons just to make sure I have enough.

Clerk: Oh no, sir, you can't do that.  If you buy the
paint and then don't use it, you will be liable for penalties and possible
confiscation of the paint you already have.

Customer: What?

Clerk: That's right.  We can sell you enough paint to do
your kitchen, bathroom, hall, and north bedroom, but if you stop painting
before you do the bedroom, you will be in violation of our tariffs.  

Customer: But what does it matter to you whether I use all the
paint?  I already paid you for it!

Clerk: Sir, there's no point in getting upset; that's
just the way it is.  We make plans based upon the idea that you will use all
the paint, and when you don't, it just causes us all sorts of problems.

Customer: This is crazy!  I suppose something terrible will
happen if I don't keep painting until after Saturday night!

Clerk: Yes, sir, it will.

Customer: Well, that does it!  I'm going somewhere else to buy
my paint.

Clerk: That won't do you any good, sir.  We all have the
same rules.  Oh, and thanks for flying - I mean painting - with our airline.

 

C Alan H. Hess, 1998.  All rights reserved.

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


Re: Permission to publish article

2008-03-28 Thread Da Rock
Out of sheer curiosity- is this spam? Is there any reference to the
paint on FreeBSD? I can't imagine where it would be used...


On Fri, 2008-03-28 at 08:23 -0600, [EMAIL PROTECTED] wrote:
 To Whom It May Concern:
 
  
 
 I am executive assistant to Mr. Alan Hess, author of the copyrighted article
 If Airlines Sold Paint originally published in Travel Weekly in October of
 1998.  Since that time, the Paint satire has been widely circulated on the
 Internet, without any citation of authorship.  Mr. Hess is flattered that
 you like his work well enough to include it on your website.  
 
  
 
 When he has been asked for permission to print it in various publications,
 including university text books, Mr. Hess has freely given that permission.
 If you wish to continue to use the article, please include the following
 citation:  
 
  
 
 Printed with permission.  C Alan H. Hess, 1998.  All rights reserved.
 
  
 
 Thank you,
 
  
 
 Stacy Hoeksel
 
 Assistant to Alan H. Hess
 
 [EMAIL PROTECTED]
 
  
 
 
 
 
 
 The correct text of the satire is as follows:
 
  
 
 If airlines sold paint
 
  
 
 Buying paint from a hardware store
 
 Customer: Hi, how much is your paint?
 
 Clerk: We have regular quality for $12 a gallon and
 premium for $18.  How many gallons would you like?
 
 Customer: Five gallons of regular quality, please.
 
 Clerk: Great.  That will be $60 plus tax.
 
  
 
 
 
 Buying paint from an airline
 
 Customer: Hi, how much is your paint?
 
 Clerk: Well, sir, that all depends.
 
 Customer  Depends on what?
 
 Clerk: Well, actually a lot of things.
 
 Customer: How about just giving me an average price?
 
 Clerk: Wow, that's just too hard a question.  The lowest
 price is $9 a gallon, and we have 150 prices up to about $200 a gallon.
 
 Customer: What's the difference in the paint?
 
 Clerk: Oh, there isn't any difference; it's all the same
 paint.
 
 Customer: Well then, I'd like some of that $9 paint.
 
 Clerk: Well, first I need to ask you a few questions.
 When do you intend to use it?
 
 Customer: I want to paint tomorrow on my day off.
 
 Clerk: Sir, the paint for tomorrow is the $200 paint.
 
 Customer: What?  When would I have to paint in order to get the
 $9 version?
 
 Clerk: That would be in three weeks, but you will also
 have to agree to start painting before Friday of that week and continue
 painting until at least Sunday.  
 
 Customer: You've got to be kidding!
 
 Clerk: Sir, we don't kid around here.  Of course, I'll
 have to check to see if we have any of that paint available before I can
 sell it to you.
 
 Customer: What do you mean check to see if you can sell it to
 me? You have shelves full of the stuff; I can see it right there.  
 
 Clerk: Just because you can see it doesn't mean that we
 have it.  It may be the same paint, but we only sell a certain number of
 gallons on any given weekend.  Oh, and by the way, the price just went to
 $12.
 
 Customer: What!  You mean the price just went up while we were
 talking!
 
 Clerk: Yes sir.  You see, we change prices and rules
 thousands of times a day, and since you haven't actually walked out the
 store with your paint yet, we just decided to change.  Unless you want the
 same thing to happen again, I would suggest that you get on with your
 purchase.  How many gallons do you want?
 
 Customer: I don't know exactly.  Maybe five gallons.  Maybe I
 should buy six gallons just to make sure I have enough.
 
 Clerk: Oh no, sir, you can't do that.  If you buy the
 paint and then don't use it, you will be liable for penalties and possible
 confiscation of the paint you already have.
 
 Customer: What?
 
 Clerk: That's right.  We can sell you enough paint to do
 your kitchen, bathroom, hall, and north bedroom, but if you stop painting
 before you do the bedroom, you will be in violation of our tariffs.  
 
 Customer: But what does it matter to you whether I use all the
 paint?  I already paid you for it!
 
 Clerk: Sir, there's no point in getting upset; that's
 just the way it is.  We make plans based upon the idea that you will use all
 the paint, and when you don't, it just causes us all sorts of problems.
 
 Customer: This is crazy!  I suppose something terrible will
 happen if I don't keep painting until after Saturday night!
 
 Clerk: Yes, sir, it will.
 
 Customer: Well, that does it!  I'm going somewhere else to buy
 my paint.
 
 Clerk: That won't do you any good, sir.  We all have the
 same 

Re: Permission to publish article

2008-03-28 Thread Lars Eighner

On Sat, 29 Mar 2008, Da Rock wrote:


Out of sheer curiosity- is this spam? Is there any reference to the
paint on FreeBSD? I can't imagine where it would be used...


Perhaps someone was planning to repaint the bikeshed.


--
Lars Eighner
http://www.larseighner.com/index.html
8800 N IH35 APT 1191 AUSTIN TX 78753-5266

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


compiling H.323 client Ekiga from its SVN repository

2008-03-28 Thread Matthias Apitz

Hello,

THIW, during the last few days I've started a porting of Ekiga, see
http://www.freebsd.org/cgi/url.cgi?ports/net/ekiga/pkg-descr
http://www.ekiga.org/
directly from the SVN repository (and not from the FreeBSD's ports
collection); the reason was mainly driven by the hope of staying with
the cutting edge of Ekiga and get support of codec H.264 to make H.323
video conf calls to the central video conferencing system we are using
in my company; work is still in progress, but if someone is interested
in the actual port (or in debugging :-)), the work is described here:
http://wiki.ekiga.org/index.php/Compile_your_own_SVN_version_of_Ekiga_on_FreeBSD

matthias
-- 
Matthias Apitz
Manager Technical Support - OCLC GmbH
Gruenwalder Weg 28g - 82041 Oberhaching - Germany
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e [EMAIL PROTECTED] - w http://www.oclc.org/ http://www.UnixArea.de/
b http://gurucubano.blogspot.com/
Don't top-post, read RFC1855 http://www.faqs.org/rfcs/rfc1855.html
A: Because it messes up the order in which people normally read text.
Q: Why is it such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on Usenet and in e-mail?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Understanding Flags, Refs, Use, Expire in Routing Table

2008-03-28 Thread Robert Jesacher

Hi Daniel,

you find mostl of you questions answered in man netstat (the  
relevant passage is posted below)
The missing part is the expiry, which IMHO are the seconds, the ARP  
entry is valid (after this time a new arp request would be issued)


I hope this is the information you needed.

br,
Robert

+++
The routing table display indicates the available routes and their sta-
 tus.  Each route consists of a destination host or network, and  
a gateway
 to use in forwarding packets.  The flags field shows a  
collection of
 information about the route stored as binary choices.  The  
individual
 flags are discussed in more detail in the route(8) and route(4)  
manual

 pages.  The mapping between letters and flags is:

 1RTF_PROTO1   Protocol specific routing flag #1
 2RTF_PROTO2   Protocol specific routing flag #2
 3RTF_PROTO3   Protocol specific routing flag #3
 BRTF_BLACKHOLEJust discard pkts (during updates)
 bRTF_BROADCASTThe route represents a broadcast address
 CRTF_CLONING  Generate new routes on use
 cRTF_PRCLONINGProtocol-specified generate new routes on  
use

 DRTF_DYNAMIC  Created dynamically (by redirect)
 GRTF_GATEWAY  Destination requires forwarding by  
intermediary

 HRTF_HOST Host entry (net otherwise)
 LRTF_LLINFO   Valid protocol to link address translation
 MRTF_MODIFIED Modified dynamically (by redirect)
 RRTF_REJECT   Host or net unreachable
 SRTF_STATIC   Manually added
 URTF_UP   Route usable
 WRTF_WASCLONEDRoute was generated as a result of cloning
 XRTF_XRESOLVE External daemon translates proto to link  
address


 Direct routes are created for each interface attached to the  
local host;
 the gateway field for such entries shows the address of the  
outgoing
 interface.  The refcnt field gives the current number of active  
uses of
 the route.  Connection oriented protocols normally hold on to a  
single
 route for the duration of a connection while connectionless  
protocols
 obtain a route while sending to the same destination.  The use  
field pro-
 vides a count of the number of packets sent using that route.   
The inter-

 face entry indicates the network interface utilized for the route.
+




On 28.03.2008, at 00:39, Daniel Dias Gonçalves wrote:

I would like an explanation on each field it command netstat - rn,  
example:

Flags,Refs,Use,Expire
In Flags: UGS, UC, UHLW, UH
Somebody can explain me ?

Thanks,
Daniel
___
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]


Re: hplip setup problems

2008-03-28 Thread Isaac Mushinsky
Yes, of course sleep() works. But I am looking for the *proper* way to fix
it.

My questions at this point are:

1. Does USB standard permit these sequential requests, or there should  be
some reset/synch mechanism utilized in between? I could also usb_close() and
reopen the device, but is there a softer reset than that? Is the bug really
in hplip, or libusb, or sys/dev/usb?

2. If the driver, libusb and hplip are acting properly, then perhaps the
race condition is inside the device? i.e. it should be ready to accept the
second control msg after the 1st one returned, but for some reason is not
really ready. So then it is the printer that violates the protocol, and
there is nothing to do on our side but sleep(). Or usb_close(), and reopen,
hopefully that will bring the Photosmart to its senses.

I am posting this to freebsd-usb as well, people there are probably better
equipped to answer this.

On Fri, Mar 28, 2008 at 11:42 AM, Anish Mistry [EMAIL PROTECTED]
wrote:

  On Friday 28 March 2008, you wrote:
  On Thursday 27 March 2008 10:37:48 you wrote:
   On Thursday 27 March 2008, Isaac Mushinsky wrote:
Anish Mistry (the port maintainer) has answered below. It seems
that this is a printer defect after all then. I'll try to patch
the code to fill in the missing serial id with some fake
string, and shall report if I get the thing to work.
   
Is the hp backend the only entry point to libusb, or should I
have to patch libusb? e.g. cups or sane apps, can they call
libusb directly, or only through hpaio backend? I would rather
have a patch to hplip distribution only, because libusb
correctly throws an error code for the missing serial id. But
if some apps query the device directly, the missing serial id
may be a problem, they will all have to all be patched
separately.
  
   See what you can get to work, and then we can decide on what the
   proper fix entails.
  
  It looks like there is some problem with the C42XX printers
 that is causing the serial numbers to no be reported.  I got
 a similar report about a HP Photosmart C4200 series a couple
 weeks ago. Unfortunately I'm VERY busy right now.  It will be
 a couple of week before I can dive into the issue.  If you do
 happen to find a solution, please let me know so I can
 integrate it into the port and notify others. Thanks,
  --
 Anish Mistry
 [EMAIL PROTECTED]
 AM Productions http://am-productions.biz/
 
  I tried to load hplip into debugger, but if I try to trace the
  problem, it works! Serial number is read correctly. It also seems
  to work with a non-SMP kernel (at least the race does not show).
  The printer has the serial number after all.
 
  There appears to be some sort of race condition when calling
  usb_control_msg for product id and then serial id strings in rapid
  succession in musb.c. I am not sure how to deal with that yet, but
  pausing in between the calls is a workaround for now. What can be
  done in between  the calls other than close and reopen the device?
 You could try to call sleep() to see if that fixes it.
 man 3 sleep


 --
  Anish Mistry
 [EMAIL PROTECTED]
 AM Productions http://am-productions.biz/

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


Re: Permission to publish article

2008-03-28 Thread Malcolm Kay
On Sat, 29 Mar 2008 01:45 am, Da Rock wrote:
 Out of sheer curiosity- is this spam? Is there any reference to the
 paint on FreeBSD? I can't imagine where it would be used...
 
A google search shows it up in http://people.freebsd.org/~peter/

Malcolm

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


Re: Understanding Flags, Refs, Use, Expire in Routing Table

2008-03-28 Thread Kevin Oberman
 From: Robert Jesacher [EMAIL PROTECTED]
 Date: Fri, 28 Mar 2008 16:39:31 +0100
 Sender: [EMAIL PROTECTED]
 
 Hi Daniel,
 
 you find mostl of you questions answered in man netstat (the  
 relevant passage is posted below)
 The missing part is the expiry, which IMHO are the seconds, the ARP  
 entry is valid (after this time a new arp request would be issued)
 
 I hope this is the information you needed.

It makes following a thread really hard. It's all (mostly) Microsoft's fault!
 Why?
  I wish people would stop top-posting!

The Expire entry is the result of FreeBSD's unfortunate co-mingling
network layer routing information with layer 2 ARP information. The only
entries with Expire values are actually ARP entries. (Note the MAC
address os Gateway.)

Expire is in seconds remaining until the entry expires and is no longer
used.
-- 
R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: [EMAIL PROTECTED]   Phone: +1 510 486-8634
Key fingerprint:059B 2DDF 031C 9BA3 14A4  EADA 927D EBB3 987B 3751


pgpYyGAparmmn.pgp
Description: PGP signature


Re: Laptop advice

2008-03-28 Thread Jerry McAllister
On Thu, Mar 27, 2008 at 03:48:06PM -0400, Mike Jeays wrote:

 On March 27, 2008 03:09:42 pm mdh wrote:
  --- David Kelly [EMAIL PROTECTED] wrote:
   On Thu, Mar 27, 2008 at 01:53:57PM -0400, Joe Demeny
  
   wrote:
In the end, the best advice seems to be indeed to
  
   take the FreeBSD CD
  
to the brick-and-mortar store...
  
   Or you could purchase an Apple Mac Book and have a
   commercially
   supported Unix pre-installed. Guess that would take
   all the fun out of
   it?
 
  While I like Mac products and OSX is pretty cool, I
  still find their laptops a bit pricey.
 
  By the by, has anyone tried FreeBSD on one of those
  little Asus EEEpc sublaptops?  A real, tiny, i386
  laptop for $300 (plus maybe a bit more for an
  additional SD card to bump the storage some) seems
  like a truly awesome deal.
 
 
 I bought an Eee PC, but haven't tried any other software on it yet.  I can 
 confirm that the hardware is a bargain, and I used it 'as is' while 
 travelling for ten days, and it connected 'out of the box' to the wireless 
 service provided in each hotel.  A mouse is a great help, although the 
 built-in pad is quite usable.  I had no trouble with the tiny keyboard, 
 except for needing the light on to read the keys.

What!!  You're not a touch typist??!!


A couple of others to look at:

 By HP:http://www.engadget.com/2008/02/19/hps-umpc-2133-revealed/

 By KJS:   http://www.umpcportal.com/products/product.php?id=130

 By Dell:  
http://www.dell.com/content/products/productdetails.aspx/latit_xt?c=uscs=04l=ens=bsd~tab=bundlestabdgc=STcid=27096lid=615901O

 By IBM:  
http://shop.lenovo.com/us/landing_pages/thinkpad/2008/X300?cid=us|semd|ggl|us_portable_en|t9C4|cs_kwcid=ContentNetwork|1073231341


I tried out a Kohjinsha in Japan and found that its small keyboard was 
pretty easy to use as well (I suppose some would have trouble with its 
size, but I found it fairly comfortable after a few minutes of getting 
used to it).  It looks about the same physical size as the EeePC.   It 
is a bit more expensive that the Eee, but it has 80GB/120 GB disk and 
some more other good features.   The display can be turned around and 
used like a tablet and there are models with touch screen. I was 
impressed with the display too.  Even though it was a 7 inch and not
exceptionally high resolution, it was sharp and very readable.   There 
is some company that is marketing a version of it with English language 
WinXP.  I don't know if they put an English language BIOS in it.  But, I 
find that machine very interesting.  It would fit in my jacket pocket - my 
major size qualifier.

Some comments and pictures:  http://technorati.com/photos/tag/kohjinsha

  Japanese website:http://kohjinsha.com/models/sa/lineupsa.html

Of course, Dell and IBM models are more featured, but are much larger and 
much more expensive.

The HP model is yet to be seen, but looks interesting.

 
jerry

 
 They are a really great innovation, IMHO.  I am really pleased with mine.
 
 The wireless card may be the problem with FreeBSD.
 
 
 
 -- 
 Mike Jeays
 http://www.jeays.ca
 ___
 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]


How to get best results from FreeBSD-questions

2008-03-28 Thread Greg Lehey

How to get the best results from FreeBSD questions.
===

Last update $Date: 2005/08/10 02:21:44 $

This is a regular posting to the FreeBSD questions mailing list.  If
you got it in answer to a message you sent, it means that the sender
thinks that at least one of the following things was wrong with your
message:

- You left out a subject line, or the subject line was not appropriate.
- You formatted it in such a way that it was difficult to read.
- You asked more than one unrelated question in one message.
- You sent out a message with an incorrect date, time or time zone.
- You sent out the same message more than once.
- You sent an 'unsubscribe' message to FreeBSD-questions.

If you have done any of these things, there is a good chance that you
will get more than one copy of this message from different people.
Read on, and your next message will be more successful.

This document is also available on the web at
http://www.lemis.com/questions.html.

=

Contents:

I:Introduction
II:   How to unsubscribe from FreeBSD-questions
III:  Should I ask -questions or -hackers?
IV:   How to submit a question to FreeBSD-questions
V:How to answer a question to FreeBSD-questions

I: Introduction
===

This is a regular posting aimed to help both those seeking advice from
FreeBSD-questions (the newcomers), and also those who answer the
questions (the hackers).

   Note that the term hacker has nothing to do with breaking
   into other people's computers.  The correct term for the latter
   activity is cracker, but the popular press hasn't found out
   yet.  The FreeBSD hackers disapprove strongly of cracking
   security, and have nothing to do with it.

In the past, there has been some friction which stems from the
different viewpoints of the two groups.  The newcomers accused the
hackers of being arrogant, stuck-up, and unhelpful, while the hackers
accused the newcomers of being stupid, unable to read plain English,
and expecting everything to be handed to them on a silver platter.  Of
course, there's an element of truth in both these claims, but for the
most part these viewpoints come from a sense of frustration.

In this document, I'd like to do something to relieve this frustration
and help everybody get better results from FreeBSD-questions.  In the
following section, I recommend how to submit a question; after that,
we'll look at how to answer one.

II:  How to unsubscribe from FreeBSD-questions
==

When you subscribed to FreeBSD-questions, you got a welcome message
from [EMAIL PROTECTED]  In this message, amongst
other things, it told you how to unsubscribe.  Here's a typical
message:

  Welcome to the freebsd-questions@freebsd.org mailing list!

If you ever want to unsubscribe or change your options (eg, switch to
or from digest mode, change your password, etc.), visit your
subscription page at:

  http://lists.freebsd.org/mailman/options/freebsd-questions/[EMAIL PROTECTED]
  
(obviously, substitute your mail address for [EMAIL PROTECTED]).  You can
also make such adjustments via email by sending a message to:

  [EMAIL PROTECTED]
  
with the word 'help' in the subject or body (don't include the
quotes), and you will get back a message with instructions.

You must know your password to change your options (including
changing the password, itself) or to unsubscribe.
  
Normally, Mailman will remind you of your freebsd.org mailing list
passwords once every month, although you can disable this if you
prefer.  This reminder will also include instructions on how to
unsubscribe or change your account options.  There is also a button on
your options page that will email your current password to you.

  Here's the general information for the list you've
  subscribed to, in case you don't already have it:

  FREEBSD-QUESTIONS   User questions
  This is the mailing list for questions about FreeBSD.  You should not
  send how to questions to the technical lists unless you consider the
  question to be pretty technical.

Normally, unsubscribing is even simpler than the message suggests: you
don't need to specify your mail ID unless it is different from the one
which you specified when you subscribed.

If Majordomo replies and tells you (incorrectly) that you're not on
the list, this may mean one of two things:

  1.  You have changed your mail ID since you subscribed.  That's where
  keeping the original message from majordomo comes in handy.  For
  example, the sample message above shows my mail ID as
  [EMAIL PROTECTED]  Since then, I have changed it to
  [EMAIL PROTECTED]  If I were to try to remove [EMAIL PROTECTED] from
  the list, it would fail: I would have to specify the name with
  which I joined.

  2.  You're subscribed to a mailing list which is subscribed to
  

The Complete FreeBSD: errata and addenda

2008-03-28 Thread Greg Lehey
The trouble with books is that you can't update them the way you can a web page
or any other online documentation.  The result is that most leading edge
computer books are out of date almost before they are printed.  Unfortunately,
The Complete FreeBSD, published by O'Reilly, is no exception.  Inevitably, a
number of bugs and changes have surfaced.

The Complete FreeBSD has been through a total of five editions, including its
predecessor Installing and Running FreeBSD.  Two of these have been reprinted
with corrections.  I maintain a series of errata pages.  Start at
http://www.lemis.com/errata-4.html to find out how to get the errata
information.

Note also that the book has now been released for free download in PDF
form.  Instead of downloading the changed pages, you may prefer to
download the entire book.  See http://www.lemis.com/grog/Documentation/CFBSD/ 
for more information.

Have you found a problem with the book, or maybe something confusing?
Please let me know: I'm no longer constantly updating it, but I may be
able to help

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


Re: Understanding Flags, Refs, Use, Expire in Routing Table

2008-03-28 Thread Jerry McAllister
On Fri, Mar 28, 2008 at 09:48:28AM -0700, Kevin Oberman wrote:

  From: Robert Jesacher [EMAIL PROTECTED]
  Date: Fri, 28 Mar 2008 16:39:31 +0100
  Sender: [EMAIL PROTECTED]
  
  Hi Daniel,
  
  you find mostl of you questions answered in man netstat (the  
  relevant passage is posted below)
  The missing part is the expiry, which IMHO are the seconds, the ARP  
  entry is valid (after this time a new arp request would be issued)
  
  I hope this is the information you needed.
 

Isn't everything?!
 It makes following a thread really hard. It's all (mostly) Microsoft's fault!
  Why?
   I wish people would stop top-posting!

 
 The Expire entry is the result of FreeBSD's unfortunate co-mingling
 network layer routing information with layer 2 ARP information. The only
 entries with Expire values are actually ARP entries. (Note the MAC
 address os Gateway.)
 
 Expire is in seconds remaining until the entry expires and is no longer
 used.
 -- 
 R. Kevin Oberman, Network Engineer
 Energy Sciences Network (ESnet)
 Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
 E-mail: [EMAIL PROTECTED] Phone: +1 510 486-8634
 Key fingerprint:059B 2DDF 031C 9BA3 14A4  EADA 927D EBB3 987B 3751


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


Re: Permission to publish article

2008-03-28 Thread Jerry McAllister
On Fri, Mar 28, 2008 at 10:18:28AM -0500, Lars Eighner wrote:

 On Sat, 29 Mar 2008, Da Rock wrote:
 
 Out of sheer curiosity- is this spam? Is there any reference to the
 paint on FreeBSD? I can't imagine where it would be used...
 
 Perhaps someone was planning to repaint the bikeshed.
 

First I've seen of it, though it does track my experience bying
paint from airlines pretty well.

jerry

 
 -- 
 Lars Eighner
 http://www.larseighner.com/index.html
 8800 N IH35 APT 1191 AUSTIN TX 78753-5266
 
 ___
 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]


Re: Reconditioned Laptop advice

2008-03-28 Thread Predrag Punosevac

Robert Huff wrote:

Predrag Punosevac writes:

  

 ThinkPads are the highest quality machines. I honestly thing that
 there is nothing on the market which matches their quality
 including Apple laptops.



/Caveat emptor/.  I'm hearing reports from those who deal with
laptops much more that I do that quality has dropped substantially
since Lenovo took over.


Robert Huff


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

T23, T30, T40, T43 were made by IBM.

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


pls help with RTL8185

2008-03-28 Thread ivan dimitrov

Hi list

I have a wireless PCI card with Realtek chip RTL8185 ([EMAIL PROTECTED]:0:10:0
 ... chip 0x818510ec)

after ndisgen , when i am starting kldload ./rtl8185_sys.ko
and ... the freebsd crashes ...(fatal trap 12 ... fault code supervisor
 write,  page not present)

any idea what is wrong ? 


thanks in advance

   
-
Looking for last minute shopping deals?  Find them fast with Yahoo! Search.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


how to pass nfs nolock option in /etc/fstab

2008-03-28 Thread vincenzo romero
Hello all,

I have come across an issue where I attempted to mount my NFSroot FS
with a nolock option in order to support a database application.  In
an attempt to do so, I edited my /etc/fstab as follows:

192.168.17.1:/export/images/00A0D1E35B7E/freebsd7_x64   /
 nfs rw,nolock  0   0

When I attempt to re-mount, I get the following error:
mount -a
mount_nfs: -o lock: option not supported
...

Upon googling folks suggested to use the -L option ... but mention
that this is not possible to pass on to /etc/fstab

My question:  is it possible to mount an NFSroot on FreeBSD and at the
SAME time pass the nolock parameter?

thanks in advance...!

-- 
best,

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


problem with RAID Hard (hptrr driver)

2008-03-28 Thread Nicolas Letellier

Hello.

I have a machine, with a RAID Controller.
In the dmesg, I see:
hptrr: HPT RocketRAID controller driver v1.1 (Mar 28 2008 16:05:16)

And after, I see:
hptrr: no controller detected.

Is it normal? Does my RAID 1 work correctly?

I read the hptrr manpage, and no informations are given.
I read too the handbook (section RAID HARD) and the command atacontrol 
list returns nothing.



In /dev, I see my hdd and the labels:
/dev/twed0/dev/twed0s1a /dev/twed0s1c /dev/twed0s1e /dev/twed0s1g
/dev/twed0s1  /dev/twed0s1b /dev/twed0s1d /dev/twed0s1f /dev/twed0s1h

Anybody could help me? How verify if the RAID HARD is working well?

Thanks.

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


Re: problem with RAID Hard (hptrr driver)

2008-03-28 Thread Nicolas Letellier

Nicolas Letellier a écrit :

Hello.

I have a machine, with a RAID Controller.
In the dmesg, I see:
hptrr: HPT RocketRAID controller driver v1.1 (Mar 28 2008 16:05:16)

And after, I see:
hptrr: no controller detected.

Is it normal? Does my RAID 1 work correctly?

I read the hptrr manpage, and no informations are given.
I read too the handbook (section RAID HARD) and the command atacontrol 
list returns nothing.



In /dev, I see my hdd and the labels:
/dev/twed0/dev/twed0s1a /dev/twed0s1c /dev/twed0s1e /dev/twed0s1g
/dev/twed0s1  /dev/twed0s1b /dev/twed0s1d /dev/twed0s1f /dev/twed0s1h

Anybody could help me? How verify if the RAID HARD is working well?

Thanks.

 - Nicolas.

I forgot to copy the full dmesg:

Copyright (c) 1992-2008 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 7.0-RELEASE #1: Fri Mar 28 16:05:28 CET 2008
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/COOK
Timecounter i8254 frequency 1193182 Hz quality 0
CPU: Intel(R) Core(TM)2 Duo CPU E6750  @ 2.66GHz (2666.63-MHz 
686-class CPU)

  Origin = GenuineIntel  Id = 0x6fb  Stepping = 11

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=0xe3fdSSE3,RSVD2,MON,DS_CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM
  AMD Features=0x2010NX,LM
  AMD Features2=0x1LAHF
  Cores per package: 2
real memory  = 2136997888 (2038 MB)
avail memory = 2083860480 (1987 MB)
ACPI APIC Table: INTEL DG31PR
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
ioapic0 Version 2.0 irqs 0-23 on motherboard
kbd1 at kbdmux0
hptrr: HPT RocketRAID controller driver v1.1 (Mar 28 2008 16:05:16)
acpi0: INTEL on motherboard
acpi0: [ITHREAD]
acpi0: Power Button (fixed)
Timecounter ACPI-fast frequency 3579545 Hz quality 1000
acpi_timer0: 24-bit timer at 3.579545MHz port 0x408-0x40b on acpi0
acpi_hpet0: High Precision Event Timer iomem 0xfed0-0xfed003ff on 
acpi0

Timecounter HPET frequency 14318180 Hz quality 900
cpu0: ACPI CPU on acpi0
est0: Enhanced SpeedStep Frequency Control on cpu0
est: CPU supports Enhanced Speedstep, but is not recognized.
est: cpu_vendor GenuineIntel, msr 82a082a0600082a
device_attach: est0 attach returned 6
p4tcc0: CPU Frequency Thermal Control on cpu0
cpu1: ACPI CPU on acpi0
est1: Enhanced SpeedStep Frequency Control on cpu1
est: CPU supports Enhanced Speedstep, but is not recognized.
est: cpu_vendor GenuineIntel, msr 82a082a0600082a
device_attach: est1 attach returned 6
p4tcc1: CPU Frequency Thermal Control on cpu1
pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0
pci0: ACPI PCI bus on pcib0
pcib1: ACPI PCI-PCI bridge irq 16 at device 1.0 on pci0
pci1: ACPI PCI bus on pcib1
vgapci0: VGA-compatible display port 0xd0c0-0xd0c7 mem 
0xfeb0-0xfeb7,0xc000-0xdfff,0xfe90-0xfe9f irq 16 
at device 2.0 on pci0

pcib2: ACPI PCI-PCI bridge irq 16 at device 28.0 on pci0
pci2: ACPI PCI bus on pcib2
pcib3: ACPI PCI-PCI bridge irq 17 at device 28.1 on pci0
pci3: ACPI PCI bus on pcib3
re0: RealTek 8168/8111B PCIe Gigabit Ethernet port 0xc000-0xc0ff mem 
0xfea2-0xfea20fff irq 17 at device 0.0 on pci3

re0: Using 2 MSI messages
miibus0: MII bus on re0
rgephy0: RTL8169S/8110S/8211B media interface PHY 1 on miibus0
rgephy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 
1000baseT-FDX, auto

re0: Ethernet address: 00:1c:c0:3d:a0:b8
re0: [FILTER]
re0: [FILTER]
pcib4: ACPI PCI-PCI bridge at device 30.0 on pci0
pci4: ACPI PCI bus on pcib4
twe0: 3ware Storage Controller. Driver version 1.50.01.002 port 
0xb000-0xb00f mem 0xfe81-0xfe81000f,0xfe00-0xfe7f irq 21 at 
device 6.0 on pci4

twe0: [GIANT-LOCKED]
twe0: [ITHREAD]
twe0: 2 ports, Firmware FE8S 1.05.00.068, BIOS BE7X 1.08.00.048
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,0xd070-0xd07f irq 16 at device 31.1 
on pci0

ata0: ATA channel 0 on atapci0
ata0: [ITHREAD]
ata1: ATA channel 1 on atapci0
ata1: [ITHREAD]
atapci1: Intel ICH7 SATA300 controller port 
0xd060-0xd067,0xd050-0xd053,0xd040-0xd047,0xd030-0xd033,0xd020-0xd02f 
irq 17 at device 31.2 on pci0

atapci1: [ITHREAD]
ata2: ATA channel 0 on atapci1
ata2: [ITHREAD]
ata3: ATA channel 1 on atapci1
ata3: [ITHREAD]
pci0: serial bus, SMBus at device 31.3 (no driver attached)
acpi_button0: Sleep Button on acpi0
acpi_button1: Power Button on acpi0
atkbdc0: Keyboard controller (i8042) port 0x60,0x64 irq 1 on acpi0
atkbd0: AT Keyboard irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
atkbd0: [ITHREAD]
sio0: 16550A-compatible COM port port 0x3f8-0x3ff irq 4 flags 0x10 on 
acpi0

sio0: type 16550A
sio0: [FILTER]
pmtimer0 on isa0
orm0: ISA Option ROMs at iomem 

Re: tinybsd doesn't have /etc/rc.d/ ?

2008-03-28 Thread Jean Milanez Melo

Ashant Chalasani wrote:

Finally got the box to boot, with sshd.  I can connect on port 22, and
login prompt appears.  Very messy though, as this was possible only by
copying over /etc from host.

Can't figure out when I'm having to do all this, and why TinyBSD 0.9
doesn't work out-of-the-make.  Or am I on a total tangent?  Jean?
Patrick?  Anybody there?


On Fri, Mar 28, 2008 at 12:34 PM, Ashant Chalasani [EMAIL PROTECTED] wrote:

Still no go on getting sshd to start.  A few things have gotten better though..

 Both /etc/rc and /etc/defaults/rc.conf were missing.  Copying these
 from host to tinybsd_ap helped.

 init right now looks like:

 --
 Timecounters tick every 1.000 msec
 Elan-mmcr driver: MMCR at 0xc5ad7000. PPS support.
 Elan-mmcr Soekris net45xx comBIOS ver. 1.23a 20040211 Copyright (C) 2000-2003
 ipfw2 initialized, divert enabled, rule-based forwarding disabled,
 default to accept, logging disabled
 ad0: 124MB ZOOMCF 128MB CF040520 at ata0-master PIO4
 Trying to mount root from ufs:/dev/ad0a
 WARNING: /mnt was not properly dismounted
 Invalid time in clock: check and reset the date!
 Loading configuration files.
 WARNING: / was not properly dismounted
 mtree: line 6: unknown group wheel
 cp: /var/log/lastlog: No such file or directory
 chmod: /var/log/lastlog: No such file or directory
 cp: /var/log/wtmp: No such file or directory
 chmod: /var/log/wtmp: No such file or directory
 eval: cannot create /var/run/dmesg.boot: No such file or directory
 eval: cannot create /var/run/syslogd.sockets: No such file or directory
 Starting syslogd.
 syslogd: cannot open pid file: No such file or directory
 Mar 28 08:52:31  syslogd: cannot create /var/run/log: No such file or directory
 syslogd: child pid 83 exited with return code 1
 Flushed all rules.
 00100 allow ip from any to any via lo0
 00200 deny ip from any to 127.0.0.0/8
 00300 deny ip from 127.0.0.0/8 to any
 Firewall rules loaded.
 net.inet.ip.fw.enable: 1 - 1
 lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST metric 0 mtu 16384
inet 127.0.0.1 netmask 0xff00
 Additional routing options:.
 Additional IP options:.
 Starting sshd.
 Missing privilege separation directory: /var/empty
 bridge0: Ethernet address: ca:03:78:21:3c:50
 bridge0
 ath0: promiscuous mode enabled
 sis0: promiscuous mode enabled
 Starting cron.
 cron: can't open or create /var/run/cron.pid: No such file or directory

 Fri M1sis0: Applying short cable fix (reg=f5)
 sis0: link state changed to UP
 -

 /var/log/ and /var/run/ directory contents are:

 [EMAIL PROTECTED] /var/log]# l
 total 4
 drwxr-xr-x  24 root  0  512 Mar 25 19:37 ..
 -rw-r--r--   1 root  00 Mar 27 14:00 lastlog
 -rw-r--r--   1 root  00 Mar 27 14:00 wtmp
 drwxr-xr-x   2 root  0  512 Mar 27 14:01 .

 [EMAIL PROTECTED] /var/run]# l
 total 20
 drwxr-xr-x   2 bind  53   512 Mar 25 17:02 named
 drwxrwx---   2 root  69   512 Mar 25 17:02 ppp
 drwxr-xr-x  24 root  0512 Mar 25 19:37 ..
 -rw-r--r--   1 root  0  0 Mar 28 09:36 utmp
 -rw-r--r--   1 root  0  0 Mar 28 09:36 syslogd.sockets
 -rw-r--r--   1 root  0   8879 Mar 28 09:36 dmesg.boot
 -rw-r--r--   1 root  0  0 Mar 28 09:36 clean_var
 drwxr-xr-x   4 root  0512 Mar 28 09:36 .
 -rw---   1 root  0  4 Mar 28 09:36 cron.pid

 Can anyone see why the /var/log and /var/run errors are occuring
 inspite of files existing and writable?

 Thanks
 Ashant







 On Thu, Mar 27, 2008 at 2:01 PM, Ashant Chalasani [EMAIL PROTECTED] wrote:
  The whole of /etc/rc.d/ directory is missing on TinyBSD 0.9.  Is this
   by design?  I'm hoping someone can throw light on it.
 
   I copied the sshd script manually from my 7.0-REL host onto the flash
   image, as also a simple initialization script that I wrote for setting
   up the network.  But it looks like lot more startup scripts from
   /etc/rc.d/ are required to initialize the system.  I can ping the
   device on the network port, which means my network script ran.  But
   sshd on port 22 isn't available, so I guess /etc/rc.d/sshd failed.
 
   I prefer to copy only the necessary scripts into my target's
   /etc/rc.d/ from the host, and not the whole directory.  There are 143
   scripts in rc.d.  Is there a minimal subset of scripts to setup the
   system, networking + basic services (dhclient, sshd etc)?
 
   Thanks
   Ashant
 
   --
   http://code.google.com/p/tinybsdap/
 



 --
 http://code.google.com/p/tinybsdap/







I'm not subscribed on questions so i didn't read your mail before.

If you're using FreeBSD 7.0, you don't have to use TinyBSD 0.9, it's 
older. The newer TinyBSD is already in FreeBSD base at 
/usr/src/tools/tools/tinybsd.


BTW there are no problems reported to us, everthing is working fine. Try 
to read the TinyBSD documentation first at: 
http://www.tinybsd.org/tinybsd/Documentation


I hope it can help you.

--
Jean
___

Re: problems with i386 jail on amd64 install 7.0 Release

2008-03-28 Thread Kris Kennaway

Mark Moellering wrote:

On Friday 28 March 2008 06:23:49 am Kris Kennaway wrote:

Mark Moellering wrote:

I have been trying to install an i386 jail on an amd64 install.  I added
Target=i386 to the command line in the make buildworld and installworld
commands.  I keep getting the following (or similar) error

'Target' does nothing, there is no such variable.  If you meant
'TARGET', that is a real variable but not the one you want.  You need to
add 'TARGET_ARCH=i386' to your build/installworld to successfully
cross-compile.

Kris


Kris, 
Thanks for the reply.

I aplogize, I should have been more explicit.

I tried TARGET=i386 ; TARGET_ARCH=i386; and both together, all gave the same 
error.


(/libexec/ld-elf.so.1: Shared object libedit.so.6 not found, required 
by sh)


Have you or has anyone else on the list successfuly done this?


Yes, frequently.  Does the library exist in the chroot and is it an i386 
library (use file(1))?


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


Subscribe request result (debian-users ML)

2008-03-28 Thread debian-users-admin
Hi, I am the fml ML manager for the ML [EMAIL PROTECTED].


[EMAIL PROTECTED], Be Seeing You!


If you have any questions or problems,
   please contact [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: Auto Mounting USB Sticks and CD's

2008-03-28 Thread Steve Franks
  I have a FreeBSD 7.0 install, and I am running the Gnome Desktop (2.22)
  I was hoping that someone had a nice HOWTO or could paste their config files.
  I want my usb sticks to auto mount when I insert them like they do on PC-BSD

It seems a discussion of amd (amtools port) is missing from this
discussion.  This would be the gui-less way of doing it, but it mounts
when you cd to the appropriate folder, not on boot.

These are good discussions:
http://screamingelectron.org/forum/archive/index.php/t-2096.html
http://renaud.waldura.com/doc/freebsd/automounting.txt

except for, in 7.0 (6.3?) the rc.conf setup has changed:

rc.conf:
...
rpcbind_enable=YES
rpcbind_flags=-h 127.0.0.1
amd_enable=YES
amd_flags=-a /.amd_mnt -c 10 -w 2 -l syslog /host /etc/amd.map
...


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


Re: problems with i386 jail on amd64 install 7.0 Release

2008-03-28 Thread Mark Moellering
On Friday 28 March 2008 03:27:27 pm you wrote:
 Mark Moellering wrote:
  On Friday 28 March 2008 06:23:49 am Kris Kennaway wrote:
  Mark Moellering wrote:
  I have been trying to install an i386 jail on an amd64 install.  I
  added Target=i386 to the command line in the make buildworld and
  installworld commands.  I keep getting the following (or similar) error
 
  'Target' does nothing, there is no such variable.  If you meant
  'TARGET', that is a real variable but not the one you want.  You need to
  add 'TARGET_ARCH=i386' to your build/installworld to successfully
  cross-compile.
 
  Kris
 
  Kris,
  Thanks for the reply.
  I aplogize, I should have been more explicit.
 
  I tried TARGET=i386 ; TARGET_ARCH=i386; and both together, all gave the
  same error.
 
  (/libexec/ld-elf.so.1: Shared object libedit.so.6 not found, required
  by sh)
 
  Have you or has anyone else on the list successfuly done this?

 Yes, frequently.  Does the library exist in the chroot and is it an i386
 library (use file(1))?

 Kris

Thanks Kris, you're a lifesaver.

The response I get using File is:

libedit.so.6: ELF 32-bit LSB shared object, Intel 80386, version 1 (FreeBSD), 
dynamically linked, stripped
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: problems with i386 jail on amd64 install 7.0 Release

2008-03-28 Thread Kris Kennaway

Mark Moellering wrote:

On Friday 28 March 2008 03:27:27 pm you wrote:

Mark Moellering wrote:

On Friday 28 March 2008 06:23:49 am Kris Kennaway wrote:

Mark Moellering wrote:

I have been trying to install an i386 jail on an amd64 install.  I
added Target=i386 to the command line in the make buildworld and
installworld commands.  I keep getting the following (or similar) error

'Target' does nothing, there is no such variable.  If you meant
'TARGET', that is a real variable but not the one you want.  You need to
add 'TARGET_ARCH=i386' to your build/installworld to successfully
cross-compile.

Kris

Kris,
Thanks for the reply.
I aplogize, I should have been more explicit.

I tried TARGET=i386 ; TARGET_ARCH=i386; and both together, all gave the
same error.

(/libexec/ld-elf.so.1: Shared object libedit.so.6 not found, required
by sh)

Have you or has anyone else on the list successfuly done this?

Yes, frequently.  Does the library exist in the chroot and is it an i386
library (use file(1))?

Kris


Thanks Kris, you're a lifesaver.

The response I get using File is:

libedit.so.6: ELF 32-bit LSB shared object, Intel 80386, version 1 (FreeBSD), 
dynamically linked, stripped


OK, that is correct.  Is the rest of the chroot configured properly, 
e.g. did you populate /etc and /var?


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


Re: problem with RAID Hard (hptrr driver)

2008-03-28 Thread Josh Paetzel
On Friday 28 March 2008 02:07:50 pm Nicolas Letellier wrote:
 Nicolas Letellier a écrit :
  Hello.
 
  I have a machine, with a RAID Controller.
  In the dmesg, I see:
  hptrr: HPT RocketRAID controller driver v1.1 (Mar 28 2008 16:05:16)
 
  And after, I see:
  hptrr: no controller detected.
 
  Is it normal? Does my RAID 1 work correctly?
 
  I read the hptrr manpage, and no informations are given.
  I read too the handbook (section RAID HARD) and the command atacontrol
  list returns nothing.
 
 
  In /dev, I see my hdd and the labels:
  /dev/twed0/dev/twed0s1a /dev/twed0s1c /dev/twed0s1e /dev/twed0s1g
  /dev/twed0s1  /dev/twed0s1b /dev/twed0s1d /dev/twed0s1f /dev/twed0s1h
 
  Anybody could help me? How verify if the RAID HARD is working well?
 
  Thanks.
 
   - Nicolas.

hptrr is the driver for a highpoint rocketraid, your controller is evidentally 
a 3ware, and is being picked up by twe.  You can monitor the array by 
installing sysutils/3dm from ports.

-- 
Thanks,

Josh Paetzel

PGP: 8A48 EF36 5E9F 4EDA 5A8C 11B4 26F9 01F1 27AF AECB


signature.asc
Description: This is a digitally signed message part.


Re: problems with i386 jail on amd64 install 7.0 Release

2008-03-28 Thread Mark Moellering
On Friday 28 March 2008 04:51:08 pm Kris Kennaway wrote:
 Mark Moellering wrote:
  On Friday 28 March 2008 03:27:27 pm you wrote:
  Mark Moellering wrote:
  On Friday 28 March 2008 06:23:49 am Kris Kennaway wrote:
  Mark Moellering wrote:
  I have been trying to install an i386 jail on an amd64 install.  I
  added Target=i386 to the command line in the make buildworld and
  installworld commands.  I keep getting the following (or similar)
  error
 
  'Target' does nothing, there is no such variable.  If you meant
  'TARGET', that is a real variable but not the one you want.  You need
  to add 'TARGET_ARCH=i386' to your build/installworld to successfully
  cross-compile.
 
  Kris
 
  Kris,
  Thanks for the reply.
  I aplogize, I should have been more explicit.
 
  I tried TARGET=i386 ; TARGET_ARCH=i386; and both together, all gave the
  same error.
 
  (/libexec/ld-elf.so.1: Shared object libedit.so.6 not found, required
  by sh)
 
  Have you or has anyone else on the list successfuly done this?
 
  Yes, frequently.  Does the library exist in the chroot and is it an i386
  library (use file(1))?
 
  Kris
 
  Thanks Kris, you're a lifesaver.
 
  The response I get using File is:
 
  libedit.so.6: ELF 32-bit LSB shared object, Intel 80386, version 1
  (FreeBSD), dynamically linked, stripped

 OK, that is correct.  Is the rest of the chroot configured properly,
 e.g. did you populate /etc and /var?

 Kris

/etc and /var are populated

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


Re: problems with i386 jail on amd64 install 7.0 Release

2008-03-28 Thread Kris Kennaway

Mark Moellering wrote:

On Friday 28 March 2008 04:51:08 pm Kris Kennaway wrote:

Mark Moellering wrote:

On Friday 28 March 2008 03:27:27 pm you wrote:

Mark Moellering wrote:

On Friday 28 March 2008 06:23:49 am Kris Kennaway wrote:

Mark Moellering wrote:

I have been trying to install an i386 jail on an amd64 install.  I
added Target=i386 to the command line in the make buildworld and
installworld commands.  I keep getting the following (or similar)
error

'Target' does nothing, there is no such variable.  If you meant
'TARGET', that is a real variable but not the one you want.  You need
to add 'TARGET_ARCH=i386' to your build/installworld to successfully
cross-compile.

Kris

Kris,
Thanks for the reply.
I aplogize, I should have been more explicit.

I tried TARGET=i386 ; TARGET_ARCH=i386; and both together, all gave the
same error.

(/libexec/ld-elf.so.1: Shared object libedit.so.6 not found, required
by sh)

Have you or has anyone else on the list successfuly done this?

Yes, frequently.  Does the library exist in the chroot and is it an i386
library (use file(1))?

Kris

Thanks Kris, you're a lifesaver.

The response I get using File is:

libedit.so.6: ELF 32-bit LSB shared object, Intel 80386, version 1
(FreeBSD), dynamically linked, stripped

OK, that is correct.  Is the rest of the chroot configured properly,
e.g. did you populate /etc and /var?

Kris


/etc and /var are populated


what if you run other binaries, e.g. chroot /chroot ls, etc?  Do any of 
them work?  If not, then something is either wrong with the 
/var/run/ld.so.hints, the /libexec/ld-elf.so.1, etc.


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


Re: problem with RAID Hard (hptrr driver)

2008-03-28 Thread Nicolas Letellier

Josh Paetzel a écrit :
hptrr is the driver for a highpoint rocketraid, your controller is evidentally 
a 3ware, and is being picked up by twe.  You can monitor the array by 
installing sysutils/3dm from ports.



I monitor my array with tw_cli.
I have this:

/c0 show

Unit  UnitType  Status %RCmpl  %V/I/M  Stripe  Size(GB)  Cache 
AVrfy

--
u0RAID-1OK -   -   -   232.885   ON -

Port   Status   Unit   SizeBlocksSerial
---
p0 OK   u0 232.88 GB   488397168 VDS41LT8D97USH
p1 OK   u0 232.88 GB   488397168 VDS41LT8D7B8PH


How know if my RAID is software or hardware?
How know if data replication works?
And, why this message hptrr: no controller detected in my dmesg?

Thanks!

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


Re: A general purpose LDAP solution?

2008-03-28 Thread Zane C.B.
On Sun, 23 Mar 2008 23:26:51 +0100
Jon Theil Nielsen [EMAIL PROTECTED] wrote:

 2008/3/23, Jon Theil Nielsen [EMAIL PROTECTED]:
  Hi list!
 
   I have speculated a lot about implementation of (Open)LDAP on my
   sever. By I haven't yet found the right (and logical) way to do
  it. I'm running FreeBSD 7.0-Release with some different server
  applications
   - Samba PDC
   - Virtual mail server (Postfix, MySQL, Courier-IMAP)
   - VPN (currently with mpd4)
   - Apache-2.2.8 web server (with PHP and MySQL)
   I would like to implement LDAP for:
   - authentication of UNIX/login users
   - authentication of Samba users
   - authentication/authorization of virtual mail users
   For the first part, I got useful information from a previsous
  thread
  (http://unix.derkeiler.com/Mailing-Lists/FreeBSD/questions/2008-02/msg01047.html)
  and for the second part, i guess there is sufficient howtos to
  make it work. My biggest question right now is if is possible to
  combine all three things in one data structure. And which in
  which order I should make the different implimentions.
   Excuse my total lack of understanding, but is it possible to
  have a structure with a superior unit such as OU=some
  organization which could contain several virtual domains and the
  organization actual doamin for my
   PDC?
 
   --
  Jon Theil Nielsen
 Oh, i forgot one more thing: I would also like to be able to
 authenticate VPN users the same way.

For foo.bar and monkies.foo.bar, I would do it as below. And
remember, PAM is your friend. And on a similar note, I am goat
fragging surprised Postfix does not have a native PAM auth backend
yet.

ou=users,dc=foo,dc=bar
ou=users,dc=monkies,dc=foo,bar

In regards to VPN, you may wish to look into OpenVPN. It has a
scriptable password checking mechanism.
http://openvpn.net/index.php/documentation/howto.html#auth

Enjoy playing with the nastiness that is Samba and LDAP. =^.^=



On another note, I changed this from the net list to the questions
list as I don't think this really falls under FreeBSD net related
stuff.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: problems with i386 jail on amd64 install 7.0 Release

2008-03-28 Thread Mark Moellering
On Friday 28 March 2008 05:03:39 pm Kris Kennaway wrote:
 Mark Moellering wrote:
  On Friday 28 March 2008 04:51:08 pm Kris Kennaway wrote:
  Mark Moellering wrote:
  On Friday 28 March 2008 03:27:27 pm you wrote:
  Mark Moellering wrote:
  On Friday 28 March 2008 06:23:49 am Kris Kennaway wrote:
  Mark Moellering wrote:
  I have been trying to install an i386 jail on an amd64 install.  I
  added Target=i386 to the command line in the make buildworld and
  installworld commands.  I keep getting the following (or similar)
  error
 
  'Target' does nothing, there is no such variable.  If you meant
  'TARGET', that is a real variable but not the one you want.  You
  need to add 'TARGET_ARCH=i386' to your build/installworld to
  successfully cross-compile.
 
  Kris
 
  Kris,
  Thanks for the reply.
  I aplogize, I should have been more explicit.
 
  I tried TARGET=i386 ; TARGET_ARCH=i386; and both together, all gave
  the same error.
 
  (/libexec/ld-elf.so.1: Shared object libedit.so.6 not found,
  required by sh)
 
  Have you or has anyone else on the list successfuly done this?
 
  Yes, frequently.  Does the library exist in the chroot and is it an
  i386 library (use file(1))?
 
  Kris
 
  Thanks Kris, you're a lifesaver.
 
  The response I get using File is:
 
  libedit.so.6: ELF 32-bit LSB shared object, Intel 80386, version 1
  (FreeBSD), dynamically linked, stripped
 
  OK, that is correct.  Is the rest of the chroot configured properly,
  e.g. did you populate /etc and /var?
 
  Kris
 
  /etc and /var are populated

 what if you run other binaries, e.g. chroot /chroot ls, etc?  Do any of
 them work?  If not, then something is either wrong with the
 /var/run/ld.so.hints, the /libexec/ld-elf.so.1, etc.

 Kris

this is no ld-elf.so.hints under the chroot.  Should i copy or 
link /var/run/ld-elf32.so.hints to $chroot/var/run/ld-elf32.so.hints ?

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


Re: problems with i386 jail on amd64 install 7.0 Release

2008-03-28 Thread Dominic Fandrey

Kris Kennaway wrote:

Mark Moellering wrote:
I have been trying to install an i386 jail on an amd64 install.  I 
added Target=i386 to the command line in the make buildworld and 
installworld commands.  I keep getting the following (or similar) error


'Target' does nothing, there is no such variable.  If you meant 
'TARGET', that is a real variable but not the one you want.  You need to 
add 'TARGET_ARCH=i386' to your build/installworld to successfully 
cross-compile.


Kris


You need to mount /libexec into your jail and /usr/lib32 into the /usr/lib. 
This will get the base system in your jail working. You also need to symlink 
/usr/lib32 → /usr/lib, because it appears that is hard-coded location in 
ld-elf32.so.1.


To compile ports in the jail you have to define ARCH=i386 in the make.conf of 
the jail, because it defaults to the kernel arch amd64. This will get a lot of 
ports to compile into proper i386 binaries and libraries. But there are ports 
I have not managed to build, such as wine and perl. The binaries from the wine 
package just dump core inside my jail. I suppose wine simply interacts to 
closely with the kernel.


Why perl doesn't build, I don't know. It's my impression that some ports just 
don't manage to see the libraries they just built. I have no idea, why, though.


For some ports you have to add --host=i386 and --build=i386 to the 
CONFIGURE_ENV, because configure thinks you're trying to crosscompile and 
looks for the cross-compiling tools.


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


Re: problems with i386 jail on amd64 install 7.0 Release

2008-03-28 Thread Kris Kennaway

Mark Moellering wrote:

On Friday 28 March 2008 05:03:39 pm Kris Kennaway wrote:

Mark Moellering wrote:

On Friday 28 March 2008 04:51:08 pm Kris Kennaway wrote:

Mark Moellering wrote:

On Friday 28 March 2008 03:27:27 pm you wrote:

Mark Moellering wrote:

On Friday 28 March 2008 06:23:49 am Kris Kennaway wrote:

Mark Moellering wrote:

I have been trying to install an i386 jail on an amd64 install.  I
added Target=i386 to the command line in the make buildworld and
installworld commands.  I keep getting the following (or similar)
error

'Target' does nothing, there is no such variable.  If you meant
'TARGET', that is a real variable but not the one you want.  You
need to add 'TARGET_ARCH=i386' to your build/installworld to
successfully cross-compile.

Kris

Kris,
Thanks for the reply.
I aplogize, I should have been more explicit.

I tried TARGET=i386 ; TARGET_ARCH=i386; and both together, all gave
the same error.

(/libexec/ld-elf.so.1: Shared object libedit.so.6 not found,
required by sh)

Have you or has anyone else on the list successfuly done this?

Yes, frequently.  Does the library exist in the chroot and is it an
i386 library (use file(1))?

Kris

Thanks Kris, you're a lifesaver.

The response I get using File is:

libedit.so.6: ELF 32-bit LSB shared object, Intel 80386, version 1
(FreeBSD), dynamically linked, stripped

OK, that is correct.  Is the rest of the chroot configured properly,
e.g. did you populate /etc and /var?

Kris

/etc and /var are populated

what if you run other binaries, e.g. chroot /chroot ls, etc?  Do any of
them work?  If not, then something is either wrong with the
/var/run/ld.so.hints, the /libexec/ld-elf.so.1, etc.

Kris


this is no ld-elf.so.hints under the chroot.  Should i copy or 
link /var/run/ld-elf32.so.hints to $chroot/var/run/ld-elf32.so.hints ?


Aha, so it's not populated after all :)  You can try copying 
/var/run/ld-elf.so.hints (not ld-elf32) but this is a binary file and I 
don't know if it is compatible.  Otherwise just copy from an i386 system 
  or run


chroot /chroot /sbin/ldconfig -m /lib

Kris

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


Re: problem with RAID Hard (hptrr driver)

2008-03-28 Thread Josh Paetzel
On Friday 28 March 2008 04:08:04 pm Nicolas Letellier wrote:
 Josh Paetzel a écrit :
  hptrr is the driver for a highpoint rocketraid, your controller is
  evidentally a 3ware, and is being picked up by twe.  You can monitor the
  array by installing sysutils/3dm from ports.

 I monitor my array with tw_cli.
 I have this:

 /c0 show

 Unit  UnitType  Status %RCmpl  %V/I/M  Stripe  Size(GB)  Cache
 AVrfy
 ---
--- u0RAID-1OK -   -   -   232.885   ON
 -

 Port   Status   Unit   SizeBlocksSerial
 ---
 p0 OK   u0 232.88 GB   488397168 VDS41LT8D97USH
 p1 OK   u0 232.88 GB   488397168 VDS41LT8D7B8PH


 How know if my RAID is software or hardware?
 How know if data replication works?
 And, why this message hptrr: no controller detected in my dmesg?

 Thanks!

   - Nicolas.

That is a hardware RAID array
The OK tells you the mirror working
The hptrr driver is unneccessarily verbose about not finding devices to attach 
to.


-- 
Thanks,

Josh Paetzel

PGP: 8A48 EF36 5E9F 4EDA 5A8C 11B4 26F9 01F1 27AF AECB


signature.asc
Description: This is a digitally signed message part.


cursive fonts?

2008-03-28 Thread Gary Kline

Guys,

This is  a quick one:  how/where can I get a cursive font
for abiword? or even OO?

gary


-- 
  Gary Kline  [EMAIL PROTECTED]   www.thought.org  Public Service Unix
http://jottings.thought.org   http://transfinite.thought.org


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


Anybody running OpenClinica under Linux binary Compatibility

2008-03-28 Thread Siju George
Hi,

Is there anybody running

http://www.openclinica.org/

under Linux binary compatibility?

Thanks

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


Quick+easy port redirect

2008-03-28 Thread Tuc at T-B-O-H.NET
Hi,

Is there a quick/easy (cookbook?) way to do port
redirects. Basically I want that anything that leaves 
a specific interface to any ip on port 80 go to 
192.168.0.1 port 87.

I'm using ipfw for some other things so it has to
work and play well with that.

Thanks, Tuc


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


FreeBSD 7 on Zonbu machine

2008-03-28 Thread Fred C


I got two zonbu machines, and I am trying to run FreeBSD 7 on it. I am  
using tinybsd to make a bootable flash. So far everything seems to  
work fine but USB. Is there someone who have an idea why ?


Thanks for any ideas.

-fred-




zonbu.boot
Description: Binary data





--
Fred C!
PGP-KeyID: E7EA02EC3B487EE9
PGP-FingerPrint: A906101E2CCDBB18D7BD09AEE7EA02EC3B487EE9



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

Re: cursive fonts?

2008-03-28 Thread Da Rock

On Fri, 2008-03-28 at 16:52 -0700, Gary Kline wrote:
   Guys,
 
   This is  a quick one:  how/where can I get a cursive font
   for abiword? or even OO?
 
   gary
 
 

You can look for urw fonts in the ports - this was the best I could
find, anyway. If you find anymore please let me know what you find.

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


Re: cursive fonts?

2008-03-28 Thread Da Rock

On Fri, 2008-03-28 at 22:30 -0500, Mark Kane wrote:
 On Sat, Mar 29, 2008, at 12:49:40 +1000, Da Rock wrote:
  On Fri, 2008-03-28 at 16:52 -0700, Gary Kline wrote:
 Guys,
   
 This is  a quick one:  how/where can I get a cursive font
 for abiword? or even OO?
   
 gary
  
  You can look for urw fonts in the ports - this was the best I could
  find, anyway. If you find anymore please let me know what you find.
 
 Hi.
 
 In addition to the fonts in ports you could also try a font site like
 dafont.com. Just extract the .ttf file(s) into ~/.fonts/ and restart
 your application.
 
 Hope that helps,
 
 -Mark
 

I wasn't aware of that. Don't they have to be registered with the font
server though?

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


Re: cursive fonts?

2008-03-28 Thread Mark Kane
On Sat, Mar 29, 2008, at 12:49:40 +1000, Da Rock wrote:
 On Fri, 2008-03-28 at 16:52 -0700, Gary Kline wrote:
  Guys,
  
  This is  a quick one:  how/where can I get a cursive font
  for abiword? or even OO?
  
  gary
 
 You can look for urw fonts in the ports - this was the best I could
 find, anyway. If you find anymore please let me know what you find.

Hi.

In addition to the fonts in ports you could also try a font site like
dafont.com. Just extract the .ttf file(s) into ~/.fonts/ and restart
your application.

Hope that helps,

-Mark

-- 
Internet Radio:
Party107 (Trance/Electronic) - http://www.party107.com
Rock 101.9 The Edge (Rock) - http://www.rock1019.net

IRC:
MIXXnet IRC Network - irc.mixxnet.net (Nick: MIXX941)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Reconditioned Laptop advice

2008-03-28 Thread Ted Mittelstaedt


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of dhaneshk k
 Sent: Thursday, March 27, 2008 10:50 PM
 To: Wojciech Puchar; Predrag Punosevac
 Cc: freebsd-questions@freebsd.org
 Subject: Reconditioned Laptop advice
 
 
 
 
 People   : I want to bu a laptop , for the time being I can't go 
 for a high end machine like hp8510b or like those 
 
 But I found in internet , about IBM  Thinkpad T40   Reconditioned :
 
 So I want  people's valuable advice on Reconditioned machine ;is 
 it safe to have this machine , I want to use FreeBSD on this 
 machine , what about the reliability of Reconditioned machines ?: 
 your advices may help me to take a good decision on my purchase.
 

Do yourself a favor and as soon as you obtain your laptop, go out
and buy a brand new hard disk drive for it.  Not only will you
get a disk that is faster and larger, it will be much more reliable
than a ratty old hard drive that's probably been bumped and jostled
around a lot.

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


[Fwd: Re: Card readers - Does anyone know where to get help for this?]

2008-03-28 Thread Da Rock

---BeginMessage---
Some more info on this- I've just loaded 7.0 on the laptop and got this
from dmesg:

pci6: mass storage at device 6.3 (no driver attached)
pci6: base peripheral at device 6.4 (no driver attached)

Does this jog anyone's thoughts?

Which driver would it be looking for? And then how would I attach the
driver? devd.rules?


On Fri, 2008-03-28 at 16:57 +1000, Da Rock wrote:
 I must be the only one who has this... Can anyone redirect me to a list,
 resource, whatever that my give me some clue to this problem?
 
 Cheers
 
 
 On Sat, 2008-03-22 at 10:42 +1000, Da Rock wrote:
  I have mentioned this before in other threads, but it appears it
  requires a thread of its own.
  
  I have a laptop with a card reader built in which I have never been able
  to get to work. Everything I have looked up regarding these has to do
  with usb versions, and other than the laptops my card readers are usb so
  this shouldn't be a problem.
  
  In the laptops I have a texas instruments PCI card reader though, which
  gives me a real headache. I can't seem to get them to operate at all, so
  I'm left wondering about drivers and such. These are the specs:
  
  Mass storage controller: Texas Instruments PCIxx21 Integrated FlashMedia
  Controller
  02:09.4 SD Host controller: Texas Instruments
  PCI6411/6421/6611/6621/7411/7421/7611/7621 Secure Digital Controller
  
  I'm currently running Fedora (which seems to work), but I'd like to move
  over to FreeBSD as soon as I can get all the features needed on these. I
  seem to be making headway on most of these, so here's hoping.
  
  The card reader is capable of reading nearly all format cards, including
  xD which is a main reason why I'd like to get it to work.
  
  Any links and info would be very appreciated.
  
  ___
  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]
 


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

RE: fault tolerance with FreeBSD for old DOS app

2008-03-28 Thread Ted Mittelstaedt


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of B. Bonev
 Sent: Friday, March 28, 2008 3:31 AM
 To: [EMAIL PROTECTED]
 Cc: freebsd-questions@freebsd.org
 Subject: Re: fault tolerance with FreeBSD for old DOS app


 - Original Message -
 From: Brian A. Seklecki [EMAIL PROTECTED]
 To: B. Bonev [EMAIL PROTECTED]
 Cc: freebsd-questions@freebsd.org
 Sent: Tuesday, March 25, 2008 12:12 AM
 Subject: Re: fault tolerance with FreeBSD for old DOS app


 
  On Mon, 2008-03-24 at 19:36 +0200, B. Bonev wrote:
  I want advice for old DOS app on Windows PC, that I need to make on 2
  PC-s
  fault tolerant. Any advice for working solution on FreeBSD?
 
  Yep...rewrite the database in SQL with a PHP front end.  Import the data
  from the old system.  Use a Radware/F5 Load Balancer for the web and
  Slony-I for the database replication.
 
  Welcome to 2008.
 It is a accounting program, and will be too much efford for
 nothing. And I'm
 not a programmer.
 I 'm thinking for something like heartbeat, or realtime
 replication server -
 2 identical machines,
 and when one of them break, staff to continue their work, without too much
 trouble...



You really want to be careful about using FreeBSD+Samba here.

Dos/Lanmanager/Windows networking provides a very rich set of
network file locking
calls, something like 20 or so.  Not all directly map to the UNIX
filesystem.  There are also vendor-specific stuff like Btrieve
that UNIX has never heard of.

If this old DOS app uses temp lock files in the directory the
data files are located in, you probably will be fine.

But if it uses some of the esoteric DOS file locking calls you
may find that when you move the accounting database off whatever
Novell or Windows NT or IBM Lanmanger server that it is currently
on, that suddenly you will find users bitching because some of
them cannot get into the accounting program.  And when the nightly
update is run, you may find the accounts having wrong dollar amounts
in them.

If your DOS app runs fine in a DOS window on Windows XP your
smartest thing you can do is right now, before Microsoft forces
everyone to stop selling XP, run out and forklift-replace -all-
of the clients with new XP systems.  And make your CFO understand
that they better start saving their money up because in another
5 years or so, when those XP systems start dying off, that it will
be the end of being able to use the accounting program.

With these DOS apps the server is actually unimportant.  You can
easily find an old Mylex SCSI RAID-5 controller and a pile of
10,000 RPM ultra SCSI disks out there that will give you all
the redundancy you need - run Windows 2K Server or 2003 Server
on that and you will have a bulletproof server.  All of the
horsepower in the application is actually being done on the
clients, and it is very easy for a client that has a hardware
fault - like for example a failing network adapter card - to
write garbage into the accounting database ans scotch it for
everyone.

Stuff like this is why people are abandoning those old DOS
accounting programs right and left.  Like the other poster
said, start shopping for a new MySQL-based with PHP front
end accounting package.

Ted

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


updated solid-state article?

2008-03-28 Thread Tim Judd

http://www.freebsd.org/doc/en_US.ISO8859-1/articles/solid-state/
This article is circa FreeBSD 4.x, is there any updates floating around, 
even if they're incomplete?


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