PCMCIA controller/card problem

2003-01-31 Thread Akifyev Sergey
Hello, All!

I've got a problem with configuring PCMCIA on my laptop (Toshiba
Tecra700CT, very old model). The FreeBSD kernel detects PCMCIA
controller successfully. pccardd starts, and even detects card
insertion/removal, but says that no card in database for (null)/(null).
So, it seems to be unable to retrieve card manufacturer and model from
PCMCIA controller.

This occurs on both 4.7-STABLE and 5.0-RELEASE.

Both controller and card are working OK under Windoze. So, this is
definitely not a hardware problem.

Thanks in advance.

-- 
regards,
Akifyev Sergey [EMAIL PROTECTED]
JSC Gascom http://www.gascom.ru
PGP key available from:
ftp://ftp.gascom.ru/pub/PGP-keys/asa.txt



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


Re: nfs creates files with huge uids

2002-12-10 Thread Akifyev Sergey
On Tue, 2002-12-10 at 03:16, Michael Nottebrock wrote:
 I have /usr/ports/distfiles nfs-mounted from another machine, and when I 
 build a port, fetch runs as root and writes in /usr/ports/distfiles. The 
 files which are created this way carries an insanely huge uid (12 
 digits!) which causes all sorts of trouble with quotacheck and is 
 invisible to find -user. How can I prevent this?

Look at export(5) manpage! It says:

[... ripped by viruses ...]
In the absence of -maproot and -mapall options, remote accesses by root
will result in using a credential of -2:-2.  All other users will be
mapped to their remote credential.
[... ripped by viruses ...]

so, here's your answer! -2 would be 0xfffe in hexadecimal, and
4294967294 in decimal (10 digits). Here's where your insanely huge uid
comes from.

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

Regards,
Sergey


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



Re: Cant find /etc/resolv.conf

2002-12-05 Thread Akifyev Sergey
On Thu, 2002-12-05 at 13:42, Tiago Andre wrote:
 
 Hello there...
 
 I've the last version of freebsd...
 But i cant find the file
 /etc/resolv.conf
 Why?

The answer is: you didn't configure your networking via sysinstall.
There is no default /etc/resolv.conf in FreeBSD distributions. It's
created automatically when you go to configure/networking/interfaces
menu in sysinstall (and couple of other cases).

 Tiago Camilo
 
 _
 Add photos to your e-mail with MSN 8. Get 2 months FREE*. 
 http://join.msn.com/?page=features/featuredemail
 
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message
 

Regards,
Sergey


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



Re: install second ethernet card

2002-12-05 Thread Akifyev Sergey
On Thu, 2002-12-05 at 15:18, Tiago Andre wrote:
 
 
 Hello there again...

Hi!

 I'am trying to configure a ipv6 router in my hnome net...

Do you _really_ need IPv6 at home? I just wonder why... ;)

 I've put a host whid two ethernet card but i'am having trouble whid one of 
 the interface. I can ping6 from the xl0 but not from xl1, why?
 The  problem is not from the cards..

What does ping6 say to you?
What's your `ifxonfig xl0` and `ifconfig xl1` output?
netstat -r?
What address are you pinging (is it local for that interface) ?
Does target host support IPv6?

Without giving enough information about your problem you'll never get
any useful answer. Be more verbose, please.
 
 And i think that the configuration is OK, i think... its equal from xl0

Equal configuration? What, except adress and netmask, did you configure?

 thanks...
 Tiago Camilo
 
 _
 Tired of spam? Get advanced junk mail protection with MSN 8. 
 http://join.msn.com/?page=features/junkmail
 
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message
 

Regards,
Sergey


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



Re: install second ethernet card

2002-12-05 Thread Akifyev Sergey
On Thu, 2002-12-05 at 16:22, Tiago Andre wrote:

[... part was ripped by viruses ...]

 What does ping6 say to you?
 
 No route to host

I assume, that xl1 interface is up. So, it looks like you specified
incorrect IPv6 netmask (or prefixlen). Double check this parameter!
Next, look at

netstat -r -f inet6 |fgrep xl1

output. It _must_ _not_ be empty. If it is, you should try to add route
manually. I can not supply you with exact command, because you are
hiding all the important information, like IPv6 address, prefixlen and
routing table contents. You think all the world would be able to hack
your home network, knowing just your private IPv6 adresses? The more you
hide - the less you get! So, read man route(8)...
 
 What's your `ifxonfig xl0` and `ifconfig xl1` output?
 Can you be more explicit about this??

I asked you to give your `ifconfig xl1` output to take a look at your
prefixlen. And netstat output to look if your box have properly set
route for that interface.

 What address are you pinging (is it local for that interface) ?
 another host (my net)
 Does target host support IPv6?
 yes, whid the xl0 its ok, the problem is on xl1

