IPMI kernel module errors on 6.x

2006-11-13 Thread Raymond Sundland
Hi Everyone,

 

I purchased a new Supermicro Superserver SS6015B-T (motherboard is X7DBR-E)
about 3 weeks ago with the IPMI module (part called SIMSO) and have had a
hard time getting the IPMI functionality to work in RELENG_6.

 

Particularly, when I attempt to 'kldload ipmi' I get the following output in
dmesg:

 

ipmi0: IPMI System Interface on isa0

ipmi0: KCS mode found at mem 0xca2 alignment 0x4 on isa

ipmi0: KCS: Failed to start write

ipmi0: KCS Error retry exhausted

ipmi0: KCS: Failed to start write

ipmi0: KCS Error retry exhausted

ipmi0: KCS: Failed to start write

ipmi0: KCS Error retry exhausted

ipmi0: Timed out waiting for GET_DEVICE_ID

 

From the dmesg, it appears it's finding the IPMI device, but unable to
interact with it.  Meanwhile, no device shows up in /dev so ipmitool does
not work, either.

 

For reference, here is my uname:

 

FreeBSD exodus 6.2-PRERELEASE FreeBSD 6.2-PRERELEASE #9: Fri Nov 10 10:56:39
PST 2006 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/EXODUS  amd64

 

This is a RELENG_6 build with a CVSUP done just before the compile date of
the kernel.

 

The SIMSO IPMI card itself works, I can access it via the web management
console, I just can not get the kernel driver to work with it.  Any help
and/or references would be greatly appreciated.

 

Thanks!

 

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


Possible bug in 5.1 - su / utmp

2003-06-24 Thread Raymond Sundland
I found this very interesting when I saw it originally, but then found 
it was probably a bug.

Basically, when I log into my 5.1-RELEASE box (compiled today from CVS), 
I can do a 'w' and get the following:

% w
10:39AM  up  5:01, 1 user, load averages: 0.00, 0.00, 0.00
USER TTY  FROM  LOGIN@  IDLE WHAT
ray  p0   somehost 10:39AM - w
Now, when I try to SU to root, this entry changes:

% su -
Password:
Last login: Tue Jun 24 07:44:19 on ttyp1
% whoami
root
% w
10:40AM  up  5:01, 1 user, load averages: 0.04, 0.01, 0.00
USER TTY  FROM  LOGIN@  IDLE WHAT
root p0   -10:40AM - w
So, it looks like the utmp entry is being made (again) for ttyp0 and 
recording it.  This would be fine from my perspective, but is misleading 
once I exit the root shell:

% exit
% whoami
ray
% w
10:42AM  up  5:03, 1 user, load averages: 0.01, 0.00, 0.00
USER TTY  FROM  LOGIN@  IDLE WHAT
root p0   -10:40AM - w
This may be a bug in PAM, since I don't think su calls login (or maybe 
it does?)  Note that this does not happen if I do not use the '-' option 
for su.  This also shows up in the lastlog:

root ttyp2 Tue Jun 24 10:40 - 10:43  (00:02)
ray  ttyp2somehost Tue Jun 24 10:39 - 10:40  (00:00)
Anyone have any information about this... know what the bug is?  Maybe 
it's a setting I have set that can be changed?

Thanks.

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


Re: Possible bug in 5.1 - su / utmp

2003-06-24 Thread Raymond Sundland
In addition to my previous email, I found the following:

% ps auwx |grep login
root  587  0.0  0.1  1604 1220  p0  Is5:39AM   0:00.01 login 
[pam] (login)
root57250  0.0  0.1  1604 1232  p1  Is7:44AM   0:00.02 login 
[pam] (login)
root 6162  0.0  0.1  1604 1236  p2  Ss   11:08AM   0:00.01 login 
[pam] (login)

Looks like the login process executed via PAM is not exiting (I had only 
1 user logged in at this time...), so I guess this is most likely a bug 
in login?

Thanks.

Raymond Sundland wrote:
I found this very interesting when I saw it originally, but then found 
it was probably a bug.

Basically, when I log into my 5.1-RELEASE box (compiled today from CVS), 
I can do a 'w' and get the following:

% w
10:39AM  up  5:01, 1 user, load averages: 0.00, 0.00, 0.00
USER TTY  FROM  LOGIN@  IDLE WHAT
ray  p0   somehost 10:39AM - w
Now, when I try to SU to root, this entry changes:

% su -
Password:
Last login: Tue Jun 24 07:44:19 on ttyp1
% whoami
root
% w
10:40AM  up  5:01, 1 user, load averages: 0.04, 0.01, 0.00
USER TTY  FROM  LOGIN@  IDLE WHAT
root p0   -10:40AM - w
So, it looks like the utmp entry is being made (again) for ttyp0 and 
recording it.  This would be fine from my perspective, but is misleading 
once I exit the root shell:

% exit
% whoami
ray
% w
10:42AM  up  5:03, 1 user, load averages: 0.01, 0.00, 0.00
USER TTY  FROM  LOGIN@  IDLE WHAT
root p0   -10:40AM - w
This may be a bug in PAM, since I don't think su calls login (or maybe 
it does?)  Note that this does not happen if I do not use the '-' option 
for su.  This also shows up in the lastlog:

root ttyp2 Tue Jun 24 10:40 - 10:43  
(00:02)
ray  ttyp2somehost Tue Jun 24 10:39 - 10:40  
(00:00)

Anyone have any information about this... know what the bug is?  Maybe 
it's a setting I have set that can be changed?

Thanks.

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


Re: Possible bug in 5.1 - su / utmp

