Re: vfs.usermount=1, bug?

2004-02-07 Thread Joe Marcus Clarke
On Sat, 2004-02-07 at 15:18, Didier Wiroth wrote:
> Hi, 
> using freebsd5.2-release 
> I've set vfs.usermount=1 in sysctl.conf. 
> Normal user get permission denied when trying to 
> mount an ntfs permission (slice ars01), until root 
> has mount and umount it at least once. 
> See the following 
>  
> File permission on /dev/ar0s1 is 644 and owned by 
> root:operator 
>  
> User ddais member of group dda, wheel & operator. 
>  
> A) Mounting as user dda: 
> [EMAIL PROTECTED]:~> mount_ntfs /dev/ar0s1 mnt/ntfs/ 
> mount_ntfs: /dev/ar0s1: Operation not permitted 
>  
> Mounting was not permitted  
>  
> Changing to root: 
> [EMAIL PROTECTED]:~> su 
> Password: 
> [EMAIL PROTECTED]:/home/dda# mount_ntfs /dev/ar0s1 
> mnt/ntfs 
>  
> Slice was mounted without problem, let's umount 
> it, and change back to user dda. 
> [EMAIL PROTECTED]:/home/dda# umount mnt/ntfs 
> [EMAIL PROTECTED]:/home/dda# exit 
> exit 
>  
> B) TRY AGAIN NOW AS USER DDA 
> [EMAIL PROTECTED]:~> mount_ntfs /dev/ar0s1 mnt/ntfs/ 
>  
> NOw it works?! Hmm...!? 
>  
> Any suggestions?! 

The ntfs.ko kernel module wasn't loaded until root issued the command. 
While usermount allows users to mount file systems, it does not allow
users to load kernel modules.

Joe

> Thx 
>  
> 
> 
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
-- 
PGP Key : http://www.marcuscom.com/pgp.asc


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


Can't login to 5.2-RC1, must hard reboot

2004-02-07 Thread sammy!!!
My server locks up every few days, mysql and other process are still  
running, I can ping the machine, however I cannot login.

Even when I login using the console, i can enter my name for the login,  
then it just hangs.

A few questions: my kernel does not have maxusers set, does it need to  
be set?  Is this even still around in FreeBSD 5.2?

I get the following error messages in my logfile, a lot.

Feb  7 18:40:22 cooper sshd[806]: set class 'me' resource limit  
datasize: Operation not permitted
Feb  7 18:40:22 cooper sshd[806]: set class 'me' resource limit  
stacksize: Operation not permitted
Feb  7 18:40:22 cooper sshd[806]: set class 'me' resource limit  
maxproc: Operation not permitted
Feb  7 18:40:22 cooper sshd[806]: set class 'me' resource limit  
openfiles: Operation not permitted

Here is my limit table:
cooper:/usr/src/sys/i386/conf$ limits
Resource limits (current):
  cputime  infinity secs
  filesize infinity kb
  datasize   524288 kb
  stacksize   65536 kb
  coredumpsize infinity kb
  memoryuseinfinity kb
  memorylocked infinity kb
  maxprocesses 5547
  openfiles   11095
  sbsize   infinity bytes
  vmemoryuse   infinity kb
Any clues as to what's going on would be GREATLY appreciated.