It seems very strange to me... Are both interfaces plugged to same
network? Or else, how would you ping same host from different interfaces
(without setting up proper routing)?

 Without giving enough information about your problem you'll never get
 any useful answer. Be more verbose, please.
 
   And i think that the configuration is OK, i think... its equal from xl0
 
 Equal configuration? What, except adress and netmask, did you configure?
 yes

Wow! How to configure a 'yes'? ;)

[... part was ripped by viruses ...]

Regards,
Sergey


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



Re: run command on logfile before it's rotated

2002-12-04 Thread Akifyev Sergey
On Thu, 2002-12-05 at 01:02, Nathan Kinkade wrote:
 On Wed, Dec 04, 2002 at 10:51:43PM +0100, Thomas von Hassel wrote:
  I've got my system set up to rotate the maillog every day at midnight. 
  What do i do if i want to run a command on the logfile just before it's 
  rotated ?
  
  /thomas
  --
  Thomas von Hassel
  DarX @ irc
  darxmac @ AIM/iChat
  Powered by inkwell...!
 
 How about just setting a cron job to run some reasonable period prior 
 to newsyslog being run?

It's incorrect way to do things, because some entries could be added to
syslog _after_ the command is run, but _before_ newsyslog. Instead you
should call some script via cron with crontab entry like this:

# rotate log files every hour, if necessary
0   *   *   *   *   root/usr/bin/lock_script.sh 

And the script must contain something like:

#!/bin/sh
for $STR in `cat /etc/newsyslog.conf |grep -v '^[:space:]*#.*$'|cut
-f1`; do
lockf ${STR} newsyslog.sh ${STR}
done

The newsyslog.sh should contain:

#!/bin/sh
your_command ${1}
newsyslog ${1}

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

Regards,
Sergey


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



Re: Which one is the right FTP?

2002-12-04 Thread Akifyev Sergey
On Thu, 2002-12-05 at 06:41, Lord Raiden wrote:
   Ok, got a slight dilemma.  Installed ProFTPD just a few days back and was 
 trying to fire up my FTP server using /usr/libexec/ftpd.  Well low and 
 behold, that's still the default FTP server for Freebsd.  I thought that 
 when you installed ProFTPD it overwrote that.  If no, then where did it put 
 it?  Thanks for the help.

cat /var/db/pkg/proftpd-*/+CONTENTS | fgrep -v @

should list all files in package, with path relative to prefix

cat /var/db/pkg/proftpd-*/+CONTENTS | fgrep @cwd

will give you the default prefix for a package.
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message
 

Regards,
Sergey


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



Re: make builkernel error on Athlon

2002-11-26 Thread Akifyev Sergey
On Tue, 2002-11-26 at 14:56, Nelis Lamprecht wrote:
 Hi All
 
 I'm busy compiling a custom kernel on a AMD Athlon(tm) XP 1700+ to setup 

It's not your hardware problem. You could post your kernel config. :)
Bug probably resides there.

 sound. I am also upgrading from 4.7 RELEASE to STABLE. After cvsuping to 
 the latest stable source I run buildworld which works fine but on my 'make 
[...skipped...]

Also, there is a probability you've messed things up while cvsup'ing.
You should remove all SCSI (CAM(4)) devices from kernel, and I bet it
will compile.

Regards,
Sergey


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



Re: ATI SVGA and the X window

2002-11-25 Thread Akifyev Sergey
On Mon, 2002-11-25 at 15:18, Dead Line wrote:
 
 
 
 
 
 
 
 I cannot find this file, /var/log/XFree86.0.log
 I guess ATI RAGE is a trouble any idea? please !
 
 
 On Sun, 2002-11-24 at 14:05, Dead Line wrote:
  Hello everyone,
 
  Im sending this email after hell of times of trying and after many
  days of trying..
[...skipped...]
  My VGA is ATI - Rage 128 Pro, AGP 4X

Mine is ATI Rage 128 Pro PF

  and the cards in list is (ATI-Rage 128 (generic))
 
  anyway i tried many cards its faild.. also i installed the SVGA 
 MACH
  and many others but still the same..
 
  Please anyhelp is appreciate it

And it works perfectly with following XF86Config settings:

Section Device
Identifier  Card0
Driver  ati
VendorName  ATI
BoardName   Rage 128 Pro PF
BusID   PCI:2:0:0
EndSection

Section Screen
Identifier Screen0
Device Card0
MonitorMonitor0
DefaultDepth 24
SubSection Display
Depth 1
EndSubSection
SubSection Display
Depth 4
EndSubSection
SubSection Display
Depth 8
EndSubSection
SubSection Display
Depth 15
EndSubSection
SubSection Display
Depth 16
EndSubSection
SubSection Display
Depth 24
Modes1024x768 800x600 640x480 640x400
EndSubSection
EndSection