2003-06-24 Thread Raymond Sundland
Nevermind this last email from a different box :)

Raymond Sundland wrote:
In addition to my previous email, I found the following:

% ps auwx |grep login
root  587  0.0  0.1  1604 1220  p0  Is5:39AM   0:00.01 login 
[pam] (login)
root57250  0.0  0.1  1604 1232  p1  Is7:44AM   0:00.02 login 
[pam] (login)
root 6162  0.0  0.1  1604 1236  p2  Ss   11:08AM   0:00.01 login 
[pam] (login)

Looks like the login process executed via PAM is not exiting (I had only 
1 user logged in at this time...), so I guess this is most likely a bug 
in login?

Thanks.

Raymond Sundland wrote:

I found this very interesting when I saw it originally, but then found 
it was probably a bug.

Basically, when I log into my 5.1-RELEASE box (compiled today from 
CVS), I can do a 'w' and get the following:

% w
10:39AM  up  5:01, 1 user, load averages: 0.00, 0.00, 0.00
USER TTY  FROM  LOGIN@  IDLE WHAT
ray  p0   somehost 10:39AM - w
Now, when I try to SU to root, this entry changes:

% su -
Password:
Last login: Tue Jun 24 07:44:19 on ttyp1
% whoami
root
% w
10:40AM  up  5:01, 1 user, load averages: 0.04, 0.01, 0.00
USER TTY  FROM  LOGIN@  IDLE WHAT
root p0   -10:40AM - w
So, it looks like the utmp entry is being made (again) for ttyp0 and 
recording it.  This would be fine from my perspective, but is 
misleading once I exit the root shell:

% exit
% whoami
ray
% w
10:42AM  up  5:03, 1 user, load averages: 0.01, 0.00, 0.00
USER TTY  FROM  LOGIN@  IDLE WHAT
root p0   -10:40AM - w
This may be a bug in PAM, since I don't think su calls login (or maybe 
it does?)  Note that this does not happen if I do not use the '-' 
option for su.  This also shows up in the lastlog:

root ttyp2 Tue Jun 24 10:40 - 10:43  
(00:02)
ray  ttyp2somehost Tue Jun 24 10:39 - 10:40  
(00:00)

Anyone have any information about this... know what the bug is?  Maybe 
it's a setting I have set that can be changed?

Thanks.

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


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


Re: 5.1 ssh hang (i have rtfm and googled) long

2003-06-23 Thread Raymond Sundland
Not just that...

When OpenSSH runs in the jail environment, it expects resolv.conf in 
it's own jail... for instance, if the jail is /var/jail, then a copy of 
resolv.conf needs to exist /var/jail/etc/resolv.conf.  Don't ask me why, 
but this should solve your hanging problem.

Of course, the other option is to remove the priveledge seperation 
parameter in /etc/ssh/sshd_config, then ssh will use the standard 
/etc/resolv.conf

Doron Shmaryahu wrote:
Hi,

Make sure you have valid nameservers in your /etc/resolv.conf !! That will
sort your problem out.
Doron Shmaryahu

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Benzi Mizrahi
Sent: 23 June 2003 12:56 PM
To: Kris Kennaway; jon
Cc: [EMAIL PROTECTED]
Subject: Re: 5.1 ssh hang (i have rtfm and googled) long
áéåí ùðé, 23 áéåðé 2003, 02:15, Kris Kennaway ëúá:

On Sun, Jun 22, 2003 at 12:18:07PM -0700, jon wrote:

generic install of 5.1 release. sshd version
OpenSSH_3.6.1p1. i have /etc/hosts set up . all
systems are RFC 1597 networks and i do not have a
bind server. every connect takes over a minute to
complete; using passwords.
sshd needs to be able to perform forward and reverse DNS queries of
the incoming host.  /etc/hosts isn't enough.


I don't think so...


Kris


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


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


Re: creating ftp users!

2003-06-23 Thread Raymond Sundland
Rob,

If you want a nice message, I suggest creating a class in
/etc/logins.conf which point to a /etc/issues.sftponly file where the
user gets a nice message, which you deem appropriate.
Secondly, as far as chroot, I don't believe OpenSSH supports chroot
natively, however I know there is a patch floating around (I believe in
the contrib/ directory of the openssh portable tarball) which will patch
openssh to support chroot'd environments.  You will need to recompile
the openssh portable distribution, however.


Rob Lahaye wrote:
Raymond Sundland wrote:

Rob,

You can try setting the user's shell to /usr/libexec/sftp-server (or 
wherever the sftp-server binary exists under FreeBSD).

This will give the user ability to SFTP into the box, but without a 
normal shell.  /usr/lib/exec/sftp-server should be added to /etc/shells, 
too.


Almost works ;).
Doing what you suggest, I can sftp to the account, but when I do ssh to
that account, I get the regular login message but no prompt. Something
seems to hang. When I type something and hit return, I get:
bad message
Connection to foo.bar.com closed.
$
It somehow blocks ssh login indeed, but it's not very nice!

BTW will sftp also work with the /etc/chroot file?

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


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


Re: Freebsd 4.8 acd1c can't have more than 32 cd devices

2003-06-10 Thread Raymond Sundland
You should try 'sh MAKEDEV acd1' as the 'c' is confusing MAKEDEV (or 
mknod).  This should create the acd1 device and the acd1c partition on 
that device.

Pam Wampler wrote:
I upgraded to 4.8  since then can't use my cdrw --
When I try to sh MAKEDEV acd1c :  1c bad number
acd1c is invalid -- can't have more than 32 cd devices
thank you in advance

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