And my dmesg:
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights  
reserved.
FreeBSD 5.2.1-RC #3: Tue Feb  3 14:08:24 EST 2004
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/COOPER
Preloaded elf kernel "/boot/kernel/kernel" at 0xc08a6000.
Preloaded elf module "/boot/kernel/acpi.ko" at 0xc08a61f4.
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Xeon(TM) CPU 2.40GHz (2392.26-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0xf27  Stepping = 7
   
Features=0xbfebfbff
  Hyperthreading: 2 logical CPUs
real memory  = 4026466304 (3839 MB)
avail memory = 3913224192 (3731 MB)
ACPI APIC Table: 
FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
 cpu2 (AP): APIC ID:  2
 cpu3 (AP): APIC ID:  3
ioapic0: Changing APIC ID to 4
ioapic1: Changing APIC ID to 5
ioapic2: Changing APIC ID to 6
ioapic0  irqs 0-15 on motherboard
ioapic1  irqs 16-31 on motherboard
ioapic2  irqs 32-47 on motherboard
Pentium Pro MTRR support enabled
npx0: [FAST]
npx0:  on motherboard
npx0: INT 16 interface
acpi0:  on motherboard
acpi0: Power Button (fixed)
Timecounter "ACPI-safe" frequency 3579545 Hz quality 1000
pcibios: BIOS version 2.10
Using $PIR table, 9 entries at 0xc00fc480
acpi_timer0: <32-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0
acpi_cpu0:  on acpi0
acpi_cpu1:  on acpi0
acpi_cpu2:  on acpi0
acpi_cpu3:  on acpi0
pcib0:  port 0xcf8-0xcff on acpi0
pci0:  on pcib0
pcib0: slot 15 INTA is routed to irq 5
pci0:  at device 4.0 (no driver attached)
pci0:  at device 4.1 (no driver attached)
pci0:  at device 4.2 (no driver attached)
pci0:  at device 14.0 (no driver attached)
atapci0:  port  
0x8b0-0x8bf,0x8d8-0x8db,0x8d0-0x8d7,0x8c8-0x8cb,0x8c0-0x8c7 at device  
15.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata0: [MPSAFE]
ata1: simplex device, DMA on primary only
ata1: at 0x170 irq 15 on atapci0
ata1: [MPSAFE]
ohci0:  mem 0xfe10-0xfe100fff irq 5  
at device 15.2 on pci0
usb0: OHCI version 1.0, legacy support
usb0:  on ohci0
usb0: USB revision 1.0
uhub0: (0x1166) OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 4 ports with 4 removable, self powered
isab0:  at device 15.3 on pci0
isa0:  on isab0
pcib1:  on acpi0
pci4:  on pcib1
pcib2:  at device 8.0 on pci4
pci5:  on pcib2
pci5:  at device 6.0 (no driver attached)
pci5:  at device 6.1 (no driver attached)
aac0:  mem 0xf000-0xf7ff irq 30 at device 8.1  
on pci4
aac0: [MPSAFE]
aac0: i960RX 100MHz, 118MB cache memory, optional battery present
aac0: Kernel 2.7-1, Build 3170, S/N 7041d3
aac0: Supported  
Options=75c
pcib3:  on acpi0
pci3:  on pcib3
bge0:  mem  
0xfcf1-0xfcf1 irq 28 at device 6.0 on pci3
bge0: Ethernet address: 00:06:5b:fe:53:81
miibus0:  on bge0
brgphy0:  on miibus0
brgphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX,  
1000baseTX-FDX, auto
bge1:  mem  
0xfcf0-0xfcf0 irq 29 at device 8.0 on pci3
bge1: Ethernet address: 00:06:5b:fe:53:82
miibus1:  on bge1
brgphy1:  on miibus1
brgphy1:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX,  
1000baseTX-FDX, auto
pcib4:  on acpi0
pci2:  on pcib4
pcib5:  on acpi0
pci1:  on pcib5
fdc0:  port  
0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
atkbdc0:  port 0x64,0x60 irq 1 on acpi0
atkbd0:  flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0:  irq 12 on atkbdc0
psm0: model IntelliMouse Explorer, device ID 4
sio0 port 0x3f8-0x3ff irq 4 on acpi0
sio0: type 16550A
sio1 port 0x2f8-0x2ff irq 3 on acpi0
sio1: type 16550A
orm0:  at iomem  
0xec000-0xe,0xc8000-0xcbfff,0xc-0xc7fff on isa0
pmt

problem installing 5.2.1

2004-02-07 Thread T. Green
I am trying to install version #5.1, #5.2, and #5.2.1 on my computer.
i have version # 4.9 installed and it work fine.
my system have the intel motherboard D875PBZ,1024mb of memory, 1 seagate 
80gb ata drive, and 1 seagate 80gb sata drive.
the problem i am having is :
while installing from the floppys at the second floppy loads the kernel 
and probe the hardware.
the system then hangs at sata controller, and looks for a drive to boot 
form.
i am unable to print the screen or i lack the knowhow.
as you can see i am new at this so help if you can
thank you

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
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]"