Just a guess: maybe problem is in incorrect resolution settings?

Regards,
Akifyev Sergey


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



Re: How can I get a core dump?

2002-11-15 Thread Akifyev Sergey
On Fri, 2002-11-15 at 08:17, Duncan Anker wrote:
 Hi folks,
 
 I'm trying to debug an irritating little apache module problem.
 Periodically httpd is seg-faulting, so I have rebuilt it statically with
 full debugging flags and no strip options in an effort to find out why.

I didn't look in apache sources, but it could set rlimits on coredump
size to 0 (for security reasons). Maybe you can find from where
setrlimit(2) fn is called, and comment it out.

Regards,
Sergey


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



Re: various FreeBSD build problems

2002-11-12 Thread Akifyev Sergey
On Tue, 2002-11-12 at 12:24, Duncan Patton a Campbell is Dhu wrote:

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

It's hardware problem. Your CPU (or chipset) is probably overheated. It
can also be small SDRAM timings. Check CPU and chipset fans are OK.

Regards,
Sergey


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



Re: Beep question...

2002-11-12 Thread Akifyev Sergey
On Tue, 2002-11-12 at 12:04, Chris P wrote:
 
 I have a simple question. I want to make my PC speaker beep.  I for the
 life of my cannot find a simple command to do this...  I dont want an
 X-app, I dont want change the tone, or anything special.. Just a beep!

Try:
printf '\a'

Regards,
Sergey


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



Re: installing printer in FreeBSD

2002-11-12 Thread Akifyev Sergey
On Wed, 2002-11-13 at 08:56, Richman Sjarief wrote:
 hi, it's me again !
 :)
 lol ...
 
 how can i install my printer device in FreeBSD OS

1) Read handbook (printing section)
2) I recommend installing 'apsfilter' port.
   it allows to relatively easy install any
   type of printer.

 well, that's till now i think..
 
 thx a lot for your help.
 
 best regard,
 
 Richman Sjarief



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



Re: installing printer in FreeBSD

2002-11-12 Thread Akifyev Sergey
On Wed, 2002-11-13 at 08:56, Richman Sjarief wrote:
 hi, it's me again !
 :)
 lol ...
 
 how can i install my printer device in FreeBSD OS

1) Read handbook (printing section)
2) I recommend installing 'apsfilter' port.
   it allows to relatively easy install any
   type of printer.

 well, that's till now i think..
 
 thx a lot for your help.
 
 best regard,
 
 Richman Sjarief



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



Re: renaming a machine, without a reboot

2002-11-06 Thread Akifyev Sergey
On Wed, 2002-11-06 at 16:20, stan wrote:
 OUr company is in the middle of a merger, as a result the domain all of my
 FreeBSD machine belong to is changing. I've made all the changes that I can
 think od (/etc/resolv.conf, /etc/rc.defaults ) but I really prefer _not_ to
 reboot the mahcines just to change the FQDN. 
 
 Is there some way I can do this without a reboot?

You should execute
hostname your-FQDN-here
then, restart all daemons (it's usually done by sending them HUP signal,
but better look at their manpages to be sure)
and don't forget to restart init and syslogd!

regards,
Ded PoXoron


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



Re: Kernal Panics

2002-11-05 Thread Akifyev Sergey
On Tue, 2002-11-05 at 11:08, Neil Doody wrote:
 Hi, ive been getting kernel panics, number 12's for some time, ive had
 the whole load of hardware changed, the only thing that is the same now
 is the hard disk drive.
 
 We thought this had cured the problem, but I had one the other day.
 Okay, I thought this was a one off, but I just had another, only this
 time it is different.  Is this possible that it is the hard drive?

It's very likely, that your HDD causes this.
 
 How can I make a duplicate image of that hard drive to another what
 tools will copy it.

In __single__ user mode execute (HD must be mounted read-only):
dd bs=65536 if=/dev/yer-source-hd of=/dev/yer-target-hd
for example:
dd bs=65536 if=/dev/da0 of=/dev/da1

Regards,
Ded PoXoron


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



Re: No Subject

2002-11-05 Thread Akifyev Sergey
On Tue, 2002-11-05 at 16:59, Tiago Andre wrote:
 Hello there again...
 iam trying install a program called iptraf, but i have some problems on the 
 instalation, i dont know if this is the good place but here it is:
 
 when i make the
 
 make install
 
 appears:
 
 install: unknown group root

In Linux there is a system group with GID=0, called root. iptraf was
initially developed for Linux. Easiest way to build/install Linux root
group dependent software is adding
root:*:0:
to your /etc/groups file, so there will be 2 names for group with GID=0.

 
 What's the problem? Iam the root??

You are root, but in group wheel

 Thanks.
Nothing for...

Regards,
Ded PoXoron


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